vue-2024-ui 0.0.66 → 0.0.67
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/index.es.js +92 -93
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import wt, { ElForm as We, ElButtonGroup as He, ElButton as ge, ElPopover as Je, ElMessage as _e, ElMessageBox as ct, ElDialog as _t, ElDrawer as kt } from "element-plus";
|
|
2
|
-
import { mergeModels as Oe, useModel as xe, ref as ye, onMounted as Pe, watch as mt, resolveComponent as R, openBlock as s, createElementBlock as B, unref as o, createBlock as S, mergeProps as x, withCtx as g, renderSlot as p, Fragment as Y, renderList as U, createTextVNode as be, toDisplayString as pe, createSlots as fe, createVNode as G, createCommentVNode as ve, normalizeProps as
|
|
2
|
+
import { mergeModels as Oe, useModel as xe, ref as ye, onMounted as Pe, watch as mt, resolveComponent as R, openBlock as s, createElementBlock as B, unref as o, createBlock as S, mergeProps as x, withCtx as g, renderSlot as p, Fragment as Y, renderList as U, createTextVNode as be, toDisplayString as pe, createSlots as fe, createVNode as G, createCommentVNode as ve, normalizeProps as Ne, createElementVNode as Q, useSlots as pt, nextTick as Ct, inject as ot, useAttrs as Le, onUnmounted as Dt, computed as Ae, normalizeStyle as Te, withModifiers as it, guardReactiveProps as Ke, resolveDynamicComponent as Se, Transition as Vt, withDirectives as vt, vShow as yt, h as Ve, onBeforeUnmount as Ft, normalizeClass as ht, watchEffect as Tt, createApp as Mt } from "vue";
|
|
3
3
|
import { FullScreen as qt, Remove as St } from "@element-plus/icons-vue";
|
|
4
4
|
import gt from "sortablejs";
|
|
5
5
|
import { Dexie as Ot } from "dexie";
|
|
@@ -221,17 +221,17 @@ var bt = { exports: {} };
|
|
|
221
221
|
var T = h.split("-");
|
|
222
222
|
if (!i && T.length > 1) return M(T[0]);
|
|
223
223
|
} else {
|
|
224
|
-
var
|
|
225
|
-
d[
|
|
224
|
+
var L = h.name;
|
|
225
|
+
d[L] = h, i = L;
|
|
226
226
|
}
|
|
227
227
|
return !m && i && (se = i), i || !m && se;
|
|
228
|
-
},
|
|
228
|
+
}, N = function(M, h) {
|
|
229
229
|
if (I(M)) return M.clone();
|
|
230
230
|
var $ = typeof h == "object" ? h : {};
|
|
231
231
|
return $.date = M, $.args = arguments, new J($);
|
|
232
232
|
}, O = ie;
|
|
233
233
|
O.l = y, O.i = I, O.w = function(M, h) {
|
|
234
|
-
return
|
|
234
|
+
return N(M, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
|
|
235
235
|
};
|
|
236
236
|
var J = function() {
|
|
237
237
|
function M($) {
|
|
@@ -247,8 +247,8 @@ var bt = { exports: {} };
|
|
|
247
247
|
if (typeof i == "string" && !/Z$/i.test(i)) {
|
|
248
248
|
var T = i.match(ee);
|
|
249
249
|
if (T) {
|
|
250
|
-
var
|
|
251
|
-
return _ ? new Date(Date.UTC(T[1],
|
|
250
|
+
var L = T[2] - 1 || 0, X = (T[7] || "0").substring(0, 3);
|
|
251
|
+
return _ ? new Date(Date.UTC(T[1], L, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, X)) : new Date(T[1], L, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, X);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
return new Date(i);
|
|
@@ -261,12 +261,12 @@ var bt = { exports: {} };
|
|
|
261
261
|
}, h.isValid = function() {
|
|
262
262
|
return this.$d.toString() !== A;
|
|
263
263
|
}, h.isSame = function($, m) {
|
|
264
|
-
var i =
|
|
264
|
+
var i = N($);
|
|
265
265
|
return this.startOf(m) <= i && i <= this.endOf(m);
|
|
266
266
|
}, h.isAfter = function($, m) {
|
|
267
|
-
return
|
|
267
|
+
return N($) < this.startOf(m);
|
|
268
268
|
}, h.isBefore = function($, m) {
|
|
269
|
-
return this.endOf(m) <
|
|
269
|
+
return this.endOf(m) < N($);
|
|
270
270
|
}, h.$g = function($, m, i) {
|
|
271
271
|
return O.u($) ? this[m] : this.set(i, $);
|
|
272
272
|
}, h.unix = function() {
|
|
@@ -274,7 +274,7 @@ var bt = { exports: {} };
|
|
|
274
274
|
}, h.valueOf = function() {
|
|
275
275
|
return this.$d.getTime();
|
|
276
276
|
}, h.startOf = function($, m) {
|
|
277
|
-
var i = this, _ = !!O.u(m) || m, T = O.p($),
|
|
277
|
+
var i = this, _ = !!O.u(m) || m, T = O.p($), L = function(De, he) {
|
|
278
278
|
var l = O.w(i.$u ? Date.UTC(i.$y, he, De) : new Date(i.$y, he, De), i);
|
|
279
279
|
return _ ? l : l.endOf(E);
|
|
280
280
|
}, X = function(De, he) {
|
|
@@ -282,12 +282,12 @@ var bt = { exports: {} };
|
|
|
282
282
|
}, oe = this.$W, n = this.$M, z = this.$D, re = "set" + (this.$u ? "UTC" : "");
|
|
283
283
|
switch (T) {
|
|
284
284
|
case D:
|
|
285
|
-
return _ ?
|
|
285
|
+
return _ ? L(1, 0) : L(31, 11);
|
|
286
286
|
case P:
|
|
287
|
-
return _ ?
|
|
287
|
+
return _ ? L(1, n) : L(0, n + 1);
|
|
288
288
|
case w:
|
|
289
289
|
var Ce = this.$locale().weekStart || 0, Me = (oe < Ce ? oe + 7 : oe) - Ce;
|
|
290
|
-
return
|
|
290
|
+
return L(_ ? z - Me : z + (6 - Me), n);
|
|
291
291
|
case E:
|
|
292
292
|
case u:
|
|
293
293
|
return X(re + "Hours", 0);
|
|
@@ -303,11 +303,11 @@ var bt = { exports: {} };
|
|
|
303
303
|
}, h.endOf = function($) {
|
|
304
304
|
return this.startOf($, !1);
|
|
305
305
|
}, h.$set = function($, m) {
|
|
306
|
-
var i, _ = O.p($), T = "set" + (this.$u ? "UTC" : ""),
|
|
306
|
+
var i, _ = O.p($), T = "set" + (this.$u ? "UTC" : ""), L = (i = {}, i[E] = T + "Date", i[u] = T + "Date", i[P] = T + "Month", i[D] = T + "FullYear", i[q] = T + "Hours", i[F] = T + "Minutes", i[V] = T + "Seconds", i[v] = T + "Milliseconds", i)[_], X = _ === E ? this.$D + (m - this.$W) : m;
|
|
307
307
|
if (_ === P || _ === D) {
|
|
308
308
|
var oe = this.clone().set(u, 1);
|
|
309
|
-
oe.$d[
|
|
310
|
-
} else
|
|
309
|
+
oe.$d[L](X), oe.init(), this.$d = oe.set(u, Math.min(this.$D, oe.daysInMonth())).$d;
|
|
310
|
+
} else L && this.$d[L](X);
|
|
311
311
|
return this.init(), this;
|
|
312
312
|
}, h.set = function($, m) {
|
|
313
313
|
return this.clone().$set($, m);
|
|
@@ -316,14 +316,14 @@ var bt = { exports: {} };
|
|
|
316
316
|
}, h.add = function($, m) {
|
|
317
317
|
var i, _ = this;
|
|
318
318
|
$ = Number($);
|
|
319
|
-
var T = O.p(m),
|
|
320
|
-
var z =
|
|
319
|
+
var T = O.p(m), L = function(n) {
|
|
320
|
+
var z = N(_);
|
|
321
321
|
return O.w(z.date(z.date() + Math.round(n * $)), _);
|
|
322
322
|
};
|
|
323
323
|
if (T === P) return this.set(P, this.$M + $);
|
|
324
324
|
if (T === D) return this.set(D, this.$y + $);
|
|
325
|
-
if (T === E) return
|
|
326
|
-
if (T === w) return
|
|
325
|
+
if (T === E) return L(1);
|
|
326
|
+
if (T === w) return L(7);
|
|
327
327
|
var X = (i = {}, i[F] = e, i[q] = a, i[V] = t, i)[T] || 1, oe = this.$d.getTime() + $ * X;
|
|
328
328
|
return O.w(oe, this);
|
|
329
329
|
}, h.subtract = function($, m) {
|
|
@@ -331,10 +331,10 @@ var bt = { exports: {} };
|
|
|
331
331
|
}, h.format = function($) {
|
|
332
332
|
var m = this, i = this.$locale();
|
|
333
333
|
if (!this.isValid()) return i.invalidDate || A;
|
|
334
|
-
var _ = $ || "YYYY-MM-DDTHH:mm:ssZ", T = O.z(this),
|
|
334
|
+
var _ = $ || "YYYY-MM-DDTHH:mm:ssZ", T = O.z(this), L = this.$H, X = this.$m, oe = this.$M, n = i.weekdays, z = i.months, re = i.meridiem, Ce = function(he, l, r, b) {
|
|
335
335
|
return he && (he[l] || he(m, _)) || r[l].slice(0, b);
|
|
336
336
|
}, Me = function(he) {
|
|
337
|
-
return O.s(
|
|
337
|
+
return O.s(L % 12 || 12, he, "0");
|
|
338
338
|
}, De = re || function(he, l, r) {
|
|
339
339
|
var b = he < 12 ? "AM" : "PM";
|
|
340
340
|
return r ? b.toLowerCase() : b;
|
|
@@ -367,17 +367,17 @@ var bt = { exports: {} };
|
|
|
367
367
|
case "dddd":
|
|
368
368
|
return n[m.$W];
|
|
369
369
|
case "H":
|
|
370
|
-
return String(
|
|
370
|
+
return String(L);
|
|
371
371
|
case "HH":
|
|
372
|
-
return O.s(
|
|
372
|
+
return O.s(L, 2, "0");
|
|
373
373
|
case "h":
|
|
374
374
|
return Me(1);
|
|
375
375
|
case "hh":
|
|
376
376
|
return Me(2);
|
|
377
377
|
case "a":
|
|
378
|
-
return De(
|
|
378
|
+
return De(L, X, !0);
|
|
379
379
|
case "A":
|
|
380
|
-
return De(
|
|
380
|
+
return De(L, X, !1);
|
|
381
381
|
case "m":
|
|
382
382
|
return String(X);
|
|
383
383
|
case "mm":
|
|
@@ -397,10 +397,10 @@ var bt = { exports: {} };
|
|
|
397
397
|
}, h.utcOffset = function() {
|
|
398
398
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
399
399
|
}, h.diff = function($, m, i) {
|
|
400
|
-
var _, T = this,
|
|
400
|
+
var _, T = this, L = O.p(m), X = N($), oe = (X.utcOffset() - this.utcOffset()) * e, n = this - X, z = function() {
|
|
401
401
|
return O.m(T, X);
|
|
402
402
|
};
|
|
403
|
-
switch (
|
|
403
|
+
switch (L) {
|
|
404
404
|
case D:
|
|
405
405
|
_ = z() / 12;
|
|
406
406
|
break;
|
|
@@ -449,15 +449,15 @@ var bt = { exports: {} };
|
|
|
449
449
|
return this.$d.toUTCString();
|
|
450
450
|
}, M;
|
|
451
451
|
}(), $e = J.prototype;
|
|
452
|
-
return
|
|
452
|
+
return N.prototype = $e, [["$ms", v], ["$s", V], ["$m", F], ["$H", q], ["$W", E], ["$M", P], ["$y", D], ["$D", u]].forEach(function(M) {
|
|
453
453
|
$e[M[1]] = function(h) {
|
|
454
454
|
return this.$g(h, M[0], M[1]);
|
|
455
455
|
};
|
|
456
|
-
}),
|
|
457
|
-
return M.$i || (M(h, J,
|
|
458
|
-
},
|
|
459
|
-
return
|
|
460
|
-
},
|
|
456
|
+
}), N.extend = function(M, h) {
|
|
457
|
+
return M.$i || (M(h, J, N), M.$i = !0), N;
|
|
458
|
+
}, N.locale = y, N.isDayjs = I, N.unix = function(M) {
|
|
459
|
+
return N(1e3 * M);
|
|
460
|
+
}, N.en = d[se], N.Ls = d, N.p = {}, N;
|
|
461
461
|
});
|
|
462
462
|
})(bt);
|
|
463
463
|
var It = bt.exports;
|
|
@@ -524,7 +524,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
524
524
|
}
|
|
525
525
|
}, { deep: !0 }), (D, u) => {
|
|
526
526
|
var X, oe;
|
|
527
|
-
const A = R("el-radio"), ee = R("el-radio-group"), le = R("el-radio-button"), ae = R("el-checkbox"), ce = R("el-checkbox-group"), ie = R("el-checkbox-button"), se = R("el-option"), d = R("el-select"), k = R("el-tree-select"), I = R("el-time-picker"), y = R("el-time-select"),
|
|
527
|
+
const A = R("el-radio"), ee = R("el-radio-group"), le = R("el-radio-button"), ae = R("el-checkbox"), ce = R("el-checkbox-group"), ie = R("el-checkbox-button"), se = R("el-option"), d = R("el-select"), k = R("el-tree-select"), I = R("el-time-picker"), y = R("el-time-select"), N = R("el-date-picker"), O = R("el-color-picker"), J = R("el-rate"), $e = R("el-slider"), M = R("el-switch"), h = R("el-transfer"), $ = R("el-cascader"), m = R("el-button"), i = R("el-upload"), _ = R("el-autocomplete"), T = R("el-input-number"), L = R("el-input");
|
|
528
528
|
return s(), B("div", Ut, [
|
|
529
529
|
o(v) == o(de).RADIO ? (s(), S(ee, x({
|
|
530
530
|
key: 0,
|
|
@@ -671,7 +671,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
671
671
|
step: "00:15",
|
|
672
672
|
end: "23:30",
|
|
673
673
|
placeholder: o(V)[o(a)].label
|
|
674
|
-
}, o(e)), null, 16, ["modelValue", "placeholder"])) : o(v) == o(de).DATE ? (s(), S(
|
|
674
|
+
}, o(e)), null, 16, ["modelValue", "placeholder"])) : o(v) == o(de).DATE ? (s(), S(N, x({
|
|
675
675
|
key: 9,
|
|
676
676
|
modelValue: f.value,
|
|
677
677
|
"onUpdate:modelValue": u[9] || (u[9] = (n) => f.value = n),
|
|
@@ -685,7 +685,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
685
685
|
p(D.$slots, `${t.t}-${o(a)}-${n}`, { data: z })
|
|
686
686
|
])
|
|
687
687
|
}))
|
|
688
|
-
]), 1040, ["modelValue", "placeholder"])) : o(v) == o(de).DATETIME ? (s(), S(
|
|
688
|
+
]), 1040, ["modelValue", "placeholder"])) : o(v) == o(de).DATETIME ? (s(), S(N, x({
|
|
689
689
|
key: 10,
|
|
690
690
|
modelValue: f.value,
|
|
691
691
|
"onUpdate:modelValue": u[10] || (u[10] = (n) => f.value = n),
|
|
@@ -744,7 +744,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
744
744
|
p(D.$slots, `${t.t}-${o(a)}-${n}`, { data: z })
|
|
745
745
|
])
|
|
746
746
|
}))
|
|
747
|
-
]), 1040, ["modelValue", "options"])) : o(v) == o(de).IMAGE ? (s(), S(i,
|
|
747
|
+
]), 1040, ["modelValue", "options"])) : o(v) == o(de).IMAGE ? (s(), S(i, Ne(x({ key: 17 }, o(e))), fe({
|
|
748
748
|
default: g(() => [
|
|
749
749
|
G(m, { type: "primary" }, {
|
|
750
750
|
default: g(() => u[22] || (u[22] = [
|
|
@@ -789,23 +789,21 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
789
789
|
])
|
|
790
790
|
}))
|
|
791
791
|
]), 1040, ["modelValue", "placeholder"])) : o(v) == o(de).MONEY ? (s(), B("div", Rt, [
|
|
792
|
-
G(
|
|
792
|
+
G(L, x({
|
|
793
793
|
modelValue: f.value,
|
|
794
794
|
"onUpdate:modelValue": u[19] || (u[19] = (n) => f.value = n),
|
|
795
795
|
placeholder: o(V)[o(a)].label,
|
|
796
796
|
type: o(de).NUMBER,
|
|
797
797
|
maxlength: ((X = o(e)) == null ? void 0 : X.max) || 25
|
|
798
|
-
}, { ...o(e), type: o(v) }), fe({
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
key: "0"
|
|
808
|
-
} : void 0,
|
|
798
|
+
}, { ...o(e), type: o(v) }), fe({
|
|
799
|
+
suffix: g(() => [
|
|
800
|
+
Q("div", {
|
|
801
|
+
title: o(lt)(f.value),
|
|
802
|
+
style: { "font-size": "10px", display: "block", width: "80px", "text-align": "right", overflow: "hidden", "text-overflow": "ellipsis" }
|
|
803
|
+
}, pe(o(lt)(f.value)), 9, jt)
|
|
804
|
+
]),
|
|
805
|
+
_: 2
|
|
806
|
+
}, [
|
|
809
807
|
U(E(), (n, z) => ({
|
|
810
808
|
name: n,
|
|
811
809
|
fn: g((re) => [
|
|
@@ -813,7 +811,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
813
811
|
])
|
|
814
812
|
}))
|
|
815
813
|
]), 1040, ["modelValue", "placeholder", "type", "maxlength"])
|
|
816
|
-
])) : (s(), S(
|
|
814
|
+
])) : (s(), S(L, x({
|
|
817
815
|
key: 21,
|
|
818
816
|
modelValue: f.value,
|
|
819
817
|
"onUpdate:modelValue": u[20] || (u[20] = (n) => f.value = n),
|
|
@@ -853,7 +851,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
853
851
|
style: {
|
|
854
852
|
display: "flex",
|
|
855
853
|
flexWrap: "wrap",
|
|
856
|
-
...(ae =
|
|
854
|
+
...(ae = Le()) == null ? void 0 : ae.style
|
|
857
855
|
},
|
|
858
856
|
// 表单底部属性
|
|
859
857
|
footer: {
|
|
@@ -940,25 +938,25 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
940
938
|
validate: void 0
|
|
941
939
|
}, ...d };
|
|
942
940
|
y.required && k.push({ required: !0, message: `${y.label}不能为空!`, trigger: "blur" }), y.max && y.min && k.push({
|
|
943
|
-
validator: (
|
|
941
|
+
validator: (N, O, J) => {
|
|
944
942
|
O && d.type == "number" && (O < y.min || O > y.max) ? J(new Error(`${y.label} 必须在 ${y.min} 和 ${y.max} 之间!`)) : O && d.type !== "number" && (O.toString().length < y.min || O.toString().length > y.max) ? J(new Error(`字符长度必须在 ${y.min} 和 ${y.max} 之间!`)) : J();
|
|
945
943
|
}
|
|
946
944
|
}), y.max && !y.min && d.type == "number" && k.push({
|
|
947
|
-
validator: (
|
|
945
|
+
validator: (N, O, J) => {
|
|
948
946
|
O && O > y.max ? J(new Error(`${y.label}不能大于${y.max}!`)) : J();
|
|
949
947
|
}
|
|
950
948
|
}), y.min && !y.max && d.type == "number" && k.push({
|
|
951
|
-
validator: (
|
|
949
|
+
validator: (N, O, J) => {
|
|
952
950
|
O && O < y.min ? J(new Error(`${y.label}不能小于${y.min}!`)) : J();
|
|
953
951
|
}
|
|
954
952
|
}), y.type == "email" && k.push({ type: "email", message: "不是一个正确的邮箱地址!" }), y.type == "url" && k.push({ type: "url", message: "不是一个合正确的URL!" }), y.pattern && k.push({ pattern: y == null ? void 0 : y.pattern, message: (y == null ? void 0 : y.message) || "格式不正确!" }), y.validate && k.push({
|
|
955
|
-
validator: (
|
|
953
|
+
validator: (N, O, J) => y.validate(N, O, J)
|
|
956
954
|
});
|
|
957
955
|
}
|
|
958
956
|
return k;
|
|
959
957
|
}, w = (d, k = !1) => {
|
|
960
|
-
var
|
|
961
|
-
const I = k ? d : d == null ? void 0 : d.item, y = typeof (I == null ? void 0 : I.editor) == "function" ? I.editor(u.value, (
|
|
958
|
+
var N, O, J, $e, M;
|
|
959
|
+
const I = k ? d : d == null ? void 0 : d.item, y = typeof (I == null ? void 0 : I.editor) == "function" ? I.editor(u.value, (N = t.value.form) == null ? void 0 : N.modalState) : (I == null ? void 0 : I.editor) || {};
|
|
962
960
|
if (((O = t.value.form) == null ? void 0 : O.modalState) === "edit") {
|
|
963
961
|
const h = typeof (I == null ? void 0 : I.editor) == "object" ? (J = I.editor) == null ? void 0 : J.ep : typeof (I == null ? void 0 : I.editor) == "function" ? y == null ? void 0 : y.ep : {};
|
|
964
962
|
return { ...y, ...h };
|
|
@@ -969,9 +967,9 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
969
967
|
}
|
|
970
968
|
return y;
|
|
971
969
|
}, P = (d) => {
|
|
972
|
-
var I, y,
|
|
970
|
+
var I, y, N, O, J;
|
|
973
971
|
const k = typeof d.editor == "function" ? d.editor(u.value, (I = t.value.form) == null ? void 0 : I.modalState) : d.editor;
|
|
974
|
-
return ((y = t.value.form) == null ? void 0 : y.modalState) === "edit" ? ((
|
|
972
|
+
return ((y = t.value.form) == null ? void 0 : y.modalState) === "edit" ? ((N = k == null ? void 0 : k.ep) == null ? void 0 : N.type) ?? (k == null ? void 0 : k.type) ?? d.type : ((O = t.value.form) == null ? void 0 : O.modalState) === "add" ? ((J = k == null ? void 0 : k.ap) == null ? void 0 : J.type) ?? (k == null ? void 0 : k.type) ?? d.type : (k == null ? void 0 : k.type) ?? d.type;
|
|
975
973
|
};
|
|
976
974
|
Pe(() => {
|
|
977
975
|
ne();
|
|
@@ -982,9 +980,9 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
982
980
|
for (const [d, k] of Object.entries(D.value))
|
|
983
981
|
t.value[d].formItem = { ...t.value[d].formItem, ...k.formItem }, t.value[d].formItem.style = { ...t.value[d].formItem.style, ...k.formItem.style };
|
|
984
982
|
}, D = Ae(() => Object.fromEntries(Object.entries(t.value).filter((d) => d[1].type != "hidden").filter((d) => !["table", "tableColumns", "query", "queryItems"].includes(d[0])).filter((d) => d[1].editor !== !1).filter((d) => d[1].type !== "control").filter((d) => {
|
|
985
|
-
var I, y,
|
|
983
|
+
var I, y, N;
|
|
986
984
|
const k = typeof d[1].editor == "function" ? d[1].editor(u.value, (I = t.value.form) == null ? void 0 : I.modalState) : d[1].editor;
|
|
987
|
-
return t.value.form.modalState === "edit" ? ((y = k == null ? void 0 : k.ep) == null ? void 0 : y.editor) !== !1 : t.value.form.modalState === "add" ? ((
|
|
985
|
+
return t.value.form.modalState === "edit" ? ((y = k == null ? void 0 : k.ep) == null ? void 0 : y.editor) !== !1 : t.value.form.modalState === "add" ? ((N = k == null ? void 0 : k.ap) == null ? void 0 : N.editor) !== !1 : !0;
|
|
988
986
|
}).map((d) => [d[0], d[1]]))), u = Ae(() => Object.fromEntries(Object.entries(t.value).filter((d) => d[1].type != "hidden").filter((d) => d[1].type != "control").map((d) => [d[0], d[1].value]))), A = Ae(() => {
|
|
989
987
|
const d = /* @__PURE__ */ new Map();
|
|
990
988
|
return Object.entries(D.value).forEach(([k, I]) => {
|
|
@@ -1023,7 +1021,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1023
1021
|
}
|
|
1024
1022
|
], le = Ae(() => ee.filter((d) => !d.hidden).sort((d, k) => d.sort - k.sort || d.originalOrder - k.originalOrder));
|
|
1025
1023
|
return (d, k) => {
|
|
1026
|
-
const I = R("el-form-item"), y = R("el-col"),
|
|
1024
|
+
const I = R("el-form-item"), y = R("el-col"), N = R("el-tab-pane"), O = R("el-tabs"), J = R("el-button"), $e = R("el-form");
|
|
1027
1025
|
return s(), S($e, x({
|
|
1028
1026
|
ref_key: "gform",
|
|
1029
1027
|
ref: a,
|
|
@@ -1041,7 +1039,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1041
1039
|
style: { width: "100%" }
|
|
1042
1040
|
}, t.value.form.tabs), {
|
|
1043
1041
|
default: g(() => [
|
|
1044
|
-
(s(!0), B(Y, null, U(A.value, (m) => (s(), S(
|
|
1042
|
+
(s(!0), B(Y, null, U(A.value, (m) => (s(), S(N, x({
|
|
1045
1043
|
key: m.groupName,
|
|
1046
1044
|
label: m.groupName,
|
|
1047
1045
|
name: m.groupName,
|
|
@@ -1054,14 +1052,14 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1054
1052
|
style: { width: "100%" }
|
|
1055
1053
|
}), {
|
|
1056
1054
|
default: g(() => {
|
|
1057
|
-
var T,
|
|
1055
|
+
var T, L;
|
|
1058
1056
|
return [
|
|
1059
1057
|
G(I, x({
|
|
1060
1058
|
label: i == null ? void 0 : i.item.label,
|
|
1061
1059
|
prop: `${i.key}.value`,
|
|
1062
1060
|
rules: E(i == null ? void 0 : i.item),
|
|
1063
1061
|
ref_for: !0
|
|
1064
|
-
}, { ...(T = t.value) == null ? void 0 : T.formItems, ...(
|
|
1062
|
+
}, { ...(T = t.value) == null ? void 0 : T.formItems, ...(L = i == null ? void 0 : i.item) == null ? void 0 : L.formItem }, { style: { width: "100%" } }), {
|
|
1065
1063
|
default: g(() => [
|
|
1066
1064
|
p(d.$slots, "f-" + i.key, {
|
|
1067
1065
|
item: i == null ? void 0 : i.item,
|
|
@@ -1167,10 +1165,10 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1167
1165
|
t: "f",
|
|
1168
1166
|
formInfo: u.value
|
|
1169
1167
|
}, fe({ _: 2 }, [
|
|
1170
|
-
U(d.$slots, (T,
|
|
1171
|
-
name:
|
|
1168
|
+
U(d.$slots, (T, L) => ({
|
|
1169
|
+
name: L,
|
|
1172
1170
|
fn: g((X) => [
|
|
1173
|
-
p(d.$slots,
|
|
1171
|
+
p(d.$slots, L, {
|
|
1174
1172
|
data: X,
|
|
1175
1173
|
item: m,
|
|
1176
1174
|
model: t.value
|
|
@@ -1279,10 +1277,10 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1279
1277
|
for (const [e, a] of f)
|
|
1280
1278
|
t[e] = a;
|
|
1281
1279
|
return t;
|
|
1282
|
-
},
|
|
1280
|
+
}, Nt = {
|
|
1283
1281
|
key: 0,
|
|
1284
1282
|
class: "outer"
|
|
1285
|
-
},
|
|
1283
|
+
}, Lt = { class: "inner" }, Pt = {
|
|
1286
1284
|
__name: "g-query",
|
|
1287
1285
|
props: {
|
|
1288
1286
|
modelValue: { required: !0 },
|
|
@@ -1421,29 +1419,29 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1421
1419
|
}, () => P({ slots: ne }, !0)) : null
|
|
1422
1420
|
}
|
|
1423
1421
|
];
|
|
1424
|
-
return u.sort((y,
|
|
1422
|
+
return u.sort((y, N) => y.sort - N.sort), u.filter((y) => !y.hidden).map((y) => y.key === "more" && y.component === Je ? Ve(Je, y.props, {
|
|
1425
1423
|
reference: () => Ve(ge, t.value.query.more, () => y.label),
|
|
1426
1424
|
default: y.content
|
|
1427
1425
|
}) : (y.props.slot = "query-" + y.key, y.label ? Ve(y.component, y.props, () => y.label) : Ve(y.component, y.props)));
|
|
1428
1426
|
};
|
|
1429
1427
|
return (u, A) => {
|
|
1430
|
-
var ae, ce, ie, se, d, k, I, y,
|
|
1428
|
+
var ae, ce, ie, se, d, k, I, y, N, O, J, $e, M, h, $, m, i;
|
|
1431
1429
|
const ee = R("el-form-item"), le = R("el-drawer");
|
|
1432
1430
|
return s(), B("div", {
|
|
1433
1431
|
class: "g-query-container",
|
|
1434
1432
|
style: Te((ce = (ae = t.value.query) == null ? void 0 : ae.container) == null ? void 0 : ce.style)
|
|
1435
1433
|
}, [
|
|
1436
|
-
G(o(We),
|
|
1434
|
+
G(o(We), Ne(Ke(o(ke)(t.value.query, (_) => !["query", "more", "reset", "btns"].includes(_)))), {
|
|
1437
1435
|
default: g(() => {
|
|
1438
1436
|
var _, T;
|
|
1439
1437
|
return [
|
|
1440
1438
|
(s(), S(Se(P({ slots: u.$slots }, void 0)))),
|
|
1441
1439
|
((T = (_ = t.value.query) == null ? void 0 : _.container) == null ? void 0 : T.inline) === !0 ? (s(), S(ee, { key: 0 }, {
|
|
1442
1440
|
default: g(() => {
|
|
1443
|
-
var
|
|
1441
|
+
var L, X, oe, n, z;
|
|
1444
1442
|
return [
|
|
1445
1443
|
Q("div", {
|
|
1446
|
-
style: Te((X = (
|
|
1444
|
+
style: Te((X = (L = t.value.query) == null ? void 0 : L.btns) == null ? void 0 : X.style)
|
|
1447
1445
|
}, [
|
|
1448
1446
|
t.value.query.group ? (s(), S(o(He), { key: 0 }, {
|
|
1449
1447
|
default: g(() => [
|
|
@@ -1488,7 +1486,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1488
1486
|
]),
|
|
1489
1487
|
_: 3
|
|
1490
1488
|
})) : (s(), B(Y, { key: 1 }, [
|
|
1491
|
-
(
|
|
1489
|
+
(N = (y = t.value.query) == null ? void 0 : y.btns) != null && N.group ? (s(), S(o(He), { key: 0 }, {
|
|
1492
1490
|
default: g(() => [
|
|
1493
1491
|
(s(!0), B(Y, null, U(D(), (_) => p(u.$slots, _.props.slot, {}, () => [
|
|
1494
1492
|
(s(), S(Se(_)))
|
|
@@ -1506,11 +1504,11 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1506
1504
|
name: "nested"
|
|
1507
1505
|
}, {
|
|
1508
1506
|
default: g(() => {
|
|
1509
|
-
var _, T,
|
|
1507
|
+
var _, T, L;
|
|
1510
1508
|
return [
|
|
1511
|
-
v.value && !((
|
|
1512
|
-
Q("div",
|
|
1513
|
-
t.value.query.more.mode == 1 ? vt((s(), S(o(We),
|
|
1509
|
+
v.value && !((L = (T = (_ = t.value) == null ? void 0 : _.query) == null ? void 0 : T.more) != null && L.hidden) && t.value.query.more.mode == 1 ? (s(), B("div", Nt, [
|
|
1510
|
+
Q("div", Lt, [
|
|
1511
|
+
t.value.query.more.mode == 1 ? vt((s(), S(o(We), Ne(x({ key: 0 }, o(ke)(t.value.query, (X) => !["query", "more", "reset"].includes(X)))), {
|
|
1514
1512
|
default: g(() => [
|
|
1515
1513
|
(s(), S(Se(P({ slots: u.$slots }, !0))))
|
|
1516
1514
|
]),
|
|
@@ -1541,7 +1539,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1541
1539
|
"onUpdate:info": A[1] || (A[1] = (_) => F.value = _),
|
|
1542
1540
|
more: !0
|
|
1543
1541
|
}, fe({ _: 2 }, [
|
|
1544
|
-
U(u.$slots, (_, T,
|
|
1542
|
+
U(u.$slots, (_, T, L) => ({
|
|
1545
1543
|
name: T,
|
|
1546
1544
|
fn: g((X) => [
|
|
1547
1545
|
p(u.$slots, T, { model: t.value }, void 0, !0)
|
|
@@ -1557,7 +1555,7 @@ const Ze = /* @__PURE__ */ Bt(It), Ut = {
|
|
|
1557
1555
|
(i = (m = ($ = (h = (M = t.value) == null ? void 0 : M.query) == null ? void 0 : h.more) == null ? void 0 : $.dialog) == null ? void 0 : m.footer) != null && i.hidden ? void 0 : {
|
|
1558
1556
|
name: "footer",
|
|
1559
1557
|
fn: g(() => [
|
|
1560
|
-
Q("div",
|
|
1558
|
+
Q("div", Ne(Ke(t.value.query.more.dialog.footer)), [
|
|
1561
1559
|
G(o(ge), x(t.value.query.query, {
|
|
1562
1560
|
onClick: A[2] || (A[2] = (_) => t.value.query.query.click())
|
|
1563
1561
|
}), {
|
|
@@ -1895,7 +1893,7 @@ const ol = {
|
|
|
1895
1893
|
emits: /* @__PURE__ */ Oe(["load", "open", "delete", "submit", "reset", "download", "row-save"], ["update:modelValue"]),
|
|
1896
1894
|
setup(c, { emit: f }) {
|
|
1897
1895
|
var n, z, re, Ce, Me, De, he;
|
|
1898
|
-
const t = f, e = xe(c, "modelValue"), a = ot("options"), v = ye({}), V = ye(!1), F = ye(!1), q = ["type", "index", "label", "column-key", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-class-name", "filter-multiple", "filter-method", "filtered-value"], E = ye([]), w = c, P =
|
|
1896
|
+
const t = f, e = xe(c, "modelValue"), a = ot("options"), v = ye({}), V = ye(!1), F = ye(!1), q = ["type", "index", "label", "column-key", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-class-name", "filter-multiple", "filter-method", "filtered-value"], E = ye([]), w = c, P = Le(), ne = {
|
|
1899
1897
|
autoWatch: !0,
|
|
1900
1898
|
data: [],
|
|
1901
1899
|
border: !0,
|
|
@@ -2110,7 +2108,7 @@ const ol = {
|
|
|
2110
2108
|
e.value.form.modalState = void 0, (Z = e.value.control.view) != null && Z.click ? e.value.control.view.click(l, r, b, W) : (e.value.form.disabled = !0, e.value.dialog.mode = e.value.control.view.mode, e.value.dialog.title = e.value.control.view.label, Object.keys(l).forEach((K) => {
|
|
2111
2109
|
e.value[K] && (e.value[K].value = l[K]);
|
|
2112
2110
|
}), V.value = !0, t("open", W, "view", l, r, b));
|
|
2113
|
-
},
|
|
2111
|
+
}, N = (l, r, b, W) => {
|
|
2114
2112
|
var Z;
|
|
2115
2113
|
(Z = e.value.control.save) != null && Z.click ? e.value.control.save.click(l, r, b, W) : t("row-save", { row: l, column: r, $index: b, data: e.value.table.data }, (K) => {
|
|
2116
2114
|
K && (e.value.table.load(), F.value = !1);
|
|
@@ -2161,7 +2159,7 @@ const ol = {
|
|
|
2161
2159
|
{ type: "view", func: y },
|
|
2162
2160
|
{ type: "edit", func: k },
|
|
2163
2161
|
{ type: "delete", func: I },
|
|
2164
|
-
{ type: "save", func:
|
|
2162
|
+
{ type: "save", func: N }
|
|
2165
2163
|
], m = (l) => $.filter((r) => l.includes(r.type)).map(({ type: r, func: b }) => {
|
|
2166
2164
|
var W, Z, K;
|
|
2167
2165
|
return {
|
|
@@ -2177,7 +2175,7 @@ const ol = {
|
|
|
2177
2175
|
return r[W] || (r[W] = []), r[W].push(b), r;
|
|
2178
2176
|
}, {}), _ = Ae(() => Object.fromEntries(
|
|
2179
2177
|
Object.entries(e.value).filter(([l, r]) => r.type !== "hidden").filter(([l, r]) => r.visible !== !1).filter(([l, r]) => r.showCol !== !1).map(([l, r]) => (r.sort = typeof r.sort == "number" ? r.sort : 0, [l, r])).sort((l, r) => l[1].sort - r[1].sort)
|
|
2180
|
-
)), T = ye({}),
|
|
2178
|
+
)), T = ye({}), L = (l, r) => {
|
|
2181
2179
|
const b = (W, Z) => {
|
|
2182
2180
|
for (const K of W) {
|
|
2183
2181
|
if (K.value == Z) return K.label;
|
|
@@ -2199,7 +2197,7 @@ const ol = {
|
|
|
2199
2197
|
const l = [];
|
|
2200
2198
|
Object.keys(e.value).forEach((r) => {
|
|
2201
2199
|
if (e.value[r].getDicts) {
|
|
2202
|
-
const b =
|
|
2200
|
+
const b = L(e.value[r], r).then(() => {
|
|
2203
2201
|
e.value.table.data.forEach((W) => {
|
|
2204
2202
|
var Z;
|
|
2205
2203
|
if (e.value[r].getDicts && ((Z = e.value[r]) == null ? void 0 : Z.forceString) !== !1) {
|
|
@@ -2331,7 +2329,7 @@ const ol = {
|
|
|
2331
2329
|
], !0)
|
|
2332
2330
|
])) : ve("", !0),
|
|
2333
2331
|
Q("div", dl, [
|
|
2334
|
-
G(Z,
|
|
2332
|
+
G(Z, Ne(Ke({ ...l.$attrs, ...o(ke)(e.value.table, (j) => !["dblclickType", "page"].includes(j)) })), {
|
|
2335
2333
|
append: g(() => [
|
|
2336
2334
|
p(l.$slots, "append", {}, void 0, !0)
|
|
2337
2335
|
]),
|
|
@@ -2706,7 +2704,7 @@ const ol = {
|
|
|
2706
2704
|
emits: /* @__PURE__ */ Oe(["load"], ["update:modelValue"]),
|
|
2707
2705
|
setup(c, { emit: f }) {
|
|
2708
2706
|
var ne, D, u;
|
|
2709
|
-
const t = f, e = xe(c, "modelValue"), a = ye(((ne =
|
|
2707
|
+
const t = f, e = xe(c, "modelValue"), a = ye(((ne = Le()) == null ? void 0 : ne.width) || "180px"), v = ye(((D = Le()) == null ? void 0 : D.search) === void 0 ? !0 : (u = Le()) == null ? void 0 : u.search), V = ye({}), F = ye(""), q = ye(null), E = (A, ee) => A ? ee.label.includes(A) : !0, w = (A, ee) => {
|
|
2710
2708
|
t("load", V.value, A, ee);
|
|
2711
2709
|
}, P = (A) => {
|
|
2712
2710
|
V.value = A, e.value.table.load();
|
|
@@ -2736,7 +2734,7 @@ const ol = {
|
|
|
2736
2734
|
ref_key: "treeRef",
|
|
2737
2735
|
ref: q,
|
|
2738
2736
|
onNodeClick: P
|
|
2739
|
-
}, A.$attrs), fe({
|
|
2737
|
+
}, A.$attrs.tree), fe({
|
|
2740
2738
|
default: g(({ node: ie, data: se }) => [
|
|
2741
2739
|
p(A.$slots, "tree", {
|
|
2742
2740
|
node: ie,
|
|
@@ -2772,7 +2770,7 @@ const ol = {
|
|
|
2772
2770
|
]);
|
|
2773
2771
|
};
|
|
2774
2772
|
}
|
|
2775
|
-
}), Dl = /* @__PURE__ */ Be(Cl, [["__scopeId", "data-v-
|
|
2773
|
+
}), Dl = /* @__PURE__ */ Be(Cl, [["__scopeId", "data-v-ef1e623c"]]), Vl = {
|
|
2776
2774
|
key: 0,
|
|
2777
2775
|
class: "op-group"
|
|
2778
2776
|
}, Fl = {
|
|
@@ -2910,6 +2908,7 @@ function Ol(c, f, t = "value", e = "label", a = "children") {
|
|
|
2910
2908
|
return null;
|
|
2911
2909
|
}
|
|
2912
2910
|
function lt(c) {
|
|
2911
|
+
if (!c || isNaN(c)) return "零";
|
|
2913
2912
|
const f = ["角", "分"], t = ["零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"], e = [
|
|
2914
2913
|
["元", "万", "亿"],
|
|
2915
2914
|
["", "拾", "佰", "仟"]
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.g-query-container[data-v-561bb961]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-561bb961]{min-height:100px;border-radius:4px;background-color:var(--el-bg-color);top:60px;padding-top:10px;width:100%;box-sizing:border-box}.inner[data-v-561bb961]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:20px;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-561bb961],.nested-leave-active[data-v-561bb961]{transition:all .3s ease-in-out}.nested-leave-active[data-v-561bb961]{transition-delay:.25s}.nested-enter-from[data-v-561bb961],.nested-leave-to[data-v-561bb961]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-561bb961],.nested-leave-active .inner[data-v-561bb961]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-561bb961]{transition-delay:.25s}.nested-enter-from .inner[data-v-561bb961],.nested-leave-to .inner[data-v-561bb961]{transform:translateY(-100px);opacity:.001}.query-form[data-v-561bb961]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.check-box-hover[data-v-51dfb7ef]:hover,.check-box-hover[data-v-c423ede0]:hover{background:var(--el-border-color)}.allcheck a[data-v-c423ede0]{cursor:pointer}.filtered[data-v-c423ede0]{pointer-events:none}.g-table-container[data-v-f228da13]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-f228da13]{background-color:var(--el-bg-color);border-radius:4px;margin-bottom:10px;border:1px solid var(--el-border-color)}.table-container[data-v-f228da13]{padding:16px;box-sizing:border-box;background-color:var(--el-bg-color);border-radius:4px;border:1px solid var(--el-border-color)}.max[data-v-f228da13]{cursor:pointer;color:var(--el-text-color)}.max[data-v-f228da13]:hover{color:var(--el-color-primary)}.btns[data-v-f228da13]{display:flex}.g-tree-table[data-v-
|
|
1
|
+
.g-query-container[data-v-561bb961]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-561bb961]{min-height:100px;border-radius:4px;background-color:var(--el-bg-color);top:60px;padding-top:10px;width:100%;box-sizing:border-box}.inner[data-v-561bb961]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:20px;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-561bb961],.nested-leave-active[data-v-561bb961]{transition:all .3s ease-in-out}.nested-leave-active[data-v-561bb961]{transition-delay:.25s}.nested-enter-from[data-v-561bb961],.nested-leave-to[data-v-561bb961]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-561bb961],.nested-leave-active .inner[data-v-561bb961]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-561bb961]{transition-delay:.25s}.nested-enter-from .inner[data-v-561bb961],.nested-leave-to .inner[data-v-561bb961]{transform:translateY(-100px);opacity:.001}.query-form[data-v-561bb961]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.check-box-hover[data-v-51dfb7ef]:hover,.check-box-hover[data-v-c423ede0]:hover{background:var(--el-border-color)}.allcheck a[data-v-c423ede0]{cursor:pointer}.filtered[data-v-c423ede0]{pointer-events:none}.g-table-container[data-v-f228da13]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-f228da13]{background-color:var(--el-bg-color);border-radius:4px;margin-bottom:10px;border:1px solid var(--el-border-color)}.table-container[data-v-f228da13]{padding:16px;box-sizing:border-box;background-color:var(--el-bg-color);border-radius:4px;border:1px solid var(--el-border-color)}.max[data-v-f228da13]{cursor:pointer;color:var(--el-text-color)}.max[data-v-f228da13]:hover{color:var(--el-color-primary)}.btns[data-v-f228da13]{display:flex}.g-tree-table[data-v-ef1e623c]{width:100%;display:flex;box-sizing:border-box}.g-tree-container[data-v-ef1e623c]{display:flex;width:100%;padding:10px;box-sizing:border-box;border-radius:4px;overflow:auto;height:100%}.g-tree-table-container[data-v-ef1e623c]{display:flex;flex:1;overflow:auto;border-radius:4px}.g-tree-left[data-v-ef1e623c]{display:flex;flex-direction:column;padding:10px;box-sizing:border-box;margin-right:10px;border-radius:4px;border:1px solid var(--el-border-color);overflow:auto}.op-group[data-v-422d5210]{display:flex;justify-content:space-between;align-items:center;padding:5px 0 5px 20px;font-weight:700;color:#fff;margin:0 10px;background-color:var(--el-color-primary-light-3)}.op-items[data-v-422d5210]{display:flex;justify-content:space-between;align-items:center;padding:5px -20px;margin:0;color:#666}.op-items span[data-v-422d5210]{background-color:var(--el-color-primary-light-9);margin:2px;border-radius:3px;padding:0 5px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
|