@done-coding/admin-core 0.5.1-alpha.1 → 0.6.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.
Files changed (41) hide show
  1. package/es/components/app-layout/AppBody.vue.mjs +2 -2
  2. package/es/components/app-layout/AppBody.vue2.mjs +33 -35
  3. package/es/components/app-layout/AppBreadcrumb.vue.mjs +2 -2
  4. package/es/components/app-layout/AppBreadcrumb.vue2.mjs +6 -7
  5. package/es/components/app-layout/AppLayout.vue.mjs +1 -1
  6. package/es/components/app-layout/AppLayout.vue2.mjs +25 -28
  7. package/es/components/data-view/DataListView.vue.mjs +2 -2
  8. package/es/components/data-view/DataListView.vue2.mjs +19 -17
  9. package/es/components/display/BooleanTag.vue.mjs +30 -0
  10. package/es/components/display/BooleanTag.vue2.mjs +4 -0
  11. package/es/components/list-page/ListPage.vue.mjs +1 -1
  12. package/es/components/list-page/ListPage.vue2.mjs +101 -89
  13. package/es/components/misc/ActionBtn.vue.mjs +29 -29
  14. package/es/components/misc/AutoRefresh.vue.mjs +2 -2
  15. package/es/components/misc/AutoRefresh.vue2.mjs +50 -42
  16. package/es/components/misc/AutoRefreshGroup.vue.mjs +7 -0
  17. package/es/components/misc/AutoRefreshGroup.vue2.mjs +60 -0
  18. package/es/components/table/TableMain.vue.mjs +3 -3
  19. package/es/components/table/TableMain.vue2.mjs +177 -167
  20. package/es/components/table/TableToolbar.vue.mjs +2 -2
  21. package/es/components/table/TableToolbar.vue2.mjs +98 -109
  22. package/es/index.mjs +148 -144
  23. package/es/style.css +1 -1
  24. package/package.json +2 -2
  25. package/types/components/app-layout/AppBody.vue.d.ts +0 -2
  26. package/types/components/app-layout/AppBreadcrumb.vue.d.ts +0 -1
  27. package/types/components/data-view/DataListView.vue.d.ts +2 -2
  28. package/types/components/data-view/types.d.ts +4 -2
  29. package/types/components/display/BooleanTag.vue.d.ts +8 -0
  30. package/types/components/display/index.d.ts +7 -1
  31. package/types/components/display/types.d.ts +19 -0
  32. package/types/components/list-page/ListPage.vue.d.ts +9 -13
  33. package/types/components/list-page/types.d.ts +1 -1
  34. package/types/components/misc/AutoRefresh.vue.d.ts +3 -9
  35. package/types/components/misc/AutoRefreshGroup.vue.d.ts +17 -0
  36. package/types/components/misc/index.d.ts +2 -1
  37. package/types/components/misc/types.d.ts +15 -0
  38. package/types/components/table/TableMain.vue.d.ts +9 -13
  39. package/types/components/table/TableToolbar.vue.d.ts +6 -2
  40. package/types/components/table/types.d.ts +20 -19
  41. package/types/hooks/activated.d.ts +2 -0
@@ -1,23 +1,21 @@
1
- import { ElDropdown as V, ElButton as $, ElIcon as F, ElDropdownMenu as L, ElDropdownItem as S } from "element-plus/es";
1
+ import { ElDropdown as T, ElButton as F, ElIcon as L, ElDropdownMenu as $, ElDropdownItem as P, ElSwitch as z } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
+ import "element-plus/es/components/switch/style/css";
3
4
  import "element-plus/es/components/dropdown/style/css";
4
5
  import "element-plus/es/components/dropdown-menu/style/css";
5
6
  import "element-plus/es/components/dropdown-item/style/css";
6
7
  import "element-plus/es/components/button/style/css";
7
8
  import "element-plus/es/components/icon/style/css";
