@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,253 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 配置类型定义模块
|
|
3
|
+
*
|
|
4
|
+
* 提供系统配置相关的类型定义
|
|
5
|
+
*
|
|
6
|
+
* ## 主要功能
|
|
7
|
+
*
|
|
8
|
+
* - 主题设置类型
|
|
9
|
+
* - 菜单布局类型
|
|
10
|
+
* - 节日配置类型
|
|
11
|
+
* - 系统基础配置类型
|
|
12
|
+
* - 快速入口配置类型
|
|
13
|
+
* - 顶部栏功能配置类型
|
|
14
|
+
* - 环境配置类型
|
|
15
|
+
* - 应用配置类型
|
|
16
|
+
*
|
|
17
|
+
* ## 使用场景
|
|
18
|
+
*
|
|
19
|
+
* - 系统配置文件类型约束
|
|
20
|
+
* - 配置项类型定义
|
|
21
|
+
* - 配置数据验证
|
|
22
|
+
*
|
|
23
|
+
* @module types/config/index
|
|
24
|
+
* @author Art Design Pro Team
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
import { MenuTypeEnum, SystemThemeEnum } from '@/enums/appEnum'
|
|
28
|
+
import { MenuThemeType, SystemThemeTypes } from '@/types/store'
|
|
29
|
+
|
|
30
|
+
// 主题设置
|
|
31
|
+
export interface ThemeSetting {
|
|
32
|
+
/** 主题名称 */
|
|
33
|
+
name: string
|
|
34
|
+
/** 系统主题类型 */
|
|
35
|
+
theme: SystemThemeEnum
|
|
36
|
+
/** 主题颜色数组 */
|
|
37
|
+
color: string[]
|
|
38
|
+
/** 左侧线条颜色 */
|
|
39
|
+
leftLineColor: string
|
|
40
|
+
/** 右侧线条颜色 */
|
|
41
|
+
rightLineColor: string
|
|
42
|
+
/** 主题图片 */
|
|
43
|
+
img: string
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// 菜单布局
|
|
47
|
+
export interface MenuLayout {
|
|
48
|
+
/** 布局名称 */
|
|
49
|
+
name: string
|
|
50
|
+
/** 菜单类型值 */
|
|
51
|
+
value: MenuTypeEnum
|
|
52
|
+
/** 布局预览图 */
|
|
53
|
+
img: string
|
|
54
|
+
/** 布局描述 */
|
|
55
|
+
description?: string
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// 节日配置
|
|
59
|
+
export interface FestivalConfig {
|
|
60
|
+
/** 节日日期(单日)或开始日期(日期范围) */
|
|
61
|
+
date: string
|
|
62
|
+
/** 节日结束日期(可选,用于跨日期节日) */
|
|
63
|
+
endDate?: string
|
|
64
|
+
/** 节日名称 */
|
|
65
|
+
name: string
|
|
66
|
+
/** 烟花图片 */
|
|
67
|
+
image: string
|
|
68
|
+
/** 滚动文本 */
|
|
69
|
+
scrollText: string
|
|
70
|
+
/** 是否激活 */
|
|
71
|
+
isActive?: boolean
|
|
72
|
+
/** 烟花播放次数(可选,默认为 3 次) */
|
|
73
|
+
count?: number
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// 系统基础配置
|
|
77
|
+
export interface SystemBasicConfig {
|
|
78
|
+
// 系统名称
|
|
79
|
+
name: string
|
|
80
|
+
// 系统描述
|
|
81
|
+
description?: string
|
|
82
|
+
// 系统logo
|
|
83
|
+
logo: string
|
|
84
|
+
// 暗色模式系统logo
|
|
85
|
+
logoDark?: string
|
|
86
|
+
// 系统favicon
|
|
87
|
+
favicon: string
|
|
88
|
+
// 版权信息
|
|
89
|
+
copyright: string
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface AppNavigationConfig {
|
|
93
|
+
homePath: string
|
|
94
|
+
loginRouteName: string
|
|
95
|
+
titleTemplate: string
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface AppFeatureConfig {
|
|
99
|
+
menuButton: boolean
|
|
100
|
+
refreshButton: boolean
|
|
101
|
+
breadcrumb: boolean
|
|
102
|
+
workTabs: boolean
|
|
103
|
+
fullscreen: boolean
|
|
104
|
+
settings: boolean
|
|
105
|
+
themeToggle: boolean
|
|
106
|
+
language: boolean
|
|
107
|
+
fastEnter: boolean
|
|
108
|
+
globalSearch: boolean
|
|
109
|
+
notification: boolean
|
|
110
|
+
chat: boolean
|
|
111
|
+
watermark: boolean
|
|
112
|
+
festivalEffects: boolean
|
|
113
|
+
examples: boolean
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface AppStorageConfig {
|
|
117
|
+
namespace: string
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface AppAssetConfig {
|
|
121
|
+
defaultAvatar: string
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface AppLinkConfig {
|
|
125
|
+
documentation?: string
|
|
126
|
+
support?: string
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// 快速入口基础项
|
|
130
|
+
export interface FastEnterBaseItem {
|
|
131
|
+
/** 名称 */
|
|
132
|
+
name: string
|
|
133
|
+
/** 是否启用 */
|
|
134
|
+
enabled?: boolean
|
|
135
|
+
/** 排序权重 */
|
|
136
|
+
order?: number
|
|
137
|
+
/** 路由名称 */
|
|
138
|
+
routeName?: string
|
|
139
|
+
/** 外部链接 */
|
|
140
|
+
link?: string
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// 快速入口应用项
|
|
144
|
+
export interface FastEnterApplication extends FastEnterBaseItem {
|
|
145
|
+
/** 应用描述 */
|
|
146
|
+
description: string
|
|
147
|
+
/** 图标代码 */
|
|
148
|
+
icon: string
|
|
149
|
+
/** 图标颜色 */
|
|
150
|
+
iconColor: string
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// 快速链接项
|
|
154
|
+
export type FastEnterQuickLink = FastEnterBaseItem
|
|
155
|
+
|
|
156
|
+
// 快速入口配置
|
|
157
|
+
export interface FastEnterConfig {
|
|
158
|
+
/** 应用列表 */
|
|
159
|
+
applications: FastEnterApplication[]
|
|
160
|
+
/** 快速链接 */
|
|
161
|
+
quickLinks: FastEnterQuickLink[]
|
|
162
|
+
/** 显示条件(屏幕宽度) */
|
|
163
|
+
minWidth?: number
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// 系统配置
|
|
167
|
+
export interface SystemConfig {
|
|
168
|
+
// 系统基础信息
|
|
169
|
+
systemInfo: SystemBasicConfig
|
|
170
|
+
navigation: AppNavigationConfig
|
|
171
|
+
features: AppFeatureConfig
|
|
172
|
+
storage: AppStorageConfig
|
|
173
|
+
assets: AppAssetConfig
|
|
174
|
+
links: AppLinkConfig
|
|
175
|
+
// 系统主题样式
|
|
176
|
+
systemThemeStyles: SystemThemeTypes
|
|
177
|
+
// 设置主题列表
|
|
178
|
+
settingThemeList: ThemeSetting[]
|
|
179
|
+
// 菜单布局列表
|
|
180
|
+
menuLayoutList: MenuLayout[]
|
|
181
|
+
// 主题列表
|
|
182
|
+
themeList: MenuThemeType[]
|
|
183
|
+
// 暗色菜单样式
|
|
184
|
+
darkMenuStyles: MenuThemeType[]
|
|
185
|
+
// 系统主色调
|
|
186
|
+
systemMainColor: readonly string[]
|
|
187
|
+
// 快速入口配置
|
|
188
|
+
fastEnter?: FastEnterConfig
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// 环境配置
|
|
192
|
+
export interface EnvConfig {
|
|
193
|
+
// 环境名称
|
|
194
|
+
NODE_ENV: string
|
|
195
|
+
// 应用版本
|
|
196
|
+
VITE_VERSION: string
|
|
197
|
+
// 应用端口
|
|
198
|
+
VITE_PORT: string
|
|
199
|
+
// 应用基础路径
|
|
200
|
+
VITE_BASE_URL: string
|
|
201
|
+
// API 地址
|
|
202
|
+
VITE_API_URL: string
|
|
203
|
+
// 是否开启 Mock
|
|
204
|
+
VITE_USE_MOCK?: string
|
|
205
|
+
// 是否开启压缩
|
|
206
|
+
VITE_USE_GZIP?: string
|
|
207
|
+
// 是否开启 CDN
|
|
208
|
+
VITE_USE_CDN?: string
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// 应用配置
|
|
212
|
+
export interface AppConfig extends SystemConfig {
|
|
213
|
+
// 环境配置
|
|
214
|
+
env: EnvConfig
|
|
215
|
+
// 开发模式
|
|
216
|
+
isDev: boolean
|
|
217
|
+
// 生产模式
|
|
218
|
+
isProd: boolean
|
|
219
|
+
// 测试模式
|
|
220
|
+
isTest: boolean
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// 功能配置项基础接口
|
|
224
|
+
export interface FeatureConfigItem {
|
|
225
|
+
enabled: boolean
|
|
226
|
+
description: string
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// 顶部栏功能配置接口
|
|
230
|
+
export interface HeaderBarFeatureConfig {
|
|
231
|
+
/** 菜单按钮 */
|
|
232
|
+
menuButton: FeatureConfigItem
|
|
233
|
+
/** 刷新按钮 */
|
|
234
|
+
refreshButton: FeatureConfigItem
|
|
235
|
+
/** 快速入口 */
|
|
236
|
+
fastEnter: FeatureConfigItem
|
|
237
|
+
/** 面包屑导航 */
|
|
238
|
+
breadcrumb: FeatureConfigItem
|
|
239
|
+
/** 全局搜索 */
|
|
240
|
+
globalSearch: FeatureConfigItem
|
|
241
|
+
/** 全屏功能 */
|
|
242
|
+
fullscreen: FeatureConfigItem
|
|
243
|
+
/** 通知功能 */
|
|
244
|
+
notification: FeatureConfigItem
|
|
245
|
+
/** 聊天功能 */
|
|
246
|
+
chat: FeatureConfigItem
|
|
247
|
+
/** 多语言切换 */
|
|
248
|
+
language: FeatureConfigItem
|
|
249
|
+
/** 设置面板 */
|
|
250
|
+
settings: FeatureConfigItem
|
|
251
|
+
/** 主题切换 */
|
|
252
|
+
themeToggle: FeatureConfigItem
|
|
253
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
AuthDirective,
|
|
3
|
+
RolesDirective,
|
|
4
|
+
RippleDirective,
|
|
5
|
+
HighlightDirective
|
|
6
|
+
} from '@/directives'
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
export interface GlobalDirectives {
|
|
10
|
+
vAuth: AuthDirective
|
|
11
|
+
vRoles: RolesDirective
|
|
12
|
+
vRipple: RippleDirective
|
|
13
|
+
vHighlight: HighlightDirective
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,319 @@
|
|
|
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 EffectScope: typeof import('vue').EffectScope
|
|
10
|
+
const ElLoading: typeof import('element-plus/es')['ElLoading']
|
|
11
|
+
const ElMessage: typeof import('element-plus/es').ElMessage
|
|
12
|
+
const acceptHMRUpdate: typeof import('pinia').acceptHMRUpdate
|
|
13
|
+
const asyncComputed: typeof import('@vueuse/core').asyncComputed
|
|
14
|
+
const autoResetRef: typeof import('@vueuse/core').autoResetRef
|
|
15
|
+
const computed: typeof import('vue').computed
|
|
16
|
+
const computedAsync: typeof import('@vueuse/core').computedAsync
|
|
17
|
+
const computedEager: typeof import('@vueuse/core').computedEager
|
|
18
|
+
const computedInject: typeof import('@vueuse/core').computedInject
|
|
19
|
+
const computedWithControl: typeof import('@vueuse/core').computedWithControl
|
|
20
|
+
const controlledComputed: typeof import('@vueuse/core').controlledComputed
|
|
21
|
+
const controlledRef: typeof import('@vueuse/core').controlledRef
|
|
22
|
+
const createApp: typeof import('vue').createApp
|
|
23
|
+
const createEventHook: typeof import('@vueuse/core').createEventHook
|
|
24
|
+
const createGlobalState: typeof import('@vueuse/core').createGlobalState
|
|
25
|
+
const createInjectionState: typeof import('@vueuse/core').createInjectionState
|
|
26
|
+
const createPinia: typeof import('pinia').createPinia
|
|
27
|
+
const createReactiveFn: typeof import('@vueuse/core').createReactiveFn
|
|
28
|
+
const createRef: typeof import('@vueuse/core').createRef
|
|
29
|
+
const createReusableTemplate: typeof import('@vueuse/core').createReusableTemplate
|
|
30
|
+
const createSharedComposable: typeof import('@vueuse/core').createSharedComposable
|
|
31
|
+
const createTemplatePromise: typeof import('@vueuse/core').createTemplatePromise
|
|
32
|
+
const createUnrefFn: typeof import('@vueuse/core').createUnrefFn
|
|
33
|
+
const customRef: typeof import('vue').customRef
|
|
34
|
+
const debouncedRef: typeof import('@vueuse/core').debouncedRef
|
|
35
|
+
const debouncedWatch: typeof import('@vueuse/core').debouncedWatch
|
|
36
|
+
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
|
|
37
|
+
const defineComponent: typeof import('vue').defineComponent
|
|
38
|
+
const defineStore: typeof import('pinia').defineStore
|
|
39
|
+
const eagerComputed: typeof import('@vueuse/core').eagerComputed
|
|
40
|
+
const effectScope: typeof import('vue').effectScope
|
|
41
|
+
const extendRef: typeof import('@vueuse/core').extendRef
|
|
42
|
+
const getActivePinia: typeof import('pinia').getActivePinia
|
|
43
|
+
const getCurrentInstance: typeof import('vue').getCurrentInstance
|
|
44
|
+
const getCurrentScope: typeof import('vue').getCurrentScope
|
|
45
|
+
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
|
|
46
|
+
const h: typeof import('vue').h
|
|
47
|
+
const ignorableWatch: typeof import('@vueuse/core').ignorableWatch
|
|
48
|
+
const inject: typeof import('vue').inject
|
|
49
|
+
const injectLocal: typeof import('@vueuse/core').injectLocal
|
|
50
|
+
const isDefined: typeof import('@vueuse/core').isDefined
|
|
51
|
+
const isProxy: typeof import('vue').isProxy
|
|
52
|
+
const isReactive: typeof import('vue').isReactive
|
|
53
|
+
const isReadonly: typeof import('vue').isReadonly
|
|
54
|
+
const isRef: typeof import('vue').isRef
|
|
55
|
+
const isShallow: typeof import('vue').isShallow
|
|
56
|
+
const makeDestructurable: typeof import('@vueuse/core').makeDestructurable
|
|
57
|
+
const mapActions: typeof import('pinia').mapActions
|
|
58
|
+
const mapGetters: typeof import('pinia').mapGetters
|
|
59
|
+
const mapState: typeof import('pinia').mapState
|
|
60
|
+
const mapStores: typeof import('pinia').mapStores
|
|
61
|
+
const mapWritableState: typeof import('pinia').mapWritableState
|
|
62
|
+
const markRaw: typeof import('vue').markRaw
|
|
63
|
+
const nextTick: typeof import('vue').nextTick
|
|
64
|
+
const onActivated: typeof import('vue').onActivated
|
|
65
|
+
const onBeforeMount: typeof import('vue').onBeforeMount
|
|
66
|
+
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
|
|
67
|
+
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
|
|
68
|
+
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
|
|
69
|
+
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
|
|
70
|
+
const onClickOutside: typeof import('@vueuse/core').onClickOutside
|
|
71
|
+
const onDeactivated: typeof import('vue').onDeactivated
|
|
72
|
+
const onElementRemoval: typeof import('@vueuse/core').onElementRemoval
|
|
73
|
+
const onErrorCaptured: typeof import('vue').onErrorCaptured
|
|
74
|
+
const onKeyStroke: typeof import('@vueuse/core').onKeyStroke
|
|
75
|
+
const onLongPress: typeof import('@vueuse/core').onLongPress
|
|
76
|
+
const onMounted: typeof import('vue').onMounted
|
|
77
|
+
const onRenderTracked: typeof import('vue').onRenderTracked
|
|
78
|
+
const onRenderTriggered: typeof import('vue').onRenderTriggered
|
|
79
|
+
const onScopeDispose: typeof import('vue').onScopeDispose
|
|
80
|
+
const onServerPrefetch: typeof import('vue').onServerPrefetch
|
|
81
|
+
const onStartTyping: typeof import('@vueuse/core').onStartTyping
|
|
82
|
+
const onUnmounted: typeof import('vue').onUnmounted
|
|
83
|
+
const onUpdated: typeof import('vue').onUpdated
|
|
84
|
+
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
|
|
85
|
+
const pausableWatch: typeof import('@vueuse/core').pausableWatch
|
|
86
|
+
const provide: typeof import('vue').provide
|
|
87
|
+
const provideLocal: typeof import('@vueuse/core').provideLocal
|
|
88
|
+
const reactify: typeof import('@vueuse/core').reactify
|
|
89
|
+
const reactifyObject: typeof import('@vueuse/core').reactifyObject
|
|
90
|
+
const reactive: typeof import('vue').reactive
|
|
91
|
+
const reactiveComputed: typeof import('@vueuse/core').reactiveComputed
|
|
92
|
+
const reactiveOmit: typeof import('@vueuse/core').reactiveOmit
|
|
93
|
+
const reactivePick: typeof import('@vueuse/core').reactivePick
|
|
94
|
+
const readonly: typeof import('vue').readonly
|
|
95
|
+
const ref: typeof import('vue').ref
|
|
96
|
+
const refAutoReset: typeof import('@vueuse/core').refAutoReset
|
|
97
|
+
const refDebounced: typeof import('@vueuse/core').refDebounced
|
|
98
|
+
const refDefault: typeof import('@vueuse/core').refDefault
|
|
99
|
+
const refThrottled: typeof import('@vueuse/core').refThrottled
|
|
100
|
+
const refWithControl: typeof import('@vueuse/core').refWithControl
|
|
101
|
+
const resolveComponent: typeof import('vue').resolveComponent
|
|
102
|
+
const resolveRef: typeof import('@vueuse/core').resolveRef
|
|
103
|
+
const resolveUnref: typeof import('@vueuse/core').resolveUnref
|
|
104
|
+
const setActivePinia: typeof import('pinia').setActivePinia
|
|
105
|
+
const setMapStoreSuffix: typeof import('pinia').setMapStoreSuffix
|
|
106
|
+
const shallowReactive: typeof import('vue').shallowReactive
|
|
107
|
+
const shallowReadonly: typeof import('vue').shallowReadonly
|
|
108
|
+
const shallowRef: typeof import('vue').shallowRef
|
|
109
|
+
const storeToRefs: typeof import('pinia').storeToRefs
|
|
110
|
+
const syncRef: typeof import('@vueuse/core').syncRef
|
|
111
|
+
const syncRefs: typeof import('@vueuse/core').syncRefs
|
|
112
|
+
const templateRef: typeof import('@vueuse/core').templateRef
|
|
113
|
+
const throttledRef: typeof import('@vueuse/core').throttledRef
|
|
114
|
+
const throttledWatch: typeof import('@vueuse/core').throttledWatch
|
|
115
|
+
const toRaw: typeof import('vue').toRaw
|
|
116
|
+
const toReactive: typeof import('@vueuse/core').toReactive
|
|
117
|
+
const toRef: typeof import('vue').toRef
|
|
118
|
+
const toRefs: typeof import('vue').toRefs
|
|
119
|
+
const toValue: typeof import('vue').toValue
|
|
120
|
+
const triggerRef: typeof import('vue').triggerRef
|
|
121
|
+
const tryOnBeforeMount: typeof import('@vueuse/core').tryOnBeforeMount
|
|
122
|
+
const tryOnBeforeUnmount: typeof import('@vueuse/core').tryOnBeforeUnmount
|
|
123
|
+
const tryOnMounted: typeof import('@vueuse/core').tryOnMounted
|
|
124
|
+
const tryOnScopeDispose: typeof import('@vueuse/core').tryOnScopeDispose
|
|
125
|
+
const tryOnUnmounted: typeof import('@vueuse/core').tryOnUnmounted
|
|
126
|
+
const unref: typeof import('vue').unref
|
|
127
|
+
const unrefElement: typeof import('@vueuse/core').unrefElement
|
|
128
|
+
const until: typeof import('@vueuse/core').until
|
|
129
|
+
const useActiveElement: typeof import('@vueuse/core').useActiveElement
|
|
130
|
+
const useAnimate: typeof import('@vueuse/core').useAnimate
|
|
131
|
+
const useArrayDifference: typeof import('@vueuse/core').useArrayDifference
|
|
132
|
+
const useArrayEvery: typeof import('@vueuse/core').useArrayEvery
|
|
133
|
+
const useArrayFilter: typeof import('@vueuse/core').useArrayFilter
|
|
134
|
+
const useArrayFind: typeof import('@vueuse/core').useArrayFind
|
|
135
|
+
const useArrayFindIndex: typeof import('@vueuse/core').useArrayFindIndex
|
|
136
|
+
const useArrayFindLast: typeof import('@vueuse/core').useArrayFindLast
|
|
137
|
+
const useArrayIncludes: typeof import('@vueuse/core').useArrayIncludes
|
|
138
|
+
const useArrayJoin: typeof import('@vueuse/core').useArrayJoin
|
|
139
|
+
const useArrayMap: typeof import('@vueuse/core').useArrayMap
|
|
140
|
+
const useArrayReduce: typeof import('@vueuse/core').useArrayReduce
|
|
141
|
+
const useArraySome: typeof import('@vueuse/core').useArraySome
|
|
142
|
+
const useArrayUnique: typeof import('@vueuse/core').useArrayUnique
|
|
143
|
+
const useAsyncQueue: typeof import('@vueuse/core').useAsyncQueue
|
|
144
|
+
const useAsyncState: typeof import('@vueuse/core').useAsyncState
|
|
145
|
+
const useAttrs: typeof import('vue').useAttrs
|
|
146
|
+
const useBase64: typeof import('@vueuse/core').useBase64
|
|
147
|
+
const useBattery: typeof import('@vueuse/core').useBattery
|
|
148
|
+
const useBluetooth: typeof import('@vueuse/core').useBluetooth
|
|
149
|
+
const useBreakpoints: typeof import('@vueuse/core').useBreakpoints
|
|
150
|
+
const useBroadcastChannel: typeof import('@vueuse/core').useBroadcastChannel
|
|
151
|
+
const useBrowserLocation: typeof import('@vueuse/core').useBrowserLocation
|
|
152
|
+
const useCached: typeof import('@vueuse/core').useCached
|
|
153
|
+
const useClipboard: typeof import('@vueuse/core').useClipboard
|
|
154
|
+
const useClipboardItems: typeof import('@vueuse/core').useClipboardItems
|
|
155
|
+
const useCloned: typeof import('@vueuse/core').useCloned
|
|
156
|
+
const useColorMode: typeof import('@vueuse/core').useColorMode
|
|
157
|
+
const useConfirmDialog: typeof import('@vueuse/core').useConfirmDialog
|
|
158
|
+
const useCountdown: typeof import('@vueuse/core').useCountdown
|
|
159
|
+
const useCounter: typeof import('@vueuse/core').useCounter
|
|
160
|
+
const useCssModule: typeof import('vue').useCssModule
|
|
161
|
+
const useCssVar: typeof import('@vueuse/core').useCssVar
|
|
162
|
+
const useCssVars: typeof import('vue').useCssVars
|
|
163
|
+
const useCurrentElement: typeof import('@vueuse/core').useCurrentElement
|
|
164
|
+
const useCycleList: typeof import('@vueuse/core').useCycleList
|
|
165
|
+
const useDark: typeof import('@vueuse/core').useDark
|
|
166
|
+
const useDateFormat: typeof import('@vueuse/core').useDateFormat
|
|
167
|
+
const useDebounce: typeof import('@vueuse/core').useDebounce
|
|
168
|
+
const useDebounceFn: typeof import('@vueuse/core').useDebounceFn
|
|
169
|
+
const useDebouncedRefHistory: typeof import('@vueuse/core').useDebouncedRefHistory
|
|
170
|
+
const useDeviceMotion: typeof import('@vueuse/core').useDeviceMotion
|
|
171
|
+
const useDeviceOrientation: typeof import('@vueuse/core').useDeviceOrientation
|
|
172
|
+
const useDevicePixelRatio: typeof import('@vueuse/core').useDevicePixelRatio
|
|
173
|
+
const useDevicesList: typeof import('@vueuse/core').useDevicesList
|
|
174
|
+
const useDisplayMedia: typeof import('@vueuse/core').useDisplayMedia
|
|
175
|
+
const useDocumentVisibility: typeof import('@vueuse/core').useDocumentVisibility
|
|
176
|
+
const useDraggable: typeof import('@vueuse/core').useDraggable
|
|
177
|
+
const useDropZone: typeof import('@vueuse/core').useDropZone
|
|
178
|
+
const useElementBounding: typeof import('@vueuse/core').useElementBounding
|
|
179
|
+
const useElementByPoint: typeof import('@vueuse/core').useElementByPoint
|
|
180
|
+
const useElementHover: typeof import('@vueuse/core').useElementHover
|
|
181
|
+
const useElementSize: typeof import('@vueuse/core').useElementSize
|
|
182
|
+
const useElementVisibility: typeof import('@vueuse/core').useElementVisibility
|
|
183
|
+
const useEventBus: typeof import('@vueuse/core').useEventBus
|
|
184
|
+
const useEventListener: typeof import('@vueuse/core').useEventListener
|
|
185
|
+
const useEventSource: typeof import('@vueuse/core').useEventSource
|
|
186
|
+
const useEyeDropper: typeof import('@vueuse/core').useEyeDropper
|
|
187
|
+
const useFavicon: typeof import('@vueuse/core').useFavicon
|
|
188
|
+
const useFetch: typeof import('@vueuse/core').useFetch
|
|
189
|
+
const useFileDialog: typeof import('@vueuse/core').useFileDialog
|
|
190
|
+
const useFileSystemAccess: typeof import('@vueuse/core').useFileSystemAccess
|
|
191
|
+
const useFocus: typeof import('@vueuse/core').useFocus
|
|
192
|
+
const useFocusWithin: typeof import('@vueuse/core').useFocusWithin
|
|
193
|
+
const useFps: typeof import('@vueuse/core').useFps
|
|
194
|
+
const useFullscreen: typeof import('@vueuse/core').useFullscreen
|
|
195
|
+
const useGamepad: typeof import('@vueuse/core').useGamepad
|
|
196
|
+
const useGeolocation: typeof import('@vueuse/core').useGeolocation
|
|
197
|
+
const useId: typeof import('vue').useId
|
|
198
|
+
const useIdle: typeof import('@vueuse/core').useIdle
|
|
199
|
+
const useImage: typeof import('@vueuse/core').useImage
|
|
200
|
+
const useInfiniteScroll: typeof import('@vueuse/core').useInfiniteScroll
|
|
201
|
+
const useIntersectionObserver: typeof import('@vueuse/core').useIntersectionObserver
|
|
202
|
+
const useInterval: typeof import('@vueuse/core').useInterval
|
|
203
|
+
const useIntervalFn: typeof import('@vueuse/core').useIntervalFn
|
|
204
|
+
const useKeyModifier: typeof import('@vueuse/core').useKeyModifier
|
|
205
|
+
const useLastChanged: typeof import('@vueuse/core').useLastChanged
|
|
206
|
+
const useLink: typeof import('vue-router').useLink
|
|
207
|
+
const useLocalStorage: typeof import('@vueuse/core').useLocalStorage
|
|
208
|
+
const useMagicKeys: typeof import('@vueuse/core').useMagicKeys
|
|
209
|
+
const useManualRefHistory: typeof import('@vueuse/core').useManualRefHistory
|
|
210
|
+
const useMediaControls: typeof import('@vueuse/core').useMediaControls
|
|
211
|
+
const useMediaQuery: typeof import('@vueuse/core').useMediaQuery
|
|
212
|
+
const useMemoize: typeof import('@vueuse/core').useMemoize
|
|
213
|
+
const useMemory: typeof import('@vueuse/core').useMemory
|
|
214
|
+
const useModel: typeof import('vue').useModel
|
|
215
|
+
const useMounted: typeof import('@vueuse/core').useMounted
|
|
216
|
+
const useMouse: typeof import('@vueuse/core').useMouse
|
|
217
|
+
const useMouseInElement: typeof import('@vueuse/core').useMouseInElement
|
|
218
|
+
const useMousePressed: typeof import('@vueuse/core').useMousePressed
|
|
219
|
+
const useMutationObserver: typeof import('@vueuse/core').useMutationObserver
|
|
220
|
+
const useNavigatorLanguage: typeof import('@vueuse/core').useNavigatorLanguage
|
|
221
|
+
const useNetwork: typeof import('@vueuse/core').useNetwork
|
|
222
|
+
const useNow: typeof import('@vueuse/core').useNow
|
|
223
|
+
const useObjectUrl: typeof import('@vueuse/core').useObjectUrl
|
|
224
|
+
const useOffsetPagination: typeof import('@vueuse/core').useOffsetPagination
|
|
225
|
+
const useOnline: typeof import('@vueuse/core').useOnline
|
|
226
|
+
const usePageLeave: typeof import('@vueuse/core').usePageLeave
|
|
227
|
+
const useParallax: typeof import('@vueuse/core').useParallax
|
|
228
|
+
const useParentElement: typeof import('@vueuse/core').useParentElement
|
|
229
|
+
const usePerformanceObserver: typeof import('@vueuse/core').usePerformanceObserver
|
|
230
|
+
const usePermission: typeof import('@vueuse/core').usePermission
|
|
231
|
+
const usePointer: typeof import('@vueuse/core').usePointer
|
|
232
|
+
const usePointerLock: typeof import('@vueuse/core').usePointerLock
|
|
233
|
+
const usePointerSwipe: typeof import('@vueuse/core').usePointerSwipe
|
|
234
|
+
const usePreferredColorScheme: typeof import('@vueuse/core').usePreferredColorScheme
|
|
235
|
+
const usePreferredContrast: typeof import('@vueuse/core').usePreferredContrast
|
|
236
|
+
const usePreferredDark: typeof import('@vueuse/core').usePreferredDark
|
|
237
|
+
const usePreferredLanguages: typeof import('@vueuse/core').usePreferredLanguages
|
|
238
|
+
const usePreferredReducedMotion: typeof import('@vueuse/core').usePreferredReducedMotion
|
|
239
|
+
const usePreferredReducedTransparency: typeof import('@vueuse/core').usePreferredReducedTransparency
|
|
240
|
+
const usePrevious: typeof import('@vueuse/core').usePrevious
|
|
241
|
+
const useRafFn: typeof import('@vueuse/core').useRafFn
|
|
242
|
+
const useRefHistory: typeof import('@vueuse/core').useRefHistory
|
|
243
|
+
const useResizeObserver: typeof import('@vueuse/core').useResizeObserver
|
|
244
|
+
const useRoute: typeof import('vue-router').useRoute
|
|
245
|
+
const useRouter: typeof import('vue-router').useRouter
|
|
246
|
+
const useSSRWidth: typeof import('@vueuse/core').useSSRWidth
|
|
247
|
+
const useScreenOrientation: typeof import('@vueuse/core').useScreenOrientation
|
|
248
|
+
const useScreenSafeArea: typeof import('@vueuse/core').useScreenSafeArea
|
|
249
|
+
const useScriptTag: typeof import('@vueuse/core').useScriptTag
|
|
250
|
+
const useScroll: typeof import('@vueuse/core').useScroll
|
|
251
|
+
const useScrollLock: typeof import('@vueuse/core').useScrollLock
|
|
252
|
+
const useSessionStorage: typeof import('@vueuse/core').useSessionStorage
|
|
253
|
+
const useShare: typeof import('@vueuse/core').useShare
|
|
254
|
+
const useSlots: typeof import('vue').useSlots
|
|
255
|
+
const useSorted: typeof import('@vueuse/core').useSorted
|
|
256
|
+
const useSpeechRecognition: typeof import('@vueuse/core').useSpeechRecognition
|
|
257
|
+
const useSpeechSynthesis: typeof import('@vueuse/core').useSpeechSynthesis
|
|
258
|
+
const useStepper: typeof import('@vueuse/core').useStepper
|
|
259
|
+
const useStorage: typeof import('@vueuse/core').useStorage
|
|
260
|
+
const useStorageAsync: typeof import('@vueuse/core').useStorageAsync
|
|
261
|
+
const useStyleTag: typeof import('@vueuse/core').useStyleTag
|
|
262
|
+
const useSupported: typeof import('@vueuse/core').useSupported
|
|
263
|
+
const useSwipe: typeof import('@vueuse/core').useSwipe
|
|
264
|
+
const useTemplateRef: typeof import('vue').useTemplateRef
|
|
265
|
+
const useTemplateRefsList: typeof import('@vueuse/core').useTemplateRefsList
|
|
266
|
+
const useTextDirection: typeof import('@vueuse/core').useTextDirection
|
|
267
|
+
const useTextSelection: typeof import('@vueuse/core').useTextSelection
|
|
268
|
+
const useTextareaAutosize: typeof import('@vueuse/core').useTextareaAutosize
|
|
269
|
+
const useThrottle: typeof import('@vueuse/core').useThrottle
|
|
270
|
+
const useThrottleFn: typeof import('@vueuse/core').useThrottleFn
|
|
271
|
+
const useThrottledRefHistory: typeof import('@vueuse/core').useThrottledRefHistory
|
|
272
|
+
const useTimeAgo: typeof import('@vueuse/core').useTimeAgo
|
|
273
|
+
const useTimeAgoIntl: typeof import('@vueuse/core').useTimeAgoIntl
|
|
274
|
+
const useTimeout: typeof import('@vueuse/core').useTimeout
|
|
275
|
+
const useTimeoutFn: typeof import('@vueuse/core').useTimeoutFn
|
|
276
|
+
const useTimeoutPoll: typeof import('@vueuse/core').useTimeoutPoll
|
|
277
|
+
const useTimestamp: typeof import('@vueuse/core').useTimestamp
|
|
278
|
+
const useTitle: typeof import('@vueuse/core').useTitle
|
|
279
|
+
const useToNumber: typeof import('@vueuse/core').useToNumber
|
|
280
|
+
const useToString: typeof import('@vueuse/core').useToString
|
|
281
|
+
const useToggle: typeof import('@vueuse/core').useToggle
|
|
282
|
+
const useTransition: typeof import('@vueuse/core').useTransition
|
|
283
|
+
const useUrlSearchParams: typeof import('@vueuse/core').useUrlSearchParams
|
|
284
|
+
const useUserMedia: typeof import('@vueuse/core').useUserMedia
|
|
285
|
+
const useVModel: typeof import('@vueuse/core').useVModel
|
|
286
|
+
const useVModels: typeof import('@vueuse/core').useVModels
|
|
287
|
+
const useVibrate: typeof import('@vueuse/core').useVibrate
|
|
288
|
+
const useVirtualList: typeof import('@vueuse/core').useVirtualList
|
|
289
|
+
const useWakeLock: typeof import('@vueuse/core').useWakeLock
|
|
290
|
+
const useWebNotification: typeof import('@vueuse/core').useWebNotification
|
|
291
|
+
const useWebSocket: typeof import('@vueuse/core').useWebSocket
|
|
292
|
+
const useWebWorker: typeof import('@vueuse/core').useWebWorker
|
|
293
|
+
const useWebWorkerFn: typeof import('@vueuse/core').useWebWorkerFn
|
|
294
|
+
const useWindowFocus: typeof import('@vueuse/core').useWindowFocus
|
|
295
|
+
const useWindowScroll: typeof import('@vueuse/core').useWindowScroll
|
|
296
|
+
const useWindowSize: typeof import('@vueuse/core').useWindowSize
|
|
297
|
+
const watch: typeof import('vue').watch
|
|
298
|
+
const watchArray: typeof import('@vueuse/core').watchArray
|
|
299
|
+
const watchAtMost: typeof import('@vueuse/core').watchAtMost
|
|
300
|
+
const watchDebounced: typeof import('@vueuse/core').watchDebounced
|
|
301
|
+
const watchDeep: typeof import('@vueuse/core').watchDeep
|
|
302
|
+
const watchEffect: typeof import('vue').watchEffect
|
|
303
|
+
const watchIgnorable: typeof import('@vueuse/core').watchIgnorable
|
|
304
|
+
const watchImmediate: typeof import('@vueuse/core').watchImmediate
|
|
305
|
+
const watchOnce: typeof import('@vueuse/core').watchOnce
|
|
306
|
+
const watchPausable: typeof import('@vueuse/core').watchPausable
|
|
307
|
+
const watchPostEffect: typeof import('vue').watchPostEffect
|
|
308
|
+
const watchSyncEffect: typeof import('vue').watchSyncEffect
|
|
309
|
+
const watchThrottled: typeof import('@vueuse/core').watchThrottled
|
|
310
|
+
const watchTriggerable: typeof import('@vueuse/core').watchTriggerable
|
|
311
|
+
const watchWithFilter: typeof import('@vueuse/core').watchWithFilter
|
|
312
|
+
const whenever: typeof import('@vueuse/core').whenever
|
|
313
|
+
}
|
|
314
|
+
// for type re-export
|
|
315
|
+
declare global {
|
|
316
|
+
// @ts-ignore
|
|
317
|
+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
318
|
+
import('vue')
|
|
319
|
+
}
|