smart-admin-web 10.20.1 → 10.21.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/index.js +248 -246
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/watermark.d.ts +1 -1
- package/dist/locales/en-US.d.ts +62 -3
- package/dist/locales/en-US.js +65 -6
- 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 +62 -3
- package/dist/locales/zh-CN.js +65 -6
- 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/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 +1 -1
- package/dist/views/login/components/LoginDesk2.vue.js +59 -47
- package/dist/views/login/components/LoginDesk2.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/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 +2 -2
- package/dist/views/system/menu/index2.vue.js +11 -11
- 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 +70 -67
- 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 +250 -207
- 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 P, menuApi as I, 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
|
|
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 Ie, 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 Pr, useNoticeAction as Ir } 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 Po } 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 Pt, LINK_BY_ACCOUNT_CODES as It, 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 } from "./utils/tree.js";
|
|
85
|
+
import { parseUserAgent as aa, uaSummary as ia } from "./utils/ua.js";
|
|
86
|
+
import { FULLSCREEN_PATH_PREFIX as sa, isFullscreenPath as la, isHttpUrl as fa, trimTrailingSlashes as ma } from "./utils/url.js";
|
|
87
|
+
import { default as na } from "./assets/icons/ph-subset.json.js";
|
|
88
|
+
import { ACCENTS as xa } from "./theme/accents.js";
|
|
89
|
+
import { btnGrad as Aa, derivePrimary as Sa, glowSh as Ta, mix as ga, rgba as Ca } from "./theme/mix.js";
|
|
90
|
+
import { buildThemeOverrides as ha } from "./theme/naive-theme.js";
|
|
91
|
+
import { setupMarkdown as Ma, withXssPlugin as Pa } from "./lib/markdown.js";
|
|
92
|
+
import { LoadingBarBridge as ba, loadingBar as Ba } from "./lib/loadingBar.js";
|
|
93
|
+
import { classifyNoticeAction as Oa, isSiteRelativeUrl as Da, noticeActionLabel as ya } from "./lib/noticeActions.js";
|
|
94
|
+
import { registerViews as wa, viewComponentPaths as Fa } from "./router/viewRegistry.js";
|
|
95
95
|
export {
|
|
96
|
-
|
|
96
|
+
xa 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
|
+
Pt 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
|
+
sa as FULLSCREEN_PATH_PREFIX,
|
|
121
|
+
Po 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,178 @@ export {
|
|
|
130
130
|
le as JobRunStatus,
|
|
131
131
|
fe as JobStatus,
|
|
132
132
|
me as JobTriggerKind,
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
Lo as JsonEditor,
|
|
134
|
+
It as LINK_BY_ACCOUNT_CODES,
|
|
135
135
|
K as LONG_TIMEOUT_MS,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
eo as LineChart,
|
|
137
|
+
ba 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
|
+
Aa as btnGrad,
|
|
169
|
+
Dt as buildConfigProviderRows,
|
|
170
|
+
er as buildRoutesForModule,
|
|
171
|
+
ha as buildThemeOverrides,
|
|
172
|
+
$t as buildTree,
|
|
171
173
|
d as cacheApi,
|
|
172
174
|
x as callApi,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
yt as claimWeComAutoLogin,
|
|
176
|
+
Oa 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
|
+
Sa 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
|
+
At as fmtBytes,
|
|
200
|
+
St as fmtDateTime,
|
|
201
|
+
Ta as glowSh,
|
|
202
|
+
Et as hardErrorsOf,
|
|
203
|
+
h as highSensApi,
|
|
204
|
+
He as i18n,
|
|
205
|
+
Lt as isBrandCode,
|
|
206
|
+
pr as isCompactSize,
|
|
207
|
+
ht as isDuplicateOnly,
|
|
208
|
+
la as isFullscreenPath,
|
|
209
|
+
_t as isHardError,
|
|
210
|
+
fa as isHttpUrl,
|
|
211
|
+
wt as isIconifyName,
|
|
212
|
+
Da as isSiteRelativeUrl,
|
|
211
213
|
_ as jobApi,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
214
|
+
Te as joinPermission,
|
|
215
|
+
na as kernelIconSet,
|
|
216
|
+
M as listQuery,
|
|
217
|
+
Fr as loadSite,
|
|
218
|
+
Xt as loadWithinServerMax,
|
|
219
|
+
Ba as loadingBar,
|
|
220
|
+
P as logApi,
|
|
221
|
+
I as menuApi,
|
|
222
|
+
Tr as menuBadge,
|
|
223
|
+
Ve as menuTitleKey,
|
|
224
|
+
Ft as mergeBindingRows,
|
|
223
225
|
b as mfaApi,
|
|
224
|
-
|
|
226
|
+
ga as mix,
|
|
225
227
|
B as moduleApi,
|
|
226
228
|
R as monitorApi,
|
|
227
|
-
|
|
229
|
+
ve as namedPage,
|
|
228
230
|
O as normalizeCommit,
|
|
229
231
|
D as normalizePreview,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
+
Pr as noticeActionButtonType,
|
|
233
|
+
ya as noticeActionLabel,
|
|
232
234
|
y as noticeApi,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
235
|
+
Dr as noticeBus,
|
|
236
|
+
yr as onRealtime,
|
|
237
|
+
Tt as operatorText,
|
|
236
238
|
L as orgApi,
|
|
237
239
|
w as pageParams,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
+
aa as parseUserAgent,
|
|
241
|
+
Kt as passthroughFilterSerializer,
|
|
240
242
|
F as personalApi,
|
|
241
243
|
U as positionApi,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
+
Yt as presetEqualFilter,
|
|
245
|
+
Ut as previewAllBrandProviders,
|
|
244
246
|
q as readCookie,
|
|
245
247
|
v as recycleApi,
|
|
246
248
|
Q as refreshOnce,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
249
|
+
Le as registerDynamic,
|
|
250
|
+
dr as registerHeaderTool,
|
|
251
|
+
ke as registerLocales,
|
|
252
|
+
gr as registerMenuBadge,
|
|
253
|
+
We as registerMenuTitles,
|
|
254
|
+
wa as registerViews,
|
|
255
|
+
we as resetRouter,
|
|
256
|
+
vt as resolveProviderIcon,
|
|
257
|
+
Ca as rgba,
|
|
256
258
|
N as roleApi,
|
|
257
|
-
|
|
259
|
+
Fe as router,
|
|
258
260
|
H as sessionApi,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
Ma as setupMarkdown,
|
|
262
|
+
Nt as splitLoginProviders,
|
|
263
|
+
ge as splitPermission,
|
|
264
|
+
Ge as t,
|
|
265
|
+
Ce as toMenuInput,
|
|
264
266
|
k as toPage,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
267
|
+
G as toWireRows,
|
|
268
|
+
dt as translateError,
|
|
269
|
+
xt as translateErrorDetail,
|
|
270
|
+
Xe as translateMenuTitle,
|
|
271
|
+
ut as triggerBlobDownload,
|
|
272
|
+
ma as trimTrailingSlashes,
|
|
273
|
+
ia as uaSummary,
|
|
274
|
+
J as unwrap,
|
|
275
|
+
z as unwrapDownload,
|
|
276
|
+
ft as uploadChunked,
|
|
277
|
+
he as useAppStore,
|
|
278
|
+
Me as useAuthStore,
|
|
279
|
+
or as useBatchDelete,
|
|
280
|
+
sr as useCompactScreen,
|
|
281
|
+
fr as useConfirm,
|
|
282
|
+
Ie as useDictOptions,
|
|
283
|
+
be as useDictStore,
|
|
284
|
+
ur as useFullscreenToggle,
|
|
285
|
+
xr as useHeaderTools,
|
|
286
|
+
Ar as useLayoutMenu,
|
|
287
|
+
Er as useMenuFlat,
|
|
288
|
+
_r as useModule,
|
|
289
|
+
Ir as useNoticeAction,
|
|
290
|
+
Br as usePageTitle,
|
|
291
|
+
Lr as useRealtime,
|
|
292
|
+
Vr as useShellBreakpoint,
|
|
293
|
+
Ur as useSite,
|
|
294
|
+
kr as useTabTitle,
|
|
295
|
+
Jr as useTableTitle,
|
|
296
|
+
Nr as useTableZoom,
|
|
297
|
+
Re as useTabsStore,
|
|
298
|
+
Xr as useTheme,
|
|
299
|
+
De as useUserStore,
|
|
300
|
+
Yr as useVisualViewportHeight,
|
|
299
301
|
V as userApi,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
Ye as vAuth,
|
|
303
|
+
Fa as viewComponentPaths,
|
|
304
|
+
Je as withExt,
|
|
305
|
+
Pa as withXssPlugin
|
|
304
306
|
};
|
|
305
307
|
//# sourceMappingURL=index.js.map
|
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;
|