@anzusystems/common-admin 0.0.48 → 0.0.50
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 +6 -6
- package/dist/common-admin.es.js +617 -619
- package/dist/common-admin.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
package/dist/common-admin.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var lo = Object.defineProperty;
|
|
2
2
|
var so = (t, n, e) => n in t ? lo(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
3
|
var On = (t, n, e) => (so(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
-
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as
|
|
4
|
+
import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as B, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as be, withModifiers as ne, withDirectives as vr, vShow as yr, isProxy as uo, toRaw as co, isRef as Ue, inject as we, createSlots as an, Fragment as Ye, provide as er, watch as Ie, renderList as At, ref as J, TransitionGroup as br, normalizeStyle as ua, resolveDynamicComponent as ya, onMounted as Bt, h as fo, nextTick as mo, withKeys as wr, reactive as po, toRefs as ba, shallowRef as tr, readonly as Gt, mergeProps as wa, createStaticVNode as kr, setBlockTracking as nr, onBeforeUnmount as ho } from "vue";
|
|
5
5
|
import { useI18n as G, createI18n as go } from "vue-i18n";
|
|
6
6
|
import { useI18n as pg } from "vue-i18n";
|
|
7
7
|
import { VChip as ct } from "vuetify/lib/components/VChip/index.mjs";
|
|
@@ -16,7 +16,7 @@ import { VBtnToggle as Wn } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
|
16
16
|
import { VLabel as Ar } from "vuetify/lib/components/VLabel/index.mjs";
|
|
17
17
|
import { VList as rn, VListItem as Qe, VListItemTitle as tn, VListItemSubtitle as bo } from "vuetify/lib/components/VList/index.mjs";
|
|
18
18
|
import { VMenu as Dt } from "vuetify/lib/components/VMenu/index.mjs";
|
|
19
|
-
import { VTooltip as
|
|
19
|
+
import { VTooltip as Ve } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
20
20
|
import { VToolbar as Dr, VToolbarTitle as _r } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
21
21
|
import { useRouter as Ca } from "vue-router";
|
|
22
22
|
import Aa from "axios";
|
|
@@ -24,9 +24,9 @@ import { VDialog as Da } from "vuetify/lib/components/VDialog/index.mjs";
|
|
|
24
24
|
import { useFetch as wo, watchDebounced as _a, useClipboard as Mr, useStorage as xr, useIntervalFn as ko, useDebounceFn as Co } from "@vueuse/core";
|
|
25
25
|
import { VExpandTransition as Ao } from "vuetify/lib/components/transitions/index.mjs";
|
|
26
26
|
import Do from "@vuelidate/core";
|
|
27
|
-
import { createI18nMessage as Ke, requiredIf as _o, between as Mo, email as xo, maxLength as To, maxValue as So, minLength as $o, minValue as Oo, numeric as Po, required as Io, helpers as Tr, url as
|
|
27
|
+
import { createI18nMessage as Ke, requiredIf as _o, between as Mo, email as xo, maxLength as To, maxValue as So, minLength as $o, minValue as Oo, numeric as Po, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
|
|
28
28
|
import { VAutocomplete as on } from "vuetify/lib/components/VAutocomplete/index.mjs";
|
|
29
|
-
import { VCheckboxBtn as
|
|
29
|
+
import { VCheckboxBtn as Vo } from "vuetify/lib/components/VCheckbox/index.mjs";
|
|
30
30
|
import { VSwitch as Eo } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
31
31
|
import { VSelect as No } from "vuetify/lib/components/VSelect/index.mjs";
|
|
32
32
|
import { VProgressCircular as Xn } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
@@ -44,17 +44,17 @@ const Ro = { key: 1 }, bp = /* @__PURE__ */ L({
|
|
|
44
44
|
},
|
|
45
45
|
setup(t) {
|
|
46
46
|
const n = t, { t: e } = G(), a = x(() => n.value === !0 || n.value === 1 || n.value === "true"), r = x(() => a.value ? e("common.model.boolean.true") : e("common.model.boolean.false")), o = x(() => n.invertColor ? a.value ? "error" : "success" : a.value ? "success" : "error");
|
|
47
|
-
return (s,
|
|
47
|
+
return (s, f) => t.chip ? (w(), E(ct, {
|
|
48
48
|
key: 0,
|
|
49
|
-
color:
|
|
49
|
+
color: c(o),
|
|
50
50
|
label: "",
|
|
51
51
|
size: "small"
|
|
52
52
|
}, {
|
|
53
53
|
default: g(() => [
|
|
54
|
-
B($(
|
|
54
|
+
B($(c(r)), 1)
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
|
-
}, 8, ["color"])) : (w(), H("span", Ro, $(
|
|
57
|
+
}, 8, ["color"])) : (w(), H("span", Ro, $(c(r)), 1));
|
|
58
58
|
}
|
|
59
59
|
}), Uo = {
|
|
60
60
|
key: 0,
|
|
@@ -150,7 +150,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
150
150
|
return (a, r) => (w(), E(nt, {
|
|
151
151
|
title: t.title,
|
|
152
152
|
variant: "flat",
|
|
153
|
-
loading:
|
|
153
|
+
loading: c(e)
|
|
154
154
|
}, {
|
|
155
155
|
default: g(() => [
|
|
156
156
|
b(Wo, { loading: t.loading }, null, 8, ["loading"]),
|
|
@@ -165,7 +165,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
165
165
|
}, qn = (t) => typeof t == "object" && !Oe(t) && !ve(t), Sr = (t) => qn(t) ? Object.keys(t).length === 0 : !1, qo = (t) => Oe(t) && t.length === 0, Dp = (t) => ve(t) || S(t) || t === "" || t === 0 || qo(t) || Sr(t), ft = (t) => {
|
|
166
166
|
if (typeof structuredClone == "function")
|
|
167
167
|
try {
|
|
168
|
-
return uo(t) ? structuredClone(co(t)) : Ue(t) ? structuredClone(
|
|
168
|
+
return uo(t) ? structuredClone(co(t)) : Ue(t) ? structuredClone(c(t)) : structuredClone(t);
|
|
169
169
|
} catch {
|
|
170
170
|
return JSON.parse(JSON.stringify(t));
|
|
171
171
|
}
|
|
@@ -210,8 +210,8 @@ const kp = /* @__PURE__ */ L({
|
|
|
210
210
|
if (e[o] = r, !r.startsWith(":"))
|
|
211
211
|
return;
|
|
212
212
|
e[o] = r.substring(1);
|
|
213
|
-
const s = /^:([a-zA-Z0-9_-]+).*/,
|
|
214
|
-
ve(
|
|
213
|
+
const s = /^:([a-zA-Z0-9_-]+).*/, f = r.match(s);
|
|
214
|
+
ve(f) || !f[1] || S(n[f[1]]) || (e[o] = n[f[1]] + "");
|
|
215
215
|
}), e.join("/");
|
|
216
216
|
}, Sp = (t) => t.replace(".", "-"), at = Symbol.for("anzu:system-scope"), rt = Symbol.for("anzu:subject-scope"), Qo = {
|
|
217
217
|
key: 0,
|
|
@@ -236,7 +236,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
236
236
|
setup(t, { emit: n }) {
|
|
237
237
|
const e = t, { t: a } = G(), r = we(at, void 0), o = we(rt, void 0), s = (d) => {
|
|
238
238
|
n("update:modelValue", d);
|
|
239
|
-
},
|
|
239
|
+
}, f = () => {
|
|
240
240
|
var d;
|
|
241
241
|
n("blur", e.modelValue), (d = e.v) == null || d.$touch();
|
|
242
242
|
}, u = x(() => {
|
|
@@ -257,23 +257,23 @@ const kp = /* @__PURE__ */ L({
|
|
|
257
257
|
return (d, v) => (w(), E(Jn, {
|
|
258
258
|
"prepend-icon": t.prependIcon,
|
|
259
259
|
"data-cy": t.dataCy,
|
|
260
|
-
"error-messages":
|
|
260
|
+
"error-messages": c(u),
|
|
261
261
|
"model-value": t.modelValue,
|
|
262
|
-
required:
|
|
262
|
+
required: c(m),
|
|
263
263
|
type: t.type,
|
|
264
264
|
step: t.step,
|
|
265
265
|
"append-icon": t.appendIcon,
|
|
266
266
|
maxlength: t.maxlength,
|
|
267
267
|
trim: "",
|
|
268
268
|
"onClick:append": v[0] || (v[0] = (k) => n("click:append", k)),
|
|
269
|
-
onBlur:
|
|
269
|
+
onBlur: f,
|
|
270
270
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => s(k))
|
|
271
271
|
}, an({ _: 2 }, [
|
|
272
272
|
t.hideLabel ? void 0 : {
|
|
273
273
|
name: "label",
|
|
274
274
|
fn: g(() => [
|
|
275
|
-
B($(
|
|
276
|
-
|
|
275
|
+
B($(c(p)), 1),
|
|
276
|
+
c(m) ? (w(), H("span", Qo)) : Z("", !0)
|
|
277
277
|
]),
|
|
278
278
|
key: "0"
|
|
279
279
|
}
|
|
@@ -300,7 +300,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
300
300
|
setup(t, { emit: n }) {
|
|
301
301
|
const e = t, { t: a } = G(), r = we(at, void 0), o = we(rt, void 0), s = (d) => {
|
|
302
302
|
n("update:modelValue", d);
|
|
303
|
-
},
|
|
303
|
+
}, f = () => {
|
|
304
304
|
var d;
|
|
305
305
|
n("blur", e.modelValue), (d = e.v) == null || d.$touch();
|
|
306
306
|
}, u = x(() => {
|
|
@@ -321,22 +321,22 @@ const kp = /* @__PURE__ */ L({
|
|
|
321
321
|
return (d, v) => (w(), E(yo, {
|
|
322
322
|
"prepend-icon": t.prependIcon,
|
|
323
323
|
"data-cy": t.dataCy,
|
|
324
|
-
"error-messages":
|
|
324
|
+
"error-messages": c(u),
|
|
325
325
|
"model-value": t.modelValue,
|
|
326
|
-
required:
|
|
326
|
+
required: c(m),
|
|
327
327
|
rows: t.rows,
|
|
328
328
|
"auto-grow": "",
|
|
329
329
|
"append-icon": t.appendIcon,
|
|
330
330
|
trim: "",
|
|
331
331
|
"onClick:append": v[0] || (v[0] = (k) => n("click:append", k)),
|
|
332
|
-
onBlur:
|
|
332
|
+
onBlur: f,
|
|
333
333
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => s(k))
|
|
334
334
|
}, an({ _: 2 }, [
|
|
335
335
|
t.hideLabel ? void 0 : {
|
|
336
336
|
name: "label",
|
|
337
337
|
fn: g(() => [
|
|
338
|
-
B($(
|
|
339
|
-
|
|
338
|
+
B($(c(p)), 1),
|
|
339
|
+
c(m) ? (w(), H("span", Xo)) : Z("", !0)
|
|
340
340
|
]),
|
|
341
341
|
key: "0"
|
|
342
342
|
}
|
|
@@ -363,7 +363,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
363
363
|
set(p) {
|
|
364
364
|
n("update:modelValue", p);
|
|
365
365
|
}
|
|
366
|
-
}), { t: s } = G(),
|
|
366
|
+
}), { t: s } = G(), f = x(() => {
|
|
367
367
|
var m, d;
|
|
368
368
|
if (!S(e.label))
|
|
369
369
|
return e.label;
|
|
@@ -381,15 +381,15 @@ const kp = /* @__PURE__ */ L({
|
|
|
381
381
|
class: "pr-1"
|
|
382
382
|
}, {
|
|
383
383
|
default: g(() => [
|
|
384
|
-
B($(f
|
|
385
|
-
|
|
384
|
+
B($(c(f)), 1),
|
|
385
|
+
c(u) ? (w(), H("span", ei)) : Z("", !0)
|
|
386
386
|
]),
|
|
387
387
|
_: 1
|
|
388
388
|
})) : Z("", !0),
|
|
389
389
|
b(Wn, {
|
|
390
|
-
modelValue:
|
|
390
|
+
modelValue: c(o),
|
|
391
391
|
"onUpdate:modelValue": m[0] || (m[0] = (d) => Ue(o) ? o.value = d : null),
|
|
392
|
-
mandatory:
|
|
392
|
+
mandatory: c(u)
|
|
393
393
|
}, {
|
|
394
394
|
default: g(() => [
|
|
395
395
|
b(oe, {
|
|
@@ -397,7 +397,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
397
397
|
"data-cy": "toggle-true"
|
|
398
398
|
}, {
|
|
399
399
|
default: g(() => [
|
|
400
|
-
B($(
|
|
400
|
+
B($(c(s)("common.model.boolean.true")), 1)
|
|
401
401
|
]),
|
|
402
402
|
_: 1
|
|
403
403
|
}),
|
|
@@ -406,7 +406,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
406
406
|
"data-cy": "toggle-false"
|
|
407
407
|
}, {
|
|
408
408
|
default: g(() => [
|
|
409
|
-
B($(
|
|
409
|
+
B($(c(s)("common.model.boolean.false")), 1)
|
|
410
410
|
]),
|
|
411
411
|
_: 1
|
|
412
412
|
})
|
|
@@ -428,7 +428,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
428
428
|
}), ti = { class: "anzu-data-footer" }, ni = {
|
|
429
429
|
key: 0,
|
|
430
430
|
class: "anzu-data-footer__page-limit"
|
|
431
|
-
}, ai = { class: "anzu-data-footer__pagination" }, ri = { class: "anzu-data-footer__icons-before" }, oi = { class: "current-page" }, ii = { class: "anzu-data-footer__icons-after" },
|
|
431
|
+
}, ai = { class: "anzu-data-footer__pagination" }, ri = { class: "anzu-data-footer__icons-before" }, oi = { class: "current-page" }, ii = { class: "anzu-data-footer__icons-after" }, Fp = /* @__PURE__ */ L({
|
|
432
432
|
__name: "ADatatablePagination",
|
|
433
433
|
props: {
|
|
434
434
|
modelValue: null,
|
|
@@ -441,18 +441,18 @@ const kp = /* @__PURE__ */ L({
|
|
|
441
441
|
get() {
|
|
442
442
|
return e.modelValue;
|
|
443
443
|
},
|
|
444
|
-
set(
|
|
445
|
-
n("update:modelValue", ft(
|
|
444
|
+
set(V) {
|
|
445
|
+
n("update:modelValue", ft(V));
|
|
446
446
|
}
|
|
447
|
-
}), { t: r } = G(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1),
|
|
448
|
-
Ie(v, (
|
|
449
|
-
|
|
447
|
+
}), { t: r } = G(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), f = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = x(() => a.value.page === 1), p = x(() => !ve(a.value.hasNextPage) || a.value.page === o.value), m = x(() => ve(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = x(() => ve(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? f.value + 1 + "+" : f.value), v = x(() => a.value.rowsPerPage);
|
|
448
|
+
Ie(v, (V, R) => {
|
|
449
|
+
V !== R && (a.value.page = 1, n("change"));
|
|
450
450
|
});
|
|
451
451
|
const k = x(() => a.value.page);
|
|
452
|
-
Ie(k, (
|
|
453
|
-
|
|
452
|
+
Ie(k, (V, R) => {
|
|
453
|
+
V !== R && n("change");
|
|
454
454
|
});
|
|
455
|
-
const
|
|
455
|
+
const F = () => {
|
|
456
456
|
a.value.page = 1;
|
|
457
457
|
}, y = () => {
|
|
458
458
|
a.value.page = o.value;
|
|
@@ -461,12 +461,12 @@ const kp = /* @__PURE__ */ L({
|
|
|
461
461
|
}, P = () => {
|
|
462
462
|
a.value.page = a.value.page + 1;
|
|
463
463
|
};
|
|
464
|
-
return (
|
|
464
|
+
return (V, R) => (w(), H("div", ti, [
|
|
465
465
|
t.hideRecordsPerPage ? Z("", !0) : (w(), H("div", ni, [
|
|
466
|
-
B($(
|
|
466
|
+
B($(c(r)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
467
467
|
b(Wn, {
|
|
468
|
-
modelValue:
|
|
469
|
-
"onUpdate:modelValue": R[0] || (R[0] = (U) =>
|
|
468
|
+
modelValue: c(a).rowsPerPage,
|
|
469
|
+
"onUpdate:modelValue": R[0] || (R[0] = (U) => c(a).rowsPerPage = U),
|
|
470
470
|
class: "ml-2",
|
|
471
471
|
density: "compact",
|
|
472
472
|
mandatory: "",
|
|
@@ -475,7 +475,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
475
475
|
default: g(() => [
|
|
476
476
|
(w(!0), H(Ye, null, At(t.itemsPerPageOptions, (U) => (w(), E(oe, {
|
|
477
477
|
key: U,
|
|
478
|
-
color: U ===
|
|
478
|
+
color: U === c(a).rowsPerPage ? "secondary" : "",
|
|
479
479
|
value: U,
|
|
480
480
|
density: "compact",
|
|
481
481
|
size: "small",
|
|
@@ -490,17 +490,17 @@ const kp = /* @__PURE__ */ L({
|
|
|
490
490
|
_: 1
|
|
491
491
|
}, 8, ["modelValue"])
|
|
492
492
|
])),
|
|
493
|
-
te("div", ai, $(
|
|
493
|
+
te("div", ai, $(c(s)) + " - " + $(c(f)) + " " + $(c(r)("common.system.datatable.from")) + " " + $(c(d)), 1),
|
|
494
494
|
te("div", ri, [
|
|
495
495
|
b(oe, {
|
|
496
|
-
disabled:
|
|
496
|
+
disabled: c(u),
|
|
497
497
|
icon: "mdi-page-first",
|
|
498
498
|
size: "small",
|
|
499
499
|
variant: "text",
|
|
500
|
-
onClick: ne(
|
|
500
|
+
onClick: ne(F, ["stop"])
|
|
501
501
|
}, null, 8, ["disabled", "onClick"]),
|
|
502
502
|
b(oe, {
|
|
503
|
-
disabled:
|
|
503
|
+
disabled: c(u),
|
|
504
504
|
icon: "mdi-chevron-left",
|
|
505
505
|
size: "small",
|
|
506
506
|
variant: "text",
|
|
@@ -508,18 +508,18 @@ const kp = /* @__PURE__ */ L({
|
|
|
508
508
|
}, null, 8, ["disabled", "onClick"])
|
|
509
509
|
]),
|
|
510
510
|
te("div", oi, [
|
|
511
|
-
te("span", null, $(
|
|
511
|
+
te("span", null, $(c(a).page), 1)
|
|
512
512
|
]),
|
|
513
513
|
te("div", ii, [
|
|
514
514
|
b(oe, {
|
|
515
|
-
disabled:
|
|
515
|
+
disabled: c(m),
|
|
516
516
|
icon: "mdi-chevron-right",
|
|
517
517
|
size: "small",
|
|
518
518
|
variant: "text",
|
|
519
519
|
onClick: ne(P, ["stop"])
|
|
520
520
|
}, null, 8, ["disabled", "onClick"]),
|
|
521
521
|
b(oe, {
|
|
522
|
-
disabled:
|
|
522
|
+
disabled: c(p),
|
|
523
523
|
icon: "mdi-page-last",
|
|
524
524
|
size: "small",
|
|
525
525
|
variant: "text",
|
|
@@ -529,7 +529,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
529
529
|
]));
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
|
-
const
|
|
532
|
+
const Vp = /* @__PURE__ */ L({
|
|
533
533
|
__name: "ADatatableConfigButton",
|
|
534
534
|
props: {
|
|
535
535
|
columnsAll: null,
|
|
@@ -541,14 +541,14 @@ const Fp = /* @__PURE__ */ L({
|
|
|
541
541
|
emits: ["update:columnsHidden"],
|
|
542
542
|
setup(t, { emit: n }) {
|
|
543
543
|
const e = t, { t: a } = G(), r = (s) => !e.columnsHidden.includes(s), o = (s) => {
|
|
544
|
-
const
|
|
544
|
+
const f = ft(e.columnsHidden), u = f.indexOf(s);
|
|
545
545
|
if (u > -1) {
|
|
546
|
-
|
|
546
|
+
f.splice(u, 1), n("update:columnsHidden", f);
|
|
547
547
|
return;
|
|
548
548
|
}
|
|
549
|
-
|
|
549
|
+
f.push(s), n("update:columnsHidden", f);
|
|
550
550
|
};
|
|
551
|
-
return (s,
|
|
551
|
+
return (s, f) => (w(), E(oe, {
|
|
552
552
|
class: be(t.buttonClass),
|
|
553
553
|
"data-cy": t.dataCy,
|
|
554
554
|
color: "light",
|
|
@@ -558,12 +558,12 @@ const Fp = /* @__PURE__ */ L({
|
|
|
558
558
|
}, {
|
|
559
559
|
default: g(() => [
|
|
560
560
|
b(me, { icon: "mdi-cog" }),
|
|
561
|
-
b(
|
|
561
|
+
b(Ve, {
|
|
562
562
|
activator: "parent",
|
|
563
563
|
location: "bottom"
|
|
564
564
|
}, {
|
|
565
565
|
default: g(() => [
|
|
566
|
-
B($(
|
|
566
|
+
B($(c(a)(t.buttonT)), 1)
|
|
567
567
|
]),
|
|
568
568
|
_: 1
|
|
569
569
|
}),
|
|
@@ -571,13 +571,13 @@ const Fp = /* @__PURE__ */ L({
|
|
|
571
571
|
default: g(() => [
|
|
572
572
|
b(nt, null, {
|
|
573
573
|
default: g(() => [
|
|
574
|
-
b(rn, {
|
|
574
|
+
b(rn, { density: "compact" }, {
|
|
575
575
|
default: g(() => [
|
|
576
576
|
b(Qe, null, {
|
|
577
577
|
default: g(() => [
|
|
578
578
|
b(tn, null, {
|
|
579
579
|
default: g(() => [
|
|
580
|
-
te("strong", null, $(
|
|
580
|
+
te("strong", null, $(c(a)("common.system.datatable.displayCols")), 1)
|
|
581
581
|
]),
|
|
582
582
|
_: 1
|
|
583
583
|
})
|
|
@@ -639,14 +639,14 @@ const Fp = /* @__PURE__ */ L({
|
|
|
639
639
|
}), s = [
|
|
640
640
|
{ id: 1, titleT: "common.system.datatable.ordering.mostRecent", sortBy: { key: "createdAt", order: "desc" } },
|
|
641
641
|
{ id: 2, titleT: "common.system.datatable.ordering.oldest", sortBy: { key: "createdAt", order: "asc" } }
|
|
642
|
-
],
|
|
642
|
+
], f = [
|
|
643
643
|
{ id: 3, titleT: "common.system.datatable.ordering.mostRelevant" },
|
|
644
644
|
{ id: 1, titleT: "common.system.datatable.ordering.mostRecent", sortBy: { key: "createdAt", order: "desc" } },
|
|
645
645
|
{ id: 2, titleT: "common.system.datatable.ordering.oldest", sortBy: { key: "createdAt", order: "asc" } }
|
|
646
646
|
], u = x(() => {
|
|
647
647
|
const d = p.value.find((v) => v.id === r.value);
|
|
648
648
|
return d ? a(d.titleT) : "";
|
|
649
|
-
}), p = x(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ?
|
|
649
|
+
}), p = x(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ? f : s), m = (d) => {
|
|
650
650
|
o.value = d.id;
|
|
651
651
|
};
|
|
652
652
|
return Ie(
|
|
@@ -654,7 +654,7 @@ const Fp = /* @__PURE__ */ L({
|
|
|
654
654
|
(d, v) => {
|
|
655
655
|
if (S(v) || d === v)
|
|
656
656
|
return;
|
|
657
|
-
const k = p.value.find((
|
|
657
|
+
const k = p.value.find((F) => F.id === d);
|
|
658
658
|
k && n("sortByChange", k);
|
|
659
659
|
},
|
|
660
660
|
{ immediate: !0 }
|
|
@@ -665,7 +665,7 @@ const Fp = /* @__PURE__ */ L({
|
|
|
665
665
|
},
|
|
666
666
|
{ immediate: !0 }
|
|
667
667
|
), (d, v) => (w(), H("div", li, [
|
|
668
|
-
te("div", si, $(
|
|
668
|
+
te("div", si, $(c(a)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
669
669
|
b(oe, {
|
|
670
670
|
variant: "text",
|
|
671
671
|
rounded: "xl",
|
|
@@ -673,7 +673,7 @@ const Fp = /* @__PURE__ */ L({
|
|
|
673
673
|
"append-icon": "mdi-chevron-down"
|
|
674
674
|
}, {
|
|
675
675
|
default: g(() => [
|
|
676
|
-
B($(
|
|
676
|
+
B($(c(u)) + " ", 1),
|
|
677
677
|
b(Dt, {
|
|
678
678
|
activator: "parent",
|
|
679
679
|
location: "bottom",
|
|
@@ -685,16 +685,16 @@ const Fp = /* @__PURE__ */ L({
|
|
|
685
685
|
class: "pa-0"
|
|
686
686
|
}, {
|
|
687
687
|
default: g(() => [
|
|
688
|
-
(w(!0), H(Ye, null, At(
|
|
688
|
+
(w(!0), H(Ye, null, At(c(p), (k) => (w(), E(Qe, {
|
|
689
689
|
key: k.id,
|
|
690
|
-
onClick: (
|
|
690
|
+
onClick: (F) => m(k)
|
|
691
691
|
}, {
|
|
692
692
|
default: g(() => [
|
|
693
693
|
b(tn, {
|
|
694
694
|
class: be({ "font-weight-bold": k.id === r.value })
|
|
695
695
|
}, {
|
|
696
696
|
default: g(() => [
|
|
697
|
-
B($(
|
|
697
|
+
B($(c(a)(k.titleT)), 1)
|
|
698
698
|
]),
|
|
699
699
|
_: 2
|
|
700
700
|
}, 1032, ["class"])
|
|
@@ -1034,7 +1034,7 @@ const bi = /* @__PURE__ */ xa(vi, [["render", yi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1034
1034
|
this.destroyAll();
|
|
1035
1035
|
return;
|
|
1036
1036
|
}
|
|
1037
|
-
const n = typeof t.duration == "number" ? t.duration : this.duration, e = typeof t.speed == "number" ? t.speed : this.speed, a = typeof t.ignoreDuplicates == "boolean" ? t.ignoreDuplicates : this.ignoreDuplicates, { title: r, text: o, type: s, data:
|
|
1037
|
+
const n = typeof t.duration == "number" ? t.duration : this.duration, e = typeof t.speed == "number" ? t.speed : this.speed, a = typeof t.ignoreDuplicates == "boolean" ? t.ignoreDuplicates : this.ignoreDuplicates, { title: r, text: o, type: s, data: f, id: u } = t, p = {
|
|
1038
1038
|
id: u || di(),
|
|
1039
1039
|
title: r,
|
|
1040
1040
|
text: o,
|
|
@@ -1042,7 +1042,7 @@ const bi = /* @__PURE__ */ xa(vi, [["render", yi]]), ta = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1042
1042
|
state: In.IDLE,
|
|
1043
1043
|
speed: e,
|
|
1044
1044
|
length: n + 2 * e,
|
|
1045
|
-
data:
|
|
1045
|
+
data: f
|
|
1046
1046
|
};
|
|
1047
1047
|
n >= 0 && (this.timerControl = new mi(() => this.destroy(p), p.length, p));
|
|
1048
1048
|
const m = this.reverse ? !this.botToTop : this.botToTop;
|
|
@@ -1118,8 +1118,8 @@ function xi(t, n, e, a, r, o) {
|
|
|
1118
1118
|
class: "vue-notification-wrapper",
|
|
1119
1119
|
style: ua(t.notifyWrapperStyle(s)),
|
|
1120
1120
|
"data-id": s.id,
|
|
1121
|
-
onMouseenter: n[0] || (n[0] = (...
|
|
1122
|
-
onMouseleave: n[1] || (n[1] = (...
|
|
1121
|
+
onMouseenter: n[0] || (n[0] = (...f) => t.pauseTimeout && t.pauseTimeout(...f)),
|
|
1122
|
+
onMouseleave: n[1] || (n[1] = (...f) => t.resumeTimeout && t.resumeTimeout(...f))
|
|
1123
1123
|
}, [
|
|
1124
1124
|
_e(t.$slots, "body", {
|
|
1125
1125
|
class: be([t.classes, s.type]),
|
|
@@ -1128,7 +1128,7 @@ function xi(t, n, e, a, r, o) {
|
|
|
1128
1128
|
}, () => [
|
|
1129
1129
|
te("div", {
|
|
1130
1130
|
class: be(t.notifyClass(s)),
|
|
1131
|
-
onClick: (
|
|
1131
|
+
onClick: (f) => t.destroyIfNecessary(s)
|
|
1132
1132
|
}, [
|
|
1133
1133
|
s.title ? (w(), H("div", {
|
|
1134
1134
|
key: 0,
|
|
@@ -1180,16 +1180,16 @@ const lr = ["en", "sk"], le = go({
|
|
|
1180
1180
|
missing: (t, n) => {
|
|
1181
1181
|
lr.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
|
|
1182
1182
|
}
|
|
1183
|
-
}), Pr = (t) => t instanceof
|
|
1184
|
-
class
|
|
1183
|
+
}), Pr = (t) => t instanceof Fe;
|
|
1184
|
+
class Fe extends Error {
|
|
1185
1185
|
constructor(n, e = "") {
|
|
1186
1186
|
super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
|
-
const Oi = 200, Pi = 201, Ii = 204, Lp = 400, Bp = 401,
|
|
1189
|
+
const Oi = 200, Pi = 201, Ii = 204, Lp = 400, Bp = 401, Fi = 403, Ir = 422, Vi = [Oi, Pi, Ii], _t = (t) => {
|
|
1190
1190
|
var n;
|
|
1191
|
-
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) ===
|
|
1192
|
-
},
|
|
1191
|
+
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Fi;
|
|
1192
|
+
}, Fr = (t) => t instanceof mt;
|
|
1193
1193
|
class mt extends Error {
|
|
1194
1194
|
constructor(n, e = "") {
|
|
1195
1195
|
super(e), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = e;
|
|
@@ -1198,14 +1198,14 @@ class mt extends Error {
|
|
|
1198
1198
|
const Ei = "validation_failed", Mt = (t) => {
|
|
1199
1199
|
var n, e, a;
|
|
1200
1200
|
return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ir && ((e = t.response.data) == null ? void 0 : e.error) === Ei && ((a = t.response.data) == null ? void 0 : a.fields);
|
|
1201
|
-
},
|
|
1201
|
+
}, Vr = (t) => t instanceof pt;
|
|
1202
1202
|
function Ni(t, n, e) {
|
|
1203
1203
|
var o;
|
|
1204
1204
|
const a = (o = t.response) == null ? void 0 : o.data, r = [];
|
|
1205
|
-
for (const [s,
|
|
1205
|
+
for (const [s, f] of Object.entries(a.fields))
|
|
1206
1206
|
r.push({
|
|
1207
1207
|
field: n + "." + e + ".model." + s,
|
|
1208
|
-
errors:
|
|
1208
|
+
errors: f
|
|
1209
1209
|
});
|
|
1210
1210
|
return r;
|
|
1211
1211
|
}
|
|
@@ -1279,7 +1279,7 @@ function Ta() {
|
|
|
1279
1279
|
duration: O * 1e3,
|
|
1280
1280
|
type: "warning"
|
|
1281
1281
|
});
|
|
1282
|
-
},
|
|
1282
|
+
}, f = (y, O = Ze) => {
|
|
1283
1283
|
const { t: P } = le.global;
|
|
1284
1284
|
s(P(y), O);
|
|
1285
1285
|
}, u = (y = Ze) => {
|
|
@@ -1299,17 +1299,17 @@ function Ta() {
|
|
|
1299
1299
|
type: "success"
|
|
1300
1300
|
});
|
|
1301
1301
|
}, m = (y, O = -1, P = !1) => {
|
|
1302
|
-
const { t:
|
|
1302
|
+
const { t: V, te: R } = le.global, U = [V("common.alert.fixApiValidationErrors")];
|
|
1303
1303
|
for (let ae = 0; ae < y.length; ae++) {
|
|
1304
1304
|
let ee = "";
|
|
1305
|
-
P ? ee += y[ae].field : R(y[ae].field) && (ee +=
|
|
1305
|
+
P ? ee += y[ae].field : R(y[ae].field) && (ee += V(y[ae].field));
|
|
1306
1306
|
const ue = /* @__PURE__ */ new Set();
|
|
1307
1307
|
for (let pe = 0; pe < y[ae].errors.length; pe++) {
|
|
1308
1308
|
if (R("error.apiValidation." + y[ae].errors[pe])) {
|
|
1309
|
-
ue.add(
|
|
1309
|
+
ue.add(V("error.apiValidation." + y[ae].errors[pe]));
|
|
1310
1310
|
continue;
|
|
1311
1311
|
}
|
|
1312
|
-
ue.add(
|
|
1312
|
+
ue.add(V("error.apiValidation.noTranslation"));
|
|
1313
1313
|
}
|
|
1314
1314
|
ee.length > 0 && U.push(ee + ": " + Array.from(ue).join(", "));
|
|
1315
1315
|
}
|
|
@@ -1320,9 +1320,9 @@ function Ta() {
|
|
|
1320
1320
|
type: "error"
|
|
1321
1321
|
});
|
|
1322
1322
|
}, d = (y, O = -1) => {
|
|
1323
|
-
const { t: P, te:
|
|
1323
|
+
const { t: P, te: V } = le.global;
|
|
1324
1324
|
let R = P("error.apiForbiddenOperation.noTranslation");
|
|
1325
|
-
|
|
1325
|
+
V("error.apiForbiddenOperation." + y) && (R = P("error.apiForbiddenOperation." + y)), qe({
|
|
1326
1326
|
group: "alerts",
|
|
1327
1327
|
text: R,
|
|
1328
1328
|
duration: O * 1e3,
|
|
@@ -1353,14 +1353,14 @@ function Ta() {
|
|
|
1353
1353
|
showInfo: r,
|
|
1354
1354
|
showInfoT: o,
|
|
1355
1355
|
showWarning: s,
|
|
1356
|
-
showWarningT:
|
|
1356
|
+
showWarningT: f,
|
|
1357
1357
|
showValidationError: u,
|
|
1358
1358
|
showRecordWas: p,
|
|
1359
1359
|
showApiValidationError: m,
|
|
1360
1360
|
showApiForbiddenOperationError: d,
|
|
1361
1361
|
showUnknownError: v,
|
|
1362
1362
|
showForbiddenError: k,
|
|
1363
|
-
showErrorsDefault: (y) =>
|
|
1363
|
+
showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Vr(y) ? (m(y.fields), !0) : Bi(y) ? (d(y.detail), !0) : Pr(y) || Er(y) ? (v(), !0) : !1
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
1366
|
const jp = /* @__PURE__ */ L({
|
|
@@ -1382,7 +1382,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1382
1382
|
n("update:modelValue", !0), n("onOpen");
|
|
1383
1383
|
}, s = () => {
|
|
1384
1384
|
n("update:modelValue", !1), n("onClose");
|
|
1385
|
-
},
|
|
1385
|
+
}, f = Ca(), { showValidationError: u, showRecordWas: p, showErrorsDefault: m } = Ta(), d = async () => {
|
|
1386
1386
|
var v;
|
|
1387
1387
|
n("onConfirm");
|
|
1388
1388
|
try {
|
|
@@ -1391,7 +1391,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1391
1391
|
return;
|
|
1392
1392
|
}
|
|
1393
1393
|
const k = await e.callCreate();
|
|
1394
|
-
n("onSuccess", k), p("created"), s(), !S(k.id) && !e.disableRedirect && e.redirectRouteName &&
|
|
1394
|
+
n("onSuccess", k), p("created"), s(), !S(k.id) && !e.disableRedirect && e.redirectRouteName && f.push({
|
|
1395
1395
|
name: e.redirectRouteName,
|
|
1396
1396
|
params: { [e.redirectParamName]: k[e.redirectParamName] }
|
|
1397
1397
|
});
|
|
@@ -1402,7 +1402,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1402
1402
|
}
|
|
1403
1403
|
};
|
|
1404
1404
|
return (v, k) => {
|
|
1405
|
-
const
|
|
1405
|
+
const F = Nt("ABtnTertiary"), y = Nt("ABtnPrimary");
|
|
1406
1406
|
return w(), E(y, {
|
|
1407
1407
|
class: be(t.buttonClass),
|
|
1408
1408
|
rounded: "pill",
|
|
@@ -1411,7 +1411,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1411
1411
|
}, {
|
|
1412
1412
|
default: g(() => [
|
|
1413
1413
|
_e(v.$slots, "button-title", {}, () => [
|
|
1414
|
-
B($(
|
|
1414
|
+
B($(c(a)("common.button.create")), 1)
|
|
1415
1415
|
]),
|
|
1416
1416
|
b(Da, {
|
|
1417
1417
|
"model-value": t.modelValue,
|
|
@@ -1428,7 +1428,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1428
1428
|
b($r, { onOnCancel: s }, {
|
|
1429
1429
|
default: g(() => [
|
|
1430
1430
|
_e(v.$slots, "title", {}, () => [
|
|
1431
|
-
B($(
|
|
1431
|
+
B($(c(a)("common.button.create")), 1)
|
|
1432
1432
|
])
|
|
1433
1433
|
]),
|
|
1434
1434
|
_: 3
|
|
@@ -1442,12 +1442,12 @@ const jp = /* @__PURE__ */ L({
|
|
|
1442
1442
|
b(ka, null, {
|
|
1443
1443
|
default: g(() => [
|
|
1444
1444
|
b(en),
|
|
1445
|
-
b(
|
|
1445
|
+
b(F, {
|
|
1446
1446
|
"data-cy": "button-cancel",
|
|
1447
1447
|
onClick: ne(s, ["stop"])
|
|
1448
1448
|
}, {
|
|
1449
1449
|
default: g(() => [
|
|
1450
|
-
B($(
|
|
1450
|
+
B($(c(a)("common.button.cancel")), 1)
|
|
1451
1451
|
]),
|
|
1452
1452
|
_: 1
|
|
1453
1453
|
}, 8, ["onClick"]),
|
|
@@ -1458,7 +1458,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
1458
1458
|
}, {
|
|
1459
1459
|
default: g(() => [
|
|
1460
1460
|
_e(v.$slots, "button-confirm-title", {}, () => [
|
|
1461
|
-
B($(
|
|
1461
|
+
B($(c(a)("common.button.create")), 1)
|
|
1462
1462
|
])
|
|
1463
1463
|
]),
|
|
1464
1464
|
_: 3
|
|
@@ -1480,12 +1480,12 @@ const jp = /* @__PURE__ */ L({
|
|
|
1480
1480
|
}), Ri = { class: "a-admin-switcher__content" }, Ui = ["href"], Yi = ["src", "alt"], Hi = { class: "a-admin-switcher__item-title" }, zp = /* @__PURE__ */ L({
|
|
1481
1481
|
__name: "AAdminSwitcher",
|
|
1482
1482
|
props: {
|
|
1483
|
-
configUrl: { default:
|
|
1483
|
+
configUrl: { default: null }
|
|
1484
1484
|
},
|
|
1485
1485
|
setup(t) {
|
|
1486
1486
|
const n = t, { t: e } = G(), a = J([]);
|
|
1487
1487
|
return Bt(async () => {
|
|
1488
|
-
if (n.configUrl.length > 0)
|
|
1488
|
+
if (n.configUrl && n.configUrl.length > 0)
|
|
1489
1489
|
try {
|
|
1490
1490
|
const { data: r } = await wo(n.configUrl).get().json();
|
|
1491
1491
|
a.value = r.value;
|
|
@@ -1499,12 +1499,12 @@ const jp = /* @__PURE__ */ L({
|
|
|
1499
1499
|
}, {
|
|
1500
1500
|
default: g(() => [
|
|
1501
1501
|
b(me, { icon: "mdi-dots-grid" }),
|
|
1502
|
-
b(
|
|
1502
|
+
b(Ve, {
|
|
1503
1503
|
activator: "parent",
|
|
1504
1504
|
location: "top"
|
|
1505
1505
|
}, {
|
|
1506
1506
|
default: g(() => [
|
|
1507
|
-
B($(
|
|
1507
|
+
B($(c(e)("common.system.adminSwitcher.button")), 1)
|
|
1508
1508
|
]),
|
|
1509
1509
|
_: 1
|
|
1510
1510
|
}),
|
|
@@ -1565,7 +1565,7 @@ var fa = {}, qi = {
|
|
|
1565
1565
|
(function(e, a) {
|
|
1566
1566
|
t.exports = a();
|
|
1567
1567
|
})(Sa, function() {
|
|
1568
|
-
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second",
|
|
1568
|
+
var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", F = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, V = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
|
|
1569
1569
|
var C = ["th", "st", "nd", "rd"], _ = D % 100;
|
|
1570
1570
|
return "[" + D + (C[(_ - 20) % 10] || C[_] || C[0]) + "]";
|
|
1571
1571
|
} }, R = function(D, C, _) {
|
|
@@ -1582,11 +1582,11 @@ var fa = {}, qi = {
|
|
|
1582
1582
|
}, a: function(D) {
|
|
1583
1583
|
return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
|
|
1584
1584
|
}, p: function(D) {
|
|
1585
|
-
return { M: d, y: k, w: m, d: p, D:
|
|
1585
|
+
return { M: d, y: k, w: m, d: p, D: F, h: u, m: f, s, ms: o, Q: v }[D] || String(D || "").toLowerCase().replace(/s$/, "");
|
|
1586
1586
|
}, u: function(D) {
|
|
1587
1587
|
return D === void 0;
|
|
1588
1588
|
} }, ae = "en", ee = {};
|
|
1589
|
-
ee[ae] =
|
|
1589
|
+
ee[ae] = V;
|
|
1590
1590
|
var ue = function(D) {
|
|
1591
1591
|
return D instanceof Me;
|
|
1592
1592
|
}, pe = function D(C, _, M) {
|
|
@@ -1672,11 +1672,11 @@ var fa = {}, qi = {
|
|
|
1672
1672
|
var He = this.$locale().weekStart || 0, Le = (ge < He ? ge + 7 : ge) - He;
|
|
1673
1673
|
return se(j ? Ne - Le : Ne + (6 - Le), Ce);
|
|
1674
1674
|
case p:
|
|
1675
|
-
case
|
|
1675
|
+
case F:
|
|
1676
1676
|
return he(xe + "Hours", 0);
|
|
1677
1677
|
case u:
|
|
1678
1678
|
return he(xe + "Minutes", 1);
|
|
1679
|
-
case
|
|
1679
|
+
case f:
|
|
1680
1680
|
return he(xe + "Seconds", 2);
|
|
1681
1681
|
case s:
|
|
1682
1682
|
return he(xe + "Milliseconds", 3);
|
|
@@ -1686,10 +1686,10 @@ var fa = {}, qi = {
|
|
|
1686
1686
|
}, C.endOf = function(_) {
|
|
1687
1687
|
return this.startOf(_, !1);
|
|
1688
1688
|
}, C.$set = function(_, M) {
|
|
1689
|
-
var T, j = Q.p(_), K = "set" + (this.$u ? "UTC" : ""), se = (T = {}, T[p] = K + "Date", T[
|
|
1689
|
+
var T, j = Q.p(_), K = "set" + (this.$u ? "UTC" : ""), se = (T = {}, T[p] = K + "Date", T[F] = K + "Date", T[d] = K + "Month", T[k] = K + "FullYear", T[u] = K + "Hours", T[f] = K + "Minutes", T[s] = K + "Seconds", T[o] = K + "Milliseconds", T)[j], he = j === p ? this.$D + (M - this.$W) : M;
|
|
1690
1690
|
if (j === d || j === k) {
|
|
1691
|
-
var ge = this.clone().set(
|
|
1692
|
-
ge.$d[se](he), ge.init(), this.$d = ge.set(
|
|
1691
|
+
var ge = this.clone().set(F, 1);
|
|
1692
|
+
ge.$d[se](he), ge.init(), this.$d = ge.set(F, Math.min(this.$D, ge.daysInMonth())).$d;
|
|
1693
1693
|
} else
|
|
1694
1694
|
se && this.$d[se](he);
|
|
1695
1695
|
return this.init(), this;
|
|
@@ -1712,7 +1712,7 @@ var fa = {}, qi = {
|
|
|
1712
1712
|
return se(1);
|
|
1713
1713
|
if (K === m)
|
|
1714
1714
|
return se(7);
|
|
1715
|
-
var he = (T = {}, T[
|
|
1715
|
+
var he = (T = {}, T[f] = a, T[u] = r, T[s] = e, T)[K] || 1, ge = this.$d.getTime() + _ * he;
|
|
1716
1716
|
return Q.w(ge, this);
|
|
1717
1717
|
}, C.subtract = function(_, M) {
|
|
1718
1718
|
return this.add(-1 * _, M);
|
|
@@ -1735,7 +1735,7 @@ var fa = {}, qi = {
|
|
|
1735
1735
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1736
1736
|
}, C.diff = function(_, M, T) {
|
|
1737
1737
|
var j, K = Q.p(M), se = ie(_), he = (se.utcOffset() - this.utcOffset()) * a, ge = this - se, Ce = Q.m(this, se);
|
|
1738
|
-
return Ce = (j = {}, j[k] = Ce / 12, j[d] = Ce, j[v] = Ce / 3, j[m] = (ge - he) / 6048e5, j[p] = (ge - he) / 864e5, j[u] = ge / r, j[
|
|
1738
|
+
return Ce = (j = {}, j[k] = Ce / 12, j[d] = Ce, j[v] = Ce / 3, j[m] = (ge - he) / 6048e5, j[p] = (ge - he) / 864e5, j[u] = ge / r, j[f] = ge / a, j[s] = ge / e, j)[K] || ge, T ? Ce : Q.a(Ce);
|
|
1739
1739
|
}, C.daysInMonth = function() {
|
|
1740
1740
|
return this.endOf(d).$D;
|
|
1741
1741
|
}, C.$locale = function() {
|
|
@@ -1757,7 +1757,7 @@ var fa = {}, qi = {
|
|
|
1757
1757
|
return this.$d.toUTCString();
|
|
1758
1758
|
}, D;
|
|
1759
1759
|
}(), W = Me.prototype;
|
|
1760
|
-
return ie.prototype = W, [["$ms", o], ["$s", s], ["$m",
|
|
1760
|
+
return ie.prototype = W, [["$ms", o], ["$s", s], ["$m", f], ["$H", u], ["$W", p], ["$M", d], ["$y", k], ["$D", F]].forEach(function(D) {
|
|
1761
1761
|
W[D[1]] = function(C) {
|
|
1762
1762
|
return this.$g(C, D[0], D[1]);
|
|
1763
1763
|
};
|
|
@@ -1782,16 +1782,16 @@ var ma = {}, Gi = {
|
|
|
1782
1782
|
t.exports = a();
|
|
1783
1783
|
})(Sa, function() {
|
|
1784
1784
|
var e = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
1785
|
-
return function(o, s,
|
|
1785
|
+
return function(o, s, f) {
|
|
1786
1786
|
var u = s.prototype;
|
|
1787
|
-
|
|
1787
|
+
f.utc = function(y) {
|
|
1788
1788
|
var O = { date: y, utc: !0, args: arguments };
|
|
1789
1789
|
return new s(O);
|
|
1790
1790
|
}, u.utc = function(y) {
|
|
1791
|
-
var O =
|
|
1791
|
+
var O = f(this.toDate(), { locale: this.$L, utc: !0 });
|
|
1792
1792
|
return y ? O.add(this.utcOffset(), e) : O;
|
|
1793
1793
|
}, u.local = function() {
|
|
1794
|
-
return
|
|
1794
|
+
return f(this.toDate(), { locale: this.$L, utc: !1 });
|
|
1795
1795
|
};
|
|
1796
1796
|
var p = u.parse;
|
|
1797
1797
|
u.parse = function(y) {
|
|
@@ -1819,12 +1819,12 @@ var ma = {}, Gi = {
|
|
|
1819
1819
|
return ie === 0 ? 0 : pe === "+" ? ie : -ie;
|
|
1820
1820
|
}(y), y === null))
|
|
1821
1821
|
return this;
|
|
1822
|
-
var
|
|
1822
|
+
var V = Math.abs(y) <= 16 ? 60 * y : y, R = this;
|
|
1823
1823
|
if (O)
|
|
1824
|
-
return R.$offset =
|
|
1824
|
+
return R.$offset = V, R.$u = y === 0, R;
|
|
1825
1825
|
if (y !== 0) {
|
|
1826
1826
|
var U = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
1827
|
-
(R = this.local().add(
|
|
1827
|
+
(R = this.local().add(V + U, e)).$offset = V, R.$x.$localOffset = U;
|
|
1828
1828
|
} else
|
|
1829
1829
|
R = this.utc();
|
|
1830
1830
|
return R;
|
|
@@ -1845,14 +1845,14 @@ var ma = {}, Gi = {
|
|
|
1845
1845
|
};
|
|
1846
1846
|
var k = u.toDate;
|
|
1847
1847
|
u.toDate = function(y) {
|
|
1848
|
-
return y === "s" && this.$offset ?
|
|
1848
|
+
return y === "s" && this.$offset ? f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
|
1849
1849
|
};
|
|
1850
|
-
var
|
|
1850
|
+
var F = u.diff;
|
|
1851
1851
|
u.diff = function(y, O, P) {
|
|
1852
1852
|
if (y && this.$u === y.$u)
|
|
1853
|
-
return
|
|
1854
|
-
var
|
|
1855
|
-
return
|
|
1853
|
+
return F.call(this, y, O, P);
|
|
1854
|
+
var V = this.local(), R = f(y).local();
|
|
1855
|
+
return F.call(V, R, O, P);
|
|
1856
1856
|
};
|
|
1857
1857
|
};
|
|
1858
1858
|
});
|
|
@@ -1889,21 +1889,21 @@ const Ct = ".000000Z", zn = "YYYY-MM-DDTHH:mm:ss", Lr = "1970-01-01T00:00:00.000
|
|
|
1889
1889
|
const n = t, e = x(() => pa(n.data.createdAt)), a = x(() => pa(n.data.modifiedAt)), { t: r } = G();
|
|
1890
1890
|
return (o, s) => (w(), H(Ye, null, [
|
|
1891
1891
|
b(tt, {
|
|
1892
|
-
title:
|
|
1892
|
+
title: c(r)("common.model.tracking.created")
|
|
1893
1893
|
}, {
|
|
1894
1894
|
default: g(() => [
|
|
1895
1895
|
te("div", Xi, [
|
|
1896
|
-
t.hideCreatedAt ? Z("", !0) : (w(), H("div", el, $(
|
|
1896
|
+
t.hideCreatedAt ? Z("", !0) : (w(), H("div", el, $(c(e)), 1))
|
|
1897
1897
|
])
|
|
1898
1898
|
]),
|
|
1899
1899
|
_: 1
|
|
1900
1900
|
}, 8, ["title"]),
|
|
1901
1901
|
b(tt, {
|
|
1902
|
-
title:
|
|
1902
|
+
title: c(r)("common.model.tracking.modified")
|
|
1903
1903
|
}, {
|
|
1904
1904
|
default: g(() => [
|
|
1905
1905
|
te("div", tl, [
|
|
1906
|
-
t.hideModifiedAt ? Z("", !0) : (w(), H("div", nl, $(
|
|
1906
|
+
t.hideModifiedAt ? Z("", !0) : (w(), H("div", nl, $(c(a)), 1))
|
|
1907
1907
|
])
|
|
1908
1908
|
]),
|
|
1909
1909
|
_: 1
|
|
@@ -1944,11 +1944,11 @@ function $a() {
|
|
|
1944
1944
|
clearAllErrors: e,
|
|
1945
1945
|
clearAll: n,
|
|
1946
1946
|
clearOne: t,
|
|
1947
|
-
resetFilter: (o, s,
|
|
1948
|
-
n(o), s.page = 1,
|
|
1947
|
+
resetFilter: (o, s, f) => {
|
|
1948
|
+
n(o), s.page = 1, f && f();
|
|
1949
1949
|
},
|
|
1950
|
-
submitFilter: (o, s,
|
|
1951
|
-
e(o), s.page = 1,
|
|
1950
|
+
submitFilter: (o, s, f) => {
|
|
1951
|
+
e(o), s.page = 1, f();
|
|
1952
1952
|
}
|
|
1953
1953
|
};
|
|
1954
1954
|
}
|
|
@@ -1968,15 +1968,15 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1968
1968
|
set(u) {
|
|
1969
1969
|
n("update:modelValue", { ...e.modelValue, model: u });
|
|
1970
1970
|
}
|
|
1971
|
-
}), { clearOne: r } = $a(), { t: o } = G(), s = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0),
|
|
1971
|
+
}), { clearOne: r } = $a(), { t: o } = G(), s = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? o("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? o("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? o("common.model.filterPlaceholder.contains") : "" : e.placeholder);
|
|
1972
1972
|
return (u, p) => (w(), E(Jn, {
|
|
1973
|
-
modelValue:
|
|
1973
|
+
modelValue: c(a),
|
|
1974
1974
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ue(a) ? a.value = m : null),
|
|
1975
|
-
label:
|
|
1976
|
-
placeholder: f
|
|
1975
|
+
label: c(s),
|
|
1976
|
+
placeholder: c(f),
|
|
1977
1977
|
clearable: !t.modelValue.mandatory,
|
|
1978
1978
|
"data-cy": t.dataCy,
|
|
1979
|
-
"onClick:clear": p[1] || (p[1] = ne((m) =>
|
|
1979
|
+
"onClick:clear": p[1] || (p[1] = ne((m) => c(r)(t.modelValue), ["stop"]))
|
|
1980
1980
|
}, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
|
|
1981
1981
|
}
|
|
1982
1982
|
}), Qp = /* @__PURE__ */ L({
|
|
@@ -1991,17 +1991,17 @@ const Zp = /* @__PURE__ */ L({
|
|
|
1991
1991
|
get() {
|
|
1992
1992
|
return e.modelValue.model;
|
|
1993
1993
|
},
|
|
1994
|
-
set(
|
|
1995
|
-
n("update:modelValue", { ...e.modelValue, model:
|
|
1994
|
+
set(f) {
|
|
1995
|
+
n("update:modelValue", { ...e.modelValue, model: f });
|
|
1996
1996
|
}
|
|
1997
1997
|
}), { clearOne: r } = $a(), { t: o } = G(), s = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
|
|
1998
|
-
return (
|
|
1999
|
-
modelValue:
|
|
1998
|
+
return (f, u) => (w(), E(Jn, {
|
|
1999
|
+
modelValue: c(a),
|
|
2000
2000
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => Ue(a) ? a.value = p : null),
|
|
2001
|
-
label:
|
|
2001
|
+
label: c(s),
|
|
2002
2002
|
clearable: !t.modelValue.mandatory,
|
|
2003
2003
|
"data-cy": t.dataCy,
|
|
2004
|
-
"onClick:clear": u[1] || (u[1] = ne((p) =>
|
|
2004
|
+
"onClick:clear": u[1] || (u[1] = ne((p) => c(r)(t.modelValue), ["stop"]))
|
|
2005
2005
|
}, null, 8, ["modelValue", "label", "clearable", "data-cy"]));
|
|
2006
2006
|
}
|
|
2007
2007
|
}), st = (t) => {
|
|
@@ -2018,7 +2018,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2018
2018
|
const e = J(!1), a = (s) => {
|
|
2019
2019
|
st(s), e.value = !e.value, n("advancedFilter");
|
|
2020
2020
|
}, r = x(() => e.value ? "mdi-chevron-double-up" : "mdi-chevron-double-down"), { t: o } = G();
|
|
2021
|
-
return (s,
|
|
2021
|
+
return (s, f) => (w(), E(oe, {
|
|
2022
2022
|
class: be(t.buttonClass),
|
|
2023
2023
|
"data-cy": t.dataCy,
|
|
2024
2024
|
icon: "",
|
|
@@ -2027,13 +2027,13 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2027
2027
|
onClick: ne(a, ["stop"])
|
|
2028
2028
|
}, {
|
|
2029
2029
|
default: g(() => [
|
|
2030
|
-
b(me, { icon:
|
|
2031
|
-
b(
|
|
2030
|
+
b(me, { icon: c(r) }, null, 8, ["icon"]),
|
|
2031
|
+
b(Ve, {
|
|
2032
2032
|
activator: "parent",
|
|
2033
2033
|
location: "bottom"
|
|
2034
2034
|
}, {
|
|
2035
2035
|
default: g(() => [
|
|
2036
|
-
B($(
|
|
2036
|
+
B($(c(o)(t.tooltipT)), 1)
|
|
2037
2037
|
]),
|
|
2038
2038
|
_: 1
|
|
2039
2039
|
})
|
|
@@ -2063,7 +2063,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2063
2063
|
onClick: ne(e, ["stop"])
|
|
2064
2064
|
}, {
|
|
2065
2065
|
default: g(() => [
|
|
2066
|
-
B($(
|
|
2066
|
+
B($(c(a)(t.buttonT)), 1)
|
|
2067
2067
|
]),
|
|
2068
2068
|
_: 1
|
|
2069
2069
|
}, 8, ["class", "data-cy", "variant", "onClick"]));
|
|
@@ -2093,12 +2093,12 @@ const Zp = /* @__PURE__ */ L({
|
|
|
2093
2093
|
color: "grey darken-1",
|
|
2094
2094
|
icon: "mdi-filter-remove-outline"
|
|
2095
2095
|
}),
|
|
2096
|
-
b(
|
|
2096
|
+
b(Ve, {
|
|
2097
2097
|
activator: "parent",
|
|
2098
2098
|
location: "bottom"
|
|
2099
2099
|
}, {
|
|
2100
2100
|
default: g(() => [
|
|
2101
|
-
B($(
|
|
2101
|
+
B($(c(a)(t.tooltipT)), 1)
|
|
2102
2102
|
]),
|
|
2103
2103
|
_: 1
|
|
2104
2104
|
})
|
|
@@ -2230,25 +2230,25 @@ const eh = /* @__PURE__ */ L({
|
|
|
2230
2230
|
}
|
|
2231
2231
|
}), { getGrantOption: r } = jr();
|
|
2232
2232
|
return (o, s) => (w(), E(Wn, {
|
|
2233
|
-
modelValue:
|
|
2234
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
2233
|
+
modelValue: c(a),
|
|
2234
|
+
"onUpdate:modelValue": s[0] || (s[0] = (f) => Ue(a) ? a.value = f : null),
|
|
2235
2235
|
divided: "",
|
|
2236
2236
|
density: "compact",
|
|
2237
2237
|
variant: "outlined",
|
|
2238
2238
|
class: "text-disabled"
|
|
2239
2239
|
}, {
|
|
2240
2240
|
default: g(() => [
|
|
2241
|
-
(w(!0), H(Ye, null, At(t.availableGrants, (
|
|
2241
|
+
(w(!0), H(Ye, null, At(t.availableGrants, (f) => {
|
|
2242
2242
|
var u;
|
|
2243
2243
|
return w(), E(oe, {
|
|
2244
|
-
key:
|
|
2245
|
-
value:
|
|
2246
|
-
color: (u =
|
|
2244
|
+
key: f,
|
|
2245
|
+
value: f,
|
|
2246
|
+
color: (u = c(r)(f)) == null ? void 0 : u.color
|
|
2247
2247
|
}, {
|
|
2248
2248
|
default: g(() => {
|
|
2249
2249
|
var p;
|
|
2250
2250
|
return [
|
|
2251
|
-
B($((p =
|
|
2251
|
+
B($((p = c(r)(f)) == null ? void 0 : p.title), 1)
|
|
2252
2252
|
];
|
|
2253
2253
|
}),
|
|
2254
2254
|
_: 2
|
|
@@ -2295,17 +2295,17 @@ const ll = {
|
|
|
2295
2295
|
},
|
|
2296
2296
|
setup(t) {
|
|
2297
2297
|
const n = t, { getGrantOption: e } = jr(), a = x(() => e(n.grant)), { getGrantOriginOption: r } = il(), o = x(() => r(n.grantOrigin));
|
|
2298
|
-
return (s,
|
|
2298
|
+
return (s, f) => c(a) ? (w(), E(ct, {
|
|
2299
2299
|
key: 0,
|
|
2300
|
-
color:
|
|
2300
|
+
color: c(a).color,
|
|
2301
2301
|
label: "",
|
|
2302
2302
|
size: "small"
|
|
2303
2303
|
}, {
|
|
2304
2304
|
default: g(() => {
|
|
2305
2305
|
var u;
|
|
2306
2306
|
return [
|
|
2307
|
-
B($(
|
|
2308
|
-
t.grantOrigin !==
|
|
2307
|
+
B($(c(a).title) + " ", 1),
|
|
2308
|
+
t.grantOrigin !== c(zr).DefaultGrant ? (w(), H("span", ll, "(" + $((u = c(o)) == null ? void 0 : u.title) + ")", 1)) : Z("", !0)
|
|
2309
2309
|
];
|
|
2310
2310
|
}),
|
|
2311
2311
|
_: 1
|
|
@@ -2341,13 +2341,13 @@ const ll = {
|
|
|
2341
2341
|
};
|
|
2342
2342
|
function rh(t, n, e = ".") {
|
|
2343
2343
|
const a = n.split(e), r = a.length - 1;
|
|
2344
|
-
function o(s,
|
|
2345
|
-
const u = a[
|
|
2346
|
-
if (
|
|
2344
|
+
function o(s, f = 0) {
|
|
2345
|
+
const u = a[f];
|
|
2346
|
+
if (f === r) {
|
|
2347
2347
|
delete s[u];
|
|
2348
2348
|
return;
|
|
2349
2349
|
}
|
|
2350
|
-
o(s[u],
|
|
2350
|
+
o(s[u], f + 1);
|
|
2351
2351
|
}
|
|
2352
2352
|
return o(t), t;
|
|
2353
2353
|
}
|
|
@@ -2421,7 +2421,7 @@ const cl = /* @__PURE__ */ L({
|
|
|
2421
2421
|
},
|
|
2422
2422
|
setup(t) {
|
|
2423
2423
|
const n = t, e = x(() => pa(n.dateTime, n.edgeDateValue));
|
|
2424
|
-
return (a, r) => $(
|
|
2424
|
+
return (a, r) => $(c(e));
|
|
2425
2425
|
}
|
|
2426
2426
|
});
|
|
2427
2427
|
var na = [
|
|
@@ -2437,7 +2437,7 @@ var na = [
|
|
|
2437
2437
|
"onValueUpdate",
|
|
2438
2438
|
"onYearChange",
|
|
2439
2439
|
"onPreCalendarPosition"
|
|
2440
|
-
],
|
|
2440
|
+
], Vt = {
|
|
2441
2441
|
_disable: [],
|
|
2442
2442
|
allowInput: !1,
|
|
2443
2443
|
allowInvalidPreload: !1,
|
|
@@ -2595,7 +2595,7 @@ function ce(t, n, e) {
|
|
|
2595
2595
|
var a = window.document.createElement(t);
|
|
2596
2596
|
return n = n || "", e = e || "", a.className = n, e !== void 0 && (a.textContent = e), a;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function Fn(t) {
|
|
2599
2599
|
for (; t.firstChild; )
|
|
2600
2600
|
t.removeChild(t.firstChild);
|
|
2601
2601
|
}
|
|
@@ -2605,7 +2605,7 @@ function qr(t, n) {
|
|
|
2605
2605
|
if (t.parentNode)
|
|
2606
2606
|
return qr(t.parentNode, n);
|
|
2607
2607
|
}
|
|
2608
|
-
function
|
|
2608
|
+
function Vn(t, n) {
|
|
2609
2609
|
var e = ce("div", "numInputWrapper"), a = ce("input", "numInput " + t), r = ce("span", "arrowUp"), o = ce("span", "arrowDown");
|
|
2610
2610
|
if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), n !== void 0)
|
|
2611
2611
|
for (var s in n)
|
|
@@ -2786,16 +2786,16 @@ var ra = function() {
|
|
|
2786
2786
|
return String(t.getFullYear()).substring(2);
|
|
2787
2787
|
}
|
|
2788
2788
|
}, Gr = function(t) {
|
|
2789
|
-
var n = t.config, e = n === void 0 ?
|
|
2790
|
-
return function(
|
|
2789
|
+
var n = t.config, e = n === void 0 ? Vt : n, a = t.l10n, r = a === void 0 ? nn : a, o = t.isMobile, s = o === void 0 ? !1 : o;
|
|
2790
|
+
return function(f, u, p) {
|
|
2791
2791
|
var m = p || r;
|
|
2792
|
-
return e.formatDate !== void 0 && !s ? e.formatDate(
|
|
2793
|
-
return Kt[d] && k[v - 1] !== "\\" ? Kt[d](
|
|
2792
|
+
return e.formatDate !== void 0 && !s ? e.formatDate(f, u, m) : u.split("").map(function(d, v, k) {
|
|
2793
|
+
return Kt[d] && k[v - 1] !== "\\" ? Kt[d](f, m, e) : d !== "\\" ? d : "";
|
|
2794
2794
|
}).join("");
|
|
2795
2795
|
};
|
|
2796
2796
|
}, ha = function(t) {
|
|
2797
|
-
var n = t.config, e = n === void 0 ?
|
|
2798
|
-
return function(o, s,
|
|
2797
|
+
var n = t.config, e = n === void 0 ? Vt : n, a = t.l10n, r = a === void 0 ? nn : a;
|
|
2798
|
+
return function(o, s, f, u) {
|
|
2799
2799
|
if (!(o !== 0 && !o)) {
|
|
2800
2800
|
var p = u || r, m, d = o;
|
|
2801
2801
|
if (o instanceof Date)
|
|
@@ -2803,37 +2803,37 @@ var ra = function() {
|
|
|
2803
2803
|
else if (typeof o != "string" && o.toFixed !== void 0)
|
|
2804
2804
|
m = new Date(o);
|
|
2805
2805
|
else if (typeof o == "string") {
|
|
2806
|
-
var v = s || (e ||
|
|
2806
|
+
var v = s || (e || Vt).dateFormat, k = String(o).trim();
|
|
2807
2807
|
if (k === "today")
|
|
2808
|
-
m = /* @__PURE__ */ new Date(),
|
|
2808
|
+
m = /* @__PURE__ */ new Date(), f = !0;
|
|
2809
2809
|
else if (e && e.parseDate)
|
|
2810
2810
|
m = e.parseDate(o, v);
|
|
2811
2811
|
else if (/Z$/.test(k) || /GMT$/.test(k))
|
|
2812
2812
|
m = new Date(o);
|
|
2813
2813
|
else {
|
|
2814
|
-
for (var
|
|
2814
|
+
for (var F = void 0, y = [], O = 0, P = 0, V = ""; O < v.length; O++) {
|
|
2815
2815
|
var R = v[O], U = R === "\\", ae = v[O - 1] === "\\" || U;
|
|
2816
2816
|
if (kt[R] && !ae) {
|
|
2817
|
-
|
|
2818
|
-
var ee = new RegExp(
|
|
2819
|
-
ee && (
|
|
2817
|
+
V += kt[R];
|
|
2818
|
+
var ee = new RegExp(V).exec(o);
|
|
2819
|
+
ee && (F = !0) && y[R !== "Y" ? "push" : "unshift"]({
|
|
2820
2820
|
fn: fl[R],
|
|
2821
2821
|
val: ee[++P]
|
|
2822
2822
|
});
|
|
2823
2823
|
} else
|
|
2824
|
-
U || (
|
|
2824
|
+
U || (V += ".");
|
|
2825
2825
|
}
|
|
2826
2826
|
m = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), y.forEach(function(ue) {
|
|
2827
2827
|
var pe = ue.fn, ie = ue.val;
|
|
2828
2828
|
return m = pe(m, ie, p) || m;
|
|
2829
|
-
}), m =
|
|
2829
|
+
}), m = F ? m : void 0;
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
2832
|
if (!(m instanceof Date && !isNaN(m.getTime()))) {
|
|
2833
2833
|
e.errorHandler(new Error("Invalid date provided: " + d));
|
|
2834
2834
|
return;
|
|
2835
2835
|
}
|
|
2836
|
-
return
|
|
2836
|
+
return f === !0 && m.setHours(0, 0, 0, 0), m;
|
|
2837
2837
|
}
|
|
2838
2838
|
};
|
|
2839
2839
|
};
|
|
@@ -2857,8 +2857,8 @@ function ia(t) {
|
|
|
2857
2857
|
n < r && (n = r), n === r && e < o && (e = o), n === r && e === o && a < s && (a = t.minDate.getSeconds());
|
|
2858
2858
|
}
|
|
2859
2859
|
if (t.maxDate !== void 0) {
|
|
2860
|
-
var
|
|
2861
|
-
n = Math.min(n,
|
|
2860
|
+
var f = t.maxDate.getHours(), u = t.maxDate.getMinutes();
|
|
2861
|
+
n = Math.min(n, f), n === f && (e = Math.min(u, e)), n === f && e === u && (a = t.maxDate.getSeconds());
|
|
2862
2862
|
}
|
|
2863
2863
|
return { hours: n, minutes: e, seconds: a };
|
|
2864
2864
|
}
|
|
@@ -2867,9 +2867,9 @@ typeof Object.assign != "function" && (Object.assign = function(t) {
|
|
|
2867
2867
|
n[e - 1] = arguments[e];
|
|
2868
2868
|
if (!t)
|
|
2869
2869
|
throw TypeError("Cannot convert undefined or null to object");
|
|
2870
|
-
for (var a = function(
|
|
2871
|
-
|
|
2872
|
-
return t[u] =
|
|
2870
|
+
for (var a = function(f) {
|
|
2871
|
+
f && Object.keys(f).forEach(function(u) {
|
|
2872
|
+
return t[u] = f[u];
|
|
2873
2873
|
});
|
|
2874
2874
|
}, r = 0, o = n; r < o.length; r++) {
|
|
2875
2875
|
var s = o[r];
|
|
@@ -2890,16 +2890,16 @@ var $e = globalThis && globalThis.__assign || function() {
|
|
|
2890
2890
|
for (var t = 0, n = 0, e = arguments.length; n < e; n++)
|
|
2891
2891
|
t += arguments[n].length;
|
|
2892
2892
|
for (var a = Array(t), r = 0, n = 0; n < e; n++)
|
|
2893
|
-
for (var o = arguments[n], s = 0,
|
|
2893
|
+
for (var o = arguments[n], s = 0, f = o.length; s < f; s++, r++)
|
|
2894
2894
|
a[r] = o[s];
|
|
2895
2895
|
return a;
|
|
2896
2896
|
}, gl = 300;
|
|
2897
2897
|
function vl(t, n) {
|
|
2898
2898
|
var e = {
|
|
2899
|
-
config: $e($e({},
|
|
2899
|
+
config: $e($e({}, Vt), Ae.defaultConfig),
|
|
2900
2900
|
l10n: nn
|
|
2901
2901
|
};
|
|
2902
|
-
e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate =
|
|
2902
|
+
e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = V, e.updateValue = We, e.open = sn, e.redraw = Ut, e.set = fn, e.setDate = mn, e.toggle = vn;
|
|
2903
2903
|
function a() {
|
|
2904
2904
|
e.utils = {
|
|
2905
2905
|
getDaysInMonth: function(i, l) {
|
|
@@ -2908,7 +2908,7 @@ function vl(t, n) {
|
|
|
2908
2908
|
};
|
|
2909
2909
|
}
|
|
2910
2910
|
function r() {
|
|
2911
|
-
e.element = e.input = t, e.isOpen = !1, un(), Rt(), hn(), pn(), a(), e.isMobile || ae(), P(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)),
|
|
2911
|
+
e.element = e.input = t, e.isOpen = !1, un(), Rt(), hn(), pn(), a(), e.isMobile || ae(), P(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), f();
|
|
2912
2912
|
var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
2913
2913
|
!e.isMobile && i && yt(), ye("onReady");
|
|
2914
2914
|
}
|
|
@@ -2919,7 +2919,7 @@ function vl(t, n) {
|
|
|
2919
2919
|
function s(i) {
|
|
2920
2920
|
return i.bind(e);
|
|
2921
2921
|
}
|
|
2922
|
-
function
|
|
2922
|
+
function f() {
|
|
2923
2923
|
var i = e.config;
|
|
2924
2924
|
i.weekNumbers === !1 && i.showMonths === 1 || i.noCalendar !== !0 && window.requestAnimationFrame(function() {
|
|
2925
2925
|
if (e.calendarContainer !== void 0 && (e.calendarContainer.style.visibility = "hidden", e.calendarContainer.style.display = "block"), e.daysContainer !== void 0) {
|
|
@@ -2980,7 +2980,7 @@ function vl(t, n) {
|
|
|
2980
2980
|
function k(i, l, h) {
|
|
2981
2981
|
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(i % 24, l, h || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ee(e.config.time_24hr ? i : (12 + i) % 12 + 12 * Ge(i % 12 === 0)), e.minuteElement.value = Ee(l), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ge(i >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ee(h)));
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2983
|
+
function F(i) {
|
|
2984
2984
|
var l = ze(i), h = parseInt(l.value) + (i.delta || 0);
|
|
2985
2985
|
(h / 1e3 > 1 || i.key === "Enter" && !/[^\d]/.test(h.toString())) && Le(h);
|
|
2986
2986
|
}
|
|
@@ -3014,7 +3014,7 @@ function vl(t, n) {
|
|
|
3014
3014
|
var i = sr(ln, 50);
|
|
3015
3015
|
if (e._debouncedChange = sr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
|
|
3016
3016
|
e.config.mode === "range" && Je(ze(h));
|
|
3017
|
-
}), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"],
|
|
3017
|
+
}), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], F), y(e.daysContainer, "click", Yt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
3018
3018
|
var l = function(h) {
|
|
3019
3019
|
return ze(h).select();
|
|
3020
3020
|
};
|
|
@@ -3026,7 +3026,7 @@ function vl(t, n) {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
e.config.allowInput && y(e._input, "blur", Be);
|
|
3028
3028
|
}
|
|
3029
|
-
function
|
|
3029
|
+
function V(i, l) {
|
|
3030
3030
|
var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), A = e.currentYear, I = e.currentMonth;
|
|
3031
3031
|
try {
|
|
3032
3032
|
h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
|
|
@@ -3100,7 +3100,7 @@ function vl(t, n) {
|
|
|
3100
3100
|
}
|
|
3101
3101
|
function W() {
|
|
3102
3102
|
if (e.daysContainer !== void 0) {
|
|
3103
|
-
|
|
3103
|
+
Fn(e.daysContainer), e.weekNumbers && Fn(e.weekNumbers);
|
|
3104
3104
|
for (var i = document.createDocumentFragment(), l = 0; l < e.config.showMonths; l++) {
|
|
3105
3105
|
var h = new Date(e.currentYear, e.currentMonth, 1);
|
|
3106
3106
|
h.setMonth(e.currentMonth + l), i.appendChild(Me(h.getFullYear(), h.getMonth()));
|
|
@@ -3127,7 +3127,7 @@ function vl(t, n) {
|
|
|
3127
3127
|
var Y = ze(X), re = parseInt(Y.value, 10);
|
|
3128
3128
|
e.changeMonth(re - e.currentMonth), ye("onMonthChange");
|
|
3129
3129
|
}), D(), h = e.monthsDropdownContainer);
|
|
3130
|
-
var A =
|
|
3130
|
+
var A = Vn("cur-year", { tabindex: "-1" }), I = A.getElementsByTagName("input")[0];
|
|
3131
3131
|
I.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && I.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (I.setAttribute("max", e.config.maxDate.getFullYear().toString()), I.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
|
|
3132
3132
|
var N = ce("div", "flatpickr-current-month");
|
|
3133
3133
|
return N.appendChild(h), N.appendChild(A), l.appendChild(N), i.appendChild(l), {
|
|
@@ -3137,7 +3137,7 @@ function vl(t, n) {
|
|
|
3137
3137
|
};
|
|
3138
3138
|
}
|
|
3139
3139
|
function _() {
|
|
3140
|
-
|
|
3140
|
+
Fn(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
|
|
3141
3141
|
for (var i = e.config.showMonths; i--; ) {
|
|
3142
3142
|
var l = C();
|
|
3143
3143
|
e.yearElements.push(l.yearElement), e.monthElements.push(l.monthElement), e.monthNav.appendChild(l.container);
|
|
@@ -3165,22 +3165,22 @@ function vl(t, n) {
|
|
|
3165
3165
|
e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
|
|
3166
3166
|
var i = ia(e.config);
|
|
3167
3167
|
e.timeContainer = ce("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
|
|
3168
|
-
var l = ce("span", "flatpickr-time-separator", ":"), h =
|
|
3168
|
+
var l = ce("span", "flatpickr-time-separator", ":"), h = Vn("flatpickr-hour", {
|
|
3169
3169
|
"aria-label": e.l10n.hourAriaLabel
|
|
3170
3170
|
});
|
|
3171
3171
|
e.hourElement = h.getElementsByTagName("input")[0];
|
|
3172
|
-
var A =
|
|
3172
|
+
var A = Vn("flatpickr-minute", {
|
|
3173
3173
|
"aria-label": e.l10n.minuteAriaLabel
|
|
3174
3174
|
});
|
|
3175
3175
|
if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Ee(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : m(i.hours)), e.minuteElement.value = Ee(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : i.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(h), e.timeContainer.appendChild(l), e.timeContainer.appendChild(A), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
|
|
3176
3176
|
e.timeContainer.classList.add("hasSeconds");
|
|
3177
|
-
var I =
|
|
3177
|
+
var I = Vn("flatpickr-second");
|
|
3178
3178
|
e.secondElement = I.getElementsByTagName("input")[0], e.secondElement.value = Ee(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(I);
|
|
3179
3179
|
}
|
|
3180
3180
|
return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ge((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
|
|
3181
3181
|
}
|
|
3182
3182
|
function j() {
|
|
3183
|
-
e.weekdayContainer ?
|
|
3183
|
+
e.weekdayContainer ? Fn(e.weekdayContainer) : e.weekdayContainer = ce("div", "flatpickr-weekdays");
|
|
3184
3184
|
for (var i = e.config.showMonths; i--; ) {
|
|
3185
3185
|
var l = ce("div", "flatpickr-weekdaycontainer");
|
|
3186
3186
|
e.weekdayContainer.appendChild(l);
|
|
@@ -3474,11 +3474,11 @@ function vl(t, n) {
|
|
|
3474
3474
|
});
|
|
3475
3475
|
var A = l.mode === "time";
|
|
3476
3476
|
if (!l.dateFormat && (l.enableTime || A)) {
|
|
3477
|
-
var I = Ae.defaultConfig.dateFormat ||
|
|
3477
|
+
var I = Ae.defaultConfig.dateFormat || Vt.dateFormat;
|
|
3478
3478
|
h.dateFormat = l.noCalendar || A ? "H:i" + (l.enableSeconds ? ":S" : "") : I + " H:i" + (l.enableSeconds ? ":S" : "");
|
|
3479
3479
|
}
|
|
3480
3480
|
if (l.altInput && (l.enableTime || A) && !l.altFormat) {
|
|
3481
|
-
var N = Ae.defaultConfig.altFormat ||
|
|
3481
|
+
var N = Ae.defaultConfig.altFormat || Vt.altFormat;
|
|
3482
3482
|
h.altFormat = l.noCalendar || A ? "h:i" + (l.enableSeconds ? ":S K" : " K") : N + (" h:i" + (l.enableSeconds ? ":S" : "") + " K");
|
|
3483
3483
|
}
|
|
3484
3484
|
Object.defineProperty(e.config, "minDate", {
|
|
@@ -3548,11 +3548,11 @@ function vl(t, n) {
|
|
|
3548
3548
|
else if (!kn)
|
|
3549
3549
|
e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = ut + "px";
|
|
3550
3550
|
else {
|
|
3551
|
-
var
|
|
3552
|
-
if (
|
|
3551
|
+
var Ft = dn();
|
|
3552
|
+
if (Ft === void 0)
|
|
3553
3553
|
return;
|
|
3554
|
-
var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn =
|
|
3555
|
-
Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0),
|
|
3554
|
+
var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn = Ft.cssRules.length, xn = "{left:" + Y.left + "px;right:auto;}";
|
|
3555
|
+
Pe(e.calendarContainer, "rightMost", !1), Pe(e.calendarContainer, "centerMost", !0), Ft.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
@@ -3611,9 +3611,9 @@ function vl(t, n) {
|
|
|
3611
3611
|
}
|
|
3612
3612
|
var bt = {
|
|
3613
3613
|
locale: [Rt, K],
|
|
3614
|
-
showMonths: [_,
|
|
3615
|
-
minDate: [
|
|
3616
|
-
maxDate: [
|
|
3614
|
+
showMonths: [_, f, j],
|
|
3615
|
+
minDate: [V],
|
|
3616
|
+
maxDate: [V],
|
|
3617
3617
|
positionElement: [Wt],
|
|
3618
3618
|
clickOpens: [
|
|
3619
3619
|
function() {
|
|
@@ -3670,7 +3670,7 @@ function vl(t, n) {
|
|
|
3670
3670
|
function mn(i, l, h) {
|
|
3671
3671
|
if (l === void 0 && (l = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
|
|
3672
3672
|
return e.clear(l);
|
|
3673
|
-
Ht(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(),
|
|
3673
|
+
Ht(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), V(void 0, l), v(), e.selectedDates.length === 0 && e.clear(!1), We(l), l && ye("onChange");
|
|
3674
3674
|
}
|
|
3675
3675
|
function Jt(i) {
|
|
3676
3676
|
return i.slice().map(function(l) {
|
|
@@ -3998,20 +3998,20 @@ var ga = {}, kl = {
|
|
|
3998
3998
|
};
|
|
3999
3999
|
return e[o].call(s.exports, s, s.exports, r), s.l = !0, s.exports;
|
|
4000
4000
|
}
|
|
4001
|
-
return r.m = e, r.c = a, r.d = function(o, s,
|
|
4002
|
-
r.o(o, s) || Object.defineProperty(o, s, { enumerable: !0, get:
|
|
4001
|
+
return r.m = e, r.c = a, r.d = function(o, s, f) {
|
|
4002
|
+
r.o(o, s) || Object.defineProperty(o, s, { enumerable: !0, get: f });
|
|
4003
4003
|
}, r.r = function(o) {
|
|
4004
4004
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(o, "__esModule", { value: !0 });
|
|
4005
4005
|
}, r.t = function(o, s) {
|
|
4006
4006
|
if (s & 1 && (o = r(o)), s & 8 || s & 4 && typeof o == "object" && o && o.__esModule)
|
|
4007
4007
|
return o;
|
|
4008
|
-
var
|
|
4009
|
-
if (r.r(
|
|
4008
|
+
var f = /* @__PURE__ */ Object.create(null);
|
|
4009
|
+
if (r.r(f), Object.defineProperty(f, "default", { enumerable: !0, value: o }), s & 2 && typeof o != "string")
|
|
4010
4010
|
for (var u in o)
|
|
4011
|
-
r.d(
|
|
4011
|
+
r.d(f, u, function(p) {
|
|
4012
4012
|
return o[p];
|
|
4013
4013
|
}.bind(null, u));
|
|
4014
|
-
return
|
|
4014
|
+
return f;
|
|
4015
4015
|
}, r.n = function(o) {
|
|
4016
4016
|
var s = o && o.__esModule ? (
|
|
4017
4017
|
/******/
|
|
@@ -4050,7 +4050,7 @@ var ga = {}, kl = {
|
|
|
4050
4050
|
Object.defineProperty(a, "__esModule", { value: !0 }), a.ShortcutButtonsPlugin = void 0;
|
|
4051
4051
|
var s = {
|
|
4052
4052
|
theme: "light"
|
|
4053
|
-
},
|
|
4053
|
+
}, f = /* @__PURE__ */ new Set([
|
|
4054
4054
|
"accesskey",
|
|
4055
4055
|
"aria-label",
|
|
4056
4056
|
"class",
|
|
@@ -4064,25 +4064,25 @@ var ga = {}, kl = {
|
|
|
4064
4064
|
O.stopPropagation(), O.preventDefault();
|
|
4065
4065
|
var P = O.target;
|
|
4066
4066
|
if (!(P.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
|
|
4067
|
-
for (var
|
|
4067
|
+
for (var V = parseInt(P.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
|
|
4068
4068
|
var ee = ae[U];
|
|
4069
|
-
typeof ee == "function" && ee(
|
|
4069
|
+
typeof ee == "function" && ee(V, d);
|
|
4070
4070
|
}
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function F(O) {
|
|
4073
4073
|
var P = O.target;
|
|
4074
4074
|
O.key !== "Tab" || P.tagName.toLowerCase() !== "button" || (O.shiftKey && !P.previousSibling || !O.shiftKey && !P.nextSibling) && (O.preventDefault(), d.element.focus());
|
|
4075
4075
|
}
|
|
4076
4076
|
function y(O, P) {
|
|
4077
|
-
Object.keys(P).filter(function(
|
|
4078
|
-
return
|
|
4079
|
-
}).forEach(function(
|
|
4077
|
+
Object.keys(P).filter(function(V) {
|
|
4078
|
+
return f.has(V);
|
|
4079
|
+
}).forEach(function(V) {
|
|
4080
4080
|
var R;
|
|
4081
|
-
if (
|
|
4082
|
-
(R = O.classList).add.apply(R, P[
|
|
4081
|
+
if (V === "class") {
|
|
4082
|
+
(R = O.classList).add.apply(R, P[V].split(" "));
|
|
4083
4083
|
return;
|
|
4084
4084
|
}
|
|
4085
|
-
O.setAttribute(
|
|
4085
|
+
O.setAttribute(V, P[V]);
|
|
4086
4086
|
});
|
|
4087
4087
|
}
|
|
4088
4088
|
return {
|
|
@@ -4095,16 +4095,16 @@ var ga = {}, kl = {
|
|
|
4095
4095
|
O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = m.label, v.appendChild(O);
|
|
4096
4096
|
}
|
|
4097
4097
|
var P = document.createElement("div");
|
|
4098
|
-
P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(
|
|
4098
|
+
P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(V, R) {
|
|
4099
4099
|
var U = document.createElement("button");
|
|
4100
|
-
U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent =
|
|
4101
|
-
}), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown",
|
|
4100
|
+
U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = V.label, U.dataset.index = String(R), typeof V.attributes < "u" && y(U, V.attributes), P.appendChild(U), d.pluginElements.push(U);
|
|
4101
|
+
}), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", F);
|
|
4102
4102
|
},
|
|
4103
4103
|
/**
|
|
4104
4104
|
* Clean up before flatpickr is destroyed.
|
|
4105
4105
|
*/
|
|
4106
4106
|
onDestroy: function() {
|
|
4107
|
-
v.removeEventListener("keydown",
|
|
4107
|
+
v.removeEventListener("keydown", F), v.removeEventListener("click", k), v = void 0;
|
|
4108
4108
|
}
|
|
4109
4109
|
};
|
|
4110
4110
|
};
|
|
@@ -4200,7 +4200,7 @@ var Yn = {}, Al = {
|
|
|
4200
4200
|
r.l10ns.ar = o, r.l10ns;
|
|
4201
4201
|
var s = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4202
4202
|
l10ns: {}
|
|
4203
|
-
},
|
|
4203
|
+
}, f = {
|
|
4204
4204
|
weekdays: {
|
|
4205
4205
|
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
4206
4206
|
longhand: [
|
|
@@ -4250,7 +4250,7 @@ var Yn = {}, Al = {
|
|
|
4250
4250
|
toggleTitle: "Zum Umschalten klicken",
|
|
4251
4251
|
time_24hr: !0
|
|
4252
4252
|
};
|
|
4253
|
-
s.l10ns.at =
|
|
4253
|
+
s.l10ns.at = f, s.l10ns;
|
|
4254
4254
|
var u = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4255
4255
|
l10ns: {}
|
|
4256
4256
|
}, p = {
|
|
@@ -4415,7 +4415,7 @@ var Yn = {}, Al = {
|
|
|
4415
4415
|
time_24hr: !0
|
|
4416
4416
|
};
|
|
4417
4417
|
v.l10ns.bs = k, v.l10ns;
|
|
4418
|
-
var
|
|
4418
|
+
var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4419
4419
|
l10ns: {}
|
|
4420
4420
|
}, y = {
|
|
4421
4421
|
weekdays: {
|
|
@@ -4463,7 +4463,7 @@ var Yn = {}, Al = {
|
|
|
4463
4463
|
time_24hr: !0,
|
|
4464
4464
|
firstDayOfWeek: 1
|
|
4465
4465
|
};
|
|
4466
|
-
|
|
4466
|
+
F.l10ns.bg = y, F.l10ns;
|
|
4467
4467
|
var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4468
4468
|
l10ns: {}
|
|
4469
4469
|
}, P = {
|
|
@@ -4511,7 +4511,7 @@ var Yn = {}, Al = {
|
|
|
4511
4511
|
}
|
|
4512
4512
|
};
|
|
4513
4513
|
O.l10ns.bn = P, O.l10ns;
|
|
4514
|
-
var
|
|
4514
|
+
var V = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4515
4515
|
l10ns: {}
|
|
4516
4516
|
}, R = {
|
|
4517
4517
|
weekdays: {
|
|
@@ -4577,7 +4577,7 @@ var Yn = {}, Al = {
|
|
|
4577
4577
|
rangeSeparator: " a ",
|
|
4578
4578
|
time_24hr: !0
|
|
4579
4579
|
};
|
|
4580
|
-
|
|
4580
|
+
V.l10ns.cat = V.l10ns.ca = R, V.l10ns;
|
|
4581
4581
|
var U = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4582
4582
|
l10ns: {}
|
|
4583
4583
|
}, ae = {
|
|
@@ -6668,7 +6668,7 @@ var Yn = {}, Al = {
|
|
|
6668
6668
|
time_24hr: !0
|
|
6669
6669
|
};
|
|
6670
6670
|
it.l10ns.pt = kn, it.l10ns;
|
|
6671
|
-
var
|
|
6671
|
+
var Ft = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6672
6672
|
l10ns: {}
|
|
6673
6673
|
}, Cn = {
|
|
6674
6674
|
weekdays: {
|
|
@@ -6719,7 +6719,7 @@ var Yn = {}, Al = {
|
|
|
6719
6719
|
return "";
|
|
6720
6720
|
}
|
|
6721
6721
|
};
|
|
6722
|
-
|
|
6722
|
+
Ft.l10ns.ro = Cn, Ft.l10ns;
|
|
6723
6723
|
var An = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6724
6724
|
l10ns: {}
|
|
6725
6725
|
}, Dn = {
|
|
@@ -6987,9 +6987,9 @@ var Yn = {}, Al = {
|
|
|
6987
6987
|
time_24hr: !0
|
|
6988
6988
|
};
|
|
6989
6989
|
Pa.l10ns.sq = Ia, Pa.l10ns;
|
|
6990
|
-
var
|
|
6990
|
+
var Fa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6991
6991
|
l10ns: {}
|
|
6992
|
-
},
|
|
6992
|
+
}, Va = {
|
|
6993
6993
|
weekdays: {
|
|
6994
6994
|
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
|
|
6995
6995
|
longhand: [
|
|
@@ -7037,7 +7037,7 @@ var Yn = {}, Al = {
|
|
|
7037
7037
|
rangeSeparator: " do ",
|
|
7038
7038
|
time_24hr: !0
|
|
7039
7039
|
};
|
|
7040
|
-
|
|
7040
|
+
Fa.l10ns.sr = Va, Fa.l10ns;
|
|
7041
7041
|
var Ea = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
7042
7042
|
l10ns: {}
|
|
7043
7043
|
}, Na = {
|
|
@@ -7522,7 +7522,7 @@ var Yn = {}, Al = {
|
|
|
7522
7522
|
Qa.l10ns.zh_tw = Xa, Qa.l10ns;
|
|
7523
7523
|
var oo = {
|
|
7524
7524
|
ar: o,
|
|
7525
|
-
at:
|
|
7525
|
+
at: f,
|
|
7526
7526
|
az: p,
|
|
7527
7527
|
be: d,
|
|
7528
7528
|
bg: y,
|
|
@@ -7576,7 +7576,7 @@ var Yn = {}, Al = {
|
|
|
7576
7576
|
sk: Tn,
|
|
7577
7577
|
sl: Oa,
|
|
7578
7578
|
sq: Ia,
|
|
7579
|
-
sr:
|
|
7579
|
+
sr: Va,
|
|
7580
7580
|
sv: Na,
|
|
7581
7581
|
th: Ba,
|
|
7582
7582
|
tr: za,
|
|
@@ -7623,7 +7623,7 @@ const Ml = {
|
|
|
7623
7623
|
},
|
|
7624
7624
|
emits: ["change", "blur", "update:modelValue", "onOpen", "onClose"],
|
|
7625
7625
|
setup(t, { emit: n }) {
|
|
7626
|
-
const e = t, a = (C) => C !== null && typeof C.fp < "u", r = J(null), o = J(null), s = J(!1),
|
|
7626
|
+
const e = t, a = (C) => C !== null && typeof C.fp < "u", r = J(null), o = J(null), s = J(!1), f = J("sk"), u = J(""), p = J(null), { t: m } = G(), d = (C) => C.replace("Z", "000Z"), v = (C) => {
|
|
7627
7627
|
C !== e.modelValue && (n("update:modelValue", C), n("change"));
|
|
7628
7628
|
}, k = (C) => {
|
|
7629
7629
|
if (C === null || S(C)) {
|
|
@@ -7635,7 +7635,7 @@ const Ml = {
|
|
|
7635
7635
|
return;
|
|
7636
7636
|
}
|
|
7637
7637
|
v(d(C + ""));
|
|
7638
|
-
},
|
|
7638
|
+
}, F = () => {
|
|
7639
7639
|
P(), s.value = !0, n("onOpen");
|
|
7640
7640
|
}, y = () => {
|
|
7641
7641
|
s.value = !1, n("onClose");
|
|
@@ -7651,8 +7651,8 @@ const Ml = {
|
|
|
7651
7651
|
return;
|
|
7652
7652
|
}
|
|
7653
7653
|
(j = r.value) == null || j.fp.setDate(_, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7654
|
-
},
|
|
7655
|
-
p.value = e.defaultValue, n("update:modelValue",
|
|
7654
|
+
}, V = () => {
|
|
7655
|
+
p.value = e.defaultValue, n("update:modelValue", c(e.defaultValue));
|
|
7656
7656
|
}, R = x(() => e.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), U = x(() => e.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), ae = x(() => e.enable && e.enable.length > 0 ? e.enable : [
|
|
7657
7657
|
{
|
|
7658
7658
|
from: new Date(1901, 1),
|
|
@@ -7689,7 +7689,7 @@ const Ml = {
|
|
|
7689
7689
|
clickOpens: !1,
|
|
7690
7690
|
position: "auto right",
|
|
7691
7691
|
// @ts-ignore
|
|
7692
|
-
locale: { ...Dl[
|
|
7692
|
+
locale: { ...Dl[f.value] },
|
|
7693
7693
|
enable: ae.value,
|
|
7694
7694
|
weekNumbers: e.weekNumbers,
|
|
7695
7695
|
// @ts-ignore
|
|
@@ -7724,9 +7724,9 @@ const Ml = {
|
|
|
7724
7724
|
ref: o,
|
|
7725
7725
|
modelValue: u.value,
|
|
7726
7726
|
"onUpdate:modelValue": _[0] || (_[0] = (M) => u.value = M),
|
|
7727
|
-
"error-messages":
|
|
7727
|
+
"error-messages": c(D),
|
|
7728
7728
|
"persistent-placeholder": !0,
|
|
7729
|
-
placeholder:
|
|
7729
|
+
placeholder: c(U),
|
|
7730
7730
|
class: "a-datetime-picker",
|
|
7731
7731
|
onBlur: P,
|
|
7732
7732
|
onKeyup: wr(P, ["enter"])
|
|
@@ -7736,18 +7736,18 @@ const Ml = {
|
|
|
7736
7736
|
key: 0,
|
|
7737
7737
|
class: "a-datetime-picker__clearable",
|
|
7738
7738
|
icon: "mdi-close-circle",
|
|
7739
|
-
onClick: ne(
|
|
7739
|
+
onClick: ne(V, ["stop"])
|
|
7740
7740
|
}, null, 8, ["onClick"])) : Z("", !0),
|
|
7741
7741
|
te("div", null, [
|
|
7742
|
-
b(
|
|
7742
|
+
b(c(wl), {
|
|
7743
7743
|
ref_key: "flatickrRef",
|
|
7744
7744
|
ref: r,
|
|
7745
|
-
config:
|
|
7745
|
+
config: c(pe),
|
|
7746
7746
|
disabled: t.disabled,
|
|
7747
7747
|
"model-value": p.value,
|
|
7748
7748
|
"onUpdate:modelValue": k,
|
|
7749
7749
|
onOnClose: y,
|
|
7750
|
-
onOnOpen:
|
|
7750
|
+
onOnOpen: F,
|
|
7751
7751
|
onOnChange: O
|
|
7752
7752
|
}, null, 8, ["config", "disabled", "model-value"]),
|
|
7753
7753
|
b(me, {
|
|
@@ -7770,7 +7770,7 @@ const Ml = {
|
|
|
7770
7770
|
]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
|
|
7771
7771
|
}
|
|
7772
7772
|
});
|
|
7773
|
-
const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-
|
|
7773
|
+
const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-476a45eb"]]), ih = /* @__PURE__ */ L({
|
|
7774
7774
|
__name: "AFormDatetimePicker",
|
|
7775
7775
|
props: {
|
|
7776
7776
|
modelValue: null,
|
|
@@ -7785,7 +7785,7 @@ const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-6a404d76"]]), ih = /* @
|
|
|
7785
7785
|
setup(t, { emit: n }) {
|
|
7786
7786
|
const e = t, { t: a } = G(), r = we(at, void 0), o = we(rt, void 0), s = (d) => {
|
|
7787
7787
|
n("update:modelValue", d);
|
|
7788
|
-
},
|
|
7788
|
+
}, f = () => {
|
|
7789
7789
|
var d;
|
|
7790
7790
|
n("blur", S(e.modelValue) ? null : e.modelValue), (d = e.v) == null || d.$touch();
|
|
7791
7791
|
}, u = x(() => {
|
|
@@ -7806,11 +7806,11 @@ const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-6a404d76"]]), ih = /* @
|
|
|
7806
7806
|
return (d, v) => (w(), E(Qr, {
|
|
7807
7807
|
"model-value": t.modelValue,
|
|
7808
7808
|
"data-cy": t.dataCy,
|
|
7809
|
-
"error-messages":
|
|
7810
|
-
required:
|
|
7811
|
-
label:
|
|
7809
|
+
"error-messages": c(u),
|
|
7810
|
+
required: c(m),
|
|
7811
|
+
label: c(p),
|
|
7812
7812
|
clearable: t.clearable,
|
|
7813
|
-
onBlur:
|
|
7813
|
+
onBlur: f,
|
|
7814
7814
|
"onUpdate:modelValue": v[0] || (v[0] = (k) => s(k))
|
|
7815
7815
|
}, null, 8, ["model-value", "data-cy", "error-messages", "required", "label", "clearable"]));
|
|
7816
7816
|
}
|
|
@@ -7829,12 +7829,12 @@ const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-6a404d76"]]), ih = /* @
|
|
|
7829
7829
|
n("update:modelValue", { ...e.modelValue, model: s });
|
|
7830
7830
|
}
|
|
7831
7831
|
}), { t: r } = G(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
7832
|
-
return (s,
|
|
7833
|
-
modelValue:
|
|
7834
|
-
"onUpdate:modelValue":
|
|
7832
|
+
return (s, f) => (w(), E(Qr, {
|
|
7833
|
+
modelValue: c(a),
|
|
7834
|
+
"onUpdate:modelValue": f[0] || (f[0] = (u) => Ue(a) ? a.value = u : null),
|
|
7835
7835
|
clearable: !t.modelValue.mandatory,
|
|
7836
7836
|
"default-value": t.modelValue.default,
|
|
7837
|
-
label:
|
|
7837
|
+
label: c(o)
|
|
7838
7838
|
}, null, 8, ["modelValue", "clearable", "default-value", "label"]));
|
|
7839
7839
|
}
|
|
7840
7840
|
});
|
|
@@ -7886,7 +7886,7 @@ const Tl = {
|
|
|
7886
7886
|
set(M) {
|
|
7887
7887
|
n("update:modelValue", ft(M));
|
|
7888
7888
|
}
|
|
7889
|
-
}), r = J(""), o = J(!1), s = J(void 0), { t:
|
|
7889
|
+
}), r = J(""), o = J(!1), s = J(void 0), { t: f } = G({ useScope: "global" }), { innerFilter: u } = ba(e), p = we(at, void 0), m = we(rt, void 0), d = () => {
|
|
7890
7890
|
var M;
|
|
7891
7891
|
o.value = !0, n("blur", e.modelValue), (M = e.v) == null || M.$touch();
|
|
7892
7892
|
}, v = x(() => {
|
|
@@ -7899,13 +7899,13 @@ const Tl = {
|
|
|
7899
7899
|
if (S(p) || S(m) || S((T = e.v) == null ? void 0 : T.$path))
|
|
7900
7900
|
return "";
|
|
7901
7901
|
const { end: M } = lt((j = e.v) == null ? void 0 : j.$path, ".");
|
|
7902
|
-
return
|
|
7903
|
-
}),
|
|
7902
|
+
return f(p + "." + m + ".model." + M);
|
|
7903
|
+
}), F = x(() => {
|
|
7904
7904
|
var M, T;
|
|
7905
7905
|
return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((T = e.v) == null ? void 0 : T.required.$params.type) === "required" : e.required;
|
|
7906
|
-
}), y = x(() => e.multiple !== !1), O = Kn(), P = J([]),
|
|
7906
|
+
}), y = x(() => e.multiple !== !1), O = Kn(), P = J([]), V = J([]), R = x(() => {
|
|
7907
7907
|
const M = /* @__PURE__ */ new Map();
|
|
7908
|
-
return
|
|
7908
|
+
return V.value.forEach((T) => {
|
|
7909
7909
|
M.set(T.value, { value: T.value, title: T.title });
|
|
7910
7910
|
}), P.value.forEach((T) => {
|
|
7911
7911
|
M.set(T.value, { value: T.value, title: T.title });
|
|
@@ -7919,7 +7919,7 @@ const Tl = {
|
|
|
7919
7919
|
return [].concat(T);
|
|
7920
7920
|
}, pe = async (M) => {
|
|
7921
7921
|
let T = 1, j = [];
|
|
7922
|
-
return Oe(M) ? (T = M.length, j = ue(M)) : j = ue([M]),
|
|
7922
|
+
return Oe(M) ? (T = M.length, j = ue(M)) : j = ue([M]), V.value = j, j.length === T;
|
|
7923
7923
|
}, ie = J(!1), Q = () => {
|
|
7924
7924
|
clearTimeout(s.value), s.value = void 0;
|
|
7925
7925
|
}, Me = async () => {
|
|
@@ -7927,8 +7927,8 @@ const Tl = {
|
|
|
7927
7927
|
}, W = () => {
|
|
7928
7928
|
o.value = !0, Q(), Me();
|
|
7929
7929
|
}, D = x(() => {
|
|
7930
|
-
if (!e.multiple &&
|
|
7931
|
-
return
|
|
7930
|
+
if (!e.multiple && V.value[0])
|
|
7931
|
+
return V.value[0].title;
|
|
7932
7932
|
}), C = (M) => {
|
|
7933
7933
|
!e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
|
|
7934
7934
|
}, _ = async () => {
|
|
@@ -7944,7 +7944,7 @@ const Tl = {
|
|
|
7944
7944
|
if (M === T)
|
|
7945
7945
|
return;
|
|
7946
7946
|
if (ve(M) || S(M) || Oe(M) && M.length === 0) {
|
|
7947
|
-
if (
|
|
7947
|
+
if (V.value = [], e.disableInitFetch || ie.value === !0)
|
|
7948
7948
|
return;
|
|
7949
7949
|
s.value = setTimeout(() => {
|
|
7950
7950
|
Me();
|
|
@@ -7953,10 +7953,10 @@ const Tl = {
|
|
|
7953
7953
|
}
|
|
7954
7954
|
if (!await pe(M)) {
|
|
7955
7955
|
if (Oe(M)) {
|
|
7956
|
-
U.value = !0,
|
|
7956
|
+
U.value = !0, V.value = await e.fetchItemsByIds(M), U.value = !1;
|
|
7957
7957
|
return;
|
|
7958
7958
|
}
|
|
7959
|
-
U.value = !0,
|
|
7959
|
+
U.value = !0, V.value = await e.fetchItemsByIds([M]), U.value = !1;
|
|
7960
7960
|
}
|
|
7961
7961
|
},
|
|
7962
7962
|
{ immediate: !0 }
|
|
@@ -7969,16 +7969,16 @@ const Tl = {
|
|
|
7969
7969
|
), Ie(r, (M, T) => {
|
|
7970
7970
|
M !== T && n("searchChange", M);
|
|
7971
7971
|
}), (M, T) => (w(), E(on, {
|
|
7972
|
-
modelValue:
|
|
7972
|
+
modelValue: c(a),
|
|
7973
7973
|
"onUpdate:modelValue": T[0] || (T[0] = (j) => Ue(a) ? a.value = j : null),
|
|
7974
|
-
items:
|
|
7974
|
+
items: c(R),
|
|
7975
7975
|
"no-filter": "",
|
|
7976
|
-
multiple:
|
|
7976
|
+
multiple: c(y),
|
|
7977
7977
|
clearable: t.clearable,
|
|
7978
|
-
"error-messages":
|
|
7978
|
+
"error-messages": c(v),
|
|
7979
7979
|
chips: t.multiple,
|
|
7980
7980
|
"hide-details": t.hideDetails,
|
|
7981
|
-
loading:
|
|
7981
|
+
loading: c(ae),
|
|
7982
7982
|
"onUpdate:search": C,
|
|
7983
7983
|
onBlur: d,
|
|
7984
7984
|
onFocus: W,
|
|
@@ -7986,10 +7986,10 @@ const Tl = {
|
|
|
7986
7986
|
}, {
|
|
7987
7987
|
label: g(() => [
|
|
7988
7988
|
t.hideLabel ? Z("", !0) : (w(), H("span", {
|
|
7989
|
-
key:
|
|
7989
|
+
key: c(F) + ""
|
|
7990
7990
|
}, [
|
|
7991
|
-
B($(
|
|
7992
|
-
|
|
7991
|
+
B($(c(k)) + " ", 1),
|
|
7992
|
+
c(F) ? (w(), H("span", Tl)) : Z("", !0)
|
|
7993
7993
|
]))
|
|
7994
7994
|
]),
|
|
7995
7995
|
_: 1
|
|
@@ -8009,42 +8009,41 @@ const Tl = {
|
|
|
8009
8009
|
emits: ["update:modelValue"],
|
|
8010
8010
|
setup(t, { emit: n }) {
|
|
8011
8011
|
const e = t, { t: a } = G(), r = we(at, void 0), o = we(rt, void 0), s = x(() => {
|
|
8012
|
-
var
|
|
8012
|
+
var F, y;
|
|
8013
8013
|
if (!S(e.label))
|
|
8014
8014
|
return e.label;
|
|
8015
|
-
if (S(r) || S(o) || S((
|
|
8015
|
+
if (S(r) || S(o) || S((F = e.v) == null ? void 0 : F.$path))
|
|
8016
8016
|
return "";
|
|
8017
8017
|
const { end: k } = lt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8018
8018
|
return a(r + "." + o + ".model." + k);
|
|
8019
|
-
}),
|
|
8020
|
-
if (
|
|
8019
|
+
}), f = J(!1), u = J(!1), p = J(""), m = x(() => e.modelValue), d = J(e.modelValue), v = async () => {
|
|
8020
|
+
if (f.value)
|
|
8021
8021
|
return;
|
|
8022
|
-
if (
|
|
8023
|
-
const
|
|
8024
|
-
n("update:modelValue", !
|
|
8022
|
+
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8023
|
+
const F = await e.callbackToFalse();
|
|
8024
|
+
n("update:modelValue", !F), d.value = !F, F || (u.value = !0), f.value = !1;
|
|
8025
8025
|
return;
|
|
8026
8026
|
}
|
|
8027
8027
|
const k = await e.callbackToTrue();
|
|
8028
|
-
n("update:modelValue", k), d.value = k, k || (u.value = !0),
|
|
8028
|
+
n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
|
|
8029
8029
|
};
|
|
8030
|
-
return Ie(m, (k,
|
|
8031
|
-
k !==
|
|
8030
|
+
return Ie(m, (k, F) => {
|
|
8031
|
+
k !== F && (d.value = k, u.value = !1);
|
|
8032
8032
|
}), Bt(() => {
|
|
8033
8033
|
p.value = "remote-switch-" + Date.now();
|
|
8034
|
-
}), (k,
|
|
8035
|
-
b(
|
|
8034
|
+
}), (k, F) => (w(), H("div", Sl, [
|
|
8035
|
+
b(Vo, {
|
|
8036
8036
|
id: p.value,
|
|
8037
8037
|
modelValue: d.value,
|
|
8038
|
-
"onUpdate:modelValue":
|
|
8039
|
-
|
|
8040
|
-
disabled: c.value,
|
|
8038
|
+
"onUpdate:modelValue": F[0] || (F[0] = (y) => d.value = y),
|
|
8039
|
+
disabled: f.value,
|
|
8041
8040
|
onClick: ne(v, ["stop"])
|
|
8042
|
-
}, null, 8, ["id", "modelValue", "
|
|
8041
|
+
}, null, 8, ["id", "modelValue", "disabled", "onClick"]),
|
|
8043
8042
|
t.hideLabel ? Z("", !0) : (w(), H("label", {
|
|
8044
8043
|
key: 0,
|
|
8045
8044
|
for: p.value,
|
|
8046
8045
|
class: "v-label v-label--clickable"
|
|
8047
|
-
}, $(
|
|
8046
|
+
}, $(c(s)), 9, $l))
|
|
8048
8047
|
]));
|
|
8049
8048
|
}
|
|
8050
8049
|
}), Ol = { class: "d-flex" }, Pl = ["for"], ch = /* @__PURE__ */ L({
|
|
@@ -8061,29 +8060,29 @@ const Tl = {
|
|
|
8061
8060
|
emits: ["update:modelValue"],
|
|
8062
8061
|
setup(t, { emit: n }) {
|
|
8063
8062
|
const e = t, { t: a } = G(), r = we(at, void 0), o = we(rt, void 0), s = x(() => {
|
|
8064
|
-
var
|
|
8063
|
+
var F, y;
|
|
8065
8064
|
if (!S(e.label))
|
|
8066
8065
|
return e.label;
|
|
8067
|
-
if (S(r) || S(o) || S((
|
|
8066
|
+
if (S(r) || S(o) || S((F = e.v) == null ? void 0 : F.$path))
|
|
8068
8067
|
return "";
|
|
8069
8068
|
const { end: k } = lt((y = e.v) == null ? void 0 : y.$path, ".");
|
|
8070
8069
|
return a(r + "." + o + ".model." + k);
|
|
8071
|
-
}),
|
|
8072
|
-
if (
|
|
8070
|
+
}), f = J(!1), u = J(!1), p = J(""), m = x(() => e.modelValue), d = J(e.modelValue), v = async () => {
|
|
8071
|
+
if (f.value)
|
|
8073
8072
|
return;
|
|
8074
|
-
if (
|
|
8075
|
-
const
|
|
8076
|
-
n("update:modelValue", !
|
|
8073
|
+
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8074
|
+
const F = await e.callbackToFalse();
|
|
8075
|
+
n("update:modelValue", !F), d.value = !F, F || (u.value = !0), f.value = !1;
|
|
8077
8076
|
return;
|
|
8078
8077
|
}
|
|
8079
8078
|
const k = await e.callbackToTrue();
|
|
8080
|
-
n("update:modelValue", k), d.value = k, k || (u.value = !0),
|
|
8079
|
+
n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
|
|
8081
8080
|
};
|
|
8082
|
-
return Ie(m, (k,
|
|
8083
|
-
k !==
|
|
8081
|
+
return Ie(m, (k, F) => {
|
|
8082
|
+
k !== F && (d.value = k, u.value = !1);
|
|
8084
8083
|
}), Bt(() => {
|
|
8085
8084
|
p.value = "a-remote-switch-" + Date.now();
|
|
8086
|
-
}), (k,
|
|
8085
|
+
}), (k, F) => (w(), H("div", Ol, [
|
|
8087
8086
|
b(oe, {
|
|
8088
8087
|
id: p.value,
|
|
8089
8088
|
icon: "",
|
|
@@ -8097,9 +8096,9 @@ const Tl = {
|
|
|
8097
8096
|
default: g(() => [
|
|
8098
8097
|
b(Eo, {
|
|
8099
8098
|
modelValue: d.value,
|
|
8100
|
-
"onUpdate:modelValue":
|
|
8101
|
-
loading:
|
|
8102
|
-
disabled:
|
|
8099
|
+
"onUpdate:modelValue": F[0] || (F[0] = (y) => d.value = y),
|
|
8100
|
+
loading: f.value,
|
|
8101
|
+
disabled: f.value,
|
|
8103
8102
|
"hide-details": t.hideDetails,
|
|
8104
8103
|
density: "compact",
|
|
8105
8104
|
onClick: ne(v, ["stop"])
|
|
@@ -8124,11 +8123,11 @@ const Tl = {
|
|
|
8124
8123
|
key: 0,
|
|
8125
8124
|
for: p.value,
|
|
8126
8125
|
class: "v-label v-label--clickable"
|
|
8127
|
-
}, $(
|
|
8126
|
+
}, $(c(s)), 9, Pl))
|
|
8128
8127
|
]));
|
|
8129
8128
|
}
|
|
8130
8129
|
});
|
|
8131
|
-
const Il = { key: 0 },
|
|
8130
|
+
const Il = { key: 0 }, Fl = {
|
|
8132
8131
|
key: 0,
|
|
8133
8132
|
class: "required"
|
|
8134
8133
|
}, fh = /* @__PURE__ */ L({
|
|
@@ -8155,40 +8154,40 @@ const Il = { key: 0 }, Vl = {
|
|
|
8155
8154
|
set(v) {
|
|
8156
8155
|
n("update:modelValue", ft(v));
|
|
8157
8156
|
}
|
|
8158
|
-
}), r = we(at, void 0), o = we(rt, void 0), { t: s } = G(),
|
|
8157
|
+
}), r = we(at, void 0), o = we(rt, void 0), { t: s } = G(), f = () => {
|
|
8159
8158
|
var v;
|
|
8160
8159
|
n("blur", e.modelValue), (v = e.v) == null || v.$touch();
|
|
8161
8160
|
}, u = x(() => {
|
|
8162
8161
|
var v, k;
|
|
8163
|
-
return S(e.errorMessage) ? (k = (v = e.v) == null ? void 0 : v.$errors) != null && k.length ? e.v.$errors.map((
|
|
8162
|
+
return S(e.errorMessage) ? (k = (v = e.v) == null ? void 0 : v.$errors) != null && k.length ? e.v.$errors.map((F) => F.$message) : [] : [e.errorMessage];
|
|
8164
8163
|
}), p = x(() => {
|
|
8165
|
-
var k,
|
|
8164
|
+
var k, F;
|
|
8166
8165
|
if (!S(e.label))
|
|
8167
8166
|
return e.label;
|
|
8168
8167
|
if (S(r) || S(o) || S((k = e.v) == null ? void 0 : k.$path))
|
|
8169
8168
|
return "";
|
|
8170
|
-
const { end: v } = lt((
|
|
8169
|
+
const { end: v } = lt((F = e.v) == null ? void 0 : F.$path, ".");
|
|
8171
8170
|
return s(r + "." + o + ".model." + v);
|
|
8172
8171
|
}), m = x(() => {
|
|
8173
8172
|
var v, k;
|
|
8174
8173
|
return S(e.required) ? !!((v = e.v) != null && v.required && ((k = e.v) == null ? void 0 : k.required.$params.type) === "required") : e.required;
|
|
8175
8174
|
}), d = x(() => e.multiple !== !1);
|
|
8176
8175
|
return (v, k) => (w(), E(on, {
|
|
8177
|
-
modelValue:
|
|
8178
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
8176
|
+
modelValue: c(a),
|
|
8177
|
+
"onUpdate:modelValue": k[0] || (k[0] = (F) => Ue(a) ? a.value = F : null),
|
|
8179
8178
|
items: t.items,
|
|
8180
8179
|
"item-title": "title",
|
|
8181
8180
|
"item-value": "value",
|
|
8182
|
-
multiple:
|
|
8181
|
+
multiple: c(d),
|
|
8183
8182
|
clearable: t.clearable,
|
|
8184
|
-
"error-messages":
|
|
8183
|
+
"error-messages": c(u),
|
|
8185
8184
|
"data-cy": t.dataCy,
|
|
8186
|
-
onBlur:
|
|
8185
|
+
onBlur: f
|
|
8187
8186
|
}, {
|
|
8188
8187
|
label: g(() => [
|
|
8189
8188
|
t.hideLabel ? Z("", !0) : (w(), H("span", Il, [
|
|
8190
|
-
B($(
|
|
8191
|
-
|
|
8189
|
+
B($(c(p)), 1),
|
|
8190
|
+
c(m) ? (w(), H("span", Fl)) : Z("", !0)
|
|
8192
8191
|
]))
|
|
8193
8192
|
]),
|
|
8194
8193
|
_: 1
|
|
@@ -8206,21 +8205,21 @@ const Il = { key: 0 }, Vl = {
|
|
|
8206
8205
|
get() {
|
|
8207
8206
|
return e.modelValue.model;
|
|
8208
8207
|
},
|
|
8209
|
-
set(
|
|
8210
|
-
n("update:modelValue", { ...e.modelValue, model:
|
|
8208
|
+
set(u) {
|
|
8209
|
+
n("update:modelValue", { ...e.modelValue, model: u }), n("change");
|
|
8211
8210
|
}
|
|
8212
|
-
}), { t: o } = G(), s = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0);
|
|
8213
|
-
return (
|
|
8214
|
-
modelValue:
|
|
8215
|
-
"onUpdate:modelValue":
|
|
8211
|
+
}), { t: o } = G(), s = x(() => e.modelValue.titleT ? o(e.modelValue.titleT) : void 0), f = x(() => e.modelValue.multiple !== !1);
|
|
8212
|
+
return (u, p) => (w(), E(on, {
|
|
8213
|
+
modelValue: c(r),
|
|
8214
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => Ue(r) ? r.value = m : null),
|
|
8216
8215
|
items: t.items,
|
|
8217
8216
|
chips: t.modelValue.multiple,
|
|
8218
|
-
label:
|
|
8219
|
-
multiple:
|
|
8217
|
+
label: c(s),
|
|
8218
|
+
multiple: c(f),
|
|
8220
8219
|
clearable: !t.modelValue.mandatory,
|
|
8221
8220
|
"data-cy": "filter-value",
|
|
8222
|
-
onClear:
|
|
8223
|
-
onChange:
|
|
8221
|
+
onClear: p[1] || (p[1] = (m) => c(a)(t.modelValue)),
|
|
8222
|
+
onChange: p[2] || (p[2] = (m) => n("change"))
|
|
8224
8223
|
}, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
|
|
8225
8224
|
}
|
|
8226
8225
|
}), ph = /* @__PURE__ */ L({
|
|
@@ -8243,11 +8242,11 @@ const Il = { key: 0 }, Vl = {
|
|
|
8243
8242
|
set(W) {
|
|
8244
8243
|
n("update:modelValue", { ...e.modelValue, model: ft(W) });
|
|
8245
8244
|
}
|
|
8246
|
-
}), r = J(""), o = J(!1), s = J(void 0), { t:
|
|
8245
|
+
}), r = J(""), o = J(!1), s = J(void 0), { t: f } = G({ useScope: "global" }), { innerFilter: u } = ba(e), p = () => {
|
|
8247
8246
|
o.value = !0;
|
|
8248
|
-
}, m = x(() => e.modelValue.titleT ?
|
|
8247
|
+
}, m = x(() => e.modelValue.titleT ? f(e.modelValue.titleT) : void 0), d = x(() => e.modelValue.multiple !== !1), v = Kn(), k = J([]), F = J([]), y = x(() => {
|
|
8249
8248
|
const W = /* @__PURE__ */ new Map();
|
|
8250
|
-
return
|
|
8249
|
+
return F.value.forEach((D) => {
|
|
8251
8250
|
W.set(D.value, { value: D.value, title: D.title });
|
|
8252
8251
|
}), k.value.forEach((D) => {
|
|
8253
8252
|
W.set(D.value, { value: D.value, title: D.title });
|
|
@@ -8256,12 +8255,12 @@ const Il = { key: 0 }, Vl = {
|
|
|
8256
8255
|
O.value = !0;
|
|
8257
8256
|
const D = u.value[e.filterByField];
|
|
8258
8257
|
D.model = W, k.value = await e.fetchItems(v, u.value), O.value = !1;
|
|
8259
|
-
},
|
|
8258
|
+
}, V = (W) => {
|
|
8260
8259
|
const D = y.value.filter((C) => W.includes(C.value));
|
|
8261
8260
|
return [].concat(D);
|
|
8262
8261
|
}, R = async (W) => {
|
|
8263
8262
|
let D = 1, C = [];
|
|
8264
|
-
return Oe(W) ? (D = W.length, C =
|
|
8263
|
+
return Oe(W) ? (D = W.length, C = V(W)) : C = V([W]), F.value = C, C.length === D;
|
|
8265
8264
|
}, U = J(!1), ae = () => {
|
|
8266
8265
|
clearTimeout(s.value), s.value = void 0;
|
|
8267
8266
|
}, ee = async () => {
|
|
@@ -8269,8 +8268,8 @@ const Il = { key: 0 }, Vl = {
|
|
|
8269
8268
|
}, ue = () => {
|
|
8270
8269
|
o.value = !0, ae(), ee();
|
|
8271
8270
|
}, pe = x(() => {
|
|
8272
|
-
if (!e.modelValue.multiple &&
|
|
8273
|
-
return
|
|
8271
|
+
if (!e.modelValue.multiple && F.value[0])
|
|
8272
|
+
return F.value[0].title;
|
|
8274
8273
|
}), ie = (W) => {
|
|
8275
8274
|
!e.modelValue.multiple && !o.value && W.length === 0 || pe.value !== W && (r.value = W);
|
|
8276
8275
|
}, Q = async () => {
|
|
@@ -8279,14 +8278,14 @@ const Il = { key: 0 }, Vl = {
|
|
|
8279
8278
|
return;
|
|
8280
8279
|
}
|
|
8281
8280
|
a.value = null;
|
|
8282
|
-
}, Me = x(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ?
|
|
8281
|
+
}, Me = x(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? f("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? f("common.model.filterPlaceholder.contains") : "" : e.placeholder);
|
|
8283
8282
|
return Ie(
|
|
8284
8283
|
a,
|
|
8285
8284
|
async (W, D) => {
|
|
8286
8285
|
if (W === D)
|
|
8287
8286
|
return;
|
|
8288
8287
|
if (ve(W) || S(W) || Oe(W) && W.length === 0) {
|
|
8289
|
-
if (
|
|
8288
|
+
if (F.value = [], e.disableInitFetch || U.value === !0)
|
|
8290
8289
|
return;
|
|
8291
8290
|
s.value = setTimeout(() => {
|
|
8292
8291
|
ee();
|
|
@@ -8295,10 +8294,10 @@ const Il = { key: 0 }, Vl = {
|
|
|
8295
8294
|
}
|
|
8296
8295
|
if (!await R(W)) {
|
|
8297
8296
|
if (Oe(W)) {
|
|
8298
|
-
O.value = !0,
|
|
8297
|
+
O.value = !0, F.value = await e.fetchItemsByIds(W), O.value = !1;
|
|
8299
8298
|
return;
|
|
8300
8299
|
}
|
|
8301
|
-
O.value = !0,
|
|
8300
|
+
O.value = !0, F.value = await e.fetchItemsByIds([W]), O.value = !1;
|
|
8302
8301
|
}
|
|
8303
8302
|
},
|
|
8304
8303
|
{ immediate: !0 }
|
|
@@ -8309,14 +8308,14 @@ const Il = { key: 0 }, Vl = {
|
|
|
8309
8308
|
},
|
|
8310
8309
|
{ debounce: 300, maxWait: 1e3 }
|
|
8311
8310
|
), (W, D) => (w(), E(on, {
|
|
8312
|
-
modelValue:
|
|
8311
|
+
modelValue: c(a),
|
|
8313
8312
|
"onUpdate:modelValue": D[0] || (D[0] = (C) => Ue(a) ? a.value = C : null),
|
|
8314
|
-
items:
|
|
8313
|
+
items: c(y),
|
|
8315
8314
|
"no-filter": "",
|
|
8316
|
-
placeholder:
|
|
8317
|
-
multiple:
|
|
8315
|
+
placeholder: c(Me),
|
|
8316
|
+
multiple: c(d),
|
|
8318
8317
|
clearable: !t.modelValue.mandatory,
|
|
8319
|
-
label:
|
|
8318
|
+
label: c(m),
|
|
8320
8319
|
chips: t.modelValue.multiple,
|
|
8321
8320
|
loading: O.value,
|
|
8322
8321
|
"onUpdate:search": ie,
|
|
@@ -8325,7 +8324,7 @@ const Il = { key: 0 }, Vl = {
|
|
|
8325
8324
|
"onClick:clear": Q
|
|
8326
8325
|
}, null, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
|
|
8327
8326
|
}
|
|
8328
|
-
}),
|
|
8327
|
+
}), Vl = { class: "a-filter-boolean-group d-flex flex-column align-left justify-center mb-2" }, El = /* @__PURE__ */ L({
|
|
8329
8328
|
__name: "AFilterBooleanGroup",
|
|
8330
8329
|
props: {
|
|
8331
8330
|
modelValue: null
|
|
@@ -8340,36 +8339,35 @@ const Il = { key: 0 }, Vl = {
|
|
|
8340
8339
|
n("update:modelValue", { ...e.modelValue, model: s });
|
|
8341
8340
|
}
|
|
8342
8341
|
}), { t: r } = G(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
|
|
8343
|
-
return (s,
|
|
8342
|
+
return (s, f) => (w(), H("div", Vl, [
|
|
8344
8343
|
b(Ar, { class: "pr-1" }, {
|
|
8345
8344
|
default: g(() => [
|
|
8346
|
-
te("span", null, $(
|
|
8345
|
+
te("span", null, $(c(o)), 1)
|
|
8347
8346
|
]),
|
|
8348
8347
|
_: 1
|
|
8349
8348
|
}),
|
|
8350
8349
|
b(Wn, {
|
|
8351
|
-
modelValue:
|
|
8352
|
-
"onUpdate:modelValue":
|
|
8353
|
-
size: "small"
|
|
8350
|
+
modelValue: c(a),
|
|
8351
|
+
"onUpdate:modelValue": f[0] || (f[0] = (u) => Ue(a) ? a.value = u : null)
|
|
8354
8352
|
}, {
|
|
8355
8353
|
default: g(() => [
|
|
8356
8354
|
b(oe, {
|
|
8357
8355
|
size: "small",
|
|
8358
8356
|
value: !0,
|
|
8359
|
-
color:
|
|
8357
|
+
color: c(a) === !0 ? "secondary" : ""
|
|
8360
8358
|
}, {
|
|
8361
8359
|
default: g(() => [
|
|
8362
|
-
B($(
|
|
8360
|
+
B($(c(r)("common.model.boolean.true")), 1)
|
|
8363
8361
|
]),
|
|
8364
8362
|
_: 1
|
|
8365
8363
|
}, 8, ["color"]),
|
|
8366
8364
|
b(oe, {
|
|
8367
8365
|
size: "small",
|
|
8368
8366
|
value: !1,
|
|
8369
|
-
color:
|
|
8367
|
+
color: c(a) === !1 ? "secondary" : ""
|
|
8370
8368
|
}, {
|
|
8371
8369
|
default: g(() => [
|
|
8372
|
-
B($(
|
|
8370
|
+
B($(c(r)("common.model.boolean.false")), 1)
|
|
8373
8371
|
]),
|
|
8374
8372
|
_: 1
|
|
8375
8373
|
}, 8, ["color"])
|
|
@@ -8379,7 +8377,7 @@ const Il = { key: 0 }, Vl = {
|
|
|
8379
8377
|
]));
|
|
8380
8378
|
}
|
|
8381
8379
|
});
|
|
8382
|
-
const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-
|
|
8380
|
+
const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-1289394c"]]), gh = /* @__PURE__ */ L({
|
|
8383
8381
|
__name: "AFilterBooleanSelect",
|
|
8384
8382
|
props: {
|
|
8385
8383
|
modelValue: null
|
|
@@ -8390,20 +8388,20 @@ const hh = /* @__PURE__ */ vt(El, [["__scopeId", "data-v-2ee04bbf"]]), gh = /* @
|
|
|
8390
8388
|
get() {
|
|
8391
8389
|
return S(e.modelValue.model) || ve(e.modelValue.model) ? -1 : e.modelValue.model ? 1 : 0;
|
|
8392
8390
|
},
|
|
8393
|
-
set(
|
|
8391
|
+
set(f) {
|
|
8394
8392
|
let u = null;
|
|
8395
|
-
|
|
8393
|
+
f === 1 && (u = !0), f === 0 && (u = !1), n("update:modelValue", { ...e.modelValue, model: u });
|
|
8396
8394
|
}
|
|
8397
8395
|
}), { t: r } = G(), o = x(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0), s = x(() => [
|
|
8398
8396
|
{ value: -1, title: r("common.model.notSelected") },
|
|
8399
8397
|
{ value: 1, title: r("common.model.boolean.true") },
|
|
8400
8398
|
{ value: 0, title: r("common.model.boolean.false") }
|
|
8401
8399
|
]);
|
|
8402
|
-
return (
|
|
8403
|
-
modelValue:
|
|
8400
|
+
return (f, u) => (w(), E(No, {
|
|
8401
|
+
modelValue: c(a),
|
|
8404
8402
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => Ue(a) ? a.value = p : null),
|
|
8405
|
-
label:
|
|
8406
|
-
items:
|
|
8403
|
+
label: c(o),
|
|
8404
|
+
items: c(s)
|
|
8407
8405
|
}, null, 8, ["modelValue", "label", "items"]));
|
|
8408
8406
|
}
|
|
8409
8407
|
});
|
|
@@ -8451,14 +8449,14 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8451
8449
|
return (r, o) => {
|
|
8452
8450
|
var s;
|
|
8453
8451
|
return w(), E(ct, {
|
|
8454
|
-
color: (s =
|
|
8452
|
+
color: (s = c(a)) == null ? void 0 : s.color,
|
|
8455
8453
|
label: "",
|
|
8456
8454
|
size: "small"
|
|
8457
8455
|
}, {
|
|
8458
8456
|
default: g(() => {
|
|
8459
|
-
var
|
|
8457
|
+
var f;
|
|
8460
8458
|
return [
|
|
8461
|
-
B($((
|
|
8459
|
+
B($((f = c(a)) == null ? void 0 : f.title), 1)
|
|
8462
8460
|
];
|
|
8463
8461
|
}),
|
|
8464
8462
|
_: 1
|
|
@@ -8492,7 +8490,7 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8492
8490
|
fallbackIdText: { type: Boolean, default: !1 }
|
|
8493
8491
|
},
|
|
8494
8492
|
setup(t) {
|
|
8495
|
-
const n = t, e = Ca(), a = tr(void 0), r = tr(!1), o = x(() => n.getCachedFn(n.id)), s = x(() => n.title.length > 0 ? n.title : a.value ? Ur(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""),
|
|
8493
|
+
const n = t, e = Ca(), a = tr(void 0), r = tr(!1), o = x(() => n.getCachedFn(n.id)), s = x(() => n.title.length > 0 ? n.title : a.value ? Ur(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), f = () => {
|
|
8496
8494
|
e.push({ name: n.route, params: { id: n.id } });
|
|
8497
8495
|
};
|
|
8498
8496
|
return Ie(
|
|
@@ -8504,11 +8502,11 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8504
8502
|
), (u, p) => (w(), H("div", {
|
|
8505
8503
|
class: be(t.containerClass)
|
|
8506
8504
|
}, [
|
|
8507
|
-
|
|
8505
|
+
c(ve)(t.id) || c(S)(t.id) ? _e(u.$slots, "empty", { key: 0 }, () => [
|
|
8508
8506
|
B(" - ")
|
|
8509
8507
|
]) : t.textOnly ? (w(), H("div", jl, [
|
|
8510
|
-
B($(
|
|
8511
|
-
!
|
|
8508
|
+
B($(c(s)) + " ", 1),
|
|
8509
|
+
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8512
8510
|
key: 0,
|
|
8513
8511
|
size: 12,
|
|
8514
8512
|
width: 2,
|
|
@@ -8521,8 +8519,8 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8521
8519
|
label: t.forceRounded ? void 0 : !0
|
|
8522
8520
|
}, {
|
|
8523
8521
|
default: g(() => [
|
|
8524
|
-
B($(
|
|
8525
|
-
!
|
|
8522
|
+
B($(c(s)) + " ", 1),
|
|
8523
|
+
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8526
8524
|
key: 0,
|
|
8527
8525
|
size: 12,
|
|
8528
8526
|
width: 2,
|
|
@@ -8534,13 +8532,13 @@ const Ll = /* @__PURE__ */ L({
|
|
|
8534
8532
|
}, 8, ["size", "label"])) : (w(), E(ct, {
|
|
8535
8533
|
key: 3,
|
|
8536
8534
|
size: t.size,
|
|
8537
|
-
"append-icon": t.openInNew ?
|
|
8535
|
+
"append-icon": t.openInNew ? c(mr).CHIP.ICON.LINK_EXTERNAL : c(mr).CHIP.ICON.LINK,
|
|
8538
8536
|
label: t.forceRounded ? void 0 : !0,
|
|
8539
|
-
onClick: ne(
|
|
8537
|
+
onClick: ne(f, ["stop"])
|
|
8540
8538
|
}, {
|
|
8541
8539
|
default: g(() => [
|
|
8542
|
-
B($(
|
|
8543
|
-
!
|
|
8540
|
+
B($(c(s)) + " ", 1),
|
|
8541
|
+
!c(r) && t.title.length === 0 ? (w(), E(Xn, {
|
|
8544
8542
|
key: 0,
|
|
8545
8543
|
size: 12,
|
|
8546
8544
|
width: 2,
|
|
@@ -8609,14 +8607,14 @@ const yh = /* @__PURE__ */ L({
|
|
|
8609
8607
|
},
|
|
8610
8608
|
setup(t) {
|
|
8611
8609
|
const n = t, { getLogLevelOption: e } = Rl(), a = x(() => e(n.level));
|
|
8612
|
-
return (r, o) =>
|
|
8610
|
+
return (r, o) => c(a) ? (w(), E(ct, {
|
|
8613
8611
|
key: 0,
|
|
8614
|
-
color:
|
|
8612
|
+
color: c(a).color,
|
|
8615
8613
|
label: "",
|
|
8616
8614
|
size: "small"
|
|
8617
8615
|
}, {
|
|
8618
8616
|
default: g(() => [
|
|
8619
|
-
B($(
|
|
8617
|
+
B($(c(a).title), 1)
|
|
8620
8618
|
]),
|
|
8621
8619
|
_: 1
|
|
8622
8620
|
}, 8, ["color"])) : Z("", !0);
|
|
@@ -8629,26 +8627,26 @@ const yh = /* @__PURE__ */ L({
|
|
|
8629
8627
|
dataCy: { default: "copy_text" }
|
|
8630
8628
|
},
|
|
8631
8629
|
setup(t) {
|
|
8632
|
-
const n = t, { copy: e, isSupported: a } = Mr(), { showSuccess: r } = Ta(), { t: o } = G(), s = (
|
|
8633
|
-
st(
|
|
8630
|
+
const n = t, { copy: e, isSupported: a } = Mr(), { showSuccess: r } = Ta(), { t: o } = G(), s = (f) => {
|
|
8631
|
+
st(f), a && (Ma(n.value) ? e(eo(n.value)).then(() => {
|
|
8634
8632
|
r(o(n.notifyT));
|
|
8635
8633
|
}) : dt(n.value) && n.value.length && e(n.value).then(() => {
|
|
8636
8634
|
r(o(n.notifyT));
|
|
8637
8635
|
}));
|
|
8638
8636
|
};
|
|
8639
|
-
return (
|
|
8640
|
-
class: be([{ "cursor-pointer":
|
|
8637
|
+
return (f, u) => (w(), H("div", {
|
|
8638
|
+
class: be([{ "cursor-pointer": c(a) }, "d-inline-flex align-center anzu-copy-text"]),
|
|
8641
8639
|
"data-cy": t.dataCy,
|
|
8642
8640
|
onClick: ne(s, ["stop"])
|
|
8643
8641
|
}, [
|
|
8644
8642
|
te("span", null, $(t.value), 1),
|
|
8645
|
-
|
|
8643
|
+
c(a) ? (w(), E(me, {
|
|
8646
8644
|
key: 0,
|
|
8647
8645
|
class: "ml-1",
|
|
8648
8646
|
size: "x-small",
|
|
8649
8647
|
icon: "mdi-content-copy"
|
|
8650
8648
|
})) : Z("", !0),
|
|
8651
|
-
b(
|
|
8649
|
+
b(Ve, {
|
|
8652
8650
|
activator: "parent",
|
|
8653
8651
|
location: "bottom"
|
|
8654
8652
|
}, {
|
|
@@ -8675,7 +8673,7 @@ const Yl = {
|
|
|
8675
8673
|
size: { default: "default" }
|
|
8676
8674
|
},
|
|
8677
8675
|
setup(t) {
|
|
8678
|
-
return (n, e) =>
|
|
8676
|
+
return (n, e) => c(ve)(t.secondaryIcon) ? c(ve)(t.secondaryText) ? (w(), E(me, {
|
|
8679
8677
|
key: 2,
|
|
8680
8678
|
icon: t.mainIcon
|
|
8681
8679
|
}, null, 8, ["icon"])) : (w(), H("div", Hl, [
|
|
@@ -8726,7 +8724,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8726
8724
|
return (e, a) => (w(), H(Ye, null, [
|
|
8727
8725
|
t.hideCreatedAt ? Z("", !0) : (w(), E(tt, {
|
|
8728
8726
|
key: 0,
|
|
8729
|
-
title:
|
|
8727
|
+
title: c(n)("common.model.tracking.created")
|
|
8730
8728
|
}, {
|
|
8731
8729
|
default: g(() => [
|
|
8732
8730
|
b(Rn, {
|
|
@@ -8737,7 +8735,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8737
8735
|
}, 8, ["title"])),
|
|
8738
8736
|
t.hideModifiedAt ? Z("", !0) : (w(), E(tt, {
|
|
8739
8737
|
key: 1,
|
|
8740
|
-
title:
|
|
8738
|
+
title: c(n)("common.model.tracking.modified")
|
|
8741
8739
|
}, {
|
|
8742
8740
|
default: g(() => [
|
|
8743
8741
|
b(Rn, {
|
|
@@ -8763,7 +8761,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8763
8761
|
return (r, o) => (w(), E(oe, {
|
|
8764
8762
|
class: be(t.buttonClass),
|
|
8765
8763
|
"data-cy": t.dataCy,
|
|
8766
|
-
to:
|
|
8764
|
+
to: c(a),
|
|
8767
8765
|
icon: "",
|
|
8768
8766
|
size: "small",
|
|
8769
8767
|
variant: "text",
|
|
@@ -8773,12 +8771,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8773
8771
|
}, {
|
|
8774
8772
|
default: g(() => [
|
|
8775
8773
|
b(me, { icon: "mdi-close" }),
|
|
8776
|
-
b(
|
|
8774
|
+
b(Ve, {
|
|
8777
8775
|
activator: "parent",
|
|
8778
8776
|
location: "bottom"
|
|
8779
8777
|
}, {
|
|
8780
8778
|
default: g(() => [
|
|
8781
|
-
B($(
|
|
8779
|
+
B($(c(e)("common.button.close")), 1)
|
|
8782
8780
|
]),
|
|
8783
8781
|
_: 1
|
|
8784
8782
|
})
|
|
@@ -8813,19 +8811,19 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8813
8811
|
class: be(t.buttonClass),
|
|
8814
8812
|
icon: "",
|
|
8815
8813
|
size: "small",
|
|
8816
|
-
variant:
|
|
8814
|
+
variant: c(a),
|
|
8817
8815
|
to: { name: t.routeName },
|
|
8818
8816
|
width: t.size,
|
|
8819
8817
|
height: t.size
|
|
8820
8818
|
}, {
|
|
8821
8819
|
default: g(() => [
|
|
8822
8820
|
b(me, { icon: "mdi-content-save" }),
|
|
8823
|
-
b(
|
|
8821
|
+
b(Ve, {
|
|
8824
8822
|
activator: "parent",
|
|
8825
8823
|
location: "bottom"
|
|
8826
8824
|
}, {
|
|
8827
8825
|
default: g(() => [
|
|
8828
|
-
B($(
|
|
8826
|
+
B($(c(e)(t.buttonT)), 1)
|
|
8829
8827
|
]),
|
|
8830
8828
|
_: 1
|
|
8831
8829
|
})
|
|
@@ -8835,14 +8833,14 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8835
8833
|
key: 1,
|
|
8836
8834
|
class: be(t.buttonClass),
|
|
8837
8835
|
"data-cy": t.dataCy,
|
|
8838
|
-
variant:
|
|
8836
|
+
variant: c(a),
|
|
8839
8837
|
to: { name: t.routeName },
|
|
8840
8838
|
color: "primary",
|
|
8841
8839
|
rounded: "pill",
|
|
8842
8840
|
height: t.size
|
|
8843
8841
|
}, {
|
|
8844
8842
|
default: g(() => [
|
|
8845
|
-
B($(
|
|
8843
|
+
B($(c(e)(t.buttonT)), 1)
|
|
8846
8844
|
]),
|
|
8847
8845
|
_: 1
|
|
8848
8846
|
}, 8, ["class", "data-cy", "variant", "to", "height"]));
|
|
@@ -8871,14 +8869,14 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8871
8869
|
const a = t, r = J(!1), o = (d) => {
|
|
8872
8870
|
st(d), r.value = !0;
|
|
8873
8871
|
}, s = () => {
|
|
8874
|
-
e("deleteRecord"), a.disableCloseAfterConfirm ||
|
|
8875
|
-
},
|
|
8872
|
+
e("deleteRecord"), a.disableCloseAfterConfirm || f();
|
|
8873
|
+
}, f = () => {
|
|
8876
8874
|
r.value = !1;
|
|
8877
8875
|
}, u = () => {
|
|
8878
|
-
|
|
8876
|
+
f();
|
|
8879
8877
|
}, { t: p } = G();
|
|
8880
8878
|
n({
|
|
8881
|
-
closeDialog:
|
|
8879
|
+
closeDialog: f
|
|
8882
8880
|
});
|
|
8883
8881
|
const m = x(() => {
|
|
8884
8882
|
switch (a.variant) {
|
|
@@ -8892,7 +8890,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8892
8890
|
}
|
|
8893
8891
|
});
|
|
8894
8892
|
return (d, v) => {
|
|
8895
|
-
const k = Nt("ABtnTertiary"),
|
|
8893
|
+
const k = Nt("ABtnTertiary"), F = Nt("ABtnPrimary");
|
|
8896
8894
|
return w(), H(Ye, null, [
|
|
8897
8895
|
t.variant === "icon" ? (w(), E(oe, {
|
|
8898
8896
|
key: 0,
|
|
@@ -8900,7 +8898,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8900
8898
|
"data-cy": t.dataCy,
|
|
8901
8899
|
icon: "",
|
|
8902
8900
|
size: "small",
|
|
8903
|
-
variant:
|
|
8901
|
+
variant: c(m),
|
|
8904
8902
|
disabled: t.disabled,
|
|
8905
8903
|
color: t.color,
|
|
8906
8904
|
loading: t.loading,
|
|
@@ -8910,12 +8908,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8910
8908
|
}, {
|
|
8911
8909
|
default: g(() => [
|
|
8912
8910
|
b(me, { icon: "mdi-trash-can-outline" }),
|
|
8913
|
-
b(
|
|
8911
|
+
b(Ve, {
|
|
8914
8912
|
activator: "parent",
|
|
8915
8913
|
location: "bottom"
|
|
8916
8914
|
}, {
|
|
8917
8915
|
default: g(() => [
|
|
8918
|
-
B($(
|
|
8916
|
+
B($(c(p)(t.buttonT)), 1)
|
|
8919
8917
|
]),
|
|
8920
8918
|
_: 1
|
|
8921
8919
|
})
|
|
@@ -8925,14 +8923,14 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8925
8923
|
key: 1,
|
|
8926
8924
|
class: be(t.buttonClass),
|
|
8927
8925
|
"data-cy": t.dataCy,
|
|
8928
|
-
variant:
|
|
8926
|
+
variant: c(m),
|
|
8929
8927
|
color: t.color,
|
|
8930
8928
|
rounded: "pill",
|
|
8931
8929
|
height: t.size,
|
|
8932
8930
|
onClick: ne(o, ["stop"])
|
|
8933
8931
|
}, {
|
|
8934
8932
|
default: g(() => [
|
|
8935
|
-
B($(
|
|
8933
|
+
B($(c(p)(t.buttonT)), 1)
|
|
8936
8934
|
]),
|
|
8937
8935
|
_: 1
|
|
8938
8936
|
}, 8, ["class", "data-cy", "variant", "color", "height", "onClick"])),
|
|
@@ -8951,7 +8949,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8951
8949
|
default: g(() => [
|
|
8952
8950
|
b($r, { onOnCancel: u }, {
|
|
8953
8951
|
default: g(() => [
|
|
8954
|
-
B($(
|
|
8952
|
+
B($(c(p)(t.dialogMessageT)), 1)
|
|
8955
8953
|
]),
|
|
8956
8954
|
_: 1
|
|
8957
8955
|
}),
|
|
@@ -8964,18 +8962,18 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
8964
8962
|
onClick: ne(u, ["stop"])
|
|
8965
8963
|
}, {
|
|
8966
8964
|
default: g(() => [
|
|
8967
|
-
B($(
|
|
8965
|
+
B($(c(p)(t.dialogCancelButtonT)), 1)
|
|
8968
8966
|
]),
|
|
8969
8967
|
_: 1
|
|
8970
8968
|
}, 8, ["disabled", "onClick"]),
|
|
8971
|
-
b(
|
|
8969
|
+
b(F, {
|
|
8972
8970
|
color: t.dialogConfirmColor,
|
|
8973
8971
|
loading: t.loading,
|
|
8974
8972
|
"data-cy": "button-confirm",
|
|
8975
8973
|
onClick: ne(s, ["stop"])
|
|
8976
8974
|
}, {
|
|
8977
8975
|
default: g(() => [
|
|
8978
|
-
B($(
|
|
8976
|
+
B($(c(p)(t.dialogConfirmButtonT)), 1)
|
|
8979
8977
|
]),
|
|
8980
8978
|
_: 1
|
|
8981
8979
|
}, 8, ["color", "loading", "onClick"])
|
|
@@ -9008,7 +9006,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9008
9006
|
setup(t, { emit: n }) {
|
|
9009
9007
|
const e = t, { t: a } = G(), r = Ca(), o = (u) => {
|
|
9010
9008
|
st(u), n("editRecord"), r.push(s.value);
|
|
9011
|
-
}, s = x(() => S(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }),
|
|
9009
|
+
}, s = x(() => S(e.routeParams) ? { name: e.routeName, params: { id: e.recordId } } : { name: e.routeName, params: { ...e.routeParams } }), f = x(() => {
|
|
9012
9010
|
switch (e.variant) {
|
|
9013
9011
|
case "secondary":
|
|
9014
9012
|
return "outlined";
|
|
@@ -9024,7 +9022,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9024
9022
|
class: be(t.buttonClass),
|
|
9025
9023
|
icon: "",
|
|
9026
9024
|
size: "small",
|
|
9027
|
-
variant: f
|
|
9025
|
+
variant: c(f),
|
|
9028
9026
|
loading: t.loading,
|
|
9029
9027
|
width: t.size,
|
|
9030
9028
|
height: t.size,
|
|
@@ -9032,12 +9030,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9032
9030
|
}, {
|
|
9033
9031
|
default: g(() => [
|
|
9034
9032
|
b(me, { icon: "mdi-content-save" }),
|
|
9035
|
-
b(
|
|
9033
|
+
b(Ve, {
|
|
9036
9034
|
activator: "parent",
|
|
9037
9035
|
location: "bottom"
|
|
9038
9036
|
}, {
|
|
9039
9037
|
default: g(() => [
|
|
9040
|
-
B($(
|
|
9038
|
+
B($(c(a)(t.buttonT)), 1)
|
|
9041
9039
|
]),
|
|
9042
9040
|
_: 1
|
|
9043
9041
|
})
|
|
@@ -9046,7 +9044,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9046
9044
|
}, 8, ["class", "variant", "loading", "width", "height", "onClick"])) : (w(), E(oe, {
|
|
9047
9045
|
key: 1,
|
|
9048
9046
|
class: be(t.buttonClass),
|
|
9049
|
-
variant: f
|
|
9047
|
+
variant: c(f),
|
|
9050
9048
|
"data-cy": t.dataCy,
|
|
9051
9049
|
loading: t.loading,
|
|
9052
9050
|
color: "primary",
|
|
@@ -9055,7 +9053,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9055
9053
|
onClick: ne(o, ["stop"])
|
|
9056
9054
|
}, {
|
|
9057
9055
|
default: g(() => [
|
|
9058
|
-
te("span", null, $(
|
|
9056
|
+
te("span", null, $(c(a)(t.buttonT)), 1)
|
|
9059
9057
|
]),
|
|
9060
9058
|
_: 1
|
|
9061
9059
|
}, 8, ["class", "variant", "data-cy", "loading", "height", "onClick"]));
|
|
@@ -9091,12 +9089,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9091
9089
|
"main-icon": "mdi-content-save",
|
|
9092
9090
|
"secondary-icon": "mdi-close"
|
|
9093
9091
|
}),
|
|
9094
|
-
b(
|
|
9092
|
+
b(Ve, {
|
|
9095
9093
|
activator: "parent",
|
|
9096
9094
|
location: "bottom"
|
|
9097
9095
|
}, {
|
|
9098
9096
|
default: g(() => [
|
|
9099
|
-
B($(
|
|
9097
|
+
B($(c(a)(t.buttonT)), 1)
|
|
9100
9098
|
]),
|
|
9101
9099
|
_: 1
|
|
9102
9100
|
})
|
|
@@ -9130,12 +9128,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9130
9128
|
return "flat";
|
|
9131
9129
|
}
|
|
9132
9130
|
});
|
|
9133
|
-
return (s,
|
|
9131
|
+
return (s, f) => t.variant === "icon" ? (w(), E(oe, {
|
|
9134
9132
|
key: 0,
|
|
9135
9133
|
class: be(t.buttonClass),
|
|
9136
9134
|
icon: "",
|
|
9137
9135
|
size: "small",
|
|
9138
|
-
variant:
|
|
9136
|
+
variant: c(o),
|
|
9139
9137
|
loading: t.loading,
|
|
9140
9138
|
disabled: t.disabled,
|
|
9141
9139
|
width: t.size,
|
|
@@ -9144,22 +9142,22 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9144
9142
|
}, {
|
|
9145
9143
|
default: g(() => [
|
|
9146
9144
|
b(me, { icon: "mdi-content-save" }),
|
|
9147
|
-
b(
|
|
9145
|
+
b(Ve, {
|
|
9148
9146
|
activator: "parent",
|
|
9149
9147
|
location: "bottom"
|
|
9150
9148
|
}, {
|
|
9151
9149
|
default: g(() => [
|
|
9152
|
-
B($(
|
|
9150
|
+
B($(c(r)(t.buttonT)), 1)
|
|
9153
9151
|
]),
|
|
9154
9152
|
_: 1
|
|
9155
9153
|
})
|
|
9156
9154
|
]),
|
|
9157
9155
|
_: 1
|
|
9158
|
-
}, 8, ["class", "loading", "disabled", "width", "height", "onClick"])) : (w(), E(oe, {
|
|
9156
|
+
}, 8, ["class", "variant", "loading", "disabled", "width", "height", "onClick"])) : (w(), E(oe, {
|
|
9159
9157
|
key: 1,
|
|
9160
9158
|
class: be(t.buttonClass),
|
|
9161
9159
|
"data-cy": t.dataCy,
|
|
9162
|
-
variant:
|
|
9160
|
+
variant: c(o),
|
|
9163
9161
|
color: "primary",
|
|
9164
9162
|
rounded: "pill",
|
|
9165
9163
|
loading: t.loading,
|
|
@@ -9168,7 +9166,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9168
9166
|
onClick: ne(a, ["stop"])
|
|
9169
9167
|
}, {
|
|
9170
9168
|
default: g(() => [
|
|
9171
|
-
B($(
|
|
9169
|
+
B($(c(r)(t.buttonT)), 1)
|
|
9172
9170
|
]),
|
|
9173
9171
|
_: 1
|
|
9174
9172
|
}, 8, ["class", "data-cy", "variant", "loading", "disabled", "height", "onClick"]));
|
|
@@ -9185,14 +9183,14 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9185
9183
|
size: { default: "x-small" }
|
|
9186
9184
|
},
|
|
9187
9185
|
setup(t) {
|
|
9188
|
-
const n = t, { t: e } = G(), { copy: a, isSupported: r } = Mr(), { showSuccess: o } = Ta(), s = (
|
|
9189
|
-
st(
|
|
9186
|
+
const n = t, { t: e } = G(), { copy: a, isSupported: r } = Mr(), { showSuccess: o } = Ta(), s = (f) => {
|
|
9187
|
+
st(f), Ma(n.id) && n.id > 0 ? a(eo(n.id)).then(() => {
|
|
9190
9188
|
o(e(n.notifyT));
|
|
9191
9189
|
}) : dt(n.id) && n.id.length && a(n.id).then(() => {
|
|
9192
9190
|
o(e(n.notifyT));
|
|
9193
9191
|
});
|
|
9194
9192
|
};
|
|
9195
|
-
return (
|
|
9193
|
+
return (f, u) => c(r) ? (w(), E(oe, {
|
|
9196
9194
|
key: 0,
|
|
9197
9195
|
class: be(t.buttonClass),
|
|
9198
9196
|
"data-cy": t.dataCy,
|
|
@@ -9203,16 +9201,16 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9203
9201
|
}, {
|
|
9204
9202
|
default: g(() => [
|
|
9205
9203
|
b(to, {
|
|
9206
|
-
"secondary-text":
|
|
9204
|
+
"secondary-text": c(e)(t.iconT),
|
|
9207
9205
|
"main-icon": "mdi-content-copy",
|
|
9208
9206
|
size: "small"
|
|
9209
9207
|
}, null, 8, ["secondary-text"]),
|
|
9210
|
-
b(
|
|
9208
|
+
b(Ve, {
|
|
9211
9209
|
activator: "parent",
|
|
9212
9210
|
location: "bottom"
|
|
9213
9211
|
}, {
|
|
9214
9212
|
default: g(() => [
|
|
9215
|
-
B($(
|
|
9213
|
+
B($(c(e)(t.buttonT)), 1)
|
|
9216
9214
|
]),
|
|
9217
9215
|
_: 1
|
|
9218
9216
|
})
|
|
@@ -9235,7 +9233,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9235
9233
|
return (r, o) => (w(), E(oe, {
|
|
9236
9234
|
class: be(t.buttonClass),
|
|
9237
9235
|
"data-cy": t.dataCy,
|
|
9238
|
-
to:
|
|
9236
|
+
to: c(a),
|
|
9239
9237
|
icon: "",
|
|
9240
9238
|
size: "x-small",
|
|
9241
9239
|
variant: "text",
|
|
@@ -9244,12 +9242,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9244
9242
|
}, {
|
|
9245
9243
|
default: g(() => [
|
|
9246
9244
|
b(me, { icon: "mdi-information-outline" }),
|
|
9247
|
-
b(
|
|
9245
|
+
b(Ve, {
|
|
9248
9246
|
activator: "parent",
|
|
9249
9247
|
location: "bottom"
|
|
9250
9248
|
}, {
|
|
9251
9249
|
default: g(() => [
|
|
9252
|
-
B($(
|
|
9250
|
+
B($(c(e)(t.buttonT)), 1)
|
|
9253
9251
|
]),
|
|
9254
9252
|
_: 1
|
|
9255
9253
|
})
|
|
@@ -9272,7 +9270,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9272
9270
|
return (r, o) => (w(), E(oe, {
|
|
9273
9271
|
class: be(t.buttonClass),
|
|
9274
9272
|
"data-cy": t.dataCy,
|
|
9275
|
-
to:
|
|
9273
|
+
to: c(a),
|
|
9276
9274
|
icon: "",
|
|
9277
9275
|
size: "x-small",
|
|
9278
9276
|
variant: "text",
|
|
@@ -9281,12 +9279,12 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
9281
9279
|
}, {
|
|
9282
9280
|
default: g(() => [
|
|
9283
9281
|
b(me, { icon: "mdi-pencil" }),
|
|
9284
|
-
b(
|
|
9282
|
+
b(Ve, {
|
|
9285
9283
|
activator: "parent",
|
|
9286
9284
|
location: "bottom"
|
|
9287
9285
|
}, {
|
|
9288
9286
|
default: g(() => [
|
|
9289
|
-
B($(
|
|
9287
|
+
B($(c(e)(t.buttonT)), 1)
|
|
9290
9288
|
]),
|
|
9291
9289
|
_: 1
|
|
9292
9290
|
})
|
|
@@ -9370,7 +9368,7 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9370
9368
|
__name: "AThemeSelect",
|
|
9371
9369
|
setup(t) {
|
|
9372
9370
|
const { setThemeDark: n, setThemeAuto: e, setThemeLight: a, settings: r } = Zl(), { t: o } = G(), s = J(!1);
|
|
9373
|
-
return (
|
|
9371
|
+
return (f, u) => (w(), E(Dt, {
|
|
9374
9372
|
modelValue: s.value,
|
|
9375
9373
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => s.value = p),
|
|
9376
9374
|
"close-on-content-click": ""
|
|
@@ -9384,27 +9382,27 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9384
9382
|
"data-cy": "settings-theme"
|
|
9385
9383
|
}), {
|
|
9386
9384
|
default: g(() => [
|
|
9387
|
-
|
|
9385
|
+
c(r) === c(Zt).Auto ? (w(), H("div", Ql, [
|
|
9388
9386
|
b(me, {
|
|
9389
9387
|
class: "mr-1",
|
|
9390
9388
|
icon: "mdi-brightness-auto",
|
|
9391
9389
|
size: 32
|
|
9392
9390
|
}),
|
|
9393
|
-
B($(
|
|
9394
|
-
])) :
|
|
9391
|
+
B($(c(o)("common.system.theme.auto")), 1)
|
|
9392
|
+
])) : c(r) === c(Zt).Light ? (w(), H("div", Xl, [
|
|
9395
9393
|
b(me, {
|
|
9396
9394
|
class: "mr-1",
|
|
9397
9395
|
icon: "mdi-brightness-7",
|
|
9398
9396
|
size: 32
|
|
9399
9397
|
}),
|
|
9400
|
-
B($(
|
|
9401
|
-
])) :
|
|
9398
|
+
B($(c(o)("common.system.theme.light")), 1)
|
|
9399
|
+
])) : c(r) === c(Zt).Dark ? (w(), H("div", es, [
|
|
9402
9400
|
b(me, {
|
|
9403
9401
|
class: "mr-1",
|
|
9404
9402
|
icon: "mdi-brightness-4",
|
|
9405
9403
|
size: 32
|
|
9406
9404
|
}),
|
|
9407
|
-
B($(
|
|
9405
|
+
B($(c(o)("common.system.theme.dark")), 1)
|
|
9408
9406
|
])) : Z("", !0)
|
|
9409
9407
|
]),
|
|
9410
9408
|
_: 2
|
|
@@ -9413,11 +9411,11 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9413
9411
|
default: g(() => [
|
|
9414
9412
|
b(nt, null, {
|
|
9415
9413
|
default: g(() => [
|
|
9416
|
-
b(rn, {
|
|
9414
|
+
b(rn, { density: "compact" }, {
|
|
9417
9415
|
default: g(() => [
|
|
9418
9416
|
b(Qe, {
|
|
9419
|
-
title:
|
|
9420
|
-
onClick: ne(
|
|
9417
|
+
title: c(o)("common.system.theme.auto"),
|
|
9418
|
+
onClick: ne(c(e), ["stop"])
|
|
9421
9419
|
}, {
|
|
9422
9420
|
prepend: g(() => [
|
|
9423
9421
|
b(me, {
|
|
@@ -9428,8 +9426,8 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9428
9426
|
_: 1
|
|
9429
9427
|
}, 8, ["title", "onClick"]),
|
|
9430
9428
|
b(Qe, {
|
|
9431
|
-
title:
|
|
9432
|
-
onClick: ne(
|
|
9429
|
+
title: c(o)("common.system.theme.light"),
|
|
9430
|
+
onClick: ne(c(a), ["stop"])
|
|
9433
9431
|
}, {
|
|
9434
9432
|
prepend: g(() => [
|
|
9435
9433
|
b(me, {
|
|
@@ -9440,8 +9438,8 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
|
|
|
9440
9438
|
_: 1
|
|
9441
9439
|
}, 8, ["title", "onClick"]),
|
|
9442
9440
|
b(Qe, {
|
|
9443
|
-
title:
|
|
9444
|
-
onClick: ne(
|
|
9441
|
+
title: c(o)("common.system.theme.dark"),
|
|
9442
|
+
onClick: ne(c(n), ["stop"])
|
|
9445
9443
|
}, {
|
|
9446
9444
|
prepend: g(() => [
|
|
9447
9445
|
b(me, {
|
|
@@ -9557,14 +9555,14 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9557
9555
|
}
|
|
9558
9556
|
});
|
|
9559
9557
|
return (a, r) => (w(), H("div", bs, [
|
|
9560
|
-
(w(), E(ya(
|
|
9558
|
+
(w(), E(ya(c(e))))
|
|
9561
9559
|
]));
|
|
9562
9560
|
}
|
|
9563
9561
|
}), ws = /* @__PURE__ */ L({
|
|
9564
9562
|
__name: "ALanguageSelect",
|
|
9565
9563
|
emits: ["afterChange"],
|
|
9566
9564
|
setup(t, { emit: n }) {
|
|
9567
|
-
const e = we(Gn), a = we(Hr), r = we(Jr), { setLanguage: o } = ts(a, r), { currentLanguageCode: s } = ns(),
|
|
9565
|
+
const e = we(Gn), a = we(Hr), r = we(Jr), { setLanguage: o } = ts(a, r), { currentLanguageCode: s } = ns(), f = (m) => {
|
|
9568
9566
|
o(m) && n("afterChange", m);
|
|
9569
9567
|
}, u = x(() => {
|
|
9570
9568
|
const m = Bn.find((d) => d.code === s.value);
|
|
@@ -9593,13 +9591,13 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9593
9591
|
var k;
|
|
9594
9592
|
return [
|
|
9595
9593
|
b(pr, {
|
|
9596
|
-
code: (k =
|
|
9594
|
+
code: (k = c(u)) == null ? void 0 : k.code
|
|
9597
9595
|
}, null, 8, ["code"])
|
|
9598
9596
|
];
|
|
9599
9597
|
}),
|
|
9600
9598
|
_: 1
|
|
9601
9599
|
}),
|
|
9602
|
-
B(" " + $(
|
|
9600
|
+
B(" " + $(c(u).title), 1)
|
|
9603
9601
|
]),
|
|
9604
9602
|
_: 2
|
|
9605
9603
|
}, 1040)
|
|
@@ -9607,11 +9605,11 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9607
9605
|
default: g(() => [
|
|
9608
9606
|
b(nt, null, {
|
|
9609
9607
|
default: g(() => [
|
|
9610
|
-
b(rn, {
|
|
9608
|
+
b(rn, { density: "compact" }, {
|
|
9611
9609
|
default: g(() => [
|
|
9612
|
-
(w(!0), H(Ye, null, At(
|
|
9610
|
+
(w(!0), H(Ye, null, At(c(p), (v) => (w(), E(Qe, {
|
|
9613
9611
|
key: v.code,
|
|
9614
|
-
onClick: ne((k) =>
|
|
9612
|
+
onClick: ne((k) => f(v.code), ["stop"])
|
|
9615
9613
|
}, {
|
|
9616
9614
|
default: g(() => [
|
|
9617
9615
|
b(tn, null, {
|
|
@@ -9645,18 +9643,18 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
|
|
|
9645
9643
|
}));
|
|
9646
9644
|
}
|
|
9647
9645
|
});
|
|
9648
|
-
const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-
|
|
9646
|
+
const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
|
|
9649
9647
|
__name: "ASystemBarNewVersion",
|
|
9650
9648
|
setup(t) {
|
|
9651
9649
|
const { t: n } = G(), e = () => {
|
|
9652
9650
|
window.location.reload();
|
|
9653
9651
|
};
|
|
9654
9652
|
return (a, r) => r[0] || (nr(-1), r[0] = te("span", { class: "system-bar-new-version" }, [
|
|
9655
|
-
B($(
|
|
9653
|
+
B($(c(n)("common.system.newVersionText")) + " ", 1),
|
|
9656
9654
|
te("span", {
|
|
9657
9655
|
class: "text-decoration-underline cursor-pointer",
|
|
9658
9656
|
onClick: ne(e, ["stop"])
|
|
9659
|
-
}, $(
|
|
9657
|
+
}, $(c(n)("common.system.newVersionReload")), 9, ks)
|
|
9660
9658
|
]), nr(1), r[0]);
|
|
9661
9659
|
}
|
|
9662
9660
|
}), As = { class: "text-center w-100 text-caption pb-1" }, Ih = /* @__PURE__ */ L({
|
|
@@ -9670,8 +9668,8 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9670
9668
|
const n = t, e = J(!1), a = () => {
|
|
9671
9669
|
fetch(`/${n.jsonRelativePath}?random=${Date.now()}`).then((s) => {
|
|
9672
9670
|
if (s.ok) {
|
|
9673
|
-
const
|
|
9674
|
-
if (!
|
|
9671
|
+
const f = s.headers.get("content-type");
|
|
9672
|
+
if (!f || !f.includes("application/json"))
|
|
9675
9673
|
throw new Error("Unable to load env config. Incorrect content type.");
|
|
9676
9674
|
return s.json();
|
|
9677
9675
|
}
|
|
@@ -9688,7 +9686,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9688
9686
|
}, n.checkInterval);
|
|
9689
9687
|
return ho(() => {
|
|
9690
9688
|
o();
|
|
9691
|
-
}), (s,
|
|
9689
|
+
}), (s, f) => e.value ? (w(), E(Lo, {
|
|
9692
9690
|
key: 0,
|
|
9693
9691
|
height: "24",
|
|
9694
9692
|
color: "orange accent-3",
|
|
@@ -9697,7 +9695,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9697
9695
|
}, {
|
|
9698
9696
|
default: g(() => [
|
|
9699
9697
|
te("div", As, [
|
|
9700
|
-
(w(), E(ya(
|
|
9698
|
+
(w(), E(ya(c(r))))
|
|
9701
9699
|
])
|
|
9702
9700
|
]),
|
|
9703
9701
|
_: 1
|
|
@@ -9724,15 +9722,15 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9724
9722
|
});
|
|
9725
9723
|
return (o, s) => (w(), H(Ye, null, [
|
|
9726
9724
|
b(ca, {
|
|
9727
|
-
color:
|
|
9725
|
+
color: c(e),
|
|
9728
9726
|
class: be(["text-uppercase", t.containerClass]),
|
|
9729
9727
|
size: t.size
|
|
9730
9728
|
}, {
|
|
9731
9729
|
default: g(() => [
|
|
9732
9730
|
te("div", {
|
|
9733
9731
|
class: "d-inline-flex text-white font-weight-light",
|
|
9734
|
-
style: ua({ fontSize:
|
|
9735
|
-
}, $(
|
|
9732
|
+
style: ua({ fontSize: c(a) })
|
|
9733
|
+
}, $(c(r)), 5)
|
|
9736
9734
|
]),
|
|
9737
9735
|
_: 1
|
|
9738
9736
|
}, 8, ["color", "class", "size"]),
|
|
@@ -9745,7 +9743,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9745
9743
|
}, Ms = {
|
|
9746
9744
|
key: 0,
|
|
9747
9745
|
class: "required"
|
|
9748
|
-
},
|
|
9746
|
+
}, Fh = /* @__PURE__ */ L({
|
|
9749
9747
|
__name: "AAvatarColorPicker",
|
|
9750
9748
|
props: {
|
|
9751
9749
|
modelValue: null,
|
|
@@ -9767,7 +9765,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9767
9765
|
], r = J(""), o = () => {
|
|
9768
9766
|
const p = Math.floor(Math.random() * a.length);
|
|
9769
9767
|
return r.value = a[p][Math.floor(Math.random() * a[p].length)], r.value;
|
|
9770
|
-
}, s = x(() => e.modelValue.length > 0 ? "flat" : "tonal"),
|
|
9768
|
+
}, s = x(() => e.modelValue.length > 0 ? "flat" : "tonal"), f = x(() => e.modelValue.length > 0 ? e.modelValue : void 0), u = (p) => {
|
|
9771
9769
|
n("update:modelValue", p);
|
|
9772
9770
|
};
|
|
9773
9771
|
return Ie(
|
|
@@ -9788,9 +9786,9 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9788
9786
|
t.required ? (w(), H("span", Ms)) : Z("", !0)
|
|
9789
9787
|
])),
|
|
9790
9788
|
b(oe, {
|
|
9791
|
-
variant:
|
|
9789
|
+
variant: c(s),
|
|
9792
9790
|
icon: "",
|
|
9793
|
-
color: f
|
|
9791
|
+
color: c(f)
|
|
9794
9792
|
}, {
|
|
9795
9793
|
default: g(() => [
|
|
9796
9794
|
t.readonly ? Z("", !0) : (w(), E(Dt, {
|
|
@@ -9801,7 +9799,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9801
9799
|
b(nt, null, {
|
|
9802
9800
|
default: g(() => [
|
|
9803
9801
|
b(Bo, {
|
|
9804
|
-
"model-value": f
|
|
9802
|
+
"model-value": c(f),
|
|
9805
9803
|
swatches: a,
|
|
9806
9804
|
class: "a-color-picker--hide-controls",
|
|
9807
9805
|
elevation: "0",
|
|
@@ -9822,7 +9820,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-a2015e08"]]), ks = ["on
|
|
|
9822
9820
|
]));
|
|
9823
9821
|
}
|
|
9824
9822
|
});
|
|
9825
|
-
const xs = /* @__PURE__ */ te("br", null, null, -1),
|
|
9823
|
+
const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
9826
9824
|
__name: "ACurrentUserDropdown",
|
|
9827
9825
|
props: {
|
|
9828
9826
|
currentUser: null,
|
|
@@ -9842,12 +9840,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9842
9840
|
size: 32,
|
|
9843
9841
|
user: t.currentUser
|
|
9844
9842
|
}, null, 8, ["user"]),
|
|
9845
|
-
b(
|
|
9843
|
+
b(Ve, {
|
|
9846
9844
|
activator: "parent",
|
|
9847
9845
|
location: "top"
|
|
9848
9846
|
}, {
|
|
9849
9847
|
default: g(() => [
|
|
9850
|
-
B($(
|
|
9848
|
+
B($(c(n)("common.system.currentUser.button")), 1)
|
|
9851
9849
|
]),
|
|
9852
9850
|
_: 1
|
|
9853
9851
|
}),
|
|
@@ -9895,7 +9893,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9895
9893
|
to: { name: t.settingsRouteName }
|
|
9896
9894
|
}, {
|
|
9897
9895
|
default: g(() => [
|
|
9898
|
-
B($(
|
|
9896
|
+
B($(c(n)("common.system.currentUser.settings")), 1)
|
|
9899
9897
|
]),
|
|
9900
9898
|
_: 1
|
|
9901
9899
|
}, 8, ["to"]),
|
|
@@ -9904,7 +9902,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9904
9902
|
onClick: r[3] || (r[3] = ne((o) => e.value = !0, ["stop"]))
|
|
9905
9903
|
}, {
|
|
9906
9904
|
default: g(() => [
|
|
9907
|
-
B($(
|
|
9905
|
+
B($(c(n)("common.system.currentUser.logout")) + " ", 1),
|
|
9908
9906
|
b(Da, {
|
|
9909
9907
|
modelValue: e.value,
|
|
9910
9908
|
"onUpdate:modelValue": r[2] || (r[2] = (o) => e.value = o),
|
|
@@ -9920,7 +9918,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9920
9918
|
default: g(() => [
|
|
9921
9919
|
b(_r, { class: "flex-fill" }, {
|
|
9922
9920
|
default: g(() => [
|
|
9923
|
-
B($(
|
|
9921
|
+
B($(c(n)("common.system.currentUser.logout")), 1)
|
|
9924
9922
|
]),
|
|
9925
9923
|
_: 1
|
|
9926
9924
|
}),
|
|
@@ -9938,7 +9936,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9938
9936
|
}),
|
|
9939
9937
|
b(Cr, null, {
|
|
9940
9938
|
default: g(() => [
|
|
9941
|
-
B($(
|
|
9939
|
+
B($(c(n)("common.system.currentUser.logoutText")), 1)
|
|
9942
9940
|
]),
|
|
9943
9941
|
_: 1
|
|
9944
9942
|
}),
|
|
@@ -9952,7 +9950,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9952
9950
|
onClick: r[1] || (r[1] = ne((o) => e.value = !1, ["stop"]))
|
|
9953
9951
|
}, {
|
|
9954
9952
|
default: g(() => [
|
|
9955
|
-
B($(
|
|
9953
|
+
B($(c(n)("common.button.cancel")), 1)
|
|
9956
9954
|
]),
|
|
9957
9955
|
_: 1
|
|
9958
9956
|
}),
|
|
@@ -9962,7 +9960,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
9962
9960
|
to: { name: t.logoutRouteName }
|
|
9963
9961
|
}, {
|
|
9964
9962
|
default: g(() => [
|
|
9965
|
-
B($(
|
|
9963
|
+
B($(c(n)("common.system.currentUser.logoutConfirm")), 1)
|
|
9966
9964
|
]),
|
|
9967
9965
|
_: 1
|
|
9968
9966
|
}, 8, ["to"])
|
|
@@ -10022,12 +10020,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10022
10020
|
set(D) {
|
|
10023
10021
|
n("update:modelValue", ft(D));
|
|
10024
10022
|
}
|
|
10025
|
-
}), { t:
|
|
10023
|
+
}), { t: f } = G(), u = we(at, void 0), p = we(rt, void 0), m = J(!1), d = J(""), v = J(!1), { innerFilter: k } = ba(e), F = Kn(), y = J(/* @__PURE__ */ new Map()), O = () => {
|
|
10026
10024
|
m.value = !0, n("focus", s.value);
|
|
10027
10025
|
}, P = () => {
|
|
10028
10026
|
var D;
|
|
10029
10027
|
m.value = !1, (D = e.v) == null || D.$touch(), n("blur", s.value);
|
|
10030
|
-
},
|
|
10028
|
+
}, V = x(() => {
|
|
10031
10029
|
var D, C;
|
|
10032
10030
|
return S(e.errorMessage) ? (C = (D = e.v) == null ? void 0 : D.$errors) != null && C.length ? e.v.$errors.map((_) => _.$message) : [] : [e.errorMessage];
|
|
10033
10031
|
}), R = x(() => {
|
|
@@ -10037,7 +10035,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10037
10035
|
if (S(u) || S(p) || S((C = e.v) == null ? void 0 : C.$path))
|
|
10038
10036
|
return "";
|
|
10039
10037
|
const { end: D } = lt((_ = e.v) == null ? void 0 : _.$path, ".");
|
|
10040
|
-
return
|
|
10038
|
+
return f(u + "." + p + ".model." + D);
|
|
10041
10039
|
}), U = x(() => {
|
|
10042
10040
|
var D, C;
|
|
10043
10041
|
return S(e.required) ? ((D = e.v) == null ? void 0 : D.required) && ((C = e.v) == null ? void 0 : C.required.$params.type) === "required" : e.required;
|
|
@@ -10046,7 +10044,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10046
10044
|
}, ue = async (D) => {
|
|
10047
10045
|
v.value = !0;
|
|
10048
10046
|
const C = k.value[e.filterByField];
|
|
10049
|
-
C.model = D, y.value.clear(), (await e.fetchItemsMinimal(
|
|
10047
|
+
C.model = D, y.value.clear(), (await e.fetchItemsMinimal(F, k.value)).forEach((M) => {
|
|
10050
10048
|
y.value.set(M[e.itemValue], M);
|
|
10051
10049
|
}), v.value = !1;
|
|
10052
10050
|
}, pe = x(() => {
|
|
@@ -10089,15 +10087,15 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10089
10087
|
},
|
|
10090
10088
|
{ immediate: !0 }
|
|
10091
10089
|
), (D, C) => (w(), E(on, {
|
|
10092
|
-
modelValue:
|
|
10090
|
+
modelValue: c(s),
|
|
10093
10091
|
"onUpdate:modelValue": C[0] || (C[0] = (_) => Ue(s) ? s.value = _ : null),
|
|
10094
10092
|
search: d.value,
|
|
10095
10093
|
chips: "",
|
|
10096
|
-
items:
|
|
10094
|
+
items: c(pe),
|
|
10097
10095
|
"no-filter": "",
|
|
10098
|
-
multiple:
|
|
10096
|
+
multiple: c(ae),
|
|
10099
10097
|
clearable: t.clearable,
|
|
10100
|
-
"error-messages":
|
|
10098
|
+
"error-messages": c(V),
|
|
10101
10099
|
loading: v.value,
|
|
10102
10100
|
onBlur: P,
|
|
10103
10101
|
onFocus: O,
|
|
@@ -10107,10 +10105,10 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10107
10105
|
}, an({
|
|
10108
10106
|
label: g(() => [
|
|
10109
10107
|
t.hideLabel ? Z("", !0) : (w(), H("span", {
|
|
10110
|
-
key:
|
|
10108
|
+
key: c(U) + ""
|
|
10111
10109
|
}, [
|
|
10112
|
-
B($(
|
|
10113
|
-
|
|
10110
|
+
B($(c(R)) + " ", 1),
|
|
10111
|
+
c(U) ? (w(), H("span", Ts)) : Z("", !0)
|
|
10114
10112
|
]))
|
|
10115
10113
|
]),
|
|
10116
10114
|
chip: g(({ props: _, item: M }) => [
|
|
@@ -10143,7 +10141,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10143
10141
|
}), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Ps = {
|
|
10144
10142
|
key: 0,
|
|
10145
10143
|
class: "display-1 my-3"
|
|
10146
|
-
}, Is = { class: "mb-3 body-1" },
|
|
10144
|
+
}, Is = { class: "mb-3 body-1" }, Fs = { class: "py-5" }, Vs = /* @__PURE__ */ L({
|
|
10147
10145
|
__name: "ALoginView",
|
|
10148
10146
|
props: {
|
|
10149
10147
|
title: { default: void 0 },
|
|
@@ -10163,9 +10161,9 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10163
10161
|
}, null, 8, Os),
|
|
10164
10162
|
t.title ? (w(), H("h1", Ps, $(t.title), 1)) : Z("", !0),
|
|
10165
10163
|
te("h4", Is, [
|
|
10166
|
-
te("span", null, $(
|
|
10164
|
+
te("span", null, $(c(e)("common.system.login.text")), 1)
|
|
10167
10165
|
]),
|
|
10168
|
-
te("div",
|
|
10166
|
+
te("div", Fs, [
|
|
10169
10167
|
t.loginUrl ? (w(), E(oe, {
|
|
10170
10168
|
key: 0,
|
|
10171
10169
|
href: t.loginUrl(),
|
|
@@ -10173,7 +10171,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10173
10171
|
size: "large"
|
|
10174
10172
|
}, {
|
|
10175
10173
|
default: g(() => [
|
|
10176
|
-
B($(
|
|
10174
|
+
B($(c(e)("common.system.login.text")), 1)
|
|
10177
10175
|
]),
|
|
10178
10176
|
_: 1
|
|
10179
10177
|
}, 8, ["href"])) : Z("", !0)
|
|
@@ -10182,7 +10180,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
|
|
|
10182
10180
|
]));
|
|
10183
10181
|
}
|
|
10184
10182
|
});
|
|
10185
|
-
const Nh = /* @__PURE__ */ vt(
|
|
10183
|
+
const Nh = /* @__PURE__ */ vt(Vs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @__PURE__ */ L({
|
|
10186
10184
|
__name: "ALogoutView",
|
|
10187
10185
|
props: {
|
|
10188
10186
|
logoutUrl: { type: [null, Function], default: void 0 }
|
|
@@ -10207,16 +10205,16 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10207
10205
|
size: "x-large",
|
|
10208
10206
|
icon: "mdi-emoticon-cry"
|
|
10209
10207
|
}),
|
|
10210
|
-
te("span", null, $(
|
|
10208
|
+
te("span", null, $(c(n)("common.system.unauthorized.title")), 1)
|
|
10211
10209
|
]),
|
|
10212
|
-
te("p", Bs, $(
|
|
10210
|
+
te("p", Bs, $(c(n)("common.system.unauthorized.text")), 1),
|
|
10213
10211
|
b(oe, {
|
|
10214
10212
|
to: { name: t.returnRouteName },
|
|
10215
10213
|
color: "primary",
|
|
10216
10214
|
size: "large"
|
|
10217
10215
|
}, {
|
|
10218
10216
|
default: g(() => [
|
|
10219
|
-
B($(
|
|
10217
|
+
B($(c(n)("common.system.unauthorized.backButton")), 1)
|
|
10220
10218
|
]),
|
|
10221
10219
|
_: 1
|
|
10222
10220
|
}, 8, ["to"])
|
|
@@ -10237,16 +10235,16 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10237
10235
|
size: "x-large",
|
|
10238
10236
|
icon: "mdi-emoticon-cry"
|
|
10239
10237
|
}),
|
|
10240
|
-
te("span", null, $(
|
|
10238
|
+
te("span", null, $(c(n)("common.system.notFound.title")), 1)
|
|
10241
10239
|
]),
|
|
10242
|
-
te("p", Us, $(
|
|
10240
|
+
te("p", Us, $(c(n)("common.system.notFound.text")), 1),
|
|
10243
10241
|
b(oe, {
|
|
10244
10242
|
to: { name: t.returnRouteName },
|
|
10245
10243
|
color: "primary",
|
|
10246
10244
|
size: "large"
|
|
10247
10245
|
}, {
|
|
10248
10246
|
default: g(() => [
|
|
10249
|
-
B($(
|
|
10247
|
+
B($(c(n)("common.system.notFound.backButton")), 1)
|
|
10250
10248
|
]),
|
|
10251
10249
|
_: 1
|
|
10252
10250
|
}, 8, ["to"])
|
|
@@ -10263,11 +10261,11 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10263
10261
|
const { t: n } = G();
|
|
10264
10262
|
return (e, a) => (w(), H("div", null, [
|
|
10265
10263
|
b(tt, {
|
|
10266
|
-
title:
|
|
10264
|
+
title: c(n)("common.job.model.id"),
|
|
10267
10265
|
value: t.job.id
|
|
10268
10266
|
}, null, 8, ["title", "value"]),
|
|
10269
10267
|
b(tt, {
|
|
10270
|
-
title:
|
|
10268
|
+
title: c(n)("common.job.model._resourceName")
|
|
10271
10269
|
}, {
|
|
10272
10270
|
default: g(() => [
|
|
10273
10271
|
_e(e.$slots, "resource-name", {}, () => [
|
|
@@ -10277,7 +10275,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10277
10275
|
_: 3
|
|
10278
10276
|
}, 8, ["title"]),
|
|
10279
10277
|
b(tt, {
|
|
10280
|
-
title:
|
|
10278
|
+
title: c(n)("common.job.model.status")
|
|
10281
10279
|
}, {
|
|
10282
10280
|
default: g(() => [
|
|
10283
10281
|
b(Ll, {
|
|
@@ -10287,7 +10285,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10287
10285
|
_: 1
|
|
10288
10286
|
}, 8, ["title"]),
|
|
10289
10287
|
b(tt, {
|
|
10290
|
-
title:
|
|
10288
|
+
title: c(n)("common.job.model.startedAt")
|
|
10291
10289
|
}, {
|
|
10292
10290
|
default: g(() => [
|
|
10293
10291
|
b(Rn, {
|
|
@@ -10297,7 +10295,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10297
10295
|
_: 1
|
|
10298
10296
|
}, 8, ["title"]),
|
|
10299
10297
|
b(tt, {
|
|
10300
|
-
title:
|
|
10298
|
+
title: c(n)("common.job.model.finishedAt")
|
|
10301
10299
|
}, {
|
|
10302
10300
|
default: g(() => [
|
|
10303
10301
|
b(Rn, {
|
|
@@ -10307,7 +10305,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
|
|
|
10307
10305
|
_: 1
|
|
10308
10306
|
}, 8, ["title"]),
|
|
10309
10307
|
b(tt, {
|
|
10310
|
-
title:
|
|
10308
|
+
title: c(n)("common.job.model.result"),
|
|
10311
10309
|
value: t.job.result
|
|
10312
10310
|
}, null, 8, ["title", "value"])
|
|
10313
10311
|
]));
|
|
@@ -10377,27 +10375,27 @@ const Jh = (t, n = 2) => {
|
|
|
10377
10375
|
return "0 Bytes";
|
|
10378
10376
|
const e = 1024, a = n < 0 ? 0 : n, r = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], o = Math.floor(Math.log(t) / Math.log(e));
|
|
10379
10377
|
return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
|
|
10380
|
-
}, Tt = (t) =>
|
|
10378
|
+
}, Tt = (t) => Vi.includes(t), St = (t, n, e = "") => Sr(n) ? t : Zo(e === "" ? t : e, n), Wh = (t, n, e = "", a = {}, r = null, o, s, f = {}) => new Promise((u, p) => {
|
|
10381
10379
|
const m = { method: n };
|
|
10382
|
-
e !== "" && (m.url = St(e, a)), ve(r) || (m.data = JSON.stringify(r)), t().request({ ...
|
|
10383
|
-
}), Ys = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((
|
|
10384
|
-
t().post(St(e, a), JSON.stringify(n), s).then((p) => Tt(p.status) ? p.data ?
|
|
10385
|
-
}), Hs = (t, n, e = {}, a, r, o = {}) => new Promise((s,
|
|
10386
|
-
t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? s(u.data) :
|
|
10380
|
+
e !== "" && (m.url = St(e, a)), ve(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Fe()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, s, d)) : xt(d) ? p(new gt(d, d)) : p(new Fe(d)));
|
|
10381
|
+
}), Ys = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((f, u) => {
|
|
10382
|
+
t().post(St(e, a), JSON.stringify(n), s).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Fe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Fe(p)));
|
|
10383
|
+
}), Hs = (t, n, e = {}, a, r, o = {}) => new Promise((s, f) => {
|
|
10384
|
+
t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? s(u.data) : f(new Fe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Fe(u)));
|
|
10387
10385
|
});
|
|
10388
10386
|
function ro() {
|
|
10389
10387
|
const t = J([]), n = (m) => {
|
|
10390
|
-
|
|
10388
|
+
f("limit", m);
|
|
10391
10389
|
}, e = (m, d) => {
|
|
10392
|
-
|
|
10390
|
+
f("offset", m * d - d);
|
|
10393
10391
|
}, a = (m, d) => {
|
|
10394
|
-
!ve(m) && m.length > 0 &&
|
|
10392
|
+
!ve(m) && m.length > 0 && f("order[" + m + "]", d ? "desc" : "asc");
|
|
10395
10393
|
}, r = (m) => rr(m) ? m ? "1" : "0" : m, o = (m, d, v) => {
|
|
10396
10394
|
dt(v) && v.length === 0 || t.value.push("filter_" + m + "[" + d + "]=" + r(v));
|
|
10397
10395
|
}, s = (m) => {
|
|
10398
10396
|
const d = m.model;
|
|
10399
10397
|
return ve(d) ? m.mandatory ? (m.model = m.default, m.default) : null : dt(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : encodeURIComponent(d) : Oe(d) ? d.length === 0 ? m.mandatory ? (m.model = m.default, m.default) : null : d.map((v) => dt(v) ? encodeURIComponent(v) : v).join(",") : Ma(d) || rr(d) ? d : null;
|
|
10400
|
-
},
|
|
10398
|
+
}, f = (m, d) => {
|
|
10401
10399
|
t.value.push(m + "=" + d);
|
|
10402
10400
|
};
|
|
10403
10401
|
return {
|
|
@@ -10408,39 +10406,39 @@ function ro() {
|
|
|
10408
10406
|
querySetFilters: (m) => {
|
|
10409
10407
|
const d = !S(m._elastic);
|
|
10410
10408
|
for (const v in m) {
|
|
10411
|
-
const k = m[v],
|
|
10409
|
+
const k = m[v], F = k.field || v;
|
|
10412
10410
|
if (k.exclude)
|
|
10413
10411
|
continue;
|
|
10414
10412
|
const y = s(k);
|
|
10415
10413
|
if (!ve(y)) {
|
|
10416
10414
|
if (d) {
|
|
10417
|
-
|
|
10415
|
+
f(F, y);
|
|
10418
10416
|
continue;
|
|
10419
10417
|
}
|
|
10420
|
-
o(k.variant,
|
|
10418
|
+
o(k.variant, F, y);
|
|
10421
10419
|
}
|
|
10422
10420
|
}
|
|
10423
10421
|
},
|
|
10424
|
-
queryAdd:
|
|
10422
|
+
queryAdd: f,
|
|
10425
10423
|
queryBuild: () => "?" + t.value.join("&")
|
|
10426
10424
|
};
|
|
10427
10425
|
}
|
|
10428
10426
|
const Js = (t, n) => {
|
|
10429
|
-
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, queryAddFilter: s, queryAdd:
|
|
10430
|
-
return e(u), a(1, u), r("id", !1), n ?
|
|
10431
|
-
}, qh = (t, n, e, a = {}, r, o, s = {},
|
|
10432
|
-
t().get(St(e, a) + Js(n,
|
|
10427
|
+
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, queryAddFilter: s, queryAdd: f } = ro(), u = t.length;
|
|
10428
|
+
return e(u), a(1, u), r("id", !1), n ? f("id", t.join(",")) : s("in", "id", t.join(",")), o();
|
|
10429
|
+
}, qh = (t, n, e, a = {}, r, o, s = {}, f = !1) => new Promise((u, p) => {
|
|
10430
|
+
t().get(St(e, a) + Js(n, f), s).then((m) => {
|
|
10433
10431
|
var d;
|
|
10434
|
-
return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new
|
|
10435
|
-
}).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new
|
|
10432
|
+
return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Fe()) : p(new ht(m.status));
|
|
10433
|
+
}).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Fe(m)));
|
|
10436
10434
|
}), Ws = (t) => qn(t) && Object.hasOwn(t, "totalCount"), qs = (t) => qn(t) && Object.hasOwn(t, "hasNextPage"), Gs = (t, n) => {
|
|
10437
10435
|
const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: s } = ro();
|
|
10438
10436
|
return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), s(n), o();
|
|
10439
|
-
}, Ks = (t, n, e = {}, a, r, o, s,
|
|
10437
|
+
}, Ks = (t, n, e = {}, a, r, o, s, f = {}) => new Promise((u, p) => {
|
|
10440
10438
|
const m = S(r._elastic) ? "" : "/search";
|
|
10441
10439
|
t().get(
|
|
10442
10440
|
St(n, e) + m + Gs(a, r),
|
|
10443
|
-
|
|
10441
|
+
f
|
|
10444
10442
|
).then((d) => {
|
|
10445
10443
|
if (!Tt(d.status))
|
|
10446
10444
|
return p(new ht(d.status));
|
|
@@ -10448,29 +10446,29 @@ const Js = (t, n) => {
|
|
|
10448
10446
|
const v = d.data;
|
|
10449
10447
|
return qs(v) ? a.hasNextPage = d.data.hasNextPage : Ws(v) && (a.totalCount = v.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
|
|
10450
10448
|
}
|
|
10451
|
-
return p(new
|
|
10452
|
-
}).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, s, d)) : xt(d) ? p(new gt(d, d)) : p(new
|
|
10453
|
-
}), Zs = (t, n, e = {}, a, r, o = {}) => new Promise((s,
|
|
10454
|
-
t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? s(u.data) :
|
|
10455
|
-
}), Gh = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((
|
|
10456
|
-
t().put(St(e, a), JSON.stringify(n), s).then((p) => Tt(p.status) ? p.data ?
|
|
10449
|
+
return p(new Fe());
|
|
10450
|
+
}).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, s, d)) : xt(d) ? p(new gt(d, d)) : p(new Fe(d)));
|
|
10451
|
+
}), Zs = (t, n, e = {}, a, r, o = {}) => new Promise((s, f) => {
|
|
10452
|
+
t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? s(u.data) : f(new Fe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Fe(u)));
|
|
10453
|
+
}), Gh = (t, n = {}, e, a = {}, r, o, s = {}) => new Promise((f, u) => {
|
|
10454
|
+
t().put(St(e, a), JSON.stringify(n), s).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Fe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Fe(p)));
|
|
10457
10455
|
});
|
|
10458
10456
|
function Kh() {
|
|
10459
10457
|
return {
|
|
10460
10458
|
isAnzuFatalError: Pr,
|
|
10461
|
-
isAnzuApiForbiddenError:
|
|
10462
|
-
isAnzuApiValidationError:
|
|
10459
|
+
isAnzuApiForbiddenError: Fr,
|
|
10460
|
+
isAnzuApiValidationError: Vr,
|
|
10463
10461
|
isAnzuApiResponseCodeError: Er
|
|
10464
10462
|
};
|
|
10465
10463
|
}
|
|
10466
10464
|
const En = "/adm/v1/job", Nn = "job";
|
|
10467
10465
|
function Zh(t, n) {
|
|
10468
10466
|
return {
|
|
10469
|
-
fetchJobList: (s,
|
|
10467
|
+
fetchJobList: (s, f) => Ks(t, En, {}, s, f, n, Nn),
|
|
10470
10468
|
fetchJob: (s) => Zs(t, En + "/:id", { id: s }, n, Nn),
|
|
10471
10469
|
createJob: (s) => {
|
|
10472
|
-
const
|
|
10473
|
-
return Ys(t, s, En + "/:type", { type:
|
|
10470
|
+
const f = Ko(s._resourceName).slice(4);
|
|
10471
|
+
return Ys(t, s, En + "/:type", { type: f }, n, Nn);
|
|
10474
10472
|
},
|
|
10475
10473
|
deleteJob: (s) => Hs(t, En + "/:id", { id: s }, n, Nn)
|
|
10476
10474
|
};
|
|
@@ -10576,7 +10574,7 @@ const eg = (t, n) => {
|
|
|
10576
10574
|
timePicker: cu,
|
|
10577
10575
|
pagination: fu,
|
|
10578
10576
|
rating: mu
|
|
10579
|
-
}, hu = "System error, try again later or contact administrator", gu = "Access denied, you dont have correct rights for this action", vu = "Please fill all required fields and fix problems", yu = "Please, fix these errors", bu = {
|
|
10577
|
+
}, hu = "System error, try again later or contact administrator", gu = "Access denied, you dont have correct rights for this action", vu = "Please fill all required fields and fix problems", yu = "Please, fix these errors", bu = "Forbidden operation", wu = {
|
|
10580
10578
|
created: "Record was created",
|
|
10581
10579
|
updated: "Record was updated",
|
|
10582
10580
|
deleted: "Record was removed",
|
|
@@ -10584,30 +10582,30 @@ const eg = (t, n) => {
|
|
|
10584
10582
|
unpublished: "Record was unpublished",
|
|
10585
10583
|
enabled: "Record was enabled",
|
|
10586
10584
|
disabled: "Record was disabled"
|
|
10587
|
-
},
|
|
10585
|
+
}, ku = "ID was copied to clipboard", Cu = "Text was copied to clipboard", Au = {
|
|
10588
10586
|
unknownError: hu,
|
|
10589
10587
|
forbiddenError: gu,
|
|
10590
10588
|
fixValidationErrors: vu,
|
|
10591
10589
|
fixApiValidationErrors: yu,
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10590
|
+
apiForbiddenOperationError: bu,
|
|
10591
|
+
recordWas: wu,
|
|
10592
|
+
idWasCopied: ku,
|
|
10593
|
+
textWasCopied: Cu
|
|
10594
|
+
}, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Iu = "More filters", Fu = "Cancel", Vu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", Bu = "Add", ju = "Download", zu = "Upload", Ru = {
|
|
10595
|
+
create: Du,
|
|
10596
|
+
createAndClose: _u,
|
|
10597
|
+
save: Mu,
|
|
10598
|
+
saveAndClose: xu,
|
|
10599
|
+
close: Tu,
|
|
10600
|
+
edit: Su,
|
|
10601
|
+
detail: $u,
|
|
10602
|
+
submitFilter: Ou,
|
|
10603
|
+
resetFilter: Pu,
|
|
10604
|
+
advancedFilters: Iu,
|
|
10605
|
+
cancel: Fu,
|
|
10607
10606
|
delete: "Delete",
|
|
10608
10607
|
id: Vu,
|
|
10609
|
-
now:
|
|
10610
|
-
logout: Eu,
|
|
10608
|
+
now: Eu,
|
|
10611
10609
|
confirm: Nu,
|
|
10612
10610
|
copyId: Lu,
|
|
10613
10611
|
add: Bu,
|
|
@@ -10823,10 +10821,10 @@ const eg = (t, n) => {
|
|
|
10823
10821
|
model: Sd,
|
|
10824
10822
|
filter: $d,
|
|
10825
10823
|
button: Od
|
|
10826
|
-
}, Id = "Invalid",
|
|
10824
|
+
}, Id = "Invalid", Fd = "todo trans error_id_mismatch", Vd = "todo trans error_field_empty", Ed = "todo trans error_field_length_min", Nd = "todo trans error_field_length_max", Ld = "todo trans error_field_invalid", Bd = "todo trans error_field_not_unique", jd = "todo trans error_field_value_not_found", zd = "todo trans error_field_range_min", Rd = "todo trans error_field_range_max", Ud = "todo trans error_field_regex", Yd = "todo trans error_field_url", Hd = "todo trans error_already_exists", Jd = {
|
|
10827
10825
|
noTranslation: Id,
|
|
10828
|
-
error_id_mismatch:
|
|
10829
|
-
error_field_empty:
|
|
10826
|
+
error_id_mismatch: Fd,
|
|
10827
|
+
error_field_empty: Vd,
|
|
10830
10828
|
error_field_length_min: Ed,
|
|
10831
10829
|
error_field_length_max: Nd,
|
|
10832
10830
|
error_field_invalid: Ld,
|
|
@@ -10837,7 +10835,7 @@ const eg = (t, n) => {
|
|
|
10837
10835
|
error_field_regex: Ud,
|
|
10838
10836
|
error_field_url: Yd,
|
|
10839
10837
|
error_already_exists: Hd
|
|
10840
|
-
}, Wd = "Required.", qd = "todo translate between", Gd = "Minimal length is {min}.", Kd = "Maximal length is {max}.", Zd = "todo translate maxValue", Qd = "todo translate minValue", Xd = "Incorrect email format", ec = "Incorrect url format", tc = "todo translate numeric", nc = "todo translate slug", ac = "Item length in list must have between {min} and {max} characters.", rc = {
|
|
10838
|
+
}, Wd = "Required.", qd = "todo translate between numeric values {min} and {max}", Gd = "Minimal length is {min}.", Kd = "Maximal length is {max}.", Zd = "todo translate maxValue {max}", Qd = "todo translate minValue {min}", Xd = "Incorrect email format", ec = "Incorrect url format", tc = "todo translate numeric", nc = "todo translate slug", ac = "Item length in list must have between {min} and {max} characters.", rc = {
|
|
10841
10839
|
required: Wd,
|
|
10842
10840
|
between: qd,
|
|
10843
10841
|
minLength: Gd,
|
|
@@ -10853,7 +10851,7 @@ const eg = (t, n) => {
|
|
|
10853
10851
|
noTranslation: oc
|
|
10854
10852
|
}, rg = {
|
|
10855
10853
|
common: {
|
|
10856
|
-
alert:
|
|
10854
|
+
alert: Au,
|
|
10857
10855
|
button: Ru,
|
|
10858
10856
|
model: qu,
|
|
10859
10857
|
system: ld,
|
|
@@ -10892,7 +10890,7 @@ const eg = (t, n) => {
|
|
|
10892
10890
|
recordWas: fc,
|
|
10893
10891
|
idWasCopied: mc,
|
|
10894
10892
|
textWasCopied: pc
|
|
10895
|
-
}, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "More filters", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Copy ID", Oc = "Pridať", Pc = "Download", Ic = "Upload",
|
|
10893
|
+
}, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "More filters", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Copy ID", Oc = "Pridať", Pc = "Download", Ic = "Upload", Fc = {
|
|
10896
10894
|
create: gc,
|
|
10897
10895
|
createAndClose: vc,
|
|
10898
10896
|
save: yc,
|
|
@@ -10912,7 +10910,7 @@ const eg = (t, n) => {
|
|
|
10912
10910
|
add: Oc,
|
|
10913
10911
|
download: Pc,
|
|
10914
10912
|
Upload: Ic
|
|
10915
|
-
},
|
|
10913
|
+
}, Vc = "System", Ec = "Nevybrané", Nc = {
|
|
10916
10914
|
true: "áno",
|
|
10917
10915
|
false: "nie"
|
|
10918
10916
|
}, Lc = {
|
|
@@ -10925,7 +10923,7 @@ const eg = (t, n) => {
|
|
|
10925
10923
|
contains: "Kdekoľvek vo výraze",
|
|
10926
10924
|
startsWith: "Začiatok výrazu"
|
|
10927
10925
|
}, jc = {
|
|
10928
|
-
system:
|
|
10926
|
+
system: Vc,
|
|
10929
10927
|
notSelected: Ec,
|
|
10930
10928
|
boolean: Nc,
|
|
10931
10929
|
tracking: Lc,
|
|
@@ -11156,9 +11154,9 @@ const eg = (t, n) => {
|
|
|
11156
11154
|
ariaLabel: {
|
|
11157
11155
|
delimiter: "Carousel slide {0} of {1}"
|
|
11158
11156
|
}
|
|
11159
|
-
}, Vf = {
|
|
11160
|
-
moreEvents: "{0} more"
|
|
11161
11157
|
}, Ff = {
|
|
11158
|
+
moreEvents: "{0} more"
|
|
11159
|
+
}, Vf = {
|
|
11162
11160
|
clear: "Clear {0}",
|
|
11163
11161
|
prependAction: "{0} prepended action",
|
|
11164
11162
|
appendAction: "{0} appended action"
|
|
@@ -11191,8 +11189,8 @@ const eg = (t, n) => {
|
|
|
11191
11189
|
datePicker: Of,
|
|
11192
11190
|
noDataText: Pf,
|
|
11193
11191
|
carousel: If,
|
|
11194
|
-
calendar:
|
|
11195
|
-
input:
|
|
11192
|
+
calendar: Ff,
|
|
11193
|
+
input: Vf,
|
|
11196
11194
|
fileInput: Ef,
|
|
11197
11195
|
timePicker: Nf,
|
|
11198
11196
|
pagination: Lf,
|
|
@@ -11213,7 +11211,7 @@ const eg = (t, n) => {
|
|
|
11213
11211
|
error_already_exists: Xf
|
|
11214
11212
|
}, tm = "Error", nm = {
|
|
11215
11213
|
noTranslation: tm
|
|
11216
|
-
}, am = "Required.", rm = "todo translate between numeric values", om = "Minimal length is {min}.", im = "Maximal length is {max}.", lm = "todo translate maxValue", sm = "todo translate minValue", um = "Incorrect email format", dm = "Incorrect url format", cm = "todo translate numeric", fm = "todo translate slug", mm = "Item length in list must have between {min} and {max} characters.", pm = {
|
|
11214
|
+
}, am = "Required.", rm = "todo translate between numeric values {min} and {max}", om = "Minimal length is {min}.", im = "Maximal length is {max}.", lm = "todo translate maxValue {max}", sm = "todo translate minValue {min}", um = "Incorrect email format", dm = "Incorrect url format", cm = "todo translate numeric", fm = "todo translate slug", mm = "Item length in list must have between {min} and {max} characters.", pm = {
|
|
11217
11215
|
required: am,
|
|
11218
11216
|
between: rm,
|
|
11219
11217
|
minLength: om,
|
|
@@ -11228,7 +11226,7 @@ const eg = (t, n) => {
|
|
|
11228
11226
|
}, og = {
|
|
11229
11227
|
common: {
|
|
11230
11228
|
alert: hc,
|
|
11231
|
-
button:
|
|
11229
|
+
button: Fc,
|
|
11232
11230
|
model: jc,
|
|
11233
11231
|
system: Xc,
|
|
11234
11232
|
anzuUser: rf,
|
|
@@ -11310,8 +11308,8 @@ function Pm() {
|
|
|
11310
11308
|
});
|
|
11311
11309
|
}
|
|
11312
11310
|
const { t: Im } = le.global;
|
|
11313
|
-
function
|
|
11314
|
-
const t = Ke({ t: Im }), n = (a, r) => (o) => !Tr.req(o) || o.every((s) => s.length >=
|
|
11311
|
+
function Fm() {
|
|
11312
|
+
const t = Ke({ t: Im }), n = (a, r) => (o) => !Tr.req(o) || o.every((s) => s.length >= c(a) && s.length <= c(r));
|
|
11315
11313
|
return t((a, r) => ({
|
|
11316
11314
|
$validator: n(a, r),
|
|
11317
11315
|
// $message not required when using i18n
|
|
@@ -11329,9 +11327,9 @@ function Vm() {
|
|
|
11329
11327
|
messagePath: () => "error.jsValidation.stringArrayItemLength"
|
|
11330
11328
|
});
|
|
11331
11329
|
}
|
|
11332
|
-
const { t:
|
|
11330
|
+
const { t: Vm } = le.global;
|
|
11333
11331
|
function Em() {
|
|
11334
|
-
return Ke({ t:
|
|
11332
|
+
return Ke({ t: Vm })(Fo, {
|
|
11335
11333
|
messagePath: () => "error.jsValidation.url"
|
|
11336
11334
|
});
|
|
11337
11335
|
}
|
|
@@ -11348,7 +11346,7 @@ function ig() {
|
|
|
11348
11346
|
numeric: Tm(),
|
|
11349
11347
|
slug: Pm(),
|
|
11350
11348
|
url: Em(),
|
|
11351
|
-
stringArrayItemLength:
|
|
11349
|
+
stringArrayItemLength: Fm()
|
|
11352
11350
|
};
|
|
11353
11351
|
}
|
|
11354
11352
|
const Nm = ["createdAt", "modifiedAt"], { t: gr } = le.global || le, Lm = {
|
|
@@ -11362,17 +11360,17 @@ function lg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
|
|
|
11362
11360
|
if (o)
|
|
11363
11361
|
for (const m of Object.keys(s))
|
|
11364
11362
|
m in o && (s[m] = o[m]);
|
|
11365
|
-
const
|
|
11363
|
+
const f = t.map((m) => {
|
|
11366
11364
|
const d = { ...Lm, ...m };
|
|
11367
11365
|
return S(d.title) && (S(d.title) && Nm.includes(d.key) ? d.title = gr("common.model.tracking." + d.key) : S(d.title) && e && a ? d.title = gr(e + "." + a + ".model." + d.key) : d.title = ""), d;
|
|
11368
11366
|
}), u = x(() => {
|
|
11369
11367
|
const m = [];
|
|
11370
|
-
return
|
|
11368
|
+
return f.forEach((d) => {
|
|
11371
11369
|
n.value.includes(d.key) || m.push(d);
|
|
11372
11370
|
}), r || m.push({ key: "actions", sortable: !1, fixed: !0 }), m;
|
|
11373
11371
|
});
|
|
11374
11372
|
return {
|
|
11375
|
-
columnsAll:
|
|
11373
|
+
columnsAll: f,
|
|
11376
11374
|
columnsVisible: u,
|
|
11377
11375
|
columnsHidden: n,
|
|
11378
11376
|
updateSortBy: (m) => {
|
|
@@ -11498,38 +11496,38 @@ const sg = () => ({
|
|
|
11498
11496
|
});
|
|
11499
11497
|
function ug(t, n, e, a = "id") {
|
|
11500
11498
|
const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), s = (...P) => {
|
|
11501
|
-
const
|
|
11499
|
+
const V = J(/* @__PURE__ */ new Set());
|
|
11502
11500
|
for (let R = 0; R < P.length; R++) {
|
|
11503
11501
|
const U = P[R];
|
|
11504
11502
|
if (!(ve(U) || S(U))) {
|
|
11505
11503
|
if (Oe(U)) {
|
|
11506
11504
|
for (let ae = 0; ae < U.length; ae++) {
|
|
11507
11505
|
const ee = U[ae];
|
|
11508
|
-
ve(ee) || S(ee) || r.value.has(ee) ||
|
|
11506
|
+
ve(ee) || S(ee) || r.value.has(ee) || V.value.add(ee);
|
|
11509
11507
|
}
|
|
11510
11508
|
continue;
|
|
11511
11509
|
}
|
|
11512
|
-
r.value.has(U) ||
|
|
11510
|
+
r.value.has(U) || V.value.add(U);
|
|
11513
11511
|
}
|
|
11514
11512
|
}
|
|
11515
|
-
|
|
11513
|
+
V.value.forEach((R) => {
|
|
11516
11514
|
r.value.set(R, { ...n(R), _loaded: !1 }), o.value.add(R);
|
|
11517
11515
|
});
|
|
11518
|
-
},
|
|
11516
|
+
}, f = (P) => {
|
|
11519
11517
|
P[a] && r.value.set(P[a], { ...t(P), _loaded: !0 });
|
|
11520
11518
|
}, u = (P) => {
|
|
11521
11519
|
P[a] && r.value.set(P[a], { ...P, _loaded: !0 });
|
|
11522
11520
|
}, p = (P) => {
|
|
11523
|
-
for (let
|
|
11524
|
-
r.value.set(P[
|
|
11521
|
+
for (let V = 0; V < P.length; V += 1)
|
|
11522
|
+
r.value.set(P[V][a], { ...t(P[V]), _loaded: !0 });
|
|
11525
11523
|
}, m = (P) => {
|
|
11526
|
-
for (let
|
|
11527
|
-
o.value.delete(P[
|
|
11524
|
+
for (let V = 0; V < P.length; V += 1)
|
|
11525
|
+
o.value.delete(P[V]);
|
|
11528
11526
|
};
|
|
11529
11527
|
async function d() {
|
|
11530
11528
|
if (o.value.size > 0) {
|
|
11531
|
-
const P = Array.from(o.value),
|
|
11532
|
-
m(P), p(
|
|
11529
|
+
const P = Array.from(o.value), V = await e(P);
|
|
11530
|
+
m(P), p(V);
|
|
11533
11531
|
}
|
|
11534
11532
|
}
|
|
11535
11533
|
const v = Co(
|
|
@@ -11546,7 +11544,7 @@ function ug(t, n, e, a = "id") {
|
|
|
11546
11544
|
v();
|
|
11547
11545
|
},
|
|
11548
11546
|
add: s,
|
|
11549
|
-
addManual:
|
|
11547
|
+
addManual: f,
|
|
11550
11548
|
addManualMinimal: u,
|
|
11551
11549
|
has: (P) => P ? r.value.has(P) : !1,
|
|
11552
11550
|
get: (P) => {
|
|
@@ -11556,8 +11554,8 @@ function ug(t, n, e, a = "id") {
|
|
|
11556
11554
|
isLoaded: (P) => {
|
|
11557
11555
|
if (!P)
|
|
11558
11556
|
return !1;
|
|
11559
|
-
const
|
|
11560
|
-
return
|
|
11557
|
+
const V = r.value.get(P);
|
|
11558
|
+
return V ? V._loaded : !1;
|
|
11561
11559
|
}
|
|
11562
11560
|
};
|
|
11563
11561
|
}
|
|
@@ -11604,7 +11602,7 @@ export {
|
|
|
11604
11602
|
zp as AAdminSwitcher,
|
|
11605
11603
|
wp as AAlerts,
|
|
11606
11604
|
hr as AAnzuUserAvatar,
|
|
11607
|
-
|
|
11605
|
+
Fh as AAvatarColorPicker,
|
|
11608
11606
|
bp as ABooleanValue,
|
|
11609
11607
|
vh as ACachedChip,
|
|
11610
11608
|
kp as ACard,
|
|
@@ -11612,10 +11610,10 @@ export {
|
|
|
11612
11610
|
wh as AChipNoLink,
|
|
11613
11611
|
bh as ACopyText,
|
|
11614
11612
|
jp as ACreateDialog,
|
|
11615
|
-
|
|
11616
|
-
|
|
11613
|
+
Vh as ACurrentUserDropdown,
|
|
11614
|
+
Vp as ADatatableConfigButton,
|
|
11617
11615
|
Ep as ADatatableOrdering,
|
|
11618
|
-
|
|
11616
|
+
Fp as ADatatablePagination,
|
|
11619
11617
|
Rn as ADatetime,
|
|
11620
11618
|
$r as ADialogToolbar,
|
|
11621
11619
|
Rp as AEmptyRouterView,
|
|
@@ -11665,7 +11663,7 @@ export {
|
|
|
11665
11663
|
gt as AnzuApiForbiddenOperationError,
|
|
11666
11664
|
ht as AnzuApiResponseCodeError,
|
|
11667
11665
|
pt as AnzuApiValidationError,
|
|
11668
|
-
|
|
11666
|
+
Fe as AnzuFatalError,
|
|
11669
11667
|
oh as AnzuSystemsCommonAdmin,
|
|
11670
11668
|
Hr as AvailableLanguagesSymbol,
|
|
11671
11669
|
mr as COMMON_CONFIG,
|
|
@@ -11676,7 +11674,7 @@ export {
|
|
|
11676
11674
|
zr as GrantOrigin,
|
|
11677
11675
|
Lp as HTTP_STATUS_BAD_REQUEST,
|
|
11678
11676
|
Pi as HTTP_STATUS_CREATED,
|
|
11679
|
-
|
|
11677
|
+
Fi as HTTP_STATUS_FORBIDDEN,
|
|
11680
11678
|
Ii as HTTP_STATUS_NO_CONTENT,
|
|
11681
11679
|
Oi as HTTP_STATUS_OK,
|
|
11682
11680
|
Bp as HTTP_STATUS_UNAUTHORIZED,
|
|
@@ -11719,10 +11717,10 @@ export {
|
|
|
11719
11717
|
ug as defineCached,
|
|
11720
11718
|
st as eventClickBlur,
|
|
11721
11719
|
le as i18n,
|
|
11722
|
-
|
|
11720
|
+
Fr as isAnzuApiForbiddenError,
|
|
11723
11721
|
Bi as isAnzuApiForbiddenOperationError,
|
|
11724
11722
|
Er as isAnzuApiResponseCodeError,
|
|
11725
|
-
|
|
11723
|
+
Vr as isAnzuApiValidationError,
|
|
11726
11724
|
Pr as isAnzuFatalError,
|
|
11727
11725
|
Oe as isArray,
|
|
11728
11726
|
rr as isBoolean,
|