z-ui-pc 1.4.10 → 1.4.12
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.css +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +659 -643
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as N, defineComponent as
|
|
2
|
-
import U, { isNumber as Qt, cloneDeep as pe, throttle as fa, isUndefined as
|
|
3
|
-
import
|
|
1
|
+
import { ref as N, defineComponent as O, resolveComponent as E, createBlock as G, openBlock as m, unref as d, createSlots as Le, withCtx as F, createElementVNode as V, normalizeStyle as kt, toDisplayString as X, useCssVars as Ee, computed as R, createElementBlock as y, renderSlot as le, createTextVNode as Q, normalizeClass as ne, createCommentVNode as P, provide as $o, inject as jo, resolveDynamicComponent as Yo, mergeProps as ee, toHandlers as Ce, onBeforeUnmount as ct, getCurrentScope as It, onScopeDispose as Gt, watch as xt, nextTick as W, isRef as Fe, normalizeProps as ra, guardReactiveProps as ia, mergeModels as he, useModel as Ge, createVNode as f, Fragment as Z, renderList as Y, useSlots as dt, resolveDirective as te, withDirectives as J, h as Oe, withModifiers as fe, markRaw as vo, watchEffect as pt, watchPostEffect as Rt, withKeys as Nt, onActivated as ca, onDeactivated as da, onMounted as mt, onUnmounted as Vt, isVNode as Mt, getCurrentInstance as Ko, defineAsyncComponent as pa, render as Ao, Teleport as ma, Transition as Xo, useTemplateRef as Da } from "vue";
|
|
2
|
+
import U, { isNumber as Qt, cloneDeep as pe, throttle as fa, isUndefined as Te, isEqual as qo, omit as ze, isFunction as ge, merge as je, mergeWith as Jo, isObject as st, isString as en, sortBy as He, debounce as ha, isNull as Et, toNumber as Fo, isEmpty as ga, pick as tn } from "lodash";
|
|
3
|
+
import _e from "dayjs";
|
|
4
4
|
import { CircleClose as on, Search as oo, Close as no, EditPen as Dt, CloseBold as ft, Plus as ao, Loading as Ca, QuestionFilled as Wt, Refresh as va, ArrowDownBold as Aa, ArrowUp as Fa, ArrowDown as ba, CircleCloseFilled as nn, DocumentCopy as ya } from "@element-plus/icons-vue";
|
|
5
5
|
import { useZIndex as so, ElAnchor as _a, ElMessage as uo, ElMessageBox as lo, ElLoading as Ea, ElPopover as Ba, ElInput as wa, ElCheckbox as bo, tableV2Props as Sa } from "element-plus";
|
|
6
6
|
import { VueDraggable as Ue } from "vue-draggable-plus";
|
|
@@ -27,7 +27,7 @@ const Ia = (t, e) => (o) => {
|
|
|
27
27
|
...K.value,
|
|
28
28
|
...t
|
|
29
29
|
};
|
|
30
|
-
}, Ga = /* @__PURE__ */
|
|
30
|
+
}, Ga = /* @__PURE__ */ O({
|
|
31
31
|
name: "ZAutoTooltip",
|
|
32
32
|
__name: "index",
|
|
33
33
|
setup(t) {
|
|
@@ -72,7 +72,7 @@ const Ia = (t, e) => (o) => {
|
|
|
72
72
|
]), 1032, ["visible", "effect", "placement", "virtual-ref", "popper-class", "raw-content", "content", "enterable", "popper-style"]);
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
}), xa = me(Ga, "ZAutoTooltip"), Ra = { class: "z-circle-text__container" }, Na = /* @__PURE__ */
|
|
75
|
+
}), xa = me(Ga, "ZAutoTooltip"), Ra = { class: "z-circle-text__container" }, Na = /* @__PURE__ */ O({
|
|
76
76
|
name: "ZCircleText",
|
|
77
77
|
__name: "index",
|
|
78
78
|
props: {
|
|
@@ -83,7 +83,7 @@ const Ia = (t, e) => (o) => {
|
|
|
83
83
|
showFirstLetter: { type: Boolean, default: !0 }
|
|
84
84
|
},
|
|
85
85
|
setup(t) {
|
|
86
|
-
|
|
86
|
+
Ee((a) => ({
|
|
87
87
|
"274387df": e.value,
|
|
88
88
|
"3b3e28cb": a.color,
|
|
89
89
|
"2be529ce": o.value
|
|
@@ -104,18 +104,18 @@ const Ia = (t, e) => (o) => {
|
|
|
104
104
|
], !0)
|
|
105
105
|
]));
|
|
106
106
|
}
|
|
107
|
-
}),
|
|
107
|
+
}), $ = (t, e) => {
|
|
108
108
|
const o = t.__vccOpts || t;
|
|
109
109
|
for (const [n, a] of e)
|
|
110
110
|
o[n] = a;
|
|
111
111
|
return o;
|
|
112
|
-
}, an = /* @__PURE__ */
|
|
112
|
+
}, an = /* @__PURE__ */ $(Na, [["__scopeId", "data-v-513d034f"]]), Va = me(an, "ZCircleText"), Ma = { class: "classify-container" }, Pa = {
|
|
113
113
|
key: 0,
|
|
114
114
|
class: "tips"
|
|
115
115
|
}, La = {
|
|
116
116
|
key: 1,
|
|
117
117
|
class: "required"
|
|
118
|
-
},
|
|
118
|
+
}, Oa = /* @__PURE__ */ O({
|
|
119
119
|
name: "ZClassifyTitle",
|
|
120
120
|
__name: "index",
|
|
121
121
|
props: {
|
|
@@ -127,7 +127,7 @@ const Ia = (t, e) => (o) => {
|
|
|
127
127
|
showLine: { type: Boolean, default: !0 }
|
|
128
128
|
},
|
|
129
129
|
setup(t) {
|
|
130
|
-
|
|
130
|
+
Ee((n) => ({
|
|
131
131
|
"441450ce": e.value,
|
|
132
132
|
"0c7a2aa7": o.value
|
|
133
133
|
}));
|
|
@@ -153,7 +153,7 @@ const Ia = (t, e) => (o) => {
|
|
|
153
153
|
], 2)
|
|
154
154
|
]));
|
|
155
155
|
}
|
|
156
|
-
}), Oa = /* @__PURE__ */ W(za, [["__scopeId", "data-v-9bc2d215"]]), Ha = me(Oa, "ZClassifyTitle"), Ua = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADACAYAAACDO2h3AAAp10lEQVR4Xu2dS4hlSXrfE08/ZnoEXkl45Y3lTYE2LiEo8CIXo4HC9MZWLdsU2CTyQC1q1CCBDVeaFpKgYRZtjClv2t0jb2oxxh4jMFqMq0HGEqPuysqsR74qK58334/KzMrKR1U6/l/EF/HFF3HuPafq3pvVWfHBn/M+95yI3/2+iDhx4gy1Wq1/cO3ate+wbt++7edZw8Otd8x+72Cep1bYN6jV+uU7EPbHMqZ1NDJy612eXh4Zefd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L0gtaPtyDDExvOW/HAAqvx2xJ/X+7Qz2G35LB9AAAAABJRU5ErkJggg==", sn = /* @__PURE__ */ z({
|
|
156
|
+
}), za = /* @__PURE__ */ $(Oa, [["__scopeId", "data-v-9bc2d215"]]), Ha = me(za, "ZClassifyTitle"), Ua = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADACAYAAACDO2h3AAAp10lEQVR4Xu2dS4hlSXrfE08/ZnoEXkl45Y3lTYE2LiEo8CIXo4HC9MZWLdsU2CTyQC1q1CCBDVeaFpKgYRZtjClv2t0jb2oxxh4jMFqMq0HGEqPuysqsR74qK58334/KzMrKR1U6/l/EF/HFF3HuPafq3pvVWfHBn/M+95yI3/2+iDhx4gy1Wq1/cO3ate+wbt++7edZw8Otd8x+72Cep1bYN6jV+uU7EPbHMqZ1NDJy612eXh4Zefdaq/UephDWsa5da73Xat1+T66T23i7nEpdvXrjfbl848Zn70Ny+apYzh0rj7l8ecT/rpY8T26/qt/S11glvgY6z9XP3r906VqyTSqXbliXW8/iPEB+6PUy33J5OdyK12tWrK59Z0gCiPmhoRhIsS0Cj08K4IaGLKR8YvpxdwF8E/pCteTN0vSancobxzqdSJCEDsucAchMll0OGYN5ABD2FfNmeklkJp2Dp9H57LzMcL+vOE5v8+d1vx/B5I6Tv++Pp23pcfKaGERelsfrdOM0ZRA5/TR4vMz5wXnG83XyF/J8uHkwNcTgMVwBwJhUHMQQypPJk9p9fpn8cO4CdULIBIE4AWTC6YTU4PF2loYjBiXAxpnK8vtwBoupnJcAXL/e+i7DE87rgOVz835iPS97+MQ55fXzdSbXj2t3kiDzOXh/qao012ko80A7AxbnrYSUpfOcOZFRkjwghNBrQUzdJMCD9AntyXhqTyrFF60vni9O34y/edy0u3EthDMZXvk4rNPeBFPOxLAcZ2SUwTlJgJwkbJj/Tb2PBM9M/XYzHTb7Q3J7tL8TPCBDydev70Hei4fYgRjBK0CU6cXTXHElJ52POm8ljIiAMp9lVJSskAdk0GSIxU7S++VEJ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ZYhch5RJlAkMZA1JMuNceK7DPDb7ToJHoOooWCAONP1drkP75fbjt+T3k+eN9rfXRNfl//T0DWGsp2Ezno5AaBYL9NDpx/nBacl9mUF8JSjEG+r+fKfW46Bi5clJ4iiDBdBRxXcFMIIwFAL5gNtPy1ZFpQQQtIT4uKrprg5GnGLb9IByAnAieATQuyHddiPt3MCIsF5GgE4bDPLejgzvRJXXCLPI8HIAMPznMF6Xu9vlx38IwE0v0/Wy3GoDdNwT/k/Fm+nda7czGkk06pqWQuAYVuIZKHyocHLybLAZb6RCDyGj+Z5vfCCrdYvSQQgQyhBjMjGD5hwrCsiOiR3UuQBcfP+poMnlNs5kXheJyIyw06FZ8CyDlMKIgaEwdEeS+/P2xka3sag222hFi5/Wx4Xw2b3YS8o50MxwwJo58X9uSnfq57Xf3ZKT1QEXVoHSc8Xj5CmAdTL0gtaPtyDDExvOW/HAAqvx2xJ/X+7Qz2G35LB9AAAAABJRU5ErkJggg==", sn = /* @__PURE__ */ O({
|
|
157
157
|
name: "ZEmpty",
|
|
158
158
|
__name: "index",
|
|
159
159
|
props: {
|
|
@@ -187,7 +187,7 @@ var oe = /* @__PURE__ */ ((t) => (t.INPUT = "el-input", t.SELECT = "base-select"
|
|
|
187
187
|
const Qa = {
|
|
188
188
|
key: 0,
|
|
189
189
|
class: "advanced-filter-form-item__container"
|
|
190
|
-
}, Wa = /* @__PURE__ */
|
|
190
|
+
}, Wa = /* @__PURE__ */ O({
|
|
191
191
|
__name: "AdvancedFilterFormItem",
|
|
192
192
|
props: {
|
|
193
193
|
prop: {},
|
|
@@ -218,12 +218,12 @@ const Qa = {
|
|
|
218
218
|
"dynamic-expression": s.value,
|
|
219
219
|
"onUpdate:dynamicExpression": l[0] || (l[0] = (i) => s.value = i),
|
|
220
220
|
"model-value": d(e).formData[r.prop]
|
|
221
|
-
},
|
|
221
|
+
}, Ce(a()), {
|
|
222
222
|
"onUpdate:modelValue": l[1] || (l[1] = (i) => n(i))
|
|
223
223
|
}), null, 16, ["dynamic-expression", "model-value"]))
|
|
224
224
|
])) : P("", !0);
|
|
225
225
|
}
|
|
226
|
-
}), rn = /* @__PURE__ */
|
|
226
|
+
}), rn = /* @__PURE__ */ $(Wa, [["__scopeId", "data-v-78cd4e80"]]), cn = () => {
|
|
227
227
|
const t = () => document.body, e = [];
|
|
228
228
|
function o(a, s, u, r) {
|
|
229
229
|
let l, i, c, p;
|
|
@@ -281,11 +281,11 @@ const Qa = {
|
|
|
281
281
|
e("update:modelValue", n);
|
|
282
282
|
}
|
|
283
283
|
})
|
|
284
|
-
}), dn = (t) => t instanceof Promise || typeof t == "object" && typeof t.then == "function" && typeof t.catch == "function", pn = (t) => typeof t > "u" || typeof t == "object" && t === null || t === "", bc = (t) => /[\u4e00-\u9fa5]/.test(t), ja = (t) => typeof t == "function", yc = (t) => !t || !Number(t) || isNaN(Number(t)), mn = (t) => !t || !t.offsetParent || !t.offsetWidth || getComputedStyle(t).display === "none",
|
|
284
|
+
}), dn = (t) => t instanceof Promise || typeof t == "object" && typeof t.then == "function" && typeof t.catch == "function", pn = (t) => typeof t > "u" || typeof t == "object" && t === null || t === "", bc = (t) => /[\u4e00-\u9fa5]/.test(t), ja = (t) => typeof t == "function", yc = (t) => !t || !Number(t) || isNaN(Number(t)), mn = (t) => !t || !t.offsetParent || !t.offsetWidth || getComputedStyle(t).display === "none", ht = (t, e) => {
|
|
285
285
|
const o = N([]), n = N(!1);
|
|
286
286
|
let a = !1;
|
|
287
287
|
const s = (u) => {
|
|
288
|
-
o.value = u || [], n.value = !1, a || (a = !0,
|
|
288
|
+
o.value = u || [], n.value = !1, a || (a = !0, W().then(() => {
|
|
289
289
|
U.isFunction(e) && e();
|
|
290
290
|
}));
|
|
291
291
|
};
|
|
@@ -305,10 +305,10 @@ const Qa = {
|
|
|
305
305
|
parseOptions: o,
|
|
306
306
|
loadingOptions: n
|
|
307
307
|
};
|
|
308
|
-
}, Ya = (t) => t.name || t.__name || "",
|
|
308
|
+
}, Ya = (t) => t.name || t.__name || "", ke = (t) => Object.keys(t).reduce((o, n) => {
|
|
309
309
|
const a = Reflect.get(t, n);
|
|
310
|
-
return
|
|
311
|
-
}, {}), Ka = /* @__PURE__ */
|
|
310
|
+
return Te(a) || Reflect.set(o, n, a), o;
|
|
311
|
+
}, {}), Ka = /* @__PURE__ */ O({
|
|
312
312
|
__name: "BaseCascader",
|
|
313
313
|
props: {
|
|
314
314
|
on: { default: () => ({}) },
|
|
@@ -347,30 +347,30 @@ const Qa = {
|
|
|
347
347
|
},
|
|
348
348
|
emits: ["update:modelValue", "change"],
|
|
349
349
|
setup(t, { emit: e }) {
|
|
350
|
-
|
|
351
|
-
"
|
|
350
|
+
Ee((D) => ({
|
|
351
|
+
"7f2cd20d": C.value
|
|
352
352
|
}));
|
|
353
|
-
const o = t, n = e, { parseOptions: a, loadingOptions: s } =
|
|
353
|
+
const o = t, n = e, { parseOptions: a, loadingOptions: s } = ht(o), { value: u } = xe(o, n), r = R(() => U.omit(o.on, ["blur", "change"])), l = R(() => ke(U.omit(o, ["on", "options", "modelValue"]))), i = () => {
|
|
354
354
|
n("change", u.value);
|
|
355
355
|
};
|
|
356
356
|
let c;
|
|
357
357
|
const p = async (D) => {
|
|
358
|
-
D ? c = pe(u.value) : (await
|
|
359
|
-
}, C = R(() => o.width || "100%"),
|
|
358
|
+
D ? c = pe(u.value) : (await W(), qo(c, u.value) || i(), c = void 0), o.on.visibleChange?.(D);
|
|
359
|
+
}, C = R(() => o.width || "100%"), h = async (D, g) => {
|
|
360
360
|
const A = Reflect.get(o.on, D);
|
|
361
|
-
A && A(
|
|
361
|
+
A && A(g), await W(), i(), c = pe(o.props.multiple ? g ?? [] : g);
|
|
362
362
|
};
|
|
363
|
-
return (D,
|
|
363
|
+
return (D, g) => {
|
|
364
364
|
const A = E("el-cascader");
|
|
365
365
|
return m(), G(A, ee({
|
|
366
366
|
modelValue: d(u),
|
|
367
|
-
"onUpdate:modelValue":
|
|
367
|
+
"onUpdate:modelValue": g[0] || (g[0] = (b) => Fe(u) ? u.value = b : null),
|
|
368
368
|
class: "z-cascader",
|
|
369
369
|
loading: d(s)
|
|
370
|
-
}, l.value, { options: d(a) },
|
|
370
|
+
}, l.value, { options: d(a) }, Ce(r.value), {
|
|
371
371
|
onVisibleChange: p,
|
|
372
|
-
onClear:
|
|
373
|
-
onRemoveTag:
|
|
372
|
+
onClear: g[1] || (g[1] = (b) => h("clear", b)),
|
|
373
|
+
onRemoveTag: g[2] || (g[2] = (b) => h("removeTag", b))
|
|
374
374
|
}), Le({ _: 2 }, [
|
|
375
375
|
D.$slots.default ? {
|
|
376
376
|
name: "default",
|
|
@@ -396,9 +396,9 @@ const Qa = {
|
|
|
396
396
|
t.value = void 0;
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
|
-
}, $t = /* @__PURE__ */
|
|
399
|
+
}, $t = /* @__PURE__ */ O({
|
|
400
400
|
__name: "BaseDate",
|
|
401
|
-
props: /* @__PURE__ */
|
|
401
|
+
props: /* @__PURE__ */ he({
|
|
402
402
|
on: { default: () => ({}) },
|
|
403
403
|
autoAddSeconds: { type: Boolean, default: !0 },
|
|
404
404
|
useDefaultTimeToDay: { type: Boolean, default: !0 },
|
|
@@ -450,10 +450,10 @@ const Qa = {
|
|
|
450
450
|
},
|
|
451
451
|
dynamicExpressionModifiers: {}
|
|
452
452
|
}),
|
|
453
|
-
emits: /* @__PURE__ */
|
|
453
|
+
emits: /* @__PURE__ */ he(["update:modelValue", "change"], ["update:dynamicExpression"]),
|
|
454
454
|
setup(t, { emit: e }) {
|
|
455
455
|
const o = t, n = Ge(t, "dynamicExpression"), a = e, { value: s } = xe(o, a), { pushDynamicExpression: u, updateDynamicExpression: r } = Xa(n), l = R(
|
|
456
|
-
() =>
|
|
456
|
+
() => ke(
|
|
457
457
|
U.omit(o, [
|
|
458
458
|
"on",
|
|
459
459
|
"modelValue",
|
|
@@ -467,18 +467,18 @@ const Qa = {
|
|
|
467
467
|
), i = R(() => {
|
|
468
468
|
if (o.useDefaultTimeToDay)
|
|
469
469
|
return [new Date(2e3, 1, 1, 0, 0, 0), new Date(2e3, 1, 1, 23, 59, 59)];
|
|
470
|
-
}), c = (
|
|
471
|
-
if (!
|
|
472
|
-
return
|
|
473
|
-
const
|
|
474
|
-
return o.autoAddSeconds &&
|
|
470
|
+
}), c = (h, D) => {
|
|
471
|
+
if (!h)
|
|
472
|
+
return h;
|
|
473
|
+
const g = o.format || "", A = _e(h).format(g);
|
|
474
|
+
return o.autoAddSeconds && g === "YYYY-MM-DD HH:mm" ? `${A}:${D ? "59" : "00"}` : A;
|
|
475
475
|
}, p = R(() => ({
|
|
476
476
|
...o.on,
|
|
477
|
-
"update:modelValue": (
|
|
478
|
-
const D =
|
|
477
|
+
"update:modelValue": (h) => {
|
|
478
|
+
const D = h ?? "";
|
|
479
479
|
if (Array.isArray(D)) {
|
|
480
|
-
const [
|
|
481
|
-
a("update:modelValue", [c(
|
|
480
|
+
const [g, A] = D;
|
|
481
|
+
a("update:modelValue", [c(g), c(A, !0)]);
|
|
482
482
|
} else
|
|
483
483
|
a("update:modelValue", c(D, !0));
|
|
484
484
|
r();
|
|
@@ -488,30 +488,30 @@ const Qa = {
|
|
|
488
488
|
a("change", s.value);
|
|
489
489
|
})
|
|
490
490
|
})), C = R(
|
|
491
|
-
() => o.shortcuts?.map((
|
|
492
|
-
const { value: D, text:
|
|
491
|
+
() => o.shortcuts?.map((h) => {
|
|
492
|
+
const { value: D, text: g } = h;
|
|
493
493
|
return {
|
|
494
|
-
text:
|
|
494
|
+
text: g,
|
|
495
495
|
value: () => (u({
|
|
496
496
|
expression: "GET_DATE_RANGE",
|
|
497
|
-
params: [
|
|
497
|
+
params: [g, o.format || "", o.autoAddSeconds]
|
|
498
498
|
}), typeof D == "function" ? D() : D)
|
|
499
499
|
};
|
|
500
500
|
})
|
|
501
501
|
);
|
|
502
|
-
return (
|
|
503
|
-
const
|
|
504
|
-
return m(), G(
|
|
502
|
+
return (h, D) => {
|
|
503
|
+
const g = E("el-date-picker");
|
|
504
|
+
return m(), G(g, ee(l.value, {
|
|
505
505
|
"popper-class": `z-base-date-popper ${o.popperClass || ""}`,
|
|
506
506
|
"model-value": d(s),
|
|
507
507
|
"default-time": i.value,
|
|
508
508
|
shortcuts: C.value
|
|
509
|
-
},
|
|
509
|
+
}, Ce(p.value)), null, 16, ["popper-class", "model-value", "default-time", "shortcuts"]);
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
}), qa = { class: "base-date-range-and-select-group__date" }, Ja = { class: "base-date-range-and-select-group__select" }, es = /* @__PURE__ */
|
|
512
|
+
}), qa = { class: "base-date-range-and-select-group__date" }, Ja = { class: "base-date-range-and-select-group__select" }, es = /* @__PURE__ */ O({
|
|
513
513
|
__name: "BaseDateRangeAndSelectGroup",
|
|
514
|
-
props: /* @__PURE__ */
|
|
514
|
+
props: /* @__PURE__ */ he({
|
|
515
515
|
modelValue: { default: () => [] },
|
|
516
516
|
options: {},
|
|
517
517
|
selectWidth: { default: "100px" },
|
|
@@ -571,12 +571,12 @@ const Qa = {
|
|
|
571
571
|
},
|
|
572
572
|
dynamicExpressionModifiers: {}
|
|
573
573
|
}),
|
|
574
|
-
emits: /* @__PURE__ */
|
|
574
|
+
emits: /* @__PURE__ */ he(["update:modelValue", "change"], ["update:dynamicExpression"]),
|
|
575
575
|
setup(t, { emit: e }) {
|
|
576
|
-
const o = t, n = Ge(t, "dynamicExpression"), a = e, s = R(() =>
|
|
576
|
+
const o = t, n = Ge(t, "dynamicExpression"), a = e, s = R(() => ke(U.omit(o, ["options", "on", "modelValue"]))), { value: u } = xe(o, a), { parseOptions: r, loadingOptions: l } = ht(o, () => {
|
|
577
577
|
o.defaultSelectFirst && !u.value?.length && r.value.length && a("update:modelValue", ["", "", r.value[0]?.value ?? ""]);
|
|
578
578
|
}), i = () => {
|
|
579
|
-
|
|
579
|
+
W().then(() => {
|
|
580
580
|
a("change", u.value);
|
|
581
581
|
});
|
|
582
582
|
}, c = R({
|
|
@@ -604,7 +604,7 @@ const Qa = {
|
|
|
604
604
|
const b = pe(u.value), v = o.whenEmptyDateClearSelect && !A ? "" : u.value?.[2], T = [...A || ["", ""], v];
|
|
605
605
|
u.value = T, qo(b, T) || i();
|
|
606
606
|
}
|
|
607
|
-
}),
|
|
607
|
+
}), h = R(() => {
|
|
608
608
|
if (!o.disabledSelectByEmptyData)
|
|
609
609
|
return !1;
|
|
610
610
|
const [A, b] = o.modelValue;
|
|
@@ -616,7 +616,7 @@ const Qa = {
|
|
|
616
616
|
set(A) {
|
|
617
617
|
p(A, u.value?.[2]);
|
|
618
618
|
}
|
|
619
|
-
}),
|
|
619
|
+
}), g = R(() => ({
|
|
620
620
|
clearable: !1,
|
|
621
621
|
...o.selectOptions ?? {},
|
|
622
622
|
...o.selectAttrs ?? {}
|
|
@@ -643,9 +643,9 @@ const Qa = {
|
|
|
643
643
|
f(w, ee({
|
|
644
644
|
modelValue: c.value,
|
|
645
645
|
"onUpdate:modelValue": b[2] || (b[2] = (T) => c.value = T)
|
|
646
|
-
},
|
|
646
|
+
}, g.value ?? {}, {
|
|
647
647
|
style: { width: A.selectWidth },
|
|
648
|
-
disabled:
|
|
648
|
+
disabled: h.value ?? A.disabled,
|
|
649
649
|
clearable: !1,
|
|
650
650
|
loading: d(l)
|
|
651
651
|
}), {
|
|
@@ -660,7 +660,7 @@ const Qa = {
|
|
|
660
660
|
], 2);
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
|
-
}), ts = /* @__PURE__ */
|
|
663
|
+
}), ts = /* @__PURE__ */ $(es, [["__scopeId", "data-v-5851d5fe"]]), os = /* @__PURE__ */ O({
|
|
664
664
|
name: "BaseInput",
|
|
665
665
|
__name: "BaseInput",
|
|
666
666
|
setup(t) {
|
|
@@ -679,7 +679,7 @@ const Qa = {
|
|
|
679
679
|
]);
|
|
680
680
|
};
|
|
681
681
|
}
|
|
682
|
-
}), ns = { class: "base-number-input__container" }, as = /* @__PURE__ */
|
|
682
|
+
}), ns = { class: "base-number-input__container" }, as = /* @__PURE__ */ O({
|
|
683
683
|
__name: "BaseNumberInput",
|
|
684
684
|
props: {
|
|
685
685
|
on: { default: () => ({}) },
|
|
@@ -720,12 +720,12 @@ const Qa = {
|
|
|
720
720
|
emits: ["update:modelValue", "change"],
|
|
721
721
|
setup(t, { emit: e }) {
|
|
722
722
|
const o = t, n = e, { value: a } = xe(o, n), s = R(
|
|
723
|
-
() =>
|
|
723
|
+
() => ke(U.omit(o, ["on", "modelValue", "precision", "max", "min"]))
|
|
724
724
|
);
|
|
725
725
|
let u = o.modelValue;
|
|
726
726
|
const r = (D) => {
|
|
727
|
-
let
|
|
728
|
-
isNaN(Number(
|
|
727
|
+
let g = D;
|
|
728
|
+
isNaN(Number(g)) && (g = u), u !== g && (u = g), a.value = u;
|
|
729
729
|
}, l = () => {
|
|
730
730
|
let D = "^\\d+$";
|
|
731
731
|
return o.precision && (D = `^\\d+(\\.)?(\\d{1,${o.precision}})?$`), new RegExp(D);
|
|
@@ -741,25 +741,25 @@ const Qa = {
|
|
|
741
741
|
r(o.emptyValueToZero ? 0 : "");
|
|
742
742
|
return;
|
|
743
743
|
}
|
|
744
|
-
const { min:
|
|
744
|
+
const { min: g, max: A } = o;
|
|
745
745
|
if (D && !l().test(D)) {
|
|
746
746
|
r(u);
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
|
-
const b = Number(D), v = typeof
|
|
750
|
-
r(w ? A : v ?
|
|
751
|
-
}, p = R(() => U.omit(o.on, ["change", "input"])), C = dt(),
|
|
752
|
-
return (D,
|
|
749
|
+
const b = Number(D), v = typeof g < "u" && b < g, w = typeof A < "u" && b > A;
|
|
750
|
+
r(w ? A : v ? g : D), o.on?.input?.(u);
|
|
751
|
+
}, p = R(() => U.omit(o.on, ["change", "input"])), C = dt(), h = R(() => Object.keys(C));
|
|
752
|
+
return (D, g) => {
|
|
753
753
|
const A = E("el-input"), b = te("paste-trim");
|
|
754
754
|
return m(), y("div", ns, [
|
|
755
755
|
J((m(), G(A, ee(s.value, {
|
|
756
756
|
modelValue: d(a),
|
|
757
|
-
"onUpdate:modelValue":
|
|
758
|
-
},
|
|
757
|
+
"onUpdate:modelValue": g[0] || (g[0] = (v) => Fe(a) ? a.value = v : null)
|
|
758
|
+
}, Ce(p.value), {
|
|
759
759
|
onInput: c,
|
|
760
760
|
onChange: i
|
|
761
761
|
}), Le({ _: 2 }, [
|
|
762
|
-
Y(
|
|
762
|
+
Y(h.value, (v) => ({
|
|
763
763
|
name: v,
|
|
764
764
|
fn: F(() => [
|
|
765
765
|
le(D.$slots, v, {}, void 0, !0)
|
|
@@ -771,7 +771,7 @@ const Qa = {
|
|
|
771
771
|
]);
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
|
-
}), ss = /* @__PURE__ */
|
|
774
|
+
}), ss = /* @__PURE__ */ $(as, [["__scopeId", "data-v-3d0d247a"]]);
|
|
775
775
|
let yo = 1;
|
|
776
776
|
const ot = [], Ft = [], io = () => ({
|
|
777
777
|
startAsyncTask: () => {
|
|
@@ -779,7 +779,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
779
779
|
ot.push(a);
|
|
780
780
|
},
|
|
781
781
|
taskComplete: async () => {
|
|
782
|
-
await
|
|
782
|
+
await W(), ot.pop(), ot.length === 0 && (Ft.forEach((a) => a()), Ft.length = 0);
|
|
783
783
|
},
|
|
784
784
|
onTaskAllComplete: (a) => {
|
|
785
785
|
ot.length === 0 ? a() : Ft.push(a);
|
|
@@ -790,7 +790,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
790
790
|
}), us = { class: "base-number-range__container" }, ls = {
|
|
791
791
|
key: 0,
|
|
792
792
|
class: "base-number-range__separator"
|
|
793
|
-
}, rs = /* @__PURE__ */
|
|
793
|
+
}, rs = /* @__PURE__ */ O({
|
|
794
794
|
__name: "BaseNumberRange",
|
|
795
795
|
props: {
|
|
796
796
|
on: { default: () => ({}) },
|
|
@@ -806,7 +806,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
806
806
|
},
|
|
807
807
|
emits: ["update:modelValue", "change"],
|
|
808
808
|
setup(t, { emit: e }) {
|
|
809
|
-
|
|
809
|
+
Ee((v) => ({
|
|
810
810
|
"6fae3be1": v.inputWidth
|
|
811
811
|
}));
|
|
812
812
|
const o = t, n = e, { value: a } = xe(o, n), s = () => a.value?.map?.((v) => {
|
|
@@ -823,12 +823,12 @@ const ot = [], Ft = [], io = () => ({
|
|
|
823
823
|
c && (clearTimeout(c), i()), c = void 0;
|
|
824
824
|
}, C = () => {
|
|
825
825
|
p(), r("focus");
|
|
826
|
-
},
|
|
826
|
+
}, h = () => {
|
|
827
827
|
let v = "^\\d+$";
|
|
828
828
|
return o.precision && (v = `^\\d+(\\.)?(\\d{1,${o.precision}})?$`), new RegExp(v);
|
|
829
829
|
};
|
|
830
830
|
let D = [...a.value];
|
|
831
|
-
const
|
|
831
|
+
const g = (v) => {
|
|
832
832
|
D = [...v], n("update:modelValue", [...v]);
|
|
833
833
|
}, A = (v, w) => {
|
|
834
834
|
if (typeof v != "number" && !v) {
|
|
@@ -836,16 +836,16 @@ const ot = [], Ft = [], io = () => ({
|
|
|
836
836
|
return;
|
|
837
837
|
}
|
|
838
838
|
const { min: T, max: k } = o, S = [...a.value];
|
|
839
|
-
if (v && !
|
|
840
|
-
|
|
839
|
+
if (v && !h().test(v)) {
|
|
840
|
+
g(D);
|
|
841
841
|
return;
|
|
842
842
|
}
|
|
843
843
|
const x = Number(v), _ = typeof T < "u" && x < T, I = typeof k < "u" && x > k;
|
|
844
|
-
I || _ ? (S.splice(w, 1, I ? k : T),
|
|
844
|
+
I || _ ? (S.splice(w, 1, I ? k : T), g(S)) : D[w] = v;
|
|
845
845
|
}, b = () => {
|
|
846
846
|
l(), c = setTimeout(() => {
|
|
847
847
|
r("change"), n("change", s()), i();
|
|
848
|
-
}, 200),
|
|
848
|
+
}, 200), g(s());
|
|
849
849
|
};
|
|
850
850
|
return ct(() => {
|
|
851
851
|
p();
|
|
@@ -857,7 +857,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
857
857
|
modelValue: d(a)[S],
|
|
858
858
|
"onUpdate:modelValue": (x) => d(a)[S] = x,
|
|
859
859
|
disabled: v.disabled
|
|
860
|
-
},
|
|
860
|
+
}, Ce(u.value), {
|
|
861
861
|
onFocus: C,
|
|
862
862
|
onChange: b,
|
|
863
863
|
onInput: (x) => A(x, S)
|
|
@@ -869,7 +869,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
869
869
|
]);
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
|
-
}), is = /* @__PURE__ */
|
|
872
|
+
}), is = /* @__PURE__ */ $(rs, [["__scopeId", "data-v-9867f1ae"]]), cs = /* @__PURE__ */ O({
|
|
873
873
|
name: "BaseRadio",
|
|
874
874
|
__name: "BaseRadio",
|
|
875
875
|
props: {
|
|
@@ -887,12 +887,12 @@ const ot = [], Ft = [], io = () => ({
|
|
|
887
887
|
},
|
|
888
888
|
emits: ["update:modelValue"],
|
|
889
889
|
setup(t, { emit: e }) {
|
|
890
|
-
const o = t, n = e, { parseOptions: a, loadingOptions: s } =
|
|
890
|
+
const o = t, n = e, { parseOptions: a, loadingOptions: s } = ht(o), { value: u } = xe(o, n), r = R(() => ke(ze(o, ["on", "options", "modelValue"]))), l = (i) => ke(ze(i, ["label", "leaf", "children"]));
|
|
891
891
|
return (i, c) => {
|
|
892
|
-
const p = E("el-radio"), C = E("el-radio-group"),
|
|
892
|
+
const p = E("el-radio"), C = E("el-radio-group"), h = te("loading");
|
|
893
893
|
return J((m(), G(C, ee(r.value, {
|
|
894
894
|
modelValue: d(u),
|
|
895
|
-
"onUpdate:modelValue": c[0] || (c[0] = (D) =>
|
|
895
|
+
"onUpdate:modelValue": c[0] || (c[0] = (D) => Fe(u) ? u.value = D : null)
|
|
896
896
|
}), {
|
|
897
897
|
default: F(() => [
|
|
898
898
|
le(i.$slots, "default", {}, () => [
|
|
@@ -908,11 +908,11 @@ const ot = [], Ft = [], io = () => ({
|
|
|
908
908
|
]),
|
|
909
909
|
_: 3
|
|
910
910
|
}, 16, ["modelValue"])), [
|
|
911
|
-
[
|
|
911
|
+
[h, d(s)]
|
|
912
912
|
]);
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
|
-
}), ds = { class: "input_icons" }, ps = /* @__PURE__ */
|
|
915
|
+
}), ds = { class: "input_icons" }, ps = /* @__PURE__ */ O({
|
|
916
916
|
__name: "BaseSearchInput",
|
|
917
917
|
props: {
|
|
918
918
|
on: { default: () => ({}) },
|
|
@@ -948,7 +948,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
948
948
|
},
|
|
949
949
|
emits: ["update:modelValue", "suffixClick", "change"],
|
|
950
950
|
setup(t, { expose: e, emit: o }) {
|
|
951
|
-
const n = t, a = o, { value: s } = xe(n, a), u = N(), r = R(() =>
|
|
951
|
+
const n = t, a = o, { value: s } = xe(n, a), u = N(), r = R(() => ke(U.omit(n, ["on", "modelValue"]))), l = (c) => {
|
|
952
952
|
a("update:modelValue", c), a("change", c);
|
|
953
953
|
}, i = () => {
|
|
954
954
|
a("update:modelValue", ""), a("change", "");
|
|
@@ -959,16 +959,16 @@ const ot = [], Ft = [], io = () => ({
|
|
|
959
959
|
},
|
|
960
960
|
inputRef: u
|
|
961
961
|
}), (c, p) => {
|
|
962
|
-
const C = E("el-icon"),
|
|
963
|
-
return J((m(), G(
|
|
962
|
+
const C = E("el-icon"), h = E("el-input"), D = te("paste-trim");
|
|
963
|
+
return J((m(), G(h, ee({
|
|
964
964
|
ref_key: "inputRef",
|
|
965
965
|
ref: u
|
|
966
966
|
}, r.value, {
|
|
967
967
|
modelValue: d(s),
|
|
968
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
968
|
+
"onUpdate:modelValue": p[0] || (p[0] = (g) => Fe(s) ? s.value = g : null),
|
|
969
969
|
clearable: !1,
|
|
970
970
|
class: "base-search-input"
|
|
971
|
-
},
|
|
971
|
+
}, Ce(n.on), { onChange: l }), {
|
|
972
972
|
suffix: F(() => [
|
|
973
973
|
V("div", ds, [
|
|
974
974
|
d(s) ? (m(), G(C, {
|
|
@@ -994,18 +994,18 @@ const ot = [], Ft = [], io = () => ({
|
|
|
994
994
|
]);
|
|
995
995
|
};
|
|
996
996
|
}
|
|
997
|
-
}), Pt = /* @__PURE__ */
|
|
997
|
+
}), Pt = /* @__PURE__ */ $(ps, [["__scopeId", "data-v-6b1a4305"]]), ms = (t) => {
|
|
998
998
|
const e = /* @__PURE__ */ Object.create(null);
|
|
999
999
|
return ((o) => e[o] || (e[o] = t(o)));
|
|
1000
1000
|
}, Ds = /-\w/g, fs = ms(
|
|
1001
1001
|
(t) => t.replace(Ds, (e) => e.slice(1).toUpperCase())
|
|
1002
|
-
),
|
|
1003
|
-
const { _render: e, label: o } =
|
|
1004
|
-
return
|
|
1005
|
-
},
|
|
1006
|
-
const { labelRender: e, label: o } =
|
|
1007
|
-
return
|
|
1008
|
-
}, Cs = /* @__PURE__ */
|
|
1002
|
+
), Be = (t) => Object.keys(t).reduce((e, o) => (Reflect.set(e, fs(o), t[o]), e), {}), hs = (t) => {
|
|
1003
|
+
const { _render: e, label: o } = Be(t);
|
|
1004
|
+
return ge(e) ? e(Oe, t) : o;
|
|
1005
|
+
}, gs = (t) => {
|
|
1006
|
+
const { labelRender: e, label: o } = Be(t);
|
|
1007
|
+
return ge(e) ? e(Oe, t) : o;
|
|
1008
|
+
}, Cs = /* @__PURE__ */ O({
|
|
1009
1009
|
__name: "BaseSelect",
|
|
1010
1010
|
props: {
|
|
1011
1011
|
on: { default: () => ({}) },
|
|
@@ -1062,23 +1062,23 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1062
1062
|
},
|
|
1063
1063
|
emits: ["update:modelValue"],
|
|
1064
1064
|
setup(t, { emit: e }) {
|
|
1065
|
-
|
|
1065
|
+
Ee((c) => ({
|
|
1066
1066
|
"304fd598": l.value
|
|
1067
1067
|
}));
|
|
1068
|
-
const o = t, n = e, { parseOptions: a, loadingOptions: s } =
|
|
1068
|
+
const o = t, n = e, { parseOptions: a, loadingOptions: s } = ht(o), { value: u } = xe(o, n), r = R(() => ke(U.omit(o, ["on", "options", "modelValue"]))), l = R(() => o.width || "100%"), i = dt();
|
|
1069
1069
|
return (c, p) => {
|
|
1070
|
-
const C = E("el-option"),
|
|
1071
|
-
return m(), G(
|
|
1070
|
+
const C = E("el-option"), h = E("el-select");
|
|
1071
|
+
return m(), G(h, ee(r.value, {
|
|
1072
1072
|
modelValue: d(u),
|
|
1073
|
-
"onUpdate:modelValue": p[0] || (p[0] = (D) =>
|
|
1073
|
+
"onUpdate:modelValue": p[0] || (p[0] = (D) => Fe(u) ? u.value = D : null),
|
|
1074
1074
|
loading: d(s)
|
|
1075
|
-
},
|
|
1075
|
+
}, Ce(c.on)), Le({
|
|
1076
1076
|
default: F(() => [
|
|
1077
1077
|
(m(!0), y(Z, null, Y(d(a), (D) => (m(), G(C, ee({
|
|
1078
1078
|
key: D.value
|
|
1079
1079
|
}, { ref_for: !0 }, D), {
|
|
1080
1080
|
default: F(() => [
|
|
1081
|
-
f(d(
|
|
1081
|
+
f(d(hs), ee({ ref_for: !0 }, D), null, 16)
|
|
1082
1082
|
]),
|
|
1083
1083
|
_: 2
|
|
1084
1084
|
}, 1040))), 128))
|
|
@@ -1094,7 +1094,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1094
1094
|
]), 1040, ["modelValue", "loading"]);
|
|
1095
1095
|
};
|
|
1096
1096
|
}
|
|
1097
|
-
}), vs = /* @__PURE__ */
|
|
1097
|
+
}), vs = /* @__PURE__ */ $(Cs, [["__scopeId", "data-v-d1dfafd0"]]), As = (t, e = {}) => {
|
|
1098
1098
|
if (!e.style)
|
|
1099
1099
|
e.style = {
|
|
1100
1100
|
width: t
|
|
@@ -1112,7 +1112,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1112
1112
|
return e;
|
|
1113
1113
|
const o = parseFloat(t);
|
|
1114
1114
|
return isNaN(o) ? e : o;
|
|
1115
|
-
}, ys = { class: "input_icons" }, _s = /* @__PURE__ */
|
|
1115
|
+
}, ys = { class: "input_icons" }, _s = /* @__PURE__ */ O({
|
|
1116
1116
|
__name: "GroupSelectInput",
|
|
1117
1117
|
props: {
|
|
1118
1118
|
selectAttrs: {},
|
|
@@ -1156,50 +1156,50 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1156
1156
|
},
|
|
1157
1157
|
emits: ["change", "suffixClick", "update:modelValue"],
|
|
1158
1158
|
setup(t, { emit: e }) {
|
|
1159
|
-
const o = t, n = e, { value: a } = xe(o, n), { parseOptions: s, loadingOptions: u } =
|
|
1159
|
+
const o = t, n = e, { value: a } = xe(o, n), { parseOptions: s, loadingOptions: u } = ht(o, () => {
|
|
1160
1160
|
o.defaultSelectFirst && !a.value?.length && s.value.length && n("update:modelValue", ["", s.value[0]?.value ?? ""]);
|
|
1161
1161
|
}), r = R(() => {
|
|
1162
|
-
const
|
|
1163
|
-
return Object.assign({},
|
|
1162
|
+
const g = As(o.selectWidth, o.selectAttrs);
|
|
1163
|
+
return Object.assign({}, g);
|
|
1164
1164
|
}), l = () => {
|
|
1165
1165
|
n("change", a.value);
|
|
1166
1166
|
}, i = R(() => s.value.find((A) => A.value === a.value[1])?.placeholder ?? o.placeholder), c = R(
|
|
1167
|
-
() => s.value.find((
|
|
1168
|
-
), p = (
|
|
1167
|
+
() => s.value.find((g) => g.value === a.value[1])
|
|
1168
|
+
), p = (g) => {
|
|
1169
1169
|
const [, A] = a.value;
|
|
1170
|
-
let b =
|
|
1170
|
+
let b = g;
|
|
1171
1171
|
if (c.value?.type === "id")
|
|
1172
|
-
b = bs(
|
|
1172
|
+
b = bs(g);
|
|
1173
1173
|
else if (c.value?.format) {
|
|
1174
1174
|
const v = c.value.format;
|
|
1175
|
-
|
|
1175
|
+
ge(v) ? b = v(g) : b = g.replace(v, "");
|
|
1176
1176
|
}
|
|
1177
1177
|
n("update:modelValue", [b, A || ""]);
|
|
1178
1178
|
}, C = () => {
|
|
1179
|
-
const
|
|
1180
|
-
p(""), (o.changeOnSelect ||
|
|
1181
|
-
},
|
|
1182
|
-
() =>
|
|
1179
|
+
const g = a.value[0];
|
|
1180
|
+
p(""), (o.changeOnSelect || g) && l();
|
|
1181
|
+
}, h = R(
|
|
1182
|
+
() => ke(
|
|
1183
1183
|
U.omit(o, ["modelValue", "groupSelectInputAttrs", "placeholder", "options", "className", "class"])
|
|
1184
1184
|
)
|
|
1185
1185
|
), D = () => {
|
|
1186
1186
|
p(""), l();
|
|
1187
1187
|
};
|
|
1188
|
-
return (
|
|
1188
|
+
return (g, A) => {
|
|
1189
1189
|
const b = E("el-icon"), v = E("el-option"), w = E("el-select"), T = E("el-input"), k = te("paste-trim");
|
|
1190
1190
|
return J((m(), G(T, ee({
|
|
1191
1191
|
class: [
|
|
1192
1192
|
"group-select-input",
|
|
1193
|
-
|
|
1193
|
+
g.className || "",
|
|
1194
1194
|
{
|
|
1195
|
-
"is-reverse":
|
|
1195
|
+
"is-reverse": g.selectToFirst
|
|
1196
1196
|
}
|
|
1197
1197
|
]
|
|
1198
|
-
},
|
|
1198
|
+
}, h.value, {
|
|
1199
1199
|
"model-value": d(a)[0],
|
|
1200
1200
|
placeholder: i.value,
|
|
1201
1201
|
clearable: !1,
|
|
1202
|
-
maxlength: c.value?.maxlength ??
|
|
1202
|
+
maxlength: c.value?.maxlength ?? h.value.maxlength,
|
|
1203
1203
|
"onUpdate:modelValue": p,
|
|
1204
1204
|
onChange: l
|
|
1205
1205
|
}), {
|
|
@@ -1227,7 +1227,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1227
1227
|
modelValue: d(a)[1],
|
|
1228
1228
|
"onUpdate:modelValue": A[0] || (A[0] = (S) => d(a)[1] = S)
|
|
1229
1229
|
}, r.value, {
|
|
1230
|
-
disabled: r.value.disabled ??
|
|
1230
|
+
disabled: r.value.disabled ?? g.disabled,
|
|
1231
1231
|
loading: d(u),
|
|
1232
1232
|
onChange: C
|
|
1233
1233
|
}), {
|
|
@@ -1245,7 +1245,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1245
1245
|
]);
|
|
1246
1246
|
};
|
|
1247
1247
|
}
|
|
1248
|
-
}), Es = /* @__PURE__ */
|
|
1248
|
+
}), Es = /* @__PURE__ */ $(_s, [["__scopeId", "data-v-f161fc83"]]), Eo = {
|
|
1249
1249
|
[oe.GROUP_SELECT_INPUT]: Es,
|
|
1250
1250
|
[oe.SELECT]: vs,
|
|
1251
1251
|
[oe.SEARCH_INPUT]: Pt,
|
|
@@ -1257,11 +1257,11 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1257
1257
|
[oe.NUMBER_INPUT]: ss,
|
|
1258
1258
|
[oe.INPUT]: os,
|
|
1259
1259
|
[oe.RADIO]: cs
|
|
1260
|
-
}, Bs = { class: "advanced-filter-column-search__container" }, ws = { class: "search-input" }, Ss = /* @__PURE__ */
|
|
1260
|
+
}, Bs = { class: "advanced-filter-column-search__container" }, ws = { class: "search-input" }, Ss = /* @__PURE__ */ O({
|
|
1261
1261
|
name: "AdvancedFilterColumnSearch",
|
|
1262
1262
|
__name: "AdvancedFilterColumnSearch",
|
|
1263
1263
|
setup(t) {
|
|
1264
|
-
|
|
1264
|
+
Ee((p) => ({
|
|
1265
1265
|
"45fbcfb6": d(l)
|
|
1266
1266
|
}));
|
|
1267
1267
|
const { keywords: e, advancedFormBuilder: o, searchResult: n, itemIsChecked: a, search: s, searchInputRef: u } = $a(), { nextZIndex: r } = so(), l = r(), i = N({}), c = () => {
|
|
@@ -1270,14 +1270,14 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1270
1270
|
}), s();
|
|
1271
1271
|
};
|
|
1272
1272
|
return (p, C) => {
|
|
1273
|
-
const
|
|
1273
|
+
const h = E("ZEmpty"), D = E("el-checkbox"), g = E("el-col"), A = E("el-row"), b = E("el-form"), v = te("ellipsis");
|
|
1274
1274
|
return m(), y("div", Bs, [
|
|
1275
1275
|
V("div", ws, [
|
|
1276
1276
|
f(d(Pt), {
|
|
1277
1277
|
ref_key: "searchInputRef",
|
|
1278
1278
|
ref: u,
|
|
1279
1279
|
modelValue: d(e),
|
|
1280
|
-
"onUpdate:modelValue": C[0] || (C[0] = (w) =>
|
|
1280
|
+
"onUpdate:modelValue": C[0] || (C[0] = (w) => Fe(e) ? e.value = w : null),
|
|
1281
1281
|
clearable: "",
|
|
1282
1282
|
placeholder: "可搜索列名称",
|
|
1283
1283
|
onInput: c
|
|
@@ -1299,7 +1299,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1299
1299
|
default: F(() => [
|
|
1300
1300
|
f(A, { span: 24 }, {
|
|
1301
1301
|
default: F(() => [
|
|
1302
|
-
(m(!0), y(Z, null, Y(d(n), (w) => (m(), G(
|
|
1302
|
+
(m(!0), y(Z, null, Y(d(n), (w) => (m(), G(g, {
|
|
1303
1303
|
key: w.prop,
|
|
1304
1304
|
class: "advanced-filter-form__item",
|
|
1305
1305
|
span: 12
|
|
@@ -1331,7 +1331,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1331
1331
|
})
|
|
1332
1332
|
]),
|
|
1333
1333
|
_: 1
|
|
1334
|
-
}, 8, ["model"])) : (m(), G(
|
|
1334
|
+
}, 8, ["model"])) : (m(), G(h, {
|
|
1335
1335
|
key: 0,
|
|
1336
1336
|
class: "search_result-empty",
|
|
1337
1337
|
description: "无搜索结果"
|
|
@@ -1340,7 +1340,7 @@ const ot = [], Ft = [], io = () => ({
|
|
|
1340
1340
|
]);
|
|
1341
1341
|
};
|
|
1342
1342
|
}
|
|
1343
|
-
}), Ts = /* @__PURE__ */
|
|
1343
|
+
}), Ts = /* @__PURE__ */ $(Ss, [["__scopeId", "data-v-ed0d139d"]]), Bt = "列信息", ut = "默认筛选", ks = "自定义筛选", Is = 10;
|
|
1344
1344
|
var jt = /* @__PURE__ */ ((t) => (t.START_SEARCH = "start-search", t))(jt || {});
|
|
1345
1345
|
function Gs(t) {
|
|
1346
1346
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -1351,11 +1351,11 @@ function Rs() {
|
|
|
1351
1351
|
(function(o, n) {
|
|
1352
1352
|
t.exports = n();
|
|
1353
1353
|
})(xs, (function() {
|
|
1354
|
-
var o, n, a = 1e3, s = 6e4, u = 36e5, r = 864e5, l = /\[([^\]]+)]|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, i = 31536e6, c = 2628e6, p = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, C = { years: i, months: c, days: r, hours: u, minutes: s, seconds: a, milliseconds: 1, weeks: 6048e5 },
|
|
1354
|
+
var o, n, a = 1e3, s = 6e4, u = 36e5, r = 864e5, l = /\[([^\]]+)]|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, i = 31536e6, c = 2628e6, p = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, C = { years: i, months: c, days: r, hours: u, minutes: s, seconds: a, milliseconds: 1, weeks: 6048e5 }, h = function(S) {
|
|
1355
1355
|
return S instanceof T;
|
|
1356
1356
|
}, D = function(S, x, _) {
|
|
1357
1357
|
return new T(S, _, x.$l);
|
|
1358
|
-
},
|
|
1358
|
+
}, g = function(S) {
|
|
1359
1359
|
return n.p(S) + "s";
|
|
1360
1360
|
}, A = function(S) {
|
|
1361
1361
|
return S < 0;
|
|
@@ -1368,10 +1368,10 @@ function Rs() {
|
|
|
1368
1368
|
}, T = (function() {
|
|
1369
1369
|
function S(_, I, B) {
|
|
1370
1370
|
var M = this;
|
|
1371
|
-
if (this.$d = {}, this.$l = B, _ === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), I) return D(_ * C[
|
|
1371
|
+
if (this.$d = {}, this.$l = B, _ === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), I) return D(_ * C[g(I)], this);
|
|
1372
1372
|
if (typeof _ == "number") return this.$ms = _, this.parseFromMilliseconds(), this;
|
|
1373
1373
|
if (typeof _ == "object") return Object.keys(_).forEach((function(q) {
|
|
1374
|
-
M.$d[
|
|
1374
|
+
M.$d[g(q)] = _[q];
|
|
1375
1375
|
})), this.calMilliseconds(), this;
|
|
1376
1376
|
if (typeof _ == "string") {
|
|
1377
1377
|
var L = _.match(p);
|
|
@@ -1408,13 +1408,13 @@ function Rs() {
|
|
|
1408
1408
|
return L || String(B[M]);
|
|
1409
1409
|
}));
|
|
1410
1410
|
}, x.as = function(_) {
|
|
1411
|
-
return this.$ms / C[
|
|
1411
|
+
return this.$ms / C[g(_)];
|
|
1412
1412
|
}, x.get = function(_) {
|
|
1413
|
-
var I = this.$ms, B =
|
|
1413
|
+
var I = this.$ms, B = g(_);
|
|
1414
1414
|
return B === "milliseconds" ? I %= 1e3 : I = B === "weeks" ? b(I / C[B]) : this.$d[B], I || 0;
|
|
1415
1415
|
}, x.add = function(_, I, B) {
|
|
1416
1416
|
var M;
|
|
1417
|
-
return M = I ? _ * C[
|
|
1417
|
+
return M = I ? _ * C[g(I)] : h(_) ? _.$ms : D(_, this).$ms, D(this.$ms + M * (B ? -1 : 1), this);
|
|
1418
1418
|
}, x.subtract = function(_, I) {
|
|
1419
1419
|
return this.add(_, I, !0);
|
|
1420
1420
|
}, x.locale = function(_) {
|
|
@@ -1466,12 +1466,12 @@ function Rs() {
|
|
|
1466
1466
|
o = _, n = _().$utils(), _.duration = function(M, L) {
|
|
1467
1467
|
var H = _.locale();
|
|
1468
1468
|
return D(M, { $l: H }, L);
|
|
1469
|
-
}, _.isDuration =
|
|
1469
|
+
}, _.isDuration = h;
|
|
1470
1470
|
var I = x.prototype.add, B = x.prototype.subtract;
|
|
1471
1471
|
x.prototype.add = function(M, L) {
|
|
1472
|
-
return
|
|
1472
|
+
return h(M) ? k(this, M, 1) : I.bind(this)(M, L);
|
|
1473
1473
|
}, x.prototype.subtract = function(M, L) {
|
|
1474
|
-
return
|
|
1474
|
+
return h(M) ? k(this, M, -1) : B.bind(this)(M, L);
|
|
1475
1475
|
};
|
|
1476
1476
|
};
|
|
1477
1477
|
}));
|
|
@@ -1479,18 +1479,18 @@ function Rs() {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
var Ns = Rs();
|
|
1481
1481
|
const Vs = /* @__PURE__ */ Gs(Ns);
|
|
1482
|
-
|
|
1483
|
-
const
|
|
1482
|
+
_e.extend(Vs);
|
|
1483
|
+
const gt = "YYYY-MM-DD HH:mm:ss", Ms = (t, e = gt) => [_e(t).startOf("day"), _e(t).endOf("day")].map((o) => o.format(e)), Dn = (t = gt) => Ms(void 0, t);
|
|
1484
1484
|
function _c(t) {
|
|
1485
|
-
return
|
|
1485
|
+
return _e.duration(Math.ceil(Number(t) || 0), "seconds").format("mm:ss");
|
|
1486
1486
|
}
|
|
1487
1487
|
const Ec = (t, e = "HH:mm:ss") => {
|
|
1488
1488
|
const o = new Date(t * 1e3), n = o.getUTCHours(), a = o.getUTCMinutes(), s = o.getUTCSeconds();
|
|
1489
1489
|
return e.replace("HH", n.toString().padStart(2, "0")).replace("mm", a.toString().padStart(2, "0")).replace("ss", s.toString().padStart(2, "0"));
|
|
1490
|
-
}, Bc = (t, e =
|
|
1490
|
+
}, Bc = (t, e = gt, o = "day") => [_e().subtract(t, o), _e()].map((n) => n.format(e)), de = (t, e = gt, o = "day") => [_e().subtract(t, o).startOf("day"), _e().endOf("day")].map((n) => n.format(e).padStart(10, "0")), wc = (t) => t.getTime() > Date.now(), Ps = (t, e, o, n) => {
|
|
1491
1491
|
if (!t)
|
|
1492
1492
|
return t;
|
|
1493
|
-
const a =
|
|
1493
|
+
const a = _e(t).format(e || gt);
|
|
1494
1494
|
return o && e === "YYYY-MM-DD HH:mm" ? `${a}:${n ? "59" : "00"}` : a;
|
|
1495
1495
|
}, fn = {
|
|
1496
1496
|
/**
|
|
@@ -1540,11 +1540,11 @@ const Ec = (t, e = "HH:mm:ss") => {
|
|
|
1540
1540
|
}, Ls = (t, e = []) => {
|
|
1541
1541
|
const o = fn[t];
|
|
1542
1542
|
return typeof o == "function" ? o(...e) : void 0;
|
|
1543
|
-
},
|
|
1543
|
+
}, Os = "__custom-component__", Ve = /* @__PURE__ */ new Map(), Me = (t) => `${Os}${t}`, hn = (t) => Ve.has(Me(t));
|
|
1544
1544
|
function wt(t, e) {
|
|
1545
1545
|
Ve.has(Me(t)) && console.warn(`${t} 组件已经存在,重复定义会覆盖原有的组件`), Ve.set(Me(t), e);
|
|
1546
1546
|
}
|
|
1547
|
-
const
|
|
1547
|
+
const gn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), zs = (t) => Ve.get(Me(t))?.component, Hs = (t) => {
|
|
1548
1548
|
Ve.has(Me(t)) && Ve.delete(Me(t));
|
|
1549
1549
|
}, Us = 99999999, Zs = [
|
|
1550
1550
|
{
|
|
@@ -1583,7 +1583,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1583
1583
|
text: "近一年",
|
|
1584
1584
|
value: () => de(12, void 0, "month")
|
|
1585
1585
|
}
|
|
1586
|
-
],
|
|
1586
|
+
], be = (t, e) => {
|
|
1587
1587
|
const o = t.attrs || (t.attrs = {});
|
|
1588
1588
|
return Jo(o, e, (n, a) => n && a && st(n) && st(a) ? je(a, n) : n ?? a), t;
|
|
1589
1589
|
}, Yt = {
|
|
@@ -1591,7 +1591,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1591
1591
|
[oe.SWITCH]: (t) => t,
|
|
1592
1592
|
[oe.INPUT]: (t) => {
|
|
1593
1593
|
const { label: e } = t;
|
|
1594
|
-
return
|
|
1594
|
+
return be(t, {
|
|
1595
1595
|
placeholder: `请输入${e}`,
|
|
1596
1596
|
clearable: !0
|
|
1597
1597
|
}), t;
|
|
@@ -1606,11 +1606,11 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1606
1606
|
collapseTags: !0,
|
|
1607
1607
|
collapseTagsTooltip: !0,
|
|
1608
1608
|
filterable: !0
|
|
1609
|
-
}),
|
|
1609
|
+
}), be(t, n);
|
|
1610
1610
|
},
|
|
1611
1611
|
[oe.DATE]: (t) => {
|
|
1612
1612
|
const { label: e } = t;
|
|
1613
|
-
return
|
|
1613
|
+
return be(t, {
|
|
1614
1614
|
type: "datetime",
|
|
1615
1615
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
1616
1616
|
format: "YYYY-MM-DD HH:mm",
|
|
@@ -1623,7 +1623,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1623
1623
|
{
|
|
1624
1624
|
defaultValue: []
|
|
1625
1625
|
},
|
|
1626
|
-
|
|
1626
|
+
be(t, {
|
|
1627
1627
|
type: "datetimerange",
|
|
1628
1628
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
1629
1629
|
format: "YYYY-MM-DD HH:mm",
|
|
@@ -1643,14 +1643,14 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1643
1643
|
{
|
|
1644
1644
|
defaultValue: []
|
|
1645
1645
|
},
|
|
1646
|
-
|
|
1646
|
+
be(t, {
|
|
1647
1647
|
clearable: !0,
|
|
1648
1648
|
placeholder: "请输入对应的内容"
|
|
1649
1649
|
})
|
|
1650
1650
|
),
|
|
1651
1651
|
[oe.SEARCH_INPUT]: (t) => {
|
|
1652
1652
|
const { label: e } = t;
|
|
1653
|
-
return
|
|
1653
|
+
return be(t, {
|
|
1654
1654
|
placeholder: `请输入${e}`,
|
|
1655
1655
|
clearable: !0
|
|
1656
1656
|
});
|
|
@@ -1677,7 +1677,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1677
1677
|
}
|
|
1678
1678
|
)
|
|
1679
1679
|
},
|
|
1680
|
-
|
|
1680
|
+
be(t, s)
|
|
1681
1681
|
);
|
|
1682
1682
|
},
|
|
1683
1683
|
[oe.NUMBER_RANGE]: (t) => {
|
|
@@ -1688,7 +1688,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1688
1688
|
{
|
|
1689
1689
|
defaultValue: []
|
|
1690
1690
|
},
|
|
1691
|
-
|
|
1691
|
+
be(t, {
|
|
1692
1692
|
minProps: {
|
|
1693
1693
|
...o,
|
|
1694
1694
|
placeholder: `最小${e}`
|
|
@@ -1705,7 +1705,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1705
1705
|
},
|
|
1706
1706
|
[oe.DATE_RANGE_AND_SELECT_GROUP]: (t) => {
|
|
1707
1707
|
const e = Yt[oe.DATE_RANGE](t);
|
|
1708
|
-
return
|
|
1708
|
+
return be(e, {
|
|
1709
1709
|
selectOptions: {
|
|
1710
1710
|
placeholder: "请选择"
|
|
1711
1711
|
}
|
|
@@ -1713,7 +1713,7 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1713
1713
|
},
|
|
1714
1714
|
[oe.NUMBER_INPUT]: (t) => {
|
|
1715
1715
|
const { label: e } = t;
|
|
1716
|
-
return
|
|
1716
|
+
return be(t, {
|
|
1717
1717
|
placeholder: `请输入${e}`,
|
|
1718
1718
|
clearable: !0,
|
|
1719
1719
|
min: 0
|
|
@@ -1723,9 +1723,9 @@ const hn = (t) => Ve.get(Me(t)), Ht = (t) => Ve.has(Me(t)), Os = (t) => Ve.get(M
|
|
|
1723
1723
|
const { tag: e } = t;
|
|
1724
1724
|
if (en(e) && Reflect.has(Yt, e))
|
|
1725
1725
|
return Reflect.get(Yt, e)(t);
|
|
1726
|
-
if (Qs(e) &&
|
|
1727
|
-
const o =
|
|
1728
|
-
if (o?.defaultPraseStrategy &&
|
|
1726
|
+
if (Qs(e) && hn(e)) {
|
|
1727
|
+
const o = gn(e);
|
|
1728
|
+
if (o?.defaultPraseStrategy && ge(o.defaultPraseStrategy))
|
|
1729
1729
|
return o.defaultPraseStrategy(t);
|
|
1730
1730
|
}
|
|
1731
1731
|
};
|
|
@@ -1830,7 +1830,7 @@ class Cn {
|
|
|
1830
1830
|
*/
|
|
1831
1831
|
stopStacks = /* @__PURE__ */ new Set();
|
|
1832
1832
|
get getFormComponent() {
|
|
1833
|
-
return this.tag ? this._customTagName ||
|
|
1833
|
+
return this.tag ? this._customTagName || hn(this.tag) ? vo(zs(this.tag)) : Reflect.has(Eo, this.tag) ? vo(Eo[this.tag]) : this.tag : this.tag;
|
|
1834
1834
|
}
|
|
1835
1835
|
constructor(e) {
|
|
1836
1836
|
e && this.initProps(e);
|
|
@@ -1862,7 +1862,7 @@ class Cn {
|
|
|
1862
1862
|
const e = `advanced-filter__${this._customTagName}`;
|
|
1863
1863
|
Ht(e) || wt(
|
|
1864
1864
|
e,
|
|
1865
|
-
|
|
1865
|
+
gn(this._customTagName)
|
|
1866
1866
|
), this.tag = e, this._customTagName = e;
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
@@ -1983,11 +1983,11 @@ const $s = (t) => {
|
|
|
1983
1983
|
a.push({
|
|
1984
1984
|
groupName: l,
|
|
1985
1985
|
columns: s.map((p) => {
|
|
1986
|
-
const { readonly: C } = p,
|
|
1987
|
-
return
|
|
1988
|
-
...
|
|
1989
|
-
value: po(
|
|
1990
|
-
checked: !
|
|
1986
|
+
const { readonly: C } = p, h = c.get(p.prop);
|
|
1987
|
+
return h ? {
|
|
1988
|
+
...h,
|
|
1989
|
+
value: po(h),
|
|
1990
|
+
checked: !Te(h.sort),
|
|
1991
1991
|
readonly: C
|
|
1992
1992
|
} : p;
|
|
1993
1993
|
})
|
|
@@ -1997,35 +1997,35 @@ const $s = (t) => {
|
|
|
1997
1997
|
useGroup: n,
|
|
1998
1998
|
groups: a
|
|
1999
1999
|
};
|
|
2000
|
-
}, qs = { class: "advanced-filter-form__container" }, So = "advanced_filter_", Js = /* @__PURE__ */
|
|
2000
|
+
}, qs = { class: "advanced-filter-form__container" }, So = "advanced_filter_", Js = /* @__PURE__ */ O({
|
|
2001
2001
|
__name: "AdvancedFilterForm",
|
|
2002
2002
|
setup(t) {
|
|
2003
2003
|
const e = Ze(), o = N(), n = N(), a = R(() => {
|
|
2004
|
-
const
|
|
2004
|
+
const h = Ys(e.columns);
|
|
2005
2005
|
return {
|
|
2006
|
-
groupNames: Reflect.ownKeys(
|
|
2007
|
-
formItems:
|
|
2006
|
+
groupNames: Reflect.ownKeys(h),
|
|
2007
|
+
formItems: h
|
|
2008
2008
|
};
|
|
2009
|
-
}), s = N(a.value?.groupNames?.[0] ?? ""), u = (
|
|
2009
|
+
}), s = N(a.value?.groupNames?.[0] ?? ""), u = (h) => a.value.formItems[h].every(
|
|
2010
2010
|
(D) => !!e.activeGroupColumnsMap.get(D.prop)?.checked
|
|
2011
|
-
), r = (
|
|
2012
|
-
const D = a.value.formItems[
|
|
2011
|
+
), r = (h) => {
|
|
2012
|
+
const D = a.value.formItems[h], g = D.filter(
|
|
2013
2013
|
(A) => !!e.activeGroupColumnsMap.get(A.prop)?.checked
|
|
2014
2014
|
).length;
|
|
2015
|
-
return
|
|
2016
|
-
}, l = (
|
|
2017
|
-
a.value.formItems[
|
|
2018
|
-
e.updateActiveGroupColumnChecked(
|
|
2015
|
+
return g > 0 && g < D.length;
|
|
2016
|
+
}, l = (h, D) => {
|
|
2017
|
+
a.value.formItems[h].forEach((g) => {
|
|
2018
|
+
e.updateActiveGroupColumnChecked(g.prop, D);
|
|
2019
2019
|
});
|
|
2020
|
-
}, i = (
|
|
2021
|
-
|
|
2022
|
-
}, C = (
|
|
2023
|
-
s.value =
|
|
2020
|
+
}, i = (h) => !!e.activeGroupColumnsMap.get(h)?.checked, c = (h, D) => `${D ? "#" : ""}${So}${h}`, p = (h) => {
|
|
2021
|
+
h.preventDefault();
|
|
2022
|
+
}, C = (h) => {
|
|
2023
|
+
s.value = h ? h.replace(`#${So}`, "") : a.value?.groupNames?.[0] ?? "";
|
|
2024
2024
|
};
|
|
2025
2025
|
return e.on(ae.UPDATE_ACTIVE_GROUP, () => {
|
|
2026
2026
|
n.value?.scrollTo(c(a.value.groupNames[0], !0));
|
|
2027
|
-
}), (
|
|
2028
|
-
const
|
|
2027
|
+
}), (h, D) => {
|
|
2028
|
+
const g = E("el-anchor-link"), A = E("el-checkbox"), b = E("el-col"), v = E("el-row"), w = E("el-form"), T = te("ellipsis");
|
|
2029
2029
|
return m(), y("div", qs, [
|
|
2030
2030
|
f(d(_a), {
|
|
2031
2031
|
ref_key: "anchorRef",
|
|
@@ -2041,7 +2041,7 @@ const $s = (t) => {
|
|
|
2041
2041
|
onChange: C
|
|
2042
2042
|
}, {
|
|
2043
2043
|
default: F(() => [
|
|
2044
|
-
(m(!0), y(Z, null, Y(a.value.groupNames, (k) => (m(), G(
|
|
2044
|
+
(m(!0), y(Z, null, Y(a.value.groupNames, (k) => (m(), G(g, {
|
|
2045
2045
|
key: k,
|
|
2046
2046
|
class: ne(["group-item", { "is-active": k === s.value }]),
|
|
2047
2047
|
href: c(k, !0)
|
|
@@ -2125,10 +2125,10 @@ const $s = (t) => {
|
|
|
2125
2125
|
]);
|
|
2126
2126
|
};
|
|
2127
2127
|
}
|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L1G4oXtdd9Pq1SL11crvBdSmDe8VoZ0inJep8oV3wsy63btaXzpTAf0gTvV4vVVSud7QWbT3eukvfGlc39I11yrFtWUqLNoNDvfCwroDn699FGz7HtonWpK1FkyO74HFFL5EOHe6urqC76H1qkm1Zaot0iGdIjahO6INxc4QC742kOh2hL1lsi2r43C+jtw+CCyRh/JWFpaOulrD4Vqq/GxkzHfKWauuvx34vi/TCaT133NoVGNXnfmjO4OMcdKV+iOHEP6ePvjFPz4+2juDHOs9XfmyHLzAb2JNuQbNexHNWd8A/HuGO4I05R+wJuJYc0andG5MOabC/S3btUL90Of3dIMxvgE04zp7s0IZr7eOn7+s/jv8hBP5R5Wfwp4ue/Nnp7tE93EenA3txgsfWpUx9YxtCv9mZr/XgNxO37tug4nIuf58Nz+1Bv1qD/0uha5FXnQ7R7O3ohcVY/5hC4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYG7+A6qAtBODi1MzAAAAAElFTkSuQmCC", tu = { class: "advanced-filter-selected-list__container" }, ou = { class: "selected-item__label" }, nu = {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
class: "selected-item__icon"
|
|
2131
|
-
}, au = /* @__PURE__ */
|
|
2131
|
+
}, au = /* @__PURE__ */ O({
|
|
2132
2132
|
__name: "AdvancedFilterSelectedList",
|
|
2133
2133
|
setup(t) {
|
|
2134
2134
|
const e = Ze(), o = R({
|
|
@@ -2181,7 +2181,7 @@ const $s = (t) => {
|
|
|
2181
2181
|
]);
|
|
2182
2182
|
};
|
|
2183
2183
|
}
|
|
2184
|
-
}), su = /* @__PURE__ */
|
|
2184
|
+
}), su = /* @__PURE__ */ $(au, [["__scopeId", "data-v-559c9d11"]]), uu = { class: "advanced-filter-tab__content advanced-filter-tab__form" }, lu = { class: "advanced-filter-tab__content advanced-filter-tab__selected" }, ru = { class: "title" }, iu = /* @__PURE__ */ O({
|
|
2185
2185
|
__name: "AdvancedFilterTab",
|
|
2186
2186
|
setup(t) {
|
|
2187
2187
|
const e = Ze(), o = R(
|
|
@@ -2216,7 +2216,7 @@ const $s = (t) => {
|
|
|
2216
2216
|
])
|
|
2217
2217
|
], 512));
|
|
2218
2218
|
}
|
|
2219
|
-
}), cu = /* @__PURE__ */
|
|
2219
|
+
}), cu = /* @__PURE__ */ $(iu, [["__scopeId", "data-v-d7f8b755"]]);
|
|
2220
2220
|
function bn(t, e) {
|
|
2221
2221
|
uo.success({
|
|
2222
2222
|
message: t,
|
|
@@ -2233,7 +2233,7 @@ function Sc(t, e) {
|
|
|
2233
2233
|
...e
|
|
2234
2234
|
});
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2236
|
+
function Ie(t, e) {
|
|
2237
2237
|
const o = t.message || t.msg || t || "操作失败";
|
|
2238
2238
|
uo.error({
|
|
2239
2239
|
message: o,
|
|
@@ -2289,7 +2289,7 @@ function Tc(t, e) {
|
|
|
2289
2289
|
...e
|
|
2290
2290
|
});
|
|
2291
2291
|
}
|
|
2292
|
-
const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */
|
|
2292
|
+
const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ O({
|
|
2293
2293
|
__name: "AdvancedFilterTabItem",
|
|
2294
2294
|
props: {
|
|
2295
2295
|
modelValue: {
|
|
@@ -2306,15 +2306,15 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2306
2306
|
o.value?.hide(), s.value = e.value;
|
|
2307
2307
|
}, l = () => {
|
|
2308
2308
|
if (!s.value)
|
|
2309
|
-
return
|
|
2309
|
+
return Ie("名称不能为空");
|
|
2310
2310
|
if (n.groups.some((p) => p.groupName !== e.value && p.groupName === s.value))
|
|
2311
|
-
return
|
|
2311
|
+
return Ie("名称不能重复");
|
|
2312
2312
|
n.updateGroupName(e.value, s.value), r();
|
|
2313
2313
|
}, i = N(), c = async () => {
|
|
2314
|
-
await
|
|
2314
|
+
await W(), i.value?.focus();
|
|
2315
2315
|
};
|
|
2316
2316
|
return (p, C) => {
|
|
2317
|
-
const
|
|
2317
|
+
const h = E("el-icon"), D = E("el-input"), g = E("el-button"), A = E("el-popover");
|
|
2318
2318
|
return m(), y("div", {
|
|
2319
2319
|
class: ne([
|
|
2320
2320
|
"advanced-filter-tab-item__container",
|
|
@@ -2335,7 +2335,7 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2335
2335
|
onShow: c
|
|
2336
2336
|
}, {
|
|
2337
2337
|
reference: F(() => [
|
|
2338
|
-
f(
|
|
2338
|
+
f(h, null, {
|
|
2339
2339
|
default: F(() => [
|
|
2340
2340
|
f(d(Dt))
|
|
2341
2341
|
]),
|
|
@@ -2354,13 +2354,13 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2354
2354
|
onKeyup: Nt(l, ["enter"])
|
|
2355
2355
|
}, null, 8, ["modelValue"]),
|
|
2356
2356
|
V("div", pu, [
|
|
2357
|
-
f(
|
|
2357
|
+
f(g, { onClick: r }, {
|
|
2358
2358
|
default: F(() => [...C[2] || (C[2] = [
|
|
2359
2359
|
Q("取消", -1)
|
|
2360
2360
|
])]),
|
|
2361
2361
|
_: 1
|
|
2362
2362
|
}),
|
|
2363
|
-
f(
|
|
2363
|
+
f(g, {
|
|
2364
2364
|
type: "primary",
|
|
2365
2365
|
onClick: l
|
|
2366
2366
|
}, {
|
|
@@ -2373,7 +2373,7 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2373
2373
|
]),
|
|
2374
2374
|
_: 1
|
|
2375
2375
|
}, 512)),
|
|
2376
|
-
a.value ? P("", !0) : (m(), G(
|
|
2376
|
+
a.value ? P("", !0) : (m(), G(h, {
|
|
2377
2377
|
key: 1,
|
|
2378
2378
|
onClick: fe(u, ["stop"])
|
|
2379
2379
|
}, {
|
|
@@ -2385,14 +2385,14 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2385
2385
|
], 2);
|
|
2386
2386
|
};
|
|
2387
2387
|
}
|
|
2388
|
-
}), Du = /* @__PURE__ */
|
|
2388
|
+
}), Du = /* @__PURE__ */ $(mu, [["__scopeId", "data-v-6a6adb98"]]), fu = { class: "advanced-content__container" }, hu = { class: "advanced-content__tab-header" }, gu = /* @__PURE__ */ O({
|
|
2389
2389
|
__name: "AdvancedFilterContent",
|
|
2390
2390
|
setup(t) {
|
|
2391
2391
|
const e = Ze();
|
|
2392
2392
|
return (o, n) => {
|
|
2393
2393
|
const a = E("el-button");
|
|
2394
2394
|
return m(), y("div", fu, [
|
|
2395
|
-
V("div",
|
|
2395
|
+
V("div", hu, [
|
|
2396
2396
|
n[2] || (n[2] = V("div", { class: "title" }, "常用筛选", -1)),
|
|
2397
2397
|
(m(!0), y(Z, null, Y(d(e).groups, (s) => (m(), y("div", {
|
|
2398
2398
|
key: s.groupName,
|
|
@@ -2421,7 +2421,7 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2421
2421
|
]);
|
|
2422
2422
|
};
|
|
2423
2423
|
}
|
|
2424
|
-
}), Cu = /* @__PURE__ */
|
|
2424
|
+
}), Cu = /* @__PURE__ */ $(gu, [["__scopeId", "data-v-a48d2959"]]), lt = {
|
|
2425
2425
|
index: {
|
|
2426
2426
|
prop: "__index",
|
|
2427
2427
|
width: 60,
|
|
@@ -2573,7 +2573,7 @@ const pu = { class: "advanced-filter-tab-item__footer" }, mu = /* @__PURE__ */ z
|
|
|
2573
2573
|
*/
|
|
2574
2574
|
hasQueryAndResetBtn: !1
|
|
2575
2575
|
}, We = (t, e) => Jo({}, t, e, (o, n) => {
|
|
2576
|
-
if (Array.isArray(o))
|
|
2576
|
+
if (Fe(n) || Array.isArray(o))
|
|
2577
2577
|
return n;
|
|
2578
2578
|
});
|
|
2579
2579
|
class Fu {
|
|
@@ -3053,7 +3053,7 @@ class Bn {
|
|
|
3053
3053
|
return {
|
|
3054
3054
|
...u,
|
|
3055
3055
|
defaultValue: Reflect.has(o, r) ? l : a,
|
|
3056
|
-
defaultChecked:
|
|
3056
|
+
defaultChecked: Te(s) ? this.config.defaultCheckedAll : s
|
|
3057
3057
|
};
|
|
3058
3058
|
});
|
|
3059
3059
|
}
|
|
@@ -3354,12 +3354,12 @@ class wu extends Bn {
|
|
|
3354
3354
|
*/
|
|
3355
3355
|
onStartColumnSearch(e) {
|
|
3356
3356
|
this.emitter.on(jt.START_SEARCH, (o) => {
|
|
3357
|
-
|
|
3357
|
+
ge(o) && o(e());
|
|
3358
3358
|
});
|
|
3359
3359
|
}
|
|
3360
3360
|
advancedSaveValidate() {
|
|
3361
3361
|
const e = this.groups.find((o) => o.columns.every((n) => !n.checked));
|
|
3362
|
-
return e ? (
|
|
3362
|
+
return e ? (Ie(`${e.groupName} 至少保留一项`), this.updateActiveGroup(e.groupName, !0), !1) : !0;
|
|
3363
3363
|
}
|
|
3364
3364
|
destroy() {
|
|
3365
3365
|
super.destroy(), io().clearAllAsyncTask();
|
|
@@ -3386,7 +3386,7 @@ function Ye(t, e) {
|
|
|
3386
3386
|
const Su = {
|
|
3387
3387
|
key: 0,
|
|
3388
3388
|
class: "advanced-filter__loading"
|
|
3389
|
-
}, Tu = { class: "advanced-filter__loading-content" }, ku = /* @__PURE__ */
|
|
3389
|
+
}, Tu = { class: "advanced-filter__loading-content" }, ku = /* @__PURE__ */ O({
|
|
3390
3390
|
__name: "AdvancedFilter",
|
|
3391
3391
|
props: {
|
|
3392
3392
|
formBuilder: {}
|
|
@@ -3397,9 +3397,9 @@ const Su = {
|
|
|
3397
3397
|
}, { onTaskAllComplete: s } = io(), [u, r] = Ye(), l = () => {
|
|
3398
3398
|
u.value = !0, s(() => {
|
|
3399
3399
|
r(async () => {
|
|
3400
|
-
await
|
|
3400
|
+
await W(), n.value?.advancedSaveValidate() && (n.value?.updateActiveGroupColumnsValue(!1), await n.value?.saveAdvancedFilterData(), n.value && (t.formBuilder.updateGroupsByAdvancedFilter(
|
|
3401
3401
|
Fn(n.value.columnManagement.getFormatSaveGroups(), t.formBuilder.columns)
|
|
3402
|
-
), await
|
|
3402
|
+
), await W()), n.value?.emit(ae.SAVE_CONFIG), t.formBuilder.emit(ae.SAVE_CONFIG), bn("操作成功"));
|
|
3403
3403
|
});
|
|
3404
3404
|
});
|
|
3405
3405
|
}, [i, c] = Ye(), p = (C) => {
|
|
@@ -3408,7 +3408,7 @@ const Su = {
|
|
|
3408
3408
|
new wu([], {
|
|
3409
3409
|
pageId: t.formBuilder.config.pageId
|
|
3410
3410
|
})
|
|
3411
|
-
), await
|
|
3411
|
+
), await W(), n.value && n.value.init(t.formBuilder.baseColumnsGetter?.(n.value) ?? []), await W(), await n.value?.initGroups(), await W(), C && n.value?.updateActiveGroup(C), n.value?.on(ae.SAVE_CONFIG, a), n.value?.onChange(() => {
|
|
3412
3412
|
n.value?.updateActiveGroupColumnsValue();
|
|
3413
3413
|
});
|
|
3414
3414
|
});
|
|
@@ -3417,32 +3417,32 @@ const Su = {
|
|
|
3417
3417
|
i.value = !0, e.value = !0, setTimeout(() => {
|
|
3418
3418
|
p(C);
|
|
3419
3419
|
});
|
|
3420
|
-
}), (C,
|
|
3421
|
-
const D = E("el-icon"),
|
|
3420
|
+
}), (C, h) => {
|
|
3421
|
+
const D = E("el-icon"), g = E("el-button"), A = E("el-dialog");
|
|
3422
3422
|
return m(), G(A, {
|
|
3423
3423
|
modelValue: e.value,
|
|
3424
|
-
"onUpdate:modelValue":
|
|
3424
|
+
"onUpdate:modelValue": h[0] || (h[0] = (b) => e.value = b),
|
|
3425
3425
|
class: "advanced-filter__dialog",
|
|
3426
3426
|
title: "高级筛选",
|
|
3427
3427
|
"close-on-click-modal": !1,
|
|
3428
3428
|
"close-on-press-escape": !1
|
|
3429
3429
|
}, {
|
|
3430
3430
|
footer: F(() => [
|
|
3431
|
-
f(
|
|
3431
|
+
f(g, {
|
|
3432
3432
|
loading: d(u),
|
|
3433
3433
|
onClick: a
|
|
3434
3434
|
}, {
|
|
3435
|
-
default: F(() => [...
|
|
3435
|
+
default: F(() => [...h[2] || (h[2] = [
|
|
3436
3436
|
Q("取消", -1)
|
|
3437
3437
|
])]),
|
|
3438
3438
|
_: 1
|
|
3439
3439
|
}, 8, ["loading"]),
|
|
3440
|
-
f(
|
|
3440
|
+
f(g, {
|
|
3441
3441
|
loading: d(u),
|
|
3442
3442
|
type: "primary",
|
|
3443
3443
|
onClick: l
|
|
3444
3444
|
}, {
|
|
3445
|
-
default: F(() => [...
|
|
3445
|
+
default: F(() => [...h[3] || (h[3] = [
|
|
3446
3446
|
Q("确认", -1)
|
|
3447
3447
|
])]),
|
|
3448
3448
|
_: 1
|
|
@@ -3457,7 +3457,7 @@ const Su = {
|
|
|
3457
3457
|
]),
|
|
3458
3458
|
_: 1
|
|
3459
3459
|
}),
|
|
3460
|
-
|
|
3460
|
+
h[1] || (h[1] = V("div", { class: "text" }, "加载中", -1))
|
|
3461
3461
|
])
|
|
3462
3462
|
])) : P("", !0),
|
|
3463
3463
|
d(n) && e.value && !d(i) ? (m(), G(Cu, {
|
|
@@ -3470,24 +3470,24 @@ const Su = {
|
|
|
3470
3470
|
};
|
|
3471
3471
|
}
|
|
3472
3472
|
}), Iu = (t) => {
|
|
3473
|
-
const e = N(), o = N(!1), n = N({}), a = (
|
|
3474
|
-
const { prop:
|
|
3475
|
-
|
|
3473
|
+
const e = N(), o = N(!1), n = N({}), a = (h, D) => {
|
|
3474
|
+
const { prop: g } = D;
|
|
3475
|
+
g && Reflect.set(n.value, g, h);
|
|
3476
3476
|
}, s = N(!1), u = N([]), r = 5, l = async () => {
|
|
3477
3477
|
if (mn(e.value?.$el))
|
|
3478
3478
|
return;
|
|
3479
3479
|
t.hiddenProps.clear();
|
|
3480
|
-
const
|
|
3480
|
+
const h = u.value.reduce((A, b) => {
|
|
3481
3481
|
const v = b.$el, w = v?.getAttribute("data-prop");
|
|
3482
3482
|
return w && A.set(w, v), A;
|
|
3483
3483
|
}, /* @__PURE__ */ new Map());
|
|
3484
3484
|
if (!t.isExpand) {
|
|
3485
|
-
await
|
|
3485
|
+
await W();
|
|
3486
3486
|
let A = 0;
|
|
3487
3487
|
t.getShowColumns.forEach((b) => {
|
|
3488
3488
|
const { prop: v } = b;
|
|
3489
3489
|
if (U.isString(v)) {
|
|
3490
|
-
const w =
|
|
3490
|
+
const w = h.get(v);
|
|
3491
3491
|
if (w) {
|
|
3492
3492
|
const { top: T } = w.getBoundingClientRect() ?? {};
|
|
3493
3493
|
A ? Math.abs(T - A) > r ? t.hiddenProps.add(v) : t.hiddenProps.delete(v) : (A = T, t.hiddenProps.delete(v));
|
|
@@ -3496,10 +3496,10 @@ const Su = {
|
|
|
3496
3496
|
}
|
|
3497
3497
|
});
|
|
3498
3498
|
}
|
|
3499
|
-
await
|
|
3500
|
-
const D = t.getShowColumns[0],
|
|
3501
|
-
if (D &&
|
|
3502
|
-
const A =
|
|
3499
|
+
await W();
|
|
3500
|
+
const D = t.getShowColumns[0], g = t.getShowColumns.at(-1);
|
|
3501
|
+
if (D && g) {
|
|
3502
|
+
const A = h.get(D.prop), b = h.get(g.prop);
|
|
3503
3503
|
if (A && b) {
|
|
3504
3504
|
const { top: v } = A.getBoundingClientRect() ?? {}, { top: w } = b.getBoundingClientRect() ?? {}, T = Math.abs(v - w) > r;
|
|
3505
3505
|
s.value = !T;
|
|
@@ -3509,10 +3509,10 @@ const Su = {
|
|
|
3509
3509
|
};
|
|
3510
3510
|
let i = !0;
|
|
3511
3511
|
const c = xt(
|
|
3512
|
-
() => t.columns.map((
|
|
3513
|
-
visible:
|
|
3512
|
+
() => t.columns.map((h) => ({
|
|
3513
|
+
visible: h.validateIsHidden(t.formData),
|
|
3514
3514
|
/* 读取下 sort,当sort变化的时候需要触发监听 */
|
|
3515
|
-
sort:
|
|
3515
|
+
sort: h.sort
|
|
3516
3516
|
})).concat([t.config.hideExpandBtn, t.isExpand]),
|
|
3517
3517
|
() => {
|
|
3518
3518
|
!t.config.hideExpandBtn && t.columns && l(), e.value && n.value && t.formInstanceManagement.init(e, n);
|
|
@@ -3525,12 +3525,12 @@ const Su = {
|
|
|
3525
3525
|
o.value = !0;
|
|
3526
3526
|
try {
|
|
3527
3527
|
await t.initGroups(), t.updateActiveGroup(t.activeGroupName);
|
|
3528
|
-
} catch (
|
|
3529
|
-
throw o.value = !1,
|
|
3528
|
+
} catch (h) {
|
|
3529
|
+
throw o.value = !1, h;
|
|
3530
3530
|
}
|
|
3531
3531
|
} else
|
|
3532
3532
|
t.columnManagement.showAllFormItems();
|
|
3533
|
-
o.value = !1, await
|
|
3533
|
+
o.value = !1, await W(), t.config.hideExpandBtn ? c() : (p = new ResizeObserver(() => {
|
|
3534
3534
|
i && requestAnimationFrame(l);
|
|
3535
3535
|
}), e.value && p.observe(e.value.$el));
|
|
3536
3536
|
};
|
|
@@ -3540,7 +3540,7 @@ const Su = {
|
|
|
3540
3540
|
i = !1;
|
|
3541
3541
|
}), mt(() => {
|
|
3542
3542
|
C().finally(() => {
|
|
3543
|
-
|
|
3543
|
+
W().then(() => {
|
|
3544
3544
|
t.emit(ae.COLUMNS_LOADED);
|
|
3545
3545
|
});
|
|
3546
3546
|
});
|
|
@@ -3562,7 +3562,7 @@ const Su = {
|
|
|
3562
3562
|
}, Nu = { class: "z-form-item__label-tips" }, Vu = {
|
|
3563
3563
|
key: 0,
|
|
3564
3564
|
class: "base-form__actions"
|
|
3565
|
-
}, Mu = /* @__PURE__ */
|
|
3565
|
+
}, Mu = /* @__PURE__ */ O({
|
|
3566
3566
|
name: "ZForm",
|
|
3567
3567
|
__name: "index",
|
|
3568
3568
|
props: {
|
|
@@ -3570,18 +3570,18 @@ const Su = {
|
|
|
3570
3570
|
},
|
|
3571
3571
|
emits: ["change"],
|
|
3572
3572
|
setup(t, { emit: e }) {
|
|
3573
|
-
const o = e, { baseFormRef: n, autoHiddenExpand: a, colRefs: s, loadingConfigColumns: u, collectionRef: r } = Iu(t.formBuilder), { configManagement: l, config: i } = t.formBuilder, c = (D,
|
|
3574
|
-
() => (D) => D.parseColumnEvent((...
|
|
3575
|
-
t.formBuilder.emit(ae.CHANGE), o("change", ...
|
|
3573
|
+
const o = e, { baseFormRef: n, autoHiddenExpand: a, colRefs: s, loadingConfigColumns: u, collectionRef: r } = Iu(t.formBuilder), { configManagement: l, config: i } = t.formBuilder, c = (D, g) => g ? en(g) ? `${Object.keys(D).reduce((b, v) => (b.push(`${v}:${Reflect.get(D, v)}`), b), []).join(";")} ${g}` : { ...D, ...g } : D, p = R(
|
|
3574
|
+
() => (D) => D.parseColumnEvent((...g) => {
|
|
3575
|
+
t.formBuilder.emit(ae.CHANGE), o("change", ...g);
|
|
3576
3576
|
})
|
|
3577
|
-
), C = (D,
|
|
3578
|
-
t.formBuilder.updateFormData(D.prop,
|
|
3579
|
-
},
|
|
3577
|
+
), C = (D, g) => {
|
|
3578
|
+
t.formBuilder.updateFormData(D.prop, g);
|
|
3579
|
+
}, h = () => {
|
|
3580
3580
|
t.formBuilder.isExpand || t.formBuilder.toggleExpand();
|
|
3581
3581
|
};
|
|
3582
3582
|
return t.formBuilder.on(ae.SAVE_CONFIG, async () => {
|
|
3583
|
-
t.formBuilder.resetFormDataByActiveGroup(), t.formBuilder.emit(ae.CHANGE), await
|
|
3584
|
-
}), t.formBuilder.on(ae.UPDATE_ACTIVE_GROUP,
|
|
3583
|
+
t.formBuilder.resetFormDataByActiveGroup(), t.formBuilder.emit(ae.CHANGE), await W(), h();
|
|
3584
|
+
}), t.formBuilder.on(ae.UPDATE_ACTIVE_GROUP, h), (D, g) => {
|
|
3585
3585
|
const A = E("el-icon"), b = E("el-tooltip"), v = E("el-form-item"), w = E("el-col"), T = E("el-row"), k = E("el-form"), S = E("el-button"), x = te("loading");
|
|
3586
3586
|
return m(), y(Z, null, [
|
|
3587
3587
|
V("div", {
|
|
@@ -3600,7 +3600,7 @@ const Su = {
|
|
|
3600
3600
|
class: "base-form__form"
|
|
3601
3601
|
}, d(l).getFormAttrs, {
|
|
3602
3602
|
model: D.formBuilder.formData,
|
|
3603
|
-
onSubmit:
|
|
3603
|
+
onSubmit: g[0] || (g[0] = fe(() => {
|
|
3604
3604
|
}, ["prevent"]))
|
|
3605
3605
|
}), {
|
|
3606
3606
|
default: F(() => [
|
|
@@ -3627,7 +3627,7 @@ const Su = {
|
|
|
3627
3627
|
ref_for: !0,
|
|
3628
3628
|
ref: (I) => d(r)(I, _),
|
|
3629
3629
|
"model-value": D.formBuilder.formData[_.prop]
|
|
3630
|
-
},
|
|
3630
|
+
}, Ce(p.value(_)), {
|
|
3631
3631
|
"onUpdate:modelValue": (I) => C(_, I)
|
|
3632
3632
|
}), null, 16, ["model-value", "onUpdate:modelValue"]))
|
|
3633
3633
|
]),
|
|
@@ -3637,7 +3637,7 @@ const Su = {
|
|
|
3637
3637
|
name: "label",
|
|
3638
3638
|
fn: F(() => [
|
|
3639
3639
|
_.labelRender ? (m(), y("div", xu, [
|
|
3640
|
-
f(d(
|
|
3640
|
+
f(d(gs), ee({ ref_for: !0 }, _), null, 16)
|
|
3641
3641
|
])) : _.label ? (m(), y("div", Ru, [
|
|
3642
3642
|
V("span", null, X(_.label), 1),
|
|
3643
3643
|
_.tips ? (m(), G(b, {
|
|
@@ -3680,9 +3680,9 @@ const Su = {
|
|
|
3680
3680
|
type: "primary",
|
|
3681
3681
|
icon: d(oo),
|
|
3682
3682
|
hollow: "",
|
|
3683
|
-
onClick:
|
|
3683
|
+
onClick: g[1] || (g[1] = (_) => D.formBuilder.triggerSearch())
|
|
3684
3684
|
}, {
|
|
3685
|
-
default: F(() => [...
|
|
3685
|
+
default: F(() => [...g[4] || (g[4] = [
|
|
3686
3686
|
Q("查询", -1)
|
|
3687
3687
|
])]),
|
|
3688
3688
|
_: 1
|
|
@@ -3691,9 +3691,9 @@ const Su = {
|
|
|
3691
3691
|
type: "primary",
|
|
3692
3692
|
icon: d(va),
|
|
3693
3693
|
hollow: "",
|
|
3694
|
-
onClick:
|
|
3694
|
+
onClick: g[2] || (g[2] = (_) => D.formBuilder.triggerReset())
|
|
3695
3695
|
}, {
|
|
3696
|
-
default: F(() => [...
|
|
3696
|
+
default: F(() => [...g[5] || (g[5] = [
|
|
3697
3697
|
Q("重置", -1)
|
|
3698
3698
|
])]),
|
|
3699
3699
|
_: 1
|
|
@@ -3705,7 +3705,7 @@ const Su = {
|
|
|
3705
3705
|
key: 0,
|
|
3706
3706
|
class: ne(["expand-btn", { "expand-btn__expand": D.formBuilder.isExpand }]),
|
|
3707
3707
|
style: kt({ display: D.formBuilder.getShowColumns.length ? "" : "none" }),
|
|
3708
|
-
onClick:
|
|
3708
|
+
onClick: g[3] || (g[3] = //@ts-ignore
|
|
3709
3709
|
(..._) => D.formBuilder.toggleExpand && D.formBuilder.toggleExpand(..._))
|
|
3710
3710
|
}, [
|
|
3711
3711
|
f(A, null, {
|
|
@@ -3722,13 +3722,13 @@ const Su = {
|
|
|
3722
3722
|
], 64);
|
|
3723
3723
|
};
|
|
3724
3724
|
}
|
|
3725
|
-
}), Pu = /* @__PURE__ */
|
|
3725
|
+
}), Pu = /* @__PURE__ */ $(Mu, [["__scopeId", "data-v-08fbd213"]]), Lu = me(Pu, "ZForm"), Ou = { class: "z-base-step__step" }, zu = ["onClick"], Hu = { class: "z-base-step__step-item__content" }, Uu = {
|
|
3726
3726
|
key: 0,
|
|
3727
3727
|
class: "z-base-step__step-line"
|
|
3728
|
-
}, Zu = /* @__PURE__ */
|
|
3728
|
+
}, Zu = /* @__PURE__ */ O({
|
|
3729
3729
|
name: "ZHorizontalStep",
|
|
3730
3730
|
__name: "index",
|
|
3731
|
-
props: /* @__PURE__ */
|
|
3731
|
+
props: /* @__PURE__ */ he({
|
|
3732
3732
|
steps: {}
|
|
3733
3733
|
}, {
|
|
3734
3734
|
modelValue: {
|
|
@@ -3736,12 +3736,12 @@ const Su = {
|
|
|
3736
3736
|
},
|
|
3737
3737
|
modelModifiers: {}
|
|
3738
3738
|
}),
|
|
3739
|
-
emits: /* @__PURE__ */
|
|
3739
|
+
emits: /* @__PURE__ */ he(["change"], ["update:modelValue"]),
|
|
3740
3740
|
setup(t, { emit: e }) {
|
|
3741
3741
|
const o = Ge(t, "modelValue"), n = e;
|
|
3742
3742
|
return mt(() => {
|
|
3743
3743
|
!o.value && t.steps.length && (o.value = t.steps[0].value);
|
|
3744
|
-
}), (a, s) => (m(), y("div",
|
|
3744
|
+
}), (a, s) => (m(), y("div", Ou, [
|
|
3745
3745
|
(m(!0), y(Z, null, Y(a.steps, (u, r) => (m(), y("div", {
|
|
3746
3746
|
key: u.value,
|
|
3747
3747
|
class: ne(["z-base-step__step-item", { "is-active": u.value === o.value }]),
|
|
@@ -3756,10 +3756,10 @@ const Su = {
|
|
|
3756
3756
|
Q(" " + X(u.label), 1)
|
|
3757
3757
|
]),
|
|
3758
3758
|
r !== a.steps.length - 1 ? (m(), y("div", Uu)) : P("", !0)
|
|
3759
|
-
], 10,
|
|
3759
|
+
], 10, zu))), 128))
|
|
3760
3760
|
]));
|
|
3761
3761
|
}
|
|
3762
|
-
}), Qu = /* @__PURE__ */
|
|
3762
|
+
}), Qu = /* @__PURE__ */ $(Zu, [["__scopeId", "data-v-53f4f3a4"]]), Wu = me(Qu, "ZHorizontalStep"), $u = ["src", "alt"], ju = ["src", "alt"], Yu = /* @__PURE__ */ O({
|
|
3763
3763
|
name: "ZOperationIconButton",
|
|
3764
3764
|
__name: "index",
|
|
3765
3765
|
props: {
|
|
@@ -3804,7 +3804,7 @@ const Su = {
|
|
|
3804
3804
|
]));
|
|
3805
3805
|
};
|
|
3806
3806
|
}
|
|
3807
|
-
}), Ke = /* @__PURE__ */
|
|
3807
|
+
}), Ke = /* @__PURE__ */ $(Yu, [["__scopeId", "data-v-dafc6887"]]), wn = me(Ke, "ZOperationIconButton"), Ku = /* @__PURE__ */ O({
|
|
3808
3808
|
name: "ZPlusBold",
|
|
3809
3809
|
__name: "index",
|
|
3810
3810
|
setup(t) {
|
|
@@ -3818,7 +3818,7 @@ const Su = {
|
|
|
3818
3818
|
});
|
|
3819
3819
|
};
|
|
3820
3820
|
}
|
|
3821
|
-
}), Xu = /* @__PURE__ */
|
|
3821
|
+
}), Xu = /* @__PURE__ */ $(Ku, [["__scopeId", "data-v-c6fd2334"]]), qu = me(Xu, "ZPlusBold"), Ju = {
|
|
3822
3822
|
class: "z-show-to-tags__container"
|
|
3823
3823
|
}, el = {
|
|
3824
3824
|
class: "z-show-to-tags__list"
|
|
@@ -3827,7 +3827,7 @@ const Su = {
|
|
|
3827
3827
|
class: "show-to-tags__count-button"
|
|
3828
3828
|
}, ol = {
|
|
3829
3829
|
class: "z-add-tag__tooltip-tag-list"
|
|
3830
|
-
}, nl = /* @__PURE__ */
|
|
3830
|
+
}, nl = /* @__PURE__ */ O({
|
|
3831
3831
|
name: "ZShowToTags",
|
|
3832
3832
|
__name: "index",
|
|
3833
3833
|
props: {
|
|
@@ -3873,7 +3873,7 @@ const Su = {
|
|
|
3873
3873
|
}, 8, ["disabled"])]);
|
|
3874
3874
|
};
|
|
3875
3875
|
}
|
|
3876
|
-
}), al = /* @__PURE__ */
|
|
3876
|
+
}), al = /* @__PURE__ */ $(nl, [["__scopeId", "data-v-2c568d65"]]), sl = me(al, "ZShowToTags"), Sn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAACQElEQVR4Xu2YzXGDMBCFXUJKoISU4AYAHYH4wCUZID7QQdKB3UHcgdOBS6EESki0DGDpgYyQUOJk+GZ0gdXqod3VD5vNyso/h7Hyge32W3x+N5C4MM4vQZLXQZx/saj00OZX6QVycWLzkyJFWySIXw/UV9VYnDPsMxsKcZgUHyjw2ooj9kHGPrBvSfaO9rNhUeZxZxU6D3nY+eBnP8lS+hDshyiFuhQZxNlRR5yIQmhNY6DtLEgIiuSDVdzxFm11UAilVs39aAnMyVakh3a6iEIpbSTffCy014LybkmRRC+U5yT5Ip/iGGxnECkKh+QkeX5Em7k0QoXCoRSCybgI5tP4fD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P+M34WzNZBUBRu8AAAAASUVORK5CYII=", ul = /* @__PURE__ */ O({
|
|
3877
3877
|
name: "ConfigColumnsBtn",
|
|
3878
3878
|
__name: "ConfigColumnsBtn",
|
|
3879
3879
|
props: {
|
|
@@ -3944,7 +3944,7 @@ const Su = {
|
|
|
3944
3944
|
color: "#999",
|
|
3945
3945
|
fontSize: "12px"
|
|
3946
3946
|
}
|
|
3947
|
-
}, [Gn]),
|
|
3947
|
+
}, [Gn]), Se = "-1", ll = 10, Io = 5, Xt = "系统默认", Rc = "-2", mo = "列信息", Go = {
|
|
3948
3948
|
layout: "total, prev, pager, next, sizes",
|
|
3949
3949
|
pageSize: 20,
|
|
3950
3950
|
pageSizes: [10, 20, 50, 100]
|
|
@@ -3985,7 +3985,7 @@ const Su = {
|
|
|
3985
3985
|
src: Ct,
|
|
3986
3986
|
alt: "排序"
|
|
3987
3987
|
}, null)])
|
|
3988
|
-
}), il = /* @__PURE__ */
|
|
3988
|
+
}), il = /* @__PURE__ */ O({
|
|
3989
3989
|
name: "ZTableLinkButton",
|
|
3990
3990
|
__name: "index",
|
|
3991
3991
|
emits: ["click"],
|
|
@@ -3998,7 +3998,7 @@ const Su = {
|
|
|
3998
3998
|
le(n.$slots, "default", {}, void 0, !0)
|
|
3999
3999
|
]));
|
|
4000
4000
|
}
|
|
4001
|
-
}), Do = /* @__PURE__ */
|
|
4001
|
+
}), Do = /* @__PURE__ */ $(il, [["__scopeId", "data-v-a44085cd"]]);
|
|
4002
4002
|
function cl(t) {
|
|
4003
4003
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Mt(t);
|
|
4004
4004
|
}
|
|
@@ -4020,14 +4020,14 @@ function dl(t) {
|
|
|
4020
4020
|
} = e;
|
|
4021
4021
|
if (a) {
|
|
4022
4022
|
const {
|
|
4023
|
-
$tableData:
|
|
4023
|
+
$tableData: h,
|
|
4024
4024
|
$index: D,
|
|
4025
|
-
$defaultSort:
|
|
4025
|
+
$defaultSort: g,
|
|
4026
4026
|
$rowKey: A
|
|
4027
4027
|
} = o;
|
|
4028
4028
|
let b = D;
|
|
4029
|
-
|
|
4030
|
-
const v = a(
|
|
4029
|
+
g && (A ? b = h.findIndex((w) => Reflect.get(w, A) === Reflect.get(n, A)) : console.warn("如果设置了default-sort,必须要设置row-key,否则可能会导致自定义渲染内容错乱!"));
|
|
4030
|
+
const v = a(Oe, t.data ?? {}, Reflect.get(h, b) ?? {});
|
|
4031
4031
|
return typeof v != "number" && (!v || v === Gn) ? at : v;
|
|
4032
4032
|
}
|
|
4033
4033
|
const c = l ?? at;
|
|
@@ -4035,29 +4035,29 @@ function dl(t) {
|
|
|
4035
4035
|
return c;
|
|
4036
4036
|
const p = Reflect.get(t.data, i);
|
|
4037
4037
|
if (s) {
|
|
4038
|
-
const
|
|
4039
|
-
return
|
|
4038
|
+
const h = s.find((g) => g.value === p), D = h?.label ?? c;
|
|
4039
|
+
return h?._color ? f("span", {
|
|
4040
4040
|
key: p,
|
|
4041
4041
|
style: {
|
|
4042
|
-
color:
|
|
4042
|
+
color: h._color
|
|
4043
4043
|
}
|
|
4044
|
-
}, [D]) :
|
|
4044
|
+
}, [D]) : h?._status ? f("span", {
|
|
4045
4045
|
key: p,
|
|
4046
4046
|
class: "custom-status__color",
|
|
4047
4047
|
style: {
|
|
4048
|
-
"--status-color":
|
|
4048
|
+
"--status-color": h._status
|
|
4049
4049
|
}
|
|
4050
4050
|
}, [D]) : D;
|
|
4051
4051
|
}
|
|
4052
4052
|
const C = pn(p) || p == l;
|
|
4053
4053
|
if (u) {
|
|
4054
|
-
const
|
|
4054
|
+
const h = f(Do, {
|
|
4055
4055
|
key: p,
|
|
4056
4056
|
onClick: () => u?.(t.data)
|
|
4057
4057
|
}, cl(p) ? p : {
|
|
4058
4058
|
default: () => [p]
|
|
4059
4059
|
});
|
|
4060
|
-
return r ?
|
|
4060
|
+
return r ? h : C ? c : h;
|
|
4061
4061
|
}
|
|
4062
4062
|
return C ? c : p;
|
|
4063
4063
|
}
|
|
@@ -4066,11 +4066,11 @@ function pl(t) {
|
|
|
4066
4066
|
column: e,
|
|
4067
4067
|
headerColumn: o,
|
|
4068
4068
|
index: n
|
|
4069
|
-
} =
|
|
4069
|
+
} = Be(t), {
|
|
4070
4070
|
renderHeader: a,
|
|
4071
4071
|
label: s
|
|
4072
4072
|
} = e;
|
|
4073
|
-
return a ? a(
|
|
4073
|
+
return a ? a(Oe, o, n, e) : s;
|
|
4074
4074
|
}
|
|
4075
4075
|
const Pe = (t) => typeof t == "boolean" ? t ? "left" : void 0 : t, ml = (t) => {
|
|
4076
4076
|
const e = {}, o = t.length;
|
|
@@ -4158,7 +4158,7 @@ const xn = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\
|
|
|
4158
4158
|
}
|
|
4159
4159
|
return e >>> 0;
|
|
4160
4160
|
};
|
|
4161
|
-
class
|
|
4161
|
+
class hl {
|
|
4162
4162
|
groups = [];
|
|
4163
4163
|
columnConfig;
|
|
4164
4164
|
/**
|
|
@@ -4195,10 +4195,10 @@ class gl {
|
|
|
4195
4195
|
this.groups = s.reduce((l, i) => {
|
|
4196
4196
|
const c = new xo(i, this.columnsMap);
|
|
4197
4197
|
return e && c.id === e && (u = c), l.push(c), l;
|
|
4198
|
-
}, []), !this.groups.find((l) => l.id ===
|
|
4198
|
+
}, []), !this.groups.find((l) => l.id === Se) && this.groups.unshift(
|
|
4199
4199
|
this.getNewGroup(
|
|
4200
4200
|
o.systemGroupName || Xt,
|
|
4201
|
-
|
|
4201
|
+
Se
|
|
4202
4202
|
)
|
|
4203
4203
|
), this.activeGroup = u || this.groups[0];
|
|
4204
4204
|
}
|
|
@@ -4209,7 +4209,7 @@ class gl {
|
|
|
4209
4209
|
}
|
|
4210
4210
|
this.groups.length || this.addNewGroup(
|
|
4211
4211
|
o.systemGroupName || Xt,
|
|
4212
|
-
|
|
4212
|
+
Se
|
|
4213
4213
|
), this.initAnchors();
|
|
4214
4214
|
}
|
|
4215
4215
|
initAnchors() {
|
|
@@ -4265,7 +4265,7 @@ class gl {
|
|
|
4265
4265
|
const [a] = this.groups.splice(o, 1);
|
|
4266
4266
|
if (a.id === this.activeId) {
|
|
4267
4267
|
const s = this.groups[o - 1] || this.groups[o];
|
|
4268
|
-
this.updateActiveGroup(s ||
|
|
4268
|
+
this.updateActiveGroup(s || Se);
|
|
4269
4269
|
}
|
|
4270
4270
|
}
|
|
4271
4271
|
});
|
|
@@ -4288,7 +4288,7 @@ class gl {
|
|
|
4288
4288
|
}
|
|
4289
4289
|
validate() {
|
|
4290
4290
|
const e = this.groups.find((o) => !o.columns.some((n) => n.checked));
|
|
4291
|
-
return e ? (
|
|
4291
|
+
return e ? (Ie(`${e.groupName} 至少保留一项`), this.updateActiveGroup(e), !1) : !0;
|
|
4292
4292
|
}
|
|
4293
4293
|
resetActiveGroupColumnsStatus() {
|
|
4294
4294
|
if (this.activeGroup) {
|
|
@@ -4322,8 +4322,8 @@ class gl {
|
|
|
4322
4322
|
}
|
|
4323
4323
|
const Nn = Symbol(
|
|
4324
4324
|
"table_custom_builder_provide_key"
|
|
4325
|
-
),
|
|
4326
|
-
const t = N(new
|
|
4325
|
+
), gl = () => {
|
|
4326
|
+
const t = N(new hl());
|
|
4327
4327
|
return $o(Nn, t), {
|
|
4328
4328
|
zTableCustomBuilder: t,
|
|
4329
4329
|
setZTableBuilder: (o) => {
|
|
@@ -4352,23 +4352,23 @@ const Nn = Symbol(
|
|
|
4352
4352
|
}, vl = { class: "custom-column-search__container" }, Al = { class: "search-input" }, Fl = {
|
|
4353
4353
|
key: 0,
|
|
4354
4354
|
class: "search_result"
|
|
4355
|
-
}, bl = { class: "select-item__label" }, yl = /* @__PURE__ */
|
|
4355
|
+
}, bl = { class: "select-item__label" }, yl = /* @__PURE__ */ O({
|
|
4356
4356
|
name: "CustomColumnsSearch",
|
|
4357
4357
|
__name: "index",
|
|
4358
4358
|
setup(t) {
|
|
4359
|
-
|
|
4359
|
+
Ee((i) => ({
|
|
4360
4360
|
"34a01dce": d(l)
|
|
4361
4361
|
}));
|
|
4362
4362
|
const { keywords: e, checkedColumnsMap: o, search: n, searchResult: a, updateColumnChecked: s, searchInputRef: u } = Cl(), { nextZIndex: r } = so(), l = r();
|
|
4363
4363
|
return (i, c) => {
|
|
4364
|
-
const p = E("ZEmpty"), C = E("el-checkbox"),
|
|
4364
|
+
const p = E("ZEmpty"), C = E("el-checkbox"), h = E("el-col"), D = E("el-row"), g = te("ellipsis");
|
|
4365
4365
|
return m(), y("div", vl, [
|
|
4366
4366
|
V("div", Al, [
|
|
4367
4367
|
f(d(Pt), {
|
|
4368
4368
|
ref_key: "searchInputRef",
|
|
4369
4369
|
ref: u,
|
|
4370
4370
|
modelValue: d(e),
|
|
4371
|
-
"onUpdate:modelValue": c[0] || (c[0] = (A) =>
|
|
4371
|
+
"onUpdate:modelValue": c[0] || (c[0] = (A) => Fe(e) ? e.value = A : null),
|
|
4372
4372
|
clearable: "",
|
|
4373
4373
|
placeholder: "可搜索列名称",
|
|
4374
4374
|
onInput: d(n)
|
|
@@ -4385,7 +4385,7 @@ const Nn = Symbol(
|
|
|
4385
4385
|
class: "custom-column-group-content__group-item-columns"
|
|
4386
4386
|
}, {
|
|
4387
4387
|
default: F(() => [
|
|
4388
|
-
(m(!0), y(Z, null, Y(d(a), (A) => (m(), G(
|
|
4388
|
+
(m(!0), y(Z, null, Y(d(a), (A) => (m(), G(h, {
|
|
4389
4389
|
key: A.prop,
|
|
4390
4390
|
span: 8
|
|
4391
4391
|
}, {
|
|
@@ -4399,7 +4399,7 @@ const Nn = Symbol(
|
|
|
4399
4399
|
J((m(), y("div", bl, [
|
|
4400
4400
|
Q(X(A.label), 1)
|
|
4401
4401
|
])), [
|
|
4402
|
-
[
|
|
4402
|
+
[g]
|
|
4403
4403
|
])
|
|
4404
4404
|
]),
|
|
4405
4405
|
_: 2
|
|
@@ -4414,13 +4414,13 @@ const Nn = Symbol(
|
|
|
4414
4414
|
]);
|
|
4415
4415
|
};
|
|
4416
4416
|
}
|
|
4417
|
-
}), _l = /* @__PURE__ */
|
|
4417
|
+
}), _l = /* @__PURE__ */ $(yl, [["__scopeId", "data-v-3a7967a3"]]), El = {
|
|
4418
4418
|
class: "custom-column-group-content__container"
|
|
4419
4419
|
};
|
|
4420
4420
|
function Bl(t) {
|
|
4421
4421
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Mt(t);
|
|
4422
4422
|
}
|
|
4423
|
-
const wl = /* @__PURE__ */
|
|
4423
|
+
const wl = /* @__PURE__ */ O({
|
|
4424
4424
|
name: "CustomColumnGroupContent",
|
|
4425
4425
|
__name: "CustomColumnGroupContent",
|
|
4426
4426
|
setup(t) {
|
|
@@ -4431,23 +4431,23 @@ const wl = /* @__PURE__ */ z({
|
|
|
4431
4431
|
const {
|
|
4432
4432
|
groupName: s,
|
|
4433
4433
|
anchorId: u
|
|
4434
|
-
} =
|
|
4435
|
-
const C = r.filter((
|
|
4434
|
+
} = Be(n), r = e.columns.filter((C) => C.prop && fl(C) === s), l = R(() => new Map(e.activeGroupSelectedColumns.map((C) => [C.prop, C]))), i = R(() => {
|
|
4435
|
+
const C = r.filter((h) => l.value.has(h.prop)).length;
|
|
4436
4436
|
return C > 0 && C < r.length;
|
|
4437
4437
|
}), c = R({
|
|
4438
4438
|
get() {
|
|
4439
4439
|
return r.every((C) => l.value.has(C.prop));
|
|
4440
4440
|
},
|
|
4441
4441
|
set(C) {
|
|
4442
|
-
const
|
|
4442
|
+
const h = new Map(r.map((D) => [D.prop, D]));
|
|
4443
4443
|
e.activeGroup && (i.value ? e.activeGroup.columns.forEach((D) => {
|
|
4444
|
-
|
|
4444
|
+
h.has(D.prop) && !D.checked && !D.readonly && e.activeGroup?.updateColumnChecked(D.prop, !0);
|
|
4445
4445
|
}) : e.activeGroup.columns.forEach((D) => {
|
|
4446
|
-
|
|
4446
|
+
h.has(D.prop) && !D.readonly && D.checked !== C && e.activeGroup?.updateColumnChecked(D.prop, C);
|
|
4447
4447
|
}));
|
|
4448
4448
|
}
|
|
4449
|
-
}), p = (C,
|
|
4450
|
-
e.activeGroup?.updateColumnChecked(C.prop,
|
|
4449
|
+
}), p = (C, h) => {
|
|
4450
|
+
e.activeGroup?.updateColumnChecked(C.prop, h);
|
|
4451
4451
|
};
|
|
4452
4452
|
return f("div", {
|
|
4453
4453
|
class: "custom-column-group-content__group-item"
|
|
@@ -4472,7 +4472,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4472
4472
|
default: () => [f(E("el-checkbox"), {
|
|
4473
4473
|
disabled: C.readonly,
|
|
4474
4474
|
"model-value": l.value.has(C.prop),
|
|
4475
|
-
onChange: (
|
|
4475
|
+
onChange: (h) => p(C, h)
|
|
4476
4476
|
}, {
|
|
4477
4477
|
default: () => [J(f("div", {
|
|
4478
4478
|
class: "select-item__label"
|
|
@@ -4488,7 +4488,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4488
4488
|
"anchor-id": s.anchorId
|
|
4489
4489
|
}, null, 8, ["group-name", "anchor-id"]))), 128))]));
|
|
4490
4490
|
}
|
|
4491
|
-
}), Sl = /* @__PURE__ */
|
|
4491
|
+
}), Sl = /* @__PURE__ */ $(wl, [["__scopeId", "data-v-feb5a238"]]), Vn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAB00lEQVR4Xu1Y0ZGCMBC1hCvBEizhSrgSLIEOpAR/GAw6gx1cCZZgCZRgCXf7xoRZH+ESDxL94M28EZPd5LGEzZLVasGCedC27Rrk9rdAXdfbpmkuxpib8McRbcIt22dHVVUbEdRpcSPs5GbW7J8FVuRDBAO8SXQ3PE5SIDqIkkdIK7+F5RltbJM1slZQLwBrUV6gD7aDKOn7Zlu2SwIbTR2ljm0YIu6qfWSMT7aZHeb+WHWEgusOwujmCraZHfQog9F0gK26uZb7Z4fNl0+vt//6BXE8HvG48JhLYh8Ze839Ywz5FU9nBBG5U4NmJeZmPV7YSA4GyMmorHA4HPbsmJun02nPugYw9x3FOUW/1VOBudy8UVlhERpAVqEqpRW45v6/kEUoSj7ez51/bG5MLtQWKVzOaUaVdsmF6q1xjDFbZlKhqEFJ0BVttg59WAq+elUjqVDexfSOIv+/xvp8SCpUBsR3Uy9GWLo+Q3XrS4UCZviJ3GIL1G2R4yQXWpKoASWaJfsxkgsFRIj2YZFntvchi1Cgvp+W9G86UlLzxClJNqFTsQidG1OFIvWUmdinuVihD4n6RQwfUNj9u/M452J0aegOty6eQZISc0aLXLDgzfALQFYngxmEg2kAAAAASUVORK5CYII=", Tl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABWElEQVR4Xu2Y6w2CQBCELcESLMUSLMEOpAMtgX9w8AM7sARKoQRK0J14JOeEl3qPGPdLJhpulx3vxclmoyh+aJpmB/H15IiprTEmq6qqlc9edB+Ea6JjURQ7zouKmDixuQl1MMz5Uajr+jxiaFbI4fsEZcJkL72WyzAf5Xsmuoo6jotmFvONi5dlmWOuciyQ+AvHy7U9x3nHLhq3cMYxDGLcHNyDY7zCvSkFG46Zgn9g0C3Mzr+PhhCxbi56mWO8gbnoFOq5fQnkOKORc7s3zHMlD0Y7bl8CvSjC4oIO3O6Nb41GQ41+yhvPcN/qVj+5eAtKoVUHGPM6vEm06kFiXo1i+IftJLTcPfZto9EWDGqpUUYK3GxBnOiXiznENto6xVpun0ONjqFGx1CjC6jRMWwuCmIfvXH7HFGNfsPfGP2Z01MSrTL6Myd8YF9spfjPhJrh3qAoSkAeXM6BJp5eGBQAAAAASUVORK5CYII=", kl = {
|
|
4492
4492
|
class: "custom-column-group-selected__container"
|
|
4493
4493
|
}, Il = {
|
|
4494
4494
|
class: "custom-column__title"
|
|
@@ -4500,7 +4500,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4500
4500
|
class: "custom-column-group-selected__fixed-tips"
|
|
4501
4501
|
}, Nl = {
|
|
4502
4502
|
class: "custom-column-group-selected__normal-container"
|
|
4503
|
-
}, Vl = /* @__PURE__ */
|
|
4503
|
+
}, Vl = /* @__PURE__ */ O({
|
|
4504
4504
|
name: "CustomColumnGroupSelected",
|
|
4505
4505
|
__name: "CustomColumnGroupSelected",
|
|
4506
4506
|
setup(t) {
|
|
@@ -4533,8 +4533,8 @@ const wl = /* @__PURE__ */ z({
|
|
|
4533
4533
|
column: c,
|
|
4534
4534
|
fixed: p,
|
|
4535
4535
|
className: C,
|
|
4536
|
-
isFixed:
|
|
4537
|
-
} =
|
|
4536
|
+
isFixed: h
|
|
4537
|
+
} = Be(i), D = a.value || !p;
|
|
4538
4538
|
return f("div", {
|
|
4539
4539
|
class: `custom-column-group-selected__column-item ${C}`
|
|
4540
4540
|
}, [f("img", {
|
|
@@ -4546,7 +4546,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4546
4546
|
class: "select-item__icon"
|
|
4547
4547
|
}, [f("img", {
|
|
4548
4548
|
class: D ? "" : "not-lock",
|
|
4549
|
-
src:
|
|
4549
|
+
src: h ? Vn : Tl,
|
|
4550
4550
|
alt: "锁",
|
|
4551
4551
|
onClick: () => D && u(c, p)
|
|
4552
4552
|
}, null), c.readonly ? f(E("el-icon"), null, null) : f(E("el-icon"), {
|
|
@@ -4588,13 +4588,13 @@ const wl = /* @__PURE__ */ z({
|
|
|
4588
4588
|
_: 1
|
|
4589
4589
|
}, 8, ["modelValue"])])])]));
|
|
4590
4590
|
}
|
|
4591
|
-
}), Ml = /* @__PURE__ */
|
|
4591
|
+
}), Ml = /* @__PURE__ */ $(Vl, [["__scopeId", "data-v-1c0fabd5"]]), Mn = (t) => {
|
|
4592
4592
|
const e = R(() => d(t)), o = N(e.value?.[0]?.anchorId || "");
|
|
4593
4593
|
let n = !1;
|
|
4594
4594
|
const a = async (r) => {
|
|
4595
4595
|
o.value = r;
|
|
4596
4596
|
const l = document.getElementById(r);
|
|
4597
|
-
l && (n = !0, await
|
|
4597
|
+
l && (n = !0, await W(), l.scrollIntoView({ block: "start", behavior: "smooth" }));
|
|
4598
4598
|
};
|
|
4599
4599
|
let s;
|
|
4600
4600
|
return {
|
|
@@ -4617,14 +4617,14 @@ const wl = /* @__PURE__ */ z({
|
|
|
4617
4617
|
return;
|
|
4618
4618
|
}
|
|
4619
4619
|
e.value.forEach(({ anchorId: C }) => {
|
|
4620
|
-
const
|
|
4621
|
-
if (!
|
|
4622
|
-
const
|
|
4623
|
-
|
|
4620
|
+
const h = document.getElementById(C);
|
|
4621
|
+
if (!h) return;
|
|
4622
|
+
const g = h.getBoundingClientRect().top - i.top;
|
|
4623
|
+
g >= 0 && g < p && (p = g, c = C);
|
|
4624
4624
|
}), o.value = c;
|
|
4625
4625
|
}
|
|
4626
4626
|
};
|
|
4627
|
-
}, Pl = { class: "custom-column-group-body__container" }, Ll = { class: "custom-column-group-body__left" },
|
|
4627
|
+
}, Pl = { class: "custom-column-group-body__container" }, Ll = { class: "custom-column-group-body__left" }, Ol = { class: "custom-column-group-body__left-bottom" }, zl = { class: "custom-column-group-body__anchor" }, Hl = ["onClick"], Ul = { class: "custom-column-group-body__right" }, Zl = /* @__PURE__ */ O({
|
|
4628
4628
|
name: "CustomColumnGroupBody",
|
|
4629
4629
|
__name: "CustomColumnGroupBody",
|
|
4630
4630
|
setup(t) {
|
|
@@ -4634,8 +4634,8 @@ const wl = /* @__PURE__ */ z({
|
|
|
4634
4634
|
return m(), y("div", Pl, [
|
|
4635
4635
|
V("div", Ll, [
|
|
4636
4636
|
u[1] || (u[1] = V("div", { class: "custom-column__title" }, "自定义列", -1)),
|
|
4637
|
-
V("div",
|
|
4638
|
-
V("div",
|
|
4637
|
+
V("div", Ol, [
|
|
4638
|
+
V("div", zl, [
|
|
4639
4639
|
(m(!0), y(Z, null, Y(d(e).anchors, (l) => J((m(), y("div", {
|
|
4640
4640
|
key: l.anchorId,
|
|
4641
4641
|
class: ne([
|
|
@@ -4666,10 +4666,10 @@ const wl = /* @__PURE__ */ z({
|
|
|
4666
4666
|
]);
|
|
4667
4667
|
};
|
|
4668
4668
|
}
|
|
4669
|
-
}), Ql = /* @__PURE__ */
|
|
4669
|
+
}), Ql = /* @__PURE__ */ $(Zl, [["__scopeId", "data-v-af09dacc"]]), Wl = { class: "z-table-custom-column-group-item__popover-footer" }, $l = /* @__PURE__ */ O({
|
|
4670
4670
|
name: "CustomColumnHeaderOperation",
|
|
4671
4671
|
__name: "CustomColumnHeaderOperation",
|
|
4672
|
-
props: /* @__PURE__ */
|
|
4672
|
+
props: /* @__PURE__ */ he({
|
|
4673
4673
|
id: {}
|
|
4674
4674
|
}, {
|
|
4675
4675
|
modelValue: {
|
|
@@ -4683,16 +4683,16 @@ const wl = /* @__PURE__ */ z({
|
|
|
4683
4683
|
const e = Ge(t, "modelValue"), { zTableCustomBuilder: o } = Qe(), n = N(e.value), a = N(), s = () => {
|
|
4684
4684
|
a.value?.hide();
|
|
4685
4685
|
}, u = N(), r = async () => {
|
|
4686
|
-
await
|
|
4686
|
+
await W(), u.value?.focus();
|
|
4687
4687
|
}, l = () => {
|
|
4688
4688
|
if (!n.value)
|
|
4689
|
-
return
|
|
4689
|
+
return Ie("名称不能为空");
|
|
4690
4690
|
if (o.groupNameSome(n.value, t.id))
|
|
4691
|
-
return
|
|
4691
|
+
return Ie("名称不能重复");
|
|
4692
4692
|
o.updateGroupName(n.value, t.id), s();
|
|
4693
4693
|
};
|
|
4694
4694
|
return (i, c) => {
|
|
4695
|
-
const p = E("el-icon"), C = E("el-input"),
|
|
4695
|
+
const p = E("el-icon"), C = E("el-input"), h = E("el-button");
|
|
4696
4696
|
return m(), y(Z, null, [
|
|
4697
4697
|
f(d(Ba), {
|
|
4698
4698
|
ref_key: "popoverRef",
|
|
@@ -4722,13 +4722,13 @@ const wl = /* @__PURE__ */ z({
|
|
|
4722
4722
|
onKeyup: Nt(l, ["enter"])
|
|
4723
4723
|
}, null, 8, ["modelValue"]),
|
|
4724
4724
|
V("div", Wl, [
|
|
4725
|
-
f(
|
|
4725
|
+
f(h, { onClick: s }, {
|
|
4726
4726
|
default: F(() => [...c[2] || (c[2] = [
|
|
4727
4727
|
Q("取消", -1)
|
|
4728
4728
|
])]),
|
|
4729
4729
|
_: 1
|
|
4730
4730
|
}),
|
|
4731
|
-
f(
|
|
4731
|
+
f(h, {
|
|
4732
4732
|
type: "primary",
|
|
4733
4733
|
onClick: l
|
|
4734
4734
|
}, {
|
|
@@ -4753,7 +4753,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4753
4753
|
], 64);
|
|
4754
4754
|
};
|
|
4755
4755
|
}
|
|
4756
|
-
}), jl = { class: "custom-column-header__container" }, Yl = ["onClick"], Kl = /* @__PURE__ */
|
|
4756
|
+
}), jl = { class: "custom-column-header__container" }, Yl = ["onClick"], Kl = /* @__PURE__ */ O({
|
|
4757
4757
|
name: "CustomColumnGroupHeader",
|
|
4758
4758
|
__name: "CustomColumnGroupHeader",
|
|
4759
4759
|
setup(t) {
|
|
@@ -4773,7 +4773,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4773
4773
|
onClick: (u) => d(e).updateActiveGroup(s.id)
|
|
4774
4774
|
}, [
|
|
4775
4775
|
Q(X(s.groupName) + " ", 1),
|
|
4776
|
-
s.id !== d(
|
|
4776
|
+
s.id !== d(Se) ? (m(), G($l, {
|
|
4777
4777
|
key: 0,
|
|
4778
4778
|
id: s.id,
|
|
4779
4779
|
modelValue: s.groupName,
|
|
@@ -4795,7 +4795,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4795
4795
|
]);
|
|
4796
4796
|
};
|
|
4797
4797
|
}
|
|
4798
|
-
}), Xl = /* @__PURE__ */
|
|
4798
|
+
}), Xl = /* @__PURE__ */ $(Kl, [["__scopeId", "data-v-4ddef8c1"]]), ql = { class: "z-table-custom-columns-group__container" }, Jl = /* @__PURE__ */ O({
|
|
4799
4799
|
name: "ZTableCustomColumnsGroup",
|
|
4800
4800
|
__name: "index",
|
|
4801
4801
|
setup(t) {
|
|
@@ -4808,7 +4808,7 @@ const wl = /* @__PURE__ */ z({
|
|
|
4808
4808
|
}))
|
|
4809
4809
|
]));
|
|
4810
4810
|
}
|
|
4811
|
-
}), er = /* @__PURE__ */
|
|
4811
|
+
}), er = /* @__PURE__ */ $(Jl, [["__scopeId", "data-v-8c60c58c"]]);
|
|
4812
4812
|
var it = /* @__PURE__ */ ((t) => (t.CONFIRM = "dialog:confirm", t.CANCEL = "dialog:cancel", t))(it || {});
|
|
4813
4813
|
const No = "__dialog_root__", Vo = () => {
|
|
4814
4814
|
let t = document.getElementById(No);
|
|
@@ -4874,28 +4874,28 @@ const Po = (t) => {
|
|
|
4874
4874
|
delay: 0
|
|
4875
4875
|
// 立即加载
|
|
4876
4876
|
}) : l;
|
|
4877
|
-
await
|
|
4878
|
-
const
|
|
4879
|
-
return new Promise((
|
|
4877
|
+
await W();
|
|
4878
|
+
const h = c ?? Mo(), D = document.createElement("div");
|
|
4879
|
+
return new Promise((g, A) => {
|
|
4880
4880
|
const b = p?.notCloseBeforeRouteChange ? null : xt(
|
|
4881
4881
|
() => a.fullPath,
|
|
4882
4882
|
() => {
|
|
4883
4883
|
s(), A();
|
|
4884
4884
|
}
|
|
4885
4885
|
), { unmount: v } = n(
|
|
4886
|
-
|
|
4886
|
+
Oe(C, {
|
|
4887
4887
|
...i,
|
|
4888
4888
|
modelValue: !0,
|
|
4889
4889
|
"onUpdate:modelValue": (w) => {
|
|
4890
|
-
w ||
|
|
4891
|
-
o.value.find((T) => T.id ===
|
|
4890
|
+
w || W(() => {
|
|
4891
|
+
o.value.find((T) => T.id === h) && (s(h), A());
|
|
4892
4892
|
});
|
|
4893
4893
|
},
|
|
4894
4894
|
[Po(
|
|
4895
4895
|
"dialog:confirm"
|
|
4896
4896
|
/* CONFIRM */
|
|
4897
4897
|
)]: (w) => {
|
|
4898
|
-
|
|
4898
|
+
g(w), s();
|
|
4899
4899
|
},
|
|
4900
4900
|
[Po(
|
|
4901
4901
|
"dialog:cancel"
|
|
@@ -4907,7 +4907,7 @@ const Po = (t) => {
|
|
|
4907
4907
|
D
|
|
4908
4908
|
);
|
|
4909
4909
|
o.value.push({
|
|
4910
|
-
id:
|
|
4910
|
+
id: h,
|
|
4911
4911
|
cleanup: () => {
|
|
4912
4912
|
v(D), b?.();
|
|
4913
4913
|
}
|
|
@@ -4919,7 +4919,7 @@ const Po = (t) => {
|
|
|
4919
4919
|
closeDialog: s,
|
|
4920
4920
|
openDialogIgnoreRouteChange: (l, i, c, p) => u(l, i, c, { ...p, notCloseBeforeRouteChange: !0 })
|
|
4921
4921
|
};
|
|
4922
|
-
}, or = /* @__PURE__ */
|
|
4922
|
+
}, or = /* @__PURE__ */ O({
|
|
4923
4923
|
name: "ZTableCustomColumnsDialog",
|
|
4924
4924
|
__name: "index",
|
|
4925
4925
|
props: {
|
|
@@ -4928,7 +4928,7 @@ const Po = (t) => {
|
|
|
4928
4928
|
},
|
|
4929
4929
|
emits: ["dialog:cancel", "dialog:confirm"],
|
|
4930
4930
|
setup(t, { emit: e }) {
|
|
4931
|
-
const o = e, { zTableCustomBuilder: n } =
|
|
4931
|
+
const o = e, { zTableCustomBuilder: n } = gl(), a = N(!1), [s, u] = Ye(!0);
|
|
4932
4932
|
u(async () => {
|
|
4933
4933
|
await n.value?.init(t.activeId, t.columnConfig);
|
|
4934
4934
|
});
|
|
@@ -4946,7 +4946,7 @@ const Po = (t) => {
|
|
|
4946
4946
|
});
|
|
4947
4947
|
};
|
|
4948
4948
|
return (p, C) => {
|
|
4949
|
-
const
|
|
4949
|
+
const h = E("el-button"), D = E("el-dialog"), g = te("loading");
|
|
4950
4950
|
return m(), G(D, {
|
|
4951
4951
|
modelValue: a.value,
|
|
4952
4952
|
"onUpdate:modelValue": C[0] || (C[0] = (A) => a.value = A),
|
|
@@ -4958,7 +4958,7 @@ const Po = (t) => {
|
|
|
4958
4958
|
"close-on-press-escape": !1
|
|
4959
4959
|
}, {
|
|
4960
4960
|
footer: F(() => [
|
|
4961
|
-
f(
|
|
4961
|
+
f(h, {
|
|
4962
4962
|
loading: d(s) || d(r),
|
|
4963
4963
|
onClick: i
|
|
4964
4964
|
}, {
|
|
@@ -4967,7 +4967,7 @@ const Po = (t) => {
|
|
|
4967
4967
|
])]),
|
|
4968
4968
|
_: 1
|
|
4969
4969
|
}, 8, ["loading"]),
|
|
4970
|
-
f(
|
|
4970
|
+
f(h, {
|
|
4971
4971
|
loading: d(s) || d(r),
|
|
4972
4972
|
type: "primary",
|
|
4973
4973
|
onClick: c
|
|
@@ -4980,7 +4980,7 @@ const Po = (t) => {
|
|
|
4980
4980
|
]),
|
|
4981
4981
|
default: F(() => [
|
|
4982
4982
|
J(f(er, null, null, 512), [
|
|
4983
|
-
[
|
|
4983
|
+
[g, d(s)]
|
|
4984
4984
|
])
|
|
4985
4985
|
]),
|
|
4986
4986
|
_: 1
|
|
@@ -5031,16 +5031,16 @@ const Po = (t) => {
|
|
|
5031
5031
|
);
|
|
5032
5032
|
},
|
|
5033
5033
|
saveConfigColumns: async (i, c, p) => {
|
|
5034
|
-
const C = new Map(i.map((
|
|
5035
|
-
(
|
|
5036
|
-
prop:
|
|
5037
|
-
checked: C.has(
|
|
5038
|
-
fixed: C.get(
|
|
5034
|
+
const C = new Map(i.map((g, A) => [g.prop, { ...g, index: A }])), h = t.columns.filter((g) => g.prop && g.label), D = U.sortBy(h, (g) => C.get(g.prop)?.index ?? -1).map(
|
|
5035
|
+
(g) => ({
|
|
5036
|
+
prop: g.prop,
|
|
5037
|
+
checked: C.has(g.prop),
|
|
5038
|
+
fixed: C.get(g.prop)?.fixed
|
|
5039
5039
|
})
|
|
5040
5040
|
);
|
|
5041
5041
|
if (p) {
|
|
5042
|
-
const { id:
|
|
5043
|
-
b ? (b.columns = D, b.groupName = A) : e.value.push({ ...c, columns: D }), await o(
|
|
5042
|
+
const { id: g, groupName: A } = c, b = e.value.find((v) => v.id === g);
|
|
5043
|
+
b ? (b.columns = D, b.groupName = A) : e.value.push({ ...c, columns: D }), await o(g);
|
|
5044
5044
|
}
|
|
5045
5045
|
return s(D);
|
|
5046
5046
|
},
|
|
@@ -5058,7 +5058,7 @@ const Po = (t) => {
|
|
|
5058
5058
|
deleteGroupByGroupId: a,
|
|
5059
5059
|
columnGroups: s,
|
|
5060
5060
|
saveViewConfig: u
|
|
5061
|
-
} = nr(t), { openDialog: r } = Pn(), l = N(!0), i = N(t.columnConfig?.groupId ??
|
|
5061
|
+
} = nr(t), { openDialog: r } = Pn(), l = N(!0), i = N(t.columnConfig?.groupId ?? Se), c = N([]), p = (v) => {
|
|
5062
5062
|
const w = new Map(v.map((k, S) => [k.prop, { ...k, index: S }])), T = U.sortBy(
|
|
5063
5063
|
t.columns.filter((k) => w.get(k.prop)?.checked || !k.prop),
|
|
5064
5064
|
(k) => w.get(k.prop)?.index ?? -1
|
|
@@ -5071,7 +5071,7 @@ const Po = (t) => {
|
|
|
5071
5071
|
);
|
|
5072
5072
|
}, C = (v, w, T) => {
|
|
5073
5073
|
i.value = v, p(w ?? n(v)), !T && u(v);
|
|
5074
|
-
},
|
|
5074
|
+
}, h = (v) => {
|
|
5075
5075
|
r(or, {
|
|
5076
5076
|
activeId: v,
|
|
5077
5077
|
columnConfig: {
|
|
@@ -5080,7 +5080,7 @@ const Po = (t) => {
|
|
|
5080
5080
|
...t.columnConfig
|
|
5081
5081
|
}
|
|
5082
5082
|
}).then(async ({ data: w, id: T }) => {
|
|
5083
|
-
s.value = w, e("saveColumns"), await
|
|
5083
|
+
s.value = w, e("saveColumns"), await W(), C(T, void 0, !0);
|
|
5084
5084
|
}).catch(() => {
|
|
5085
5085
|
});
|
|
5086
5086
|
}, D = () => {
|
|
@@ -5089,8 +5089,8 @@ const Po = (t) => {
|
|
|
5089
5089
|
(async () => {
|
|
5090
5090
|
if (t.columnConfig?.pageId)
|
|
5091
5091
|
try {
|
|
5092
|
-
await o(), s.value.find((T) => T.id ===
|
|
5093
|
-
id:
|
|
5092
|
+
await o(), s.value.find((T) => T.id === Se) || s.value.unshift({
|
|
5093
|
+
id: Se,
|
|
5094
5094
|
groupName: t.columnConfig?.systemGroupName || Xt,
|
|
5095
5095
|
columns: t.columns.filter((T) => T.prop).map((T) => ({
|
|
5096
5096
|
prop: T.prop,
|
|
@@ -5109,9 +5109,9 @@ const Po = (t) => {
|
|
|
5109
5109
|
l.value = !1;
|
|
5110
5110
|
})();
|
|
5111
5111
|
const A = (v) => {
|
|
5112
|
-
|
|
5112
|
+
h(v);
|
|
5113
5113
|
}, b = async (v) => {
|
|
5114
|
-
await a(v), v === i.value && C(
|
|
5114
|
+
await a(v), v === i.value && C(Se);
|
|
5115
5115
|
};
|
|
5116
5116
|
return xt(
|
|
5117
5117
|
() => t.columns,
|
|
@@ -5127,7 +5127,7 @@ const Po = (t) => {
|
|
|
5127
5127
|
loadingConfigColumns: l,
|
|
5128
5128
|
groupId: i,
|
|
5129
5129
|
columnGroups: s,
|
|
5130
|
-
openConfigColumnDialog:
|
|
5130
|
+
openConfigColumnDialog: h,
|
|
5131
5131
|
changeGroupId: C,
|
|
5132
5132
|
editGroupByGroupId: A,
|
|
5133
5133
|
deleteGroupByGroupId: b
|
|
@@ -5146,10 +5146,10 @@ const Po = (t) => {
|
|
|
5146
5146
|
current: 1,
|
|
5147
5147
|
size: t.paginationProps?.pageSize || Go.pageSize,
|
|
5148
5148
|
total: 0
|
|
5149
|
-
}),
|
|
5149
|
+
}), h = R(() => ({ ...Go, ...t.paginationProps })), D = N(""), g = () => {
|
|
5150
5150
|
const B = c.value?.getBoundingClientRect();
|
|
5151
5151
|
D.value = `${B?.width}px`;
|
|
5152
|
-
}, A = new ResizeObserver(() => requestAnimationFrame(
|
|
5152
|
+
}, A = new ResizeObserver(() => requestAnimationFrame(g)), b = N([]), v = R(() => {
|
|
5153
5153
|
const B = U.omit(t, [
|
|
5154
5154
|
"tableData",
|
|
5155
5155
|
"columns",
|
|
@@ -5179,9 +5179,9 @@ const Po = (t) => {
|
|
|
5179
5179
|
if (M && typeof M == "function") {
|
|
5180
5180
|
const { data: L, total: H, records: q, count: se } = await M(U.omit(B, "total")) ?? {}, re = q || L || [], ce = Number(se || H || 0);
|
|
5181
5181
|
if (!re.length && B.current > 1 && ce) {
|
|
5182
|
-
const
|
|
5183
|
-
if (B.current >
|
|
5184
|
-
return B.current =
|
|
5182
|
+
const ve = Math.ceil(ce / B.size);
|
|
5183
|
+
if (B.current > ve)
|
|
5184
|
+
return B.current = ve, x(B);
|
|
5185
5185
|
}
|
|
5186
5186
|
b.value = re, C.value.total = isNaN(ce) ? 0 : ce;
|
|
5187
5187
|
} else
|
|
@@ -5202,7 +5202,7 @@ const Po = (t) => {
|
|
|
5202
5202
|
baseTableContainerRef: c,
|
|
5203
5203
|
baseTableRef: p,
|
|
5204
5204
|
pagination: C,
|
|
5205
|
-
getPaginationProps:
|
|
5205
|
+
getPaginationProps: h,
|
|
5206
5206
|
paginationWidth: D,
|
|
5207
5207
|
tableData: b,
|
|
5208
5208
|
getTableAttrs: v,
|
|
@@ -5260,7 +5260,7 @@ const Po = (t) => {
|
|
|
5260
5260
|
console.warn("ResizeObserver is not supported");
|
|
5261
5261
|
return;
|
|
5262
5262
|
}
|
|
5263
|
-
const s = () =>
|
|
5263
|
+
const s = () => ge(n) ? d(n()) : d(n), u = () => {
|
|
5264
5264
|
t = new ResizeObserver(([i]) => a(i));
|
|
5265
5265
|
const l = s();
|
|
5266
5266
|
l && t.observe(l);
|
|
@@ -5277,49 +5277,49 @@ const Po = (t) => {
|
|
|
5277
5277
|
}, lr = {
|
|
5278
5278
|
key: 0,
|
|
5279
5279
|
class: "base-table__column-search"
|
|
5280
|
-
}, rr = { class: "base-table__column-search__count" }, ir = { class: "base-table__column-search__icon" }, cr = /* @__PURE__ */
|
|
5280
|
+
}, rr = { class: "base-table__column-search__count" }, ir = { class: "base-table__column-search__icon" }, cr = /* @__PURE__ */ O({
|
|
5281
5281
|
__name: "ColumnSearch",
|
|
5282
5282
|
props: {
|
|
5283
5283
|
count: {}
|
|
5284
5284
|
},
|
|
5285
5285
|
emits: ["find", "hidden"],
|
|
5286
5286
|
setup(t, { emit: e }) {
|
|
5287
|
-
const o = e, n = N(0), a = N(""), s = N(!1), u = N(), { on: r } = cn(), l = (
|
|
5288
|
-
n.value =
|
|
5289
|
-
}, i =
|
|
5287
|
+
const o = e, n = N(0), a = N(""), s = N(!1), u = N(), { on: r } = cn(), l = (g) => {
|
|
5288
|
+
n.value = g, o("find", a.value, g);
|
|
5289
|
+
}, i = ha(() => {
|
|
5290
5290
|
l(0);
|
|
5291
5291
|
}, 500), c = () => {
|
|
5292
|
-
const
|
|
5293
|
-
l(
|
|
5292
|
+
const g = n.value > 0 ? n.value - 1 : t.count - 1;
|
|
5293
|
+
l(g);
|
|
5294
5294
|
}, p = () => {
|
|
5295
|
-
const
|
|
5296
|
-
l(
|
|
5295
|
+
const g = n.value + 1 < t.count ? n.value + 1 : 0;
|
|
5296
|
+
l(g);
|
|
5297
5297
|
}, C = async () => {
|
|
5298
|
-
s.value = !0, await
|
|
5299
|
-
},
|
|
5298
|
+
s.value = !0, await W(), u.value?.focus();
|
|
5299
|
+
}, h = () => {
|
|
5300
5300
|
s.value = !1, a.value = "", n.value = 0, o("hidden");
|
|
5301
5301
|
}, D = R(() => t.count ? n.value + 1 : 0);
|
|
5302
5302
|
return mt(() => {
|
|
5303
|
-
r("keydown", (
|
|
5304
|
-
const A =
|
|
5303
|
+
r("keydown", (g) => {
|
|
5304
|
+
const A = g.target, b = u.value?.$el?.contains?.(A), { key: v, metaKey: w, ctrlKey: T, shiftKey: k } = g;
|
|
5305
5305
|
switch (v) {
|
|
5306
5306
|
// ctrl + shift + f
|
|
5307
5307
|
case "f":
|
|
5308
5308
|
case "F":
|
|
5309
|
-
(w || T) && k && (
|
|
5309
|
+
(w || T) && k && (g.preventDefault(), C());
|
|
5310
5310
|
break;
|
|
5311
5311
|
case "Escape":
|
|
5312
|
-
|
|
5312
|
+
h();
|
|
5313
5313
|
break;
|
|
5314
5314
|
case "ArrowUp":
|
|
5315
|
-
b &&
|
|
5315
|
+
b && g.preventDefault(), c();
|
|
5316
5316
|
break;
|
|
5317
5317
|
case "ArrowDown":
|
|
5318
|
-
b &&
|
|
5318
|
+
b && g.preventDefault(), p();
|
|
5319
5319
|
break;
|
|
5320
5320
|
}
|
|
5321
5321
|
});
|
|
5322
|
-
}), (
|
|
5322
|
+
}), (g, A) => {
|
|
5323
5323
|
const b = E("el-icon");
|
|
5324
5324
|
return m(), G(ma, { to: "body" }, [
|
|
5325
5325
|
s.value ? (m(), y("div", lr, [
|
|
@@ -5333,10 +5333,10 @@ const Po = (t) => {
|
|
|
5333
5333
|
onKeydown: Nt(p, ["enter"])
|
|
5334
5334
|
}, {
|
|
5335
5335
|
append: F(() => [
|
|
5336
|
-
V("div", rr, X(D.value) + "/" + X(
|
|
5336
|
+
V("div", rr, X(D.value) + "/" + X(g.count), 1),
|
|
5337
5337
|
V("div", ir, [
|
|
5338
5338
|
f(b, {
|
|
5339
|
-
class: ne(
|
|
5339
|
+
class: ne(g.count ? "is-active" : "is-disable"),
|
|
5340
5340
|
onClick: c
|
|
5341
5341
|
}, {
|
|
5342
5342
|
default: F(() => [
|
|
@@ -5345,7 +5345,7 @@ const Po = (t) => {
|
|
|
5345
5345
|
_: 1
|
|
5346
5346
|
}, 8, ["class"]),
|
|
5347
5347
|
f(b, {
|
|
5348
|
-
class: ne(
|
|
5348
|
+
class: ne(g.count ? "is-active" : "is-disable"),
|
|
5349
5349
|
onClick: p
|
|
5350
5350
|
}, {
|
|
5351
5351
|
default: F(() => [
|
|
@@ -5353,7 +5353,7 @@ const Po = (t) => {
|
|
|
5353
5353
|
]),
|
|
5354
5354
|
_: 1
|
|
5355
5355
|
}, 8, ["class"]),
|
|
5356
|
-
f(b, { onClick:
|
|
5356
|
+
f(b, { onClick: h }, {
|
|
5357
5357
|
default: F(() => [
|
|
5358
5358
|
f(d(ft))
|
|
5359
5359
|
]),
|
|
@@ -5367,20 +5367,20 @@ const Po = (t) => {
|
|
|
5367
5367
|
]);
|
|
5368
5368
|
};
|
|
5369
5369
|
}
|
|
5370
|
-
}),
|
|
5370
|
+
}), On = /* @__PURE__ */ $(cr, [["__scopeId", "data-v-fc1828f9"]]), zn = (t) => {
|
|
5371
5371
|
const e = N(0), o = () => {
|
|
5372
5372
|
const i = [], c = t.value?.$el?.querySelector(".el-table__inner-wrapper");
|
|
5373
5373
|
if (c) {
|
|
5374
5374
|
const p = c.querySelectorAll(".el-table__header-wrapper");
|
|
5375
5375
|
if (p.length) {
|
|
5376
|
-
const
|
|
5377
|
-
const { display:
|
|
5378
|
-
return
|
|
5376
|
+
const h = Array.from(p).filter((D) => {
|
|
5377
|
+
const { display: g } = getComputedStyle(D);
|
|
5378
|
+
return g !== "none";
|
|
5379
5379
|
}).pop()?.querySelectorAll(".el-table__cell");
|
|
5380
|
-
if (
|
|
5381
|
-
const D = Array.from(
|
|
5380
|
+
if (h?.length) {
|
|
5381
|
+
const D = Array.from(h), [g] = D, A = D.find((_) => !_.classList.contains("el-table-fixed-column--left")), b = A?.getBoundingClientRect().left ?? 0, v = c.getBoundingClientRect().left;
|
|
5382
5382
|
let w = Math.abs(b - v);
|
|
5383
|
-
if (
|
|
5383
|
+
if (g !== A) {
|
|
5384
5384
|
const _ = D.findLastIndex((L) => L.classList.contains("el-table-fixed-column--left")), I = D[_], { left: B, width: M } = I.getBoundingClientRect();
|
|
5385
5385
|
w = B + M - b;
|
|
5386
5386
|
}
|
|
@@ -5409,14 +5409,14 @@ const Po = (t) => {
|
|
|
5409
5409
|
if (s(), i) {
|
|
5410
5410
|
const p = o();
|
|
5411
5411
|
if (p?.length) {
|
|
5412
|
-
const C = p.filter(({ element:
|
|
5413
|
-
const D =
|
|
5412
|
+
const C = p.filter(({ element: h }) => {
|
|
5413
|
+
const D = h.textContent;
|
|
5414
5414
|
return D ? n(D, i) : !1;
|
|
5415
5415
|
});
|
|
5416
5416
|
if (C.length) {
|
|
5417
5417
|
C.forEach(u);
|
|
5418
|
-
const
|
|
5419
|
-
|
|
5418
|
+
const h = C[c];
|
|
5419
|
+
h && r(h), e.value = C.length;
|
|
5420
5420
|
}
|
|
5421
5421
|
}
|
|
5422
5422
|
}
|
|
@@ -5426,7 +5426,7 @@ const Po = (t) => {
|
|
|
5426
5426
|
}, dr = "__base-table-sticky-container", Zt = "__sticky-element", Hn = "data-sticky", pr = (t) => t.setAttribute(Hn, "true"), mr = (t) => t.removeAttribute(Hn), Dr = (t) => {
|
|
5427
5427
|
const e = () => null;
|
|
5428
5428
|
return t ? U.isString(t) ? () => document.querySelector(t) : U.isFunction(t) ? t : t instanceof HTMLElement ? () => t : (console.warn("未知的选择器类型"), e) : e;
|
|
5429
|
-
}, fr = (t) => Dr(t)(),
|
|
5429
|
+
}, fr = (t) => Dr(t)(), hr = (t, e) => {
|
|
5430
5430
|
const o = [], n = (u) => {
|
|
5431
5431
|
o.includes(u) || o.push(u);
|
|
5432
5432
|
}, a = new IntersectionObserver(([u]) => {
|
|
@@ -5443,7 +5443,7 @@ const Po = (t) => {
|
|
|
5443
5443
|
a?.disconnect(), o.length = 0;
|
|
5444
5444
|
}
|
|
5445
5445
|
};
|
|
5446
|
-
},
|
|
5446
|
+
}, gr = (t) => {
|
|
5447
5447
|
const e = [], o = (a) => {
|
|
5448
5448
|
e.includes(a) || e.push(a);
|
|
5449
5449
|
}, n = new ResizeObserver(
|
|
@@ -5470,7 +5470,7 @@ const Po = (t) => {
|
|
|
5470
5470
|
if (!t) return e;
|
|
5471
5471
|
const o = t.querySelector(".el-table__header-wrapper");
|
|
5472
5472
|
return o && e.push(o), e;
|
|
5473
|
-
},
|
|
5473
|
+
}, Oo = (t) => {
|
|
5474
5474
|
if (!t) return null;
|
|
5475
5475
|
const e = t.querySelector(".el-table__body-wrapper");
|
|
5476
5476
|
return e ? e.querySelector("tbody tr:first-child") : null;
|
|
@@ -5509,7 +5509,7 @@ const Po = (t) => {
|
|
|
5509
5509
|
});
|
|
5510
5510
|
}
|
|
5511
5511
|
return L;
|
|
5512
|
-
},
|
|
5512
|
+
}, h = () => {
|
|
5513
5513
|
if (!u) return;
|
|
5514
5514
|
const I = o(), { baseTableOperationElement: B, baseTableRef: M } = e;
|
|
5515
5515
|
if (!I || !B.value) return;
|
|
@@ -5521,13 +5521,13 @@ const Po = (t) => {
|
|
|
5521
5521
|
".el-scrollbar__wrap:not([data-first-row-sticky])"
|
|
5522
5522
|
);
|
|
5523
5523
|
if (!q) return;
|
|
5524
|
-
const se = I.getBoundingClientRect(), re = B.value.getBoundingClientRect(), ie = q.getBoundingClientRect(),
|
|
5524
|
+
const se = I.getBoundingClientRect(), re = B.value.getBoundingClientRect(), ie = q.getBoundingClientRect(), ve = Lo(L)[0]?.getBoundingClientRect().height || 0, qe = Oo(L)?.offsetHeight || 0, Je = se.top + re.height + ve;
|
|
5525
5525
|
u.style.top = `${Je}px`, u.style.left = `${ie.left}px`, u.style.width = `${ie.width}px`, u.style.height = `${qe}px`, u.style.overflow = "hidden", u.style.zIndex = "100";
|
|
5526
5526
|
}, D = (I = !1) => {
|
|
5527
5527
|
if (!p) return;
|
|
5528
5528
|
const B = p.scrollLeft;
|
|
5529
5529
|
!I && B === c || (c = B, document.body.style.setProperty("--z-table-v2-scrollbar-left", `${B}px`), u && (u.scrollLeft = B));
|
|
5530
|
-
},
|
|
5530
|
+
}, g = () => {
|
|
5531
5531
|
if (!e.enableFirstRowSticky || i) return;
|
|
5532
5532
|
const { baseTableRef: I } = e, B = d(I)?.$el;
|
|
5533
5533
|
if (!B) return;
|
|
@@ -5553,8 +5553,8 @@ const Po = (t) => {
|
|
|
5553
5553
|
if (!M) return;
|
|
5554
5554
|
const L = C(B);
|
|
5555
5555
|
if (!L) return;
|
|
5556
|
-
u = L, M.appendChild(u),
|
|
5557
|
-
const H = u.querySelector("tbody tr:first-child"), q =
|
|
5556
|
+
u = L, M.appendChild(u), h(), D(!0);
|
|
5557
|
+
const H = u.querySelector("tbody tr:first-child"), q = Oo(B);
|
|
5558
5558
|
if (H && q) {
|
|
5559
5559
|
const se = () => {
|
|
5560
5560
|
H.classList.add("hover-row"), q.classList.add("hover-row");
|
|
@@ -5568,7 +5568,7 @@ const Po = (t) => {
|
|
|
5568
5568
|
});
|
|
5569
5569
|
}
|
|
5570
5570
|
r = new ResizeObserver(() => {
|
|
5571
|
-
requestAnimationFrame(() =>
|
|
5571
|
+
requestAnimationFrame(() => h());
|
|
5572
5572
|
}), r.observe(M), n.push(() => r?.disconnect());
|
|
5573
5573
|
}, b = () => {
|
|
5574
5574
|
if (l.forEach((I) => I()), l.length = 0, u) {
|
|
@@ -5586,25 +5586,25 @@ const Po = (t) => {
|
|
|
5586
5586
|
if (mn(I))
|
|
5587
5587
|
return;
|
|
5588
5588
|
L();
|
|
5589
|
-
const ce = se(), { top:
|
|
5589
|
+
const ce = se(), { top: ve } = B.getBoundingClientRect(), { left: Xe, width: qe } = I.getBoundingClientRect();
|
|
5590
5590
|
pr(I), I.classList.add(Zt), Object.assign(
|
|
5591
5591
|
I.style,
|
|
5592
5592
|
{
|
|
5593
5593
|
position: "fixed",
|
|
5594
|
-
top: `${
|
|
5594
|
+
top: `${ve}px`,
|
|
5595
5595
|
left: `${Xe}px`,
|
|
5596
5596
|
width: `${qe}px`,
|
|
5597
5597
|
zIndex: 100
|
|
5598
5598
|
},
|
|
5599
5599
|
ie ?? {}
|
|
5600
5600
|
);
|
|
5601
|
-
const { onUpdate: Je, onStop:
|
|
5601
|
+
const { onUpdate: Je, onStop: Ot } = gr(ce);
|
|
5602
5602
|
Je(() => {
|
|
5603
5603
|
if (!s(ce)) {
|
|
5604
5604
|
const { width: et, left: vt } = ce.getBoundingClientRect();
|
|
5605
5605
|
I.style.width = `${et}px`, I.style.left = `${vt}px`;
|
|
5606
5606
|
}
|
|
5607
|
-
}), re =
|
|
5607
|
+
}), re = Ot;
|
|
5608
5608
|
},
|
|
5609
5609
|
reset: () => {
|
|
5610
5610
|
mr(I), I.classList.remove(Zt), Object.assign(I.style, {
|
|
@@ -5625,24 +5625,24 @@ const Po = (t) => {
|
|
|
5625
5625
|
const B = o();
|
|
5626
5626
|
if (!B)
|
|
5627
5627
|
return;
|
|
5628
|
-
const { onWatchVisible: M, onStopWatchVisible: L } =
|
|
5628
|
+
const { onWatchVisible: M, onStopWatchVisible: L } = hr(I, { root: B }), { baseTableOperationElement: H, baseTableRef: q } = e;
|
|
5629
5629
|
if (!H.value)
|
|
5630
5630
|
return;
|
|
5631
5631
|
w(H.value, M, B);
|
|
5632
5632
|
const se = Lo(d(q)?.$el), { top: re } = B.getBoundingClientRect(), { height: ie } = H.value.getBoundingClientRect();
|
|
5633
5633
|
se.forEach(
|
|
5634
|
-
(ce,
|
|
5634
|
+
(ce, ve) => w(
|
|
5635
5635
|
ce,
|
|
5636
5636
|
M,
|
|
5637
5637
|
B,
|
|
5638
5638
|
{
|
|
5639
5639
|
top: `${re + ie}px`
|
|
5640
5640
|
},
|
|
5641
|
-
|
|
5641
|
+
ve === 0
|
|
5642
5642
|
// 第一个元素是表头,标记为 true
|
|
5643
5643
|
)
|
|
5644
|
-
), n.push(L),
|
|
5645
|
-
|
|
5644
|
+
), n.push(L), W(() => {
|
|
5645
|
+
g();
|
|
5646
5646
|
});
|
|
5647
5647
|
}, k = (I) => {
|
|
5648
5648
|
e = I ?? e;
|
|
@@ -5655,10 +5655,10 @@ const Po = (t) => {
|
|
|
5655
5655
|
start: k,
|
|
5656
5656
|
stopSticky: S,
|
|
5657
5657
|
reset: async () => {
|
|
5658
|
-
S(), await
|
|
5658
|
+
S(), await W(), k();
|
|
5659
5659
|
},
|
|
5660
5660
|
updateFirstRow: async () => {
|
|
5661
|
-
e.enableFirstRowSticky && (await
|
|
5661
|
+
e.enableFirstRowSticky && (await W(), u && (b(), await W(), A()), await W(), D(!0));
|
|
5662
5662
|
}
|
|
5663
5663
|
};
|
|
5664
5664
|
}, vr = {
|
|
@@ -5670,10 +5670,10 @@ const Po = (t) => {
|
|
|
5670
5670
|
}, Fr = { class: "base-table__table-header-cell" }, br = { class: "base-table__table-header-content" }, yr = {
|
|
5671
5671
|
key: 1,
|
|
5672
5672
|
class: "base-table__pagination"
|
|
5673
|
-
}, _r = /* @__PURE__ */
|
|
5673
|
+
}, _r = /* @__PURE__ */ O({
|
|
5674
5674
|
name: "ZTable",
|
|
5675
5675
|
__name: "index",
|
|
5676
|
-
props: /* @__PURE__ */
|
|
5676
|
+
props: /* @__PURE__ */ he({
|
|
5677
5677
|
tableData: { default: () => [] },
|
|
5678
5678
|
columns: { default: () => [] },
|
|
5679
5679
|
loadMethod: {},
|
|
@@ -5747,7 +5747,7 @@ const Po = (t) => {
|
|
|
5747
5747
|
selectList: { default: () => [] },
|
|
5748
5748
|
selectListModifiers: {}
|
|
5749
5749
|
}),
|
|
5750
|
-
emits: /* @__PURE__ */
|
|
5750
|
+
emits: /* @__PURE__ */ he([
|
|
5751
5751
|
"import",
|
|
5752
5752
|
"export",
|
|
5753
5753
|
"drag",
|
|
@@ -5760,21 +5760,21 @@ const Po = (t) => {
|
|
|
5760
5760
|
"changeGroup"
|
|
5761
5761
|
], ["update:selectList"]),
|
|
5762
5762
|
setup(t, { expose: e, emit: o }) {
|
|
5763
|
-
|
|
5764
|
-
"591cf24b":
|
|
5763
|
+
Ee((z) => ({
|
|
5764
|
+
"591cf24b": go.value,
|
|
5765
5765
|
"4f27adb5": d(C)
|
|
5766
5766
|
}));
|
|
5767
|
-
const n = t, a = Ge(t, "selectList"), s = o, u = dt(), { baseTableEventMap: r } = ur(s, (
|
|
5768
|
-
|
|
5767
|
+
const n = t, a = Ge(t, "selectList"), s = o, u = dt(), { baseTableEventMap: r } = ur(s, (z, ...j) => {
|
|
5768
|
+
z === "selection-change" && (a.value = j[0]);
|
|
5769
5769
|
}), {
|
|
5770
5770
|
baseTableRef: l,
|
|
5771
5771
|
baseTableContainerRef: i,
|
|
5772
5772
|
pagination: c,
|
|
5773
5773
|
getPaginationProps: p,
|
|
5774
5774
|
paginationWidth: C,
|
|
5775
|
-
tableData:
|
|
5775
|
+
tableData: h,
|
|
5776
5776
|
getTableAttrs: D,
|
|
5777
|
-
getColumnAttrs:
|
|
5777
|
+
getColumnAttrs: g,
|
|
5778
5778
|
specialColumnMap: A,
|
|
5779
5779
|
getTableRenderColumns: b,
|
|
5780
5780
|
getParseOperationBtnList: v,
|
|
@@ -5789,71 +5789,71 @@ const Po = (t) => {
|
|
|
5789
5789
|
loadData: M,
|
|
5790
5790
|
openConfigColumnDialog: L,
|
|
5791
5791
|
resetColumnsWidth: H
|
|
5792
|
-
} = sr(n, s), { count: q, find: se, clear: re } =
|
|
5792
|
+
} = sr(n, s), { count: q, find: se, clear: re } = zn(l);
|
|
5793
5793
|
let ie = !1;
|
|
5794
5794
|
const ce = () => {
|
|
5795
5795
|
ie || (M(), s("paginationChange"));
|
|
5796
|
-
},
|
|
5797
|
-
ie = !0,
|
|
5796
|
+
}, ve = async (z = !0) => {
|
|
5797
|
+
ie = !0, z && Object.assign(c.value, {
|
|
5798
5798
|
current: 1
|
|
5799
|
-
}), await
|
|
5799
|
+
}), await W(), await M(), s("refreshed"), await W(), ie = !1;
|
|
5800
5800
|
}, Xe = N(), { start: qe, reset: Je } = Un({
|
|
5801
5801
|
baseTableOperationElement: Xe,
|
|
5802
5802
|
baseTableRef: l,
|
|
5803
5803
|
stickyTriggerSelector: n.stickyTriggerSelector
|
|
5804
|
-
}),
|
|
5805
|
-
|
|
5804
|
+
}), Ot = async (z, j) => {
|
|
5805
|
+
z === k.value && !j || (_(z, j), await Je(), s("changeGroup", z));
|
|
5806
5806
|
}, et = N(!1), vt = async () => {
|
|
5807
5807
|
try {
|
|
5808
5808
|
n.autoLoad && await M();
|
|
5809
5809
|
} finally {
|
|
5810
5810
|
et.value = !0;
|
|
5811
5811
|
}
|
|
5812
|
-
}, Jn = () => c.value,
|
|
5813
|
-
!w.value && et.value && (s("loaded"), n.stickyHeader &&
|
|
5814
|
-
}), ta = R(() => (
|
|
5812
|
+
}, Jn = () => c.value, ho = R(() => U.omit(c.value, "total")), ea = pt(() => {
|
|
5813
|
+
!w.value && et.value && (s("loaded"), n.stickyHeader && W(qe), ea());
|
|
5814
|
+
}), ta = R(() => (z) => {
|
|
5815
5815
|
const j = n.enableDragProps;
|
|
5816
|
-
return j && (Array.isArray(j) ? j : [j]).includes(
|
|
5816
|
+
return j && (Array.isArray(j) ? j : [j]).includes(z.prop || "") ? ko : "";
|
|
5817
5817
|
}), oa = () => {
|
|
5818
5818
|
l.value?.clearSelection?.();
|
|
5819
|
-
}, na = R(() => !n.enableDragProps), aa = (
|
|
5820
|
-
const { oldIndex: j, newIndex:
|
|
5821
|
-
Et(j) || Et(
|
|
5822
|
-
}, sa = (
|
|
5823
|
-
if (!
|
|
5824
|
-
const j = document.querySelectorAll(".el-table__row"),
|
|
5825
|
-
if (!j[
|
|
5826
|
-
const
|
|
5827
|
-
|
|
5819
|
+
}, na = R(() => !n.enableDragProps), aa = (z) => {
|
|
5820
|
+
const { oldIndex: j, newIndex: Ae } = z;
|
|
5821
|
+
Et(j) || Et(Ae) || j === Ae || s("drag", { oldIndex: j, newIndex: Ae }, h.value);
|
|
5822
|
+
}, sa = (z) => {
|
|
5823
|
+
if (!Te(z.newIndex) && !Te(z.oldIndex)) {
|
|
5824
|
+
const j = document.querySelectorAll(".el-table__row"), Ae = document.querySelector(".mainWrapper");
|
|
5825
|
+
if (!j[z.newIndex] || !Ae) return;
|
|
5826
|
+
const we = j[z.newIndex].getBoundingClientRect(), Re = Ae.getBoundingClientRect();
|
|
5827
|
+
we.bottom >= Re.height ? j[z.newIndex]?.scrollIntoView({
|
|
5828
5828
|
behavior: "smooth",
|
|
5829
5829
|
block: "center"
|
|
5830
|
-
}) :
|
|
5830
|
+
}) : we.top <= 220 && j[z.newIndex]?.scrollIntoView({
|
|
5831
5831
|
behavior: "smooth",
|
|
5832
5832
|
block: "center"
|
|
5833
5833
|
});
|
|
5834
5834
|
}
|
|
5835
5835
|
};
|
|
5836
5836
|
mt(async () => {
|
|
5837
|
-
await
|
|
5837
|
+
await W(), n.formBuilder ? n.formBuilder.onColumnsLoaded(vt) : await vt();
|
|
5838
5838
|
});
|
|
5839
5839
|
const ua = () => {
|
|
5840
|
-
const
|
|
5841
|
-
return b.value.reduce((j,
|
|
5842
|
-
const { prop:
|
|
5843
|
-
return
|
|
5840
|
+
const z = Object.values(A).map((j) => j.prop);
|
|
5841
|
+
return b.value.reduce((j, Ae) => {
|
|
5842
|
+
const { prop: we, exportProp: Re } = Ae;
|
|
5843
|
+
return we && !z.includes(we) && (Re ? (Array.isArray(Re) ? Re : [Re]).forEach((At) => {
|
|
5844
5844
|
j.includes(At) || j.push(At);
|
|
5845
|
-
}) : !j.includes(
|
|
5845
|
+
}) : !j.includes(we) && j.push(we)), j;
|
|
5846
5846
|
}, []);
|
|
5847
|
-
},
|
|
5847
|
+
}, go = N(""), { onResize: la } = fo();
|
|
5848
5848
|
return la(
|
|
5849
5849
|
() => l?.value?.$el,
|
|
5850
5850
|
() => {
|
|
5851
|
-
const { left:
|
|
5852
|
-
|
|
5851
|
+
const { left: z } = l.value.$el.getBoundingClientRect();
|
|
5852
|
+
go.value = `${z + 3}px`;
|
|
5853
5853
|
}
|
|
5854
5854
|
), e({
|
|
5855
5855
|
loadData: M,
|
|
5856
|
-
refresh:
|
|
5856
|
+
refresh: ve,
|
|
5857
5857
|
openConfigColumnDialog: L,
|
|
5858
5858
|
getPagination: Jn,
|
|
5859
5859
|
clearSort: () => {
|
|
@@ -5861,9 +5861,9 @@ const Po = (t) => {
|
|
|
5861
5861
|
},
|
|
5862
5862
|
getExportColumnsProps: ua,
|
|
5863
5863
|
elTable: l,
|
|
5864
|
-
getTableData: () =>
|
|
5865
|
-
}), (
|
|
5866
|
-
const
|
|
5864
|
+
getTableData: () => h.value
|
|
5865
|
+
}), (z, j) => {
|
|
5866
|
+
const Ae = E("el-icon"), we = E("el-table-column"), Re = E("el-table"), Co = E("el-pagination"), At = te("loading");
|
|
5867
5867
|
return m(), y(Z, null, [
|
|
5868
5868
|
V("div", {
|
|
5869
5869
|
ref_key: "baseTableContainerRef",
|
|
@@ -5871,12 +5871,12 @@ const Po = (t) => {
|
|
|
5871
5871
|
class: ne([
|
|
5872
5872
|
"base-table__container z-table",
|
|
5873
5873
|
{
|
|
5874
|
-
"is-full-height":
|
|
5874
|
+
"is-full-height": z.fullHeight
|
|
5875
5875
|
}
|
|
5876
5876
|
])
|
|
5877
5877
|
}, [
|
|
5878
|
-
|
|
5879
|
-
|
|
5878
|
+
z.hideTableWorkHeader ? P("", !0) : (m(), y(Z, { key: 0 }, [
|
|
5879
|
+
z.hasDefaultOperation || a.value.length || u.header || u.operation ? (m(), y("div", {
|
|
5880
5880
|
key: 0,
|
|
5881
5881
|
ref_key: "baseTableOperationElement",
|
|
5882
5882
|
ref: Xe,
|
|
@@ -5888,11 +5888,11 @@ const Po = (t) => {
|
|
|
5888
5888
|
"select-count",
|
|
5889
5889
|
{
|
|
5890
5890
|
"select-count--auto-width": !u.selectSlot,
|
|
5891
|
-
"select-count__hidden": !
|
|
5891
|
+
"select-count__hidden": !z.showSelectCount
|
|
5892
5892
|
}
|
|
5893
5893
|
])
|
|
5894
5894
|
}, [
|
|
5895
|
-
|
|
5895
|
+
z.showSelectCount ? (m(), y("div", {
|
|
5896
5896
|
key: 0,
|
|
5897
5897
|
class: ne([
|
|
5898
5898
|
"select-count__count",
|
|
@@ -5902,20 +5902,20 @@ const Po = (t) => {
|
|
|
5902
5902
|
])
|
|
5903
5903
|
}, [
|
|
5904
5904
|
Q(" 已选 " + X(a.value.length) + " 项 ", 1),
|
|
5905
|
-
f(
|
|
5905
|
+
f(Ae, { onClick: oa }, {
|
|
5906
5906
|
default: F(() => [
|
|
5907
5907
|
f(d(nn))
|
|
5908
5908
|
]),
|
|
5909
5909
|
_: 1
|
|
5910
5910
|
})
|
|
5911
5911
|
], 2)) : P("", !0),
|
|
5912
|
-
le(
|
|
5912
|
+
le(z.$slots, "selectSlot", {}, void 0, !0)
|
|
5913
5913
|
], 2)) : P("", !0),
|
|
5914
5914
|
!u.selectSlot || !a.value.length ? (m(), y("div", vr, [
|
|
5915
|
-
le(
|
|
5915
|
+
le(z.$slots, "header", { pagination: ho.value }, void 0, !0)
|
|
5916
5916
|
])) : P("", !0),
|
|
5917
|
-
|
|
5918
|
-
le(
|
|
5917
|
+
z.hasDefaultOperation && (!u.selectSlot || !a.value.length) ? (m(), y("div", Ar, [
|
|
5918
|
+
le(z.$slots, "operation", { pagination: ho.value }, void 0, !0),
|
|
5919
5919
|
(m(!0), y(Z, null, Y(d(v), (ue) => (m(), y(Z, {
|
|
5920
5920
|
key: ue.type
|
|
5921
5921
|
}, [
|
|
@@ -5923,7 +5923,7 @@ const Po = (t) => {
|
|
|
5923
5923
|
key: 0,
|
|
5924
5924
|
tips: "刷新",
|
|
5925
5925
|
src: d(Sn),
|
|
5926
|
-
onClick: j[0] || (j[0] = (tt) =>
|
|
5926
|
+
onClick: j[0] || (j[0] = (tt) => ve(!1))
|
|
5927
5927
|
}, null, 8, ["src"])) : P("", !0),
|
|
5928
5928
|
ue.type === "resetColumnsWidth" ? (m(), G(Ke, {
|
|
5929
5929
|
key: 1,
|
|
@@ -5931,12 +5931,12 @@ const Po = (t) => {
|
|
|
5931
5931
|
tips: "重置列宽",
|
|
5932
5932
|
onClick: d(H)
|
|
5933
5933
|
}, null, 8, ["src", "onClick"])) : P("", !0),
|
|
5934
|
-
ue.type === "configColumns" &&
|
|
5934
|
+
ue.type === "configColumns" && z.columnConfig?.pageId ? (m(), G(ul, {
|
|
5935
5935
|
key: 2,
|
|
5936
5936
|
"group-id": d(k),
|
|
5937
5937
|
"column-groups": d(x),
|
|
5938
5938
|
"column-config": n.columnConfig,
|
|
5939
|
-
onChange:
|
|
5939
|
+
onChange: Ot,
|
|
5940
5940
|
onEdit: d(I),
|
|
5941
5941
|
onDelete: d(B)
|
|
5942
5942
|
}, null, 8, ["group-id", "column-groups", "column-config", "onEdit", "onDelete"])) : P("", !0)
|
|
@@ -5949,25 +5949,25 @@ const Po = (t) => {
|
|
|
5949
5949
|
class: ne([
|
|
5950
5950
|
"base-table__body",
|
|
5951
5951
|
{
|
|
5952
|
-
"base-table__body__fix-pagination": !
|
|
5953
|
-
"base-table__body__update-scroll":
|
|
5954
|
-
"base-table__body__auto-scroll-y":
|
|
5952
|
+
"base-table__body__fix-pagination": !z.whenFixedPaginationNoPadding && z.fixedPagination,
|
|
5953
|
+
"base-table__body__update-scroll": z.hasPagination && z.fixedPagination,
|
|
5954
|
+
"base-table__body__auto-scroll-y": z.autoScrollY
|
|
5955
5955
|
}
|
|
5956
5956
|
])
|
|
5957
5957
|
}, [
|
|
5958
5958
|
!d(w) && et.value ? (m(), G(d(Ue), {
|
|
5959
5959
|
key: 0,
|
|
5960
|
-
modelValue: d(
|
|
5960
|
+
modelValue: d(h),
|
|
5961
5961
|
"onUpdate:modelValue": [
|
|
5962
|
-
j[1] || (j[1] = (ue) =>
|
|
5962
|
+
j[1] || (j[1] = (ue) => Fe(h) ? h.value = ue : null),
|
|
5963
5963
|
j[2] || (j[2] = (ue) => s("update:tableData", ue))
|
|
5964
5964
|
],
|
|
5965
5965
|
disabled: na.value,
|
|
5966
5966
|
class: "base-table__draggable",
|
|
5967
5967
|
target: ".base-table__table tbody",
|
|
5968
|
-
"item-key":
|
|
5968
|
+
"item-key": z.draggableAttrs?.idKey ?? z.rowKey ?? "id",
|
|
5969
5969
|
handle: `.${d(ko)}`,
|
|
5970
|
-
animation:
|
|
5970
|
+
animation: z.draggableAttrs?.animation ?? 150,
|
|
5971
5971
|
onEnd: aa,
|
|
5972
5972
|
onChange: sa
|
|
5973
5973
|
}, {
|
|
@@ -5978,42 +5978,42 @@ const Po = (t) => {
|
|
|
5978
5978
|
class: [
|
|
5979
5979
|
"base-table__table",
|
|
5980
5980
|
{
|
|
5981
|
-
"el-table__outside-border":
|
|
5982
|
-
"is-empty__table": !d(
|
|
5981
|
+
"el-table__outside-border": z.border,
|
|
5982
|
+
"is-empty__table": !d(h).length
|
|
5983
5983
|
}
|
|
5984
5984
|
]
|
|
5985
5985
|
}, d(D), {
|
|
5986
5986
|
"header-cell-style": d(rl),
|
|
5987
|
-
data: d(
|
|
5987
|
+
data: d(h),
|
|
5988
5988
|
"show-overflow-tooltip": ""
|
|
5989
|
-
},
|
|
5989
|
+
}, Ce(d(r))), {
|
|
5990
5990
|
empty: F(() => [
|
|
5991
|
-
le(
|
|
5991
|
+
le(z.$slots, "empty", {}, () => [
|
|
5992
5992
|
f(sn)
|
|
5993
5993
|
], !0)
|
|
5994
5994
|
]),
|
|
5995
5995
|
default: F(() => [
|
|
5996
|
-
(m(!0), y(Z, null, Y(d(b), (ue) => (m(), G(
|
|
5996
|
+
(m(!0), y(Z, null, Y(d(b), (ue) => (m(), G(we, ee({ ref_for: !0 }, d(g)(ue), {
|
|
5997
5997
|
key: ue.prop,
|
|
5998
5998
|
"class-name": `${ta.value(ue)} ${ue.className ?? ""}`
|
|
5999
5999
|
}), {
|
|
6000
|
-
header: F(({ column: tt, $index:
|
|
6000
|
+
header: F(({ column: tt, $index: zt }) => [
|
|
6001
6001
|
V("div", Fr, [
|
|
6002
6002
|
V("div", br, [
|
|
6003
6003
|
f(d(pl), {
|
|
6004
6004
|
column: ue,
|
|
6005
6005
|
"header-column": tt,
|
|
6006
|
-
index:
|
|
6006
|
+
index: zt
|
|
6007
6007
|
}, null, 8, ["column", "header-column", "index"])
|
|
6008
6008
|
])
|
|
6009
6009
|
])
|
|
6010
6010
|
]),
|
|
6011
|
-
default: F(({ row: tt, $index:
|
|
6011
|
+
default: F(({ row: tt, $index: zt }) => [
|
|
6012
6012
|
!ue.type || !d(A)[ue.type] ? (m(), G(d(dl), {
|
|
6013
6013
|
key: 0,
|
|
6014
6014
|
column: ue,
|
|
6015
6015
|
row: tt,
|
|
6016
|
-
data: { ...tt, $index:
|
|
6016
|
+
data: { ...tt, $index: zt, $tableData: d(h), $defaultSort: z.defaultSort, $rowKey: z.rowKey }
|
|
6017
6017
|
}, null, 8, ["column", "row", "data"])) : P("", !0)
|
|
6018
6018
|
]),
|
|
6019
6019
|
_: 2
|
|
@@ -6027,12 +6027,12 @@ const Po = (t) => {
|
|
|
6027
6027
|
], 2)), [
|
|
6028
6028
|
[At, d(w) || d(T)]
|
|
6029
6029
|
]),
|
|
6030
|
-
|
|
6030
|
+
z.hasPagination ? (m(), y("div", yr, [
|
|
6031
6031
|
V("div", {
|
|
6032
6032
|
class: ne({
|
|
6033
|
-
"base-table__pagination-fixed":
|
|
6033
|
+
"base-table__pagination-fixed": z.fixedPagination,
|
|
6034
6034
|
"base-table__base-pagination": !0,
|
|
6035
|
-
"base-table__pagination-right":
|
|
6035
|
+
"base-table__pagination-right": z.paginationPosition === "right"
|
|
6036
6036
|
})
|
|
6037
6037
|
}, [
|
|
6038
6038
|
f(Co, ee(d(p), {
|
|
@@ -6046,7 +6046,7 @@ const Po = (t) => {
|
|
|
6046
6046
|
], 2)
|
|
6047
6047
|
])) : P("", !0)
|
|
6048
6048
|
], 2),
|
|
6049
|
-
|
|
6049
|
+
z.enableColumnSearch ? (m(), G(On, {
|
|
6050
6050
|
key: 0,
|
|
6051
6051
|
count: d(q),
|
|
6052
6052
|
onFind: d(se),
|
|
@@ -6055,7 +6055,7 @@ const Po = (t) => {
|
|
|
6055
6055
|
], 64);
|
|
6056
6056
|
};
|
|
6057
6057
|
}
|
|
6058
|
-
}), Er = /* @__PURE__ */
|
|
6058
|
+
}), Er = /* @__PURE__ */ $(_r, [["__scopeId", "data-v-12b4f5dc"]]), Br = me(Er, "ZTable"), wr = me(Do, "ZTableLinkButton"), Sr = (t) => {
|
|
6059
6059
|
const e = N(), o = (s) => {
|
|
6060
6060
|
e.value = s, t.initElTableInstance(e);
|
|
6061
6061
|
}, n = (s) => {
|
|
@@ -6084,7 +6084,7 @@ const Po = (t) => {
|
|
|
6084
6084
|
updateSelectList: n,
|
|
6085
6085
|
getBuildColumns: a
|
|
6086
6086
|
};
|
|
6087
|
-
}, Tr = /* @__PURE__ */
|
|
6087
|
+
}, Tr = /* @__PURE__ */ O({
|
|
6088
6088
|
name: "ZTableElTableColumn",
|
|
6089
6089
|
__name: "ZTableElTableColumn",
|
|
6090
6090
|
props: {
|
|
@@ -6143,7 +6143,7 @@ const Po = (t) => {
|
|
|
6143
6143
|
}, 16, ["class-name"]);
|
|
6144
6144
|
};
|
|
6145
6145
|
}
|
|
6146
|
-
}), kr = /* @__PURE__ */
|
|
6146
|
+
}), kr = /* @__PURE__ */ O({
|
|
6147
6147
|
name: "RenderElTable",
|
|
6148
6148
|
__name: "index",
|
|
6149
6149
|
props: {
|
|
@@ -6163,11 +6163,11 @@ const Po = (t) => {
|
|
|
6163
6163
|
count: s,
|
|
6164
6164
|
find: u,
|
|
6165
6165
|
clear: r
|
|
6166
|
-
} =
|
|
6166
|
+
} = zn(n), l = () => Object.keys(t.slots).filter((c) => !["empty", "append", "_"].includes(c)), i = ({
|
|
6167
6167
|
name: c
|
|
6168
6168
|
}) => (De.getZTableV2DefaultSlotRenderByName(c) ?? t.slots[c])?.();
|
|
6169
6169
|
return (c, p) => {
|
|
6170
|
-
const C = E("el-table"),
|
|
6170
|
+
const C = E("el-table"), h = te("loading");
|
|
6171
6171
|
return m(), y(Z, null, [J((m(), G(C, ee({
|
|
6172
6172
|
ref: d(e),
|
|
6173
6173
|
class: ["render-el-table__table", "z-table-v2__table", {
|
|
@@ -6176,7 +6176,7 @@ const Po = (t) => {
|
|
|
6176
6176
|
}]
|
|
6177
6177
|
}, c.tableBuilder.elTableAttrs, {
|
|
6178
6178
|
data: c.tableBuilder.data
|
|
6179
|
-
},
|
|
6179
|
+
}, Ce(c.tableBuilder.getTableRegisterEvents(c.emit)), {
|
|
6180
6180
|
onSelectionChange: d(o)
|
|
6181
6181
|
}), Le({
|
|
6182
6182
|
empty: F(() => [f(i, {
|
|
@@ -6187,19 +6187,19 @@ const Po = (t) => {
|
|
|
6187
6187
|
})]),
|
|
6188
6188
|
default: F(() => [(m(!0), y(Z, null, Y(d(a), ({
|
|
6189
6189
|
column: D,
|
|
6190
|
-
subColumns:
|
|
6190
|
+
subColumns: g
|
|
6191
6191
|
}) => (m(), G(Tr, {
|
|
6192
6192
|
key: D.prop,
|
|
6193
6193
|
column: D,
|
|
6194
6194
|
"table-builder": c.tableBuilder,
|
|
6195
6195
|
count: d(s),
|
|
6196
|
-
children:
|
|
6196
|
+
children: g
|
|
6197
6197
|
}, null, 8, ["column", "table-builder", "count", "children"]))), 128))]),
|
|
6198
6198
|
_: 2
|
|
6199
6199
|
}, [Y(l(), (D) => ({
|
|
6200
6200
|
name: D,
|
|
6201
6201
|
fn: F(() => [le(c.$slots, D, {}, void 0, !0)])
|
|
6202
|
-
}))]), 1040, ["class", "data", "onSelectionChange"])), [[
|
|
6202
|
+
}))]), 1040, ["class", "data", "onSelectionChange"])), [[h, c.tableBuilder.loading]]), c.tableBuilder.config.enableColumnSearch ? (m(), G(On, {
|
|
6203
6203
|
key: 0,
|
|
6204
6204
|
count: d(s),
|
|
6205
6205
|
onFind: d(u),
|
|
@@ -6207,7 +6207,7 @@ const Po = (t) => {
|
|
|
6207
6207
|
}, null, 8, ["count", "onFind", "onHidden"])) : P("", !0)], 64);
|
|
6208
6208
|
};
|
|
6209
6209
|
}
|
|
6210
|
-
}), Ir = /* @__PURE__ */
|
|
6210
|
+
}), Ir = /* @__PURE__ */ $(kr, [["__scopeId", "data-v-6fdaf5e0"]]), Gr = 150, ye = (t) => {
|
|
6211
6211
|
const e = Number(t);
|
|
6212
6212
|
return Number.isFinite(e) && e > 0 ? e : void 0;
|
|
6213
6213
|
}, xr = (t) => {
|
|
@@ -6217,11 +6217,11 @@ const Po = (t) => {
|
|
|
6217
6217
|
} = t.config;
|
|
6218
6218
|
return typeof r == "function" ? r(u) : Reflect.get(u, r);
|
|
6219
6219
|
}, o = (u, r) => {
|
|
6220
|
-
const l =
|
|
6220
|
+
const l = ye(r.width) ?? ye(u.width) ?? ye(r.minWidth) ?? ye(u.minWidth) ?? Gr, i = ye(r.minWidth) ?? ye(u.minWidth), c = ye(r.maxWidth) ?? ye(u.maxWidth);
|
|
6221
6221
|
let p = l;
|
|
6222
6222
|
return i && (p = Math.max(p, i)), c && (p = Math.min(p, c)), p;
|
|
6223
6223
|
}, n = (u, r, l) => {
|
|
6224
|
-
const i =
|
|
6224
|
+
const i = ye(r.minWidth) ?? ye(u.minWidth);
|
|
6225
6225
|
return i ? Math.max(i, l) : l;
|
|
6226
6226
|
}, a = (u, r, l) => {
|
|
6227
6227
|
t.updateSelectList(u), r === "select" ? t.triggerEvent("select", u, l) : t.triggerEvent("select-all", u), t.triggerEvent("selection-change", u);
|
|
@@ -6236,10 +6236,10 @@ const Po = (t) => {
|
|
|
6236
6236
|
type: c,
|
|
6237
6237
|
contentRender: p,
|
|
6238
6238
|
_render: C,
|
|
6239
|
-
headerRender:
|
|
6239
|
+
headerRender: h,
|
|
6240
6240
|
renderHeader: D,
|
|
6241
|
-
showOverflowTooltip:
|
|
6242
|
-
} = i, A = p || C, b =
|
|
6241
|
+
showOverflowTooltip: g
|
|
6242
|
+
} = i, A = p || C, b = h || D, v = ze(u.tableV2ColumnAttrs, ["title", "width", "cellRenderer", "headerCellRenderer", "dataKey"]), w = o(i, v), T = n(i, v, w);
|
|
6243
6243
|
return c === "selection" ? {
|
|
6244
6244
|
...v,
|
|
6245
6245
|
title: r,
|
|
@@ -6306,7 +6306,7 @@ const Po = (t) => {
|
|
|
6306
6306
|
$rowKey: t.elTableAttrs.rowKey
|
|
6307
6307
|
}
|
|
6308
6308
|
}, null);
|
|
6309
|
-
return
|
|
6309
|
+
return g ? J(f("span", null, [f(x, null, null)]), [[te("ellipsis")]]) : f(x, null, null);
|
|
6310
6310
|
} : void 0,
|
|
6311
6311
|
headerCellRenderer: b ? ({
|
|
6312
6312
|
column: k,
|
|
@@ -6349,7 +6349,7 @@ const Po = (t) => {
|
|
|
6349
6349
|
t.updateSelectList(l);
|
|
6350
6350
|
}
|
|
6351
6351
|
};
|
|
6352
|
-
}, Nr = /* @__PURE__ */
|
|
6352
|
+
}, Nr = /* @__PURE__ */ O({
|
|
6353
6353
|
name: "RenderVirtualTable",
|
|
6354
6354
|
__name: "index",
|
|
6355
6355
|
props: {
|
|
@@ -6384,24 +6384,24 @@ const Po = (t) => {
|
|
|
6384
6384
|
width: d(n).width,
|
|
6385
6385
|
height: d(n).height,
|
|
6386
6386
|
data: u.tableBuilder.data
|
|
6387
|
-
},
|
|
6387
|
+
}, Ce(u.tableBuilder.getTableRegisterEvents(u.emit))), Le({
|
|
6388
6388
|
_: 2
|
|
6389
6389
|
}, [u.slots.empty ? {
|
|
6390
6390
|
name: "empty",
|
|
6391
|
-
fn: F(() => [f(d(
|
|
6391
|
+
fn: F(() => [f(d(zo), {
|
|
6392
6392
|
render: u.slots.empty
|
|
6393
6393
|
}, null, 8, ["render"])]),
|
|
6394
6394
|
key: "0"
|
|
6395
6395
|
} : void 0, u.slots.append ? {
|
|
6396
6396
|
name: "footer",
|
|
6397
|
-
fn: F(() => [f(d(
|
|
6397
|
+
fn: F(() => [f(d(zo), {
|
|
6398
6398
|
render: u.slots.append
|
|
6399
6399
|
}, null, 8, ["render"])]),
|
|
6400
6400
|
key: "1"
|
|
6401
6401
|
} : void 0]), 1040, ["columns", "width", "height", "data"])), [[i, u.tableBuilder.loading]]) : P("", !0)], 512);
|
|
6402
6402
|
};
|
|
6403
6403
|
}
|
|
6404
|
-
}), Vr = /* @__PURE__ */
|
|
6404
|
+
}), Vr = /* @__PURE__ */ $(Nr, [["__scopeId", "data-v-2ff99aa9"]]);
|
|
6405
6405
|
function Mr(t) {
|
|
6406
6406
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Mt(t);
|
|
6407
6407
|
}
|
|
@@ -6410,18 +6410,18 @@ const qt = (t) => {
|
|
|
6410
6410
|
column: e,
|
|
6411
6411
|
headerColumn: o,
|
|
6412
6412
|
index: n
|
|
6413
|
-
} =
|
|
6413
|
+
} = Be(t), {
|
|
6414
6414
|
headerRender: a,
|
|
6415
6415
|
label: s
|
|
6416
6416
|
} = e;
|
|
6417
|
-
return
|
|
6417
|
+
return ge(a) ? a(Oe, o, n, e) : s;
|
|
6418
6418
|
}, Zn = (t) => {
|
|
6419
6419
|
const {
|
|
6420
6420
|
column: e,
|
|
6421
6421
|
row: o,
|
|
6422
6422
|
data: n
|
|
6423
|
-
} =
|
|
6424
|
-
if ((!o ||
|
|
6423
|
+
} = Be(t);
|
|
6424
|
+
if ((!o || ga(o)) && !e.emptyIsRender)
|
|
6425
6425
|
return nt;
|
|
6426
6426
|
const {
|
|
6427
6427
|
contentRender: a,
|
|
@@ -6432,47 +6432,47 @@ const qt = (t) => {
|
|
|
6432
6432
|
prop: i,
|
|
6433
6433
|
emptyValue: c
|
|
6434
6434
|
} = e, p = c ?? Kt, C = a || s;
|
|
6435
|
-
if (
|
|
6435
|
+
if (ge(C)) {
|
|
6436
6436
|
const {
|
|
6437
|
-
$tableData:
|
|
6437
|
+
$tableData: g,
|
|
6438
6438
|
$index: A,
|
|
6439
6439
|
$defaultSort: b,
|
|
6440
6440
|
$rowKey: v
|
|
6441
6441
|
} = n;
|
|
6442
6442
|
let w = A;
|
|
6443
|
-
b && (v ? w =
|
|
6444
|
-
const T = C(
|
|
6443
|
+
b && (v ? w = g.findIndex((k) => Reflect.get(k, v) === Reflect.get(o, v)) : console.warn("如果设置了default-sort,必须要设置row-key,否则可能会导致自定义渲染内容错乱!"));
|
|
6444
|
+
const T = C(Oe, n ?? {}, Reflect.get(g, w) ?? {});
|
|
6445
6445
|
return typeof T != "number" && (!T || T === Kt) ? p : T;
|
|
6446
6446
|
}
|
|
6447
6447
|
if (!i)
|
|
6448
6448
|
return p;
|
|
6449
|
-
const
|
|
6449
|
+
const h = Reflect.get(n, i);
|
|
6450
6450
|
if (u) {
|
|
6451
|
-
const
|
|
6452
|
-
if (
|
|
6451
|
+
const g = u.find((b) => b.value === h), A = g?.label ?? p;
|
|
6452
|
+
if (g?._color || g?._status) {
|
|
6453
6453
|
const b = {};
|
|
6454
|
-
return
|
|
6455
|
-
key:
|
|
6454
|
+
return g?._color && (b.color = g._color), g?._status && Reflect.set(b, "--status-color", g._status), f("span", {
|
|
6455
|
+
key: h,
|
|
6456
6456
|
style: b,
|
|
6457
|
-
class:
|
|
6457
|
+
class: g?._status ? "custom-status__color" : ""
|
|
6458
6458
|
}, [A]);
|
|
6459
6459
|
}
|
|
6460
6460
|
return A;
|
|
6461
6461
|
}
|
|
6462
|
-
const D = pn(
|
|
6462
|
+
const D = pn(h) || h == c;
|
|
6463
6463
|
if (r) {
|
|
6464
|
-
const
|
|
6465
|
-
key:
|
|
6464
|
+
const g = f(Do, {
|
|
6465
|
+
key: h,
|
|
6466
6466
|
onClick: () => r?.(t.data)
|
|
6467
|
-
}, Mr(
|
|
6468
|
-
default: () => [
|
|
6467
|
+
}, Mr(h) ? h : {
|
|
6468
|
+
default: () => [h]
|
|
6469
6469
|
});
|
|
6470
|
-
return l ?
|
|
6470
|
+
return l ? g : D ? p : g;
|
|
6471
6471
|
}
|
|
6472
|
-
return D ? p :
|
|
6473
|
-
},
|
|
6472
|
+
return D ? p : h;
|
|
6473
|
+
}, zo = ({
|
|
6474
6474
|
render: t
|
|
6475
|
-
}) =>
|
|
6475
|
+
}) => ge(t) ? t(Oe) : null, Pr = (t, e, o) => ({
|
|
6476
6476
|
ZTableV2RenderTable: () => t.config.enableVirtualScroll ? f(Vr, {
|
|
6477
6477
|
emit: e,
|
|
6478
6478
|
key: t.resetWidthKey,
|
|
@@ -6490,7 +6490,7 @@ const qt = (t) => {
|
|
|
6490
6490
|
function Ho(t) {
|
|
6491
6491
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Mt(t);
|
|
6492
6492
|
}
|
|
6493
|
-
const
|
|
6493
|
+
const Or = /* @__PURE__ */ O({
|
|
6494
6494
|
name: "CustomColumnContent",
|
|
6495
6495
|
__name: "CustomColumnContent",
|
|
6496
6496
|
props: {
|
|
@@ -6502,7 +6502,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6502
6502
|
const {
|
|
6503
6503
|
groupName: a,
|
|
6504
6504
|
anchorId: s
|
|
6505
|
-
} =
|
|
6505
|
+
} = Be(o), u = t.zTableV2CustomColumnBuilder.allCustomColumns.filter((p) => p.props.prop && t.zTableV2CustomColumnBuilder.getColumnDefaultClassifyName(p) === a), r = R(() => new Map(t.zTableV2CustomColumnBuilder.activeGroupSelectedColumns.map((p) => [p.prop, p]))), l = R(() => {
|
|
6506
6506
|
const p = u.filter((C) => r.value.has(C.props.prop)).length;
|
|
6507
6507
|
return p > 0 && p < u.length;
|
|
6508
6508
|
}), i = R({
|
|
@@ -6510,11 +6510,11 @@ const zr = /* @__PURE__ */ z({
|
|
|
6510
6510
|
return u.every((p) => r.value.has(p.props.prop));
|
|
6511
6511
|
},
|
|
6512
6512
|
set(p) {
|
|
6513
|
-
const C = new Map(u.map((
|
|
6514
|
-
t.zTableV2CustomColumnBuilder.activeGroup && (l.value ? t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((
|
|
6515
|
-
C.has(
|
|
6516
|
-
}) : t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((
|
|
6517
|
-
C.has(
|
|
6513
|
+
const C = new Map(u.map((h) => [h.props.prop, h]));
|
|
6514
|
+
t.zTableV2CustomColumnBuilder.activeGroup && (l.value ? t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((h) => {
|
|
6515
|
+
C.has(h.prop) && !h.checked && !h.readonly && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(h.prop, !0);
|
|
6516
|
+
}) : t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((h) => {
|
|
6517
|
+
C.has(h.prop) && !h.readonly && h.checked !== p && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(h.prop, p);
|
|
6518
6518
|
}));
|
|
6519
6519
|
}
|
|
6520
6520
|
}), c = (p, C) => {
|
|
@@ -6555,7 +6555,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6555
6555
|
"anchor-id": a.anchorId
|
|
6556
6556
|
}, null, 8, ["group-name", "anchor-id"]))), 128))]));
|
|
6557
6557
|
}
|
|
6558
|
-
}),
|
|
6558
|
+
}), zr = /* @__PURE__ */ $(Or, [["__scopeId", "data-v-31cf1370"]]), Hr = {
|
|
6559
6559
|
class: "custom-column-selected__container"
|
|
6560
6560
|
}, Ur = {
|
|
6561
6561
|
class: "custom-column__title"
|
|
@@ -6565,7 +6565,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6565
6565
|
class: "custom-column-selected__fixed-container"
|
|
6566
6566
|
}, Wr = {
|
|
6567
6567
|
class: "custom-column-selected__normal-container"
|
|
6568
|
-
}, $r = /* @__PURE__ */
|
|
6568
|
+
}, $r = /* @__PURE__ */ O({
|
|
6569
6569
|
name: "CustomColumnSelected",
|
|
6570
6570
|
__name: "CustomColumnSelected",
|
|
6571
6571
|
props: {
|
|
@@ -6599,7 +6599,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6599
6599
|
column: i,
|
|
6600
6600
|
fixed: c,
|
|
6601
6601
|
className: p
|
|
6602
|
-
} =
|
|
6602
|
+
} = Be(l);
|
|
6603
6603
|
return f("div", {
|
|
6604
6604
|
class: `custom-column-selected__column-item ${p}`
|
|
6605
6605
|
}, [f("img", {
|
|
@@ -6654,7 +6654,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6654
6654
|
_: 1
|
|
6655
6655
|
}, 8, ["modelValue"])])])]));
|
|
6656
6656
|
}
|
|
6657
|
-
}), jr = /* @__PURE__ */
|
|
6657
|
+
}), jr = /* @__PURE__ */ $($r, [["__scopeId", "data-v-18cde1a2"]]), Yr = { class: "custom-column-body__container" }, Kr = { class: "custom-column__left" }, Xr = { class: "custom-column__left-bottom" }, qr = { class: "custom-column__anchor" }, Jr = ["onClick"], ei = { class: "custom-column__right" }, ti = /* @__PURE__ */ O({
|
|
6658
6658
|
name: "CustomColumnBody",
|
|
6659
6659
|
__name: "CustomColumnBody",
|
|
6660
6660
|
props: {
|
|
@@ -6685,7 +6685,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6685
6685
|
onScroll: s[0] || (s[0] = //@ts-ignore
|
|
6686
6686
|
(...u) => d(n) && d(n)(...u))
|
|
6687
6687
|
}, [
|
|
6688
|
-
f(
|
|
6688
|
+
f(zr, { "z-table-v2-custom-column-builder": a.zTableV2CustomColumnBuilder }, null, 8, ["z-table-v2-custom-column-builder"])
|
|
6689
6689
|
], 32)
|
|
6690
6690
|
])
|
|
6691
6691
|
]),
|
|
@@ -6694,10 +6694,10 @@ const zr = /* @__PURE__ */ z({
|
|
|
6694
6694
|
])
|
|
6695
6695
|
]));
|
|
6696
6696
|
}
|
|
6697
|
-
}), oi = /* @__PURE__ */
|
|
6697
|
+
}), oi = /* @__PURE__ */ $(ti, [["__scopeId", "data-v-d1280b78"]]), ni = { class: "z-table-v2-custom-column-group-item__popover-footer" }, ai = /* @__PURE__ */ O({
|
|
6698
6698
|
name: "CustomColumnHeaderOperation",
|
|
6699
6699
|
__name: "CustomColumnHeaderOperation",
|
|
6700
|
-
props: /* @__PURE__ */
|
|
6700
|
+
props: /* @__PURE__ */ he({
|
|
6701
6701
|
zTableV2CustomColumnBuilder: {}
|
|
6702
6702
|
}, {
|
|
6703
6703
|
modelValue: {
|
|
@@ -6711,18 +6711,18 @@ const zr = /* @__PURE__ */ z({
|
|
|
6711
6711
|
const e = Ge(t, "modelValue"), o = N(e.value), n = N(), a = () => {
|
|
6712
6712
|
n.value?.hide();
|
|
6713
6713
|
}, s = N(), u = async () => {
|
|
6714
|
-
await
|
|
6714
|
+
await W(), s.value?.focus();
|
|
6715
6715
|
}, r = () => {
|
|
6716
6716
|
if (!o.value)
|
|
6717
|
-
return
|
|
6717
|
+
return Ie("名称不能为空");
|
|
6718
6718
|
if (t.zTableV2CustomColumnBuilder.groupNameSome(o.value))
|
|
6719
|
-
return
|
|
6719
|
+
return Ie("名称不能重复");
|
|
6720
6720
|
t.zTableV2CustomColumnBuilder.updateGroupName(o.value, e.value), a();
|
|
6721
6721
|
};
|
|
6722
6722
|
return (l, i) => {
|
|
6723
|
-
const c = E("el-icon"), p = E("el-input"), C = E("el-button"),
|
|
6723
|
+
const c = E("el-icon"), p = E("el-input"), C = E("el-button"), h = E("el-popover");
|
|
6724
6724
|
return m(), y(Z, null, [
|
|
6725
|
-
f(
|
|
6725
|
+
f(h, {
|
|
6726
6726
|
ref_key: "popoverRef",
|
|
6727
6727
|
ref: n,
|
|
6728
6728
|
width: "240px",
|
|
@@ -6781,7 +6781,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6781
6781
|
], 64);
|
|
6782
6782
|
};
|
|
6783
6783
|
}
|
|
6784
|
-
}), si = { class: "custom-column-header__container" }, ui = ["onClick"], li = /* @__PURE__ */
|
|
6784
|
+
}), si = { class: "custom-column-header__container" }, ui = ["onClick"], li = /* @__PURE__ */ O({
|
|
6785
6785
|
name: "CustomColumnHeader",
|
|
6786
6786
|
__name: "CustomColumnHeader",
|
|
6787
6787
|
props: {
|
|
@@ -6825,17 +6825,17 @@ const zr = /* @__PURE__ */ z({
|
|
|
6825
6825
|
]);
|
|
6826
6826
|
};
|
|
6827
6827
|
}
|
|
6828
|
-
}), ri = /* @__PURE__ */
|
|
6828
|
+
}), ri = /* @__PURE__ */ $(li, [["__scopeId", "data-v-f8b0c547"]]), ii = { class: "custom-column-search__container" }, ci = { class: "search-input" }, di = {
|
|
6829
6829
|
key: 0,
|
|
6830
6830
|
class: "search_result"
|
|
6831
|
-
}, pi = { class: "select-item__label" }, mi = /* @__PURE__ */
|
|
6831
|
+
}, pi = { class: "select-item__label" }, mi = /* @__PURE__ */ O({
|
|
6832
6832
|
name: "CustomColumnsSearch",
|
|
6833
6833
|
__name: "CustomColumnsSearch",
|
|
6834
6834
|
props: {
|
|
6835
6835
|
zTableV2CustomColumnBuilder: {}
|
|
6836
6836
|
},
|
|
6837
6837
|
setup(t) {
|
|
6838
|
-
|
|
6838
|
+
Ee((i) => ({
|
|
6839
6839
|
"418d063a": d(l)
|
|
6840
6840
|
}));
|
|
6841
6841
|
const { keywords: e, searchInputRef: o } = ro(), n = N([]), a = () => {
|
|
@@ -6846,14 +6846,14 @@ const zr = /* @__PURE__ */ z({
|
|
|
6846
6846
|
t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(i.props.prop, c);
|
|
6847
6847
|
}, { nextZIndex: r } = so(), l = r();
|
|
6848
6848
|
return (i, c) => {
|
|
6849
|
-
const p = E("ZEmpty"), C = E("el-checkbox"),
|
|
6849
|
+
const p = E("ZEmpty"), C = E("el-checkbox"), h = E("el-col"), D = E("el-row"), g = te("ellipsis");
|
|
6850
6850
|
return m(), y("div", ii, [
|
|
6851
6851
|
V("div", ci, [
|
|
6852
6852
|
f(d(Pt), {
|
|
6853
6853
|
ref_key: "searchInputRef",
|
|
6854
6854
|
ref: o,
|
|
6855
6855
|
modelValue: d(e),
|
|
6856
|
-
"onUpdate:modelValue": c[0] || (c[0] = (A) =>
|
|
6856
|
+
"onUpdate:modelValue": c[0] || (c[0] = (A) => Fe(e) ? e.value = A : null),
|
|
6857
6857
|
clearable: "",
|
|
6858
6858
|
placeholder: "可搜索列名称",
|
|
6859
6859
|
onInput: a
|
|
@@ -6870,7 +6870,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6870
6870
|
class: "custom-column-group-content__group-item-columns"
|
|
6871
6871
|
}, {
|
|
6872
6872
|
default: F(() => [
|
|
6873
|
-
(m(!0), y(Z, null, Y(n.value, (A) => (m(), G(
|
|
6873
|
+
(m(!0), y(Z, null, Y(n.value, (A) => (m(), G(h, {
|
|
6874
6874
|
key: A.prop,
|
|
6875
6875
|
span: 8
|
|
6876
6876
|
}, {
|
|
@@ -6884,7 +6884,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6884
6884
|
J((m(), y("div", pi, [
|
|
6885
6885
|
Q(X(A.label), 1)
|
|
6886
6886
|
])), [
|
|
6887
|
-
[
|
|
6887
|
+
[g]
|
|
6888
6888
|
])
|
|
6889
6889
|
]),
|
|
6890
6890
|
_: 2
|
|
@@ -6899,7 +6899,7 @@ const zr = /* @__PURE__ */ z({
|
|
|
6899
6899
|
]);
|
|
6900
6900
|
};
|
|
6901
6901
|
}
|
|
6902
|
-
}), Di = /* @__PURE__ */
|
|
6902
|
+
}), Di = /* @__PURE__ */ $(mi, [["__scopeId", "data-v-f7b011c1"]]);
|
|
6903
6903
|
class Jt {
|
|
6904
6904
|
columns;
|
|
6905
6905
|
groupName;
|
|
@@ -7038,7 +7038,7 @@ class $n {
|
|
|
7038
7038
|
}
|
|
7039
7039
|
validate() {
|
|
7040
7040
|
const e = this.groups.find((o) => !o.columns.some((n) => n.checked));
|
|
7041
|
-
return e ? (
|
|
7041
|
+
return e ? (Ie(`${e.groupName} 必须要选一个列`), this.updateActiveGroup(e.groupName), !1) : !0;
|
|
7042
7042
|
}
|
|
7043
7043
|
build() {
|
|
7044
7044
|
const e = {
|
|
@@ -7068,17 +7068,17 @@ class $n {
|
|
|
7068
7068
|
}
|
|
7069
7069
|
}
|
|
7070
7070
|
}
|
|
7071
|
-
const fi = { class: "custom-column__container" },
|
|
7071
|
+
const fi = { class: "custom-column__container" }, hi = /* @__PURE__ */ O({
|
|
7072
7072
|
name: "EditZTableV2CustomColumn",
|
|
7073
7073
|
__name: "index",
|
|
7074
|
-
props: /* @__PURE__ */
|
|
7074
|
+
props: /* @__PURE__ */ he({
|
|
7075
7075
|
groupName: { default: "" },
|
|
7076
7076
|
tableBuilder: {}
|
|
7077
7077
|
}, {
|
|
7078
7078
|
modelValue: { type: Boolean, type: Boolean, default: !1 },
|
|
7079
7079
|
modelModifiers: {}
|
|
7080
7080
|
}),
|
|
7081
|
-
emits: /* @__PURE__ */
|
|
7081
|
+
emits: /* @__PURE__ */ he(["dialog:cancel", "dialog:confirm"], ["update:modelValue"]),
|
|
7082
7082
|
setup(t, { emit: e }) {
|
|
7083
7083
|
const o = Ge(t, "modelValue"), n = e, a = N(
|
|
7084
7084
|
new $n(t.tableBuilder)
|
|
@@ -7095,7 +7095,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7095
7095
|
});
|
|
7096
7096
|
};
|
|
7097
7097
|
return (p, C) => {
|
|
7098
|
-
const
|
|
7098
|
+
const h = E("el-button"), D = E("el-dialog"), g = te("loading");
|
|
7099
7099
|
return m(), G(D, {
|
|
7100
7100
|
modelValue: o.value,
|
|
7101
7101
|
"onUpdate:modelValue": C[0] || (C[0] = (A) => o.value = A),
|
|
@@ -7106,7 +7106,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7106
7106
|
"close-on-press-escape": !1
|
|
7107
7107
|
}, {
|
|
7108
7108
|
footer: F(() => [
|
|
7109
|
-
f(
|
|
7109
|
+
f(h, {
|
|
7110
7110
|
loading: d(l),
|
|
7111
7111
|
onClick: r
|
|
7112
7112
|
}, {
|
|
@@ -7115,7 +7115,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7115
7115
|
])]),
|
|
7116
7116
|
_: 1
|
|
7117
7117
|
}, 8, ["loading"]),
|
|
7118
|
-
f(
|
|
7118
|
+
f(h, {
|
|
7119
7119
|
loading: d(l),
|
|
7120
7120
|
type: "primary",
|
|
7121
7121
|
onClick: c
|
|
@@ -7132,16 +7132,16 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7132
7132
|
f(Di, { "z-table-v2-custom-column-builder": a.value }, null, 8, ["z-table-v2-custom-column-builder"]),
|
|
7133
7133
|
f(oi, { "z-table-v2-custom-column-builder": a.value }, null, 8, ["z-table-v2-custom-column-builder"])
|
|
7134
7134
|
])), [
|
|
7135
|
-
[
|
|
7135
|
+
[g, d(s)]
|
|
7136
7136
|
])
|
|
7137
7137
|
]),
|
|
7138
7138
|
_: 1
|
|
7139
7139
|
}, 8, ["modelValue"]);
|
|
7140
7140
|
};
|
|
7141
7141
|
}
|
|
7142
|
-
}),
|
|
7142
|
+
}), gi = {
|
|
7143
7143
|
class: "z-table-v2-custom-column__item-name"
|
|
7144
|
-
}, Ci = /* @__PURE__ */
|
|
7144
|
+
}, Ci = /* @__PURE__ */ O({
|
|
7145
7145
|
name: "ZTableV2CustomColumnButton",
|
|
7146
7146
|
__name: "button",
|
|
7147
7147
|
props: {
|
|
@@ -7151,7 +7151,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7151
7151
|
const {
|
|
7152
7152
|
openDialog: e
|
|
7153
7153
|
} = Pn(), o = (a) => {
|
|
7154
|
-
e(
|
|
7154
|
+
e(hi, {
|
|
7155
7155
|
tableBuilder: t.tableBuilder,
|
|
7156
7156
|
groupName: a
|
|
7157
7157
|
}).then(({
|
|
@@ -7181,7 +7181,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7181
7181
|
}]),
|
|
7182
7182
|
onClick: fe((C) => n(p.groupName), ["stop"])
|
|
7183
7183
|
}, {
|
|
7184
|
-
default: F(() => [J((m(), y("div",
|
|
7184
|
+
default: F(() => [J((m(), y("div", gi, [Q(X(p.groupName), 1)])), [[c]]), f(u, {
|
|
7185
7185
|
class: "z-table-v2-custom-column__edit-icon",
|
|
7186
7186
|
onClick: fe((C) => o(p.groupName), ["stop"])
|
|
7187
7187
|
}, {
|
|
@@ -7437,7 +7437,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7437
7437
|
Et(k) || Et(S) || k === S || (a = { oldIndex: k, newIndex: S });
|
|
7438
7438
|
}, u = (T) => {
|
|
7439
7439
|
const { oldIndex: k, newIndex: S } = T;
|
|
7440
|
-
!
|
|
7440
|
+
!Te(S) && !Te(k) && (a = { oldIndex: k, newIndex: S }, t.triggerEvent("drag-change", { oldIndex: k, newIndex: S }, t.data));
|
|
7441
7441
|
}, r = (T) => {
|
|
7442
7442
|
if (t.updateTableData(T), a) {
|
|
7443
7443
|
const { oldIndex: k, newIndex: S } = a;
|
|
@@ -7450,19 +7450,19 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7450
7450
|
}, c = (T) => {
|
|
7451
7451
|
const { rowKey: k = "id" } = t.config;
|
|
7452
7452
|
return typeof k == "function" ? k(T) : Reflect.get(T, k);
|
|
7453
|
-
}, p = N(), { onResize: C } = fo(),
|
|
7453
|
+
}, p = N(), { onResize: C } = fo(), h = N("");
|
|
7454
7454
|
C(
|
|
7455
7455
|
() => e.value,
|
|
7456
7456
|
() => {
|
|
7457
7457
|
if (e.value) {
|
|
7458
7458
|
const { width: T } = e.value.getBoundingClientRect(), { paddingLeft: k = 0, paddingRight: S = 0 } = getComputedStyle(e.value);
|
|
7459
|
-
|
|
7459
|
+
h.value = `${T - _o(k) - _o(S)}px`;
|
|
7460
7460
|
}
|
|
7461
7461
|
}
|
|
7462
7462
|
);
|
|
7463
|
-
const D = N(), { start:
|
|
7463
|
+
const D = N(), { start: g, updateFirstRow: A, stopSticky: b } = Un(), v = N(!1);
|
|
7464
7464
|
t.registerEvent("init", async () => {
|
|
7465
|
-
v.value = !0, await
|
|
7465
|
+
v.value = !0, await W(), n.value.stickyHeader && !n.value.enableVirtualScroll && (b(), await W(), g({
|
|
7466
7466
|
baseTableOperationElement: p,
|
|
7467
7467
|
baseTableRef: t.rawElTableInstance,
|
|
7468
7468
|
stickyTriggerSelector: t.config.stickyTriggerSelector,
|
|
@@ -7470,7 +7470,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7470
7470
|
}));
|
|
7471
7471
|
}), t.registerEvent("el-table:init", async () => {
|
|
7472
7472
|
}), t.registerEvent("loaded", async () => {
|
|
7473
|
-
n.value.stickyHeader && n.value.stickyFirstRow && !n.value.enableVirtualScroll && (await
|
|
7473
|
+
n.value.stickyHeader && n.value.stickyFirstRow && !n.value.enableVirtualScroll && (await W(), await A());
|
|
7474
7474
|
});
|
|
7475
7475
|
const w = N("");
|
|
7476
7476
|
return C(
|
|
@@ -7491,7 +7491,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7491
7491
|
updateCurrentPage: l,
|
|
7492
7492
|
updatePageSize: i,
|
|
7493
7493
|
getRowKey: c,
|
|
7494
|
-
paginationWidth:
|
|
7494
|
+
paginationWidth: h,
|
|
7495
7495
|
zTableV2OperationElement: p,
|
|
7496
7496
|
zTableV2BodyRef: D,
|
|
7497
7497
|
isInitialized: v,
|
|
@@ -7506,7 +7506,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7506
7506
|
}, Ei = {
|
|
7507
7507
|
class: "z-table-v2__loading-content",
|
|
7508
7508
|
"element-loading-text": "加载中..."
|
|
7509
|
-
}, Bi = /* @__PURE__ */
|
|
7509
|
+
}, Bi = /* @__PURE__ */ O({
|
|
7510
7510
|
name: "ZTableV2",
|
|
7511
7511
|
__name: "index",
|
|
7512
7512
|
props: {
|
|
@@ -7514,7 +7514,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7514
7514
|
},
|
|
7515
7515
|
emits: [...to],
|
|
7516
7516
|
setup(t, { emit: e }) {
|
|
7517
|
-
|
|
7517
|
+
Ee((v) => ({
|
|
7518
7518
|
ee709ca4: d(A),
|
|
7519
7519
|
"7ed26d18": d(C)
|
|
7520
7520
|
}));
|
|
@@ -7528,9 +7528,9 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7528
7528
|
updatePageSize: c,
|
|
7529
7529
|
getPaginationProps: p,
|
|
7530
7530
|
paginationWidth: C,
|
|
7531
|
-
zTableV2OperationElement:
|
|
7531
|
+
zTableV2OperationElement: h,
|
|
7532
7532
|
zTableV2BodyRef: D,
|
|
7533
|
-
isInitialized:
|
|
7533
|
+
isInitialized: g,
|
|
7534
7534
|
tableScrollLeft: A
|
|
7535
7535
|
} = Ai(t.tableBuilder), { ZTableV2RenderTable: b } = Pr(t.tableBuilder, o, n);
|
|
7536
7536
|
return (v, w) => {
|
|
@@ -7543,11 +7543,11 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7543
7543
|
{ "no-padding": d(s).hideContainerPadding, "is-full-height": d(s).isFullHeight }
|
|
7544
7544
|
])
|
|
7545
7545
|
}, [
|
|
7546
|
-
d(
|
|
7546
|
+
d(g) ? (m(), y(Z, { key: 0 }, [
|
|
7547
7547
|
d(s).hideTableWorkHeader ? P("", !0) : (m(), y("div", {
|
|
7548
7548
|
key: 0,
|
|
7549
7549
|
ref_key: "zTableV2OperationElement",
|
|
7550
|
-
ref:
|
|
7550
|
+
ref: h,
|
|
7551
7551
|
class: "z-table-v2__work-header"
|
|
7552
7552
|
}, [
|
|
7553
7553
|
v.tableBuilder.selectList.length ? (m(), y("div", {
|
|
@@ -7657,17 +7657,17 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7657
7657
|
total: v.tableBuilder.pagination.total,
|
|
7658
7658
|
"onUpdate:currentPage": d(i),
|
|
7659
7659
|
"onUpdate:pageSize": d(c)
|
|
7660
|
-
},
|
|
7660
|
+
}, Ce(v.tableBuilder.getPaginationEvents(o)), {
|
|
7661
7661
|
onChange: w[3] || (w[3] = () => !v.tableBuilder.loading && v.tableBuilder.refresh())
|
|
7662
7662
|
}), null, 16, ["current-page", "page-size", "total", "onUpdate:currentPage", "onUpdate:pageSize"])
|
|
7663
7663
|
], 2)) : P("", !0)
|
|
7664
7664
|
], 64)) : P("", !0)
|
|
7665
7665
|
], 2)), [
|
|
7666
|
-
[S, !d(
|
|
7666
|
+
[S, !d(g)]
|
|
7667
7667
|
]);
|
|
7668
7668
|
};
|
|
7669
7669
|
}
|
|
7670
|
-
}), wi = /* @__PURE__ */
|
|
7670
|
+
}), wi = /* @__PURE__ */ $(Bi, [["__scopeId", "data-v-4b7f4d1b"]]), Si = me(wi, "ZTableV2"), Ti = { class: "z-tips-form-item__container" }, ki = /* @__PURE__ */ O({
|
|
7671
7671
|
name: "ZTipsFormItem",
|
|
7672
7672
|
__name: "index",
|
|
7673
7673
|
props: {
|
|
@@ -7735,10 +7735,10 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7735
7735
|
}, 8, ["prop"]);
|
|
7736
7736
|
};
|
|
7737
7737
|
}
|
|
7738
|
-
}), Ii = /* @__PURE__ */
|
|
7738
|
+
}), Ii = /* @__PURE__ */ $(ki, [["__scopeId", "data-v-af10c35f"]]), Gi = me(Ii, "ZTipsFormItem"), xi = {
|
|
7739
7739
|
key: 0,
|
|
7740
7740
|
class: "z-transition-fade-height__container"
|
|
7741
|
-
}, Ri = /* @__PURE__ */
|
|
7741
|
+
}, Ri = /* @__PURE__ */ O({
|
|
7742
7742
|
name: "ZTransitionFadeHeight",
|
|
7743
7743
|
__name: "index",
|
|
7744
7744
|
props: {
|
|
@@ -7761,7 +7761,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7761
7761
|
});
|
|
7762
7762
|
}, u = (l) => {
|
|
7763
7763
|
l.style.maxHeight = "", l.style.opacity = "";
|
|
7764
|
-
}, r = R(() => !
|
|
7764
|
+
}, r = R(() => !Te(t.visible));
|
|
7765
7765
|
return (l, i) => (m(), G(Xo, {
|
|
7766
7766
|
name: "z-transition-fade-height",
|
|
7767
7767
|
onBeforeEnter: e,
|
|
@@ -7779,7 +7779,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7779
7779
|
_: 3
|
|
7780
7780
|
}));
|
|
7781
7781
|
}
|
|
7782
|
-
}), Ni = /* @__PURE__ */
|
|
7782
|
+
}), Ni = /* @__PURE__ */ $(Ri, [["__scopeId", "data-v-4b01c394"]]), Vi = me(Ni, "ZTransitionFadeHeight"), Mi = /* @__PURE__ */ O({
|
|
7783
7783
|
name: "ZTransitionFadeSlide",
|
|
7784
7784
|
__name: "index",
|
|
7785
7785
|
props: {
|
|
@@ -7823,7 +7823,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7823
7823
|
_: 3
|
|
7824
7824
|
}));
|
|
7825
7825
|
}
|
|
7826
|
-
}), Pi = /* @__PURE__ */
|
|
7826
|
+
}), Pi = /* @__PURE__ */ $(Mi, [["__scopeId", "data-v-1849a3ff"]]), Li = me(Pi, "ZTransitionFadeSlide"), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7827
7827
|
__proto__: null,
|
|
7828
7828
|
ZAutoTooltip: xa,
|
|
7829
7829
|
ZCircleText: Va,
|
|
@@ -7855,21 +7855,21 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7855
7855
|
if (l) {
|
|
7856
7856
|
t.value = r.substring(0, s ?? 0) + a + r.substring(u ?? l);
|
|
7857
7857
|
const i = (s ?? 0) + a.length;
|
|
7858
|
-
|
|
7858
|
+
W().then(() => {
|
|
7859
7859
|
t.setSelectionRange(i, i);
|
|
7860
7860
|
});
|
|
7861
7861
|
} else
|
|
7862
7862
|
t.value = a;
|
|
7863
7863
|
Tt(t);
|
|
7864
7864
|
}
|
|
7865
|
-
},
|
|
7865
|
+
}, Oi = {
|
|
7866
7866
|
mounted(t) {
|
|
7867
7867
|
const e = async (n) => {
|
|
7868
7868
|
const a = n.target, s = a.selectionStart || -1, u = [];
|
|
7869
7869
|
let r = !1;
|
|
7870
7870
|
a.value = a.value.replace(/\s/g, (i, c) => (c < s && u.push(c), r = !0, ""));
|
|
7871
7871
|
const l = s - u.length;
|
|
7872
|
-
r && (Tt(a), await
|
|
7872
|
+
r && (Tt(a), await W()), a.setSelectionRange(l, l);
|
|
7873
7873
|
};
|
|
7874
7874
|
t._inputHandler = e, t.addEventListener("input", e);
|
|
7875
7875
|
const o = async (n) => {
|
|
@@ -7886,8 +7886,8 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7886
7886
|
if (!document.execCommand?.("insertText", !1, a)) {
|
|
7887
7887
|
if (c) {
|
|
7888
7888
|
s.setRangeText(p);
|
|
7889
|
-
const
|
|
7890
|
-
await
|
|
7889
|
+
const h = (u ?? 0) + a.length;
|
|
7890
|
+
await W(), s.setSelectionRange(h, h);
|
|
7891
7891
|
} else
|
|
7892
7892
|
s.value = a;
|
|
7893
7893
|
Tt(s);
|
|
@@ -7899,7 +7899,7 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7899
7899
|
unmounted(t) {
|
|
7900
7900
|
t._inputHandler && (t.removeEventListener("input", t._inputHandler), Reflect.deleteProperty(t, "_inputHandler")), t._pasteHandler && (t.removeEventListener("paste", t._pasteHandler), Reflect.deleteProperty(t, "_pasteHandler"));
|
|
7901
7901
|
}
|
|
7902
|
-
},
|
|
7902
|
+
}, zi = {
|
|
7903
7903
|
created(t) {
|
|
7904
7904
|
const e = t.querySelector(".el-input__wrapper > input") || t, o = (n) => {
|
|
7905
7905
|
Kn(e, n, (a) => a.trim());
|
|
@@ -7957,24 +7957,24 @@ const fi = { class: "custom-column__container" }, gi = /* @__PURE__ */ z({
|
|
|
7957
7957
|
});
|
|
7958
7958
|
}, Zi = {
|
|
7959
7959
|
install(t) {
|
|
7960
|
-
t.directive("ellipsis", Ui), t.directive("paste-trim",
|
|
7960
|
+
t.directive("ellipsis", Ui), t.directive("paste-trim", zi), t.directive("trim-emoji", Hi), t.directive("not-allow-blank", Oi);
|
|
7961
7961
|
}
|
|
7962
7962
|
}, Qi = {
|
|
7963
7963
|
injectDirective: !0
|
|
7964
7964
|
}, Wi = (t) => ({
|
|
7965
7965
|
...Qi,
|
|
7966
7966
|
...t ?? {}
|
|
7967
|
-
}), $i = "1.4.
|
|
7967
|
+
}), $i = "1.4.12", ji = {
|
|
7968
7968
|
version: $i
|
|
7969
7969
|
};
|
|
7970
|
-
function
|
|
7970
|
+
function Oc(t, e, o) {
|
|
7971
7971
|
if (st(t))
|
|
7972
7972
|
for (const [n, a] of Object.entries(t))
|
|
7973
7973
|
wt(n, a);
|
|
7974
7974
|
else
|
|
7975
7975
|
wt(t, { component: o, defaultPraseStrategy: e });
|
|
7976
7976
|
}
|
|
7977
|
-
function
|
|
7977
|
+
function zc(t) {
|
|
7978
7978
|
return vn(t);
|
|
7979
7979
|
}
|
|
7980
7980
|
const Yi = (t, e) => {
|
|
@@ -7982,7 +7982,7 @@ const Yi = (t, e) => {
|
|
|
7982
7982
|
const { defaultChecked: u, ...r } = s;
|
|
7983
7983
|
return {
|
|
7984
7984
|
...r,
|
|
7985
|
-
defaultChecked:
|
|
7985
|
+
defaultChecked: Te(u) ? e?.defaultCheckedAll : u
|
|
7986
7986
|
};
|
|
7987
7987
|
}), n = new Bn(o, e), a = N(n);
|
|
7988
7988
|
return o?.length && a.value.setBaseColumnsGetter(() => pe(o)), e?.baseTableRef && a.value.onChange(() => {
|
|
@@ -8042,7 +8042,7 @@ const Xi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAMAAADWg4HyAA
|
|
|
8042
8042
|
width: "16",
|
|
8043
8043
|
height: "16",
|
|
8044
8044
|
style: { cursor: "pointer" }
|
|
8045
|
-
}, Xn = /* @__PURE__ */
|
|
8045
|
+
}, Xn = /* @__PURE__ */ O({
|
|
8046
8046
|
name: "ZQuestionIcon",
|
|
8047
8047
|
__name: "index",
|
|
8048
8048
|
setup(t) {
|
|
@@ -8176,10 +8176,11 @@ const Xi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAMAAADWg4HyAA
|
|
|
8176
8176
|
}, qc = (t) => {
|
|
8177
8177
|
const {
|
|
8178
8178
|
modelValue: e
|
|
8179
|
-
} =
|
|
8179
|
+
} = Be(t);
|
|
8180
8180
|
return e ? J(f("div", null, [e]), [[te("ellipsis"), {
|
|
8181
8181
|
rawContent: !0,
|
|
8182
|
-
preWrap: !0
|
|
8182
|
+
preWrap: !0,
|
|
8183
|
+
tipWidth: t.tipWidth || "300px"
|
|
8183
8184
|
}]]) : at;
|
|
8184
8185
|
}, nc = [
|
|
8185
8186
|
"align",
|
|
@@ -8206,13 +8207,13 @@ class Wo {
|
|
|
8206
8207
|
*/
|
|
8207
8208
|
props;
|
|
8208
8209
|
constructor(e) {
|
|
8209
|
-
e.tips && !e.headerRender && !e.renderHeader && (e.headerRender = ec(e.tips)), e.prop && e.showCopyButton && !e.contentRender && !e._render && (e.contentRender = oc(e.prop)), this.props = e;
|
|
8210
|
+
e.tips && !e.headerRender && !e.renderHeader && (e.headerRender = ec(e.tips)), e.prop && e.showCopyButton && !e.contentRender && !e._render && (e.contentRender = oc(e.prop), e.showOverflowTooltip = !1), this.props = e;
|
|
8210
8211
|
}
|
|
8211
8212
|
/**
|
|
8212
8213
|
* 是否隐藏当前列
|
|
8213
8214
|
*/
|
|
8214
8215
|
get isHidden() {
|
|
8215
|
-
return !!(
|
|
8216
|
+
return !!(ge(this.props.hidden) ? this.props.hidden(this.props) : this.props.hidden);
|
|
8216
8217
|
}
|
|
8217
8218
|
get prop() {
|
|
8218
8219
|
return this.props.prop;
|
|
@@ -8227,7 +8228,7 @@ class Wo {
|
|
|
8227
8228
|
* 获取列的属性
|
|
8228
8229
|
*/
|
|
8229
8230
|
get tableColumnAttrs() {
|
|
8230
|
-
return
|
|
8231
|
+
return ze(this.props, [
|
|
8231
8232
|
"contentRender",
|
|
8232
8233
|
"renderToOptions",
|
|
8233
8234
|
"headerRender",
|
|
@@ -8314,7 +8315,7 @@ class uc {
|
|
|
8314
8315
|
* @description 使用 omit 去除一些自定义的参数。
|
|
8315
8316
|
*/
|
|
8316
8317
|
get elTableAttrs() {
|
|
8317
|
-
return
|
|
8318
|
+
return ze(this.config, [
|
|
8318
8319
|
"columns",
|
|
8319
8320
|
"tableData",
|
|
8320
8321
|
"loadMethod",
|
|
@@ -8464,7 +8465,7 @@ class rc {
|
|
|
8464
8465
|
*/
|
|
8465
8466
|
pagination;
|
|
8466
8467
|
get transmitPagination() {
|
|
8467
|
-
return
|
|
8468
|
+
return ze(this.pagination, "total");
|
|
8468
8469
|
}
|
|
8469
8470
|
/**
|
|
8470
8471
|
* 如果没有设置 loadMethods,则会启动一个 effect 自动从 tableData 中获取数据。
|
|
@@ -8481,7 +8482,7 @@ class rc {
|
|
|
8481
8482
|
current: 1,
|
|
8482
8483
|
size: this.tableBuilder.config.paginationProps?.pageSize || De.zTableV2SharedConfig.paginationProps?.pageSize || 20,
|
|
8483
8484
|
total: 0
|
|
8484
|
-
};
|
|
8485
|
+
}, this.setupTableDataEffect();
|
|
8485
8486
|
}
|
|
8486
8487
|
/**
|
|
8487
8488
|
* 更新数据
|
|
@@ -8505,6 +8506,23 @@ class rc {
|
|
|
8505
8506
|
updatePagination(e) {
|
|
8506
8507
|
return je(this.pagination, e), this.pagination;
|
|
8507
8508
|
}
|
|
8509
|
+
/**
|
|
8510
|
+
* 在未配置 loadMethod 时,自动同步外部传入的 tableData
|
|
8511
|
+
*/
|
|
8512
|
+
setupTableDataEffect() {
|
|
8513
|
+
if (ge(this.tableBuilder.config.loadMethod)) {
|
|
8514
|
+
this.stopEffect?.(), this.stopEffect = void 0;
|
|
8515
|
+
return;
|
|
8516
|
+
}
|
|
8517
|
+
const { tableData: e } = this.tableBuilder.config;
|
|
8518
|
+
if (!Fe(e)) {
|
|
8519
|
+
this.stopEffect?.(), this.stopEffect = void 0, this.update(d(e) || []);
|
|
8520
|
+
return;
|
|
8521
|
+
}
|
|
8522
|
+
this.stopEffect || (this.stopEffect = pt(() => {
|
|
8523
|
+
this.update(d(e) || []);
|
|
8524
|
+
}));
|
|
8525
|
+
}
|
|
8508
8526
|
/**
|
|
8509
8527
|
* 加载数据
|
|
8510
8528
|
* @param pagination
|
|
@@ -8514,8 +8532,8 @@ class rc {
|
|
|
8514
8532
|
this.loading = !0;
|
|
8515
8533
|
try {
|
|
8516
8534
|
const o = this.tableBuilder.config.loadMethod;
|
|
8517
|
-
if (
|
|
8518
|
-
const { data: n, total: a, records: s, count: u } = await o(
|
|
8535
|
+
if (ge(o)) {
|
|
8536
|
+
const { data: n, total: a, records: s, count: u } = await o(ze(e, "total")) ?? {}, r = n || s || [], l = Number(a || u || 0), i = !l || isNaN(l);
|
|
8519
8537
|
if (!r.length && e.current > 1 && !i) {
|
|
8520
8538
|
const c = Math.ceil(l / e.size);
|
|
8521
8539
|
if (e.current > c)
|
|
@@ -8525,11 +8543,9 @@ class rc {
|
|
|
8525
8543
|
}
|
|
8526
8544
|
this.update(r), this.updatePagination({
|
|
8527
8545
|
total: i ? 0 : l
|
|
8528
|
-
}), await
|
|
8546
|
+
}), await W(), this.tableBuilder.triggerEvent("loaded");
|
|
8529
8547
|
} else
|
|
8530
|
-
this.
|
|
8531
|
-
this.update(this.tableBuilder.config.tableData || []);
|
|
8532
|
-
});
|
|
8548
|
+
this.setupTableDataEffect();
|
|
8533
8549
|
} finally {
|
|
8534
8550
|
this.loading = !1;
|
|
8535
8551
|
}
|
|
@@ -8820,7 +8836,7 @@ class cc {
|
|
|
8820
8836
|
async init(e, o) {
|
|
8821
8837
|
if (!Array.isArray(e))
|
|
8822
8838
|
throw new Error("columns must be an array.");
|
|
8823
|
-
this.tableConfigManager.init(o), this.tableColumnManager.init(e, this.tableConfigManager.config), this.tableDataStore.init(this), await this.tableCustomColumnManager.init(this), await
|
|
8839
|
+
this.tableConfigManager.init(o), this.tableColumnManager.init(e, this.tableConfigManager.config), this.tableDataStore.init(this), await this.tableCustomColumnManager.init(this), await W(), this.tableEventManager.trigger("init");
|
|
8824
8840
|
}
|
|
8825
8841
|
/**
|
|
8826
8842
|
* 初始化表格实例
|
|
@@ -8904,7 +8920,7 @@ class cc {
|
|
|
8904
8920
|
* destroy
|
|
8905
8921
|
*/
|
|
8906
8922
|
destroy() {
|
|
8907
|
-
this.tableEventManager.destroy();
|
|
8923
|
+
this.tableDataStore.destroy(), this.tableEventManager.destroy();
|
|
8908
8924
|
}
|
|
8909
8925
|
}
|
|
8910
8926
|
const dc = (t, e) => {
|
|
@@ -8958,7 +8974,7 @@ const dc = (t, e) => {
|
|
|
8958
8974
|
export {
|
|
8959
8975
|
Tc as $alert,
|
|
8960
8976
|
du as $confirm,
|
|
8961
|
-
|
|
8977
|
+
Ie as $error,
|
|
8962
8978
|
yn as $loadingConfirm,
|
|
8963
8979
|
bn as $success,
|
|
8964
8980
|
Sc as $warning,
|
|
@@ -8974,8 +8990,8 @@ export {
|
|
|
8974
8990
|
vs as BaseSelect,
|
|
8975
8991
|
tc as CopyButtonFunctionalComponent,
|
|
8976
8992
|
Zs as DATE_SHORTCUTS,
|
|
8977
|
-
|
|
8978
|
-
|
|
8993
|
+
gt as DEFAULT_FORMAT,
|
|
8994
|
+
Se as DEFAULT_GROUP_CHECKED_ID,
|
|
8979
8995
|
mo as DEFAULT_GROUP_NAME,
|
|
8980
8996
|
Go as DEFAULT_PAGINATION_PROPS,
|
|
8981
8997
|
Kc as DynamicTableCellButtons,
|
|
@@ -8997,7 +9013,7 @@ export {
|
|
|
8997
9013
|
Xc as TableHeaderTooltip,
|
|
8998
9014
|
Pc as UseDialogError,
|
|
8999
9015
|
Yc as UserAndTimeTableCell,
|
|
9000
|
-
|
|
9016
|
+
Oi as VNotAllowBlank,
|
|
9001
9017
|
xa as ZAutoTooltip,
|
|
9002
9018
|
Va as ZCircleText,
|
|
9003
9019
|
Ha as ZClassifyTitle,
|
|
@@ -9030,12 +9046,12 @@ export {
|
|
|
9030
9046
|
vn as createBaseFormItem,
|
|
9031
9047
|
In as createBaseTableColumn,
|
|
9032
9048
|
xc as createBaseTableColumns,
|
|
9033
|
-
|
|
9049
|
+
zc as createCustomFormItem,
|
|
9034
9050
|
Nc as createSortColumn,
|
|
9035
9051
|
co as createUUID,
|
|
9036
9052
|
Gc as createZTableV2SortColumn,
|
|
9037
9053
|
td as default,
|
|
9038
|
-
|
|
9054
|
+
Oc as defineCustomFormComponent,
|
|
9039
9055
|
jc as downloadUrlToLink,
|
|
9040
9056
|
Uc as formatArrayKeyToObjectValue,
|
|
9041
9057
|
Qc as formatGroupSelectInputToObject,
|
|
@@ -9077,11 +9093,11 @@ export {
|
|
|
9077
9093
|
cn as useEvent,
|
|
9078
9094
|
ed as useListenEvent,
|
|
9079
9095
|
Pn as useOpenDialog,
|
|
9080
|
-
|
|
9096
|
+
ht as useOptions,
|
|
9081
9097
|
fo as useResizeObserver,
|
|
9082
9098
|
Un as useTableSticky,
|
|
9083
9099
|
Ui as vEllipsis,
|
|
9084
|
-
|
|
9100
|
+
zi as vPasteTrim,
|
|
9085
9101
|
Hi as vTrimEmoji,
|
|
9086
9102
|
ec as withHeaderTip
|
|
9087
9103
|
};
|