@done-coding/admin-core 0.6.0 → 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.
- package/es/components/app-layout/AppBody.vue.mjs +2 -2
- package/es/components/app-layout/AppBody.vue2.mjs +33 -35
- package/es/components/app-layout/AppBreadcrumb.vue.mjs +2 -2
- package/es/components/app-layout/AppBreadcrumb.vue2.mjs +6 -7
- package/es/components/app-layout/AppLayout.vue.mjs +1 -1
- package/es/components/app-layout/AppLayout.vue2.mjs +25 -28
- package/es/components/data-view/DataListView.vue.mjs +2 -2
- package/es/components/data-view/DataListView.vue2.mjs +19 -17
- package/es/components/display/BooleanTag.vue.mjs +30 -0
- package/es/components/display/BooleanTag.vue2.mjs +4 -0
- package/es/components/list-page/ListPage.vue.mjs +1 -1
- package/es/components/list-page/ListPage.vue2.mjs +101 -89
- package/es/components/misc/ActionBtn.vue.mjs +29 -29
- package/es/components/misc/AutoRefresh.vue.mjs +2 -2
- package/es/components/misc/AutoRefresh.vue2.mjs +50 -42
- package/es/components/misc/AutoRefreshGroup.vue.mjs +7 -0
- package/es/components/misc/AutoRefreshGroup.vue2.mjs +60 -0
- package/es/components/table/TableMain.vue.mjs +3 -3
- package/es/components/table/TableMain.vue2.mjs +177 -167
- package/es/components/table/TableToolbar.vue.mjs +2 -2
- package/es/components/table/TableToolbar.vue2.mjs +98 -109
- package/es/index.mjs +148 -144
- package/es/style.css +1 -1
- package/package.json +2 -2
- package/types/components/app-layout/AppBody.vue.d.ts +0 -2
- package/types/components/app-layout/AppBreadcrumb.vue.d.ts +0 -1
- package/types/components/data-view/DataListView.vue.d.ts +2 -2
- package/types/components/data-view/types.d.ts +4 -2
- package/types/components/display/BooleanTag.vue.d.ts +8 -0
- package/types/components/display/index.d.ts +7 -1
- package/types/components/display/types.d.ts +19 -0
- package/types/components/list-page/ListPage.vue.d.ts +9 -13
- package/types/components/list-page/types.d.ts +1 -1
- package/types/components/misc/AutoRefresh.vue.d.ts +3 -9
- package/types/components/misc/AutoRefreshGroup.vue.d.ts +17 -0
- package/types/components/misc/index.d.ts +2 -1
- package/types/components/misc/types.d.ts +15 -0
- package/types/components/table/TableMain.vue.d.ts +9 -13
- package/types/components/table/TableToolbar.vue.d.ts +6 -2
- package/types/components/table/types.d.ts +20 -19
- package/types/hooks/activated.d.ts +2 -0
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { ElDropdown as
|
|
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
|
|
9
|
-
import { ElMessageBox as
|
|
10
|
-
import { ArrowDown as J,
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { countAll as
|
|
14
|
-
import { EXPORT_MAX_LIMIT as
|
|
15
|
-
const
|
|
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__ */
|
|
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(
|
|
37
|
-
const t =
|
|
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 =
|
|
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
|
-
})),
|
|
55
|
+
})), S = w(
|
|
51
56
|
() => {
|
|
52
57
|
var l, e;
|
|
53
58
|
return [
|
|
54
|
-
|
|
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
|
-
),
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
71
|
+
i = e;
|
|
75
72
|
break;
|
|
76
73
|
case "current":
|
|
77
|
-
|
|
74
|
+
i = u;
|
|
78
75
|
break;
|
|
79
76
|
case "all":
|
|
80
77
|
try {
|
|
81
|
-
const
|
|
82
|
-
if (
|
|
78
|
+
const o = await Y(c, s);
|
|
79
|
+
if (o > d) {
|
|
83
80
|
try {
|
|
84
|
-
await
|
|
85
|
-
`数据量超过 ${
|
|
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
|
-
|
|
97
|
-
limit:
|
|
93
|
+
i = await M(c, s, {
|
|
94
|
+
limit: d
|
|
98
95
|
});
|
|
99
96
|
} else
|
|
100
|
-
|
|
101
|
-
limit:
|
|
97
|
+
i = await M(c, s, {
|
|
98
|
+
limit: d
|
|
102
99
|
});
|
|
103
|
-
} catch (
|
|
104
|
-
H.error(`导出失败:${(
|
|
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
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
var
|
|
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 ?
|
|
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
|
|
123
|
-
return
|
|
124
|
-
|
|
125
|
-
|
|
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: !
|
|
128
|
-
onCommand:
|
|
124
|
+
disabled: !n.exportContext.total,
|
|
125
|
+
onCommand: D
|
|
129
126
|
}, {
|
|
130
|
-
dropdown:
|
|
131
|
-
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
-
disabled:
|
|
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:
|
|
138
|
-
|
|
134
|
+
default: a(() => [...e[4] || (e[4] = [
|
|
135
|
+
m(" 导出选择 ", -1)
|
|
139
136
|
])]),
|
|
140
137
|
_: 1
|
|
141
138
|
}, 8, ["disabled"]),
|
|
142
|
-
|
|
143
|
-
default:
|
|
144
|
-
|
|
139
|
+
r(s, { command: "current" }, {
|
|
140
|
+
default: a(() => [...e[5] || (e[5] = [
|
|
141
|
+
m("导出本页", -1)
|
|
145
142
|
])]),
|
|
146
143
|
_: 1
|
|
147
144
|
}),
|
|
148
|
-
|
|
149
|
-
default:
|
|
150
|
-
|
|
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:
|
|
159
|
-
|
|
155
|
+
default: a(() => [
|
|
156
|
+
r(c, {
|
|
160
157
|
size: "small",
|
|
161
158
|
type: "primary",
|
|
162
159
|
loading: f.value
|
|
163
160
|
}, {
|
|
164
|
-
default:
|
|
165
|
-
e[3] || (e[3] =
|
|
166
|
-
|
|
167
|
-
default:
|
|
168
|
-
|
|
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"])) :
|
|
178
|
-
|
|
179
|
-
buttons:
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
buttons:
|
|
180
|
+
y("div", te, [
|
|
181
|
+
r(I, {
|
|
182
|
+
buttons: n.rightExtraButtons,
|
|
186
183
|
ctx: C.value
|
|
187
184
|
}, null, 8, ["buttons", "ctx"]),
|
|
188
|
-
|
|
185
|
+
n.showSwitchView ? (v(), A(p, {
|
|
189
186
|
key: 0,
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
192
|
-
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}, null, 8, ["modelValue", "
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
[
|
|
206
|
+
[q, S.value]
|
|
218
207
|
]);
|
|
219
208
|
};
|
|
220
209
|
}
|
|
221
210
|
});
|
|
222
211
|
export {
|
|
223
|
-
|
|
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
|
|
5
|
-
import { default as l } from "./components/
|
|
6
|
-
import { default as d } from "./components/form/
|
|
7
|
-
import { default as n } from "./components/form/
|
|
8
|
-
import { default as c } from "./components/form/
|
|
9
|
-
import { default as E } from "./components/form/
|
|
10
|
-
import { default as S } from "./components/
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as L } from "./components/menu/
|
|
13
|
-
import { default as I } from "./components/
|
|
14
|
-
import { default as C } from "./components/modal/
|
|
15
|
-
import { default as h } from "./components/
|
|
16
|
-
import { default as y } from "./components/panel/
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as V } from "./components/
|
|
19
|
-
import { default as N } from "./components/
|
|
20
|
-
import { default as Y } from "./components/
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { default as $ } from "./components/
|
|
25
|
-
import { default as oe } from "./components/app-layout/
|
|
26
|
-
import { default as te } from "./components/app-layout/
|
|
27
|
-
import { default as fe } from "./components/app-layout/
|
|
28
|
-
import { default as pe } from "./components/app-layout/
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as xe } from "./components/app-layout/
|
|
31
|
-
import { default as ie } from "./components/
|
|
32
|
-
import { default as Ae } from "./components/
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { default as ze } from "./components/
|
|
39
|
-
import { default as je } from "./components/
|
|
40
|
-
import {
|
|
41
|
-
import { default as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
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 {
|
|
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
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
n as
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
S as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
N as
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
fo as
|
|
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
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
};
|