vue-2024-ui 0.0.53 → 0.0.54
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 +212 -212
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ht, { ElForm as Ne, ElButtonGroup as Le, ElButton as be, ElPopover as We, ElMessage as we, ElMessageBox as ut, ElDialog as yt, ElDrawer as gt } from "element-plus";
|
|
2
|
-
import { mergeModels as Te, useModel as qe, ref as ye, onMounted as Ie, resolveComponent as j, openBlock as i, createElementBlock as I, unref as o, createBlock as C, mergeProps as
|
|
2
|
+
import { mergeModels as Te, useModel as qe, ref as ye, onMounted as Ie, resolveComponent as j, openBlock as i, createElementBlock as I, unref as o, createBlock as C, mergeProps as O, withCtx as v, renderSlot as f, Fragment as G, renderList as A, createTextVNode as Ee, toDisplayString as ve, createSlots as ae, normalizeProps as Be, createVNode as Z, createElementVNode as Q, useSlots as nt, inject as Je, useAttrs as Pe, onUnmounted as bt, computed as Oe, normalizeStyle as Me, withModifiers as rt, createCommentVNode as pe, guardReactiveProps as Ge, resolveDynamicComponent as De, Transition as $t, withDirectives as st, vShow as it, h as ke, onBeforeUnmount as Et, normalizeClass as dt, watchEffect as wt, watch as _t, createApp as kt } from "vue";
|
|
3
3
|
import { FullScreen as Ct, Remove as Vt } from "@element-plus/icons-vue";
|
|
4
4
|
import ct from "sortablejs";
|
|
5
5
|
import { Dexie as Dt } from "dexie";
|
|
@@ -189,55 +189,55 @@ var ft = { exports: {} };
|
|
|
189
189
|
(function(t, e) {
|
|
190
190
|
m.exports = e();
|
|
191
191
|
})(Tt, function() {
|
|
192
|
-
var t = 1e3, e = 6e4, n = 36e5, p = "millisecond", $ = "second", N = "minute", w = "hour", g = "day", T = "week", Y = "month", q = "quarter", y = "year", _ = "date", F = "Invalid Date", re = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, fe = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
193
|
-
var u = ["th", "st", "nd", "rd"], r =
|
|
194
|
-
return "[" +
|
|
195
|
-
} }, me = function(
|
|
196
|
-
var V = String(
|
|
197
|
-
return !V || V.length >= u ?
|
|
198
|
-
}, d = { s: me, z: function(
|
|
199
|
-
var u = -
|
|
192
|
+
var t = 1e3, e = 6e4, n = 36e5, p = "millisecond", $ = "second", N = "minute", w = "hour", g = "day", T = "week", Y = "month", q = "quarter", y = "year", _ = "date", F = "Invalid Date", re = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ue = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, fe = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(S) {
|
|
193
|
+
var u = ["th", "st", "nd", "rd"], r = S % 100;
|
|
194
|
+
return "[" + S + (u[(r - 20) % 10] || u[r] || u[0]) + "]";
|
|
195
|
+
} }, me = function(S, u, r) {
|
|
196
|
+
var V = String(S);
|
|
197
|
+
return !V || V.length >= u ? S : "" + Array(u + 1 - V.length).join(r) + S;
|
|
198
|
+
}, d = { s: me, z: function(S) {
|
|
199
|
+
var u = -S.utcOffset(), r = Math.abs(u), V = Math.floor(r / 60), b = r % 60;
|
|
200
200
|
return (u <= 0 ? "+" : "-") + me(V, 2, "0") + ":" + me(b, 2, "0");
|
|
201
|
-
}, m: function
|
|
202
|
-
if (u.date() < r.date()) return -
|
|
201
|
+
}, m: function S(u, r) {
|
|
202
|
+
if (u.date() < r.date()) return -S(r, u);
|
|
203
203
|
var V = 12 * (r.year() - u.year()) + (r.month() - u.month()), b = u.clone().add(V, Y), E = r - b < 0, k = u.clone().add(V + (E ? -1 : 1), Y);
|
|
204
204
|
return +(-(V + (r - b) / (E ? b - k : k - b)) || 0);
|
|
205
|
-
}, a: function(
|
|
206
|
-
return
|
|
207
|
-
}, p: function(
|
|
208
|
-
return { M: Y, y, w: T, d: g, D: _, h: w, m: N, s: $, ms: p, Q: q }[
|
|
209
|
-
}, u: function(
|
|
210
|
-
return
|
|
205
|
+
}, a: function(S) {
|
|
206
|
+
return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
|
|
207
|
+
}, p: function(S) {
|
|
208
|
+
return { M: Y, y, w: T, d: g, D: _, h: w, m: N, s: $, ms: p, Q: q }[S] || String(S || "").toLowerCase().replace(/s$/, "");
|
|
209
|
+
}, u: function(S) {
|
|
210
|
+
return S === void 0;
|
|
211
211
|
} }, x = "en", ee = {};
|
|
212
212
|
ee[x] = fe;
|
|
213
|
-
var D = "$isDayjsObject", ne = function(
|
|
214
|
-
return
|
|
215
|
-
}, R = function
|
|
213
|
+
var D = "$isDayjsObject", ne = function(S) {
|
|
214
|
+
return S instanceof le || !(!S || !S[D]);
|
|
215
|
+
}, R = function S(u, r, V) {
|
|
216
216
|
var b;
|
|
217
217
|
if (!u) return x;
|
|
218
218
|
if (typeof u == "string") {
|
|
219
219
|
var E = u.toLowerCase();
|
|
220
220
|
ee[E] && (b = E), r && (ee[E] = r, b = E);
|
|
221
221
|
var k = u.split("-");
|
|
222
|
-
if (!b && k.length > 1) return
|
|
222
|
+
if (!b && k.length > 1) return S(k[0]);
|
|
223
223
|
} else {
|
|
224
224
|
var U = u.name;
|
|
225
225
|
ee[U] = u, b = U;
|
|
226
226
|
}
|
|
227
227
|
return !V && b && (x = b), b || !V && x;
|
|
228
|
-
}, P = function(
|
|
229
|
-
if (ne(
|
|
228
|
+
}, P = function(S, u) {
|
|
229
|
+
if (ne(S)) return S.clone();
|
|
230
230
|
var r = typeof u == "object" ? u : {};
|
|
231
|
-
return r.date =
|
|
231
|
+
return r.date = S, r.args = arguments, new le(r);
|
|
232
232
|
}, K = d;
|
|
233
|
-
K.l = R, K.i = ne, K.w = function(
|
|
234
|
-
return P(
|
|
233
|
+
K.l = R, K.i = ne, K.w = function(S, u) {
|
|
234
|
+
return P(S, { locale: u.$L, utc: u.$u, x: u.$x, $offset: u.$offset });
|
|
235
235
|
};
|
|
236
236
|
var le = function() {
|
|
237
|
-
function
|
|
237
|
+
function S(r) {
|
|
238
238
|
this.$L = R(r.locale, null, !0), this.parse(r), this.$x = this.$x || r.x || {}, this[D] = !0;
|
|
239
239
|
}
|
|
240
|
-
var u =
|
|
240
|
+
var u = S.prototype;
|
|
241
241
|
return u.parse = function(r) {
|
|
242
242
|
this.$d = function(V) {
|
|
243
243
|
var b = V.date, E = V.utc;
|
|
@@ -447,16 +447,16 @@ var ft = { exports: {} };
|
|
|
447
447
|
return this.$d.toISOString();
|
|
448
448
|
}, u.toString = function() {
|
|
449
449
|
return this.$d.toUTCString();
|
|
450
|
-
},
|
|
450
|
+
}, S;
|
|
451
451
|
}(), ge = le.prototype;
|
|
452
|
-
return P.prototype = ge, [["$ms", p], ["$s", $], ["$m", N], ["$H", w], ["$W", g], ["$M", Y], ["$y", y], ["$D", _]].forEach(function(
|
|
453
|
-
ge[
|
|
454
|
-
return this.$g(u,
|
|
452
|
+
return P.prototype = ge, [["$ms", p], ["$s", $], ["$m", N], ["$H", w], ["$W", g], ["$M", Y], ["$y", y], ["$D", _]].forEach(function(S) {
|
|
453
|
+
ge[S[1]] = function(u) {
|
|
454
|
+
return this.$g(u, S[0], S[1]);
|
|
455
455
|
};
|
|
456
|
-
}), P.extend = function(
|
|
457
|
-
return
|
|
458
|
-
}, P.locale = R, P.isDayjs = ne, P.unix = function(
|
|
459
|
-
return P(1e3 *
|
|
456
|
+
}), P.extend = function(S, u) {
|
|
457
|
+
return S.$i || (S(u, le, P), S.$i = !0), P;
|
|
458
|
+
}, P.locale = R, P.isDayjs = ne, P.unix = function(S) {
|
|
459
|
+
return P(1e3 * S);
|
|
460
460
|
}, P.en = ee[x], P.Ls = ee, P.p = {}, P;
|
|
461
461
|
});
|
|
462
462
|
})(ft);
|
|
@@ -511,16 +511,16 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
511
511
|
})();
|
|
512
512
|
}), (q, y) => {
|
|
513
513
|
var H, oe;
|
|
514
|
-
const _ = j("el-radio"), F = j("el-radio-group"), re = j("el-radio-button"), ue = j("el-checkbox"), fe = j("el-checkbox-group"), me = j("el-checkbox-button"), d = j("el-option"), x = j("el-option-group"), ee = j("el-select"), D = j("el-tree-select"), ne = j("el-time-picker"), R = j("el-time-select"), P = j("el-date-picker"), K = j("el-color-picker"), le = j("el-rate"), ge = j("el-slider"),
|
|
514
|
+
const _ = j("el-radio"), F = j("el-radio-group"), re = j("el-radio-button"), ue = j("el-checkbox"), fe = j("el-checkbox-group"), me = j("el-checkbox-button"), d = j("el-option"), x = j("el-option-group"), ee = j("el-select"), D = j("el-tree-select"), ne = j("el-time-picker"), R = j("el-time-select"), P = j("el-date-picker"), K = j("el-color-picker"), le = j("el-rate"), ge = j("el-slider"), S = j("el-switch"), u = j("el-transfer"), r = j("el-cascader"), V = j("el-button"), b = j("el-upload"), E = j("el-autocomplete"), k = j("el-input-number"), U = j("el-input");
|
|
515
515
|
return i(), I("div", Ot, [
|
|
516
|
-
o(p) == o(
|
|
516
|
+
o(p) == o(de).RADIO ? (i(), C(F, O({
|
|
517
517
|
key: 0,
|
|
518
518
|
modelValue: c.value,
|
|
519
519
|
"onUpdate:modelValue": y[0] || (y[0] = (s) => c.value = s)
|
|
520
520
|
}, o(e)), {
|
|
521
521
|
default: v(() => [
|
|
522
522
|
f(q.$slots, `${t.t}-${o(n)}`, { data: o(e) }, () => [
|
|
523
|
-
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(_,
|
|
523
|
+
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(_, O({ ref_for: !0 }, s), {
|
|
524
524
|
default: v(() => [
|
|
525
525
|
f(q.$slots, `${t.t}-${o(n)}-options`, { option: s })
|
|
526
526
|
]),
|
|
@@ -529,14 +529,14 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
529
529
|
])
|
|
530
530
|
]),
|
|
531
531
|
_: 3
|
|
532
|
-
}, 16, ["modelValue"])) : o(p) == o(
|
|
532
|
+
}, 16, ["modelValue"])) : o(p) == o(de).RADIOBUTTON ? (i(), C(F, O({
|
|
533
533
|
key: 1,
|
|
534
534
|
modelValue: c.value,
|
|
535
535
|
"onUpdate:modelValue": y[1] || (y[1] = (s) => c.value = s)
|
|
536
536
|
}, o(e)), {
|
|
537
537
|
default: v(() => [
|
|
538
538
|
f(q.$slots, `${t.t}-${o(n)}`, { data: o(e) }, () => [
|
|
539
|
-
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(re,
|
|
539
|
+
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(re, O({ ref_for: !0 }, s), {
|
|
540
540
|
default: v(() => [
|
|
541
541
|
f(q.$slots, `${t.t}-${o(n)}-options`, { option: s })
|
|
542
542
|
]),
|
|
@@ -545,7 +545,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
545
545
|
])
|
|
546
546
|
]),
|
|
547
547
|
_: 3
|
|
548
|
-
}, 16, ["modelValue"])) : o(p) == o(
|
|
548
|
+
}, 16, ["modelValue"])) : o(p) == o(de).CHECKBOX ? (i(), C(ue, O({
|
|
549
549
|
key: 2,
|
|
550
550
|
modelValue: c.value,
|
|
551
551
|
"onUpdate:modelValue": y[2] || (y[2] = (s) => c.value = s)
|
|
@@ -556,14 +556,14 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
556
556
|
])
|
|
557
557
|
]),
|
|
558
558
|
_: 3
|
|
559
|
-
}, 16, ["modelValue"])) : o(p) == o(
|
|
559
|
+
}, 16, ["modelValue"])) : o(p) == o(de).CHECKBOXGROUP ? (i(), C(fe, O({
|
|
560
560
|
key: 3,
|
|
561
561
|
modelValue: c.value,
|
|
562
562
|
"onUpdate:modelValue": y[3] || (y[3] = (s) => c.value = s)
|
|
563
563
|
}, o(e)), {
|
|
564
564
|
default: v(() => [
|
|
565
565
|
f(q.$slots, `${t.t}-${o(n)}`, { data: o(e) }, () => [
|
|
566
|
-
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(ue,
|
|
566
|
+
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(ue, O({ ref_for: !0 }, s), {
|
|
567
567
|
default: v(() => [
|
|
568
568
|
f(q.$slots, `${t.t}-${o(n)}-options`, { option: s }, () => [
|
|
569
569
|
Ee(ve(s.label), 1)
|
|
@@ -574,14 +574,14 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
574
574
|
])
|
|
575
575
|
]),
|
|
576
576
|
_: 3
|
|
577
|
-
}, 16, ["modelValue"])) : o(p) == o(
|
|
577
|
+
}, 16, ["modelValue"])) : o(p) == o(de).CHECKBOXGROUPBUTTON ? (i(), C(fe, O({
|
|
578
578
|
key: 4,
|
|
579
579
|
modelValue: c.value,
|
|
580
580
|
"onUpdate:modelValue": y[4] || (y[4] = (s) => c.value = s)
|
|
581
581
|
}, o(e)), {
|
|
582
582
|
default: v(() => [
|
|
583
583
|
f(q.$slots, `${t.t}-${o(n)}`, { data: o(e) }, () => [
|
|
584
|
-
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(me,
|
|
584
|
+
(i(!0), I(G, null, A(o($)[o(n)].options, (s) => (i(), C(me, O({ ref_for: !0 }, s), {
|
|
585
585
|
default: v(() => [
|
|
586
586
|
f(q.$slots, `${t.t}-${o(n)}-options`, { option: s })
|
|
587
587
|
]),
|
|
@@ -590,7 +590,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
590
590
|
])
|
|
591
591
|
]),
|
|
592
592
|
_: 3
|
|
593
|
-
}, 16, ["modelValue"])) : o(p) === o(
|
|
593
|
+
}, 16, ["modelValue"])) : o(p) === o(de).SELECT ? (i(), C(ee, O({
|
|
594
594
|
key: 5,
|
|
595
595
|
modelValue: c.value,
|
|
596
596
|
"onUpdate:modelValue": y[5] || (y[5] = (s) => c.value = s),
|
|
@@ -607,7 +607,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
607
607
|
label: W.label
|
|
608
608
|
}, {
|
|
609
609
|
default: v(() => [
|
|
610
|
-
(i(!0), I(G, null, A(W.options, (l) => (i(), C(d,
|
|
610
|
+
(i(!0), I(G, null, A(W.options, (l) => (i(), C(d, O({ ref_for: !0 }, l, {
|
|
611
611
|
key: l.value,
|
|
612
612
|
onClick: (a) => g.change && g.change(l)
|
|
613
613
|
}), {
|
|
@@ -618,7 +618,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
618
618
|
}, 1040, ["onClick"]))), 128))
|
|
619
619
|
]),
|
|
620
620
|
_: 2
|
|
621
|
-
}, 1032, ["label"]))), 128)) : (i(!0), I(G, { key: 1 }, A(o($)[o(n)].options, (W) => (i(), C(d,
|
|
621
|
+
}, 1032, ["label"]))), 128)) : (i(!0), I(G, { key: 1 }, A(o($)[o(n)].options, (W) => (i(), C(d, O({ ref_for: !0 }, W, {
|
|
622
622
|
key: W.value,
|
|
623
623
|
onClick: (l) => g.change && g.change(W)
|
|
624
624
|
}), {
|
|
@@ -638,7 +638,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
638
638
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
639
639
|
])
|
|
640
640
|
}))
|
|
641
|
-
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(
|
|
641
|
+
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(de).TREESELECT ? (i(), C(D, O({
|
|
642
642
|
key: 6,
|
|
643
643
|
modelValue: c.value,
|
|
644
644
|
"onUpdate:modelValue": y[6] || (y[6] = (s) => c.value = s),
|
|
@@ -650,14 +650,14 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
650
650
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
651
651
|
])
|
|
652
652
|
}))
|
|
653
|
-
]), 1040, ["modelValue", "placeholder", "data"])) : o(p) == o(
|
|
653
|
+
]), 1040, ["modelValue", "placeholder", "data"])) : o(p) == o(de).TIME ? (i(), C(ne, O({
|
|
654
654
|
key: 7,
|
|
655
655
|
modelValue: c.value,
|
|
656
656
|
"onUpdate:modelValue": y[7] || (y[7] = (s) => c.value = s),
|
|
657
657
|
"arrow-control": ""
|
|
658
658
|
}, o(e), {
|
|
659
659
|
placeholder: o($)[o(n)].label
|
|
660
|
-
}), null, 16, ["modelValue", "placeholder"])) : o(p) == o(
|
|
660
|
+
}), null, 16, ["modelValue", "placeholder"])) : o(p) == o(de).TIMESELECT ? (i(), C(R, O({
|
|
661
661
|
key: 8,
|
|
662
662
|
modelValue: c.value,
|
|
663
663
|
"onUpdate:modelValue": y[8] || (y[8] = (s) => c.value = s),
|
|
@@ -665,7 +665,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
665
665
|
step: "00:15",
|
|
666
666
|
end: "23:30",
|
|
667
667
|
placeholder: o($)[o(n)].label
|
|
668
|
-
}, o(e)), null, 16, ["modelValue", "placeholder"])) : o(p) == o(
|
|
668
|
+
}, o(e)), null, 16, ["modelValue", "placeholder"])) : o(p) == o(de).DATE ? (i(), C(P, O({
|
|
669
669
|
key: 9,
|
|
670
670
|
modelValue: c.value,
|
|
671
671
|
"onUpdate:modelValue": y[9] || (y[9] = (s) => c.value = s),
|
|
@@ -678,11 +678,11 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
678
678
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
679
679
|
])
|
|
680
680
|
}))
|
|
681
|
-
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(
|
|
681
|
+
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(de).DATETIME ? (i(), C(P, O({
|
|
682
682
|
key: 10,
|
|
683
683
|
modelValue: c.value,
|
|
684
684
|
"onUpdate:modelValue": y[10] || (y[10] = (s) => c.value = s),
|
|
685
|
-
type: o(
|
|
685
|
+
type: o(de).DATETIME,
|
|
686
686
|
placeholder: o($)[o(n)].label
|
|
687
687
|
}, o(e)), ae({ _: 2 }, [
|
|
688
688
|
A(w(), (s) => ({
|
|
@@ -691,19 +691,19 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
691
691
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
692
692
|
])
|
|
693
693
|
}))
|
|
694
|
-
]), 1040, ["modelValue", "type", "placeholder"])) : o(p) == o(
|
|
694
|
+
]), 1040, ["modelValue", "type", "placeholder"])) : o(p) == o(de).COLOR ? (i(), C(K, O({
|
|
695
695
|
key: 11,
|
|
696
696
|
modelValue: c.value,
|
|
697
697
|
"onUpdate:modelValue": y[11] || (y[11] = (s) => c.value = s)
|
|
698
|
-
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(
|
|
698
|
+
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(de).RATE ? (i(), C(le, O({
|
|
699
699
|
key: 12,
|
|
700
700
|
modelValue: c.value,
|
|
701
701
|
"onUpdate:modelValue": y[12] || (y[12] = (s) => c.value = s)
|
|
702
|
-
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(
|
|
702
|
+
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(de).SLIDER ? (i(), C(ge, O({
|
|
703
703
|
key: 13,
|
|
704
704
|
modelValue: c.value,
|
|
705
705
|
"onUpdate:modelValue": y[13] || (y[13] = (s) => c.value = s)
|
|
706
|
-
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(
|
|
706
|
+
}, o(e)), null, 16, ["modelValue"])) : o(p) == o(de).SWITCH ? (i(), C(S, O({
|
|
707
707
|
key: 14,
|
|
708
708
|
modelValue: c.value,
|
|
709
709
|
"onUpdate:modelValue": y[14] || (y[14] = (s) => c.value = s)
|
|
@@ -714,7 +714,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
714
714
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
715
715
|
])
|
|
716
716
|
}))
|
|
717
|
-
]), 1040, ["modelValue"])) : o(p) == o(
|
|
717
|
+
]), 1040, ["modelValue"])) : o(p) == o(de).TRANSFER ? (i(), C(u, O({
|
|
718
718
|
key: 15,
|
|
719
719
|
modelValue: c.value,
|
|
720
720
|
"onUpdate:modelValue": y[15] || (y[15] = (s) => c.value = s)
|
|
@@ -725,7 +725,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
725
725
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
726
726
|
])
|
|
727
727
|
}))
|
|
728
|
-
]), 1040, ["modelValue"])) : o(p) == o(
|
|
728
|
+
]), 1040, ["modelValue"])) : o(p) == o(de).CASCADER ? (i(), C(r, O({
|
|
729
729
|
key: 16,
|
|
730
730
|
modelValue: c.value,
|
|
731
731
|
"onUpdate:modelValue": y[16] || (y[16] = (s) => c.value = s)
|
|
@@ -738,9 +738,9 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
738
738
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: z })
|
|
739
739
|
])
|
|
740
740
|
}))
|
|
741
|
-
]), 1040, ["modelValue", "options"])) : o(p) == o(
|
|
741
|
+
]), 1040, ["modelValue", "options"])) : o(p) == o(de).IMAGE ? (i(), C(b, Be(O({ key: 17 }, o(e))), ae({
|
|
742
742
|
default: v(() => [
|
|
743
|
-
|
|
743
|
+
Z(V, { type: "primary" }, {
|
|
744
744
|
default: v(() => y[22] || (y[22] = [
|
|
745
745
|
Ee("点击上传")
|
|
746
746
|
])),
|
|
@@ -755,7 +755,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
755
755
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: W })
|
|
756
756
|
])
|
|
757
757
|
}))
|
|
758
|
-
]), 1040)) : o(p) == o(
|
|
758
|
+
]), 1040)) : o(p) == o(de).AUTOCOMPLETE ? (i(), C(E, O({
|
|
759
759
|
key: 18,
|
|
760
760
|
modelValue: c.value,
|
|
761
761
|
"onUpdate:modelValue": y[17] || (y[17] = (s) => c.value = s)
|
|
@@ -768,7 +768,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
768
768
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: W })
|
|
769
769
|
])
|
|
770
770
|
}))
|
|
771
|
-
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(
|
|
771
|
+
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(de).INPUTNUMBER ? (i(), C(k, O({
|
|
772
772
|
key: 19,
|
|
773
773
|
modelValue: c.value,
|
|
774
774
|
"onUpdate:modelValue": y[18] || (y[18] = (s) => c.value = s),
|
|
@@ -782,12 +782,12 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
782
782
|
f(q.$slots, `${t.t}-${o(n)}-${s}`, { data: W })
|
|
783
783
|
])
|
|
784
784
|
}))
|
|
785
|
-
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(
|
|
786
|
-
|
|
785
|
+
]), 1040, ["modelValue", "placeholder"])) : o(p) == o(de).MONEY ? (i(), I("div", St, [
|
|
786
|
+
Z(U, O({
|
|
787
787
|
modelValue: c.value,
|
|
788
788
|
"onUpdate:modelValue": y[19] || (y[19] = (s) => c.value = s),
|
|
789
789
|
placeholder: o($)[o(n)].label,
|
|
790
|
-
type: o(
|
|
790
|
+
type: o(de).NUMBER,
|
|
791
791
|
maxlength: ((H = o(e)) == null ? void 0 : H.max) || 25
|
|
792
792
|
}, { ...o(e), type: o(p) }), ae({ _: 2 }, [
|
|
793
793
|
c.value ? {
|
|
@@ -807,7 +807,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
807
807
|
])
|
|
808
808
|
}))
|
|
809
809
|
]), 1040, ["modelValue", "placeholder", "type", "maxlength"])
|
|
810
|
-
])) : (i(), C(U,
|
|
810
|
+
])) : (i(), C(U, O({
|
|
811
811
|
key: 21,
|
|
812
812
|
modelValue: c.value,
|
|
813
813
|
"onUpdate:modelValue": y[20] || (y[20] = (s) => c.value = s),
|
|
@@ -1001,7 +1001,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1001
1001
|
], F = Oe(() => _.filter((d) => !d.hidden).sort((d, x) => d.sort - x.sort || d.originalOrder - x.originalOrder));
|
|
1002
1002
|
return (d, x) => {
|
|
1003
1003
|
const ee = j("el-form-item"), D = j("el-col"), ne = j("el-tab-pane"), R = j("el-tabs"), P = j("el-button"), K = j("el-form");
|
|
1004
|
-
return i(), C(K,
|
|
1004
|
+
return i(), C(K, O({
|
|
1005
1005
|
ref_key: "gform",
|
|
1006
1006
|
ref: n,
|
|
1007
1007
|
model: t.value,
|
|
@@ -1009,16 +1009,16 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1009
1009
|
}, o(_e)(t.value.form, (le) => !["footer", "submit", "reset", "slots", "type", "sort"].includes(le)), { class: "g-form-container" }), {
|
|
1010
1010
|
default: v(() => [
|
|
1011
1011
|
y.value.length > 0 ? f(d.$slots, "default", { key: 0 }, () => {
|
|
1012
|
-
var le, ge,
|
|
1012
|
+
var le, ge, S;
|
|
1013
1013
|
return [
|
|
1014
|
-
|
|
1014
|
+
Z(R, O({
|
|
1015
1015
|
class: "demo-tabs",
|
|
1016
1016
|
modelValue: y.value[0].groupName,
|
|
1017
1017
|
"onUpdate:modelValue": x[0] || (x[0] = (u) => y.value[0].groupName = u),
|
|
1018
1018
|
style: { width: "100%" }
|
|
1019
1019
|
}, t.value.form.tabs), {
|
|
1020
1020
|
default: v(() => [
|
|
1021
|
-
(i(!0), I(G, null, A(y.value, (u) => (i(), C(ne,
|
|
1021
|
+
(i(!0), I(G, null, A(y.value, (u) => (i(), C(ne, O({
|
|
1022
1022
|
key: u.groupName,
|
|
1023
1023
|
label: u.groupName,
|
|
1024
1024
|
name: u.groupName,
|
|
@@ -1026,14 +1026,14 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1026
1026
|
ref_for: !0
|
|
1027
1027
|
}, u.tabPane), {
|
|
1028
1028
|
default: v(() => [
|
|
1029
|
-
(i(!0), I(G, null, A(u.items, (r, V) => (i(), C(D,
|
|
1029
|
+
(i(!0), I(G, null, A(u.items, (r, V) => (i(), C(D, O({ ref_for: !0 }, { ...t.value.form.cols, ...r == null ? void 0 : r.item.col }, {
|
|
1030
1030
|
key: r.key,
|
|
1031
1031
|
style: { width: "100%" }
|
|
1032
1032
|
}), {
|
|
1033
1033
|
default: v(() => {
|
|
1034
1034
|
var b, E;
|
|
1035
1035
|
return [
|
|
1036
|
-
|
|
1036
|
+
Z(ee, O({
|
|
1037
1037
|
label: r == null ? void 0 : r.item.label,
|
|
1038
1038
|
prop: `${r.key}.value`,
|
|
1039
1039
|
rules: g(r == null ? void 0 : r.item),
|
|
@@ -1125,7 +1125,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1125
1125
|
]),
|
|
1126
1126
|
_: 3
|
|
1127
1127
|
}, 16, ["modelValue"]),
|
|
1128
|
-
(
|
|
1128
|
+
(S = (ge = (le = t.value) == null ? void 0 : le.form) == null ? void 0 : ge.footer) != null && S.hidden ? pe("", !0) : f(d.$slots, "f-footer", { key: 0 }, () => [
|
|
1129
1129
|
Q("div", {
|
|
1130
1130
|
style: Me(t.value.form.footer.style)
|
|
1131
1131
|
}, [
|
|
@@ -1133,7 +1133,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1133
1133
|
(i(!0), I(G, null, A(F.value, (u) => (i(), I(G, null, [
|
|
1134
1134
|
f(d.$slots, u.name + "-left"),
|
|
1135
1135
|
f(d.$slots, u.name, {}, () => [
|
|
1136
|
-
|
|
1136
|
+
Z(P, O({ ref_for: !0 }, u.info, {
|
|
1137
1137
|
onClick: rt((r) => u.click(q.value, t.value), ["stop"])
|
|
1138
1138
|
}), {
|
|
1139
1139
|
default: v(() => [
|
|
@@ -1149,16 +1149,16 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1149
1149
|
])
|
|
1150
1150
|
];
|
|
1151
1151
|
}) : f(d.$slots, "default", { key: 1 }, () => {
|
|
1152
|
-
var le, ge,
|
|
1152
|
+
var le, ge, S;
|
|
1153
1153
|
return [
|
|
1154
|
-
(i(!0), I(G, null, A(Y.value, (u, r) => (i(), C(D,
|
|
1154
|
+
(i(!0), I(G, null, A(Y.value, (u, r) => (i(), C(D, O({ ref_for: !0 }, { ...t.value.form.cols, ...u.col }, {
|
|
1155
1155
|
key: r,
|
|
1156
1156
|
style: { width: "100%" }
|
|
1157
1157
|
}), {
|
|
1158
1158
|
default: v(() => {
|
|
1159
1159
|
var V;
|
|
1160
1160
|
return [
|
|
1161
|
-
|
|
1161
|
+
Z(ee, O({
|
|
1162
1162
|
label: u.label,
|
|
1163
1163
|
prop: `${r}.value`,
|
|
1164
1164
|
rules: g(u),
|
|
@@ -1256,7 +1256,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1256
1256
|
}),
|
|
1257
1257
|
_: 2
|
|
1258
1258
|
}, 1040))), 128)),
|
|
1259
|
-
(
|
|
1259
|
+
(S = (ge = (le = t.value) == null ? void 0 : le.form) == null ? void 0 : ge.footer) != null && S.hidden ? pe("", !0) : f(d.$slots, "f-footer", { key: 0 }, () => [
|
|
1260
1260
|
Q("div", {
|
|
1261
1261
|
style: Me(t.value.form.footer.style)
|
|
1262
1262
|
}, [
|
|
@@ -1264,7 +1264,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1264
1264
|
(i(!0), I(G, null, A(F.value, (u) => (i(), I(G, null, [
|
|
1265
1265
|
f(d.$slots, u.name + "-left"),
|
|
1266
1266
|
f(d.$slots, u.name, {}, () => [
|
|
1267
|
-
|
|
1267
|
+
Z(P, O({ ref_for: !0 }, u.info, {
|
|
1268
1268
|
onClick: rt((r) => u.click(q.value, t.value), ["stop"])
|
|
1269
1269
|
}), {
|
|
1270
1270
|
default: v(() => [
|
|
@@ -1303,7 +1303,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1303
1303
|
item: w,
|
|
1304
1304
|
model: c.value
|
|
1305
1305
|
}, () => [
|
|
1306
|
-
|
|
1306
|
+
Z(N, O({
|
|
1307
1307
|
label: w.label,
|
|
1308
1308
|
ref_for: !0
|
|
1309
1309
|
}, { ...c.value.queryItems, ...w == null ? void 0 : w.search }), {
|
|
@@ -1314,7 +1314,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1314
1314
|
})
|
|
1315
1315
|
]),
|
|
1316
1316
|
default: v(() => [
|
|
1317
|
-
|
|
1317
|
+
Z(Fe, {
|
|
1318
1318
|
modelValue: e.value[g],
|
|
1319
1319
|
"onUpdate:modelValue": (T) => e.value[g] = T,
|
|
1320
1320
|
item: { ...w == null ? void 0 : w.editor, ...w.search },
|
|
@@ -1493,13 +1493,13 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1493
1493
|
}) : (R.props.slot = "query-" + R.key, R.label ? ke(R.component, R.props, () => R.label) : ke(R.component, R.props)));
|
|
1494
1494
|
};
|
|
1495
1495
|
return (_, F) => {
|
|
1496
|
-
var fe, me, d, x, ee, D, ne, R, P, K, le, ge,
|
|
1496
|
+
var fe, me, d, x, ee, D, ne, R, P, K, le, ge, S, u, r, V, b;
|
|
1497
1497
|
const re = j("el-form-item"), ue = j("el-drawer");
|
|
1498
1498
|
return i(), I("div", {
|
|
1499
1499
|
class: "g-query-container",
|
|
1500
1500
|
style: Me((me = (fe = t.value.query) == null ? void 0 : fe.container) == null ? void 0 : me.style)
|
|
1501
1501
|
}, [
|
|
1502
|
-
|
|
1502
|
+
Z(o(Ne), Be(Ge(o(_e)(t.value.query, (E) => !["query", "more", "reset", "btns"].includes(E)))), {
|
|
1503
1503
|
default: v(() => {
|
|
1504
1504
|
var E, k;
|
|
1505
1505
|
return [
|
|
@@ -1567,7 +1567,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1567
1567
|
f(_.$slots, "q-btns", {}, void 0, !0)
|
|
1568
1568
|
], 64))
|
|
1569
1569
|
], 4)) : pe("", !0),
|
|
1570
|
-
|
|
1570
|
+
Z($t, {
|
|
1571
1571
|
duration: 300,
|
|
1572
1572
|
name: "nested"
|
|
1573
1573
|
}, {
|
|
@@ -1576,7 +1576,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1576
1576
|
return [
|
|
1577
1577
|
p.value && !((U = (k = (E = t.value) == null ? void 0 : E.query) == null ? void 0 : k.more) != null && U.hidden) && t.value.query.more.mode == 1 ? (i(), I("div", At, [
|
|
1578
1578
|
Q("div", Bt, [
|
|
1579
|
-
t.value.query.more.mode == 1 ? st((i(), C(o(Ne), Be(
|
|
1579
|
+
t.value.query.more.mode == 1 ? st((i(), C(o(Ne), Be(O({ key: 0 }, o(_e)(t.value.query, (H) => !["query", "more", "reset"].includes(H)))), {
|
|
1580
1580
|
default: v(() => [
|
|
1581
1581
|
(i(), C(De(Y({ slots: _.$slots }, !0))))
|
|
1582
1582
|
]),
|
|
@@ -1590,7 +1590,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1590
1590
|
}),
|
|
1591
1591
|
_: 1
|
|
1592
1592
|
}),
|
|
1593
|
-
p.value && !((ge = (le = (K = t.value) == null ? void 0 : K.query) == null ? void 0 : le.more) != null && ge.hidden) && t.value.query.more.mode == 2 ? (i(), C(ue,
|
|
1593
|
+
p.value && !((ge = (le = (K = t.value) == null ? void 0 : K.query) == null ? void 0 : le.more) != null && ge.hidden) && t.value.query.more.mode == 2 ? (i(), C(ue, O({
|
|
1594
1594
|
key: 1,
|
|
1595
1595
|
modelValue: p.value,
|
|
1596
1596
|
"onUpdate:modelValue": F[4] || (F[4] = (E) => p.value = E),
|
|
@@ -1598,9 +1598,9 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1598
1598
|
"show-close": !1
|
|
1599
1599
|
}, t.value.query.more.dialog), ae({
|
|
1600
1600
|
default: v(() => [
|
|
1601
|
-
|
|
1601
|
+
Z(o(Ne), O(o(_e)(t.value.query, (E) => !["query", "more", "reset"].includes(E)), { style: { width: "98%" } }), {
|
|
1602
1602
|
default: v(() => [
|
|
1603
|
-
|
|
1603
|
+
Z(at, {
|
|
1604
1604
|
modelValue: t.value,
|
|
1605
1605
|
"onUpdate:modelValue": F[0] || (F[0] = (E) => t.value = E),
|
|
1606
1606
|
info: N.value,
|
|
@@ -1620,11 +1620,11 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1620
1620
|
]),
|
|
1621
1621
|
_: 2
|
|
1622
1622
|
}, [
|
|
1623
|
-
(b = (V = (r = (u = (
|
|
1623
|
+
(b = (V = (r = (u = (S = t.value) == null ? void 0 : S.query) == null ? void 0 : u.more) == null ? void 0 : r.dialog) == null ? void 0 : V.footer) != null && b.hidden ? void 0 : {
|
|
1624
1624
|
name: "footer",
|
|
1625
1625
|
fn: v(() => [
|
|
1626
1626
|
Q("div", Be(Ge(t.value.query.more.dialog.footer)), [
|
|
1627
|
-
|
|
1627
|
+
Z(o(be), O(t.value.query.query, {
|
|
1628
1628
|
onClick: F[2] || (F[2] = (E) => t.value.query.query.click())
|
|
1629
1629
|
}), {
|
|
1630
1630
|
default: v(() => [
|
|
@@ -1632,7 +1632,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1632
1632
|
]),
|
|
1633
1633
|
_: 1
|
|
1634
1634
|
}, 16),
|
|
1635
|
-
|
|
1635
|
+
Z(o(be), O(t.value.query.reset, {
|
|
1636
1636
|
onClick: F[3] || (F[3] = (E) => t.value.query.reset.click())
|
|
1637
1637
|
}), {
|
|
1638
1638
|
default: v(() => [
|
|
@@ -1701,13 +1701,13 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1701
1701
|
onClick: p,
|
|
1702
1702
|
style: { cursor: "pointer" }
|
|
1703
1703
|
}, "全选"),
|
|
1704
|
-
|
|
1704
|
+
Z(T, { direction: "vertical" }),
|
|
1705
1705
|
Q("a", {
|
|
1706
1706
|
onClick: $,
|
|
1707
1707
|
style: { cursor: "pointer" }
|
|
1708
1708
|
}, "全不选")
|
|
1709
1709
|
]),
|
|
1710
|
-
|
|
1710
|
+
Z(Y, {
|
|
1711
1711
|
title: "拖动列标题可以改变表格列的生成顺序 !",
|
|
1712
1712
|
type: "warning",
|
|
1713
1713
|
"show-icon": "",
|
|
@@ -1736,7 +1736,7 @@ const Ye = /* @__PURE__ */ qt(Mt), Ot = {
|
|
|
1736
1736
|
])
|
|
1737
1737
|
]),
|
|
1738
1738
|
Q("div", zt, [
|
|
1739
|
-
|
|
1739
|
+
Z(y, {
|
|
1740
1740
|
type: "primary",
|
|
1741
1741
|
onClick: N,
|
|
1742
1742
|
disabled: n.value.filter((_) => _.value).length < 1
|
|
@@ -1901,12 +1901,12 @@ const Xt = {
|
|
|
1901
1901
|
return i(), I("div", null, [
|
|
1902
1902
|
Q("div", Xt, [
|
|
1903
1903
|
Q("a", { onClick: $ }, "全选"),
|
|
1904
|
-
|
|
1904
|
+
Z(Y, { direction: "vertical" }),
|
|
1905
1905
|
Q("a", { onClick: N }, "全不选"),
|
|
1906
|
-
|
|
1906
|
+
Z(Y, { direction: "vertical" }),
|
|
1907
1907
|
Q("a", { onClick: w }, "复位")
|
|
1908
1908
|
]),
|
|
1909
|
-
|
|
1909
|
+
Z(q, {
|
|
1910
1910
|
title: "拖动表格列标题可以改变表格列显示顺序 !",
|
|
1911
1911
|
type: "warning",
|
|
1912
1912
|
"show-icon": "",
|
|
@@ -2210,7 +2210,7 @@ const Xt = {
|
|
|
2210
2210
|
{ type: "view", func: D },
|
|
2211
2211
|
{ type: "edit", func: x },
|
|
2212
2212
|
{ type: "delete", func: ee }
|
|
2213
|
-
],
|
|
2213
|
+
], S = (l) => ge.filter((a) => l.includes(a.type)).map(({ type: a, func: h }) => {
|
|
2214
2214
|
var B, X, te;
|
|
2215
2215
|
return {
|
|
2216
2216
|
name: `control-${a}`,
|
|
@@ -2220,7 +2220,7 @@ const Xt = {
|
|
|
2220
2220
|
sort: ((X = le == null ? void 0 : le[a]) == null ? void 0 : X.sort) || 0,
|
|
2221
2221
|
groupName: ((te = le == null ? void 0 : le[a]) == null ? void 0 : te.groupName) || "default"
|
|
2222
2222
|
};
|
|
2223
|
-
}).sort((a, h) => a.sort - h.sort), u = (l) =>
|
|
2223
|
+
}).sort((a, h) => a.sort - h.sort), u = (l) => S(l).reduce((a, h) => {
|
|
2224
2224
|
const B = h.groupName || "default";
|
|
2225
2225
|
return a[B] || (a[B] = []), a[B].push(h), a;
|
|
2226
2226
|
}, {}), r = Oe(() => Object.fromEntries(
|
|
@@ -2303,7 +2303,7 @@ const Xt = {
|
|
|
2303
2303
|
Q("div", ll, [
|
|
2304
2304
|
((et = (Ze = e.value) == null ? void 0 : Ze.query) == null ? void 0 : et.hidden) != !0 ? (i(), I("div", ol, [
|
|
2305
2305
|
f(l.$slots, "query", {}, () => [
|
|
2306
|
-
|
|
2306
|
+
Z(Ut, {
|
|
2307
2307
|
modelValue: e.value,
|
|
2308
2308
|
"onUpdate:modelValue": a[0] || (a[0] = (L) => e.value = L),
|
|
2309
2309
|
onQuery: me,
|
|
@@ -2312,50 +2312,50 @@ const Xt = {
|
|
|
2312
2312
|
"q-btns": v(() => [
|
|
2313
2313
|
f(l.$slots, "q-btns", {}, () => [
|
|
2314
2314
|
(i(!0), I(G, null, A(u(["add", "download", "setting"]), (L, se) => (i(), I(G, null, [
|
|
2315
|
-
se == "default" ? (i(!0), I(G, { key: 0 }, A(L, (
|
|
2316
|
-
f(l.$slots,
|
|
2317
|
-
|
|
2318
|
-
|
|
2315
|
+
se == "default" ? (i(!0), I(G, { key: 0 }, A(L, (M) => (i(), I(G, null, [
|
|
2316
|
+
f(l.$slots, M.name + "-left", {}, void 0, !0),
|
|
2317
|
+
M.attr.auth() ? f(l.$slots, M.name, { key: 0 }, () => [
|
|
2318
|
+
M.label ? (i(), C(o(be), O({
|
|
2319
2319
|
key: 0,
|
|
2320
2320
|
ref_for: !0
|
|
2321
|
-
},
|
|
2322
|
-
onClick: (
|
|
2321
|
+
}, M.attr, {
|
|
2322
|
+
onClick: (J) => M.func(e.value, w.value)
|
|
2323
2323
|
}), {
|
|
2324
2324
|
default: v(() => [
|
|
2325
|
-
Ee(ve(
|
|
2325
|
+
Ee(ve(M.label), 1)
|
|
2326
2326
|
]),
|
|
2327
2327
|
_: 2
|
|
2328
|
-
}, 1040, ["onClick"])) : (i(), C(o(be),
|
|
2328
|
+
}, 1040, ["onClick"])) : (i(), C(o(be), O({
|
|
2329
2329
|
key: 1,
|
|
2330
2330
|
ref_for: !0
|
|
2331
|
-
},
|
|
2332
|
-
onClick: (
|
|
2331
|
+
}, M.attr, {
|
|
2332
|
+
onClick: (J) => M.func(e.value, w.value)
|
|
2333
2333
|
}), null, 16, ["onClick"]))
|
|
2334
2334
|
], !0) : pe("", !0),
|
|
2335
|
-
f(l.$slots,
|
|
2335
|
+
f(l.$slots, M.name + "-right", {}, void 0, !0)
|
|
2336
2336
|
], 64))), 256)) : (i(), C(h, { key: 1 }, {
|
|
2337
2337
|
default: v(() => [
|
|
2338
|
-
(i(!0), I(G, null, A(L, (
|
|
2339
|
-
f(l.$slots,
|
|
2340
|
-
|
|
2341
|
-
|
|
2338
|
+
(i(!0), I(G, null, A(L, (M) => (i(), I(G, null, [
|
|
2339
|
+
f(l.$slots, M.name + "-left", {}, void 0, !0),
|
|
2340
|
+
M.attr.auth() ? f(l.$slots, M.name, { key: 0 }, () => [
|
|
2341
|
+
M.label ? (i(), C(o(be), O({
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
ref_for: !0
|
|
2344
|
-
},
|
|
2345
|
-
onClick: (
|
|
2344
|
+
}, M.attr, {
|
|
2345
|
+
onClick: (J) => M.func(e.value, w.value)
|
|
2346
2346
|
}), {
|
|
2347
2347
|
default: v(() => [
|
|
2348
|
-
Ee(ve(
|
|
2348
|
+
Ee(ve(M.label), 1)
|
|
2349
2349
|
]),
|
|
2350
2350
|
_: 2
|
|
2351
|
-
}, 1040, ["onClick"])) : (i(), C(o(be),
|
|
2351
|
+
}, 1040, ["onClick"])) : (i(), C(o(be), O({
|
|
2352
2352
|
key: 1,
|
|
2353
2353
|
ref_for: !0
|
|
2354
|
-
},
|
|
2355
|
-
onClick: (
|
|
2354
|
+
}, M.attr, {
|
|
2355
|
+
onClick: (J) => M.func(e.value, w.value)
|
|
2356
2356
|
}), null, 16, ["onClick"]))
|
|
2357
2357
|
], !0) : pe("", !0),
|
|
2358
|
-
f(l.$slots,
|
|
2358
|
+
f(l.$slots, M.name + "-right", {}, void 0, !0)
|
|
2359
2359
|
], 64))), 256))
|
|
2360
2360
|
]),
|
|
2361
2361
|
_: 2
|
|
@@ -2365,9 +2365,9 @@ const Xt = {
|
|
|
2365
2365
|
]),
|
|
2366
2366
|
_: 2
|
|
2367
2367
|
}, [
|
|
2368
|
-
A(l.$slots, (L, se,
|
|
2368
|
+
A(l.$slots, (L, se, M) => ({
|
|
2369
2369
|
name: se,
|
|
2370
|
-
fn: v((
|
|
2370
|
+
fn: v((J) => [
|
|
2371
2371
|
f(l.$slots, se, { model: e.value }, void 0, !0)
|
|
2372
2372
|
])
|
|
2373
2373
|
}))
|
|
@@ -2375,7 +2375,7 @@ const Xt = {
|
|
|
2375
2375
|
], !0)
|
|
2376
2376
|
])) : pe("", !0),
|
|
2377
2377
|
Q("div", rl, [
|
|
2378
|
-
|
|
2378
|
+
Z(X, Be(Ge({ ...l.$attrs, ...o(_e)(e.value.table, (L) => !["dblclickType", "page"].includes(L)) })), {
|
|
2379
2379
|
append: v(() => [
|
|
2380
2380
|
f(l.$slots, "append", {}, void 0, !0)
|
|
2381
2381
|
]),
|
|
@@ -2384,35 +2384,35 @@ const Xt = {
|
|
|
2384
2384
|
]),
|
|
2385
2385
|
default: v(() => [
|
|
2386
2386
|
f(l.$slots, "default", {}, () => [
|
|
2387
|
-
(i(!0), I(G, null, A(r.value, (L, se) => (i(), C(B,
|
|
2387
|
+
(i(!0), I(G, null, A(r.value, (L, se) => (i(), C(B, O({
|
|
2388
2388
|
prop: se,
|
|
2389
2389
|
key: se,
|
|
2390
2390
|
ref_for: !0
|
|
2391
|
-
}, { ...e.value.tableColumns, ...o(_e)(L, (
|
|
2392
|
-
header: v(({ column:
|
|
2391
|
+
}, { ...e.value.tableColumns, ...o(_e)(L, (M) => N.includes(M)) }, { "header-align": "center" }), ae({
|
|
2392
|
+
header: v(({ column: M, $index: J }) => [
|
|
2393
2393
|
f(l.$slots, `${se}-header`, {
|
|
2394
|
-
column:
|
|
2395
|
-
$index:
|
|
2394
|
+
column: M,
|
|
2395
|
+
$index: J
|
|
2396
2396
|
}, void 0, !0)
|
|
2397
2397
|
]),
|
|
2398
|
-
"filter-icon": v((
|
|
2399
|
-
f(l.$slots, `${se}-filter-icon`, { data:
|
|
2398
|
+
"filter-icon": v((M) => [
|
|
2399
|
+
f(l.$slots, `${se}-filter-icon`, { data: M }, void 0, !0)
|
|
2400
2400
|
]),
|
|
2401
2401
|
_: 2
|
|
2402
2402
|
}, [
|
|
2403
2403
|
L.type != "selection" && L.type != "index" && L.type != "expand" ? {
|
|
2404
2404
|
name: "default",
|
|
2405
|
-
fn: v(({ row:
|
|
2405
|
+
fn: v(({ row: M, column: J, $index: ie }) => [
|
|
2406
2406
|
L.table ? f(l.$slots, `${se}`, {
|
|
2407
2407
|
key: 0,
|
|
2408
|
-
row:
|
|
2409
|
-
column:
|
|
2410
|
-
$index:
|
|
2408
|
+
row: M,
|
|
2409
|
+
column: J,
|
|
2410
|
+
$index: ie
|
|
2411
2411
|
}, () => [
|
|
2412
|
-
|
|
2413
|
-
modelValue:
|
|
2414
|
-
"onUpdate:modelValue": (Se) =>
|
|
2415
|
-
item: L == null ? void 0 : L.table,
|
|
2412
|
+
Z(Fe, {
|
|
2413
|
+
modelValue: M[se],
|
|
2414
|
+
"onUpdate:modelValue": (Se) => M[se] = Se,
|
|
2415
|
+
item: L == null ? void 0 : L.table(M, J, ie),
|
|
2416
2416
|
ctrlKey: se,
|
|
2417
2417
|
ctrlType: L.type,
|
|
2418
2418
|
model: e.value,
|
|
@@ -2433,12 +2433,12 @@ const Xt = {
|
|
|
2433
2433
|
]), 1032, ["modelValue", "onUpdate:modelValue", "item", "ctrlKey", "ctrlType", "model", "formInfo"])
|
|
2434
2434
|
], !0) : f(l.$slots, `${se}`, {
|
|
2435
2435
|
key: 1,
|
|
2436
|
-
row:
|
|
2437
|
-
column:
|
|
2438
|
-
$index:
|
|
2436
|
+
row: M,
|
|
2437
|
+
column: J,
|
|
2438
|
+
$index: ie
|
|
2439
2439
|
}, () => [
|
|
2440
2440
|
Q("div", {
|
|
2441
|
-
innerHTML: ue(L,
|
|
2441
|
+
innerHTML: ue(L, J.formatter(M, J, M[se], ie))
|
|
2442
2442
|
}, null, 8, al)
|
|
2443
2443
|
], !0)
|
|
2444
2444
|
]),
|
|
@@ -2446,13 +2446,13 @@ const Xt = {
|
|
|
2446
2446
|
} : void 0,
|
|
2447
2447
|
L.type === "image" ? {
|
|
2448
2448
|
name: "default",
|
|
2449
|
-
fn: v(({ row:
|
|
2449
|
+
fn: v(({ row: M, column: J, $index: ie }) => [
|
|
2450
2450
|
f(l.$slots, `${se}`, {
|
|
2451
|
-
row:
|
|
2452
|
-
column:
|
|
2453
|
-
$index:
|
|
2451
|
+
row: M,
|
|
2452
|
+
column: J,
|
|
2453
|
+
$index: ie
|
|
2454
2454
|
}, () => [
|
|
2455
|
-
Q("img",
|
|
2455
|
+
Q("img", O({
|
|
2456
2456
|
style: { width: "80px", height: "80px", "object-fit": "cover", "border-radius": "3px" },
|
|
2457
2457
|
src: L.value,
|
|
2458
2458
|
ref_for: !0
|
|
@@ -2463,7 +2463,7 @@ const Xt = {
|
|
|
2463
2463
|
} : void 0,
|
|
2464
2464
|
L.type == "control" ? {
|
|
2465
2465
|
name: "default",
|
|
2466
|
-
fn: v(({ row:
|
|
2466
|
+
fn: v(({ row: M, column: J, $index: ie }) => {
|
|
2467
2467
|
var Se, xe;
|
|
2468
2468
|
return [
|
|
2469
2469
|
Q("div", {
|
|
@@ -2472,80 +2472,80 @@ const Xt = {
|
|
|
2472
2472
|
}, [
|
|
2473
2473
|
f(l.$slots, "control", {}, () => [
|
|
2474
2474
|
f(l.$slots, "control-left", {
|
|
2475
|
-
row:
|
|
2476
|
-
column:
|
|
2477
|
-
$index:
|
|
2475
|
+
row: M,
|
|
2476
|
+
column: J,
|
|
2477
|
+
$index: ie
|
|
2478
2478
|
}, void 0, !0),
|
|
2479
2479
|
(i(!0), I(G, null, A(u(["view", "edit", "delete"]), (je, vt) => (i(), I(G, null, [
|
|
2480
2480
|
vt == "default" ? (i(!0), I(G, { key: 0 }, A(je, (ce) => (i(), I(G, null, [
|
|
2481
2481
|
f(l.$slots, ce.name + "-left", {
|
|
2482
|
-
row:
|
|
2483
|
-
column:
|
|
2484
|
-
$index:
|
|
2482
|
+
row: M,
|
|
2483
|
+
column: J,
|
|
2484
|
+
$index: ie
|
|
2485
2485
|
}, void 0, !0),
|
|
2486
|
-
ce.attr.auth(
|
|
2486
|
+
ce.attr.auth(M, J, ie) ? f(l.$slots, ce.name, {
|
|
2487
2487
|
key: 0,
|
|
2488
|
-
row:
|
|
2489
|
-
column:
|
|
2490
|
-
$index:
|
|
2488
|
+
row: M,
|
|
2489
|
+
column: J,
|
|
2490
|
+
$index: ie
|
|
2491
2491
|
}, () => [
|
|
2492
|
-
ce.label ? (i(), C(o(be),
|
|
2492
|
+
ce.label ? (i(), C(o(be), O({
|
|
2493
2493
|
key: 0,
|
|
2494
2494
|
ref_for: !0
|
|
2495
2495
|
}, ce.attr, {
|
|
2496
|
-
onClick: (He) => ce.func(
|
|
2496
|
+
onClick: (He) => ce.func(M, J, ie, e.value)
|
|
2497
2497
|
}), {
|
|
2498
2498
|
default: v(() => [
|
|
2499
2499
|
Ee(ve(ce.label), 1)
|
|
2500
2500
|
]),
|
|
2501
2501
|
_: 2
|
|
2502
|
-
}, 1040, ["onClick"])) : (i(), C(o(be),
|
|
2502
|
+
}, 1040, ["onClick"])) : (i(), C(o(be), O({
|
|
2503
2503
|
key: 1,
|
|
2504
2504
|
ref_for: !0
|
|
2505
2505
|
}, ce.attr, {
|
|
2506
|
-
onClick: (He) => ce.func(
|
|
2506
|
+
onClick: (He) => ce.func(M, J, ie, e.value)
|
|
2507
2507
|
}), null, 16, ["onClick"]))
|
|
2508
2508
|
], !0) : pe("", !0),
|
|
2509
2509
|
f(l.$slots, ce.name + "-right", {
|
|
2510
|
-
row:
|
|
2511
|
-
column:
|
|
2512
|
-
$index:
|
|
2510
|
+
row: M,
|
|
2511
|
+
column: J,
|
|
2512
|
+
$index: ie
|
|
2513
2513
|
}, void 0, !0)
|
|
2514
2514
|
], 64))), 256)) : (i(), C(h, { key: 1 }, {
|
|
2515
2515
|
default: v(() => [
|
|
2516
2516
|
(i(!0), I(G, null, A(je, (ce) => (i(), I(G, null, [
|
|
2517
2517
|
f(l.$slots, ce.name + "-left", {
|
|
2518
|
-
row:
|
|
2519
|
-
column:
|
|
2520
|
-
$index:
|
|
2518
|
+
row: M,
|
|
2519
|
+
column: J,
|
|
2520
|
+
$index: ie
|
|
2521
2521
|
}, void 0, !0),
|
|
2522
|
-
ce.attr.auth(
|
|
2522
|
+
ce.attr.auth(M, J, ie) ? f(l.$slots, ce.name, {
|
|
2523
2523
|
key: 0,
|
|
2524
|
-
row:
|
|
2525
|
-
column:
|
|
2526
|
-
$index:
|
|
2524
|
+
row: M,
|
|
2525
|
+
column: J,
|
|
2526
|
+
$index: ie
|
|
2527
2527
|
}, () => [
|
|
2528
|
-
ce.label ? (i(), C(o(be),
|
|
2528
|
+
ce.label ? (i(), C(o(be), O({
|
|
2529
2529
|
key: 0,
|
|
2530
2530
|
ref_for: !0
|
|
2531
2531
|
}, ce.attr, {
|
|
2532
|
-
onClick: (He) => ce.func(
|
|
2532
|
+
onClick: (He) => ce.func(M, J, ie, e.value)
|
|
2533
2533
|
}), {
|
|
2534
2534
|
default: v(() => [
|
|
2535
2535
|
Ee(ve(ce.label), 1)
|
|
2536
2536
|
]),
|
|
2537
2537
|
_: 2
|
|
2538
|
-
}, 1040, ["onClick"])) : (i(), C(o(be),
|
|
2538
|
+
}, 1040, ["onClick"])) : (i(), C(o(be), O({
|
|
2539
2539
|
key: 1,
|
|
2540
2540
|
ref_for: !0
|
|
2541
2541
|
}, ce.attr, {
|
|
2542
|
-
onClick: (He) => ce.func(
|
|
2542
|
+
onClick: (He) => ce.func(M, J, ie, e.value)
|
|
2543
2543
|
}), null, 16, ["onClick"]))
|
|
2544
2544
|
], !0) : pe("", !0),
|
|
2545
2545
|
f(l.$slots, ce.name + "-right", {
|
|
2546
|
-
row:
|
|
2547
|
-
column:
|
|
2548
|
-
$index:
|
|
2546
|
+
row: M,
|
|
2547
|
+
column: J,
|
|
2548
|
+
$index: ie
|
|
2549
2549
|
}, void 0, !0)
|
|
2550
2550
|
], 64))), 256))
|
|
2551
2551
|
]),
|
|
@@ -2553,9 +2553,9 @@ const Xt = {
|
|
|
2553
2553
|
}, 1024))
|
|
2554
2554
|
], 64))), 256)),
|
|
2555
2555
|
f(l.$slots, "control-right", {
|
|
2556
|
-
row:
|
|
2557
|
-
column:
|
|
2558
|
-
$index:
|
|
2556
|
+
row: M,
|
|
2557
|
+
column: J,
|
|
2558
|
+
$index: ie
|
|
2559
2559
|
}, void 0, !0)
|
|
2560
2560
|
], !0)
|
|
2561
2561
|
], 6)
|
|
@@ -2569,7 +2569,7 @@ const Xt = {
|
|
|
2569
2569
|
_: 3
|
|
2570
2570
|
}, 16),
|
|
2571
2571
|
(ot = (lt = (tt = e.value) == null ? void 0 : tt.table) == null ? void 0 : lt.page) != null && ot.hidden ? pe("", !0) : f(l.$slots, "page", { key: 0 }, () => [
|
|
2572
|
-
|
|
2572
|
+
Z(te, O({
|
|
2573
2573
|
"page-size": e.value.table.page.pageSize,
|
|
2574
2574
|
"onUpdate:pageSize": a[1] || (a[1] = (L) => e.value.table.page.pageSize = L),
|
|
2575
2575
|
"current-page": e.value.table.page.currentPage,
|
|
@@ -2584,7 +2584,7 @@ const Xt = {
|
|
|
2584
2584
|
])
|
|
2585
2585
|
]),
|
|
2586
2586
|
e.value.dialog.mode == "dialog" && $.value ? (i(), I("div", nl, [
|
|
2587
|
-
|
|
2587
|
+
Z(Ve, O({
|
|
2588
2588
|
modelValue: $.value,
|
|
2589
2589
|
"onUpdate:modelValue": a[6] || (a[6] = (L) => $.value = L),
|
|
2590
2590
|
fullscreen: e.value.dialog.fullScreen
|
|
@@ -2592,7 +2592,7 @@ const Xt = {
|
|
|
2592
2592
|
width: o(pt)(e.value.dialog.width) + 35
|
|
2593
2593
|
}), {
|
|
2594
2594
|
header: v(() => {
|
|
2595
|
-
var L, se,
|
|
2595
|
+
var L, se, M, J;
|
|
2596
2596
|
return [
|
|
2597
2597
|
Q("div", sl, [
|
|
2598
2598
|
Q("div", il, [
|
|
@@ -2602,28 +2602,28 @@ const Xt = {
|
|
|
2602
2602
|
]),
|
|
2603
2603
|
((se = (L = e.value) == null ? void 0 : L.dialog) == null ? void 0 : se.fullScreen) === !1 ? (i(), I("div", {
|
|
2604
2604
|
key: 0,
|
|
2605
|
-
onClick: a[3] || (a[3] = (
|
|
2605
|
+
onClick: a[3] || (a[3] = (ie) => {
|
|
2606
2606
|
e.value.dialog.fullScreen = !0;
|
|
2607
2607
|
}),
|
|
2608
2608
|
class: "max"
|
|
2609
2609
|
}, [
|
|
2610
|
-
|
|
2610
|
+
Z(he, null, {
|
|
2611
2611
|
default: v(() => [
|
|
2612
|
-
|
|
2612
|
+
Z(o(Ct))
|
|
2613
2613
|
]),
|
|
2614
2614
|
_: 1
|
|
2615
2615
|
})
|
|
2616
2616
|
])) : pe("", !0),
|
|
2617
|
-
((
|
|
2617
|
+
((J = (M = e.value) == null ? void 0 : M.dialog) == null ? void 0 : J.fullScreen) === !0 ? (i(), I("div", {
|
|
2618
2618
|
key: 1,
|
|
2619
|
-
onClick: a[4] || (a[4] = (
|
|
2619
|
+
onClick: a[4] || (a[4] = (ie) => {
|
|
2620
2620
|
e.value.dialog.fullScreen = !1;
|
|
2621
2621
|
}),
|
|
2622
2622
|
class: "max"
|
|
2623
2623
|
}, [
|
|
2624
|
-
|
|
2624
|
+
Z(he, null, {
|
|
2625
2625
|
default: v(() => [
|
|
2626
|
-
|
|
2626
|
+
Z(o(Vt))
|
|
2627
2627
|
]),
|
|
2628
2628
|
_: 1
|
|
2629
2629
|
})
|
|
@@ -2634,16 +2634,16 @@ const Xt = {
|
|
|
2634
2634
|
default: v(() => [
|
|
2635
2635
|
Q("div", dl, [
|
|
2636
2636
|
f(l.$slots, "table-dialog-form", { model: e.value }, () => [
|
|
2637
|
-
|
|
2637
|
+
Z(ze, {
|
|
2638
2638
|
modelValue: e.value,
|
|
2639
2639
|
"onUpdate:modelValue": a[5] || (a[5] = (L) => e.value = L),
|
|
2640
2640
|
onSubmit: ne,
|
|
2641
2641
|
onReset: R
|
|
2642
2642
|
}, ae({ _: 2 }, [
|
|
2643
|
-
A(l.$slots, (L, se,
|
|
2643
|
+
A(l.$slots, (L, se, M) => ({
|
|
2644
2644
|
name: se,
|
|
2645
|
-
fn: v((
|
|
2646
|
-
f(l.$slots, se, { model:
|
|
2645
|
+
fn: v((J) => [
|
|
2646
|
+
f(l.$slots, se, { model: J }, void 0, !0)
|
|
2647
2647
|
])
|
|
2648
2648
|
}))
|
|
2649
2649
|
]), 1032, ["modelValue"])
|
|
@@ -2654,7 +2654,7 @@ const Xt = {
|
|
|
2654
2654
|
}, 16, ["modelValue", "fullscreen", "width"])
|
|
2655
2655
|
])) : pe("", !0),
|
|
2656
2656
|
e.value.dialog.mode == "drawer" && $.value ? (i(), I("div", cl, [
|
|
2657
|
-
|
|
2657
|
+
Z(Re, O({
|
|
2658
2658
|
modelValue: $.value,
|
|
2659
2659
|
"onUpdate:modelValue": a[8] || (a[8] = (L) => $.value = L)
|
|
2660
2660
|
}, o(_e)(e.value.dialog, (L) => !["width"].includes(L))), {
|
|
@@ -2669,16 +2669,16 @@ const Xt = {
|
|
|
2669
2669
|
]),
|
|
2670
2670
|
default: v(() => [
|
|
2671
2671
|
f(l.$slots, "table-drawer-form", { model: e.value }, () => [
|
|
2672
|
-
|
|
2672
|
+
Z(ze, {
|
|
2673
2673
|
modelValue: e.value,
|
|
2674
2674
|
"onUpdate:modelValue": a[7] || (a[7] = (L) => e.value = L),
|
|
2675
2675
|
onSubmit: ne,
|
|
2676
2676
|
onReset: R
|
|
2677
2677
|
}, ae({ _: 2 }, [
|
|
2678
|
-
A(l.$slots, (L, se,
|
|
2678
|
+
A(l.$slots, (L, se, M) => ({
|
|
2679
2679
|
name: se,
|
|
2680
|
-
fn: v((
|
|
2681
|
-
f(l.$slots, se, { model:
|
|
2680
|
+
fn: v((J) => [
|
|
2681
|
+
f(l.$slots, se, { model: J }, void 0, !0)
|
|
2682
2682
|
])
|
|
2683
2683
|
}))
|
|
2684
2684
|
]), 1032, ["modelValue"])
|
|
@@ -2687,7 +2687,7 @@ const Xt = {
|
|
|
2687
2687
|
_: 3
|
|
2688
2688
|
}, 16, ["modelValue"])
|
|
2689
2689
|
])) : pe("", !0),
|
|
2690
|
-
st(
|
|
2690
|
+
st(Z(ze, {
|
|
2691
2691
|
modelValue: e.value,
|
|
2692
2692
|
"onUpdate:modelValue": a[9] || (a[9] = (L) => e.value = L),
|
|
2693
2693
|
onSubmit: ne,
|
|
@@ -2698,7 +2698,7 @@ const Xt = {
|
|
|
2698
2698
|
], 64);
|
|
2699
2699
|
};
|
|
2700
2700
|
}
|
|
2701
|
-
}), vl = /* @__PURE__ */ Ue(pl, [["__scopeId", "data-v-
|
|
2701
|
+
}), vl = /* @__PURE__ */ Ue(pl, [["__scopeId", "data-v-5128f8f4"]]), hl = { class: "g-tree-table" }, yl = { class: "g-tree-container" }, gl = { class: "g-tree-table-container" }, bl = /* @__PURE__ */ Object.assign({
|
|
2702
2702
|
name: "g-tree-table",
|
|
2703
2703
|
inheritAttrs: !1
|
|
2704
2704
|
}, {
|
|
@@ -2733,7 +2733,7 @@ const Xt = {
|
|
|
2733
2733
|
clearable: ""
|
|
2734
2734
|
}, null, 8, ["modelValue"])) : pe("", !0),
|
|
2735
2735
|
Q("div", yl, [
|
|
2736
|
-
|
|
2736
|
+
Z(fe, O({
|
|
2737
2737
|
style: { width: n.value },
|
|
2738
2738
|
"filter-node-method": g,
|
|
2739
2739
|
"expand-on-click-node": !1,
|
|
@@ -2761,7 +2761,7 @@ const Xt = {
|
|
|
2761
2761
|
])
|
|
2762
2762
|
], 4),
|
|
2763
2763
|
Q("div", gl, [
|
|
2764
|
-
|
|
2764
|
+
Z(me, O({
|
|
2765
2765
|
modelValue: e.value,
|
|
2766
2766
|
"onUpdate:modelValue": re[1] || (re[1] = (d) => e.value = d)
|
|
2767
2767
|
}, F.$attrs, { onLoad: T }), ae({ _: 2 }, [
|
|
@@ -2893,7 +2893,7 @@ function kl(m) {
|
|
|
2893
2893
|
const c = m.toFixed(2), [t, e] = c.split(".");
|
|
2894
2894
|
return `${t.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}.${e}`;
|
|
2895
2895
|
}
|
|
2896
|
-
const
|
|
2896
|
+
const de = {
|
|
2897
2897
|
RADIO: "radio",
|
|
2898
2898
|
RADIOBUTTON: "radio-button",
|
|
2899
2899
|
CHECKBOX: "checkbox",
|
|
@@ -2923,7 +2923,7 @@ const ie = {
|
|
|
2923
2923
|
TEL: "tel"
|
|
2924
2924
|
};
|
|
2925
2925
|
export {
|
|
2926
|
-
|
|
2926
|
+
de as CT,
|
|
2927
2927
|
pt as convertToPx,
|
|
2928
2928
|
ql as default,
|
|
2929
2929
|
_e as filterObject,
|
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-
|
|
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-5128f8f4]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-5128f8f4]{background-color:var(--el-bg-color);border-radius:4px;margin-bottom:10px;border:1px solid var(--el-border-color)}.table-container[data-v-5128f8f4]{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-5128f8f4]{cursor:pointer;color:var(--el-text-color)}.max[data-v-5128f8f4]:hover{color:var(--el-color-primary)}.btns[data-v-5128f8f4]{display:flex}.g-tree-table[data-v-c07fe107]{width:100%;display:flex;box-sizing:border-box}.g-tree-container[data-v-c07fe107]{display:flex;width:100%;padding:10px;box-sizing:border-box;border-radius:4px;overflow:auto;height:100%}.g-tree-table-container[data-v-c07fe107]{display:flex;flex:1;overflow:auto;border-radius:4px}.g-tree-left[data-v-c07fe107]{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}
|