smart-admin-web 10.14.0 → 10.20.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/README.md +6 -6
- package/dist/api/index.d.ts +41 -2
- package/dist/api/index.js +36 -15
- package/dist/api/index.js.map +1 -1
- package/dist/api/schema.d.ts +418 -6
- package/dist/assets/icons/ph-subset.json.js +7 -7
- package/dist/assets/smart-logo.svg.js +5 -0
- package/dist/assets/smart-logo.svg.js.map +1 -0
- package/dist/components/AppIcon.vue.js +9 -9
- package/dist/components/AppIcon.vue.js.map +1 -1
- package/dist/components/AppWatermark.vue.d.ts +14 -0
- package/dist/components/AppWatermark.vue.js +38 -0
- package/dist/components/AppWatermark.vue.js.map +1 -0
- package/dist/components/AppWatermark2.vue.js +5 -0
- package/dist/components/AppWatermark2.vue.js.map +1 -0
- package/dist/components/Chart/PieChart.vue.d.ts +1 -1
- package/dist/components/Chart/echarts.js +15 -20
- package/dist/components/Chart/echarts.js.map +1 -1
- package/dist/components/CronEditor/index.vue.js +1 -1
- package/dist/components/CronEditor/index2.vue.js +2 -1
- package/dist/components/CronEditor/index2.vue.js.map +1 -1
- package/dist/components/DetailPage/index.vue.js +2 -2
- package/dist/components/DetailPage/index2.vue.js.map +1 -1
- package/dist/components/DictTag/index.vue.js.map +1 -1
- package/dist/components/ErrorBoundary/index.vue.js +2 -2
- package/dist/components/ErrorBoundary/index2.vue.js +1 -1
- package/dist/components/ErrorBoundary/index2.vue.js.map +1 -1
- package/dist/components/FormContainer/index.vue.js +91 -56
- package/dist/components/FormContainer/index.vue.js.map +1 -1
- package/dist/components/ImportWizard/index.vue.js +1 -1
- package/dist/components/ImportWizard/index2.vue.js +44 -41
- package/dist/components/ImportWizard/index2.vue.js.map +1 -1
- package/dist/components/MenuSearch.vue.js +2 -2
- package/dist/components/MenuSearch2.vue.js +19 -18
- package/dist/components/MenuSearch2.vue.js.map +1 -1
- package/dist/components/PasswordStrength/index.vue.js +2 -2
- package/dist/components/PasswordStrength/index2.vue.js +20 -18
- package/dist/components/PasswordStrength/index2.vue.js.map +1 -1
- package/dist/components/SmartLogo.vue.d.ts +3 -0
- package/dist/components/SmartLogo.vue.js +1 -1
- package/dist/components/SmartLogo2.vue.js +22 -64
- package/dist/components/SmartLogo2.vue.js.map +1 -1
- package/dist/{views/system/config/components/GroupExtraConfig.vue.d.ts → components/TableTotal/index.vue.d.ts} +1 -4
- package/dist/components/{SelectTable → TableTotal}/index.vue.js +1 -1
- package/dist/components/TableTotal/index2.vue.js +16 -0
- package/dist/components/TableTotal/index2.vue.js.map +1 -0
- package/dist/components/TableZoomButton/index.vue.js.map +1 -1
- package/dist/components/UserPicker/index.vue.js +2 -2
- package/dist/components/UserPicker/index2.vue.js +176 -117
- package/dist/components/UserPicker/index2.vue.js.map +1 -1
- package/dist/composables/useBatchDelete.js.map +1 -1
- package/dist/composables/useLayoutMenu.js +17 -16
- package/dist/composables/useLayoutMenu.js.map +1 -1
- package/dist/composables/useLoginHero.d.ts +2 -0
- package/dist/composables/useLoginHero.js +22 -0
- package/dist/composables/useLoginHero.js.map +1 -0
- package/dist/composables/useModule.js +39 -29
- package/dist/composables/useModule.js.map +1 -1
- package/dist/composables/usePageTitle.js +16 -14
- package/dist/composables/usePageTitle.js.map +1 -1
- package/dist/composables/useShellBreakpoint.d.ts +19 -0
- package/dist/composables/useShellBreakpoint.js +37 -0
- package/dist/composables/useShellBreakpoint.js.map +1 -0
- package/dist/composables/useSite.d.ts +20 -0
- package/dist/composables/useSite.js +18 -13
- package/dist/composables/useSite.js.map +1 -1
- package/dist/composables/useTabTitle.js.map +1 -1
- package/dist/composables/useTableTitle.d.ts +6 -0
- package/dist/composables/useTableTitle.js +11 -0
- package/dist/composables/useTableTitle.js.map +1 -0
- package/dist/composables/useTableZoom.d.ts +5 -0
- package/dist/composables/useTableZoom.js.map +1 -1
- package/dist/composables/useTheme.d.ts +2 -2
- package/dist/composables/useTheme.js +23 -20
- package/dist/composables/useTheme.js.map +1 -1
- package/dist/createSmartAdmin.d.ts +12 -2
- package/dist/createSmartAdmin.js +72 -60
- package/dist/createSmartAdmin.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +223 -208
- package/dist/index.js.map +1 -1
- package/dist/layouts/AccentPicker.vue.js +8 -0
- package/dist/layouts/AccentPicker.vue.js.map +1 -0
- package/dist/layouts/AccentPicker2.vue.js +131 -0
- package/dist/layouts/AccentPicker2.vue.js.map +1 -0
- package/dist/layouts/AppHeader.vue.d.ts +8 -1
- package/dist/layouts/AppHeader.vue.js +2 -2
- package/dist/layouts/AppHeader2.vue.js +317 -235
- package/dist/layouts/AppHeader2.vue.js.map +1 -1
- package/dist/layouts/NoticeBell.vue.js +2 -2
- package/dist/layouts/NoticeBell2.vue.js +1 -1
- package/dist/layouts/NoticeBell2.vue.js.map +1 -1
- package/dist/layouts/PersonalLayout.vue.js +2 -2
- package/dist/layouts/PersonalLayout2.vue.js +69 -47
- package/dist/layouts/PersonalLayout2.vue.js.map +1 -1
- package/dist/layouts/SettingsDrawer.vue.js +3 -3
- package/dist/layouts/SettingsDrawer2.vue.js +261 -325
- package/dist/layouts/SettingsDrawer2.vue.js.map +1 -1
- package/dist/layouts/TabsBar.vue.js +2 -2
- package/dist/layouts/TabsBar2.vue.js +97 -69
- package/dist/layouts/TabsBar2.vue.js.map +1 -1
- package/dist/layouts/components/SideNav.vue.d.ts +3 -0
- package/dist/layouts/components/SideNav.vue.js +1 -1
- package/dist/layouts/components/SideNav2.vue.js +54 -26
- package/dist/layouts/components/SideNav2.vue.js.map +1 -1
- package/dist/layouts/default.vue.js +1 -1
- package/dist/layouts/default2.vue.js +170 -140
- package/dist/layouts/default2.vue.js.map +1 -1
- package/dist/lib/favicon.d.ts +1 -0
- package/dist/lib/favicon.js +12 -0
- package/dist/lib/favicon.js.map +1 -0
- package/dist/lib/loginHero.d.ts +16 -0
- package/dist/lib/loginHero.js +33 -0
- package/dist/lib/loginHero.js.map +1 -0
- package/dist/lib/logoCrop.d.ts +25 -0
- package/dist/lib/logoCrop.js +22 -0
- package/dist/lib/logoCrop.js.map +1 -0
- package/dist/lib/runtime.d.ts +2 -0
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/runtime.js.map +1 -1
- package/dist/lib/securityRules.d.ts +26 -0
- package/dist/lib/securityRules.js +86 -0
- package/dist/lib/securityRules.js.map +1 -0
- package/dist/lib/watermark.d.ts +110 -0
- package/dist/lib/watermark.js +151 -0
- package/dist/lib/watermark.js.map +1 -0
- package/dist/locales/en-US.d.ts +462 -42
- package/dist/locales/en-US.js +491 -78
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/kernelMenuTitles.d.ts +1 -0
- package/dist/locales/kernelMenuTitles.js +128 -0
- package/dist/locales/kernelMenuTitles.js.map +1 -0
- package/dist/locales/menuTitle.d.ts +3 -0
- package/dist/locales/menuTitle.js +14 -12
- package/dist/locales/menuTitle.js.map +1 -1
- package/dist/locales/zh-CN.d.ts +462 -42
- package/dist/locales/zh-CN.js +490 -81
- package/dist/locales/zh-CN.js.map +1 -1
- package/dist/router/index.js +41 -32
- package/dist/router/index.js.map +1 -1
- package/dist/router/namedPage.d.ts +4 -0
- package/dist/router/namedPage.js +7 -7
- package/dist/router/namedPage.js.map +1 -1
- package/dist/router/viewRegistry.js +12 -12
- package/dist/router/viewRegistry.js.map +1 -1
- package/dist/stores/app.d.ts +0 -12
- package/dist/stores/app.js +11 -12
- package/dist/stores/app.js.map +1 -1
- package/dist/stores/tabs.js.map +1 -1
- package/dist/stores/user.d.ts +10 -0
- package/dist/stores/user.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme/accentTokens.d.ts +27 -0
- package/dist/theme/accentTokens.js +54 -0
- package/dist/theme/accentTokens.js.map +1 -0
- package/dist/theme/accents.d.ts +21 -1
- package/dist/theme/accents.js +11 -2
- package/dist/theme/accents.js.map +1 -1
- package/dist/theme/mix.d.ts +58 -7
- package/dist/theme/mix.js +115 -30
- package/dist/theme/mix.js.map +1 -1
- package/dist/theme/naive-theme.d.ts +5 -2
- package/dist/theme/naive-theme.js +405 -75
- package/dist/theme/naive-theme.js.map +1 -1
- package/dist/utils/jwt.d.ts +8 -0
- package/dist/utils/jwt.js +14 -0
- package/dist/utils/jwt.js.map +1 -0
- package/dist/utils/menuIcon.d.ts +2 -0
- package/dist/utils/menuIcon.js +8 -0
- package/dist/utils/menuIcon.js.map +1 -0
- package/dist/utils/oauthBrand.d.ts +34 -9
- package/dist/utils/oauthBrand.js +70 -74
- package/dist/utils/oauthBrand.js.map +1 -1
- package/dist/utils/tableFilter.d.ts +88 -0
- package/dist/utils/tableFilter.js +116 -0
- package/dist/utils/tableFilter.js.map +1 -0
- package/dist/utils/tableToolbar.d.ts +18 -0
- package/dist/utils/tableToolbar.js +11 -0
- package/dist/utils/tableToolbar.js.map +1 -0
- package/dist/utils/treeFilter.d.ts +20 -0
- package/dist/utils/treeFilter.js +24 -0
- package/dist/utils/treeFilter.js.map +1 -0
- package/dist/views/dashboard/ShortcutPicker.vue.js +1 -1
- package/dist/views/dashboard/ShortcutPicker2.vue.js +73 -48
- package/dist/views/dashboard/ShortcutPicker2.vue.js.map +1 -1
- package/dist/views/dashboard/biz.vue.js +1 -1
- package/dist/views/dashboard/biz2.vue.js +310 -257
- package/dist/views/dashboard/biz2.vue.js.map +1 -1
- package/dist/views/dashboard/workbench.vue.js +2 -2
- package/dist/views/dashboard/workbench2.vue.js +141 -155
- package/dist/views/dashboard/workbench2.vue.js.map +1 -1
- package/dist/views/embed/iframe.vue.js +2 -2
- package/dist/views/embed/iframe2.vue.js +22 -15
- package/dist/views/embed/iframe2.vue.js.map +1 -1
- package/dist/views/error/404.vue.js +2 -2
- package/dist/views/error/4042.vue.js +33 -24
- package/dist/views/error/4042.vue.js.map +1 -1
- package/dist/views/error/BootError.vue.js +1 -1
- package/dist/views/error/BootError2.vue.js +59 -48
- package/dist/views/error/BootError2.vue.js.map +1 -1
- package/dist/views/error/MissingRoute.vue.js +2 -2
- package/dist/views/error/MissingRoute2.vue.js +34 -15
- package/dist/views/error/MissingRoute2.vue.js.map +1 -1
- package/dist/views/login/LoginForm.vue.d.ts +7 -1
- package/dist/views/login/LoginForm.vue.js +2 -2
- package/dist/views/login/LoginForm2.vue.js +580 -488
- package/dist/views/login/LoginForm2.vue.js.map +1 -1
- package/dist/views/login/components/LoginDesk.vue.d.ts +36 -0
- package/dist/views/login/components/LoginDesk.vue.js +9 -0
- package/dist/views/login/components/LoginDesk.vue.js.map +1 -0
- package/dist/views/login/components/LoginDesk2.vue.js +100 -0
- package/dist/views/login/components/LoginDesk2.vue.js.map +1 -0
- package/dist/views/login/components/LoginHeroPanel.vue.d.ts +18 -0
- package/dist/views/login/components/LoginHeroPanel.vue.js +8 -0
- package/dist/views/login/components/LoginHeroPanel.vue.js.map +1 -0
- package/dist/views/login/components/LoginHeroPanel2.vue.js +61 -0
- package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -0
- package/dist/views/login/index.vue.js +1 -1
- package/dist/views/login/index2.vue.js +141 -71
- package/dist/views/login/index2.vue.js.map +1 -1
- package/dist/views/login/layout.d.ts +11 -0
- package/dist/views/login/layout.js +27 -0
- package/dist/views/login/layout.js.map +1 -0
- package/dist/views/mfa/index.vue.js +2 -2
- package/dist/views/mfa/index2.vue.js +367 -321
- package/dist/views/mfa/index2.vue.js.map +1 -1
- package/dist/views/module/index.vue.js +2 -2
- package/dist/views/module/index2.vue.js +132 -99
- package/dist/views/module/index2.vue.js.map +1 -1
- package/dist/views/oauth/callback.vue.js +2 -2
- package/dist/views/oauth/callback2.vue.js +65 -51
- package/dist/views/oauth/callback2.vue.js.map +1 -1
- package/dist/views/personal/bindings.vue.js +2 -2
- package/dist/views/personal/bindings2.vue.js +98 -94
- package/dist/views/personal/bindings2.vue.js.map +1 -1
- package/dist/views/personal/notice2.vue.js +103 -76
- package/dist/views/personal/notice2.vue.js.map +1 -1
- package/dist/views/personal/password2.vue.js +47 -40
- package/dist/views/personal/password2.vue.js.map +1 -1
- package/dist/views/personal/profile.vue.js +3 -3
- package/dist/views/personal/profile2.vue.js +24 -18
- package/dist/views/personal/profile2.vue.js.map +1 -1
- package/dist/views/personal/security.vue.js +2 -2
- package/dist/views/personal/security2.vue.js +65 -53
- package/dist/views/personal/security2.vue.js.map +1 -1
- package/dist/views/personal/sessions.vue.js +2 -2
- package/dist/views/personal/sessions2.vue.js +67 -62
- package/dist/views/personal/sessions2.vue.js.map +1 -1
- package/dist/views/system/ai-model/components/ProviderCard.vue.js +2 -2
- package/dist/views/system/ai-model/components/ProviderCard2.vue.js +142 -130
- package/dist/views/system/ai-model/components/ProviderCard2.vue.js.map +1 -1
- package/dist/views/system/ai-model/components/ProviderForm.vue.js +2 -2
- package/dist/views/system/ai-model/components/ProviderForm2.vue.js +71 -70
- package/dist/views/system/ai-model/components/ProviderForm2.vue.js.map +1 -1
- package/dist/views/system/ai-model/index.vue.js +2 -2
- package/dist/views/system/ai-model/index2.vue.js +99 -99
- package/dist/views/system/ai-model/index2.vue.js.map +1 -1
- package/dist/views/system/ai-model/presets.d.ts +1 -1
- package/dist/views/system/ai-model/presets.js +18 -18
- package/dist/views/system/ai-model/presets.js.map +1 -1
- package/dist/views/system/ai-usage/index.vue.js +2 -2
- package/dist/views/system/ai-usage/index2.vue.js +356 -258
- package/dist/views/system/ai-usage/index2.vue.js.map +1 -1
- package/dist/views/system/api-docs/index.vue.js +5 -2
- package/dist/views/system/api-docs/index.vue.js.map +1 -1
- package/dist/views/system/api-docs/index2.vue.js +92 -42
- package/dist/views/system/api-docs/index2.vue.js.map +1 -1
- package/dist/views/system/cache/index.vue.js +2 -2
- package/dist/views/system/cache/index2.vue.js +74 -80
- package/dist/views/system/cache/index2.vue.js.map +1 -1
- package/dist/views/system/config/components/AdminMock.vue.js +8 -0
- package/dist/views/system/config/components/AdminMock.vue.js.map +1 -0
- package/dist/views/system/config/components/AdminMock2.vue.js +93 -0
- package/dist/views/system/config/components/AdminMock2.vue.js.map +1 -0
- package/dist/views/system/config/components/AdvancedSection.vue.js +8 -0
- package/dist/views/system/config/components/AdvancedSection.vue.js.map +1 -0
- package/dist/views/system/config/components/AdvancedSection2.vue.js +163 -0
- package/dist/views/system/config/components/AdvancedSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/BrandSection.vue.d.ts +7 -0
- package/dist/views/system/config/components/BrandSection.vue.js +8 -0
- package/dist/views/system/config/components/BrandSection.vue.js.map +1 -0
- package/dist/views/system/config/components/BrandSection2.vue.js +266 -0
- package/dist/views/system/config/components/BrandSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgGroup.vue.d.ts +18 -0
- package/dist/views/system/config/components/CfgGroup.vue.js +8 -0
- package/dist/views/system/config/components/CfgGroup.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgGroup2.vue.js +22 -0
- package/dist/views/system/config/components/CfgGroup2.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgRow.vue.d.ts +26 -0
- package/dist/views/system/config/components/CfgRow.vue.js +9 -0
- package/dist/views/system/config/components/CfgRow.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgRow2.vue.js +54 -0
- package/dist/views/system/config/components/CfgRow2.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgSegment.vue.d.ts +28 -0
- package/dist/views/system/config/components/CfgSegment.vue.js +8 -0
- package/dist/views/system/config/components/CfgSegment.vue.js.map +1 -0
- package/dist/views/system/config/components/CfgSegment2.vue.js +45 -0
- package/dist/views/system/config/components/CfgSegment2.vue.js.map +1 -0
- package/dist/views/system/config/components/ConfigFormModal.vue.js +4 -1
- package/dist/views/system/config/components/ConfigFormModal.vue.js.map +1 -1
- package/dist/views/system/config/components/ConfigFormModal2.vue.js +72 -60
- package/dist/views/system/config/components/ConfigFormModal2.vue.js.map +1 -1
- package/dist/views/system/config/components/JobSection.vue.js +8 -0
- package/dist/views/system/config/components/JobSection.vue.js.map +1 -0
- package/dist/views/system/config/components/JobSection2.vue.js +140 -0
- package/dist/views/system/config/components/JobSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/LoginMock.vue.d.ts +8 -0
- package/dist/views/system/config/components/LoginMock.vue.js +8 -0
- package/dist/views/system/config/components/LoginMock.vue.js.map +1 -0
- package/dist/views/system/config/components/LoginMock2.vue.js +132 -0
- package/dist/views/system/config/components/LoginMock2.vue.js.map +1 -0
- package/dist/views/system/config/components/LogoCropper.vue.d.ts +10 -0
- package/dist/views/system/config/components/LogoCropper.vue.js +8 -0
- package/dist/views/system/config/components/LogoCropper.vue.js.map +1 -0
- package/dist/views/system/config/components/LogoCropper2.vue.js +122 -0
- package/dist/views/system/config/components/LogoCropper2.vue.js.map +1 -0
- package/dist/views/system/config/components/LogoEditor.vue.js +8 -0
- package/dist/views/system/config/components/LogoEditor.vue.js.map +1 -0
- package/dist/views/system/config/components/LogoEditor2.vue.js +161 -0
- package/dist/views/system/config/components/LogoEditor2.vue.js.map +1 -0
- package/dist/views/system/config/components/ProviderSheet.vue.d.ts +17 -0
- package/dist/views/system/config/components/ProviderSheet.vue.js +8 -0
- package/dist/views/system/config/components/ProviderSheet.vue.js.map +1 -0
- package/dist/views/system/config/components/ProviderSheet2.vue.js +343 -0
- package/dist/views/system/config/components/ProviderSheet2.vue.js.map +1 -0
- package/dist/{layouts/SettingRow.vue.d.ts → views/system/config/components/ScaleToFit.vue.d.ts} +2 -1
- package/dist/views/system/config/components/ScaleToFit.vue.js +8 -0
- package/dist/views/system/config/components/ScaleToFit.vue.js.map +1 -0
- package/dist/views/system/config/components/ScaleToFit2.vue.js +41 -0
- package/dist/views/system/config/components/ScaleToFit2.vue.js.map +1 -0
- package/dist/views/system/config/components/SectionLayout.vue.d.ts +30 -0
- package/dist/views/system/config/components/SectionLayout.vue.js +8 -0
- package/dist/views/system/config/components/SectionLayout.vue.js.map +1 -0
- package/dist/views/system/config/components/SectionLayout2.vue.js +69 -0
- package/dist/views/system/config/components/SectionLayout2.vue.js.map +1 -0
- package/dist/views/system/config/components/SecuritySection.vue.js +8 -0
- package/dist/views/system/config/components/SecuritySection.vue.js.map +1 -0
- package/dist/views/system/config/components/SecuritySection2.vue.js +417 -0
- package/dist/views/system/config/components/SecuritySection2.vue.js.map +1 -0
- package/dist/views/system/config/components/SensitiveSection.vue.js +8 -0
- package/dist/views/system/config/components/SensitiveSection.vue.js.map +1 -0
- package/dist/views/system/config/components/SensitiveSection2.vue.js +214 -0
- package/dist/views/system/config/components/SensitiveSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/SigninSection.vue.js +8 -0
- package/dist/views/system/config/components/SigninSection.vue.js.map +1 -0
- package/dist/views/system/config/components/SigninSection2.vue.js +201 -0
- package/dist/views/system/config/components/SigninSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/UploadSection.vue.js +8 -0
- package/dist/views/system/config/components/UploadSection.vue.js.map +1 -0
- package/dist/views/system/config/components/UploadSection2.vue.js +176 -0
- package/dist/views/system/config/components/UploadSection2.vue.js.map +1 -0
- package/dist/views/system/config/components/WatermarkSection.vue.js +8 -0
- package/dist/views/system/config/components/WatermarkSection.vue.js.map +1 -0
- package/dist/views/system/config/components/WatermarkSection2.vue.js +284 -0
- package/dist/views/system/config/components/WatermarkSection2.vue.js.map +1 -0
- package/dist/views/system/config/draft.d.ts +148 -0
- package/dist/views/system/config/draft.js +170 -0
- package/dist/views/system/config/draft.js.map +1 -0
- package/dist/views/system/config/flash.d.ts +2 -0
- package/dist/views/system/config/flash.js +9 -0
- package/dist/views/system/config/flash.js.map +1 -0
- package/dist/views/system/config/groups.d.ts +38 -7
- package/dist/views/system/config/groups.js +104 -14
- package/dist/views/system/config/groups.js.map +1 -1
- package/dist/views/system/config/index.vue.js +6 -2
- package/dist/views/system/config/index.vue.js.map +1 -1
- package/dist/views/system/config/index2.vue.js +201 -111
- package/dist/views/system/config/index2.vue.js.map +1 -1
- package/dist/views/system/config/layoutMode.d.ts +23 -0
- package/dist/views/system/config/layoutMode.js +28 -0
- package/dist/views/system/config/layoutMode.js.map +1 -0
- package/dist/views/system/config/providerForm.d.ts +33 -0
- package/dist/views/system/config/providerForm.js +63 -0
- package/dist/views/system/config/providerForm.js.map +1 -0
- package/dist/views/system/dict/index.vue.js +2 -2
- package/dist/views/system/dict/index2.vue.js +471 -366
- package/dist/views/system/dict/index2.vue.js.map +1 -1
- package/dist/views/system/file/index2.vue.js +91 -76
- package/dist/views/system/file/index2.vue.js.map +1 -1
- package/dist/views/system/job/index.vue.js +3 -3
- package/dist/views/system/job/index2.vue.js +897 -828
- package/dist/views/system/job/index2.vue.js.map +1 -1
- package/dist/views/system/job-log/components/AttemptTable.vue.d.ts +8 -0
- package/dist/views/system/job-log/components/AttemptTable.vue.js +5 -0
- package/dist/views/system/job-log/components/AttemptTable.vue.js.map +1 -0
- package/dist/views/system/job-log/components/AttemptTable2.vue.js +54 -0
- package/dist/views/system/job-log/components/AttemptTable2.vue.js.map +1 -0
- package/dist/views/system/job-log/index.vue.js +2 -2
- package/dist/views/system/job-log/index2.vue.js +193 -207
- package/dist/views/system/job-log/index2.vue.js.map +1 -1
- package/dist/views/system/job-log/runStatus.d.ts +13 -0
- package/dist/views/system/job-log/runStatus.js +26 -0
- package/dist/views/system/job-log/runStatus.js.map +1 -0
- package/dist/views/system/job-monitor/index.vue.js +2 -2
- package/dist/views/system/job-monitor/index2.vue.js +172 -180
- package/dist/views/system/job-monitor/index2.vue.js.map +1 -1
- package/dist/views/system/log/exception/index.vue.js +2 -2
- package/dist/views/system/log/exception/index2.vue.js +135 -96
- package/dist/views/system/log/exception/index2.vue.js.map +1 -1
- package/dist/views/system/log/login/index2.vue.js +62 -41
- package/dist/views/system/log/login/index2.vue.js.map +1 -1
- package/dist/views/system/log/op/index.vue.js +2 -2
- package/dist/views/system/log/op/index2.vue.js +200 -162
- package/dist/views/system/log/op/index2.vue.js.map +1 -1
- package/dist/views/system/menu/components/ButtonManager.vue.js +2 -2
- package/dist/views/system/menu/components/ButtonManager2.vue.js +206 -190
- package/dist/views/system/menu/components/ButtonManager2.vue.js.map +1 -1
- package/dist/views/system/menu/components/MenuFormModal.vue.js +2 -2
- package/dist/views/system/menu/components/MenuFormModal2.vue.js +127 -118
- package/dist/views/system/menu/components/MenuFormModal2.vue.js.map +1 -1
- package/dist/views/system/menu/index.vue.js +1 -1
- package/dist/views/system/menu/index2.vue.js +216 -183
- package/dist/views/system/menu/index2.vue.js.map +1 -1
- package/dist/views/system/module/index.vue.js +1 -1
- package/dist/views/system/module/index2.vue.js +177 -144
- package/dist/views/system/module/index2.vue.js.map +1 -1
- package/dist/views/system/monitor/index.vue.js +2 -2
- package/dist/views/system/monitor/index2.vue.js +134 -149
- package/dist/views/system/monitor/index2.vue.js.map +1 -1
- package/dist/views/system/notice/index.vue.js +1 -1
- package/dist/views/system/notice/index2.vue.js +209 -181
- package/dist/views/system/notice/index2.vue.js.map +1 -1
- package/dist/views/system/org/index.vue.js +1 -1
- package/dist/views/system/org/index2.vue.js +278 -248
- package/dist/views/system/org/index2.vue.js.map +1 -1
- package/dist/views/system/position/index.vue.js +5 -2
- package/dist/views/system/position/index.vue.js.map +1 -1
- package/dist/views/system/position/index2.vue.js +128 -92
- package/dist/views/system/position/index2.vue.js.map +1 -1
- package/dist/views/system/recycle/index.vue.js +2 -2
- package/dist/views/system/recycle/index2.vue.js +90 -67
- package/dist/views/system/recycle/index2.vue.js.map +1 -1
- package/dist/views/system/role/components/GrantMenuSheet.vue.d.ts +20 -0
- package/dist/views/system/role/components/GrantMenuSheet.vue.js +8 -0
- package/dist/views/system/role/components/GrantMenuSheet.vue.js.map +1 -0
- package/dist/views/system/role/components/GrantMenuSheet2.vue.js +117 -0
- package/dist/views/system/role/components/GrantMenuSheet2.vue.js.map +1 -0
- package/dist/views/system/role/components/GrantMenuTable.vue.d.ts +6 -4
- package/dist/views/system/role/components/GrantMenuTable.vue.js +2 -2
- package/dist/views/system/role/components/GrantMenuTable2.vue.js +279 -177
- package/dist/views/system/role/components/GrantMenuTable2.vue.js.map +1 -1
- package/dist/views/system/role/components/MatchText.vue.d.ts +7 -0
- package/dist/views/system/role/components/MatchText.vue.js +8 -0
- package/dist/views/system/role/components/MatchText.vue.js.map +1 -0
- package/dist/views/system/role/components/MatchText2.vue.js +29 -0
- package/dist/views/system/role/components/MatchText2.vue.js.map +1 -0
- package/dist/views/system/role/components/grantMenuGroups.d.ts +36 -0
- package/dist/views/system/role/components/grantMenuGroups.js +110 -48
- package/dist/views/system/role/components/grantMenuGroups.js.map +1 -1
- package/dist/views/system/role/index.vue.js +5 -2
- package/dist/views/system/role/index.vue.js.map +1 -1
- package/dist/views/system/role/index2.vue.js +181 -165
- package/dist/views/system/role/index2.vue.js.map +1 -1
- package/dist/views/system/session/index2.vue.js +75 -49
- package/dist/views/system/session/index2.vue.js.map +1 -1
- package/dist/views/system/user/components/ResetPasswordModal.vue.js +2 -2
- package/dist/views/system/user/components/ResetPasswordModal2.vue.js +2 -0
- package/dist/views/system/user/components/ResetPasswordModal2.vue.js.map +1 -1
- package/dist/views/system/user/components/UserFormModal.vue.js +2 -2
- package/dist/views/system/user/components/UserFormModal2.vue.js +77 -76
- package/dist/views/system/user/components/UserFormModal2.vue.js.map +1 -1
- package/dist/views/system/user/index.vue.js +2 -2
- package/dist/views/system/user/index2.vue.js +362 -275
- package/dist/views/system/user/index2.vue.js.map +1 -1
- package/package.json +6 -8
- package/dist/components/SelectTable/index.vue.d.ts +0 -76
- package/dist/components/SelectTable/index2.vue.js +0 -256
- package/dist/components/SelectTable/index2.vue.js.map +0 -1
- package/dist/composables/useTableRowSort.d.ts +0 -20
- package/dist/composables/useTableRowSort.js +0 -59
- package/dist/composables/useTableRowSort.js.map +0 -1
- package/dist/layouts/LayoutModeCards.vue.js +0 -8
- package/dist/layouts/LayoutModeCards.vue.js.map +0 -1
- package/dist/layouts/LayoutModeCards2.vue.js +0 -67
- package/dist/layouts/LayoutModeCards2.vue.js.map +0 -1
- package/dist/layouts/SettingRow.vue.js +0 -8
- package/dist/layouts/SettingRow.vue.js.map +0 -1
- package/dist/layouts/SettingRow2.vue.js +0 -23
- package/dist/layouts/SettingRow2.vue.js.map +0 -1
- package/dist/views/login/skins/AuroraGlass.vue.js +0 -8
- package/dist/views/login/skins/AuroraGlass.vue.js.map +0 -1
- package/dist/views/login/skins/AuroraGlass2.vue.js +0 -80
- package/dist/views/login/skins/AuroraGlass2.vue.js.map +0 -1
- package/dist/views/login/skins/SplitPanel.vue.js +0 -8
- package/dist/views/login/skins/SplitPanel.vue.js.map +0 -1
- package/dist/views/login/skins/SplitPanel2.vue.js +0 -85
- package/dist/views/login/skins/SplitPanel2.vue.js.map +0 -1
- package/dist/views/login/skins/Spotlight.vue.js +0 -8
- package/dist/views/login/skins/Spotlight.vue.js.map +0 -1
- package/dist/views/login/skins/Spotlight2.vue.js +0 -36
- package/dist/views/login/skins/Spotlight2.vue.js.map +0 -1
- package/dist/views/login/skins.d.ts +0 -8
- package/dist/views/login/skins.js +0 -13
- package/dist/views/login/skins.js.map +0 -1
- package/dist/views/system/config/components/ExternalAuthConfig.vue.js +0 -8
- package/dist/views/system/config/components/ExternalAuthConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/ExternalAuthConfig2.vue.js +0 -218
- package/dist/views/system/config/components/ExternalAuthConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/GroupExtraConfig.vue.js +0 -8
- package/dist/views/system/config/components/GroupExtraConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/GroupExtraConfig2.vue.js +0 -108
- package/dist/views/system/config/components/GroupExtraConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/HighSensConfig.vue.js +0 -5
- package/dist/views/system/config/components/HighSensConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/HighSensConfig2.vue.js +0 -134
- package/dist/views/system/config/components/HighSensConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/JobConfig.vue.js +0 -5
- package/dist/views/system/config/components/JobConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/JobConfig2.vue.js +0 -116
- package/dist/views/system/config/components/JobConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/OtherConfig.vue.js +0 -5
- package/dist/views/system/config/components/OtherConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/OtherConfig2.vue.js +0 -121
- package/dist/views/system/config/components/OtherConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/SecurityConfig.vue.js +0 -8
- package/dist/views/system/config/components/SecurityConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/SecurityConfig2.vue.js +0 -456
- package/dist/views/system/config/components/SecurityConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/SysBaseConfig.vue.js +0 -5
- package/dist/views/system/config/components/SysBaseConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/SysBaseConfig2.vue.js +0 -107
- package/dist/views/system/config/components/SysBaseConfig2.vue.js.map +0 -1
- package/dist/views/system/config/components/UploadConfig.vue.d.ts +0 -3
- package/dist/views/system/config/components/UploadConfig.vue.js +0 -5
- package/dist/views/system/config/components/UploadConfig.vue.js.map +0 -1
- package/dist/views/system/config/components/UploadConfig2.vue.js +0 -135
- package/dist/views/system/config/components/UploadConfig2.vue.js.map +0 -1
- /package/dist/components/{SelectTable → TableTotal}/index.vue.js.map +0 -0
- /package/dist/layouts/{LayoutModeCards.vue.d.ts → AccentPicker.vue.d.ts} +0 -0
- /package/dist/views/{login/skins/AuroraGlass.vue.d.ts → system/config/components/AdminMock.vue.d.ts} +0 -0
- /package/dist/views/{login/skins/SplitPanel.vue.d.ts → system/config/components/AdvancedSection.vue.d.ts} +0 -0
- /package/dist/views/{login/skins/Spotlight.vue.d.ts → system/config/components/JobSection.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{ExternalAuthConfig.vue.d.ts → LogoEditor.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{HighSensConfig.vue.d.ts → SecuritySection.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{JobConfig.vue.d.ts → SensitiveSection.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{OtherConfig.vue.d.ts → SigninSection.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{SecurityConfig.vue.d.ts → UploadSection.vue.d.ts} +0 -0
- /package/dist/views/system/config/components/{SysBaseConfig.vue.d.ts → WatermarkSection.vue.d.ts} +0 -0
|
@@ -1,230 +1,323 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import { useMessage as
|
|
4
|
-
import { Icon as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
const
|
|
1
|
+
import { defineComponent as de, ref as M, computed as k, onMounted as me, nextTick as fe, onScopeDispose as he, h as S, openBlock as i, createElementBlock as h, createElementVNode as w, createBlock as s, unref as e, withCtx as l, createVNode as r, createCommentVNode as g, toDisplayString as c, Fragment as U, renderList as K, createTextVNode as b, resolveDynamicComponent as be, normalizeClass as ve } from "vue";
|
|
2
|
+
import { useRoute as ye, useRouter as ge } from "vue-router";
|
|
3
|
+
import { useMessage as ke, NButton as p, NButtonGroup as we, NBreadcrumb as Ce, NBreadcrumbItem as _e, NMenu as q, NTooltip as C, NDropdown as G, NAvatar as W } from "naive-ui";
|
|
4
|
+
import { Icon as u } from "@iconify/vue";
|
|
5
|
+
import { useBreakpoints as Se, breakpointsTailwind as xe } from "@vueuse/core";
|
|
6
|
+
import { useI18n as Be } from "vue-i18n";
|
|
7
|
+
import { useAppStore as ze } from "../stores/app.js";
|
|
8
|
+
import { useUserStore as Ne } from "../stores/user.js";
|
|
9
|
+
import { useAuthStore as Me } from "../stores/auth.js";
|
|
10
|
+
import { useLayoutMenu as Ue } from "../composables/useLayoutMenu.js";
|
|
11
|
+
import { useMenuFlat as qe } from "../composables/useMenuFlat.js";
|
|
12
|
+
import { useSite as Ie } from "../composables/useSite.js";
|
|
13
|
+
import { useFullscreenToggle as $e } from "../composables/useFullscreenToggle.js";
|
|
14
|
+
import { useHeaderTools as De } from "../composables/useHeaderTools.js";
|
|
15
|
+
import { authApi as Fe } from "../api/index.js";
|
|
16
|
+
import { clearClientCache as Le } from "../composables/clearClientCache.js";
|
|
17
|
+
import { beginVoluntaryLogout as Oe } from "../composables/useRealtime.js";
|
|
18
|
+
import { resetRouter as Te } from "../router/index.js";
|
|
19
|
+
import { translateError as j } from "../utils/error.js";
|
|
20
|
+
import Ae from "../components/SmartLogo.vue.js";
|
|
21
|
+
import Ee from "../components/AppIcon.vue.js";
|
|
22
|
+
import He from "./SettingsDrawer.vue.js";
|
|
23
|
+
import Ve from "./NoticeBell.vue.js";
|
|
24
|
+
const Re = { class: "bar" }, Ke = { class: "left" }, Ge = {
|
|
25
25
|
key: 1,
|
|
26
26
|
class: "brand"
|
|
27
|
-
},
|
|
27
|
+
}, We = { class: "brand-name mobile-hide" }, je = {
|
|
28
28
|
key: 3,
|
|
29
29
|
class: "title"
|
|
30
|
-
},
|
|
30
|
+
}, Je = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "center"
|
|
33
|
-
},
|
|
33
|
+
}, Pe = { class: "right" }, Qe = ["aria-label"], Xe = { class: "top-user-name mobile-hide" }, wa = /* @__PURE__ */ de({
|
|
34
34
|
__name: "AppHeader",
|
|
35
35
|
props: {
|
|
36
36
|
showCollapse: { type: Boolean, default: !0 },
|
|
37
37
|
showBrand: { type: Boolean, default: !1 },
|
|
38
|
-
topMenu: { default: null }
|
|
38
|
+
topMenu: { default: null },
|
|
39
|
+
showSearch: { type: Boolean, default: !0 }
|
|
39
40
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
emits: ["search"],
|
|
42
|
+
setup(v, { emit: J }) {
|
|
43
|
+
const P = J, m = ze(), { site: Q } = Ie(), d = Ne(), x = Me(), I = ye(), f = ge(), B = ke(), { t: o } = Be(), $ = Se(xe).smaller("md"), {
|
|
44
|
+
isSupported: X,
|
|
45
|
+
isFullscreen: z,
|
|
46
|
+
toggle: Y
|
|
47
|
+
} = $e(), { menuOptions: Z, l1Options: ee, l2Options: ae, activeKey: D, selectedL1: te, onSelect: F, onSelectL1: oe } = Ue(), le = qe(), re = De(), N = M(!1), ne = k(() => {
|
|
48
|
+
const a = I.meta.title;
|
|
49
|
+
return a ? a.includes(".") ? o(a) : a : "";
|
|
50
|
+
}), L = k(() => {
|
|
51
|
+
var a;
|
|
52
|
+
return ((a = le.value.find((t) => t.path === I.path)) == null ? void 0 : a.breadcrumb) ?? [];
|
|
53
|
+
}), O = M(!1), T = M(!1);
|
|
54
|
+
function A() {
|
|
55
|
+
const a = window.history.state;
|
|
56
|
+
O.value = !!(a != null && a.back), T.value = !!(a != null && a.forward);
|
|
57
|
+
}
|
|
58
|
+
me(A);
|
|
59
|
+
const ie = f.afterEach(() => void fe(A));
|
|
60
|
+
he(ie);
|
|
61
|
+
const E = [
|
|
52
62
|
{ label: "简体中文", key: "zh-CN" },
|
|
53
63
|
{ label: "English", key: "en-US" }
|
|
54
64
|
];
|
|
55
|
-
function
|
|
56
|
-
|
|
65
|
+
function H(a) {
|
|
66
|
+
m.setLocale(a);
|
|
57
67
|
}
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
const y = (a, t) => () => S(u, { icon: a, width: 16, style: t ? { color: t } : void 0 }), _ = k(() => {
|
|
69
|
+
var a, t;
|
|
70
|
+
return ((a = d.userInfo) == null ? void 0 : a.name) ?? ((t = d.userInfo) == null ? void 0 : t.account) ?? "";
|
|
71
|
+
}), V = k(() => _.value.trim().slice(0, 1).toUpperCase()), se = k(() => {
|
|
72
|
+
const a = [
|
|
73
|
+
{
|
|
74
|
+
key: "header",
|
|
75
|
+
type: "render",
|
|
76
|
+
render: () => {
|
|
77
|
+
var t;
|
|
78
|
+
return S(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
style: "display:flex;flex-direction:column;gap:2px;padding:8px 12px 6px;min-width:200px;"
|
|
82
|
+
},
|
|
83
|
+
[
|
|
84
|
+
S("b", { style: "font-size:var(--font-size-md);font-weight:600;" }, _.value),
|
|
85
|
+
(t = d.userInfo) != null && t.account && d.userInfo.account !== _.value ? S(
|
|
86
|
+
"span",
|
|
87
|
+
{ style: "font-size:var(--font-size-sm);color:var(--text-3);" },
|
|
88
|
+
d.userInfo.account
|
|
89
|
+
) : null
|
|
90
|
+
]
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{ type: "divider", key: "d0" },
|
|
95
|
+
{ label: o("app.personalCenter"), key: "personal", icon: y("ph:user-circle") },
|
|
96
|
+
{ label: o("app.appearance"), key: "settings", icon: y("ph:sliders-horizontal") }
|
|
97
|
+
];
|
|
98
|
+
return x.modules.length > 1 && a.push({
|
|
99
|
+
label: o("app.switchModule"),
|
|
100
|
+
key: "module",
|
|
101
|
+
icon: y("ph:squares-four")
|
|
102
|
+
}), $.value && a.push({
|
|
103
|
+
label: o("app.language"),
|
|
104
|
+
key: "locale",
|
|
105
|
+
icon: y("ph:translate"),
|
|
106
|
+
children: E.map((t) => ({ ...t, key: `locale:${t.key}` }))
|
|
107
|
+
}), a.push(
|
|
108
|
+
{ label: o("app.clearCache"), key: "clearCache", icon: y("ph:broom") },
|
|
109
|
+
{ type: "divider", key: "d1" },
|
|
110
|
+
// 退出用危险色突出,避免与普通项同权。
|
|
111
|
+
{
|
|
112
|
+
label: o("app.logout"),
|
|
113
|
+
key: "logout",
|
|
114
|
+
icon: y("ph:sign-out", "var(--err)"),
|
|
115
|
+
props: { style: "color: var(--err)" }
|
|
116
|
+
}
|
|
117
|
+
), a;
|
|
118
|
+
});
|
|
119
|
+
async function ue(a) {
|
|
120
|
+
a === "personal" ? f.push("/personal/profile") : a === "settings" ? N.value = !0 : a === "module" ? f.push("/module") : a.startsWith("locale:") ? H(a.slice(7)) : a === "clearCache" ? await ce() : a === "logout" && await pe();
|
|
72
121
|
}
|
|
73
|
-
async function
|
|
122
|
+
async function ce() {
|
|
74
123
|
try {
|
|
75
|
-
await
|
|
76
|
-
} catch (
|
|
77
|
-
|
|
124
|
+
await Le(), B.success(o("app.cacheCleared"));
|
|
125
|
+
} catch (a) {
|
|
126
|
+
B.error(j(a));
|
|
78
127
|
}
|
|
79
128
|
}
|
|
80
|
-
async function
|
|
81
|
-
await
|
|
129
|
+
async function pe() {
|
|
130
|
+
await Oe();
|
|
82
131
|
try {
|
|
83
|
-
await
|
|
84
|
-
} catch (
|
|
85
|
-
|
|
132
|
+
await Fe.logout();
|
|
133
|
+
} catch (a) {
|
|
134
|
+
B.error(j(a));
|
|
86
135
|
}
|
|
87
|
-
|
|
136
|
+
Te(), x.reset(), d.clear(), f.replace("/login");
|
|
88
137
|
}
|
|
89
|
-
return (
|
|
90
|
-
|
|
91
|
-
|
|
138
|
+
return (a, t) => (i(), h("div", Re, [
|
|
139
|
+
w("div", Ke, [
|
|
140
|
+
v.showCollapse ? (i(), s(e(p), {
|
|
92
141
|
key: 0,
|
|
93
142
|
quaternary: "",
|
|
94
143
|
circle: "",
|
|
95
|
-
"aria-label": e(
|
|
96
|
-
onClick:
|
|
144
|
+
"aria-label": e(o)("app.collapse"),
|
|
145
|
+
onClick: t[0] || (t[0] = (n) => e(m).toggleCollapsed())
|
|
97
146
|
}, {
|
|
98
|
-
default:
|
|
99
|
-
|
|
100
|
-
icon:
|
|
101
|
-
width:
|
|
102
|
-
}
|
|
147
|
+
default: l(() => [
|
|
148
|
+
r(e(u), {
|
|
149
|
+
icon: "ph:sidebar-simple",
|
|
150
|
+
width: 19
|
|
151
|
+
})
|
|
103
152
|
]),
|
|
104
153
|
_: 1
|
|
105
|
-
}, 8, ["aria-label"])) :
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
154
|
+
}, 8, ["aria-label"])) : g("", !0),
|
|
155
|
+
r(e(we), {
|
|
156
|
+
size: "small",
|
|
157
|
+
class: "mobile-hide"
|
|
158
|
+
}, {
|
|
159
|
+
default: l(() => [
|
|
160
|
+
r(e(p), {
|
|
161
|
+
quaternary: "",
|
|
162
|
+
circle: "",
|
|
163
|
+
disabled: !O.value,
|
|
164
|
+
"aria-label": e(o)("app.back"),
|
|
165
|
+
onClick: t[1] || (t[1] = (n) => e(f).back())
|
|
166
|
+
}, {
|
|
167
|
+
default: l(() => [
|
|
168
|
+
r(e(u), {
|
|
169
|
+
icon: "ph:caret-left",
|
|
170
|
+
width: 16
|
|
171
|
+
})
|
|
172
|
+
]),
|
|
173
|
+
_: 1
|
|
174
|
+
}, 8, ["disabled", "aria-label"]),
|
|
175
|
+
r(e(p), {
|
|
176
|
+
quaternary: "",
|
|
177
|
+
circle: "",
|
|
178
|
+
disabled: !T.value,
|
|
179
|
+
"aria-label": e(o)("app.forward"),
|
|
180
|
+
onClick: t[2] || (t[2] = (n) => e(f).forward())
|
|
181
|
+
}, {
|
|
182
|
+
default: l(() => [
|
|
183
|
+
r(e(u), {
|
|
184
|
+
icon: "ph:caret-right",
|
|
185
|
+
width: 16
|
|
186
|
+
})
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["disabled", "aria-label"])
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
}),
|
|
193
|
+
v.showBrand ? (i(), h("div", Ge, [
|
|
194
|
+
r(Ae, { size: 26 }),
|
|
195
|
+
w("span", We, c(e(Q).title), 1)
|
|
196
|
+
])) : g("", !0),
|
|
197
|
+
!e($) && e(m).showBreadcrumb && L.value.length ? (i(), s(e(Ce), {
|
|
198
|
+
key: 2,
|
|
199
|
+
class: "crumb"
|
|
200
|
+
}, {
|
|
201
|
+
default: l(() => [
|
|
202
|
+
(i(!0), h(U, null, K(L.value, (n, R) => (i(), s(e(_e), { key: R }, {
|
|
203
|
+
default: l(() => [
|
|
204
|
+
b(c(n), 1)
|
|
115
205
|
]),
|
|
116
206
|
_: 2
|
|
117
207
|
}, 1024))), 128))
|
|
118
208
|
]),
|
|
119
209
|
_: 1
|
|
120
|
-
})) : (
|
|
210
|
+
})) : (i(), h("span", je, c(ne.value), 1))
|
|
121
211
|
]),
|
|
122
|
-
|
|
123
|
-
|
|
212
|
+
v.topMenu ? (i(), h("div", Je, [
|
|
213
|
+
v.topMenu === "full" ? (i(), s(e(q), {
|
|
124
214
|
key: 0,
|
|
125
215
|
mode: "horizontal",
|
|
126
216
|
responsive: "",
|
|
127
|
-
options: e(
|
|
128
|
-
value: e(
|
|
129
|
-
"onUpdate:value": e(
|
|
130
|
-
}, null, 8, ["options", "value", "onUpdate:value"])) :
|
|
217
|
+
options: e(Z),
|
|
218
|
+
value: e(D),
|
|
219
|
+
"onUpdate:value": e(F)
|
|
220
|
+
}, null, 8, ["options", "value", "onUpdate:value"])) : v.topMenu === "l1" ? (i(), s(e(q), {
|
|
131
221
|
key: 1,
|
|
132
222
|
mode: "horizontal",
|
|
133
223
|
responsive: "",
|
|
134
|
-
options: e(
|
|
135
|
-
value: e(
|
|
136
|
-
"onUpdate:value": e(
|
|
137
|
-
}, null, 8, ["options", "value", "onUpdate:value"])) : (
|
|
224
|
+
options: e(ee),
|
|
225
|
+
value: e(te),
|
|
226
|
+
"onUpdate:value": e(oe)
|
|
227
|
+
}, null, 8, ["options", "value", "onUpdate:value"])) : (i(), s(e(q), {
|
|
138
228
|
key: 2,
|
|
139
229
|
mode: "horizontal",
|
|
140
230
|
responsive: "",
|
|
141
|
-
options: e(
|
|
142
|
-
value: e(
|
|
143
|
-
"onUpdate:value": e(
|
|
231
|
+
options: e(ae),
|
|
232
|
+
value: e(D),
|
|
233
|
+
"onUpdate:value": e(F)
|
|
144
234
|
}, null, 8, ["options", "value", "onUpdate:value"]))
|
|
145
|
-
])) :
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
trigger:
|
|
149
|
-
|
|
235
|
+
])) : g("", !0),
|
|
236
|
+
w("div", Pe, [
|
|
237
|
+
v.showSearch ? (i(), s(e(C), { key: 0 }, {
|
|
238
|
+
trigger: l(() => [
|
|
239
|
+
r(e(p), {
|
|
150
240
|
quaternary: "",
|
|
151
241
|
circle: "",
|
|
152
242
|
class: "mobile-hide",
|
|
153
|
-
|
|
243
|
+
"aria-label": e(o)("app.search"),
|
|
244
|
+
onClick: t[3] || (t[3] = (n) => P("search"))
|
|
154
245
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
246
|
+
default: l(() => [
|
|
247
|
+
r(e(u), {
|
|
157
248
|
icon: "ph:magnifying-glass",
|
|
158
|
-
width:
|
|
249
|
+
width: 19
|
|
159
250
|
})
|
|
160
251
|
]),
|
|
161
252
|
_: 1
|
|
162
|
-
})
|
|
253
|
+
}, 8, ["aria-label"])
|
|
163
254
|
]),
|
|
164
|
-
default:
|
|
165
|
-
|
|
255
|
+
default: l(() => [
|
|
256
|
+
b(" " + c(e(o)("app.search")) + " (Ctrl+K) ", 1)
|
|
166
257
|
]),
|
|
167
258
|
_: 1
|
|
168
|
-
}),
|
|
169
|
-
|
|
170
|
-
trigger:
|
|
171
|
-
|
|
259
|
+
})) : g("", !0),
|
|
260
|
+
r(e(C), null, {
|
|
261
|
+
trigger: l(() => [
|
|
262
|
+
r(e(p), {
|
|
172
263
|
quaternary: "",
|
|
173
264
|
circle: "",
|
|
174
265
|
class: "mobile-hide",
|
|
175
|
-
"aria-label": e(
|
|
176
|
-
onClick:
|
|
266
|
+
"aria-label": e(m).isDark ? e(o)("app.dark") : e(o)("app.light"),
|
|
267
|
+
onClick: t[4] || (t[4] = (n) => e(m).toggleDark())
|
|
177
268
|
}, {
|
|
178
|
-
default:
|
|
179
|
-
|
|
180
|
-
icon: e(
|
|
181
|
-
width:
|
|
269
|
+
default: l(() => [
|
|
270
|
+
r(e(u), {
|
|
271
|
+
icon: e(m).isDark ? "ph:moon" : "ph:sun",
|
|
272
|
+
width: 19
|
|
182
273
|
}, null, 8, ["icon"])
|
|
183
274
|
]),
|
|
184
275
|
_: 1
|
|
185
276
|
}, 8, ["aria-label"])
|
|
186
277
|
]),
|
|
187
|
-
default:
|
|
188
|
-
|
|
278
|
+
default: l(() => [
|
|
279
|
+
b(" " + c(e(m).isDark ? e(o)("app.dark") : e(o)("app.light")), 1)
|
|
189
280
|
]),
|
|
190
281
|
_: 1
|
|
191
|
-
})
|
|
192
|
-
|
|
193
|
-
trigger:
|
|
194
|
-
|
|
282
|
+
}),
|
|
283
|
+
e(X) ? (i(), s(e(C), { key: 1 }, {
|
|
284
|
+
trigger: l(() => [
|
|
285
|
+
r(e(p), {
|
|
195
286
|
quaternary: "",
|
|
196
287
|
circle: "",
|
|
197
|
-
|
|
288
|
+
class: "mobile-hide",
|
|
289
|
+
"aria-label": e(z) ? e(o)("app.exitFullscreen") : e(o)("app.fullscreen"),
|
|
290
|
+
onClick: t[5] || (t[5] = (n) => e(Y)())
|
|
198
291
|
}, {
|
|
199
|
-
default:
|
|
200
|
-
|
|
201
|
-
icon: e(
|
|
202
|
-
width:
|
|
292
|
+
default: l(() => [
|
|
293
|
+
r(e(u), {
|
|
294
|
+
icon: e(z) ? "ph:corners-in" : "ph:corners-out",
|
|
295
|
+
width: 19
|
|
203
296
|
}, null, 8, ["icon"])
|
|
204
297
|
]),
|
|
205
298
|
_: 1
|
|
206
|
-
})
|
|
299
|
+
}, 8, ["aria-label"])
|
|
207
300
|
]),
|
|
208
|
-
default:
|
|
209
|
-
|
|
301
|
+
default: l(() => [
|
|
302
|
+
b(" " + c(e(z) ? e(o)("app.exitFullscreen") : e(o)("app.fullscreen")), 1)
|
|
210
303
|
]),
|
|
211
304
|
_: 1
|
|
212
|
-
}),
|
|
213
|
-
|
|
214
|
-
options:
|
|
215
|
-
onSelect:
|
|
305
|
+
})) : g("", !0),
|
|
306
|
+
r(e(G), {
|
|
307
|
+
options: E,
|
|
308
|
+
onSelect: H
|
|
216
309
|
}, {
|
|
217
|
-
default:
|
|
218
|
-
|
|
310
|
+
default: l(() => [
|
|
311
|
+
r(e(p), {
|
|
219
312
|
quaternary: "",
|
|
220
313
|
circle: "",
|
|
221
314
|
class: "mobile-hide",
|
|
222
|
-
"aria-label": e(
|
|
315
|
+
"aria-label": e(o)("app.language")
|
|
223
316
|
}, {
|
|
224
|
-
default:
|
|
225
|
-
|
|
317
|
+
default: l(() => [
|
|
318
|
+
r(e(u), {
|
|
226
319
|
icon: "ph:translate",
|
|
227
|
-
width:
|
|
320
|
+
width: 19
|
|
228
321
|
})
|
|
229
322
|
]),
|
|
230
323
|
_: 1
|
|
@@ -232,121 +325,110 @@ const Ie = { class: "bar" }, Le = { class: "left" }, Oe = {
|
|
|
232
325
|
]),
|
|
233
326
|
_: 1
|
|
234
327
|
}),
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
t(e(p), {
|
|
238
|
-
quaternary: "",
|
|
239
|
-
circle: "",
|
|
240
|
-
class: "mobile-hide",
|
|
241
|
-
onClick: a[4] || (a[4] = (l) => S.value = !0)
|
|
242
|
-
}, {
|
|
243
|
-
default: o(() => [
|
|
244
|
-
t(e(c), {
|
|
245
|
-
icon: "ph:gear-six",
|
|
246
|
-
width: 18
|
|
247
|
-
})
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
})
|
|
251
|
-
]),
|
|
252
|
-
default: o(() => [
|
|
253
|
-
f(" " + u(e(s)("app.settings")), 1)
|
|
254
|
-
]),
|
|
255
|
-
_: 1
|
|
256
|
-
}),
|
|
257
|
-
e(z).modules.length > 1 ? (n(), i(e(h), { key: 1 }, {
|
|
258
|
-
trigger: o(() => [
|
|
259
|
-
t(e(p), {
|
|
260
|
-
quaternary: "",
|
|
261
|
-
circle: "",
|
|
262
|
-
"aria-label": e(s)("app.switchModule"),
|
|
263
|
-
onClick: a[5] || (a[5] = (l) => e(w).push("/module"))
|
|
264
|
-
}, {
|
|
265
|
-
default: o(() => [
|
|
266
|
-
t(e(c), {
|
|
267
|
-
icon: "ph:squares-four",
|
|
268
|
-
width: 18
|
|
269
|
-
})
|
|
270
|
-
]),
|
|
271
|
-
_: 1
|
|
272
|
-
}, 8, ["aria-label"])
|
|
273
|
-
]),
|
|
274
|
-
default: o(() => [
|
|
275
|
-
f(" " + u(e(s)("app.switchModule")), 1)
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
})) : b("", !0),
|
|
279
|
-
(n(!0), m(U, null, F(e(Q), (l) => (n(), m(U, {
|
|
280
|
-
key: l.key
|
|
328
|
+
(i(!0), h(U, null, K(e(re), (n) => (i(), h(U, {
|
|
329
|
+
key: n.key
|
|
281
330
|
}, [
|
|
282
|
-
|
|
283
|
-
trigger:
|
|
284
|
-
|
|
331
|
+
n.component ? (i(), s(be(n.component), { key: 0 })) : (i(), s(e(C), { key: 1 }, {
|
|
332
|
+
trigger: l(() => [
|
|
333
|
+
r(e(p), {
|
|
285
334
|
quaternary: "",
|
|
286
335
|
circle: "",
|
|
287
|
-
class:
|
|
288
|
-
"aria-label":
|
|
289
|
-
onClick: (
|
|
336
|
+
class: ve({ "mobile-hide": !n.keepOnMobile }),
|
|
337
|
+
"aria-label": n.label,
|
|
338
|
+
onClick: (R) => n.onClick()
|
|
290
339
|
}, {
|
|
291
|
-
default:
|
|
292
|
-
|
|
293
|
-
icon:
|
|
294
|
-
size:
|
|
340
|
+
default: l(() => [
|
|
341
|
+
r(Ee, {
|
|
342
|
+
icon: n.icon,
|
|
343
|
+
size: 19
|
|
295
344
|
}, null, 8, ["icon"])
|
|
296
345
|
]),
|
|
297
346
|
_: 2
|
|
298
347
|
}, 1032, ["class", "aria-label", "onClick"])
|
|
299
348
|
]),
|
|
300
|
-
default:
|
|
301
|
-
|
|
349
|
+
default: l(() => [
|
|
350
|
+
b(" " + c(n.label), 1)
|
|
302
351
|
]),
|
|
303
352
|
_: 2
|
|
304
353
|
}, 1024))
|
|
305
354
|
], 64))), 128)),
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}, {
|
|
311
|
-
default: o(() => [
|
|
312
|
-
t(e(p), {
|
|
355
|
+
r(Ve),
|
|
356
|
+
e(x).modules.length > 1 ? (i(), s(e(C), { key: 2 }, {
|
|
357
|
+
trigger: l(() => [
|
|
358
|
+
r(e(p), {
|
|
313
359
|
quaternary: "",
|
|
314
|
-
|
|
360
|
+
circle: "",
|
|
361
|
+
class: "mobile-hide",
|
|
362
|
+
"aria-label": e(o)("app.switchModule"),
|
|
363
|
+
onClick: t[6] || (t[6] = (n) => e(f).push("/module"))
|
|
315
364
|
}, {
|
|
316
|
-
default:
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
size: 22,
|
|
323
|
-
src: e(v).userInfo.avatar
|
|
324
|
-
}, null, 8, ["src"])) : (n(), i(e(c), {
|
|
325
|
-
key: 1,
|
|
326
|
-
icon: "ph:user-circle",
|
|
327
|
-
width: 20
|
|
328
|
-
})),
|
|
329
|
-
k("span", Ae, u(((y = e(v).userInfo) == null ? void 0 : y.name) ?? ((x = e(v).userInfo) == null ? void 0 : x.account) ?? ""), 1)
|
|
330
|
-
];
|
|
331
|
-
}),
|
|
365
|
+
default: l(() => [
|
|
366
|
+
r(e(u), {
|
|
367
|
+
icon: "ph:squares-four",
|
|
368
|
+
width: 19
|
|
369
|
+
})
|
|
370
|
+
]),
|
|
332
371
|
_: 1
|
|
333
372
|
}, 8, ["aria-label"])
|
|
334
373
|
]),
|
|
374
|
+
default: l(() => [
|
|
375
|
+
b(" " + c(e(o)("app.switchModule")), 1)
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
})) : g("", !0),
|
|
379
|
+
r(e(G), {
|
|
380
|
+
options: se.value,
|
|
381
|
+
placement: "bottom-end",
|
|
382
|
+
onSelect: ue
|
|
383
|
+
}, {
|
|
384
|
+
default: l(() => {
|
|
385
|
+
var n;
|
|
386
|
+
return [
|
|
387
|
+
w("div", {
|
|
388
|
+
class: "top-user",
|
|
389
|
+
tabindex: "0",
|
|
390
|
+
role: "button",
|
|
391
|
+
"aria-label": e(o)("app.profile")
|
|
392
|
+
}, [
|
|
393
|
+
(n = e(d).userInfo) != null && n.avatar ? (i(), s(e(W), {
|
|
394
|
+
key: 0,
|
|
395
|
+
round: "",
|
|
396
|
+
size: 28,
|
|
397
|
+
src: e(d).userInfo.avatar
|
|
398
|
+
}, null, 8, ["src"])) : V.value ? (i(), s(e(W), {
|
|
399
|
+
key: 1,
|
|
400
|
+
round: "",
|
|
401
|
+
size: 28
|
|
402
|
+
}, {
|
|
403
|
+
default: l(() => [
|
|
404
|
+
b(c(V.value), 1)
|
|
405
|
+
]),
|
|
406
|
+
_: 1
|
|
407
|
+
})) : (i(), s(e(u), {
|
|
408
|
+
key: 2,
|
|
409
|
+
icon: "ph:user-circle",
|
|
410
|
+
width: 24
|
|
411
|
+
})),
|
|
412
|
+
w("span", Xe, c(_.value), 1),
|
|
413
|
+
r(e(u), {
|
|
414
|
+
icon: "ph:caret-down",
|
|
415
|
+
width: 13,
|
|
416
|
+
class: "caret mobile-hide"
|
|
417
|
+
})
|
|
418
|
+
], 8, Qe)
|
|
419
|
+
];
|
|
420
|
+
}),
|
|
335
421
|
_: 1
|
|
336
422
|
}, 8, ["options"])
|
|
337
423
|
]),
|
|
338
|
-
|
|
339
|
-
show: S.value,
|
|
340
|
-
"onUpdate:show": a[6] || (a[6] = (l) => S.value = l)
|
|
341
|
-
}, null, 8, ["show"]),
|
|
342
|
-
t(qe, {
|
|
424
|
+
r(He, {
|
|
343
425
|
show: N.value,
|
|
344
|
-
"onUpdate:show":
|
|
426
|
+
"onUpdate:show": t[7] || (t[7] = (n) => N.value = n)
|
|
345
427
|
}, null, 8, ["show"])
|
|
346
428
|
]));
|
|
347
429
|
}
|
|
348
430
|
});
|
|
349
431
|
export {
|
|
350
|
-
|
|
432
|
+
wa as default
|
|
351
433
|
};
|
|
352
434
|
//# sourceMappingURL=AppHeader2.vue.js.map
|