smart-admin-web 10.20.1 → 10.22.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/dist/api/index.d.ts +19 -1
- package/dist/api/index.js +85 -66
- package/dist/api/index.js.map +1 -1
- package/dist/api/schema.d.ts +448 -1
- package/dist/assets/icons/ph-subset.json.js +1 -1
- package/dist/components/FormContainer/index.vue.js +87 -75
- package/dist/components/FormContainer/index.vue.js.map +1 -1
- package/dist/components/UserPicker/UserAvatar.vue.d.ts +8 -0
- package/dist/components/UserPicker/UserAvatar.vue.js +8 -0
- package/dist/components/UserPicker/UserAvatar.vue.js.map +1 -0
- package/dist/components/UserPicker/UserAvatar2.vue.js +38 -0
- package/dist/components/UserPicker/UserAvatar2.vue.js.map +1 -0
- package/dist/components/UserPicker/index.vue.js +1 -1
- package/dist/components/UserPicker/index2.vue.js +328 -186
- package/dist/components/UserPicker/index2.vue.js.map +1 -1
- package/dist/composables/authMenuRoute.d.ts +10 -0
- package/dist/composables/authMenuRoute.js +39 -23
- package/dist/composables/authMenuRoute.js.map +1 -1
- package/dist/composables/useModule.d.ts +3 -1
- package/dist/composables/useModule.js +44 -32
- package/dist/composables/useModule.js.map +1 -1
- package/dist/index.js +246 -242
- package/dist/layouts/components/SideNav.vue.js +2 -2
- package/dist/layouts/components/SideNav2.vue.js.map +1 -1
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/watermark.d.ts +1 -1
- package/dist/locales/en-US.d.ts +68 -3
- package/dist/locales/en-US.js +74 -8
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/kernelMenuTitles.js +1 -0
- package/dist/locales/kernelMenuTitles.js.map +1 -1
- package/dist/locales/zh-CN.d.ts +68 -3
- package/dist/locales/zh-CN.js +74 -8
- package/dist/locales/zh-CN.js.map +1 -1
- package/dist/router/viewRegistry.js +6 -6
- package/dist/router/viewRegistry.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme/naive-theme.js +80 -77
- package/dist/theme/naive-theme.js.map +1 -1
- package/dist/types/api.d.ts +91 -0
- package/dist/types/api.js +17 -15
- package/dist/types/api.js.map +1 -1
- package/dist/utils/shake.d.ts +1 -0
- package/dist/utils/shake.js +30 -0
- package/dist/utils/shake.js.map +1 -0
- package/dist/utils/tree.d.ts +15 -0
- package/dist/utils/tree.js +43 -29
- package/dist/utils/tree.js.map +1 -1
- package/dist/utils/treeCard.d.ts +6 -0
- package/dist/utils/treeCard.js +9 -0
- package/dist/utils/treeCard.js.map +1 -0
- package/dist/views/error/404.vue.js +2 -2
- package/dist/views/error/4042.vue.js +81 -24
- package/dist/views/error/4042.vue.js.map +1 -1
- package/dist/views/login/LoginForm.vue.js +2 -2
- package/dist/views/login/LoginForm2.vue.js +135 -135
- package/dist/views/login/LoginForm2.vue.js.map +1 -1
- package/dist/views/login/components/LoginDesk.vue.js +2 -2
- package/dist/views/login/components/LoginDesk2.vue.js +59 -47
- package/dist/views/login/components/LoginDesk2.vue.js.map +1 -1
- package/dist/views/login/components/LoginHeroPanel.vue.js +2 -2
- package/dist/views/login/components/LoginHeroPanel2.vue.js.map +1 -1
- package/dist/views/personal/notice2.vue.js +1 -1
- package/dist/views/personal/notice2.vue.js.map +1 -1
- package/dist/views/personal/sessions.vue.js +2 -2
- package/dist/views/personal/sessions2.vue.js +41 -40
- package/dist/views/personal/sessions2.vue.js.map +1 -1
- package/dist/views/system/ai-usage/index.vue.js +3 -3
- package/dist/views/system/ai-usage/index2.vue.js +13 -12
- package/dist/views/system/ai-usage/index2.vue.js.map +1 -1
- package/dist/views/system/config/components/AdvancedSection.vue.js +3 -3
- package/dist/views/system/config/components/AdvancedSection2.vue.js +2 -1
- package/dist/views/system/config/components/AdvancedSection2.vue.js.map +1 -1
- package/dist/views/system/dict/index.vue.js +2 -2
- package/dist/views/system/dict/index2.vue.js +12 -1
- package/dist/views/system/dict/index2.vue.js.map +1 -1
- package/dist/views/system/file/index2.vue.js +1 -0
- 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 +182 -181
- package/dist/views/system/job/index2.vue.js.map +1 -1
- package/dist/views/system/job-log/components/AttemptTable2.vue.js +8 -3
- package/dist/views/system/job-log/components/AttemptTable2.vue.js.map +1 -1
- package/dist/views/system/job-log/index.vue.js +1 -1
- package/dist/views/system/job-log/index2.vue.js +5 -5
- package/dist/views/system/job-log/index2.vue.js.map +1 -1
- package/dist/views/system/job-monitor/index.vue.js +2 -2
- package/dist/views/system/job-monitor/index2.vue.js +46 -46
- 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 +8 -5
- package/dist/views/system/log/exception/index2.vue.js.map +1 -1
- package/dist/views/system/log/login/index2.vue.js +21 -12
- 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 +50 -40
- 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 +45 -36
- package/dist/views/system/menu/components/ButtonManager2.vue.js.map +1 -1
- package/dist/views/system/menu/index.vue.js +1 -1
- package/dist/views/system/menu/index2.vue.js +162 -151
- 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 +171 -117
- package/dist/views/system/module/index2.vue.js.map +1 -1
- package/dist/views/system/notice/index.vue.js +3 -3
- package/dist/views/system/notice/index2.vue.js +1 -0
- package/dist/views/system/notice/index2.vue.js.map +1 -1
- package/dist/views/system/org/index.vue.js +2 -2
- package/dist/views/system/org/index2.vue.js +204 -195
- package/dist/views/system/org/index2.vue.js.map +1 -1
- package/dist/views/system/position/index.vue.js +2 -2
- package/dist/views/system/position/index2.vue.js +57 -48
- package/dist/views/system/position/index2.vue.js.map +1 -1
- package/dist/views/system/recycle/index.vue.js +1 -1
- package/dist/views/system/recycle/index2.vue.js +3 -1
- package/dist/views/system/recycle/index2.vue.js.map +1 -1
- package/dist/views/system/role/components/GrantMenuSheet.vue.d.ts +2 -0
- package/dist/views/system/role/components/GrantMenuSheet.vue.js +2 -2
- package/dist/views/system/role/components/GrantMenuSheet2.vue.js +54 -49
- package/dist/views/system/role/components/GrantMenuSheet2.vue.js.map +1 -1
- package/dist/views/system/role/components/GrantMenuTable.vue.js +1 -1
- package/dist/views/system/role/components/GrantMenuTable2.vue.js +159 -195
- package/dist/views/system/role/components/GrantMenuTable2.vue.js.map +1 -1
- package/dist/views/system/role/components/grantMenuGroups.d.ts +54 -0
- package/dist/views/system/role/components/grantMenuGroups.js +116 -76
- package/dist/views/system/role/components/grantMenuGroups.js.map +1 -1
- package/dist/views/system/role/index.vue.js +2 -2
- package/dist/views/system/role/index2.vue.js +152 -145
- package/dist/views/system/role/index2.vue.js.map +1 -1
- package/dist/views/system/session/index2.vue.js +39 -35
- package/dist/views/system/session/index2.vue.js.map +1 -1
- package/dist/views/system/user/components/UserGrantEffectiveTable.vue.d.ts +10 -0
- package/dist/views/system/user/components/UserGrantEffectiveTable.vue.js +5 -0
- package/dist/views/system/user/components/UserGrantEffectiveTable.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantEffectiveTable2.vue.js +96 -0
- package/dist/views/system/user/components/UserGrantEffectiveTable2.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantMenuSheet.vue.d.ts +13 -0
- package/dist/views/system/user/components/UserGrantMenuSheet.vue.js +8 -0
- package/dist/views/system/user/components/UserGrantMenuSheet.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantMenuSheet2.vue.js +216 -0
- package/dist/views/system/user/components/UserGrantMenuSheet2.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantMenuTable.vue.d.ts +13 -0
- package/dist/views/system/user/components/UserGrantMenuTable.vue.js +8 -0
- package/dist/views/system/user/components/UserGrantMenuTable.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantMenuTable2.vue.js +186 -0
- package/dist/views/system/user/components/UserGrantMenuTable2.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantNodeRow.vue.d.ts +31 -0
- package/dist/views/system/user/components/UserGrantNodeRow.vue.js +8 -0
- package/dist/views/system/user/components/UserGrantNodeRow.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantNodeRow2.vue.js +171 -0
- package/dist/views/system/user/components/UserGrantNodeRow2.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantOverviewDrawer.vue.d.ts +21 -0
- package/dist/views/system/user/components/UserGrantOverviewDrawer.vue.js +5 -0
- package/dist/views/system/user/components/UserGrantOverviewDrawer.vue.js.map +1 -0
- package/dist/views/system/user/components/UserGrantOverviewDrawer2.vue.js +178 -0
- package/dist/views/system/user/components/UserGrantOverviewDrawer2.vue.js.map +1 -0
- package/dist/views/system/user/components/userGrantState.d.ts +64 -0
- package/dist/views/system/user/components/userGrantState.js +117 -0
- package/dist/views/system/user/components/userGrantState.js.map +1 -0
- package/dist/views/system/user/index.vue.js +2 -2
- package/dist/views/system/user/index2.vue.js +369 -295
- package/dist/views/system/user/index2.vue.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,126 +3,126 @@ import { createSmartAdmin as s } from "./createSmartAdmin.js";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { ApiError as f, aiProviderApi as m, aiUsageApi as u, authApi as n, cacheApi as d, callApi as x, configApi as c, dashboardApi as A, dayRange as S, dictAdminApi as T, dictApi as g, externalAuthApi as C, fileApi as
|
|
6
|
+
import { ApiError as f, aiProviderApi as m, aiUsageApi as u, authApi as n, cacheApi as d, callApi as x, configApi as c, dashboardApi as A, dayRange as S, dictAdminApi as T, dictApi as g, externalAuthApi as C, fileApi as E, highSensApi as h, jobApi as _, listQuery as M, logApi as I, menuApi as P, mfaApi as b, moduleApi as B, monitorApi as R, normalizeCommit as O, normalizePreview as D, noticeApi as y, orgApi as L, pageParams as w, personalApi as F, positionApi as U, recycleApi as v, roleApi as N, sessionApi as H, toPage as k, toWireRows as G, unwrap as J, unwrapDownload as z, userApi as V } from "./api/index.js";
|
|
7
7
|
import { DEFAULT_TIMEOUT_MS as X, LONG_TIMEOUT_MS as K, client as Y, createApiClient as j, ensureAccessToken as Z, readCookie as q, refreshOnce as Q } from "./api/client.js";
|
|
8
|
-
import { AI_USAGE_GROUP_BY as ee, AI_USAGE_SOURCE as re, DataScopeType as oe, DuplicateStrategy as te, JobConcurrencyMode as ae, JobFireMode as ie, JobHandlerKind as pe, JobMisfireStrategy as se, JobRunStatus as le, JobStatus as fe, JobTriggerKind as me, NoticeType as ue, ReceiverType as ne } from "./types/api.js";
|
|
9
|
-
import { MenuType as
|
|
10
|
-
import { useAppStore as
|
|
11
|
-
import { useAuthStore as
|
|
12
|
-
import { useDictOptions as Pe, useDictStore as
|
|
13
|
-
import { useTabsStore as
|
|
14
|
-
import { useUserStore as
|
|
15
|
-
import { registerDynamic as
|
|
16
|
-
import { namedPage as
|
|
17
|
-
import { i18n as
|
|
18
|
-
import { menuTitleKey as
|
|
19
|
-
import { vAuth as
|
|
20
|
-
import { describeMenuRoute as
|
|
21
|
-
import { clearClientCache as
|
|
22
|
-
import { buildRoutesForModule as
|
|
23
|
-
import { useBatchDelete as
|
|
24
|
-
import { COMPACT_MAX_HEIGHT as
|
|
25
|
-
import { useConfirm as
|
|
26
|
-
import { useFullscreenToggle as
|
|
27
|
-
import { registerHeaderTool as
|
|
28
|
-
import { useLayoutMenu as
|
|
29
|
-
import { menuBadge as
|
|
30
|
-
import { useMenuFlat as
|
|
31
|
-
import { useModule as
|
|
32
|
-
import { noticeActionButtonType as
|
|
33
|
-
import { usePageTitle as
|
|
34
|
-
import { beginVoluntaryLogout as
|
|
35
|
-
import { loadSite as
|
|
36
|
-
import { useTableZoom as
|
|
37
|
-
import { useTabTitle as
|
|
38
|
-
import { useTableTitle as
|
|
39
|
-
import { useShellBreakpoint as
|
|
40
|
-
import { useTheme as
|
|
41
|
-
import { useVisualViewportHeight as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
8
|
+
import { AI_USAGE_GROUP_BY as ee, AI_USAGE_SOURCE as re, DataScopeType as oe, DuplicateStrategy as te, JobConcurrencyMode as ae, JobFireMode as ie, JobHandlerKind as pe, JobMisfireStrategy as se, JobRunStatus as le, JobStatus as fe, JobTriggerKind as me, NoticeType as ue, ReceiverType as ne, UserMenuEffect as de, UserMenuGrantStatus as xe } from "./types/api.js";
|
|
9
|
+
import { MenuType as Ae, PERMISSION_SEPARATOR as Se, joinPermission as Te, splitPermission as ge, toMenuInput as Ce } from "./types/menu.js";
|
|
10
|
+
import { useAppStore as he } from "./stores/app.js";
|
|
11
|
+
import { useAuthStore as Me } from "./stores/auth.js";
|
|
12
|
+
import { useDictOptions as Pe, useDictStore as be } from "./stores/dict.js";
|
|
13
|
+
import { useTabsStore as Re } from "./stores/tabs.js";
|
|
14
|
+
import { useUserStore as De } from "./stores/user.js";
|
|
15
|
+
import { registerDynamic as Le, resetRouter as we, router as Fe } from "./router/index.js";
|
|
16
|
+
import { namedPage as ve } from "./router/namedPage.js";
|
|
17
|
+
import { i18n as He, registerLocales as ke, t as Ge, withExt as Je } from "./locales/index.js";
|
|
18
|
+
import { menuTitleKey as Ve, registerMenuTitles as We, translateMenuTitle as Xe } from "./locales/menuTitle.js";
|
|
19
|
+
import { vAuth as Ye } from "./directives/auth.js";
|
|
20
|
+
import { describeMenuRoute as Ze } from "./composables/authMenuRoute.js";
|
|
21
|
+
import { clearClientCache as Qe } from "./composables/clearClientCache.js";
|
|
22
|
+
import { buildRoutesForModule as er } from "./composables/useAuthMenu.js";
|
|
23
|
+
import { useBatchDelete as or } from "./composables/useBatchDelete.js";
|
|
24
|
+
import { COMPACT_MAX_HEIGHT as ar, COMPACT_MAX_WIDTH as ir, isCompactSize as pr, useCompactScreen as sr } from "./composables/useCompactScreen.js";
|
|
25
|
+
import { useConfirm as fr } from "./composables/useConfirm.js";
|
|
26
|
+
import { useFullscreenToggle as ur } from "./composables/useFullscreenToggle.js";
|
|
27
|
+
import { registerHeaderTool as dr, useHeaderTools as xr } from "./composables/useHeaderTools.js";
|
|
28
|
+
import { useLayoutMenu as Ar } from "./composables/useLayoutMenu.js";
|
|
29
|
+
import { menuBadge as Tr, registerMenuBadge as gr } from "./composables/useMenuBadge.js";
|
|
30
|
+
import { useMenuFlat as Er } from "./composables/useMenuFlat.js";
|
|
31
|
+
import { useModule as _r } from "./composables/useModule.js";
|
|
32
|
+
import { noticeActionButtonType as Ir, useNoticeAction as Pr } from "./composables/useNoticeAction.js";
|
|
33
|
+
import { usePageTitle as Br } from "./composables/usePageTitle.js";
|
|
34
|
+
import { beginVoluntaryLogout as Or, noticeBus as Dr, onRealtime as yr, useRealtime as Lr } from "./composables/useRealtime.js";
|
|
35
|
+
import { loadSite as Fr, useSite as Ur } from "./composables/useSite.js";
|
|
36
|
+
import { useTableZoom as Nr } from "./composables/useTableZoom.js";
|
|
37
|
+
import { useTabTitle as kr } from "./composables/useTabTitle.js";
|
|
38
|
+
import { useTableTitle as Jr } from "./composables/useTableTitle.js";
|
|
39
|
+
import { useShellBreakpoint as Vr } from "./composables/useShellBreakpoint.js";
|
|
40
|
+
import { useTheme as Xr } from "./composables/useTheme.js";
|
|
41
|
+
import { useVisualViewportHeight as Yr } from "./composables/useVisualViewportHeight.js";
|
|
42
|
+
import { default as Zr } from "./components/ApiSelect/index.vue.js";
|
|
43
|
+
import { default as Qr } from "./components/Chart/index.vue.js";
|
|
44
|
+
import { default as eo } from "./components/Chart/LineChart.vue.js";
|
|
45
|
+
import { default as oo } from "./components/Chart/BarChart.vue.js";
|
|
46
|
+
import { default as ao } from "./components/Chart/PieChart.vue.js";
|
|
47
|
+
import { default as po } from "./components/CodeBlock/index.vue.js";
|
|
48
|
+
import { default as lo } from "./components/CronEditor/index.vue.js";
|
|
49
|
+
import { default as mo } from "./components/DetailPage/index.vue.js";
|
|
50
|
+
import { default as no } from "./components/DictCheckbox/index.vue.js";
|
|
51
|
+
import { default as co } from "./components/DictRadio/index.vue.js";
|
|
52
|
+
import { default as So } from "./components/DictSelect/index.vue.js";
|
|
53
|
+
import { default as go } from "./components/DictTag/index.vue.js";
|
|
54
|
+
import { default as Eo } from "./components/ErrorBoundary/index.vue.js";
|
|
55
|
+
import { default as _o } from "./components/ExportColumnsModal/index.vue.js";
|
|
56
|
+
import { default as Io } from "./components/FileUpload/index.vue.js";
|
|
57
|
+
import { default as bo } from "./components/FormContainer/index.vue.js";
|
|
58
58
|
/* empty css */
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { uploadChunked as
|
|
77
|
-
import { triggerBlobDownload as
|
|
78
|
-
import { translateError as
|
|
79
|
-
import { fmtBytes as
|
|
80
|
-
import { IMPORT_DUPLICATE_IN_DB as
|
|
81
|
-
import { BRAND_CODES as
|
|
82
|
-
import { SEARCH_ACTIONS as
|
|
83
|
-
import { TABLE_MIN_ROW_HEIGHT as
|
|
84
|
-
import { buildTree as
|
|
85
|
-
import { parseUserAgent as
|
|
86
|
-
import { FULLSCREEN_PATH_PREFIX as
|
|
87
|
-
import { default as
|
|
88
|
-
import { ACCENTS as
|
|
89
|
-
import { btnGrad as
|
|
90
|
-
import { buildThemeOverrides as
|
|
91
|
-
import { setupMarkdown as
|
|
92
|
-
import { LoadingBarBridge as
|
|
93
|
-
import { classifyNoticeAction as
|
|
94
|
-
import { registerViews as
|
|
59
|
+
import { default as Ro } from "./components/IconPicker/index.vue.js";
|
|
60
|
+
import { default as Do } from "./components/ImportWizard/index.vue.js";
|
|
61
|
+
import { default as Lo } from "./components/JsonEditor/index.vue.js";
|
|
62
|
+
import { default as Fo } from "./components/MarkdownEditor/index.vue.js";
|
|
63
|
+
import { default as vo } from "./components/MarkdownEditor/MarkdownView.vue.js";
|
|
64
|
+
import { default as Ho } from "./components/OrgTreeSelect/index.vue.js";
|
|
65
|
+
import { default as Go } from "./components/PasswordStrength/index.vue.js";
|
|
66
|
+
import { default as zo } from "./components/RoleSelect/index.vue.js";
|
|
67
|
+
import { default as Wo } from "./components/StatusSwitch/index.vue.js";
|
|
68
|
+
import { default as Ko } from "./components/TableTotal/index.vue.js";
|
|
69
|
+
import { default as jo } from "./components/TableZoomButton/index.vue.js";
|
|
70
|
+
import { default as qo } from "./components/UserPicker/index.vue.js";
|
|
71
|
+
import { default as $o } from "./components/UserSelect/index.vue.js";
|
|
72
|
+
import { default as rt } from "./components/AppIcon.vue.js";
|
|
73
|
+
import { default as tt } from "./components/MenuSearch.vue.js";
|
|
74
|
+
import { default as it } from "./components/SmartLogo.vue.js";
|
|
75
|
+
import { default as st } from "./components/oauth/BrandIcon.vue.js";
|
|
76
|
+
import { uploadChunked as ft } from "./utils/chunkUpload.js";
|
|
77
|
+
import { triggerBlobDownload as ut } from "./utils/download.js";
|
|
78
|
+
import { translateError as dt, translateErrorDetail as xt } from "./utils/error.js";
|
|
79
|
+
import { fmtBytes as At, fmtDateTime as St, operatorText as Tt } from "./utils/format.js";
|
|
80
|
+
import { IMPORT_DUPLICATE_IN_DB as Ct, hardErrorsOf as Et, isDuplicateOnly as ht, isHardError as _t } from "./utils/importDup.js";
|
|
81
|
+
import { BRAND_CODES as It, LINK_BY_ACCOUNT_CODES as Pt, OFFICIAL_TYPES as bt, PREVIEW_ALL_SSO_BRANDS as Bt, SSO_VISIBLE_MAX as Rt, brandDisplayName as Ot, buildConfigProviderRows as Dt, claimWeComAutoLogin as yt, isBrandCode as Lt, isIconifyName as wt, mergeBindingRows as Ft, previewAllBrandProviders as Ut, resolveProviderIcon as vt, splitLoginProviders as Nt } from "./utils/oauthBrand.js";
|
|
82
|
+
import { SEARCH_ACTIONS as kt, createClientFilterFetcher as Gt, createFlatFilterSerializer as Jt, deriveHeaderFilters as zt, flatFilterSerializer as Vt, flatSearchOf as Wt, loadWithinServerMax as Xt, passthroughFilterSerializer as Kt, presetEqualFilter as Yt } from "./utils/tableFilter.js";
|
|
83
|
+
import { TABLE_MIN_ROW_HEIGHT as Zt, TABLE_TOOLBAR as qt } from "./utils/tableToolbar.js";
|
|
84
|
+
import { buildTree as $t, collectSubtreeIds as ea, expandableIds as ra, filterTree as oa, flattenTree as ta, rootExpandableIds as aa } from "./utils/tree.js";
|
|
85
|
+
import { parseUserAgent as pa, uaSummary as sa } from "./utils/ua.js";
|
|
86
|
+
import { FULLSCREEN_PATH_PREFIX as fa, isFullscreenPath as ma, isHttpUrl as ua, trimTrailingSlashes as na } from "./utils/url.js";
|
|
87
|
+
import { default as xa } from "./assets/icons/ph-subset.json.js";
|
|
88
|
+
import { ACCENTS as Aa } from "./theme/accents.js";
|
|
89
|
+
import { btnGrad as Ta, derivePrimary as ga, glowSh as Ca, mix as Ea, rgba as ha } from "./theme/mix.js";
|
|
90
|
+
import { buildThemeOverrides as Ma } from "./theme/naive-theme.js";
|
|
91
|
+
import { setupMarkdown as Pa, withXssPlugin as ba } from "./lib/markdown.js";
|
|
92
|
+
import { LoadingBarBridge as Ra, loadingBar as Oa } from "./lib/loadingBar.js";
|
|
93
|
+
import { classifyNoticeAction as ya, isSiteRelativeUrl as La, noticeActionLabel as wa } from "./lib/noticeActions.js";
|
|
94
|
+
import { registerViews as Ua, viewComponentPaths as va } from "./router/viewRegistry.js";
|
|
95
95
|
export {
|
|
96
|
-
|
|
96
|
+
Aa as ACCENTS,
|
|
97
97
|
ee as AI_USAGE_GROUP_BY,
|
|
98
98
|
re as AI_USAGE_SOURCE,
|
|
99
99
|
f as ApiError,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
100
|
+
Zr as ApiSelect,
|
|
101
|
+
rt as AppIcon,
|
|
102
|
+
It as BRAND_CODES,
|
|
103
|
+
oo as BarChart,
|
|
104
|
+
st as BrandIcon,
|
|
105
|
+
ar as COMPACT_MAX_HEIGHT,
|
|
106
|
+
ir as COMPACT_MAX_WIDTH,
|
|
107
|
+
Qr as Chart,
|
|
108
|
+
po as CodeBlock,
|
|
109
|
+
lo as CronEditor,
|
|
110
110
|
X as DEFAULT_TIMEOUT_MS,
|
|
111
111
|
oe as DataScopeType,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
mo as DetailPage,
|
|
113
|
+
no as DictCheckbox,
|
|
114
|
+
co as DictRadio,
|
|
115
|
+
So as DictSelect,
|
|
116
|
+
go as DictTag,
|
|
117
117
|
te as DuplicateStrategy,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
118
|
+
Eo as ErrorBoundary,
|
|
119
|
+
_o as ExportColumnsModal,
|
|
120
|
+
fa as FULLSCREEN_PATH_PREFIX,
|
|
121
|
+
Io as FileUpload,
|
|
122
|
+
bo as FormContainer,
|
|
123
|
+
Ct as IMPORT_DUPLICATE_IN_DB,
|
|
124
|
+
Ro as IconPicker,
|
|
125
|
+
Do as ImportWizard,
|
|
126
126
|
ae as JobConcurrencyMode,
|
|
127
127
|
ie as JobFireMode,
|
|
128
128
|
pe as JobHandlerKind,
|
|
@@ -130,176 +130,180 @@ export {
|
|
|
130
130
|
le as JobRunStatus,
|
|
131
131
|
fe as JobStatus,
|
|
132
132
|
me as JobTriggerKind,
|
|
133
|
-
|
|
133
|
+
Lo as JsonEditor,
|
|
134
134
|
Pt as LINK_BY_ACCOUNT_CODES,
|
|
135
135
|
K as LONG_TIMEOUT_MS,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
eo as LineChart,
|
|
137
|
+
Ra as LoadingBarBridge,
|
|
138
|
+
Fo as MarkdownEditor,
|
|
139
|
+
vo as MarkdownView,
|
|
140
|
+
tt as MenuSearch,
|
|
141
|
+
Ae as MenuType,
|
|
142
142
|
ue as NoticeType,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
bt as OFFICIAL_TYPES,
|
|
144
|
+
Ho as OrgTreeSelect,
|
|
145
|
+
Se as PERMISSION_SEPARATOR,
|
|
146
|
+
Bt as PREVIEW_ALL_SSO_BRANDS,
|
|
147
|
+
Go as PasswordStrength,
|
|
148
|
+
ao as PieChart,
|
|
149
149
|
ne as ReceiverType,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
150
|
+
zo as RoleSelect,
|
|
151
|
+
kt as SEARCH_ACTIONS,
|
|
152
|
+
Rt as SSO_VISIBLE_MAX,
|
|
153
|
+
it as SmartLogo,
|
|
154
|
+
Wo as StatusSwitch,
|
|
155
|
+
Zt as TABLE_MIN_ROW_HEIGHT,
|
|
156
|
+
qt as TABLE_TOOLBAR,
|
|
157
|
+
Ko as TableTotal,
|
|
158
|
+
jo as TableZoomButton,
|
|
159
|
+
de as UserMenuEffect,
|
|
160
|
+
xe as UserMenuGrantStatus,
|
|
161
|
+
qo as UserPicker,
|
|
162
|
+
$o as UserSelect,
|
|
161
163
|
m as aiProviderApi,
|
|
162
164
|
u as aiUsageApi,
|
|
163
165
|
n as authApi,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
Or as beginVoluntaryLogout,
|
|
167
|
+
Ot as brandDisplayName,
|
|
168
|
+
Ta as btnGrad,
|
|
169
|
+
Dt as buildConfigProviderRows,
|
|
170
|
+
er as buildRoutesForModule,
|
|
171
|
+
Ma as buildThemeOverrides,
|
|
172
|
+
$t as buildTree,
|
|
171
173
|
d as cacheApi,
|
|
172
174
|
x as callApi,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
yt as claimWeComAutoLogin,
|
|
176
|
+
ya as classifyNoticeAction,
|
|
177
|
+
Qe as clearClientCache,
|
|
176
178
|
Y as client,
|
|
177
|
-
|
|
179
|
+
ea as collectSubtreeIds,
|
|
178
180
|
c as configApi,
|
|
179
181
|
j as createApiClient,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
+
Gt as createClientFilterFetcher,
|
|
183
|
+
Jt as createFlatFilterSerializer,
|
|
182
184
|
s as createSmartAdmin,
|
|
183
185
|
A as dashboardApi,
|
|
184
186
|
S as dayRange,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
zt as deriveHeaderFilters,
|
|
188
|
+
ga as derivePrimary,
|
|
189
|
+
Ze as describeMenuRoute,
|
|
188
190
|
T as dictAdminApi,
|
|
189
191
|
g as dictApi,
|
|
190
192
|
Z as ensureAccessToken,
|
|
191
|
-
|
|
193
|
+
ra as expandableIds,
|
|
192
194
|
C as externalAuthApi,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
195
|
+
E as fileApi,
|
|
196
|
+
oa as filterTree,
|
|
197
|
+
Vt as flatFilterSerializer,
|
|
198
|
+
Wt as flatSearchOf,
|
|
199
|
+
ta as flattenTree,
|
|
200
|
+
At as fmtBytes,
|
|
201
|
+
St as fmtDateTime,
|
|
202
|
+
Ca as glowSh,
|
|
203
|
+
Et as hardErrorsOf,
|
|
204
|
+
h as highSensApi,
|
|
205
|
+
He as i18n,
|
|
206
|
+
Lt as isBrandCode,
|
|
207
|
+
pr as isCompactSize,
|
|
208
|
+
ht as isDuplicateOnly,
|
|
209
|
+
ma as isFullscreenPath,
|
|
210
|
+
_t as isHardError,
|
|
211
|
+
ua as isHttpUrl,
|
|
212
|
+
wt as isIconifyName,
|
|
213
|
+
La as isSiteRelativeUrl,
|
|
211
214
|
_ as jobApi,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
Te as joinPermission,
|
|
216
|
+
xa as kernelIconSet,
|
|
217
|
+
M as listQuery,
|
|
218
|
+
Fr as loadSite,
|
|
219
|
+
Xt as loadWithinServerMax,
|
|
220
|
+
Oa as loadingBar,
|
|
218
221
|
I as logApi,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
P as menuApi,
|
|
223
|
+
Tr as menuBadge,
|
|
224
|
+
Ve as menuTitleKey,
|
|
225
|
+
Ft as mergeBindingRows,
|
|
223
226
|
b as mfaApi,
|
|
224
|
-
|
|
227
|
+
Ea as mix,
|
|
225
228
|
B as moduleApi,
|
|
226
229
|
R as monitorApi,
|
|
227
|
-
|
|
230
|
+
ve as namedPage,
|
|
228
231
|
O as normalizeCommit,
|
|
229
232
|
D as normalizePreview,
|
|
230
|
-
|
|
231
|
-
|
|
233
|
+
Ir as noticeActionButtonType,
|
|
234
|
+
wa as noticeActionLabel,
|
|
232
235
|
y as noticeApi,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
Dr as noticeBus,
|
|
237
|
+
yr as onRealtime,
|
|
238
|
+
Tt as operatorText,
|
|
236
239
|
L as orgApi,
|
|
237
240
|
w as pageParams,
|
|
238
|
-
|
|
239
|
-
|
|
241
|
+
pa as parseUserAgent,
|
|
242
|
+
Kt as passthroughFilterSerializer,
|
|
240
243
|
F as personalApi,
|
|
241
244
|
U as positionApi,
|
|
242
|
-
|
|
243
|
-
|
|
245
|
+
Yt as presetEqualFilter,
|
|
246
|
+
Ut as previewAllBrandProviders,
|
|
244
247
|
q as readCookie,
|
|
245
248
|
v as recycleApi,
|
|
246
249
|
Q as refreshOnce,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
250
|
+
Le as registerDynamic,
|
|
251
|
+
dr as registerHeaderTool,
|
|
252
|
+
ke as registerLocales,
|
|
253
|
+
gr as registerMenuBadge,
|
|
254
|
+
We as registerMenuTitles,
|
|
255
|
+
Ua as registerViews,
|
|
256
|
+
we as resetRouter,
|
|
257
|
+
vt as resolveProviderIcon,
|
|
258
|
+
ha as rgba,
|
|
256
259
|
N as roleApi,
|
|
257
|
-
|
|
260
|
+
aa as rootExpandableIds,
|
|
261
|
+
Fe as router,
|
|
258
262
|
H as sessionApi,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
263
|
+
Pa as setupMarkdown,
|
|
264
|
+
Nt as splitLoginProviders,
|
|
265
|
+
ge as splitPermission,
|
|
266
|
+
Ge as t,
|
|
267
|
+
Ce as toMenuInput,
|
|
264
268
|
k as toPage,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
269
|
+
G as toWireRows,
|
|
270
|
+
dt as translateError,
|
|
271
|
+
xt as translateErrorDetail,
|
|
272
|
+
Xe as translateMenuTitle,
|
|
273
|
+
ut as triggerBlobDownload,
|
|
274
|
+
na as trimTrailingSlashes,
|
|
275
|
+
sa as uaSummary,
|
|
276
|
+
J as unwrap,
|
|
277
|
+
z as unwrapDownload,
|
|
278
|
+
ft as uploadChunked,
|
|
279
|
+
he as useAppStore,
|
|
280
|
+
Me as useAuthStore,
|
|
281
|
+
or as useBatchDelete,
|
|
282
|
+
sr as useCompactScreen,
|
|
283
|
+
fr as useConfirm,
|
|
280
284
|
Pe as useDictOptions,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
be as useDictStore,
|
|
286
|
+
ur as useFullscreenToggle,
|
|
287
|
+
xr as useHeaderTools,
|
|
288
|
+
Ar as useLayoutMenu,
|
|
289
|
+
Er as useMenuFlat,
|
|
290
|
+
_r as useModule,
|
|
287
291
|
Pr as useNoticeAction,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
292
|
+
Br as usePageTitle,
|
|
293
|
+
Lr as useRealtime,
|
|
294
|
+
Vr as useShellBreakpoint,
|
|
295
|
+
Ur as useSite,
|
|
296
|
+
kr as useTabTitle,
|
|
297
|
+
Jr as useTableTitle,
|
|
298
|
+
Nr as useTableZoom,
|
|
299
|
+
Re as useTabsStore,
|
|
300
|
+
Xr as useTheme,
|
|
301
|
+
De as useUserStore,
|
|
302
|
+
Yr as useVisualViewportHeight,
|
|
299
303
|
V as userApi,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
+
Ye as vAuth,
|
|
305
|
+
va as viewComponentPaths,
|
|
306
|
+
Je as withExt,
|
|
307
|
+
ba as withXssPlugin
|
|
304
308
|
};
|
|
305
309
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./SideNav2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a4f9dd94"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=SideNav.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav2.vue.js","sources":["../../../src/layouts/components/SideNav.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// 侧栏薄壳:对 n-menu 的展示层封装,default.vue 复用于 4 处——完整树/二级子树/一级图标 rail/移动抽屉。\n// collapsed(用户折叠开关) 与 rail(一级细栏,恒图标态、固定窄宽、无品牌字) 是两条独立的\"收窄\"来源,\n// 二者任一为真都令 n-menu 进入 collapsed;rail 另用更窄的 collapsed-width。\n// 玻璃底由外层 aside / 抽屉提供,这里保持透明,不自带底色(否则两层半透明叠出一块灰)。\nimport { computed } from 'vue'\nimport { NInput, NMenu, NScrollbar, type MenuOption } from 'naive-ui'\nimport { Icon } from '@iconify/vue'\nimport { useI18n } from 'vue-i18n'\nimport SmartLogo from '#/components/SmartLogo.vue'\nimport { useSite } from '#/composables/useSite'\n\nconst { site } = useSite()\nconst { t } = useI18n()\n\nconst props = defineProps<{\n options: MenuOption[]\n value?: string\n collapsed?: boolean\n rail?: boolean // 细图标栏(一级),强制图标态、无品牌文字\n showBrand?: boolean\n showSearch?: boolean // 品牌下方的菜单搜索入口(只读输入框,点开 Ctrl+K 同一个面板)\n}>()\nconst emit = defineEmits<{ select: [key: string]; search: [] }>()\n\nconst iconOnly = computed(() => props.collapsed || props.rail)\n</script>\n\n<template>\n <div class=\"sidenav\" :class=\"{ rail: props.rail, 'icon-only': iconOnly }\">\n <div v-if=\"props.showBrand\" class=\"brand\">\n <SmartLogo :size=\"28\" />\n <span v-show=\"!iconOnly\" class=\"brand-name\">\n {{ site.title }}\n </span>\n </div>\n <div v-if=\"props.showSearch && !iconOnly\" class=\"side-search\">\n <n-input\n size=\"small\"\n readonly\n class=\"search-input\"\n :placeholder=\"t('app.search')\"\n :aria-label=\"t('app.search')\"\n @click=\"emit('search')\"\n @keydown.enter=\"emit('search')\"\n >\n <template #prefix>\n <Icon icon=\"ph:magnifying-glass\" :width=\"15\" class=\"search-ico\" />\n </template>\n </n-input>\n </div>\n <n-scrollbar class=\"side-menu\">\n <n-menu\n :options=\"props.options\"\n :value=\"props.value\"\n :collapsed=\"iconOnly\"\n :collapsed-width=\"props.rail ? 64 : 68\"\n :collapsed-icon-size=\"20\"\n :icon-size=\"18\"\n :indent=\"14\"\n :root-indent=\"14\"\n @update:value=\"(k: string) => emit('select', k)\"\n />\n </n-scrollbar>\n </div>\n</template>\n\n<style scoped>\n.sidenav {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: transparent;\n overflow: hidden;\n}\n.brand {\n display: flex;\n align-items: center;\n gap: 10px;\n height: 50px;\n padding: 0 18px;\n color: var(--text-1);\n overflow: hidden;\n white-space: nowrap;\n flex-shrink: 0;\n}\n.icon-only .brand {\n padding: 0;\n justify-content: center;\n}\n.brand-name {\n min-width: 0;\n font-size:
|
|
1
|
+
{"version":3,"file":"SideNav2.vue.js","sources":["../../../src/layouts/components/SideNav.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// 侧栏薄壳:对 n-menu 的展示层封装,default.vue 复用于 4 处——完整树/二级子树/一级图标 rail/移动抽屉。\n// collapsed(用户折叠开关) 与 rail(一级细栏,恒图标态、固定窄宽、无品牌字) 是两条独立的\"收窄\"来源,\n// 二者任一为真都令 n-menu 进入 collapsed;rail 另用更窄的 collapsed-width。\n// 玻璃底由外层 aside / 抽屉提供,这里保持透明,不自带底色(否则两层半透明叠出一块灰)。\nimport { computed } from 'vue'\nimport { NInput, NMenu, NScrollbar, type MenuOption } from 'naive-ui'\nimport { Icon } from '@iconify/vue'\nimport { useI18n } from 'vue-i18n'\nimport SmartLogo from '#/components/SmartLogo.vue'\nimport { useSite } from '#/composables/useSite'\n\nconst { site } = useSite()\nconst { t } = useI18n()\n\nconst props = defineProps<{\n options: MenuOption[]\n value?: string\n collapsed?: boolean\n rail?: boolean // 细图标栏(一级),强制图标态、无品牌文字\n showBrand?: boolean\n showSearch?: boolean // 品牌下方的菜单搜索入口(只读输入框,点开 Ctrl+K 同一个面板)\n}>()\nconst emit = defineEmits<{ select: [key: string]; search: [] }>()\n\nconst iconOnly = computed(() => props.collapsed || props.rail)\n</script>\n\n<template>\n <div class=\"sidenav\" :class=\"{ rail: props.rail, 'icon-only': iconOnly }\">\n <div v-if=\"props.showBrand\" class=\"brand\">\n <SmartLogo :size=\"28\" />\n <span v-show=\"!iconOnly\" class=\"brand-name\">\n {{ site.title }}\n </span>\n </div>\n <div v-if=\"props.showSearch && !iconOnly\" class=\"side-search\">\n <n-input\n size=\"small\"\n readonly\n class=\"search-input\"\n :placeholder=\"t('app.search')\"\n :aria-label=\"t('app.search')\"\n @click=\"emit('search')\"\n @keydown.enter=\"emit('search')\"\n >\n <template #prefix>\n <Icon icon=\"ph:magnifying-glass\" :width=\"15\" class=\"search-ico\" />\n </template>\n </n-input>\n </div>\n <n-scrollbar class=\"side-menu\">\n <n-menu\n :options=\"props.options\"\n :value=\"props.value\"\n :collapsed=\"iconOnly\"\n :collapsed-width=\"props.rail ? 64 : 68\"\n :collapsed-icon-size=\"20\"\n :icon-size=\"18\"\n :indent=\"14\"\n :root-indent=\"14\"\n @update:value=\"(k: string) => emit('select', k)\"\n />\n </n-scrollbar>\n </div>\n</template>\n\n<style scoped>\n.sidenav {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: transparent;\n overflow: hidden;\n}\n.brand {\n display: flex;\n align-items: center;\n gap: 10px;\n height: 50px;\n padding: 0 18px;\n color: var(--text-1);\n overflow: hidden;\n white-space: nowrap;\n flex-shrink: 0;\n}\n.icon-only .brand {\n padding: 0;\n justify-content: center;\n}\n.brand-name {\n min-width: 0;\n font-size: 18px;\n font-weight: 600;\n letter-spacing: -0.02em;\n line-height: 1.2;\n color: var(--text-1); /* 品牌文字跟随主题文字色:固定深色在暗色下看不清 */\n}\n.side-search {\n flex-shrink: 0;\n padding: 0 12px 12px;\n}\n.search-input {\n cursor: pointer;\n}\n/* 只读输入框:光标也是手型,点哪都能打开面板 */\n.search-input :deep(.n-input__input-el) {\n cursor: pointer;\n}\n.search-ico {\n color: var(--text-3);\n}\n\n.side-menu {\n flex: 1;\n min-height: 0;\n /* 菜单滚到底时最后一行淡出,不被圆角面板的下沿硬切 */\n -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent);\n mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent);\n}\n/* 选中项只靠行底色 + 强调色文字 / 图标 + 加粗到 600 表达(与横向页签栏的选中页签同一字重),不画左侧竖条 */\n.sidenav :deep(.n-menu-item-content--selected .n-menu-item-content-header) {\n font-weight: 600;\n}\n</style>\n"],"names":["site","useSite","t","useI18n","props","__props","emit","__emit","iconOnly","computed","_createElementBlock","_openBlock","_hoisted_1","_createVNode","SmartLogo","_withDirectives","_createElementVNode","_toDisplayString","_unref","_hoisted_2","NInput","Icon","NScrollbar","NMenu","_cache","k"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAYA,UAAM,EAAE,MAAAA,EAAA,IAASC,EAAA,GACX,EAAE,GAAAC,EAAA,IAAMC,EAAA,GAERC,IAAQC,GAQRC,IAAOC,GAEPC,IAAWC,EAAS,MAAML,EAAM,aAAaA,EAAM,IAAI;2BAI3DM,EAmCM,OAAA;AAAA,MAnCD,UAAM,WAAS,EAAA,MAAiBN,EAAM,mBAAmBI,EAAA,OAAQ,CAAA;AAAA,IAAA;MACzDJ,EAAM,aAAjBO,EAAA,GAAAD,EAKM,OALNE,GAKM;AAAA,QAJJC,EAAwBC,GAAA,EAAZ,MAAM,IAAE;AAAA,QACpBC,EAAAC,EAEO,UAFkB,OAAM,aAAA,GAAYC,EACtCC,EAAAlB,CAAA,EAAK,KAAK,GAAA,GAAA,GAAA;AAAA,eADAQ,EAAA,KAAQ;AAAA,QAAA;;MAIdJ,EAAM,cAAU,CAAKI,EAAA,SAAhCG,KAAAD,EAcM,OAdNS,GAcM;AAAA,QAbJN,EAYUK,EAAAE,CAAA,GAAA;AAAA,UAXR,MAAK;AAAA,UACL,UAAA;AAAA,UACA,OAAM;AAAA,UACL,aAAaF,EAAAhB,CAAA,EAAC,YAAA;AAAA,UACd,cAAYgB,EAAAhB,CAAA,EAAC,YAAA;AAAA,UACb,gCAAOI,EAAI,QAAA;AAAA,UACX,oCAAeA,EAAI,QAAA,GAAA,CAAA,OAAA,CAAA;AAAA,QAAA;UAET,UACT,MAAkE;AAAA,YAAlEO,EAAkEK,EAAAG,CAAA,GAAA;AAAA,cAA5D,MAAK;AAAA,cAAuB,OAAO;AAAA,cAAI,OAAM;AAAA,YAAA;;;;;MAIzDR,EAYcK,EAAAI,CAAA,GAAA,EAZD,OAAM,eAAW;AAAA,mBAC5B,MAUE;AAAA,UAVFT,EAUEK,EAAAK,CAAA,GAAA;AAAA,YATC,SAASnB,EAAM;AAAA,YACf,OAAOA,EAAM;AAAA,YACb,WAAWI,EAAA;AAAA,YACX,mBAAiBJ,EAAM,OAAI,KAAA;AAAA,YAC3B,uBAAqB;AAAA,YACrB,aAAW;AAAA,YACX,QAAQ;AAAA,YACR,eAAa;AAAA,YACb,kBAAYoB,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAGC,MAAcnB,YAAemB,CAAC;AAAA,UAAA;;;;;;;"}
|
package/dist/lib/runtime.js
CHANGED
package/dist/lib/watermark.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare function normalizeWatermarkFields(raw: unknown): WatermarkField[]
|
|
|
57
57
|
/** 站点信息里的 watermark 节点(或任何半成品)→ 合法设置。 */
|
|
58
58
|
export declare function normalizeWatermark(raw?: Partial<Record<keyof WatermarkSettings, unknown>> | null): {
|
|
59
59
|
enabled: boolean;
|
|
60
|
-
fields: ("name" | "
|
|
60
|
+
fields: ("name" | "org" | "account" | "phone" | "time" | "text")[];
|
|
61
61
|
text: string;
|
|
62
62
|
timeFormat: "YYYY-MM-DD" | "YYYY-MM-DD HH:mm" | "YYYY-MM-DD HH:mm:ss" | "MM-DD HH:mm";
|
|
63
63
|
layout: WatermarkLayout;
|