8
- import { defineComponent as z, useModel as P, computed as b, ref as y, watch as N, withDirectives as U, openBlock as x, createElementBlock as X, createElementVNode as R, createBlock as E, withCtx as r, createVNode as n, createTextVNode as p, unref as A, createCommentVNode as v, normalizeClass as q, vShow as O, mergeModels as j } from "vue";
9
- import { ElMessageBox as G, ElMessage as H } from "element-plus";
10
- import { ArrowDown as J, Refresh as K } from "@element-plus/icons-vue";
11
- import Q from "../misc/AutoRefresh.vue.mjs";
12
- import k from "./ToolbarButtons.vue.mjs";
13
- import { countAll as W, fetchListAll as M } from "../../helpers/list-helper.mjs";
14
- import { EXPORT_MAX_LIMIT as c, exportCSV as Y } from "../../utils/export.mjs";
15
- const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee = { class: "table-toolbar-right" }, pe = /* @__PURE__ */ z({
9
+ import { defineComponent as N, useModel as x, computed as w, ref as U, withDirectives as G, openBlock as v, createElementBlock as X, createElementVNode as y, createBlock as A, withCtx as a, createVNode as r, createTextVNode as m, unref as g, createCommentVNode as V, vShow as q, mergeModels as O } from "vue";
10
+ import { ElMessageBox as j, ElMessage as H } from "element-plus";
11
+ import { ArrowDown as J, Calendar as K, Grid as Q } from "@element-plus/icons-vue";
12
+ import I from "./ToolbarButtons.vue.mjs";
13
+ import W from "../misc/AutoRefreshGroup.vue.mjs";
14
+ import { countAll as Y, fetchListAll as M } from "../../helpers/list-helper.mjs";
15
+ import { EXPORT_MAX_LIMIT as d, exportCSV as Z } from "../../utils/export.mjs";
16
+ const _ = { class: "table-toolbar" }, ee = { class: "table-toolbar-left" }, te = { class: "table-toolbar-right" }, we = /* @__PURE__ */ N({
16
17
  __name: "TableToolbar",
17
- props: /* @__PURE__ */ j({
18
- showRefresh: { type: Boolean, default: !0 },
19
- showAutoRefresh: { type: Boolean, default: !0 },
20
- refreshInterval: { default: 30 },
18
+ props: /* @__PURE__ */ O({
21
19
  exportByFe: { type: Boolean, default: !0 },
22
20
  exportFn: {},
23
21
  exportColumns: {},
@@ -27,17 +25,24 @@ const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee =
27
25
  loading: { type: Boolean },
28
26
  exportContext: {},
29
27
  currentPage: {},
30
- pageSize: {}
28
+ pageSize: {},
29
+ showSwitchView: { type: Boolean, default: !1 },
30
+ showRefresh: { type: Boolean, default: !0 },
31
+ showAutoRefresh: { type: Boolean, default: !0 }
31
32
  }, {
32
33
  isAutoRefresh: { type: Boolean },
33
- isAutoRefreshModifiers: {}
34
+ isAutoRefreshModifiers: {},
35
+ refreshInterval: { default: 5 },
36
+ refreshIntervalModifiers: {},
37
+ customView: { type: Boolean, default: !1 },
38
+ customViewModifiers: {}
34
39
  }),
35
- emits: ["update:isAutoRefresh"],
36
- setup(o) {
37
- const t = o, w = P(o, "isAutoRefresh"), B = b(() => {
40
+ emits: ["update:isAutoRefresh", "update:refreshInterval", "update:customView"],
41
+ setup(n) {
42
+ const t = n, E = x(n, "isAutoRefresh"), b = x(n, "refreshInterval"), B = x(n, "customView"), R = w(() => {
38
43
  var l;
39
44
  return !!((l = t.exportColumns) != null && l.length);
40
- }), C = b(() => ({
45
+ }), C = w(() => ({
41
46
  tableExpose: t.tableExpose,
42
47
  loading: t.loading,
43
48
  exportContext: t.exportContext,
@@ -47,42 +52,34 @@ const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee =
47
52
  pageSize: t.pageSize,
48
53
  total: t.exportContext.total
49
54
  }
50
- })), D = b(
55
+ })), S = w(
51
56
  () => {
52
57
  var l, e;
53
58
  return [
54
- B.value,
59
+ R.value,
55
60
  t.showAutoRefresh,
56
61
  t.showRefresh,
57
62
  (l = t.leftExtraButtons) == null ? void 0 : l.length,
58
63
  (e = t.rightExtraButtons) == null ? void 0 : e.length
59
64
  ].filter(Boolean).length;
60
65
  }
61
- ), h = y(30);
62
- N(
63
- () => t.refreshInterval,
64
- (l) => {
65
- h.value = l;
66
- },
67
- { immediate: !0 }
68
- );
69
- const f = y(!1), I = async (l) => {
70
- const { selectedList: e, currentPageList: s, api: d, query: i } = t.exportContext, g = t.exportColumns;
71
- let u;
66
+ ), f = U(!1), k = async (l) => {
67
+ const { selectedList: e, currentPageList: u, api: c, query: s } = t.exportContext, h = t.exportColumns;
68
+ let i;
72
69
  switch (l) {
73
70
  case "selected":
74
- u = e;
71
+ i = e;
75
72
  break;
76
73
  case "current":
77
- u = s;
74
+ i = u;
78
75
  break;
79
76
  case "all":
80
77
  try {
81
- const a = await W(d, i);
82
- if (a > c) {
78
+ const o = await Y(c, s);
79
+ if (o > d) {
83
80
  try {
84
- await G.confirm(
85
- `数据量超过 ${c} 条(共 ${a} 条),是否只导出前 ${c} 条?`,
81
+ await j.confirm(
82
+ `数据量超过 ${d} 条(共 ${o} 条),是否只导出前 ${d} 条?`,
86
83
  "提示",
87
84
  {
88
85
  confirmButtonText: "导出",
@@ -93,61 +90,61 @@ const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee =
93
90
  } catch {
94
91
  return;
95
92
  }
96
- u = await M(d, i, {
97
- limit: c
93
+ i = await M(c, s, {
94
+ limit: d
98
95
  });
99
96
  } else
100
- u = await M(d, i, {
101
- limit: c
97
+ i = await M(c, s, {
98
+ limit: d
102
99
  });
103
- } catch (a) {
104
- H.error(`导出失败:${(a == null ? void 0 : a.message) || (a == null ? void 0 : a.toString())}`);
100
+ } catch (o) {
101
+ H.error(`导出失败:${(o == null ? void 0 : o.message) || (o == null ? void 0 : o.toString())}`);
105
102
  return;
106
103
  }
107
104
  break;
108
105
  }
109
- const m = `${document.title}-${Date.now()}`;
110
- Y({ columns: g, list: u, filename: m });
111
- }, T = (l) => {
112
- var s;
106
+ const p = `${document.title}-${Date.now()}`;
107
+ Z({ columns: h, list: i, filename: p });
108
+ }, D = (l) => {
109
+ var u;
113
110
  if (f.value) return;
114
111
  f.value = !0;
115
- const e = t.exportByFe ? I(l) : (s = t.exportFn) == null ? void 0 : s.call(t, l);
112
+ const e = t.exportByFe ? k(l) : (u = t.exportFn) == null ? void 0 : u.call(t, l);
116
113
  Promise.resolve(e).catch(() => {
117
114
  }).finally(() => {
118
115
  f.value = !1;
119
116
  });
120
117
  };
121
118
  return (l, e) => {
122
- const s = F, d = $, i = S, g = L, u = V;
123
- return U((x(), X("div", Z, [
124
- R("div", _, [
125
- B.value ? (x(), E(u, {
119
+ const u = L, c = F, s = P, h = $, i = T, p = z;
120
+ return G((v(), X("div", _, [
121
+ y("div", ee, [
122
+ R.value ? (v(), A(i, {
126
123
  key: 0,
127
- disabled: !o.exportContext.total,
128
- onCommand: T
124
+ disabled: !n.exportContext.total,
125
+ onCommand: D
129
126
  }, {
130
- dropdown: r(() => [
131
- n(g, null, {
132
- default: r(() => [
133
- n(i, {
134
- disabled: o.exportContext.hasSelection && !o.exportContext.selectedList.length,
127
+ dropdown: a(() => [
128
+ r(h, null, {
129
+ default: a(() => [
130
+ r(s, {
131
+ disabled: n.exportContext.hasSelection && !n.exportContext.selectedList.length,
135
132
  command: "selected"
136
133
  }, {
137
- default: r(() => [...e[4] || (e[4] = [
138
- p(" 导出选择 ", -1)
134
+ default: a(() => [...e[4] || (e[4] = [
135
+ m(" 导出选择 ", -1)
139
136
  ])]),
140
137
  _: 1
141
138
  }, 8, ["disabled"]),
142
- n(i, { command: "current" }, {
143
- default: r(() => [...e[5] || (e[5] = [
144
- p("导出本页", -1)
139
+ r(s, { command: "current" }, {
140
+ default: a(() => [...e[5] || (e[5] = [
141
+ m("导出本页", -1)
145
142
  ])]),
146
143
  _: 1
147
144
  }),
148
- n(i, { command: "all" }, {
149
- default: r(() => [...e[6] || (e[6] = [
150
- p("导出全部", -1)
145
+ r(s, { command: "all" }, {
146
+ default: a(() => [...e[6] || (e[6] = [
147
+ m("导出全部", -1)
151
148
  ])]),
152
149
  _: 1
153
150
  })
@@ -155,17 +152,17 @@ const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee =
155
152
  _: 1
156
153
  })
157
154
  ]),
158
- default: r(() => [
159
- n(d, {
155
+ default: a(() => [
156
+ r(c, {
160
157
  size: "small",
161
158
  type: "primary",
162
159
  loading: f.value
163
160
  }, {
164
- default: r(() => [
165
- e[3] || (e[3] = p(" 导出 ", -1)),
166
- n(s, null, {
167
- default: r(() => [
168
- n(A(J))
161
+ default: a(() => [
162
+ e[3] || (e[3] = m(" 导出 ", -1)),
163
+ r(u, null, {
164
+ default: a(() => [
165
+ r(g(J))
169
166
  ]),
170
167
  _: 1
171
168
  })
@@ -174,51 +171,43 @@ const Z = { class: "table-toolbar" }, _ = { class: "table-toolbar-left" }, ee =
174
171
  }, 8, ["loading"])
175
172
  ]),
176
173
  _: 1
177
- }, 8, ["disabled"])) : v("", !0),
178
- n(k, {
179
- buttons: o.leftExtraButtons,
174
+ }, 8, ["disabled"])) : V("", !0),
175
+ r(I, {
176
+ buttons: n.leftExtraButtons,
180
177
  ctx: C.value
181
178
  }, null, 8, ["buttons", "ctx"])
182
179
  ]),
183
- R("div", ee, [
184
- n(k, {
185
- buttons: o.rightExtraButtons,
180
+ y("div", te, [
181
+ r(I, {
182
+ buttons: n.rightExtraButtons,
186
183
  ctx: C.value
187
184
  }, null, 8, ["buttons", "ctx"]),
188
- o.showAutoRefresh ? (x(), E(Q, {
185
+ n.showSwitchView ? (v(), A(p, {
189
186
  key: 0,
190
- modelValue: w.value,
191
- "onUpdate:modelValue": e[0] || (e[0] = (m) => w.value = m),
192
- interval: h.value,
193
- "onUpdate:interval": e[1] || (e[1] = (m) => h.value = m),
194
- refreshFn: o.tableExpose.refresh,
195
- enabled: !o.loading
196
- }, null, 8, ["modelValue", "interval", "refreshFn", "enabled"])) : v("", !0),
197
- o.showRefresh ? (x(), E(d, {
198
- key: 1,
199
- size: "small",
200
- circle: "",
201
- onClick: e[2] || (e[2] = (m) => o.tableExpose.refresh())
202
- }, {
203
- default: r(() => [
204
- n(s, {
205
- class: q({ "table-toolbar-icon--rotating": o.loading })
206
- }, {
207
- default: r(() => [
208
- n(A(K))
209
- ]),
210
- _: 1
211
- }, 8, ["class"])
212
- ]),
213
- _: 1
214
- })) : v("", !0)
187
+ modelValue: B.value,
188
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => B.value = o),
189
+ class: "table-toolbar-switch-view",
190
+ "inline-prompt": "",
191
+ "active-icon": g(Q),
192
+ "inactive-icon": g(K)
193
+ }, null, 8, ["modelValue", "active-icon", "inactive-icon"])) : V("", !0),
194
+ r(W, {
195
+ isAutoRefresh: E.value,
196
+ "onUpdate:isAutoRefresh": e[1] || (e[1] = (o) => E.value = o),
197
+ interval: b.value,
198
+ "onUpdate:interval": e[2] || (e[2] = (o) => b.value = o),
199
+ showAutoRefresh: n.showAutoRefresh,
200
+ showRefresh: n.showRefresh,
201
+ refreshFn: n.tableExpose.refresh,
202
+ loading: n.loading
203
+ }, null, 8, ["isAutoRefresh", "interval", "showAutoRefresh", "showRefresh", "refreshFn", "loading"])
215
204
  ])
216
205
  ], 512)), [
217
- [O, D.value]
206
+ [q, S.value]
218
207
  ]);
219
208
  };
220
209
  }
221
210
  });
222
211
  export {
223
- pe as default
212
+ we as default
224
213
  };
package/es/index.mjs CHANGED
@@ -1,152 +1,156 @@
1
1
  import { createAdminBridge as r } from "./bridge/index.mjs";
2
2
  import { default as a } from "./components/misc/ActionBtn.vue.mjs";
3
3
  import { default as m } from "./components/display/ActionBtnGroup.vue.mjs";
4
- import { default as s } from "./components/modal/DetailModal.vue.mjs";
5
- import { default as l } from "./components/form/FormMain.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 c } from "./components/form/FormTree.vue.mjs";
9
- import { default as E } from "./components/form/FormVerifyCode.vue.mjs";
10
- import { default as S } from "./components/display/HeightProvider.vue.mjs";
11
- import { default as T } from "./components/menu/MenuItemSub.vue.mjs";
12
- import { default as L } from "./components/menu/MenuTree.vue.mjs";
13
- import { default as I } from "./components/modal/ModalPorter.vue.mjs";
14
- import { default as C } from "./components/modal/ModalShelf.vue.mjs";
15
- import { default as h } from "./components/panel/PanelItem.vue.mjs";
16
- import { default as y } from "./components/panel/PanelMain.vue.mjs";
17
- import { default as B } from "./components/misc/SelectModule.vue.mjs";
18
- import { default as V } from "./components/display/TabsMain.vue.mjs";
19
- import { default as N } from "./components/misc/TriggerAutoImport.vue.mjs";
20
- import { default as Y } from "./components/display/WatchSize.vue.mjs";
21
- import { APP_API_LIST_MODEL_KEY_CONFIG as K } from "./config/list-model.mjs";
22
- import { APP_LAYOUT_APP_STORE_KEY as k, APP_LAYOUT_BRIDGE_KEY as W, APP_LAYOUT_USER_STORE_KEY as z, BODY_CONTENT_VIEWPORT_HEIGHT as X, TABS_MAIN_VISUAL_LEVEL as j, getModalShelfInjectionKey as Q } from "./inject/key.mjs";
23
- import { default as J } from "./components/misc/ActionConfirm.vue.mjs";
24
- import { default as $ } from "./components/app-layout/AppBody.vue.mjs";
25
- import { default as oe } from "./components/app-layout/AppBreadcrumb.vue.mjs";
26
- import { default as te } from "./components/app-layout/AppFooter.vue.mjs";
27
- import { default as fe } from "./components/app-layout/AppHeader.vue.mjs";
28
- import { default as pe } from "./components/app-layout/AppLayout.vue.mjs";
29
- import { default as ue } from "./components/app-layout/AppPage.vue.mjs";
30
- import { default as xe } from "./components/app-layout/AppSidebar.vue.mjs";
31
- import { default as ie } from "./components/misc/AutoRefresh.vue.mjs";
32
- import { default as Ae } from "./components/modal/ConfirmModal.vue.mjs";
33
- import { EXPORT_MAX_LIMIT as _e, OPERATE_COLUMN_PROP as Ee, exportCSV as Pe, pickExportColumns as Se } from "./utils/export.mjs";
34
- import { FORM_CONFIG_SELECT_ALL_VALUE as Te, getConfirmPasswordRule as ge, passwordRule as Le, setFormComponentType as Re } from "./helpers/form.mjs";
35
- import { FORM_ITEM_CHANGE_LOADING as Oe, generateFormData as Ce, getBlurSubmit as Fe, getChangeSubmit as he, getDatePickerShortcuts as De, getEnterSubmit as ye, getPlaceholder as Ue, getVModelSugar as Be, parseFormData as Ge, resolveFormLayout as Ve, setInputComponent as be, setSelectComponent as Ne, stringifyFormData as we, swiftFormItemConfig as Ye } from "./components/form/utils.mjs";
36
- import { default as Ke } from "./components/form/FormSearch.vue.mjs";
37
- import { default as ke } from "./components/form/FormVerifyImage.vue.mjs";
38
- import { default as ze } from "./components/list-page/ListPage.vue.mjs";
39
- import { default as je } from "./components/panel/PanelEditSwitch.vue.mjs";
40
- import { ROUTE_MODULE_LEVEL as qe, TabsMainReplaceQueryKey as Je } from "./config/route.mjs";
41
- import { default as $e } from "./components/table/TableMain.vue.mjs";
42
- import { checkLogin as oo } from "./router/guard/login.mjs";
43
- import { checkPermission as to } from "./router/guard/permission.mjs";
44
- import { countAll as fo, createListApi as mo, fetchListAll as po } from "./helpers/list-helper.mjs";
45
- import { createAppStore as uo } from "./store/app.mjs";
46
- import { createGenerateRouteMetaRawTree as xo } from "./bridge/route.mjs";
47
- import { createGuard as no } from "./router/guard/index.mjs";
48
- import { createRoutePermissionStore as co } from "./store/router-permission.mjs";
49
- import { createStorageWithNamespace as Eo } from "./bridge/storage.mjs";
50
- import { createUseState as So } from "./bridge/state.mjs";
51
- import { createUserStore as To } from "./store/user.mjs";
52
- import { flatRouteMetaResolveRaw as Lo, getRoutePermissionKey as Ro } from "./utils/router.mjs";
53
- import { getId as Oo } from "./utils/id.mjs";
54
- import { timeCountDown as Fo } from "./utils/time.mjs";
55
- import { useActivated as Do, useActivatedEvent as yo, useActivatedExec as Uo } from "./hooks/activated.mjs";
56
- import { useBreakpoint as Go } from "./hooks/use-breakpoint.mjs";
57
- import { useChannelViewportHeight as bo } from "./hooks/use-channel-viewport-height.mjs";
58
- import { useFeelSize as wo } from "./hooks/feel-size.mjs";
59
- import { useMenusDataDispatch as vo } from "./hooks/menus-dispatch.mjs";
60
- import { useTimeout as Ho } from "./hooks/timeout.mjs";
4
+ import { default as u } from "./components/display/BooleanTag.vue.mjs";
5
+ import { default as l } from "./components/modal/DetailModal.vue.mjs";
6
+ import { default as d } from "./components/form/FormMain.vue.mjs";
7
+ import { default as n } from "./components/form/FormRadioGroup.vue.mjs";
8
+ import { default as c } from "./components/form/FormSelect.vue.mjs";
9
+ import { default as E } from "./components/form/FormTree.vue.mjs";
10
+ import { default as S } from "./components/form/FormVerifyCode.vue.mjs";
11
+ import { default as g } from "./components/display/HeightProvider.vue.mjs";
12
+ import { default as L } from "./components/menu/MenuItemSub.vue.mjs";
13
+ import { default as I } from "./components/menu/MenuTree.vue.mjs";
14
+ import { default as C } from "./components/modal/ModalPorter.vue.mjs";
15
+ import { default as h } from "./components/modal/ModalShelf.vue.mjs";
16
+ import { default as y } from "./components/panel/PanelItem.vue.mjs";
17
+ import { default as G } from "./components/panel/PanelMain.vue.mjs";
18
+ import { default as V } from "./components/misc/SelectModule.vue.mjs";
19
+ import { default as N } from "./components/display/TabsMain.vue.mjs";
20
+ import { default as Y } from "./components/misc/TriggerAutoImport.vue.mjs";
21
+ import { default as K } from "./components/display/WatchSize.vue.mjs";
22
+ import { APP_API_LIST_MODEL_KEY_CONFIG as k } from "./config/list-model.mjs";
23
+ import { APP_LAYOUT_APP_STORE_KEY as z, APP_LAYOUT_BRIDGE_KEY as X, APP_LAYOUT_USER_STORE_KEY as j, BODY_CONTENT_VIEWPORT_HEIGHT as Q, TABS_MAIN_VISUAL_LEVEL as q, getModalShelfInjectionKey as J } from "./inject/key.mjs";
24
+ import { default as $ } from "./components/misc/ActionConfirm.vue.mjs";
25
+ import { default as oe } from "./components/app-layout/AppBody.vue.mjs";
26
+ import { default as te } from "./components/app-layout/AppBreadcrumb.vue.mjs";
27
+ import { default as fe } from "./components/app-layout/AppFooter.vue.mjs";
28
+ import { default as pe } from "./components/app-layout/AppHeader.vue.mjs";
29
+ import { default as se } from "./components/app-layout/AppLayout.vue.mjs";
30
+ import { default as xe } from "./components/app-layout/AppPage.vue.mjs";
31
+ import { default as ie } from "./components/app-layout/AppSidebar.vue.mjs";
32
+ import { default as Ae } from "./components/misc/AutoRefresh.vue.mjs";
33
+ import { default as _e } from "./components/misc/AutoRefreshGroup.vue.mjs";
34
+ import { default as Pe } from "./components/modal/ConfirmModal.vue.mjs";
35
+ import { EXPORT_MAX_LIMIT as Te, OPERATE_COLUMN_PROP as ge, exportCSV as Me, pickExportColumns as Le } from "./utils/export.mjs";
36
+ import { FORM_CONFIG_SELECT_ALL_VALUE as Ie, getConfirmPasswordRule as Oe, passwordRule as Ce, setFormComponentType as Fe } from "./helpers/form.mjs";
37
+ import { FORM_ITEM_CHANGE_LOADING as De, generateFormData as ye, getBlurSubmit as Be, getChangeSubmit as Ge, getDatePickerShortcuts as Ue, getEnterSubmit as Ve, getPlaceholder as be, getVModelSugar as Ne, parseFormData as we, resolveFormLayout as Ye, setInputComponent as ve, setSelectComponent as Ke, stringifyFormData as He, swiftFormItemConfig as ke } from "./components/form/utils.mjs";
38
+ import { default as ze } from "./components/form/FormSearch.vue.mjs";
39
+ import { default as je } from "./components/form/FormVerifyImage.vue.mjs";
40
+ import { default as qe } from "./components/list-page/ListPage.vue.mjs";
41
+ import { default as Ze } from "./components/panel/PanelEditSwitch.vue.mjs";
42
+ import { ROUTE_MODULE_LEVEL as eo, TabsMainReplaceQueryKey as oo } from "./config/route.mjs";
43
+ import { default as to } from "./components/table/TableMain.vue.mjs";
44
+ import { checkLogin as fo } from "./router/guard/login.mjs";
45
+ import { checkPermission as po } from "./router/guard/permission.mjs";
46
+ import { countAll as so, createListApi as lo, fetchListAll as xo } from "./helpers/list-helper.mjs";
47
+ import { createAppStore as no } from "./store/app.mjs";
48
+ import { createGenerateRouteMetaRawTree as co } from "./bridge/route.mjs";
49
+ import { createGuard as Eo } from "./router/guard/index.mjs";
50
+ import { createRoutePermissionStore as So } from "./store/router-permission.mjs";
51
+ import { createStorageWithNamespace as go } from "./bridge/storage.mjs";
52
+ import { createUseState as Lo } from "./bridge/state.mjs";
53
+ import { createUserStore as Io } from "./store/user.mjs";
54
+ import { flatRouteMetaResolveRaw as Co, getRoutePermissionKey as Fo } from "./utils/router.mjs";
55
+ import { getId as Do } from "./utils/id.mjs";
56
+ import { timeCountDown as Bo } from "./utils/time.mjs";
57
+ import { useActivated as Uo, useActivatedEvent as Vo, useActivatedExec as bo } from "./hooks/activated.mjs";
58
+ import { useBreakpoint as wo } from "./hooks/use-breakpoint.mjs";
59
+ import { useChannelViewportHeight as vo } from "./hooks/use-channel-viewport-height.mjs";
60
+ import { useFeelSize as Ho } from "./hooks/feel-size.mjs";
61
+ import { useMenusDataDispatch as Wo } from "./hooks/menus-dispatch.mjs";
62
+ import { useTimeout as Xo } from "./hooks/timeout.mjs";
61
63
  export {
62
- K as APP_API_LIST_MODEL_KEY_CONFIG,
63
- k as APP_LAYOUT_APP_STORE_KEY,
64
- W as APP_LAYOUT_BRIDGE_KEY,
65
- z as APP_LAYOUT_USER_STORE_KEY,
64
+ k as APP_API_LIST_MODEL_KEY_CONFIG,
65
+ z as APP_LAYOUT_APP_STORE_KEY,
66
+ X as APP_LAYOUT_BRIDGE_KEY,
67
+ j as APP_LAYOUT_USER_STORE_KEY,
66
68
  a as ActionBtn,
67
69
  m as ActionBtnGroup,
68
- J as ActionConfirm,
69
- $ as AppBody,
70
- oe as AppBreadcrumb,
71
- te as AppFooter,
72
- fe as AppHeader,
73
- pe as AppLayout,
74
- ue as AppPage,
75
- xe as AppSidebar,
76
- ie as AutoRefresh,
77
- X as BODY_CONTENT_VIEWPORT_HEIGHT,
78
- Ae as ConfirmModal,
79
- s as DetailModal,
80
- _e as EXPORT_MAX_LIMIT,
81
- Te as FORM_CONFIG_SELECT_ALL_VALUE,
82
- Oe as FORM_ITEM_CHANGE_LOADING,
83
- l as FormMain,
84
- d as FormRadioGroup,
85
- Ke as FormSearch,
86
- n as FormSelect,
87
- c as FormTree,
88
- E as FormVerifyCode,
89
- ke as FormVerifyImage,
90
- S as HeightProvider,
91
- ze as ListPage,
92
- T as MenuItemSub,
93
- L as MenuTree,
94
- I as ModalPorter,
95
- C as ModalShelf,
96
- Ee as OPERATE_COLUMN_PROP,
97
- je as PanelEditSwitch,
98
- h as PanelItem,
99
- y as PanelMain,
100
- qe as ROUTE_MODULE_LEVEL,
101
- B as SelectModule,
102
- j as TABS_MAIN_VISUAL_LEVEL,
103
- $e as TableMain,
104
- V as TabsMain,
105
- Je as TabsMainReplaceQueryKey,
106
- N as TriggerAutoImport,
107
- Y as WatchSize,
108
- oo as checkLogin,
109
- to as checkPermission,
110
- fo as countAll,
70
+ $ as ActionConfirm,
71
+ oe as AppBody,
72
+ te as AppBreadcrumb,
73
+ fe as AppFooter,
74
+ pe as AppHeader,
75
+ se as AppLayout,
76
+ xe as AppPage,
77
+ ie as AppSidebar,
78
+ Ae as AutoRefresh,
79
+ _e as AutoRefreshGroup,
80
+ Q as BODY_CONTENT_VIEWPORT_HEIGHT,
81
+ u as BooleanTag,
82
+ Pe as ConfirmModal,
83
+ l as DetailModal,
84
+ Te as EXPORT_MAX_LIMIT,
85
+ Ie as FORM_CONFIG_SELECT_ALL_VALUE,
86
+ De as FORM_ITEM_CHANGE_LOADING,
87
+ d as FormMain,
88
+ n as FormRadioGroup,
89
+ ze as FormSearch,
90
+ c as FormSelect,
91
+ E as FormTree,
92
+ S as FormVerifyCode,
93
+ je as FormVerifyImage,
94
+ g as HeightProvider,
95
+ qe as ListPage,
96
+ L as MenuItemSub,
97
+ I as MenuTree,
98
+ C as ModalPorter,
99
+ h as ModalShelf,
100
+ ge as OPERATE_COLUMN_PROP,
101
+ Ze as PanelEditSwitch,
102
+ y as PanelItem,
103
+ G as PanelMain,
104
+ eo as ROUTE_MODULE_LEVEL,
105
+ V as SelectModule,
106
+ q as TABS_MAIN_VISUAL_LEVEL,
107
+ to as TableMain,
108
+ N as TabsMain,
109
+ oo as TabsMainReplaceQueryKey,
110
+ Y as TriggerAutoImport,
111
+ K as WatchSize,
112
+ fo as checkLogin,
113
+ po as checkPermission,
114
+ so as countAll,
111
115
  r as createAdminBridge,
112
- uo as createAppStore,
113
- xo as createGenerateRouteMetaRawTree,
114
- no as createGuard,
115
- mo as createListApi,
116
- co as createRoutePermissionStore,
117
- Eo as createStorageWithNamespace,
118
- So as createUseState,
119
- To as createUserStore,
120
- Pe as exportCSV,
121
- po as fetchListAll,
122
- Lo as flatRouteMetaResolveRaw,
123
- Ce as generateFormData,
124
- Fe as getBlurSubmit,
125
- he as getChangeSubmit,
126
- ge as getConfirmPasswordRule,
127
- De as getDatePickerShortcuts,
128
- ye as getEnterSubmit,
129
- Oo as getId,
130
- Q as getModalShelfInjectionKey,
131
- Ue as getPlaceholder,
132
- Ro as getRoutePermissionKey,
133
- Be as getVModelSugar,
134
- Ge as parseFormData,
135
- Le as passwordRule,
136
- Se as pickExportColumns,
137
- Ve as resolveFormLayout,
138
- Re as setFormComponentType,
139
- be as setInputComponent,
140
- Ne as setSelectComponent,
141
- we as stringifyFormData,
142
- Ye as swiftFormItemConfig,
143
- Fo as timeCountDown,
144
- Do as useActivated,
145
- yo as useActivatedEvent,
146
- Uo as useActivatedExec,
147
- Go as useBreakpoint,
148
- bo as useChannelViewportHeight,
149
- wo as useFeelSize,
150
- vo as useMenusDataDispatch,
151
- Ho as useTimeout
116
+ no as createAppStore,
117
+ co as createGenerateRouteMetaRawTree,
118
+ Eo as createGuard,
119
+ lo as createListApi,
120
+ So as createRoutePermissionStore,
121
+ go as createStorageWithNamespace,
122
+ Lo as createUseState,
123
+ Io as createUserStore,
124
+ Me as exportCSV,
125
+ xo as fetchListAll,
126
+ Co as flatRouteMetaResolveRaw,
127
+ ye as generateFormData,
128
+ Be as getBlurSubmit,
129
+ Ge as getChangeSubmit,
130
+ Oe as getConfirmPasswordRule,
131
+ Ue as getDatePickerShortcuts,
132
+ Ve as getEnterSubmit,
133
+ Do as getId,
134
+ J as getModalShelfInjectionKey,
135
+ be as getPlaceholder,
136
+ Fo as getRoutePermissionKey,
137
+ Ne as getVModelSugar,
138
+ we as parseFormData,
139
+ Ce as passwordRule,
140
+ Le as pickExportColumns,
141
+ Ye as resolveFormLayout,
142
+ Fe as setFormComponentType,
143
+ ve as setInputComponent,
144
+ Ke as setSelectComponent,
145
+ He as stringifyFormData,
146
+ ke as swiftFormItemConfig,
147
+ Bo as timeCountDown,
148
+ Uo as useActivated,
149
+ Vo as useActivatedEvent,
150
+ bo as useActivatedExec,
151
+ wo as useBreakpoint,
152
+ vo as useChannelViewportHeight,
153
+ Ho as useFeelSize,
154
+ Wo as useMenusDataDispatch,
155
+ Xo as useTimeout
152
156
  };