@anzusystems/common-admin 1.31.0 → 1.31.1
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/common-admin.es.d.ts +57 -0
- package/dist/common-admin.es.js +198 -196
- package/dist/{lib-203389c0.js → lib-a4229036.js} +952 -911
- package/dist/lib-a4229036.js.map +1 -0
- package/dist/{shortcut-buttons-flatpickr-2cb2d5d1.js → shortcut-buttons-flatpickr-64ec68b0.js} +2 -2
- package/dist/{shortcut-buttons-flatpickr-2cb2d5d1.js.map → shortcut-buttons-flatpickr-64ec68b0.js.map} +1 -1
- package/dist/{webfontloader-89e7e636.js → webfontloader-4bf94d08.js} +2 -2
- package/dist/{webfontloader-89e7e636.js.map → webfontloader-4bf94d08.js.map} +1 -1
- package/package.json +1 -1
- package/dist/lib-203389c0.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Do = Object.defineProperty;
|
|
2
2
|
var ko = (t, r, e) => r in t ? Do(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var Vi = (t, r, e) => (ko(t, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
|
-
import { defineComponent as H, computed as w, openBlock as x, createBlock as $, withCtx as g, createTextVNode as L, toDisplayString as D, createElementBlock as z, createVNode as
|
|
4
|
+
import { defineComponent as H, computed as w, openBlock as x, createBlock as $, withCtx as g, createTextVNode as L, toDisplayString as D, createElementBlock as z, createVNode as m, normalizeClass as Xe, createCommentVNode as ee, renderSlot as Ve, createElementVNode as O, resolveComponent as Je, withModifiers as Z, withDirectives as ei, vShow as ti, isProxy as So, toRaw as ki, isRef as Li, unref as b, inject as Ie, createSlots as Ir, provide as Ds, watch as ke, Fragment as _e, renderList as ut, ref as N, onMounted as wr, normalizeStyle as Ut, resolveDynamicComponent as ri, TransitionGroup as Un, toRefs as Ri, h as Mo, nextTick as qr, readonly as fr, withKeys as ji, reactive as Gn, shallowRef as cn, mergeProps as Rs, createStaticVNode as Wn, setBlockTracking as Vn, onBeforeUnmount as js, toRef as Hi } from "vue";
|
|
5
5
|
import { useI18n as se, createI18n as To } from "vue-i18n";
|
|
6
6
|
import { VChip as Zt } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
7
|
import { VRow as Wt, VCol as yt, VSpacer as Et } from "vuetify/lib/components/VGrid/index.mjs";
|
|
8
8
|
import { VAlert as Eo } from "vuetify/lib/components/VAlert/index.mjs";
|
|
9
|
-
import { VIcon as
|
|
9
|
+
import { VIcon as ue } from "vuetify/lib/components/VIcon/index.mjs";
|
|
10
10
|
import { VCard as rt, VCardText as Jn, VCardActions as ii } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VTextField as si } from "vuetify/lib/components/VTextField/index.mjs";
|
|
12
12
|
import { VTextarea as $o } from "vuetify/lib/components/VTextarea/index.mjs";
|
|
13
|
-
import { VBtn as
|
|
13
|
+
import { VBtn as ae } from "vuetify/lib/components/VBtn/index.mjs";
|
|
14
14
|
import { VBtnToggle as Ui } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
15
15
|
import { VList as Qt, VListItem as et, VListItemTitle as Wr, VListItemSubtitle as Po } from "vuetify/lib/components/VList/index.mjs";
|
|
16
16
|
import { VMenu as It } from "vuetify/lib/components/VMenu/index.mjs";
|
|
@@ -70,7 +70,7 @@ const fd = { key: 1 }, gA = /* @__PURE__ */ H({
|
|
|
70
70
|
setup(t) {
|
|
71
71
|
return (r, e) => (x(), $(Wt, { "data-cy": r.dataCy }, {
|
|
72
72
|
default: g(() => [
|
|
73
|
-
|
|
73
|
+
m(yt, null, {
|
|
74
74
|
default: g(() => [
|
|
75
75
|
r.title.length ? (x(), z("h4", {
|
|
76
76
|
key: 0,
|
|
@@ -106,13 +106,13 @@ const fd = { key: 1 }, gA = /* @__PURE__ */ H({
|
|
|
106
106
|
class: Xe(r.customClass)
|
|
107
107
|
}, {
|
|
108
108
|
body: g((s) => [
|
|
109
|
-
|
|
109
|
+
m(Eo, {
|
|
110
110
|
type: s.item.type,
|
|
111
111
|
class: "ma-1",
|
|
112
112
|
density: "compact"
|
|
113
113
|
}, {
|
|
114
114
|
close: g(() => [
|
|
115
|
-
|
|
115
|
+
m(ue, {
|
|
116
116
|
icon: "mdi-close",
|
|
117
117
|
onClick: Z(s.close, ["stop"])
|
|
118
118
|
}, null, 8, ["onClick"])
|
|
@@ -156,16 +156,16 @@ const hA = /* @__PURE__ */ H({
|
|
|
156
156
|
loading: e.value
|
|
157
157
|
}, {
|
|
158
158
|
default: g(() => [
|
|
159
|
-
|
|
159
|
+
m(md, { loading: i.loading }, null, 8, ["loading"]),
|
|
160
160
|
Ve(i.$slots, "default")
|
|
161
161
|
]),
|
|
162
162
|
_: 3
|
|
163
163
|
}, 8, ["title", "loading"]));
|
|
164
164
|
}
|
|
165
|
-
}), k = (t) => typeof t > "u", Jr = (t) => !k(t),
|
|
165
|
+
}), k = (t) => typeof t > "u", Jr = (t) => !k(t), ce = (t) => t === null, Ws = (t) => typeof t == "number", Mt = (t) => typeof t == "string", tt = (t) => Array.isArray(t), Xd = (t) => typeof t == "function", Fn = (t) => typeof t == "boolean", pd = (t) => Mt(t) && /^[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(t), gd = (t) => {
|
|
166
166
|
const r = parseFloat(t);
|
|
167
167
|
return !isNaN(t) && (r | 0) === r;
|
|
168
|
-
}, Wi = (t) => typeof t == "object" && !tt(t) && !
|
|
168
|
+
}, Wi = (t) => typeof t == "object" && !tt(t) && !ce(t), oa = (t) => Wi(t) ? Object.keys(t).length === 0 : !1, Ad = (t) => tt(t) && t.length === 0, qn = (t) => ce(t) || k(t) || t === "" || t === 0 || Ad(t) || oa(t), xe = (t) => {
|
|
169
169
|
if (typeof structuredClone == "function")
|
|
170
170
|
try {
|
|
171
171
|
return So(t) ? structuredClone(ki(t)) : Li(t) ? structuredClone(b(t)) : structuredClone(t);
|
|
@@ -214,7 +214,7 @@ const hA = /* @__PURE__ */ H({
|
|
|
214
214
|
return;
|
|
215
215
|
e[n] = s.substring(1);
|
|
216
216
|
const a = /^:([a-zA-Z0-9_-]+).*/, o = s.match(a);
|
|
217
|
-
|
|
217
|
+
ce(o) || !o[1] || k(r[o[1]]) || (e[n] = r[o[1]] + "");
|
|
218
218
|
}), e.join("/");
|
|
219
219
|
}, CA = (t) => t.replace(".", "-"), KA = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), wt = Symbol.for("anzu:SystemScope"), _t = Symbol.for("anzu:SubjectScope"), da = Symbol.for("anzu:DamClient"), Ji = Symbol.for("anzu:CurrentUser"), la = Symbol.for("anzu:CustomAclResolver"), ua = Symbol.for("anzu:AvailableLanguages"), ca = Symbol.for("anzu:DefaultLanguage"), Va = Symbol.for("anzu:DefaultLicenceId"), xd = Symbol.for("anzu:ImageOptions"), bd = {
|
|
220
220
|
key: 0,
|
|
@@ -244,14 +244,14 @@ const hA = /* @__PURE__ */ H({
|
|
|
244
244
|
r("blur", e.modelValue), (u = e.v) == null || u.$touch();
|
|
245
245
|
}, d = w(() => {
|
|
246
246
|
var u, q;
|
|
247
|
-
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((
|
|
247
|
+
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((X) => X.$message).join(" ")] : [] : [e.errorMessage];
|
|
248
248
|
}), l = w(() => {
|
|
249
|
-
var q,
|
|
249
|
+
var q, X;
|
|
250
250
|
if (!k(e.label))
|
|
251
251
|
return e.label;
|
|
252
252
|
if (k(s) || k(n) || k((q = e.v) == null ? void 0 : q.$path))
|
|
253
253
|
return "";
|
|
254
|
-
const { end: u } = Pt((
|
|
254
|
+
const { end: u } = Pt((X = e.v) == null ? void 0 : X.$path, ".");
|
|
255
255
|
return i(s + "." + n + ".model." + u);
|
|
256
256
|
}), c = w(() => {
|
|
257
257
|
var u, q;
|
|
@@ -268,9 +268,9 @@ const hA = /* @__PURE__ */ H({
|
|
|
268
268
|
"append-icon": u.appendIcon,
|
|
269
269
|
maxlength: u.maxlength,
|
|
270
270
|
trim: "",
|
|
271
|
-
"onClick:append": q[0] || (q[0] = (
|
|
271
|
+
"onClick:append": q[0] || (q[0] = (X) => r("click:append", X)),
|
|
272
272
|
onBlur: o,
|
|
273
|
-
"onUpdate:modelValue": q[1] || (q[1] = (
|
|
273
|
+
"onUpdate:modelValue": q[1] || (q[1] = (X) => a(X))
|
|
274
274
|
}, Ir({ _: 2 }, [
|
|
275
275
|
u.hideLabel ? void 0 : {
|
|
276
276
|
name: "label",
|
|
@@ -308,14 +308,14 @@ const hA = /* @__PURE__ */ H({
|
|
|
308
308
|
r("blur", e.modelValue), (u = e.v) == null || u.$touch();
|
|
309
309
|
}, d = w(() => {
|
|
310
310
|
var u, q;
|
|
311
|
-
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((
|
|
311
|
+
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((X) => X.$message).join(" ")] : [] : [e.errorMessage];
|
|
312
312
|
}), l = w(() => {
|
|
313
|
-
var q,
|
|
313
|
+
var q, X;
|
|
314
314
|
if (!k(e.label))
|
|
315
315
|
return e.label;
|
|
316
316
|
if (k(s) || k(n) || k((q = e.v) == null ? void 0 : q.$path))
|
|
317
317
|
return "";
|
|
318
|
-
const { end: u } = Pt((
|
|
318
|
+
const { end: u } = Pt((X = e.v) == null ? void 0 : X.$path, ".");
|
|
319
319
|
return i(s + "." + n + ".model." + u);
|
|
320
320
|
}), c = w(() => {
|
|
321
321
|
var u, q;
|
|
@@ -331,9 +331,9 @@ const hA = /* @__PURE__ */ H({
|
|
|
331
331
|
"auto-grow": "",
|
|
332
332
|
"append-icon": u.appendIcon,
|
|
333
333
|
trim: "",
|
|
334
|
-
"onClick:append": q[0] || (q[0] = (
|
|
334
|
+
"onClick:append": q[0] || (q[0] = (X) => r("click:append", X)),
|
|
335
335
|
onBlur: o,
|
|
336
|
-
"onUpdate:modelValue": q[1] || (q[1] = (
|
|
336
|
+
"onUpdate:modelValue": q[1] || (q[1] = (X) => a(X))
|
|
337
337
|
}, Ir({ _: 2 }, [
|
|
338
338
|
u.hideLabel ? void 0 : {
|
|
339
339
|
name: "label",
|
|
@@ -374,12 +374,12 @@ const hA = /* @__PURE__ */ H({
|
|
|
374
374
|
set(E) {
|
|
375
375
|
r("update:modelValue", xe(E));
|
|
376
376
|
}
|
|
377
|
-
}), { t: s } = se(), n = w(() => Math.ceil(i.value.totalCount / i.value.rowsPerPage)), a = w(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + 1), o = w(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + i.value.currentViewCount), d = w(() => i.value.page === 1), l = w(() => !
|
|
377
|
+
}), { t: s } = se(), n = w(() => Math.ceil(i.value.totalCount / i.value.rowsPerPage)), a = w(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + 1), o = w(() => i.value.page * i.value.rowsPerPage - i.value.rowsPerPage + i.value.currentViewCount), d = w(() => i.value.page === 1), l = w(() => !ce(i.value.hasNextPage) || i.value.page === n.value), c = w(() => ce(i.value.hasNextPage) && i.value.page === n.value || i.value.hasNextPage === !1), u = w(() => ce(i.value.hasNextPage) ? i.value.totalCount : i.value.hasNextPage ? o.value + 1 + "+" : o.value), q = w(() => i.value.rowsPerPage);
|
|
378
378
|
ke(q, (E, B) => {
|
|
379
379
|
E !== B && (i.value.page = 1, r("change"));
|
|
380
380
|
});
|
|
381
|
-
const
|
|
382
|
-
ke(
|
|
381
|
+
const X = w(() => i.value.page);
|
|
382
|
+
ke(X, (E, B) => {
|
|
383
383
|
E !== B && r("change");
|
|
384
384
|
});
|
|
385
385
|
const y = () => {
|
|
@@ -394,7 +394,7 @@ const hA = /* @__PURE__ */ H({
|
|
|
394
394
|
return (E, B) => (x(), z("div", Cd, [
|
|
395
395
|
E.hideRecordsPerPage ? ee("", !0) : (x(), z("div", Kd, [
|
|
396
396
|
L(D(b(s)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
397
|
-
|
|
397
|
+
m(Ui, {
|
|
398
398
|
modelValue: i.value.rowsPerPage,
|
|
399
399
|
"onUpdate:modelValue": B[0] || (B[0] = (_) => i.value.rowsPerPage = _),
|
|
400
400
|
class: "ml-2",
|
|
@@ -403,7 +403,7 @@ const hA = /* @__PURE__ */ H({
|
|
|
403
403
|
"data-cy": "table-size"
|
|
404
404
|
}, {
|
|
405
405
|
default: g(() => [
|
|
406
|
-
(x(!0), z(_e, null, ut(E.itemsPerPageOptions, (_) => (x(), $(
|
|
406
|
+
(x(!0), z(_e, null, ut(E.itemsPerPageOptions, (_) => (x(), $(ae, {
|
|
407
407
|
key: _,
|
|
408
408
|
color: _ === i.value.rowsPerPage ? "secondary" : "",
|
|
409
409
|
value: _,
|
|
@@ -422,14 +422,14 @@ const hA = /* @__PURE__ */ H({
|
|
|
422
422
|
])),
|
|
423
423
|
O("div", Id, D(a.value) + " - " + D(o.value) + " " + D(b(s)("common.system.datatable.from")) + " " + D(u.value), 1),
|
|
424
424
|
O("div", wd, [
|
|
425
|
-
|
|
425
|
+
m(ae, {
|
|
426
426
|
disabled: d.value,
|
|
427
427
|
icon: "mdi-page-first",
|
|
428
428
|
size: "small",
|
|
429
429
|
variant: "text",
|
|
430
430
|
onClick: Z(y, ["stop"])
|
|
431
431
|
}, null, 8, ["disabled", "onClick"]),
|
|
432
|
-
|
|
432
|
+
m(ae, {
|
|
433
433
|
disabled: d.value,
|
|
434
434
|
icon: "mdi-chevron-left",
|
|
435
435
|
size: "small",
|
|
@@ -441,14 +441,14 @@ const hA = /* @__PURE__ */ H({
|
|
|
441
441
|
O("span", null, D(i.value.page), 1)
|
|
442
442
|
]),
|
|
443
443
|
O("div", Dd, [
|
|
444
|
-
|
|
444
|
+
m(ae, {
|
|
445
445
|
disabled: c.value,
|
|
446
446
|
icon: "mdi-chevron-right",
|
|
447
447
|
size: "small",
|
|
448
448
|
variant: "text",
|
|
449
449
|
onClick: Z(j, ["stop"])
|
|
450
450
|
}, null, 8, ["disabled", "onClick"]),
|
|
451
|
-
|
|
451
|
+
m(ae, {
|
|
452
452
|
disabled: l.value,
|
|
453
453
|
icon: "mdi-page-last",
|
|
454
454
|
size: "small",
|
|
@@ -478,7 +478,7 @@ const DA = /* @__PURE__ */ H({
|
|
|
478
478
|
}
|
|
479
479
|
o.push(a), r("update:columnsHidden", o);
|
|
480
480
|
};
|
|
481
|
-
return (a, o) => (x(), $(
|
|
481
|
+
return (a, o) => (x(), $(ae, {
|
|
482
482
|
class: Xe(a.buttonClass),
|
|
483
483
|
"data-cy": a.dataCy,
|
|
484
484
|
color: "light",
|
|
@@ -487,8 +487,8 @@ const DA = /* @__PURE__ */ H({
|
|
|
487
487
|
variant: "text"
|
|
488
488
|
}, {
|
|
489
489
|
default: g(() => [
|
|
490
|
-
|
|
491
|
-
|
|
490
|
+
m(ue, { icon: "mdi-cog" }),
|
|
491
|
+
m(Ce, {
|
|
492
492
|
activator: "parent",
|
|
493
493
|
location: "bottom"
|
|
494
494
|
}, {
|
|
@@ -497,15 +497,15 @@ const DA = /* @__PURE__ */ H({
|
|
|
497
497
|
]),
|
|
498
498
|
_: 1
|
|
499
499
|
}),
|
|
500
|
-
|
|
500
|
+
m(It, { activator: "parent" }, {
|
|
501
501
|
default: g(() => [
|
|
502
|
-
|
|
502
|
+
m(rt, null, {
|
|
503
503
|
default: g(() => [
|
|
504
|
-
|
|
504
|
+
m(Qt, { density: "compact" }, {
|
|
505
505
|
default: g(() => [
|
|
506
|
-
|
|
506
|
+
m(et, null, {
|
|
507
507
|
default: g(() => [
|
|
508
|
-
|
|
508
|
+
m(Wr, null, {
|
|
509
509
|
default: g(() => [
|
|
510
510
|
O("strong", null, D(b(i)("common.system.datatable.displayCols")), 1)
|
|
511
511
|
]),
|
|
@@ -519,13 +519,13 @@ const DA = /* @__PURE__ */ H({
|
|
|
519
519
|
onClick: Z((l) => n(d.key), ["stop"])
|
|
520
520
|
}, {
|
|
521
521
|
default: g(() => [
|
|
522
|
-
|
|
522
|
+
m(Wr, null, {
|
|
523
523
|
default: g(() => [
|
|
524
|
-
s(d.key) ? (x(), $(
|
|
524
|
+
s(d.key) ? (x(), $(ue, {
|
|
525
525
|
key: 0,
|
|
526
526
|
class: "mr-2",
|
|
527
527
|
icon: "mdi-checkbox-marked"
|
|
528
|
-
})) : (x(), $(
|
|
528
|
+
})) : (x(), $(ue, {
|
|
529
529
|
key: 1,
|
|
530
530
|
class: "mr-2",
|
|
531
531
|
icon: "mdi-checkbox-blank-outline"
|
|
@@ -584,8 +584,8 @@ const DA = /* @__PURE__ */ H({
|
|
|
584
584
|
(u, q) => {
|
|
585
585
|
if (k(q) || u === q)
|
|
586
586
|
return;
|
|
587
|
-
const
|
|
588
|
-
|
|
587
|
+
const X = l.value.find((y) => y.id === u);
|
|
588
|
+
X && r("sortByChange", X);
|
|
589
589
|
},
|
|
590
590
|
{ immediate: !0 }
|
|
591
591
|
), ke(
|
|
@@ -596,7 +596,7 @@ const DA = /* @__PURE__ */ H({
|
|
|
596
596
|
{ immediate: !0 }
|
|
597
597
|
), (u, q) => (x(), z("div", Sd, [
|
|
598
598
|
O("div", Md, D(b(i)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
599
|
-
|
|
599
|
+
m(ae, {
|
|
600
600
|
variant: "text",
|
|
601
601
|
rounded: "xl",
|
|
602
602
|
size: "small",
|
|
@@ -604,27 +604,27 @@ const DA = /* @__PURE__ */ H({
|
|
|
604
604
|
}, {
|
|
605
605
|
default: g(() => [
|
|
606
606
|
L(D(d.value) + " ", 1),
|
|
607
|
-
|
|
607
|
+
m(It, {
|
|
608
608
|
activator: "parent",
|
|
609
609
|
location: "bottom",
|
|
610
610
|
"close-on-content-click": ""
|
|
611
611
|
}, {
|
|
612
612
|
default: g(() => [
|
|
613
|
-
|
|
613
|
+
m(Qt, {
|
|
614
614
|
density: "compact",
|
|
615
615
|
class: "pa-0"
|
|
616
616
|
}, {
|
|
617
617
|
default: g(() => [
|
|
618
|
-
(x(!0), z(_e, null, ut(l.value, (
|
|
619
|
-
key:
|
|
620
|
-
onClick: (y) => c(
|
|
618
|
+
(x(!0), z(_e, null, ut(l.value, (X) => (x(), $(et, {
|
|
619
|
+
key: X.id,
|
|
620
|
+
onClick: (y) => c(X)
|
|
621
621
|
}, {
|
|
622
622
|
default: g(() => [
|
|
623
|
-
|
|
624
|
-
class: Xe({ "font-weight-bold":
|
|
623
|
+
m(Wr, {
|
|
624
|
+
class: Xe({ "font-weight-bold": X.id === s.value })
|
|
625
625
|
}, {
|
|
626
626
|
default: g(() => [
|
|
627
|
-
L(D(b(i)(
|
|
627
|
+
L(D(b(i)(X.titleT)), 1)
|
|
628
628
|
]),
|
|
629
629
|
_: 2
|
|
630
630
|
}, 1032, ["class"])
|
|
@@ -654,14 +654,14 @@ const DA = /* @__PURE__ */ H({
|
|
|
654
654
|
color: "transparent"
|
|
655
655
|
}, {
|
|
656
656
|
default: g(() => [
|
|
657
|
-
|
|
657
|
+
m(Zn, { class: "flex-fill" }, {
|
|
658
658
|
default: g(() => [
|
|
659
659
|
Ve(i.$slots, "default")
|
|
660
660
|
]),
|
|
661
661
|
_: 3
|
|
662
662
|
}),
|
|
663
|
-
|
|
664
|
-
|
|
663
|
+
m(Et),
|
|
664
|
+
m(ae, {
|
|
665
665
|
class: "ml-2",
|
|
666
666
|
icon: "mdi-close",
|
|
667
667
|
size: "small",
|
|
@@ -868,7 +868,7 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", Yn = [
|
|
|
868
868
|
width: f + Y
|
|
869
869
|
};
|
|
870
870
|
return S && (h[S] = "0px"), K && (K === "center" ? h.left = `calc(50% - ${+f / 2}${Y})` : h[K] = "0px"), h;
|
|
871
|
-
}), q = w(() => "bottom" in u.value),
|
|
871
|
+
}), q = w(() => "bottom" in u.value), X = (K) => {
|
|
872
872
|
r("click", K), e.closeOnClick && _(K);
|
|
873
873
|
}, y = () => {
|
|
874
874
|
var K;
|
|
@@ -883,10 +883,10 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", Yn = [
|
|
|
883
883
|
G();
|
|
884
884
|
return;
|
|
885
885
|
}
|
|
886
|
-
const S = typeof K.duration == "number" ? K.duration : e.duration, f = typeof K.speed == "number" ? K.speed : e.speed, Y = typeof K.ignoreDuplicates == "boolean" ? K.ignoreDuplicates : e.ignoreDuplicates, { title: h, text:
|
|
886
|
+
const S = typeof K.duration == "number" ? K.duration : e.duration, f = typeof K.speed == "number" ? K.speed : e.speed, Y = typeof K.ignoreDuplicates == "boolean" ? K.ignoreDuplicates : e.ignoreDuplicates, { title: h, text: p, type: I, data: v, id: R } = K, J = {
|
|
887
887
|
id: R || Bd(),
|
|
888
888
|
title: h,
|
|
889
|
-
text:
|
|
889
|
+
text: p,
|
|
890
890
|
type: I,
|
|
891
891
|
state: i.IDLE,
|
|
892
892
|
speed: f,
|
|
@@ -894,10 +894,10 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", Yn = [
|
|
|
894
894
|
data: v
|
|
895
895
|
};
|
|
896
896
|
S >= 0 && (n.value = new Td(() => _(J), J.length, J));
|
|
897
|
-
const
|
|
897
|
+
const oe = e.reverse ? !q.value : q.value;
|
|
898
898
|
let Ye = -1;
|
|
899
899
|
const Te = l.value.some(($e) => $e.title === K.title && $e.text === K.text);
|
|
900
|
-
(!Y || !Te) && (
|
|
900
|
+
(!Y || !Te) && (oe ? (s.value.push(J), r("start", J), l.value.length > e.max && (Ye = 0)) : (s.value.unshift(J), r("start", J), l.value.length > e.max && (Ye = l.value.length - 1)), Ye !== -1 && _(l.value[Ye]));
|
|
901
901
|
}, j = (K) => {
|
|
902
902
|
P(K);
|
|
903
903
|
}, E = (K) => [
|
|
@@ -963,7 +963,7 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", Yn = [
|
|
|
963
963
|
}, () => [
|
|
964
964
|
O("div", {
|
|
965
965
|
class: Xe(E(f)),
|
|
966
|
-
onClick: (Y) =>
|
|
966
|
+
onClick: (Y) => X(f)
|
|
967
967
|
}, [
|
|
968
968
|
K.dangerouslySetInnerHtml ? (x(), z(_e, { key: 0 }, [
|
|
969
969
|
f.title ? (x(), z("div", {
|
|
@@ -1164,7 +1164,7 @@ function Dr() {
|
|
|
1164
1164
|
duration: A * 1e3,
|
|
1165
1165
|
type: "error"
|
|
1166
1166
|
});
|
|
1167
|
-
},
|
|
1167
|
+
}, X = (A = Xt) => {
|
|
1168
1168
|
const { t: T } = ve.global;
|
|
1169
1169
|
ft({
|
|
1170
1170
|
group: "alerts",
|
|
@@ -1187,8 +1187,8 @@ function Dr() {
|
|
|
1187
1187
|
showApiValidationError: c,
|
|
1188
1188
|
showApiForbiddenOperationError: u,
|
|
1189
1189
|
showUnknownError: q,
|
|
1190
|
-
showForbiddenError:
|
|
1191
|
-
showErrorsDefault: (A) => Ya(A) ? (
|
|
1190
|
+
showForbiddenError: X,
|
|
1191
|
+
showErrorsDefault: (A) => Ya(A) ? (X(), !0) : ma(A) ? (c(A.fields), !0) : ol(A) ? (u(A.detail), !0) : Fa(A) || Xa(A) ? (q(), !0) : !1
|
|
1192
1192
|
};
|
|
1193
1193
|
}
|
|
1194
1194
|
const EA = /* @__PURE__ */ H({
|
|
@@ -1218,18 +1218,18 @@ const EA = /* @__PURE__ */ H({
|
|
|
1218
1218
|
d(), s.value = !1;
|
|
1219
1219
|
return;
|
|
1220
1220
|
}
|
|
1221
|
-
const
|
|
1222
|
-
r("onSuccess",
|
|
1221
|
+
const X = await e.callCreate();
|
|
1222
|
+
r("onSuccess", X), l("created"), a(), !k(X.id) && !e.disableRedirect && e.redirectRouteName && o.push({
|
|
1223
1223
|
name: e.redirectRouteName,
|
|
1224
|
-
params: { [e.redirectParamName]:
|
|
1224
|
+
params: { [e.redirectParamName]: X[e.redirectParamName] }
|
|
1225
1225
|
});
|
|
1226
|
-
} catch (
|
|
1227
|
-
c(
|
|
1226
|
+
} catch (X) {
|
|
1227
|
+
c(X), r("onError", X);
|
|
1228
1228
|
} finally {
|
|
1229
1229
|
s.value = !1;
|
|
1230
1230
|
}
|
|
1231
1231
|
};
|
|
1232
|
-
return (q,
|
|
1232
|
+
return (q, X) => {
|
|
1233
1233
|
const y = Je("ABtnTertiary"), A = Je("ABtnPrimary");
|
|
1234
1234
|
return x(), $(A, {
|
|
1235
1235
|
class: Xe(q.buttonClass),
|
|
@@ -1241,11 +1241,11 @@ const EA = /* @__PURE__ */ H({
|
|
|
1241
1241
|
Ve(q.$slots, "button-title", {}, () => [
|
|
1242
1242
|
L(D(b(i)("common.button.create")), 1)
|
|
1243
1243
|
]),
|
|
1244
|
-
|
|
1244
|
+
m(Xr, {
|
|
1245
1245
|
"model-value": q.modelValue,
|
|
1246
1246
|
"max-width": q.maxWidth,
|
|
1247
1247
|
persistent: "",
|
|
1248
|
-
"onUpdate:modelValue":
|
|
1248
|
+
"onUpdate:modelValue": X[0] || (X[0] = (T) => r("update:modelValue", T))
|
|
1249
1249
|
}, {
|
|
1250
1250
|
default: g(() => [
|
|
1251
1251
|
q.modelValue ? (x(), $(rt, {
|
|
@@ -1253,7 +1253,7 @@ const EA = /* @__PURE__ */ H({
|
|
|
1253
1253
|
"data-cy": "create-panel"
|
|
1254
1254
|
}, {
|
|
1255
1255
|
default: g(() => [
|
|
1256
|
-
|
|
1256
|
+
m(_r, { onOnCancel: a }, {
|
|
1257
1257
|
default: g(() => [
|
|
1258
1258
|
Ve(q.$slots, "title", {}, () => [
|
|
1259
1259
|
L(D(b(i)("common.button.create")), 1)
|
|
@@ -1261,16 +1261,16 @@ const EA = /* @__PURE__ */ H({
|
|
|
1261
1261
|
]),
|
|
1262
1262
|
_: 3
|
|
1263
1263
|
}),
|
|
1264
|
-
|
|
1264
|
+
m(Jn, null, {
|
|
1265
1265
|
default: g(() => [
|
|
1266
1266
|
Ve(q.$slots, "content")
|
|
1267
1267
|
]),
|
|
1268
1268
|
_: 3
|
|
1269
1269
|
}),
|
|
1270
|
-
|
|
1270
|
+
m(ii, null, {
|
|
1271
1271
|
default: g(() => [
|
|
1272
|
-
|
|
1273
|
-
|
|
1272
|
+
m(Et),
|
|
1273
|
+
m(y, {
|
|
1274
1274
|
"data-cy": "button-cancel",
|
|
1275
1275
|
onClick: Z(a, ["stop"])
|
|
1276
1276
|
}, {
|
|
@@ -1279,7 +1279,7 @@ const EA = /* @__PURE__ */ H({
|
|
|
1279
1279
|
]),
|
|
1280
1280
|
_: 1
|
|
1281
1281
|
}, 8, ["onClick"]),
|
|
1282
|
-
|
|
1282
|
+
m(A, {
|
|
1283
1283
|
loading: s.value,
|
|
1284
1284
|
"data-cy": "button-confirm",
|
|
1285
1285
|
onClick: Z(u, ["stop"])
|
|
@@ -1319,15 +1319,15 @@ const EA = /* @__PURE__ */ H({
|
|
|
1319
1319
|
i.value = s.value;
|
|
1320
1320
|
} catch {
|
|
1321
1321
|
}
|
|
1322
|
-
}), (s, n) => i.value.length > 0 ? (x(), $(
|
|
1322
|
+
}), (s, n) => i.value.length > 0 ? (x(), $(ae, {
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
variant: "text",
|
|
1325
1325
|
size: "small",
|
|
1326
1326
|
icon: ""
|
|
1327
1327
|
}, {
|
|
1328
1328
|
default: g(() => [
|
|
1329
|
-
|
|
1330
|
-
|
|
1329
|
+
m(ue, { icon: "mdi-dots-grid" }),
|
|
1330
|
+
m(Ce, {
|
|
1331
1331
|
activator: "parent",
|
|
1332
1332
|
location: "top"
|
|
1333
1333
|
}, {
|
|
@@ -1336,9 +1336,9 @@ const EA = /* @__PURE__ */ H({
|
|
|
1336
1336
|
]),
|
|
1337
1337
|
_: 1
|
|
1338
1338
|
}),
|
|
1339
|
-
|
|
1339
|
+
m(It, { activator: "parent" }, {
|
|
1340
1340
|
default: g(() => [
|
|
1341
|
-
|
|
1341
|
+
m(rt, null, {
|
|
1342
1342
|
default: g(() => [
|
|
1343
1343
|
O("div", ul, [
|
|
1344
1344
|
(x(!0), z(_e, null, ut(i.value, (a) => (x(), z("a", {
|
|
@@ -1386,60 +1386,60 @@ var ga = { exports: {} };
|
|
|
1386
1386
|
(function(e, i) {
|
|
1387
1387
|
t.exports = i();
|
|
1388
1388
|
})(ai, function() {
|
|
1389
|
-
var e = 1e3, i = 6e4, s = 36e5, n = "millisecond", a = "second", o = "minute", d = "hour", l = "day", c = "week", u = "month", q = "quarter",
|
|
1390
|
-
var h = ["th", "st", "nd", "rd"],
|
|
1391
|
-
return "[" + Y + (h[(
|
|
1392
|
-
} }, B = function(Y, h,
|
|
1389
|
+
var e = 1e3, i = 6e4, s = 36e5, n = "millisecond", a = "second", o = "minute", d = "hour", l = "day", c = "week", u = "month", q = "quarter", X = "year", y = "date", A = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Y) {
|
|
1390
|
+
var h = ["th", "st", "nd", "rd"], p = Y % 100;
|
|
1391
|
+
return "[" + Y + (h[(p - 20) % 10] || h[p] || h[0]) + "]";
|
|
1392
|
+
} }, B = function(Y, h, p) {
|
|
1393
1393
|
var I = String(Y);
|
|
1394
|
-
return !I || I.length >= h ? Y : "" + Array(h + 1 - I.length).join(
|
|
1394
|
+
return !I || I.length >= h ? Y : "" + Array(h + 1 - I.length).join(p) + Y;
|
|
1395
1395
|
}, _ = { s: B, z: function(Y) {
|
|
1396
|
-
var h = -Y.utcOffset(),
|
|
1396
|
+
var h = -Y.utcOffset(), p = Math.abs(h), I = Math.floor(p / 60), v = p % 60;
|
|
1397
1397
|
return (h <= 0 ? "+" : "-") + B(I, 2, "0") + ":" + B(v, 2, "0");
|
|
1398
|
-
}, m: function Y(h,
|
|
1399
|
-
if (h.date() <
|
|
1400
|
-
return -Y(
|
|
1401
|
-
var I = 12 * (
|
|
1402
|
-
return +(-(I + (
|
|
1398
|
+
}, m: function Y(h, p) {
|
|
1399
|
+
if (h.date() < p.date())
|
|
1400
|
+
return -Y(p, h);
|
|
1401
|
+
var I = 12 * (p.year() - h.year()) + (p.month() - h.month()), v = h.clone().add(I, u), R = p - v < 0, J = h.clone().add(I + (R ? -1 : 1), u);
|
|
1402
|
+
return +(-(I + (p - v) / (R ? v - J : J - v)) || 0);
|
|
1403
1403
|
}, a: function(Y) {
|
|
1404
1404
|
return Y < 0 ? Math.ceil(Y) || 0 : Math.floor(Y);
|
|
1405
1405
|
}, p: function(Y) {
|
|
1406
|
-
return { M: u, y:
|
|
1406
|
+
return { M: u, y: X, w: c, d: l, D: y, h: d, m: o, s: a, ms: n, Q: q }[Y] || String(Y || "").toLowerCase().replace(/s$/, "");
|
|
1407
1407
|
}, u: function(Y) {
|
|
1408
1408
|
return Y === void 0;
|
|
1409
1409
|
} }, P = "en", G = {};
|
|
1410
1410
|
G[P] = E;
|
|
1411
1411
|
var re = "$isDayjsObject", ie = function(Y) {
|
|
1412
1412
|
return Y instanceof S || !(!Y || !Y[re]);
|
|
1413
|
-
}, le = function Y(h,
|
|
1413
|
+
}, le = function Y(h, p, I) {
|
|
1414
1414
|
var v;
|
|
1415
1415
|
if (!h)
|
|
1416
1416
|
return P;
|
|
1417
1417
|
if (typeof h == "string") {
|
|
1418
1418
|
var R = h.toLowerCase();
|
|
1419
|
-
G[R] && (v = R),
|
|
1419
|
+
G[R] && (v = R), p && (G[R] = p, v = R);
|
|
1420
1420
|
var J = h.split("-");
|
|
1421
1421
|
if (!v && J.length > 1)
|
|
1422
1422
|
return Y(J[0]);
|
|
1423
1423
|
} else {
|
|
1424
|
-
var
|
|
1425
|
-
G[
|
|
1424
|
+
var oe = h.name;
|
|
1425
|
+
G[oe] = h, v = oe;
|
|
1426
1426
|
}
|
|
1427
1427
|
return !I && v && (P = v), v || !I && P;
|
|
1428
1428
|
}, te = function(Y, h) {
|
|
1429
1429
|
if (ie(Y))
|
|
1430
1430
|
return Y.clone();
|
|
1431
|
-
var
|
|
1432
|
-
return
|
|
1431
|
+
var p = typeof h == "object" ? h : {};
|
|
1432
|
+
return p.date = Y, p.args = arguments, new S(p);
|
|
1433
1433
|
}, K = _;
|
|
1434
1434
|
K.l = le, K.i = ie, K.w = function(Y, h) {
|
|
1435
1435
|
return te(Y, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
|
|
1436
1436
|
};
|
|
1437
1437
|
var S = function() {
|
|
1438
|
-
function Y(
|
|
1439
|
-
this.$L = le(
|
|
1438
|
+
function Y(p) {
|
|
1439
|
+
this.$L = le(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[re] = !0;
|
|
1440
1440
|
}
|
|
1441
1441
|
var h = Y.prototype;
|
|
1442
|
-
return h.parse = function(
|
|
1442
|
+
return h.parse = function(p) {
|
|
1443
1443
|
this.$d = function(I) {
|
|
1444
1444
|
var v = I.date, R = I.utc;
|
|
1445
1445
|
if (v === null)
|
|
@@ -1451,47 +1451,47 @@ var ga = { exports: {} };
|
|
|
1451
1451
|
if (typeof v == "string" && !/Z$/i.test(v)) {
|
|
1452
1452
|
var J = v.match(T);
|
|
1453
1453
|
if (J) {
|
|
1454
|
-
var
|
|
1455
|
-
return R ? new Date(Date.UTC(J[1],
|
|
1454
|
+
var oe = J[2] - 1 || 0, Ye = (J[7] || "0").substring(0, 3);
|
|
1455
|
+
return R ? new Date(Date.UTC(J[1], oe, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, Ye)) : new Date(J[1], oe, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, Ye);
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
1458
|
return new Date(v);
|
|
1459
|
-
}(
|
|
1459
|
+
}(p), this.init();
|
|
1460
1460
|
}, h.init = function() {
|
|
1461
|
-
var
|
|
1462
|
-
this.$y =
|
|
1461
|
+
var p = this.$d;
|
|
1462
|
+
this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
|
|
1463
1463
|
}, h.$utils = function() {
|
|
1464
1464
|
return K;
|
|
1465
1465
|
}, h.isValid = function() {
|
|
1466
1466
|
return this.$d.toString() !== A;
|
|
1467
|
-
}, h.isSame = function(
|
|
1468
|
-
var v = te(
|
|
1467
|
+
}, h.isSame = function(p, I) {
|
|
1468
|
+
var v = te(p);
|
|
1469
1469
|
return this.startOf(I) <= v && v <= this.endOf(I);
|
|
1470
|
-
}, h.isAfter = function(
|
|
1471
|
-
return te(
|
|
1472
|
-
}, h.isBefore = function(
|
|
1473
|
-
return this.endOf(I) < te(
|
|
1474
|
-
}, h.$g = function(
|
|
1475
|
-
return K.u(
|
|
1470
|
+
}, h.isAfter = function(p, I) {
|
|
1471
|
+
return te(p) < this.startOf(I);
|
|
1472
|
+
}, h.isBefore = function(p, I) {
|
|
1473
|
+
return this.endOf(I) < te(p);
|
|
1474
|
+
}, h.$g = function(p, I, v) {
|
|
1475
|
+
return K.u(p) ? this[I] : this.set(v, p);
|
|
1476
1476
|
}, h.unix = function() {
|
|
1477
1477
|
return Math.floor(this.valueOf() / 1e3);
|
|
1478
1478
|
}, h.valueOf = function() {
|
|
1479
1479
|
return this.$d.getTime();
|
|
1480
|
-
}, h.startOf = function(
|
|
1481
|
-
var v = this, R = !!K.u(I) || I, J = K.p(
|
|
1480
|
+
}, h.startOf = function(p, I) {
|
|
1481
|
+
var v = this, R = !!K.u(I) || I, J = K.p(p), oe = function(Vt, Re) {
|
|
1482
1482
|
var mt = K.w(v.$u ? Date.UTC(v.$y, Re, Vt) : new Date(v.$y, Re, Vt), v);
|
|
1483
1483
|
return R ? mt : mt.endOf(l);
|
|
1484
1484
|
}, Ye = function(Vt, Re) {
|
|
1485
1485
|
return K.w(v.toDate()[Vt].apply(v.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Re)), v);
|
|
1486
1486
|
}, Te = this.$W, $e = this.$M, Ne = this.$D, gt = "set" + (this.$u ? "UTC" : "");
|
|
1487
1487
|
switch (J) {
|
|
1488
|
-
case
|
|
1489
|
-
return R ?
|
|
1488
|
+
case X:
|
|
1489
|
+
return R ? oe(1, 0) : oe(31, 11);
|
|
1490
1490
|
case u:
|
|
1491
|
-
return R ?
|
|
1491
|
+
return R ? oe(1, $e) : oe(0, $e + 1);
|
|
1492
1492
|
case c:
|
|
1493
1493
|
var ct = this.$locale().weekStart || 0, it = (Te < ct ? Te + 7 : Te) - ct;
|
|
1494
|
-
return
|
|
1494
|
+
return oe(R ? Ne - it : Ne + (6 - it), $e);
|
|
1495
1495
|
case l:
|
|
1496
1496
|
case y:
|
|
1497
1497
|
return Ye(gt + "Hours", 0);
|
|
@@ -1504,47 +1504,47 @@ var ga = { exports: {} };
|
|
|
1504
1504
|
default:
|
|
1505
1505
|
return this.clone();
|
|
1506
1506
|
}
|
|
1507
|
-
}, h.endOf = function(
|
|
1508
|
-
return this.startOf(
|
|
1509
|
-
}, h.$set = function(
|
|
1510
|
-
var v, R = K.p(
|
|
1511
|
-
if (R === u || R ===
|
|
1507
|
+
}, h.endOf = function(p) {
|
|
1508
|
+
return this.startOf(p, !1);
|
|
1509
|
+
}, h.$set = function(p, I) {
|
|
1510
|
+
var v, R = K.p(p), J = "set" + (this.$u ? "UTC" : ""), oe = (v = {}, v[l] = J + "Date", v[y] = J + "Date", v[u] = J + "Month", v[X] = J + "FullYear", v[d] = J + "Hours", v[o] = J + "Minutes", v[a] = J + "Seconds", v[n] = J + "Milliseconds", v)[R], Ye = R === l ? this.$D + (I - this.$W) : I;
|
|
1511
|
+
if (R === u || R === X) {
|
|
1512
1512
|
var Te = this.clone().set(y, 1);
|
|
1513
|
-
Te.$d[
|
|
1513
|
+
Te.$d[oe](Ye), Te.init(), this.$d = Te.set(y, Math.min(this.$D, Te.daysInMonth())).$d;
|
|
1514
1514
|
} else
|
|
1515
|
-
|
|
1515
|
+
oe && this.$d[oe](Ye);
|
|
1516
1516
|
return this.init(), this;
|
|
1517
|
-
}, h.set = function(
|
|
1518
|
-
return this.clone().$set(
|
|
1519
|
-
}, h.get = function(
|
|
1520
|
-
return this[K.p(
|
|
1521
|
-
}, h.add = function(
|
|
1517
|
+
}, h.set = function(p, I) {
|
|
1518
|
+
return this.clone().$set(p, I);
|
|
1519
|
+
}, h.get = function(p) {
|
|
1520
|
+
return this[K.p(p)]();
|
|
1521
|
+
}, h.add = function(p, I) {
|
|
1522
1522
|
var v, R = this;
|
|
1523
|
-
|
|
1524
|
-
var J = K.p(I),
|
|
1523
|
+
p = Number(p);
|
|
1524
|
+
var J = K.p(I), oe = function($e) {
|
|
1525
1525
|
var Ne = te(R);
|
|
1526
|
-
return K.w(Ne.date(Ne.date() + Math.round($e *
|
|
1526
|
+
return K.w(Ne.date(Ne.date() + Math.round($e * p)), R);
|
|
1527
1527
|
};
|
|
1528
1528
|
if (J === u)
|
|
1529
|
-
return this.set(u, this.$M +
|
|
1530
|
-
if (J ===
|
|
1531
|
-
return this.set(
|
|
1529
|
+
return this.set(u, this.$M + p);
|
|
1530
|
+
if (J === X)
|
|
1531
|
+
return this.set(X, this.$y + p);
|
|
1532
1532
|
if (J === l)
|
|
1533
|
-
return
|
|
1533
|
+
return oe(1);
|
|
1534
1534
|
if (J === c)
|
|
1535
|
-
return
|
|
1536
|
-
var Ye = (v = {}, v[o] = i, v[d] = s, v[a] = e, v)[J] || 1, Te = this.$d.getTime() +
|
|
1535
|
+
return oe(7);
|
|
1536
|
+
var Ye = (v = {}, v[o] = i, v[d] = s, v[a] = e, v)[J] || 1, Te = this.$d.getTime() + p * Ye;
|
|
1537
1537
|
return K.w(Te, this);
|
|
1538
|
-
}, h.subtract = function(
|
|
1539
|
-
return this.add(-1 *
|
|
1540
|
-
}, h.format = function(
|
|
1538
|
+
}, h.subtract = function(p, I) {
|
|
1539
|
+
return this.add(-1 * p, I);
|
|
1540
|
+
}, h.format = function(p) {
|
|
1541
1541
|
var I = this, v = this.$locale();
|
|
1542
1542
|
if (!this.isValid())
|
|
1543
1543
|
return v.invalidDate || A;
|
|
1544
|
-
var R =
|
|
1544
|
+
var R = p || "YYYY-MM-DDTHH:mm:ssZ", J = K.z(this), oe = this.$H, Ye = this.$m, Te = this.$M, $e = v.weekdays, Ne = v.months, gt = v.meridiem, ct = function(Re, mt, At, pr) {
|
|
1545
1545
|
return Re && (Re[mt] || Re(I, R)) || At[mt].slice(0, pr);
|
|
1546
1546
|
}, it = function(Re) {
|
|
1547
|
-
return K.s(
|
|
1547
|
+
return K.s(oe % 12 || 12, Re, "0");
|
|
1548
1548
|
}, Vt = gt || function(Re, mt, At) {
|
|
1549
1549
|
var pr = Re < 12 ? "AM" : "PM";
|
|
1550
1550
|
return At ? pr.toLowerCase() : pr;
|
|
@@ -1577,17 +1577,17 @@ var ga = { exports: {} };
|
|
|
1577
1577
|
case "dddd":
|
|
1578
1578
|
return $e[I.$W];
|
|
1579
1579
|
case "H":
|
|
1580
|
-
return String(
|
|
1580
|
+
return String(oe);
|
|
1581
1581
|
case "HH":
|
|
1582
|
-
return K.s(
|
|
1582
|
+
return K.s(oe, 2, "0");
|
|
1583
1583
|
case "h":
|
|
1584
1584
|
return it(1);
|
|
1585
1585
|
case "hh":
|
|
1586
1586
|
return it(2);
|
|
1587
1587
|
case "a":
|
|
1588
|
-
return Vt(
|
|
1588
|
+
return Vt(oe, Ye, !0);
|
|
1589
1589
|
case "A":
|
|
1590
|
-
return Vt(
|
|
1590
|
+
return Vt(oe, Ye, !1);
|
|
1591
1591
|
case "m":
|
|
1592
1592
|
return String(Ye);
|
|
1593
1593
|
case "mm":
|
|
@@ -1606,12 +1606,12 @@ var ga = { exports: {} };
|
|
|
1606
1606
|
});
|
|
1607
1607
|
}, h.utcOffset = function() {
|
|
1608
1608
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1609
|
-
}, h.diff = function(
|
|
1610
|
-
var R, J = this,
|
|
1609
|
+
}, h.diff = function(p, I, v) {
|
|
1610
|
+
var R, J = this, oe = K.p(I), Ye = te(p), Te = (Ye.utcOffset() - this.utcOffset()) * i, $e = this - Ye, Ne = function() {
|
|
1611
1611
|
return K.m(J, Ye);
|
|
1612
1612
|
};
|
|
1613
|
-
switch (
|
|
1614
|
-
case
|
|
1613
|
+
switch (oe) {
|
|
1614
|
+
case X:
|
|
1615
1615
|
R = Ne() / 12;
|
|
1616
1616
|
break;
|
|
1617
1617
|
case u:
|
|
@@ -1643,10 +1643,10 @@ var ga = { exports: {} };
|
|
|
1643
1643
|
return this.endOf(u).$D;
|
|
1644
1644
|
}, h.$locale = function() {
|
|
1645
1645
|
return G[this.$L];
|
|
1646
|
-
}, h.locale = function(
|
|
1647
|
-
if (!
|
|
1646
|
+
}, h.locale = function(p, I) {
|
|
1647
|
+
if (!p)
|
|
1648
1648
|
return this.$L;
|
|
1649
|
-
var v = this.clone(), R = le(
|
|
1649
|
+
var v = this.clone(), R = le(p, I, !0);
|
|
1650
1650
|
return R && (v.$L = R), v;
|
|
1651
1651
|
}, h.clone = function() {
|
|
1652
1652
|
return K.w(this.$d, this);
|
|
@@ -1660,7 +1660,7 @@ var ga = { exports: {} };
|
|
|
1660
1660
|
return this.$d.toUTCString();
|
|
1661
1661
|
}, Y;
|
|
1662
1662
|
}(), f = S.prototype;
|
|
1663
|
-
return te.prototype = f, [["$ms", n], ["$s", a], ["$m", o], ["$H", d], ["$W", l], ["$M", u], ["$y",
|
|
1663
|
+
return te.prototype = f, [["$ms", n], ["$s", a], ["$m", o], ["$H", d], ["$W", l], ["$M", u], ["$y", X], ["$D", y]].forEach(function(Y) {
|
|
1664
1664
|
f[Y[1]] = function(h) {
|
|
1665
1665
|
return this.$g(h, Y[0], Y[1]);
|
|
1666
1666
|
};
|
|
@@ -1740,9 +1740,9 @@ var Aa = { exports: {} };
|
|
|
1740
1740
|
}, d.toString = function() {
|
|
1741
1741
|
return this.toDate().toUTCString();
|
|
1742
1742
|
};
|
|
1743
|
-
var
|
|
1743
|
+
var X = d.toDate;
|
|
1744
1744
|
d.toDate = function(A) {
|
|
1745
|
-
return A === "s" && this.$offset ? o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
1745
|
+
return A === "s" && this.$offset ? o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : X.call(this);
|
|
1746
1746
|
};
|
|
1747
1747
|
var y = d.diff;
|
|
1748
1748
|
d.diff = function(A, T, j) {
|
|
@@ -1757,13 +1757,13 @@ var Aa = { exports: {} };
|
|
|
1757
1757
|
var ml = Aa.exports;
|
|
1758
1758
|
const Xl = /* @__PURE__ */ pa(ml);
|
|
1759
1759
|
we.extend(Xl);
|
|
1760
|
-
const Yr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000000Z", Qi = "2100-01-01T00:00:00.000000Z", pl = () => we().utc().toDate(), BA = (t) => we(t).toDate(), OA = () => Si(we().utc().unix()), mr = (t = !0, r = !1) => t && !r ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + Yr : t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00") + Yr : !t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", NA = (t = 0) => t === 0 ? we().startOf("day").utc().format(Ti) + Yr : we().add(t, "days").startOf("day").utc().format(Ti) + Yr, zA = (t = 0) => t === 0 ? we().endOf("day").utc().format(Ti) + Yr : we().add(t, "days").endOf("day").utc().format(Ti) + Yr, LA = (t = 0, r = null) => (r === null && (r = /* @__PURE__ */ new Date()), t === 0 ? r : t > 0 ? we(r).add(t, "minutes").toDate() : t < 0 ? we(r).subtract(Math.abs(t), "minutes").toDate() : r), gl = (t) => we(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Yr, RA = () => we().utc().format("YYYY"), Ss = (t, r = "") => t === Qi || t === Zi || t === "" ||
|
|
1761
|
-
if (t === Qi || t === Zi || t === "" ||
|
|
1760
|
+
const Yr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000000Z", Qi = "2100-01-01T00:00:00.000000Z", pl = () => we().utc().toDate(), BA = (t) => we(t).toDate(), OA = () => Si(we().utc().unix()), mr = (t = !0, r = !1) => t && !r ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + Yr : t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00") + Yr : !t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", NA = (t = 0) => t === 0 ? we().startOf("day").utc().format(Ti) + Yr : we().add(t, "days").startOf("day").utc().format(Ti) + Yr, zA = (t = 0) => t === 0 ? we().endOf("day").utc().format(Ti) + Yr : we().add(t, "days").endOf("day").utc().format(Ti) + Yr, LA = (t = 0, r = null) => (r === null && (r = /* @__PURE__ */ new Date()), t === 0 ? r : t > 0 ? we(r).add(t, "minutes").toDate() : t < 0 ? we(r).subtract(Math.abs(t), "minutes").toDate() : r), gl = (t) => we(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Yr, RA = () => we().utc().format("YYYY"), Ss = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || k(t) ? r : we(t).format("DD.MM.YYYY HH:mm"), jA = (t, r = "") => {
|
|
1761
|
+
if (t === Qi || t === Zi || t === "" || ce(t) || k(t))
|
|
1762
1762
|
return r;
|
|
1763
1763
|
let e = !0, i = !0;
|
|
1764
1764
|
const s = we(t), n = we();
|
|
1765
1765
|
return n.format("YYYY") === s.format("YYYY") && (e = !1), n.format("YYYY-MM-DD") === s.format("YYYY-MM-DD") && (i = !1), !e && !i ? we(s).format("H:mm") : e ? we(s).format("D.M.YYYY H:mm") : we(s).format("D.M. H:mm");
|
|
1766
|
-
}, HA = (t, r = "") => t === Qi || t === Zi || t === "" ||
|
|
1766
|
+
}, HA = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || k(t) ? r : we(t).format("DD.MM.YYYY"), UA = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || k(t) ? r : we(t).format("HH:mm"), GA = (t, r, e = "ms") => {
|
|
1767
1767
|
const i = we(t), s = we(r);
|
|
1768
1768
|
return i.diff(s, e);
|
|
1769
1769
|
}, Al = { class: "d-flex align-center" }, hl = {
|
|
@@ -1782,7 +1782,7 @@ const Yr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000
|
|
|
1782
1782
|
setup(t) {
|
|
1783
1783
|
const r = t, e = w(() => Ss(r.data.createdAt)), i = w(() => Ss(r.data.modifiedAt)), { t: s } = se();
|
|
1784
1784
|
return (n, a) => (x(), z(_e, null, [
|
|
1785
|
-
|
|
1785
|
+
m(bt, {
|
|
1786
1786
|
title: b(s)("common.model.tracking.created")
|
|
1787
1787
|
}, {
|
|
1788
1788
|
default: g(() => [
|
|
@@ -1792,7 +1792,7 @@ const Yr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000
|
|
|
1792
1792
|
]),
|
|
1793
1793
|
_: 1
|
|
1794
1794
|
}, 8, ["title"]),
|
|
1795
|
-
|
|
1795
|
+
m(bt, {
|
|
1796
1796
|
title: b(s)("common.model.tracking.modified")
|
|
1797
1797
|
}, {
|
|
1798
1798
|
default: g(() => [
|
|
@@ -1893,10 +1893,10 @@ const ha = /* @__PURE__ */ H({
|
|
|
1893
1893
|
var h;
|
|
1894
1894
|
((h = _ == null ? void 0 : _.value) == null ? void 0 : h.titleT) !== Y.titleT && c(Y);
|
|
1895
1895
|
});
|
|
1896
|
-
},
|
|
1897
|
-
ke(
|
|
1898
|
-
if (l(
|
|
1899
|
-
|
|
1896
|
+
}, X = N(void 0);
|
|
1897
|
+
ke(X, () => {
|
|
1898
|
+
if (l(X)) {
|
|
1899
|
+
X.value.model = e.value, y.value = X.value, q(X);
|
|
1900
1900
|
return;
|
|
1901
1901
|
}
|
|
1902
1902
|
A(e.value);
|
|
@@ -1906,8 +1906,8 @@ const ha = /* @__PURE__ */ H({
|
|
|
1906
1906
|
A(_);
|
|
1907
1907
|
});
|
|
1908
1908
|
const A = (_) => {
|
|
1909
|
-
if (l(
|
|
1910
|
-
|
|
1909
|
+
if (l(X)) {
|
|
1910
|
+
X.value.model = _;
|
|
1911
1911
|
return;
|
|
1912
1912
|
}
|
|
1913
1913
|
const P = T(_);
|
|
@@ -1924,8 +1924,8 @@ const ha = /* @__PURE__ */ H({
|
|
|
1924
1924
|
return s.value;
|
|
1925
1925
|
}
|
|
1926
1926
|
}, j = w(() => {
|
|
1927
|
-
if (l(
|
|
1928
|
-
return d(
|
|
1927
|
+
if (l(X))
|
|
1928
|
+
return d(X.value.titleT ?? "");
|
|
1929
1929
|
if (l(y))
|
|
1930
1930
|
return d(y.value.titleT ?? "");
|
|
1931
1931
|
const _ = [];
|
|
@@ -1951,14 +1951,14 @@ const ha = /* @__PURE__ */ H({
|
|
|
1951
1951
|
b(o) ? {
|
|
1952
1952
|
name: "append-inner",
|
|
1953
1953
|
fn: g(() => [
|
|
1954
|
-
|
|
1955
|
-
modelValue:
|
|
1956
|
-
"onUpdate:modelValue": P[0] || (P[0] = (G) =>
|
|
1954
|
+
m(Ui, {
|
|
1955
|
+
modelValue: X.value,
|
|
1956
|
+
"onUpdate:modelValue": P[0] || (P[0] = (G) => X.value = G),
|
|
1957
1957
|
divided: "",
|
|
1958
1958
|
class: "override-toggle"
|
|
1959
1959
|
}, {
|
|
1960
1960
|
default: g(() => [
|
|
1961
|
-
(x(!0), z(_e, null, ut(b(o), (G, re) => (x(), $(
|
|
1961
|
+
(x(!0), z(_e, null, ut(b(o), (G, re) => (x(), $(ae, {
|
|
1962
1962
|
key: re,
|
|
1963
1963
|
size: "small",
|
|
1964
1964
|
value: G
|
|
@@ -2016,7 +2016,7 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2016
2016
|
const e = N(!1), i = (a) => {
|
|
2017
2017
|
Dt(a), e.value = !e.value, r("advancedFilter");
|
|
2018
2018
|
}, s = w(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: n } = se();
|
|
2019
|
-
return (a, o) => (x(), $(
|
|
2019
|
+
return (a, o) => (x(), $(ae, {
|
|
2020
2020
|
class: Xe(a.buttonClass),
|
|
2021
2021
|
"data-cy": a.dataCy,
|
|
2022
2022
|
icon: "",
|
|
@@ -2025,8 +2025,8 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2025
2025
|
onClick: Z(i, ["stop"])
|
|
2026
2026
|
}, {
|
|
2027
2027
|
default: g(() => [
|
|
2028
|
-
|
|
2029
|
-
|
|
2028
|
+
m(ue, { icon: s.value }, null, 8, ["icon"]),
|
|
2029
|
+
m(Ce, {
|
|
2030
2030
|
activator: "parent",
|
|
2031
2031
|
location: "bottom"
|
|
2032
2032
|
}, {
|
|
@@ -2052,7 +2052,7 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2052
2052
|
const e = (s) => {
|
|
2053
2053
|
Dt(s), r("submit");
|
|
2054
2054
|
}, { t: i } = se();
|
|
2055
|
-
return (s, n) => (x(), $(
|
|
2055
|
+
return (s, n) => (x(), $(ae, {
|
|
2056
2056
|
class: Xe(s.buttonClass),
|
|
2057
2057
|
"data-cy": s.dataCy,
|
|
2058
2058
|
color: "primary",
|
|
@@ -2078,7 +2078,7 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2078
2078
|
const e = (s) => {
|
|
2079
2079
|
Dt(s), r("reset");
|
|
2080
2080
|
}, { t: i } = se();
|
|
2081
|
-
return (s, n) => (x(), $(
|
|
2081
|
+
return (s, n) => (x(), $(ae, {
|
|
2082
2082
|
class: Xe([s.buttonClass, "px-2"]),
|
|
2083
2083
|
"data-cy": s.dataCy,
|
|
2084
2084
|
color: "light",
|
|
@@ -2087,11 +2087,11 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2087
2087
|
onClick: Z(e, ["stop"])
|
|
2088
2088
|
}, {
|
|
2089
2089
|
default: g(() => [
|
|
2090
|
-
|
|
2090
|
+
m(ue, {
|
|
2091
2091
|
color: "grey darken-1",
|
|
2092
2092
|
icon: "mdi-filter-remove-outline"
|
|
2093
2093
|
}),
|
|
2094
|
-
|
|
2094
|
+
m(Ce, {
|
|
2095
2095
|
activator: "parent",
|
|
2096
2096
|
location: "bottom"
|
|
2097
2097
|
}, {
|
|
@@ -2125,7 +2125,7 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2125
2125
|
dense: ""
|
|
2126
2126
|
}, {
|
|
2127
2127
|
default: g(() => [
|
|
2128
|
-
|
|
2128
|
+
m(yt, { class: "" }, {
|
|
2129
2129
|
default: g(() => [
|
|
2130
2130
|
Ve(n.$slots, "top")
|
|
2131
2131
|
]),
|
|
@@ -2134,7 +2134,7 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2134
2134
|
]),
|
|
2135
2135
|
_: 3
|
|
2136
2136
|
})) : ee("", !0),
|
|
2137
|
-
|
|
2137
|
+
m(Wt, { dense: "" }, {
|
|
2138
2138
|
default: g(() => [
|
|
2139
2139
|
n.enableAdvanced ? (x(), $(yt, {
|
|
2140
2140
|
key: 0,
|
|
@@ -2142,14 +2142,14 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2142
2142
|
cols: "auto"
|
|
2143
2143
|
}, {
|
|
2144
2144
|
default: g(() => [
|
|
2145
|
-
|
|
2145
|
+
m(Cl, {
|
|
2146
2146
|
"button-active": i.value,
|
|
2147
2147
|
onAdvancedFilter: s
|
|
2148
2148
|
}, null, 8, ["button-active"])
|
|
2149
2149
|
]),
|
|
2150
2150
|
_: 1
|
|
2151
2151
|
})) : ee("", !0),
|
|
2152
|
-
|
|
2152
|
+
m(yt, { class: "" }, {
|
|
2153
2153
|
default: g(() => [
|
|
2154
2154
|
Ve(n.$slots, "default"),
|
|
2155
2155
|
n.enableAdvanced ? (x(), $(ta, { key: 0 }, {
|
|
@@ -2172,8 +2172,8 @@ const JA = /* @__PURE__ */ ir(yl, [["__scopeId", "data-v-c2649051"]]), ZA = /* @
|
|
|
2172
2172
|
}, {
|
|
2173
2173
|
default: g(() => [
|
|
2174
2174
|
Ve(n.$slots, "buttons", {}, () => [
|
|
2175
|
-
|
|
2176
|
-
|
|
2175
|
+
m(Kl, { touched: n.touched }, null, 8, ["touched"]),
|
|
2176
|
+
m(Il, { onReset: e })
|
|
2177
2177
|
])
|
|
2178
2178
|
]),
|
|
2179
2179
|
_: 3
|
|
@@ -2238,7 +2238,7 @@ const eh = /* @__PURE__ */ H({
|
|
|
2238
2238
|
default: g(() => [
|
|
2239
2239
|
(x(!0), z(_e, null, ut(n.availableGrants, (o) => {
|
|
2240
2240
|
var d;
|
|
2241
|
-
return x(), $(
|
|
2241
|
+
return x(), $(ae, {
|
|
2242
2242
|
key: o,
|
|
2243
2243
|
value: o,
|
|
2244
2244
|
color: (d = b(s)(o)) == null ? void 0 : d.color
|
|
@@ -2783,8 +2783,8 @@ var Vs = function() {
|
|
|
2783
2783
|
var r = t.config, e = r === void 0 ? br : r, i = t.l10n, s = i === void 0 ? Qr : i, n = t.isMobile, a = n === void 0 ? !1 : n;
|
|
2784
2784
|
return function(o, d, l) {
|
|
2785
2785
|
var c = l || s;
|
|
2786
|
-
return e.formatDate !== void 0 && !a ? e.formatDate(o, d, c) : d.split("").map(function(u, q,
|
|
2787
|
-
return Or[u] &&
|
|
2786
|
+
return e.formatDate !== void 0 && !a ? e.formatDate(o, d, c) : d.split("").map(function(u, q, X) {
|
|
2787
|
+
return Or[u] && X[q - 1] !== "\\" ? Or[u](o, c, e) : u !== "\\" ? u : "";
|
|
2788
2788
|
}).join("");
|
|
2789
2789
|
};
|
|
2790
2790
|
}, Ms = function(t) {
|
|
@@ -2797,12 +2797,12 @@ var Vs = function() {
|
|
|
2797
2797
|
else if (typeof n != "string" && n.toFixed !== void 0)
|
|
2798
2798
|
c = new Date(n);
|
|
2799
2799
|
else if (typeof n == "string") {
|
|
2800
|
-
var q = a || (e || br).dateFormat,
|
|
2801
|
-
if (
|
|
2800
|
+
var q = a || (e || br).dateFormat, X = String(n).trim();
|
|
2801
|
+
if (X === "today")
|
|
2802
2802
|
c = /* @__PURE__ */ new Date(), o = !0;
|
|
2803
2803
|
else if (e && e.parseDate)
|
|
2804
2804
|
c = e.parseDate(n, q);
|
|
2805
|
-
else if (/Z$/.test(
|
|
2805
|
+
else if (/Z$/.test(X) || /GMT$/.test(X))
|
|
2806
2806
|
c = new Date(n);
|
|
2807
2807
|
else {
|
|
2808
2808
|
for (var y = void 0, A = [], T = 0, j = 0, E = ""; T < q.length; T++) {
|
|
@@ -2893,7 +2893,7 @@ function Nl(t, r) {
|
|
|
2893
2893
|
config: He(He({}, br), Pe.defaultConfig),
|
|
2894
2894
|
l10n: Qr
|
|
2895
2895
|
};
|
|
2896
|
-
e.parseDate = Ms({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = A, e._setHoursFromDate = q, e._positionCalendar = li, e.changeMonth =
|
|
2896
|
+
e.parseDate = Ms({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = A, e._setHoursFromDate = q, e._positionCalendar = li, e.changeMonth = oe, e.changeYear = ct, e.clear = Ye, e.close = Te, e.onMouseOver = At, e._createElement = be, e.createDay = G, e.destroy = $e, e.isEnabled = it, e.jumpToDate = E, e.updateValue = kt, e.open = uo, e.redraw = an, e.set = Fo, e.setDate = qo, e.toggle = po;
|
|
2897
2897
|
function i() {
|
|
2898
2898
|
e.utils = {
|
|
2899
2899
|
getDaysInMonth: function(V, F) {
|
|
@@ -2949,8 +2949,8 @@ function Nl(t, r) {
|
|
|
2949
2949
|
e.amPM !== void 0 && (V = l(V, e.amPM.textContent));
|
|
2950
2950
|
var M = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && at(e.latestSelectedDateObj, e.config.minDate, !0) === 0, U = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && at(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
|
|
2951
2951
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
2952
|
-
var Q = fs(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), pe = fs(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()),
|
|
2953
|
-
if (
|
|
2952
|
+
var Q = fs(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), pe = fs(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), de = fs(V, F, C);
|
|
2953
|
+
if (de > pe && de < Q) {
|
|
2954
2954
|
var ge = Pl(Q);
|
|
2955
2955
|
V = ge[0], F = ge[1], C = ge[2];
|
|
2956
2956
|
}
|
|
@@ -2964,14 +2964,14 @@ function Nl(t, r) {
|
|
|
2964
2964
|
V = Math.max(V, qe.getHours()), V === qe.getHours() && F < qe.getMinutes() && (F = qe.getMinutes()), F === qe.getMinutes() && (C = Math.max(C, qe.getSeconds()));
|
|
2965
2965
|
}
|
|
2966
2966
|
}
|
|
2967
|
-
|
|
2967
|
+
X(V, F, C);
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
2970
2970
|
function q(V) {
|
|
2971
2971
|
var F = V || e.latestSelectedDateObj;
|
|
2972
|
-
F && F instanceof Date &&
|
|
2972
|
+
F && F instanceof Date && X(F.getHours(), F.getMinutes(), F.getSeconds());
|
|
2973
2973
|
}
|
|
2974
|
-
function
|
|
2974
|
+
function X(V, F, C) {
|
|
2975
2975
|
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(V % 24, F, C || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Qe(e.config.time_24hr ? V : (12 + V) % 12 + 12 * Ft(V % 12 === 0)), e.minuteElement.value = Qe(F), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ft(V >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Qe(C)));
|
|
2976
2976
|
}
|
|
2977
2977
|
function y(V) {
|
|
@@ -3040,7 +3040,7 @@ function Nl(t, r) {
|
|
|
3040
3040
|
function P() {
|
|
3041
3041
|
var V = window.document.createDocumentFragment();
|
|
3042
3042
|
if (e.calendarContainer = be("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
|
|
3043
|
-
if (V.appendChild(
|
|
3043
|
+
if (V.appendChild(p()), e.innerContainer = be("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
|
|
3044
3044
|
var F = J(), C = F.weekWrapper, M = F.weekNumbers;
|
|
3045
3045
|
e.innerContainer.appendChild(C), e.weekNumbers = M, e.weekWrapper = C;
|
|
3046
3046
|
}
|
|
@@ -3063,15 +3063,15 @@ function Nl(t, r) {
|
|
|
3063
3063
|
}
|
|
3064
3064
|
function ie(V) {
|
|
3065
3065
|
for (var F = V > 0 ? 0 : e.config.showMonths - 1, C = V > 0 ? e.config.showMonths : -1, M = F; M != C; M += V)
|
|
3066
|
-
for (var U = e.daysContainer.children[M], Q = V > 0 ? 0 : U.children.length - 1, pe = V > 0 ? U.children.length : -1,
|
|
3067
|
-
var ge = U.children[
|
|
3066
|
+
for (var U = e.daysContainer.children[M], Q = V > 0 ? 0 : U.children.length - 1, pe = V > 0 ? U.children.length : -1, de = Q; de != pe; de += V) {
|
|
3067
|
+
var ge = U.children[de];
|
|
3068
3068
|
if (ge.className.indexOf("hidden") === -1 && it(ge.dateObj))
|
|
3069
3069
|
return ge;
|
|
3070
3070
|
}
|
|
3071
3071
|
}
|
|
3072
3072
|
function le(V, F) {
|
|
3073
3073
|
for (var C = V.className.indexOf("Month") === -1 ? V.dateObj.getMonth() : e.currentMonth, M = F > 0 ? e.config.showMonths : -1, U = F > 0 ? 1 : -1, Q = C - e.currentMonth; Q != M; Q += U)
|
|
3074
|
-
for (var pe = e.daysContainer.children[Q],
|
|
3074
|
+
for (var pe = e.daysContainer.children[Q], de = C - e.currentMonth === Q ? V.$i + F : F < 0 ? pe.children.length - 1 : 0, ge = pe.children.length, ne = de; ne >= 0 && ne < ge && ne != (F > 0 ? ge : -1); ne += U) {
|
|
3075
3075
|
var qe = pe.children[ne];
|
|
3076
3076
|
if (qe.className.indexOf("hidden") === -1 && it(qe.dateObj) && Math.abs(V.$i - ne) >= Math.abs(F))
|
|
3077
3077
|
return re(qe);
|
|
@@ -3083,8 +3083,8 @@ function Nl(t, r) {
|
|
|
3083
3083
|
U === void 0 ? e._input.focus() : M ? le(U, F) : re(U);
|
|
3084
3084
|
}
|
|
3085
3085
|
function K(V, F) {
|
|
3086
|
-
for (var C = (new Date(V, F, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, M = e.utils.getDaysInMonth((F - 1 + 12) % 12, V), U = e.utils.getDaysInMonth(F, V), Q = window.document.createDocumentFragment(), pe = e.config.showMonths > 1,
|
|
3087
|
-
Q.appendChild(G("flatpickr-day " +
|
|
3086
|
+
for (var C = (new Date(V, F, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, M = e.utils.getDaysInMonth((F - 1 + 12) % 12, V), U = e.utils.getDaysInMonth(F, V), Q = window.document.createDocumentFragment(), pe = e.config.showMonths > 1, de = pe ? "prevMonthDay hidden" : "prevMonthDay", ge = pe ? "nextMonthDay hidden" : "nextMonthDay", ne = M + 1 - C, qe = 0; ne <= M; ne++, qe++)
|
|
3087
|
+
Q.appendChild(G("flatpickr-day " + de, new Date(V, F - 1, ne), ne, qe));
|
|
3088
3088
|
for (ne = 1; ne <= U; ne++, qe++)
|
|
3089
3089
|
Q.appendChild(G("flatpickr-day", new Date(V, F, ne), ne, qe));
|
|
3090
3090
|
for (var Ke = U + 1; Ke <= 42 - C && (e.config.showMonths === 1 || qe % 7 !== 0); Ke++, qe++)
|
|
@@ -3118,7 +3118,7 @@ function Nl(t, r) {
|
|
|
3118
3118
|
function Y() {
|
|
3119
3119
|
var V = be("div", "flatpickr-month"), F = window.document.createDocumentFragment(), C;
|
|
3120
3120
|
e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? C = be("span", "cur-month") : (e.monthsDropdownContainer = be("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), A(e.monthsDropdownContainer, "change", function(pe) {
|
|
3121
|
-
var
|
|
3121
|
+
var de = nt(pe), ge = parseInt(de.value, 10);
|
|
3122
3122
|
e.changeMonth(ge - e.currentMonth), Se("onMonthChange");
|
|
3123
3123
|
}), f(), C = e.monthsDropdownContainer);
|
|
3124
3124
|
var M = qi("cur-year", { tabindex: "-1" }), U = M.getElementsByTagName("input")[0];
|
|
@@ -3138,7 +3138,7 @@ function Nl(t, r) {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
e.monthNav.appendChild(e.nextMonthNav);
|
|
3140
3140
|
}
|
|
3141
|
-
function
|
|
3141
|
+
function p() {
|
|
3142
3142
|
return e.monthNav = be("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = be("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = be("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, h(), Object.defineProperty(e, "_hidePrevMonthArrow", {
|
|
3143
3143
|
get: function() {
|
|
3144
3144
|
return e.__hidePrevMonthArrow;
|
|
@@ -3203,7 +3203,7 @@ function Nl(t, r) {
|
|
|
3203
3203
|
weekNumbers: F
|
|
3204
3204
|
};
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3206
|
+
function oe(V, F) {
|
|
3207
3207
|
F === void 0 && (F = !0);
|
|
3208
3208
|
var C = F ? V : V - e.currentMonth;
|
|
3209
3209
|
C < 0 && e._hidePrevMonthArrow === !0 || C > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += C, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, Se("onYearChange"), f()), S(), Se("onMonthChange"), ci());
|
|
@@ -3211,7 +3211,7 @@ function Nl(t, r) {
|
|
|
3211
3211
|
function Ye(V, F) {
|
|
3212
3212
|
if (V === void 0 && (V = !0), F === void 0 && (F = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, F === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
|
|
3213
3213
|
var C = Fs(e.config), M = C.hours, U = C.minutes, Q = C.seconds;
|
|
3214
|
-
|
|
3214
|
+
X(M, U, Q);
|
|
3215
3215
|
}
|
|
3216
3216
|
e.redraw(), V && Se("onChange");
|
|
3217
3217
|
}
|
|
@@ -3298,15 +3298,15 @@ function Nl(t, r) {
|
|
|
3298
3298
|
return !0;
|
|
3299
3299
|
if (M === void 0)
|
|
3300
3300
|
return !1;
|
|
3301
|
-
for (var U = !!e.config.enable, Q = (C = e.config.enable) !== null && C !== void 0 ? C : e.config.disable, pe = 0,
|
|
3302
|
-
if (
|
|
3301
|
+
for (var U = !!e.config.enable, Q = (C = e.config.enable) !== null && C !== void 0 ? C : e.config.disable, pe = 0, de = void 0; pe < Q.length; pe++) {
|
|
3302
|
+
if (de = Q[pe], typeof de == "function" && de(M))
|
|
3303
3303
|
return U;
|
|
3304
|
-
if (
|
|
3304
|
+
if (de instanceof Date && M !== void 0 && de.getTime() === M.getTime())
|
|
3305
3305
|
return U;
|
|
3306
|
-
if (typeof
|
|
3307
|
-
var ge = e.parseDate(
|
|
3306
|
+
if (typeof de == "string") {
|
|
3307
|
+
var ge = e.parseDate(de, void 0, !0);
|
|
3308
3308
|
return ge && ge.getTime() === M.getTime() ? U : !U;
|
|
3309
|
-
} else if (typeof
|
|
3309
|
+
} else if (typeof de == "object" && M !== void 0 && de.from && de.to && M.getTime() >= de.from.getTime() && M.getTime() <= de.to.getTime())
|
|
3310
3310
|
return U;
|
|
3311
3311
|
}
|
|
3312
3312
|
return !U;
|
|
@@ -3341,10 +3341,10 @@ function Nl(t, r) {
|
|
|
3341
3341
|
case 39:
|
|
3342
3342
|
if (!pe && !C) {
|
|
3343
3343
|
V.preventDefault();
|
|
3344
|
-
var
|
|
3345
|
-
if (e.daysContainer !== void 0 && (M === !1 ||
|
|
3344
|
+
var de = n();
|
|
3345
|
+
if (e.daysContainer !== void 0 && (M === !1 || de && Vt(de))) {
|
|
3346
3346
|
var ge = V.keyCode === 39 ? 1 : -1;
|
|
3347
|
-
V.ctrlKey ? (V.stopPropagation(),
|
|
3347
|
+
V.ctrlKey ? (V.stopPropagation(), oe(ge), te(ie(1), 0)) : te(void 0, ge);
|
|
3348
3348
|
}
|
|
3349
3349
|
} else
|
|
3350
3350
|
e.hourElement && e.hourElement.focus();
|
|
@@ -3389,11 +3389,11 @@ function Nl(t, r) {
|
|
|
3389
3389
|
}
|
|
3390
3390
|
function At(V, F) {
|
|
3391
3391
|
if (F === void 0 && (F = "flatpickr-day"), !(e.selectedDates.length !== 1 || V && (!V.classList.contains(F) || V.classList.contains("flatpickr-disabled")))) {
|
|
3392
|
-
for (var C = V ? V.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), M = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), U = Math.min(C, e.selectedDates[0].getTime()), Q = Math.max(C, e.selectedDates[0].getTime()), pe = !1,
|
|
3393
|
-
it(new Date(ne), !0) || (pe = pe || ne > U && ne < Q, ne < M && (!
|
|
3392
|
+
for (var C = V ? V.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), M = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), U = Math.min(C, e.selectedDates[0].getTime()), Q = Math.max(C, e.selectedDates[0].getTime()), pe = !1, de = 0, ge = 0, ne = U; ne < Q; ne += Bl.DAY)
|
|
3393
|
+
it(new Date(ne), !0) || (pe = pe || ne > U && ne < Q, ne < M && (!de || ne > de) ? de = ne : ne > M && (!ge || ne < ge) && (ge = ne));
|
|
3394
3394
|
var qe = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + F));
|
|
3395
3395
|
qe.forEach(function(Ke) {
|
|
3396
|
-
var ht = Ke.dateObj, st = ht.getTime(), Tr =
|
|
3396
|
+
var ht = Ke.dateObj, st = ht.getTime(), Tr = de > 0 && st < de || ge > 0 && st > ge;
|
|
3397
3397
|
if (Tr) {
|
|
3398
3398
|
Ke.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(gr) {
|
|
3399
3399
|
Ke.classList.remove(gr);
|
|
@@ -3403,7 +3403,7 @@ function Nl(t, r) {
|
|
|
3403
3403
|
return;
|
|
3404
3404
|
["startRange", "inRange", "endRange", "notAllowed"].forEach(function(gr) {
|
|
3405
3405
|
Ke.classList.remove(gr);
|
|
3406
|
-
}), V !== void 0 && (V.classList.add(C <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), M < C && st === M ? Ke.classList.add("startRange") : M > C && st === M && Ke.classList.add("endRange"), st >=
|
|
3406
|
+
}), V !== void 0 && (V.classList.add(C <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), M < C && st === M ? Ke.classList.add("startRange") : M > C && st === M && Ke.classList.add("endRange"), st >= de && (ge === 0 || st <= ge) && $l(st, M, C) && Ke.classList.add("inRange"));
|
|
3407
3407
|
});
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
@@ -3502,15 +3502,15 @@ function Nl(t, r) {
|
|
|
3502
3502
|
},
|
|
3503
3503
|
set: pe("max")
|
|
3504
3504
|
}), F.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, C, F);
|
|
3505
|
-
for (var
|
|
3506
|
-
e.config[V[
|
|
3505
|
+
for (var de = 0; de < V.length; de++)
|
|
3506
|
+
e.config[V[de]] = e.config[V[de]] === !0 || e.config[V[de]] === "true";
|
|
3507
3507
|
us.filter(function(qe) {
|
|
3508
3508
|
return e.config[qe] !== void 0;
|
|
3509
3509
|
}).forEach(function(qe) {
|
|
3510
3510
|
e.config[qe] = cs(e.config[qe] || []).map(a);
|
|
3511
3511
|
}), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
3512
|
-
for (var
|
|
3513
|
-
var ge = e.config.plugins[
|
|
3512
|
+
for (var de = 0; de < e.config.plugins.length; de++) {
|
|
3513
|
+
var ge = e.config.plugins[de](e) || {};
|
|
3514
3514
|
for (var ne in ge)
|
|
3515
3515
|
us.indexOf(ne) > -1 ? e.config[ne] = cs(ge[ne]).map(a).concat(e.config[ne]) : typeof F[ne] > "u" && (e.config[ne] = ge[ne]);
|
|
3516
3516
|
}
|
|
@@ -3531,11 +3531,11 @@ function Nl(t, r) {
|
|
|
3531
3531
|
Se("onPreCalendarPosition");
|
|
3532
3532
|
var F = V || e._positionElement, C = Array.prototype.reduce.call(e.calendarContainer.children, function(wo, _o) {
|
|
3533
3533
|
return wo + _o.offsetHeight;
|
|
3534
|
-
}, 0), M = e.calendarContainer.offsetWidth, U = e.config.position.split(" "), Q = U[0], pe = U.length > 1 ? U[1] : null,
|
|
3534
|
+
}, 0), M = e.calendarContainer.offsetWidth, U = e.config.position.split(" "), Q = U[0], pe = U.length > 1 ? U[1] : null, de = F.getBoundingClientRect(), ge = window.innerHeight - de.bottom, ne = Q === "above" || Q !== "below" && ge < C && de.top > C, qe = window.pageYOffset + de.top + (ne ? -C - 2 : F.offsetHeight + 2);
|
|
3535
3535
|
if (Ge(e.calendarContainer, "arrowTop", !ne), Ge(e.calendarContainer, "arrowBottom", ne), !e.config.inline) {
|
|
3536
|
-
var Ke = window.pageXOffset +
|
|
3537
|
-
pe === "center" ? (Ke -= (M -
|
|
3538
|
-
var Tr = window.document.body.offsetWidth - (window.pageXOffset +
|
|
3536
|
+
var Ke = window.pageXOffset + de.left, ht = !1, st = !1;
|
|
3537
|
+
pe === "center" ? (Ke -= (M - de.width) / 2, ht = !0) : pe === "right" && (Ke -= M - de.width, st = !0), Ge(e.calendarContainer, "arrowLeft", !ht && !st), Ge(e.calendarContainer, "arrowCenter", ht), Ge(e.calendarContainer, "arrowRight", st);
|
|
3538
|
+
var Tr = window.document.body.offsetWidth - (window.pageXOffset + de.right), gr = Ke + M > window.document.body.offsetWidth, vo = Tr + M > window.document.body.offsetWidth;
|
|
3539
3539
|
if (Ge(e.calendarContainer, "rightMost", gr), !e.config.static)
|
|
3540
3540
|
if (e.calendarContainer.style.top = qe + "px", !gr)
|
|
3541
3541
|
e.calendarContainer.style.left = Ke + "px", e.calendarContainer.style.right = "auto";
|
|
@@ -3545,7 +3545,7 @@ function Nl(t, r) {
|
|
|
3545
3545
|
var as = Vo();
|
|
3546
3546
|
if (as === void 0)
|
|
3547
3547
|
return;
|
|
3548
|
-
var xo = window.document.body.offsetWidth, bo = Math.max(0, xo / 2 - M / 2), yo = ".flatpickr-calendar.centerMost:before", Co = ".flatpickr-calendar.centerMost:after", Ko = as.cssRules.length, Io = "{left:" +
|
|
3548
|
+
var xo = window.document.body.offsetWidth, bo = Math.max(0, xo / 2 - M / 2), yo = ".flatpickr-calendar.centerMost:before", Co = ".flatpickr-calendar.centerMost:after", Ko = as.cssRules.length, Io = "{left:" + de.left + "px;right:auto;}";
|
|
3549
3549
|
Ge(e.calendarContainer, "rightMost", !1), Ge(e.calendarContainer, "centerMost", !0), as.insertRule(yo + "," + Co + Io, Ko), e.calendarContainer.style.left = bo + "px", e.calendarContainer.style.right = "auto";
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
@@ -3593,8 +3593,8 @@ function Nl(t, r) {
|
|
|
3593
3593
|
return qe.getTime() - Ke.getTime();
|
|
3594
3594
|
}));
|
|
3595
3595
|
if (u(), Q) {
|
|
3596
|
-
var
|
|
3597
|
-
e.currentYear = U.getFullYear(), e.currentMonth = U.getMonth(),
|
|
3596
|
+
var de = e.currentYear !== U.getFullYear();
|
|
3597
|
+
e.currentYear = U.getFullYear(), e.currentMonth = U.getMonth(), de && (Se("onYearChange"), f()), Se("onMonthChange");
|
|
3598
3598
|
}
|
|
3599
3599
|
if (ci(), S(), kt(), !Q && e.config.mode !== "range" && e.config.showMonths === 1 ? re(M) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
|
|
3600
3600
|
var ge = e.config.mode === "single" && !e.config.enableTime, ne = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
@@ -3750,16 +3750,16 @@ function Nl(t, r) {
|
|
|
3750
3750
|
}
|
|
3751
3751
|
function Ao(V) {
|
|
3752
3752
|
var F = nt(V), C = e.prevMonthNav.contains(F), M = e.nextMonthNav.contains(F);
|
|
3753
|
-
C || M ?
|
|
3753
|
+
C || M ? oe(C ? -1 : 1) : e.yearElements.indexOf(F) >= 0 ? F.select() : F.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : F.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
|
|
3754
3754
|
}
|
|
3755
3755
|
function ho(V) {
|
|
3756
3756
|
V.preventDefault();
|
|
3757
3757
|
var F = V.type === "keydown", C = nt(V), M = C;
|
|
3758
3758
|
e.amPM !== void 0 && C === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ft(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
3759
|
-
var U = parseFloat(M.getAttribute("min")), Q = parseFloat(M.getAttribute("max")), pe = parseFloat(M.getAttribute("step")),
|
|
3759
|
+
var U = parseFloat(M.getAttribute("min")), Q = parseFloat(M.getAttribute("max")), pe = parseFloat(M.getAttribute("step")), de = parseInt(M.value, 10), ge = V.delta || (F ? V.which === 38 ? 1 : -1 : 0), ne = de + pe * ge;
|
|
3760
3760
|
if (typeof M.value < "u" && M.value.length === 2) {
|
|
3761
3761
|
var qe = M === e.hourElement, Ke = M === e.minuteElement;
|
|
3762
|
-
ne < U ? (ne = Q + ne + Ft(!qe) + (Ft(qe) && Ft(!e.amPM)), Ke && _(void 0, -1, e.hourElement)) : ne > Q && (ne = M === e.hourElement ? ne - Q - Ft(!e.amPM) : U, Ke && _(void 0, 1, e.hourElement)), e.amPM && qe && (pe === 1 ? ne +
|
|
3762
|
+
ne < U ? (ne = Q + ne + Ft(!qe) + (Ft(qe) && Ft(!e.amPM)), Ke && _(void 0, -1, e.hourElement)) : ne > Q && (ne = M === e.hourElement ? ne - Q - Ft(!e.amPM) : U, Ke && _(void 0, 1, e.hourElement)), e.amPM && qe && (pe === 1 ? ne + de === 23 : Math.abs(ne - de) > pe) && (e.amPM.textContent = e.l10n.amPM[Ft(e.amPM.textContent === e.l10n.amPM[0])]), M.value = Qe(ne);
|
|
3763
3763
|
}
|
|
3764
3764
|
}
|
|
3765
3765
|
return s(), e;
|
|
@@ -4249,7 +4249,7 @@ const Jl = {
|
|
|
4249
4249
|
},
|
|
4250
4250
|
emits: ["change", "blur", "update:modelValue", "onOpen", "onClose"],
|
|
4251
4251
|
setup(t, { emit: r }) {
|
|
4252
|
-
const e = t, i = N(void 0), s = N(!1), n = (v) => v !== null && typeof v.fp < "u", a = N(null), o = N(null), d = N(!1), l = N(""), c = N(null), u = N(!1), { t: q } = se(),
|
|
4252
|
+
const e = t, i = N(void 0), s = N(!1), n = (v) => v !== null && typeof v.fp < "u", a = N(null), o = N(null), d = N(!1), l = N(""), c = N(null), u = N(!1), { t: q } = se(), X = (v) => v.replace("Z", "000Z"), y = (v) => {
|
|
4253
4253
|
v !== e.modelValue && (r("update:modelValue", v), r("change"));
|
|
4254
4254
|
}, A = (v) => {
|
|
4255
4255
|
if (v === null || k(v)) {
|
|
@@ -4257,10 +4257,10 @@ const Jl = {
|
|
|
4257
4257
|
return;
|
|
4258
4258
|
}
|
|
4259
4259
|
if (v && v.date) {
|
|
4260
|
-
y(
|
|
4260
|
+
y(X(v.date + ""));
|
|
4261
4261
|
return;
|
|
4262
4262
|
}
|
|
4263
|
-
y(
|
|
4263
|
+
y(X(v + ""));
|
|
4264
4264
|
}, T = () => {
|
|
4265
4265
|
B(), d.value = !0, r("onOpen");
|
|
4266
4266
|
}, j = () => {
|
|
@@ -4268,15 +4268,15 @@ const Jl = {
|
|
|
4268
4268
|
}, E = () => {
|
|
4269
4269
|
n(a.value) && (l.value = a.value.fpInput().value);
|
|
4270
4270
|
}, B = () => {
|
|
4271
|
-
var J,
|
|
4271
|
+
var J, oe, Ye;
|
|
4272
4272
|
if (!n(a.value))
|
|
4273
4273
|
return;
|
|
4274
4274
|
const v = l.value.replace(/[^\s\d.:]/g, ""), R = a.value.fp.parseDate(v, P.value);
|
|
4275
4275
|
if (k(R)) {
|
|
4276
|
-
|
|
4276
|
+
ce(e.defaultValue) ? (J = a.value) == null || J.fp.clear(!0) : (oe = a.value) == null || oe.fp.setDate(e.defaultValue, !0), p.value.textFieldValue.$touch(), r("blur");
|
|
4277
4277
|
return;
|
|
4278
4278
|
}
|
|
4279
|
-
(Ye = a.value) == null || Ye.fp.setDate(R, !0),
|
|
4279
|
+
(Ye = a.value) == null || Ye.fp.setDate(R, !0), p.value.textFieldValue.$touch(), r("blur");
|
|
4280
4280
|
}, _ = () => {
|
|
4281
4281
|
c.value = e.defaultValue, r("update:modelValue", b(e.defaultValue));
|
|
4282
4282
|
}, P = w(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), G = w(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), re = w(() => e.enable && e.enable.length > 0 ? e.enable : [
|
|
@@ -4284,7 +4284,7 @@ const Jl = {
|
|
|
4284
4284
|
from: new Date(1901, 1),
|
|
4285
4285
|
to: new Date(2099, 12)
|
|
4286
4286
|
}
|
|
4287
|
-
]), ie = w(() =>
|
|
4287
|
+
]), ie = w(() => ce(e.defaultValue) ? void 0 : e.defaultValue), le = w(() => e.hideSetToNow || k(i.value) ? [] : [
|
|
4288
4288
|
i.value({
|
|
4289
4289
|
button: [
|
|
4290
4290
|
{
|
|
@@ -4340,12 +4340,12 @@ const Jl = {
|
|
|
4340
4340
|
textFieldValue: {
|
|
4341
4341
|
required: Y(e.required)
|
|
4342
4342
|
}
|
|
4343
|
-
})),
|
|
4343
|
+
})), p = Ho(h, { textFieldValue: l }), I = w(() => k(e.errorMessages) ? p.value.textFieldValue.$errors.length ? [p.value.textFieldValue.$errors.map((v) => v.$message).join(" ")] : [] : e.errorMessages);
|
|
4344
4344
|
return ke(
|
|
4345
4345
|
() => e.modelValue,
|
|
4346
4346
|
(v, R) => {
|
|
4347
4347
|
if (v !== R) {
|
|
4348
|
-
if ((
|
|
4348
|
+
if ((ce(v) || k(v)) && !ce(e.defaultValue)) {
|
|
4349
4349
|
c.value = e.defaultValue;
|
|
4350
4350
|
return;
|
|
4351
4351
|
}
|
|
@@ -4356,11 +4356,11 @@ const Jl = {
|
|
|
4356
4356
|
), ke(
|
|
4357
4357
|
a,
|
|
4358
4358
|
(v, R) => {
|
|
4359
|
-
u.value !== !0 && v !== R && (
|
|
4359
|
+
u.value !== !0 && v !== R && (ce(v) || k(v) || (E(), u.value = !0));
|
|
4360
4360
|
},
|
|
4361
4361
|
{ immediate: !0 }
|
|
4362
4362
|
), wr(() => {
|
|
4363
|
-
import("./shortcut-buttons-flatpickr-
|
|
4363
|
+
import("./shortcut-buttons-flatpickr-64ec68b0.js").then((v) => v.s).then((v) => {
|
|
4364
4364
|
i.value = v.default, s.value = !0;
|
|
4365
4365
|
});
|
|
4366
4366
|
}), (v, R) => (x(), $(si, {
|
|
@@ -4376,7 +4376,7 @@ const Jl = {
|
|
|
4376
4376
|
onKeyup: ji(B, ["enter"])
|
|
4377
4377
|
}, Ir({
|
|
4378
4378
|
"append-inner": g(() => [
|
|
4379
|
-
v.clearable && v.defaultValue !== v.modelValue ? (x(), $(
|
|
4379
|
+
v.clearable && v.defaultValue !== v.modelValue ? (x(), $(ue, {
|
|
4380
4380
|
key: 0,
|
|
4381
4381
|
class: "a-datetime-picker__clearable",
|
|
4382
4382
|
icon: "mdi-close-circle",
|
|
@@ -4395,7 +4395,7 @@ const Jl = {
|
|
|
4395
4395
|
onOnOpen: T,
|
|
4396
4396
|
onOnChange: E
|
|
4397
4397
|
}, null, 8, ["config", "disabled", "model-value"])) : ee("", !0),
|
|
4398
|
-
|
|
4398
|
+
m(ue, {
|
|
4399
4399
|
class: "a-datetime-picker__calendar",
|
|
4400
4400
|
icon: "mdi-calendar",
|
|
4401
4401
|
onClick: Z(f, ["stop"])
|
|
@@ -4440,14 +4440,14 @@ const Js = /* @__PURE__ */ ir(Zl, [["__scopeId", "data-v-09bb56fe"]]), sh = /* @
|
|
|
4440
4440
|
r("blur", k(e.modelValue) ? null : e.modelValue), (u = e.v) == null || u.$touch();
|
|
4441
4441
|
}, d = w(() => {
|
|
4442
4442
|
var u, q;
|
|
4443
|
-
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((
|
|
4443
|
+
return k(e.errorMessage) ? (q = (u = e.v) == null ? void 0 : u.$errors) != null && q.length ? [e.v.$errors.map((X) => X.$message).join(" ")] : [] : [e.errorMessage];
|
|
4444
4444
|
}), l = w(() => {
|
|
4445
|
-
var q,
|
|
4445
|
+
var q, X;
|
|
4446
4446
|
if (!k(e.label))
|
|
4447
4447
|
return e.label;
|
|
4448
4448
|
if (k(s) || k(n) || k((q = e.v) == null ? void 0 : q.$path))
|
|
4449
4449
|
return "";
|
|
4450
|
-
const { end: u } = Pt((
|
|
4450
|
+
const { end: u } = Pt((X = e.v) == null ? void 0 : X.$path, ".");
|
|
4451
4451
|
return i(s + "." + n + ".model." + u);
|
|
4452
4452
|
}), c = w(() => {
|
|
4453
4453
|
var u, q;
|
|
@@ -4455,7 +4455,7 @@ const Js = /* @__PURE__ */ ir(Zl, [["__scopeId", "data-v-09bb56fe"]]), sh = /* @
|
|
|
4455
4455
|
});
|
|
4456
4456
|
return (u, q) => (x(), $(Js, {
|
|
4457
4457
|
modelValue: a.value,
|
|
4458
|
-
"onUpdate:modelValue": q[0] || (q[0] = (
|
|
4458
|
+
"onUpdate:modelValue": q[0] || (q[0] = (X) => a.value = X),
|
|
4459
4459
|
"data-cy": u.dataCy,
|
|
4460
4460
|
"error-messages": d.value,
|
|
4461
4461
|
required: c.value,
|
|
@@ -4488,22 +4488,22 @@ const Js = /* @__PURE__ */ ir(Zl, [["__scopeId", "data-v-09bb56fe"]]), sh = /* @
|
|
|
4488
4488
|
var q;
|
|
4489
4489
|
r("blur", k(e.modelValue) ? null : e.modelValue), (q = e.v) == null || q.$touch();
|
|
4490
4490
|
}, l = w(() => {
|
|
4491
|
-
var q,
|
|
4492
|
-
return k(e.errorMessage) ? (
|
|
4491
|
+
var q, X;
|
|
4492
|
+
return k(e.errorMessage) ? (X = (q = e.v) == null ? void 0 : q.$errors) != null && X.length ? [e.v.$errors.map((y) => y.$message).join(" ")] : [] : [e.errorMessage];
|
|
4493
4493
|
}), c = w(() => {
|
|
4494
|
-
var
|
|
4494
|
+
var X, y;
|
|
4495
4495
|
if (!k(e.label))
|
|
4496
4496
|
return e.label;
|
|
4497
|
-
if (k(s) || k(n) || k((
|
|
4497
|
+
if (k(s) || k(n) || k((X = e.v) == null ? void 0 : X.$path))
|
|
4498
4498
|
return "";
|
|
4499
4499
|
const { end: q } = Pt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
4500
4500
|
return i(s + "." + n + ".model." + q);
|
|
4501
4501
|
});
|
|
4502
4502
|
ke(
|
|
4503
4503
|
o,
|
|
4504
|
-
(q,
|
|
4505
|
-
if (q !==
|
|
4506
|
-
if (
|
|
4504
|
+
(q, X) => {
|
|
4505
|
+
if (q !== X) {
|
|
4506
|
+
if (ce(q) || k(q)) {
|
|
4507
4507
|
a.value = !1;
|
|
4508
4508
|
return;
|
|
4509
4509
|
}
|
|
@@ -4527,19 +4527,19 @@ const Js = /* @__PURE__ */ ir(Zl, [["__scopeId", "data-v-09bb56fe"]]), sh = /* @
|
|
|
4527
4527
|
}
|
|
4528
4528
|
o.value = e.defaultActivationValue;
|
|
4529
4529
|
};
|
|
4530
|
-
return (q,
|
|
4531
|
-
|
|
4530
|
+
return (q, X) => (x(), z(_e, null, [
|
|
4531
|
+
m(ia, {
|
|
4532
4532
|
modelValue: a.value,
|
|
4533
|
-
"onUpdate:modelValue":
|
|
4533
|
+
"onUpdate:modelValue": X[0] || (X[0] = (y) => a.value = y),
|
|
4534
4534
|
label: c.value,
|
|
4535
|
-
onClick:
|
|
4535
|
+
onClick: X[1] || (X[1] = Z((y) => u(a.value), ["stop"]))
|
|
4536
4536
|
}, null, 8, ["modelValue", "label"]),
|
|
4537
|
-
|
|
4537
|
+
m(ta, null, {
|
|
4538
4538
|
default: g(() => [
|
|
4539
4539
|
ei(O("div", null, [
|
|
4540
|
-
|
|
4540
|
+
m(Js, {
|
|
4541
4541
|
modelValue: o.value,
|
|
4542
|
-
"onUpdate:modelValue":
|
|
4542
|
+
"onUpdate:modelValue": X[2] || (X[2] = (y) => o.value = y),
|
|
4543
4543
|
"data-cy": q.dataCy,
|
|
4544
4544
|
"error-messages": l.value,
|
|
4545
4545
|
clearable: q.clearable,
|
|
@@ -4625,43 +4625,43 @@ const Ql = {
|
|
|
4625
4625
|
get() {
|
|
4626
4626
|
return e.modelValue;
|
|
4627
4627
|
},
|
|
4628
|
-
set(
|
|
4629
|
-
r("update:modelValue", xe(
|
|
4628
|
+
set(p) {
|
|
4629
|
+
r("update:modelValue", xe(p));
|
|
4630
4630
|
}
|
|
4631
4631
|
}), s = N(""), n = N(!1), a = N(void 0), { t: o } = se(), { innerFilter: d } = Ri(e), l = Ie(wt, void 0), c = Ie(_t, void 0), u = () => {
|
|
4632
|
-
var
|
|
4633
|
-
n.value = !0, r("blur", e.modelValue), (
|
|
4632
|
+
var p;
|
|
4633
|
+
n.value = !0, r("blur", e.modelValue), (p = e.v) == null || p.$touch();
|
|
4634
4634
|
}, q = w(() => {
|
|
4635
|
-
var
|
|
4636
|
-
return k(e.errorMessage) ? (I = (
|
|
4637
|
-
}),
|
|
4635
|
+
var p, I;
|
|
4636
|
+
return k(e.errorMessage) ? (I = (p = e.v) == null ? void 0 : p.$errors) != null && I.length ? e.v.$errors.map((v) => v.$message) : [] : [e.errorMessage];
|
|
4637
|
+
}), X = w(() => {
|
|
4638
4638
|
var I, v;
|
|
4639
4639
|
if (!k(e.label))
|
|
4640
4640
|
return e.label;
|
|
4641
4641
|
if (k(l) || k(c) || k((I = e.v) == null ? void 0 : I.$path))
|
|
4642
4642
|
return "";
|
|
4643
|
-
const { end:
|
|
4644
|
-
return o(l + "." + c + ".model." +
|
|
4643
|
+
const { end: p } = Pt((v = e.v) == null ? void 0 : v.$path, ".");
|
|
4644
|
+
return o(l + "." + c + ".model." + p);
|
|
4645
4645
|
}), y = w(() => {
|
|
4646
|
-
var
|
|
4647
|
-
return k(e.required) ? ((
|
|
4646
|
+
var p, I;
|
|
4647
|
+
return k(e.required) ? ((p = e.v) == null ? void 0 : p.required) && ((I = e.v) == null ? void 0 : I.required.$params.type) === "required" : e.required;
|
|
4648
4648
|
}), A = w(() => e.multiple !== !1), T = Sr(e.filterSortBy), j = N([]), E = N([]), B = w(() => {
|
|
4649
|
-
const
|
|
4649
|
+
const p = /* @__PURE__ */ new Map();
|
|
4650
4650
|
return E.value.forEach((I) => {
|
|
4651
|
-
|
|
4651
|
+
p.set(I.value, { value: I.value, title: I.title });
|
|
4652
4652
|
}), j.value.forEach((I) => {
|
|
4653
|
-
|
|
4654
|
-
}), Array.from(
|
|
4655
|
-
}), _ = N(!1), P = w(() => _.value ? !0 : e.loading), G = async (
|
|
4653
|
+
p.set(I.value, { value: I.value, title: I.title });
|
|
4654
|
+
}), Array.from(p, ([I, v]) => ({ value: I, title: v.title }));
|
|
4655
|
+
}), _ = N(!1), P = w(() => _.value ? !0 : e.loading), G = async (p) => {
|
|
4656
4656
|
_.value = !0;
|
|
4657
4657
|
const I = d.value[e.filterByField];
|
|
4658
|
-
I.model =
|
|
4659
|
-
}, re = (
|
|
4660
|
-
const I = B.value.filter((v) =>
|
|
4658
|
+
I.model = p, j.value = await e.fetchItems(T, d.value), _.value = !1;
|
|
4659
|
+
}, re = (p) => {
|
|
4660
|
+
const I = B.value.filter((v) => p.includes(v.value));
|
|
4661
4661
|
return [].concat(I);
|
|
4662
|
-
}, ie = async (
|
|
4662
|
+
}, ie = async (p) => {
|
|
4663
4663
|
let I = 1, v = [];
|
|
4664
|
-
return tt(
|
|
4664
|
+
return tt(p) ? (I = p.length, v = re(p)) : v = re([p]), E.value = v, v.length === I;
|
|
4665
4665
|
}, le = N(!1), te = () => {
|
|
4666
4666
|
clearTimeout(a.value), a.value = void 0;
|
|
4667
4667
|
}, K = async () => {
|
|
@@ -4671,8 +4671,8 @@ const Ql = {
|
|
|
4671
4671
|
}, f = w(() => {
|
|
4672
4672
|
if (!e.multiple && E.value[0])
|
|
4673
4673
|
return E.value[0].title;
|
|
4674
|
-
}), Y = (
|
|
4675
|
-
!e.multiple && !n.value &&
|
|
4674
|
+
}), Y = (p) => {
|
|
4675
|
+
!e.multiple && !n.value && p.length === 0 || f.value !== p && (s.value = p);
|
|
4676
4676
|
}, h = async () => {
|
|
4677
4677
|
if (j.value = await e.fetchItems(T, d.value), e.multiple) {
|
|
4678
4678
|
i.value = [];
|
|
@@ -4682,10 +4682,10 @@ const Ql = {
|
|
|
4682
4682
|
};
|
|
4683
4683
|
return ke(
|
|
4684
4684
|
i,
|
|
4685
|
-
async (
|
|
4686
|
-
if (
|
|
4685
|
+
async (p, I) => {
|
|
4686
|
+
if (p === I)
|
|
4687
4687
|
return;
|
|
4688
|
-
if (
|
|
4688
|
+
if (ce(p) || k(p) || tt(p) && p.length === 0) {
|
|
4689
4689
|
if (E.value = [], e.disableInitFetch || le.value === !0)
|
|
4690
4690
|
return;
|
|
4691
4691
|
a.value = setTimeout(() => {
|
|
@@ -4693,33 +4693,33 @@ const Ql = {
|
|
|
4693
4693
|
}, 3e3);
|
|
4694
4694
|
return;
|
|
4695
4695
|
}
|
|
4696
|
-
if (!await ie(
|
|
4697
|
-
if (tt(
|
|
4698
|
-
_.value = !0, E.value = await e.fetchItemsByIds(
|
|
4696
|
+
if (!await ie(p)) {
|
|
4697
|
+
if (tt(p)) {
|
|
4698
|
+
_.value = !0, E.value = await e.fetchItemsByIds(p), _.value = !1;
|
|
4699
4699
|
return;
|
|
4700
4700
|
}
|
|
4701
|
-
_.value = !0, E.value = await e.fetchItemsByIds([
|
|
4701
|
+
_.value = !0, E.value = await e.fetchItemsByIds([p]), _.value = !1;
|
|
4702
4702
|
}
|
|
4703
4703
|
},
|
|
4704
4704
|
{ immediate: !0 }
|
|
4705
4705
|
), Gs(
|
|
4706
4706
|
s,
|
|
4707
|
-
(
|
|
4708
|
-
|
|
4707
|
+
(p, I) => {
|
|
4708
|
+
p !== I && (G(p), r("searchChangeDebounced", p));
|
|
4709
4709
|
},
|
|
4710
4710
|
{ debounce: 300, maxWait: 1e3 }
|
|
4711
|
-
), ke(s, (
|
|
4712
|
-
|
|
4713
|
-
}), (
|
|
4711
|
+
), ke(s, (p, I) => {
|
|
4712
|
+
p !== I && r("searchChange", p);
|
|
4713
|
+
}), (p, I) => (x(), $(ni, {
|
|
4714
4714
|
modelValue: i.value,
|
|
4715
4715
|
"onUpdate:modelValue": I[0] || (I[0] = (v) => i.value = v),
|
|
4716
4716
|
items: B.value,
|
|
4717
4717
|
"no-filter": "",
|
|
4718
4718
|
multiple: A.value,
|
|
4719
|
-
clearable:
|
|
4719
|
+
clearable: p.clearable,
|
|
4720
4720
|
"error-messages": q.value,
|
|
4721
|
-
chips:
|
|
4722
|
-
"hide-details":
|
|
4721
|
+
chips: p.multiple,
|
|
4722
|
+
"hide-details": p.hideDetails,
|
|
4723
4723
|
loading: P.value,
|
|
4724
4724
|
"onUpdate:search": Y,
|
|
4725
4725
|
onBlur: u,
|
|
@@ -4727,10 +4727,10 @@ const Ql = {
|
|
|
4727
4727
|
"onClick:clear": h
|
|
4728
4728
|
}, {
|
|
4729
4729
|
label: g(() => [
|
|
4730
|
-
|
|
4730
|
+
p.hideLabel ? ee("", !0) : (x(), z("span", {
|
|
4731
4731
|
key: y.value + ""
|
|
4732
4732
|
}, [
|
|
4733
|
-
L(D(
|
|
4733
|
+
L(D(X.value) + " ", 1),
|
|
4734
4734
|
y.value ? (x(), z("span", Ql)) : ee("", !0)
|
|
4735
4735
|
]))
|
|
4736
4736
|
]),
|
|
@@ -4756,8 +4756,8 @@ const Ql = {
|
|
|
4756
4756
|
return e.label;
|
|
4757
4757
|
if (k(s) || k(n) || k((y = e.v) == null ? void 0 : y.$path))
|
|
4758
4758
|
return "";
|
|
4759
|
-
const { end:
|
|
4760
|
-
return i(s + "." + n + ".model." +
|
|
4759
|
+
const { end: X } = Pt((A = e.v) == null ? void 0 : A.$path, ".");
|
|
4760
|
+
return i(s + "." + n + ".model." + X);
|
|
4761
4761
|
}), o = N(!1), d = N(!1), l = N(""), c = w(() => e.modelValue), u = N(e.modelValue), q = async () => {
|
|
4762
4762
|
if (o.value)
|
|
4763
4763
|
return;
|
|
@@ -4766,22 +4766,22 @@ const Ql = {
|
|
|
4766
4766
|
r("update:modelValue", !y), u.value = !y, y || (d.value = !0), o.value = !1;
|
|
4767
4767
|
return;
|
|
4768
4768
|
}
|
|
4769
|
-
const
|
|
4770
|
-
r("update:modelValue",
|
|
4769
|
+
const X = await e.callbackToTrue();
|
|
4770
|
+
r("update:modelValue", X), u.value = X, X || (d.value = !0), o.value = !1;
|
|
4771
4771
|
};
|
|
4772
|
-
return ke(c, (
|
|
4773
|
-
|
|
4772
|
+
return ke(c, (X, y) => {
|
|
4773
|
+
X !== y && (u.value = X, d.value = !1);
|
|
4774
4774
|
}), wr(() => {
|
|
4775
4775
|
l.value = "remote-switch-" + Date.now();
|
|
4776
|
-
}), (
|
|
4777
|
-
|
|
4776
|
+
}), (X, y) => (x(), z("div", eu, [
|
|
4777
|
+
m(ia, {
|
|
4778
4778
|
id: l.value,
|
|
4779
4779
|
modelValue: u.value,
|
|
4780
4780
|
"onUpdate:modelValue": y[0] || (y[0] = (A) => u.value = A),
|
|
4781
4781
|
disabled: o.value,
|
|
4782
4782
|
onClick: Z(q, ["stop"])
|
|
4783
4783
|
}, null, 8, ["id", "modelValue", "disabled", "onClick"]),
|
|
4784
|
-
|
|
4784
|
+
X.hideLabel ? ee("", !0) : (x(), z("label", {
|
|
4785
4785
|
key: 0,
|
|
4786
4786
|
for: l.value,
|
|
4787
4787
|
class: "v-label v-label--clickable"
|
|
@@ -4807,8 +4807,8 @@ const Ql = {
|
|
|
4807
4807
|
return e.label;
|
|
4808
4808
|
if (k(s) || k(n) || k((y = e.v) == null ? void 0 : y.$path))
|
|
4809
4809
|
return "";
|
|
4810
|
-
const { end:
|
|
4811
|
-
return i(s + "." + n + ".model." +
|
|
4810
|
+
const { end: X } = Pt((A = e.v) == null ? void 0 : A.$path, ".");
|
|
4811
|
+
return i(s + "." + n + ".model." + X);
|
|
4812
4812
|
}), o = N(!1), d = N(!1), l = N(""), c = w(() => e.modelValue), u = N(e.modelValue), q = async () => {
|
|
4813
4813
|
if (o.value)
|
|
4814
4814
|
return;
|
|
@@ -4817,38 +4817,38 @@ const Ql = {
|
|
|
4817
4817
|
r("update:modelValue", !y), u.value = !y, y || (d.value = !0), o.value = !1;
|
|
4818
4818
|
return;
|
|
4819
4819
|
}
|
|
4820
|
-
const
|
|
4821
|
-
r("update:modelValue",
|
|
4820
|
+
const X = await e.callbackToTrue();
|
|
4821
|
+
r("update:modelValue", X), u.value = X, X || (d.value = !0), o.value = !1;
|
|
4822
4822
|
};
|
|
4823
|
-
return ke(c, (
|
|
4824
|
-
|
|
4823
|
+
return ke(c, (X, y) => {
|
|
4824
|
+
X !== y && (u.value = X, d.value = !1);
|
|
4825
4825
|
}), wr(() => {
|
|
4826
4826
|
l.value = "a-remote-switch-" + Date.now();
|
|
4827
|
-
}), (
|
|
4828
|
-
|
|
4827
|
+
}), (X, y) => (x(), z("div", ru, [
|
|
4828
|
+
m(ae, {
|
|
4829
4829
|
id: l.value,
|
|
4830
4830
|
icon: "",
|
|
4831
4831
|
class: "a-switch-fix-click",
|
|
4832
4832
|
color: "transparent",
|
|
4833
4833
|
ripple: !1,
|
|
4834
|
-
width:
|
|
4834
|
+
width: X.hideLabel ? 36 : void 0,
|
|
4835
4835
|
height: 36,
|
|
4836
4836
|
onClick: Z(q, ["stop"])
|
|
4837
4837
|
}, {
|
|
4838
4838
|
default: g(() => [
|
|
4839
|
-
|
|
4839
|
+
m(sd, {
|
|
4840
4840
|
modelValue: u.value,
|
|
4841
4841
|
"onUpdate:modelValue": y[0] || (y[0] = (A) => u.value = A),
|
|
4842
4842
|
loading: o.value,
|
|
4843
4843
|
disabled: o.value,
|
|
4844
|
-
"hide-details":
|
|
4844
|
+
"hide-details": X.hideDetails,
|
|
4845
4845
|
density: "compact",
|
|
4846
4846
|
onClick: Z(q, ["stop"])
|
|
4847
4847
|
}, Ir({ _: 2 }, [
|
|
4848
4848
|
d.value ? {
|
|
4849
4849
|
name: "append",
|
|
4850
4850
|
fn: g(() => [
|
|
4851
|
-
|
|
4851
|
+
m(ue, {
|
|
4852
4852
|
icon: "mdi-alert",
|
|
4853
4853
|
class: "ml-5 mt-1",
|
|
4854
4854
|
size: "x-small",
|
|
@@ -4861,7 +4861,7 @@ const Ql = {
|
|
|
4861
4861
|
]),
|
|
4862
4862
|
_: 1
|
|
4863
4863
|
}, 8, ["id", "width", "onClick"]),
|
|
4864
|
-
|
|
4864
|
+
X.hideLabel ? ee("", !0) : (x(), z("label", {
|
|
4865
4865
|
key: 0,
|
|
4866
4866
|
for: l.value,
|
|
4867
4867
|
class: "v-label v-label--clickable"
|
|
@@ -4900,23 +4900,23 @@ const su = { key: 0 }, nu = {
|
|
|
4900
4900
|
var q;
|
|
4901
4901
|
r("blur", e.modelValue), (q = e.v) == null || q.$touch();
|
|
4902
4902
|
}, d = w(() => {
|
|
4903
|
-
var q,
|
|
4904
|
-
return k(e.errorMessage) ? (
|
|
4903
|
+
var q, X;
|
|
4904
|
+
return k(e.errorMessage) ? (X = (q = e.v) == null ? void 0 : q.$errors) != null && X.length ? e.v.$errors.map((y) => y.$message) : [] : [e.errorMessage];
|
|
4905
4905
|
}), l = w(() => {
|
|
4906
|
-
var
|
|
4906
|
+
var X, y;
|
|
4907
4907
|
if (!k(e.label))
|
|
4908
4908
|
return e.label;
|
|
4909
|
-
if (k(s) || k(n) || k((
|
|
4909
|
+
if (k(s) || k(n) || k((X = e.v) == null ? void 0 : X.$path))
|
|
4910
4910
|
return "";
|
|
4911
4911
|
const { end: q } = Pt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
4912
4912
|
return a(s + "." + n + ".model." + q);
|
|
4913
4913
|
}), c = w(() => {
|
|
4914
|
-
var q,
|
|
4915
|
-
return k(e.required) ? !!((q = e.v) != null && q.required && ((
|
|
4914
|
+
var q, X;
|
|
4915
|
+
return k(e.required) ? !!((q = e.v) != null && q.required && ((X = e.v) == null ? void 0 : X.required.$params.type) === "required") : e.required;
|
|
4916
4916
|
}), u = w(() => e.multiple !== !1);
|
|
4917
|
-
return (q,
|
|
4917
|
+
return (q, X) => (x(), $(ni, {
|
|
4918
4918
|
modelValue: i.value,
|
|
4919
|
-
"onUpdate:modelValue":
|
|
4919
|
+
"onUpdate:modelValue": X[0] || (X[0] = (y) => i.value = y),
|
|
4920
4920
|
items: q.items,
|
|
4921
4921
|
"item-title": "title",
|
|
4922
4922
|
"item-value": "value",
|
|
@@ -4987,17 +4987,17 @@ const su = { key: 0 }, nu = {
|
|
|
4987
4987
|
}
|
|
4988
4988
|
}), s = N(""), n = N(!1), a = N(void 0), { t: o } = se(), { innerFilter: d } = Ri(e), l = () => {
|
|
4989
4989
|
n.value = !0;
|
|
4990
|
-
}, c = w(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), u = w(() => e.modelValue.multiple !== !1), q = Sr(e.filterSortBy),
|
|
4990
|
+
}, c = w(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), u = w(() => e.modelValue.multiple !== !1), q = Sr(e.filterSortBy), X = N([]), y = N([]), A = w(() => {
|
|
4991
4991
|
const S = /* @__PURE__ */ new Map();
|
|
4992
4992
|
return y.value.forEach((f) => {
|
|
4993
4993
|
S.set(f.value, { value: f.value, title: f.title });
|
|
4994
|
-
}),
|
|
4994
|
+
}), X.value.forEach((f) => {
|
|
4995
4995
|
S.set(f.value, { value: f.value, title: f.title });
|
|
4996
4996
|
}), Array.from(S, ([f, Y]) => ({ value: f, title: Y.title }));
|
|
4997
4997
|
}), T = N(!1), j = async (S) => {
|
|
4998
4998
|
T.value = !0;
|
|
4999
4999
|
const f = d.value[e.filterByField];
|
|
5000
|
-
f.model = S,
|
|
5000
|
+
f.model = S, X.value = await e.fetchItems(q, d.value), T.value = !1;
|
|
5001
5001
|
}, E = (S) => {
|
|
5002
5002
|
const f = A.value.filter((Y) => S.includes(Y.value));
|
|
5003
5003
|
return [].concat(f);
|
|
@@ -5007,7 +5007,7 @@ const su = { key: 0 }, nu = {
|
|
|
5007
5007
|
}, _ = N(!1), P = () => {
|
|
5008
5008
|
clearTimeout(a.value), a.value = void 0;
|
|
5009
5009
|
}, G = async () => {
|
|
5010
|
-
P(), _.value !== !0 && (_.value = !0, T.value = !0,
|
|
5010
|
+
P(), _.value !== !0 && (_.value = !0, T.value = !0, X.value = await e.fetchItems(q, d.value), T.value = !1);
|
|
5011
5011
|
}, re = () => {
|
|
5012
5012
|
n.value = !0, P(), G();
|
|
5013
5013
|
}, ie = w(() => {
|
|
@@ -5016,7 +5016,7 @@ const su = { key: 0 }, nu = {
|
|
|
5016
5016
|
}), le = (S) => {
|
|
5017
5017
|
!e.modelValue.multiple && !n.value && S.length === 0 || ie.value !== S && (s.value = S);
|
|
5018
5018
|
}, te = async () => {
|
|
5019
|
-
if (
|
|
5019
|
+
if (X.value = await e.fetchItems(q, d.value), e.modelValue.multiple) {
|
|
5020
5020
|
i.value = [];
|
|
5021
5021
|
return;
|
|
5022
5022
|
}
|
|
@@ -5027,7 +5027,7 @@ const su = { key: 0 }, nu = {
|
|
|
5027
5027
|
async (S, f) => {
|
|
5028
5028
|
if (S === f)
|
|
5029
5029
|
return;
|
|
5030
|
-
if (
|
|
5030
|
+
if (ce(S) || k(S) || tt(S) && S.length === 0) {
|
|
5031
5031
|
if (y.value = [], e.disableInitFetch || _.value === !0)
|
|
5032
5032
|
return;
|
|
5033
5033
|
a.value = setTimeout(() => {
|
|
@@ -5085,18 +5085,18 @@ const su = { key: 0 }, nu = {
|
|
|
5085
5085
|
}
|
|
5086
5086
|
}), { t: s } = se(), n = w(() => e.modelValue.titleT ? s(e.modelValue.titleT) : void 0);
|
|
5087
5087
|
return (a, o) => (x(), z("div", au, [
|
|
5088
|
-
|
|
5088
|
+
m(nd, { class: "pr-1" }, {
|
|
5089
5089
|
default: g(() => [
|
|
5090
5090
|
O("span", null, D(n.value), 1)
|
|
5091
5091
|
]),
|
|
5092
5092
|
_: 1
|
|
5093
5093
|
}),
|
|
5094
|
-
|
|
5094
|
+
m(Ui, {
|
|
5095
5095
|
modelValue: i.value,
|
|
5096
5096
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => i.value = d)
|
|
5097
5097
|
}, {
|
|
5098
5098
|
default: g(() => [
|
|
5099
|
-
|
|
5099
|
+
m(ae, {
|
|
5100
5100
|
size: "small",
|
|
5101
5101
|
value: !0,
|
|
5102
5102
|
"data-cy": a.dataCyTrue,
|
|
@@ -5107,7 +5107,7 @@ const su = { key: 0 }, nu = {
|
|
|
5107
5107
|
]),
|
|
5108
5108
|
_: 1
|
|
5109
5109
|
}, 8, ["data-cy", "color"]),
|
|
5110
|
-
|
|
5110
|
+
m(ae, {
|
|
5111
5111
|
size: "small",
|
|
5112
5112
|
value: !1,
|
|
5113
5113
|
"data-cy": a.dataCyFalse,
|
|
@@ -5134,7 +5134,7 @@ const Fh = /* @__PURE__ */ ir(ou, [["__scopeId", "data-v-0bca0344"]]), Ys = /* @
|
|
|
5134
5134
|
setup(t, { emit: r }) {
|
|
5135
5135
|
const e = t, i = w({
|
|
5136
5136
|
get() {
|
|
5137
|
-
return k(e.modelValue.model) ||
|
|
5137
|
+
return k(e.modelValue.model) || ce(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
|
|
5138
5138
|
},
|
|
5139
5139
|
set(o) {
|
|
5140
5140
|
let d = null;
|
|
@@ -5252,7 +5252,7 @@ const lu = /* @__PURE__ */ H({
|
|
|
5252
5252
|
), (l, c) => (x(), z("div", {
|
|
5253
5253
|
class: Xe(a.value)
|
|
5254
5254
|
}, [
|
|
5255
|
-
b(
|
|
5255
|
+
b(ce)(l.id) || b(k)(l.id) ? Ve(l.$slots, "empty", { key: 0 }, () => [
|
|
5256
5256
|
L(" - ")
|
|
5257
5257
|
]) : l.textOnly ? (x(), z("div", cu, [
|
|
5258
5258
|
L(D(o.value) + " ", 1),
|
|
@@ -5390,13 +5390,13 @@ const Yh = /* @__PURE__ */ H({
|
|
|
5390
5390
|
onClick: Z(a, ["stop"])
|
|
5391
5391
|
}, [
|
|
5392
5392
|
O("span", null, D(o.value), 1),
|
|
5393
|
-
b(i) ? (x(), $(
|
|
5393
|
+
b(i) ? (x(), $(ue, {
|
|
5394
5394
|
key: 0,
|
|
5395
5395
|
class: "ml-1",
|
|
5396
5396
|
size: "x-small",
|
|
5397
5397
|
icon: "mdi-content-copy"
|
|
5398
5398
|
})) : ee("", !0),
|
|
5399
|
-
|
|
5399
|
+
m(Ce, {
|
|
5400
5400
|
activator: "parent",
|
|
5401
5401
|
location: "bottom"
|
|
5402
5402
|
}, {
|
|
@@ -5423,23 +5423,23 @@ const qu = {
|
|
|
5423
5423
|
size: { default: "default" }
|
|
5424
5424
|
},
|
|
5425
5425
|
setup(t) {
|
|
5426
|
-
return (r, e) => b(
|
|
5426
|
+
return (r, e) => b(ce)(r.secondaryIcon) ? b(ce)(r.secondaryText) ? (x(), $(ue, {
|
|
5427
5427
|
key: 2,
|
|
5428
5428
|
icon: r.mainIcon
|
|
5429
5429
|
}, null, 8, ["icon"])) : (x(), z("div", Yu, [
|
|
5430
|
-
|
|
5430
|
+
m(ue, {
|
|
5431
5431
|
size: r.size,
|
|
5432
5432
|
class: "anzu-icon-group__main-icon",
|
|
5433
5433
|
icon: r.mainIcon
|
|
5434
5434
|
}, null, 8, ["size", "icon"]),
|
|
5435
5435
|
O("div", mu, D(r.secondaryText), 1)
|
|
5436
5436
|
])) : (x(), z("div", qu, [
|
|
5437
|
-
|
|
5437
|
+
m(ue, {
|
|
5438
5438
|
size: r.size,
|
|
5439
5439
|
class: "anzu-icon-group__main-icon",
|
|
5440
5440
|
icon: r.mainIcon
|
|
5441
5441
|
}, null, 8, ["size", "icon"]),
|
|
5442
|
-
|
|
5442
|
+
m(ue, {
|
|
5443
5443
|
size: r.size,
|
|
5444
5444
|
class: "anzu-icon-group__secondary-icon",
|
|
5445
5445
|
icon: r.secondaryIcon
|
|
@@ -5486,7 +5486,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5486
5486
|
title: b(r)("common.model.tracking.created")
|
|
5487
5487
|
}, {
|
|
5488
5488
|
default: g(() => [
|
|
5489
|
-
|
|
5489
|
+
m(Zr, {
|
|
5490
5490
|
"date-time": e.data.createdAt
|
|
5491
5491
|
}, null, 8, ["date-time"])
|
|
5492
5492
|
]),
|
|
@@ -5497,7 +5497,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5497
5497
|
title: b(r)("common.model.tracking.modified")
|
|
5498
5498
|
}, {
|
|
5499
5499
|
default: g(() => [
|
|
5500
|
-
|
|
5500
|
+
m(Zr, {
|
|
5501
5501
|
"date-time": e.data.modifiedAt
|
|
5502
5502
|
}, null, 8, ["date-time"])
|
|
5503
5503
|
]),
|
|
@@ -5520,7 +5520,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5520
5520
|
if (!k(r.routeName))
|
|
5521
5521
|
return k(r.routeParams) ? { name: r.routeName } : { name: r.routeName, params: { ...r.routeParams } };
|
|
5522
5522
|
});
|
|
5523
|
-
return (s, n) => (x(), $(
|
|
5523
|
+
return (s, n) => (x(), $(ae, {
|
|
5524
5524
|
class: Xe(s.buttonClass),
|
|
5525
5525
|
"data-cy": s.dataCy,
|
|
5526
5526
|
to: i.value,
|
|
@@ -5532,8 +5532,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5532
5532
|
active: !1
|
|
5533
5533
|
}, {
|
|
5534
5534
|
default: g(() => [
|
|
5535
|
-
|
|
5536
|
-
|
|
5535
|
+
m(ue, { icon: "mdi-close" }),
|
|
5536
|
+
m(Ce, {
|
|
5537
5537
|
activator: "parent",
|
|
5538
5538
|
location: "bottom"
|
|
5539
5539
|
}, {
|
|
@@ -5568,7 +5568,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5568
5568
|
return "flat";
|
|
5569
5569
|
}
|
|
5570
5570
|
});
|
|
5571
|
-
return (s, n) => s.variant === "icon" ? (x(), $(
|
|
5571
|
+
return (s, n) => s.variant === "icon" ? (x(), $(ae, {
|
|
5572
5572
|
key: 0,
|
|
5573
5573
|
class: Xe(s.buttonClass),
|
|
5574
5574
|
"data-cy": s.dataCy,
|
|
@@ -5580,8 +5580,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5580
5580
|
height: s.size
|
|
5581
5581
|
}, {
|
|
5582
5582
|
default: g(() => [
|
|
5583
|
-
|
|
5584
|
-
|
|
5583
|
+
m(ue, { icon: "mdi-content-save" }),
|
|
5584
|
+
m(Ce, {
|
|
5585
5585
|
activator: "parent",
|
|
5586
5586
|
location: "bottom"
|
|
5587
5587
|
}, {
|
|
@@ -5592,7 +5592,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5592
5592
|
})
|
|
5593
5593
|
]),
|
|
5594
5594
|
_: 1
|
|
5595
|
-
}, 8, ["class", "data-cy", "variant", "to", "width", "height"])) : (x(), $(
|
|
5595
|
+
}, 8, ["class", "data-cy", "variant", "to", "width", "height"])) : (x(), $(ae, {
|
|
5596
5596
|
key: 1,
|
|
5597
5597
|
class: Xe(s.buttonClass),
|
|
5598
5598
|
"data-cy": s.dataCy,
|
|
@@ -5653,9 +5653,9 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5653
5653
|
}
|
|
5654
5654
|
});
|
|
5655
5655
|
return (u, q) => {
|
|
5656
|
-
const
|
|
5656
|
+
const X = Je("ABtnTertiary"), y = Je("ABtnPrimary");
|
|
5657
5657
|
return x(), z(_e, null, [
|
|
5658
|
-
u.variant === "icon" ? (x(), $(
|
|
5658
|
+
u.variant === "icon" ? (x(), $(ae, {
|
|
5659
5659
|
key: 0,
|
|
5660
5660
|
class: Xe(u.buttonClass),
|
|
5661
5661
|
"data-cy": u.dataCy,
|
|
@@ -5670,8 +5670,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5670
5670
|
onClick: Z(n, ["stop"])
|
|
5671
5671
|
}, {
|
|
5672
5672
|
default: g(() => [
|
|
5673
|
-
|
|
5674
|
-
|
|
5673
|
+
m(ue, { icon: "mdi-trash-can-outline" }),
|
|
5674
|
+
m(Ce, {
|
|
5675
5675
|
activator: "parent",
|
|
5676
5676
|
location: "bottom"
|
|
5677
5677
|
}, {
|
|
@@ -5682,7 +5682,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5682
5682
|
})
|
|
5683
5683
|
]),
|
|
5684
5684
|
_: 1
|
|
5685
|
-
}, 8, ["class", "data-cy", "variant", "disabled", "color", "loading", "width", "height", "onClick"])) : (x(), $(
|
|
5685
|
+
}, 8, ["class", "data-cy", "variant", "disabled", "color", "loading", "width", "height", "onClick"])) : (x(), $(ae, {
|
|
5686
5686
|
key: 1,
|
|
5687
5687
|
class: Xe(u.buttonClass),
|
|
5688
5688
|
"data-cy": u.dataCy,
|
|
@@ -5697,7 +5697,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5697
5697
|
]),
|
|
5698
5698
|
_: 1
|
|
5699
5699
|
}, 8, ["class", "data-cy", "variant", "color", "height", "onClick"])),
|
|
5700
|
-
|
|
5700
|
+
m(Xr, {
|
|
5701
5701
|
modelValue: s.value,
|
|
5702
5702
|
"onUpdate:modelValue": q[0] || (q[0] = (A) => s.value = A),
|
|
5703
5703
|
persistent: "",
|
|
@@ -5710,16 +5710,16 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5710
5710
|
"data-cy": "delete-panel"
|
|
5711
5711
|
}, {
|
|
5712
5712
|
default: g(() => [
|
|
5713
|
-
|
|
5713
|
+
m(_r, { onOnCancel: d }, {
|
|
5714
5714
|
default: g(() => [
|
|
5715
5715
|
L(D(b(l)(u.dialogMessageT)), 1)
|
|
5716
5716
|
]),
|
|
5717
5717
|
_: 1
|
|
5718
5718
|
}),
|
|
5719
|
-
|
|
5719
|
+
m(ii, null, {
|
|
5720
5720
|
default: g(() => [
|
|
5721
|
-
|
|
5722
|
-
|
|
5721
|
+
m(Et),
|
|
5722
|
+
m(X, {
|
|
5723
5723
|
disabled: u.loading,
|
|
5724
5724
|
"data-cy": "button-cancel",
|
|
5725
5725
|
onClick: Z(d, ["stop"])
|
|
@@ -5729,7 +5729,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5729
5729
|
]),
|
|
5730
5730
|
_: 1
|
|
5731
5731
|
}, 8, ["disabled", "onClick"]),
|
|
5732
|
-
|
|
5732
|
+
m(y, {
|
|
5733
5733
|
color: u.dialogConfirmColor,
|
|
5734
5734
|
loading: u.loading,
|
|
5735
5735
|
"data-cy": "button-confirm-delete",
|
|
@@ -5780,7 +5780,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5780
5780
|
return "flat";
|
|
5781
5781
|
}
|
|
5782
5782
|
});
|
|
5783
|
-
return (d, l) => d.variant === "icon" ? (x(), $(
|
|
5783
|
+
return (d, l) => d.variant === "icon" ? (x(), $(ae, {
|
|
5784
5784
|
key: 0,
|
|
5785
5785
|
class: Xe(d.buttonClass),
|
|
5786
5786
|
"data-cy": d.dataCy,
|
|
@@ -5793,8 +5793,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5793
5793
|
onClick: Z(n, ["stop"])
|
|
5794
5794
|
}, {
|
|
5795
5795
|
default: g(() => [
|
|
5796
|
-
|
|
5797
|
-
|
|
5796
|
+
m(ue, { icon: "mdi-content-save" }),
|
|
5797
|
+
m(Ce, {
|
|
5798
5798
|
activator: "parent",
|
|
5799
5799
|
location: "bottom"
|
|
5800
5800
|
}, {
|
|
@@ -5805,7 +5805,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5805
5805
|
})
|
|
5806
5806
|
]),
|
|
5807
5807
|
_: 1
|
|
5808
|
-
}, 8, ["class", "data-cy", "variant", "loading", "width", "height", "onClick"])) : (x(), $(
|
|
5808
|
+
}, 8, ["class", "data-cy", "variant", "loading", "width", "height", "onClick"])) : (x(), $(ae, {
|
|
5809
5809
|
key: 1,
|
|
5810
5810
|
class: Xe(d.buttonClass),
|
|
5811
5811
|
variant: o.value,
|
|
@@ -5836,7 +5836,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5836
5836
|
const e = (s) => {
|
|
5837
5837
|
Dt(s), r("saveRecordAndClose");
|
|
5838
5838
|
}, { t: i } = se();
|
|
5839
|
-
return (s, n) => (x(), $(
|
|
5839
|
+
return (s, n) => (x(), $(ae, {
|
|
5840
5840
|
class: Xe(s.buttonClass),
|
|
5841
5841
|
"data-cy": s.dataCy,
|
|
5842
5842
|
loading: s.loading,
|
|
@@ -5849,11 +5849,11 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5849
5849
|
onClick: Z(e, ["stop"])
|
|
5850
5850
|
}, {
|
|
5851
5851
|
default: g(() => [
|
|
5852
|
-
|
|
5852
|
+
m(Ma, {
|
|
5853
5853
|
"main-icon": "mdi-content-save",
|
|
5854
5854
|
"secondary-icon": "mdi-close"
|
|
5855
5855
|
}),
|
|
5856
|
-
|
|
5856
|
+
m(Ce, {
|
|
5857
5857
|
activator: "parent",
|
|
5858
5858
|
location: "bottom"
|
|
5859
5859
|
}, {
|
|
@@ -5892,7 +5892,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5892
5892
|
return "flat";
|
|
5893
5893
|
}
|
|
5894
5894
|
});
|
|
5895
|
-
return (a, o) => a.variant === "icon" ? (x(), $(
|
|
5895
|
+
return (a, o) => a.variant === "icon" ? (x(), $(ae, {
|
|
5896
5896
|
key: 0,
|
|
5897
5897
|
class: Xe(a.buttonClass),
|
|
5898
5898
|
"data-cy": a.dataCy,
|
|
@@ -5906,8 +5906,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5906
5906
|
onClick: Z(i, ["stop"])
|
|
5907
5907
|
}, {
|
|
5908
5908
|
default: g(() => [
|
|
5909
|
-
|
|
5910
|
-
|
|
5909
|
+
m(ue, { icon: "mdi-content-save" }),
|
|
5910
|
+
m(Ce, {
|
|
5911
5911
|
activator: "parent",
|
|
5912
5912
|
location: "bottom"
|
|
5913
5913
|
}, {
|
|
@@ -5918,7 +5918,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5918
5918
|
})
|
|
5919
5919
|
]),
|
|
5920
5920
|
_: 1
|
|
5921
|
-
}, 8, ["class", "data-cy", "variant", "loading", "disabled", "width", "height", "onClick"])) : (x(), $(
|
|
5921
|
+
}, 8, ["class", "data-cy", "variant", "loading", "disabled", "width", "height", "onClick"])) : (x(), $(ae, {
|
|
5922
5922
|
key: 1,
|
|
5923
5923
|
class: Xe(a.buttonClass),
|
|
5924
5924
|
"data-cy": a.dataCy,
|
|
@@ -5955,7 +5955,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5955
5955
|
n(e(r.notifyT));
|
|
5956
5956
|
});
|
|
5957
5957
|
};
|
|
5958
|
-
return (o, d) => b(s) ? (x(), $(
|
|
5958
|
+
return (o, d) => b(s) ? (x(), $(ae, {
|
|
5959
5959
|
key: 0,
|
|
5960
5960
|
class: Xe(o.buttonClass),
|
|
5961
5961
|
"data-cy": o.dataCy,
|
|
@@ -5965,12 +5965,12 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5965
5965
|
onClick: Z(a, ["stop"])
|
|
5966
5966
|
}, {
|
|
5967
5967
|
default: g(() => [
|
|
5968
|
-
|
|
5968
|
+
m(Ma, {
|
|
5969
5969
|
"secondary-text": b(e)(o.iconT),
|
|
5970
5970
|
"main-icon": "mdi-content-copy",
|
|
5971
5971
|
size: "small"
|
|
5972
5972
|
}, null, 8, ["secondary-text"]),
|
|
5973
|
-
|
|
5973
|
+
m(Ce, {
|
|
5974
5974
|
activator: "parent",
|
|
5975
5975
|
location: "bottom"
|
|
5976
5976
|
}, {
|
|
@@ -5995,7 +5995,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
5995
5995
|
},
|
|
5996
5996
|
setup(t) {
|
|
5997
5997
|
const r = t, { t: e } = se(), i = w(() => k(r.routeParams) ? { name: r.routeName, params: { id: r.recordId } } : { name: r.routeName, params: { ...r.routeParams } });
|
|
5998
|
-
return (s, n) => (x(), $(
|
|
5998
|
+
return (s, n) => (x(), $(ae, {
|
|
5999
5999
|
class: Xe(s.buttonClass),
|
|
6000
6000
|
"data-cy": s.dataCy,
|
|
6001
6001
|
to: i.value,
|
|
@@ -6006,8 +6006,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6006
6006
|
}, ["stop"])
|
|
6007
6007
|
}, {
|
|
6008
6008
|
default: g(() => [
|
|
6009
|
-
|
|
6010
|
-
|
|
6009
|
+
m(ue, { icon: "mdi-information-outline" }),
|
|
6010
|
+
m(Ce, {
|
|
6011
6011
|
activator: "parent",
|
|
6012
6012
|
location: "bottom"
|
|
6013
6013
|
}, {
|
|
@@ -6032,7 +6032,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6032
6032
|
},
|
|
6033
6033
|
setup(t) {
|
|
6034
6034
|
const r = t, { t: e } = se(), i = w(() => k(r.routeParams) ? { name: r.routeName, params: { id: r.recordId } } : { name: r.routeName, params: { ...r.routeParams } });
|
|
6035
|
-
return (s, n) => (x(), $(
|
|
6035
|
+
return (s, n) => (x(), $(ae, {
|
|
6036
6036
|
class: Xe(s.buttonClass),
|
|
6037
6037
|
"data-cy": s.dataCy,
|
|
6038
6038
|
to: i.value,
|
|
@@ -6043,8 +6043,8 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6043
6043
|
}, ["stop"])
|
|
6044
6044
|
}, {
|
|
6045
6045
|
default: g(() => [
|
|
6046
|
-
|
|
6047
|
-
|
|
6046
|
+
m(ue, { icon: "mdi-pencil" }),
|
|
6047
|
+
m(Ce, {
|
|
6048
6048
|
activator: "parent",
|
|
6049
6049
|
location: "bottom"
|
|
6050
6050
|
}, {
|
|
@@ -6094,7 +6094,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6094
6094
|
return "primary";
|
|
6095
6095
|
}
|
|
6096
6096
|
}), { t: a } = se();
|
|
6097
|
-
return (o, d) => o.disableMore ? (x(), $(
|
|
6097
|
+
return (o, d) => o.disableMore ? (x(), $(ae, {
|
|
6098
6098
|
key: 0,
|
|
6099
6099
|
variant: s.value,
|
|
6100
6100
|
class: Xe(o.buttonClass),
|
|
@@ -6116,7 +6116,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6116
6116
|
key: 1,
|
|
6117
6117
|
class: Xe(["a-button-split d-inline-flex", o.buttonClass + " a-button-split--" + o.variant])
|
|
6118
6118
|
}, [
|
|
6119
|
-
|
|
6119
|
+
m(ae, {
|
|
6120
6120
|
class: "a-button-split__main",
|
|
6121
6121
|
variant: s.value,
|
|
6122
6122
|
"data-cy": o.dataCy,
|
|
@@ -6141,7 +6141,7 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6141
6141
|
class: "my-2 border-opacity-50",
|
|
6142
6142
|
color: o.color
|
|
6143
6143
|
}, null, 8, ["color"])) : ee("", !0),
|
|
6144
|
-
|
|
6144
|
+
m(ae, {
|
|
6145
6145
|
variant: s.value,
|
|
6146
6146
|
disabled: o.disabled || o.loading,
|
|
6147
6147
|
"data-cy": o.dataCy,
|
|
@@ -6151,13 +6151,13 @@ const Xh = /* @__PURE__ */ H({
|
|
|
6151
6151
|
class: "a-button-split__more"
|
|
6152
6152
|
}, {
|
|
6153
6153
|
default: g(() => [
|
|
6154
|
-
|
|
6155
|
-
|
|
6154
|
+
m(ue, { icon: "mdi-chevron-down" }),
|
|
6155
|
+
m(It, {
|
|
6156
6156
|
activator: "parent",
|
|
6157
6157
|
location: "bottom right"
|
|
6158
6158
|
}, {
|
|
6159
6159
|
default: g(() => [
|
|
6160
|
-
|
|
6160
|
+
m(Qt, {
|
|
6161
6161
|
density: "compact",
|
|
6162
6162
|
class: "pa-0"
|
|
6163
6163
|
}, {
|
|
@@ -6256,7 +6256,7 @@ const hu = { key: 0 }, vu = { key: 1 }, xu = { key: 2 }, wh = /* @__PURE__ */ H(
|
|
|
6256
6256
|
"close-on-content-click": ""
|
|
6257
6257
|
}, {
|
|
6258
6258
|
activator: g(({ props: l }) => [
|
|
6259
|
-
|
|
6259
|
+
m(ae, Rs({
|
|
6260
6260
|
class: "pl-1",
|
|
6261
6261
|
rounded: "pill"
|
|
6262
6262
|
}, l, {
|
|
@@ -6265,21 +6265,21 @@ const hu = { key: 0 }, vu = { key: 1 }, xu = { key: 2 }, wh = /* @__PURE__ */ H(
|
|
|
6265
6265
|
}), {
|
|
6266
6266
|
default: g(() => [
|
|
6267
6267
|
b(s) === b(Nr).Auto ? (x(), z("div", hu, [
|
|
6268
|
-
|
|
6268
|
+
m(ue, {
|
|
6269
6269
|
class: "mr-1",
|
|
6270
6270
|
icon: "mdi-brightness-auto",
|
|
6271
6271
|
size: 32
|
|
6272
6272
|
}),
|
|
6273
6273
|
L(D(b(n)("common.system.theme.auto")), 1)
|
|
6274
6274
|
])) : b(s) === b(Nr).Light ? (x(), z("div", vu, [
|
|
6275
|
-
|
|
6275
|
+
m(ue, {
|
|
6276
6276
|
class: "mr-1",
|
|
6277
6277
|
icon: "mdi-brightness-7",
|
|
6278
6278
|
size: 32
|
|
6279
6279
|
}),
|
|
6280
6280
|
L(D(b(n)("common.system.theme.light")), 1)
|
|
6281
6281
|
])) : b(s) === b(Nr).Dark ? (x(), z("div", xu, [
|
|
6282
|
-
|
|
6282
|
+
m(ue, {
|
|
6283
6283
|
class: "mr-1",
|
|
6284
6284
|
icon: "mdi-brightness-4",
|
|
6285
6285
|
size: 32
|
|
@@ -6291,40 +6291,40 @@ const hu = { key: 0 }, vu = { key: 1 }, xu = { key: 2 }, wh = /* @__PURE__ */ H(
|
|
|
6291
6291
|
}, 1040)
|
|
6292
6292
|
]),
|
|
6293
6293
|
default: g(() => [
|
|
6294
|
-
|
|
6294
|
+
m(rt, null, {
|
|
6295
6295
|
default: g(() => [
|
|
6296
|
-
|
|
6296
|
+
m(Qt, { density: "compact" }, {
|
|
6297
6297
|
default: g(() => [
|
|
6298
|
-
|
|
6298
|
+
m(et, {
|
|
6299
6299
|
title: b(n)("common.system.theme.auto"),
|
|
6300
6300
|
onClick: Z(b(e), ["stop"])
|
|
6301
6301
|
}, {
|
|
6302
6302
|
prepend: g(() => [
|
|
6303
|
-
|
|
6303
|
+
m(ue, {
|
|
6304
6304
|
class: "mr-2",
|
|
6305
6305
|
icon: "mdi-brightness-auto"
|
|
6306
6306
|
})
|
|
6307
6307
|
]),
|
|
6308
6308
|
_: 1
|
|
6309
6309
|
}, 8, ["title", "onClick"]),
|
|
6310
|
-
|
|
6310
|
+
m(et, {
|
|
6311
6311
|
title: b(n)("common.system.theme.light"),
|
|
6312
6312
|
onClick: Z(b(i), ["stop"])
|
|
6313
6313
|
}, {
|
|
6314
6314
|
prepend: g(() => [
|
|
6315
|
-
|
|
6315
|
+
m(ue, {
|
|
6316
6316
|
class: "mr-2",
|
|
6317
6317
|
icon: "mdi-brightness-7"
|
|
6318
6318
|
})
|
|
6319
6319
|
]),
|
|
6320
6320
|
_: 1
|
|
6321
6321
|
}, 8, ["title", "onClick"]),
|
|
6322
|
-
|
|
6322
|
+
m(et, {
|
|
6323
6323
|
title: b(n)("common.system.theme.dark"),
|
|
6324
6324
|
onClick: Z(b(r), ["stop"])
|
|
6325
6325
|
}, {
|
|
6326
6326
|
prepend: g(() => [
|
|
6327
|
-
|
|
6327
|
+
m(ue, {
|
|
6328
6328
|
class: "mr-2",
|
|
6329
6329
|
icon: "mdi-brightness-4"
|
|
6330
6330
|
})
|
|
@@ -6412,7 +6412,7 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
|
|
|
6412
6412
|
));
|
|
6413
6413
|
return (c, u) => (x(), $(It, null, {
|
|
6414
6414
|
activator: g(({ props: q }) => [
|
|
6415
|
-
|
|
6415
|
+
m(ae, Rs({
|
|
6416
6416
|
class: "pl-1",
|
|
6417
6417
|
rounded: "pill"
|
|
6418
6418
|
}, q, {
|
|
@@ -6420,15 +6420,15 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
|
|
|
6420
6420
|
"data-cy": "settings-language"
|
|
6421
6421
|
}), {
|
|
6422
6422
|
default: g(() => [
|
|
6423
|
-
|
|
6423
|
+
m(ks, {
|
|
6424
6424
|
class: "mr-1",
|
|
6425
6425
|
size: "30"
|
|
6426
6426
|
}, {
|
|
6427
6427
|
default: g(() => {
|
|
6428
|
-
var
|
|
6428
|
+
var X;
|
|
6429
6429
|
return [
|
|
6430
|
-
|
|
6431
|
-
code: (
|
|
6430
|
+
m(bn, {
|
|
6431
|
+
code: (X = d.value) == null ? void 0 : X.code
|
|
6432
6432
|
}, null, 8, ["code"])
|
|
6433
6433
|
];
|
|
6434
6434
|
}),
|
|
@@ -6440,23 +6440,23 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
|
|
|
6440
6440
|
}, 1040)
|
|
6441
6441
|
]),
|
|
6442
6442
|
default: g(() => [
|
|
6443
|
-
|
|
6443
|
+
m(rt, null, {
|
|
6444
6444
|
default: g(() => [
|
|
6445
|
-
|
|
6445
|
+
m(Qt, { density: "compact" }, {
|
|
6446
6446
|
default: g(() => [
|
|
6447
6447
|
(x(!0), z(_e, null, ut(l.value, (q) => (x(), $(et, {
|
|
6448
6448
|
key: q.code,
|
|
6449
|
-
onClick: Z((
|
|
6449
|
+
onClick: Z((X) => o(q.code), ["stop"])
|
|
6450
6450
|
}, {
|
|
6451
6451
|
default: g(() => [
|
|
6452
|
-
|
|
6452
|
+
m(Wr, null, {
|
|
6453
6453
|
default: g(() => [
|
|
6454
|
-
|
|
6454
|
+
m(ks, {
|
|
6455
6455
|
class: "mr-1",
|
|
6456
6456
|
size: "30"
|
|
6457
6457
|
}, {
|
|
6458
6458
|
default: g(() => [
|
|
6459
|
-
|
|
6459
|
+
m(bn, {
|
|
6460
6460
|
code: q.code
|
|
6461
6461
|
}, null, 8, ["code"])
|
|
6462
6462
|
]),
|
|
@@ -6573,7 +6573,7 @@ const Ru = { class: "text-center w-100 text-caption pb-1" }, Dh = /* @__PURE__ *
|
|
|
6573
6573
|
return n.length > 0 ? n : r.user.email.slice(0, 2);
|
|
6574
6574
|
});
|
|
6575
6575
|
return (n, a) => (x(), z(_e, null, [
|
|
6576
|
-
|
|
6576
|
+
m(ks, {
|
|
6577
6577
|
color: e.value,
|
|
6578
6578
|
class: Xe(["text-uppercase", n.containerClass]),
|
|
6579
6579
|
size: n.size
|
|
@@ -6637,7 +6637,7 @@ const Ru = { class: "text-center w-100 text-caption pb-1" }, Dh = /* @__PURE__ *
|
|
|
6637
6637
|
L(D(l.label) + " ", 1),
|
|
6638
6638
|
l.required ? (x(), z("span", Uu)) : ee("", !0)
|
|
6639
6639
|
])),
|
|
6640
|
-
|
|
6640
|
+
m(ae, {
|
|
6641
6641
|
variant: a.value,
|
|
6642
6642
|
icon: "",
|
|
6643
6643
|
color: o.value
|
|
@@ -6648,9 +6648,9 @@ const Ru = { class: "text-center w-100 text-caption pb-1" }, Dh = /* @__PURE__ *
|
|
|
6648
6648
|
activator: "parent"
|
|
6649
6649
|
}, {
|
|
6650
6650
|
default: g(() => [
|
|
6651
|
-
|
|
6651
|
+
m(rt, null, {
|
|
6652
6652
|
default: g(() => [
|
|
6653
|
-
|
|
6653
|
+
m(dd, {
|
|
6654
6654
|
"model-value": o.value,
|
|
6655
6655
|
swatches: i,
|
|
6656
6656
|
class: "a-color-picker--hide-controls",
|
|
@@ -6682,18 +6682,18 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6682
6682
|
},
|
|
6683
6683
|
setup(t) {
|
|
6684
6684
|
const { t: r } = se(), e = N(!1);
|
|
6685
|
-
return (i, s) => (x(), $(
|
|
6685
|
+
return (i, s) => (x(), $(ae, {
|
|
6686
6686
|
variant: "text",
|
|
6687
6687
|
icon: "",
|
|
6688
6688
|
size: "small",
|
|
6689
6689
|
"data-cy": i.dataCy
|
|
6690
6690
|
}, {
|
|
6691
6691
|
default: g(() => [
|
|
6692
|
-
|
|
6692
|
+
m(yn, {
|
|
6693
6693
|
size: 32,
|
|
6694
6694
|
user: i.currentUser
|
|
6695
6695
|
}, null, 8, ["user"]),
|
|
6696
|
-
|
|
6696
|
+
m(Ce, {
|
|
6697
6697
|
activator: "parent",
|
|
6698
6698
|
location: "top"
|
|
6699
6699
|
}, {
|
|
@@ -6707,28 +6707,28 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6707
6707
|
activator: "parent"
|
|
6708
6708
|
}, {
|
|
6709
6709
|
default: g(() => [
|
|
6710
|
-
|
|
6710
|
+
m(rt, null, {
|
|
6711
6711
|
default: g(() => [
|
|
6712
|
-
|
|
6712
|
+
m(Qt, { class: "pb-0" }, {
|
|
6713
6713
|
default: g(() => [
|
|
6714
|
-
|
|
6714
|
+
m(et, {
|
|
6715
6715
|
class: "pb-6",
|
|
6716
6716
|
lines: "two"
|
|
6717
6717
|
}, {
|
|
6718
6718
|
prepend: g(() => [
|
|
6719
|
-
|
|
6719
|
+
m(yn, {
|
|
6720
6720
|
user: i.currentUser,
|
|
6721
6721
|
size: 40
|
|
6722
6722
|
}, null, 8, ["user"])
|
|
6723
6723
|
]),
|
|
6724
6724
|
default: g(() => [
|
|
6725
|
-
|
|
6725
|
+
m(Wr, null, {
|
|
6726
6726
|
default: g(() => [
|
|
6727
6727
|
L(D(i.currentUser.person.fullName), 1)
|
|
6728
6728
|
]),
|
|
6729
6729
|
_: 1
|
|
6730
6730
|
}),
|
|
6731
|
-
|
|
6731
|
+
m(Po, null, {
|
|
6732
6732
|
default: g(() => [
|
|
6733
6733
|
L(D(i.currentUser.email), 1),
|
|
6734
6734
|
Gu,
|
|
@@ -6739,8 +6739,8 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6739
6739
|
]),
|
|
6740
6740
|
_: 1
|
|
6741
6741
|
}),
|
|
6742
|
-
|
|
6743
|
-
|
|
6742
|
+
m(sa),
|
|
6743
|
+
m(et, {
|
|
6744
6744
|
active: !1,
|
|
6745
6745
|
"prepend-icon": "mdi-cog",
|
|
6746
6746
|
to: { name: i.settingsRouteName },
|
|
@@ -6751,14 +6751,14 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6751
6751
|
]),
|
|
6752
6752
|
_: 1
|
|
6753
6753
|
}, 8, ["to"]),
|
|
6754
|
-
|
|
6754
|
+
m(et, {
|
|
6755
6755
|
"prepend-icon": "mdi-logout",
|
|
6756
6756
|
"data-cy": "navbar-user-logout",
|
|
6757
6757
|
onClick: s[3] || (s[3] = Z((n) => e.value = !0, ["stop"]))
|
|
6758
6758
|
}, {
|
|
6759
6759
|
default: g(() => [
|
|
6760
6760
|
L(D(b(r)("common.system.currentUser.logout")) + " ", 1),
|
|
6761
|
-
|
|
6761
|
+
m(Xr, {
|
|
6762
6762
|
modelValue: e.value,
|
|
6763
6763
|
"onUpdate:modelValue": s[2] || (s[2] = (n) => e.value = n),
|
|
6764
6764
|
width: "auto"
|
|
@@ -6766,19 +6766,19 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6766
6766
|
default: g(() => [
|
|
6767
6767
|
e.value ? (x(), $(rt, { key: 0 }, {
|
|
6768
6768
|
default: g(() => [
|
|
6769
|
-
|
|
6769
|
+
m(Gi, {
|
|
6770
6770
|
density: "compact",
|
|
6771
6771
|
color: "transparent"
|
|
6772
6772
|
}, {
|
|
6773
6773
|
default: g(() => [
|
|
6774
|
-
|
|
6774
|
+
m(Zn, { class: "flex-fill" }, {
|
|
6775
6775
|
default: g(() => [
|
|
6776
6776
|
L(D(b(r)("common.system.currentUser.logout")), 1)
|
|
6777
6777
|
]),
|
|
6778
6778
|
_: 1
|
|
6779
6779
|
}),
|
|
6780
|
-
|
|
6781
|
-
|
|
6780
|
+
m(Et),
|
|
6781
|
+
m(ae, {
|
|
6782
6782
|
class: "ml-2",
|
|
6783
6783
|
icon: "mdi-close",
|
|
6784
6784
|
size: "small",
|
|
@@ -6789,16 +6789,16 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6789
6789
|
]),
|
|
6790
6790
|
_: 1
|
|
6791
6791
|
}),
|
|
6792
|
-
|
|
6792
|
+
m(Jn, null, {
|
|
6793
6793
|
default: g(() => [
|
|
6794
6794
|
L(D(b(r)("common.system.currentUser.logoutText")), 1)
|
|
6795
6795
|
]),
|
|
6796
6796
|
_: 1
|
|
6797
6797
|
}),
|
|
6798
|
-
|
|
6798
|
+
m(ii, null, {
|
|
6799
6799
|
default: g(() => [
|
|
6800
|
-
|
|
6801
|
-
|
|
6800
|
+
m(Et),
|
|
6801
|
+
m(ae, {
|
|
6802
6802
|
color: "secondary",
|
|
6803
6803
|
variant: "text",
|
|
6804
6804
|
"data-cy": "button-cancel",
|
|
@@ -6809,7 +6809,7 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6809
6809
|
]),
|
|
6810
6810
|
_: 1
|
|
6811
6811
|
}),
|
|
6812
|
-
|
|
6812
|
+
m(ae, {
|
|
6813
6813
|
color: "primary",
|
|
6814
6814
|
"data-cy": "button-confirm",
|
|
6815
6815
|
to: { name: i.logoutRouteName }
|
|
@@ -6876,7 +6876,7 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6876
6876
|
set(f) {
|
|
6877
6877
|
r("update:modelValue", xe(f));
|
|
6878
6878
|
}
|
|
6879
|
-
}), { t: o } = se(), d = Ie(wt, void 0), l = Ie(_t, void 0), c = N(!1), u = N(""), q = N(!1), { innerFilter:
|
|
6879
|
+
}), { t: o } = se(), d = Ie(wt, void 0), l = Ie(_t, void 0), c = N(!1), u = N(""), q = N(!1), { innerFilter: X } = Ri(e), y = Sr(e.filterSortBy), A = N(/* @__PURE__ */ new Map()), T = () => {
|
|
6880
6880
|
c.value = !0, r("focus", a.value);
|
|
6881
6881
|
}, j = () => {
|
|
6882
6882
|
var f;
|
|
@@ -6899,9 +6899,9 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6899
6899
|
!e.multiple && !c.value && f.length === 0 || (u.value = f);
|
|
6900
6900
|
}, re = async (f) => {
|
|
6901
6901
|
q.value = !0;
|
|
6902
|
-
const Y =
|
|
6903
|
-
Y.model = f, A.value.clear(), (await e.fetchItemsMinimal(y,
|
|
6904
|
-
A.value.set(
|
|
6902
|
+
const Y = X.value[e.filterByField];
|
|
6903
|
+
Y.model = f, A.value.clear(), (await e.fetchItemsMinimal(y, X.value)).forEach((p) => {
|
|
6904
|
+
A.value.set(p[e.itemValue], p);
|
|
6905
6905
|
}), q.value = !1;
|
|
6906
6906
|
}, ie = w(() => {
|
|
6907
6907
|
const f = /* @__PURE__ */ new Map();
|
|
@@ -6910,8 +6910,8 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6910
6910
|
}) : a.value && f.set(a.value, ""), A.value.forEach((Y) => {
|
|
6911
6911
|
f.set(Y[e.itemValue], Y[e.itemTitle]);
|
|
6912
6912
|
}), Array.from(f, ([Y, h]) => ({ value: Y, title: h }));
|
|
6913
|
-
}), le = (f) => new Promise((Y) => (A.value.forEach((h,
|
|
6914
|
-
f.has(
|
|
6913
|
+
}), le = (f) => new Promise((Y) => (A.value.forEach((h, p) => {
|
|
6914
|
+
f.has(p) && n(xe(h));
|
|
6915
6915
|
}), Y(!0))), te = () => {
|
|
6916
6916
|
if (re(""), e.multiple) {
|
|
6917
6917
|
a.value = [];
|
|
@@ -6936,7 +6936,7 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6936
6936
|
}), ke(
|
|
6937
6937
|
a,
|
|
6938
6938
|
async (f) => {
|
|
6939
|
-
if (
|
|
6939
|
+
if (ce(f) || k(f) || tt(f) && f.length === 0)
|
|
6940
6940
|
return;
|
|
6941
6941
|
const Y = tt(f) ? f : [f], h = new Set(Y);
|
|
6942
6942
|
await le(h), h.size > 0 && (s(Array.from(h)), i());
|
|
@@ -6967,22 +6967,22 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
6967
6967
|
_.value ? (x(), z("span", Wu)) : ee("", !0)
|
|
6968
6968
|
]))
|
|
6969
6969
|
]),
|
|
6970
|
-
chip: g(({ props: h, item:
|
|
6970
|
+
chip: g(({ props: h, item: p }) => [
|
|
6971
6971
|
Ve(f.$slots, "chip", {
|
|
6972
6972
|
props: h,
|
|
6973
|
-
item:
|
|
6973
|
+
item: p
|
|
6974
6974
|
}, () => [
|
|
6975
|
-
|
|
6976
|
-
text:
|
|
6975
|
+
m(Zt, Rs(h, {
|
|
6976
|
+
text: p.title
|
|
6977
6977
|
}), null, 16, ["text"])
|
|
6978
6978
|
])
|
|
6979
6979
|
]),
|
|
6980
|
-
item: g(({ props: h, item:
|
|
6980
|
+
item: g(({ props: h, item: p }) => [
|
|
6981
6981
|
Ve(f.$slots, "item", {
|
|
6982
6982
|
props: h,
|
|
6983
|
-
item:
|
|
6983
|
+
item: p
|
|
6984
6984
|
}, () => [
|
|
6985
|
-
|
|
6985
|
+
m(et, { props: h }, null, 8, ["props"])
|
|
6986
6986
|
])
|
|
6987
6987
|
]),
|
|
6988
6988
|
_: 2
|
|
@@ -7019,7 +7019,7 @@ const Gu = /* @__PURE__ */ O("br", null, null, -1), Sh = /* @__PURE__ */ H({
|
|
|
7019
7019
|
O("span", null, D(b(r)("common.system.login.text")), 1)
|
|
7020
7020
|
]),
|
|
7021
7021
|
O("div", rc, [
|
|
7022
|
-
e.loginUrl ? (x(), $(
|
|
7022
|
+
e.loginUrl ? (x(), $(ae, {
|
|
7023
7023
|
key: 0,
|
|
7024
7024
|
"data-cy": e.dataCy,
|
|
7025
7025
|
href: e.loginUrl(),
|
|
@@ -7057,14 +7057,14 @@ const Th = /* @__PURE__ */ ir(ic, [["__scopeId", "data-v-1c5c4c96"]]), Eh = /* @
|
|
|
7057
7057
|
return (e, i) => (x(), z("div", sc, [
|
|
7058
7058
|
O("div", nc, [
|
|
7059
7059
|
O("h1", ac, [
|
|
7060
|
-
|
|
7060
|
+
m(ue, {
|
|
7061
7061
|
size: "x-large",
|
|
7062
7062
|
icon: "mdi-emoticon-cry"
|
|
7063
7063
|
}),
|
|
7064
7064
|
O("span", null, D(b(r)("common.system.unauthorized.title")), 1)
|
|
7065
7065
|
]),
|
|
7066
7066
|
O("p", oc, D(b(r)("common.system.unauthorized.text")), 1),
|
|
7067
|
-
|
|
7067
|
+
m(ae, {
|
|
7068
7068
|
to: { name: e.returnRouteName },
|
|
7069
7069
|
color: "primary",
|
|
7070
7070
|
size: "large"
|
|
@@ -7087,14 +7087,14 @@ const Th = /* @__PURE__ */ ir(ic, [["__scopeId", "data-v-1c5c4c96"]]), Eh = /* @
|
|
|
7087
7087
|
return (e, i) => (x(), z("div", dc, [
|
|
7088
7088
|
O("div", lc, [
|
|
7089
7089
|
O("h1", uc, [
|
|
7090
|
-
|
|
7090
|
+
m(ue, {
|
|
7091
7091
|
size: "x-large",
|
|
7092
7092
|
icon: "mdi-emoticon-cry"
|
|
7093
7093
|
}),
|
|
7094
7094
|
O("span", null, D(b(r)("common.system.notFound.title")), 1)
|
|
7095
7095
|
]),
|
|
7096
7096
|
O("p", cc, D(b(r)("common.system.notFound.text")), 1),
|
|
7097
|
-
|
|
7097
|
+
m(ae, {
|
|
7098
7098
|
to: { name: e.returnRouteName },
|
|
7099
7099
|
color: "primary",
|
|
7100
7100
|
size: "large"
|
|
@@ -7116,11 +7116,11 @@ const Th = /* @__PURE__ */ ir(ic, [["__scopeId", "data-v-1c5c4c96"]]), Eh = /* @
|
|
|
7116
7116
|
setup(t) {
|
|
7117
7117
|
const { t: r } = se();
|
|
7118
7118
|
return (e, i) => (x(), z("div", null, [
|
|
7119
|
-
|
|
7119
|
+
m(bt, {
|
|
7120
7120
|
title: b(r)("common.job.model.id"),
|
|
7121
7121
|
value: e.job.id
|
|
7122
7122
|
}, null, 8, ["title", "value"]),
|
|
7123
|
-
|
|
7123
|
+
m(bt, {
|
|
7124
7124
|
title: b(r)("common.job.model._resourceName")
|
|
7125
7125
|
}, {
|
|
7126
7126
|
default: g(() => [
|
|
@@ -7130,37 +7130,37 @@ const Th = /* @__PURE__ */ ir(ic, [["__scopeId", "data-v-1c5c4c96"]]), Eh = /* @
|
|
|
7130
7130
|
]),
|
|
7131
7131
|
_: 3
|
|
7132
7132
|
}, 8, ["title"]),
|
|
7133
|
-
|
|
7133
|
+
m(bt, {
|
|
7134
7134
|
title: b(r)("common.job.model.status")
|
|
7135
7135
|
}, {
|
|
7136
7136
|
default: g(() => [
|
|
7137
|
-
|
|
7137
|
+
m(lu, {
|
|
7138
7138
|
value: e.job.status
|
|
7139
7139
|
}, null, 8, ["value"])
|
|
7140
7140
|
]),
|
|
7141
7141
|
_: 1
|
|
7142
7142
|
}, 8, ["title"]),
|
|
7143
|
-
|
|
7143
|
+
m(bt, {
|
|
7144
7144
|
title: b(r)("common.job.model.startedAt")
|
|
7145
7145
|
}, {
|
|
7146
7146
|
default: g(() => [
|
|
7147
|
-
|
|
7147
|
+
m(Zr, {
|
|
7148
7148
|
"date-time": e.job.startedAt
|
|
7149
7149
|
}, null, 8, ["date-time"])
|
|
7150
7150
|
]),
|
|
7151
7151
|
_: 1
|
|
7152
7152
|
}, 8, ["title"]),
|
|
7153
|
-
|
|
7153
|
+
m(bt, {
|
|
7154
7154
|
title: b(r)("common.job.model.finishedAt")
|
|
7155
7155
|
}, {
|
|
7156
7156
|
default: g(() => [
|
|
7157
|
-
|
|
7157
|
+
m(Zr, {
|
|
7158
7158
|
"date-time": e.job.finishedAt
|
|
7159
7159
|
}, null, 8, ["date-time"])
|
|
7160
7160
|
]),
|
|
7161
7161
|
_: 1
|
|
7162
7162
|
}, 8, ["title"]),
|
|
7163
|
-
|
|
7163
|
+
m(bt, {
|
|
7164
7164
|
title: b(r)("common.job.model.result"),
|
|
7165
7165
|
value: e.job.result
|
|
7166
7166
|
}, null, 8, ["title", "value"])
|
|
@@ -7342,7 +7342,7 @@ const pc = (t) => {
|
|
|
7342
7342
|
function q(f) {
|
|
7343
7343
|
i.value = f;
|
|
7344
7344
|
}
|
|
7345
|
-
function
|
|
7345
|
+
function X(f) {
|
|
7346
7346
|
a.value = f;
|
|
7347
7347
|
}
|
|
7348
7348
|
function y(f) {
|
|
@@ -7442,7 +7442,7 @@ const pc = (t) => {
|
|
|
7442
7442
|
setAssetType: q,
|
|
7443
7443
|
setLicenceId: c,
|
|
7444
7444
|
setSingleMode: u,
|
|
7445
|
-
setMinCount:
|
|
7445
|
+
setMinCount: X,
|
|
7446
7446
|
setMaxCount: y,
|
|
7447
7447
|
showLoader: d,
|
|
7448
7448
|
hideLoader: l,
|
|
@@ -7479,7 +7479,7 @@ function Mr() {
|
|
|
7479
7479
|
e.toggleSelectedByIndex(T.index);
|
|
7480
7480
|
}, q = async () => {
|
|
7481
7481
|
e.reset(), Er.type.default = [e.assetType], o(Er, ar, l);
|
|
7482
|
-
},
|
|
7482
|
+
}, X = () => {
|
|
7483
7483
|
Xs.value = !0;
|
|
7484
7484
|
}, y = () => {
|
|
7485
7485
|
Xs.value = !1;
|
|
@@ -7499,7 +7499,7 @@ function Mr() {
|
|
|
7499
7499
|
fetchAssetList: l,
|
|
7500
7500
|
fetchNextPage: c,
|
|
7501
7501
|
resetAssetList: q,
|
|
7502
|
-
filterTouch:
|
|
7502
|
+
filterTouch: X,
|
|
7503
7503
|
filterUnTouch: y,
|
|
7504
7504
|
initStoreContext: A
|
|
7505
7505
|
};
|
|
@@ -7592,7 +7592,7 @@ const gc = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
7592
7592
|
class: "anzu-common-asset-image__icon-circle",
|
|
7593
7593
|
style: Ut({ padding: o.iconSize / 4 + "px" })
|
|
7594
7594
|
}, [
|
|
7595
|
-
s.value.length ? (x(), $(
|
|
7595
|
+
s.value.length ? (x(), $(ue, {
|
|
7596
7596
|
key: 0,
|
|
7597
7597
|
size: o.iconSize,
|
|
7598
7598
|
icon: s.value,
|
|
@@ -7611,7 +7611,7 @@ const gc = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
|
|
|
7611
7611
|
class: "asset-image__icon-circle",
|
|
7612
7612
|
style: Ut({ padding: o.iconSize / 4 + "px" })
|
|
7613
7613
|
}, [
|
|
7614
|
-
s.value.length ? (x(), $(
|
|
7614
|
+
s.value.length ? (x(), $(ue, {
|
|
7615
7615
|
key: 0,
|
|
7616
7616
|
size: o.iconSize,
|
|
7617
7617
|
icon: s.value,
|
|
@@ -7641,24 +7641,24 @@ const xc = (t, r = 2) => {
|
|
|
7641
7641
|
r("itemClick", { assetId: n.value.id, index: e.index });
|
|
7642
7642
|
};
|
|
7643
7643
|
return (c, u) => {
|
|
7644
|
-
var q,
|
|
7644
|
+
var q, X;
|
|
7645
7645
|
return x(), z("tr", {
|
|
7646
7646
|
class: Xe(["a-datatable__row", { "a-datatable__row--selected": s.value.selected }]),
|
|
7647
7647
|
onClick: Z(l, ["stop", "exact"])
|
|
7648
7648
|
}, [
|
|
7649
7649
|
O("td", null, [
|
|
7650
|
-
s.value.selected ? (x(), $(
|
|
7650
|
+
s.value.selected ? (x(), $(ue, {
|
|
7651
7651
|
key: 0,
|
|
7652
7652
|
icon: "mdi-checkbox-outline",
|
|
7653
7653
|
size: 20
|
|
7654
|
-
})) : (x(), $(
|
|
7654
|
+
})) : (x(), $(ue, {
|
|
7655
7655
|
key: 1,
|
|
7656
7656
|
icon: "mdi-checkbox-blank-outline",
|
|
7657
7657
|
size: 20
|
|
7658
7658
|
}))
|
|
7659
7659
|
]),
|
|
7660
7660
|
O("td", null, [
|
|
7661
|
-
|
|
7661
|
+
m(Ba, {
|
|
7662
7662
|
"asset-type": b(o),
|
|
7663
7663
|
"asset-status": b(d),
|
|
7664
7664
|
src: b(a).url,
|
|
@@ -7671,12 +7671,12 @@ const xc = (t, r = 2) => {
|
|
|
7671
7671
|
]),
|
|
7672
7672
|
O("td", null, D(b(n).texts.displayTitle || b(i)("commonCoreDam.asset.list.noTitle")), 1),
|
|
7673
7673
|
O("td", null, [
|
|
7674
|
-
|
|
7674
|
+
m(Zr, {
|
|
7675
7675
|
"date-time": b(n).createdAt
|
|
7676
7676
|
}, null, 8, ["date-time"])
|
|
7677
7677
|
]),
|
|
7678
7678
|
O("td", null, D((q = b(n).mainFile) == null ? void 0 : q.fileAttributes.mimeType), 1),
|
|
7679
|
-
O("td", null, D(b(xc)(((
|
|
7679
|
+
O("td", null, D(b(xc)(((X = b(n).mainFile) == null ? void 0 : X.fileAttributes.size) || 0)), 1)
|
|
7680
7680
|
], 10, bc);
|
|
7681
7681
|
};
|
|
7682
7682
|
}
|
|
@@ -7763,18 +7763,18 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
|
|
|
7763
7763
|
O("div", Ec, [
|
|
7764
7764
|
O("div", $c, [
|
|
7765
7765
|
O("div", Pc, [
|
|
7766
|
-
|
|
7766
|
+
m(ae, {
|
|
7767
7767
|
icon: "",
|
|
7768
7768
|
width: 30,
|
|
7769
7769
|
height: 30,
|
|
7770
7770
|
onClick: b(i)
|
|
7771
7771
|
}, {
|
|
7772
7772
|
default: g(() => [
|
|
7773
|
-
|
|
7773
|
+
m(ue, {
|
|
7774
7774
|
icon: "mdi-tune",
|
|
7775
7775
|
size: 16
|
|
7776
7776
|
}),
|
|
7777
|
-
|
|
7777
|
+
m(Ce, {
|
|
7778
7778
|
activator: "parent",
|
|
7779
7779
|
location: "bottom"
|
|
7780
7780
|
}, {
|
|
@@ -7790,15 +7790,15 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
|
|
|
7790
7790
|
]),
|
|
7791
7791
|
O("div", Bc, [
|
|
7792
7792
|
Ve(s.$slots, "second-bar-right"),
|
|
7793
|
-
|
|
7793
|
+
m(ae, {
|
|
7794
7794
|
size: "x-small",
|
|
7795
7795
|
icon: "",
|
|
7796
7796
|
variant: "text",
|
|
7797
7797
|
onClick: n[0] || (n[0] = Z((a) => b(e)(b(Fr).Masonry), ["stop"]))
|
|
7798
7798
|
}, {
|
|
7799
7799
|
default: g(() => [
|
|
7800
|
-
|
|
7801
|
-
|
|
7800
|
+
m(ue, { icon: "mdi-view-compact" }),
|
|
7801
|
+
m(Ce, {
|
|
7802
7802
|
activator: "parent",
|
|
7803
7803
|
location: "bottom"
|
|
7804
7804
|
}, {
|
|
@@ -7810,15 +7810,15 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
|
|
|
7810
7810
|
]),
|
|
7811
7811
|
_: 1
|
|
7812
7812
|
}),
|
|
7813
|
-
|
|
7813
|
+
m(ae, {
|
|
7814
7814
|
icon: "",
|
|
7815
7815
|
size: "x-small",
|
|
7816
7816
|
variant: "text",
|
|
7817
7817
|
onClick: n[1] || (n[1] = Z((a) => b(e)(b(Fr).Thumbnail), ["stop"]))
|
|
7818
7818
|
}, {
|
|
7819
7819
|
default: g(() => [
|
|
7820
|
-
|
|
7821
|
-
|
|
7820
|
+
m(ue, { icon: "mdi-view-grid" }),
|
|
7821
|
+
m(Ce, {
|
|
7822
7822
|
activator: "parent",
|
|
7823
7823
|
location: "bottom"
|
|
7824
7824
|
}, {
|
|
@@ -7830,15 +7830,15 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
|
|
|
7830
7830
|
]),
|
|
7831
7831
|
_: 1
|
|
7832
7832
|
}),
|
|
7833
|
-
|
|
7833
|
+
m(ae, {
|
|
7834
7834
|
size: "x-small",
|
|
7835
7835
|
icon: "",
|
|
7836
7836
|
variant: "text",
|
|
7837
7837
|
onClick: n[2] || (n[2] = Z((a) => b(e)(b(Fr).Table), ["stop"]))
|
|
7838
7838
|
}, {
|
|
7839
7839
|
default: g(() => [
|
|
7840
|
-
|
|
7841
|
-
|
|
7840
|
+
m(ue, { icon: "mdi-view-headline" }),
|
|
7841
|
+
m(Ce, {
|
|
7842
7842
|
activator: "parent",
|
|
7843
7843
|
location: "bottom"
|
|
7844
7844
|
}, {
|
|
@@ -7880,14 +7880,14 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
|
|
|
7880
7880
|
O("div", zc, [
|
|
7881
7881
|
n.value.selected ? (x(), z("div", Lc, [
|
|
7882
7882
|
Rc,
|
|
7883
|
-
|
|
7883
|
+
m(ue, {
|
|
7884
7884
|
class: "asset-list-tiles__selected-triangle__icon",
|
|
7885
7885
|
icon: "mdi-check",
|
|
7886
7886
|
color: "white",
|
|
7887
7887
|
size: "x-small"
|
|
7888
7888
|
})
|
|
7889
7889
|
])) : ee("", !0),
|
|
7890
|
-
|
|
7890
|
+
m(Ba, {
|
|
7891
7891
|
"asset-type": b(o),
|
|
7892
7892
|
"asset-status": b(d),
|
|
7893
7893
|
src: b(l).url,
|
|
@@ -7937,11 +7937,11 @@ const Qc = /* @__PURE__ */ H({
|
|
|
7937
7937
|
i(), s();
|
|
7938
7938
|
};
|
|
7939
7939
|
return (o, d) => (x(), z(_e, null, [
|
|
7940
|
-
|
|
7940
|
+
m(Wt, null, {
|
|
7941
7941
|
default: g(() => [
|
|
7942
|
-
|
|
7942
|
+
m(yt, { cols: 12 }, {
|
|
7943
7943
|
default: g(() => [
|
|
7944
|
-
|
|
7944
|
+
m(ha, {
|
|
7945
7945
|
modelValue: b(r).text,
|
|
7946
7946
|
"onUpdate:modelValue": [
|
|
7947
7947
|
d[0] || (d[0] = (l) => b(r).text = l),
|
|
@@ -7955,11 +7955,11 @@ const Qc = /* @__PURE__ */ H({
|
|
|
7955
7955
|
]),
|
|
7956
7956
|
_: 1
|
|
7957
7957
|
}),
|
|
7958
|
-
|
|
7958
|
+
m(Wt, null, {
|
|
7959
7959
|
default: g(() => [
|
|
7960
|
-
|
|
7960
|
+
m(yt, { cols: 12 }, {
|
|
7961
7961
|
default: g(() => [
|
|
7962
|
-
|
|
7962
|
+
m(Ys, {
|
|
7963
7963
|
modelValue: b(r).described,
|
|
7964
7964
|
"onUpdate:modelValue": [
|
|
7965
7965
|
d[1] || (d[1] = (l) => b(r).described = l),
|
|
@@ -7972,11 +7972,11 @@ const Qc = /* @__PURE__ */ H({
|
|
|
7972
7972
|
]),
|
|
7973
7973
|
_: 1
|
|
7974
7974
|
}),
|
|
7975
|
-
|
|
7975
|
+
m(Wt, null, {
|
|
7976
7976
|
default: g(() => [
|
|
7977
|
-
|
|
7977
|
+
m(yt, { cols: 12 }, {
|
|
7978
7978
|
default: g(() => [
|
|
7979
|
-
|
|
7979
|
+
m(Ys, {
|
|
7980
7980
|
modelValue: b(r).visible,
|
|
7981
7981
|
"onUpdate:modelValue": [
|
|
7982
7982
|
d[2] || (d[2] = (l) => b(r).visible = l),
|
|
@@ -7989,11 +7989,11 @@ const Qc = /* @__PURE__ */ H({
|
|
|
7989
7989
|
]),
|
|
7990
7990
|
_: 1
|
|
7991
7991
|
}),
|
|
7992
|
-
|
|
7992
|
+
m(Wt, null, {
|
|
7993
7993
|
default: g(() => [
|
|
7994
|
-
|
|
7994
|
+
m(yt, null, {
|
|
7995
7995
|
default: g(() => [
|
|
7996
|
-
|
|
7996
|
+
m(Ys, {
|
|
7997
7997
|
modelValue: b(r).generatedBySystem,
|
|
7998
7998
|
"onUpdate:modelValue": [
|
|
7999
7999
|
d[3] || (d[3] = (l) => b(r).generatedBySystem = l),
|
|
@@ -8018,9 +8018,9 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8018
8018
|
};
|
|
8019
8019
|
return (o, d) => (x(), $(Wt, null, {
|
|
8020
8020
|
default: g(() => [
|
|
8021
|
-
|
|
8021
|
+
m(yt, { cols: 12 }, {
|
|
8022
8022
|
default: g(() => [
|
|
8023
|
-
|
|
8023
|
+
m(ha, {
|
|
8024
8024
|
modelValue: b(r).text,
|
|
8025
8025
|
"onUpdate:modelValue": [
|
|
8026
8026
|
d[0] || (d[0] = (l) => b(r).text = l),
|
|
@@ -8052,7 +8052,7 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8052
8052
|
});
|
|
8053
8053
|
return (c, u) => (x(), z("div", tV, [
|
|
8054
8054
|
O("div", rV, [
|
|
8055
|
-
|
|
8055
|
+
m(na, {
|
|
8056
8056
|
name: "search2",
|
|
8057
8057
|
class: "px-2 pt-4",
|
|
8058
8058
|
onSubmit: Z(o, ["prevent"])
|
|
@@ -8064,7 +8064,7 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8064
8064
|
}, 8, ["onSubmit"])
|
|
8065
8065
|
]),
|
|
8066
8066
|
O("div", iV, [
|
|
8067
|
-
|
|
8067
|
+
m(ae, {
|
|
8068
8068
|
color: "primary",
|
|
8069
8069
|
class: "mx-2",
|
|
8070
8070
|
variant: b(n) ? "flat" : "text",
|
|
@@ -8076,7 +8076,7 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8076
8076
|
]),
|
|
8077
8077
|
_: 1
|
|
8078
8078
|
}, 8, ["variant", "onClick"]),
|
|
8079
|
-
|
|
8079
|
+
m(ae, {
|
|
8080
8080
|
class: "px-2",
|
|
8081
8081
|
color: "light",
|
|
8082
8082
|
"min-width": "36px",
|
|
@@ -8085,8 +8085,8 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8085
8085
|
onClick: Z(d, ["stop"])
|
|
8086
8086
|
}, {
|
|
8087
8087
|
default: g(() => [
|
|
8088
|
-
|
|
8089
|
-
|
|
8088
|
+
m(ue, { icon: "mdi-filter-remove-outline" }),
|
|
8089
|
+
m(Ce, {
|
|
8090
8090
|
activator: "parent",
|
|
8091
8091
|
location: "bottom"
|
|
8092
8092
|
}, {
|
|
@@ -8120,11 +8120,11 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8120
8120
|
set(ie) {
|
|
8121
8121
|
n.value = ie, e("update:modelValue", ie);
|
|
8122
8122
|
}
|
|
8123
|
-
}), { selectedCount: o, loader: d, pagination: l, fetchNextPage: c, resetAssetList: u, getSelectedData: q, initStoreContext:
|
|
8123
|
+
}), { selectedCount: o, loader: d, pagination: l, fetchNextPage: c, resetAssetList: u, getSelectedData: q, initStoreContext: X } = Mr(), { openSidebar: y, sidebarLeft: A } = Oa(), T = Ie(Va, void 0), j = () => {
|
|
8124
8124
|
const ie = i.assetLicenceId || T;
|
|
8125
8125
|
if (k(ie))
|
|
8126
8126
|
throw new Error("LicenceId must be provided. Provide using props or common-admin configuration.");
|
|
8127
|
-
|
|
8127
|
+
X(
|
|
8128
8128
|
ie,
|
|
8129
8129
|
Vc(i.assetType),
|
|
8130
8130
|
i.minCount === 1 && i.minCount === i.maxCount,
|
|
@@ -8155,7 +8155,7 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8155
8155
|
Ve(ie.$slots, "activator", {
|
|
8156
8156
|
props: { onClick: Z(() => j(), ["stop"]) }
|
|
8157
8157
|
}),
|
|
8158
|
-
|
|
8158
|
+
m(Xr, {
|
|
8159
8159
|
"model-value": a.value,
|
|
8160
8160
|
fullscreen: "",
|
|
8161
8161
|
class: "subject-select",
|
|
@@ -8167,7 +8167,7 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8167
8167
|
class: "subject-select__card"
|
|
8168
8168
|
}, {
|
|
8169
8169
|
default: g(() => [
|
|
8170
|
-
|
|
8170
|
+
m(_r, {
|
|
8171
8171
|
class: "subject-select__toolbar system-border-b",
|
|
8172
8172
|
onOnCancel: E
|
|
8173
8173
|
}, {
|
|
@@ -8178,12 +8178,12 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8178
8178
|
]),
|
|
8179
8179
|
_: 3
|
|
8180
8180
|
}),
|
|
8181
|
-
|
|
8181
|
+
m(Oc),
|
|
8182
8182
|
O("div", {
|
|
8183
8183
|
class: Xe(["subject-select__main", { "subject-select__main--sidebar-active": b(A) }])
|
|
8184
8184
|
}, [
|
|
8185
8185
|
O("div", nV, [
|
|
8186
|
-
|
|
8186
|
+
m(sV)
|
|
8187
8187
|
]),
|
|
8188
8188
|
O("div", aV, [
|
|
8189
8189
|
(x(), $(ri(G.value))),
|
|
@@ -8212,8 +8212,8 @@ const Qc = /* @__PURE__ */ H({
|
|
|
8212
8212
|
maxCount: i.maxCount,
|
|
8213
8213
|
selected: b(o)
|
|
8214
8214
|
})), 1)),
|
|
8215
|
-
|
|
8216
|
-
|
|
8215
|
+
m(Et),
|
|
8216
|
+
m(K, {
|
|
8217
8217
|
disabled: re.value,
|
|
8218
8218
|
onClick: Z(B, ["stop"])
|
|
8219
8219
|
}, {
|
|
@@ -8409,8 +8409,8 @@ function Oe(t, r, e, i, s) {
|
|
|
8409
8409
|
}
|
|
8410
8410
|
while (s = s.parentNode);
|
|
8411
8411
|
if (i && t !== window) {
|
|
8412
|
-
var
|
|
8413
|
-
|
|
8412
|
+
var X = Cr(s || t), y = X && X.a, A = X && X.d;
|
|
8413
|
+
X && (a /= A, o /= y, u /= y, c /= A, d = a + c, l = o + u);
|
|
8414
8414
|
}
|
|
8415
8415
|
return {
|
|
8416
8416
|
top: a,
|
|
@@ -8562,9 +8562,9 @@ function pV() {
|
|
|
8562
8562
|
}
|
|
8563
8563
|
var n = !1, a = 0;
|
|
8564
8564
|
t.forEach(function(o) {
|
|
8565
|
-
var d = 0, l = o.target, c = l.fromRect, u = Oe(l), q = l.prevFromRect,
|
|
8565
|
+
var d = 0, l = o.target, c = l.fromRect, u = Oe(l), q = l.prevFromRect, X = l.prevToRect, y = o.rect, A = Cr(l, !0);
|
|
8566
8566
|
A && (u.top -= A.f, u.left -= A.e), l.toRect = u, l.thisAnimationDuration && ps(q, u) && !ps(c, u) && // Make sure animatingRect is on line between toRect & fromRect
|
|
8567
|
-
(y.top - u.top) / (y.left - u.left) === (c.top - u.top) / (c.left - u.left) && (d = AV(y, q,
|
|
8567
|
+
(y.top - u.top) / (y.left - u.left) === (c.top - u.top) / (c.left - u.left) && (d = AV(y, q, X, s.options)), ps(u, c) || (l.prevFromRect = c, l.prevToRect = u, d || (d = s.options.animation), s.animate(l, y, u, d)), d && (n = !0, a = Math.max(a, d), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
|
|
8568
8568
|
l.animationTime = 0, l.prevFromRect = null, l.fromRect = null, l.prevToRect = null, l.thisAnimationDuration = null;
|
|
8569
8569
|
}, d), l.thisAnimationDuration = d);
|
|
8570
8570
|
}), clearTimeout(r), n ? r = setTimeout(function() {
|
|
@@ -8641,13 +8641,13 @@ var Ar = [], gs = {
|
|
|
8641
8641
|
}
|
|
8642
8642
|
};
|
|
8643
8643
|
function hV(t) {
|
|
8644
|
-
var r = t.sortable, e = t.rootEl, i = t.name, s = t.targetEl, n = t.cloneEl, a = t.toEl, o = t.fromEl, d = t.oldIndex, l = t.newIndex, c = t.oldDraggableIndex, u = t.newDraggableIndex, q = t.originalEvent,
|
|
8644
|
+
var r = t.sortable, e = t.rootEl, i = t.name, s = t.targetEl, n = t.cloneEl, a = t.toEl, o = t.fromEl, d = t.oldIndex, l = t.newIndex, c = t.oldDraggableIndex, u = t.newDraggableIndex, q = t.originalEvent, X = t.putSortable, y = t.extraEventProperties;
|
|
8645
8645
|
if (r = r || e && e[lt], !!r) {
|
|
8646
8646
|
var A, T = r.options, j = "on" + i.charAt(0).toUpperCase() + i.substr(1);
|
|
8647
8647
|
window.CustomEvent && !Rt && !oi ? A = new CustomEvent(i, {
|
|
8648
8648
|
bubbles: !0,
|
|
8649
8649
|
cancelable: !0
|
|
8650
|
-
}) : (A = document.createEvent("Event"), A.initEvent(i, !0, !0)), A.to = a || e, A.from = o || e, A.item = s || e, A.clone = n, A.oldIndex = d, A.newIndex = l, A.oldDraggableIndex = c, A.newDraggableIndex = u, A.originalEvent = q, A.pullMode =
|
|
8650
|
+
}) : (A = document.createEvent("Event"), A.initEvent(i, !0, !0)), A.to = a || e, A.from = o || e, A.item = s || e, A.clone = n, A.oldIndex = d, A.newIndex = l, A.oldDraggableIndex = c, A.newDraggableIndex = u, A.originalEvent = q, A.pullMode = X ? X.lastPutMode : void 0;
|
|
8651
8651
|
var E = Kt(Kt({}, y), di.getEventProperties(i, r));
|
|
8652
8652
|
for (var B in E)
|
|
8653
8653
|
A[B] = E[B];
|
|
@@ -9021,14 +9021,14 @@ Fe.prototype = /** @lends Sortable.prototype */
|
|
|
9021
9021
|
},
|
|
9022
9022
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
9023
9023
|
_onDragOver: function(r) {
|
|
9024
|
-
var e = this.el, i = r.target, s, n, a, o = this.options, d = o.group, l = Fe.active, c = pi === d, u = o.sort, q = Le || l,
|
|
9024
|
+
var e = this.el, i = r.target, s, n, a, o = this.options, d = o.group, l = Fe.active, c = pi === d, u = o.sort, q = Le || l, X, y = this, A = !1;
|
|
9025
9025
|
if (Bs)
|
|
9026
9026
|
return;
|
|
9027
9027
|
function T(v, R) {
|
|
9028
9028
|
Ze(v, y, Kt({
|
|
9029
9029
|
evt: r,
|
|
9030
9030
|
isOwner: c,
|
|
9031
|
-
axis:
|
|
9031
|
+
axis: X ? "vertical" : "horizontal",
|
|
9032
9032
|
revert: a,
|
|
9033
9033
|
dragRect: s,
|
|
9034
9034
|
targetRect: n,
|
|
@@ -9036,8 +9036,8 @@ Fe.prototype = /** @lends Sortable.prototype */
|
|
|
9036
9036
|
fromSortable: q,
|
|
9037
9037
|
target: i,
|
|
9038
9038
|
completed: E,
|
|
9039
|
-
onMove: function(
|
|
9040
|
-
return hi(De, e, W, s,
|
|
9039
|
+
onMove: function(oe, Ye) {
|
|
9040
|
+
return hi(De, e, W, s, oe, Oe(oe), r, Ye);
|
|
9041
9041
|
},
|
|
9042
9042
|
changed: B
|
|
9043
9043
|
}, R));
|
|
@@ -9067,17 +9067,17 @@ Fe.prototype = /** @lends Sortable.prototype */
|
|
|
9067
9067
|
if (W.contains(r.target) || i.animated && i.animatingX && i.animatingY || y._ignoreWhileAnimating === i)
|
|
9068
9068
|
return E(!1);
|
|
9069
9069
|
if (Bi = !1, l && !o.disabled && (c ? u || (a = Ee !== De) : Le === this || (this.lastPutMode = pi.checkPull(this, l, W, r)) && d.checkPut(this, l, W, r))) {
|
|
9070
|
-
if (
|
|
9070
|
+
if (X = this._getDirection(r, i) === "vertical", s = Oe(W), T("dragOverValid"), Fe.eventCanceled)
|
|
9071
9071
|
return A;
|
|
9072
9072
|
if (a)
|
|
9073
9073
|
return Ee = De, j(), this._hideClone(), T("revert"), Fe.eventCanceled || (cr ? De.insertBefore(W, cr) : De.appendChild(W)), E(!0);
|
|
9074
9074
|
var _ = Qs(e, o.draggable);
|
|
9075
|
-
if (!_ || _V(r,
|
|
9075
|
+
if (!_ || _V(r, X, this) && !_.animated) {
|
|
9076
9076
|
if (_ === W)
|
|
9077
9077
|
return E(!1);
|
|
9078
9078
|
if (_ && e === r.target && (i = _), i && (n = Oe(i)), hi(De, e, W, s, i, n, r, !!i) !== !1)
|
|
9079
9079
|
return j(), _ && _.nextSibling ? e.insertBefore(W, _.nextSibling) : e.appendChild(W), Ee = e, B(), E(!0);
|
|
9080
|
-
} else if (_ && wV(r,
|
|
9080
|
+
} else if (_ && wV(r, X, this)) {
|
|
9081
9081
|
var P = Kr(e, 0, o, !0);
|
|
9082
9082
|
if (P === W)
|
|
9083
9083
|
return E(!1);
|
|
@@ -9085,8 +9085,8 @@ Fe.prototype = /** @lends Sortable.prototype */
|
|
|
9085
9085
|
return j(), e.insertBefore(W, P), Ee = e, B(), E(!0);
|
|
9086
9086
|
} else if (i.parentNode === e) {
|
|
9087
9087
|
n = Oe(i);
|
|
9088
|
-
var G = 0, re, ie = W.parentNode !== e, le = !bV(W.animated && W.toRect || s, i.animated && i.toRect || n,
|
|
9089
|
-
hr !== i && (re = n[te], Gr = !1, gi = !le && o.invertSwap || ie), G = DV(r, i, n,
|
|
9088
|
+
var G = 0, re, ie = W.parentNode !== e, le = !bV(W.animated && W.toRect || s, i.animated && i.toRect || n, X), te = X ? "top" : "left", K = kn(i, "top", "top") || kn(W, "top", "top"), S = K ? K.scrollTop : void 0;
|
|
9089
|
+
hr !== i && (re = n[te], Gr = !1, gi = !le && o.invertSwap || ie), G = DV(r, i, n, X, le ? 1 : o.swapThreshold, o.invertedSwapThreshold == null ? o.swapThreshold : o.invertedSwapThreshold, gi, hr === i);
|
|
9090
9090
|
var f;
|
|
9091
9091
|
if (G !== 0) {
|
|
9092
9092
|
var Y = qt(W);
|
|
@@ -9097,11 +9097,11 @@ Fe.prototype = /** @lends Sortable.prototype */
|
|
|
9097
9097
|
if (G === 0 || f === i)
|
|
9098
9098
|
return E(!1);
|
|
9099
9099
|
hr = i, Ur = G;
|
|
9100
|
-
var h = i.nextElementSibling,
|
|
9101
|
-
|
|
9102
|
-
var I = hi(De, e, W, s, i, n, r,
|
|
9100
|
+
var h = i.nextElementSibling, p = !1;
|
|
9101
|
+
p = G === 1;
|
|
9102
|
+
var I = hi(De, e, W, s, i, n, r, p);
|
|
9103
9103
|
if (I !== !1)
|
|
9104
|
-
return (I === 1 || I === -1) && (
|
|
9104
|
+
return (I === 1 || I === -1) && (p = I === 1), Bs = !0, setTimeout(IV, 30), j(), p && !h ? e.appendChild(W) : i.parentNode.insertBefore(W, p ? h : i), K && Ha(K, 0, S - K.scrollTop), Ee = W.parentNode, re !== void 0 && !gi && (wi = Math.abs(re - Oe(i)[te])), B(), E(!0);
|
|
9105
9105
|
}
|
|
9106
9106
|
if (e.contains(W))
|
|
9107
9107
|
return E(!1);
|
|
@@ -9433,16 +9433,16 @@ var Cs = ja(function(t, r, e, i) {
|
|
|
9433
9433
|
Ns !== e && (Ns = e, Di(), Pr = r.scroll, c = r.scrollFn, Pr === !0 && (Pr = Jt(e, !0)));
|
|
9434
9434
|
var u = 0, q = Pr;
|
|
9435
9435
|
do {
|
|
9436
|
-
var
|
|
9437
|
-
|
|
9436
|
+
var X = q, y = Oe(X), A = y.top, T = y.bottom, j = y.left, E = y.right, B = y.width, _ = y.height, P = void 0, G = void 0, re = X.scrollWidth, ie = X.scrollHeight, le = fe(X), te = X.scrollLeft, K = X.scrollTop;
|
|
9437
|
+
X === d ? (P = B < re && (le.overflowX === "auto" || le.overflowX === "scroll" || le.overflowX === "visible"), G = _ < ie && (le.overflowY === "auto" || le.overflowY === "scroll" || le.overflowY === "visible")) : (P = B < re && (le.overflowX === "auto" || le.overflowX === "scroll"), G = _ < ie && (le.overflowY === "auto" || le.overflowY === "scroll"));
|
|
9438
9438
|
var S = P && (Math.abs(E - s) <= a && te + B < re) - (Math.abs(j - s) <= a && !!te), f = G && (Math.abs(T - n) <= a && K + _ < ie) - (Math.abs(A - n) <= a && !!K);
|
|
9439
9439
|
if (!Be[u])
|
|
9440
9440
|
for (var Y = 0; Y <= u; Y++)
|
|
9441
9441
|
Be[Y] || (Be[Y] = {});
|
|
9442
|
-
(Be[u].vx != S || Be[u].vy != f || Be[u].el !==
|
|
9442
|
+
(Be[u].vx != S || Be[u].vy != f || Be[u].el !== X) && (Be[u].el = X, Be[u].vx = S, Be[u].vy = f, clearInterval(Be[u].pid), (S != 0 || f != 0) && (l = !0, Be[u].pid = setInterval((function() {
|
|
9443
9443
|
i && this.layer === 0 && Fe.active._onTouchMove(zi);
|
|
9444
|
-
var h = Be[this.layer].vy ? Be[this.layer].vy * o : 0,
|
|
9445
|
-
typeof c == "function" && c.call(Fe.dragged.parentNode[lt],
|
|
9444
|
+
var h = Be[this.layer].vy ? Be[this.layer].vy * o : 0, p = Be[this.layer].vx ? Be[this.layer].vx * o : 0;
|
|
9445
|
+
typeof c == "function" && c.call(Fe.dragged.parentNode[lt], p, h, t, zi, Be[this.layer].el) !== "continue" || Ha(Be[this.layer].el, p, h);
|
|
9446
9446
|
}).bind({
|
|
9447
9447
|
layer: u
|
|
9448
9448
|
}), 24))), u++;
|
|
@@ -9582,7 +9582,7 @@ function RV(t, r, e, i) {
|
|
|
9582
9582
|
raw: f
|
|
9583
9583
|
};
|
|
9584
9584
|
}
|
|
9585
|
-
const q = w(() => t.value.map((f, Y) => u(f, Y))),
|
|
9585
|
+
const q = w(() => t.value.map((f, Y) => u(f, Y))), X = (f = void 0) => {
|
|
9586
9586
|
l.value++, k(f) || i("update:modelValue", f), qr(() => {
|
|
9587
9587
|
r();
|
|
9588
9588
|
});
|
|
@@ -9590,54 +9590,54 @@ function RV(t, r, e, i) {
|
|
|
9590
9590
|
c.value.add(f);
|
|
9591
9591
|
}, A = (f) => {
|
|
9592
9592
|
c.value.delete(f);
|
|
9593
|
-
}, T = (f, Y, h,
|
|
9593
|
+
}, T = (f, Y, h, p = []) => {
|
|
9594
9594
|
const I = Y > h ? h : Y;
|
|
9595
9595
|
let v = I + 1;
|
|
9596
9596
|
for (let R = I; R < f.length; R++)
|
|
9597
|
-
Dl(f[R], e.positionField, v), y(f[R][e.keyField]), v++,
|
|
9597
|
+
Dl(f[R], e.positionField, v), y(f[R][e.keyField]), v++, p.push({
|
|
9598
9598
|
id: f[R].id,
|
|
9599
9599
|
position: f[R].position
|
|
9600
9600
|
});
|
|
9601
|
-
return
|
|
9601
|
+
return p;
|
|
9602
9602
|
}, j = (f, Y) => {
|
|
9603
9603
|
const h = xe(t.value);
|
|
9604
9604
|
if (Y >= 0 && Y < h.length) {
|
|
9605
|
-
let
|
|
9605
|
+
let p = [];
|
|
9606
9606
|
const I = h.splice(f, 1)[0];
|
|
9607
|
-
return h.splice(Y, 0, I), k(e.updatePosition) || (
|
|
9607
|
+
return h.splice(Y, 0, I), k(e.updatePosition) || (p = T(h, f, Y)), i("update:modelValue", h), p;
|
|
9608
9608
|
}
|
|
9609
9609
|
return [];
|
|
9610
9610
|
}, E = (f, Y) => {
|
|
9611
|
-
const h = Y.findIndex((
|
|
9611
|
+
const h = Y.findIndex((p) => p[e.keyField] === f);
|
|
9612
9612
|
return h === -1 ? null : h;
|
|
9613
|
-
}, B = (f, Y, h,
|
|
9614
|
-
f.data = xe(Y),
|
|
9615
|
-
}, _ = (f, Y, h = null,
|
|
9613
|
+
}, B = (f, Y, h, p = null) => {
|
|
9614
|
+
f.data = xe(Y), ce(h) || (f.data.position = h), ce(p) || y(Y.id);
|
|
9615
|
+
}, _ = (f, Y, h = null, p = null) => {
|
|
9616
9616
|
const I = xe(t.value), v = E(f, I);
|
|
9617
|
-
!
|
|
9618
|
-
}, P = (f, Y, h,
|
|
9617
|
+
!ce(v) && I[v] && (B(I[v], Y, h, p), X(I));
|
|
9618
|
+
}, P = (f, Y, h, p = null) => {
|
|
9619
9619
|
const I = xe(t.value);
|
|
9620
|
-
I[f] && (B(I[f], Y, h,
|
|
9620
|
+
I[f] && (B(I[f], Y, h, p), X(I));
|
|
9621
9621
|
}, G = (f, Y) => {
|
|
9622
9622
|
const h = xe(t.value);
|
|
9623
|
-
if (
|
|
9624
|
-
return h.push(xe(Y)),
|
|
9625
|
-
const
|
|
9626
|
-
return h[f] ? (h.splice(f + 1, 0, Y), T(h, f + 1, f + 1,
|
|
9623
|
+
if (ce(f))
|
|
9624
|
+
return h.push(xe(Y)), X(h), [];
|
|
9625
|
+
const p = [];
|
|
9626
|
+
return h[f] ? (h.splice(f + 1, 0, Y), T(h, f + 1, f + 1, p), X(h), p) : [];
|
|
9627
9627
|
}, re = (f, Y) => {
|
|
9628
9628
|
const h = xe(t.value);
|
|
9629
|
-
if (
|
|
9630
|
-
return h.push(xe(Y)),
|
|
9631
|
-
const
|
|
9632
|
-
return !
|
|
9629
|
+
if (ce(f))
|
|
9630
|
+
return h.push(xe(Y)), X(h), [];
|
|
9631
|
+
const p = E(f, h), I = [];
|
|
9632
|
+
return !ce(p) && h[p] ? (h.splice(p + 1, 0, Y), T(h, p + 1, p + 1, I), X(h), I) : [];
|
|
9633
9633
|
}, ie = (f) => {
|
|
9634
|
-
const Y = xe(t.value), h = E(f, Y),
|
|
9635
|
-
return !
|
|
9634
|
+
const Y = xe(t.value), h = E(f, Y), p = [];
|
|
9635
|
+
return !ce(h) && Y[h] ? (Y.splice(h, 1), T(Y, h, h, p), A(f), X(Y), p) : [];
|
|
9636
9636
|
}, le = (f) => {
|
|
9637
9637
|
const Y = xe(t.value), h = [];
|
|
9638
9638
|
if (Y[f]) {
|
|
9639
|
-
const
|
|
9640
|
-
return Y.splice(f, 1), T(Y, f, f, h), A(
|
|
9639
|
+
const p = Y[f][e.keyField];
|
|
9640
|
+
return Y.splice(f, 1), T(Y, f, f, h), A(p), X(Y), h;
|
|
9641
9641
|
}
|
|
9642
9642
|
return [];
|
|
9643
9643
|
}, te = () => {
|
|
@@ -9656,7 +9656,7 @@ function RV(t, r, e, i) {
|
|
|
9656
9656
|
te(), r();
|
|
9657
9657
|
},
|
|
9658
9658
|
onRemoveDialogConfirm: () => {
|
|
9659
|
-
|
|
9659
|
+
ce(n.value) || (i("onDelete", n.value), s.value = !1);
|
|
9660
9660
|
},
|
|
9661
9661
|
destroy: te,
|
|
9662
9662
|
moveArrayElement: j,
|
|
@@ -9712,13 +9712,13 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9712
9712
|
onEnd: async (h) => {
|
|
9713
9713
|
if (i.disableDefaultSort || k(h.oldIndex) || k(h.newIndex))
|
|
9714
9714
|
return;
|
|
9715
|
-
const
|
|
9716
|
-
e("onEnd",
|
|
9715
|
+
const p = A(h.oldIndex, h.newIndex);
|
|
9716
|
+
e("onEnd", p);
|
|
9717
9717
|
}
|
|
9718
9718
|
}));
|
|
9719
9719
|
}, {
|
|
9720
9720
|
items: q,
|
|
9721
|
-
forceRerender:
|
|
9721
|
+
forceRerender: X,
|
|
9722
9722
|
dirtyLocal: y,
|
|
9723
9723
|
moveArrayElement: A,
|
|
9724
9724
|
itemToRemove: T,
|
|
@@ -9759,21 +9759,21 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9759
9759
|
updateData: te,
|
|
9760
9760
|
updateDataAtIndex: f
|
|
9761
9761
|
}), (Y, h) => {
|
|
9762
|
-
const
|
|
9762
|
+
const p = Je("ABtnTertiary"), I = Je("ABtnPrimary");
|
|
9763
9763
|
return x(), z("div", null, [
|
|
9764
9764
|
O("div", {
|
|
9765
9765
|
id: c.value,
|
|
9766
9766
|
class: Xe(Y.rootClassName)
|
|
9767
9767
|
}, [
|
|
9768
9768
|
(x(), z("div", {
|
|
9769
|
-
key: b(
|
|
9769
|
+
key: b(X),
|
|
9770
9770
|
class: Xe(b(On))
|
|
9771
9771
|
}, [
|
|
9772
9772
|
(x(!0), z(_e, null, ut(b(q), (v) => (x(), z("div", {
|
|
9773
9773
|
key: v.key,
|
|
9774
9774
|
class: "a-sortable-widget__item"
|
|
9775
9775
|
}, [
|
|
9776
|
-
|
|
9776
|
+
m(ue, {
|
|
9777
9777
|
class: Xe({
|
|
9778
9778
|
[b(_s)]: !0,
|
|
9779
9779
|
[b(_s) + "--disabled"]: Y.disableDraggable
|
|
@@ -9784,7 +9784,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9784
9784
|
Ve(Y.$slots, "item", { item: v })
|
|
9785
9785
|
]),
|
|
9786
9786
|
O("div", UV, [
|
|
9787
|
-
Y.showEditButton ? (x(), $(
|
|
9787
|
+
Y.showEditButton ? (x(), $(ae, {
|
|
9788
9788
|
key: 0,
|
|
9789
9789
|
icon: "",
|
|
9790
9790
|
size: "x-small",
|
|
@@ -9793,8 +9793,8 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9793
9793
|
onClick: Z((R) => d(v), ["stop"])
|
|
9794
9794
|
}, {
|
|
9795
9795
|
default: g(() => [
|
|
9796
|
-
|
|
9797
|
-
|
|
9796
|
+
m(ue, { icon: "mdi-pencil" }),
|
|
9797
|
+
m(Ce, {
|
|
9798
9798
|
anchor: "bottom",
|
|
9799
9799
|
activator: "parent",
|
|
9800
9800
|
text: "Edit"
|
|
@@ -9802,7 +9802,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9802
9802
|
]),
|
|
9803
9803
|
_: 2
|
|
9804
9804
|
}, 1032, ["onClick"])) : ee("", !0),
|
|
9805
|
-
Y.showDeleteButton ? (x(), $(
|
|
9805
|
+
Y.showDeleteButton ? (x(), $(ae, {
|
|
9806
9806
|
key: 1,
|
|
9807
9807
|
icon: "",
|
|
9808
9808
|
size: "x-small",
|
|
@@ -9811,8 +9811,8 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9811
9811
|
onClick: Z((R) => o(v), ["stop"])
|
|
9812
9812
|
}, {
|
|
9813
9813
|
default: g(() => [
|
|
9814
|
-
|
|
9815
|
-
|
|
9814
|
+
m(ue, { icon: "mdi-trash-can-outline" }),
|
|
9815
|
+
m(Ce, {
|
|
9816
9816
|
anchor: "bottom",
|
|
9817
9817
|
activator: "parent",
|
|
9818
9818
|
text: "Remove"
|
|
@@ -9821,7 +9821,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9821
9821
|
_: 2
|
|
9822
9822
|
}, 1032, ["onClick"])) : ee("", !0),
|
|
9823
9823
|
Ve(Y.$slots, "buttons", { item: v }),
|
|
9824
|
-
Y.showAddAfterButton ? (x(), $(
|
|
9824
|
+
Y.showAddAfterButton ? (x(), $(ae, {
|
|
9825
9825
|
key: 2,
|
|
9826
9826
|
icon: "",
|
|
9827
9827
|
size: "x-small",
|
|
@@ -9829,15 +9829,15 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9829
9829
|
class: "mx-1"
|
|
9830
9830
|
}, {
|
|
9831
9831
|
default: g(() => [
|
|
9832
|
-
|
|
9833
|
-
|
|
9832
|
+
m(ue, { icon: "mdi-dots-vertical" }),
|
|
9833
|
+
m(Ce, {
|
|
9834
9834
|
anchor: "bottom",
|
|
9835
9835
|
activator: "parent",
|
|
9836
9836
|
text: "More options"
|
|
9837
9837
|
}),
|
|
9838
|
-
|
|
9838
|
+
m(It, { activator: "parent" }, {
|
|
9839
9839
|
default: g(() => [
|
|
9840
|
-
|
|
9840
|
+
m(Qt, { density: "compact" }, {
|
|
9841
9841
|
default: g(() => [
|
|
9842
9842
|
Y.showAddAfterButton ? (x(), $(et, {
|
|
9843
9843
|
key: 0,
|
|
@@ -9864,7 +9864,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9864
9864
|
Ve(Y.$slots, "add-last-activator", {
|
|
9865
9865
|
props: { onClick: Z(() => l(), ["stop"]) }
|
|
9866
9866
|
}, () => [
|
|
9867
|
-
Y.showAddLastButton ? (x(), $(
|
|
9867
|
+
Y.showAddLastButton ? (x(), $(ae, {
|
|
9868
9868
|
key: 0,
|
|
9869
9869
|
size: "small",
|
|
9870
9870
|
"prepend-icon": "mdi-plus",
|
|
@@ -9877,7 +9877,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9877
9877
|
_: 1
|
|
9878
9878
|
}, 8, ["onClick"])) : ee("", !0)
|
|
9879
9879
|
]),
|
|
9880
|
-
|
|
9880
|
+
m(Xr, {
|
|
9881
9881
|
modelValue: b(j),
|
|
9882
9882
|
"onUpdate:modelValue": h[2] || (h[2] = (v) => Li(j) ? j.value = v : null),
|
|
9883
9883
|
width: 500
|
|
@@ -9885,7 +9885,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9885
9885
|
default: g(() => [
|
|
9886
9886
|
b(j) ? (x(), $(rt, { key: 0 }, {
|
|
9887
9887
|
default: g(() => [
|
|
9888
|
-
|
|
9888
|
+
m(_r, {
|
|
9889
9889
|
onOnCancel: h[0] || (h[0] = (v) => j.value = !1)
|
|
9890
9890
|
}, {
|
|
9891
9891
|
default: g(() => [
|
|
@@ -9893,10 +9893,10 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9893
9893
|
]),
|
|
9894
9894
|
_: 1
|
|
9895
9895
|
}),
|
|
9896
|
-
|
|
9896
|
+
m(ii, null, {
|
|
9897
9897
|
default: g(() => [
|
|
9898
|
-
|
|
9899
|
-
p
|
|
9898
|
+
m(Et),
|
|
9899
|
+
m(p, {
|
|
9900
9900
|
onClick: h[1] || (h[1] = Z((v) => j.value = !1, ["stop"]))
|
|
9901
9901
|
}, {
|
|
9902
9902
|
default: g(() => [
|
|
@@ -9904,7 +9904,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
|
|
|
9904
9904
|
]),
|
|
9905
9905
|
_: 1
|
|
9906
9906
|
}),
|
|
9907
|
-
|
|
9907
|
+
m(I, {
|
|
9908
9908
|
onClick: Z(b(_), ["stop"])
|
|
9909
9909
|
}, {
|
|
9910
9910
|
default: g(() => [
|
|
@@ -9933,8 +9933,8 @@ function ZV(t, r, e) {
|
|
|
9933
9933
|
});
|
|
9934
9934
|
}, q = () => {
|
|
9935
9935
|
y(), r();
|
|
9936
|
-
},
|
|
9937
|
-
|
|
9936
|
+
}, X = () => {
|
|
9937
|
+
ce(o.value) || (e("onDelete", o.value), a.value = !1);
|
|
9938
9938
|
}, y = () => {
|
|
9939
9939
|
l.value && (s.value.forEach((K) => {
|
|
9940
9940
|
K.stop();
|
|
@@ -9942,18 +9942,18 @@ function ZV(t, r, e) {
|
|
|
9942
9942
|
}, A = (K, S) => {
|
|
9943
9943
|
K.meta.dirty = !0, S.meta.dirty = !0;
|
|
9944
9944
|
}, T = (K, S, f, Y, h = []) => {
|
|
9945
|
-
const
|
|
9946
|
-
let I =
|
|
9947
|
-
for (let v =
|
|
9945
|
+
const p = S > f ? f : S;
|
|
9946
|
+
let I = p + 1;
|
|
9947
|
+
for (let v = p; v < K.length; v++)
|
|
9948
9948
|
K[v].data.position !== I && (K[v].data.position = I, A(K[v], Y), h.push({
|
|
9949
9949
|
id: K[v].data.id,
|
|
9950
9950
|
position: K[v].data.position
|
|
9951
9951
|
})), I++;
|
|
9952
|
-
}, j = (K, S, f, Y, h,
|
|
9952
|
+
}, j = (K, S, f, Y, h, p = []) => {
|
|
9953
9953
|
if (K.length > 0) {
|
|
9954
9954
|
let I = f + 1;
|
|
9955
9955
|
for (let v = f; v < K.length; v++)
|
|
9956
|
-
K[v].data.position !== I && (K[v].data.position = I, A(K[v], h),
|
|
9956
|
+
K[v].data.position !== I && (K[v].data.position = I, A(K[v], h), p.push({
|
|
9957
9957
|
id: K[v].data.id,
|
|
9958
9958
|
position: K[v].data.position
|
|
9959
9959
|
})), I++;
|
|
@@ -9961,7 +9961,7 @@ function ZV(t, r, e) {
|
|
|
9961
9961
|
if (S.length > 0) {
|
|
9962
9962
|
let I = Y + 1;
|
|
9963
9963
|
for (let v = Y; v < S.length; v++)
|
|
9964
|
-
S[v].data.position !== I && (S[v].data.position = I, A(S[v], h),
|
|
9964
|
+
S[v].data.position !== I && (S[v].data.position = I, A(S[v], h), p.push({
|
|
9965
9965
|
id: S[v].data.id,
|
|
9966
9966
|
position: S[v].data.position
|
|
9967
9967
|
})), I++;
|
|
@@ -10011,76 +10011,76 @@ function ZV(t, r, e) {
|
|
|
10011
10011
|
sortableInstances: s,
|
|
10012
10012
|
forceRerender: n,
|
|
10013
10013
|
refresh: q,
|
|
10014
|
-
onRemoveDialogConfirm:
|
|
10014
|
+
onRemoveDialogConfirm: X,
|
|
10015
10015
|
destroy: y,
|
|
10016
10016
|
moveArrayElement: (K, S, f, Y, h) => {
|
|
10017
|
-
const
|
|
10017
|
+
const p = xe(t.value), { itemFound: I, parentItem: v } = P(K, p.children);
|
|
10018
10018
|
if (!I)
|
|
10019
10019
|
return console.error("ASortableNested error."), [];
|
|
10020
10020
|
const R = [];
|
|
10021
10021
|
if (S === null) {
|
|
10022
|
-
if (
|
|
10022
|
+
if (ce(v) && f === Y)
|
|
10023
10023
|
return [];
|
|
10024
|
-
if (
|
|
10025
|
-
const
|
|
10026
|
-
if (
|
|
10027
|
-
const Ye =
|
|
10028
|
-
return
|
|
10024
|
+
if (ce(v)) {
|
|
10025
|
+
const oe = p.children.indexOf(I);
|
|
10026
|
+
if (oe !== -1) {
|
|
10027
|
+
const Ye = p.children.splice(oe, 1)[0];
|
|
10028
|
+
return p.children.splice(f, 0, Ye), T(p.children, oe, f, p, R), u(p), [];
|
|
10029
10029
|
}
|
|
10030
10030
|
return console.error("ASortableNested error."), [];
|
|
10031
10031
|
}
|
|
10032
|
-
if (!
|
|
10033
|
-
const
|
|
10034
|
-
if (
|
|
10032
|
+
if (!ce(v) && v.children) {
|
|
10033
|
+
const oe = v.children.indexOf(I);
|
|
10034
|
+
if (oe !== -1) {
|
|
10035
10035
|
I.data.parent = null;
|
|
10036
|
-
const Ye = v.children.splice(
|
|
10037
|
-
return
|
|
10038
|
-
|
|
10036
|
+
const Ye = v.children.splice(oe, 1)[0];
|
|
10037
|
+
return p.children.splice(f, 0, Ye), j(
|
|
10038
|
+
p.children,
|
|
10039
10039
|
v.children,
|
|
10040
10040
|
f,
|
|
10041
|
-
|
|
10042
|
-
|
|
10041
|
+
oe,
|
|
10042
|
+
p,
|
|
10043
10043
|
R
|
|
10044
|
-
), u(
|
|
10044
|
+
), u(p), [];
|
|
10045
10045
|
}
|
|
10046
10046
|
return console.error("ASortableNested error."), [];
|
|
10047
10047
|
}
|
|
10048
10048
|
return console.error("ASortableNested error."), [];
|
|
10049
10049
|
}
|
|
10050
|
-
const { itemFound: J } = P(S,
|
|
10050
|
+
const { itemFound: J } = P(S, p.children);
|
|
10051
10051
|
if (!J || !J.children)
|
|
10052
10052
|
return u(), [];
|
|
10053
|
-
if (!
|
|
10053
|
+
if (!ce(v) && v.data.id === J.data.id && f === Y)
|
|
10054
10054
|
return [];
|
|
10055
10055
|
if (v && v.children && J.data.id === v.data.id) {
|
|
10056
|
-
const
|
|
10057
|
-
if (
|
|
10058
|
-
const Ye = v.children.splice(
|
|
10059
|
-
J.children.splice(f, 0, Ye), T(J.children,
|
|
10056
|
+
const oe = v.children.indexOf(I);
|
|
10057
|
+
if (oe !== -1) {
|
|
10058
|
+
const Ye = v.children.splice(oe, 1)[0];
|
|
10059
|
+
J.children.splice(f, 0, Ye), T(J.children, oe, f, p, R);
|
|
10060
10060
|
}
|
|
10061
10061
|
} else if (v && v.children && J.data.id !== v.data.id) {
|
|
10062
|
-
const
|
|
10063
|
-
if (
|
|
10062
|
+
const oe = v.children.indexOf(I);
|
|
10063
|
+
if (oe !== -1) {
|
|
10064
10064
|
I.data.parent = J.data.id;
|
|
10065
|
-
const Ye = v.children.splice(
|
|
10065
|
+
const Ye = v.children.splice(oe, 1)[0];
|
|
10066
10066
|
J.children.splice(f, 0, Ye), j(
|
|
10067
10067
|
J.children,
|
|
10068
10068
|
v.children,
|
|
10069
10069
|
f,
|
|
10070
|
-
|
|
10071
|
-
|
|
10070
|
+
oe,
|
|
10071
|
+
p,
|
|
10072
10072
|
R
|
|
10073
10073
|
);
|
|
10074
10074
|
}
|
|
10075
10075
|
} else {
|
|
10076
|
-
const
|
|
10077
|
-
if (
|
|
10076
|
+
const oe = p.children.indexOf(I);
|
|
10077
|
+
if (oe !== -1) {
|
|
10078
10078
|
I.data.parent = J.data.id;
|
|
10079
|
-
const Ye =
|
|
10080
|
-
J.children.splice(f, 0, Ye), j(J.children,
|
|
10079
|
+
const Ye = p.children.splice(oe, 1)[0];
|
|
10080
|
+
J.children.splice(f, 0, Ye), j(J.children, p.children, f, oe, p, R);
|
|
10081
10081
|
}
|
|
10082
10082
|
}
|
|
10083
|
-
return _(J,
|
|
10083
|
+
return _(J, p.children) > h ? (i("common.sortable.error.maxDeepExceed"), u(), []) : (u(p), R);
|
|
10084
10084
|
},
|
|
10085
10085
|
addAfterId: (K, S, f) => {
|
|
10086
10086
|
const Y = xe(t.value), h = {
|
|
@@ -10090,18 +10090,18 @@ function ZV(t, r, e) {
|
|
|
10090
10090
|
dirty: !1
|
|
10091
10091
|
}
|
|
10092
10092
|
};
|
|
10093
|
-
if (
|
|
10093
|
+
if (ce(K))
|
|
10094
10094
|
return Y.children.push(h), u(Y), [];
|
|
10095
|
-
const { itemFound:
|
|
10096
|
-
if (!
|
|
10095
|
+
const { itemFound: p, parentItem: I } = P(K, Y.children);
|
|
10096
|
+
if (!p)
|
|
10097
10097
|
return i("common.sortable.error.unableToAdd"), [];
|
|
10098
|
-
h.data.position =
|
|
10098
|
+
h.data.position = p.data.position + 1, h.data.parent = p.data.parent;
|
|
10099
10099
|
const v = [];
|
|
10100
|
-
if (!
|
|
10101
|
-
const R = I.children.indexOf(
|
|
10100
|
+
if (!ce(I) && I.children) {
|
|
10101
|
+
const R = I.children.indexOf(p) + 1;
|
|
10102
10102
|
R !== -1 && (I.children.splice(R, 0, h), T(I.children, R, R, Y, v));
|
|
10103
10103
|
} else {
|
|
10104
|
-
const R = Y.children.indexOf(
|
|
10104
|
+
const R = Y.children.indexOf(p) + 1;
|
|
10105
10105
|
R !== -1 && (Y.children.splice(R, 0, h), T(Y.children, R, R, Y, v));
|
|
10106
10106
|
}
|
|
10107
10107
|
return u(Y), v;
|
|
@@ -10112,14 +10112,14 @@ function ZV(t, r, e) {
|
|
|
10112
10112
|
i("common.sortable.error.unableToAdd");
|
|
10113
10113
|
return;
|
|
10114
10114
|
}
|
|
10115
|
-
const
|
|
10115
|
+
const p = {
|
|
10116
10116
|
data: xe(S),
|
|
10117
10117
|
children: f ? [] : void 0,
|
|
10118
10118
|
meta: {
|
|
10119
10119
|
dirty: !1
|
|
10120
10120
|
}
|
|
10121
10121
|
};
|
|
10122
|
-
|
|
10122
|
+
p.data.id = S.id, p.data.position = h.children && h.children.length > 0 ? h.children.length + 1 : 1, p.data.parent = h.data.id, !k(h.children) && h.children.length === 0 && (h.children.push(p), u(Y));
|
|
10123
10123
|
},
|
|
10124
10124
|
removeById: (K) => {
|
|
10125
10125
|
const S = xe(t.value), { itemFound: f, parentItem: Y } = P(K, S.children);
|
|
@@ -10127,17 +10127,17 @@ function ZV(t, r, e) {
|
|
|
10127
10127
|
return [];
|
|
10128
10128
|
const h = [];
|
|
10129
10129
|
if (Y && Y.children) {
|
|
10130
|
-
const
|
|
10131
|
-
|
|
10130
|
+
const p = Y.children.indexOf(f);
|
|
10131
|
+
p !== -1 && (Y.children.splice(p, 1), T(Y.children, p, p, S, h));
|
|
10132
10132
|
} else {
|
|
10133
|
-
const
|
|
10134
|
-
|
|
10133
|
+
const p = S.children.indexOf(f);
|
|
10134
|
+
p !== -1 && (S.children.splice(p, 1), T(S.children, p, p, S, h));
|
|
10135
10135
|
}
|
|
10136
10136
|
return u(S), h;
|
|
10137
10137
|
},
|
|
10138
|
-
updateData: (K, S, f = null, Y = null, h = null,
|
|
10138
|
+
updateData: (K, S, f = null, Y = null, h = null, p = void 0) => {
|
|
10139
10139
|
const I = xe(t.value), { itemFound: v } = P(K, I.children);
|
|
10140
|
-
v && (v.data = xe(S),
|
|
10140
|
+
v && (v.data = xe(S), ce(f) || (v.children = f), ce(Y) || (v.data.position = Y), ce(h) || (v.meta.dirty = h), !ce(h) && h === !0 && (I.meta.dirty = !0), k(p) || (v.data.parent = p), u(I));
|
|
10141
10141
|
}
|
|
10142
10142
|
};
|
|
10143
10143
|
}
|
|
@@ -10189,7 +10189,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10189
10189
|
}, [
|
|
10190
10190
|
O("div", ef, [
|
|
10191
10191
|
O("div", tf, [
|
|
10192
|
-
|
|
10192
|
+
m(ue, {
|
|
10193
10193
|
class: Xe({
|
|
10194
10194
|
[b(Ls)]: !0,
|
|
10195
10195
|
[b(Ls) + "--disabled"]: c.disableDraggable
|
|
@@ -10200,7 +10200,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10200
10200
|
Ve(c.$slots, "item", { item: c.item })
|
|
10201
10201
|
]),
|
|
10202
10202
|
O("div", sf, [
|
|
10203
|
-
c.showEditButton ? (x(), $(
|
|
10203
|
+
c.showEditButton ? (x(), $(ae, {
|
|
10204
10204
|
key: 0,
|
|
10205
10205
|
icon: "",
|
|
10206
10206
|
size: "x-small",
|
|
@@ -10209,8 +10209,8 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10209
10209
|
onClick: Z(s, ["stop"])
|
|
10210
10210
|
}, {
|
|
10211
10211
|
default: g(() => [
|
|
10212
|
-
|
|
10213
|
-
|
|
10212
|
+
m(ue, { icon: "mdi-pencil" }),
|
|
10213
|
+
m(Ce, {
|
|
10214
10214
|
anchor: "bottom",
|
|
10215
10215
|
activator: "parent",
|
|
10216
10216
|
text: b(l)("common.sortable.edit")
|
|
@@ -10218,7 +10218,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10218
10218
|
]),
|
|
10219
10219
|
_: 1
|
|
10220
10220
|
}, 8, ["onClick"])) : ee("", !0),
|
|
10221
|
-
c.showDeleteButton ? (x(), $(
|
|
10221
|
+
c.showDeleteButton ? (x(), $(ae, {
|
|
10222
10222
|
key: 1,
|
|
10223
10223
|
icon: "",
|
|
10224
10224
|
size: "x-small",
|
|
@@ -10227,8 +10227,8 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10227
10227
|
onClick: Z(i, ["stop"])
|
|
10228
10228
|
}, {
|
|
10229
10229
|
default: g(() => [
|
|
10230
|
-
|
|
10231
|
-
|
|
10230
|
+
m(ue, { icon: "mdi-trash-can-outline" }),
|
|
10231
|
+
m(Ce, {
|
|
10232
10232
|
anchor: "bottom",
|
|
10233
10233
|
activator: "parent",
|
|
10234
10234
|
text: b(l)("common.sortable.remove")
|
|
@@ -10237,7 +10237,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10237
10237
|
_: 1
|
|
10238
10238
|
}, 8, ["onClick"])) : ee("", !0),
|
|
10239
10239
|
Ve(c.$slots, "buttons", { item: c.item }),
|
|
10240
|
-
c.showAddAfterButton || d.value ? (x(), $(
|
|
10240
|
+
c.showAddAfterButton || d.value ? (x(), $(ae, {
|
|
10241
10241
|
key: 2,
|
|
10242
10242
|
icon: "",
|
|
10243
10243
|
size: "x-small",
|
|
@@ -10245,15 +10245,15 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10245
10245
|
class: "mx-1"
|
|
10246
10246
|
}, {
|
|
10247
10247
|
default: g(() => [
|
|
10248
|
-
|
|
10249
|
-
|
|
10248
|
+
m(ue, { icon: "mdi-dots-vertical" }),
|
|
10249
|
+
m(Ce, {
|
|
10250
10250
|
anchor: "bottom",
|
|
10251
10251
|
activator: "parent",
|
|
10252
10252
|
text: b(l)("common.sortable.more")
|
|
10253
10253
|
}, null, 8, ["text"]),
|
|
10254
|
-
|
|
10254
|
+
m(It, { activator: "parent" }, {
|
|
10255
10255
|
default: g(() => [
|
|
10256
|
-
|
|
10256
|
+
m(Qt, { density: "compact" }, {
|
|
10257
10257
|
default: g(() => [
|
|
10258
10258
|
c.showAddAfterButton ? (x(), $(et, {
|
|
10259
10259
|
key: 0,
|
|
@@ -10289,9 +10289,9 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10289
10289
|
class: Xe(["a-sortable-nested-widget__group", { "a-sortable-nested-widget__group--empty": c.item.children.length === 0 }]),
|
|
10290
10290
|
"data-id": c.item.data.id
|
|
10291
10291
|
}, [
|
|
10292
|
-
(x(!0), z(_e, null, ut(c.item.children, (
|
|
10293
|
-
key:
|
|
10294
|
-
item:
|
|
10292
|
+
(x(!0), z(_e, null, ut(c.item.children, (X) => (x(), $(q, {
|
|
10293
|
+
key: X.data.id,
|
|
10294
|
+
item: X,
|
|
10295
10295
|
"disable-draggable": c.disableDraggable,
|
|
10296
10296
|
"max-depth": c.maxDepth,
|
|
10297
10297
|
"show-add-after-button": c.showAddAfterButton,
|
|
@@ -10351,7 +10351,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10351
10351
|
return;
|
|
10352
10352
|
}
|
|
10353
10353
|
e("onAddLast", null);
|
|
10354
|
-
}, { t: c } = se(), u = w(() => k(i.widgetIdentifierId) ? no + T.value : i.widgetIdentifierId), q = w(() => i.rootClassName + " " + (y.value ? i.rootClassName + "--dragging" : "")),
|
|
10354
|
+
}, { t: c } = se(), u = w(() => k(i.widgetIdentifierId) ? no + T.value : i.widgetIdentifierId), q = w(() => i.rootClassName + " " + (y.value ? i.rootClassName + "--dragging" : "")), X = () => {
|
|
10355
10355
|
if (i.disableDraggable || !A.value)
|
|
10356
10356
|
return;
|
|
10357
10357
|
const f = Array.from(A.value.querySelectorAll("." + Nn));
|
|
@@ -10378,8 +10378,8 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10378
10378
|
},
|
|
10379
10379
|
onEnd: (h) => {
|
|
10380
10380
|
y.value = !1, qr(() => {
|
|
10381
|
-
const
|
|
10382
|
-
if (
|
|
10381
|
+
const p = Si(h.item.getAttribute("data-id") ?? "0");
|
|
10382
|
+
if (p < 1)
|
|
10383
10383
|
return;
|
|
10384
10384
|
const I = h.newIndex;
|
|
10385
10385
|
if (k(I))
|
|
@@ -10389,9 +10389,9 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10389
10389
|
return;
|
|
10390
10390
|
let R = null;
|
|
10391
10391
|
const J = h.item.parentElement;
|
|
10392
|
-
|
|
10393
|
-
const
|
|
10394
|
-
e("onEnd",
|
|
10392
|
+
ce(J) || (R = Si(J.getAttribute("data-id") ?? "0"), R === 0 && (R = null));
|
|
10393
|
+
const oe = _(p, R, I, v, i.maxDepth);
|
|
10394
|
+
e("onEnd", oe);
|
|
10395
10395
|
});
|
|
10396
10396
|
}
|
|
10397
10397
|
});
|
|
@@ -10411,15 +10411,15 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10411
10411
|
refresh: te,
|
|
10412
10412
|
onRemoveDialogConfirm: K,
|
|
10413
10413
|
sortableInstances: S
|
|
10414
|
-
} = ZV(s,
|
|
10414
|
+
} = ZV(s, X, e);
|
|
10415
10415
|
return js(() => {
|
|
10416
10416
|
le();
|
|
10417
10417
|
}), qr(() => {
|
|
10418
|
-
A.value = document.querySelector("#" + u.value),
|
|
10418
|
+
A.value = document.querySelector("#" + u.value), X();
|
|
10419
10419
|
}), ke(
|
|
10420
10420
|
() => i.disableDraggable,
|
|
10421
10421
|
async (f) => {
|
|
10422
|
-
le(), f === !1 &&
|
|
10422
|
+
le(), f === !1 && X();
|
|
10423
10423
|
}
|
|
10424
10424
|
), r({
|
|
10425
10425
|
refresh: te,
|
|
@@ -10428,7 +10428,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10428
10428
|
removeById: re,
|
|
10429
10429
|
updateData: ie
|
|
10430
10430
|
}), (f, Y) => {
|
|
10431
|
-
const h = Je("ABtnTertiary"),
|
|
10431
|
+
const h = Je("ABtnTertiary"), p = Je("ABtnPrimary");
|
|
10432
10432
|
return x(), z("div", null, [
|
|
10433
10433
|
O("div", {
|
|
10434
10434
|
id: u.value,
|
|
@@ -10462,7 +10462,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10462
10462
|
}, 1032, ["item", "disable-draggable", "max-depth", "show-add-after-button", "show-add-child-button", "show-delete-button", "show-edit-button"]))), 128))
|
|
10463
10463
|
], 2))
|
|
10464
10464
|
], 10, of),
|
|
10465
|
-
f.showAddLastButton ? (x(), $(
|
|
10465
|
+
f.showAddLastButton ? (x(), $(ae, {
|
|
10466
10466
|
key: 0,
|
|
10467
10467
|
size: "small",
|
|
10468
10468
|
"prepend-icon": "mdi-plus",
|
|
@@ -10473,7 +10473,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10473
10473
|
]),
|
|
10474
10474
|
_: 1
|
|
10475
10475
|
}, 8, ["onClick"])) : ee("", !0),
|
|
10476
|
-
|
|
10476
|
+
m(Xr, {
|
|
10477
10477
|
modelValue: b(j),
|
|
10478
10478
|
"onUpdate:modelValue": Y[2] || (Y[2] = (I) => Li(j) ? j.value = I : null),
|
|
10479
10479
|
width: 500
|
|
@@ -10481,7 +10481,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10481
10481
|
default: g(() => [
|
|
10482
10482
|
b(j) ? (x(), $(rt, { key: 0 }, {
|
|
10483
10483
|
default: g(() => [
|
|
10484
|
-
|
|
10484
|
+
m(_r, {
|
|
10485
10485
|
onOnCancel: Y[0] || (Y[0] = (I) => j.value = !1)
|
|
10486
10486
|
}, {
|
|
10487
10487
|
default: g(() => [
|
|
@@ -10489,10 +10489,10 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10489
10489
|
]),
|
|
10490
10490
|
_: 1
|
|
10491
10491
|
}),
|
|
10492
|
-
|
|
10492
|
+
m(ii, null, {
|
|
10493
10493
|
default: g(() => [
|
|
10494
|
-
|
|
10495
|
-
|
|
10494
|
+
m(Et),
|
|
10495
|
+
m(h, {
|
|
10496
10496
|
onClick: Y[1] || (Y[1] = Z((I) => j.value = !1, ["stop"]))
|
|
10497
10497
|
}, {
|
|
10498
10498
|
default: g(() => [
|
|
@@ -10500,7 +10500,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
|
|
|
10500
10500
|
]),
|
|
10501
10501
|
_: 1
|
|
10502
10502
|
}),
|
|
10503
|
-
p
|
|
10503
|
+
m(p, {
|
|
10504
10504
|
onClick: Z(b(K), ["stop"])
|
|
10505
10505
|
}, {
|
|
10506
10506
|
default: g(() => [
|
|
@@ -10554,7 +10554,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10554
10554
|
}
|
|
10555
10555
|
}), o = N(!0), d = N(!1), { t: l } = se(), c = w(() => i.selectedItems.length), u = w(() => c.value < i.minCount || c.value > i.maxCount), q = () => {
|
|
10556
10556
|
e("onOpen"), o.value = !0, n.value = !0;
|
|
10557
|
-
},
|
|
10557
|
+
}, X = () => {
|
|
10558
10558
|
o.value = !o.value;
|
|
10559
10559
|
}, y = () => {
|
|
10560
10560
|
n.value = !1;
|
|
@@ -10567,7 +10567,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10567
10567
|
e("onFetchNextPage");
|
|
10568
10568
|
}, j = () => {
|
|
10569
10569
|
e("onPageChange");
|
|
10570
|
-
}, E = w(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), B = w(() => !(
|
|
10570
|
+
}, E = w(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), B = w(() => !(ce(a.value.hasNextPage) && a.value.page === E.value || a.value.hasNextPage === !1)), _ = (P) => {
|
|
10571
10571
|
P && B.value && !i.loading && T();
|
|
10572
10572
|
};
|
|
10573
10573
|
return r({
|
|
@@ -10578,7 +10578,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10578
10578
|
Ve(P.$slots, "activator", {
|
|
10579
10579
|
props: { onClick: Z(() => q(), ["stop"]) }
|
|
10580
10580
|
}),
|
|
10581
|
-
|
|
10581
|
+
m(Xr, {
|
|
10582
10582
|
"model-value": n.value,
|
|
10583
10583
|
fullscreen: "",
|
|
10584
10584
|
class: "subject-select",
|
|
@@ -10590,7 +10590,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10590
10590
|
class: "subject-select__card"
|
|
10591
10591
|
}, {
|
|
10592
10592
|
default: g(() => [
|
|
10593
|
-
|
|
10593
|
+
m(_r, {
|
|
10594
10594
|
class: "subject-select__toolbar system-border-b",
|
|
10595
10595
|
onOnCancel: y
|
|
10596
10596
|
}, {
|
|
@@ -10601,7 +10601,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10601
10601
|
]),
|
|
10602
10602
|
_: 3
|
|
10603
10603
|
}),
|
|
10604
|
-
|
|
10604
|
+
m(Gi, {
|
|
10605
10605
|
density: "compact",
|
|
10606
10606
|
color: "transparent",
|
|
10607
10607
|
height: 46,
|
|
@@ -10613,18 +10613,18 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10613
10613
|
O("div", df, [
|
|
10614
10614
|
O("div", lf, [
|
|
10615
10615
|
O("div", uf, [
|
|
10616
|
-
|
|
10616
|
+
m(ae, {
|
|
10617
10617
|
icon: "",
|
|
10618
10618
|
width: 30,
|
|
10619
10619
|
height: 30,
|
|
10620
|
-
onClick:
|
|
10620
|
+
onClick: X
|
|
10621
10621
|
}, {
|
|
10622
10622
|
default: g(() => [
|
|
10623
|
-
|
|
10623
|
+
m(ue, {
|
|
10624
10624
|
icon: "mdi-tune",
|
|
10625
10625
|
size: 16
|
|
10626
10626
|
}),
|
|
10627
|
-
|
|
10627
|
+
m(Ce, {
|
|
10628
10628
|
activator: "parent",
|
|
10629
10629
|
location: "bottom"
|
|
10630
10630
|
}, {
|
|
@@ -10653,7 +10653,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10653
10653
|
O("div", Vf, [
|
|
10654
10654
|
O("div", ff, [
|
|
10655
10655
|
O("div", Ff, [
|
|
10656
|
-
|
|
10656
|
+
m(na, {
|
|
10657
10657
|
name: "search2",
|
|
10658
10658
|
class: "px-2 pt-4",
|
|
10659
10659
|
onSubmit: Z(P.submitFilter, ["prevent"])
|
|
@@ -10665,7 +10665,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10665
10665
|
}, 8, ["onSubmit"])
|
|
10666
10666
|
]),
|
|
10667
10667
|
O("div", qf, [
|
|
10668
|
-
|
|
10668
|
+
m(ae, {
|
|
10669
10669
|
color: "primary",
|
|
10670
10670
|
class: "mx-2",
|
|
10671
10671
|
variant: d.value ? "flat" : "text",
|
|
@@ -10677,7 +10677,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10677
10677
|
]),
|
|
10678
10678
|
_: 1
|
|
10679
10679
|
}, 8, ["variant", "onClick"]),
|
|
10680
|
-
|
|
10680
|
+
m(ae, {
|
|
10681
10681
|
class: "px-2",
|
|
10682
10682
|
color: "light",
|
|
10683
10683
|
"min-width": "36px",
|
|
@@ -10686,8 +10686,8 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10686
10686
|
onClick: Z(P.resetFilter, ["stop"])
|
|
10687
10687
|
}, {
|
|
10688
10688
|
default: g(() => [
|
|
10689
|
-
|
|
10690
|
-
|
|
10689
|
+
m(ue, { icon: "mdi-filter-remove-outline" }),
|
|
10690
|
+
m(Ce, {
|
|
10691
10691
|
activator: "parent",
|
|
10692
10692
|
location: "bottom"
|
|
10693
10693
|
}, {
|
|
@@ -10739,8 +10739,8 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10739
10739
|
maxCount: i.maxCount,
|
|
10740
10740
|
selected: c.value
|
|
10741
10741
|
})), 1)),
|
|
10742
|
-
|
|
10743
|
-
|
|
10742
|
+
m(Et),
|
|
10743
|
+
m(ie, {
|
|
10744
10744
|
disabled: u.value,
|
|
10745
10745
|
onClick: Z(A, ["stop"])
|
|
10746
10746
|
}, {
|
|
@@ -10761,6 +10761,30 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10761
10761
|
], 64);
|
|
10762
10762
|
};
|
|
10763
10763
|
}
|
|
10764
|
+
}), jh = /* @__PURE__ */ H({
|
|
10765
|
+
__name: "ACheckboxSimple",
|
|
10766
|
+
props: {
|
|
10767
|
+
value: { type: Boolean, default: !1 },
|
|
10768
|
+
disabled: { type: Boolean, default: !1 },
|
|
10769
|
+
size: { default: "default" }
|
|
10770
|
+
},
|
|
10771
|
+
emits: ["onClick"],
|
|
10772
|
+
setup(t, { emit: r }) {
|
|
10773
|
+
const e = t, i = () => {
|
|
10774
|
+
r("onClick", e.value);
|
|
10775
|
+
}, s = w(() => e.value ? "mdi-checkbox-marked" : "mdi-checkbox-blank-outline");
|
|
10776
|
+
return (n, a) => (x(), $(ae, {
|
|
10777
|
+
icon: "",
|
|
10778
|
+
disabled: n.disabled,
|
|
10779
|
+
size: n.size,
|
|
10780
|
+
onClick: Z(i, ["stop"])
|
|
10781
|
+
}, {
|
|
10782
|
+
default: g(() => [
|
|
10783
|
+
m(ue, { icon: s.value }, null, 8, ["icon"])
|
|
10784
|
+
]),
|
|
10785
|
+
_: 1
|
|
10786
|
+
}, 8, ["disabled", "size", "onClick"]));
|
|
10787
|
+
}
|
|
10764
10788
|
}), Af = ["createdAt", "modifiedAt"], hf = {
|
|
10765
10789
|
key: "",
|
|
10766
10790
|
title: void 0,
|
|
@@ -10770,24 +10794,24 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
|
|
|
10770
10794
|
function vf(t, r, e = void 0, i = void 0, s = !1, n = void 0, a = void 0) {
|
|
10771
10795
|
const o = a ?? ve, { t: d } = o.global || o, l = Sr();
|
|
10772
10796
|
if (n)
|
|
10773
|
-
for (const
|
|
10774
|
-
|
|
10775
|
-
const c = t.map((
|
|
10776
|
-
const y = { ...hf, ...
|
|
10797
|
+
for (const X of Object.keys(l))
|
|
10798
|
+
X in n && (l[X] = n[X]);
|
|
10799
|
+
const c = t.map((X) => {
|
|
10800
|
+
const y = { ...hf, ...X };
|
|
10777
10801
|
return k(y.title) && (k(y.title) && Af.includes(y.key) ? y.title = d("common.model.tracking." + y.key) : k(y.title) && e && i ? y.title = d(e + "." + i + ".model." + y.key) : y.title = ""), y;
|
|
10778
10802
|
}), u = w(() => {
|
|
10779
|
-
const
|
|
10803
|
+
const X = [];
|
|
10780
10804
|
return c.forEach((y) => {
|
|
10781
|
-
r.value.includes(y.key) ||
|
|
10782
|
-
}), s ||
|
|
10805
|
+
r.value.includes(y.key) || X.push(y);
|
|
10806
|
+
}), s || X.push({ key: "actions", sortable: !1, fixed: !0 }), X;
|
|
10783
10807
|
});
|
|
10784
10808
|
return {
|
|
10785
10809
|
columnsAll: c,
|
|
10786
10810
|
columnsVisible: u,
|
|
10787
10811
|
columnsHidden: r,
|
|
10788
|
-
updateSortBy: (
|
|
10789
|
-
if (
|
|
10790
|
-
l.sortBy =
|
|
10812
|
+
updateSortBy: (X) => {
|
|
10813
|
+
if (X) {
|
|
10814
|
+
l.sortBy = X.key, l.descending = X.order === "desc";
|
|
10791
10815
|
return;
|
|
10792
10816
|
}
|
|
10793
10817
|
l.sortBy = null;
|
|
@@ -10795,8 +10819,8 @@ function vf(t, r, e = void 0, i = void 0, s = !1, n = void 0, a = void 0) {
|
|
|
10795
10819
|
pagination: l
|
|
10796
10820
|
};
|
|
10797
10821
|
}
|
|
10798
|
-
function
|
|
10799
|
-
const o = N(!1), d = N([]), l = N([]), c = N(!1), { resetFilter: u, submitFilter: q } = kr(), { showErrorsDefault:
|
|
10822
|
+
function Hh(t, r, e, i, s, n, a) {
|
|
10823
|
+
const o = N(!1), d = N([]), l = N([]), c = N(!1), { resetFilter: u, submitFilter: q } = kr(), { showErrorsDefault: X } = Dr(), { columnsVisible: y, pagination: A, updateSortBy: T, columnsAll: j, columnsHidden: E } = vf(
|
|
10800
10824
|
t,
|
|
10801
10825
|
r,
|
|
10802
10826
|
e,
|
|
@@ -10810,7 +10834,7 @@ function jh(t, r, e, i, s, n, a) {
|
|
|
10810
10834
|
try {
|
|
10811
10835
|
d.value.push(...await s(A, n));
|
|
10812
10836
|
} catch (te) {
|
|
10813
|
-
|
|
10837
|
+
X(te);
|
|
10814
10838
|
} finally {
|
|
10815
10839
|
c.value = !1;
|
|
10816
10840
|
}
|
|
@@ -10821,7 +10845,7 @@ function jh(t, r, e, i, s, n, a) {
|
|
|
10821
10845
|
try {
|
|
10822
10846
|
d.value = await s(A, n);
|
|
10823
10847
|
} catch (te) {
|
|
10824
|
-
|
|
10848
|
+
X(te);
|
|
10825
10849
|
} finally {
|
|
10826
10850
|
c.value = !1;
|
|
10827
10851
|
}
|
|
@@ -10857,8 +10881,23 @@ function jh(t, r, e, i, s, n, a) {
|
|
|
10857
10881
|
submitFilter: () => q(n, A, ie)
|
|
10858
10882
|
};
|
|
10859
10883
|
}
|
|
10860
|
-
const
|
|
10861
|
-
|
|
10884
|
+
const Uh = (t, r) => ({
|
|
10885
|
+
showSelectAll: !1,
|
|
10886
|
+
allSelected: () => [],
|
|
10887
|
+
select: ({ items: e, value: i, selected: s }) => {
|
|
10888
|
+
var n;
|
|
10889
|
+
if (t === r && t === 1)
|
|
10890
|
+
return new Set(i ? [(n = e[0]) == null ? void 0 : n.value] : []);
|
|
10891
|
+
for (const a of e) {
|
|
10892
|
+
if (s.size >= r && i)
|
|
10893
|
+
break;
|
|
10894
|
+
i ? s.add(a.value) : s.delete(a.value);
|
|
10895
|
+
}
|
|
10896
|
+
return s;
|
|
10897
|
+
},
|
|
10898
|
+
selectAll: ({ selected: e }) => e
|
|
10899
|
+
}), Gh = (t) => t ? 1 : 0;
|
|
10900
|
+
function Wh(t = "", r = "user") {
|
|
10862
10901
|
let e = t, i = r;
|
|
10863
10902
|
return {
|
|
10864
10903
|
createAnzuUser: (n, a) => (Mt(n) && (e = n), Mt(a) && (i = a), {
|
|
@@ -10887,7 +10926,7 @@ function Uh(t = "", r = "user") {
|
|
|
10887
10926
|
})
|
|
10888
10927
|
};
|
|
10889
10928
|
}
|
|
10890
|
-
function
|
|
10929
|
+
function Jh() {
|
|
10891
10930
|
return {
|
|
10892
10931
|
createPermissionConfig: () => ({
|
|
10893
10932
|
config: {},
|
|
@@ -10901,7 +10940,7 @@ function Gh() {
|
|
|
10901
10940
|
})
|
|
10902
10941
|
};
|
|
10903
10942
|
}
|
|
10904
|
-
function
|
|
10943
|
+
function Zh() {
|
|
10905
10944
|
return {
|
|
10906
10945
|
createPermissionGroup: () => ({
|
|
10907
10946
|
id: 0,
|
|
@@ -10917,9 +10956,9 @@ function Wh() {
|
|
|
10917
10956
|
})
|
|
10918
10957
|
};
|
|
10919
10958
|
}
|
|
10920
|
-
const sr = (t) => il.includes(t), nr = (t, r, e = "") => oa(r) ? t : vd(e === "" ? t : e, r),
|
|
10959
|
+
const sr = (t) => il.includes(t), nr = (t, r, e = "") => oa(r) ? t : vd(e === "" ? t : e, r), Qh = (t, r, e = "", i = {}, s = null, n, a, o = {}) => new Promise((d, l) => {
|
|
10921
10960
|
const c = { method: r };
|
|
10922
|
-
e !== "" && (c.url = nr(e, i)),
|
|
10961
|
+
e !== "" && (c.url = nr(e, i)), ce(s) || (c.data = JSON.stringify(s)), t().request({ ...o, ...c }).then((u) => sr(u.status) ? u.data ? d(u.data) : u.status === Bt ? d(null) : l(new Ue()) : l(new zt(u.status))).catch((u) => er(u) ? l(new Ot(u)) : tr(u) ? l(new Nt(u, n, a, u)) : rr(u) ? l(new Lt(u, u)) : l(new Ue(u)));
|
|
10923
10962
|
}), xf = (t, r = {}, e, i = {}, s, n, a = {}) => new Promise((o, d) => {
|
|
10924
10963
|
t().post(nr(e, i), JSON.stringify(r), a).then((l) => sr(l.status) ? l.data ? o(l.data) : l.status === Bt ? o(null) : d(new Ue()) : d(new zt(l.status))).catch((l) => er(l) ? d(new Ot(l)) : tr(l) ? d(new Nt(l, s, n, l)) : rr(l) ? d(new Lt(l, l)) : d(new Ue(l)));
|
|
10925
10964
|
}), bf = (t, r, e = {}, i, s, n = {}) => new Promise((a, o) => {
|
|
@@ -10931,12 +10970,12 @@ function ts() {
|
|
|
10931
10970
|
}, e = (c, u) => {
|
|
10932
10971
|
o("offset", c * u - u);
|
|
10933
10972
|
}, i = (c, u) => {
|
|
10934
|
-
!
|
|
10973
|
+
!ce(c) && c.length > 0 && o("order[" + c + "]", u ? "desc" : "asc");
|
|
10935
10974
|
}, s = (c) => Fn(c) ? c ? "1" : "0" : c, n = (c, u, q) => {
|
|
10936
10975
|
Mt(q) && q.length === 0 || t.value.push("filter_" + c + "[" + u + "]=" + s(q));
|
|
10937
10976
|
}, a = (c) => {
|
|
10938
10977
|
const u = c.model;
|
|
10939
|
-
return
|
|
10978
|
+
return ce(u) ? c.mandatory ? (c.model = c.default, c.default) : null : Mt(u) ? u.length === 0 ? c.mandatory ? (c.model = c.default, c.default) : null : encodeURIComponent(u) : tt(u) ? u.length === 0 ? c.mandatory ? (c.model = c.default, c.default) : null : u.map((q) => Mt(q) ? encodeURIComponent(q) : q).join(",") : Ws(u) || Fn(u) ? u : null;
|
|
10940
10979
|
}, o = (c, u) => {
|
|
10941
10980
|
t.value.push(c + "=" + u);
|
|
10942
10981
|
};
|
|
@@ -10948,16 +10987,16 @@ function ts() {
|
|
|
10948
10987
|
querySetFilters: (c) => {
|
|
10949
10988
|
const u = !k(c._elastic);
|
|
10950
10989
|
for (const q in c) {
|
|
10951
|
-
const
|
|
10952
|
-
if (
|
|
10990
|
+
const X = c[q], y = X.field || q;
|
|
10991
|
+
if (X.exclude)
|
|
10953
10992
|
continue;
|
|
10954
|
-
const A = a(
|
|
10955
|
-
if (!
|
|
10993
|
+
const A = a(X);
|
|
10994
|
+
if (!ce(A)) {
|
|
10956
10995
|
if (u) {
|
|
10957
10996
|
o(y, A);
|
|
10958
10997
|
continue;
|
|
10959
10998
|
}
|
|
10960
|
-
n(
|
|
10999
|
+
n(X.variant, y, A);
|
|
10961
11000
|
}
|
|
10962
11001
|
}
|
|
10963
11002
|
},
|
|
@@ -10968,7 +11007,7 @@ function ts() {
|
|
|
10968
11007
|
const yf = (t, r) => {
|
|
10969
11008
|
const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, queryAddFilter: a, queryAdd: o } = ts(), d = t.length;
|
|
10970
11009
|
return e(d), i(1, d), s("id", !1), r ? o("id", t.join(",")) : a("in", "id", t.join(",")), n();
|
|
10971
|
-
},
|
|
11010
|
+
}, ev = (t, r, e, i = {}, s, n, a = {}, o = !1) => new Promise((d, l) => {
|
|
10972
11011
|
t().get(nr(e, i) + yf(r, o), a).then((c) => {
|
|
10973
11012
|
var u;
|
|
10974
11013
|
return sr(c.status) ? (u = c.data) != null && u.data ? d(c.data.data) : c.status === Bt ? d(null) : l(new Ue()) : l(new zt(c.status));
|
|
@@ -10996,12 +11035,12 @@ const yf = (t, r) => {
|
|
|
10996
11035
|
}, Kf = (t, r, e, i, s = void 0) => {
|
|
10997
11036
|
const { querySetLimit: n, querySetOffset: a, querySetOrder: o, queryBuild: d, querySetFilters: l } = ts();
|
|
10998
11037
|
return n(t), a(r, t), o(e, i), Jr(s) && l(s), d();
|
|
10999
|
-
},
|
|
11038
|
+
}, tv = async (t, r, e = {}, i = "id", s = !0, n = void 0, a = 100, o, d, l = !1, c = {}) => {
|
|
11000
11039
|
const u = Jr(n == null ? void 0 : n._elastic) || l ? "/search" : "", q = Sr(i);
|
|
11001
11040
|
q.rowsPerPage = a, q.sortBy = i, q.descending = s;
|
|
11002
|
-
const
|
|
11041
|
+
const X = nr(r, e) + u, y = [];
|
|
11003
11042
|
try {
|
|
11004
|
-
const A = await t().get(
|
|
11043
|
+
const A = await t().get(X + Ln(q, n), c);
|
|
11005
11044
|
if (!sr(A.status))
|
|
11006
11045
|
return Promise.reject(new zt(A.status));
|
|
11007
11046
|
if (A.data) {
|
|
@@ -11010,7 +11049,7 @@ const yf = (t, r) => {
|
|
|
11010
11049
|
if (q.hasNextPage = A.data.hasNextPage, q.hasNextPage)
|
|
11011
11050
|
for (; q.hasNextPage; ) {
|
|
11012
11051
|
q.page++;
|
|
11013
|
-
const E = (await t().get(
|
|
11052
|
+
const E = (await t().get(X + Ln(q, n), c)).data;
|
|
11014
11053
|
y.push(...E.data), q.hasNextPage = E.hasNextPage;
|
|
11015
11054
|
}
|
|
11016
11055
|
} else if (ao(T)) {
|
|
@@ -11020,7 +11059,7 @@ const yf = (t, r) => {
|
|
|
11020
11059
|
for (let _ = 0; _ < E; _++)
|
|
11021
11060
|
j.push(
|
|
11022
11061
|
t().get(
|
|
11023
|
-
|
|
11062
|
+
X + Kf(
|
|
11024
11063
|
q.rowsPerPage,
|
|
11025
11064
|
_,
|
|
11026
11065
|
q.sortBy,
|
|
@@ -11042,10 +11081,10 @@ const yf = (t, r) => {
|
|
|
11042
11081
|
}
|
|
11043
11082
|
}, If = (t, r, e = {}, i, s, n = {}) => new Promise((a, o) => {
|
|
11044
11083
|
t().get(nr(r, e), n).then((d) => sr(d.status) ? d.data ? a(d.data) : d.status === Bt ? a(null) : o(new Ue()) : o(new zt(d.status))).catch((d) => er(d) ? o(new Ot(d)) : tr(d) ? o(new Nt(d, i, s, d)) : rr(d) ? o(new Lt(d, d)) : o(new Ue(d)));
|
|
11045
|
-
}),
|
|
11084
|
+
}), rv = (t, r = {}, e, i = {}, s, n, a = {}) => new Promise((o, d) => {
|
|
11046
11085
|
t().put(nr(e, i), JSON.stringify(r), a).then((l) => sr(l.status) ? l.data ? o(l.data) : l.status === Bt ? o(null) : d(new Ue()) : d(new zt(l.status))).catch((l) => er(l) ? d(new Ot(l)) : tr(l) ? d(new Nt(l, s, n, l)) : rr(l) ? d(new Lt(l, l)) : d(new Ue(l)));
|
|
11047
11086
|
});
|
|
11048
|
-
function
|
|
11087
|
+
function iv() {
|
|
11049
11088
|
return {
|
|
11050
11089
|
isAnzuFatalError: Fa,
|
|
11051
11090
|
isAnzuApiForbiddenError: Ya,
|
|
@@ -11054,7 +11093,7 @@ function tv() {
|
|
|
11054
11093
|
};
|
|
11055
11094
|
}
|
|
11056
11095
|
const xi = "/adm/v1/job", bi = "job";
|
|
11057
|
-
function
|
|
11096
|
+
function sv(t, r) {
|
|
11058
11097
|
return {
|
|
11059
11098
|
fetchJobList: (a, o) => lo(t, xi, {}, a, o, r, bi),
|
|
11060
11099
|
fetchJob: (a) => If(t, xi + "/:id", { id: a }, r, bi),
|
|
@@ -11065,8 +11104,8 @@ function rv(t, r) {
|
|
|
11065
11104
|
deleteJob: (a) => bf(t, xi + "/:id", { id: a }, r, bi)
|
|
11066
11105
|
};
|
|
11067
11106
|
}
|
|
11068
|
-
const
|
|
11069
|
-
function
|
|
11107
|
+
const nv = "jobUserDataDelete";
|
|
11108
|
+
function av(t = []) {
|
|
11070
11109
|
const { t: r } = se(), e = N([
|
|
11071
11110
|
{
|
|
11072
11111
|
value: "jobUserDataDelete",
|
|
@@ -11079,19 +11118,19 @@ function sv(t = []) {
|
|
|
11079
11118
|
getJobResourceOption: (s) => e.value.find((n) => n.value === s)
|
|
11080
11119
|
};
|
|
11081
11120
|
}
|
|
11082
|
-
const
|
|
11121
|
+
const ov = {
|
|
11083
11122
|
install(t, r) {
|
|
11084
11123
|
var e, i;
|
|
11085
11124
|
t.provide(Ji, r.currentUser), t.provide(da, (e = r.coreDam) == null ? void 0 : e.client), t.provide(la, r.customAclResolver), t.provide(ua, r.languages.available), t.provide(ca, r.languages.default), t.provide(Va, (i = r.coreDam) == null ? void 0 : i.defaultLicenceId), t.provide(xd, r.image), t.component("Acl", Tl), t.use(Qd, { componentName: "Notifications" });
|
|
11086
11125
|
}
|
|
11087
|
-
},
|
|
11126
|
+
}, dv = (t, r) => {
|
|
11088
11127
|
const e = t.indexOf(r);
|
|
11089
11128
|
if (e === -1) {
|
|
11090
11129
|
t.push(r);
|
|
11091
11130
|
return;
|
|
11092
11131
|
}
|
|
11093
11132
|
t.splice(e, 1);
|
|
11094
|
-
},
|
|
11133
|
+
}, lv = (t, r = ", ") => t.join(r), uv = (...t) => Array.from(...t), wf = (t, r = []) => t.reduce((e, i) => Array.isArray(i) ? wf(i, r) : (r.push(i), r), []), cv = (t, r) => {
|
|
11095
11134
|
if (t.length !== r.length)
|
|
11096
11135
|
return !1;
|
|
11097
11136
|
const e = t.slice().sort(), i = r.slice().sort();
|
|
@@ -11101,7 +11140,7 @@ const nv = {
|
|
|
11101
11140
|
return !0;
|
|
11102
11141
|
}, _f = (t) => {
|
|
11103
11142
|
history.replaceState(history.state, "", t);
|
|
11104
|
-
},
|
|
11143
|
+
}, Vv = (t, r) => {
|
|
11105
11144
|
const e = t.resolve(r);
|
|
11106
11145
|
_f(e.href);
|
|
11107
11146
|
}, Df = "Systémová chyba. Zkuste to později nebo kontaktujte administrátora.", kf = "Přístup zamítnut. K provedení dané akce nemáte oprávnění.", Sf = "Vyplňte všechna povinná pole a opravte chyby.", Mf = "Opravte tyto chyby.", Tf = "Zakázaná akce.", Ef = {
|
|
@@ -11530,7 +11569,7 @@ const nv = {
|
|
|
11530
11569
|
addChild: sY,
|
|
11531
11570
|
more: nY,
|
|
11532
11571
|
error: aY
|
|
11533
|
-
},
|
|
11572
|
+
}, fv = {
|
|
11534
11573
|
common: {
|
|
11535
11574
|
alert: Bf,
|
|
11536
11575
|
button: lF,
|
|
@@ -11984,7 +12023,7 @@ const nv = {
|
|
|
11984
12023
|
addChild: Sm,
|
|
11985
12024
|
more: Mm,
|
|
11986
12025
|
error: Tm
|
|
11987
|
-
},
|
|
12026
|
+
}, Fv = {
|
|
11988
12027
|
common: {
|
|
11989
12028
|
alert: DY,
|
|
11990
12029
|
button: t7,
|
|
@@ -12438,7 +12477,7 @@ const nv = {
|
|
|
12438
12477
|
addChild: ug,
|
|
12439
12478
|
more: cg,
|
|
12440
12479
|
error: Vg
|
|
12441
|
-
},
|
|
12480
|
+
}, qv = {
|
|
12442
12481
|
common: {
|
|
12443
12482
|
alert: jm,
|
|
12444
12483
|
button: qX,
|
|
@@ -12552,7 +12591,7 @@ function Mg() {
|
|
|
12552
12591
|
messagePath: () => "error.jsValidation.url"
|
|
12553
12592
|
});
|
|
12554
12593
|
}
|
|
12555
|
-
function
|
|
12594
|
+
function Yv() {
|
|
12556
12595
|
return {
|
|
12557
12596
|
required: Ig(),
|
|
12558
12597
|
requiredIf: _a(),
|
|
@@ -12568,7 +12607,7 @@ function Fv() {
|
|
|
12568
12607
|
stringArrayItemLength: kg()
|
|
12569
12608
|
};
|
|
12570
12609
|
}
|
|
12571
|
-
const
|
|
12610
|
+
const mv = () => ({
|
|
12572
12611
|
commonAliases: () => ({
|
|
12573
12612
|
ABtnPrimary: fi,
|
|
12574
12613
|
ABtnSecondary: fi,
|
|
@@ -12680,16 +12719,16 @@ const qv = () => ({
|
|
|
12680
12719
|
}
|
|
12681
12720
|
})
|
|
12682
12721
|
});
|
|
12683
|
-
function
|
|
12722
|
+
function Xv(t, r, e, i = "id") {
|
|
12684
12723
|
const s = N(/* @__PURE__ */ new Map()), n = N(/* @__PURE__ */ new Set()), a = (...E) => {
|
|
12685
12724
|
const B = /* @__PURE__ */ new Set();
|
|
12686
12725
|
for (let _ = 0; _ < E.length; _++) {
|
|
12687
12726
|
const P = E[_];
|
|
12688
|
-
if (!(
|
|
12727
|
+
if (!(ce(P) || k(P))) {
|
|
12689
12728
|
if (tt(P)) {
|
|
12690
12729
|
for (let G = 0; G < P.length; G++) {
|
|
12691
12730
|
const re = P[G];
|
|
12692
|
-
|
|
12731
|
+
ce(re) || k(re) || s.value.has(re) || B.add(re);
|
|
12693
12732
|
}
|
|
12694
12733
|
continue;
|
|
12695
12734
|
}
|
|
@@ -12743,15 +12782,15 @@ function Yv(t, r, e, i = "id") {
|
|
|
12743
12782
|
}
|
|
12744
12783
|
};
|
|
12745
12784
|
}
|
|
12746
|
-
async function
|
|
12747
|
-
(await import("./webfontloader-
|
|
12785
|
+
async function pv() {
|
|
12786
|
+
(await import("./webfontloader-4bf94d08.js").then((r) => r.w)).load({
|
|
12748
12787
|
google: {
|
|
12749
12788
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
12750
12789
|
}
|
|
12751
12790
|
// urls: ['https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css']
|
|
12752
12791
|
});
|
|
12753
12792
|
}
|
|
12754
|
-
function
|
|
12793
|
+
function gv() {
|
|
12755
12794
|
const t = (e, i) => ({
|
|
12756
12795
|
id: 0,
|
|
12757
12796
|
status: ka.Default,
|
|
@@ -12777,9 +12816,9 @@ function Xv() {
|
|
|
12777
12816
|
};
|
|
12778
12817
|
}
|
|
12779
12818
|
const lr = N(null);
|
|
12780
|
-
function
|
|
12819
|
+
function Av(t) {
|
|
12781
12820
|
t.query.loginState && (lr.value = t.query.loginState.toString());
|
|
12782
|
-
const r = () =>
|
|
12821
|
+
const r = () => ce(lr.value), e = () => lr.value === "success", i = () => lr.value === "failure-sso-communication", s = () => lr.value === "failure-internal-error", n = () => lr.value === "failure-unauthorized";
|
|
12783
12822
|
return {
|
|
12784
12823
|
status: fr(lr),
|
|
12785
12824
|
isStatusNotDefined: r,
|
|
@@ -12790,7 +12829,7 @@ function pv(t) {
|
|
|
12790
12829
|
};
|
|
12791
12830
|
}
|
|
12792
12831
|
const Rn = 60, jn = 3600, Hn = 86400;
|
|
12793
|
-
function
|
|
12832
|
+
function hv() {
|
|
12794
12833
|
const { t } = se(), r = (s, n) => {
|
|
12795
12834
|
const a = n ? "common.time.short." : "common.time.long.";
|
|
12796
12835
|
return s > Hn ? t(a + "remainingDays", { value: Math.floor(s / Hn) }) : s > jn ? t(a + "remainingHours", { value: Math.floor(s / jn) }) : s > Rn ? t(a + "remainingMinutes", { value: Math.floor(s / Rn) }) : t(a + "remainingSeconds", { value: s });
|
|
@@ -12830,7 +12869,7 @@ export {
|
|
|
12830
12869
|
yh as Z,
|
|
12831
12870
|
hA as _,
|
|
12832
12871
|
md as a,
|
|
12833
|
-
|
|
12872
|
+
Jr as a$,
|
|
12834
12873
|
Kh as a0,
|
|
12835
12874
|
Ih as a1,
|
|
12836
12875
|
wh as a2,
|
|
@@ -12841,155 +12880,157 @@ export {
|
|
|
12841
12880
|
kh as a7,
|
|
12842
12881
|
Sh as a8,
|
|
12843
12882
|
Mh as a9,
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12883
|
+
yi as aA,
|
|
12884
|
+
va as aB,
|
|
12885
|
+
xa as aC,
|
|
12886
|
+
wl as aD,
|
|
12887
|
+
Vu as aE,
|
|
12888
|
+
fu as aF,
|
|
12889
|
+
kl as aG,
|
|
12890
|
+
Sl as aH,
|
|
12891
|
+
nv as aI,
|
|
12892
|
+
ka as aJ,
|
|
12893
|
+
gv as aK,
|
|
12894
|
+
St as aL,
|
|
12895
|
+
jt as aM,
|
|
12857
12896
|
Wh as aN,
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12897
|
+
Jh as aO,
|
|
12898
|
+
Zh as aP,
|
|
12899
|
+
xe as aQ,
|
|
12900
|
+
qn as aR,
|
|
12901
|
+
oa as aS,
|
|
12902
|
+
Wi as aT,
|
|
12903
|
+
Ad as aU,
|
|
12904
|
+
tt as aV,
|
|
12905
|
+
Xd as aW,
|
|
12906
|
+
Fn as aX,
|
|
12907
|
+
pd as aY,
|
|
12908
|
+
ce as aZ,
|
|
12909
|
+
k as a_,
|
|
12871
12910
|
Bh as aa,
|
|
12872
12911
|
zh as ab,
|
|
12873
12912
|
Lh as ac,
|
|
12874
12913
|
Rh as ad,
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
12914
|
+
jh as ae,
|
|
12915
|
+
Oh as af,
|
|
12916
|
+
Th as ag,
|
|
12917
|
+
Eh as ah,
|
|
12918
|
+
$h as ai,
|
|
12919
|
+
Ph as aj,
|
|
12920
|
+
Sr as ak,
|
|
12921
|
+
oh as al,
|
|
12922
|
+
kr as am,
|
|
12923
|
+
bl as an,
|
|
12924
|
+
hv as ao,
|
|
12925
|
+
Dr as ap,
|
|
12926
|
+
iv as aq,
|
|
12927
|
+
vf as ar,
|
|
12928
|
+
Au as as,
|
|
12929
|
+
Xv as at,
|
|
12930
|
+
pu as au,
|
|
12931
|
+
Da as av,
|
|
12932
|
+
Wl as aw,
|
|
12933
|
+
Av as ax,
|
|
12934
|
+
Hh as ay,
|
|
12935
|
+
Uh as az,
|
|
12897
12936
|
bt as b,
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
12937
|
+
qv as b$,
|
|
12938
|
+
gd as b0,
|
|
12939
|
+
Mt as b1,
|
|
12940
|
+
Ws as b2,
|
|
12941
|
+
rh as b3,
|
|
12942
|
+
ya as b4,
|
|
12943
|
+
Dl as b5,
|
|
12944
|
+
ih as b6,
|
|
12945
|
+
ba as b7,
|
|
12946
|
+
Si as b8,
|
|
12947
|
+
vA as b9,
|
|
12948
|
+
Sa as bA,
|
|
12949
|
+
Gh as bB,
|
|
12911
12950
|
dv as bC,
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
12924
|
-
|
|
12925
|
-
|
|
12926
|
-
|
|
12927
|
-
|
|
12951
|
+
lv as bD,
|
|
12952
|
+
uv as bE,
|
|
12953
|
+
wf as bF,
|
|
12954
|
+
cv as bG,
|
|
12955
|
+
_f as bH,
|
|
12956
|
+
Vv as bI,
|
|
12957
|
+
Dt as bJ,
|
|
12958
|
+
so as bK,
|
|
12959
|
+
Nh as bL,
|
|
12960
|
+
Qh as bM,
|
|
12961
|
+
xf as bN,
|
|
12962
|
+
bf as bO,
|
|
12963
|
+
ev as bP,
|
|
12964
|
+
lo as bQ,
|
|
12965
|
+
tv as bR,
|
|
12966
|
+
If as bS,
|
|
12928
12967
|
rv as bT,
|
|
12929
|
-
|
|
12930
|
-
|
|
12931
|
-
|
|
12932
|
-
|
|
12933
|
-
|
|
12968
|
+
ts as bU,
|
|
12969
|
+
sv as bV,
|
|
12970
|
+
av as bW,
|
|
12971
|
+
du as bX,
|
|
12972
|
+
Ml as bY,
|
|
12934
12973
|
fv as bZ,
|
|
12935
|
-
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12974
|
+
Fv as b_,
|
|
12975
|
+
xA as ba,
|
|
12976
|
+
Pt as bb,
|
|
12977
|
+
bA as bc,
|
|
12978
|
+
hd as bd,
|
|
12979
|
+
CA as be,
|
|
12980
|
+
KA as bf,
|
|
12981
|
+
vd as bg,
|
|
12982
|
+
yA as bh,
|
|
12983
|
+
Zi as bi,
|
|
12984
|
+
Qi as bj,
|
|
12985
|
+
OA as bk,
|
|
12986
|
+
zA as bl,
|
|
12987
|
+
NA as bm,
|
|
12988
|
+
mr as bn,
|
|
12989
|
+
jA as bo,
|
|
12990
|
+
Ss as bp,
|
|
12991
|
+
LA as bq,
|
|
12992
|
+
gl as br,
|
|
12993
|
+
pl as bs,
|
|
12994
|
+
BA as bt,
|
|
12995
|
+
RA as bu,
|
|
12996
|
+
HA as bv,
|
|
12997
|
+
UA as bw,
|
|
12998
|
+
GA as bx,
|
|
12999
|
+
xc as by,
|
|
13000
|
+
sr as bz,
|
|
12962
13001
|
Xh as c,
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
-
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
13002
|
+
wt as c0,
|
|
13003
|
+
_t as c1,
|
|
13004
|
+
ua as c2,
|
|
13005
|
+
ca as c3,
|
|
13006
|
+
el as c4,
|
|
13007
|
+
tl as c5,
|
|
13008
|
+
Bt as c6,
|
|
13009
|
+
MA as c7,
|
|
13010
|
+
TA as c8,
|
|
13011
|
+
rl as c9,
|
|
13012
|
+
qa as ca,
|
|
13013
|
+
Ca as cb,
|
|
13014
|
+
ll as cc,
|
|
13015
|
+
xn as cd,
|
|
13016
|
+
Yv as ce,
|
|
13017
|
+
ve as cf,
|
|
13018
|
+
Ya as cg,
|
|
13019
|
+
er as ch,
|
|
13020
|
+
Ot as ci,
|
|
13021
|
+
Xa as cj,
|
|
13022
|
+
zt as ck,
|
|
13023
|
+
ol as cl,
|
|
13024
|
+
rr as cm,
|
|
13025
|
+
Lt as cn,
|
|
13026
|
+
ma as co,
|
|
13027
|
+
tr as cp,
|
|
13028
|
+
Nt as cq,
|
|
13029
|
+
Fa as cr,
|
|
13030
|
+
Ue as cs,
|
|
13031
|
+
ov as ct,
|
|
13032
|
+
mv as cu,
|
|
13033
|
+
pv as cv,
|
|
12993
13034
|
AA as d,
|
|
12994
13035
|
gA as e,
|
|
12995
13036
|
eh as f,
|
|
@@ -13014,4 +13055,4 @@ export {
|
|
|
13014
13055
|
Zr as y,
|
|
13015
13056
|
kd as z
|
|
13016
13057
|
};
|
|
13017
|
-
//# sourceMappingURL=lib-
|
|
13058
|
+
//# sourceMappingURL=lib-a4229036.js.map
|