@anzusystems/common-admin 0.0.62 → 0.0.63
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.js +650 -650
- package/dist/common-admin.es.js.map +1 -1
- package/package.json +1 -1
package/dist/common-admin.es.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
var go = Object.defineProperty;
|
|
2
2
|
var vo = (t, n, e) => n in t ? go(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as f, withCtx as v, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as
|
|
3
|
+
var Pn = (t, n, e) => (vo(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as f, withCtx as v, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Bt, normalizeClass as we, withModifiers as ne, withDirectives as xr, vShow as Sr, isProxy as yo, toRaw as bo, isRef as Ye, inject as ke, createSlots as on, Fragment as He, provide as ur, watch as Ve, renderList as Mt, ref as J, TransitionGroup as Tr, normalizeStyle as ya, resolveDynamicComponent as xa, onMounted as Kn, h as wo, nextTick as ko, withKeys as $r, reactive as Co, toRefs as Sa, shallowRef as dr, readonly as Lt, mergeProps as Ta, createStaticVNode as Or, setBlockTracking as cr, onBeforeUnmount as Ao } from "vue";
|
|
5
5
|
import { useI18n as K, createI18n as Do } from "vue-i18n";
|
|
6
6
|
import { useI18n as Og } from "vue-i18n";
|
|
7
7
|
import { VChip as ft } from "vuetify/lib/components/VChip/index.mjs";
|
|
8
|
-
import { VRow as
|
|
8
|
+
import { VRow as ba, VCol as Zt, VSpacer as nn } from "vuetify/lib/components/VGrid/index.mjs";
|
|
9
9
|
import { VAlert as _o } from "vuetify/lib/components/VAlert/index.mjs";
|
|
10
10
|
import { VIcon as me } from "vuetify/lib/components/VIcon/index.mjs";
|
|
11
|
-
import { VCard as at, VCardText as
|
|
12
|
-
import { VTextField as
|
|
11
|
+
import { VCard as at, VCardText as Vr, VCardActions as $a } from "vuetify/lib/components/VCard/index.mjs";
|
|
12
|
+
import { VTextField as Gn } from "vuetify/lib/components/VTextField/index.mjs";
|
|
13
13
|
import { VTextarea as Mo } from "vuetify/lib/components/VTextarea/index.mjs";
|
|
14
14
|
import { VBtn as oe } from "vuetify/lib/components/VBtn/index.mjs";
|
|
15
|
-
import { VBtnToggle as
|
|
16
|
-
import { VLabel as
|
|
17
|
-
import { VList as
|
|
18
|
-
import { VMenu as
|
|
15
|
+
import { VBtnToggle as Zn } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
16
|
+
import { VLabel as Pr } from "vuetify/lib/components/VLabel/index.mjs";
|
|
17
|
+
import { VList as ln, VListItem as Xe, VListItemTitle as an, VListItemSubtitle as xo } from "vuetify/lib/components/VList/index.mjs";
|
|
18
|
+
import { VMenu as xt } from "vuetify/lib/components/VMenu/index.mjs";
|
|
19
19
|
import { VTooltip as Fe } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
20
|
-
import { VToolbar as
|
|
21
|
-
import { useRouter as
|
|
22
|
-
import
|
|
23
|
-
import { VDialog as
|
|
24
|
-
import { useFetch as So, watchDebounced as
|
|
20
|
+
import { VToolbar as Ir, VToolbarTitle as Fr } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
21
|
+
import { useRouter as Oa } from "vue-router";
|
|
22
|
+
import Va from "axios";
|
|
23
|
+
import { VDialog as Pa } from "vuetify/lib/components/VDialog/index.mjs";
|
|
24
|
+
import { useFetch as So, watchDebounced as Ia, useClipboard as Er, useStorage as Nr, useIntervalFn as To, useDebounceFn as $o } from "@vueuse/core";
|
|
25
25
|
import { VExpandTransition as Oo } from "vuetify/lib/components/transitions/index.mjs";
|
|
26
26
|
import Vo from "@vuelidate/core";
|
|
27
|
-
import { createI18nMessage as Ze, requiredIf as Po, between as Io, email as Fo, maxLength as Eo, maxValue as No, minLength as Lo, minValue as zo, numeric as jo, required as Bo, helpers as
|
|
28
|
-
import { VAutocomplete as
|
|
27
|
+
import { createI18nMessage as Ze, requiredIf as Po, between as Io, email as Fo, maxLength as Eo, maxValue as No, minLength as Lo, minValue as zo, numeric as jo, required as Bo, helpers as Lr, url as Ro } from "@vuelidate/validators";
|
|
28
|
+
import { VAutocomplete as sn } from "vuetify/lib/components/VAutocomplete/index.mjs";
|
|
29
29
|
import { VCheckboxBtn as Uo } from "vuetify/lib/components/VCheckbox/index.mjs";
|
|
30
30
|
import { VSwitch as Yo } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
31
31
|
import { VSelect as Ho } from "vuetify/lib/components/VSelect/index.mjs";
|
|
32
|
-
import { VProgressCircular as
|
|
33
|
-
import { VAvatar as
|
|
32
|
+
import { VProgressCircular as oa } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
33
|
+
import { VAvatar as wa } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
34
34
|
import { VAppBar as Jo } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
35
35
|
import { VColorPicker as Wo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
36
36
|
import { VDivider as qo } from "vuetify/lib/components/VDivider/index.mjs";
|
|
37
|
-
import { VBtn as
|
|
37
|
+
import { VBtn as In, VChip as Ko } from "vuetify/components";
|
|
38
38
|
const Go = { key: 1 }, $p = /* @__PURE__ */ L({
|
|
39
39
|
__name: "ABooleanValue",
|
|
40
40
|
props: {
|
|
@@ -68,9 +68,9 @@ const Go = { key: 1 }, $p = /* @__PURE__ */ L({
|
|
|
68
68
|
titleClass: { default: "text-subtitle-2" }
|
|
69
69
|
},
|
|
70
70
|
setup(t) {
|
|
71
|
-
return (n, e) => (w(), E(
|
|
71
|
+
return (n, e) => (w(), E(ba, null, {
|
|
72
72
|
default: v(() => [
|
|
73
|
-
b(
|
|
73
|
+
b(Zt, null, {
|
|
74
74
|
default: v(() => [
|
|
75
75
|
t.title.length ? (w(), H("h4", Zo, $(t.title), 1)) : Z("", !0),
|
|
76
76
|
_e(n.$slots, "default", {}, () => [
|
|
@@ -94,7 +94,7 @@ const Go = { key: 1 }, $p = /* @__PURE__ */ L({
|
|
|
94
94
|
},
|
|
95
95
|
setup(t) {
|
|
96
96
|
return (n, e) => {
|
|
97
|
-
const a =
|
|
97
|
+
const a = Bt("Notifications");
|
|
98
98
|
return w(), E(a, {
|
|
99
99
|
max: t.max,
|
|
100
100
|
group: t.group,
|
|
@@ -134,8 +134,8 @@ const Go = { key: 1 }, $p = /* @__PURE__ */ L({
|
|
|
134
134
|
loading: { type: Boolean, default: void 0 }
|
|
135
135
|
},
|
|
136
136
|
setup(t) {
|
|
137
|
-
return (n, e) =>
|
|
138
|
-
[
|
|
137
|
+
return (n, e) => xr((w(), H("div", ei, null, 512)), [
|
|
138
|
+
[Sr, t.loading]
|
|
139
139
|
]);
|
|
140
140
|
}
|
|
141
141
|
});
|
|
@@ -159,10 +159,10 @@ const Vp = /* @__PURE__ */ L({
|
|
|
159
159
|
_: 3
|
|
160
160
|
}, 8, ["title", "loading"]));
|
|
161
161
|
}
|
|
162
|
-
}), T = (t) => typeof t > "u",
|
|
162
|
+
}), T = (t) => typeof t > "u", fr = (t) => !T(t), he = (t) => t === null, Fa = (t) => typeof t == "number", ct = (t) => typeof t == "string", Ne = (t) => Array.isArray(t), mr = (t) => typeof t == "boolean", Pp = (t) => ct(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), Ip = (t) => {
|
|
163
163
|
const n = parseFloat(t);
|
|
164
164
|
return !isNaN(t) && (n | 0) === n;
|
|
165
|
-
},
|
|
165
|
+
}, Qn = (t) => typeof t == "object" && !Ne(t) && !he(t), zr = (t) => Qn(t) ? Object.keys(t).length === 0 : !1, ni = (t) => Ne(t) && t.length === 0, Fp = (t) => he(t) || T(t) || t === "" || t === 0 || ni(t) || zr(t), mt = (t) => {
|
|
166
166
|
if (typeof structuredClone == "function")
|
|
167
167
|
try {
|
|
168
168
|
return yo(t) ? structuredClone(bo(t)) : Ye(t) ? structuredClone(f(t)) : structuredClone(t);
|
|
@@ -254,7 +254,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
254
254
|
var d, g;
|
|
255
255
|
return T(e.required) ? !!((d = e.v) != null && d.required && ((g = e.v) == null ? void 0 : g.required.$params.type) === "required") : e.required;
|
|
256
256
|
});
|
|
257
|
-
return (d, g) => (w(), E(
|
|
257
|
+
return (d, g) => (w(), E(Gn, {
|
|
258
258
|
"prepend-icon": t.prependIcon,
|
|
259
259
|
"data-cy": t.dataCy,
|
|
260
260
|
"error-messages": f(u),
|
|
@@ -268,7 +268,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
268
268
|
"onClick:append": g[0] || (g[0] = (k) => n("click:append", k)),
|
|
269
269
|
onBlur: c,
|
|
270
270
|
"onUpdate:modelValue": g[1] || (g[1] = (k) => l(k))
|
|
271
|
-
},
|
|
271
|
+
}, on({ _: 2 }, [
|
|
272
272
|
t.hideLabel ? void 0 : {
|
|
273
273
|
name: "label",
|
|
274
274
|
fn: v(() => [
|
|
@@ -331,7 +331,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
331
331
|
"onClick:append": g[0] || (g[0] = (k) => n("click:append", k)),
|
|
332
332
|
onBlur: c,
|
|
333
333
|
"onUpdate:modelValue": g[1] || (g[1] = (k) => l(k))
|
|
334
|
-
},
|
|
334
|
+
}, on({ _: 2 }, [
|
|
335
335
|
t.hideLabel ? void 0 : {
|
|
336
336
|
name: "label",
|
|
337
337
|
fn: v(() => [
|
|
@@ -376,7 +376,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
376
376
|
return T(e.required) ? !!((p = e.v) != null && p.required && ((m = e.v) == null ? void 0 : m.required.$params.type) === "required") : e.required;
|
|
377
377
|
});
|
|
378
378
|
return (p, m) => (w(), H(He, null, [
|
|
379
|
-
t.label ? (w(), E(
|
|
379
|
+
t.label ? (w(), E(Pr, {
|
|
380
380
|
key: 0,
|
|
381
381
|
class: "pr-1"
|
|
382
382
|
}, {
|
|
@@ -386,7 +386,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
386
386
|
]),
|
|
387
387
|
_: 1
|
|
388
388
|
})) : Z("", !0),
|
|
389
|
-
b(
|
|
389
|
+
b(Zn, {
|
|
390
390
|
modelValue: f(o),
|
|
391
391
|
"onUpdate:modelValue": m[0] || (m[0] = (d) => Ye(o) ? o.value = d : null),
|
|
392
392
|
mandatory: f(u)
|
|
@@ -423,7 +423,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
423
423
|
},
|
|
424
424
|
setup(t) {
|
|
425
425
|
const n = t;
|
|
426
|
-
return
|
|
426
|
+
return ur(rt, n.system), ur(ot, n.subject), (e, a) => _e(e.$slots, "default");
|
|
427
427
|
}
|
|
428
428
|
}), ui = { class: "anzu-data-footer" }, di = {
|
|
429
429
|
key: 0,
|
|
@@ -464,7 +464,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
464
464
|
return (F, R) => (w(), H("div", ui, [
|
|
465
465
|
t.hideRecordsPerPage ? Z("", !0) : (w(), H("div", di, [
|
|
466
466
|
z($(f(r)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
467
|
-
b(
|
|
467
|
+
b(Zn, {
|
|
468
468
|
modelValue: f(a).rowsPerPage,
|
|
469
469
|
"onUpdate:modelValue": R[0] || (R[0] = (U) => f(a).rowsPerPage = U),
|
|
470
470
|
class: "ml-2",
|
|
@@ -473,7 +473,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
473
473
|
"data-cy": "table-size"
|
|
474
474
|
}, {
|
|
475
475
|
default: v(() => [
|
|
476
|
-
(w(!0), H(He, null,
|
|
476
|
+
(w(!0), H(He, null, Mt(t.itemsPerPageOptions, (U) => (w(), E(oe, {
|
|
477
477
|
key: U,
|
|
478
478
|
color: U === f(a).rowsPerPage ? "secondary" : "",
|
|
479
479
|
value: U,
|
|
@@ -567,15 +567,15 @@ const Jp = /* @__PURE__ */ L({
|
|
|
567
567
|
]),
|
|
568
568
|
_: 1
|
|
569
569
|
}),
|
|
570
|
-
b(
|
|
570
|
+
b(xt, { activator: "parent" }, {
|
|
571
571
|
default: v(() => [
|
|
572
572
|
b(at, null, {
|
|
573
573
|
default: v(() => [
|
|
574
|
-
b(
|
|
574
|
+
b(ln, { density: "compact" }, {
|
|
575
575
|
default: v(() => [
|
|
576
576
|
b(Xe, null, {
|
|
577
577
|
default: v(() => [
|
|
578
|
-
b(
|
|
578
|
+
b(an, null, {
|
|
579
579
|
default: v(() => [
|
|
580
580
|
te("strong", null, $(f(a)("common.system.datatable.displayCols")), 1)
|
|
581
581
|
]),
|
|
@@ -584,12 +584,12 @@ const Jp = /* @__PURE__ */ L({
|
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
}),
|
|
587
|
-
(w(!0), H(He, null,
|
|
587
|
+
(w(!0), H(He, null, Mt(t.columnsAll, (u) => (w(), E(Xe, {
|
|
588
588
|
key: u.key,
|
|
589
589
|
onClick: ne((p) => o(u.key), ["stop"])
|
|
590
590
|
}, {
|
|
591
591
|
default: v(() => [
|
|
592
|
-
b(
|
|
592
|
+
b(an, null, {
|
|
593
593
|
default: v(() => [
|
|
594
594
|
r(u.key) ? (w(), E(me, {
|
|
595
595
|
key: 0,
|
|
@@ -674,23 +674,23 @@ const Jp = /* @__PURE__ */ L({
|
|
|
674
674
|
}, {
|
|
675
675
|
default: v(() => [
|
|
676
676
|
z($(f(u)) + " ", 1),
|
|
677
|
-
b(
|
|
677
|
+
b(xt, {
|
|
678
678
|
activator: "parent",
|
|
679
679
|
location: "bottom",
|
|
680
680
|
"close-on-content-click": ""
|
|
681
681
|
}, {
|
|
682
682
|
default: v(() => [
|
|
683
|
-
b(
|
|
683
|
+
b(ln, {
|
|
684
684
|
density: "compact",
|
|
685
685
|
class: "pa-0"
|
|
686
686
|
}, {
|
|
687
687
|
default: v(() => [
|
|
688
|
-
(w(!0), H(He, null,
|
|
688
|
+
(w(!0), H(He, null, Mt(f(p), (k) => (w(), E(Xe, {
|
|
689
689
|
key: k.id,
|
|
690
690
|
onClick: (I) => m(k)
|
|
691
691
|
}, {
|
|
692
692
|
default: v(() => [
|
|
693
|
-
b(
|
|
693
|
+
b(an, {
|
|
694
694
|
class: we({ "font-weight-bold": k.id === r.value })
|
|
695
695
|
}, {
|
|
696
696
|
default: v(() => [
|
|
@@ -712,25 +712,25 @@ const Jp = /* @__PURE__ */ L({
|
|
|
712
712
|
})
|
|
713
713
|
]));
|
|
714
714
|
}
|
|
715
|
-
}),
|
|
715
|
+
}), jr = /* @__PURE__ */ L({
|
|
716
716
|
__name: "ADialogToolbar",
|
|
717
717
|
emits: ["onCancel"],
|
|
718
718
|
setup(t, { emit: n }) {
|
|
719
719
|
const e = () => {
|
|
720
720
|
n("onCancel");
|
|
721
721
|
};
|
|
722
|
-
return (a, r) => (w(), E(
|
|
722
|
+
return (a, r) => (w(), E(Ir, {
|
|
723
723
|
density: "compact",
|
|
724
724
|
color: "transparent"
|
|
725
725
|
}, {
|
|
726
726
|
default: v(() => [
|
|
727
|
-
b(
|
|
727
|
+
b(Fr, { class: "flex-fill" }, {
|
|
728
728
|
default: v(() => [
|
|
729
729
|
_e(a.$slots, "default")
|
|
730
730
|
]),
|
|
731
731
|
_: 3
|
|
732
732
|
}),
|
|
733
|
-
b(
|
|
733
|
+
b(nn),
|
|
734
734
|
b(oe, {
|
|
735
735
|
class: "ml-2",
|
|
736
736
|
icon: "mdi-close",
|
|
@@ -775,14 +775,14 @@ function vi(t) {
|
|
|
775
775
|
});
|
|
776
776
|
} };
|
|
777
777
|
}
|
|
778
|
-
const
|
|
778
|
+
const Un = vi(), Br = /* @__PURE__ */ new Map(), pr = {
|
|
779
779
|
x: ["left", "center", "right"],
|
|
780
780
|
y: ["top", "bottom"]
|
|
781
781
|
}, yi = ((t) => () => t++)(0), bi = (t) => typeof t != "string" ? [] : t.split(/\s+/gi).filter((n) => n), wi = (t) => {
|
|
782
782
|
typeof t == "string" && (t = bi(t));
|
|
783
783
|
let n = null, e = null;
|
|
784
784
|
return t.forEach((a) => {
|
|
785
|
-
|
|
785
|
+
pr.y.indexOf(a) !== -1 && (e = a), pr.x.indexOf(a) !== -1 && (n = a);
|
|
786
786
|
}), { x: n, y: e };
|
|
787
787
|
};
|
|
788
788
|
class ki {
|
|
@@ -796,7 +796,7 @@ class ki {
|
|
|
796
796
|
this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
|
-
const
|
|
799
|
+
const ia = {
|
|
800
800
|
position: ["top", "right"],
|
|
801
801
|
cssAnimation: "vn-fade",
|
|
802
802
|
velocityAnimation: {
|
|
@@ -823,14 +823,14 @@ const oa = {
|
|
|
823
823
|
this.$emit("after-leave");
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
}),
|
|
826
|
+
}), Ea = (t, n) => {
|
|
827
827
|
const e = t.__vccOpts || t;
|
|
828
828
|
for (const [a, r] of n)
|
|
829
829
|
e[a] = r;
|
|
830
830
|
return e;
|
|
831
831
|
};
|
|
832
832
|
function Ai(t, n, e, a, r, o) {
|
|
833
|
-
return w(), E(
|
|
833
|
+
return w(), E(Tr, {
|
|
834
834
|
tag: "span",
|
|
835
835
|
css: !1,
|
|
836
836
|
onEnter: t.enter,
|
|
@@ -843,7 +843,7 @@ function Ai(t, n, e, a, r, o) {
|
|
|
843
843
|
_: 3
|
|
844
844
|
}, 8, ["onEnter", "onLeave", "onAfterLeave"]);
|
|
845
845
|
}
|
|
846
|
-
const Di = /* @__PURE__ */
|
|
846
|
+
const Di = /* @__PURE__ */ Ea(Ci, [["render", Ai]]), _i = L({
|
|
847
847
|
name: "css-group",
|
|
848
848
|
inheritAttrs: !1,
|
|
849
849
|
props: {
|
|
@@ -851,7 +851,7 @@ const Di = /* @__PURE__ */ Fa(Ci, [["render", Ai]]), _i = L({
|
|
|
851
851
|
}
|
|
852
852
|
});
|
|
853
853
|
function Mi(t, n, e, a, r, o) {
|
|
854
|
-
return w(), E(
|
|
854
|
+
return w(), E(Tr, {
|
|
855
855
|
tag: "span",
|
|
856
856
|
name: t.name
|
|
857
857
|
}, {
|
|
@@ -861,14 +861,14 @@ function Mi(t, n, e, a, r, o) {
|
|
|
861
861
|
_: 3
|
|
862
862
|
}, 8, ["name"]);
|
|
863
863
|
}
|
|
864
|
-
const xi = /* @__PURE__ */
|
|
864
|
+
const xi = /* @__PURE__ */ Ea(_i, [["render", Mi]]), la = "[-+]?[0-9]*.?[0-9]+", hr = [
|
|
865
865
|
{
|
|
866
866
|
name: "px",
|
|
867
|
-
regexp: new RegExp(`^${
|
|
867
|
+
regexp: new RegExp(`^${la}px$`)
|
|
868
868
|
},
|
|
869
869
|
{
|
|
870
870
|
name: "%",
|
|
871
|
-
regexp: new RegExp(`^${
|
|
871
|
+
regexp: new RegExp(`^${la}%$`)
|
|
872
872
|
},
|
|
873
873
|
/**
|
|
874
874
|
* Fallback option
|
|
@@ -876,7 +876,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
876
876
|
*/
|
|
877
877
|
{
|
|
878
878
|
name: "px",
|
|
879
|
-
regexp: new RegExp(`^${
|
|
879
|
+
regexp: new RegExp(`^${la}$`)
|
|
880
880
|
}
|
|
881
881
|
], Si = (t) => {
|
|
882
882
|
if (t === "auto")
|
|
@@ -884,8 +884,8 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
884
884
|
type: t,
|
|
885
885
|
value: 0
|
|
886
886
|
};
|
|
887
|
-
for (let n = 0; n <
|
|
888
|
-
const e =
|
|
887
|
+
for (let n = 0; n < hr.length; n++) {
|
|
888
|
+
const e = hr[n];
|
|
889
889
|
if (e.regexp.test(t))
|
|
890
890
|
return {
|
|
891
891
|
type: e.name,
|
|
@@ -905,7 +905,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
905
905
|
default:
|
|
906
906
|
return { type: "", value: t };
|
|
907
907
|
}
|
|
908
|
-
},
|
|
908
|
+
}, Fn = {
|
|
909
909
|
IDLE: 0,
|
|
910
910
|
DESTROYED: 2
|
|
911
911
|
}, $i = L({
|
|
@@ -929,7 +929,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
929
929
|
},
|
|
930
930
|
position: {
|
|
931
931
|
type: [String, Array],
|
|
932
|
-
default:
|
|
932
|
+
default: ia.position
|
|
933
933
|
},
|
|
934
934
|
classes: {
|
|
935
935
|
type: String,
|
|
@@ -941,11 +941,11 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
941
941
|
},
|
|
942
942
|
animation: {
|
|
943
943
|
type: Object,
|
|
944
|
-
default:
|
|
944
|
+
default: ia.velocityAnimation
|
|
945
945
|
},
|
|
946
946
|
animationName: {
|
|
947
947
|
type: String,
|
|
948
|
-
default:
|
|
948
|
+
default: ia.cssAnimation
|
|
949
949
|
},
|
|
950
950
|
speed: {
|
|
951
951
|
type: Number,
|
|
@@ -985,7 +985,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
985
985
|
data() {
|
|
986
986
|
return {
|
|
987
987
|
list: [],
|
|
988
|
-
velocity:
|
|
988
|
+
velocity: Br.get("velocity"),
|
|
989
989
|
timerControl: null
|
|
990
990
|
};
|
|
991
991
|
},
|
|
@@ -1006,14 +1006,14 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[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 !== Fn.DESTROYED);
|
|
1010
1010
|
},
|
|
1011
1011
|
botToTop() {
|
|
1012
1012
|
return this.styles.hasOwnProperty("bottom");
|
|
1013
1013
|
}
|
|
1014
1014
|
},
|
|
1015
1015
|
mounted() {
|
|
1016
|
-
|
|
1016
|
+
Un.on("add", this.addItem), Un.on("close", this.closeItem);
|
|
1017
1017
|
},
|
|
1018
1018
|
methods: {
|
|
1019
1019
|
destroyIfNecessary(t) {
|
|
@@ -1039,7 +1039,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1039
1039
|
title: r,
|
|
1040
1040
|
text: o,
|
|
1041
1041
|
type: l,
|
|
1042
|
-
state:
|
|
1042
|
+
state: Fn.IDLE,
|
|
1043
1043
|
speed: e,
|
|
1044
1044
|
length: n + 2 * e,
|
|
1045
1045
|
data: c
|
|
@@ -1064,7 +1064,7 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[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 = Fn.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,26 +1097,26 @@ const xi = /* @__PURE__ */ Fa(_i, [["render", Mi]]), ia = "[-+]?[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 !== Fn.DESTROYED);
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
}), Oi = ["data-id"], Vi = ["onClick"], Pi = ["innerHTML"], Ii = ["innerHTML"];
|
|
1104
1104
|
function Fi(t, n, e, a, r, o) {
|
|
1105
1105
|
return w(), H("div", {
|
|
1106
1106
|
class: "vue-notification-group",
|
|
1107
|
-
style:
|
|
1107
|
+
style: ya(t.styles)
|
|
1108
1108
|
}, [
|
|
1109
|
-
(w(), E(
|
|
1109
|
+
(w(), E(xa(t.componentName), {
|
|
1110
1110
|
name: t.animationName,
|
|
1111
1111
|
onEnter: t.enter,
|
|
1112
1112
|
onLeave: t.leave,
|
|
1113
1113
|
onAfterLeave: t.clean
|
|
1114
1114
|
}, {
|
|
1115
1115
|
default: v(() => [
|
|
1116
|
-
(w(!0), H(He, null,
|
|
1116
|
+
(w(!0), H(He, null, Mt(t.active, (l) => (w(), H("div", {
|
|
1117
1117
|
key: l.id,
|
|
1118
1118
|
class: "vue-notification-wrapper",
|
|
1119
|
-
style:
|
|
1119
|
+
style: ya(t.notifyWrapperStyle(l)),
|
|
1120
1120
|
"data-id": l.id,
|
|
1121
1121
|
onMouseenter: n[0] || (n[0] = (...c) => t.pauseTimeout && t.pauseTimeout(...c)),
|
|
1122
1122
|
onMouseleave: n[1] || (n[1] = (...c) => t.resumeTimeout && t.resumeTimeout(...c))
|
|
@@ -1147,14 +1147,14 @@ function Fi(t, n, e, a, r, o) {
|
|
|
1147
1147
|
}, 40, ["name", "onEnter", "onLeave", "onAfterLeave"]))
|
|
1148
1148
|
], 4);
|
|
1149
1149
|
}
|
|
1150
|
-
const Ei = /* @__PURE__ */
|
|
1151
|
-
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" &&
|
|
1150
|
+
const Ei = /* @__PURE__ */ Ea($i, [["render", Fi]]), Ke = (t) => {
|
|
1151
|
+
typeof t == "string" && (t = { title: "", text: t }), typeof t == "object" && Un.emit("add", t);
|
|
1152
1152
|
};
|
|
1153
1153
|
Ke.close = (t) => {
|
|
1154
|
-
|
|
1154
|
+
Un.emit("close", t);
|
|
1155
1155
|
};
|
|
1156
1156
|
function Ni(t, n = {}) {
|
|
1157
|
-
Object.entries(n).forEach((a) =>
|
|
1157
|
+
Object.entries(n).forEach((a) => Br.set(...a));
|
|
1158
1158
|
const e = n.name || "notify";
|
|
1159
1159
|
t.config.globalProperties["$" + e] = Ke, t.component(n.componentName || "Notifications", Ei);
|
|
1160
1160
|
}
|
|
@@ -1172,33 +1172,33 @@ const Li = {
|
|
|
1172
1172
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
1173
1173
|
}
|
|
1174
1174
|
})();
|
|
1175
|
-
const
|
|
1175
|
+
const gr = ["en", "sk"], le = Do({
|
|
1176
1176
|
globalInjection: !1,
|
|
1177
1177
|
legacy: !1,
|
|
1178
|
-
locale:
|
|
1178
|
+
locale: gr[0],
|
|
1179
1179
|
fallbackLocale: !1,
|
|
1180
1180
|
missing: (t, n) => {
|
|
1181
|
-
|
|
1181
|
+
gr.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
|
|
1182
1182
|
}
|
|
1183
|
-
}),
|
|
1183
|
+
}), Rr = (t) => t instanceof Ie;
|
|
1184
1184
|
class Ie 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 zi = 200, ji = 201,
|
|
1189
|
+
const zi = 200, ji = 201, pt = 204, Kp = 400, Gp = 401, Bi = 403, Ur = 422, Ri = [zi, ji, pt], St = (t) => {
|
|
1190
1190
|
var n;
|
|
1191
|
-
return
|
|
1192
|
-
}, Yr = (t) => t instanceof
|
|
1193
|
-
class
|
|
1191
|
+
return Va.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Bi;
|
|
1192
|
+
}, Yr = (t) => t instanceof ht;
|
|
1193
|
+
class ht extends Error {
|
|
1194
1194
|
constructor(n, e = "") {
|
|
1195
1195
|
super(e), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = e;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
const Ui = "validation_failed",
|
|
1198
|
+
const Ui = "validation_failed", Tt = (t) => {
|
|
1199
1199
|
var n, e, a;
|
|
1200
|
-
return
|
|
1201
|
-
}, Hr = (t) => t instanceof
|
|
1200
|
+
return Va.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ur && ((e = t.response.data) == null ? void 0 : e.error) === Ui && ((a = t.response.data) == null ? void 0 : a.fields);
|
|
1201
|
+
}, Hr = (t) => t instanceof gt;
|
|
1202
1202
|
function Yi(t, n, e) {
|
|
1203
1203
|
var o;
|
|
1204
1204
|
const a = (o = t.response) == null ? void 0 : o.data, r = [];
|
|
@@ -1209,39 +1209,39 @@ function Yi(t, n, e) {
|
|
|
1209
1209
|
});
|
|
1210
1210
|
return r;
|
|
1211
1211
|
}
|
|
1212
|
-
class
|
|
1212
|
+
class gt extends Error {
|
|
1213
1213
|
constructor(e, a, r, o, l = "") {
|
|
1214
1214
|
super(l);
|
|
1215
|
-
|
|
1215
|
+
Pn(this, "fields");
|
|
1216
1216
|
this.name = "AnzuApiValidationError", this.cause = o, this.message = l, this.fields = Yi(e, a, r);
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
|
-
const Jr = (t) => t instanceof
|
|
1220
|
-
class
|
|
1219
|
+
const Jr = (t) => t instanceof vt;
|
|
1220
|
+
class vt extends Error {
|
|
1221
1221
|
constructor(e, a, r) {
|
|
1222
1222
|
super(r);
|
|
1223
|
-
|
|
1223
|
+
Pn(this, "code");
|
|
1224
1224
|
this.name = "AnzuApiResponseCodeError", this.cause = a, this.code = e;
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
|
-
const Hi = "forbidden_operation_error",
|
|
1227
|
+
const Hi = "forbidden_operation_error", $t = (t) => {
|
|
1228
1228
|
var n, e, a;
|
|
1229
|
-
return
|
|
1230
|
-
}, Ji = (t) => t instanceof
|
|
1229
|
+
return Va.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ur && ((e = t.response.data) == null ? void 0 : e.error) === Hi && ((a = t.response.data) == null ? void 0 : a.detail);
|
|
1230
|
+
}, Ji = (t) => t instanceof yt;
|
|
1231
1231
|
function Wi(t) {
|
|
1232
1232
|
var e;
|
|
1233
1233
|
return ((e = t.response) == null ? void 0 : e.data).detail;
|
|
1234
1234
|
}
|
|
1235
|
-
class
|
|
1235
|
+
class yt extends Error {
|
|
1236
1236
|
constructor(e, a, r = "") {
|
|
1237
1237
|
super(r);
|
|
1238
|
-
|
|
1238
|
+
Pn(this, "detail");
|
|
1239
1239
|
this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = r, this.detail = Wi(e);
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
1242
|
const Qe = 3, qi = `
|
|
1243
1243
|
`;
|
|
1244
|
-
function
|
|
1244
|
+
function Na() {
|
|
1245
1245
|
const t = (y, O = Qe) => {
|
|
1246
1246
|
Ke({
|
|
1247
1247
|
group: "alerts",
|
|
@@ -1360,7 +1360,7 @@ function Ea() {
|
|
|
1360
1360
|
showApiForbiddenOperationError: d,
|
|
1361
1361
|
showUnknownError: g,
|
|
1362
1362
|
showForbiddenError: k,
|
|
1363
|
-
showErrorsDefault: (y) => Yr(y) ? (k(), !0) : Hr(y) ? (m(y.fields), !0) : Ji(y) ? (d(y.detail), !0) :
|
|
1363
|
+
showErrorsDefault: (y) => Yr(y) ? (k(), !0) : Hr(y) ? (m(y.fields), !0) : Ji(y) ? (d(y.detail), !0) : Rr(y) || Jr(y) ? (g(), !0) : !1
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
1366
|
const Zp = /* @__PURE__ */ L({
|
|
@@ -1382,7 +1382,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1382
1382
|
n("update:modelValue", !0), n("onOpen");
|
|
1383
1383
|
}, l = () => {
|
|
1384
1384
|
n("update:modelValue", !1), n("onClose");
|
|
1385
|
-
}, c =
|
|
1385
|
+
}, c = Oa(), { showValidationError: u, showRecordWas: p, showErrorsDefault: m } = Na(), d = async () => {
|
|
1386
1386
|
var g;
|
|
1387
1387
|
n("onConfirm");
|
|
1388
1388
|
try {
|
|
@@ -1402,7 +1402,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1402
1402
|
}
|
|
1403
1403
|
};
|
|
1404
1404
|
return (g, k) => {
|
|
1405
|
-
const I =
|
|
1405
|
+
const I = Bt("ABtnTertiary"), y = Bt("ABtnPrimary");
|
|
1406
1406
|
return w(), E(y, {
|
|
1407
1407
|
class: we(t.buttonClass),
|
|
1408
1408
|
rounded: "pill",
|
|
@@ -1413,7 +1413,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1413
1413
|
_e(g.$slots, "button-title", {}, () => [
|
|
1414
1414
|
z($(f(a)("common.button.create")), 1)
|
|
1415
1415
|
]),
|
|
1416
|
-
b(
|
|
1416
|
+
b(Pa, {
|
|
1417
1417
|
"model-value": t.modelValue,
|
|
1418
1418
|
"max-width": t.maxWidth,
|
|
1419
1419
|
persistent: "",
|
|
@@ -1425,7 +1425,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1425
1425
|
"data-cy": "create-panel"
|
|
1426
1426
|
}, {
|
|
1427
1427
|
default: v(() => [
|
|
1428
|
-
b(
|
|
1428
|
+
b(jr, { onOnCancel: l }, {
|
|
1429
1429
|
default: v(() => [
|
|
1430
1430
|
_e(g.$slots, "title", {}, () => [
|
|
1431
1431
|
z($(f(a)("common.button.create")), 1)
|
|
@@ -1433,15 +1433,15 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1433
1433
|
]),
|
|
1434
1434
|
_: 3
|
|
1435
1435
|
}),
|
|
1436
|
-
b(
|
|
1436
|
+
b(Vr, null, {
|
|
1437
1437
|
default: v(() => [
|
|
1438
1438
|
_e(g.$slots, "content")
|
|
1439
1439
|
]),
|
|
1440
1440
|
_: 3
|
|
1441
1441
|
}),
|
|
1442
|
-
b(
|
|
1442
|
+
b($a, null, {
|
|
1443
1443
|
default: v(() => [
|
|
1444
|
-
b(
|
|
1444
|
+
b(nn),
|
|
1445
1445
|
b(I, {
|
|
1446
1446
|
"data-cy": "button-cancel",
|
|
1447
1447
|
onClick: ne(l, ["stop"])
|
|
@@ -1484,7 +1484,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1484
1484
|
},
|
|
1485
1485
|
setup(t) {
|
|
1486
1486
|
const n = t, { t: e } = K(), a = J([]);
|
|
1487
|
-
return
|
|
1487
|
+
return Kn(async () => {
|
|
1488
1488
|
if (n.configUrl && n.configUrl.length > 0)
|
|
1489
1489
|
try {
|
|
1490
1490
|
const { data: r } = await So(n.configUrl).get().json();
|
|
@@ -1508,12 +1508,12 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1508
1508
|
]),
|
|
1509
1509
|
_: 1
|
|
1510
1510
|
}),
|
|
1511
|
-
b(
|
|
1511
|
+
b(xt, { activator: "parent" }, {
|
|
1512
1512
|
default: v(() => [
|
|
1513
1513
|
b(at, null, {
|
|
1514
1514
|
default: v(() => [
|
|
1515
1515
|
te("div", Ki, [
|
|
1516
|
-
(w(!0), H(He, null,
|
|
1516
|
+
(w(!0), H(He, null, Mt(a.value, (l) => (w(), H("a", {
|
|
1517
1517
|
key: l.id,
|
|
1518
1518
|
href: l.url,
|
|
1519
1519
|
rel: "noopener noreferrer",
|
|
@@ -1538,33 +1538,33 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1538
1538
|
})) : Z("", !0);
|
|
1539
1539
|
}
|
|
1540
1540
|
});
|
|
1541
|
-
const
|
|
1541
|
+
const bt = (t, n) => {
|
|
1542
1542
|
const e = t.__vccOpts || t;
|
|
1543
1543
|
for (const [a, r] of n)
|
|
1544
1544
|
e[a] = r;
|
|
1545
1545
|
return e;
|
|
1546
1546
|
}, Xi = {};
|
|
1547
1547
|
function el(t, n) {
|
|
1548
|
-
const e =
|
|
1548
|
+
const e = Bt("RouterView");
|
|
1549
1549
|
return w(), E(e);
|
|
1550
1550
|
}
|
|
1551
|
-
const Xp = /* @__PURE__ */
|
|
1552
|
-
var
|
|
1551
|
+
const Xp = /* @__PURE__ */ bt(Xi, [["render", el]]);
|
|
1552
|
+
var La = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1553
1553
|
function Wr(t) {
|
|
1554
1554
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1555
1555
|
}
|
|
1556
|
-
var
|
|
1556
|
+
var ka = {}, tl = {
|
|
1557
1557
|
get exports() {
|
|
1558
|
-
return
|
|
1558
|
+
return ka;
|
|
1559
1559
|
},
|
|
1560
1560
|
set exports(t) {
|
|
1561
|
-
|
|
1561
|
+
ka = t;
|
|
1562
1562
|
}
|
|
1563
1563
|
};
|
|
1564
1564
|
(function(t, n) {
|
|
1565
1565
|
(function(e, a) {
|
|
1566
1566
|
t.exports = a();
|
|
1567
|
-
})(
|
|
1567
|
+
})(La, function() {
|
|
1568
1568
|
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", c = "minute", u = "hour", p = "day", m = "week", d = "month", g = "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+)?$/, V = /\[([^\]]+)]|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]) + "]";
|
|
@@ -1768,19 +1768,19 @@ var wa = {}, tl = {
|
|
|
1768
1768
|
}, ie.en = ee[ae], ie.Ls = ee, ie.p = {}, ie;
|
|
1769
1769
|
});
|
|
1770
1770
|
})(tl);
|
|
1771
|
-
const be =
|
|
1772
|
-
var
|
|
1771
|
+
const be = ka;
|
|
1772
|
+
var Ca = {}, nl = {
|
|
1773
1773
|
get exports() {
|
|
1774
|
-
return
|
|
1774
|
+
return Ca;
|
|
1775
1775
|
},
|
|
1776
1776
|
set exports(t) {
|
|
1777
|
-
|
|
1777
|
+
Ca = t;
|
|
1778
1778
|
}
|
|
1779
1779
|
};
|
|
1780
1780
|
(function(t, n) {
|
|
1781
1781
|
(function(e, a) {
|
|
1782
1782
|
t.exports = a();
|
|
1783
|
-
})(
|
|
1783
|
+
})(La, function() {
|
|
1784
1784
|
var e = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
1785
1785
|
return function(o, l, c) {
|
|
1786
1786
|
var u = l.prototype;
|
|
@@ -1857,22 +1857,22 @@ var ka = {}, nl = {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
});
|
|
1859
1859
|
})(nl);
|
|
1860
|
-
const al =
|
|
1860
|
+
const al = Ca;
|
|
1861
1861
|
be.extend(al);
|
|
1862
|
-
const
|
|
1862
|
+
const _t = ".000000Z", Yn = "YYYY-MM-DDTHH:mm:ss", Xn = "1970-01-01T00:00:00.000000Z", ea = "2100-01-01T00:00:00.000000Z", rl = () => be().utc().toDate(), eh = () => ai(be().utc().unix()), Rt = (t = !0, n = !1) => t && !n ? be().utc().format("YYYY-MM-DDTHH:mm:ss") + _t : t && n ? be().utc().format("YYYY-MM-DDTHH:mm:00") + _t : !t && n ? be().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : be().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", th = (t = 0) => t === 0 ? be().startOf("day").utc().format(Yn) + _t : be().add(t, "days").startOf("day").utc().format(Yn) + _t, nh = (t = 0) => t === 0 ? be().endOf("day").utc().format(Yn) + _t : be().add(t, "days").endOf("day").utc().format(Yn) + _t, ah = (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 be(n).add(t, "minutes").toDate();
|
|
1867
1867
|
if (t < 0)
|
|
1868
1868
|
return be(n).subtract(t, "minutes").toDate();
|
|
1869
|
-
}, ol = (t) => be(t).utc().format("YYYY-MM-DDTHH:mm:ss") +
|
|
1870
|
-
if (t ===
|
|
1869
|
+
}, ol = (t) => be(t).utc().format("YYYY-MM-DDTHH:mm:ss") + _t, rh = () => be().utc().format("YYYY"), Aa = (t, n = "") => t === ea || t === Xn || t === "" || he(t) || T(t) ? n : be(t).format("DD.MM.YYYY HH:mm"), oh = (t, n = "") => {
|
|
1870
|
+
if (t === ea || t === Xn || t === "" || he(t) || T(t))
|
|
1871
1871
|
return n;
|
|
1872
1872
|
let e = !0, a = !0;
|
|
1873
1873
|
const r = be(t), o = be();
|
|
1874
1874
|
return o.format("YYYY") === r.format("YYYY") && (e = !1), o.format("YYYY-MM-DD") === r.format("YYYY-MM-DD") && (a = !1), !e && !a ? be(r).format("H:mm") : e ? be(r).format("D.M.YYYY H:mm") : be(r).format("D.M. H:mm");
|
|
1875
|
-
}, ih = (t, n = "") => t ===
|
|
1875
|
+
}, ih = (t, n = "") => t === ea || t === Xn || t === "" || he(t) || T(t) ? n : be(t).format("DD.MM.YYYY"), lh = (t, n = "") => t === ea || t === Xn || t === "" || he(t) || T(t) ? n : be(t).format("HH:mm"), sh = (t, n) => {
|
|
1876
1876
|
const e = be(t), a = be(n);
|
|
1877
1877
|
return e.diff(a);
|
|
1878
1878
|
}, il = { class: "d-flex align-center" }, ll = {
|
|
@@ -1889,7 +1889,7 @@ const Dt = ".000000Z", Un = "YYYY-MM-DDTHH:mm:ss", Qn = "1970-01-01T00:00:00.000
|
|
|
1889
1889
|
hideModifiedAt: { type: Boolean, default: !1 }
|
|
1890
1890
|
},
|
|
1891
1891
|
setup(t) {
|
|
1892
|
-
const n = t, e = x(() =>
|
|
1892
|
+
const n = t, e = x(() => Aa(n.data.createdAt)), a = x(() => Aa(n.data.modifiedAt)), { t: r } = K();
|
|
1893
1893
|
return (o, l) => (w(), H(He, null, [
|
|
1894
1894
|
b(nt, {
|
|
1895
1895
|
title: f(r)("common.model.tracking.created")
|
|
@@ -1933,7 +1933,7 @@ function dh(t, n) {
|
|
|
1933
1933
|
};
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function za() {
|
|
1937
1937
|
const t = (o) => {
|
|
1938
1938
|
o.model = o.default, o.error = "";
|
|
1939
1939
|
}, n = (o) => {
|
|
@@ -1971,8 +1971,8 @@ const ch = /* @__PURE__ */ L({
|
|
|
1971
1971
|
set(u) {
|
|
1972
1972
|
n("update:modelValue", { ...e.modelValue, model: u });
|
|
1973
1973
|
}
|
|
1974
|
-
}), { clearOne: r } =
|
|
1975
|
-
return (u, p) => (w(), E(
|
|
1974
|
+
}), { clearOne: r } = za(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), c = x(() => T(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);
|
|
1975
|
+
return (u, p) => (w(), E(Gn, {
|
|
1976
1976
|
modelValue: f(a),
|
|
1977
1977
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ye(a) ? a.value = m : null),
|
|
1978
1978
|
label: f(l),
|
|
@@ -1997,8 +1997,8 @@ const ch = /* @__PURE__ */ L({
|
|
|
1997
1997
|
set(c) {
|
|
1998
1998
|
n("update:modelValue", { ...e.modelValue, model: c });
|
|
1999
1999
|
}
|
|
2000
|
-
}), { clearOne: r } =
|
|
2001
|
-
return (c, u) => (w(), E(
|
|
2000
|
+
}), { clearOne: r } = za(), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
|
|
2001
|
+
return (c, u) => (w(), E(Gn, {
|
|
2002
2002
|
modelValue: f(a),
|
|
2003
2003
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => Ye(a) ? a.value = p : null),
|
|
2004
2004
|
label: f(l),
|
|
@@ -2125,12 +2125,12 @@ const ch = /* @__PURE__ */ L({
|
|
|
2125
2125
|
a.value = !a.value;
|
|
2126
2126
|
};
|
|
2127
2127
|
return (o, l) => (w(), H(He, null, [
|
|
2128
|
-
t.enableTop ? (w(), E(
|
|
2128
|
+
t.enableTop ? (w(), E(ba, {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
dense: ""
|
|
2131
2131
|
}, {
|
|
2132
2132
|
default: v(() => [
|
|
2133
|
-
b(
|
|
2133
|
+
b(Zt, { class: "" }, {
|
|
2134
2134
|
default: v(() => [
|
|
2135
2135
|
_e(o.$slots, "top")
|
|
2136
2136
|
]),
|
|
@@ -2139,9 +2139,9 @@ const ch = /* @__PURE__ */ L({
|
|
|
2139
2139
|
]),
|
|
2140
2140
|
_: 3
|
|
2141
2141
|
})) : Z("", !0),
|
|
2142
|
-
b(
|
|
2142
|
+
b(ba, { dense: "" }, {
|
|
2143
2143
|
default: v(() => [
|
|
2144
|
-
t.enableAdvanced ? (w(), E(
|
|
2144
|
+
t.enableAdvanced ? (w(), E(Zt, {
|
|
2145
2145
|
key: 0,
|
|
2146
2146
|
class: "v-col-filters--show-hide",
|
|
2147
2147
|
cols: "auto"
|
|
@@ -2154,15 +2154,15 @@ const ch = /* @__PURE__ */ L({
|
|
|
2154
2154
|
]),
|
|
2155
2155
|
_: 1
|
|
2156
2156
|
})) : Z("", !0),
|
|
2157
|
-
b(
|
|
2157
|
+
b(Zt, { class: "" }, {
|
|
2158
2158
|
default: v(() => [
|
|
2159
2159
|
_e(o.$slots, "default"),
|
|
2160
2160
|
t.enableAdvanced ? (w(), E(Oo, { key: 0 }, {
|
|
2161
2161
|
default: v(() => [
|
|
2162
|
-
|
|
2162
|
+
xr(te("div", null, [
|
|
2163
2163
|
_e(o.$slots, "advanced")
|
|
2164
2164
|
], 512), [
|
|
2165
|
-
[
|
|
2165
|
+
[Sr, a.value]
|
|
2166
2166
|
])
|
|
2167
2167
|
]),
|
|
2168
2168
|
_: 3
|
|
@@ -2170,7 +2170,7 @@ const ch = /* @__PURE__ */ L({
|
|
|
2170
2170
|
]),
|
|
2171
2171
|
_: 3
|
|
2172
2172
|
}),
|
|
2173
|
-
t.hideButtons ? Z("", !0) : (w(), E(
|
|
2173
|
+
t.hideButtons ? Z("", !0) : (w(), E(Zt, {
|
|
2174
2174
|
key: 1,
|
|
2175
2175
|
class: "v-col-filters--buttons text-right",
|
|
2176
2176
|
cols: "auto"
|
|
@@ -2189,10 +2189,10 @@ const ch = /* @__PURE__ */ L({
|
|
|
2189
2189
|
], 64));
|
|
2190
2190
|
}
|
|
2191
2191
|
});
|
|
2192
|
-
var
|
|
2192
|
+
var Bn = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] = "AllowOwner", t[t.Allow = 2] = "Allow", t[
|
|
2193
2193
|
t.Default = 0
|
|
2194
2194
|
/* Deny */
|
|
2195
|
-
] = "Default", t))(
|
|
2195
|
+
] = "Default", t))(Bn || {});
|
|
2196
2196
|
function qr() {
|
|
2197
2197
|
const { t } = K(), n = J([
|
|
2198
2198
|
{
|
|
@@ -2232,7 +2232,7 @@ const ph = /* @__PURE__ */ L({
|
|
|
2232
2232
|
n("change", o);
|
|
2233
2233
|
}
|
|
2234
2234
|
}), { getGrantOption: r } = qr();
|
|
2235
|
-
return (o, l) => (w(), E(
|
|
2235
|
+
return (o, l) => (w(), E(Zn, {
|
|
2236
2236
|
modelValue: f(a),
|
|
2237
2237
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => Ye(a) ? a.value = c : null),
|
|
2238
2238
|
divided: "",
|
|
@@ -2241,7 +2241,7 @@ const ph = /* @__PURE__ */ L({
|
|
|
2241
2241
|
class: "text-disabled"
|
|
2242
2242
|
}, {
|
|
2243
2243
|
default: v(() => [
|
|
2244
|
-
(w(!0), H(He, null,
|
|
2244
|
+
(w(!0), H(He, null, Mt(t.availableGrants, (c) => {
|
|
2245
2245
|
var u;
|
|
2246
2246
|
return w(), E(oe, {
|
|
2247
2247
|
key: c,
|
|
@@ -2354,16 +2354,16 @@ function yh(t, n, e = ".") {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
return o(t), t;
|
|
2356
2356
|
}
|
|
2357
|
-
const hl = (t) =>
|
|
2357
|
+
const hl = (t) => Qn(t) && Object.hasOwn(t, "owners"), gl = (t) => Object.hasOwn(t, "createdBy"), ta = Symbol("currentUser"), Qr = Symbol("customAclResolver"), Xr = Symbol("availableLanguages"), eo = Symbol("defaultLanguage"), bh = {
|
|
2358
2358
|
install(t, n) {
|
|
2359
|
-
t.provide(
|
|
2359
|
+
t.provide(ta, n.currentUser), t.provide(Qr, n.customAclResolver), t.provide(Xr, n.languages.available), t.provide(eo, n.languages.default), t.component("Acl", yl), t.use(Li, { componentName: "Notifications" });
|
|
2360
2360
|
}
|
|
2361
2361
|
}, to = "ROLE_ADMIN";
|
|
2362
2362
|
function vl(t) {
|
|
2363
|
-
const n = T(t) || T(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? ke(
|
|
2363
|
+
const n = T(t) || T(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (n ? ke(ta, void 0) : void 0), a = (t == null ? void 0 : t.customAclProvider) ?? (n ? ke(Qr, void 0) : void 0), r = (u, p) => {
|
|
2364
2364
|
if (T(e))
|
|
2365
2365
|
throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
|
|
2366
|
-
if (
|
|
2366
|
+
if (fr(a) && fr(a.can))
|
|
2367
2367
|
return a.can(u, p);
|
|
2368
2368
|
if (T(e.value) || e.value.id === 0)
|
|
2369
2369
|
return !1;
|
|
@@ -2373,11 +2373,11 @@ function vl(t) {
|
|
|
2373
2373
|
if (T(m))
|
|
2374
2374
|
return !1;
|
|
2375
2375
|
switch (m) {
|
|
2376
|
-
case
|
|
2376
|
+
case Bn.Allow:
|
|
2377
2377
|
return !0;
|
|
2378
|
-
case
|
|
2378
|
+
case Bn.Deny:
|
|
2379
2379
|
return !1;
|
|
2380
|
-
case
|
|
2380
|
+
case Bn.AllowOwner:
|
|
2381
2381
|
if (T(p))
|
|
2382
2382
|
throw new Error(`Required subject for acl "${u}" to determine an ability to access the resource.`);
|
|
2383
2383
|
return o(p);
|
|
@@ -2411,23 +2411,23 @@ const yl = /* @__PURE__ */ L({
|
|
|
2411
2411
|
subject: { default: void 0 }
|
|
2412
2412
|
},
|
|
2413
2413
|
setup(t) {
|
|
2414
|
-
const n = t, e = ke(
|
|
2414
|
+
const n = t, e = ke(ta), { can: a } = vl(), r = J(a(n.permission, n.subject));
|
|
2415
2415
|
return Ve(e, () => {
|
|
2416
2416
|
r.value = a(n.permission, n.subject);
|
|
2417
2417
|
}), (o, l) => r.value ? _e(o.$slots, "default", { key: 0 }) : Z("", !0);
|
|
2418
2418
|
}
|
|
2419
|
-
}),
|
|
2419
|
+
}), Hn = /* @__PURE__ */ L({
|
|
2420
2420
|
__name: "ADatetime",
|
|
2421
2421
|
props: {
|
|
2422
2422
|
dateTime: null,
|
|
2423
2423
|
edgeDateValue: { default: "n/a" }
|
|
2424
2424
|
},
|
|
2425
2425
|
setup(t) {
|
|
2426
|
-
const n = t, e = x(() =>
|
|
2426
|
+
const n = t, e = x(() => Aa(n.dateTime, n.edgeDateValue));
|
|
2427
2427
|
return (a, r) => $(f(e));
|
|
2428
2428
|
}
|
|
2429
2429
|
});
|
|
2430
|
-
var
|
|
2430
|
+
var sa = [
|
|
2431
2431
|
"onChange",
|
|
2432
2432
|
"onClose",
|
|
2433
2433
|
"onDayCreate",
|
|
@@ -2440,7 +2440,7 @@ var la = [
|
|
|
2440
2440
|
"onValueUpdate",
|
|
2441
2441
|
"onYearChange",
|
|
2442
2442
|
"onPreCalendarPosition"
|
|
2443
|
-
],
|
|
2443
|
+
], zt = {
|
|
2444
2444
|
_disable: [],
|
|
2445
2445
|
allowInput: !1,
|
|
2446
2446
|
allowInvalidPreload: !1,
|
|
@@ -2502,7 +2502,7 @@ var la = [
|
|
|
2502
2502
|
time_24hr: !1,
|
|
2503
2503
|
weekNumbers: !1,
|
|
2504
2504
|
wrap: !1
|
|
2505
|
-
},
|
|
2505
|
+
}, rn = {
|
|
2506
2506
|
weekdays: {
|
|
2507
2507
|
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
2508
2508
|
longhand: [
|
|
@@ -2577,7 +2577,7 @@ var la = [
|
|
|
2577
2577
|
}, Ge = function(t) {
|
|
2578
2578
|
return t === !0 ? 1 : 0;
|
|
2579
2579
|
};
|
|
2580
|
-
function
|
|
2580
|
+
function vr(t, n) {
|
|
2581
2581
|
var e;
|
|
2582
2582
|
return function() {
|
|
2583
2583
|
var a = this, r = arguments;
|
|
@@ -2586,7 +2586,7 @@ function gr(t, n) {
|
|
|
2586
2586
|
}, n);
|
|
2587
2587
|
};
|
|
2588
2588
|
}
|
|
2589
|
-
var
|
|
2589
|
+
var ua = function(t) {
|
|
2590
2590
|
return t instanceof Array ? t : [t];
|
|
2591
2591
|
};
|
|
2592
2592
|
function Pe(t, n, e) {
|
|
@@ -2598,7 +2598,7 @@ function ce(t, n, e) {
|
|
|
2598
2598
|
var a = window.document.createElement(t);
|
|
2599
2599
|
return n = n || "", e = e || "", a.className = n, e !== void 0 && (a.textContent = e), a;
|
|
2600
2600
|
}
|
|
2601
|
-
function
|
|
2601
|
+
function En(t) {
|
|
2602
2602
|
for (; t.firstChild; )
|
|
2603
2603
|
t.removeChild(t.firstChild);
|
|
2604
2604
|
}
|
|
@@ -2608,7 +2608,7 @@ function no(t, n) {
|
|
|
2608
2608
|
if (t.parentNode)
|
|
2609
2609
|
return no(t.parentNode, n);
|
|
2610
2610
|
}
|
|
2611
|
-
function
|
|
2611
|
+
function Nn(t, n) {
|
|
2612
2612
|
var e = ce("div", "numInputWrapper"), a = ce("input", "numInput " + t), r = ce("span", "arrowUp"), o = ce("span", "arrowDown");
|
|
2613
2613
|
if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), n !== void 0)
|
|
2614
2614
|
for (var l in n)
|
|
@@ -2626,11 +2626,11 @@ function Re(t) {
|
|
|
2626
2626
|
return t.target;
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
|
-
var
|
|
2630
|
-
},
|
|
2629
|
+
var da = function() {
|
|
2630
|
+
}, Jn = function(t, n, e) {
|
|
2631
2631
|
return e.months[n ? "shorthand" : "longhand"][t];
|
|
2632
2632
|
}, bl = {
|
|
2633
|
-
D:
|
|
2633
|
+
D: da,
|
|
2634
2634
|
F: function(t, n, e) {
|
|
2635
2635
|
t.setMonth(e.months.longhand.indexOf(n));
|
|
2636
2636
|
},
|
|
@@ -2677,7 +2677,7 @@ var ua = function() {
|
|
|
2677
2677
|
j: function(t, n) {
|
|
2678
2678
|
t.setDate(parseFloat(n));
|
|
2679
2679
|
},
|
|
2680
|
-
l:
|
|
2680
|
+
l: da,
|
|
2681
2681
|
m: function(t, n) {
|
|
2682
2682
|
t.setMonth(parseFloat(n) - 1);
|
|
2683
2683
|
},
|
|
@@ -2690,11 +2690,11 @@ var ua = function() {
|
|
|
2690
2690
|
u: function(t, n) {
|
|
2691
2691
|
return new Date(parseFloat(n));
|
|
2692
2692
|
},
|
|
2693
|
-
w:
|
|
2693
|
+
w: da,
|
|
2694
2694
|
y: function(t, n) {
|
|
2695
2695
|
t.setFullYear(2e3 + parseFloat(n));
|
|
2696
2696
|
}
|
|
2697
|
-
},
|
|
2697
|
+
}, Dt = {
|
|
2698
2698
|
D: "",
|
|
2699
2699
|
F: "",
|
|
2700
2700
|
G: "(\\d\\d|\\d)",
|
|
@@ -2718,18 +2718,18 @@ var ua = function() {
|
|
|
2718
2718
|
u: "(.+)",
|
|
2719
2719
|
w: "(\\d\\d|\\d)",
|
|
2720
2720
|
y: "(\\d{2})"
|
|
2721
|
-
},
|
|
2721
|
+
}, Qt = {
|
|
2722
2722
|
Z: function(t) {
|
|
2723
2723
|
return t.toISOString();
|
|
2724
2724
|
},
|
|
2725
2725
|
D: function(t, n, e) {
|
|
2726
|
-
return n.weekdays.shorthand[
|
|
2726
|
+
return n.weekdays.shorthand[Qt.w(t, n, e)];
|
|
2727
2727
|
},
|
|
2728
2728
|
F: function(t, n, e) {
|
|
2729
|
-
return
|
|
2729
|
+
return Jn(Qt.n(t, n, e) - 1, !1, n);
|
|
2730
2730
|
},
|
|
2731
2731
|
G: function(t, n, e) {
|
|
2732
|
-
return Ee(
|
|
2732
|
+
return Ee(Qt.h(t, n, e));
|
|
2733
2733
|
},
|
|
2734
2734
|
H: function(t) {
|
|
2735
2735
|
return Ee(t.getHours());
|
|
@@ -2741,7 +2741,7 @@ var ua = function() {
|
|
|
2741
2741
|
return n.amPM[Ge(t.getHours() > 11)];
|
|
2742
2742
|
},
|
|
2743
2743
|
M: function(t, n) {
|
|
2744
|
-
return
|
|
2744
|
+
return Jn(t.getMonth(), !0, n);
|
|
2745
2745
|
},
|
|
2746
2746
|
S: function(t) {
|
|
2747
2747
|
return Ee(t.getSeconds());
|
|
@@ -2789,15 +2789,15 @@ var ua = function() {
|
|
|
2789
2789
|
return String(t.getFullYear()).substring(2);
|
|
2790
2790
|
}
|
|
2791
2791
|
}, ao = function(t) {
|
|
2792
|
-
var n = t.config, e = n === void 0 ?
|
|
2792
|
+
var n = t.config, e = n === void 0 ? zt : n, a = t.l10n, r = a === void 0 ? rn : a, o = t.isMobile, l = o === void 0 ? !1 : o;
|
|
2793
2793
|
return function(c, u, p) {
|
|
2794
2794
|
var m = p || r;
|
|
2795
2795
|
return e.formatDate !== void 0 && !l ? e.formatDate(c, u, m) : u.split("").map(function(d, g, k) {
|
|
2796
|
-
return
|
|
2796
|
+
return Qt[d] && k[g - 1] !== "\\" ? Qt[d](c, m, e) : d !== "\\" ? d : "";
|
|
2797
2797
|
}).join("");
|
|
2798
2798
|
};
|
|
2799
|
-
},
|
|
2800
|
-
var n = t.config, e = n === void 0 ?
|
|
2799
|
+
}, Da = function(t) {
|
|
2800
|
+
var n = t.config, e = n === void 0 ? zt : n, a = t.l10n, r = a === void 0 ? rn : a;
|
|
2801
2801
|
return function(o, l, c, u) {
|
|
2802
2802
|
if (!(o !== 0 && !o)) {
|
|
2803
2803
|
var p = u || r, m, d = o;
|
|
@@ -2806,7 +2806,7 @@ var ua = function() {
|
|
|
2806
2806
|
else if (typeof o != "string" && o.toFixed !== void 0)
|
|
2807
2807
|
m = new Date(o);
|
|
2808
2808
|
else if (typeof o == "string") {
|
|
2809
|
-
var g = l || (e ||
|
|
2809
|
+
var g = l || (e || zt).dateFormat, k = String(o).trim();
|
|
2810
2810
|
if (k === "today")
|
|
2811
2811
|
m = /* @__PURE__ */ new Date(), c = !0;
|
|
2812
2812
|
else if (e && e.parseDate)
|
|
@@ -2816,8 +2816,8 @@ var ua = function() {
|
|
|
2816
2816
|
else {
|
|
2817
2817
|
for (var I = void 0, y = [], O = 0, V = 0, F = ""; O < g.length; O++) {
|
|
2818
2818
|
var R = g[O], U = R === "\\", ae = g[O - 1] === "\\" || U;
|
|
2819
|
-
if (
|
|
2820
|
-
F +=
|
|
2819
|
+
if (Dt[R] && !ae) {
|
|
2820
|
+
F += Dt[R];
|
|
2821
2821
|
var ee = new RegExp(F).exec(o);
|
|
2822
2822
|
ee && (I = !0) && y[R !== "Y" ? "push" : "unshift"]({
|
|
2823
2823
|
fn: bl[R],
|
|
@@ -2845,7 +2845,7 @@ function Ue(t, n, e) {
|
|
|
2845
2845
|
}
|
|
2846
2846
|
var wl = function(t, n, e) {
|
|
2847
2847
|
return t > Math.min(n, e) && t < Math.max(n, e);
|
|
2848
|
-
},
|
|
2848
|
+
}, ca = function(t, n, e) {
|
|
2849
2849
|
return t * 3600 + n * 60 + e;
|
|
2850
2850
|
}, kl = function(t) {
|
|
2851
2851
|
var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
|
|
@@ -2853,7 +2853,7 @@ var wl = function(t, n, e) {
|
|
|
2853
2853
|
}, Cl = {
|
|
2854
2854
|
DAY: 864e5
|
|
2855
2855
|
};
|
|
2856
|
-
function
|
|
2856
|
+
function fa(t) {
|
|
2857
2857
|
var n = t.defaultHour, e = t.defaultMinute, a = t.defaultSeconds;
|
|
2858
2858
|
if (t.minDate !== void 0) {
|
|
2859
2859
|
var r = t.minDate.getHours(), o = t.minDate.getMinutes(), l = t.minDate.getSeconds();
|
|
@@ -2889,7 +2889,7 @@ var Oe = globalThis && globalThis.__assign || function() {
|
|
|
2889
2889
|
}
|
|
2890
2890
|
return t;
|
|
2891
2891
|
}, Oe.apply(this, arguments);
|
|
2892
|
-
},
|
|
2892
|
+
}, yr = globalThis && globalThis.__spreadArrays || function() {
|
|
2893
2893
|
for (var t = 0, n = 0, e = arguments.length; n < e; n++)
|
|
2894
2894
|
t += arguments[n].length;
|
|
2895
2895
|
for (var a = Array(t), r = 0, n = 0; n < e; n++)
|
|
@@ -2899,10 +2899,10 @@ var Oe = globalThis && globalThis.__assign || function() {
|
|
|
2899
2899
|
}, Al = 300;
|
|
2900
2900
|
function Dl(t, n) {
|
|
2901
2901
|
var e = {
|
|
2902
|
-
config: Oe(Oe({},
|
|
2903
|
-
l10n:
|
|
2902
|
+
config: Oe(Oe({}, zt), De.defaultConfig),
|
|
2903
|
+
l10n: rn
|
|
2904
2904
|
};
|
|
2905
|
-
e.parseDate =
|
|
2905
|
+
e.parseDate = Da({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = g, e._positionCalendar = wt, e.changeMonth = ge, e.changeYear = ze, e.clear = ve, e.close = Ae, e.onMouseOver = We, e._createElement = ce, e.createDay = ee, e.destroy = Le, e.isEnabled = Se, e.jumpToDate = F, e.updateValue = qe, e.open = dn, e.redraw = Jt, e.set = pn, e.setDate = hn, e.toggle = bn;
|
|
2906
2906
|
function a() {
|
|
2907
2907
|
e.utils = {
|
|
2908
2908
|
getDaysInMonth: function(i, s) {
|
|
@@ -2911,9 +2911,9 @@ function Dl(t, n) {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
}
|
|
2913
2913
|
function r() {
|
|
2914
|
-
e.element = e.input = t, e.isOpen = !1,
|
|
2914
|
+
e.element = e.input = t, e.isOpen = !1, cn(), Ht(), vn(), gn(), a(), e.isMobile || ae(), V(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), qe(!1)), c();
|
|
2915
2915
|
var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
2916
|
-
!e.isMobile && i &&
|
|
2916
|
+
!e.isMobile && i && wt(), ye("onReady");
|
|
2917
2917
|
}
|
|
2918
2918
|
function o() {
|
|
2919
2919
|
var i;
|
|
@@ -2933,10 +2933,10 @@ function Dl(t, n) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
function u(i) {
|
|
2935
2935
|
if (e.selectedDates.length === 0) {
|
|
2936
|
-
var s = e.config.minDate === void 0 || Ue(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), h =
|
|
2936
|
+
var s = e.config.minDate === void 0 || Ue(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), h = fa(e.config);
|
|
2937
2937
|
s.setHours(h.hours, h.minutes, h.seconds, s.getMilliseconds()), e.selectedDates = [s], e.latestSelectedDateObj = s;
|
|
2938
2938
|
}
|
|
2939
|
-
i !== void 0 && i.type !== "blur" &&
|
|
2939
|
+
i !== void 0 && i.type !== "blur" && Cn(i);
|
|
2940
2940
|
var A = e._input.value;
|
|
2941
2941
|
d(), qe(), e._input.value !== A && e._debouncedChange();
|
|
2942
2942
|
}
|
|
@@ -2958,7 +2958,7 @@ function Dl(t, n) {
|
|
|
2958
2958
|
e.amPM !== void 0 && (i = p(i, e.amPM.textContent));
|
|
2959
2959
|
var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Ue(e.latestSelectedDateObj, e.config.minDate, !0) === 0, P = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Ue(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
|
|
2960
2960
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
2961
|
-
var N =
|
|
2961
|
+
var N = ca(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = ca(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = ca(i, s, h);
|
|
2962
2962
|
if (Y > X && Y < N) {
|
|
2963
2963
|
var re = kl(N);
|
|
2964
2964
|
i = re[0], s = re[1], h = re[2];
|
|
@@ -3011,13 +3011,13 @@ function Dl(t, n) {
|
|
|
3011
3011
|
return y(A, "click", e[h]);
|
|
3012
3012
|
});
|
|
3013
3013
|
}), e.isMobile) {
|
|
3014
|
-
|
|
3014
|
+
yn();
|
|
3015
3015
|
return;
|
|
3016
3016
|
}
|
|
3017
|
-
var i =
|
|
3018
|
-
if (e._debouncedChange =
|
|
3017
|
+
var i = vr(un, 50);
|
|
3018
|
+
if (e._debouncedChange = vr(O, Al), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
|
|
3019
3019
|
e.config.mode === "range" && We(Re(h));
|
|
3020
|
-
}), y(e._input, "keydown", it), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", it), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", Je) : y(window.document, "mousedown", Je), y(window.document, "focus", Je, { 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",
|
|
3020
|
+
}), y(e._input, "keydown", it), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", it), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", Je) : y(window.document, "mousedown", Je), y(window.document, "focus", Je, { 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", kn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Wt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
3021
3021
|
var s = function(h) {
|
|
3022
3022
|
return Re(h).select();
|
|
3023
3023
|
};
|
|
@@ -3043,7 +3043,7 @@ function Dl(t, n) {
|
|
|
3043
3043
|
~s.className.indexOf("arrow") && U(i, s.classList.contains("arrowUp") ? 1 : -1);
|
|
3044
3044
|
}
|
|
3045
3045
|
function U(i, s, h) {
|
|
3046
|
-
var A = i && Re(i), P = h || A && A.parentNode && A.parentNode.firstChild, N =
|
|
3046
|
+
var A = i && Re(i), P = h || A && A.parentNode && A.parentNode.firstChild, N = It("increment");
|
|
3047
3047
|
N.delta = s, P && P.dispatchEvent(N);
|
|
3048
3048
|
}
|
|
3049
3049
|
function ae() {
|
|
@@ -3065,7 +3065,7 @@ function Dl(t, n) {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
function ee(i, s, h, A) {
|
|
3067
3067
|
var P = Se(s, !0), N = ce("span", i, s.getDate().toString());
|
|
3068
|
-
return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Ue(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), P ? (N.tabIndex = -1,
|
|
3068
|
+
return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Ue(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), P ? (N.tabIndex = -1, Ft(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Pe(N, "startRange", e.selectedDates[0] && Ue(s, e.selectedDates[0], !0) === 0), Pe(N, "endRange", e.selectedDates[1] && Ue(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && wn(s) && !Ft(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>"), ye("onDayCreate", N), N;
|
|
3069
3069
|
}
|
|
3070
3070
|
function ue(i) {
|
|
3071
3071
|
i.focus(), e.config.mode === "range" && We(i);
|
|
@@ -3103,7 +3103,7 @@ function Dl(t, n) {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
function W() {
|
|
3105
3105
|
if (e.daysContainer !== void 0) {
|
|
3106
|
-
|
|
3106
|
+
En(e.daysContainer), e.weekNumbers && En(e.weekNumbers);
|
|
3107
3107
|
for (var i = document.createDocumentFragment(), s = 0; s < e.config.showMonths; s++) {
|
|
3108
3108
|
var h = new Date(e.currentYear, e.currentMonth, 1);
|
|
3109
3109
|
h.setMonth(e.currentMonth + s), i.appendChild(Me(h.getFullYear(), h.getMonth()));
|
|
@@ -3120,7 +3120,7 @@ function Dl(t, n) {
|
|
|
3120
3120
|
for (var s = 0; s < 12; s++)
|
|
3121
3121
|
if (i(s)) {
|
|
3122
3122
|
var h = ce("option", "flatpickr-monthDropdown-month");
|
|
3123
|
-
h.value = new Date(e.currentYear, s).getMonth().toString(), h.textContent =
|
|
3123
|
+
h.value = new Date(e.currentYear, s).getMonth().toString(), h.textContent = Jn(s, e.config.shorthandCurrentMonth, e.l10n), h.tabIndex = -1, e.currentMonth === s && (h.selected = !0), e.monthsDropdownContainer.appendChild(h);
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
@@ -3130,7 +3130,7 @@ function Dl(t, n) {
|
|
|
3130
3130
|
var Y = Re(X), re = parseInt(Y.value, 10);
|
|
3131
3131
|
e.changeMonth(re - e.currentMonth), ye("onMonthChange");
|
|
3132
3132
|
}), D(), h = e.monthsDropdownContainer);
|
|
3133
|
-
var A =
|
|
3133
|
+
var A = Nn("cur-year", { tabindex: "-1" }), P = A.getElementsByTagName("input")[0];
|
|
3134
3134
|
P.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && P.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (P.setAttribute("max", e.config.maxDate.getFullYear().toString()), P.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
|
|
3135
3135
|
var N = ce("div", "flatpickr-current-month");
|
|
3136
3136
|
return N.appendChild(h), N.appendChild(A), s.appendChild(N), i.appendChild(s), {
|
|
@@ -3140,7 +3140,7 @@ function Dl(t, n) {
|
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
3142
|
function _() {
|
|
3143
|
-
|
|
3143
|
+
En(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
|
|
3144
3144
|
for (var i = e.config.showMonths; i--; ) {
|
|
3145
3145
|
var s = C();
|
|
3146
3146
|
e.yearElements.push(s.yearElement), e.monthElements.push(s.monthElement), e.monthNav.appendChild(s.container);
|
|
@@ -3162,28 +3162,28 @@ function Dl(t, n) {
|
|
|
3162
3162
|
set: function(i) {
|
|
3163
3163
|
e.__hideNextMonthArrow !== i && (Pe(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
|
|
3164
3164
|
}
|
|
3165
|
-
}), e.currentYearElement = e.yearElements[0],
|
|
3165
|
+
}), e.currentYearElement = e.yearElements[0], Ct(), e.monthNav;
|
|
3166
3166
|
}
|
|
3167
3167
|
function S() {
|
|
3168
3168
|
e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
|
|
3169
|
-
var i =
|
|
3169
|
+
var i = fa(e.config);
|
|
3170
3170
|
e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
|
|
3171
|
-
var s = ce("span", "flatpickr-time-separator", ":"), h =
|
|
3171
|
+
var s = ce("span", "flatpickr-time-separator", ":"), h = Nn("flatpickr-hour", {
|
|
3172
3172
|
"aria-label": e.l10n.hourAriaLabel
|
|
3173
3173
|
});
|
|
3174
3174
|
e.hourElement = h.getElementsByTagName("input")[0];
|
|
3175
|
-
var A =
|
|
3175
|
+
var A = Nn("flatpickr-minute", {
|
|
3176
3176
|
"aria-label": e.l10n.minuteAriaLabel
|
|
3177
3177
|
});
|
|
3178
3178
|
if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Ee(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : m(i.hours)), e.minuteElement.value = Ee(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) {
|
|
3179
3179
|
e.timeContainer.classList.add("hasSeconds");
|
|
3180
|
-
var P =
|
|
3180
|
+
var P = Nn("flatpickr-second");
|
|
3181
3181
|
e.secondElement = P.getElementsByTagName("input")[0], e.secondElement.value = Ee(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(P);
|
|
3182
3182
|
}
|
|
3183
3183
|
return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ge((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;
|
|
3184
3184
|
}
|
|
3185
3185
|
function j() {
|
|
3186
|
-
e.weekdayContainer ?
|
|
3186
|
+
e.weekdayContainer ? En(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
|
|
3187
3187
|
for (var i = e.config.showMonths; i--; ) {
|
|
3188
3188
|
var s = ce("div", "flatpickr-weekdaycontainer");
|
|
3189
3189
|
e.weekdayContainer.appendChild(s);
|
|
@@ -3192,8 +3192,8 @@ function Dl(t, n) {
|
|
|
3192
3192
|
}
|
|
3193
3193
|
function G() {
|
|
3194
3194
|
if (e.weekdayContainer) {
|
|
3195
|
-
var i = e.l10n.firstDayOfWeek, s =
|
|
3196
|
-
i > 0 && i < s.length && (s =
|
|
3195
|
+
var i = e.l10n.firstDayOfWeek, s = yr(e.l10n.weekdays.shorthand);
|
|
3196
|
+
i > 0 && i < s.length && (s = yr(s.splice(i, s.length), s.splice(0, i)));
|
|
3197
3197
|
for (var h = e.config.showMonths; h--; )
|
|
3198
3198
|
e.weekdayContainer.children[h].innerHTML = `
|
|
3199
3199
|
<span class='flatpickr-weekday'>
|
|
@@ -3215,11 +3215,11 @@ function Dl(t, n) {
|
|
|
3215
3215
|
function ge(i, s) {
|
|
3216
3216
|
s === void 0 && (s = !0);
|
|
3217
3217
|
var h = s ? i : i - e.currentMonth;
|
|
3218
|
-
h < 0 && e._hidePrevMonthArrow === !0 || h > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += h, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, ye("onYearChange"), D()), W(), ye("onMonthChange"),
|
|
3218
|
+
h < 0 && e._hidePrevMonthArrow === !0 || h > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += h, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, ye("onYearChange"), D()), W(), ye("onMonthChange"), Ct());
|
|
3219
3219
|
}
|
|
3220
3220
|
function ve(i, s) {
|
|
3221
3221
|
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) {
|
|
3222
|
-
var h =
|
|
3222
|
+
var h = fa(e.config), A = h.hours, P = h.minutes, N = h.seconds;
|
|
3223
3223
|
k(A, P, N);
|
|
3224
3224
|
}
|
|
3225
3225
|
e.redraw(), i && ye("onChange");
|
|
@@ -3324,7 +3324,7 @@ function Dl(t, n) {
|
|
|
3324
3324
|
return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
|
|
3325
3325
|
}
|
|
3326
3326
|
function je(i) {
|
|
3327
|
-
var s = i.target === e._input, h = e._input.value.trimEnd() !==
|
|
3327
|
+
var s = i.target === e._input, h = e._input.value.trimEnd() !== Et();
|
|
3328
3328
|
s && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
3329
3329
|
}
|
|
3330
3330
|
function it(i) {
|
|
@@ -3337,10 +3337,10 @@ function Dl(t, n) {
|
|
|
3337
3337
|
var X = !!e.timeContainer && e.timeContainer.contains(s);
|
|
3338
3338
|
switch (i.keyCode) {
|
|
3339
3339
|
case 13:
|
|
3340
|
-
X ? (i.preventDefault(), u(),
|
|
3340
|
+
X ? (i.preventDefault(), u(), Pt()) : Wt(i);
|
|
3341
3341
|
break;
|
|
3342
3342
|
case 27:
|
|
3343
|
-
i.preventDefault(),
|
|
3343
|
+
i.preventDefault(), Pt();
|
|
3344
3344
|
break;
|
|
3345
3345
|
case 8:
|
|
3346
3346
|
case 46:
|
|
@@ -3416,10 +3416,10 @@ function Dl(t, n) {
|
|
|
3416
3416
|
});
|
|
3417
3417
|
}
|
|
3418
3418
|
}
|
|
3419
|
-
function
|
|
3420
|
-
e.isOpen && !e.config.static && !e.config.inline &&
|
|
3419
|
+
function un() {
|
|
3420
|
+
e.isOpen && !e.config.static && !e.config.inline && wt();
|
|
3421
3421
|
}
|
|
3422
|
-
function
|
|
3422
|
+
function dn(i, s) {
|
|
3423
3423
|
if (s === void 0 && (s = e._positionElement), e.isMobile === !0) {
|
|
3424
3424
|
if (i) {
|
|
3425
3425
|
i.preventDefault();
|
|
@@ -3431,19 +3431,19 @@ function Dl(t, n) {
|
|
|
3431
3431
|
} else if (e._input.disabled || e.config.inline)
|
|
3432
3432
|
return;
|
|
3433
3433
|
var A = e.isOpen;
|
|
3434
|
-
e.isOpen = !0, A || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ye("onOpen"),
|
|
3434
|
+
e.isOpen = !0, A || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), ye("onOpen"), wt(s)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (i === void 0 || !e.timeContainer.contains(i.relatedTarget)) && setTimeout(function() {
|
|
3435
3435
|
return e.hourElement.select();
|
|
3436
3436
|
}, 50);
|
|
3437
3437
|
}
|
|
3438
|
-
function
|
|
3438
|
+
function Ut(i) {
|
|
3439
3439
|
return function(s) {
|
|
3440
3440
|
var h = e.config["_" + i + "Date"] = e.parseDate(s, e.config.dateFormat), A = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
|
|
3441
3441
|
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(P) {
|
|
3442
3442
|
return Se(P);
|
|
3443
|
-
}), !e.selectedDates.length && i === "min" && g(h), qe()), e.daysContainer && (
|
|
3443
|
+
}), !e.selectedDates.length && i === "min" && g(h), qe()), e.daysContainer && (Jt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!A && h !== void 0 && A.getFullYear() === h.getFullYear());
|
|
3444
3444
|
};
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function cn() {
|
|
3447
3447
|
var i = [
|
|
3448
3448
|
"wrap",
|
|
3449
3449
|
"weekNumbers",
|
|
@@ -3465,35 +3465,35 @@ function Dl(t, n) {
|
|
|
3465
3465
|
return e.config._enable;
|
|
3466
3466
|
},
|
|
3467
3467
|
set: function(q) {
|
|
3468
|
-
e.config._enable =
|
|
3468
|
+
e.config._enable = Kt(q);
|
|
3469
3469
|
}
|
|
3470
3470
|
}), Object.defineProperty(e.config, "disable", {
|
|
3471
3471
|
get: function() {
|
|
3472
3472
|
return e.config._disable;
|
|
3473
3473
|
},
|
|
3474
3474
|
set: function(q) {
|
|
3475
|
-
e.config._disable =
|
|
3475
|
+
e.config._disable = Kt(q);
|
|
3476
3476
|
}
|
|
3477
3477
|
});
|
|
3478
3478
|
var A = s.mode === "time";
|
|
3479
3479
|
if (!s.dateFormat && (s.enableTime || A)) {
|
|
3480
|
-
var P = De.defaultConfig.dateFormat ||
|
|
3480
|
+
var P = De.defaultConfig.dateFormat || zt.dateFormat;
|
|
3481
3481
|
h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : P + " H:i" + (s.enableSeconds ? ":S" : "");
|
|
3482
3482
|
}
|
|
3483
3483
|
if (s.altInput && (s.enableTime || A) && !s.altFormat) {
|
|
3484
|
-
var N = De.defaultConfig.altFormat ||
|
|
3484
|
+
var N = De.defaultConfig.altFormat || zt.altFormat;
|
|
3485
3485
|
h.altFormat = s.noCalendar || A ? "h:i" + (s.enableSeconds ? ":S K" : " K") : N + (" h:i" + (s.enableSeconds ? ":S" : "") + " K");
|
|
3486
3486
|
}
|
|
3487
3487
|
Object.defineProperty(e.config, "minDate", {
|
|
3488
3488
|
get: function() {
|
|
3489
3489
|
return e.config._minDate;
|
|
3490
3490
|
},
|
|
3491
|
-
set:
|
|
3491
|
+
set: Ut("min")
|
|
3492
3492
|
}), Object.defineProperty(e.config, "maxDate", {
|
|
3493
3493
|
get: function() {
|
|
3494
3494
|
return e.config._maxDate;
|
|
3495
3495
|
},
|
|
3496
|
-
set:
|
|
3496
|
+
set: Ut("max")
|
|
3497
3497
|
});
|
|
3498
3498
|
var X = function(q) {
|
|
3499
3499
|
return function(fe) {
|
|
@@ -3513,54 +3513,54 @@ function Dl(t, n) {
|
|
|
3513
3513
|
}), s.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, h, s);
|
|
3514
3514
|
for (var Y = 0; Y < i.length; Y++)
|
|
3515
3515
|
e.config[i[Y]] = e.config[i[Y]] === !0 || e.config[i[Y]] === "true";
|
|
3516
|
-
|
|
3516
|
+
sa.filter(function(q) {
|
|
3517
3517
|
return e.config[q] !== void 0;
|
|
3518
3518
|
}).forEach(function(q) {
|
|
3519
|
-
e.config[q] =
|
|
3519
|
+
e.config[q] = ua(e.config[q] || []).map(l);
|
|
3520
3520
|
}), 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);
|
|
3521
3521
|
for (var Y = 0; Y < e.config.plugins.length; Y++) {
|
|
3522
3522
|
var re = e.config.plugins[Y](e) || {};
|
|
3523
3523
|
for (var B in re)
|
|
3524
|
-
|
|
3524
|
+
sa.indexOf(B) > -1 ? e.config[B] = ua(re[B]).map(l).concat(e.config[B]) : typeof s[B] > "u" && (e.config[B] = re[B]);
|
|
3525
3525
|
}
|
|
3526
|
-
s.altInputClass || (e.config.altInputClass =
|
|
3526
|
+
s.altInputClass || (e.config.altInputClass = Yt().className + " " + e.config.altInputClass), ye("onParseConfig");
|
|
3527
3527
|
}
|
|
3528
|
-
function
|
|
3528
|
+
function Yt() {
|
|
3529
3529
|
return e.config.wrap ? t.querySelector("[data-input]") : t;
|
|
3530
3530
|
}
|
|
3531
|
-
function
|
|
3532
|
-
typeof e.config.locale != "object" && typeof De.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = Oe(Oe({}, De.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? De.l10ns[e.config.locale] : void 0),
|
|
3531
|
+
function Ht() {
|
|
3532
|
+
typeof e.config.locale != "object" && typeof De.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = Oe(Oe({}, De.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? De.l10ns[e.config.locale] : void 0), Dt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", Dt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", Dt.M = "(" + e.l10n.months.shorthand.join("|") + ")", Dt.F = "(" + e.l10n.months.longhand.join("|") + ")", Dt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
|
|
3533
3533
|
var i = Oe(Oe({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
|
|
3534
|
-
i.time_24hr === void 0 && De.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = ao(e), e.parseDate =
|
|
3534
|
+
i.time_24hr === void 0 && De.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = ao(e), e.parseDate = Da({ config: e.config, l10n: e.l10n });
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function wt(i) {
|
|
3537
3537
|
if (typeof e.config.position == "function")
|
|
3538
3538
|
return void e.config.position(e, i);
|
|
3539
3539
|
if (e.calendarContainer !== void 0) {
|
|
3540
3540
|
ye("onPreCalendarPosition");
|
|
3541
|
-
var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(
|
|
3542
|
-
return
|
|
3541
|
+
var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function($n, On) {
|
|
3542
|
+
return $n + On.offsetHeight;
|
|
3543
3543
|
}, 0), A = e.calendarContainer.offsetWidth, P = e.config.position.split(" "), N = P[0], X = P.length > 1 ? P[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
|
|
3544
3544
|
if (Pe(e.calendarContainer, "arrowTop", !B), Pe(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
|
|
3545
3545
|
var fe = window.pageXOffset + Y.left, Be = !1, $e = !1;
|
|
3546
3546
|
X === "center" ? (fe -= (A - Y.width) / 2, Be = !0) : X === "right" && (fe -= A - Y.width, $e = !0), Pe(e.calendarContainer, "arrowLeft", !Be && !$e), Pe(e.calendarContainer, "arrowCenter", Be), Pe(e.calendarContainer, "arrowRight", $e);
|
|
3547
|
-
var dt = window.document.body.offsetWidth - (window.pageXOffset + Y.right), lt = fe + A > window.document.body.offsetWidth,
|
|
3547
|
+
var dt = window.document.body.offsetWidth - (window.pageXOffset + Y.right), lt = fe + A > window.document.body.offsetWidth, An = dt + A > window.document.body.offsetWidth;
|
|
3548
3548
|
if (Pe(e.calendarContainer, "rightMost", lt), !e.config.static)
|
|
3549
3549
|
if (e.calendarContainer.style.top = q + "px", !lt)
|
|
3550
3550
|
e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
|
|
3551
|
-
else if (!
|
|
3551
|
+
else if (!An)
|
|
3552
3552
|
e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = dt + "px";
|
|
3553
3553
|
else {
|
|
3554
|
-
var
|
|
3555
|
-
if (
|
|
3554
|
+
var Nt = fn();
|
|
3555
|
+
if (Nt === void 0)
|
|
3556
3556
|
return;
|
|
3557
|
-
var
|
|
3558
|
-
Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0),
|
|
3557
|
+
var Dn = window.document.body.offsetWidth, _n = Math.max(0, Dn / 2 - A / 2), Mn = ".flatpickr-calendar.centerMost:before", xn = ".flatpickr-calendar.centerMost:after", Sn = Nt.cssRules.length, Tn = "{left:" + Y.left + "px;right:auto;}";
|
|
3558
|
+
Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0), Nt.insertRule(Mn + "," + xn + Tn, Sn), e.calendarContainer.style.left = _n + "px", e.calendarContainer.style.right = "auto";
|
|
3559
3559
|
}
|
|
3560
3560
|
}
|
|
3561
3561
|
}
|
|
3562
3562
|
}
|
|
3563
|
-
function
|
|
3563
|
+
function fn() {
|
|
3564
3564
|
for (var i = null, s = 0; s < document.styleSheets.length; s++) {
|
|
3565
3565
|
var h = document.styleSheets[s];
|
|
3566
3566
|
if (h.cssRules) {
|
|
@@ -3573,19 +3573,19 @@ function Dl(t, n) {
|
|
|
3573
3573
|
break;
|
|
3574
3574
|
}
|
|
3575
3575
|
}
|
|
3576
|
-
return i ??
|
|
3576
|
+
return i ?? mn();
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function mn() {
|
|
3579
3579
|
var i = document.createElement("style");
|
|
3580
3580
|
return document.head.appendChild(i), i.sheet;
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3583
|
-
e.config.noCalendar || e.isMobile || (D(),
|
|
3582
|
+
function Jt() {
|
|
3583
|
+
e.config.noCalendar || e.isMobile || (D(), Ct(), W());
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3585
|
+
function Pt() {
|
|
3586
3586
|
e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
|
|
3587
3587
|
}
|
|
3588
|
-
function
|
|
3588
|
+
function Wt(i) {
|
|
3589
3589
|
i.preventDefault(), i.stopPropagation();
|
|
3590
3590
|
var s = function(q) {
|
|
3591
3591
|
return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
|
|
@@ -3595,7 +3595,7 @@ function Dl(t, n) {
|
|
|
3595
3595
|
if (e.selectedDateElem = A, e.config.mode === "single")
|
|
3596
3596
|
e.selectedDates = [P];
|
|
3597
3597
|
else if (e.config.mode === "multiple") {
|
|
3598
|
-
var X =
|
|
3598
|
+
var X = Ft(P);
|
|
3599
3599
|
X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(P);
|
|
3600
3600
|
} else
|
|
3601
3601
|
e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = P, e.selectedDates.push(P), Ue(P, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
|
|
@@ -3605,39 +3605,39 @@ function Dl(t, n) {
|
|
|
3605
3605
|
var Y = e.currentYear !== P.getFullYear();
|
|
3606
3606
|
e.currentYear = P.getFullYear(), e.currentMonth = P.getMonth(), Y && (ye("onYearChange"), D()), ye("onMonthChange");
|
|
3607
3607
|
}
|
|
3608
|
-
if (
|
|
3608
|
+
if (Ct(), W(), qe(), !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) {
|
|
3609
3609
|
var re = e.config.mode === "single" && !e.config.enableTime, B = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
3610
|
-
(re || B) &&
|
|
3610
|
+
(re || B) && Pt();
|
|
3611
3611
|
}
|
|
3612
3612
|
O();
|
|
3613
3613
|
}
|
|
3614
3614
|
}
|
|
3615
|
-
var
|
|
3616
|
-
locale: [
|
|
3615
|
+
var kt = {
|
|
3616
|
+
locale: [Ht, G],
|
|
3617
3617
|
showMonths: [_, c, j],
|
|
3618
3618
|
minDate: [F],
|
|
3619
3619
|
maxDate: [F],
|
|
3620
|
-
positionElement: [
|
|
3620
|
+
positionElement: [Gt],
|
|
3621
3621
|
clickOpens: [
|
|
3622
3622
|
function() {
|
|
3623
3623
|
e.config.clickOpens === !0 ? (y(e._input, "focus", e.open), y(e._input, "click", e.open)) : (e._input.removeEventListener("focus", e.open), e._input.removeEventListener("click", e.open));
|
|
3624
3624
|
}
|
|
3625
3625
|
]
|
|
3626
3626
|
};
|
|
3627
|
-
function
|
|
3627
|
+
function pn(i, s) {
|
|
3628
3628
|
if (i !== null && typeof i == "object") {
|
|
3629
3629
|
Object.assign(e.config, i);
|
|
3630
3630
|
for (var h in i)
|
|
3631
|
-
|
|
3631
|
+
kt[h] !== void 0 && kt[h].forEach(function(A) {
|
|
3632
3632
|
return A();
|
|
3633
3633
|
});
|
|
3634
3634
|
} else
|
|
3635
|
-
e.config[i] = s,
|
|
3635
|
+
e.config[i] = s, kt[i] !== void 0 ? kt[i].forEach(function(A) {
|
|
3636
3636
|
return A();
|
|
3637
|
-
}) :
|
|
3637
|
+
}) : sa.indexOf(i) > -1 && (e.config[i] = ua(s));
|
|
3638
3638
|
e.redraw(), qe(!0);
|
|
3639
3639
|
}
|
|
3640
|
-
function
|
|
3640
|
+
function qt(i, s) {
|
|
3641
3641
|
var h = [];
|
|
3642
3642
|
if (i instanceof Array)
|
|
3643
3643
|
h = i.map(function(A) {
|
|
@@ -3670,12 +3670,12 @@ function Dl(t, n) {
|
|
|
3670
3670
|
return A.getTime() - P.getTime();
|
|
3671
3671
|
});
|
|
3672
3672
|
}
|
|
3673
|
-
function
|
|
3673
|
+
function hn(i, s, h) {
|
|
3674
3674
|
if (s === void 0 && (s = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
|
|
3675
3675
|
return e.clear(s);
|
|
3676
|
-
|
|
3676
|
+
qt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), g(), e.selectedDates.length === 0 && e.clear(!1), qe(s), s && ye("onChange");
|
|
3677
3677
|
}
|
|
3678
|
-
function
|
|
3678
|
+
function Kt(i) {
|
|
3679
3679
|
return i.slice().map(function(s) {
|
|
3680
3680
|
return typeof s == "string" || typeof s == "number" || s instanceof Date ? e.parseDate(s, void 0, !0) : s && typeof s == "object" && s.from && s.to ? {
|
|
3681
3681
|
from: e.parseDate(s.from, void 0),
|
|
@@ -3685,22 +3685,22 @@ function Dl(t, n) {
|
|
|
3685
3685
|
return s;
|
|
3686
3686
|
});
|
|
3687
3687
|
}
|
|
3688
|
-
function
|
|
3688
|
+
function gn() {
|
|
3689
3689
|
e.selectedDates = [], e.now = e.parseDate(e.config.now) || /* @__PURE__ */ new Date();
|
|
3690
3690
|
var i = e.config.defaultDate || ((e.input.nodeName === "INPUT" || e.input.nodeName === "TEXTAREA") && e.input.placeholder && e.input.value === e.input.placeholder ? null : e.input.value);
|
|
3691
|
-
i &&
|
|
3691
|
+
i && qt(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);
|
|
3692
3692
|
}
|
|
3693
|
-
function
|
|
3694
|
-
if (e.input =
|
|
3693
|
+
function vn() {
|
|
3694
|
+
if (e.input = Yt(), !e.input) {
|
|
3695
3695
|
e.config.errorHandler(new Error("Invalid input element specified"));
|
|
3696
3696
|
return;
|
|
3697
3697
|
}
|
|
3698
|
-
e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = ce(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"),
|
|
3698
|
+
e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = ce(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Gt();
|
|
3699
3699
|
}
|
|
3700
|
-
function
|
|
3700
|
+
function Gt() {
|
|
3701
3701
|
e._positionElement = e.config.positionElement || e._input;
|
|
3702
3702
|
}
|
|
3703
|
-
function
|
|
3703
|
+
function yn() {
|
|
3704
3704
|
var i = e.config.enableTime ? e.config.noCalendar ? "time" : "datetime-local" : "date";
|
|
3705
3705
|
e.mobileInput = ce("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = i, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = i === "datetime-local" ? "Y-m-d\\TH:i:S" : i === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
|
|
3706
3706
|
try {
|
|
@@ -3711,7 +3711,7 @@ function Dl(t, n) {
|
|
|
3711
3711
|
e.setDate(Re(s).value, !1, e.mobileFormatStr), ye("onChange"), ye("onClose");
|
|
3712
3712
|
});
|
|
3713
3713
|
}
|
|
3714
|
-
function
|
|
3714
|
+
function bn(i) {
|
|
3715
3715
|
if (e.isOpen === !0)
|
|
3716
3716
|
return e.close();
|
|
3717
3717
|
e.open(i);
|
|
@@ -3722,14 +3722,14 @@ function Dl(t, n) {
|
|
|
3722
3722
|
if (h !== void 0 && h.length > 0)
|
|
3723
3723
|
for (var A = 0; h[A] && A < h.length; A++)
|
|
3724
3724
|
h[A](e.selectedDates, e.input.value, e, s);
|
|
3725
|
-
i === "onChange" && (e.input.dispatchEvent(
|
|
3725
|
+
i === "onChange" && (e.input.dispatchEvent(It("change")), e.input.dispatchEvent(It("input")));
|
|
3726
3726
|
}
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function It(i) {
|
|
3729
3729
|
var s = document.createEvent("Event");
|
|
3730
3730
|
return s.initEvent(i, !0, !0), s;
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function Ft(i) {
|
|
3733
3733
|
for (var s = 0; s < e.selectedDates.length; s++) {
|
|
3734
3734
|
var h = e.selectedDates[s];
|
|
3735
3735
|
if (h instanceof Date && Ue(h, i) === 0)
|
|
@@ -3737,16 +3737,16 @@ function Dl(t, n) {
|
|
|
3737
3737
|
}
|
|
3738
3738
|
return !1;
|
|
3739
3739
|
}
|
|
3740
|
-
function
|
|
3740
|
+
function wn(i) {
|
|
3741
3741
|
return e.config.mode !== "range" || e.selectedDates.length < 2 ? !1 : Ue(i, e.selectedDates[0]) >= 0 && Ue(i, e.selectedDates[1]) <= 0;
|
|
3742
3742
|
}
|
|
3743
|
-
function
|
|
3743
|
+
function Ct() {
|
|
3744
3744
|
e.config.noCalendar || e.isMobile || !e.monthNav || (e.yearElements.forEach(function(i, s) {
|
|
3745
3745
|
var h = new Date(e.currentYear, e.currentMonth, 1);
|
|
3746
|
-
h.setMonth(e.currentMonth + s), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[s].textContent =
|
|
3746
|
+
h.setMonth(e.currentMonth + s), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[s].textContent = Jn(h.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = h.getMonth().toString(), i.value = h.getFullYear().toString();
|
|
3747
3747
|
}), 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()));
|
|
3748
3748
|
}
|
|
3749
|
-
function
|
|
3749
|
+
function Et(i) {
|
|
3750
3750
|
var s = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
3751
3751
|
return e.selectedDates.map(function(h) {
|
|
3752
3752
|
return e.formatDate(h, s);
|
|
@@ -3755,13 +3755,13 @@ function Dl(t, n) {
|
|
|
3755
3755
|
}).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
|
|
3756
3756
|
}
|
|
3757
3757
|
function qe(i) {
|
|
3758
|
-
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 =
|
|
3758
|
+
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 = Et(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Et(e.config.altFormat)), i !== !1 && ye("onValueUpdate");
|
|
3759
3759
|
}
|
|
3760
|
-
function
|
|
3760
|
+
function kn(i) {
|
|
3761
3761
|
var s = Re(i), h = e.prevMonthNav.contains(s), A = e.nextMonthNav.contains(s);
|
|
3762
3762
|
h || A ? ge(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);
|
|
3763
3763
|
}
|
|
3764
|
-
function
|
|
3764
|
+
function Cn(i) {
|
|
3765
3765
|
i.preventDefault();
|
|
3766
3766
|
var s = i.type === "keydown", h = Re(i), A = h;
|
|
3767
3767
|
e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
@@ -3773,7 +3773,7 @@ function Dl(t, n) {
|
|
|
3773
3773
|
}
|
|
3774
3774
|
return r(), e;
|
|
3775
3775
|
}
|
|
3776
|
-
function
|
|
3776
|
+
function jt(t, n) {
|
|
3777
3777
|
for (var e = Array.prototype.slice.call(t).filter(function(l) {
|
|
3778
3778
|
return l instanceof HTMLElement;
|
|
3779
3779
|
}), a = [], r = 0; r < e.length; r++) {
|
|
@@ -3789,17 +3789,17 @@ function zt(t, n) {
|
|
|
3789
3789
|
return a.length === 1 ? a[0] : a;
|
|
3790
3790
|
}
|
|
3791
3791
|
typeof HTMLElement < "u" && typeof HTMLCollection < "u" && typeof NodeList < "u" && (HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function(t) {
|
|
3792
|
-
return
|
|
3792
|
+
return jt(this, t);
|
|
3793
3793
|
}, HTMLElement.prototype.flatpickr = function(t) {
|
|
3794
|
-
return
|
|
3794
|
+
return jt([this], t);
|
|
3795
3795
|
});
|
|
3796
3796
|
var De = function(t, n) {
|
|
3797
|
-
return typeof t == "string" ?
|
|
3797
|
+
return typeof t == "string" ? jt(window.document.querySelectorAll(t), n) : t instanceof Node ? jt([t], n) : jt(t, n);
|
|
3798
3798
|
};
|
|
3799
3799
|
De.defaultConfig = {};
|
|
3800
3800
|
De.l10ns = {
|
|
3801
|
-
en: Oe({},
|
|
3802
|
-
default: Oe({},
|
|
3801
|
+
en: Oe({}, rn),
|
|
3802
|
+
default: Oe({}, rn)
|
|
3803
3803
|
};
|
|
3804
3804
|
De.localize = function(t) {
|
|
3805
3805
|
De.l10ns.default = Oe(Oe({}, De.l10ns.default), t);
|
|
@@ -3807,11 +3807,11 @@ De.localize = function(t) {
|
|
|
3807
3807
|
De.setDefaults = function(t) {
|
|
3808
3808
|
De.defaultConfig = Oe(Oe({}, De.defaultConfig), t);
|
|
3809
3809
|
};
|
|
3810
|
-
De.parseDate =
|
|
3810
|
+
De.parseDate = Da({});
|
|
3811
3811
|
De.formatDate = ao({});
|
|
3812
3812
|
De.compareDates = Ue;
|
|
3813
3813
|
typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
|
|
3814
|
-
return
|
|
3814
|
+
return jt(this, t);
|
|
3815
3815
|
});
|
|
3816
3816
|
Date.prototype.fp_incr = function(t) {
|
|
3817
3817
|
return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
|
|
@@ -3832,16 +3832,16 @@ const ro = [
|
|
|
3832
3832
|
"onPreCalendarPosition",
|
|
3833
3833
|
"onKeyDown"
|
|
3834
3834
|
];
|
|
3835
|
-
function
|
|
3835
|
+
function br(t) {
|
|
3836
3836
|
return t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function wr(t) {
|
|
3839
3839
|
return t instanceof Array ? t : [t];
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3841
|
+
function ma(t) {
|
|
3842
3842
|
return t && t.length ? t : null;
|
|
3843
3843
|
}
|
|
3844
|
-
const
|
|
3844
|
+
const kr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
3845
3845
|
name: "FlatPickr",
|
|
3846
3846
|
compatConfig: {
|
|
3847
3847
|
MODE: 3
|
|
@@ -3857,7 +3857,7 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3857
3857
|
emits: [
|
|
3858
3858
|
"blur",
|
|
3859
3859
|
"update:modelValue",
|
|
3860
|
-
...
|
|
3860
|
+
...kr.map(br)
|
|
3861
3861
|
],
|
|
3862
3862
|
props: {
|
|
3863
3863
|
modelValue: {
|
|
@@ -3897,12 +3897,12 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3897
3897
|
let t = Object.assign({}, this.config);
|
|
3898
3898
|
this.events.forEach((e) => {
|
|
3899
3899
|
let a = De.defaultConfig[e] || [], r = (...o) => {
|
|
3900
|
-
this.$emit(
|
|
3900
|
+
this.$emit(br(e), ...o);
|
|
3901
3901
|
};
|
|
3902
|
-
t[e] =
|
|
3902
|
+
t[e] = wr(t[e] || []).concat(a, r);
|
|
3903
3903
|
});
|
|
3904
3904
|
const n = this.onClose.bind(this);
|
|
3905
|
-
return t.onClose =
|
|
3905
|
+
return t.onClose = wr(t.onClose || []).concat(n), t.defaultDate = this.modelValue || t.defaultDate, t;
|
|
3906
3906
|
},
|
|
3907
3907
|
/**
|
|
3908
3908
|
* Get the HTML node where flatpickr to be attached
|
|
@@ -3917,7 +3917,7 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3917
3917
|
onInput(t) {
|
|
3918
3918
|
const n = t.target;
|
|
3919
3919
|
ko().then(() => {
|
|
3920
|
-
this.$emit("update:modelValue",
|
|
3920
|
+
this.$emit("update:modelValue", ma(n.value));
|
|
3921
3921
|
});
|
|
3922
3922
|
},
|
|
3923
3923
|
fpInput() {
|
|
@@ -3927,7 +3927,7 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3927
3927
|
* Blur event is required by many validation libraries
|
|
3928
3928
|
*/
|
|
3929
3929
|
onBlur(t) {
|
|
3930
|
-
this.$emit("blur",
|
|
3930
|
+
this.$emit("blur", ma(t.target.value));
|
|
3931
3931
|
},
|
|
3932
3932
|
/**
|
|
3933
3933
|
* Flatpickr does not emit input event in some cases
|
|
@@ -3952,7 +3952,7 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3952
3952
|
if (!this.fp)
|
|
3953
3953
|
return;
|
|
3954
3954
|
let n = Object.assign({}, t);
|
|
3955
|
-
|
|
3955
|
+
kr.forEach((e) => {
|
|
3956
3956
|
delete n[e];
|
|
3957
3957
|
}), this.fp.set(n), Ml.forEach((e) => {
|
|
3958
3958
|
typeof n[e] < "u" && this.fp.set(e, n[e]);
|
|
@@ -3964,19 +3964,19 @@ const wr = [...ro, ..._l], Ml = ["locale", "showMonths"], xl = L({
|
|
|
3964
3964
|
*/
|
|
3965
3965
|
modelValue(t) {
|
|
3966
3966
|
var n;
|
|
3967
|
-
!this.$el || t ===
|
|
3967
|
+
!this.$el || t === ma(this.$el.value) || (n = this.fp) === null || n === void 0 || n.setDate(t, !0);
|
|
3968
3968
|
}
|
|
3969
3969
|
},
|
|
3970
3970
|
beforeUnmount() {
|
|
3971
3971
|
this.fp && (this.fpInput().removeEventListener("blur", this.onBlur), this.fp.destroy(), this.fp = null);
|
|
3972
3972
|
}
|
|
3973
3973
|
});
|
|
3974
|
-
var
|
|
3974
|
+
var _a = {}, Sl = {
|
|
3975
3975
|
get exports() {
|
|
3976
|
-
return
|
|
3976
|
+
return _a;
|
|
3977
3977
|
},
|
|
3978
3978
|
set exports(t) {
|
|
3979
|
-
|
|
3979
|
+
_a = t;
|
|
3980
3980
|
}
|
|
3981
3981
|
};
|
|
3982
3982
|
(function(t, n) {
|
|
@@ -4120,19 +4120,19 @@ var Da = {}, Sl = {
|
|
|
4120
4120
|
);
|
|
4121
4121
|
});
|
|
4122
4122
|
})(Sl);
|
|
4123
|
-
const Tl = /* @__PURE__ */ Wr(
|
|
4124
|
-
var
|
|
4123
|
+
const Tl = /* @__PURE__ */ Wr(_a);
|
|
4124
|
+
var Wn = {}, $l = {
|
|
4125
4125
|
get exports() {
|
|
4126
|
-
return
|
|
4126
|
+
return Wn;
|
|
4127
4127
|
},
|
|
4128
4128
|
set exports(t) {
|
|
4129
|
-
|
|
4129
|
+
Wn = t;
|
|
4130
4130
|
}
|
|
4131
4131
|
};
|
|
4132
4132
|
(function(t, n) {
|
|
4133
4133
|
(function(e, a) {
|
|
4134
4134
|
a(n);
|
|
4135
|
-
})(
|
|
4135
|
+
})(La, function(e) {
|
|
4136
4136
|
/*! *****************************************************************************
|
|
4137
4137
|
Copyright (c) Microsoft Corporation.
|
|
4138
4138
|
|
|
@@ -4149,10 +4149,10 @@ var Jn = {}, $l = {
|
|
|
4149
4149
|
***************************************************************************** */
|
|
4150
4150
|
var a = function() {
|
|
4151
4151
|
return a = Object.assign || function(et) {
|
|
4152
|
-
for (var
|
|
4153
|
-
|
|
4154
|
-
for (var
|
|
4155
|
-
Object.prototype.hasOwnProperty.call(
|
|
4152
|
+
for (var Vn, aa = 1, ho = arguments.length; aa < ho; aa++) {
|
|
4153
|
+
Vn = arguments[aa];
|
|
4154
|
+
for (var ra in Vn)
|
|
4155
|
+
Object.prototype.hasOwnProperty.call(Vn, ra) && (et[ra] = Vn[ra]);
|
|
4156
4156
|
}
|
|
4157
4157
|
return et;
|
|
4158
4158
|
}, a.apply(this, arguments);
|
|
@@ -5409,9 +5409,9 @@ var Jn = {}, $l = {
|
|
|
5409
5409
|
time_24hr: !0
|
|
5410
5410
|
};
|
|
5411
5411
|
it.l10ns.he = We, it.l10ns;
|
|
5412
|
-
var
|
|
5412
|
+
var un = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5413
5413
|
l10ns: {}
|
|
5414
|
-
},
|
|
5414
|
+
}, dn = {
|
|
5415
5415
|
weekdays: {
|
|
5416
5416
|
shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
|
|
5417
5417
|
longhand: [
|
|
@@ -5455,10 +5455,10 @@ var Jn = {}, $l = {
|
|
|
5455
5455
|
]
|
|
5456
5456
|
}
|
|
5457
5457
|
};
|
|
5458
|
-
|
|
5459
|
-
var
|
|
5458
|
+
un.l10ns.hi = dn, un.l10ns;
|
|
5459
|
+
var Ut = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5460
5460
|
l10ns: {}
|
|
5461
|
-
},
|
|
5461
|
+
}, cn = {
|
|
5462
5462
|
firstDayOfWeek: 1,
|
|
5463
5463
|
weekdays: {
|
|
5464
5464
|
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
|
|
@@ -5504,10 +5504,10 @@ var Jn = {}, $l = {
|
|
|
5504
5504
|
},
|
|
5505
5505
|
time_24hr: !0
|
|
5506
5506
|
};
|
|
5507
|
-
|
|
5508
|
-
var
|
|
5507
|
+
Ut.l10ns.hr = cn, Ut.l10ns;
|
|
5508
|
+
var Yt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5509
5509
|
l10ns: {}
|
|
5510
|
-
},
|
|
5510
|
+
}, Ht = {
|
|
5511
5511
|
firstDayOfWeek: 1,
|
|
5512
5512
|
weekdays: {
|
|
5513
5513
|
shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
|
|
@@ -5560,10 +5560,10 @@ var Jn = {}, $l = {
|
|
|
5560
5560
|
rangeSeparator: " - ",
|
|
5561
5561
|
time_24hr: !0
|
|
5562
5562
|
};
|
|
5563
|
-
|
|
5564
|
-
var
|
|
5563
|
+
Yt.l10ns.hu = Ht, Yt.l10ns;
|
|
5564
|
+
var wt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5565
5565
|
l10ns: {}
|
|
5566
|
-
},
|
|
5566
|
+
}, fn = {
|
|
5567
5567
|
weekdays: {
|
|
5568
5568
|
shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
|
|
5569
5569
|
longhand: [
|
|
@@ -5621,10 +5621,10 @@ var Jn = {}, $l = {
|
|
|
5621
5621
|
minuteAriaLabel: "Րոպե",
|
|
5622
5622
|
time_24hr: !0
|
|
5623
5623
|
};
|
|
5624
|
-
|
|
5625
|
-
var
|
|
5624
|
+
wt.l10ns.hy = fn, wt.l10ns;
|
|
5625
|
+
var mn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5626
5626
|
l10ns: {}
|
|
5627
|
-
},
|
|
5627
|
+
}, Jt = {
|
|
5628
5628
|
weekdays: {
|
|
5629
5629
|
shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
|
5630
5630
|
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
|
|
@@ -5666,10 +5666,10 @@ var Jn = {}, $l = {
|
|
|
5666
5666
|
time_24hr: !0,
|
|
5667
5667
|
rangeSeparator: " - "
|
|
5668
5668
|
};
|
|
5669
|
-
|
|
5670
|
-
var
|
|
5669
|
+
mn.l10ns.id = Jt, mn.l10ns;
|
|
5670
|
+
var Pt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5671
5671
|
l10ns: {}
|
|
5672
|
-
},
|
|
5672
|
+
}, Wt = {
|
|
5673
5673
|
weekdays: {
|
|
5674
5674
|
shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
|
|
5675
5675
|
longhand: [
|
|
@@ -5721,10 +5721,10 @@ var Jn = {}, $l = {
|
|
|
5721
5721
|
yearAriaLabel: "Ár",
|
|
5722
5722
|
time_24hr: !0
|
|
5723
5723
|
};
|
|
5724
|
-
|
|
5725
|
-
var
|
|
5724
|
+
Pt.l10ns.is = Wt, Pt.l10ns;
|
|
5725
|
+
var kt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5726
5726
|
l10ns: {}
|
|
5727
|
-
},
|
|
5727
|
+
}, pn = {
|
|
5728
5728
|
weekdays: {
|
|
5729
5729
|
shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
|
|
5730
5730
|
longhand: [
|
|
@@ -5777,10 +5777,10 @@ var Jn = {}, $l = {
|
|
|
5777
5777
|
toggleTitle: "Clicca per cambiare",
|
|
5778
5778
|
time_24hr: !0
|
|
5779
5779
|
};
|
|
5780
|
-
|
|
5781
|
-
var
|
|
5780
|
+
kt.l10ns.it = pn, kt.l10ns;
|
|
5781
|
+
var qt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5782
5782
|
l10ns: {}
|
|
5783
|
-
},
|
|
5783
|
+
}, hn = {
|
|
5784
5784
|
weekdays: {
|
|
5785
5785
|
shorthand: ["日", "月", "火", "水", "木", "金", "土"],
|
|
5786
5786
|
longhand: [
|
|
@@ -5831,10 +5831,10 @@ var Jn = {}, $l = {
|
|
|
5831
5831
|
hourAriaLabel: "時間",
|
|
5832
5832
|
minuteAriaLabel: "分"
|
|
5833
5833
|
};
|
|
5834
|
-
|
|
5835
|
-
var
|
|
5834
|
+
qt.l10ns.ja = hn, qt.l10ns;
|
|
5835
|
+
var Kt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5836
5836
|
l10ns: {}
|
|
5837
|
-
},
|
|
5837
|
+
}, gn = {
|
|
5838
5838
|
weekdays: {
|
|
5839
5839
|
shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
|
|
5840
5840
|
longhand: [
|
|
@@ -5889,10 +5889,10 @@ var Jn = {}, $l = {
|
|
|
5889
5889
|
yearAriaLabel: "წელი",
|
|
5890
5890
|
time_24hr: !0
|
|
5891
5891
|
};
|
|
5892
|
-
|
|
5893
|
-
var
|
|
5892
|
+
Kt.l10ns.ka = gn, Kt.l10ns;
|
|
5893
|
+
var vn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5894
5894
|
l10ns: {}
|
|
5895
|
-
},
|
|
5895
|
+
}, Gt = {
|
|
5896
5896
|
weekdays: {
|
|
5897
5897
|
shorthand: ["일", "월", "화", "수", "목", "금", "토"],
|
|
5898
5898
|
longhand: [
|
|
@@ -5941,10 +5941,10 @@ var Jn = {}, $l = {
|
|
|
5941
5941
|
rangeSeparator: " ~ ",
|
|
5942
5942
|
amPM: ["오전", "오후"]
|
|
5943
5943
|
};
|
|
5944
|
-
|
|
5945
|
-
var
|
|
5944
|
+
vn.l10ns.ko = Gt, vn.l10ns;
|
|
5945
|
+
var yn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5946
5946
|
l10ns: {}
|
|
5947
|
-
},
|
|
5947
|
+
}, bn = {
|
|
5948
5948
|
weekdays: {
|
|
5949
5949
|
shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"],
|
|
5950
5950
|
longhand: [
|
|
@@ -5998,10 +5998,10 @@ var Jn = {}, $l = {
|
|
|
5998
5998
|
yearAriaLabel: "ឆ្នាំ",
|
|
5999
5999
|
time_24hr: !0
|
|
6000
6000
|
};
|
|
6001
|
-
|
|
6001
|
+
yn.l10ns.km = bn, yn.l10ns;
|
|
6002
6002
|
var ye = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6003
6003
|
l10ns: {}
|
|
6004
|
-
},
|
|
6004
|
+
}, It = {
|
|
6005
6005
|
weekdays: {
|
|
6006
6006
|
shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"],
|
|
6007
6007
|
longhand: [
|
|
@@ -6055,10 +6055,10 @@ var Jn = {}, $l = {
|
|
|
6055
6055
|
amPM: ["ТД", "ТК"],
|
|
6056
6056
|
yearAriaLabel: "Жыл"
|
|
6057
6057
|
};
|
|
6058
|
-
ye.l10ns.kz =
|
|
6059
|
-
var
|
|
6058
|
+
ye.l10ns.kz = It, ye.l10ns;
|
|
6059
|
+
var Ft = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6060
6060
|
l10ns: {}
|
|
6061
|
-
},
|
|
6061
|
+
}, wn = {
|
|
6062
6062
|
weekdays: {
|
|
6063
6063
|
shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"],
|
|
6064
6064
|
longhand: [
|
|
@@ -6111,10 +6111,10 @@ var Jn = {}, $l = {
|
|
|
6111
6111
|
toggleTitle: "Perjungti laiko formatą",
|
|
6112
6112
|
time_24hr: !0
|
|
6113
6113
|
};
|
|
6114
|
-
|
|
6115
|
-
var
|
|
6114
|
+
Ft.l10ns.lt = wn, Ft.l10ns;
|
|
6115
|
+
var Ct = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6116
6116
|
l10ns: {}
|
|
6117
|
-
},
|
|
6117
|
+
}, Et = {
|
|
6118
6118
|
firstDayOfWeek: 1,
|
|
6119
6119
|
weekdays: {
|
|
6120
6120
|
shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
|
|
@@ -6161,10 +6161,10 @@ var Jn = {}, $l = {
|
|
|
6161
6161
|
rangeSeparator: " līdz ",
|
|
6162
6162
|
time_24hr: !0
|
|
6163
6163
|
};
|
|
6164
|
-
|
|
6164
|
+
Ct.l10ns.lv = Et, Ct.l10ns;
|
|
6165
6165
|
var qe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6166
6166
|
l10ns: {}
|
|
6167
|
-
},
|
|
6167
|
+
}, kn = {
|
|
6168
6168
|
weekdays: {
|
|
6169
6169
|
shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"],
|
|
6170
6170
|
longhand: [
|
|
@@ -6212,8 +6212,8 @@ var Jn = {}, $l = {
|
|
|
6212
6212
|
rangeSeparator: " до ",
|
|
6213
6213
|
time_24hr: !0
|
|
6214
6214
|
};
|
|
6215
|
-
qe.l10ns.mk =
|
|
6216
|
-
var
|
|
6215
|
+
qe.l10ns.mk = kn, qe.l10ns;
|
|
6216
|
+
var Cn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6217
6217
|
l10ns: {}
|
|
6218
6218
|
}, i = {
|
|
6219
6219
|
firstDayOfWeek: 1,
|
|
@@ -6254,7 +6254,7 @@ var Jn = {}, $l = {
|
|
|
6254
6254
|
rangeSeparator: "-с ",
|
|
6255
6255
|
time_24hr: !0
|
|
6256
6256
|
};
|
|
6257
|
-
|
|
6257
|
+
Cn.l10ns.mn = i, Cn.l10ns;
|
|
6258
6258
|
var s = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6259
6259
|
l10ns: {}
|
|
6260
6260
|
}, h = {
|
|
@@ -6624,7 +6624,7 @@ var Jn = {}, $l = {
|
|
|
6624
6624
|
$e.l10ns.pl = dt, $e.l10ns;
|
|
6625
6625
|
var lt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6626
6626
|
l10ns: {}
|
|
6627
|
-
},
|
|
6627
|
+
}, An = {
|
|
6628
6628
|
weekdays: {
|
|
6629
6629
|
shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
|
|
6630
6630
|
longhand: [
|
|
@@ -6670,10 +6670,10 @@ var Jn = {}, $l = {
|
|
|
6670
6670
|
rangeSeparator: " até ",
|
|
6671
6671
|
time_24hr: !0
|
|
6672
6672
|
};
|
|
6673
|
-
lt.l10ns.pt =
|
|
6674
|
-
var
|
|
6673
|
+
lt.l10ns.pt = An, lt.l10ns;
|
|
6674
|
+
var Nt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6675
6675
|
l10ns: {}
|
|
6676
|
-
},
|
|
6676
|
+
}, Dn = {
|
|
6677
6677
|
weekdays: {
|
|
6678
6678
|
shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"],
|
|
6679
6679
|
longhand: [
|
|
@@ -6722,10 +6722,10 @@ var Jn = {}, $l = {
|
|
|
6722
6722
|
return "";
|
|
6723
6723
|
}
|
|
6724
6724
|
};
|
|
6725
|
-
|
|
6726
|
-
var
|
|
6725
|
+
Nt.l10ns.ro = Dn, Nt.l10ns;
|
|
6726
|
+
var _n = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6727
6727
|
l10ns: {}
|
|
6728
|
-
},
|
|
6728
|
+
}, Mn = {
|
|
6729
6729
|
weekdays: {
|
|
6730
6730
|
shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
|
6731
6731
|
longhand: [
|
|
@@ -6780,10 +6780,10 @@ var Jn = {}, $l = {
|
|
|
6780
6780
|
yearAriaLabel: "Год",
|
|
6781
6781
|
time_24hr: !0
|
|
6782
6782
|
};
|
|
6783
|
-
|
|
6784
|
-
var
|
|
6783
|
+
_n.l10ns.ru = Mn, _n.l10ns;
|
|
6784
|
+
var xn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6785
6785
|
l10ns: {}
|
|
6786
|
-
},
|
|
6786
|
+
}, Sn = {
|
|
6787
6787
|
weekdays: {
|
|
6788
6788
|
shorthand: ["ඉ", "ස", "අ", "බ", "බ්ර", "සි", "සෙ"],
|
|
6789
6789
|
longhand: [
|
|
@@ -6828,10 +6828,10 @@ var Jn = {}, $l = {
|
|
|
6828
6828
|
},
|
|
6829
6829
|
time_24hr: !0
|
|
6830
6830
|
};
|
|
6831
|
-
|
|
6832
|
-
var
|
|
6831
|
+
xn.l10ns.si = Sn, xn.l10ns;
|
|
6832
|
+
var Tn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6833
6833
|
l10ns: {}
|
|
6834
|
-
},
|
|
6834
|
+
}, $n = {
|
|
6835
6835
|
weekdays: {
|
|
6836
6836
|
shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
|
|
6837
6837
|
longhand: [
|
|
@@ -6881,10 +6881,10 @@ var Jn = {}, $l = {
|
|
|
6881
6881
|
return ".";
|
|
6882
6882
|
}
|
|
6883
6883
|
};
|
|
6884
|
-
|
|
6885
|
-
var
|
|
6884
|
+
Tn.l10ns.sk = $n, Tn.l10ns;
|
|
6885
|
+
var On = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6886
6886
|
l10ns: {}
|
|
6887
|
-
},
|
|
6887
|
+
}, ja = {
|
|
6888
6888
|
weekdays: {
|
|
6889
6889
|
shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
|
|
6890
6890
|
longhand: [
|
|
@@ -6934,10 +6934,10 @@ var Jn = {}, $l = {
|
|
|
6934
6934
|
return ".";
|
|
6935
6935
|
}
|
|
6936
6936
|
};
|
|
6937
|
-
|
|
6938
|
-
var
|
|
6937
|
+
On.l10ns.sl = ja, On.l10ns;
|
|
6938
|
+
var Ba = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6939
6939
|
l10ns: {}
|
|
6940
|
-
},
|
|
6940
|
+
}, Ra = {
|
|
6941
6941
|
weekdays: {
|
|
6942
6942
|
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
|
|
6943
6943
|
longhand: [
|
|
@@ -6989,10 +6989,10 @@ var Jn = {}, $l = {
|
|
|
6989
6989
|
minuteAriaLabel: "Minuta",
|
|
6990
6990
|
time_24hr: !0
|
|
6991
6991
|
};
|
|
6992
|
-
|
|
6993
|
-
var
|
|
6992
|
+
Ba.l10ns.sq = Ra, Ba.l10ns;
|
|
6993
|
+
var Ua = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6994
6994
|
l10ns: {}
|
|
6995
|
-
},
|
|
6995
|
+
}, Ya = {
|
|
6996
6996
|
weekdays: {
|
|
6997
6997
|
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
|
|
6998
6998
|
longhand: [
|
|
@@ -7040,10 +7040,10 @@ var Jn = {}, $l = {
|
|
|
7040
7040
|
rangeSeparator: " do ",
|
|
7041
7041
|
time_24hr: !0
|
|
7042
7042
|
};
|
|
7043
|
-
|
|
7044
|
-
var
|
|
7043
|
+
Ua.l10ns.sr = Ya, Ua.l10ns;
|
|
7044
|
+
var Ha = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7045
7045
|
l10ns: {}
|
|
7046
|
-
},
|
|
7046
|
+
}, Ja = {
|
|
7047
7047
|
firstDayOfWeek: 1,
|
|
7048
7048
|
weekAbbreviation: "v",
|
|
7049
7049
|
weekdays: {
|
|
@@ -7094,10 +7094,10 @@ var Jn = {}, $l = {
|
|
|
7094
7094
|
return ".";
|
|
7095
7095
|
}
|
|
7096
7096
|
};
|
|
7097
|
-
|
|
7098
|
-
var
|
|
7097
|
+
Ha.l10ns.sv = Ja, Ha.l10ns;
|
|
7098
|
+
var Wa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7099
7099
|
l10ns: {}
|
|
7100
|
-
},
|
|
7100
|
+
}, qa = {
|
|
7101
7101
|
weekdays: {
|
|
7102
7102
|
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
|
|
7103
7103
|
longhand: [
|
|
@@ -7149,10 +7149,10 @@ var Jn = {}, $l = {
|
|
|
7149
7149
|
return "";
|
|
7150
7150
|
}
|
|
7151
7151
|
};
|
|
7152
|
-
|
|
7153
|
-
var
|
|
7152
|
+
Wa.l10ns.th = qa, Wa.l10ns;
|
|
7153
|
+
var Ka = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7154
7154
|
l10ns: {}
|
|
7155
|
-
},
|
|
7155
|
+
}, Ga = {
|
|
7156
7156
|
weekdays: {
|
|
7157
7157
|
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
|
|
7158
7158
|
longhand: [
|
|
@@ -7206,10 +7206,10 @@ var Jn = {}, $l = {
|
|
|
7206
7206
|
amPM: ["ÖÖ", "ÖS"],
|
|
7207
7207
|
time_24hr: !0
|
|
7208
7208
|
};
|
|
7209
|
-
|
|
7210
|
-
var
|
|
7209
|
+
Ka.l10ns.tr = Ga, Ka.l10ns;
|
|
7210
|
+
var Za = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7211
7211
|
l10ns: {}
|
|
7212
|
-
},
|
|
7212
|
+
}, Qa = {
|
|
7213
7213
|
firstDayOfWeek: 1,
|
|
7214
7214
|
weekdays: {
|
|
7215
7215
|
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
|
@@ -7255,10 +7255,10 @@ var Jn = {}, $l = {
|
|
|
7255
7255
|
},
|
|
7256
7256
|
time_24hr: !0
|
|
7257
7257
|
};
|
|
7258
|
-
|
|
7259
|
-
var
|
|
7258
|
+
Za.l10ns.uk = Qa, Za.l10ns;
|
|
7259
|
+
var Xa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7260
7260
|
l10ns: {}
|
|
7261
|
-
},
|
|
7261
|
+
}, er = {
|
|
7262
7262
|
weekdays: {
|
|
7263
7263
|
shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
|
|
7264
7264
|
longhand: [
|
|
@@ -7313,10 +7313,10 @@ var Jn = {}, $l = {
|
|
|
7313
7313
|
yearAriaLabel: "Йил",
|
|
7314
7314
|
time_24hr: !0
|
|
7315
7315
|
};
|
|
7316
|
-
|
|
7317
|
-
var
|
|
7316
|
+
Xa.l10ns.uz = er, Xa.l10ns;
|
|
7317
|
+
var tr = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7318
7318
|
l10ns: {}
|
|
7319
|
-
},
|
|
7319
|
+
}, nr = {
|
|
7320
7320
|
weekdays: {
|
|
7321
7321
|
shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
|
|
7322
7322
|
longhand: [
|
|
@@ -7371,10 +7371,10 @@ var Jn = {}, $l = {
|
|
|
7371
7371
|
yearAriaLabel: "Yil",
|
|
7372
7372
|
time_24hr: !0
|
|
7373
7373
|
};
|
|
7374
|
-
|
|
7375
|
-
var
|
|
7374
|
+
tr.l10ns.uz_latn = nr, tr.l10ns;
|
|
7375
|
+
var ar = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7376
7376
|
l10ns: {}
|
|
7377
|
-
},
|
|
7377
|
+
}, rr = {
|
|
7378
7378
|
weekdays: {
|
|
7379
7379
|
shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
|
|
7380
7380
|
longhand: [
|
|
@@ -7420,10 +7420,10 @@ var Jn = {}, $l = {
|
|
|
7420
7420
|
firstDayOfWeek: 1,
|
|
7421
7421
|
rangeSeparator: " đến "
|
|
7422
7422
|
};
|
|
7423
|
-
|
|
7424
|
-
var
|
|
7423
|
+
ar.l10ns.vn = rr, ar.l10ns;
|
|
7424
|
+
var or = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7425
7425
|
l10ns: {}
|
|
7426
|
-
},
|
|
7426
|
+
}, ir = {
|
|
7427
7427
|
weekdays: {
|
|
7428
7428
|
shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
|
7429
7429
|
longhand: [
|
|
@@ -7471,10 +7471,10 @@ var Jn = {}, $l = {
|
|
|
7471
7471
|
scrollTitle: "滚动切换",
|
|
7472
7472
|
toggleTitle: "点击切换 12/24 小时时制"
|
|
7473
7473
|
};
|
|
7474
|
-
|
|
7475
|
-
var
|
|
7474
|
+
or.l10ns.zh = ir, or.l10ns;
|
|
7475
|
+
var lr = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7476
7476
|
l10ns: {}
|
|
7477
|
-
},
|
|
7477
|
+
}, sr = {
|
|
7478
7478
|
weekdays: {
|
|
7479
7479
|
shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
|
|
7480
7480
|
longhand: [
|
|
@@ -7522,7 +7522,7 @@ var Jn = {}, $l = {
|
|
|
7522
7522
|
scrollTitle: "滾動切換",
|
|
7523
7523
|
toggleTitle: "點擊切換 12/24 小時時制"
|
|
7524
7524
|
};
|
|
7525
|
-
|
|
7525
|
+
lr.l10ns.zh_tw = sr, lr.l10ns;
|
|
7526
7526
|
var po = {
|
|
7527
7527
|
ar: o,
|
|
7528
7528
|
at: c,
|
|
@@ -7549,21 +7549,21 @@ var Jn = {}, $l = {
|
|
|
7549
7549
|
fr: Se,
|
|
7550
7550
|
gr: je,
|
|
7551
7551
|
he: We,
|
|
7552
|
-
hi:
|
|
7553
|
-
hr:
|
|
7554
|
-
hu:
|
|
7555
|
-
hy:
|
|
7556
|
-
id:
|
|
7557
|
-
is:
|
|
7558
|
-
it:
|
|
7559
|
-
ja:
|
|
7560
|
-
ka:
|
|
7561
|
-
ko:
|
|
7562
|
-
km:
|
|
7563
|
-
kz:
|
|
7564
|
-
lt:
|
|
7565
|
-
lv:
|
|
7566
|
-
mk:
|
|
7552
|
+
hi: dn,
|
|
7553
|
+
hr: cn,
|
|
7554
|
+
hu: Ht,
|
|
7555
|
+
hy: fn,
|
|
7556
|
+
id: Jt,
|
|
7557
|
+
is: Wt,
|
|
7558
|
+
it: pn,
|
|
7559
|
+
ja: hn,
|
|
7560
|
+
ka: gn,
|
|
7561
|
+
ko: Gt,
|
|
7562
|
+
km: bn,
|
|
7563
|
+
kz: It,
|
|
7564
|
+
lt: wn,
|
|
7565
|
+
lv: Et,
|
|
7566
|
+
mk: kn,
|
|
7567
7567
|
mn: i,
|
|
7568
7568
|
ms: h,
|
|
7569
7569
|
my: P,
|
|
@@ -7572,28 +7572,28 @@ var Jn = {}, $l = {
|
|
|
7572
7572
|
no: q,
|
|
7573
7573
|
pa: Be,
|
|
7574
7574
|
pl: dt,
|
|
7575
|
-
pt:
|
|
7576
|
-
ro:
|
|
7577
|
-
ru:
|
|
7578
|
-
si:
|
|
7579
|
-
sk:
|
|
7580
|
-
sl:
|
|
7581
|
-
sq:
|
|
7582
|
-
sr:
|
|
7583
|
-
sv:
|
|
7584
|
-
th:
|
|
7585
|
-
tr:
|
|
7586
|
-
uk:
|
|
7587
|
-
vn:
|
|
7588
|
-
zh:
|
|
7589
|
-
zh_tw:
|
|
7590
|
-
uz:
|
|
7591
|
-
uz_latn:
|
|
7575
|
+
pt: An,
|
|
7576
|
+
ro: Dn,
|
|
7577
|
+
ru: Mn,
|
|
7578
|
+
si: Sn,
|
|
7579
|
+
sk: $n,
|
|
7580
|
+
sl: ja,
|
|
7581
|
+
sq: Ra,
|
|
7582
|
+
sr: Ya,
|
|
7583
|
+
sv: Ja,
|
|
7584
|
+
th: qa,
|
|
7585
|
+
tr: Ga,
|
|
7586
|
+
uk: Qa,
|
|
7587
|
+
vn: rr,
|
|
7588
|
+
zh: ir,
|
|
7589
|
+
zh_tw: sr,
|
|
7590
|
+
uz: er,
|
|
7591
|
+
uz_latn: nr
|
|
7592
7592
|
};
|
|
7593
7593
|
e.default = po, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
7594
7594
|
});
|
|
7595
|
-
})($l,
|
|
7596
|
-
const Ol = /* @__PURE__ */ Wr(
|
|
7595
|
+
})($l, Wn);
|
|
7596
|
+
const Ol = /* @__PURE__ */ Wr(Wn);
|
|
7597
7597
|
const { t: Vl } = le.global;
|
|
7598
7598
|
function oo() {
|
|
7599
7599
|
return Ze({ t: Vl })(Po, {
|
|
@@ -7726,7 +7726,7 @@ const Pl = {
|
|
|
7726
7726
|
}
|
|
7727
7727
|
},
|
|
7728
7728
|
{ immediate: !0 }
|
|
7729
|
-
), (C, _) => (w(), E(
|
|
7729
|
+
), (C, _) => (w(), E(Gn, {
|
|
7730
7730
|
ref_key: "textFieldRef",
|
|
7731
7731
|
ref: o,
|
|
7732
7732
|
modelValue: u.value,
|
|
@@ -7736,8 +7736,8 @@ const Pl = {
|
|
|
7736
7736
|
placeholder: f(U),
|
|
7737
7737
|
class: "a-datetime-picker",
|
|
7738
7738
|
onBlur: V,
|
|
7739
|
-
onKeyup:
|
|
7740
|
-
},
|
|
7739
|
+
onKeyup: $r(V, ["enter"])
|
|
7740
|
+
}, on({
|
|
7741
7741
|
"append-inner": v(() => [
|
|
7742
7742
|
t.clearable && t.defaultValue !== t.modelValue ? (w(), E(me, {
|
|
7743
7743
|
key: 0,
|
|
@@ -7777,7 +7777,7 @@ const Pl = {
|
|
|
7777
7777
|
]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
|
|
7778
7778
|
}
|
|
7779
7779
|
});
|
|
7780
|
-
const io = /* @__PURE__ */
|
|
7780
|
+
const io = /* @__PURE__ */ bt(Il, [["__scopeId", "data-v-0573e4a9"]]), wh = /* @__PURE__ */ L({
|
|
7781
7781
|
__name: "AFormDatetimePicker",
|
|
7782
7782
|
props: {
|
|
7783
7783
|
modelValue: null,
|
|
@@ -7847,7 +7847,7 @@ const io = /* @__PURE__ */ yt(Il, [["__scopeId", "data-v-0573e4a9"]]), wh = /* @
|
|
|
7847
7847
|
}, null, 8, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
|
|
7848
7848
|
}
|
|
7849
7849
|
});
|
|
7850
|
-
function
|
|
7850
|
+
function na(t = "createdAt") {
|
|
7851
7851
|
return Co({
|
|
7852
7852
|
sortBy: t,
|
|
7853
7853
|
descending: !0,
|
|
@@ -7896,7 +7896,7 @@ const Fl = {
|
|
|
7896
7896
|
set(M) {
|
|
7897
7897
|
n("update:modelValue", mt(M));
|
|
7898
7898
|
}
|
|
7899
|
-
}), r = J(""), o = J(!1), l = J(void 0), { t: c } = K({ useScope: "global" }), { innerFilter: u } =
|
|
7899
|
+
}), r = J(""), o = J(!1), l = J(void 0), { t: c } = K({ useScope: "global" }), { innerFilter: u } = Sa(e), p = ke(rt, void 0), m = ke(ot, void 0), d = () => {
|
|
7900
7900
|
var M;
|
|
7901
7901
|
o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
|
|
7902
7902
|
}, g = x(() => {
|
|
@@ -7913,7 +7913,7 @@ const Fl = {
|
|
|
7913
7913
|
}), I = x(() => {
|
|
7914
7914
|
var M, S;
|
|
7915
7915
|
return T(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((S = e.v) == null ? void 0 : S.required.$params.type) === "required" : e.required;
|
|
7916
|
-
}), y = x(() => e.multiple !== !1), O =
|
|
7916
|
+
}), y = x(() => e.multiple !== !1), O = na(e.filterSortBy), V = J([]), F = J([]), R = x(() => {
|
|
7917
7917
|
const M = /* @__PURE__ */ new Map();
|
|
7918
7918
|
return F.value.forEach((S) => {
|
|
7919
7919
|
M.set(S.value, { value: S.value, title: S.title });
|
|
@@ -7970,7 +7970,7 @@ const Fl = {
|
|
|
7970
7970
|
}
|
|
7971
7971
|
},
|
|
7972
7972
|
{ immediate: !0 }
|
|
7973
|
-
),
|
|
7973
|
+
), Ia(
|
|
7974
7974
|
r,
|
|
7975
7975
|
(M, S) => {
|
|
7976
7976
|
M !== S && (ee(M), n("searchChangeDebounced", M));
|
|
@@ -7978,7 +7978,7 @@ const Fl = {
|
|
|
7978
7978
|
{ debounce: 300, maxWait: 1e3 }
|
|
7979
7979
|
), Ve(r, (M, S) => {
|
|
7980
7980
|
M !== S && n("searchChange", M);
|
|
7981
|
-
}), (M, S) => (w(), E(
|
|
7981
|
+
}), (M, S) => (w(), E(sn, {
|
|
7982
7982
|
modelValue: f(a),
|
|
7983
7983
|
"onUpdate:modelValue": S[0] || (S[0] = (j) => Ye(a) ? a.value = j : null),
|
|
7984
7984
|
items: f(R),
|
|
@@ -8039,7 +8039,7 @@ const Fl = {
|
|
|
8039
8039
|
};
|
|
8040
8040
|
return Ve(m, (k, I) => {
|
|
8041
8041
|
k !== I && (d.value = k, u.value = !1);
|
|
8042
|
-
}),
|
|
8042
|
+
}), Kn(() => {
|
|
8043
8043
|
p.value = "remote-switch-" + Date.now();
|
|
8044
8044
|
}), (k, I) => (w(), H("div", El, [
|
|
8045
8045
|
b(Uo, {
|
|
@@ -8090,7 +8090,7 @@ const Fl = {
|
|
|
8090
8090
|
};
|
|
8091
8091
|
return Ve(m, (k, I) => {
|
|
8092
8092
|
k !== I && (d.value = k, u.value = !1);
|
|
8093
|
-
}),
|
|
8093
|
+
}), Kn(() => {
|
|
8094
8094
|
p.value = "a-remote-switch-" + Date.now();
|
|
8095
8095
|
}), (k, I) => (w(), H("div", Ll, [
|
|
8096
8096
|
b(oe, {
|
|
@@ -8112,7 +8112,7 @@ const Fl = {
|
|
|
8112
8112
|
"hide-details": t.hideDetails,
|
|
8113
8113
|
density: "compact",
|
|
8114
8114
|
onClick: ne(g, ["stop"])
|
|
8115
|
-
},
|
|
8115
|
+
}, on({ _: 2 }, [
|
|
8116
8116
|
u.value ? {
|
|
8117
8117
|
name: "append",
|
|
8118
8118
|
fn: v(() => [
|
|
@@ -8182,7 +8182,7 @@ const jl = { key: 0 }, Bl = {
|
|
|
8182
8182
|
var g, k;
|
|
8183
8183
|
return T(e.required) ? !!((g = e.v) != null && g.required && ((k = e.v) == null ? void 0 : k.required.$params.type) === "required") : e.required;
|
|
8184
8184
|
}), d = x(() => e.multiple !== !1);
|
|
8185
|
-
return (g, k) => (w(), E(
|
|
8185
|
+
return (g, k) => (w(), E(sn, {
|
|
8186
8186
|
modelValue: f(a),
|
|
8187
8187
|
"onUpdate:modelValue": k[0] || (k[0] = (I) => Ye(a) ? a.value = I : null),
|
|
8188
8188
|
items: t.items,
|
|
@@ -8211,7 +8211,7 @@ const jl = { key: 0 }, Bl = {
|
|
|
8211
8211
|
},
|
|
8212
8212
|
emits: ["update:modelValue", "change"],
|
|
8213
8213
|
setup(t, { emit: n }) {
|
|
8214
|
-
const e = t, { clearOne: a } =
|
|
8214
|
+
const e = t, { clearOne: a } = za(), r = x({
|
|
8215
8215
|
get() {
|
|
8216
8216
|
return e.modelValue.model;
|
|
8217
8217
|
},
|
|
@@ -8219,7 +8219,7 @@ const jl = { key: 0 }, Bl = {
|
|
|
8219
8219
|
n("update:modelValue", { ...e.modelValue, model: u }), n("change");
|
|
8220
8220
|
}
|
|
8221
8221
|
}), { t: o } = K(), l = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), c = x(() => e.modelValue.multiple !== !1);
|
|
8222
|
-
return (u, p) => (w(), E(
|
|
8222
|
+
return (u, p) => (w(), E(sn, {
|
|
8223
8223
|
modelValue: f(r),
|
|
8224
8224
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ye(r) ? r.value = m : null),
|
|
8225
8225
|
items: t.items,
|
|
@@ -8253,9 +8253,9 @@ const jl = { key: 0 }, Bl = {
|
|
|
8253
8253
|
set(W) {
|
|
8254
8254
|
n("update:modelValue", { ...e.modelValue, model: mt(W) });
|
|
8255
8255
|
}
|
|
8256
|
-
}), r = J(""), o = J(!1), l = J(void 0), { t: c } = K({ useScope: "global" }), { innerFilter: u } =
|
|
8256
|
+
}), r = J(""), o = J(!1), l = J(void 0), { t: c } = K({ useScope: "global" }), { innerFilter: u } = Sa(e), p = () => {
|
|
8257
8257
|
o.value = !0;
|
|
8258
|
-
}, m = x(() => e.modelValue.titleT ? c(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), g =
|
|
8258
|
+
}, m = x(() => e.modelValue.titleT ? c(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), g = na(e.filterSortBy), k = J([]), I = J([]), y = x(() => {
|
|
8259
8259
|
const W = /* @__PURE__ */ new Map();
|
|
8260
8260
|
return I.value.forEach((D) => {
|
|
8261
8261
|
W.set(D.value, { value: D.value, title: D.title });
|
|
@@ -8312,13 +8312,13 @@ const jl = { key: 0 }, Bl = {
|
|
|
8312
8312
|
}
|
|
8313
8313
|
},
|
|
8314
8314
|
{ immediate: !0 }
|
|
8315
|
-
),
|
|
8315
|
+
), Ia(
|
|
8316
8316
|
r,
|
|
8317
8317
|
(W, D) => {
|
|
8318
8318
|
W !== D && V(W);
|
|
8319
8319
|
},
|
|
8320
8320
|
{ debounce: 300, maxWait: 1e3 }
|
|
8321
|
-
), (W, D) => (w(), E(
|
|
8321
|
+
), (W, D) => (w(), E(sn, {
|
|
8322
8322
|
modelValue: f(a),
|
|
8323
8323
|
"onUpdate:modelValue": D[0] || (D[0] = (C) => Ye(a) ? a.value = C : null),
|
|
8324
8324
|
items: f(y),
|
|
@@ -8353,13 +8353,13 @@ const jl = { key: 0 }, Bl = {
|
|
|
8353
8353
|
}
|
|
8354
8354
|
}), { t: r } = K(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
8355
8355
|
return (l, c) => (w(), H("div", Rl, [
|
|
8356
|
-
b(
|
|
8356
|
+
b(Pr, { class: "pr-1" }, {
|
|
8357
8357
|
default: v(() => [
|
|
8358
8358
|
te("span", null, $(f(o)), 1)
|
|
8359
8359
|
]),
|
|
8360
8360
|
_: 1
|
|
8361
8361
|
}),
|
|
8362
|
-
b(
|
|
8362
|
+
b(Zn, {
|
|
8363
8363
|
modelValue: f(a),
|
|
8364
8364
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => Ye(a) ? a.value = u : null)
|
|
8365
8365
|
}, {
|
|
@@ -8392,7 +8392,7 @@ const jl = { key: 0 }, Bl = {
|
|
|
8392
8392
|
]));
|
|
8393
8393
|
}
|
|
8394
8394
|
});
|
|
8395
|
-
const Th = /* @__PURE__ */
|
|
8395
|
+
const Th = /* @__PURE__ */ bt(Ul, [["__scopeId", "data-v-0bca0344"]]), $h = /* @__PURE__ */ L({
|
|
8396
8396
|
__name: "AFilterBooleanSelect",
|
|
8397
8397
|
props: {
|
|
8398
8398
|
modelValue: null,
|
|
@@ -8490,7 +8490,7 @@ const Hl = /* @__PURE__ */ L({
|
|
|
8490
8490
|
LINK_EXTERNAL: "mdi-open-in-new"
|
|
8491
8491
|
}
|
|
8492
8492
|
}
|
|
8493
|
-
},
|
|
8493
|
+
}, Cr = Gr(Jl), Wl = { key: 1 }, Oh = /* @__PURE__ */ L({
|
|
8494
8494
|
__name: "ACachedChip",
|
|
8495
8495
|
props: {
|
|
8496
8496
|
id: { default: null },
|
|
@@ -8507,7 +8507,7 @@ const Hl = /* @__PURE__ */ L({
|
|
|
8507
8507
|
fallbackIdText: { type: Boolean, default: !1 }
|
|
8508
8508
|
},
|
|
8509
8509
|
setup(t) {
|
|
8510
|
-
const n = t, e =
|
|
8510
|
+
const n = t, e = Oa(), a = dr(void 0), r = dr(!1), o = x(() => n.getCachedFn(n.id)), l = x(() => n.title.length > 0 ? n.title : a.value ? Zr(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), c = () => {
|
|
8511
8511
|
e.push({ name: n.route, params: { id: n.id } });
|
|
8512
8512
|
};
|
|
8513
8513
|
return Ve(
|
|
@@ -8523,7 +8523,7 @@ const Hl = /* @__PURE__ */ L({
|
|
|
8523
8523
|
z(" - ")
|
|
8524
8524
|
]) : t.textOnly ? (w(), H("div", Wl, [
|
|
8525
8525
|
z($(f(l)) + " ", 1),
|
|
8526
|
-
!f(r) && t.title.length === 0 ? (w(), E(
|
|
8526
|
+
!f(r) && t.title.length === 0 ? (w(), E(oa, {
|
|
8527
8527
|
key: 0,
|
|
8528
8528
|
size: 12,
|
|
8529
8529
|
width: 2,
|
|
@@ -8537,7 +8537,7 @@ const Hl = /* @__PURE__ */ L({
|
|
|
8537
8537
|
}, {
|
|
8538
8538
|
default: v(() => [
|
|
8539
8539
|
z($(f(l)) + " ", 1),
|
|
8540
|
-
!f(r) && t.title.length === 0 ? (w(), E(
|
|
8540
|
+
!f(r) && t.title.length === 0 ? (w(), E(oa, {
|
|
8541
8541
|
key: 0,
|
|
8542
8542
|
size: 12,
|
|
8543
8543
|
width: 2,
|
|
@@ -8549,13 +8549,13 @@ const Hl = /* @__PURE__ */ L({
|
|
|
8549
8549
|
}, 8, ["size", "label"])) : (w(), E(ft, {
|
|
8550
8550
|
key: 3,
|
|
8551
8551
|
size: t.size,
|
|
8552
|
-
"append-icon": t.openInNew ? f(
|
|
8552
|
+
"append-icon": t.openInNew ? f(Cr).CHIP.ICON.LINK_EXTERNAL : f(Cr).CHIP.ICON.LINK,
|
|
8553
8553
|
label: t.forceRounded ? void 0 : !0,
|
|
8554
8554
|
onClick: ne(c, ["stop"])
|
|
8555
8555
|
}, {
|
|
8556
8556
|
default: v(() => [
|
|
8557
8557
|
z($(f(l)) + " ", 1),
|
|
8558
|
-
!f(r) && t.title.length === 0 ? (w(), E(
|
|
8558
|
+
!f(r) && t.title.length === 0 ? (w(), E(oa, {
|
|
8559
8559
|
key: 0,
|
|
8560
8560
|
size: 12,
|
|
8561
8561
|
width: 2,
|
|
@@ -8644,8 +8644,8 @@ const Vh = /* @__PURE__ */ L({
|
|
|
8644
8644
|
dataCy: { default: "copy-text" }
|
|
8645
8645
|
},
|
|
8646
8646
|
setup(t) {
|
|
8647
|
-
const n = t, { copy: e, isSupported: a } =
|
|
8648
|
-
ut(c), a && (
|
|
8647
|
+
const n = t, { copy: e, isSupported: a } = Er(), { showSuccess: r } = Na(), { t: o } = K(), l = (c) => {
|
|
8648
|
+
ut(c), a && (Fa(n.value) ? e(so(n.value)).then(() => {
|
|
8649
8649
|
r(o(n.notifyT));
|
|
8650
8650
|
}) : ct(n.value) && n.value.length && e(n.value).then(() => {
|
|
8651
8651
|
r(o(n.notifyT));
|
|
@@ -8727,7 +8727,7 @@ function ts(t, n) {
|
|
|
8727
8727
|
_: 3
|
|
8728
8728
|
});
|
|
8729
8729
|
}
|
|
8730
|
-
const Ih = /* @__PURE__ */
|
|
8730
|
+
const Ih = /* @__PURE__ */ bt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
8731
8731
|
__name: "AUserAndTimeTrackingFields",
|
|
8732
8732
|
props: {
|
|
8733
8733
|
data: null,
|
|
@@ -8744,7 +8744,7 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
8744
8744
|
title: f(n)("common.model.tracking.created")
|
|
8745
8745
|
}, {
|
|
8746
8746
|
default: v(() => [
|
|
8747
|
-
b(
|
|
8747
|
+
b(Hn, {
|
|
8748
8748
|
"date-time": t.data.createdAt
|
|
8749
8749
|
}, null, 8, ["date-time"])
|
|
8750
8750
|
]),
|
|
@@ -8755,7 +8755,7 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
8755
8755
|
title: f(n)("common.model.tracking.modified")
|
|
8756
8756
|
}, {
|
|
8757
8757
|
default: v(() => [
|
|
8758
|
-
b(
|
|
8758
|
+
b(Hn, {
|
|
8759
8759
|
"date-time": t.data.modifiedAt
|
|
8760
8760
|
}, null, 8, ["date-time"])
|
|
8761
8761
|
]),
|
|
@@ -8908,7 +8908,7 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
8908
8908
|
}
|
|
8909
8909
|
});
|
|
8910
8910
|
return (d, g) => {
|
|
8911
|
-
const k =
|
|
8911
|
+
const k = Bt("ABtnTertiary"), I = Bt("ABtnPrimary");
|
|
8912
8912
|
return w(), H(He, null, [
|
|
8913
8913
|
t.variant === "icon" ? (w(), E(oe, {
|
|
8914
8914
|
key: 0,
|
|
@@ -8952,7 +8952,7 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
8952
8952
|
]),
|
|
8953
8953
|
_: 1
|
|
8954
8954
|
}, 8, ["class", "data-cy", "variant", "color", "height", "onClick"])),
|
|
8955
|
-
b(
|
|
8955
|
+
b(Pa, {
|
|
8956
8956
|
modelValue: r.value,
|
|
8957
8957
|
"onUpdate:modelValue": g[0] || (g[0] = (y) => r.value = y),
|
|
8958
8958
|
persistent: "",
|
|
@@ -8965,15 +8965,15 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
8965
8965
|
"data-cy": "delete-panel"
|
|
8966
8966
|
}, {
|
|
8967
8967
|
default: v(() => [
|
|
8968
|
-
b(
|
|
8968
|
+
b(jr, { onOnCancel: u }, {
|
|
8969
8969
|
default: v(() => [
|
|
8970
8970
|
z($(f(p)(t.dialogMessageT)), 1)
|
|
8971
8971
|
]),
|
|
8972
8972
|
_: 1
|
|
8973
8973
|
}),
|
|
8974
|
-
b(
|
|
8974
|
+
b($a, null, {
|
|
8975
8975
|
default: v(() => [
|
|
8976
|
-
b(
|
|
8976
|
+
b(nn),
|
|
8977
8977
|
b(k, {
|
|
8978
8978
|
disabled: t.loading,
|
|
8979
8979
|
"data-cy": "button-cancel",
|
|
@@ -9022,7 +9022,7 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
9022
9022
|
},
|
|
9023
9023
|
emits: ["editRecord"],
|
|
9024
9024
|
setup(t, { emit: n }) {
|
|
9025
|
-
const e = t, { t: a } = K(), r =
|
|
9025
|
+
const e = t, { t: a } = K(), r = Oa(), o = (u) => {
|
|
9026
9026
|
ut(u), n("editRecord"), r.push(l.value);
|
|
9027
9027
|
}, l = x(() => T(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }), c = x(() => {
|
|
9028
9028
|
switch (e.variant) {
|
|
@@ -9203,8 +9203,8 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
9203
9203
|
size: { default: "x-small" }
|
|
9204
9204
|
},
|
|
9205
9205
|
setup(t) {
|
|
9206
|
-
const n = t, { t: e } = K(), { copy: a, isSupported: r } =
|
|
9207
|
-
ut(c),
|
|
9206
|
+
const n = t, { t: e } = K(), { copy: a, isSupported: r } = Er(), { showSuccess: o } = Na(), l = (c) => {
|
|
9207
|
+
ut(c), Fa(n.id) && n.id > 0 ? a(so(n.id)).then(() => {
|
|
9208
9208
|
o(e(n.notifyT));
|
|
9209
9209
|
}) : ct(n.id) && n.id.length && a(n.id).then(() => {
|
|
9210
9210
|
o(e(n.notifyT));
|
|
@@ -9313,56 +9313,56 @@ const Ih = /* @__PURE__ */ yt(es, [["render", ts]]), Fh = /* @__PURE__ */ L({
|
|
|
9313
9313
|
}, 8, ["class", "data-cy", "to"]));
|
|
9314
9314
|
}
|
|
9315
9315
|
});
|
|
9316
|
-
var
|
|
9317
|
-
const
|
|
9316
|
+
var Xt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Xt || {}), ns = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(ns || {});
|
|
9317
|
+
const Ma = Nr(
|
|
9318
9318
|
"theme",
|
|
9319
9319
|
"light"
|
|
9320
9320
|
/* Light */
|
|
9321
|
-
), co = "(prefers-color-scheme: dark)",
|
|
9322
|
-
Object.values(
|
|
9321
|
+
), co = "(prefers-color-scheme: dark)", qn = J(
|
|
9322
|
+
Object.values(Xt).some((t) => t === Ma.value) ? Ma.value : "light"
|
|
9323
9323
|
/* Light */
|
|
9324
|
-
),
|
|
9324
|
+
), en = J(
|
|
9325
9325
|
"light"
|
|
9326
9326
|
/* Light */
|
|
9327
|
-
), fo = J(window.matchMedia && window.matchMedia(co).matches),
|
|
9328
|
-
switch (
|
|
9327
|
+
), fo = J(window.matchMedia && window.matchMedia(co).matches), tn = () => {
|
|
9328
|
+
switch (qn.value) {
|
|
9329
9329
|
case "auto":
|
|
9330
|
-
|
|
9330
|
+
en.value = fo.value ? "dark" : "light";
|
|
9331
9331
|
break;
|
|
9332
9332
|
case "light":
|
|
9333
|
-
|
|
9333
|
+
en.value = "light";
|
|
9334
9334
|
break;
|
|
9335
9335
|
case "dark":
|
|
9336
|
-
|
|
9336
|
+
en.value = "dark";
|
|
9337
9337
|
break;
|
|
9338
9338
|
}
|
|
9339
9339
|
};
|
|
9340
|
-
|
|
9341
|
-
const
|
|
9342
|
-
|
|
9340
|
+
tn();
|
|
9341
|
+
const pa = (t) => {
|
|
9342
|
+
qn.value = t, Ma.value = t;
|
|
9343
9343
|
};
|
|
9344
9344
|
window.matchMedia(co).addEventListener("change", (t) => {
|
|
9345
|
-
fo.value = t.matches,
|
|
9345
|
+
fo.value = t.matches, tn();
|
|
9346
9346
|
});
|
|
9347
|
-
const as = x(() =>
|
|
9347
|
+
const as = x(() => en.value === "light" ? "white" : "#1A1A1A");
|
|
9348
9348
|
function rs() {
|
|
9349
9349
|
const t = () => {
|
|
9350
|
-
|
|
9350
|
+
pa(
|
|
9351
9351
|
"auto"
|
|
9352
9352
|
/* Auto */
|
|
9353
|
-
),
|
|
9353
|
+
), tn();
|
|
9354
9354
|
}, n = () => {
|
|
9355
|
-
|
|
9355
|
+
pa(
|
|
9356
9356
|
"dark"
|
|
9357
9357
|
/* Dark */
|
|
9358
|
-
),
|
|
9358
|
+
), tn();
|
|
9359
9359
|
}, e = () => {
|
|
9360
|
-
|
|
9360
|
+
pa(
|
|
9361
9361
|
"light"
|
|
9362
9362
|
/* Light */
|
|
9363
|
-
),
|
|
9363
|
+
), tn();
|
|
9364
9364
|
}, a = () => {
|
|
9365
|
-
switch (
|
|
9365
|
+
switch (qn.value) {
|
|
9366
9366
|
case "light":
|
|
9367
9367
|
n();
|
|
9368
9368
|
break;
|
|
@@ -9375,9 +9375,9 @@ function rs() {
|
|
|
9375
9375
|
}
|
|
9376
9376
|
};
|
|
9377
9377
|
return {
|
|
9378
|
-
settings:
|
|
9379
|
-
theme:
|
|
9380
|
-
toolbarColor:
|
|
9378
|
+
settings: Lt(qn),
|
|
9379
|
+
theme: Lt(en),
|
|
9380
|
+
toolbarColor: Lt(as),
|
|
9381
9381
|
toggleTheme: a,
|
|
9382
9382
|
setThemeAuto: t,
|
|
9383
9383
|
setThemeDark: n,
|
|
@@ -9388,13 +9388,13 @@ const os = { key: 0 }, is = { key: 1 }, ls = { key: 2 }, Hh = /* @__PURE__ */ L(
|
|
|
9388
9388
|
__name: "AThemeSelect",
|
|
9389
9389
|
setup(t) {
|
|
9390
9390
|
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = rs(), { t: o } = K(), l = J(!1);
|
|
9391
|
-
return (c, u) => (w(), E(
|
|
9391
|
+
return (c, u) => (w(), E(xt, {
|
|
9392
9392
|
modelValue: l.value,
|
|
9393
9393
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => l.value = p),
|
|
9394
9394
|
"close-on-content-click": ""
|
|
9395
9395
|
}, {
|
|
9396
9396
|
activator: v(({ props: p }) => [
|
|
9397
|
-
b(oe,
|
|
9397
|
+
b(oe, Ta({
|
|
9398
9398
|
class: "pl-1",
|
|
9399
9399
|
rounded: "pill"
|
|
9400
9400
|
}, p, {
|
|
@@ -9402,21 +9402,21 @@ const os = { key: 0 }, is = { key: 1 }, ls = { key: 2 }, Hh = /* @__PURE__ */ L(
|
|
|
9402
9402
|
"data-cy": "settings-theme"
|
|
9403
9403
|
}), {
|
|
9404
9404
|
default: v(() => [
|
|
9405
|
-
f(r) === f(
|
|
9405
|
+
f(r) === f(Xt).Auto ? (w(), H("div", os, [
|
|
9406
9406
|
b(me, {
|
|
9407
9407
|
class: "mr-1",
|
|
9408
9408
|
icon: "mdi-brightness-auto",
|
|
9409
9409
|
size: 32
|
|
9410
9410
|
}),
|
|
9411
9411
|
z($(f(o)("common.system.theme.auto")), 1)
|
|
9412
|
-
])) : f(r) === f(
|
|
9412
|
+
])) : f(r) === f(Xt).Light ? (w(), H("div", is, [
|
|
9413
9413
|
b(me, {
|
|
9414
9414
|
class: "mr-1",
|
|
9415
9415
|
icon: "mdi-brightness-7",
|
|
9416
9416
|
size: 32
|
|
9417
9417
|
}),
|
|
9418
9418
|
z($(f(o)("common.system.theme.light")), 1)
|
|
9419
|
-
])) : f(r) === f(
|
|
9419
|
+
])) : f(r) === f(Xt).Dark ? (w(), H("div", ls, [
|
|
9420
9420
|
b(me, {
|
|
9421
9421
|
class: "mr-1",
|
|
9422
9422
|
icon: "mdi-brightness-4",
|
|
@@ -9431,7 +9431,7 @@ const os = { key: 0 }, is = { key: 1 }, ls = { key: 2 }, Hh = /* @__PURE__ */ L(
|
|
|
9431
9431
|
default: v(() => [
|
|
9432
9432
|
b(at, null, {
|
|
9433
9433
|
default: v(() => [
|
|
9434
|
-
b(
|
|
9434
|
+
b(ln, { density: "compact" }, {
|
|
9435
9435
|
default: v(() => [
|
|
9436
9436
|
b(Xe, {
|
|
9437
9437
|
title: f(o)("common.system.theme.auto"),
|
|
@@ -9479,7 +9479,7 @@ const os = { key: 0 }, is = { key: 1 }, ls = { key: 2 }, Hh = /* @__PURE__ */ L(
|
|
|
9479
9479
|
_: 1
|
|
9480
9480
|
}, 8, ["modelValue"]));
|
|
9481
9481
|
}
|
|
9482
|
-
}),
|
|
9482
|
+
}), Rn = [
|
|
9483
9483
|
{
|
|
9484
9484
|
code: "en",
|
|
9485
9485
|
title: "English"
|
|
@@ -9497,7 +9497,7 @@ const os = { key: 0 }, is = { key: 1 }, ls = { key: 2 }, Hh = /* @__PURE__ */ L(
|
|
|
9497
9497
|
title: "Translation ID",
|
|
9498
9498
|
adminOnly: !0
|
|
9499
9499
|
}
|
|
9500
|
-
], tt =
|
|
9500
|
+
], tt = Nr("language", "default");
|
|
9501
9501
|
function ss(t, n) {
|
|
9502
9502
|
tt.value === "default" && (tt.value = n);
|
|
9503
9503
|
function e(o, l) {
|
|
@@ -9515,20 +9515,20 @@ function ss(t, n) {
|
|
|
9515
9515
|
tt.value = n, le.global.locale.value = n;
|
|
9516
9516
|
}
|
|
9517
9517
|
},
|
|
9518
|
-
currentLanguageCode:
|
|
9518
|
+
currentLanguageCode: Lt(tt),
|
|
9519
9519
|
setLanguage: a,
|
|
9520
|
-
allLanguages:
|
|
9520
|
+
allLanguages: Rn
|
|
9521
9521
|
};
|
|
9522
9522
|
}
|
|
9523
9523
|
function us() {
|
|
9524
9524
|
return {
|
|
9525
|
-
currentLanguageCode:
|
|
9525
|
+
currentLanguageCode: Lt(tt)
|
|
9526
9526
|
};
|
|
9527
9527
|
}
|
|
9528
9528
|
const ds = {
|
|
9529
9529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9530
9530
|
viewBox: "0 0 900 600"
|
|
9531
|
-
}, cs = /* @__PURE__ */
|
|
9531
|
+
}, cs = /* @__PURE__ */ Or('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), fs = [
|
|
9532
9532
|
cs
|
|
9533
9533
|
], ms = /* @__PURE__ */ L({
|
|
9534
9534
|
__name: "FlagSk",
|
|
@@ -9539,13 +9539,13 @@ const ds = {
|
|
|
9539
9539
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9540
9540
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
9541
9541
|
viewBox: "0 0 7410 3900"
|
|
9542
|
-
}, gs = /* @__PURE__ */
|
|
9542
|
+
}, gs = /* @__PURE__ */ Or('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), vs = [
|
|
9543
9543
|
gs
|
|
9544
9544
|
];
|
|
9545
9545
|
function ys(t, n) {
|
|
9546
9546
|
return w(), H("svg", hs, vs);
|
|
9547
9547
|
}
|
|
9548
|
-
const bs = /* @__PURE__ */
|
|
9548
|
+
const bs = /* @__PURE__ */ bt(ps, [["render", ys]]), ws = {}, ks = {
|
|
9549
9549
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9550
9550
|
viewBox: "0 0 900 600"
|
|
9551
9551
|
}, Cs = /* @__PURE__ */ te("rect", {
|
|
@@ -9558,7 +9558,7 @@ const bs = /* @__PURE__ */ yt(ps, [["render", ys]]), ws = {}, ks = {
|
|
|
9558
9558
|
function Ds(t, n) {
|
|
9559
9559
|
return w(), H("svg", ks, As);
|
|
9560
9560
|
}
|
|
9561
|
-
const _s = /* @__PURE__ */
|
|
9561
|
+
const _s = /* @__PURE__ */ bt(ws, [["render", Ds]]), Ms = { class: "flag" }, Ar = /* @__PURE__ */ L({
|
|
9562
9562
|
__name: "FlagCountry",
|
|
9563
9563
|
props: {
|
|
9564
9564
|
code: { default: "xx" },
|
|
@@ -9576,27 +9576,27 @@ const _s = /* @__PURE__ */ yt(ws, [["render", Ds]]), Ms = { class: "flag" }, Cr
|
|
|
9576
9576
|
}
|
|
9577
9577
|
});
|
|
9578
9578
|
return (a, r) => (w(), H("div", Ms, [
|
|
9579
|
-
(w(), E(
|
|
9579
|
+
(w(), E(xa(f(e)), { "data-cy": t.dataCy }, null, 8, ["data-cy"]))
|
|
9580
9580
|
]));
|
|
9581
9581
|
}
|
|
9582
9582
|
}), xs = /* @__PURE__ */ L({
|
|
9583
9583
|
__name: "ALanguageSelect",
|
|
9584
9584
|
emits: ["afterChange"],
|
|
9585
9585
|
setup(t, { emit: n }) {
|
|
9586
|
-
const e = ke(
|
|
9586
|
+
const e = ke(ta), a = ke(Xr), r = ke(eo), { setLanguage: o } = ss(a, r), { currentLanguageCode: l } = us(), c = (m) => {
|
|
9587
9587
|
o(m) && n("afterChange", m);
|
|
9588
9588
|
}, u = x(() => {
|
|
9589
|
-
const m =
|
|
9590
|
-
return T(m) ?
|
|
9591
|
-
}), p = x(() =>
|
|
9589
|
+
const m = Rn.find((d) => d.code === l.value);
|
|
9590
|
+
return T(m) ? Rn[0] : m;
|
|
9591
|
+
}), p = x(() => Rn.filter(
|
|
9592
9592
|
(m) => {
|
|
9593
9593
|
var d;
|
|
9594
9594
|
return (a.includes(m.code) || m.code === "xx") && (!m.adminOnly || ((d = e.value) == null ? void 0 : d.roles.includes(to)));
|
|
9595
9595
|
}
|
|
9596
9596
|
));
|
|
9597
|
-
return (m, d) => (w(), E(
|
|
9597
|
+
return (m, d) => (w(), E(xt, null, {
|
|
9598
9598
|
activator: v(({ props: g }) => [
|
|
9599
|
-
b(oe,
|
|
9599
|
+
b(oe, Ta({
|
|
9600
9600
|
class: "pl-1",
|
|
9601
9601
|
rounded: "pill"
|
|
9602
9602
|
}, g, {
|
|
@@ -9604,14 +9604,14 @@ const _s = /* @__PURE__ */ yt(ws, [["render", Ds]]), Ms = { class: "flag" }, Cr
|
|
|
9604
9604
|
"data-cy": "settings-language"
|
|
9605
9605
|
}), {
|
|
9606
9606
|
default: v(() => [
|
|
9607
|
-
b(
|
|
9607
|
+
b(wa, {
|
|
9608
9608
|
class: "mr-1",
|
|
9609
9609
|
size: "30"
|
|
9610
9610
|
}, {
|
|
9611
9611
|
default: v(() => {
|
|
9612
9612
|
var k;
|
|
9613
9613
|
return [
|
|
9614
|
-
b(
|
|
9614
|
+
b(Ar, {
|
|
9615
9615
|
code: (k = f(u)) == null ? void 0 : k.code
|
|
9616
9616
|
}, null, 8, ["code"])
|
|
9617
9617
|
];
|
|
@@ -9626,21 +9626,21 @@ const _s = /* @__PURE__ */ yt(ws, [["render", Ds]]), Ms = { class: "flag" }, Cr
|
|
|
9626
9626
|
default: v(() => [
|
|
9627
9627
|
b(at, null, {
|
|
9628
9628
|
default: v(() => [
|
|
9629
|
-
b(
|
|
9629
|
+
b(ln, { density: "compact" }, {
|
|
9630
9630
|
default: v(() => [
|
|
9631
|
-
(w(!0), H(He, null,
|
|
9631
|
+
(w(!0), H(He, null, Mt(f(p), (g) => (w(), E(Xe, {
|
|
9632
9632
|
key: g.code,
|
|
9633
9633
|
onClick: ne((k) => c(g.code), ["stop"])
|
|
9634
9634
|
}, {
|
|
9635
9635
|
default: v(() => [
|
|
9636
|
-
b(
|
|
9636
|
+
b(an, null, {
|
|
9637
9637
|
default: v(() => [
|
|
9638
|
-
b(
|
|
9638
|
+
b(wa, {
|
|
9639
9639
|
class: "mr-1",
|
|
9640
9640
|
size: "30"
|
|
9641
9641
|
}, {
|
|
9642
9642
|
default: v(() => [
|
|
9643
|
-
b(
|
|
9643
|
+
b(Ar, {
|
|
9644
9644
|
code: g.code
|
|
9645
9645
|
}, null, 8, ["code"])
|
|
9646
9646
|
]),
|
|
@@ -9664,19 +9664,19 @@ const _s = /* @__PURE__ */ yt(ws, [["render", Ds]]), Ms = { class: "flag" }, Cr
|
|
|
9664
9664
|
}));
|
|
9665
9665
|
}
|
|
9666
9666
|
});
|
|
9667
|
-
const Jh = /* @__PURE__ */
|
|
9667
|
+
const Jh = /* @__PURE__ */ bt(xs, [["__scopeId", "data-v-8f7b4952"]]), Ss = ["onClick"], Ts = /* @__PURE__ */ L({
|
|
9668
9668
|
__name: "ASystemBarNewVersion",
|
|
9669
9669
|
setup(t) {
|
|
9670
9670
|
const { t: n } = K(), e = () => {
|
|
9671
9671
|
window.location.reload();
|
|
9672
9672
|
};
|
|
9673
|
-
return (a, r) => r[0] || (
|
|
9673
|
+
return (a, r) => r[0] || (cr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
|
|
9674
9674
|
z($(f(n)("common.system.newVersionText")) + " ", 1),
|
|
9675
9675
|
te("span", {
|
|
9676
9676
|
class: "text-decoration-underline cursor-pointer",
|
|
9677
9677
|
onClick: ne(e, ["stop"])
|
|
9678
9678
|
}, $(f(n)("common.system.newVersionReload")), 9, Ss)
|
|
9679
|
-
]),
|
|
9679
|
+
]), cr(1), r[0]);
|
|
9680
9680
|
}
|
|
9681
9681
|
}), $s = { class: "text-center w-100 text-caption pb-1" }, Wh = /* @__PURE__ */ L({
|
|
9682
9682
|
__name: "ASystemBar",
|
|
@@ -9716,13 +9716,13 @@ const Jh = /* @__PURE__ */ yt(xs, [["__scopeId", "data-v-8f7b4952"]]), Ss = ["on
|
|
|
9716
9716
|
}, {
|
|
9717
9717
|
default: v(() => [
|
|
9718
9718
|
te("div", $s, [
|
|
9719
|
-
(w(), E(
|
|
9719
|
+
(w(), E(xa(f(r))))
|
|
9720
9720
|
])
|
|
9721
9721
|
]),
|
|
9722
9722
|
_: 1
|
|
9723
9723
|
})) : Z("", !0);
|
|
9724
9724
|
}
|
|
9725
|
-
}), Os = /* @__PURE__ */ te("div", null, null, -1),
|
|
9725
|
+
}), Os = /* @__PURE__ */ te("div", null, null, -1), Dr = /* @__PURE__ */ L({
|
|
9726
9726
|
__name: "AAnzuUserAvatar",
|
|
9727
9727
|
props: {
|
|
9728
9728
|
user: { default: void 0 },
|
|
@@ -9742,7 +9742,7 @@ const Jh = /* @__PURE__ */ yt(xs, [["__scopeId", "data-v-8f7b4952"]]), Ss = ["on
|
|
|
9742
9742
|
return o.length > 0 ? o : n.user.email.slice(0, 2);
|
|
9743
9743
|
});
|
|
9744
9744
|
return (o, l) => (w(), H(He, null, [
|
|
9745
|
-
b(
|
|
9745
|
+
b(wa, {
|
|
9746
9746
|
color: f(e),
|
|
9747
9747
|
class: we(["text-uppercase", t.containerClass]),
|
|
9748
9748
|
size: t.size
|
|
@@ -9750,7 +9750,7 @@ const Jh = /* @__PURE__ */ yt(xs, [["__scopeId", "data-v-8f7b4952"]]), Ss = ["on
|
|
|
9750
9750
|
default: v(() => [
|
|
9751
9751
|
te("div", {
|
|
9752
9752
|
class: "d-inline-flex text-white font-weight-light",
|
|
9753
|
-
style:
|
|
9753
|
+
style: ya({ fontSize: f(a) })
|
|
9754
9754
|
}, $(f(r)), 5)
|
|
9755
9755
|
]),
|
|
9756
9756
|
_: 1
|
|
@@ -9812,7 +9812,7 @@ const Jh = /* @__PURE__ */ yt(xs, [["__scopeId", "data-v-8f7b4952"]]), Ss = ["on
|
|
|
9812
9812
|
color: f(c)
|
|
9813
9813
|
}, {
|
|
9814
9814
|
default: v(() => [
|
|
9815
|
-
t.readonly ? Z("", !0) : (w(), E(
|
|
9815
|
+
t.readonly ? Z("", !0) : (w(), E(xt, {
|
|
9816
9816
|
key: 0,
|
|
9817
9817
|
activator: "parent"
|
|
9818
9818
|
}, {
|
|
@@ -9857,7 +9857,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
9857
9857
|
"data-cy": "navbar-user"
|
|
9858
9858
|
}, {
|
|
9859
9859
|
default: v(() => [
|
|
9860
|
-
b(
|
|
9860
|
+
b(Dr, {
|
|
9861
9861
|
size: 32,
|
|
9862
9862
|
user: t.currentUser
|
|
9863
9863
|
}, null, 8, ["user"]),
|
|
@@ -9870,27 +9870,27 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
9870
9870
|
]),
|
|
9871
9871
|
_: 1
|
|
9872
9872
|
}),
|
|
9873
|
-
t.currentUser ? (w(), E(
|
|
9873
|
+
t.currentUser ? (w(), E(xt, {
|
|
9874
9874
|
key: 0,
|
|
9875
9875
|
activator: "parent"
|
|
9876
9876
|
}, {
|
|
9877
9877
|
default: v(() => [
|
|
9878
9878
|
b(at, null, {
|
|
9879
9879
|
default: v(() => [
|
|
9880
|
-
b(
|
|
9880
|
+
b(ln, { class: "pb-0" }, {
|
|
9881
9881
|
default: v(() => [
|
|
9882
9882
|
b(Xe, {
|
|
9883
9883
|
class: "pb-6",
|
|
9884
9884
|
lines: "two"
|
|
9885
9885
|
}, {
|
|
9886
9886
|
prepend: v(() => [
|
|
9887
|
-
b(
|
|
9887
|
+
b(Dr, {
|
|
9888
9888
|
user: t.currentUser,
|
|
9889
9889
|
size: 40
|
|
9890
9890
|
}, null, 8, ["user"])
|
|
9891
9891
|
]),
|
|
9892
9892
|
default: v(() => [
|
|
9893
|
-
b(
|
|
9893
|
+
b(an, null, {
|
|
9894
9894
|
default: v(() => [
|
|
9895
9895
|
z($(t.currentUser.person.fullName), 1)
|
|
9896
9896
|
]),
|
|
@@ -9924,7 +9924,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
9924
9924
|
}, {
|
|
9925
9925
|
default: v(() => [
|
|
9926
9926
|
z($(f(n)("common.system.currentUser.logout")) + " ", 1),
|
|
9927
|
-
b(
|
|
9927
|
+
b(Pa, {
|
|
9928
9928
|
modelValue: e.value,
|
|
9929
9929
|
"onUpdate:modelValue": r[2] || (r[2] = (o) => e.value = o),
|
|
9930
9930
|
width: "auto"
|
|
@@ -9932,18 +9932,18 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
9932
9932
|
default: v(() => [
|
|
9933
9933
|
e.value ? (w(), E(at, { key: 0 }, {
|
|
9934
9934
|
default: v(() => [
|
|
9935
|
-
b(
|
|
9935
|
+
b(Ir, {
|
|
9936
9936
|
density: "compact",
|
|
9937
9937
|
color: "transparent"
|
|
9938
9938
|
}, {
|
|
9939
9939
|
default: v(() => [
|
|
9940
|
-
b(
|
|
9940
|
+
b(Fr, { class: "flex-fill" }, {
|
|
9941
9941
|
default: v(() => [
|
|
9942
9942
|
z($(f(n)("common.system.currentUser.logout")), 1)
|
|
9943
9943
|
]),
|
|
9944
9944
|
_: 1
|
|
9945
9945
|
}),
|
|
9946
|
-
b(
|
|
9946
|
+
b(nn),
|
|
9947
9947
|
b(oe, {
|
|
9948
9948
|
class: "ml-2",
|
|
9949
9949
|
icon: "mdi-close",
|
|
@@ -9955,15 +9955,15 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
9955
9955
|
]),
|
|
9956
9956
|
_: 1
|
|
9957
9957
|
}),
|
|
9958
|
-
b(
|
|
9958
|
+
b(Vr, null, {
|
|
9959
9959
|
default: v(() => [
|
|
9960
9960
|
z($(f(n)("common.system.currentUser.logoutText")), 1)
|
|
9961
9961
|
]),
|
|
9962
9962
|
_: 1
|
|
9963
9963
|
}),
|
|
9964
|
-
b(
|
|
9964
|
+
b($a, null, {
|
|
9965
9965
|
default: v(() => [
|
|
9966
|
-
b(
|
|
9966
|
+
b(nn),
|
|
9967
9967
|
b(oe, {
|
|
9968
9968
|
color: "secondary",
|
|
9969
9969
|
variant: "text",
|
|
@@ -10042,7 +10042,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10042
10042
|
set(D) {
|
|
10043
10043
|
n("update:modelValue", mt(D));
|
|
10044
10044
|
}
|
|
10045
|
-
}), { t: c } = K(), u = ke(rt, void 0), p = ke(ot, void 0), m = J(!1), d = J(""), g = J(!1), { innerFilter: k } =
|
|
10045
|
+
}), { t: c } = K(), u = ke(rt, void 0), p = ke(ot, void 0), m = J(!1), d = J(""), g = J(!1), { innerFilter: k } = Sa(e), I = na(e.filterSortBy), y = J(/* @__PURE__ */ new Map()), O = () => {
|
|
10046
10046
|
m.value = !0, n("focus", l.value);
|
|
10047
10047
|
}, V = () => {
|
|
10048
10048
|
var D;
|
|
@@ -10087,7 +10087,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10087
10087
|
}, Me = J(0), W = () => {
|
|
10088
10088
|
Me.value = Date.now();
|
|
10089
10089
|
};
|
|
10090
|
-
return
|
|
10090
|
+
return Ia(
|
|
10091
10091
|
d,
|
|
10092
10092
|
(D, C) => {
|
|
10093
10093
|
D !== C && (ue(D), n("searchChangeDebounced", D));
|
|
@@ -10108,7 +10108,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10108
10108
|
await ie(_), _.size > 0 && (r(Array.from(_)), a());
|
|
10109
10109
|
},
|
|
10110
10110
|
{ immediate: !0 }
|
|
10111
|
-
), (D, C) => (w(), E(
|
|
10111
|
+
), (D, C) => (w(), E(sn, {
|
|
10112
10112
|
modelValue: f(l),
|
|
10113
10113
|
"onUpdate:modelValue": C[0] || (C[0] = (_) => Ye(l) ? l.value = _ : null),
|
|
10114
10114
|
search: d.value,
|
|
@@ -10123,8 +10123,8 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10123
10123
|
onFocus: O,
|
|
10124
10124
|
"onUpdate:search": ee,
|
|
10125
10125
|
"onClick:clear": Q,
|
|
10126
|
-
onKeydown:
|
|
10127
|
-
},
|
|
10126
|
+
onKeydown: $r(W, ["delete"])
|
|
10127
|
+
}, on({
|
|
10128
10128
|
label: v(() => [
|
|
10129
10129
|
t.hideLabel ? Z("", !0) : (w(), H("span", {
|
|
10130
10130
|
key: f(U) + ""
|
|
@@ -10138,7 +10138,7 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10138
10138
|
props: _,
|
|
10139
10139
|
item: M
|
|
10140
10140
|
}, () => [
|
|
10141
|
-
b(ft,
|
|
10141
|
+
b(ft, Ta(_, {
|
|
10142
10142
|
text: M.title
|
|
10143
10143
|
}), null, 16, ["text"])
|
|
10144
10144
|
])
|
|
@@ -10202,14 +10202,14 @@ const Is = /* @__PURE__ */ te("br", null, null, -1), Kh = /* @__PURE__ */ L({
|
|
|
10202
10202
|
]));
|
|
10203
10203
|
}
|
|
10204
10204
|
});
|
|
10205
|
-
const Zh = /* @__PURE__ */
|
|
10205
|
+
const Zh = /* @__PURE__ */ bt(Rs, [["__scopeId", "data-v-489475db"]]), Qh = /* @__PURE__ */ L({
|
|
10206
10206
|
__name: "ALogoutView",
|
|
10207
10207
|
props: {
|
|
10208
10208
|
logoutUrl: { type: [null, Function], default: void 0 }
|
|
10209
10209
|
},
|
|
10210
10210
|
setup(t) {
|
|
10211
10211
|
const n = t;
|
|
10212
|
-
return
|
|
10212
|
+
return Kn(() => {
|
|
10213
10213
|
n.logoutUrl && (window.location.href = n.logoutUrl());
|
|
10214
10214
|
}), (e, a) => (w(), H("div"));
|
|
10215
10215
|
}
|
|
@@ -10310,7 +10310,7 @@ const Zh = /* @__PURE__ */ yt(Rs, [["__scopeId", "data-v-489475db"]]), Qh = /* @
|
|
|
10310
10310
|
title: f(n)("common.job.model.startedAt")
|
|
10311
10311
|
}, {
|
|
10312
10312
|
default: v(() => [
|
|
10313
|
-
b(
|
|
10313
|
+
b(Hn, {
|
|
10314
10314
|
"date-time": t.job.startedAt
|
|
10315
10315
|
}, null, 8, ["date-time"])
|
|
10316
10316
|
]),
|
|
@@ -10320,7 +10320,7 @@ const Zh = /* @__PURE__ */ yt(Rs, [["__scopeId", "data-v-489475db"]]), Qh = /* @
|
|
|
10320
10320
|
title: f(n)("common.job.model.finishedAt")
|
|
10321
10321
|
}, {
|
|
10322
10322
|
default: v(() => [
|
|
10323
|
-
b(
|
|
10323
|
+
b(Hn, {
|
|
10324
10324
|
"date-time": t.job.finishedAt
|
|
10325
10325
|
}, null, 8, ["date-time"])
|
|
10326
10326
|
]),
|
|
@@ -10338,7 +10338,7 @@ function ag(t = "", n = "user") {
|
|
|
10338
10338
|
return {
|
|
10339
10339
|
createAnzuUser: (o, l) => (ct(o) && (e = o), ct(l) && (a = l), {
|
|
10340
10340
|
id: 0,
|
|
10341
|
-
createdAt:
|
|
10341
|
+
createdAt: Rt(),
|
|
10342
10342
|
createdBy: 0,
|
|
10343
10343
|
email: "",
|
|
10344
10344
|
avatar: {
|
|
@@ -10351,7 +10351,7 @@ function ag(t = "", n = "user") {
|
|
|
10351
10351
|
lastName: ""
|
|
10352
10352
|
},
|
|
10353
10353
|
enabled: !1,
|
|
10354
|
-
modifiedAt:
|
|
10354
|
+
modifiedAt: Rt(),
|
|
10355
10355
|
modifiedBy: 0,
|
|
10356
10356
|
permissionGroups: [],
|
|
10357
10357
|
permissions: {},
|
|
@@ -10385,8 +10385,8 @@ function og() {
|
|
|
10385
10385
|
permissions: {},
|
|
10386
10386
|
createdBy: 0,
|
|
10387
10387
|
modifiedBy: 0,
|
|
10388
|
-
createdAt:
|
|
10389
|
-
modifiedAt:
|
|
10388
|
+
createdAt: Rt(),
|
|
10389
|
+
modifiedAt: Rt(),
|
|
10390
10390
|
_resourceName: "permissionGroup",
|
|
10391
10391
|
_system: ""
|
|
10392
10392
|
})
|
|
@@ -10397,13 +10397,13 @@ const ig = (t, n = 2) => {
|
|
|
10397
10397
|
return "0 Bytes";
|
|
10398
10398
|
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));
|
|
10399
10399
|
return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
|
|
10400
|
-
},
|
|
10400
|
+
}, Ot = (t) => Ri.includes(t), Vt = (t, n, e = "") => zr(n) ? t : oi(e === "" ? t : e, n), lg = (t, n, e = "", a = {}, r = null, o, l, c = {}) => new Promise((u, p) => {
|
|
10401
10401
|
const m = { method: n };
|
|
10402
|
-
e !== "" && (m.url =
|
|
10402
|
+
e !== "" && (m.url = Vt(e, a)), he(r) || (m.data = JSON.stringify(r)), t().request({ ...c, ...m }).then((d) => Ot(d.status) ? d.data ? u(d.data) : d.status === pt ? u(null) : p(new Ie()) : p(new vt(d.status))).catch((d) => St(d) ? p(new ht(d)) : Tt(d) ? p(new gt(d, o, l, d)) : $t(d) ? p(new yt(d, d)) : p(new Ie(d)));
|
|
10403
10403
|
}), Zs = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((c, u) => {
|
|
10404
|
-
t().post(
|
|
10404
|
+
t().post(Vt(e, a), JSON.stringify(n), l).then((p) => Ot(p.status) ? p.data ? c(p.data) : p.status === pt ? c(null) : u(new Ie()) : u(new vt(p.status))).catch((p) => St(p) ? u(new ht(p)) : Tt(p) ? u(new gt(p, r, o, p)) : $t(p) ? u(new yt(p, p)) : u(new Ie(p)));
|
|
10405
10405
|
}), Qs = (t, n, e = {}, a, r, o = {}) => new Promise((l, c) => {
|
|
10406
|
-
t().delete(
|
|
10406
|
+
t().delete(Vt(n, e), o).then((u) => Ot(u.status) ? u.data ? l(u.data) : u.status === pt ? l(null) : c(new Ie()) : c(new vt(u.status))).catch((u) => St(u) ? c(new ht(u)) : Tt(u) ? c(new gt(u, a, r, u)) : $t(u) ? c(new yt(u, u)) : c(new Ie(u)));
|
|
10407
10407
|
});
|
|
10408
10408
|
function mo() {
|
|
10409
10409
|
const t = J([]), n = (m) => {
|
|
@@ -10412,11 +10412,11 @@ function mo() {
|
|
|
10412
10412
|
c("offset", m * d - d);
|
|
10413
10413
|
}, a = (m, d) => {
|
|
10414
10414
|
!he(m) && m.length > 0 && c("order[" + m + "]", d ? "desc" : "asc");
|
|
10415
|
-
}, r = (m) =>
|
|
10415
|
+
}, r = (m) => mr(m) ? m ? "1" : "0" : m, o = (m, d, g) => {
|
|
10416
10416
|
ct(g) && g.length === 0 || t.value.push("filter_" + m + "[" + d + "]=" + r(g));
|
|
10417
10417
|
}, l = (m) => {
|
|
10418
10418
|
const d = m.model;
|
|
10419
|
-
return he(d) ? m.mandatory ? (m.model = m.default, m.default) : null : ct(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Ne(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((g) => ct(g) ? encodeURIComponent(g) : g).join(",") :
|
|
10419
|
+
return he(d) ? m.mandatory ? (m.model = m.default, m.default) : null : ct(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Ne(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((g) => ct(g) ? encodeURIComponent(g) : g).join(",") : Fa(d) || mr(d) ? d : null;
|
|
10420
10420
|
}, c = (m, d) => {
|
|
10421
10421
|
t.value.push(m + "=" + d);
|
|
10422
10422
|
};
|
|
@@ -10449,50 +10449,50 @@ const Xs = (t, n) => {
|
|
|
10449
10449
|
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, queryAddFilter: l, queryAdd: c } = mo(), u = t.length;
|
|
10450
10450
|
return e(u), a(1, u), r("id", !1), n ? c("id", t.join(",")) : l("in", "id", t.join(",")), o();
|
|
10451
10451
|
}, sg = (t, n, e, a = {}, r, o, l = {}, c = !1) => new Promise((u, p) => {
|
|
10452
|
-
t().get(
|
|
10452
|
+
t().get(Vt(e, a) + Xs(n, c), l).then((m) => {
|
|
10453
10453
|
var d;
|
|
10454
|
-
return
|
|
10455
|
-
}).catch((m) =>
|
|
10456
|
-
}), eu = (t) =>
|
|
10454
|
+
return Ot(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : m.status === pt ? u(null) : p(new Ie()) : p(new vt(m.status));
|
|
10455
|
+
}).catch((m) => St(m) ? p(new ht(m)) : Tt(m) ? p(new gt(m, r, o, m)) : $t(m) ? p(new yt(m, m)) : p(new Ie(m)));
|
|
10456
|
+
}), eu = (t) => Qn(t) && Object.hasOwn(t, "totalCount"), tu = (t) => Qn(t) && Object.hasOwn(t, "hasNextPage"), nu = (t, n) => {
|
|
10457
10457
|
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: l } = mo();
|
|
10458
10458
|
return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), l(n), o();
|
|
10459
10459
|
}, au = (t, n, e = {}, a, r, o, l, c = {}) => new Promise((u, p) => {
|
|
10460
10460
|
const m = T(r._elastic) ? "" : "/search";
|
|
10461
10461
|
t().get(
|
|
10462
|
-
|
|
10462
|
+
Vt(n, e) + m + nu(a, r),
|
|
10463
10463
|
c
|
|
10464
10464
|
).then((d) => {
|
|
10465
|
-
if (
|
|
10466
|
-
return p(new
|
|
10465
|
+
if (!Ot(d.status))
|
|
10466
|
+
return p(new vt(d.status));
|
|
10467
10467
|
if (d.data) {
|
|
10468
10468
|
const g = d.data;
|
|
10469
10469
|
return tu(g) ? a.hasNextPage = d.data.hasNextPage : eu(g) && (a.totalCount = g.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
|
|
10470
10470
|
}
|
|
10471
|
-
return p(new Ie());
|
|
10472
|
-
}).catch((d) =>
|
|
10471
|
+
return d.status === pt ? u(null) : p(new Ie());
|
|
10472
|
+
}).catch((d) => St(d) ? p(new ht(d)) : Tt(d) ? p(new gt(d, o, l, d)) : $t(d) ? p(new yt(d, d)) : p(new Ie(d)));
|
|
10473
10473
|
}), ru = (t, n, e = {}, a, r, o = {}) => new Promise((l, c) => {
|
|
10474
|
-
t().get(
|
|
10474
|
+
t().get(Vt(n, e), o).then((u) => Ot(u.status) ? u.data ? l(u.data) : u.status === pt ? l(null) : c(new Ie()) : c(new vt(u.status))).catch((u) => St(u) ? c(new ht(u)) : Tt(u) ? c(new gt(u, a, r, u)) : $t(u) ? c(new yt(u, u)) : c(new Ie(u)));
|
|
10475
10475
|
}), ug = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((c, u) => {
|
|
10476
|
-
t().put(
|
|
10476
|
+
t().put(Vt(e, a), JSON.stringify(n), l).then((p) => Ot(p.status) ? p.data ? c(p.data) : p.status === pt ? c(null) : u(new Ie()) : u(new vt(p.status))).catch((p) => St(p) ? u(new ht(p)) : Tt(p) ? u(new gt(p, r, o, p)) : $t(p) ? u(new yt(p, p)) : u(new Ie(p)));
|
|
10477
10477
|
});
|
|
10478
10478
|
function dg() {
|
|
10479
10479
|
return {
|
|
10480
|
-
isAnzuFatalError:
|
|
10480
|
+
isAnzuFatalError: Rr,
|
|
10481
10481
|
isAnzuApiForbiddenError: Yr,
|
|
10482
10482
|
isAnzuApiValidationError: Hr,
|
|
10483
10483
|
isAnzuApiResponseCodeError: Jr
|
|
10484
10484
|
};
|
|
10485
10485
|
}
|
|
10486
|
-
const
|
|
10486
|
+
const Ln = "/adm/v1/job", zn = "job";
|
|
10487
10487
|
function cg(t, n) {
|
|
10488
10488
|
return {
|
|
10489
|
-
fetchJobList: (l, c) => au(t,
|
|
10490
|
-
fetchJob: (l) => ru(t,
|
|
10489
|
+
fetchJobList: (l, c) => au(t, Ln, {}, l, c, n, zn),
|
|
10490
|
+
fetchJob: (l) => ru(t, Ln + "/:id", { id: l }, n, zn),
|
|
10491
10491
|
createJob: (l) => {
|
|
10492
10492
|
const c = ri(l._resourceName).slice(4);
|
|
10493
|
-
return Zs(t, l,
|
|
10493
|
+
return Zs(t, l, Ln + "/:type", { type: c }, n, zn);
|
|
10494
10494
|
},
|
|
10495
|
-
deleteJob: (l) => Qs(t,
|
|
10495
|
+
deleteJob: (l) => Qs(t, Ln + "/:id", { id: l }, n, zn)
|
|
10496
10496
|
};
|
|
10497
10497
|
}
|
|
10498
10498
|
const fg = "jobUserDataDelete";
|
|
@@ -11333,13 +11333,13 @@ function Nm() {
|
|
|
11333
11333
|
}
|
|
11334
11334
|
const { t: Lm } = le.global;
|
|
11335
11335
|
function zm() {
|
|
11336
|
-
return Ze({ t: Lm })(
|
|
11336
|
+
return Ze({ t: Lm })(Lr.regex(/^[a-z\-0-9/]+$/), {
|
|
11337
11337
|
messagePath: () => "error.jsValidation.slug"
|
|
11338
11338
|
});
|
|
11339
11339
|
}
|
|
11340
11340
|
const { t: jm } = le.global;
|
|
11341
11341
|
function Bm() {
|
|
11342
|
-
const t = Ze({ t: jm }), n = (a, r) => (o) => !
|
|
11342
|
+
const t = Ze({ t: jm }), n = (a, r) => (o) => !Lr.req(o) || o.every((l) => l.length >= f(a) && l.length <= f(r));
|
|
11343
11343
|
return t((a, r) => ({
|
|
11344
11344
|
$validator: n(a, r),
|
|
11345
11345
|
// $message not required when using i18n
|
|
@@ -11379,20 +11379,20 @@ function kg() {
|
|
|
11379
11379
|
stringArrayItemLength: Bm()
|
|
11380
11380
|
};
|
|
11381
11381
|
}
|
|
11382
|
-
const Ym = ["createdAt", "modifiedAt"], { t:
|
|
11382
|
+
const Ym = ["createdAt", "modifiedAt"], { t: _r } = le.global || le, Hm = {
|
|
11383
11383
|
key: "",
|
|
11384
11384
|
title: void 0,
|
|
11385
11385
|
sortable: !1,
|
|
11386
11386
|
fixed: !1
|
|
11387
11387
|
};
|
|
11388
11388
|
function Cg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
|
|
11389
|
-
const l =
|
|
11389
|
+
const l = na();
|
|
11390
11390
|
if (o)
|
|
11391
11391
|
for (const m of Object.keys(l))
|
|
11392
11392
|
m in o && (l[m] = o[m]);
|
|
11393
11393
|
const c = t.map((m) => {
|
|
11394
11394
|
const d = { ...Hm, ...m };
|
|
11395
|
-
return T(d.title) && (T(d.title) && Ym.includes(d.key) ? d.title =
|
|
11395
|
+
return T(d.title) && (T(d.title) && Ym.includes(d.key) ? d.title = _r("common.model.tracking." + d.key) : T(d.title) && e && a ? d.title = _r(e + "." + a + ".model." + d.key) : d.title = ""), d;
|
|
11396
11396
|
}), u = x(() => {
|
|
11397
11397
|
const m = [];
|
|
11398
11398
|
return c.forEach((d) => {
|
|
@@ -11415,10 +11415,10 @@ function Cg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
|
|
|
11415
11415
|
}
|
|
11416
11416
|
const Ag = () => ({
|
|
11417
11417
|
commonAliases: () => ({
|
|
11418
|
-
ABtnPrimary:
|
|
11419
|
-
ABtnSecondary:
|
|
11420
|
-
ABtnTertiary:
|
|
11421
|
-
ABtnIcon:
|
|
11418
|
+
ABtnPrimary: In,
|
|
11419
|
+
ABtnSecondary: In,
|
|
11420
|
+
ABtnTertiary: In,
|
|
11421
|
+
ABtnIcon: In,
|
|
11422
11422
|
AChipNoLink: Ko
|
|
11423
11423
|
}),
|
|
11424
11424
|
commonDefaults: () => ({
|
|
@@ -11606,8 +11606,8 @@ function Mg() {
|
|
|
11606
11606
|
finishedAt: null,
|
|
11607
11607
|
startedAt: null,
|
|
11608
11608
|
lastBatchProcessedRecord: "",
|
|
11609
|
-
createdAt:
|
|
11610
|
-
modifiedAt:
|
|
11609
|
+
createdAt: Rt(),
|
|
11610
|
+
modifiedAt: Rt(),
|
|
11611
11611
|
createdBy: null,
|
|
11612
11612
|
modifiedBy: null,
|
|
11613
11613
|
_resourceName: e,
|
|
@@ -11622,12 +11622,12 @@ function Mg() {
|
|
|
11622
11622
|
})
|
|
11623
11623
|
};
|
|
11624
11624
|
}
|
|
11625
|
-
let
|
|
11625
|
+
let jn;
|
|
11626
11626
|
const Jm = new Uint8Array(16);
|
|
11627
11627
|
function Wm() {
|
|
11628
|
-
if (!
|
|
11628
|
+
if (!jn && (jn = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !jn))
|
|
11629
11629
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
11630
|
-
return
|
|
11630
|
+
return jn(Jm);
|
|
11631
11631
|
}
|
|
11632
11632
|
const Te = [];
|
|
11633
11633
|
for (let t = 0; t < 256; ++t)
|
|
@@ -11635,21 +11635,21 @@ for (let t = 0; t < 256; ++t)
|
|
|
11635
11635
|
function qm(t, n = 0) {
|
|
11636
11636
|
return (Te[t[n + 0]] + Te[t[n + 1]] + Te[t[n + 2]] + Te[t[n + 3]] + "-" + Te[t[n + 4]] + Te[t[n + 5]] + "-" + Te[t[n + 6]] + Te[t[n + 7]] + "-" + Te[t[n + 8]] + Te[t[n + 9]] + "-" + Te[t[n + 10]] + Te[t[n + 11]] + Te[t[n + 12]] + Te[t[n + 13]] + Te[t[n + 14]] + Te[t[n + 15]]).toLowerCase();
|
|
11637
11637
|
}
|
|
11638
|
-
let
|
|
11638
|
+
let Mr, ha, ga = 0, va = 0;
|
|
11639
11639
|
function Km(t, n, e) {
|
|
11640
11640
|
let a = n && e || 0;
|
|
11641
11641
|
const r = n || new Array(16);
|
|
11642
11642
|
t = t || {};
|
|
11643
|
-
let o = t.node ||
|
|
11643
|
+
let o = t.node || Mr, l = t.clockseq !== void 0 ? t.clockseq : ha;
|
|
11644
11644
|
if (o == null || l == null) {
|
|
11645
11645
|
const g = t.random || (t.rng || Wm)();
|
|
11646
|
-
o == null && (o =
|
|
11646
|
+
o == null && (o = Mr = [g[0] | 1, g[1], g[2], g[3], g[4], g[5]]), l == null && (l = ha = (g[6] << 8 | g[7]) & 16383);
|
|
11647
11647
|
}
|
|
11648
|
-
let c = t.msecs !== void 0 ? t.msecs : Date.now(), u = t.nsecs !== void 0 ? t.nsecs :
|
|
11649
|
-
const p = c -
|
|
11650
|
-
if (p < 0 && t.clockseq === void 0 && (l = l + 1 & 16383), (p < 0 || c >
|
|
11648
|
+
let c = t.msecs !== void 0 ? t.msecs : Date.now(), u = t.nsecs !== void 0 ? t.nsecs : va + 1;
|
|
11649
|
+
const p = c - ga + (u - va) / 1e4;
|
|
11650
|
+
if (p < 0 && t.clockseq === void 0 && (l = l + 1 & 16383), (p < 0 || c > ga) && t.nsecs === void 0 && (u = 0), u >= 1e4)
|
|
11651
11651
|
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
|
11652
|
-
|
|
11652
|
+
ga = c, va = u, ha = l, c += 122192928e5;
|
|
11653
11653
|
const m = ((c & 268435455) * 1e4 + u) % 4294967296;
|
|
11654
11654
|
r[a++] = m >>> 24 & 255, r[a++] = m >>> 16 & 255, r[a++] = m >>> 8 & 255, r[a++] = m & 255;
|
|
11655
11655
|
const d = c / 4294967296 * 1e4 & 268435455;
|
|
@@ -11658,12 +11658,12 @@ function Km(t, n, e) {
|
|
|
11658
11658
|
r[a + g] = o[g];
|
|
11659
11659
|
return n || qm(r);
|
|
11660
11660
|
}
|
|
11661
|
-
const xg = () => Km(),
|
|
11661
|
+
const xg = () => Km(), At = J(null);
|
|
11662
11662
|
function Sg(t) {
|
|
11663
|
-
t.query.loginState && (
|
|
11664
|
-
const n = () => he(
|
|
11663
|
+
t.query.loginState && (At.value = t.query.loginState.toString());
|
|
11664
|
+
const n = () => he(At.value), e = () => At.value === "success", a = () => At.value === "failure-sso-communication", r = () => At.value === "failure-internal-error", o = () => At.value === "failure-unauthorized";
|
|
11665
11665
|
return {
|
|
11666
|
-
status:
|
|
11666
|
+
status: Lt(At),
|
|
11667
11667
|
isStatusNotDefined: n,
|
|
11668
11668
|
isStatusLoginSuccess: e,
|
|
11669
11669
|
isStatusSsoCommunicationFailure: a,
|
|
@@ -11680,7 +11680,7 @@ export {
|
|
|
11680
11680
|
Bh as AActionSaveButton,
|
|
11681
11681
|
Qp as AAdminSwitcher,
|
|
11682
11682
|
Op as AAlerts,
|
|
11683
|
-
|
|
11683
|
+
Dr as AAnzuUserAvatar,
|
|
11684
11684
|
qh as AAvatarColorPicker,
|
|
11685
11685
|
$p as ABooleanValue,
|
|
11686
11686
|
Oh as ACachedChip,
|
|
@@ -11693,8 +11693,8 @@ export {
|
|
|
11693
11693
|
Jp as ADatatableConfigButton,
|
|
11694
11694
|
Wp as ADatatableOrdering,
|
|
11695
11695
|
Hp as ADatatablePagination,
|
|
11696
|
-
|
|
11697
|
-
|
|
11696
|
+
Hn as ADatetime,
|
|
11697
|
+
jr as ADialogToolbar,
|
|
11698
11698
|
Xp as AEmptyRouterView,
|
|
11699
11699
|
dl as AFilterAdvancedButton,
|
|
11700
11700
|
Th as AFilterBooleanGroup,
|
|
@@ -11738,23 +11738,23 @@ export {
|
|
|
11738
11738
|
Xh as AUnauthorizedView,
|
|
11739
11739
|
Fh as AUserAndTimeTrackingFields,
|
|
11740
11740
|
yl as Acl,
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11741
|
+
ht as AnzuApiForbiddenError,
|
|
11742
|
+
yt as AnzuApiForbiddenOperationError,
|
|
11743
|
+
vt as AnzuApiResponseCodeError,
|
|
11744
|
+
gt as AnzuApiValidationError,
|
|
11745
11745
|
Ie as AnzuFatalError,
|
|
11746
11746
|
bh as AnzuSystemsCommonAdmin,
|
|
11747
11747
|
Xr as AvailableLanguagesSymbol,
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11748
|
+
Cr as COMMON_CONFIG,
|
|
11749
|
+
ea as DATETIME_MAX,
|
|
11750
|
+
Xn as DATETIME_MIN,
|
|
11751
11751
|
eo as DefaultLanguageSymbol,
|
|
11752
|
-
|
|
11752
|
+
Bn as Grant,
|
|
11753
11753
|
Kr as GrantOrigin,
|
|
11754
11754
|
Kp as HTTP_STATUS_BAD_REQUEST,
|
|
11755
11755
|
ji as HTTP_STATUS_CREATED,
|
|
11756
11756
|
Bi as HTTP_STATUS_FORBIDDEN,
|
|
11757
|
-
|
|
11757
|
+
pt as HTTP_STATUS_NO_CONTENT,
|
|
11758
11758
|
zi as HTTP_STATUS_OK,
|
|
11759
11759
|
Gp as HTTP_STATUS_UNAUTHORIZED,
|
|
11760
11760
|
Ur as HTTP_STATUS_UNPROCESSABLE_ENTITY,
|
|
@@ -11778,9 +11778,9 @@ export {
|
|
|
11778
11778
|
pg as arrayItemToggle,
|
|
11779
11779
|
hg as arrayToString,
|
|
11780
11780
|
vg as arraysHaveSameElements,
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11781
|
+
$t as axiosErrorResponseHasForbiddenOperationData,
|
|
11782
|
+
Tt as axiosErrorResponseHasValidationData,
|
|
11783
|
+
St as axiosErrorResponseIsForbidden,
|
|
11784
11784
|
ng as booleanToInteger,
|
|
11785
11785
|
yg as browserHistoryReplaceUrlByRouter,
|
|
11786
11786
|
iu as browserHistoryReplaceUrlByString,
|
|
@@ -11792,8 +11792,8 @@ export {
|
|
|
11792
11792
|
ih as datePretty,
|
|
11793
11793
|
nh as dateTimeEndOfDay,
|
|
11794
11794
|
oh as dateTimeFriendly,
|
|
11795
|
-
|
|
11796
|
-
|
|
11795
|
+
Rt as dateTimeNow,
|
|
11796
|
+
Aa as dateTimePretty,
|
|
11797
11797
|
th as dateTimeStartOfDay,
|
|
11798
11798
|
ol as dateToUtc,
|
|
11799
11799
|
Dg as defineCached,
|
|
@@ -11804,23 +11804,23 @@ export {
|
|
|
11804
11804
|
Ji as isAnzuApiForbiddenOperationError,
|
|
11805
11805
|
Jr as isAnzuApiResponseCodeError,
|
|
11806
11806
|
Hr as isAnzuApiValidationError,
|
|
11807
|
-
|
|
11807
|
+
Rr as isAnzuFatalError,
|
|
11808
11808
|
Ne as isArray,
|
|
11809
|
-
|
|
11809
|
+
mr as isBoolean,
|
|
11810
11810
|
gl as isCreatedByAware,
|
|
11811
|
-
|
|
11811
|
+
fr as isDefined,
|
|
11812
11812
|
Pp as isDocId,
|
|
11813
11813
|
Fp as isEmpty,
|
|
11814
11814
|
ni as isEmptyArray,
|
|
11815
|
-
|
|
11815
|
+
zr as isEmptyObject,
|
|
11816
11816
|
Ip as isInt,
|
|
11817
11817
|
he as isNull,
|
|
11818
|
-
|
|
11819
|
-
|
|
11818
|
+
Fa as isNumber,
|
|
11819
|
+
Qn as isObject,
|
|
11820
11820
|
hl as isOwnerAware,
|
|
11821
11821
|
ct as isString,
|
|
11822
11822
|
T as isUndefined,
|
|
11823
|
-
|
|
11823
|
+
Ot as isValidHTTPStatus,
|
|
11824
11824
|
_g as loadCommonFonts,
|
|
11825
11825
|
dh as makeFilterHelper,
|
|
11826
11826
|
bg as messagesEn,
|
|
@@ -11845,13 +11845,13 @@ export {
|
|
|
11845
11845
|
lh as timePretty,
|
|
11846
11846
|
eh as timestampCurrent,
|
|
11847
11847
|
vl as useAcl,
|
|
11848
|
-
|
|
11848
|
+
Na as useAlerts,
|
|
11849
11849
|
ag as useAnzuUserFactory,
|
|
11850
11850
|
mo as useApiQueryBuilder,
|
|
11851
11851
|
Mg as useCommonJobFactory,
|
|
11852
11852
|
Ag as useCommonVuetifyConfig,
|
|
11853
11853
|
dg as useErrors,
|
|
11854
|
-
|
|
11854
|
+
za as useFilterHelpers,
|
|
11855
11855
|
qr as useGrant,
|
|
11856
11856
|
ml as useGrantOrigin,
|
|
11857
11857
|
Og as useI18n,
|
|
@@ -11861,7 +11861,7 @@ export {
|
|
|
11861
11861
|
us as useLanguageSettings,
|
|
11862
11862
|
Kl as useLogLevel,
|
|
11863
11863
|
Sg as useLoginStatus,
|
|
11864
|
-
|
|
11864
|
+
na as usePagination,
|
|
11865
11865
|
Ch as usePaginationAutoHide,
|
|
11866
11866
|
rg as usePermissionConfigFactory,
|
|
11867
11867
|
og as usePermissionGroupFactory,
|