yc-vep-ui 0.0.37 → 0.0.39
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/dist/entry.d.ts +8 -11
- package/dist/vep-ui.es.js +278 -279
- package/dist/vep-ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/vep-ui.es.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import e from "element-plus/es/locale/lang/zh-cn";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AiEditor as ge } from "aieditor";
|
|
2
|
+
import { ElButton as t, ElButton as n, ElCard as r, ElCol as i, ElConfigProvider as a, ElDatePicker as o, ElDatePicker as s, ElDescriptions as c, ElDescriptionsItem as l, ElDialog as u, ElDropdown as d, ElDropdownItem as f, ElDropdownMenu as p, ElForm as m, ElFormItem as h, ElIcon as ee, ElInput as g, ElInput as te, ElInputNumber as ne, ElInputNumber as re, ElInputTag as ie, ElInputTag as ae, ElLink as _, ElLink as oe, ElMenu as se, ElMenuItem as ce, ElMessage as le, ElMessage as ue, ElMessageBox as v, ElMessageBox as de, ElNotification as fe, ElNotification as pe, ElOption as me, ElOptionGroup as he, ElPagination as ge, ElPopconfirm as _e, ElPopover as ve, ElRadio as ye, ElRadioButton as be, ElRadioGroup as xe, ElRadioGroup as Se, ElRow as Ce, ElScrollbar as we, ElSelect as Te, ElSelect as Ee, ElSubMenu as De, ElSwitch as Oe, ElTable as ke, ElTableColumn as Ae, ElTag as y, ElTag as je, ElText as b, ElText as Me, ElTimeSelect as Ne, ElTimeSelect as Pe, ElTreeV2 as Fe, ElUpload as Ie, provideGlobalConfig as Le } from "element-plus";
|
|
3
|
+
import { Fragment as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createPropsRestProxy as D, createSlots as Re, createTextVNode as O, createVNode as k, defineComponent as A, h as j, mergeModels as ze, mergeProps as M, nextTick as Be, normalizeClass as N, normalizeStyle as P, onMounted as Ve, onUnmounted as He, openBlock as F, reactive as I, ref as L, renderList as R, renderSlot as z, resolveComponent as B, resolveDirective as Ue, resolveDynamicComponent as V, setBlockTracking as We, toDisplayString as H, toValue as U, unref as W, useCssVars as Ge, useModel as Ke, watch as G, watchEffect as qe, withCtx as K, withDirectives as q } from "vue";
|
|
4
|
+
import { ArrowRight as Je, ArrowUp as Ye, CirclePlus as Xe, Delete as Ze, DocumentAdd as Qe, Edit as $e, Folder as et, MoreFilled as tt, Promotion as nt, Refresh as rt, Search as it } from "@element-plus/icons-vue";
|
|
5
|
+
import { AiEditor as at } from "aieditor";
|
|
7
6
|
//#region \0rolldown/runtime.js
|
|
8
|
-
var
|
|
7
|
+
var ot = Object.defineProperty, st = (e, t) => {
|
|
9
8
|
let n = {};
|
|
10
|
-
for (var r in e)
|
|
9
|
+
for (var r in e) ot(n, r, {
|
|
11
10
|
get: e[r],
|
|
12
11
|
enumerable: !0
|
|
13
12
|
});
|
|
14
|
-
return t ||
|
|
15
|
-
},
|
|
13
|
+
return t || ot(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
14
|
+
}, ct = { class: /* @__PURE__ */ N({ bodyClass: !0 }) }, lt = /* @__PURE__ */ A({
|
|
16
15
|
__name: "index",
|
|
17
16
|
props: {
|
|
18
17
|
title: {},
|
|
@@ -21,94 +20,94 @@ var K = Object.defineProperty, _e = (e, t) => {
|
|
|
21
20
|
icon: {}
|
|
22
21
|
},
|
|
23
22
|
setup(e) {
|
|
24
|
-
let t =
|
|
23
|
+
let t = S(() => ({
|
|
25
24
|
display: "flex",
|
|
26
25
|
alignItems: "center",
|
|
27
26
|
gap: "4px",
|
|
28
27
|
borderBottom: e.hideBorder ? "1px solid #e5e7eb" : "none"
|
|
29
28
|
}));
|
|
30
29
|
return (n, r) => {
|
|
31
|
-
let i =
|
|
32
|
-
return
|
|
30
|
+
let i = B("el-icon"), a = B("el-card");
|
|
31
|
+
return F(), C(a, M(n.$attrs, { class: {
|
|
33
32
|
"ui-card": !0,
|
|
34
33
|
hideBorder: e.hideBorder
|
|
35
|
-
} }),
|
|
36
|
-
default:
|
|
34
|
+
} }), Re({
|
|
35
|
+
default: K(() => [E("div", ct, [z(n.$slots, "default", {}, void 0, !0)])]),
|
|
37
36
|
_: 2
|
|
38
37
|
}, [e.title && e.title?.length > 0 ? {
|
|
39
38
|
name: "header",
|
|
40
|
-
fn:
|
|
41
|
-
default:
|
|
39
|
+
fn: K(() => [E("div", { style: P(t.value) }, [e.icon ? (F(), C(i, { key: 0 }, {
|
|
40
|
+
default: K(() => [(F(), C(V(e.icon), { color: "#2563eb" }))]),
|
|
42
41
|
_: 1
|
|
43
|
-
})) :
|
|
42
|
+
})) : w("", !0), r[0] || (We(-1, !0), (r[0] = E("h4", null, [O(H(e.title), 1)])).cacheIndex = 0, We(1), r[0])], 4)]),
|
|
44
43
|
key: "0"
|
|
45
44
|
} : void 0]), 1040, ["class"]);
|
|
46
45
|
};
|
|
47
46
|
}
|
|
48
|
-
}),
|
|
47
|
+
}), J = (e, t) => {
|
|
49
48
|
let n = e.__vccOpts || e;
|
|
50
49
|
for (let [e, r] of t) n[e] = r;
|
|
51
50
|
return n;
|
|
52
|
-
},
|
|
51
|
+
}, ut = /* @__PURE__ */ J(lt, [["__scopeId", "data-v-ae248017"]]);
|
|
53
52
|
//#endregion
|
|
54
53
|
//#region src/components/utils/render.ts
|
|
55
|
-
function
|
|
56
|
-
return
|
|
54
|
+
function dt(e) {
|
|
55
|
+
return j("template", { style: {
|
|
57
56
|
display: "flex",
|
|
58
57
|
flexDirection: "row",
|
|
59
58
|
flexWrap: "wrap"
|
|
60
59
|
} }, (Array.isArray(e) ? e : [e]).map((e) => {
|
|
61
|
-
let { text:
|
|
62
|
-
return
|
|
60
|
+
let { text: n, ...r } = e;
|
|
61
|
+
return j(t, {
|
|
63
62
|
...r,
|
|
64
63
|
link: !0,
|
|
65
64
|
size: "small",
|
|
66
65
|
type: e.type || "default"
|
|
67
|
-
}, () =>
|
|
66
|
+
}, () => n);
|
|
68
67
|
}));
|
|
69
68
|
}
|
|
70
|
-
function
|
|
71
|
-
return Array.isArray(e) ?
|
|
69
|
+
function ft(e) {
|
|
70
|
+
return Array.isArray(e) ? j("div", { style: {
|
|
72
71
|
display: "flex",
|
|
73
72
|
gap: "8px",
|
|
74
73
|
flexDirection: "row",
|
|
75
74
|
flexWrap: "wrap"
|
|
76
|
-
} }, e.map((e) =>
|
|
75
|
+
} }, e.map((e) => j(_, {
|
|
77
76
|
...e,
|
|
78
77
|
type: e.type || "primary"
|
|
79
|
-
},
|
|
78
|
+
}, j(b, {
|
|
80
79
|
lineClamp: e?.lineClamp,
|
|
81
80
|
type: e.type || "primary"
|
|
82
|
-
}, () => e.prop)))) :
|
|
81
|
+
}, () => e.prop)))) : j(_, {
|
|
83
82
|
...e,
|
|
84
83
|
type: e.type || "primary"
|
|
85
|
-
},
|
|
84
|
+
}, j(b, {
|
|
86
85
|
lineClamp: e?.lineClamp,
|
|
87
86
|
type: e.type || "primary"
|
|
88
87
|
}, () => e.prop));
|
|
89
88
|
}
|
|
90
|
-
function
|
|
91
|
-
return
|
|
89
|
+
function pt(e) {
|
|
90
|
+
return j("div", { style: {
|
|
92
91
|
display: "flex",
|
|
93
92
|
gap: "4px",
|
|
94
93
|
flexDirection: "row",
|
|
95
94
|
flexWrap: "wrap"
|
|
96
|
-
} }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((t) =>
|
|
95
|
+
} }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((t) => j(y, e, () => t)));
|
|
97
96
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
97
|
+
function mt(e) {
|
|
98
|
+
return j(y, { ...e });
|
|
100
99
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
100
|
+
function ht(e) {
|
|
101
|
+
return j(Te, {
|
|
103
102
|
style: { minWidth: "160px" },
|
|
104
103
|
...e,
|
|
105
104
|
placeholder: "请选择",
|
|
106
105
|
filterable: !0
|
|
107
106
|
});
|
|
108
107
|
}
|
|
109
|
-
function
|
|
108
|
+
function gt(e) {
|
|
110
109
|
let t = e?.type === "datetime" ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
111
|
-
return
|
|
110
|
+
return j(s, {
|
|
112
111
|
format: t,
|
|
113
112
|
valueFormat: t,
|
|
114
113
|
startPlaceholder: "开始时间",
|
|
@@ -118,9 +117,9 @@ function Ee(e) {
|
|
|
118
117
|
"onUpdate:modelValue": (t) => e?.onChange?.(t)
|
|
119
118
|
});
|
|
120
119
|
}
|
|
121
|
-
function
|
|
120
|
+
function _t(e) {
|
|
122
121
|
let { start: t = "00:00", end: n = "23:30", ...r } = e;
|
|
123
|
-
return
|
|
122
|
+
return j(Ne, {
|
|
124
123
|
start: t,
|
|
125
124
|
end: n,
|
|
126
125
|
...r,
|
|
@@ -128,15 +127,15 @@ function De(e) {
|
|
|
128
127
|
filterable: !0
|
|
129
128
|
});
|
|
130
129
|
}
|
|
131
|
-
function
|
|
132
|
-
return
|
|
130
|
+
function vt(e) {
|
|
131
|
+
return j(g, {
|
|
133
132
|
...e,
|
|
134
133
|
placeholder: "请输入"
|
|
135
134
|
});
|
|
136
135
|
}
|
|
137
|
-
function
|
|
136
|
+
function yt(e) {
|
|
138
137
|
let { align: t = "left", controlsPosition: n = "right", ...r } = e;
|
|
139
|
-
return
|
|
138
|
+
return j(ne, {
|
|
140
139
|
align: t,
|
|
141
140
|
style: {
|
|
142
141
|
...e?.style || {},
|
|
@@ -147,47 +146,47 @@ function ke(e) {
|
|
|
147
146
|
...r
|
|
148
147
|
});
|
|
149
148
|
}
|
|
150
|
-
function
|
|
149
|
+
function bt(e) {
|
|
151
150
|
let { rows: t = 1, ...n } = e;
|
|
152
|
-
return
|
|
151
|
+
return j(g, {
|
|
153
152
|
placeholder: "请输入",
|
|
154
153
|
rows: t,
|
|
155
154
|
...n,
|
|
156
155
|
type: "textarea"
|
|
157
156
|
});
|
|
158
157
|
}
|
|
159
|
-
function
|
|
160
|
-
return
|
|
158
|
+
function xt(e) {
|
|
159
|
+
return j(ie, {
|
|
161
160
|
placeholder: "请输入",
|
|
162
161
|
...e,
|
|
163
162
|
clearable: !1
|
|
164
163
|
});
|
|
165
164
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
165
|
+
function St(e) {
|
|
166
|
+
return j($, e);
|
|
168
167
|
}
|
|
169
|
-
function
|
|
170
|
-
return
|
|
168
|
+
function Ct(e) {
|
|
169
|
+
return j(xe, e);
|
|
171
170
|
}
|
|
172
|
-
function
|
|
173
|
-
return
|
|
171
|
+
function wt(e) {
|
|
172
|
+
return j(b, e, () => e.prop);
|
|
174
173
|
}
|
|
175
|
-
var
|
|
176
|
-
button:
|
|
177
|
-
link:
|
|
178
|
-
tag:
|
|
179
|
-
switch:
|
|
180
|
-
select:
|
|
181
|
-
datePicker:
|
|
182
|
-
timeSelect:
|
|
183
|
-
input:
|
|
184
|
-
inputNumber:
|
|
185
|
-
textarea:
|
|
186
|
-
inputTag:
|
|
187
|
-
editor:
|
|
188
|
-
radio:
|
|
189
|
-
text:
|
|
190
|
-
},
|
|
174
|
+
var Y = {
|
|
175
|
+
button: dt,
|
|
176
|
+
link: ft,
|
|
177
|
+
tag: pt,
|
|
178
|
+
switch: mt,
|
|
179
|
+
select: ht,
|
|
180
|
+
datePicker: gt,
|
|
181
|
+
timeSelect: _t,
|
|
182
|
+
input: vt,
|
|
183
|
+
inputNumber: yt,
|
|
184
|
+
textarea: bt,
|
|
185
|
+
inputTag: xt,
|
|
186
|
+
editor: St,
|
|
187
|
+
radio: Ct,
|
|
188
|
+
text: wt
|
|
189
|
+
}, Tt = /* @__PURE__ */ A({
|
|
191
190
|
name: "UiColumn",
|
|
192
191
|
__name: "UiColumn",
|
|
193
192
|
props: {
|
|
@@ -202,7 +201,7 @@ var J = {
|
|
|
202
201
|
let n = t, r = e;
|
|
203
202
|
function i(e, t, r) {
|
|
204
203
|
let i = {};
|
|
205
|
-
Object.keys(
|
|
204
|
+
Object.keys(Y).forEach((a) => {
|
|
206
205
|
let o = a;
|
|
207
206
|
i[o] = (i) => {
|
|
208
207
|
let a = Array.isArray(i) ? i : {
|
|
@@ -214,7 +213,7 @@ var J = {
|
|
|
214
213
|
onChange: i?.onChange || ((e) => n("update:data", t, r.prop, e)),
|
|
215
214
|
onInput: i?.onInput || ((e) => n("update:data", t, r.prop, e))
|
|
216
215
|
};
|
|
217
|
-
return
|
|
216
|
+
return Y[o](a);
|
|
218
217
|
};
|
|
219
218
|
});
|
|
220
219
|
let a = r.render ? r.render({
|
|
@@ -223,16 +222,16 @@ var J = {
|
|
|
223
222
|
h: i,
|
|
224
223
|
column: r
|
|
225
224
|
}) : null;
|
|
226
|
-
return a ? typeof a == "object" ? a :
|
|
225
|
+
return a ? typeof a == "object" ? a : j("div", { innerHTML: String(a) }) : null;
|
|
227
226
|
}
|
|
228
227
|
return (t, n) => {
|
|
229
|
-
let a =
|
|
230
|
-
return e.column?.children && e.column?.children?.length > 0 ? (
|
|
228
|
+
let a = B("UiColumn", !0), o = B("el-table-column"), s = B("el-text");
|
|
229
|
+
return e.column?.children && e.column?.children?.length > 0 ? (F(), C(o, {
|
|
231
230
|
key: 0,
|
|
232
231
|
label: e.column.label,
|
|
233
232
|
align: r.align
|
|
234
233
|
}, {
|
|
235
|
-
default:
|
|
234
|
+
default: K(() => [(F(!0), T(x, null, R(e.column.children, (e) => (F(), C(a, M({
|
|
236
235
|
column: e,
|
|
237
236
|
data: r.data
|
|
238
237
|
}, { ref_for: !0 }, t.$attrs, { align: r.align }), null, 16, [
|
|
@@ -241,7 +240,7 @@ var J = {
|
|
|
241
240
|
"align"
|
|
242
241
|
]))), 256))]),
|
|
243
242
|
_: 1
|
|
244
|
-
}, 8, ["label", "align"])) : (
|
|
243
|
+
}, 8, ["label", "align"])) : (F(), C(o, {
|
|
245
244
|
key: 1,
|
|
246
245
|
prop: String(e.column.prop),
|
|
247
246
|
label: e.column.label,
|
|
@@ -250,17 +249,17 @@ var J = {
|
|
|
250
249
|
width: e.column.width,
|
|
251
250
|
"show-overflow-tooltip": e.column.showOverflowTooltip
|
|
252
251
|
}, {
|
|
253
|
-
default:
|
|
252
|
+
default: K((t) => [t?.row ? (F(), T(x, { key: 0 }, [e.column.render ? (F(), C(V(i(t.row, t.$index, e.column)), {
|
|
254
253
|
key: 0,
|
|
255
254
|
align: r.align,
|
|
256
255
|
size: r.size
|
|
257
|
-
}, null, 8, ["align", "size"])) : (
|
|
256
|
+
}, null, 8, ["align", "size"])) : (F(), C(s, {
|
|
258
257
|
key: 1,
|
|
259
258
|
"line-clamp": e.column?.lineClamp || 2
|
|
260
259
|
}, {
|
|
261
|
-
default:
|
|
260
|
+
default: K(() => [O(H(t.row[e.column.prop]), 1)]),
|
|
262
261
|
_: 2
|
|
263
|
-
}, 1032, ["line-clamp"]))], 64)) :
|
|
262
|
+
}, 1032, ["line-clamp"]))], 64)) : w("", !0)]),
|
|
264
263
|
_: 1
|
|
265
264
|
}, 8, [
|
|
266
265
|
"prop",
|
|
@@ -272,7 +271,7 @@ var J = {
|
|
|
272
271
|
]));
|
|
273
272
|
};
|
|
274
273
|
}
|
|
275
|
-
}),
|
|
274
|
+
}), Et = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
276
275
|
__name: "index",
|
|
277
276
|
props: {
|
|
278
277
|
loading: {
|
|
@@ -284,14 +283,14 @@ var J = {
|
|
|
284
283
|
default: !1
|
|
285
284
|
},
|
|
286
285
|
size: { default: "default" },
|
|
287
|
-
data: { default: () =>
|
|
286
|
+
data: { default: () => I([]) },
|
|
288
287
|
columns: {},
|
|
289
288
|
align: { default: "left" },
|
|
290
289
|
hidePagination: {
|
|
291
290
|
type: Boolean,
|
|
292
291
|
default: !1
|
|
293
292
|
},
|
|
294
|
-
pagination: { default: () =>
|
|
293
|
+
pagination: { default: () => I({
|
|
295
294
|
page: 1,
|
|
296
295
|
pageSize: 10,
|
|
297
296
|
total: 0,
|
|
@@ -309,7 +308,7 @@ var J = {
|
|
|
309
308
|
},
|
|
310
309
|
emits: ["pagination"],
|
|
311
310
|
setup(e, { emit: t }) {
|
|
312
|
-
let n = t, r =
|
|
311
|
+
let n = t, r = D(e, [
|
|
313
312
|
"loading",
|
|
314
313
|
"border",
|
|
315
314
|
"align",
|
|
@@ -317,16 +316,16 @@ var J = {
|
|
|
317
316
|
"pagination",
|
|
318
317
|
"data",
|
|
319
318
|
"size"
|
|
320
|
-
]), i =
|
|
321
|
-
|
|
322
|
-
!e?.length || !t?.length ||
|
|
319
|
+
]), i = L(), a = S(() => U(r.columns)?.some((e) => e.type === "index")), o = S(() => U(r.columns)?.some((e) => e.type === "selection")), s = S(() => !r.columns || !r.columns.length ? [] : r.columns.filter((e) => e.type !== "index" && e.type !== "selection"));
|
|
320
|
+
G(() => [r.defaultCheckedKeys, e.data], ([e, t]) => {
|
|
321
|
+
!e?.length || !t?.length || Be(() => {
|
|
323
322
|
if (!i.value) return;
|
|
324
323
|
let n = t.filter((t) => e.includes(t.id));
|
|
325
324
|
i.value.clearSelection(), n.forEach((e) => i.value?.toggleRowSelection(e, !0));
|
|
326
325
|
});
|
|
327
326
|
}, { immediate: !0 });
|
|
328
327
|
function c(t, r) {
|
|
329
|
-
e.pagination.page = t || e.pagination.page, e.pagination.pageSize = r || e.pagination.pageSize, n("pagination",
|
|
328
|
+
e.pagination.page = t || e.pagination.page, e.pagination.pageSize = r || e.pagination.pageSize, n("pagination", U(e.pagination));
|
|
330
329
|
}
|
|
331
330
|
function l(t, n, r) {
|
|
332
331
|
e.data[t] && (e.data[t] = {
|
|
@@ -335,9 +334,9 @@ var J = {
|
|
|
335
334
|
});
|
|
336
335
|
}
|
|
337
336
|
return (t, n) => {
|
|
338
|
-
let u =
|
|
339
|
-
return
|
|
340
|
-
|
|
337
|
+
let u = B("el-table-column"), d = B("el-table"), f = B("el-pagination"), p = Ue("loading");
|
|
338
|
+
return F(), T("div", null, [
|
|
339
|
+
q((F(), C(d, M({ border: e.border }, t.$attrs, {
|
|
341
340
|
data: e.data,
|
|
342
341
|
lazy: !0,
|
|
343
342
|
class: "ui-table",
|
|
@@ -345,16 +344,16 @@ var J = {
|
|
|
345
344
|
ref_key: "tableRef",
|
|
346
345
|
ref: i
|
|
347
346
|
}), {
|
|
348
|
-
default:
|
|
349
|
-
o.value ? (
|
|
347
|
+
default: K(() => [
|
|
348
|
+
o.value ? (F(), C(u, {
|
|
350
349
|
key: 0,
|
|
351
350
|
type: "selection",
|
|
352
351
|
selectable: r.selectable,
|
|
353
352
|
"column-key": "selection_0",
|
|
354
353
|
align: e.align,
|
|
355
354
|
fixed: "left"
|
|
356
|
-
}, null, 8, ["selectable", "align"])) :
|
|
357
|
-
a.value ? (
|
|
355
|
+
}, null, 8, ["selectable", "align"])) : w("", !0),
|
|
356
|
+
a.value ? (F(), C(u, {
|
|
358
357
|
key: 1,
|
|
359
358
|
fixed: "left",
|
|
360
359
|
type: "index",
|
|
@@ -362,8 +361,8 @@ var J = {
|
|
|
362
361
|
width: "60",
|
|
363
362
|
"column-key": "index_1",
|
|
364
363
|
align: e.align
|
|
365
|
-
}, null, 8, ["align"])) :
|
|
366
|
-
(
|
|
364
|
+
}, null, 8, ["align"])) : w("", !0),
|
|
365
|
+
(F(!0), T(x, null, R(s.value, (t, n) => (F(), C(Tt, {
|
|
367
366
|
key: n + "column_" + t?.prop?.toString(),
|
|
368
367
|
column: t,
|
|
369
368
|
data: e.data,
|
|
@@ -379,7 +378,7 @@ var J = {
|
|
|
379
378
|
]),
|
|
380
379
|
_: 1
|
|
381
380
|
}, 16, ["border", "data"])), [[p, e.loading]]),
|
|
382
|
-
e.hidePagination ?
|
|
381
|
+
e.hidePagination ? w("", !0) : (F(), C(f, {
|
|
383
382
|
key: 0,
|
|
384
383
|
class: "ui-pagination",
|
|
385
384
|
size: "small",
|
|
@@ -403,14 +402,14 @@ var J = {
|
|
|
403
402
|
"current-page",
|
|
404
403
|
"total"
|
|
405
404
|
])),
|
|
406
|
-
|
|
405
|
+
z(t.$slots, "default", {}, void 0, !0)
|
|
407
406
|
]);
|
|
408
407
|
};
|
|
409
408
|
}
|
|
410
409
|
}), [["__scopeId", "data-v-3402edfe"]]);
|
|
411
410
|
//#endregion
|
|
412
411
|
//#region src/components/utils/tools.ts
|
|
413
|
-
function
|
|
412
|
+
function Dt(e) {
|
|
414
413
|
return typeof e == "number" ? e + "px" : e || "100px";
|
|
415
414
|
}
|
|
416
415
|
function X(e) {
|
|
@@ -418,7 +417,7 @@ function X(e) {
|
|
|
418
417
|
}
|
|
419
418
|
function Z(e, t) {
|
|
420
419
|
let n = {};
|
|
421
|
-
return Object.keys(
|
|
420
|
+
return Object.keys(Y).forEach((r) => {
|
|
422
421
|
let i = r;
|
|
423
422
|
n[i] = (n = {}) => ({
|
|
424
423
|
props: {
|
|
@@ -428,7 +427,7 @@ function Z(e, t) {
|
|
|
428
427
|
onChange: (r) => n.onChange?.(r) || (t[e.prop] = r)
|
|
429
428
|
},
|
|
430
429
|
type: i,
|
|
431
|
-
component:
|
|
430
|
+
component: Y[i]
|
|
432
431
|
});
|
|
433
432
|
}), ((n) => typeof e.render == "function" ? e.render({
|
|
434
433
|
h: n,
|
|
@@ -441,7 +440,7 @@ function Q(e, t) {
|
|
|
441
440
|
}
|
|
442
441
|
//#endregion
|
|
443
442
|
//#region src/components/Filter/index.vue?vue&type=script&setup=true&lang.ts
|
|
444
|
-
var
|
|
443
|
+
var Ot = { class: "filter-buttons" }, kt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
445
444
|
name: "UiDefaultFilter",
|
|
446
445
|
__name: "index",
|
|
447
446
|
props: {
|
|
@@ -463,7 +462,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
463
462
|
"search"
|
|
464
463
|
],
|
|
465
464
|
setup(e, { emit: t }) {
|
|
466
|
-
let n = t, r =
|
|
465
|
+
let n = t, r = D(e, [
|
|
467
466
|
"fields",
|
|
468
467
|
"labelWidth",
|
|
469
468
|
"valueWidth",
|
|
@@ -471,11 +470,11 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
471
470
|
"column",
|
|
472
471
|
"size",
|
|
473
472
|
"filterFixedValues"
|
|
474
|
-
]), i =
|
|
473
|
+
]), i = I({
|
|
475
474
|
expandNum: 0,
|
|
476
475
|
expand: !1
|
|
477
|
-
}), a =
|
|
478
|
-
|
|
476
|
+
}), a = I({}), o = S(() => e.fields.slice(0, i.expand ? e.fields.length : i.expandNum)), s = S(() => 24 - o.value?.reduce((t, n) => t + (n.span || 24 / e.column), 0) % 24 - 24 / e.column);
|
|
477
|
+
Ve(() => {
|
|
479
478
|
i.expandNum = r?.expandNum ?? 2 * e.column - 1, e.fields.forEach((e) => {
|
|
480
479
|
let t = Z(e, a)?.props?.defaultValue;
|
|
481
480
|
t !== void 0 && (a[e.prop] = t);
|
|
@@ -485,7 +484,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
485
484
|
let t = {};
|
|
486
485
|
Object.keys(a).forEach((e) => {
|
|
487
486
|
if (a[e] !== void 0) {
|
|
488
|
-
let n =
|
|
487
|
+
let n = U(a[e]);
|
|
489
488
|
t[e] = typeof n == "string" ? n.trim() : n;
|
|
490
489
|
}
|
|
491
490
|
}), n("submit", {
|
|
@@ -502,38 +501,38 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
502
501
|
}), n("reset", a);
|
|
503
502
|
}
|
|
504
503
|
return (t, n) => {
|
|
505
|
-
let r =
|
|
506
|
-
return
|
|
504
|
+
let r = B("el-input"), u = B("el-form-item"), d = B("el-col"), f = B("el-button"), p = B("el-row"), m = B("el-form");
|
|
505
|
+
return F(), C(m, M({
|
|
507
506
|
model: a,
|
|
508
507
|
class: "ui-filter",
|
|
509
508
|
size: e.size
|
|
510
509
|
}, t.$attrs), {
|
|
511
|
-
default:
|
|
512
|
-
default:
|
|
513
|
-
default:
|
|
510
|
+
default: K(() => [k(p, { gutter: 20 }, {
|
|
511
|
+
default: K(() => [(F(!0), T(x, null, R(o.value, (t) => (F(), C(d, { span: t.span || 24 / e.column }, {
|
|
512
|
+
default: K(() => [(F(), C(u, {
|
|
514
513
|
key: t.prop,
|
|
515
514
|
label: t.label,
|
|
516
|
-
"label-width":
|
|
517
|
-
"value-width":
|
|
515
|
+
"label-width": W(Dt)(t?.labelWidth || e.labelWidth),
|
|
516
|
+
"value-width": W(X)(t?.valueWidth || e.valueWidth)
|
|
518
517
|
}, {
|
|
519
|
-
default:
|
|
518
|
+
default: K(() => [t.render ? (F(), C(V(W(Z)(t, a).component), M({
|
|
520
519
|
key: 0,
|
|
521
520
|
modelValue: a[t.prop],
|
|
522
521
|
"onUpdate:modelValue": (e) => a[t.prop] = e
|
|
523
|
-
}, { ref_for: !0 },
|
|
522
|
+
}, { ref_for: !0 }, W(Z)(t, a).props, {
|
|
524
523
|
clearable: !0,
|
|
525
|
-
style: { width:
|
|
524
|
+
style: { width: W(X)(t?.valueWidth || e.valueWidth) }
|
|
526
525
|
}), null, 16, [
|
|
527
526
|
"modelValue",
|
|
528
527
|
"onUpdate:modelValue",
|
|
529
528
|
"style"
|
|
530
|
-
])) : (
|
|
529
|
+
])) : (F(), C(r, {
|
|
531
530
|
key: 1,
|
|
532
531
|
modelValue: a[t.prop],
|
|
533
532
|
"onUpdate:modelValue": (e) => a[t.prop] = e,
|
|
534
533
|
placeholder: "请输入",
|
|
535
534
|
clearable: !0,
|
|
536
|
-
style:
|
|
535
|
+
style: P({ width: W(X)(t?.valueWidth || e.valueWidth) })
|
|
537
536
|
}, null, 8, [
|
|
538
537
|
"modelValue",
|
|
539
538
|
"onUpdate:modelValue",
|
|
@@ -546,42 +545,42 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
546
545
|
"value-width"
|
|
547
546
|
]))]),
|
|
548
547
|
_: 2
|
|
549
|
-
}, 1032, ["span"]))), 256)),
|
|
548
|
+
}, 1032, ["span"]))), 256)), k(d, {
|
|
550
549
|
span: 24 / e.column,
|
|
551
550
|
offset: s.value
|
|
552
551
|
}, {
|
|
553
|
-
default:
|
|
552
|
+
default: K(() => [k(u, {
|
|
554
553
|
label: "",
|
|
555
554
|
"label-width": "30px"
|
|
556
555
|
}, {
|
|
557
|
-
default:
|
|
558
|
-
|
|
559
|
-
e.fields.length >= 2 * e.column ? (
|
|
556
|
+
default: K(() => [E("div", Ot, [
|
|
557
|
+
z(t.$slots, "left", { form: a }, void 0, !0),
|
|
558
|
+
e.fields.length >= 2 * e.column ? (F(), C(f, {
|
|
560
559
|
key: 0,
|
|
561
560
|
text: "",
|
|
562
|
-
icon: i.expand ?
|
|
561
|
+
icon: i.expand ? W(Ye) : W(Je),
|
|
563
562
|
onClick: n[0] ||= (e) => i.expand = !i.expand
|
|
564
563
|
}, {
|
|
565
|
-
default:
|
|
564
|
+
default: K(() => [O(H(i.expand ? "收起" : "展开"), 1)]),
|
|
566
565
|
_: 1
|
|
567
|
-
}, 8, ["icon"])) :
|
|
568
|
-
|
|
569
|
-
icon:
|
|
566
|
+
}, 8, ["icon"])) : w("", !0),
|
|
567
|
+
k(f, {
|
|
568
|
+
icon: W(it),
|
|
570
569
|
type: "primary",
|
|
571
570
|
onClick: c
|
|
572
571
|
}, {
|
|
573
|
-
default:
|
|
572
|
+
default: K(() => [...n[1] ||= [O("查询", -1)]]),
|
|
574
573
|
_: 1
|
|
575
574
|
}, 8, ["icon"]),
|
|
576
|
-
|
|
577
|
-
icon:
|
|
575
|
+
k(f, {
|
|
576
|
+
icon: W(rt),
|
|
578
577
|
onClick: l
|
|
579
578
|
}, {
|
|
580
|
-
default:
|
|
579
|
+
default: K(() => [...n[2] ||= [O("重置", -1)]]),
|
|
581
580
|
_: 1
|
|
582
581
|
}, 8, ["icon"]),
|
|
583
|
-
|
|
584
|
-
|
|
582
|
+
z(t.$slots, "handle", { form: a }, void 0, !0),
|
|
583
|
+
z(t.$slots, "right", { form: a }, void 0, !0)
|
|
585
584
|
])]),
|
|
586
585
|
_: 3
|
|
587
586
|
})]),
|
|
@@ -593,16 +592,16 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
593
592
|
}, 16, ["model", "size"]);
|
|
594
593
|
};
|
|
595
594
|
}
|
|
596
|
-
}), [["__scopeId", "data-v-45f0642b"]]),
|
|
595
|
+
}), [["__scopeId", "data-v-45f0642b"]]), At = {
|
|
597
596
|
key: 0,
|
|
598
597
|
style: { display: "inline-block" }
|
|
599
|
-
},
|
|
598
|
+
}, jt = {
|
|
600
599
|
key: 0,
|
|
601
600
|
style: { display: "inline-block" }
|
|
602
|
-
},
|
|
601
|
+
}, Mt = {
|
|
603
602
|
key: 0,
|
|
604
603
|
class: "ui-form-buttons"
|
|
605
|
-
},
|
|
604
|
+
}, Nt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
606
605
|
__name: "index",
|
|
607
606
|
props: {
|
|
608
607
|
fields: {},
|
|
@@ -611,7 +610,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
611
610
|
labelWidth: { default: "100px" },
|
|
612
611
|
labelPosition: { default: "top" },
|
|
613
612
|
omitFields: { default: () => [] },
|
|
614
|
-
rules: { default: () =>
|
|
613
|
+
rules: { default: () => I({}) },
|
|
615
614
|
required: { type: Boolean },
|
|
616
615
|
column: { default: 24 },
|
|
617
616
|
defaultValues: {},
|
|
@@ -621,8 +620,8 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
621
620
|
},
|
|
622
621
|
emits: ["submit", "reset"],
|
|
623
622
|
setup(e, { expose: t, emit: n }) {
|
|
624
|
-
|
|
625
|
-
let r = n, i =
|
|
623
|
+
Ge((e) => ({ ec46e5ec: e.column / 2 }));
|
|
624
|
+
let r = n, i = D(e, [
|
|
626
625
|
"fields",
|
|
627
626
|
"labelWidth",
|
|
628
627
|
"valueWidth",
|
|
@@ -631,8 +630,8 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
631
630
|
"labelPosition",
|
|
632
631
|
"valueModel",
|
|
633
632
|
"column"
|
|
634
|
-
]), a =
|
|
635
|
-
let t =
|
|
633
|
+
]), a = L(0), o = L(), s = I({}), c = S(() => {
|
|
634
|
+
let t = U(s);
|
|
636
635
|
return e.fields.forEach((e) => {
|
|
637
636
|
let n = e.prop ? t?.[e.prop] : void 0, r = Q(e, s)?.props?.defaultValue;
|
|
638
637
|
s[e.prop] = n ?? r ?? void 0, e?.slots && e?.slots?.length > 0 && e.slots.forEach((e) => {
|
|
@@ -640,7 +639,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
640
639
|
s[e.prop] = n ?? r ?? void 0;
|
|
641
640
|
});
|
|
642
641
|
}), e.fields.filter((e) => typeof e.prop == "string");
|
|
643
|
-
}), l =
|
|
642
|
+
}), l = S(() => {
|
|
644
643
|
if (e.rules && Object.keys(e.rules).length) return e.rules;
|
|
645
644
|
let t = {};
|
|
646
645
|
return c.value.forEach((e) => {
|
|
@@ -651,7 +650,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
651
650
|
}]);
|
|
652
651
|
}), t;
|
|
653
652
|
});
|
|
654
|
-
|
|
653
|
+
qe(() => {
|
|
655
654
|
Object.assign(s, i?.form);
|
|
656
655
|
});
|
|
657
656
|
async function u(e) {
|
|
@@ -661,7 +660,7 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
661
660
|
}), !t) return;
|
|
662
661
|
let n = {};
|
|
663
662
|
Object.keys(s).forEach((e) => {
|
|
664
|
-
s[e] !== void 0 && (n[e] =
|
|
663
|
+
s[e] !== void 0 && (n[e] = U(s[e]));
|
|
665
664
|
}), r("submit", n);
|
|
666
665
|
}
|
|
667
666
|
function d() {
|
|
@@ -675,25 +674,25 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
675
674
|
function p() {
|
|
676
675
|
return s;
|
|
677
676
|
}
|
|
678
|
-
function
|
|
677
|
+
function m(e) {
|
|
679
678
|
Object.keys(e).forEach((t) => {
|
|
680
679
|
s[t] = e[t];
|
|
681
680
|
});
|
|
682
681
|
}
|
|
683
|
-
async function
|
|
682
|
+
async function h() {
|
|
684
683
|
return new Promise((e) => {
|
|
685
684
|
o.value?.validate((t, n) => e(n));
|
|
686
685
|
});
|
|
687
686
|
}
|
|
688
687
|
return t({
|
|
689
688
|
getValues: p,
|
|
690
|
-
setValues:
|
|
689
|
+
setValues: m,
|
|
691
690
|
clearValidate: d,
|
|
692
691
|
onSubmit: u,
|
|
693
|
-
validate:
|
|
692
|
+
validate: h
|
|
694
693
|
}), (t, n) => {
|
|
695
|
-
let r =
|
|
696
|
-
return
|
|
694
|
+
let r = B("el-input"), i = B("el-form-item"), d = B("el-form"), p = B("el-button");
|
|
695
|
+
return F(), T(x, null, [k(d, M({
|
|
697
696
|
ref_key: "uiFormRef",
|
|
698
697
|
ref: o,
|
|
699
698
|
model: s
|
|
@@ -707,22 +706,22 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
707
706
|
},
|
|
708
707
|
"validate-on-rule-change": !1
|
|
709
708
|
}), {
|
|
710
|
-
default:
|
|
709
|
+
default: K(() => [(F(!0), T(x, null, R(c.value, (n) => (F(), C(i, {
|
|
711
710
|
key: n.prop,
|
|
712
711
|
label: n.label,
|
|
713
712
|
"label-width": e.labelWidth,
|
|
714
713
|
"value-width": e.valueWidth,
|
|
715
714
|
prop: n.prop,
|
|
716
|
-
style:
|
|
715
|
+
style: P({
|
|
717
716
|
width: `${n?.width ? n?.width + "px" : "100%"}`,
|
|
718
717
|
gridColumn: `span ${(n?.span || e.column) / 2 || 1}`
|
|
719
718
|
})
|
|
720
719
|
}, {
|
|
721
|
-
default:
|
|
720
|
+
default: K(() => [n.render ? (F(), T(x, { key: 0 }, [W(Q)(n, s).component ? (F(), C(V(W(Q)(n, s).component), M({
|
|
722
721
|
key: 1,
|
|
723
722
|
modelValue: s[n.prop],
|
|
724
723
|
"onUpdate:modelValue": (e) => s[n.prop] = e
|
|
725
|
-
}, { ref_for: !0 },
|
|
724
|
+
}, { ref_for: !0 }, W(Q)(n, s).props, {
|
|
726
725
|
clearable: !0,
|
|
727
726
|
key: `${n.prop}-${a.value}`,
|
|
728
727
|
style: { display: "inline-block" },
|
|
@@ -731,13 +730,13 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
731
730
|
"modelValue",
|
|
732
731
|
"onUpdate:modelValue",
|
|
733
732
|
"class"
|
|
734
|
-
])) : (
|
|
733
|
+
])) : (F(), T("span", At, H(W(Q)(n, s) || "-"), 1)), (F(!0), T(x, null, R(n.slots, (n) => z(t.$slots, "default", { form: s }, () => [W(Q)(n, s).component ? (F(), C(V(W(Q)(n, s).component), M({
|
|
735
734
|
key: 1,
|
|
736
735
|
modelValue: s[n.prop],
|
|
737
736
|
"onUpdate:modelValue": (e) => s[n.prop] = e,
|
|
738
737
|
"default-value": n.defaultValue,
|
|
739
738
|
placeholder: n.placeholder
|
|
740
|
-
}, { ref_for: !0 },
|
|
739
|
+
}, { ref_for: !0 }, W(Q)(n, s).props, {
|
|
741
740
|
style: {
|
|
742
741
|
display: "inline-block",
|
|
743
742
|
marginLeft: "10px",
|
|
@@ -753,13 +752,13 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
753
752
|
"placeholder",
|
|
754
753
|
"style",
|
|
755
754
|
"class"
|
|
756
|
-
])) : (
|
|
755
|
+
])) : (F(), T("span", jt, H(W(Q)(n, s) || "-"), 1))], !0)), 256))], 64)) : (F(), C(r, {
|
|
757
756
|
key: 1,
|
|
758
757
|
modelValue: s[n.prop],
|
|
759
758
|
"onUpdate:modelValue": (e) => s[n.prop] = e,
|
|
760
759
|
placeholder: "请输入",
|
|
761
760
|
clearable: !0,
|
|
762
|
-
class:
|
|
761
|
+
class: N({ underline: e.valueModel === "underline" })
|
|
763
762
|
}, null, 8, [
|
|
764
763
|
"modelValue",
|
|
765
764
|
"onUpdate:modelValue",
|
|
@@ -780,31 +779,31 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
780
779
|
"inline",
|
|
781
780
|
"label-position",
|
|
782
781
|
"class"
|
|
783
|
-
]), t.$attrs?.hideHandle ?
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
icon:
|
|
782
|
+
]), t.$attrs?.hideHandle ? w("", !0) : (F(), T("div", Mt, [
|
|
783
|
+
z(t.$slots, "handle", { form: s }, void 0, !0),
|
|
784
|
+
k(p, {
|
|
785
|
+
icon: W(rt),
|
|
787
786
|
onClick: n[0] ||= (e) => o.value && f(),
|
|
788
787
|
size: t.$props.size
|
|
789
788
|
}, {
|
|
790
|
-
default:
|
|
789
|
+
default: K(() => [...n[2] ||= [O("重置", -1)]]),
|
|
791
790
|
_: 1
|
|
792
791
|
}, 8, ["icon", "size"]),
|
|
793
|
-
|
|
794
|
-
icon:
|
|
792
|
+
k(p, {
|
|
793
|
+
icon: W(nt),
|
|
795
794
|
type: "primary",
|
|
796
795
|
onClick: n[1] ||= (e) => o.value && u(o.value),
|
|
797
796
|
size: t.$props.size
|
|
798
797
|
}, {
|
|
799
|
-
default:
|
|
798
|
+
default: K(() => [...n[3] ||= [O("提交", -1)]]),
|
|
800
799
|
_: 1
|
|
801
800
|
}, 8, ["icon", "size"])
|
|
802
801
|
]))], 64);
|
|
803
802
|
};
|
|
804
803
|
}
|
|
805
|
-
}), [["__scopeId", "data-v-f8f2a1f5"]]),
|
|
804
|
+
}), [["__scopeId", "data-v-f8f2a1f5"]]), Pt = ["disabled"], $ = /* @__PURE__ */ A({
|
|
806
805
|
__name: "index",
|
|
807
|
-
props: /* @__PURE__ */
|
|
806
|
+
props: /* @__PURE__ */ ze({
|
|
808
807
|
defaultValue: { default: "" },
|
|
809
808
|
disabled: {
|
|
810
809
|
type: Boolean,
|
|
@@ -817,11 +816,11 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
817
816
|
},
|
|
818
817
|
modelModifiers: {}
|
|
819
818
|
}),
|
|
820
|
-
emits: /* @__PURE__ */
|
|
819
|
+
emits: /* @__PURE__ */ ze(["change"], ["update:modelValue"]),
|
|
821
820
|
setup(e, { emit: t }) {
|
|
822
|
-
let n =
|
|
823
|
-
return
|
|
824
|
-
a = new
|
|
821
|
+
let n = L(), r = Ke(e, "modelValue"), i = L(r.value || e.defaultValue || ""), a = null, o = t;
|
|
822
|
+
return Ve(() => {
|
|
823
|
+
a = new at({
|
|
825
824
|
element: n.value,
|
|
826
825
|
placeholder: "点击输入内容...",
|
|
827
826
|
content: r.value || e.defaultValue || "",
|
|
@@ -831,18 +830,18 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
831
830
|
r.value = t, i.value = t, o("change", t);
|
|
832
831
|
}
|
|
833
832
|
}), a.setEditable(!e.disabled);
|
|
834
|
-
}),
|
|
833
|
+
}), G(r, (e) => {
|
|
835
834
|
a && e !== a.getHtml() && a.setContent(e);
|
|
836
|
-
}),
|
|
835
|
+
}), He(() => {
|
|
837
836
|
a && a.destroy();
|
|
838
|
-
}), (t, r) => (
|
|
837
|
+
}), (t, r) => (F(), T("div", {
|
|
839
838
|
ref_key: "editorRef",
|
|
840
839
|
ref: n,
|
|
841
840
|
style: { height: "500px" },
|
|
842
841
|
disabled: e.disabled
|
|
843
|
-
}, null, 8,
|
|
842
|
+
}, null, 8, Pt));
|
|
844
843
|
}
|
|
845
|
-
}),
|
|
844
|
+
}), Ft = { class: "ui-tree-wrapper" }, It = {
|
|
846
845
|
key: 0,
|
|
847
846
|
style: {
|
|
848
847
|
display: "flex",
|
|
@@ -851,14 +850,14 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
851
850
|
"align-items": "center",
|
|
852
851
|
gap: "10px"
|
|
853
852
|
}
|
|
854
|
-
},
|
|
853
|
+
}, Lt = {
|
|
855
854
|
key: 0,
|
|
856
855
|
class: "custom-tree-node"
|
|
857
|
-
},
|
|
856
|
+
}, Rt = { class: "node-label" }, zt = { style: {
|
|
858
857
|
color: "#ef4444",
|
|
859
858
|
display: "flex",
|
|
860
859
|
"align-items": "center"
|
|
861
|
-
} },
|
|
860
|
+
} }, Bt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
862
861
|
__name: "index",
|
|
863
862
|
props: {
|
|
864
863
|
id: {},
|
|
@@ -875,13 +874,13 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
875
874
|
},
|
|
876
875
|
emits: ["change"],
|
|
877
876
|
setup(e, { emit: t }) {
|
|
878
|
-
let n =
|
|
877
|
+
let n = D(e, [
|
|
879
878
|
"filterable",
|
|
880
879
|
"placeholder",
|
|
881
880
|
"data",
|
|
882
881
|
"props"
|
|
883
|
-
]), r =
|
|
884
|
-
|
|
882
|
+
]), r = L(""), i = L(), a = L(null);
|
|
883
|
+
G(r, (t) => {
|
|
885
884
|
e.filterable && a.value.filter(t);
|
|
886
885
|
});
|
|
887
886
|
function o(t, n) {
|
|
@@ -890,8 +889,8 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
890
889
|
function s(e, t) {
|
|
891
890
|
e?.stopPropagation(), i.value = t.id;
|
|
892
891
|
}
|
|
893
|
-
function
|
|
894
|
-
|
|
892
|
+
function c() {
|
|
893
|
+
v.prompt("请输入新的名称", "添加节点", {
|
|
895
894
|
confirmButtonText: "确定",
|
|
896
895
|
cancelButtonText: "取消",
|
|
897
896
|
callback: async (e) => {
|
|
@@ -902,8 +901,8 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
902
901
|
}
|
|
903
902
|
});
|
|
904
903
|
}
|
|
905
|
-
function
|
|
906
|
-
|
|
904
|
+
function l(e) {
|
|
905
|
+
v.prompt("请输入新的名称", "重命名", {
|
|
907
906
|
confirmButtonText: "确定",
|
|
908
907
|
cancelButtonText: "取消",
|
|
909
908
|
inputValue: e.label
|
|
@@ -911,18 +910,18 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
911
910
|
console.log("修改节点 =》》", e);
|
|
912
911
|
});
|
|
913
912
|
}
|
|
914
|
-
async function
|
|
913
|
+
async function u(e) {
|
|
915
914
|
e.id && console.log("删除节点 =》》", e.id);
|
|
916
915
|
}
|
|
917
916
|
return (t, i) => {
|
|
918
|
-
let
|
|
919
|
-
return
|
|
920
|
-
e.filterable ? (
|
|
917
|
+
let d = B("el-input"), f = B("el-icon"), p = B("el-button"), m = B("el-dropdown-item"), h = B("el-dropdown-menu"), ee = B("el-dropdown"), g = B("el-tree-v2");
|
|
918
|
+
return F(), T("div", Ft, [
|
|
919
|
+
e.filterable ? (F(), T("div", It, [k(d, {
|
|
921
920
|
modelValue: r.value,
|
|
922
921
|
"onUpdate:modelValue": i[0] ||= (e) => r.value = e,
|
|
923
922
|
placeholder: e.placeholder ?? "请输入",
|
|
924
923
|
clearable: ""
|
|
925
|
-
}, null, 8, ["modelValue", "placeholder"]), n?.hidePlusHandle ?
|
|
924
|
+
}, null, 8, ["modelValue", "placeholder"]), n?.hidePlusHandle ? w("", !0) : (F(), C(p, {
|
|
926
925
|
key: 0,
|
|
927
926
|
style: {
|
|
928
927
|
margin: "0px",
|
|
@@ -930,14 +929,14 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
930
929
|
},
|
|
931
930
|
link: ""
|
|
932
931
|
}, {
|
|
933
|
-
default:
|
|
934
|
-
default:
|
|
932
|
+
default: K(() => [k(f, { size: 22 }, {
|
|
933
|
+
default: K(() => [k(W(Xe), { onClick: i[1] ||= (e) => c() })]),
|
|
935
934
|
_: 1
|
|
936
935
|
})]),
|
|
937
936
|
_: 1
|
|
938
|
-
}))])) :
|
|
939
|
-
|
|
940
|
-
|
|
937
|
+
}))])) : w("", !0),
|
|
938
|
+
z(t.$slots, "handle", { style: "margin-top: 8px" }, void 0, !0),
|
|
939
|
+
k(g, M({
|
|
941
940
|
ref_key: "treeRef",
|
|
942
941
|
ref: a,
|
|
943
942
|
style: { "margin-top": "8px" }
|
|
@@ -949,70 +948,70 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
949
948
|
"highlight-current": !0,
|
|
950
949
|
"filter-method": o
|
|
951
950
|
}), {
|
|
952
|
-
default:
|
|
953
|
-
default:
|
|
951
|
+
default: K((r) => [r?.data ? (F(), T("div", Lt, [E("div", Rt, [r.data?.children?.length ? (F(), C(f, { key: 0 }, {
|
|
952
|
+
default: K(() => [k(W(et))]),
|
|
954
953
|
_: 1
|
|
955
|
-
})) :
|
|
954
|
+
})) : w("", !0), O(" " + H(r.data?.[e.props?.label || "label"]) + " " + H(r.data?.children?.length ? `(${r.data.children.length})` : ""), 1)]), n.hideNodeHandle ? w("", !0) : (F(), C(ee, {
|
|
956
955
|
key: 0,
|
|
957
956
|
trigger: "click"
|
|
958
957
|
}, {
|
|
959
|
-
dropdown:
|
|
960
|
-
default:
|
|
961
|
-
n?.hideNodeAdd ?
|
|
958
|
+
dropdown: K(() => [k(h, null, {
|
|
959
|
+
default: K(() => [
|
|
960
|
+
n?.hideNodeAdd ? w("", !0) : (F(), C(m, {
|
|
962
961
|
key: 0,
|
|
963
|
-
onClick: i[2] ||= (e) =>
|
|
962
|
+
onClick: i[2] ||= (e) => c()
|
|
964
963
|
}, {
|
|
965
|
-
default:
|
|
966
|
-
default:
|
|
964
|
+
default: K(() => [k(f, null, {
|
|
965
|
+
default: K(() => [k(W(Qe))]),
|
|
967
966
|
_: 1
|
|
968
|
-
}), i[3] ||=
|
|
967
|
+
}), i[3] ||= O("添加 ", -1)]),
|
|
969
968
|
_: 1
|
|
970
969
|
})),
|
|
971
|
-
n?.hideNodeEdit ?
|
|
970
|
+
n?.hideNodeEdit ? w("", !0) : (F(), C(m, {
|
|
972
971
|
key: 1,
|
|
973
|
-
onClick: (e) =>
|
|
972
|
+
onClick: (e) => l(r.data)
|
|
974
973
|
}, {
|
|
975
|
-
default:
|
|
976
|
-
default:
|
|
974
|
+
default: K(() => [k(f, null, {
|
|
975
|
+
default: K(() => [k(W($e))]),
|
|
977
976
|
_: 1
|
|
978
|
-
}), i[4] ||=
|
|
977
|
+
}), i[4] ||= O("编辑 ", -1)]),
|
|
979
978
|
_: 1
|
|
980
979
|
}, 8, ["onClick"])),
|
|
981
|
-
n?.hideNodeDel ?
|
|
980
|
+
n?.hideNodeDel ? w("", !0) : (F(), C(m, {
|
|
982
981
|
key: 2,
|
|
983
|
-
onClick: (e) =>
|
|
982
|
+
onClick: (e) => u(r.data)
|
|
984
983
|
}, {
|
|
985
|
-
default:
|
|
986
|
-
default:
|
|
984
|
+
default: K(() => [E("span", zt, [k(f, null, {
|
|
985
|
+
default: K(() => [k(W(Ze))]),
|
|
987
986
|
_: 1
|
|
988
|
-
}), i[5] ||=
|
|
987
|
+
}), i[5] ||= O("删除 ", -1)])]),
|
|
989
988
|
_: 1
|
|
990
989
|
}, 8, ["onClick"])),
|
|
991
|
-
|
|
990
|
+
z(t.$slots, "node-handle", { data: r.data }, void 0, !0)
|
|
992
991
|
]),
|
|
993
992
|
_: 2
|
|
994
993
|
}, 1024)]),
|
|
995
|
-
default:
|
|
996
|
-
default:
|
|
994
|
+
default: K(() => [k(f, { onClick: (e) => s(e, r.data) }, {
|
|
995
|
+
default: K(() => [k(W(tt))]),
|
|
997
996
|
_: 1
|
|
998
997
|
}, 8, ["onClick"])]),
|
|
999
998
|
_: 2
|
|
1000
|
-
}, 1024))])) :
|
|
999
|
+
}, 1024))])) : w("", !0)]),
|
|
1001
1000
|
_: 3
|
|
1002
1001
|
}, 16, ["node-key"])
|
|
1003
1002
|
]);
|
|
1004
1003
|
};
|
|
1005
1004
|
}
|
|
1006
|
-
}), [["__scopeId", "data-v-4495ddac"]]),
|
|
1005
|
+
}), [["__scopeId", "data-v-4495ddac"]]), Vt = { style: { height: "100%" } }, Ht = { style: {
|
|
1007
1006
|
display: "flex",
|
|
1008
1007
|
"flex-direction": "row",
|
|
1009
1008
|
"justify-content": "space-between",
|
|
1010
1009
|
"align-items": "center",
|
|
1011
1010
|
gap: "10px"
|
|
1012
|
-
} },
|
|
1011
|
+
} }, Ut = { style: { margin: "10px 0px" } }, Wt = ["onClick"], Gt = { key: 0 }, Kt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
1013
1012
|
__name: "index",
|
|
1014
1013
|
props: {
|
|
1015
|
-
loading: { default: () =>
|
|
1014
|
+
loading: { default: () => L(!1) },
|
|
1016
1015
|
data: {},
|
|
1017
1016
|
placeholder: {},
|
|
1018
1017
|
props: {},
|
|
@@ -1021,46 +1020,46 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1021
1020
|
},
|
|
1022
1021
|
emits: ["node-click"],
|
|
1023
1022
|
setup(e, { emit: t }) {
|
|
1024
|
-
let n = t, r =
|
|
1025
|
-
|
|
1023
|
+
let n = t, r = L(""), i = L(), a = S(() => r.value ? e.data.filter((t) => t[e.props?.label || "label"]?.includes(r.value)) : e.data);
|
|
1024
|
+
G(() => [i.value, e.data?.[0]], (t) => {
|
|
1026
1025
|
!t[0] && t[1] && (i.value = e.data?.[0]);
|
|
1027
1026
|
}, { immediate: !0 });
|
|
1028
1027
|
function o(e) {
|
|
1029
1028
|
i.value = e, n("node-click", e);
|
|
1030
1029
|
}
|
|
1031
1030
|
return (t, n) => {
|
|
1032
|
-
let s =
|
|
1033
|
-
return
|
|
1034
|
-
|
|
1031
|
+
let s = B("el-input");
|
|
1032
|
+
return F(), T("div", Vt, [
|
|
1033
|
+
E("div", Ht, [e.filterable ? (F(), C(s, {
|
|
1035
1034
|
key: 0,
|
|
1036
1035
|
modelValue: r.value,
|
|
1037
1036
|
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1038
1037
|
placeholder: e.placeholder ?? "请输入"
|
|
1039
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
1040
|
-
|
|
1041
|
-
|
|
1038
|
+
}, null, 8, ["modelValue", "placeholder"])) : w("", !0), z(t.$slots, "plus", {}, void 0, !0)]),
|
|
1039
|
+
E("div", Ut, [z(t.$slots, "handle", {}, void 0, !0)]),
|
|
1040
|
+
q((F(), T("ul", M({
|
|
1042
1041
|
class: "infinite-list",
|
|
1043
1042
|
"infinite-scroll-immediate": !1
|
|
1044
|
-
}, t.$attrs), [(
|
|
1043
|
+
}, t.$attrs), [(F(!0), T(x, null, R(a.value, (n, r) => (F(), T("li", {
|
|
1045
1044
|
key: "infinite-list-" + r,
|
|
1046
|
-
class:
|
|
1045
|
+
class: N({
|
|
1047
1046
|
"infinite-list-item": !0,
|
|
1048
1047
|
active: n === i.value
|
|
1049
1048
|
}),
|
|
1050
1049
|
onClick: (e) => o(n)
|
|
1051
|
-
}, [
|
|
1052
|
-
e.loading.value ? (
|
|
1050
|
+
}, [E("span", null, H(n[e.props?.label || "label"]), 1), z(t.$slots, "itemHandle", { data: n }, void 0, !0)], 10, Wt))), 128))], 16)), [[W(e.vInfiniteScroll), e.vInfiniteScroll]]),
|
|
1051
|
+
e.loading.value ? (F(), T("p", Gt, "loading...")) : w("", !0)
|
|
1053
1052
|
]);
|
|
1054
1053
|
};
|
|
1055
1054
|
}
|
|
1056
|
-
}), [["__scopeId", "data-v-2180fa82"]]),
|
|
1055
|
+
}), [["__scopeId", "data-v-2180fa82"]]), qt = {
|
|
1057
1056
|
key: 0,
|
|
1058
1057
|
style: {
|
|
1059
1058
|
padding: "10px 0px",
|
|
1060
1059
|
"margin-bottom": "10px",
|
|
1061
1060
|
"border-bottom": "1px solid #e5e5e5"
|
|
1062
1061
|
}
|
|
1063
|
-
},
|
|
1062
|
+
}, Jt = { key: 1 }, Yt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
1064
1063
|
__name: "index",
|
|
1065
1064
|
props: {
|
|
1066
1065
|
data: {},
|
|
@@ -1074,32 +1073,32 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1074
1073
|
labelWidth: {}
|
|
1075
1074
|
},
|
|
1076
1075
|
setup(e) {
|
|
1077
|
-
let t =
|
|
1076
|
+
let t = D(e, [
|
|
1078
1077
|
"title",
|
|
1079
1078
|
"column",
|
|
1080
1079
|
"fields",
|
|
1081
1080
|
"data"
|
|
1082
1081
|
]);
|
|
1083
1082
|
return (n, r) => {
|
|
1084
|
-
let i =
|
|
1085
|
-
return
|
|
1086
|
-
e.title ? (
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
default:
|
|
1083
|
+
let i = B("el-descriptions-item"), a = B("el-descriptions");
|
|
1084
|
+
return F(), T(x, null, [
|
|
1085
|
+
e.title ? (F(), T("h4", qt, H(e.title), 1)) : w("", !0),
|
|
1086
|
+
z(n.$slots, "title", {}, void 0, !0),
|
|
1087
|
+
k(a, M({ column: e.column }, t, { class: "ui-descriptions" }), {
|
|
1088
|
+
default: K(() => [(F(!0), T(x, null, R(e.fields, (t) => (F(), C(i, {
|
|
1090
1089
|
key: t.prop,
|
|
1091
1090
|
label: t.label,
|
|
1092
1091
|
span: t.span || 2
|
|
1093
1092
|
}, {
|
|
1094
|
-
default:
|
|
1093
|
+
default: K(() => [t.render ? (F(), C(V(W(Z)(t, e.data).component), M({
|
|
1095
1094
|
key: 0,
|
|
1096
1095
|
modelValue: e.data[t.prop],
|
|
1097
1096
|
"onUpdate:modelValue": (n) => e.data[t.prop] = n
|
|
1098
|
-
}, { ref_for: !0 },
|
|
1097
|
+
}, { ref_for: !0 }, W(Z)(t, e.data).props, {
|
|
1099
1098
|
clearable: !0,
|
|
1100
1099
|
key: t.prop,
|
|
1101
1100
|
style: { display: "inline-block" }
|
|
1102
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (
|
|
1101
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (F(), T("span", Jt, H(e.data[t.prop] || "-"), 1))]),
|
|
1103
1102
|
_: 2
|
|
1104
1103
|
}, 1032, ["label", "span"]))), 128))]),
|
|
1105
1104
|
_: 1
|
|
@@ -1107,10 +1106,10 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1107
1106
|
], 64);
|
|
1108
1107
|
};
|
|
1109
1108
|
}
|
|
1110
|
-
}), [["__scopeId", "data-v-f02c30f9"]]),
|
|
1109
|
+
}), [["__scopeId", "data-v-f02c30f9"]]), Xt = {
|
|
1111
1110
|
key: 0,
|
|
1112
1111
|
class: "dialog-footer"
|
|
1113
|
-
},
|
|
1112
|
+
}, Zt = /* @__PURE__ */ J(/* @__PURE__ */ A({
|
|
1114
1113
|
__name: "index",
|
|
1115
1114
|
props: {
|
|
1116
1115
|
visible: { type: Boolean },
|
|
@@ -1125,16 +1124,16 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1125
1124
|
"submit"
|
|
1126
1125
|
],
|
|
1127
1126
|
setup(e, { emit: t }) {
|
|
1128
|
-
let n = t, r = e, i =
|
|
1127
|
+
let n = t, r = e, i = L();
|
|
1129
1128
|
function a() {
|
|
1130
1129
|
n("close"), n("update:visible", !1);
|
|
1131
1130
|
}
|
|
1132
1131
|
function o() {
|
|
1133
|
-
n("submit",
|
|
1132
|
+
n("submit", U(i?.value || {})), n("update:visible", !1);
|
|
1134
1133
|
}
|
|
1135
1134
|
return (e, t) => {
|
|
1136
|
-
let n =
|
|
1137
|
-
return
|
|
1135
|
+
let n = B("el-button"), s = B("el-dialog");
|
|
1136
|
+
return F(), C(s, M(e.$attrs, {
|
|
1138
1137
|
"model-value": r.visible,
|
|
1139
1138
|
"show-close": r.disabled,
|
|
1140
1139
|
fullscreen: !r.width,
|
|
@@ -1144,17 +1143,17 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1144
1143
|
"onUpdate:modelValue": t[0] ||= (e) => !e && a(),
|
|
1145
1144
|
onClose: a
|
|
1146
1145
|
}), {
|
|
1147
|
-
default:
|
|
1146
|
+
default: K(() => [(F(), C(V(r.component), M({
|
|
1148
1147
|
ref_key: "slotRef",
|
|
1149
1148
|
ref: i
|
|
1150
|
-
}, r.componentProps), null, 16)), r.disabled ?
|
|
1151
|
-
default:
|
|
1149
|
+
}, r.componentProps), null, 16)), r.disabled ? w("", !0) : (F(), T("div", Xt, [k(n, { onClick: a }, {
|
|
1150
|
+
default: K(() => [...t[1] ||= [O("取消", -1)]]),
|
|
1152
1151
|
_: 1
|
|
1153
|
-
}),
|
|
1152
|
+
}), k(n, {
|
|
1154
1153
|
type: "primary",
|
|
1155
1154
|
onClick: o
|
|
1156
1155
|
}, {
|
|
1157
|
-
default:
|
|
1156
|
+
default: K(() => [...t[2] ||= [O("确定", -1)]]),
|
|
1158
1157
|
_: 1
|
|
1159
1158
|
})]))]),
|
|
1160
1159
|
_: 1
|
|
@@ -1165,20 +1164,20 @@ var Le = { class: "filter-buttons" }, Re = /* @__PURE__ */ q(/* @__PURE__ */ w({
|
|
|
1165
1164
|
]);
|
|
1166
1165
|
};
|
|
1167
1166
|
}
|
|
1168
|
-
}), [["__scopeId", "data-v-fde928bf"]]),
|
|
1169
|
-
UiCard: () =>
|
|
1170
|
-
UiDescriptions: () =>
|
|
1171
|
-
UiDialog: () =>
|
|
1167
|
+
}), [["__scopeId", "data-v-fde928bf"]]), Qt = /* @__PURE__ */ st({
|
|
1168
|
+
UiCard: () => ut,
|
|
1169
|
+
UiDescriptions: () => Yt,
|
|
1170
|
+
UiDialog: () => Zt,
|
|
1172
1171
|
UiEditor: () => $,
|
|
1173
|
-
UiFilter: () =>
|
|
1174
|
-
UiForm: () =>
|
|
1175
|
-
UiInfiniteScroll: () =>
|
|
1176
|
-
UiTable: () =>
|
|
1177
|
-
UiTree: () =>
|
|
1178
|
-
}),
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
for (let [e,
|
|
1172
|
+
UiFilter: () => kt,
|
|
1173
|
+
UiForm: () => Nt,
|
|
1174
|
+
UiInfiniteScroll: () => Kt,
|
|
1175
|
+
UiTable: () => Et,
|
|
1176
|
+
UiTree: () => Bt
|
|
1177
|
+
}), $t = { async install(t) {
|
|
1178
|
+
t.use(v), t.use(le), t.use(fe), Le({ locale: e });
|
|
1179
|
+
let n = await Promise.resolve().then(() => Qt);
|
|
1180
|
+
for (let [e, r] of Object.entries(n)) r && typeof r == "object" && "install" in r ? t.use(r) : r && typeof r == "function" && t.component(e.replace(/^Ui/, "Yc"), r);
|
|
1182
1181
|
} };
|
|
1183
1182
|
//#endregion
|
|
1184
|
-
export {
|
|
1183
|
+
export { i as ElCol, a as ElConfigProvider, o as ElDatePicker, ut as UiCard, Yt as UiDescriptions, Zt as UiDialog, $ as UiEditor, kt as UiFilter, Nt as UiForm, Kt as UiInfiniteScroll, Et as UiTable, Bt as UiTree, n as YcButton, r as YcCard, c as YcDescriptions, l as YcDescriptionsItem, u as YcDialog, d as YcDropdown, f as YcDropdownItem, p as YcDropdownMenu, m as YcForm, h as YcFormItem, ee as YcIcon, te as YcInput, re as YcInputNumber, ae as YcInputTag, oe as YcLink, se as YcMenu, ce as YcMenuItem, ue as YcMessage, de as YcMessageBox, pe as YcNotification, me as YcOption, he as YcOptionGroup, ge as YcPagination, _e as YcPopconfirm, ve as YcPopover, ye as YcRadio, be as YcRadioButton, Se as YcRadioGroup, Ce as YcRow, we as YcScrollbar, Ee as YcSelect, De as YcSubMenu, Oe as YcSwitch, ke as YcTable, Ae as YcTableColumn, je as YcTag, Me as YcText, Pe as YcTimeSelect, Fe as YcTreeV2, Ie as YcUpload, $t as default, $t as ycPlugin };
|