@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.
Files changed (54) hide show
  1. package/es/components/app-layout/AppBody.vue.mjs +1 -1
  2. package/es/components/app-layout/AppBody.vue2.mjs +43 -39
  3. package/es/components/app-layout/AppPage.vue.mjs +2 -2
  4. package/es/components/app-layout/AppPage.vue2.mjs +114 -105
  5. package/es/components/display/TabsHeader.vue.mjs +2 -2
  6. package/es/components/display/TabsHeader.vue2.mjs +31 -32
  7. package/es/components/display/TabsRefineFlow.vue.mjs +30 -32
  8. package/es/components/display/TabsTile.vue.mjs +2 -2
  9. package/es/components/display/WatchSize.vue.mjs +34 -31
  10. package/es/components/form/FormMain.vue.mjs +2 -2
  11. package/es/components/form/FormMain.vue2.mjs +80 -75
  12. package/es/components/form/FormSearch.vue.mjs +1 -1
  13. package/es/components/form/FormSearch.vue2.mjs +82 -80
  14. package/es/components/form/FormSubmitPanel.vue2.mjs +11 -10
  15. package/es/components/form/use-layout-by-container.mjs +20 -0
  16. package/es/components/list-page/ListPage.vue.mjs +2 -2
  17. package/es/components/list-page/ListPage.vue2.mjs +167 -137
  18. package/es/components/list-page/use-sticky.mjs +41 -0
  19. package/es/components/modal/ConfirmModal.vue.mjs +3 -2
  20. package/es/components/modal/ConfirmModal.vue2.mjs +104 -55
  21. package/es/components/modal/DetailModal.vue.mjs +40 -34
  22. package/es/components/modal/ModalPorter.vue.mjs +20 -23
  23. package/es/components/table/TableMain.vue.mjs +1 -1
  24. package/es/components/table/TableMain.vue2.mjs +27 -28
  25. package/es/hooks/activated.mjs +16 -24
  26. package/es/hooks/use-breakpoint.mjs +17 -21
  27. package/es/hooks/use-channel-viewport-height.mjs +26 -8
  28. package/es/hooks/use-observe-size.mjs +26 -0
  29. package/es/index.mjs +177 -173
  30. package/es/inject/key.mjs +18 -15
  31. package/es/style.css +1 -1
  32. package/es/utils/dom.mjs +11 -1
  33. package/package.json +2 -2
  34. package/types/components/app-layout/AppPage.vue.d.ts +8 -0
  35. package/types/components/display/TabsTile.vue.d.ts +2 -2
  36. package/types/components/display/WatchSize.vue.d.ts +4 -0
  37. package/types/components/display/types.d.ts +1 -5
  38. package/types/components/form/FormItem.vue.d.ts +8 -8
  39. package/types/components/form/FormMain.vue.d.ts +1 -12
  40. package/types/components/form/FormSubmitPanel.vue.d.ts +1 -1
  41. package/types/components/form/types.d.ts +1 -0
  42. package/types/components/form/use-layout-by-container.d.ts +11 -0
  43. package/types/components/list-page/ListPage.vue.d.ts +6 -1
  44. package/types/components/list-page/types.d.ts +5 -0
  45. package/types/components/list-page/use-sticky.d.ts +19 -0
  46. package/types/components/modal/ConfirmModal.vue.d.ts +15 -3
  47. package/types/components/modal/DetailModal.vue.d.ts +4 -1
  48. package/types/components/panel/PanelItemNestForm.vue.d.ts +1 -1
  49. package/types/hooks/index.d.ts +1 -0
  50. package/types/hooks/use-channel-viewport-height.d.ts +2 -1
  51. package/types/hooks/use-observe-size.d.ts +7 -0
  52. package/types/inject/key.d.ts +8 -2
  53. package/types/injectInfo.json.d.ts +1 -1
  54. package/types/utils/dom.d.ts +1 -0
@@ -1,6 +1,6 @@
1
- import { ref as s, watch as a, readonly as m } from "vue";
2
- import { useActivated as c } from "./activated.mjs";
3
- const i = [], d = ["xl", "lg", "md", "sm"], f = () => {
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 d)
13
+ for (const t of m)
14
14
  i.push({ key: t, mql: window.matchMedia(e[t]) });
