@anzusystems/common-admin 0.0.52 → 0.0.53
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 +1 -1
- package/dist/common-admin.es.js +835 -835
- package/package.json +1 -1
package/dist/common-admin.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var so = Object.defineProperty;
|
|
2
2
|
var uo = (t, n, e) => n in t ? so(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
3
|
var On = (t, n, e) => (uo(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
-
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as
|
|
5
|
-
import { useI18n as
|
|
4
|
+
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as be, withModifiers as ne, withDirectives as vr, vShow as yr, isProxy as co, toRaw as fo, isRef as Ue, inject as we, createSlots as an, Fragment as Ye, provide as er, watch as Pe, renderList as At, ref as J, TransitionGroup as br, normalizeStyle as ua, resolveDynamicComponent as ya, onMounted as zt, h as mo, nextTick as po, withKeys as wr, reactive as ho, toRefs as ba, shallowRef as tr, readonly as Kt, mergeProps as wa, createStaticVNode as kr, setBlockTracking as nr, onBeforeUnmount as go } from "vue";
|
|
5
|
+
import { useI18n as K, createI18n as vo } from "vue-i18n";
|
|
6
6
|
import { useI18n as pg } from "vue-i18n";
|
|
7
7
|
import { VChip as ct } from "vuetify/lib/components/VChip/index.mjs";
|
|
8
8
|
import { VRow as da, VCol as qt, VSpacer as en } from "vuetify/lib/components/VGrid/index.mjs";
|
|
@@ -16,7 +16,7 @@ import { VBtnToggle as Wn } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
|
16
16
|
import { VLabel as Ar } from "vuetify/lib/components/VLabel/index.mjs";
|
|
17
17
|
import { VList as rn, VListItem as Qe, VListItemTitle as tn, VListItemSubtitle as wo } from "vuetify/lib/components/VList/index.mjs";
|
|
18
18
|
import { VMenu as Dt } from "vuetify/lib/components/VMenu/index.mjs";
|
|
19
|
-
import { VTooltip as
|
|
19
|
+
import { VTooltip as Ie } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
20
20
|
import { VToolbar as Dr, VToolbarTitle as _r } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
21
21
|
import { useRouter as Ca } from "vue-router";
|
|
22
22
|
import Aa from "axios";
|
|
@@ -24,16 +24,16 @@ import { VDialog as Da } from "vuetify/lib/components/VDialog/index.mjs";
|
|
|
24
24
|
import { useFetch as ko, watchDebounced as _a, useClipboard as Mr, useStorage as xr, useIntervalFn as Co, useDebounceFn as Ao } from "@vueuse/core";
|
|
25
25
|
import { VExpandTransition as Do } from "vuetify/lib/components/transitions/index.mjs";
|
|
26
26
|
import _o from "@vuelidate/core";
|
|
27
|
-
import { createI18nMessage as
|
|
27
|
+
import { createI18nMessage as Ge, requiredIf as Mo, between as xo, email as To, maxLength as So, maxValue as $o, minLength as Oo, minValue as Po, numeric as Vo, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
|
|
28
28
|
import { VAutocomplete as on } from "vuetify/lib/components/VAutocomplete/index.mjs";
|
|
29
29
|
import { VCheckboxBtn as Eo } from "vuetify/lib/components/VCheckbox/index.mjs";
|
|
30
30
|
import { VSwitch as No } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
31
31
|
import { VSelect as Lo } from "vuetify/lib/components/VSelect/index.mjs";
|
|
32
32
|
import { VProgressCircular as Xn } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
33
33
|
import { VAvatar as ca } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
34
|
-
import { VAppBar as
|
|
35
|
-
import { VColorPicker as
|
|
36
|
-
import { VDivider as
|
|
34
|
+
import { VAppBar as zo } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
35
|
+
import { VColorPicker as Bo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
36
|
+
import { VDivider as jo } from "vuetify/lib/components/VDivider/index.mjs";
|
|
37
37
|
import { VBtn as Pn, VChip as Ro } from "vuetify/components";
|
|
38
38
|
const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
|
|
39
39
|
__name: "ABooleanValue",
|
|
@@ -43,7 +43,7 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
|
|
|
43
43
|
invertColor: { type: Boolean, default: !1 }
|
|
44
44
|
},
|
|
45
45
|
setup(t) {
|
|
46
|
-
const n = t, { t: e } =
|
|
46
|
+
const n = t, { t: e } = K(), a = x(() => n.value === !0 || n.value === 1 || n.value === "true"), r = x(() => a.value ? e("common.model.boolean.true") : e("common.model.boolean.false")), o = x(() => n.invertColor ? a.value ? "error" : "success" : a.value ? "success" : "error");
|
|
47
47
|
return (l, f) => t.chip ? (w(), E(ct, {
|
|
48
48
|
key: 0,
|
|
49
49
|
color: c(o),
|
|
@@ -51,7 +51,7 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
|
|
|
51
51
|
size: "small"
|
|
52
52
|
}, {
|
|
53
53
|
default: g(() => [
|
|
54
|
-
|
|
54
|
+
z($(c(r)), 1)
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}, 8, ["color"])) : (w(), H("span", Uo, $(c(r)), 1));
|
|
@@ -162,7 +162,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
162
162
|
}), S = (t) => typeof t > "u", ar = (t) => !S(t), ye = (t) => t === null, Ma = (t) => typeof t == "number", dt = (t) => typeof t == "string", Ee = (t) => Array.isArray(t), rr = (t) => typeof t == "boolean", Cp = (t) => dt(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), Ap = (t) => {
|
|
163
163
|
const n = parseFloat(t);
|
|
164
164
|
return !isNaN(t) && (n | 0) === n;
|
|
165
|
-
}, qn = (t) => typeof t == "object" && !Ee(t) && !ye(t), Sr = (t) => qn(t) ? Object.keys(t).length === 0 : !1,
|
|
165
|
+
}, qn = (t) => typeof t == "object" && !Ee(t) && !ye(t), Sr = (t) => qn(t) ? Object.keys(t).length === 0 : !1, Ko = (t) => Ee(t) && t.length === 0, Dp = (t) => ye(t) || S(t) || t === "" || t === 0 || Ko(t) || Sr(t), ft = (t) => {
|
|
166
166
|
if (typeof structuredClone == "function")
|
|
167
167
|
try {
|
|
168
168
|
return co(t) ? structuredClone(fo(t)) : Ue(t) ? structuredClone(c(t)) : structuredClone(t);
|
|
@@ -170,7 +170,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
170
170
|
return JSON.parse(JSON.stringify(t));
|
|
171
171
|
}
|
|
172
172
|
return JSON.parse(JSON.stringify(t));
|
|
173
|
-
},
|
|
173
|
+
}, Go = (t, n = 0) => {
|
|
174
174
|
let e = n;
|
|
175
175
|
try {
|
|
176
176
|
e = Number.parseInt(t, 10);
|
|
@@ -234,7 +234,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
234
234
|
},
|
|
235
235
|
emits: ["update:modelValue", "click:append", "blur"],
|
|
236
236
|
setup(t, { emit: n }) {
|
|
237
|
-
const e = t, { t: a } =
|
|
237
|
+
const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
|
|
238
238
|
n("update:modelValue", d);
|
|
239
239
|
}, f = () => {
|
|
240
240
|
var d;
|
|
@@ -272,7 +272,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
272
272
|
t.hideLabel ? void 0 : {
|
|
273
273
|
name: "label",
|
|
274
274
|
fn: g(() => [
|
|
275
|
-
|
|
275
|
+
z($(c(p)), 1),
|
|
276
276
|
c(m) ? (w(), H("span", Xo)) : Z("", !0)
|
|
277
277
|
]),
|
|
278
278
|
key: "0"
|
|
@@ -298,7 +298,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
298
298
|
},
|
|
299
299
|
emits: ["update:modelValue", "click:append", "blur"],
|
|
300
300
|
setup(t, { emit: n }) {
|
|
301
|
-
const e = t, { t: a } =
|
|
301
|
+
const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
|
|
302
302
|
n("update:modelValue", d);
|
|
303
303
|
}, f = () => {
|
|
304
304
|
var d;
|
|
@@ -335,7 +335,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
335
335
|
t.hideLabel ? void 0 : {
|
|
336
336
|
name: "label",
|
|
337
337
|
fn: g(() => [
|
|
338
|
-
|
|
338
|
+
z($(c(p)), 1),
|
|
339
339
|
c(m) ? (w(), H("span", ei)) : Z("", !0)
|
|
340
340
|
]),
|
|
341
341
|
key: "0"
|
|
@@ -363,7 +363,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
363
363
|
set(p) {
|
|
364
364
|
n("update:modelValue", p);
|
|
365
365
|
}
|
|
366
|
-
}), { t: l } =
|
|
366
|
+
}), { t: l } = K(), f = x(() => {
|
|
367
367
|
var m, d;
|
|
368
368
|
if (!S(e.label))
|
|
369
369
|
return e.label;
|
|
@@ -381,7 +381,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
381
381
|
class: "pr-1"
|
|
382
382
|
}, {
|
|
383
383
|
default: g(() => [
|
|
384
|
-
|
|
384
|
+
z($(c(f)), 1),
|
|
385
385
|
c(u) ? (w(), H("span", ti)) : Z("", !0)
|
|
386
386
|
]),
|
|
387
387
|
_: 1
|
|
@@ -397,7 +397,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
397
397
|
"data-cy": "toggle-true"
|
|
398
398
|
}, {
|
|
399
399
|
default: g(() => [
|
|
400
|
-
|
|
400
|
+
z($(c(l)("common.model.boolean.true")), 1)
|
|
401
401
|
]),
|
|
402
402
|
_: 1
|
|
403
403
|
}),
|
|
@@ -406,7 +406,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
406
406
|
"data-cy": "toggle-false"
|
|
407
407
|
}, {
|
|
408
408
|
default: g(() => [
|
|
409
|
-
|
|
409
|
+
z($(c(l)("common.model.boolean.false")), 1)
|
|
410
410
|
]),
|
|
411
411
|
_: 1
|
|
412
412
|
})
|
|
@@ -415,7 +415,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
415
415
|
}, 8, ["modelValue", "mandatory"])
|
|
416
416
|
], 64));
|
|
417
417
|
}
|
|
418
|
-
}),
|
|
418
|
+
}), Vp = /* @__PURE__ */ L({
|
|
419
419
|
__name: "ASystemEntityScope",
|
|
420
420
|
props: {
|
|
421
421
|
system: null,
|
|
@@ -428,7 +428,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
428
428
|
}), ni = { class: "anzu-data-footer" }, ai = {
|
|
429
429
|
key: 0,
|
|
430
430
|
class: "anzu-data-footer__page-limit"
|
|
431
|
-
}, ri = { class: "anzu-data-footer__pagination" }, oi = { class: "anzu-data-footer__icons-before" }, ii = { class: "current-page" }, li = { class: "anzu-data-footer__icons-after" },
|
|
431
|
+
}, ri = { class: "anzu-data-footer__pagination" }, oi = { class: "anzu-data-footer__icons-before" }, ii = { class: "current-page" }, li = { class: "anzu-data-footer__icons-after" }, Ip = /* @__PURE__ */ L({
|
|
432
432
|
__name: "ADatatablePagination",
|
|
433
433
|
props: {
|
|
434
434
|
modelValue: null,
|
|
@@ -441,18 +441,18 @@ const kp = /* @__PURE__ */ L({
|
|
|
441
441
|
get() {
|
|
442
442
|
return e.modelValue;
|
|
443
443
|
},
|
|
444
|
-
set(
|
|
445
|
-
n("update:modelValue", ft(
|
|
444
|
+
set(F) {
|
|
445
|
+
n("update:modelValue", ft(F));
|
|
446
446
|
}
|
|
447
|
-
}), { t: r } =
|
|
448
|
-
Pe(v, (
|
|
449
|
-
|
|
447
|
+
}), { t: r } = K(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), l = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), f = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = x(() => a.value.page === 1), p = x(() => !ye(a.value.hasNextPage) || a.value.page === o.value), m = x(() => ye(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = x(() => ye(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? f.value + 1 + "+" : f.value), v = x(() => a.value.rowsPerPage);
|
|
448
|
+
Pe(v, (F, R) => {
|
|
449
|
+
F !== R && (a.value.page = 1, n("change"));
|
|
450
450
|
});
|
|
451
451
|
const k = x(() => a.value.page);
|
|
452
|
-
Pe(k, (
|
|
453
|
-
|
|
452
|
+
Pe(k, (F, R) => {
|
|
453
|
+
F !== R && n("change");
|
|
454
454
|
});
|
|
455
|
-
const
|
|
455
|
+
const I = () => {
|
|
456
456
|
a.value.page = 1;
|
|
457
457
|
}, y = () => {
|
|
458
458
|
a.value.page = o.value;
|
|
@@ -461,9 +461,9 @@ const kp = /* @__PURE__ */ L({
|
|
|
461
461
|
}, P = () => {
|
|
462
462
|
a.value.page = a.value.page + 1;
|
|
463
463
|
};
|
|
464
|
-
return (
|
|
464
|
+
return (F, R) => (w(), H("div", ni, [
|
|
465
465
|
t.hideRecordsPerPage ? Z("", !0) : (w(), H("div", ai, [
|
|
466
|
-
|
|
466
|
+
z($(c(r)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
467
467
|
b(Wn, {
|
|
468
468
|
modelValue: c(a).rowsPerPage,
|
|
469
469
|
"onUpdate:modelValue": R[0] || (R[0] = (U) => c(a).rowsPerPage = U),
|
|
@@ -482,7 +482,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
482
482
|
variant: "text"
|
|
483
483
|
}, {
|
|
484
484
|
default: g(() => [
|
|
485
|
-
|
|
485
|
+
z($(U), 1)
|
|
486
486
|
]),
|
|
487
487
|
_: 2
|
|
488
488
|
}, 1032, ["color", "value"]))), 128))
|
|
@@ -497,7 +497,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
497
497
|
icon: "mdi-page-first",
|
|
498
498
|
size: "small",
|
|
499
499
|
variant: "text",
|
|
500
|
-
onClick: ne(
|
|
500
|
+
onClick: ne(I, ["stop"])
|
|
501
501
|
}, null, 8, ["disabled", "onClick"]),
|
|
502
502
|
b(oe, {
|
|
503
503
|
disabled: c(u),
|
|
@@ -529,7 +529,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
529
529
|
]));
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
|
-
const
|
|
532
|
+
const Fp = /* @__PURE__ */ L({
|
|
533
533
|
__name: "ADatatableConfigButton",
|
|
534
534
|
props: {
|
|
535
535
|
columnsAll: null,
|
|
@@ -540,7 +540,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
540
540
|
},
|
|
541
541
|
emits: ["update:columnsHidden"],
|
|
542
542
|
setup(t, { emit: n }) {
|
|
543
|
-
const e = t, { t: a } =
|
|
543
|
+
const e = t, { t: a } = K(), r = (l) => !e.columnsHidden.includes(l), o = (l) => {
|
|
544
544
|
const f = ft(e.columnsHidden), u = f.indexOf(l);
|
|
545
545
|
if (u > -1) {
|
|
546
546
|
f.splice(u, 1), n("update:columnsHidden", f);
|
|
@@ -558,12 +558,12 @@ const Vp = /* @__PURE__ */ L({
|
|
|
558
558
|
}, {
|
|
559
559
|
default: g(() => [
|
|
560
560
|
b(me, { icon: "mdi-cog" }),
|
|
561
|
-
b(
|
|
561
|
+
b(Ie, {
|
|
562
562
|
activator: "parent",
|
|
563
563
|
location: "bottom"
|
|
564
564
|
}, {
|
|
565
565
|
default: g(() => [
|
|
566
|
-
|
|
566
|
+
z($(c(a)(t.buttonT)), 1)
|
|
567
567
|
]),
|
|
568
568
|
_: 1
|
|
569
569
|
}),
|
|
@@ -600,7 +600,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
600
600
|
class: "mr-2",
|
|
601
601
|
icon: "mdi-checkbox-blank-outline"
|
|
602
602
|
})),
|
|
603
|
-
|
|
603
|
+
z(" " + $(u.title), 1)
|
|
604
604
|
]),
|
|
605
605
|
_: 2
|
|
606
606
|
}, 1024)
|
|
@@ -629,7 +629,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
629
629
|
},
|
|
630
630
|
emits: ["update:modelValue", "sortByChange"],
|
|
631
631
|
setup(t, { emit: n }) {
|
|
632
|
-
const e = t, { t: a } =
|
|
632
|
+
const e = t, { t: a } = K(), r = J(e.modelValue), o = x({
|
|
633
633
|
get() {
|
|
634
634
|
return e.modelValue;
|
|
635
635
|
},
|
|
@@ -654,7 +654,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
654
654
|
(d, v) => {
|
|
655
655
|
if (S(v) || d === v)
|
|
656
656
|
return;
|
|
657
|
-
const k = p.value.find((
|
|
657
|
+
const k = p.value.find((I) => I.id === d);
|
|
658
658
|
k && n("sortByChange", k);
|
|
659
659
|
},
|
|
660
660
|
{ immediate: !0 }
|
|
@@ -673,7 +673,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
673
673
|
"append-icon": "mdi-chevron-down"
|
|
674
674
|
}, {
|
|
675
675
|
default: g(() => [
|
|
676
|
-
|
|
676
|
+
z($(c(u)) + " ", 1),
|
|
677
677
|
b(Dt, {
|
|
678
678
|
activator: "parent",
|
|
679
679
|
location: "bottom",
|
|
@@ -687,14 +687,14 @@ const Vp = /* @__PURE__ */ L({
|
|
|
687
687
|
default: g(() => [
|
|
688
688
|
(w(!0), H(Ye, null, At(c(p), (k) => (w(), E(Qe, {
|
|
689
689
|
key: k.id,
|
|
690
|
-
onClick: (
|
|
690
|
+
onClick: (I) => m(k)
|
|
691
691
|
}, {
|
|
692
692
|
default: g(() => [
|
|
693
693
|
b(tn, {
|
|
694
694
|
class: be({ "font-weight-bold": k.id === r.value })
|
|
695
695
|
}, {
|
|
696
696
|
default: g(() => [
|
|
697
|
-
|
|
697
|
+
z($(c(a)(k.titleT)), 1)
|
|
698
698
|
]),
|
|
699
699
|
_: 2
|
|
700
700
|
}, 1032, ["class"])
|
|
@@ -775,7 +775,7 @@ function di(t) {
|
|
|
775
775
|
});
|
|
776
776
|
} };
|
|
777
777
|
}
|
|
778
|
-
const
|
|
778
|
+
const Bn = di(), Or = /* @__PURE__ */ new Map(), or = {
|
|
779
779
|
x: ["left", "center", "right"],
|
|
780
780
|
y: ["top", "bottom"]
|
|
781
781
|
}, ci = ((t) => () => t++)(0), fi = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter((n) => n), mi = (t) => {
|
|
@@ -905,7 +905,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
905
905
|
default:
|
|
906
906
|
return { type: "", value: t };
|
|
907
907
|
}
|
|
908
|
-
},
|
|
908
|
+
}, Vn = {
|
|
909
909
|
IDLE: 0,
|
|
910
910
|
DESTROYED: 2
|
|
911
911
|
}, Ai = L({
|
|
@@ -1006,14 +1006,14 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1006
1006
|
return n && (r[n] = "0px"), t && (t === "center" ? r.left = `calc(50% - ${+e / 2}${a})` : r[t] = "0px"), r;
|
|
1007
1007
|
},
|
|
1008
1008
|
active() {
|
|
1009
|
-
return this.list.filter((t) => t.state !==
|
|
1009
|
+
return this.list.filter((t) => t.state !== Vn.DESTROYED);
|
|
1010
1010
|
},
|
|
1011
1011
|
botToTop() {
|
|
1012
1012
|
return this.styles.hasOwnProperty("bottom");
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
mounted() {
|
|
1016
|
-
|
|
1016
|
+
Bn.on("add", this.addItem), Bn.on("close", this.closeItem);
|
|
1017
1017
|
},
|
|
1018
1018
|
methods: {
|
|
1019
1019
|
destroyIfNecessary(t) {
|
|
@@ -1039,7 +1039,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1039
1039
|
title: r,
|
|
1040
1040
|
text: o,
|
|
1041
1041
|
type: l,
|
|
1042
|
-
state:
|
|
1042
|
+
state: Vn.IDLE,
|
|
1043
1043
|
speed: e,
|
|
1044
1044
|
length: n + 2 * e,
|
|
1045
1045
|
data: f
|
|
@@ -1064,7 +1064,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1064
1064
|
return this.isVA ? void 0 : { transition: `all ${t.speed}ms` };
|
|
1065
1065
|
},
|
|
1066
1066
|
destroy(t) {
|
|
1067
|
-
clearTimeout(t.timer), t.state =
|
|
1067
|
+
clearTimeout(t.timer), t.state = Vn.DESTROYED, this.clean(), this.$emit("destroy", t);
|
|
1068
1068
|
},
|
|
1069
1069
|
destroyById(t) {
|
|
1070
1070
|
const n = this.list.find((e) => e.id === t);
|
|
@@ -1097,7 +1097,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1097
1097
|
});
|
|
1098
1098
|
},
|
|
1099
1099
|
clean() {
|
|
1100
|
-
this.list = this.list.filter((t) => t.state !==
|
|
1100
|
+
this.list = this.list.filter((t) => t.state !== Vn.DESTROYED);
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
}), Di = ["data-id"], _i = ["onClick"], Mi = ["innerHTML"], xi = ["innerHTML"];
|
|
@@ -1148,10 +1148,10 @@ function Ti(t, n, e, a, r, o) {
|
|
|
1148
1148
|
], 4);
|
|
1149
1149
|
}
|
|
1150
1150
|
const Si = /* @__PURE__ */ xa(Ai, [["render", Ti]]), qe = (t) => {
|
|
1151
|
-
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" &&
|
|
1151
|
+
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && Bn.emit("add", t);
|
|
1152
1152
|
};
|
|
1153
1153
|
qe.close = (t) => {
|
|
1154
|
-
|
|
1154
|
+
Bn.emit("close", t);
|
|
1155
1155
|
};
|
|
1156
1156
|
function $i(t, n = {}) {
|
|
1157
1157
|
Object.entries(n).forEach((a) => Or.set(...a));
|
|
@@ -1180,16 +1180,16 @@ const lr = ["en", "sk"], le = vo({
|
|
|
1180
1180
|
missing: (t, n) => {
|
|
1181
1181
|
lr.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
|
|
1182
1182
|
}
|
|
1183
|
-
}), Pr = (t) => t instanceof
|
|
1184
|
-
class
|
|
1183
|
+
}), Pr = (t) => t instanceof Ve;
|
|
1184
|
+
class Ve extends Error {
|
|
1185
1185
|
constructor(n, e = "") {
|
|
1186
1186
|
super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
const Pi = 200,
|
|
1189
|
+
const Pi = 200, Vi = 201, Vr = 204, Lp = 400, zp = 401, Ii = 403, Ir = 422, Fi = [Pi, Vi, Vr], _t = (t) => {
|
|
1190
1190
|
var n;
|
|
1191
|
-
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) ===
|
|
1192
|
-
},
|
|
1191
|
+
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ii;
|
|
1192
|
+
}, Fr = (t) => t instanceof mt;
|
|
1193
1193
|
class mt extends Error {
|
|
1194
1194
|
constructor(n, e = "") {
|
|
1195
1195
|
super(e), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = e;
|
|
@@ -1197,7 +1197,7 @@ class mt extends Error {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
const Ei = "validation_failed", Mt = (t) => {
|
|
1199
1199
|
var n, e, a;
|
|
1200
|
-
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) ===
|
|
1200
|
+
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Ei && ((a = t.response.data) == null ? void 0 : a.fields);
|
|
1201
1201
|
}, Er = (t) => t instanceof pt;
|
|
1202
1202
|
function Ni(t, n, e) {
|
|
1203
1203
|
var o;
|
|
@@ -1226,9 +1226,9 @@ class ht extends Error {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
const Li = "forbidden_operation_error", xt = (t) => {
|
|
1228
1228
|
var n, e, a;
|
|
1229
|
-
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) ===
|
|
1230
|
-
},
|
|
1231
|
-
function
|
|
1229
|
+
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Li && ((a = t.response.data) == null ? void 0 : a.detail);
|
|
1230
|
+
}, zi = (t) => t instanceof gt;
|
|
1231
|
+
function Bi(t) {
|
|
1232
1232
|
var e;
|
|
1233
1233
|
return ((e = t.response) == null ? void 0 : e.data).detail;
|
|
1234
1234
|
}
|
|
@@ -1236,10 +1236,10 @@ class gt extends Error {
|
|
|
1236
1236
|
constructor(e, a, r = "") {
|
|
1237
1237
|
super(r);
|
|
1238
1238
|
On(this, "detail");
|
|
1239
|
-
this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = r, this.detail =
|
|
1239
|
+
this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = r, this.detail = Bi(e);
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
|
-
const Ze = 3,
|
|
1242
|
+
const Ze = 3, ji = `
|
|
1243
1243
|
`;
|
|
1244
1244
|
function Ta() {
|
|
1245
1245
|
const t = (y, O = Ze) => {
|
|
@@ -1299,30 +1299,30 @@ function Ta() {
|
|
|
1299
1299
|
type: "success"
|
|
1300
1300
|
});
|
|
1301
1301
|
}, m = (y, O = -1, P = !1) => {
|
|
1302
|
-
const { t:
|
|
1302
|
+
const { t: F, te: R } = le.global, U = [F("common.alert.fixApiValidationErrors")];
|
|
1303
1303
|
for (let ae = 0; ae < y.length; ae++) {
|
|
1304
1304
|
let ee = "";
|
|
1305
|
-
P ? ee += y[ae].field : R(y[ae].field) && (ee +=
|
|
1305
|
+
P ? ee += y[ae].field : R(y[ae].field) && (ee += F(y[ae].field));
|
|
1306
1306
|
const ue = /* @__PURE__ */ new Set();
|
|
1307
1307
|
for (let pe = 0; pe < y[ae].errors.length; pe++) {
|
|
1308
1308
|
if (R("error.apiValidation." + y[ae].errors[pe])) {
|
|
1309
|
-
ue.add(
|
|
1309
|
+
ue.add(F("error.apiValidation." + y[ae].errors[pe]));
|
|
1310
1310
|
continue;
|
|
1311
1311
|
}
|
|
1312
|
-
ue.add(
|
|
1312
|
+
ue.add(F("error.apiValidation.noTranslation"));
|
|
1313
1313
|
}
|
|
1314
1314
|
ee.length > 0 && U.push(ee + ": " + Array.from(ue).join(", "));
|
|
1315
1315
|
}
|
|
1316
1316
|
qe({
|
|
1317
1317
|
group: "alerts",
|
|
1318
|
-
text: U.join(
|
|
1318
|
+
text: U.join(ji),
|
|
1319
1319
|
duration: O * 1e3,
|
|
1320
1320
|
type: "error"
|
|
1321
1321
|
});
|
|
1322
1322
|
}, d = (y, O = -1) => {
|
|
1323
|
-
const { t: P, te:
|
|
1323
|
+
const { t: P, te: F } = le.global;
|
|
1324
1324
|
let R = P("error.apiForbiddenOperation.noTranslation");
|
|
1325
|
-
|
|
1325
|
+
F("error.apiForbiddenOperation." + y) && (R = P("error.apiForbiddenOperation." + y)), qe({
|
|
1326
1326
|
group: "alerts",
|
|
1327
1327
|
text: R,
|
|
1328
1328
|
duration: O * 1e3,
|
|
@@ -1360,10 +1360,10 @@ function Ta() {
|
|
|
1360
1360
|
showApiForbiddenOperationError: d,
|
|
1361
1361
|
showUnknownError: v,
|
|
1362
1362
|
showForbiddenError: k,
|
|
1363
|
-
showErrorsDefault: (y) =>
|
|
1363
|
+
showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Er(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Pr(y) || Nr(y) ? (v(), !0) : !1
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
|
-
const
|
|
1366
|
+
const Bp = /* @__PURE__ */ L({
|
|
1367
1367
|
__name: "ACreateDialog",
|
|
1368
1368
|
props: {
|
|
1369
1369
|
modelValue: { type: Boolean },
|
|
@@ -1378,7 +1378,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1378
1378
|
},
|
|
1379
1379
|
emits: ["update:modelValue", "onConfirm", "onOpen", "onClose", "onError", "onSuccess"],
|
|
1380
1380
|
setup(t, { emit: n }) {
|
|
1381
|
-
const e = t, { t: a } =
|
|
1381
|
+
const e = t, { t: a } = K(), r = J(!1), o = () => {
|
|
1382
1382
|
n("update:modelValue", !0), n("onOpen");
|
|
1383
1383
|
}, l = () => {
|
|
1384
1384
|
n("update:modelValue", !1), n("onClose");
|
|
@@ -1402,7 +1402,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1402
1402
|
}
|
|
1403
1403
|
};
|
|
1404
1404
|
return (v, k) => {
|
|
1405
|
-
const
|
|
1405
|
+
const I = Nt("ABtnTertiary"), y = Nt("ABtnPrimary");
|
|
1406
1406
|
return w(), E(y, {
|
|
1407
1407
|
class: be(t.buttonClass),
|
|
1408
1408
|
rounded: "pill",
|
|
@@ -1411,7 +1411,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1411
1411
|
}, {
|
|
1412
1412
|
default: g(() => [
|
|
1413
1413
|
_e(v.$slots, "button-title", {}, () => [
|
|
1414
|
-
|
|
1414
|
+
z($(c(a)("common.button.create")), 1)
|
|
1415
1415
|
]),
|
|
1416
1416
|
b(Da, {
|
|
1417
1417
|
"model-value": t.modelValue,
|
|
@@ -1428,7 +1428,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1428
1428
|
b($r, { onOnCancel: l }, {
|
|
1429
1429
|
default: g(() => [
|
|
1430
1430
|
_e(v.$slots, "title", {}, () => [
|
|
1431
|
-
|
|
1431
|
+
z($(c(a)("common.button.create")), 1)
|
|
1432
1432
|
])
|
|
1433
1433
|
]),
|
|
1434
1434
|
_: 3
|
|
@@ -1442,12 +1442,12 @@ const jp = /* @__PURE__ */ L({
|
|
|
1442
1442
|
b(ka, null, {
|
|
1443
1443
|
default: g(() => [
|
|
1444
1444
|
b(en),
|
|
1445
|
-
b(
|
|
1445
|
+
b(I, {
|
|
1446
1446
|
"data-cy": "button-cancel",
|
|
1447
1447
|
onClick: ne(l, ["stop"])
|
|
1448
1448
|
}, {
|
|
1449
1449
|
default: g(() => [
|
|
1450
|
-
|
|
1450
|
+
z($(c(a)("common.button.cancel")), 1)
|
|
1451
1451
|
]),
|
|
1452
1452
|
_: 1
|
|
1453
1453
|
}, 8, ["onClick"]),
|
|
@@ -1458,7 +1458,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1458
1458
|
}, {
|
|
1459
1459
|
default: g(() => [
|
|
1460
1460
|
_e(v.$slots, "button-confirm-title", {}, () => [
|
|
1461
|
-
|
|
1461
|
+
z($(c(a)("common.button.create")), 1)
|
|
1462
1462
|
])
|
|
1463
1463
|
]),
|
|
1464
1464
|
_: 3
|
|
@@ -1477,14 +1477,14 @@ const jp = /* @__PURE__ */ L({
|
|
|
1477
1477
|
}, 8, ["class", "data-cy", "onClick"]);
|
|
1478
1478
|
};
|
|
1479
1479
|
}
|
|
1480
|
-
}), Ri = { class: "a-admin-switcher__content" }, Ui = ["href"], Yi = ["src", "alt"], Hi = { class: "a-admin-switcher__item-title" },
|
|
1480
|
+
}), Ri = { class: "a-admin-switcher__content" }, Ui = ["href"], Yi = ["src", "alt"], Hi = { class: "a-admin-switcher__item-title" }, jp = /* @__PURE__ */ L({
|
|
1481
1481
|
__name: "AAdminSwitcher",
|
|
1482
1482
|
props: {
|
|
1483
1483
|
configUrl: { default: null }
|
|
1484
1484
|
},
|
|
1485
1485
|
setup(t) {
|
|
1486
|
-
const n = t, { t: e } =
|
|
1487
|
-
return
|
|
1486
|
+
const n = t, { t: e } = K(), a = J([]);
|
|
1487
|
+
return zt(async () => {
|
|
1488
1488
|
if (n.configUrl && n.configUrl.length > 0)
|
|
1489
1489
|
try {
|
|
1490
1490
|
const { data: r } = await ko(n.configUrl).get().json();
|
|
@@ -1499,12 +1499,12 @@ const jp = /* @__PURE__ */ L({
|
|
|
1499
1499
|
}, {
|
|
1500
1500
|
default: g(() => [
|
|
1501
1501
|
b(me, { icon: "mdi-dots-grid" }),
|
|
1502
|
-
b(
|
|
1502
|
+
b(Ie, {
|
|
1503
1503
|
activator: "parent",
|
|
1504
1504
|
location: "top"
|
|
1505
1505
|
}, {
|
|
1506
1506
|
default: g(() => [
|
|
1507
|
-
|
|
1507
|
+
z($(c(e)("common.system.adminSwitcher.button")), 1)
|
|
1508
1508
|
]),
|
|
1509
1509
|
_: 1
|
|
1510
1510
|
}),
|
|
@@ -1565,7 +1565,7 @@ var fa = {}, qi = {
|
|
|
1565
1565
|
(function(e, a) {
|
|
1566
1566
|
t.exports = a();
|
|
1567
1567
|
})(Sa, function() {
|
|
1568
|
-
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year",
|
|
1568
|
+
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", I = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, F = { 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(D) {
|
|
1569
1569
|
var C = ["th", "st", "nd", "rd"], _ = D % 100;
|
|
1570
1570
|
return "[" + D + (C[(_ - 20) % 10] || C[_] || C[0]) + "]";
|
|
1571
1571
|
} }, R = function(D, C, _) {
|
|
@@ -1577,16 +1577,16 @@ var fa = {}, qi = {
|
|
|
1577
1577
|
}, m: function D(C, _) {
|
|
1578
1578
|
if (C.date() < _.date())
|
|
1579
1579
|
return -D(_, C);
|
|
1580
|
-
var M = 12 * (_.year() - C.year()) + (_.month() - C.month()), T = C.clone().add(M, d),
|
|
1581
|
-
return +(-(M + (_ - T) / (
|
|
1580
|
+
var M = 12 * (_.year() - C.year()) + (_.month() - C.month()), T = C.clone().add(M, d), B = _ - T < 0, G = C.clone().add(M + (B ? -1 : 1), d);
|
|
1581
|
+
return +(-(M + (_ - T) / (B ? T - G : G - T)) || 0);
|
|
1582
1582
|
}, a: function(D) {
|
|
1583
1583
|
return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
|
|
1584
1584
|
}, p: function(D) {
|
|
1585
|
-
return { M: d, y: k, w: m, d: p, D:
|
|
1585
|
+
return { M: d, y: k, w: m, d: p, D: I, h: u, m: f, s: l, ms: o, Q: v }[D] || String(D || "").toLowerCase().replace(/s$/, "");
|
|
1586
1586
|
}, u: function(D) {
|
|
1587
1587
|
return D === void 0;
|
|
1588
1588
|
} }, ae = "en", ee = {};
|
|
1589
|
-
ee[ae] =
|
|
1589
|
+
ee[ae] = F;
|
|
1590
1590
|
var ue = function(D) {
|
|
1591
1591
|
return D instanceof Me;
|
|
1592
1592
|
}, pe = function D(C, _, M) {
|
|
@@ -1594,11 +1594,11 @@ var fa = {}, qi = {
|
|
|
1594
1594
|
if (!C)
|
|
1595
1595
|
return ae;
|
|
1596
1596
|
if (typeof C == "string") {
|
|
1597
|
-
var
|
|
1598
|
-
ee[
|
|
1599
|
-
var
|
|
1600
|
-
if (!T &&
|
|
1601
|
-
return D(
|
|
1597
|
+
var B = C.toLowerCase();
|
|
1598
|
+
ee[B] && (T = B), _ && (ee[B] = _, T = B);
|
|
1599
|
+
var G = C.split("-");
|
|
1600
|
+
if (!T && G.length > 1)
|
|
1601
|
+
return D(G[0]);
|
|
1602
1602
|
} else {
|
|
1603
1603
|
var se = C.name;
|
|
1604
1604
|
ee[se] = C, T = se;
|
|
@@ -1620,7 +1620,7 @@ var fa = {}, qi = {
|
|
|
1620
1620
|
var C = D.prototype;
|
|
1621
1621
|
return C.parse = function(_) {
|
|
1622
1622
|
this.$d = function(M) {
|
|
1623
|
-
var T = M.date,
|
|
1623
|
+
var T = M.date, B = M.utc;
|
|
1624
1624
|
if (T === null)
|
|
1625
1625
|
return /* @__PURE__ */ new Date(NaN);
|
|
1626
1626
|
if (Q.u(T))
|
|
@@ -1628,10 +1628,10 @@ var fa = {}, qi = {
|
|
|
1628
1628
|
if (T instanceof Date)
|
|
1629
1629
|
return new Date(T);
|
|
1630
1630
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
1631
|
-
var
|
|
1632
|
-
if (
|
|
1633
|
-
var se =
|
|
1634
|
-
return
|
|
1631
|
+
var G = T.match(O);
|
|
1632
|
+
if (G) {
|
|
1633
|
+
var se = G[2] - 1 || 0, he = (G[7] || "0").substring(0, 3);
|
|
1634
|
+
return B ? new Date(Date.UTC(G[1], se, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, he)) : new Date(G[1], se, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, he);
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
return new Date(T);
|
|
@@ -1657,22 +1657,22 @@ var fa = {}, qi = {
|
|
|
1657
1657
|
}, C.valueOf = function() {
|
|
1658
1658
|
return this.$d.getTime();
|
|
1659
1659
|
}, C.startOf = function(_, M) {
|
|
1660
|
-
var T = this,
|
|
1661
|
-
var
|
|
1662
|
-
return
|
|
1660
|
+
var T = this, B = !!Q.u(M) || M, G = Q.p(_), se = function(Te, ke) {
|
|
1661
|
+
var ze = Q.w(T.$u ? Date.UTC(T.$y, ke, Te) : new Date(T.$y, ke, Te), T);
|
|
1662
|
+
return B ? ze : ze.endOf(p);
|
|
1663
1663
|
}, he = function(Te, ke) {
|
|
1664
|
-
return Q.w(T.toDate()[Te].apply(T.toDate("s"), (
|
|
1664
|
+
return Q.w(T.toDate()[Te].apply(T.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ke)), T);
|
|
1665
1665
|
}, ge = this.$W, Ce = this.$M, Ne = this.$D, xe = "set" + (this.$u ? "UTC" : "");
|
|
1666
|
-
switch (
|
|
1666
|
+
switch (G) {
|
|
1667
1667
|
case k:
|
|
1668
|
-
return
|
|
1668
|
+
return B ? se(1, 0) : se(31, 11);
|
|
1669
1669
|
case d:
|
|
1670
|
-
return
|
|
1670
|
+
return B ? se(1, Ce) : se(0, Ce + 1);
|
|
1671
1671
|
case m:
|
|
1672
1672
|
var He = this.$locale().weekStart || 0, Le = (ge < He ? ge + 7 : ge) - He;
|
|
1673
|
-
return se(
|
|
1673
|
+
return se(B ? Ne - Le : Ne + (6 - Le), Ce);
|
|
1674
1674
|
case p:
|
|
1675
|
-
case
|
|
1675
|
+
case I:
|
|
1676
1676
|
return he(xe + "Hours", 0);
|
|
1677
1677
|
case u:
|
|
1678
1678
|
return he(xe + "Minutes", 1);
|
|
@@ -1686,10 +1686,10 @@ var fa = {}, qi = {
|
|
|
1686
1686
|
}, C.endOf = function(_) {
|
|
1687
1687
|
return this.startOf(_, !1);
|
|
1688
1688
|
}, C.$set = function(_, M) {
|
|
1689
|
-
var T,
|
|
1690
|
-
if (
|
|
1691
|
-
var ge = this.clone().set(
|
|
1692
|
-
ge.$d[se](he), ge.init(), this.$d = ge.set(
|
|
1689
|
+
var T, B = Q.p(_), G = "set" + (this.$u ? "UTC" : ""), se = (T = {}, T[p] = G + "Date", T[I] = G + "Date", T[d] = G + "Month", T[k] = G + "FullYear", T[u] = G + "Hours", T[f] = G + "Minutes", T[l] = G + "Seconds", T[o] = G + "Milliseconds", T)[B], he = B === p ? this.$D + (M - this.$W) : M;
|
|
1690
|
+
if (B === d || B === k) {
|
|
1691
|
+
var ge = this.clone().set(I, 1);
|
|
1692
|
+
ge.$d[se](he), ge.init(), this.$d = ge.set(I, Math.min(this.$D, ge.daysInMonth())).$d;
|
|
1693
1693
|
} else
|
|
1694
1694
|
se && this.$d[se](he);
|
|
1695
1695
|
return this.init(), this;
|
|
@@ -1698,21 +1698,21 @@ var fa = {}, qi = {
|
|
|
1698
1698
|
}, C.get = function(_) {
|
|
1699
1699
|
return this[Q.p(_)]();
|
|
1700
1700
|
}, C.add = function(_, M) {
|
|
1701
|
-
var T,
|
|
1701
|
+
var T, B = this;
|
|
1702
1702
|
_ = Number(_);
|
|
1703
|
-
var
|
|
1704
|
-
var Ne = ie(
|
|
1705
|
-
return Q.w(Ne.date(Ne.date() + Math.round(Ce * _)),
|
|
1703
|
+
var G = Q.p(M), se = function(Ce) {
|
|
1704
|
+
var Ne = ie(B);
|
|
1705
|
+
return Q.w(Ne.date(Ne.date() + Math.round(Ce * _)), B);
|
|
1706
1706
|
};
|
|
1707
|
-
if (
|
|
1707
|
+
if (G === d)
|
|
1708
1708
|
return this.set(d, this.$M + _);
|
|
1709
|
-
if (
|
|
1709
|
+
if (G === k)
|
|
1710
1710
|
return this.set(k, this.$y + _);
|
|
1711
|
-
if (
|
|
1711
|
+
if (G === p)
|
|
1712
1712
|
return se(1);
|
|
1713
|
-
if (
|
|
1713
|
+
if (G === m)
|
|
1714
1714
|
return se(7);
|
|
1715
|
-
var he = (T = {}, T[f] = a, T[u] = r, T[l] = e, T)[
|
|
1715
|
+
var he = (T = {}, T[f] = a, T[u] = r, T[l] = e, T)[G] || 1, ge = this.$d.getTime() + _ * he;
|
|
1716
1716
|
return Q.w(ge, this);
|
|
1717
1717
|
}, C.subtract = function(_, M) {
|
|
1718
1718
|
return this.add(-1 * _, M);
|
|
@@ -1720,22 +1720,22 @@ var fa = {}, qi = {
|
|
|
1720
1720
|
var M = this, T = this.$locale();
|
|
1721
1721
|
if (!this.isValid())
|
|
1722
1722
|
return T.invalidDate || y;
|
|
1723
|
-
var
|
|
1724
|
-
return ke && (ke[
|
|
1723
|
+
var B = _ || "YYYY-MM-DDTHH:mm:ssZ", G = Q.z(this), se = this.$H, he = this.$m, ge = this.$M, Ce = T.weekdays, Ne = T.months, xe = function(ke, ze, ot, Je) {
|
|
1724
|
+
return ke && (ke[ze] || ke(M, B)) || ot[ze].slice(0, Je);
|
|
1725
1725
|
}, He = function(ke) {
|
|
1726
1726
|
return Q.s(se % 12 || 12, ke, "0");
|
|
1727
|
-
}, Le = T.meridiem || function(ke,
|
|
1727
|
+
}, Le = T.meridiem || function(ke, ze, ot) {
|
|
1728
1728
|
var Je = ke < 12 ? "AM" : "PM";
|
|
1729
1729
|
return ot ? Je.toLowerCase() : Je;
|
|
1730
|
-
}, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ce, 2), ddd: xe(T.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Le(se, he, !0), A: Le(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z:
|
|
1731
|
-
return
|
|
1732
|
-
return
|
|
1730
|
+
}, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ce, 2), ddd: xe(T.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Le(se, he, !0), A: Le(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: G };
|
|
1731
|
+
return B.replace(P, function(ke, ze) {
|
|
1732
|
+
return ze || Te[ke] || G.replace(":", "");
|
|
1733
1733
|
});
|
|
1734
1734
|
}, C.utcOffset = function() {
|
|
1735
1735
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1736
1736
|
}, C.diff = function(_, M, T) {
|
|
1737
|
-
var
|
|
1738
|
-
return Ce = (
|
|
1737
|
+
var B, G = Q.p(M), se = ie(_), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ce = Q.m(this, se);
|
|
1738
|
+
return Ce = (B = {}, B[k] = Ce / 12, B[d] = Ce, B[v] = Ce / 3, B[m] = (ge - he) / 6048e5, B[p] = (ge - he) / 864e5, B[u] = ge / r, B[f] = ge / a, B[l] = ge / e, B)[G] || ge, T ? Ce : Q.a(Ce);
|
|
1739
1739
|
}, C.daysInMonth = function() {
|
|
1740
1740
|
return this.endOf(d).$D;
|
|
1741
1741
|
}, C.$locale = function() {
|
|
@@ -1743,8 +1743,8 @@ var fa = {}, qi = {
|
|
|
1743
1743
|
}, C.locale = function(_, M) {
|
|
1744
1744
|
if (!_)
|
|
1745
1745
|
return this.$L;
|
|
1746
|
-
var T = this.clone(),
|
|
1747
|
-
return
|
|
1746
|
+
var T = this.clone(), B = pe(_, M, !0);
|
|
1747
|
+
return B && (T.$L = B), T;
|
|
1748
1748
|
}, C.clone = function() {
|
|
1749
1749
|
return Q.w(this.$d, this);
|
|
1750
1750
|
}, C.toDate = function() {
|
|
@@ -1757,7 +1757,7 @@ var fa = {}, qi = {
|
|
|
1757
1757
|
return this.$d.toUTCString();
|
|
1758
1758
|
}, D;
|
|
1759
1759
|
}(), W = Me.prototype;
|
|
1760
|
-
return ie.prototype = W, [["$ms", o], ["$s", l], ["$m", f], ["$H", u], ["$W", p], ["$M", d], ["$y", k], ["$D",
|
|
1760
|
+
return ie.prototype = W, [["$ms", o], ["$s", l], ["$m", f], ["$H", u], ["$W", p], ["$M", d], ["$y", k], ["$D", I]].forEach(function(D) {
|
|
1761
1761
|
W[D[1]] = function(C) {
|
|
1762
1762
|
return this.$g(C, D[0], D[1]);
|
|
1763
1763
|
};
|
|
@@ -1769,7 +1769,7 @@ var fa = {}, qi = {
|
|
|
1769
1769
|
});
|
|
1770
1770
|
})(qi);
|
|
1771
1771
|
const De = fa;
|
|
1772
|
-
var ma = {},
|
|
1772
|
+
var ma = {}, Ki = {
|
|
1773
1773
|
get exports() {
|
|
1774
1774
|
return ma;
|
|
1775
1775
|
},
|
|
@@ -1819,12 +1819,12 @@ var ma = {}, Gi = {
|
|
|
1819
1819
|
return ie === 0 ? 0 : pe === "+" ? ie : -ie;
|
|
1820
1820
|
}(y), y === null))
|
|
1821
1821
|
return this;
|
|
1822
|
-
var
|
|
1822
|
+
var F = Math.abs(y) <= 16 ? 60 * y : y, R = this;
|
|
1823
1823
|
if (O)
|
|
1824
|
-
return R.$offset =
|
|
1824
|
+
return R.$offset = F, R.$u = y === 0, R;
|
|
1825
1825
|
if (y !== 0) {
|
|
1826
1826
|
var U = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1827
|
-
(R = this.local().add(
|
|
1827
|
+
(R = this.local().add(F + U, e)).$offset = F, R.$x.$localOffset = U;
|
|
1828
1828
|
} else
|
|
1829
1829
|
R = this.utc();
|
|
1830
1830
|
return R;
|
|
@@ -1847,27 +1847,27 @@ var ma = {}, Gi = {
|
|
|
1847
1847
|
u.toDate = function(y) {
|
|
1848
1848
|
return y === "s" && this.$offset ? f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
|
1849
1849
|
};
|
|
1850
|
-
var
|
|
1850
|
+
var I = u.diff;
|
|
1851
1851
|
u.diff = function(y, O, P) {
|
|
1852
1852
|
if (y && this.$u === y.$u)
|
|
1853
|
-
return
|
|
1854
|
-
var
|
|
1855
|
-
return
|
|
1853
|
+
return I.call(this, y, O, P);
|
|
1854
|
+
var F = this.local(), R = f(y).local();
|
|
1855
|
+
return I.call(F, R, O, P);
|
|
1856
1856
|
};
|
|
1857
1857
|
};
|
|
1858
1858
|
});
|
|
1859
|
-
})(
|
|
1860
|
-
const
|
|
1861
|
-
De.extend(
|
|
1862
|
-
const Ct = ".000000Z",
|
|
1859
|
+
})(Ki);
|
|
1860
|
+
const Gi = ma;
|
|
1861
|
+
De.extend(Gi);
|
|
1862
|
+
const Ct = ".000000Z", jn = "YYYY-MM-DDTHH:mm:ss", zr = "1970-01-01T00:00:00.000000Z", Br = "2100-01-01T00:00:00.000000Z", Zi = () => De().utc().toDate(), Up = () => Go(De().utc().unix()), Lt = (t = !0, n = !1) => t && !n ? De().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !t && n ? De().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : De().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Yp = (t = 0) => t === 0 ? De().startOf("day").utc().format(jn) + Ct : De().add(t, "days").startOf("day").utc().format(jn) + Ct, Hp = (t = 0) => t === 0 ? De().endOf("day").utc().format(jn) + Ct : De().add(t, "days").endOf("day").utc().format(jn) + Ct, Jp = (t = 0, n = null) => {
|
|
1863
1863
|
if (n === null && (n = /* @__PURE__ */ new Date()), t === 0)
|
|
1864
1864
|
return n;
|
|
1865
1865
|
if (t > 0)
|
|
1866
1866
|
return De(n).add(t, "minutes").toDate();
|
|
1867
1867
|
if (t < 0)
|
|
1868
1868
|
return De(n).subtract(t, "minutes").toDate();
|
|
1869
|
-
}, Qi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => De().utc().format("YYYY"), pa = (t, n = "") => t ===
|
|
1870
|
-
if (t ===
|
|
1869
|
+
}, Qi = (t) => De(t).utc().format("YYYY-MM-DDTHH:mm:ss") + Ct, Wp = () => De().utc().format("YYYY"), pa = (t, n = "") => t === Br || t === zr || t === "" || ye(t) || S(t) ? n : De(t).format("DD.MM.YYYY HH:mm"), qp = (t, n = "") => {
|
|
1870
|
+
if (t === Br || t === zr || t === "" || ye(t) || S(t))
|
|
1871
1871
|
return n;
|
|
1872
1872
|
let e = !0, a = !0;
|
|
1873
1873
|
const r = De(t), o = De();
|
|
@@ -1878,7 +1878,7 @@ const Ct = ".000000Z", zn = "YYYY-MM-DDTHH:mm:ss", Br = "1970-01-01T00:00:00.000
|
|
|
1878
1878
|
}, tl = { class: "d-flex align-center" }, nl = {
|
|
1879
1879
|
key: 0,
|
|
1880
1880
|
class: "mr-2"
|
|
1881
|
-
},
|
|
1881
|
+
}, Kp = /* @__PURE__ */ L({
|
|
1882
1882
|
__name: "ATimeTrackingFields",
|
|
1883
1883
|
props: {
|
|
1884
1884
|
data: null,
|
|
@@ -1886,7 +1886,7 @@ const Ct = ".000000Z", zn = "YYYY-MM-DDTHH:mm:ss", Br = "1970-01-01T00:00:00.000
|
|
|
1886
1886
|
hideModifiedAt: { type: Boolean, default: !1 }
|
|
1887
1887
|
},
|
|
1888
1888
|
setup(t) {
|
|
1889
|
-
const n = t, e = x(() => pa(n.data.createdAt)), a = x(() => pa(n.data.modifiedAt)), { t: r } =
|
|
1889
|
+
const n = t, e = x(() => pa(n.data.createdAt)), a = x(() => pa(n.data.modifiedAt)), { t: r } = K();
|
|
1890
1890
|
return (o, l) => (w(), H(Ye, null, [
|
|
1891
1891
|
b(tt, {
|
|
1892
1892
|
title: c(r)("common.model.tracking.created")
|
|
@@ -1911,7 +1911,7 @@ const Ct = ".000000Z", zn = "YYYY-MM-DDTHH:mm:ss", Br = "1970-01-01T00:00:00.000
|
|
|
1911
1911
|
], 64));
|
|
1912
1912
|
}
|
|
1913
1913
|
});
|
|
1914
|
-
function
|
|
1914
|
+
function Gp(t, n) {
|
|
1915
1915
|
return (e = {}) => {
|
|
1916
1916
|
const a = S(e.variant) ? "eq" : e.variant;
|
|
1917
1917
|
let r = S(e.default) ? null : e.default;
|
|
@@ -1968,7 +1968,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1968
1968
|
set(u) {
|
|
1969
1969
|
n("update:modelValue", { ...e.modelValue, model: u });
|
|
1970
1970
|
}
|
|
1971
|
-
}), { clearOne: r } = $a(), { t: o } =
|
|
1971
|
+
}), { clearOne: r } = $a(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? o("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? o("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? o("common.model.filterPlaceholder.contains") : "" : e.placeholder);
|
|
1972
1972
|
return (u, p) => (w(), E(Jn, {
|
|
1973
1973
|
modelValue: c(a),
|
|
1974
1974
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ue(a) ? a.value = m : null),
|
|
@@ -1994,7 +1994,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1994
1994
|
set(f) {
|
|
1995
1995
|
n("update:modelValue", { ...e.modelValue, model: f });
|
|
1996
1996
|
}
|
|
1997
|
-
}), { clearOne: r } = $a(), { t: o } =
|
|
1997
|
+
}), { clearOne: r } = $a(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
|
|
1998
1998
|
return (f, u) => (w(), E(Jn, {
|
|
1999
1999
|
modelValue: c(a),
|
|
2000
2000
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => Ue(a) ? a.value = p : null),
|
|
@@ -2017,7 +2017,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2017
2017
|
setup(t, { emit: n }) {
|
|
2018
2018
|
const e = J(!1), a = (l) => {
|
|
2019
2019
|
st(l), e.value = !e.value, n("advancedFilter");
|
|
2020
|
-
}, r = x(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } =
|
|
2020
|
+
}, r = x(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = K();
|
|
2021
2021
|
return (l, f) => (w(), E(oe, {
|
|
2022
2022
|
class: be(t.buttonClass),
|
|
2023
2023
|
"data-cy": t.dataCy,
|
|
@@ -2028,12 +2028,12 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2028
2028
|
}, {
|
|
2029
2029
|
default: g(() => [
|
|
2030
2030
|
b(me, { icon: c(r) }, null, 8, ["icon"]),
|
|
2031
|
-
b(
|
|
2031
|
+
b(Ie, {
|
|
2032
2032
|
activator: "parent",
|
|
2033
2033
|
location: "bottom"
|
|
2034
2034
|
}, {
|
|
2035
2035
|
default: g(() => [
|
|
2036
|
-
|
|
2036
|
+
z($(c(o)(t.tooltipT)), 1)
|
|
2037
2037
|
]),
|
|
2038
2038
|
_: 1
|
|
2039
2039
|
})
|
|
@@ -2053,7 +2053,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2053
2053
|
setup(t, { emit: n }) {
|
|
2054
2054
|
const e = (r) => {
|
|
2055
2055
|
st(r), n("submit");
|
|
2056
|
-
}, { t: a } =
|
|
2056
|
+
}, { t: a } = K();
|
|
2057
2057
|
return (r, o) => (w(), E(oe, {
|
|
2058
2058
|
class: be(t.buttonClass),
|
|
2059
2059
|
"data-cy": t.dataCy,
|
|
@@ -2063,7 +2063,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2063
2063
|
onClick: ne(e, ["stop"])
|
|
2064
2064
|
}, {
|
|
2065
2065
|
default: g(() => [
|
|
2066
|
-
|
|
2066
|
+
z($(c(a)(t.buttonT)), 1)
|
|
2067
2067
|
]),
|
|
2068
2068
|
_: 1
|
|
2069
2069
|
}, 8, ["class", "data-cy", "variant", "onClick"]));
|
|
@@ -2079,7 +2079,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2079
2079
|
setup(t, { emit: n }) {
|
|
2080
2080
|
const e = (r) => {
|
|
2081
2081
|
st(r), n("reset");
|
|
2082
|
-
}, { t: a } =
|
|
2082
|
+
}, { t: a } = K();
|
|
2083
2083
|
return (r, o) => (w(), E(oe, {
|
|
2084
2084
|
class: be([t.buttonClass, "px-2"]),
|
|
2085
2085
|
"data-cy": t.dataCy,
|
|
@@ -2093,12 +2093,12 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2093
2093
|
color: "grey darken-1",
|
|
2094
2094
|
icon: "mdi-filter-remove-outline"
|
|
2095
2095
|
}),
|
|
2096
|
-
b(
|
|
2096
|
+
b(Ie, {
|
|
2097
2097
|
activator: "parent",
|
|
2098
2098
|
location: "bottom"
|
|
2099
2099
|
}, {
|
|
2100
2100
|
default: g(() => [
|
|
2101
|
-
|
|
2101
|
+
z($(c(a)(t.tooltipT)), 1)
|
|
2102
2102
|
]),
|
|
2103
2103
|
_: 1
|
|
2104
2104
|
})
|
|
@@ -2190,8 +2190,8 @@ var Ln = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] =
|
|
|
2190
2190
|
t.Default = 0
|
|
2191
2191
|
/* Deny */
|
|
2192
2192
|
] = "Default", t))(Ln || {});
|
|
2193
|
-
function
|
|
2194
|
-
const { t } =
|
|
2193
|
+
function jr() {
|
|
2194
|
+
const { t } = K(), n = J([
|
|
2195
2195
|
{
|
|
2196
2196
|
value: 0,
|
|
2197
2197
|
title: t("common.permission.grant.deny"),
|
|
@@ -2228,7 +2228,7 @@ const eh = /* @__PURE__ */ L({
|
|
|
2228
2228
|
set(o) {
|
|
2229
2229
|
n("change", o);
|
|
2230
2230
|
}
|
|
2231
|
-
}), { getGrantOption: r } =
|
|
2231
|
+
}), { getGrantOption: r } = jr();
|
|
2232
2232
|
return (o, l) => (w(), E(Wn, {
|
|
2233
2233
|
modelValue: c(a),
|
|
2234
2234
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => Ue(a) ? a.value = f : null),
|
|
@@ -2248,7 +2248,7 @@ const eh = /* @__PURE__ */ L({
|
|
|
2248
2248
|
default: g(() => {
|
|
2249
2249
|
var p;
|
|
2250
2250
|
return [
|
|
2251
|
-
|
|
2251
|
+
z($((p = c(r)(f)) == null ? void 0 : p.title), 1)
|
|
2252
2252
|
];
|
|
2253
2253
|
}),
|
|
2254
2254
|
_: 2
|
|
@@ -2261,7 +2261,7 @@ const eh = /* @__PURE__ */ L({
|
|
|
2261
2261
|
});
|
|
2262
2262
|
var Rr = /* @__PURE__ */ ((t) => (t.Role = "role", t.Group = "group", t.User = "user", t.DefaultGrant = "default", t.Default = "default", t))(Rr || {});
|
|
2263
2263
|
function il() {
|
|
2264
|
-
const { t } =
|
|
2264
|
+
const { t } = K(), n = J([
|
|
2265
2265
|
{
|
|
2266
2266
|
value: "role",
|
|
2267
2267
|
title: t("common.permission.grantOrigin.role")
|
|
@@ -2294,7 +2294,7 @@ const ll = {
|
|
|
2294
2294
|
grantOrigin: null
|
|
2295
2295
|
},
|
|
2296
2296
|
setup(t) {
|
|
2297
|
-
const n = t, { getGrantOption: e } =
|
|
2297
|
+
const n = t, { getGrantOption: e } = jr(), a = x(() => e(n.grant)), { getGrantOriginOption: r } = il(), o = x(() => r(n.grantOrigin));
|
|
2298
2298
|
return (l, f) => c(a) ? (w(), E(ct, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
color: c(a).color,
|
|
@@ -2304,7 +2304,7 @@ const ll = {
|
|
|
2304
2304
|
default: g(() => {
|
|
2305
2305
|
var u;
|
|
2306
2306
|
return [
|
|
2307
|
-
|
|
2307
|
+
z($(c(a).title) + " ", 1),
|
|
2308
2308
|
t.grantOrigin !== c(Rr).DefaultGrant ? (w(), H("span", ll, "(" + $((u = c(o)) == null ? void 0 : u.title) + ")", 1)) : Z("", !0)
|
|
2309
2309
|
];
|
|
2310
2310
|
}),
|
|
@@ -2351,13 +2351,13 @@ function rh(t, n, e = ".") {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
return o(t), t;
|
|
2353
2353
|
}
|
|
2354
|
-
const sl = (t) => qn(t) && Object.hasOwn(t, "owners"), ul = (t) => Object.hasOwn(t, "createdBy"),
|
|
2354
|
+
const sl = (t) => qn(t) && Object.hasOwn(t, "owners"), ul = (t) => Object.hasOwn(t, "createdBy"), Kn = Symbol("currentUser"), Hr = Symbol("customAclResolver"), Jr = Symbol("availableLanguages"), Wr = Symbol("defaultLanguage"), oh = {
|
|
2355
2355
|
install(t, n) {
|
|
2356
|
-
t.provide(
|
|
2356
|
+
t.provide(Kn, n.currentUser), t.provide(Hr, n.customAclResolver), t.provide(Jr, n.languages.available), t.provide(Wr, n.languages.default), t.component("Acl", cl), t.use(Oi, { componentName: "Notifications" });
|
|
2357
2357
|
}
|
|
2358
2358
|
}, qr = "ROLE_ADMIN";
|
|
2359
2359
|
function dl(t) {
|
|
2360
|
-
const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? we(
|
|
2360
|
+
const n = S(t) || S(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? we(Kn, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? we(Hr, void 0) : void 0), r = (u, p) => {
|
|
2361
2361
|
if (S(e))
|
|
2362
2362
|
throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
|
|
2363
2363
|
if (ar(a) && ar(a.can))
|
|
@@ -2408,7 +2408,7 @@ const cl = /* @__PURE__ */ L({
|
|
|
2408
2408
|
subject: { default: void 0 }
|
|
2409
2409
|
},
|
|
2410
2410
|
setup(t) {
|
|
2411
|
-
const n = t, e = we(
|
|
2411
|
+
const n = t, e = we(Kn), { can: a } = dl(), r = J(a(n.permission, n.subject));
|
|
2412
2412
|
return Pe(e, () => {
|
|
2413
2413
|
r.value = a(n.permission, n.subject);
|
|
2414
2414
|
}), (o, l) => r.value ? _e(o.$slots, "default", { key: 0 }) : Z("", !0);
|
|
@@ -2437,7 +2437,7 @@ var na = [
|
|
|
2437
2437
|
"onValueUpdate",
|
|
2438
2438
|
"onYearChange",
|
|
2439
2439
|
"onPreCalendarPosition"
|
|
2440
|
-
],
|
|
2440
|
+
], Ft = {
|
|
2441
2441
|
_disable: [],
|
|
2442
2442
|
allowInput: !1,
|
|
2443
2443
|
allowInvalidPreload: !1,
|
|
@@ -2569,9 +2569,9 @@ var na = [
|
|
|
2569
2569
|
hourAriaLabel: "Hour",
|
|
2570
2570
|
minuteAriaLabel: "Minute",
|
|
2571
2571
|
time_24hr: !1
|
|
2572
|
-
},
|
|
2572
|
+
}, Fe = function(t, n) {
|
|
2573
2573
|
return n === void 0 && (n = 2), ("000" + t).slice(n * -1);
|
|
2574
|
-
},
|
|
2574
|
+
}, Ke = function(t) {
|
|
2575
2575
|
return t === !0 ? 1 : 0;
|
|
2576
2576
|
};
|
|
2577
2577
|
function sr(t, n) {
|
|
@@ -2595,24 +2595,24 @@ function ce(t, n, e) {
|
|
|
2595
2595
|
var a = window.document.createElement(t);
|
|
2596
2596
|
return n = n || "", e = e || "", a.className = n, e !== void 0 && (a.textContent = e), a;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function In(t) {
|
|
2599
2599
|
for (; t.firstChild; )
|
|
2600
2600
|
t.removeChild(t.firstChild);
|
|
2601
2601
|
}
|
|
2602
|
-
function
|
|
2602
|
+
function Kr(t, n) {
|
|
2603
2603
|
if (n(t))
|
|
2604
2604
|
return t;
|
|
2605
2605
|
if (t.parentNode)
|
|
2606
|
-
return
|
|
2606
|
+
return Kr(t.parentNode, n);
|
|
2607
2607
|
}
|
|
2608
|
-
function
|
|
2608
|
+
function Fn(t, n) {
|
|
2609
2609
|
var e = ce("div", "numInputWrapper"), a = ce("input", "numInput " + t), r = ce("span", "arrowUp"), o = ce("span", "arrowDown");
|
|
2610
2610
|
if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), n !== void 0)
|
|
2611
2611
|
for (var l in n)
|
|
2612
2612
|
a.setAttribute(l, n[l]);
|
|
2613
2613
|
return e.appendChild(a), e.appendChild(r), e.appendChild(o), e;
|
|
2614
2614
|
}
|
|
2615
|
-
function
|
|
2615
|
+
function je(t) {
|
|
2616
2616
|
try {
|
|
2617
2617
|
if (typeof t.composedPath == "function") {
|
|
2618
2618
|
var n = t.composedPath();
|
|
@@ -2641,7 +2641,7 @@ var ra = function() {
|
|
|
2641
2641
|
t.setDate(parseFloat(n));
|
|
2642
2642
|
},
|
|
2643
2643
|
K: function(t, n, e) {
|
|
2644
|
-
t.setHours(t.getHours() % 12 + 12 *
|
|
2644
|
+
t.setHours(t.getHours() % 12 + 12 * Ke(new RegExp(e.amPM[1], "i").test(n)));
|
|
2645
2645
|
},
|
|
2646
2646
|
M: function(t, n, e) {
|
|
2647
2647
|
t.setMonth(e.months.shorthand.indexOf(n));
|
|
@@ -2715,33 +2715,33 @@ var ra = function() {
|
|
|
2715
2715
|
u: "(.+)",
|
|
2716
2716
|
w: "(\\d\\d|\\d)",
|
|
2717
2717
|
y: "(\\d{2})"
|
|
2718
|
-
},
|
|
2718
|
+
}, Gt = {
|
|
2719
2719
|
Z: function(t) {
|
|
2720
2720
|
return t.toISOString();
|
|
2721
2721
|
},
|
|
2722
2722
|
D: function(t, n, e) {
|
|
2723
|
-
return n.weekdays.shorthand[
|
|
2723
|
+
return n.weekdays.shorthand[Gt.w(t, n, e)];
|
|
2724
2724
|
},
|
|
2725
2725
|
F: function(t, n, e) {
|
|
2726
|
-
return Un(
|
|
2726
|
+
return Un(Gt.n(t, n, e) - 1, !1, n);
|
|
2727
2727
|
},
|
|
2728
2728
|
G: function(t, n, e) {
|
|
2729
|
-
return
|
|
2729
|
+
return Fe(Gt.h(t, n, e));
|
|
2730
2730
|
},
|
|
2731
2731
|
H: function(t) {
|
|
2732
|
-
return
|
|
2732
|
+
return Fe(t.getHours());
|
|
2733
2733
|
},
|
|
2734
2734
|
J: function(t, n) {
|
|
2735
2735
|
return n.ordinal !== void 0 ? t.getDate() + n.ordinal(t.getDate()) : t.getDate();
|
|
2736
2736
|
},
|
|
2737
2737
|
K: function(t, n) {
|
|
2738
|
-
return n.amPM[
|
|
2738
|
+
return n.amPM[Ke(t.getHours() > 11)];
|
|
2739
2739
|
},
|
|
2740
2740
|
M: function(t, n) {
|
|
2741
2741
|
return Un(t.getMonth(), !0, n);
|
|
2742
2742
|
},
|
|
2743
2743
|
S: function(t) {
|
|
2744
|
-
return
|
|
2744
|
+
return Fe(t.getSeconds());
|
|
2745
2745
|
},
|
|
2746
2746
|
U: function(t) {
|
|
2747
2747
|
return t.getTime() / 1e3;
|
|
@@ -2750,16 +2750,16 @@ var ra = function() {
|
|
|
2750
2750
|
return e.getWeek(t);
|
|
2751
2751
|
},
|
|
2752
2752
|
Y: function(t) {
|
|
2753
|
-
return
|
|
2753
|
+
return Fe(t.getFullYear(), 4);
|
|
2754
2754
|
},
|
|
2755
2755
|
d: function(t) {
|
|
2756
|
-
return
|
|
2756
|
+
return Fe(t.getDate());
|
|
2757
2757
|
},
|
|
2758
2758
|
h: function(t) {
|
|
2759
2759
|
return t.getHours() % 12 ? t.getHours() % 12 : 12;
|
|
2760
2760
|
},
|
|
2761
2761
|
i: function(t) {
|
|
2762
|
-
return
|
|
2762
|
+
return Fe(t.getMinutes());
|
|
2763
2763
|
},
|
|
2764
2764
|
j: function(t) {
|
|
2765
2765
|
return t.getDate();
|
|
@@ -2768,7 +2768,7 @@ var ra = function() {
|
|
|
2768
2768
|
return n.weekdays.longhand[t.getDay()];
|
|
2769
2769
|
},
|
|
2770
2770
|
m: function(t) {
|
|
2771
|
-
return
|
|
2771
|
+
return Fe(t.getMonth() + 1);
|
|
2772
2772
|
},
|
|
2773
2773
|
n: function(t) {
|
|
2774
2774
|
return t.getMonth() + 1;
|
|
@@ -2785,16 +2785,16 @@ var ra = function() {
|
|
|
2785
2785
|
y: function(t) {
|
|
2786
2786
|
return String(t.getFullYear()).substring(2);
|
|
2787
2787
|
}
|
|
2788
|
-
},
|
|
2789
|
-
var n = t.config, e = n === void 0 ?
|
|
2788
|
+
}, Gr = function(t) {
|
|
2789
|
+
var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? nn : a, o = t.isMobile, l = o === void 0 ? !1 : o;
|
|
2790
2790
|
return function(f, u, p) {
|
|
2791
2791
|
var m = p || r;
|
|
2792
2792
|
return e.formatDate !== void 0 && !l ? e.formatDate(f, u, m) : u.split("").map(function(d, v, k) {
|
|
2793
|
-
return
|
|
2793
|
+
return Gt[d] && k[v - 1] !== "\\" ? Gt[d](f, m, e) : d !== "\\" ? d : "";
|
|
2794
2794
|
}).join("");
|
|
2795
2795
|
};
|
|
2796
2796
|
}, ha = function(t) {
|
|
2797
|
-
var n = t.config, e = n === void 0 ?
|
|
2797
|
+
var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? nn : a;
|
|
2798
2798
|
return function(o, l, f, u) {
|
|
2799
2799
|
if (!(o !== 0 && !o)) {
|
|
2800
2800
|
var p = u || r, m, d = o;
|
|
@@ -2803,7 +2803,7 @@ var ra = function() {
|
|
|
2803
2803
|
else if (typeof o != "string" && o.toFixed !== void 0)
|
|
2804
2804
|
m = new Date(o);
|
|
2805
2805
|
else if (typeof o == "string") {
|
|
2806
|
-
var v = l || (e ||
|
|
2806
|
+
var v = l || (e || Ft).dateFormat, k = String(o).trim();
|
|
2807
2807
|
if (k === "today")
|
|
2808
2808
|
m = /* @__PURE__ */ new Date(), f = !0;
|
|
2809
2809
|
else if (e && e.parseDate)
|
|
@@ -2811,22 +2811,22 @@ var ra = function() {
|
|
|
2811
2811
|
else if (/Z$/.test(k) || /GMT$/.test(k))
|
|
2812
2812
|
m = new Date(o);
|
|
2813
2813
|
else {
|
|
2814
|
-
for (var
|
|
2814
|
+
for (var I = void 0, y = [], O = 0, P = 0, F = ""; O < v.length; O++) {
|
|
2815
2815
|
var R = v[O], U = R === "\\", ae = v[O - 1] === "\\" || U;
|
|
2816
2816
|
if (kt[R] && !ae) {
|
|
2817
|
-
|
|
2818
|
-
var ee = new RegExp(
|
|
2819
|
-
ee && (
|
|
2817
|
+
F += kt[R];
|
|
2818
|
+
var ee = new RegExp(F).exec(o);
|
|
2819
|
+
ee && (I = !0) && y[R !== "Y" ? "push" : "unshift"]({
|
|
2820
2820
|
fn: fl[R],
|
|
2821
2821
|
val: ee[++P]
|
|
2822
2822
|
});
|
|
2823
2823
|
} else
|
|
2824
|
-
U || (
|
|
2824
|
+
U || (F += ".");
|
|
2825
2825
|
}
|
|
2826
2826
|
m = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(ue) {
|
|
2827
2827
|
var pe = ue.fn, ie = ue.val;
|
|
2828
2828
|
return m = pe(m, ie, p) || m;
|
|
2829
|
-
}), m =
|
|
2829
|
+
}), m = I ? m : void 0;
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
2832
|
if (!(m instanceof Date && !isNaN(m.getTime()))) {
|
|
@@ -2896,10 +2896,10 @@ var $e = globalThis && globalThis.__assign || function() {
|
|
|
2896
2896
|
}, gl = 300;
|
|
2897
2897
|
function vl(t, n) {
|
|
2898
2898
|
var e = {
|
|
2899
|
-
config: $e($e({},
|
|
2899
|
+
config: $e($e({}, Ft), Ae.defaultConfig),
|
|
2900
2900
|
l10n: nn
|
|
2901
2901
|
};
|
|
2902
|
-
e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate =
|
|
2902
|
+
e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = F, e.updateValue = We, e.open = sn, e.redraw = Ut, e.set = fn, e.setDate = mn, e.toggle = vn;
|
|
2903
2903
|
function a() {
|
|
2904
2904
|
e.utils = {
|
|
2905
2905
|
getDaysInMonth: function(i, s) {
|
|
@@ -2938,7 +2938,7 @@ function vl(t, n) {
|
|
|
2938
2938
|
d(), We(), e._input.value !== A && e._debouncedChange();
|
|
2939
2939
|
}
|
|
2940
2940
|
function p(i, s) {
|
|
2941
|
-
return i % 12 + 12 *
|
|
2941
|
+
return i % 12 + 12 * Ke(s === e.l10n.amPM[1]);
|
|
2942
2942
|
}
|
|
2943
2943
|
function m(i) {
|
|
2944
2944
|
switch (i % 24) {
|
|
@@ -2953,7 +2953,7 @@ function vl(t, n) {
|
|
|
2953
2953
|
if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
|
|
2954
2954
|
var i = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, s = (parseInt(e.minuteElement.value, 10) || 0) % 60, h = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
|
|
2955
2955
|
e.amPM !== void 0 && (i = p(i, e.amPM.textContent));
|
|
2956
|
-
var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0,
|
|
2956
|
+
var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, V = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
|
|
2957
2957
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
2958
2958
|
var N = oa(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = oa(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = oa(i, s, h);
|
|
2959
2959
|
if (Y > X && Y < N) {
|
|
@@ -2961,9 +2961,9 @@ function vl(t, n) {
|
|
|
2961
2961
|
i = re[0], s = re[1], h = re[2];
|
|
2962
2962
|
}
|
|
2963
2963
|
} else {
|
|
2964
|
-
if (
|
|
2965
|
-
var
|
|
2966
|
-
i = Math.min(i,
|
|
2964
|
+
if (V) {
|
|
2965
|
+
var j = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
|
|
2966
|
+
i = Math.min(i, j.getHours()), i === j.getHours() && (s = Math.min(s, j.getMinutes())), s === j.getMinutes() && (h = Math.min(h, j.getSeconds()));
|
|
2967
2967
|
}
|
|
2968
2968
|
if (A) {
|
|
2969
2969
|
var q = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
|
|
@@ -2978,20 +2978,20 @@ function vl(t, n) {
|
|
|
2978
2978
|
s && s instanceof Date && k(s.getHours(), s.getMinutes(), s.getSeconds());
|
|
2979
2979
|
}
|
|
2980
2980
|
function k(i, s, h) {
|
|
2981
|
-
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, s, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value =
|
|
2981
|
+
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, s, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Fe(e.config.time_24hr ? i : (12 + i) % 12 + 12 * Ke(i % 12 === 0)), e.minuteElement.value = Fe(s), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ke(i >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Fe(h)));
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2984
|
-
var s =
|
|
2983
|
+
function I(i) {
|
|
2984
|
+
var s = je(i), h = parseInt(s.value) + (i.delta || 0);
|
|
2985
2985
|
(h / 1e3 > 1 || i.key === "Enter" && !/[^\d]/.test(h.toString())) && Le(h);
|
|
2986
2986
|
}
|
|
2987
2987
|
function y(i, s, h, A) {
|
|
2988
2988
|
if (s instanceof Array)
|
|
2989
|
-
return s.forEach(function(
|
|
2990
|
-
return y(i,
|
|
2989
|
+
return s.forEach(function(V) {
|
|
2990
|
+
return y(i, V, h, A);
|
|
2991
2991
|
});
|
|
2992
2992
|
if (i instanceof Array)
|
|
2993
|
-
return i.forEach(function(
|
|
2994
|
-
return y(
|
|
2993
|
+
return i.forEach(function(V) {
|
|
2994
|
+
return y(V, s, h, A);
|
|
2995
2995
|
});
|
|
2996
2996
|
i.addEventListener(s, h, A), e._handlers.push({
|
|
2997
2997
|
remove: function() {
|
|
@@ -3013,10 +3013,10 @@ function vl(t, n) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
var i = sr(ln, 50);
|
|
3015
3015
|
if (e._debouncedChange = sr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
|
|
3016
|
-
e.config.mode === "range" && Je(
|
|
3017
|
-
}), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"],
|
|
3016
|
+
e.config.mode === "range" && Je(je(h));
|
|
3017
|
+
}), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Yt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
3018
3018
|
var s = function(h) {
|
|
3019
|
-
return
|
|
3019
|
+
return je(h).select();
|
|
3020
3020
|
};
|
|
3021
3021
|
y(e.timeContainer, ["increment"], u), y(e.timeContainer, "blur", u, { capture: !0 }), y(e.timeContainer, "click", R), y([e.hourElement, e.minuteElement], ["focus", "click"], s), e.secondElement !== void 0 && y(e.secondElement, "focus", function() {
|
|
3022
3022
|
return e.secondElement && e.secondElement.select();
|
|
@@ -3024,24 +3024,24 @@ function vl(t, n) {
|
|
|
3024
3024
|
u(h);
|
|
3025
3025
|
});
|
|
3026
3026
|
}
|
|
3027
|
-
e.config.allowInput && y(e._input, "blur",
|
|
3027
|
+
e.config.allowInput && y(e._input, "blur", ze);
|
|
3028
3028
|
}
|
|
3029
|
-
function
|
|
3030
|
-
var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), A = e.currentYear,
|
|
3029
|
+
function F(i, s) {
|
|
3030
|
+
var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), A = e.currentYear, V = e.currentMonth;
|
|
3031
3031
|
try {
|
|
3032
3032
|
h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
|
|
3033
3033
|
} catch (N) {
|
|
3034
3034
|
N.message = "Invalid date supplied: " + h, e.config.errorHandler(N);
|
|
3035
3035
|
}
|
|
3036
|
-
s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !==
|
|
3036
|
+
s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== V) && ve("onMonthChange"), e.redraw();
|
|
3037
3037
|
}
|
|
3038
3038
|
function R(i) {
|
|
3039
|
-
var s =
|
|
3039
|
+
var s = je(i);
|
|
3040
3040
|
~s.className.indexOf("arrow") && U(i, s.classList.contains("arrowUp") ? 1 : -1);
|
|
3041
3041
|
}
|
|
3042
3042
|
function U(i, s, h) {
|
|
3043
|
-
var A = i &&
|
|
3044
|
-
N.delta = s,
|
|
3043
|
+
var A = i && je(i), V = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
|
|
3044
|
+
N.delta = s, V && V.dispatchEvent(N);
|
|
3045
3045
|
}
|
|
3046
3046
|
function ae() {
|
|
3047
3047
|
var i = window.document.createDocumentFragment();
|
|
@@ -3050,57 +3050,57 @@ function vl(t, n) {
|
|
|
3050
3050
|
var s = se(), h = s.weekWrapper, A = s.weekNumbers;
|
|
3051
3051
|
e.innerContainer.appendChild(h), e.weekNumbers = A, e.weekWrapper = h;
|
|
3052
3052
|
}
|
|
3053
|
-
e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(
|
|
3053
|
+
e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(B()), e.daysContainer || (e.daysContainer = ce("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), W(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), i.appendChild(e.innerContainer);
|
|
3054
3054
|
}
|
|
3055
3055
|
e.config.enableTime && i.appendChild(T()), Oe(e.calendarContainer, "rangeMode", e.config.mode === "range"), Oe(e.calendarContainer, "animate", e.config.animate === !0), Oe(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
|
|
3056
|
-
var
|
|
3057
|
-
if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!
|
|
3056
|
+
var V = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
|
|
3057
|
+
if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!V && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
|
|
3058
3058
|
var N = ce("div", "flatpickr-wrapper");
|
|
3059
3059
|
e.element.parentNode && e.element.parentNode.insertBefore(N, e.element), N.appendChild(e.element), e.altInput && N.appendChild(e.altInput), N.appendChild(e.calendarContainer);
|
|
3060
3060
|
}
|
|
3061
3061
|
!e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
|
|
3062
3062
|
}
|
|
3063
3063
|
function ee(i, s, h, A) {
|
|
3064
|
-
var
|
|
3065
|
-
return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")),
|
|
3064
|
+
var V = Te(s, !0), N = ce("span", i, s.getDate().toString());
|
|
3065
|
+
return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), V ? (N.tabIndex = -1, Pt(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Oe(N, "startRange", e.selectedDates[0] && Re(s, e.selectedDates[0], !0) === 0), Oe(N, "endRange", e.selectedDates[1] && Re(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && yn(s) && !Pt(s) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && A % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), ve("onDayCreate", N), N;
|
|
3066
3066
|
}
|
|
3067
3067
|
function ue(i) {
|
|
3068
3068
|
i.focus(), e.config.mode === "range" && Je(i);
|
|
3069
3069
|
}
|
|
3070
3070
|
function pe(i) {
|
|
3071
3071
|
for (var s = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, A = s; A != h; A += i)
|
|
3072
|
-
for (var
|
|
3073
|
-
var re =
|
|
3072
|
+
for (var V = e.daysContainer.children[A], N = i > 0 ? 0 : V.children.length - 1, X = i > 0 ? V.children.length : -1, Y = N; Y != X; Y += i) {
|
|
3073
|
+
var re = V.children[Y];
|
|
3074
3074
|
if (re.className.indexOf("hidden") === -1 && Te(re.dateObj))
|
|
3075
3075
|
return re;
|
|
3076
3076
|
}
|
|
3077
3077
|
}
|
|
3078
3078
|
function ie(i, s) {
|
|
3079
|
-
for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1,
|
|
3080
|
-
for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length,
|
|
3081
|
-
var q = X.children[
|
|
3082
|
-
if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i -
|
|
3079
|
+
for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, V = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += V)
|
|
3080
|
+
for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, j = Y; j >= 0 && j < re && j != (s > 0 ? re : -1); j += V) {
|
|
3081
|
+
var q = X.children[j];
|
|
3082
|
+
if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - j) >= Math.abs(s))
|
|
3083
3083
|
return ue(q);
|
|
3084
3084
|
}
|
|
3085
|
-
e.changeMonth(
|
|
3085
|
+
e.changeMonth(V), Q(pe(V), 0);
|
|
3086
3086
|
}
|
|
3087
3087
|
function Q(i, s) {
|
|
3088
|
-
var h = o(), A = ke(h || document.body),
|
|
3089
|
-
|
|
3088
|
+
var h = o(), A = ke(h || document.body), V = i !== void 0 ? i : A ? h : e.selectedDateElem !== void 0 && ke(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ke(e.todayDateElem) ? e.todayDateElem : pe(s > 0 ? 1 : -1);
|
|
3089
|
+
V === void 0 ? e._input.focus() : A ? ie(V, s) : ue(V);
|
|
3090
3090
|
}
|
|
3091
3091
|
function Me(i, s) {
|
|
3092
|
-
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i),
|
|
3093
|
-
N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1,
|
|
3094
|
-
for (
|
|
3095
|
-
N.appendChild(ee("flatpickr-day", new Date(i, s,
|
|
3096
|
-
for (var fe =
|
|
3097
|
-
N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe %
|
|
3098
|
-
var
|
|
3099
|
-
return
|
|
3092
|
+
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", j = A + 1 - h, q = 0; j <= A; j++, q++)
|
|
3093
|
+
N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1, j), j, q));
|
|
3094
|
+
for (j = 1; j <= V; j++, q++)
|
|
3095
|
+
N.appendChild(ee("flatpickr-day", new Date(i, s, j), j, q));
|
|
3096
|
+
for (var fe = V + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
|
|
3097
|
+
N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % V), fe, q));
|
|
3098
|
+
var Be = ce("div", "dayContainer");
|
|
3099
|
+
return Be.appendChild(N), Be;
|
|
3100
3100
|
}
|
|
3101
3101
|
function W() {
|
|
3102
3102
|
if (e.daysContainer !== void 0) {
|
|
3103
|
-
|
|
3103
|
+
In(e.daysContainer), e.weekNumbers && In(e.weekNumbers);
|
|
3104
3104
|
for (var i = document.createDocumentFragment(), s = 0; s < e.config.showMonths; s++) {
|
|
3105
3105
|
var h = new Date(e.currentYear, e.currentMonth, 1);
|
|
3106
3106
|
h.setMonth(e.currentMonth + s), i.appendChild(Me(h.getFullYear(), h.getMonth()));
|
|
@@ -3124,20 +3124,20 @@ function vl(t, n) {
|
|
|
3124
3124
|
function C() {
|
|
3125
3125
|
var i = ce("div", "flatpickr-month"), s = window.document.createDocumentFragment(), h;
|
|
3126
3126
|
e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = ce("span", "cur-month") : (e.monthsDropdownContainer = ce("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), y(e.monthsDropdownContainer, "change", function(X) {
|
|
3127
|
-
var Y =
|
|
3127
|
+
var Y = je(X), re = parseInt(Y.value, 10);
|
|
3128
3128
|
e.changeMonth(re - e.currentMonth), ve("onMonthChange");
|
|
3129
3129
|
}), D(), h = e.monthsDropdownContainer);
|
|
3130
|
-
var A =
|
|
3131
|
-
|
|
3130
|
+
var A = Fn("cur-year", { tabindex: "-1" }), V = A.getElementsByTagName("input")[0];
|
|
3131
|
+
V.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && V.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (V.setAttribute("max", e.config.maxDate.getFullYear().toString()), V.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
|
|
3132
3132
|
var N = ce("div", "flatpickr-current-month");
|
|
3133
3133
|
return N.appendChild(h), N.appendChild(A), s.appendChild(N), i.appendChild(s), {
|
|
3134
3134
|
container: i,
|
|
3135
|
-
yearElement:
|
|
3135
|
+
yearElement: V,
|
|
3136
3136
|
monthElement: h
|
|
3137
3137
|
};
|
|
3138
3138
|
}
|
|
3139
3139
|
function _() {
|
|
3140
|
-
|
|
3140
|
+
In(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
|
|
3141
3141
|
for (var i = e.config.showMonths; i--; ) {
|
|
3142
3142
|
var s = C();
|
|
3143
3143
|
e.yearElements.push(s.yearElement), e.monthElements.push(s.monthElement), e.monthNav.appendChild(s.container);
|
|
@@ -3165,29 +3165,29 @@ function vl(t, n) {
|
|
|
3165
3165
|
e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
|
|
3166
3166
|
var i = ia(e.config);
|
|
3167
3167
|
e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
|
|
3168
|
-
var s = ce("span", "flatpickr-time-separator", ":"), h =
|
|
3168
|
+
var s = ce("span", "flatpickr-time-separator", ":"), h = Fn("flatpickr-hour", {
|
|
3169
3169
|
"aria-label": e.l10n.hourAriaLabel
|
|
3170
3170
|
});
|
|
3171
3171
|
e.hourElement = h.getElementsByTagName("input")[0];
|
|
3172
|
-
var A =
|
|
3172
|
+
var A = Fn("flatpickr-minute", {
|
|
3173
3173
|
"aria-label": e.l10n.minuteAriaLabel
|
|
3174
3174
|
});
|
|
3175
|
-
if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value =
|
|
3175
|
+
if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : m(i.hours)), e.minuteElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : i.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(h), e.timeContainer.appendChild(s), e.timeContainer.appendChild(A), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
|
|
3176
3176
|
e.timeContainer.classList.add("hasSeconds");
|
|
3177
|
-
var
|
|
3178
|
-
e.secondElement =
|
|
3177
|
+
var V = Fn("flatpickr-second");
|
|
3178
|
+
e.secondElement = V.getElementsByTagName("input")[0], e.secondElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(V);
|
|
3179
3179
|
}
|
|
3180
|
-
return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[
|
|
3180
|
+
return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ke((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3183
|
-
e.weekdayContainer ?
|
|
3182
|
+
function B() {
|
|
3183
|
+
e.weekdayContainer ? In(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
|
|
3184
3184
|
for (var i = e.config.showMonths; i--; ) {
|
|
3185
3185
|
var s = ce("div", "flatpickr-weekdaycontainer");
|
|
3186
3186
|
e.weekdayContainer.appendChild(s);
|
|
3187
3187
|
}
|
|
3188
|
-
return
|
|
3188
|
+
return G(), e.weekdayContainer;
|
|
3189
3189
|
}
|
|
3190
|
-
function
|
|
3190
|
+
function G() {
|
|
3191
3191
|
if (e.weekdayContainer) {
|
|
3192
3192
|
var i = e.l10n.firstDayOfWeek, s = ur(e.l10n.weekdays.shorthand);
|
|
3193
3193
|
i > 0 && i < s.length && (s = ur(s.splice(i, s.length), s.splice(0, i)));
|
|
@@ -3216,8 +3216,8 @@ function vl(t, n) {
|
|
|
3216
3216
|
}
|
|
3217
3217
|
function ge(i, s) {
|
|
3218
3218
|
if (i === void 0 && (i = !0), s === void 0 && (s = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, s === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
|
|
3219
|
-
var h = ia(e.config), A = h.hours,
|
|
3220
|
-
k(A,
|
|
3219
|
+
var h = ia(e.config), A = h.hours, V = h.minutes, N = h.seconds;
|
|
3220
|
+
k(A, V, N);
|
|
3221
3221
|
}
|
|
3222
3222
|
e.redraw(), i && ve("onChange");
|
|
3223
3223
|
}
|
|
@@ -3282,10 +3282,10 @@ function vl(t, n) {
|
|
|
3282
3282
|
}
|
|
3283
3283
|
function He(i) {
|
|
3284
3284
|
if (e.isOpen && !e.config.inline) {
|
|
3285
|
-
var s =
|
|
3285
|
+
var s = je(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), V = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
|
|
3286
3286
|
return X.contains(s);
|
|
3287
3287
|
});
|
|
3288
|
-
|
|
3288
|
+
V && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
3291
|
function Le(i) {
|
|
@@ -3304,33 +3304,33 @@ function vl(t, n) {
|
|
|
3304
3304
|
return !0;
|
|
3305
3305
|
if (A === void 0)
|
|
3306
3306
|
return !1;
|
|
3307
|
-
for (var
|
|
3307
|
+
for (var V = !!e.config.enable, N = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, X = 0, Y = void 0; X < N.length; X++) {
|
|
3308
3308
|
if (Y = N[X], typeof Y == "function" && Y(A))
|
|
3309
|
-
return
|
|
3309
|
+
return V;
|
|
3310
3310
|
if (Y instanceof Date && A !== void 0 && Y.getTime() === A.getTime())
|
|
3311
|
-
return
|
|
3311
|
+
return V;
|
|
3312
3312
|
if (typeof Y == "string") {
|
|
3313
3313
|
var re = e.parseDate(Y, void 0, !0);
|
|
3314
|
-
return re && re.getTime() === A.getTime() ?
|
|
3314
|
+
return re && re.getTime() === A.getTime() ? V : !V;
|
|
3315
3315
|
} else if (typeof Y == "object" && A !== void 0 && Y.from && Y.to && A.getTime() >= Y.from.getTime() && A.getTime() <= Y.to.getTime())
|
|
3316
|
-
return
|
|
3316
|
+
return V;
|
|
3317
3317
|
}
|
|
3318
|
-
return !
|
|
3318
|
+
return !V;
|
|
3319
3319
|
}
|
|
3320
3320
|
function ke(i) {
|
|
3321
3321
|
return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
|
|
3322
3322
|
}
|
|
3323
|
-
function
|
|
3324
|
-
var s = i.target === e._input, h = e._input.value.trimEnd() !==
|
|
3323
|
+
function ze(i) {
|
|
3324
|
+
var s = i.target === e._input, h = e._input.value.trimEnd() !== Vt();
|
|
3325
3325
|
s && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
3326
3326
|
}
|
|
3327
3327
|
function ot(i) {
|
|
3328
|
-
var s =
|
|
3328
|
+
var s = je(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, V = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
|
|
3329
3329
|
if (i.keyCode === 13 && h) {
|
|
3330
3330
|
if (A)
|
|
3331
3331
|
return e.setDate(e._input.value, !0, s === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), s.blur();
|
|
3332
3332
|
e.open();
|
|
3333
|
-
} else if (xe(s) ||
|
|
3333
|
+
} else if (xe(s) || V || N) {
|
|
3334
3334
|
var X = !!e.timeContainer && e.timeContainer.contains(s);
|
|
3335
3335
|
switch (i.keyCode) {
|
|
3336
3336
|
case 13:
|
|
@@ -3358,8 +3358,8 @@ function vl(t, n) {
|
|
|
3358
3358
|
case 38:
|
|
3359
3359
|
case 40:
|
|
3360
3360
|
i.preventDefault();
|
|
3361
|
-
var
|
|
3362
|
-
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Le(e.currentYear -
|
|
3361
|
+
var j = i.keyCode === 40 ? 1 : -1;
|
|
3362
|
+
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), Le(e.currentYear - j), Q(pe(1), 0)) : X || Q(void 0, j * 7) : s === e.currentYearElement ? Le(e.currentYear - j) : e.config.enableTime && (!X && e.hourElement && e.hourElement.focus(), u(i), e._debouncedChange());
|
|
3363
3363
|
break;
|
|
3364
3364
|
case 9:
|
|
3365
3365
|
if (X) {
|
|
@@ -3372,8 +3372,8 @@ function vl(t, n) {
|
|
|
3372
3372
|
return Se;
|
|
3373
3373
|
}), fe = q.indexOf(s);
|
|
3374
3374
|
if (fe !== -1) {
|
|
3375
|
-
var
|
|
3376
|
-
i.preventDefault(), (
|
|
3375
|
+
var Be = q[fe + (i.shiftKey ? -1 : 1)];
|
|
3376
|
+
i.preventDefault(), (Be || e._input).focus();
|
|
3377
3377
|
}
|
|
3378
3378
|
} else
|
|
3379
3379
|
!e.config.noCalendar && e.daysContainer && e.daysContainer.contains(s) && i.shiftKey && (i.preventDefault(), e._input.focus());
|
|
@@ -3395,11 +3395,11 @@ function vl(t, n) {
|
|
|
3395
3395
|
}
|
|
3396
3396
|
function Je(i, s) {
|
|
3397
3397
|
if (s === void 0 && (s = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(s) || i.classList.contains("flatpickr-disabled")))) {
|
|
3398
|
-
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(),
|
|
3399
|
-
Te(new Date(
|
|
3398
|
+
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), V = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, j = V; j < N; j += hl.DAY)
|
|
3399
|
+
Te(new Date(j), !0) || (X = X || j > V && j < N, j < A && (!Y || j > Y) ? Y = j : j > A && (!re || j < re) && (re = j));
|
|
3400
3400
|
var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + s));
|
|
3401
3401
|
q.forEach(function(fe) {
|
|
3402
|
-
var
|
|
3402
|
+
var Be = fe.dateObj, Se = Be.getTime(), ut = Y > 0 && Se < Y || re > 0 && Se > re;
|
|
3403
3403
|
if (ut) {
|
|
3404
3404
|
fe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(it) {
|
|
3405
3405
|
fe.classList.remove(it);
|
|
@@ -3420,7 +3420,7 @@ function vl(t, n) {
|
|
|
3420
3420
|
if (s === void 0 && (s = e._positionElement), e.isMobile === !0) {
|
|
3421
3421
|
if (i) {
|
|
3422
3422
|
i.preventDefault();
|
|
3423
|
-
var h =
|
|
3423
|
+
var h = je(i);
|
|
3424
3424
|
h && h.blur();
|
|
3425
3425
|
}
|
|
3426
3426
|
e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), ve("onOpen");
|
|
@@ -3432,11 +3432,11 @@ function vl(t, n) {
|
|
|
3432
3432
|
return e.hourElement.select();
|
|
3433
3433
|
}, 50);
|
|
3434
3434
|
}
|
|
3435
|
-
function
|
|
3435
|
+
function Bt(i) {
|
|
3436
3436
|
return function(s) {
|
|
3437
3437
|
var h = e.config["_" + i + "Date"] = e.parseDate(s, e.config.dateFormat), A = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
|
|
3438
|
-
h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(
|
|
3439
|
-
return Te(
|
|
3438
|
+
h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(V) {
|
|
3439
|
+
return Te(V);
|
|
3440
3440
|
}), !e.selectedDates.length && i === "min" && v(h), We()), e.daysContainer && (Ut(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!A && h !== void 0 && A.getFullYear() === h.getFullYear());
|
|
3441
3441
|
};
|
|
3442
3442
|
}
|
|
@@ -3474,23 +3474,23 @@ function vl(t, n) {
|
|
|
3474
3474
|
});
|
|
3475
3475
|
var A = s.mode === "time";
|
|
3476
3476
|
if (!s.dateFormat && (s.enableTime || A)) {
|
|
3477
|
-
var
|
|
3478
|
-
h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") :
|
|
3477
|
+
var V = Ae.defaultConfig.dateFormat || Ft.dateFormat;
|
|
3478
|
+
h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : V + " H:i" + (s.enableSeconds ? ":S" : "");
|
|
3479
3479
|
}
|
|
3480
3480
|
if (s.altInput && (s.enableTime || A) && !s.altFormat) {
|
|
3481
|
-
var N = Ae.defaultConfig.altFormat ||
|
|
3481
|
+
var N = Ae.defaultConfig.altFormat || Ft.altFormat;
|
|
3482
3482
|
h.altFormat = s.noCalendar || A ? "h:i" + (s.enableSeconds ? ":S K" : " K") : N + (" h:i" + (s.enableSeconds ? ":S" : "") + " K");
|
|
3483
3483
|
}
|
|
3484
3484
|
Object.defineProperty(e.config, "minDate", {
|
|
3485
3485
|
get: function() {
|
|
3486
3486
|
return e.config._minDate;
|
|
3487
3487
|
},
|
|
3488
|
-
set:
|
|
3488
|
+
set: Bt("min")
|
|
3489
3489
|
}), Object.defineProperty(e.config, "maxDate", {
|
|
3490
3490
|
get: function() {
|
|
3491
3491
|
return e.config._maxDate;
|
|
3492
3492
|
},
|
|
3493
|
-
set:
|
|
3493
|
+
set: Bt("max")
|
|
3494
3494
|
});
|
|
3495
3495
|
var X = function(q) {
|
|
3496
3496
|
return function(fe) {
|
|
@@ -3517,18 +3517,18 @@ function vl(t, n) {
|
|
|
3517
3517
|
}), 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);
|
|
3518
3518
|
for (var Y = 0; Y < e.config.plugins.length; Y++) {
|
|
3519
3519
|
var re = e.config.plugins[Y](e) || {};
|
|
3520
|
-
for (var
|
|
3521
|
-
na.indexOf(
|
|
3520
|
+
for (var j in re)
|
|
3521
|
+
na.indexOf(j) > -1 ? e.config[j] = aa(re[j]).map(l).concat(e.config[j]) : typeof s[j] > "u" && (e.config[j] = re[j]);
|
|
3522
3522
|
}
|
|
3523
|
-
s.altInputClass || (e.config.altInputClass =
|
|
3523
|
+
s.altInputClass || (e.config.altInputClass = jt().className + " " + e.config.altInputClass), ve("onParseConfig");
|
|
3524
3524
|
}
|
|
3525
|
-
function
|
|
3525
|
+
function jt() {
|
|
3526
3526
|
return e.config.wrap ? t.querySelector("[data-input]") : t;
|
|
3527
3527
|
}
|
|
3528
3528
|
function Rt() {
|
|
3529
3529
|
typeof e.config.locale != "object" && typeof Ae.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = $e($e({}, Ae.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Ae.l10ns[e.config.locale] : void 0), kt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", kt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", kt.M = "(" + e.l10n.months.shorthand.join("|") + ")", kt.F = "(" + e.l10n.months.longhand.join("|") + ")", kt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
|
|
3530
3530
|
var i = $e($e({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
|
|
3531
|
-
i.time_24hr === void 0 && Ae.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate =
|
|
3531
|
+
i.time_24hr === void 0 && Ae.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Gr(e), e.parseDate = ha({ config: e.config, l10n: e.l10n });
|
|
3532
3532
|
}
|
|
3533
3533
|
function yt(i) {
|
|
3534
3534
|
if (typeof e.config.position == "function")
|
|
@@ -3537,10 +3537,10 @@ function vl(t, n) {
|
|
|
3537
3537
|
ve("onPreCalendarPosition");
|
|
3538
3538
|
var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Tn, Sn) {
|
|
3539
3539
|
return Tn + Sn.offsetHeight;
|
|
3540
|
-
}, 0), A = e.calendarContainer.offsetWidth,
|
|
3541
|
-
if (Oe(e.calendarContainer, "arrowTop", !
|
|
3542
|
-
var fe = window.pageXOffset + Y.left,
|
|
3543
|
-
X === "center" ? (fe -= (A - Y.width) / 2,
|
|
3540
|
+
}, 0), A = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, j = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (j ? -h - 2 : s.offsetHeight + 2);
|
|
3541
|
+
if (Oe(e.calendarContainer, "arrowTop", !j), Oe(e.calendarContainer, "arrowBottom", j), !e.config.inline) {
|
|
3542
|
+
var fe = window.pageXOffset + Y.left, Be = !1, Se = !1;
|
|
3543
|
+
X === "center" ? (fe -= (A - Y.width) / 2, Be = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Oe(e.calendarContainer, "arrowLeft", !Be && !Se), Oe(e.calendarContainer, "arrowCenter", Be), Oe(e.calendarContainer, "arrowRight", Se);
|
|
3544
3544
|
var ut = window.document.body.offsetWidth - (window.pageXOffset + Y.right), it = fe + A > window.document.body.offsetWidth, kn = ut + A > window.document.body.offsetWidth;
|
|
3545
3545
|
if (Oe(e.calendarContainer, "rightMost", it), !e.config.static)
|
|
3546
3546
|
if (e.calendarContainer.style.top = q + "px", !it)
|
|
@@ -3548,11 +3548,11 @@ function vl(t, n) {
|
|
|
3548
3548
|
else if (!kn)
|
|
3549
3549
|
e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = ut + "px";
|
|
3550
3550
|
else {
|
|
3551
|
-
var
|
|
3552
|
-
if (
|
|
3551
|
+
var It = dn();
|
|
3552
|
+
if (It === void 0)
|
|
3553
3553
|
return;
|
|
3554
|
-
var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn =
|
|
3555
|
-
Oe(e.calendarContainer, "rightMost", !1), Oe(e.calendarContainer, "centerMost", !0),
|
|
3554
|
+
var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn = It.cssRules.length, xn = "{left:" + Y.left + "px;right:auto;}";
|
|
3555
|
+
Oe(e.calendarContainer, "rightMost", !1), Oe(e.calendarContainer, "centerMost", !0), It.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
@@ -3586,34 +3586,34 @@ function vl(t, n) {
|
|
|
3586
3586
|
i.preventDefault(), i.stopPropagation();
|
|
3587
3587
|
var s = function(q) {
|
|
3588
3588
|
return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
|
|
3589
|
-
}, h =
|
|
3589
|
+
}, h = Kr(je(i), s);
|
|
3590
3590
|
if (h !== void 0) {
|
|
3591
|
-
var A = h,
|
|
3591
|
+
var A = h, V = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (V.getMonth() < e.currentMonth || V.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
|
|
3592
3592
|
if (e.selectedDateElem = A, e.config.mode === "single")
|
|
3593
|
-
e.selectedDates = [
|
|
3593
|
+
e.selectedDates = [V];
|
|
3594
3594
|
else if (e.config.mode === "multiple") {
|
|
3595
|
-
var X = Pt(
|
|
3596
|
-
X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(
|
|
3595
|
+
var X = Pt(V);
|
|
3596
|
+
X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(V);
|
|
3597
3597
|
} else
|
|
3598
|
-
e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj =
|
|
3598
|
+
e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = V, e.selectedDates.push(V), Re(V, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
|
|
3599
3599
|
return q.getTime() - fe.getTime();
|
|
3600
3600
|
}));
|
|
3601
3601
|
if (d(), N) {
|
|
3602
|
-
var Y = e.currentYear !==
|
|
3603
|
-
e.currentYear =
|
|
3602
|
+
var Y = e.currentYear !== V.getFullYear();
|
|
3603
|
+
e.currentYear = V.getFullYear(), e.currentMonth = V.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
|
|
3604
3604
|
}
|
|
3605
3605
|
if (wt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(A) : 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) {
|
|
3606
|
-
var re = e.config.mode === "single" && !e.config.enableTime,
|
|
3607
|
-
(re ||
|
|
3606
|
+
var re = e.config.mode === "single" && !e.config.enableTime, j = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
3607
|
+
(re || j) && $t();
|
|
3608
3608
|
}
|
|
3609
3609
|
O();
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
var bt = {
|
|
3613
|
-
locale: [Rt,
|
|
3614
|
-
showMonths: [_, f,
|
|
3615
|
-
minDate: [
|
|
3616
|
-
maxDate: [
|
|
3613
|
+
locale: [Rt, G],
|
|
3614
|
+
showMonths: [_, f, B],
|
|
3615
|
+
minDate: [F],
|
|
3616
|
+
maxDate: [F],
|
|
3617
3617
|
positionElement: [Wt],
|
|
3618
3618
|
clickOpens: [
|
|
3619
3619
|
function() {
|
|
@@ -3663,14 +3663,14 @@ function vl(t, n) {
|
|
|
3663
3663
|
e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(i)));
|
|
3664
3664
|
e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(A) {
|
|
3665
3665
|
return A instanceof Date && Te(A, !1);
|
|
3666
|
-
}), e.config.mode === "range" && e.selectedDates.sort(function(A,
|
|
3667
|
-
return A.getTime() -
|
|
3666
|
+
}), e.config.mode === "range" && e.selectedDates.sort(function(A, V) {
|
|
3667
|
+
return A.getTime() - V.getTime();
|
|
3668
3668
|
});
|
|
3669
3669
|
}
|
|
3670
3670
|
function mn(i, s, h) {
|
|
3671
3671
|
if (s === void 0 && (s = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
|
|
3672
3672
|
return e.clear(s);
|
|
3673
|
-
Ht(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(),
|
|
3673
|
+
Ht(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), v(), e.selectedDates.length === 0 && e.clear(!1), We(s), s && ve("onChange");
|
|
3674
3674
|
}
|
|
3675
3675
|
function Jt(i) {
|
|
3676
3676
|
return i.slice().map(function(s) {
|
|
@@ -3688,7 +3688,7 @@ function vl(t, n) {
|
|
|
3688
3688
|
i && Ht(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
|
|
3689
3689
|
}
|
|
3690
3690
|
function hn() {
|
|
3691
|
-
if (e.input =
|
|
3691
|
+
if (e.input = jt(), !e.input) {
|
|
3692
3692
|
e.config.errorHandler(new Error("Invalid input element specified"));
|
|
3693
3693
|
return;
|
|
3694
3694
|
}
|
|
@@ -3705,7 +3705,7 @@ function vl(t, n) {
|
|
|
3705
3705
|
} catch {
|
|
3706
3706
|
}
|
|
3707
3707
|
y(e.mobileInput, "change", function(s) {
|
|
3708
|
-
e.setDate(
|
|
3708
|
+
e.setDate(je(s).value, !1, e.mobileFormatStr), ve("onChange"), ve("onClose");
|
|
3709
3709
|
});
|
|
3710
3710
|
}
|
|
3711
3711
|
function vn(i) {
|
|
@@ -3743,29 +3743,29 @@ function vl(t, n) {
|
|
|
3743
3743
|
h.setMonth(e.currentMonth + s), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[s].textContent = Un(h.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = h.getMonth().toString(), i.value = h.getFullYear().toString();
|
|
3744
3744
|
}), e._hidePrevMonthArrow = e.config.minDate !== void 0 && (e.currentYear === e.config.minDate.getFullYear() ? e.currentMonth <= e.config.minDate.getMonth() : e.currentYear < e.config.minDate.getFullYear()), e._hideNextMonthArrow = e.config.maxDate !== void 0 && (e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth + 1 > e.config.maxDate.getMonth() : e.currentYear > e.config.maxDate.getFullYear()));
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3746
|
+
function Vt(i) {
|
|
3747
3747
|
var s = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
3748
3748
|
return e.selectedDates.map(function(h) {
|
|
3749
3749
|
return e.formatDate(h, s);
|
|
3750
|
-
}).filter(function(h, A,
|
|
3751
|
-
return e.config.mode !== "range" || e.config.enableTime ||
|
|
3750
|
+
}).filter(function(h, A, V) {
|
|
3751
|
+
return e.config.mode !== "range" || e.config.enableTime || V.indexOf(h) === A;
|
|
3752
3752
|
}).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
|
|
3753
3753
|
}
|
|
3754
3754
|
function We(i) {
|
|
3755
|
-
i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value =
|
|
3755
|
+
i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = Vt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Vt(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
|
|
3756
3756
|
}
|
|
3757
3757
|
function bn(i) {
|
|
3758
|
-
var s =
|
|
3758
|
+
var s = je(i), h = e.prevMonthNav.contains(s), A = e.nextMonthNav.contains(s);
|
|
3759
3759
|
h || A ? he(h ? -1 : 1) : e.yearElements.indexOf(s) >= 0 ? s.select() : s.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : s.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
|
|
3760
3760
|
}
|
|
3761
3761
|
function wn(i) {
|
|
3762
3762
|
i.preventDefault();
|
|
3763
|
-
var s = i.type === "keydown", h =
|
|
3764
|
-
e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[
|
|
3765
|
-
var
|
|
3763
|
+
var s = i.type === "keydown", h = je(i), A = h;
|
|
3764
|
+
e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
3765
|
+
var V = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), j = Y + X * re;
|
|
3766
3766
|
if (typeof A.value < "u" && A.value.length === 2) {
|
|
3767
3767
|
var q = A === e.hourElement, fe = A === e.minuteElement;
|
|
3768
|
-
|
|
3768
|
+
j < V ? (j = N + j + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : j > N && (j = A === e.hourElement ? j - N - Ke(!e.amPM) : V, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? j + Y === 23 : Math.abs(j - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(j);
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
3771
|
return r(), e;
|
|
@@ -3805,7 +3805,7 @@ Ae.setDefaults = function(t) {
|
|
|
3805
3805
|
Ae.defaultConfig = $e($e({}, Ae.defaultConfig), t);
|
|
3806
3806
|
};
|
|
3807
3807
|
Ae.parseDate = ha({});
|
|
3808
|
-
Ae.formatDate =
|
|
3808
|
+
Ae.formatDate = Gr({});
|
|
3809
3809
|
Ae.compareDates = Re;
|
|
3810
3810
|
typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
|
|
3811
3811
|
return Et(this, t);
|
|
@@ -4064,25 +4064,25 @@ var ga = {}, kl = {
|
|
|
4064
4064
|
O.stopPropagation(), O.preventDefault();
|
|
4065
4065
|
var P = O.target;
|
|
4066
4066
|
if (!(P.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
|
|
4067
|
-
for (var
|
|
4067
|
+
for (var F = parseInt(P.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
|
|
4068
4068
|
var ee = ae[U];
|
|
4069
|
-
typeof ee == "function" && ee(
|
|
4069
|
+
typeof ee == "function" && ee(F, d);
|
|
4070
4070
|
}
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function I(O) {
|
|
4073
4073
|
var P = O.target;
|
|
4074
4074
|
O.key !== "Tab" || P.tagName.toLowerCase() !== "button" || (O.shiftKey && !P.previousSibling || !O.shiftKey && !P.nextSibling) && (O.preventDefault(), d.element.focus());
|
|
4075
4075
|
}
|
|
4076
4076
|
function y(O, P) {
|
|
4077
|
-
Object.keys(P).filter(function(
|
|
4078
|
-
return f.has(
|
|
4079
|
-
}).forEach(function(
|
|
4077
|
+
Object.keys(P).filter(function(F) {
|
|
4078
|
+
return f.has(F);
|
|
4079
|
+
}).forEach(function(F) {
|
|
4080
4080
|
var R;
|
|
4081
|
-
if (
|
|
4082
|
-
(R = O.classList).add.apply(R, P[
|
|
4081
|
+
if (F === "class") {
|
|
4082
|
+
(R = O.classList).add.apply(R, P[F].split(" "));
|
|
4083
4083
|
return;
|
|
4084
4084
|
}
|
|
4085
|
-
O.setAttribute(
|
|
4085
|
+
O.setAttribute(F, P[F]);
|
|
4086
4086
|
});
|
|
4087
4087
|
}
|
|
4088
4088
|
return {
|
|
@@ -4095,16 +4095,16 @@ var ga = {}, kl = {
|
|
|
4095
4095
|
O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = m.label, v.appendChild(O);
|
|
4096
4096
|
}
|
|
4097
4097
|
var P = document.createElement("div");
|
|
4098
|
-
P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(
|
|
4098
|
+
P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, R) {
|
|
4099
4099
|
var U = document.createElement("button");
|
|
4100
|
-
U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent =
|
|
4101
|
-
}), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown",
|
|
4100
|
+
U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(R), typeof F.attributes < "u" && y(U, F.attributes), P.appendChild(U), d.pluginElements.push(U);
|
|
4101
|
+
}), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", I);
|
|
4102
4102
|
},
|
|
4103
4103
|
/**
|
|
4104
4104
|
* Clean up before flatpickr is destroyed.
|
|
4105
4105
|
*/
|
|
4106
4106
|
onDestroy: function() {
|
|
4107
|
-
v.removeEventListener("keydown",
|
|
4107
|
+
v.removeEventListener("keydown", I), v.removeEventListener("click", k), v = void 0;
|
|
4108
4108
|
}
|
|
4109
4109
|
};
|
|
4110
4110
|
};
|
|
@@ -4415,7 +4415,7 @@ var Yn = {}, Al = {
|
|
|
4415
4415
|
time_24hr: !0
|
|
4416
4416
|
};
|
|
4417
4417
|
v.l10ns.bs = k, v.l10ns;
|
|
4418
|
-
var
|
|
4418
|
+
var I = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4419
4419
|
l10ns: {}
|
|
4420
4420
|
}, y = {
|
|
4421
4421
|
weekdays: {
|
|
@@ -4463,7 +4463,7 @@ var Yn = {}, Al = {
|
|
|
4463
4463
|
time_24hr: !0,
|
|
4464
4464
|
firstDayOfWeek: 1
|
|
4465
4465
|
};
|
|
4466
|
-
|
|
4466
|
+
I.l10ns.bg = y, I.l10ns;
|
|
4467
4467
|
var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4468
4468
|
l10ns: {}
|
|
4469
4469
|
}, P = {
|
|
@@ -4511,7 +4511,7 @@ var Yn = {}, Al = {
|
|
|
4511
4511
|
}
|
|
4512
4512
|
};
|
|
4513
4513
|
O.l10ns.bn = P, O.l10ns;
|
|
4514
|
-
var
|
|
4514
|
+
var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4515
4515
|
l10ns: {}
|
|
4516
4516
|
}, R = {
|
|
4517
4517
|
weekdays: {
|
|
@@ -4577,7 +4577,7 @@ var Yn = {}, Al = {
|
|
|
4577
4577
|
rangeSeparator: " a ",
|
|
4578
4578
|
time_24hr: !0
|
|
4579
4579
|
};
|
|
4580
|
-
|
|
4580
|
+
F.l10ns.cat = F.l10ns.ca = R, F.l10ns;
|
|
4581
4581
|
var U = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4582
4582
|
l10ns: {}
|
|
4583
4583
|
}, ae = {
|
|
@@ -4982,7 +4982,7 @@ var Yn = {}, Al = {
|
|
|
4982
4982
|
_.l10ns.eo = M, _.l10ns;
|
|
4983
4983
|
var T = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4984
4984
|
l10ns: {}
|
|
4985
|
-
},
|
|
4985
|
+
}, B = {
|
|
4986
4986
|
weekdays: {
|
|
4987
4987
|
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
|
|
4988
4988
|
longhand: [
|
|
@@ -5032,8 +5032,8 @@ var Yn = {}, Al = {
|
|
|
5032
5032
|
rangeSeparator: " a ",
|
|
5033
5033
|
time_24hr: !0
|
|
5034
5034
|
};
|
|
5035
|
-
T.l10ns.es =
|
|
5036
|
-
var
|
|
5035
|
+
T.l10ns.es = B, T.l10ns;
|
|
5036
|
+
var G = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5037
5037
|
l10ns: {}
|
|
5038
5038
|
}, se = {
|
|
5039
5039
|
weekdays: {
|
|
@@ -5088,7 +5088,7 @@ var Yn = {}, Al = {
|
|
|
5088
5088
|
toggleTitle: "Klõpsa, et vahetada",
|
|
5089
5089
|
time_24hr: !0
|
|
5090
5090
|
};
|
|
5091
|
-
|
|
5091
|
+
G.l10ns.et = se, G.l10ns;
|
|
5092
5092
|
var he = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5093
5093
|
l10ns: {}
|
|
5094
5094
|
}, ge = {
|
|
@@ -5307,7 +5307,7 @@ var Yn = {}, Al = {
|
|
|
5307
5307
|
Le.l10ns.fr = Te, Le.l10ns;
|
|
5308
5308
|
var ke = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5309
5309
|
l10ns: {}
|
|
5310
|
-
},
|
|
5310
|
+
}, ze = {
|
|
5311
5311
|
weekdays: {
|
|
5312
5312
|
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
|
|
5313
5313
|
longhand: [
|
|
@@ -5364,7 +5364,7 @@ var Yn = {}, Al = {
|
|
|
5364
5364
|
hourAriaLabel: "ώρα",
|
|
5365
5365
|
minuteAriaLabel: "λεπτό"
|
|
5366
5366
|
};
|
|
5367
|
-
ke.l10ns.gr =
|
|
5367
|
+
ke.l10ns.gr = ze, ke.l10ns;
|
|
5368
5368
|
var ot = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5369
5369
|
l10ns: {}
|
|
5370
5370
|
}, Je = {
|
|
@@ -5453,7 +5453,7 @@ var Yn = {}, Al = {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
};
|
|
5455
5455
|
ln.l10ns.hi = sn, ln.l10ns;
|
|
5456
|
-
var
|
|
5456
|
+
var Bt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5457
5457
|
l10ns: {}
|
|
5458
5458
|
}, un = {
|
|
5459
5459
|
firstDayOfWeek: 1,
|
|
@@ -5501,8 +5501,8 @@ var Yn = {}, Al = {
|
|
|
5501
5501
|
},
|
|
5502
5502
|
time_24hr: !0
|
|
5503
5503
|
};
|
|
5504
|
-
|
|
5505
|
-
var
|
|
5504
|
+
Bt.l10ns.hr = un, Bt.l10ns;
|
|
5505
|
+
var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5506
5506
|
l10ns: {}
|
|
5507
5507
|
}, Rt = {
|
|
5508
5508
|
firstDayOfWeek: 1,
|
|
@@ -5557,7 +5557,7 @@ var Yn = {}, Al = {
|
|
|
5557
5557
|
rangeSeparator: " - ",
|
|
5558
5558
|
time_24hr: !0
|
|
5559
5559
|
};
|
|
5560
|
-
|
|
5560
|
+
jt.l10ns.hu = Rt, jt.l10ns;
|
|
5561
5561
|
var yt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5562
5562
|
l10ns: {}
|
|
5563
5563
|
}, dn = {
|
|
@@ -6111,7 +6111,7 @@ var Yn = {}, Al = {
|
|
|
6111
6111
|
Pt.l10ns.lt = yn, Pt.l10ns;
|
|
6112
6112
|
var wt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6113
6113
|
l10ns: {}
|
|
6114
|
-
},
|
|
6114
|
+
}, Vt = {
|
|
6115
6115
|
firstDayOfWeek: 1,
|
|
6116
6116
|
weekdays: {
|
|
6117
6117
|
shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
|
|
@@ -6158,7 +6158,7 @@ var Yn = {}, Al = {
|
|
|
6158
6158
|
rangeSeparator: " līdz ",
|
|
6159
6159
|
time_24hr: !0
|
|
6160
6160
|
};
|
|
6161
|
-
wt.l10ns.lv =
|
|
6161
|
+
wt.l10ns.lv = Vt, wt.l10ns;
|
|
6162
6162
|
var We = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6163
6163
|
l10ns: {}
|
|
6164
6164
|
}, bn = {
|
|
@@ -6297,7 +6297,7 @@ var Yn = {}, Al = {
|
|
|
6297
6297
|
s.l10ns;
|
|
6298
6298
|
var A = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6299
6299
|
l10ns: {}
|
|
6300
|
-
},
|
|
6300
|
+
}, V = {
|
|
6301
6301
|
weekdays: {
|
|
6302
6302
|
shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
|
|
6303
6303
|
longhand: [
|
|
@@ -6346,7 +6346,7 @@ var Yn = {}, Al = {
|
|
|
6346
6346
|
},
|
|
6347
6347
|
time_24hr: !0
|
|
6348
6348
|
};
|
|
6349
|
-
A.l10ns.my =
|
|
6349
|
+
A.l10ns.my = V, A.l10ns;
|
|
6350
6350
|
var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6351
6351
|
l10ns: {}
|
|
6352
6352
|
}, X = {
|
|
@@ -6459,7 +6459,7 @@ var Yn = {}, Al = {
|
|
|
6459
6459
|
}
|
|
6460
6460
|
};
|
|
6461
6461
|
Y.l10ns.nn = re, Y.l10ns;
|
|
6462
|
-
var
|
|
6462
|
+
var j = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6463
6463
|
l10ns: {}
|
|
6464
6464
|
}, q = {
|
|
6465
6465
|
weekdays: {
|
|
@@ -6514,10 +6514,10 @@ var Yn = {}, Al = {
|
|
|
6514
6514
|
return ".";
|
|
6515
6515
|
}
|
|
6516
6516
|
};
|
|
6517
|
-
|
|
6517
|
+
j.l10ns.no = q, j.l10ns;
|
|
6518
6518
|
var fe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6519
6519
|
l10ns: {}
|
|
6520
|
-
},
|
|
6520
|
+
}, Be = {
|
|
6521
6521
|
weekdays: {
|
|
6522
6522
|
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
|
|
6523
6523
|
longhand: [
|
|
@@ -6562,7 +6562,7 @@ var Yn = {}, Al = {
|
|
|
6562
6562
|
},
|
|
6563
6563
|
time_24hr: !0
|
|
6564
6564
|
};
|
|
6565
|
-
fe.l10ns.pa =
|
|
6565
|
+
fe.l10ns.pa = Be, fe.l10ns;
|
|
6566
6566
|
var Se = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6567
6567
|
l10ns: {}
|
|
6568
6568
|
}, ut = {
|
|
@@ -6668,7 +6668,7 @@ var Yn = {}, Al = {
|
|
|
6668
6668
|
time_24hr: !0
|
|
6669
6669
|
};
|
|
6670
6670
|
it.l10ns.pt = kn, it.l10ns;
|
|
6671
|
-
var
|
|
6671
|
+
var It = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6672
6672
|
l10ns: {}
|
|
6673
6673
|
}, Cn = {
|
|
6674
6674
|
weekdays: {
|
|
@@ -6719,7 +6719,7 @@ var Yn = {}, Al = {
|
|
|
6719
6719
|
return "";
|
|
6720
6720
|
}
|
|
6721
6721
|
};
|
|
6722
|
-
|
|
6722
|
+
It.l10ns.ro = Cn, It.l10ns;
|
|
6723
6723
|
var An = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6724
6724
|
l10ns: {}
|
|
6725
6725
|
}, Dn = {
|
|
@@ -6934,7 +6934,7 @@ var Yn = {}, Al = {
|
|
|
6934
6934
|
Sn.l10ns.sl = Oa, Sn.l10ns;
|
|
6935
6935
|
var Pa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6936
6936
|
l10ns: {}
|
|
6937
|
-
},
|
|
6937
|
+
}, Va = {
|
|
6938
6938
|
weekdays: {
|
|
6939
6939
|
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
|
|
6940
6940
|
longhand: [
|
|
@@ -6986,10 +6986,10 @@ var Yn = {}, Al = {
|
|
|
6986
6986
|
minuteAriaLabel: "Minuta",
|
|
6987
6987
|
time_24hr: !0
|
|
6988
6988
|
};
|
|
6989
|
-
Pa.l10ns.sq =
|
|
6990
|
-
var
|
|
6989
|
+
Pa.l10ns.sq = Va, Pa.l10ns;
|
|
6990
|
+
var Ia = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6991
6991
|
l10ns: {}
|
|
6992
|
-
},
|
|
6992
|
+
}, Fa = {
|
|
6993
6993
|
weekdays: {
|
|
6994
6994
|
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
|
|
6995
6995
|
longhand: [
|
|
@@ -7037,7 +7037,7 @@ var Yn = {}, Al = {
|
|
|
7037
7037
|
rangeSeparator: " do ",
|
|
7038
7038
|
time_24hr: !0
|
|
7039
7039
|
};
|
|
7040
|
-
|
|
7040
|
+
Ia.l10ns.sr = Fa, Ia.l10ns;
|
|
7041
7041
|
var Ea = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7042
7042
|
l10ns: {}
|
|
7043
7043
|
}, Na = {
|
|
@@ -7094,7 +7094,7 @@ var Yn = {}, Al = {
|
|
|
7094
7094
|
Ea.l10ns.sv = Na, Ea.l10ns;
|
|
7095
7095
|
var La = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7096
7096
|
l10ns: {}
|
|
7097
|
-
},
|
|
7097
|
+
}, za = {
|
|
7098
7098
|
weekdays: {
|
|
7099
7099
|
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
|
|
7100
7100
|
longhand: [
|
|
@@ -7146,10 +7146,10 @@ var Yn = {}, Al = {
|
|
|
7146
7146
|
return "";
|
|
7147
7147
|
}
|
|
7148
7148
|
};
|
|
7149
|
-
La.l10ns.th =
|
|
7150
|
-
var
|
|
7149
|
+
La.l10ns.th = za, La.l10ns;
|
|
7150
|
+
var Ba = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7151
7151
|
l10ns: {}
|
|
7152
|
-
},
|
|
7152
|
+
}, ja = {
|
|
7153
7153
|
weekdays: {
|
|
7154
7154
|
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
|
|
7155
7155
|
longhand: [
|
|
@@ -7203,7 +7203,7 @@ var Yn = {}, Al = {
|
|
|
7203
7203
|
amPM: ["ÖÖ", "ÖS"],
|
|
7204
7204
|
time_24hr: !0
|
|
7205
7205
|
};
|
|
7206
|
-
|
|
7206
|
+
Ba.l10ns.tr = ja, Ba.l10ns;
|
|
7207
7207
|
var Ra = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7208
7208
|
l10ns: {}
|
|
7209
7209
|
}, Ua = {
|
|
@@ -7371,7 +7371,7 @@ var Yn = {}, Al = {
|
|
|
7371
7371
|
Ja.l10ns.uz_latn = Wa, Ja.l10ns;
|
|
7372
7372
|
var qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7373
7373
|
l10ns: {}
|
|
7374
|
-
},
|
|
7374
|
+
}, Ka = {
|
|
7375
7375
|
weekdays: {
|
|
7376
7376
|
shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
|
|
7377
7377
|
longhand: [
|
|
@@ -7417,8 +7417,8 @@ var Yn = {}, Al = {
|
|
|
7417
7417
|
firstDayOfWeek: 1,
|
|
7418
7418
|
rangeSeparator: " đến "
|
|
7419
7419
|
};
|
|
7420
|
-
qa.l10ns.vn =
|
|
7421
|
-
var
|
|
7420
|
+
qa.l10ns.vn = Ka, qa.l10ns;
|
|
7421
|
+
var Ga = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7422
7422
|
l10ns: {}
|
|
7423
7423
|
}, Za = {
|
|
7424
7424
|
weekdays: {
|
|
@@ -7468,7 +7468,7 @@ var Yn = {}, Al = {
|
|
|
7468
7468
|
scrollTitle: "滚动切换",
|
|
7469
7469
|
toggleTitle: "点击切换 12/24 小时时制"
|
|
7470
7470
|
};
|
|
7471
|
-
|
|
7471
|
+
Ga.l10ns.zh = Za, Ga.l10ns;
|
|
7472
7472
|
var Qa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7473
7473
|
l10ns: {}
|
|
7474
7474
|
}, Xa = {
|
|
@@ -7538,13 +7538,13 @@ var Yn = {}, Al = {
|
|
|
7538
7538
|
default: a({}, C),
|
|
7539
7539
|
en: C,
|
|
7540
7540
|
eo: M,
|
|
7541
|
-
es:
|
|
7541
|
+
es: B,
|
|
7542
7542
|
et: se,
|
|
7543
7543
|
fa: ge,
|
|
7544
7544
|
fi: Ne,
|
|
7545
7545
|
fo: He,
|
|
7546
7546
|
fr: Te,
|
|
7547
|
-
gr:
|
|
7547
|
+
gr: ze,
|
|
7548
7548
|
he: Je,
|
|
7549
7549
|
hi: sn,
|
|
7550
7550
|
hr: un,
|
|
@@ -7559,15 +7559,15 @@ var Yn = {}, Al = {
|
|
|
7559
7559
|
km: vn,
|
|
7560
7560
|
kz: Ot,
|
|
7561
7561
|
lt: yn,
|
|
7562
|
-
lv:
|
|
7562
|
+
lv: Vt,
|
|
7563
7563
|
mk: bn,
|
|
7564
7564
|
mn: i,
|
|
7565
7565
|
ms: h,
|
|
7566
|
-
my:
|
|
7566
|
+
my: V,
|
|
7567
7567
|
nl: X,
|
|
7568
7568
|
nn: re,
|
|
7569
7569
|
no: q,
|
|
7570
|
-
pa:
|
|
7570
|
+
pa: Be,
|
|
7571
7571
|
pl: ut,
|
|
7572
7572
|
pt: kn,
|
|
7573
7573
|
ro: Cn,
|
|
@@ -7575,13 +7575,13 @@ var Yn = {}, Al = {
|
|
|
7575
7575
|
si: Mn,
|
|
7576
7576
|
sk: Tn,
|
|
7577
7577
|
sl: Oa,
|
|
7578
|
-
sq:
|
|
7579
|
-
sr:
|
|
7578
|
+
sq: Va,
|
|
7579
|
+
sr: Fa,
|
|
7580
7580
|
sv: Na,
|
|
7581
|
-
th:
|
|
7582
|
-
tr:
|
|
7581
|
+
th: za,
|
|
7582
|
+
tr: ja,
|
|
7583
7583
|
uk: Ua,
|
|
7584
|
-
vn:
|
|
7584
|
+
vn: Ka,
|
|
7585
7585
|
zh: Za,
|
|
7586
7586
|
zh_tw: Xa,
|
|
7587
7587
|
uz: Ha,
|
|
@@ -7593,7 +7593,7 @@ var Yn = {}, Al = {
|
|
|
7593
7593
|
const Dl = /* @__PURE__ */ Lr(Yn);
|
|
7594
7594
|
const { t: _l } = le.global;
|
|
7595
7595
|
function Qr() {
|
|
7596
|
-
return
|
|
7596
|
+
return Ge({ t: _l })(Mo, {
|
|
7597
7597
|
withArguments: !0,
|
|
7598
7598
|
messagePath: () => "error.jsValidation.required"
|
|
7599
7599
|
});
|
|
@@ -7623,7 +7623,7 @@ const Ml = {
|
|
|
7623
7623
|
},
|
|
7624
7624
|
emits: ["change", "blur", "update:modelValue", "onOpen", "onClose"],
|
|
7625
7625
|
setup(t, { emit: n }) {
|
|
7626
|
-
const e = t, a = (C) => C !== null && typeof C.fp < "u", r = J(null), o = J(null), l = J(!1), f = J("sk"), u = J(""), p = J(null), { t: m } =
|
|
7626
|
+
const e = t, a = (C) => C !== null && typeof C.fp < "u", r = J(null), o = J(null), l = J(!1), f = J("sk"), u = J(""), p = J(null), { t: m } = K(), d = (C) => C.replace("Z", "000Z"), v = (C) => {
|
|
7627
7627
|
C !== e.modelValue && (n("update:modelValue", C), n("change"));
|
|
7628
7628
|
}, k = (C) => {
|
|
7629
7629
|
if (C === null || S(C)) {
|
|
@@ -7635,14 +7635,14 @@ const Ml = {
|
|
|
7635
7635
|
return;
|
|
7636
7636
|
}
|
|
7637
7637
|
v(d(C + ""));
|
|
7638
|
-
},
|
|
7638
|
+
}, I = () => {
|
|
7639
7639
|
P(), l.value = !0, n("onOpen");
|
|
7640
7640
|
}, y = () => {
|
|
7641
7641
|
l.value = !1, n("onClose");
|
|
7642
7642
|
}, O = () => {
|
|
7643
7643
|
a(r.value) && (u.value = r.value.fpInput().value);
|
|
7644
7644
|
}, P = () => {
|
|
7645
|
-
var M, T,
|
|
7645
|
+
var M, T, B;
|
|
7646
7646
|
if (!a(r.value))
|
|
7647
7647
|
return;
|
|
7648
7648
|
const C = u.value.replace(/[^\s\d.:]/g, ""), _ = r.value.fp.parseDate(C, R.value);
|
|
@@ -7650,8 +7650,8 @@ const Ml = {
|
|
|
7650
7650
|
ye(e.defaultValue) ? (M = r.value) == null || M.fp.clear(!0) : (T = r.value) == null || T.fp.setDate(e.defaultValue, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7651
7651
|
return;
|
|
7652
7652
|
}
|
|
7653
|
-
(
|
|
7654
|
-
},
|
|
7653
|
+
(B = r.value) == null || B.fp.setDate(_, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7654
|
+
}, F = () => {
|
|
7655
7655
|
p.value = e.defaultValue, n("update:modelValue", c(e.defaultValue));
|
|
7656
7656
|
}, R = x(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), U = x(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), ae = x(() => e.enable && e.enable.length > 0 ? e.enable : [
|
|
7657
7657
|
{
|
|
@@ -7707,7 +7707,7 @@ const Ml = {
|
|
|
7707
7707
|
}
|
|
7708
7708
|
}, 0);
|
|
7709
7709
|
};
|
|
7710
|
-
|
|
7710
|
+
zt(() => {
|
|
7711
7711
|
if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
|
|
7712
7712
|
p.value = e.defaultValue;
|
|
7713
7713
|
return;
|
|
@@ -7736,7 +7736,7 @@ const Ml = {
|
|
|
7736
7736
|
key: 0,
|
|
7737
7737
|
class: "a-datetime-picker__clearable",
|
|
7738
7738
|
icon: "mdi-close-circle",
|
|
7739
|
-
onClick: ne(
|
|
7739
|
+
onClick: ne(F, ["stop"])
|
|
7740
7740
|
}, null, 8, ["onClick"])) : Z("", !0),
|
|
7741
7741
|
te("div", null, [
|
|
7742
7742
|
b(c(wl), {
|
|
@@ -7747,7 +7747,7 @@ const Ml = {
|
|
|
7747
7747
|
"model-value": p.value,
|
|
7748
7748
|
"onUpdate:modelValue": k,
|
|
7749
7749
|
onOnClose: y,
|
|
7750
|
-
onOnOpen:
|
|
7750
|
+
onOnOpen: I,
|
|
7751
7751
|
onOnChange: O
|
|
7752
7752
|
}, null, 8, ["config", "disabled", "model-value"]),
|
|
7753
7753
|
b(me, {
|
|
@@ -7762,7 +7762,7 @@ const Ml = {
|
|
|
7762
7762
|
t.hideLabel ? void 0 : {
|
|
7763
7763
|
name: "label",
|
|
7764
7764
|
fn: g(() => [
|
|
7765
|
-
|
|
7765
|
+
z($(t.label), 1),
|
|
7766
7766
|
t.required ? (w(), H("span", Ml)) : Z("", !0)
|
|
7767
7767
|
]),
|
|
7768
7768
|
key: "0"
|
|
@@ -7783,7 +7783,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-40594fb1"]]), ih = /* @
|
|
|
7783
7783
|
},
|
|
7784
7784
|
emits: ["update:modelValue", "click:append", "blur"],
|
|
7785
7785
|
setup(t, { emit: n }) {
|
|
7786
|
-
const e = t, { t: a } =
|
|
7786
|
+
const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = (d) => {
|
|
7787
7787
|
n("update:modelValue", d);
|
|
7788
7788
|
}, f = () => {
|
|
7789
7789
|
var d;
|
|
@@ -7828,7 +7828,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-40594fb1"]]), ih = /* @
|
|
|
7828
7828
|
set(l) {
|
|
7829
7829
|
n("update:modelValue", { ...e.modelValue, model: l });
|
|
7830
7830
|
}
|
|
7831
|
-
}), { t: r } =
|
|
7831
|
+
}), { t: r } = K(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
7832
7832
|
return (l, f) => (w(), E(Xr, {
|
|
7833
7833
|
modelValue: c(a),
|
|
7834
7834
|
"onUpdate:modelValue": f[0] || (f[0] = (u) => Ue(a) ? a.value = u : null),
|
|
@@ -7838,7 +7838,7 @@ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-40594fb1"]]), ih = /* @
|
|
|
7838
7838
|
}, null, 8, ["modelValue", "clearable", "default-value", "label"]));
|
|
7839
7839
|
}
|
|
7840
7840
|
});
|
|
7841
|
-
function
|
|
7841
|
+
function Gn(t = "createdAt") {
|
|
7842
7842
|
return ho({
|
|
7843
7843
|
sortBy: t,
|
|
7844
7844
|
descending: !0,
|
|
@@ -7887,40 +7887,40 @@ const Tl = {
|
|
|
7887
7887
|
set(M) {
|
|
7888
7888
|
n("update:modelValue", ft(M));
|
|
7889
7889
|
}
|
|
7890
|
-
}), r = J(""), o = J(!1), l = J(void 0), { t: f } =
|
|
7890
|
+
}), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ba(e), p = we(at, void 0), m = we(rt, void 0), d = () => {
|
|
7891
7891
|
var M;
|
|
7892
7892
|
o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
|
|
7893
7893
|
}, v = x(() => {
|
|
7894
7894
|
var M, T;
|
|
7895
|
-
return S(e.errorMessage) ? (T = (M = e.v) == null ? void 0 : M.$errors) != null && T.length ? e.v.$errors.map((
|
|
7895
|
+
return S(e.errorMessage) ? (T = (M = e.v) == null ? void 0 : M.$errors) != null && T.length ? e.v.$errors.map((B) => B.$message) : [] : [e.errorMessage];
|
|
7896
7896
|
}), k = x(() => {
|
|
7897
|
-
var T,
|
|
7897
|
+
var T, B;
|
|
7898
7898
|
if (!S(e.label))
|
|
7899
7899
|
return e.label;
|
|
7900
7900
|
if (S(p) || S(m) || S((T = e.v) == null ? void 0 : T.$path))
|
|
7901
7901
|
return "";
|
|
7902
|
-
const { end: M } = lt((
|
|
7902
|
+
const { end: M } = lt((B = e.v) == null ? void 0 : B.$path, ".");
|
|
7903
7903
|
return f(p + "." + m + ".model." + M);
|
|
7904
|
-
}),
|
|
7904
|
+
}), I = x(() => {
|
|
7905
7905
|
var M, T;
|
|
7906
7906
|
return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((T = e.v) == null ? void 0 : T.required.$params.type) === "required" : e.required;
|
|
7907
|
-
}), y = x(() => e.multiple !== !1), O =
|
|
7907
|
+
}), y = x(() => e.multiple !== !1), O = Gn(e.filterSortBy), P = J([]), F = J([]), R = x(() => {
|
|
7908
7908
|
const M = /* @__PURE__ */ new Map();
|
|
7909
|
-
return
|
|
7909
|
+
return F.value.forEach((T) => {
|
|
7910
7910
|
M.set(T.value, { value: T.value, title: T.title });
|
|
7911
7911
|
}), P.value.forEach((T) => {
|
|
7912
7912
|
M.set(T.value, { value: T.value, title: T.title });
|
|
7913
|
-
}), Array.from(M, ([T,
|
|
7913
|
+
}), Array.from(M, ([T, B]) => ({ value: T, title: B.title }));
|
|
7914
7914
|
}), U = J(!1), ae = x(() => U.value ? !0 : e.loading), ee = async (M) => {
|
|
7915
7915
|
U.value = !0;
|
|
7916
7916
|
const T = u.value[e.filterByField];
|
|
7917
7917
|
T.model = M, P.value = await e.fetchItems(O, u.value), U.value = !1;
|
|
7918
7918
|
}, ue = (M) => {
|
|
7919
|
-
const T = R.value.filter((
|
|
7919
|
+
const T = R.value.filter((B) => M.includes(B.value));
|
|
7920
7920
|
return [].concat(T);
|
|
7921
7921
|
}, pe = async (M) => {
|
|
7922
|
-
let T = 1,
|
|
7923
|
-
return Ee(M) ? (T = M.length,
|
|
7922
|
+
let T = 1, B = [];
|
|
7923
|
+
return Ee(M) ? (T = M.length, B = ue(M)) : B = ue([M]), F.value = B, B.length === T;
|
|
7924
7924
|
}, ie = J(!1), Q = () => {
|
|
7925
7925
|
clearTimeout(l.value), l.value = void 0;
|
|
7926
7926
|
}, Me = async () => {
|
|
@@ -7928,8 +7928,8 @@ const Tl = {
|
|
|
7928
7928
|
}, W = () => {
|
|
7929
7929
|
o.value = !0, Q(), Me();
|
|
7930
7930
|
}, D = x(() => {
|
|
7931
|
-
if (!e.multiple &&
|
|
7932
|
-
return
|
|
7931
|
+
if (!e.multiple && F.value[0])
|
|
7932
|
+
return F.value[0].title;
|
|
7933
7933
|
}), C = (M) => {
|
|
7934
7934
|
!e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
|
|
7935
7935
|
}, _ = async () => {
|
|
@@ -7945,7 +7945,7 @@ const Tl = {
|
|
|
7945
7945
|
if (M === T)
|
|
7946
7946
|
return;
|
|
7947
7947
|
if (ye(M) || S(M) || Ee(M) && M.length === 0) {
|
|
7948
|
-
if (
|
|
7948
|
+
if (F.value = [], e.disableInitFetch || ie.value === !0)
|
|
7949
7949
|
return;
|
|
7950
7950
|
l.value = setTimeout(() => {
|
|
7951
7951
|
Me();
|
|
@@ -7954,10 +7954,10 @@ const Tl = {
|
|
|
7954
7954
|
}
|
|
7955
7955
|
if (!await pe(M)) {
|
|
7956
7956
|
if (Ee(M)) {
|
|
7957
|
-
U.value = !0,
|
|
7957
|
+
U.value = !0, F.value = await e.fetchItemsByIds(M), U.value = !1;
|
|
7958
7958
|
return;
|
|
7959
7959
|
}
|
|
7960
|
-
U.value = !0,
|
|
7960
|
+
U.value = !0, F.value = await e.fetchItemsByIds([M]), U.value = !1;
|
|
7961
7961
|
}
|
|
7962
7962
|
},
|
|
7963
7963
|
{ immediate: !0 }
|
|
@@ -7971,7 +7971,7 @@ const Tl = {
|
|
|
7971
7971
|
M !== T && n("searchChange", M);
|
|
7972
7972
|
}), (M, T) => (w(), E(on, {
|
|
7973
7973
|
modelValue: c(a),
|
|
7974
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
|
7974
|
+
"onUpdate:modelValue": T[0] || (T[0] = (B) => Ue(a) ? a.value = B : null),
|
|
7975
7975
|
items: c(R),
|
|
7976
7976
|
"no-filter": "",
|
|
7977
7977
|
multiple: c(y),
|
|
@@ -7987,10 +7987,10 @@ const Tl = {
|
|
|
7987
7987
|
}, {
|
|
7988
7988
|
label: g(() => [
|
|
7989
7989
|
t.hideLabel ? Z("", !0) : (w(), H("span", {
|
|
7990
|
-
key: c(
|
|
7990
|
+
key: c(I) + ""
|
|
7991
7991
|
}, [
|
|
7992
|
-
|
|
7993
|
-
c(
|
|
7992
|
+
z($(c(k)) + " ", 1),
|
|
7993
|
+
c(I) ? (w(), H("span", Tl)) : Z("", !0)
|
|
7994
7994
|
]))
|
|
7995
7995
|
]),
|
|
7996
7996
|
_: 1
|
|
@@ -8009,11 +8009,11 @@ const Tl = {
|
|
|
8009
8009
|
},
|
|
8010
8010
|
emits: ["update:modelValue"],
|
|
8011
8011
|
setup(t, { emit: n }) {
|
|
8012
|
-
const e = t, { t: a } =
|
|
8013
|
-
var
|
|
8012
|
+
const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = x(() => {
|
|
8013
|
+
var I, y;
|
|
8014
8014
|
if (!S(e.label))
|
|
8015
8015
|
return e.label;
|
|
8016
|
-
if (S(r) || S(o) || S((
|
|
8016
|
+
if (S(r) || S(o) || S((I = e.v) == null ? void 0 : I.$path))
|
|
8017
8017
|
return "";
|
|
8018
8018
|
const { end: k } = lt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8019
8019
|
return a(r + "." + o + ".model." + k);
|
|
@@ -8021,22 +8021,22 @@ const Tl = {
|
|
|
8021
8021
|
if (f.value)
|
|
8022
8022
|
return;
|
|
8023
8023
|
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8024
|
-
const
|
|
8025
|
-
n("update:modelValue", !
|
|
8024
|
+
const I = await e.callbackToFalse();
|
|
8025
|
+
n("update:modelValue", !I), d.value = !I, I || (u.value = !0), f.value = !1;
|
|
8026
8026
|
return;
|
|
8027
8027
|
}
|
|
8028
8028
|
const k = await e.callbackToTrue();
|
|
8029
8029
|
n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
|
|
8030
8030
|
};
|
|
8031
|
-
return Pe(m, (k,
|
|
8032
|
-
k !==
|
|
8033
|
-
}),
|
|
8031
|
+
return Pe(m, (k, I) => {
|
|
8032
|
+
k !== I && (d.value = k, u.value = !1);
|
|
8033
|
+
}), zt(() => {
|
|
8034
8034
|
p.value = "remote-switch-" + Date.now();
|
|
8035
|
-
}), (k,
|
|
8035
|
+
}), (k, I) => (w(), H("div", Sl, [
|
|
8036
8036
|
b(Eo, {
|
|
8037
8037
|
id: p.value,
|
|
8038
8038
|
modelValue: d.value,
|
|
8039
|
-
"onUpdate:modelValue":
|
|
8039
|
+
"onUpdate:modelValue": I[0] || (I[0] = (y) => d.value = y),
|
|
8040
8040
|
disabled: f.value,
|
|
8041
8041
|
onClick: ne(v, ["stop"])
|
|
8042
8042
|
}, null, 8, ["id", "modelValue", "disabled", "onClick"]),
|
|
@@ -8060,11 +8060,11 @@ const Tl = {
|
|
|
8060
8060
|
},
|
|
8061
8061
|
emits: ["update:modelValue"],
|
|
8062
8062
|
setup(t, { emit: n }) {
|
|
8063
|
-
const e = t, { t: a } =
|
|
8064
|
-
var
|
|
8063
|
+
const e = t, { t: a } = K(), r = we(at, void 0), o = we(rt, void 0), l = x(() => {
|
|
8064
|
+
var I, y;
|
|
8065
8065
|
if (!S(e.label))
|
|
8066
8066
|
return e.label;
|
|
8067
|
-
if (S(r) || S(o) || S((
|
|
8067
|
+
if (S(r) || S(o) || S((I = e.v) == null ? void 0 : I.$path))
|
|
8068
8068
|
return "";
|
|
8069
8069
|
const { end: k } = lt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8070
8070
|
return a(r + "." + o + ".model." + k);
|
|
@@ -8072,18 +8072,18 @@ const Tl = {
|
|
|
8072
8072
|
if (f.value)
|
|
8073
8073
|
return;
|
|
8074
8074
|
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8075
|
-
const
|
|
8076
|
-
n("update:modelValue", !
|
|
8075
|
+
const I = await e.callbackToFalse();
|
|
8076
|
+
n("update:modelValue", !I), d.value = !I, I || (u.value = !0), f.value = !1;
|
|
8077
8077
|
return;
|
|
8078
8078
|
}
|
|
8079
8079
|
const k = await e.callbackToTrue();
|
|
8080
8080
|
n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
|
|
8081
8081
|
};
|
|
8082
|
-
return Pe(m, (k,
|
|
8083
|
-
k !==
|
|
8084
|
-
}),
|
|
8082
|
+
return Pe(m, (k, I) => {
|
|
8083
|
+
k !== I && (d.value = k, u.value = !1);
|
|
8084
|
+
}), zt(() => {
|
|
8085
8085
|
p.value = "a-remote-switch-" + Date.now();
|
|
8086
|
-
}), (k,
|
|
8086
|
+
}), (k, I) => (w(), H("div", Ol, [
|
|
8087
8087
|
b(oe, {
|
|
8088
8088
|
id: p.value,
|
|
8089
8089
|
icon: "",
|
|
@@ -8097,7 +8097,7 @@ const Tl = {
|
|
|
8097
8097
|
default: g(() => [
|
|
8098
8098
|
b(No, {
|
|
8099
8099
|
modelValue: d.value,
|
|
8100
|
-
"onUpdate:modelValue":
|
|
8100
|
+
"onUpdate:modelValue": I[0] || (I[0] = (y) => d.value = y),
|
|
8101
8101
|
loading: f.value,
|
|
8102
8102
|
disabled: f.value,
|
|
8103
8103
|
"hide-details": t.hideDetails,
|
|
@@ -8128,7 +8128,7 @@ const Tl = {
|
|
|
8128
8128
|
]));
|
|
8129
8129
|
}
|
|
8130
8130
|
});
|
|
8131
|
-
const
|
|
8131
|
+
const Vl = { key: 0 }, Il = {
|
|
8132
8132
|
key: 0,
|
|
8133
8133
|
class: "required"
|
|
8134
8134
|
}, fh = /* @__PURE__ */ L({
|
|
@@ -8155,19 +8155,19 @@ const Il = { key: 0 }, Fl = {
|
|
|
8155
8155
|
set(v) {
|
|
8156
8156
|
n("update:modelValue", ft(v));
|
|
8157
8157
|
}
|
|
8158
|
-
}), r = we(at, void 0), o = we(rt, void 0), { t: l } =
|
|
8158
|
+
}), r = we(at, void 0), o = we(rt, void 0), { t: l } = K(), f = () => {
|
|
8159
8159
|
var v;
|
|
8160
8160
|
n("blur", e.modelValue), (v = e.v) == null || v.$touch();
|
|
8161
8161
|
}, u = x(() => {
|
|
8162
8162
|
var v, k;
|
|
8163
|
-
return S(e.errorMessage) ? (k = (v = e.v) == null ? void 0 : v.$errors) != null && k.length ? e.v.$errors.map((
|
|
8163
|
+
return S(e.errorMessage) ? (k = (v = e.v) == null ? void 0 : v.$errors) != null && k.length ? e.v.$errors.map((I) => I.$message) : [] : [e.errorMessage];
|
|
8164
8164
|
}), p = x(() => {
|
|
8165
|
-
var k,
|
|
8165
|
+
var k, I;
|
|
8166
8166
|
if (!S(e.label))
|
|
8167
8167
|
return e.label;
|
|
8168
8168
|
if (S(r) || S(o) || S((k = e.v) == null ? void 0 : k.$path))
|
|
8169
8169
|
return "";
|
|
8170
|
-
const { end: v } = lt((
|
|
8170
|
+
const { end: v } = lt((I = e.v) == null ? void 0 : I.$path, ".");
|
|
8171
8171
|
return l(r + "." + o + ".model." + v);
|
|
8172
8172
|
}), m = x(() => {
|
|
8173
8173
|
var v, k;
|
|
@@ -8175,7 +8175,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8175
8175
|
}), d = x(() => e.multiple !== !1);
|
|
8176
8176
|
return (v, k) => (w(), E(on, {
|
|
8177
8177
|
modelValue: c(a),
|
|
8178
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
8178
|
+
"onUpdate:modelValue": k[0] || (k[0] = (I) => Ue(a) ? a.value = I : null),
|
|
8179
8179
|
items: t.items,
|
|
8180
8180
|
"item-title": "title",
|
|
8181
8181
|
"item-value": "value",
|
|
@@ -8186,9 +8186,9 @@ const Il = { key: 0 }, Fl = {
|
|
|
8186
8186
|
onBlur: f
|
|
8187
8187
|
}, {
|
|
8188
8188
|
label: g(() => [
|
|
8189
|
-
t.hideLabel ? Z("", !0) : (w(), H("span",
|
|
8190
|
-
|
|
8191
|
-
c(m) ? (w(), H("span",
|
|
8189
|
+
t.hideLabel ? Z("", !0) : (w(), H("span", Vl, [
|
|
8190
|
+
z($(c(p)), 1),
|
|
8191
|
+
c(m) ? (w(), H("span", Il)) : Z("", !0)
|
|
8192
8192
|
]))
|
|
8193
8193
|
]),
|
|
8194
8194
|
_: 1
|
|
@@ -8209,7 +8209,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8209
8209
|
set(u) {
|
|
8210
8210
|
n("update:modelValue", { ...e.modelValue, model: u }), n("change");
|
|
8211
8211
|
}
|
|
8212
|
-
}), { t: o } =
|
|
8212
|
+
}), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => e.modelValue.multiple !== !1);
|
|
8213
8213
|
return (u, p) => (w(), E(on, {
|
|
8214
8214
|
modelValue: c(r),
|
|
8215
8215
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ue(r) ? r.value = m : null),
|
|
@@ -8244,11 +8244,11 @@ const Il = { key: 0 }, Fl = {
|
|
|
8244
8244
|
set(W) {
|
|
8245
8245
|
n("update:modelValue", { ...e.modelValue, model: ft(W) });
|
|
8246
8246
|
}
|
|
8247
|
-
}), r = J(""), o = J(!1), l = J(void 0), { t: f } =
|
|
8247
|
+
}), r = J(""), o = J(!1), l = J(void 0), { t: f } = K({ useScope: "global" }), { innerFilter: u } = ba(e), p = () => {
|
|
8248
8248
|
o.value = !0;
|
|
8249
|
-
}, m = x(() => e.modelValue.titleT ? f(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), v =
|
|
8249
|
+
}, m = x(() => e.modelValue.titleT ? f(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), v = Gn(e.filterSortBy), k = J([]), I = J([]), y = x(() => {
|
|
8250
8250
|
const W = /* @__PURE__ */ new Map();
|
|
8251
|
-
return
|
|
8251
|
+
return I.value.forEach((D) => {
|
|
8252
8252
|
W.set(D.value, { value: D.value, title: D.title });
|
|
8253
8253
|
}), k.value.forEach((D) => {
|
|
8254
8254
|
W.set(D.value, { value: D.value, title: D.title });
|
|
@@ -8257,12 +8257,12 @@ const Il = { key: 0 }, Fl = {
|
|
|
8257
8257
|
O.value = !0;
|
|
8258
8258
|
const D = u.value[e.filterByField];
|
|
8259
8259
|
D.model = W, k.value = await e.fetchItems(v, u.value), O.value = !1;
|
|
8260
|
-
},
|
|
8260
|
+
}, F = (W) => {
|
|
8261
8261
|
const D = y.value.filter((C) => W.includes(C.value));
|
|
8262
8262
|
return [].concat(D);
|
|
8263
8263
|
}, R = async (W) => {
|
|
8264
8264
|
let D = 1, C = [];
|
|
8265
|
-
return Ee(W) ? (D = W.length, C =
|
|
8265
|
+
return Ee(W) ? (D = W.length, C = F(W)) : C = F([W]), I.value = C, C.length === D;
|
|
8266
8266
|
}, U = J(!1), ae = () => {
|
|
8267
8267
|
clearTimeout(l.value), l.value = void 0;
|
|
8268
8268
|
}, ee = async () => {
|
|
@@ -8270,8 +8270,8 @@ const Il = { key: 0 }, Fl = {
|
|
|
8270
8270
|
}, ue = () => {
|
|
8271
8271
|
o.value = !0, ae(), ee();
|
|
8272
8272
|
}, pe = x(() => {
|
|
8273
|
-
if (!e.modelValue.multiple &&
|
|
8274
|
-
return
|
|
8273
|
+
if (!e.modelValue.multiple && I.value[0])
|
|
8274
|
+
return I.value[0].title;
|
|
8275
8275
|
}), ie = (W) => {
|
|
8276
8276
|
!e.modelValue.multiple && !o.value && W.length === 0 || pe.value !== W && (r.value = W);
|
|
8277
8277
|
}, Q = async () => {
|
|
@@ -8287,7 +8287,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8287
8287
|
if (W === D)
|
|
8288
8288
|
return;
|
|
8289
8289
|
if (ye(W) || S(W) || Ee(W) && W.length === 0) {
|
|
8290
|
-
if (
|
|
8290
|
+
if (I.value = [], e.disableInitFetch || U.value === !0)
|
|
8291
8291
|
return;
|
|
8292
8292
|
l.value = setTimeout(() => {
|
|
8293
8293
|
ee();
|
|
@@ -8296,10 +8296,10 @@ const Il = { key: 0 }, Fl = {
|
|
|
8296
8296
|
}
|
|
8297
8297
|
if (!await R(W)) {
|
|
8298
8298
|
if (Ee(W)) {
|
|
8299
|
-
O.value = !0,
|
|
8299
|
+
O.value = !0, I.value = await e.fetchItemsByIds(W), O.value = !1;
|
|
8300
8300
|
return;
|
|
8301
8301
|
}
|
|
8302
|
-
O.value = !0,
|
|
8302
|
+
O.value = !0, I.value = await e.fetchItemsByIds([W]), O.value = !1;
|
|
8303
8303
|
}
|
|
8304
8304
|
},
|
|
8305
8305
|
{ immediate: !0 }
|
|
@@ -8326,7 +8326,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8326
8326
|
"onClick:clear": Q
|
|
8327
8327
|
}, null, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
8328
8328
|
}
|
|
8329
|
-
}),
|
|
8329
|
+
}), Fl = { class: "a-filter-boolean-group d-flex flex-column align-left justify-center mb-2" }, El = /* @__PURE__ */ L({
|
|
8330
8330
|
__name: "AFilterBooleanGroup",
|
|
8331
8331
|
props: {
|
|
8332
8332
|
modelValue: null
|
|
@@ -8340,8 +8340,8 @@ const Il = { key: 0 }, Fl = {
|
|
|
8340
8340
|
set(l) {
|
|
8341
8341
|
n("update:modelValue", { ...e.modelValue, model: l });
|
|
8342
8342
|
}
|
|
8343
|
-
}), { t: r } =
|
|
8344
|
-
return (l, f) => (w(), H("div",
|
|
8343
|
+
}), { t: r } = K(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
8344
|
+
return (l, f) => (w(), H("div", Fl, [
|
|
8345
8345
|
b(Ar, { class: "pr-1" }, {
|
|
8346
8346
|
default: g(() => [
|
|
8347
8347
|
te("span", null, $(c(o)), 1)
|
|
@@ -8359,7 +8359,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8359
8359
|
color: c(a) === !0 ? "secondary" : ""
|
|
8360
8360
|
}, {
|
|
8361
8361
|
default: g(() => [
|
|
8362
|
-
|
|
8362
|
+
z($(c(r)("common.model.boolean.true")), 1)
|
|
8363
8363
|
]),
|
|
8364
8364
|
_: 1
|
|
8365
8365
|
}, 8, ["color"]),
|
|
@@ -8369,7 +8369,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
8369
8369
|
color: c(a) === !1 ? "secondary" : ""
|
|
8370
8370
|
}, {
|
|
8371
8371
|
default: g(() => [
|
|
8372
|
-
|
|
8372
|
+
z($(c(r)("common.model.boolean.false")), 1)
|
|
8373
8373
|
]),
|
|
8374
8374
|
_: 1
|
|
8375
8375
|
}, 8, ["color"])
|
|
@@ -8394,7 +8394,7 @@ const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-1289394c"]]), gh = /* @
|
|
|
8394
8394
|
let u = null;
|
|
8395
8395
|
f === 1 && (u = !0), f === 0 && (u = !1), n("update:modelValue", { ...e.modelValue, model: u });
|
|
8396
8396
|
}
|
|
8397
|
-
}), { t: r } =
|
|
8397
|
+
}), { t: r } = K(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0), l = x(() => [
|
|
8398
8398
|
{ value: -1, title: r("common.model.notSelected") },
|
|
8399
8399
|
{ value: 1, title: r("common.model.boolean.true") },
|
|
8400
8400
|
{ value: 0, title: r("common.model.boolean.false") }
|
|
@@ -8409,7 +8409,7 @@ const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-1289394c"]]), gh = /* @
|
|
|
8409
8409
|
});
|
|
8410
8410
|
var eo = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Processing = "processing", t.AwaitingBatchProcess = "awaiting_batch_process", t.Done = "done", t.Error = "error", t.Default = "waiting", t))(eo || {});
|
|
8411
8411
|
function Nl() {
|
|
8412
|
-
const { t } =
|
|
8412
|
+
const { t } = K(), n = J([
|
|
8413
8413
|
{
|
|
8414
8414
|
value: "waiting",
|
|
8415
8415
|
title: t("common.job.status.waiting"),
|
|
@@ -8458,14 +8458,14 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8458
8458
|
default: g(() => {
|
|
8459
8459
|
var f;
|
|
8460
8460
|
return [
|
|
8461
|
-
|
|
8461
|
+
z($((f = c(a)) == null ? void 0 : f.title), 1)
|
|
8462
8462
|
];
|
|
8463
8463
|
}),
|
|
8464
8464
|
_: 1
|
|
8465
8465
|
}, 8, ["color"]);
|
|
8466
8466
|
};
|
|
8467
8467
|
}
|
|
8468
|
-
}),
|
|
8468
|
+
}), zl = {
|
|
8469
8469
|
CHIP: {
|
|
8470
8470
|
CLASS: {
|
|
8471
8471
|
NO_LINK: "v-chip-custom-no-link"
|
|
@@ -8475,7 +8475,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8475
8475
|
LINK_EXTERNAL: "mdi-open-in-new"
|
|
8476
8476
|
}
|
|
8477
8477
|
}
|
|
8478
|
-
}, mr = Ur(
|
|
8478
|
+
}, mr = Ur(zl), Bl = { key: 1 }, vh = /* @__PURE__ */ L({
|
|
8479
8479
|
__name: "ACachedChip",
|
|
8480
8480
|
props: {
|
|
8481
8481
|
id: { default: null },
|
|
@@ -8505,9 +8505,9 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8505
8505
|
class: be(t.containerClass)
|
|
8506
8506
|
}, [
|
|
8507
8507
|
c(ye)(t.id) || c(S)(t.id) ? _e(u.$slots, "empty", { key: 0 }, () => [
|
|
8508
|
-
|
|
8509
|
-
]) : t.textOnly ? (w(), H("div",
|
|
8510
|
-
|
|
8508
|
+
z(" - ")
|
|
8509
|
+
]) : t.textOnly ? (w(), H("div", Bl, [
|
|
8510
|
+
z($(c(l)) + " ", 1),
|
|
8511
8511
|
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8512
8512
|
key: 0,
|
|
8513
8513
|
size: 12,
|
|
@@ -8521,7 +8521,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8521
8521
|
label: t.forceRounded ? void 0 : !0
|
|
8522
8522
|
}, {
|
|
8523
8523
|
default: g(() => [
|
|
8524
|
-
|
|
8524
|
+
z($(c(l)) + " ", 1),
|
|
8525
8525
|
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8526
8526
|
key: 0,
|
|
8527
8527
|
size: 12,
|
|
@@ -8539,7 +8539,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8539
8539
|
onClick: ne(f, ["stop"])
|
|
8540
8540
|
}, {
|
|
8541
8541
|
default: g(() => [
|
|
8542
|
-
|
|
8542
|
+
z($(c(l)) + " ", 1),
|
|
8543
8543
|
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8544
8544
|
key: 0,
|
|
8545
8545
|
size: 12,
|
|
@@ -8553,7 +8553,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8553
8553
|
], 2));
|
|
8554
8554
|
}
|
|
8555
8555
|
});
|
|
8556
|
-
var
|
|
8556
|
+
var jl = /* @__PURE__ */ ((t) => (t.Debug = "DEBUG", t.Info = "INFO", t.Notice = "NOTICE", t.Warning = "WARNING", t.Error = "ERROR", t.Critical = "CRITICAL", t.Alert = "ALERT", t.Emergency = "EMERGENCY", t.Default = "INFO", t))(jl || {});
|
|
8557
8557
|
function Rl() {
|
|
8558
8558
|
const t = J([
|
|
8559
8559
|
{
|
|
@@ -8616,7 +8616,7 @@ const yh = /* @__PURE__ */ L({
|
|
|
8616
8616
|
size: "small"
|
|
8617
8617
|
}, {
|
|
8618
8618
|
default: g(() => [
|
|
8619
|
-
|
|
8619
|
+
z($(c(a).title), 1)
|
|
8620
8620
|
]),
|
|
8621
8621
|
_: 1
|
|
8622
8622
|
}, 8, ["color"])) : Z("", !0);
|
|
@@ -8629,7 +8629,7 @@ const yh = /* @__PURE__ */ L({
|
|
|
8629
8629
|
dataCy: { default: "copy-text" }
|
|
8630
8630
|
},
|
|
8631
8631
|
setup(t) {
|
|
8632
|
-
const n = t, { copy: e, isSupported: a } = Mr(), { showSuccess: r } = Ta(), { t: o } =
|
|
8632
|
+
const n = t, { copy: e, isSupported: a } = Mr(), { showSuccess: r } = Ta(), { t: o } = K(), l = (f) => {
|
|
8633
8633
|
st(f), a && (Ma(n.value) ? e(to(n.value)).then(() => {
|
|
8634
8634
|
r(o(n.notifyT));
|
|
8635
8635
|
}) : dt(n.value) && n.value.length && e(n.value).then(() => {
|
|
@@ -8648,12 +8648,12 @@ const yh = /* @__PURE__ */ L({
|
|
|
8648
8648
|
size: "x-small",
|
|
8649
8649
|
icon: "mdi-content-copy"
|
|
8650
8650
|
})) : Z("", !0),
|
|
8651
|
-
b(
|
|
8651
|
+
b(Ie, {
|
|
8652
8652
|
activator: "parent",
|
|
8653
8653
|
location: "bottom"
|
|
8654
8654
|
}, {
|
|
8655
8655
|
default: g(() => [
|
|
8656
|
-
|
|
8656
|
+
z(" Copy ")
|
|
8657
8657
|
]),
|
|
8658
8658
|
_: 1
|
|
8659
8659
|
})
|
|
@@ -8722,7 +8722,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8722
8722
|
hideModifiedBy: { type: Boolean, default: !1 }
|
|
8723
8723
|
},
|
|
8724
8724
|
setup(t) {
|
|
8725
|
-
const { t: n } =
|
|
8725
|
+
const { t: n } = K();
|
|
8726
8726
|
return (e, a) => (w(), H(Ye, null, [
|
|
8727
8727
|
t.hideCreatedAt ? Z("", !0) : (w(), E(tt, {
|
|
8728
8728
|
key: 0,
|
|
@@ -8759,7 +8759,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8759
8759
|
size: { default: 36 }
|
|
8760
8760
|
},
|
|
8761
8761
|
setup(t) {
|
|
8762
|
-
const n = t, { t: e } =
|
|
8762
|
+
const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName } : { name: n.routeName, params: { ...n.routeParams } });
|
|
8763
8763
|
return (r, o) => (w(), E(oe, {
|
|
8764
8764
|
class: be(t.buttonClass),
|
|
8765
8765
|
"data-cy": t.dataCy,
|
|
@@ -8773,12 +8773,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8773
8773
|
}, {
|
|
8774
8774
|
default: g(() => [
|
|
8775
8775
|
b(me, { icon: "mdi-close" }),
|
|
8776
|
-
b(
|
|
8776
|
+
b(Ie, {
|
|
8777
8777
|
activator: "parent",
|
|
8778
8778
|
location: "bottom"
|
|
8779
8779
|
}, {
|
|
8780
8780
|
default: g(() => [
|
|
8781
|
-
|
|
8781
|
+
z($(c(e)("common.button.close")), 1)
|
|
8782
8782
|
]),
|
|
8783
8783
|
_: 1
|
|
8784
8784
|
})
|
|
@@ -8797,7 +8797,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8797
8797
|
variant: { default: "primary" }
|
|
8798
8798
|
},
|
|
8799
8799
|
setup(t) {
|
|
8800
|
-
const n = t, { t: e } =
|
|
8800
|
+
const n = t, { t: e } = K(), a = x(() => {
|
|
8801
8801
|
switch (n.variant) {
|
|
8802
8802
|
case "secondary":
|
|
8803
8803
|
return "outlined";
|
|
@@ -8820,12 +8820,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8820
8820
|
}, {
|
|
8821
8821
|
default: g(() => [
|
|
8822
8822
|
b(me, { icon: "mdi-content-save" }),
|
|
8823
|
-
b(
|
|
8823
|
+
b(Ie, {
|
|
8824
8824
|
activator: "parent",
|
|
8825
8825
|
location: "bottom"
|
|
8826
8826
|
}, {
|
|
8827
8827
|
default: g(() => [
|
|
8828
|
-
|
|
8828
|
+
z($(c(e)(t.buttonT)), 1)
|
|
8829
8829
|
]),
|
|
8830
8830
|
_: 1
|
|
8831
8831
|
})
|
|
@@ -8842,7 +8842,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8842
8842
|
height: t.size
|
|
8843
8843
|
}, {
|
|
8844
8844
|
default: g(() => [
|
|
8845
|
-
|
|
8845
|
+
z($(c(e)(t.buttonT)), 1)
|
|
8846
8846
|
]),
|
|
8847
8847
|
_: 1
|
|
8848
8848
|
}, 8, ["class", "data-cy", "variant", "to", "height"]));
|
|
@@ -8876,7 +8876,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8876
8876
|
r.value = !1;
|
|
8877
8877
|
}, u = () => {
|
|
8878
8878
|
f();
|
|
8879
|
-
}, { t: p } =
|
|
8879
|
+
}, { t: p } = K();
|
|
8880
8880
|
n({
|
|
8881
8881
|
closeDialog: f
|
|
8882
8882
|
});
|
|
@@ -8892,7 +8892,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8892
8892
|
}
|
|
8893
8893
|
});
|
|
8894
8894
|
return (d, v) => {
|
|
8895
|
-
const k = Nt("ABtnTertiary"),
|
|
8895
|
+
const k = Nt("ABtnTertiary"), I = Nt("ABtnPrimary");
|
|
8896
8896
|
return w(), H(Ye, null, [
|
|
8897
8897
|
t.variant === "icon" ? (w(), E(oe, {
|
|
8898
8898
|
key: 0,
|
|
@@ -8910,12 +8910,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8910
8910
|
}, {
|
|
8911
8911
|
default: g(() => [
|
|
8912
8912
|
b(me, { icon: "mdi-trash-can-outline" }),
|
|
8913
|
-
b(
|
|
8913
|
+
b(Ie, {
|
|
8914
8914
|
activator: "parent",
|
|
8915
8915
|
location: "bottom"
|
|
8916
8916
|
}, {
|
|
8917
8917
|
default: g(() => [
|
|
8918
|
-
|
|
8918
|
+
z($(c(p)(t.buttonT)), 1)
|
|
8919
8919
|
]),
|
|
8920
8920
|
_: 1
|
|
8921
8921
|
})
|
|
@@ -8932,7 +8932,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8932
8932
|
onClick: ne(o, ["stop"])
|
|
8933
8933
|
}, {
|
|
8934
8934
|
default: g(() => [
|
|
8935
|
-
|
|
8935
|
+
z($(c(p)(t.buttonT)), 1)
|
|
8936
8936
|
]),
|
|
8937
8937
|
_: 1
|
|
8938
8938
|
}, 8, ["class", "data-cy", "variant", "color", "height", "onClick"])),
|
|
@@ -8951,7 +8951,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8951
8951
|
default: g(() => [
|
|
8952
8952
|
b($r, { onOnCancel: u }, {
|
|
8953
8953
|
default: g(() => [
|
|
8954
|
-
|
|
8954
|
+
z($(c(p)(t.dialogMessageT)), 1)
|
|
8955
8955
|
]),
|
|
8956
8956
|
_: 1
|
|
8957
8957
|
}),
|
|
@@ -8964,18 +8964,18 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8964
8964
|
onClick: ne(u, ["stop"])
|
|
8965
8965
|
}, {
|
|
8966
8966
|
default: g(() => [
|
|
8967
|
-
|
|
8967
|
+
z($(c(p)(t.dialogCancelButtonT)), 1)
|
|
8968
8968
|
]),
|
|
8969
8969
|
_: 1
|
|
8970
8970
|
}, 8, ["disabled", "onClick"]),
|
|
8971
|
-
b(
|
|
8971
|
+
b(I, {
|
|
8972
8972
|
color: t.dialogConfirmColor,
|
|
8973
8973
|
loading: t.loading,
|
|
8974
8974
|
"data-cy": "button-confirm",
|
|
8975
8975
|
onClick: ne(l, ["stop"])
|
|
8976
8976
|
}, {
|
|
8977
8977
|
default: g(() => [
|
|
8978
|
-
|
|
8978
|
+
z($(c(p)(t.dialogConfirmButtonT)), 1)
|
|
8979
8979
|
]),
|
|
8980
8980
|
_: 1
|
|
8981
8981
|
}, 8, ["color", "loading", "onClick"])
|
|
@@ -9006,7 +9006,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9006
9006
|
},
|
|
9007
9007
|
emits: ["editRecord"],
|
|
9008
9008
|
setup(t, { emit: n }) {
|
|
9009
|
-
const e = t, { t: a } =
|
|
9009
|
+
const e = t, { t: a } = K(), r = Ca(), o = (u) => {
|
|
9010
9010
|
st(u), n("editRecord"), r.push(l.value);
|
|
9011
9011
|
}, l = x(() => S(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }), f = x(() => {
|
|
9012
9012
|
switch (e.variant) {
|
|
@@ -9032,12 +9032,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9032
9032
|
}, {
|
|
9033
9033
|
default: g(() => [
|
|
9034
9034
|
b(me, { icon: "mdi-content-save" }),
|
|
9035
|
-
b(
|
|
9035
|
+
b(Ie, {
|
|
9036
9036
|
activator: "parent",
|
|
9037
9037
|
location: "bottom"
|
|
9038
9038
|
}, {
|
|
9039
9039
|
default: g(() => [
|
|
9040
|
-
|
|
9040
|
+
z($(c(a)(t.buttonT)), 1)
|
|
9041
9041
|
]),
|
|
9042
9042
|
_: 1
|
|
9043
9043
|
})
|
|
@@ -9073,7 +9073,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9073
9073
|
setup(t, { emit: n }) {
|
|
9074
9074
|
const e = (r) => {
|
|
9075
9075
|
st(r), n("saveRecordAndClose");
|
|
9076
|
-
}, { t: a } =
|
|
9076
|
+
}, { t: a } = K();
|
|
9077
9077
|
return (r, o) => (w(), E(oe, {
|
|
9078
9078
|
class: be(t.buttonClass),
|
|
9079
9079
|
"data-cy": t.dataCy,
|
|
@@ -9091,12 +9091,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9091
9091
|
"main-icon": "mdi-content-save",
|
|
9092
9092
|
"secondary-icon": "mdi-close"
|
|
9093
9093
|
}),
|
|
9094
|
-
b(
|
|
9094
|
+
b(Ie, {
|
|
9095
9095
|
activator: "parent",
|
|
9096
9096
|
location: "bottom"
|
|
9097
9097
|
}, {
|
|
9098
9098
|
default: g(() => [
|
|
9099
|
-
|
|
9099
|
+
z($(c(a)(t.buttonT)), 1)
|
|
9100
9100
|
]),
|
|
9101
9101
|
_: 1
|
|
9102
9102
|
})
|
|
@@ -9119,7 +9119,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9119
9119
|
setup(t, { emit: n }) {
|
|
9120
9120
|
const e = t, a = (l) => {
|
|
9121
9121
|
st(l), n("saveRecord");
|
|
9122
|
-
}, { t: r } =
|
|
9122
|
+
}, { t: r } = K(), o = x(() => {
|
|
9123
9123
|
switch (e.variant) {
|
|
9124
9124
|
case "secondary":
|
|
9125
9125
|
return "outlined";
|
|
@@ -9144,12 +9144,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9144
9144
|
}, {
|
|
9145
9145
|
default: g(() => [
|
|
9146
9146
|
b(me, { icon: "mdi-content-save" }),
|
|
9147
|
-
b(
|
|
9147
|
+
b(Ie, {
|
|
9148
9148
|
activator: "parent",
|
|
9149
9149
|
location: "bottom"
|
|
9150
9150
|
}, {
|
|
9151
9151
|
default: g(() => [
|
|
9152
|
-
|
|
9152
|
+
z($(c(r)(t.buttonT)), 1)
|
|
9153
9153
|
]),
|
|
9154
9154
|
_: 1
|
|
9155
9155
|
})
|
|
@@ -9168,7 +9168,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9168
9168
|
onClick: ne(a, ["stop"])
|
|
9169
9169
|
}, {
|
|
9170
9170
|
default: g(() => [
|
|
9171
|
-
|
|
9171
|
+
z($(c(r)(t.buttonT)), 1)
|
|
9172
9172
|
]),
|
|
9173
9173
|
_: 1
|
|
9174
9174
|
}, 8, ["class", "data-cy", "variant", "loading", "disabled", "height", "onClick"]));
|
|
@@ -9185,7 +9185,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9185
9185
|
size: { default: "x-small" }
|
|
9186
9186
|
},
|
|
9187
9187
|
setup(t) {
|
|
9188
|
-
const n = t, { t: e } =
|
|
9188
|
+
const n = t, { t: e } = K(), { copy: a, isSupported: r } = Mr(), { showSuccess: o } = Ta(), l = (f) => {
|
|
9189
9189
|
st(f), Ma(n.id) && n.id > 0 ? a(to(n.id)).then(() => {
|
|
9190
9190
|
o(e(n.notifyT));
|
|
9191
9191
|
}) : dt(n.id) && n.id.length && a(n.id).then(() => {
|
|
@@ -9207,12 +9207,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9207
9207
|
"main-icon": "mdi-content-copy",
|
|
9208
9208
|
size: "small"
|
|
9209
9209
|
}, null, 8, ["secondary-text"]),
|
|
9210
|
-
b(
|
|
9210
|
+
b(Ie, {
|
|
9211
9211
|
activator: "parent",
|
|
9212
9212
|
location: "bottom"
|
|
9213
9213
|
}, {
|
|
9214
9214
|
default: g(() => [
|
|
9215
|
-
|
|
9215
|
+
z($(c(e)(t.buttonT)), 1)
|
|
9216
9216
|
]),
|
|
9217
9217
|
_: 1
|
|
9218
9218
|
})
|
|
@@ -9231,7 +9231,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9231
9231
|
dataCy: { default: "table-detail" }
|
|
9232
9232
|
},
|
|
9233
9233
|
setup(t) {
|
|
9234
|
-
const n = t, { t: e } =
|
|
9234
|
+
const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName, params: { id: n.recordId } } : { name: n.routeName, params: { ...n.routeParams } });
|
|
9235
9235
|
return (r, o) => (w(), E(oe, {
|
|
9236
9236
|
class: be(t.buttonClass),
|
|
9237
9237
|
"data-cy": t.dataCy,
|
|
@@ -9244,12 +9244,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9244
9244
|
}, {
|
|
9245
9245
|
default: g(() => [
|
|
9246
9246
|
b(me, { icon: "mdi-information-outline" }),
|
|
9247
|
-
b(
|
|
9247
|
+
b(Ie, {
|
|
9248
9248
|
activator: "parent",
|
|
9249
9249
|
location: "bottom"
|
|
9250
9250
|
}, {
|
|
9251
9251
|
default: g(() => [
|
|
9252
|
-
|
|
9252
|
+
z($(c(e)(t.buttonT)), 1)
|
|
9253
9253
|
]),
|
|
9254
9254
|
_: 1
|
|
9255
9255
|
})
|
|
@@ -9268,7 +9268,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9268
9268
|
dataCy: { default: "table-edit" }
|
|
9269
9269
|
},
|
|
9270
9270
|
setup(t) {
|
|
9271
|
-
const n = t, { t: e } =
|
|
9271
|
+
const n = t, { t: e } = K(), a = x(() => S(n.routeParams) ? { name: n.routeName, params: { id: n.recordId } } : { name: n.routeName, params: { ...n.routeParams } });
|
|
9272
9272
|
return (r, o) => (w(), E(oe, {
|
|
9273
9273
|
class: be(t.buttonClass),
|
|
9274
9274
|
"data-cy": t.dataCy,
|
|
@@ -9281,12 +9281,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9281
9281
|
}, {
|
|
9282
9282
|
default: g(() => [
|
|
9283
9283
|
b(me, { icon: "mdi-pencil" }),
|
|
9284
|
-
b(
|
|
9284
|
+
b(Ie, {
|
|
9285
9285
|
activator: "parent",
|
|
9286
9286
|
location: "bottom"
|
|
9287
9287
|
}, {
|
|
9288
9288
|
default: g(() => [
|
|
9289
|
-
|
|
9289
|
+
z($(c(e)(t.buttonT)), 1)
|
|
9290
9290
|
]),
|
|
9291
9291
|
_: 1
|
|
9292
9292
|
})
|
|
@@ -9295,7 +9295,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9295
9295
|
}, 8, ["class", "data-cy", "to"]));
|
|
9296
9296
|
}
|
|
9297
9297
|
});
|
|
9298
|
-
var Zt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Zt || {}),
|
|
9298
|
+
var Zt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Zt || {}), Kl = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Kl || {});
|
|
9299
9299
|
const va = xr(
|
|
9300
9300
|
"theme",
|
|
9301
9301
|
"light"
|
|
@@ -9326,7 +9326,7 @@ const sa = (t) => {
|
|
|
9326
9326
|
window.matchMedia(ao).addEventListener("change", (t) => {
|
|
9327
9327
|
ro.value = t.matches, Xt();
|
|
9328
9328
|
});
|
|
9329
|
-
const
|
|
9329
|
+
const Gl = x(() => Qt.value === "light" ? "white" : "#1A1A1A");
|
|
9330
9330
|
function Zl() {
|
|
9331
9331
|
const t = () => {
|
|
9332
9332
|
sa(
|
|
@@ -9357,9 +9357,9 @@ function Zl() {
|
|
|
9357
9357
|
}
|
|
9358
9358
|
};
|
|
9359
9359
|
return {
|
|
9360
|
-
settings:
|
|
9361
|
-
theme:
|
|
9362
|
-
toolbarColor:
|
|
9360
|
+
settings: Kt(Hn),
|
|
9361
|
+
theme: Kt(Qt),
|
|
9362
|
+
toolbarColor: Kt(Gl),
|
|
9363
9363
|
toggleTheme: a,
|
|
9364
9364
|
setThemeAuto: t,
|
|
9365
9365
|
setThemeDark: n,
|
|
@@ -9369,7 +9369,7 @@ function Zl() {
|
|
|
9369
9369
|
const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L({
|
|
9370
9370
|
__name: "AThemeSelect",
|
|
9371
9371
|
setup(t) {
|
|
9372
|
-
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = Zl(), { t: o } =
|
|
9372
|
+
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = Zl(), { t: o } = K(), l = J(!1);
|
|
9373
9373
|
return (f, u) => (w(), E(Dt, {
|
|
9374
9374
|
modelValue: l.value,
|
|
9375
9375
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => l.value = p),
|
|
@@ -9390,21 +9390,21 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9390
9390
|
icon: "mdi-brightness-auto",
|
|
9391
9391
|
size: 32
|
|
9392
9392
|
}),
|
|
9393
|
-
|
|
9393
|
+
z($(c(o)("common.system.theme.auto")), 1)
|
|
9394
9394
|
])) : c(r) === c(Zt).Light ? (w(), H("div", Xl, [
|
|
9395
9395
|
b(me, {
|
|
9396
9396
|
class: "mr-1",
|
|
9397
9397
|
icon: "mdi-brightness-7",
|
|
9398
9398
|
size: 32
|
|
9399
9399
|
}),
|
|
9400
|
-
|
|
9400
|
+
z($(c(o)("common.system.theme.light")), 1)
|
|
9401
9401
|
])) : c(r) === c(Zt).Dark ? (w(), H("div", es, [
|
|
9402
9402
|
b(me, {
|
|
9403
9403
|
class: "mr-1",
|
|
9404
9404
|
icon: "mdi-brightness-4",
|
|
9405
9405
|
size: 32
|
|
9406
9406
|
}),
|
|
9407
|
-
|
|
9407
|
+
z($(c(o)("common.system.theme.dark")), 1)
|
|
9408
9408
|
])) : Z("", !0)
|
|
9409
9409
|
]),
|
|
9410
9410
|
_: 2
|
|
@@ -9461,7 +9461,7 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9461
9461
|
_: 1
|
|
9462
9462
|
}, 8, ["modelValue"]));
|
|
9463
9463
|
}
|
|
9464
|
-
}),
|
|
9464
|
+
}), zn = [
|
|
9465
9465
|
{
|
|
9466
9466
|
code: "en",
|
|
9467
9467
|
title: "English"
|
|
@@ -9497,14 +9497,14 @@ function ts(t, n) {
|
|
|
9497
9497
|
et.value = n, le.global.locale.value = n;
|
|
9498
9498
|
}
|
|
9499
9499
|
},
|
|
9500
|
-
currentLanguageCode:
|
|
9500
|
+
currentLanguageCode: Kt(et),
|
|
9501
9501
|
setLanguage: a,
|
|
9502
|
-
allLanguages:
|
|
9502
|
+
allLanguages: zn
|
|
9503
9503
|
};
|
|
9504
9504
|
}
|
|
9505
9505
|
function ns() {
|
|
9506
9506
|
return {
|
|
9507
|
-
currentLanguageCode:
|
|
9507
|
+
currentLanguageCode: Kt(et)
|
|
9508
9508
|
};
|
|
9509
9509
|
}
|
|
9510
9510
|
const as = {
|
|
@@ -9564,12 +9564,12 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9564
9564
|
__name: "ALanguageSelect",
|
|
9565
9565
|
emits: ["afterChange"],
|
|
9566
9566
|
setup(t, { emit: n }) {
|
|
9567
|
-
const e = we(
|
|
9567
|
+
const e = we(Kn), a = we(Jr), r = we(Wr), { setLanguage: o } = ts(a, r), { currentLanguageCode: l } = ns(), f = (m) => {
|
|
9568
9568
|
o(m) && n("afterChange", m);
|
|
9569
9569
|
}, u = x(() => {
|
|
9570
|
-
const m =
|
|
9571
|
-
return S(m) ?
|
|
9572
|
-
}), p = x(() =>
|
|
9570
|
+
const m = zn.find((d) => d.code === l.value);
|
|
9571
|
+
return S(m) ? zn[0] : m;
|
|
9572
|
+
}), p = x(() => zn.filter(
|
|
9573
9573
|
(m) => {
|
|
9574
9574
|
var d;
|
|
9575
9575
|
return (a.includes(m.code) || m.code === "xx") && (!m.adminOnly || ((d = e.value) == null ? void 0 : d.roles.includes(qr)));
|
|
@@ -9599,7 +9599,7 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9599
9599
|
}),
|
|
9600
9600
|
_: 1
|
|
9601
9601
|
}),
|
|
9602
|
-
|
|
9602
|
+
z(" " + $(c(u).title), 1)
|
|
9603
9603
|
]),
|
|
9604
9604
|
_: 2
|
|
9605
9605
|
}, 1040)
|
|
@@ -9627,7 +9627,7 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9627
9627
|
]),
|
|
9628
9628
|
_: 2
|
|
9629
9629
|
}, 1024),
|
|
9630
|
-
|
|
9630
|
+
z(" " + $(v.title), 1)
|
|
9631
9631
|
]),
|
|
9632
9632
|
_: 2
|
|
9633
9633
|
}, 1024)
|
|
@@ -9648,18 +9648,18 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9648
9648
|
const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
|
|
9649
9649
|
__name: "ASystemBarNewVersion",
|
|
9650
9650
|
setup(t) {
|
|
9651
|
-
const { t: n } =
|
|
9651
|
+
const { t: n } = K(), e = () => {
|
|
9652
9652
|
window.location.reload();
|
|
9653
9653
|
};
|
|
9654
9654
|
return (a, r) => r[0] || (nr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
|
|
9655
|
-
|
|
9655
|
+
z($(c(n)("common.system.newVersionText")) + " ", 1),
|
|
9656
9656
|
te("span", {
|
|
9657
9657
|
class: "text-decoration-underline cursor-pointer",
|
|
9658
9658
|
onClick: ne(e, ["stop"])
|
|
9659
9659
|
}, $(c(n)("common.system.newVersionReload")), 9, ks)
|
|
9660
9660
|
]), nr(1), r[0]);
|
|
9661
9661
|
}
|
|
9662
|
-
}), As = { class: "text-center w-100 text-caption pb-1" },
|
|
9662
|
+
}), As = { class: "text-center w-100 text-caption pb-1" }, Vh = /* @__PURE__ */ L({
|
|
9663
9663
|
__name: "ASystemBar",
|
|
9664
9664
|
props: {
|
|
9665
9665
|
currentVersion: null,
|
|
@@ -9688,7 +9688,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9688
9688
|
}, n.checkInterval);
|
|
9689
9689
|
return go(() => {
|
|
9690
9690
|
o();
|
|
9691
|
-
}), (l, f) => e.value ? (w(), E(
|
|
9691
|
+
}), (l, f) => e.value ? (w(), E(zo, {
|
|
9692
9692
|
key: 0,
|
|
9693
9693
|
height: "24",
|
|
9694
9694
|
color: "orange accent-3",
|
|
@@ -9745,7 +9745,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9745
9745
|
}, Ms = {
|
|
9746
9746
|
key: 0,
|
|
9747
9747
|
class: "required"
|
|
9748
|
-
},
|
|
9748
|
+
}, Ih = /* @__PURE__ */ L({
|
|
9749
9749
|
__name: "AAvatarColorPicker",
|
|
9750
9750
|
props: {
|
|
9751
9751
|
modelValue: null,
|
|
@@ -9784,7 +9784,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9784
9784
|
{ immediate: !0 }
|
|
9785
9785
|
), (p, m) => (w(), H("div", null, [
|
|
9786
9786
|
t.hideLabel ? Z("", !0) : (w(), H("label", _s, [
|
|
9787
|
-
|
|
9787
|
+
z($(t.label) + " ", 1),
|
|
9788
9788
|
t.required ? (w(), H("span", Ms)) : Z("", !0)
|
|
9789
9789
|
])),
|
|
9790
9790
|
b(oe, {
|
|
@@ -9800,7 +9800,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9800
9800
|
default: g(() => [
|
|
9801
9801
|
b(nt, null, {
|
|
9802
9802
|
default: g(() => [
|
|
9803
|
-
b(
|
|
9803
|
+
b(Bo, {
|
|
9804
9804
|
"model-value": c(f),
|
|
9805
9805
|
swatches: a,
|
|
9806
9806
|
class: "a-color-picker--hide-controls",
|
|
@@ -9822,7 +9822,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
|
|
|
9822
9822
|
]));
|
|
9823
9823
|
}
|
|
9824
9824
|
});
|
|
9825
|
-
const xs = /* @__PURE__ */ te("br", null, null, -1),
|
|
9825
|
+
const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
9826
9826
|
__name: "ACurrentUserDropdown",
|
|
9827
9827
|
props: {
|
|
9828
9828
|
currentUser: null,
|
|
@@ -9830,7 +9830,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9830
9830
|
logoutRouteName: null
|
|
9831
9831
|
},
|
|
9832
9832
|
setup(t) {
|
|
9833
|
-
const { t: n } =
|
|
9833
|
+
const { t: n } = K(), e = J(!1);
|
|
9834
9834
|
return (a, r) => (w(), E(oe, {
|
|
9835
9835
|
variant: "text",
|
|
9836
9836
|
icon: "",
|
|
@@ -9842,12 +9842,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9842
9842
|
size: 32,
|
|
9843
9843
|
user: t.currentUser
|
|
9844
9844
|
}, null, 8, ["user"]),
|
|
9845
|
-
b(
|
|
9845
|
+
b(Ie, {
|
|
9846
9846
|
activator: "parent",
|
|
9847
9847
|
location: "top"
|
|
9848
9848
|
}, {
|
|
9849
9849
|
default: g(() => [
|
|
9850
|
-
|
|
9850
|
+
z($(c(n)("common.system.currentUser.button")), 1)
|
|
9851
9851
|
]),
|
|
9852
9852
|
_: 1
|
|
9853
9853
|
}),
|
|
@@ -9873,29 +9873,29 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9873
9873
|
default: g(() => [
|
|
9874
9874
|
b(tn, null, {
|
|
9875
9875
|
default: g(() => [
|
|
9876
|
-
|
|
9876
|
+
z($(t.currentUser.person.fullName), 1)
|
|
9877
9877
|
]),
|
|
9878
9878
|
_: 1
|
|
9879
9879
|
}),
|
|
9880
9880
|
b(wo, null, {
|
|
9881
9881
|
default: g(() => [
|
|
9882
|
-
|
|
9882
|
+
z($(t.currentUser.email), 1),
|
|
9883
9883
|
xs,
|
|
9884
|
-
|
|
9884
|
+
z(" " + $(t.currentUser.id), 1)
|
|
9885
9885
|
]),
|
|
9886
9886
|
_: 1
|
|
9887
9887
|
})
|
|
9888
9888
|
]),
|
|
9889
9889
|
_: 1
|
|
9890
9890
|
}),
|
|
9891
|
-
b(
|
|
9891
|
+
b(jo),
|
|
9892
9892
|
b(Qe, {
|
|
9893
9893
|
active: !1,
|
|
9894
9894
|
"prepend-icon": "mdi-cog",
|
|
9895
9895
|
to: { name: t.settingsRouteName }
|
|
9896
9896
|
}, {
|
|
9897
9897
|
default: g(() => [
|
|
9898
|
-
|
|
9898
|
+
z($(c(n)("common.system.currentUser.settings")), 1)
|
|
9899
9899
|
]),
|
|
9900
9900
|
_: 1
|
|
9901
9901
|
}, 8, ["to"]),
|
|
@@ -9904,7 +9904,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9904
9904
|
onClick: r[3] || (r[3] = ne((o) => e.value = !0, ["stop"]))
|
|
9905
9905
|
}, {
|
|
9906
9906
|
default: g(() => [
|
|
9907
|
-
|
|
9907
|
+
z($(c(n)("common.system.currentUser.logout")) + " ", 1),
|
|
9908
9908
|
b(Da, {
|
|
9909
9909
|
modelValue: e.value,
|
|
9910
9910
|
"onUpdate:modelValue": r[2] || (r[2] = (o) => e.value = o),
|
|
@@ -9920,7 +9920,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9920
9920
|
default: g(() => [
|
|
9921
9921
|
b(_r, { class: "flex-fill" }, {
|
|
9922
9922
|
default: g(() => [
|
|
9923
|
-
|
|
9923
|
+
z($(c(n)("common.system.currentUser.logout")), 1)
|
|
9924
9924
|
]),
|
|
9925
9925
|
_: 1
|
|
9926
9926
|
}),
|
|
@@ -9938,7 +9938,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9938
9938
|
}),
|
|
9939
9939
|
b(Cr, null, {
|
|
9940
9940
|
default: g(() => [
|
|
9941
|
-
|
|
9941
|
+
z($(c(n)("common.system.currentUser.logoutText")), 1)
|
|
9942
9942
|
]),
|
|
9943
9943
|
_: 1
|
|
9944
9944
|
}),
|
|
@@ -9952,7 +9952,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9952
9952
|
onClick: r[1] || (r[1] = ne((o) => e.value = !1, ["stop"]))
|
|
9953
9953
|
}, {
|
|
9954
9954
|
default: g(() => [
|
|
9955
|
-
|
|
9955
|
+
z($(c(n)("common.button.cancel")), 1)
|
|
9956
9956
|
]),
|
|
9957
9957
|
_: 1
|
|
9958
9958
|
}),
|
|
@@ -9962,7 +9962,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
9962
9962
|
to: { name: t.logoutRouteName }
|
|
9963
9963
|
}, {
|
|
9964
9964
|
default: g(() => [
|
|
9965
|
-
|
|
9965
|
+
z($(c(n)("common.system.currentUser.logoutConfirm")), 1)
|
|
9966
9966
|
]),
|
|
9967
9967
|
_: 1
|
|
9968
9968
|
}, 8, ["to"])
|
|
@@ -10023,12 +10023,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10023
10023
|
set(D) {
|
|
10024
10024
|
n("update:modelValue", ft(D));
|
|
10025
10025
|
}
|
|
10026
|
-
}), { t: f } =
|
|
10026
|
+
}), { t: f } = K(), u = we(at, void 0), p = we(rt, void 0), m = J(!1), d = J(""), v = J(!1), { innerFilter: k } = ba(e), I = Gn(e.filterSortBy), y = J(/* @__PURE__ */ new Map()), O = () => {
|
|
10027
10027
|
m.value = !0, n("focus", l.value);
|
|
10028
10028
|
}, P = () => {
|
|
10029
10029
|
var D;
|
|
10030
10030
|
m.value = !1, (D = e.v) == null || D.$touch(), n("blur", l.value);
|
|
10031
|
-
},
|
|
10031
|
+
}, F = x(() => {
|
|
10032
10032
|
var D, C;
|
|
10033
10033
|
return S(e.errorMessage) ? (C = (D = e.v) == null ? void 0 : D.$errors) != null && C.length ? e.v.$errors.map((_) => _.$message) : [] : [e.errorMessage];
|
|
10034
10034
|
}), R = x(() => {
|
|
@@ -10047,7 +10047,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10047
10047
|
}, ue = async (D) => {
|
|
10048
10048
|
v.value = !0;
|
|
10049
10049
|
const C = k.value[e.filterByField];
|
|
10050
|
-
C.model = D, y.value.clear(), (await e.fetchItemsMinimal(
|
|
10050
|
+
C.model = D, y.value.clear(), (await e.fetchItemsMinimal(I, k.value)).forEach((M) => {
|
|
10051
10051
|
y.value.set(M[e.itemValue], M);
|
|
10052
10052
|
}), v.value = !1;
|
|
10053
10053
|
}, pe = x(() => {
|
|
@@ -10098,7 +10098,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10098
10098
|
"no-filter": "",
|
|
10099
10099
|
multiple: c(ae),
|
|
10100
10100
|
clearable: t.clearable,
|
|
10101
|
-
"error-messages": c(
|
|
10101
|
+
"error-messages": c(F),
|
|
10102
10102
|
loading: v.value,
|
|
10103
10103
|
onBlur: P,
|
|
10104
10104
|
onFocus: O,
|
|
@@ -10110,7 +10110,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10110
10110
|
t.hideLabel ? Z("", !0) : (w(), H("span", {
|
|
10111
10111
|
key: c(U) + ""
|
|
10112
10112
|
}, [
|
|
10113
|
-
|
|
10113
|
+
z($(c(R)) + " ", 1),
|
|
10114
10114
|
c(U) ? (w(), H("span", Ts)) : Z("", !0)
|
|
10115
10115
|
]))
|
|
10116
10116
|
]),
|
|
@@ -10144,7 +10144,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10144
10144
|
}), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Ps = {
|
|
10145
10145
|
key: 0,
|
|
10146
10146
|
class: "display-1 my-3"
|
|
10147
|
-
},
|
|
10147
|
+
}, Vs = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Fs = /* @__PURE__ */ L({
|
|
10148
10148
|
__name: "ALoginView",
|
|
10149
10149
|
props: {
|
|
10150
10150
|
title: { default: void 0 },
|
|
@@ -10152,8 +10152,8 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10152
10152
|
loginUrl: { type: [null, Function], default: void 0 }
|
|
10153
10153
|
},
|
|
10154
10154
|
setup(t) {
|
|
10155
|
-
const n = t, { t: e } =
|
|
10156
|
-
return
|
|
10155
|
+
const n = t, { t: e } = K();
|
|
10156
|
+
return zt(() => {
|
|
10157
10157
|
console.log(n);
|
|
10158
10158
|
}), (a, r) => (w(), H("div", Ss, [
|
|
10159
10159
|
te("div", $s, [
|
|
@@ -10163,10 +10163,10 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10163
10163
|
alt: ""
|
|
10164
10164
|
}, null, 8, Os),
|
|
10165
10165
|
t.title ? (w(), H("h1", Ps, $(t.title), 1)) : Z("", !0),
|
|
10166
|
-
te("h4",
|
|
10166
|
+
te("h4", Vs, [
|
|
10167
10167
|
te("span", null, $(c(e)("common.system.login.text")), 1)
|
|
10168
10168
|
]),
|
|
10169
|
-
te("div",
|
|
10169
|
+
te("div", Is, [
|
|
10170
10170
|
t.loginUrl ? (w(), E(oe, {
|
|
10171
10171
|
key: 0,
|
|
10172
10172
|
href: t.loginUrl(),
|
|
@@ -10174,7 +10174,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10174
10174
|
size: "large"
|
|
10175
10175
|
}, {
|
|
10176
10176
|
default: g(() => [
|
|
10177
|
-
|
|
10177
|
+
z($(c(e)("common.system.login.text")), 1)
|
|
10178
10178
|
]),
|
|
10179
10179
|
_: 1
|
|
10180
10180
|
}, 8, ["href"])) : Z("", !0)
|
|
@@ -10183,24 +10183,24 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
10183
10183
|
]));
|
|
10184
10184
|
}
|
|
10185
10185
|
});
|
|
10186
|
-
const Nh = /* @__PURE__ */ vt(
|
|
10186
|
+
const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @__PURE__ */ L({
|
|
10187
10187
|
__name: "ALogoutView",
|
|
10188
10188
|
props: {
|
|
10189
10189
|
logoutUrl: { type: [null, Function], default: void 0 }
|
|
10190
10190
|
},
|
|
10191
10191
|
setup(t) {
|
|
10192
10192
|
const n = t;
|
|
10193
|
-
return
|
|
10193
|
+
return zt(() => {
|
|
10194
10194
|
n.logoutUrl && (window.location.href = n.logoutUrl());
|
|
10195
10195
|
}), (e, a) => (w(), H("div"));
|
|
10196
10196
|
}
|
|
10197
|
-
}), Es = { class: "d-flex justify-center align-center fill-height" }, Ns = { class: "d-flex flex-column align-center" }, Ls = { class: "d-flex justify-center align-center text-primary" },
|
|
10197
|
+
}), Es = { class: "d-flex justify-center align-center fill-height" }, Ns = { class: "d-flex flex-column align-center" }, Ls = { class: "d-flex justify-center align-center text-primary" }, zs = { class: "pa-4" }, zh = /* @__PURE__ */ L({
|
|
10198
10198
|
__name: "AUnauthorizedView",
|
|
10199
10199
|
props: {
|
|
10200
10200
|
returnRouteName: null
|
|
10201
10201
|
},
|
|
10202
10202
|
setup(t) {
|
|
10203
|
-
const { t: n } =
|
|
10203
|
+
const { t: n } = K();
|
|
10204
10204
|
return (e, a) => (w(), H("div", Es, [
|
|
10205
10205
|
te("div", Ns, [
|
|
10206
10206
|
te("h1", Ls, [
|
|
@@ -10210,29 +10210,29 @@ const Nh = /* @__PURE__ */ vt(Vs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10210
10210
|
}),
|
|
10211
10211
|
te("span", null, $(c(n)("common.system.unauthorized.title")), 1)
|
|
10212
10212
|
]),
|
|
10213
|
-
te("p",
|
|
10213
|
+
te("p", zs, $(c(n)("common.system.unauthorized.text")), 1),
|
|
10214
10214
|
b(oe, {
|
|
10215
10215
|
to: { name: t.returnRouteName },
|
|
10216
10216
|
color: "primary",
|
|
10217
10217
|
size: "large"
|
|
10218
10218
|
}, {
|
|
10219
10219
|
default: g(() => [
|
|
10220
|
-
|
|
10220
|
+
z($(c(n)("common.system.unauthorized.backButton")), 1)
|
|
10221
10221
|
]),
|
|
10222
10222
|
_: 1
|
|
10223
10223
|
}, 8, ["to"])
|
|
10224
10224
|
])
|
|
10225
10225
|
]));
|
|
10226
10226
|
}
|
|
10227
|
-
}),
|
|
10227
|
+
}), Bs = { class: "d-flex justify-center align-center fill-height" }, js = { class: "d-flex flex-column align-center" }, Rs = { class: "d-flex justify-center align-center text-primary" }, Us = { class: "pa-4" }, Bh = /* @__PURE__ */ L({
|
|
10228
10228
|
__name: "ANotFoundView",
|
|
10229
10229
|
props: {
|
|
10230
10230
|
returnRouteName: null
|
|
10231
10231
|
},
|
|
10232
10232
|
setup(t) {
|
|
10233
|
-
const { t: n } =
|
|
10234
|
-
return (e, a) => (w(), H("div",
|
|
10235
|
-
te("div",
|
|
10233
|
+
const { t: n } = K();
|
|
10234
|
+
return (e, a) => (w(), H("div", Bs, [
|
|
10235
|
+
te("div", js, [
|
|
10236
10236
|
te("h1", Rs, [
|
|
10237
10237
|
b(me, {
|
|
10238
10238
|
size: "x-large",
|
|
@@ -10247,21 +10247,21 @@ const Nh = /* @__PURE__ */ vt(Vs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10247
10247
|
size: "large"
|
|
10248
10248
|
}, {
|
|
10249
10249
|
default: g(() => [
|
|
10250
|
-
|
|
10250
|
+
z($(c(n)("common.system.notFound.backButton")), 1)
|
|
10251
10251
|
]),
|
|
10252
10252
|
_: 1
|
|
10253
10253
|
}, 8, ["to"])
|
|
10254
10254
|
])
|
|
10255
10255
|
]));
|
|
10256
10256
|
}
|
|
10257
|
-
}),
|
|
10257
|
+
}), jh = /* @__PURE__ */ L({
|
|
10258
10258
|
__name: "AJobDetailCommon",
|
|
10259
10259
|
props: {
|
|
10260
10260
|
job: null,
|
|
10261
10261
|
loading: { type: Boolean, default: !1 }
|
|
10262
10262
|
},
|
|
10263
10263
|
setup(t) {
|
|
10264
|
-
const { t: n } =
|
|
10264
|
+
const { t: n } = K();
|
|
10265
10265
|
return (e, a) => (w(), H("div", null, [
|
|
10266
10266
|
b(tt, {
|
|
10267
10267
|
title: c(n)("common.job.model.id"),
|
|
@@ -10272,7 +10272,7 @@ const Nh = /* @__PURE__ */ vt(Vs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10272
10272
|
}, {
|
|
10273
10273
|
default: g(() => [
|
|
10274
10274
|
_e(e.$slots, "resource-name", {}, () => [
|
|
10275
|
-
|
|
10275
|
+
z($(t.job._resourceName), 1)
|
|
10276
10276
|
])
|
|
10277
10277
|
]),
|
|
10278
10278
|
_: 3
|
|
@@ -10378,13 +10378,13 @@ const Jh = (t, n = 2) => {
|
|
|
10378
10378
|
return "0 Bytes";
|
|
10379
10379
|
const e = 1024, a = n < 0 ? 0 : n, r = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], o = Math.floor(Math.log(t) / Math.log(e));
|
|
10380
10380
|
return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
|
|
10381
|
-
}, Tt = (t) =>
|
|
10381
|
+
}, Tt = (t) => Fi.includes(t), St = (t, n, e = "") => Sr(n) ? t : Qo(e === "" ? t : e, n), Wh = (t, n, e = "", a = {}, r = null, o, l, f = {}) => new Promise((u, p) => {
|
|
10382
10382
|
const m = { method: n };
|
|
10383
|
-
e !== "" && (m.url = St(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new
|
|
10383
|
+
e !== "" && (m.url = St(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Ve()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
|
|
10384
10384
|
}), Ys = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
|
|
10385
|
-
t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new
|
|
10385
|
+
t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
|
|
10386
10386
|
}), Hs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
|
|
10387
|
-
t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status ===
|
|
10387
|
+
t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status === Vr ? l(null) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
|
|
10388
10388
|
});
|
|
10389
10389
|
function oo() {
|
|
10390
10390
|
const t = J([]), n = (m) => {
|
|
@@ -10409,16 +10409,16 @@ function oo() {
|
|
|
10409
10409
|
querySetFilters: (m) => {
|
|
10410
10410
|
const d = !S(m._elastic);
|
|
10411
10411
|
for (const v in m) {
|
|
10412
|
-
const k = m[v],
|
|
10412
|
+
const k = m[v], I = k.field || v;
|
|
10413
10413
|
if (k.exclude)
|
|
10414
10414
|
continue;
|
|
10415
10415
|
const y = l(k);
|
|
10416
10416
|
if (!ye(y)) {
|
|
10417
10417
|
if (d) {
|
|
10418
|
-
f(
|
|
10418
|
+
f(I, y);
|
|
10419
10419
|
continue;
|
|
10420
10420
|
}
|
|
10421
|
-
o(k.variant,
|
|
10421
|
+
o(k.variant, I, y);
|
|
10422
10422
|
}
|
|
10423
10423
|
}
|
|
10424
10424
|
},
|
|
@@ -10432,15 +10432,15 @@ const Js = (t, n) => {
|
|
|
10432
10432
|
}, qh = (t, n, e, a = {}, r, o, l = {}, f = !1) => new Promise((u, p) => {
|
|
10433
10433
|
t().get(St(e, a) + Js(n, f), l).then((m) => {
|
|
10434
10434
|
var d;
|
|
10435
|
-
return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new
|
|
10436
|
-
}).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new
|
|
10437
|
-
}), Ws = (t) => qn(t) && Object.hasOwn(t, "totalCount"), qs = (t) => qn(t) && Object.hasOwn(t, "hasNextPage"),
|
|
10435
|
+
return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Ve()) : p(new ht(m.status));
|
|
10436
|
+
}).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Ve(m)));
|
|
10437
|
+
}), Ws = (t) => qn(t) && Object.hasOwn(t, "totalCount"), qs = (t) => qn(t) && Object.hasOwn(t, "hasNextPage"), Ks = (t, n) => {
|
|
10438
10438
|
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: l } = oo();
|
|
10439
10439
|
return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), l(n), o();
|
|
10440
|
-
},
|
|
10440
|
+
}, Gs = (t, n, e = {}, a, r, o, l, f = {}) => new Promise((u, p) => {
|
|
10441
10441
|
const m = S(r._elastic) ? "" : "/search";
|
|
10442
10442
|
t().get(
|
|
10443
|
-
St(n, e) + m +
|
|
10443
|
+
St(n, e) + m + Ks(a, r),
|
|
10444
10444
|
f
|
|
10445
10445
|
).then((d) => {
|
|
10446
10446
|
if (!Tt(d.status))
|
|
@@ -10449,17 +10449,17 @@ const Js = (t, n) => {
|
|
|
10449
10449
|
const v = d.data;
|
|
10450
10450
|
return qs(v) ? a.hasNextPage = d.data.hasNextPage : Ws(v) && (a.totalCount = v.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
|
|
10451
10451
|
}
|
|
10452
|
-
return p(new
|
|
10453
|
-
}).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new
|
|
10452
|
+
return p(new Ve());
|
|
10453
|
+
}).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
|
|
10454
10454
|
}), Zs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
|
|
10455
|
-
t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new
|
|
10456
|
-
}),
|
|
10457
|
-
t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new
|
|
10455
|
+
t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
|
|
10456
|
+
}), Kh = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
|
|
10457
|
+
t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
|
|
10458
10458
|
});
|
|
10459
|
-
function
|
|
10459
|
+
function Gh() {
|
|
10460
10460
|
return {
|
|
10461
10461
|
isAnzuFatalError: Pr,
|
|
10462
|
-
isAnzuApiForbiddenError:
|
|
10462
|
+
isAnzuApiForbiddenError: Fr,
|
|
10463
10463
|
isAnzuApiValidationError: Er,
|
|
10464
10464
|
isAnzuApiResponseCodeError: Nr
|
|
10465
10465
|
};
|
|
@@ -10467,7 +10467,7 @@ function Kh() {
|
|
|
10467
10467
|
const En = "/adm/v1/job", Nn = "job";
|
|
10468
10468
|
function Zh(t, n) {
|
|
10469
10469
|
return {
|
|
10470
|
-
fetchJobList: (l, f) =>
|
|
10470
|
+
fetchJobList: (l, f) => Gs(t, En, {}, l, f, n, Nn),
|
|
10471
10471
|
fetchJob: (l) => Zs(t, En + "/:id", { id: l }, n, Nn),
|
|
10472
10472
|
createJob: (l) => {
|
|
10473
10473
|
const f = Zo(l._resourceName).slice(4);
|
|
@@ -10478,7 +10478,7 @@ function Zh(t, n) {
|
|
|
10478
10478
|
}
|
|
10479
10479
|
const Qh = "jobUserDataDelete";
|
|
10480
10480
|
function Xh(t = []) {
|
|
10481
|
-
const { t: n } =
|
|
10481
|
+
const { t: n } = K(), e = J([
|
|
10482
10482
|
{
|
|
10483
10483
|
value: "jobUserDataDelete",
|
|
10484
10484
|
title: n("common.job.jobResource.jobUserDataDelete")
|
|
@@ -10594,7 +10594,7 @@ const eg = (t, n) => {
|
|
|
10594
10594
|
recordWas: wu,
|
|
10595
10595
|
idWasCopied: ku,
|
|
10596
10596
|
textWasCopied: Cu
|
|
10597
|
-
}, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter",
|
|
10597
|
+
}, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Vu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", Bu = "Download", ju = "Upload", Ru = {
|
|
10598
10598
|
create: Du,
|
|
10599
10599
|
createAndClose: _u,
|
|
10600
10600
|
save: Mu,
|
|
@@ -10604,16 +10604,16 @@ const eg = (t, n) => {
|
|
|
10604
10604
|
detail: $u,
|
|
10605
10605
|
submitFilter: Ou,
|
|
10606
10606
|
resetFilter: Pu,
|
|
10607
|
-
advancedFilters:
|
|
10608
|
-
cancel:
|
|
10607
|
+
advancedFilters: Vu,
|
|
10608
|
+
cancel: Iu,
|
|
10609
10609
|
delete: "Delete",
|
|
10610
|
-
id:
|
|
10610
|
+
id: Fu,
|
|
10611
10611
|
now: Eu,
|
|
10612
10612
|
confirm: Nu,
|
|
10613
10613
|
copyId: Lu,
|
|
10614
|
-
add:
|
|
10615
|
-
download:
|
|
10616
|
-
upload:
|
|
10614
|
+
add: zu,
|
|
10615
|
+
download: Bu,
|
|
10616
|
+
upload: ju
|
|
10617
10617
|
}, Uu = "System", Yu = "Not selected", Hu = {
|
|
10618
10618
|
true: "Yes",
|
|
10619
10619
|
false: "No"
|
|
@@ -10632,7 +10632,7 @@ const eg = (t, n) => {
|
|
|
10632
10632
|
boolean: Hu,
|
|
10633
10633
|
tracking: Ju,
|
|
10634
10634
|
filterPlaceholder: Wu
|
|
10635
|
-
},
|
|
10635
|
+
}, Ku = "version", Gu = "New version of admin is available. For proper functioning, latest version is required.", Zu = "Reload new version", Qu = {
|
|
10636
10636
|
light: "Light",
|
|
10637
10637
|
dark: "Dark",
|
|
10638
10638
|
auto: "Auto"
|
|
@@ -10676,8 +10676,8 @@ const eg = (t, n) => {
|
|
|
10676
10676
|
text: "You don't have access to this page",
|
|
10677
10677
|
backButton: "Return to login"
|
|
10678
10678
|
}, ld = {
|
|
10679
|
-
version:
|
|
10680
|
-
newVersionText:
|
|
10679
|
+
version: Ku,
|
|
10680
|
+
newVersionText: Gu,
|
|
10681
10681
|
newVersionReload: Zu,
|
|
10682
10682
|
theme: Qu,
|
|
10683
10683
|
datatable: Xu,
|
|
@@ -10824,25 +10824,25 @@ const eg = (t, n) => {
|
|
|
10824
10824
|
model: Sd,
|
|
10825
10825
|
filter: $d,
|
|
10826
10826
|
button: Od
|
|
10827
|
-
},
|
|
10828
|
-
noTranslation:
|
|
10829
|
-
error_id_mismatch:
|
|
10830
|
-
error_field_empty:
|
|
10827
|
+
}, Vd = "Invalid", Id = "todo trans error_id_mismatch", Fd = "todo trans error_field_empty", Ed = "todo trans error_field_length_min", Nd = "todo trans error_field_length_max", Ld = "todo trans error_field_invalid", zd = "todo trans error_field_not_unique", Bd = "todo trans error_field_value_not_found", jd = "todo trans error_field_range_min", Rd = "todo trans error_field_range_max", Ud = "todo trans error_field_regex", Yd = "todo trans error_field_url", Hd = "todo trans error_already_exists", Jd = {
|
|
10828
|
+
noTranslation: Vd,
|
|
10829
|
+
error_id_mismatch: Id,
|
|
10830
|
+
error_field_empty: Fd,
|
|
10831
10831
|
error_field_length_min: Ed,
|
|
10832
10832
|
error_field_length_max: Nd,
|
|
10833
10833
|
error_field_invalid: Ld,
|
|
10834
|
-
error_field_not_unique:
|
|
10835
|
-
error_field_value_not_found:
|
|
10836
|
-
error_field_range_min:
|
|
10834
|
+
error_field_not_unique: zd,
|
|
10835
|
+
error_field_value_not_found: Bd,
|
|
10836
|
+
error_field_range_min: jd,
|
|
10837
10837
|
error_field_range_max: Rd,
|
|
10838
10838
|
error_field_regex: Ud,
|
|
10839
10839
|
error_field_url: Yd,
|
|
10840
10840
|
error_already_exists: Hd
|
|
10841
|
-
}, Wd = "Required.", qd = "todo translate between numeric values {min} and {max}",
|
|
10841
|
+
}, Wd = "Required.", qd = "todo translate between numeric values {min} and {max}", Kd = "Minimal length is {min}.", Gd = "Maximal length is {max}.", Zd = "todo translate maxValue {max}", Qd = "todo translate minValue {min}", Xd = "Incorrect email format", ec = "Incorrect url format", tc = "todo translate numeric", nc = "todo translate slug", ac = "Item length in list must have between {min} and {max} characters.", rc = {
|
|
10842
10842
|
required: Wd,
|
|
10843
10843
|
between: qd,
|
|
10844
|
-
minLength:
|
|
10845
|
-
maxLength:
|
|
10844
|
+
minLength: Kd,
|
|
10845
|
+
maxLength: Gd,
|
|
10846
10846
|
maxValue: Zd,
|
|
10847
10847
|
minValue: Qd,
|
|
10848
10848
|
email: Xd,
|
|
@@ -10876,15 +10876,15 @@ const eg = (t, n) => {
|
|
|
10876
10876
|
...rc
|
|
10877
10877
|
}
|
|
10878
10878
|
}
|
|
10879
|
-
}, lc = "
|
|
10880
|
-
created: "
|
|
10881
|
-
updated: "
|
|
10882
|
-
deleted: "
|
|
10883
|
-
published: "
|
|
10884
|
-
unpublished: "
|
|
10885
|
-
enabled: "
|
|
10886
|
-
disabled: "
|
|
10887
|
-
}, mc = "ID
|
|
10879
|
+
}, lc = "Systémová chyba. Skúste neskôr alebo kontaktujte administrátora.", sc = "Prístup zamietnutý. Na vykonanie danej akcie nemáte oprávnenie.", uc = "Vyplňte všetky povinné polia a opravte chyby.", dc = "Opravne tieto chyby.", cc = "Zakázaná akcia.", fc = {
|
|
10880
|
+
created: "Záznam bol vytvorený.",
|
|
10881
|
+
updated: "Záznam bol upravený.",
|
|
10882
|
+
deleted: "Záznam bol odstránený.",
|
|
10883
|
+
published: "Záznam bol publikovaný.",
|
|
10884
|
+
unpublished: "Záznam bol stiahnutý.",
|
|
10885
|
+
enabled: "Záznam bol povolený.",
|
|
10886
|
+
disabled: "Záznam bol zakázaný."
|
|
10887
|
+
}, mc = "ID bolo skopírované do schránky.", pc = "Text bol skopírovaný do schránky", hc = {
|
|
10888
10888
|
unknownError: lc,
|
|
10889
10889
|
forbiddenError: sc,
|
|
10890
10890
|
fixValidationErrors: uc,
|
|
@@ -10893,7 +10893,7 @@ const eg = (t, n) => {
|
|
|
10893
10893
|
recordWas: fc,
|
|
10894
10894
|
idWasCopied: mc,
|
|
10895
10895
|
textWasCopied: pc
|
|
10896
|
-
}, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "
|
|
10896
|
+
}, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "Viac filtrov", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Kopírovať ID", Oc = "Pridať", Pc = "Stiahnuť", Vc = "Nahratie", Ic = {
|
|
10897
10897
|
create: gc,
|
|
10898
10898
|
createAndClose: vc,
|
|
10899
10899
|
save: yc,
|
|
@@ -10912,35 +10912,35 @@ const eg = (t, n) => {
|
|
|
10912
10912
|
copyId: $c,
|
|
10913
10913
|
add: Oc,
|
|
10914
10914
|
download: Pc,
|
|
10915
|
-
Upload:
|
|
10916
|
-
},
|
|
10915
|
+
Upload: Vc
|
|
10916
|
+
}, Fc = "Systém", Ec = "Nevybrané", Nc = {
|
|
10917
10917
|
true: "áno",
|
|
10918
10918
|
false: "nie"
|
|
10919
10919
|
}, Lc = {
|
|
10920
|
-
createdAt: "
|
|
10921
|
-
modifiedAt: "
|
|
10922
|
-
created: "
|
|
10923
|
-
modified: "
|
|
10924
|
-
},
|
|
10920
|
+
createdAt: "Vytvorené",
|
|
10921
|
+
modifiedAt: "Upravené",
|
|
10922
|
+
created: "Vytvorené",
|
|
10923
|
+
modified: "Upravené"
|
|
10924
|
+
}, zc = {
|
|
10925
10925
|
eq: "Presný výraz",
|
|
10926
10926
|
contains: "Kdekoľvek vo výraze",
|
|
10927
10927
|
startsWith: "Začiatok výrazu"
|
|
10928
|
-
},
|
|
10929
|
-
system:
|
|
10928
|
+
}, Bc = {
|
|
10929
|
+
system: Fc,
|
|
10930
10930
|
notSelected: Ec,
|
|
10931
10931
|
boolean: Nc,
|
|
10932
10932
|
tracking: Lc,
|
|
10933
|
-
filterPlaceholder:
|
|
10934
|
-
},
|
|
10933
|
+
filterPlaceholder: zc
|
|
10934
|
+
}, jc = "Verzia", Rc = "K dispozícii je nová verzia administrácie. Pre správne fungovanie je potrebné vykonať aktulizáciu.", Uc = "Načítať novú verziu.", Yc = {
|
|
10935
10935
|
light: "Svetlá",
|
|
10936
10936
|
dark: "Tmavá",
|
|
10937
10937
|
auto: "Automatická"
|
|
10938
10938
|
}, Hc = {
|
|
10939
|
-
config: "
|
|
10940
|
-
displayCols: "
|
|
10941
|
-
itemsPerPage: "
|
|
10942
|
-
from: "
|
|
10943
|
-
noDataText: "
|
|
10939
|
+
config: "Konfigurácia tabuľky",
|
|
10940
|
+
displayCols: "Zobrazené stĺpce",
|
|
10941
|
+
itemsPerPage: "Záznamov na stránke",
|
|
10942
|
+
from: "od",
|
|
10943
|
+
noDataText: "Žiadne záznamy pre zobrazenie",
|
|
10944
10944
|
ordering: {
|
|
10945
10945
|
title: "Radenie",
|
|
10946
10946
|
mostRelevant: "Najrelevantnejšie",
|
|
@@ -10948,34 +10948,34 @@ const eg = (t, n) => {
|
|
|
10948
10948
|
oldest: "Najstaršie"
|
|
10949
10949
|
}
|
|
10950
10950
|
}, Jc = {
|
|
10951
|
-
confirmDelete: "
|
|
10952
|
-
hide: "
|
|
10953
|
-
show: "
|
|
10951
|
+
confirmDelete: "Odstrániť?",
|
|
10952
|
+
hide: "Skryť",
|
|
10953
|
+
show: "Zobraziť"
|
|
10954
10954
|
}, Wc = {
|
|
10955
10955
|
button: "Aplikácie"
|
|
10956
10956
|
}, qc = {
|
|
10957
10957
|
button: "Účet",
|
|
10958
10958
|
logout: "Odhlásenie",
|
|
10959
|
-
logoutText: "Skutočne chcete odhlásiť?",
|
|
10959
|
+
logoutText: "Skutočne sa chcete odhlásiť?",
|
|
10960
10960
|
logoutConfirm: "Odhlásiť",
|
|
10961
10961
|
settings: "Nastavenia"
|
|
10962
|
-
},
|
|
10962
|
+
}, Kc = {
|
|
10963
10963
|
detail: "Detail",
|
|
10964
10964
|
edit: "Úprava",
|
|
10965
10965
|
create: "Vytvorenie"
|
|
10966
|
-
},
|
|
10966
|
+
}, Gc = {
|
|
10967
10967
|
text: "Prosím, prihláste sa",
|
|
10968
10968
|
button: "Prihlásiť sa"
|
|
10969
10969
|
}, Zc = {
|
|
10970
|
-
title: "Ups, 404",
|
|
10971
|
-
text: "Táto stránka neexistuje",
|
|
10970
|
+
title: "Ups, nastala chyba 404",
|
|
10971
|
+
text: "Táto stránka neexistuje. Pokiaľ by mala, kontaktujte administrátora.",
|
|
10972
10972
|
backButton: "Vráť ma na úvodnú stránku"
|
|
10973
10973
|
}, Qc = {
|
|
10974
|
-
title: "Ups, 401",
|
|
10975
|
-
text: "Na túto stránku nemáte prístup",
|
|
10974
|
+
title: "Ups, nastala chyba 401",
|
|
10975
|
+
text: "Na túto stránku nemáte prístup. Pokiaľ máte mať k tejto stránke prístup, kontaktujte administrátora.",
|
|
10976
10976
|
backButton: "Vráť ma na prihlásenie"
|
|
10977
10977
|
}, Xc = {
|
|
10978
|
-
version:
|
|
10978
|
+
version: jc,
|
|
10979
10979
|
newVersionText: Rc,
|
|
10980
10980
|
newVersionReload: Uc,
|
|
10981
10981
|
theme: Yc,
|
|
@@ -10983,22 +10983,22 @@ const eg = (t, n) => {
|
|
|
10983
10983
|
modal: Jc,
|
|
10984
10984
|
adminSwitcher: Wc,
|
|
10985
10985
|
currentUser: qc,
|
|
10986
|
-
breadcrumb:
|
|
10987
|
-
login:
|
|
10986
|
+
breadcrumb: Kc,
|
|
10987
|
+
login: Gc,
|
|
10988
10988
|
notFound: Zc,
|
|
10989
10989
|
unauthorized: Qc
|
|
10990
10990
|
}, ef = {
|
|
10991
|
-
detail: "Anzu
|
|
10992
|
-
list: "Anzu
|
|
10993
|
-
edit: "Anzu
|
|
10994
|
-
create: "Anzu
|
|
10991
|
+
detail: "Detail Anzu používateľa",
|
|
10992
|
+
list: "Zoznam Anzu používateľov",
|
|
10993
|
+
edit: "Úprava Anzu používateľa",
|
|
10994
|
+
create: "Vytvorenie Anzu používateľa"
|
|
10995
10995
|
}, tf = {
|
|
10996
10996
|
id: "ID",
|
|
10997
|
-
enabled: "
|
|
10997
|
+
enabled: "Povolený",
|
|
10998
10998
|
email: "Email",
|
|
10999
|
-
roles: "
|
|
11000
|
-
permissionGroups: "
|
|
11001
|
-
permissions: "
|
|
10999
|
+
roles: "Role",
|
|
11000
|
+
permissionGroups: "Skupiny oprávnení",
|
|
11001
|
+
permissions: "Oprávnenia",
|
|
11002
11002
|
person: {
|
|
11003
11003
|
firstName: "Meno",
|
|
11004
11004
|
lastName: "Priezvisko",
|
|
@@ -11010,13 +11010,13 @@ const eg = (t, n) => {
|
|
|
11010
11010
|
}
|
|
11011
11011
|
}, nf = {
|
|
11012
11012
|
id: "ID",
|
|
11013
|
-
enabled: "
|
|
11013
|
+
enabled: "Povolený",
|
|
11014
11014
|
email: "Email"
|
|
11015
11015
|
}, af = {
|
|
11016
|
-
grants: "
|
|
11017
|
-
permissions: "
|
|
11018
|
-
resolvedPermissions: "
|
|
11019
|
-
noPermissions: "
|
|
11016
|
+
grants: "Akcie",
|
|
11017
|
+
permissions: "Oprávnenia",
|
|
11018
|
+
resolvedPermissions: "Výsledné oprávnenie",
|
|
11019
|
+
noPermissions: "Žiadne oprávnenia"
|
|
11020
11020
|
}, rf = {
|
|
11021
11021
|
meta: ef,
|
|
11022
11022
|
model: tf,
|
|
@@ -11024,9 +11024,9 @@ const eg = (t, n) => {
|
|
|
11024
11024
|
table: af
|
|
11025
11025
|
}, of = {
|
|
11026
11026
|
id: "Id",
|
|
11027
|
-
status: "
|
|
11028
|
-
startedAtFrom: "
|
|
11029
|
-
startedAtUntil: "
|
|
11027
|
+
status: "Stav",
|
|
11028
|
+
startedAtFrom: "Začiatok",
|
|
11029
|
+
startedAtUntil: "Ukončenie"
|
|
11030
11030
|
}, lf = {
|
|
11031
11031
|
id: "Id",
|
|
11032
11032
|
_resourceName: "Typ",
|
|
@@ -11053,34 +11053,34 @@ const eg = (t, n) => {
|
|
|
11053
11053
|
button: uf,
|
|
11054
11054
|
status: df
|
|
11055
11055
|
}, ff = {
|
|
11056
|
-
detail: "
|
|
11057
|
-
list: "
|
|
11058
|
-
}, mf = "
|
|
11059
|
-
system: "
|
|
11060
|
-
type: "
|
|
11061
|
-
levelName: "
|
|
11056
|
+
detail: "Detail logu",
|
|
11057
|
+
list: "ZOznam logov"
|
|
11058
|
+
}, mf = "Systém", pf = {
|
|
11059
|
+
system: "Systém",
|
|
11060
|
+
type: "Typ",
|
|
11061
|
+
levelName: "Úroveň",
|
|
11062
11062
|
id: "ID",
|
|
11063
|
-
contextId: "
|
|
11064
|
-
userId: "
|
|
11065
|
-
datetimeFrom: "
|
|
11066
|
-
datetimeTo: "
|
|
11067
|
-
message: "
|
|
11068
|
-
appVersion: "
|
|
11063
|
+
contextId: "Kontextové ID",
|
|
11064
|
+
userId: "ID používateľa",
|
|
11065
|
+
datetimeFrom: "Dátum od",
|
|
11066
|
+
datetimeTo: "Dátum do",
|
|
11067
|
+
message: "Správa",
|
|
11068
|
+
appVersion: "Verzia"
|
|
11069
11069
|
}, hf = {
|
|
11070
11070
|
id: "ID",
|
|
11071
|
-
datetime: "
|
|
11072
|
-
levelName: "
|
|
11073
|
-
message: "
|
|
11071
|
+
datetime: "Dátum",
|
|
11072
|
+
levelName: "Úroveň",
|
|
11073
|
+
message: "Správa",
|
|
11074
11074
|
context: {
|
|
11075
|
-
appVersion: "
|
|
11076
|
-
requestOriginAppVersion: "
|
|
11077
|
-
contextId: "
|
|
11078
|
-
userId: "
|
|
11075
|
+
appVersion: "Verzia",
|
|
11076
|
+
requestOriginAppVersion: "Originálna verzia",
|
|
11077
|
+
contextId: "Kontextové ID",
|
|
11078
|
+
userId: "ID používateľa",
|
|
11079
11079
|
ip: "IP",
|
|
11080
|
-
content: "
|
|
11081
|
-
response: "
|
|
11080
|
+
content: "Obsah požiadavky",
|
|
11081
|
+
response: "Obsah odpovede",
|
|
11082
11082
|
path: "URL",
|
|
11083
|
-
httpStatus: "
|
|
11083
|
+
httpStatus: "Kód stavu"
|
|
11084
11084
|
}
|
|
11085
11085
|
}, gf = {
|
|
11086
11086
|
meta: ff,
|
|
@@ -11104,68 +11104,68 @@ const eg = (t, n) => {
|
|
|
11104
11104
|
grant: yf,
|
|
11105
11105
|
grantOrigin: bf
|
|
11106
11106
|
}, kf = {
|
|
11107
|
-
detail: "
|
|
11108
|
-
list: "
|
|
11109
|
-
create: "
|
|
11110
|
-
edit: "
|
|
11107
|
+
detail: "Detail skupiny oprávnení",
|
|
11108
|
+
list: "Zoznam skupín oprávnení",
|
|
11109
|
+
create: "Vytvorenie skupiny oprávnení",
|
|
11110
|
+
edit: "Úprava skupiny oprávnení"
|
|
11111
11111
|
}, Cf = {
|
|
11112
11112
|
id: "ID",
|
|
11113
|
-
title: "
|
|
11114
|
-
description: "
|
|
11115
|
-
permissions: "
|
|
11113
|
+
title: "Nadpis",
|
|
11114
|
+
description: "Popis",
|
|
11115
|
+
permissions: "Oprávnenia"
|
|
11116
11116
|
}, Af = {
|
|
11117
11117
|
id: "ID",
|
|
11118
|
-
title: "
|
|
11118
|
+
title: "Nadpis"
|
|
11119
11119
|
}, Df = {
|
|
11120
|
-
deleteConfirm: "
|
|
11120
|
+
deleteConfirm: "Skupina povolení bude natrvalo odstránená zo systému. Chcete pokračovať?"
|
|
11121
11121
|
}, _f = {
|
|
11122
11122
|
meta: kf,
|
|
11123
11123
|
model: Cf,
|
|
11124
11124
|
filter: Af,
|
|
11125
11125
|
button: Df
|
|
11126
|
-
}, Mf = "
|
|
11127
|
-
noResultsText: "
|
|
11128
|
-
loadingText: "
|
|
11126
|
+
}, Mf = "Štítok", xf = "Zatvoriť", Tf = {
|
|
11127
|
+
noResultsText: "Nenašli sa žiadne zodpovedajúce záznamy",
|
|
11128
|
+
loadingText: "Načítavanie záznamov ..."
|
|
11129
11129
|
}, Sf = {
|
|
11130
|
-
itemsPerPageText: "
|
|
11130
|
+
itemsPerPageText: "Riadkov na stránku:",
|
|
11131
11131
|
ariaLabel: {
|
|
11132
|
-
sortDescending: "
|
|
11133
|
-
sortAscending: "
|
|
11134
|
-
sortNone: "
|
|
11135
|
-
activateNone: "
|
|
11136
|
-
activateDescending: "
|
|
11137
|
-
activateAscending: "
|
|
11138
|
-
},
|
|
11139
|
-
sortBy: "
|
|
11132
|
+
sortDescending: "Zoradiť zostupne.",
|
|
11133
|
+
sortAscending: "Zoradiť vzostupne.",
|
|
11134
|
+
sortNone: "Bez zoradenia.",
|
|
11135
|
+
activateNone: "Prestať radiť.",
|
|
11136
|
+
activateDescending: "Aktivovať zostupné radenie.",
|
|
11137
|
+
activateAscending: "Aktivovať vzostupné radenie"
|
|
11138
|
+
},
|
|
11139
|
+
sortBy: "Radiť"
|
|
11140
11140
|
}, $f = {
|
|
11141
|
-
itemsPerPageText: "
|
|
11142
|
-
itemsPerPageAll: "
|
|
11143
|
-
nextPage: "
|
|
11144
|
-
prevPage: "
|
|
11145
|
-
firstPage: "
|
|
11146
|
-
lastPage: "
|
|
11147
|
-
pageText: "{0}-{1}
|
|
11141
|
+
itemsPerPageText: "Záznamov na stránku:",
|
|
11142
|
+
itemsPerPageAll: "Všetky",
|
|
11143
|
+
nextPage: "Ďalšia strana",
|
|
11144
|
+
prevPage: "Predchádzajúca strana",
|
|
11145
|
+
firstPage: "Prvá strana",
|
|
11146
|
+
lastPage: "Posledná strana",
|
|
11147
|
+
pageText: "{0}-{1} z {2}"
|
|
11148
11148
|
}, Of = {
|
|
11149
|
-
itemsSelected: "{0}
|
|
11150
|
-
nextMonthAriaLabel: "
|
|
11151
|
-
nextYearAriaLabel: "
|
|
11152
|
-
prevMonthAriaLabel: "
|
|
11153
|
-
prevYearAriaLabel: "
|
|
11154
|
-
}, Pf = "
|
|
11155
|
-
prev: "
|
|
11156
|
-
next: "
|
|
11149
|
+
itemsSelected: "{0} vybraných",
|
|
11150
|
+
nextMonthAriaLabel: "Ďalší mesiac",
|
|
11151
|
+
nextYearAriaLabel: "Ďalší rok",
|
|
11152
|
+
prevMonthAriaLabel: "Predchádzajúci mesiac",
|
|
11153
|
+
prevYearAriaLabel: "Predchádzajúci rok"
|
|
11154
|
+
}, Pf = "Žiadne dostupné dáta", Vf = {
|
|
11155
|
+
prev: "Predchádzajúci krok",
|
|
11156
|
+
next: "Nasledujúci krok",
|
|
11157
11157
|
ariaLabel: {
|
|
11158
|
-
delimiter: "
|
|
11158
|
+
delimiter: "Krok {0} z {1}"
|
|
11159
11159
|
}
|
|
11160
|
+
}, If = {
|
|
11161
|
+
moreEvents: "{0} viac"
|
|
11160
11162
|
}, Ff = {
|
|
11161
|
-
|
|
11162
|
-
}
|
|
11163
|
-
|
|
11164
|
-
prependAction: "{0} prepended action",
|
|
11165
|
-
appendAction: "{0} appended action"
|
|
11163
|
+
clear: "Vymazať {0}",
|
|
11164
|
+
prependAction: "{0} akcií pred",
|
|
11165
|
+
appendAction: "{0} nasledovných akcií"
|
|
11166
11166
|
}, Ef = {
|
|
11167
|
-
counter: "{0}
|
|
11168
|
-
counterSize: "{0}
|
|
11167
|
+
counter: "{0} súborov",
|
|
11168
|
+
counterSize: "{0} súborov ({1} spolu)"
|
|
11169
11169
|
}, Nf = {
|
|
11170
11170
|
am: "AM",
|
|
11171
11171
|
pm: "PM"
|
|
@@ -11174,16 +11174,16 @@ const eg = (t, n) => {
|
|
|
11174
11174
|
root: "Navigácia stránkovania",
|
|
11175
11175
|
next: "Ďalšia stránka",
|
|
11176
11176
|
previous: "Predchádzajúca stránka",
|
|
11177
|
-
page: "
|
|
11178
|
-
currentPage: "
|
|
11179
|
-
first: "
|
|
11180
|
-
last: "
|
|
11177
|
+
page: "Ísť na stránku {0}",
|
|
11178
|
+
currentPage: "Stránka {0}, Aktuálna stránka",
|
|
11179
|
+
first: "Prvá stránka",
|
|
11180
|
+
last: "Posledná stránka"
|
|
11181
11181
|
}
|
|
11182
|
-
},
|
|
11182
|
+
}, zf = {
|
|
11183
11183
|
ariaLabel: {
|
|
11184
|
-
item: "
|
|
11184
|
+
item: "Hodnotenie {0} z {1}"
|
|
11185
11185
|
}
|
|
11186
|
-
},
|
|
11186
|
+
}, Bf = {
|
|
11187
11187
|
badge: Mf,
|
|
11188
11188
|
close: xf,
|
|
11189
11189
|
dataIterator: Tf,
|
|
@@ -11191,15 +11191,15 @@ const eg = (t, n) => {
|
|
|
11191
11191
|
dataFooter: $f,
|
|
11192
11192
|
datePicker: Of,
|
|
11193
11193
|
noDataText: Pf,
|
|
11194
|
-
carousel:
|
|
11195
|
-
calendar:
|
|
11196
|
-
input:
|
|
11194
|
+
carousel: Vf,
|
|
11195
|
+
calendar: If,
|
|
11196
|
+
input: Ff,
|
|
11197
11197
|
fileInput: Ef,
|
|
11198
11198
|
timePicker: Nf,
|
|
11199
11199
|
pagination: Lf,
|
|
11200
|
-
rating:
|
|
11201
|
-
},
|
|
11202
|
-
noTranslation:
|
|
11200
|
+
rating: zf
|
|
11201
|
+
}, jf = "Nevalidné.", Rf = "Nesúlad ID pri upravovaní objektu (MismatchID chyba). V prípade potreby kontaktuje administrátora.", Uf = "Povinné pole je prázdne.", Yf = "Nedodržaná minimálna dĺžka poľa.", Hf = "Nedodržaná maximálna dĺžka poľa.", Jf = "Nevalidné pole.", Wf = "Pole musí byť unikátne.", qf = "Hodnota v poli nebola nájdená.", Kf = "Hodnota musí byť vyššia", Gf = "Hodnota musí byť nižšia.", Zf = "Nesprávny formát.", Qf = "URL je v nesprávnom tvare.", Xf = "Daná položka už existuje.", em = {
|
|
11202
|
+
noTranslation: jf,
|
|
11203
11203
|
error_id_mismatch: Rf,
|
|
11204
11204
|
error_field_empty: Uf,
|
|
11205
11205
|
error_field_length_min: Yf,
|
|
@@ -11207,20 +11207,20 @@ const eg = (t, n) => {
|
|
|
11207
11207
|
error_field_invalid: Jf,
|
|
11208
11208
|
error_field_not_unique: Wf,
|
|
11209
11209
|
error_field_value_not_found: qf,
|
|
11210
|
-
error_field_range_min:
|
|
11211
|
-
error_field_range_max:
|
|
11210
|
+
error_field_range_min: Kf,
|
|
11211
|
+
error_field_range_max: Gf,
|
|
11212
11212
|
error_field_regex: Zf,
|
|
11213
11213
|
error_field_url: Qf,
|
|
11214
11214
|
error_already_exists: Xf
|
|
11215
|
-
}, tm = "
|
|
11215
|
+
}, tm = "Nastala neznáma chyba. V prípade potreby kontaktujte administrátora.", nm = {
|
|
11216
11216
|
noTranslation: tm
|
|
11217
|
-
}, am = "
|
|
11217
|
+
}, am = "Povinná hodnota.", rm = "Hodnota musí byť medzi {min} a {max}.", om = "Minimálny počet znakov je {min}.", im = "Maximálny počet znakov je {max}.", lm = "Minimálna hodnota je {min}.", sm = "Maximálna hodnota je {max}.", um = "Nesprávny formát emailu.", dm = "Nesprávny formát URL.", cm = "Musia byť zadané iba čísla.", fm = "Povolené znaky pre slug sú a-z, - a 0-9.", mm = "Dĺžka znakov každej položky musí byť medzi {min} a {max} znakov.", pm = {
|
|
11218
11218
|
required: am,
|
|
11219
11219
|
between: rm,
|
|
11220
11220
|
minLength: om,
|
|
11221
11221
|
maxLength: im,
|
|
11222
|
-
|
|
11223
|
-
|
|
11222
|
+
minValue: lm,
|
|
11223
|
+
maxValue: sm,
|
|
11224
11224
|
email: um,
|
|
11225
11225
|
url: dm,
|
|
11226
11226
|
numeric: cm,
|
|
@@ -11229,8 +11229,8 @@ const eg = (t, n) => {
|
|
|
11229
11229
|
}, og = {
|
|
11230
11230
|
common: {
|
|
11231
11231
|
alert: hc,
|
|
11232
|
-
button:
|
|
11233
|
-
model:
|
|
11232
|
+
button: Ic,
|
|
11233
|
+
model: Bc,
|
|
11234
11234
|
system: Xc,
|
|
11235
11235
|
anzuUser: rf,
|
|
11236
11236
|
job: cf,
|
|
@@ -11238,7 +11238,7 @@ const eg = (t, n) => {
|
|
|
11238
11238
|
permission: wf,
|
|
11239
11239
|
permissionGroup: _f
|
|
11240
11240
|
},
|
|
11241
|
-
$vuetify:
|
|
11241
|
+
$vuetify: Bf,
|
|
11242
11242
|
error: {
|
|
11243
11243
|
apiValidation: {
|
|
11244
11244
|
...em
|
|
@@ -11253,66 +11253,66 @@ const eg = (t, n) => {
|
|
|
11253
11253
|
};
|
|
11254
11254
|
const { t: hm } = le.global;
|
|
11255
11255
|
function gm() {
|
|
11256
|
-
return
|
|
11256
|
+
return Ge({ t: hm })(xo, {
|
|
11257
11257
|
withArguments: !0,
|
|
11258
11258
|
messagePath: () => "error.jsValidation.between"
|
|
11259
11259
|
});
|
|
11260
11260
|
}
|
|
11261
11261
|
const { t: vm } = le.global;
|
|
11262
11262
|
function ym() {
|
|
11263
|
-
return
|
|
11263
|
+
return Ge({ t: vm })(To, {
|
|
11264
11264
|
messagePath: () => "error.jsValidation.email"
|
|
11265
11265
|
});
|
|
11266
11266
|
}
|
|
11267
11267
|
const { t: bm } = le.global;
|
|
11268
11268
|
function wm() {
|
|
11269
|
-
return
|
|
11269
|
+
return Ge({ t: bm })(So, {
|
|
11270
11270
|
withArguments: !0,
|
|
11271
11271
|
messagePath: () => "error.jsValidation.maxLength"
|
|
11272
11272
|
});
|
|
11273
11273
|
}
|
|
11274
11274
|
const { t: km } = le.global;
|
|
11275
11275
|
function Cm() {
|
|
11276
|
-
return
|
|
11276
|
+
return Ge({ t: km })($o, {
|
|
11277
11277
|
withArguments: !0,
|
|
11278
11278
|
messagePath: () => "error.jsValidation.maxValue"
|
|
11279
11279
|
});
|
|
11280
11280
|
}
|
|
11281
11281
|
const { t: Am } = le.global;
|
|
11282
11282
|
function Dm() {
|
|
11283
|
-
return
|
|
11283
|
+
return Ge({ t: Am })(Oo, {
|
|
11284
11284
|
withArguments: !0,
|
|
11285
11285
|
messagePath: () => "error.jsValidation.minLength"
|
|
11286
11286
|
});
|
|
11287
11287
|
}
|
|
11288
11288
|
const { t: _m } = le.global;
|
|
11289
11289
|
function Mm() {
|
|
11290
|
-
return
|
|
11290
|
+
return Ge({ t: _m })(Po, {
|
|
11291
11291
|
withArguments: !0,
|
|
11292
11292
|
messagePath: () => "error.jsValidation.minValue"
|
|
11293
11293
|
});
|
|
11294
11294
|
}
|
|
11295
11295
|
const { t: xm } = le.global;
|
|
11296
11296
|
function Tm() {
|
|
11297
|
-
return
|
|
11297
|
+
return Ge({ t: xm })(Vo, {
|
|
11298
11298
|
messagePath: () => "error.jsValidation.numeric"
|
|
11299
11299
|
});
|
|
11300
11300
|
}
|
|
11301
11301
|
const { t: Sm } = le.global;
|
|
11302
11302
|
function $m() {
|
|
11303
|
-
return
|
|
11303
|
+
return Ge({ t: Sm })(Io, {
|
|
11304
11304
|
messagePath: () => "error.jsValidation.required"
|
|
11305
11305
|
});
|
|
11306
11306
|
}
|
|
11307
11307
|
const { t: Om } = le.global;
|
|
11308
11308
|
function Pm() {
|
|
11309
|
-
return
|
|
11309
|
+
return Ge({ t: Om })(Tr.regex(/^[a-z\-0-9/]+$/), {
|
|
11310
11310
|
messagePath: () => "error.jsValidation.slug"
|
|
11311
11311
|
});
|
|
11312
11312
|
}
|
|
11313
|
-
const { t:
|
|
11314
|
-
function
|
|
11315
|
-
const t =
|
|
11313
|
+
const { t: Vm } = le.global;
|
|
11314
|
+
function Im() {
|
|
11315
|
+
const t = Ge({ t: Vm }), n = (a, r) => (o) => !Tr.req(o) || o.every((l) => l.length >= c(a) && l.length <= c(r));
|
|
11316
11316
|
return t((a, r) => ({
|
|
11317
11317
|
$validator: n(a, r),
|
|
11318
11318
|
// $message not required when using i18n
|
|
@@ -11330,9 +11330,9 @@ function Fm() {
|
|
|
11330
11330
|
messagePath: () => "error.jsValidation.stringArrayItemLength"
|
|
11331
11331
|
});
|
|
11332
11332
|
}
|
|
11333
|
-
const { t:
|
|
11333
|
+
const { t: Fm } = le.global;
|
|
11334
11334
|
function Em() {
|
|
11335
|
-
return
|
|
11335
|
+
return Ge({ t: Fm })(Fo, {
|
|
11336
11336
|
messagePath: () => "error.jsValidation.url"
|
|
11337
11337
|
});
|
|
11338
11338
|
}
|
|
@@ -11349,7 +11349,7 @@ function ig() {
|
|
|
11349
11349
|
numeric: Tm(),
|
|
11350
11350
|
slug: Pm(),
|
|
11351
11351
|
url: Em(),
|
|
11352
|
-
stringArrayItemLength:
|
|
11352
|
+
stringArrayItemLength: Im()
|
|
11353
11353
|
};
|
|
11354
11354
|
}
|
|
11355
11355
|
const Nm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Lm = {
|
|
@@ -11359,7 +11359,7 @@ const Nm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Lm = {
|
|
|
11359
11359
|
fixed: !1
|
|
11360
11360
|
};
|
|
11361
11361
|
function lg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
|
|
11362
|
-
const l =
|
|
11362
|
+
const l = Gn();
|
|
11363
11363
|
if (o)
|
|
11364
11364
|
for (const m of Object.keys(l))
|
|
11365
11365
|
m in o && (l[m] = o[m]);
|
|
@@ -11499,21 +11499,21 @@ const sg = () => ({
|
|
|
11499
11499
|
});
|
|
11500
11500
|
function ug(t, n, e, a = "id") {
|
|
11501
11501
|
const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), l = (...P) => {
|
|
11502
|
-
const
|
|
11502
|
+
const F = J(/* @__PURE__ */ new Set());
|
|
11503
11503
|
for (let R = 0; R < P.length; R++) {
|
|
11504
11504
|
const U = P[R];
|
|
11505
11505
|
if (!(ye(U) || S(U))) {
|
|
11506
11506
|
if (Ee(U)) {
|
|
11507
11507
|
for (let ae = 0; ae < U.length; ae++) {
|
|
11508
11508
|
const ee = U[ae];
|
|
11509
|
-
ye(ee) || S(ee) || r.value.has(ee) ||
|
|
11509
|
+
ye(ee) || S(ee) || r.value.has(ee) || F.value.add(ee);
|
|
11510
11510
|
}
|
|
11511
11511
|
continue;
|
|
11512
11512
|
}
|
|
11513
|
-
r.value.has(U) ||
|
|
11513
|
+
r.value.has(U) || F.value.add(U);
|
|
11514
11514
|
}
|
|
11515
11515
|
}
|
|
11516
|
-
|
|
11516
|
+
F.value.forEach((R) => {
|
|
11517
11517
|
r.value.set(R, { ...n(R), _loaded: !1 }), o.value.add(R);
|
|
11518
11518
|
});
|
|
11519
11519
|
}, f = (P) => {
|
|
@@ -11521,16 +11521,16 @@ function ug(t, n, e, a = "id") {
|
|
|
11521
11521
|
}, u = (P) => {
|
|
11522
11522
|
P[a] && r.value.set(P[a], { ...P, _loaded: !0 });
|
|
11523
11523
|
}, p = (P) => {
|
|
11524
|
-
for (let
|
|
11525
|
-
r.value.set(P[
|
|
11524
|
+
for (let F = 0; F < P.length; F += 1)
|
|
11525
|
+
r.value.set(P[F][a], { ...t(P[F]), _loaded: !0 });
|
|
11526
11526
|
}, m = (P) => {
|
|
11527
|
-
for (let
|
|
11528
|
-
o.value.delete(P[
|
|
11527
|
+
for (let F = 0; F < P.length; F += 1)
|
|
11528
|
+
o.value.delete(P[F]);
|
|
11529
11529
|
};
|
|
11530
11530
|
async function d() {
|
|
11531
11531
|
if (o.value.size > 0) {
|
|
11532
|
-
const P = Array.from(o.value),
|
|
11533
|
-
m(P), p(
|
|
11532
|
+
const P = Array.from(o.value), F = await e(P);
|
|
11533
|
+
m(P), p(F);
|
|
11534
11534
|
}
|
|
11535
11535
|
}
|
|
11536
11536
|
const v = Ao(
|
|
@@ -11557,8 +11557,8 @@ function ug(t, n, e, a = "id") {
|
|
|
11557
11557
|
isLoaded: (P) => {
|
|
11558
11558
|
if (!P)
|
|
11559
11559
|
return !1;
|
|
11560
|
-
const
|
|
11561
|
-
return
|
|
11560
|
+
const F = r.value.get(P);
|
|
11561
|
+
return F ? F._loaded : !1;
|
|
11562
11562
|
}
|
|
11563
11563
|
};
|
|
11564
11564
|
}
|
|
@@ -11602,21 +11602,21 @@ export {
|
|
|
11602
11602
|
_h as AActionEditButton,
|
|
11603
11603
|
Mh as AActionSaveAndCloseButton,
|
|
11604
11604
|
xh as AActionSaveButton,
|
|
11605
|
-
|
|
11605
|
+
jp as AAdminSwitcher,
|
|
11606
11606
|
wp as AAlerts,
|
|
11607
11607
|
hr as AAnzuUserAvatar,
|
|
11608
|
-
|
|
11608
|
+
Ih as AAvatarColorPicker,
|
|
11609
11609
|
bp as ABooleanValue,
|
|
11610
11610
|
vh as ACachedChip,
|
|
11611
11611
|
kp as ACard,
|
|
11612
11612
|
qo as ACardLoader,
|
|
11613
11613
|
wh as AChipNoLink,
|
|
11614
11614
|
bh as ACopyText,
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11615
|
+
Bp as ACreateDialog,
|
|
11616
|
+
Fh as ACurrentUserDropdown,
|
|
11617
|
+
Fp as ADatatableConfigButton,
|
|
11618
11618
|
Ep as ADatatableOrdering,
|
|
11619
|
-
|
|
11619
|
+
Ip as ADatatablePagination,
|
|
11620
11620
|
Rn as ADatetime,
|
|
11621
11621
|
$r as ADialogToolbar,
|
|
11622
11622
|
Rp as AEmptyRouterView,
|
|
@@ -11641,62 +11641,62 @@ export {
|
|
|
11641
11641
|
Op as AFormTextarea,
|
|
11642
11642
|
fh as AFormValueObjectOptionsSelect,
|
|
11643
11643
|
no as AIconGroup,
|
|
11644
|
-
|
|
11644
|
+
jh as AJobDetailCommon,
|
|
11645
11645
|
Ll as AJobStatusChip,
|
|
11646
11646
|
Ph as ALanguageSelect,
|
|
11647
11647
|
Np as ALogData,
|
|
11648
11648
|
yh as ALogLevelChip,
|
|
11649
11649
|
Nh as ALoginView,
|
|
11650
11650
|
Lh as ALogoutView,
|
|
11651
|
-
|
|
11651
|
+
Bh as ANotFoundView,
|
|
11652
11652
|
eh as APermissionGrantEditor,
|
|
11653
11653
|
th as APermissionValueChip,
|
|
11654
11654
|
tt as ARow,
|
|
11655
|
-
|
|
11656
|
-
|
|
11655
|
+
Vh as ASystemBar,
|
|
11656
|
+
Vp as ASystemEntityScope,
|
|
11657
11657
|
Th as ATableCopyIdButton,
|
|
11658
11658
|
Sh as ATableDetailButton,
|
|
11659
11659
|
$h as ATableEditButton,
|
|
11660
11660
|
Oh as AThemeSelect,
|
|
11661
|
-
|
|
11662
|
-
|
|
11661
|
+
Kp as ATimeTrackingFields,
|
|
11662
|
+
zh as AUnauthorizedView,
|
|
11663
11663
|
kh as AUserAndTimeTrackingFields,
|
|
11664
11664
|
cl as Acl,
|
|
11665
11665
|
mt as AnzuApiForbiddenError,
|
|
11666
11666
|
gt as AnzuApiForbiddenOperationError,
|
|
11667
11667
|
ht as AnzuApiResponseCodeError,
|
|
11668
11668
|
pt as AnzuApiValidationError,
|
|
11669
|
-
|
|
11669
|
+
Ve as AnzuFatalError,
|
|
11670
11670
|
oh as AnzuSystemsCommonAdmin,
|
|
11671
11671
|
Jr as AvailableLanguagesSymbol,
|
|
11672
11672
|
mr as COMMON_CONFIG,
|
|
11673
|
-
|
|
11674
|
-
|
|
11673
|
+
Br as DATETIME_MAX,
|
|
11674
|
+
zr as DATETIME_MIN,
|
|
11675
11675
|
Wr as DefaultLanguageSymbol,
|
|
11676
11676
|
Ln as Grant,
|
|
11677
11677
|
Rr as GrantOrigin,
|
|
11678
11678
|
Lp as HTTP_STATUS_BAD_REQUEST,
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
|
|
11679
|
+
Vi as HTTP_STATUS_CREATED,
|
|
11680
|
+
Ii as HTTP_STATUS_FORBIDDEN,
|
|
11681
|
+
Vr as HTTP_STATUS_NO_CONTENT,
|
|
11682
11682
|
Pi as HTTP_STATUS_OK,
|
|
11683
|
-
|
|
11684
|
-
|
|
11683
|
+
zp as HTTP_STATUS_UNAUTHORIZED,
|
|
11684
|
+
Ir as HTTP_STATUS_UNPROCESSABLE_ENTITY,
|
|
11685
11685
|
Qh as JOB_RESOURCE_USER_DATA_DELETE,
|
|
11686
11686
|
eo as JobStatus,
|
|
11687
|
-
|
|
11688
|
-
|
|
11687
|
+
jl as LogLevel,
|
|
11688
|
+
ji as NEW_LINE_MARK,
|
|
11689
11689
|
qr as ROLE_SUPER_ADMIN,
|
|
11690
11690
|
rt as SubjectScopeSymbol,
|
|
11691
11691
|
at as SystemScopeSymbol,
|
|
11692
|
-
|
|
11692
|
+
Kl as Theme,
|
|
11693
11693
|
Wh as apiAnyRequest,
|
|
11694
11694
|
Ys as apiCreateOne,
|
|
11695
11695
|
Hs as apiDeleteOne,
|
|
11696
11696
|
qh as apiFetchByIds,
|
|
11697
|
-
|
|
11697
|
+
Gs as apiFetchList,
|
|
11698
11698
|
Zs as apiFetchOne,
|
|
11699
|
-
|
|
11699
|
+
Kh as apiUpdateOne,
|
|
11700
11700
|
Qs as arrayFlatten,
|
|
11701
11701
|
ng as arrayFromArgs,
|
|
11702
11702
|
eg as arrayItemToggle,
|
|
@@ -11720,8 +11720,8 @@ export {
|
|
|
11720
11720
|
ug as defineCached,
|
|
11721
11721
|
st as eventClickBlur,
|
|
11722
11722
|
le as i18n,
|
|
11723
|
-
|
|
11724
|
-
|
|
11723
|
+
Fr as isAnzuApiForbiddenError,
|
|
11724
|
+
zi as isAnzuApiForbiddenOperationError,
|
|
11725
11725
|
Nr as isAnzuApiResponseCodeError,
|
|
11726
11726
|
Er as isAnzuApiValidationError,
|
|
11727
11727
|
Pr as isAnzuFatalError,
|
|
@@ -11731,7 +11731,7 @@ export {
|
|
|
11731
11731
|
ar as isDefined,
|
|
11732
11732
|
Cp as isDocId,
|
|
11733
11733
|
Dp as isEmpty,
|
|
11734
|
-
|
|
11734
|
+
Ko as isEmptyArray,
|
|
11735
11735
|
Sr as isEmptyObject,
|
|
11736
11736
|
Ap as isInt,
|
|
11737
11737
|
ye as isNull,
|
|
@@ -11742,7 +11742,7 @@ export {
|
|
|
11742
11742
|
S as isUndefined,
|
|
11743
11743
|
Tt as isValidHTTPStatus,
|
|
11744
11744
|
dg as loadCommonFonts,
|
|
11745
|
-
|
|
11745
|
+
Gp as makeFilterHelper,
|
|
11746
11746
|
rg as messagesEn,
|
|
11747
11747
|
og as messagesSk,
|
|
11748
11748
|
ts as modifyLanguageSettings,
|
|
@@ -11756,7 +11756,7 @@ export {
|
|
|
11756
11756
|
Sp as stringNormalizeForSlotName,
|
|
11757
11757
|
lt as stringSplitOnFirstOccurrence,
|
|
11758
11758
|
_p as stringToFloat,
|
|
11759
|
-
|
|
11759
|
+
Go as stringToInt,
|
|
11760
11760
|
Zo as stringToKebabCase,
|
|
11761
11761
|
Mp as stringToSlug,
|
|
11762
11762
|
xp as stringTrimLength,
|
|
@@ -11769,9 +11769,9 @@ export {
|
|
|
11769
11769
|
oo as useApiQueryBuilder,
|
|
11770
11770
|
cg as useCommonJobFactory,
|
|
11771
11771
|
sg as useCommonVuetifyConfig,
|
|
11772
|
-
|
|
11772
|
+
Gh as useErrors,
|
|
11773
11773
|
$a as useFilterHelpers,
|
|
11774
|
-
|
|
11774
|
+
jr as useGrant,
|
|
11775
11775
|
il as useGrantOrigin,
|
|
11776
11776
|
pg as useI18n,
|
|
11777
11777
|
Zh as useJobApi,
|
|
@@ -11779,7 +11779,7 @@ export {
|
|
|
11779
11779
|
Nl as useJobStatus,
|
|
11780
11780
|
ns as useLanguageSettings,
|
|
11781
11781
|
Rl as useLogLevel,
|
|
11782
|
-
|
|
11782
|
+
Gn as usePagination,
|
|
11783
11783
|
sh as usePaginationAutoHide,
|
|
11784
11784
|
Yh as usePermissionConfigFactory,
|
|
11785
11785
|
Hh as usePermissionGroupFactory,
|