smart-admin-web 10.15.0 → 10.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/api/index.d.ts +4 -2
- package/dist/api/index.js +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/schema.d.ts +39 -5
- package/dist/assets/icons/ph-subset.json.js +5 -5
- 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/TableTotal/index.vue.d.ts +6 -0
- 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/useModule.js +39 -29
- package/dist/composables/useModule.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 +15 -0
- package/dist/composables/useSite.js +16 -14
- 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 +219 -205
- 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 +19 -18
- 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/loginHero.d.ts +2 -2
- package/dist/lib/loginHero.js.map +1 -1
- package/dist/lib/runtime.js +1 -1
- 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 +221 -15
- package/dist/locales/en-US.js +230 -21
- 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 +221 -15
- package/dist/locales/zh-CN.js +238 -28
- 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 +8 -8
- 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 +407 -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.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.js +3 -3
- package/dist/views/login/components/LoginHeroPanel2.vue.js +34 -39
- package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -1
- 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 +2 -2
- package/dist/views/system/config/components/AdminMock2.vue.js +60 -43
- package/dist/views/system/config/components/AdminMock2.vue.js.map +1 -1
- package/dist/views/system/config/components/AdvancedSection.vue.js +5 -2
- package/dist/views/system/config/components/AdvancedSection.vue.js.map +1 -1
- package/dist/views/system/config/components/AdvancedSection2.vue.js +98 -70
- package/dist/views/system/config/components/AdvancedSection2.vue.js.map +1 -1
- package/dist/views/system/config/components/BrandSection.vue.js +2 -2
- package/dist/views/system/config/components/BrandSection2.vue.js +121 -119
- package/dist/views/system/config/components/BrandSection2.vue.js.map +1 -1
- package/dist/views/system/config/components/CfgGroup.vue.js +3 -3
- package/dist/views/system/config/components/CfgGroup2.vue.js.map +1 -1
- package/dist/views/system/config/components/CfgRow.vue.js +1 -1
- package/dist/views/system/config/components/CfgRow2.vue.js +24 -23
- package/dist/views/system/config/components/CfgRow2.vue.js.map +1 -1
- package/dist/views/system/config/components/CfgSegment.vue.js +1 -1
- package/dist/views/system/config/components/CfgSegment2.vue.js +16 -15
- package/dist/views/system/config/components/CfgSegment2.vue.js.map +1 -1
- package/dist/views/system/config/components/ConfigFormModal.vue.js +2 -2
- package/dist/views/system/config/components/ConfigFormModal2.vue.js +35 -33
- package/dist/views/system/config/components/ConfigFormModal2.vue.js.map +1 -1
- package/dist/views/system/config/components/JobSection.vue.js +2 -2
- package/dist/views/system/config/components/JobSection2.vue.js +46 -44
- package/dist/views/system/config/components/JobSection2.vue.js.map +1 -1
- package/dist/views/system/config/components/LoginMock.vue.js +3 -3
- package/dist/views/system/config/components/LoginMock2.vue.js +83 -72
- package/dist/views/system/config/components/LoginMock2.vue.js.map +1 -1
- package/dist/views/system/config/components/LogoCropper.vue.js +1 -1
- package/dist/views/system/config/components/LogoCropper2.vue.js.map +1 -1
- package/dist/views/system/config/components/LogoEditor.vue.js +2 -2
- package/dist/views/system/config/components/LogoEditor2.vue.js +11 -13
- package/dist/views/system/config/components/LogoEditor2.vue.js.map +1 -1
- package/dist/views/system/config/components/ProviderSheet.vue.js +3 -3
- package/dist/views/system/config/components/ProviderSheet2.vue.js.map +1 -1
- package/dist/views/system/config/components/SectionLayout.vue.d.ts +4 -2
- package/dist/views/system/config/components/SectionLayout.vue.js +2 -2
- package/dist/views/system/config/components/SectionLayout2.vue.js +51 -27
- package/dist/views/system/config/components/SectionLayout2.vue.js.map +1 -1
- package/dist/views/system/config/components/SecuritySection.vue.js +2 -2
- package/dist/views/system/config/components/SecuritySection2.vue.js +207 -206
- package/dist/views/system/config/components/SecuritySection2.vue.js.map +1 -1
- package/dist/views/system/config/components/SensitiveSection.vue.js +2 -2
- package/dist/views/system/config/components/SensitiveSection2.vue.js +107 -102
- package/dist/views/system/config/components/SensitiveSection2.vue.js.map +1 -1
- package/dist/views/system/config/components/UploadSection.vue.js +2 -2
- package/dist/views/system/config/components/UploadSection2.vue.js +86 -77
- package/dist/views/system/config/components/UploadSection2.vue.js.map +1 -1
- 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 +2 -2
- package/dist/views/system/config/draft.js.map +1 -1
- package/dist/views/system/config/groups.d.ts +4 -1
- package/dist/views/system/config/groups.js +54 -49
- package/dist/views/system/config/groups.js.map +1 -1
- package/dist/views/system/config/index.vue.js +3 -2
- package/dist/views/system/config/index.vue.js.map +1 -1
- package/dist/views/system/config/index2.vue.js +173 -148
- 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/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 +3 -5
- 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.d.ts +0 -16
- 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.d.ts +0 -3
- 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 -65
- package/dist/views/login/skins/SplitPanel2.vue.js.map +0 -1
- package/dist/views/login/skins/Spotlight.vue.d.ts +0 -3
- 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/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/WatermarkSection.vue.d.ts} +0 -0
|
@@ -1,308 +1,361 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { NCard as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
18
|
-
const kt = { class: "view" }, ft = { class: "banner" }, bt = { class: "banner-body" }, yt = { class: "hi" }, gt = { class: "tip" }, wt = {
|
|
1
|
+
import { defineComponent as ee, ref as m, computed as _, onMounted as te, onUnmounted as ie, openBlock as i, createElementBlock as r, createVNode as l, unref as e, withCtx as n, createElementVNode as a, toDisplayString as c, createCommentVNode as k, normalizeStyle as j, createSlots as ae, createBlock as f, Fragment as y, renderList as C, createTextVNode as se, withModifiers as H, normalizeClass as S } from "vue";
|
|
2
|
+
import { NCard as T, NList as J, NListItem as K, NEmpty as E, NTag as ne, NButton as g } from "naive-ui";
|
|
3
|
+
import { useElementSize as oe } from "@vueuse/core";
|
|
4
|
+
import { Icon as $ } from "@iconify/vue";
|
|
5
|
+
import { useI18n as le } from "vue-i18n";
|
|
6
|
+
import { useRoute as re, useRouter as ce } from "vue-router";
|
|
7
|
+
import { useUserStore as ue } from "../../stores/user.js";
|
|
8
|
+
import { personalApi as b, noticeApi as de } from "../../api/index.js";
|
|
9
|
+
import { useMenuFlat as pe } from "../../composables/useMenuFlat.js";
|
|
10
|
+
import { translateMenuTitle as O } from "../../locales/menuTitle.js";
|
|
11
|
+
import { onlineDurationParts as me } from "./onlineDuration.js";
|
|
12
|
+
import { buildShortcutGroups as ve } from "./shortcutGroups.js";
|
|
13
|
+
import he from "./ShortcutPicker.vue.js";
|
|
14
|
+
import Q from "../../components/AppIcon.vue.js";
|
|
15
|
+
import { fmtDateTime as M } from "../../utils/format.js";
|
|
16
|
+
import { uaSummary as fe } from "../../utils/ua.js";
|
|
17
|
+
const _e = { class: "banner" }, ke = { class: "avatar" }, ye = { class: "banner-body" }, be = { class: "hi" }, ge = { class: "tip" }, we = {
|
|
19
18
|
key: 0,
|
|
20
19
|
class: "meta-row"
|
|
21
|
-
},
|
|
20
|
+
}, ze = { key: 0 }, xe = {
|
|
22
21
|
key: 1,
|
|
23
|
-
class: "meta-dot"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class: "todo-list"
|
|
27
|
-
}, $t = ["onClick"], Tt = { class: "todo-main" }, xt = { class: "todo-title" }, Nt = {
|
|
22
|
+
class: "meta-dot",
|
|
23
|
+
"aria-hidden": "true"
|
|
24
|
+
}, qe = { class: "todo-row" }, Ce = { class: "todo-main" }, Se = { class: "todo-title" }, Te = {
|
|
28
25
|
key: 0,
|
|
29
26
|
class: "todo-sub"
|
|
30
|
-
},
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "quick-group-label"
|
|
33
|
-
}, It = {
|
|
34
|
-
key: 1,
|
|
35
|
-
class: "quick-grid"
|
|
36
|
-
}, Et = ["aria-label", "onClick"], Mt = ["onClick"], At = { class: "quick-name" }, Bt = {
|
|
37
|
-
key: 2,
|
|
38
|
-
class: "quick-group-label"
|
|
39
|
-
}, Ut = {
|
|
40
|
-
key: 3,
|
|
41
|
-
class: "quick-grid"
|
|
42
|
-
}, Vt = ["aria-label", "onClick"], Rt = ["onClick"], Ft = { class: "quick-name" }, Gt = { class: "notice-title" }, jt = {
|
|
43
|
-
key: 0,
|
|
44
|
-
class: "dot"
|
|
45
|
-
}, Ht = { class: "notice-time" }, re = /* @__PURE__ */ W({
|
|
27
|
+
}, $e = { class: "todo-time" }, Ne = { key: 0 }, Le = { class: "quick-group-label" }, Pe = { class: "quick-grid" }, De = { class: "quick-name" }, Ie = { class: "quick-grid" }, Re = { class: "quick-name" }, Ee = ["title"], Me = { class: "notice-time" }, tt = /* @__PURE__ */ ee({
|
|
46
28
|
__name: "biz",
|
|
47
|
-
setup(
|
|
48
|
-
const { t:
|
|
49
|
-
let
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
52
|
-
const { hours:
|
|
53
|
-
return
|
|
54
|
-
}),
|
|
55
|
-
if (!
|
|
56
|
-
const
|
|
57
|
-
return `${
|
|
58
|
-
}),
|
|
59
|
-
() =>
|
|
60
|
-
|
|
61
|
-
|
|
29
|
+
setup(Ae) {
|
|
30
|
+
const { t: o } = le(), A = ue(), B = re(), w = ce(), W = pe(), U = m(null), { width: z } = oe(U), X = _(() => z.value === 0 || z.value >= 760), V = _(() => z.value === 0 || z.value >= 600), N = m(null), v = m(null), F = m(/* @__PURE__ */ new Date());
|
|
31
|
+
let L;
|
|
32
|
+
const x = _(() => {
|
|
33
|
+
if (!N.value) return "";
|
|
34
|
+
const { hours: s, minutes: u } = me(N.value, F.value);
|
|
35
|
+
return s > 0 ? o("biz.onlineDuration", { hours: s, minutes: u }) : o("biz.onlineDurationShort", { minutes: u });
|
|
36
|
+
}), P = _(() => {
|
|
37
|
+
if (!v.value) return o("biz.firstLogin");
|
|
38
|
+
const s = fe(v.value.userAgent), u = v.value.ip ? ` · ${v.value.ip}` : "";
|
|
39
|
+
return `${o("biz.lastLogin", { time: M(v.value.time, { seconds: !1 }) })}${u}${s ? ` · ${s}` : ""}`;
|
|
40
|
+
}), d = m(null), q = m([]), D = m(!1), h = _(
|
|
41
|
+
() => ve(
|
|
42
|
+
q.value.filter((s) => s.menuPath !== B.path),
|
|
43
|
+
W.value
|
|
62
44
|
)
|
|
63
|
-
),
|
|
64
|
-
async function
|
|
45
|
+
), Y = _(() => q.value.filter((s) => s.pinned).map((s) => s.menuPath));
|
|
46
|
+
async function I() {
|
|
65
47
|
try {
|
|
66
|
-
|
|
48
|
+
q.value = await b.shortcuts();
|
|
67
49
|
} catch {
|
|
68
|
-
|
|
50
|
+
q.value = [];
|
|
69
51
|
}
|
|
70
52
|
}
|
|
71
|
-
async function
|
|
72
|
-
await
|
|
53
|
+
async function G(s) {
|
|
54
|
+
await b.pinShortcut(s), await I();
|
|
73
55
|
}
|
|
74
|
-
async function
|
|
75
|
-
await
|
|
56
|
+
async function Z(s) {
|
|
57
|
+
await b.unpinShortcut(s), await I();
|
|
76
58
|
}
|
|
77
|
-
const
|
|
78
|
-
return
|
|
79
|
-
var
|
|
80
|
-
|
|
81
|
-
|
|
59
|
+
const R = m([]);
|
|
60
|
+
return te(async () => {
|
|
61
|
+
var s;
|
|
62
|
+
L = setInterval(() => {
|
|
63
|
+
F.value = /* @__PURE__ */ new Date();
|
|
82
64
|
}, 6e4);
|
|
83
65
|
try {
|
|
84
|
-
const u = await
|
|
85
|
-
|
|
66
|
+
const u = await b.sessions();
|
|
67
|
+
N.value = ((s = u.find((t) => t.isCurrent)) == null ? void 0 : s.loginTime) ?? null;
|
|
86
68
|
} catch {
|
|
87
69
|
}
|
|
88
70
|
try {
|
|
89
|
-
|
|
71
|
+
v.value = await b.lastLogin();
|
|
90
72
|
} catch {
|
|
91
|
-
|
|
73
|
+
v.value = null;
|
|
92
74
|
}
|
|
93
75
|
try {
|
|
94
|
-
|
|
76
|
+
d.value = await b.workbenchTodo();
|
|
95
77
|
} catch {
|
|
96
|
-
|
|
78
|
+
d.value = null;
|
|
97
79
|
}
|
|
98
|
-
await
|
|
80
|
+
await I();
|
|
99
81
|
try {
|
|
100
|
-
|
|
82
|
+
R.value = (await de.mine({ page: 1, pageSize: 5 })).items;
|
|
101
83
|
} catch {
|
|
102
84
|
}
|
|
103
|
-
}),
|
|
104
|
-
|
|
105
|
-
}), (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
85
|
+
}), ie(() => {
|
|
86
|
+
L && clearInterval(L);
|
|
87
|
+
}), (s, u) => (i(), r("div", {
|
|
88
|
+
ref_key: "viewRef",
|
|
89
|
+
ref: U,
|
|
90
|
+
class: "view"
|
|
91
|
+
}, [
|
|
92
|
+
l(e(T), {
|
|
93
|
+
class: "a-card banner-card",
|
|
94
|
+
bordered: !0,
|
|
95
|
+
"content-style": "padding: 18px 20px"
|
|
96
|
+
}, {
|
|
97
|
+
default: n(() => {
|
|
98
|
+
var t, p;
|
|
99
|
+
return [
|
|
100
|
+
a("div", _e, [
|
|
101
|
+
a("div", ke, [
|
|
102
|
+
l(e($), {
|
|
103
|
+
icon: "ph:user",
|
|
104
|
+
width: 26
|
|
105
|
+
})
|
|
106
|
+
]),
|
|
107
|
+
a("div", ye, [
|
|
108
|
+
a("div", be, c(e(o)("biz.welcome", { name: ((t = e(A).userInfo) == null ? void 0 : t.name) ?? ((p = e(A).userInfo) == null ? void 0 : p.account) ?? "" })), 1),
|
|
109
|
+
a("div", ge, c(e(o)("biz.subtitle")), 1),
|
|
110
|
+
x.value || P.value ? (i(), r("div", we, [
|
|
111
|
+
x.value ? (i(), r("span", ze, c(x.value), 1)) : k("", !0),
|
|
112
|
+
x.value && P.value && V.value ? (i(), r("span", xe)) : k("", !0),
|
|
113
|
+
a("span", null, c(P.value), 1)
|
|
114
|
+
])) : k("", !0)
|
|
115
|
+
])
|
|
116
|
+
])
|
|
117
|
+
];
|
|
118
|
+
}),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
a("div", {
|
|
122
|
+
class: "row",
|
|
123
|
+
style: j({
|
|
124
|
+
gridTemplateColumns: X.value ? "minmax(0, 1.35fr) minmax(0, 1fr)" : "minmax(0, 1fr)"
|
|
125
|
+
})
|
|
126
|
+
}, [
|
|
127
|
+
l(e(T), {
|
|
128
|
+
class: "a-card",
|
|
129
|
+
title: e(o)("biz.todo"),
|
|
130
|
+
bordered: !0,
|
|
131
|
+
"content-style": "padding: 2px 8px 8px"
|
|
132
|
+
}, ae({
|
|
133
|
+
default: n(() => [
|
|
134
|
+
d.value && d.value.items.length ? (i(), f(e(J), {
|
|
135
|
+
key: 0,
|
|
136
|
+
hoverable: "",
|
|
137
|
+
"show-divider": !1
|
|
138
|
+
}, {
|
|
139
|
+
default: n(() => [
|
|
140
|
+
(i(!0), r(y, null, C(d.value.items, (t) => (i(), f(e(K), {
|
|
141
|
+
key: t.id,
|
|
142
|
+
class: "list-item",
|
|
143
|
+
style: j({ cursor: t.url ? "pointer" : "default" }),
|
|
144
|
+
onClick: (p) => t.url && e(w).push(t.url)
|
|
161
145
|
}, {
|
|
162
|
-
default:
|
|
163
|
-
|
|
146
|
+
default: n(() => [
|
|
147
|
+
a("div", qe, [
|
|
148
|
+
a("div", Ce, [
|
|
149
|
+
a("div", Se, c(t.title), 1),
|
|
150
|
+
t.description ? (i(), r("div", Te, c(t.description), 1)) : k("", !0)
|
|
151
|
+
]),
|
|
152
|
+
a("span", $e, c(e(M)(t.createTime, { seconds: !1 })), 1)
|
|
153
|
+
])
|
|
164
154
|
]),
|
|
165
|
-
_:
|
|
166
|
-
})
|
|
155
|
+
_: 2
|
|
156
|
+
}, 1032, ["style", "onClick"]))), 128))
|
|
167
157
|
]),
|
|
168
|
-
|
|
169
|
-
} :
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
158
|
+
_: 1
|
|
159
|
+
})) : (i(), f(e(E), {
|
|
160
|
+
key: 1,
|
|
161
|
+
description: e(o)("biz.todoEmpty"),
|
|
162
|
+
class: "empty"
|
|
163
|
+
}, null, 8, ["description"]))
|
|
164
|
+
]),
|
|
165
|
+
_: 2
|
|
166
|
+
}, [
|
|
167
|
+
d.value && d.value.totalCount > 0 ? {
|
|
168
|
+
name: "header-extra",
|
|
169
|
+
fn: n(() => [
|
|
170
|
+
l(e(ne), {
|
|
171
|
+
type: "error",
|
|
172
|
+
round: "",
|
|
177
173
|
size: "small",
|
|
178
|
-
|
|
179
|
-
circle: "",
|
|
180
|
-
onClick: u[0] || (u[0] = (e) => N.value = !0)
|
|
174
|
+
bordered: !1
|
|
181
175
|
}, {
|
|
182
|
-
|
|
183
|
-
c(
|
|
184
|
-
icon: "ph:plus",
|
|
185
|
-
width: 16
|
|
186
|
-
})
|
|
176
|
+
default: n(() => [
|
|
177
|
+
se(c(d.value.totalCount), 1)
|
|
187
178
|
]),
|
|
188
179
|
_: 1
|
|
189
180
|
})
|
|
190
181
|
]),
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
182
|
+
key: "0"
|
|
183
|
+
} : void 0
|
|
184
|
+
]), 1032, ["title"]),
|
|
185
|
+
l(e(T), {
|
|
186
|
+
class: "a-card",
|
|
187
|
+
title: e(o)("biz.quick"),
|
|
188
|
+
bordered: !0,
|
|
189
|
+
"content-style": "padding: 4px 16px 16px"
|
|
190
|
+
}, {
|
|
191
|
+
"header-extra": n(() => [
|
|
192
|
+
l(e(g), {
|
|
193
|
+
quaternary: "",
|
|
194
|
+
circle: "",
|
|
195
|
+
"aria-label": e(o)("biz.quickAdd"),
|
|
196
|
+
onClick: u[0] || (u[0] = (t) => D.value = !0)
|
|
197
|
+
}, {
|
|
198
|
+
icon: n(() => [
|
|
199
|
+
l(e($), {
|
|
200
|
+
icon: "ph:plus",
|
|
201
|
+
width: 16
|
|
202
|
+
})
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}, 8, ["aria-label"])
|
|
206
|
+
]),
|
|
207
|
+
default: n(() => [
|
|
208
|
+
h.value.pinned.length || h.value.suggested.length ? (i(), r("div", Ne, [
|
|
209
|
+
h.value.pinned.length ? (i(), r(y, { key: 0 }, [
|
|
210
|
+
a("div", Le, c(e(o)("biz.quickPinned")), 1),
|
|
211
|
+
a("div", Pe, [
|
|
212
|
+
(i(!0), r(y, null, C(h.value.pinned, (t) => (i(), r("div", {
|
|
213
|
+
key: t.path,
|
|
214
|
+
class: "quick-item pinned"
|
|
198
215
|
}, [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
type: "button",
|
|
202
|
-
"aria-label": t(a)("biz.quickUnpin"),
|
|
203
|
-
onClick: F((f) => Q(e.path), ["stop"])
|
|
204
|
-
}, [
|
|
205
|
-
c(t(S), {
|
|
206
|
-
icon: "ph:star-fill",
|
|
207
|
-
width: 12
|
|
208
|
-
})
|
|
209
|
-
], 8, Et),
|
|
210
|
-
n("div", {
|
|
216
|
+
l(e(g), {
|
|
217
|
+
quaternary: "",
|
|
211
218
|
class: "quick-body",
|
|
212
|
-
onClick: (
|
|
213
|
-
},
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
onClick: (p) => e(w).push(t.path)
|
|
220
|
+
}, {
|
|
221
|
+
icon: n(() => [
|
|
222
|
+
l(Q, {
|
|
223
|
+
icon: t.icon,
|
|
224
|
+
size: 17
|
|
225
|
+
}, null, 8, ["icon"])
|
|
226
|
+
]),
|
|
227
|
+
default: n(() => [
|
|
228
|
+
a("span", De, c(e(O)(t.title)), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 2
|
|
231
|
+
}, 1032, ["onClick"]),
|
|
232
|
+
l(e(g), {
|
|
233
|
+
quaternary: "",
|
|
234
|
+
circle: "",
|
|
235
|
+
class: "quick-star",
|
|
236
|
+
"aria-label": e(o)("biz.quickUnpin"),
|
|
237
|
+
onClick: H((p) => Z(t.path), ["stop"])
|
|
238
|
+
}, {
|
|
239
|
+
icon: n(() => [
|
|
240
|
+
l(e($), {
|
|
241
|
+
icon: "ph:star-fill",
|
|
242
|
+
width: 14,
|
|
243
|
+
class: "star-on"
|
|
244
|
+
})
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["aria-label", "onClick"])
|
|
220
248
|
]))), 128))
|
|
221
|
-
])
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
249
|
+
])
|
|
250
|
+
], 64)) : k("", !0),
|
|
251
|
+
h.value.suggested.length ? (i(), r(y, { key: 1 }, [
|
|
252
|
+
a("div", {
|
|
253
|
+
class: S(["quick-group-label", { "after-pinned": h.value.pinned.length }])
|
|
254
|
+
}, c(e(o)("biz.quickSuggested")), 3),
|
|
255
|
+
a("div", Ie, [
|
|
256
|
+
(i(!0), r(y, null, C(h.value.suggested, (t) => (i(), r("div", {
|
|
257
|
+
key: t.path,
|
|
226
258
|
class: "quick-item suggested"
|
|
227
259
|
}, [
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
type: "button",
|
|
231
|
-
"aria-label": t(a)("biz.quickPin"),
|
|
232
|
-
onClick: F((f) => U(e.path), ["stop"])
|
|
233
|
-
}, [
|
|
234
|
-
c(t(S), {
|
|
235
|
-
icon: "ph:star",
|
|
236
|
-
width: 12
|
|
237
|
-
})
|
|
238
|
-
], 8, Vt),
|
|
239
|
-
n("div", {
|
|
260
|
+
l(e(g), {
|
|
261
|
+
quaternary: "",
|
|
240
262
|
class: "quick-body",
|
|
241
|
-
onClick: (
|
|
242
|
-
},
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
], 8, Rt)
|
|
249
|
-
]))), 128))
|
|
250
|
-
])) : r("", !0)
|
|
251
|
-
])) : (o(), y(t(I), {
|
|
252
|
-
key: 1,
|
|
253
|
-
description: t(a)("biz.noMenus")
|
|
254
|
-
}, null, 8, ["description"]))
|
|
255
|
-
]),
|
|
256
|
-
_: 1
|
|
257
|
-
}, 8, ["title"])
|
|
258
|
-
]),
|
|
259
|
-
c(t(D), {
|
|
260
|
-
title: t(a)("biz.notices"),
|
|
261
|
-
bordered: !0
|
|
262
|
-
}, {
|
|
263
|
-
default: d(() => [
|
|
264
|
-
P.value.length ? (o(), y(t(it), {
|
|
265
|
-
key: 0,
|
|
266
|
-
"show-divider": !1
|
|
267
|
-
}, {
|
|
268
|
-
default: d(() => [
|
|
269
|
-
(o(!0), s(C, null, q(P.value, (e) => (o(), y(t(st), {
|
|
270
|
-
key: e.id
|
|
271
|
-
}, {
|
|
272
|
-
default: d(() => [
|
|
273
|
-
n("div", {
|
|
274
|
-
class: "notice-row",
|
|
275
|
-
onClick: u[1] || (u[1] = (f) => t(g).push("/personal/notice"))
|
|
276
|
-
}, [
|
|
277
|
-
n("span", Gt, [
|
|
278
|
-
e.isRead ? r("", !0) : (o(), s("span", jt)),
|
|
279
|
-
R(" " + l(e.title), 1)
|
|
263
|
+
onClick: (p) => e(w).push(t.path)
|
|
264
|
+
}, {
|
|
265
|
+
icon: n(() => [
|
|
266
|
+
l(Q, {
|
|
267
|
+
icon: t.icon,
|
|
268
|
+
size: 17
|
|
269
|
+
}, null, 8, ["icon"])
|
|
280
270
|
]),
|
|
281
|
-
n(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
271
|
+
default: n(() => [
|
|
272
|
+
a("span", Re, c(e(O)(t.title)), 1)
|
|
273
|
+
]),
|
|
274
|
+
_: 2
|
|
275
|
+
}, 1032, ["onClick"]),
|
|
276
|
+
l(e(g), {
|
|
277
|
+
quaternary: "",
|
|
278
|
+
circle: "",
|
|
279
|
+
class: "quick-star",
|
|
280
|
+
"aria-label": e(o)("biz.quickPin"),
|
|
281
|
+
onClick: H((p) => G(t.path), ["stop"])
|
|
282
|
+
}, {
|
|
283
|
+
icon: n(() => [
|
|
284
|
+
l(e($), {
|
|
285
|
+
icon: "ph:star",
|
|
286
|
+
width: 14,
|
|
287
|
+
class: "star-off"
|
|
288
|
+
})
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, ["aria-label", "onClick"])
|
|
292
|
+
]))), 128))
|
|
293
|
+
])
|
|
294
|
+
], 64)) : k("", !0)
|
|
295
|
+
])) : (i(), f(e(E), {
|
|
289
296
|
key: 1,
|
|
290
|
-
description:
|
|
297
|
+
description: e(o)("biz.noMenus"),
|
|
298
|
+
class: "empty"
|
|
291
299
|
}, null, 8, ["description"]))
|
|
292
300
|
]),
|
|
293
301
|
_: 1
|
|
294
|
-
}, 8, ["title"])
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
}, 8, ["title"])
|
|
303
|
+
], 4),
|
|
304
|
+
l(e(T), {
|
|
305
|
+
class: "a-card",
|
|
306
|
+
title: e(o)("biz.notices"),
|
|
307
|
+
bordered: !0,
|
|
308
|
+
"content-style": "padding: 2px 8px 8px"
|
|
309
|
+
}, {
|
|
310
|
+
default: n(() => [
|
|
311
|
+
R.value.length ? (i(), f(e(J), {
|
|
312
|
+
key: 0,
|
|
313
|
+
hoverable: "",
|
|
314
|
+
clickable: "",
|
|
315
|
+
"show-divider": !1
|
|
316
|
+
}, {
|
|
317
|
+
default: n(() => [
|
|
318
|
+
(i(!0), r(y, null, C(R.value, (t) => (i(), f(e(K), {
|
|
319
|
+
key: t.id,
|
|
320
|
+
class: "list-item",
|
|
321
|
+
onClick: u[1] || (u[1] = (p) => e(w).push("/personal/notice"))
|
|
322
|
+
}, {
|
|
323
|
+
default: n(() => [
|
|
324
|
+
a("div", {
|
|
325
|
+
class: S(["notice-row", { stacked: !V.value }])
|
|
326
|
+
}, [
|
|
327
|
+
a("span", {
|
|
328
|
+
class: S(["dot", { unread: !t.isRead }])
|
|
329
|
+
}, null, 2),
|
|
330
|
+
a("span", {
|
|
331
|
+
class: S(["notice-title", { unread: !t.isRead }]),
|
|
332
|
+
title: t.title
|
|
333
|
+
}, c(t.title), 11, Ee),
|
|
334
|
+
a("span", Me, c(e(M)(t.publishTime, { seconds: !1 })), 1)
|
|
335
|
+
], 2)
|
|
336
|
+
]),
|
|
337
|
+
_: 2
|
|
338
|
+
}, 1024))), 128))
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
})) : (i(), f(e(E), {
|
|
342
|
+
key: 1,
|
|
343
|
+
description: e(o)("biz.noticesEmpty"),
|
|
344
|
+
class: "empty"
|
|
345
|
+
}, null, 8, ["description"]))
|
|
346
|
+
]),
|
|
347
|
+
_: 1
|
|
348
|
+
}, 8, ["title"]),
|
|
349
|
+
l(he, {
|
|
350
|
+
show: D.value,
|
|
351
|
+
"onUpdate:show": u[2] || (u[2] = (t) => D.value = t),
|
|
352
|
+
"exclude-paths": [...Y.value, e(B).path],
|
|
353
|
+
onPick: G
|
|
354
|
+
}, null, 8, ["show", "exclude-paths"])
|
|
355
|
+
], 512));
|
|
303
356
|
}
|
|
304
357
|
});
|
|
305
358
|
export {
|
|
306
|
-
|
|
359
|
+
tt as default
|
|
307
360
|
};
|
|
308
361
|
//# sourceMappingURL=biz2.vue.js.map
|