15
- }, u = () => {
16
- const e = s("lg"), t = () => {
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
- }, { isActivated: r } = c();
24
- return a(
25
- r,
26
- (o) => {
27
- if (o) {
28
- f(), t();
29
- for (const { mql: n } of i)
30
- n.addEventListener("change", t);
31
- } else
32
- for (const { mql: n } of i)
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
- u as useBreakpoint
35
+ l as useBreakpoint
40
36
  };
@@ -1,15 +1,33 @@
1
- import { inject as i, computed as o, watch as v } from "vue";
2
- import { BODY_CONTENT_VIEWPORT_HEIGHT as p } from "../inject/key.mjs";
3
- const f = (e, l = {}) => {
4
- const h = l.fallback ?? 0, n = e.parentChannel ? Symbol.for(e.parentChannel) : void 0, t = n ? i(n, void 0) : void 0, r = i(p, void 0), a = o(() => t ? t.viewportHeight.value : e.viewportHeight !== void 0 ? e.viewportHeight : r ? r.value : h), c = o(() => (t == null ? void 0 : t.level) ?? 0);
5
- return v(
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
- () => e.parentChannel,
25
+ () => t.parentChannel,
8
26
  () => console.error(
9
27
  "[useChannelViewportHeight] parentChannel 不支持响应式变更,当前值已忽略。"
10
28
  )
11
- ), { viewportHeightFinal: a, parentLevel: c };
29
+ ), { viewportHeightFinal: c, nearestScope: r };
12
30
  };
13
31
  export {
14
- f as useChannelViewportHeight
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 R } from "./components/display/HeightProvider.vue.mjs";
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 C } from "./components/menu/MenuTree.vue.mjs";
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 B } from "./components/panel/PanelItem.vue.mjs";
17
- import { default as y } from "./components/panel/PanelItemNestPanel.vue.mjs";
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 U } from "./components/slot-layout/SlotLayoutTemplate.vue.mjs";
20
- import { default as w } from "./components/display/TabsMain.vue.mjs";
21
- import { default as v } from "./components/misc/TriggerAutoImport.vue.mjs";
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 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, TABS_MAIN_VISUAL_LEVEL as ae, getModalShelfInjectionKey as me } from "./inject/key.mjs";
25
- import { APP_PAGE_SLOT_Z_INDEX as fe, computeAppPageContentInset as se, computeAppPageReducedViewportHeight as le, computeAppPageReducedViewportWidth as ue, computeAppPageSlotShimStyles as xe, computeAppPageSlotStyles as de } from "./components/app-layout/app-page-geometry.mjs";
26
- import { default as Ee } from "./components/display/ActionConfirm.vue.mjs";
27
- import { default as ne } from "./components/app-layout/AppAside.vue.mjs";
28
- import { default as Te } from "./components/app-layout/AppBody.vue.mjs";
29
- import { default as ce } from "./components/app-layout/AppBreadcrumb.vue.mjs";
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 Ie } from "./components/app-layout/AppHeader.vue.mjs";
32
- import { default as Ce } from "./components/app-layout/AppLayout.vue.mjs";
33
- import { default as Ne } from "./components/app-layout/AppPage.vue.mjs";
34
- import { default as Me } from "./components/app-layout/AppSidebar.vue.mjs";
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 ye } from "./components/misc/AutoRefresh.vue.mjs";
37
- import { default as Ye } from "./components/misc/AutoRefreshGroup.vue.mjs";
38
- import { CORE_VIEWPORT_DECOR_ZINDEX_ABOVE as Ue, CORE_VIEWPORT_DECOR_ZINDEX_BELOW as be } from "./components/app-layout/viewport.mjs";
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 We, OPERATE_COLUMN_PROP as He, exportCSV as ke, pickExportColumns as Xe } from "./utils/export.mjs";
41
- import { FORM_CONFIG_SELECT_ALL_VALUE as ze, getConfirmPasswordRule as je, passwordRule as Qe, setFormComponentType as qe } from "./helpers/form.mjs";
42
- import { FORM_ITEM_CHANGE_LOADING as $e, NEST_LAYOUT_TIERS as eo, ceilToTier as oo, generateFormData as to, getBlurSubmit as ro, getChangeSubmit as ao, getDatePickerShortcuts as mo, getEnterSubmit as po, getPlaceholder as fo, getVModelSugar as so, parseFormData as lo, resolveFormLayout as uo, resolveLayoutSpan as xo, setInputComponent as io, setSelectComponent as Eo, stringifyFormData as _o, swiftFormItemConfig as no } from "./components/form/utils.mjs";
43
- import { default as To } from "./components/form/FormItemNestForm.vue.mjs";
44
- import { default as co } from "./components/form/FormItemNestFormList.vue.mjs";
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 Io } from "./components/form/FormSearch.vue.mjs";
47
- import { default as Co } from "./components/form/FormSubmitPanel.vue.mjs";
48
- import { default as No } from "./components/form/FormVerifyImage.vue.mjs";
49
- import { default as Mo } from "./components/list-page/ListPage.vue.mjs";
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 yo } from "./components/panel/PanelItemNestForm.vue.mjs";
52
- import { default as Yo } from "./components/panel/PanelMain.vue.mjs";
53
- import { ROUTE_MODULE_LEVEL as Uo, TabsMainReplaceQueryKey as bo } from "./config/route.mjs";
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 Wo, TABLE_COLUMN_KEY_SELECTION as Ho } from "./components/table/constants.mjs";
56
- import { default as Xo } from "./components/table/TableMain.vue.mjs";
57
- import { buildRhythmCss as zo, useCoreThemeApply as jo } from "./hooks/use-theme-apply.mjs";
58
- import { checkLogin as qo } from "./router/guard/login.mjs";
59
- import { checkPermission as $o } from "./router/guard/permission.mjs";
60
- import { countAll as ot, createListApi as tt, fetchListAll as rt } from "./helpers/list-helper.mjs";
61
- import { createAppStore as mt } from "./store/app.mjs";
62
- import { createGenerateRouteMetaRawTree as ft } from "./bridge/route.mjs";
63
- import { createGuard as lt } from "./router/guard/index.mjs";
64
- import { createNestFormExposeMap as xt } from "./components/form/nest-registry.mjs";
65
- import { createRoutePermissionStore as it } from "./store/router-permission.mjs";
66
- import { createStorageWithNamespace as _t } from "./bridge/storage.mjs";
67
- import { createUseState as At } from "./bridge/state.mjs";
68
- import { createUserStore as St } from "./store/user.mjs";
69
- import { domClosestScrollableAncestor as Pt } from "./utils/dom.mjs";
70
- import { flatRouteMetaResolveRaw as Ot, getRoutePermissionKey as It } from "./utils/router.mjs";
71
- import { getId as Ct } from "./utils/id.mjs";
72
- import { nestFormItem as Nt } from "./components/form/nest-form-item.mjs";
73
- import { nestFormItemList as Mt } from "./components/form/nest-form-item-list.mjs";
74
- import { nestPanelForm as Bt } from "./components/panel/nest-panel-form.mjs";
75
- import { nestPanelItem as yt } from "./components/panel/nest-panel-item.mjs";
76
- import { resolveBreakpointByWidth as Yt, resolveRootEl as Gt, useCustomBreakpoint as Ut } from "./hooks/use-custom-breakpoint.mjs";
77
- import { themeScaleDerive as wt, themeScaleMix as Kt, themeScaleParseHex as vt, themeScaleToRgba as Wt } from "./utils/theme-scale.mjs";
78
- import { timeCountDown as kt } from "./utils/time.mjs";
79
- import { useActivated as Zt, useActivatedEvent as zt, useActivatedExec as jt } from "./hooks/activated.mjs";
80
- import { useBreakpoint as qt } from "./hooks/use-breakpoint.mjs";
81
- import { useChannelViewportHeight as $t } from "./hooks/use-channel-viewport-height.mjs";
82
- import { useCoreViewportApply as or } from "./hooks/use-viewport-apply.mjs";
83
- import { useFeelSize as rr } from "./hooks/feel-size.mjs";
84
- import { useMenusDataDispatch as mr } from "./hooks/menus-dispatch.mjs";
85
- import { useNestForm as fr } from "./components/form/use-nest-form.mjs";
86
- import { useNestFormList as lr } from "./components/form/use-nest-form-list.mjs";
87
- import { useNestLayoutScale as xr } from "./components/form/use-nest-layout-scale.mjs";
88
- import { useTimeout as ir } from "./hooks/timeout.mjs";
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
- z as APP_LAYOUT_APP_STORE_KEY,
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
- fe as APP_PAGE_SLOT_Z_INDEX,
96
+ se as APP_PAGE_SLOT_Z_INDEX,
96
97
  a as ActionBtn,
