@anzusystems/common-admin 1.47.0-beta.350 → 1.47.0-beta.351
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-2d42rKPf.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs} +778 -774
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs.map +1 -0
- package/dist/common-admin.d.ts +26 -1
- package/dist/common-admin.js +918 -916
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +2 -2
- package/package.json +3 -3
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-2d42rKPf.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as we, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as
|
|
1
|
+
import { defineComponent as we, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as ve, createCommentVNode as be, renderSlot as _e, normalizeClass as nt, toDisplayString as ye, createElementVNode as $e, isProxy as Cr, toRaw as Zn, isRef as Ra, unref as Z, computed as V, Fragment as at, normalizeStyle as Dr, createTextVNode as Oe, shallowRef as ao, watch as Te, ref as P, reactive as jt, inject as ee, createSlots as _t, withDirectives as Yn, onMounted as Pa, withModifiers as Ee, onUnmounted as kr, TransitionGroup as Er, mergeProps as it, isVNode as Tr, mergeModels as wt, useModel as Ut, useTemplateRef as Mt, nextTick as ze, withKeys as ka, vModelText as oo, getCurrentInstance as Jn, resolveDynamicComponent as Ar, renderList as Un, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Vn, provide as lo } from "vue";
|
|
2
2
|
import { useI18n as Ne, createI18n as Mr } from "vue-i18n";
|
|
3
3
|
import { useEventBus as Ge, tryOnBeforeUnmount as _r, watchDebounced as Na, useResizeObserver as $r, watchThrottled as Fr, defaultDocument as Or, unrefElement as Br, tryOnMounted as Rr, tryOnScopeDispose as Pr } from "@vueuse/core";
|
|
4
4
|
import { VAutocomplete as Qn } from "vuetify/components/VAutocomplete";
|
|
@@ -39,7 +39,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
39
39
|
default: L(() => [
|
|
40
40
|
N(Ta, null, {
|
|
41
41
|
default: L(() => [
|
|
42
|
-
e.title.length ? (U(),
|
|
42
|
+
e.title.length ? (U(), ve("h4", {
|
|
43
43
|
key: 0,
|
|
44
44
|
class: nt(e.titleClass)
|
|
45
45
|
}, ye(e.title), 3)) : be("", !0),
|
|
@@ -53,7 +53,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
53
53
|
_: 3
|
|
54
54
|
}, 8, ["data-cy"]));
|
|
55
55
|
}
|
|
56
|
-
}), T = (e) => typeof e > "u",
|
|
56
|
+
}), T = (e) => typeof e > "u", he = (e) => !T(e), G = (e) => e === null, Ht = (e) => typeof e == "number", Fe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), wc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", Cc = (e) => Fe(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), Dc = (e) => {
|
|
57
57
|
const n = parseFloat(e);
|
|
58
58
|
return !isNaN(e) && (n | 0) === n;
|
|
59
59
|
}, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Aa = (e) => ue(e) && e.length === 0, Vo = (e) => G(e) || T(e) || e === "" || e === 0 || Aa(e) || un(e), Ie = (e) => {
|
|
@@ -72,7 +72,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
72
72
|
return n;
|
|
73
73
|
}
|
|
74
74
|
return Number.isNaN(t) ? n : t;
|
|
75
|
-
},
|
|
75
|
+
}, kc = (e, n = 0) => {
|
|
76
76
|
let t = n;
|
|
77
77
|
try {
|
|
78
78
|
t = Number.parseFloat(e);
|
|
@@ -89,13 +89,13 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
89
89
|
}, qo = (e) => {
|
|
90
90
|
const n = e.trim();
|
|
91
91
|
return n === "true" ? !0 : n === "false" ? !1 : null;
|
|
92
|
-
},
|
|
92
|
+
}, vn = (e, n = "") => {
|
|
93
93
|
const t = e.indexOf(n);
|
|
94
94
|
return {
|
|
95
95
|
start: e.slice(0, t),
|
|
96
96
|
end: e.slice(t + n.length)
|
|
97
97
|
};
|
|
98
|
-
},
|
|
98
|
+
}, Ec = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), Tc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Ac = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, sl = (e, n) => {
|
|
99
99
|
if (e.indexOf(":") === -1) return e;
|
|
100
100
|
const t = [], [a, r] = e.split("?");
|
|
101
101
|
return a.split("/").forEach((l, s) => {
|
|
@@ -103,7 +103,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
103
103
|
const i = l.substring(1);
|
|
104
104
|
T(n[i]) || (t[s] = n[l.substring(1)] + "");
|
|
105
105
|
}), t.join("/") + (r ? `?${r}` : "");
|
|
106
|
-
},
|
|
106
|
+
}, xc = (e, n) => {
|
|
107
107
|
if (e.indexOf(":") === -1) return e;
|
|
108
108
|
const t = [];
|
|
109
109
|
return e.split("/").forEach((r, o) => {
|
|
@@ -112,7 +112,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
112
112
|
const l = /^:([a-zA-Z0-9_-]+).*/, s = r.match(l);
|
|
113
113
|
G(s) || !s[1] || T(n[s[1]]) || (t[o] = n[s[1]] + "");
|
|
114
114
|
}), t.join("/");
|
|
115
|
-
},
|
|
115
|
+
}, Ic = (e) => e.replace(".", "-"), Mc = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Va = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Ha = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), _c = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), $c = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ we({
|
|
116
116
|
__name: "AAnzuUserAvatar",
|
|
117
117
|
props: {
|
|
118
118
|
user: { default: void 0 },
|
|
@@ -127,7 +127,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
127
127
|
const o = n.user.person.firstName.charAt(0) + n.user.person.lastName.charAt(0);
|
|
128
128
|
return o.length > 0 ? o : n.user.email.slice(0, 2);
|
|
129
129
|
});
|
|
130
|
-
return (o, l) => (U(),
|
|
130
|
+
return (o, l) => (U(), ve(at, null, [
|
|
131
131
|
N(ol, {
|
|
132
132
|
color: t.value,
|
|
133
133
|
class: nt(["text-uppercase", e.containerClass]),
|
|
@@ -175,8 +175,8 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
175
175
|
a.value || T(i) || !i._loaded || (t.value = i, a.value = !0);
|
|
176
176
|
},
|
|
177
177
|
{ immediate: !0 }
|
|
178
|
-
), (i, u) => (U(),
|
|
179
|
-
Z(G)(e.id) || Z(T)(e.id) ? (U(),
|
|
178
|
+
), (i, u) => (U(), ve("div", ul, [
|
|
179
|
+
Z(G)(e.id) || Z(T)(e.id) ? (U(), ve("span", cl)) : a.value ? (U(), ve(at, { key: 1 }, [
|
|
180
180
|
e.isModerator ? (U(), Q(rl, {
|
|
181
181
|
key: 0,
|
|
182
182
|
location: "top right",
|
|
@@ -219,9 +219,9 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
219
219
|
}
|
|
220
220
|
}), dl = /* @__PURE__ */ Symbol("anzu:collabRoomDataChanged"), fl = /* @__PURE__ */ Symbol("anzu:collabReconnect"), ml = /* @__PURE__ */ Symbol("anzu:collabStarting"), pl = /* @__PURE__ */ Symbol(
|
|
221
221
|
"anzu:collabGatheringBufferData"
|
|
222
|
-
), hl = /* @__PURE__ */ Symbol(
|
|
223
|
-
"anzu:collabApprovedJoinRequest"
|
|
224
222
|
), vl = /* @__PURE__ */ Symbol(
|
|
223
|
+
"anzu:collabApprovedJoinRequest"
|
|
224
|
+
), hl = /* @__PURE__ */ Symbol(
|
|
225
225
|
"anzu:collabRejectedJoinRequest"
|
|
226
226
|
), gl = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), bl = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), yl = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Sl = /* @__PURE__ */ Symbol(
|
|
227
227
|
"anzu:collabRequestToTakeModeration"
|
|
@@ -229,10 +229,10 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
229
229
|
function Dl() {
|
|
230
230
|
return Ge(dl);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Fc() {
|
|
233
233
|
return Ge(fl);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Oc() {
|
|
236
236
|
return Ge(
|
|
237
237
|
ml
|
|
238
238
|
);
|
|
@@ -240,28 +240,28 @@ function Fc() {
|
|
|
240
240
|
function jo() {
|
|
241
241
|
return Ge(pl);
|
|
242
242
|
}
|
|
243
|
-
function Oc() {
|
|
244
|
-
return Ge(hl);
|
|
245
|
-
}
|
|
246
243
|
function Bc() {
|
|
247
244
|
return Ge(vl);
|
|
248
245
|
}
|
|
249
246
|
function Rc() {
|
|
250
|
-
return Ge(
|
|
247
|
+
return Ge(hl);
|
|
251
248
|
}
|
|
252
249
|
function Pc() {
|
|
253
|
-
return Ge(
|
|
250
|
+
return Ge(gl);
|
|
254
251
|
}
|
|
255
252
|
function Nc() {
|
|
256
|
-
return Ge(
|
|
253
|
+
return Ge(bl);
|
|
257
254
|
}
|
|
258
255
|
function Lc() {
|
|
259
|
-
return Ge(
|
|
256
|
+
return Ge(yl);
|
|
260
257
|
}
|
|
261
258
|
function Yc() {
|
|
262
|
-
return Ge(
|
|
259
|
+
return Ge(Sl);
|
|
263
260
|
}
|
|
264
261
|
function Uc() {
|
|
262
|
+
return Ge(wl);
|
|
263
|
+
}
|
|
264
|
+
function Vc() {
|
|
265
265
|
return Ge(Cl);
|
|
266
266
|
}
|
|
267
267
|
const an = {
|
|
@@ -285,7 +285,7 @@ const sa = {
|
|
|
285
285
|
Occupied: "occupied",
|
|
286
286
|
Failed: "failed"
|
|
287
287
|
};
|
|
288
|
-
function
|
|
288
|
+
function Hc(e) {
|
|
289
289
|
return e.status === Tl.Ok;
|
|
290
290
|
}
|
|
291
291
|
const zo = {
|
|
@@ -298,14 +298,14 @@ function uo(e) {
|
|
|
298
298
|
function co(e) {
|
|
299
299
|
return e.status === zo.Failed;
|
|
300
300
|
}
|
|
301
|
-
const
|
|
301
|
+
const qc = {
|
|
302
302
|
Free: "free",
|
|
303
303
|
Moderated: "moderated"
|
|
304
|
-
},
|
|
304
|
+
}, jc = {
|
|
305
305
|
Ok: "ok",
|
|
306
306
|
AlreadyRequested: "alreadyRequested",
|
|
307
307
|
Failed: "failed"
|
|
308
|
-
},
|
|
308
|
+
}, zc = {
|
|
309
309
|
Ok: "ok",
|
|
310
310
|
AlreadyRequested: "alreadyRequested",
|
|
311
311
|
Failed: "failed"
|
|
@@ -314,7 +314,7 @@ const Hc = {
|
|
|
314
314
|
socketUrl: "",
|
|
315
315
|
beforeReconnect: () => new Promise((e) => e())
|
|
316
316
|
});
|
|
317
|
-
function
|
|
317
|
+
function Wc(e) {
|
|
318
318
|
T(e) || (xa.value = e);
|
|
319
319
|
}
|
|
320
320
|
function zt() {
|
|
@@ -353,23 +353,23 @@ function _l() {
|
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
355
|
function aa(e, n, t = !1) {
|
|
356
|
-
const { collabOptions: a } = zt(), { currentUserId: r } = _l(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Ml(), u = Dl(), m = P(), c = P(), g = El(), p = P(), E = P(),
|
|
356
|
+
const { collabOptions: a } = zt(), { currentUserId: r } = _l(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Ml(), u = Dl(), m = P(), c = P(), g = El(), p = P(), E = P(), v = jo(), f = P(), d = P(), h = (O, M) => {
|
|
357
357
|
O.room !== e || O.field !== n || T(M) || T(c.value) || c.value(M);
|
|
358
358
|
}, C = (O, M) => {
|
|
359
359
|
O.room !== e || O.field !== n || T(M) || T(E.value) || E.value(M);
|
|
360
360
|
}, x = (O) => {
|
|
361
|
-
O.room === e &&
|
|
361
|
+
O.room === e && he(d.value) && d.value();
|
|
362
362
|
}, I = (O) => {
|
|
363
|
-
c.value = O, m.value = u.on(
|
|
363
|
+
c.value = O, m.value = u.on(h);
|
|
364
364
|
}, b = (O) => {
|
|
365
365
|
E.value = O, p.value = g.on(C);
|
|
366
366
|
}, _ = (O) => {
|
|
367
|
-
d.value = O, f.value =
|
|
367
|
+
d.value = O, f.value = v.on(
|
|
368
368
|
x
|
|
369
369
|
);
|
|
370
370
|
};
|
|
371
371
|
_r(() => {
|
|
372
|
-
t || (
|
|
372
|
+
t || (he(m.value) && m.value(), he(p.value) && p.value(), he(f.value) && f.value());
|
|
373
373
|
});
|
|
374
374
|
const B = V(() => {
|
|
375
375
|
const O = l.get(e);
|
|
@@ -473,7 +473,7 @@ const $l = {
|
|
|
473
473
|
const a = e, r = t, o = P(null), { collabOptions: l } = zt(), s = P((I, b) => {
|
|
474
474
|
}), i = P((I) => {
|
|
475
475
|
}), u = P(null);
|
|
476
|
-
if (l.value.enabled &&
|
|
476
|
+
if (l.value.enabled && he(a.collab)) {
|
|
477
477
|
const {
|
|
478
478
|
releaseCollabFieldLock: I,
|
|
479
479
|
acquireCollabFieldLock: b,
|
|
@@ -497,14 +497,14 @@ const $l = {
|
|
|
497
497
|
r("update:modelValue", I);
|
|
498
498
|
}, E = () => {
|
|
499
499
|
r("blur", a.modelValue), a.v?.$touch(), s.value(a.modelValue);
|
|
500
|
-
},
|
|
500
|
+
}, v = () => {
|
|
501
501
|
r("focus", a.modelValue), i.value();
|
|
502
|
-
}, f = V(() =>
|
|
503
|
-
if (
|
|
502
|
+
}, f = V(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((I) => I.$message).join(" ")] : []), d = V(() => {
|
|
503
|
+
if (he(a.label)) return a.label;
|
|
504
504
|
if (T(c) || T(g) || T(a.v?.$path)) return "";
|
|
505
|
-
const { end: I } =
|
|
505
|
+
const { end: I } = vn(a.v?.$path, ".");
|
|
506
506
|
return m(c + "." + g + ".model." + I);
|
|
507
|
-
}),
|
|
507
|
+
}), h = V(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), C = V(() => he(a.disabled) ? a.disabled : !!u.value);
|
|
508
508
|
return n({
|
|
509
509
|
focus: () => {
|
|
510
510
|
o.value?.focus();
|
|
@@ -516,7 +516,7 @@ const $l = {
|
|
|
516
516
|
"data-cy": e.dataCy,
|
|
517
517
|
"error-messages": f.value,
|
|
518
518
|
"model-value": e.modelValue,
|
|
519
|
-
required:
|
|
519
|
+
required: h.value,
|
|
520
520
|
type: e.type,
|
|
521
521
|
step: e.step,
|
|
522
522
|
"append-icon": e.appendIcon,
|
|
@@ -528,14 +528,14 @@ const $l = {
|
|
|
528
528
|
autocomplete: "off",
|
|
529
529
|
"onClick:append": b[0] || (b[0] = (_) => r("click:append", _)),
|
|
530
530
|
onBlur: E,
|
|
531
|
-
onFocus:
|
|
531
|
+
onFocus: v,
|
|
532
532
|
"onUpdate:modelValue": b[1] || (b[1] = (_) => p(_))
|
|
533
533
|
}, _t({ _: 2 }, [
|
|
534
534
|
e.hideLabel ? void 0 : {
|
|
535
535
|
name: "label",
|
|
536
536
|
fn: L(() => [
|
|
537
537
|
Oe(ye(d.value), 1),
|
|
538
|
-
|
|
538
|
+
h.value ? (U(), ve("span", $l)) : be("", !0)
|
|
539
539
|
]),
|
|
540
540
|
key: "0"
|
|
541
541
|
},
|
|
@@ -570,15 +570,18 @@ const $l = {
|
|
|
570
570
|
} : void 0
|
|
571
571
|
]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon", "maxlength", "disabled", "placeholder", "persistent-placeholder"]));
|
|
572
572
|
}
|
|
573
|
-
}),
|
|
573
|
+
}), vo = ["en", "sk"], Fl = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, De = Mr({
|
|
574
574
|
globalInjection: !1,
|
|
575
|
-
locale:
|
|
575
|
+
locale: vo[0],
|
|
576
576
|
fallbackLocale: !1,
|
|
577
|
+
pluralRules: {
|
|
578
|
+
sk: Fl
|
|
579
|
+
},
|
|
577
580
|
missing: (e, n) => {
|
|
578
|
-
|
|
581
|
+
vo.includes(e) && console.warn(`Missing ${e} translation: ${n}`);
|
|
579
582
|
}
|
|
580
583
|
});
|
|
581
|
-
function
|
|
584
|
+
function Ol(e = "id", n = !0) {
|
|
582
585
|
return jt({
|
|
583
586
|
sortBy: e,
|
|
584
587
|
descending: n,
|
|
@@ -590,32 +593,32 @@ function Fl(e = "id", n = !0) {
|
|
|
590
593
|
totalCount: 0
|
|
591
594
|
});
|
|
592
595
|
}
|
|
593
|
-
function
|
|
596
|
+
function Kc(e) {
|
|
594
597
|
return {
|
|
595
598
|
showPagination: V(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
596
599
|
};
|
|
597
600
|
}
|
|
598
|
-
const
|
|
601
|
+
const Bl = ["createdAt", "modifiedAt"], Gc = "_score", Xc = "id", Zc = "score_date", Jc = "score_best", mt = {
|
|
599
602
|
Asc: "asc",
|
|
600
603
|
Desc: "desc"
|
|
601
|
-
},
|
|
604
|
+
}, Rl = {
|
|
602
605
|
key: "",
|
|
603
606
|
title: void 0,
|
|
604
607
|
sortable: !1,
|
|
605
608
|
fixed: !1
|
|
606
609
|
};
|
|
607
|
-
function
|
|
608
|
-
const u = l ?? De, { t: m } = u.global || u, c =
|
|
610
|
+
function Qc(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = void 0, i = void 0) {
|
|
611
|
+
const u = l ?? De, { t: m } = u.global || u, c = Ol();
|
|
609
612
|
if (o)
|
|
610
613
|
for (const d of Object.keys(c))
|
|
611
614
|
d in o && (c[d] = o[d]);
|
|
612
615
|
const g = e.map((d) => {
|
|
613
|
-
const
|
|
614
|
-
return T(
|
|
616
|
+
const h = { ...Rl, ...d };
|
|
617
|
+
return T(h.title) && (T(h.title) && Bl.includes(h.key) ? h.title = m("common.model.tracking." + h.key) : T(h.title) && t && a ? h.title = m(t + "." + a + ".model." + h.key) : h.title = ""), h;
|
|
615
618
|
}), p = V(() => {
|
|
616
619
|
const d = [];
|
|
617
|
-
return s && d.push({ key: "data-table-expand", sortable: !1 }), g.forEach((
|
|
618
|
-
n.value.includes(
|
|
620
|
+
return s && d.push({ key: "data-table-expand", sortable: !1 }), g.forEach((h) => {
|
|
621
|
+
n.value.includes(h.key) || d.push(h);
|
|
619
622
|
}), r || d.push({ key: "actions", sortable: !1, fixed: !0 }), d;
|
|
620
623
|
}), E = (d) => {
|
|
621
624
|
if (!d) {
|
|
@@ -623,17 +626,17 @@ function Jc(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = vo
|
|
|
623
626
|
return;
|
|
624
627
|
}
|
|
625
628
|
c.sortBy = d.key, c.descending = d.order === mt.Desc;
|
|
626
|
-
},
|
|
629
|
+
}, v = () => {
|
|
627
630
|
if (!i || !localStorage) return;
|
|
628
631
|
const d = localStorage.getItem(i);
|
|
629
632
|
if (!d) return;
|
|
630
|
-
const
|
|
631
|
-
gn(
|
|
633
|
+
const h = JSON.parse(d);
|
|
634
|
+
gn(h) && ue(h.hidden) && (n.value = h.hidden);
|
|
632
635
|
}, f = (d) => {
|
|
633
636
|
!i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: d }));
|
|
634
637
|
};
|
|
635
638
|
return Pa(() => {
|
|
636
|
-
|
|
639
|
+
v();
|
|
637
640
|
}), Te(n, (d) => {
|
|
638
641
|
f(d);
|
|
639
642
|
}), {
|
|
@@ -688,7 +691,7 @@ const Wo = /* @__PURE__ */ we({
|
|
|
688
691
|
}
|
|
689
692
|
})();
|
|
690
693
|
const Ko = /* @__PURE__ */ new Map();
|
|
691
|
-
function
|
|
694
|
+
function Pl(e) {
|
|
692
695
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
|
|
693
696
|
var a = e.get(n);
|
|
694
697
|
a ? a.push(t) : e.set(n, [t]);
|
|
@@ -704,7 +707,7 @@ function Rl(e) {
|
|
|
704
707
|
});
|
|
705
708
|
} };
|
|
706
709
|
}
|
|
707
|
-
const Nt =
|
|
710
|
+
const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
|
|
708
711
|
{
|
|
709
712
|
name: "px",
|
|
710
713
|
regexp: new RegExp(`^${ca}px$`)
|
|
@@ -721,14 +724,14 @@ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", vo = [
|
|
|
721
724
|
name: "px",
|
|
722
725
|
regexp: new RegExp(`^${ca}$`)
|
|
723
726
|
}
|
|
724
|
-
],
|
|
727
|
+
], Nl = (e) => {
|
|
725
728
|
if (e === "auto")
|
|
726
729
|
return {
|
|
727
730
|
type: e,
|
|
728
731
|
value: 0
|
|
729
732
|
};
|
|
730
|
-
for (let n = 0; n <
|
|
731
|
-
const t =
|
|
733
|
+
for (let n = 0; n < ho.length; n++) {
|
|
734
|
+
const t = ho[n];
|
|
732
735
|
if (t.regexp.test(e))
|
|
733
736
|
return {
|
|
734
737
|
type: t.name,
|
|
@@ -739,20 +742,20 @@ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", vo = [
|
|
|
739
742
|
type: "",
|
|
740
743
|
value: e
|
|
741
744
|
};
|
|
742
|
-
},
|
|
745
|
+
}, Ll = (e) => {
|
|
743
746
|
switch (typeof e) {
|
|
744
747
|
case "number":
|
|
745
748
|
return { type: "px", value: e };
|
|
746
749
|
case "string":
|
|
747
|
-
return
|
|
750
|
+
return Nl(e);
|
|
748
751
|
default:
|
|
749
752
|
return { type: "", value: e };
|
|
750
753
|
}
|
|
751
754
|
}, go = {
|
|
752
755
|
x: /* @__PURE__ */ new Set(["left", "center", "right"]),
|
|
753
756
|
y: /* @__PURE__ */ new Set(["top", "bottom"])
|
|
754
|
-
},
|
|
755
|
-
typeof e == "string" && (e =
|
|
757
|
+
}, Yl = /* @__PURE__ */ ((e) => () => e++)(0), Ul = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), Vl = (e) => {
|
|
758
|
+
typeof e == "string" && (e = Ul(e));
|
|
756
759
|
let n = null, t = null;
|
|
757
760
|
return e.forEach((a) => {
|
|
758
761
|
go.y.has(a) && (t = a), go.x.has(a) && (n = a);
|
|
@@ -770,7 +773,7 @@ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", vo = [
|
|
|
770
773
|
opacity: [0, 1]
|
|
771
774
|
}
|
|
772
775
|
}
|
|
773
|
-
},
|
|
776
|
+
}, Hl = (e, n) => {
|
|
774
777
|
let t, a, r = n;
|
|
775
778
|
const o = () => {
|
|
776
779
|
a = Date.now(), t = setTimeout(e, r);
|
|
@@ -782,13 +785,13 @@ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", vo = [
|
|
|
782
785
|
stop: l
|
|
783
786
|
};
|
|
784
787
|
};
|
|
785
|
-
function
|
|
788
|
+
function ql(e) {
|
|
786
789
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Tr(e);
|
|
787
790
|
}
|
|
788
791
|
const An = {
|
|
789
792
|
IDLE: 0,
|
|
790
793
|
DESTROYED: 2
|
|
791
|
-
},
|
|
794
|
+
}, jl = /* @__PURE__ */ we({
|
|
792
795
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
793
796
|
name: "notifications",
|
|
794
797
|
props: {
|
|
@@ -881,11 +884,11 @@ const An = {
|
|
|
881
884
|
slots: t,
|
|
882
885
|
expose: a
|
|
883
886
|
}) => {
|
|
884
|
-
const r = P([]), o = Ko.get("velocity"), l = V(() => e.animationType === "velocity"), s = V(() => r.value.filter((k) => k.state !== An.DESTROYED)), i = V(() =>
|
|
887
|
+
const r = P([]), o = Ko.get("velocity"), l = V(() => e.animationType === "velocity"), s = V(() => r.value.filter((k) => k.state !== An.DESTROYED)), i = V(() => Ll(e.width)), u = V(() => {
|
|
885
888
|
const {
|
|
886
889
|
x: k,
|
|
887
890
|
y: $
|
|
888
|
-
} =
|
|
891
|
+
} = Vl(e.position), R = i.value.value, O = i.value.type, M = {
|
|
889
892
|
width: R + O
|
|
890
893
|
};
|
|
891
894
|
return $ && (M[$] = "0px"), k && (k === "center" ? M.left = `calc(50% - ${+R / 2}${O})` : M[k] = "0px"), M;
|
|
@@ -894,7 +897,7 @@ const An = {
|
|
|
894
897
|
onLeave: _,
|
|
895
898
|
onAfterLeave: B
|
|
896
899
|
} : {}), c = (k) => {
|
|
897
|
-
n("click", k), e.closeOnClick &&
|
|
900
|
+
n("click", k), e.closeOnClick && h(k);
|
|
898
901
|
}, g = (k) => {
|
|
899
902
|
var $;
|
|
900
903
|
e.pauseOnHover && (($ = k.timer) == null || $.stop());
|
|
@@ -915,7 +918,7 @@ const An = {
|
|
|
915
918
|
data: y,
|
|
916
919
|
id: S
|
|
917
920
|
} = k, D = {
|
|
918
|
-
id: S ||
|
|
921
|
+
id: S || Yl(),
|
|
919
922
|
title: M,
|
|
920
923
|
text: A,
|
|
921
924
|
type: w,
|
|
@@ -925,7 +928,7 @@ const An = {
|
|
|
925
928
|
data: y,
|
|
926
929
|
duplicates: 0
|
|
927
930
|
};
|
|
928
|
-
$ >= 0 && (D.timer =
|
|
931
|
+
$ >= 0 && (D.timer = Hl(() => h(D), D.length));
|
|
929
932
|
const F = "bottom" in u.value, H = e.reverse ? !F : F;
|
|
930
933
|
let X = -1;
|
|
931
934
|
const re = s.value.find((de) => de.title === k.title && de.text === k.text);
|
|
@@ -933,19 +936,19 @@ const An = {
|
|
|
933
936
|
re.duplicates++;
|
|
934
937
|
return;
|
|
935
938
|
}
|
|
936
|
-
H ? (r.value.push(D), n("start", D), s.value.length > e.max && (X = 0)) : (r.value.unshift(D), n("start", D), s.value.length > e.max && (X = s.value.length - 1)), X !== -1 &&
|
|
937
|
-
},
|
|
939
|
+
H ? (r.value.push(D), n("start", D), s.value.length > e.max && (X = 0)) : (r.value.unshift(D), n("start", D), s.value.length > e.max && (X = s.value.length - 1)), X !== -1 && h(s.value[X]);
|
|
940
|
+
}, v = (k) => {
|
|
938
941
|
C(k);
|
|
939
942
|
}, f = (k) => ["vue-notification-template", e.classes, k.type || ""], d = (k) => l.value ? void 0 : {
|
|
940
943
|
transition: `all ${k.speed}ms`
|
|
941
|
-
},
|
|
944
|
+
}, h = (k) => {
|
|
942
945
|
var $;
|
|
943
946
|
($ = k.timer) == null || $.stop(), k.state = An.DESTROYED, B(), n("destroy", k);
|
|
944
947
|
}, C = (k) => {
|
|
945
948
|
const $ = r.value.find((R) => R.id === k);
|
|
946
|
-
$ &&
|
|
949
|
+
$ && h($);
|
|
947
950
|
}, x = () => {
|
|
948
|
-
s.value.forEach(
|
|
951
|
+
s.value.forEach(h);
|
|
949
952
|
}, I = (k, $) => {
|
|
950
953
|
var R;
|
|
951
954
|
const O = (R = e.animation) == null ? void 0 : R[k];
|
|
@@ -967,9 +970,9 @@ const An = {
|
|
|
967
970
|
r.value = r.value.filter((k) => k.state !== An.DESTROYED);
|
|
968
971
|
}
|
|
969
972
|
return Pa(() => {
|
|
970
|
-
Nt.on("add", E), Nt.on("close",
|
|
973
|
+
Nt.on("add", E), Nt.on("close", v);
|
|
971
974
|
}), kr(() => {
|
|
972
|
-
Nt.off("add", E), Nt.off("close",
|
|
975
|
+
Nt.off("add", E), Nt.off("close", v);
|
|
973
976
|
}), () => {
|
|
974
977
|
let k;
|
|
975
978
|
return N("div", {
|
|
@@ -979,7 +982,7 @@ const An = {
|
|
|
979
982
|
tag: "div",
|
|
980
983
|
css: !l.value,
|
|
981
984
|
name: e.animationName
|
|
982
|
-
}),
|
|
985
|
+
}), ql(k = s.value.map(($) => N("div", {
|
|
983
986
|
key: $.id,
|
|
984
987
|
class: "vue-notification-wrapper",
|
|
985
988
|
style: d($),
|
|
@@ -989,7 +992,7 @@ const An = {
|
|
|
989
992
|
}, [t.body ? t.body({
|
|
990
993
|
item: $,
|
|
991
994
|
class: [e.classes, $.type],
|
|
992
|
-
close: () =>
|
|
995
|
+
close: () => h($)
|
|
993
996
|
}) : N("div", {
|
|
994
997
|
class: f($),
|
|
995
998
|
onClick: () => c($)
|
|
@@ -1014,28 +1017,28 @@ const An = {
|
|
|
1014
1017
|
Ze.close = (e) => {
|
|
1015
1018
|
Nt.emit("close", e);
|
|
1016
1019
|
};
|
|
1017
|
-
const
|
|
1018
|
-
function
|
|
1020
|
+
const zl = "Notifications";
|
|
1021
|
+
function Wl(e, n = {}) {
|
|
1019
1022
|
Object.entries(n).forEach((a) => Ko.set(...a));
|
|
1020
1023
|
const t = n.name || "notify";
|
|
1021
|
-
e.config.globalProperties["$" + t] = Ze, e.component(n.componentName ||
|
|
1024
|
+
e.config.globalProperties["$" + t] = Ze, e.component(n.componentName || zl, jl);
|
|
1022
1025
|
}
|
|
1023
|
-
const
|
|
1024
|
-
install:
|
|
1025
|
-
},
|
|
1026
|
+
const ed = {
|
|
1027
|
+
install: Wl
|
|
1028
|
+
}, Kl = (e) => e instanceof ot;
|
|
1026
1029
|
class ot extends Error {
|
|
1027
1030
|
constructor(n, t = "") {
|
|
1028
1031
|
super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
|
|
1029
1032
|
}
|
|
1030
1033
|
}
|
|
1031
|
-
const
|
|
1034
|
+
const Gl = 200, Xl = 201, Zl = 202, Wt = 204, td = 400, nd = 401, Jl = 403, ad = 404, qa = 422, Ql = [Gl, Xl, Zl, Wt], bn = (e) => $t.isAxiosError(e) && e.response?.status === Jl, ei = (e) => e instanceof Kt;
|
|
1032
1035
|
class Kt extends Error {
|
|
1033
1036
|
constructor(n, t = "") {
|
|
1034
1037
|
super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
|
|
1035
1038
|
}
|
|
1036
1039
|
}
|
|
1037
|
-
const
|
|
1038
|
-
function
|
|
1040
|
+
const ti = "validation_failed", yn = (e) => $t.isAxiosError(e) && e.response?.status === qa && e.response.data?.error === ti && e.response.data?.fields, Go = (e) => e instanceof Gt, ni = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
|
|
1041
|
+
function ai(e, n, t) {
|
|
1039
1042
|
const a = e.response?.data, r = [];
|
|
1040
1043
|
for (const [o, l] of Object.entries(a.fields))
|
|
1041
1044
|
r.push({
|
|
@@ -1047,7 +1050,7 @@ function ni(e, n, t) {
|
|
|
1047
1050
|
class Gt extends Error {
|
|
1048
1051
|
fields;
|
|
1049
1052
|
constructor(n, t, a, r, o = "") {
|
|
1050
|
-
super(o), this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields =
|
|
1053
|
+
super(o), this.name = "AnzuApiValidationError", this.cause = r, this.message = o, this.fields = ai(n, t, a);
|
|
1051
1054
|
}
|
|
1052
1055
|
}
|
|
1053
1056
|
const ja = (e) => e instanceof Xt;
|
|
@@ -1057,39 +1060,39 @@ class Xt extends Error {
|
|
|
1057
1060
|
super(a), this.name = "AnzuApiResponseCodeError", this.cause = t, this.code = n;
|
|
1058
1061
|
}
|
|
1059
1062
|
}
|
|
1060
|
-
const
|
|
1061
|
-
function
|
|
1063
|
+
const oi = "forbidden_operation_error", Sn = (e) => $t.isAxiosError(e) && e.response?.status === qa && e.response.data?.error === oi && e.response.data?.detail, ri = (e) => e instanceof Zt;
|
|
1064
|
+
function li(e) {
|
|
1062
1065
|
return (e.response?.data).detail;
|
|
1063
1066
|
}
|
|
1064
1067
|
class Zt extends Error {
|
|
1065
1068
|
detail;
|
|
1066
1069
|
constructor(n, t, a = "") {
|
|
1067
|
-
super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail =
|
|
1070
|
+
super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = li(n);
|
|
1068
1071
|
}
|
|
1069
1072
|
}
|
|
1070
|
-
const
|
|
1071
|
-
function
|
|
1073
|
+
const ii = "dependency_exists_error", wn = (e) => $t.isAxiosError(e) && e.response?.status === qa && e.response.data?.error === ii && e.response.data?.dependencies, si = (e) => e instanceof Jt;
|
|
1074
|
+
function ui(e) {
|
|
1072
1075
|
return (e.response?.data).dependencies;
|
|
1073
1076
|
}
|
|
1074
1077
|
class Jt extends Error {
|
|
1075
1078
|
dependencies;
|
|
1076
1079
|
constructor(n, t, a, r, o = "") {
|
|
1077
|
-
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies =
|
|
1080
|
+
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = ui(n);
|
|
1078
1081
|
}
|
|
1079
1082
|
}
|
|
1080
|
-
const
|
|
1083
|
+
const ci = (e) => e instanceof za, Xo = (e) => $t.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
|
|
1081
1084
|
class za extends Error {
|
|
1082
1085
|
constructor(n = void 0) {
|
|
1083
1086
|
super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1084
1087
|
}
|
|
1085
1088
|
}
|
|
1086
|
-
const
|
|
1089
|
+
const di = (e) => e instanceof Wa;
|
|
1087
1090
|
class Wa extends Error {
|
|
1088
1091
|
constructor(n) {
|
|
1089
1092
|
super("API request failed"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
1090
1093
|
}
|
|
1091
1094
|
}
|
|
1092
|
-
const Qe = 3,
|
|
1095
|
+
const Qe = 3, fi = `
|
|
1093
1096
|
`;
|
|
1094
1097
|
function oa() {
|
|
1095
1098
|
const e = (f, d = Qe) => {
|
|
@@ -1100,8 +1103,8 @@ function oa() {
|
|
|
1100
1103
|
type: "success"
|
|
1101
1104
|
});
|
|
1102
1105
|
}, n = (f, d = Qe) => {
|
|
1103
|
-
const { t:
|
|
1104
|
-
e(
|
|
1106
|
+
const { t: h } = De.global;
|
|
1107
|
+
e(h(f), d);
|
|
1105
1108
|
}, t = (f, d = Qe) => {
|
|
1106
1109
|
Ze({
|
|
1107
1110
|
group: "alerts",
|
|
@@ -1110,8 +1113,8 @@ function oa() {
|
|
|
1110
1113
|
type: "error"
|
|
1111
1114
|
});
|
|
1112
1115
|
}, a = (f, d = Qe) => {
|
|
1113
|
-
const { t:
|
|
1114
|
-
t(
|
|
1116
|
+
const { t: h } = De.global;
|
|
1117
|
+
t(h(f), d);
|
|
1115
1118
|
}, r = (f, d = Qe) => {
|
|
1116
1119
|
Ze({
|
|
1117
1120
|
group: "alerts",
|
|
@@ -1120,8 +1123,8 @@ function oa() {
|
|
|
1120
1123
|
type: "info"
|
|
1121
1124
|
});
|
|
1122
1125
|
}, o = (f, d = Qe) => {
|
|
1123
|
-
const { t:
|
|
1124
|
-
r(
|
|
1126
|
+
const { t: h } = De.global;
|
|
1127
|
+
r(h(f), d);
|
|
1125
1128
|
}, l = (f, d = Qe) => {
|
|
1126
1129
|
Ze({
|
|
1127
1130
|
group: "alerts",
|
|
@@ -1130,8 +1133,8 @@ function oa() {
|
|
|
1130
1133
|
type: "warning"
|
|
1131
1134
|
});
|
|
1132
1135
|
}, s = (f, d = Qe) => {
|
|
1133
|
-
const { t:
|
|
1134
|
-
l(
|
|
1136
|
+
const { t: h } = De.global;
|
|
1137
|
+
l(h(f), d);
|
|
1135
1138
|
}, i = (f = Qe) => {
|
|
1136
1139
|
const { t: d } = De.global;
|
|
1137
1140
|
Ze({
|
|
@@ -1141,18 +1144,18 @@ function oa() {
|
|
|
1141
1144
|
type: "error"
|
|
1142
1145
|
});
|
|
1143
1146
|
}, u = (f, d = Qe) => {
|
|
1144
|
-
const { t:
|
|
1147
|
+
const { t: h } = De.global;
|
|
1145
1148
|
Ze({
|
|
1146
1149
|
group: "alerts",
|
|
1147
|
-
text:
|
|
1150
|
+
text: h("common.alert.recordWas." + f),
|
|
1148
1151
|
duration: d * 1e3,
|
|
1149
1152
|
type: "success"
|
|
1150
1153
|
});
|
|
1151
|
-
}, m = (f, d = -1,
|
|
1154
|
+
}, m = (f, d = -1, h = !1) => {
|
|
1152
1155
|
const { t: C, te: x } = De.global, I = [C("common.alert.fixApiValidationErrors")];
|
|
1153
1156
|
for (let b = 0; b < f.length; b++) {
|
|
1154
1157
|
let _ = "";
|
|
1155
|
-
|
|
1158
|
+
h ? _ += f[b].field : x(f[b].field) ? _ += C(f[b].field) : f[b].field.includes("[") ? _ += v(f[b].field) : _ += f[b].field.split(".").at(-1);
|
|
1156
1159
|
const B = /* @__PURE__ */ new Set();
|
|
1157
1160
|
for (let k = 0; k < f[b].errors.length; k++) {
|
|
1158
1161
|
if (x("error.apiValidation." + f[b].errors[k])) {
|
|
@@ -1165,14 +1168,14 @@ function oa() {
|
|
|
1165
1168
|
}
|
|
1166
1169
|
Ze({
|
|
1167
1170
|
group: "alerts",
|
|
1168
|
-
text: I.join(
|
|
1171
|
+
text: I.join(fi),
|
|
1169
1172
|
duration: d * 1e3,
|
|
1170
1173
|
type: "error"
|
|
1171
1174
|
});
|
|
1172
1175
|
}, c = (f, d = -1) => {
|
|
1173
|
-
const { t:
|
|
1174
|
-
let x =
|
|
1175
|
-
C("error.apiForbiddenOperation." + f) && (x =
|
|
1176
|
+
const { t: h, te: C } = De.global;
|
|
1177
|
+
let x = h("error.apiForbiddenOperation.noTranslation");
|
|
1178
|
+
C("error.apiForbiddenOperation." + f) && (x = h("error.apiForbiddenOperation." + f)), Ze({
|
|
1176
1179
|
group: "alerts",
|
|
1177
1180
|
text: x,
|
|
1178
1181
|
duration: d * 1e3,
|
|
@@ -1194,8 +1197,8 @@ function oa() {
|
|
|
1194
1197
|
duration: f * 1e3,
|
|
1195
1198
|
type: "error"
|
|
1196
1199
|
});
|
|
1197
|
-
}, E = (f, d = -1) =>
|
|
1198
|
-
const { t: d } = De.global,
|
|
1200
|
+
}, E = (f, d = -1) => ei(f) ? (p(d), !0) : Go(f) ? (m(f.fields, d), !0) : si(f) ? (a("error.apiDependencyExists.message", d), !0) : ri(f) ? (c(f.detail, d), !0) : ci(f) ? (a("error.apiTimedOut.message", d), !0) : di(f) || Kl(f) || ja(f) ? (g(d), !0) : !1, v = (f) => {
|
|
1201
|
+
const { t: d } = De.global, h = f.split("["), C = h[0].trim(), x = h[1].split("]"), I = x[0], b = x[1] ?? "";
|
|
1199
1202
|
return d(C) + "[" + I + "]: " + d(C.slice(0, -1) + b);
|
|
1200
1203
|
};
|
|
1201
1204
|
return {
|
|
@@ -1225,13 +1228,13 @@ const Zo = (e, n) => {
|
|
|
1225
1228
|
function Ka(e) {
|
|
1226
1229
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1227
1230
|
}
|
|
1228
|
-
var $n = { exports: {} },
|
|
1229
|
-
function
|
|
1231
|
+
var $n = { exports: {} }, mi = $n.exports, bo;
|
|
1232
|
+
function pi() {
|
|
1230
1233
|
return bo || (bo = 1, (function(e, n) {
|
|
1231
1234
|
(function(t, a) {
|
|
1232
1235
|
e.exports = a();
|
|
1233
|
-
})(
|
|
1234
|
-
var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", s = "minute", i = "hour", u = "day", m = "week", c = "month", g = "quarter", p = "year", E = "date",
|
|
1236
|
+
})(mi, (function() {
|
|
1237
|
+
var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", s = "minute", i = "hour", u = "day", m = "week", c = "month", g = "quarter", p = "year", E = "date", v = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, d = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
|
|
1235
1238
|
var w = ["th", "st", "nd", "rd"], y = A % 100;
|
|
1236
1239
|
return "[" + A + (w[(y - 20) % 10] || w[y] || w[0]) + "]";
|
|
1237
1240
|
} }, C = function(A, w, y) {
|
|
@@ -1251,7 +1254,7 @@ function mi() {
|
|
|
1251
1254
|
}, u: function(A) {
|
|
1252
1255
|
return A === void 0;
|
|
1253
1256
|
} }, I = "en", b = {};
|
|
1254
|
-
b[I] =
|
|
1257
|
+
b[I] = h;
|
|
1255
1258
|
var _ = "$isDayjsObject", B = function(A) {
|
|
1256
1259
|
return A instanceof O || !(!A || !A[_]);
|
|
1257
1260
|
}, k = function A(w, y, S) {
|
|
@@ -1301,7 +1304,7 @@ function mi() {
|
|
|
1301
1304
|
}, w.$utils = function() {
|
|
1302
1305
|
return R;
|
|
1303
1306
|
}, w.isValid = function() {
|
|
1304
|
-
return this.$d.toString() !==
|
|
1307
|
+
return this.$d.toString() !== v;
|
|
1305
1308
|
}, w.isSame = function(y, S) {
|
|
1306
1309
|
var D = $(y);
|
|
1307
1310
|
return this.startOf(S) <= D && D <= this.endOf(S);
|
|
@@ -1372,7 +1375,7 @@ function mi() {
|
|
|
1372
1375
|
return this.add(-1 * y, S);
|
|
1373
1376
|
}, w.format = function(y) {
|
|
1374
1377
|
var S = this, D = this.$locale();
|
|
1375
|
-
if (!this.isValid()) return D.invalidDate ||
|
|
1378
|
+
if (!this.isValid()) return D.invalidDate || v;
|
|
1376
1379
|
var F = y || "YYYY-MM-DDTHH:mm:ssZ", H = R.z(this), X = this.$H, re = this.$m, de = this.$M, Ce = D.weekdays, Se = D.months, z = D.meridiem, te = function(me, K, J, le) {
|
|
1377
1380
|
return me && (me[K] || me(S, F)) || J[K].slice(0, le);
|
|
1378
1381
|
}, q = function(me) {
|
|
@@ -1503,10 +1506,10 @@ function mi() {
|
|
|
1503
1506
|
}));
|
|
1504
1507
|
})($n)), $n.exports;
|
|
1505
1508
|
}
|
|
1506
|
-
var
|
|
1507
|
-
const ie = /* @__PURE__ */ Ka(
|
|
1509
|
+
var vi = pi();
|
|
1510
|
+
const ie = /* @__PURE__ */ Ka(vi);
|
|
1508
1511
|
var Fn = { exports: {} }, hi = Fn.exports, yo;
|
|
1509
|
-
function
|
|
1512
|
+
function gi() {
|
|
1510
1513
|
return yo || (yo = 1, (function(e, n) {
|
|
1511
1514
|
(function(t, a) {
|
|
1512
1515
|
e.exports = a();
|
|
@@ -1514,51 +1517,51 @@ function vi() {
|
|
|
1514
1517
|
var t = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
1515
1518
|
return function(o, l, s) {
|
|
1516
1519
|
var i = l.prototype;
|
|
1517
|
-
s.utc = function(
|
|
1518
|
-
var f = { date:
|
|
1520
|
+
s.utc = function(v) {
|
|
1521
|
+
var f = { date: v, utc: !0, args: arguments };
|
|
1519
1522
|
return new l(f);
|
|
1520
|
-
}, i.utc = function(
|
|
1523
|
+
}, i.utc = function(v) {
|
|
1521
1524
|
var f = s(this.toDate(), { locale: this.$L, utc: !0 });
|
|
1522
|
-
return
|
|
1525
|
+
return v ? f.add(this.utcOffset(), t) : f;
|
|
1523
1526
|
}, i.local = function() {
|
|
1524
1527
|
return s(this.toDate(), { locale: this.$L, utc: !1 });
|
|
1525
1528
|
};
|
|
1526
1529
|
var u = i.parse;
|
|
1527
|
-
i.parse = function(
|
|
1528
|
-
|
|
1530
|
+
i.parse = function(v) {
|
|
1531
|
+
v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
|
|
1529
1532
|
};
|
|
1530
1533
|
var m = i.init;
|
|
1531
1534
|
i.init = function() {
|
|
1532
1535
|
if (this.$u) {
|
|
1533
|
-
var
|
|
1534
|
-
this.$y =
|
|
1536
|
+
var v = this.$d;
|
|
1537
|
+
this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
|
|
1535
1538
|
} else m.call(this);
|
|
1536
1539
|
};
|
|
1537
1540
|
var c = i.utcOffset;
|
|
1538
|
-
i.utcOffset = function(
|
|
1541
|
+
i.utcOffset = function(v, f) {
|
|
1539
1542
|
var d = this.$utils().u;
|
|
1540
|
-
if (d(
|
|
1541
|
-
if (typeof
|
|
1543
|
+
if (d(v)) return this.$u ? 0 : d(this.$offset) ? c.call(this) : this.$offset;
|
|
1544
|
+
if (typeof v == "string" && (v = (function(I) {
|
|
1542
1545
|
I === void 0 && (I = "");
|
|
1543
1546
|
var b = I.match(a);
|
|
1544
1547
|
if (!b) return null;
|
|
1545
1548
|
var _ = ("" + b[0]).match(r) || ["-", 0, 0], B = _[0], k = 60 * +_[1] + +_[2];
|
|
1546
1549
|
return k === 0 ? 0 : B === "+" ? k : -k;
|
|
1547
|
-
})(
|
|
1548
|
-
var
|
|
1549
|
-
if (
|
|
1550
|
+
})(v), v === null)) return this;
|
|
1551
|
+
var h = Math.abs(v) <= 16 ? 60 * v : v;
|
|
1552
|
+
if (h === 0) return this.utc(f);
|
|
1550
1553
|
var C = this.clone();
|
|
1551
|
-
if (f) return C.$offset =
|
|
1554
|
+
if (f) return C.$offset = h, C.$u = !1, C;
|
|
1552
1555
|
var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1553
|
-
return (C = this.local().add(
|
|
1556
|
+
return (C = this.local().add(h + x, t)).$offset = h, C.$x.$localOffset = x, C;
|
|
1554
1557
|
};
|
|
1555
1558
|
var g = i.format;
|
|
1556
|
-
i.format = function(
|
|
1557
|
-
var f =
|
|
1559
|
+
i.format = function(v) {
|
|
1560
|
+
var f = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
1558
1561
|
return g.call(this, f);
|
|
1559
1562
|
}, i.valueOf = function() {
|
|
1560
|
-
var
|
|
1561
|
-
return this.$d.valueOf() - 6e4 *
|
|
1563
|
+
var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
1564
|
+
return this.$d.valueOf() - 6e4 * v;
|
|
1562
1565
|
}, i.isUTC = function() {
|
|
1563
1566
|
return !!this.$u;
|
|
1564
1567
|
}, i.toISOString = function() {
|
|
@@ -1567,27 +1570,27 @@ function vi() {
|
|
|
1567
1570
|
return this.toDate().toUTCString();
|
|
1568
1571
|
};
|
|
1569
1572
|
var p = i.toDate;
|
|
1570
|
-
i.toDate = function(
|
|
1571
|
-
return
|
|
1573
|
+
i.toDate = function(v) {
|
|
1574
|
+
return v === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
1572
1575
|
};
|
|
1573
1576
|
var E = i.diff;
|
|
1574
|
-
i.diff = function(
|
|
1575
|
-
if (
|
|
1576
|
-
var
|
|
1577
|
-
return E.call(
|
|
1577
|
+
i.diff = function(v, f, d) {
|
|
1578
|
+
if (v && this.$u === v.$u) return E.call(this, v, f, d);
|
|
1579
|
+
var h = this.local(), C = s(v).local();
|
|
1580
|
+
return E.call(h, C, f, d);
|
|
1578
1581
|
};
|
|
1579
1582
|
};
|
|
1580
1583
|
}));
|
|
1581
1584
|
})(Fn)), Fn.exports;
|
|
1582
1585
|
}
|
|
1583
|
-
var
|
|
1584
|
-
const Jo = /* @__PURE__ */ Ka(
|
|
1585
|
-
var On = { exports: {} },
|
|
1586
|
-
function
|
|
1586
|
+
var bi = gi();
|
|
1587
|
+
const Jo = /* @__PURE__ */ Ka(bi);
|
|
1588
|
+
var On = { exports: {} }, yi = On.exports, So;
|
|
1589
|
+
function Si() {
|
|
1587
1590
|
return So || (So = 1, (function(e, n) {
|
|
1588
1591
|
(function(t, a) {
|
|
1589
1592
|
e.exports = a();
|
|
1590
|
-
})(
|
|
1593
|
+
})(yi, (function() {
|
|
1591
1594
|
var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d/, o = /\d\d/, l = /\d\d?/, s = /\d*[^-_:/,()\s\d]+/, i = {}, u = function(f) {
|
|
1592
1595
|
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
1593
1596
|
}, m = function(f) {
|
|
@@ -1597,21 +1600,21 @@ function yi() {
|
|
|
1597
1600
|
}, c = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
|
|
1598
1601
|
(this.zone || (this.zone = {})).offset = (function(d) {
|
|
1599
1602
|
if (!d || d === "Z") return 0;
|
|
1600
|
-
var
|
|
1601
|
-
return C === 0 ? 0 :
|
|
1603
|
+
var h = d.match(/([+-]|\d\d)/g), C = 60 * h[1] + (+h[2] || 0);
|
|
1604
|
+
return C === 0 ? 0 : h[0] === "+" ? -C : C;
|
|
1602
1605
|
})(f);
|
|
1603
1606
|
}], g = function(f) {
|
|
1604
1607
|
var d = i[f];
|
|
1605
1608
|
return d && (d.indexOf ? d : d.s.concat(d.f));
|
|
1606
1609
|
}, p = function(f, d) {
|
|
1607
|
-
var
|
|
1610
|
+
var h, C = i.meridiem;
|
|
1608
1611
|
if (C) {
|
|
1609
1612
|
for (var x = 1; x <= 24; x += 1) if (f.indexOf(C(x, 0, d)) > -1) {
|
|
1610
|
-
|
|
1613
|
+
h = x > 12;
|
|
1611
1614
|
break;
|
|
1612
1615
|
}
|
|
1613
|
-
} else
|
|
1614
|
-
return
|
|
1616
|
+
} else h = f === (d ? "pm" : "PM");
|
|
1617
|
+
return h;
|
|
1615
1618
|
}, E = { A: [s, function(f) {
|
|
1616
1619
|
this.afternoon = p(f, !1);
|
|
1617
1620
|
}], a: [s, function(f) {
|
|
@@ -1625,14 +1628,14 @@ function yi() {
|
|
|
1625
1628
|
}], SSS: [/\d{3}/, function(f) {
|
|
1626
1629
|
this.milliseconds = +f;
|
|
1627
1630
|
}], s: [l, m("seconds")], ss: [l, m("seconds")], m: [l, m("minutes")], mm: [l, m("minutes")], H: [l, m("hours")], h: [l, m("hours")], HH: [l, m("hours")], hh: [l, m("hours")], D: [l, m("day")], DD: [o, m("day")], Do: [s, function(f) {
|
|
1628
|
-
var d = i.ordinal,
|
|
1629
|
-
if (this.day =
|
|
1631
|
+
var d = i.ordinal, h = f.match(/\d+/);
|
|
1632
|
+
if (this.day = h[0], d) for (var C = 1; C <= 31; C += 1) d(C).replace(/\[|\]/g, "") === f && (this.day = C);
|
|
1630
1633
|
}], w: [l, m("week")], ww: [o, m("week")], M: [l, m("month")], MM: [o, m("month")], MMM: [s, function(f) {
|
|
1631
|
-
var d = g("months"),
|
|
1634
|
+
var d = g("months"), h = (g("monthsShort") || d.map((function(C) {
|
|
1632
1635
|
return C.slice(0, 3);
|
|
1633
1636
|
}))).indexOf(f) + 1;
|
|
1634
|
-
if (
|
|
1635
|
-
this.month =
|
|
1637
|
+
if (h < 1) throw new Error();
|
|
1638
|
+
this.month = h % 12 || h;
|
|
1636
1639
|
}], MMMM: [s, function(f) {
|
|
1637
1640
|
var d = g("months").indexOf(f) + 1;
|
|
1638
1641
|
if (d < 1) throw new Error();
|
|
@@ -1640,12 +1643,12 @@ function yi() {
|
|
|
1640
1643
|
}], Y: [/[+-]?\d+/, m("year")], YY: [o, function(f) {
|
|
1641
1644
|
this.year = u(f);
|
|
1642
1645
|
}], YYYY: [/\d{4}/, m("year")], Z: c, ZZ: c };
|
|
1643
|
-
function
|
|
1644
|
-
var d,
|
|
1645
|
-
d = f,
|
|
1646
|
+
function v(f) {
|
|
1647
|
+
var d, h;
|
|
1648
|
+
d = f, h = i && i.formats;
|
|
1646
1649
|
for (var C = (f = d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, R, O) {
|
|
1647
1650
|
var M = O && O.toUpperCase();
|
|
1648
|
-
return R ||
|
|
1651
|
+
return R || h[O] || t[O] || h[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(A, w, y) {
|
|
1649
1652
|
return w || y.slice(1);
|
|
1650
1653
|
}));
|
|
1651
1654
|
}))).match(a), x = C.length, I = 0; I < x; I += 1) {
|
|
@@ -1670,8 +1673,8 @@ function yi() {
|
|
|
1670
1673
|
})(R), R;
|
|
1671
1674
|
};
|
|
1672
1675
|
}
|
|
1673
|
-
return function(f, d,
|
|
1674
|
-
|
|
1676
|
+
return function(f, d, h) {
|
|
1677
|
+
h.p.customParseFormat = !0, f && f.parseTwoDigitYear && (u = f.parseTwoDigitYear);
|
|
1675
1678
|
var C = d.prototype, x = C.parse;
|
|
1676
1679
|
C.parse = function(I) {
|
|
1677
1680
|
var b = I.date, _ = I.utc, B = I.args;
|
|
@@ -1679,20 +1682,20 @@ function yi() {
|
|
|
1679
1682
|
var k = B[1];
|
|
1680
1683
|
if (typeof k == "string") {
|
|
1681
1684
|
var $ = B[2] === !0, R = B[3] === !0, O = $ || R, M = B[2];
|
|
1682
|
-
R && (M = B[2]), i = this.$locale(), !$ && M && (i =
|
|
1685
|
+
R && (M = B[2]), i = this.$locale(), !$ && M && (i = h.Ls[M]), this.$d = (function(S, D, F, H) {
|
|
1683
1686
|
try {
|
|
1684
1687
|
if (["x", "X"].indexOf(D) > -1) return new Date((D === "X" ? 1e3 : 1) * S);
|
|
1685
|
-
var X =
|
|
1688
|
+
var X = v(D)(S), re = X.year, de = X.month, Ce = X.day, Se = X.hours, z = X.minutes, te = X.seconds, q = X.milliseconds, W = X.zone, me = X.week, K = /* @__PURE__ */ new Date(), J = Ce || (re || de ? 1 : K.getDate()), le = re || K.getFullYear(), Ae = 0;
|
|
1686
1689
|
re && !de || (Ae = de > 0 ? de - 1 : K.getMonth());
|
|
1687
1690
|
var Ft, j = Se || 0, se = z || 0, ge = te || 0, pe = q || 0;
|
|
1688
1691
|
return W ? new Date(Date.UTC(le, Ae, J, j, se, ge, pe + 60 * W.offset * 1e3)) : F ? new Date(Date.UTC(le, Ae, J, j, se, ge, pe)) : (Ft = new Date(le, Ae, J, j, se, ge, pe), me && (Ft = H(Ft).week(me).toDate()), Ft);
|
|
1689
1692
|
} catch {
|
|
1690
1693
|
return /* @__PURE__ */ new Date("");
|
|
1691
1694
|
}
|
|
1692
|
-
})(b, k, _,
|
|
1695
|
+
})(b, k, _, h), this.init(), M && M !== !0 && (this.$L = this.locale(M).$L), O && b != this.format(k) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
|
|
1693
1696
|
} else if (k instanceof Array) for (var A = k.length, w = 1; w <= A; w += 1) {
|
|
1694
1697
|
B[1] = k[w - 1];
|
|
1695
|
-
var y =
|
|
1698
|
+
var y = h.apply(this, B);
|
|
1696
1699
|
if (y.isValid()) {
|
|
1697
1700
|
this.$d = y.$d, this.$L = y.$L, this.init();
|
|
1698
1701
|
break;
|
|
@@ -1705,20 +1708,20 @@ function yi() {
|
|
|
1705
1708
|
}));
|
|
1706
1709
|
})(On)), On.exports;
|
|
1707
1710
|
}
|
|
1708
|
-
var
|
|
1709
|
-
const Qo = /* @__PURE__ */ Ka(
|
|
1711
|
+
var wi = Si();
|
|
1712
|
+
const Qo = /* @__PURE__ */ Ka(wi);
|
|
1710
1713
|
ie.extend(Jo);
|
|
1711
1714
|
ie.extend(Qo);
|
|
1712
|
-
const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000000Z", la = "2100-01-01T00:00:00.000000Z",
|
|
1715
|
+
const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000000Z", la = "2100-01-01T00:00:00.000000Z", od = () => ie().utc().toDate(), Ci = (e) => ie(e).toDate(), rd = () => il(ie().utc().unix()), Ia = (e = !0, n = !1) => e && !n ? ie().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : ie().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", ld = (e = 0) => e === 0 ? ie().startOf("day").utc().format(qn) + Ct : ie().add(e, "days").startOf("day").utc().format(qn) + Ct, id = (e = 0) => e === 0 ? ie().endOf("day").utc().format(qn) + Ct : ie().add(e, "days").endOf("day").utc().format(qn) + Ct, Di = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? ie(n).add(e, "minutes").toDate() : e < 0 ? ie(n).subtract(Math.abs(e), "minutes").toDate() : n), Ma = (e, n = Ct) => ie(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, sd = () => ie().utc().format("YYYY"), ki = (e, n = "", t = !1) => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), ud = (e, n = "", t = !1) => {
|
|
1713
1716
|
if (e === la || e === ra || e === "" || G(e) || T(e))
|
|
1714
1717
|
return n;
|
|
1715
1718
|
let a = !0, r = !0;
|
|
1716
1719
|
const o = ie(e), l = ie();
|
|
1717
1720
|
return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? ie(o).format(t ? "H:mm:ss" : "H:mm") : a ? ie(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : ie(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
|
|
1718
|
-
},
|
|
1721
|
+
}, cd = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("DD.MM.YYYY"), dd = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("HH:mm"), fd = (e, n, t = "ms") => {
|
|
1719
1722
|
const a = ie(e), r = ie(n);
|
|
1720
1723
|
return a.diff(r, t);
|
|
1721
|
-
},
|
|
1724
|
+
}, md = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Ei = (e, n, t = 0, a = !1) => {
|
|
1722
1725
|
const r = new Date(e);
|
|
1723
1726
|
r.setMonth(r.getMonth() + t), r.setDate(1), r.setHours(0, 0, 0, 0);
|
|
1724
1727
|
const o = new Date(e);
|
|
@@ -1726,9 +1729,9 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1726
1729
|
from: Ma(r),
|
|
1727
1730
|
until: Ma(o)
|
|
1728
1731
|
} : { from: r, until: o };
|
|
1729
|
-
}, fa =
|
|
1732
|
+
}, fa = Ei, Ga = (e) => {
|
|
1730
1733
|
e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
|
|
1731
|
-
},
|
|
1734
|
+
}, Ti = /* @__PURE__ */ we({
|
|
1732
1735
|
__name: "AFilterSubmitButton",
|
|
1733
1736
|
props: {
|
|
1734
1737
|
buttonT: { default: "common.button.submitFilter" },
|
|
@@ -1755,7 +1758,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1755
1758
|
_: 1
|
|
1756
1759
|
}, 8, ["class", "data-cy", "variant"]));
|
|
1757
1760
|
}
|
|
1758
|
-
}),
|
|
1761
|
+
}), Ai = /* @__PURE__ */ we({
|
|
1759
1762
|
__name: "AFilterResetButton",
|
|
1760
1763
|
props: {
|
|
1761
1764
|
tooltipT: { default: "common.button.resetFilter" },
|
|
@@ -1793,14 +1796,14 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1793
1796
|
_: 1
|
|
1794
1797
|
}, 8, ["class", "data-cy"]));
|
|
1795
1798
|
}
|
|
1796
|
-
}),
|
|
1799
|
+
}), xi = (e) => {
|
|
1797
1800
|
const n = Object.getOwnPropertyNames(e);
|
|
1798
1801
|
for (const t of n) {
|
|
1799
1802
|
const a = e[t];
|
|
1800
|
-
a && typeof a == "object" &&
|
|
1803
|
+
a && typeof a == "object" && xi(a);
|
|
1801
1804
|
}
|
|
1802
1805
|
return Object.freeze(e);
|
|
1803
|
-
},
|
|
1806
|
+
}, pd = (e) => Object.keys(e).map((n) => e[n]), vd = (e, n, t = ".") => {
|
|
1804
1807
|
const a = n.split(t);
|
|
1805
1808
|
let r = e;
|
|
1806
1809
|
for (; a.length; ) {
|
|
@@ -1809,7 +1812,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1809
1812
|
r = r[o];
|
|
1810
1813
|
}
|
|
1811
1814
|
return r;
|
|
1812
|
-
},
|
|
1815
|
+
}, Ii = (e, n, t, a = ".") => {
|
|
1813
1816
|
const r = n.split(a);
|
|
1814
1817
|
let o = e;
|
|
1815
1818
|
for (; r.length - 1; ) {
|
|
@@ -1831,77 +1834,77 @@ function hd(e, n, t = ".") {
|
|
|
1831
1834
|
}
|
|
1832
1835
|
return o(e), e;
|
|
1833
1836
|
}
|
|
1834
|
-
const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) =>
|
|
1837
|
+
const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Ql.includes(e), gd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
|
|
1835
1838
|
e().get(Cn(n, t), o).then((i) => Dn(i.status) ? i.data ? l(i.data) : i.status === Wt ? l(null) : s(new ot()) : s(new Xt(i.status))).catch((i) => bn(i) ? s(new Kt(i, i.config?.url)) : yn(i) ? s(new Gt(i, a, r, i)) : wn(i) ? s(new Jt(i, a, r, i)) : Sn(i) ? s(new Zt(i, i)) : s(new ot(i)));
|
|
1836
|
-
}), { t:
|
|
1837
|
-
function
|
|
1838
|
-
return Xe({ t:
|
|
1839
|
+
}), { t: Mi } = De.global;
|
|
1840
|
+
function _i() {
|
|
1841
|
+
return Xe({ t: Mi })(Yr, {
|
|
1839
1842
|
withArguments: !0,
|
|
1840
1843
|
messagePath: () => "error.jsValidation.between"
|
|
1841
1844
|
});
|
|
1842
1845
|
}
|
|
1843
|
-
const { t:
|
|
1844
|
-
function
|
|
1845
|
-
return Xe({ t:
|
|
1846
|
+
const { t: $i } = De.global;
|
|
1847
|
+
function Fi() {
|
|
1848
|
+
return Xe({ t: $i })(Ur, {
|
|
1846
1849
|
messagePath: () => "error.jsValidation.email"
|
|
1847
1850
|
});
|
|
1848
1851
|
}
|
|
1849
|
-
const { t:
|
|
1850
|
-
function
|
|
1851
|
-
return Xe({ t:
|
|
1852
|
+
const { t: Oi } = De.global;
|
|
1853
|
+
function Bi() {
|
|
1854
|
+
return Xe({ t: Oi })(Vr, {
|
|
1852
1855
|
withArguments: !0,
|
|
1853
1856
|
messagePath: () => "error.jsValidation.maxLength"
|
|
1854
1857
|
});
|
|
1855
1858
|
}
|
|
1856
|
-
const { t:
|
|
1857
|
-
function
|
|
1858
|
-
return Xe({ t:
|
|
1859
|
+
const { t: Ri } = De.global;
|
|
1860
|
+
function Pi() {
|
|
1861
|
+
return Xe({ t: Ri })(Hr, {
|
|
1859
1862
|
withArguments: !0,
|
|
1860
1863
|
messagePath: () => "error.jsValidation.maxValue"
|
|
1861
1864
|
});
|
|
1862
1865
|
}
|
|
1863
|
-
const { t:
|
|
1864
|
-
function
|
|
1865
|
-
return Xe({ t:
|
|
1866
|
+
const { t: Ni } = De.global;
|
|
1867
|
+
function Li() {
|
|
1868
|
+
return Xe({ t: Ni })(qr, {
|
|
1866
1869
|
withArguments: !0,
|
|
1867
1870
|
messagePath: () => "error.jsValidation.minLength"
|
|
1868
1871
|
});
|
|
1869
1872
|
}
|
|
1870
|
-
const { t:
|
|
1871
|
-
function
|
|
1872
|
-
return Xe({ t:
|
|
1873
|
+
const { t: Yi } = De.global;
|
|
1874
|
+
function Ui() {
|
|
1875
|
+
return Xe({ t: Yi })(jr, {
|
|
1873
1876
|
withArguments: !0,
|
|
1874
1877
|
messagePath: () => "error.jsValidation.minValue"
|
|
1875
1878
|
});
|
|
1876
1879
|
}
|
|
1877
|
-
const { t:
|
|
1878
|
-
function
|
|
1879
|
-
return Xe({ t:
|
|
1880
|
+
const { t: Vi } = De.global;
|
|
1881
|
+
function Hi() {
|
|
1882
|
+
return Xe({ t: Vi })(zr, {
|
|
1880
1883
|
messagePath: () => "error.jsValidation.numeric"
|
|
1881
1884
|
});
|
|
1882
1885
|
}
|
|
1883
|
-
const { t:
|
|
1884
|
-
function
|
|
1885
|
-
return Xe({ t:
|
|
1886
|
+
const { t: qi } = De.global;
|
|
1887
|
+
function ji() {
|
|
1888
|
+
return Xe({ t: qi })(Wr, {
|
|
1886
1889
|
messagePath: () => "error.jsValidation.required"
|
|
1887
1890
|
});
|
|
1888
1891
|
}
|
|
1889
|
-
const { t:
|
|
1890
|
-
function
|
|
1891
|
-
return Xe({ t:
|
|
1892
|
+
const { t: zi } = De.global;
|
|
1893
|
+
function Wi() {
|
|
1894
|
+
return Xe({ t: zi })(Kr, {
|
|
1892
1895
|
withArguments: !0,
|
|
1893
1896
|
messagePath: () => "error.jsValidation.required"
|
|
1894
1897
|
});
|
|
1895
1898
|
}
|
|
1896
|
-
const { t:
|
|
1897
|
-
function
|
|
1898
|
-
return Xe({ t:
|
|
1899
|
+
const { t: Ki } = De.global;
|
|
1900
|
+
function Gi() {
|
|
1901
|
+
return Xe({ t: Ki })(Po.regex(/^[a-z\-0-9]+$/), {
|
|
1899
1902
|
messagePath: () => "error.jsValidation.slug"
|
|
1900
1903
|
});
|
|
1901
1904
|
}
|
|
1902
|
-
const { t:
|
|
1903
|
-
function
|
|
1904
|
-
const e = Xe({ t:
|
|
1905
|
+
const { t: Xi } = De.global;
|
|
1906
|
+
function Zi() {
|
|
1907
|
+
const e = Xe({ t: Xi }), n = (a, r) => (o) => !Po.req(o) || o.every((l) => l.length >= Z(a) && l.length <= Z(r));
|
|
1905
1908
|
return e((a, r) => ({
|
|
1906
1909
|
$validator: n(a, r),
|
|
1907
1910
|
// $message not required when using i18n
|
|
@@ -1919,15 +1922,15 @@ function Xi() {
|
|
|
1919
1922
|
messagePath: () => "error.jsValidation.stringArrayItemLength"
|
|
1920
1923
|
});
|
|
1921
1924
|
}
|
|
1922
|
-
const { t:
|
|
1923
|
-
function
|
|
1924
|
-
return Xe({ t:
|
|
1925
|
+
const { t: Ji } = De.global;
|
|
1926
|
+
function Qi() {
|
|
1927
|
+
return Xe({ t: Ji })(Gr, {
|
|
1925
1928
|
messagePath: () => "error.jsValidation.url"
|
|
1926
1929
|
});
|
|
1927
1930
|
}
|
|
1928
|
-
const { t:
|
|
1929
|
-
function
|
|
1930
|
-
const e = Xe({ t:
|
|
1931
|
+
const { t: es } = De.global;
|
|
1932
|
+
function ts() {
|
|
1933
|
+
const e = Xe({ t: es }), n = (a, r, o) => (l) => {
|
|
1931
1934
|
const s = Z(a);
|
|
1932
1935
|
if (l === null && s === null || l === null || s === null)
|
|
1933
1936
|
return !0;
|
|
@@ -1959,22 +1962,22 @@ function es() {
|
|
|
1959
1962
|
}
|
|
1960
1963
|
function Xa() {
|
|
1961
1964
|
return {
|
|
1962
|
-
required:
|
|
1963
|
-
requiredIf:
|
|
1964
|
-
minLength:
|
|
1965
|
-
maxLength:
|
|
1966
|
-
minValue:
|
|
1967
|
-
maxValue:
|
|
1968
|
-
between:
|
|
1969
|
-
email:
|
|
1970
|
-
numeric:
|
|
1971
|
-
slug:
|
|
1972
|
-
url:
|
|
1973
|
-
stringArrayItemLength:
|
|
1974
|
-
datesCompare:
|
|
1965
|
+
required: ji(),
|
|
1966
|
+
requiredIf: Wi(),
|
|
1967
|
+
minLength: Li(),
|
|
1968
|
+
maxLength: Bi(),
|
|
1969
|
+
minValue: Ui(),
|
|
1970
|
+
maxValue: Pi(),
|
|
1971
|
+
between: _i(),
|
|
1972
|
+
email: Fi(),
|
|
1973
|
+
numeric: Hi(),
|
|
1974
|
+
slug: Gi(),
|
|
1975
|
+
url: Qi(),
|
|
1976
|
+
stringArrayItemLength: Zi(),
|
|
1977
|
+
datesCompare: ts()
|
|
1975
1978
|
};
|
|
1976
1979
|
}
|
|
1977
|
-
const
|
|
1980
|
+
const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, os = { class: "a-datetime-picker-time__arrows" }, rs = { class: "a-datetime-picker-time__item" }, ls = { class: "a-datetime-picker-time__arrows" }, is = /* @__PURE__ */ we({
|
|
1978
1981
|
__name: "TimePicker",
|
|
1979
1982
|
props: {
|
|
1980
1983
|
modelValue: {
|
|
@@ -2021,7 +2024,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2021
2024
|
l.value = I >= 0 && I <= 59 ? String(I).padStart(2, "0") : "00";
|
|
2022
2025
|
}, E = () => {
|
|
2023
2026
|
g(), a("onEnterKeyup");
|
|
2024
|
-
},
|
|
2027
|
+
}, v = () => {
|
|
2025
2028
|
p(), a("onEnterKeyup");
|
|
2026
2029
|
}, f = () => {
|
|
2027
2030
|
const I = parseInt(o.value || "0"), b = isNaN(I) ? 1 : (I + 1) % 24;
|
|
@@ -2029,7 +2032,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2029
2032
|
}, d = () => {
|
|
2030
2033
|
const I = parseInt(o.value || "0"), b = isNaN(I) ? 23 : (I - 1 + 24) % 24;
|
|
2031
2034
|
o.value = String(b).padStart(2, "0");
|
|
2032
|
-
},
|
|
2035
|
+
}, h = () => {
|
|
2033
2036
|
const I = parseInt(l.value || "0"), b = parseInt(o.value || "0");
|
|
2034
2037
|
if (isNaN(I)) {
|
|
2035
2038
|
l.value = "01";
|
|
@@ -2066,8 +2069,8 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2066
2069
|
k >= 0 && k <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: k, minutes: $ });
|
|
2067
2070
|
}), n({
|
|
2068
2071
|
focusHour: x
|
|
2069
|
-
}), (I, b) => (U(),
|
|
2070
|
-
$e("div",
|
|
2072
|
+
}), (I, b) => (U(), ve("div", ns, [
|
|
2073
|
+
$e("div", as, [
|
|
2071
2074
|
Yn($e("input", {
|
|
2072
2075
|
ref_key: "hoursRefInput",
|
|
2073
2076
|
ref: s,
|
|
@@ -2084,7 +2087,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2084
2087
|
}, null, 544), [
|
|
2085
2088
|
[oo, u.value]
|
|
2086
2089
|
]),
|
|
2087
|
-
$e("div",
|
|
2090
|
+
$e("div", os, [
|
|
2088
2091
|
N(Ue, {
|
|
2089
2092
|
tabindex: "-1",
|
|
2090
2093
|
variant: "text",
|
|
@@ -2110,7 +2113,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2110
2113
|
])
|
|
2111
2114
|
]),
|
|
2112
2115
|
b[2] || (b[2] = $e("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
|
|
2113
|
-
$e("div",
|
|
2116
|
+
$e("div", rs, [
|
|
2114
2117
|
Yn($e("input", {
|
|
2115
2118
|
ref_key: "minutesRefInput",
|
|
2116
2119
|
ref: i,
|
|
@@ -2123,16 +2126,16 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2123
2126
|
max: "59",
|
|
2124
2127
|
onFocus: c,
|
|
2125
2128
|
onBlur: p,
|
|
2126
|
-
onKeyup: ka(
|
|
2129
|
+
onKeyup: ka(v, ["enter"])
|
|
2127
2130
|
}, null, 544), [
|
|
2128
2131
|
[oo, m.value]
|
|
2129
2132
|
]),
|
|
2130
|
-
$e("div",
|
|
2133
|
+
$e("div", ls, [
|
|
2131
2134
|
N(Ue, {
|
|
2132
2135
|
tabindex: "-1",
|
|
2133
2136
|
variant: "text",
|
|
2134
2137
|
class: "a-datetime-picker-time__arrow-up",
|
|
2135
|
-
onClick:
|
|
2138
|
+
onClick: h
|
|
2136
2139
|
}, {
|
|
2137
2140
|
default: L(() => [
|
|
2138
2141
|
N(Pe, { icon: "mdi-chevron-up" })
|
|
@@ -2154,10 +2157,10 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2154
2157
|
])
|
|
2155
2158
|
]));
|
|
2156
2159
|
}
|
|
2157
|
-
}),
|
|
2160
|
+
}), ss = /* @__PURE__ */ Zo(is, [["__scopeId", "data-v-a07d5c55"]]), us = { class: "d-flex" }, cs = { class: "ml-1" }, ds = {
|
|
2158
2161
|
key: 0,
|
|
2159
2162
|
class: "required"
|
|
2160
|
-
},
|
|
2163
|
+
}, fs = /* @__PURE__ */ we({
|
|
2161
2164
|
__name: "ADatetimePicker",
|
|
2162
2165
|
props: {
|
|
2163
2166
|
modelValue: {},
|
|
@@ -2179,11 +2182,11 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2179
2182
|
setup(e, { emit: n }) {
|
|
2180
2183
|
const t = e, a = n;
|
|
2181
2184
|
ie.extend(Jo), ie.extend(Qo);
|
|
2182
|
-
const r = P(!1), o = P(0), l = P(0), s = Mt("timePickerInstance"), i = Mt("inputInstance"), u = Mt("confirmRefButton"), m = P(""), c = P(null), g = P(null), p = P(null), { t: E } = Ne(),
|
|
2185
|
+
const r = P(!1), o = P(0), l = P(0), s = Mt("timePickerInstance"), i = Mt("inputInstance"), u = Mt("confirmRefButton"), m = P(""), c = P(null), g = P(null), p = P(null), { t: E } = Ne(), v = V(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } = Xa(), d = V(() => ({
|
|
2183
2186
|
textFieldValue: {
|
|
2184
2187
|
required: f(t.required)
|
|
2185
2188
|
}
|
|
2186
|
-
})),
|
|
2189
|
+
})), h = Hn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
|
|
2187
2190
|
S !== t.modelValue && a("update:modelValue", S);
|
|
2188
2191
|
}, I = (S) => {
|
|
2189
2192
|
G(S) || ((G(g.value) || S.hour() !== g.value.hours || S.minute() !== g.value.minutes) && (g.value = { hours: S.hour(), minutes: S.minute() }), (G(c.value) || S.year() !== c.value.getFullYear() || S.month() !== c.value.getMonth() || S.date() !== c.value.getDate()) && (c.value = S.toDate()));
|
|
@@ -2225,7 +2228,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2225
2228
|
}
|
|
2226
2229
|
a("onClose");
|
|
2227
2230
|
});
|
|
2228
|
-
const B = V(() =>
|
|
2231
|
+
const B = V(() => he(t.errorMessages) ? t.errorMessages : h.value.textFieldValue.$errors.length ? [h.value.textFieldValue.$errors.map((S) => S.$message).join(" ")] : []), k = () => {
|
|
2229
2232
|
const S = m.value.replace(/[^\s\d.:]/g, "").trim();
|
|
2230
2233
|
if (S.length === 0 && !t.required) {
|
|
2231
2234
|
p.value = null, a("blur");
|
|
@@ -2238,10 +2241,10 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2238
2241
|
const H = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
|
|
2239
2242
|
H.isValid() && (F = H.second());
|
|
2240
2243
|
}
|
|
2241
|
-
p.value = D.second(F),
|
|
2244
|
+
p.value = D.second(F), h.value.textFieldValue.$touch(), a("blur");
|
|
2242
2245
|
return;
|
|
2243
2246
|
}
|
|
2244
|
-
G(p.value) || (m.value = p.value.format(C.value)),
|
|
2247
|
+
G(p.value) || (m.value = p.value.format(C.value)), h.value.textFieldValue.$touch(), a("blur");
|
|
2245
2248
|
}, $ = () => {
|
|
2246
2249
|
if (G(t.defaultValue) || T(t.defaultValue)) {
|
|
2247
2250
|
p.value = null, c.value = null, g.value = null, a("afterClear");
|
|
@@ -2270,7 +2273,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2270
2273
|
"onUpdate:modelValue": D[3] || (D[3] = (F) => m.value = F),
|
|
2271
2274
|
"error-messages": B.value,
|
|
2272
2275
|
"persistent-placeholder": !0,
|
|
2273
|
-
placeholder:
|
|
2276
|
+
placeholder: v.value,
|
|
2274
2277
|
class: "a-datetime-picker",
|
|
2275
2278
|
"hide-details": "auto",
|
|
2276
2279
|
disabled: e.disabled,
|
|
@@ -2330,7 +2333,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2330
2333
|
color: "primary",
|
|
2331
2334
|
"show-adjacent-months": ""
|
|
2332
2335
|
}, S.$attrs, { "onUpdate:modelValue": w }), null, 16, ["modelValue"])),
|
|
2333
|
-
(U(), Q(
|
|
2336
|
+
(U(), Q(ss, {
|
|
2334
2337
|
ref_key: "timePickerInstance",
|
|
2335
2338
|
ref: s,
|
|
2336
2339
|
key: l.value,
|
|
@@ -2339,7 +2342,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2339
2342
|
onOnEnterKeyup: M,
|
|
2340
2343
|
onFocusConfirm: A
|
|
2341
2344
|
}, null, 8, ["modelValue"])),
|
|
2342
|
-
$e("div",
|
|
2345
|
+
$e("div", us, [
|
|
2343
2346
|
$e("button", {
|
|
2344
2347
|
type: "button",
|
|
2345
2348
|
class: "a-datetime-picker__bottom-button",
|
|
@@ -2361,7 +2364,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2361
2364
|
]),
|
|
2362
2365
|
_: 1
|
|
2363
2366
|
}, 8, ["model-value"])),
|
|
2364
|
-
$e("div",
|
|
2367
|
+
$e("div", cs, [
|
|
2365
2368
|
_e(S.$slots, "append-inner", {}, void 0, !0)
|
|
2366
2369
|
])
|
|
2367
2370
|
]),
|
|
@@ -2371,13 +2374,13 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2371
2374
|
name: "label",
|
|
2372
2375
|
fn: L(() => [
|
|
2373
2376
|
Oe(ye(e.label), 1),
|
|
2374
|
-
e.required ? (U(),
|
|
2377
|
+
e.required ? (U(), ve("span", ds)) : be("", !0)
|
|
2375
2378
|
]),
|
|
2376
2379
|
key: "0"
|
|
2377
2380
|
}
|
|
2378
2381
|
]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
|
|
2379
2382
|
}
|
|
2380
|
-
}), er = /* @__PURE__ */ Zo(
|
|
2383
|
+
}), er = /* @__PURE__ */ Zo(fs, [["__scopeId", "data-v-9d53bed3"]]), bd = /* @__PURE__ */ we({
|
|
2381
2384
|
__name: "AFormDatetimePicker",
|
|
2382
2385
|
props: {
|
|
2383
2386
|
modelValue: {},
|
|
@@ -2403,7 +2406,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2403
2406
|
}), s = P((_) => {
|
|
2404
2407
|
}), i = P(() => {
|
|
2405
2408
|
}), u = P(null);
|
|
2406
|
-
if (o.value.enabled &&
|
|
2409
|
+
if (o.value.enabled && he(t.collab)) {
|
|
2407
2410
|
const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } = aa(
|
|
2408
2411
|
t.collab.room,
|
|
2409
2412
|
t.collab.field
|
|
@@ -2420,16 +2423,16 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2420
2423
|
m.value = !0, i.value();
|
|
2421
2424
|
}, p = () => {
|
|
2422
2425
|
l.value(t.modelValue), m.value = !0;
|
|
2423
|
-
}, { t: E } = Ne(),
|
|
2426
|
+
}, { t: E } = Ne(), v = ee(Va, void 0), f = ee(Ha, void 0), d = () => {
|
|
2424
2427
|
c.value = !1, a("blur", T(t.modelValue) ? null : t.modelValue), t.v?.$touch(), m.value === !1 && l.value(t.modelValue);
|
|
2425
|
-
},
|
|
2428
|
+
}, h = () => {
|
|
2426
2429
|
c.value = !0, a("focus", t.modelValue), i.value();
|
|
2427
|
-
}, C = V(() =>
|
|
2428
|
-
if (
|
|
2429
|
-
if (T(
|
|
2430
|
-
const { end: _ } =
|
|
2431
|
-
return E(
|
|
2432
|
-
}), I = V(() =>
|
|
2430
|
+
}, C = V(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((_) => _.$message).join(" ")] : []), x = V(() => {
|
|
2431
|
+
if (he(t.label)) return t.label;
|
|
2432
|
+
if (T(v) || T(f) || T(t.v?.$path)) return "";
|
|
2433
|
+
const { end: _ } = vn(t.v?.$path, ".");
|
|
2434
|
+
return E(v + "." + f + ".model." + _);
|
|
2435
|
+
}), I = V(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), b = V(() => he(t.disabled) ? t.disabled : !!u.value);
|
|
2433
2436
|
return Te(r, (_, B) => {
|
|
2434
2437
|
_ !== B && o.value.enabled && (c.value || m.value) && s.value(_);
|
|
2435
2438
|
}), (_, B) => (U(), Q(er, it({
|
|
@@ -2443,7 +2446,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2443
2446
|
clearable: e.clearable
|
|
2444
2447
|
}, _.$attrs, {
|
|
2445
2448
|
onBlur: d,
|
|
2446
|
-
onFocus:
|
|
2449
|
+
onFocus: h,
|
|
2447
2450
|
onOnOpen: g,
|
|
2448
2451
|
onOnClose: p
|
|
2449
2452
|
}), {
|
|
@@ -2474,13 +2477,13 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2474
2477
|
const t = e, a = n, { collabOptions: r } = zt(), o = P((p) => {
|
|
2475
2478
|
}), l = P(() => {
|
|
2476
2479
|
}), s = P(null);
|
|
2477
|
-
if (r.value.enabled &&
|
|
2478
|
-
const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser:
|
|
2480
|
+
if (r.value.enabled && he(t.collab)) {
|
|
2481
|
+
const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = aa(
|
|
2479
2482
|
t.collab.room,
|
|
2480
2483
|
t.collab.field
|
|
2481
2484
|
);
|
|
2482
2485
|
o.value = p, l.value = E, Te(
|
|
2483
|
-
|
|
2486
|
+
v,
|
|
2484
2487
|
(f) => {
|
|
2485
2488
|
s.value = f;
|
|
2486
2489
|
},
|
|
@@ -2497,14 +2500,14 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2497
2500
|
a("blur", t.modelValue), o.value(t.modelValue);
|
|
2498
2501
|
}, c = () => {
|
|
2499
2502
|
a("focus", t.modelValue), l.value();
|
|
2500
|
-
}, g = V(() =>
|
|
2503
|
+
}, g = V(() => he(t.disabled) ? t.disabled : !!s.value);
|
|
2501
2504
|
return (p, E) => (U(), Q(tl, {
|
|
2502
2505
|
"data-cy": e.dataCy,
|
|
2503
2506
|
"model-value": e.modelValue,
|
|
2504
2507
|
disabled: g.value,
|
|
2505
2508
|
onBlur: m,
|
|
2506
2509
|
onFocus: c,
|
|
2507
|
-
"onUpdate:modelValue": E[0] || (E[0] = (
|
|
2510
|
+
"onUpdate:modelValue": E[0] || (E[0] = (v) => u(v)),
|
|
2508
2511
|
onClick: Ee(i, ["stop"])
|
|
2509
2512
|
}, _t({ _: 2 }, [
|
|
2510
2513
|
e.hideLabel ? void 0 : {
|
|
@@ -2529,7 +2532,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2529
2532
|
} : void 0
|
|
2530
2533
|
]), 1032, ["data-cy", "model-value", "disabled"]));
|
|
2531
2534
|
}
|
|
2532
|
-
}), ma = "_sort",
|
|
2535
|
+
}), ma = "_sort", ms = {
|
|
2533
2536
|
skip: !1,
|
|
2534
2537
|
xs: void 0,
|
|
2535
2538
|
sm: void 0,
|
|
@@ -2537,7 +2540,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
|
|
|
2537
2540
|
lg: void 0,
|
|
2538
2541
|
xl: void 0
|
|
2539
2542
|
};
|
|
2540
|
-
function
|
|
2543
|
+
function ps(e) {
|
|
2541
2544
|
return jt(
|
|
2542
2545
|
e.reduce((n, t) => ({
|
|
2543
2546
|
...n,
|
|
@@ -2545,7 +2548,7 @@ function ms(e) {
|
|
|
2545
2548
|
}), {})
|
|
2546
2549
|
);
|
|
2547
2550
|
}
|
|
2548
|
-
function
|
|
2551
|
+
function vs(e, n, t) {
|
|
2549
2552
|
const a = e.reduce(
|
|
2550
2553
|
(l, s) => {
|
|
2551
2554
|
const i = s.name, u = Ie(s.default);
|
|
@@ -2564,7 +2567,7 @@ function ps(e, n, t) {
|
|
|
2564
2567
|
related: dt(s.related, void 0),
|
|
2565
2568
|
exclude: dt(s.exclude, !1),
|
|
2566
2569
|
default: u,
|
|
2567
|
-
render: { ...
|
|
2570
|
+
render: { ...ms, ...dt(s.render, {}) }
|
|
2568
2571
|
}
|
|
2569
2572
|
};
|
|
2570
2573
|
},
|
|
@@ -2634,20 +2637,20 @@ function tr(e, n, t = {}) {
|
|
|
2634
2637
|
Fe(a.storeFiltersLocalStorage) ? o = a.storeFiltersLocalStorage : st(a.storeFiltersLocalStorage) && a.storeFiltersLocalStorage === !0 && Fe(n.general.system) && Fe(n.general.subject) && (o = "tableFilter_" + n.general.system + "_" + n.general.subject);
|
|
2635
2638
|
const l = () => {
|
|
2636
2639
|
const d = {};
|
|
2637
|
-
for (const
|
|
2640
|
+
for (const h in e)
|
|
2638
2641
|
try {
|
|
2639
|
-
const C =
|
|
2640
|
-
!T(x) && !G(x) && !Aa(x) && x !== n.fields[C].default && (d[
|
|
2642
|
+
const C = h, x = e[C];
|
|
2643
|
+
!T(x) && !G(x) && !Aa(x) && x !== n.fields[C].default && (d[h] = x);
|
|
2641
2644
|
} catch {
|
|
2642
2645
|
}
|
|
2643
2646
|
return d;
|
|
2644
|
-
}, s = (d,
|
|
2647
|
+
}, s = (d, h, C) => {
|
|
2645
2648
|
const x = new URLSearchParams();
|
|
2646
2649
|
for (const I in d) {
|
|
2647
2650
|
const b = d[I];
|
|
2648
2651
|
T(b) || G(b) || ue(b) && Aa(b) || gn(b) && un(b) || Fe(b) && b.length === 0 || (ue(b) ? x.set(I, b.join(",")) : x.set(I, String(b)));
|
|
2649
2652
|
}
|
|
2650
|
-
return C &&
|
|
2653
|
+
return C && h.value.sortBy && x.set(ma, `${h.value.sortBy.key},${h.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
|
|
2651
2654
|
}, i = (d) => {
|
|
2652
2655
|
if (!d) return null;
|
|
2653
2656
|
if (d.startsWith("#") && (d = d.substring(1)), d.endsWith(r))
|
|
@@ -2659,14 +2662,14 @@ function tr(e, n, t = {}) {
|
|
|
2659
2662
|
else
|
|
2660
2663
|
return null;
|
|
2661
2664
|
}
|
|
2662
|
-
const
|
|
2665
|
+
const h = new URLSearchParams(d), C = {};
|
|
2663
2666
|
let x = null;
|
|
2664
|
-
const I =
|
|
2667
|
+
const I = h.get(ma);
|
|
2665
2668
|
if (I) {
|
|
2666
2669
|
const [b, _] = I.split(",");
|
|
2667
|
-
b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }),
|
|
2670
|
+
b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }), h.delete(ma);
|
|
2668
2671
|
}
|
|
2669
|
-
for (const [b, _] of
|
|
2672
|
+
for (const [b, _] of h.entries()) {
|
|
2670
2673
|
const B = n.fields[b];
|
|
2671
2674
|
if (T(B)) {
|
|
2672
2675
|
console.error(`Filter config not found for ${b}`);
|
|
@@ -2691,10 +2694,10 @@ function tr(e, n, t = {}) {
|
|
|
2691
2694
|
return !d || !Fe(d) ? null : i(d);
|
|
2692
2695
|
};
|
|
2693
2696
|
return {
|
|
2694
|
-
loadStoredFilters: (d,
|
|
2697
|
+
loadStoredFilters: (d, h) => {
|
|
2695
2698
|
let C = "hash", x = c();
|
|
2696
2699
|
if (G(x) && (C = "localStorage", x = p()), G(x) || un(x.filters) && un(x.sortBy))
|
|
2697
|
-
return
|
|
2700
|
+
return h && h(), !1;
|
|
2698
2701
|
for (const I in e) {
|
|
2699
2702
|
const b = I;
|
|
2700
2703
|
let _ = x.filters[b];
|
|
@@ -2715,14 +2718,14 @@ function tr(e, n, t = {}) {
|
|
|
2715
2718
|
const I = localStorage.getItem(o);
|
|
2716
2719
|
I && u(I);
|
|
2717
2720
|
}
|
|
2718
|
-
return d.value = { ...d.value, sortBy: x.sortBy },
|
|
2721
|
+
return d.value = { ...d.value, sortBy: x.sortBy }, h && h(), !0;
|
|
2719
2722
|
},
|
|
2720
|
-
resetFilter: (d,
|
|
2721
|
-
d.value = { ...d.value, page: 1 }, o && localStorage && localStorage.removeItem(o), m(), n.touched = !1,
|
|
2723
|
+
resetFilter: (d, h) => {
|
|
2724
|
+
d.value = { ...d.value, page: 1 }, o && localStorage && localStorage.removeItem(o), m(), n.touched = !1, h && h();
|
|
2722
2725
|
},
|
|
2723
|
-
submitFilter: (d,
|
|
2726
|
+
submitFilter: (d, h) => {
|
|
2724
2727
|
const C = l(), x = s(C, d, !0);
|
|
2725
|
-
u(x), g(x), d.value = { ...d.value, page: 1 }, n.touched = !1,
|
|
2728
|
+
u(x), g(x), d.value = { ...d.value, page: 1 }, n.touched = !1, h && h();
|
|
2726
2729
|
},
|
|
2727
2730
|
serializeFilters: s,
|
|
2728
2731
|
deserializeFilters: i
|
|
@@ -2734,7 +2737,7 @@ const xt = {
|
|
|
2734
2737
|
Last3Months: "l3m",
|
|
2735
2738
|
Custom: "custom"
|
|
2736
2739
|
};
|
|
2737
|
-
function
|
|
2740
|
+
function yd(e = void 0) {
|
|
2738
2741
|
const { t: n } = Ne(), t = V(() => {
|
|
2739
2742
|
const r = [
|
|
2740
2743
|
{
|
|
@@ -2781,7 +2784,7 @@ function bd(e = void 0) {
|
|
|
2781
2784
|
getTimeIntervalOption: (r) => t.value.find((o) => o.value === r)
|
|
2782
2785
|
};
|
|
2783
2786
|
}
|
|
2784
|
-
function
|
|
2787
|
+
function Sd(e) {
|
|
2785
2788
|
const { datesCompare: n, required: t } = Xa(), a = V(() => e.value.from), r = V(() => e.value.until), o = {
|
|
2786
2789
|
dialogData: {
|
|
2787
2790
|
from: {
|
|
@@ -2798,7 +2801,7 @@ function yd(e) {
|
|
|
2798
2801
|
v$: Hn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
|
|
2799
2802
|
};
|
|
2800
2803
|
}
|
|
2801
|
-
function
|
|
2804
|
+
function gs() {
|
|
2802
2805
|
const e = P([]), n = (c) => {
|
|
2803
2806
|
i("limit", c);
|
|
2804
2807
|
}, t = (c, g) => {
|
|
@@ -2807,14 +2810,14 @@ function vs() {
|
|
|
2807
2810
|
!G(c) && c.length > 0 && i("order[" + c + "]", g ? mt.Desc : mt.Asc);
|
|
2808
2811
|
}, r = (c) => st(c) ? c ? "1" : "0" : c, o = (c, g, p) => {
|
|
2809
2812
|
Fe(p) && p.length === 0 || e.value.push("filter_" + c + "[" + g + "]=" + r(p));
|
|
2810
|
-
}, l = (c, g, p, E,
|
|
2811
|
-
let d = p[c],
|
|
2812
|
-
if (G(d) &&
|
|
2813
|
+
}, l = (c, g, p, E, v, f) => {
|
|
2814
|
+
let d = p[c], h = p[g];
|
|
2815
|
+
if (G(d) && v && !f && (d = E.fields[c].default), G(h) && v && !f && (h = E.fields[c].default), Fe(d) && Fe(h))
|
|
2813
2816
|
return {
|
|
2814
2817
|
from: d,
|
|
2815
|
-
until:
|
|
2818
|
+
until: h
|
|
2816
2819
|
};
|
|
2817
|
-
const C = Ia(), x =
|
|
2820
|
+
const C = Ia(), x = Ci(C);
|
|
2818
2821
|
switch (d) {
|
|
2819
2822
|
case xt.CurrentMonth:
|
|
2820
2823
|
return fa(x, "utc", 0, !1);
|
|
@@ -2825,7 +2828,7 @@ function vs() {
|
|
|
2825
2828
|
default:
|
|
2826
2829
|
if (Ht(d))
|
|
2827
2830
|
return {
|
|
2828
|
-
from: Ma(
|
|
2831
|
+
from: Ma(Di(d * -1, x)),
|
|
2829
2832
|
until: C
|
|
2830
2833
|
};
|
|
2831
2834
|
}
|
|
@@ -2842,7 +2845,7 @@ function vs() {
|
|
|
2842
2845
|
querySetFilters: (c, g) => {
|
|
2843
2846
|
const p = g.general.simpleFilters;
|
|
2844
2847
|
for (const E in c) {
|
|
2845
|
-
const
|
|
2848
|
+
const v = c[E], f = g.fields[E];
|
|
2846
2849
|
if (T(f) || f.exclude)
|
|
2847
2850
|
continue;
|
|
2848
2851
|
const d = f.apiName || E;
|
|
@@ -2865,13 +2868,13 @@ function vs() {
|
|
|
2865
2868
|
C.from && o("gte", d, C.from), C.until && o("lte", I, C.until);
|
|
2866
2869
|
continue;
|
|
2867
2870
|
}
|
|
2868
|
-
const
|
|
2869
|
-
if (!G(
|
|
2871
|
+
const h = s(v, f);
|
|
2872
|
+
if (!G(h)) {
|
|
2870
2873
|
if (p) {
|
|
2871
|
-
i(d,
|
|
2874
|
+
i(d, h);
|
|
2872
2875
|
continue;
|
|
2873
2876
|
}
|
|
2874
|
-
o(f.variant, d,
|
|
2877
|
+
o(f.variant, d, h);
|
|
2875
2878
|
}
|
|
2876
2879
|
}
|
|
2877
2880
|
},
|
|
@@ -2880,18 +2883,18 @@ function vs() {
|
|
|
2880
2883
|
q: e
|
|
2881
2884
|
};
|
|
2882
2885
|
}
|
|
2883
|
-
const
|
|
2884
|
-
const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: l, querySetFilters: s } =
|
|
2886
|
+
const bs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), ys = (e) => gn(e) && Object.hasOwn(e, "hasNextPage"), Ss = (e, n, t) => {
|
|
2887
|
+
const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: l, querySetFilters: s } = gs();
|
|
2885
2888
|
return a(e.value.rowsPerPage), r(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === mt.Desc), s(n, t), l();
|
|
2886
|
-
},
|
|
2889
|
+
}, ws = (e, n, t, a = void 0, r = void 0, o = {}) => {
|
|
2887
2890
|
let l = null;
|
|
2888
2891
|
return {
|
|
2889
2892
|
executeFetch: async (u, m, c, g = void 0, p = void 0, E = !1) => {
|
|
2890
2893
|
l = new AbortController();
|
|
2891
2894
|
try {
|
|
2892
|
-
const
|
|
2895
|
+
const v = c.general.elastic || E ? "/search" : "", f = he(p) ? p : r, d = he(g) ? g : a;
|
|
2893
2896
|
if (T(d)) throw new Error("Url template is undefined");
|
|
2894
|
-
const
|
|
2897
|
+
const h = (T(f) ? d : Cn(d, f)) + v + Ss(u, m, c), C = await e().get(h, {
|
|
2895
2898
|
...o,
|
|
2896
2899
|
signal: l.signal
|
|
2897
2900
|
});
|
|
@@ -2899,11 +2902,11 @@ const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) &&
|
|
|
2899
2902
|
throw new Xt(C.status);
|
|
2900
2903
|
if (C.data) {
|
|
2901
2904
|
const x = C.data;
|
|
2902
|
-
return
|
|
2905
|
+
return ys(x) ? u.value = {
|
|
2903
2906
|
...u.value,
|
|
2904
2907
|
hasNextPage: x.hasNextPage,
|
|
2905
2908
|
currentViewCount: C.data.data.length
|
|
2906
|
-
} :
|
|
2909
|
+
} : bs(x) && (u.value = {
|
|
2907
2910
|
...u.value,
|
|
2908
2911
|
totalCount: x.totalCount,
|
|
2909
2912
|
currentViewCount: C.data.data.length
|
|
@@ -2912,10 +2915,10 @@ const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) &&
|
|
|
2912
2915
|
if (C.status === Wt)
|
|
2913
2916
|
return [];
|
|
2914
2917
|
throw new ot();
|
|
2915
|
-
} catch (
|
|
2916
|
-
if (
|
|
2918
|
+
} catch (v) {
|
|
2919
|
+
if (v instanceof DOMException && v.name === "AbortError")
|
|
2917
2920
|
return [];
|
|
2918
|
-
throw ja(
|
|
2921
|
+
throw ja(v) ? v : bn(v) ? new Kt(v, v.config?.url) : yn(v) ? new Gt(v, n, t, v) : wn(v) ? new Jt(v, n, t, v) : Sn(v) ? new Zt(v, v) : Xo(v) ? new za(v) : $t.isAxiosError(v) ? (console.error("Axios error: " + g, v.cause), new Wa(v)) : (console.error("AnzuFatalError: ", v), new ot(v));
|
|
2919
2922
|
} finally {
|
|
2920
2923
|
l = null;
|
|
2921
2924
|
}
|
|
@@ -2924,11 +2927,11 @@ const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) &&
|
|
|
2924
2927
|
l && l.abort();
|
|
2925
2928
|
}
|
|
2926
2929
|
};
|
|
2927
|
-
},
|
|
2930
|
+
}, Cs = () => ({
|
|
2928
2931
|
rowsPerPage: 25
|
|
2929
2932
|
});
|
|
2930
|
-
function
|
|
2931
|
-
const r = { ...
|
|
2933
|
+
function hn(e, n = mt.Desc, t = {}, a) {
|
|
2934
|
+
const r = { ...Cs(), ...t }, o = a ?? P({
|
|
2932
2935
|
sortBy: G(e) ? null : { key: e, order: n },
|
|
2933
2936
|
page: 1,
|
|
2934
2937
|
rowsPerPage: r.rowsPerPage,
|
|
@@ -2958,9 +2961,9 @@ function vn(e, n = mt.Desc, t = {}, a) {
|
|
|
2958
2961
|
incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
|
|
2959
2962
|
};
|
|
2960
2963
|
}
|
|
2961
|
-
const
|
|
2964
|
+
const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
2962
2965
|
e().post(Cn(t, a), JSON.stringify(n), l).then((u) => Dn(u.status) ? u.data ? s(u.data) : u.status === Wt ? s(null) : i(new ot()) : i(new Xt(u.status))).catch((u) => bn(u) ? i(new Kt(u, u.config?.url)) : yn(u) ? i(new Gt(u, r, o, u)) : wn(u) ? i(new Jt(u, r, o, u)) : Sn(u) ? i(new Zt(u, u)) : i(new ot(u)));
|
|
2963
|
-
}), ct = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), rt = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), Za = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), Ja = /* @__PURE__ */ Symbol.for("anzu:FilterInnerConfigKey"), kt = /* @__PURE__ */ Symbol.for("anzu:FilterSubmitResetCounterKey"),
|
|
2966
|
+
}), ct = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), rt = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), Za = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), Ja = /* @__PURE__ */ Symbol.for("anzu:FilterInnerConfigKey"), kt = /* @__PURE__ */ Symbol.for("anzu:FilterSubmitResetCounterKey"), vt = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), nr = /* @__PURE__ */ Symbol.for("anzu:DatatablePaginationKey"), Ds = /* @__PURE__ */ we({
|
|
2964
2967
|
__name: "AFilterBooleanSelect",
|
|
2965
2968
|
props: {
|
|
2966
2969
|
name: {},
|
|
@@ -2971,7 +2974,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
2971
2974
|
},
|
|
2972
2975
|
emits: ["change"],
|
|
2973
2976
|
setup(e, { emit: n }) {
|
|
2974
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
2977
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
|
|
2975
2978
|
if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
2976
2979
|
T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
2977
2980
|
T(s[t.name]))
|
|
@@ -2985,7 +2988,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
2985
2988
|
},
|
|
2986
2989
|
set(f) {
|
|
2987
2990
|
let d = null;
|
|
2988
|
-
f?.value === 1 && (d = !0), f?.value === 0 && (d = !1), s[t.name] = d,
|
|
2991
|
+
f?.value === 1 && (d = !0), f?.value === 0 && (d = !1), s[t.name] = d, v(), l.touched = !0, a("change");
|
|
2989
2992
|
}
|
|
2990
2993
|
}), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), g = V(() => [
|
|
2991
2994
|
{ value: -1, title: m(t.allT) },
|
|
@@ -2993,7 +2996,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
2993
2996
|
{ value: 0, title: m(t.falseT) }
|
|
2994
2997
|
]), { clearOne: p } = Dt(), E = () => {
|
|
2995
2998
|
p(t.name, s, l), o.value.delete(t.name);
|
|
2996
|
-
},
|
|
2999
|
+
}, v = () => {
|
|
2997
3000
|
if (i.value.value === -1) {
|
|
2998
3001
|
o.value.delete(t.name);
|
|
2999
3002
|
return;
|
|
@@ -3002,7 +3005,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3002
3005
|
};
|
|
3003
3006
|
return (f, d) => (U(), Q(Lr, {
|
|
3004
3007
|
modelValue: i.value,
|
|
3005
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
3008
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
3006
3009
|
"data-cy": e.dataCy,
|
|
3007
3010
|
label: c.value,
|
|
3008
3011
|
items: g.value,
|
|
@@ -3013,7 +3016,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3013
3016
|
"onClick:clear": Ee(E, ["stop"])
|
|
3014
3017
|
}, null, 8, ["modelValue", "data-cy", "label", "items", "clearable"]));
|
|
3015
3018
|
}
|
|
3016
|
-
}),
|
|
3019
|
+
}), ks = /* @__PURE__ */ we({
|
|
3017
3020
|
__name: "AFilterString",
|
|
3018
3021
|
props: {
|
|
3019
3022
|
name: {},
|
|
@@ -3022,7 +3025,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3022
3025
|
},
|
|
3023
3026
|
emits: ["change"],
|
|
3024
3027
|
setup(e, { emit: n }) {
|
|
3025
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3028
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
|
|
3026
3029
|
if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3027
3030
|
T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3028
3031
|
T(s[t.name]))
|
|
@@ -3036,7 +3039,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3036
3039
|
}
|
|
3037
3040
|
}), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), g = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), E = () => {
|
|
3038
3041
|
p(t.name, s, l), o.value.delete(t.name);
|
|
3039
|
-
},
|
|
3042
|
+
}, v = () => {
|
|
3040
3043
|
if (Ht(i.value)) {
|
|
3041
3044
|
o.value.set(t.name, [{ title: i.value + "", value: i.value }]);
|
|
3042
3045
|
return;
|
|
@@ -3052,26 +3055,26 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3052
3055
|
return Te(
|
|
3053
3056
|
() => s[t.name],
|
|
3054
3057
|
(f, d) => {
|
|
3055
|
-
f === d || st(f) ||
|
|
3058
|
+
f === d || st(f) || v();
|
|
3056
3059
|
},
|
|
3057
3060
|
{ immediate: !0 }
|
|
3058
3061
|
), (f, d) => (U(), Q(ta, {
|
|
3059
3062
|
modelValue: i.value,
|
|
3060
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
3063
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
3061
3064
|
label: c.value,
|
|
3062
3065
|
placeholder: g.value,
|
|
3063
3066
|
clearable: !u.value.mandatory,
|
|
3064
3067
|
"data-cy": e.dataCy,
|
|
3065
3068
|
"hide-details": "",
|
|
3066
3069
|
autocomplete: "off",
|
|
3067
|
-
onBlur:
|
|
3070
|
+
onBlur: v,
|
|
3068
3071
|
"onClick:clear": Ee(E, ["stop"])
|
|
3069
3072
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
3070
3073
|
}
|
|
3071
|
-
}),
|
|
3074
|
+
}), Es = {
|
|
3072
3075
|
key: 0,
|
|
3073
3076
|
class: "font-italic pl-1"
|
|
3074
|
-
},
|
|
3077
|
+
}, Ts = 300, Cd = /* @__PURE__ */ we({
|
|
3075
3078
|
__name: "AFilterRemoteAutocomplete",
|
|
3076
3079
|
props: {
|
|
3077
3080
|
name: {},
|
|
@@ -3086,7 +3089,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3086
3089
|
},
|
|
3087
3090
|
emits: ["change"],
|
|
3088
3091
|
setup(e, { emit: n }) {
|
|
3089
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3092
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
|
|
3090
3093
|
if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
|
|
3091
3094
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3092
3095
|
const c = t.filterByField, g = t.filterSortBy;
|
|
@@ -3094,9 +3097,9 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3094
3097
|
throw new Error(
|
|
3095
3098
|
`[${m}] Incorrect filter inner config. FilterByField is '${c}' and available options are ${Object.keys(u).join(", ")}.`
|
|
3096
3099
|
);
|
|
3097
|
-
const p = V(() => l.fields[t.name]), E = P([]),
|
|
3100
|
+
const p = V(() => l.fields[t.name]), E = P([]), v = P(""), f = P(!1), d = P(null), h = P(0), { t: C } = Ne(), x = () => {
|
|
3098
3101
|
f.value = !1;
|
|
3099
|
-
}, I = V(() => p.value.titleT ? C(p.value.titleT) : void 0), { pagination: b } =
|
|
3102
|
+
}, I = V(() => p.value.titleT ? C(p.value.titleT) : void 0), { pagination: b } = hn(G(g) ? null : g.key, g?.order), _ = P([]), B = P([]), k = P(!0), $ = P(!1), R = V(() => {
|
|
3100
3103
|
const K = /* @__PURE__ */ new Map(), J = (le) => {
|
|
3101
3104
|
le.forEach((Ae) => {
|
|
3102
3105
|
K.set(Ae.value, {
|
|
@@ -3131,7 +3134,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3131
3134
|
O.value = !0, u[c] = K;
|
|
3132
3135
|
try {
|
|
3133
3136
|
const le = await t.fetchItems(b, u, i);
|
|
3134
|
-
J ===
|
|
3137
|
+
J === h.value && (_.value = le);
|
|
3135
3138
|
} catch (le) {
|
|
3136
3139
|
y(le);
|
|
3137
3140
|
} finally {
|
|
@@ -3142,7 +3145,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3142
3145
|
O.value = !0;
|
|
3143
3146
|
try {
|
|
3144
3147
|
const J = await t.fetchItems(b, u, i);
|
|
3145
|
-
|
|
3148
|
+
h.value === 0 && (_.value = J), $.value = !0;
|
|
3146
3149
|
} finally {
|
|
3147
3150
|
O.value = !1;
|
|
3148
3151
|
}
|
|
@@ -3155,7 +3158,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3155
3158
|
if (!p.value.multiple && B.value[0])
|
|
3156
3159
|
return B.value[0].title;
|
|
3157
3160
|
}), re = (K) => {
|
|
3158
|
-
!p.value.multiple && !f.value && K.length === 0 || X.value !== K && (
|
|
3161
|
+
!p.value.multiple && !f.value && K.length === 0 || X.value !== K && (v.value = K);
|
|
3159
3162
|
}, { clearOne: de } = Dt(), Ce = () => {
|
|
3160
3163
|
de(t.name, s, l), o.value.delete(t.name);
|
|
3161
3164
|
}, Se = async () => {
|
|
@@ -3167,24 +3170,24 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3167
3170
|
Ce();
|
|
3168
3171
|
};
|
|
3169
3172
|
Na(
|
|
3170
|
-
|
|
3173
|
+
v,
|
|
3171
3174
|
(K, J) => {
|
|
3172
3175
|
if (K !== J && !(K.length > 0 && K.length < t.minSearchChars)) {
|
|
3173
3176
|
if (K.length === 0 && t.prefetch === !1) {
|
|
3174
3177
|
_.value = [];
|
|
3175
3178
|
return;
|
|
3176
3179
|
}
|
|
3177
|
-
|
|
3180
|
+
h.value++, S(K, h.value);
|
|
3178
3181
|
}
|
|
3179
3182
|
},
|
|
3180
|
-
{ debounce:
|
|
3183
|
+
{ debounce: Ts }
|
|
3181
3184
|
);
|
|
3182
3185
|
const z = async () => {
|
|
3183
3186
|
await D("mounted");
|
|
3184
3187
|
}, te = V(() => T(t.placeholder) ? p.value.variant === "startsWith" ? C("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? C("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? C("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = V(() => {
|
|
3185
3188
|
if (O.value)
|
|
3186
3189
|
return "$vuetify.loading";
|
|
3187
|
-
if (_.value.length === 0 &&
|
|
3190
|
+
if (_.value.length === 0 && v.value.length < t.minSearchChars)
|
|
3188
3191
|
return T(t.minSearchText) ? C("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
|
|
3189
3192
|
}), W = (K) => {
|
|
3190
3193
|
l.touched = !0;
|
|
@@ -3210,7 +3213,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3210
3213
|
if (K === J || st(K)) return;
|
|
3211
3214
|
const le = K;
|
|
3212
3215
|
if (k.value && (k.value = !1, await z()), Vo(le)) {
|
|
3213
|
-
M(le), T(J) || (
|
|
3216
|
+
M(le), T(J) || (h.value++, await S("", h.value));
|
|
3214
3217
|
return;
|
|
3215
3218
|
}
|
|
3216
3219
|
await w(le);
|
|
@@ -3255,7 +3258,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3255
3258
|
}, {
|
|
3256
3259
|
default: L(() => [
|
|
3257
3260
|
Oe(ye(Ae.raw.title) + " ", 1),
|
|
3258
|
-
Ae.raw.subtitle ? (U(),
|
|
3261
|
+
Ae.raw.subtitle ? (U(), ve("span", Es, " (" + ye(Ae.raw.subtitle) + ") ", 1)) : be("", !0)
|
|
3259
3262
|
]),
|
|
3260
3263
|
_: 2
|
|
3261
3264
|
}, 1032, ["closable", "text", "disabled"])
|
|
@@ -3274,10 +3277,10 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3274
3277
|
]), 1032, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading", "no-data-text"]));
|
|
3275
3278
|
}
|
|
3276
3279
|
});
|
|
3277
|
-
function
|
|
3280
|
+
function As(e, n) {
|
|
3278
3281
|
return n.includes(e);
|
|
3279
3282
|
}
|
|
3280
|
-
const
|
|
3283
|
+
const Dd = /* @__PURE__ */ we({
|
|
3281
3284
|
__name: "AFilterRemoteAutocompleteWithMinimal",
|
|
3282
3285
|
props: {
|
|
3283
3286
|
name: {},
|
|
@@ -3293,7 +3296,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3293
3296
|
},
|
|
3294
3297
|
emits: ["change"],
|
|
3295
3298
|
setup(e, { emit: n }) {
|
|
3296
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3299
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
|
|
3297
3300
|
if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
|
|
3298
3301
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3299
3302
|
if (
|
|
@@ -3312,9 +3315,9 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3312
3315
|
throw new Error(
|
|
3313
3316
|
`[${m}] Incorrect filter inner config. FilterByField is '${t.filterByField}' and available options are ${Object.keys(u).join(", ")}.`
|
|
3314
3317
|
);
|
|
3315
|
-
const c = P([]), g = P(""), p = P(!1), E = P(void 0),
|
|
3318
|
+
const c = P([]), g = P(""), p = P(!1), E = P(void 0), v = P(0), { t: f } = Ne(), d = V(() => l.fields[t.name]), h = () => {
|
|
3316
3319
|
p.value = !1;
|
|
3317
|
-
}, C = V(() => d.value.titleT ? f(d.value.titleT) : void 0), { pagination: x } =
|
|
3320
|
+
}, C = V(() => d.value.titleT ? f(d.value.titleT) : void 0), { pagination: x } = hn(
|
|
3318
3321
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3319
3322
|
G(t.filterSortBy) ? null : t.filterSortBy.key,
|
|
3320
3323
|
t.filterSortBy?.order
|
|
@@ -3329,7 +3332,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3329
3332
|
B.value = !0, u[t.filterByField] = z;
|
|
3330
3333
|
try {
|
|
3331
3334
|
const q = await t.fetchItemsMinimal(x, u, i);
|
|
3332
|
-
te ===
|
|
3335
|
+
te === v.value && (I.value = q);
|
|
3333
3336
|
} catch (q) {
|
|
3334
3337
|
k(q);
|
|
3335
3338
|
} finally {
|
|
@@ -3348,7 +3351,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3348
3351
|
M.value = !0, B.value = !0;
|
|
3349
3352
|
try {
|
|
3350
3353
|
const z = await t.fetchItemsMinimal(x, u, i);
|
|
3351
|
-
|
|
3354
|
+
v.value === 0 && (I.value = z);
|
|
3352
3355
|
} catch (z) {
|
|
3353
3356
|
k(z);
|
|
3354
3357
|
} finally {
|
|
@@ -3396,7 +3399,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3396
3399
|
async (z, te) => {
|
|
3397
3400
|
if (z === te || st(z)) return;
|
|
3398
3401
|
if (G(z) || T(z) || ue(z) && z.length === 0) {
|
|
3399
|
-
if (b.value = [], d.value.multiple ? c.value = [] : c.value = null, Se(c.value), M.value === !0 ||
|
|
3402
|
+
if (b.value = [], d.value.multiple ? c.value = [] : c.value = null, Se(c.value), M.value === !0 || As(t.prefetch, ["hover", "focus", !1])) return;
|
|
3400
3403
|
E.value = setTimeout(() => {
|
|
3401
3404
|
w();
|
|
3402
3405
|
}, 3e3);
|
|
@@ -3430,7 +3433,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3430
3433
|
), Na(
|
|
3431
3434
|
g,
|
|
3432
3435
|
(z, te) => {
|
|
3433
|
-
z.length < t.searchMinChars || z !== te && (
|
|
3436
|
+
z.length < t.searchMinChars || z !== te && (v.value++, $(z, v.value));
|
|
3434
3437
|
},
|
|
3435
3438
|
{ debounce: 300 }
|
|
3436
3439
|
), (z, te) => (U(), Q(Qn, {
|
|
@@ -3451,7 +3454,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3451
3454
|
"return-object": "",
|
|
3452
3455
|
autocomplete: "off",
|
|
3453
3456
|
"onUpdate:search": F,
|
|
3454
|
-
onBlur:
|
|
3457
|
+
onBlur: h,
|
|
3455
3458
|
onFocus: y,
|
|
3456
3459
|
onMouseenter: S,
|
|
3457
3460
|
"onClick:clear": X
|
|
@@ -3480,7 +3483,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3480
3483
|
_: 3
|
|
3481
3484
|
}, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
3482
3485
|
}
|
|
3483
|
-
}),
|
|
3486
|
+
}), kd = /* @__PURE__ */ we({
|
|
3484
3487
|
__name: "AFilterValueObjectOptionsSelect",
|
|
3485
3488
|
props: {
|
|
3486
3489
|
name: {},
|
|
@@ -3488,7 +3491,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3488
3491
|
},
|
|
3489
3492
|
emits: ["change"],
|
|
3490
3493
|
setup(e, { emit: n }) {
|
|
3491
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3494
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = Jn()?.type.__name;
|
|
3492
3495
|
if (T(r) || T(o) || T(s) || T(l))
|
|
3493
3496
|
throw new Error(`[${i}] Incorrect provide/inject config.`);
|
|
3494
3497
|
if (
|
|
@@ -3504,34 +3507,34 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3504
3507
|
return s[t.name];
|
|
3505
3508
|
},
|
|
3506
3509
|
set(f) {
|
|
3507
|
-
s[t.name] = f,
|
|
3510
|
+
s[t.name] = f, v(f), l.touched = !0, a("change");
|
|
3508
3511
|
}
|
|
3509
3512
|
}), m = V(() => l.fields[t.name]), { t: c } = Ne(), g = V(() => m.value.titleT ? c(m.value.titleT) : void 0), { clearOne: p } = Dt(), E = () => {
|
|
3510
3513
|
p(t.name, s, l), o.value.delete(t.name);
|
|
3511
|
-
},
|
|
3514
|
+
}, v = (f) => {
|
|
3512
3515
|
if (ue(f) && f.length === 0) return;
|
|
3513
3516
|
if (ue(f)) {
|
|
3514
3517
|
o.value.set(
|
|
3515
3518
|
t.name,
|
|
3516
|
-
f.map((
|
|
3517
|
-
const C = t.items.find((x) => x.value ===
|
|
3518
|
-
return C ? { title: C.title, value: C.value } : { title:
|
|
3519
|
+
f.map((h) => {
|
|
3520
|
+
const C = t.items.find((x) => x.value === h);
|
|
3521
|
+
return C ? { title: C.title, value: C.value } : { title: h, value: h };
|
|
3519
3522
|
})
|
|
3520
3523
|
);
|
|
3521
3524
|
return;
|
|
3522
3525
|
}
|
|
3523
|
-
const d = t.items.find((
|
|
3526
|
+
const d = t.items.find((h) => h.value === f);
|
|
3524
3527
|
d && o.value.set(t.name, [{ title: d.title, value: d.value }]);
|
|
3525
3528
|
};
|
|
3526
3529
|
return Te(
|
|
3527
3530
|
() => s[t.name],
|
|
3528
3531
|
(f, d) => {
|
|
3529
|
-
f === d || st(f) ||
|
|
3532
|
+
f === d || st(f) || v(f);
|
|
3530
3533
|
},
|
|
3531
3534
|
{ immediate: !0 }
|
|
3532
3535
|
), (f, d) => (U(), Q(Qn, {
|
|
3533
3536
|
modelValue: u.value,
|
|
3534
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
3537
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => u.value = h),
|
|
3535
3538
|
items: e.items,
|
|
3536
3539
|
chips: m.value.multiple,
|
|
3537
3540
|
label: g.value,
|
|
@@ -3543,16 +3546,16 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3543
3546
|
"onClick:clear": Ee(E, ["stop"])
|
|
3544
3547
|
}, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
|
|
3545
3548
|
}
|
|
3546
|
-
}),
|
|
3549
|
+
}), xs = (e, n = "item") => n + "." + e, Co = /* @__PURE__ */ we({
|
|
3547
3550
|
__name: "AFilterEmpty",
|
|
3548
3551
|
props: {
|
|
3549
3552
|
name: {}
|
|
3550
3553
|
},
|
|
3551
3554
|
setup(e) {
|
|
3552
3555
|
const n = e;
|
|
3553
|
-
return (t, a) => (U(),
|
|
3556
|
+
return (t, a) => (U(), ve("div", null, ye(n.name), 1));
|
|
3554
3557
|
}
|
|
3555
|
-
}),
|
|
3558
|
+
}), Is = /* @__PURE__ */ we({
|
|
3556
3559
|
__name: "AFilterDatetimePicker",
|
|
3557
3560
|
props: {
|
|
3558
3561
|
name: {},
|
|
@@ -3560,7 +3563,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3560
3563
|
},
|
|
3561
3564
|
emits: ["change"],
|
|
3562
3565
|
setup(e, { emit: n }) {
|
|
3563
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3566
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
|
|
3564
3567
|
if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3565
3568
|
T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3566
3569
|
T(s[t.name]))
|
|
@@ -3569,24 +3572,24 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3569
3572
|
get() {
|
|
3570
3573
|
return s[t.name];
|
|
3571
3574
|
},
|
|
3572
|
-
set(
|
|
3573
|
-
s[t.name] =
|
|
3575
|
+
set(v) {
|
|
3576
|
+
s[t.name] = v, E(), l.touched = !0, a("change");
|
|
3574
3577
|
}
|
|
3575
3578
|
}), { t: u } = Ne(), m = V(() => l.fields[t.name]), c = V(() => m.value.titleT ? u(m.value.titleT) : void 0), { clearOne: g } = Dt(), p = () => {
|
|
3576
3579
|
g(t.name, s, l), o.value.delete(t.name);
|
|
3577
3580
|
}, E = () => {
|
|
3578
|
-
!Fe(i.value) || Fe(i.value) && i.value.length === 0 || o.value.set(t.name, [{ title:
|
|
3581
|
+
!Fe(i.value) || Fe(i.value) && i.value.length === 0 || o.value.set(t.name, [{ title: ki(i.value), value: i.value }]);
|
|
3579
3582
|
};
|
|
3580
|
-
return (
|
|
3583
|
+
return (v, f) => (U(), Q(er, it({
|
|
3581
3584
|
modelValue: i.value,
|
|
3582
3585
|
"onUpdate:modelValue": f[0] || (f[0] = (d) => i.value = d),
|
|
3583
3586
|
"data-cy": e.dataCy,
|
|
3584
3587
|
clearable: !m.value.mandatory,
|
|
3585
3588
|
"default-value": m.value.default,
|
|
3586
3589
|
label: c.value
|
|
3587
|
-
},
|
|
3590
|
+
}, v.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
|
|
3588
3591
|
}
|
|
3589
|
-
}),
|
|
3592
|
+
}), Ms = /* @__PURE__ */ we({
|
|
3590
3593
|
__name: "AFilterInteger",
|
|
3591
3594
|
props: {
|
|
3592
3595
|
name: {},
|
|
@@ -3595,7 +3598,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3595
3598
|
},
|
|
3596
3599
|
emits: ["change"],
|
|
3597
3600
|
setup(e, { emit: n }) {
|
|
3598
|
-
const t = e, a = n, r = ee(kt), o = ee(
|
|
3601
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
|
|
3599
3602
|
if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3600
3603
|
T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
3601
3604
|
T(s[t.name]))
|
|
@@ -3609,7 +3612,7 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3609
3612
|
}
|
|
3610
3613
|
}), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), g = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), E = () => {
|
|
3611
3614
|
p(t.name, s, l), o.value.delete(t.name);
|
|
3612
|
-
},
|
|
3615
|
+
}, v = () => {
|
|
3613
3616
|
if (Ht(i.value)) {
|
|
3614
3617
|
o.value.set(t.name, [{ title: i.value + "", value: i.value }]);
|
|
3615
3618
|
return;
|
|
@@ -3625,23 +3628,23 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3625
3628
|
return Te(
|
|
3626
3629
|
() => s[t.name],
|
|
3627
3630
|
(f, d) => {
|
|
3628
|
-
f === d || st(f) ||
|
|
3631
|
+
f === d || st(f) || v();
|
|
3629
3632
|
},
|
|
3630
3633
|
{ immediate: !0 }
|
|
3631
3634
|
), (f, d) => (U(), Q(ta, {
|
|
3632
3635
|
modelValue: i.value,
|
|
3633
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
3636
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
3634
3637
|
label: c.value,
|
|
3635
3638
|
placeholder: g.value,
|
|
3636
3639
|
clearable: !u.value.mandatory,
|
|
3637
3640
|
"data-cy": e.dataCy,
|
|
3638
3641
|
"hide-details": "",
|
|
3639
3642
|
autocomplete: "off",
|
|
3640
|
-
onBlur:
|
|
3643
|
+
onBlur: v,
|
|
3641
3644
|
"onClick:clear": Ee(E, ["stop"])
|
|
3642
3645
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
3643
3646
|
}
|
|
3644
|
-
}),
|
|
3647
|
+
}), _s = /* @__PURE__ */ we({
|
|
3645
3648
|
__name: "FilterDetailItem",
|
|
3646
3649
|
props: {
|
|
3647
3650
|
name: {}
|
|
@@ -3655,13 +3658,13 @@ const Cd = /* @__PURE__ */ we({
|
|
|
3655
3658
|
if (a.value.render.skip) return Co;
|
|
3656
3659
|
switch (a.value.type) {
|
|
3657
3660
|
case "string":
|
|
3658
|
-
return
|
|
3661
|
+
return ks;
|
|
3659
3662
|
case "datetime":
|
|
3660
|
-
return
|
|
3663
|
+
return Is;
|
|
3661
3664
|
case "boolean":
|
|
3662
|
-
return
|
|
3665
|
+
return Ds;
|
|
3663
3666
|
case "integer":
|
|
3664
|
-
return
|
|
3667
|
+
return Ms;
|
|
3665
3668
|
default:
|
|
3666
3669
|
return Co;
|
|
3667
3670
|
}
|
|
@@ -3677,7 +3680,7 @@ function Do(e, n = "userAdminConfig") {
|
|
|
3677
3680
|
{ name: "systemResource", default: null },
|
|
3678
3681
|
{ name: "customName", default: null },
|
|
3679
3682
|
{ name: "defaultConfig", default: null }
|
|
3680
|
-
], { filterConfig: a, filterData: r } =
|
|
3683
|
+
], { filterConfig: a, filterData: r } = vs(t, ps(t), {
|
|
3681
3684
|
system: e,
|
|
3682
3685
|
subject: n
|
|
3683
3686
|
});
|
|
@@ -3689,10 +3692,10 @@ function Do(e, n = "userAdminConfig") {
|
|
|
3689
3692
|
const jn = {
|
|
3690
3693
|
PinnedWidgets: "pinnedWidgets",
|
|
3691
3694
|
FilterBookmark: "filterBookmark"
|
|
3692
|
-
},
|
|
3695
|
+
}, $s = jn.PinnedWidgets, It = {
|
|
3693
3696
|
Desktop: "desktop",
|
|
3694
3697
|
Mobile: "mobile"
|
|
3695
|
-
},
|
|
3698
|
+
}, Fs = It.Desktop, Os = 3, _a = 8, ar = Jr("filterBookmarkStore", () => {
|
|
3696
3699
|
const e = P(/* @__PURE__ */ new Map()), n = P(!1);
|
|
3697
3700
|
function t(s, i) {
|
|
3698
3701
|
return `userAdminConfig/${i}/${s}/`;
|
|
@@ -3707,33 +3710,33 @@ const jn = {
|
|
|
3707
3710
|
n.value = !1;
|
|
3708
3711
|
const m = t(s.layoutType, s.systemResource), c = Date.now();
|
|
3709
3712
|
if (!u) {
|
|
3710
|
-
const
|
|
3711
|
-
if (
|
|
3712
|
-
return
|
|
3713
|
+
const h = e.value.get(m);
|
|
3714
|
+
if (h)
|
|
3715
|
+
return h.lastUsed = c, h.items;
|
|
3713
3716
|
}
|
|
3714
|
-
const { pagination: g } =
|
|
3717
|
+
const { pagination: g } = hn("position", mt.Asc, {
|
|
3715
3718
|
rowsPerPage: _a
|
|
3716
|
-
}), { start: p, end: E } =
|
|
3719
|
+
}), { start: p, end: E } = vn(s.systemResource, "_"), { filterConfig: v, filterData: f } = Do(p, E);
|
|
3717
3720
|
f.configType = jn.FilterBookmark, f.layoutType = s.layoutType, f.systemResource = s.systemResource, f.user = s.user;
|
|
3718
3721
|
let d = [];
|
|
3719
3722
|
try {
|
|
3720
|
-
const { executeFetch:
|
|
3721
|
-
d = await
|
|
3723
|
+
const { executeFetch: h } = i();
|
|
3724
|
+
d = await h(g, f, v), e.value.set(m, { lastUsed: c, items: d });
|
|
3722
3725
|
} catch {
|
|
3723
3726
|
n.value = !0;
|
|
3724
3727
|
}
|
|
3725
|
-
return e.value.size >
|
|
3728
|
+
return e.value.size > Os && a(), d;
|
|
3726
3729
|
}
|
|
3727
3730
|
async function o(s, i) {
|
|
3728
3731
|
n.value = !1;
|
|
3729
|
-
const { pagination: u } =
|
|
3732
|
+
const { pagination: u } = hn("position", mt.Asc, {
|
|
3730
3733
|
rowsPerPage: _a + 1
|
|
3731
|
-
}), { start: m, end: c } =
|
|
3734
|
+
}), { start: m, end: c } = vn(s.systemResource, "_"), { filterConfig: g, filterData: p } = Do(m, c);
|
|
3732
3735
|
p.configType = jn.FilterBookmark, p.layoutType = s.layoutType, p.systemResource = s.systemResource, p.user = s.user;
|
|
3733
3736
|
let E = 1 / 0;
|
|
3734
3737
|
try {
|
|
3735
|
-
const { executeFetch:
|
|
3736
|
-
E = (await
|
|
3738
|
+
const { executeFetch: v } = i();
|
|
3739
|
+
E = (await v(u, p, g)).length;
|
|
3737
3740
|
} catch {
|
|
3738
3741
|
n.value = !0;
|
|
3739
3742
|
}
|
|
@@ -3756,9 +3759,9 @@ const jn = {
|
|
|
3756
3759
|
executeRequest: async (m = void 0, c = void 0, g = void 0) => {
|
|
3757
3760
|
s = new AbortController();
|
|
3758
3761
|
try {
|
|
3759
|
-
const p = { method: n }, E =
|
|
3760
|
-
if (T(
|
|
3761
|
-
p.url =
|
|
3762
|
+
const p = { method: n }, E = he(c) ? c : o, v = he(m) ? m : r;
|
|
3763
|
+
if (T(v)) throw new Error("Url template is undefined");
|
|
3764
|
+
p.url = v, v !== "" && !T(E) && (p.url = Cn(v, E)), G(g) || (p.data = JSON.stringify(g));
|
|
3762
3765
|
const f = await e().request({
|
|
3763
3766
|
...l,
|
|
3764
3767
|
...p,
|
|
@@ -3783,10 +3786,10 @@ const jn = {
|
|
|
3783
3786
|
s && s.abort();
|
|
3784
3787
|
}
|
|
3785
3788
|
};
|
|
3786
|
-
}, ko = "/adm/v1/user-admin-config",
|
|
3787
|
-
function or(e, n, t =
|
|
3789
|
+
}, ko = "/adm/v1/user-admin-config", Bs = "userAdminConfig";
|
|
3790
|
+
function or(e, n, t = Bs, a = ko) {
|
|
3788
3791
|
return {
|
|
3789
|
-
useFetchUserAdminConfigList: () =>
|
|
3792
|
+
useFetchUserAdminConfigList: () => ws(e, n, t, ko),
|
|
3790
3793
|
fetchUserAdminConfig: (m) => {
|
|
3791
3794
|
const { executeRequest: c } = en(e, "GET", n, t);
|
|
3792
3795
|
return c(a + "/:id", { id: m });
|
|
@@ -3809,7 +3812,7 @@ function or(e, n, t = Os, a = ko) {
|
|
|
3809
3812
|
}
|
|
3810
3813
|
};
|
|
3811
3814
|
}
|
|
3812
|
-
const
|
|
3815
|
+
const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
|
|
3813
3816
|
__name: "FilterBookmarks",
|
|
3814
3817
|
props: /* @__PURE__ */ wt({
|
|
3815
3818
|
client: {},
|
|
@@ -3825,22 +3828,22 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3825
3828
|
}),
|
|
3826
3829
|
emits: /* @__PURE__ */ wt(["submit"], ["update:datatableHiddenColumns"]),
|
|
3827
3830
|
setup(e, { emit: n }) {
|
|
3828
|
-
const t = e, a = n, r = Ut(e, "datatableHiddenColumns"), o = ee(rt), l = ee(ct), s = ee(nr), i = ee(
|
|
3831
|
+
const t = e, a = n, r = Ut(e, "datatableHiddenColumns"), o = ee(rt), l = ee(ct), s = ee(nr), i = ee(vt);
|
|
3829
3832
|
if (T(s) || T(o) || T(l) || T(i))
|
|
3830
3833
|
throw new Error("Incorrect provide/inject config.");
|
|
3831
|
-
const u = P(!1), m = Mt("toolbar"), c = P(300), g = P(1e3), p = ar(), { useFetchUserAdminConfigList: E } = or(t.client, t.system),
|
|
3834
|
+
const u = P(!1), m = Mt("toolbar"), c = P(300), g = P(1e3), p = ar(), { useFetchUserAdminConfigList: E } = or(t.client, t.system), v = t.system + "_" + t.subject, f = async (b = !1) => {
|
|
3832
3835
|
u.value = !0, await p.getBookmarks(
|
|
3833
3836
|
{
|
|
3834
3837
|
user: t.userId,
|
|
3835
3838
|
layoutType: It.Desktop,
|
|
3836
|
-
systemResource:
|
|
3839
|
+
systemResource: v
|
|
3837
3840
|
},
|
|
3838
3841
|
E,
|
|
3839
3842
|
b
|
|
3840
3843
|
), u.value = !1;
|
|
3841
|
-
}, { deserializeFilters: d } = tr(l, o),
|
|
3844
|
+
}, { deserializeFilters: d } = tr(l, o), h = (b) => {
|
|
3842
3845
|
const _ = b.data;
|
|
3843
|
-
|
|
3846
|
+
he(_.datatableHiddenColumns) && he(r.value) && (r.value = _.datatableHiddenColumns), he(_.sortBy) && (s.value = { ...s.value, sortBy: { key: _.sortBy.key, order: _.sortBy.order } });
|
|
3844
3847
|
const B = d(_.filter);
|
|
3845
3848
|
if (!G(B)) {
|
|
3846
3849
|
for (const k in l) {
|
|
@@ -3870,7 +3873,7 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3870
3873
|
let B = 0, k = 0;
|
|
3871
3874
|
for (let $ = 0; $ < _.children.length; $++) {
|
|
3872
3875
|
const O = _.children[$].offsetWidth;
|
|
3873
|
-
if (B += O, B >= b -
|
|
3876
|
+
if (B += O, B >= b - Ps)
|
|
3874
3877
|
break;
|
|
3875
3878
|
k++;
|
|
3876
3879
|
}
|
|
@@ -3886,7 +3889,7 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3886
3889
|
{ throttle: 1e3 }
|
|
3887
3890
|
);
|
|
3888
3891
|
const x = V(() => {
|
|
3889
|
-
const b = p.generateKey(It.Desktop,
|
|
3892
|
+
const b = p.generateKey(It.Desktop, v);
|
|
3890
3893
|
return p.bookmarks.get(b)?.items ?? [];
|
|
3891
3894
|
}), I = V(() => {
|
|
3892
3895
|
const b = g.value;
|
|
@@ -3901,13 +3904,13 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3901
3904
|
}));
|
|
3902
3905
|
}), Pa(() => {
|
|
3903
3906
|
f();
|
|
3904
|
-
}), (b, _) => (U(),
|
|
3907
|
+
}), (b, _) => (U(), ve("div", {
|
|
3905
3908
|
ref: "toolbar",
|
|
3906
3909
|
key: x.value.length,
|
|
3907
3910
|
class: "w-100 d-flex overflow-hidden align-center mb-1"
|
|
3908
3911
|
}, [
|
|
3909
|
-
u.value ? (U(),
|
|
3910
|
-
(U(!0),
|
|
3912
|
+
u.value ? (U(), ve("div", Rs)) : (U(), ve(at, { key: 1 }, [
|
|
3913
|
+
(U(!0), ve(at, null, Un(I.value.visible, (B) => (U(), ve("div", {
|
|
3911
3914
|
key: B.id,
|
|
3912
3915
|
class: "white-space-nowrap"
|
|
3913
3916
|
}, [
|
|
@@ -3916,7 +3919,7 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3916
3919
|
"prepend-icon": "mdi-bookmark-outline",
|
|
3917
3920
|
size: "small",
|
|
3918
3921
|
class: "mr-1 mb-1 bg-grey-lighten-4 text-grey-darken-3",
|
|
3919
|
-
onClick: (k) =>
|
|
3922
|
+
onClick: (k) => h(B)
|
|
3920
3923
|
}, {
|
|
3921
3924
|
default: L(() => [
|
|
3922
3925
|
Oe(ye(B.customName), 1)
|
|
@@ -3940,9 +3943,9 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
|
|
|
3940
3943
|
default: L(() => [
|
|
3941
3944
|
N(Ro, { density: "compact" }, {
|
|
3942
3945
|
default: L(() => [
|
|
3943
|
-
(U(!0),
|
|
3946
|
+
(U(!0), ve(at, null, Un(I.value.hidden, (B) => (U(), Q(Vt, {
|
|
3944
3947
|
key: B.id,
|
|
3945
|
-
onClick: (k) =>
|
|
3948
|
+
onClick: (k) => h(B)
|
|
3946
3949
|
}, {
|
|
3947
3950
|
default: L(() => [
|
|
3948
3951
|
N(Nr, null, {
|
|
@@ -3978,7 +3981,7 @@ function ut(e) {
|
|
|
3978
3981
|
for (var n = 1; n < arguments.length; n++) {
|
|
3979
3982
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
3980
3983
|
n % 2 ? Eo(Object(t), !0).forEach(function(a) {
|
|
3981
|
-
|
|
3984
|
+
Ls(e, a, t[a]);
|
|
3982
3985
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Eo(Object(t)).forEach(function(a) {
|
|
3983
3986
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
3984
3987
|
});
|
|
@@ -3993,7 +3996,7 @@ function Bn(e) {
|
|
|
3993
3996
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
3994
3997
|
}, Bn(e);
|
|
3995
3998
|
}
|
|
3996
|
-
function
|
|
3999
|
+
function Ls(e, n, t) {
|
|
3997
4000
|
return n in e ? Object.defineProperty(e, n, {
|
|
3998
4001
|
value: t,
|
|
3999
4002
|
enumerable: !0,
|
|
@@ -4011,16 +4014,16 @@ function pt() {
|
|
|
4011
4014
|
return e;
|
|
4012
4015
|
}, pt.apply(this, arguments);
|
|
4013
4016
|
}
|
|
4014
|
-
function
|
|
4017
|
+
function Ys(e, n) {
|
|
4015
4018
|
if (e == null) return {};
|
|
4016
4019
|
var t = {}, a = Object.keys(e), r, o;
|
|
4017
4020
|
for (o = 0; o < a.length; o++)
|
|
4018
4021
|
r = a[o], !(n.indexOf(r) >= 0) && (t[r] = e[r]);
|
|
4019
4022
|
return t;
|
|
4020
4023
|
}
|
|
4021
|
-
function
|
|
4024
|
+
function Us(e, n) {
|
|
4022
4025
|
if (e == null) return {};
|
|
4023
|
-
var t =
|
|
4026
|
+
var t = Ys(e, n), a, r;
|
|
4024
4027
|
if (Object.getOwnPropertySymbols) {
|
|
4025
4028
|
var o = Object.getOwnPropertySymbols(e);
|
|
4026
4029
|
for (r = 0; r < o.length; r++)
|
|
@@ -4028,20 +4031,20 @@ function Ys(e, n) {
|
|
|
4028
4031
|
}
|
|
4029
4032
|
return t;
|
|
4030
4033
|
}
|
|
4031
|
-
var
|
|
4034
|
+
var Vs = "1.15.6";
|
|
4032
4035
|
function ft(e) {
|
|
4033
4036
|
if (typeof window < "u" && window.navigator)
|
|
4034
4037
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
4035
4038
|
}
|
|
4036
|
-
var
|
|
4039
|
+
var ht = ft(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), kn = ft(/Edge/i), To = ft(/firefox/i), cn = ft(/safari/i) && !ft(/chrome/i) && !ft(/android/i), Qa = ft(/iP(ad|od|hone)/i), rr = ft(/chrome/i) && ft(/android/i), lr = {
|
|
4037
4040
|
capture: !1,
|
|
4038
4041
|
passive: !1
|
|
4039
4042
|
};
|
|
4040
4043
|
function fe(e, n, t) {
|
|
4041
|
-
e.addEventListener(n, t, !
|
|
4044
|
+
e.addEventListener(n, t, !ht && lr);
|
|
4042
4045
|
}
|
|
4043
4046
|
function ce(e, n, t) {
|
|
4044
|
-
e.removeEventListener(n, t, !
|
|
4047
|
+
e.removeEventListener(n, t, !ht && lr);
|
|
4045
4048
|
}
|
|
4046
4049
|
function zn(e, n) {
|
|
4047
4050
|
if (n) {
|
|
@@ -4120,7 +4123,7 @@ function lt() {
|
|
|
4120
4123
|
function Re(e, n, t, a, r) {
|
|
4121
4124
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
4122
4125
|
var o, l, s, i, u, m, c;
|
|
4123
|
-
if (e !== window && e.parentNode && e !== lt() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, u = o.right, m = o.height, c = o.width) : (l = 0, s = 0, i = window.innerHeight, u = window.innerWidth, m = window.innerHeight, c = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !
|
|
4126
|
+
if (e !== window && e.parentNode && e !== lt() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, u = o.right, m = o.height, c = o.width) : (l = 0, s = 0, i = window.innerHeight, u = window.innerWidth, m = window.innerHeight, c = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !ht))
|
|
4124
4127
|
do
|
|
4125
4128
|
if (r && r.getBoundingClientRect && (ne(r, "transform") !== "none" || t && ne(r, "position") !== "static")) {
|
|
4126
4129
|
var g = r.getBoundingClientRect();
|
|
@@ -4129,8 +4132,8 @@ function Re(e, n, t, a, r) {
|
|
|
4129
4132
|
}
|
|
4130
4133
|
while (r = r.parentNode);
|
|
4131
4134
|
if (a && e !== window) {
|
|
4132
|
-
var p = Yt(r || e), E = p && p.a,
|
|
4133
|
-
p && (l /=
|
|
4135
|
+
var p = Yt(r || e), E = p && p.a, v = p && p.d;
|
|
4136
|
+
p && (l /= v, s /= E, c /= E, m /= v, i = l + m, u = s + c);
|
|
4134
4137
|
}
|
|
4135
4138
|
return {
|
|
4136
4139
|
top: l,
|
|
@@ -4184,7 +4187,7 @@ function Io(e) {
|
|
|
4184
4187
|
} while (e !== a && (e = e.parentNode));
|
|
4185
4188
|
return [n, t];
|
|
4186
4189
|
}
|
|
4187
|
-
function
|
|
4190
|
+
function Hs(e, n) {
|
|
4188
4191
|
for (var t in e)
|
|
4189
4192
|
if (e.hasOwnProperty(t)) {
|
|
4190
4193
|
for (var a in n)
|
|
@@ -4207,7 +4210,7 @@ function yt(e, n) {
|
|
|
4207
4210
|
while (t = t.parentNode);
|
|
4208
4211
|
return lt();
|
|
4209
4212
|
}
|
|
4210
|
-
function
|
|
4213
|
+
function qs(e, n) {
|
|
4211
4214
|
if (e && n)
|
|
4212
4215
|
for (var t in n)
|
|
4213
4216
|
n.hasOwnProperty(t) && (e[t] = n[t]);
|
|
@@ -4227,7 +4230,7 @@ function ur(e, n) {
|
|
|
4227
4230
|
}
|
|
4228
4231
|
};
|
|
4229
4232
|
}
|
|
4230
|
-
function
|
|
4233
|
+
function js() {
|
|
4231
4234
|
clearTimeout(dn), dn = void 0;
|
|
4232
4235
|
}
|
|
4233
4236
|
function cr(e, n, t) {
|
|
@@ -4248,7 +4251,7 @@ function fr(e, n, t) {
|
|
|
4248
4251
|
}), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
4249
4252
|
}
|
|
4250
4253
|
var je = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
4251
|
-
function
|
|
4254
|
+
function zs() {
|
|
4252
4255
|
var e = [], n;
|
|
4253
4256
|
return {
|
|
4254
4257
|
captureAnimationState: function() {
|
|
@@ -4274,7 +4277,7 @@ function js() {
|
|
|
4274
4277
|
e.push(a);
|
|
4275
4278
|
},
|
|
4276
4279
|
removeAnimationState: function(a) {
|
|
4277
|
-
e.splice(
|
|
4280
|
+
e.splice(Hs(e, {
|
|
4278
4281
|
target: a
|
|
4279
4282
|
}), 1);
|
|
4280
4283
|
},
|
|
@@ -4286,9 +4289,9 @@ function js() {
|
|
|
4286
4289
|
}
|
|
4287
4290
|
var o = !1, l = 0;
|
|
4288
4291
|
e.forEach(function(s) {
|
|
4289
|
-
var i = 0, u = s.target, m = u.fromRect, c = Re(u), g = u.prevFromRect, p = u.prevToRect, E = s.rect,
|
|
4290
|
-
|
|
4291
|
-
(E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i =
|
|
4292
|
+
var i = 0, u = s.target, m = u.fromRect, c = Re(u), g = u.prevFromRect, p = u.prevToRect, E = s.rect, v = Yt(u, !0);
|
|
4293
|
+
v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && pa(g, c) && !pa(m, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
4294
|
+
(E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Ks(E, g, p, r.options)), pa(c, m) || (u.prevFromRect = m, u.prevToRect = c, i || (i = r.options.animation), r.animate(u, E, c, i)), i && (o = !0, l = Math.max(l, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
4292
4295
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
4293
4296
|
}, i), u.thisAnimationDuration = i);
|
|
4294
4297
|
}), clearTimeout(n), o ? n = setTimeout(function() {
|
|
@@ -4299,25 +4302,25 @@ function js() {
|
|
|
4299
4302
|
if (l) {
|
|
4300
4303
|
ne(a, "transition", ""), ne(a, "transform", "");
|
|
4301
4304
|
var s = Yt(this.el), i = s && s.a, u = s && s.d, m = (r.left - o.left) / (i || 1), c = (r.top - o.top) / (u || 1);
|
|
4302
|
-
a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy =
|
|
4305
|
+
a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy = Ws(a), ne(a, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
|
|
4303
4306
|
ne(a, "transition", ""), ne(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
|
|
4304
4307
|
}, l);
|
|
4305
4308
|
}
|
|
4306
4309
|
}
|
|
4307
4310
|
};
|
|
4308
4311
|
}
|
|
4309
|
-
function
|
|
4312
|
+
function Ws(e) {
|
|
4310
4313
|
return e.offsetWidth;
|
|
4311
4314
|
}
|
|
4312
|
-
function
|
|
4315
|
+
function Ks(e, n, t, a) {
|
|
4313
4316
|
return Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) / Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) * a.animation;
|
|
4314
4317
|
}
|
|
4315
|
-
var Bt = [],
|
|
4318
|
+
var Bt = [], va = {
|
|
4316
4319
|
initializeByDefault: !0
|
|
4317
4320
|
}, En = {
|
|
4318
4321
|
mount: function(n) {
|
|
4319
|
-
for (var t in
|
|
4320
|
-
|
|
4322
|
+
for (var t in va)
|
|
4323
|
+
va.hasOwnProperty(t) && !(t in n) && (n[t] = va[t]);
|
|
4321
4324
|
Bt.forEach(function(a) {
|
|
4322
4325
|
if (a.pluginName === n.pluginName)
|
|
4323
4326
|
throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
|
|
@@ -4364,22 +4367,22 @@ var Bt = [], ha = {
|
|
|
4364
4367
|
}), r;
|
|
4365
4368
|
}
|
|
4366
4369
|
};
|
|
4367
|
-
function
|
|
4370
|
+
function Gs(e) {
|
|
4368
4371
|
var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, l = e.toEl, s = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, c = e.newDraggableIndex, g = e.originalEvent, p = e.putSortable, E = e.extraEventProperties;
|
|
4369
4372
|
if (n = n || t && t[je], !!n) {
|
|
4370
|
-
var
|
|
4371
|
-
window.CustomEvent && !
|
|
4373
|
+
var v, f = n.options, d = "on" + a.charAt(0).toUpperCase() + a.substr(1);
|
|
4374
|
+
window.CustomEvent && !ht && !kn ? v = new CustomEvent(a, {
|
|
4372
4375
|
bubbles: !0,
|
|
4373
4376
|
cancelable: !0
|
|
4374
|
-
}) : (
|
|
4375
|
-
var
|
|
4376
|
-
for (var C in
|
|
4377
|
-
|
|
4378
|
-
t && t.dispatchEvent(
|
|
4377
|
+
}) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = l || t, v.from = s || t, v.item = r || t, v.clone = o, v.oldIndex = i, v.newIndex = u, v.oldDraggableIndex = m, v.newDraggableIndex = c, v.originalEvent = g, v.pullMode = p ? p.lastPutMode : void 0;
|
|
4378
|
+
var h = ut(ut({}, E), En.getEventProperties(a, n));
|
|
4379
|
+
for (var C in h)
|
|
4380
|
+
v[C] = h[C];
|
|
4381
|
+
t && t.dispatchEvent(v), f[d] && f[d].call(n, v);
|
|
4379
4382
|
}
|
|
4380
4383
|
}
|
|
4381
|
-
var
|
|
4382
|
-
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o =
|
|
4384
|
+
var Xs = ["evt"], qe = function(n, t) {
|
|
4385
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o = Us(a, Xs);
|
|
4383
4386
|
En.pluginEvent.bind(ae)(n, t, ut({
|
|
4384
4387
|
dragEl: Y,
|
|
4385
4388
|
parentEl: Me,
|
|
@@ -4397,7 +4400,7 @@ var Gs = ["evt"], qe = function(n, t) {
|
|
|
4397
4400
|
oldDraggableIndex: fn,
|
|
4398
4401
|
newIndex: Ke,
|
|
4399
4402
|
newDraggableIndex: gt,
|
|
4400
|
-
hideGhostForTarget:
|
|
4403
|
+
hideGhostForTarget: hr,
|
|
4401
4404
|
unhideGhostForTarget: gr,
|
|
4402
4405
|
cloneNowHidden: function() {
|
|
4403
4406
|
bt = !0;
|
|
@@ -4415,7 +4418,7 @@ var Gs = ["evt"], qe = function(n, t) {
|
|
|
4415
4418
|
}, o));
|
|
4416
4419
|
};
|
|
4417
4420
|
function He(e) {
|
|
4418
|
-
|
|
4421
|
+
Gs(ut({
|
|
4419
4422
|
putSortable: Ye,
|
|
4420
4423
|
cloneEl: xe,
|
|
4421
4424
|
targetEl: Y,
|
|
@@ -4426,9 +4429,9 @@ function He(e) {
|
|
|
4426
4429
|
newDraggableIndex: gt
|
|
4427
4430
|
}, e));
|
|
4428
4431
|
}
|
|
4429
|
-
var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn = [], Et, et,
|
|
4432
|
+
var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn = [], Et, et, ha, ga, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Pn, Ve, ba = [], $a = !1, Gn = [], ia = typeof document < "u", Mn = Qa, $o = kn || ht ? "cssFloat" : "float", Zs = ia && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
|
|
4430
4433
|
if (ia) {
|
|
4431
|
-
if (
|
|
4434
|
+
if (ht)
|
|
4432
4435
|
return !1;
|
|
4433
4436
|
var e = document.createElement("x");
|
|
4434
4437
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
@@ -4444,10 +4447,10 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4444
4447
|
return l && (i.clear === "both" || i.clear === c) ? "vertical" : "horizontal";
|
|
4445
4448
|
}
|
|
4446
4449
|
return o && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || u >= r && a[$o] === "none" || l && a[$o] === "none" && u + m > r) ? "vertical" : "horizontal";
|
|
4447
|
-
},
|
|
4450
|
+
}, Js = function(n, t, a) {
|
|
4448
4451
|
var r = a ? n.left : n.top, o = a ? n.right : n.bottom, l = a ? n.width : n.height, s = a ? t.left : t.top, i = a ? t.right : t.bottom, u = a ? t.width : t.height;
|
|
4449
4452
|
return r === s || o === i || r + l / 2 === s + u / 2;
|
|
4450
|
-
},
|
|
4453
|
+
}, Qs = function(n, t) {
|
|
4451
4454
|
var a;
|
|
4452
4455
|
return Kn.some(function(r) {
|
|
4453
4456
|
var o = r[je].options.emptyInsertThreshold;
|
|
@@ -4457,7 +4460,7 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4457
4460
|
return a = r;
|
|
4458
4461
|
}
|
|
4459
4462
|
}), a;
|
|
4460
|
-
},
|
|
4463
|
+
}, vr = function(n) {
|
|
4461
4464
|
function t(o, l) {
|
|
4462
4465
|
return function(s, i, u, m) {
|
|
4463
4466
|
var c = s.options.group.name && i.options.group.name && s.options.group.name === i.options.group.name;
|
|
@@ -4477,7 +4480,7 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4477
4480
|
(!r || Bn(r) != "object") && (r = {
|
|
4478
4481
|
name: r
|
|
4479
4482
|
}), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
|
|
4480
|
-
},
|
|
4483
|
+
}, hr = function() {
|
|
4481
4484
|
!mr && oe && ne(oe, "display", "none");
|
|
4482
4485
|
}, gr = function() {
|
|
4483
4486
|
!mr && oe && ne(oe, "display", "");
|
|
@@ -4489,7 +4492,7 @@ ia && !rr && document.addEventListener("click", function(e) {
|
|
|
4489
4492
|
var Tt = function(n) {
|
|
4490
4493
|
if (Y) {
|
|
4491
4494
|
n = n.touches ? n.touches[0] : n;
|
|
4492
|
-
var t =
|
|
4495
|
+
var t = Qs(n.clientX, n.clientY);
|
|
4493
4496
|
if (t) {
|
|
4494
4497
|
var a = {};
|
|
4495
4498
|
for (var r in n)
|
|
@@ -4497,7 +4500,7 @@ var Tt = function(n) {
|
|
|
4497
4500
|
a.target = a.rootEl = t, a.preventDefault = void 0, a.stopPropagation = void 0, t[je]._onDragOver(a);
|
|
4498
4501
|
}
|
|
4499
4502
|
}
|
|
4500
|
-
},
|
|
4503
|
+
}, eu = function(n) {
|
|
4501
4504
|
Y && Y.parentNode[je]._isOutsideThisEl(n.target);
|
|
4502
4505
|
};
|
|
4503
4506
|
function ae(e, n) {
|
|
@@ -4553,10 +4556,10 @@ function ae(e, n) {
|
|
|
4553
4556
|
En.initializePlugins(this, e, t);
|
|
4554
4557
|
for (var a in t)
|
|
4555
4558
|
!(a in n) && (n[a] = t[a]);
|
|
4556
|
-
|
|
4559
|
+
vr(n);
|
|
4557
4560
|
for (var r in this)
|
|
4558
4561
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
4559
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
4562
|
+
this.nativeDraggable = n.forceFallback ? !1 : Zs, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? fe(e, "pointerdown", this._onTapStart) : (fe(e, "mousedown", this._onTapStart), fe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (fe(e, "dragover", this), fe(e, "dragenter", this)), Kn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), pt(this, zs());
|
|
4560
4563
|
}
|
|
4561
4564
|
ae.prototype = /** @lends Sortable.prototype */
|
|
4562
4565
|
{
|
|
@@ -4570,7 +4573,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4570
4573
|
_onTapStart: function(n) {
|
|
4571
4574
|
if (n.cancelable) {
|
|
4572
4575
|
var t = this, a = this.el, r = this.options, o = r.preventOnFilter, l = 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, m = r.filter;
|
|
4573
|
-
if (
|
|
4576
|
+
if (su(a), !Y && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && cn && i && i.tagName.toUpperCase() === "SELECT") && (i = tt(i, r.draggable, a, !1), !(i && i.animated) && Rn !== i)) {
|
|
4574
4577
|
if (Lt = Je(i), fn = Je(i, r.draggable), typeof m == "function") {
|
|
4575
4578
|
if (m.call(this, n, i, this)) {
|
|
4576
4579
|
He({
|
|
@@ -4629,7 +4632,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4629
4632
|
sr(Y, m.trim(), ya);
|
|
4630
4633
|
}), fe(s, "dragover", Tt), fe(s, "mousemove", Tt), fe(s, "touchmove", Tt), l.supportPointer ? (fe(s, "pointerup", r._onDrop), !this.nativeDraggable && fe(s, "pointercancel", r._onDrop)) : (fe(s, "mouseup", r._onDrop), fe(s, "touchend", r._onDrop), fe(s, "touchcancel", r._onDrop)), To && this.nativeDraggable && (this.options.touchStartThreshold = 4, Y.draggable = !0), qe("delayStart", this, {
|
|
4631
4634
|
evt: n
|
|
4632
|
-
}), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn ||
|
|
4635
|
+
}), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn || ht))) {
|
|
4633
4636
|
if (ae.eventCanceled) {
|
|
4634
4637
|
this._onDrop();
|
|
4635
4638
|
return;
|
|
@@ -4663,7 +4666,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4663
4666
|
if (Pt = !1, ke && Y) {
|
|
4664
4667
|
qe("dragStarted", this, {
|
|
4665
4668
|
evt: t
|
|
4666
|
-
}), this.nativeDraggable && fe(document, "dragover",
|
|
4669
|
+
}), this.nativeDraggable && fe(document, "dragover", eu);
|
|
4667
4670
|
var a = this.options;
|
|
4668
4671
|
!n && We(Y, a.dragClass, !1), We(Y, a.ghostClass, !0), ae.active = this, n && this._appendGhost(), He({
|
|
4669
4672
|
sortable: this,
|
|
@@ -4675,7 +4678,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4675
4678
|
},
|
|
4676
4679
|
_emulateDragOver: function() {
|
|
4677
4680
|
if (et) {
|
|
4678
|
-
this._lastX = et.clientX, this._lastY = et.clientY,
|
|
4681
|
+
this._lastX = et.clientX, this._lastY = et.clientY, hr();
|
|
4679
4682
|
for (var n = document.elementFromPoint(et.clientX, et.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(et.clientX, et.clientY), n !== t); )
|
|
4680
4683
|
t = n;
|
|
4681
4684
|
if (Y.parentNode[je]._isOutsideThisEl(n), t)
|
|
@@ -4704,7 +4707,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4704
4707
|
this._onDragStart(n, !0);
|
|
4705
4708
|
}
|
|
4706
4709
|
if (oe) {
|
|
4707
|
-
l ? (l.e += m - (
|
|
4710
|
+
l ? (l.e += m - (ha || 0), l.f += c - (ga || 0)) : l = {
|
|
4708
4711
|
a: 1,
|
|
4709
4712
|
b: 0,
|
|
4710
4713
|
c: 0,
|
|
@@ -4713,7 +4716,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4713
4716
|
f: c
|
|
4714
4717
|
};
|
|
4715
4718
|
var g = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
|
|
4716
|
-
ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g),
|
|
4719
|
+
ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g), ha = m, ga = c, et = o;
|
|
4717
4720
|
}
|
|
4718
4721
|
n.cancelable && n.preventDefault();
|
|
4719
4722
|
}
|
|
@@ -4746,7 +4749,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4746
4749
|
},
|
|
4747
4750
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
4748
4751
|
_onDragOver: function(n) {
|
|
4749
|
-
var t = this.el, a = n.target, r, o, l, s = this.options, i = s.group, u = ae.active, m = xn === i, c = s.sort, g = Ye || u, p, E = this,
|
|
4752
|
+
var t = this.el, a = n.target, r, o, l, s = this.options, i = s.group, u = ae.active, m = xn === i, c = s.sort, g = Ye || u, p, E = this, v = !1;
|
|
4750
4753
|
if ($a) return;
|
|
4751
4754
|
function f(D, F) {
|
|
4752
4755
|
qe(D, E, ut({
|
|
@@ -4759,7 +4762,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4759
4762
|
canSort: c,
|
|
4760
4763
|
fromSortable: g,
|
|
4761
4764
|
target: a,
|
|
4762
|
-
completed:
|
|
4765
|
+
completed: h,
|
|
4763
4766
|
onMove: function(X, re) {
|
|
4764
4767
|
return _n(ke, t, Y, r, X, Re(X), n, re);
|
|
4765
4768
|
},
|
|
@@ -4769,12 +4772,12 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4769
4772
|
function d() {
|
|
4770
4773
|
f("dragOverAnimationCapture"), E.captureAnimationState(), E !== g && g.captureAnimationState();
|
|
4771
4774
|
}
|
|
4772
|
-
function
|
|
4775
|
+
function h(D) {
|
|
4773
4776
|
return f("dragOverCompleted", {
|
|
4774
4777
|
insertion: D
|
|
4775
4778
|
}), D && (m ? u._hideClone() : u._showClone(E), E !== g && (We(Y, Ye ? Ye.options.ghostClass : u.options.ghostClass, !1), We(Y, s.ghostClass, !0)), Ye !== E && E !== ae.active ? Ye = E : E === ae.active && Ye && (Ye = null), g === E && (E._ignoreWhileAnimating = a), E.animateAll(function() {
|
|
4776
4779
|
f("dragOverAnimationComplete"), E._ignoreWhileAnimating = null;
|
|
4777
|
-
}), E !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (a === Y && !Y.animated || a === t && !a.animated) && (Rt = null), !s.dragoverBubble && !n.rootEl && a !== document && (Y.parentNode[je]._isOutsideThisEl(n.target), !D && Tt(n)), !s.dragoverBubble && n.stopPropagation && n.stopPropagation(),
|
|
4780
|
+
}), E !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (a === Y && !Y.animated || a === t && !a.animated) && (Rt = null), !s.dragoverBubble && !n.rootEl && a !== document && (Y.parentNode[je]._isOutsideThisEl(n.target), !D && Tt(n)), !s.dragoverBubble && n.stopPropagation && n.stopPropagation(), v = !0;
|
|
4778
4781
|
}
|
|
4779
4782
|
function C() {
|
|
4780
4783
|
Ke = Je(Y), gt = Je(Y, s.draggable), He({
|
|
@@ -4786,29 +4789,29 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4786
4789
|
originalEvent: n
|
|
4787
4790
|
});
|
|
4788
4791
|
}
|
|
4789
|
-
if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return
|
|
4792
|
+
if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return v;
|
|
4790
4793
|
if (Y.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
|
|
4791
|
-
return
|
|
4794
|
+
return h(!1);
|
|
4792
4795
|
if (Wn = !1, u && !s.disabled && (m ? c || (l = Me !== ke) : Ye === this || (this.lastPutMode = xn.checkPull(this, u, Y, n)) && i.checkPut(this, u, Y, n))) {
|
|
4793
|
-
if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return
|
|
4796
|
+
if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return v;
|
|
4794
4797
|
if (l)
|
|
4795
|
-
return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)),
|
|
4798
|
+
return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)), h(!0);
|
|
4796
4799
|
var x = eo(t, s.draggable);
|
|
4797
|
-
if (!x ||
|
|
4800
|
+
if (!x || ou(n, p, this) && !x.animated) {
|
|
4798
4801
|
if (x === Y)
|
|
4799
|
-
return
|
|
4802
|
+
return h(!1);
|
|
4800
4803
|
if (x && t === n.target && (a = x), a && (o = Re(a)), _n(ke, t, Y, r, a, o, n, !!a) !== !1)
|
|
4801
|
-
return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(),
|
|
4802
|
-
} else if (x &&
|
|
4804
|
+
return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(), h(!0);
|
|
4805
|
+
} else if (x && au(n, p, this)) {
|
|
4803
4806
|
var I = qt(t, 0, s, !0);
|
|
4804
4807
|
if (I === Y)
|
|
4805
|
-
return
|
|
4808
|
+
return h(!1);
|
|
4806
4809
|
if (a = I, o = Re(a), _n(ke, t, Y, r, a, o, n, !1) !== !1)
|
|
4807
|
-
return d(), t.insertBefore(Y, I), Me = t, C(),
|
|
4810
|
+
return d(), t.insertBefore(Y, I), Me = t, C(), h(!0);
|
|
4808
4811
|
} else if (a.parentNode === t) {
|
|
4809
4812
|
o = Re(a);
|
|
4810
|
-
var b = 0, _, B = Y.parentNode !== t, k = !
|
|
4811
|
-
Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b =
|
|
4813
|
+
var b = 0, _, B = Y.parentNode !== t, k = !Js(Y.animated && Y.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", R = xo(a, "top", "top") || xo(Y, "top", "top"), O = R ? R.scrollTop : void 0;
|
|
4814
|
+
Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b = ru(n, a, o, p, k ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
|
|
4812
4815
|
var M;
|
|
4813
4816
|
if (b !== 0) {
|
|
4814
4817
|
var A = Je(Y);
|
|
@@ -4817,16 +4820,16 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4817
4820
|
while (M && (ne(M, "display") === "none" || M === oe));
|
|
4818
4821
|
}
|
|
4819
4822
|
if (b === 0 || M === a)
|
|
4820
|
-
return
|
|
4823
|
+
return h(!1);
|
|
4821
4824
|
Rt = a, mn = b;
|
|
4822
4825
|
var w = a.nextElementSibling, y = !1;
|
|
4823
4826
|
y = b === 1;
|
|
4824
4827
|
var S = _n(ke, t, Y, r, a, o, n, y);
|
|
4825
4828
|
if (S !== !1)
|
|
4826
|
-
return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(
|
|
4829
|
+
return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(nu, 30), d(), y && !w ? t.appendChild(Y) : a.parentNode.insertBefore(Y, y ? w : a), R && cr(R, 0, O - R.scrollTop), Me = Y.parentNode, _ !== void 0 && !In && (Pn = Math.abs(_ - Re(a)[$])), C(), h(!0);
|
|
4827
4830
|
}
|
|
4828
4831
|
if (t.contains(Y))
|
|
4829
|
-
return
|
|
4832
|
+
return h(!1);
|
|
4830
4833
|
}
|
|
4831
4834
|
return !1;
|
|
4832
4835
|
},
|
|
@@ -4895,7 +4898,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4895
4898
|
_nulling: function() {
|
|
4896
4899
|
qe("nulling", this), ke = Y = Me = oe = At = xe = Rn = bt = Et = et = rn = Ke = gt = Lt = fn = Rt = mn = Ye = xn = ae.dragged = ae.ghost = ae.clone = ae.active = null, Gn.forEach(function(n) {
|
|
4897
4900
|
n.checked = !0;
|
|
4898
|
-
}), Gn.length =
|
|
4901
|
+
}), Gn.length = ha = ga = 0;
|
|
4899
4902
|
},
|
|
4900
4903
|
handleEvent: function(n) {
|
|
4901
4904
|
switch (n.type) {
|
|
@@ -4905,7 +4908,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4905
4908
|
break;
|
|
4906
4909
|
case "dragenter":
|
|
4907
4910
|
case "dragover":
|
|
4908
|
-
Y && (this._onDragOver(n),
|
|
4911
|
+
Y && (this._onDragOver(n), tu(n));
|
|
4909
4912
|
break;
|
|
4910
4913
|
case "selectstart":
|
|
4911
4914
|
n.preventDefault();
|
|
@@ -4918,7 +4921,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4918
4921
|
*/
|
|
4919
4922
|
toArray: function() {
|
|
4920
4923
|
for (var n = [], t, a = this.el.children, r = 0, o = a.length, l = this.options; r < o; r++)
|
|
4921
|
-
t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) ||
|
|
4924
|
+
t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) || iu(t));
|
|
4922
4925
|
return n;
|
|
4923
4926
|
},
|
|
4924
4927
|
/**
|
|
@@ -4961,7 +4964,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4961
4964
|
if (t === void 0)
|
|
4962
4965
|
return a[n];
|
|
4963
4966
|
var r = En.modifyOption(this, n, t);
|
|
4964
|
-
typeof r < "u" ? a[n] = r : a[n] = t, n === "group" &&
|
|
4967
|
+
typeof r < "u" ? a[n] = r : a[n] = t, n === "group" && vr(a);
|
|
4965
4968
|
},
|
|
4966
4969
|
/**
|
|
4967
4970
|
* Destroy
|
|
@@ -4990,12 +4993,12 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4990
4993
|
}
|
|
4991
4994
|
}
|
|
4992
4995
|
};
|
|
4993
|
-
function
|
|
4996
|
+
function tu(e) {
|
|
4994
4997
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
4995
4998
|
}
|
|
4996
4999
|
function _n(e, n, t, a, r, o, l, s) {
|
|
4997
5000
|
var i, u = e[je], m = u.options.onMove, c;
|
|
4998
|
-
return window.CustomEvent && !
|
|
5001
|
+
return window.CustomEvent && !ht && !kn ? i = new CustomEvent("move", {
|
|
4999
5002
|
bubbles: !0,
|
|
5000
5003
|
cancelable: !0
|
|
5001
5004
|
}) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = r || n, i.relatedRect = o || Re(n), i.willInsertAfter = s, i.originalEvent = l, e.dispatchEvent(i), m && (c = m.call(u, i, l)), c;
|
|
@@ -5003,18 +5006,18 @@ function _n(e, n, t, a, r, o, l, s) {
|
|
|
5003
5006
|
function ya(e) {
|
|
5004
5007
|
e.draggable = !1;
|
|
5005
5008
|
}
|
|
5006
|
-
function
|
|
5009
|
+
function nu() {
|
|
5007
5010
|
$a = !1;
|
|
5008
5011
|
}
|
|
5009
|
-
function
|
|
5012
|
+
function au(e, n, t) {
|
|
5010
5013
|
var a = Re(qt(t.el, 0, t.options, !0)), r = fr(t.el, t.options, oe), o = 10;
|
|
5011
5014
|
return n ? e.clientX < r.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < r.top - o || e.clientY < a.bottom && e.clientX < a.left;
|
|
5012
5015
|
}
|
|
5013
|
-
function
|
|
5016
|
+
function ou(e, n, t) {
|
|
5014
5017
|
var a = Re(eo(t.el, t.options.draggable)), r = fr(t.el, t.options, oe), o = 10;
|
|
5015
5018
|
return n ? e.clientX > r.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > r.bottom + o || e.clientX > a.right && e.clientY > a.top;
|
|
5016
5019
|
}
|
|
5017
|
-
function
|
|
5020
|
+
function ru(e, n, t, a, r, o, l, s) {
|
|
5018
5021
|
var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, m = a ? t.top : t.left, c = a ? t.bottom : t.right, g = !1;
|
|
5019
5022
|
if (!l) {
|
|
5020
5023
|
if (s && Pn < u * r) {
|
|
@@ -5023,19 +5026,19 @@ function ou(e, n, t, a, r, o, l, s) {
|
|
|
5023
5026
|
else if (mn === 1 ? i < m + Pn : i > c - Pn)
|
|
5024
5027
|
return -mn;
|
|
5025
5028
|
} else if (i > m + u * (1 - r) / 2 && i < c - u * (1 - r) / 2)
|
|
5026
|
-
return
|
|
5029
|
+
return lu(n);
|
|
5027
5030
|
}
|
|
5028
5031
|
return g = g || l, g && (i < m + u * o / 2 || i > c - u * o / 2) ? i > m + u / 2 ? 1 : -1 : 0;
|
|
5029
5032
|
}
|
|
5030
|
-
function
|
|
5033
|
+
function lu(e) {
|
|
5031
5034
|
return Je(Y) < Je(e) ? 1 : -1;
|
|
5032
5035
|
}
|
|
5033
|
-
function
|
|
5036
|
+
function iu(e) {
|
|
5034
5037
|
for (var n = e.tagName + e.className + e.src + e.href + e.textContent, t = n.length, a = 0; t--; )
|
|
5035
5038
|
a += n.charCodeAt(t);
|
|
5036
5039
|
return a.toString(36);
|
|
5037
5040
|
}
|
|
5038
|
-
function
|
|
5041
|
+
function su(e) {
|
|
5039
5042
|
Gn.length = 0;
|
|
5040
5043
|
for (var n = e.getElementsByTagName("input"), t = n.length; t--; ) {
|
|
5041
5044
|
var a = n[t];
|
|
@@ -5059,7 +5062,7 @@ ae.utils = {
|
|
|
5059
5062
|
is: function(n, t) {
|
|
5060
5063
|
return !!tt(n, t, n, !1);
|
|
5061
5064
|
},
|
|
5062
|
-
extend:
|
|
5065
|
+
extend: qs,
|
|
5063
5066
|
throttle: ur,
|
|
5064
5067
|
closest: tt,
|
|
5065
5068
|
toggleClass: We,
|
|
@@ -5086,9 +5089,9 @@ ae.mount = function() {
|
|
|
5086
5089
|
ae.create = function(e, n) {
|
|
5087
5090
|
return new ae(e, n);
|
|
5088
5091
|
};
|
|
5089
|
-
ae.version =
|
|
5092
|
+
ae.version = Vs;
|
|
5090
5093
|
var Be = [], ln, Oa, Ba = !1, Sa, wa, Xn, sn;
|
|
5091
|
-
function
|
|
5094
|
+
function uu() {
|
|
5092
5095
|
function e() {
|
|
5093
5096
|
this.defaults = {
|
|
5094
5097
|
scroll: !0,
|
|
@@ -5110,7 +5113,7 @@ function su() {
|
|
|
5110
5113
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
5111
5114
|
},
|
|
5112
5115
|
drop: function() {
|
|
5113
|
-
this.sortable.nativeDraggable ? ce(document, "dragover", this._handleAutoScroll) : (ce(document, "pointermove", this._handleFallbackAutoScroll), ce(document, "touchmove", this._handleFallbackAutoScroll), ce(document, "mousemove", this._handleFallbackAutoScroll)), Fo(), Ln(),
|
|
5116
|
+
this.sortable.nativeDraggable ? ce(document, "dragover", this._handleAutoScroll) : (ce(document, "pointermove", this._handleFallbackAutoScroll), ce(document, "touchmove", this._handleFallbackAutoScroll), ce(document, "mousemove", this._handleFallbackAutoScroll)), Fo(), Ln(), js();
|
|
5114
5117
|
},
|
|
5115
5118
|
nulling: function() {
|
|
5116
5119
|
Xn = Oa = ln = Ba = sn = Sa = wa = null, Be.length = 0;
|
|
@@ -5120,7 +5123,7 @@ function su() {
|
|
|
5120
5123
|
},
|
|
5121
5124
|
_handleAutoScroll: function(t, a) {
|
|
5122
5125
|
var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, l);
|
|
5123
|
-
if (Xn = t, a || this.options.forceAutoScrollFallback || kn ||
|
|
5126
|
+
if (Xn = t, a || this.options.forceAutoScrollFallback || kn || ht || cn) {
|
|
5124
5127
|
Ca(t, this.options, s, a);
|
|
5125
5128
|
var i = yt(s, !0);
|
|
5126
5129
|
Ba && (!sn || o !== Sa || l !== wa) && (sn && Fo(), sn = setInterval(function() {
|
|
@@ -5154,9 +5157,9 @@ var Ca = ur(function(e, n, t, a) {
|
|
|
5154
5157
|
Oa !== t && (Oa = t, Ln(), ln = n.scroll, m = n.scrollFn, ln === !0 && (ln = yt(t, !0)));
|
|
5155
5158
|
var c = 0, g = ln;
|
|
5156
5159
|
do {
|
|
5157
|
-
var p = g, E = Re(p),
|
|
5160
|
+
var p = g, E = Re(p), v = E.top, f = E.bottom, d = E.left, h = E.right, C = E.width, x = E.height, I = void 0, b = void 0, _ = p.scrollWidth, B = p.scrollHeight, k = ne(p), $ = p.scrollLeft, R = p.scrollTop;
|
|
5158
5161
|
p === i ? (I = C < _ && (k.overflowX === "auto" || k.overflowX === "scroll" || k.overflowX === "visible"), b = x < B && (k.overflowY === "auto" || k.overflowY === "scroll" || k.overflowY === "visible")) : (I = C < _ && (k.overflowX === "auto" || k.overflowX === "scroll"), b = x < B && (k.overflowY === "auto" || k.overflowY === "scroll"));
|
|
5159
|
-
var O = I && (Math.abs(
|
|
5162
|
+
var O = I && (Math.abs(h - r) <= l && $ + C < _) - (Math.abs(d - r) <= l && !!$), M = b && (Math.abs(f - o) <= l && R + x < B) - (Math.abs(v - o) <= l && !!R);
|
|
5160
5163
|
if (!Be[c])
|
|
5161
5164
|
for (var A = 0; A <= c; A++)
|
|
5162
5165
|
Be[A] || (Be[A] = {});
|
|
@@ -5213,29 +5216,29 @@ no.prototype = {
|
|
|
5213
5216
|
pt(no, {
|
|
5214
5217
|
pluginName: "removeOnSpill"
|
|
5215
5218
|
});
|
|
5216
|
-
ae.mount(new
|
|
5219
|
+
ae.mount(new uu());
|
|
5217
5220
|
ae.mount(no, to);
|
|
5218
|
-
function
|
|
5221
|
+
function cu(e, n, t = {}) {
|
|
5219
5222
|
let a;
|
|
5220
|
-
const { document: r = Or, watchElement: o = !1, ...l } = t, s = { onUpdate: (
|
|
5221
|
-
|
|
5223
|
+
const { document: r = Or, watchElement: o = !1, ...l } = t, s = { onUpdate: (v) => {
|
|
5224
|
+
mu(n, v.oldIndex, v.newIndex, v);
|
|
5222
5225
|
} }, i = V(() => typeof e == "string" ? r?.querySelector(e) : Br(e)), u = () => {
|
|
5223
5226
|
a?.destroy(), a = void 0;
|
|
5224
|
-
}, m = (
|
|
5225
|
-
!
|
|
5227
|
+
}, m = (v) => {
|
|
5228
|
+
!v || a !== void 0 || (a = new ae(v, {
|
|
5226
5229
|
...s,
|
|
5227
5230
|
...l
|
|
5228
5231
|
}));
|
|
5229
5232
|
}, c = () => {
|
|
5230
|
-
const
|
|
5231
|
-
|
|
5232
|
-
}, g = (
|
|
5233
|
-
if (f !== void 0) a?.option(
|
|
5234
|
-
else return a?.option(
|
|
5233
|
+
const v = i.value;
|
|
5234
|
+
v && m(v);
|
|
5235
|
+
}, g = (v, f) => {
|
|
5236
|
+
if (f !== void 0) a?.option(v, f);
|
|
5237
|
+
else return a?.option(v);
|
|
5235
5238
|
};
|
|
5236
5239
|
let p;
|
|
5237
|
-
o && typeof e != "string" ? p = Te(i, (
|
|
5238
|
-
u(),
|
|
5240
|
+
o && typeof e != "string" ? p = Te(i, (v) => {
|
|
5241
|
+
u(), v && m(v);
|
|
5239
5242
|
}, {
|
|
5240
5243
|
immediate: !0,
|
|
5241
5244
|
flush: "post"
|
|
@@ -5251,15 +5254,15 @@ function uu(e, n, t = {}) {
|
|
|
5251
5254
|
option: g
|
|
5252
5255
|
};
|
|
5253
5256
|
}
|
|
5254
|
-
function
|
|
5257
|
+
function du(e, n, t) {
|
|
5255
5258
|
const a = e.children[t];
|
|
5256
5259
|
e.insertBefore(n, a);
|
|
5257
5260
|
}
|
|
5258
|
-
function
|
|
5261
|
+
function fu(e) {
|
|
5259
5262
|
e.parentNode && e.parentNode.removeChild(e);
|
|
5260
5263
|
}
|
|
5261
|
-
function
|
|
5262
|
-
a != null && (
|
|
5264
|
+
function mu(e, n, t, a = null) {
|
|
5265
|
+
a != null && (fu(a.item), du(a.from, a.item, n));
|
|
5263
5266
|
const r = Ra(e), o = r ? [...ro(e)] : ro(e);
|
|
5264
5267
|
if (t >= 0 && t < o.length) {
|
|
5265
5268
|
const l = o.splice(n, 1)[0];
|
|
@@ -5275,28 +5278,28 @@ function yr(e, n = 0) {
|
|
|
5275
5278
|
return (Le[e[n + 0]] + Le[e[n + 1]] + Le[e[n + 2]] + Le[e[n + 3]] + "-" + Le[e[n + 4]] + Le[e[n + 5]] + "-" + Le[e[n + 6]] + Le[e[n + 7]] + "-" + Le[e[n + 8]] + Le[e[n + 9]] + "-" + Le[e[n + 10]] + Le[e[n + 11]] + Le[e[n + 12]] + Le[e[n + 13]] + Le[e[n + 14]] + Le[e[n + 15]]).toLowerCase();
|
|
5276
5279
|
}
|
|
5277
5280
|
let Da;
|
|
5278
|
-
const
|
|
5281
|
+
const pu = new Uint8Array(16);
|
|
5279
5282
|
function Sr() {
|
|
5280
5283
|
if (!Da) {
|
|
5281
5284
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
5282
5285
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
5283
5286
|
Da = crypto.getRandomValues.bind(crypto);
|
|
5284
5287
|
}
|
|
5285
|
-
return Da(
|
|
5288
|
+
return Da(pu);
|
|
5286
5289
|
}
|
|
5287
5290
|
const tn = {};
|
|
5288
|
-
function
|
|
5291
|
+
function vu(e, n, t) {
|
|
5289
5292
|
let a;
|
|
5290
5293
|
{
|
|
5291
5294
|
const r = Date.now(), o = Sr();
|
|
5292
|
-
hu(tn, r, o), a =
|
|
5295
|
+
hu(tn, r, o), a = gu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
|
|
5293
5296
|
}
|
|
5294
5297
|
return n ?? yr(a);
|
|
5295
5298
|
}
|
|
5296
5299
|
function hu(e, n, t) {
|
|
5297
5300
|
return e.msecs ??= -1 / 0, e.nsecs ??= 0, n === e.msecs ? (e.nsecs++, e.nsecs >= 1e4 && (e.node = void 0, e.nsecs = 0)) : n > e.msecs ? e.nsecs = 0 : n < e.msecs && (e.node = void 0), e.node || (e.node = t.slice(10, 16), e.node[0] |= 1, e.clockseq = (t[8] << 8 | t[9]) & 16383), e.msecs = n, e;
|
|
5298
5301
|
}
|
|
5299
|
-
function
|
|
5302
|
+
function gu(e, n, t, a, r, o, l = 0) {
|
|
5300
5303
|
if (e.length < 16)
|
|
5301
5304
|
throw new Error("Random bytes length must be >= 16");
|
|
5302
5305
|
if (!o)
|
|
@@ -5312,20 +5315,20 @@ function vu(e, n, t, a, r, o, l = 0) {
|
|
|
5312
5315
|
o[l++] = r[u];
|
|
5313
5316
|
return o;
|
|
5314
5317
|
}
|
|
5315
|
-
const
|
|
5316
|
-
function
|
|
5318
|
+
const bu = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Oo = { randomUUID: bu };
|
|
5319
|
+
function yu(e, n, t) {
|
|
5317
5320
|
e = e || {};
|
|
5318
5321
|
const a = e.random ?? e.rng?.() ?? Sr();
|
|
5319
5322
|
if (a.length < 16)
|
|
5320
5323
|
throw new Error("Random bytes length must be >= 16");
|
|
5321
5324
|
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, yr(a);
|
|
5322
5325
|
}
|
|
5323
|
-
function
|
|
5324
|
-
return Oo.randomUUID && !e ? Oo.randomUUID() :
|
|
5326
|
+
function Su(e, n, t) {
|
|
5327
|
+
return Oo.randomUUID && !e ? Oo.randomUUID() : yu(e);
|
|
5325
5328
|
}
|
|
5326
|
-
const
|
|
5327
|
-
function
|
|
5328
|
-
const r = P(!1), o = P(null), l = P(null), s = P(
|
|
5329
|
+
const wu = () => vu(), Ed = () => Su(), nn = "a-sortable-widget__handle", Cu = "a-sortable-widget__ghost", Du = "a-sortable-widget__drag", ku = "a-sortable-widget__chosen", Bo = "a-sortable-widget__group";
|
|
5330
|
+
function Eu(e, n, t, a) {
|
|
5331
|
+
const r = P(!1), o = P(null), l = P(null), s = P(wu()), i = P(null), u = P(0), m = P(t.dirty);
|
|
5329
5332
|
function c(M, A) {
|
|
5330
5333
|
return {
|
|
5331
5334
|
key: M[t.keyField],
|
|
@@ -5339,13 +5342,13 @@ function ku(e, n, t, a) {
|
|
|
5339
5342
|
});
|
|
5340
5343
|
}, E = (M) => {
|
|
5341
5344
|
m.value.add(M);
|
|
5342
|
-
},
|
|
5345
|
+
}, v = (M) => {
|
|
5343
5346
|
m.value.delete(M);
|
|
5344
5347
|
}, f = (M, A, w, y = []) => {
|
|
5345
5348
|
const S = A > w ? w : A;
|
|
5346
5349
|
let D = t.positionMultiplier * S + t.positionMultiplier * 1;
|
|
5347
5350
|
for (let F = S; F < M.length; F++)
|
|
5348
|
-
|
|
5351
|
+
Ii(M[F], t.positionField, D), E(M[F][t.keyField]), D = D + t.positionMultiplier * 1, y.push({
|
|
5349
5352
|
id: M[F].id,
|
|
5350
5353
|
position: M[F].position
|
|
5351
5354
|
});
|
|
@@ -5358,13 +5361,13 @@ function ku(e, n, t, a) {
|
|
|
5358
5361
|
return w.splice(A, 0, S), T(t.updatePosition) || (y = f(w, M, A)), p(), a("update:modelValue", w), y;
|
|
5359
5362
|
}
|
|
5360
5363
|
return [];
|
|
5361
|
-
},
|
|
5364
|
+
}, h = (M, A) => {
|
|
5362
5365
|
const w = A.findIndex((y) => y[t.keyField] === M);
|
|
5363
5366
|
return w === -1 ? null : w;
|
|
5364
5367
|
}, C = (M, A, w, y = null) => {
|
|
5365
5368
|
M.data = Ie(A), G(w) || (M.data.position = w), G(y) || E(A.id);
|
|
5366
5369
|
}, x = (M, A, w = null, y = null) => {
|
|
5367
|
-
const S = Ie(e.value), D =
|
|
5370
|
+
const S = Ie(e.value), D = h(M, S);
|
|
5368
5371
|
!G(D) && S[D] && (C(S[D], A, w, y), p(S));
|
|
5369
5372
|
}, I = (M, A, w, y = null) => {
|
|
5370
5373
|
const S = Ie(e.value);
|
|
@@ -5379,16 +5382,16 @@ function ku(e, n, t, a) {
|
|
|
5379
5382
|
const w = Ie(e.value);
|
|
5380
5383
|
if (G(M))
|
|
5381
5384
|
return w.push(Ie(A)), p(w), [];
|
|
5382
|
-
const y =
|
|
5385
|
+
const y = h(M, w), S = [];
|
|
5383
5386
|
return !G(y) && w[y] ? (w.splice(y + 1, 0, A), f(w, y + 1, y + 1, S), p(w), S) : [];
|
|
5384
5387
|
}, B = (M) => {
|
|
5385
|
-
const A = Ie(e.value), w =
|
|
5386
|
-
return !G(w) && A[w] ? (A.splice(w, 1), f(A, w, w, y),
|
|
5388
|
+
const A = Ie(e.value), w = h(M, A), y = [];
|
|
5389
|
+
return !G(w) && A[w] ? (A.splice(w, 1), f(A, w, w, y), v(M), p(A), y) : [];
|
|
5387
5390
|
}, k = (M) => {
|
|
5388
5391
|
const A = Ie(e.value), w = [];
|
|
5389
5392
|
if (A[M]) {
|
|
5390
5393
|
const y = A[M][t.keyField];
|
|
5391
|
-
return A.splice(M, 1), f(A, M, M, w),
|
|
5394
|
+
return A.splice(M, 1), f(A, M, M, w), v(y), p(A), w;
|
|
5392
5395
|
}
|
|
5393
5396
|
return [];
|
|
5394
5397
|
}, $ = () => {
|
|
@@ -5419,7 +5422,7 @@ function ku(e, n, t, a) {
|
|
|
5419
5422
|
updateDataAtIndex: I
|
|
5420
5423
|
};
|
|
5421
5424
|
}
|
|
5422
|
-
const
|
|
5425
|
+
const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortable-widget__before" }, Mu = { class: "a-sortable-widget__content" }, _u = { class: "a-sortable-widget__after" }, $u = /* @__PURE__ */ we({
|
|
5423
5426
|
__name: "ASortable",
|
|
5424
5427
|
props: {
|
|
5425
5428
|
modelValue: {},
|
|
@@ -5447,7 +5450,7 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5447
5450
|
const a = e, r = t, o = xr(() => a.modelValue), { t: l } = Ne(), s = (y) => {
|
|
5448
5451
|
r("onAddAfter", y);
|
|
5449
5452
|
}, i = (y) => {
|
|
5450
|
-
if (
|
|
5453
|
+
if (h.value = y, a.disableDeleteDialog) {
|
|
5451
5454
|
b();
|
|
5452
5455
|
return;
|
|
5453
5456
|
}
|
|
@@ -5460,14 +5463,14 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5460
5463
|
return;
|
|
5461
5464
|
}
|
|
5462
5465
|
r("onAddLast", null);
|
|
5463
|
-
}, c = V(() => T(a.widgetIdentifierId) ?
|
|
5466
|
+
}, c = V(() => T(a.widgetIdentifierId) ? Tu + k.value : a.widgetIdentifierId), g = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
|
|
5464
5467
|
if (a.disableDraggable || !B.value) return;
|
|
5465
5468
|
const y = B.value.querySelector("." + Bo);
|
|
5466
|
-
y && (_.value =
|
|
5469
|
+
y && (_.value = cu(y, [], {
|
|
5467
5470
|
handle: "." + nn,
|
|
5468
|
-
ghostClass:
|
|
5469
|
-
dragClass:
|
|
5470
|
-
chosenClass:
|
|
5471
|
+
ghostClass: Cu,
|
|
5472
|
+
dragClass: Du,
|
|
5473
|
+
chosenClass: ku,
|
|
5471
5474
|
onEnd: async (S) => {
|
|
5472
5475
|
if (a.disableDefaultSort || T(S.oldIndex) || T(S.newIndex)) return;
|
|
5473
5476
|
const D = d(S.oldIndex, S.newIndex);
|
|
@@ -5479,10 +5482,10 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5479
5482
|
}));
|
|
5480
5483
|
}, {
|
|
5481
5484
|
items: E,
|
|
5482
|
-
forceRerender:
|
|
5485
|
+
forceRerender: v,
|
|
5483
5486
|
dirtyLocal: f,
|
|
5484
5487
|
moveArrayElement: d,
|
|
5485
|
-
itemToRemove:
|
|
5488
|
+
itemToRemove: h,
|
|
5486
5489
|
removeDialog: C,
|
|
5487
5490
|
destroy: x,
|
|
5488
5491
|
refresh: I,
|
|
@@ -5496,7 +5499,7 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5496
5499
|
addAfterIndex: M,
|
|
5497
5500
|
removeByIndex: A,
|
|
5498
5501
|
updateDataAtIndex: w
|
|
5499
|
-
} =
|
|
5502
|
+
} = Eu(o, p, a, r);
|
|
5500
5503
|
return Ir(() => {
|
|
5501
5504
|
x();
|
|
5502
5505
|
}), ze(() => {
|
|
@@ -5521,16 +5524,16 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5521
5524
|
updateDataAtIndex: w
|
|
5522
5525
|
}), (y, S) => {
|
|
5523
5526
|
const D = Vn("ABtnTertiary"), F = Vn("ABtnPrimary");
|
|
5524
|
-
return U(),
|
|
5527
|
+
return U(), ve("div", null, [
|
|
5525
5528
|
$e("div", {
|
|
5526
5529
|
id: c.value,
|
|
5527
5530
|
class: nt(g.value)
|
|
5528
5531
|
}, [
|
|
5529
|
-
(U(),
|
|
5530
|
-
key: Z(
|
|
5532
|
+
(U(), ve("div", {
|
|
5533
|
+
key: Z(v),
|
|
5531
5534
|
class: nt(Z(Bo))
|
|
5532
5535
|
}, [
|
|
5533
|
-
(U(!0),
|
|
5536
|
+
(U(!0), ve(at, null, Un(Z(E), (H, X) => (U(), ve(at, {
|
|
5534
5537
|
key: H.key
|
|
5535
5538
|
}, [
|
|
5536
5539
|
e.chips ? (U(), Q(ea, {
|
|
@@ -5571,8 +5574,8 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5571
5574
|
]),
|
|
5572
5575
|
key: "1"
|
|
5573
5576
|
} : void 0
|
|
5574
|
-
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(),
|
|
5575
|
-
$e("div",
|
|
5577
|
+
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div", xu, [
|
|
5578
|
+
$e("div", Iu, [
|
|
5576
5579
|
_e(y.$slots, "itemBefore", { item: H })
|
|
5577
5580
|
]),
|
|
5578
5581
|
$e("div", {
|
|
@@ -5588,7 +5591,7 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5588
5591
|
}),
|
|
5589
5592
|
icon: "mdi-drag"
|
|
5590
5593
|
}, null, 8, ["class"]),
|
|
5591
|
-
$e("div",
|
|
5594
|
+
$e("div", Mu, [
|
|
5592
5595
|
_e(y.$slots, "item", { item: H })
|
|
5593
5596
|
]),
|
|
5594
5597
|
$e("div", {
|
|
@@ -5671,13 +5674,13 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5671
5674
|
])
|
|
5672
5675
|
], 2)
|
|
5673
5676
|
], 2),
|
|
5674
|
-
$e("div",
|
|
5677
|
+
$e("div", _u, [
|
|
5675
5678
|
_e(y.$slots, "itemAfter", { item: H })
|
|
5676
5679
|
])
|
|
5677
5680
|
]))
|
|
5678
5681
|
], 64))), 128))
|
|
5679
5682
|
], 2))
|
|
5680
|
-
], 10,
|
|
5683
|
+
], 10, Au),
|
|
5681
5684
|
_e(y.$slots, "add-last-activator", {
|
|
5682
5685
|
props: { onClick: Ee(() => m(), ["stop"]) }
|
|
5683
5686
|
}, () => [
|
|
@@ -5742,13 +5745,13 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
|
|
|
5742
5745
|
};
|
|
5743
5746
|
}
|
|
5744
5747
|
});
|
|
5745
|
-
function
|
|
5748
|
+
function Fu() {
|
|
5746
5749
|
return {
|
|
5747
5750
|
createDefaultUserAdminConfig: (n) => ({
|
|
5748
5751
|
id: 0,
|
|
5749
5752
|
user: 0,
|
|
5750
|
-
configType:
|
|
5751
|
-
layoutType:
|
|
5753
|
+
configType: $s,
|
|
5754
|
+
layoutType: Fs,
|
|
5752
5755
|
systemResource: "",
|
|
5753
5756
|
customName: "",
|
|
5754
5757
|
defaultConfig: !1,
|
|
@@ -5763,19 +5766,19 @@ function $u() {
|
|
|
5763
5766
|
})
|
|
5764
5767
|
};
|
|
5765
5768
|
}
|
|
5766
|
-
const
|
|
5769
|
+
const Ou = {
|
|
5767
5770
|
key: 0,
|
|
5768
5771
|
class: "w-100 pt-4"
|
|
5769
|
-
},
|
|
5772
|
+
}, Bu = {
|
|
5770
5773
|
key: 1,
|
|
5771
5774
|
class: "w-100 pt-4"
|
|
5772
|
-
},
|
|
5775
|
+
}, Ru = {
|
|
5773
5776
|
key: 0,
|
|
5774
5777
|
class: "d-flex w-100 align-center justify-center"
|
|
5775
|
-
},
|
|
5778
|
+
}, Pu = { key: 1 }, Nu = {
|
|
5776
5779
|
key: 0,
|
|
5777
5780
|
class: "d-flex align-center justify-end"
|
|
5778
|
-
},
|
|
5781
|
+
}, Lu = /* @__PURE__ */ we({
|
|
5779
5782
|
__name: "FilterBookmarkDialog",
|
|
5780
5783
|
props: {
|
|
5781
5784
|
client: {},
|
|
@@ -5789,17 +5792,17 @@ const Fu = {
|
|
|
5789
5792
|
const t = e, a = n, r = ee(rt), o = ee(ct), l = ee(nr);
|
|
5790
5793
|
if (T(l) || T(r) || T(o))
|
|
5791
5794
|
throw new Error("Incorrect provide/inject config.");
|
|
5792
|
-
const s = P("add"), i = P(""), u = P(!1), m = P(!1), c = P(!1), g = P(!1), p = P(!1), E = P([]),
|
|
5795
|
+
const s = P("add"), i = P(""), u = P(!1), m = P(!1), c = P(!1), g = P(!1), p = P(!1), E = P([]), v = P(null), { required: f, maxLength: d } = Xa(), h = {
|
|
5793
5796
|
customName: {
|
|
5794
5797
|
required: f,
|
|
5795
5798
|
maxLength: d(100)
|
|
5796
5799
|
}
|
|
5797
|
-
}, C = Hn(
|
|
5800
|
+
}, C = Hn(h, { customName: i }, { $stopPropagation: !0 }), x = {
|
|
5798
5801
|
itemEdit: {
|
|
5799
5802
|
required: f,
|
|
5800
5803
|
maxLength: d(100)
|
|
5801
5804
|
}
|
|
5802
|
-
}, I = Hn(x, { itemEdit:
|
|
5805
|
+
}, I = Hn(x, { itemEdit: v }, { $stopPropagation: !0 }), b = ar(), {
|
|
5803
5806
|
createUserAdminConfig: _,
|
|
5804
5807
|
useFetchUserAdminConfigList: B,
|
|
5805
5808
|
updateUserAdminConfigPositions: k,
|
|
@@ -5808,7 +5811,7 @@ const Fu = {
|
|
|
5808
5811
|
} = (
|
|
5809
5812
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
5810
5813
|
or(t.client, t.system)
|
|
5811
|
-
), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = oa(), { createDefaultUserAdminConfig: y } =
|
|
5814
|
+
), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = oa(), { createDefaultUserAdminConfig: y } = Fu(), S = async () => {
|
|
5812
5815
|
c.value = !0;
|
|
5813
5816
|
const W = E.value.map((me) => me.id);
|
|
5814
5817
|
try {
|
|
@@ -5844,7 +5847,7 @@ const Fu = {
|
|
|
5844
5847
|
me
|
|
5845
5848
|
), a("onClose");
|
|
5846
5849
|
} catch (W) {
|
|
5847
|
-
if (Go(W) &&
|
|
5850
|
+
if (Go(W) && ni(W, "error_field_not_unique", "cms.userAdminConfig.model.systemResource")) {
|
|
5848
5851
|
w("common.filter.bookmark.nameUniqueError");
|
|
5849
5852
|
return;
|
|
5850
5853
|
}
|
|
@@ -5870,12 +5873,12 @@ const Fu = {
|
|
|
5870
5873
|
g.value = !1;
|
|
5871
5874
|
}
|
|
5872
5875
|
}, de = Mt("inputRef"), Ce = async (q) => {
|
|
5873
|
-
|
|
5876
|
+
v.value = { id: q.raw.id, customName: q.raw.customName }, await ze(), de.value?.focus();
|
|
5874
5877
|
}, Se = async (q) => {
|
|
5875
|
-
if (G(
|
|
5878
|
+
if (G(v.value)) return;
|
|
5876
5879
|
g.value = !0;
|
|
5877
5880
|
const W = Ie(q.raw);
|
|
5878
|
-
W.customName =
|
|
5881
|
+
W.customName = v.value.customName;
|
|
5879
5882
|
try {
|
|
5880
5883
|
z(), await R(W.id, W), await te();
|
|
5881
5884
|
} catch (me) {
|
|
@@ -5884,7 +5887,7 @@ const Fu = {
|
|
|
5884
5887
|
g.value = !1;
|
|
5885
5888
|
}
|
|
5886
5889
|
}, z = () => {
|
|
5887
|
-
|
|
5890
|
+
v.value = null;
|
|
5888
5891
|
}, te = async () => {
|
|
5889
5892
|
g.value = !0;
|
|
5890
5893
|
try {
|
|
@@ -5945,7 +5948,7 @@ const Fu = {
|
|
|
5945
5948
|
]),
|
|
5946
5949
|
_: 1
|
|
5947
5950
|
}, 8, ["modelValue"]),
|
|
5948
|
-
s.value === "add" ? (U(),
|
|
5951
|
+
s.value === "add" ? (U(), ve("div", Ou, [
|
|
5949
5952
|
N(Qt, {
|
|
5950
5953
|
title: Z(O)("common.filter.bookmark.infoSave")
|
|
5951
5954
|
}, null, 8, ["title"]),
|
|
@@ -5986,10 +5989,10 @@ const Fu = {
|
|
|
5986
5989
|
]),
|
|
5987
5990
|
_: 1
|
|
5988
5991
|
})
|
|
5989
|
-
])) : s.value === "manage" ? (U(),
|
|
5990
|
-
g.value ? (U(),
|
|
5992
|
+
])) : s.value === "manage" ? (U(), ve("div", Bu, [
|
|
5993
|
+
g.value ? (U(), ve("div", Ru, [
|
|
5991
5994
|
N(Uo, { indeterminate: "" })
|
|
5992
|
-
])) : (U(), Q(
|
|
5995
|
+
])) : (U(), Q($u, {
|
|
5993
5996
|
key: 1,
|
|
5994
5997
|
modelValue: E.value,
|
|
5995
5998
|
"onUpdate:modelValue": W[7] || (W[7] = (J) => E.value = J),
|
|
@@ -6000,22 +6003,22 @@ const Fu = {
|
|
|
6000
6003
|
onOnEdit: Ce
|
|
6001
6004
|
}, _t({
|
|
6002
6005
|
item: L(({ item: J }) => [
|
|
6003
|
-
|
|
6006
|
+
v.value && v.value.id === J.raw.id ? (U(), Q(po, {
|
|
6004
6007
|
key: 0,
|
|
6005
6008
|
ref_key: "inputRef",
|
|
6006
6009
|
ref: de,
|
|
6007
|
-
modelValue:
|
|
6008
|
-
"onUpdate:modelValue": W[5] || (W[5] = (le) =>
|
|
6010
|
+
modelValue: v.value.customName,
|
|
6011
|
+
"onUpdate:modelValue": W[5] || (W[5] = (le) => v.value.customName = le),
|
|
6009
6012
|
"hide-details": "auto",
|
|
6010
6013
|
v: Z(I)
|
|
6011
|
-
}, null, 8, ["modelValue", "v"])) : (U(),
|
|
6014
|
+
}, null, 8, ["modelValue", "v"])) : (U(), ve("div", Pu, ye(J.raw.customName), 1))
|
|
6012
6015
|
]),
|
|
6013
6016
|
_: 2
|
|
6014
6017
|
}, [
|
|
6015
|
-
Z(G)(
|
|
6018
|
+
Z(G)(v.value) ? void 0 : {
|
|
6016
6019
|
name: "item-buttons",
|
|
6017
6020
|
fn: L(({ item: J }) => [
|
|
6018
|
-
|
|
6021
|
+
v.value && v.value.id === J.raw.id ? (U(), ve("div", Nu, [
|
|
6019
6022
|
N(Ue, {
|
|
6020
6023
|
icon: "",
|
|
6021
6024
|
size: "x-small",
|
|
@@ -6092,7 +6095,7 @@ const Fu = {
|
|
|
6092
6095
|
});
|
|
6093
6096
|
};
|
|
6094
6097
|
}
|
|
6095
|
-
}),
|
|
6098
|
+
}), Yu = /* @__PURE__ */ we({
|
|
6096
6099
|
__name: "AFilterBookmarkButton",
|
|
6097
6100
|
props: /* @__PURE__ */ wt({
|
|
6098
6101
|
client: {},
|
|
@@ -6113,7 +6116,7 @@ const Fu = {
|
|
|
6113
6116
|
const n = Ut(e, "dialog"), t = (r) => {
|
|
6114
6117
|
Ga(r), n.value = !0;
|
|
6115
6118
|
}, { t: a } = Ne();
|
|
6116
|
-
return (r, o) => (U(),
|
|
6119
|
+
return (r, o) => (U(), ve(at, null, [
|
|
6117
6120
|
N(Ue, {
|
|
6118
6121
|
class: nt([e.buttonClass, "px-2"]),
|
|
6119
6122
|
"data-cy": e.dataCy,
|
|
@@ -6139,7 +6142,7 @@ const Fu = {
|
|
|
6139
6142
|
]),
|
|
6140
6143
|
_: 1
|
|
6141
6144
|
}, 8, ["class", "data-cy"]),
|
|
6142
|
-
n.value ? (U(), Q(
|
|
6145
|
+
n.value ? (U(), Q(Lu, {
|
|
6143
6146
|
key: 0,
|
|
6144
6147
|
client: e.client,
|
|
6145
6148
|
system: e.system,
|
|
@@ -6150,10 +6153,10 @@ const Fu = {
|
|
|
6150
6153
|
}, null, 8, ["client", "system", "user", "subject", "datatable-hidden-columns"])) : be("", !0)
|
|
6151
6154
|
], 64));
|
|
6152
6155
|
}
|
|
6153
|
-
}),
|
|
6156
|
+
}), Uu = { class: "subject-select-filter__content px-2 py-4" }, Vu = { class: "d-flex flex-wrap align-center" }, Hu = {
|
|
6154
6157
|
key: 0,
|
|
6155
6158
|
class: "subject-select-filter__actions"
|
|
6156
|
-
},
|
|
6159
|
+
}, Td = /* @__PURE__ */ we({
|
|
6157
6160
|
__name: "AFilterWrapperSubjectSelect",
|
|
6158
6161
|
props: /* @__PURE__ */ wt({
|
|
6159
6162
|
hideButtons: { type: Boolean, default: !1 },
|
|
@@ -6182,7 +6185,7 @@ const Fu = {
|
|
|
6182
6185
|
const u = P(0);
|
|
6183
6186
|
lo(kt, u);
|
|
6184
6187
|
const m = P(/* @__PURE__ */ new Map());
|
|
6185
|
-
lo(
|
|
6188
|
+
lo(vt, m);
|
|
6186
6189
|
const c = () => {
|
|
6187
6190
|
u.value++, ze(() => {
|
|
6188
6191
|
r("submit");
|
|
@@ -6191,27 +6194,27 @@ const Fu = {
|
|
|
6191
6194
|
ze(() => {
|
|
6192
6195
|
u.value++, r("bookmarkLoadAfter");
|
|
6193
6196
|
});
|
|
6194
|
-
},
|
|
6197
|
+
}, v = () => {
|
|
6195
6198
|
g(s, l), p(s, l, m), ze(() => {
|
|
6196
6199
|
u.value++, r("reset");
|
|
6197
6200
|
});
|
|
6198
|
-
}, f = V(() => l.touched), d = V(() => Object.entries(l.fields).filter(([,
|
|
6201
|
+
}, f = V(() => l.touched), d = V(() => Object.entries(l.fields).filter(([, h]) => !h.render.skip).map(([h]) => h));
|
|
6199
6202
|
return n({
|
|
6200
6203
|
submit: c,
|
|
6201
|
-
reset:
|
|
6202
|
-
}), (
|
|
6204
|
+
reset: v
|
|
6205
|
+
}), (h, C) => (U(), Q(al, {
|
|
6203
6206
|
name: e.formName,
|
|
6204
6207
|
onSubmit: Ee(c, ["prevent"])
|
|
6205
6208
|
}, {
|
|
6206
6209
|
default: L(() => [
|
|
6207
|
-
$e("div",
|
|
6208
|
-
_e(
|
|
6210
|
+
$e("div", Uu, [
|
|
6211
|
+
_e(h.$slots, "bookmarks", {}, () => [
|
|
6209
6212
|
N(Ea, { dense: "" }, {
|
|
6210
6213
|
default: L(() => [
|
|
6211
|
-
e.store && e.userId && Z(
|
|
6214
|
+
e.store && e.userId && Z(he)(e.client) ? (U(), Q(Ta, { key: 0 }, {
|
|
6212
6215
|
default: L(() => [
|
|
6213
|
-
$e("div",
|
|
6214
|
-
i.value.system && i.value.subject && e.userId && Z(
|
|
6216
|
+
$e("div", Vu, [
|
|
6217
|
+
i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Ns, {
|
|
6215
6218
|
key: 0,
|
|
6216
6219
|
"datatable-hidden-columns": o.value,
|
|
6217
6220
|
"onUpdate:datatableHiddenColumns": C[0] || (C[0] = (x) => o.value = x),
|
|
@@ -6229,10 +6232,10 @@ const Fu = {
|
|
|
6229
6232
|
_: 1
|
|
6230
6233
|
})
|
|
6231
6234
|
]),
|
|
6232
|
-
_e(
|
|
6235
|
+
_e(h.$slots, "detail", {}, () => [
|
|
6233
6236
|
N(Ea, null, {
|
|
6234
6237
|
default: L(() => [
|
|
6235
|
-
(U(!0),
|
|
6238
|
+
(U(!0), ve(at, null, Un(d.value, (x) => (U(), Q(Ta, {
|
|
6236
6239
|
key: x,
|
|
6237
6240
|
cols: Z(l).fields[x].render.xs || 12,
|
|
6238
6241
|
sm: Z(l).fields[x].render.sm || 12,
|
|
@@ -6241,10 +6244,10 @@ const Fu = {
|
|
|
6241
6244
|
xl: Z(l).fields[x].render.xl || 12
|
|
6242
6245
|
}, {
|
|
6243
6246
|
default: L(() => [
|
|
6244
|
-
_e(
|
|
6247
|
+
_e(h.$slots, Z(xs)(x), {
|
|
6245
6248
|
itemConfig: Z(l).fields[x]
|
|
6246
6249
|
}, () => [
|
|
6247
|
-
N(
|
|
6250
|
+
N(_s, { name: x }, null, 8, ["name"])
|
|
6248
6251
|
])
|
|
6249
6252
|
]),
|
|
6250
6253
|
_: 2
|
|
@@ -6254,11 +6257,11 @@ const Fu = {
|
|
|
6254
6257
|
})
|
|
6255
6258
|
])
|
|
6256
6259
|
]),
|
|
6257
|
-
e.hideButtons ? be("", !0) : (U(),
|
|
6258
|
-
_e(
|
|
6259
|
-
N(
|
|
6260
|
-
N(
|
|
6261
|
-
i.value.system && i.value.subject && e.userId && Z(
|
|
6260
|
+
e.hideButtons ? be("", !0) : (U(), ve("div", Hu, [
|
|
6261
|
+
_e(h.$slots, "buttons", {}, () => [
|
|
6262
|
+
N(Ti, { touched: f.value }, null, 8, ["touched"]),
|
|
6263
|
+
N(Ai, { onReset: v }),
|
|
6264
|
+
i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Yu, {
|
|
6262
6265
|
key: 0,
|
|
6263
6266
|
client: e.client,
|
|
6264
6267
|
user: e.userId,
|
|
@@ -6272,15 +6275,15 @@ const Fu = {
|
|
|
6272
6275
|
_: 3
|
|
6273
6276
|
}, 8, ["name"]));
|
|
6274
6277
|
}
|
|
6275
|
-
}),
|
|
6278
|
+
}), Ad = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
|
|
6276
6279
|
e().delete(Cn(n, t), o).then((i) => Dn(i.status) ? i.data ? l(i.data) : i.status === Wt ? l(null) : s(new ot()) : s(new Xt(i.status))).catch((i) => bn(i) ? s(new Kt(i, i.config?.url)) : yn(i) ? s(new Gt(i, a, r, i)) : wn(i) ? s(new Jt(i, a, r, i)) : Sn(i) ? s(new Zt(i, i)) : s(new ot(i)));
|
|
6277
|
-
}),
|
|
6280
|
+
}), qu = {
|
|
6278
6281
|
key: 0,
|
|
6279
6282
|
class: "font-italic pl-1"
|
|
6280
|
-
},
|
|
6283
|
+
}, ju = {
|
|
6281
6284
|
key: 0,
|
|
6282
6285
|
class: "required"
|
|
6283
|
-
},
|
|
6286
|
+
}, zu = 300, xd = /* @__PURE__ */ we({
|
|
6284
6287
|
__name: "AFormRemoteAutocomplete",
|
|
6285
6288
|
props: /* @__PURE__ */ wt({
|
|
6286
6289
|
label: { default: void 0 },
|
|
@@ -6336,14 +6339,14 @@ const Fu = {
|
|
|
6336
6339
|
}
|
|
6337
6340
|
}), { collabOptions: g } = zt(), p = P((j) => {
|
|
6338
6341
|
}), E = P((j) => {
|
|
6339
|
-
}),
|
|
6342
|
+
}), v = P(() => {
|
|
6340
6343
|
}), f = P(null);
|
|
6341
|
-
if (g.value.enabled &&
|
|
6344
|
+
if (g.value.enabled && he(a.collab)) {
|
|
6342
6345
|
const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } = aa(
|
|
6343
6346
|
a.collab.room,
|
|
6344
6347
|
a.collab.field
|
|
6345
6348
|
);
|
|
6346
|
-
p.value = j, E.value = se,
|
|
6349
|
+
p.value = j, E.value = se, v.value = ge, Te(
|
|
6347
6350
|
pe,
|
|
6348
6351
|
(Ot) => {
|
|
6349
6352
|
f.value = Ot;
|
|
@@ -6351,14 +6354,14 @@ const Fu = {
|
|
|
6351
6354
|
{ immediate: !0 }
|
|
6352
6355
|
);
|
|
6353
6356
|
}
|
|
6354
|
-
const d = P(""),
|
|
6355
|
-
|
|
6356
|
-
}, k = V(() =>
|
|
6357
|
-
if (
|
|
6357
|
+
const d = P(""), h = P(!1), C = P(null), x = P(0), { t: I } = Ne(), b = ee(Va, void 0), _ = ee(Ha, void 0), B = () => {
|
|
6358
|
+
h.value = !1, r("blur", m.value), a.v?.$touch(), p.value(m.value);
|
|
6359
|
+
}, k = V(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((j) => j.$message) : []), $ = V(() => {
|
|
6360
|
+
if (he(a.label)) return a.label;
|
|
6358
6361
|
if (T(b) || T(_) || T(a.v?.$path)) return "";
|
|
6359
|
-
const { end: j } =
|
|
6362
|
+
const { end: j } = vn(a.v?.$path, ".");
|
|
6360
6363
|
return I(b + "." + _ + ".model." + j);
|
|
6361
|
-
}), R = V(() =>
|
|
6364
|
+
}), R = V(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), O = V(() => he(a.disabled) ? a.disabled : !!f.value), { pagination: M } = hn(G(u) ? null : u.key, u?.order), A = P([]), w = P([]), y = P(!0), S = P(!1), D = V(() => {
|
|
6362
6365
|
const j = /* @__PURE__ */ new Map(), se = (ge) => {
|
|
6363
6366
|
ge.forEach((pe) => {
|
|
6364
6367
|
j.set(pe.value, {
|
|
@@ -6421,14 +6424,14 @@ const Fu = {
|
|
|
6421
6424
|
}
|
|
6422
6425
|
}
|
|
6423
6426
|
}, q = async () => {
|
|
6424
|
-
|
|
6427
|
+
h.value = !0, v.value(), await te("focus", m.value), r("focus", m.value);
|
|
6425
6428
|
}, W = async () => {
|
|
6426
6429
|
await te("hover", m.value);
|
|
6427
6430
|
}, me = V(() => {
|
|
6428
6431
|
if (!a.multiple && w.value[0])
|
|
6429
6432
|
return w.value[0].title;
|
|
6430
6433
|
}), K = (j) => {
|
|
6431
|
-
!a.multiple && !
|
|
6434
|
+
!a.multiple && !h.value && j.length === 0 || me.value !== j && (d.value = j);
|
|
6432
6435
|
}, J = async () => {
|
|
6433
6436
|
try {
|
|
6434
6437
|
A.value = await a.fetchItems(M, l, o);
|
|
@@ -6458,7 +6461,7 @@ const Fu = {
|
|
|
6458
6461
|
x.value++, z(j, x.value), r("searchChangeDebounced", j);
|
|
6459
6462
|
}
|
|
6460
6463
|
},
|
|
6461
|
-
{ debounce:
|
|
6464
|
+
{ debounce: zu }
|
|
6462
6465
|
), Te(d, (j, se) => {
|
|
6463
6466
|
j !== se && r("searchChange", j);
|
|
6464
6467
|
});
|
|
@@ -6483,7 +6486,7 @@ const Fu = {
|
|
|
6483
6486
|
m,
|
|
6484
6487
|
async (j, se) => {
|
|
6485
6488
|
if (j !== se) {
|
|
6486
|
-
if (y.value && (y.value = !1, await te("mounted", j)), g.value.enabled &&
|
|
6489
|
+
if (y.value && (y.value = !1, await te("mounted", j)), g.value.enabled && h.value && E.value(j), Vo(j)) {
|
|
6487
6490
|
X(j);
|
|
6488
6491
|
return;
|
|
6489
6492
|
}
|
|
@@ -6533,17 +6536,17 @@ const Fu = {
|
|
|
6533
6536
|
}, {
|
|
6534
6537
|
default: L(() => [
|
|
6535
6538
|
Oe(ye(pe.raw.title) + " ", 1),
|
|
6536
|
-
pe.raw.subtitle ? (U(),
|
|
6539
|
+
pe.raw.subtitle ? (U(), ve("span", qu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
|
|
6537
6540
|
]),
|
|
6538
6541
|
_: 2
|
|
6539
6542
|
}, 1032, ["closable", "text", "disabled", "onClick:close"])
|
|
6540
6543
|
]),
|
|
6541
6544
|
label: L(() => [
|
|
6542
|
-
e.hideLabel ? be("", !0) : (U(),
|
|
6545
|
+
e.hideLabel ? be("", !0) : (U(), ve("span", {
|
|
6543
6546
|
key: R.value + ""
|
|
6544
6547
|
}, [
|
|
6545
6548
|
Oe(ye($.value) + " ", 1),
|
|
6546
|
-
R.value ? (U(),
|
|
6549
|
+
R.value ? (U(), ve("span", ju)) : be("", !0)
|
|
6547
6550
|
]))
|
|
6548
6551
|
]),
|
|
6549
6552
|
_: 2
|
|
@@ -6574,69 +6577,69 @@ const Fu = {
|
|
|
6574
6577
|
export {
|
|
6575
6578
|
Tl as $,
|
|
6576
6579
|
Ga as A,
|
|
6577
|
-
|
|
6580
|
+
Ti as B,
|
|
6578
6581
|
on as C,
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
+
Ai as D,
|
|
6583
|
+
vd as E,
|
|
6584
|
+
gd as F,
|
|
6582
6585
|
er as G,
|
|
6583
6586
|
Ia as H,
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
+
wc as I,
|
|
6588
|
+
Ol as J,
|
|
6589
|
+
xi as K,
|
|
6587
6590
|
Ml as L,
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6591
|
+
Fc as M,
|
|
6592
|
+
Pc as N,
|
|
6593
|
+
Bc as O,
|
|
6594
|
+
Rc as P,
|
|
6595
|
+
Yc as Q,
|
|
6596
|
+
Nc as R,
|
|
6594
6597
|
Va as S,
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
+
Lc as T,
|
|
6599
|
+
Uc as U,
|
|
6600
|
+
Oc as V,
|
|
6598
6601
|
sa as W,
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
+
jc as X,
|
|
6603
|
+
zc as Y,
|
|
6604
|
+
Hc as Z,
|
|
6602
6605
|
na as _,
|
|
6603
6606
|
aa as a,
|
|
6604
|
-
|
|
6607
|
+
ei as a$,
|
|
6605
6608
|
_l as a0,
|
|
6606
6609
|
De as a1,
|
|
6607
|
-
|
|
6608
|
-
|
|
6610
|
+
_c as a2,
|
|
6611
|
+
$c as a3,
|
|
6609
6612
|
so as a4,
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
+
bd as a5,
|
|
6614
|
+
ws as a6,
|
|
6615
|
+
Gl as a7,
|
|
6613
6616
|
bn as a8,
|
|
6614
6617
|
Kt as a9,
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6618
|
+
Dd as aA,
|
|
6619
|
+
kd as aB,
|
|
6620
|
+
ks as aC,
|
|
6621
|
+
Ds as aD,
|
|
6619
6622
|
rt as aE,
|
|
6620
6623
|
ct as aF,
|
|
6621
6624
|
tr as aG,
|
|
6622
|
-
|
|
6625
|
+
Td as aH,
|
|
6623
6626
|
Xa as aI,
|
|
6624
|
-
|
|
6625
|
-
|
|
6627
|
+
Xl as aJ,
|
|
6628
|
+
fi as aK,
|
|
6626
6629
|
po as aL,
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6630
|
+
wu as aM,
|
|
6631
|
+
Tu as aN,
|
|
6632
|
+
cu as aO,
|
|
6633
|
+
Ad as aP,
|
|
6634
|
+
Xc as aQ,
|
|
6635
|
+
kc as aR,
|
|
6633
6636
|
nn as aS,
|
|
6634
6637
|
Bo as aT,
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6638
|
+
ku as aU,
|
|
6639
|
+
Du as aV,
|
|
6640
|
+
Cu as aW,
|
|
6641
|
+
xs as aX,
|
|
6642
|
+
Qc as aY,
|
|
6640
6643
|
ja as aZ,
|
|
6641
6644
|
Go as a_,
|
|
6642
6645
|
yn as aa,
|
|
@@ -6644,8 +6647,8 @@ export {
|
|
|
6644
6647
|
Sn as ac,
|
|
6645
6648
|
Zt as ad,
|
|
6646
6649
|
ot as ae,
|
|
6647
|
-
|
|
6648
|
-
|
|
6650
|
+
ps as af,
|
|
6651
|
+
vs as ag,
|
|
6649
6652
|
st as ah,
|
|
6650
6653
|
Cn as ai,
|
|
6651
6654
|
Dn as aj,
|
|
@@ -6653,118 +6656,119 @@ export {
|
|
|
6653
6656
|
Wt as al,
|
|
6654
6657
|
wn as am,
|
|
6655
6658
|
Jt as an,
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6659
|
+
ys as ao,
|
|
6660
|
+
bs as ap,
|
|
6661
|
+
wd as aq,
|
|
6662
|
+
hn as ar,
|
|
6663
|
+
Zc as as,
|
|
6661
6664
|
Dt as at,
|
|
6662
6665
|
Ka as au,
|
|
6663
6666
|
ie as av,
|
|
6664
|
-
|
|
6667
|
+
Jc as aw,
|
|
6665
6668
|
Ja as ax,
|
|
6666
6669
|
Za as ay,
|
|
6667
|
-
|
|
6670
|
+
Cd as az,
|
|
6668
6671
|
an as b,
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6672
|
+
za as b$,
|
|
6673
|
+
Kl as b0,
|
|
6674
|
+
Tc as b1,
|
|
6675
|
+
ed as b2,
|
|
6676
|
+
Wc as b3,
|
|
6674
6677
|
Dl as b4,
|
|
6675
6678
|
El as b5,
|
|
6676
6679
|
co as b6,
|
|
6677
6680
|
Tn as b7,
|
|
6678
6681
|
uo as b8,
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6682
|
+
Ii as b9,
|
|
6683
|
+
fd as bA,
|
|
6684
|
+
Ed as bB,
|
|
6685
|
+
As as bC,
|
|
6686
|
+
td as bD,
|
|
6687
|
+
nd as bE,
|
|
6688
|
+
Jl as bF,
|
|
6689
|
+
ad as bG,
|
|
6687
6690
|
qa as bH,
|
|
6688
6691
|
jo as bI,
|
|
6689
|
-
|
|
6692
|
+
Vc as bJ,
|
|
6690
6693
|
zo as bK,
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6694
|
+
qc as bL,
|
|
6695
|
+
Fl as bM,
|
|
6696
|
+
ri as bN,
|
|
6697
|
+
ni as bO,
|
|
6698
|
+
si as bP,
|
|
6699
|
+
kt as bQ,
|
|
6700
|
+
vt as bR,
|
|
6698
6701
|
yd as bS,
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6702
|
+
Sd as bT,
|
|
6703
|
+
md as bU,
|
|
6704
|
+
xt as bV,
|
|
6705
|
+
Ns as bW,
|
|
6706
|
+
Yu as bX,
|
|
6707
|
+
_s as bY,
|
|
6708
|
+
nr as bZ,
|
|
6709
|
+
Xo as b_,
|
|
6710
|
+
xd as ba,
|
|
6708
6711
|
wo as bb,
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
+
$u as bc,
|
|
6713
|
+
Kc as bd,
|
|
6714
|
+
pd as be,
|
|
6712
6715
|
hd as bf,
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6716
|
+
Ec as bg,
|
|
6717
|
+
Ac as bh,
|
|
6718
|
+
Ic as bi,
|
|
6719
|
+
Mc as bj,
|
|
6717
6720
|
sl as bk,
|
|
6718
|
-
|
|
6721
|
+
xc as bl,
|
|
6719
6722
|
qo as bm,
|
|
6720
6723
|
ra as bn,
|
|
6721
6724
|
la as bo,
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6725
|
+
rd as bp,
|
|
6726
|
+
id as bq,
|
|
6727
|
+
ld as br,
|
|
6728
|
+
ud as bs,
|
|
6729
|
+
Di as bt,
|
|
6727
6730
|
Ma as bu,
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6731
|
+
od as bv,
|
|
6732
|
+
Ci as bw,
|
|
6733
|
+
sd as bx,
|
|
6734
|
+
cd as by,
|
|
6735
|
+
dd as bz,
|
|
6733
6736
|
Ha as c,
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6737
|
+
Wa as c0,
|
|
6738
|
+
gs as c1,
|
|
6739
|
+
Ss as c2,
|
|
6740
|
+
Bl as c3,
|
|
6738
6741
|
Is as c4,
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6742
|
+
Ms as c5,
|
|
6743
|
+
en as c6,
|
|
6744
|
+
or as c7,
|
|
6745
|
+
jn as c8,
|
|
6746
|
+
$s as c9,
|
|
6747
|
+
It as ca,
|
|
6748
|
+
Fs as cb,
|
|
6749
|
+
Fu as cc,
|
|
6746
6750
|
T as d,
|
|
6747
6751
|
Ht as e,
|
|
6748
6752
|
Ie as f,
|
|
6749
6753
|
G as g,
|
|
6750
6754
|
mt as h,
|
|
6751
|
-
|
|
6752
|
-
|
|
6755
|
+
he as i,
|
|
6756
|
+
Gc as j,
|
|
6753
6757
|
Wo as k,
|
|
6754
6758
|
oa as l,
|
|
6755
6759
|
Zo as m,
|
|
6756
|
-
|
|
6760
|
+
ki as n,
|
|
6757
6761
|
Qt as o,
|
|
6758
6762
|
ue as p,
|
|
6759
6763
|
gn as q,
|
|
6760
6764
|
un as r,
|
|
6761
|
-
|
|
6765
|
+
vn as s,
|
|
6762
6766
|
Aa as t,
|
|
6763
6767
|
zt as u,
|
|
6764
|
-
|
|
6765
|
-
|
|
6768
|
+
Dc as v,
|
|
6769
|
+
Cc as w,
|
|
6766
6770
|
Fe as x,
|
|
6767
6771
|
Vo as y,
|
|
6768
6772
|
il as z
|
|
6769
6773
|
};
|
|
6770
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
6774
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs.map
|