@anzusystems/common-admin 1.47.0-beta.dev-1784059875 → 1.47.0-beta.dev-1784059877
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DyULxnGf.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-erQ4AQYw.mjs} +629 -632
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-erQ4AQYw.mjs.map +1 -0
- package/dist/common-admin.d.ts +4 -1
- package/dist/common-admin.js +1322 -1326
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +2 -2
- package/dist/{webfontloader-gIAjo-5y.mjs → webfontloader-ClgDCo5m.mjs} +2 -2
- package/dist/{webfontloader-gIAjo-5y.mjs.map → webfontloader-ClgDCo5m.mjs.map} +1 -1
- package/package.json +10 -10
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DyULxnGf.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Re, openBlock as _, createBlock as te, withCtx as
|
|
2
|
-
import { useEventBus as bt, tryOnBeforeUnmount as Ts, watchDebounced as Ja, useResizeObserver as As, watchThrottled as
|
|
1
|
+
import { defineComponent as Re, openBlock as _, createBlock as te, withCtx as M, createVNode as x, createElementBlock as de, normalizeClass as rt, toDisplayString as ie, createCommentVNode as ve, renderSlot as ke, createElementVNode as Ie, isProxy as ps, toRaw as aa, isRef as Za, unref as L, computed as R, Fragment as We, normalizeStyle as gs, createTextVNode as ge, shallowRef as oa, watch as _e, ref as U, reactive as qt, inject as me, createSlots as nn, withDirectives as la, onMounted as Ko, withModifiers as De, onUnmounted as ys, TransitionGroup as bs, mergeProps as Xe, isVNode as ws, useModel as ct, useTemplateRef as Yt, nextTick as Qe, withKeys as Ya, vModelText as kl, mergeModels as tt, getCurrentInstance as $t, resolveComponent as Dn, resolveDynamicComponent as or, renderList as en, toValue as En, toRef as Cs, onBeforeUnmount as ua, provide as fn, vShow as Ss, effectScope as bo, getCurrentScope as ks, onScopeDispose as Ds, useSlots as Es, shallowReactive as xs, normalizeProps as Dl, guardReactiveProps as El } from "vue";
|
|
2
|
+
import { useEventBus as bt, tryOnBeforeUnmount as Ts, watchDebounced as Ja, useResizeObserver as As, watchThrottled as Ms, defaultDocument as Is, unrefElement as xl, tryOnMounted as $s, tryOnScopeDispose as Fs, useElementSize as Bs, useMediaQuery as lr } from "@vueuse/core";
|
|
3
3
|
import { useI18n as Ye, createI18n as Os } from "vue-i18n";
|
|
4
4
|
import { VAutocomplete as ca } from "vuetify/components/VAutocomplete";
|
|
5
5
|
import { VChip as mn } from "vuetify/components/VChip";
|
|
6
6
|
import { VListItem as mt, VList as za, VListItemTitle as rn } from "vuetify/components/VList";
|
|
7
|
-
import { VCard as
|
|
7
|
+
import { VCard as In, VCardText as Qa, VCardActions as da, VCardTitle as rr } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as fa } from "vuetify/components/VDialog";
|
|
9
9
|
import { VRow as cn, VCol as Ut, VSpacer as $n } from "vuetify/components/VGrid";
|
|
10
10
|
import { VSelect as sr } from "vuetify/components/VSelect";
|
|
@@ -23,8 +23,8 @@ import { VToolbar as Ks, VToolbarTitle as Ws } from "vuetify/components/VToolbar
|
|
|
23
23
|
import { VSwitch as Gs } from "vuetify/components/VSwitch";
|
|
24
24
|
import { defineStore as Xs } from "pinia";
|
|
25
25
|
import vn from "axios";
|
|
26
|
-
import { VProgressCircular as
|
|
27
|
-
import { VTabs as Zs, VTab as
|
|
26
|
+
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
27
|
+
import { VTabs as Zs, VTab as Tl } from "vuetify/components/VTabs";
|
|
28
28
|
import { VAlert as dr } from "vuetify/components/VAlert";
|
|
29
29
|
import { VAvatar as Js } from "vuetify/components/VAvatar";
|
|
30
30
|
import { VBadge as Qs } from "vuetify/components/VBadge";
|
|
@@ -38,15 +38,15 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
38
38
|
},
|
|
39
39
|
setup(e) {
|
|
40
40
|
return (n, t) => (_(), te(cn, { "data-cy": e.dataCy }, {
|
|
41
|
-
default:
|
|
41
|
+
default: M(() => [
|
|
42
42
|
x(Ut, null, {
|
|
43
|
-
default:
|
|
43
|
+
default: M(() => [
|
|
44
44
|
e.title.length ? (_(), de("h4", {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: rt(e.titleClass)
|
|
47
47
|
}, ie(e.title), 3)) : ve("", !0),
|
|
48
48
|
ke(n.$slots, "default", {}, () => [
|
|
49
|
-
|
|
49
|
+
Ie("span", ei, ie(e.value), 1)
|
|
50
50
|
])
|
|
51
51
|
]),
|
|
52
52
|
_: 3
|
|
@@ -55,7 +55,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
55
55
|
_: 3
|
|
56
56
|
}, 8, ["data-cy"]));
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
58
|
+
}), Go = (e, n) => {
|
|
59
59
|
const t = e.__vccOpts || e;
|
|
60
60
|
for (const [a, l] of n)
|
|
61
61
|
t[a] = l;
|
|
@@ -63,7 +63,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
63
63
|
}, F = (e) => typeof e > "u", Ue = (e) => !F(e), se = (e) => e === null, xn = (e) => typeof e == "number", Ge = (e) => typeof e == "string", $e = (e) => Array.isArray(e), Om = (e) => typeof e == "function", yt = (e) => typeof e == "boolean", _m = (e) => Ge(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), Rm = (e) => {
|
|
64
64
|
const n = parseFloat(e);
|
|
65
65
|
return !isNaN(e) && (n | 0) === n;
|
|
66
|
-
}, va = (e) => typeof e == "object" && !$e(e) && !se(e), Zn = (e) => va(e) ? Object.keys(e).length === 0 : !1,
|
|
66
|
+
}, va = (e) => typeof e == "object" && !$e(e) && !se(e), Zn = (e) => va(e) ? Object.keys(e).length === 0 : !1, Po = (e) => $e(e) && e.length === 0, fr = (e) => se(e) || F(e) || e === "" || e === 0 || Po(e) || Zn(e), Ee = (e) => {
|
|
67
67
|
if (typeof structuredClone == "function")
|
|
68
68
|
try {
|
|
69
69
|
return ps(e) ? structuredClone(aa(e)) : Za(e) ? structuredClone(L(e)) : structuredClone(e);
|
|
@@ -119,7 +119,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
119
119
|
const r = /^:([a-zA-Z0-9_-]+).*/, s = l.match(r);
|
|
120
120
|
se(s) || !s[1] || F(n[s[1]]) || (t[o] = n[s[1]] + "");
|
|
121
121
|
}), t.join("/");
|
|
122
|
-
}, Ym = (e) => e.replace(".", "-"), zm = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), eo = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), to = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Hm = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), jm = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"),
|
|
122
|
+
}, Ym = (e) => e.replace(".", "-"), zm = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), eo = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), to = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Hm = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), jm = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), Al = /* @__PURE__ */ Re({
|
|
123
123
|
__name: "AAnzuUserAvatar",
|
|
124
124
|
props: {
|
|
125
125
|
user: { default: void 0 },
|
|
@@ -140,8 +140,8 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
140
140
|
class: rt(["text-uppercase", e.containerClass]),
|
|
141
141
|
size: e.size
|
|
142
142
|
}, {
|
|
143
|
-
default:
|
|
144
|
-
|
|
143
|
+
default: M(() => [
|
|
144
|
+
Ie("div", {
|
|
145
145
|
class: "d-inline-flex text-white font-weight-light",
|
|
146
146
|
style: gs({ fontSize: a.value })
|
|
147
147
|
}, ie(l.value), 5),
|
|
@@ -149,7 +149,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
149
149
|
key: 0,
|
|
150
150
|
activator: "parent"
|
|
151
151
|
}, {
|
|
152
|
-
default:
|
|
152
|
+
default: M(() => [
|
|
153
153
|
ge(ie(e.tooltip), 1)
|
|
154
154
|
]),
|
|
155
155
|
_: 1
|
|
@@ -157,7 +157,7 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
}, 8, ["color", "class", "size"]),
|
|
160
|
-
r[0] || (r[0] =
|
|
160
|
+
r[0] || (r[0] = Ie("div", null, null, -1))
|
|
161
161
|
], 64));
|
|
162
162
|
}
|
|
163
163
|
}), ni = { class: "d-inline-flex" }, ai = { key: 0 }, no = /* @__PURE__ */ Re({
|
|
@@ -194,28 +194,28 @@ const ei = { class: "text-high-emphasis" }, un = /* @__PURE__ */ Re({
|
|
|
194
194
|
"offset-x": -5,
|
|
195
195
|
"offset-y": -5
|
|
196
196
|
}, {
|
|
197
|
-
badge:
|
|
197
|
+
badge: M(() => [
|
|
198
198
|
x(Oe, {
|
|
199
199
|
color: "grey-darken-2",
|
|
200
200
|
size: 14,
|
|
201
201
|
icon: "mdi-crown"
|
|
202
202
|
})
|
|
203
203
|
]),
|
|
204
|
-
default:
|
|
205
|
-
x(
|
|
204
|
+
default: M(() => [
|
|
205
|
+
x(Al, {
|
|
206
206
|
user: t.value ?? void 0,
|
|
207
207
|
size: 20,
|
|
208
208
|
tooltip: s.value
|
|
209
209
|
}, null, 8, ["user", "tooltip"])
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
|
-
})) : (_(), te(
|
|
212
|
+
})) : (_(), te(Al, {
|
|
213
213
|
key: 1,
|
|
214
214
|
user: t.value ?? void 0,
|
|
215
215
|
size: 20,
|
|
216
216
|
tooltip: s.value
|
|
217
217
|
}, null, 8, ["user", "tooltip"]))
|
|
218
|
-
], 64)) : (_(), te(
|
|
218
|
+
], 64)) : (_(), te(Wo, {
|
|
219
219
|
key: 2,
|
|
220
220
|
size: 12,
|
|
221
221
|
width: 2,
|
|
@@ -279,7 +279,7 @@ const jn = {
|
|
|
279
279
|
}, qn = {
|
|
280
280
|
Success: "success",
|
|
281
281
|
Failure: "failure"
|
|
282
|
-
},
|
|
282
|
+
}, Ma = (e, n) => ({
|
|
283
283
|
type: e,
|
|
284
284
|
status: n
|
|
285
285
|
}), gi = /* @__PURE__ */ Symbol(
|
|
@@ -308,7 +308,7 @@ const gr = {
|
|
|
308
308
|
function Ml(e) {
|
|
309
309
|
return e.status === gr.Ok;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Il(e) {
|
|
312
312
|
return e.status === gr.Failed;
|
|
313
313
|
}
|
|
314
314
|
const av = {
|
|
@@ -322,47 +322,44 @@ const av = {
|
|
|
322
322
|
Ok: "ok",
|
|
323
323
|
AlreadyRequested: "alreadyRequested",
|
|
324
324
|
Failed: "failed"
|
|
325
|
-
},
|
|
325
|
+
}, Lo = U({
|
|
326
326
|
enabled: !1,
|
|
327
327
|
socketUrl: "",
|
|
328
328
|
beforeReconnect: () => new Promise((e) => e())
|
|
329
329
|
});
|
|
330
330
|
function rv(e) {
|
|
331
|
-
F(e) || (
|
|
331
|
+
F(e) || (Lo.value = e);
|
|
332
332
|
}
|
|
333
333
|
function Fn() {
|
|
334
|
-
if (F(
|
|
334
|
+
if (F(Lo.value))
|
|
335
335
|
throw new Error("Composable can't be used without properly configured common admin.");
|
|
336
336
|
return {
|
|
337
|
-
collabOptions:
|
|
337
|
+
collabOptions: Lo
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
const
|
|
340
|
+
const $l = U(!0), wi = U(), Ci = qt(/* @__PURE__ */ new Map());
|
|
341
341
|
let Si = 0;
|
|
342
|
-
const
|
|
342
|
+
const Fl = /* @__PURE__ */ new Map(), ki = qt(/* @__PURE__ */ new Map()), Co = qt(
|
|
343
343
|
/* @__PURE__ */ new Map()
|
|
344
344
|
);
|
|
345
345
|
function Di() {
|
|
346
346
|
const { collabOptions: e } = Fn();
|
|
347
347
|
return {
|
|
348
|
-
collabReconnecting: R(() => e.value.enabled &&
|
|
349
|
-
collabConnected:
|
|
348
|
+
collabReconnecting: R(() => e.value.enabled && !$l.value),
|
|
349
|
+
collabConnected: $l,
|
|
350
350
|
collabSocket: wi,
|
|
351
351
|
collabRoomInfoState: Ci,
|
|
352
|
-
claimRoomInfoWrite: (
|
|
353
|
-
const
|
|
354
|
-
return
|
|
355
|
-
},
|
|
356
|
-
resetRoomInfoWrites: () => {
|
|
357
|
-
Co.clear();
|
|
352
|
+
claimRoomInfoWrite: (l) => {
|
|
353
|
+
const o = ++Si;
|
|
354
|
+
return Fl.set(l, o), () => Fl.get(l) === o;
|
|
358
355
|
},
|
|
359
356
|
collabFieldLocksState: ki,
|
|
360
|
-
collabFieldDataBufferState:
|
|
361
|
-
gatherBufferData: (
|
|
362
|
-
pr().emit({ room:
|
|
363
|
-
let
|
|
364
|
-
const
|
|
365
|
-
return
|
|
357
|
+
collabFieldDataBufferState: Co,
|
|
358
|
+
gatherBufferData: (l) => {
|
|
359
|
+
pr().emit({ room: l });
|
|
360
|
+
let r = {};
|
|
361
|
+
const s = Co.get(l);
|
|
362
|
+
return s && (r = aa(Object.fromEntries(s.entries())), Co.delete(l)), r;
|
|
366
363
|
}
|
|
367
364
|
};
|
|
368
365
|
}
|
|
@@ -420,10 +417,10 @@ function ao(e, n, t = !1) {
|
|
|
420
417
|
V,
|
|
421
418
|
(b, h) => {
|
|
422
419
|
const v = { field: n, room: e };
|
|
423
|
-
if (b ||
|
|
420
|
+
if (b || Il(h))
|
|
424
421
|
return void C.emit(
|
|
425
422
|
v,
|
|
426
|
-
|
|
423
|
+
Ma(
|
|
427
424
|
jn.Acquire,
|
|
428
425
|
qn.Failure
|
|
429
426
|
)
|
|
@@ -435,7 +432,7 @@ function ao(e, n, t = !1) {
|
|
|
435
432
|
r.get(e)?.set(D, B);
|
|
436
433
|
return void C.emit(
|
|
437
434
|
v,
|
|
438
|
-
|
|
435
|
+
Ma(
|
|
439
436
|
jn.Acquire,
|
|
440
437
|
qn.Success
|
|
441
438
|
)
|
|
@@ -459,10 +456,10 @@ function ao(e, n, t = !1) {
|
|
|
459
456
|
O,
|
|
460
457
|
(h, v) => {
|
|
461
458
|
const w = { field: n, room: e };
|
|
462
|
-
if (h ||
|
|
459
|
+
if (h || Il(v))
|
|
463
460
|
return void C.emit(
|
|
464
461
|
w,
|
|
465
|
-
|
|
462
|
+
Ma(
|
|
466
463
|
jn.Release,
|
|
467
464
|
qn.Failure
|
|
468
465
|
)
|
|
@@ -473,7 +470,7 @@ function ao(e, n, t = !1) {
|
|
|
473
470
|
r.get(e)?.delete(D);
|
|
474
471
|
return void C.emit(
|
|
475
472
|
w,
|
|
476
|
-
|
|
473
|
+
Ma(
|
|
477
474
|
jn.Release,
|
|
478
475
|
qn.Success
|
|
479
476
|
)
|
|
@@ -532,10 +529,10 @@ const xi = {
|
|
|
532
529
|
acquireCollabFieldLock: k,
|
|
533
530
|
addCollabFieldLockStatusListener: $,
|
|
534
531
|
addCollabGatheringBufferDataListener: H,
|
|
535
|
-
lockedByUser:
|
|
532
|
+
lockedByUser: I
|
|
536
533
|
} = ao(a.collab.room, a.collab.field);
|
|
537
534
|
s.value = A, i.value = k, _e(
|
|
538
|
-
|
|
535
|
+
I,
|
|
539
536
|
(N) => {
|
|
540
537
|
u.value = N;
|
|
541
538
|
},
|
|
@@ -586,7 +583,7 @@ const xi = {
|
|
|
586
583
|
}, nn({ _: 2 }, [
|
|
587
584
|
e.hideLabel ? void 0 : {
|
|
588
585
|
name: "label",
|
|
589
|
-
fn:
|
|
586
|
+
fn: M(() => [
|
|
590
587
|
ge(ie(m.value), 1),
|
|
591
588
|
g.value ? (_(), de("span", xi)) : ve("", !0)
|
|
592
589
|
]),
|
|
@@ -594,7 +591,7 @@ const xi = {
|
|
|
594
591
|
},
|
|
595
592
|
u.value ? {
|
|
596
593
|
name: "append-inner",
|
|
597
|
-
fn:
|
|
594
|
+
fn: M(() => [
|
|
598
595
|
ke(A.$slots, "locked", { userId: u.value }, () => [
|
|
599
596
|
e.collab ? (_(), te(no, {
|
|
600
597
|
key: 0,
|
|
@@ -607,14 +604,14 @@ const xi = {
|
|
|
607
604
|
} : void 0,
|
|
608
605
|
A.$slots.prepend ? {
|
|
609
606
|
name: "prepend",
|
|
610
|
-
fn:
|
|
607
|
+
fn: M(() => [
|
|
611
608
|
ke(A.$slots, "prepend")
|
|
612
609
|
]),
|
|
613
610
|
key: "2"
|
|
614
611
|
} : void 0,
|
|
615
612
|
e.help ? {
|
|
616
613
|
name: "append",
|
|
617
|
-
fn:
|
|
614
|
+
fn: M(() => [
|
|
618
615
|
la(x(Oe, { icon: "mdi-help-circle-outline" }, null, 512), [
|
|
619
616
|
[cr, e.help]
|
|
620
617
|
])
|
|
@@ -651,10 +648,10 @@ function sv(e) {
|
|
|
651
648
|
showPagination: R(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
652
649
|
};
|
|
653
650
|
}
|
|
654
|
-
const
|
|
651
|
+
const Mi = ["createdAt", "modifiedAt"], iv = "_score", uv = "id", cv = "score_date", dv = "score_best", Ht = {
|
|
655
652
|
Asc: "asc",
|
|
656
653
|
Desc: "desc"
|
|
657
|
-
},
|
|
654
|
+
}, Ii = {
|
|
658
655
|
key: "",
|
|
659
656
|
title: void 0,
|
|
660
657
|
sortable: !1,
|
|
@@ -666,8 +663,8 @@ function fv(e, n, t = void 0, a = void 0, l = !1, o = void 0, r = void 0, s = vo
|
|
|
666
663
|
for (const m of Object.keys(d))
|
|
667
664
|
m in o && (d[m] = o[m]);
|
|
668
665
|
const C = e.map((m) => {
|
|
669
|
-
const g = { ...
|
|
670
|
-
return F(g.title) && (F(g.title) &&
|
|
666
|
+
const g = { ...Ii, ...m };
|
|
667
|
+
return F(g.title) && (F(g.title) && Mi.includes(g.key) ? g.title = c("common.model.tracking." + g.key) : F(g.title) && t && a ? g.title = c(t + "." + a + ".model." + g.key) : g.title = ""), g;
|
|
671
668
|
}), y = R(() => {
|
|
672
669
|
const m = [];
|
|
673
670
|
return s && m.push({ key: "data-table-expand", sortable: !1 }), C.forEach((g) => {
|
|
@@ -688,7 +685,7 @@ function fv(e, n, t = void 0, a = void 0, l = !1, o = void 0, r = void 0, s = vo
|
|
|
688
685
|
}, f = (m) => {
|
|
689
686
|
!i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: m }));
|
|
690
687
|
};
|
|
691
|
-
return
|
|
688
|
+
return Ko(() => {
|
|
692
689
|
p();
|
|
693
690
|
}), _e(n, (m) => {
|
|
694
691
|
f(m);
|
|
@@ -700,7 +697,7 @@ function fv(e, n, t = void 0, a = void 0, l = !1, o = void 0, r = void 0, s = vo
|
|
|
700
697
|
pagination: d
|
|
701
698
|
};
|
|
702
699
|
}
|
|
703
|
-
const
|
|
700
|
+
const Xo = /* @__PURE__ */ Re({
|
|
704
701
|
__name: "ADialogToolbar",
|
|
705
702
|
emits: ["onCancel"],
|
|
706
703
|
setup(e, { emit: n }) {
|
|
@@ -711,9 +708,9 @@ const Zo = /* @__PURE__ */ Re({
|
|
|
711
708
|
density: "compact",
|
|
712
709
|
color: "transparent"
|
|
713
710
|
}, {
|
|
714
|
-
default:
|
|
711
|
+
default: M(() => [
|
|
715
712
|
x(Ws, { class: "flex-fill" }, {
|
|
716
|
-
default:
|
|
713
|
+
default: M(() => [
|
|
717
714
|
ke(l.$slots, "default")
|
|
718
715
|
]),
|
|
719
716
|
_: 3
|
|
@@ -760,14 +757,14 @@ function $i(e) {
|
|
|
760
757
|
});
|
|
761
758
|
} };
|
|
762
759
|
}
|
|
763
|
-
const Cn = $i(),
|
|
760
|
+
const Cn = $i(), So = "[-+]?[0-9]*.?[0-9]+", Rl = [
|
|
764
761
|
{
|
|
765
762
|
name: "px",
|
|
766
|
-
regexp: new RegExp(`^${
|
|
763
|
+
regexp: new RegExp(`^${So}px$`)
|
|
767
764
|
},
|
|
768
765
|
{
|
|
769
766
|
name: "%",
|
|
770
|
-
regexp: new RegExp(`^${
|
|
767
|
+
regexp: new RegExp(`^${So}%$`)
|
|
771
768
|
},
|
|
772
769
|
/**
|
|
773
770
|
* Fallback option
|
|
@@ -775,7 +772,7 @@ const Cn = $i(), ko = "[-+]?[0-9]*.?[0-9]+", Rl = [
|
|
|
775
772
|
*/
|
|
776
773
|
{
|
|
777
774
|
name: "px",
|
|
778
|
-
regexp: new RegExp(`^${
|
|
775
|
+
regexp: new RegExp(`^${So}$`)
|
|
779
776
|
}
|
|
780
777
|
], Fi = (e) => {
|
|
781
778
|
if (e === "auto")
|
|
@@ -813,7 +810,7 @@ const Cn = $i(), ko = "[-+]?[0-9]*.?[0-9]+", Rl = [
|
|
|
813
810
|
return e.forEach((a) => {
|
|
814
811
|
Pl.y.has(a) && (t = a), Pl.x.has(a) && (n = a);
|
|
815
812
|
}), { x: n, y: t };
|
|
816
|
-
},
|
|
813
|
+
}, ko = {
|
|
817
814
|
position: ["top", "right"],
|
|
818
815
|
cssAnimation: "vn-fade",
|
|
819
816
|
velocityAnimation: {
|
|
@@ -841,7 +838,7 @@ const Cn = $i(), ko = "[-+]?[0-9]*.?[0-9]+", Rl = [
|
|
|
841
838
|
function Li(e) {
|
|
842
839
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ws(e);
|
|
843
840
|
}
|
|
844
|
-
const
|
|
841
|
+
const Ia = {
|
|
845
842
|
IDLE: 0,
|
|
846
843
|
DESTROYED: 2
|
|
847
844
|
}, Ni = /* @__PURE__ */ Re({
|
|
@@ -866,7 +863,7 @@ const Ma = {
|
|
|
866
863
|
},
|
|
867
864
|
position: {
|
|
868
865
|
type: [String, Array],
|
|
869
|
-
default: () =>
|
|
866
|
+
default: () => ko.position
|
|
870
867
|
},
|
|
871
868
|
classes: {
|
|
872
869
|
type: [String, Array],
|
|
@@ -882,12 +879,12 @@ const Ma = {
|
|
|
882
879
|
animation: {
|
|
883
880
|
type: Object,
|
|
884
881
|
default() {
|
|
885
|
-
return
|
|
882
|
+
return ko.velocityAnimation;
|
|
886
883
|
}
|
|
887
884
|
},
|
|
888
885
|
animationName: {
|
|
889
886
|
type: String,
|
|
890
|
-
default:
|
|
887
|
+
default: ko.cssAnimation
|
|
891
888
|
},
|
|
892
889
|
speed: {
|
|
893
890
|
type: Number,
|
|
@@ -937,45 +934,45 @@ const Ma = {
|
|
|
937
934
|
slots: t,
|
|
938
935
|
expose: a
|
|
939
936
|
}) => {
|
|
940
|
-
const l = U([]), o = yr.get("velocity"), r = R(() => e.animationType === "velocity"), s = R(() => l.value.filter((
|
|
937
|
+
const l = U([]), o = yr.get("velocity"), r = R(() => e.animationType === "velocity"), s = R(() => l.value.filter((I) => I.state !== Ia.DESTROYED)), i = R(() => Bi(e.width)), u = R(() => {
|
|
941
938
|
const {
|
|
942
|
-
x:
|
|
939
|
+
x: I,
|
|
943
940
|
y: N
|
|
944
941
|
} = Ri(e.position), K = i.value.value, V = i.value.type, O = {
|
|
945
942
|
width: K + V
|
|
946
943
|
};
|
|
947
|
-
return N && (O[N] = "0px"),
|
|
944
|
+
return N && (O[N] = "0px"), I && (I === "center" ? O.left = `calc(50% - ${+K / 2}${V})` : O[I] = "0px"), O;
|
|
948
945
|
}), c = R(() => r.value ? {
|
|
949
946
|
onEnter: k,
|
|
950
947
|
onLeave: $,
|
|
951
948
|
onAfterLeave: H
|
|
952
|
-
} : {}), d = (
|
|
953
|
-
n("click",
|
|
954
|
-
}, C = (
|
|
949
|
+
} : {}), d = (I) => {
|
|
950
|
+
n("click", I), e.closeOnClick && g(I);
|
|
951
|
+
}, C = (I) => {
|
|
955
952
|
var N;
|
|
956
|
-
e.pauseOnHover && ((N =
|
|
957
|
-
}, y = (
|
|
953
|
+
e.pauseOnHover && ((N = I.timer) == null || N.stop());
|
|
954
|
+
}, y = (I) => {
|
|
958
955
|
var N;
|
|
959
|
-
e.pauseOnHover && ((N =
|
|
960
|
-
}, E = (
|
|
961
|
-
if (
|
|
956
|
+
e.pauseOnHover && ((N = I.timer) == null || N.start());
|
|
957
|
+
}, E = (I = {}) => {
|
|
958
|
+
if (I.group || (I.group = ""), I.data || (I.data = {}), e.group !== I.group)
|
|
962
959
|
return;
|
|
963
|
-
if (
|
|
960
|
+
if (I.clean || I.clear) {
|
|
964
961
|
P();
|
|
965
962
|
return;
|
|
966
963
|
}
|
|
967
|
-
const N = typeof
|
|
964
|
+
const N = typeof I.duration == "number" ? I.duration : e.duration, K = typeof I.speed == "number" ? I.speed : e.speed, V = typeof I.ignoreDuplicates == "boolean" ? I.ignoreDuplicates : e.ignoreDuplicates, {
|
|
968
965
|
title: O,
|
|
969
966
|
text: b,
|
|
970
967
|
type: h,
|
|
971
968
|
data: v,
|
|
972
969
|
id: w
|
|
973
|
-
} =
|
|
970
|
+
} = I, D = {
|
|
974
971
|
id: w || Oi(),
|
|
975
972
|
title: O,
|
|
976
973
|
text: b,
|
|
977
974
|
type: h,
|
|
978
|
-
state:
|
|
975
|
+
state: Ia.IDLE,
|
|
979
976
|
speed: K,
|
|
980
977
|
length: N + 2 * K,
|
|
981
978
|
data: v,
|
|
@@ -984,50 +981,50 @@ const Ma = {
|
|
|
984
981
|
N >= 0 && (D.timer = Pi(() => g(D), D.length));
|
|
985
982
|
const B = "bottom" in u.value, j = e.reverse ? !B : B;
|
|
986
983
|
let J = -1;
|
|
987
|
-
const le = s.value.find((re) => re.title ===
|
|
984
|
+
const le = s.value.find((re) => re.title === I.title && re.text === I.text);
|
|
988
985
|
if (V && le) {
|
|
989
986
|
le.duplicates++;
|
|
990
987
|
return;
|
|
991
988
|
}
|
|
992
989
|
j ? (l.value.push(D), n("start", D), s.value.length > e.max && (J = 0)) : (l.value.unshift(D), n("start", D), s.value.length > e.max && (J = s.value.length - 1)), J !== -1 && g(s.value[J]);
|
|
993
|
-
}, p = (
|
|
994
|
-
T(
|
|
995
|
-
}, f = (
|
|
996
|
-
transition: `all ${
|
|
997
|
-
}, g = (
|
|
990
|
+
}, p = (I) => {
|
|
991
|
+
T(I);
|
|
992
|
+
}, f = (I) => ["vue-notification-template", e.classes, I.type || ""], m = (I) => r.value ? void 0 : {
|
|
993
|
+
transition: `all ${I.speed}ms`
|
|
994
|
+
}, g = (I) => {
|
|
998
995
|
var N;
|
|
999
|
-
(N =
|
|
1000
|
-
}, T = (
|
|
1001
|
-
const N = l.value.find((K) => K.id ===
|
|
996
|
+
(N = I.timer) == null || N.stop(), I.state = Ia.DESTROYED, H(), n("destroy", I);
|
|
997
|
+
}, T = (I) => {
|
|
998
|
+
const N = l.value.find((K) => K.id === I);
|
|
1002
999
|
N && g(N);
|
|
1003
1000
|
}, P = () => {
|
|
1004
1001
|
s.value.forEach(g);
|
|
1005
|
-
}, A = (
|
|
1002
|
+
}, A = (I, N) => {
|
|
1006
1003
|
var K;
|
|
1007
|
-
const V = (K = e.animation) == null ? void 0 : K[
|
|
1004
|
+
const V = (K = e.animation) == null ? void 0 : K[I];
|
|
1008
1005
|
return typeof V == "function" ? V(N) : V;
|
|
1009
|
-
}, k = (
|
|
1010
|
-
const K = A("enter",
|
|
1011
|
-
o(
|
|
1006
|
+
}, k = (I, N) => {
|
|
1007
|
+
const K = A("enter", I);
|
|
1008
|
+
o(I, K, {
|
|
1012
1009
|
duration: e.speed,
|
|
1013
1010
|
complete: N
|
|
1014
1011
|
});
|
|
1015
|
-
}, $ = (
|
|
1016
|
-
const K = A("leave",
|
|
1017
|
-
o(
|
|
1012
|
+
}, $ = (I, N) => {
|
|
1013
|
+
const K = A("leave", I);
|
|
1014
|
+
o(I, K, {
|
|
1018
1015
|
duration: e.speed,
|
|
1019
1016
|
complete: N
|
|
1020
1017
|
});
|
|
1021
1018
|
};
|
|
1022
1019
|
function H() {
|
|
1023
|
-
l.value = l.value.filter((
|
|
1020
|
+
l.value = l.value.filter((I) => I.state !== Ia.DESTROYED);
|
|
1024
1021
|
}
|
|
1025
|
-
return
|
|
1022
|
+
return Ko(() => {
|
|
1026
1023
|
Cn.on("add", E), Cn.on("close", p);
|
|
1027
1024
|
}), ys(() => {
|
|
1028
1025
|
Cn.off("add", E), Cn.off("close", p);
|
|
1029
1026
|
}), () => {
|
|
1030
|
-
let
|
|
1027
|
+
let I;
|
|
1031
1028
|
return x("div", {
|
|
1032
1029
|
class: "vue-notification-group",
|
|
1033
1030
|
style: u.value
|
|
@@ -1035,7 +1032,7 @@ const Ma = {
|
|
|
1035
1032
|
tag: "div",
|
|
1036
1033
|
css: !r.value,
|
|
1037
1034
|
name: e.animationName
|
|
1038
|
-
}), Li(
|
|
1035
|
+
}), Li(I = s.value.map((N) => x("div", {
|
|
1039
1036
|
key: N.id,
|
|
1040
1037
|
class: "vue-notification-wrapper",
|
|
1041
1038
|
style: m(N),
|
|
@@ -1059,8 +1056,8 @@ const Ma = {
|
|
|
1059
1056
|
class: "notification-title"
|
|
1060
1057
|
}, [N.title]) : null, x("div", {
|
|
1061
1058
|
class: "notification-content"
|
|
1062
|
-
}, [N.text])])])]))) ?
|
|
1063
|
-
default: () => [
|
|
1059
|
+
}, [N.text])])])]))) ? I : {
|
|
1060
|
+
default: () => [I]
|
|
1064
1061
|
})]);
|
|
1065
1062
|
};
|
|
1066
1063
|
}
|
|
@@ -1085,7 +1082,7 @@ class Ft extends Error {
|
|
|
1085
1082
|
super(a), this.name = "AnzuFatalError", this.cause = n, this.message = a;
|
|
1086
1083
|
}
|
|
1087
1084
|
}
|
|
1088
|
-
const zi = 200, Hi = 201, br = 202, Bn = 204, vv = 400, hv = 401, ji = 403, pv = 404,
|
|
1085
|
+
const zi = 200, Hi = 201, br = 202, Bn = 204, vv = 400, hv = 401, ji = 403, pv = 404, Zo = 422, qi = [
|
|
1089
1086
|
zi,
|
|
1090
1087
|
Hi,
|
|
1091
1088
|
br,
|
|
@@ -1096,7 +1093,7 @@ class On extends Error {
|
|
|
1096
1093
|
super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
|
|
1097
1094
|
}
|
|
1098
1095
|
}
|
|
1099
|
-
const Wi = "validation_failed", pa = (e) => vn.isAxiosError(e) && e.response?.status ===
|
|
1096
|
+
const Wi = "validation_failed", pa = (e) => vn.isAxiosError(e) && e.response?.status === Zo && e.response.data?.error === Wi && e.response.data?.fields, wr = (e) => e instanceof _n, Gi = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
|
|
1100
1097
|
function Xi(e, n, t) {
|
|
1101
1098
|
const a = e.response?.data, l = [];
|
|
1102
1099
|
for (const [o, r] of Object.entries(a.fields))
|
|
@@ -1113,7 +1110,7 @@ class _n extends Error {
|
|
|
1113
1110
|
super(s), this.name = "AnzuApiValidationError", this.cause = l, this.message = s, this.fields = r;
|
|
1114
1111
|
}
|
|
1115
1112
|
}
|
|
1116
|
-
const
|
|
1113
|
+
const Jo = (e) => e instanceof Rn;
|
|
1117
1114
|
class Rn extends Error {
|
|
1118
1115
|
code;
|
|
1119
1116
|
constructor(n, t, a) {
|
|
@@ -1121,7 +1118,7 @@ class Rn extends Error {
|
|
|
1121
1118
|
super(l), this.name = "AnzuApiResponseCodeError", this.cause = t, this.code = n;
|
|
1122
1119
|
}
|
|
1123
1120
|
}
|
|
1124
|
-
const Zi = "forbidden_operation_error", ga = (e) => vn.isAxiosError(e) && e.response?.status ===
|
|
1121
|
+
const Zi = "forbidden_operation_error", ga = (e) => vn.isAxiosError(e) && e.response?.status === Zo && e.response.data?.error === Zi && e.response.data?.detail, Ji = (e) => e instanceof Pn;
|
|
1125
1122
|
function Qi(e) {
|
|
1126
1123
|
return (e.response?.data).detail;
|
|
1127
1124
|
}
|
|
@@ -1131,7 +1128,7 @@ class Pn extends Error {
|
|
|
1131
1128
|
super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = Qi(n);
|
|
1132
1129
|
}
|
|
1133
1130
|
}
|
|
1134
|
-
const eu = "dependency_exists_error", ya = (e) => vn.isAxiosError(e) && e.response?.status ===
|
|
1131
|
+
const eu = "dependency_exists_error", ya = (e) => vn.isAxiosError(e) && e.response?.status === Zo && e.response.data?.error === eu && e.response.data?.dependencies, tu = (e) => e instanceof Ln;
|
|
1135
1132
|
function nu(e) {
|
|
1136
1133
|
return (e.response?.data).dependencies;
|
|
1137
1134
|
}
|
|
@@ -1141,14 +1138,14 @@ class Ln extends Error {
|
|
|
1141
1138
|
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = l, this.message = o, this.dependencies = nu(n);
|
|
1142
1139
|
}
|
|
1143
1140
|
}
|
|
1144
|
-
const au = (e) => e instanceof
|
|
1145
|
-
class
|
|
1141
|
+
const au = (e) => e instanceof Qo, Cr = (e) => vn.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
|
|
1142
|
+
class Qo extends Error {
|
|
1146
1143
|
constructor(n = void 0) {
|
|
1147
1144
|
super("API request timed out"), this.name = "AnzuApiTimeoutError", this.cause = n;
|
|
1148
1145
|
}
|
|
1149
1146
|
}
|
|
1150
|
-
const ou = (e) => e instanceof
|
|
1151
|
-
class
|
|
1147
|
+
const ou = (e) => e instanceof el;
|
|
1148
|
+
class el extends Error {
|
|
1152
1149
|
constructor(n) {
|
|
1153
1150
|
super("API request failed"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1154
1151
|
}
|
|
@@ -1218,9 +1215,9 @@ function Nn() {
|
|
|
1218
1215
|
let $ = "";
|
|
1219
1216
|
g ? $ += f[k].field : P(f[k].field) ? $ += T(f[k].field) : f[k].field.includes("[") ? $ += p(f[k].field) : $ += f[k].field.split(".").at(-1);
|
|
1220
1217
|
const H = /* @__PURE__ */ new Set();
|
|
1221
|
-
for (let
|
|
1222
|
-
if (P("error.apiValidation." + f[k].errors[
|
|
1223
|
-
H.add(T("error.apiValidation." + f[k].errors[
|
|
1218
|
+
for (let I = 0; I < f[k].errors.length; I++) {
|
|
1219
|
+
if (P("error.apiValidation." + f[k].errors[I])) {
|
|
1220
|
+
H.add(T("error.apiValidation." + f[k].errors[I]));
|
|
1224
1221
|
continue;
|
|
1225
1222
|
}
|
|
1226
1223
|
H.add(T("error.apiValidation.noTranslation"));
|
|
@@ -1258,7 +1255,7 @@ function Nn() {
|
|
|
1258
1255
|
duration: f * 1e3,
|
|
1259
1256
|
type: "error"
|
|
1260
1257
|
});
|
|
1261
|
-
}, E = (f, m = -1) => Ki(f) ? (y(m), !0) : wr(f) ? (c(f.fields, m), !0) : tu(f) ? (a("error.apiDependencyExists.message", m), !0) : Ji(f) ? (d(f.detail, m), !0) : au(f) ? (a("error.apiTimedOut.message", m), !0) : ou(f) || Yi(f) ||
|
|
1258
|
+
}, E = (f, m = -1) => Ki(f) ? (y(m), !0) : wr(f) ? (c(f.fields, m), !0) : tu(f) ? (a("error.apiDependencyExists.message", m), !0) : Ji(f) ? (d(f.detail, m), !0) : au(f) ? (a("error.apiTimedOut.message", m), !0) : ou(f) || Yi(f) || Jo(f) ? (C(m), !0) : !1, p = (f) => {
|
|
1262
1259
|
const { t: m } = He.global, g = f.split("["), T = g[0].trim(), P = g[1].split("]"), A = P[0], k = P[1] ?? "";
|
|
1263
1260
|
return m(T) + "[" + A + "]: " + m(T.slice(0, -1) + k);
|
|
1264
1261
|
};
|
|
@@ -1280,7 +1277,7 @@ function Nn() {
|
|
|
1280
1277
|
showErrorsDefault: E
|
|
1281
1278
|
};
|
|
1282
1279
|
}
|
|
1283
|
-
function
|
|
1280
|
+
function tl(e) {
|
|
1284
1281
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1285
1282
|
}
|
|
1286
1283
|
var _a = { exports: {} }, ru = _a.exports, Ll;
|
|
@@ -1312,7 +1309,7 @@ function su() {
|
|
|
1312
1309
|
k[A] = g;
|
|
1313
1310
|
var $ = "$isDayjsObject", H = function(b) {
|
|
1314
1311
|
return b instanceof V || !(!b || !b[$]);
|
|
1315
|
-
},
|
|
1312
|
+
}, I = function b(h, v, w) {
|
|
1316
1313
|
var D;
|
|
1317
1314
|
if (!h) return A;
|
|
1318
1315
|
if (typeof h == "string") {
|
|
@@ -1330,12 +1327,12 @@ function su() {
|
|
|
1330
1327
|
var v = typeof h == "object" ? h : {};
|
|
1331
1328
|
return v.date = b, v.args = arguments, new V(v);
|
|
1332
1329
|
}, K = P;
|
|
1333
|
-
K.l =
|
|
1330
|
+
K.l = I, K.i = H, K.w = function(b, h) {
|
|
1334
1331
|
return N(b, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
|
|
1335
1332
|
};
|
|
1336
1333
|
var V = (function() {
|
|
1337
1334
|
function b(v) {
|
|
1338
|
-
this.$L =
|
|
1335
|
+
this.$L = I(v.locale, null, !0), this.parse(v), this.$x = this.$x || v.x || {}, this[$] = !0;
|
|
1339
1336
|
}
|
|
1340
1337
|
var h = b.prototype;
|
|
1341
1338
|
return h.parse = function(v) {
|
|
@@ -1535,7 +1532,7 @@ function su() {
|
|
|
1535
1532
|
return k[this.$L];
|
|
1536
1533
|
}, h.locale = function(v, w) {
|
|
1537
1534
|
if (!v) return this.$L;
|
|
1538
|
-
var D = this.clone(), B =
|
|
1535
|
+
var D = this.clone(), B = I(v, w, !0);
|
|
1539
1536
|
return B && (D.$L = B), D;
|
|
1540
1537
|
}, h.clone = function() {
|
|
1541
1538
|
return K.w(this.$d, this);
|
|
@@ -1555,14 +1552,14 @@ function su() {
|
|
|
1555
1552
|
};
|
|
1556
1553
|
})), N.extend = function(b, h) {
|
|
1557
1554
|
return b.$i || (b(h, V, N), b.$i = !0), N;
|
|
1558
|
-
}, N.locale =
|
|
1555
|
+
}, N.locale = I, N.isDayjs = H, N.unix = function(b) {
|
|
1559
1556
|
return N(1e3 * b);
|
|
1560
1557
|
}, N.en = k[A], N.Ls = k, N.p = {}, N;
|
|
1561
1558
|
}));
|
|
1562
1559
|
})(_a)), _a.exports;
|
|
1563
1560
|
}
|
|
1564
1561
|
var iu = su();
|
|
1565
|
-
const
|
|
1562
|
+
const Me = /* @__PURE__ */ tl(iu);
|
|
1566
1563
|
var Ra = { exports: {} }, uu = Ra.exports, Nl;
|
|
1567
1564
|
function cu() {
|
|
1568
1565
|
return Nl || (Nl = 1, (function(e, n) {
|
|
@@ -1600,8 +1597,8 @@ function cu() {
|
|
|
1600
1597
|
A === void 0 && (A = "");
|
|
1601
1598
|
var k = A.match(a);
|
|
1602
1599
|
if (!k) return null;
|
|
1603
|
-
var $ = ("" + k[0]).match(l) || ["-", 0, 0], H = $[0],
|
|
1604
|
-
return
|
|
1600
|
+
var $ = ("" + k[0]).match(l) || ["-", 0, 0], H = $[0], I = 60 * +$[1] + +$[2];
|
|
1601
|
+
return I === 0 ? 0 : H === "+" ? I : -I;
|
|
1605
1602
|
})(p), p === null)) return this;
|
|
1606
1603
|
var g = Math.abs(p) <= 16 ? 60 * p : p;
|
|
1607
1604
|
if (g === 0) return this.utc(f);
|
|
@@ -1639,7 +1636,7 @@ function cu() {
|
|
|
1639
1636
|
})(Ra)), Ra.exports;
|
|
1640
1637
|
}
|
|
1641
1638
|
var du = cu();
|
|
1642
|
-
const Sr = /* @__PURE__ */
|
|
1639
|
+
const Sr = /* @__PURE__ */ tl(du);
|
|
1643
1640
|
var Pa = { exports: {} }, fu = Pa.exports, Vl;
|
|
1644
1641
|
function mu() {
|
|
1645
1642
|
return Vl || (Vl = 1, (function(e, n) {
|
|
@@ -1707,8 +1704,8 @@ function mu() {
|
|
|
1707
1704
|
return h || v.slice(1);
|
|
1708
1705
|
}));
|
|
1709
1706
|
}))).match(a), P = T.length, A = 0; A < P; A += 1) {
|
|
1710
|
-
var k = T[A], $ = E[k], H = $ && $[0],
|
|
1711
|
-
T[A] =
|
|
1707
|
+
var k = T[A], $ = E[k], H = $ && $[0], I = $ && $[1];
|
|
1708
|
+
T[A] = I ? { regex: H, parser: I } : k.replace(/^\[|\]$/g, "");
|
|
1712
1709
|
}
|
|
1713
1710
|
return function(N) {
|
|
1714
1711
|
for (var K = {}, V = 0, O = 0; V < P; V += 1) {
|
|
@@ -1734,8 +1731,8 @@ function mu() {
|
|
|
1734
1731
|
T.parse = function(A) {
|
|
1735
1732
|
var k = A.date, $ = A.utc, H = A.args;
|
|
1736
1733
|
this.$u = $;
|
|
1737
|
-
var
|
|
1738
|
-
if (typeof
|
|
1734
|
+
var I = H[1];
|
|
1735
|
+
if (typeof I == "string") {
|
|
1739
1736
|
var N = H[2] === !0, K = H[3] === !0, V = N || K, O = H[2];
|
|
1740
1737
|
K && (O = H[2]), i = this.$locale(), !N && O && (i = g.Ls[O]), this.$d = (function(w, D, B, j) {
|
|
1741
1738
|
try {
|
|
@@ -1747,9 +1744,9 @@ function mu() {
|
|
|
1747
1744
|
} catch {
|
|
1748
1745
|
return /* @__PURE__ */ new Date("");
|
|
1749
1746
|
}
|
|
1750
|
-
})(k,
|
|
1751
|
-
} else if (
|
|
1752
|
-
H[1] =
|
|
1747
|
+
})(k, I, $, g), this.init(), O && O !== !0 && (this.$L = this.locale(O).$L), V && k != this.format(I) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
|
|
1748
|
+
} else if (I instanceof Array) for (var b = I.length, h = 1; h <= b; h += 1) {
|
|
1749
|
+
H[1] = I[h - 1];
|
|
1753
1750
|
var v = g.apply(this, H);
|
|
1754
1751
|
if (v.isValid()) {
|
|
1755
1752
|
this.$d = v.$d, this.$L = v.$L, this.init();
|
|
@@ -1764,27 +1761,27 @@ function mu() {
|
|
|
1764
1761
|
})(Pa)), Pa.exports;
|
|
1765
1762
|
}
|
|
1766
1763
|
var vu = mu();
|
|
1767
|
-
const kr = /* @__PURE__ */
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
const tn = ".000000Z", Ha = "YYYY-MM-DDTHH:mm:ss", oo = "1970-01-01T00:00:00.000000Z", lo = "2100-01-01T00:00:00.000000Z", gv = () =>
|
|
1764
|
+
const kr = /* @__PURE__ */ tl(vu);
|
|
1765
|
+
Me.extend(Sr);
|
|
1766
|
+
Me.extend(kr);
|
|
1767
|
+
const tn = ".000000Z", Ha = "YYYY-MM-DDTHH:mm:ss", oo = "1970-01-01T00:00:00.000000Z", lo = "2100-01-01T00:00:00.000000Z", gv = () => Me().utc().toDate(), hu = (e) => Me(e).toDate(), yv = () => mr(Me().utc().unix()), ia = (e = !0, n = !1) => e && !n ? Me().utc().format("YYYY-MM-DDTHH:mm:ss") + tn : e && n ? Me().utc().format("YYYY-MM-DDTHH:mm:00") + tn : !e && n ? Me().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : Me().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", bv = (e = 0) => e === 0 ? Me().startOf("day").utc().format(Ha) + tn : Me().add(e, "days").startOf("day").utc().format(Ha) + tn, wv = (e = 0) => e === 0 ? Me().endOf("day").utc().format(Ha) + tn : Me().add(e, "days").endOf("day").utc().format(Ha) + tn, pu = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? Me(n).add(e, "minutes").toDate() : e < 0 ? Me(n).subtract(Math.abs(e), "minutes").toDate() : n), No = (e, n = tn) => Me(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Cv = () => Me().utc().format("YYYY"), Kn = (e, n = "", t = !1) => e === lo || e === oo || e === "" || se(e) || F(e) ? n : Me(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Sv = (e, n = "", t = !1) => {
|
|
1771
1768
|
if (e === lo || e === oo || e === "" || se(e) || F(e))
|
|
1772
1769
|
return n;
|
|
1773
1770
|
let a = !0, l = !0;
|
|
1774
|
-
const o =
|
|
1775
|
-
return r.format("YYYY") === o.format("YYYY") && (a = !1), r.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (l = !1), !a && !l ?
|
|
1776
|
-
}, kv = (e, n = "") => e === lo || e === oo || e === "" || se(e) || F(e) ? n :
|
|
1777
|
-
const a =
|
|
1771
|
+
const o = Me(e), r = Me();
|
|
1772
|
+
return r.format("YYYY") === o.format("YYYY") && (a = !1), r.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (l = !1), !a && !l ? Me(o).format(t ? "H:mm:ss" : "H:mm") : a ? Me(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : Me(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
|
|
1773
|
+
}, kv = (e, n = "") => e === lo || e === oo || e === "" || se(e) || F(e) ? n : Me(e).format("DD.MM.YYYY"), Dv = (e, n = "") => e === lo || e === oo || e === "" || se(e) || F(e) ? n : Me(e).format("HH:mm"), Ev = (e, n, t = "ms") => {
|
|
1774
|
+
const a = Me(e), l = Me(n);
|
|
1778
1775
|
return a.diff(l, t);
|
|
1779
|
-
},
|
|
1776
|
+
}, Do = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), gu = (e, n, t = 0, a = !1) => {
|
|
1780
1777
|
const l = new Date(e);
|
|
1781
1778
|
l.setMonth(l.getMonth() + t), l.setDate(1), l.setHours(0, 0, 0, 0);
|
|
1782
1779
|
const o = new Date(e);
|
|
1783
1780
|
return a ? o.setMonth(o.getMonth() + 1, 0) : o.setMonth(o.getMonth() + t + 1, 0), o.setHours(23, 59, 59, 999), n === "utc" ? {
|
|
1784
|
-
from:
|
|
1785
|
-
until:
|
|
1781
|
+
from: No(l),
|
|
1782
|
+
until: No(o)
|
|
1786
1783
|
} : { from: l, until: o };
|
|
1787
|
-
},
|
|
1784
|
+
}, Eo = gu, ro = (e) => {
|
|
1788
1785
|
e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
|
|
1789
1786
|
}, Dr = /* @__PURE__ */ Re({
|
|
1790
1787
|
__name: "AFilterSubmitButton",
|
|
@@ -1807,7 +1804,7 @@ const tn = ".000000Z", Ha = "YYYY-MM-DDTHH:mm:ss", oo = "1970-01-01T00:00:00.000
|
|
|
1807
1804
|
variant: e.touched ? "flat" : "text",
|
|
1808
1805
|
onClick: l
|
|
1809
1806
|
}, {
|
|
1810
|
-
default:
|
|
1807
|
+
default: M(() => [
|
|
1811
1808
|
ge(ie(L(a)(e.buttonT)), 1)
|
|
1812
1809
|
]),
|
|
1813
1810
|
_: 1
|
|
@@ -1832,7 +1829,7 @@ const tn = ".000000Z", Ha = "YYYY-MM-DDTHH:mm:ss", oo = "1970-01-01T00:00:00.000
|
|
|
1832
1829
|
variant: "flat",
|
|
1833
1830
|
onClick: De(a, ["stop"])
|
|
1834
1831
|
}, {
|
|
1835
|
-
default:
|
|
1832
|
+
default: M(() => [
|
|
1836
1833
|
x(Oe, {
|
|
1837
1834
|
color: "grey-darken-1",
|
|
1838
1835
|
icon: "mdi-filter-remove-outline"
|
|
@@ -1841,7 +1838,7 @@ const tn = ".000000Z", Ha = "YYYY-MM-DDTHH:mm:ss", oo = "1970-01-01T00:00:00.000
|
|
|
1841
1838
|
activator: "parent",
|
|
1842
1839
|
location: "bottom"
|
|
1843
1840
|
}, {
|
|
1844
|
-
default:
|
|
1841
|
+
default: M(() => [
|
|
1845
1842
|
ge(ie(L(l)(e.tooltipT)), 1)
|
|
1846
1843
|
]),
|
|
1847
1844
|
_: 1
|
|
@@ -1891,7 +1888,7 @@ function Av(e, n, t = ".") {
|
|
|
1891
1888
|
const ba = (e, n, t = "") => Zn(n) ? e : ti(
|
|
1892
1889
|
t === "" ? e : t,
|
|
1893
1890
|
n
|
|
1894
|
-
), wa = (e) => qi.includes(e),
|
|
1891
|
+
), wa = (e) => qi.includes(e), Mv = (e, n, t = {}, a, l, o = {}) => new Promise((r, s) => {
|
|
1895
1892
|
e().get(ba(n, t), o).then((i) => wa(i.status) ? i.data ? r(i.data) : i.status === Bn ? r(null) : s(new Ft()) : s(new Rn(i.status))).catch((i) => ha(i) ? s(new On(i, i.config?.url)) : pa(i) ? s(new _n(i, a, l, i)) : ya(i) ? s(new Ln(i, a, l, i)) : ga(i) ? s(new Pn(i, i)) : s(new Ft(i)));
|
|
1896
1893
|
}), { t: wu } = He.global;
|
|
1897
1894
|
function Cu() {
|
|
@@ -1921,15 +1918,15 @@ function Tu() {
|
|
|
1921
1918
|
});
|
|
1922
1919
|
}
|
|
1923
1920
|
const { t: Au } = He.global;
|
|
1924
|
-
function
|
|
1921
|
+
function Mu() {
|
|
1925
1922
|
return wt({ t: Au })(Vs, {
|
|
1926
1923
|
withArguments: !0,
|
|
1927
1924
|
messagePath: () => "error.jsValidation.minLength"
|
|
1928
1925
|
});
|
|
1929
1926
|
}
|
|
1930
|
-
const { t:
|
|
1927
|
+
const { t: Iu } = He.global;
|
|
1931
1928
|
function $u() {
|
|
1932
|
-
return wt({ t:
|
|
1929
|
+
return wt({ t: Iu })(Us, {
|
|
1933
1930
|
withArguments: !0,
|
|
1934
1931
|
messagePath: () => "error.jsValidation.minValue"
|
|
1935
1932
|
});
|
|
@@ -2017,11 +2014,11 @@ function ju() {
|
|
|
2017
2014
|
messagePath: (a) => `error.jsValidation.datesCompare.${a.$params.variant}`
|
|
2018
2015
|
});
|
|
2019
2016
|
}
|
|
2020
|
-
function
|
|
2017
|
+
function nl() {
|
|
2021
2018
|
return {
|
|
2022
2019
|
required: _u(),
|
|
2023
2020
|
requiredIf: Pu(),
|
|
2024
|
-
minLength:
|
|
2021
|
+
minLength: Mu(),
|
|
2025
2022
|
maxLength: Eu(),
|
|
2026
2023
|
minValue: $u(),
|
|
2027
2024
|
maxValue: Tu(),
|
|
@@ -2122,17 +2119,17 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2122
2119
|
};
|
|
2123
2120
|
return _e([o, r], ([A, k], [$, H]) => {
|
|
2124
2121
|
if (A === $ && k === H) return;
|
|
2125
|
-
const
|
|
2122
|
+
const I = parseInt(
|
|
2126
2123
|
A ?? (l.value ? l.value.hours.toString() : "12")
|
|
2127
2124
|
), N = parseInt(
|
|
2128
2125
|
k ?? (l.value ? l.value.minutes.toString() : "0")
|
|
2129
2126
|
);
|
|
2130
|
-
|
|
2127
|
+
I >= 0 && I <= 23 && N >= 0 && N <= 59 && (l.value = { hours: I, minutes: N });
|
|
2131
2128
|
}), n({
|
|
2132
2129
|
focusHour: P
|
|
2133
2130
|
}), (A, k) => (_(), de("div", qu, [
|
|
2134
|
-
|
|
2135
|
-
la(
|
|
2131
|
+
Ie("div", Ku, [
|
|
2132
|
+
la(Ie("input", {
|
|
2136
2133
|
ref_key: "hoursRefInput",
|
|
2137
2134
|
ref: s,
|
|
2138
2135
|
"onUpdate:modelValue": k[0] || (k[0] = ($) => u.value = $),
|
|
@@ -2146,16 +2143,16 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2146
2143
|
onBlur: C,
|
|
2147
2144
|
onKeyup: Ya(E, ["enter"])
|
|
2148
2145
|
}, null, 544), [
|
|
2149
|
-
[
|
|
2146
|
+
[kl, u.value]
|
|
2150
2147
|
]),
|
|
2151
|
-
|
|
2148
|
+
Ie("div", Wu, [
|
|
2152
2149
|
x(Pe, {
|
|
2153
2150
|
tabindex: "-1",
|
|
2154
2151
|
variant: "text",
|
|
2155
2152
|
class: "a-datetime-picker-time__arrow-up",
|
|
2156
2153
|
onClick: f
|
|
2157
2154
|
}, {
|
|
2158
|
-
default:
|
|
2155
|
+
default: M(() => [
|
|
2159
2156
|
x(Oe, { icon: "mdi-chevron-up" })
|
|
2160
2157
|
]),
|
|
2161
2158
|
_: 1
|
|
@@ -2166,16 +2163,16 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2166
2163
|
class: "a-datetime-picker-time__arrow-down",
|
|
2167
2164
|
onClick: m
|
|
2168
2165
|
}, {
|
|
2169
|
-
default:
|
|
2166
|
+
default: M(() => [
|
|
2170
2167
|
x(Oe, { icon: "mdi-chevron-down" })
|
|
2171
2168
|
]),
|
|
2172
2169
|
_: 1
|
|
2173
2170
|
})
|
|
2174
2171
|
])
|
|
2175
2172
|
]),
|
|
2176
|
-
k[2] || (k[2] =
|
|
2177
|
-
|
|
2178
|
-
la(
|
|
2173
|
+
k[2] || (k[2] = Ie("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
|
|
2174
|
+
Ie("div", Gu, [
|
|
2175
|
+
la(Ie("input", {
|
|
2179
2176
|
ref_key: "minutesRefInput",
|
|
2180
2177
|
ref: i,
|
|
2181
2178
|
"onUpdate:modelValue": k[1] || (k[1] = ($) => c.value = $),
|
|
@@ -2189,16 +2186,16 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2189
2186
|
onBlur: y,
|
|
2190
2187
|
onKeyup: Ya(p, ["enter"])
|
|
2191
2188
|
}, null, 544), [
|
|
2192
|
-
[
|
|
2189
|
+
[kl, c.value]
|
|
2193
2190
|
]),
|
|
2194
|
-
|
|
2191
|
+
Ie("div", Xu, [
|
|
2195
2192
|
x(Pe, {
|
|
2196
2193
|
tabindex: "-1",
|
|
2197
2194
|
variant: "text",
|
|
2198
2195
|
class: "a-datetime-picker-time__arrow-up",
|
|
2199
2196
|
onClick: g
|
|
2200
2197
|
}, {
|
|
2201
|
-
default:
|
|
2198
|
+
default: M(() => [
|
|
2202
2199
|
x(Oe, { icon: "mdi-chevron-up" })
|
|
2203
2200
|
]),
|
|
2204
2201
|
_: 1
|
|
@@ -2209,7 +2206,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2209
2206
|
class: "a-datetime-picker-time__arrow-down",
|
|
2210
2207
|
onClick: T
|
|
2211
2208
|
}, {
|
|
2212
|
-
default:
|
|
2209
|
+
default: M(() => [
|
|
2213
2210
|
x(Oe, { icon: "mdi-chevron-down" })
|
|
2214
2211
|
]),
|
|
2215
2212
|
_: 1
|
|
@@ -2218,7 +2215,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2218
2215
|
])
|
|
2219
2216
|
]));
|
|
2220
2217
|
}
|
|
2221
|
-
}), Ju = /* @__PURE__ */
|
|
2218
|
+
}), Ju = /* @__PURE__ */ Go(Zu, [["__scopeId", "data-v-4d56d16e"]]), Qu = { class: "d-flex" }, ec = { class: "ml-1" }, tc = {
|
|
2222
2219
|
key: 0,
|
|
2223
2220
|
class: "required"
|
|
2224
2221
|
}, nc = /* @__PURE__ */ Re({
|
|
@@ -2242,8 +2239,8 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2242
2239
|
emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
|
|
2243
2240
|
setup(e, { emit: n }) {
|
|
2244
2241
|
const t = e, a = n;
|
|
2245
|
-
|
|
2246
|
-
const l = U(!1), o = U(0), r = U(0), s = Yt("timePickerInstance"), i = Yt("inputInstance"), u = Yt("confirmRefButton"), c = U(""), d = U(null), C = U(null), y = U(null), { t: E } = Ye(), p = R(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } =
|
|
2242
|
+
Me.extend(Sr), Me.extend(kr);
|
|
2243
|
+
const l = U(!1), o = U(0), r = U(0), s = Yt("timePickerInstance"), i = Yt("inputInstance"), u = Yt("confirmRefButton"), c = U(""), d = U(null), C = U(null), y = U(null), { t: E } = Ye(), p = R(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } = nl(), m = R(() => ({
|
|
2247
2244
|
textFieldValue: {
|
|
2248
2245
|
required: f(t.required)
|
|
2249
2246
|
}
|
|
@@ -2260,7 +2257,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2260
2257
|
y.value = null;
|
|
2261
2258
|
return;
|
|
2262
2259
|
}
|
|
2263
|
-
t.lastMinuteMoment ? y.value =
|
|
2260
|
+
t.lastMinuteMoment ? y.value = Me(w, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : y.value = Me(w, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
|
|
2264
2261
|
}
|
|
2265
2262
|
},
|
|
2266
2263
|
{ immediate: !0 }
|
|
@@ -2268,7 +2265,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2268
2265
|
const k = (w, D) => se(w) ? D : D.set("date", w.getDate()).set("month", w.getMonth()).set("year", w.getFullYear()), $ = (w, D) => se(w) ? D : D.set("hour", w.hours).set("minute", w.minutes);
|
|
2269
2266
|
_e([C, d], ([w, D]) => {
|
|
2270
2267
|
let B = null;
|
|
2271
|
-
se(y.value) ? se(t.modelValue) ? t.lastMinuteMoment ? B =
|
|
2268
|
+
se(y.value) ? se(t.modelValue) ? t.lastMinuteMoment ? B = Me().hour(0).minute(0).second(59).millisecond(999) : B = Me().hour(0).minute(0).second(0).millisecond(0) : B = Me(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : B = y.value, B = $(w, B), B = k(D, B), !B.isSame(aa(y.value)) && (y.value = B);
|
|
2272
2269
|
}), _e(
|
|
2273
2270
|
y,
|
|
2274
2271
|
(w) => {
|
|
@@ -2282,24 +2279,24 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2282
2279
|
{ immediate: !0 }
|
|
2283
2280
|
), _e(l, (w) => {
|
|
2284
2281
|
if (w) {
|
|
2285
|
-
|
|
2282
|
+
I(), se(y.value) && (se(t.defaultValue) || F(t.defaultValue)) && (t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0)), Qe(() => {
|
|
2286
2283
|
o.value++;
|
|
2287
2284
|
}), a("onOpen");
|
|
2288
2285
|
return;
|
|
2289
2286
|
}
|
|
2290
2287
|
a("onClose");
|
|
2291
2288
|
});
|
|
2292
|
-
const H = R(() => Ue(t.errorMessages) ? t.errorMessages : g.value.textFieldValue.$errors.length ? [g.value.textFieldValue.$errors.map((w) => w.$message).join(" ")] : []),
|
|
2289
|
+
const H = R(() => Ue(t.errorMessages) ? t.errorMessages : g.value.textFieldValue.$errors.length ? [g.value.textFieldValue.$errors.map((w) => w.$message).join(" ")] : []), I = () => {
|
|
2293
2290
|
const w = c.value.replace(/[^\s\d.:]/g, "").trim();
|
|
2294
2291
|
if (w.length === 0 && !t.required) {
|
|
2295
|
-
!se(t.defaultValue) && !F(t.defaultValue) ? y.value =
|
|
2292
|
+
!se(t.defaultValue) && !F(t.defaultValue) ? y.value = Me(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : y.value = null, a("blur");
|
|
2296
2293
|
return;
|
|
2297
2294
|
}
|
|
2298
|
-
const D =
|
|
2295
|
+
const D = Me(w, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
|
|
2299
2296
|
if (D.isValid()) {
|
|
2300
2297
|
let B = 0;
|
|
2301
2298
|
if (!se(t.modelValue)) {
|
|
2302
|
-
const J =
|
|
2299
|
+
const J = Me(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
|
|
2303
2300
|
J.isValid() && (B = J.second());
|
|
2304
2301
|
}
|
|
2305
2302
|
const j = D.second(B);
|
|
@@ -2312,7 +2309,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2312
2309
|
y.value = null, d.value = null, C.value = null, a("afterClear");
|
|
2313
2310
|
return;
|
|
2314
2311
|
}
|
|
2315
|
-
y.value =
|
|
2312
|
+
y.value = Me(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
|
|
2316
2313
|
}, K = () => {
|
|
2317
2314
|
l.value = !1, i.value?.focus(), i.value?.blur(), a("onClose"), a("blur");
|
|
2318
2315
|
}, V = () => {
|
|
@@ -2324,7 +2321,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2324
2321
|
}, h = () => {
|
|
2325
2322
|
s.value?.focusHour();
|
|
2326
2323
|
}, v = () => {
|
|
2327
|
-
t.lastMinuteMoment ? y.value =
|
|
2324
|
+
t.lastMinuteMoment ? y.value = Me().second(59).millisecond(999) : y.value = Me().second(0).millisecond(0), Qe(() => {
|
|
2328
2325
|
o.value++, r.value++;
|
|
2329
2326
|
});
|
|
2330
2327
|
};
|
|
@@ -2340,11 +2337,11 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2340
2337
|
"hide-details": "auto",
|
|
2341
2338
|
disabled: e.disabled,
|
|
2342
2339
|
autocomplete: "off",
|
|
2343
|
-
onBlur:
|
|
2340
|
+
onBlur: I,
|
|
2344
2341
|
onFocus: V,
|
|
2345
|
-
onKeyup: Ya(
|
|
2342
|
+
onKeyup: Ya(I, ["enter"])
|
|
2346
2343
|
}, nn({
|
|
2347
|
-
"append-inner":
|
|
2344
|
+
"append-inner": M(() => [
|
|
2348
2345
|
e.clearable && e.defaultValue !== e.modelValue ? (_(), te(Oe, {
|
|
2349
2346
|
key: 0,
|
|
2350
2347
|
class: "a-datetime-picker__clearable-icon",
|
|
@@ -2359,16 +2356,16 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2359
2356
|
"model-value": l.value,
|
|
2360
2357
|
"onUpdate:modelValue": D[2] || (D[2] = (B) => l.value = B)
|
|
2361
2358
|
}, {
|
|
2362
|
-
activator:
|
|
2359
|
+
activator: M(({ props: B }) => [
|
|
2363
2360
|
x(Oe, Xe({
|
|
2364
2361
|
class: "a-datetime-picker__calendar-icon",
|
|
2365
2362
|
icon: "mdi-calendar",
|
|
2366
2363
|
size: "small"
|
|
2367
2364
|
}, B), null, 16)
|
|
2368
2365
|
]),
|
|
2369
|
-
default:
|
|
2370
|
-
l.value ? (_(), te(
|
|
2371
|
-
default:
|
|
2366
|
+
default: M(() => [
|
|
2367
|
+
l.value ? (_(), te(In, { key: 0 }, {
|
|
2368
|
+
default: M(() => [
|
|
2372
2369
|
la((_(), te(Pe, {
|
|
2373
2370
|
icon: "",
|
|
2374
2371
|
variant: "text",
|
|
@@ -2377,7 +2374,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2377
2374
|
class: "position-absolute top-0 right-0",
|
|
2378
2375
|
onClick: De(K, ["stop"])
|
|
2379
2376
|
}, {
|
|
2380
|
-
default:
|
|
2377
|
+
default: M(() => [
|
|
2381
2378
|
x(Oe, {
|
|
2382
2379
|
icon: "mdi-close",
|
|
2383
2380
|
color: "white"
|
|
@@ -2404,14 +2401,14 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2404
2401
|
onOnEnterKeyup: O,
|
|
2405
2402
|
onFocusConfirm: b
|
|
2406
2403
|
}, null, 8, ["modelValue"])),
|
|
2407
|
-
|
|
2408
|
-
|
|
2404
|
+
Ie("div", Qu, [
|
|
2405
|
+
Ie("button", {
|
|
2409
2406
|
type: "button",
|
|
2410
2407
|
class: "a-datetime-picker__bottom-button",
|
|
2411
2408
|
tabindex: "8",
|
|
2412
2409
|
onClick: v
|
|
2413
2410
|
}, ie(L(E)("common.time.now")), 1),
|
|
2414
|
-
|
|
2411
|
+
Ie("button", {
|
|
2415
2412
|
ref_key: "confirmRefButton",
|
|
2416
2413
|
ref: u,
|
|
2417
2414
|
type: "button",
|
|
@@ -2426,7 +2423,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2426
2423
|
]),
|
|
2427
2424
|
_: 1
|
|
2428
2425
|
}, 8, ["model-value"])),
|
|
2429
|
-
|
|
2426
|
+
Ie("div", ec, [
|
|
2430
2427
|
ke(w.$slots, "append-inner", {}, void 0, !0)
|
|
2431
2428
|
])
|
|
2432
2429
|
]),
|
|
@@ -2434,7 +2431,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2434
2431
|
}, [
|
|
2435
2432
|
e.hideLabel ? void 0 : {
|
|
2436
2433
|
name: "label",
|
|
2437
|
-
fn:
|
|
2434
|
+
fn: M(() => [
|
|
2438
2435
|
ge(ie(e.label), 1),
|
|
2439
2436
|
e.required ? (_(), de("span", tc)) : ve("", !0)
|
|
2440
2437
|
]),
|
|
@@ -2442,7 +2439,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2442
2439
|
}
|
|
2443
2440
|
]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
|
|
2444
2441
|
}
|
|
2445
|
-
}), xr = /* @__PURE__ */
|
|
2442
|
+
}), xr = /* @__PURE__ */ Go(nc, [["__scopeId", "data-v-2afc2324"]]), Ul = /* @__PURE__ */ Re({
|
|
2446
2443
|
__name: "AFormDatetimePicker",
|
|
2447
2444
|
props: {
|
|
2448
2445
|
modelValue: {},
|
|
@@ -2469,8 +2466,8 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2469
2466
|
}), i = U(() => {
|
|
2470
2467
|
}), u = U(null);
|
|
2471
2468
|
if (o.value.enabled && Ue(t.collab)) {
|
|
2472
|
-
const { releaseCollabFieldLock: $, changeCollabFieldData: H, acquireCollabFieldLock:
|
|
2473
|
-
r.value = $, s.value = H, i.value =
|
|
2469
|
+
const { releaseCollabFieldLock: $, changeCollabFieldData: H, acquireCollabFieldLock: I, lockedByUser: N } = ao(t.collab.room, t.collab.field);
|
|
2470
|
+
r.value = $, s.value = H, i.value = I, _e(
|
|
2474
2471
|
N,
|
|
2475
2472
|
(K) => {
|
|
2476
2473
|
u.value = K;
|
|
@@ -2496,7 +2493,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2496
2493
|
$ !== H && o.value.enabled && (d.value || c.value) && s.value($);
|
|
2497
2494
|
}), ($, H) => (_(), te(xr, Xe({
|
|
2498
2495
|
modelValue: l.value,
|
|
2499
|
-
"onUpdate:modelValue": H[0] || (H[0] = (
|
|
2496
|
+
"onUpdate:modelValue": H[0] || (H[0] = (I) => l.value = I),
|
|
2500
2497
|
"data-cy": e.dataCy,
|
|
2501
2498
|
"error-messages": T.value,
|
|
2502
2499
|
required: A.value,
|
|
@@ -2509,7 +2506,7 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2509
2506
|
onOnOpen: C,
|
|
2510
2507
|
onOnClose: y
|
|
2511
2508
|
}), {
|
|
2512
|
-
"append-inner":
|
|
2509
|
+
"append-inner": M(() => [
|
|
2513
2510
|
ke($.$slots, "locked", { userId: u.value }, () => [
|
|
2514
2511
|
e.collab ? (_(), te(no, {
|
|
2515
2512
|
key: 0,
|
|
@@ -2571,14 +2568,14 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2571
2568
|
}, nn({ _: 2 }, [
|
|
2572
2569
|
e.hideLabel ? void 0 : {
|
|
2573
2570
|
name: "label",
|
|
2574
|
-
fn:
|
|
2571
|
+
fn: M(() => [
|
|
2575
2572
|
ge(ie(e.label), 1)
|
|
2576
2573
|
]),
|
|
2577
2574
|
key: "0"
|
|
2578
2575
|
},
|
|
2579
2576
|
s.value ? {
|
|
2580
2577
|
name: "append",
|
|
2581
|
-
fn:
|
|
2578
|
+
fn: M(() => [
|
|
2582
2579
|
ke(y.$slots, "locked", { userId: s.value }, () => [
|
|
2583
2580
|
e.collab ? (_(), te(no, {
|
|
2584
2581
|
key: 0,
|
|
@@ -2591,19 +2588,19 @@ const qu = { class: "a-datetime-picker-time" }, Ku = { class: "a-datetime-picker
|
|
|
2591
2588
|
} : void 0
|
|
2592
2589
|
]), 1032, ["data-cy", "model-value", "disabled"]));
|
|
2593
2590
|
}
|
|
2594
|
-
}), zl = U(1),
|
|
2591
|
+
}), zl = U(1), xo = U(!1);
|
|
2595
2592
|
function ac() {
|
|
2596
2593
|
return {
|
|
2597
2594
|
setStoredPage: (a) => {
|
|
2598
2595
|
zl.value = a;
|
|
2599
2596
|
},
|
|
2600
2597
|
setPreservePage: () => {
|
|
2601
|
-
|
|
2598
|
+
xo.value = !0;
|
|
2602
2599
|
},
|
|
2603
|
-
consumeStoredPage: () =>
|
|
2600
|
+
consumeStoredPage: () => xo.value ? (xo.value = !1, zl.value) : null
|
|
2604
2601
|
};
|
|
2605
2602
|
}
|
|
2606
|
-
const
|
|
2603
|
+
const To = "_sort", oc = {
|
|
2607
2604
|
skip: !1,
|
|
2608
2605
|
selected: !0,
|
|
2609
2606
|
xs: void 0,
|
|
@@ -2714,7 +2711,7 @@ function Tr(e, n, t = {}) {
|
|
|
2714
2711
|
for (const g in e)
|
|
2715
2712
|
try {
|
|
2716
2713
|
const T = g, P = e[T];
|
|
2717
|
-
!F(P) && !se(P) && !
|
|
2714
|
+
!F(P) && !se(P) && !Po(P) && P !== n.fields[T].default && (m[g] = P);
|
|
2718
2715
|
} catch {
|
|
2719
2716
|
}
|
|
2720
2717
|
return m;
|
|
@@ -2722,9 +2719,9 @@ function Tr(e, n, t = {}) {
|
|
|
2722
2719
|
const P = new URLSearchParams();
|
|
2723
2720
|
for (const A in m) {
|
|
2724
2721
|
const k = m[A];
|
|
2725
|
-
F(k) || se(k) || $e(k) &&
|
|
2722
|
+
F(k) || se(k) || $e(k) && Po(k) || va(k) && Zn(k) || Ge(k) && k.length === 0 || ($e(k) ? P.set(A, k.join(",")) : P.set(A, String(k)));
|
|
2726
2723
|
}
|
|
2727
|
-
return T && g.value.sortBy && P.set(
|
|
2724
|
+
return T && g.value.sortBy && P.set(To, `${g.value.sortBy.key},${g.value.sortBy.order}`), P.size === 0 ? "" : P.toString() + l;
|
|
2728
2725
|
}, i = (m) => {
|
|
2729
2726
|
if (!m) return null;
|
|
2730
2727
|
if (m.startsWith("#") && (m = m.substring(1)), m.endsWith(l))
|
|
@@ -2738,10 +2735,10 @@ function Tr(e, n, t = {}) {
|
|
|
2738
2735
|
}
|
|
2739
2736
|
const g = new URLSearchParams(m), T = {};
|
|
2740
2737
|
let P = null;
|
|
2741
|
-
const A = g.get(
|
|
2738
|
+
const A = g.get(To);
|
|
2742
2739
|
if (A) {
|
|
2743
2740
|
const [k, $] = A.split(",");
|
|
2744
|
-
k && ($ === Ht.Asc || $ === Ht.Desc) && (P = { key: k, order: $ }), g.delete(
|
|
2741
|
+
k && ($ === Ht.Asc || $ === Ht.Desc) && (P = { key: k, order: $ }), g.delete(To);
|
|
2745
2742
|
}
|
|
2746
2743
|
for (const [k, $] of g.entries()) {
|
|
2747
2744
|
const H = n.fields[k];
|
|
@@ -2777,18 +2774,18 @@ function Tr(e, n, t = {}) {
|
|
|
2777
2774
|
}
|
|
2778
2775
|
for (const $ in e) {
|
|
2779
2776
|
const H = $;
|
|
2780
|
-
let
|
|
2781
|
-
if (!F(
|
|
2782
|
-
if (Ge(
|
|
2783
|
-
const N = vr(
|
|
2777
|
+
let I = A.filters[H];
|
|
2778
|
+
if (!F(I)) {
|
|
2779
|
+
if (Ge(I)) {
|
|
2780
|
+
const N = vr(I);
|
|
2784
2781
|
if (!se(N))
|
|
2785
|
-
|
|
2782
|
+
I = N;
|
|
2786
2783
|
else {
|
|
2787
|
-
const K = hr(
|
|
2788
|
-
se(K) || (
|
|
2784
|
+
const K = hr(I);
|
|
2785
|
+
se(K) || (I = K);
|
|
2789
2786
|
}
|
|
2790
2787
|
}
|
|
2791
|
-
e[H] =
|
|
2788
|
+
e[H] = I;
|
|
2792
2789
|
}
|
|
2793
2790
|
}
|
|
2794
2791
|
if (P === "localStorage" && o && localStorage) {
|
|
@@ -2867,7 +2864,7 @@ function ic(e = void 0) {
|
|
|
2867
2864
|
};
|
|
2868
2865
|
}
|
|
2869
2866
|
function uc(e) {
|
|
2870
|
-
const { datesCompare: n, required: t } =
|
|
2867
|
+
const { datesCompare: n, required: t } = nl(), a = R(() => e.value.from), l = R(() => e.value.until), o = {
|
|
2871
2868
|
dialogData: {
|
|
2872
2869
|
from: {
|
|
2873
2870
|
required: t,
|
|
@@ -2902,15 +2899,15 @@ function cc() {
|
|
|
2902
2899
|
const T = ia(), P = hu(T);
|
|
2903
2900
|
switch (m) {
|
|
2904
2901
|
case _t.CurrentMonth:
|
|
2905
|
-
return
|
|
2902
|
+
return Eo(P, "utc", 0, !1);
|
|
2906
2903
|
case _t.LastMonth:
|
|
2907
|
-
return
|
|
2904
|
+
return Eo(P, "utc", -1, !1);
|
|
2908
2905
|
case _t.Last3Months:
|
|
2909
|
-
return
|
|
2906
|
+
return Eo(P, "utc", -2, !0);
|
|
2910
2907
|
default:
|
|
2911
2908
|
if (xn(m))
|
|
2912
2909
|
return {
|
|
2913
|
-
from:
|
|
2910
|
+
from: No(pu(m * -1, P)),
|
|
2914
2911
|
until: T
|
|
2915
2912
|
};
|
|
2916
2913
|
}
|
|
@@ -3016,7 +3013,7 @@ const dc = (e) => va(e) && Object.hasOwn(e, "totalCount"), fc = (e) => va(e) &&
|
|
|
3016
3013
|
} catch (g) {
|
|
3017
3014
|
if (g instanceof DOMException && g.name === "AbortError")
|
|
3018
3015
|
return [];
|
|
3019
|
-
throw
|
|
3016
|
+
throw Jo(g) ? g : ha(g) ? new On(g, g.config?.url) : pa(g) ? new _n(g, t, a, g) : ya(g) ? new Ln(g, t, a, g) : ga(g) ? new Pn(g, g) : Cr(g) ? new Qo(g) : vn.isAxiosError(g) ? (s || console.error("Axios error: " + l, ...g.cause ? [g.cause] : []), new el(g)) : (s || console.error("AnzuFatalError: ", g), new Ft(g));
|
|
3020
3017
|
} finally {
|
|
3021
3018
|
i = null;
|
|
3022
3019
|
}
|
|
@@ -3062,7 +3059,7 @@ function An(e, n = Ht.Desc, t = {}, a) {
|
|
|
3062
3059
|
incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
|
|
3063
3060
|
};
|
|
3064
3061
|
}
|
|
3065
|
-
const
|
|
3062
|
+
const Iv = (e, n = {}, t, a = {}, l, o, r = {}) => new Promise((s, i) => {
|
|
3066
3063
|
e().post(ba(t, a), JSON.stringify(n), r).then((u) => wa(u.status) ? u.data ? s(u.data) : u.status === Bn ? s(null) : i(new Ft()) : i(new Rn(u.status))).catch((u) => ha(u) ? i(new On(u, u.config?.url)) : pa(u) ? i(new _n(u, l, o, u)) : ya(u) ? i(new Ln(u, l, o, u)) : ga(u) ? i(new Pn(u, u)) : i(new Ft(u)));
|
|
3067
3064
|
}), Ct = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), ht = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), so = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), io = /* @__PURE__ */ Symbol.for(
|
|
3068
3065
|
"anzu:FilterInnerConfigKey"
|
|
@@ -3215,7 +3212,7 @@ const Mv = (e, n = {}, t, a = {}, l, o, r = {}) => new Promise((s, i) => {
|
|
|
3215
3212
|
}, A = R(() => y.value.titleT ? T(y.value.titleT) : void 0), { pagination: k } = An(
|
|
3216
3213
|
se(C) ? null : C.key,
|
|
3217
3214
|
C?.order
|
|
3218
|
-
), $ = U([]), H = U([]),
|
|
3215
|
+
), $ = U([]), H = U([]), I = U(!0), N = U(!1), K = R(() => {
|
|
3219
3216
|
const X = /* @__PURE__ */ new Map(), fe = (z) => {
|
|
3220
3217
|
z.forEach((W) => {
|
|
3221
3218
|
X.set(W.value, {
|
|
@@ -3330,7 +3327,7 @@ const Mv = (e, n = {}, t, a = {}, l, o, r = {}) => new Promise((s, i) => {
|
|
|
3330
3327
|
async (X, fe) => {
|
|
3331
3328
|
if (X === fe || yt(X)) return;
|
|
3332
3329
|
const z = X;
|
|
3333
|
-
if (
|
|
3330
|
+
if (I.value && (I.value = !1, await ne()), fr(z)) {
|
|
3334
3331
|
O(z), F(fe) || (g.value++, await w("", g.value));
|
|
3335
3332
|
return;
|
|
3336
3333
|
}
|
|
@@ -3361,20 +3358,20 @@ const Mv = (e, n = {}, t, a = {}, l, o, r = {}) => new Promise((s, i) => {
|
|
|
3361
3358
|
onMouseenter: j,
|
|
3362
3359
|
"onClick:clear": Ce
|
|
3363
3360
|
}, nn({
|
|
3364
|
-
item:
|
|
3361
|
+
item: M(({ props: z, internalItem: W }) => [
|
|
3365
3362
|
x(mt, Xe(z, {
|
|
3366
3363
|
title: W.raw.title,
|
|
3367
3364
|
subtitle: W.raw.subtitle
|
|
3368
3365
|
}), null, 16, ["title", "subtitle"])
|
|
3369
3366
|
]),
|
|
3370
|
-
chip:
|
|
3367
|
+
chip: M(({ props: z, internalItem: W }) => [
|
|
3371
3368
|
x(mn, {
|
|
3372
3369
|
closable: z.closable,
|
|
3373
3370
|
size: "small",
|
|
3374
3371
|
text: `${W.title} (${W.raw.subtitle})`,
|
|
3375
3372
|
disabled: W.props.disabled
|
|
3376
3373
|
}, {
|
|
3377
|
-
default:
|
|
3374
|
+
default: M(() => [
|
|
3378
3375
|
ge(ie(W.raw.title) + " ", 1),
|
|
3379
3376
|
W.raw.subtitle ? (_(), de("span", bc, " (" + ie(W.raw.subtitle) + ") ", 1)) : ve("", !0)
|
|
3380
3377
|
]),
|
|
@@ -3385,7 +3382,7 @@ const Mv = (e, n = {}, t, a = {}, l, o, r = {}) => new Promise((s, i) => {
|
|
|
3385
3382
|
}, [
|
|
3386
3383
|
V.value ? {
|
|
3387
3384
|
name: "no-data",
|
|
3388
|
-
fn:
|
|
3385
|
+
fn: M(() => [
|
|
3389
3386
|
x(mt, {
|
|
3390
3387
|
title: L(T)("$vuetify.loading")
|
|
3391
3388
|
}, null, 8, ["title"])
|
|
@@ -3446,13 +3443,13 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3446
3443
|
}), A.value.forEach((Z) => {
|
|
3447
3444
|
Z.raw ? (ne.set(Z.raw[t.itemValue], Z.raw[t.itemTitle]), he.set(Z.raw[t.itemValue], Ee(Z.raw))) : (ne.set(Z[t.itemValue], Z[t.itemTitle]), he.set(Z[t.itemValue], Ee(Z)));
|
|
3448
3445
|
}), Array.from(ne, ([Z, ee]) => ({ value: Z, title: ee, raw: he.get(Z) }));
|
|
3449
|
-
}), H = U(!1), { showErrorsDefault:
|
|
3446
|
+
}), H = U(!1), { showErrorsDefault: I } = Nn(), N = async (ne, he) => {
|
|
3450
3447
|
H.value = !0, u[t.filterByField] = ne;
|
|
3451
3448
|
try {
|
|
3452
3449
|
const Z = await t.fetchItemsMinimal(P, u, i);
|
|
3453
3450
|
he === p.value && (A.value = Z);
|
|
3454
3451
|
} catch (Z) {
|
|
3455
|
-
|
|
3452
|
+
I(Z);
|
|
3456
3453
|
} finally {
|
|
3457
3454
|
H.value = !1;
|
|
3458
3455
|
}
|
|
@@ -3473,7 +3470,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3473
3470
|
const ne = await t.fetchItemsMinimal(P, u, i);
|
|
3474
3471
|
p.value === 0 && (A.value = ne);
|
|
3475
3472
|
} catch (ne) {
|
|
3476
|
-
|
|
3473
|
+
I(ne);
|
|
3477
3474
|
} finally {
|
|
3478
3475
|
H.value = !1;
|
|
3479
3476
|
}
|
|
@@ -3499,7 +3496,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3499
3496
|
i
|
|
3500
3497
|
);
|
|
3501
3498
|
} catch (ne) {
|
|
3502
|
-
|
|
3499
|
+
I(ne);
|
|
3503
3500
|
}
|
|
3504
3501
|
Se();
|
|
3505
3502
|
}, le = R(() => F(t.placeholder) ? m.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : m.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : m.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: re } = Bt(), Se = () => {
|
|
@@ -3546,7 +3543,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3546
3543
|
value: ee.value
|
|
3547
3544
|
})), Ce(d.value);
|
|
3548
3545
|
} catch (ee) {
|
|
3549
|
-
|
|
3546
|
+
I(ee);
|
|
3550
3547
|
} finally {
|
|
3551
3548
|
H.value = !1;
|
|
3552
3549
|
}
|
|
@@ -3559,7 +3556,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3559
3556
|
value: ee.value
|
|
3560
3557
|
}))[0], Ce(d.value);
|
|
3561
3558
|
} catch (ee) {
|
|
3562
|
-
|
|
3559
|
+
I(ee);
|
|
3563
3560
|
} finally {
|
|
3564
3561
|
H.value = !1;
|
|
3565
3562
|
}
|
|
@@ -3594,7 +3591,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3594
3591
|
onMouseenter: w,
|
|
3595
3592
|
"onClick:clear": J
|
|
3596
3593
|
}, {
|
|
3597
|
-
item:
|
|
3594
|
+
item: M(({ props: Z, internalItem: ee }) => [
|
|
3598
3595
|
ke(ne.$slots, "item", {
|
|
3599
3596
|
item: ee,
|
|
3600
3597
|
props: Z
|
|
@@ -3605,7 +3602,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3605
3602
|
}), null, 16, ["title", "subtitle"])
|
|
3606
3603
|
])
|
|
3607
3604
|
]),
|
|
3608
|
-
chip:
|
|
3605
|
+
chip: M(({ props: Z, internalItem: ee }) => [
|
|
3609
3606
|
ke(ne.$slots, "chip", {
|
|
3610
3607
|
props: Z,
|
|
3611
3608
|
item: ee
|
|
@@ -3709,7 +3706,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3709
3706
|
return s[t.nameFrom];
|
|
3710
3707
|
},
|
|
3711
3708
|
set(V) {
|
|
3712
|
-
s[t.nameFrom] = V,
|
|
3709
|
+
s[t.nameFrom] = V, I(V), r.touched = !0, Qe(() => {
|
|
3713
3710
|
a("change");
|
|
3714
3711
|
});
|
|
3715
3712
|
}
|
|
@@ -3728,14 +3725,14 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3728
3725
|
C.value = !1, d.value = null;
|
|
3729
3726
|
}, H = () => {
|
|
3730
3727
|
T(t.nameFrom, s, r), T(t.nameUntil, s, r), o.value.delete(t.nameFrom);
|
|
3731
|
-
},
|
|
3728
|
+
}, I = (V) => {
|
|
3732
3729
|
if ($e(V) || yt(V)) return;
|
|
3733
3730
|
if (se(V) || F(V)) {
|
|
3734
3731
|
o.value.delete(t.nameFrom);
|
|
3735
3732
|
return;
|
|
3736
3733
|
}
|
|
3737
3734
|
const O = c(V);
|
|
3738
|
-
if (!O &&
|
|
3735
|
+
if (!O && Do(V)) {
|
|
3739
3736
|
const b = c(_t.Custom);
|
|
3740
3737
|
o.value.set(t.nameFrom, [
|
|
3741
3738
|
{
|
|
@@ -3758,13 +3755,13 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3758
3755
|
return;
|
|
3759
3756
|
}
|
|
3760
3757
|
const O = c(i.value), b = s[t.nameUntil];
|
|
3761
|
-
!O &&
|
|
3758
|
+
!O && Do(i.value) && Do(b) && (d.value = _t.Custom, y.value.from = i.value, y.value.until = b, E.value = !0), O && (d.value = O.value);
|
|
3762
3759
|
},
|
|
3763
3760
|
{ immediate: !0 }
|
|
3764
3761
|
), _e(
|
|
3765
3762
|
[() => s[t.nameFrom], () => s[t.nameUntil]],
|
|
3766
3763
|
([V, O], [b, h]) => {
|
|
3767
|
-
V === b && O === h ||
|
|
3764
|
+
V === b && O === h || I(V);
|
|
3768
3765
|
},
|
|
3769
3766
|
{ immediate: !0 }
|
|
3770
3767
|
);
|
|
@@ -3806,7 +3803,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3806
3803
|
autocomplete: "off",
|
|
3807
3804
|
"onClick:clear": De(A, ["stop"])
|
|
3808
3805
|
}, {
|
|
3809
|
-
item:
|
|
3806
|
+
item: M(({ props: v, internalItem: w }) => [
|
|
3810
3807
|
x(mt, Xe(v, {
|
|
3811
3808
|
onClick: (D) => K(w)
|
|
3812
3809
|
}), null, 16, ["onClick"])
|
|
@@ -3819,11 +3816,11 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3819
3816
|
width: "auto",
|
|
3820
3817
|
"min-width": 360
|
|
3821
3818
|
}, {
|
|
3822
|
-
default:
|
|
3823
|
-
x(
|
|
3824
|
-
default:
|
|
3825
|
-
x(
|
|
3826
|
-
default:
|
|
3819
|
+
default: M(() => [
|
|
3820
|
+
x(In, null, {
|
|
3821
|
+
default: M(() => [
|
|
3822
|
+
x(Xo, { onOnCancel: $ }, {
|
|
3823
|
+
default: M(() => [
|
|
3827
3824
|
ke(V.$slots, "title", {}, () => [
|
|
3828
3825
|
ge(ie(g.value), 1)
|
|
3829
3826
|
], !0)
|
|
@@ -3831,9 +3828,9 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3831
3828
|
_: 3
|
|
3832
3829
|
}),
|
|
3833
3830
|
x(Qa, null, {
|
|
3834
|
-
default:
|
|
3831
|
+
default: M(() => [
|
|
3835
3832
|
x(un, null, {
|
|
3836
|
-
default:
|
|
3833
|
+
default: M(() => [
|
|
3837
3834
|
x(Ul, {
|
|
3838
3835
|
modelValue: y.value.from,
|
|
3839
3836
|
"onUpdate:modelValue": O[2] || (O[2] = (v) => y.value.from = v),
|
|
@@ -3845,7 +3842,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3845
3842
|
_: 1
|
|
3846
3843
|
}),
|
|
3847
3844
|
x(un, null, {
|
|
3848
|
-
default:
|
|
3845
|
+
default: M(() => [
|
|
3849
3846
|
x(Ul, {
|
|
3850
3847
|
modelValue: y.value.until,
|
|
3851
3848
|
"onUpdate:modelValue": O[3] || (O[3] = (v) => y.value.until = v),
|
|
@@ -3860,13 +3857,13 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3860
3857
|
_: 1
|
|
3861
3858
|
}),
|
|
3862
3859
|
x(da, null, {
|
|
3863
|
-
default:
|
|
3860
|
+
default: M(() => [
|
|
3864
3861
|
x($n),
|
|
3865
3862
|
x(b, {
|
|
3866
3863
|
"data-cy": "button-cancel",
|
|
3867
3864
|
onClick: De($, ["stop"])
|
|
3868
3865
|
}, {
|
|
3869
|
-
default:
|
|
3866
|
+
default: M(() => [
|
|
3870
3867
|
ge(ie(L(m)("common.button.cancel")), 1)
|
|
3871
3868
|
]),
|
|
3872
3869
|
_: 1
|
|
@@ -3875,7 +3872,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3875
3872
|
"data-cy": "button-confirm",
|
|
3876
3873
|
onClick: De(k, ["stop"])
|
|
3877
3874
|
}, {
|
|
3878
|
-
default:
|
|
3875
|
+
default: M(() => [
|
|
3879
3876
|
ge(ie(L(m)("common.button.confirm")), 1)
|
|
3880
3877
|
]),
|
|
3881
3878
|
_: 1
|
|
@@ -3892,7 +3889,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3892
3889
|
], 64);
|
|
3893
3890
|
};
|
|
3894
3891
|
}
|
|
3895
|
-
}), Ov = /* @__PURE__ */
|
|
3892
|
+
}), Ov = /* @__PURE__ */ Go(Sc, [["__scopeId", "data-v-845cd41b"]]), Mr = (e, n = "item") => n + "." + e, Hl = /* @__PURE__ */ Re({
|
|
3896
3893
|
__name: "AFilterEmpty",
|
|
3897
3894
|
props: {
|
|
3898
3895
|
name: {}
|
|
@@ -3994,7 +3991,7 @@ const Fv = /* @__PURE__ */ Re({
|
|
|
3994
3991
|
"onClick:clear": De(E, ["stop"])
|
|
3995
3992
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
3996
3993
|
}
|
|
3997
|
-
}),
|
|
3994
|
+
}), Ir = /* @__PURE__ */ Re({
|
|
3998
3995
|
__name: "FilterDetailItem",
|
|
3999
3996
|
props: {
|
|
4000
3997
|
name: {}
|
|
@@ -4045,7 +4042,7 @@ const ja = {
|
|
|
4045
4042
|
}, Ec = ja.PinnedWidgets, dn = {
|
|
4046
4043
|
Desktop: "desktop",
|
|
4047
4044
|
Mobile: "mobile"
|
|
4048
|
-
}, xc = dn.Desktop, Tc = 3,
|
|
4045
|
+
}, xc = dn.Desktop, Tc = 3, Vo = 8, $r = Xs("filterBookmarkStore", () => {
|
|
4049
4046
|
const e = U(/* @__PURE__ */ new Map()), n = U(!1);
|
|
4050
4047
|
function t(s, i) {
|
|
4051
4048
|
return `userAdminConfig/${i}/${s}/`;
|
|
@@ -4065,7 +4062,7 @@ const ja = {
|
|
|
4065
4062
|
return g.lastUsed = d, g.items;
|
|
4066
4063
|
}
|
|
4067
4064
|
const { pagination: C } = An("position", Ht.Asc, {
|
|
4068
|
-
rowsPerPage:
|
|
4065
|
+
rowsPerPage: Vo
|
|
4069
4066
|
}), { start: y, end: E } = Tn(
|
|
4070
4067
|
s.systemResource,
|
|
4071
4068
|
"_"
|
|
@@ -4083,7 +4080,7 @@ const ja = {
|
|
|
4083
4080
|
async function o(s, i) {
|
|
4084
4081
|
n.value = !1;
|
|
4085
4082
|
const { pagination: u } = An("position", Ht.Asc, {
|
|
4086
|
-
rowsPerPage:
|
|
4083
|
+
rowsPerPage: Vo + 1
|
|
4087
4084
|
}), { start: c, end: d } = Tn(
|
|
4088
4085
|
s.systemResource,
|
|
4089
4086
|
"_"
|
|
@@ -4144,7 +4141,7 @@ const ja = {
|
|
|
4144
4141
|
} catch (f) {
|
|
4145
4142
|
if (f instanceof DOMException && f.name === "AbortError")
|
|
4146
4143
|
return [];
|
|
4147
|
-
throw
|
|
4144
|
+
throw Jo(f) ? f : ha(f) ? new On(f, f.config?.url) : pa(f) ? new _n(f, a, l, f) : ya(f) ? new Ln(f, a, l, f) : ga(f) ? new Pn(f, f) : Cr(f) ? new Qo(f) : vn.isAxiosError(f) ? (i || console.error("Axios error: " + o, ...f.cause ? [f.cause] : []), new el(f)) : (i || console.error("AnzuFatalError: ", f), new Ft(f));
|
|
4148
4145
|
} finally {
|
|
4149
4146
|
u = null;
|
|
4150
4147
|
}
|
|
@@ -4202,7 +4199,7 @@ function Fr(e, n, t = Ac, a = ql) {
|
|
|
4202
4199
|
}
|
|
4203
4200
|
};
|
|
4204
4201
|
}
|
|
4205
|
-
const
|
|
4202
|
+
const Mc = { key: 0 }, Ic = 32, Br = /* @__PURE__ */ Re({
|
|
4206
4203
|
__name: "FilterBookmarks",
|
|
4207
4204
|
props: /* @__PURE__ */ tt({
|
|
4208
4205
|
client: {},
|
|
@@ -4239,8 +4236,8 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4239
4236
|
});
|
|
4240
4237
|
const H = m($.filter);
|
|
4241
4238
|
if (!se(H)) {
|
|
4242
|
-
for (const
|
|
4243
|
-
const N =
|
|
4239
|
+
for (const I in r) {
|
|
4240
|
+
const N = I;
|
|
4244
4241
|
let K = H.filters[N];
|
|
4245
4242
|
if (F(K) && o.fields[N]?.clearable) {
|
|
4246
4243
|
r[N] = Ee(o.fields[N].default), i.value.delete(N);
|
|
@@ -4263,18 +4260,18 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4263
4260
|
const $ = c.value;
|
|
4264
4261
|
if (se($)) return;
|
|
4265
4262
|
C.value = 1e3, await Qe();
|
|
4266
|
-
let H = 0,
|
|
4263
|
+
let H = 0, I = 0;
|
|
4267
4264
|
for (let N = 0; N < $.children.length; N++) {
|
|
4268
4265
|
const V = $.children[N].offsetWidth;
|
|
4269
|
-
if (H += V, H >= k -
|
|
4266
|
+
if (H += V, H >= k - Ic)
|
|
4270
4267
|
break;
|
|
4271
|
-
|
|
4268
|
+
I++;
|
|
4272
4269
|
}
|
|
4273
|
-
C.value =
|
|
4270
|
+
C.value = I;
|
|
4274
4271
|
};
|
|
4275
4272
|
As(c, (k) => {
|
|
4276
4273
|
k[0] && (d.value = k[0].contentRect.width);
|
|
4277
|
-
}),
|
|
4274
|
+
}), Ms(
|
|
4278
4275
|
d,
|
|
4279
4276
|
(k, $) => {
|
|
4280
4277
|
k !== $ && T(k);
|
|
@@ -4295,14 +4292,14 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4295
4292
|
k === !0 || se(c.value) || (d.value = c.value.clientWidth, Qe(() => {
|
|
4296
4293
|
T(d.value);
|
|
4297
4294
|
}));
|
|
4298
|
-
}),
|
|
4295
|
+
}), Ko(() => {
|
|
4299
4296
|
f();
|
|
4300
4297
|
}), (k, $) => (_(), de("div", {
|
|
4301
4298
|
ref: "toolbar",
|
|
4302
4299
|
key: P.value.length,
|
|
4303
4300
|
class: "w-100 d-flex overflow-hidden align-center mb-1"
|
|
4304
4301
|
}, [
|
|
4305
|
-
u.value ? (_(), de("div",
|
|
4302
|
+
u.value ? (_(), de("div", Mc)) : (_(), de(We, { key: 1 }, [
|
|
4306
4303
|
(_(!0), de(We, null, en(A.value.visible, (H) => (_(), de("div", {
|
|
4307
4304
|
key: H.id,
|
|
4308
4305
|
class: "white-space-nowrap"
|
|
@@ -4312,9 +4309,9 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4312
4309
|
"prepend-icon": "mdi-bookmark-outline",
|
|
4313
4310
|
size: "small",
|
|
4314
4311
|
class: "mr-1 mb-1 bg-grey-lighten-4 text-grey-darken-3",
|
|
4315
|
-
onClick: (
|
|
4312
|
+
onClick: (I) => g(H)
|
|
4316
4313
|
}, {
|
|
4317
|
-
default:
|
|
4314
|
+
default: M(() => [
|
|
4318
4315
|
ge(ie(H.customName), 1)
|
|
4319
4316
|
]),
|
|
4320
4317
|
_: 2
|
|
@@ -4324,7 +4321,7 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4324
4321
|
key: 0,
|
|
4325
4322
|
location: "bottom"
|
|
4326
4323
|
}, {
|
|
4327
|
-
activator:
|
|
4324
|
+
activator: M(({ props: H }) => [
|
|
4328
4325
|
x(Pe, Xe({
|
|
4329
4326
|
icon: "mdi-menu-down",
|
|
4330
4327
|
size: "x-small",
|
|
@@ -4332,16 +4329,16 @@ const Ic = { key: 0 }, Mc = 32, Br = /* @__PURE__ */ Re({
|
|
|
4332
4329
|
height: 28
|
|
4333
4330
|
}, H), null, 16)
|
|
4334
4331
|
]),
|
|
4335
|
-
default:
|
|
4332
|
+
default: M(() => [
|
|
4336
4333
|
x(za, { density: "compact" }, {
|
|
4337
|
-
default:
|
|
4334
|
+
default: M(() => [
|
|
4338
4335
|
(_(!0), de(We, null, en(A.value.hidden, (H) => (_(), te(mt, {
|
|
4339
4336
|
key: H.id,
|
|
4340
|
-
onClick: (
|
|
4337
|
+
onClick: (I) => g(H)
|
|
4341
4338
|
}, {
|
|
4342
|
-
default:
|
|
4339
|
+
default: M(() => [
|
|
4343
4340
|
x(rn, null, {
|
|
4344
|
-
default:
|
|
4341
|
+
default: M(() => [
|
|
4345
4342
|
ge(ie(H.customName), 1)
|
|
4346
4343
|
]),
|
|
4347
4344
|
_: 2
|
|
@@ -4429,20 +4426,20 @@ function _c(e) {
|
|
|
4429
4426
|
var n = Oc(e, "string");
|
|
4430
4427
|
return typeof n == "symbol" ? n : n + "";
|
|
4431
4428
|
}
|
|
4432
|
-
function
|
|
4429
|
+
function Uo(e) {
|
|
4433
4430
|
"@babel/helpers - typeof";
|
|
4434
|
-
return
|
|
4431
|
+
return Uo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
4435
4432
|
return typeof n;
|
|
4436
4433
|
} : function(n) {
|
|
4437
4434
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
4438
|
-
},
|
|
4435
|
+
}, Uo(e);
|
|
4439
4436
|
}
|
|
4440
4437
|
var Rc = "1.15.7";
|
|
4441
4438
|
function zt(e) {
|
|
4442
4439
|
if (typeof window < "u" && window.navigator)
|
|
4443
4440
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
4444
4441
|
}
|
|
4445
|
-
var Kt = zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ca = zt(/Edge/i), Wl = zt(/firefox/i), Jn = zt(/safari/i) && !zt(/chrome/i) && !zt(/android/i),
|
|
4442
|
+
var Kt = zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ca = zt(/Edge/i), Wl = zt(/firefox/i), Jn = zt(/safari/i) && !zt(/chrome/i) && !zt(/android/i), al = zt(/iP(ad|od|hone)/i), Or = zt(/chrome/i) && zt(/android/i), _r = {
|
|
4446
4443
|
capture: !1,
|
|
4447
4444
|
passive: !1
|
|
4448
4445
|
};
|
|
@@ -4471,7 +4468,7 @@ function qa(e, n) {
|
|
|
4471
4468
|
function Rr(e) {
|
|
4472
4469
|
return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
|
|
4473
4470
|
}
|
|
4474
|
-
function
|
|
4471
|
+
function It(e, n, t, a) {
|
|
4475
4472
|
if (e) {
|
|
4476
4473
|
t = t || document;
|
|
4477
4474
|
do {
|
|
@@ -4560,9 +4557,9 @@ function Xl(e, n, t) {
|
|
|
4560
4557
|
}
|
|
4561
4558
|
return !1;
|
|
4562
4559
|
}
|
|
4563
|
-
function
|
|
4560
|
+
function Mn(e, n, t, a) {
|
|
4564
4561
|
for (var l = 0, o = 0, r = e.children; o < r.length; ) {
|
|
4565
|
-
if (r[o].style.display !== "none" && r[o] !== we.ghost && (a || r[o] !== we.dragged) &&
|
|
4562
|
+
if (r[o].style.display !== "none" && r[o] !== we.ghost && (a || r[o] !== we.dragged) && It(r[o], t.draggable, e, !1)) {
|
|
4566
4563
|
if (l === n)
|
|
4567
4564
|
return r[o];
|
|
4568
4565
|
l++;
|
|
@@ -4571,7 +4568,7 @@ function In(e, n, t, a) {
|
|
|
4571
4568
|
}
|
|
4572
4569
|
return null;
|
|
4573
4570
|
}
|
|
4574
|
-
function
|
|
4571
|
+
function ol(e, n) {
|
|
4575
4572
|
for (var t = e.lastElementChild; t && (t === we.ghost || be(t, "display") === "none" || n && !qa(t, n)); )
|
|
4576
4573
|
t = t.previousElementSibling;
|
|
4577
4574
|
return t || null;
|
|
@@ -4622,7 +4619,7 @@ function Lc(e, n) {
|
|
|
4622
4619
|
n.hasOwnProperty(t) && (e[t] = n[t]);
|
|
4623
4620
|
return e;
|
|
4624
4621
|
}
|
|
4625
|
-
function
|
|
4622
|
+
function Ao(e, n) {
|
|
4626
4623
|
return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
|
|
4627
4624
|
}
|
|
4628
4625
|
var Qn;
|
|
@@ -4650,7 +4647,7 @@ function Ur(e, n, t) {
|
|
|
4650
4647
|
var a = {};
|
|
4651
4648
|
return Array.from(e.children).forEach(function(l) {
|
|
4652
4649
|
var o, r, s, i;
|
|
4653
|
-
if (!(!
|
|
4650
|
+
if (!(!It(l, n.draggable, e, !1) || l.animated || l === t)) {
|
|
4654
4651
|
var u = Je(l);
|
|
4655
4652
|
a.left = Math.min((o = a.left) !== null && o !== void 0 ? o : 1 / 0, u.left), a.top = Math.min((r = a.top) !== null && r !== void 0 ? r : 1 / 0, u.top), a.right = Math.max((s = a.right) !== null && s !== void 0 ? s : -1 / 0, u.right), a.bottom = Math.max((i = a.bottom) !== null && i !== void 0 ? i : -1 / 0, u.bottom);
|
|
4656
4653
|
}
|
|
@@ -4696,8 +4693,8 @@ function Vc() {
|
|
|
4696
4693
|
var o = !1, r = 0;
|
|
4697
4694
|
e.forEach(function(s) {
|
|
4698
4695
|
var i = 0, u = s.target, c = u.fromRect, d = Je(u), C = u.prevFromRect, y = u.prevToRect, E = s.rect, p = kn(u, !0);
|
|
4699
|
-
p && (d.top -= p.f, d.left -= p.e), u.toRect = d, u.thisAnimationDuration &&
|
|
4700
|
-
(E.top - d.top) / (E.left - d.left) === (c.top - d.top) / (c.left - d.left) && (i = Yc(E, C, y, l.options)),
|
|
4696
|
+
p && (d.top -= p.f, d.left -= p.e), u.toRect = d, u.thisAnimationDuration && Ao(C, d) && !Ao(c, d) && // Make sure animatingRect is on line between toRect & fromRect
|
|
4697
|
+
(E.top - d.top) / (E.left - d.left) === (c.top - d.top) / (c.left - d.left) && (i = Yc(E, C, y, l.options)), Ao(d, c) || (u.prevFromRect = c, u.prevToRect = d, i || (i = l.options.animation), l.animate(u, E, d, i)), i && (o = !0, r = Math.max(r, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
4701
4698
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
4702
4699
|
}, i), u.thisAnimationDuration = i);
|
|
4703
4700
|
}), clearTimeout(n), o ? n = setTimeout(function() {
|
|
@@ -4835,7 +4832,7 @@ function ut(e) {
|
|
|
4835
4832
|
newDraggableIndex: Zt
|
|
4836
4833
|
}, e));
|
|
4837
4834
|
}
|
|
4838
|
-
var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa = [], on,
|
|
4835
|
+
var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa = [], on, Mt, Io, $o, Jl, Ql, Wn, bn, ta, na = !1, Fa = !1, Na, st, Fo = [], Yo = !1, Ga = [], uo = typeof document < "u", Ba = al, er = Ca || Kt ? "cssFloat" : "float", jc = uo && !Or && !al && "draggable" in document.createElement("div"), Yr = (function() {
|
|
4839
4836
|
if (uo) {
|
|
4840
4837
|
if (Kt)
|
|
4841
4838
|
return !1;
|
|
@@ -4843,7 +4840,7 @@ var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa
|
|
|
4843
4840
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
4844
4841
|
}
|
|
4845
4842
|
})(), zr = function(n, t) {
|
|
4846
|
-
var a = be(n), l = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o =
|
|
4843
|
+
var a = be(n), l = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Mn(n, 0, t), r = Mn(n, 1, t), s = o && be(o), i = r && be(r), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Je(o).width, c = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Je(r).width;
|
|
4847
4844
|
if (a.display === "flex")
|
|
4848
4845
|
return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
4849
4846
|
if (a.display === "grid")
|
|
@@ -4860,7 +4857,7 @@ var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa
|
|
|
4860
4857
|
var a;
|
|
4861
4858
|
return Wa.some(function(l) {
|
|
4862
4859
|
var o = l[vt].options.emptyInsertThreshold;
|
|
4863
|
-
if (!(!o ||
|
|
4860
|
+
if (!(!o || ol(l))) {
|
|
4864
4861
|
var r = Je(l), s = n >= r.left - o && n <= r.right + o, i = t >= r.top - o && t <= r.bottom + o;
|
|
4865
4862
|
if (s && i)
|
|
4866
4863
|
return a = l;
|
|
@@ -4883,7 +4880,7 @@ var ae, Ke, Te, je, sn, La, qe, Jt, Sn, gt, ea, Zt, $a, lt, wn = !1, Ka = !1, Wa
|
|
|
4883
4880
|
};
|
|
4884
4881
|
}
|
|
4885
4882
|
var a = {}, l = n.group;
|
|
4886
|
-
(!l ||
|
|
4883
|
+
(!l || Uo(l) != "object") && (l = {
|
|
4887
4884
|
name: l
|
|
4888
4885
|
}), a.name = l.name, a.checkPull = t(l.pull, !0), a.checkPut = t(l.put), a.revertClone = l.revertClone, n.group = a;
|
|
4889
4886
|
}, jr = function() {
|
|
@@ -4956,7 +4953,7 @@ function we(e, n) {
|
|
|
4956
4953
|
y: 0
|
|
4957
4954
|
},
|
|
4958
4955
|
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
|
|
4959
|
-
supportPointer: we.supportPointer !== !1 && "PointerEvent" in window && (!Jn ||
|
|
4956
|
+
supportPointer: we.supportPointer !== !1 && "PointerEvent" in window && (!Jn || al),
|
|
4960
4957
|
emptyInsertThreshold: 5
|
|
4961
4958
|
};
|
|
4962
4959
|
Sa.initializePlugins(this, e, t);
|
|
@@ -4979,7 +4976,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
4979
4976
|
_onTapStart: function(n) {
|
|
4980
4977
|
if (n.cancelable) {
|
|
4981
4978
|
var t = this, a = this.el, l = this.options, o = l.preventOnFilter, r = n.type, s = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (s || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, c = l.filter;
|
|
4982
|
-
if (nd(a), !ae && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || l.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Jn && i && i.tagName.toUpperCase() === "SELECT") && (i =
|
|
4979
|
+
if (nd(a), !ae && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || l.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Jn && i && i.tagName.toUpperCase() === "SELECT") && (i = It(i, l.draggable, a, !1), !(i && i.animated) && La !== i)) {
|
|
4983
4980
|
if (Sn = kt(i), ea = kt(i, l.draggable), typeof c == "function") {
|
|
4984
4981
|
if (c.call(this, n, i, this)) {
|
|
4985
4982
|
ut({
|
|
@@ -4995,7 +4992,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
4995
4992
|
return;
|
|
4996
4993
|
}
|
|
4997
4994
|
} else if (c && (c = c.split(",").some(function(d) {
|
|
4998
|
-
if (d =
|
|
4995
|
+
if (d = It(u, d.trim(), a, !1), d)
|
|
4999
4996
|
return ut({
|
|
5000
4997
|
sortable: t,
|
|
5001
4998
|
rootEl: d,
|
|
@@ -5010,7 +5007,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5010
5007
|
o && n.preventDefault();
|
|
5011
5008
|
return;
|
|
5012
5009
|
}
|
|
5013
|
-
l.handle && !
|
|
5010
|
+
l.handle && !It(u, l.handle, a, !1) || this._prepareDragStart(n, s, i);
|
|
5014
5011
|
}
|
|
5015
5012
|
}
|
|
5016
5013
|
},
|
|
@@ -5035,7 +5032,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5035
5032
|
originalEvent: n
|
|
5036
5033
|
}), pt(ae, r.chosenClass, !0);
|
|
5037
5034
|
}, r.ignore.split(",").forEach(function(c) {
|
|
5038
|
-
Pr(ae, c.trim(),
|
|
5035
|
+
Pr(ae, c.trim(), Bo);
|
|
5039
5036
|
}), Ve(s, "dragover", ln), Ve(s, "mousemove", ln), Ve(s, "touchmove", ln), r.supportPointer ? (Ve(s, "pointerup", l._onDrop), !this.nativeDraggable && Ve(s, "pointercancel", l._onDrop)) : (Ve(s, "mouseup", l._onDrop), Ve(s, "touchend", l._onDrop), Ve(s, "touchcancel", l._onDrop)), Wl && this.nativeDraggable && (this.options.touchStartThreshold = 4, ae.draggable = !0), ft("delayStart", this, {
|
|
5040
5037
|
evt: n
|
|
5041
5038
|
}), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ca || Kt))) {
|
|
@@ -5053,7 +5050,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5053
5050
|
Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
5054
5051
|
},
|
|
5055
5052
|
_disableDelayedDrag: function() {
|
|
5056
|
-
ae &&
|
|
5053
|
+
ae && Bo(ae), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
5057
5054
|
},
|
|
5058
5055
|
_disableDelayedDragEvents: function() {
|
|
5059
5056
|
var n = this.el.ownerDocument;
|
|
@@ -5083,17 +5080,17 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5083
5080
|
this._nulling();
|
|
5084
5081
|
},
|
|
5085
5082
|
_emulateDragOver: function() {
|
|
5086
|
-
if (
|
|
5087
|
-
this._lastX =
|
|
5088
|
-
for (var n = document.elementFromPoint(
|
|
5083
|
+
if (Mt) {
|
|
5084
|
+
this._lastX = Mt.clientX, this._lastY = Mt.clientY, jr();
|
|
5085
|
+
for (var n = document.elementFromPoint(Mt.clientX, Mt.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(Mt.clientX, Mt.clientY), n !== t); )
|
|
5089
5086
|
t = n;
|
|
5090
5087
|
if (ae.parentNode[vt]._isOutsideThisEl(n), t)
|
|
5091
5088
|
do {
|
|
5092
5089
|
if (t[vt]) {
|
|
5093
5090
|
var a = void 0;
|
|
5094
5091
|
if (a = t[vt]._onDragOver({
|
|
5095
|
-
clientX:
|
|
5096
|
-
clientY:
|
|
5092
|
+
clientX: Mt.clientX,
|
|
5093
|
+
clientY: Mt.clientY,
|
|
5097
5094
|
target: n,
|
|
5098
5095
|
rootEl: t
|
|
5099
5096
|
}), a && !this.options.dragoverBubble)
|
|
@@ -5106,14 +5103,14 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5106
5103
|
},
|
|
5107
5104
|
_onTouchMove: function(n) {
|
|
5108
5105
|
if (on) {
|
|
5109
|
-
var t = this.options, a = t.fallbackTolerance, l = t.fallbackOffset, o = n.touches ? n.touches[0] : n, r = Te && kn(Te, !0), s = Te && r && r.a, i = Te && r && r.d, u = Ba && st && Zl(st), c = (o.clientX - on.clientX + l.x) / (s || 1) + (u ? u[0] -
|
|
5106
|
+
var t = this.options, a = t.fallbackTolerance, l = t.fallbackOffset, o = n.touches ? n.touches[0] : n, r = Te && kn(Te, !0), s = Te && r && r.a, i = Te && r && r.d, u = Ba && st && Zl(st), c = (o.clientX - on.clientX + l.x) / (s || 1) + (u ? u[0] - Fo[0] : 0) / (s || 1), d = (o.clientY - on.clientY + l.y) / (i || 1) + (u ? u[1] - Fo[1] : 0) / (i || 1);
|
|
5110
5107
|
if (!we.active && !wn) {
|
|
5111
5108
|
if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
|
|
5112
5109
|
return;
|
|
5113
5110
|
this._onDragStart(n, !0);
|
|
5114
5111
|
}
|
|
5115
5112
|
if (Te) {
|
|
5116
|
-
r ? (r.e += c - (
|
|
5113
|
+
r ? (r.e += c - (Io || 0), r.f += d - ($o || 0)) : r = {
|
|
5117
5114
|
a: 1,
|
|
5118
5115
|
b: 0,
|
|
5119
5116
|
c: 0,
|
|
@@ -5122,7 +5119,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5122
5119
|
f: d
|
|
5123
5120
|
};
|
|
5124
5121
|
var C = "matrix(".concat(r.a, ",").concat(r.b, ",").concat(r.c, ",").concat(r.d, ",").concat(r.e, ",").concat(r.f, ")");
|
|
5125
|
-
be(Te, "webkitTransform", C), be(Te, "mozTransform", C), be(Te, "msTransform", C), be(Te, "transform", C),
|
|
5122
|
+
be(Te, "webkitTransform", C), be(Te, "mozTransform", C), be(Te, "msTransform", C), be(Te, "transform", C), Io = c, $o = d, Mt = o;
|
|
5126
5123
|
}
|
|
5127
5124
|
n.cancelable && n.preventDefault();
|
|
5128
5125
|
}
|
|
@@ -5133,7 +5130,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5133
5130
|
if (Ba) {
|
|
5134
5131
|
for (st = n; be(st, "position") === "static" && be(st, "transform") === "none" && st !== document; )
|
|
5135
5132
|
st = st.parentNode;
|
|
5136
|
-
st !== document.body && st !== document.documentElement ? (st === document && (st = Rt()), t.top += st.scrollTop, t.left += st.scrollLeft) : st = Rt(),
|
|
5133
|
+
st !== document.body && st !== document.documentElement ? (st === document && (st = Rt()), t.top += st.scrollTop, t.left += st.scrollLeft) : st = Rt(), Fo = Zl(st);
|
|
5137
5134
|
}
|
|
5138
5135
|
Te = ae.cloneNode(!0), pt(Te, a.ghostClass, !1), pt(Te, a.fallbackClass, !0), pt(Te, a.dragClass, !0), be(Te, "transition", ""), be(Te, "transform", ""), be(Te, "box-sizing", "border-box"), be(Te, "margin", 0), be(Te, "top", t.top), be(Te, "left", t.left), be(Te, "width", t.width), be(Te, "height", t.height), be(Te, "opacity", "0.8"), be(Te, "position", Ba ? "absolute" : "fixed"), be(Te, "zIndex", "100000"), be(Te, "pointerEvents", "none"), we.ghost = Te, n.appendChild(Te), be(Te, "transform-origin", Jl / parseInt(Te.style.width) * 100 + "% " + Ql / parseInt(Te.style.height) * 100 + "%");
|
|
5139
5136
|
}
|
|
@@ -5156,7 +5153,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5156
5153
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
5157
5154
|
_onDragOver: function(n) {
|
|
5158
5155
|
var t = this.el, a = n.target, l, o, r, s = this.options, i = s.group, u = we.active, c = $a === i, d = s.sort, C = lt || u, y, E = this, p = !1;
|
|
5159
|
-
if (
|
|
5156
|
+
if (Yo) return;
|
|
5160
5157
|
function f(D, B) {
|
|
5161
5158
|
ft(D, E, Pt({
|
|
5162
5159
|
evt: n,
|
|
@@ -5195,29 +5192,29 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5195
5192
|
originalEvent: n
|
|
5196
5193
|
});
|
|
5197
5194
|
}
|
|
5198
|
-
if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a =
|
|
5195
|
+
if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = It(a, s.draggable, t, !0), f("dragOver"), we.eventCanceled) return p;
|
|
5199
5196
|
if (ae.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
|
|
5200
5197
|
return g(!1);
|
|
5201
5198
|
if (Ka = !1, u && !s.disabled && (c ? d || (r = Ke !== je) : lt === this || (this.lastPutMode = $a.checkPull(this, u, ae, n)) && i.checkPut(this, u, ae, n))) {
|
|
5202
5199
|
if (y = this._getDirection(n, a) === "vertical", l = Je(ae), f("dragOverValid"), we.eventCanceled) return p;
|
|
5203
5200
|
if (r)
|
|
5204
5201
|
return Ke = je, m(), this._hideClone(), f("revert"), we.eventCanceled || (sn ? je.insertBefore(ae, sn) : je.appendChild(ae)), g(!0);
|
|
5205
|
-
var P =
|
|
5202
|
+
var P = ol(t, s.draggable);
|
|
5206
5203
|
if (!P || Jc(n, y, this) && !P.animated) {
|
|
5207
5204
|
if (P === ae)
|
|
5208
5205
|
return g(!1);
|
|
5209
5206
|
if (P && t === n.target && (a = P), a && (o = Je(a)), Oa(je, t, ae, l, a, o, n, !!a) !== !1)
|
|
5210
5207
|
return m(), P && P.nextSibling ? t.insertBefore(ae, P.nextSibling) : t.appendChild(ae), Ke = t, T(), g(!0);
|
|
5211
5208
|
} else if (P && Zc(n, y, this)) {
|
|
5212
|
-
var A =
|
|
5209
|
+
var A = Mn(t, 0, s, !0);
|
|
5213
5210
|
if (A === ae)
|
|
5214
5211
|
return g(!1);
|
|
5215
5212
|
if (a = A, o = Je(a), Oa(je, t, ae, l, a, o, n, !1) !== !1)
|
|
5216
5213
|
return m(), t.insertBefore(ae, A), Ke = t, T(), g(!0);
|
|
5217
5214
|
} else if (a.parentNode === t) {
|
|
5218
5215
|
o = Je(a);
|
|
5219
|
-
var k = 0, $, H = ae.parentNode !== t,
|
|
5220
|
-
bn !== a && ($ = o[N], na = !1, Fa = !
|
|
5216
|
+
var k = 0, $, H = ae.parentNode !== t, I = !qc(ae.animated && ae.toRect || l, a.animated && a.toRect || o, y), N = y ? "top" : "left", K = Xl(a, "top", "top") || Xl(ae, "top", "top"), V = K ? K.scrollTop : void 0;
|
|
5217
|
+
bn !== a && ($ = o[N], na = !1, Fa = !I && s.invertSwap || H), k = Qc(n, a, o, y, I ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Fa, bn === a);
|
|
5221
5218
|
var O;
|
|
5222
5219
|
if (k !== 0) {
|
|
5223
5220
|
var b = kt(ae);
|
|
@@ -5232,7 +5229,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5232
5229
|
v = k === 1;
|
|
5233
5230
|
var w = Oa(je, t, ae, l, a, o, n, v);
|
|
5234
5231
|
if (w !== !1)
|
|
5235
|
-
return (w === 1 || w === -1) && (v = w === 1),
|
|
5232
|
+
return (w === 1 || w === -1) && (v = w === 1), Yo = !0, setTimeout(Xc, 30), m(), v && !h ? t.appendChild(ae) : a.parentNode.insertBefore(ae, v ? h : a), K && Nr(K, 0, V - K.scrollTop), Ke = ae.parentNode, $ !== void 0 && !Fa && (Na = Math.abs($ - Je(a)[N])), T(), g(!0);
|
|
5236
5233
|
}
|
|
5237
5234
|
if (t.contains(ae))
|
|
5238
5235
|
return g(!1);
|
|
@@ -5255,7 +5252,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5255
5252
|
this._nulling();
|
|
5256
5253
|
return;
|
|
5257
5254
|
}
|
|
5258
|
-
wn = !1, Fa = !1, na = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer),
|
|
5255
|
+
wn = !1, Fa = !1, na = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), zo(this.cloneId), zo(this._dragStartId), this.nativeDraggable && (Ne(document, "drop", this), Ne(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Jn && be(document.body, "user-select", ""), be(ae, "transform", ""), n && (Wn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), Te && Te.parentNode && Te.parentNode.removeChild(Te), (je === Ke || lt && lt.lastPutMode !== "clone") && qe && qe.parentNode && qe.parentNode.removeChild(qe), ae && (this.nativeDraggable && Ne(ae, "dragend", this), Bo(ae), ae.style["will-change"] = "", Wn && !wn && pt(ae, lt ? lt.options.ghostClass : this.options.ghostClass, !1), pt(ae, this.options.chosenClass, !1), ut({
|
|
5259
5256
|
sortable: this,
|
|
5260
5257
|
name: "unchoose",
|
|
5261
5258
|
toEl: Ke,
|
|
@@ -5302,11 +5299,11 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5302
5299
|
}), this.save()))), this._nulling();
|
|
5303
5300
|
},
|
|
5304
5301
|
_nulling: function() {
|
|
5305
|
-
ft("nulling", this), je = ae = Ke = Te = sn = qe = La = Jt = on =
|
|
5302
|
+
ft("nulling", this), je = ae = Ke = Te = sn = qe = La = Jt = on = Mt = Wn = gt = Zt = Sn = ea = bn = ta = lt = $a = we.dragged = we.ghost = we.clone = we.active = null;
|
|
5306
5303
|
var n = this.el;
|
|
5307
5304
|
Ga.forEach(function(t) {
|
|
5308
5305
|
n.contains(t) && (t.checked = !0);
|
|
5309
|
-
}), Ga.length =
|
|
5306
|
+
}), Ga.length = Io = $o = 0;
|
|
5310
5307
|
},
|
|
5311
5308
|
handleEvent: function(n) {
|
|
5312
5309
|
switch (n.type) {
|
|
@@ -5329,7 +5326,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5329
5326
|
*/
|
|
5330
5327
|
toArray: function() {
|
|
5331
5328
|
for (var n = [], t, a = this.el.children, l = 0, o = a.length, r = this.options; l < o; l++)
|
|
5332
|
-
t = a[l],
|
|
5329
|
+
t = a[l], It(t, r.draggable, this.el, !1) && n.push(t.getAttribute(r.dataIdAttr) || td(t));
|
|
5333
5330
|
return n;
|
|
5334
5331
|
},
|
|
5335
5332
|
/**
|
|
@@ -5340,7 +5337,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5340
5337
|
var a = {}, l = this.el;
|
|
5341
5338
|
this.toArray().forEach(function(o, r) {
|
|
5342
5339
|
var s = l.children[r];
|
|
5343
|
-
|
|
5340
|
+
It(s, this.options.draggable, l, !1) && (a[o] = s);
|
|
5344
5341
|
}, this), t && this.captureAnimationState(), n.forEach(function(o) {
|
|
5345
5342
|
a[o] && (l.removeChild(a[o]), l.appendChild(a[o]));
|
|
5346
5343
|
}), t && this.animateAll();
|
|
@@ -5359,7 +5356,7 @@ we.prototype = /** @lends Sortable.prototype */
|
|
|
5359
5356
|
* @returns {HTMLElement|null}
|
|
5360
5357
|
*/
|
|
5361
5358
|
closest: function(n, t) {
|
|
5362
|
-
return
|
|
5359
|
+
return It(n, t || this.options.draggable, this.el, !1);
|
|
5363
5360
|
},
|
|
5364
5361
|
/**
|
|
5365
5362
|
* Set/get option
|
|
@@ -5411,18 +5408,18 @@ function Oa(e, n, t, a, l, o, r, s) {
|
|
|
5411
5408
|
cancelable: !0
|
|
5412
5409
|
}) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = l || n, i.relatedRect = o || Je(n), i.willInsertAfter = s, i.originalEvent = r, e.dispatchEvent(i), c && (d = c.call(u, i, r)), d;
|
|
5413
5410
|
}
|
|
5414
|
-
function
|
|
5411
|
+
function Bo(e) {
|
|
5415
5412
|
e.draggable = !1;
|
|
5416
5413
|
}
|
|
5417
5414
|
function Xc() {
|
|
5418
|
-
|
|
5415
|
+
Yo = !1;
|
|
5419
5416
|
}
|
|
5420
5417
|
function Zc(e, n, t) {
|
|
5421
|
-
var a = Je(
|
|
5418
|
+
var a = Je(Mn(t.el, 0, t.options, !0)), l = Ur(t.el, t.options, Te), o = 10;
|
|
5422
5419
|
return n ? e.clientX < l.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < l.top - o || e.clientY < a.bottom && e.clientX < a.left;
|
|
5423
5420
|
}
|
|
5424
5421
|
function Jc(e, n, t) {
|
|
5425
|
-
var a = Je(
|
|
5422
|
+
var a = Je(ol(t.el, t.options.draggable)), l = Ur(t.el, t.options, Te), o = 10;
|
|
5426
5423
|
return n ? e.clientX > l.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > l.bottom + o || e.clientX > a.right && e.clientY > a.top;
|
|
5427
5424
|
}
|
|
5428
5425
|
function Qc(e, n, t, a, l, o, r, s) {
|
|
@@ -5456,7 +5453,7 @@ function nd(e) {
|
|
|
5456
5453
|
function Va(e) {
|
|
5457
5454
|
return setTimeout(e, 0);
|
|
5458
5455
|
}
|
|
5459
|
-
function
|
|
5456
|
+
function zo(e) {
|
|
5460
5457
|
return clearTimeout(e);
|
|
5461
5458
|
}
|
|
5462
5459
|
uo && Ve(document, "touchmove", function(e) {
|
|
@@ -5468,18 +5465,18 @@ we.utils = {
|
|
|
5468
5465
|
css: be,
|
|
5469
5466
|
find: Pr,
|
|
5470
5467
|
is: function(n, t) {
|
|
5471
|
-
return !!
|
|
5468
|
+
return !!It(n, t, n, !1);
|
|
5472
5469
|
},
|
|
5473
5470
|
extend: Lc,
|
|
5474
5471
|
throttle: Lr,
|
|
5475
|
-
closest:
|
|
5472
|
+
closest: It,
|
|
5476
5473
|
toggleClass: pt,
|
|
5477
5474
|
clone: Vr,
|
|
5478
5475
|
index: kt,
|
|
5479
5476
|
nextTick: Va,
|
|
5480
|
-
cancelNextTick:
|
|
5477
|
+
cancelNextTick: zo,
|
|
5481
5478
|
detectDirection: zr,
|
|
5482
|
-
getChild:
|
|
5479
|
+
getChild: Mn,
|
|
5483
5480
|
expando: vt
|
|
5484
5481
|
};
|
|
5485
5482
|
we.get = function(e) {
|
|
@@ -5498,7 +5495,7 @@ we.create = function(e, n) {
|
|
|
5498
5495
|
return new we(e, n);
|
|
5499
5496
|
};
|
|
5500
5497
|
we.version = Rc;
|
|
5501
|
-
var Ze = [], Gn,
|
|
5498
|
+
var Ze = [], Gn, Ho, jo = !1, Oo, _o, Xa, Xn;
|
|
5502
5499
|
function ad() {
|
|
5503
5500
|
function e() {
|
|
5504
5501
|
this.defaults = {
|
|
@@ -5524,7 +5521,7 @@ function ad() {
|
|
|
5524
5521
|
this.sortable.nativeDraggable ? Ne(document, "dragover", this._handleAutoScroll) : (Ne(document, "pointermove", this._handleFallbackAutoScroll), Ne(document, "touchmove", this._handleFallbackAutoScroll), Ne(document, "mousemove", this._handleFallbackAutoScroll)), tr(), Ua(), Nc();
|
|
5525
5522
|
},
|
|
5526
5523
|
nulling: function() {
|
|
5527
|
-
Xa =
|
|
5524
|
+
Xa = Ho = Gn = jo = Xn = Oo = _o = null, Ze.length = 0;
|
|
5528
5525
|
},
|
|
5529
5526
|
_handleFallbackAutoScroll: function(t) {
|
|
5530
5527
|
this._handleAutoScroll(t, !0);
|
|
@@ -5532,18 +5529,18 @@ function ad() {
|
|
|
5532
5529
|
_handleAutoScroll: function(t, a) {
|
|
5533
5530
|
var l = this, o = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, r);
|
|
5534
5531
|
if (Xa = t, a || this.options.forceAutoScrollFallback || Ca || Kt || Jn) {
|
|
5535
|
-
|
|
5532
|
+
Ro(t, this.options, s, a);
|
|
5536
5533
|
var i = Qt(s, !0);
|
|
5537
|
-
|
|
5534
|
+
jo && (!Xn || o !== Oo || r !== _o) && (Xn && tr(), Xn = setInterval(function() {
|
|
5538
5535
|
var u = Qt(document.elementFromPoint(o, r), !0);
|
|
5539
|
-
u !== i && (i = u, Ua()),
|
|
5540
|
-
}, 10),
|
|
5536
|
+
u !== i && (i = u, Ua()), Ro(t, l.options, u, a);
|
|
5537
|
+
}, 10), Oo = o, _o = r);
|
|
5541
5538
|
} else {
|
|
5542
5539
|
if (!this.options.bubbleScroll || Qt(s, !0) === Rt()) {
|
|
5543
5540
|
Ua();
|
|
5544
5541
|
return;
|
|
5545
5542
|
}
|
|
5546
|
-
|
|
5543
|
+
Ro(t, this.options, Qt(s, !1), !1);
|
|
5547
5544
|
}
|
|
5548
5545
|
}
|
|
5549
5546
|
}, jt(e, {
|
|
@@ -5559,14 +5556,14 @@ function Ua() {
|
|
|
5559
5556
|
function tr() {
|
|
5560
5557
|
clearInterval(Xn);
|
|
5561
5558
|
}
|
|
5562
|
-
var
|
|
5559
|
+
var Ro = Lr(function(e, n, t, a) {
|
|
5563
5560
|
if (n.scroll) {
|
|
5564
5561
|
var l = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, r = n.scrollSensitivity, s = n.scrollSpeed, i = Rt(), u = !1, c;
|
|
5565
|
-
|
|
5562
|
+
Ho !== t && (Ho = t, Ua(), Gn = n.scroll, c = n.scrollFn, Gn === !0 && (Gn = Qt(t, !0)));
|
|
5566
5563
|
var d = 0, C = Gn;
|
|
5567
5564
|
do {
|
|
5568
|
-
var y = C, E = Je(y), p = E.top, f = E.bottom, m = E.left, g = E.right, T = E.width, P = E.height, A = void 0, k = void 0, $ = y.scrollWidth, H = y.scrollHeight,
|
|
5569
|
-
y === i ? (A = T < $ && (
|
|
5565
|
+
var y = C, E = Je(y), p = E.top, f = E.bottom, m = E.left, g = E.right, T = E.width, P = E.height, A = void 0, k = void 0, $ = y.scrollWidth, H = y.scrollHeight, I = be(y), N = y.scrollLeft, K = y.scrollTop;
|
|
5566
|
+
y === i ? (A = T < $ && (I.overflowX === "auto" || I.overflowX === "scroll" || I.overflowX === "visible"), k = P < H && (I.overflowY === "auto" || I.overflowY === "scroll" || I.overflowY === "visible")) : (A = T < $ && (I.overflowX === "auto" || I.overflowX === "scroll"), k = P < H && (I.overflowY === "auto" || I.overflowY === "scroll"));
|
|
5570
5567
|
var V = A && (Math.abs(g - l) <= r && N + T < $) - (Math.abs(m - l) <= r && !!N), O = k && (Math.abs(f - o) <= r && K + P < H) - (Math.abs(p - o) <= r && !!K);
|
|
5571
5568
|
if (!Ze[d])
|
|
5572
5569
|
for (var b = 0; b <= d; b++)
|
|
@@ -5579,7 +5576,7 @@ var Po = Lr(function(e, n, t, a) {
|
|
|
5579
5576
|
layer: d
|
|
5580
5577
|
}), 24))), d++;
|
|
5581
5578
|
} while (n.bubbleScroll && C !== i && (C = Qt(C, !1)));
|
|
5582
|
-
|
|
5579
|
+
jo = u;
|
|
5583
5580
|
}
|
|
5584
5581
|
}, 30), Kr = function(n) {
|
|
5585
5582
|
var t = n.originalEvent, a = n.putSortable, l = n.dragEl, o = n.activeSortable, r = n.dispatchSortableEvent, s = n.hideGhostForTarget, i = n.unhideGhostForTarget;
|
|
@@ -5593,9 +5590,9 @@ var Po = Lr(function(e, n, t, a) {
|
|
|
5593
5590
|
}));
|
|
5594
5591
|
}
|
|
5595
5592
|
};
|
|
5596
|
-
function
|
|
5593
|
+
function ll() {
|
|
5597
5594
|
}
|
|
5598
|
-
|
|
5595
|
+
ll.prototype = {
|
|
5599
5596
|
startIndex: null,
|
|
5600
5597
|
dragStart: function(n) {
|
|
5601
5598
|
var t = n.oldDraggableIndex;
|
|
@@ -5604,31 +5601,31 @@ rl.prototype = {
|
|
|
5604
5601
|
onSpill: function(n) {
|
|
5605
5602
|
var t = n.dragEl, a = n.putSortable;
|
|
5606
5603
|
this.sortable.captureAnimationState(), a && a.captureAnimationState();
|
|
5607
|
-
var l =
|
|
5604
|
+
var l = Mn(this.sortable.el, this.startIndex, this.options);
|
|
5608
5605
|
l ? this.sortable.el.insertBefore(t, l) : this.sortable.el.appendChild(t), this.sortable.animateAll(), a && a.animateAll();
|
|
5609
5606
|
},
|
|
5610
5607
|
drop: Kr
|
|
5611
5608
|
};
|
|
5612
|
-
jt(
|
|
5609
|
+
jt(ll, {
|
|
5613
5610
|
pluginName: "revertOnSpill"
|
|
5614
5611
|
});
|
|
5615
|
-
function
|
|
5612
|
+
function rl() {
|
|
5616
5613
|
}
|
|
5617
|
-
|
|
5614
|
+
rl.prototype = {
|
|
5618
5615
|
onSpill: function(n) {
|
|
5619
5616
|
var t = n.dragEl, a = n.putSortable, l = a || this.sortable;
|
|
5620
5617
|
l.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), l.animateAll();
|
|
5621
5618
|
},
|
|
5622
5619
|
drop: Kr
|
|
5623
5620
|
};
|
|
5624
|
-
jt(
|
|
5621
|
+
jt(rl, {
|
|
5625
5622
|
pluginName: "removeOnSpill"
|
|
5626
5623
|
});
|
|
5627
5624
|
we.mount(new ad());
|
|
5628
|
-
we.mount(
|
|
5625
|
+
we.mount(rl, ll);
|
|
5629
5626
|
function Wr(e, n, t = {}) {
|
|
5630
5627
|
let a;
|
|
5631
|
-
const { document: l =
|
|
5628
|
+
const { document: l = Is, watchElement: o = !1, ...r } = t, s = { onUpdate: (E) => {
|
|
5632
5629
|
rd(n, E.oldIndex, E.newIndex, E);
|
|
5633
5630
|
} }, i = () => {
|
|
5634
5631
|
a?.destroy(), a = void 0;
|
|
@@ -5638,14 +5635,14 @@ function Wr(e, n, t = {}) {
|
|
|
5638
5635
|
...r
|
|
5639
5636
|
}));
|
|
5640
5637
|
}, c = () => {
|
|
5641
|
-
const E = typeof e == "string" ? l?.querySelector(e) :
|
|
5638
|
+
const E = typeof e == "string" ? l?.querySelector(e) : xl(e);
|
|
5642
5639
|
E && u(E);
|
|
5643
5640
|
}, d = (E, p) => {
|
|
5644
5641
|
if (p !== void 0) a?.option(E, p);
|
|
5645
5642
|
else return a?.option(E);
|
|
5646
5643
|
};
|
|
5647
5644
|
let C;
|
|
5648
|
-
o && typeof e != "string" ? C = _e(() =>
|
|
5645
|
+
o && typeof e != "string" ? C = _e(() => xl(e), (E) => {
|
|
5649
5646
|
i(), E && u(E);
|
|
5650
5647
|
}, {
|
|
5651
5648
|
immediate: !0,
|
|
@@ -5788,7 +5785,7 @@ function gd(e, n, t, a) {
|
|
|
5788
5785
|
}, H = (O) => {
|
|
5789
5786
|
const b = Ee(e.value), h = g(O, b), v = [];
|
|
5790
5787
|
return !se(h) && b[h] ? (b.splice(h, 1), f(b, h, h, v), p(O), y(b), v) : [];
|
|
5791
|
-
},
|
|
5788
|
+
}, I = (O) => {
|
|
5792
5789
|
const b = Ee(e.value), h = [];
|
|
5793
5790
|
if (b[O]) {
|
|
5794
5791
|
const v = b[O][t.keyField];
|
|
@@ -5818,7 +5815,7 @@ function gd(e, n, t, a) {
|
|
|
5818
5815
|
addAfterId: $,
|
|
5819
5816
|
addAfterIndex: k,
|
|
5820
5817
|
removeById: H,
|
|
5821
|
-
removeByIndex:
|
|
5818
|
+
removeByIndex: I,
|
|
5822
5819
|
updateData: P,
|
|
5823
5820
|
updateDataAtIndex: A
|
|
5824
5821
|
};
|
|
@@ -5864,7 +5861,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5864
5861
|
return;
|
|
5865
5862
|
}
|
|
5866
5863
|
l("onAddLast", null);
|
|
5867
|
-
}, d = R(() => F(a.widgetIdentifierId) ? yd +
|
|
5864
|
+
}, d = R(() => F(a.widgetIdentifierId) ? yd + I.value : a.widgetIdentifierId), C = R(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), y = () => {
|
|
5868
5865
|
if (a.disableDraggable || !H.value) return;
|
|
5869
5866
|
const v = H.value.querySelector("." + nr);
|
|
5870
5867
|
v && ($.value = Wr(v, [], {
|
|
@@ -5894,7 +5891,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5894
5891
|
onRemoveDialogConfirm: k,
|
|
5895
5892
|
sortableInstance: $,
|
|
5896
5893
|
widgetEl: H,
|
|
5897
|
-
randomUuid:
|
|
5894
|
+
randomUuid: I,
|
|
5898
5895
|
addAfterId: N,
|
|
5899
5896
|
removeById: K,
|
|
5900
5897
|
updateData: V,
|
|
@@ -5927,7 +5924,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5927
5924
|
}), (v, w) => {
|
|
5928
5925
|
const D = Dn("ABtnTertiary"), B = Dn("ABtnPrimary");
|
|
5929
5926
|
return _(), de("div", null, [
|
|
5930
|
-
|
|
5927
|
+
Ie("div", {
|
|
5931
5928
|
id: d.value,
|
|
5932
5929
|
class: rt(C.value)
|
|
5933
5930
|
}, [
|
|
@@ -5946,14 +5943,14 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5946
5943
|
"append-icon": e.showDeleteButton ? "mdi-drag" : void 0,
|
|
5947
5944
|
"onClick:close": (le) => i(j)
|
|
5948
5945
|
}, nn({
|
|
5949
|
-
default:
|
|
5946
|
+
default: M(() => [
|
|
5950
5947
|
ke(v.$slots, "item", { item: j })
|
|
5951
5948
|
]),
|
|
5952
5949
|
_: 2
|
|
5953
5950
|
}, [
|
|
5954
5951
|
e.disableDraggable ? void 0 : {
|
|
5955
5952
|
name: "prepend",
|
|
5956
|
-
fn:
|
|
5953
|
+
fn: M(() => [
|
|
5957
5954
|
x(Oe, {
|
|
5958
5955
|
class: rt({
|
|
5959
5956
|
[L(Hn)]: !0,
|
|
@@ -5966,7 +5963,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5966
5963
|
},
|
|
5967
5964
|
e.showDeleteButton ? {
|
|
5968
5965
|
name: "append",
|
|
5969
|
-
fn:
|
|
5966
|
+
fn: M(() => [
|
|
5970
5967
|
x(Oe, {
|
|
5971
5968
|
class: "ml-2",
|
|
5972
5969
|
icon: "mdi-close-circle",
|
|
@@ -5977,10 +5974,10 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5977
5974
|
key: "1"
|
|
5978
5975
|
} : void 0
|
|
5979
5976
|
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (_(), de("div", wd, [
|
|
5980
|
-
|
|
5977
|
+
Ie("div", Cd, [
|
|
5981
5978
|
ke(v.$slots, "itemBefore", { item: j })
|
|
5982
5979
|
]),
|
|
5983
|
-
|
|
5980
|
+
Ie("div", {
|
|
5984
5981
|
class: rt(["a-sortable-widget__item", {
|
|
5985
5982
|
"a-sortable-widget__item--last": J + 1 === L(E).length,
|
|
5986
5983
|
"a-sortable-widget__item--first": J === 0
|
|
@@ -5993,10 +5990,10 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
5993
5990
|
}),
|
|
5994
5991
|
icon: "mdi-drag"
|
|
5995
5992
|
}, null, 8, ["class"]),
|
|
5996
|
-
|
|
5993
|
+
Ie("div", Sd, [
|
|
5997
5994
|
ke(v.$slots, "item", { item: j })
|
|
5998
5995
|
]),
|
|
5999
|
-
|
|
5996
|
+
Ie("div", {
|
|
6000
5997
|
class: rt(["a-sortable-widget__buttons", { "a-sortable-widget__buttons--permanent": e.permanentButtons }])
|
|
6001
5998
|
}, [
|
|
6002
5999
|
ke(v.$slots, "item-buttons", { item: j }, () => [
|
|
@@ -6008,7 +6005,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6008
6005
|
class: "mx-1",
|
|
6009
6006
|
onClick: De((le) => u(j), ["stop"])
|
|
6010
6007
|
}, {
|
|
6011
|
-
default:
|
|
6008
|
+
default: M(() => [
|
|
6012
6009
|
x(Oe, { icon: "mdi-pencil" }),
|
|
6013
6010
|
x(it, {
|
|
6014
6011
|
anchor: "bottom",
|
|
@@ -6026,7 +6023,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6026
6023
|
class: "mx-1",
|
|
6027
6024
|
onClick: De((le) => i(j), ["stop"])
|
|
6028
6025
|
}, {
|
|
6029
|
-
default:
|
|
6026
|
+
default: M(() => [
|
|
6030
6027
|
x(Oe, { icon: "mdi-trash-can-outline" }),
|
|
6031
6028
|
x(it, {
|
|
6032
6029
|
anchor: "bottom",
|
|
@@ -6044,7 +6041,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6044
6041
|
variant: "text",
|
|
6045
6042
|
class: "mx-1"
|
|
6046
6043
|
}, {
|
|
6047
|
-
default:
|
|
6044
|
+
default: M(() => [
|
|
6048
6045
|
x(Oe, { icon: "mdi-dots-vertical" }),
|
|
6049
6046
|
x(it, {
|
|
6050
6047
|
anchor: "bottom",
|
|
@@ -6052,14 +6049,14 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6052
6049
|
text: "More options"
|
|
6053
6050
|
}),
|
|
6054
6051
|
x(sa, { activator: "parent" }, {
|
|
6055
|
-
default:
|
|
6052
|
+
default: M(() => [
|
|
6056
6053
|
x(za, { density: "compact" }, {
|
|
6057
|
-
default:
|
|
6054
|
+
default: M(() => [
|
|
6058
6055
|
e.showAddAfterButton ? (_(), te(mt, {
|
|
6059
6056
|
key: 0,
|
|
6060
6057
|
onClick: De((le) => s(j), ["stop"])
|
|
6061
6058
|
}, {
|
|
6062
|
-
default:
|
|
6059
|
+
default: M(() => [...w[3] || (w[3] = [
|
|
6063
6060
|
ge(" Add new item after ", -1)
|
|
6064
6061
|
])]),
|
|
6065
6062
|
_: 1
|
|
@@ -6076,7 +6073,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6076
6073
|
])
|
|
6077
6074
|
], 2)
|
|
6078
6075
|
], 2),
|
|
6079
|
-
|
|
6076
|
+
Ie("div", kd, [
|
|
6080
6077
|
ke(v.$slots, "itemAfter", { item: j })
|
|
6081
6078
|
])
|
|
6082
6079
|
]))
|
|
@@ -6093,7 +6090,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6093
6090
|
class: "ma-1",
|
|
6094
6091
|
onClick: De(c, ["stop"])
|
|
6095
6092
|
}, {
|
|
6096
|
-
default:
|
|
6093
|
+
default: M(() => [
|
|
6097
6094
|
ge(ie(L(r)(e.addLastButtonT)), 1)
|
|
6098
6095
|
]),
|
|
6099
6096
|
_: 1
|
|
@@ -6104,24 +6101,24 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6104
6101
|
"onUpdate:modelValue": w[2] || (w[2] = (j) => Za(T) ? T.value = j : null),
|
|
6105
6102
|
width: 500
|
|
6106
6103
|
}, {
|
|
6107
|
-
default:
|
|
6108
|
-
L(T) ? (_(), te(
|
|
6109
|
-
default:
|
|
6110
|
-
x(
|
|
6104
|
+
default: M(() => [
|
|
6105
|
+
L(T) ? (_(), te(In, { key: 0 }, {
|
|
6106
|
+
default: M(() => [
|
|
6107
|
+
x(Xo, {
|
|
6111
6108
|
onOnCancel: w[0] || (w[0] = (j) => T.value = !1)
|
|
6112
6109
|
}, {
|
|
6113
|
-
default:
|
|
6110
|
+
default: M(() => [
|
|
6114
6111
|
ge(ie(L(r)("common.system.modal.confirmDelete")), 1)
|
|
6115
6112
|
]),
|
|
6116
6113
|
_: 1
|
|
6117
6114
|
}),
|
|
6118
6115
|
x(da, null, {
|
|
6119
|
-
default:
|
|
6116
|
+
default: M(() => [
|
|
6120
6117
|
x($n),
|
|
6121
6118
|
x(D, {
|
|
6122
6119
|
onClick: w[1] || (w[1] = De((j) => T.value = !1, ["stop"]))
|
|
6123
6120
|
}, {
|
|
6124
|
-
default:
|
|
6121
|
+
default: M(() => [
|
|
6125
6122
|
ge(ie(L(r)("common.button.cancel")), 1)
|
|
6126
6123
|
]),
|
|
6127
6124
|
_: 1
|
|
@@ -6129,7 +6126,7 @@ const yd = "a-sortable-", bd = ["id"], wd = { key: 1 }, Cd = { class: "a-sortabl
|
|
|
6129
6126
|
x(B, {
|
|
6130
6127
|
onClick: De(L(k), ["stop"])
|
|
6131
6128
|
}, {
|
|
6132
|
-
default:
|
|
6129
|
+
default: M(() => [
|
|
6133
6130
|
ge(ie(L(r)("common.button.delete")), 1)
|
|
6134
6131
|
]),
|
|
6135
6132
|
_: 1
|
|
@@ -6177,7 +6174,7 @@ const xd = {
|
|
|
6177
6174
|
}, Ad = {
|
|
6178
6175
|
key: 0,
|
|
6179
6176
|
class: "d-flex w-100 align-center justify-center"
|
|
6180
|
-
},
|
|
6177
|
+
}, Md = { key: 1 }, Id = {
|
|
6181
6178
|
key: 0,
|
|
6182
6179
|
class: "d-flex align-center justify-end"
|
|
6183
6180
|
}, $d = /* @__PURE__ */ Re({
|
|
@@ -6194,7 +6191,7 @@ const xd = {
|
|
|
6194
6191
|
const t = e, a = n, l = me(ht), o = me(Ct), r = me(Ar);
|
|
6195
6192
|
if (F(r) || F(l) || F(o))
|
|
6196
6193
|
throw new Error("Incorrect provide/inject config.");
|
|
6197
|
-
const s = U("add"), i = U(""), u = U(!1), c = U(!1), d = U(!1), C = U(!1), y = U(!1), E = U([]), p = U(null), { required: f, maxLength: m } =
|
|
6194
|
+
const s = U("add"), i = U(""), u = U(!1), c = U(!1), d = U(!1), C = U(!1), y = U(!1), E = U([]), p = U(null), { required: f, maxLength: m } = nl(), g = {
|
|
6198
6195
|
customName: {
|
|
6199
6196
|
required: f,
|
|
6200
6197
|
maxLength: m(100)
|
|
@@ -6207,7 +6204,7 @@ const xd = {
|
|
|
6207
6204
|
}, A = ra(P, { itemEdit: p }, { $stopPropagation: !0 }), k = $r(), {
|
|
6208
6205
|
createUserAdminConfig: $,
|
|
6209
6206
|
useFetchUserAdminConfigList: H,
|
|
6210
|
-
updateUserAdminConfigPositions:
|
|
6207
|
+
updateUserAdminConfigPositions: I,
|
|
6211
6208
|
deleteUserAdminConfig: N,
|
|
6212
6209
|
updateUserAdminConfig: K
|
|
6213
6210
|
} = (
|
|
@@ -6217,7 +6214,7 @@ const xd = {
|
|
|
6217
6214
|
d.value = !0;
|
|
6218
6215
|
const ee = E.value.map((Fe) => Fe.id);
|
|
6219
6216
|
try {
|
|
6220
|
-
await
|
|
6217
|
+
await I(ee), d.value = !1, await he(), a("onClose");
|
|
6221
6218
|
} catch (Fe) {
|
|
6222
6219
|
O(Fe), d.value = !1;
|
|
6223
6220
|
}
|
|
@@ -6238,7 +6235,7 @@ const xd = {
|
|
|
6238
6235
|
},
|
|
6239
6236
|
H
|
|
6240
6237
|
);
|
|
6241
|
-
if (ee >=
|
|
6238
|
+
if (ee >= Vo) {
|
|
6242
6239
|
y.value = !0, d.value = !1;
|
|
6243
6240
|
return;
|
|
6244
6241
|
}
|
|
@@ -6320,33 +6317,33 @@ const xd = {
|
|
|
6320
6317
|
"model-value": !0,
|
|
6321
6318
|
width: 500
|
|
6322
6319
|
}, {
|
|
6323
|
-
default:
|
|
6324
|
-
x(
|
|
6325
|
-
default:
|
|
6326
|
-
x(
|
|
6320
|
+
default: M(() => [
|
|
6321
|
+
x(In, null, {
|
|
6322
|
+
default: M(() => [
|
|
6323
|
+
x(Xo, {
|
|
6327
6324
|
onOnCancel: ee[0] || (ee[0] = (fe) => a("onClose"))
|
|
6328
6325
|
}, {
|
|
6329
|
-
default:
|
|
6326
|
+
default: M(() => [
|
|
6330
6327
|
ge(ie(L(V)("common.filter.bookmark.title")), 1)
|
|
6331
6328
|
]),
|
|
6332
6329
|
_: 1
|
|
6333
6330
|
}),
|
|
6334
6331
|
x(Qa, { class: "pt-0" }, {
|
|
6335
|
-
default:
|
|
6332
|
+
default: M(() => [
|
|
6336
6333
|
x(Zs, {
|
|
6337
6334
|
modelValue: s.value,
|
|
6338
6335
|
"onUpdate:modelValue": ee[1] || (ee[1] = (fe) => s.value = fe),
|
|
6339
6336
|
"fixed-tabs": ""
|
|
6340
6337
|
}, {
|
|
6341
|
-
default:
|
|
6342
|
-
x(
|
|
6343
|
-
default:
|
|
6338
|
+
default: M(() => [
|
|
6339
|
+
x(Tl, { value: "add" }, {
|
|
6340
|
+
default: M(() => [
|
|
6344
6341
|
ge(ie(L(V)("common.filter.bookmark.add")), 1)
|
|
6345
6342
|
]),
|
|
6346
6343
|
_: 1
|
|
6347
6344
|
}),
|
|
6348
|
-
x(
|
|
6349
|
-
default:
|
|
6345
|
+
x(Tl, { value: "manage" }, {
|
|
6346
|
+
default: M(() => [
|
|
6350
6347
|
ge(ie(L(V)("common.filter.bookmark.manage")), 1)
|
|
6351
6348
|
]),
|
|
6352
6349
|
_: 1
|
|
@@ -6364,7 +6361,7 @@ const xd = {
|
|
|
6364
6361
|
title: L(V)("common.filter.bookmark.errorMax")
|
|
6365
6362
|
}, null, 8, ["title"])) : ve("", !0),
|
|
6366
6363
|
x(un, null, {
|
|
6367
|
-
default:
|
|
6364
|
+
default: M(() => [
|
|
6368
6365
|
x(Ol, {
|
|
6369
6366
|
modelValue: i.value,
|
|
6370
6367
|
"onUpdate:modelValue": ee[2] || (ee[2] = (fe) => i.value = fe),
|
|
@@ -6376,7 +6373,7 @@ const xd = {
|
|
|
6376
6373
|
_: 1
|
|
6377
6374
|
}),
|
|
6378
6375
|
x(un, null, {
|
|
6379
|
-
default:
|
|
6376
|
+
default: M(() => [
|
|
6380
6377
|
x(Yl, {
|
|
6381
6378
|
modelValue: u.value,
|
|
6382
6379
|
"onUpdate:modelValue": ee[3] || (ee[3] = (fe) => u.value = fe),
|
|
@@ -6386,7 +6383,7 @@ const xd = {
|
|
|
6386
6383
|
_: 1
|
|
6387
6384
|
}),
|
|
6388
6385
|
x(un, null, {
|
|
6389
|
-
default:
|
|
6386
|
+
default: M(() => [
|
|
6390
6387
|
x(Yl, {
|
|
6391
6388
|
modelValue: c.value,
|
|
6392
6389
|
"onUpdate:modelValue": ee[4] || (ee[4] = (fe) => c.value = fe),
|
|
@@ -6397,7 +6394,7 @@ const xd = {
|
|
|
6397
6394
|
})
|
|
6398
6395
|
])) : s.value === "manage" ? (_(), de("div", Td, [
|
|
6399
6396
|
C.value ? (_(), de("div", Ad, [
|
|
6400
|
-
x(
|
|
6397
|
+
x(Wo, { indeterminate: "" })
|
|
6401
6398
|
])) : (_(), te(Dd, {
|
|
6402
6399
|
key: 1,
|
|
6403
6400
|
modelValue: E.value,
|
|
@@ -6408,7 +6405,7 @@ const xd = {
|
|
|
6408
6405
|
onOnDelete: le,
|
|
6409
6406
|
onOnEdit: Se
|
|
6410
6407
|
}, nn({
|
|
6411
|
-
item:
|
|
6408
|
+
item: M(({ item: fe }) => [
|
|
6412
6409
|
p.value && p.value.id === fe.raw.id ? (_(), te(Ol, {
|
|
6413
6410
|
key: 0,
|
|
6414
6411
|
ref_key: "inputRef",
|
|
@@ -6417,14 +6414,14 @@ const xd = {
|
|
|
6417
6414
|
"onUpdate:modelValue": ee[5] || (ee[5] = (z) => p.value.customName = z),
|
|
6418
6415
|
"hide-details": "auto",
|
|
6419
6416
|
v: L(A)
|
|
6420
|
-
}, null, 8, ["modelValue", "v"])) : (_(), de("div",
|
|
6417
|
+
}, null, 8, ["modelValue", "v"])) : (_(), de("div", Md, ie(fe.raw.customName), 1))
|
|
6421
6418
|
]),
|
|
6422
6419
|
_: 2
|
|
6423
6420
|
}, [
|
|
6424
6421
|
L(se)(p.value) ? void 0 : {
|
|
6425
6422
|
name: "item-buttons",
|
|
6426
|
-
fn:
|
|
6427
|
-
p.value && p.value.id === fe.raw.id ? (_(), de("div",
|
|
6423
|
+
fn: M(({ item: fe }) => [
|
|
6424
|
+
p.value && p.value.id === fe.raw.id ? (_(), de("div", Id, [
|
|
6428
6425
|
x(Pe, {
|
|
6429
6426
|
icon: "",
|
|
6430
6427
|
size: "x-small",
|
|
@@ -6432,7 +6429,7 @@ const xd = {
|
|
|
6432
6429
|
class: "mx-1",
|
|
6433
6430
|
onClick: De((z) => Ce(fe), ["stop"])
|
|
6434
6431
|
}, {
|
|
6435
|
-
default:
|
|
6432
|
+
default: M(() => [
|
|
6436
6433
|
x(Oe, { icon: "mdi-check" }),
|
|
6437
6434
|
x(it, {
|
|
6438
6435
|
anchor: "bottom",
|
|
@@ -6449,7 +6446,7 @@ const xd = {
|
|
|
6449
6446
|
class: "mx-1",
|
|
6450
6447
|
onClick: ee[6] || (ee[6] = De((z) => ne(), ["stop"]))
|
|
6451
6448
|
}, {
|
|
6452
|
-
default:
|
|
6449
|
+
default: M(() => [
|
|
6453
6450
|
x(Oe, { icon: "mdi-close" }),
|
|
6454
6451
|
x(it, {
|
|
6455
6452
|
anchor: "bottom",
|
|
@@ -6469,13 +6466,13 @@ const xd = {
|
|
|
6469
6466
|
_: 1
|
|
6470
6467
|
}),
|
|
6471
6468
|
x(da, null, {
|
|
6472
|
-
default:
|
|
6469
|
+
default: M(() => [
|
|
6473
6470
|
x($n),
|
|
6474
6471
|
x(Fe, {
|
|
6475
6472
|
"data-cy": "button-cancel",
|
|
6476
6473
|
onClick: ee[8] || (ee[8] = De((fe) => a("onClose"), ["stop"]))
|
|
6477
6474
|
}, {
|
|
6478
|
-
default:
|
|
6475
|
+
default: M(() => [
|
|
6479
6476
|
ge(ie(L(V)("common.button.cancel")), 1)
|
|
6480
6477
|
]),
|
|
6481
6478
|
_: 1
|
|
@@ -6485,7 +6482,7 @@ const xd = {
|
|
|
6485
6482
|
loading: d.value,
|
|
6486
6483
|
onClick: De(J, ["stop"])
|
|
6487
6484
|
}, {
|
|
6488
|
-
default:
|
|
6485
|
+
default: M(() => [
|
|
6489
6486
|
ge(ie(s.value === "add" ? L(V)("common.button.add") : L(V)("common.filter.bookmark.saveBookmarkOrder")), 1)
|
|
6490
6487
|
]),
|
|
6491
6488
|
_: 1
|
|
@@ -6530,7 +6527,7 @@ const xd = {
|
|
|
6530
6527
|
variant: "flat",
|
|
6531
6528
|
onClick: De(t, ["stop"])
|
|
6532
6529
|
}, {
|
|
6533
|
-
default:
|
|
6530
|
+
default: M(() => [
|
|
6534
6531
|
x(Oe, {
|
|
6535
6532
|
color: "grey-darken-1",
|
|
6536
6533
|
icon: "mdi-bookmark-outline"
|
|
@@ -6539,7 +6536,7 @@ const xd = {
|
|
|
6539
6536
|
activator: "parent",
|
|
6540
6537
|
location: "bottom"
|
|
6541
6538
|
}, {
|
|
6542
|
-
default:
|
|
6539
|
+
default: M(() => [
|
|
6543
6540
|
ge(ie(L(a)(e.tooltipT)), 1)
|
|
6544
6541
|
]),
|
|
6545
6542
|
_: 1
|
|
@@ -6612,14 +6609,14 @@ const xd = {
|
|
|
6612
6609
|
name: e.formName,
|
|
6613
6610
|
onSubmit: De(C, ["prevent"])
|
|
6614
6611
|
}, {
|
|
6615
|
-
default:
|
|
6616
|
-
|
|
6612
|
+
default: M(() => [
|
|
6613
|
+
Ie("div", Fd, [
|
|
6617
6614
|
ke(T.$slots, "bookmarks", {}, () => [
|
|
6618
6615
|
x(cn, { density: "compact" }, {
|
|
6619
|
-
default:
|
|
6616
|
+
default: M(() => [
|
|
6620
6617
|
e.store && e.userId && L(Ue)(e.client) ? (_(), te(Ut, { key: 0 }, {
|
|
6621
|
-
default:
|
|
6622
|
-
|
|
6618
|
+
default: M(() => [
|
|
6619
|
+
Ie("div", Bd, [
|
|
6623
6620
|
u.value.system && u.value.subject && e.userId && L(Ue)(e.client) ? (_(), te(Br, {
|
|
6624
6621
|
key: 0,
|
|
6625
6622
|
"datatable-hidden-columns": o.value,
|
|
@@ -6640,7 +6637,7 @@ const xd = {
|
|
|
6640
6637
|
]),
|
|
6641
6638
|
ke(T.$slots, "detail", {}, () => [
|
|
6642
6639
|
x(cn, null, {
|
|
6643
|
-
default:
|
|
6640
|
+
default: M(() => [
|
|
6644
6641
|
(_(!0), de(We, null, en(g.value, (A) => (_(), te(Ut, {
|
|
6645
6642
|
key: A,
|
|
6646
6643
|
cols: L(s).fields[A].render.xs || 12,
|
|
@@ -6649,11 +6646,11 @@ const xd = {
|
|
|
6649
6646
|
lg: L(s).fields[A].render.lg || 12,
|
|
6650
6647
|
xl: L(s).fields[A].render.xl || 12
|
|
6651
6648
|
}, {
|
|
6652
|
-
default:
|
|
6653
|
-
ke(T.$slots, L(
|
|
6649
|
+
default: M(() => [
|
|
6650
|
+
ke(T.$slots, L(Mr)(A), {
|
|
6654
6651
|
itemConfig: L(s).fields[A]
|
|
6655
6652
|
}, () => [
|
|
6656
|
-
x(
|
|
6653
|
+
x(Ir, { name: A }, null, 8, ["name"])
|
|
6657
6654
|
])
|
|
6658
6655
|
]),
|
|
6659
6656
|
_: 2
|
|
@@ -6755,7 +6752,7 @@ const xd = {
|
|
|
6755
6752
|
if (F(f) || F(m) || F(t.v?.$path)) return "";
|
|
6756
6753
|
const { end: b } = Tn(t.v?.$path, ".");
|
|
6757
6754
|
return p(f + "." + m + ".model." + b);
|
|
6758
|
-
}), H = R(() => F(t.required) ? t.v?.required && t.v?.required.$params.type === "required" : t.required), { showErrorsDefault:
|
|
6755
|
+
}), H = R(() => F(t.required) ? t.v?.required && t.v?.required.$params.type === "required" : t.required), { showErrorsDefault: I } = Nn(), N = async (b) => {
|
|
6759
6756
|
if (se(b) || b.length < t.minSearchChars) {
|
|
6760
6757
|
r.value.clear();
|
|
6761
6758
|
return;
|
|
@@ -6766,7 +6763,7 @@ const xd = {
|
|
|
6766
6763
|
r.value.set(v[t.itemValue], v);
|
|
6767
6764
|
});
|
|
6768
6765
|
} catch (h) {
|
|
6769
|
-
|
|
6766
|
+
I(h);
|
|
6770
6767
|
} finally {
|
|
6771
6768
|
o.value = !1;
|
|
6772
6769
|
}
|
|
@@ -6822,7 +6819,7 @@ const xd = {
|
|
|
6822
6819
|
onFocus: P,
|
|
6823
6820
|
"onClick:clear": O
|
|
6824
6821
|
}, nn({
|
|
6825
|
-
label:
|
|
6822
|
+
label: M(() => [
|
|
6826
6823
|
e.hideLabel ? ve("", !0) : (_(), de("span", {
|
|
6827
6824
|
key: H.value + ""
|
|
6828
6825
|
}, [
|
|
@@ -6830,10 +6827,10 @@ const xd = {
|
|
|
6830
6827
|
H.value ? (_(), de("span", _d)) : ve("", !0)
|
|
6831
6828
|
]))
|
|
6832
6829
|
]),
|
|
6833
|
-
"append-item":
|
|
6830
|
+
"append-item": M(() => [
|
|
6834
6831
|
ke(b.$slots, "append-item")
|
|
6835
6832
|
]),
|
|
6836
|
-
chip:
|
|
6833
|
+
chip: M(({ props: v, internalItem: w }) => [
|
|
6837
6834
|
ke(b.$slots, "chip", {
|
|
6838
6835
|
props: v,
|
|
6839
6836
|
item: w
|
|
@@ -6843,7 +6840,7 @@ const xd = {
|
|
|
6843
6840
|
}), null, 16, ["text"])
|
|
6844
6841
|
])
|
|
6845
6842
|
]),
|
|
6846
|
-
item:
|
|
6843
|
+
item: M(({ props: v, internalItem: w }) => [
|
|
6847
6844
|
ke(b.$slots, "item", {
|
|
6848
6845
|
props: v,
|
|
6849
6846
|
item: w
|
|
@@ -6855,7 +6852,7 @@ const xd = {
|
|
|
6855
6852
|
}, [
|
|
6856
6853
|
e.multiple ? void 0 : {
|
|
6857
6854
|
name: "selection",
|
|
6858
|
-
fn:
|
|
6855
|
+
fn: M(() => []),
|
|
6859
6856
|
key: "0"
|
|
6860
6857
|
}
|
|
6861
6858
|
]), 1032, ["modelValue", "search", "items", "multiple", "clearable", "error-messages", "loading", "no-data-text"]));
|
|
@@ -6880,13 +6877,13 @@ const xd = {
|
|
|
6880
6877
|
variant: "text",
|
|
6881
6878
|
onClick: De(l, ["stop"])
|
|
6882
6879
|
}, {
|
|
6883
|
-
default:
|
|
6880
|
+
default: M(() => [
|
|
6884
6881
|
x(Oe, { icon: "mdi-filter-variant" }),
|
|
6885
6882
|
x(it, {
|
|
6886
6883
|
activator: "parent",
|
|
6887
6884
|
location: "bottom"
|
|
6888
6885
|
}, {
|
|
6889
|
-
default:
|
|
6886
|
+
default: M(() => [
|
|
6890
6887
|
ge(ie(L(o)(e.tooltipT)), 1)
|
|
6891
6888
|
]),
|
|
6892
6889
|
_: 1
|
|
@@ -6918,7 +6915,7 @@ const xd = {
|
|
|
6918
6915
|
key: C.name,
|
|
6919
6916
|
class: "a-selected-filters"
|
|
6920
6917
|
}, [
|
|
6921
|
-
|
|
6918
|
+
Ie("div", Pd, ie(C.title) + ": ", 1),
|
|
6922
6919
|
(_(!0), de(We, null, en(C.options, (y) => (_(), de("div", {
|
|
6923
6920
|
key: y.value,
|
|
6924
6921
|
class: "a-selected-filters__chips"
|
|
@@ -6930,13 +6927,13 @@ const xd = {
|
|
|
6930
6927
|
class: "a-selected-filters__chip",
|
|
6931
6928
|
"onClick:close": De((E) => u(C.name, y.value), ["stop"])
|
|
6932
6929
|
}, {
|
|
6933
|
-
close:
|
|
6930
|
+
close: M(() => [
|
|
6934
6931
|
x(Oe, {
|
|
6935
6932
|
size: "16",
|
|
6936
6933
|
icon: "mdi-close-circle"
|
|
6937
6934
|
})
|
|
6938
6935
|
]),
|
|
6939
|
-
default:
|
|
6936
|
+
default: M(() => [
|
|
6940
6937
|
ge(" " + ie(y.title), 1)
|
|
6941
6938
|
]),
|
|
6942
6939
|
_: 2
|
|
@@ -6945,7 +6942,7 @@ const xd = {
|
|
|
6945
6942
|
size: "small",
|
|
6946
6943
|
class: "a-selected-filters__chip"
|
|
6947
6944
|
}, {
|
|
6948
|
-
default:
|
|
6945
|
+
default: M(() => [
|
|
6949
6946
|
ge(ie(y.title), 1)
|
|
6950
6947
|
]),
|
|
6951
6948
|
_: 2
|
|
@@ -7009,14 +7006,14 @@ const xd = {
|
|
|
7009
7006
|
name: e.formName,
|
|
7010
7007
|
onSubmit: De(C, ["prevent"])
|
|
7011
7008
|
}, {
|
|
7012
|
-
default:
|
|
7009
|
+
default: M(() => [
|
|
7013
7010
|
e.enableTop ? (_(), te(cn, {
|
|
7014
7011
|
key: 0,
|
|
7015
7012
|
density: "comfortable"
|
|
7016
7013
|
}, {
|
|
7017
|
-
default:
|
|
7014
|
+
default: M(() => [
|
|
7018
7015
|
x(Ut, null, {
|
|
7019
|
-
default:
|
|
7016
|
+
default: M(() => [
|
|
7020
7017
|
ke(P.$slots, "top")
|
|
7021
7018
|
]),
|
|
7022
7019
|
_: 3
|
|
@@ -7025,11 +7022,11 @@ const xd = {
|
|
|
7025
7022
|
_: 3
|
|
7026
7023
|
})) : ve("", !0),
|
|
7027
7024
|
x(cn, { density: "compact" }, {
|
|
7028
|
-
default:
|
|
7025
|
+
default: M(() => [
|
|
7029
7026
|
e.store && e.userId && L(Ue)(e.client) ? (_(), te(Ut, { key: 0 }, {
|
|
7030
|
-
default:
|
|
7027
|
+
default: M(() => [
|
|
7031
7028
|
ke(P.$slots, "bookmarks", {}, () => [
|
|
7032
|
-
|
|
7029
|
+
Ie("div", Nd, [
|
|
7033
7030
|
u.value.system && u.value.subject && e.userId && L(Ue)(e.client) ? (_(), te(Br, {
|
|
7034
7031
|
key: 0,
|
|
7035
7032
|
"datatable-hidden-columns": o.value,
|
|
@@ -7052,12 +7049,12 @@ const xd = {
|
|
|
7052
7049
|
key: 1,
|
|
7053
7050
|
density: "comfortable"
|
|
7054
7051
|
}, {
|
|
7055
|
-
default:
|
|
7052
|
+
default: M(() => [
|
|
7056
7053
|
e.hideMore ? ve("", !0) : (_(), te(Ut, {
|
|
7057
7054
|
key: 0,
|
|
7058
7055
|
cols: "auto"
|
|
7059
7056
|
}, {
|
|
7060
|
-
default:
|
|
7057
|
+
default: M(() => [
|
|
7061
7058
|
x(Rd, {
|
|
7062
7059
|
"button-active": r.value,
|
|
7063
7060
|
onAdvancedFilter: m
|
|
@@ -7066,9 +7063,9 @@ const xd = {
|
|
|
7066
7063
|
_: 1
|
|
7067
7064
|
})),
|
|
7068
7065
|
x(Ut, null, {
|
|
7069
|
-
default:
|
|
7070
|
-
|
|
7071
|
-
|
|
7066
|
+
default: M(() => [
|
|
7067
|
+
Ie("div", Vd, [
|
|
7068
|
+
Ie("div", Ud, [
|
|
7072
7069
|
ke(P.$slots, "search")
|
|
7073
7070
|
]),
|
|
7074
7071
|
x(Ld)
|
|
@@ -7081,7 +7078,7 @@ const xd = {
|
|
|
7081
7078
|
class: "text-right",
|
|
7082
7079
|
cols: "auto"
|
|
7083
7080
|
}, {
|
|
7084
|
-
default:
|
|
7081
|
+
default: M(() => [
|
|
7085
7082
|
ke(P.$slots, "buttons", {}, () => [
|
|
7086
7083
|
x(Dr, { touched: g.value }, null, 8, ["touched"]),
|
|
7087
7084
|
x(Er, { onReset: f }),
|
|
@@ -7102,13 +7099,13 @@ const xd = {
|
|
|
7102
7099
|
})),
|
|
7103
7100
|
e.hideMore ? ve("", !0) : (_(), de("div", Yd, [
|
|
7104
7101
|
(_(), te(or(e.alwaysVisible ? "div" : "VSlideYTransition"), null, {
|
|
7105
|
-
default:
|
|
7106
|
-
la(
|
|
7102
|
+
default: M(() => [
|
|
7103
|
+
la(Ie("div", {
|
|
7107
7104
|
class: rt({ "mt-6 pa-4 system-border-a": !e.alwaysVisible })
|
|
7108
7105
|
}, [
|
|
7109
7106
|
ke(P.$slots, "detail", {}, () => [
|
|
7110
7107
|
x(cn, null, {
|
|
7111
|
-
default:
|
|
7108
|
+
default: M(() => [
|
|
7112
7109
|
(_(!0), de(We, null, en(T.value, (k) => (_(), te(Ut, {
|
|
7113
7110
|
key: k,
|
|
7114
7111
|
cols: L(s).fields[k].render.xs || 12,
|
|
@@ -7117,11 +7114,11 @@ const xd = {
|
|
|
7117
7114
|
lg: L(s).fields[k].render.lg || 3,
|
|
7118
7115
|
xl: L(s).fields[k].render.xl || 2
|
|
7119
7116
|
}, {
|
|
7120
|
-
default:
|
|
7121
|
-
ke(P.$slots, L(
|
|
7117
|
+
default: M(() => [
|
|
7118
|
+
ke(P.$slots, L(Mr)(k), {
|
|
7122
7119
|
itemConfig: L(s).fields[k]
|
|
7123
7120
|
}, () => [
|
|
7124
|
-
x(
|
|
7121
|
+
x(Ir, { name: k }, null, 8, ["name"])
|
|
7125
7122
|
])
|
|
7126
7123
|
]),
|
|
7127
7124
|
_: 2
|
|
@@ -7289,7 +7286,7 @@ const Kd = (e) => [...e].sort((n, t) => n.position - t.position), Wd = (e, n = [
|
|
|
7289
7286
|
);
|
|
7290
7287
|
};
|
|
7291
7288
|
let Zd = 0;
|
|
7292
|
-
const
|
|
7289
|
+
const qo = () => --Zd;
|
|
7293
7290
|
function Jr(e) {
|
|
7294
7291
|
const n = typeof e.getKey == "function" ? null : e.getKey ?? "id", t = (z) => typeof e.getKey == "function" ? e.getKey(z) : z[n], a = e.position ?? "position", l = a !== !1, o = typeof a == "object" ? a.field : a === !1 ? "position" : a, r = typeof a == "object" && a.multiplier ? a.multiplier : 1, s = typeof a == "object" && a.strategy || "renumber", i = typeof a == "object" && a.strategyOverrides || {}, u = R(() => e.get()), c = R(() => En(e.dirtyExclude) ?? []), d = (z, W) => z === "id" && typeof W == "number" && W < 0 ? void 0 : W, C = (z) => {
|
|
7295
7292
|
const W = { ...z };
|
|
@@ -7315,7 +7312,7 @@ function Jr(e) {
|
|
|
7315
7312
|
let W = !1;
|
|
7316
7313
|
return { rows: z.map((Y) => {
|
|
7317
7314
|
const oe = t(Y);
|
|
7318
|
-
return oe == null ? (W = !0, { ...Y, [n]:
|
|
7315
|
+
return oe == null ? (W = !0, { ...Y, [n]: qo() }) : Y;
|
|
7319
7316
|
}), changed: W };
|
|
7320
7317
|
})(e.get());
|
|
7321
7318
|
m.changed && e.set(m.rows), p(m.rows);
|
|
@@ -7345,7 +7342,7 @@ function Jr(e) {
|
|
|
7345
7342
|
},
|
|
7346
7343
|
{ immediate: !0, deep: !0 }
|
|
7347
7344
|
);
|
|
7348
|
-
const
|
|
7345
|
+
const I = (z) => H.value.has(z), N = R(() => {
|
|
7349
7346
|
const z = /* @__PURE__ */ new Set();
|
|
7350
7347
|
for (const W of e.get()) {
|
|
7351
7348
|
const ue = t(W);
|
|
@@ -7373,7 +7370,7 @@ function Jr(e) {
|
|
|
7373
7370
|
return z;
|
|
7374
7371
|
}), v = R(() => h.value.size > 0), w = (z, W, ue = !1) => {
|
|
7375
7372
|
const { invalid: Y, warning: oe } = b(z, W);
|
|
7376
|
-
return Y ? P.value ? "invalid" : ue ? null :
|
|
7373
|
+
return Y ? P.value ? "invalid" : ue ? null : I(W) || K(W) ? "invalid" : null : oe ? "warning" : null;
|
|
7377
7374
|
}, D = () => (P.value = !0, h.value.size === 0), B = (z, W) => l ? (i[W] ?? s) === "preserve-values" ? W === "move" ? Xd(z, { positionField: o }) : z : Gd(z, { positionField: o, positionMultiplier: r }) : z, j = (z, W) => e.set(B(z, W)), J = () => e.payload ? e.payload(e.get()) : B(e.get(), "payload"), le = () => {
|
|
7378
7375
|
const z = [], W = [], ue = [];
|
|
7379
7376
|
for (const Y of e.get()) {
|
|
@@ -7387,7 +7384,7 @@ function Jr(e) {
|
|
|
7387
7384
|
oe,
|
|
7388
7385
|
E.value.find((Be) => t(Be) === t(oe))
|
|
7389
7386
|
) : t(oe);
|
|
7390
|
-
return pe == null && n ? { ...oe, [n]:
|
|
7387
|
+
return pe == null && n ? { ...oe, [n]: qo() } : oe;
|
|
7391
7388
|
});
|
|
7392
7389
|
e.set(Y), p(Y), g.value = /* @__PURE__ */ new Set(), T.value = [], $.value = /* @__PURE__ */ new Map(), H.value = /* @__PURE__ */ new Set(), P.value = !1;
|
|
7393
7390
|
}, Se = (z) => {
|
|
@@ -7567,7 +7564,7 @@ function tf(e, n) {
|
|
|
7567
7564
|
}, H = (b) => {
|
|
7568
7565
|
const h = Ee(e.value), v = A(h, b, (w, D) => D > 0 ? 0 : null);
|
|
7569
7566
|
return v && (e.value = v), v;
|
|
7570
|
-
},
|
|
7567
|
+
}, I = (b) => {
|
|
7571
7568
|
const h = Ee(e.value), v = A(h, b, (w, D) => D < w.length - 1 ? w.length - 1 : null);
|
|
7572
7569
|
return v && (e.value = v), v;
|
|
7573
7570
|
}, N = (b) => {
|
|
@@ -7608,7 +7605,7 @@ function tf(e, n) {
|
|
|
7608
7605
|
moveUp: k,
|
|
7609
7606
|
moveDown: $,
|
|
7610
7607
|
moveTop: H,
|
|
7611
|
-
moveBottom:
|
|
7608
|
+
moveBottom: I,
|
|
7612
7609
|
indent: N,
|
|
7613
7610
|
outdent: K,
|
|
7614
7611
|
moveTo: (b, h, v) => {
|
|
@@ -7699,7 +7696,7 @@ function af(e) {
|
|
|
7699
7696
|
}
|
|
7700
7697
|
const Le = p.value.get(ce);
|
|
7701
7698
|
return !!(Le === void 0 || Le !== E(Q.data) || f.value.has(ce) && (f.value.get(ce) ?? null ?? null) !== (xe ?? null));
|
|
7702
|
-
}, $ = U(/* @__PURE__ */ new Map()), H = U(/* @__PURE__ */ new Set()),
|
|
7699
|
+
}, $ = U(/* @__PURE__ */ new Map()), H = U(/* @__PURE__ */ new Set()), I = U(/* @__PURE__ */ new Set());
|
|
7703
7700
|
_e(
|
|
7704
7701
|
() => e.get(),
|
|
7705
7702
|
(Q) => {
|
|
@@ -7715,8 +7712,8 @@ function af(e) {
|
|
|
7715
7712
|
for (const Ae of $.value.keys()) ce.has(Ae) || xe.push(Ae);
|
|
7716
7713
|
for (const Ae of xe) $.value.delete(Ae);
|
|
7717
7714
|
const Le = [];
|
|
7718
|
-
for (const Ae of
|
|
7719
|
-
for (const Ae of Le)
|
|
7715
|
+
for (const Ae of I.value) ce.has(Ae) && Le.push(Ae);
|
|
7716
|
+
for (const Ae of Le) I.value.delete(Ae);
|
|
7720
7717
|
},
|
|
7721
7718
|
{ immediate: !0, deep: !0 }
|
|
7722
7719
|
);
|
|
@@ -7745,10 +7742,10 @@ function af(e) {
|
|
|
7745
7742
|
ce.meta.dirty && (Q = !0);
|
|
7746
7743
|
}), Q;
|
|
7747
7744
|
}), v = R(
|
|
7748
|
-
() => O.value.size > 0 ||
|
|
7745
|
+
() => O.value.size > 0 || I.value.size > 0 || h.value
|
|
7749
7746
|
), w = R(() => {
|
|
7750
7747
|
const Q = new Set(O.value);
|
|
7751
|
-
for (const ce of
|
|
7748
|
+
for (const ce of I.value) Q.add(ce);
|
|
7752
7749
|
return Q.size;
|
|
7753
7750
|
}), D = (Q, ce) => {
|
|
7754
7751
|
const xe = A.get(ce);
|
|
@@ -7796,7 +7793,7 @@ function af(e) {
|
|
|
7796
7793
|
}
|
|
7797
7794
|
});
|
|
7798
7795
|
const nt = [];
|
|
7799
|
-
for (const at of
|
|
7796
|
+
for (const at of I.value) {
|
|
7800
7797
|
const Nt = K(at);
|
|
7801
7798
|
Nt !== void 0 && nt.push(Nt);
|
|
7802
7799
|
}
|
|
@@ -7806,12 +7803,12 @@ function af(e) {
|
|
|
7806
7803
|
const ce = Q ?? e.get(), xe = e.normalizeSaved ? e.normalizeSaved(ce) : ce, Le = g(xe);
|
|
7807
7804
|
Xt(Le, (Ae) => {
|
|
7808
7805
|
const ze = K(t(Ae.data)), nt = e.commitKey ? e.commitKey(Ae.data, ze) : t(Ae.data);
|
|
7809
|
-
nt == null && n && (Ae.data[a] =
|
|
7810
|
-
}), e.set(Le), T(Le), $.value = /* @__PURE__ */ new Map(), H.value = /* @__PURE__ */ new Set(),
|
|
7806
|
+
nt == null && n && (Ae.data[a] = qo()), Ae.meta.dirty = !1;
|
|
7807
|
+
}), e.set(Le), T(Le), $.value = /* @__PURE__ */ new Map(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), P.value = !1;
|
|
7811
7808
|
},
|
|
7812
7809
|
reset: (Q) => {
|
|
7813
7810
|
const ce = Q ?? (m.value ? g(m.value) : e.get());
|
|
7814
|
-
e.set(ce), $.value = /* @__PURE__ */ new Map(), H.value = /* @__PURE__ */ new Set(),
|
|
7811
|
+
e.set(ce), $.value = /* @__PURE__ */ new Map(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), P.value = !1;
|
|
7815
7812
|
},
|
|
7816
7813
|
addItem: (Q, ce) => {
|
|
7817
7814
|
const xe = Q ?? e.factory?.();
|
|
@@ -7829,10 +7826,10 @@ function af(e) {
|
|
|
7829
7826
|
c.updateItem(Q, ce, xe);
|
|
7830
7827
|
},
|
|
7831
7828
|
deleteItem: (Q, ce) => {
|
|
7832
|
-
p.value.has(Q) && ce?.trackDeleted !== !1 && V(Q) &&
|
|
7829
|
+
p.value.has(Q) && ce?.trackDeleted !== !1 && V(Q) && I.value.add(Q), c.deleteItem(Q);
|
|
7833
7830
|
},
|
|
7834
7831
|
restoreDeleted: (Q) => {
|
|
7835
|
-
|
|
7832
|
+
I.value.delete(Q);
|
|
7836
7833
|
},
|
|
7837
7834
|
moveUp: (Q) => c.moveUp(Q) !== null,
|
|
7838
7835
|
moveDown: (Q) => c.moveDown(Q) !== null,
|
|
@@ -7849,7 +7846,7 @@ function af(e) {
|
|
|
7849
7846
|
calculateSubtreeDepth: c.calculateSubtreeDepth
|
|
7850
7847
|
};
|
|
7851
7848
|
}
|
|
7852
|
-
const
|
|
7849
|
+
const sl = /* @__PURE__ */ Symbol(
|
|
7853
7850
|
"le.stateScope"
|
|
7854
7851
|
);
|
|
7855
7852
|
let of = 0;
|
|
@@ -7903,7 +7900,7 @@ function Qr() {
|
|
|
7903
7900
|
}
|
|
7904
7901
|
function lf(e) {
|
|
7905
7902
|
const n = e ?? Qr();
|
|
7906
|
-
return fn(
|
|
7903
|
+
return fn(sl, n), n;
|
|
7907
7904
|
}
|
|
7908
7905
|
const es = (e) => {
|
|
7909
7906
|
const n = e.get();
|
|
@@ -7911,7 +7908,7 @@ const es = (e) => {
|
|
|
7911
7908
|
} };
|
|
7912
7909
|
};
|
|
7913
7910
|
function rf(e, n) {
|
|
7914
|
-
const t = me(
|
|
7911
|
+
const t = me(sl, null);
|
|
7915
7912
|
if (!e || !t) return null;
|
|
7916
7913
|
const a = $t()?.uid ?? null, l = t.resolve(
|
|
7917
7914
|
e,
|
|
@@ -7934,7 +7931,7 @@ function rf(e, n) {
|
|
|
7934
7931
|
), { handle: l, childScope: t.childScope(e) };
|
|
7935
7932
|
}
|
|
7936
7933
|
function Vv(e, n) {
|
|
7937
|
-
const t = me(
|
|
7934
|
+
const t = me(sl, null);
|
|
7938
7935
|
if (!e || !t) return null;
|
|
7939
7936
|
const a = $t()?.uid ?? null, l = t.resolve(
|
|
7940
7937
|
e,
|
|
@@ -8154,17 +8151,17 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8154
8151
|
"max-width": "420",
|
|
8155
8152
|
persistent: e.inFlight
|
|
8156
8153
|
}, {
|
|
8157
|
-
default:
|
|
8158
|
-
x(
|
|
8159
|
-
default:
|
|
8154
|
+
default: M(() => [
|
|
8155
|
+
x(In, null, {
|
|
8156
|
+
default: M(() => [
|
|
8160
8157
|
x(rr, { class: "text-headline-small" }, {
|
|
8161
|
-
default:
|
|
8158
|
+
default: M(() => [
|
|
8162
8159
|
ge(ie(e.title), 1)
|
|
8163
8160
|
]),
|
|
8164
8161
|
_: 1
|
|
8165
8162
|
}),
|
|
8166
8163
|
x(Qa, null, {
|
|
8167
|
-
default:
|
|
8164
|
+
default: M(() => [
|
|
8168
8165
|
ge(ie(e.text) + " ", 1),
|
|
8169
8166
|
e.error ? (_(), te(dr, {
|
|
8170
8167
|
key: 0,
|
|
@@ -8173,7 +8170,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8173
8170
|
density: "compact",
|
|
8174
8171
|
class: "mt-3"
|
|
8175
8172
|
}, {
|
|
8176
|
-
default:
|
|
8173
|
+
default: M(() => [
|
|
8177
8174
|
ge(ie(e.error), 1)
|
|
8178
8175
|
]),
|
|
8179
8176
|
_: 1
|
|
@@ -8182,14 +8179,14 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8182
8179
|
_: 1
|
|
8183
8180
|
}),
|
|
8184
8181
|
x(da, null, {
|
|
8185
|
-
default:
|
|
8182
|
+
default: M(() => [
|
|
8186
8183
|
x($n),
|
|
8187
8184
|
x(Pe, {
|
|
8188
8185
|
variant: "text",
|
|
8189
8186
|
disabled: e.inFlight,
|
|
8190
8187
|
onClick: a[0] || (a[0] = (l) => t.$emit("cancel"))
|
|
8191
8188
|
}, {
|
|
8192
|
-
default:
|
|
8189
|
+
default: M(() => [
|
|
8193
8190
|
ge(ie(e.cancelLabel), 1)
|
|
8194
8191
|
]),
|
|
8195
8192
|
_: 1
|
|
@@ -8201,7 +8198,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8201
8198
|
disabled: e.inFlight,
|
|
8202
8199
|
onClick: a[1] || (a[1] = (l) => t.$emit("confirm"))
|
|
8203
8200
|
}, {
|
|
8204
|
-
default:
|
|
8201
|
+
default: M(() => [
|
|
8205
8202
|
ge(ie(e.confirmLabel), 1)
|
|
8206
8203
|
]),
|
|
8207
8204
|
_: 1
|
|
@@ -8250,17 +8247,17 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8250
8247
|
"max-width": "420",
|
|
8251
8248
|
persistent: ""
|
|
8252
8249
|
}, {
|
|
8253
|
-
default:
|
|
8254
|
-
x(
|
|
8255
|
-
default:
|
|
8250
|
+
default: M(() => [
|
|
8251
|
+
x(In, null, {
|
|
8252
|
+
default: M(() => [
|
|
8256
8253
|
x(rr, null, {
|
|
8257
|
-
default:
|
|
8254
|
+
default: M(() => [
|
|
8258
8255
|
ge(ie(L(o)("common.sortable.moveToPosition.title")), 1)
|
|
8259
8256
|
]),
|
|
8260
8257
|
_: 1
|
|
8261
8258
|
}),
|
|
8262
8259
|
x(Qa, null, {
|
|
8263
|
-
default:
|
|
8260
|
+
default: M(() => [
|
|
8264
8261
|
e.itemLabel ? (_(), de("p", gf, ie(L(o)("common.sortable.moveToPosition.itemDescription", { label: e.itemLabel })), 1)) : ve("", !0),
|
|
8265
8262
|
x(ma, {
|
|
8266
8263
|
modelValue: r.value,
|
|
@@ -8284,13 +8281,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8284
8281
|
_: 1
|
|
8285
8282
|
}),
|
|
8286
8283
|
x(da, null, {
|
|
8287
|
-
default:
|
|
8284
|
+
default: M(() => [
|
|
8288
8285
|
x($n),
|
|
8289
8286
|
x(Pe, {
|
|
8290
8287
|
variant: "text",
|
|
8291
8288
|
onClick: c
|
|
8292
8289
|
}, {
|
|
8293
|
-
default:
|
|
8290
|
+
default: M(() => [
|
|
8294
8291
|
ge(ie(L(o)("common.sortable.reorderCancel")), 1)
|
|
8295
8292
|
]),
|
|
8296
8293
|
_: 1
|
|
@@ -8301,7 +8298,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8301
8298
|
disabled: i.value,
|
|
8302
8299
|
onClick: u
|
|
8303
8300
|
}, {
|
|
8304
|
-
default:
|
|
8301
|
+
default: M(() => [
|
|
8305
8302
|
ge(ie(L(o)("common.sortable.moveToPosition.confirm")), 1)
|
|
8306
8303
|
]),
|
|
8307
8304
|
_: 1
|
|
@@ -8327,7 +8324,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8327
8324
|
setup(e) {
|
|
8328
8325
|
const { t: n } = Ye();
|
|
8329
8326
|
return (t, a) => (_(), de("div", bf, [
|
|
8330
|
-
|
|
8327
|
+
Ie("h3", wf, ie(e.title), 1),
|
|
8331
8328
|
e.addLabel && e.canAdd ? (_(), te(Pe, {
|
|
8332
8329
|
key: 0,
|
|
8333
8330
|
color: "primary",
|
|
@@ -8335,7 +8332,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8335
8332
|
"prepend-icon": "mdi-plus",
|
|
8336
8333
|
onClick: a[0] || (a[0] = (l) => t.$emit("add"))
|
|
8337
8334
|
}, {
|
|
8338
|
-
default:
|
|
8335
|
+
default: M(() => [
|
|
8339
8336
|
ge(ie(e.addLabel || L(n)("common.sortable.addFirst")), 1)
|
|
8340
8337
|
]),
|
|
8341
8338
|
_: 1
|
|
@@ -8391,7 +8388,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8391
8388
|
], 64))
|
|
8392
8389
|
], 10, Tf));
|
|
8393
8390
|
}
|
|
8394
|
-
}),
|
|
8391
|
+
}), Mf = /* @__PURE__ */ Re({
|
|
8395
8392
|
__name: "LeDragHandle",
|
|
8396
8393
|
setup(e) {
|
|
8397
8394
|
return (n, t) => (_(), te(Oe, {
|
|
@@ -8400,7 +8397,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8400
8397
|
size: "20"
|
|
8401
8398
|
}));
|
|
8402
8399
|
}
|
|
8403
|
-
}),
|
|
8400
|
+
}), If = "a-le-row--ghost", $f = "a-le-row--chosen", Ff = "a-le-row--drag", Bf = { class: "a-le-card" }, Of = {
|
|
8404
8401
|
key: 0,
|
|
8405
8402
|
class: "a-le-header"
|
|
8406
8403
|
}, _f = {
|
|
@@ -8510,7 +8507,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8510
8507
|
() => m.retainOwners(P.value.map((S) => S.key)),
|
|
8511
8508
|
{ flush: "post" }
|
|
8512
8509
|
);
|
|
8513
|
-
const A = U(/* @__PURE__ */ new Set()), k = U(/* @__PURE__ */ new Set()), $ = U(/* @__PURE__ */ new Set()), H = U(/* @__PURE__ */ new Set()),
|
|
8510
|
+
const A = U(/* @__PURE__ */ new Set()), k = U(/* @__PURE__ */ new Set()), $ = U(/* @__PURE__ */ new Set()), H = U(/* @__PURE__ */ new Set()), I = U(/* @__PURE__ */ new Set()), N = U(/* @__PURE__ */ new Set()), K = oa(null), V = Yt("rowsContainer"), O = R(() => !a.chips && !!i.item), b = R(() => !a.chips && !!i["item-readonly"]), {
|
|
8514
8511
|
editingKeys: h,
|
|
8515
8512
|
editingSnapshots: v,
|
|
8516
8513
|
clearEditing: w,
|
|
@@ -8555,10 +8552,10 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8555
8552
|
canEnterReorder: Se,
|
|
8556
8553
|
embedded: Ce,
|
|
8557
8554
|
onEnter: () => {
|
|
8558
|
-
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(),
|
|
8555
|
+
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set(), ne.value || (w(), A.value.clear());
|
|
8559
8556
|
},
|
|
8560
8557
|
onExternalEnter: () => {
|
|
8561
|
-
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(),
|
|
8558
|
+
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set(), ne.value || (w(), A.value.clear());
|
|
8562
8559
|
},
|
|
8563
8560
|
// Cancel reverts the session. The composable's snapshot-restore has already brought EVERY deleted row
|
|
8564
8561
|
// back into the model; reconcile the controller: deferred deletes are truly reverted (clear tombstone,
|
|
@@ -8568,12 +8565,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8568
8565
|
for (const S of $.value) p.restoreDeleted(S);
|
|
8569
8566
|
for (const S of H.value)
|
|
8570
8567
|
p.deleteItem(S, { trackDeleted: !1 });
|
|
8571
|
-
p.clearMoved(N.value), $.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(),
|
|
8568
|
+
p.clearMoved(N.value), $.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set();
|
|
8572
8569
|
},
|
|
8573
8570
|
// Apply keeps the session's changes (deferred deletes persist on the entity's main save; moved rows stay
|
|
8574
8571
|
// amber in the controller until the consumer commits after their save — only reset the session tracker).
|
|
8575
8572
|
onApplyEnd: () => {
|
|
8576
|
-
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(),
|
|
8573
|
+
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set();
|
|
8577
8574
|
},
|
|
8578
8575
|
// Embedded editor exit (parent Cancel or Apply — it owns the snapshot, we never do). On a parent
|
|
8579
8576
|
// Cancel the snapshot-restore resurrects any row we deleted IMMEDIATELY on the backend; re-remove it so
|
|
@@ -8582,7 +8579,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8582
8579
|
onEmbeddedExit: () => {
|
|
8583
8580
|
for (const S of H.value)
|
|
8584
8581
|
p.deleteItem(S, { trackDeleted: !1 });
|
|
8585
|
-
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(),
|
|
8582
|
+
$.value = /* @__PURE__ */ new Set(), H.value = /* @__PURE__ */ new Set(), I.value = /* @__PURE__ */ new Set(), N.value = /* @__PURE__ */ new Set();
|
|
8586
8583
|
},
|
|
8587
8584
|
onReorderApply: (S) => a.onReorderApply?.(S),
|
|
8588
8585
|
emit: {
|
|
@@ -8616,9 +8613,9 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8616
8613
|
}
|
|
8617
8614
|
return !1;
|
|
8618
8615
|
}), pe = R(
|
|
8619
|
-
() => Y.value + $.value.size +
|
|
8616
|
+
() => Y.value + $.value.size + I.value.size
|
|
8620
8617
|
), Be = R(
|
|
8621
|
-
() => oe.value || $.value.size > 0 ||
|
|
8618
|
+
() => oe.value || $.value.size > 0 || I.value.size > 0
|
|
8622
8619
|
);
|
|
8623
8620
|
if (a.embedded) {
|
|
8624
8621
|
const S = me(ar, null);
|
|
@@ -8647,29 +8644,29 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8647
8644
|
const S = o.value.length, G = [], q = /* @__PURE__ */ new Set();
|
|
8648
8645
|
for (const ye of P.value) {
|
|
8649
8646
|
q.add(ye.key);
|
|
8650
|
-
const Tt = h.value.has(ye.key),
|
|
8651
|
-
if (dt && dt.raw === ye.raw && dt.index === ye.index && dt.position === ye.position && dt.editing === Tt && dt.expanded ===
|
|
8647
|
+
const Tt = h.value.has(ye.key), hl = A.value.has(ye.key), pl = a.loadingKeys?.has(ye.key) ?? !1, gl = k.value.has(ye.key), yo = a.readonly ? !1 : p.isUnsaved(ye.key), yl = yo, bl = p.rowState(ye.raw, ye.key, Tt), wl = ye.index > 0, Cl = ye.index < S - 1, dt = hn.get(ye.key);
|
|
8648
|
+
if (dt && dt.raw === ye.raw && dt.index === ye.index && dt.position === ye.position && dt.editing === Tt && dt.expanded === hl && dt.loading === pl && dt.dirty === yl && dt.moved === gl && dt.unsaved === yo && dt.validationState === bl && dt.canMoveUp === wl && dt.canMoveDown === Cl) {
|
|
8652
8649
|
G.push(dt);
|
|
8653
8650
|
continue;
|
|
8654
8651
|
}
|
|
8655
|
-
const
|
|
8652
|
+
const Sl = {
|
|
8656
8653
|
...ye,
|
|
8657
8654
|
editing: Tt,
|
|
8658
|
-
expanded:
|
|
8659
|
-
loading:
|
|
8660
|
-
dirty:
|
|
8661
|
-
moved:
|
|
8655
|
+
expanded: hl,
|
|
8656
|
+
loading: pl,
|
|
8657
|
+
dirty: yl,
|
|
8658
|
+
moved: gl,
|
|
8662
8659
|
unsaved: yo,
|
|
8663
|
-
validationState:
|
|
8664
|
-
canMoveUp:
|
|
8665
|
-
canMoveDown:
|
|
8660
|
+
validationState: bl,
|
|
8661
|
+
canMoveUp: wl,
|
|
8662
|
+
canMoveDown: Cl
|
|
8666
8663
|
};
|
|
8667
|
-
hn.set(ye.key,
|
|
8664
|
+
hn.set(ye.key, Sl), G.push(Sl);
|
|
8668
8665
|
}
|
|
8669
8666
|
for (const ye of hn.keys())
|
|
8670
8667
|
q.has(ye) || hn.delete(ye);
|
|
8671
8668
|
return G;
|
|
8672
|
-
}),
|
|
8669
|
+
}), il = R(() => Ot.value.length === 0), et = (S) => Ot.value.find((G) => G.key === S), ns = (S) => {
|
|
8673
8670
|
if (!O.value) return;
|
|
8674
8671
|
const G = et(S);
|
|
8675
8672
|
G && D(G);
|
|
@@ -8718,13 +8715,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8718
8715
|
},
|
|
8719
8716
|
onCancelReorder: () => z()
|
|
8720
8717
|
}), mo = U(!1), gn = oa(null), os = R(
|
|
8721
|
-
() => gn.value ?
|
|
8718
|
+
() => gn.value ? ul(gn.value.raw) : ""
|
|
8722
8719
|
), ls = (S) => {
|
|
8723
8720
|
a.showMoveToPosition && (gn.value = S, mo.value = !0);
|
|
8724
8721
|
}, rs = (S) => {
|
|
8725
8722
|
const G = gn.value;
|
|
8726
8723
|
gn.value = null, G && S !== G.index && (p.moveItem(G.index, S), xt(G.key));
|
|
8727
|
-
},
|
|
8724
|
+
}, ul = (S) => sf(S, { compactField: a.compactField }), ss = Wr(V, o, {
|
|
8728
8725
|
// The rows container can mount/unmount across mode flips (e.g. a `#view-body`
|
|
8729
8726
|
// slot in view mode, rows only in reorder mode). vueuse's default
|
|
8730
8727
|
// `tryOnMounted` fires once and would bind to a null ref, leaving SortableJS
|
|
@@ -8738,7 +8735,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8738
8735
|
forceFallback: !0,
|
|
8739
8736
|
fallbackTolerance: 3,
|
|
8740
8737
|
fallbackOnBody: !0,
|
|
8741
|
-
ghostClass:
|
|
8738
|
+
ghostClass: If,
|
|
8742
8739
|
chosenClass: $f,
|
|
8743
8740
|
dragClass: Ff,
|
|
8744
8741
|
disabled: !Wt.value,
|
|
@@ -8768,7 +8765,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8768
8765
|
if (!re.value) return;
|
|
8769
8766
|
le();
|
|
8770
8767
|
const G = p.addItem(void 0, { afterId: S.key });
|
|
8771
|
-
X.value && G !== void 0 &&
|
|
8768
|
+
X.value && G !== void 0 && I.value.add(G);
|
|
8772
8769
|
}, ka = (S) => {
|
|
8773
8770
|
if (re.value && !(X.value && !a.allowEditInReorder)) {
|
|
8774
8771
|
if (h.value.has(S.key)) {
|
|
@@ -8777,7 +8774,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8777
8774
|
}
|
|
8778
8775
|
O.value && (D(S), A.value.delete(S.key)), l("edit", S);
|
|
8779
8776
|
}
|
|
8780
|
-
},
|
|
8777
|
+
}, cl = (S) => {
|
|
8781
8778
|
if (a.disabled || a.loading || X.value && !a.allowEditInReorder) return;
|
|
8782
8779
|
const G = S.key, q = A.value.has(G);
|
|
8783
8780
|
if (q)
|
|
@@ -8787,13 +8784,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8787
8784
|
A.value.add(G);
|
|
8788
8785
|
}
|
|
8789
8786
|
l("item-expand", S, !q);
|
|
8790
|
-
},
|
|
8791
|
-
if (
|
|
8787
|
+
}, dl = (S) => a.chips || a.disableRowClick || a.disabled || a.loading || X.value && !a.allowEditInReorder ? !1 : !!(S.editing || S.expanded || !a.readonly && a.showEditButton), is = (S) => {
|
|
8788
|
+
if (dl(S)) {
|
|
8792
8789
|
if (S.editing || S.expanded) {
|
|
8793
8790
|
Ea(S);
|
|
8794
8791
|
return;
|
|
8795
8792
|
}
|
|
8796
|
-
a.readonly && b.value ?
|
|
8793
|
+
a.readonly && b.value ? cl(S) : ka(S);
|
|
8797
8794
|
}
|
|
8798
8795
|
}, {
|
|
8799
8796
|
deleteDialog: ho,
|
|
@@ -8808,14 +8805,14 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8808
8805
|
onDeleted: (S) => {
|
|
8809
8806
|
h.value.delete(S.key), v.value.delete(S.key), A.value.delete(S.key), k.value.delete(S.key);
|
|
8810
8807
|
const G = a.deleteMode === "deferred";
|
|
8811
|
-
X.value && (
|
|
8808
|
+
X.value && (I.value.has(S.key) ? I.value.delete(S.key) : G ? $.value.add(S.key) : H.value.add(S.key)), p.deleteItem(S.key, { trackDeleted: G }), l("deleted", S);
|
|
8812
8809
|
},
|
|
8813
8810
|
disableDeleteConfirm: () => a.disableDeleteConfirm || a.chips
|
|
8814
8811
|
}), Da = async (S) => {
|
|
8815
8812
|
re.value && await ds(S);
|
|
8816
|
-
},
|
|
8813
|
+
}, fl = async (S) => {
|
|
8817
8814
|
a.onItemSave && await a.onItemSave(S.raw), j(S), l("item-saved", S);
|
|
8818
|
-
},
|
|
8815
|
+
}, ml = (S) => {
|
|
8819
8816
|
B(S);
|
|
8820
8817
|
}, Ea = (S) => {
|
|
8821
8818
|
J(S), A.value.delete(S.key), l("close", S);
|
|
@@ -8847,11 +8844,11 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8847
8844
|
},
|
|
8848
8845
|
save: () => {
|
|
8849
8846
|
const q = et(S);
|
|
8850
|
-
if (q) return
|
|
8847
|
+
if (q) return fl(q);
|
|
8851
8848
|
},
|
|
8852
8849
|
cancel: () => {
|
|
8853
8850
|
const q = et(S);
|
|
8854
|
-
q &&
|
|
8851
|
+
q && ml(q);
|
|
8855
8852
|
},
|
|
8856
8853
|
close: () => {
|
|
8857
8854
|
const q = et(S);
|
|
@@ -8867,7 +8864,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8867
8864
|
},
|
|
8868
8865
|
toggleExpand: () => {
|
|
8869
8866
|
const q = et(S);
|
|
8870
|
-
q &&
|
|
8867
|
+
q && cl(q);
|
|
8871
8868
|
},
|
|
8872
8869
|
moveUp: () => {
|
|
8873
8870
|
const q = et(S);
|
|
@@ -8924,7 +8921,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8924
8921
|
apply: W,
|
|
8925
8922
|
cancel: z
|
|
8926
8923
|
}
|
|
8927
|
-
})),
|
|
8924
|
+
})), vl = R(() => ({
|
|
8928
8925
|
mode: r.value,
|
|
8929
8926
|
disabled: !Se.value,
|
|
8930
8927
|
hasPendingChanges: oe.value,
|
|
@@ -8978,17 +8975,17 @@ const pf = /* @__PURE__ */ Re({
|
|
|
8978
8975
|
}
|
|
8979
8976
|
]])
|
|
8980
8977
|
}, [
|
|
8981
|
-
|
|
8978
|
+
Ie("div", Bf, [
|
|
8982
8979
|
at.value ? (_(), de("div", Of, [
|
|
8983
|
-
ke(S.$slots, "header", Xe({ title: e.title },
|
|
8980
|
+
ke(S.$slots, "header", Xe({ title: e.title }, vl.value), () => [
|
|
8984
8981
|
e.title ? (_(), de("h3", _f, ie(e.title), 1)) : ve("", !0),
|
|
8985
8982
|
!L(X) && nt.value ? (_(), de("span", {
|
|
8986
8983
|
key: 1,
|
|
8987
8984
|
class: "a-le-unsaved-count",
|
|
8988
8985
|
"data-unsaved-count": L(ze)
|
|
8989
8986
|
}, ie(L(s)("common.sortable.pendingChanges", { count: L(ze) })), 9, Rf)) : ve("", !0),
|
|
8990
|
-
|
|
8991
|
-
L(X) && !e.embedded ? ke(S.$slots, "reorder-toolbar", El(
|
|
8987
|
+
Ie("div", Pf, [
|
|
8988
|
+
L(X) && !e.embedded ? ke(S.$slots, "reorder-toolbar", Dl(El(hs.value)), () => [
|
|
8992
8989
|
x(xf, {
|
|
8993
8990
|
class: rt({ "a-le-toolbar-status--pending": Be.value }),
|
|
8994
8991
|
"has-pending-changes": Be.value,
|
|
@@ -9001,7 +8998,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9001
8998
|
disabled: L(he),
|
|
9002
8999
|
onClick: L(z)
|
|
9003
9000
|
}, {
|
|
9004
|
-
default:
|
|
9001
|
+
default: M(() => [
|
|
9005
9002
|
ge(ie(L(s)("common.sortable.reorderCancel")), 1)
|
|
9006
9003
|
]),
|
|
9007
9004
|
_: 1
|
|
@@ -9015,12 +9012,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9015
9012
|
disabled: L(he) || !Be.value,
|
|
9016
9013
|
onClick: L(W)
|
|
9017
9014
|
}, {
|
|
9018
|
-
default:
|
|
9015
|
+
default: M(() => [
|
|
9019
9016
|
ge(ie(L(s)("common.sortable.reorderApply")), 1)
|
|
9020
9017
|
]),
|
|
9021
9018
|
_: 1
|
|
9022
9019
|
}, 8, ["loading", "disabled", "onClick"])
|
|
9023
|
-
], void 0, 0) : Le.value ? ke(S.$slots, "reorder-toggle", El(
|
|
9020
|
+
], void 0, 0) : Le.value ? ke(S.$slots, "reorder-toggle", Dl(El(vl.value)), () => [
|
|
9024
9021
|
Ae.value ? (_(), te(Pe, {
|
|
9025
9022
|
key: 0,
|
|
9026
9023
|
variant: "tonal",
|
|
@@ -9030,7 +9027,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9030
9027
|
disabled: !Se.value,
|
|
9031
9028
|
onClick: L(fe)
|
|
9032
9029
|
}, {
|
|
9033
|
-
default:
|
|
9030
|
+
default: M(() => [
|
|
9034
9031
|
x(Oe, {
|
|
9035
9032
|
icon: "mdi-sort",
|
|
9036
9033
|
size: "18"
|
|
@@ -9051,7 +9048,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9051
9048
|
disabled: !Se.value,
|
|
9052
9049
|
onClick: L(fe)
|
|
9053
9050
|
}, {
|
|
9054
|
-
default:
|
|
9051
|
+
default: M(() => [
|
|
9055
9052
|
ge(ie(L(s)("common.sortable.reorder")), 1)
|
|
9056
9053
|
]),
|
|
9057
9054
|
_: 1
|
|
@@ -9061,7 +9058,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9061
9058
|
])
|
|
9062
9059
|
])) : ve("", !0),
|
|
9063
9060
|
e.loading ? (_(), de("div", Lf, [
|
|
9064
|
-
x(
|
|
9061
|
+
x(Wo, {
|
|
9065
9062
|
indeterminate: "",
|
|
9066
9063
|
color: "primary",
|
|
9067
9064
|
size: "32"
|
|
@@ -9073,7 +9070,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9073
9070
|
density: "compact",
|
|
9074
9071
|
border: "start"
|
|
9075
9072
|
}, {
|
|
9076
|
-
default:
|
|
9073
|
+
default: M(() => [
|
|
9077
9074
|
ge(ie(e.error), 1)
|
|
9078
9075
|
]),
|
|
9079
9076
|
_: 1
|
|
@@ -9084,7 +9081,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9084
9081
|
mode: r.value,
|
|
9085
9082
|
actions: { enterReorderMode: L(fe) }
|
|
9086
9083
|
})
|
|
9087
|
-
])) :
|
|
9084
|
+
])) : il.value ? (_(), de("div", Uf, [
|
|
9088
9085
|
ke(S.$slots, "empty", {
|
|
9089
9086
|
readonly: e.readonly,
|
|
9090
9087
|
disabled: e.disabled,
|
|
@@ -9108,7 +9105,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9108
9105
|
class: "a-le-row-wrapper"
|
|
9109
9106
|
}, [
|
|
9110
9107
|
ke(S.$slots, "before-item", Xe({ ref_for: !0 }, Gt(q))),
|
|
9111
|
-
|
|
9108
|
+
Ie("div", {
|
|
9112
9109
|
"data-id": String(q.key),
|
|
9113
9110
|
role: "listitem",
|
|
9114
9111
|
tabindex: L(pn).rowTabindex(q.key),
|
|
@@ -9119,19 +9116,19 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9119
9116
|
"a-le-row--unsaved": q.unsaved,
|
|
9120
9117
|
"a-le-row--reorder": L(X),
|
|
9121
9118
|
"a-le-row--grabbed": L(pn).isGrabbed(q.key),
|
|
9122
|
-
"a-le-row--clickable":
|
|
9119
|
+
"a-le-row--clickable": dl(q),
|
|
9123
9120
|
[`a-le-row--validation-${q.validationState}`]: q.validationState !== null
|
|
9124
9121
|
}]),
|
|
9125
9122
|
onKeydown: (ye) => L(pn).handleKeydown(q.key, ye)
|
|
9126
9123
|
}, [
|
|
9127
|
-
|
|
9124
|
+
Ie("div", {
|
|
9128
9125
|
class: "a-le-row-header",
|
|
9129
9126
|
onClick: (ye) => is(q)
|
|
9130
9127
|
}, [
|
|
9131
|
-
Wt.value ? (_(), te(
|
|
9132
|
-
|
|
9128
|
+
Wt.value ? (_(), te(Mf, { key: 0 })) : ve("", !0),
|
|
9129
|
+
Ie("div", Hf, [
|
|
9133
9130
|
ke(S.$slots, "item-compact", Xe({ ref_for: !0 }, Gt(q)), () => [
|
|
9134
|
-
|
|
9131
|
+
Ie("span", jf, ie(ul(q.raw)), 1)
|
|
9135
9132
|
]),
|
|
9136
9133
|
q.unsaved ? (_(), te(Af, {
|
|
9137
9134
|
key: 0,
|
|
@@ -9143,7 +9140,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9143
9140
|
e.statusField && q.raw[e.statusField] != null && q.raw[e.statusField] !== "" ? (_(), de("span", Kf, ie(q.raw[e.statusField]), 1)) : ve("", !0)
|
|
9144
9141
|
])
|
|
9145
9142
|
])) : ve("", !0),
|
|
9146
|
-
|
|
9143
|
+
Ie("div", Wf, [
|
|
9147
9144
|
ke(S.$slots, "item-actions", Xe({ ref_for: !0 }, Gt(q)), () => [
|
|
9148
9145
|
e.chips && re.value ? (_(), de(We, { key: 0 }, [
|
|
9149
9146
|
(!Wt.value || L(C)) && !e.disableReorder ? (_(), de(We, { key: 0 }, [
|
|
@@ -9157,7 +9154,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9157
9154
|
class: "a-le-action a-le-action--up",
|
|
9158
9155
|
onClick: De((ye) => Ta(q.index), ["stop"])
|
|
9159
9156
|
}, {
|
|
9160
|
-
default:
|
|
9157
|
+
default: M(() => [
|
|
9161
9158
|
x(Oe, {
|
|
9162
9159
|
icon: "mdi-arrow-up",
|
|
9163
9160
|
size: "14"
|
|
@@ -9175,7 +9172,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9175
9172
|
class: "a-le-action a-le-action--down",
|
|
9176
9173
|
onClick: De((ye) => Aa(q.index), ["stop"])
|
|
9177
9174
|
}, {
|
|
9178
|
-
default:
|
|
9175
|
+
default: M(() => [
|
|
9179
9176
|
x(Oe, {
|
|
9180
9177
|
icon: "mdi-arrow-down",
|
|
9181
9178
|
size: "14"
|
|
@@ -9194,7 +9191,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9194
9191
|
class: "a-le-action a-le-action--chip-close",
|
|
9195
9192
|
onClick: De((ye) => Da(q), ["stop"])
|
|
9196
9193
|
}, {
|
|
9197
|
-
default:
|
|
9194
|
+
default: M(() => [
|
|
9198
9195
|
x(Oe, {
|
|
9199
9196
|
icon: "mdi-close",
|
|
9200
9197
|
size: "14"
|
|
@@ -9212,7 +9209,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9212
9209
|
class: "mx-1 a-le-action a-le-action--up",
|
|
9213
9210
|
onClick: De((ye) => Ta(q.index), ["stop"])
|
|
9214
9211
|
}, {
|
|
9215
|
-
default:
|
|
9212
|
+
default: M(() => [
|
|
9216
9213
|
x(Oe, {
|
|
9217
9214
|
icon: "mdi-arrow-up",
|
|
9218
9215
|
size: "18"
|
|
@@ -9234,7 +9231,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9234
9231
|
class: "mx-1 a-le-action a-le-action--down",
|
|
9235
9232
|
onClick: De((ye) => Aa(q.index), ["stop"])
|
|
9236
9233
|
}, {
|
|
9237
|
-
default:
|
|
9234
|
+
default: M(() => [
|
|
9238
9235
|
x(Oe, {
|
|
9239
9236
|
icon: "mdi-arrow-down",
|
|
9240
9237
|
size: "18"
|
|
@@ -9255,7 +9252,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9255
9252
|
active: !1,
|
|
9256
9253
|
class: "mx-1 a-le-action a-le-action--menu"
|
|
9257
9254
|
}, {
|
|
9258
|
-
default:
|
|
9255
|
+
default: M(() => [
|
|
9259
9256
|
x(Oe, {
|
|
9260
9257
|
icon: "mdi-dots-vertical",
|
|
9261
9258
|
size: "18"
|
|
@@ -9266,19 +9263,19 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9266
9263
|
text: L(s)("common.sortable.more")
|
|
9267
9264
|
}, null, 8, ["text"]),
|
|
9268
9265
|
x(sa, { activator: "parent" }, {
|
|
9269
|
-
default:
|
|
9266
|
+
default: M(() => [
|
|
9270
9267
|
x(za, { density: "compact" }, {
|
|
9271
|
-
default:
|
|
9268
|
+
default: M(() => [
|
|
9272
9269
|
x(mt, {
|
|
9273
9270
|
disabled: !q.canMoveUp,
|
|
9274
9271
|
onClick: De((ye) => po(q.index), ["stop"])
|
|
9275
9272
|
}, {
|
|
9276
|
-
prepend:
|
|
9273
|
+
prepend: M(() => [
|
|
9277
9274
|
x(Oe, { icon: "mdi-arrow-collapse-up" })
|
|
9278
9275
|
]),
|
|
9279
|
-
default:
|
|
9276
|
+
default: M(() => [
|
|
9280
9277
|
x(rn, null, {
|
|
9281
|
-
default:
|
|
9278
|
+
default: M(() => [
|
|
9282
9279
|
ge(ie(L(s)("common.sortable.moveToTop")), 1)
|
|
9283
9280
|
]),
|
|
9284
9281
|
_: 1
|
|
@@ -9290,12 +9287,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9290
9287
|
disabled: !q.canMoveDown,
|
|
9291
9288
|
onClick: De((ye) => go(q.index), ["stop"])
|
|
9292
9289
|
}, {
|
|
9293
|
-
prepend:
|
|
9290
|
+
prepend: M(() => [
|
|
9294
9291
|
x(Oe, { icon: "mdi-arrow-collapse-down" })
|
|
9295
9292
|
]),
|
|
9296
|
-
default:
|
|
9293
|
+
default: M(() => [
|
|
9297
9294
|
x(rn, null, {
|
|
9298
|
-
default:
|
|
9295
|
+
default: M(() => [
|
|
9299
9296
|
ge(ie(L(s)("common.sortable.moveToBottom")), 1)
|
|
9300
9297
|
]),
|
|
9301
9298
|
_: 1
|
|
@@ -9307,12 +9304,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9307
9304
|
key: 0,
|
|
9308
9305
|
onClick: De((ye) => ls(q), ["stop"])
|
|
9309
9306
|
}, {
|
|
9310
|
-
prepend:
|
|
9307
|
+
prepend: M(() => [
|
|
9311
9308
|
x(Oe, { icon: "mdi-target" })
|
|
9312
9309
|
]),
|
|
9313
|
-
default:
|
|
9310
|
+
default: M(() => [
|
|
9314
9311
|
x(rn, null, {
|
|
9315
|
-
default:
|
|
9312
|
+
default: M(() => [
|
|
9316
9313
|
ge(ie(L(s)("common.sortable.moveToPosition.action")), 1)
|
|
9317
9314
|
]),
|
|
9318
9315
|
_: 1
|
|
@@ -9324,12 +9321,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9324
9321
|
key: 1,
|
|
9325
9322
|
onClick: (ye) => vo(q)
|
|
9326
9323
|
}, {
|
|
9327
|
-
prepend:
|
|
9324
|
+
prepend: M(() => [
|
|
9328
9325
|
x(Oe, { icon: "mdi-plus" })
|
|
9329
9326
|
]),
|
|
9330
|
-
default:
|
|
9327
|
+
default: M(() => [
|
|
9331
9328
|
x(rn, null, {
|
|
9332
|
-
default:
|
|
9329
|
+
default: M(() => [
|
|
9333
9330
|
ge(ie(L(s)("common.sortable.addAfter")), 1)
|
|
9334
9331
|
]),
|
|
9335
9332
|
_: 1
|
|
@@ -9341,12 +9338,12 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9341
9338
|
key: 2,
|
|
9342
9339
|
onClick: De((ye) => Da(q), ["stop"])
|
|
9343
9340
|
}, {
|
|
9344
|
-
prepend:
|
|
9341
|
+
prepend: M(() => [
|
|
9345
9342
|
x(Oe, { icon: "mdi-trash-can-outline" })
|
|
9346
9343
|
]),
|
|
9347
|
-
default:
|
|
9344
|
+
default: M(() => [
|
|
9348
9345
|
x(rn, null, {
|
|
9349
|
-
default:
|
|
9346
|
+
default: M(() => [
|
|
9350
9347
|
ge(ie(L(s)("common.sortable.delete")), 1)
|
|
9351
9348
|
]),
|
|
9352
9349
|
_: 1
|
|
@@ -9374,7 +9371,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9374
9371
|
class: "mx-1 a-le-action a-le-action--edit",
|
|
9375
9372
|
onClick: De((ye) => ka(q), ["stop"])
|
|
9376
9373
|
}, {
|
|
9377
|
-
default:
|
|
9374
|
+
default: M(() => [
|
|
9378
9375
|
x(Oe, {
|
|
9379
9376
|
icon: "mdi-pencil-outline",
|
|
9380
9377
|
size: "18"
|
|
@@ -9396,7 +9393,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9396
9393
|
class: "mx-1 a-le-action a-le-action--delete",
|
|
9397
9394
|
onClick: De((ye) => Da(q), ["stop"])
|
|
9398
9395
|
}, {
|
|
9399
|
-
default:
|
|
9396
|
+
default: M(() => [
|
|
9400
9397
|
x(Oe, {
|
|
9401
9398
|
icon: "mdi-trash-can-outline",
|
|
9402
9399
|
size: "18"
|
|
@@ -9418,7 +9415,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9418
9415
|
active: !1,
|
|
9419
9416
|
class: "mx-1 a-le-action a-le-action--menu"
|
|
9420
9417
|
}, {
|
|
9421
|
-
default:
|
|
9418
|
+
default: M(() => [
|
|
9422
9419
|
x(Oe, {
|
|
9423
9420
|
icon: "mdi-dots-vertical",
|
|
9424
9421
|
size: "18"
|
|
@@ -9429,18 +9426,18 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9429
9426
|
text: L(s)("common.sortable.more")
|
|
9430
9427
|
}, null, 8, ["text"]),
|
|
9431
9428
|
x(sa, { activator: "parent" }, {
|
|
9432
|
-
default:
|
|
9429
|
+
default: M(() => [
|
|
9433
9430
|
x(za, { density: "compact" }, {
|
|
9434
|
-
default:
|
|
9431
|
+
default: M(() => [
|
|
9435
9432
|
x(mt, {
|
|
9436
9433
|
onClick: (ye) => vo(q)
|
|
9437
9434
|
}, {
|
|
9438
|
-
prepend:
|
|
9435
|
+
prepend: M(() => [
|
|
9439
9436
|
x(Oe, { icon: "mdi-plus" })
|
|
9440
9437
|
]),
|
|
9441
|
-
default:
|
|
9438
|
+
default: M(() => [
|
|
9442
9439
|
x(rn, null, {
|
|
9443
|
-
default:
|
|
9440
|
+
default: M(() => [
|
|
9444
9441
|
ge(ie(L(s)("common.sortable.addAfter")), 1)
|
|
9445
9442
|
]),
|
|
9446
9443
|
_: 1
|
|
@@ -9462,20 +9459,20 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9462
9459
|
])
|
|
9463
9460
|
], 8, zf),
|
|
9464
9461
|
q.editing && (e.allowEditInReorder || !L(X)) && S.$slots.item ? (_(), de(We, { key: 0 }, [
|
|
9465
|
-
|
|
9466
|
-
|
|
9462
|
+
Ie("div", Gf, [
|
|
9463
|
+
Ie("div", Xf, [
|
|
9467
9464
|
ke(S.$slots, "item", Xe({ ref_for: !0 }, Gt(q)))
|
|
9468
9465
|
])
|
|
9469
9466
|
]),
|
|
9470
9467
|
ke(S.$slots, "item-footer", Xe({ ref_for: !0 }, Gt(q)), () => [
|
|
9471
9468
|
an.value && !L(X) ? (_(), de("div", Zf, [
|
|
9472
|
-
G[2] || (G[2] =
|
|
9469
|
+
G[2] || (G[2] = Ie("div", { class: "a-le-row-footer-spacer" }, null, -1)),
|
|
9473
9470
|
x(Pe, {
|
|
9474
9471
|
variant: "text",
|
|
9475
9472
|
disabled: q.loading,
|
|
9476
|
-
onClick: De((ye) =>
|
|
9473
|
+
onClick: De((ye) => ml(q), ["stop"])
|
|
9477
9474
|
}, {
|
|
9478
|
-
default:
|
|
9475
|
+
default: M(() => [
|
|
9479
9476
|
ge(ie(L(s)("common.button.cancel")), 1)
|
|
9480
9477
|
]),
|
|
9481
9478
|
_: 1
|
|
@@ -9485,9 +9482,9 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9485
9482
|
variant: "flat",
|
|
9486
9483
|
"prepend-icon": "mdi-check",
|
|
9487
9484
|
disabled: q.loading,
|
|
9488
|
-
onClick: De((ye) =>
|
|
9485
|
+
onClick: De((ye) => fl(q), ["stop"])
|
|
9489
9486
|
}, {
|
|
9490
|
-
default:
|
|
9487
|
+
default: M(() => [
|
|
9491
9488
|
ge(ie(L(s)("common.button.save")), 1)
|
|
9492
9489
|
]),
|
|
9493
9490
|
_: 1
|
|
@@ -9495,7 +9492,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9495
9492
|
])) : ve("", !0)
|
|
9496
9493
|
])
|
|
9497
9494
|
], 64)) : S.$slots["item-readonly"] && (e.readonly || q.expanded) && (e.allowEditInReorder || !L(X)) ? (_(), de("div", Jf, [
|
|
9498
|
-
|
|
9495
|
+
Ie("div", Qf, [
|
|
9499
9496
|
ke(S.$slots, "item-readonly", Xe({ ref_for: !0 }, Gt(q)))
|
|
9500
9497
|
])
|
|
9501
9498
|
])) : ve("", !0)
|
|
@@ -9503,13 +9500,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9503
9500
|
ke(S.$slots, "after-item", Xe({ ref_for: !0 }, Gt(q)))
|
|
9504
9501
|
]))), 128))
|
|
9505
9502
|
], 512)),
|
|
9506
|
-
Et.value && !e.loading && !e.error && !
|
|
9503
|
+
Et.value && !e.loading && !e.error && !il.value ? ke(S.$slots, "add-button", {
|
|
9507
9504
|
readonly: e.readonly,
|
|
9508
9505
|
disabled: e.disabled,
|
|
9509
9506
|
props: { onClick: Vn },
|
|
9510
9507
|
actions: { add: Vn }
|
|
9511
9508
|
}, () => [
|
|
9512
|
-
|
|
9509
|
+
Ie("button", {
|
|
9513
9510
|
type: "button",
|
|
9514
9511
|
class: "a-le-row-add",
|
|
9515
9512
|
onClick: Vn
|
|
@@ -9518,7 +9515,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9518
9515
|
icon: "mdi-plus",
|
|
9519
9516
|
size: "18"
|
|
9520
9517
|
}),
|
|
9521
|
-
|
|
9518
|
+
Ie("span", null, ie(co.value), 1)
|
|
9522
9519
|
])
|
|
9523
9520
|
], void 0, 6) : ve("", !0)
|
|
9524
9521
|
]),
|
|
@@ -9542,7 +9539,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9542
9539
|
onConfirm: L(fs),
|
|
9543
9540
|
onCancel: L(ms)
|
|
9544
9541
|
}, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
|
|
9545
|
-
|
|
9542
|
+
Ie("div", em, ie(L(pn).grabbedKey.value !== null ? L(s)("common.sortable.keyboardGrab.status", {
|
|
9546
9543
|
n: L(pn).grabbedIndex.value + 1,
|
|
9547
9544
|
total: L(pn).totalCount.value
|
|
9548
9545
|
}) : ""), 1)
|
|
@@ -9628,7 +9625,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9628
9625
|
}
|
|
9629
9626
|
const m = U(""), g = U(!1), T = U(null), P = U(0), { t: A } = Ye(), k = me(eo, void 0), $ = me(to, void 0), H = () => {
|
|
9630
9627
|
g.value = !1, l("blur", c.value), a.v?.$touch(), y.value(c.value);
|
|
9631
|
-
},
|
|
9628
|
+
}, I = R(() => Ue(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((Y) => Y.$message) : []), N = R(() => {
|
|
9632
9629
|
if (Ue(a.label)) return a.label;
|
|
9633
9630
|
if (F(k) || F($) || F(a.v?.$path)) return "";
|
|
9634
9631
|
const { end: Y } = Tn(a.v?.$path, ".");
|
|
@@ -9781,7 +9778,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9781
9778
|
"no-filter": "",
|
|
9782
9779
|
multiple: e.multiple,
|
|
9783
9780
|
clearable: e.clearable,
|
|
9784
|
-
"error-messages":
|
|
9781
|
+
"error-messages": I.value,
|
|
9785
9782
|
chips: e.chips || e.multiple || e.closableChips,
|
|
9786
9783
|
"hide-details": e.hideDetails,
|
|
9787
9784
|
loading: j.value,
|
|
@@ -9799,13 +9796,13 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9799
9796
|
onMouseenter: ee,
|
|
9800
9797
|
"onClick:clear": fe
|
|
9801
9798
|
}, nn({
|
|
9802
|
-
item:
|
|
9799
|
+
item: M(({ props: pe, internalItem: Be }) => [
|
|
9803
9800
|
x(mt, Xe(pe, {
|
|
9804
9801
|
title: Be.raw.title,
|
|
9805
9802
|
subtitle: Be.raw.subtitle
|
|
9806
9803
|
}), null, 16, ["title", "subtitle"])
|
|
9807
9804
|
]),
|
|
9808
|
-
chip:
|
|
9805
|
+
chip: M(({ props: pe, internalItem: Be }) => [
|
|
9809
9806
|
x(mn, {
|
|
9810
9807
|
closable: pe.closable,
|
|
9811
9808
|
size: "small",
|
|
@@ -9813,14 +9810,14 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9813
9810
|
disabled: Be.props.disabled,
|
|
9814
9811
|
"onClick:close": (Et) => z(Be.raw)
|
|
9815
9812
|
}, {
|
|
9816
|
-
default:
|
|
9813
|
+
default: M(() => [
|
|
9817
9814
|
ge(ie(Be.raw.title) + " ", 1),
|
|
9818
9815
|
Be.raw.subtitle ? (_(), de("span", tm, " (" + ie(Be.raw.subtitle) + ") ", 1)) : ve("", !0)
|
|
9819
9816
|
]),
|
|
9820
9817
|
_: 2
|
|
9821
9818
|
}, 1032, ["closable", "text", "disabled", "onClick:close"])
|
|
9822
9819
|
]),
|
|
9823
|
-
label:
|
|
9820
|
+
label: M(() => [
|
|
9824
9821
|
e.hideLabel ? ve("", !0) : (_(), de("span", {
|
|
9825
9822
|
key: K.value + ""
|
|
9826
9823
|
}, [
|
|
@@ -9832,7 +9829,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9832
9829
|
}, [
|
|
9833
9830
|
f.value ? {
|
|
9834
9831
|
name: "append-inner",
|
|
9835
|
-
fn:
|
|
9832
|
+
fn: M(() => [
|
|
9836
9833
|
ke(Y.$slots, "locked", { userId: f.value }, () => [
|
|
9837
9834
|
e.collab ? (_(), te(no, {
|
|
9838
9835
|
key: 0,
|
|
@@ -9845,7 +9842,7 @@ const pf = /* @__PURE__ */ Re({
|
|
|
9845
9842
|
} : void 0,
|
|
9846
9843
|
Y.$slots.append ? {
|
|
9847
9844
|
name: "append",
|
|
9848
|
-
fn:
|
|
9845
|
+
fn: M(() => [
|
|
9849
9846
|
ke(Y.$slots, "append")
|
|
9850
9847
|
]),
|
|
9851
9848
|
key: "1"
|
|
@@ -9859,7 +9856,7 @@ export {
|
|
|
9859
9856
|
Dr as B,
|
|
9860
9857
|
qn as C,
|
|
9861
9858
|
Er as D,
|
|
9862
|
-
|
|
9859
|
+
Mv as E,
|
|
9863
9860
|
Tv as F,
|
|
9864
9861
|
xr as G,
|
|
9865
9862
|
ia as H,
|
|
@@ -9881,7 +9878,7 @@ export {
|
|
|
9881
9878
|
ov as X,
|
|
9882
9879
|
lv as Y,
|
|
9883
9880
|
nv as Z,
|
|
9884
|
-
|
|
9881
|
+
Go as _,
|
|
9885
9882
|
ao as a,
|
|
9886
9883
|
Yv as a$,
|
|
9887
9884
|
Ei as a0,
|
|
@@ -9889,12 +9886,12 @@ export {
|
|
|
9889
9886
|
He as a2,
|
|
9890
9887
|
Hm as a3,
|
|
9891
9888
|
jm as a4,
|
|
9892
|
-
|
|
9889
|
+
Al as a5,
|
|
9893
9890
|
Ul as a6,
|
|
9894
9891
|
yt as a7,
|
|
9895
9892
|
vc as a8,
|
|
9896
9893
|
zi as a9,
|
|
9897
|
-
|
|
9894
|
+
Me as aA,
|
|
9898
9895
|
dv as aB,
|
|
9899
9896
|
io as aC,
|
|
9900
9897
|
so as aD,
|
|
@@ -9908,7 +9905,7 @@ export {
|
|
|
9908
9905
|
Ct as aL,
|
|
9909
9906
|
Tr as aM,
|
|
9910
9907
|
Rv as aN,
|
|
9911
|
-
|
|
9908
|
+
nl as aO,
|
|
9912
9909
|
Hi as aP,
|
|
9913
9910
|
lu as aQ,
|
|
9914
9911
|
Ol as aR,
|
|
@@ -9934,22 +9931,22 @@ export {
|
|
|
9934
9931
|
wa as ak,
|
|
9935
9932
|
Rn as al,
|
|
9936
9933
|
Bn as am,
|
|
9937
|
-
|
|
9934
|
+
Jo as an,
|
|
9938
9935
|
ya as ao,
|
|
9939
9936
|
Ln as ap,
|
|
9940
9937
|
Cr as aq,
|
|
9941
|
-
|
|
9942
|
-
|
|
9938
|
+
Qo as ar,
|
|
9939
|
+
el as as,
|
|
9943
9940
|
fc as at,
|
|
9944
9941
|
dc as au,
|
|
9945
|
-
|
|
9942
|
+
Iv as av,
|
|
9946
9943
|
An as aw,
|
|
9947
9944
|
cv as ax,
|
|
9948
9945
|
Bt as ay,
|
|
9949
|
-
|
|
9946
|
+
tl as az,
|
|
9950
9947
|
jn as b,
|
|
9951
9948
|
pc as b$,
|
|
9952
|
-
|
|
9949
|
+
Mr as b0,
|
|
9953
9950
|
fv as b1,
|
|
9954
9951
|
wr as b2,
|
|
9955
9952
|
Ki as b3,
|
|
@@ -9985,9 +9982,9 @@ export {
|
|
|
9985
9982
|
Ar as bX,
|
|
9986
9983
|
cc as bY,
|
|
9987
9984
|
mc as bZ,
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9985
|
+
Mi as b_,
|
|
9986
|
+
Il as ba,
|
|
9987
|
+
Ma as bb,
|
|
9991
9988
|
Ml as bc,
|
|
9992
9989
|
bu as bd,
|
|
9993
9990
|
zv as be,
|
|
@@ -10001,7 +9998,7 @@ export {
|
|
|
10001
9998
|
ji as bm,
|
|
10002
9999
|
pv as bn,
|
|
10003
10000
|
hv as bo,
|
|
10004
|
-
|
|
10001
|
+
Zo as bp,
|
|
10005
10002
|
Ev as bq,
|
|
10006
10003
|
pu as br,
|
|
10007
10004
|
gv as bs,
|
|
@@ -10010,7 +10007,7 @@ export {
|
|
|
10010
10007
|
Sv as bv,
|
|
10011
10008
|
bv as bw,
|
|
10012
10009
|
hu as bx,
|
|
10013
|
-
|
|
10010
|
+
No as by,
|
|
10014
10011
|
_v as bz,
|
|
10015
10012
|
to as c,
|
|
10016
10013
|
rf as c0,
|
|
@@ -10024,7 +10021,7 @@ export {
|
|
|
10024
10021
|
Cf as c8,
|
|
10025
10022
|
Af as c9,
|
|
10026
10023
|
Qr as cA,
|
|
10027
|
-
|
|
10024
|
+
qo as cB,
|
|
10028
10025
|
Kd as cC,
|
|
10029
10026
|
Wd as cD,
|
|
10030
10027
|
Yn as cE,
|
|
@@ -10034,7 +10031,7 @@ export {
|
|
|
10034
10031
|
pf as ca,
|
|
10035
10032
|
sf as cb,
|
|
10036
10033
|
mf as cc,
|
|
10037
|
-
|
|
10034
|
+
Mf as cd,
|
|
10038
10035
|
zd as ce,
|
|
10039
10036
|
Hd as cf,
|
|
10040
10037
|
Vv as cg,
|
|
@@ -10044,13 +10041,13 @@ export {
|
|
|
10044
10041
|
yf as ck,
|
|
10045
10042
|
Ff as cl,
|
|
10046
10043
|
$f as cm,
|
|
10047
|
-
|
|
10044
|
+
If as cn,
|
|
10048
10045
|
Uv as co,
|
|
10049
10046
|
Gd as cp,
|
|
10050
10047
|
kc as cq,
|
|
10051
10048
|
Dc as cr,
|
|
10052
10049
|
Ld as cs,
|
|
10053
|
-
|
|
10050
|
+
sl as ct,
|
|
10054
10051
|
ar as cu,
|
|
10055
10052
|
_t as cv,
|
|
10056
10053
|
dn as cw,
|
|
@@ -10065,7 +10062,7 @@ export {
|
|
|
10065
10062
|
Ue as i,
|
|
10066
10063
|
Ht as j,
|
|
10067
10064
|
iv as k,
|
|
10068
|
-
|
|
10065
|
+
Xo as l,
|
|
10069
10066
|
Nn as m,
|
|
10070
10067
|
Kn as n,
|
|
10071
10068
|
un as o,
|
|
@@ -10073,7 +10070,7 @@ export {
|
|
|
10073
10070
|
va as q,
|
|
10074
10071
|
Zn as r,
|
|
10075
10072
|
Tn as s,
|
|
10076
|
-
|
|
10073
|
+
Po as t,
|
|
10077
10074
|
Fn as u,
|
|
10078
10075
|
Rm as v,
|
|
10079
10076
|
_m as w,
|
|
@@ -10081,4 +10078,4 @@ export {
|
|
|
10081
10078
|
fr as y,
|
|
10082
10079
|
mr as z
|
|
10083
10080
|
};
|
|
10084
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
10081
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-erQ4AQYw.mjs.map
|