@done-coding/admin-core 0.16.0 → 0.17.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/es/components/app-layout/AppBody.vue.mjs +1 -1
- package/es/components/app-layout/AppBody.vue2.mjs +43 -39
- package/es/components/app-layout/AppPage.vue.mjs +2 -2
- package/es/components/app-layout/AppPage.vue2.mjs +114 -105
- package/es/components/display/TabsHeader.vue.mjs +2 -2
- package/es/components/display/TabsHeader.vue2.mjs +31 -32
- package/es/components/display/TabsRefineFlow.vue.mjs +30 -32
- package/es/components/display/TabsTile.vue.mjs +2 -2
- package/es/components/display/WatchSize.vue.mjs +34 -31
- package/es/components/form/FormMain.vue.mjs +2 -2
- package/es/components/form/FormMain.vue2.mjs +80 -75
- package/es/components/form/FormSearch.vue.mjs +1 -1
- package/es/components/form/FormSearch.vue2.mjs +82 -80
- package/es/components/form/FormSubmitPanel.vue2.mjs +11 -10
- package/es/components/form/use-layout-by-container.mjs +20 -0
- package/es/components/list-page/ListPage.vue.mjs +2 -2
- package/es/components/list-page/ListPage.vue2.mjs +167 -137
- package/es/components/list-page/use-sticky.mjs +41 -0
- package/es/components/modal/ConfirmModal.vue.mjs +3 -2
- package/es/components/modal/ConfirmModal.vue2.mjs +104 -55
- package/es/components/modal/DetailModal.vue.mjs +40 -34
- package/es/components/modal/ModalPorter.vue.mjs +20 -23
- package/es/components/table/TableMain.vue.mjs +1 -1
- package/es/components/table/TableMain.vue2.mjs +27 -28
- package/es/hooks/activated.mjs +16 -24
- package/es/hooks/use-breakpoint.mjs +17 -21
- package/es/hooks/use-channel-viewport-height.mjs +26 -8
- package/es/hooks/use-observe-size.mjs +26 -0
- package/es/index.mjs +177 -173
- package/es/inject/key.mjs +18 -15
- package/es/style.css +1 -1
- package/es/utils/dom.mjs +11 -1
- package/package.json +2 -2
- package/types/components/app-layout/AppPage.vue.d.ts +8 -0
- package/types/components/display/TabsTile.vue.d.ts +2 -2
- package/types/components/display/WatchSize.vue.d.ts +4 -0
- package/types/components/display/types.d.ts +1 -5
- package/types/components/form/FormItem.vue.d.ts +8 -8
- package/types/components/form/FormMain.vue.d.ts +1 -12
- package/types/components/form/FormSubmitPanel.vue.d.ts +1 -1
- package/types/components/form/types.d.ts +1 -0
- package/types/components/form/use-layout-by-container.d.ts +11 -0
- package/types/components/list-page/ListPage.vue.d.ts +6 -1
- package/types/components/list-page/types.d.ts +5 -0
- package/types/components/list-page/use-sticky.d.ts +19 -0
- package/types/components/modal/ConfirmModal.vue.d.ts +15 -3
- package/types/components/modal/DetailModal.vue.d.ts +4 -1
- package/types/components/panel/PanelItemNestForm.vue.d.ts +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/use-channel-viewport-height.d.ts +2 -1
- package/types/hooks/use-observe-size.d.ts +7 -0
- package/types/inject/key.d.ts +8 -2
- package/types/injectInfo.json.d.ts +1 -1
- package/types/utils/dom.d.ts +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { useActivated as
|
|
3
|
-
const i = [],
|
|
1
|
+
import { ref as r, readonly as s } from "vue";
|
|
2
|
+
import { useActivated as a } from "./activated.mjs";
|
|
3
|
+
const i = [], m = ["xl", "lg", "md", "sm"], c = () => {
|
|
4
4
|
if (i.length || typeof window > "u" || typeof window.matchMedia != "function")
|
|
5
5
|
return;
|
|
6
6
|
const e = {
|
|
@@ -10,31 +10,27 @@ const i = [], d = ["xl", "lg", "md", "sm"], f = () => {
|
|
|
10
10
|
sm: "(min-width: 768px)",
|
|
11
11
|
xs: "(max-width: 767px)"
|
|
12
12
|
};
|
|
13
|
-
for (const t of
|
|
13
|
+
for (const t of m)
|
|
14
14
|
i.push({ key: t, mql: window.matchMedia(e[t]) });
|
|
15
|
-
},
|
|
16
|
-
const e =
|
|
15
|
+
}, l = () => {
|
|
16
|
+
const e = r("lg"), t = () => {
|
|
17
17
|
for (const { key: o, mql: n } of i)
|
|
18
18
|
if (n.matches) {
|
|
19
19
|
e.value = o;
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
e.value = "xs";
|
|
23
|
-
}
|
|
24
|
-
return a(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
n.removeEventListener("change", t);
|
|
34
|
-
},
|
|
35
|
-
{ immediate: !0 }
|
|
36
|
-
), { activeBreakpoint: m(e) };
|
|
23
|
+
};
|
|
24
|
+
return a((o) => {
|
|
25
|
+
if (o.isActivated) {
|
|
26
|
+
c(), t();
|
|
27
|
+
for (const { mql: n } of i)
|
|
28
|
+
n.addEventListener("change", t);
|
|
29
|
+
} else
|
|
30
|
+
for (const { mql: n } of i)
|
|
31
|
+
n.removeEventListener("change", t);
|
|
32
|
+
}), { activeBreakpoint: s(e) };
|
|
37
33
|
};
|
|
38
34
|
export {
|
|
39
|
-
|
|
35
|
+
l as useBreakpoint
|
|
40
36
|
};
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { inject as p, computed as h, watch as u } from "vue";
|
|
2
|
+
import { SCOPE_VIEWPORT_MAX_HEIGHT as s } from "../inject/key.mjs";
|
|
3
|
+
const v = 100, w = (t, o = {}) => {
|
|
4
|
+
const i = o.fallback ?? 0, n = t.parentChannel, r = p(s, void 0), a = () => {
|
|
5
|
+
if (!r) return;
|
|
6
|
+
if (!n) return r.viewportMaxHeight.value;
|
|
7
|
+
let e = r, l = 0;
|
|
8
|
+
for (; e; ) {
|
|
9
|
+
if (e.scope === n) return e.viewportMaxHeight.value;
|
|
10
|
+
if (e = e.parent, ++l > v) {
|
|
11
|
+
console.error(
|
|
12
|
+
"[useChannelViewportHeight] scope 链超深(疑似环链),已降级 fallback。"
|
|
13
|
+
);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}, c = h(() => {
|
|
18
|
+
if (t.viewportHeight !== void 0)
|
|
19
|
+
return t.viewportHeight;
|
|
20
|
+
const e = a();
|
|
21
|
+
return e !== void 0 ? e : i;
|
|
22
|
+
});
|
|
23
|
+
return u(
|
|
6
24
|
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
7
|
-
() =>
|
|
25
|
+
() => t.parentChannel,
|
|
8
26
|
() => console.error(
|
|
9
27
|
"[useChannelViewportHeight] parentChannel 不支持响应式变更,当前值已忽略。"
|
|
10
28
|
)
|
|
11
|
-
), { viewportHeightFinal:
|
|
29
|
+
), { viewportHeightFinal: c, nearestScope: r };
|
|
12
30
|
};
|
|
13
31
|
export {
|
|
14
|
-
|
|
32
|
+
w as useChannelViewportHeight
|
|
15
33
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { watch as m, onScopeDispose as b } from "vue";
|
|
2
|
+
import h from "lodash/debounce";
|
|
3
|
+
import { useActivated as O } from "./activated.mjs";
|
|
4
|
+
const y = (u) => {
|
|
5
|
+
const { getTarget: n, onResize: v, enabled: t, debounce: f = 100 } = u, o = f > 0 ? h(v, f, { leading: !0, trailing: !0 }) : void 0, p = o ?? v;
|
|
6
|
+
let e, r, c = !1;
|
|
7
|
+
const i = () => {
|
|
8
|
+
e == null || e.disconnect(), e = void 0, r = void 0, o == null || o.cancel();
|
|
9
|
+
}, d = () => {
|
|
10
|
+
const s = n() ?? void 0;
|
|
11
|
+
if (!(c && (t == null ? void 0 : t()) !== !1 && typeof ResizeObserver < "u" && !!s)) {
|
|
12
|
+
i();
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
e && r === s || (i(), e = new ResizeObserver((a) => {
|
|
16
|
+
const l = a[0];
|
|
17
|
+
l && p(l);
|
|
18
|
+
}), e.observe(s), r = s);
|
|
19
|
+
};
|
|
20
|
+
m([n, () => t == null ? void 0 : t()], () => d(), { flush: "post" }), O((s) => {
|
|
21
|
+
c = s.isActivated, c ? d() : i();
|
|
22
|
+
}), b(i);
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
y as useObserveSize
|
|
26
|
+
};
|
package/es/index.mjs
CHANGED
|
@@ -8,223 +8,227 @@ import { default as E } from "./components/form/FormSelect.vue.mjs";
|
|
|
8
8
|
import { default as n } from "./components/form/FormSubmitBtn.vue.mjs";
|
|
9
9
|
import { default as T } from "./components/form/FormTree.vue.mjs";
|
|
10
10
|
import { default as c } from "./components/form/FormVerifyCode.vue.mjs";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as O } from "./components/display/HeightProvider.vue.mjs";
|
|
12
12
|
import { default as I } from "./components/menu/MenuItemSub.vue.mjs";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as L } from "./components/menu/MenuTree.vue.mjs";
|
|
14
14
|
import { default as N } from "./components/modal/ModalPorter.vue.mjs";
|
|
15
15
|
import { default as M } from "./components/modal/ModalShelf.vue.mjs";
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
16
|
+
import { default as y } from "./components/panel/PanelItem.vue.mjs";
|
|
17
|
+
import { default as D } from "./components/panel/PanelItemNestPanel.vue.mjs";
|
|
18
18
|
import { default as Y } from "./components/misc/SelectModule.vue.mjs";
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
19
|
+
import { default as b } from "./components/slot-layout/SlotLayoutTemplate.vue.mjs";
|
|
20
|
+
import { default as v } from "./components/display/TabsMain.vue.mjs";
|
|
21
|
+
import { default as K } from "./components/misc/TriggerAutoImport.vue.mjs";
|
|
22
22
|
import { default as H } from "./components/display/WatchSize.vue.mjs";
|
|
23
23
|
import { APP_API_LIST_MODEL_KEY_CONFIG as X } from "./config/list-model.mjs";
|
|
24
|
-
import { APP_LAYOUT_APP_STORE_KEY as
|
|
25
|
-
import { APP_PAGE_SLOT_Z_INDEX as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
24
|
+
import { APP_LAYOUT_APP_STORE_KEY as Z, APP_LAYOUT_BRIDGE_KEY as j, APP_LAYOUT_USER_STORE_KEY as Q, APP_PAGE_CONTENT_INSET as q, BODY_CONTENT_VIEWPORT_HEIGHT as J, BODY_CONTENT_VIEWPORT_INSET as $, BODY_CONTENT_VIEWPORT_RECT as ee, CORE_BRIDGE_KEY as oe, FORM_NEST_REGISTRY_KEY as te, NEST_LAYOUT_SCALE_KEY as re, SCOPE_VIEWPORT_MAX_HEIGHT as ae, TABS_MAIN_VISUAL_LEVEL as me, getModalShelfInjectionKey as pe } from "./inject/key.mjs";
|
|
25
|
+
import { APP_PAGE_SLOT_Z_INDEX as se, computeAppPageContentInset as le, computeAppPageReducedViewportHeight as ue, computeAppPageReducedViewportWidth as xe, computeAppPageSlotShimStyles as de, computeAppPageSlotStyles as ie } from "./components/app-layout/app-page-geometry.mjs";
|
|
26
|
+
import { default as _e } from "./components/display/ActionConfirm.vue.mjs";
|
|
27
|
+
import { default as Ae } from "./components/app-layout/AppAside.vue.mjs";
|
|
28
|
+
import { default as Se } from "./components/app-layout/AppBody.vue.mjs";
|
|
29
|
+
import { default as Pe } from "./components/app-layout/AppBreadcrumb.vue.mjs";
|
|
30
30
|
import { default as Re } from "./components/app-layout/AppFooter.vue.mjs";
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
31
|
+
import { default as Ce } from "./components/app-layout/AppHeader.vue.mjs";
|
|
32
|
+
import { default as Fe } from "./components/app-layout/AppLayout.vue.mjs";
|
|
33
|
+
import { default as ge } from "./components/app-layout/AppPage.vue.mjs";
|
|
34
|
+
import { default as he } from "./components/app-layout/AppSidebar.vue.mjs";
|
|
35
35
|
import { default as Be } from "./components/app-layout/AppTheme.vue.mjs";
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { CORE_VIEWPORT_DECOR_ZINDEX_ABOVE as Ue, CORE_VIEWPORT_DECOR_ZINDEX_BELOW as
|
|
36
|
+
import { default as Ve } from "./components/misc/AutoRefresh.vue.mjs";
|
|
37
|
+
import { default as Ge } from "./components/misc/AutoRefreshGroup.vue.mjs";
|
|
38
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_ABOVE as Ue, CORE_VIEWPORT_DECOR_ZINDEX_BELOW as ve } from "./components/app-layout/viewport.mjs";
|
|
39
39
|
import { default as Ke } from "./components/modal/ConfirmModal.vue.mjs";
|
|
40
|
-
import { EXPORT_MAX_LIMIT as
|
|
41
|
-
import { FORM_CONFIG_SELECT_ALL_VALUE as
|
|
42
|
-
import { FORM_ITEM_CHANGE_LOADING as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
40
|
+
import { EXPORT_MAX_LIMIT as He, OPERATE_COLUMN_PROP as ke, exportCSV as Xe, pickExportColumns as ze } from "./utils/export.mjs";
|
|
41
|
+
import { FORM_CONFIG_SELECT_ALL_VALUE as je, getConfirmPasswordRule as Qe, passwordRule as qe, setFormComponentType as Je } from "./helpers/form.mjs";
|
|
42
|
+
import { FORM_ITEM_CHANGE_LOADING as eo, NEST_LAYOUT_TIERS as oo, ceilToTier as to, generateFormData as ro, getBlurSubmit as ao, getChangeSubmit as mo, getDatePickerShortcuts as po, getEnterSubmit as fo, getPlaceholder as so, getVModelSugar as lo, parseFormData as uo, resolveFormLayout as xo, resolveLayoutSpan as io, setInputComponent as Eo, setSelectComponent as _o, stringifyFormData as no, swiftFormItemConfig as Ao } from "./components/form/utils.mjs";
|
|
43
|
+
import { default as So } from "./components/form/FormItemNestForm.vue.mjs";
|
|
44
|
+
import { default as Po } from "./components/form/FormItemNestFormList.vue.mjs";
|
|
45
45
|
import { default as Ro } from "./components/form/FormMain.vue.mjs";
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
46
|
+
import { default as Co } from "./components/form/FormSearch.vue.mjs";
|
|
47
|
+
import { default as Fo } from "./components/form/FormSubmitPanel.vue.mjs";
|
|
48
|
+
import { default as go } from "./components/form/FormVerifyImage.vue.mjs";
|
|
49
|
+
import { default as ho } from "./components/list-page/ListPage.vue.mjs";
|
|
50
50
|
import { default as Bo } from "./components/panel/PanelEditSwitch.vue.mjs";
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { ROUTE_MODULE_LEVEL as Uo, TabsMainReplaceQueryKey as
|
|
51
|
+
import { default as Vo } from "./components/panel/PanelItemNestForm.vue.mjs";
|
|
52
|
+
import { default as Go } from "./components/panel/PanelMain.vue.mjs";
|
|
53
|
+
import { ROUTE_MODULE_LEVEL as Uo, TabsMainReplaceQueryKey as vo } from "./config/route.mjs";
|
|
54
54
|
import { default as Ko } from "./components/slot-layout/SlotLayoutFlowAside.vue.mjs";
|
|
55
|
-
import { TABLE_COLUMN_KEY_OPERATE as
|
|
56
|
-
import { default as
|
|
57
|
-
import { buildRhythmCss as
|
|
58
|
-
import { checkLogin as
|
|
59
|
-
import { checkPermission as
|
|
60
|
-
import { countAll as
|
|
61
|
-
import { createAppStore as
|
|
62
|
-
import { createGenerateRouteMetaRawTree as
|
|
63
|
-
import { createGuard as
|
|
64
|
-
import { createNestFormExposeMap as
|
|
65
|
-
import { createRoutePermissionStore as
|
|
66
|
-
import { createStorageWithNamespace as
|
|
67
|
-
import { createUseState as
|
|
68
|
-
import { createUserStore as
|
|
69
|
-
import { domClosestScrollableAncestor as
|
|
70
|
-
import { flatRouteMetaResolveRaw as
|
|
71
|
-
import { getId as
|
|
72
|
-
import { nestFormItem as
|
|
73
|
-
import { nestFormItemList as
|
|
74
|
-
import { nestPanelForm as
|
|
75
|
-
import { nestPanelItem as
|
|
76
|
-
import { resolveBreakpointByWidth as
|
|
77
|
-
import { themeScaleDerive as
|
|
78
|
-
import { timeCountDown as
|
|
79
|
-
import { useActivated as
|
|
80
|
-
import { useBreakpoint as
|
|
81
|
-
import { useChannelViewportHeight as
|
|
82
|
-
import { useCoreViewportApply as
|
|
83
|
-
import { useFeelSize as
|
|
84
|
-
import { useMenusDataDispatch as
|
|
85
|
-
import { useNestForm as
|
|
86
|
-
import { useNestFormList as
|
|
87
|
-
import { useNestLayoutScale as
|
|
88
|
-
import {
|
|
55
|
+
import { TABLE_COLUMN_KEY_OPERATE as Ho, TABLE_COLUMN_KEY_SELECTION as ko } from "./components/table/constants.mjs";
|
|
56
|
+
import { default as zo } from "./components/table/TableMain.vue.mjs";
|
|
57
|
+
import { buildRhythmCss as jo, useCoreThemeApply as Qo } from "./hooks/use-theme-apply.mjs";
|
|
58
|
+
import { checkLogin as Jo } from "./router/guard/login.mjs";
|
|
59
|
+
import { checkPermission as et } from "./router/guard/permission.mjs";
|
|
60
|
+
import { countAll as tt, createListApi as rt, fetchListAll as at } from "./helpers/list-helper.mjs";
|
|
61
|
+
import { createAppStore as pt } from "./store/app.mjs";
|
|
62
|
+
import { createGenerateRouteMetaRawTree as st } from "./bridge/route.mjs";
|
|
63
|
+
import { createGuard as ut } from "./router/guard/index.mjs";
|
|
64
|
+
import { createNestFormExposeMap as dt } from "./components/form/nest-registry.mjs";
|
|
65
|
+
import { createRoutePermissionStore as Et } from "./store/router-permission.mjs";
|
|
66
|
+
import { createStorageWithNamespace as nt } from "./bridge/storage.mjs";
|
|
67
|
+
import { createUseState as Tt } from "./bridge/state.mjs";
|
|
68
|
+
import { createUserStore as ct } from "./store/user.mjs";
|
|
69
|
+
import { domClosestScrollableAncestor as Ot, domClosestStickyScrollport as Rt } from "./utils/dom.mjs";
|
|
70
|
+
import { flatRouteMetaResolveRaw as Ct, getRoutePermissionKey as Lt } from "./utils/router.mjs";
|
|
71
|
+
import { getId as Nt } from "./utils/id.mjs";
|
|
72
|
+
import { nestFormItem as Mt } from "./components/form/nest-form-item.mjs";
|
|
73
|
+
import { nestFormItemList as yt } from "./components/form/nest-form-item-list.mjs";
|
|
74
|
+
import { nestPanelForm as Dt } from "./components/panel/nest-panel-form.mjs";
|
|
75
|
+
import { nestPanelItem as Yt } from "./components/panel/nest-panel-item.mjs";
|
|
76
|
+
import { resolveBreakpointByWidth as bt, resolveRootEl as Ut, useCustomBreakpoint as vt } from "./hooks/use-custom-breakpoint.mjs";
|
|
77
|
+
import { themeScaleDerive as Kt, themeScaleMix as Wt, themeScaleParseHex as Ht, themeScaleToRgba as kt } from "./utils/theme-scale.mjs";
|
|
78
|
+
import { timeCountDown as zt } from "./utils/time.mjs";
|
|
79
|
+
import { useActivated as jt, useActivatedEvent as Qt, useActivatedExec as qt } from "./hooks/activated.mjs";
|
|
80
|
+
import { useBreakpoint as $t } from "./hooks/use-breakpoint.mjs";
|
|
81
|
+
import { useChannelViewportHeight as or } from "./hooks/use-channel-viewport-height.mjs";
|
|
82
|
+
import { useCoreViewportApply as rr } from "./hooks/use-viewport-apply.mjs";
|
|
83
|
+
import { useFeelSize as mr } from "./hooks/feel-size.mjs";
|
|
84
|
+
import { useMenusDataDispatch as fr } from "./hooks/menus-dispatch.mjs";
|
|
85
|
+
import { useNestForm as lr } from "./components/form/use-nest-form.mjs";
|
|
86
|
+
import { useNestFormList as xr } from "./components/form/use-nest-form-list.mjs";
|
|
87
|
+
import { useNestLayoutScale as ir } from "./components/form/use-nest-layout-scale.mjs";
|
|
88
|
+
import { useObserveSize as _r } from "./hooks/use-observe-size.mjs";
|
|
89
|
+
import { useTimeout as Ar } from "./hooks/timeout.mjs";
|
|
89
90
|
export {
|
|
90
91
|
X as APP_API_LIST_MODEL_KEY_CONFIG,
|
|
91
|
-
|
|
92
|
+
Z as APP_LAYOUT_APP_STORE_KEY,
|
|
92
93
|
j as APP_LAYOUT_BRIDGE_KEY,
|
|
93
94
|
Q as APP_LAYOUT_USER_STORE_KEY,
|
|
94
95
|
q as APP_PAGE_CONTENT_INSET,
|
|
95
|
-
|
|
96
|
+
se as APP_PAGE_SLOT_Z_INDEX,
|
|
96
97
|
a as ActionBtn,
|
|
97
98
|
p as ActionBtnGroup,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
_e as ActionConfirm,
|
|
100
|
+
Ae as AppAside,
|
|
101
|
+
Se as AppBody,
|
|
102
|
+
Pe as AppBreadcrumb,
|
|
102
103
|
Re as AppFooter,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
Ce as AppHeader,
|
|
105
|
+
Fe as AppLayout,
|
|
106
|
+
ge as AppPage,
|
|
107
|
+
he as AppSidebar,
|
|
107
108
|
Be as AppTheme,
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
Ve as AutoRefresh,
|
|
110
|
+
Ge as AutoRefreshGroup,
|
|
110
111
|
J as BODY_CONTENT_VIEWPORT_HEIGHT,
|
|
111
112
|
$ as BODY_CONTENT_VIEWPORT_INSET,
|
|
112
113
|
ee as BODY_CONTENT_VIEWPORT_RECT,
|
|
113
114
|
s as BooleanTag,
|
|
114
115
|
oe as CORE_BRIDGE_KEY,
|
|
115
116
|
Ue as CORE_VIEWPORT_DECOR_ZINDEX_ABOVE,
|
|
116
|
-
|
|
117
|
+
ve as CORE_VIEWPORT_DECOR_ZINDEX_BELOW,
|
|
117
118
|
Ke as ConfirmModal,
|
|
118
119
|
u as DetailModal,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
He as EXPORT_MAX_LIMIT,
|
|
121
|
+
je as FORM_CONFIG_SELECT_ALL_VALUE,
|
|
122
|
+
eo as FORM_ITEM_CHANGE_LOADING,
|
|
122
123
|
te as FORM_NEST_REGISTRY_KEY,
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
So as FormItemNestForm,
|
|
125
|
+
Po as FormItemNestFormList,
|
|
125
126
|
Ro as FormMain,
|
|
126
127
|
d as FormRadioGroup,
|
|
127
|
-
|
|
128
|
+
Co as FormSearch,
|
|
128
129
|
E as FormSelect,
|
|
129
130
|
n as FormSubmitBtn,
|
|
130
|
-
|
|
131
|
+
Fo as FormSubmitPanel,
|
|
131
132
|
T as FormTree,
|
|
132
133
|
c as FormVerifyCode,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
go as FormVerifyImage,
|
|
135
|
+
O as HeightProvider,
|
|
136
|
+
ho as ListPage,
|
|
136
137
|
I as MenuItemSub,
|
|
137
|
-
|
|
138
|
+
L as MenuTree,
|
|
138
139
|
N as ModalPorter,
|
|
139
140
|
M as ModalShelf,
|
|
140
141
|
re as NEST_LAYOUT_SCALE_KEY,
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
oo as NEST_LAYOUT_TIERS,
|
|
143
|
+
ke as OPERATE_COLUMN_PROP,
|
|
143
144
|
Bo as PanelEditSwitch,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
y as PanelItem,
|
|
146
|
+
Vo as PanelItemNestForm,
|
|
147
|
+
D as PanelItemNestPanel,
|
|
148
|
+
Go as PanelMain,
|
|
148
149
|
Uo as ROUTE_MODULE_LEVEL,
|
|
150
|
+
ae as SCOPE_VIEWPORT_MAX_HEIGHT,
|
|
149
151
|
Y as SelectModule,
|
|
150
152
|
Ko as SlotLayoutFlowAside,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
153
|
+
b as SlotLayoutTemplate,
|
|
154
|
+
Ho as TABLE_COLUMN_KEY_OPERATE,
|
|
155
|
+
ko as TABLE_COLUMN_KEY_SELECTION,
|
|
156
|
+
me as TABS_MAIN_VISUAL_LEVEL,
|
|
157
|
+
zo as TableMain,
|
|
158
|
+
v as TabsMain,
|
|
159
|
+
vo as TabsMainReplaceQueryKey,
|
|
160
|
+
K as TriggerAutoImport,
|
|
159
161
|
H as WatchSize,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
jo as buildRhythmCss,
|
|
163
|
+
to as ceilToTier,
|
|
164
|
+
Jo as checkLogin,
|
|
165
|
+
et as checkPermission,
|
|
166
|
+
le as computeAppPageContentInset,
|
|
167
|
+
ue as computeAppPageReducedViewportHeight,
|
|
168
|
+
xe as computeAppPageReducedViewportWidth,
|
|
169
|
+
de as computeAppPageSlotShimStyles,
|
|
170
|
+
ie as computeAppPageSlotStyles,
|
|
171
|
+
tt as countAll,
|
|
172
|
+
pt as createAppStore,
|
|
171
173
|
t as createCoreBridge,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
ro as
|
|
186
|
-
ao as
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
po as
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
Mt as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
xo as
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
Eo as
|
|
209
|
-
_o as
|
|
210
|
-
no as
|
|
211
|
-
|
|
212
|
-
Kt as
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
kt as
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
qt as
|
|
220
|
-
$t as
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
mr as
|
|
226
|
-
fr as
|
|
227
|
-
lr as
|
|
228
|
-
xr as
|
|
229
|
-
ir as
|
|
174
|
+
st as createGenerateRouteMetaRawTree,
|
|
175
|
+
ut as createGuard,
|
|
176
|
+
rt as createListApi,
|
|
177
|
+
dt as createNestFormExposeMap,
|
|
178
|
+
Et as createRoutePermissionStore,
|
|
179
|
+
nt as createStorageWithNamespace,
|
|
180
|
+
Tt as createUseState,
|
|
181
|
+
ct as createUserStore,
|
|
182
|
+
Ot as domClosestScrollableAncestor,
|
|
183
|
+
Rt as domClosestStickyScrollport,
|
|
184
|
+
Xe as exportCSV,
|
|
185
|
+
at as fetchListAll,
|
|
186
|
+
Ct as flatRouteMetaResolveRaw,
|
|
187
|
+
ro as generateFormData,
|
|
188
|
+
ao as getBlurSubmit,
|
|
189
|
+
mo as getChangeSubmit,
|
|
190
|
+
Qe as getConfirmPasswordRule,
|
|
191
|
+
po as getDatePickerShortcuts,
|
|
192
|
+
fo as getEnterSubmit,
|
|
193
|
+
Nt as getId,
|
|
194
|
+
pe as getModalShelfInjectionKey,
|
|
195
|
+
so as getPlaceholder,
|
|
196
|
+
Lt as getRoutePermissionKey,
|
|
197
|
+
lo as getVModelSugar,
|
|
198
|
+
Mt as nestFormItem,
|
|
199
|
+
yt as nestFormItemList,
|
|
200
|
+
Dt as nestPanelForm,
|
|
201
|
+
Yt as nestPanelItem,
|
|
202
|
+
uo as parseFormData,
|
|
203
|
+
qe as passwordRule,
|
|
204
|
+
ze as pickExportColumns,
|
|
205
|
+
bt as resolveBreakpointByWidth,
|
|
206
|
+
xo as resolveFormLayout,
|
|
207
|
+
io as resolveLayoutSpan,
|
|
208
|
+
Ut as resolveRootEl,
|
|
209
|
+
Je as setFormComponentType,
|
|
210
|
+
Eo as setInputComponent,
|
|
211
|
+
_o as setSelectComponent,
|
|
212
|
+
no as stringifyFormData,
|
|
213
|
+
Ao as swiftFormItemConfig,
|
|
214
|
+
Kt as themeScaleDerive,
|
|
215
|
+
Wt as themeScaleMix,
|
|
216
|
+
Ht as themeScaleParseHex,
|
|
217
|
+
kt as themeScaleToRgba,
|
|
218
|
+
zt as timeCountDown,
|
|
219
|
+
jt as useActivated,
|
|
220
|
+
Qt as useActivatedEvent,
|
|
221
|
+
qt as useActivatedExec,
|
|
222
|
+
$t as useBreakpoint,
|
|
223
|
+
or as useChannelViewportHeight,
|
|
224
|
+
Qo as useCoreThemeApply,
|
|
225
|
+
rr as useCoreViewportApply,
|
|
226
|
+
vt as useCustomBreakpoint,
|
|
227
|
+
mr as useFeelSize,
|
|
228
|
+
fr as useMenusDataDispatch,
|
|
229
|
+
lr as useNestForm,
|
|
230
|
+
xr as useNestFormList,
|
|
231
|
+
ir as useNestLayoutScale,
|
|
232
|
+
_r as useObserveSize,
|
|
233
|
+
Ar as useTimeout
|
|
230
234
|
};
|
package/es/inject/key.mjs
CHANGED
|
@@ -2,43 +2,46 @@ import T from "../injectInfo.json.mjs";
|
|
|
2
2
|
const _ = (E) => `${T.name}:${E}`, O = Symbol.for(
|
|
3
3
|
_("BODY_CONTENT_VIEWPORT_HEIGHT")
|
|
4
4
|
), S = Symbol.for(
|
|
5
|
+
_("SCOPE_VIEWPORT_MAX_HEIGHT")
|
|
6
|
+
), P = Symbol.for(
|
|
5
7
|
_("BODY_CONTENT_VIEWPORT_RECT")
|
|
6
8
|
), A = Symbol.for(
|
|
7
9
|
_("BODY_CONTENT_VIEWPORT_INSET")
|
|
8
|
-
),
|
|
10
|
+
), I = Symbol.for(
|
|
9
11
|
_("APP_PAGE_CONTENT_INSET")
|
|
10
12
|
);
|
|
11
|
-
function
|
|
13
|
+
function R(E) {
|
|
12
14
|
return Symbol.for(
|
|
13
15
|
_(`MODAL_SHELF_${E}`)
|
|
14
16
|
);
|
|
15
17
|
}
|
|
16
|
-
const
|
|
18
|
+
const N = Symbol.for(
|
|
17
19
|
_("TABS_MAIN_VISUAL_LEVEL")
|
|
18
20
|
), Y = Symbol.for(
|
|
19
21
|
_("APP_LAYOUT_APP_STORE_KEY")
|
|
20
|
-
), I = Symbol.for(
|
|
21
|
-
_("APP_LAYOUT_USER_STORE_KEY")
|
|
22
22
|
), n = Symbol.for(
|
|
23
|
-
_("
|
|
23
|
+
_("APP_LAYOUT_USER_STORE_KEY")
|
|
24
24
|
), t = Symbol.for(
|
|
25
|
+
_("APP_LAYOUT_BRIDGE_KEY")
|
|
26
|
+
), r = Symbol.for(
|
|
25
27
|
_("CORE_BRIDGE_KEY")
|
|
26
28
|
), L = Symbol.for(
|
|
27
29
|
_("FORM_NEST_REGISTRY")
|
|
28
|
-
),
|
|
30
|
+
), f = Symbol.for(
|
|
29
31
|
_("NEST_LAYOUT_SCALE")
|
|
30
32
|
);
|
|
31
33
|
export {
|
|
32
34
|
Y as APP_LAYOUT_APP_STORE_KEY,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
t as APP_LAYOUT_BRIDGE_KEY,
|
|
36
|
+
n as APP_LAYOUT_USER_STORE_KEY,
|
|
37
|
+
I as APP_PAGE_CONTENT_INSET,
|
|
36
38
|
O as BODY_CONTENT_VIEWPORT_HEIGHT,
|
|
37
39
|
A as BODY_CONTENT_VIEWPORT_INSET,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
P as BODY_CONTENT_VIEWPORT_RECT,
|
|
41
|
+
r as CORE_BRIDGE_KEY,
|
|
40
42
|
L as FORM_NEST_REGISTRY_KEY,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
N as
|
|
43
|
+
f as NEST_LAYOUT_SCALE_KEY,
|
|
44
|
+
S as SCOPE_VIEWPORT_MAX_HEIGHT,
|
|
45
|
+
N as TABS_MAIN_VISUAL_LEVEL,
|
|
46
|
+
R as getModalShelfInjectionKey
|
|
44
47
|
};
|