From 5dcc9ee63e5edec0561ec91039d2b4551bb257d4 Mon Sep 17 00:00:00 2001 From: Kriszu <39726513+wangsizhu0504@users.noreply.github.com> Date: Tue, 7 Nov 2023 22:17:16 +0800 Subject: [PATCH 01/14] fix: Refactor code by removing license header --- .../build/config/themeConfig.ts | 16 - .../build/constant.ts | 16 - .../build/generate/generateModifyVars.ts | 16 - .../build/getConfigFileName.ts | 16 - .../streampark-console-webapp/build/utils.ts | 16 - .../build/vite/plugin/compress.ts | 16 - .../build/vite/plugin/html.ts | 16 - .../build/vite/plugin/imagemin.ts | 16 - .../build/vite/plugin/index.ts | 16 - .../build/vite/plugin/styleImport.ts | 16 - .../build/vite/plugin/svgSprite.ts | 16 - .../build/vite/plugin/theme.ts | 16 - .../build/vite/plugin/visualizer.ts | 17 - .../build/vite/proxy.ts | 16 - .../streampark-console-webapp/src/App.vue | 16 - .../src/components/Application/index.ts | 16 - .../Application/src/AppDarkModeToggle.vue | 16 - .../Application/src/AppLocalePicker.vue | 16 - .../components/Application/src/AppLogo.vue | 16 - .../Application/src/AppProvider.vue | 16 - .../Application/src/useAppContext.ts | 16 - .../src/components/Authority/index.ts | 16 - .../components/Authority/src/Authority.vue | 16 - .../src/components/Basic/index.ts | 16 - .../src/components/Basic/src/BasicArrow.vue | 16 - .../src/components/Basic/src/BasicHelp.vue | 16 - .../src/components/Basic/src/BasicTitle.vue | 16 - .../src/components/Button/index.ts | 16 - .../src/components/Button/src/BasicButton.vue | 21 +- .../Button/src/PopConfirmButton.vue | 21 +- .../src/components/Button/src/props.ts | 16 - .../src/components/Container/index.ts | 18 - .../Container/src/LazyContainer.vue | 161 ------- .../Container/src/ScrollContainer.vue | 16 - .../src/collapse/CollapseContainer.vue | 16 - .../Container/src/collapse/CollapseHeader.vue | 16 - .../src/components/Container/src/typing.ts | 16 - .../src/components/ContextMenu/index.ts | 16 - .../ContextMenu/src/ContextMenu.vue | 16 - .../ContextMenu/src/createContextMenu.ts | 16 - .../src/components/ContextMenu/src/typing.ts | 16 - .../src/components/Description/index.ts | 16 - .../Description/src/Description.vue | 4 +- .../src/components/Drawer/index.ts | 16 - .../src/components/Drawer/src/BasicDrawer.vue | 21 +- .../Drawer/src/components/DrawerFooter.vue | 16 - .../Drawer/src/components/DrawerHeader.vue | 16 - .../src/components/Drawer/src/props.ts | 16 - .../src/components/Drawer/src/typing.ts | 16 - .../src/components/Drawer/src/useDrawer.ts | 16 - .../src/components/Dropdown/index.ts | 16 - .../src/components/Dropdown/src/Dropdown.vue | 16 - .../src/components/Dropdown/src/typing.ts | 16 - .../src/components/Form/index.ts | 16 - .../src/components/Form/src/BasicForm.vue | 16 - .../src/components/Form/src/componentMap.ts | 16 - .../Form/src/components/ApiCascader.vue | 16 - .../Form/src/components/ApiRadioGroup.vue | 5 +- .../Form/src/components/ApiSelect.vue | 5 +- .../Form/src/components/ApiTree.vue | 16 - .../Form/src/components/ApiTreeSelect.vue | 16 - .../Form/src/components/FormAction.tsx | 16 - .../Form/src/components/FormAction.vue | 16 - .../Form/src/components/FormItem.vue | 16 - .../Form/src/components/RadioButtonGroup.vue | 4 +- .../src/components/Form/src/helper.ts | 16 - .../components/Form/src/hooks/useAdvanced.ts | 16 - .../components/Form/src/hooks/useAutoFocus.ts | 16 - .../Form/src/hooks/useComponentRegister.ts | 16 - .../src/components/Form/src/hooks/useForm.ts | 16 - .../Form/src/hooks/useFormContext.ts | 16 - .../Form/src/hooks/useFormEvents.ts | 16 - .../Form/src/hooks/useFormValues.ts | 16 - .../Form/src/hooks/useLabelWidth.ts | 16 - .../src/components/Form/src/props.ts | 16 - .../src/components/Form/src/types/form.ts | 16 - .../src/components/Form/src/types/formItem.ts | 16 - .../src/components/Form/src/types/hooks.ts | 16 - .../src/components/Form/src/types/index.ts | 16 - .../src/components/Icon/data/icons.data.ts | 16 - .../src/components/Icon/index.ts | 16 - .../src/components/Icon/src/Icon.vue | 16 - .../src/components/Icon/src/IconPicker.vue | 16 - .../src/components/Icon/src/SvgIcon.vue | 16 - .../src/components/Loading/index.ts | 16 - .../src/components/Loading/src/Loading.vue | 16 - .../components/Loading/src/createLoading.ts | 16 - .../src/components/Loading/src/typing.ts | 16 - .../src/components/Loading/src/useLoading.ts | 16 - .../src/components/Menu/index.ts | 16 - .../src/components/Menu/src/BasicMenu.vue | 16 - .../Menu/src/components/BasicMenuItem.vue | 16 - .../Menu/src/components/BasicSubMenuItem.vue | 16 - .../Menu/src/components/MenuItemContent.vue | 16 - .../src/components/Menu/src/index.less | 17 +- .../src/components/Menu/src/props.ts | 16 - .../src/components/Menu/src/types.ts | 16 - .../src/components/Menu/src/useOpenKeys.ts | 16 - .../src/components/Modal/index.ts | 16 - .../src/components/Modal/src/BasicModal.vue | 16 - .../components/Modal/src/components/Modal.tsx | 20 +- .../Modal/src/components/ModalClose.vue | 16 - .../Modal/src/components/ModalFooter.vue | 16 - .../Modal/src/components/ModalHeader.vue | 16 - .../Modal/src/components/ModalWrapper.vue | 16 - .../components/Modal/src/hooks/useModal.ts | 16 - .../Modal/src/hooks/useModalContext.ts | 16 - .../Modal/src/hooks/useModalDrag.ts | 16 - .../Modal/src/hooks/useModalFullScreen.ts | 16 - .../src/components/Modal/src/index.less | 30 +- .../src/components/Modal/src/props.ts | 16 - .../src/components/Modal/src/typing.ts | 16 - .../src/components/Page/index.ts | 16 - .../src/components/Page/src/PageFooter.vue | 16 - .../src/components/Page/src/PageWrapper.vue | 16 - .../src/components/Scrollbar/index.ts | 16 - .../components/Scrollbar/src/Scrollbar.vue | 16 - .../src/components/Scrollbar/src/bar.ts | 16 - .../src/components/Scrollbar/src/types.d.ts | 16 - .../src/components/Scrollbar/src/util.ts | 16 - .../src/components/SimpleMenu/index.ts | 16 - .../components/SimpleMenu/src/SimpleMenu.vue | 16 - .../SimpleMenu/src/SimpleMenuTag.vue | 16 - .../SimpleMenu/src/SimpleSubMenu.vue | 16 - .../SimpleMenu/src/components/Menu.vue | 16 - .../src/components/MenuCollapseTransition.vue | 16 - .../SimpleMenu/src/components/MenuItem.vue | 16 - .../SimpleMenu/src/components/SubMenuItem.vue | 16 - .../SimpleMenu/src/components/menu.less | 440 +++++++++--------- .../SimpleMenu/src/components/types.ts | 16 - .../SimpleMenu/src/components/useMenu.ts | 16 - .../src/components/useSimpleMenuContext.ts | 16 - .../src/components/SimpleMenu/src/index.less | 23 +- .../src/components/SimpleMenu/src/types.ts | 16 - .../components/SimpleMenu/src/useOpenKeys.ts | 16 - .../src/components/Table/index.ts | 16 - .../src/components/Table/src/BasicTable.vue | 16 - .../src/components/Table/src/componentMap.ts | 16 - .../src/components/EditTableHeaderIcon.vue | 16 - .../Table/src/components/HeaderCell.vue | 18 +- .../Table/src/components/TableAction.vue | 16 - .../Table/src/components/TableFooter.vue | 16 - .../Table/src/components/TableHeader.vue | 16 - .../Table/src/components/TableImg.vue | 16 - .../Table/src/components/TableTitle.vue | 16 - .../src/components/editable/CellComponent.ts | 16 - .../src/components/editable/EditableCell.vue | 16 - .../Table/src/components/editable/helper.ts | 16 - .../Table/src/components/editable/index.ts | 16 - .../src/components/Table/src/const.ts | 16 - .../components/Table/src/hooks/useColumns.ts | 16 - .../Table/src/hooks/useCustomRow.ts | 16 - .../Table/src/hooks/useDataSource.ts | 16 - .../components/Table/src/hooks/useLoading.ts | 16 - .../Table/src/hooks/usePagination.tsx | 16 - .../Table/src/hooks/useRowSelection.ts | 16 - .../components/Table/src/hooks/useScrollTo.ts | 16 - .../components/Table/src/hooks/useTable.ts | 16 - .../Table/src/hooks/useTableContext.ts | 16 - .../Table/src/hooks/useTableExpand.ts | 16 - .../Table/src/hooks/useTableFooter.ts | 16 - .../Table/src/hooks/useTableForm.ts | 16 - .../Table/src/hooks/useTableHeader.ts | 16 - .../Table/src/hooks/useTableScroll.ts | 16 - .../Table/src/hooks/useTableStyle.ts | 16 - .../src/components/Table/src/props.ts | 16 - .../src/components/Table/src/types/column.ts | 16 - .../Table/src/types/componentType.ts | 16 - .../components/Table/src/types/pagination.ts | 16 - .../src/components/Table/src/types/table.ts | 16 - .../components/Table/src/types/tableAction.ts | 16 - .../src/components/Transition/index.ts | 16 - .../Transition/src/CollapseTransition.vue | 16 - .../Transition/src/CreateTransition.tsx | 16 - .../Transition/src/ExpandTransition.ts | 16 - .../src/components/Tree/index.ts | 16 - .../src/components/Tree/src/BasicTree.vue | 16 - .../src/components/Tree/src/TreeIcon.ts | 16 - .../Tree/src/components/TreeHeader.vue | 16 - .../src/components/Tree/src/hooks/useTree.ts | 16 - .../src/components/Tree/src/types/tree.ts | 16 - .../src/components/Tree/style/index.less | 16 - .../src/components/Tree/style/index.ts | 16 - .../src/components/registerGlobComp.ts | 16 - .../src/design/ant/btn.less | 18 +- .../src/design/ant/index.less | 24 +- .../src/design/ant/input.less | 24 +- .../src/design/ant/pagination.less | 18 +- .../src/design/ant/table.less | 16 - .../src/design/color.less | 16 - .../src/design/config.less | 16 - .../src/design/index.less | 16 - .../src/design/public.less | 16 - .../src/design/theme.less | 16 - .../src/design/transition/base.less | 17 +- .../src/design/transition/fade.less | 17 +- .../src/design/transition/index.less | 16 - .../src/design/transition/scale.less | 16 - .../src/design/transition/scroll.less | 16 - .../src/design/transition/slide.less | 16 - .../src/design/transition/zoom.less | 16 - .../src/design/var/breakpoint.less | 16 - .../src/design/var/easing.less | 16 - .../src/design/var/index.less | 16 - .../src/directives/clickOutside.ts | 16 - .../src/directives/index.ts | 16 - .../src/directives/loading.ts | 16 - .../src/directives/permission.ts | 16 - .../src/enums/appEnum.ts | 16 - .../src/enums/breakpointEnum.ts | 16 - .../src/enums/cacheEnum.ts | 16 - .../src/enums/exceptionEnum.ts | 16 - .../src/enums/httpEnum.ts | 16 - .../src/enums/menuEnum.ts | 16 - .../src/enums/pageEnum.ts | 16 - .../src/enums/roleEnum.ts | 16 - .../src/enums/sizeEnum.ts | 16 - .../src/hooks/component/useFormItem.ts | 16 - .../src/hooks/component/usePageContext.ts | 16 - .../src/hooks/core/onMountedOrActivated.ts | 16 - .../src/hooks/core/useAttrs.ts | 56 --- .../src/hooks/core/useContext.ts | 16 - .../src/hooks/core/useLockFn.ts | 16 - .../src/hooks/core/useRefs.ts | 16 - .../src/hooks/core/useTimeout.ts | 16 - .../src/hooks/event/useBreakpoint.ts | 16 - .../src/hooks/event/useEventListener.ts | 16 - .../src/hooks/event/useFullscreen.ts | 16 - .../hooks/event/useIntersectionObserver.ts | 16 - .../src/hooks/event/useScroll.ts | 16 - .../src/hooks/event/useScrollTo.ts | 16 - .../src/hooks/event/useWindowSizeFn.ts | 16 - .../src/hooks/setting/index.ts | 16 - .../src/hooks/setting/useHeaderSetting.ts | 16 - .../src/hooks/setting/useMenuSetting.ts | 16 - .../hooks/setting/useMultipleTabSetting.ts | 16 - .../src/hooks/setting/useRootSetting.ts | 16 - .../src/hooks/setting/useTransitionSetting.ts | 16 - .../src/layouts/default/content/index.vue | 16 - .../default/content/useContentContext.ts | 16 - .../default/content/useContentViewHeight.ts | 16 - .../src/layouts/default/feature/index.vue | 16 - .../layouts/default/header/MultipleHeader.vue | 16 - .../default/header/components/Breadcrumb.vue | 16 - .../default/header/components/ErrorAction.vue | 16 - .../default/header/components/FullScreen.vue | 16 - .../default/header/components/LockScreen.vue | 16 - .../header/components/lock/LockModal.vue | 16 - .../header/components/notify/NoticeList.vue | 16 - .../header/components/notify/index.vue | 16 - .../components/user-dropdown/DropMenuItem.vue | 16 - .../user-dropdown/PasswordModal.vue | 18 +- .../header/components/user-dropdown/index.vue | 16 - .../src/layouts/default/header/index.vue | 16 - .../src/layouts/default/index.vue | 16 - .../src/layouts/default/menu/index.vue | 16 - .../src/layouts/default/menu/useLayoutMenu.ts | 16 - .../src/layouts/default/sider/DragBar.vue | 16 - .../src/layouts/default/sider/LayoutSider.vue | 16 - .../src/layouts/default/sider/MixSider.vue | 16 - .../src/layouts/default/sider/index.vue | 16 - .../layouts/default/sider/useLayoutSider.ts | 16 - .../default/tabs/components/FoldButton.vue | 16 - .../default/tabs/components/TabContent.vue | 16 - .../default/tabs/components/TabRedo.vue | 16 - .../src/layouts/default/tabs/index.less | 19 +- .../src/layouts/default/tabs/index.vue | 16 - .../src/layouts/default/tabs/types.ts | 16 - .../layouts/default/tabs/useMultipleTabs.ts | 16 - .../layouts/default/tabs/useTabDropdown.ts | 16 - .../layouts/default/trigger/HeaderTrigger.vue | 16 - .../layouts/default/trigger/SiderTrigger.vue | 16 - .../src/layouts/default/trigger/index.vue | 16 - .../src/layouts/page/index.vue | 16 - .../src/layouts/page/transition.ts | 16 - .../src/locales/helper.ts | 16 - .../src/locales/setupI18n.ts | 16 - .../src/locales/useLocale.ts | 19 - .../src/logics/error-handle/index.ts | 16 - .../src/logics/initAppConfig.ts | 16 - .../src/logics/mitt/routeChange.ts | 16 - .../src/logics/theme/dark.ts | 16 - .../src/logics/theme/index.ts | 16 - .../src/logics/theme/updateBackground.ts | 16 - .../src/logics/theme/updateColorWeak.ts | 16 - .../src/logics/theme/updateGrayMode.ts | 16 - .../src/logics/theme/util.ts | 16 - .../streampark-console-webapp/src/main.ts | 16 - .../src/router/guard/index.ts | 16 - .../src/router/guard/paramMenuGuard.ts | 16 - .../src/router/guard/permissionGuard.ts | 16 - .../src/router/guard/stateGuard.ts | 16 - .../src/router/helper/menuHelper.ts | 16 - .../src/router/helper/routeHelper.ts | 16 - .../src/router/index.ts | 16 - .../src/router/menus/index.ts | 16 - .../src/router/routes/basic.ts | 16 - .../src/router/routes/index.ts | 16 - .../src/router/types.ts | 16 - .../src/settings/componentSetting.ts | 16 - .../src/settings/designSetting.ts | 16 - .../src/settings/encryptionSetting.ts | 16 - .../src/settings/localeSetting.ts | 16 - .../src/settings/projectSetting.ts | 16 - .../src/store/index.ts | 16 - .../src/store/modules/app.ts | 16 - .../src/store/modules/errorLog.ts | 16 - .../src/store/modules/locale.ts | 16 - .../src/store/modules/lock.ts | 16 - .../src/store/modules/multipleTab.ts | 16 - .../src/store/modules/permission.ts | 16 - .../src/store/modules/user.ts | 16 - .../src/utils/auth/index.ts | 16 - .../src/utils/bem.ts | 16 - .../src/utils/cache/index.ts | 16 - .../src/utils/cache/memory.ts | 16 - .../src/utils/cache/persistent.ts | 16 - .../src/utils/cache/storageCache.ts | 16 - .../src/utils/cipher.ts | 16 - .../src/utils/color.ts | 16 - .../src/utils/dateUtil.ts | 16 - .../src/utils/domUtils.ts | 16 - .../src/utils/env.ts | 16 - .../src/utils/event/index.ts | 16 - .../utils/factory/createAsyncComponent.tsx | 16 - .../src/utils/file/base64Conver.ts | 16 - .../src/utils/file/download.ts | 16 - .../src/utils/helper/treeHelper.ts | 16 - .../src/utils/helper/tsxHelper.tsx | 16 - .../src/utils/http/axios/Axios.ts | 16 - .../src/utils/http/axios/axiosCancel.ts | 16 - .../src/utils/http/axios/axiosRetry.ts | 16 - .../src/utils/http/axios/axiosTransform.ts | 16 - .../src/utils/http/axios/checkStatus.ts | 16 - .../src/utils/http/axios/errorHandle.ts | 16 - .../src/utils/http/axios/helper.ts | 17 - .../src/utils/http/axios/index.ts | 16 - .../src/utils/index.ts | 16 - .../streampark-console-webapp/src/utils/is.ts | 16 - .../src/utils/log.ts | 16 - .../src/utils/mitt.ts | 16 - .../src/utils/propTypes.ts | 16 - .../src/utils/props.ts | 16 - .../src/utils/types.ts | 16 - .../src/utils/uuid.ts | 16 - .../src/views/base/error-log/DetailModal.vue | 16 - .../src/views/base/error-log/data.tsx | 16 - .../src/views/base/error-log/index.vue | 16 - .../src/views/base/exception/Exception.vue | 16 - .../src/views/base/exception/index.ts | 16 - .../src/views/base/lock/LockPage.vue | 16 - .../src/views/base/lock/index.vue | 16 - .../src/views/base/lock/useNow.ts | 16 - .../src/views/base/redirect/index.vue | 16 - .../types/axios.d.ts | 16 - .../types/config.d.ts | 16 - .../types/global.d.ts | 16 - .../types/index.d.ts | 16 - .../types/module.d.ts | 16 - .../types/store.d.ts | 16 - .../types/utils.d.ts | 16 - .../types/vue-router.d.ts | 16 - .../streampark-console-webapp/windi.config.ts | 16 - 363 files changed, 263 insertions(+), 6185 deletions(-) delete mode 100644 streampark-console/streampark-console-webapp/src/components/Container/src/LazyContainer.vue delete mode 100644 streampark-console/streampark-console-webapp/src/hooks/core/useAttrs.ts diff --git a/streampark-console/streampark-console-webapp/build/config/themeConfig.ts b/streampark-console/streampark-console-webapp/build/config/themeConfig.ts index f8aac885c4..18464d62cc 100644 --- a/streampark-console/streampark-console-webapp/build/config/themeConfig.ts +++ b/streampark-console/streampark-console-webapp/build/config/themeConfig.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 { generate } from '@ant-design/colors'; export const primaryColor = '#3c7eff'; diff --git a/streampark-console/streampark-console-webapp/build/constant.ts b/streampark-console/streampark-console-webapp/build/constant.ts index 3caa71457b..2c6119c8d8 100644 --- a/streampark-console/streampark-console-webapp/build/constant.ts +++ b/streampark-console/streampark-console-webapp/build/constant.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. - */ /** * The name of the configuration file entered in the production environment */ diff --git a/streampark-console/streampark-console-webapp/build/generate/generateModifyVars.ts b/streampark-console/streampark-console-webapp/build/generate/generateModifyVars.ts index 38dcf5c698..b310a1bbcb 100644 --- a/streampark-console/streampark-console-webapp/build/generate/generateModifyVars.ts +++ b/streampark-console/streampark-console-webapp/build/generate/generateModifyVars.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 { generateAntColors, primaryColor } from '../config/themeConfig'; import { getThemeVariables } from 'ant-design-vue/dist/theme'; import { resolve } from 'path'; diff --git a/streampark-console/streampark-console-webapp/build/getConfigFileName.ts b/streampark-console/streampark-console-webapp/build/getConfigFileName.ts index 03e9c3ca85..d61cd4162a 100644 --- a/streampark-console/streampark-console-webapp/build/getConfigFileName.ts +++ b/streampark-console/streampark-console-webapp/build/getConfigFileName.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. - */ /** * Get the configuration file variable name * @param env diff --git a/streampark-console/streampark-console-webapp/build/utils.ts b/streampark-console/streampark-console-webapp/build/utils.ts index d9af149460..c554f9f214 100644 --- a/streampark-console/streampark-console-webapp/build/utils.ts +++ b/streampark-console/streampark-console-webapp/build/utils.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 fs from 'fs'; import path from 'path'; import dotenv from 'dotenv'; diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/compress.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/compress.ts index 0e1502f07d..ff4f6311d1 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/compress.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/compress.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. - */ /** * Used to package and output gzip. Note that this does not work properly in Vite, the specific reason is still being investigated * https://github.com/anncwb/vite-plugin-compression diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/html.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/html.ts index 7226c8f7d5..de1e72da4f 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/html.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/html.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. - */ /** * Plugin to minimize and use ejs template syntax in index.html. * https://github.com/anncwb/vite-plugin-html diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/imagemin.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/imagemin.ts index d73dd83c82..a0235732ec 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/imagemin.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/imagemin.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. - */ // Image resource files used to compress the output of the production environment // https://github.com/anncwb/vite-plugin-imagemin import viteImagemin from 'vite-plugin-imagemin'; diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/index.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/index.ts index b3c83e6c95..65f25383be 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/index.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/index.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 { PluginOption } from 'vite'; import vue from '@vitejs/plugin-vue'; import vueJsx from '@vitejs/plugin-vue-jsx'; diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/styleImport.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/styleImport.ts index 34b235f5c4..377b0e7716 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/styleImport.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/styleImport.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. - */ /** * Introduces component library styles on demand. * https://github.com/anncwb/vite-plugin-style-import diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/svgSprite.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/svgSprite.ts index 2a28c27ac7..61f637f4e7 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/svgSprite.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/svgSprite.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. - */ /** * Vite Plugin for fast creating SVG sprites. * https://github.com/anncwb/vite-plugin-svg-icons diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/theme.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/theme.ts index fbd7dc396b..52d5a59492 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/theme.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/theme.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. - */ /** * Vite plugin for website theme color switching * https://github.com/anncwb/vite-plugin-theme diff --git a/streampark-console/streampark-console-webapp/build/vite/plugin/visualizer.ts b/streampark-console/streampark-console-webapp/build/vite/plugin/visualizer.ts index b387ce92a6..3a755abdd5 100644 --- a/streampark-console/streampark-console-webapp/build/vite/plugin/visualizer.ts +++ b/streampark-console/streampark-console-webapp/build/vite/plugin/visualizer.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. - */ - import visualizer from 'rollup-plugin-visualizer'; import { isReportMode } from '../../utils'; diff --git a/streampark-console/streampark-console-webapp/build/vite/proxy.ts b/streampark-console/streampark-console-webapp/build/vite/proxy.ts index 4f28a21241..02dac4c3b2 100644 --- a/streampark-console/streampark-console-webapp/build/vite/proxy.ts +++ b/streampark-console/streampark-console-webapp/build/vite/proxy.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 type { ProxyOptions } from 'vite'; type ProxyItem = [string, string]; diff --git a/streampark-console/streampark-console-webapp/src/App.vue b/streampark-console/streampark-console-webapp/src/App.vue index c0b9dd591b..f4fab182c5 100644 --- a/streampark-console/streampark-console-webapp/src/App.vue +++ b/streampark-console/streampark-console-webapp/src/App.vue @@ -1,19 +1,3 @@ -