97
98
  p as ActionBtnGroup,
98
- Ee as ActionConfirm,
99
- ne as AppAside,
100
- Te as AppBody,
101
- ce as AppBreadcrumb,
99
+ _e as ActionConfirm,
100
+ Ae as AppAside,
101
+ Se as AppBody,
102
+ Pe as AppBreadcrumb,
102
103
  Re as AppFooter,
103
- Ie as AppHeader,
104
- Ce as AppLayout,
105
- Ne as AppPage,
106
- Me as AppSidebar,
104
+ Ce as AppHeader,
105
+ Fe as AppLayout,
106
+ ge as AppPage,
107
+ he as AppSidebar,
107
108
  Be as AppTheme,
108
- ye as AutoRefresh,
109
- Ye as AutoRefreshGroup,
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
- be as CORE_VIEWPORT_DECOR_ZINDEX_BELOW,
117
+ ve as CORE_VIEWPORT_DECOR_ZINDEX_BELOW,
117
118
  Ke as ConfirmModal,
118
119
  u as DetailModal,
119
- We as EXPORT_MAX_LIMIT,
120
- ze as FORM_CONFIG_SELECT_ALL_VALUE,
121
- $e as FORM_ITEM_CHANGE_LOADING,
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
- To as FormItemNestForm,
124
- co as FormItemNestFormList,
124
+ So as FormItemNestForm,
125
+ Po as FormItemNestFormList,
125
126
  Ro as FormMain,
