@liujitcn/kratos-admin-core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -0
- package/build/getEnv.ts +46 -0
- package/build/plugins.ts +206 -0
- package/build/proxy.ts +29 -0
- package/dist/package/declarations/build/getEnv.d.ts +13 -0
- package/dist/package/declarations/build/plugins.d.ts +20 -0
- package/dist/package/declarations/build/proxy.d.ts +10 -0
- package/dist/package/declarations/index.d.ts +7 -0
- package/dist/package/declarations/src/App.vue.d.ts +3 -0
- package/dist/package/declarations/src/api/base/config.d.ts +7 -0
- package/dist/package/declarations/src/api/base/file.d.ts +11 -0
- package/dist/package/declarations/src/api/base/login.d.ts +18 -0
- package/dist/package/declarations/src/api/base/oauth.d.ts +12 -0
- package/dist/package/declarations/src/api/system/auth.d.ts +13 -0
- package/dist/package/declarations/src/api/system/base_dict.d.ts +8 -0
- package/dist/package/declarations/src/api/system/base_tenant.d.ts +9 -0
- package/dist/package/declarations/src/auth.d.ts +1 -0
- package/dist/package/declarations/src/bootstrap.d.ts +23 -0
- package/dist/package/declarations/src/components/Card/DataPanelCard.vue.d.ts +23 -0
- package/dist/package/declarations/src/components/CronExpression/index.vue.d.ts +15 -0
- package/dist/package/declarations/src/components/Dialog/FormDialog.vue.d.ts +74 -0
- package/dist/package/declarations/src/components/Dialog/ProDialog.vue.d.ts +58 -0
- package/dist/package/declarations/src/components/Dict/DictLabel.vue.d.ts +11 -0
- package/dist/package/declarations/src/components/Dict/index.vue.d.ts +30 -0
- package/dist/package/declarations/src/components/ECharts/config/index.d.ts +7 -0
- package/dist/package/declarations/src/components/ECharts/index.vue.d.ts +22 -0
- package/dist/package/declarations/src/components/ErrorMessage/index.vue.d.ts +12 -0
- package/dist/package/declarations/src/components/Grid/components/GridItem.vue.d.ts +34 -0
- package/dist/package/declarations/src/components/Grid/index.vue.d.ts +28 -0
- package/dist/package/declarations/src/components/Grid/interface/index.d.ts +7 -0
- package/dist/package/declarations/src/components/ImportExcel/index.vue.d.ts +26 -0
- package/dist/package/declarations/src/components/Loading/fullScreen.d.ts +5 -0
- package/dist/package/declarations/src/components/Loading/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/components/PasswordStrength/index.vue.d.ts +13 -0
- package/dist/package/declarations/src/components/ProForm/components/DynamicList.vue.d.ts +15 -0
- package/dist/package/declarations/src/components/ProForm/components/KvList.vue.d.ts +26 -0
- package/dist/package/declarations/src/components/ProForm/components/ProFormItem.vue.d.ts +28 -0
- package/dist/package/declarations/src/components/ProForm/index.vue.d.ts +36 -0
- package/dist/package/declarations/src/components/ProForm/interface/index.d.ts +47 -0
- package/dist/package/declarations/src/components/ProTable/components/ColSetting.vue.d.ts +9 -0
- package/dist/package/declarations/src/components/ProTable/components/Pagination.vue.d.ts +15 -0
- package/dist/package/declarations/src/components/ProTable/components/TableColumn.vue.d.ts +9 -0
- package/dist/package/declarations/src/components/ProTable/interface/index.d.ts +187 -0
- package/dist/package/declarations/src/components/ProTable.d.ts +5 -0
- package/dist/package/declarations/src/components/SearchForm/components/SearchFormItem.vue.d.ts +21 -0
- package/dist/package/declarations/src/components/SearchForm/index.vue.d.ts +22 -0
- package/dist/package/declarations/src/components/SelectFilter/index.vue.d.ts +44 -0
- package/dist/package/declarations/src/components/SelectIcon/index.vue.d.ts +19 -0
- package/dist/package/declarations/src/components/SvgIcon/index.vue.d.ts +15 -0
- package/dist/package/declarations/src/components/SwitchDark/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/components/TreeFilter/index.vue.d.ts +5866 -0
- package/dist/package/declarations/src/components/Upload/File.vue.d.ts +24 -0
- package/dist/package/declarations/src/components/Upload/Files.vue.d.ts +26 -0
- package/dist/package/declarations/src/components/Upload/Img.vue.d.ts +43 -0
- package/dist/package/declarations/src/components/Upload/Imgs.vue.d.ts +46 -0
- package/dist/package/declarations/src/components/WangEditor/index.vue.d.ts +29 -0
- package/dist/package/declarations/src/config/index.d.ts +6 -0
- package/dist/package/declarations/src/config/nprogress.d.ts +3 -0
- package/dist/package/declarations/src/directives/index.d.ts +5 -0
- package/dist/package/declarations/src/directives/modules/auth.d.ts +3 -0
- package/dist/package/declarations/src/directives/modules/copy.d.ts +8 -0
- package/dist/package/declarations/src/directives/modules/debounce.d.ts +8 -0
- package/dist/package/declarations/src/directives/modules/draggable.d.ts +3 -0
- package/dist/package/declarations/src/directives/modules/longpress.d.ts +7 -0
- package/dist/package/declarations/src/directives/modules/throttle.d.ts +3 -0
- package/dist/package/declarations/src/directives/modules/waterMarker.d.ts +5 -0
- package/dist/package/declarations/src/enums/httpEnum.d.ts +29 -0
- package/dist/package/declarations/src/format.d.ts +1 -0
- package/dist/package/declarations/src/hooks/interface/index.d.ts +36 -0
- package/dist/package/declarations/src/hooks/useAuthButtons.d.ts +8 -0
- package/dist/package/declarations/src/hooks/useDownload.d.ts +9 -0
- package/dist/package/declarations/src/hooks/useHandleData.d.ts +10 -0
- package/dist/package/declarations/src/hooks/useOnline.d.ts +6 -0
- package/dist/package/declarations/src/hooks/useSelection.d.ts +10 -0
- package/dist/package/declarations/src/hooks/useTable.d.ts +46 -0
- package/dist/package/declarations/src/hooks/useTheme.d.ts +12 -0
- package/dist/package/declarations/src/hooks/useTime.d.ts +13 -0
- package/dist/package/declarations/src/index.d.ts +3 -0
- package/dist/package/declarations/src/layouts/LayoutClassic/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/LayoutColumns/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/LayoutTransverse/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/LayoutVertical/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Footer/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/ToolBarLeft.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/ToolBarRight.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/AssemblySize.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/Avatar.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/Breadcrumb.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/CollapseIcon.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/Fullscreen.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/InfoDialog.vue.d.ts +5 -0
- package/dist/package/declarations/src/layouts/components/Header/components/PasswordDialog.vue.d.ts +5 -0
- package/dist/package/declarations/src/layouts/components/Header/components/SearchMenu.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Header/components/ThemeSetting.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Main/components/Maximize.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Main/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Menu/SubMenu.vue.d.ts +7 -0
- package/dist/package/declarations/src/layouts/components/Tabs/components/MoreButton.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/Tabs/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/components/ThemeDrawer/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/index.vue.d.ts +3 -0
- package/dist/package/declarations/src/layouts/indexAsync.vue.d.ts +3 -0
- package/dist/package/declarations/src/modules/index.d.ts +117 -0
- package/dist/package/declarations/src/modules/kratosAdmin.d.ts +4 -0
- package/dist/package/declarations/src/navigation.d.ts +2 -0
- package/dist/package/declarations/src/request.d.ts +2 -0
- package/dist/package/declarations/src/routers/index.d.ts +21 -0
- package/dist/package/declarations/src/routers/modules/dynamicRouter.d.ts +4 -0
- package/dist/package/declarations/src/routers/modules/staticRouter.d.ts +25 -0
- package/dist/package/declarations/src/rpc/base/v1/config.d.ts +23 -0
- package/dist/package/declarations/src/rpc/base/v1/file.d.ts +52 -0
- package/dist/package/declarations/src/rpc/base/v1/login.d.ts +107 -0
- package/dist/package/declarations/src/rpc/base/v1/oauth.d.ts +167 -0
- package/dist/package/declarations/src/rpc/common/v1/common.d.ts +57 -0
- package/dist/package/declarations/src/rpc/common/v1/enum.d.ts +58 -0
- package/dist/package/declarations/src/rpc/common/v1/types.d.ts +60 -0
- package/dist/package/declarations/src/rpc/google/protobuf/empty.d.ts +11 -0
- package/dist/package/declarations/src/rpc/google/protobuf/wrappers.d.ts +108 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/auth.d.ts +156 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/base_dict.d.ts +215 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/base_tenant.d.ts +112 -0
- package/dist/package/declarations/src/rpc/system/common/v1/enum.d.ts +67 -0
- package/dist/package/declarations/src/security.d.ts +3 -0
- package/dist/package/declarations/src/stores/helper/persist.d.ts +9 -0
- package/dist/package/declarations/src/stores/index.d.ts +2 -0
- package/dist/package/declarations/src/stores/interface/index.d.ts +90 -0
- package/dist/package/declarations/src/stores/modules/auth.d.ts +168 -0
- package/dist/package/declarations/src/stores/modules/config.d.ts +26 -0
- package/dist/package/declarations/src/stores/modules/dict.d.ts +32 -0
- package/dist/package/declarations/src/stores/modules/global.d.ts +4 -0
- package/dist/package/declarations/src/stores/modules/keepAlive.d.ts +6 -0
- package/dist/package/declarations/src/stores/modules/tabs.d.ts +13 -0
- package/dist/package/declarations/src/stores/modules/user.d.ts +29 -0
- package/dist/package/declarations/src/stores/runtime.d.ts +4 -0
- package/dist/package/declarations/src/styles/theme/aside.d.ts +4 -0
- package/dist/package/declarations/src/styles/theme/header.d.ts +4 -0
- package/dist/package/declarations/src/styles/theme/menu.d.ts +4 -0
- package/dist/package/declarations/src/table.d.ts +1 -0
- package/dist/package/declarations/src/tenant.d.ts +1 -0
- package/dist/package/declarations/src/utils/color.d.ts +28 -0
- package/dist/package/declarations/src/utils/dict.d.ts +15 -0
- package/dist/package/declarations/src/utils/eleValidate.d.ts +4 -0
- package/dist/package/declarations/src/utils/errorHandler.d.ts +5 -0
- package/dist/package/declarations/src/utils/index.d.ts +192 -0
- package/dist/package/declarations/src/utils/is/index.d.ts +72 -0
- package/dist/package/declarations/src/utils/mittBus.d.ts +2 -0
- package/dist/package/declarations/src/utils/oauthProvider.d.ts +19 -0
- package/dist/package/declarations/src/utils/passwordCrypto.d.ts +6 -0
- package/dist/package/declarations/src/utils/passwordStrength.d.ts +36 -0
- package/dist/package/declarations/src/utils/proTable.d.ts +44 -0
- package/dist/package/declarations/src/utils/request.d.ts +11 -0
- package/dist/package/declarations/src/utils/router.d.ts +14 -0
- package/dist/package/declarations/src/utils/svg.d.ts +4 -0
- package/dist/package/declarations/src/utils/tenant.d.ts +6 -0
- package/dist/package/declarations/src/utils/utils.d.ts +12 -0
- package/dist/package/declarations/src/views/error/403.vue.d.ts +3 -0
- package/dist/package/declarations/src/views/error/404.vue.d.ts +3 -0
- package/dist/package/declarations/src/views/error/500.vue.d.ts +3 -0
- package/dist/package/declarations/src/views/error/pending.vue.d.ts +3 -0
- package/dist/package/declarations/src/views/login/components/LoginForm.vue.d.ts +4 -0
- package/dist/package/declarations/src/views/login/index.vue.d.ts +3 -0
- package/dist/package/declarations/vite.config.d.ts +13 -0
- package/dist/package/src/App.vue +25 -0
- package/dist/package/src/api/base/config.ts +19 -0
- package/dist/package/src/api/base/file.ts +75 -0
- package/dist/package/src/api/base/login.ts +81 -0
- package/dist/package/src/api/base/oauth.ts +50 -0
- package/dist/package/src/api/system/auth.ts +45 -0
- package/dist/package/src/api/system/base_dict.ts +19 -0
- package/dist/package/src/api/system/base_tenant.ts +20 -0
- package/dist/package/src/assets/fonts/DIN.otf +0 -0
- package/dist/package/src/assets/fonts/MetroDF.ttf +0 -0
- package/dist/package/src/assets/fonts/YouSheBiaoTiHei.ttf +0 -0
- package/dist/package/src/assets/fonts/font.scss +14 -0
- package/dist/package/src/assets/iconfont/iconfont.scss +47 -0
- package/dist/package/src/assets/iconfont/iconfont.ttf +0 -0
- package/dist/package/src/assets/images/403.png +0 -0
- package/dist/package/src/assets/images/404.png +0 -0
- package/dist/package/src/assets/images/500.png +0 -0
- package/dist/package/src/assets/images/avatar.png +0 -0
- package/dist/package/src/assets/images/login_bg.svg +33 -0
- package/dist/package/src/assets/images/login_left.png +0 -0
- package/dist/package/src/assets/images/logo.svg +1 -0
- package/dist/package/src/assets/images/notData.png +0 -0
- package/dist/package/src/assets/images/oauth/dingtalk.png +0 -0
- package/dist/package/src/assets/images/oauth/feishu.png +0 -0
- package/dist/package/src/assets/images/oauth/gitee.png +0 -0
- package/dist/package/src/assets/images/oauth/github.png +0 -0
- package/dist/package/src/assets/images/oauth/google.png +0 -0
- package/dist/package/src/assets/images/oauth/wechat.png +0 -0
- package/dist/package/src/assets/images/oauth/wechatwork.png +0 -0
- package/dist/package/src/auth.ts +1 -0
- package/dist/package/src/bootstrap.ts +69 -0
- package/dist/package/src/components/Card/DataPanelCard.vue +67 -0
- package/dist/package/src/components/CronExpression/index.vue +713 -0
- package/dist/package/src/components/Dialog/FormDialog.vue +160 -0
- package/dist/package/src/components/Dialog/ProDialog.vue +96 -0
- package/dist/package/src/components/Dict/DictLabel.vue +62 -0
- package/dist/package/src/components/Dict/index.vue +157 -0
- package/dist/package/src/components/ECharts/config/index.ts +45 -0
- package/dist/package/src/components/ECharts/index.vue +108 -0
- package/dist/package/src/components/ErrorMessage/index.vue +63 -0
- package/dist/package/src/components/Grid/components/GridItem.vue +69 -0
- package/dist/package/src/components/Grid/index.vue +169 -0
- package/dist/package/src/components/Grid/interface/index.ts +8 -0
- package/dist/package/src/components/ImportExcel/index.scss +3 -0
- package/dist/package/src/components/ImportExcel/index.vue +150 -0
- package/dist/package/src/components/Loading/fullScreen.ts +45 -0
- package/dist/package/src/components/Loading/index.scss +67 -0
- package/dist/package/src/components/Loading/index.vue +13 -0
- package/dist/package/src/components/PasswordStrength/index.vue +127 -0
- package/dist/package/src/components/ProForm/components/DynamicList.vue +59 -0
- package/dist/package/src/components/ProForm/components/KvList.vue +73 -0
- package/dist/package/src/components/ProForm/components/ProFormItem.vue +191 -0
- package/dist/package/src/components/ProForm/index.vue +120 -0
- package/dist/package/src/components/ProForm/interface/index.ts +74 -0
- package/dist/package/src/components/ProTable/components/ColSetting.vue +45 -0
- package/dist/package/src/components/ProTable/components/Pagination.vue +58 -0
- package/dist/package/src/components/ProTable/components/TableColumn.vue +234 -0
- package/dist/package/src/components/ProTable/index.vue +567 -0
- package/dist/package/src/components/ProTable/interface/index.ts +223 -0
- package/dist/package/src/components/ProTable.ts +8 -0
- package/dist/package/src/components/SearchForm/components/SearchFormItem.vue +168 -0
- package/dist/package/src/components/SearchForm/index.vue +105 -0
- package/dist/package/src/components/SelectFilter/index.scss +63 -0
- package/dist/package/src/components/SelectFilter/index.vue +113 -0
- package/dist/package/src/components/SelectIcon/index.scss +39 -0
- package/dist/package/src/components/SelectIcon/index.vue +105 -0
- package/dist/package/src/components/SvgIcon/index.vue +35 -0
- package/dist/package/src/components/SwitchDark/index.vue +12 -0
- package/dist/package/src/components/TreeFilter/index.scss +44 -0
- package/dist/package/src/components/TreeFilter/index.vue +207 -0
- package/dist/package/src/components/Upload/File.vue +201 -0
- package/dist/package/src/components/Upload/Files.vue +234 -0
- package/dist/package/src/components/Upload/Img.vue +306 -0
- package/dist/package/src/components/Upload/Imgs.vue +320 -0
- package/dist/package/src/components/WangEditor/index.scss +28 -0
- package/dist/package/src/components/WangEditor/index.vue +154 -0
- package/dist/package/src/config/index.ts +19 -0
- package/dist/package/src/config/nprogress.ts +12 -0
- package/dist/package/src/directives/index.ts +28 -0
- package/dist/package/src/directives/modules/auth.ts +25 -0
- package/dist/package/src/directives/modules/copy.ts +39 -0
- package/dist/package/src/directives/modules/debounce.ts +32 -0
- package/dist/package/src/directives/modules/draggable.ts +50 -0
- package/dist/package/src/directives/modules/longpress.ts +49 -0
- package/dist/package/src/directives/modules/throttle.ts +42 -0
- package/dist/package/src/directives/modules/waterMarker.ts +36 -0
- package/dist/package/src/enums/httpEnum.ts +35 -0
- package/dist/package/src/format.ts +1 -0
- package/dist/package/src/hooks/interface/index.ts +38 -0
- package/dist/package/src/hooks/useAuthButtons.ts +25 -0
- package/dist/package/src/hooks/useDownload.ts +44 -0
- package/dist/package/src/hooks/useHandleData.ts +38 -0
- package/dist/package/src/hooks/useOnline.ts +27 -0
- package/dist/package/src/hooks/useSelection.ts +34 -0
- package/dist/package/src/hooks/useTable.ts +151 -0
- package/dist/package/src/hooks/useTheme.ts +111 -0
- package/dist/package/src/hooks/useTime.ts +38 -0
- package/dist/package/src/index.ts +9 -0
- package/dist/package/src/layouts/LayoutClassic/index.scss +60 -0
- package/dist/package/src/layouts/LayoutClassic/index.vue +64 -0
- package/dist/package/src/layouts/LayoutColumns/index.scss +95 -0
- package/dist/package/src/layouts/LayoutColumns/index.vue +113 -0
- package/dist/package/src/layouts/LayoutTransverse/index.scss +60 -0
- package/dist/package/src/layouts/LayoutTransverse/index.vue +70 -0
- package/dist/package/src/layouts/LayoutVertical/index.scss +70 -0
- package/dist/package/src/layouts/LayoutVertical/index.vue +119 -0
- package/dist/package/src/layouts/components/Footer/index.scss +11 -0
- package/dist/package/src/layouts/components/Footer/index.vue +21 -0
- package/dist/package/src/layouts/components/Header/ToolBarLeft.vue +23 -0
- package/dist/package/src/layouts/components/Header/ToolBarRight.vue +44 -0
- package/dist/package/src/layouts/components/Header/components/AssemblySize.vue +39 -0
- package/dist/package/src/layouts/components/Header/components/Avatar.vue +226 -0
- package/dist/package/src/layouts/components/Header/components/Breadcrumb.vue +117 -0
- package/dist/package/src/layouts/components/Header/components/CollapseIcon.vue +21 -0
- package/dist/package/src/layouts/components/Header/components/Fullscreen.vue +28 -0
- package/dist/package/src/layouts/components/Header/components/InfoDialog.vue +22 -0
- package/dist/package/src/layouts/components/Header/components/PasswordDialog.vue +22 -0
- package/dist/package/src/layouts/components/Header/components/SearchMenu.vue +207 -0
- package/dist/package/src/layouts/components/Header/components/ThemeSetting.vue +14 -0
- package/dist/package/src/layouts/components/Main/components/Maximize.vue +39 -0
- package/dist/package/src/layouts/components/Main/index.scss +14 -0
- package/dist/package/src/layouts/components/Main/index.vue +90 -0
- package/dist/package/src/layouts/components/Menu/SubMenu.vue +132 -0
- package/dist/package/src/layouts/components/Tabs/components/MoreButton.vue +83 -0
- package/dist/package/src/layouts/components/Tabs/index.scss +69 -0
- package/dist/package/src/layouts/components/Tabs/index.vue +111 -0
- package/dist/package/src/layouts/components/ThemeDrawer/index.scss +137 -0
- package/dist/package/src/layouts/components/ThemeDrawer/index.vue +191 -0
- package/dist/package/src/layouts/index.vue +50 -0
- package/dist/package/src/layouts/indexAsync.vue +54 -0
- package/dist/package/src/modules/index.ts +233 -0
- package/dist/package/src/modules/kratosAdmin.ts +17 -0
- package/dist/package/src/navigation.ts +2 -0
- package/dist/package/src/request.ts +2 -0
- package/dist/package/src/routers/index.ts +143 -0
- package/dist/package/src/routers/modules/dynamicRouter.ts +160 -0
- package/dist/package/src/routers/modules/staticRouter.ts +73 -0
- package/dist/package/src/rpc/base/v1/config.ts +34 -0
- package/dist/package/src/rpc/base/v1/file.ts +66 -0
- package/dist/package/src/rpc/base/v1/login.ts +128 -0
- package/dist/package/src/rpc/base/v1/oauth.ts +199 -0
- package/dist/package/src/rpc/common/v1/common.ts +71 -0
- package/dist/package/src/rpc/common/v1/enum.ts +71 -0
- package/dist/package/src/rpc/common/v1/types.ts +77 -0
- package/dist/package/src/rpc/google/protobuf/empty.ts +19 -0
- package/dist/package/src/rpc/google/protobuf/wrappers.ts +124 -0
- package/dist/package/src/rpc/system/admin/v1/auth.ts +208 -0
- package/dist/package/src/rpc/system/admin/v1/base_dict.ts +249 -0
- package/dist/package/src/rpc/system/admin/v1/base_tenant.ts +134 -0
- package/dist/package/src/rpc/system/common/v1/enum.ts +80 -0
- package/dist/package/src/security.ts +3 -0
- package/dist/package/src/stores/helper/persist.ts +19 -0
- package/dist/package/src/stores/index.ts +8 -0
- package/dist/package/src/stores/interface/index.ts +102 -0
- package/dist/package/src/stores/modules/auth.ts +73 -0
- package/dist/package/src/stores/modules/config.ts +119 -0
- package/dist/package/src/stores/modules/dict.ts +65 -0
- package/dist/package/src/stores/modules/global.ts +54 -0
- package/dist/package/src/stores/modules/keepAlive.ts +22 -0
- package/dist/package/src/stores/modules/tabs.ts +77 -0
- package/dist/package/src/stores/modules/user.ts +109 -0
- package/dist/package/src/stores/runtime.ts +4 -0
- package/dist/package/src/styles/common.scss +144 -0
- package/dist/package/src/styles/element-dark.scss +46 -0
- package/dist/package/src/styles/element.scss +333 -0
- package/dist/package/src/styles/reset.scss +143 -0
- package/dist/package/src/styles/theme/aside.ts +16 -0
- package/dist/package/src/styles/theme/header.ts +25 -0
- package/dist/package/src/styles/theme/menu.ts +31 -0
- package/dist/package/src/styles/var.scss +2 -0
- package/dist/package/src/table.ts +1 -0
- package/dist/package/src/tenant.ts +1 -0
- package/dist/package/src/typings/global.d.ts +74 -0
- package/dist/package/src/typings/utils.d.ts +17 -0
- package/dist/package/src/typings/window.d.ts +8 -0
- package/dist/package/src/utils/color.ts +59 -0
- package/dist/package/src/utils/dict.ts +17 -0
- package/dist/package/src/utils/eleValidate.ts +14 -0
- package/dist/package/src/utils/errorHandler.ts +27 -0
- package/dist/package/src/utils/index.ts +403 -0
- package/dist/package/src/utils/is/index.ts +125 -0
- package/dist/package/src/utils/mittBus.ts +5 -0
- package/dist/package/src/utils/oauthProvider.ts +79 -0
- package/dist/package/src/utils/passwordCrypto.ts +71 -0
- package/dist/package/src/utils/passwordStrength.ts +86 -0
- package/dist/package/src/utils/proTable.ts +124 -0
- package/dist/package/src/utils/request.ts +296 -0
- package/dist/package/src/utils/router.ts +43 -0
- package/dist/package/src/utils/svg.ts +13 -0
- package/dist/package/src/utils/tenant.ts +10 -0
- package/dist/package/src/utils/utils.ts +40 -0
- package/dist/package/src/views/error/403.vue +8 -0
- package/dist/package/src/views/error/404.vue +8 -0
- package/dist/package/src/views/error/500.vue +8 -0
- package/dist/package/src/views/error/pending.vue +16 -0
- package/dist/package/src/views/login/components/LoginForm.vue +797 -0
- package/dist/package/src/views/login/index.scss +103 -0
- package/dist/package/src/views/login/index.vue +108 -0
- package/dist/package/src/vite-env.d.ts +3 -0
- package/dist/package/types/generated/auto-imports.d.ts +124 -0
- package/dist/package/types/generated/components.d.ts +151 -0
- package/package.json +199 -0
- package/tsconfig.json +21 -0
- package/types/generated/auto-imports.d.ts +124 -0
- package/types/generated/components.d.ts +151 -0
- package/vite.config.ts +239 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.login-container {
|
|
2
|
+
height: 100%;
|
|
3
|
+
min-height: 550px;
|
|
4
|
+
background-color: #eeeeee;
|
|
5
|
+
background-image: url("../../assets/images/login_bg.svg");
|
|
6
|
+
background-size: 100% 100%;
|
|
7
|
+
background-size: cover;
|
|
8
|
+
.login-box {
|
|
9
|
+
position: relative;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: space-around;
|
|
14
|
+
width: 96.5%;
|
|
15
|
+
height: 94%;
|
|
16
|
+
padding: 0 50px;
|
|
17
|
+
background-color: rgb(255 255 255 / 80%);
|
|
18
|
+
border-radius: 10px;
|
|
19
|
+
.dark {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 13px;
|
|
22
|
+
right: 18px;
|
|
23
|
+
}
|
|
24
|
+
.login-left {
|
|
25
|
+
width: 800px;
|
|
26
|
+
margin-right: 10px;
|
|
27
|
+
.login-left-img {
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.login-form {
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
width: 420px;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
padding: 50px 40px 45px;
|
|
37
|
+
background-color: var(--el-bg-color);
|
|
38
|
+
border-radius: 10px;
|
|
39
|
+
box-shadow: rgb(0 0 0 / 10%) 0 2px 10px 2px;
|
|
40
|
+
.login-logo {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
width: 100%;
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
margin-bottom: 45px;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
.login-icon {
|
|
49
|
+
/* Logo 图标允许按容器收缩,避免与长标题叠加后撑出表单区域。 */
|
|
50
|
+
flex: 0 1 60px;
|
|
51
|
+
width: clamp(40px, 14%, 60px);
|
|
52
|
+
max-width: 60px;
|
|
53
|
+
height: auto;
|
|
54
|
+
aspect-ratio: 60 / 52;
|
|
55
|
+
object-fit: contain;
|
|
56
|
+
}
|
|
57
|
+
.logo-text {
|
|
58
|
+
/* 标题始终保持单行,字号由脚本按容器宽度动态缩放。 */
|
|
59
|
+
flex: 1 1 auto;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
padding: 0 0 0 16px;
|
|
62
|
+
margin: 0;
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
line-height: 1.2;
|
|
65
|
+
color: #34495e;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.el-form-item {
|
|
70
|
+
margin-bottom: 40px;
|
|
71
|
+
}
|
|
72
|
+
.login-btn {
|
|
73
|
+
display: flex;
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
width: 100%;
|
|
76
|
+
margin-top: 40px;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
.el-button {
|
|
79
|
+
width: 185px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media screen and (width <= 1250px) {
|
|
87
|
+
.login-left {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media screen and (width <= 600px) {
|
|
93
|
+
.login-form {
|
|
94
|
+
width: 97% !important;
|
|
95
|
+
padding: 40px 24px 32px !important;
|
|
96
|
+
.login-logo {
|
|
97
|
+
margin-bottom: 32px !important;
|
|
98
|
+
.logo-text {
|
|
99
|
+
padding-left: 12px !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="login-container flx-center">
|
|
3
|
+
<div class="login-box">
|
|
4
|
+
<SwitchDark class="dark" />
|
|
5
|
+
<div class="login-left">
|
|
6
|
+
<img class="login-left-img" :src="backgroundUrl" alt="login" />
|
|
7
|
+
</div>
|
|
8
|
+
<div class="login-form">
|
|
9
|
+
<div ref="loginLogoRef" class="login-logo">
|
|
10
|
+
<img v-show="showLogoIcon" ref="logoIconRef" class="login-icon" :src="logoUrl" alt="" />
|
|
11
|
+
<h2 ref="logoTextRef" class="logo-text" :style="{ fontSize: `${logoFontSize}px` }">{{ projectName }}</h2>
|
|
12
|
+
</div>
|
|
13
|
+
<LoginForm />
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts" name="Login">
|
|
20
|
+
import { computed, nextTick, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
21
|
+
import LoginForm from "./components/LoginForm.vue";
|
|
22
|
+
import SwitchDark from "../../components/SwitchDark/index.vue";
|
|
23
|
+
import { useConfigStore } from "../../stores/modules/config";
|
|
24
|
+
|
|
25
|
+
const configStore = useConfigStore();
|
|
26
|
+
const projectName = computed(() => configStore.display.sysName || import.meta.env.VITE_GLOB_APP_TITLE);
|
|
27
|
+
const logoUrl = computed(() => configStore.display.adminLogo);
|
|
28
|
+
const backgroundUrl = computed(() => configStore.display.background);
|
|
29
|
+
|
|
30
|
+
const MAX_LOGO_FONT_SIZE = 42;
|
|
31
|
+
const PREFERRED_MIN_LOGO_FONT_SIZE = 30;
|
|
32
|
+
const MIN_LOGO_FONT_SIZE = 8;
|
|
33
|
+
const LOGO_TEXT_GAP = 16;
|
|
34
|
+
|
|
35
|
+
const loginLogoRef = ref<HTMLElement>();
|
|
36
|
+
const logoIconRef = ref<HTMLImageElement>();
|
|
37
|
+
const logoTextRef = ref<HTMLElement>();
|
|
38
|
+
const logoFontSize = ref(MAX_LOGO_FONT_SIZE);
|
|
39
|
+
const showLogoIcon = ref(true);
|
|
40
|
+
|
|
41
|
+
let logoResizeObserver: ResizeObserver | null = null;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 根据表单头部可用宽度动态缩放标题字号,优先保留文字大小,不够时先隐藏图标。
|
|
45
|
+
*/
|
|
46
|
+
async function updateLogoLayout() {
|
|
47
|
+
await nextTick();
|
|
48
|
+
|
|
49
|
+
const logoTextElement = logoTextRef.value;
|
|
50
|
+
if (!logoTextElement) return;
|
|
51
|
+
|
|
52
|
+
showLogoIcon.value = true;
|
|
53
|
+
await fitLogoText(true, PREFERRED_MIN_LOGO_FONT_SIZE);
|
|
54
|
+
|
|
55
|
+
if (logoTextElement.scrollWidth <= logoTextElement.clientWidth) return;
|
|
56
|
+
|
|
57
|
+
showLogoIcon.value = false;
|
|
58
|
+
await fitLogoText(false, MIN_LOGO_FONT_SIZE);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 在当前图标显示状态下,按可用宽度逐步收缩标题字号。
|
|
63
|
+
*/
|
|
64
|
+
async function fitLogoText(withIcon: boolean, minFontSize: number) {
|
|
65
|
+
await nextTick();
|
|
66
|
+
|
|
67
|
+
const loginLogoElement = loginLogoRef.value;
|
|
68
|
+
const logoIconElement = logoIconRef.value;
|
|
69
|
+
const logoTextElement = logoTextRef.value;
|
|
70
|
+
if (!loginLogoElement || !logoTextElement) return;
|
|
71
|
+
|
|
72
|
+
const iconWidth = withIcon && logoIconElement ? logoIconElement.getBoundingClientRect().width : 0;
|
|
73
|
+
const availableWidth = Math.max(loginLogoElement.clientWidth - iconWidth - (withIcon ? LOGO_TEXT_GAP : 0), 0);
|
|
74
|
+
|
|
75
|
+
let nextFontSize = MAX_LOGO_FONT_SIZE;
|
|
76
|
+
logoFontSize.value = nextFontSize;
|
|
77
|
+
await nextTick();
|
|
78
|
+
|
|
79
|
+
while (nextFontSize > minFontSize && logoTextElement.scrollWidth > availableWidth) {
|
|
80
|
+
nextFontSize -= 1;
|
|
81
|
+
logoFontSize.value = nextFontSize;
|
|
82
|
+
await nextTick();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
onMounted(() => {
|
|
87
|
+
updateLogoLayout();
|
|
88
|
+
logoResizeObserver = new ResizeObserver(() => {
|
|
89
|
+
updateLogoLayout();
|
|
90
|
+
});
|
|
91
|
+
if (loginLogoRef.value) {
|
|
92
|
+
logoResizeObserver.observe(loginLogoRef.value);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
onBeforeUnmount(() => {
|
|
97
|
+
logoResizeObserver?.disconnect();
|
|
98
|
+
logoResizeObserver = null;
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
watch([projectName, logoUrl], () => {
|
|
102
|
+
updateLogoLayout();
|
|
103
|
+
});
|
|
104
|
+
</script>
|
|
105
|
+
|
|
106
|
+
<style scoped lang="scss">
|
|
107
|
+
@use "./index.scss" as *;
|
|
108
|
+
</style>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// noinspection JSUnusedGlobalSymbols
|
|
5
|
+
// Generated by unplugin-auto-import
|
|
6
|
+
// biome-ignore lint: disable
|
|
7
|
+
export {}
|
|
8
|
+
declare global {
|
|
9
|
+
const ArrowDown: typeof import('@element-plus/icons-vue').ArrowDown
|
|
10
|
+
const ArrowRight: typeof import('@element-plus/icons-vue').ArrowRight
|
|
11
|
+
const ArrowUp: typeof import('@element-plus/icons-vue').ArrowUp
|
|
12
|
+
const Camera: typeof import('@element-plus/icons-vue').Camera
|
|
13
|
+
const CircleCheck: typeof import('@element-plus/icons-vue').CircleCheck
|
|
14
|
+
const CircleClose: typeof import('@element-plus/icons-vue').CircleClose
|
|
15
|
+
const CirclePlus: typeof import('@element-plus/icons-vue').CirclePlus
|
|
16
|
+
const Delete: typeof import('@element-plus/icons-vue').Delete
|
|
17
|
+
const Document: typeof import('@element-plus/icons-vue').Document
|
|
18
|
+
const Download: typeof import('@element-plus/icons-vue').Download
|
|
19
|
+
const Edit: typeof import('@element-plus/icons-vue').Edit
|
|
20
|
+
const EditPen: typeof import('@element-plus/icons-vue').EditPen
|
|
21
|
+
const EffectScope: typeof import('vue').EffectScope
|
|
22
|
+
const ElConfigProvider: typeof import('element-plus').ElConfigProvider
|
|
23
|
+
const ElLoading: typeof import('element-plus').ElLoading
|
|
24
|
+
const ElMessage: typeof import('element-plus').ElMessage
|
|
25
|
+
const ElMessageBox: typeof import('element-plus').ElMessageBox
|
|
26
|
+
const ElNotification: typeof import('element-plus').ElNotification
|
|
27
|
+
const ElTable: typeof import('element-plus').ElTable
|
|
28
|
+
const ElTree: typeof import('element-plus').ElTree
|
|
29
|
+
const Expand: typeof import('@element-plus/icons-vue').Expand
|
|
30
|
+
const Female: typeof import('@element-plus/icons-vue').Female
|
|
31
|
+
const Fold: typeof import('@element-plus/icons-vue').Fold
|
|
32
|
+
const Goods: typeof import('@element-plus/icons-vue').Goods
|
|
33
|
+
const InfoFilled: typeof import('@element-plus/icons-vue').InfoFilled
|
|
34
|
+
const List: typeof import('@element-plus/icons-vue').List
|
|
35
|
+
const Male: typeof import('@element-plus/icons-vue').Male
|
|
36
|
+
const Moon: typeof import('@element-plus/icons-vue').Moon
|
|
37
|
+
const Operation: typeof import('@element-plus/icons-vue').Operation
|
|
38
|
+
const Phone: typeof import('@element-plus/icons-vue').Phone
|
|
39
|
+
const Plus: typeof import('@element-plus/icons-vue').Plus
|
|
40
|
+
const Position: typeof import('@element-plus/icons-vue').Position
|
|
41
|
+
const QuestionFilled: typeof import('@element-plus/icons-vue').QuestionFilled
|
|
42
|
+
const Refresh: typeof import('@element-plus/icons-vue').Refresh
|
|
43
|
+
const RefreshLeft: typeof import('@element-plus/icons-vue').RefreshLeft
|
|
44
|
+
const Search: typeof import('@element-plus/icons-vue').Search
|
|
45
|
+
const Sunny: typeof import('@element-plus/icons-vue').Sunny
|
|
46
|
+
const Switch: typeof import('@element-plus/icons-vue').Switch
|
|
47
|
+
const Tickets: typeof import('@element-plus/icons-vue').Tickets
|
|
48
|
+
const Timer: typeof import('@element-plus/icons-vue').Timer
|
|
49
|
+
const User: typeof import('@element-plus/icons-vue').User
|
|
50
|
+
const UserFilled: typeof import('@element-plus/icons-vue').UserFilled
|
|
51
|
+
const Van: typeof import('@element-plus/icons-vue').Van
|
|
52
|
+
const View: typeof import('@element-plus/icons-vue').View
|
|
53
|
+
const Wallet: typeof import('@element-plus/icons-vue').Wallet
|
|
54
|
+
const computed: typeof import('vue').computed
|
|
55
|
+
const createApp: typeof import('vue').createApp
|
|
56
|
+
const customRef: typeof import('vue').customRef
|
|
57
|
+
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
|
|
58
|
+
const defineComponent: typeof import('vue').defineComponent
|
|
59
|
+
const effectScope: typeof import('vue').effectScope
|
|
60
|
+
const formContextKey: typeof import('element-plus').formContextKey
|
|
61
|
+
const formItemContextKey: typeof import('element-plus').formItemContextKey
|
|
62
|
+
const getCurrentInstance: typeof import('vue').getCurrentInstance
|
|
63
|
+
const getCurrentScope: typeof import('vue').getCurrentScope
|
|
64
|
+
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
|
|
65
|
+
const h: typeof import('vue').h
|
|
66
|
+
const inject: typeof import('vue').inject
|
|
67
|
+
const isProxy: typeof import('vue').isProxy
|
|
68
|
+
const isReactive: typeof import('vue').isReactive
|
|
69
|
+
const isReadonly: typeof import('vue').isReadonly
|
|
70
|
+
const isRef: typeof import('vue').isRef
|
|
71
|
+
const isShallow: typeof import('vue').isShallow
|
|
72
|
+
const markRaw: typeof import('vue').markRaw
|
|
73
|
+
const nextTick: typeof import('vue').nextTick
|
|
74
|
+
const onActivated: typeof import('vue').onActivated
|
|
75
|
+
const onBeforeMount: typeof import('vue').onBeforeMount
|
|
76
|
+
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
|
|
77
|
+
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
|
|
78
|
+
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
|
|
79
|
+
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
|
|
80
|
+
const onDeactivated: typeof import('vue').onDeactivated
|
|
81
|
+
const onErrorCaptured: typeof import('vue').onErrorCaptured
|
|
82
|
+
const onMounted: typeof import('vue').onMounted
|
|
83
|
+
const onRenderTracked: typeof import('vue').onRenderTracked
|
|
84
|
+
const onRenderTriggered: typeof import('vue').onRenderTriggered
|
|
85
|
+
const onScopeDispose: typeof import('vue').onScopeDispose
|
|
86
|
+
const onServerPrefetch: typeof import('vue').onServerPrefetch
|
|
87
|
+
const onUnmounted: typeof import('vue').onUnmounted
|
|
88
|
+
const onUpdated: typeof import('vue').onUpdated
|
|
89
|
+
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
|
|
90
|
+
const provide: typeof import('vue').provide
|
|
91
|
+
const reactive: typeof import('vue').reactive
|
|
92
|
+
const readonly: typeof import('vue').readonly
|
|
93
|
+
const ref: typeof import('vue').ref
|
|
94
|
+
const resolveComponent: typeof import('vue').resolveComponent
|
|
95
|
+
const shallowReactive: typeof import('vue').shallowReactive
|
|
96
|
+
const shallowReadonly: typeof import('vue').shallowReadonly
|
|
97
|
+
const shallowRef: typeof import('vue').shallowRef
|
|
98
|
+
const toRaw: typeof import('vue').toRaw
|
|
99
|
+
const toRef: typeof import('vue').toRef
|
|
100
|
+
const toRefs: typeof import('vue').toRefs
|
|
101
|
+
const toValue: typeof import('vue').toValue
|
|
102
|
+
const triggerRef: typeof import('vue').triggerRef
|
|
103
|
+
const unref: typeof import('vue').unref
|
|
104
|
+
const useAttrs: typeof import('vue').useAttrs
|
|
105
|
+
const useCssModule: typeof import('vue').useCssModule
|
|
106
|
+
const useCssVars: typeof import('vue').useCssVars
|
|
107
|
+
const useId: typeof import('vue').useId
|
|
108
|
+
const useLink: typeof import('vue-router').useLink
|
|
109
|
+
const useModel: typeof import('vue').useModel
|
|
110
|
+
const useRoute: typeof import('vue-router').useRoute
|
|
111
|
+
const useRouter: typeof import('vue-router').useRouter
|
|
112
|
+
const useSlots: typeof import('vue').useSlots
|
|
113
|
+
const useTemplateRef: typeof import('vue').useTemplateRef
|
|
114
|
+
const watch: typeof import('vue').watch
|
|
115
|
+
const watchEffect: typeof import('vue').watchEffect
|
|
116
|
+
const watchPostEffect: typeof import('vue').watchPostEffect
|
|
117
|
+
const watchSyncEffect: typeof import('vue').watchSyncEffect
|
|
118
|
+
}
|
|
119
|
+
// for type re-export
|
|
120
|
+
declare global {
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
123
|
+
import('vue')
|
|
124
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
// biome-ignore lint: disable
|
|
4
|
+
// oxlint-disable
|
|
5
|
+
// ------
|
|
6
|
+
// Generated by unplugin-vue-components
|
|
7
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
8
|
+
import { GlobalComponents } from 'vue'
|
|
9
|
+
|
|
10
|
+
export {}
|
|
11
|
+
|
|
12
|
+
/* prettier-ignore */
|
|
13
|
+
declare module 'vue' {
|
|
14
|
+
export interface GlobalComponents {
|
|
15
|
+
ElAlert: typeof import('element-plus/es')['ElAlert']
|
|
16
|
+
ElAside: typeof import('element-plus/es')['ElAside']
|
|
17
|
+
ElAvatar: typeof import('element-plus/es')['ElAvatar']
|
|
18
|
+
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
|
19
|
+
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
|
20
|
+
ElButton: typeof import('element-plus/es')['ElButton']
|
|
21
|
+
ElCard: typeof import('element-plus/es')['ElCard']
|
|
22
|
+
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
23
|
+
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
|
|
24
|
+
ElCol: typeof import('element-plus/es')['ElCol']
|
|
25
|
+
ElCollapse: typeof import('element-plus/es')['ElCollapse']
|
|
26
|
+
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
|
|
27
|
+
ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
|
|
28
|
+
ElContainer: typeof import('element-plus/es')['ElContainer']
|
|
29
|
+
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
|
30
|
+
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
|
|
31
|
+
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
|
|
32
|
+
ElDialog: typeof import('element-plus/es')['ElDialog']
|
|
33
|
+
ElDivider: typeof import('element-plus/es')['ElDivider']
|
|
34
|
+
ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
|
35
|
+
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
|
36
|
+
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
|
37
|
+
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
|
38
|
+
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
|
39
|
+
ElFooter: typeof import('element-plus/es')['ElFooter']
|
|
40
|
+
ElForm: typeof import('element-plus/es')['ElForm']
|
|
41
|
+
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
|
42
|
+
ElHeader: typeof import('element-plus/es')['ElHeader']
|
|
43
|
+
ElIcon: typeof import('element-plus/es')['ElIcon']
|
|
44
|
+
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
|
|
45
|
+
ElInput: typeof import('element-plus/es')['ElInput']
|
|
46
|
+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
|
47
|
+
ElMain: typeof import('element-plus/es')['ElMain']
|
|
48
|
+
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
49
|
+
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
50
|
+
ElOption: typeof import('element-plus/es')['ElOption']
|
|
51
|
+
ElPagination: typeof import('element-plus/es')['ElPagination']
|
|
52
|
+
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
|
53
|
+
ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
54
|
+
ElProgress: typeof import('element-plus/es')['ElProgress']
|
|
55
|
+
ElRadio: typeof import('element-plus/es')['ElRadio']
|
|
56
|
+
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
|
57
|
+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
58
|
+
ElResult: typeof import('element-plus/es')['ElResult']
|
|
59
|
+
ElRow: typeof import('element-plus/es')['ElRow']
|
|
60
|
+
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
|
|
61
|
+
ElSegmented: typeof import('element-plus/es')['ElSegmented']
|
|
62
|
+
ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
63
|
+
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
|
|
64
|
+
ElSpace: typeof import('element-plus/es')['ElSpace']
|
|
65
|
+
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
|
66
|
+
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
67
|
+
ElTable: typeof import('element-plus/es')['ElTable']
|
|
68
|
+
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
|
69
|
+
ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
|
70
|
+
ElTabs: typeof import('element-plus/es')['ElTabs']
|
|
71
|
+
ElTag: typeof import('element-plus/es')['ElTag']
|
|
72
|
+
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
|
73
|
+
ElTransfer: typeof import('element-plus/es')['ElTransfer']
|
|
74
|
+
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
|
|
75
|
+
ElUpload: typeof import('element-plus/es')['ElUpload']
|
|
76
|
+
ElWatermark: typeof import('element-plus/es')['ElWatermark']
|
|
77
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
78
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
79
|
+
}
|
|
80
|
+
export interface GlobalDirectives {
|
|
81
|
+
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// For TSX support
|
|
86
|
+
declare global {
|
|
87
|
+
const ElAlert: typeof import('element-plus/es')['ElAlert']
|
|
88
|
+
const ElAside: typeof import('element-plus/es')['ElAside']
|
|
89
|
+
const ElAvatar: typeof import('element-plus/es')['ElAvatar']
|
|
90
|
+
const ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
|
91
|
+
const ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
|
92
|
+
const ElButton: typeof import('element-plus/es')['ElButton']
|
|
93
|
+
const ElCard: typeof import('element-plus/es')['ElCard']
|
|
94
|
+
const ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
95
|
+
const ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
|
|
96
|
+
const ElCol: typeof import('element-plus/es')['ElCol']
|
|
97
|
+
const ElCollapse: typeof import('element-plus/es')['ElCollapse']
|
|
98
|
+
const ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
|
|
99
|
+
const ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
|
|
100
|
+
const ElContainer: typeof import('element-plus/es')['ElContainer']
|
|
101
|
+
const ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
|
102
|
+
const ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
|
|
103
|
+
const ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
|
|
104
|
+
const ElDialog: typeof import('element-plus/es')['ElDialog']
|
|
105
|
+
const ElDivider: typeof import('element-plus/es')['ElDivider']
|
|
106
|
+
const ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
|
107
|
+
const ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
|
108
|
+
const ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
|
109
|
+
const ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
|
110
|
+
const ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
|
111
|
+
const ElFooter: typeof import('element-plus/es')['ElFooter']
|
|
112
|
+
const ElForm: typeof import('element-plus/es')['ElForm']
|
|
113
|
+
const ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
|
114
|
+
const ElHeader: typeof import('element-plus/es')['ElHeader']
|
|
115
|
+
const ElIcon: typeof import('element-plus/es')['ElIcon']
|
|
116
|
+
const ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
|
|
117
|
+
const ElInput: typeof import('element-plus/es')['ElInput']
|
|
118
|
+
const ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
|
119
|
+
const ElMain: typeof import('element-plus/es')['ElMain']
|
|
120
|
+
const ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
121
|
+
const ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
122
|
+
const ElOption: typeof import('element-plus/es')['ElOption']
|
|
123
|
+
const ElPagination: typeof import('element-plus/es')['ElPagination']
|
|
124
|
+
const ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
|
125
|
+
const ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
126
|
+
const ElProgress: typeof import('element-plus/es')['ElProgress']
|
|
127
|
+
const ElRadio: typeof import('element-plus/es')['ElRadio']
|
|
128
|
+
const ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
|
129
|
+
const ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
130
|
+
const ElResult: typeof import('element-plus/es')['ElResult']
|
|
131
|
+
const ElRow: typeof import('element-plus/es')['ElRow']
|
|
132
|
+
const ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
|
|
133
|
+
const ElSegmented: typeof import('element-plus/es')['ElSegmented']
|
|
134
|
+
const ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
135
|
+
const ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
|
|
136
|
+
const ElSpace: typeof import('element-plus/es')['ElSpace']
|
|
137
|
+
const ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
|
138
|
+
const ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
139
|
+
const ElTable: typeof import('element-plus/es')['ElTable']
|
|
140
|
+
const ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
|
141
|
+
const ElTabPane: typeof import('element-plus/es')['ElTabPane']
|
|
142
|
+
const ElTabs: typeof import('element-plus/es')['ElTabs']
|
|
143
|
+
const ElTag: typeof import('element-plus/es')['ElTag']
|
|
144
|
+
const ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
|
145
|
+
const ElTransfer: typeof import('element-plus/es')['ElTransfer']
|
|
146
|
+
const ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
|
|
147
|
+
const ElUpload: typeof import('element-plus/es')['ElUpload']
|
|
148
|
+
const ElWatermark: typeof import('element-plus/es')['ElWatermark']
|
|
149
|
+
const RouterLink: typeof import('vue-router')['RouterLink']
|
|
150
|
+
const RouterView: typeof import('vue-router')['RouterView']
|
|
151
|
+
}
|