@done-coding/admin-core 0.1.1 → 0.1.2

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 (33) hide show
  1. package/es/components/data-view/DataListView.vue.mjs +7 -0
  2. package/es/components/data-view/DataListView.vue2.mjs +116 -0
  3. package/es/components/data-view/DataListViewItem.vue.mjs +7 -0
  4. package/es/components/data-view/DataListViewItem.vue2.mjs +17 -0
  5. package/es/components/display/HeightProvider.vue.mjs +38 -0
  6. package/es/components/display/HeightProvider.vue2.mjs +4 -0
  7. package/es/components/display/TabsMain.vue.mjs +5 -59
  8. package/es/components/display/TabsMain.vue2.mjs +95 -2
  9. package/es/components/display/index.mjs +11 -9
  10. package/es/components/list-page/ListPage.vue.mjs +2 -2
  11. package/es/components/list-page/ListPage.vue2.mjs +72 -67
  12. package/es/components/table/TableMain.vue.mjs +4 -4
  13. package/es/components/table/TableMain.vue2.mjs +183 -160
  14. package/es/index.mjs +80 -77
  15. package/es/inject/key.mjs +5 -2
  16. package/es/style.css +1 -1
  17. package/package.json +2 -2
  18. package/types/components/data-view/DataListView.vue.d.ts +26 -0
  19. package/types/components/data-view/DataListViewItem.vue.d.ts +26 -0
  20. package/types/components/data-view/index.d.ts +9 -0
  21. package/types/components/data-view/types.d.ts +71 -0
  22. package/types/components/display/HeightProvider.vue.d.ts +39 -0
  23. package/types/components/display/TabsMain.vue.d.ts +22 -32
  24. package/types/components/display/index.d.ts +22 -1
  25. package/types/components/display/types.d.ts +46 -0
  26. package/types/components/form/FormItem.vue.d.ts +1 -1
  27. package/types/components/form/FormRadioGroup.vue.d.ts +13 -13
  28. package/types/components/form/FormSearch.vue.d.ts +1 -1
  29. package/types/components/list-page/ListPage.vue.d.ts +7 -0
  30. package/types/components/modal/ConfirmModal.vue.d.ts +1 -1
  31. package/types/components/table/TableMain.vue.d.ts +9 -1
  32. package/types/components/table/types.d.ts +6 -0
  33. package/types/inject/key.d.ts +11 -0
@@ -1,23 +1,25 @@
1
- import { ElTable as fe, ElTableColumn as ge, ElEmpty as pe, ElPagination as ce } from "element-plus/es";
1
+ import { ElTable as he, ElTableColumn as ye, ElEmpty as ve, ElPagination as Ce } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/pagination/style/css";
4
4
  import "element-plus/es/components/table/style/css";
5
5
  import "element-plus/es/components/empty/style/css";
6
6
  import "element-plus/es/components/table-column/style/css";
