vue-2024-ui 0.2.49 → 0.2.51
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 +46 -44
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -212,7 +212,7 @@ var Zt = { exports: {} };
|
|
|
212
212
|
ce[se] = Q;
|
|
213
213
|
var we = "$isDayjsObject", Fe = function(w) {
|
|
214
214
|
return w instanceof Te || !(!w || !w[we]);
|
|
215
|
-
},
|
|
215
|
+
}, Se = function w(b, s, V) {
|
|
216
216
|
var _;
|
|
217
217
|
if (!b) return se;
|
|
218
218
|
if (typeof b == "string") {
|
|
@@ -230,12 +230,12 @@ var Zt = { exports: {} };
|
|
|
230
230
|
var s = typeof b == "object" ? b : {};
|
|
231
231
|
return s.date = w, s.args = arguments, new Te(s);
|
|
232
232
|
}, oe = me;
|
|
233
|
-
oe.l =
|
|
233
|
+
oe.l = Se, oe.i = Fe, oe.w = function(w, b) {
|
|
234
234
|
return ee(w, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
|
|
235
235
|
};
|
|
236
236
|
var Te = function() {
|
|
237
237
|
function w(s) {
|
|
238
|
-
this.$L =
|
|
238
|
+
this.$L = Se(s.locale, null, !0), this.parse(s), this.$x = this.$x || s.x || {}, this[we] = !0;
|
|
239
239
|
}
|
|
240
240
|
var b = w.prototype;
|
|
241
241
|
return b.parse = function(s) {
|
|
@@ -435,7 +435,7 @@ var Zt = { exports: {} };
|
|
|
435
435
|
return ce[this.$L];
|
|
436
436
|
}, b.locale = function(s, V) {
|
|
437
437
|
if (!s) return this.$L;
|
|
438
|
-
var _ = this.clone(), A =
|
|
438
|
+
var _ = this.clone(), A = Se(s, V, !0);
|
|
439
439
|
return A && (_.$L = A), _;
|
|
440
440
|
}, b.clone = function() {
|
|
441
441
|
return oe.w(this.$d, this);
|
|
@@ -455,7 +455,7 @@ var Zt = { exports: {} };
|
|
|
455
455
|
};
|
|
456
456
|
}), ee.extend = function(w, b) {
|
|
457
457
|
return w.$i || (w(b, Te, ee), w.$i = !0), ee;
|
|
458
|
-
}, ee.locale =
|
|
458
|
+
}, ee.locale = Se, ee.isDayjs = Fe, ee.unix = function(w) {
|
|
459
459
|
return ee(1e3 * w);
|
|
460
460
|
}, ee.en = ce[se], ee.Ls = ce, ee.p = {}, ee;
|
|
461
461
|
});
|
|
@@ -547,7 +547,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
547
547
|
}, Fe = () => {
|
|
548
548
|
var B, C;
|
|
549
549
|
t.value.noSearch !== !0 && d.t === "q" && ((C = (B = h.value) == null ? void 0 : B.table) == null || C.load());
|
|
550
|
-
},
|
|
550
|
+
}, Se = (B) => {
|
|
551
551
|
B.preventDefault(), B.stopPropagation(), l.value = "";
|
|
552
552
|
}, ee = (B) => {
|
|
553
553
|
var C;
|
|
@@ -637,7 +637,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
637
637
|
});
|
|
638
638
|
return (B, C) => {
|
|
639
639
|
var ue, et, tt, Xe, Qe, st, H, ze, lt, vt;
|
|
640
|
-
const W = z("el-image-viewer"), _e = z("el-radio"), Be = z("el-radio-group"), qe = z("el-radio-button"), Ke = z("el-checkbox"), Le = z("el-checkbox-group"), Pe = z("el-checkbox-button"), je = z("g-select-option"), We = z("el-option"), yt = z("el-select"), a = z("el-tree-select"), r = z("el-time-picker"), m = z("el-time-select"), $ = z("el-date-picker"), x = z("el-color-picker"), U = z("el-rate"), G = z("el-slider"), ge = z("el-switch"),
|
|
640
|
+
const W = z("el-image-viewer"), _e = z("el-radio"), Be = z("el-radio-group"), qe = z("el-radio-button"), Ke = z("el-checkbox"), Le = z("el-checkbox-group"), Pe = z("el-checkbox-button"), je = z("g-select-option"), We = z("el-option"), yt = z("el-select"), a = z("el-tree-select"), r = z("el-time-picker"), m = z("el-time-select"), $ = z("el-date-picker"), x = z("el-color-picker"), U = z("el-rate"), G = z("el-slider"), ge = z("el-switch"), xe = z("el-transfer"), Me = z("el-cascader"), He = z("el-icon"), Ne = z("el-image"), Ge = z("el-tooltip"), ct = z("el-upload"), gt = z("el-autocomplete"), bt = z("el-input-number"), ft = z("el-input"), P = z("el-link"), ie = z("el-text"), S = z("el-avatar"), K = z("el-tag");
|
|
641
641
|
return p(), R(le, null, [
|
|
642
642
|
Z("div", null, [
|
|
643
643
|
c.value ? (p(), q(W, {
|
|
@@ -931,7 +931,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
931
931
|
k(B.$slots, `${d.t}-${o.value}-${y}`, { data: fe }, void 0, !0)
|
|
932
932
|
])
|
|
933
933
|
}))
|
|
934
|
-
]), 1040, ["modelValue", "disabled"])) : e.value == N(ke).TRANSFER ? (p(), q(
|
|
934
|
+
]), 1040, ["modelValue", "disabled"])) : e.value == N(ke).TRANSFER ? (p(), q(xe, O({
|
|
935
935
|
key: 14,
|
|
936
936
|
modelValue: l.value,
|
|
937
937
|
"onUpdate:modelValue": C[16] || (C[16] = (y) => l.value = y)
|
|
@@ -942,7 +942,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
942
942
|
k(B.$slots, `${d.t}-${o.value}-${y}`, { data: fe }, void 0, !0)
|
|
943
943
|
])
|
|
944
944
|
}))
|
|
945
|
-
]), 1040, ["modelValue"])) : e.value == N(ke).CASCADER ? (p(), q(
|
|
945
|
+
]), 1040, ["modelValue"])) : e.value == N(ke).CASCADER ? (p(), q(Me, O({
|
|
946
946
|
key: 15,
|
|
947
947
|
modelValue: l.value,
|
|
948
948
|
"onUpdate:modelValue": C[17] || (C[17] = (y) => l.value = y)
|
|
@@ -1019,7 +1019,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1019
1019
|
ae(N(Nt), {
|
|
1020
1020
|
style: { width: "1.5em", height: "1.5em" },
|
|
1021
1021
|
color: "white",
|
|
1022
|
-
onClick:
|
|
1022
|
+
onClick: Se
|
|
1023
1023
|
})
|
|
1024
1024
|
]),
|
|
1025
1025
|
_: 1
|
|
@@ -1425,7 +1425,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1425
1425
|
more: Y
|
|
1426
1426
|
}, M);
|
|
1427
1427
|
}, u = Ht(), i = () => {
|
|
1428
|
-
var M, Q, de, me, se, ce, we, Fe,
|
|
1428
|
+
var M, Q, de, me, se, ce, we, Fe, Se;
|
|
1429
1429
|
const L = [
|
|
1430
1430
|
{
|
|
1431
1431
|
key: "query",
|
|
@@ -1451,7 +1451,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1451
1451
|
},
|
|
1452
1452
|
{
|
|
1453
1453
|
key: "more",
|
|
1454
|
-
hidden: (
|
|
1454
|
+
hidden: (Se = (Fe = (we = t.value) == null ? void 0 : we.query) == null ? void 0 : Fe.more) == null ? void 0 : Se.hidden,
|
|
1455
1455
|
component: t.value.query.more.mode === 3 ? xt : Ye,
|
|
1456
1456
|
props: t.value.query.more.mode === 3 ? { ...t.value.query.more.dialog } : {
|
|
1457
1457
|
...t.value.query.more,
|
|
@@ -1476,7 +1476,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1476
1476
|
alert("查询设置,正在开发中......");
|
|
1477
1477
|
};
|
|
1478
1478
|
return (L, Y) => {
|
|
1479
|
-
var de, me, se, ce, we, Fe,
|
|
1479
|
+
var de, me, se, ce, we, Fe, Se, ee, oe, Te, T, w, b, s, V, _, A;
|
|
1480
1480
|
const M = z("el-form-item"), Q = z("el-drawer");
|
|
1481
1481
|
return p(), R(le, null, [
|
|
1482
1482
|
Z("div", {
|
|
@@ -1531,7 +1531,7 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1531
1531
|
}, 16),
|
|
1532
1532
|
((we = (ce = (se = t.value) == null ? void 0 : se.query) == null ? void 0 : ce.container) == null ? void 0 : we.inline) === !1 ? (p(), R("div", {
|
|
1533
1533
|
key: 0,
|
|
1534
|
-
style: Ue((
|
|
1534
|
+
style: Ue((Se = (Fe = t.value.query) == null ? void 0 : Fe.btns) == null ? void 0 : Se.style)
|
|
1535
1535
|
}, [
|
|
1536
1536
|
t.value.query.group ? (p(), q(N(Et), { key: 0 }, {
|
|
1537
1537
|
default: E(() => [
|
|
@@ -1711,14 +1711,14 @@ const Mt = /* @__PURE__ */ Qt(Al), ut = (n, d) => {
|
|
|
1711
1711
|
}),
|
|
1712
1712
|
emits: /* @__PURE__ */ ot(["submit", "reset"], ["update:modelValue"]),
|
|
1713
1713
|
setup(n, { expose: d, emit: t }) {
|
|
1714
|
-
var we, Fe,
|
|
1714
|
+
var we, Fe, Se, ee, oe, Te;
|
|
1715
1715
|
const l = nt(n, "modelValue"), o = t, e = re(null), h = It("options"), f = re({}), D = re(""), c = n;
|
|
1716
1716
|
l.value.form = Ie(
|
|
1717
1717
|
Jt,
|
|
1718
1718
|
h == null ? void 0 : h.form,
|
|
1719
1719
|
(we = l.value) == null ? void 0 : we.form
|
|
1720
1720
|
), l.value.form.style = Ie(
|
|
1721
|
-
(
|
|
1721
|
+
(Se = (Fe = l.value) == null ? void 0 : Fe.form) == null ? void 0 : Se.style,
|
|
1722
1722
|
{ ...(ee = Ot()) == null ? void 0 : ee.style }
|
|
1723
1723
|
);
|
|
1724
1724
|
const v = async (T, w, b) => {
|
|
@@ -2915,21 +2915,21 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
2915
2915
|
var Ne, Ge, ct;
|
|
2916
2916
|
if (!x || !U || G == null)
|
|
2917
2917
|
return console.warn(`merge${a.charAt(0).toUpperCase() + a.slice(1)}: 缺少必要的参数(row, column或index)`), {};
|
|
2918
|
-
const
|
|
2919
|
-
return Ie(
|
|
2918
|
+
const xe = ((Ne = se[a]) == null ? void 0 : Ne.call(se, x, U, G, ge)) || {}, Me = ((ct = (Ge = h == null ? void 0 : h.control) == null ? void 0 : Ge[a]) == null ? void 0 : ct.call(Ge, x, U, G, ge)) || {}, He = (m == null ? void 0 : m(x, U, G, ge)) || {};
|
|
2919
|
+
return Ie(xe, Me, He) || {};
|
|
2920
2920
|
} : (x, U) => {
|
|
2921
|
-
var
|
|
2922
|
-
const G = ((
|
|
2923
|
-
return Ie(G, ge,
|
|
2921
|
+
var Me, He, Ne;
|
|
2922
|
+
const G = ((Me = se[a]) == null ? void 0 : Me.call(se, x, U)) || {}, ge = ((Ne = (He = h == null ? void 0 : h.control) == null ? void 0 : He[a]) == null ? void 0 : Ne.call(He, x, U)) || {}, xe = (m == null ? void 0 : m(x, U)) || {};
|
|
2923
|
+
return Ie(G, ge, xe) || {};
|
|
2924
2924
|
};
|
|
2925
2925
|
e.value.control[a] = $;
|
|
2926
2926
|
};
|
|
2927
2927
|
ce("edit"), ce("delete"), ce("view"), ce("save"), ce("add", !1), ce("download", !1), ce("setting", !1);
|
|
2928
2928
|
const we = (a, r, m, $) => {
|
|
2929
|
-
var ge,
|
|
2929
|
+
var ge, xe, Me, He, Ne, Ge;
|
|
2930
2930
|
if (!a || !r || m == null)
|
|
2931
2931
|
return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
|
|
2932
|
-
const x = ((ge = se.dropdown) == null ? void 0 : ge.call(se, a, r, m, $)) || {}, U = ((
|
|
2932
|
+
const x = ((ge = se.dropdown) == null ? void 0 : ge.call(se, a, r, m, $)) || {}, U = ((Me = (xe = h == null ? void 0 : h.control) == null ? void 0 : xe.dropdown) == null ? void 0 : Me.call(xe, a, r, m, $)) || {}, G = ((Ge = (Ne = (He = e.value) == null ? void 0 : He.control) == null ? void 0 : Ne.dropdown) == null ? void 0 : Ge.call(Ne, a, r, m, $)) || {};
|
|
2933
2933
|
return Ie(x, U, G) || {};
|
|
2934
2934
|
}, Fe = {
|
|
2935
2935
|
type: "hidden",
|
|
@@ -2947,7 +2947,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
2947
2947
|
h == null ? void 0 : h.form,
|
|
2948
2948
|
(je = e.value) == null ? void 0 : je.form
|
|
2949
2949
|
);
|
|
2950
|
-
const
|
|
2950
|
+
const Se = {
|
|
2951
2951
|
type: "hidden",
|
|
2952
2952
|
labelPosition: "right",
|
|
2953
2953
|
style: {
|
|
@@ -2955,7 +2955,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
2955
2955
|
}
|
|
2956
2956
|
};
|
|
2957
2957
|
e.value.formItems = Ie(
|
|
2958
|
-
|
|
2958
|
+
Se,
|
|
2959
2959
|
h == null ? void 0 : h.formItems,
|
|
2960
2960
|
(We = e == null ? void 0 : e.value) == null ? void 0 : We.formItems
|
|
2961
2961
|
);
|
|
@@ -3039,13 +3039,13 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3039
3039
|
if ((U = e.value.control.delete(a, r, m, $)) != null && U.click)
|
|
3040
3040
|
e.value.control.delete(a, r, m, $).click(a, r, m, $);
|
|
3041
3041
|
else {
|
|
3042
|
-
let { message: G, title: ge, options:
|
|
3043
|
-
Lt.confirm(G, ge,
|
|
3042
|
+
let { message: G, title: ge, options: xe } = e.value.control.delete(a, r, m, $).dialog;
|
|
3043
|
+
Lt.confirm(G, ge, xe).then(() => {
|
|
3044
3044
|
o(
|
|
3045
3045
|
"delete",
|
|
3046
3046
|
{ row: a, column: r, index: m, m: $ },
|
|
3047
|
-
(
|
|
3048
|
-
|
|
3047
|
+
(Me = !0, He = !1) => {
|
|
3048
|
+
Me && (e.value.table.data.splice(m, 1), e.value.table.page.total--), He && e.value.table.load();
|
|
3049
3049
|
}
|
|
3050
3050
|
);
|
|
3051
3051
|
}).catch(() => {
|
|
@@ -3073,10 +3073,11 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3073
3073
|
async (U = !0, G = !0) => {
|
|
3074
3074
|
if (U && e.value.table.load(), G && m === 0) {
|
|
3075
3075
|
const ge = Object.entries(e.value).filter(
|
|
3076
|
-
([
|
|
3076
|
+
([xe, Me]) => Me.type !== "control" && Me.type !== "hidden"
|
|
3077
|
+
// && val.editor !== false
|
|
3077
3078
|
);
|
|
3078
3079
|
M.value = Object.fromEntries(
|
|
3079
|
-
ge.map(([
|
|
3080
|
+
ge.map(([xe, Me]) => [xe, Me.value])
|
|
3080
3081
|
), e.value.table.data[m] = { ...M.value };
|
|
3081
3082
|
}
|
|
3082
3083
|
}
|
|
@@ -3141,14 +3142,14 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3141
3142
|
{ type: "delete", func: s },
|
|
3142
3143
|
{ type: "save", func: A }
|
|
3143
3144
|
], Ve = (a, r, m, $, x) => j.filter((U) => a.includes(U.type)).map(({ type: U, func: G }) => {
|
|
3144
|
-
var ge,
|
|
3145
|
+
var ge, xe, Me;
|
|
3145
3146
|
return {
|
|
3146
3147
|
name: `control-${U}`,
|
|
3147
3148
|
attr: I == null ? void 0 : I[U](r, m, $, x),
|
|
3148
3149
|
func: G,
|
|
3149
3150
|
label: (ge = I == null ? void 0 : I[U](r, m, $, x)) == null ? void 0 : ge.label,
|
|
3150
|
-
sort: ((
|
|
3151
|
-
groupName: ((
|
|
3151
|
+
sort: ((xe = I == null ? void 0 : I[U](r, m, $, x)) == null ? void 0 : xe.sort) || 0,
|
|
3152
|
+
groupName: ((Me = I == null ? void 0 : I[U](r, m, $, x)) == null ? void 0 : Me.groupName) || "default"
|
|
3152
3153
|
};
|
|
3153
3154
|
}).sort((U, G) => U.sort - G.sort), he = (a, r, m, $, x) => Ve(a, r, m, $, x).reduce((U, G) => {
|
|
3154
3155
|
const ge = G.groupName || "default";
|
|
@@ -3171,7 +3172,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3171
3172
|
if (a.getDicts) {
|
|
3172
3173
|
const $ = r.toString();
|
|
3173
3174
|
return Ae.value[$] ? (a.options = Ae.value[$], a.formatter || (a.formatter = (x, U, G, ge) => a.options && m(a.options, G) || G), Promise.resolve()) : a.getDicts(e.value.table.data).then((x) => {
|
|
3174
|
-
Ae.value[$] = x, a.options = x, a.formatter || (a.formatter = (U, G, ge,
|
|
3175
|
+
Ae.value[$] = x, a.options = x, a.formatter || (a.formatter = (U, G, ge, xe) => a.options && m(a.options, ge) || ge);
|
|
3175
3176
|
});
|
|
3176
3177
|
}
|
|
3177
3178
|
return Promise.resolve();
|
|
@@ -3246,7 +3247,8 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3246
3247
|
try {
|
|
3247
3248
|
await mt();
|
|
3248
3249
|
const a = Object.entries(e.value).filter(
|
|
3249
|
-
([r, m]) => m.type !== "control" &&
|
|
3250
|
+
([r, m]) => m.type !== "control" && //val.editor !== false &&
|
|
3251
|
+
m.type !== "hidden"
|
|
3250
3252
|
);
|
|
3251
3253
|
M.value = Object.fromEntries(
|
|
3252
3254
|
a.map(([r, m]) => [r, m.value])
|
|
@@ -3257,7 +3259,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3257
3259
|
e.value.table.autoWatch || e.value.table.load();
|
|
3258
3260
|
}), d({ addRow: w, editRow: b, deleteRow: s, readForm: V, saveRowData: A, closeDialog: W, formData: M }), (a, r) => {
|
|
3259
3261
|
var Ge, ct, gt, bt, ft;
|
|
3260
|
-
const m = z("el-icon"), $ = z("el-dialog"), x = z("el-drawer"), U = z("el-button-group"), G = z("el-dropdown-item"), ge = z("el-dropdown-menu"),
|
|
3262
|
+
const m = z("el-icon"), $ = z("el-dialog"), x = z("el-drawer"), U = z("el-button-group"), G = z("el-dropdown-item"), ge = z("el-dropdown-menu"), xe = z("el-dropdown"), Me = z("el-table-column"), He = z("el-table"), Ne = z("el-pagination");
|
|
3261
3263
|
return p(), R(le, null, [
|
|
3262
3264
|
e.value.dialog.mode == "dialog" && u.value ? (p(), R("div", Fa, [
|
|
3263
3265
|
ae($, O(
|
|
@@ -3486,7 +3488,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3486
3488
|
]),
|
|
3487
3489
|
default: E(() => [
|
|
3488
3490
|
k(a.$slots, "default", {}, () => [
|
|
3489
|
-
(p(!0), R(le, null, X(Re.value, (P, ie) => (p(), q(
|
|
3491
|
+
(p(!0), R(le, null, X(Re.value, (P, ie) => (p(), q(Me, O({
|
|
3490
3492
|
prop: ie,
|
|
3491
3493
|
key: ie,
|
|
3492
3494
|
ref_for: !0
|
|
@@ -3576,7 +3578,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3576
3578
|
column: K,
|
|
3577
3579
|
index: ue
|
|
3578
3580
|
}, void 0, !0)
|
|
3579
|
-
], 64))), 256)) : Qe != null && Qe.startsWith("dropdown") && ((st = we(S, K, ue, e.value)) != null && st.auth()) ? (p(), q(
|
|
3581
|
+
], 64))), 256)) : Qe != null && Qe.startsWith("dropdown") && ((st = we(S, K, ue, e.value)) != null && st.auth()) ? (p(), q(xe, O({
|
|
3580
3582
|
key: 1,
|
|
3581
3583
|
ref_for: !0
|
|
3582
3584
|
}, we(S, K, ue, e.value)), {
|
|
@@ -3776,7 +3778,7 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3776
3778
|
], 64);
|
|
3777
3779
|
};
|
|
3778
3780
|
}
|
|
3779
|
-
}), Pa = /* @__PURE__ */ ut(Na, [["__scopeId", "data-v-
|
|
3781
|
+
}), Pa = /* @__PURE__ */ ut(Na, [["__scopeId", "data-v-38ee20d9"]]), ja = { class: "g-tree-table" }, Wa = { class: "g-tree-container" }, Ga = { class: "g-tree-table-container" }, Xa = /* @__PURE__ */ Object.assign({
|
|
3780
3782
|
name: "g-tree-table",
|
|
3781
3783
|
inheritAttrs: !1
|
|
3782
3784
|
}, {
|
|
@@ -3838,8 +3840,8 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3838
3840
|
}, [
|
|
3839
3841
|
X(M.$slots, (ce, we, Fe) => ({
|
|
3840
3842
|
name: we,
|
|
3841
|
-
fn: E((
|
|
3842
|
-
k(M.$slots, we, { data:
|
|
3843
|
+
fn: E((Se) => [
|
|
3844
|
+
k(M.$slots, we, { data: Se }, void 0, !0)
|
|
3843
3845
|
])
|
|
3844
3846
|
}))
|
|
3845
3847
|
]), 1040, ["style"])
|
|
@@ -3852,8 +3854,8 @@ const Ta = /* @__PURE__ */ Qt(Ma), Fa = { key: 0 }, Va = { style: { display: "fl
|
|
|
3852
3854
|
}, M.$attrs, { onLoad: u }), $e({ _: 2 }, [
|
|
3853
3855
|
X(M.$slots, (ce, we, Fe) => ({
|
|
3854
3856
|
name: we,
|
|
3855
|
-
fn: E((
|
|
3856
|
-
k(M.$slots, we, { data:
|
|
3857
|
+
fn: E((Se) => [
|
|
3858
|
+
k(M.$slots, we, { data: Se }, void 0, !0)
|
|
3857
3859
|
])
|
|
3858
3860
|
}))
|
|
3859
3861
|
]), 1040, ["modelValue"])
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.custom-upload[data-v-5a3e415f]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px}[data-v-5a3e415f] .custom-upload img{width:100%;height:100%}[data-v-5a3e415f] .custom-upload .el-upload--picture-card,[data-v-5a3e415f] .custom-upload .el-upload-dragger,[data-v-5a3e415f] .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-5a3e415f] .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-5a3e415f] .custom-upload .el-upload-dragger:hover{border-color:var(--el-color-primary)}[data-v-5a3e415f] .custom-upload .el-icon{font-size:var(--up-font-size)}.up-view[data-v-5a3e415f]: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}.check-box-hover[data-v-13575747]:hover,.check-box-hover[data-v-428381ae]:hover{background:var(--el-border-color)}.allcheck a[data-v-428381ae]{cursor:pointer}.filtered[data-v-428381ae]{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-
|
|
1
|
+
.custom-upload[data-v-5a3e415f]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px}[data-v-5a3e415f] .custom-upload img{width:100%;height:100%}[data-v-5a3e415f] .custom-upload .el-upload--picture-card,[data-v-5a3e415f] .custom-upload .el-upload-dragger,[data-v-5a3e415f] .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-5a3e415f] .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-5a3e415f] .custom-upload .el-upload-dragger:hover{border-color:var(--el-color-primary)}[data-v-5a3e415f] .custom-upload .el-icon{font-size:var(--up-font-size)}.up-view[data-v-5a3e415f]: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}.check-box-hover[data-v-13575747]:hover,.check-box-hover[data-v-428381ae]:hover{background:var(--el-border-color)}.allcheck a[data-v-428381ae]{cursor:pointer}.filtered[data-v-428381ae]{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-38ee20d9]{padding:0 3px;margin:0 3px}.g-table-container[data-v-38ee20d9]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-38ee20d9]{background-color:var(--el-bg-color);margin-bottom:10px;border:1px solid var(--el-border-color-lighter)}.table-container[data-v-38ee20d9]{box-sizing:border-box;background-color:var(--el-bg-color)}.max[data-v-38ee20d9]{cursor:pointer;color:var(--el-text-color)}.max[data-v-38ee20d9]:hover{color:var(--el-color-primary)}.btns[data-v-38ee20d9]{display:flex}[data-v-38ee20d9] .drag-dialog{resize:both;overflow:auto}[data-v-38ee20d9] .el-dialog__header,[data-v-38ee20d9] .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}
|