From 74e0db07003e3ee3996ba2d499c9293161e37ec2 Mon Sep 17 00:00:00 2001
From: Kriszu <39726513+wangsizhu0504@users.noreply.github.com>
Date: Thu, 9 Nov 2023 19:35:21 +0800
Subject: [PATCH] fix: header
---
LICENSE | 26 +++++++++++++++++++
.../src/design/nprogress.less | 17 ------------
.../src/design/swal2.less | 21 ++-------------
.../src/enums/flinkEnum.ts | 17 ------------
.../src/enums/formEnum.ts | 16 ------------
.../src/enums/projectEnum.ts | 17 ------------
.../src/hooks/web/useMonaco.ts | 16 ------------
.../default/header/components/Github.vue | 16 ------------
.../default/header/components/Slogan.vue | 16 ------------
.../default/header/components/UserTeam.vue | 16 ------------
.../default/header/components/index.ts | 16 ------------
.../src/router/constant.ts | 16 ------------
.../src/settings/siteSetting.ts | 16 ------------
.../src/store/modules/flinkApplication.ts | 16 ------------
.../views/base/login/SessionTimeoutLogin.vue | 19 +-------------
15 files changed, 29 insertions(+), 232 deletions(-)
diff --git a/LICENSE b/LICENSE
index 6cfb0f78aa..bbaae06283 100644
--- a/LICENSE
+++ b/LICENSE
@@ -225,3 +225,29 @@ MIT License
========================================================================
The files under the directory streampark-console/streampark-console-webapp/ without the "Apache License 2.0" License header are provided under the MIT License, from https://github.com/vbenjs/vue-vben-admin
+
+The list of specific documents is as follows
+
+streampark-console/streampark-console-webapp/build/**
+streampark-console/streampark-console-webapp/src/components/**
+streampark-console/streampark-console-webapp/src/directives/**
+streampark-console/streampark-console-webapp/src/logics/**
+streampark-console/streampark-console-webapp/src/utils/**
+streampark-console/streampark-console-webapp/src/App.vue
+streampark-console/streampark-console-webapp/src/main.ts
+streampark-console/streampark-console-webapp/src/locales/helper.ts
+streampark-console/streampark-console-webapp/src/locales/setupI18n.ts
+streampark-console/streampark-console-webapp/src/locales/useLocale.ts
+streampark-console/streampark-console-webapp/src/views/base/error-log/**
+streampark-console/streampark-console-webapp/src/views/base/exception/**
+streampark-console/streampark-console-webapp/src/views/base/lock/**
+streampark-console/streampark-console-webapp/src/views/base/redirect/**
+streampark-console/streampark-console-webapp/src/enums/**
+streampark-console/streampark-console-webapp/src/design/**
+streampark-console/streampark-console-webapp/src/hooks/**
+streampark-console/streampark-console-webapp/src/layouts/**
+streampark-console/streampark-console-webapp/src/router/**
+streampark-console/streampark-console-webapp/src/settings/**
+streampark-console/streampark-console-webapp/src/store/**
+streampark-console/streampark-console-webapp/types/**
+
diff --git a/streampark-console/streampark-console-webapp/src/design/nprogress.less b/streampark-console/streampark-console-webapp/src/design/nprogress.less
index ce3169cdb5..c7102926ac 100644
--- a/streampark-console/streampark-console-webapp/src/design/nprogress.less
+++ b/streampark-console/streampark-console-webapp/src/design/nprogress.less
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/* Make clicks pass-through */
#nprogress {
pointer-events: none;
diff --git a/streampark-console/streampark-console-webapp/src/design/swal2.less b/streampark-console/streampark-console-webapp/src/design/swal2.less
index 597eb2dbf4..fdc00ec4b1 100644
--- a/streampark-console/streampark-console-webapp/src/design/swal2.less
+++ b/streampark-console/streampark-console-webapp/src/design/swal2.less
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
.swal2-container {
.api-exception {
font-size: 0.75rem;
@@ -106,12 +89,12 @@
color: #e1e1e1;
}
- .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
+ .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step {
background: #58585b;
color: #fff;
}
- .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
+ .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line {
background: #58585b;
}
diff --git a/streampark-console/streampark-console-webapp/src/enums/flinkEnum.ts b/streampark-console/streampark-console-webapp/src/enums/flinkEnum.ts
index b664e601c1..c2e8a2bee1 100644
--- a/streampark-console/streampark-console-webapp/src/enums/flinkEnum.ts
+++ b/streampark-console/streampark-console-webapp/src/enums/flinkEnum.ts
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
export enum BuildStateEnum {
/** has changed, need rebuild */
NEED_REBUILD = -2,
diff --git a/streampark-console/streampark-console-webapp/src/enums/formEnum.ts b/streampark-console/streampark-console-webapp/src/enums/formEnum.ts
index e84163480a..34be8b80c1 100644
--- a/streampark-console/streampark-console-webapp/src/enums/formEnum.ts
+++ b/streampark-console/streampark-console-webapp/src/enums/formEnum.ts
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
export const enum FormTypeEnum {
Create = 'create',
Edit = 'edit',
diff --git a/streampark-console/streampark-console-webapp/src/enums/projectEnum.ts b/streampark-console/streampark-console-webapp/src/enums/projectEnum.ts
index 32dbabbf01..3be6455ad3 100644
--- a/streampark-console/streampark-console-webapp/src/enums/projectEnum.ts
+++ b/streampark-console/streampark-console-webapp/src/enums/projectEnum.ts
@@ -1,20 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
export enum ProjectTypeEnum {
FLINK = 1,
SPARK = 2,
diff --git a/streampark-console/streampark-console-webapp/src/hooks/web/useMonaco.ts b/streampark-console/streampark-console-webapp/src/hooks/web/useMonaco.ts
index e183f3c130..6abbc64677 100644
--- a/streampark-console/streampark-console-webapp/src/hooks/web/useMonaco.ts
+++ b/streampark-console/streampark-console-webapp/src/hooks/web/useMonaco.ts
@@ -1,19 +1,3 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
import { watch, Ref, unref, ref, computed } from 'vue';
import { until, createEventHook, tryOnUnmounted } from '@vueuse/core';
diff --git a/streampark-console/streampark-console-webapp/src/layouts/default/header/components/Github.vue b/streampark-console/streampark-console-webapp/src/layouts/default/header/components/Github.vue
index 90409de22f..408cbf9abd 100755
--- a/streampark-console/streampark-console-webapp/src/layouts/default/header/components/Github.vue
+++ b/streampark-console/streampark-console-webapp/src/layouts/default/header/components/Github.vue
@@ -1,19 +1,3 @@
-
-