@fewangsit/wangsvue-fats 1.0.0-alpha.150 → 1.0.0-alpha.151
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/components/datatable/DataTable.vue.d.ts +2 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +1 -1
- package/wangsvue-fats.js +183 -182
- package/wangsvue-fats.system.js +6 -6
package/wangsvue-fats.js
CHANGED
|
@@ -4006,8 +4006,8 @@ function im(t) {
|
|
|
4006
4006
|
}, {})), x = void 0;
|
|
4007
4007
|
function D(Q, Y) {
|
|
4008
4008
|
var be, Fe;
|
|
4009
|
-
const rt = G(() => Ai(w.value, $t(Q))), ne = d.value[$t(Q)],
|
|
4010
|
-
if (ne &&
|
|
4009
|
+
const rt = G(() => Ai(w.value, $t(Q))), ne = d.value[$t(Q)], ye = (Y == null ? void 0 : Y.type) === "checkbox" || (Y == null ? void 0 : Y.type) === "radio";
|
|
4010
|
+
if (ne && ye) {
|
|
4011
4011
|
ne.multiple = !0;
|
|
4012
4012
|
const rn = i++;
|
|
4013
4013
|
return Array.isArray(ne.id) ? ne.id.push(rn) : ne.id = [ne.id, rn], ne.fieldsCount++, ne.__flags.pendingUnmount[rn] = !1, ne;
|
|
@@ -4057,9 +4057,9 @@ function im(t) {
|
|
|
4057
4057
|
const $ = yv(nn, 5), K = yv(nn, 5), ie = Hp(async (Q) => await (Q === "silent" ? $() : K()), (Q, [Y]) => {
|
|
4058
4058
|
const be = xi(le.errorBag.value), rt = [
|
|
4059
4059
|
.../* @__PURE__ */ new Set([...xi(Q.results), ...u.value.map((ne) => ne.path), ...be])
|
|
4060
|
-
].sort().reduce((ne,
|
|
4060
|
+
].sort().reduce((ne, ye) => {
|
|
4061
4061
|
var He;
|
|
4062
|
-
const at =
|
|
4062
|
+
const at = ye, tt = ae(at) || he(at), dt = ((He = Q.results[at]) === null || He === void 0 ? void 0 : He.errors) || [], Nt = $t(tt == null ? void 0 : tt.path) || at, en = N7({ errors: dt, valid: !dt.length }, ne.results[Nt]);
|
|
4063
4063
|
return ne.results[Nt] = en, en.valid || (ne.errors[Nt] = en.errors[0]), tt && c.value[Nt] && delete c.value[Nt], tt ? (tt.valid = en.valid, Y === "silent" || Y === "validated-only" && !tt.validated || p(tt, en.errors), ne) : (p(Nt, dt), ne);
|
|
4064
4064
|
}, {
|
|
4065
4065
|
valid: Q.valid,
|
|
@@ -4068,9 +4068,9 @@ function im(t) {
|
|
|
4068
4068
|
source: Q.source
|
|
4069
4069
|
});
|
|
4070
4070
|
return Q.values && (rt.values = Q.values, rt.source = Q.source), xi(rt.results).forEach((ne) => {
|
|
4071
|
-
var
|
|
4071
|
+
var ye;
|
|
4072
4072
|
const He = ae(ne);
|
|
4073
|
-
He && Y !== "silent" && (Y === "validated-only" && !He.validated || p(He, (
|
|
4073
|
+
He && Y !== "silent" && (Y === "validated-only" && !He.validated || p(He, (ye = rt.results[ne]) === null || ye === void 0 ? void 0 : ye.errors));
|
|
4074
4074
|
}), rt;
|
|
4075
4075
|
});
|
|
4076
4076
|
function ge(Q) {
|
|
@@ -4094,12 +4094,12 @@ function im(t) {
|
|
|
4094
4094
|
function Te(Q) {
|
|
4095
4095
|
return function(be, Fe) {
|
|
4096
4096
|
return function(ne) {
|
|
4097
|
-
return ne instanceof Event && (ne.preventDefault(), ne.stopPropagation()), ge((
|
|
4097
|
+
return ne instanceof Event && (ne.preventDefault(), ne.stopPropagation()), ge((ye) => ye.touched = !0), r.value = !0, s.value++, bt().then((ye) => {
|
|
4098
4098
|
const He = on(l);
|
|
4099
|
-
if (
|
|
4099
|
+
if (ye.valid && typeof be == "function") {
|
|
4100
4100
|
const at = on(R.value);
|
|
4101
4101
|
let tt = Q ? at : He;
|
|
4102
|
-
return
|
|
4102
|
+
return ye.values && (tt = ye.source === "schema" ? ye.values : Object.assign({}, tt, ye.values)), be(tt, {
|
|
4103
4103
|
evt: ne,
|
|
4104
4104
|
controlledValues: at,
|
|
4105
4105
|
setErrors: h,
|
|
@@ -4112,14 +4112,14 @@ function im(t) {
|
|
|
4112
4112
|
resetField: Pe
|
|
4113
4113
|
});
|
|
4114
4114
|
}
|
|
4115
|
-
!
|
|
4115
|
+
!ye.valid && typeof Fe == "function" && Fe({
|
|
4116
4116
|
values: He,
|
|
4117
4117
|
evt: ne,
|
|
4118
|
-
errors:
|
|
4119
|
-
results:
|
|
4118
|
+
errors: ye.errors,
|
|
4119
|
+
results: ye.results
|
|
4120
4120
|
});
|
|
4121
|
-
}).then((
|
|
4122
|
-
throw r.value = !1,
|
|
4121
|
+
}).then((ye) => (r.value = !1, ye), (ye) => {
|
|
4122
|
+
throw r.value = !1, ye;
|
|
4123
4123
|
});
|
|
4124
4124
|
};
|
|
4125
4125
|
};
|
|
@@ -4262,29 +4262,29 @@ function im(t) {
|
|
|
4262
4262
|
}
|
|
4263
4263
|
async function bt(Q) {
|
|
4264
4264
|
const Y = (Q == null ? void 0 : Q.mode) || "force";
|
|
4265
|
-
if (Y === "force" && ge((
|
|
4265
|
+
if (Y === "force" && ge((ye) => ye.validated = !0), le.validateSchema)
|
|
4266
4266
|
return le.validateSchema(Y);
|
|
4267
4267
|
o.value = !0;
|
|
4268
|
-
const be = await Promise.all(u.value.map((
|
|
4269
|
-
key:
|
|
4268
|
+
const be = await Promise.all(u.value.map((ye) => ye.validate ? ye.validate(Q).then((He) => ({
|
|
4269
|
+
key: ye.path,
|
|
4270
4270
|
valid: He.valid,
|
|
4271
4271
|
errors: He.errors,
|
|
4272
4272
|
value: He.value
|
|
4273
4273
|
})) : Promise.resolve({
|
|
4274
|
-
key:
|
|
4274
|
+
key: ye.path,
|
|
4275
4275
|
valid: !0,
|
|
4276
4276
|
errors: [],
|
|
4277
4277
|
value: void 0
|
|
4278
4278
|
})));
|
|
4279
4279
|
o.value = !1;
|
|
4280
4280
|
const Fe = {}, rt = {}, ne = {};
|
|
4281
|
-
for (const
|
|
4282
|
-
Fe[
|
|
4283
|
-
valid:
|
|
4284
|
-
errors:
|
|
4285
|
-
},
|
|
4281
|
+
for (const ye of be)
|
|
4282
|
+
Fe[ye.key] = {
|
|
4283
|
+
valid: ye.valid,
|
|
4284
|
+
errors: ye.errors
|
|
4285
|
+
}, ye.value && Dr(ne, ye.key, ye.value), ye.errors.length && (rt[ye.key] = ye.errors[0]);
|
|
4286
4286
|
return {
|
|
4287
|
-
valid: be.every((
|
|
4287
|
+
valid: be.every((ye) => ye.valid),
|
|
4288
4288
|
results: Fe,
|
|
4289
4289
|
errors: rt,
|
|
4290
4290
|
values: ne,
|
|
@@ -4331,7 +4331,7 @@ function im(t) {
|
|
|
4331
4331
|
var dt;
|
|
4332
4332
|
Fe.touched = !0, ((dt = rt().validateOnBlur) !== null && dt !== void 0 ? dt : Ma().validateOnBlur) && st(Fe.path);
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function ye() {
|
|
4335
4335
|
var dt;
|
|
4336
4336
|
((dt = rt().validateOnInput) !== null && dt !== void 0 ? dt : Ma().validateOnInput) && Dt(() => {
|
|
4337
4337
|
st(Fe.path);
|
|
@@ -4346,7 +4346,7 @@ function im(t) {
|
|
|
4346
4346
|
const at = G(() => {
|
|
4347
4347
|
const dt = {
|
|
4348
4348
|
onChange: He,
|
|
4349
|
-
onInput:
|
|
4349
|
+
onInput: ye,
|
|
4350
4350
|
onBlur: ne
|
|
4351
4351
|
};
|
|
4352
4352
|
return bi(Y) ? Object.assign(Object.assign({}, dt), Y(yu(Fe, bu)).props || {}) : Y != null && Y.props ? Object.assign(Object.assign({}, dt), Y.props(yu(Fe, bu))) : dt;
|
|
@@ -4368,25 +4368,25 @@ function im(t) {
|
|
|
4368
4368
|
const at = dc(He);
|
|
4369
4369
|
Ae($t(Q), at, !1), Fe.value.onInput();
|
|
4370
4370
|
}
|
|
4371
|
-
function
|
|
4371
|
+
function ye(He) {
|
|
4372
4372
|
const at = dc(He);
|
|
4373
4373
|
Ae($t(Q), at, !1), Fe.value.onChange();
|
|
4374
4374
|
}
|
|
4375
4375
|
return G(() => Object.assign(Object.assign({}, Fe.value), {
|
|
4376
4376
|
onBlur: rt,
|
|
4377
4377
|
onInput: ne,
|
|
4378
|
-
onChange:
|
|
4378
|
+
onChange: ye,
|
|
4379
4379
|
value: be.value
|
|
4380
4380
|
}));
|
|
4381
4381
|
}
|
|
4382
4382
|
function Gt(Q, Y) {
|
|
4383
4383
|
const [be, Fe] = Rt(Q, Y), rt = ae($t(Q));
|
|
4384
|
-
function ne(
|
|
4385
|
-
be.value =
|
|
4384
|
+
function ne(ye) {
|
|
4385
|
+
be.value = ye;
|
|
4386
4386
|
}
|
|
4387
4387
|
return G(() => {
|
|
4388
|
-
const
|
|
4389
|
-
return Object.assign({ [
|
|
4388
|
+
const ye = bi(Y) ? Y(yu(rt, bu)) : Y || {};
|
|
4389
|
+
return Object.assign({ [ye.model || "modelValue"]: be.value, [`onUpdate:${ye.model || "modelValue"}`]: ne }, Fe.value);
|
|
4390
4390
|
});
|
|
4391
4391
|
}
|
|
4392
4392
|
return Object.assign(Object.assign({}, le), { values: g0(l), handleReset: () => Ye(), submitForm: _t });
|
|
@@ -17205,7 +17205,7 @@ const VE = ["id"], zE = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
17205
17205
|
rt(B, 100, W, je);
|
|
17206
17206
|
}, F), W) {
|
|
17207
17207
|
case 0:
|
|
17208
|
-
je === 1 ? ne(B) :
|
|
17208
|
+
je === 1 ? ne(B) : ye(B);
|
|
17209
17209
|
break;
|
|
17210
17210
|
case 1:
|
|
17211
17211
|
je === 1 ? He(B) : at(B);
|
|
@@ -17215,7 +17215,7 @@ const VE = ["id"], zE = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
17215
17215
|
const F = f.value;
|
|
17216
17216
|
let W = f.value + Number(n.stepHour), je = w.value;
|
|
17217
17217
|
n.hourFormat == "24" ? W = W >= 24 ? W - 24 : W : n.hourFormat == "12" && (F < 12 && W > 11 && (je = !w.value), W = W >= 13 ? W - 12 : W), dt(W, p.value, h.value, je) && (f.value = W, w.value = je), B.preventDefault();
|
|
17218
|
-
},
|
|
17218
|
+
}, ye = (B) => {
|
|
17219
17219
|
let F = f.value - n.stepHour, W = w.value;
|
|
17220
17220
|
n.hourFormat == "24" ? F = F < 0 ? 24 + F : F : n.hourFormat == "12" && (f.value === 12 && (W = !w.value), F = F <= 0 ? 12 + F : F), dt(F, p.value, h.value, W) && (f.value = F, w.value = W), B.preventDefault();
|
|
17221
17221
|
}, He = (B) => {
|
|
@@ -21876,7 +21876,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21876
21876
|
var Ze, Vt, xt, yn, Sn;
|
|
21877
21877
|
if (n.disableAllRows || !((Ze = st()) != null && Ze.length) || n.selectionType !== "checkbox" || ((Vt = _.value) == null ? void 0 : Vt.length) === h.value.length)
|
|
21878
21878
|
return !1;
|
|
21879
|
-
const V = (xt = A.value) == null ? void 0 : xt.length, ee = ((yn = ot(st())) == null ? void 0 : yn.map((
|
|
21879
|
+
const V = (xt = A.value) == null ? void 0 : xt.length, ee = ((yn = ot(st())) == null ? void 0 : yn.map((ve) => ve[n.dataKey])) ?? [], Be = ((Sn = A.value) == null ? void 0 : Sn.map((ve) => ve[n.dataKey])) ?? [], We = Be.length ? dP(ee, Be) : !1, jt = V > 0 && V === (Me.value ?? 0) - (_.value.length ?? 0);
|
|
21880
21880
|
return We || jt;
|
|
21881
21881
|
}), _ = G(
|
|
21882
21882
|
() => Zt(n.data ?? st() ?? [])
|
|
@@ -21929,7 +21929,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21929
21929
|
childRowHeader: !0,
|
|
21930
21930
|
header: yn.groupHeader
|
|
21931
21931
|
},
|
|
21932
|
-
...(yn.groupItems ?? []).map((
|
|
21932
|
+
...(yn.groupItems ?? []).map((ve) => ({ childRow: !0, ...ve }))
|
|
21933
21933
|
]);
|
|
21934
21934
|
v.value[V[n.dataKey]] = xt.length, h.value.splice(ee + 1, 0, ...xt);
|
|
21935
21935
|
} else
|
|
@@ -22026,10 +22026,10 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22026
22026
|
ce.value = 1, D.value++;
|
|
22027
22027
|
}, ne = () => {
|
|
22028
22028
|
me.value = n.rows ?? 10, ce.value = 1, D.value++;
|
|
22029
|
-
},
|
|
22029
|
+
}, ye = () => {
|
|
22030
22030
|
ne(), Fe();
|
|
22031
22031
|
}, He = async () => {
|
|
22032
|
-
x.value++, D.value++,
|
|
22032
|
+
x.value++, D.value++, ye(), n.lazy ? await rn() : at();
|
|
22033
22033
|
}, at = () => {
|
|
22034
22034
|
let V = [...m.value ?? []];
|
|
22035
22035
|
const ee = he.value, Be = Object.entries(ee);
|
|
@@ -22155,12 +22155,12 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22155
22155
|
try {
|
|
22156
22156
|
if (Je.off("data-table:download", B), V === n.tableName) {
|
|
22157
22157
|
f(!0, s.downloadingMessage);
|
|
22158
|
-
const { data: Sn } = n.fetchFunction ? await an() : { data: n.data },
|
|
22158
|
+
const { data: Sn } = n.fetchFunction ? await an() : { data: n.data }, ve = E0(Sn, Ze, s);
|
|
22159
22159
|
if (ee != null && ee.length) {
|
|
22160
22160
|
Je.emit("button-download:multi-tables", {
|
|
22161
22161
|
table: {
|
|
22162
22162
|
headers: Vt,
|
|
22163
|
-
data:
|
|
22163
|
+
data: ve,
|
|
22164
22164
|
tableName: V,
|
|
22165
22165
|
tableTitle: n.tableTitle
|
|
22166
22166
|
}
|
|
@@ -22169,7 +22169,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22169
22169
|
}
|
|
22170
22170
|
await Lp({
|
|
22171
22171
|
tables: [
|
|
22172
|
-
{ headers: Vt, data:
|
|
22172
|
+
{ headers: Vt, data: ve, tableName: V, tableTitle: n.tableTitle }
|
|
22173
22173
|
],
|
|
22174
22174
|
fileName: xt(),
|
|
22175
22175
|
additionalTexts: We
|
|
@@ -22269,7 +22269,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22269
22269
|
(Vt = M(l)) == null ? void 0 : Vt.headercheckbox({ context: { isSelectedAll: U.value } }),
|
|
22270
22270
|
{
|
|
22271
22271
|
"model-value": U.value,
|
|
22272
|
-
"onUpdate:modelValue": ee[0] || (ee[0] = (
|
|
22272
|
+
"onUpdate:modelValue": ee[0] || (ee[0] = (ve) => Ft(!!ve)),
|
|
22273
22273
|
binary: ""
|
|
22274
22274
|
}
|
|
22275
22275
|
), null, 16, ["model-value"])
|
|
@@ -22286,26 +22286,27 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22286
22286
|
}
|
|
22287
22287
|
), null, 16)
|
|
22288
22288
|
], 16)) : N("", !0),
|
|
22289
|
-
(g(!0), T(ue, null, _e(S.value, (
|
|
22290
|
-
key:
|
|
22291
|
-
class: [
|
|
22289
|
+
(g(!0), T(ue, null, _e(S.value, (ve) => (g(), T("th", O({
|
|
22290
|
+
key: ve.field,
|
|
22291
|
+
class: [ve.headerClass, ve.class],
|
|
22292
22292
|
ref_for: !0
|
|
22293
|
-
}, de(
|
|
22294
|
-
onClick: (bn) =>
|
|
22293
|
+
}, de(ve), {
|
|
22294
|
+
onClick: (bn) => ve.sortable ? Nt(ve.field, bn) : null
|
|
22295
22295
|
}), [
|
|
22296
22296
|
E("span", O({ ref_for: !0 }, M(l).headercellcontent), [
|
|
22297
22297
|
E("span", wL, [
|
|
22298
|
-
ft(J(
|
|
22299
|
-
|
|
22298
|
+
ft(J(ve.header) + " ", 1),
|
|
22299
|
+
ve.info ? (g(), P(Ee, {
|
|
22300
22300
|
key: 0,
|
|
22301
|
-
info:
|
|
22301
|
+
info: ve.info,
|
|
22302
|
+
severity: ve.infoSeverity,
|
|
22302
22303
|
class: "w-[10px] h-[10px]",
|
|
22303
22304
|
icon: "info"
|
|
22304
|
-
}, null, 8, ["info"])) : N("", !0)
|
|
22305
|
+
}, null, 8, ["info", "severity"])) : N("", !0)
|
|
22305
22306
|
]),
|
|
22306
|
-
|
|
22307
|
+
ve.sortable ? (g(), P(Ee, {
|
|
22307
22308
|
key: 0,
|
|
22308
|
-
icon: !Re.value || Re.value !=
|
|
22309
|
+
icon: !Re.value || Re.value != ve.field ? "arrow-up-down" : Te.value == 1 ? "sort-asc" : "sort-desc",
|
|
22309
22310
|
class: "text-base"
|
|
22310
22311
|
}, null, 8, ["icon"])) : N("", !0)
|
|
22311
22312
|
], 16)
|
|
@@ -22313,9 +22314,9 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22313
22314
|
n.customColumn || n.useOption ? (g(), T("th", O({ key: 3 }, de(void 0, n.customColumn), {
|
|
22314
22315
|
id: `column-visibility-toggle-${M(p)}`,
|
|
22315
22316
|
onClick: ee[1] || (ee[1] = //@ts-ignore
|
|
22316
|
-
(...
|
|
22317
|
+
(...ve) => {
|
|
22317
22318
|
var bn, lr;
|
|
22318
|
-
return ((bn = ie.value) == null ? void 0 : bn.toggleMenu) && ((lr = ie.value) == null ? void 0 : lr.toggleMenu(...
|
|
22319
|
+
return ((bn = ie.value) == null ? void 0 : bn.toggleMenu) && ((lr = ie.value) == null ? void 0 : lr.toggleMenu(...ve));
|
|
22319
22320
|
})
|
|
22320
22321
|
}), [
|
|
22321
22322
|
n.customColumn ? (g(), P(Ee, O({ key: 0 }, M(l).columnvisibilityicon, {
|
|
@@ -22328,12 +22329,12 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22328
22329
|
E("tbody", it(St((xt = M(l)) == null ? void 0 : xt.tbody)), [
|
|
22329
22330
|
Ce.value ? (g(), T("tr", CL, [
|
|
22330
22331
|
E("td", O({ colspan: Ae.value }, (yn = M(l)) == null ? void 0 : yn.bodycell), [
|
|
22331
|
-
(g(!0), T(ue, null, _e(M(l).invisiblelottiewrapper ? 2 : 1, (
|
|
22332
|
+
(g(!0), T(ue, null, _e(M(l).invisiblelottiewrapper ? 2 : 1, (ve) => (g(), T("div", O(
|
|
22332
22333
|
{
|
|
22333
|
-
key:
|
|
22334
|
+
key: ve,
|
|
22334
22335
|
ref_for: !0
|
|
22335
22336
|
},
|
|
22336
|
-
|
|
22337
|
+
ve === 1 ? M(l).loadingtablewrapper : M(l).invisiblelottiewrapper
|
|
22337
22338
|
), [
|
|
22338
22339
|
L(Ia, O({
|
|
22339
22340
|
animation: "loading-table",
|
|
@@ -22343,12 +22344,12 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22343
22344
|
], 16, kL)
|
|
22344
22345
|
])) : ze.value ? (g(), T("tr", RL, [
|
|
22345
22346
|
E("td", O({ colspan: Ae.value }, (Sn = M(l)) == null ? void 0 : Sn.bodycell), [
|
|
22346
|
-
(g(!0), T(ue, null, _e(M(l).invisiblelottiewrapper ? 2 : 1, (
|
|
22347
|
+
(g(!0), T(ue, null, _e(M(l).invisiblelottiewrapper ? 2 : 1, (ve) => (g(), T("div", O(
|
|
22347
22348
|
{
|
|
22348
|
-
key:
|
|
22349
|
+
key: ve,
|
|
22349
22350
|
ref_for: !0
|
|
22350
22351
|
},
|
|
22351
|
-
|
|
22352
|
+
ve === 1 ? M(l).nodatalottiewrapper : M(l).invisiblelottiewrapper
|
|
22352
22353
|
), [
|
|
22353
22354
|
L(Ia, O({
|
|
22354
22355
|
animation: "no-data",
|
|
@@ -22360,38 +22361,38 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22360
22361
|
}, M(l).nodatamessage), J(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
22361
22362
|
], 16))), 128))
|
|
22362
22363
|
], 16, NL)
|
|
22363
|
-
])) : (g(!0), T(ue, { key: 1 }, _e(j.value, (
|
|
22364
|
+
])) : (g(!0), T(ue, { key: 1 }, _e(j.value, (ve, bn) => {
|
|
22364
22365
|
var lr, du, Ne, lt, Mt, Yt, On, mi, Xi, Bo, Yn;
|
|
22365
22366
|
return g(), T("tr", O(
|
|
22366
22367
|
{
|
|
22367
|
-
id:
|
|
22368
|
-
key: `${bn}-${
|
|
22369
|
-
draggable: Tt(
|
|
22368
|
+
id: ve._id,
|
|
22369
|
+
key: `${bn}-${ve[V.dataKey]}`,
|
|
22370
|
+
draggable: Tt(ve),
|
|
22370
22371
|
ref_for: !0
|
|
22371
22372
|
},
|
|
22372
22373
|
(lr = M(l)) == null ? void 0 : lr.bodyrow({
|
|
22373
22374
|
context: {
|
|
22374
|
-
highlighted:
|
|
22375
|
-
selected: Ye(
|
|
22376
|
-
disabled: Pe(
|
|
22377
|
-
draggable: Tt(
|
|
22375
|
+
highlighted: ve[V.highlightKey ?? ""],
|
|
22376
|
+
selected: Ye(ve[V.dataKey]),
|
|
22377
|
+
disabled: Pe(ve[V.dataKey]),
|
|
22378
|
+
draggable: Tt(ve),
|
|
22378
22379
|
dragging: $.value
|
|
22379
22380
|
},
|
|
22380
22381
|
props: n
|
|
22381
22382
|
}),
|
|
22382
22383
|
{
|
|
22383
|
-
onClick: (ke) => tn(ke,
|
|
22384
|
+
onClick: (ke) => tn(ke, ve, bn),
|
|
22384
22385
|
onDblclick: (ke) => {
|
|
22385
22386
|
var Gi;
|
|
22386
|
-
return V.treeTable && ((Gi =
|
|
22387
|
+
return V.treeTable && ((Gi = ve.children) != null && Gi.length || ve.hasChildren) ? vt(ve, bn) : null;
|
|
22387
22388
|
},
|
|
22388
22389
|
onDrag: ee[10] || (ee[10] = (ke) => $.value = !0),
|
|
22389
|
-
onDragenter: It((ke) => Gt(ke,
|
|
22390
|
+
onDragenter: It((ke) => Gt(ke, ve), ["prevent"]),
|
|
22390
22391
|
onDragleave: ee[11] || (ee[11] = It(() => {
|
|
22391
22392
|
}, ["prevent"])),
|
|
22392
22393
|
onDragover: ee[12] || (ee[12] = It(() => {
|
|
22393
22394
|
}, ["prevent"])),
|
|
22394
|
-
onDragstart: (ke) => vn(ke,
|
|
22395
|
+
onDragstart: (ke) => vn(ke, ve, bn),
|
|
22395
22396
|
onDrop: Q
|
|
22396
22397
|
}
|
|
22397
22398
|
), [
|
|
@@ -22399,7 +22400,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22399
22400
|
key: 0,
|
|
22400
22401
|
ref_for: !0
|
|
22401
22402
|
}, (du = M(l)) == null ? void 0 : du.bodycell), [
|
|
22402
|
-
!
|
|
22403
|
+
!ve.childRow && !ve.childRowHeader ? (g(), P(Ee, {
|
|
22403
22404
|
key: 0,
|
|
22404
22405
|
class: "draggableicon",
|
|
22405
22406
|
icon: "dragable-menu"
|
|
@@ -22412,15 +22413,15 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22412
22413
|
onClick: ee[3] || (ee[3] = It(() => {
|
|
22413
22414
|
}, ["stop"]))
|
|
22414
22415
|
}), [
|
|
22415
|
-
!
|
|
22416
|
+
!ve.childRow && !ve.childRowHeader ? (g(), P(Yo, O({
|
|
22416
22417
|
key: 0,
|
|
22417
22418
|
ref_for: !0
|
|
22418
22419
|
}, (lt = M(l)) == null ? void 0 : lt.rowcheckbox, {
|
|
22419
22420
|
modelValue: A.value,
|
|
22420
22421
|
"onUpdate:modelValue": ee[2] || (ee[2] = (ke) => A.value = ke),
|
|
22421
22422
|
binary: !1,
|
|
22422
|
-
disabled: Pe(
|
|
22423
|
-
value:
|
|
22423
|
+
disabled: Pe(ve[V.dataKey]),
|
|
22424
|
+
value: ve
|
|
22424
22425
|
}), null, 16, ["modelValue", "disabled", "value"])) : N("", !0)
|
|
22425
22426
|
], 16)) : N("", !0),
|
|
22426
22427
|
V.treeTable ? (g(), T("td", O({
|
|
@@ -22428,18 +22429,18 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22428
22429
|
ref_for: !0
|
|
22429
22430
|
}, (Mt = M(l)) == null ? void 0 : Mt.bodycell, {
|
|
22430
22431
|
onClick: (ke) => {
|
|
22431
|
-
(
|
|
22432
|
+
(ve.childRow || ve.childRowHeader) && ke.stopPropagation();
|
|
22432
22433
|
}
|
|
22433
22434
|
}), [
|
|
22434
|
-
(Yt =
|
|
22435
|
+
(Yt = ve.children) != null && Yt.length || ve.hasChildren ? (g(), P(Ue, O(
|
|
22435
22436
|
{
|
|
22436
22437
|
key: 0,
|
|
22437
|
-
onClick: It((ke) => vt(
|
|
22438
|
+
onClick: It((ke) => vt(ve, bn), ["stop"]),
|
|
22438
22439
|
ref_for: !0
|
|
22439
22440
|
},
|
|
22440
22441
|
M(l).rowtogglerbutton({
|
|
22441
22442
|
context: {
|
|
22442
|
-
isRowExpanded: fe(
|
|
22443
|
+
isRowExpanded: fe(ve[V.dataKey])
|
|
22443
22444
|
}
|
|
22444
22445
|
}),
|
|
22445
22446
|
{
|
|
@@ -22450,7 +22451,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22450
22451
|
], 16, TL)) : N("", !0),
|
|
22451
22452
|
(() => {
|
|
22452
22453
|
var ke;
|
|
22453
|
-
return
|
|
22454
|
+
return ve.childRowHeader && ((ke = n.childTableProps) == null ? void 0 : ke.useColumnsHeader);
|
|
22454
22455
|
})() ? (g(!0), T(ue, { key: 3 }, _e(le.value, (ke) => {
|
|
22455
22456
|
var Gi, Zr;
|
|
22456
22457
|
return g(), T("td", {
|
|
@@ -22460,7 +22461,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22460
22461
|
onClick: ee[4] || (ee[4] = It(() => {
|
|
22461
22462
|
}, ["stop"]))
|
|
22462
22463
|
}, J(ke.header), 11, xL);
|
|
22463
|
-
}), 128)) :
|
|
22464
|
+
}), 128)) : ve.childRowHeader ? (g(), T("td", O({
|
|
22464
22465
|
key: 4,
|
|
22465
22466
|
ref_for: !0
|
|
22466
22467
|
}, M(l).childrowheader, {
|
|
@@ -22468,7 +22469,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22468
22469
|
colspan: n.columns.length + 1,
|
|
22469
22470
|
onClick: ee[5] || (ee[5] = It(() => {
|
|
22470
22471
|
}, ["stop"]))
|
|
22471
|
-
}), J(
|
|
22472
|
+
}), J(ve.header), 17, ML)) : ve.loadingRow ? (g(), T("td", {
|
|
22472
22473
|
key: 5,
|
|
22473
22474
|
class: pe((mi = M(l)) == null ? void 0 : mi.bodycell.class),
|
|
22474
22475
|
colspan: n.columns.length + 1,
|
|
@@ -22481,7 +22482,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22481
22482
|
ref_for: !0
|
|
22482
22483
|
}, M(l).loadingtablelottie), null, 16)
|
|
22483
22484
|
], 16)
|
|
22484
|
-
], 10, EL)) :
|
|
22485
|
+
], 10, EL)) : ve.noDataRow ? (g(), T("td", {
|
|
22485
22486
|
key: 6,
|
|
22486
22487
|
class: pe((Xi = M(l)) == null ? void 0 : Xi.bodycell.class),
|
|
22487
22488
|
colspan: n.columns.length + 1,
|
|
@@ -22499,7 +22500,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22499
22500
|
}, M(l).nodatamessage), J(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
22500
22501
|
], 16)
|
|
22501
22502
|
], 10, IL)) : (g(), T(ue, { key: 7 }, [
|
|
22502
|
-
(g(!0), T(ue, null, _e(
|
|
22503
|
+
(g(!0), T(ue, null, _e(ve.childRow ? le.value : S.value, (ke) => {
|
|
22503
22504
|
var Gi, Zr, ma, fu, pu, hu, mu, $o, ga, Ti, gu, Ts, yt, va, xn, Jt, Vo, ur;
|
|
22504
22505
|
return g(), T("td", O({
|
|
22505
22506
|
key: ke.field,
|
|
@@ -22508,7 +22509,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22508
22509
|
"!py-0": ke.editable,
|
|
22509
22510
|
"!px-0": ((Gi = ke.preset) == null ? void 0 : Gi.type) === "multirow"
|
|
22510
22511
|
},
|
|
22511
|
-
typeof ke.bodyClass == "function" ? ke.bodyClass(
|
|
22512
|
+
typeof ke.bodyClass == "function" ? ke.bodyClass(ve) : ke.bodyClass,
|
|
22512
22513
|
ke.class
|
|
22513
22514
|
],
|
|
22514
22515
|
colspan: ke.colspan ?? ((Zr = ke.parentColumnsFields) == null ? void 0 : Zr.length),
|
|
@@ -22517,47 +22518,47 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22517
22518
|
((fu = ke.preset) == null ? void 0 : fu.type) === "toggle" || ((pu = ke.preset) == null ? void 0 : pu.type) === "checkbox" ? (g(), T(ue, { key: 0 }, [
|
|
22518
22519
|
((hu = ke.preset) == null ? void 0 : hu.type) === "toggle" ? (g(), P(r2, {
|
|
22519
22520
|
key: 0,
|
|
22520
|
-
disabled: Pe(
|
|
22521
|
-
"input-id":
|
|
22522
|
-
"model-value": M(Bn)(
|
|
22521
|
+
disabled: Pe(ve[V.dataKey]) || (typeof ((mu = ke.preset) == null ? void 0 : mu.disabled) == "function" ? ($o = ke.preset) == null ? void 0 : $o.disabled(ve) : (ga = ke.preset) == null ? void 0 : ga.disabled),
|
|
22522
|
+
"input-id": ve[V.dataKey],
|
|
22523
|
+
"model-value": M(Bn)(ve, ke.field),
|
|
22523
22524
|
onClick: ee[8] || (ee[8] = It(() => {
|
|
22524
22525
|
}, ["stop"])),
|
|
22525
22526
|
"onUpdate:modelValue": (fn) => {
|
|
22526
|
-
M(Ps)(
|
|
22527
|
+
M(Ps)(ve, ke.field, fn), Rt(fn, ve, ke);
|
|
22527
22528
|
}
|
|
22528
22529
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
22529
22530
|
((Ti = ke.preset) == null ? void 0 : Ti.type) === "checkbox" ? (g(), P(Yo, {
|
|
22530
22531
|
key: 1,
|
|
22531
|
-
disabled: Pe(
|
|
22532
|
-
"input-id":
|
|
22533
|
-
"model-value": M(Bn)(
|
|
22532
|
+
disabled: Pe(ve[V.dataKey]) || (typeof ((gu = ke.preset) == null ? void 0 : gu.disabled) == "function" ? (Ts = ke.preset) == null ? void 0 : Ts.disabled(ve) : (yt = ke.preset) == null ? void 0 : yt.disabled),
|
|
22533
|
+
"input-id": ve[V.dataKey],
|
|
22534
|
+
"model-value": M(Bn)(ve, ke.field),
|
|
22534
22535
|
onClick: ee[9] || (ee[9] = It(() => {
|
|
22535
22536
|
}, ["stop"])),
|
|
22536
22537
|
"onUpdate:modelValue": (fn) => {
|
|
22537
|
-
M(Ps)(
|
|
22538
|
+
M(Ps)(ve, ke.field, !!fn), Rt(!!fn, ve, ke);
|
|
22538
22539
|
},
|
|
22539
22540
|
binary: ""
|
|
22540
22541
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
22541
22542
|
(va = ke.preset) != null && va.confirmDialogProps ? (g(), P(er, O(
|
|
22542
22543
|
{
|
|
22543
22544
|
key: 2,
|
|
22544
|
-
list: [
|
|
22545
|
-
visible: !!Oe.value[
|
|
22545
|
+
list: [ve],
|
|
22546
|
+
visible: !!Oe.value[ve[V.dataKey] + ke.field],
|
|
22546
22547
|
onClose: () => {
|
|
22547
22548
|
var Wn, Ve, nt;
|
|
22548
22549
|
const fn = () => M(Ps)(
|
|
22549
|
-
|
|
22550
|
+
ve,
|
|
22550
22551
|
ke.field,
|
|
22551
|
-
!M(Bn)(
|
|
22552
|
+
!M(Bn)(ve, ke.field)
|
|
22552
22553
|
);
|
|
22553
22554
|
((Wn = Ht(
|
|
22554
22555
|
ke.preset,
|
|
22555
|
-
|
|
22556
|
-
|
|
22556
|
+
ve[ke.field],
|
|
22557
|
+
ve
|
|
22557
22558
|
)) == null ? void 0 : Wn.actionable) == !1 && "onConfirm" in ke.preset ? (nt = (Ve = ke.preset).onConfirm) == null || nt.call(
|
|
22558
22559
|
Ve,
|
|
22559
|
-
|
|
22560
|
-
|
|
22560
|
+
ve[ke.field],
|
|
22561
|
+
ve,
|
|
22561
22562
|
fn
|
|
22562
22563
|
) : fn();
|
|
22563
22564
|
},
|
|
@@ -22565,28 +22566,28 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22565
22566
|
var Wn, Ve;
|
|
22566
22567
|
return (Ve = (Wn = ke.preset) == null ? void 0 : Wn.onConfirm) == null ? void 0 : Ve.call(
|
|
22567
22568
|
Wn,
|
|
22568
|
-
|
|
22569
|
-
|
|
22569
|
+
ve[ke.field],
|
|
22570
|
+
ve,
|
|
22570
22571
|
() => M(Ps)(
|
|
22571
|
-
|
|
22572
|
+
ve,
|
|
22572
22573
|
ke.field,
|
|
22573
|
-
!M(Bn)(
|
|
22574
|
+
!M(Bn)(ve, ke.field)
|
|
22574
22575
|
)
|
|
22575
22576
|
);
|
|
22576
22577
|
},
|
|
22577
|
-
"onUpdate:visible": (fn) => Oe.value[
|
|
22578
|
+
"onUpdate:visible": (fn) => Oe.value[ve[V.dataKey] + ke.field] = fn,
|
|
22578
22579
|
actionable: "",
|
|
22579
22580
|
ref_for: !0
|
|
22580
22581
|
},
|
|
22581
22582
|
Ht(
|
|
22582
22583
|
ke.preset,
|
|
22583
|
-
|
|
22584
|
-
|
|
22584
|
+
ve[ke.field],
|
|
22585
|
+
ve
|
|
22585
22586
|
)
|
|
22586
22587
|
), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : N("", !0)
|
|
22587
22588
|
], 64)) : ((xn = ke.preset) == null ? void 0 : xn.type) === "multirow" ? (g(), P(yL, {
|
|
22588
22589
|
key: 1,
|
|
22589
|
-
attributes: ((Vo = (Jt = ke.preset) == null ? void 0 : Jt.fieldAttributes) == null ? void 0 : Vo.call(Jt,
|
|
22590
|
+
attributes: ((Vo = (Jt = ke.preset) == null ? void 0 : Jt.fieldAttributes) == null ? void 0 : Vo.call(Jt, ve)) ?? []
|
|
22590
22591
|
}, null, 8, ["attributes"])) : ke.editable ? (g(), T("span", O({
|
|
22591
22592
|
key: 2,
|
|
22592
22593
|
ref_for: !0
|
|
@@ -22594,7 +22595,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22594
22595
|
contenteditable: ke.editable,
|
|
22595
22596
|
onBlur: (fn) => {
|
|
22596
22597
|
V.$emit("cellEdited", {
|
|
22597
|
-
item:
|
|
22598
|
+
item: ve,
|
|
22598
22599
|
field: ke.field,
|
|
22599
22600
|
index: bn,
|
|
22600
22601
|
value: fn.target.innerText
|
|
@@ -22603,52 +22604,52 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22603
22604
|
onKeypress: (fn) => {
|
|
22604
22605
|
ke.numberInputOnly && F(fn);
|
|
22605
22606
|
}
|
|
22606
|
-
}), J(M(Bn)(
|
|
22607
|
-
ke.bodyComponent ? (g(), P(gt(ke.bodyComponent(
|
|
22607
|
+
}), J(M(Bn)(ve, ke.field) || "-"), 17, LL)) : ke.bodyComponent || ke.bodyClass || ke.bodyTemplate || ke.dateFormatOptions ? (g(), T(ue, { key: 3 }, [
|
|
22608
|
+
ke.bodyComponent ? (g(), P(gt(ke.bodyComponent(ve, bn).component), O({
|
|
22608
22609
|
key: 0,
|
|
22609
|
-
modelValue: ke.bodyComponent(
|
|
22610
|
-
"onUpdate:modelValue": (fn) => ke.bodyComponent(
|
|
22611
|
-
disabled: ke.bodyComponent(
|
|
22610
|
+
modelValue: ke.bodyComponent(ve, bn).model,
|
|
22611
|
+
"onUpdate:modelValue": (fn) => ke.bodyComponent(ve, bn).model = fn,
|
|
22612
|
+
disabled: ke.bodyComponent(ve, bn).disabled,
|
|
22612
22613
|
ref_for: !0
|
|
22613
|
-
}, ke.bodyComponent(
|
|
22614
|
-
ke.bodyComponent(
|
|
22614
|
+
}, ke.bodyComponent(ve, bn).props, Vs(
|
|
22615
|
+
ke.bodyComponent(ve, bn).events ? ke.bodyComponent(ve, bn).events : {}
|
|
22615
22616
|
), {
|
|
22616
22617
|
onChange: (fn) => {
|
|
22617
22618
|
var Wn, Ve;
|
|
22618
|
-
return (Ve = (Wn = ke.bodyComponent(
|
|
22619
|
+
return (Ve = (Wn = ke.bodyComponent(ve, bn)).onChange) == null ? void 0 : Ve.call(Wn, ve);
|
|
22619
22620
|
},
|
|
22620
22621
|
onClick: (fn) => {
|
|
22621
|
-
ke.bodyComponent(
|
|
22622
|
+
ke.bodyComponent(ve, bn).stop !== !1 && fn.stopPropagation();
|
|
22622
22623
|
},
|
|
22623
22624
|
"onUpdate:modelValue": (fn) => {
|
|
22624
22625
|
var Wn, Ve;
|
|
22625
|
-
return (Ve = (Wn = ke.bodyComponent(
|
|
22626
|
+
return (Ve = (Wn = ke.bodyComponent(ve, bn)).onChange) == null ? void 0 : Ve.call(Wn, ve);
|
|
22626
22627
|
}
|
|
22627
22628
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (g(), T("span", DL, [
|
|
22628
22629
|
ke.bodyTemplate ? (g(), T(ue, { key: 0 }, [
|
|
22629
|
-
ft(J(((ur = ke.bodyTemplate) == null ? void 0 : ur.call(ke,
|
|
22630
|
+
ft(J(((ur = ke.bodyTemplate) == null ? void 0 : ur.call(ke, ve, bn)) || "-"), 1)
|
|
22630
22631
|
], 64)) : ke.dateFormatOptions ? (g(), T(ue, { key: 1 }, [
|
|
22631
22632
|
ft(J(M(ld)(
|
|
22632
22633
|
new Date(
|
|
22633
22634
|
M(Bn)(
|
|
22634
|
-
|
|
22635
|
+
ve,
|
|
22635
22636
|
ke.field
|
|
22636
22637
|
)
|
|
22637
22638
|
),
|
|
22638
22639
|
ke.dateFormatOptions
|
|
22639
22640
|
)), 1)
|
|
22640
22641
|
], 64)) : (g(), T(ue, { key: 2 }, [
|
|
22641
|
-
ft(J(M(Bn)(
|
|
22642
|
+
ft(J(M(Bn)(ve, ke.field) || "-"), 1)
|
|
22642
22643
|
], 64))
|
|
22643
22644
|
]))
|
|
22644
22645
|
], 64)) : (g(), T(ue, { key: 4 }, [
|
|
22645
|
-
ft(J(M(Bn)(
|
|
22646
|
+
ft(J(M(Bn)(ve, ke.field) ?? "-"), 1)
|
|
22646
22647
|
], 64))
|
|
22647
22648
|
], 16, PL);
|
|
22648
22649
|
}), 128)),
|
|
22649
22650
|
(() => {
|
|
22650
22651
|
var ke;
|
|
22651
|
-
return (V.useOption || ie.value) && !
|
|
22652
|
+
return (V.useOption || ie.value) && !ve.childRow || ve.childRow && ((ke = V.childTableProps) == null ? void 0 : ke.useOption);
|
|
22652
22653
|
})() ? (g(), T("td", O(
|
|
22653
22654
|
{
|
|
22654
22655
|
key: 0,
|
|
@@ -22659,8 +22660,8 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22659
22660
|
(Bo = M(l)) == null ? void 0 : Bo.rowsingleactioncell({
|
|
22660
22661
|
props: n,
|
|
22661
22662
|
context: {
|
|
22662
|
-
selected: Ye(
|
|
22663
|
-
highlighted:
|
|
22663
|
+
selected: Ye(ve[V.dataKey]),
|
|
22664
|
+
highlighted: ve[V.highlightKey ?? ""]
|
|
22664
22665
|
}
|
|
22665
22666
|
}),
|
|
22666
22667
|
{
|
|
@@ -22672,11 +22673,11 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22672
22673
|
ref_for: !0
|
|
22673
22674
|
}, M(l).singleactionwrapper), [
|
|
22674
22675
|
L(Ue, O({
|
|
22675
|
-
id: "button-action-" +
|
|
22676
|
+
id: "button-action-" + ve[n.dataKey],
|
|
22676
22677
|
ref_for: !0
|
|
22677
22678
|
}, M(l).singleactionbutton({ props: n }), {
|
|
22678
22679
|
disabled: V.disableAllRows,
|
|
22679
|
-
onClick: It((ke) => _t(ke,
|
|
22680
|
+
onClick: It((ke) => _t(ke, ve), ["stop"]),
|
|
22680
22681
|
icon: "ellipsis-h",
|
|
22681
22682
|
outlined: "",
|
|
22682
22683
|
size: "small",
|
|
@@ -22748,7 +22749,7 @@ const gL = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
22748
22749
|
for (const [i, r] of e)
|
|
22749
22750
|
n[i] = r;
|
|
22750
22751
|
return n;
|
|
22751
|
-
}, km = /* @__PURE__ */ H2(BL, [["__scopeId", "data-v-
|
|
22752
|
+
}, km = /* @__PURE__ */ H2(BL, [["__scopeId", "data-v-96b7926f"]]), j2 = /* @__PURE__ */ we({
|
|
22752
22753
|
__name: "Form",
|
|
22753
22754
|
props: {
|
|
22754
22755
|
buttonsTemplate: {},
|
|
@@ -31746,7 +31747,7 @@ function fU() {
|
|
|
31746
31747
|
/** @type {RegExp | string} */
|
|
31747
31748
|
Ge.illegal
|
|
31748
31749
|
)), Ge.contains || (Ge.contains = []), Ge.contains = [].concat(...Ge.contains.map(function(dn) {
|
|
31749
|
-
return
|
|
31750
|
+
return ye(dn === "self" ? Ge : dn);
|
|
31750
31751
|
})), Ge.contains.forEach(function(dn) {
|
|
31751
31752
|
qt(
|
|
31752
31753
|
/** @type Mode */
|
|
@@ -31765,7 +31766,7 @@ function fU() {
|
|
|
31765
31766
|
function ne(z) {
|
|
31766
31767
|
return z ? z.endsWithParent || ne(z.starts) : !1;
|
|
31767
31768
|
}
|
|
31768
|
-
function
|
|
31769
|
+
function ye(z) {
|
|
31769
31770
|
return z.variants && !z.cachedVariants && (z.cachedVariants = z.variants.map(function(de) {
|
|
31770
31771
|
return i(z, { variants: null }, de);
|
|
31771
31772
|
})), z.cachedVariants ? z.cachedVariants : ne(z) ? i(z, { starts: z.starts ? i(z.starts) : null }) : Object.isFrozen(z) ? i(z) : z;
|
|
@@ -32136,7 +32137,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), On = Ne, Yt = lt), Mt
|
|
|
32136
32137
|
);
|
|
32137
32138
|
});
|
|
32138
32139
|
}
|
|
32139
|
-
function
|
|
32140
|
+
function ve(Ne) {
|
|
32140
32141
|
Sn(Ne), ot.push(Ne);
|
|
32141
32142
|
}
|
|
32142
32143
|
function bn(Ne) {
|
|
@@ -32169,7 +32170,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), On = Ne, Yt = lt), Mt
|
|
|
32169
32170
|
registerAliases: xt,
|
|
32170
32171
|
autoDetection: yn,
|
|
32171
32172
|
inherit: dt,
|
|
32172
|
-
addPlugin:
|
|
32173
|
+
addPlugin: ve,
|
|
32173
32174
|
removePlugin: bn
|
|
32174
32175
|
}), z.debugMode = function() {
|
|
32175
32176
|
Zt = !1;
|
|
@@ -47441,25 +47442,25 @@ function pJ(t, e) {
|
|
|
47441
47442
|
function he(ne) {
|
|
47442
47443
|
ne === void 0 && (ne = !1), y.style.pointerEvents = A.props.interactive && !ne ? "" : "none", y.style.zIndex = "" + A.props.zIndex;
|
|
47443
47444
|
}
|
|
47444
|
-
function se(ne,
|
|
47445
|
+
function se(ne, ye, He) {
|
|
47445
47446
|
if (He === void 0 && (He = !0), I.forEach(function(tt) {
|
|
47446
|
-
tt[ne] && tt[ne].apply(tt,
|
|
47447
|
+
tt[ne] && tt[ne].apply(tt, ye);
|
|
47447
47448
|
}), He) {
|
|
47448
47449
|
var at;
|
|
47449
|
-
(at = A.props)[ne].apply(at,
|
|
47450
|
+
(at = A.props)[ne].apply(at, ye);
|
|
47450
47451
|
}
|
|
47451
47452
|
}
|
|
47452
47453
|
function Ie() {
|
|
47453
47454
|
var ne = A.props.aria;
|
|
47454
47455
|
if (ne.content) {
|
|
47455
|
-
var
|
|
47456
|
+
var ye = "aria-" + ne.content, He = y.id, at = Bs(A.props.triggerTarget || t);
|
|
47456
47457
|
at.forEach(function(tt) {
|
|
47457
|
-
var dt = tt.getAttribute(
|
|
47458
|
+
var dt = tt.getAttribute(ye);
|
|
47458
47459
|
if (A.state.isVisible)
|
|
47459
|
-
tt.setAttribute(
|
|
47460
|
+
tt.setAttribute(ye, dt ? dt + " " + He : He);
|
|
47460
47461
|
else {
|
|
47461
47462
|
var Nt = dt && dt.replace(He, "").trim();
|
|
47462
|
-
Nt ? tt.setAttribute(
|
|
47463
|
+
Nt ? tt.setAttribute(ye, Nt) : tt.removeAttribute(ye);
|
|
47463
47464
|
}
|
|
47464
47465
|
});
|
|
47465
47466
|
}
|
|
@@ -47467,8 +47468,8 @@ function pJ(t, e) {
|
|
|
47467
47468
|
function Re() {
|
|
47468
47469
|
if (!(R || !A.props.aria.expanded)) {
|
|
47469
47470
|
var ne = Bs(A.props.triggerTarget || t);
|
|
47470
|
-
ne.forEach(function(
|
|
47471
|
-
A.props.interactive ?
|
|
47471
|
+
ne.forEach(function(ye) {
|
|
47472
|
+
A.props.interactive ? ye.setAttribute("aria-expanded", A.state.isVisible && ye === K() ? "true" : "false") : ye.removeAttribute("aria-expanded");
|
|
47472
47473
|
});
|
|
47473
47474
|
}
|
|
47474
47475
|
}
|
|
@@ -47479,10 +47480,10 @@ function pJ(t, e) {
|
|
|
47479
47480
|
}
|
|
47480
47481
|
function ce(ne) {
|
|
47481
47482
|
if (!(gr.isTouch && (l || ne.type === "mousedown"))) {
|
|
47482
|
-
var
|
|
47483
|
-
if (!(A.props.interactive && Cb(y,
|
|
47483
|
+
var ye = ne.composedPath && ne.composedPath()[0] || ne.target;
|
|
47484
|
+
if (!(A.props.interactive && Cb(y, ye))) {
|
|
47484
47485
|
if (Bs(A.props.triggerTarget || t).some(function(He) {
|
|
47485
|
-
return Cb(He,
|
|
47486
|
+
return Cb(He, ye);
|
|
47486
47487
|
})) {
|
|
47487
47488
|
if (gr.isTouch || A.state.isVisible && A.props.trigger.indexOf("click") >= 0)
|
|
47488
47489
|
return;
|
|
@@ -47508,31 +47509,31 @@ function pJ(t, e) {
|
|
|
47508
47509
|
var ne = ie();
|
|
47509
47510
|
ne.removeEventListener("mousedown", ce, !0), ne.removeEventListener("touchend", ce, Wo), ne.removeEventListener("touchstart", Me, Wo), ne.removeEventListener("touchmove", me, Wo);
|
|
47510
47511
|
}
|
|
47511
|
-
function Ae(ne,
|
|
47512
|
+
function Ae(ne, ye) {
|
|
47512
47513
|
q(ne, function() {
|
|
47513
|
-
!A.state.isVisible && y.parentNode && y.parentNode.contains(y) &&
|
|
47514
|
+
!A.state.isVisible && y.parentNode && y.parentNode.contains(y) && ye();
|
|
47514
47515
|
});
|
|
47515
47516
|
}
|
|
47516
|
-
function Z(ne,
|
|
47517
|
-
q(ne,
|
|
47517
|
+
function Z(ne, ye) {
|
|
47518
|
+
q(ne, ye);
|
|
47518
47519
|
}
|
|
47519
|
-
function q(ne,
|
|
47520
|
+
function q(ne, ye) {
|
|
47520
47521
|
var He = ge().box;
|
|
47521
47522
|
function at(tt) {
|
|
47522
|
-
tt.target === He && (Xf(He, "remove", at),
|
|
47523
|
+
tt.target === He && (Xf(He, "remove", at), ye());
|
|
47523
47524
|
}
|
|
47524
47525
|
if (ne === 0)
|
|
47525
|
-
return
|
|
47526
|
+
return ye();
|
|
47526
47527
|
Xf(He, "remove", d), Xf(He, "add", at), d = at;
|
|
47527
47528
|
}
|
|
47528
|
-
function U(ne,
|
|
47529
|
+
function U(ne, ye, He) {
|
|
47529
47530
|
He === void 0 && (He = !1);
|
|
47530
47531
|
var at = Bs(A.props.triggerTarget || t);
|
|
47531
47532
|
at.forEach(function(tt) {
|
|
47532
|
-
tt.addEventListener(ne,
|
|
47533
|
+
tt.addEventListener(ne, ye, He), p.push({
|
|
47533
47534
|
node: tt,
|
|
47534
47535
|
eventType: ne,
|
|
47535
|
-
handler:
|
|
47536
|
+
handler: ye,
|
|
47536
47537
|
options: He
|
|
47537
47538
|
});
|
|
47538
47539
|
});
|
|
@@ -47559,21 +47560,21 @@ function pJ(t, e) {
|
|
|
47559
47560
|
}
|
|
47560
47561
|
function Ce() {
|
|
47561
47562
|
p.forEach(function(ne) {
|
|
47562
|
-
var
|
|
47563
|
-
|
|
47563
|
+
var ye = ne.node, He = ne.eventType, at = ne.handler, tt = ne.options;
|
|
47564
|
+
ye.removeEventListener(He, at, tt);
|
|
47564
47565
|
}), p = [];
|
|
47565
47566
|
}
|
|
47566
47567
|
function ze(ne) {
|
|
47567
|
-
var
|
|
47568
|
+
var ye, He = !1;
|
|
47568
47569
|
if (!(!A.state.isEnabled || Ye(ne) || a)) {
|
|
47569
|
-
var at = ((
|
|
47570
|
+
var at = ((ye = c) == null ? void 0 : ye.type) === "focus";
|
|
47570
47571
|
c = ne, m = ne.currentTarget, Re(), !A.state.isVisible && JZ(ne) && Wu.forEach(function(tt) {
|
|
47571
47572
|
return tt(ne);
|
|
47572
47573
|
}), ne.type === "click" && (A.props.trigger.indexOf("mouseenter") < 0 || s) && A.props.hideOnClick !== !1 && A.state.isVisible ? He = !0 : tn(ne), ne.type === "click" && (s = !He), He && !at && nn(ne);
|
|
47573
47574
|
}
|
|
47574
47575
|
}
|
|
47575
47576
|
function j(ne) {
|
|
47576
|
-
var
|
|
47577
|
+
var ye = ne.target, He = K().contains(ye) || y.contains(ye);
|
|
47577
47578
|
if (!(ne.type === "mousemove" && He)) {
|
|
47578
47579
|
var at = Ft().concat(y).map(function(tt) {
|
|
47579
47580
|
var dt, Nt = tt._tippy, en = (dt = Nt.popperInstance) == null ? void 0 : dt.state;
|
|
@@ -47587,8 +47588,8 @@ function pJ(t, e) {
|
|
|
47587
47588
|
}
|
|
47588
47589
|
}
|
|
47589
47590
|
function fe(ne) {
|
|
47590
|
-
var
|
|
47591
|
-
if (!
|
|
47591
|
+
var ye = Ye(ne) || A.props.trigger.indexOf("click") >= 0 && s;
|
|
47592
|
+
if (!ye) {
|
|
47592
47593
|
if (A.props.interactive) {
|
|
47593
47594
|
A.hideWithInteractivity(ne);
|
|
47594
47595
|
return;
|
|
@@ -47604,7 +47605,7 @@ function pJ(t, e) {
|
|
|
47604
47605
|
}
|
|
47605
47606
|
function bt() {
|
|
47606
47607
|
st();
|
|
47607
|
-
var ne = A.props,
|
|
47608
|
+
var ne = A.props, ye = ne.popperOptions, He = ne.placement, at = ne.offset, tt = ne.getReferenceClientRect, dt = ne.moveTransition, Nt = $() ? zh(y).arrow : null, en = tt ? {
|
|
47608
47609
|
getBoundingClientRect: tt,
|
|
47609
47610
|
contextElement: tt.contextElement || K()
|
|
47610
47611
|
} : t, rn = {
|
|
@@ -47653,7 +47654,7 @@ function pJ(t, e) {
|
|
|
47653
47654
|
element: Nt,
|
|
47654
47655
|
padding: 3
|
|
47655
47656
|
}
|
|
47656
|
-
}), an.push.apply(an, (
|
|
47657
|
+
}), an.push.apply(an, (ye == null ? void 0 : ye.modifiers) || []), A.popperInstance = UZ(en, y, Object.assign({}, ye, {
|
|
47657
47658
|
placement: He,
|
|
47658
47659
|
onFirstUpdate: f,
|
|
47659
47660
|
modifiers: an
|
|
@@ -47663,18 +47664,18 @@ function pJ(t, e) {
|
|
|
47663
47664
|
A.popperInstance && (A.popperInstance.destroy(), A.popperInstance = null);
|
|
47664
47665
|
}
|
|
47665
47666
|
function vt() {
|
|
47666
|
-
var ne = A.props.appendTo,
|
|
47667
|
-
A.props.interactive && ne === xS || ne === "parent" ?
|
|
47667
|
+
var ne = A.props.appendTo, ye, He = K();
|
|
47668
|
+
A.props.interactive && ne === xS || ne === "parent" ? ye = He.parentNode : ye = MS(ne, [He]), ye.contains(y) || ye.appendChild(y), A.state.isMounted = !0, bt();
|
|
47668
47669
|
}
|
|
47669
47670
|
function Ft() {
|
|
47670
47671
|
return Pc(y.querySelectorAll("[data-tippy-root]"));
|
|
47671
47672
|
}
|
|
47672
47673
|
function tn(ne) {
|
|
47673
47674
|
A.clearDelayTimeouts(), ne && se("onTrigger", [A, ne]), Oe();
|
|
47674
|
-
var
|
|
47675
|
-
gr.isTouch && at === "hold" && tt && (
|
|
47675
|
+
var ye = ae(!0), He = x(), at = He[0], tt = He[1];
|
|
47676
|
+
gr.isTouch && at === "hold" && tt && (ye = tt), ye ? i = setTimeout(function() {
|
|
47676
47677
|
A.show();
|
|
47677
|
-
},
|
|
47678
|
+
}, ye) : A.show();
|
|
47678
47679
|
}
|
|
47679
47680
|
function nn(ne) {
|
|
47680
47681
|
if (A.clearDelayTimeouts(), se("onUntrigger", [A, ne]), !A.state.isVisible) {
|
|
@@ -47682,10 +47683,10 @@ function pJ(t, e) {
|
|
|
47682
47683
|
return;
|
|
47683
47684
|
}
|
|
47684
47685
|
if (!(A.props.trigger.indexOf("mouseenter") >= 0 && A.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(ne.type) >= 0 && s)) {
|
|
47685
|
-
var
|
|
47686
|
-
|
|
47686
|
+
var ye = ae(!1);
|
|
47687
|
+
ye ? r = setTimeout(function() {
|
|
47687
47688
|
A.state.isVisible && A.hide();
|
|
47688
|
-
},
|
|
47689
|
+
}, ye) : o = requestAnimationFrame(function() {
|
|
47689
47690
|
A.hide();
|
|
47690
47691
|
});
|
|
47691
47692
|
}
|
|
@@ -47702,12 +47703,12 @@ function pJ(t, e) {
|
|
|
47702
47703
|
function vn(ne) {
|
|
47703
47704
|
if (!A.state.isDestroyed) {
|
|
47704
47705
|
se("onBeforeUpdate", [A, ne]), Ce();
|
|
47705
|
-
var
|
|
47706
|
+
var ye = A.props, He = Ob(t, Object.assign({}, ye, wb(ne), {
|
|
47706
47707
|
ignoreAttributes: !0
|
|
47707
47708
|
}));
|
|
47708
|
-
A.props = He, _(),
|
|
47709
|
+
A.props = He, _(), ye.interactiveDebounce !== He.interactiveDebounce && (Te(), h = bb(j, He.interactiveDebounce)), ye.triggerTarget && !He.triggerTarget ? Bs(ye.triggerTarget).forEach(function(at) {
|
|
47709
47710
|
at.removeAttribute("aria-expanded");
|
|
47710
|
-
}) : He.triggerTarget && t.removeAttribute("aria-expanded"), Re(), he(), C && C(
|
|
47711
|
+
}) : He.triggerTarget && t.removeAttribute("aria-expanded"), Re(), he(), C && C(ye, He), A.popperInstance && (bt(), Ft().forEach(function(at) {
|
|
47711
47712
|
requestAnimationFrame(at._tippy.popperInstance.forceUpdate);
|
|
47712
47713
|
})), se("onAfterUpdate", [A, ne]);
|
|
47713
47714
|
}
|
|
@@ -47718,8 +47719,8 @@ function pJ(t, e) {
|
|
|
47718
47719
|
});
|
|
47719
47720
|
}
|
|
47720
47721
|
function Q() {
|
|
47721
|
-
var ne = A.state.isVisible,
|
|
47722
|
-
if (!(ne ||
|
|
47722
|
+
var ne = A.state.isVisible, ye = A.state.isDestroyed, He = !A.state.isEnabled, at = gr.isTouch && !A.props.touch, tt = Kf(A.props.duration, 0, Qi.duration);
|
|
47723
|
+
if (!(ne || ye || He || at) && !K().hasAttribute("disabled") && (se("onShow", [A], !1), A.props.onShow(A) !== !1)) {
|
|
47723
47724
|
if (A.state.isVisible = !0, $() && (y.style.visibility = "visible"), he(), Oe(), A.state.isMounted || (y.style.transition = "none"), $()) {
|
|
47724
47725
|
var dt = ge(), Nt = dt.box, en = dt.content;
|
|
47725
47726
|
qf([Nt, en], 0);
|
|
@@ -47739,8 +47740,8 @@ function pJ(t, e) {
|
|
|
47739
47740
|
}
|
|
47740
47741
|
}
|
|
47741
47742
|
function Y() {
|
|
47742
|
-
var ne = !A.state.isVisible,
|
|
47743
|
-
if (!(ne ||
|
|
47743
|
+
var ne = !A.state.isVisible, ye = A.state.isDestroyed, He = !A.state.isEnabled, at = Kf(A.props.duration, 1, Qi.duration);
|
|
47744
|
+
if (!(ne || ye || He) && (se("onHide", [A], !1), A.props.onHide(A) !== !1)) {
|
|
47744
47745
|
if (A.state.isVisible = !1, A.state.isShown = !1, u = !1, s = !1, $() && (y.style.visibility = "hidden"), Te(), le(), he(!0), $()) {
|
|
47745
47746
|
var tt = ge(), dt = tt.box, Nt = tt.content;
|
|
47746
47747
|
A.props.animation && (qf([dt, Nt], at), Sb([dt, Nt], "hidden"));
|