126
127
  d as FormRadioGroup,
127
- Io as FormSearch,
128
+ Co as FormSearch,
128
129
  E as FormSelect,
129
130
  n as FormSubmitBtn,
130
- Co as FormSubmitPanel,
131
+ Fo as FormSubmitPanel,
131
132
  T as FormTree,
132
133
  c as FormVerifyCode,
133
- No as FormVerifyImage,
134
- R as HeightProvider,
135
- Mo as ListPage,
134
+ go as FormVerifyImage,
135
+ O as HeightProvider,
136
+ ho as ListPage,
136
137
  I as MenuItemSub,
137
- C as MenuTree,
138
+ L as MenuTree,
138
139
  N as ModalPorter,
139
140
  M as ModalShelf,
140
141
  re as NEST_LAYOUT_SCALE_KEY,
141
- eo as NEST_LAYOUT_TIERS,
142
- He as OPERATE_COLUMN_PROP,
142
+ oo as NEST_LAYOUT_TIERS,
143
+ ke as OPERATE_COLUMN_PROP,
143
144
  Bo as PanelEditSwitch,
144
- B as PanelItem,
145
- yo as PanelItemNestForm,
146
- y as PanelItemNestPanel,
147
- Yo as PanelMain,
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
- U as SlotLayoutTemplate,
152
- Wo as TABLE_COLUMN_KEY_OPERATE,
153
- Ho as TABLE_COLUMN_KEY_SELECTION,
154
- ae as TABS_MAIN_VISUAL_LEVEL,
155
- Xo as TableMain,
156
- w as TabsMain,
157
- bo as TabsMainReplaceQueryKey,
158
- v as TriggerAutoImport,
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
- zo as buildRhythmCss,
161
- oo as ceilToTier,
162
- qo as checkLogin,
163
- $o as checkPermission,
164
- se as computeAppPageContentInset,
165
- le as computeAppPageReducedViewportHeight,
166
- ue as computeAppPageReducedViewportWidth,
167
- xe as computeAppPageSlotShimStyles,
168
- de as computeAppPageSlotStyles,
169
- ot as countAll,
170
- mt as createAppStore,
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
- ft as createGenerateRouteMetaRawTree,
173
- lt as createGuard,
174
- tt as createListApi,
175
- xt as createNestFormExposeMap,
176
- it as createRoutePermissionStore,
177
- _t as createStorageWithNamespace,
178
- At as createUseState,
179
- St as createUserStore,
180
- Pt as domClosestScrollableAncestor,
181
- ke as exportCSV,
182
- rt as fetchListAll,
183
- Ot as flatRouteMetaResolveRaw,
184
- to as generateFormData,
185
- ro as getBlurSubmit,
186
- ao as getChangeSubmit,
187
- je as getConfirmPasswordRule,
188
- mo as getDatePickerShortcuts,
189
- po as getEnterSubmit,
190
- Ct as getId,
191
- me as getModalShelfInjectionKey,
192
- fo as getPlaceholder,
193
- It as getRoutePermissionKey,
194
- so as getVModelSugar,
195
- Nt as nestFormItem,
196
- Mt as nestFormItemList,
197
- Bt as nestPanelForm,
198
- yt as nestPanelItem,
199
- lo as parseFormData,
200
- Qe as passwordRule,
201
- Xe as pickExportColumns,
202
- Yt as resolveBreakpointByWidth,
203
- uo as resolveFormLayout,
204
- xo as resolveLayoutSpan,
205
- Gt as resolveRootEl,
206
- qe as setFormComponentType,
207
- io as setInputComponent,
208
- Eo as setSelectComponent,
209
- _o as stringifyFormData,
210
- no as swiftFormItemConfig,
211
- wt as themeScaleDerive,
212
- Kt as themeScaleMix,
213
- vt as themeScaleParseHex,
214
- Wt as themeScaleToRgba,
215
- kt as timeCountDown,
216
- Zt as useActivated,
217
- zt as useActivatedEvent,
218
- jt as useActivatedExec,
219
- qt as useBreakpoint,
220
- $t as useChannelViewportHeight,
221
- jo as useCoreThemeApply,
222
- or as useCoreViewportApply,
223
- Ut as useCustomBreakpoint,
224
- rr as useFeelSize,
225
- mr as useMenusDataDispatch,
226
- fr as useNestForm,
227
- lr as useNestFormList,
228
- xr as useNestLayoutScale,
229
- ir as useTimeout
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
- ), P = Symbol.for(
10
+ ), I = Symbol.for(
9
11
  _("APP_PAGE_CONTENT_INSET")
10
12
  );
11
- function N(E) {
13
+ function R(E) {
12
14
  return Symbol.for(
13
15
  _(`MODAL_SHELF_${E}`)
14
16
  );
15
17
  }
16
- const R = Symbol.for(
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
- _("APP_LAYOUT_BRIDGE_KEY")
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
- ), r = Symbol.for(
30
+ ), f = Symbol.for(
29
31
  _("NEST_LAYOUT_SCALE")
30
32
  );
31
33
  export {
32
34
  Y as APP_LAYOUT_APP_STORE_KEY,
33
- n as APP_LAYOUT_BRIDGE_KEY,
34
- I as APP_LAYOUT_USER_STORE_KEY,
35
- P as APP_PAGE_CONTENT_INSET,
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
- S as BODY_CONTENT_VIEWPORT_RECT,
39
- t as CORE_BRIDGE_KEY,
40
+ P as BODY_CONTENT_VIEWPORT_RECT,
41
+ r as CORE_BRIDGE_KEY,
40
42
  L as FORM_NEST_REGISTRY_KEY,
41
- r as NEST_LAYOUT_SCALE_KEY,
42
- R as TABS_MAIN_VISUAL_LEVEL,
43
- N as getModalShelfInjectionKey
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
  };