7
- import { defineComponent as de, useCssVars as me, useModel as he, useAttrs as ve, ref as f, computed as c, shallowRef as ye, inject as be, onMounted as Ce, onActivated as Se, watch as d, openBlock as i, createElementBlock as y, createBlock as b, unref as a, withCtx as C, createVNode as R, mergeProps as p, createCommentVNode as Ee, Fragment as T, renderList as xe, createSlots as _e, renderSlot as $, resolveDynamicComponent as V, createTextVNode as z, toDisplayString as Y, withDirectives as Te, createElementVNode as we, isRef as q, vShow as Pe, mergeModels as G } from "vue";
8
- import U from "lodash/cloneDeep";
9
- import D from "lodash/omit";
10
- import F from "lodash/set";
11
- import W from "lodash/get";
12
- import Ie from "./TableToolbar.vue.mjs";
13
- import Re from "../display/WatchSize.vue.mjs";
14
- import { pickExportColumns as ze } from "../../utils/export.mjs";
15
- import { BODY_CONTENT_VIEWPORT_HEIGHT as ke } from "../../inject/key.mjs";
16
- import { APP_API_LIST_MODEL_KEY_CONFIG as w } from "../../config/list-model.mjs";
17
- const He = { class: "table-main" }, Ne = { class: "table-main-pagination" }, We = /* @__PURE__ */ de({
7
+ import { defineComponent as Se, useCssVars as be, useModel as we, useAttrs as xe, ref as c, computed as g, shallowRef as q, inject as Ee, onMounted as Pe, onActivated as Te, watch as m, openBlock as s, createElementBlock as b, createBlock as p, unref as r, withCtx as h, createVNode as G, mergeProps as d, createCommentVNode as Re, Fragment as T, renderList as _e, createSlots as ke, renderSlot as I, resolveDynamicComponent as U, createTextVNode as H, toDisplayString as F, normalizeProps as ze, guardReactiveProps as Ie, withDirectives as He, createElementVNode as Ne, isRef as W, vShow as Oe, mergeModels as Z } from "vue";
8
+ import Q from "lodash/cloneDeep";
9
+ import X from "lodash/omit";
10
+ import ee from "lodash/set";
11
+ import te from "lodash/get";
12
+ import Ve from "./TableToolbar.vue.mjs";
13
+ import Ae from "../display/WatchSize.vue.mjs";
14
+ import Le from "../data-view/DataListView.vue.mjs";
15
+ import { pickExportColumns as Ke } from "../../utils/export.mjs";
16
+ import { BODY_CONTENT_VIEWPORT_HEIGHT as Be } from "../../inject/key.mjs";
17
+ import { APP_API_LIST_MODEL_KEY_CONFIG as R } from "../../config/list-model.mjs";
18
+ const je = { class: "table-main" }, Me = { class: "table-main-pagination" }, nt = /* @__PURE__ */ Se({
18
19
  __name: "TableMain",
19
- props: /* @__PURE__ */ G({
20
+ props: /* @__PURE__ */ Z({
20
21
  showPager: { type: Boolean, default: !0 },
22
+ customView: { type: Boolean, default: !1 },
21
23
  showToolbar: { type: Boolean, default: !0 },
22
24
  toolbar: {},
23
25
  query: {},
@@ -37,196 +39,217 @@ const He = { class: "table-main" }, Ne = { class: "table-main-pagination" }, We
37
39
  isAutoRefresh: { type: Boolean },
38
40
  isAutoRefreshModifiers: {}
39
41
  }),
40
- emits: /* @__PURE__ */ G(["pageChange", "pageSizeChange", "dataChange", "loadingChange", "pageInfoChange"], ["update:isAutoRefresh"]),
41
- setup(u, { expose: Z, emit: Q }) {
42
- me((e) => ({
43
- v4bebd1e5: e.headerColor
42
+ emits: /* @__PURE__ */ Z(["pageChange", "pageSizeChange", "dataChange", "loadingChange", "pageInfoChange"], ["update:isAutoRefresh"]),
43
+ setup(l, { expose: oe, emit: ae }) {
44
+ be((e) => ({
45
+ v1b467e54: e.headerColor
44
46
  }));
45
- const r = u, m = Q, k = he(u, "isAutoRefresh"), X = ve(), S = f([]), E = f(0), l = f(0), n = f(1), h = f(!1), P = f(!1), H = f([]), ee = c(() => ({
46
- columns: ze(r.columns),
47
- selectedList: H.value,
48
- currentPageList: S.value,
49
- api: r.api,
50
- query: r.query || {},
51
- total: E.value,
52
- hasSelection: r.columns.some((e) => e.type === "selection")
53
- })), N = f(0), te = (e) => {
54
- N.value = e;
55
- }, I = ye(), oe = be(
56
- ke,
47
+ const a = l, y = ae, N = we(l, "isAutoRefresh"), re = xe(), v = c([]), w = c(0), u = c(0), i = c(1), C = c(!1), _ = c(!1), k = c([]), ne = g(() => ({
48
+ columns: Ke(a.columns),
49
+ selectedList: k.value,
50
+ currentPageList: v.value,
51
+ api: a.api,
52
+ query: a.query || {},
53
+ total: w.value,
54
+ hasSelection: a.columns.some((e) => e.type === "selection")
55
+ })), O = c(0), le = (e) => {
56
+ O.value = e;
57
+ }, z = q(), V = q(), se = g(
58
+ () => a.columns.some((e) => e.type === "selection")
59
+ ), ie = (e) => {
60
+ var t, n;
61
+ k.value = e, (n = (t = a.tableProps) == null ? void 0 : t.onSelectionChange) == null || n.call(t, e);
62
+ }, ue = Ee(
63
+ Be,
57
64
  500
58
- ), O = c(() => r.showPager ? 35 : 0), A = c(
59
- () => r.showToolbar ? N.value : 0
60
- ), re = c(() => {
61
- const { maxHeight: e, refine: t } = r;
65
+ ), A = g(() => a.showPager ? 35 : 0), L = g(
66
+ () => a.showToolbar ? O.value : 0
67
+ ), K = g(() => {
68
+ const { maxHeight: e, refine: t } = a;
62
69
  return e ? Math.max(
63
- e - O.value - A.value,
70
+ e - A.value - L.value,
64
71
  200
65
72
  ) : t ? Math.max(
66
- oe.value - O.value - A.value - r.refineReduceHeight,
73
+ ue.value - A.value - L.value - a.refineReduceHeight,
67
74
  200
68
75
  ) : void 0;
69
- }), x = c(() => {
70
- const e = U(r.query || {});
71
- return F(e, w.PAGE_SIZE_KEY, l.value), F(
76
+ }), x = g(() => {
77
+ const e = Q(a.query || {});
78
+ return ee(e, R.PAGE_SIZE_KEY, u.value), ee(
72
79
  e,
73
- w.CURRENT_PAGE_KEY,
74
- n.value
80
+ R.CURRENT_PAGE_KEY,
81
+ i.value
75
82
  ), e;
76
- }), ae = c(() => {
83
+ }), ce = g(() => {
77
84
  var t;
78
- const e = (t = r.tableProps) == null ? void 0 : t.onSelectionChange;
85
+ const e = (t = a.tableProps) == null ? void 0 : t.onSelectionChange;
79
86
  return {
80
- ...r.tableProps,
81
- ...X,
87
+ ...a.tableProps,
88
+ ...re,
82
89
  /** 合并内部选中存储与外部 onSelectionChange */
83
- onSelectionChange: (s) => {
84
- H.value = s, e == null || e(s);
90
+ onSelectionChange: (n) => {
91
+ k.value = n, e == null || e(n);
85
92
  }
86
93
  };
87
- }), L = (e, t = !0) => {
88
- const s = JSON.stringify(e) === JSON.stringify(x.value);
89
- return !s && t && console.warn(
94
+ }), B = (e, t = !0) => {
95
+ const n = JSON.stringify(e) === JSON.stringify(x.value);
96
+ return !n && t && console.warn(
90
97
  `同一地方 并发请求 参数冰花 当前不是最新的参数 丢弃结果 ${JSON.stringify(
91
98
  e
92
99
  )} => ${JSON.stringify(x.value)}`
93
- ), s;
94
- }, K = (e = !1) => {
95
- var s;
96
- if (!l.value) return;
97
- h.value ? console.warn("请求并发") : h.value = !0, e || (P.value = !0), (s = I.value) == null || s.clearSelection();
98
- const t = U(x.value);
99
- return r.api(t).then((_) => {
100
- L(t, !1) && (S.value = W(
101
- _,
102
- w.LIST_KEY
103
- ), E.value = W(
104
- _,
105
- w.TOTAL_KEY
106
- ), m("pageInfoChange", {
107
- pageSize: l.value,
108
- currentPage: n.value,
109
- total: E.value
100
+ ), n;
101
+ }, j = (e = !1) => {
102
+ var n, E;
103
+ if (!u.value) return;
104
+ C.value ? console.warn("请求并发") : C.value = !0, e || (_.value = !0), a.customView ? (n = V.value) == null || n.clearSelection() : (E = z.value) == null || E.clearSelection();
105
+ const t = Q(x.value);
106
+ return a.api(t).then((P) => {
107
+ B(t, !1) && (v.value = te(
108
+ P,
109
+ R.LIST_KEY
110
+ ), w.value = te(
111
+ P,
112
+ R.TOTAL_KEY
113
+ ), y("pageInfoChange", {
114
+ pageSize: u.value,
115
+ currentPage: i.value,
116
+ total: w.value
110
117
  }));
111
118
  }).finally(() => {
112
- L(t) && (h.value = !1, P.value = !1);
119
+ B(t) && (C.value = !1, _.value = !1);
113
120
  });
114
- }, j = async (e = !1) => {
121
+ }, M = async (e = !1) => {
115
122
  var t;
116
- return (t = K(e)) == null ? void 0 : t.catch(() => {
123
+ return (t = j(e)) == null ? void 0 : t.catch(() => {
117
124
  });
118
- }, ne = async (e = !1) => {
119
- if (n.value === 1)
120
- return j(e);
121
- n.value = 1;
122
- }, le = (e) => e, v = {
123
- refresh: j,
124
- reload: ne,
125
- getTableInstance: () => I.value
126
- }, B = (e, t = []) => ({
127
- ...D(e, ["render", "headerRender"].concat(t)),
128
- injectInfo: r.injectInfo || {},
129
- exposeInfo: v
130
- }), M = (e) => ({
131
- ...D(e, ["render", "headerRender"]),
132
- injectInfo: r.injectInfo || {},
133
- exposeInfo: v
125
+ }, fe = async (e = !1) => {
126
+ if (i.value === 1)
127
+ return M(e);
128
+ i.value = 1;
129
+ }, $ = (e) => e, ge = (e) => e, pe = (e) => e, S = {
130
+ refresh: M,
131
+ reload: fe,
132
+ getTableInstance: () => z.value
133
+ }, J = (e, t = []) => ({
134
+ ...X(e, ["render", "headerRender"].concat(t)),
135
+ injectInfo: a.injectInfo || {},
136
+ exposeInfo: S
137
+ }), D = (e) => ({
138
+ ...X(e, ["render", "headerRender"]),
139
+ injectInfo: a.injectInfo || {},
140
+ exposeInfo: S
134
141
  });
135
- Z(v);
136
- const se = (e) => {
137
- l.value = e, n.value = 1;
138
- }, J = (e) => !e || e === "expand";
139
- return Ce(() => {
140
- l.value = r.pageSizeInit, Se(() => {
141
- v.refresh();
142
+ oe(S);
143
+ const de = (e) => {
144
+ u.value = e, i.value = 1;
145
+ }, Y = (e) => !e || e === "expand";
146
+ return Pe(() => {
147
+ u.value = a.pageSizeInit, Te(() => {
148
+ S.refresh();
142
149
  });
143
- }), d(S, (e) => {
144
- m("dataChange", e);
145
- }), d(
146
- () => r.query,
150
+ }), m(v, (e) => {
151
+ y("dataChange", e);
152
+ }), m(
153
+ () => a.query,
147
154
  (e, t) => {
148
- JSON.stringify(e) !== JSON.stringify(t) && (n.value = 1);
155
+ JSON.stringify(e) !== JSON.stringify(t) && (i.value = 1);
149
156
  }
150
- ), d(
157
+ ), m(
151
158
  x,
152
159
  (e, t) => {
153
- JSON.stringify(e) !== JSON.stringify(t) && K();
160
+ JSON.stringify(e) !== JSON.stringify(t) && j();
154
161
  },
155
162
  {
156
163
  immediate: !0
157
164
  }
158
- ), d(P, (e) => {
159
- m("loadingChange", e);
160
- }), d(l, (e) => {
161
- m("pageSizeChange", e);
162
- }), d(n, (e) => {
163
- m("pageChange", e);
165
+ ), m(_, (e) => {
166
+ y("loadingChange", e);
167
+ }), m(u, (e) => {
168
+ y("pageSizeChange", e);
169
+ }), m(i, (e) => {
170
+ y("pageChange", e);
164
171
  }), (e, t) => {
165
- const s = ge, _ = pe, ie = fe, ue = ce;
166
- return i(), y("div", He, [
167
- u.showToolbar ? (i(), b(a(Re), {
172
+ const n = ye, E = ve, P = he, me = Ce;
173
+ return s(), b("div", je, [
174
+ l.showToolbar ? (s(), p(r(Ae), {
168
175
  key: 0,
169
- onHeightChange: te
176
+ onHeightChange: le
170
177
  }, {
171
- default: C(() => [
172
- R(Ie, p({
173
- "is-auto-refresh": k.value,
174
- "onUpdate:isAutoRefresh": t[0] || (t[0] = (o) => k.value = o),
175
- tableExpose: v,
176
- loading: a(h),
177
- exportContext: a(ee),
178
- currentPage: a(n),
179
- pageSize: a(l)
180
- }, u.toolbar), null, 16, ["is-auto-refresh", "loading", "exportContext", "currentPage", "pageSize"])
178
+ default: h(() => [
179
+ G(Ve, d({
180
+ "is-auto-refresh": N.value,
181
+ "onUpdate:isAutoRefresh": t[0] || (t[0] = (o) => N.value = o),
182
+ tableExpose: S,
183
+ loading: r(C),
184
+ exportContext: r(ne),
185
+ currentPage: r(i),
186
+ pageSize: r(u)
187
+ }, l.toolbar), null, 16, ["is-auto-refresh", "loading", "exportContext", "currentPage", "pageSize"])
181
188
  ]),
182
189
  _: 1
183
- })) : Ee("", !0),
184
- R(ie, p({
190
+ })) : Re("", !0),
191
+ l.customView ? (s(), p(r(Le), {
192
+ key: 2,
193
+ ref_key: "dataListView",
194
+ ref: V,
195
+ data: ge(r(v)),
196
+ columns: pe(l.columns),
197
+ rowKey: $(l.rowKey),
198
+ maxHeight: r(K),
199
+ selectable: r(se),
200
+ onSelectionChange: ie
201
+ }, {
202
+ item: h((o) => [
203
+ I(e.$slots, "custom-view-item", ze(Ie(o)), void 0, !0)
204
+ ]),
205
+ _: 3
206
+ }, 8, ["data", "columns", "rowKey", "maxHeight", "selectable"])) : (s(), p(P, d({
207
+ key: 1,
185
208
  ref_key: "elTable",
186
- ref: I,
209
+ ref: z,
187
210
  class: "table-main-table",
188
211
  stripe: "",
189
212
  border: "",
190
213
  highlightCurrentRow: ""
191
- }, a(ae), {
192
- maxHeight: a(re),
193
- data: a(S),
194
- rowKey: le(u.rowKey)
214
+ }, r(ce), {
215
+ maxHeight: r(K),
216
+ data: r(v),
217
+ rowKey: $(l.rowKey)
195
218
  }), {
196
- empty: C(() => [
197
- a(h) ? (i(), y(T, { key: 0 }, [
198
- z("加载中...")
199
- ], 64)) : (i(), b(_, { key: 1 }))
219
+ empty: h(() => [
220
+ r(C) ? (s(), b(T, { key: 0 }, [
221
+ H("加载中...")
222
+ ], 64)) : (s(), p(E, { key: 1 }))
200
223
  ]),
201
- default: C(() => [
202
- (i(!0), y(T, null, xe(u.columns, (o) => (i(), b(s, p({
224
+ default: h(() => [
225
+ (s(!0), b(T, null, _e(l.columns, (o) => (s(), p(n, d({
203
226
  key: o.columnKey || o.prop
204
- }, { ref_for: !0 }, o), _e({ _: 2 }, [
205
- J(o.type) ? {
227
+ }, { ref_for: !0 }, o), ke({ _: 2 }, [
228
+ Y(o.type) ? {
206
229
  name: "default",
207
- fn: C((g) => [
208
- $(e.$slots, o.prop, p({ ref_for: !0 }, B(g)), () => [
209
- o.render ? (i(), b(V(o.render), p({
230
+ fn: h((f) => [
231
+ I(e.$slots, o.prop, d({ ref_for: !0 }, J(f)), () => [
232
+ o.render ? (s(), p(U(o.render), d({
210
233
  key: 0,
211
234
  ref_for: !0
212
- }, B(g, ["$index"]), {
213
- _index: g.$index
214
- }), null, 16, ["_index"])) : (i(), y(T, { key: 1 }, [
215
- z(Y(g.row[o.prop]), 1)
235
+ }, J(f, ["$index"]), {
236
+ _index: f.$index
237
+ }), null, 16, ["_index"])) : (s(), b(T, { key: 1 }, [
238
+ H(F(f.row[o.prop]), 1)
216
239
  ], 64))
217
240
  ], !0)
218
241
  ]),
219
242
  key: "0"
220
243
  } : void 0,
221
- J(o.type) ? {
244
+ Y(o.type) ? {
222
245
  name: "header",
223
- fn: C((g) => [
224
- $(e.$slots, `header-${o.prop}`, p({ ref_for: !0 }, M(g)), () => [
225
- o.headerRender ? (i(), b(V(o.headerRender), p({
246
+ fn: h((f) => [
247
+ I(e.$slots, `header-${o.prop}`, d({ ref_for: !0 }, D(f)), () => [
248
+ o.headerRender ? (s(), p(U(o.headerRender), d({
226
249
  key: 0,
227
250
  ref_for: !0
228
- }, M(g)), null, 16)) : (i(), y(T, { key: 1 }, [
229
- z(Y(o.label), 1)
251
+ }, D(f)), null, 16)) : (s(), b(T, { key: 1 }, [
252
+ H(F(o.label), 1)
230
253
  ], 64))
231
254
  ], !0)
232
255
  ]),
@@ -235,27 +258,27 @@ const He = { class: "table-main" }, Ne = { class: "table-main-pagination" }, We
235
258
  ]), 1040))), 128))
236
259
  ]),
237
260
  _: 3
238
- }, 16, ["maxHeight", "data", "rowKey"]),
239
- Te(we("div", Ne, [
240
- R(ue, {
241
- "current-page": a(n),
242
- "onUpdate:currentPage": t[1] || (t[1] = (o) => q(n) ? n.value = o : null),
243
- "page-size": a(l),
244
- "onUpdate:pageSize": t[2] || (t[2] = (o) => q(l) ? l.value = o : null),
245
- "page-sizes": u.pageSizeOptions,
261
+ }, 16, ["maxHeight", "data", "rowKey"])),
262
+ He(Ne("div", Me, [
263
+ G(me, {
264
+ "current-page": r(i),
265
+ "onUpdate:currentPage": t[1] || (t[1] = (o) => W(i) ? i.value = o : null),
266
+ "page-size": r(u),
267
+ "onUpdate:pageSize": t[2] || (t[2] = (o) => W(u) ? u.value = o : null),
268
+ "page-sizes": l.pageSizeOptions,
246
269
  size: "small",
247
270
  background: "",
248
- layout: u.pageLayout,
249
- total: a(E),
250
- onSizeChange: se
271
+ layout: l.pageLayout,
272
+ total: r(w),
273
+ onSizeChange: de
251
274
  }, null, 8, ["current-page", "page-size", "page-sizes", "layout", "total"])
252
275
  ], 512), [
253
- [Pe, u.showPager]
276
+ [Oe, l.showPager]
254
277
  ])
255
278
  ]);
256
279
  };
257
280
  }
258
281
  });
259
282
  export {
260
- We as default
283
+ nt as default
261
284
  };
package/es/index.mjs CHANGED
@@ -5,43 +5,44 @@ import { miscInstall as a } from "./components/misc/index.mjs";
5
5
  import { modalInstall as m } from "./components/modal/index.mjs";
6
6
  import { tableInstall as f } from "./components/table/index.mjs";
7
7
  import { listPageInstall as s } from "./components/list-page/index.mjs";
8
- import { default as E } from "./components/misc/ActionButton.vue.mjs";
9
- import { default as M } from "./components/misc/ActionButtonDanger.vue.mjs";
10
- import { default as A } from "./components/misc/ActionButtonWarn.vue.mjs";
8
+ import { default as _ } from "./components/misc/ActionButton.vue.mjs";
9
+ import { default as T } from "./components/misc/ActionButtonDanger.vue.mjs";
10
+ import { default as C } from "./components/misc/ActionButtonWarn.vue.mjs";
11
11
  import { default as F } from "./components/modal/DetailModal.vue.mjs";
12
- import { default as L } from "./components/form/FormMain.vue.mjs";
12
+ import { default as R } from "./components/form/FormMain.vue.mjs";
13
13
  import { default as O } from "./components/form/FormRadioGroup.vue.mjs";
14
14
  import { default as D } from "./components/form/FormSelect.vue.mjs";
15
- import { default as y } from "./components/form/FormTree.vue.mjs";
16
- import { default as N } from "./components/form/FormVerifyCode.vue.mjs";
15
+ import { default as h } from "./components/form/FormTree.vue.mjs";
16
+ import { default as b } from "./components/form/FormVerifyCode.vue.mjs";
17
+ import { default as v } from "./components/display/HeightProvider.vue.mjs";
17
18
  import { default as V } from "./components/menu/MenuItemSub.vue.mjs";
18
- import { default as w } from "./components/menu/MenuTree.vue.mjs";
19
- import { default as U } from "./components/display/TabsMain.vue.mjs";
20
- import { default as H } from "./components/misc/TriggerAutoImport.vue.mjs";
19
+ import { default as U } from "./components/menu/MenuTree.vue.mjs";
20
+ import { default as W } from "./components/misc/TriggerAutoImport.vue.mjs";
21
21
  import { default as k } from "./components/display/WatchSize.vue.mjs";
22
22
  import { APP_API_LIST_MODEL_KEY_CONFIG as X } from "./config/list-model.mjs";
23
23
  import { default as Q } from "./components/misc/AutoRefresh.vue.mjs";
24
- import { BODY_CONTENT_VIEWPORT_HEIGHT as q } from "./inject/key.mjs";
25
- import { default as Z } from "./components/modal/ConfirmModal.vue.mjs";
26
- import { EXPORT_MAX_LIMIT as ee, OPERATE_COLUMN_PROP as te, exportCSV as oe, pickExportColumns as re } from "./utils/export.mjs";
27
- import { FORM_CONFIG_SELECT_ALL_VALUE as me, getConfirmPasswordRule as fe, passwordRule as se, setFormComponentType as le } from "./helpers/form.mjs";
28
- import { FORM_ITEM_CHANGE_LOADING as pe, generateFormData as ie, getBlurSubmit as ne, getChangeSubmit as xe, getDatePickerShortcuts as de, getEnterSubmit as ce, getPlaceholder as Ie, getVModelSugar as ge, parseFormData as Ee, resolveFormLayout as _e, setInputComponent as Me, setSelectComponent as Te, stringifyFormData as Ae, swiftFormItemConfig as Ce } from "./components/form/utils.mjs";
24
+ import { BODY_CONTENT_VIEWPORT_HEIGHT as q, FULLSCREEN_HEIGHT_CHANNEL as J } from "./inject/key.mjs";
25
+ import { default as $ } from "./components/modal/ConfirmModal.vue.mjs";
26
+ import { EXPORT_MAX_LIMIT as te, OPERATE_COLUMN_PROP as oe, exportCSV as re, pickExportColumns as ae } from "./utils/export.mjs";
27
+ import { FORM_CONFIG_SELECT_ALL_VALUE as fe, getConfirmPasswordRule as se, passwordRule as le, setFormComponentType as ue } from "./helpers/form.mjs";
28
+ import { FORM_ITEM_CHANGE_LOADING as pe, generateFormData as ne, getBlurSubmit as xe, getChangeSubmit as de, getDatePickerShortcuts as ce, getEnterSubmit as Ee, getPlaceholder as Ie, getVModelSugar as _e, parseFormData as ge, resolveFormLayout as Te, setInputComponent as Ae, setSelectComponent as Ce, stringifyFormData as Me, swiftFormItemConfig as Fe } from "./components/form/utils.mjs";
29
29
  import { default as Re } from "./components/form/FormSearch.vue.mjs";
30
- import { default as Se } from "./components/form/FormVerifyImage.vue.mjs";
31
- import { default as Pe } from "./components/list-page/ListPage.vue.mjs";
30
+ import { default as Oe } from "./components/form/FormVerifyImage.vue.mjs";
31
+ import { default as De } from "./components/list-page/ListPage.vue.mjs";
32
32
  import { ROUTE_MODULE_LEVEL as he, TabsMainReplaceQueryKey as ye } from "./config/route.mjs";
33
- import { default as Ne } from "./components/table/TableMain.vue.mjs";
34
- import { countAll as Ve, createListApi as ve, fetchListAll as we } from "./helpers/list-helper.mjs";
35
- import { createGenerateRouteMetaRawTree as Ue } from "./helpers/route.mjs";
36
- import { createStorageWithNamespace as He } from "./helpers/storage.mjs";
37
- import { createUseState as ke } from "./helpers/state.mjs";
38
- import { flatRouteMetaResolveRaw as Xe, getRoutePermissionKey as Ye } from "./utils/router.mjs";
39
- import { getId as je } from "./utils/id.mjs";
40
- import { timeCountDown as Je } from "./utils/time.mjs";
41
- import { useActivated as $e, useActivatedEvent as et, useActivatedExec as tt } from "./hooks/activated.mjs";
42
- import { useFeelSize as rt } from "./hooks/feel-size.mjs";
43
- import { useMenusDataDispatch as mt } from "./hooks/menus-dispatch.mjs";
44
- import { useTimeout as st } from "./hooks/timeout.mjs";
33
+ import { default as Ge } from "./components/table/TableMain.vue.mjs";
34
+ import { default as He } from "./components/display/TabsMain.vue.mjs";
35
+ import { countAll as we, createListApi as Ue, fetchListAll as Be } from "./helpers/list-helper.mjs";
36
+ import { createGenerateRouteMetaRawTree as Ke } from "./helpers/route.mjs";
37
+ import { createStorageWithNamespace as ze } from "./helpers/storage.mjs";
38
+ import { createUseState as Ye } from "./helpers/state.mjs";
39
+ import { flatRouteMetaResolveRaw as je, getRoutePermissionKey as qe } from "./utils/router.mjs";
40
+ import { getId as Ze } from "./utils/id.mjs";
41
+ import { timeCountDown as et } from "./utils/time.mjs";
42
+ import { useActivated as ot, useActivatedEvent as rt, useActivatedExec as at } from "./hooks/activated.mjs";
43
+ import { useFeelSize as ft } from "./hooks/feel-size.mjs";
44
+ import { useMenusDataDispatch as lt } from "./hooks/menus-dispatch.mjs";
45
+ import { useTimeout as it } from "./hooks/timeout.mjs";
45
46
  const c = {
46
47
  install(e) {
47
48
  e.use(t), e.use(o), e.use(r), e.use(a), e.use(m), e.use(f), e.use(s);
@@ -49,73 +50,75 @@ const c = {
49
50
  };
50
51
  export {
51
52
  X as APP_API_LIST_MODEL_KEY_CONFIG,
52
- E as ActionButton,
53
- M as ActionButtonDanger,
54
- A as ActionButtonWarn,
53
+ _ as ActionButton,
54
+ T as ActionButtonDanger,
55
+ C as ActionButtonWarn,
55
56
  Q as AutoRefresh,
56
57
  q as BODY_CONTENT_VIEWPORT_HEIGHT,
57
- Z as ConfirmModal,
58
+ $ as ConfirmModal,
58
59
  F as DetailModal,
59
- ee as EXPORT_MAX_LIMIT,
60
- me as FORM_CONFIG_SELECT_ALL_VALUE,
60
+ te as EXPORT_MAX_LIMIT,
61
+ fe as FORM_CONFIG_SELECT_ALL_VALUE,
61
62
  pe as FORM_ITEM_CHANGE_LOADING,
62
- L as FormMain,
63
+ J as FULLSCREEN_HEIGHT_CHANNEL,
64
+ R as FormMain,
63
65
  O as FormRadioGroup,
64
66
  Re as FormSearch,
65
67
  D as FormSelect,
66
- y as FormTree,
67
- N as FormVerifyCode,
68
- Se as FormVerifyImage,
69
- Pe as ListPage,
68
+ h as FormTree,
69
+ b as FormVerifyCode,
70
+ Oe as FormVerifyImage,
71
+ v as HeightProvider,
72
+ De as ListPage,
70
73
  V as MenuItemSub,
71
- w as MenuTree,
72
- te as OPERATE_COLUMN_PROP,
74
+ U as MenuTree,
75
+ oe as OPERATE_COLUMN_PROP,
73
76
  he as ROUTE_MODULE_LEVEL,
74
- Ne as TableMain,
75
- U as TabsMain,
77
+ Ge as TableMain,
78
+ He as TabsMain,
76
79
  ye as TabsMainReplaceQueryKey,
77
- H as TriggerAutoImport,
80
+ W as TriggerAutoImport,
78
81
  k as WatchSize,
79
- Ve as countAll,
80
- Ue as createGenerateRouteMetaRawTree,
81
- ve as createListApi,
82
- He as createStorageWithNamespace,
83
- ke as createUseState,
82
+ we as countAll,
83
+ Ke as createGenerateRouteMetaRawTree,
84
+ Ue as createListApi,
85
+ ze as createStorageWithNamespace,
86
+ Ye as createUseState,
84
87
  r as displayInstall,
85
- oe as exportCSV,
86
- we as fetchListAll,
87
- Xe as flatRouteMetaResolveRaw,
88
+ re as exportCSV,
89
+ Be as fetchListAll,
90
+ je as flatRouteMetaResolveRaw,
88
91
  t as formInstall,
89
- ie as generateFormData,
90
- ne as getBlurSubmit,
91
- xe as getChangeSubmit,
92
- fe as getConfirmPasswordRule,
93
- de as getDatePickerShortcuts,
94
- ce as getEnterSubmit,
95
- je as getId,
92
+ ne as generateFormData,
93
+ xe as getBlurSubmit,
94
+ de as getChangeSubmit,
95
+ se as getConfirmPasswordRule,
96
+ ce as getDatePickerShortcuts,
97
+ Ee as getEnterSubmit,
98
+ Ze as getId,
96
99
  Ie as getPlaceholder,
97
- Ye as getRoutePermissionKey,
98
- ge as getVModelSugar,
100
+ qe as getRoutePermissionKey,
101
+ _e as getVModelSugar,
99
102
  c as installComponents,
100
103
  s as listPageInstall,
101
104
  o as menuInstall,
102
105
  a as miscInstall,
103
106
  m as modalInstall,
104
- Ee as parseFormData,
105
- se as passwordRule,
106
- re as pickExportColumns,
107
- _e as resolveFormLayout,
108
- le as setFormComponentType,
109
- Me as setInputComponent,
110
- Te as setSelectComponent,
111
- Ae as stringifyFormData,
112
- Ce as swiftFormItemConfig,
107
+ ge as parseFormData,
108
+ le as passwordRule,
109
+ ae as pickExportColumns,
110
+ Te as resolveFormLayout,
111
+ ue as setFormComponentType,
112
+ Ae as setInputComponent,
113
+ Ce as setSelectComponent,
114
+ Me as stringifyFormData,
115
+ Fe as swiftFormItemConfig,
113
116
  f as tableInstall,
114
- Je as timeCountDown,
115
- $e as useActivated,
116
- et as useActivatedEvent,
117
- tt as useActivatedExec,
118
- rt as useFeelSize,
119
- mt as useMenusDataDispatch,
120
- st as useTimeout
117
+ et as timeCountDown,
118
+ ot as useActivated,
119
+ rt as useActivatedEvent,
120
+ at as useActivatedExec,
121
+ ft as useFeelSize,
122
+ lt as useMenusDataDispatch,
123
+ it as useTimeout
121
124
  };