@anzusystems/common-admin 1.47.0-beta.354 → 1.47.0-beta.356
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-CjOiytrn.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs} +484 -469
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs.map +1 -0
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.d.ts +6 -2
- package/dist/common-admin.js +2644 -2629
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.d.ts +1 -0
- package/dist/labs.js +110 -107
- package/dist/labs.js.map +1 -1
- package/package.json +8 -8
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
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 Xn, 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 Ln, 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 Da, vModelText as oo, getCurrentInstance as Zn, resolveDynamicComponent as Ar, renderList as Yn, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Un, 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
|
-
import { VAutocomplete as
|
|
5
|
-
import { VChip as
|
|
4
|
+
import { VAutocomplete as Jn } from "vuetify/components/VAutocomplete";
|
|
5
|
+
import { VChip as Qn } from "vuetify/components/VChip";
|
|
6
6
|
import { VListItem as Vt, VList as Ro, VListItemTitle as Nr } from "vuetify/components/VList";
|
|
7
7
|
import { VBtn as Ue } from "vuetify/components/VBtn";
|
|
8
8
|
import { VIcon as Pe } from "vuetify/components/VIcon";
|
|
9
9
|
import { VTooltip as St } from "vuetify/components/VTooltip";
|
|
10
|
-
import { VTextField as
|
|
10
|
+
import { VTextField as ea } from "vuetify/components/VTextField";
|
|
11
11
|
import { VSelect as Lr } from "vuetify/components/VSelect";
|
|
12
|
-
import
|
|
12
|
+
import Vn from "@vuelidate/core";
|
|
13
13
|
import { createI18nMessage as Xe, between as Yr, email as Ur, maxLength as Vr, maxValue as Hr, minLength as qr, minValue as jr, numeric as zr, required as Wr, requiredIf as Kr, helpers as Po, url as Gr } from "@vuelidate/validators";
|
|
14
14
|
import { VCard as La, VCardActions as No, VCardText as Xr } from "vuetify/components/VCard";
|
|
15
15
|
import { VDatePicker as Zr } from "vuetify/components/VDatePicker";
|
|
@@ -17,7 +17,7 @@ import { VMenu as Ya } from "vuetify/components/VMenu";
|
|
|
17
17
|
import { Tooltip as Lo } from "vuetify/directives";
|
|
18
18
|
import { defineStore as Jr } from "pinia";
|
|
19
19
|
import $t from "axios";
|
|
20
|
-
import { VRow as
|
|
20
|
+
import { VRow as ka, VCol as Ea, VSpacer as Ua } from "vuetify/components/VGrid";
|
|
21
21
|
import { VToolbar as Qr, VToolbarTitle as el } from "vuetify/components/VToolbar";
|
|
22
22
|
import { VSwitch as tl } from "vuetify/components/VSwitch";
|
|
23
23
|
import { VDialog as Yo } from "vuetify/components/VDialog";
|
|
@@ -35,9 +35,9 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
35
35
|
titleClass: { default: "font-weight-bold text-subtitle-2" }
|
|
36
36
|
},
|
|
37
37
|
setup(e) {
|
|
38
|
-
return (n, t) => (U(), Q(
|
|
38
|
+
return (n, t) => (U(), Q(ka, { "data-cy": e.dataCy }, {
|
|
39
39
|
default: L(() => [
|
|
40
|
-
N(
|
|
40
|
+
N(Ea, null, {
|
|
41
41
|
default: L(() => [
|
|
42
42
|
e.title.length ? (U(), ve("h4", {
|
|
43
43
|
key: 0,
|
|
@@ -53,13 +53,18 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
53
53
|
_: 3
|
|
54
54
|
}, 8, ["data-cy"]));
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), Vo = (e, n) => {
|
|
57
|
+
const t = e.__vccOpts || e;
|
|
58
|
+
for (const [a, r] of n)
|
|
59
|
+
t[a] = r;
|
|
60
|
+
return t;
|
|
61
|
+
}, 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), Dc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", kc = (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), Ec = (e) => {
|
|
57
62
|
const n = parseFloat(e);
|
|
58
63
|
return !isNaN(e) && (n | 0) === n;
|
|
59
|
-
}, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1,
|
|
64
|
+
}, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Ta = (e) => ue(e) && e.length === 0, Ho = (e) => G(e) || T(e) || e === "" || e === 0 || Ta(e) || un(e), Ie = (e) => {
|
|
60
65
|
if (typeof structuredClone == "function")
|
|
61
66
|
try {
|
|
62
|
-
return Cr(e) ? structuredClone(
|
|
67
|
+
return Cr(e) ? structuredClone(Xn(e)) : Ra(e) ? structuredClone(Z(e)) : structuredClone(e);
|
|
63
68
|
} catch {
|
|
64
69
|
return JSON.parse(JSON.stringify(e));
|
|
65
70
|
}
|
|
@@ -72,7 +77,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
72
77
|
return n;
|
|
73
78
|
}
|
|
74
79
|
return Number.isNaN(t) ? n : t;
|
|
75
|
-
},
|
|
80
|
+
}, Tc = (e, n = 0) => {
|
|
76
81
|
let t = n;
|
|
77
82
|
try {
|
|
78
83
|
t = Number.parseFloat(e);
|
|
@@ -80,13 +85,13 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
80
85
|
return n;
|
|
81
86
|
}
|
|
82
87
|
return Number.isNaN(t) ? n : t;
|
|
83
|
-
},
|
|
88
|
+
}, qo = (e, n) => {
|
|
84
89
|
const t = e.trim();
|
|
85
90
|
if (t === "")
|
|
86
91
|
return null;
|
|
87
92
|
const a = Number(t);
|
|
88
93
|
return !Number.isNaN(a) && Number.isFinite(a) ? a : null;
|
|
89
|
-
},
|
|
94
|
+
}, jo = (e) => {
|
|
90
95
|
const n = e.trim();
|
|
91
96
|
return n === "true" ? !0 : n === "false" ? !1 : null;
|
|
92
97
|
}, vn = (e, n = "") => {
|
|
@@ -95,7 +100,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
95
100
|
start: e.slice(0, t),
|
|
96
101
|
end: e.slice(t + n.length)
|
|
97
102
|
};
|
|
98
|
-
},
|
|
103
|
+
}, Ac = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), xc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Ic = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, sl = (e, n) => {
|
|
99
104
|
if (e.indexOf(":") === -1) return e;
|
|
100
105
|
const t = [], [a, r] = e.split("?");
|
|
101
106
|
return a.split("/").forEach((l, s) => {
|
|
@@ -103,7 +108,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
103
108
|
const i = l.substring(1);
|
|
104
109
|
T(n[i]) || (t[s] = n[l.substring(1)] + "");
|
|
105
110
|
}), t.join("/") + (r ? `?${r}` : "");
|
|
106
|
-
},
|
|
111
|
+
}, Mc = (e, n) => {
|
|
107
112
|
if (e.indexOf(":") === -1) return e;
|
|
108
113
|
const t = [];
|
|
109
114
|
return e.split("/").forEach((r, o) => {
|
|
@@ -112,7 +117,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
112
117
|
const l = /^:([a-zA-Z0-9_-]+).*/, s = r.match(l);
|
|
113
118
|
G(s) || !s[1] || T(n[s[1]]) || (t[o] = n[s[1]] + "");
|
|
114
119
|
}), t.join("/");
|
|
115
|
-
},
|
|
120
|
+
}, _c = (e) => e.replace(".", "-"), $c = (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"), Fc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Oc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ we({
|
|
116
121
|
__name: "AAnzuUserAvatar",
|
|
117
122
|
props: {
|
|
118
123
|
user: { default: void 0 },
|
|
@@ -153,7 +158,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
153
158
|
l[0] || (l[0] = $e("div", null, null, -1))
|
|
154
159
|
], 64));
|
|
155
160
|
}
|
|
156
|
-
}), ul = { class: "d-inline-flex" }, cl = { key: 0 },
|
|
161
|
+
}), ul = { class: "d-inline-flex" }, cl = { key: 0 }, ta = /* @__PURE__ */ we({
|
|
157
162
|
__name: "ACollabLockedByUser",
|
|
158
163
|
props: {
|
|
159
164
|
id: {},
|
|
@@ -229,39 +234,39 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
|
|
|
229
234
|
function Dl() {
|
|
230
235
|
return Ge(dl);
|
|
231
236
|
}
|
|
232
|
-
function
|
|
237
|
+
function Bc() {
|
|
233
238
|
return Ge(fl);
|
|
234
239
|
}
|
|
235
|
-
function
|
|
240
|
+
function Rc() {
|
|
236
241
|
return Ge(
|
|
237
242
|
ml
|
|
238
243
|
);
|
|
239
244
|
}
|
|
240
|
-
function
|
|
245
|
+
function zo() {
|
|
241
246
|
return Ge(pl);
|
|
242
247
|
}
|
|
243
|
-
function
|
|
248
|
+
function Pc() {
|
|
244
249
|
return Ge(vl);
|
|
245
250
|
}
|
|
246
|
-
function
|
|
251
|
+
function Nc() {
|
|
247
252
|
return Ge(hl);
|
|
248
253
|
}
|
|
249
|
-
function
|
|
254
|
+
function Lc() {
|
|
250
255
|
return Ge(gl);
|
|
251
256
|
}
|
|
252
|
-
function
|
|
257
|
+
function Yc() {
|
|
253
258
|
return Ge(bl);
|
|
254
259
|
}
|
|
255
|
-
function
|
|
260
|
+
function Uc() {
|
|
256
261
|
return Ge(yl);
|
|
257
262
|
}
|
|
258
|
-
function
|
|
263
|
+
function Vc() {
|
|
259
264
|
return Ge(Sl);
|
|
260
265
|
}
|
|
261
|
-
function
|
|
266
|
+
function Hc() {
|
|
262
267
|
return Ge(wl);
|
|
263
268
|
}
|
|
264
|
-
function
|
|
269
|
+
function qc() {
|
|
265
270
|
return Ge(Cl);
|
|
266
271
|
}
|
|
267
272
|
const an = {
|
|
@@ -277,7 +282,7 @@ const an = {
|
|
|
277
282
|
function El() {
|
|
278
283
|
return Ge(kl);
|
|
279
284
|
}
|
|
280
|
-
const
|
|
285
|
+
const ia = {
|
|
281
286
|
Inactive: "inactive",
|
|
282
287
|
Active: "active"
|
|
283
288
|
}, Tl = {
|
|
@@ -285,46 +290,46 @@ const sa = {
|
|
|
285
290
|
Occupied: "occupied",
|
|
286
291
|
Failed: "failed"
|
|
287
292
|
};
|
|
288
|
-
function
|
|
293
|
+
function jc(e) {
|
|
289
294
|
return e.status === Tl.Ok;
|
|
290
295
|
}
|
|
291
|
-
const
|
|
296
|
+
const Wo = {
|
|
292
297
|
Ok: "ok",
|
|
293
298
|
Failed: "failed"
|
|
294
299
|
};
|
|
295
300
|
function uo(e) {
|
|
296
|
-
return e.status ===
|
|
301
|
+
return e.status === Wo.Ok;
|
|
297
302
|
}
|
|
298
303
|
function co(e) {
|
|
299
|
-
return e.status ===
|
|
304
|
+
return e.status === Wo.Failed;
|
|
300
305
|
}
|
|
301
|
-
const
|
|
306
|
+
const zc = {
|
|
302
307
|
Free: "free",
|
|
303
308
|
Moderated: "moderated"
|
|
304
|
-
},
|
|
309
|
+
}, Wc = {
|
|
305
310
|
Ok: "ok",
|
|
306
311
|
AlreadyRequested: "alreadyRequested",
|
|
307
312
|
Failed: "failed"
|
|
308
|
-
},
|
|
313
|
+
}, Kc = {
|
|
309
314
|
Ok: "ok",
|
|
310
315
|
AlreadyRequested: "alreadyRequested",
|
|
311
316
|
Failed: "failed"
|
|
312
|
-
},
|
|
317
|
+
}, Aa = P({
|
|
313
318
|
enabled: !1,
|
|
314
319
|
socketUrl: "",
|
|
315
320
|
beforeReconnect: () => new Promise((e) => e())
|
|
316
321
|
});
|
|
317
|
-
function
|
|
318
|
-
T(e) || (
|
|
322
|
+
function Gc(e) {
|
|
323
|
+
T(e) || (Aa.value = e);
|
|
319
324
|
}
|
|
320
325
|
function zt() {
|
|
321
|
-
if (T(
|
|
326
|
+
if (T(Aa.value))
|
|
322
327
|
throw new Error("Composable can't be used without properly configured common admin.");
|
|
323
328
|
return {
|
|
324
|
-
collabOptions:
|
|
329
|
+
collabOptions: Aa
|
|
325
330
|
};
|
|
326
331
|
}
|
|
327
|
-
const fo = P(!0), Al = P(), xl = jt(/* @__PURE__ */ new Map()), Il = jt(/* @__PURE__ */ new Map()),
|
|
332
|
+
const fo = P(!0), Al = P(), xl = jt(/* @__PURE__ */ new Map()), Il = jt(/* @__PURE__ */ new Map()), sa = jt(/* @__PURE__ */ new Map());
|
|
328
333
|
function Ml() {
|
|
329
334
|
const { collabOptions: e } = zt();
|
|
330
335
|
return {
|
|
@@ -333,12 +338,12 @@ function Ml() {
|
|
|
333
338
|
collabSocket: Al,
|
|
334
339
|
collabRoomInfoState: xl,
|
|
335
340
|
collabFieldLocksState: Il,
|
|
336
|
-
collabFieldDataBufferState:
|
|
341
|
+
collabFieldDataBufferState: sa,
|
|
337
342
|
gatherBufferData: (a) => {
|
|
338
|
-
|
|
343
|
+
zo().emit({ room: a });
|
|
339
344
|
let o = {};
|
|
340
|
-
const l =
|
|
341
|
-
return l && (o =
|
|
345
|
+
const l = sa.get(a);
|
|
346
|
+
return l && (o = Xn(Object.fromEntries(l.entries())), sa.delete(a)), o;
|
|
342
347
|
}
|
|
343
348
|
};
|
|
344
349
|
}
|
|
@@ -352,8 +357,8 @@ function _l() {
|
|
|
352
357
|
currentUserId: mo
|
|
353
358
|
};
|
|
354
359
|
}
|
|
355
|
-
function
|
|
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 =
|
|
360
|
+
function na(e, n, t = !1) {
|
|
361
|
+
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 = zo(), f = P(), d = P(), h = (O, M) => {
|
|
357
362
|
O.room !== e || O.field !== n || T(M) || T(c.value) || c.value(M);
|
|
358
363
|
}, C = (O, M) => {
|
|
359
364
|
O.room !== e || O.field !== n || T(M) || T(E.value) || E.value(M);
|
|
@@ -387,7 +392,7 @@ function aa(e, n, t = !1) {
|
|
|
387
392
|
acquireCollabFieldLock: (O = {}) => {
|
|
388
393
|
if (!a.value.enabled || T(o.value)) return;
|
|
389
394
|
const M = i.get(e);
|
|
390
|
-
M && M.status ===
|
|
395
|
+
M && M.status === ia.Inactive || o.value?.timeout(1e3).emit("acquireFieldLock", e, n, O, (A, w) => {
|
|
391
396
|
const y = { field: n, room: e };
|
|
392
397
|
if (A || co(w))
|
|
393
398
|
return void g.emit(
|
|
@@ -409,7 +414,7 @@ function aa(e, n, t = !1) {
|
|
|
409
414
|
releaseCollabFieldLock: (O, M = {}) => {
|
|
410
415
|
if (!a.value.enabled || T(o.value)) return;
|
|
411
416
|
const A = i.get(e);
|
|
412
|
-
if (A && A.status ===
|
|
417
|
+
if (A && A.status === ia.Inactive) {
|
|
413
418
|
s.has(e) || s.set(e, /* @__PURE__ */ new Map()), s.get(e)?.set(n, O);
|
|
414
419
|
return;
|
|
415
420
|
}
|
|
@@ -434,7 +439,7 @@ function aa(e, n, t = !1) {
|
|
|
434
439
|
changeCollabFieldData: (O) => {
|
|
435
440
|
if (!a.value.enabled || T(o.value)) return;
|
|
436
441
|
const M = i.get(e);
|
|
437
|
-
M && M.status ===
|
|
442
|
+
M && M.status === ia.Inactive || o.value.emit("changeFieldData", e, n, O, () => {
|
|
438
443
|
});
|
|
439
444
|
},
|
|
440
445
|
lockedByUser: B,
|
|
@@ -480,7 +485,7 @@ const $l = {
|
|
|
480
485
|
addCollabFieldLockStatusListener: _,
|
|
481
486
|
addCollabGatheringBufferDataListener: B,
|
|
482
487
|
lockedByUser: k
|
|
483
|
-
} =
|
|
488
|
+
} = na(a.collab.room, a.collab.field);
|
|
484
489
|
s.value = I, i.value = b, Te(
|
|
485
490
|
k,
|
|
486
491
|
($) => {
|
|
@@ -509,7 +514,7 @@ const $l = {
|
|
|
509
514
|
focus: () => {
|
|
510
515
|
o.value?.focus();
|
|
511
516
|
}
|
|
512
|
-
}), (I, b) => (U(), Q(
|
|
517
|
+
}), (I, b) => (U(), Q(ea, {
|
|
513
518
|
ref_key: "textFieldRef",
|
|
514
519
|
ref: o,
|
|
515
520
|
"prepend-icon": e.prependIcon,
|
|
@@ -543,7 +548,7 @@ const $l = {
|
|
|
543
548
|
name: "append-inner",
|
|
544
549
|
fn: L(() => [
|
|
545
550
|
_e(I.$slots, "locked", { userId: u.value }, () => [
|
|
546
|
-
e.collab ? (U(), Q(
|
|
551
|
+
e.collab ? (U(), Q(ta, {
|
|
547
552
|
key: 0,
|
|
548
553
|
id: u.value,
|
|
549
554
|
users: e.collab.cachedUsers
|
|
@@ -562,7 +567,7 @@ const $l = {
|
|
|
562
567
|
e.help ? {
|
|
563
568
|
name: "append",
|
|
564
569
|
fn: L(() => [
|
|
565
|
-
|
|
570
|
+
Ln(N(Pe, { icon: "mdi-help-circle-outline" }, null, 512), [
|
|
566
571
|
[Lo, e.help]
|
|
567
572
|
])
|
|
568
573
|
]),
|
|
@@ -593,12 +598,12 @@ function Ol(e = "id", n = !0) {
|
|
|
593
598
|
totalCount: 0
|
|
594
599
|
});
|
|
595
600
|
}
|
|
596
|
-
function
|
|
601
|
+
function Xc(e) {
|
|
597
602
|
return {
|
|
598
603
|
showPagination: V(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
599
604
|
};
|
|
600
605
|
}
|
|
601
|
-
const Bl = ["createdAt", "modifiedAt"],
|
|
606
|
+
const Bl = ["createdAt", "modifiedAt"], Zc = "_score", Jc = "id", Qc = "score_date", ed = "score_best", mt = {
|
|
602
607
|
Asc: "asc",
|
|
603
608
|
Desc: "desc"
|
|
604
609
|
}, Rl = {
|
|
@@ -607,7 +612,7 @@ const Bl = ["createdAt", "modifiedAt"], Gc = "_score", Xc = "id", Zc = "score_da
|
|
|
607
612
|
sortable: !1,
|
|
608
613
|
fixed: !1
|
|
609
614
|
};
|
|
610
|
-
function
|
|
615
|
+
function td(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = void 0, i = void 0) {
|
|
611
616
|
const u = l ?? De, { t: m } = u.global || u, c = Ol();
|
|
612
617
|
if (o)
|
|
613
618
|
for (const d of Object.keys(c))
|
|
@@ -647,7 +652,7 @@ function Qc(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = vo
|
|
|
647
652
|
pagination: c
|
|
648
653
|
};
|
|
649
654
|
}
|
|
650
|
-
const
|
|
655
|
+
const Ko = /* @__PURE__ */ we({
|
|
651
656
|
__name: "ADialogToolbar",
|
|
652
657
|
emits: ["onCancel"],
|
|
653
658
|
setup(e, { emit: n }) {
|
|
@@ -690,7 +695,7 @@ const Wo = /* @__PURE__ */ we({
|
|
|
690
695
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
691
696
|
}
|
|
692
697
|
})();
|
|
693
|
-
const
|
|
698
|
+
const Go = /* @__PURE__ */ new Map();
|
|
694
699
|
function Pl(e) {
|
|
695
700
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
|
|
696
701
|
var a = e.get(n);
|
|
@@ -707,14 +712,14 @@ function Pl(e) {
|
|
|
707
712
|
});
|
|
708
713
|
} };
|
|
709
714
|
}
|
|
710
|
-
const Nt = Pl(),
|
|
715
|
+
const Nt = Pl(), ua = "[-+]?[0-9]*.?[0-9]+", ho = [
|
|
711
716
|
{
|
|
712
717
|
name: "px",
|
|
713
|
-
regexp: new RegExp(`^${
|
|
718
|
+
regexp: new RegExp(`^${ua}px$`)
|
|
714
719
|
},
|
|
715
720
|
{
|
|
716
721
|
name: "%",
|
|
717
|
-
regexp: new RegExp(`^${
|
|
722
|
+
regexp: new RegExp(`^${ua}%$`)
|
|
718
723
|
},
|
|
719
724
|
/**
|
|
720
725
|
* Fallback option
|
|
@@ -722,7 +727,7 @@ const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
|
|
|
722
727
|
*/
|
|
723
728
|
{
|
|
724
729
|
name: "px",
|
|
725
|
-
regexp: new RegExp(`^${
|
|
730
|
+
regexp: new RegExp(`^${ua}$`)
|
|
726
731
|
}
|
|
727
732
|
], Nl = (e) => {
|
|
728
733
|
if (e === "auto")
|
|
@@ -760,7 +765,7 @@ const Nt = Pl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
|
|
|
760
765
|
return e.forEach((a) => {
|
|
761
766
|
go.y.has(a) && (t = a), go.x.has(a) && (n = a);
|
|
762
767
|
}), { x: n, y: t };
|
|
763
|
-
},
|
|
768
|
+
}, ca = {
|
|
764
769
|
position: ["top", "right"],
|
|
765
770
|
cssAnimation: "vn-fade",
|
|
766
771
|
velocityAnimation: {
|
|
@@ -813,7 +818,7 @@ const An = {
|
|
|
813
818
|
},
|
|
814
819
|
position: {
|
|
815
820
|
type: [String, Array],
|
|
816
|
-
default: () =>
|
|
821
|
+
default: () => ca.position
|
|
817
822
|
},
|
|
818
823
|
classes: {
|
|
819
824
|
type: [String, Array],
|
|
@@ -829,12 +834,12 @@ const An = {
|
|
|
829
834
|
animation: {
|
|
830
835
|
type: Object,
|
|
831
836
|
default() {
|
|
832
|
-
return
|
|
837
|
+
return ca.velocityAnimation;
|
|
833
838
|
}
|
|
834
839
|
},
|
|
835
840
|
animationName: {
|
|
836
841
|
type: String,
|
|
837
|
-
default:
|
|
842
|
+
default: ca.cssAnimation
|
|
838
843
|
},
|
|
839
844
|
speed: {
|
|
840
845
|
type: Number,
|
|
@@ -884,7 +889,7 @@ const An = {
|
|
|
884
889
|
slots: t,
|
|
885
890
|
expose: a
|
|
886
891
|
}) => {
|
|
887
|
-
const r = P([]), o =
|
|
892
|
+
const r = P([]), o = Go.get("velocity"), l = V(() => e.animationType === "velocity"), s = V(() => r.value.filter((k) => k.state !== An.DESTROYED)), i = V(() => Ll(e.width)), u = V(() => {
|
|
888
893
|
const {
|
|
889
894
|
x: k,
|
|
890
895
|
y: $
|
|
@@ -1019,11 +1024,11 @@ Ze.close = (e) => {
|
|
|
1019
1024
|
};
|
|
1020
1025
|
const zl = "Notifications";
|
|
1021
1026
|
function Wl(e, n = {}) {
|
|
1022
|
-
Object.entries(n).forEach((a) =>
|
|
1027
|
+
Object.entries(n).forEach((a) => Go.set(...a));
|
|
1023
1028
|
const t = n.name || "notify";
|
|
1024
1029
|
e.config.globalProperties["$" + t] = Ze, e.component(n.componentName || zl, jl);
|
|
1025
1030
|
}
|
|
1026
|
-
const
|
|
1031
|
+
const nd = {
|
|
1027
1032
|
install: Wl
|
|
1028
1033
|
}, Kl = (e) => e instanceof ot;
|
|
1029
1034
|
class ot extends Error {
|
|
@@ -1031,13 +1036,13 @@ class ot extends Error {
|
|
|
1031
1036
|
super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
|
|
1032
1037
|
}
|
|
1033
1038
|
}
|
|
1034
|
-
const Gl = 200, Xl = 201, Zl = 202, Wt = 204,
|
|
1039
|
+
const Gl = 200, Xl = 201, Zl = 202, Wt = 204, ad = 400, od = 401, Jl = 403, rd = 404, qa = 422, Ql = [Gl, Xl, Zl, Wt], bn = (e) => $t.isAxiosError(e) && e.response?.status === Jl, ei = (e) => e instanceof Kt;
|
|
1035
1040
|
class Kt extends Error {
|
|
1036
1041
|
constructor(n, t = "") {
|
|
1037
1042
|
super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
|
|
1038
1043
|
}
|
|
1039
1044
|
}
|
|
1040
|
-
const ti = "validation_failed", yn = (e) => $t.isAxiosError(e) && e.response?.status === qa && e.response.data?.error === ti && e.response.data?.fields,
|
|
1045
|
+
const ti = "validation_failed", yn = (e) => $t.isAxiosError(e) && e.response?.status === qa && e.response.data?.error === ti && e.response.data?.fields, Xo = (e) => e instanceof Gt, ni = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
|
|
1041
1046
|
function ai(e, n, t) {
|
|
1042
1047
|
const a = e.response?.data, r = [];
|
|
1043
1048
|
for (const [o, l] of Object.entries(a.fields))
|
|
@@ -1080,7 +1085,7 @@ class Jt extends Error {
|
|
|
1080
1085
|
super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = ui(n);
|
|
1081
1086
|
}
|
|
1082
1087
|
}
|
|
1083
|
-
const ci = (e) => e instanceof za,
|
|
1088
|
+
const ci = (e) => e instanceof za, Zo = (e) => $t.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
|
|
1084
1089
|
class za extends Error {
|
|
1085
1090
|
constructor(n = void 0) {
|
|
1086
1091
|
super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
|
|
@@ -1094,7 +1099,7 @@ class Wa extends Error {
|
|
|
1094
1099
|
}
|
|
1095
1100
|
const Qe = 3, fi = `
|
|
1096
1101
|
`;
|
|
1097
|
-
function
|
|
1102
|
+
function aa() {
|
|
1098
1103
|
const e = (f, d = Qe) => {
|
|
1099
1104
|
Ze({
|
|
1100
1105
|
group: "alerts",
|
|
@@ -1197,7 +1202,7 @@ function oa() {
|
|
|
1197
1202
|
duration: f * 1e3,
|
|
1198
1203
|
type: "error"
|
|
1199
1204
|
});
|
|
1200
|
-
}, E = (f, d = -1) => ei(f) ? (p(d), !0) :
|
|
1205
|
+
}, E = (f, d = -1) => ei(f) ? (p(d), !0) : Xo(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
1206
|
const { t: d } = De.global, h = f.split("["), C = h[0].trim(), x = h[1].split("]"), I = x[0], b = x[1] ?? "";
|
|
1202
1207
|
return d(C) + "[" + I + "]: " + d(C.slice(0, -1) + b);
|
|
1203
1208
|
};
|
|
@@ -1219,12 +1224,6 @@ function oa() {
|
|
|
1219
1224
|
showErrorsDefault: E
|
|
1220
1225
|
};
|
|
1221
1226
|
}
|
|
1222
|
-
const Zo = (e, n) => {
|
|
1223
|
-
const t = e.__vccOpts || e;
|
|
1224
|
-
for (const [a, r] of n)
|
|
1225
|
-
t[a] = r;
|
|
1226
|
-
return t;
|
|
1227
|
-
};
|
|
1228
1227
|
function Ka(e) {
|
|
1229
1228
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1230
1229
|
}
|
|
@@ -1712,24 +1711,24 @@ var wi = Si();
|
|
|
1712
1711
|
const Qo = /* @__PURE__ */ Ka(wi);
|
|
1713
1712
|
ie.extend(Jo);
|
|
1714
1713
|
ie.extend(Qo);
|
|
1715
|
-
const Ct = ".000000Z",
|
|
1716
|
-
if (e ===
|
|
1714
|
+
const Ct = ".000000Z", Hn = "YYYY-MM-DDTHH:mm:ss", oa = "1970-01-01T00:00:00.000000Z", ra = "2100-01-01T00:00:00.000000Z", ld = () => ie().utc().toDate(), Ci = (e) => ie(e).toDate(), id = () => il(ie().utc().unix()), xa = (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", sd = (e = 0) => e === 0 ? ie().startOf("day").utc().format(Hn) + Ct : ie().add(e, "days").startOf("day").utc().format(Hn) + Ct, ud = (e = 0) => e === 0 ? ie().endOf("day").utc().format(Hn) + Ct : ie().add(e, "days").endOf("day").utc().format(Hn) + 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), Ia = (e, n = Ct) => ie(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, cd = () => ie().utc().format("YYYY"), ki = (e, n = "", t = !1) => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), dd = (e, n = "", t = !1) => {
|
|
1715
|
+
if (e === ra || e === oa || e === "" || G(e) || T(e))
|
|
1717
1716
|
return n;
|
|
1718
1717
|
let a = !0, r = !0;
|
|
1719
1718
|
const o = ie(e), l = ie();
|
|
1720
1719
|
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");
|
|
1721
|
-
},
|
|
1720
|
+
}, fd = (e, n = "") => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format("DD.MM.YYYY"), md = (e, n = "") => e === ra || e === oa || e === "" || G(e) || T(e) ? n : ie(e).format("HH:mm"), pd = (e, n, t = "ms") => {
|
|
1722
1721
|
const a = ie(e), r = ie(n);
|
|
1723
1722
|
return a.diff(r, t);
|
|
1724
|
-
},
|
|
1723
|
+
}, vd = (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) => {
|
|
1725
1724
|
const r = new Date(e);
|
|
1726
1725
|
r.setMonth(r.getMonth() + t), r.setDate(1), r.setHours(0, 0, 0, 0);
|
|
1727
1726
|
const o = new Date(e);
|
|
1728
1727
|
return a ? o.setMonth(o.getMonth() + 1, 0) : o.setMonth(o.getMonth() + t + 1, 0), o.setHours(23, 59, 59, 999), n === "utc" ? {
|
|
1729
|
-
from:
|
|
1730
|
-
until:
|
|
1728
|
+
from: Ia(r),
|
|
1729
|
+
until: Ia(o)
|
|
1731
1730
|
} : { from: r, until: o };
|
|
1732
|
-
},
|
|
1731
|
+
}, da = Ei, Ga = (e) => {
|
|
1733
1732
|
e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
|
|
1734
1733
|
}, Ti = /* @__PURE__ */ we({
|
|
1735
1734
|
__name: "AFilterSubmitButton",
|
|
@@ -1803,7 +1802,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1803
1802
|
a && typeof a == "object" && xi(a);
|
|
1804
1803
|
}
|
|
1805
1804
|
return Object.freeze(e);
|
|
1806
|
-
},
|
|
1805
|
+
}, hd = (e) => Object.keys(e).map((n) => e[n]), gd = (e, n, t = ".") => {
|
|
1807
1806
|
const a = n.split(t);
|
|
1808
1807
|
let r = e;
|
|
1809
1808
|
for (; a.length; ) {
|
|
@@ -1822,7 +1821,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
|
|
|
1822
1821
|
}
|
|
1823
1822
|
o[r[0]] = t;
|
|
1824
1823
|
};
|
|
1825
|
-
function
|
|
1824
|
+
function bd(e, n, t = ".") {
|
|
1826
1825
|
const a = n.split(t), r = a.length - 1;
|
|
1827
1826
|
function o(l, s = 0) {
|
|
1828
1827
|
const i = a[s];
|
|
@@ -1834,7 +1833,7 @@ function hd(e, n, t = ".") {
|
|
|
1834
1833
|
}
|
|
1835
1834
|
return o(e), e;
|
|
1836
1835
|
}
|
|
1837
|
-
const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Ql.includes(e),
|
|
1836
|
+
const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Ql.includes(e), yd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
|
|
1838
1837
|
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)));
|
|
1839
1838
|
}), { t: Mi } = De.global;
|
|
1840
1839
|
function _i() {
|
|
@@ -2071,7 +2070,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2071
2070
|
focusHour: x
|
|
2072
2071
|
}), (I, b) => (U(), ve("div", ns, [
|
|
2073
2072
|
$e("div", as, [
|
|
2074
|
-
|
|
2073
|
+
Ln($e("input", {
|
|
2075
2074
|
ref_key: "hoursRefInput",
|
|
2076
2075
|
ref: s,
|
|
2077
2076
|
"onUpdate:modelValue": b[0] || (b[0] = (_) => u.value = _),
|
|
@@ -2083,7 +2082,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2083
2082
|
max: "23",
|
|
2084
2083
|
onFocus: c,
|
|
2085
2084
|
onBlur: g,
|
|
2086
|
-
onKeyup:
|
|
2085
|
+
onKeyup: Da(E, ["enter"])
|
|
2087
2086
|
}, null, 544), [
|
|
2088
2087
|
[oo, u.value]
|
|
2089
2088
|
]),
|
|
@@ -2114,7 +2113,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2114
2113
|
]),
|
|
2115
2114
|
b[2] || (b[2] = $e("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
|
|
2116
2115
|
$e("div", rs, [
|
|
2117
|
-
|
|
2116
|
+
Ln($e("input", {
|
|
2118
2117
|
ref_key: "minutesRefInput",
|
|
2119
2118
|
ref: i,
|
|
2120
2119
|
"onUpdate:modelValue": b[1] || (b[1] = (_) => m.value = _),
|
|
@@ -2126,7 +2125,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2126
2125
|
max: "59",
|
|
2127
2126
|
onFocus: c,
|
|
2128
2127
|
onBlur: p,
|
|
2129
|
-
onKeyup:
|
|
2128
|
+
onKeyup: Da(v, ["enter"])
|
|
2130
2129
|
}, null, 544), [
|
|
2131
2130
|
[oo, m.value]
|
|
2132
2131
|
]),
|
|
@@ -2157,7 +2156,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2157
2156
|
])
|
|
2158
2157
|
]));
|
|
2159
2158
|
}
|
|
2160
|
-
}), ss = /* @__PURE__ */
|
|
2159
|
+
}), ss = /* @__PURE__ */ Vo(is, [["__scopeId", "data-v-a07d5c55"]]), us = { class: "d-flex" }, cs = { class: "ml-1" }, ds = {
|
|
2161
2160
|
key: 0,
|
|
2162
2161
|
class: "required"
|
|
2163
2162
|
}, fs = /* @__PURE__ */ we({
|
|
@@ -2186,7 +2185,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2186
2185
|
textFieldValue: {
|
|
2187
2186
|
required: f(t.required)
|
|
2188
2187
|
}
|
|
2189
|
-
})), h =
|
|
2188
|
+
})), h = Vn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
|
|
2190
2189
|
S !== t.modelValue && a("update:modelValue", S);
|
|
2191
2190
|
}, I = (S) => {
|
|
2192
2191
|
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()));
|
|
@@ -2207,7 +2206,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2207
2206
|
const b = (S, D) => G(S) ? D : D.set("date", S.getDate()).set("month", S.getMonth()).set("year", S.getFullYear()), _ = (S, D) => G(S) ? D : D.set("hour", S.hours).set("minute", S.minutes);
|
|
2208
2207
|
Te([g, c], ([S, D]) => {
|
|
2209
2208
|
let F = null;
|
|
2210
|
-
G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? F = ie().hour(0).minute(0).second(59).millisecond(999) : F = ie().hour(0).minute(0).second(0).millisecond(0) : F = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = b(D, F), !F.isSame(
|
|
2209
|
+
G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? F = ie().hour(0).minute(0).second(59).millisecond(999) : F = ie().hour(0).minute(0).second(0).millisecond(0) : F = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = b(D, F), !F.isSame(Xn(p.value)) && (p.value = F);
|
|
2211
2210
|
}), Te(
|
|
2212
2211
|
p,
|
|
2213
2212
|
(S) => {
|
|
@@ -2266,7 +2265,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2266
2265
|
o.value++, l.value++;
|
|
2267
2266
|
});
|
|
2268
2267
|
};
|
|
2269
|
-
return (S, D) => (U(), Q(
|
|
2268
|
+
return (S, D) => (U(), Q(ea, {
|
|
2270
2269
|
ref_key: "inputInstance",
|
|
2271
2270
|
ref: i,
|
|
2272
2271
|
modelValue: m.value,
|
|
@@ -2280,7 +2279,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2280
2279
|
autocomplete: "off",
|
|
2281
2280
|
onBlur: k,
|
|
2282
2281
|
onFocus: O,
|
|
2283
|
-
onKeyup:
|
|
2282
|
+
onKeyup: Da(k, ["enter"])
|
|
2284
2283
|
}, _t({
|
|
2285
2284
|
"append-inner": L(() => [
|
|
2286
2285
|
e.clearable && e.defaultValue !== e.modelValue ? (U(), Q(Pe, {
|
|
@@ -2307,7 +2306,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2307
2306
|
default: L(() => [
|
|
2308
2307
|
r.value ? (U(), Q(La, { key: 0 }, {
|
|
2309
2308
|
default: L(() => [
|
|
2310
|
-
|
|
2309
|
+
Ln((U(), Q(Ue, {
|
|
2311
2310
|
icon: "",
|
|
2312
2311
|
variant: "text",
|
|
2313
2312
|
width: 36,
|
|
@@ -2380,7 +2379,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2380
2379
|
}
|
|
2381
2380
|
]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
|
|
2382
2381
|
}
|
|
2383
|
-
}), er = /* @__PURE__ */
|
|
2382
|
+
}), er = /* @__PURE__ */ Vo(fs, [["__scopeId", "data-v-9d53bed3"]]), Sd = /* @__PURE__ */ we({
|
|
2384
2383
|
__name: "AFormDatetimePicker",
|
|
2385
2384
|
props: {
|
|
2386
2385
|
modelValue: {},
|
|
@@ -2407,7 +2406,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2407
2406
|
}), i = P(() => {
|
|
2408
2407
|
}), u = P(null);
|
|
2409
2408
|
if (o.value.enabled && he(t.collab)) {
|
|
2410
|
-
const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } =
|
|
2409
|
+
const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } = na(
|
|
2411
2410
|
t.collab.room,
|
|
2412
2411
|
t.collab.field
|
|
2413
2412
|
);
|
|
@@ -2452,7 +2451,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2452
2451
|
}), {
|
|
2453
2452
|
"append-inner": L(() => [
|
|
2454
2453
|
_e(_.$slots, "locked", { userId: u.value }, () => [
|
|
2455
|
-
e.collab ? (U(), Q(
|
|
2454
|
+
e.collab ? (U(), Q(ta, {
|
|
2456
2455
|
key: 0,
|
|
2457
2456
|
id: u.value,
|
|
2458
2457
|
users: e.collab.cachedUsers
|
|
@@ -2478,7 +2477,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2478
2477
|
}), l = P(() => {
|
|
2479
2478
|
}), s = P(null);
|
|
2480
2479
|
if (r.value.enabled && he(t.collab)) {
|
|
2481
|
-
const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } =
|
|
2480
|
+
const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = na(
|
|
2482
2481
|
t.collab.room,
|
|
2483
2482
|
t.collab.field
|
|
2484
2483
|
);
|
|
@@ -2521,7 +2520,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2521
2520
|
name: "append",
|
|
2522
2521
|
fn: L(() => [
|
|
2523
2522
|
_e(p.$slots, "locked", { userId: s.value }, () => [
|
|
2524
|
-
e.collab ? (U(), Q(
|
|
2523
|
+
e.collab ? (U(), Q(ta, {
|
|
2525
2524
|
key: 0,
|
|
2526
2525
|
id: s.value,
|
|
2527
2526
|
users: e.collab.cachedUsers
|
|
@@ -2532,7 +2531,7 @@ const ns = { class: "a-datetime-picker-time" }, as = { class: "a-datetime-picker
|
|
|
2532
2531
|
} : void 0
|
|
2533
2532
|
]), 1032, ["data-cy", "model-value", "disabled"]));
|
|
2534
2533
|
}
|
|
2535
|
-
}),
|
|
2534
|
+
}), fa = "_sort", ms = {
|
|
2536
2535
|
skip: !1,
|
|
2537
2536
|
xs: void 0,
|
|
2538
2537
|
sm: void 0,
|
|
@@ -2609,7 +2608,7 @@ function Dt() {
|
|
|
2609
2608
|
if (m.type === "timeInterval" && m.related)
|
|
2610
2609
|
s[o] = m.default, s[m.related] = i.fields[m.related].default;
|
|
2611
2610
|
else if (ue(s[o]) && s[o].length > 0) {
|
|
2612
|
-
const g = s[o].findIndex((E) => E === l), p = [...
|
|
2611
|
+
const g = s[o].findIndex((E) => E === l), p = [...Xn(s[o])];
|
|
2613
2612
|
p.splice(g, 1), s[o] = p;
|
|
2614
2613
|
} else (Fe(s[o]) || Ht(s[o]) || st(s[o])) && (s[o] = m.default);
|
|
2615
2614
|
}, a = (o, l, s) => {
|
|
@@ -2640,7 +2639,7 @@ function tr(e, n, t = {}) {
|
|
|
2640
2639
|
for (const h in e)
|
|
2641
2640
|
try {
|
|
2642
2641
|
const C = h, x = e[C];
|
|
2643
|
-
!T(x) && !G(x) && !
|
|
2642
|
+
!T(x) && !G(x) && !Ta(x) && x !== n.fields[C].default && (d[h] = x);
|
|
2644
2643
|
} catch {
|
|
2645
2644
|
}
|
|
2646
2645
|
return d;
|
|
@@ -2648,9 +2647,9 @@ function tr(e, n, t = {}) {
|
|
|
2648
2647
|
const x = new URLSearchParams();
|
|
2649
2648
|
for (const I in d) {
|
|
2650
2649
|
const b = d[I];
|
|
2651
|
-
T(b) || G(b) || ue(b) &&
|
|
2650
|
+
T(b) || G(b) || ue(b) && Ta(b) || gn(b) && un(b) || Fe(b) && b.length === 0 || (ue(b) ? x.set(I, b.join(",")) : x.set(I, String(b)));
|
|
2652
2651
|
}
|
|
2653
|
-
return C && h.value.sortBy && x.set(
|
|
2652
|
+
return C && h.value.sortBy && x.set(fa, `${h.value.sortBy.key},${h.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
|
|
2654
2653
|
}, i = (d) => {
|
|
2655
2654
|
if (!d) return null;
|
|
2656
2655
|
if (d.startsWith("#") && (d = d.substring(1)), d.endsWith(r))
|
|
@@ -2664,10 +2663,10 @@ function tr(e, n, t = {}) {
|
|
|
2664
2663
|
}
|
|
2665
2664
|
const h = new URLSearchParams(d), C = {};
|
|
2666
2665
|
let x = null;
|
|
2667
|
-
const I = h.get(
|
|
2666
|
+
const I = h.get(fa);
|
|
2668
2667
|
if (I) {
|
|
2669
2668
|
const [b, _] = I.split(",");
|
|
2670
|
-
b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }), h.delete(
|
|
2669
|
+
b && (_ === mt.Asc || _ === mt.Desc) && (x = { key: b, order: _ }), h.delete(fa);
|
|
2671
2670
|
}
|
|
2672
2671
|
for (const [b, _] of h.entries()) {
|
|
2673
2672
|
const B = n.fields[b];
|
|
@@ -2703,11 +2702,11 @@ function tr(e, n, t = {}) {
|
|
|
2703
2702
|
let _ = x.filters[b];
|
|
2704
2703
|
if (!T(_)) {
|
|
2705
2704
|
if (Fe(_)) {
|
|
2706
|
-
const B =
|
|
2705
|
+
const B = qo(_);
|
|
2707
2706
|
if (!G(B))
|
|
2708
2707
|
_ = B;
|
|
2709
2708
|
else {
|
|
2710
|
-
const k =
|
|
2709
|
+
const k = jo(_);
|
|
2711
2710
|
G(k) || (_ = k);
|
|
2712
2711
|
}
|
|
2713
2712
|
}
|
|
@@ -2737,7 +2736,7 @@ const xt = {
|
|
|
2737
2736
|
Last3Months: "l3m",
|
|
2738
2737
|
Custom: "custom"
|
|
2739
2738
|
};
|
|
2740
|
-
function
|
|
2739
|
+
function wd(e = void 0) {
|
|
2741
2740
|
const { t: n } = Ne(), t = V(() => {
|
|
2742
2741
|
const r = [
|
|
2743
2742
|
{
|
|
@@ -2784,7 +2783,7 @@ function yd(e = void 0) {
|
|
|
2784
2783
|
getTimeIntervalOption: (r) => t.value.find((o) => o.value === r)
|
|
2785
2784
|
};
|
|
2786
2785
|
}
|
|
2787
|
-
function
|
|
2786
|
+
function Cd(e) {
|
|
2788
2787
|
const { datesCompare: n, required: t } = Xa(), a = V(() => e.value.from), r = V(() => e.value.until), o = {
|
|
2789
2788
|
dialogData: {
|
|
2790
2789
|
from: {
|
|
@@ -2798,7 +2797,7 @@ function Sd(e) {
|
|
|
2798
2797
|
}
|
|
2799
2798
|
};
|
|
2800
2799
|
return {
|
|
2801
|
-
v$:
|
|
2800
|
+
v$: Vn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
|
|
2802
2801
|
};
|
|
2803
2802
|
}
|
|
2804
2803
|
function gs() {
|
|
@@ -2817,18 +2816,18 @@ function gs() {
|
|
|
2817
2816
|
from: d,
|
|
2818
2817
|
until: h
|
|
2819
2818
|
};
|
|
2820
|
-
const C =
|
|
2819
|
+
const C = xa(), x = Ci(C);
|
|
2821
2820
|
switch (d) {
|
|
2822
2821
|
case xt.CurrentMonth:
|
|
2823
|
-
return
|
|
2822
|
+
return da(x, "utc", 0, !1);
|
|
2824
2823
|
case xt.LastMonth:
|
|
2825
|
-
return
|
|
2824
|
+
return da(x, "utc", -1, !1);
|
|
2826
2825
|
case xt.Last3Months:
|
|
2827
|
-
return
|
|
2826
|
+
return da(x, "utc", -2, !0);
|
|
2828
2827
|
default:
|
|
2829
2828
|
if (Ht(d))
|
|
2830
2829
|
return {
|
|
2831
|
-
from:
|
|
2830
|
+
from: Ia(Di(d * -1, x)),
|
|
2832
2831
|
until: C
|
|
2833
2832
|
};
|
|
2834
2833
|
}
|
|
@@ -2918,7 +2917,7 @@ const bs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), ys = (e) => gn(e) &&
|
|
|
2918
2917
|
} catch (v) {
|
|
2919
2918
|
if (v instanceof DOMException && v.name === "AbortError")
|
|
2920
2919
|
return [];
|
|
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) :
|
|
2920
|
+
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) : Zo(v) ? new za(v) : $t.isAxiosError(v) ? (console.error("Axios error: " + g, v.cause), new Wa(v)) : (console.error("AnzuFatalError: ", v), new ot(v));
|
|
2922
2921
|
} finally {
|
|
2923
2922
|
l = null;
|
|
2924
2923
|
}
|
|
@@ -2961,7 +2960,7 @@ function hn(e, n = mt.Desc, t = {}, a) {
|
|
|
2961
2960
|
incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
|
|
2962
2961
|
};
|
|
2963
2962
|
}
|
|
2964
|
-
const
|
|
2963
|
+
const Dd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
2965
2964
|
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)));
|
|
2966
2965
|
}), 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({
|
|
2967
2966
|
__name: "AFilterBooleanSelect",
|
|
@@ -3058,7 +3057,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3058
3057
|
f === d || st(f) || v();
|
|
3059
3058
|
},
|
|
3060
3059
|
{ immediate: !0 }
|
|
3061
|
-
), (f, d) => (U(), Q(
|
|
3060
|
+
), (f, d) => (U(), Q(ea, {
|
|
3062
3061
|
modelValue: i.value,
|
|
3063
3062
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
3064
3063
|
label: c.value,
|
|
@@ -3074,7 +3073,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3074
3073
|
}), Es = {
|
|
3075
3074
|
key: 0,
|
|
3076
3075
|
class: "font-italic pl-1"
|
|
3077
|
-
}, Ts = 300,
|
|
3076
|
+
}, Ts = 300, kd = /* @__PURE__ */ we({
|
|
3078
3077
|
__name: "AFilterRemoteAutocomplete",
|
|
3079
3078
|
props: {
|
|
3080
3079
|
name: {},
|
|
@@ -3089,7 +3088,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3089
3088
|
},
|
|
3090
3089
|
emits: ["change"],
|
|
3091
3090
|
setup(e, { emit: n }) {
|
|
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 =
|
|
3091
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Zn()?.type.__name;
|
|
3093
3092
|
if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
|
|
3094
3093
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3095
3094
|
const c = t.filterByField, g = t.filterSortBy;
|
|
@@ -3130,7 +3129,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3130
3129
|
} finally {
|
|
3131
3130
|
O.value = !1;
|
|
3132
3131
|
}
|
|
3133
|
-
}, { showErrorsDefault: y } =
|
|
3132
|
+
}, { showErrorsDefault: y } = aa(), S = async (K, J) => {
|
|
3134
3133
|
O.value = !0, u[c] = K;
|
|
3135
3134
|
try {
|
|
3136
3135
|
const le = await t.fetchItems(b, u, i);
|
|
@@ -3212,14 +3211,14 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3212
3211
|
async (K, J) => {
|
|
3213
3212
|
if (K === J || st(K)) return;
|
|
3214
3213
|
const le = K;
|
|
3215
|
-
if (k.value && (k.value = !1, await z()),
|
|
3214
|
+
if (k.value && (k.value = !1, await z()), Ho(le)) {
|
|
3216
3215
|
M(le), T(J) || (h.value++, await S("", h.value));
|
|
3217
3216
|
return;
|
|
3218
3217
|
}
|
|
3219
3218
|
await w(le);
|
|
3220
3219
|
},
|
|
3221
3220
|
{ immediate: !0 }
|
|
3222
|
-
), (K, J) => (U(), Q(
|
|
3221
|
+
), (K, J) => (U(), Q(Jn, {
|
|
3223
3222
|
modelValue: E.value,
|
|
3224
3223
|
"onUpdate:modelValue": [
|
|
3225
3224
|
J[0] || (J[0] = (le) => E.value = le),
|
|
@@ -3250,7 +3249,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3250
3249
|
}), null, 16, ["title", "subtitle"])
|
|
3251
3250
|
]),
|
|
3252
3251
|
chip: L(({ props: le, item: Ae }) => [
|
|
3253
|
-
N(
|
|
3252
|
+
N(Qn, {
|
|
3254
3253
|
closable: le.closable,
|
|
3255
3254
|
size: "small",
|
|
3256
3255
|
text: `${Ae.title} (${Ae.raw.subtitle})`,
|
|
@@ -3280,7 +3279,7 @@ const wd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
|
|
|
3280
3279
|
function As(e, n) {
|
|
3281
3280
|
return n.includes(e);
|
|
3282
3281
|
}
|
|
3283
|
-
const
|
|
3282
|
+
const Ed = /* @__PURE__ */ we({
|
|
3284
3283
|
__name: "AFilterRemoteAutocompleteWithMinimal",
|
|
3285
3284
|
props: {
|
|
3286
3285
|
name: {},
|
|
@@ -3296,7 +3295,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3296
3295
|
},
|
|
3297
3296
|
emits: ["change"],
|
|
3298
3297
|
setup(e, { emit: n }) {
|
|
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 =
|
|
3298
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Zn()?.type.__name;
|
|
3300
3299
|
if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
|
|
3301
3300
|
throw new Error(`[${m}] Incorrect provide/inject config.`);
|
|
3302
3301
|
if (
|
|
@@ -3328,7 +3327,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3328
3327
|
}), I.value.forEach((q) => {
|
|
3329
3328
|
q.raw ? (z.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], Ie(q.raw))) : (z.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], Ie(q)));
|
|
3330
3329
|
}), Array.from(z, ([q, W]) => ({ value: q, title: W, raw: te.get(q) }));
|
|
3331
|
-
}), B = P(!1), { showErrorsDefault: k } =
|
|
3330
|
+
}), B = P(!1), { showErrorsDefault: k } = aa(), $ = async (z, te) => {
|
|
3332
3331
|
B.value = !0, u[t.filterByField] = z;
|
|
3333
3332
|
try {
|
|
3334
3333
|
const q = await t.fetchItemsMinimal(x, u, i);
|
|
@@ -3436,7 +3435,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3436
3435
|
z.length < t.searchMinChars || z !== te && (v.value++, $(z, v.value));
|
|
3437
3436
|
},
|
|
3438
3437
|
{ debounce: 300 }
|
|
3439
|
-
), (z, te) => (U(), Q(
|
|
3438
|
+
), (z, te) => (U(), Q(Jn, {
|
|
3440
3439
|
modelValue: c.value,
|
|
3441
3440
|
"onUpdate:modelValue": [
|
|
3442
3441
|
te[0] || (te[0] = (q) => c.value = q),
|
|
@@ -3475,7 +3474,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3475
3474
|
props: q,
|
|
3476
3475
|
item: W
|
|
3477
3476
|
}, () => [
|
|
3478
|
-
N(
|
|
3477
|
+
N(Qn, it(q, {
|
|
3479
3478
|
text: W.title
|
|
3480
3479
|
}), null, 16, ["text"])
|
|
3481
3480
|
])
|
|
@@ -3483,7 +3482,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3483
3482
|
_: 3
|
|
3484
3483
|
}, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
3485
3484
|
}
|
|
3486
|
-
}),
|
|
3485
|
+
}), Td = /* @__PURE__ */ we({
|
|
3487
3486
|
__name: "AFilterValueObjectOptionsSelect",
|
|
3488
3487
|
props: {
|
|
3489
3488
|
name: {},
|
|
@@ -3491,7 +3490,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3491
3490
|
},
|
|
3492
3491
|
emits: ["change"],
|
|
3493
3492
|
setup(e, { emit: n }) {
|
|
3494
|
-
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i =
|
|
3493
|
+
const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = Zn()?.type.__name;
|
|
3495
3494
|
if (T(r) || T(o) || T(s) || T(l))
|
|
3496
3495
|
throw new Error(`[${i}] Incorrect provide/inject config.`);
|
|
3497
3496
|
if (
|
|
@@ -3532,7 +3531,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3532
3531
|
f === d || st(f) || v(f);
|
|
3533
3532
|
},
|
|
3534
3533
|
{ immediate: !0 }
|
|
3535
|
-
), (f, d) => (U(), Q(
|
|
3534
|
+
), (f, d) => (U(), Q(Jn, {
|
|
3536
3535
|
modelValue: u.value,
|
|
3537
3536
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => u.value = h),
|
|
3538
3537
|
items: e.items,
|
|
@@ -3631,7 +3630,7 @@ const Dd = /* @__PURE__ */ we({
|
|
|
3631
3630
|
f === d || st(f) || v();
|
|
3632
3631
|
},
|
|
3633
3632
|
{ immediate: !0 }
|
|
3634
|
-
), (f, d) => (U(), Q(
|
|
3633
|
+
), (f, d) => (U(), Q(ea, {
|
|
3635
3634
|
modelValue: i.value,
|
|
3636
3635
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
3637
3636
|
label: c.value,
|
|
@@ -3689,13 +3688,13 @@ function Do(e, n = "userAdminConfig") {
|
|
|
3689
3688
|
filterData: r
|
|
3690
3689
|
};
|
|
3691
3690
|
}
|
|
3692
|
-
const
|
|
3691
|
+
const qn = {
|
|
3693
3692
|
PinnedWidgets: "pinnedWidgets",
|
|
3694
3693
|
FilterBookmark: "filterBookmark"
|
|
3695
|
-
}, $s =
|
|
3694
|
+
}, $s = qn.PinnedWidgets, It = {
|
|
3696
3695
|
Desktop: "desktop",
|
|
3697
3696
|
Mobile: "mobile"
|
|
3698
|
-
}, Fs = It.Desktop, Os = 3,
|
|
3697
|
+
}, Fs = It.Desktop, Os = 3, Ma = 8, ar = Jr("filterBookmarkStore", () => {
|
|
3699
3698
|
const e = P(/* @__PURE__ */ new Map()), n = P(!1);
|
|
3700
3699
|
function t(s, i) {
|
|
3701
3700
|
return `userAdminConfig/${i}/${s}/`;
|
|
@@ -3715,9 +3714,9 @@ const jn = {
|
|
|
3715
3714
|
return h.lastUsed = c, h.items;
|
|
3716
3715
|
}
|
|
3717
3716
|
const { pagination: g } = hn("position", mt.Asc, {
|
|
3718
|
-
rowsPerPage:
|
|
3717
|
+
rowsPerPage: Ma
|
|
3719
3718
|
}), { start: p, end: E } = vn(s.systemResource, "_"), { filterConfig: v, filterData: f } = Do(p, E);
|
|
3720
|
-
f.configType =
|
|
3719
|
+
f.configType = qn.FilterBookmark, f.layoutType = s.layoutType, f.systemResource = s.systemResource, f.user = s.user;
|
|
3721
3720
|
let d = [];
|
|
3722
3721
|
try {
|
|
3723
3722
|
const { executeFetch: h } = i();
|
|
@@ -3730,9 +3729,9 @@ const jn = {
|
|
|
3730
3729
|
async function o(s, i) {
|
|
3731
3730
|
n.value = !1;
|
|
3732
3731
|
const { pagination: u } = hn("position", mt.Asc, {
|
|
3733
|
-
rowsPerPage:
|
|
3732
|
+
rowsPerPage: Ma + 1
|
|
3734
3733
|
}), { start: m, end: c } = vn(s.systemResource, "_"), { filterConfig: g, filterData: p } = Do(m, c);
|
|
3735
|
-
p.configType =
|
|
3734
|
+
p.configType = qn.FilterBookmark, p.layoutType = s.layoutType, p.systemResource = s.systemResource, p.user = s.user;
|
|
3736
3735
|
let E = 1 / 0;
|
|
3737
3736
|
try {
|
|
3738
3737
|
const { executeFetch: v } = i();
|
|
@@ -3777,7 +3776,7 @@ const jn = {
|
|
|
3777
3776
|
} catch (p) {
|
|
3778
3777
|
if (p instanceof DOMException && p.name === "AbortError")
|
|
3779
3778
|
return [];
|
|
3780
|
-
throw ja(p) ? p : bn(p) ? new Kt(p, p.config?.url) : yn(p) ? new Gt(p, t, a, p) : wn(p) ? new Jt(p, t, a, p) : Sn(p) ? new Zt(p, p) :
|
|
3779
|
+
throw ja(p) ? p : bn(p) ? new Kt(p, p.config?.url) : yn(p) ? new Gt(p, t, a, p) : wn(p) ? new Jt(p, t, a, p) : Sn(p) ? new Zt(p, p) : Zo(p) ? new za(p) : $t.isAxiosError(p) ? (console.error("Axios error: " + r, p.cause), new Wa(p)) : (console.error("AnzuFatalError: ", p), new ot(p));
|
|
3781
3780
|
} finally {
|
|
3782
3781
|
s = null;
|
|
3783
3782
|
}
|
|
@@ -3854,11 +3853,11 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
|
|
|
3854
3853
|
continue;
|
|
3855
3854
|
}
|
|
3856
3855
|
if (Fe(R)) {
|
|
3857
|
-
const O =
|
|
3856
|
+
const O = qo(R);
|
|
3858
3857
|
if (!G(O))
|
|
3859
3858
|
R = O;
|
|
3860
3859
|
else {
|
|
3861
|
-
const M =
|
|
3860
|
+
const M = jo(R);
|
|
3862
3861
|
G(M) || (R = M);
|
|
3863
3862
|
}
|
|
3864
3863
|
}
|
|
@@ -3910,7 +3909,7 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
|
|
|
3910
3909
|
class: "w-100 d-flex overflow-hidden align-center mb-1"
|
|
3911
3910
|
}, [
|
|
3912
3911
|
u.value ? (U(), ve("div", Rs)) : (U(), ve(at, { key: 1 }, [
|
|
3913
|
-
(U(!0), ve(at, null,
|
|
3912
|
+
(U(!0), ve(at, null, Yn(I.value.visible, (B) => (U(), ve("div", {
|
|
3914
3913
|
key: B.id,
|
|
3915
3914
|
class: "white-space-nowrap"
|
|
3916
3915
|
}, [
|
|
@@ -3943,7 +3942,7 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
|
|
|
3943
3942
|
default: L(() => [
|
|
3944
3943
|
N(Ro, { density: "compact" }, {
|
|
3945
3944
|
default: L(() => [
|
|
3946
|
-
(U(!0), ve(at, null,
|
|
3945
|
+
(U(!0), ve(at, null, Yn(I.value.hidden, (B) => (U(), Q(Vt, {
|
|
3947
3946
|
key: B.id,
|
|
3948
3947
|
onClick: (k) => h(B)
|
|
3949
3948
|
}, {
|
|
@@ -3967,6 +3966,23 @@ const Rs = { key: 0 }, Ps = 32, Ns = /* @__PURE__ */ we({
|
|
|
3967
3966
|
]));
|
|
3968
3967
|
}
|
|
3969
3968
|
});
|
|
3969
|
+
function Ls(e, n, t) {
|
|
3970
|
+
return (n = Hs(n)) in e ? Object.defineProperty(e, n, {
|
|
3971
|
+
value: t,
|
|
3972
|
+
enumerable: !0,
|
|
3973
|
+
configurable: !0,
|
|
3974
|
+
writable: !0
|
|
3975
|
+
}) : e[n] = t, e;
|
|
3976
|
+
}
|
|
3977
|
+
function pt() {
|
|
3978
|
+
return pt = Object.assign ? Object.assign.bind() : function(e) {
|
|
3979
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
3980
|
+
var t = arguments[n];
|
|
3981
|
+
for (var a in t) ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
3982
|
+
}
|
|
3983
|
+
return e;
|
|
3984
|
+
}, pt.apply(null, arguments);
|
|
3985
|
+
}
|
|
3970
3986
|
function Eo(e, n) {
|
|
3971
3987
|
var t = Object.keys(e);
|
|
3972
3988
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3988,50 +4004,47 @@ function ut(e) {
|
|
|
3988
4004
|
}
|
|
3989
4005
|
return e;
|
|
3990
4006
|
}
|
|
3991
|
-
function Bn(e) {
|
|
3992
|
-
"@babel/helpers - typeof";
|
|
3993
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Bn = function(n) {
|
|
3994
|
-
return typeof n;
|
|
3995
|
-
} : Bn = function(n) {
|
|
3996
|
-
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
3997
|
-
}, Bn(e);
|
|
3998
|
-
}
|
|
3999
|
-
function Ls(e, n, t) {
|
|
4000
|
-
return n in e ? Object.defineProperty(e, n, {
|
|
4001
|
-
value: t,
|
|
4002
|
-
enumerable: !0,
|
|
4003
|
-
configurable: !0,
|
|
4004
|
-
writable: !0
|
|
4005
|
-
}) : e[n] = t, e;
|
|
4006
|
-
}
|
|
4007
|
-
function pt() {
|
|
4008
|
-
return pt = Object.assign || function(e) {
|
|
4009
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
4010
|
-
var t = arguments[n];
|
|
4011
|
-
for (var a in t)
|
|
4012
|
-
Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
4013
|
-
}
|
|
4014
|
-
return e;
|
|
4015
|
-
}, pt.apply(this, arguments);
|
|
4016
|
-
}
|
|
4017
4007
|
function Ys(e, n) {
|
|
4018
4008
|
if (e == null) return {};
|
|
4019
|
-
var t
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4009
|
+
var t, a, r = Us(e, n);
|
|
4010
|
+
if (Object.getOwnPropertySymbols) {
|
|
4011
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
4012
|
+
for (a = 0; a < o.length; a++) t = o[a], n.indexOf(t) === -1 && {}.propertyIsEnumerable.call(e, t) && (r[t] = e[t]);
|
|
4013
|
+
}
|
|
4014
|
+
return r;
|
|
4023
4015
|
}
|
|
4024
4016
|
function Us(e, n) {
|
|
4025
4017
|
if (e == null) return {};
|
|
4026
|
-
var t =
|
|
4027
|
-
if (
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
a = o[r], !(n.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (t[a] = e[a]);
|
|
4018
|
+
var t = {};
|
|
4019
|
+
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
4020
|
+
if (n.indexOf(a) !== -1) continue;
|
|
4021
|
+
t[a] = e[a];
|
|
4031
4022
|
}
|
|
4032
4023
|
return t;
|
|
4033
4024
|
}
|
|
4034
|
-
|
|
4025
|
+
function Vs(e, n) {
|
|
4026
|
+
if (typeof e != "object" || !e) return e;
|
|
4027
|
+
var t = e[Symbol.toPrimitive];
|
|
4028
|
+
if (t !== void 0) {
|
|
4029
|
+
var a = t.call(e, n);
|
|
4030
|
+
if (typeof a != "object") return a;
|
|
4031
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4032
|
+
}
|
|
4033
|
+
return (n === "string" ? String : Number)(e);
|
|
4034
|
+
}
|
|
4035
|
+
function Hs(e) {
|
|
4036
|
+
var n = Vs(e, "string");
|
|
4037
|
+
return typeof n == "symbol" ? n : n + "";
|
|
4038
|
+
}
|
|
4039
|
+
function _a(e) {
|
|
4040
|
+
"@babel/helpers - typeof";
|
|
4041
|
+
return _a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
4042
|
+
return typeof n;
|
|
4043
|
+
} : function(n) {
|
|
4044
|
+
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
4045
|
+
}, _a(e);
|
|
4046
|
+
}
|
|
4047
|
+
var qs = "1.15.7";
|
|
4035
4048
|
function ft(e) {
|
|
4036
4049
|
if (typeof window < "u" && window.navigator)
|
|
4037
4050
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
@@ -4046,7 +4059,7 @@ function fe(e, n, t) {
|
|
|
4046
4059
|
function ce(e, n, t) {
|
|
4047
4060
|
e.removeEventListener(n, t, !ht && lr);
|
|
4048
4061
|
}
|
|
4049
|
-
function
|
|
4062
|
+
function jn(e, n) {
|
|
4050
4063
|
if (n) {
|
|
4051
4064
|
if (n[0] === ">" && (n = n.substring(1)), e)
|
|
4052
4065
|
try {
|
|
@@ -4063,13 +4076,13 @@ function zn(e, n) {
|
|
|
4063
4076
|
}
|
|
4064
4077
|
}
|
|
4065
4078
|
function ir(e) {
|
|
4066
|
-
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
4079
|
+
return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
|
|
4067
4080
|
}
|
|
4068
4081
|
function tt(e, n, t, a) {
|
|
4069
4082
|
if (e) {
|
|
4070
4083
|
t = t || document;
|
|
4071
4084
|
do {
|
|
4072
|
-
if (n != null && (n[0] === ">" ? e.parentNode === t &&
|
|
4085
|
+
if (n != null && (n[0] === ">" ? e.parentNode === t && jn(e, n) : jn(e, n)) || a && e === t)
|
|
4073
4086
|
return e;
|
|
4074
4087
|
if (e === t) break;
|
|
4075
4088
|
} while (e = ir(e));
|
|
@@ -4166,7 +4179,7 @@ function qt(e, n, t, a) {
|
|
|
4166
4179
|
return null;
|
|
4167
4180
|
}
|
|
4168
4181
|
function eo(e, n) {
|
|
4169
|
-
for (var t = e.lastElementChild; t && (t === ae.ghost || ne(t, "display") === "none" || n && !
|
|
4182
|
+
for (var t = e.lastElementChild; t && (t === ae.ghost || ne(t, "display") === "none" || n && !jn(t, n)); )
|
|
4170
4183
|
t = t.previousElementSibling;
|
|
4171
4184
|
return t || null;
|
|
4172
4185
|
}
|
|
@@ -4175,7 +4188,7 @@ function Je(e, n) {
|
|
|
4175
4188
|
if (!e || !e.parentNode)
|
|
4176
4189
|
return -1;
|
|
4177
4190
|
for (; e = e.previousElementSibling; )
|
|
4178
|
-
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== ae.clone && (!n ||
|
|
4191
|
+
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== ae.clone && (!n || jn(e, n)) && t++;
|
|
4179
4192
|
return t;
|
|
4180
4193
|
}
|
|
4181
4194
|
function Io(e) {
|
|
@@ -4187,7 +4200,7 @@ function Io(e) {
|
|
|
4187
4200
|
} while (e !== a && (e = e.parentNode));
|
|
4188
4201
|
return [n, t];
|
|
4189
4202
|
}
|
|
4190
|
-
function
|
|
4203
|
+
function js(e, n) {
|
|
4191
4204
|
for (var t in e)
|
|
4192
4205
|
if (e.hasOwnProperty(t)) {
|
|
4193
4206
|
for (var a in n)
|
|
@@ -4210,13 +4223,13 @@ function yt(e, n) {
|
|
|
4210
4223
|
while (t = t.parentNode);
|
|
4211
4224
|
return lt();
|
|
4212
4225
|
}
|
|
4213
|
-
function
|
|
4226
|
+
function zs(e, n) {
|
|
4214
4227
|
if (e && n)
|
|
4215
4228
|
for (var t in n)
|
|
4216
4229
|
n.hasOwnProperty(t) && (e[t] = n[t]);
|
|
4217
4230
|
return e;
|
|
4218
4231
|
}
|
|
4219
|
-
function
|
|
4232
|
+
function ma(e, n) {
|
|
4220
4233
|
return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
|
|
4221
4234
|
}
|
|
4222
4235
|
var dn;
|
|
@@ -4230,7 +4243,7 @@ function ur(e, n) {
|
|
|
4230
4243
|
}
|
|
4231
4244
|
};
|
|
4232
4245
|
}
|
|
4233
|
-
function
|
|
4246
|
+
function Ws() {
|
|
4234
4247
|
clearTimeout(dn), dn = void 0;
|
|
4235
4248
|
}
|
|
4236
4249
|
function cr(e, n, t) {
|
|
@@ -4251,7 +4264,7 @@ function fr(e, n, t) {
|
|
|
4251
4264
|
}), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
4252
4265
|
}
|
|
4253
4266
|
var je = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
4254
|
-
function
|
|
4267
|
+
function Ks() {
|
|
4255
4268
|
var e = [], n;
|
|
4256
4269
|
return {
|
|
4257
4270
|
captureAnimationState: function() {
|
|
@@ -4277,7 +4290,7 @@ function zs() {
|
|
|
4277
4290
|
e.push(a);
|
|
4278
4291
|
},
|
|
4279
4292
|
removeAnimationState: function(a) {
|
|
4280
|
-
e.splice(
|
|
4293
|
+
e.splice(js(e, {
|
|
4281
4294
|
target: a
|
|
4282
4295
|
}), 1);
|
|
4283
4296
|
},
|
|
@@ -4290,8 +4303,8 @@ function zs() {
|
|
|
4290
4303
|
var o = !1, l = 0;
|
|
4291
4304
|
e.forEach(function(s) {
|
|
4292
4305
|
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 &&
|
|
4294
|
-
(E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i =
|
|
4306
|
+
v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && ma(g, c) && !ma(m, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
4307
|
+
(E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Xs(E, g, p, r.options)), ma(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() {
|
|
4295
4308
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
4296
4309
|
}, i), u.thisAnimationDuration = i);
|
|
4297
4310
|
}), clearTimeout(n), o ? n = setTimeout(function() {
|
|
@@ -4302,25 +4315,25 @@ function zs() {
|
|
|
4302
4315
|
if (l) {
|
|
4303
4316
|
ne(a, "transition", ""), ne(a, "transform", "");
|
|
4304
4317
|
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);
|
|
4305
|
-
a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy =
|
|
4318
|
+
a.animatingX = !!m, a.animatingY = !!c, ne(a, "transform", "translate3d(" + m + "px," + c + "px,0)"), this.forRepaintDummy = Gs(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() {
|
|
4306
4319
|
ne(a, "transition", ""), ne(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
|
|
4307
4320
|
}, l);
|
|
4308
4321
|
}
|
|
4309
4322
|
}
|
|
4310
4323
|
};
|
|
4311
4324
|
}
|
|
4312
|
-
function
|
|
4325
|
+
function Gs(e) {
|
|
4313
4326
|
return e.offsetWidth;
|
|
4314
4327
|
}
|
|
4315
|
-
function
|
|
4328
|
+
function Xs(e, n, t, a) {
|
|
4316
4329
|
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;
|
|
4317
4330
|
}
|
|
4318
|
-
var Bt = [],
|
|
4331
|
+
var Bt = [], pa = {
|
|
4319
4332
|
initializeByDefault: !0
|
|
4320
4333
|
}, En = {
|
|
4321
4334
|
mount: function(n) {
|
|
4322
|
-
for (var t in
|
|
4323
|
-
|
|
4335
|
+
for (var t in pa)
|
|
4336
|
+
pa.hasOwnProperty(t) && !(t in n) && (n[t] = pa[t]);
|
|
4324
4337
|
Bt.forEach(function(a) {
|
|
4325
4338
|
if (a.pluginName === n.pluginName)
|
|
4326
4339
|
throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
|
|
@@ -4367,7 +4380,7 @@ var Bt = [], va = {
|
|
|
4367
4380
|
}), r;
|
|
4368
4381
|
}
|
|
4369
4382
|
};
|
|
4370
|
-
function
|
|
4383
|
+
function Zs(e) {
|
|
4371
4384
|
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;
|
|
4372
4385
|
if (n = n || t && t[je], !!n) {
|
|
4373
4386
|
var v, f = n.options, d = "on" + a.charAt(0).toUpperCase() + a.substr(1);
|
|
@@ -4381,15 +4394,15 @@ function Gs(e) {
|
|
|
4381
4394
|
t && t.dispatchEvent(v), f[d] && f[d].call(n, v);
|
|
4382
4395
|
}
|
|
4383
4396
|
}
|
|
4384
|
-
var
|
|
4385
|
-
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o =
|
|
4397
|
+
var Js = ["evt"], qe = function(n, t) {
|
|
4398
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = a.evt, o = Ys(a, Js);
|
|
4386
4399
|
En.pluginEvent.bind(ae)(n, t, ut({
|
|
4387
4400
|
dragEl: Y,
|
|
4388
4401
|
parentEl: Me,
|
|
4389
4402
|
ghostEl: oe,
|
|
4390
4403
|
rootEl: ke,
|
|
4391
4404
|
nextEl: At,
|
|
4392
|
-
lastDownEl:
|
|
4405
|
+
lastDownEl: Bn,
|
|
4393
4406
|
cloneEl: xe,
|
|
4394
4407
|
cloneHidden: bt,
|
|
4395
4408
|
dragStarted: rn,
|
|
@@ -4418,7 +4431,7 @@ var Xs = ["evt"], qe = function(n, t) {
|
|
|
4418
4431
|
}, o));
|
|
4419
4432
|
};
|
|
4420
4433
|
function He(e) {
|
|
4421
|
-
|
|
4434
|
+
Zs(ut({
|
|
4422
4435
|
putSortable: Ye,
|
|
4423
4436
|
cloneEl: xe,
|
|
4424
4437
|
targetEl: Y,
|
|
@@ -4429,8 +4442,8 @@ function He(e) {
|
|
|
4429
4442
|
newDraggableIndex: gt
|
|
4430
4443
|
}, e));
|
|
4431
4444
|
}
|
|
4432
|
-
var Y, Me, oe, ke, At,
|
|
4433
|
-
if (
|
|
4445
|
+
var Y, Me, oe, ke, At, Bn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, zn = !1, Wn = [], Et, et, va, ha, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Rn, Ve, ga = [], $a = !1, Kn = [], la = typeof document < "u", Mn = Qa, $o = kn || ht ? "cssFloat" : "float", Qs = la && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
|
|
4446
|
+
if (la) {
|
|
4434
4447
|
if (ht)
|
|
4435
4448
|
return !1;
|
|
4436
4449
|
var e = document.createElement("x");
|
|
@@ -4447,12 +4460,12 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4447
4460
|
return l && (i.clear === "both" || i.clear === c) ? "vertical" : "horizontal";
|
|
4448
4461
|
}
|
|
4449
4462
|
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";
|
|
4450
|
-
},
|
|
4463
|
+
}, eu = function(n, t, a) {
|
|
4451
4464
|
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;
|
|
4452
4465
|
return r === s || o === i || r + l / 2 === s + u / 2;
|
|
4453
|
-
},
|
|
4466
|
+
}, tu = function(n, t) {
|
|
4454
4467
|
var a;
|
|
4455
|
-
return
|
|
4468
|
+
return Wn.some(function(r) {
|
|
4456
4469
|
var o = r[je].options.emptyInsertThreshold;
|
|
4457
4470
|
if (!(!o || eo(r))) {
|
|
4458
4471
|
var l = Re(r), s = n >= l.left - o && n <= l.right + o, i = t >= l.top - o && t <= l.bottom + o;
|
|
@@ -4477,7 +4490,7 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4477
4490
|
};
|
|
4478
4491
|
}
|
|
4479
4492
|
var a = {}, r = n.group;
|
|
4480
|
-
(!r ||
|
|
4493
|
+
(!r || _a(r) != "object") && (r = {
|
|
4481
4494
|
name: r
|
|
4482
4495
|
}), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
|
|
4483
4496
|
}, hr = function() {
|
|
@@ -4485,14 +4498,14 @@ var Y, Me, oe, ke, At, Rn, xe, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
|
|
|
4485
4498
|
}, gr = function() {
|
|
4486
4499
|
!mr && oe && ne(oe, "display", "");
|
|
4487
4500
|
};
|
|
4488
|
-
|
|
4489
|
-
if (
|
|
4490
|
-
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(),
|
|
4501
|
+
la && !rr && document.addEventListener("click", function(e) {
|
|
4502
|
+
if (zn)
|
|
4503
|
+
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), zn = !1, !1;
|
|
4491
4504
|
}, !0);
|
|
4492
4505
|
var Tt = function(n) {
|
|
4493
4506
|
if (Y) {
|
|
4494
4507
|
n = n.touches ? n.touches[0] : n;
|
|
4495
|
-
var t =
|
|
4508
|
+
var t = tu(n.clientX, n.clientY);
|
|
4496
4509
|
if (t) {
|
|
4497
4510
|
var a = {};
|
|
4498
4511
|
for (var r in n)
|
|
@@ -4500,7 +4513,7 @@ var Tt = function(n) {
|
|
|
4500
4513
|
a.target = a.rootEl = t, a.preventDefault = void 0, a.stopPropagation = void 0, t[je]._onDragOver(a);
|
|
4501
4514
|
}
|
|
4502
4515
|
}
|
|
4503
|
-
},
|
|
4516
|
+
}, nu = function(n) {
|
|
4504
4517
|
Y && Y.parentNode[je]._isOutsideThisEl(n.target);
|
|
4505
4518
|
};
|
|
4506
4519
|
function ae(e, n) {
|
|
@@ -4559,7 +4572,7 @@ function ae(e, n) {
|
|
|
4559
4572
|
vr(n);
|
|
4560
4573
|
for (var r in this)
|
|
4561
4574
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
4562
|
-
this.nativeDraggable = n.forceFallback ? !1 :
|
|
4575
|
+
this.nativeDraggable = n.forceFallback ? !1 : Qs, 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)), Wn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), pt(this, Ks());
|
|
4563
4576
|
}
|
|
4564
4577
|
ae.prototype = /** @lends Sortable.prototype */
|
|
4565
4578
|
{
|
|
@@ -4573,7 +4586,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4573
4586
|
_onTapStart: function(n) {
|
|
4574
4587
|
if (n.cancelable) {
|
|
4575
4588
|
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;
|
|
4576
|
-
if (
|
|
4589
|
+
if (cu(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) && Bn !== i)) {
|
|
4577
4590
|
if (Lt = Je(i), fn = Je(i, r.draggable), typeof m == "function") {
|
|
4578
4591
|
if (m.call(this, n, i, this)) {
|
|
4579
4592
|
He({
|
|
@@ -4612,7 +4625,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4612
4625
|
var r = this, o = r.el, l = r.options, s = o.ownerDocument, i;
|
|
4613
4626
|
if (a && !Y && a.parentNode === o) {
|
|
4614
4627
|
var u = Re(a);
|
|
4615
|
-
if (ke = o, Y = a, Me = Y.parentNode, At = Y.nextSibling,
|
|
4628
|
+
if (ke = o, Y = a, Me = Y.parentNode, At = Y.nextSibling, Bn = a, xn = l.group, ae.dragged = Y, Et = {
|
|
4616
4629
|
target: Y,
|
|
4617
4630
|
clientX: (t || n).clientX,
|
|
4618
4631
|
clientY: (t || n).clientY
|
|
@@ -4629,7 +4642,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4629
4642
|
originalEvent: n
|
|
4630
4643
|
}), We(Y, l.chosenClass, !0);
|
|
4631
4644
|
}, l.ignore.split(",").forEach(function(m) {
|
|
4632
|
-
sr(Y, m.trim(),
|
|
4645
|
+
sr(Y, m.trim(), ba);
|
|
4633
4646
|
}), 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, {
|
|
4634
4647
|
evt: n
|
|
4635
4648
|
}), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn || ht))) {
|
|
@@ -4647,7 +4660,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4647
4660
|
Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
4648
4661
|
},
|
|
4649
4662
|
_disableDelayedDrag: function() {
|
|
4650
|
-
Y &&
|
|
4663
|
+
Y && ba(Y), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
4651
4664
|
},
|
|
4652
4665
|
_disableDelayedDragEvents: function() {
|
|
4653
4666
|
var n = this.el.ownerDocument;
|
|
@@ -4656,7 +4669,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4656
4669
|
_triggerDragStart: function(n, t) {
|
|
4657
4670
|
t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? fe(document, "pointermove", this._onTouchMove) : t ? fe(document, "touchmove", this._onTouchMove) : fe(document, "mousemove", this._onTouchMove) : (fe(Y, "dragend", this), fe(ke, "dragstart", this._onDragStart));
|
|
4658
4671
|
try {
|
|
4659
|
-
document.selection ?
|
|
4672
|
+
document.selection ? Pn(function() {
|
|
4660
4673
|
document.selection.empty();
|
|
4661
4674
|
}) : window.getSelection().removeAllRanges();
|
|
4662
4675
|
} catch {
|
|
@@ -4666,7 +4679,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4666
4679
|
if (Pt = !1, ke && Y) {
|
|
4667
4680
|
qe("dragStarted", this, {
|
|
4668
4681
|
evt: t
|
|
4669
|
-
}), this.nativeDraggable && fe(document, "dragover",
|
|
4682
|
+
}), this.nativeDraggable && fe(document, "dragover", nu);
|
|
4670
4683
|
var a = this.options;
|
|
4671
4684
|
!n && We(Y, a.dragClass, !1), We(Y, a.ghostClass, !0), ae.active = this, n && this._appendGhost(), He({
|
|
4672
4685
|
sortable: this,
|
|
@@ -4700,14 +4713,14 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4700
4713
|
},
|
|
4701
4714
|
_onTouchMove: function(n) {
|
|
4702
4715
|
if (Et) {
|
|
4703
|
-
var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, l = oe && Yt(oe, !0), s = oe && l && l.a, i = oe && l && l.d, u = Mn && Ve && Io(Ve), m = (o.clientX - Et.clientX + r.x) / (s || 1) + (u ? u[0] -
|
|
4716
|
+
var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, l = oe && Yt(oe, !0), s = oe && l && l.a, i = oe && l && l.d, u = Mn && Ve && Io(Ve), m = (o.clientX - Et.clientX + r.x) / (s || 1) + (u ? u[0] - ga[0] : 0) / (s || 1), c = (o.clientY - Et.clientY + r.y) / (i || 1) + (u ? u[1] - ga[1] : 0) / (i || 1);
|
|
4704
4717
|
if (!ae.active && !Pt) {
|
|
4705
4718
|
if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
|
|
4706
4719
|
return;
|
|
4707
4720
|
this._onDragStart(n, !0);
|
|
4708
4721
|
}
|
|
4709
4722
|
if (oe) {
|
|
4710
|
-
l ? (l.e += m - (
|
|
4723
|
+
l ? (l.e += m - (va || 0), l.f += c - (ha || 0)) : l = {
|
|
4711
4724
|
a: 1,
|
|
4712
4725
|
b: 0,
|
|
4713
4726
|
c: 0,
|
|
@@ -4716,7 +4729,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4716
4729
|
f: c
|
|
4717
4730
|
};
|
|
4718
4731
|
var g = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
|
|
4719
|
-
ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g),
|
|
4732
|
+
ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g), va = m, ha = c, et = o;
|
|
4720
4733
|
}
|
|
4721
4734
|
n.cancelable && n.preventDefault();
|
|
4722
4735
|
}
|
|
@@ -4727,7 +4740,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4727
4740
|
if (Mn) {
|
|
4728
4741
|
for (Ve = n; ne(Ve, "position") === "static" && ne(Ve, "transform") === "none" && Ve !== document; )
|
|
4729
4742
|
Ve = Ve.parentNode;
|
|
4730
|
-
Ve !== document.body && Ve !== document.documentElement ? (Ve === document && (Ve = lt()), t.top += Ve.scrollTop, t.left += Ve.scrollLeft) : Ve = lt(),
|
|
4743
|
+
Ve !== document.body && Ve !== document.documentElement ? (Ve === document && (Ve = lt()), t.top += Ve.scrollTop, t.left += Ve.scrollLeft) : Ve = lt(), ga = Io(Ve);
|
|
4731
4744
|
}
|
|
4732
4745
|
oe = Y.cloneNode(!0), We(oe, a.ghostClass, !1), We(oe, a.fallbackClass, !0), We(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Mn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin", Mo / parseInt(oe.style.width) * 100 + "% " + _o / parseInt(oe.style.height) * 100 + "%");
|
|
4733
4746
|
}
|
|
@@ -4740,12 +4753,12 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4740
4753
|
this._onDrop();
|
|
4741
4754
|
return;
|
|
4742
4755
|
}
|
|
4743
|
-
qe("setupClone", this), ae.eventCanceled || (xe = dr(Y), xe.removeAttribute("id"), xe.draggable = !1, xe.style["will-change"] = "", this._hideClone(), We(xe, this.options.chosenClass, !1), ae.clone = xe), a.cloneId =
|
|
4756
|
+
qe("setupClone", this), ae.eventCanceled || (xe = dr(Y), xe.removeAttribute("id"), xe.draggable = !1, xe.style["will-change"] = "", this._hideClone(), We(xe, this.options.chosenClass, !1), ae.clone = xe), a.cloneId = Pn(function() {
|
|
4744
4757
|
qe("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || ke.insertBefore(xe, Y), a._hideClone(), He({
|
|
4745
4758
|
sortable: a,
|
|
4746
4759
|
name: "clone"
|
|
4747
4760
|
}));
|
|
4748
|
-
}), !t && We(Y, o.dragClass, !0), t ? (
|
|
4761
|
+
}), !t && We(Y, o.dragClass, !0), t ? (zn = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (ce(document, "mouseup", a._onDrop), ce(document, "touchend", a._onDrop), ce(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, Y)), fe(document, "drop", a), ne(Y, "transform", "translateZ(0)")), Pt = !0, a._dragStartId = Pn(a._dragStarted.bind(a, t, n)), fe(document, "selectstart", a), rn = !0, window.getSelection().removeAllRanges(), cn && ne(document.body, "user-select", "none");
|
|
4749
4762
|
},
|
|
4750
4763
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
4751
4764
|
_onDragOver: function(n) {
|
|
@@ -4792,17 +4805,17 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4792
4805
|
if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return v;
|
|
4793
4806
|
if (Y.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
|
|
4794
4807
|
return h(!1);
|
|
4795
|
-
if (
|
|
4808
|
+
if (zn = !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))) {
|
|
4796
4809
|
if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return v;
|
|
4797
4810
|
if (l)
|
|
4798
4811
|
return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)), h(!0);
|
|
4799
4812
|
var x = eo(t, s.draggable);
|
|
4800
|
-
if (!x ||
|
|
4813
|
+
if (!x || lu(n, p, this) && !x.animated) {
|
|
4801
4814
|
if (x === Y)
|
|
4802
4815
|
return h(!1);
|
|
4803
4816
|
if (x && t === n.target && (a = x), a && (o = Re(a)), _n(ke, t, Y, r, a, o, n, !!a) !== !1)
|
|
4804
4817
|
return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(), h(!0);
|
|
4805
|
-
} else if (x &&
|
|
4818
|
+
} else if (x && ru(n, p, this)) {
|
|
4806
4819
|
var I = qt(t, 0, s, !0);
|
|
4807
4820
|
if (I === Y)
|
|
4808
4821
|
return h(!1);
|
|
@@ -4810,8 +4823,8 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4810
4823
|
return d(), t.insertBefore(Y, I), Me = t, C(), h(!0);
|
|
4811
4824
|
} else if (a.parentNode === t) {
|
|
4812
4825
|
o = Re(a);
|
|
4813
|
-
var b = 0, _, B = Y.parentNode !== t, k = !
|
|
4814
|
-
Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b =
|
|
4826
|
+
var b = 0, _, B = Y.parentNode !== t, k = !eu(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;
|
|
4827
|
+
Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), b = iu(n, a, o, p, k ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
|
|
4815
4828
|
var M;
|
|
4816
4829
|
if (b !== 0) {
|
|
4817
4830
|
var A = Je(Y);
|
|
@@ -4826,7 +4839,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4826
4839
|
y = b === 1;
|
|
4827
4840
|
var S = _n(ke, t, Y, r, a, o, n, y);
|
|
4828
4841
|
if (S !== !1)
|
|
4829
|
-
return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(
|
|
4842
|
+
return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(ou, 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 && (Rn = Math.abs(_ - Re(a)[$])), C(), h(!0);
|
|
4830
4843
|
}
|
|
4831
4844
|
if (t.contains(Y))
|
|
4832
4845
|
return h(!1);
|
|
@@ -4849,7 +4862,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4849
4862
|
this._nulling();
|
|
4850
4863
|
return;
|
|
4851
4864
|
}
|
|
4852
|
-
Pt = !1, In = !1, pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fa(this.cloneId), Fa(this._dragStartId), this.nativeDraggable && (ce(document, "drop", this), ce(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && ne(document.body, "user-select", ""), ne(Y, "transform", ""), n && (rn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (ke === Me || Ye && Ye.lastPutMode !== "clone") && xe && xe.parentNode && xe.parentNode.removeChild(xe), Y && (this.nativeDraggable && ce(Y, "dragend", this),
|
|
4865
|
+
Pt = !1, In = !1, pn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Fa(this.cloneId), Fa(this._dragStartId), this.nativeDraggable && (ce(document, "drop", this), ce(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && ne(document.body, "user-select", ""), ne(Y, "transform", ""), n && (rn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (ke === Me || Ye && Ye.lastPutMode !== "clone") && xe && xe.parentNode && xe.parentNode.removeChild(xe), Y && (this.nativeDraggable && ce(Y, "dragend", this), ba(Y), Y.style["will-change"] = "", rn && !Pt && We(Y, Ye ? Ye.options.ghostClass : this.options.ghostClass, !1), We(Y, this.options.chosenClass, !1), He({
|
|
4853
4866
|
sortable: this,
|
|
4854
4867
|
name: "unchoose",
|
|
4855
4868
|
toEl: Me,
|
|
@@ -4896,9 +4909,11 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4896
4909
|
}), this.save()))), this._nulling();
|
|
4897
4910
|
},
|
|
4898
4911
|
_nulling: function() {
|
|
4899
|
-
qe("nulling", this), ke = Y = Me = oe = At = xe =
|
|
4900
|
-
|
|
4901
|
-
|
|
4912
|
+
qe("nulling", this), ke = Y = Me = oe = At = xe = Bn = bt = Et = et = rn = Ke = gt = Lt = fn = Rt = mn = Ye = xn = ae.dragged = ae.ghost = ae.clone = ae.active = null;
|
|
4913
|
+
var n = this.el;
|
|
4914
|
+
Kn.forEach(function(t) {
|
|
4915
|
+
n.contains(t) && (t.checked = !0);
|
|
4916
|
+
}), Kn.length = va = ha = 0;
|
|
4902
4917
|
},
|
|
4903
4918
|
handleEvent: function(n) {
|
|
4904
4919
|
switch (n.type) {
|
|
@@ -4908,7 +4923,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4908
4923
|
break;
|
|
4909
4924
|
case "dragenter":
|
|
4910
4925
|
case "dragover":
|
|
4911
|
-
Y && (this._onDragOver(n),
|
|
4926
|
+
Y && (this._onDragOver(n), au(n));
|
|
4912
4927
|
break;
|
|
4913
4928
|
case "selectstart":
|
|
4914
4929
|
n.preventDefault();
|
|
@@ -4921,7 +4936,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4921
4936
|
*/
|
|
4922
4937
|
toArray: function() {
|
|
4923
4938
|
for (var n = [], t, a = this.el.children, r = 0, o = a.length, l = this.options; r < o; r++)
|
|
4924
|
-
t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) ||
|
|
4939
|
+
t = a[r], tt(t, l.draggable, this.el, !1) && n.push(t.getAttribute(l.dataIdAttr) || uu(t));
|
|
4925
4940
|
return n;
|
|
4926
4941
|
},
|
|
4927
4942
|
/**
|
|
@@ -4974,7 +4989,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4974
4989
|
var n = this.el;
|
|
4975
4990
|
n[je] = null, ce(n, "mousedown", this._onTapStart), ce(n, "touchstart", this._onTapStart), ce(n, "pointerdown", this._onTapStart), this.nativeDraggable && (ce(n, "dragover", this), ce(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
|
|
4976
4991
|
t.removeAttribute("draggable");
|
|
4977
|
-
}), this._onDrop(), this._disableDelayedDragEvents(),
|
|
4992
|
+
}), this._onDrop(), this._disableDelayedDragEvents(), Wn.splice(Wn.indexOf(this.el), 1), this.el = n = null;
|
|
4978
4993
|
},
|
|
4979
4994
|
_hideClone: function() {
|
|
4980
4995
|
if (!bt) {
|
|
@@ -4993,7 +5008,7 @@ ae.prototype = /** @lends Sortable.prototype */
|
|
|
4993
5008
|
}
|
|
4994
5009
|
}
|
|
4995
5010
|
};
|
|
4996
|
-
function
|
|
5011
|
+
function au(e) {
|
|
4997
5012
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
4998
5013
|
}
|
|
4999
5014
|
function _n(e, n, t, a, r, o, l, s) {
|
|
@@ -5003,55 +5018,55 @@ function _n(e, n, t, a, r, o, l, s) {
|
|
|
5003
5018
|
cancelable: !0
|
|
5004
5019
|
}) : (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;
|
|
5005
5020
|
}
|
|
5006
|
-
function
|
|
5021
|
+
function ba(e) {
|
|
5007
5022
|
e.draggable = !1;
|
|
5008
5023
|
}
|
|
5009
|
-
function
|
|
5024
|
+
function ou() {
|
|
5010
5025
|
$a = !1;
|
|
5011
5026
|
}
|
|
5012
|
-
function
|
|
5027
|
+
function ru(e, n, t) {
|
|
5013
5028
|
var a = Re(qt(t.el, 0, t.options, !0)), r = fr(t.el, t.options, oe), o = 10;
|
|
5014
5029
|
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;
|
|
5015
5030
|
}
|
|
5016
|
-
function
|
|
5031
|
+
function lu(e, n, t) {
|
|
5017
5032
|
var a = Re(eo(t.el, t.options.draggable)), r = fr(t.el, t.options, oe), o = 10;
|
|
5018
5033
|
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;
|
|
5019
5034
|
}
|
|
5020
|
-
function
|
|
5035
|
+
function iu(e, n, t, a, r, o, l, s) {
|
|
5021
5036
|
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;
|
|
5022
5037
|
if (!l) {
|
|
5023
|
-
if (s &&
|
|
5038
|
+
if (s && Rn < u * r) {
|
|
5024
5039
|
if (!pn && (mn === 1 ? i > m + u * o / 2 : i < c - u * o / 2) && (pn = !0), pn)
|
|
5025
5040
|
g = !0;
|
|
5026
|
-
else if (mn === 1 ? i < m +
|
|
5041
|
+
else if (mn === 1 ? i < m + Rn : i > c - Rn)
|
|
5027
5042
|
return -mn;
|
|
5028
5043
|
} else if (i > m + u * (1 - r) / 2 && i < c - u * (1 - r) / 2)
|
|
5029
|
-
return
|
|
5044
|
+
return su(n);
|
|
5030
5045
|
}
|
|
5031
5046
|
return g = g || l, g && (i < m + u * o / 2 || i > c - u * o / 2) ? i > m + u / 2 ? 1 : -1 : 0;
|
|
5032
5047
|
}
|
|
5033
|
-
function
|
|
5048
|
+
function su(e) {
|
|
5034
5049
|
return Je(Y) < Je(e) ? 1 : -1;
|
|
5035
5050
|
}
|
|
5036
|
-
function
|
|
5051
|
+
function uu(e) {
|
|
5037
5052
|
for (var n = e.tagName + e.className + e.src + e.href + e.textContent, t = n.length, a = 0; t--; )
|
|
5038
5053
|
a += n.charCodeAt(t);
|
|
5039
5054
|
return a.toString(36);
|
|
5040
5055
|
}
|
|
5041
|
-
function
|
|
5042
|
-
|
|
5056
|
+
function cu(e) {
|
|
5057
|
+
Kn.length = 0;
|
|
5043
5058
|
for (var n = e.getElementsByTagName("input"), t = n.length; t--; ) {
|
|
5044
5059
|
var a = n[t];
|
|
5045
|
-
a.checked &&
|
|
5060
|
+
a.checked && Kn.push(a);
|
|
5046
5061
|
}
|
|
5047
5062
|
}
|
|
5048
|
-
function
|
|
5063
|
+
function Pn(e) {
|
|
5049
5064
|
return setTimeout(e, 0);
|
|
5050
5065
|
}
|
|
5051
5066
|
function Fa(e) {
|
|
5052
5067
|
return clearTimeout(e);
|
|
5053
5068
|
}
|
|
5054
|
-
|
|
5069
|
+
la && fe(document, "touchmove", function(e) {
|
|
5055
5070
|
(ae.active || Pt) && e.cancelable && e.preventDefault();
|
|
5056
5071
|
});
|
|
5057
5072
|
ae.utils = {
|
|
@@ -5062,13 +5077,13 @@ ae.utils = {
|
|
|
5062
5077
|
is: function(n, t) {
|
|
5063
5078
|
return !!tt(n, t, n, !1);
|
|
5064
5079
|
},
|
|
5065
|
-
extend:
|
|
5080
|
+
extend: zs,
|
|
5066
5081
|
throttle: ur,
|
|
5067
5082
|
closest: tt,
|
|
5068
5083
|
toggleClass: We,
|
|
5069
5084
|
clone: dr,
|
|
5070
5085
|
index: Je,
|
|
5071
|
-
nextTick:
|
|
5086
|
+
nextTick: Pn,
|
|
5072
5087
|
cancelNextTick: Fa,
|
|
5073
5088
|
detectDirection: pr,
|
|
5074
5089
|
getChild: qt,
|
|
@@ -5089,9 +5104,9 @@ ae.mount = function() {
|
|
|
5089
5104
|
ae.create = function(e, n) {
|
|
5090
5105
|
return new ae(e, n);
|
|
5091
5106
|
};
|
|
5092
|
-
ae.version =
|
|
5093
|
-
var Be = [], ln, Oa, Ba = !1,
|
|
5094
|
-
function
|
|
5107
|
+
ae.version = qs;
|
|
5108
|
+
var Be = [], ln, Oa, Ba = !1, ya, Sa, Gn, sn;
|
|
5109
|
+
function du() {
|
|
5095
5110
|
function e() {
|
|
5096
5111
|
this.defaults = {
|
|
5097
5112
|
scroll: !0,
|
|
@@ -5113,29 +5128,29 @@ function uu() {
|
|
|
5113
5128
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
5114
5129
|
},
|
|
5115
5130
|
drop: function() {
|
|
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(),
|
|
5131
|
+
this.sortable.nativeDraggable ? ce(document, "dragover", this._handleAutoScroll) : (ce(document, "pointermove", this._handleFallbackAutoScroll), ce(document, "touchmove", this._handleFallbackAutoScroll), ce(document, "mousemove", this._handleFallbackAutoScroll)), Fo(), Nn(), Ws();
|
|
5117
5132
|
},
|
|
5118
5133
|
nulling: function() {
|
|
5119
|
-
|
|
5134
|
+
Gn = Oa = ln = Ba = sn = ya = Sa = null, Be.length = 0;
|
|
5120
5135
|
},
|
|
5121
5136
|
_handleFallbackAutoScroll: function(t) {
|
|
5122
5137
|
this._handleAutoScroll(t, !0);
|
|
5123
5138
|
},
|
|
5124
5139
|
_handleAutoScroll: function(t, a) {
|
|
5125
5140
|
var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, l);
|
|
5126
|
-
if (
|
|
5127
|
-
|
|
5141
|
+
if (Gn = t, a || this.options.forceAutoScrollFallback || kn || ht || cn) {
|
|
5142
|
+
wa(t, this.options, s, a);
|
|
5128
5143
|
var i = yt(s, !0);
|
|
5129
|
-
Ba && (!sn || o !==
|
|
5144
|
+
Ba && (!sn || o !== ya || l !== Sa) && (sn && Fo(), sn = setInterval(function() {
|
|
5130
5145
|
var u = yt(document.elementFromPoint(o, l), !0);
|
|
5131
|
-
u !== i && (i = u,
|
|
5132
|
-
}, 10),
|
|
5146
|
+
u !== i && (i = u, Nn()), wa(t, r.options, u, a);
|
|
5147
|
+
}, 10), ya = o, Sa = l);
|
|
5133
5148
|
} else {
|
|
5134
5149
|
if (!this.options.bubbleScroll || yt(s, !0) === lt()) {
|
|
5135
|
-
|
|
5150
|
+
Nn();
|
|
5136
5151
|
return;
|
|
5137
5152
|
}
|
|
5138
|
-
|
|
5153
|
+
wa(t, this.options, yt(s, !1), !1);
|
|
5139
5154
|
}
|
|
5140
5155
|
}
|
|
5141
5156
|
}, pt(e, {
|
|
@@ -5143,7 +5158,7 @@ function uu() {
|
|
|
5143
5158
|
initializeByDefault: !0
|
|
5144
5159
|
});
|
|
5145
5160
|
}
|
|
5146
|
-
function
|
|
5161
|
+
function Nn() {
|
|
5147
5162
|
Be.forEach(function(e) {
|
|
5148
5163
|
clearInterval(e.pid);
|
|
5149
5164
|
}), Be = [];
|
|
@@ -5151,10 +5166,10 @@ function Ln() {
|
|
|
5151
5166
|
function Fo() {
|
|
5152
5167
|
clearInterval(sn);
|
|
5153
5168
|
}
|
|
5154
|
-
var
|
|
5169
|
+
var wa = ur(function(e, n, t, a) {
|
|
5155
5170
|
if (n.scroll) {
|
|
5156
5171
|
var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, l = n.scrollSensitivity, s = n.scrollSpeed, i = lt(), u = !1, m;
|
|
5157
|
-
Oa !== t && (Oa = t,
|
|
5172
|
+
Oa !== t && (Oa = t, Nn(), ln = n.scroll, m = n.scrollFn, ln === !0 && (ln = yt(t, !0)));
|
|
5158
5173
|
var c = 0, g = ln;
|
|
5159
5174
|
do {
|
|
5160
5175
|
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;
|
|
@@ -5164,9 +5179,9 @@ var Ca = ur(function(e, n, t, a) {
|
|
|
5164
5179
|
for (var A = 0; A <= c; A++)
|
|
5165
5180
|
Be[A] || (Be[A] = {});
|
|
5166
5181
|
(Be[c].vx != O || Be[c].vy != M || Be[c].el !== p) && (Be[c].el = p, Be[c].vx = O, Be[c].vy = M, clearInterval(Be[c].pid), (O != 0 || M != 0) && (u = !0, Be[c].pid = setInterval((function() {
|
|
5167
|
-
a && this.layer === 0 && ae.active._onTouchMove(
|
|
5182
|
+
a && this.layer === 0 && ae.active._onTouchMove(Gn);
|
|
5168
5183
|
var w = Be[this.layer].vy ? Be[this.layer].vy * s : 0, y = Be[this.layer].vx ? Be[this.layer].vx * s : 0;
|
|
5169
|
-
typeof m == "function" && m.call(ae.dragged.parentNode[je], y, w, e,
|
|
5184
|
+
typeof m == "function" && m.call(ae.dragged.parentNode[je], y, w, e, Gn, Be[this.layer].el) !== "continue" || cr(Be[this.layer].el, y, w);
|
|
5170
5185
|
}).bind({
|
|
5171
5186
|
layer: c
|
|
5172
5187
|
}), 24))), c++;
|
|
@@ -5216,12 +5231,12 @@ no.prototype = {
|
|
|
5216
5231
|
pt(no, {
|
|
5217
5232
|
pluginName: "removeOnSpill"
|
|
5218
5233
|
});
|
|
5219
|
-
ae.mount(new
|
|
5234
|
+
ae.mount(new du());
|
|
5220
5235
|
ae.mount(no, to);
|
|
5221
|
-
function
|
|
5236
|
+
function fu(e, n, t = {}) {
|
|
5222
5237
|
let a;
|
|
5223
5238
|
const { document: r = Or, watchElement: o = !1, ...l } = t, s = { onUpdate: (v) => {
|
|
5224
|
-
|
|
5239
|
+
vu(n, v.oldIndex, v.newIndex, v);
|
|
5225
5240
|
} }, i = V(() => typeof e == "string" ? r?.querySelector(e) : Br(e)), u = () => {
|
|
5226
5241
|
a?.destroy(), a = void 0;
|
|
5227
5242
|
}, m = (v) => {
|
|
@@ -5254,15 +5269,15 @@ function cu(e, n, t = {}) {
|
|
|
5254
5269
|
option: g
|
|
5255
5270
|
};
|
|
5256
5271
|
}
|
|
5257
|
-
function
|
|
5272
|
+
function mu(e, n, t) {
|
|
5258
5273
|
const a = e.children[t];
|
|
5259
5274
|
e.insertBefore(n, a);
|
|
5260
5275
|
}
|
|
5261
|
-
function
|
|
5276
|
+
function pu(e) {
|
|
5262
5277
|
e.parentNode && e.parentNode.removeChild(e);
|
|
5263
5278
|
}
|
|
5264
|
-
function
|
|
5265
|
-
a != null && (
|
|
5279
|
+
function vu(e, n, t, a = null) {
|
|
5280
|
+
a != null && (pu(a.item), mu(a.from, a.item, n));
|
|
5266
5281
|
const r = Ra(e), o = r ? [...ro(e)] : ro(e);
|
|
5267
5282
|
if (t >= 0 && t < o.length) {
|
|
5268
5283
|
const l = o.splice(n, 1)[0];
|
|
@@ -5277,29 +5292,29 @@ for (let e = 0; e < 256; ++e)
|
|
|
5277
5292
|
function yr(e, n = 0) {
|
|
5278
5293
|
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();
|
|
5279
5294
|
}
|
|
5280
|
-
let
|
|
5281
|
-
const
|
|
5295
|
+
let Ca;
|
|
5296
|
+
const hu = new Uint8Array(16);
|
|
5282
5297
|
function Sr() {
|
|
5283
|
-
if (!
|
|
5298
|
+
if (!Ca) {
|
|
5284
5299
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
5285
5300
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
5286
|
-
|
|
5301
|
+
Ca = crypto.getRandomValues.bind(crypto);
|
|
5287
5302
|
}
|
|
5288
|
-
return
|
|
5303
|
+
return Ca(hu);
|
|
5289
5304
|
}
|
|
5290
5305
|
const tn = {};
|
|
5291
|
-
function
|
|
5306
|
+
function gu(e, n, t) {
|
|
5292
5307
|
let a;
|
|
5293
5308
|
{
|
|
5294
5309
|
const r = Date.now(), o = Sr();
|
|
5295
|
-
|
|
5310
|
+
bu(tn, r, o), a = yu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
|
|
5296
5311
|
}
|
|
5297
5312
|
return n ?? yr(a);
|
|
5298
5313
|
}
|
|
5299
|
-
function
|
|
5314
|
+
function bu(e, n, t) {
|
|
5300
5315
|
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;
|
|
5301
5316
|
}
|
|
5302
|
-
function
|
|
5317
|
+
function yu(e, n, t, a, r, o, l = 0) {
|
|
5303
5318
|
if (e.length < 16)
|
|
5304
5319
|
throw new Error("Random bytes length must be >= 16");
|
|
5305
5320
|
if (!o)
|
|
@@ -5315,20 +5330,20 @@ function gu(e, n, t, a, r, o, l = 0) {
|
|
|
5315
5330
|
o[l++] = r[u];
|
|
5316
5331
|
return o;
|
|
5317
5332
|
}
|
|
5318
|
-
const
|
|
5319
|
-
function
|
|
5333
|
+
const Su = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Oo = { randomUUID: Su };
|
|
5334
|
+
function wu(e, n, t) {
|
|
5320
5335
|
e = e || {};
|
|
5321
5336
|
const a = e.random ?? e.rng?.() ?? Sr();
|
|
5322
5337
|
if (a.length < 16)
|
|
5323
5338
|
throw new Error("Random bytes length must be >= 16");
|
|
5324
5339
|
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, yr(a);
|
|
5325
5340
|
}
|
|
5326
|
-
function
|
|
5327
|
-
return Oo.randomUUID && !e ? Oo.randomUUID() :
|
|
5341
|
+
function Cu(e, n, t) {
|
|
5342
|
+
return Oo.randomUUID && !e ? Oo.randomUUID() : wu(e);
|
|
5328
5343
|
}
|
|
5329
|
-
const
|
|
5330
|
-
function
|
|
5331
|
-
const r = P(!1), o = P(null), l = P(null), s = P(
|
|
5344
|
+
const Du = () => gu(), Ad = () => Cu(), nn = "a-sortable-widget__handle", ku = "a-sortable-widget__ghost", Eu = "a-sortable-widget__drag", Tu = "a-sortable-widget__chosen", Bo = "a-sortable-widget__group";
|
|
5345
|
+
function Au(e, n, t, a) {
|
|
5346
|
+
const r = P(!1), o = P(null), l = P(null), s = P(Du()), i = P(null), u = P(0), m = P(t.dirty);
|
|
5332
5347
|
function c(M, A) {
|
|
5333
5348
|
return {
|
|
5334
5349
|
key: M[t.keyField],
|
|
@@ -5422,7 +5437,7 @@ function Eu(e, n, t, a) {
|
|
|
5422
5437
|
updateDataAtIndex: I
|
|
5423
5438
|
};
|
|
5424
5439
|
}
|
|
5425
|
-
const
|
|
5440
|
+
const xu = "a-sortable-", Iu = ["id"], Mu = { key: 1 }, _u = { class: "a-sortable-widget__before" }, $u = { class: "a-sortable-widget__content" }, Fu = { class: "a-sortable-widget__after" }, Ou = /* @__PURE__ */ we({
|
|
5426
5441
|
__name: "ASortable",
|
|
5427
5442
|
props: {
|
|
5428
5443
|
modelValue: {},
|
|
@@ -5463,14 +5478,14 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5463
5478
|
return;
|
|
5464
5479
|
}
|
|
5465
5480
|
r("onAddLast", null);
|
|
5466
|
-
}, c = V(() => T(a.widgetIdentifierId) ?
|
|
5481
|
+
}, c = V(() => T(a.widgetIdentifierId) ? xu + k.value : a.widgetIdentifierId), g = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
|
|
5467
5482
|
if (a.disableDraggable || !B.value) return;
|
|
5468
5483
|
const y = B.value.querySelector("." + Bo);
|
|
5469
|
-
y && (_.value =
|
|
5484
|
+
y && (_.value = fu(y, [], {
|
|
5470
5485
|
handle: "." + nn,
|
|
5471
|
-
ghostClass:
|
|
5472
|
-
dragClass:
|
|
5473
|
-
chosenClass:
|
|
5486
|
+
ghostClass: ku,
|
|
5487
|
+
dragClass: Eu,
|
|
5488
|
+
chosenClass: Tu,
|
|
5474
5489
|
onEnd: async (S) => {
|
|
5475
5490
|
if (a.disableDefaultSort || T(S.oldIndex) || T(S.newIndex)) return;
|
|
5476
5491
|
const D = d(S.oldIndex, S.newIndex);
|
|
@@ -5499,7 +5514,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5499
5514
|
addAfterIndex: M,
|
|
5500
5515
|
removeByIndex: A,
|
|
5501
5516
|
updateDataAtIndex: w
|
|
5502
|
-
} =
|
|
5517
|
+
} = Au(o, p, a, r);
|
|
5503
5518
|
return Ir(() => {
|
|
5504
5519
|
x();
|
|
5505
5520
|
}), ze(() => {
|
|
@@ -5523,7 +5538,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5523
5538
|
updateData: O,
|
|
5524
5539
|
updateDataAtIndex: w
|
|
5525
5540
|
}), (y, S) => {
|
|
5526
|
-
const D =
|
|
5541
|
+
const D = Un("ABtnTertiary"), F = Un("ABtnPrimary");
|
|
5527
5542
|
return U(), ve("div", null, [
|
|
5528
5543
|
$e("div", {
|
|
5529
5544
|
id: c.value,
|
|
@@ -5533,10 +5548,10 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5533
5548
|
key: Z(v),
|
|
5534
5549
|
class: nt(Z(Bo))
|
|
5535
5550
|
}, [
|
|
5536
|
-
(U(!0), ve(at, null,
|
|
5551
|
+
(U(!0), ve(at, null, Yn(Z(E), (H, X) => (U(), ve(at, {
|
|
5537
5552
|
key: H.key
|
|
5538
5553
|
}, [
|
|
5539
|
-
e.chips ? (U(), Q(
|
|
5554
|
+
e.chips ? (U(), Q(Qn, {
|
|
5540
5555
|
key: 0,
|
|
5541
5556
|
size: e.chipSize,
|
|
5542
5557
|
class: "mr-1",
|
|
@@ -5574,8 +5589,8 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5574
5589
|
]),
|
|
5575
5590
|
key: "1"
|
|
5576
5591
|
} : void 0
|
|
5577
|
-
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div",
|
|
5578
|
-
$e("div",
|
|
5592
|
+
]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div", Mu, [
|
|
5593
|
+
$e("div", _u, [
|
|
5579
5594
|
_e(y.$slots, "itemBefore", { item: H })
|
|
5580
5595
|
]),
|
|
5581
5596
|
$e("div", {
|
|
@@ -5591,7 +5606,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5591
5606
|
}),
|
|
5592
5607
|
icon: "mdi-drag"
|
|
5593
5608
|
}, null, 8, ["class"]),
|
|
5594
|
-
$e("div",
|
|
5609
|
+
$e("div", $u, [
|
|
5595
5610
|
_e(y.$slots, "item", { item: H })
|
|
5596
5611
|
]),
|
|
5597
5612
|
$e("div", {
|
|
@@ -5674,13 +5689,13 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5674
5689
|
])
|
|
5675
5690
|
], 2)
|
|
5676
5691
|
], 2),
|
|
5677
|
-
$e("div",
|
|
5692
|
+
$e("div", Fu, [
|
|
5678
5693
|
_e(y.$slots, "itemAfter", { item: H })
|
|
5679
5694
|
])
|
|
5680
5695
|
]))
|
|
5681
5696
|
], 64))), 128))
|
|
5682
5697
|
], 2))
|
|
5683
|
-
], 10,
|
|
5698
|
+
], 10, Iu),
|
|
5684
5699
|
_e(y.$slots, "add-last-activator", {
|
|
5685
5700
|
props: { onClick: Ee(() => m(), ["stop"]) }
|
|
5686
5701
|
}, () => [
|
|
@@ -5705,7 +5720,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5705
5720
|
default: L(() => [
|
|
5706
5721
|
Z(C) ? (U(), Q(La, { key: 0 }, {
|
|
5707
5722
|
default: L(() => [
|
|
5708
|
-
N(
|
|
5723
|
+
N(Ko, {
|
|
5709
5724
|
onOnCancel: S[0] || (S[0] = (H) => C.value = !1)
|
|
5710
5725
|
}, {
|
|
5711
5726
|
default: L(() => [
|
|
@@ -5745,7 +5760,7 @@ const Tu = "a-sortable-", Au = ["id"], xu = { key: 1 }, Iu = { class: "a-sortabl
|
|
|
5745
5760
|
};
|
|
5746
5761
|
}
|
|
5747
5762
|
});
|
|
5748
|
-
function
|
|
5763
|
+
function Bu() {
|
|
5749
5764
|
return {
|
|
5750
5765
|
createDefaultUserAdminConfig: (n) => ({
|
|
5751
5766
|
id: 0,
|
|
@@ -5757,8 +5772,8 @@ function Fu() {
|
|
|
5757
5772
|
defaultConfig: !1,
|
|
5758
5773
|
data: [],
|
|
5759
5774
|
position: 0,
|
|
5760
|
-
createdAt:
|
|
5761
|
-
modifiedAt:
|
|
5775
|
+
createdAt: xa(),
|
|
5776
|
+
modifiedAt: xa(),
|
|
5762
5777
|
createdBy: null,
|
|
5763
5778
|
modifiedBy: null,
|
|
5764
5779
|
_resourceName: "userAdminConfig",
|
|
@@ -5766,19 +5781,19 @@ function Fu() {
|
|
|
5766
5781
|
})
|
|
5767
5782
|
};
|
|
5768
5783
|
}
|
|
5769
|
-
const
|
|
5784
|
+
const Ru = {
|
|
5770
5785
|
key: 0,
|
|
5771
5786
|
class: "w-100 pt-4"
|
|
5772
|
-
},
|
|
5787
|
+
}, Pu = {
|
|
5773
5788
|
key: 1,
|
|
5774
5789
|
class: "w-100 pt-4"
|
|
5775
|
-
},
|
|
5790
|
+
}, Nu = {
|
|
5776
5791
|
key: 0,
|
|
5777
5792
|
class: "d-flex w-100 align-center justify-center"
|
|
5778
|
-
},
|
|
5793
|
+
}, Lu = { key: 1 }, Yu = {
|
|
5779
5794
|
key: 0,
|
|
5780
5795
|
class: "d-flex align-center justify-end"
|
|
5781
|
-
},
|
|
5796
|
+
}, Uu = /* @__PURE__ */ we({
|
|
5782
5797
|
__name: "FilterBookmarkDialog",
|
|
5783
5798
|
props: {
|
|
5784
5799
|
client: {},
|
|
@@ -5797,12 +5812,12 @@ const Ou = {
|
|
|
5797
5812
|
required: f,
|
|
5798
5813
|
maxLength: d(100)
|
|
5799
5814
|
}
|
|
5800
|
-
}, C =
|
|
5815
|
+
}, C = Vn(h, { customName: i }, { $stopPropagation: !0 }), x = {
|
|
5801
5816
|
itemEdit: {
|
|
5802
5817
|
required: f,
|
|
5803
5818
|
maxLength: d(100)
|
|
5804
5819
|
}
|
|
5805
|
-
}, I =
|
|
5820
|
+
}, I = Vn(x, { itemEdit: v }, { $stopPropagation: !0 }), b = ar(), {
|
|
5806
5821
|
createUserAdminConfig: _,
|
|
5807
5822
|
useFetchUserAdminConfigList: B,
|
|
5808
5823
|
updateUserAdminConfigPositions: k,
|
|
@@ -5811,7 +5826,7 @@ const Ou = {
|
|
|
5811
5826
|
} = (
|
|
5812
5827
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
5813
5828
|
or(t.client, t.system)
|
|
5814
|
-
), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } =
|
|
5829
|
+
), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = aa(), { createDefaultUserAdminConfig: y } = Bu(), S = async () => {
|
|
5815
5830
|
c.value = !0;
|
|
5816
5831
|
const W = E.value.map((me) => me.id);
|
|
5817
5832
|
try {
|
|
@@ -5822,7 +5837,7 @@ const Ou = {
|
|
|
5822
5837
|
}, { serializeFilters: D } = tr(o, r), F = t.system + "_" + t.subject, H = async () => {
|
|
5823
5838
|
c.value = !0, p.value = !1;
|
|
5824
5839
|
const q = y(t.system);
|
|
5825
|
-
q.user = t.user, q.configType =
|
|
5840
|
+
q.user = t.user, q.configType = qn.FilterBookmark, q.layoutType = It.Desktop, q.systemResource = F, q.customName = i.value, q.data = {
|
|
5826
5841
|
filter: D(o, l, !1),
|
|
5827
5842
|
datatableHiddenColumns: u.value && t.datatableHiddenColumns ? t.datatableHiddenColumns : void 0,
|
|
5828
5843
|
sortBy: m.value && l.value.sortBy ? l.value.sortBy : void 0
|
|
@@ -5836,7 +5851,7 @@ const Ou = {
|
|
|
5836
5851
|
},
|
|
5837
5852
|
B
|
|
5838
5853
|
);
|
|
5839
|
-
if (W >=
|
|
5854
|
+
if (W >= Ma) {
|
|
5840
5855
|
p.value = !0, c.value = !1;
|
|
5841
5856
|
return;
|
|
5842
5857
|
}
|
|
@@ -5847,7 +5862,7 @@ const Ou = {
|
|
|
5847
5862
|
me
|
|
5848
5863
|
), a("onClose");
|
|
5849
5864
|
} catch (W) {
|
|
5850
|
-
if (
|
|
5865
|
+
if (Xo(W) && ni(W, "error_field_not_unique", "cms.userAdminConfig.model.systemResource")) {
|
|
5851
5866
|
w("common.filter.bookmark.nameUniqueError");
|
|
5852
5867
|
return;
|
|
5853
5868
|
}
|
|
@@ -5909,7 +5924,7 @@ const Ou = {
|
|
|
5909
5924
|
return Te(s, () => {
|
|
5910
5925
|
p.value = !1, s.value === "manage" && te();
|
|
5911
5926
|
}), (q, W) => {
|
|
5912
|
-
const me =
|
|
5927
|
+
const me = Un("ABtnTertiary"), K = Un("ABtnPrimary");
|
|
5913
5928
|
return U(), Q(Yo, {
|
|
5914
5929
|
"model-value": !0,
|
|
5915
5930
|
width: 500
|
|
@@ -5917,7 +5932,7 @@ const Ou = {
|
|
|
5917
5932
|
default: L(() => [
|
|
5918
5933
|
N(La, null, {
|
|
5919
5934
|
default: L(() => [
|
|
5920
|
-
N(
|
|
5935
|
+
N(Ko, {
|
|
5921
5936
|
onOnCancel: W[0] || (W[0] = (J) => a("onClose"))
|
|
5922
5937
|
}, {
|
|
5923
5938
|
default: L(() => [
|
|
@@ -5948,7 +5963,7 @@ const Ou = {
|
|
|
5948
5963
|
]),
|
|
5949
5964
|
_: 1
|
|
5950
5965
|
}, 8, ["modelValue"]),
|
|
5951
|
-
s.value === "add" ? (U(), ve("div",
|
|
5966
|
+
s.value === "add" ? (U(), ve("div", Ru, [
|
|
5952
5967
|
N(Qt, {
|
|
5953
5968
|
title: Z(O)("common.filter.bookmark.infoSave")
|
|
5954
5969
|
}, null, 8, ["title"]),
|
|
@@ -5989,10 +6004,10 @@ const Ou = {
|
|
|
5989
6004
|
]),
|
|
5990
6005
|
_: 1
|
|
5991
6006
|
})
|
|
5992
|
-
])) : s.value === "manage" ? (U(), ve("div",
|
|
5993
|
-
g.value ? (U(), ve("div",
|
|
6007
|
+
])) : s.value === "manage" ? (U(), ve("div", Pu, [
|
|
6008
|
+
g.value ? (U(), ve("div", Nu, [
|
|
5994
6009
|
N(Uo, { indeterminate: "" })
|
|
5995
|
-
])) : (U(), Q(
|
|
6010
|
+
])) : (U(), Q(Ou, {
|
|
5996
6011
|
key: 1,
|
|
5997
6012
|
modelValue: E.value,
|
|
5998
6013
|
"onUpdate:modelValue": W[7] || (W[7] = (J) => E.value = J),
|
|
@@ -6011,14 +6026,14 @@ const Ou = {
|
|
|
6011
6026
|
"onUpdate:modelValue": W[5] || (W[5] = (le) => v.value.customName = le),
|
|
6012
6027
|
"hide-details": "auto",
|
|
6013
6028
|
v: Z(I)
|
|
6014
|
-
}, null, 8, ["modelValue", "v"])) : (U(), ve("div",
|
|
6029
|
+
}, null, 8, ["modelValue", "v"])) : (U(), ve("div", Lu, ye(J.raw.customName), 1))
|
|
6015
6030
|
]),
|
|
6016
6031
|
_: 2
|
|
6017
6032
|
}, [
|
|
6018
6033
|
Z(G)(v.value) ? void 0 : {
|
|
6019
6034
|
name: "item-buttons",
|
|
6020
6035
|
fn: L(({ item: J }) => [
|
|
6021
|
-
v.value && v.value.id === J.raw.id ? (U(), ve("div",
|
|
6036
|
+
v.value && v.value.id === J.raw.id ? (U(), ve("div", Yu, [
|
|
6022
6037
|
N(Ue, {
|
|
6023
6038
|
icon: "",
|
|
6024
6039
|
size: "x-small",
|
|
@@ -6095,7 +6110,7 @@ const Ou = {
|
|
|
6095
6110
|
});
|
|
6096
6111
|
};
|
|
6097
6112
|
}
|
|
6098
|
-
}),
|
|
6113
|
+
}), Vu = /* @__PURE__ */ we({
|
|
6099
6114
|
__name: "AFilterBookmarkButton",
|
|
6100
6115
|
props: /* @__PURE__ */ wt({
|
|
6101
6116
|
client: {},
|
|
@@ -6142,7 +6157,7 @@ const Ou = {
|
|
|
6142
6157
|
]),
|
|
6143
6158
|
_: 1
|
|
6144
6159
|
}, 8, ["class", "data-cy"]),
|
|
6145
|
-
n.value ? (U(), Q(
|
|
6160
|
+
n.value ? (U(), Q(Uu, {
|
|
6146
6161
|
key: 0,
|
|
6147
6162
|
client: e.client,
|
|
6148
6163
|
system: e.system,
|
|
@@ -6153,10 +6168,10 @@ const Ou = {
|
|
|
6153
6168
|
}, null, 8, ["client", "system", "user", "subject", "datatable-hidden-columns"])) : be("", !0)
|
|
6154
6169
|
], 64));
|
|
6155
6170
|
}
|
|
6156
|
-
}),
|
|
6171
|
+
}), Hu = { class: "subject-select-filter__content px-2 py-4" }, qu = { class: "d-flex flex-wrap align-center" }, ju = {
|
|
6157
6172
|
key: 0,
|
|
6158
6173
|
class: "subject-select-filter__actions"
|
|
6159
|
-
},
|
|
6174
|
+
}, xd = /* @__PURE__ */ we({
|
|
6160
6175
|
__name: "AFilterWrapperSubjectSelect",
|
|
6161
6176
|
props: /* @__PURE__ */ wt({
|
|
6162
6177
|
hideButtons: { type: Boolean, default: !1 },
|
|
@@ -6207,13 +6222,13 @@ const Ou = {
|
|
|
6207
6222
|
onSubmit: Ee(c, ["prevent"])
|
|
6208
6223
|
}, {
|
|
6209
6224
|
default: L(() => [
|
|
6210
|
-
$e("div",
|
|
6225
|
+
$e("div", Hu, [
|
|
6211
6226
|
_e(h.$slots, "bookmarks", {}, () => [
|
|
6212
|
-
N(
|
|
6227
|
+
N(ka, { dense: "" }, {
|
|
6213
6228
|
default: L(() => [
|
|
6214
|
-
e.store && e.userId && Z(he)(e.client) ? (U(), Q(
|
|
6229
|
+
e.store && e.userId && Z(he)(e.client) ? (U(), Q(Ea, { key: 0 }, {
|
|
6215
6230
|
default: L(() => [
|
|
6216
|
-
$e("div",
|
|
6231
|
+
$e("div", qu, [
|
|
6217
6232
|
i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Ns, {
|
|
6218
6233
|
key: 0,
|
|
6219
6234
|
"datatable-hidden-columns": o.value,
|
|
@@ -6233,9 +6248,9 @@ const Ou = {
|
|
|
6233
6248
|
})
|
|
6234
6249
|
]),
|
|
6235
6250
|
_e(h.$slots, "detail", {}, () => [
|
|
6236
|
-
N(
|
|
6251
|
+
N(ka, null, {
|
|
6237
6252
|
default: L(() => [
|
|
6238
|
-
(U(!0), ve(at, null,
|
|
6253
|
+
(U(!0), ve(at, null, Yn(d.value, (x) => (U(), Q(Ea, {
|
|
6239
6254
|
key: x,
|
|
6240
6255
|
cols: Z(l).fields[x].render.xs || 12,
|
|
6241
6256
|
sm: Z(l).fields[x].render.sm || 12,
|
|
@@ -6257,11 +6272,11 @@ const Ou = {
|
|
|
6257
6272
|
})
|
|
6258
6273
|
])
|
|
6259
6274
|
]),
|
|
6260
|
-
e.hideButtons ? be("", !0) : (U(), ve("div",
|
|
6275
|
+
e.hideButtons ? be("", !0) : (U(), ve("div", ju, [
|
|
6261
6276
|
_e(h.$slots, "buttons", {}, () => [
|
|
6262
6277
|
N(Ti, { touched: f.value }, null, 8, ["touched"]),
|
|
6263
6278
|
N(Ai, { onReset: v }),
|
|
6264
|
-
i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(
|
|
6279
|
+
i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Vu, {
|
|
6265
6280
|
key: 0,
|
|
6266
6281
|
client: e.client,
|
|
6267
6282
|
user: e.userId,
|
|
@@ -6275,15 +6290,15 @@ const Ou = {
|
|
|
6275
6290
|
_: 3
|
|
6276
6291
|
}, 8, ["name"]));
|
|
6277
6292
|
}
|
|
6278
|
-
}),
|
|
6293
|
+
}), Id = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
|
|
6279
6294
|
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)));
|
|
6280
|
-
}),
|
|
6295
|
+
}), zu = {
|
|
6281
6296
|
key: 0,
|
|
6282
6297
|
class: "font-italic pl-1"
|
|
6283
|
-
},
|
|
6298
|
+
}, Wu = {
|
|
6284
6299
|
key: 0,
|
|
6285
6300
|
class: "required"
|
|
6286
|
-
},
|
|
6301
|
+
}, Ku = 300, Md = /* @__PURE__ */ we({
|
|
6287
6302
|
__name: "AFormRemoteAutocomplete",
|
|
6288
6303
|
props: /* @__PURE__ */ wt({
|
|
6289
6304
|
label: { default: void 0 },
|
|
@@ -6321,7 +6336,7 @@ const Ou = {
|
|
|
6321
6336
|
}),
|
|
6322
6337
|
emits: /* @__PURE__ */ wt(["searchChange", "searchChangeDebounced", "blur", "focus", "click:chipClose"], ["update:modelValue", "update:selected"]),
|
|
6323
6338
|
setup(e, { expose: n, emit: t }) {
|
|
6324
|
-
const a = e, r = t, o = ee(Ja), l = ee(Za), s =
|
|
6339
|
+
const a = e, r = t, o = ee(Ja), l = ee(Za), s = Zn()?.type.__name;
|
|
6325
6340
|
if (T(o) || T(l))
|
|
6326
6341
|
throw new Error(`[${s}] Incorrect provide/inject config.`);
|
|
6327
6342
|
const i = a.filterByField, u = a.filterSortBy;
|
|
@@ -6342,7 +6357,7 @@ const Ou = {
|
|
|
6342
6357
|
}), v = P(() => {
|
|
6343
6358
|
}), f = P(null);
|
|
6344
6359
|
if (g.value.enabled && he(a.collab)) {
|
|
6345
|
-
const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } =
|
|
6360
|
+
const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } = na(
|
|
6346
6361
|
a.collab.room,
|
|
6347
6362
|
a.collab.field
|
|
6348
6363
|
);
|
|
@@ -6403,7 +6418,7 @@ const Ou = {
|
|
|
6403
6418
|
} catch (pe) {
|
|
6404
6419
|
Se(pe);
|
|
6405
6420
|
}
|
|
6406
|
-
}, { showErrorsDefault: Se } =
|
|
6421
|
+
}, { showErrorsDefault: Se } = aa(), z = async (j, se) => {
|
|
6407
6422
|
F.value = !0, l[i] = j;
|
|
6408
6423
|
try {
|
|
6409
6424
|
const ge = await a.fetchItems(M, l, o);
|
|
@@ -6418,7 +6433,7 @@ const Ou = {
|
|
|
6418
6433
|
F.value = !0;
|
|
6419
6434
|
try {
|
|
6420
6435
|
const ge = await a.fetchItems(M, l, o);
|
|
6421
|
-
x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && ge.length === 1 && (G(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
|
|
6436
|
+
x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && j === "mounted" && ge.length === 1 && (G(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
|
|
6422
6437
|
} finally {
|
|
6423
6438
|
F.value = !1;
|
|
6424
6439
|
}
|
|
@@ -6461,7 +6476,7 @@ const Ou = {
|
|
|
6461
6476
|
x.value++, z(j, x.value), r("searchChangeDebounced", j);
|
|
6462
6477
|
}
|
|
6463
6478
|
},
|
|
6464
|
-
{ debounce:
|
|
6479
|
+
{ debounce: Ku }
|
|
6465
6480
|
), Te(d, (j, se) => {
|
|
6466
6481
|
j !== se && r("searchChange", j);
|
|
6467
6482
|
});
|
|
@@ -6486,7 +6501,7 @@ const Ou = {
|
|
|
6486
6501
|
m,
|
|
6487
6502
|
async (j, se) => {
|
|
6488
6503
|
if (j !== se) {
|
|
6489
|
-
if (y.value && (y.value = !1, await te("mounted", j)), g.value.enabled && h.value && E.value(j),
|
|
6504
|
+
if (y.value && (y.value = !1, await te("mounted", j)), g.value.enabled && h.value && E.value(j), Ho(j)) {
|
|
6490
6505
|
X(j);
|
|
6491
6506
|
return;
|
|
6492
6507
|
}
|
|
@@ -6496,7 +6511,7 @@ const Ou = {
|
|
|
6496
6511
|
{ immediate: !0 }
|
|
6497
6512
|
), n({
|
|
6498
6513
|
tryLoadModelValue: Ce
|
|
6499
|
-
}), (j, se) => (U(), Q(
|
|
6514
|
+
}), (j, se) => (U(), Q(Jn, {
|
|
6500
6515
|
"model-value": C.value,
|
|
6501
6516
|
items: D.value,
|
|
6502
6517
|
"no-filter": "",
|
|
@@ -6527,7 +6542,7 @@ const Ou = {
|
|
|
6527
6542
|
}), null, 16, ["title", "subtitle"])
|
|
6528
6543
|
]),
|
|
6529
6544
|
chip: L(({ props: ge, item: pe }) => [
|
|
6530
|
-
N(
|
|
6545
|
+
N(Qn, {
|
|
6531
6546
|
closable: ge.closable,
|
|
6532
6547
|
size: "small",
|
|
6533
6548
|
text: `${pe.title} (${pe.raw.subtitle})`,
|
|
@@ -6536,7 +6551,7 @@ const Ou = {
|
|
|
6536
6551
|
}, {
|
|
6537
6552
|
default: L(() => [
|
|
6538
6553
|
Oe(ye(pe.raw.title) + " ", 1),
|
|
6539
|
-
pe.raw.subtitle ? (U(), ve("span",
|
|
6554
|
+
pe.raw.subtitle ? (U(), ve("span", zu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
|
|
6540
6555
|
]),
|
|
6541
6556
|
_: 2
|
|
6542
6557
|
}, 1032, ["closable", "text", "disabled", "onClick:close"])
|
|
@@ -6546,7 +6561,7 @@ const Ou = {
|
|
|
6546
6561
|
key: R.value + ""
|
|
6547
6562
|
}, [
|
|
6548
6563
|
Oe(ye($.value) + " ", 1),
|
|
6549
|
-
R.value ? (U(), ve("span",
|
|
6564
|
+
R.value ? (U(), ve("span", Wu)) : be("", !0)
|
|
6550
6565
|
]))
|
|
6551
6566
|
]),
|
|
6552
6567
|
_: 2
|
|
@@ -6555,7 +6570,7 @@ const Ou = {
|
|
|
6555
6570
|
name: "append-inner",
|
|
6556
6571
|
fn: L(() => [
|
|
6557
6572
|
_e(j.$slots, "locked", { userId: f.value }, () => [
|
|
6558
|
-
e.collab ? (U(), Q(
|
|
6573
|
+
e.collab ? (U(), Q(ta, {
|
|
6559
6574
|
key: 0,
|
|
6560
6575
|
id: f.value,
|
|
6561
6576
|
users: e.collab.cachedUsers
|
|
@@ -6580,68 +6595,68 @@ export {
|
|
|
6580
6595
|
Ti as B,
|
|
6581
6596
|
on as C,
|
|
6582
6597
|
Ai as D,
|
|
6583
|
-
|
|
6584
|
-
|
|
6598
|
+
gd as E,
|
|
6599
|
+
yd as F,
|
|
6585
6600
|
er as G,
|
|
6586
|
-
|
|
6587
|
-
|
|
6601
|
+
xa as H,
|
|
6602
|
+
Dc as I,
|
|
6588
6603
|
Ol as J,
|
|
6589
6604
|
xi as K,
|
|
6590
6605
|
Ml as L,
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6606
|
+
Bc as M,
|
|
6607
|
+
Lc as N,
|
|
6608
|
+
Pc as O,
|
|
6609
|
+
Nc as P,
|
|
6610
|
+
Vc as Q,
|
|
6611
|
+
Yc as R,
|
|
6597
6612
|
Va as S,
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6613
|
+
Uc as T,
|
|
6614
|
+
Hc as U,
|
|
6615
|
+
Rc as V,
|
|
6616
|
+
ia as W,
|
|
6617
|
+
Wc as X,
|
|
6618
|
+
Kc as Y,
|
|
6619
|
+
jc as Z,
|
|
6620
|
+
Vo as _,
|
|
6621
|
+
na as a,
|
|
6607
6622
|
ei as a$,
|
|
6608
6623
|
_l as a0,
|
|
6609
6624
|
De as a1,
|
|
6610
|
-
|
|
6611
|
-
|
|
6625
|
+
Fc as a2,
|
|
6626
|
+
Oc as a3,
|
|
6612
6627
|
so as a4,
|
|
6613
|
-
|
|
6628
|
+
Sd as a5,
|
|
6614
6629
|
ws as a6,
|
|
6615
6630
|
Gl as a7,
|
|
6616
6631
|
bn as a8,
|
|
6617
6632
|
Kt as a9,
|
|
6618
|
-
|
|
6619
|
-
|
|
6633
|
+
Ed as aA,
|
|
6634
|
+
Td as aB,
|
|
6620
6635
|
ks as aC,
|
|
6621
6636
|
Ds as aD,
|
|
6622
6637
|
rt as aE,
|
|
6623
6638
|
ct as aF,
|
|
6624
6639
|
tr as aG,
|
|
6625
|
-
|
|
6640
|
+
xd as aH,
|
|
6626
6641
|
Xa as aI,
|
|
6627
6642
|
Xl as aJ,
|
|
6628
6643
|
fi as aK,
|
|
6629
6644
|
po as aL,
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6645
|
+
Du as aM,
|
|
6646
|
+
xu as aN,
|
|
6647
|
+
fu as aO,
|
|
6648
|
+
Id as aP,
|
|
6649
|
+
Jc as aQ,
|
|
6650
|
+
Tc as aR,
|
|
6636
6651
|
nn as aS,
|
|
6637
6652
|
Bo as aT,
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6653
|
+
Tu as aU,
|
|
6654
|
+
Eu as aV,
|
|
6655
|
+
ku as aW,
|
|
6641
6656
|
xs as aX,
|
|
6642
|
-
|
|
6657
|
+
td as aY,
|
|
6643
6658
|
ja as aZ,
|
|
6644
|
-
|
|
6659
|
+
Xo as a_,
|
|
6645
6660
|
yn as aa,
|
|
6646
6661
|
Gt as ab,
|
|
6647
6662
|
Sn as ac,
|
|
@@ -6658,81 +6673,81 @@ export {
|
|
|
6658
6673
|
Jt as an,
|
|
6659
6674
|
ys as ao,
|
|
6660
6675
|
bs as ap,
|
|
6661
|
-
|
|
6676
|
+
Dd as aq,
|
|
6662
6677
|
hn as ar,
|
|
6663
|
-
|
|
6678
|
+
Qc as as,
|
|
6664
6679
|
Dt as at,
|
|
6665
6680
|
Ka as au,
|
|
6666
6681
|
ie as av,
|
|
6667
|
-
|
|
6682
|
+
ed as aw,
|
|
6668
6683
|
Ja as ax,
|
|
6669
6684
|
Za as ay,
|
|
6670
|
-
|
|
6685
|
+
kd as az,
|
|
6671
6686
|
an as b,
|
|
6672
6687
|
za as b$,
|
|
6673
6688
|
Kl as b0,
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6689
|
+
xc as b1,
|
|
6690
|
+
nd as b2,
|
|
6691
|
+
Gc as b3,
|
|
6677
6692
|
Dl as b4,
|
|
6678
6693
|
El as b5,
|
|
6679
6694
|
co as b6,
|
|
6680
6695
|
Tn as b7,
|
|
6681
6696
|
uo as b8,
|
|
6682
6697
|
Ii as b9,
|
|
6683
|
-
|
|
6684
|
-
|
|
6698
|
+
pd as bA,
|
|
6699
|
+
Ad as bB,
|
|
6685
6700
|
As as bC,
|
|
6686
|
-
|
|
6687
|
-
|
|
6701
|
+
ad as bD,
|
|
6702
|
+
od as bE,
|
|
6688
6703
|
Jl as bF,
|
|
6689
|
-
|
|
6704
|
+
rd as bG,
|
|
6690
6705
|
qa as bH,
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6706
|
+
zo as bI,
|
|
6707
|
+
qc as bJ,
|
|
6708
|
+
Wo as bK,
|
|
6709
|
+
zc as bL,
|
|
6695
6710
|
Fl as bM,
|
|
6696
6711
|
ri as bN,
|
|
6697
6712
|
ni as bO,
|
|
6698
6713
|
si as bP,
|
|
6699
6714
|
kt as bQ,
|
|
6700
6715
|
vt as bR,
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6716
|
+
wd as bS,
|
|
6717
|
+
Cd as bT,
|
|
6718
|
+
vd as bU,
|
|
6704
6719
|
xt as bV,
|
|
6705
6720
|
Ns as bW,
|
|
6706
|
-
|
|
6721
|
+
Vu as bX,
|
|
6707
6722
|
_s as bY,
|
|
6708
6723
|
nr as bZ,
|
|
6709
|
-
|
|
6710
|
-
|
|
6724
|
+
Zo as b_,
|
|
6725
|
+
Md as ba,
|
|
6711
6726
|
wo as bb,
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6727
|
+
Ou as bc,
|
|
6728
|
+
Xc as bd,
|
|
6729
|
+
hd as be,
|
|
6730
|
+
bd as bf,
|
|
6731
|
+
Ac as bg,
|
|
6732
|
+
Ic as bh,
|
|
6733
|
+
_c as bi,
|
|
6734
|
+
$c as bj,
|
|
6720
6735
|
sl as bk,
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6736
|
+
Mc as bl,
|
|
6737
|
+
jo as bm,
|
|
6738
|
+
oa as bn,
|
|
6739
|
+
ra as bo,
|
|
6740
|
+
id as bp,
|
|
6741
|
+
ud as bq,
|
|
6742
|
+
sd as br,
|
|
6743
|
+
dd as bs,
|
|
6729
6744
|
Di as bt,
|
|
6730
|
-
|
|
6731
|
-
|
|
6745
|
+
Ia as bu,
|
|
6746
|
+
ld as bv,
|
|
6732
6747
|
Ci as bw,
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6748
|
+
cd as bx,
|
|
6749
|
+
fd as by,
|
|
6750
|
+
md as bz,
|
|
6736
6751
|
Ha as c,
|
|
6737
6752
|
Wa as c0,
|
|
6738
6753
|
gs as c1,
|
|
@@ -6742,33 +6757,33 @@ export {
|
|
|
6742
6757
|
Ms as c5,
|
|
6743
6758
|
en as c6,
|
|
6744
6759
|
or as c7,
|
|
6745
|
-
|
|
6760
|
+
qn as c8,
|
|
6746
6761
|
$s as c9,
|
|
6747
6762
|
It as ca,
|
|
6748
6763
|
Fs as cb,
|
|
6749
|
-
|
|
6764
|
+
Bu as cc,
|
|
6750
6765
|
T as d,
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6766
|
+
ta as e,
|
|
6767
|
+
Ht as f,
|
|
6768
|
+
Ie as g,
|
|
6769
|
+
G as h,
|
|
6755
6770
|
he as i,
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6771
|
+
mt as j,
|
|
6772
|
+
Zc as k,
|
|
6773
|
+
Ko as l,
|
|
6774
|
+
aa as m,
|
|
6760
6775
|
ki as n,
|
|
6761
6776
|
Qt as o,
|
|
6762
6777
|
ue as p,
|
|
6763
6778
|
gn as q,
|
|
6764
6779
|
un as r,
|
|
6765
6780
|
vn as s,
|
|
6766
|
-
|
|
6781
|
+
Ta as t,
|
|
6767
6782
|
zt as u,
|
|
6768
|
-
|
|
6769
|
-
|
|
6783
|
+
Ec as v,
|
|
6784
|
+
kc as w,
|
|
6770
6785
|
Fe as x,
|
|
6771
|
-
|
|
6786
|
+
Ho as y,
|
|
6772
6787
|
il as z
|
|
6773
6788
|
};
|
|
6774
|
-
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-
|
|
6789
|
+
//# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWXEGI77.mjs.map
|