@kevairy/template 0.1.0
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/LICENSE +21 -0
- package/README.md +14 -0
- package/package.json +37 -0
- package/template/.env +22 -0
- package/template/.env.development +13 -0
- package/template/.env.production +10 -0
- package/template/.prettierignore +3 -0
- package/template/.prettierrc +20 -0
- package/template/.stylelintignore +9 -0
- package/template/.stylelintrc.cjs +84 -0
- package/template/LICENSE +21 -0
- package/template/README.md +22 -0
- package/template/_gitignore +19 -0
- package/template/eslint-auto-import.json +324 -0
- package/template/eslint.config.mjs +83 -0
- package/template/index.html +25 -0
- package/template/package.json +79 -0
- package/template/playwright.config.ts +25 -0
- package/template/public/favicon.ico +0 -0
- package/template/src/App.vue +39 -0
- package/template/src/adapters/auth/index.ts +9 -0
- package/template/src/adapters/auth/mock.ts +10 -0
- package/template/src/adapters/auth/types.ts +11 -0
- package/template/src/adapters/navigation/index.ts +13 -0
- package/template/src/adapters/navigation/types.ts +6 -0
- package/template/src/api/auth.ts +23 -0
- package/template/src/assets/images/avatar/avatar.webp +0 -0
- package/template/src/assets/images/avatar/avatar1.webp +0 -0
- package/template/src/assets/images/avatar/avatar10.webp +0 -0
- package/template/src/assets/images/avatar/avatar2.webp +0 -0
- package/template/src/assets/images/avatar/avatar3.webp +0 -0
- package/template/src/assets/images/avatar/avatar4.webp +0 -0
- package/template/src/assets/images/avatar/avatar5.webp +0 -0
- package/template/src/assets/images/avatar/avatar6.webp +0 -0
- package/template/src/assets/images/avatar/avatar7.webp +0 -0
- package/template/src/assets/images/avatar/avatar8.webp +0 -0
- package/template/src/assets/images/avatar/avatar9.webp +0 -0
- package/template/src/assets/images/ceremony/hb.png +0 -0
- package/template/src/assets/images/ceremony/sd.png +0 -0
- package/template/src/assets/images/ceremony/xc.png +0 -0
- package/template/src/assets/images/ceremony/yd.png +0 -0
- package/template/src/assets/images/common/logo.webp +0 -0
- package/template/src/assets/images/draw/draw1.png +0 -0
- package/template/src/assets/images/favicon.ico +0 -0
- package/template/src/assets/images/lock/bg_dark.webp +0 -0
- package/template/src/assets/images/lock/bg_light.webp +0 -0
- package/template/src/assets/images/login/kylin-hero-source.png +0 -0
- package/template/src/assets/images/login/lf_icon2.webp +0 -0
- package/template/src/assets/images/settings/menu_layouts/dual_column.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/horizontal.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/mixed.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/vertical.png +0 -0
- package/template/src/assets/images/settings/menu_styles/dark.png +0 -0
- package/template/src/assets/images/settings/menu_styles/design.png +0 -0
- package/template/src/assets/images/settings/menu_styles/light.png +0 -0
- package/template/src/assets/images/settings/theme_styles/dark.png +0 -0
- package/template/src/assets/images/settings/theme_styles/light.png +0 -0
- package/template/src/assets/images/settings/theme_styles/system.png +0 -0
- package/template/src/assets/images/svg/403.svg +1 -0
- package/template/src/assets/images/svg/404.svg +1 -0
- package/template/src/assets/images/svg/500.svg +5 -0
- package/template/src/assets/images/svg/login_icon.svg +1 -0
- package/template/src/assets/images/user/avatar.webp +0 -0
- package/template/src/assets/images/user/bg.webp +0 -0
- package/template/src/assets/styles/core/app.scss +227 -0
- package/template/src/assets/styles/core/dark.scss +93 -0
- package/template/src/assets/styles/core/el-dark.scss +2 -0
- package/template/src/assets/styles/core/el-light.scss +34 -0
- package/template/src/assets/styles/core/el-ui.scss +519 -0
- package/template/src/assets/styles/core/md.scss +1036 -0
- package/template/src/assets/styles/core/mixin.scss +157 -0
- package/template/src/assets/styles/core/reset.scss +41 -0
- package/template/src/assets/styles/core/router-transition.scss +104 -0
- package/template/src/assets/styles/core/tailwind.css +219 -0
- package/template/src/assets/styles/core/theme-animation.scss +63 -0
- package/template/src/assets/styles/core/theme-change.scss +11 -0
- package/template/src/assets/styles/custom/one-dark-pro.scss +98 -0
- package/template/src/assets/styles/index.scss +23 -0
- package/template/src/assets/svg/loading.ts +32 -0
- package/template/src/bootstrap/initializeApp.ts +30 -0
- package/template/src/components/core/banners/art-basic-banner/index.vue +343 -0
- package/template/src/components/core/banners/art-card-banner/index.vue +114 -0
- package/template/src/components/core/base/art-back-to-top/index.vue +40 -0
- package/template/src/components/core/base/art-logo/index.vue +34 -0
- package/template/src/components/core/base/art-svg-icon/index.vue +24 -0
- package/template/src/components/core/cards/art-bar-chart-card/index.vue +103 -0
- package/template/src/components/core/cards/art-data-list-card/index.vue +74 -0
- package/template/src/components/core/cards/art-donut-chart-card/index.vue +124 -0
- package/template/src/components/core/cards/art-image-card/index.vue +89 -0
- package/template/src/components/core/cards/art-line-chart-card/index.vue +126 -0
- package/template/src/components/core/cards/art-progress-card/index.vue +86 -0
- package/template/src/components/core/cards/art-stats-card/index.vue +67 -0
- package/template/src/components/core/cards/art-timeline-list-card/index.vue +69 -0
- package/template/src/components/core/charts/art-bar-chart/index.vue +203 -0
- package/template/src/components/core/charts/art-dual-bar-compare-chart/index.vue +195 -0
- package/template/src/components/core/charts/art-h-bar-chart/index.vue +208 -0
- package/template/src/components/core/charts/art-k-line-chart/index.vue +152 -0
- package/template/src/components/core/charts/art-line-chart/index.vue +371 -0
- package/template/src/components/core/charts/art-radar-chart/index.vue +105 -0
- package/template/src/components/core/charts/art-ring-chart/index.vue +133 -0
- package/template/src/components/core/charts/art-scatter-chart/index.vue +115 -0
- package/template/src/components/core/feedback/art-page-loading/index.vue +281 -0
- package/template/src/components/core/forms/art-button-more/index.vue +71 -0
- package/template/src/components/core/forms/art-button-table/index.vue +59 -0
- package/template/src/components/core/forms/art-drag-verify/index.vue +430 -0
- package/template/src/components/core/forms/art-excel-export/index.vue +390 -0
- package/template/src/components/core/forms/art-excel-import/index.vue +62 -0
- package/template/src/components/core/forms/art-form/index.vue +507 -0
- package/template/src/components/core/forms/art-wang-editor/index.vue +261 -0
- package/template/src/components/core/forms/art-wang-editor/style.scss +273 -0
- package/template/src/components/core/layouts/art-breadcrumb/index.vue +142 -0
- package/template/src/components/core/layouts/art-chat-window/index.vue +262 -0
- package/template/src/components/core/layouts/art-fast-enter/index.vue +113 -0
- package/template/src/components/core/layouts/art-fireworks-effect/index.vue +633 -0
- package/template/src/components/core/layouts/art-global-component/index.vue +14 -0
- package/template/src/components/core/layouts/art-global-search/index.vue +431 -0
- package/template/src/components/core/layouts/art-header-bar/index.vue +485 -0
- package/template/src/components/core/layouts/art-header-bar/widget/ArtUserMenu.vue +118 -0
- package/template/src/components/core/layouts/art-menus/art-horizontal-menu/index.vue +110 -0
- package/template/src/components/core/layouts/art-menus/art-horizontal-menu/widget/HorizontalSubmenu.vue +106 -0
- package/template/src/components/core/layouts/art-menus/art-mixed-menu/index.vue +279 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/index.vue +354 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/style.scss +251 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/theme.scss +258 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/widget/SidebarSubmenu.vue +190 -0
- package/template/src/components/core/layouts/art-notification/index.vue +456 -0
- package/template/src/components/core/layouts/art-page-content/index.vue +137 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsConfig.ts +248 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsHandlers.ts +167 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsPanel.ts +233 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsState.ts +37 -0
- package/template/src/components/core/layouts/art-settings-panel/index.vue +72 -0
- package/template/src/components/core/layouts/art-settings-panel/style.scss +92 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/BasicSettings.vue +77 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/BoxStyleSettings.vue +38 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ColorSettings.vue +35 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ContainerSettings.vue +33 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/MenuLayoutSettings.vue +31 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/MenuStyleSettings.vue +44 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SectionTitle.vue +17 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingActions.vue +236 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingDrawer.vue +51 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingHeader.vue +18 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingItem.vue +101 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ThemeSettings.vue +28 -0
- package/template/src/components/core/layouts/art-work-tab/index.vue +584 -0
- package/template/src/components/core/media/art-cutter-img/index.vue +350 -0
- package/template/src/components/core/media/art-video-player/index.vue +111 -0
- package/template/src/components/core/others/art-menu-right/index.vue +415 -0
- package/template/src/components/core/others/art-watermark/index.vue +64 -0
- package/template/src/components/core/text-effect/art-count-to/index.vue +310 -0
- package/template/src/components/core/text-effect/art-festival-text-scroll/index.vue +32 -0
- package/template/src/components/core/text-effect/art-text-scroll/index.vue +285 -0
- package/template/src/components/core/theme/theme-svg/index.vue +100 -0
- package/template/src/components/core/views/exception/ArtException.vue +55 -0
- package/template/src/components/core/views/login/AuthTopBar.vue +149 -0
- package/template/src/components/core/views/login/LoginLeftView.vue +602 -0
- package/template/src/components/core/views/result/ArtResultPage.vue +43 -0
- package/template/src/components/core/widget/art-icon-button/index.vue +23 -0
- package/template/src/config/assets/images.ts +61 -0
- package/template/src/config/index.ts +170 -0
- package/template/src/config/modules/component.ts +98 -0
- package/template/src/config/modules/fastEnter.ts +16 -0
- package/template/src/config/modules/festival.ts +51 -0
- package/template/src/config/modules/headerBar.ts +64 -0
- package/template/src/config/setting.ts +109 -0
- package/template/src/directives/core/auth.ts +66 -0
- package/template/src/directives/core/highlight-loader.ts +37 -0
- package/template/src/directives/core/highlight.ts +253 -0
- package/template/src/directives/core/ripple.ts +116 -0
- package/template/src/directives/core/roles.ts +87 -0
- package/template/src/directives/index.ts +14 -0
- package/template/src/enums/appEnum.ts +81 -0
- package/template/src/enums/formEnum.ts +17 -0
- package/template/src/env.d.ts +32 -0
- package/template/src/hooks/core/useAppMode.ts +45 -0
- package/template/src/hooks/core/useAuth.ts +74 -0
- package/template/src/hooks/core/useCeremony.ts +184 -0
- package/template/src/hooks/core/useChart.ts +745 -0
- package/template/src/hooks/core/useCommon.ts +87 -0
- package/template/src/hooks/core/useFastEnter.ts +55 -0
- package/template/src/hooks/core/useHeaderBar.ts +201 -0
- package/template/src/hooks/core/useLayoutHeight.ts +148 -0
- package/template/src/hooks/core/useTableColumns.ts +313 -0
- package/template/src/hooks/core/useTheme.ts +174 -0
- package/template/src/hooks/index.ts +29 -0
- package/template/src/locales/index.ts +123 -0
- package/template/src/locales/langs/en.json +283 -0
- package/template/src/locales/langs/zh.json +283 -0
- package/template/src/main.ts +29 -0
- package/template/src/mock/auth.ts +46 -0
- package/template/src/plugins/echarts.ts +76 -0
- package/template/src/plugins/index.ts +6 -0
- package/template/src/router/core/ComponentLoader.ts +82 -0
- package/template/src/router/core/IframeRouteManager.ts +78 -0
- package/template/src/router/core/MenuProcessor.ts +280 -0
- package/template/src/router/core/RoutePermissionValidator.ts +161 -0
- package/template/src/router/core/RouteRegistry.ts +90 -0
- package/template/src/router/core/RouteTransformer.ts +132 -0
- package/template/src/router/core/RouteValidator.ts +187 -0
- package/template/src/router/core/index.ts +14 -0
- package/template/src/router/guards/afterEach.ts +34 -0
- package/template/src/router/guards/beforeEach.ts +442 -0
- package/template/src/router/index.ts +24 -0
- package/template/src/router/modules/dashboard.ts +23 -0
- package/template/src/router/modules/examples.ts +109 -0
- package/template/src/router/modules/exception.ts +46 -0
- package/template/src/router/modules/index.ts +12 -0
- package/template/src/router/modules/result.ts +32 -0
- package/template/src/router/routes/asyncRoutes.ts +9 -0
- package/template/src/router/routes/staticRoutes.ts +60 -0
- package/template/src/router/routesAlias.ts +8 -0
- package/template/src/services/auth.ts +15 -0
- package/template/src/store/index.ts +52 -0
- package/template/src/store/modules/menu.ts +109 -0
- package/template/src/store/modules/setting.ts +450 -0
- package/template/src/store/modules/user.ts +218 -0
- package/template/src/store/modules/worktab.ts +568 -0
- package/template/src/types/api/api.d.ts +86 -0
- package/template/src/types/common/index.ts +95 -0
- package/template/src/types/common/response.ts +32 -0
- package/template/src/types/component/chart.ts +324 -0
- package/template/src/types/component/index.ts +86 -0
- package/template/src/types/config/index.ts +253 -0
- package/template/src/types/directive/directive.d.ts +15 -0
- package/template/src/types/import/auto-imports.d.ts +319 -0
- package/template/src/types/import/components.d.ts +126 -0
- package/template/src/types/index.ts +22 -0
- package/template/src/types/router/index.ts +80 -0
- package/template/src/types/store/index.ts +157 -0
- package/template/src/utils/form/index.ts +9 -0
- package/template/src/utils/form/validator.ts +316 -0
- package/template/src/utils/http/contract.ts +39 -0
- package/template/src/utils/http/error.ts +182 -0
- package/template/src/utils/http/index.ts +226 -0
- package/template/src/utils/http/status.ts +18 -0
- package/template/src/utils/index.ts +31 -0
- package/template/src/utils/navigation/index.ts +10 -0
- package/template/src/utils/navigation/jump.ts +68 -0
- package/template/src/utils/navigation/route.ts +85 -0
- package/template/src/utils/navigation/worktab.ts +67 -0
- package/template/src/utils/router.ts +63 -0
- package/template/src/utils/socket/index.ts +423 -0
- package/template/src/utils/storage/index.ts +7 -0
- package/template/src/utils/storage/storage-config.ts +127 -0
- package/template/src/utils/storage/storage-key-manager.ts +97 -0
- package/template/src/utils/storage/storage.ts +250 -0
- package/template/src/utils/sys/console.ts +9 -0
- package/template/src/utils/sys/error-handle.ts +143 -0
- package/template/src/utils/sys/index.ts +2 -0
- package/template/src/utils/sys/mittBus.ts +61 -0
- package/template/src/utils/ui/animation.ts +80 -0
- package/template/src/utils/ui/colors.ts +273 -0
- package/template/src/utils/ui/emojo.ts +24 -0
- package/template/src/utils/ui/iconify-loader.ts +31 -0
- package/template/src/utils/ui/index.ts +11 -0
- package/template/src/utils/ui/loading.ts +158 -0
- package/template/src/utils/ui/tabs.ts +60 -0
- package/template/src/views/auth/forget-password/index.vue +62 -0
- package/template/src/views/auth/login/index.vue +166 -0
- package/template/src/views/auth/login/style.css +38 -0
- package/template/src/views/auth/register/index.vue +240 -0
- package/template/src/views/dashboard/console/index.vue +173 -0
- package/template/src/views/examples/analytics/index.vue +389 -0
- package/template/src/views/examples/complex-form/index.vue +395 -0
- package/template/src/views/examples/crud-workspace/index.vue +412 -0
- package/template/src/views/examples/navigation/detail/index.vue +151 -0
- package/template/src/views/examples/navigation/state/index.vue +226 -0
- package/template/src/views/examples/overview/index.vue +309 -0
- package/template/src/views/examples/permissions/index.vue +303 -0
- package/template/src/views/examples/search-table/index.vue +182 -0
- package/template/src/views/examples/search-table/search.config.ts +81 -0
- package/template/src/views/examples/search-table/service.ts +116 -0
- package/template/src/views/examples/search-table/table.config.ts +37 -0
- package/template/src/views/exception/403/index.vue +16 -0
- package/template/src/views/exception/404/index.vue +16 -0
- package/template/src/views/exception/500/index.vue +16 -0
- package/template/src/views/index/index.vue +29 -0
- package/template/src/views/index/style.scss +93 -0
- package/template/src/views/outside/Iframe.vue +42 -0
- package/template/src/views/result/fail/index.vue +28 -0
- package/template/src/views/result/success/index.vue +21 -0
- package/template/tests/e2e/auth.spec.ts +14 -0
- package/template/tests/e2e/search-table.spec.ts +154 -0
- package/template/tests/unit/adapters/auth.spec.ts +38 -0
- package/template/tests/unit/config/app-config.spec.ts +17 -0
- package/template/tests/unit/directives/highlight.spec.ts +20 -0
- package/template/tests/unit/http/contract.spec.ts +47 -0
- package/template/tests/unit/mock/search-table.spec.ts +62 -0
- package/template/tests/unit/router/examples.spec.ts +52 -0
- package/template/tsconfig.json +28 -0
- package/template/vite.config.ts +181 -0
- package/template/vitest.config.ts +27 -0
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
|
|
9
|
+
export {}
|
|
10
|
+
|
|
11
|
+
/* prettier-ignore */
|
|
12
|
+
declare module 'vue' {
|
|
13
|
+
export interface GlobalComponents {
|
|
14
|
+
ArtBackToTop: typeof import('./../../components/core/base/art-back-to-top/index.vue')['default']
|
|
15
|
+
ArtBarChart: typeof import('./../../components/core/charts/art-bar-chart/index.vue')['default']
|
|
16
|
+
ArtBarChartCard: typeof import('./../../components/core/cards/art-bar-chart-card/index.vue')['default']
|
|
17
|
+
ArtBasicBanner: typeof import('./../../components/core/banners/art-basic-banner/index.vue')['default']
|
|
18
|
+
ArtBreadcrumb: typeof import('./../../components/core/layouts/art-breadcrumb/index.vue')['default']
|
|
19
|
+
ArtButtonMore: typeof import('./../../components/core/forms/art-button-more/index.vue')['default']
|
|
20
|
+
ArtButtonTable: typeof import('./../../components/core/forms/art-button-table/index.vue')['default']
|
|
21
|
+
ArtCardBanner: typeof import('./../../components/core/banners/art-card-banner/index.vue')['default']
|
|
22
|
+
ArtChatWindow: typeof import('./../../components/core/layouts/art-chat-window/index.vue')['default']
|
|
23
|
+
ArtCountTo: typeof import('./../../components/core/text-effect/art-count-to/index.vue')['default']
|
|
24
|
+
ArtCutterImg: typeof import('./../../components/core/media/art-cutter-img/index.vue')['default']
|
|
25
|
+
ArtDataListCard: typeof import('./../../components/core/cards/art-data-list-card/index.vue')['default']
|
|
26
|
+
ArtDonutChartCard: typeof import('./../../components/core/cards/art-donut-chart-card/index.vue')['default']
|
|
27
|
+
ArtDragVerify: typeof import('./../../components/core/forms/art-drag-verify/index.vue')['default']
|
|
28
|
+
ArtDualBarCompareChart: typeof import('./../../components/core/charts/art-dual-bar-compare-chart/index.vue')['default']
|
|
29
|
+
ArtExcelExport: typeof import('./../../components/core/forms/art-excel-export/index.vue')['default']
|
|
30
|
+
ArtExcelImport: typeof import('./../../components/core/forms/art-excel-import/index.vue')['default']
|
|
31
|
+
ArtException: typeof import('./../../components/core/views/exception/ArtException.vue')['default']
|
|
32
|
+
ArtFastEnter: typeof import('./../../components/core/layouts/art-fast-enter/index.vue')['default']
|
|
33
|
+
ArtFestivalTextScroll: typeof import('./../../components/core/text-effect/art-festival-text-scroll/index.vue')['default']
|
|
34
|
+
ArtFireworksEffect: typeof import('./../../components/core/layouts/art-fireworks-effect/index.vue')['default']
|
|
35
|
+
ArtForm: typeof import('./../../components/core/forms/art-form/index.vue')['default']
|
|
36
|
+
ArtGlobalComponent: typeof import('./../../components/core/layouts/art-global-component/index.vue')['default']
|
|
37
|
+
ArtGlobalSearch: typeof import('./../../components/core/layouts/art-global-search/index.vue')['default']
|
|
38
|
+
ArtHBarChart: typeof import('./../../components/core/charts/art-h-bar-chart/index.vue')['default']
|
|
39
|
+
ArtHeaderBar: typeof import('./../../components/core/layouts/art-header-bar/index.vue')['default']
|
|
40
|
+
ArtHorizontalMenu: typeof import('./../../components/core/layouts/art-menus/art-horizontal-menu/index.vue')['default']
|
|
41
|
+
ArtIconButton: typeof import('./../../components/core/widget/art-icon-button/index.vue')['default']
|
|
42
|
+
ArtImageCard: typeof import('./../../components/core/cards/art-image-card/index.vue')['default']
|
|
43
|
+
ArtKLineChart: typeof import('./../../components/core/charts/art-k-line-chart/index.vue')['default']
|
|
44
|
+
ArtLineChart: typeof import('./../../components/core/charts/art-line-chart/index.vue')['default']
|
|
45
|
+
ArtLineChartCard: typeof import('./../../components/core/cards/art-line-chart-card/index.vue')['default']
|
|
46
|
+
ArtLogo: typeof import('./../../components/core/base/art-logo/index.vue')['default']
|
|
47
|
+
ArtMenuRight: typeof import('./../../components/core/others/art-menu-right/index.vue')['default']
|
|
48
|
+
ArtMixedMenu: typeof import('./../../components/core/layouts/art-menus/art-mixed-menu/index.vue')['default']
|
|
49
|
+
ArtNotification: typeof import('./../../components/core/layouts/art-notification/index.vue')['default']
|
|
50
|
+
ArtPageContent: typeof import('./../../components/core/layouts/art-page-content/index.vue')['default']
|
|
51
|
+
ArtPageLoading: typeof import('./../../components/core/feedback/art-page-loading/index.vue')['default']
|
|
52
|
+
ArtProgressCard: typeof import('./../../components/core/cards/art-progress-card/index.vue')['default']
|
|
53
|
+
ArtRadarChart: typeof import('./../../components/core/charts/art-radar-chart/index.vue')['default']
|
|
54
|
+
ArtResultPage: typeof import('./../../components/core/views/result/ArtResultPage.vue')['default']
|
|
55
|
+
ArtRingChart: typeof import('./../../components/core/charts/art-ring-chart/index.vue')['default']
|
|
56
|
+
ArtScatterChart: typeof import('./../../components/core/charts/art-scatter-chart/index.vue')['default']
|
|
57
|
+
ArtSettingsPanel: typeof import('./../../components/core/layouts/art-settings-panel/index.vue')['default']
|
|
58
|
+
ArtSidebarMenu: typeof import('./../../components/core/layouts/art-menus/art-sidebar-menu/index.vue')['default']
|
|
59
|
+
ArtStatsCard: typeof import('./../../components/core/cards/art-stats-card/index.vue')['default']
|
|
60
|
+
ArtSvgIcon: typeof import('./../../components/core/base/art-svg-icon/index.vue')['default']
|
|
61
|
+
ArtTextScroll: typeof import('./../../components/core/text-effect/art-text-scroll/index.vue')['default']
|
|
62
|
+
ArtTimelineListCard: typeof import('./../../components/core/cards/art-timeline-list-card/index.vue')['default']
|
|
63
|
+
ArtUserMenu: typeof import('./../../components/core/layouts/art-header-bar/widget/ArtUserMenu.vue')['default']
|
|
64
|
+
ArtVideoPlayer: typeof import('./../../components/core/media/art-video-player/index.vue')['default']
|
|
65
|
+
ArtWangEditor: typeof import('./../../components/core/forms/art-wang-editor/index.vue')['default']
|
|
66
|
+
ArtWatermark: typeof import('./../../components/core/others/art-watermark/index.vue')['default']
|
|
67
|
+
ArtWorkTab: typeof import('./../../components/core/layouts/art-work-tab/index.vue')['default']
|
|
68
|
+
AuthTopBar: typeof import('./../../components/core/views/login/AuthTopBar.vue')['default']
|
|
69
|
+
BasicSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/BasicSettings.vue')['default']
|
|
70
|
+
BoxStyleSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/BoxStyleSettings.vue')['default']
|
|
71
|
+
ColorSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/ColorSettings.vue')['default']
|
|
72
|
+
ContainerSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/ContainerSettings.vue')['default']
|
|
73
|
+
ElAlert: typeof import('element-plus/es')['ElAlert']
|
|
74
|
+
ElAvatar: typeof import('element-plus/es')['ElAvatar']
|
|
75
|
+
ElButton: typeof import('element-plus/es')['ElButton']
|
|
76
|
+
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
77
|
+
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
|
78
|
+
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
|
|
79
|
+
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
|
|
80
|
+
ElDialog: typeof import('element-plus/es')['ElDialog']
|
|
81
|
+
ElDivider: typeof import('element-plus/es')['ElDivider']
|
|
82
|
+
ElDrawer: typeof import('element-plus/es')['ElDrawer']
|
|
83
|
+
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
|
84
|
+
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
|
85
|
+
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
|
86
|
+
ElForm: typeof import('element-plus/es')['ElForm']
|
|
87
|
+
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
|
88
|
+
ElIcon: typeof import('element-plus/es')['ElIcon']
|
|
89
|
+
ElInput: typeof import('element-plus/es')['ElInput']
|
|
90
|
+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
|
91
|
+
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
92
|
+
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
93
|
+
ElOption: typeof import('element-plus/es')['ElOption']
|
|
94
|
+
ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
95
|
+
ElProgress: typeof import('element-plus/es')['ElProgress']
|
|
96
|
+
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
|
97
|
+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
98
|
+
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
|
|
99
|
+
ElSegmented: typeof import('element-plus/es')['ElSegmented']
|
|
100
|
+
ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
101
|
+
ElStep: typeof import('element-plus/es')['ElStep']
|
|
102
|
+
ElSteps: typeof import('element-plus/es')['ElSteps']
|
|
103
|
+
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
|
104
|
+
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
105
|
+
ElTag: typeof import('element-plus/es')['ElTag']
|
|
106
|
+
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
|
107
|
+
ElWatermark: typeof import('element-plus/es')['ElWatermark']
|
|
108
|
+
HorizontalSubmenu: typeof import('./../../components/core/layouts/art-menus/art-horizontal-menu/widget/HorizontalSubmenu.vue')['default']
|
|
109
|
+
LoginLeftView: typeof import('./../../components/core/views/login/LoginLeftView.vue')['default']
|
|
110
|
+
MenuLayoutSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/MenuLayoutSettings.vue')['default']
|
|
111
|
+
MenuStyleSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/MenuStyleSettings.vue')['default']
|
|
112
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
113
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
114
|
+
SectionTitle: typeof import('./../../components/core/layouts/art-settings-panel/widget/SectionTitle.vue')['default']
|
|
115
|
+
SettingActions: typeof import('./../../components/core/layouts/art-settings-panel/widget/SettingActions.vue')['default']
|
|
116
|
+
SettingDrawer: typeof import('./../../components/core/layouts/art-settings-panel/widget/SettingDrawer.vue')['default']
|
|
117
|
+
SettingHeader: typeof import('./../../components/core/layouts/art-settings-panel/widget/SettingHeader.vue')['default']
|
|
118
|
+
SettingItem: typeof import('./../../components/core/layouts/art-settings-panel/widget/SettingItem.vue')['default']
|
|
119
|
+
SidebarSubmenu: typeof import('./../../components/core/layouts/art-menus/art-sidebar-menu/widget/SidebarSubmenu.vue')['default']
|
|
120
|
+
ThemeSettings: typeof import('./../../components/core/layouts/art-settings-panel/widget/ThemeSettings.vue')['default']
|
|
121
|
+
ThemeSvg: typeof import('./../../components/core/theme/theme-svg/index.vue')['default']
|
|
122
|
+
}
|
|
123
|
+
export interface GlobalDirectives {
|
|
124
|
+
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 类型定义统一导出模块
|
|
3
|
+
* 提供全局类型定义的统一导出入口
|
|
4
|
+
*
|
|
5
|
+
* @module types/index
|
|
6
|
+
* @author Art Design Pro Team
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/** 通用类型定义(基础类型、工具类型等) */
|
|
10
|
+
export * from './common'
|
|
11
|
+
|
|
12
|
+
/** 组件相关类型定义 */
|
|
13
|
+
export * from './component'
|
|
14
|
+
|
|
15
|
+
/** 状态管理相关类型定义 */
|
|
16
|
+
export * from './store'
|
|
17
|
+
|
|
18
|
+
/** 路由相关类型定义 */
|
|
19
|
+
export * from './router'
|
|
20
|
+
|
|
21
|
+
/** 配置相关类型定义 */
|
|
22
|
+
export * from './config'
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 路由类型定义模块
|
|
3
|
+
*
|
|
4
|
+
* 提供路由相关的类型定义
|
|
5
|
+
*
|
|
6
|
+
* ## 主要功能
|
|
7
|
+
*
|
|
8
|
+
* - 路由元数据类型(标题、图标、权限等)
|
|
9
|
+
* - 应用路由记录类型
|
|
10
|
+
* - 路由配置扩展
|
|
11
|
+
*
|
|
12
|
+
* ## 使用场景
|
|
13
|
+
*
|
|
14
|
+
* - 路由配置类型约束
|
|
15
|
+
* - 路由元数据定义
|
|
16
|
+
* - 菜单生成
|
|
17
|
+
* - 权限控制
|
|
18
|
+
*
|
|
19
|
+
* @module types/router/index
|
|
20
|
+
* @author Art Design Pro Team
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import { RouteRecordRaw } from 'vue-router'
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 路由元数据接口
|
|
27
|
+
* 定义路由的各种配置属性
|
|
28
|
+
*/
|
|
29
|
+
export interface RouteMeta extends Record<string | number | symbol, unknown> {
|
|
30
|
+
/** 路由标题 */
|
|
31
|
+
title: string
|
|
32
|
+
/** 路由图标 */
|
|
33
|
+
icon?: string
|
|
34
|
+
/** 是否显示徽章 */
|
|
35
|
+
showBadge?: boolean
|
|
36
|
+
/** 文本徽章 */
|
|
37
|
+
showTextBadge?: string
|
|
38
|
+
/** 是否在菜单中隐藏 */
|
|
39
|
+
isHide?: boolean
|
|
40
|
+
/** 是否在标签页中隐藏 */
|
|
41
|
+
isHideTab?: boolean
|
|
42
|
+
/** 外部链接 */
|
|
43
|
+
link?: string
|
|
44
|
+
/** 是否为iframe */
|
|
45
|
+
isIframe?: boolean
|
|
46
|
+
/** 是否缓存 */
|
|
47
|
+
keepAlive?: boolean
|
|
48
|
+
/** 操作权限 */
|
|
49
|
+
authList?: Array<{
|
|
50
|
+
title: string
|
|
51
|
+
authMark: string
|
|
52
|
+
}>
|
|
53
|
+
/** 是否为一级菜单 */
|
|
54
|
+
isFirstLevel?: boolean
|
|
55
|
+
/** 角色权限 */
|
|
56
|
+
roles?: string[]
|
|
57
|
+
/** 是否固定标签页 */
|
|
58
|
+
fixedTab?: boolean
|
|
59
|
+
/** 激活菜单路径 */
|
|
60
|
+
activePath?: string
|
|
61
|
+
/** 是否为全屏页面 */
|
|
62
|
+
isFullPage?: boolean
|
|
63
|
+
/** 是否为权限按钮行 */
|
|
64
|
+
isAuthButton?: boolean
|
|
65
|
+
/** 权限标识 */
|
|
66
|
+
authMark?: string
|
|
67
|
+
/** 父级路径 */
|
|
68
|
+
parentPath?: string
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 应用路由记录接口
|
|
73
|
+
* 扩展 Vue Router 的路由记录类型
|
|
74
|
+
*/
|
|
75
|
+
export interface AppRouteRecord extends Omit<RouteRecordRaw, 'meta' | 'children' | 'component'> {
|
|
76
|
+
id?: number
|
|
77
|
+
meta: RouteMeta
|
|
78
|
+
children?: AppRouteRecord[]
|
|
79
|
+
component?: string | (() => Promise<any>)
|
|
80
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Store 状态类型定义模块
|
|
3
|
+
*
|
|
4
|
+
* 提供 Pinia Store 的状态类型定义
|
|
5
|
+
*
|
|
6
|
+
* ## 主要功能
|
|
7
|
+
*
|
|
8
|
+
* - 系统主题类型
|
|
9
|
+
* - 菜单主题类型
|
|
10
|
+
* - 设置状态类型
|
|
11
|
+
* - 工作标签页类型
|
|
12
|
+
* - 用户状态类型
|
|
13
|
+
* - 菜单状态类型
|
|
14
|
+
* - 根状态类型
|
|
15
|
+
*
|
|
16
|
+
* ## 使用场景
|
|
17
|
+
*
|
|
18
|
+
* - Store 状态类型约束
|
|
19
|
+
* - 状态数据结构定义
|
|
20
|
+
* - 类型提示和自动补全
|
|
21
|
+
*
|
|
22
|
+
* @module types/store/index
|
|
23
|
+
* @author Art Design Pro Team
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import { MenuThemeEnum, SystemThemeEnum } from '@/enums/appEnum'
|
|
27
|
+
import { LocationQueryRaw } from 'vue-router'
|
|
28
|
+
|
|
29
|
+
// 系统主题样式(light | dark)
|
|
30
|
+
export interface SystemThemeType {
|
|
31
|
+
/** 主题类名 */
|
|
32
|
+
className: string
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// 定义包含多个主题的类型
|
|
36
|
+
export type SystemThemeTypes = {
|
|
37
|
+
[key in Exclude<SystemThemeEnum, SystemThemeEnum.AUTO>]: SystemThemeType
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 菜单主题样式
|
|
41
|
+
export interface MenuThemeType {
|
|
42
|
+
/** 主题类型 */
|
|
43
|
+
theme: MenuThemeEnum
|
|
44
|
+
/** 背景颜色 */
|
|
45
|
+
background: string
|
|
46
|
+
/** 系统名称颜色 */
|
|
47
|
+
systemNameColor: string
|
|
48
|
+
/** 文本颜色 */
|
|
49
|
+
textColor: string
|
|
50
|
+
/** 图标颜色 */
|
|
51
|
+
iconColor: string
|
|
52
|
+
/** 背景图片 */
|
|
53
|
+
img?: string
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 设置中心
|
|
57
|
+
export interface SettingState {
|
|
58
|
+
/** 主题 */
|
|
59
|
+
theme: string
|
|
60
|
+
/** 是否只保持一个子菜单的展开 */
|
|
61
|
+
uniqueOpened: boolean
|
|
62
|
+
/** 是否显示菜单按钮 */
|
|
63
|
+
menuButton: boolean
|
|
64
|
+
/** 是否显示刷新按钮 */
|
|
65
|
+
showRefreshButton: boolean
|
|
66
|
+
/** 是否显示面包屑 */
|
|
67
|
+
showCrumbs: boolean
|
|
68
|
+
/** 是否自动关闭 */
|
|
69
|
+
autoClose: boolean
|
|
70
|
+
/** 是否显示工作标签页 */
|
|
71
|
+
showWorkTab: boolean
|
|
72
|
+
/** 是否显示语言切换 */
|
|
73
|
+
showLanguage: boolean
|
|
74
|
+
/** 是否显示进度条 */
|
|
75
|
+
showNprogress: boolean
|
|
76
|
+
/** 主题模式 */
|
|
77
|
+
themeModel: string
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// 多标签
|
|
81
|
+
export interface WorkTab {
|
|
82
|
+
/** 标签标题 */
|
|
83
|
+
title: string
|
|
84
|
+
/** 自定义标题 */
|
|
85
|
+
customTitle?: string
|
|
86
|
+
/** 路由路径 */
|
|
87
|
+
path: string
|
|
88
|
+
/** 路由名称 */
|
|
89
|
+
name: string
|
|
90
|
+
/** 是否缓存 */
|
|
91
|
+
keepAlive: boolean
|
|
92
|
+
/** 是否固定标签 */
|
|
93
|
+
fixedTab?: boolean
|
|
94
|
+
/** 路由参数 */
|
|
95
|
+
params?: object
|
|
96
|
+
/** 路由查询参数 */
|
|
97
|
+
query?: LocationQueryRaw
|
|
98
|
+
/** 图标 */
|
|
99
|
+
icon?: string
|
|
100
|
+
/** 是否激活 */
|
|
101
|
+
isActive?: boolean
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// 用户Store状态
|
|
105
|
+
export interface UserState {
|
|
106
|
+
/** 用户信息 */
|
|
107
|
+
userInfo: Api.Auth.UserInfo | null
|
|
108
|
+
/** 认证令牌 */
|
|
109
|
+
token: string | null
|
|
110
|
+
/** 用户角色列表 */
|
|
111
|
+
roles: string[]
|
|
112
|
+
/** 用户权限列表 */
|
|
113
|
+
permissions: string[]
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// 设置Store状态
|
|
117
|
+
export interface SettingStoreState extends SettingState {
|
|
118
|
+
// 额外的设置状态
|
|
119
|
+
/** 菜单是否折叠 */
|
|
120
|
+
collapsed: boolean
|
|
121
|
+
/** 设备类型 */
|
|
122
|
+
device: 'desktop' | 'mobile'
|
|
123
|
+
/** 当前语言 */
|
|
124
|
+
language: string
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// 工作标签页Store状态
|
|
128
|
+
export interface WorkTabState {
|
|
129
|
+
/** 标签页列表 */
|
|
130
|
+
tabs: WorkTab[]
|
|
131
|
+
/** 当前激活的标签页 */
|
|
132
|
+
activeTab: string
|
|
133
|
+
/** 缓存的标签页列表 */
|
|
134
|
+
cachedTabs: string[]
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// 菜单Store状态
|
|
138
|
+
export interface MenuState {
|
|
139
|
+
/** 菜单列表 */
|
|
140
|
+
menuList: any[]
|
|
141
|
+
/** 菜单是否已加载 */
|
|
142
|
+
isLoaded: boolean
|
|
143
|
+
/** 菜单是否折叠 */
|
|
144
|
+
collapsed: boolean
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// 根Store状态类型
|
|
148
|
+
export interface RootState {
|
|
149
|
+
/** 用户状态 */
|
|
150
|
+
user: UserState
|
|
151
|
+
/** 设置状态 */
|
|
152
|
+
setting: SettingStoreState
|
|
153
|
+
/** 工作标签页状态 */
|
|
154
|
+
workTab: WorkTabState
|
|
155
|
+
/** 菜单状态 */
|
|
156
|
+
menu: MenuState
|
|
157
|
+
}
|