@done-coding/admin-core 0.9.0 → 0.9.1-alpha.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/docs/nested-config-paradigm.md +80 -0
- package/es/bridge/theme.mjs +41 -38
- package/es/components/app-layout/AppTheme.vue.mjs +2 -2
- package/es/components/app-layout/AppTheme.vue2.mjs +19 -19
- package/es/components/form/FormItemNestForm.vue.mjs +7 -0
- package/es/components/form/FormItemNestForm.vue2.mjs +49 -0
- package/es/components/form/FormItemNestFormList.vue.mjs +7 -0
- package/es/components/form/FormItemNestFormList.vue2.mjs +137 -0
- package/es/components/form/FormMain.vue.mjs +5 -140
- package/es/components/form/FormMain.vue2.mjs +160 -2
- package/es/components/form/FormSearch.vue.mjs +2 -2
- package/es/components/form/FormSearch.vue2.mjs +43 -42
- package/es/components/form/FormSubmitPanel.vue2.mjs +21 -20
- package/es/components/form/nest-form-item-list.mjs +71 -0
- package/es/components/form/nest-form-item.mjs +42 -0
- package/es/components/form/nest-registry.mjs +7 -0
- package/es/components/form/use-nest-form-list.mjs +22 -0
- package/es/components/form/use-nest-form.mjs +34 -0
- package/es/components/form/use-nest-layout-scale.mjs +14 -0
- package/es/components/form/utils.mjs +77 -61
- package/es/components/modal/ConfirmModal.vue.mjs +1 -2
- package/es/components/modal/ConfirmModal.vue2.mjs +73 -94
- package/es/components/modal/DetailModal.vue.mjs +6 -6
- package/es/components/panel/PanelItemNestForm.vue.mjs +7 -0
- package/es/components/panel/PanelItemNestForm.vue2.mjs +69 -0
- package/es/components/panel/PanelItemNestPanel.vue.mjs +34 -0
- package/es/components/panel/PanelItemNestPanel.vue2.mjs +4 -0
- package/es/components/panel/PanelMain.vue.mjs +2 -2
- package/es/components/panel/PanelMain.vue2.mjs +52 -45
- package/es/components/panel/nest-panel-form.mjs +53 -0
- package/es/components/panel/nest-panel-item.mjs +25 -0
- package/es/index.mjs +182 -153
- package/es/inject/key.mjs +12 -6
- package/es/style.css +1 -1
- package/package.json +2 -2
- package/types/bridge/index.d.ts +3 -3
- package/types/bridge/theme.d.ts +22 -3
- package/types/components/form/FormItemNestForm.vue.d.ts +36 -0
- package/types/components/form/FormItemNestFormList.vue.d.ts +63 -0
- package/types/components/form/FormMain.vue.d.ts +2 -2
- package/types/components/form/FormSearch.vue.d.ts +2 -2
- package/types/components/form/index.d.ts +9 -1
- package/types/components/form/nest-form-item-list.d.ts +63 -0
- package/types/components/form/nest-form-item.d.ts +36 -0
- package/types/components/form/nest-registry.d.ts +22 -0
- package/types/components/form/types.d.ts +2 -0
- package/types/components/form/use-nest-form-list.d.ts +20 -0
- package/types/components/form/use-nest-form.d.ts +26 -0
- package/types/components/form/use-nest-layout-scale.d.ts +17 -0
- package/types/components/form/utils.d.ts +26 -1
- package/types/components/panel/PanelItemNestForm.vue.d.ts +35 -0
- package/types/components/panel/PanelItemNestPanel.vue.d.ts +22 -0
- package/types/components/panel/index.d.ts +5 -1
- package/types/components/panel/nest-panel-form.d.ts +38 -0
- package/types/components/panel/nest-panel-item.d.ts +28 -0
- package/types/components/panel/types.d.ts +2 -0
- package/types/components/table/TableMain.vue.d.ts +2 -2
- package/types/inject/key.d.ts +28 -1
|
@@ -1,75 +1,82 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { ElCard as f, ElRow as
|
|
1
|
+
import { defineComponent as w, useCssVars as B, computed as s, provide as M, ref as L, watch as x, openBlock as l, createBlock as u, unref as d, withCtx as c, createElementBlock as F, Fragment as j, renderList as O, withDirectives as P, mergeProps as T, resolveDynamicComponent as U, normalizeClass as A, createVNode as D, vShow as G } from "vue";
|
|
2
|
+
import H from "./PanelItem.vue.mjs";
|
|
3
|
+
import { ElCard as f, ElRow as N, ElCol as V } from "element-plus";
|
|
4
|
+
import { NEST_LAYOUT_SCALE_KEY as W } from "../../inject/key.mjs";
|
|
4
5
|
import { resolveFormLayout as p } from "../form/utils.mjs";
|
|
5
|
-
const
|
|
6
|
+
const q = /* @__PURE__ */ w({
|
|
6
7
|
name: "PanelMain",
|
|
7
8
|
__name: "PanelMain",
|
|
8
9
|
props: {
|
|
9
10
|
data: {},
|
|
10
11
|
rowGutter: { default: 8 },
|
|
11
12
|
layout: { default: () => ({ span: 24 }) },
|
|
13
|
+
layoutScale: { default: 1 },
|
|
12
14
|
list: {},
|
|
13
15
|
itemCard: { type: [Boolean, Object], default: () => ({ lastMarginBottom: "8px" }) },
|
|
14
16
|
refreshFn: {}
|
|
15
17
|
},
|
|
16
18
|
emits: ["submitSuccess"],
|
|
17
|
-
setup(
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
setup(o, { emit: y }) {
|
|
20
|
+
B((a) => ({
|
|
21
|
+
v5b714e11: h.value
|
|
20
22
|
}));
|
|
21
|
-
const r =
|
|
22
|
-
|
|
23
|
-
),
|
|
23
|
+
const r = o, v = y, C = s(() => r.layoutScale ?? 1);
|
|
24
|
+
M(W, C);
|
|
25
|
+
const n = L({}), m = s(() => r.itemCard ? f : "span"), S = s(
|
|
26
|
+
() => `panel-main-item-col-wrap_${m.value === f ? "card" : "span"}`
|
|
27
|
+
), h = s(
|
|
24
28
|
() => typeof r.itemCard == "object" && r.itemCard.lastMarginBottom ? r.itemCard.lastMarginBottom : 0
|
|
25
|
-
), k = (
|
|
26
|
-
const { hide:
|
|
27
|
-
if (typeof
|
|
29
|
+
), k = (a) => {
|
|
30
|
+
const { hide: t } = a;
|
|
31
|
+
if (typeof t == "function") {
|
|
28
32
|
const e = {
|
|
29
33
|
data: r.data,
|
|
30
|
-
value: r.data[
|
|
31
|
-
config:
|
|
34
|
+
value: r.data[a.key],
|
|
35
|
+
config: a
|
|
32
36
|
};
|
|
33
|
-
return !!
|
|
37
|
+
return !!t(e);
|
|
34
38
|
}
|
|
35
|
-
return !!
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
return !!t;
|
|
40
|
+
}, _ = (a) => {
|
|
41
|
+
const t = r.layoutScale ?? 1;
|
|
42
|
+
return {
|
|
43
|
+
...p(r.layout, t),
|
|
44
|
+
...p(a, t)
|
|
45
|
+
};
|
|
46
|
+
}, b = (a, t) => {
|
|
47
|
+
n.value = {}, t && (n.value[a] = t);
|
|
48
|
+
}, g = (a) => (t) => {
|
|
42
49
|
var e;
|
|
43
|
-
return (e = r.refreshFn) == null ? void 0 : e.call(r,
|
|
44
|
-
},
|
|
45
|
-
v("submitSuccess",
|
|
50
|
+
return (e = r.refreshFn) == null ? void 0 : e.call(r, t, a);
|
|
51
|
+
}, E = (a, t) => {
|
|
52
|
+
v("submitSuccess", t, a);
|
|
46
53
|
};
|
|
47
|
-
return
|
|
54
|
+
return x(
|
|
48
55
|
() => r.list,
|
|
49
|
-
(
|
|
50
|
-
const
|
|
56
|
+
(a) => {
|
|
57
|
+
const t = a.map((e) => e.key);
|
|
51
58
|
Object.keys(n.value).forEach((e) => {
|
|
52
|
-
|
|
59
|
+
t.includes(e) || delete n.value[e];
|
|
53
60
|
});
|
|
54
61
|
},
|
|
55
62
|
{ immediate: !0 }
|
|
56
|
-
), (
|
|
57
|
-
default:
|
|
58
|
-
(
|
|
63
|
+
), (a, t) => (l(), u(d(N), { gutter: o.rowGutter }, {
|
|
64
|
+
default: c(() => [
|
|
65
|
+
(l(!0), F(j, null, O(o.list, (e) => P((l(), u(d(V), T({
|
|
59
66
|
key: e.key
|
|
60
|
-
}, { ref_for: !0 },
|
|
61
|
-
default:
|
|
62
|
-
(
|
|
63
|
-
class:
|
|
67
|
+
}, { ref_for: !0 }, _(e.layout), { class: "panel-main-item-col" }), {
|
|
68
|
+
default: c(() => [
|
|
69
|
+
(l(), u(U(m.value), {
|
|
70
|
+
class: A(S.value)
|
|
64
71
|
}, {
|
|
65
|
-
default:
|
|
66
|
-
H
|
|
67
|
-
data:
|
|
72
|
+
default: c(() => [
|
|
73
|
+
D(H, {
|
|
74
|
+
data: o.data,
|
|
68
75
|
config: e,
|
|
69
76
|
editing: n.value[e.key] ?? !1,
|
|
70
|
-
"refresh-fn":
|
|
71
|
-
"onUpdate:editing": (i) =>
|
|
72
|
-
onSubmitSuccess: (i) =>
|
|
77
|
+
"refresh-fn": g(e.key),
|
|
78
|
+
"onUpdate:editing": (i) => b(e.key, i),
|
|
79
|
+
onSubmitSuccess: (i) => E(e.key, i)
|
|
73
80
|
}, null, 8, ["data", "config", "editing", "refresh-fn", "onUpdate:editing", "onSubmitSuccess"])
|
|
74
81
|
]),
|
|
75
82
|
_: 2
|
|
@@ -77,7 +84,7 @@ const T = /* @__PURE__ */ B({
|
|
|
77
84
|
]),
|
|
78
85
|
_: 2
|
|
79
86
|
}, 1040)), [
|
|
80
|
-
[
|
|
87
|
+
[G, !k(e)]
|
|
81
88
|
])), 128))
|
|
82
89
|
]),
|
|
83
90
|
_: 1
|
|
@@ -85,5 +92,5 @@ const T = /* @__PURE__ */ B({
|
|
|
85
92
|
}
|
|
86
93
|
});
|
|
87
94
|
export {
|
|
88
|
-
|
|
95
|
+
q as default
|
|
89
96
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { h as w } from "vue";
|
|
2
|
+
import E from "./PanelItemNestForm.vue.mjs";
|
|
3
|
+
import { resolveLayoutSpan as P } from "../form/utils.mjs";
|
|
4
|
+
function s(u) {
|
|
5
|
+
const {
|
|
6
|
+
key: m,
|
|
7
|
+
label: d,
|
|
8
|
+
list: o,
|
|
9
|
+
layout: n,
|
|
10
|
+
rowGutter: b,
|
|
11
|
+
submitText: f,
|
|
12
|
+
cancelText: y,
|
|
13
|
+
editable: v,
|
|
14
|
+
submitFn: F,
|
|
15
|
+
render: k,
|
|
16
|
+
rebase: x
|
|
17
|
+
} = u, g = P(n);
|
|
18
|
+
return {
|
|
19
|
+
key: m,
|
|
20
|
+
label: d,
|
|
21
|
+
layout: n,
|
|
22
|
+
render: k,
|
|
23
|
+
editable: v ?? !0,
|
|
24
|
+
submitFn: F,
|
|
25
|
+
editorRender: (t) => {
|
|
26
|
+
const r = t.data, e = t.config.key;
|
|
27
|
+
return (t.value === void 0 || t.value === null) && (r[e] = {}), [
|
|
28
|
+
w(E, {
|
|
29
|
+
data: r[e],
|
|
30
|
+
list: o,
|
|
31
|
+
rowGutter: b,
|
|
32
|
+
submitText: f,
|
|
33
|
+
cancelText: y,
|
|
34
|
+
// P3:父 item 代表 span + rebase 开关,供薄壳算子 FormMain 的 layoutScale
|
|
35
|
+
parentSpan: g,
|
|
36
|
+
rebase: x,
|
|
37
|
+
// wire:校验通过后由组件调 submit → submitFn(草稿) 回流父数据 → closeEdit 关编辑态
|
|
38
|
+
submit: async () => {
|
|
39
|
+
var a, i, l;
|
|
40
|
+
await ((i = (a = t.config).submitFn) == null ? void 0 : i.call(a, t.data)), (l = t.closeEdit) == null || l.call(t);
|
|
41
|
+
},
|
|
42
|
+
cancel: () => {
|
|
43
|
+
var a;
|
|
44
|
+
return (a = t.closeEdit) == null ? void 0 : a.call(t);
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
s as nestPanelForm
|
|
53
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { h as s } from "vue";
|
|
2
|
+
import u from "./PanelItemNestPanel.vue.mjs";
|
|
3
|
+
import { resolveLayoutSpan as f } from "../form/utils.mjs";
|
|
4
|
+
function b(e) {
|
|
5
|
+
const { key: r, label: o, list: a, layout: t, itemCard: n, rowGutter: m, rebase: i } = e, l = f(t);
|
|
6
|
+
return {
|
|
7
|
+
key: r,
|
|
8
|
+
label: o,
|
|
9
|
+
layout: t,
|
|
10
|
+
render: (p) => [
|
|
11
|
+
s(u, {
|
|
12
|
+
data: p.value ?? {},
|
|
13
|
+
list: a,
|
|
14
|
+
itemCard: n,
|
|
15
|
+
rowGutter: m,
|
|
16
|
+
// P3:父 item 代表 span + rebase 开关,供薄壳算子 PanelMain 的 layoutScale
|
|
17
|
+
parentSpan: l,
|
|
18
|
+
rebase: i
|
|
19
|
+
})
|
|
20
|
+
]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
b as nestPanelItem
|
|
25
|
+
};
|
package/es/index.mjs
CHANGED
|
@@ -1,168 +1,197 @@
|
|
|
1
|
-
import { createAdminBridge as
|
|
1
|
+
import { createAdminBridge as t } from "./bridge/index.mjs";
|
|
2
2
|
import { default as a } from "./components/display/ActionBtn.vue.mjs";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
3
|
+
import { default as f } from "./components/display/ActionBtnGroup.vue.mjs";
|
|
4
|
+
import { default as s } from "./components/display/BooleanTag.vue.mjs";
|
|
5
5
|
import { default as l } from "./components/modal/DetailModal.vue.mjs";
|
|
6
|
-
import { default as d } from "./components/form/
|
|
7
|
-
import { default as n } from "./components/form/
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as E } from "./components/form/
|
|
10
|
-
import { default as P } from "./components/form/FormTree.vue.mjs";
|
|
6
|
+
import { default as d } from "./components/form/FormRadioGroup.vue.mjs";
|
|
7
|
+
import { default as n } from "./components/form/FormSelect.vue.mjs";
|
|
8
|
+
import { default as _ } from "./components/form/FormSubmitBtn.vue.mjs";
|
|
9
|
+
import { default as E } from "./components/form/FormTree.vue.mjs";
|
|
11
10
|
import { default as T } from "./components/form/FormVerifyCode.vue.mjs";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as K } from "./components/
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as ae } from "./components/app-layout/
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as le } from "./components/app-layout/
|
|
30
|
-
import { default as de } from "./components/app-layout/
|
|
31
|
-
import { default as ne } from "./components/app-layout/
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as Ee } from "./components/misc/
|
|
34
|
-
import { default as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import {
|
|
45
|
-
import { default as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
11
|
+
import { default as F } from "./components/display/HeightProvider.vue.mjs";
|
|
12
|
+
import { default as L } from "./components/menu/MenuItemSub.vue.mjs";
|
|
13
|
+
import { default as R } from "./components/menu/MenuTree.vue.mjs";
|
|
14
|
+
import { default as O } from "./components/modal/ModalPorter.vue.mjs";
|
|
15
|
+
import { default as N } from "./components/modal/ModalShelf.vue.mjs";
|
|
16
|
+
import { default as D } from "./components/panel/PanelItem.vue.mjs";
|
|
17
|
+
import { default as Y } from "./components/panel/PanelItemNestPanel.vue.mjs";
|
|
18
|
+
import { default as G } from "./components/misc/SelectModule.vue.mjs";
|
|
19
|
+
import { default as b } from "./components/display/TabsMain.vue.mjs";
|
|
20
|
+
import { default as K } from "./components/misc/TriggerAutoImport.vue.mjs";
|
|
21
|
+
import { default as w } from "./components/display/WatchSize.vue.mjs";
|
|
22
|
+
import { ADMIN_BRIDGE_KEY as k, APP_LAYOUT_APP_STORE_KEY as W, APP_LAYOUT_BRIDGE_KEY as z, APP_LAYOUT_USER_STORE_KEY as X, BODY_CONTENT_VIEWPORT_HEIGHT as j, FORM_NEST_REGISTRY_KEY as Q, NEST_LAYOUT_SCALE_KEY as q, TABS_MAIN_VISUAL_LEVEL as J, getModalShelfInjectionKey as Z } from "./inject/key.mjs";
|
|
23
|
+
import { APP_API_LIST_MODEL_KEY_CONFIG as ee } from "./config/list-model.mjs";
|
|
24
|
+
import { default as te } from "./components/display/ActionConfirm.vue.mjs";
|
|
25
|
+
import { default as ae } from "./components/app-layout/AppBody.vue.mjs";
|
|
26
|
+
import { default as fe } from "./components/app-layout/AppBreadcrumb.vue.mjs";
|
|
27
|
+
import { default as se } from "./components/app-layout/AppFooter.vue.mjs";
|
|
28
|
+
import { default as le } from "./components/app-layout/AppHeader.vue.mjs";
|
|
29
|
+
import { default as de } from "./components/app-layout/AppLayout.vue.mjs";
|
|
30
|
+
import { default as ne } from "./components/app-layout/AppPage.vue.mjs";
|
|
31
|
+
import { default as _e } from "./components/app-layout/AppSidebar.vue.mjs";
|
|
32
|
+
import { default as Ee } from "./components/misc/AutoRefresh.vue.mjs";
|
|
33
|
+
import { default as Te } from "./components/misc/AutoRefreshGroup.vue.mjs";
|
|
34
|
+
import { default as Fe } from "./components/modal/ConfirmModal.vue.mjs";
|
|
35
|
+
import { EXPORT_MAX_LIMIT as Le, OPERATE_COLUMN_PROP as Me, exportCSV as Re, pickExportColumns as ge } from "./utils/export.mjs";
|
|
36
|
+
import { FORM_CONFIG_SELECT_ALL_VALUE as he, getConfirmPasswordRule as Ne, passwordRule as Ce, setFormComponentType as De } from "./helpers/form.mjs";
|
|
37
|
+
import { FORM_ITEM_CHANGE_LOADING as Ye, NEST_LAYOUT_TIERS as Be, ceilToTier as Ge, generateFormData as Ue, getBlurSubmit as be, getChangeSubmit as Ve, getDatePickerShortcuts as Ke, getEnterSubmit as ve, getPlaceholder as we, getVModelSugar as He, parseFormData as ke, resolveFormLayout as We, resolveLayoutSpan as ze, setInputComponent as Xe, setSelectComponent as je, stringifyFormData as Qe, swiftFormItemConfig as qe } from "./components/form/utils.mjs";
|
|
38
|
+
import { default as Ze } from "./components/form/FormItemNestForm.vue.mjs";
|
|
39
|
+
import { default as eo } from "./components/form/FormItemNestFormList.vue.mjs";
|
|
40
|
+
import { default as to } from "./components/form/FormMain.vue.mjs";
|
|
41
|
+
import { default as ao } from "./components/form/FormSearch.vue.mjs";
|
|
42
|
+
import { default as fo } from "./components/form/FormSubmitPanel.vue.mjs";
|
|
43
|
+
import { default as so } from "./components/form/FormVerifyImage.vue.mjs";
|
|
44
|
+
import { default as lo } from "./components/list-page/ListPage.vue.mjs";
|
|
45
|
+
import { default as io } from "./components/panel/PanelEditSwitch.vue.mjs";
|
|
46
|
+
import { default as Ao } from "./components/panel/PanelItemNestForm.vue.mjs";
|
|
47
|
+
import { default as co } from "./components/panel/PanelMain.vue.mjs";
|
|
48
|
+
import { ROUTE_MODULE_LEVEL as So, TabsMainReplaceQueryKey as To } from "./config/route.mjs";
|
|
49
|
+
import { default as Fo } from "./components/table/TableMain.vue.mjs";
|
|
50
|
+
import { checkLogin as Lo } from "./router/guard/login.mjs";
|
|
51
|
+
import { checkPermission as Ro } from "./router/guard/permission.mjs";
|
|
52
|
+
import { countAll as Oo, createListApi as ho, fetchListAll as No } from "./helpers/list-helper.mjs";
|
|
53
|
+
import { createAppStore as Do } from "./store/app.mjs";
|
|
54
|
+
import { createGenerateRouteMetaRawTree as Yo } from "./bridge/route.mjs";
|
|
55
|
+
import { createGuard as Go } from "./router/guard/index.mjs";
|
|
56
|
+
import { createNestFormExposeMap as bo } from "./components/form/nest-registry.mjs";
|
|
57
|
+
import { createRoutePermissionStore as Ko } from "./store/router-permission.mjs";
|
|
58
|
+
import { createStorageWithNamespace as wo } from "./bridge/storage.mjs";
|
|
59
|
+
import { createUseState as ko } from "./bridge/state.mjs";
|
|
60
|
+
import { createUserStore as zo } from "./store/user.mjs";
|
|
61
|
+
import { flatRouteMetaResolveRaw as jo, getRoutePermissionKey as Qo } from "./utils/router.mjs";
|
|
62
|
+
import { getId as Jo } from "./utils/id.mjs";
|
|
63
|
+
import { nestFormItem as $o } from "./components/form/nest-form-item.mjs";
|
|
64
|
+
import { nestFormItemList as ot } from "./components/form/nest-form-item-list.mjs";
|
|
65
|
+
import { nestPanelForm as rt } from "./components/panel/nest-panel-form.mjs";
|
|
66
|
+
import { nestPanelItem as mt } from "./components/panel/nest-panel-item.mjs";
|
|
67
|
+
import { themeScaleDerive as pt, themeScaleMix as st } from "./utils/theme-scale.mjs";
|
|
68
|
+
import { timeCountDown as lt } from "./utils/time.mjs";
|
|
69
|
+
import { useActivated as dt, useActivatedEvent as it, useActivatedExec as nt } from "./hooks/activated.mjs";
|
|
70
|
+
import { useAdminThemeApply as _t } from "./hooks/use-admin-theme-apply.mjs";
|
|
71
|
+
import { useAdminViewportApply as Et } from "./hooks/use-admin-viewport-apply.mjs";
|
|
72
|
+
import { useBreakpoint as Tt } from "./hooks/use-breakpoint.mjs";
|
|
73
|
+
import { useChannelViewportHeight as Ft } from "./hooks/use-channel-viewport-height.mjs";
|
|
74
|
+
import { useFeelSize as Lt } from "./hooks/feel-size.mjs";
|
|
75
|
+
import { useMenusDataDispatch as Rt } from "./hooks/menus-dispatch.mjs";
|
|
76
|
+
import { useNestForm as Ot } from "./components/form/use-nest-form.mjs";
|
|
77
|
+
import { useNestFormList as Nt } from "./components/form/use-nest-form-list.mjs";
|
|
78
|
+
import { useNestLayoutScale as Dt } from "./components/form/use-nest-layout-scale.mjs";
|
|
79
|
+
import { useTimeout as Yt } from "./hooks/timeout.mjs";
|
|
68
80
|
export {
|
|
69
81
|
k as ADMIN_BRIDGE_KEY,
|
|
70
|
-
|
|
82
|
+
ee as APP_API_LIST_MODEL_KEY_CONFIG,
|
|
71
83
|
W as APP_LAYOUT_APP_STORE_KEY,
|
|
72
84
|
z as APP_LAYOUT_BRIDGE_KEY,
|
|
73
85
|
X as APP_LAYOUT_USER_STORE_KEY,
|
|
74
86
|
a as ActionBtn,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
f as ActionBtnGroup,
|
|
88
|
+
te as ActionConfirm,
|
|
89
|
+
ae as AppBody,
|
|
90
|
+
fe as AppBreadcrumb,
|
|
91
|
+
se as AppFooter,
|
|
92
|
+
le as AppHeader,
|
|
93
|
+
de as AppLayout,
|
|
94
|
+
ne as AppPage,
|
|
95
|
+
_e as AppSidebar,
|
|
96
|
+
Ee as AutoRefresh,
|
|
97
|
+
Te as AutoRefreshGroup,
|
|
86
98
|
j as BODY_CONTENT_VIEWPORT_HEIGHT,
|
|
87
|
-
|
|
88
|
-
|
|
99
|
+
s as BooleanTag,
|
|
100
|
+
Fe as ConfirmModal,
|
|
89
101
|
l as DetailModal,
|
|
90
|
-
|
|
102
|
+
Le as EXPORT_MAX_LIMIT,
|
|
91
103
|
he as FORM_CONFIG_SELECT_ALL_VALUE,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
Ye as FORM_ITEM_CHANGE_LOADING,
|
|
105
|
+
Q as FORM_NEST_REGISTRY_KEY,
|
|
106
|
+
Ze as FormItemNestForm,
|
|
107
|
+
eo as FormItemNestFormList,
|
|
108
|
+
to as FormMain,
|
|
109
|
+
d as FormRadioGroup,
|
|
110
|
+
ao as FormSearch,
|
|
111
|
+
n as FormSelect,
|
|
112
|
+
_ as FormSubmitBtn,
|
|
113
|
+
fo as FormSubmitPanel,
|
|
114
|
+
E as FormTree,
|
|
100
115
|
T as FormVerifyCode,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
116
|
+
so as FormVerifyImage,
|
|
117
|
+
F as HeightProvider,
|
|
118
|
+
lo as ListPage,
|
|
119
|
+
L as MenuItemSub,
|
|
120
|
+
R as MenuTree,
|
|
121
|
+
O as ModalPorter,
|
|
122
|
+
N as ModalShelf,
|
|
123
|
+
q as NEST_LAYOUT_SCALE_KEY,
|
|
124
|
+
Be as NEST_LAYOUT_TIERS,
|
|
125
|
+
Me as OPERATE_COLUMN_PROP,
|
|
126
|
+
io as PanelEditSwitch,
|
|
127
|
+
D as PanelItem,
|
|
128
|
+
Ao as PanelItemNestForm,
|
|
129
|
+
Y as PanelItemNestPanel,
|
|
130
|
+
co as PanelMain,
|
|
131
|
+
So as ROUTE_MODULE_LEVEL,
|
|
132
|
+
G as SelectModule,
|
|
133
|
+
J as TABS_MAIN_VISUAL_LEVEL,
|
|
134
|
+
Fo as TableMain,
|
|
135
|
+
b as TabsMain,
|
|
136
|
+
To as TabsMainReplaceQueryKey,
|
|
137
|
+
K as TriggerAutoImport,
|
|
138
|
+
w as WatchSize,
|
|
139
|
+
Ge as ceilToTier,
|
|
140
|
+
Lo as checkLogin,
|
|
141
|
+
Ro as checkPermission,
|
|
142
|
+
Oo as countAll,
|
|
143
|
+
t as createAdminBridge,
|
|
144
|
+
Do as createAppStore,
|
|
145
|
+
Yo as createGenerateRouteMetaRawTree,
|
|
146
|
+
Go as createGuard,
|
|
147
|
+
ho as createListApi,
|
|
148
|
+
bo as createNestFormExposeMap,
|
|
149
|
+
Ko as createRoutePermissionStore,
|
|
150
|
+
wo as createStorageWithNamespace,
|
|
151
|
+
ko as createUseState,
|
|
152
|
+
zo as createUserStore,
|
|
132
153
|
Re as exportCSV,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
154
|
+
No as fetchListAll,
|
|
155
|
+
jo as flatRouteMetaResolveRaw,
|
|
156
|
+
Ue as generateFormData,
|
|
157
|
+
be as getBlurSubmit,
|
|
158
|
+
Ve as getChangeSubmit,
|
|
159
|
+
Ne as getConfirmPasswordRule,
|
|
160
|
+
Ke as getDatePickerShortcuts,
|
|
161
|
+
ve as getEnterSubmit,
|
|
162
|
+
Jo as getId,
|
|
163
|
+
Z as getModalShelfInjectionKey,
|
|
164
|
+
we as getPlaceholder,
|
|
165
|
+
Qo as getRoutePermissionKey,
|
|
166
|
+
He as getVModelSugar,
|
|
167
|
+
$o as nestFormItem,
|
|
168
|
+
ot as nestFormItemList,
|
|
169
|
+
rt as nestPanelForm,
|
|
170
|
+
mt as nestPanelItem,
|
|
171
|
+
ke as parseFormData,
|
|
172
|
+
Ce as passwordRule,
|
|
173
|
+
ge as pickExportColumns,
|
|
174
|
+
We as resolveFormLayout,
|
|
175
|
+
ze as resolveLayoutSpan,
|
|
176
|
+
De as setFormComponentType,
|
|
177
|
+
Xe as setInputComponent,
|
|
178
|
+
je as setSelectComponent,
|
|
179
|
+
Qe as stringifyFormData,
|
|
180
|
+
qe as swiftFormItemConfig,
|
|
181
|
+
pt as themeScaleDerive,
|
|
182
|
+
st as themeScaleMix,
|
|
183
|
+
lt as timeCountDown,
|
|
184
|
+
dt as useActivated,
|
|
185
|
+
it as useActivatedEvent,
|
|
186
|
+
nt as useActivatedExec,
|
|
187
|
+
_t as useAdminThemeApply,
|
|
188
|
+
Et as useAdminViewportApply,
|
|
189
|
+
Tt as useBreakpoint,
|
|
190
|
+
Ft as useChannelViewportHeight,
|
|
191
|
+
Lt as useFeelSize,
|
|
192
|
+
Rt as useMenusDataDispatch,
|
|
193
|
+
Ot as useNestForm,
|
|
194
|
+
Nt as useNestFormList,
|
|
195
|
+
Dt as useNestLayoutScale,
|
|
196
|
+
Yt as useTimeout
|
|
168
197
|
};
|
package/es/inject/key.mjs
CHANGED
|
@@ -6,21 +6,27 @@ function o(_) {
|
|
|
6
6
|
}
|
|
7
7
|
const A = Symbol.for(
|
|
8
8
|
"TABS_MAIN_VISUAL_LEVEL"
|
|
9
|
-
), T = Symbol.for(
|
|
10
|
-
"APP_LAYOUT_APP_STORE_KEY"
|
|
11
9
|
), S = Symbol.for(
|
|
10
|
+
"APP_LAYOUT_APP_STORE_KEY"
|
|
11
|
+
), T = Symbol.for(
|
|
12
12
|
"APP_LAYOUT_USER_STORE_KEY"
|
|
13
|
-
),
|
|
13
|
+
), Y = Symbol.for(
|
|
14
14
|
"APP_LAYOUT_BRIDGE_KEY"
|
|
15
15
|
), O = Symbol.for(
|
|
16
16
|
"ADMIN_BRIDGE_KEY"
|
|
17
|
+
), I = Symbol.for(
|
|
18
|
+
"DC_ADMIN_FORM_NEST_REGISTRY"
|
|
19
|
+
), L = Symbol.for(
|
|
20
|
+
"DC_ADMIN_NEST_LAYOUT_SCALE"
|
|
17
21
|
);
|
|
18
22
|
export {
|
|
19
23
|
O as ADMIN_BRIDGE_KEY,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
S as APP_LAYOUT_APP_STORE_KEY,
|
|
25
|
+
Y as APP_LAYOUT_BRIDGE_KEY,
|
|
26
|
+
T as APP_LAYOUT_USER_STORE_KEY,
|
|
23
27
|
E as BODY_CONTENT_VIEWPORT_HEIGHT,
|
|
28
|
+
I as FORM_NEST_REGISTRY_KEY,
|
|
29
|
+
L as NEST_LAYOUT_SCALE_KEY,
|
|
24
30
|
A as TABS_MAIN_VISUAL_LEVEL,
|
|
25
31
|
o as getModalShelfInjectionKey
|
|
26
32
|
};
|