vue-2024-ui 0.2.54 → 0.2.56
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 +110 -110
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Bt, { ElForm as wt, ElButtonGroup as kt, ElButton as Ye, ElPopover as Tt, ElIcon as Ft, ElMessage as at, ElMessageBox as
|
|
2
|
-
import { ref as re, useModel as rt, nextTick as ht, onMounted as yt, computed as Qe, resolveComponent as j, openBlock as m, createElementBlock as F, Fragment as le, createElementVNode as K, createBlock as I, createCommentVNode as be, unref as R, mergeProps as U, withCtx as $, renderSlot as C, renderList as X, createTextVNode as Ue, toDisplayString as Ce, createSlots as ge, createVNode as se, normalizeStyle as Re, normalizeProps as Et, mergeModels as nt, useSlots as
|
|
1
|
+
import Bt, { ElForm as wt, ElButtonGroup as kt, ElButton as Ye, ElPopover as Tt, ElIcon as Ft, ElMessage as at, ElMessageBox as Pt, ElDrawer as dl, ElDialog as cl } from "element-plus";
|
|
2
|
+
import { ref as re, useModel as rt, nextTick as ht, onMounted as yt, computed as Qe, resolveComponent as j, openBlock as m, createElementBlock as F, Fragment as le, createElementVNode as K, createBlock as I, createCommentVNode as be, unref as R, mergeProps as U, withCtx as $, renderSlot as C, renderList as X, createTextVNode as Ue, toDisplayString as Ce, createSlots as ge, createVNode as se, normalizeStyle as Re, normalizeProps as Et, mergeModels as nt, useSlots as Nt, inject as qt, withModifiers as it, resolveDynamicComponent as We, guardReactiveProps as fl, Transition as vl, withDirectives as pl, vShow as ml, h as ke, useAttrs as Mt, onUnmounted as hl, onBeforeUnmount as yl, normalizeClass as jt, watchEffect as gl, onBeforeMount as bl, watch as Wt, createApp as Gt } from "vue";
|
|
3
3
|
import { Plus as $l, ZoomIn as wl, Delete as Xt, Search as kl, Refresh as Qt, More as _l, CircleCheckFilled as Cl, CircleCheck as Zt, Minus as Sl, Switch as Ml, FullScreen as xl, InfoFilled as Jt, Download as Kt, DocumentCopy as Tl, Setting as Vl, CirclePlus as El, Edit as Dl, View as Ol } from "@element-plus/icons-vue";
|
|
4
4
|
import el from "sortablejs";
|
|
5
5
|
import { Dexie as Il } from "dexie";
|
|
@@ -277,15 +277,15 @@ var al = { exports: {} };
|
|
|
277
277
|
return q ? A : A.endOf(c);
|
|
278
278
|
}, ne = function(Ae, Se) {
|
|
279
279
|
return ue.w(_.toDate()[Ae].apply(_.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Se)), _);
|
|
280
|
-
}, fe = this.$W,
|
|
280
|
+
}, fe = this.$W, P = this.$M, H = this.$D, Ee = "set" + (this.$u ? "UTC" : "");
|
|
281
281
|
switch (V) {
|
|
282
282
|
case g:
|
|
283
283
|
return q ? Q(1, 0) : Q(31, 11);
|
|
284
284
|
case o:
|
|
285
|
-
return q ? Q(1,
|
|
285
|
+
return q ? Q(1, P) : Q(0, P + 1);
|
|
286
286
|
case v:
|
|
287
287
|
var pe = this.$locale().weekStart || 0, Le = (fe < pe ? fe + 7 : fe) - pe;
|
|
288
|
-
return Q(q ? H - Le : H + (6 - Le),
|
|
288
|
+
return Q(q ? H - Le : H + (6 - Le), P);
|
|
289
289
|
case c:
|
|
290
290
|
case Z:
|
|
291
291
|
return ne(Ee + "Hours", 0);
|
|
@@ -314,9 +314,9 @@ var al = { exports: {} };
|
|
|
314
314
|
}, b.add = function(i, O) {
|
|
315
315
|
var _, q = this;
|
|
316
316
|
i = Number(i);
|
|
317
|
-
var V = ue.p(O), Q = function(
|
|
317
|
+
var V = ue.p(O), Q = function(P) {
|
|
318
318
|
var H = te(q);
|
|
319
|
-
return ue.w(H.date(H.date() + Math.round(
|
|
319
|
+
return ue.w(H.date(H.date() + Math.round(P * i)), q);
|
|
320
320
|
};
|
|
321
321
|
if (V === o) return this.set(o, this.$M + i);
|
|
322
322
|
if (V === g) return this.set(g, this.$y + i);
|
|
@@ -329,13 +329,13 @@ var al = { exports: {} };
|
|
|
329
329
|
}, b.format = function(i) {
|
|
330
330
|
var O = this, _ = this.$locale();
|
|
331
331
|
if (!this.isValid()) return _.invalidDate || x;
|
|
332
|
-
var q = i || "YYYY-MM-DDTHH:mm:ssZ", V = ue.z(this), Q = this.$H, ne = this.$m, fe = this.$M,
|
|
333
|
-
return Se && (Se[A] || Se(O, q)) || M[A].slice(0,
|
|
332
|
+
var q = i || "YYYY-MM-DDTHH:mm:ssZ", V = ue.z(this), Q = this.$H, ne = this.$m, fe = this.$M, P = _.weekdays, H = _.months, Ee = _.meridiem, pe = function(Se, A, M, N) {
|
|
333
|
+
return Se && (Se[A] || Se(O, q)) || M[A].slice(0, N);
|
|
334
334
|
}, Le = function(Se) {
|
|
335
335
|
return ue.s(Q % 12 || 12, Se, "0");
|
|
336
336
|
}, Ae = Ee || function(Se, A, M) {
|
|
337
|
-
var
|
|
338
|
-
return M ?
|
|
337
|
+
var N = Se < 12 ? "AM" : "PM";
|
|
338
|
+
return M ? N.toLowerCase() : N;
|
|
339
339
|
};
|
|
340
340
|
return q.replace(z, function(Se, A) {
|
|
341
341
|
return A || function(M) {
|
|
@@ -359,11 +359,11 @@ var al = { exports: {} };
|
|
|
359
359
|
case "d":
|
|
360
360
|
return String(O.$W);
|
|
361
361
|
case "dd":
|
|
362
|
-
return pe(_.weekdaysMin, O.$W,
|
|
362
|
+
return pe(_.weekdaysMin, O.$W, P, 2);
|
|
363
363
|
case "ddd":
|
|
364
|
-
return pe(_.weekdaysShort, O.$W,
|
|
364
|
+
return pe(_.weekdaysShort, O.$W, P, 3);
|
|
365
365
|
case "dddd":
|
|
366
|
-
return
|
|
366
|
+
return P[O.$W];
|
|
367
367
|
case "H":
|
|
368
368
|
return String(Q);
|
|
369
369
|
case "HH":
|
|
@@ -395,7 +395,7 @@ var al = { exports: {} };
|
|
|
395
395
|
}, b.utcOffset = function() {
|
|
396
396
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
397
397
|
}, b.diff = function(i, O, _) {
|
|
398
|
-
var q, V = this, Q = ue.p(O), ne = te(i), fe = (ne.utcOffset() - this.utcOffset()) * l,
|
|
398
|
+
var q, V = this, Q = ue.p(O), ne = te(i), fe = (ne.utcOffset() - this.utcOffset()) * l, P = this - ne, H = function() {
|
|
399
399
|
return ue.m(V, ne);
|
|
400
400
|
};
|
|
401
401
|
switch (Q) {
|
|
@@ -409,22 +409,22 @@ var al = { exports: {} };
|
|
|
409
409
|
q = H() / 3;
|
|
410
410
|
break;
|
|
411
411
|
case v:
|
|
412
|
-
q = (
|
|
412
|
+
q = (P - fe) / 6048e5;
|
|
413
413
|
break;
|
|
414
414
|
case c:
|
|
415
|
-
q = (
|
|
415
|
+
q = (P - fe) / 864e5;
|
|
416
416
|
break;
|
|
417
417
|
case S:
|
|
418
|
-
q =
|
|
418
|
+
q = P / n;
|
|
419
419
|
break;
|
|
420
420
|
case f:
|
|
421
|
-
q =
|
|
421
|
+
q = P / l;
|
|
422
422
|
break;
|
|
423
423
|
case h:
|
|
424
|
-
q =
|
|
424
|
+
q = P / t;
|
|
425
425
|
break;
|
|
426
426
|
default:
|
|
427
|
-
q =
|
|
427
|
+
q = P;
|
|
428
428
|
}
|
|
429
429
|
return _ ? q : ue.a(q);
|
|
430
430
|
}, b.daysInMonth = function() {
|
|
@@ -467,7 +467,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
467
467
|
}, zl = {
|
|
468
468
|
style: { display: "flex", width: "100%" },
|
|
469
469
|
class: "g-ctrl-container"
|
|
470
|
-
}, Ul = { style: { width: "var(--up-width)", height: "var(--up-height)", position: "relative", "box-sizing": "border-box" } }, Ll = ["title"], Fl = ["innerHTML"], Yl = ["innerHTML"], Rl = ["innerHTML"], Hl = ["innerHTML"], Bl = ["innerHTML"],
|
|
470
|
+
}, Ul = { style: { width: "var(--up-width)", height: "var(--up-height)", position: "relative", "box-sizing": "border-box" } }, Ll = ["title"], Fl = ["innerHTML"], Yl = ["innerHTML"], Rl = ["innerHTML"], Hl = ["innerHTML"], Bl = ["innerHTML"], Pl = ["innerHTML"], Nl = ["innerHTML"], jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
471
471
|
__name: "g-ctrl",
|
|
472
472
|
props: /* @__PURE__ */ nt(["t", "ctrlKey", "item", "model", "ctrlType", "formInfo"], {
|
|
473
473
|
modelValue: { required: !0 },
|
|
@@ -475,14 +475,14 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
475
475
|
}),
|
|
476
476
|
emits: ["update:modelValue"],
|
|
477
477
|
setup(r) {
|
|
478
|
-
var b, i, O, _, q, V, Q, ne, fe,
|
|
478
|
+
var b, i, O, _, q, V, Q, ne, fe, P, H, Ee, pe, Le, Ae, Se;
|
|
479
479
|
const s = r, t = re(s.item || {}), l = rt(r, "modelValue"), n = re(s.ctrlKey), e = re(s.ctrlType), h = re(s.model), f = re([]), S = re([]), c = re(!1), v = re(!1), o = re(0), d = re((i = (b = h == null ? void 0 : h.value) == null ? void 0 : b.form) != null && i["default-placeholder"] ? (_ = (O = h == null ? void 0 : h.value) == null ? void 0 : O[n == null ? void 0 : n.value]) == null ? void 0 : _.label : "");
|
|
480
|
-
!((q = e.value) != null && q.startsWith("text")) && !((V = e.value) != null && V.startsWith("link")) && !((Q = e.value) != null && Q.startsWith("tag")) && !((ne = e.value) != null && ne.startsWith("div")) && !((fe = e.value) != null && fe.startsWith("span")) && !((
|
|
480
|
+
!((q = e.value) != null && q.startsWith("text")) && !((V = e.value) != null && V.startsWith("link")) && !((Q = e.value) != null && Q.startsWith("tag")) && !((ne = e.value) != null && ne.startsWith("div")) && !((fe = e.value) != null && fe.startsWith("span")) && !((P = e.value) != null && P.startsWith("avatar")) && ((H = t.value) != null && H.style || (t.value.style = { width: ((pe = (Ee = t.value) == null ? void 0 : Ee.style) == null ? void 0 : pe.width) || "100%" }));
|
|
481
481
|
const g = re({ display: "flex", flex: 1 }), Z = s.t === "t" ? "center" : "flex-start", x = ((Le = t.value) == null ? void 0 : Le.style) || {};
|
|
482
482
|
g.value = { ...g.value, justifyContent: Z, ...x };
|
|
483
483
|
const L = () => {
|
|
484
|
-
const A =
|
|
485
|
-
return M.filter((Ie) => Ie.startsWith(
|
|
484
|
+
const A = Nt(), M = Object.keys(A), N = `${s.t}-${n.value}-`;
|
|
485
|
+
return M.filter((Ie) => Ie.startsWith(N)).map((Ie) => Ie.replace(N, ""));
|
|
486
486
|
}, z = re({
|
|
487
487
|
multiple: !1,
|
|
488
488
|
"show-file-list": !1,
|
|
@@ -528,19 +528,19 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
528
528
|
}), we = async (A = "options") => {
|
|
529
529
|
var M;
|
|
530
530
|
try {
|
|
531
|
-
const
|
|
532
|
-
if (typeof
|
|
533
|
-
S.value = [{ label:
|
|
531
|
+
const N = await ((M = t.value) == null ? void 0 : M.getDicts(s.formInfo));
|
|
532
|
+
if (typeof N == "string")
|
|
533
|
+
S.value = [{ label: N, value: l.value }];
|
|
534
534
|
else {
|
|
535
|
-
const Me =
|
|
535
|
+
const Me = N == null ? void 0 : N.map((Oe, Ie) => ({
|
|
536
536
|
...Oe,
|
|
537
537
|
value: Oe.value ?? Oe.label ?? Ie,
|
|
538
538
|
label: Oe.label || "未知选项"
|
|
539
539
|
}));
|
|
540
540
|
S.value = Me || [];
|
|
541
541
|
}
|
|
542
|
-
} catch (
|
|
543
|
-
throw console.error("获取选项失败:",
|
|
542
|
+
} catch (N) {
|
|
543
|
+
throw console.error("获取选项失败:", N), N;
|
|
544
544
|
}
|
|
545
545
|
}, Ve = () => {
|
|
546
546
|
var A, M;
|
|
@@ -550,24 +550,24 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
550
550
|
}, te = (A) => {
|
|
551
551
|
var M;
|
|
552
552
|
if (t.value["file-list"] && t.value["file-list"].length > 0) {
|
|
553
|
-
const
|
|
553
|
+
const N = t.value["file-list"].findIndex(
|
|
554
554
|
(Me) => Me.url === A.url || Me.uid === A.uid || A.raw && Me.raw && Me.raw.uid === A.raw.uid
|
|
555
555
|
);
|
|
556
|
-
o.value =
|
|
556
|
+
o.value = N >= 0 ? N : 0;
|
|
557
557
|
} else {
|
|
558
|
-
const
|
|
558
|
+
const N = A.url || ((M = A.raw) == null ? void 0 : M.url), Me = w.value.indexOf(N);
|
|
559
559
|
o.value = Me >= 0 ? Me : 0;
|
|
560
560
|
}
|
|
561
561
|
c.value = !0;
|
|
562
562
|
}, ue = (A) => {
|
|
563
563
|
if (A.preventDefault(), A.stopPropagation(), t.value["file-list"] && t.value["file-list"].length > 0) {
|
|
564
|
-
const M = l.value,
|
|
564
|
+
const M = l.value, N = t.value["file-list"].findIndex(
|
|
565
565
|
(Me) => {
|
|
566
566
|
var Oe;
|
|
567
567
|
return Me.url === M || ((Oe = Me.raw) == null ? void 0 : Oe.url) === M;
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
|
-
o.value =
|
|
570
|
+
o.value = N >= 0 ? N : 0;
|
|
571
571
|
} else
|
|
572
572
|
o.value = 0;
|
|
573
573
|
c.value = !0;
|
|
@@ -576,36 +576,36 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
576
576
|
l.value = "";
|
|
577
577
|
return;
|
|
578
578
|
}
|
|
579
|
-
let
|
|
580
|
-
if (
|
|
581
|
-
const Ie =
|
|
582
|
-
|
|
579
|
+
let N = A.replace(/[^-\d.]/g, "");
|
|
580
|
+
if (N.includes("-") && (N.startsWith("-") ? N = "-" + N.substring(1).replace(/-/g, "") : N = N.replace(/-/g, "")), (N.match(/\./g) || []).length > 1) {
|
|
581
|
+
const Ie = N.indexOf(".");
|
|
582
|
+
N = N.substring(0, Ie + 1) + N.substring(Ie + 1).replace(/\./g, "");
|
|
583
583
|
}
|
|
584
|
-
if (
|
|
585
|
-
const [Ie, Ge] =
|
|
586
|
-
Ge.length > M && (
|
|
584
|
+
if (N = N.replace(/^-\./, "-0."), N = N.replace(/^\./, "0."), N = N.replace(/^-0+(\d)/, "-$1"), N = N.replace(/^0+(\d)/, "$1"), (N === "-" || N === "" || N === ".") && (N = "0"), M >= 0 && N.includes(".")) {
|
|
585
|
+
const [Ie, Ge] = N.split(".");
|
|
586
|
+
Ge.length > M && (N = Ie + "." + Ge.substring(0, M));
|
|
587
587
|
}
|
|
588
|
-
l.value =
|
|
588
|
+
l.value = N;
|
|
589
589
|
};
|
|
590
590
|
yt(async () => {
|
|
591
|
-
var
|
|
592
|
-
t.value && t.value["remote-method"] && (ie.value["remote-method"] = he), (Me = (
|
|
593
|
-
const A = (He,
|
|
594
|
-
typeof t.value.getDicts == "function" && we(
|
|
595
|
-
console.error(`Failed to load ${
|
|
591
|
+
var N, Me, Oe, Ie, Ge;
|
|
592
|
+
t.value && t.value["remote-method"] && (ie.value["remote-method"] = he), (Me = (N = h.value[n.value]) == null ? void 0 : N.options) != null && Me.length && (S.value = h.value[n.value].options);
|
|
593
|
+
const A = (He, Pe = "options", Ne = h.value[n.value]) => {
|
|
594
|
+
typeof t.value.getDicts == "function" && we(Pe).catch((a) => {
|
|
595
|
+
console.error(`Failed to load ${Pe} for ${He}:`, a);
|
|
596
596
|
});
|
|
597
597
|
};
|
|
598
598
|
if (["radio", "radio-button", "checkbox-group", "checkbox-group-button", "select", "cascader"].includes(e.value) && A(e.value), e.value === _e.TREESELECT && await (async () => {
|
|
599
599
|
try {
|
|
600
600
|
typeof t.value.getDicts == "function" ? f.value = await t.value.getDicts(s.formInfo) : f.value = S.value;
|
|
601
|
-
} catch (
|
|
602
|
-
console.error("Failed to load data for tree-select:",
|
|
601
|
+
} catch (Pe) {
|
|
602
|
+
console.error("Failed to load data for tree-select:", Pe);
|
|
603
603
|
}
|
|
604
604
|
})(), s.t == "q") {
|
|
605
605
|
let He = t.value.type || e.value;
|
|
606
|
-
(He === void 0 || e.value === "input" || He == _e.NUMBER || He == _e.EMAIL || He == "url" || He == "text") && t.value.onKeyup == null && (t.value.onKeyup = (
|
|
607
|
-
var
|
|
608
|
-
(
|
|
606
|
+
(He === void 0 || e.value === "input" || He == _e.NUMBER || He == _e.EMAIL || He == "url" || He == "text") && t.value.onKeyup == null && (t.value.onKeyup = (Pe) => {
|
|
607
|
+
var Ne, a;
|
|
608
|
+
(Pe.keyCode === 13 || Pe.key === "Enter") && ((a = (Ne = h.value) == null ? void 0 : Ne.table) == null || a.load());
|
|
609
609
|
}), [
|
|
610
610
|
"radio",
|
|
611
611
|
"switch",
|
|
@@ -622,9 +622,9 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
622
622
|
"datetime",
|
|
623
623
|
"datetimerange",
|
|
624
624
|
"week"
|
|
625
|
-
].includes(He) && t.value.onChange === void 0 && (t.value.onChange = (
|
|
626
|
-
var
|
|
627
|
-
(a = (
|
|
625
|
+
].includes(He) && t.value.onChange === void 0 && (t.value.onChange = (Pe) => {
|
|
626
|
+
var Ne, a;
|
|
627
|
+
(a = (Ne = h.value) == null ? void 0 : Ne.table) == null || a.load();
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
630
|
e.value == "image" && (t.value.width && ((Oe = Te.value) != null && Oe.$el) && Te.value.$el.style.setProperty("--up-width", typeof t.value.width == "number" ? t.value.width + "px" : t.value.width), t.value.height && ((Ie = Te.value) != null && Ie.$el) && Te.value.$el.style.setProperty("--up-height", typeof t.value.height == "number" ? t.value.height + "px" : t.value.height), t.value.fontSize && ((Ge = Te.value) != null && Ge.$el) && Te.value.$el.style.setProperty("--up-font-size", typeof t.value.fontSize == "number" ? t.value.fontSize + "px" : t.value.fontSize));
|
|
@@ -635,10 +635,10 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
635
635
|
});
|
|
636
636
|
return (A, M) => {
|
|
637
637
|
var et, tt, ct, W, lt, ft, vt, bt, Ut, Lt;
|
|
638
|
-
const
|
|
638
|
+
const N = j("el-image-viewer"), Me = j("el-radio"), Oe = j("el-radio-group"), Ie = j("el-radio-button"), Ge = j("el-checkbox"), He = j("el-checkbox-group"), Pe = j("el-checkbox-button"), Ne = j("g-select-option"), a = j("el-option"), u = j("el-select"), p = j("el-tree-select"), k = j("el-time-picker"), D = j("el-time-select"), B = j("el-date-picker"), Y = j("el-color-picker"), $e = j("el-rate"), qe = j("el-slider"), De = j("el-switch"), Fe = j("el-transfer"), Be = j("el-cascader"), je = j("el-icon"), st = j("el-image"), dt = j("el-tooltip"), gt = j("el-upload"), J = j("el-autocomplete"), me = j("el-input-number"), E = j("el-input"), ae = j("el-link"), de = j("el-text"), ot = j("el-avatar"), Ke = j("el-tag");
|
|
639
639
|
return m(), F(le, null, [
|
|
640
640
|
K("div", null, [
|
|
641
|
-
c.value ? (m(), I(
|
|
641
|
+
c.value ? (m(), I(N, {
|
|
642
642
|
key: 0,
|
|
643
643
|
teleported: !0,
|
|
644
644
|
"initial-index": o.value,
|
|
@@ -720,7 +720,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
720
720
|
}, R(Ze)(t.value, (y) => y != "type")), {
|
|
721
721
|
default: $(() => [
|
|
722
722
|
C(A.$slots, `${s.t}-${n.value}`, { data: t.value }, () => [
|
|
723
|
-
(m(!0), F(le, null, X(S.value, (y) => (m(), I(
|
|
723
|
+
(m(!0), F(le, null, X(S.value, (y) => (m(), I(Pe, U({ ref_for: !0 }, y), {
|
|
724
724
|
default: $(() => [
|
|
725
725
|
C(A.$slots, `${s.t}-${n.value}-options`, { option: y }, void 0, !0)
|
|
726
726
|
]),
|
|
@@ -764,7 +764,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
764
764
|
}, () => {
|
|
765
765
|
var Xe;
|
|
766
766
|
return [
|
|
767
|
-
se(
|
|
767
|
+
se(Ne, {
|
|
768
768
|
columns: (Xe = t.value) == null ? void 0 : Xe.columns,
|
|
769
769
|
data: ce,
|
|
770
770
|
t: s.t
|
|
@@ -803,7 +803,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
803
803
|
}, () => {
|
|
804
804
|
var pt;
|
|
805
805
|
return [
|
|
806
|
-
se(
|
|
806
|
+
se(Ne, {
|
|
807
807
|
columns: (pt = t.value) == null ? void 0 : pt.columns,
|
|
808
808
|
data: ve,
|
|
809
809
|
t: s.t
|
|
@@ -836,7 +836,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
836
836
|
fn: $(() => {
|
|
837
837
|
var y;
|
|
838
838
|
return [
|
|
839
|
-
se(
|
|
839
|
+
se(Ne, {
|
|
840
840
|
columns: (y = t.value) == null ? void 0 : y.columns,
|
|
841
841
|
title: !0,
|
|
842
842
|
t: s.t
|
|
@@ -1191,7 +1191,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1191
1191
|
return [
|
|
1192
1192
|
K("div", {
|
|
1193
1193
|
innerHTML: ((y = t.value) == null ? void 0 : y.append) || ""
|
|
1194
|
-
}, null, 8,
|
|
1194
|
+
}, null, 8, Pl)
|
|
1195
1195
|
];
|
|
1196
1196
|
}),
|
|
1197
1197
|
key: "2"
|
|
@@ -1203,7 +1203,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1203
1203
|
return [
|
|
1204
1204
|
K("div", {
|
|
1205
1205
|
innerHTML: ((y = t.value) == null ? void 0 : y.prepend) || ""
|
|
1206
|
-
}, null, 8,
|
|
1206
|
+
}, null, 8, Nl)
|
|
1207
1207
|
];
|
|
1208
1208
|
}),
|
|
1209
1209
|
key: "3"
|
|
@@ -1285,7 +1285,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1285
1285
|
se(Ct, {
|
|
1286
1286
|
modelValue: l.value[d],
|
|
1287
1287
|
"onUpdate:modelValue": (g) => l.value[d] = g,
|
|
1288
|
-
item: { ...o == null ? void 0 : o.editor, ...e(o) },
|
|
1288
|
+
item: { getDicts: o == null ? void 0 : o.getDicts, ...o == null ? void 0 : o.editor, ...e(o) },
|
|
1289
1289
|
ctrlKey: d,
|
|
1290
1290
|
ctrlType: h(o),
|
|
1291
1291
|
model: s.value,
|
|
@@ -1418,7 +1418,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1418
1418
|
"onUpdate:info": (G) => h.value = G,
|
|
1419
1419
|
more: L
|
|
1420
1420
|
}, z);
|
|
1421
|
-
}, o =
|
|
1421
|
+
}, o = Nt(), d = () => {
|
|
1422
1422
|
var z, G, ee, oe, ie, he, we, Ve, xe;
|
|
1423
1423
|
const x = [
|
|
1424
1424
|
{
|
|
@@ -1488,7 +1488,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1488
1488
|
(m(), I(We(v({ slots: x.$slots }, void 0)))),
|
|
1489
1489
|
((Q = (V = t.value.query) == null ? void 0 : V.container) == null ? void 0 : Q.inline) === !0 ? (m(), I(z, { key: 0 }, {
|
|
1490
1490
|
default: $(() => {
|
|
1491
|
-
var ne, fe,
|
|
1491
|
+
var ne, fe, P, H, Ee;
|
|
1492
1492
|
return [
|
|
1493
1493
|
K("div", {
|
|
1494
1494
|
style: Re((fe = (ne = t.value.query) == null ? void 0 : ne.btns) == null ? void 0 : fe.style)
|
|
@@ -1502,7 +1502,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1502
1502
|
]),
|
|
1503
1503
|
_: 3
|
|
1504
1504
|
})) : (m(), F(le, { key: 1 }, [
|
|
1505
|
-
(Ee = (H = (
|
|
1505
|
+
(Ee = (H = (P = t.value) == null ? void 0 : P.query) == null ? void 0 : H.btns) != null && Ee.group ? (m(), I(R(kt), { key: 0 }, {
|
|
1506
1506
|
default: $(() => [
|
|
1507
1507
|
(m(!0), F(le, null, X(d(), (pe) => C(x.$slots, pe.props.slot, {}, () => [
|
|
1508
1508
|
(m(), I(We(pe)))
|
|
@@ -1946,7 +1946,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1946
1946
|
},
|
|
1947
1947
|
R(Ze)(
|
|
1948
1948
|
l.value.form,
|
|
1949
|
-
(
|
|
1949
|
+
(P) => !["footer", "submit", "reset", "slots", "type", "sort"].includes(P)
|
|
1950
1950
|
)
|
|
1951
1951
|
), {
|
|
1952
1952
|
default: $(() => [
|
|
@@ -1954,18 +1954,18 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
1954
1954
|
se(_, U({
|
|
1955
1955
|
class: "demo-tabs",
|
|
1956
1956
|
modelValue: oe.value[0].groupName,
|
|
1957
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
1957
|
+
"onUpdate:modelValue": w[0] || (w[0] = (P) => oe.value[0].groupName = P),
|
|
1958
1958
|
style: { width: "100%" }
|
|
1959
1959
|
}, l.value.form.tabs), {
|
|
1960
1960
|
default: $(() => [
|
|
1961
|
-
(m(!0), F(le, null, X(oe.value, (
|
|
1962
|
-
key:
|
|
1963
|
-
label:
|
|
1964
|
-
name:
|
|
1961
|
+
(m(!0), F(le, null, X(oe.value, (P) => (m(), I(O, U({
|
|
1962
|
+
key: P.groupName,
|
|
1963
|
+
label: P.groupName,
|
|
1964
|
+
name: P.groupName,
|
|
1965
1965
|
style: { width: "100%", display: "flex", "flex-wrap": "wrap" }
|
|
1966
|
-
}, { ref_for: !0 },
|
|
1966
|
+
}, { ref_for: !0 }, P.tabPane), {
|
|
1967
1967
|
default: $(() => [
|
|
1968
|
-
(m(!0), F(le, null, X(
|
|
1968
|
+
(m(!0), F(le, null, X(P.items, (H, Ee) => (m(), I(i, U({ ref_for: !0 }, { ...l.value.form.cols, ...H == null ? void 0 : H.item.col }, {
|
|
1969
1969
|
key: H.key,
|
|
1970
1970
|
style: { width: "100%" }
|
|
1971
1971
|
}), {
|
|
@@ -2022,7 +2022,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2022
2022
|
_: 3
|
|
2023
2023
|
}, 16, ["modelValue"])
|
|
2024
2024
|
], !0) : C(T.$slots, "default", { key: 1 }, () => [
|
|
2025
|
-
(m(!0), F(le, null, X(G.value, (
|
|
2025
|
+
(m(!0), F(le, null, X(G.value, (P, H) => (m(), I(i, U({ ref_for: !0 }, { ...l.value.form.cols, ...P.col }, {
|
|
2026
2026
|
key: H,
|
|
2027
2027
|
style: { width: "100%" }
|
|
2028
2028
|
}), {
|
|
@@ -2030,22 +2030,22 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2030
2030
|
var Ee;
|
|
2031
2031
|
return [
|
|
2032
2032
|
se(b, U({
|
|
2033
|
-
label:
|
|
2033
|
+
label: P.label,
|
|
2034
2034
|
prop: H,
|
|
2035
|
-
rules: Z(
|
|
2036
|
-
}, { ref_for: !0 }, { ...(Ee = l.value) == null ? void 0 : Ee.formItems, ...
|
|
2035
|
+
rules: Z(P)
|
|
2036
|
+
}, { ref_for: !0 }, { ...(Ee = l.value) == null ? void 0 : Ee.formItems, ...P == null ? void 0 : P.formItem }, { style: { width: "100%" } }), {
|
|
2037
2037
|
label: $((pe) => [
|
|
2038
2038
|
C(T.$slots, `f-${H}-label`, {
|
|
2039
2039
|
data: pe,
|
|
2040
|
-
item:
|
|
2040
|
+
item: P,
|
|
2041
2041
|
model: l.value
|
|
2042
2042
|
}, () => [
|
|
2043
|
-
Ue(Ce(
|
|
2043
|
+
Ue(Ce(P.label), 1)
|
|
2044
2044
|
], !0)
|
|
2045
2045
|
]),
|
|
2046
2046
|
default: $(() => [
|
|
2047
2047
|
C(T.$slots, "f-" + H, {
|
|
2048
|
-
item:
|
|
2048
|
+
item: P,
|
|
2049
2049
|
formInfo: f.value,
|
|
2050
2050
|
model: l.value,
|
|
2051
2051
|
form: f.value
|
|
@@ -2053,9 +2053,9 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2053
2053
|
(m(), I(Ct, {
|
|
2054
2054
|
modelValue: f.value[H],
|
|
2055
2055
|
"onUpdate:modelValue": (pe) => f.value[H] = pe,
|
|
2056
|
-
item: x(
|
|
2056
|
+
item: x(P, !0),
|
|
2057
2057
|
ctrlKey: H,
|
|
2058
|
-
ctrlType: L(
|
|
2058
|
+
ctrlType: L(P),
|
|
2059
2059
|
key: `${H}-${S.value}`,
|
|
2060
2060
|
model: l.value,
|
|
2061
2061
|
class: "g-ctrl-container",
|
|
@@ -2067,7 +2067,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2067
2067
|
fn: $((Ae) => [
|
|
2068
2068
|
C(T.$slots, Le, {
|
|
2069
2069
|
data: Ae,
|
|
2070
|
-
item:
|
|
2070
|
+
item: P,
|
|
2071
2071
|
model: l.value
|
|
2072
2072
|
}, void 0, !0)
|
|
2073
2073
|
])
|
|
@@ -2090,25 +2090,25 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2090
2090
|
style: Re(l.value.form.footer.style)
|
|
2091
2091
|
}, [
|
|
2092
2092
|
C(T.$slots, "f-footer-left", {}, void 0, !0),
|
|
2093
|
-
(m(!0), F(le, null, X(he.value, (
|
|
2094
|
-
C(T.$slots,
|
|
2095
|
-
C(T.$slots,
|
|
2093
|
+
(m(!0), F(le, null, X(he.value, (P) => (m(), F(le, null, [
|
|
2094
|
+
C(T.$slots, P.name + "-left", {}, void 0, !0),
|
|
2095
|
+
C(T.$slots, P.name, {}, () => {
|
|
2096
2096
|
var H;
|
|
2097
2097
|
return [
|
|
2098
|
-
(H =
|
|
2098
|
+
(H = P == null ? void 0 : P.info) != null && H.hidden ? be("", !0) : (m(), I(V, U({
|
|
2099
2099
|
key: 0,
|
|
2100
2100
|
ref_for: !0
|
|
2101
|
-
},
|
|
2102
|
-
onClick: it((Ee) =>
|
|
2101
|
+
}, P.info, {
|
|
2102
|
+
onClick: it((Ee) => P.click(f.value, l.value, P.flag), ["stop"])
|
|
2103
2103
|
}), {
|
|
2104
2104
|
default: $(() => [
|
|
2105
|
-
Ue(Ce(
|
|
2105
|
+
Ue(Ce(P == null ? void 0 : P.label), 1)
|
|
2106
2106
|
]),
|
|
2107
2107
|
_: 2
|
|
2108
2108
|
}, 1040, ["onClick"]))
|
|
2109
2109
|
];
|
|
2110
2110
|
}, !0),
|
|
2111
|
-
C(T.$slots,
|
|
2111
|
+
C(T.$slots, P.name + "-right", {}, void 0, !0)
|
|
2112
2112
|
], 64))), 256)),
|
|
2113
2113
|
C(T.$slots, "f-footer-right", {}, void 0, !0)
|
|
2114
2114
|
], 4)
|
|
@@ -2282,7 +2282,7 @@ const Vt = /* @__PURE__ */ ll(Al), Je = (r, s) => {
|
|
|
2282
2282
|
]))
|
|
2283
2283
|
]));
|
|
2284
2284
|
}
|
|
2285
|
-
}), At = /* @__PURE__ */ Je(la, [["__scopeId", "data-v-
|
|
2285
|
+
}), At = /* @__PURE__ */ Je(la, [["__scopeId", "data-v-ae995f57"]]), aa = { style: { padding: "15px", "box-sizing": "border-box" } }, ra = { style: { display: "flex", flex: "1", "align-items": "center", height: "30px" } }, na = { style: { display: "flex", flex: "1", "align-items": "center" } }, oa = {
|
|
2286
2286
|
style: { display: "flex", "flex-wrap": "wrap" },
|
|
2287
2287
|
id: "excelSortEl"
|
|
2288
2288
|
}, ua = ["textContent"], sa = { style: { width: "100%", display: "flex", padding: "10px", "box-sizing": "border-box", "justify-content": "center", "border-top": "1px solid #dcdfe6" } }, ia = {
|
|
@@ -2569,7 +2569,7 @@ const wa = { style: { padding: "15px", "box-sizing": "border-box" } }, ka = { st
|
|
|
2569
2569
|
});
|
|
2570
2570
|
}
|
|
2571
2571
|
}, v = () => {
|
|
2572
|
-
|
|
2572
|
+
Pt.confirm("确定要复位吗?", "提示", {
|
|
2573
2573
|
confirmButtonText: "确定",
|
|
2574
2574
|
cancelButtonText: "取消",
|
|
2575
2575
|
type: "warning"
|
|
@@ -2841,7 +2841,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
2841
2841
|
"row-save"
|
|
2842
2842
|
], ["update:modelValue"]),
|
|
2843
2843
|
setup(r, { expose: s, emit: t }) {
|
|
2844
|
-
var Me, Oe, Ie, Ge, He,
|
|
2844
|
+
var Me, Oe, Ie, Ge, He, Pe, Ne;
|
|
2845
2845
|
const l = re(""), n = t, e = rt(r, "modelValue"), h = qt("options"), f = re({}), S = Object.entries(e.value).filter(([a, u]) => (u == null ? void 0 : u.search) !== void 0).map(([a, u]) => {
|
|
2846
2846
|
var k;
|
|
2847
2847
|
let p;
|
|
@@ -3113,7 +3113,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3113
3113
|
e.value.formItems = ze(
|
|
3114
3114
|
we,
|
|
3115
3115
|
h == null ? void 0 : h.formItems,
|
|
3116
|
-
(
|
|
3116
|
+
(Pe = e == null ? void 0 : e.value) == null ? void 0 : Pe.formItems
|
|
3117
3117
|
);
|
|
3118
3118
|
const Ve = {
|
|
3119
3119
|
title: "编辑",
|
|
@@ -3130,7 +3130,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3130
3130
|
e.value.dialog = ze(
|
|
3131
3131
|
Ve,
|
|
3132
3132
|
h == null ? void 0 : h.dialog,
|
|
3133
|
-
(
|
|
3133
|
+
(Ne = e.value) == null ? void 0 : Ne.dialog
|
|
3134
3134
|
);
|
|
3135
3135
|
const xe = (a, u) => {
|
|
3136
3136
|
let p = u;
|
|
@@ -3187,7 +3187,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3187
3187
|
e.value.control.delete(a, u, p, k).click(a, u, p, k);
|
|
3188
3188
|
else {
|
|
3189
3189
|
let { message: Y, title: $e, options: qe } = e.value.control.delete(a, u, p, k).dialog;
|
|
3190
|
-
|
|
3190
|
+
Pt.confirm(Y, $e, qe).then(() => {
|
|
3191
3191
|
n(
|
|
3192
3192
|
"delete",
|
|
3193
3193
|
{ row: a, column: u, index: p, m: k },
|
|
@@ -3211,7 +3211,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3211
3211
|
e.value[Y] && (e.value[Y].value = a[Y]);
|
|
3212
3212
|
}), c.value = !0, n("open", "view", { m: k, row: a, column: u, index: p }), mt());
|
|
3213
3213
|
}, i = (a, u = x.value) => {
|
|
3214
|
-
Object.assign(a,
|
|
3214
|
+
Object.assign(a, u);
|
|
3215
3215
|
}, O = (a, u, p, k) => {
|
|
3216
3216
|
const D = e.value.control.save(a, u, p, k);
|
|
3217
3217
|
D != null && D.click ? D.click(a, u, p, k) : n(
|
|
@@ -3288,7 +3288,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3288
3288
|
edit: T,
|
|
3289
3289
|
delete: w,
|
|
3290
3290
|
save: O
|
|
3291
|
-
},
|
|
3291
|
+
}, P = (a, u, p, k, D) => a.filter((B) => fe[B]).map((B) => {
|
|
3292
3292
|
const Y = ne == null ? void 0 : ne[B](u, p, k, D);
|
|
3293
3293
|
return {
|
|
3294
3294
|
name: `control-${B}`,
|
|
@@ -3298,7 +3298,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3298
3298
|
sort: (Y == null ? void 0 : Y.sort) || 0,
|
|
3299
3299
|
groupName: (Y == null ? void 0 : Y.groupName) || "default"
|
|
3300
3300
|
};
|
|
3301
|
-
}).sort((B, Y) => B.sort - Y.sort), H = (a, u, p, k, D) =>
|
|
3301
|
+
}).sort((B, Y) => B.sort - Y.sort), H = (a, u, p, k, D) => P(a, u, p, k, D).reduce((B, Y) => {
|
|
3302
3302
|
const $e = Y.groupName || "default";
|
|
3303
3303
|
return B[$e] || (B[$e] = []), B[$e].push(Y), B;
|
|
3304
3304
|
}, {}), Ee = Qe(() => Object.fromEntries(
|
|
@@ -3365,9 +3365,9 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3365
3365
|
e.value[u].showCol === void 0 && (e.value[u].showCol = !0);
|
|
3366
3366
|
});
|
|
3367
3367
|
}
|
|
3368
|
-
},
|
|
3368
|
+
}, N = () => za(Object.keys(e.value).toString()).toUpperCase().substring(8, 24);
|
|
3369
3369
|
return bl(() => {
|
|
3370
|
-
z.value =
|
|
3370
|
+
z.value = N();
|
|
3371
3371
|
}), yt(async () => {
|
|
3372
3372
|
try {
|
|
3373
3373
|
o.value = Object.entries(e.value).filter(
|
|
@@ -3833,7 +3833,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3833
3833
|
], 64);
|
|
3834
3834
|
};
|
|
3835
3835
|
}
|
|
3836
|
-
}), Ha = /* @__PURE__ */ Je(Ra, [["__scopeId", "data-v-
|
|
3836
|
+
}), Ha = /* @__PURE__ */ Je(Ra, [["__scopeId", "data-v-bed4a5d4"]]), Ba = { class: "g-tree-table" }, Pa = { class: "g-tree-container" }, Na = { class: "g-tree-table-container" }, ja = /* @__PURE__ */ Object.assign({
|
|
3837
3837
|
name: "g-tree-table",
|
|
3838
3838
|
inheritAttrs: !1
|
|
3839
3839
|
}, {
|
|
@@ -3874,7 +3874,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3874
3874
|
placeholder: "输入节点查询",
|
|
3875
3875
|
clearable: ""
|
|
3876
3876
|
}, null, 8, ["modelValue"])) : be("", !0),
|
|
3877
|
-
K("div",
|
|
3877
|
+
K("div", Pa, [
|
|
3878
3878
|
se(oe, U({
|
|
3879
3879
|
style: { width: e.value },
|
|
3880
3880
|
"filter-node-method": v,
|
|
@@ -3902,7 +3902,7 @@ const za = /* @__PURE__ */ ll(Aa), Ua = { class: "g-table-container" }, La = {
|
|
|
3902
3902
|
]), 1040, ["style"])
|
|
3903
3903
|
])
|
|
3904
3904
|
], 4),
|
|
3905
|
-
K("div",
|
|
3905
|
+
K("div", Na, [
|
|
3906
3906
|
se(ie, U({
|
|
3907
3907
|
modelValue: l.value,
|
|
3908
3908
|
"onUpdate:modelValue": G[1] || (G[1] = (he) => l.value = he)
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.custom-upload[data-v-7df009cc]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px}[data-v-7df009cc] .custom-upload img{width:100%;height:100%}[data-v-7df009cc] .custom-upload .el-upload--picture-card,[data-v-7df009cc] .custom-upload .el-upload-dragger,[data-v-7df009cc] .custom-upload .el-upload-list__item{width:var(--up-width);height:var(--up-height);line-height:var(--up-height);box-sizing:border-box}[data-v-7df009cc] .custom-upload .el-upload-dragger{display:flex;align-items:center;justify-content:center;border:1px dashed var(--el-border-color);border-radius:6px;background-color:var(--el-fill-color-light);transition:border-color .3s}[data-v-7df009cc] .custom-upload .el-upload-dragger:hover{border-color:var(--el-color-primary)}[data-v-7df009cc] .custom-upload .el-icon{font-size:var(--up-font-size)}.up-view[data-v-7df009cc]:hover{background-color:#0003}.g-query-container[data-v-fbc339ad]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-fbc339ad]{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-fbc339ad]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:18px 18px 0;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-fbc339ad],.nested-leave-active[data-v-fbc339ad]{transition:all .3s ease-in-out}.nested-leave-active[data-v-fbc339ad]{transition-delay:.25s}.nested-enter-from[data-v-fbc339ad],.nested-leave-to[data-v-fbc339ad]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-fbc339ad],.nested-leave-active .inner[data-v-fbc339ad]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-fbc339ad]{transition-delay:.25s}.nested-enter-from .inner[data-v-fbc339ad],.nested-leave-to .inner[data-v-fbc339ad]{transform:translateY(-100px);opacity:.001}.query-form[data-v-fbc339ad]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.g-form-container[data-v-3b3ffd4d]{width:100%;display:flex;flex-direction:column}.dialog-extend-container[data-v-
|
|
1
|
+
.custom-upload[data-v-7df009cc]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px}[data-v-7df009cc] .custom-upload img{width:100%;height:100%}[data-v-7df009cc] .custom-upload .el-upload--picture-card,[data-v-7df009cc] .custom-upload .el-upload-dragger,[data-v-7df009cc] .custom-upload .el-upload-list__item{width:var(--up-width);height:var(--up-height);line-height:var(--up-height);box-sizing:border-box}[data-v-7df009cc] .custom-upload .el-upload-dragger{display:flex;align-items:center;justify-content:center;border:1px dashed var(--el-border-color);border-radius:6px;background-color:var(--el-fill-color-light);transition:border-color .3s}[data-v-7df009cc] .custom-upload .el-upload-dragger:hover{border-color:var(--el-color-primary)}[data-v-7df009cc] .custom-upload .el-icon{font-size:var(--up-font-size)}.up-view[data-v-7df009cc]:hover{background-color:#0003}.g-query-container[data-v-fbc339ad]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-fbc339ad]{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-fbc339ad]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:18px 18px 0;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-fbc339ad],.nested-leave-active[data-v-fbc339ad]{transition:all .3s ease-in-out}.nested-leave-active[data-v-fbc339ad]{transition-delay:.25s}.nested-enter-from[data-v-fbc339ad],.nested-leave-to[data-v-fbc339ad]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-fbc339ad],.nested-leave-active .inner[data-v-fbc339ad]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-fbc339ad]{transition-delay:.25s}.nested-enter-from .inner[data-v-fbc339ad],.nested-leave-to .inner[data-v-fbc339ad]{transform:translateY(-100px);opacity:.001}.query-form[data-v-fbc339ad]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.g-form-container[data-v-3b3ffd4d]{width:100%;display:flex;flex-direction:column}.dialog-extend-container[data-v-ae995f57]{position:relative}.custom-header[data-v-ae995f57]{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%;cursor:move;padding-left:10px;box-sizing:border-box;color:var(--el-text-color-regular)}.header-btn-group[data-v-ae995f57]{display:flex;align-items:center;gap:2px}.header-btn-group .btn-icon[data-v-ae995f57]{display:flex;align-items:center;justify-content:center;width:34px;height:100%;font-size:14px;cursor:pointer;border-radius:4px}.header-btn-group .btn-icon[data-v-ae995f57]:hover{background:var(--el-fill-color-light);color:var(--el-color-primary)}[data-v-ae995f57] .dialog-maximize.el-dialog{width:100vw!important;height:100vh!important;--el-dialog-width: 100vw !important;--el-dialog-margin-top: 0 !important;margin:0!important;padding:0!important;max-width:100vw!important;max-height:100vh!important;z-index:2005!important;display:flex!important;flex-direction:column!important}[data-v-ae995f57] .el-dialog__header{height:44px;margin:0!important;border-bottom:1px solid var(--el-border-color);flex-shrink:0;display:flex!important;align-items:center!important}[data-v-ae995f57] .show-close{height:44px!important;margin:0!important;padding:0!important}[data-v-ae995f57] .dialog-maximize.el-dialog .el-dialog__body{display:flex!important;flex:1;overflow-x:hidden;margin:0!important;padding:0!important;box-sizing:border-box}[data-v-ae995f57] .el-dialog__footer{padding:10px 20px;margin:0!important;border-top:1px solid var(--el-border-color)}[data-v-ae995f57] .el-drawer__header{margin:0!important;border-bottom:1px solid var(--el-border-color);flex-shrink:0;height:44px;display:flex!important;align-items:center!important;padding:0;box-sizing:border-box}[data-v-ae995f57] .el-drawer__footer{padding:10px 20px;margin:0!important;border-top:1px solid var(--el-border-color)}[data-v-ae995f57] .dialog-maximize .el-overlay{overflow:hidden}.minimize-ball[data-v-ae995f57]{position:fixed;right:30px;bottom:30px;width:180px;height:42px;line-height:42px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:6px;box-shadow:var(--el-box-shadow-light);text-align:center;cursor:pointer;z-index:9999;color:var(--el-text-color-regular);font-size:14px;transition:all .2s}.minimize-ball[data-v-ae995f57]:hover{border-color:var(--el-color-primary-light-7);background:var(--el-fill-color-light);color:var(--el-color-primary)}[data-v-ae995f57] .el-dialog__close{font-size:18px!important}[data-v-ae995f57] .el-drawer__close{margin-right:20px}[data-v-ae995f57] .el-dialog{padding:0!important}.check-box-hover[data-v-13575747]:hover,.check-box-hover[data-v-11d261e3]:hover{background:var(--el-border-color)}.allcheck a[data-v-11d261e3]{cursor:pointer}.filtered[data-v-11d261e3]{pointer-events:none}.g-cell-toopTip[data-v-f28912da]{max-height:400px;border-radius:var(--el-border-radius-base);padding:12px;transition:all .3s ease}.g-cell-toopTip .title[data-v-f28912da]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;height:24px;border-bottom:1px solid var(--el-border-color)}.g-cell-toopTip .title .title-text[data-v-f28912da]{font-weight:700;line-height:24px}.g-cell-toopTip .content[data-v-f28912da]{max-height:300px;overflow-y:auto;line-height:1.5;padding:4px 0}.copy-btn[data-v-f28912da]{width:16px;height:16px;cursor:pointer}.copy-btn[data-v-f28912da]:hover{color:var(--el-color-success)}.control .el-button[data-v-bed4a5d4]{padding:0 3px;margin:0 3px}.g-table-container[data-v-bed4a5d4]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-bed4a5d4]{background-color:var(--el-bg-color);margin-bottom:10px;border:1px solid var(--el-border-color-lighter)}.table-container[data-v-bed4a5d4]{box-sizing:border-box;background-color:var(--el-bg-color)}.max[data-v-bed4a5d4]{cursor:pointer;color:var(--el-text-color)}.max[data-v-bed4a5d4]:hover{color:var(--el-color-primary)}.btns[data-v-bed4a5d4]{display:flex}[data-v-bed4a5d4] .drag-dialog{resize:both;overflow:auto}[data-v-bed4a5d4] .el-dialog__header,[data-v-bed4a5d4] .el-dialog__body{pointer-events:auto!important}.g-tree-table[data-v-c888e4fc]{width:100%;display:flex;box-sizing:border-box}.g-tree-container[data-v-c888e4fc]{display:flex;width:100%;box-sizing:border-box;border-radius:4px;overflow:auto;height:100%;border:1px solid var(--el-border-color-lighter)}.g-tree-table-container[data-v-c888e4fc]{display:flex;flex:1;overflow:auto}.g-tree-left[data-v-c888e4fc]{display:flex;flex-direction:column;box-sizing:border-box;margin-right:10px;overflow:auto}.op-group[data-v-c0ac6b77]{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:#fff;padding:5px 25px;box-sizing:border-box;background-color:var(--el-color-primary-light-3)}.op-items[data-v-c0ac6b77]{display:flex;justify-content:space-between;align-items:center;color:#666;margin-left:12px}.op-items span[data-v-c0ac6b77]{background-color:var(--el-color-primary-light-7);border-radius:3px;margin:2px 2px 0 0;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
|