@anzusystems/common-admin 0.0.49 → 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 +5 -5
- package/dist/common-admin.es.js +389 -391
- 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";
|
|
@@ -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
|
})
|
|
@@ -444,7 +444,7 @@ const kp = /* @__PURE__ */ L({
|
|
|
444
444
|
set(V) {
|
|
445
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),
|
|
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
448
|
Ie(v, (V, R) => {
|
|
449
449
|
V !== R && (a.value.page = 1, n("change"));
|
|
450
450
|
});
|
|
@@ -463,10 +463,10 @@ const kp = /* @__PURE__ */ L({
|
|
|
463
463
|
};
|
|
464
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
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",
|
|
@@ -541,14 +541,14 @@ const Vp = /* @__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",
|
|
@@ -563,7 +563,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
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 Vp = /* @__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 Vp = /* @__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(
|
|
@@ -665,7 +665,7 @@ const Vp = /* @__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 Vp = /* @__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,7 +685,7 @@ const Vp = /* @__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
690
|
onClick: (F) => m(k)
|
|
691
691
|
}, {
|
|
@@ -694,7 +694,7 @@ const Vp = /* @__PURE__ */ L({
|
|
|
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,
|
|
@@ -1202,10 +1202,10 @@ const Ei = "validation_failed", Mt = (t) => {
|
|
|
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) => {
|
|
@@ -1353,7 +1353,7 @@ 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,
|
|
@@ -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
|
});
|
|
@@ -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
|
|
@@ -1447,7 +1447,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
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;
|
|
@@ -1504,7 +1504,7 @@ const jp = /* @__PURE__ */ L({
|
|
|
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,7 +1582,7 @@ 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: F, h: u, m:
|
|
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 = {};
|
|
@@ -1676,7 +1676,7 @@ var fa = {}, qi = {
|
|
|
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,7 +1686,7 @@ 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[F] = K + "Date", T[d] = K + "Month", T[k] = K + "FullYear", T[u] = K + "Hours", 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
1691
|
var ge = this.clone().set(F, 1);
|
|
1692
1692
|
ge.$d[se](he), ge.init(), this.$d = ge.set(F, Math.min(this.$D, ge.daysInMonth())).$d;
|
|
@@ -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) {
|
|
@@ -1845,13 +1845,13 @@ 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
1850
|
var F = u.diff;
|
|
1851
1851
|
u.diff = function(y, O, P) {
|
|
1852
1852
|
if (y && this.$u === y.$u)
|
|
1853
1853
|
return F.call(this, y, O, P);
|
|
1854
|
-
var V = this.local(), R =
|
|
1854
|
+
var V = this.local(), R = f(y).local();
|
|
1855
1855
|
return F.call(V, R, O, P);
|
|
1856
1856
|
};
|
|
1857
1857
|
};
|
|
@@ -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:
|
|
2030
|
+
b(me, { icon: c(r) }, null, 8, ["icon"]),
|
|
2031
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"]));
|
|
@@ -2098,7 +2098,7 @@ const Zp = /* @__PURE__ */ L({
|
|
|
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 = [
|
|
@@ -2787,15 +2787,15 @@ var ra = function() {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
}, Gr = function(t) {
|
|
2789
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(
|
|
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
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,
|
|
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)
|
|
@@ -2805,7 +2805,7 @@ var ra = function() {
|
|
|
2805
2805
|
else if (typeof o == "string") {
|
|
2806
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))
|
|
@@ -2833,7 +2833,7 @@ var ra = function() {
|
|
|
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,7 +2890,7 @@ 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;
|
|
@@ -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) {
|
|
@@ -3611,7 +3611,7 @@ function vl(t, n) {
|
|
|
3611
3611
|
}
|
|
3612
3612
|
var bt = {
|
|
3613
3613
|
locale: [Rt, K],
|
|
3614
|
-
showMonths: [_,
|
|
3614
|
+
showMonths: [_, f, j],
|
|
3615
3615
|
minDate: [V],
|
|
3616
3616
|
maxDate: [V],
|
|
3617
3617
|
positionElement: [Wt],
|
|
@@ -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",
|
|
@@ -4075,7 +4075,7 @@ var ga = {}, kl = {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
function y(O, P) {
|
|
4077
4077
|
Object.keys(P).filter(function(V) {
|
|
4078
|
-
return
|
|
4078
|
+
return f.has(V);
|
|
4079
4079
|
}).forEach(function(V) {
|
|
4080
4080
|
var R;
|
|
4081
4081
|
if (V === "class") {
|
|
@@ -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 = {
|
|
@@ -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,
|
|
@@ -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)) {
|
|
@@ -7652,7 +7652,7 @@ const Ml = {
|
|
|
7652
7652
|
}
|
|
7653
7653
|
(j = r.value) == null || j.fp.setDate(_, !0), W.value.textFieldValue.$touch(), n("blur");
|
|
7654
7654
|
}, V = () => {
|
|
7655
|
-
p.value = e.defaultValue, n("update:modelValue",
|
|
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"])
|
|
@@ -7739,10 +7739,10 @@ const Ml = {
|
|
|
7739
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,
|
|
@@ -7785,7 +7785,7 @@ const Qr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-476a45eb"]]), 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-476a45eb"]]), 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-476a45eb"]]), 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,7 +7899,7 @@ 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
|
|
7902
|
+
return f(p + "." + m + ".model." + M);
|
|
7903
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;
|
|
@@ -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
|
|
@@ -8016,16 +8016,16 @@ const Tl = {
|
|
|
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 (
|
|
8022
|
+
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8023
8023
|
const F = await e.callbackToFalse();
|
|
8024
|
-
n("update:modelValue", !F), d.value = !F, F || (u.value = !0),
|
|
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
8030
|
return Ie(m, (k, F) => {
|
|
8031
8031
|
k !== F && (d.value = k, u.value = !1);
|
|
@@ -8036,15 +8036,14 @@ const Tl = {
|
|
|
8036
8036
|
id: p.value,
|
|
8037
8037
|
modelValue: d.value,
|
|
8038
8038
|
"onUpdate:modelValue": F[0] || (F[0] = (y) => d.value = y),
|
|
8039
|
-
|
|
8040
|
-
disabled: c.value,
|
|
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({
|
|
@@ -8068,16 +8067,16 @@ const Tl = {
|
|
|
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 (
|
|
8073
|
+
if (f.value = !0, u.value = !1, d.value === !0) {
|
|
8075
8074
|
const F = await e.callbackToFalse();
|
|
8076
|
-
n("update:modelValue", !F), d.value = !F, F || (u.value = !0),
|
|
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
8081
|
return Ie(m, (k, F) => {
|
|
8083
8082
|
k !== F && (d.value = k, u.value = !1);
|
|
@@ -8098,8 +8097,8 @@ const Tl = {
|
|
|
8098
8097
|
b(Eo, {
|
|
8099
8098
|
modelValue: d.value,
|
|
8100
8099
|
"onUpdate:modelValue": F[0] || (F[0] = (y) => d.value = y),
|
|
8101
|
-
loading:
|
|
8102
|
-
disabled:
|
|
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,7 +8123,7 @@ 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
|
});
|
|
@@ -8155,7 +8154,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
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(() => {
|
|
@@ -8174,21 +8173,21 @@ const Il = { key: 0 }, Fl = {
|
|
|
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:
|
|
8176
|
+
modelValue: c(a),
|
|
8178
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 }, Fl = {
|
|
|
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,9 +8242,9 @@ const Il = { key: 0 }, Fl = {
|
|
|
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
8249
|
return F.value.forEach((D) => {
|
|
8251
8250
|
W.set(D.value, { value: D.value, title: D.title });
|
|
@@ -8279,7 +8278,7 @@ const Il = { key: 0 }, Fl = {
|
|
|
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) => {
|
|
@@ -8309,14 +8308,14 @@ const Il = { key: 0 }, Fl = {
|
|
|
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,
|
|
@@ -8340,36 +8339,35 @@ const Il = { key: 0 }, Fl = {
|
|
|
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 }, Fl = {
|
|
|
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,20 +8627,20 @@ 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",
|
|
@@ -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",
|
|
@@ -8778,7 +8776,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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,7 +8811,7 @@ 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
|
|
@@ -8825,7 +8823,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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) {
|
|
@@ -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,
|
|
@@ -8915,7 +8913,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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,7 +8962,7 @@ 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"]),
|
|
@@ -8975,7 +8973,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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,
|
|
@@ -9037,7 +9035,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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"]));
|
|
@@ -9096,7 +9094,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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,
|
|
@@ -9149,17 +9147,17 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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,7 +9201,7 @@ 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"]),
|
|
@@ -9212,7 +9210,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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",
|
|
@@ -9249,7 +9247,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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",
|
|
@@ -9286,7 +9284,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
|
|
|
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"]),
|
|
@@ -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",
|
|
@@ -9847,7 +9845,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__PURE__ */ L({
|
|
|
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), Vh = /* @__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), Vh = /* @__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), Vh = /* @__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), Vh = /* @__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), Vh = /* @__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), Vh = /* @__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,7 +10020,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__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;
|
|
@@ -10037,7 +10035,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__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;
|
|
@@ -10089,15 +10087,15 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__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), Vh = /* @__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 }) => [
|
|
@@ -10163,7 +10161,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__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
10166
|
te("div", Fs, [
|
|
10169
10167
|
t.loginUrl ? (w(), E(oe, {
|
|
@@ -10173,7 +10171,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Vh = /* @__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)
|
|
@@ -10207,16 +10205,16 @@ const Nh = /* @__PURE__ */ vt(Vs, [["__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(Vs, [["__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(Vs, [["__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(Vs, [["__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(Vs, [["__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(Vs, [["__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(Vs, [["__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) => Vi.includes(t), St = (t, n, e = "") => Sr(n) ? t : Zo(e === "" ? t : e, n), Wh = (t, n, e = "", a = {}, r = null, o, s,
|
|
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 {
|
|
@@ -10414,33 +10412,33 @@ function ro() {
|
|
|
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
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
10432
|
return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Fe()) : p(new ht(m.status));
|
|
10435
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));
|
|
@@ -10450,10 +10448,10 @@ const Js = (t, n) => {
|
|
|
10450
10448
|
}
|
|
10451
10449
|
return p(new Fe());
|
|
10452
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)));
|
|
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 ?
|
|
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 {
|
|
@@ -10466,11 +10464,11 @@ function Kh() {
|
|
|
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
|
};
|
|
@@ -11311,7 +11309,7 @@ function Pm() {
|
|
|
11311
11309
|
}
|
|
11312
11310
|
const { t: Im } = le.global;
|
|
11313
11311
|
function Fm() {
|
|
11314
|
-
const t = Ke({ t: Im }), n = (a, r) => (o) => !Tr.req(o) || o.every((s) => s.length >=
|
|
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
|
|
@@ -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) => {
|
|
@@ -11515,7 +11513,7 @@ function ug(t, n, e, a = "id") {
|
|
|
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 });
|
|
@@ -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) => {
|