@anzusystems/common-admin 0.0.73 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common-admin.es.d.ts +2 -1
- package/dist/common-admin.es.js +1 -1
- package/dist/{lib-afad5b68.js → lib-930ed5f7.js} +473 -471
- package/dist/lib-930ed5f7.js.map +1 -0
- package/dist/{webfontloader-e1e71a77.js → webfontloader-f9dab82e.js} +2 -2
- package/dist/{webfontloader-e1e71a77.js.map → webfontloader-f9dab82e.js.map} +1 -1
- package/package.json +13 -13
- package/dist/lib-afad5b68.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var yo = Object.defineProperty;
|
|
2
2
|
var bo = (t, n, e) => n in t ? yo(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
3
|
var En = (t, n, e) => (bo(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
-
import { defineComponent as L, computed as _, openBlock as k, createBlock as F, unref as f, withCtx as v, createTextVNode as z, toDisplayString as O, createElementBlock as
|
|
4
|
+
import { defineComponent as L, computed as _, openBlock as k, createBlock as F, unref as f, withCtx as v, createTextVNode as z, toDisplayString as O, createElementBlock as U, createVNode as b, createCommentVNode as ee, renderSlot as ke, createElementVNode as oe, resolveComponent as Bt, normalizeClass as ge, withModifiers as re, withDirectives as Mr, vShow as xr, isProxy as wo, toRaw as ko, isRef as He, inject as Ce, createSlots as Ut, Fragment as Le, provide as lr, watch as xe, renderList as pt, ref as W, TransitionGroup as Tr, normalizeStyle as wa, resolveDynamicComponent as xa, onMounted as Gn, toRefs as Zn, h as Co, nextTick as Do, withKeys as Sr, reactive as Ao, shallowRef as sr, readonly as Lt, mergeProps as Ta, createStaticVNode as $r, setBlockTracking as ur, onBeforeUnmount as _o } from "vue";
|
|
5
5
|
import { useI18n as G, createI18n as Mo } from "vue-i18n";
|
|
6
6
|
import { VChip as ft } from "vuetify/lib/components/VChip/index.mjs";
|
|
7
7
|
import { VRow as ka, VCol as Xt, VSpacer as rn } from "vuetify/lib/components/VGrid/index.mjs";
|
|
@@ -53,7 +53,7 @@ const Zo = { key: 1 }, zp = /* @__PURE__ */ L({
|
|
|
53
53
|
z(O(f(r)), 1)
|
|
54
54
|
]),
|
|
55
55
|
_: 1
|
|
56
|
-
}, 8, ["color"])) : (k(),
|
|
56
|
+
}, 8, ["color"])) : (k(), U("span", Zo, O(f(r)), 1));
|
|
57
57
|
}
|
|
58
58
|
}), Qo = {
|
|
59
59
|
key: 0,
|
|
@@ -71,9 +71,9 @@ const Zo = { key: 1 }, zp = /* @__PURE__ */ L({
|
|
|
71
71
|
default: v(() => [
|
|
72
72
|
b(Xt, null, {
|
|
73
73
|
default: v(() => [
|
|
74
|
-
t.title.length ? (k(),
|
|
74
|
+
t.title.length ? (k(), U("h4", Qo, O(t.title), 1)) : ee("", !0),
|
|
75
75
|
ke(n.$slots, "default", {}, () => [
|
|
76
|
-
|
|
76
|
+
oe("span", Xo, O(t.value), 1)
|
|
77
77
|
])
|
|
78
78
|
]),
|
|
79
79
|
_: 3
|
|
@@ -110,11 +110,11 @@ const Zo = { key: 1 }, zp = /* @__PURE__ */ L({
|
|
|
110
110
|
close: v(() => [
|
|
111
111
|
b(me, {
|
|
112
112
|
icon: "mdi-close",
|
|
113
|
-
onClick:
|
|
113
|
+
onClick: re(r.close, ["stop"])
|
|
114
114
|
}, null, 8, ["onClick"])
|
|
115
115
|
]),
|
|
116
116
|
default: v(() => [
|
|
117
|
-
|
|
117
|
+
oe("div", {
|
|
118
118
|
class: "white-space-pre",
|
|
119
119
|
"data-cy": "page-title",
|
|
120
120
|
textContent: O(r.item.text)
|
|
@@ -133,7 +133,7 @@ const Zo = { key: 1 }, zp = /* @__PURE__ */ L({
|
|
|
133
133
|
loading: { type: Boolean, default: void 0 }
|
|
134
134
|
},
|
|
135
135
|
setup(t) {
|
|
136
|
-
return (n, e) => Mr((k(),
|
|
136
|
+
return (n, e) => Mr((k(), U("div", ti, null, 512)), [
|
|
137
137
|
[xr, t.loading]
|
|
138
138
|
]);
|
|
139
139
|
}
|
|
@@ -272,7 +272,7 @@ const Bp = /* @__PURE__ */ L({
|
|
|
272
272
|
name: "label",
|
|
273
273
|
fn: v(() => [
|
|
274
274
|
z(O(f(m)), 1),
|
|
275
|
-
f(p) ? (k(),
|
|
275
|
+
f(p) ? (k(), U("span", ui)) : ee("", !0)
|
|
276
276
|
]),
|
|
277
277
|
key: "0"
|
|
278
278
|
}
|
|
@@ -335,7 +335,7 @@ const Bp = /* @__PURE__ */ L({
|
|
|
335
335
|
name: "label",
|
|
336
336
|
fn: v(() => [
|
|
337
337
|
z(O(f(m)), 1),
|
|
338
|
-
f(p) ? (k(),
|
|
338
|
+
f(p) ? (k(), U("span", di)) : ee("", !0)
|
|
339
339
|
]),
|
|
340
340
|
key: "0"
|
|
341
341
|
}
|
|
@@ -374,14 +374,14 @@ const Bp = /* @__PURE__ */ L({
|
|
|
374
374
|
var m, p;
|
|
375
375
|
return S(e.required) ? !!((m = e.v) != null && m.required && ((p = e.v) == null ? void 0 : p.required.$params.type) === "required") : e.required;
|
|
376
376
|
});
|
|
377
|
-
return (m, p) => (k(),
|
|
377
|
+
return (m, p) => (k(), U(Le, null, [
|
|
378
378
|
t.label ? (k(), F(Vr, {
|
|
379
379
|
key: 0,
|
|
380
380
|
class: "pr-1"
|
|
381
381
|
}, {
|
|
382
382
|
default: v(() => [
|
|
383
383
|
z(O(f(d)), 1),
|
|
384
|
-
f(u) ? (k(),
|
|
384
|
+
f(u) ? (k(), U("span", ci)) : ee("", !0)
|
|
385
385
|
]),
|
|
386
386
|
_: 1
|
|
387
387
|
})) : ee("", !0),
|
|
@@ -440,16 +440,16 @@ const Bp = /* @__PURE__ */ L({
|
|
|
440
440
|
get() {
|
|
441
441
|
return e.modelValue;
|
|
442
442
|
},
|
|
443
|
-
set(
|
|
444
|
-
n("update:modelValue", mt(
|
|
443
|
+
set(P) {
|
|
444
|
+
n("update:modelValue", mt(P));
|
|
445
445
|
}
|
|
446
446
|
}), { t: r } = G(), o = _(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), l = _(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), d = _(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = _(() => a.value.page === 1), m = _(() => !he(a.value.hasNextPage) || a.value.page === o.value), p = _(() => he(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), c = _(() => he(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? d.value + 1 + "+" : d.value), g = _(() => a.value.rowsPerPage);
|
|
447
|
-
xe(g, (
|
|
448
|
-
|
|
447
|
+
xe(g, (P, N) => {
|
|
448
|
+
P !== N && (a.value.page = 1, n("change"));
|
|
449
449
|
});
|
|
450
450
|
const w = _(() => a.value.page);
|
|
451
|
-
xe(w, (
|
|
452
|
-
|
|
451
|
+
xe(w, (P, N) => {
|
|
452
|
+
P !== N && n("change");
|
|
453
453
|
});
|
|
454
454
|
const I = () => {
|
|
455
455
|
a.value.page = 1;
|
|
@@ -457,22 +457,22 @@ const Bp = /* @__PURE__ */ L({
|
|
|
457
457
|
a.value.page = o.value;
|
|
458
458
|
}, V = () => {
|
|
459
459
|
a.value.page = a.value.page - 1;
|
|
460
|
-
},
|
|
460
|
+
}, Y = () => {
|
|
461
461
|
a.value.page = a.value.page + 1;
|
|
462
462
|
};
|
|
463
|
-
return (
|
|
464
|
-
t.hideRecordsPerPage ? ee("", !0) : (k(),
|
|
463
|
+
return (P, N) => (k(), U("div", fi, [
|
|
464
|
+
t.hideRecordsPerPage ? ee("", !0) : (k(), U("div", mi, [
|
|
465
465
|
z(O(f(r)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
466
466
|
b(un, {
|
|
467
467
|
modelValue: f(a).rowsPerPage,
|
|
468
|
-
"onUpdate:modelValue":
|
|
468
|
+
"onUpdate:modelValue": N[0] || (N[0] = (T) => f(a).rowsPerPage = T),
|
|
469
469
|
class: "ml-2",
|
|
470
470
|
density: "compact",
|
|
471
471
|
mandatory: "",
|
|
472
472
|
"data-cy": "table-size"
|
|
473
473
|
}, {
|
|
474
474
|
default: v(() => [
|
|
475
|
-
(k(!0),
|
|
475
|
+
(k(!0), U(Le, null, pt(t.itemsPerPageOptions, (T) => (k(), F(te, {
|
|
476
476
|
key: T,
|
|
477
477
|
color: T === f(a).rowsPerPage ? "secondary" : "",
|
|
478
478
|
value: T,
|
|
@@ -489,40 +489,40 @@ const Bp = /* @__PURE__ */ L({
|
|
|
489
489
|
_: 1
|
|
490
490
|
}, 8, ["modelValue"])
|
|
491
491
|
])),
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
oe("div", pi, O(f(l)) + " - " + O(f(d)) + " " + O(f(r)("common.system.datatable.from")) + " " + O(f(c)), 1),
|
|
493
|
+
oe("div", hi, [
|
|
494
494
|
b(te, {
|
|
495
495
|
disabled: f(u),
|
|
496
496
|
icon: "mdi-page-first",
|
|
497
497
|
size: "small",
|
|
498
498
|
variant: "text",
|
|
499
|
-
onClick:
|
|
499
|
+
onClick: re(I, ["stop"])
|
|
500
500
|
}, null, 8, ["disabled", "onClick"]),
|
|
501
501
|
b(te, {
|
|
502
502
|
disabled: f(u),
|
|
503
503
|
icon: "mdi-chevron-left",
|
|
504
504
|
size: "small",
|
|
505
505
|
variant: "text",
|
|
506
|
-
onClick:
|
|
506
|
+
onClick: re(V, ["stop"])
|
|
507
507
|
}, null, 8, ["disabled", "onClick"])
|
|
508
508
|
]),
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
oe("div", gi, [
|
|
510
|
+
oe("span", null, O(f(a).page), 1)
|
|
511
511
|
]),
|
|
512
|
-
|
|
512
|
+
oe("div", vi, [
|
|
513
513
|
b(te, {
|
|
514
514
|
disabled: f(p),
|
|
515
515
|
icon: "mdi-chevron-right",
|
|
516
516
|
size: "small",
|
|
517
517
|
variant: "text",
|
|
518
|
-
onClick:
|
|
518
|
+
onClick: re(Y, ["stop"])
|
|
519
519
|
}, null, 8, ["disabled", "onClick"]),
|
|
520
520
|
b(te, {
|
|
521
521
|
disabled: f(m),
|
|
522
522
|
icon: "mdi-page-last",
|
|
523
523
|
size: "small",
|
|
524
524
|
variant: "text",
|
|
525
|
-
onClick:
|
|
525
|
+
onClick: re(y, ["stop"])
|
|
526
526
|
}, null, 8, ["disabled", "onClick"])
|
|
527
527
|
])
|
|
528
528
|
]));
|
|
@@ -576,16 +576,16 @@ const Qp = /* @__PURE__ */ L({
|
|
|
576
576
|
default: v(() => [
|
|
577
577
|
b(on, null, {
|
|
578
578
|
default: v(() => [
|
|
579
|
-
|
|
579
|
+
oe("strong", null, O(f(a)("common.system.datatable.displayCols")), 1)
|
|
580
580
|
]),
|
|
581
581
|
_: 1
|
|
582
582
|
})
|
|
583
583
|
]),
|
|
584
584
|
_: 1
|
|
585
585
|
}),
|
|
586
|
-
(k(!0),
|
|
586
|
+
(k(!0), U(Le, null, pt(t.columnsAll, (u) => (k(), F(Xe, {
|
|
587
587
|
key: u.key,
|
|
588
|
-
onClick:
|
|
588
|
+
onClick: re((m) => o(u.key), ["stop"])
|
|
589
589
|
}, {
|
|
590
590
|
default: v(() => [
|
|
591
591
|
b(on, null, {
|
|
@@ -628,7 +628,7 @@ const Qp = /* @__PURE__ */ L({
|
|
|
628
628
|
},
|
|
629
629
|
emits: ["update:modelValue", "sortByChange"],
|
|
630
630
|
setup(t, { emit: n }) {
|
|
631
|
-
const e = t, { t: a } = G(), r =
|
|
631
|
+
const e = t, { t: a } = G(), r = W(e.modelValue), o = _({
|
|
632
632
|
get() {
|
|
633
633
|
return e.modelValue;
|
|
634
634
|
},
|
|
@@ -663,8 +663,8 @@ const Qp = /* @__PURE__ */ L({
|
|
|
663
663
|
S(g) || c === g || (r.value = c);
|
|
664
664
|
},
|
|
665
665
|
{ immediate: !0 }
|
|
666
|
-
), (c, g) => (k(),
|
|
667
|
-
|
|
666
|
+
), (c, g) => (k(), U("div", yi, [
|
|
667
|
+
oe("div", bi, O(f(a)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
668
668
|
b(te, {
|
|
669
669
|
variant: "text",
|
|
670
670
|
rounded: "xl",
|
|
@@ -684,7 +684,7 @@ const Qp = /* @__PURE__ */ L({
|
|
|
684
684
|
class: "pa-0"
|
|
685
685
|
}, {
|
|
686
686
|
default: v(() => [
|
|
687
|
-
(k(!0),
|
|
687
|
+
(k(!0), U(Le, null, pt(f(m), (w) => (k(), F(Xe, {
|
|
688
688
|
key: w.id,
|
|
689
689
|
onClick: (I) => p(w)
|
|
690
690
|
}, {
|
|
@@ -736,7 +736,7 @@ const Qp = /* @__PURE__ */ L({
|
|
|
736
736
|
size: "small",
|
|
737
737
|
variant: "text",
|
|
738
738
|
"data-cy": "button-close",
|
|
739
|
-
onClick:
|
|
739
|
+
onClick: re(e, ["stop"])
|
|
740
740
|
}, null, 8, ["onClick"])
|
|
741
741
|
]),
|
|
742
742
|
_: 3
|
|
@@ -755,7 +755,7 @@ const Qp = /* @__PURE__ */ L({
|
|
|
755
755
|
console.log(a);
|
|
756
756
|
},
|
|
757
757
|
{ immediate: !0 }
|
|
758
|
-
), (a, r) => (k(),
|
|
758
|
+
), (a, r) => (k(), U("div"));
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
function wi(t) {
|
|
@@ -1101,7 +1101,7 @@ const $i = /* @__PURE__ */ Ea(Ti, [["render", Si]]), ua = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1101
1101
|
}
|
|
1102
1102
|
}), Ii = ["data-id"], Ei = ["onClick"], Fi = ["innerHTML"], Ni = ["innerHTML"];
|
|
1103
1103
|
function Li(t, n, e, a, r, o) {
|
|
1104
|
-
return k(),
|
|
1104
|
+
return k(), U("div", {
|
|
1105
1105
|
class: "vue-notification-group",
|
|
1106
1106
|
style: wa(t.styles)
|
|
1107
1107
|
}, [
|
|
@@ -1112,7 +1112,7 @@ function Li(t, n, e, a, r, o) {
|
|
|
1112
1112
|
onAfterLeave: t.clean
|
|
1113
1113
|
}, {
|
|
1114
1114
|
default: v(() => [
|
|
1115
|
-
(k(!0),
|
|
1115
|
+
(k(!0), U(Le, null, pt(t.active, (l) => (k(), U("div", {
|
|
1116
1116
|
key: l.id,
|
|
1117
1117
|
class: "vue-notification-wrapper",
|
|
1118
1118
|
style: wa(t.notifyWrapperStyle(l)),
|
|
@@ -1125,16 +1125,16 @@ function Li(t, n, e, a, r, o) {
|
|
|
1125
1125
|
item: l,
|
|
1126
1126
|
close: () => t.destroy(l)
|
|
1127
1127
|
}, () => [
|
|
1128
|
-
|
|
1128
|
+
oe("div", {
|
|
1129
1129
|
class: ge(t.notifyClass(l)),
|
|
1130
1130
|
onClick: (d) => t.destroyIfNecessary(l)
|
|
1131
1131
|
}, [
|
|
1132
|
-
l.title ? (k(),
|
|
1132
|
+
l.title ? (k(), U("div", {
|
|
1133
1133
|
key: 0,
|
|
1134
1134
|
class: "notification-title",
|
|
1135
1135
|
innerHTML: l.title
|
|
1136
1136
|
}, null, 8, Fi)) : ee("", !0),
|
|
1137
|
-
|
|
1137
|
+
oe("div", {
|
|
1138
1138
|
class: "notification-content",
|
|
1139
1139
|
innerHTML: l.text
|
|
1140
1140
|
}, null, 8, Ni)
|
|
@@ -1249,8 +1249,8 @@ function Fa() {
|
|
|
1249
1249
|
type: "success"
|
|
1250
1250
|
});
|
|
1251
1251
|
}, n = (y, V = Qe) => {
|
|
1252
|
-
const { t:
|
|
1253
|
-
t(
|
|
1252
|
+
const { t: Y } = se.global;
|
|
1253
|
+
t(Y(y), V);
|
|
1254
1254
|
}, e = (y, V = Qe) => {
|
|
1255
1255
|
Ke({
|
|
1256
1256
|
group: "alerts",
|
|
@@ -1259,8 +1259,8 @@ function Fa() {
|
|
|
1259
1259
|
type: "error"
|
|
1260
1260
|
});
|
|
1261
1261
|
}, a = (y, V = Qe) => {
|
|
1262
|
-
const { t:
|
|
1263
|
-
e(
|
|
1262
|
+
const { t: Y } = se.global;
|
|
1263
|
+
e(Y(y), V);
|
|
1264
1264
|
}, r = (y, V = Qe) => {
|
|
1265
1265
|
Ke({
|
|
1266
1266
|
group: "alerts",
|
|
@@ -1269,8 +1269,8 @@ function Fa() {
|
|
|
1269
1269
|
type: "info"
|
|
1270
1270
|
});
|
|
1271
1271
|
}, o = (y, V = Qe) => {
|
|
1272
|
-
const { t:
|
|
1273
|
-
r(
|
|
1272
|
+
const { t: Y } = se.global;
|
|
1273
|
+
r(Y(y), V);
|
|
1274
1274
|
}, l = (y, V = Qe) => {
|
|
1275
1275
|
Ke({
|
|
1276
1276
|
group: "alerts",
|
|
@@ -1279,8 +1279,8 @@ function Fa() {
|
|
|
1279
1279
|
type: "warning"
|
|
1280
1280
|
});
|
|
1281
1281
|
}, d = (y, V = Qe) => {
|
|
1282
|
-
const { t:
|
|
1283
|
-
l(
|
|
1282
|
+
const { t: Y } = se.global;
|
|
1283
|
+
l(Y(y), V);
|
|
1284
1284
|
}, u = (y = Qe) => {
|
|
1285
1285
|
const { t: V } = se.global;
|
|
1286
1286
|
Ke({
|
|
@@ -1290,27 +1290,27 @@ function Fa() {
|
|
|
1290
1290
|
type: "error"
|
|
1291
1291
|
});
|
|
1292
1292
|
}, m = (y, V = Qe) => {
|
|
1293
|
-
const { t:
|
|
1293
|
+
const { t: Y } = se.global;
|
|
1294
1294
|
Ke({
|
|
1295
1295
|
group: "alerts",
|
|
1296
|
-
text:
|
|
1296
|
+
text: Y("common.alert.recordWas." + y),
|
|
1297
1297
|
duration: V * 1e3,
|
|
1298
1298
|
type: "success"
|
|
1299
1299
|
});
|
|
1300
|
-
}, p = (y, V = -1,
|
|
1301
|
-
const { t:
|
|
1302
|
-
for (let
|
|
1300
|
+
}, p = (y, V = -1, Y = !1) => {
|
|
1301
|
+
const { t: P, te: N } = se.global, T = [P("common.alert.fixApiValidationErrors")];
|
|
1302
|
+
for (let J = 0; J < y.length; J++) {
|
|
1303
1303
|
let q = "";
|
|
1304
|
-
|
|
1305
|
-
const
|
|
1306
|
-
for (let de = 0; de < y[
|
|
1307
|
-
if (
|
|
1308
|
-
|
|
1304
|
+
Y ? q += y[J].field : N(y[J].field) && (q += P(y[J].field));
|
|
1305
|
+
const ne = /* @__PURE__ */ new Set();
|
|
1306
|
+
for (let de = 0; de < y[J].errors.length; de++) {
|
|
1307
|
+
if (N("error.apiValidation." + y[J].errors[de])) {
|
|
1308
|
+
ne.add(P("error.apiValidation." + y[J].errors[de]));
|
|
1309
1309
|
continue;
|
|
1310
1310
|
}
|
|
1311
|
-
|
|
1311
|
+
ne.add(P("error.apiValidation.noTranslation"));
|
|
1312
1312
|
}
|
|
1313
|
-
q.length > 0 && T.push(q + ": " + Array.from(
|
|
1313
|
+
q.length > 0 && T.push(q + ": " + Array.from(ne).join(", "));
|
|
1314
1314
|
}
|
|
1315
1315
|
Ke({
|
|
1316
1316
|
group: "alerts",
|
|
@@ -1319,11 +1319,11 @@ function Fa() {
|
|
|
1319
1319
|
type: "error"
|
|
1320
1320
|
});
|
|
1321
1321
|
}, c = (y, V = -1) => {
|
|
1322
|
-
const { t:
|
|
1323
|
-
let
|
|
1324
|
-
|
|
1322
|
+
const { t: Y, te: P } = se.global;
|
|
1323
|
+
let N = Y("error.apiForbiddenOperation.noTranslation");
|
|
1324
|
+
P("error.apiForbiddenOperation." + y) && (N = Y("error.apiForbiddenOperation." + y)), Ke({
|
|
1325
1325
|
group: "alerts",
|
|
1326
|
-
text:
|
|
1326
|
+
text: N,
|
|
1327
1327
|
duration: V * 1e3,
|
|
1328
1328
|
type: "error"
|
|
1329
1329
|
});
|
|
@@ -1377,7 +1377,7 @@ const ah = /* @__PURE__ */ L({
|
|
|
1377
1377
|
},
|
|
1378
1378
|
emits: ["update:modelValue", "onConfirm", "onOpen", "onClose", "onError", "onSuccess"],
|
|
1379
1379
|
setup(t, { emit: n }) {
|
|
1380
|
-
const e = t, { t: a } = G(), r =
|
|
1380
|
+
const e = t, { t: a } = G(), r = W(!1), o = () => {
|
|
1381
1381
|
n("update:modelValue", !0), n("onOpen");
|
|
1382
1382
|
}, l = () => {
|
|
1383
1383
|
n("update:modelValue", !1), n("onClose");
|
|
@@ -1406,7 +1406,7 @@ const ah = /* @__PURE__ */ L({
|
|
|
1406
1406
|
class: ge(t.buttonClass),
|
|
1407
1407
|
rounded: "pill",
|
|
1408
1408
|
"data-cy": t.dataCy,
|
|
1409
|
-
onClick:
|
|
1409
|
+
onClick: re(o, ["stop"])
|
|
1410
1410
|
}, {
|
|
1411
1411
|
default: v(() => [
|
|
1412
1412
|
ke(g.$slots, "button-title", {}, () => [
|
|
@@ -1443,7 +1443,7 @@ const ah = /* @__PURE__ */ L({
|
|
|
1443
1443
|
b(rn),
|
|
1444
1444
|
b(I, {
|
|
1445
1445
|
"data-cy": "button-cancel",
|
|
1446
|
-
onClick:
|
|
1446
|
+
onClick: re(l, ["stop"])
|
|
1447
1447
|
}, {
|
|
1448
1448
|
default: v(() => [
|
|
1449
1449
|
z(O(f(a)("common.button.cancel")), 1)
|
|
@@ -1453,7 +1453,7 @@ const ah = /* @__PURE__ */ L({
|
|
|
1453
1453
|
b(y, {
|
|
1454
1454
|
loading: r.value,
|
|
1455
1455
|
"data-cy": "button-create",
|
|
1456
|
-
onClick:
|
|
1456
|
+
onClick: re(c, ["stop"])
|
|
1457
1457
|
}, {
|
|
1458
1458
|
default: v(() => [
|
|
1459
1459
|
ke(g.$slots, "button-confirm-title", {}, () => [
|
|
@@ -1482,7 +1482,7 @@ const ah = /* @__PURE__ */ L({
|
|
|
1482
1482
|
configUrl: { default: null }
|
|
1483
1483
|
},
|
|
1484
1484
|
setup(t) {
|
|
1485
|
-
const n = t, { t: e } = G(), a =
|
|
1485
|
+
const n = t, { t: e } = G(), a = W([]);
|
|
1486
1486
|
return Gn(async () => {
|
|
1487
1487
|
if (n.configUrl && n.configUrl.length > 0)
|
|
1488
1488
|
try {
|
|
@@ -1511,19 +1511,19 @@ const ah = /* @__PURE__ */ L({
|
|
|
1511
1511
|
default: v(() => [
|
|
1512
1512
|
b(at, null, {
|
|
1513
1513
|
default: v(() => [
|
|
1514
|
-
|
|
1515
|
-
(k(!0),
|
|
1514
|
+
oe("div", Qi, [
|
|
1515
|
+
(k(!0), U(Le, null, pt(a.value, (l) => (k(), U("a", {
|
|
1516
1516
|
key: l.id,
|
|
1517
1517
|
href: l.url,
|
|
1518
1518
|
rel: "noopener noreferrer",
|
|
1519
1519
|
target: "_blank",
|
|
1520
1520
|
class: "a-admin-switcher__item"
|
|
1521
1521
|
}, [
|
|
1522
|
-
|
|
1522
|
+
oe("img", {
|
|
1523
1523
|
src: l.icon,
|
|
1524
1524
|
alt: l.title
|
|
1525
1525
|
}, null, 8, el),
|
|
1526
|
-
|
|
1526
|
+
oe("span", tl, O(l.title), 1)
|
|
1527
1527
|
], 8, Xi))), 128))
|
|
1528
1528
|
])
|
|
1529
1529
|
]),
|
|
@@ -1557,15 +1557,15 @@ var Wr = { exports: {} };
|
|
|
1557
1557
|
(function(e, a) {
|
|
1558
1558
|
t.exports = a();
|
|
1559
1559
|
})(Na, function() {
|
|
1560
|
-
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", d = "minute", u = "hour", m = "day", p = "week", c = "month", g = "quarter", w = "year", I = "date", y = "Invalid Date", V = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
1560
|
+
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", d = "minute", u = "hour", m = "day", p = "week", c = "month", g = "quarter", w = "year", I = "date", y = "Invalid Date", V = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Y = /\[([^\]]+)]|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, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
|
|
1561
1561
|
var C = ["th", "st", "nd", "rd"], M = A % 100;
|
|
1562
1562
|
return "[" + A + (C[(M - 20) % 10] || C[M] || C[0]) + "]";
|
|
1563
|
-
} },
|
|
1563
|
+
} }, N = function(A, C, M) {
|
|
1564
1564
|
var x = String(A);
|
|
1565
1565
|
return !x || x.length >= C ? A : "" + Array(C + 1 - x.length).join(M) + A;
|
|
1566
|
-
}, T = { s:
|
|
1566
|
+
}, T = { s: N, z: function(A) {
|
|
1567
1567
|
var C = -A.utcOffset(), M = Math.abs(C), x = Math.floor(M / 60), $ = M % 60;
|
|
1568
|
-
return (C <= 0 ? "+" : "-") +
|
|
1568
|
+
return (C <= 0 ? "+" : "-") + N(x, 2, "0") + ":" + N($, 2, "0");
|
|
1569
1569
|
}, m: function A(C, M) {
|
|
1570
1570
|
if (C.date() < M.date())
|
|
1571
1571
|
return -A(M, C);
|
|
@@ -1577,14 +1577,14 @@ var Wr = { exports: {} };
|
|
|
1577
1577
|
return { M: c, y: w, w: p, d: m, D: I, h: u, m: d, s: l, ms: o, Q: g }[A] || String(A || "").toLowerCase().replace(/s$/, "");
|
|
1578
1578
|
}, u: function(A) {
|
|
1579
1579
|
return A === void 0;
|
|
1580
|
-
} },
|
|
1581
|
-
q[
|
|
1582
|
-
var
|
|
1580
|
+
} }, J = "en", q = {};
|
|
1581
|
+
q[J] = P;
|
|
1582
|
+
var ne = function(A) {
|
|
1583
1583
|
return A instanceof De;
|
|
1584
1584
|
}, de = function A(C, M, x) {
|
|
1585
1585
|
var $;
|
|
1586
1586
|
if (!C)
|
|
1587
|
-
return
|
|
1587
|
+
return J;
|
|
1588
1588
|
if (typeof C == "string") {
|
|
1589
1589
|
var B = C.toLowerCase();
|
|
1590
1590
|
q[B] && ($ = B), M && (q[B] = M, $ = B);
|
|
@@ -1595,15 +1595,15 @@ var Wr = { exports: {} };
|
|
|
1595
1595
|
var ue = C.name;
|
|
1596
1596
|
q[ue] = C, $ = ue;
|
|
1597
1597
|
}
|
|
1598
|
-
return !x && $ && (
|
|
1599
|
-
},
|
|
1600
|
-
if (
|
|
1598
|
+
return !x && $ && (J = $), $ || !x && J;
|
|
1599
|
+
}, ie = function(A, C) {
|
|
1600
|
+
if (ne(A))
|
|
1601
1601
|
return A.clone();
|
|
1602
1602
|
var M = typeof C == "object" ? C : {};
|
|
1603
1603
|
return M.date = A, M.args = arguments, new De(M);
|
|
1604
1604
|
}, Q = T;
|
|
1605
|
-
Q.l = de, Q.i =
|
|
1606
|
-
return
|
|
1605
|
+
Q.l = de, Q.i = ne, Q.w = function(A, C) {
|
|
1606
|
+
return ie(A, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
|
|
1607
1607
|
};
|
|
1608
1608
|
var De = function() {
|
|
1609
1609
|
function A(M) {
|
|
@@ -1636,12 +1636,12 @@ var Wr = { exports: {} };
|
|
|
1636
1636
|
}, C.isValid = function() {
|
|
1637
1637
|
return this.$d.toString() !== y;
|
|
1638
1638
|
}, C.isSame = function(M, x) {
|
|
1639
|
-
var $ =
|
|
1639
|
+
var $ = ie(M);
|
|
1640
1640
|
return this.startOf(x) <= $ && $ <= this.endOf(x);
|
|
1641
1641
|
}, C.isAfter = function(M, x) {
|
|
1642
|
-
return
|
|
1642
|
+
return ie(M) < this.startOf(x);
|
|
1643
1643
|
}, C.isBefore = function(M, x) {
|
|
1644
|
-
return this.endOf(x) <
|
|
1644
|
+
return this.endOf(x) < ie(M);
|
|
1645
1645
|
}, C.$g = function(M, x, $) {
|
|
1646
1646
|
return Q.u(M) ? this[x] : this.set($, M);
|
|
1647
1647
|
}, C.unix = function() {
|
|
@@ -1693,7 +1693,7 @@ var Wr = { exports: {} };
|
|
|
1693
1693
|
var $, B = this;
|
|
1694
1694
|
M = Number(M);
|
|
1695
1695
|
var X = Q.p(x), ue = function(_e) {
|
|
1696
|
-
var ze =
|
|
1696
|
+
var ze = ie(B);
|
|
1697
1697
|
return Q.w(ze.date(ze.date() + Math.round(_e * M)), B);
|
|
1698
1698
|
};
|
|
1699
1699
|
if (X === c)
|
|
@@ -1720,13 +1720,13 @@ var Wr = { exports: {} };
|
|
|
1720
1720
|
var We = Ae < 12 ? "AM" : "PM";
|
|
1721
1721
|
return lt ? We.toLowerCase() : We;
|
|
1722
1722
|
}, Se = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ye + 1, MM: Q.s(ye + 1, 2, "0"), MMM: Te($.monthsShort, ye, ze, 3), MMMM: Te(ze, ye), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: Te($.weekdaysMin, this.$W, _e, 2), ddd: Te($.weekdaysShort, this.$W, _e, 3), dddd: _e[this.$W], H: String(ue), HH: Q.s(ue, 2, "0"), h: Je(1), hh: Je(2), a: je(ue, ve, !0), A: je(ue, ve, !1), m: String(ve), mm: Q.s(ve, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: X };
|
|
1723
|
-
return B.replace(
|
|
1723
|
+
return B.replace(Y, function(Ae, Be) {
|
|
1724
1724
|
return Be || Se[Ae] || X.replace(":", "");
|
|
1725
1725
|
});
|
|
1726
1726
|
}, C.utcOffset = function() {
|
|
1727
1727
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1728
1728
|
}, C.diff = function(M, x, $) {
|
|
1729
|
-
var B, X = Q.p(x), ue =
|
|
1729
|
+
var B, X = Q.p(x), ue = ie(M), ve = (ue.utcOffset() - this.utcOffset()) * a, ye = this - ue, _e = Q.m(this, ue);
|
|
1730
1730
|
return _e = (B = {}, B[w] = _e / 12, B[c] = _e, B[g] = _e / 3, B[p] = (ye - ve) / 6048e5, B[m] = (ye - ve) / 864e5, B[u] = ye / r, B[d] = ye / a, B[l] = ye / e, B)[X] || ye, $ ? _e : Q.a(_e);
|
|
1731
1731
|
}, C.daysInMonth = function() {
|
|
1732
1732
|
return this.endOf(c).$D;
|
|
@@ -1749,15 +1749,15 @@ var Wr = { exports: {} };
|
|
|
1749
1749
|
return this.$d.toUTCString();
|
|
1750
1750
|
}, A;
|
|
1751
1751
|
}(), K = De.prototype;
|
|
1752
|
-
return
|
|
1752
|
+
return ie.prototype = K, [["$ms", o], ["$s", l], ["$m", d], ["$H", u], ["$W", m], ["$M", c], ["$y", w], ["$D", I]].forEach(function(A) {
|
|
1753
1753
|
K[A[1]] = function(C) {
|
|
1754
1754
|
return this.$g(C, A[0], A[1]);
|
|
1755
1755
|
};
|
|
1756
|
-
}),
|
|
1757
|
-
return A.$i || (A(C, De,
|
|
1758
|
-
},
|
|
1759
|
-
return
|
|
1760
|
-
},
|
|
1756
|
+
}), ie.extend = function(A, C) {
|
|
1757
|
+
return A.$i || (A(C, De, ie), A.$i = !0), ie;
|
|
1758
|
+
}, ie.locale = de, ie.isDayjs = ne, ie.unix = function(A) {
|
|
1759
|
+
return ie(1e3 * A);
|
|
1760
|
+
}, ie.en = q[J], ie.Ls = q, ie.p = {}, ie;
|
|
1761
1761
|
});
|
|
1762
1762
|
})(Wr);
|
|
1763
1763
|
var rl = Wr.exports;
|
|
@@ -1793,27 +1793,27 @@ var qr = { exports: {} };
|
|
|
1793
1793
|
};
|
|
1794
1794
|
var c = u.utcOffset;
|
|
1795
1795
|
u.utcOffset = function(y, V) {
|
|
1796
|
-
var
|
|
1797
|
-
if (
|
|
1798
|
-
return this.$u ? 0 :
|
|
1799
|
-
if (typeof y == "string" && (y = function(
|
|
1800
|
-
|
|
1801
|
-
var q =
|
|
1796
|
+
var Y = this.$utils().u;
|
|
1797
|
+
if (Y(y))
|
|
1798
|
+
return this.$u ? 0 : Y(this.$offset) ? c.call(this) : this.$offset;
|
|
1799
|
+
if (typeof y == "string" && (y = function(J) {
|
|
1800
|
+
J === void 0 && (J = "");
|
|
1801
|
+
var q = J.match(a);
|
|
1802
1802
|
if (!q)
|
|
1803
1803
|
return null;
|
|
1804
|
-
var
|
|
1805
|
-
return
|
|
1804
|
+
var ne = ("" + q[0]).match(r) || ["-", 0, 0], de = ne[0], ie = 60 * +ne[1] + +ne[2];
|
|
1805
|
+
return ie === 0 ? 0 : de === "+" ? ie : -ie;
|
|
1806
1806
|
}(y), y === null))
|
|
1807
1807
|
return this;
|
|
1808
|
-
var
|
|
1808
|
+
var P = Math.abs(y) <= 16 ? 60 * y : y, N = this;
|
|
1809
1809
|
if (V)
|
|
1810
|
-
return
|
|
1810
|
+
return N.$offset = P, N.$u = y === 0, N;
|
|
1811
1811
|
if (y !== 0) {
|
|
1812
1812
|
var T = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1813
|
-
(
|
|
1813
|
+
(N = this.local().add(P + T, e)).$offset = P, N.$x.$localOffset = T;
|
|
1814
1814
|
} else
|
|
1815
|
-
|
|
1816
|
-
return
|
|
1815
|
+
N = this.utc();
|
|
1816
|
+
return N;
|
|
1817
1817
|
};
|
|
1818
1818
|
var g = u.format;
|
|
1819
1819
|
u.format = function(y) {
|
|
@@ -1834,11 +1834,11 @@ var qr = { exports: {} };
|
|
|
1834
1834
|
return y === "s" && this.$offset ? d(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
|
|
1835
1835
|
};
|
|
1836
1836
|
var I = u.diff;
|
|
1837
|
-
u.diff = function(y, V,
|
|
1837
|
+
u.diff = function(y, V, Y) {
|
|
1838
1838
|
if (y && this.$u === y.$u)
|
|
1839
|
-
return I.call(this, y, V,
|
|
1840
|
-
var
|
|
1841
|
-
return I.call(
|
|
1839
|
+
return I.call(this, y, V, Y);
|
|
1840
|
+
var P = this.local(), N = d(y).local();
|
|
1841
|
+
return I.call(P, N, V, Y);
|
|
1842
1842
|
};
|
|
1843
1843
|
};
|
|
1844
1844
|
});
|
|
@@ -1870,13 +1870,13 @@ const xt = ".000000Z", Jn = "YYYY-MM-DDTHH:mm:ss", ea = "1970-01-01T00:00:00.000
|
|
|
1870
1870
|
},
|
|
1871
1871
|
setup(t) {
|
|
1872
1872
|
const n = t, e = _(() => Da(n.data.createdAt)), a = _(() => Da(n.data.modifiedAt)), { t: r } = G();
|
|
1873
|
-
return (o, l) => (k(),
|
|
1873
|
+
return (o, l) => (k(), U(Le, null, [
|
|
1874
1874
|
b(nt, {
|
|
1875
1875
|
title: f(r)("common.model.tracking.created")
|
|
1876
1876
|
}, {
|
|
1877
1877
|
default: v(() => [
|
|
1878
|
-
|
|
1879
|
-
t.hideCreatedAt ? ee("", !0) : (k(),
|
|
1878
|
+
oe("div", ul, [
|
|
1879
|
+
t.hideCreatedAt ? ee("", !0) : (k(), U("div", dl, O(f(e)), 1))
|
|
1880
1880
|
])
|
|
1881
1881
|
]),
|
|
1882
1882
|
_: 1
|
|
@@ -1885,8 +1885,8 @@ const xt = ".000000Z", Jn = "YYYY-MM-DDTHH:mm:ss", ea = "1970-01-01T00:00:00.000
|
|
|
1885
1885
|
title: f(r)("common.model.tracking.modified")
|
|
1886
1886
|
}, {
|
|
1887
1887
|
default: v(() => [
|
|
1888
|
-
|
|
1889
|
-
t.hideModifiedAt ? ee("", !0) : (k(),
|
|
1888
|
+
oe("div", cl, [
|
|
1889
|
+
t.hideModifiedAt ? ee("", !0) : (k(), U("div", fl, O(f(a)), 1))
|
|
1890
1890
|
])
|
|
1891
1891
|
]),
|
|
1892
1892
|
_: 1
|
|
@@ -1959,7 +1959,7 @@ const yh = /* @__PURE__ */ L({
|
|
|
1959
1959
|
placeholder: f(d),
|
|
1960
1960
|
clearable: !t.modelValue.mandatory,
|
|
1961
1961
|
"data-cy": t.dataCy,
|
|
1962
|
-
"onClick:clear": m[1] || (m[1] =
|
|
1962
|
+
"onClick:clear": m[1] || (m[1] = re((p) => f(r)(t.modelValue), ["stop"]))
|
|
1963
1963
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
1964
1964
|
}
|
|
1965
1965
|
}), ml = /* @__PURE__ */ L({
|
|
@@ -1974,15 +1974,15 @@ const yh = /* @__PURE__ */ L({
|
|
|
1974
1974
|
dataCy: { default: "filter-mixed" }
|
|
1975
1975
|
},
|
|
1976
1976
|
setup(t) {
|
|
1977
|
-
const n = t, e =
|
|
1977
|
+
const n = t, e = W(""), { filterId: a, filterText: r, filterDocId: o, filterUrl: l, filterOverrides: d } = Zn(n), { t: u } = G(), m = (T) => !S(T) && !S(T.value), { clearOne: p } = na(), c = (T) => {
|
|
1978
1978
|
m(T) && p(T.value);
|
|
1979
1979
|
}, g = (T = void 0) => {
|
|
1980
|
-
var
|
|
1981
|
-
((
|
|
1980
|
+
var J, q, ne, de, ie, Q, De, K, A;
|
|
1981
|
+
((J = T == null ? void 0 : T.value) == null ? void 0 : J.titleT) !== ((q = a == null ? void 0 : a.value) == null ? void 0 : q.titleT) && c(a), ((ne = T == null ? void 0 : T.value) == null ? void 0 : ne.titleT) !== ((de = o == null ? void 0 : o.value) == null ? void 0 : de.titleT) && c(o), ((ie = T == null ? void 0 : T.value) == null ? void 0 : ie.titleT) !== ((Q = r == null ? void 0 : r.value) == null ? void 0 : Q.titleT) && c(r), ((De = T == null ? void 0 : T.value) == null ? void 0 : De.titleT) !== ((K = l == null ? void 0 : l.value) == null ? void 0 : K.titleT) && c(l), S(d) || (A = d.value) == null || A.forEach((C) => {
|
|
1982
1982
|
var M;
|
|
1983
1983
|
((M = T == null ? void 0 : T.value) == null ? void 0 : M.titleT) !== C.titleT && p(C);
|
|
1984
1984
|
});
|
|
1985
|
-
}, w =
|
|
1985
|
+
}, w = W(void 0);
|
|
1986
1986
|
xe(w, () => {
|
|
1987
1987
|
if (m(w)) {
|
|
1988
1988
|
w.value.model = e.value, I.value = w.value, g(w);
|
|
@@ -1990,7 +1990,7 @@ const yh = /* @__PURE__ */ L({
|
|
|
1990
1990
|
}
|
|
1991
1991
|
y(e.value);
|
|
1992
1992
|
});
|
|
1993
|
-
const I =
|
|
1993
|
+
const I = W(void 0);
|
|
1994
1994
|
xe(e, (T) => {
|
|
1995
1995
|
y(T);
|
|
1996
1996
|
});
|
|
@@ -1999,8 +1999,8 @@ const yh = /* @__PURE__ */ L({
|
|
|
1999
1999
|
w.value.model = T;
|
|
2000
2000
|
return;
|
|
2001
2001
|
}
|
|
2002
|
-
const
|
|
2003
|
-
S(
|
|
2002
|
+
const J = V(T);
|
|
2003
|
+
S(J) || (J.model = T), I.value = J, g(I);
|
|
2004
2004
|
}, V = (T) => {
|
|
2005
2005
|
if (ri(T) && m(a))
|
|
2006
2006
|
return a.value;
|
|
@@ -2012,43 +2012,43 @@ const yh = /* @__PURE__ */ L({
|
|
|
2012
2012
|
if (m(r))
|
|
2013
2013
|
return r.value;
|
|
2014
2014
|
}
|
|
2015
|
-
},
|
|
2015
|
+
}, Y = _(() => {
|
|
2016
2016
|
if (m(w))
|
|
2017
2017
|
return u(w.value.titleT ?? "");
|
|
2018
2018
|
if (m(I))
|
|
2019
2019
|
return u(I.value.titleT ?? "");
|
|
2020
2020
|
const T = [];
|
|
2021
2021
|
return m(a) && T.push(u(a.value.titleT ?? "")), m(o) && T.push(u(o.value.titleT ?? "")), m(l) && T.push(u(l.value.titleT ?? "")), m(r) && T.push(u(r.value.titleT ?? "")), T.join("/");
|
|
2022
|
-
}),
|
|
2022
|
+
}), P = _(() => {
|
|
2023
2023
|
var T;
|
|
2024
2024
|
return (T = I.value) == null ? void 0 : T.model;
|
|
2025
2025
|
});
|
|
2026
|
-
xe(
|
|
2026
|
+
xe(P, (T) => {
|
|
2027
2027
|
!fr(e.value) && fr(T) && (e.value = "");
|
|
2028
2028
|
});
|
|
2029
|
-
const
|
|
2030
|
-
var T,
|
|
2031
|
-
return S(n.placeholder) ? ((T = I.value) == null ? void 0 : T.variant) === "startsWith" ? u("common.model.filterPlaceholder.startsWith") : ((
|
|
2029
|
+
const N = _(() => {
|
|
2030
|
+
var T, J, q, ne;
|
|
2031
|
+
return S(n.placeholder) ? ((T = I.value) == null ? void 0 : T.variant) === "startsWith" ? u("common.model.filterPlaceholder.startsWith") : ((J = I.value) == null ? void 0 : J.variant) === "eq" ? u("common.model.filterPlaceholder.eq") : ((q = I.value) == null ? void 0 : q.variant) === "contains" || ((ne = I.value) == null ? void 0 : ne.variant) === "search" ? u("common.model.filterPlaceholder.contains") : "" : n.placeholder;
|
|
2032
2032
|
});
|
|
2033
|
-
return (T,
|
|
2033
|
+
return (T, J) => (k(), F(sn, {
|
|
2034
2034
|
modelValue: e.value,
|
|
2035
|
-
"onUpdate:modelValue":
|
|
2036
|
-
label: f(
|
|
2035
|
+
"onUpdate:modelValue": J[1] || (J[1] = (q) => e.value = q),
|
|
2036
|
+
label: f(Y),
|
|
2037
2037
|
"data-cy": t.dataCy,
|
|
2038
|
-
placeholder: f(
|
|
2038
|
+
placeholder: f(N)
|
|
2039
2039
|
}, Ut({ _: 2 }, [
|
|
2040
2040
|
f(d) ? {
|
|
2041
2041
|
name: "append-inner",
|
|
2042
2042
|
fn: v(() => [
|
|
2043
2043
|
b(un, {
|
|
2044
2044
|
modelValue: w.value,
|
|
2045
|
-
"onUpdate:modelValue":
|
|
2045
|
+
"onUpdate:modelValue": J[0] || (J[0] = (q) => w.value = q),
|
|
2046
2046
|
divided: "",
|
|
2047
2047
|
class: "override-toggle"
|
|
2048
2048
|
}, {
|
|
2049
2049
|
default: v(() => [
|
|
2050
|
-
(k(!0),
|
|
2051
|
-
key:
|
|
2050
|
+
(k(!0), U(Le, null, pt(f(d), (q, ne) => (k(), F(te, {
|
|
2051
|
+
key: ne,
|
|
2052
2052
|
size: "small",
|
|
2053
2053
|
value: q
|
|
2054
2054
|
}, {
|
|
@@ -2088,7 +2088,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2088
2088
|
label: f(l),
|
|
2089
2089
|
clearable: !t.modelValue.mandatory,
|
|
2090
2090
|
"data-cy": t.dataCy,
|
|
2091
|
-
"onClick:clear": u[1] || (u[1] =
|
|
2091
|
+
"onClick:clear": u[1] || (u[1] = re((m) => f(r)(t.modelValue), ["stop"]))
|
|
2092
2092
|
}, null, 8, ["modelValue", "label", "clearable", "data-cy"]));
|
|
2093
2093
|
}
|
|
2094
2094
|
}), it = (t) => {
|
|
@@ -2102,7 +2102,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2102
2102
|
},
|
|
2103
2103
|
emits: ["advancedFilter"],
|
|
2104
2104
|
setup(t, { emit: n }) {
|
|
2105
|
-
const e =
|
|
2105
|
+
const e = W(!1), a = (l) => {
|
|
2106
2106
|
it(l), e.value = !e.value, n("advancedFilter");
|
|
2107
2107
|
}, r = _(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = G();
|
|
2108
2108
|
return (l, d) => (k(), F(te, {
|
|
@@ -2111,7 +2111,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2111
2111
|
icon: "",
|
|
2112
2112
|
size: "x-small",
|
|
2113
2113
|
variant: "text",
|
|
2114
|
-
onClick:
|
|
2114
|
+
onClick: re(a, ["stop"])
|
|
2115
2115
|
}, {
|
|
2116
2116
|
default: v(() => [
|
|
2117
2117
|
b(me, { icon: f(r) }, null, 8, ["icon"]),
|
|
@@ -2147,7 +2147,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2147
2147
|
color: "primary",
|
|
2148
2148
|
type: "submit",
|
|
2149
2149
|
variant: t.touched ? "flat" : "text",
|
|
2150
|
-
onClick:
|
|
2150
|
+
onClick: re(e, ["stop"])
|
|
2151
2151
|
}, {
|
|
2152
2152
|
default: v(() => [
|
|
2153
2153
|
z(O(f(a)(t.buttonT)), 1)
|
|
@@ -2173,7 +2173,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2173
2173
|
color: "light",
|
|
2174
2174
|
"min-width": "36px",
|
|
2175
2175
|
variant: "flat",
|
|
2176
|
-
onClick:
|
|
2176
|
+
onClick: re(e, ["stop"])
|
|
2177
2177
|
}, {
|
|
2178
2178
|
default: v(() => [
|
|
2179
2179
|
b(me, {
|
|
@@ -2205,10 +2205,10 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2205
2205
|
setup(t, { emit: n }) {
|
|
2206
2206
|
const e = () => {
|
|
2207
2207
|
n("resetFilter");
|
|
2208
|
-
}, a =
|
|
2208
|
+
}, a = W(!1), r = () => {
|
|
2209
2209
|
a.value = !a.value;
|
|
2210
2210
|
};
|
|
2211
|
-
return (o, l) => (k(),
|
|
2211
|
+
return (o, l) => (k(), U(Le, null, [
|
|
2212
2212
|
t.enableTop ? (k(), F(ka, {
|
|
2213
2213
|
key: 0,
|
|
2214
2214
|
dense: ""
|
|
@@ -2243,7 +2243,7 @@ const bh = /* @__PURE__ */ kt(ml, [["__scopeId", "data-v-e697991d"]]), wh = /* @
|
|
|
2243
2243
|
ke(o.$slots, "default"),
|
|
2244
2244
|
t.enableAdvanced ? (k(), F(Po, { key: 0 }, {
|
|
2245
2245
|
default: v(() => [
|
|
2246
|
-
Mr(
|
|
2246
|
+
Mr(oe("div", null, [
|
|
2247
2247
|
ke(o.$slots, "advanced")
|
|
2248
2248
|
], 512), [
|
|
2249
2249
|
[xr, a.value]
|
|
@@ -2278,7 +2278,7 @@ var Un = /* @__PURE__ */ ((t) => (t[t.Deny = 0] = "Deny", t[t.AllowOwner = 1] =
|
|
|
2278
2278
|
/* Deny */
|
|
2279
2279
|
] = "Default", t))(Un || {});
|
|
2280
2280
|
function Kr() {
|
|
2281
|
-
const { t } = G(), n =
|
|
2281
|
+
const { t } = G(), n = W([
|
|
2282
2282
|
{
|
|
2283
2283
|
value: 0,
|
|
2284
2284
|
title: t("common.permission.grant.deny"),
|
|
@@ -2325,7 +2325,7 @@ const Ch = /* @__PURE__ */ L({
|
|
|
2325
2325
|
class: "text-disabled"
|
|
2326
2326
|
}, {
|
|
2327
2327
|
default: v(() => [
|
|
2328
|
-
(k(!0),
|
|
2328
|
+
(k(!0), U(Le, null, pt(t.availableGrants, (d) => {
|
|
2329
2329
|
var u;
|
|
2330
2330
|
return k(), F(te, {
|
|
2331
2331
|
key: d,
|
|
@@ -2348,7 +2348,7 @@ const Ch = /* @__PURE__ */ L({
|
|
|
2348
2348
|
});
|
|
2349
2349
|
var Gr = /* @__PURE__ */ ((t) => (t.Role = "role", t.Group = "group", t.User = "user", t.DefaultGrant = "default", t.Default = "default", t))(Gr || {});
|
|
2350
2350
|
function vl() {
|
|
2351
|
-
const { t } = G(), n =
|
|
2351
|
+
const { t } = G(), n = W([
|
|
2352
2352
|
{
|
|
2353
2353
|
value: "role",
|
|
2354
2354
|
title: t("common.permission.grantOrigin.role")
|
|
@@ -2392,7 +2392,7 @@ const yl = {
|
|
|
2392
2392
|
var u;
|
|
2393
2393
|
return [
|
|
2394
2394
|
z(O(f(a).title) + " ", 1),
|
|
2395
|
-
t.grantOrigin !== f(Gr).DefaultGrant ? (k(),
|
|
2395
|
+
t.grantOrigin !== f(Gr).DefaultGrant ? (k(), U("span", yl, "(" + O((u = f(o)) == null ? void 0 : u.title) + ")", 1)) : ee("", !0)
|
|
2396
2396
|
];
|
|
2397
2397
|
}),
|
|
2398
2398
|
_: 1
|
|
@@ -2495,7 +2495,7 @@ const Cl = /* @__PURE__ */ L({
|
|
|
2495
2495
|
subject: { default: void 0 }
|
|
2496
2496
|
},
|
|
2497
2497
|
setup(t) {
|
|
2498
|
-
const n = t, e = Ce(aa), { can: a } = kl(), r =
|
|
2498
|
+
const n = t, e = Ce(aa), { can: a } = kl(), r = W(a(n.permission, n.subject));
|
|
2499
2499
|
return xe(e, () => {
|
|
2500
2500
|
r.value = a(n.permission, n.subject);
|
|
2501
2501
|
}), (o, l) => r.value ? ke(o.$slots, "default", { key: 0 }) : ee("", !0);
|
|
@@ -2898,21 +2898,21 @@ var fa = function() {
|
|
|
2898
2898
|
else if (/Z$/.test(w) || /GMT$/.test(w))
|
|
2899
2899
|
p = new Date(o);
|
|
2900
2900
|
else {
|
|
2901
|
-
for (var I = void 0, y = [], V = 0,
|
|
2902
|
-
var
|
|
2903
|
-
if (Mt[
|
|
2904
|
-
|
|
2905
|
-
var q = new RegExp(
|
|
2906
|
-
q && (I = !0) && y[
|
|
2907
|
-
fn: Dl[
|
|
2908
|
-
val: q[++
|
|
2901
|
+
for (var I = void 0, y = [], V = 0, Y = 0, P = ""; V < g.length; V++) {
|
|
2902
|
+
var N = g[V], T = N === "\\", J = g[V - 1] === "\\" || T;
|
|
2903
|
+
if (Mt[N] && !J) {
|
|
2904
|
+
P += Mt[N];
|
|
2905
|
+
var q = new RegExp(P).exec(o);
|
|
2906
|
+
q && (I = !0) && y[N !== "Y" ? "push" : "unshift"]({
|
|
2907
|
+
fn: Dl[N],
|
|
2908
|
+
val: q[++Y]
|
|
2909
2909
|
});
|
|
2910
2910
|
} else
|
|
2911
|
-
T || (
|
|
2911
|
+
T || (P += ".");
|
|
2912
2912
|
}
|
|
2913
|
-
p = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(
|
|
2914
|
-
var de =
|
|
2915
|
-
return p = de(p,
|
|
2913
|
+
p = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(ne) {
|
|
2914
|
+
var de = ne.fn, ie = ne.val;
|
|
2915
|
+
return p = de(p, ie, m) || p;
|
|
2916
2916
|
}), p = I ? p : void 0;
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
@@ -2986,7 +2986,7 @@ function Tl(t, n) {
|
|
|
2986
2986
|
config: Ve(Ve({}, zt), Me.defaultConfig),
|
|
2987
2987
|
l10n: ln
|
|
2988
2988
|
};
|
|
2989
|
-
e.parseDate = Aa({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = g, e._positionCalendar = Ct, e.changeMonth = ve, e.changeYear = je, e.clear = ye, e.close = _e, e.onMouseOver = We, e._createElement = fe, e.createDay = q, e.destroy = ze, e.isEnabled = Se, e.jumpToDate =
|
|
2989
|
+
e.parseDate = Aa({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = g, e._positionCalendar = Ct, e.changeMonth = ve, e.changeYear = je, e.clear = ye, e.close = _e, e.onMouseOver = We, e._createElement = fe, e.createDay = q, e.destroy = ze, e.isEnabled = Se, e.jumpToDate = P, e.updateValue = qe, e.open = fn, e.redraw = qt, e.set = gn, e.setDate = vn, e.toggle = kn;
|
|
2990
2990
|
function a() {
|
|
2991
2991
|
e.utils = {
|
|
2992
2992
|
getDaysInMonth: function(i, s) {
|
|
@@ -2995,7 +2995,7 @@ function Tl(t, n) {
|
|
|
2995
2995
|
};
|
|
2996
2996
|
}
|
|
2997
2997
|
function r() {
|
|
2998
|
-
e.element = e.input = t, e.isOpen = !1, mn(), Wt(), bn(), yn(), a(), e.isMobile ||
|
|
2998
|
+
e.element = e.input = t, e.isOpen = !1, mn(), Wt(), bn(), yn(), a(), e.isMobile || J(), Y(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && g(e.config.noCalendar ? e.latestSelectedDateObj : void 0), qe(!1)), d();
|
|
2999
2999
|
var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
3000
3000
|
!e.isMobile && i && Ct(), be("onReady");
|
|
3001
3001
|
}
|
|
@@ -3042,15 +3042,15 @@ function Tl(t, n) {
|
|
|
3042
3042
|
e.amPM !== void 0 && (i = m(i, e.amPM.textContent));
|
|
3043
3043
|
var D = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Ye(e.latestSelectedDateObj, e.config.minDate, !0) === 0, E = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Ye(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
|
|
3044
3044
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
3045
|
-
var j = ma(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()),
|
|
3046
|
-
if (H >
|
|
3047
|
-
var
|
|
3048
|
-
i =
|
|
3045
|
+
var j = ma(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), ae = ma(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), H = ma(i, s, h);
|
|
3046
|
+
if (H > ae && H < j) {
|
|
3047
|
+
var le = _l(j);
|
|
3048
|
+
i = le[0], s = le[1], h = le[2];
|
|
3049
3049
|
}
|
|
3050
3050
|
} else {
|
|
3051
3051
|
if (E) {
|
|
3052
|
-
var
|
|
3053
|
-
i = Math.min(i,
|
|
3052
|
+
var R = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
|
|
3053
|
+
i = Math.min(i, R.getHours()), i === R.getHours() && (s = Math.min(s, R.getMinutes())), s === R.getMinutes() && (h = Math.min(h, R.getSeconds()));
|
|
3054
3054
|
}
|
|
3055
3055
|
if (D) {
|
|
3056
3056
|
var Z = e.config.minTime !== void 0 ? e.config.minTime : e.config.minDate;
|
|
@@ -3089,7 +3089,7 @@ function Tl(t, n) {
|
|
|
3089
3089
|
function V() {
|
|
3090
3090
|
be("onChange");
|
|
3091
3091
|
}
|
|
3092
|
-
function
|
|
3092
|
+
function Y() {
|
|
3093
3093
|
if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(h) {
|
|
3094
3094
|
Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(D) {
|
|
3095
3095
|
return y(D, "click", e[h]);
|
|
@@ -3105,7 +3105,7 @@ function Tl(t, n) {
|
|
|
3105
3105
|
var s = function(h) {
|
|
3106
3106
|
return Ue(h).select();
|
|
3107
3107
|
};
|
|
3108
|
-
y(e.timeContainer, ["increment"], u), y(e.timeContainer, "blur", u, { capture: !0 }), y(e.timeContainer, "click",
|
|
3108
|
+
y(e.timeContainer, ["increment"], u), y(e.timeContainer, "blur", u, { capture: !0 }), y(e.timeContainer, "click", N), y([e.hourElement, e.minuteElement], ["focus", "click"], s), e.secondElement !== void 0 && y(e.secondElement, "focus", function() {
|
|
3109
3109
|
return e.secondElement && e.secondElement.select();
|
|
3110
3110
|
}), e.amPM !== void 0 && y(e.amPM, "click", function(h) {
|
|
3111
3111
|
u(h);
|
|
@@ -3113,7 +3113,7 @@ function Tl(t, n) {
|
|
|
3113
3113
|
}
|
|
3114
3114
|
e.config.allowInput && y(e._input, "blur", Be);
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function P(i, s) {
|
|
3117
3117
|
var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), D = e.currentYear, E = e.currentMonth;
|
|
3118
3118
|
try {
|
|
3119
3119
|
h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
|
|
@@ -3122,7 +3122,7 @@ function Tl(t, n) {
|
|
|
3122
3122
|
}
|
|
3123
3123
|
s && e.currentYear !== D && (be("onYearChange"), A()), s && (e.currentYear !== D || e.currentMonth !== E) && be("onMonthChange"), e.redraw();
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3125
|
+
function N(i) {
|
|
3126
3126
|
var s = Ue(i);
|
|
3127
3127
|
~s.className.indexOf("arrow") && T(i, s.classList.contains("arrowUp") ? 1 : -1);
|
|
3128
3128
|
}
|
|
@@ -3130,7 +3130,7 @@ function Tl(t, n) {
|
|
|
3130
3130
|
var D = i && Ue(i), E = h || D && D.parentNode && D.parentNode.firstChild, j = It("increment");
|
|
3131
3131
|
j.delta = s, E && E.dispatchEvent(j);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function J() {
|
|
3134
3134
|
var i = window.document.createDocumentFragment();
|
|
3135
3135
|
if (e.calendarContainer = fe("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
|
|
3136
3136
|
if (i.appendChild(x()), e.innerContainer = fe("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
|
|
@@ -3151,37 +3151,37 @@ function Tl(t, n) {
|
|
|
3151
3151
|
var E = Se(s, !0), j = fe("span", i, s.getDate().toString());
|
|
3152
3152
|
return j.dateObj = s, j.$i = D, j.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Ye(s, e.now) === 0 && (e.todayDateElem = j, j.classList.add("today"), j.setAttribute("aria-current", "date")), E ? (j.tabIndex = -1, Et(s) && (j.classList.add("selected"), e.selectedDateElem = j, e.config.mode === "range" && (Pe(j, "startRange", e.selectedDates[0] && Ye(s, e.selectedDates[0], !0) === 0), Pe(j, "endRange", e.selectedDates[1] && Ye(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && j.classList.add("inRange")))) : j.classList.add("flatpickr-disabled"), e.config.mode === "range" && Cn(s) && !Et(s) && j.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && D % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), be("onDayCreate", j), j;
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3154
|
+
function ne(i) {
|
|
3155
3155
|
i.focus(), e.config.mode === "range" && We(i);
|
|
3156
3156
|
}
|
|
3157
3157
|
function de(i) {
|
|
3158
3158
|
for (var s = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, D = s; D != h; D += i)
|
|
3159
|
-
for (var E = e.daysContainer.children[D], j = i > 0 ? 0 : E.children.length - 1,
|
|
3160
|
-
var
|
|
3161
|
-
if (
|
|
3162
|
-
return
|
|
3159
|
+
for (var E = e.daysContainer.children[D], j = i > 0 ? 0 : E.children.length - 1, ae = i > 0 ? E.children.length : -1, H = j; H != ae; H += i) {
|
|
3160
|
+
var le = E.children[H];
|
|
3161
|
+
if (le.className.indexOf("hidden") === -1 && Se(le.dateObj))
|
|
3162
|
+
return le;
|
|
3163
3163
|
}
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function ie(i, s) {
|
|
3166
3166
|
for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, D = s > 0 ? e.config.showMonths : -1, E = s > 0 ? 1 : -1, j = h - e.currentMonth; j != D; j += E)
|
|
3167
|
-
for (var
|
|
3168
|
-
var Z =
|
|
3169
|
-
if (Z.className.indexOf("hidden") === -1 && Se(Z.dateObj) && Math.abs(i.$i -
|
|
3170
|
-
return
|
|
3167
|
+
for (var ae = e.daysContainer.children[j], H = h - e.currentMonth === j ? i.$i + s : s < 0 ? ae.children.length - 1 : 0, le = ae.children.length, R = H; R >= 0 && R < le && R != (s > 0 ? le : -1); R += E) {
|
|
3168
|
+
var Z = ae.children[R];
|
|
3169
|
+
if (Z.className.indexOf("hidden") === -1 && Se(Z.dateObj) && Math.abs(i.$i - R) >= Math.abs(s))
|
|
3170
|
+
return ne(Z);
|
|
3171
3171
|
}
|
|
3172
3172
|
e.changeMonth(E), Q(de(E), 0);
|
|
3173
3173
|
}
|
|
3174
3174
|
function Q(i, s) {
|
|
3175
3175
|
var h = o(), D = Ae(h || document.body), E = i !== void 0 ? i : D ? h : e.selectedDateElem !== void 0 && Ae(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && Ae(e.todayDateElem) ? e.todayDateElem : de(s > 0 ? 1 : -1);
|
|
3176
|
-
E === void 0 ? e._input.focus() : D ?
|
|
3176
|
+
E === void 0 ? e._input.focus() : D ? ie(E, s) : ne(E);
|
|
3177
3177
|
}
|
|
3178
3178
|
function De(i, s) {
|
|
3179
|
-
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, D = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), E = e.utils.getDaysInMonth(s, i), j = window.document.createDocumentFragment(),
|
|
3180
|
-
j.appendChild(q("flatpickr-day " + H, new Date(i, s - 1,
|
|
3181
|
-
for (
|
|
3182
|
-
j.appendChild(q("flatpickr-day", new Date(i, s,
|
|
3179
|
+
for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, D = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), E = e.utils.getDaysInMonth(s, i), j = window.document.createDocumentFragment(), ae = e.config.showMonths > 1, H = ae ? "prevMonthDay hidden" : "prevMonthDay", le = ae ? "nextMonthDay hidden" : "nextMonthDay", R = D + 1 - h, Z = 0; R <= D; R++, Z++)
|
|
3180
|
+
j.appendChild(q("flatpickr-day " + H, new Date(i, s - 1, R), R, Z));
|
|
3181
|
+
for (R = 1; R <= E; R++, Z++)
|
|
3182
|
+
j.appendChild(q("flatpickr-day", new Date(i, s, R), R, Z));
|
|
3183
3183
|
for (var pe = E + 1; pe <= 42 - h && (e.config.showMonths === 1 || Z % 7 !== 0); pe++, Z++)
|
|
3184
|
-
j.appendChild(q("flatpickr-day " +
|
|
3184
|
+
j.appendChild(q("flatpickr-day " + le, new Date(i, s + 1, pe % E), pe, Z));
|
|
3185
3185
|
var Re = fe("div", "dayContainer");
|
|
3186
3186
|
return Re.appendChild(j), Re;
|
|
3187
3187
|
}
|
|
@@ -3210,9 +3210,9 @@ function Tl(t, n) {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
function C() {
|
|
3212
3212
|
var i = fe("div", "flatpickr-month"), s = window.document.createDocumentFragment(), h;
|
|
3213
|
-
e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = fe("span", "cur-month") : (e.monthsDropdownContainer = fe("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), y(e.monthsDropdownContainer, "change", function(
|
|
3214
|
-
var H = Ue(
|
|
3215
|
-
e.changeMonth(
|
|
3213
|
+
e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? h = fe("span", "cur-month") : (e.monthsDropdownContainer = fe("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), y(e.monthsDropdownContainer, "change", function(ae) {
|
|
3214
|
+
var H = Ue(ae), le = parseInt(H.value, 10);
|
|
3215
|
+
e.changeMonth(le - e.currentMonth), be("onMonthChange");
|
|
3216
3216
|
}), A(), h = e.monthsDropdownContainer);
|
|
3217
3217
|
var D = zn("cur-year", { tabindex: "-1" }), E = D.getElementsByTagName("input")[0];
|
|
3218
3218
|
E.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && E.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (E.setAttribute("max", e.config.maxDate.getFullYear().toString()), E.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
|
|
@@ -3369,8 +3369,8 @@ function Tl(t, n) {
|
|
|
3369
3369
|
}
|
|
3370
3370
|
function Je(i) {
|
|
3371
3371
|
if (e.isOpen && !e.config.inline) {
|
|
3372
|
-
var s = Ue(i), h = Te(s), D = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), E = !D && !h && !Te(i.relatedTarget), j = !e.config.ignoredFocusElements.some(function(
|
|
3373
|
-
return
|
|
3372
|
+
var s = Ue(i), h = Te(s), D = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), E = !D && !h && !Te(i.relatedTarget), j = !e.config.ignoredFocusElements.some(function(ae) {
|
|
3373
|
+
return ae.contains(s);
|
|
3374
3374
|
});
|
|
3375
3375
|
E && j && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
|
|
3376
3376
|
}
|
|
@@ -3391,14 +3391,14 @@ function Tl(t, n) {
|
|
|
3391
3391
|
return !0;
|
|
3392
3392
|
if (D === void 0)
|
|
3393
3393
|
return !1;
|
|
3394
|
-
for (var E = !!e.config.enable, j = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable,
|
|
3395
|
-
if (H = j[
|
|
3394
|
+
for (var E = !!e.config.enable, j = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, ae = 0, H = void 0; ae < j.length; ae++) {
|
|
3395
|
+
if (H = j[ae], typeof H == "function" && H(D))
|
|
3396
3396
|
return E;
|
|
3397
3397
|
if (H instanceof Date && D !== void 0 && H.getTime() === D.getTime())
|
|
3398
3398
|
return E;
|
|
3399
3399
|
if (typeof H == "string") {
|
|
3400
|
-
var
|
|
3401
|
-
return
|
|
3400
|
+
var le = e.parseDate(H, void 0, !0);
|
|
3401
|
+
return le && le.getTime() === D.getTime() ? E : !E;
|
|
3402
3402
|
} else if (typeof H == "object" && D !== void 0 && H.from && H.to && D.getTime() >= H.from.getTime() && D.getTime() <= H.to.getTime())
|
|
3403
3403
|
return E;
|
|
3404
3404
|
}
|
|
@@ -3418,10 +3418,10 @@ function Tl(t, n) {
|
|
|
3418
3418
|
return e.setDate(e._input.value, !0, s === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), s.blur();
|
|
3419
3419
|
e.open();
|
|
3420
3420
|
} else if (Te(s) || E || j) {
|
|
3421
|
-
var
|
|
3421
|
+
var ae = !!e.timeContainer && e.timeContainer.contains(s);
|
|
3422
3422
|
switch (i.keyCode) {
|
|
3423
3423
|
case 13:
|
|
3424
|
-
|
|
3424
|
+
ae ? (i.preventDefault(), u(), Pt()) : Kt(i);
|
|
3425
3425
|
break;
|
|
3426
3426
|
case 27:
|
|
3427
3427
|
i.preventDefault(), Pt();
|
|
@@ -3432,12 +3432,12 @@ function Tl(t, n) {
|
|
|
3432
3432
|
break;
|
|
3433
3433
|
case 37:
|
|
3434
3434
|
case 39:
|
|
3435
|
-
if (!
|
|
3435
|
+
if (!ae && !h) {
|
|
3436
3436
|
i.preventDefault();
|
|
3437
3437
|
var H = o();
|
|
3438
3438
|
if (e.daysContainer !== void 0 && (D === !1 || H && Ae(H))) {
|
|
3439
|
-
var
|
|
3440
|
-
i.ctrlKey ? (i.stopPropagation(), ve(
|
|
3439
|
+
var le = i.keyCode === 39 ? 1 : -1;
|
|
3440
|
+
i.ctrlKey ? (i.stopPropagation(), ve(le), Q(de(1), 0)) : Q(void 0, le);
|
|
3441
3441
|
}
|
|
3442
3442
|
} else
|
|
3443
3443
|
e.hourElement && e.hourElement.focus();
|
|
@@ -3445,11 +3445,11 @@ function Tl(t, n) {
|
|
|
3445
3445
|
case 38:
|
|
3446
3446
|
case 40:
|
|
3447
3447
|
i.preventDefault();
|
|
3448
|
-
var
|
|
3449
|
-
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), je(e.currentYear -
|
|
3448
|
+
var R = i.keyCode === 40 ? 1 : -1;
|
|
3449
|
+
e.daysContainer && s.$i !== void 0 || s === e.input || s === e.altInput ? i.ctrlKey ? (i.stopPropagation(), je(e.currentYear - R), Q(de(1), 0)) : ae || Q(void 0, R * 7) : s === e.currentYearElement ? je(e.currentYear - R) : e.config.enableTime && (!ae && e.hourElement && e.hourElement.focus(), u(i), e._debouncedChange());
|
|
3450
3450
|
break;
|
|
3451
3451
|
case 9:
|
|
3452
|
-
if (
|
|
3452
|
+
if (ae) {
|
|
3453
3453
|
var Z = [
|
|
3454
3454
|
e.hourElement,
|
|
3455
3455
|
e.minuteElement,
|
|
@@ -3482,21 +3482,21 @@ function Tl(t, n) {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
function We(i, s) {
|
|
3484
3484
|
if (s === void 0 && (s = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(s) || i.classList.contains("flatpickr-disabled")))) {
|
|
3485
|
-
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), D = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), E = Math.min(h, e.selectedDates[0].getTime()), j = Math.max(h, e.selectedDates[0].getTime()),
|
|
3486
|
-
Se(new Date(
|
|
3485
|
+
for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), D = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), E = Math.min(h, e.selectedDates[0].getTime()), j = Math.max(h, e.selectedDates[0].getTime()), ae = !1, H = 0, le = 0, R = E; R < j; R += Ml.DAY)
|
|
3486
|
+
Se(new Date(R), !0) || (ae = ae || R > E && R < j, R < D && (!H || R > H) ? H = R : R > D && (!le || R < le) && (le = R));
|
|
3487
3487
|
var Z = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + s));
|
|
3488
3488
|
Z.forEach(function(pe) {
|
|
3489
|
-
var Re = pe.dateObj, Oe = Re.getTime(), ct = H > 0 && Oe < H ||
|
|
3489
|
+
var Re = pe.dateObj, Oe = Re.getTime(), ct = H > 0 && Oe < H || le > 0 && Oe > le;
|
|
3490
3490
|
if (ct) {
|
|
3491
3491
|
pe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(st) {
|
|
3492
3492
|
pe.classList.remove(st);
|
|
3493
3493
|
});
|
|
3494
3494
|
return;
|
|
3495
|
-
} else if (
|
|
3495
|
+
} else if (ae && !ct)
|
|
3496
3496
|
return;
|
|
3497
3497
|
["startRange", "inRange", "endRange", "notAllowed"].forEach(function(st) {
|
|
3498
3498
|
pe.classList.remove(st);
|
|
3499
|
-
}), i !== void 0 && (i.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), D < h && Oe === D ? pe.classList.add("startRange") : D > h && Oe === D && pe.classList.add("endRange"), Oe >= H && (
|
|
3499
|
+
}), i !== void 0 && (i.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), D < h && Oe === D ? pe.classList.add("startRange") : D > h && Oe === D && pe.classList.add("endRange"), Oe >= H && (le === 0 || Oe <= le) && Al(Oe, D, h) && pe.classList.add("inRange"));
|
|
3500
3500
|
});
|
|
3501
3501
|
}
|
|
3502
3502
|
}
|
|
@@ -3579,7 +3579,7 @@ function Tl(t, n) {
|
|
|
3579
3579
|
},
|
|
3580
3580
|
set: Ht("max")
|
|
3581
3581
|
});
|
|
3582
|
-
var
|
|
3582
|
+
var ae = function(Z) {
|
|
3583
3583
|
return function(pe) {
|
|
3584
3584
|
e.config[Z === "min" ? "_minTime" : "_maxTime"] = e.parseDate(pe, "H:i:S");
|
|
3585
3585
|
};
|
|
@@ -3588,12 +3588,12 @@ function Tl(t, n) {
|
|
|
3588
3588
|
get: function() {
|
|
3589
3589
|
return e.config._minTime;
|
|
3590
3590
|
},
|
|
3591
|
-
set:
|
|
3591
|
+
set: ae("min")
|
|
3592
3592
|
}), Object.defineProperty(e.config, "maxTime", {
|
|
3593
3593
|
get: function() {
|
|
3594
3594
|
return e.config._maxTime;
|
|
3595
3595
|
},
|
|
3596
|
-
set:
|
|
3596
|
+
set: ae("max")
|
|
3597
3597
|
}), s.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, h, s);
|
|
3598
3598
|
for (var H = 0; H < i.length; H++)
|
|
3599
3599
|
e.config[i[H]] = e.config[i[H]] === !0 || e.config[i[H]] === "true";
|
|
@@ -3603,9 +3603,9 @@ function Tl(t, n) {
|
|
|
3603
3603
|
e.config[Z] = ca(e.config[Z] || []).map(l);
|
|
3604
3604
|
}), 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);
|
|
3605
3605
|
for (var H = 0; H < e.config.plugins.length; H++) {
|
|
3606
|
-
var
|
|
3607
|
-
for (var
|
|
3608
|
-
da.indexOf(
|
|
3606
|
+
var le = e.config.plugins[H](e) || {};
|
|
3607
|
+
for (var R in le)
|
|
3608
|
+
da.indexOf(R) > -1 ? e.config[R] = ca(le[R]).map(l).concat(e.config[R]) : typeof s[R] > "u" && (e.config[R] = le[R]);
|
|
3609
3609
|
}
|
|
3610
3610
|
s.altInputClass || (e.config.altInputClass = Jt().className + " " + e.config.altInputClass), be("onParseConfig");
|
|
3611
3611
|
}
|
|
@@ -3624,10 +3624,10 @@ function Tl(t, n) {
|
|
|
3624
3624
|
be("onPreCalendarPosition");
|
|
3625
3625
|
var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Vn, Pn) {
|
|
3626
3626
|
return Vn + Pn.offsetHeight;
|
|
3627
|
-
}, 0), D = e.calendarContainer.offsetWidth, E = e.config.position.split(" "), j = E[0],
|
|
3628
|
-
if (Pe(e.calendarContainer, "arrowTop", !
|
|
3627
|
+
}, 0), D = e.calendarContainer.offsetWidth, E = e.config.position.split(" "), j = E[0], ae = E.length > 1 ? E[1] : null, H = s.getBoundingClientRect(), le = window.innerHeight - H.bottom, R = j === "above" || j !== "below" && le < h && H.top > h, Z = window.pageYOffset + H.top + (R ? -h - 2 : s.offsetHeight + 2);
|
|
3628
|
+
if (Pe(e.calendarContainer, "arrowTop", !R), Pe(e.calendarContainer, "arrowBottom", R), !e.config.inline) {
|
|
3629
3629
|
var pe = window.pageXOffset + H.left, Re = !1, Oe = !1;
|
|
3630
|
-
|
|
3630
|
+
ae === "center" ? (pe -= (D - H.width) / 2, Re = !0) : ae === "right" && (pe -= D - H.width, Oe = !0), Pe(e.calendarContainer, "arrowLeft", !Re && !Oe), Pe(e.calendarContainer, "arrowCenter", Re), Pe(e.calendarContainer, "arrowRight", Oe);
|
|
3631
3631
|
var ct = window.document.body.offsetWidth - (window.pageXOffset + H.right), st = pe + D > window.document.body.offsetWidth, _n = ct + D > window.document.body.offsetWidth;
|
|
3632
3632
|
if (Pe(e.calendarContainer, "rightMost", st), !e.config.static)
|
|
3633
3633
|
if (e.calendarContainer.style.top = Z + "px", !st)
|
|
@@ -3679,8 +3679,8 @@ function Tl(t, n) {
|
|
|
3679
3679
|
if (e.selectedDateElem = D, e.config.mode === "single")
|
|
3680
3680
|
e.selectedDates = [E];
|
|
3681
3681
|
else if (e.config.mode === "multiple") {
|
|
3682
|
-
var
|
|
3683
|
-
|
|
3682
|
+
var ae = Et(E);
|
|
3683
|
+
ae ? e.selectedDates.splice(parseInt(ae), 1) : e.selectedDates.push(E);
|
|
3684
3684
|
} else
|
|
3685
3685
|
e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = E, e.selectedDates.push(E), Ye(E, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(Z, pe) {
|
|
3686
3686
|
return Z.getTime() - pe.getTime();
|
|
@@ -3689,9 +3689,9 @@ function Tl(t, n) {
|
|
|
3689
3689
|
var H = e.currentYear !== E.getFullYear();
|
|
3690
3690
|
e.currentYear = E.getFullYear(), e.currentMonth = E.getMonth(), H && (be("onYearChange"), A()), be("onMonthChange");
|
|
3691
3691
|
}
|
|
3692
|
-
if (At(), K(), qe(), !j && e.config.mode !== "range" && e.config.showMonths === 1 ?
|
|
3693
|
-
var
|
|
3694
|
-
(
|
|
3692
|
+
if (At(), K(), qe(), !j && e.config.mode !== "range" && e.config.showMonths === 1 ? ne(D) : 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) {
|
|
3693
|
+
var le = e.config.mode === "single" && !e.config.enableTime, R = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
3694
|
+
(le || R) && Pt();
|
|
3695
3695
|
}
|
|
3696
3696
|
V();
|
|
3697
3697
|
}
|
|
@@ -3699,8 +3699,8 @@ function Tl(t, n) {
|
|
|
3699
3699
|
var Dt = {
|
|
3700
3700
|
locale: [Wt, X],
|
|
3701
3701
|
showMonths: [M, d, B],
|
|
3702
|
-
minDate: [
|
|
3703
|
-
maxDate: [
|
|
3702
|
+
minDate: [P],
|
|
3703
|
+
maxDate: [P],
|
|
3704
3704
|
positionElement: [Qt],
|
|
3705
3705
|
clickOpens: [
|
|
3706
3706
|
function() {
|
|
@@ -3757,7 +3757,7 @@ function Tl(t, n) {
|
|
|
3757
3757
|
function vn(i, s, h) {
|
|
3758
3758
|
if (s === void 0 && (s = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
|
|
3759
3759
|
return e.clear(s);
|
|
3760
|
-
Gt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(),
|
|
3760
|
+
Gt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), P(void 0, s), g(), e.selectedDates.length === 0 && e.clear(!1), qe(s), s && be("onChange");
|
|
3761
3761
|
}
|
|
3762
3762
|
function Zt(i) {
|
|
3763
3763
|
return i.slice().map(function(s) {
|
|
@@ -3849,10 +3849,10 @@ function Tl(t, n) {
|
|
|
3849
3849
|
i.preventDefault();
|
|
3850
3850
|
var s = i.type === "keydown", h = Ue(i), D = h;
|
|
3851
3851
|
e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
3852
|
-
var E = parseFloat(D.getAttribute("min")), j = parseFloat(D.getAttribute("max")),
|
|
3852
|
+
var E = parseFloat(D.getAttribute("min")), j = parseFloat(D.getAttribute("max")), ae = parseFloat(D.getAttribute("step")), H = parseInt(D.value, 10), le = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), R = H + ae * le;
|
|
3853
3853
|
if (typeof D.value < "u" && D.value.length === 2) {
|
|
3854
3854
|
var Z = D === e.hourElement, pe = D === e.minuteElement;
|
|
3855
|
-
|
|
3855
|
+
R < E ? (R = j + R + Ge(!Z) + (Ge(Z) && Ge(!e.amPM)), pe && T(void 0, -1, e.hourElement)) : R > j && (R = D === e.hourElement ? R - j - Ge(!e.amPM) : E, pe && T(void 0, 1, e.hourElement)), e.amPM && Z && (ae === 1 ? R + H === 23 : Math.abs(R - H) > ae) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), D.value = Fe(R);
|
|
3856
3856
|
}
|
|
3857
3857
|
}
|
|
3858
3858
|
return r(), e;
|
|
@@ -4142,27 +4142,27 @@ var io = { exports: {} };
|
|
|
4142
4142
|
var g;
|
|
4143
4143
|
function w(V) {
|
|
4144
4144
|
V.stopPropagation(), V.preventDefault();
|
|
4145
|
-
var
|
|
4146
|
-
if (!(
|
|
4147
|
-
for (var
|
|
4148
|
-
var q =
|
|
4149
|
-
typeof q == "function" && q(
|
|
4145
|
+
var Y = V.target;
|
|
4146
|
+
if (!(Y.tagName.toLowerCase() !== "button" || typeof p.onClick > "u"))
|
|
4147
|
+
for (var P = parseInt(Y.dataset.index, 10), N = Array.isArray(p.onClick) ? p.onClick : [p.onClick], T = 0, J = N; T < J.length; T++) {
|
|
4148
|
+
var q = J[T];
|
|
4149
|
+
typeof q == "function" && q(P, c);
|
|
4150
4150
|
}
|
|
4151
4151
|
}
|
|
4152
4152
|
function I(V) {
|
|
4153
|
-
var
|
|
4154
|
-
V.key !== "Tab" ||
|
|
4153
|
+
var Y = V.target;
|
|
4154
|
+
V.key !== "Tab" || Y.tagName.toLowerCase() !== "button" || (V.shiftKey && !Y.previousSibling || !V.shiftKey && !Y.nextSibling) && (V.preventDefault(), c.element.focus());
|
|
4155
4155
|
}
|
|
4156
|
-
function y(V,
|
|
4157
|
-
Object.keys(
|
|
4158
|
-
return d.has(
|
|
4159
|
-
}).forEach(function(
|
|
4160
|
-
var
|
|
4161
|
-
if (
|
|
4162
|
-
(
|
|
4156
|
+
function y(V, Y) {
|
|
4157
|
+
Object.keys(Y).filter(function(P) {
|
|
4158
|
+
return d.has(P);
|
|
4159
|
+
}).forEach(function(P) {
|
|
4160
|
+
var N;
|
|
4161
|
+
if (P === "class") {
|
|
4162
|
+
(N = V.classList).add.apply(N, Y[P].split(" "));
|
|
4163
4163
|
return;
|
|
4164
4164
|
}
|
|
4165
|
-
V.setAttribute(
|
|
4165
|
+
V.setAttribute(P, Y[P]);
|
|
4166
4166
|
});
|
|
4167
4167
|
}
|
|
4168
4168
|
return {
|
|
@@ -4174,11 +4174,11 @@ var io = { exports: {} };
|
|
|
4174
4174
|
var V = document.createElement("div");
|
|
4175
4175
|
V.classList.add("shortcut-buttons-flatpickr-label"), V.textContent = p.label, g.appendChild(V);
|
|
4176
4176
|
}
|
|
4177
|
-
var
|
|
4178
|
-
|
|
4177
|
+
var Y = document.createElement("div");
|
|
4178
|
+
Y.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P, N) {
|
|
4179
4179
|
var T = document.createElement("button");
|
|
4180
|
-
T.type = "button", T.classList.add("shortcut-buttons-flatpickr-button"), T.textContent =
|
|
4181
|
-
}), g.appendChild(
|
|
4180
|
+
T.type = "button", T.classList.add("shortcut-buttons-flatpickr-button"), T.textContent = P.label, T.dataset.index = String(N), typeof P.attributes < "u" && y(T, P.attributes), Y.appendChild(T), c.pluginElements.push(T);
|
|
4181
|
+
}), g.appendChild(Y), c.calendarContainer.appendChild(g), g.addEventListener("click", w), g.addEventListener("keydown", I);
|
|
4182
4182
|
},
|
|
4183
4183
|
/**
|
|
4184
4184
|
* Clean up before flatpickr is destroyed.
|
|
@@ -4540,7 +4540,7 @@ var _a = { exports: {} };
|
|
|
4540
4540
|
I.l10ns.bg = y, I.l10ns;
|
|
4541
4541
|
var V = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4542
4542
|
l10ns: {}
|
|
4543
|
-
},
|
|
4543
|
+
}, Y = {
|
|
4544
4544
|
weekdays: {
|
|
4545
4545
|
shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
|
|
4546
4546
|
longhand: [
|
|
@@ -4584,10 +4584,10 @@ var _a = { exports: {} };
|
|
|
4584
4584
|
]
|
|
4585
4585
|
}
|
|
4586
4586
|
};
|
|
4587
|
-
V.l10ns.bn =
|
|
4588
|
-
var
|
|
4587
|
+
V.l10ns.bn = Y, V.l10ns;
|
|
4588
|
+
var P = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4589
4589
|
l10ns: {}
|
|
4590
|
-
},
|
|
4590
|
+
}, N = {
|
|
4591
4591
|
weekdays: {
|
|
4592
4592
|
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
|
|
4593
4593
|
longhand: [
|
|
@@ -4651,10 +4651,10 @@ var _a = { exports: {} };
|
|
|
4651
4651
|
rangeSeparator: " a ",
|
|
4652
4652
|
time_24hr: !0
|
|
4653
4653
|
};
|
|
4654
|
-
|
|
4654
|
+
P.l10ns.cat = P.l10ns.ca = N, P.l10ns;
|
|
4655
4655
|
var T = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4656
4656
|
l10ns: {}
|
|
4657
|
-
},
|
|
4657
|
+
}, J = {
|
|
4658
4658
|
weekdays: {
|
|
4659
4659
|
shorthand: [
|
|
4660
4660
|
"یەکشەممە",
|
|
@@ -4710,10 +4710,10 @@ var _a = { exports: {} };
|
|
|
4710
4710
|
return "";
|
|
4711
4711
|
}
|
|
4712
4712
|
};
|
|
4713
|
-
T.l10ns.ckb =
|
|
4713
|
+
T.l10ns.ckb = J, T.l10ns;
|
|
4714
4714
|
var q = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4715
4715
|
l10ns: {}
|
|
4716
|
-
},
|
|
4716
|
+
}, ne = {
|
|
4717
4717
|
weekdays: {
|
|
4718
4718
|
shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
|
|
4719
4719
|
longhand: [
|
|
@@ -4768,10 +4768,10 @@ var _a = { exports: {} };
|
|
|
4768
4768
|
yearAriaLabel: "Rok",
|
|
4769
4769
|
time_24hr: !0
|
|
4770
4770
|
};
|
|
4771
|
-
q.l10ns.cs =
|
|
4771
|
+
q.l10ns.cs = ne, q.l10ns;
|
|
4772
4772
|
var de = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4773
4773
|
l10ns: {}
|
|
4774
|
-
},
|
|
4774
|
+
}, ie = {
|
|
4775
4775
|
weekdays: {
|
|
4776
4776
|
shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
|
|
4777
4777
|
longhand: [
|
|
@@ -4820,7 +4820,7 @@ var _a = { exports: {} };
|
|
|
4820
4820
|
},
|
|
4821
4821
|
time_24hr: !0
|
|
4822
4822
|
};
|
|
4823
|
-
de.l10ns.cy =
|
|
4823
|
+
de.l10ns.cy = ie, de.l10ns;
|
|
4824
4824
|
var Q = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4825
4825
|
l10ns: {}
|
|
4826
4826
|
}, De = {
|
|
@@ -6423,7 +6423,7 @@ var _a = { exports: {} };
|
|
|
6423
6423
|
D.l10ns.my = E, D.l10ns;
|
|
6424
6424
|
var j = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6425
6425
|
l10ns: {}
|
|
6426
|
-
},
|
|
6426
|
+
}, ae = {
|
|
6427
6427
|
weekdays: {
|
|
6428
6428
|
shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"],
|
|
6429
6429
|
longhand: [
|
|
@@ -6476,10 +6476,10 @@ var _a = { exports: {} };
|
|
|
6476
6476
|
return ce === 1 || ce === 8 || ce >= 20 ? "ste" : "de";
|
|
6477
6477
|
}
|
|
6478
6478
|
};
|
|
6479
|
-
j.l10ns.nl =
|
|
6479
|
+
j.l10ns.nl = ae, j.l10ns;
|
|
6480
6480
|
var H = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6481
6481
|
l10ns: {}
|
|
6482
|
-
},
|
|
6482
|
+
}, le = {
|
|
6483
6483
|
weekdays: {
|
|
6484
6484
|
shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."],
|
|
6485
6485
|
longhand: [
|
|
@@ -6532,8 +6532,8 @@ var _a = { exports: {} };
|
|
|
6532
6532
|
return ".";
|
|
6533
6533
|
}
|
|
6534
6534
|
};
|
|
6535
|
-
H.l10ns.nn =
|
|
6536
|
-
var
|
|
6535
|
+
H.l10ns.nn = le, H.l10ns;
|
|
6536
|
+
var R = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6537
6537
|
l10ns: {}
|
|
6538
6538
|
}, Z = {
|
|
6539
6539
|
weekdays: {
|
|
@@ -6588,7 +6588,7 @@ var _a = { exports: {} };
|
|
|
6588
6588
|
return ".";
|
|
6589
6589
|
}
|
|
6590
6590
|
};
|
|
6591
|
-
|
|
6591
|
+
R.l10ns.no = Z, R.l10ns;
|
|
6592
6592
|
var pe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6593
6593
|
l10ns: {}
|
|
6594
6594
|
}, Re = {
|
|
@@ -7600,13 +7600,13 @@ var _a = { exports: {} };
|
|
|
7600
7600
|
az: m,
|
|
7601
7601
|
be: c,
|
|
7602
7602
|
bg: y,
|
|
7603
|
-
bn:
|
|
7603
|
+
bn: Y,
|
|
7604
7604
|
bs: w,
|
|
7605
|
-
ca:
|
|
7606
|
-
ckb:
|
|
7607
|
-
cat:
|
|
7608
|
-
cs:
|
|
7609
|
-
cy:
|
|
7605
|
+
ca: N,
|
|
7606
|
+
ckb: J,
|
|
7607
|
+
cat: N,
|
|
7608
|
+
cs: ne,
|
|
7609
|
+
cy: ie,
|
|
7610
7610
|
da: De,
|
|
7611
7611
|
de: A,
|
|
7612
7612
|
default: a({}, C),
|
|
@@ -7638,8 +7638,8 @@ var _a = { exports: {} };
|
|
|
7638
7638
|
mn: i,
|
|
7639
7639
|
ms: h,
|
|
7640
7640
|
my: E,
|
|
7641
|
-
nl:
|
|
7642
|
-
nn:
|
|
7641
|
+
nl: ae,
|
|
7642
|
+
nn: le,
|
|
7643
7643
|
no: Z,
|
|
7644
7644
|
pa: Re,
|
|
7645
7645
|
pl: ct,
|
|
@@ -7698,7 +7698,7 @@ const Nl = {
|
|
|
7698
7698
|
},
|
|
7699
7699
|
emits: ["change", "blur", "update:modelValue", "onOpen", "onClose"],
|
|
7700
7700
|
setup(t, { emit: n }) {
|
|
7701
|
-
const e = t, a = (C) => C !== null && typeof C.fp < "u", r =
|
|
7701
|
+
const e = t, a = (C) => C !== null && typeof C.fp < "u", r = W(null), o = W(null), l = W(!1), d = W("sk"), u = W(""), m = W(null), { t: p } = G(), c = (C) => C.replace("Z", "000Z"), g = (C) => {
|
|
7702
7702
|
C !== e.modelValue && (n("update:modelValue", C), n("change"));
|
|
7703
7703
|
}, w = (C) => {
|
|
7704
7704
|
if (C === null || S(C)) {
|
|
@@ -7711,29 +7711,29 @@ const Nl = {
|
|
|
7711
7711
|
}
|
|
7712
7712
|
g(c(C + ""));
|
|
7713
7713
|
}, I = () => {
|
|
7714
|
-
|
|
7714
|
+
Y(), l.value = !0, n("onOpen");
|
|
7715
7715
|
}, y = () => {
|
|
7716
7716
|
l.value = !1, n("onClose");
|
|
7717
7717
|
}, V = () => {
|
|
7718
7718
|
a(r.value) && (u.value = r.value.fpInput().value);
|
|
7719
|
-
},
|
|
7719
|
+
}, Y = () => {
|
|
7720
7720
|
var x, $, B;
|
|
7721
7721
|
if (!a(r.value))
|
|
7722
7722
|
return;
|
|
7723
|
-
const C = u.value.replace(/[^\s\d.:]/g, ""), M = r.value.fp.parseDate(C,
|
|
7723
|
+
const C = u.value.replace(/[^\s\d.:]/g, ""), M = r.value.fp.parseDate(C, N.value);
|
|
7724
7724
|
if (S(M)) {
|
|
7725
7725
|
he(e.defaultValue) ? (x = r.value) == null || x.fp.clear(!0) : ($ = r.value) == null || $.fp.setDate(e.defaultValue, !0), K.value.textFieldValue.$touch(), n("blur");
|
|
7726
7726
|
return;
|
|
7727
7727
|
}
|
|
7728
7728
|
(B = r.value) == null || B.fp.setDate(M, !0), K.value.textFieldValue.$touch(), n("blur");
|
|
7729
|
-
},
|
|
7729
|
+
}, P = () => {
|
|
7730
7730
|
m.value = e.defaultValue, n("update:modelValue", f(e.defaultValue));
|
|
7731
|
-
},
|
|
7731
|
+
}, N = _(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), T = _(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), J = _(() => e.enable && e.enable.length > 0 ? e.enable : [
|
|
7732
7732
|
{
|
|
7733
7733
|
from: new Date(1901, 1),
|
|
7734
7734
|
to: new Date(2099, 12)
|
|
7735
7735
|
}
|
|
7736
|
-
]), q = _(() => he(e.defaultValue) ? void 0 : e.defaultValue),
|
|
7736
|
+
]), q = _(() => he(e.defaultValue) ? void 0 : e.defaultValue), ne = _(() => e.hideSetToNow ? [] : [
|
|
7737
7737
|
Pl({
|
|
7738
7738
|
button: [
|
|
7739
7739
|
{
|
|
@@ -7752,7 +7752,7 @@ const Nl = {
|
|
|
7752
7752
|
enableTime: e.type !== "date",
|
|
7753
7753
|
wrap: !0,
|
|
7754
7754
|
time_24hr: !0,
|
|
7755
|
-
altFormat:
|
|
7755
|
+
altFormat: N.value,
|
|
7756
7756
|
defaultDate: q.value,
|
|
7757
7757
|
allowInput: !0,
|
|
7758
7758
|
altInput: !0,
|
|
@@ -7765,20 +7765,20 @@ const Nl = {
|
|
|
7765
7765
|
position: "auto",
|
|
7766
7766
|
// @ts-ignore
|
|
7767
7767
|
locale: { ...El[d.value] },
|
|
7768
|
-
enable:
|
|
7768
|
+
enable: J.value,
|
|
7769
7769
|
weekNumbers: e.weekNumbers,
|
|
7770
7770
|
// @ts-ignore
|
|
7771
7771
|
minDate: e.minNow ? (/* @__PURE__ */ new Date()).fp_incr(-1) : !1,
|
|
7772
|
-
plugins:
|
|
7772
|
+
plugins: ne.value
|
|
7773
7773
|
};
|
|
7774
|
-
}),
|
|
7774
|
+
}), ie = () => {
|
|
7775
7775
|
setTimeout(() => {
|
|
7776
7776
|
if (a(r.value)) {
|
|
7777
7777
|
if (l.value) {
|
|
7778
7778
|
r.value.fp.close();
|
|
7779
7779
|
return;
|
|
7780
7780
|
}
|
|
7781
|
-
|
|
7781
|
+
Y(), r.value.fp.open(), r.value.fpInput().focus();
|
|
7782
7782
|
}
|
|
7783
7783
|
}, 0);
|
|
7784
7784
|
}, Q = lo(), De = _(() => ({
|
|
@@ -7807,17 +7807,17 @@ const Nl = {
|
|
|
7807
7807
|
"persistent-placeholder": !0,
|
|
7808
7808
|
placeholder: f(T),
|
|
7809
7809
|
class: "a-datetime-picker",
|
|
7810
|
-
onBlur:
|
|
7811
|
-
onKeyup: Sr(
|
|
7810
|
+
onBlur: Y,
|
|
7811
|
+
onKeyup: Sr(Y, ["enter"])
|
|
7812
7812
|
}, Ut({
|
|
7813
7813
|
"append-inner": v(() => [
|
|
7814
7814
|
t.clearable && t.defaultValue !== t.modelValue ? (k(), F(me, {
|
|
7815
7815
|
key: 0,
|
|
7816
7816
|
class: "a-datetime-picker__clearable",
|
|
7817
7817
|
icon: "mdi-close-circle",
|
|
7818
|
-
onClick:
|
|
7818
|
+
onClick: re(P, ["stop"])
|
|
7819
7819
|
}, null, 8, ["onClick"])) : ee("", !0),
|
|
7820
|
-
|
|
7820
|
+
oe("div", null, [
|
|
7821
7821
|
b(f(Ol), {
|
|
7822
7822
|
ref_key: "flatickrRef",
|
|
7823
7823
|
ref: r,
|
|
@@ -7832,7 +7832,7 @@ const Nl = {
|
|
|
7832
7832
|
b(me, {
|
|
7833
7833
|
class: "a-datetime-picker__calendar",
|
|
7834
7834
|
icon: "mdi-calendar",
|
|
7835
|
-
onClick:
|
|
7835
|
+
onClick: re(ie, ["stop"])
|
|
7836
7836
|
}, null, 8, ["onClick"])
|
|
7837
7837
|
])
|
|
7838
7838
|
]),
|
|
@@ -7842,7 +7842,7 @@ const Nl = {
|
|
|
7842
7842
|
name: "label",
|
|
7843
7843
|
fn: v(() => [
|
|
7844
7844
|
z(O(t.label), 1),
|
|
7845
|
-
t.required ? (k(),
|
|
7845
|
+
t.required ? (k(), U("span", Nl)) : ee("", !0)
|
|
7846
7846
|
]),
|
|
7847
7847
|
key: "0"
|
|
7848
7848
|
}
|
|
@@ -7968,7 +7968,7 @@ const zl = {
|
|
|
7968
7968
|
set(x) {
|
|
7969
7969
|
n("update:modelValue", mt(x));
|
|
7970
7970
|
}
|
|
7971
|
-
}), r =
|
|
7971
|
+
}), r = W(""), o = W(!1), l = W(void 0), { t: d } = G({ useScope: "global" }), { innerFilter: u } = Zn(e), m = Ce(rt, void 0), p = Ce(ot, void 0), c = () => {
|
|
7972
7972
|
var x;
|
|
7973
7973
|
o.value = !0, n("blur", e.modelValue), (x = e.v) == null || x.$touch();
|
|
7974
7974
|
}, g = _(() => {
|
|
@@ -7985,36 +7985,36 @@ const zl = {
|
|
|
7985
7985
|
}), I = _(() => {
|
|
7986
7986
|
var x, $;
|
|
7987
7987
|
return S(e.required) ? ((x = e.v) == null ? void 0 : x.required) && (($ = e.v) == null ? void 0 : $.required.$params.type) === "required" : e.required;
|
|
7988
|
-
}), y = _(() => e.multiple !== !1), V = ra(e.filterSortBy),
|
|
7988
|
+
}), y = _(() => e.multiple !== !1), V = ra(e.filterSortBy), Y = W([]), P = W([]), N = _(() => {
|
|
7989
7989
|
const x = /* @__PURE__ */ new Map();
|
|
7990
|
-
return
|
|
7990
|
+
return P.value.forEach(($) => {
|
|
7991
7991
|
x.set($.value, { value: $.value, title: $.title });
|
|
7992
|
-
}),
|
|
7992
|
+
}), Y.value.forEach(($) => {
|
|
7993
7993
|
x.set($.value, { value: $.value, title: $.title });
|
|
7994
7994
|
}), Array.from(x, ([$, B]) => ({ value: $, title: B.title }));
|
|
7995
|
-
}), T =
|
|
7995
|
+
}), T = W(!1), J = _(() => T.value ? !0 : e.loading), q = async (x) => {
|
|
7996
7996
|
T.value = !0;
|
|
7997
7997
|
const $ = u.value[e.filterByField];
|
|
7998
|
-
$.model = x,
|
|
7999
|
-
},
|
|
8000
|
-
const $ =
|
|
7998
|
+
$.model = x, Y.value = await e.fetchItems(V, u.value), T.value = !1;
|
|
7999
|
+
}, ne = (x) => {
|
|
8000
|
+
const $ = N.value.filter((B) => x.includes(B.value));
|
|
8001
8001
|
return [].concat($);
|
|
8002
8002
|
}, de = async (x) => {
|
|
8003
8003
|
let $ = 1, B = [];
|
|
8004
|
-
return Ne(x) ? ($ = x.length, B =
|
|
8005
|
-
},
|
|
8004
|
+
return Ne(x) ? ($ = x.length, B = ne(x)) : B = ne([x]), P.value = B, B.length === $;
|
|
8005
|
+
}, ie = W(!1), Q = () => {
|
|
8006
8006
|
clearTimeout(l.value), l.value = void 0;
|
|
8007
8007
|
}, De = async () => {
|
|
8008
|
-
Q(),
|
|
8008
|
+
Q(), ie.value !== !0 && (ie.value = !0, T.value = !0, Y.value = await e.fetchItems(V, u.value), T.value = !1);
|
|
8009
8009
|
}, K = () => {
|
|
8010
8010
|
o.value = !0, Q(), De();
|
|
8011
8011
|
}, A = _(() => {
|
|
8012
|
-
if (!e.multiple &&
|
|
8013
|
-
return
|
|
8012
|
+
if (!e.multiple && P.value[0])
|
|
8013
|
+
return P.value[0].title;
|
|
8014
8014
|
}), C = (x) => {
|
|
8015
8015
|
!e.multiple && !o.value && x.length === 0 || A.value !== x && (r.value = x);
|
|
8016
8016
|
}, M = async () => {
|
|
8017
|
-
if (
|
|
8017
|
+
if (Y.value = await e.fetchItems(V, u.value), e.multiple) {
|
|
8018
8018
|
a.value = [];
|
|
8019
8019
|
return;
|
|
8020
8020
|
}
|
|
@@ -8026,7 +8026,7 @@ const zl = {
|
|
|
8026
8026
|
if (x === $)
|
|
8027
8027
|
return;
|
|
8028
8028
|
if (he(x) || S(x) || Ne(x) && x.length === 0) {
|
|
8029
|
-
if (
|
|
8029
|
+
if (P.value = [], e.disableInitFetch || ie.value === !0)
|
|
8030
8030
|
return;
|
|
8031
8031
|
l.value = setTimeout(() => {
|
|
8032
8032
|
De();
|
|
@@ -8035,10 +8035,10 @@ const zl = {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
if (!await de(x)) {
|
|
8037
8037
|
if (Ne(x)) {
|
|
8038
|
-
T.value = !0,
|
|
8038
|
+
T.value = !0, P.value = await e.fetchItemsByIds(x), T.value = !1;
|
|
8039
8039
|
return;
|
|
8040
8040
|
}
|
|
8041
|
-
T.value = !0,
|
|
8041
|
+
T.value = !0, P.value = await e.fetchItemsByIds([x]), T.value = !1;
|
|
8042
8042
|
}
|
|
8043
8043
|
},
|
|
8044
8044
|
{ immediate: !0 }
|
|
@@ -8053,25 +8053,25 @@ const zl = {
|
|
|
8053
8053
|
}), (x, $) => (k(), F(dn, {
|
|
8054
8054
|
modelValue: f(a),
|
|
8055
8055
|
"onUpdate:modelValue": $[0] || ($[0] = (B) => He(a) ? a.value = B : null),
|
|
8056
|
-
items: f(
|
|
8056
|
+
items: f(N),
|
|
8057
8057
|
"no-filter": "",
|
|
8058
8058
|
multiple: f(y),
|
|
8059
8059
|
clearable: t.clearable,
|
|
8060
8060
|
"error-messages": f(g),
|
|
8061
8061
|
chips: t.multiple,
|
|
8062
8062
|
"hide-details": t.hideDetails,
|
|
8063
|
-
loading: f(
|
|
8063
|
+
loading: f(J),
|
|
8064
8064
|
"onUpdate:search": C,
|
|
8065
8065
|
onBlur: c,
|
|
8066
8066
|
onFocus: K,
|
|
8067
8067
|
"onClick:clear": M
|
|
8068
8068
|
}, {
|
|
8069
8069
|
label: v(() => [
|
|
8070
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
8070
|
+
t.hideLabel ? ee("", !0) : (k(), U("span", {
|
|
8071
8071
|
key: f(I) + ""
|
|
8072
8072
|
}, [
|
|
8073
8073
|
z(O(f(w)) + " ", 1),
|
|
8074
|
-
f(I) ? (k(),
|
|
8074
|
+
f(I) ? (k(), U("span", zl)) : ee("", !0)
|
|
8075
8075
|
]))
|
|
8076
8076
|
]),
|
|
8077
8077
|
_: 1
|
|
@@ -8098,7 +8098,7 @@ const zl = {
|
|
|
8098
8098
|
return "";
|
|
8099
8099
|
const { end: w } = dt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8100
8100
|
return a(r + "." + o + ".model." + w);
|
|
8101
|
-
}), d =
|
|
8101
|
+
}), d = W(!1), u = W(!1), m = W(""), p = _(() => e.modelValue), c = W(e.modelValue), g = async () => {
|
|
8102
8102
|
if (d.value)
|
|
8103
8103
|
return;
|
|
8104
8104
|
if (d.value = !0, u.value = !1, c.value === !0) {
|
|
@@ -8113,15 +8113,15 @@ const zl = {
|
|
|
8113
8113
|
w !== I && (c.value = w, u.value = !1);
|
|
8114
8114
|
}), Gn(() => {
|
|
8115
8115
|
m.value = "remote-switch-" + Date.now();
|
|
8116
|
-
}), (w, I) => (k(),
|
|
8116
|
+
}), (w, I) => (k(), U("div", jl, [
|
|
8117
8117
|
b(Ho, {
|
|
8118
8118
|
id: m.value,
|
|
8119
8119
|
modelValue: c.value,
|
|
8120
8120
|
"onUpdate:modelValue": I[0] || (I[0] = (y) => c.value = y),
|
|
8121
8121
|
disabled: d.value,
|
|
8122
|
-
onClick:
|
|
8122
|
+
onClick: re(g, ["stop"])
|
|
8123
8123
|
}, null, 8, ["id", "modelValue", "disabled", "onClick"]),
|
|
8124
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
8124
|
+
t.hideLabel ? ee("", !0) : (k(), U("label", {
|
|
8125
8125
|
key: 0,
|
|
8126
8126
|
for: m.value,
|
|
8127
8127
|
class: "v-label v-label--clickable"
|
|
@@ -8149,7 +8149,7 @@ const zl = {
|
|
|
8149
8149
|
return "";
|
|
8150
8150
|
const { end: w } = dt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8151
8151
|
return a(r + "." + o + ".model." + w);
|
|
8152
|
-
}), d =
|
|
8152
|
+
}), d = W(!1), u = W(!1), m = W(""), p = _(() => e.modelValue), c = W(e.modelValue), g = async () => {
|
|
8153
8153
|
if (d.value)
|
|
8154
8154
|
return;
|
|
8155
8155
|
if (d.value = !0, u.value = !1, c.value === !0) {
|
|
@@ -8164,7 +8164,7 @@ const zl = {
|
|
|
8164
8164
|
w !== I && (c.value = w, u.value = !1);
|
|
8165
8165
|
}), Gn(() => {
|
|
8166
8166
|
m.value = "a-remote-switch-" + Date.now();
|
|
8167
|
-
}), (w, I) => (k(),
|
|
8167
|
+
}), (w, I) => (k(), U("div", Rl, [
|
|
8168
8168
|
b(te, {
|
|
8169
8169
|
id: m.value,
|
|
8170
8170
|
icon: "",
|
|
@@ -8173,7 +8173,7 @@ const zl = {
|
|
|
8173
8173
|
ripple: !1,
|
|
8174
8174
|
width: t.hideLabel ? 36 : void 0,
|
|
8175
8175
|
height: 36,
|
|
8176
|
-
onClick:
|
|
8176
|
+
onClick: re(g, ["stop"])
|
|
8177
8177
|
}, {
|
|
8178
8178
|
default: v(() => [
|
|
8179
8179
|
b(Jo, {
|
|
@@ -8183,7 +8183,7 @@ const zl = {
|
|
|
8183
8183
|
disabled: d.value,
|
|
8184
8184
|
"hide-details": t.hideDetails,
|
|
8185
8185
|
density: "compact",
|
|
8186
|
-
onClick:
|
|
8186
|
+
onClick: re(g, ["stop"])
|
|
8187
8187
|
}, Ut({ _: 2 }, [
|
|
8188
8188
|
u.value ? {
|
|
8189
8189
|
name: "append",
|
|
@@ -8201,7 +8201,7 @@ const zl = {
|
|
|
8201
8201
|
]),
|
|
8202
8202
|
_: 1
|
|
8203
8203
|
}, 8, ["id", "width", "onClick"]),
|
|
8204
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
8204
|
+
t.hideLabel ? ee("", !0) : (k(), U("label", {
|
|
8205
8205
|
key: 0,
|
|
8206
8206
|
for: m.value,
|
|
8207
8207
|
class: "v-label v-label--clickable"
|
|
@@ -8267,9 +8267,9 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8267
8267
|
onBlur: d
|
|
8268
8268
|
}, {
|
|
8269
8269
|
label: v(() => [
|
|
8270
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
8270
|
+
t.hideLabel ? ee("", !0) : (k(), U("span", Yl, [
|
|
8271
8271
|
z(O(f(m)), 1),
|
|
8272
|
-
f(p) ? (k(),
|
|
8272
|
+
f(p) ? (k(), U("span", Hl)) : ee("", !0)
|
|
8273
8273
|
]))
|
|
8274
8274
|
]),
|
|
8275
8275
|
_: 1
|
|
@@ -8325,35 +8325,35 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8325
8325
|
set(K) {
|
|
8326
8326
|
n("update:modelValue", { ...e.modelValue, model: mt(K) });
|
|
8327
8327
|
}
|
|
8328
|
-
}), r =
|
|
8328
|
+
}), r = W(""), o = W(!1), l = W(void 0), { t: d } = G({ useScope: "global" }), { innerFilter: u } = Zn(e), m = () => {
|
|
8329
8329
|
o.value = !0;
|
|
8330
|
-
}, p = _(() => e.modelValue.titleT ? d(e.modelValue.titleT) : void 0), c = _(() => e.modelValue.multiple !== !1), g = ra(e.filterSortBy), w =
|
|
8330
|
+
}, p = _(() => e.modelValue.titleT ? d(e.modelValue.titleT) : void 0), c = _(() => e.modelValue.multiple !== !1), g = ra(e.filterSortBy), w = W([]), I = W([]), y = _(() => {
|
|
8331
8331
|
const K = /* @__PURE__ */ new Map();
|
|
8332
8332
|
return I.value.forEach((A) => {
|
|
8333
8333
|
K.set(A.value, { value: A.value, title: A.title });
|
|
8334
8334
|
}), w.value.forEach((A) => {
|
|
8335
8335
|
K.set(A.value, { value: A.value, title: A.title });
|
|
8336
8336
|
}), Array.from(K, ([A, C]) => ({ value: A, title: C.title }));
|
|
8337
|
-
}), V =
|
|
8337
|
+
}), V = W(!1), Y = async (K) => {
|
|
8338
8338
|
V.value = !0;
|
|
8339
8339
|
const A = u.value[e.filterByField];
|
|
8340
8340
|
A.model = K, w.value = await e.fetchItems(g, u.value), V.value = !1;
|
|
8341
|
-
},
|
|
8341
|
+
}, P = (K) => {
|
|
8342
8342
|
const A = y.value.filter((C) => K.includes(C.value));
|
|
8343
8343
|
return [].concat(A);
|
|
8344
|
-
},
|
|
8344
|
+
}, N = async (K) => {
|
|
8345
8345
|
let A = 1, C = [];
|
|
8346
|
-
return Ne(K) ? (A = K.length, C =
|
|
8347
|
-
}, T =
|
|
8346
|
+
return Ne(K) ? (A = K.length, C = P(K)) : C = P([K]), I.value = C, C.length === A;
|
|
8347
|
+
}, T = W(!1), J = () => {
|
|
8348
8348
|
clearTimeout(l.value), l.value = void 0;
|
|
8349
8349
|
}, q = async () => {
|
|
8350
|
-
|
|
8351
|
-
},
|
|
8352
|
-
o.value = !0,
|
|
8350
|
+
J(), T.value !== !0 && (T.value = !0, V.value = !0, w.value = await e.fetchItems(g, u.value), V.value = !1);
|
|
8351
|
+
}, ne = () => {
|
|
8352
|
+
o.value = !0, J(), q();
|
|
8353
8353
|
}, de = _(() => {
|
|
8354
8354
|
if (!e.modelValue.multiple && I.value[0])
|
|
8355
8355
|
return I.value[0].title;
|
|
8356
|
-
}),
|
|
8356
|
+
}), ie = (K) => {
|
|
8357
8357
|
!e.modelValue.multiple && !o.value && K.length === 0 || de.value !== K && (r.value = K);
|
|
8358
8358
|
}, Q = async () => {
|
|
8359
8359
|
if (w.value = await e.fetchItems(g, u.value), e.modelValue.multiple) {
|
|
@@ -8375,7 +8375,7 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8375
8375
|
}, 3e3);
|
|
8376
8376
|
return;
|
|
8377
8377
|
}
|
|
8378
|
-
if (!await
|
|
8378
|
+
if (!await N(K)) {
|
|
8379
8379
|
if (Ne(K)) {
|
|
8380
8380
|
V.value = !0, I.value = await e.fetchItemsByIds(K), V.value = !1;
|
|
8381
8381
|
return;
|
|
@@ -8387,7 +8387,7 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8387
8387
|
), Pa(
|
|
8388
8388
|
r,
|
|
8389
8389
|
(K, A) => {
|
|
8390
|
-
K !== A &&
|
|
8390
|
+
K !== A && Y(K);
|
|
8391
8391
|
},
|
|
8392
8392
|
{ debounce: 300, maxWait: 1e3 }
|
|
8393
8393
|
), (K, A) => (k(), F(dn, {
|
|
@@ -8401,9 +8401,9 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8401
8401
|
label: f(p),
|
|
8402
8402
|
chips: t.modelValue.multiple,
|
|
8403
8403
|
loading: V.value,
|
|
8404
|
-
"onUpdate:search":
|
|
8404
|
+
"onUpdate:search": ie,
|
|
8405
8405
|
onBlur: m,
|
|
8406
|
-
onFocus:
|
|
8406
|
+
onFocus: ne,
|
|
8407
8407
|
"onClick:clear": Q
|
|
8408
8408
|
}, null, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
8409
8409
|
}
|
|
@@ -8424,10 +8424,10 @@ const Yl = { key: 0 }, Hl = {
|
|
|
8424
8424
|
n("update:modelValue", { ...e.modelValue, model: l });
|
|
8425
8425
|
}
|
|
8426
8426
|
}), { t: r } = G(), o = _(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
8427
|
-
return (l, d) => (k(),
|
|
8427
|
+
return (l, d) => (k(), U("div", Jl, [
|
|
8428
8428
|
b(Vr, { class: "pr-1" }, {
|
|
8429
8429
|
default: v(() => [
|
|
8430
|
-
|
|
8430
|
+
oe("span", null, O(f(o)), 1)
|
|
8431
8431
|
]),
|
|
8432
8432
|
_: 1
|
|
8433
8433
|
}),
|
|
@@ -8496,7 +8496,7 @@ const Nh = /* @__PURE__ */ kt(Wl, [["__scopeId", "data-v-0bca0344"]]), Lh = /* @
|
|
|
8496
8496
|
});
|
|
8497
8497
|
var uo = /* @__PURE__ */ ((t) => (t.Waiting = "waiting", t.Processing = "processing", t.AwaitingBatchProcess = "awaiting_batch_process", t.Done = "done", t.Error = "error", t.Default = "waiting", t))(uo || {});
|
|
8498
8498
|
function ql() {
|
|
8499
|
-
const { t } = G(), n =
|
|
8499
|
+
const { t } = G(), n = W([
|
|
8500
8500
|
{
|
|
8501
8501
|
value: "waiting",
|
|
8502
8502
|
title: t("common.job.status.waiting"),
|
|
@@ -8588,12 +8588,12 @@ const Kl = /* @__PURE__ */ L({
|
|
|
8588
8588
|
r.value || S(u) || u._loaded === !1 || (a.value = u, r.value = !0);
|
|
8589
8589
|
},
|
|
8590
8590
|
{ immediate: !0 }
|
|
8591
|
-
), (u, m) => (k(),
|
|
8591
|
+
), (u, m) => (k(), U("div", {
|
|
8592
8592
|
class: ge(t.containerClass)
|
|
8593
8593
|
}, [
|
|
8594
8594
|
f(he)(t.id) || f(S)(t.id) ? ke(u.$slots, "empty", { key: 0 }, () => [
|
|
8595
8595
|
z(" - ")
|
|
8596
|
-
]) : t.textOnly ? (k(),
|
|
8596
|
+
]) : t.textOnly ? (k(), U("div", Zl, [
|
|
8597
8597
|
z(O(f(l)) + " ", 1),
|
|
8598
8598
|
!f(r) && t.title.length === 0 ? (k(), F(la, {
|
|
8599
8599
|
key: 0,
|
|
@@ -8623,7 +8623,7 @@ const Kl = /* @__PURE__ */ L({
|
|
|
8623
8623
|
size: t.size,
|
|
8624
8624
|
"append-icon": t.openInNew ? f(kr).CHIP.ICON.LINK_EXTERNAL : f(kr).CHIP.ICON.LINK,
|
|
8625
8625
|
label: t.forceRounded ? void 0 : !0,
|
|
8626
|
-
onClick:
|
|
8626
|
+
onClick: re(d, ["stop"])
|
|
8627
8627
|
}, {
|
|
8628
8628
|
default: v(() => [
|
|
8629
8629
|
z(O(f(l)) + " ", 1),
|
|
@@ -8642,7 +8642,7 @@ const Kl = /* @__PURE__ */ L({
|
|
|
8642
8642
|
});
|
|
8643
8643
|
var Ql = /* @__PURE__ */ ((t) => (t.Debug = "DEBUG", t.Info = "INFO", t.Notice = "NOTICE", t.Warning = "WARNING", t.Error = "ERROR", t.Critical = "CRITICAL", t.Alert = "ALERT", t.Emergency = "EMERGENCY", t.Default = "INFO", t))(Ql || {});
|
|
8644
8644
|
function Xl() {
|
|
8645
|
-
const t =
|
|
8645
|
+
const t = W([
|
|
8646
8646
|
{
|
|
8647
8647
|
value: "DEBUG",
|
|
8648
8648
|
title: "DEBUG",
|
|
@@ -8723,12 +8723,12 @@ const jh = /* @__PURE__ */ L({
|
|
|
8723
8723
|
r(o(n.notifyT));
|
|
8724
8724
|
}));
|
|
8725
8725
|
};
|
|
8726
|
-
return (d, u) => (k(),
|
|
8726
|
+
return (d, u) => (k(), U("div", {
|
|
8727
8727
|
class: ge([{ "cursor-pointer": f(a) }, "d-inline-flex align-center anzu-copy-text"]),
|
|
8728
8728
|
"data-cy": t.dataCy,
|
|
8729
|
-
onClick:
|
|
8729
|
+
onClick: re(l, ["stop"])
|
|
8730
8730
|
}, [
|
|
8731
|
-
|
|
8731
|
+
oe("span", null, O(t.value), 1),
|
|
8732
8732
|
f(a) ? (k(), F(me, {
|
|
8733
8733
|
key: 0,
|
|
8734
8734
|
class: "ml-1",
|
|
@@ -8765,14 +8765,14 @@ const ts = {
|
|
|
8765
8765
|
return (n, e) => f(he)(t.secondaryIcon) ? f(he)(t.secondaryText) ? (k(), F(me, {
|
|
8766
8766
|
key: 2,
|
|
8767
8767
|
icon: t.mainIcon
|
|
8768
|
-
}, null, 8, ["icon"])) : (k(),
|
|
8768
|
+
}, null, 8, ["icon"])) : (k(), U("div", ns, [
|
|
8769
8769
|
b(me, {
|
|
8770
8770
|
size: t.size,
|
|
8771
8771
|
class: "anzu-icon-group__main-icon",
|
|
8772
8772
|
icon: t.mainIcon
|
|
8773
8773
|
}, null, 8, ["size", "icon"]),
|
|
8774
|
-
|
|
8775
|
-
])) : (k(),
|
|
8774
|
+
oe("div", as, O(t.secondaryText), 1)
|
|
8775
|
+
])) : (k(), U("div", ts, [
|
|
8776
8776
|
b(me, {
|
|
8777
8777
|
size: t.size,
|
|
8778
8778
|
class: "anzu-icon-group__main-icon",
|
|
@@ -8819,7 +8819,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
8819
8819
|
},
|
|
8820
8820
|
setup(t) {
|
|
8821
8821
|
const { t: n } = G();
|
|
8822
|
-
return (e, a) => (k(),
|
|
8822
|
+
return (e, a) => (k(), U(Le, null, [
|
|
8823
8823
|
t.hideCreatedAt ? ee("", !0) : (k(), F(nt, {
|
|
8824
8824
|
key: 0,
|
|
8825
8825
|
title: f(n)("common.model.tracking.created")
|
|
@@ -8965,7 +8965,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
8965
8965
|
},
|
|
8966
8966
|
emits: ["deleteRecord"],
|
|
8967
8967
|
setup(t, { expose: n, emit: e }) {
|
|
8968
|
-
const a = t, r =
|
|
8968
|
+
const a = t, r = W(!1), o = (c) => {
|
|
8969
8969
|
it(c), r.value = !0;
|
|
8970
8970
|
}, l = () => {
|
|
8971
8971
|
e("deleteRecord"), a.disableCloseAfterConfirm || d();
|
|
@@ -8990,7 +8990,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
8990
8990
|
});
|
|
8991
8991
|
return (c, g) => {
|
|
8992
8992
|
const w = Bt("ABtnTertiary"), I = Bt("ABtnPrimary");
|
|
8993
|
-
return k(),
|
|
8993
|
+
return k(), U(Le, null, [
|
|
8994
8994
|
t.variant === "icon" ? (k(), F(te, {
|
|
8995
8995
|
key: 0,
|
|
8996
8996
|
class: ge(t.buttonClass),
|
|
@@ -9003,7 +9003,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9003
9003
|
loading: t.loading,
|
|
9004
9004
|
width: t.size,
|
|
9005
9005
|
height: t.size,
|
|
9006
|
-
onClick:
|
|
9006
|
+
onClick: re(o, ["stop"])
|
|
9007
9007
|
}, {
|
|
9008
9008
|
default: v(() => [
|
|
9009
9009
|
b(me, { icon: "mdi-trash-can-outline" }),
|
|
@@ -9026,7 +9026,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9026
9026
|
color: t.color,
|
|
9027
9027
|
rounded: "pill",
|
|
9028
9028
|
height: t.size,
|
|
9029
|
-
onClick:
|
|
9029
|
+
onClick: re(o, ["stop"])
|
|
9030
9030
|
}, {
|
|
9031
9031
|
default: v(() => [
|
|
9032
9032
|
z(O(f(m)(t.buttonT)), 1)
|
|
@@ -9058,7 +9058,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9058
9058
|
b(w, {
|
|
9059
9059
|
disabled: t.loading,
|
|
9060
9060
|
"data-cy": "button-cancel",
|
|
9061
|
-
onClick:
|
|
9061
|
+
onClick: re(u, ["stop"])
|
|
9062
9062
|
}, {
|
|
9063
9063
|
default: v(() => [
|
|
9064
9064
|
z(O(f(m)(t.dialogCancelButtonT)), 1)
|
|
@@ -9069,7 +9069,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9069
9069
|
color: t.dialogConfirmColor,
|
|
9070
9070
|
loading: t.loading,
|
|
9071
9071
|
"data-cy": "button-confirm-delete",
|
|
9072
|
-
onClick:
|
|
9072
|
+
onClick: re(l, ["stop"])
|
|
9073
9073
|
}, {
|
|
9074
9074
|
default: v(() => [
|
|
9075
9075
|
z(O(f(m)(t.dialogConfirmButtonT)), 1)
|
|
@@ -9126,7 +9126,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9126
9126
|
loading: t.loading,
|
|
9127
9127
|
width: t.size,
|
|
9128
9128
|
height: t.size,
|
|
9129
|
-
onClick:
|
|
9129
|
+
onClick: re(o, ["stop"])
|
|
9130
9130
|
}, {
|
|
9131
9131
|
default: v(() => [
|
|
9132
9132
|
b(me, { icon: "mdi-content-save" }),
|
|
@@ -9150,10 +9150,10 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9150
9150
|
color: "primary",
|
|
9151
9151
|
rounded: "pill",
|
|
9152
9152
|
height: t.size,
|
|
9153
|
-
onClick:
|
|
9153
|
+
onClick: re(o, ["stop"])
|
|
9154
9154
|
}, {
|
|
9155
9155
|
default: v(() => [
|
|
9156
|
-
|
|
9156
|
+
oe("span", null, O(f(a)(t.buttonT)), 1)
|
|
9157
9157
|
]),
|
|
9158
9158
|
_: 1
|
|
9159
9159
|
}, 8, ["class", "variant", "data-cy", "loading", "height", "onClick"]));
|
|
@@ -9182,7 +9182,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9182
9182
|
variant: "outlined",
|
|
9183
9183
|
width: 36,
|
|
9184
9184
|
height: 35,
|
|
9185
|
-
onClick:
|
|
9185
|
+
onClick: re(e, ["stop"])
|
|
9186
9186
|
}, {
|
|
9187
9187
|
default: v(() => [
|
|
9188
9188
|
b(fo, {
|
|
@@ -9239,7 +9239,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9239
9239
|
disabled: t.disabled,
|
|
9240
9240
|
width: t.size,
|
|
9241
9241
|
height: t.size,
|
|
9242
|
-
onClick:
|
|
9242
|
+
onClick: re(a, ["stop"])
|
|
9243
9243
|
}, {
|
|
9244
9244
|
default: v(() => [
|
|
9245
9245
|
b(me, { icon: "mdi-content-save" }),
|
|
@@ -9264,7 +9264,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9264
9264
|
loading: t.loading,
|
|
9265
9265
|
disabled: t.disabled,
|
|
9266
9266
|
height: t.size,
|
|
9267
|
-
onClick:
|
|
9267
|
+
onClick: re(a, ["stop"])
|
|
9268
9268
|
}, {
|
|
9269
9269
|
default: v(() => [
|
|
9270
9270
|
z(O(f(r)(t.buttonT)), 1)
|
|
@@ -9298,7 +9298,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9298
9298
|
icon: "",
|
|
9299
9299
|
size: t.size,
|
|
9300
9300
|
variant: "text",
|
|
9301
|
-
onClick:
|
|
9301
|
+
onClick: re(l, ["stop"])
|
|
9302
9302
|
}, {
|
|
9303
9303
|
default: v(() => [
|
|
9304
9304
|
b(fo, {
|
|
@@ -9338,7 +9338,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9338
9338
|
icon: "",
|
|
9339
9339
|
size: "x-small",
|
|
9340
9340
|
variant: "text",
|
|
9341
|
-
onClick: o[0] || (o[0] =
|
|
9341
|
+
onClick: o[0] || (o[0] = re(() => {
|
|
9342
9342
|
}, ["stop"]))
|
|
9343
9343
|
}, {
|
|
9344
9344
|
default: v(() => [
|
|
@@ -9375,7 +9375,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9375
9375
|
icon: "",
|
|
9376
9376
|
size: "x-small",
|
|
9377
9377
|
variant: "text",
|
|
9378
|
-
onClick: o[0] || (o[0] =
|
|
9378
|
+
onClick: o[0] || (o[0] = re(() => {
|
|
9379
9379
|
}, ["stop"]))
|
|
9380
9380
|
}, {
|
|
9381
9381
|
default: v(() => [
|
|
@@ -9393,7 +9393,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9393
9393
|
_: 1
|
|
9394
9394
|
}, 8, ["class", "data-cy", "to"]));
|
|
9395
9395
|
}
|
|
9396
|
-
}), rs = /* @__PURE__ */
|
|
9396
|
+
}), rs = /* @__PURE__ */ oe("div", { class: "a-button-split__divider d-inline-flex" }, null, -1), Xh = /* @__PURE__ */ L({
|
|
9397
9397
|
__name: "ABtnSplit",
|
|
9398
9398
|
props: {
|
|
9399
9399
|
buttonT: { default: "" },
|
|
@@ -9440,7 +9440,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9440
9440
|
size: t.size,
|
|
9441
9441
|
loading: f(o),
|
|
9442
9442
|
disabled: t.disabled,
|
|
9443
|
-
onClick:
|
|
9443
|
+
onClick: re(a, ["stop"])
|
|
9444
9444
|
}, {
|
|
9445
9445
|
default: v(() => [
|
|
9446
9446
|
ke(d.$slots, "button-content", {}, () => [
|
|
@@ -9448,7 +9448,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9448
9448
|
])
|
|
9449
9449
|
]),
|
|
9450
9450
|
_: 3
|
|
9451
|
-
}, 8, ["variant", "class", "data-cy", "color", "rounded", "size", "loading", "disabled", "onClick"])) : (k(),
|
|
9451
|
+
}, 8, ["variant", "class", "data-cy", "color", "rounded", "size", "loading", "disabled", "onClick"])) : (k(), U("div", {
|
|
9452
9452
|
key: 1,
|
|
9453
9453
|
class: ge(["a-button-split d-inline-flex", t.buttonClass + " a-button-split--" + t.variant])
|
|
9454
9454
|
}, [
|
|
@@ -9461,7 +9461,7 @@ const Rh = /* @__PURE__ */ L({
|
|
|
9461
9461
|
size: t.size,
|
|
9462
9462
|
rounded: t.rounded,
|
|
9463
9463
|
color: t.color,
|
|
9464
|
-
onClick:
|
|
9464
|
+
onClick: re(a, ["stop"])
|
|
9465
9465
|
}, {
|
|
9466
9466
|
default: v(() => [
|
|
9467
9467
|
ke(d.$slots, "button-content", {}, () => [
|
|
@@ -9516,13 +9516,13 @@ const Ma = Fr(
|
|
|
9516
9516
|
"theme",
|
|
9517
9517
|
"light"
|
|
9518
9518
|
/* Light */
|
|
9519
|
-
), mo = "(prefers-color-scheme: dark)", Kn =
|
|
9519
|
+
), mo = "(prefers-color-scheme: dark)", Kn = W(
|
|
9520
9520
|
Object.values(tn).some((t) => t === Ma.value) ? Ma.value : "light"
|
|
9521
9521
|
/* Light */
|
|
9522
|
-
), nn =
|
|
9522
|
+
), nn = W(
|
|
9523
9523
|
"light"
|
|
9524
9524
|
/* Light */
|
|
9525
|
-
), po =
|
|
9525
|
+
), po = W(window.matchMedia && window.matchMedia(mo).matches), an = () => {
|
|
9526
9526
|
switch (Kn.value) {
|
|
9527
9527
|
case "auto":
|
|
9528
9528
|
nn.value = po.value ? "dark" : "light";
|
|
@@ -9585,7 +9585,7 @@ function ls() {
|
|
|
9585
9585
|
const ss = { key: 0 }, us = { key: 1 }, ds = { key: 2 }, eg = /* @__PURE__ */ L({
|
|
9586
9586
|
__name: "AThemeSelect",
|
|
9587
9587
|
setup(t) {
|
|
9588
|
-
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = ls(), { t: o } = G(), l =
|
|
9588
|
+
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = ls(), { t: o } = G(), l = W(!1);
|
|
9589
9589
|
return (d, u) => (k(), F(ht, {
|
|
9590
9590
|
modelValue: l.value,
|
|
9591
9591
|
"onUpdate:modelValue": u[0] || (u[0] = (m) => l.value = m),
|
|
@@ -9600,21 +9600,21 @@ const ss = { key: 0 }, us = { key: 1 }, ds = { key: 2 }, eg = /* @__PURE__ */ L(
|
|
|
9600
9600
|
"data-cy": "settings-theme"
|
|
9601
9601
|
}), {
|
|
9602
9602
|
default: v(() => [
|
|
9603
|
-
f(r) === f(tn).Auto ? (k(),
|
|
9603
|
+
f(r) === f(tn).Auto ? (k(), U("div", ss, [
|
|
9604
9604
|
b(me, {
|
|
9605
9605
|
class: "mr-1",
|
|
9606
9606
|
icon: "mdi-brightness-auto",
|
|
9607
9607
|
size: 32
|
|
9608
9608
|
}),
|
|
9609
9609
|
z(O(f(o)("common.system.theme.auto")), 1)
|
|
9610
|
-
])) : f(r) === f(tn).Light ? (k(),
|
|
9610
|
+
])) : f(r) === f(tn).Light ? (k(), U("div", us, [
|
|
9611
9611
|
b(me, {
|
|
9612
9612
|
class: "mr-1",
|
|
9613
9613
|
icon: "mdi-brightness-7",
|
|
9614
9614
|
size: 32
|
|
9615
9615
|
}),
|
|
9616
9616
|
z(O(f(o)("common.system.theme.light")), 1)
|
|
9617
|
-
])) : f(r) === f(tn).Dark ? (k(),
|
|
9617
|
+
])) : f(r) === f(tn).Dark ? (k(), U("div", ds, [
|
|
9618
9618
|
b(me, {
|
|
9619
9619
|
class: "mr-1",
|
|
9620
9620
|
icon: "mdi-brightness-4",
|
|
@@ -9633,7 +9633,7 @@ const ss = { key: 0 }, us = { key: 1 }, ds = { key: 2 }, eg = /* @__PURE__ */ L(
|
|
|
9633
9633
|
default: v(() => [
|
|
9634
9634
|
b(Xe, {
|
|
9635
9635
|
title: f(o)("common.system.theme.auto"),
|
|
9636
|
-
onClick:
|
|
9636
|
+
onClick: re(f(e), ["stop"])
|
|
9637
9637
|
}, {
|
|
9638
9638
|
prepend: v(() => [
|
|
9639
9639
|
b(me, {
|
|
@@ -9645,7 +9645,7 @@ const ss = { key: 0 }, us = { key: 1 }, ds = { key: 2 }, eg = /* @__PURE__ */ L(
|
|
|
9645
9645
|
}, 8, ["title", "onClick"]),
|
|
9646
9646
|
b(Xe, {
|
|
9647
9647
|
title: f(o)("common.system.theme.light"),
|
|
9648
|
-
onClick:
|
|
9648
|
+
onClick: re(f(a), ["stop"])
|
|
9649
9649
|
}, {
|
|
9650
9650
|
prepend: v(() => [
|
|
9651
9651
|
b(me, {
|
|
@@ -9657,7 +9657,7 @@ const ss = { key: 0 }, us = { key: 1 }, ds = { key: 2 }, eg = /* @__PURE__ */ L(
|
|
|
9657
9657
|
}, 8, ["title", "onClick"]),
|
|
9658
9658
|
b(Xe, {
|
|
9659
9659
|
title: f(o)("common.system.theme.dark"),
|
|
9660
|
-
onClick:
|
|
9660
|
+
onClick: re(f(n), ["stop"])
|
|
9661
9661
|
}, {
|
|
9662
9662
|
prepend: v(() => [
|
|
9663
9663
|
b(me, {
|
|
@@ -9731,7 +9731,7 @@ const ms = {
|
|
|
9731
9731
|
], gs = /* @__PURE__ */ L({
|
|
9732
9732
|
__name: "FlagSk",
|
|
9733
9733
|
setup(t) {
|
|
9734
|
-
return (n, e) => (k(),
|
|
9734
|
+
return (n, e) => (k(), U("svg", ms, hs));
|
|
9735
9735
|
}
|
|
9736
9736
|
}), vs = {}, ys = {
|
|
9737
9737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9741,12 +9741,12 @@ const ms = {
|
|
|
9741
9741
|
bs
|
|
9742
9742
|
];
|
|
9743
9743
|
function ks(t, n) {
|
|
9744
|
-
return k(),
|
|
9744
|
+
return k(), U("svg", ys, ws);
|
|
9745
9745
|
}
|
|
9746
9746
|
const Cs = /* @__PURE__ */ kt(vs, [["render", ks]]), Ds = {}, As = {
|
|
9747
9747
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9748
9748
|
viewBox: "0 0 900 600"
|
|
9749
|
-
}, _s = /* @__PURE__ */
|
|
9749
|
+
}, _s = /* @__PURE__ */ oe("rect", {
|
|
9750
9750
|
width: "900",
|
|
9751
9751
|
height: "600",
|
|
9752
9752
|
fill: "#cccccc"
|
|
@@ -9754,7 +9754,7 @@ const Cs = /* @__PURE__ */ kt(vs, [["render", ks]]), Ds = {}, As = {
|
|
|
9754
9754
|
_s
|
|
9755
9755
|
];
|
|
9756
9756
|
function xs(t, n) {
|
|
9757
|
-
return k(),
|
|
9757
|
+
return k(), U("svg", As, Ms);
|
|
9758
9758
|
}
|
|
9759
9759
|
const Ts = /* @__PURE__ */ kt(Ds, [["render", xs]]), Ss = { class: "flag" }, Cr = /* @__PURE__ */ L({
|
|
9760
9760
|
__name: "FlagCountry",
|
|
@@ -9773,7 +9773,7 @@ const Ts = /* @__PURE__ */ kt(Ds, [["render", xs]]), Ss = { class: "flag" }, Cr
|
|
|
9773
9773
|
return Ts;
|
|
9774
9774
|
}
|
|
9775
9775
|
});
|
|
9776
|
-
return (a, r) => (k(),
|
|
9776
|
+
return (a, r) => (k(), U("div", Ss, [
|
|
9777
9777
|
(k(), F(xa(f(e)), { "data-cy": t.dataCy }, null, 8, ["data-cy"]))
|
|
9778
9778
|
]));
|
|
9779
9779
|
}
|
|
@@ -9826,9 +9826,9 @@ const Ts = /* @__PURE__ */ kt(Ds, [["render", xs]]), Ss = { class: "flag" }, Cr
|
|
|
9826
9826
|
default: v(() => [
|
|
9827
9827
|
b(Yt, { density: "compact" }, {
|
|
9828
9828
|
default: v(() => [
|
|
9829
|
-
(k(!0),
|
|
9829
|
+
(k(!0), U(Le, null, pt(f(m), (g) => (k(), F(Xe, {
|
|
9830
9830
|
key: g.code,
|
|
9831
|
-
onClick:
|
|
9831
|
+
onClick: re((w) => d(g.code), ["stop"])
|
|
9832
9832
|
}, {
|
|
9833
9833
|
default: v(() => [
|
|
9834
9834
|
b(on, null, {
|
|
@@ -9868,11 +9868,11 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9868
9868
|
const { t: n } = G(), e = () => {
|
|
9869
9869
|
window.location.reload();
|
|
9870
9870
|
};
|
|
9871
|
-
return (a, r) => r[0] || (ur(-1), r[0] =
|
|
9871
|
+
return (a, r) => r[0] || (ur(-1), r[0] = oe("span", { class: "system-bar-new-version" }, [
|
|
9872
9872
|
z(O(f(n)("common.system.newVersionText")) + " ", 1),
|
|
9873
|
-
|
|
9873
|
+
oe("span", {
|
|
9874
9874
|
class: "text-decoration-underline cursor-pointer",
|
|
9875
|
-
onClick:
|
|
9875
|
+
onClick: re(e, ["stop"])
|
|
9876
9876
|
}, O(f(n)("common.system.newVersionReload")), 9, Os)
|
|
9877
9877
|
]), ur(1), r[0]);
|
|
9878
9878
|
}
|
|
@@ -9884,7 +9884,7 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9884
9884
|
jsonRelativePath: { default: "config.json" }
|
|
9885
9885
|
},
|
|
9886
9886
|
setup(t) {
|
|
9887
|
-
const n = t, e =
|
|
9887
|
+
const n = t, e = W(!1), a = () => {
|
|
9888
9888
|
fetch(`/${n.jsonRelativePath}?random=${Date.now()}`).then((l) => {
|
|
9889
9889
|
if (l.ok) {
|
|
9890
9890
|
const d = l.headers.get("content-type");
|
|
@@ -9913,14 +9913,14 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9913
9913
|
order: -1
|
|
9914
9914
|
}, {
|
|
9915
9915
|
default: v(() => [
|
|
9916
|
-
|
|
9916
|
+
oe("div", Ps, [
|
|
9917
9917
|
(k(), F(xa(f(r))))
|
|
9918
9918
|
])
|
|
9919
9919
|
]),
|
|
9920
9920
|
_: 1
|
|
9921
9921
|
})) : ee("", !0);
|
|
9922
9922
|
}
|
|
9923
|
-
}), Is = /* @__PURE__ */
|
|
9923
|
+
}), Is = /* @__PURE__ */ oe("div", null, null, -1), Dr = /* @__PURE__ */ L({
|
|
9924
9924
|
__name: "AAnzuUserAvatar",
|
|
9925
9925
|
props: {
|
|
9926
9926
|
user: { default: void 0 },
|
|
@@ -9939,14 +9939,14 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9939
9939
|
const o = n.user.person.firstName.charAt(0) + n.user.person.lastName.charAt(0);
|
|
9940
9940
|
return o.length > 0 ? o : n.user.email.slice(0, 2);
|
|
9941
9941
|
});
|
|
9942
|
-
return (o, l) => (k(),
|
|
9942
|
+
return (o, l) => (k(), U(Le, null, [
|
|
9943
9943
|
b(Ca, {
|
|
9944
9944
|
color: f(e),
|
|
9945
9945
|
class: ge(["text-uppercase", t.containerClass]),
|
|
9946
9946
|
size: t.size
|
|
9947
9947
|
}, {
|
|
9948
9948
|
default: v(() => [
|
|
9949
|
-
|
|
9949
|
+
oe("div", {
|
|
9950
9950
|
class: "d-inline-flex text-white font-weight-light",
|
|
9951
9951
|
style: wa({ fontSize: f(a) })
|
|
9952
9952
|
}, O(f(r)), 5)
|
|
@@ -9981,7 +9981,7 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9981
9981
|
["#4CAF50", "#8BC34A", "#CDDC39", "#F9A825"],
|
|
9982
9982
|
["#FF6F00", "#FF5722", "#795548", "#607D8B"],
|
|
9983
9983
|
["#757575", "#000000", "#3F51B5"]
|
|
9984
|
-
], r =
|
|
9984
|
+
], r = W(""), o = () => {
|
|
9985
9985
|
const m = Math.floor(Math.random() * a.length);
|
|
9986
9986
|
return r.value = a[m][Math.floor(Math.random() * a[m].length)], r.value;
|
|
9987
9987
|
}, l = _(() => e.modelValue.length > 0 ? "flat" : "tonal"), d = _(() => e.modelValue.length > 0 ? e.modelValue : void 0), u = (m) => {
|
|
@@ -9999,10 +9999,10 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
9999
9999
|
}
|
|
10000
10000
|
},
|
|
10001
10001
|
{ immediate: !0 }
|
|
10002
|
-
), (m, p) => (k(),
|
|
10003
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
10002
|
+
), (m, p) => (k(), U("div", null, [
|
|
10003
|
+
t.hideLabel ? ee("", !0) : (k(), U("label", Es, [
|
|
10004
10004
|
z(O(t.label) + " ", 1),
|
|
10005
|
-
t.required ? (k(),
|
|
10005
|
+
t.required ? (k(), U("span", Fs)) : ee("", !0)
|
|
10006
10006
|
])),
|
|
10007
10007
|
b(te, {
|
|
10008
10008
|
variant: f(l),
|
|
@@ -10039,7 +10039,7 @@ const tg = /* @__PURE__ */ kt($s, [["__scopeId", "data-v-8f7b4952"]]), Os = ["on
|
|
|
10039
10039
|
]));
|
|
10040
10040
|
}
|
|
10041
10041
|
});
|
|
10042
|
-
const Ns = /* @__PURE__ */
|
|
10042
|
+
const Ns = /* @__PURE__ */ oe("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
10043
10043
|
__name: "ACurrentUserDropdown",
|
|
10044
10044
|
props: {
|
|
10045
10045
|
currentUser: null,
|
|
@@ -10048,7 +10048,7 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10048
10048
|
dataCy: { default: "navbar-user" }
|
|
10049
10049
|
},
|
|
10050
10050
|
setup(t) {
|
|
10051
|
-
const { t: n } = G(), e =
|
|
10051
|
+
const { t: n } = G(), e = W(!1);
|
|
10052
10052
|
return (a, r) => (k(), F(te, {
|
|
10053
10053
|
variant: "text",
|
|
10054
10054
|
icon: "",
|
|
@@ -10121,7 +10121,7 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10121
10121
|
b(Xe, {
|
|
10122
10122
|
"prepend-icon": "mdi-logout",
|
|
10123
10123
|
"data-cy": "navbar-user-logout",
|
|
10124
|
-
onClick: r[3] || (r[3] =
|
|
10124
|
+
onClick: r[3] || (r[3] = re((o) => e.value = !0, ["stop"]))
|
|
10125
10125
|
}, {
|
|
10126
10126
|
default: v(() => [
|
|
10127
10127
|
z(O(f(n)("common.system.currentUser.logout")) + " ", 1),
|
|
@@ -10151,7 +10151,7 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10151
10151
|
size: "small",
|
|
10152
10152
|
variant: "text",
|
|
10153
10153
|
"data-cy": "button-close",
|
|
10154
|
-
onClick: r[0] || (r[0] =
|
|
10154
|
+
onClick: r[0] || (r[0] = re((o) => e.value = !1, ["stop"]))
|
|
10155
10155
|
})
|
|
10156
10156
|
]),
|
|
10157
10157
|
_: 1
|
|
@@ -10169,7 +10169,7 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10169
10169
|
color: "secondary",
|
|
10170
10170
|
variant: "text",
|
|
10171
10171
|
"data-cy": "button-cancel",
|
|
10172
|
-
onClick: r[1] || (r[1] =
|
|
10172
|
+
onClick: r[1] || (r[1] = re((o) => e.value = !1, ["stop"]))
|
|
10173
10173
|
}, {
|
|
10174
10174
|
default: v(() => [
|
|
10175
10175
|
z(O(f(n)("common.button.cancel")), 1)
|
|
@@ -10243,15 +10243,15 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10243
10243
|
set(A) {
|
|
10244
10244
|
n("update:modelValue", mt(A));
|
|
10245
10245
|
}
|
|
10246
|
-
}), { t: d } = G(), u = Ce(rt, void 0), m = Ce(ot, void 0), p =
|
|
10246
|
+
}), { t: d } = G(), u = Ce(rt, void 0), m = Ce(ot, void 0), p = W(!1), c = W(""), g = W(!1), { innerFilter: w } = Zn(e), I = ra(e.filterSortBy), y = W(/* @__PURE__ */ new Map()), V = () => {
|
|
10247
10247
|
p.value = !0, n("focus", l.value);
|
|
10248
|
-
},
|
|
10248
|
+
}, Y = () => {
|
|
10249
10249
|
var A;
|
|
10250
10250
|
p.value = !1, (A = e.v) == null || A.$touch(), n("blur", l.value);
|
|
10251
|
-
},
|
|
10251
|
+
}, P = _(() => {
|
|
10252
10252
|
var A, C;
|
|
10253
10253
|
return S(e.errorMessage) ? (C = (A = e.v) == null ? void 0 : A.$errors) != null && C.length ? e.v.$errors.map((M) => M.$message) : [] : [e.errorMessage];
|
|
10254
|
-
}),
|
|
10254
|
+
}), N = _(() => {
|
|
10255
10255
|
var C, M;
|
|
10256
10256
|
if (!S(e.label))
|
|
10257
10257
|
return e.label;
|
|
@@ -10262,9 +10262,9 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10262
10262
|
}), T = _(() => {
|
|
10263
10263
|
var A, C;
|
|
10264
10264
|
return S(e.required) ? ((A = e.v) == null ? void 0 : A.required) && ((C = e.v) == null ? void 0 : C.required.$params.type) === "required" : e.required;
|
|
10265
|
-
}),
|
|
10265
|
+
}), J = _(() => e.multiple !== !1), q = (A) => {
|
|
10266
10266
|
!e.multiple && !p.value && A.length === 0 || (c.value = A);
|
|
10267
|
-
},
|
|
10267
|
+
}, ne = async (A) => {
|
|
10268
10268
|
g.value = !0;
|
|
10269
10269
|
const C = w.value[e.filterByField];
|
|
10270
10270
|
C.model = A, y.value.clear(), (await e.fetchItemsMinimal(I, w.value)).forEach((x) => {
|
|
@@ -10277,21 +10277,21 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10277
10277
|
}) : l.value && A.set(l.value, ""), y.value.forEach((C) => {
|
|
10278
10278
|
A.set(C[e.itemValue], C[e.itemTitle]);
|
|
10279
10279
|
}), Array.from(A, ([C, M]) => ({ value: C, title: M }));
|
|
10280
|
-
}),
|
|
10280
|
+
}), ie = (A) => new Promise((C) => (y.value.forEach((M, x) => {
|
|
10281
10281
|
A.has(x) && o(mt(M));
|
|
10282
10282
|
}), C(!0))), Q = () => {
|
|
10283
|
-
if (
|
|
10283
|
+
if (ne(""), e.multiple) {
|
|
10284
10284
|
l.value = [];
|
|
10285
10285
|
return;
|
|
10286
10286
|
}
|
|
10287
10287
|
l.value = null;
|
|
10288
|
-
}, De =
|
|
10288
|
+
}, De = W(0), K = () => {
|
|
10289
10289
|
De.value = Date.now();
|
|
10290
10290
|
};
|
|
10291
10291
|
return Pa(
|
|
10292
10292
|
c,
|
|
10293
10293
|
(A, C) => {
|
|
10294
|
-
A !== C && (
|
|
10294
|
+
A !== C && (ne(A), n("searchChangeDebounced", A));
|
|
10295
10295
|
},
|
|
10296
10296
|
{ debounce: 300, maxWait: 1e3 }
|
|
10297
10297
|
), xe(c, (A, C) => {
|
|
@@ -10306,7 +10306,7 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10306
10306
|
if (he(A) || S(A) || Ne(A) && A.length === 0)
|
|
10307
10307
|
return;
|
|
10308
10308
|
const C = Ne(A) ? A : [A], M = new Set(C);
|
|
10309
|
-
await
|
|
10309
|
+
await ie(M), M.size > 0 && (r(Array.from(M)), a());
|
|
10310
10310
|
},
|
|
10311
10311
|
{ immediate: !0 }
|
|
10312
10312
|
), (A, C) => (k(), F(dn, {
|
|
@@ -10316,22 +10316,22 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10316
10316
|
chips: "",
|
|
10317
10317
|
items: f(de),
|
|
10318
10318
|
"no-filter": "",
|
|
10319
|
-
multiple: f(
|
|
10319
|
+
multiple: f(J),
|
|
10320
10320
|
clearable: t.clearable,
|
|
10321
|
-
"error-messages": f(
|
|
10321
|
+
"error-messages": f(P),
|
|
10322
10322
|
loading: g.value,
|
|
10323
|
-
onBlur:
|
|
10323
|
+
onBlur: Y,
|
|
10324
10324
|
onFocus: V,
|
|
10325
10325
|
"onUpdate:search": q,
|
|
10326
10326
|
"onClick:clear": Q,
|
|
10327
10327
|
onKeydown: Sr(K, ["delete"])
|
|
10328
10328
|
}, Ut({
|
|
10329
10329
|
label: v(() => [
|
|
10330
|
-
t.hideLabel ? ee("", !0) : (k(),
|
|
10330
|
+
t.hideLabel ? ee("", !0) : (k(), U("span", {
|
|
10331
10331
|
key: f(T) + ""
|
|
10332
10332
|
}, [
|
|
10333
|
-
z(O(f(
|
|
10334
|
-
f(T) ? (k(),
|
|
10333
|
+
z(O(f(N)) + " ", 1),
|
|
10334
|
+
f(T) ? (k(), U("span", Ls)) : ee("", !0)
|
|
10335
10335
|
]))
|
|
10336
10336
|
]),
|
|
10337
10337
|
chip: v(({ props: M, item: x }) => [
|
|
@@ -10374,18 +10374,18 @@ const Ns = /* @__PURE__ */ re("br", null, null, -1), rg = /* @__PURE__ */ L({
|
|
|
10374
10374
|
},
|
|
10375
10375
|
setup(t) {
|
|
10376
10376
|
const { t: n } = G();
|
|
10377
|
-
return (e, a) => (k(),
|
|
10378
|
-
|
|
10379
|
-
|
|
10377
|
+
return (e, a) => (k(), U("div", zs, [
|
|
10378
|
+
oe("div", js, [
|
|
10379
|
+
oe("img", {
|
|
10380
10380
|
src: t.logoUrl,
|
|
10381
10381
|
class: "logo pb-2",
|
|
10382
10382
|
alt: ""
|
|
10383
10383
|
}, null, 8, Bs),
|
|
10384
|
-
t.title ? (k(),
|
|
10385
|
-
|
|
10386
|
-
|
|
10384
|
+
t.title ? (k(), U("h1", Rs, O(t.title), 1)) : ee("", !0),
|
|
10385
|
+
oe("h4", Us, [
|
|
10386
|
+
oe("span", null, O(f(n)("common.system.login.text")), 1)
|
|
10387
10387
|
]),
|
|
10388
|
-
|
|
10388
|
+
oe("div", Ys, [
|
|
10389
10389
|
t.loginUrl ? (k(), F(te, {
|
|
10390
10390
|
key: 0,
|
|
10391
10391
|
"data-cy": t.dataCy,
|
|
@@ -10412,7 +10412,7 @@ const ig = /* @__PURE__ */ kt(Hs, [["__scopeId", "data-v-1c5c4c96"]]), lg = /* @
|
|
|
10412
10412
|
const n = t;
|
|
10413
10413
|
return Gn(() => {
|
|
10414
10414
|
n.logoutUrl && (window.location.href = n.logoutUrl());
|
|
10415
|
-
}), (e, a) => (k(),
|
|
10415
|
+
}), (e, a) => (k(), U("div"));
|
|
10416
10416
|
}
|
|
10417
10417
|
}), Js = { class: "d-flex justify-center align-center fill-height" }, Ws = { class: "d-flex flex-column align-center" }, qs = { class: "d-flex justify-center align-center text-primary" }, Ks = { class: "pa-4" }, sg = /* @__PURE__ */ L({
|
|
10418
10418
|
__name: "AUnauthorizedView",
|
|
@@ -10421,16 +10421,16 @@ const ig = /* @__PURE__ */ kt(Hs, [["__scopeId", "data-v-1c5c4c96"]]), lg = /* @
|
|
|
10421
10421
|
},
|
|
10422
10422
|
setup(t) {
|
|
10423
10423
|
const { t: n } = G();
|
|
10424
|
-
return (e, a) => (k(),
|
|
10425
|
-
|
|
10426
|
-
|
|
10424
|
+
return (e, a) => (k(), U("div", Js, [
|
|
10425
|
+
oe("div", Ws, [
|
|
10426
|
+
oe("h1", qs, [
|
|
10427
10427
|
b(me, {
|
|
10428
10428
|
size: "x-large",
|
|
10429
10429
|
icon: "mdi-emoticon-cry"
|
|
10430
10430
|
}),
|
|
10431
|
-
|
|
10431
|
+
oe("span", null, O(f(n)("common.system.unauthorized.title")), 1)
|
|
10432
10432
|
]),
|
|
10433
|
-
|
|
10433
|
+
oe("p", Ks, O(f(n)("common.system.unauthorized.text")), 1),
|
|
10434
10434
|
b(te, {
|
|
10435
10435
|
to: { name: t.returnRouteName },
|
|
10436
10436
|
color: "primary",
|
|
@@ -10451,16 +10451,16 @@ const ig = /* @__PURE__ */ kt(Hs, [["__scopeId", "data-v-1c5c4c96"]]), lg = /* @
|
|
|
10451
10451
|
},
|
|
10452
10452
|
setup(t) {
|
|
10453
10453
|
const { t: n } = G();
|
|
10454
|
-
return (e, a) => (k(),
|
|
10455
|
-
|
|
10456
|
-
|
|
10454
|
+
return (e, a) => (k(), U("div", Gs, [
|
|
10455
|
+
oe("div", Zs, [
|
|
10456
|
+
oe("h1", Qs, [
|
|
10457
10457
|
b(me, {
|
|
10458
10458
|
size: "x-large",
|
|
10459
10459
|
icon: "mdi-emoticon-cry"
|
|
10460
10460
|
}),
|
|
10461
|
-
|
|
10461
|
+
oe("span", null, O(f(n)("common.system.notFound.title")), 1)
|
|
10462
10462
|
]),
|
|
10463
|
-
|
|
10463
|
+
oe("p", Xs, O(f(n)("common.system.notFound.text")), 1),
|
|
10464
10464
|
b(te, {
|
|
10465
10465
|
to: { name: t.returnRouteName },
|
|
10466
10466
|
color: "primary",
|
|
@@ -10482,7 +10482,7 @@ const ig = /* @__PURE__ */ kt(Hs, [["__scopeId", "data-v-1c5c4c96"]]), lg = /* @
|
|
|
10482
10482
|
},
|
|
10483
10483
|
setup(t) {
|
|
10484
10484
|
const { t: n } = G();
|
|
10485
|
-
return (e, a) => (k(),
|
|
10485
|
+
return (e, a) => (k(), U("div", null, [
|
|
10486
10486
|
b(nt, {
|
|
10487
10487
|
title: f(n)("common.job.model.id"),
|
|
10488
10488
|
value: t.job.id
|
|
@@ -10607,7 +10607,7 @@ const hg = (t, n = 2) => {
|
|
|
10607
10607
|
t().delete(Vt(n, e), o).then((u) => Ot(u.status) ? u.data ? l(u.data) : u.status === gt ? l(null) : d(new Ie()) : d(new bt(u.status))).catch((u) => Tt(u) ? d(new vt(u)) : St(u) ? d(new yt(u, a, r, u)) : $t(u) ? d(new wt(u, u)) : d(new Ie(u)));
|
|
10608
10608
|
});
|
|
10609
10609
|
function ho() {
|
|
10610
|
-
const t =
|
|
10610
|
+
const t = W([]), n = (p) => {
|
|
10611
10611
|
d("limit", p);
|
|
10612
10612
|
}, e = (p, c) => {
|
|
10613
10613
|
d("offset", p * c - c);
|
|
@@ -10698,7 +10698,7 @@ function wg(t, n) {
|
|
|
10698
10698
|
}
|
|
10699
10699
|
const kg = "jobUserDataDelete";
|
|
10700
10700
|
function Cg(t = []) {
|
|
10701
|
-
const { t: n } = G(), e =
|
|
10701
|
+
const { t: n } = G(), e = W([
|
|
10702
10702
|
{
|
|
10703
10703
|
value: "jobUserDataDelete",
|
|
10704
10704
|
title: n("common.job.jobResource.jobUserDataDelete")
|
|
@@ -11733,23 +11733,23 @@ const Vg = () => ({
|
|
|
11733
11733
|
})
|
|
11734
11734
|
});
|
|
11735
11735
|
function Pg(t, n, e, a = "id") {
|
|
11736
|
-
const r =
|
|
11737
|
-
const N =
|
|
11738
|
-
for (let
|
|
11739
|
-
const
|
|
11740
|
-
if (!(he(
|
|
11741
|
-
if (Ne(
|
|
11742
|
-
for (let
|
|
11743
|
-
const
|
|
11744
|
-
he(
|
|
11736
|
+
const r = W(/* @__PURE__ */ new Map()), o = W(/* @__PURE__ */ new Set()), l = (...P) => {
|
|
11737
|
+
const N = W(/* @__PURE__ */ new Set());
|
|
11738
|
+
for (let T = 0; T < P.length; T++) {
|
|
11739
|
+
const J = P[T];
|
|
11740
|
+
if (!(he(J) || S(J))) {
|
|
11741
|
+
if (Ne(J)) {
|
|
11742
|
+
for (let q = 0; q < J.length; q++) {
|
|
11743
|
+
const ne = J[q];
|
|
11744
|
+
he(ne) || S(ne) || r.value.has(ne) || N.value.add(ne);
|
|
11745
11745
|
}
|
|
11746
11746
|
continue;
|
|
11747
11747
|
}
|
|
11748
|
-
r.value.has(
|
|
11748
|
+
r.value.has(J) || N.value.add(J);
|
|
11749
11749
|
}
|
|
11750
11750
|
}
|
|
11751
|
-
N.value.forEach((
|
|
11752
|
-
r.value.set(
|
|
11751
|
+
N.value.forEach((T) => {
|
|
11752
|
+
r.value.set(T, { ...n(T), _loaded: !1 }), o.value.add(T);
|
|
11753
11753
|
});
|
|
11754
11754
|
}, d = (P) => {
|
|
11755
11755
|
P[a] && r.value.set(P[a], { ...t(P), _loaded: !0 });
|
|
@@ -11765,8 +11765,9 @@ function Pg(t, n, e, a = "id") {
|
|
|
11765
11765
|
async function c() {
|
|
11766
11766
|
if (o.value.size > 0) {
|
|
11767
11767
|
const P = Array.from(o.value), N = await e(P);
|
|
11768
|
-
p(P), m(N);
|
|
11768
|
+
return p(P), m(N), N;
|
|
11769
11769
|
}
|
|
11770
|
+
return [];
|
|
11770
11771
|
}
|
|
11771
11772
|
const g = Vo(
|
|
11772
11773
|
async () => await c(),
|
|
@@ -11777,6 +11778,7 @@ function Pg(t, n, e, a = "id") {
|
|
|
11777
11778
|
cache: r,
|
|
11778
11779
|
toFetch: o,
|
|
11779
11780
|
fetch: () => g(),
|
|
11781
|
+
immediateFetch: () => c(),
|
|
11780
11782
|
add: l,
|
|
11781
11783
|
addManual: d,
|
|
11782
11784
|
addManualMinimal: u,
|
|
@@ -11794,7 +11796,7 @@ function Pg(t, n, e, a = "id") {
|
|
|
11794
11796
|
};
|
|
11795
11797
|
}
|
|
11796
11798
|
async function Ig() {
|
|
11797
|
-
(await import("./webfontloader-
|
|
11799
|
+
(await import("./webfontloader-f9dab82e.js").then((n) => n.w)).load({
|
|
11798
11800
|
google: {
|
|
11799
11801
|
families: ["Roboto:100,300,400,500,700,900&display=swap"]
|
|
11800
11802
|
}
|
|
@@ -11862,7 +11864,7 @@ function rp(t, n, e) {
|
|
|
11862
11864
|
r[a + g] = o[g];
|
|
11863
11865
|
return n || ap(r);
|
|
11864
11866
|
}
|
|
11865
|
-
const Fg = () => rp(), _t =
|
|
11867
|
+
const Fg = () => rp(), _t = W(null);
|
|
11866
11868
|
function Ng(t) {
|
|
11867
11869
|
t.query.loginState && (_t.value = t.query.loginState.toString());
|
|
11868
11870
|
const n = () => he(_t.value), e = () => _t.value === "success", a = () => _t.value === "failure-sso-communication", r = () => _t.value === "failure-internal-error", o = () => _t.value === "failure-unauthorized";
|
|
@@ -12076,4 +12078,4 @@ export {
|
|
|
12076
12078
|
Wn as y,
|
|
12077
12079
|
Zp as z
|
|
12078
12080
|
};
|
|
12079
|
-
//# sourceMappingURL=lib-
|
|
12081
|
+
//# sourceMappingURL=lib-930ed5f7.js.map
|