@anzusystems/common-admin 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common-admin.es.js +463 -458
- package/dist/common-admin.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/common-admin.es.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var hn = (e, n, t) => (
|
|
4
|
-
import { defineComponent as B, computed as A, openBlock as _, createBlock as j, unref as h, withCtx as k, createTextVNode as Z, toDisplayString as L, createElementBlock as U, createVNode as M, createCommentVNode as re, renderSlot as $e, createElementVNode as ie, resolveComponent as
|
|
5
|
-
import { useI18n as X, createI18n as
|
|
6
|
-
import { useI18n as
|
|
1
|
+
var Ir = Object.defineProperty;
|
|
2
|
+
var Er = (e, n, t) => n in e ? Ir(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
|
+
var hn = (e, n, t) => (Er(e, typeof n != "symbol" ? n + "" : n, t), t);
|
|
4
|
+
import { defineComponent as B, computed as A, openBlock as _, createBlock as j, unref as h, withCtx as k, createTextVNode as Z, toDisplayString as L, createElementBlock as U, createVNode as M, createCommentVNode as re, renderSlot as $e, createElementVNode as ie, resolveComponent as Nr, normalizeClass as De, withModifiers as se, withDirectives as Ka, vShow as Za, isProxy as Fr, toRaw as Lr, isRef as Ue, inject as ze, createSlots as xn, Fragment as Je, provide as xa, ref as te, renderList as dt, watch as ct, TransitionGroup as Qa, normalizeStyle as Oa, resolveDynamicComponent as ea, h as Vr, nextTick as jr, onMounted as Br, withKeys as Rr, reactive as Yr, toRefs as Xa, mergeProps as ta, readonly as Et, createStaticVNode as er, setBlockTracking as $a, onBeforeUnmount as Hr } from "vue";
|
|
5
|
+
import { useI18n as X, createI18n as Jr } from "vue-i18n";
|
|
6
|
+
import { useI18n as zc } from "vue-i18n";
|
|
7
7
|
import { VChip as Rt } from "vuetify/lib/components/VChip/index.mjs";
|
|
8
8
|
import { VRow as Wn, VCol as It, VSpacer as Pa } from "vuetify/lib/components/VGrid/index.mjs";
|
|
9
|
-
import { VAlert as
|
|
9
|
+
import { VAlert as Ur } from "vuetify/lib/components/VAlert/index.mjs";
|
|
10
10
|
import { VIcon as he } from "vuetify/lib/components/VIcon/index.mjs";
|
|
11
|
-
import { VCard as On, VCardActions as
|
|
11
|
+
import { VCard as On, VCardActions as Wr } from "vuetify/lib/components/VCard/index.mjs";
|
|
12
12
|
import { VTextField as $n } from "vuetify/lib/components/VTextField/index.mjs";
|
|
13
|
-
import { VTextarea as
|
|
13
|
+
import { VTextarea as qr } from "vuetify/lib/components/VTextarea/index.mjs";
|
|
14
14
|
import { VBtn as de } from "vuetify/lib/components/VBtn/index.mjs";
|
|
15
15
|
import { VBtnToggle as Pn } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
|
16
16
|
import { VLabel as tr } from "vuetify/lib/components/VLabel/index.mjs";
|
|
17
|
-
import { VTable as
|
|
17
|
+
import { VTable as Gr } from "vuetify/lib/components/VTable/index.mjs";
|
|
18
18
|
import { VTooltip as Ke } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
19
|
-
import { VExpandTransition as
|
|
20
|
-
import
|
|
21
|
-
import { createI18nMessage as Me, requiredIf as
|
|
22
|
-
import { watchDebounced as nr, useClipboard as ar, useStorage as rr, useIntervalFn as
|
|
19
|
+
import { VExpandTransition as Kr } from "vuetify/lib/components/transitions/index.mjs";
|
|
20
|
+
import Zr from "@vuelidate/core";
|
|
21
|
+
import { createI18nMessage as Me, requiredIf as Qr, required as Xr, helpers as Yt, url as eo, between as to, email as no, maxLength as ao, maxValue as ro, minLength as oo, minValue as io, numeric as lo } from "@vuelidate/validators";
|
|
22
|
+
import { watchDebounced as nr, useClipboard as ar, useStorage as rr, useIntervalFn as so } from "@vueuse/core";
|
|
23
23
|
import { VAutocomplete as In } from "vuetify/lib/components/VAutocomplete/index.mjs";
|
|
24
|
-
import { VDialog as
|
|
25
|
-
import { VToolbar as
|
|
26
|
-
import { useRouter as
|
|
27
|
-
import { VList as or, VListItem as _n, VListItemTitle as
|
|
24
|
+
import { VDialog as uo } from "vuetify/lib/components/VDialog/index.mjs";
|
|
25
|
+
import { VToolbar as co, VToolbarItems as mo } from "vuetify/lib/components/VToolbar/index.mjs";
|
|
26
|
+
import { useRouter as fo } from "vue-router";
|
|
27
|
+
import { VList as or, VListItem as _n, VListItemTitle as po } from "vuetify/lib/components/VList/index.mjs";
|
|
28
28
|
import { VMenu as ir } from "vuetify/lib/components/VMenu/index.mjs";
|
|
29
|
-
import { useLocale as
|
|
29
|
+
import { useLocale as ho } from "vuetify";
|
|
30
30
|
import { VAvatar as Ia } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
31
|
-
import { VAppBar as
|
|
32
|
-
import
|
|
33
|
-
const
|
|
31
|
+
import { VAppBar as go } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
32
|
+
import vo from "axios";
|
|
33
|
+
const yo = { key: 1 }, bo = /* @__PURE__ */ B({
|
|
34
34
|
__name: "ABooleanValue",
|
|
35
35
|
props: {
|
|
36
36
|
value: { type: [Number, String, Boolean] },
|
|
@@ -49,12 +49,12 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
49
49
|
Z(L(h(o)), 1)
|
|
50
50
|
]),
|
|
51
51
|
_: 1
|
|
52
|
-
}, 8, ["color"])) : (_(), U("span",
|
|
52
|
+
}, 8, ["color"])) : (_(), U("span", yo, L(h(o)), 1));
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
54
|
+
}), wo = {
|
|
55
55
|
key: 0,
|
|
56
56
|
class: "text-subtitle-2"
|
|
57
|
-
},
|
|
57
|
+
}, _o = { class: "text-high-emphasis" }, Ea = /* @__PURE__ */ B({
|
|
58
58
|
__name: "ARow",
|
|
59
59
|
props: {
|
|
60
60
|
title: { default: "" },
|
|
@@ -66,9 +66,9 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
66
66
|
default: k(() => [
|
|
67
67
|
M(It, null, {
|
|
68
68
|
default: k(() => [
|
|
69
|
-
e.title.length ? (_(), U("h4",
|
|
69
|
+
e.title.length ? (_(), U("h4", wo, L(e.title), 1)) : re("", !0),
|
|
70
70
|
$e(n.$slots, "default", {}, () => [
|
|
71
|
-
ie("span",
|
|
71
|
+
ie("span", _o, L(e.value), 1)
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
74
|
_: 3
|
|
@@ -77,7 +77,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
77
77
|
_: 3
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
|
-
}),
|
|
80
|
+
}), zo = ["textContent"], Lu = /* @__PURE__ */ B({
|
|
81
81
|
__name: "AAlerts",
|
|
82
82
|
props: {
|
|
83
83
|
max: { default: 5 },
|
|
@@ -88,7 +88,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
88
88
|
},
|
|
89
89
|
setup(e) {
|
|
90
90
|
return (n, t) => {
|
|
91
|
-
const a =
|
|
91
|
+
const a = Nr("Notifications");
|
|
92
92
|
return _(), j(a, {
|
|
93
93
|
max: e.max,
|
|
94
94
|
group: e.group,
|
|
@@ -97,7 +97,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
97
97
|
class: De(e.customClass)
|
|
98
98
|
}, {
|
|
99
99
|
body: k((o) => [
|
|
100
|
-
M(
|
|
100
|
+
M(Ur, {
|
|
101
101
|
type: o.item.type,
|
|
102
102
|
class: "ma-1",
|
|
103
103
|
density: "compact"
|
|
@@ -113,7 +113,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
113
113
|
class: "white-space-pre",
|
|
114
114
|
"data-cy": "page-title",
|
|
115
115
|
textContent: L(o.item.text)
|
|
116
|
-
}, null, 8,
|
|
116
|
+
}, null, 8, zo)
|
|
117
117
|
]),
|
|
118
118
|
_: 2
|
|
119
119
|
}, 1032, ["type"])
|
|
@@ -122,7 +122,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
122
122
|
}, 8, ["max", "group", "position", "width", "class"]);
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
}),
|
|
125
|
+
}), ko = { class: "a-overlay" }, Do = /* @__PURE__ */ B({
|
|
126
126
|
__name: "ACard",
|
|
127
127
|
props: {
|
|
128
128
|
variant: { default: "flat" },
|
|
@@ -143,7 +143,7 @@ const vo = { key: 1 }, yo = /* @__PURE__ */ B({
|
|
|
143
143
|
}, [
|
|
144
144
|
$e(n.$slots, "default", {}, void 0, !0)
|
|
145
145
|
], 2),
|
|
146
|
-
Ka(ie("div",
|
|
146
|
+
Ka(ie("div", ko, null, 512), [
|
|
147
147
|
[Za, e.loading]
|
|
148
148
|
])
|
|
149
149
|
]),
|
|
@@ -156,18 +156,18 @@ const ft = (e, n) => {
|
|
|
156
156
|
for (const [a, o] of n)
|
|
157
157
|
t[a] = o;
|
|
158
158
|
return t;
|
|
159
|
-
},
|
|
159
|
+
}, Vu = /* @__PURE__ */ ft(Do, [["__scopeId", "data-v-4efd8dab"]]), x = (e) => typeof e > "u", Na = (e) => !x(e), _e = (e) => e === null, na = (e) => typeof e == "number", nt = (e) => typeof e == "string", Xe = (e) => Array.isArray(e), Fa = (e) => typeof e == "boolean", ju = (e) => nt(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), Bu = (e) => {
|
|
160
160
|
const n = parseFloat(e);
|
|
161
161
|
return !isNaN(e) && (n | 0) === n;
|
|
162
|
-
}, lr = (e) => typeof e == "object" && !Xe(e) && !_e(e), sr = (e) => lr(e) ? Object.keys(e).length === 0 : !1, ur = (e) => Xe(e) && e.length === 0,
|
|
162
|
+
}, lr = (e) => typeof e == "object" && !Xe(e) && !_e(e), sr = (e) => lr(e) ? Object.keys(e).length === 0 : !1, ur = (e) => Xe(e) && e.length === 0, Co = (e) => _e(e) || x(e) || e === "" || e === 0 || ur(e) || sr(e), jt = (e) => {
|
|
163
163
|
if (typeof structuredClone == "function")
|
|
164
164
|
try {
|
|
165
|
-
return Fr(e) ? structuredClone(
|
|
165
|
+
return Fr(e) ? structuredClone(Lr(e)) : Ue(e) ? structuredClone(h(e)) : structuredClone(e);
|
|
166
166
|
} catch {
|
|
167
167
|
return JSON.parse(JSON.stringify(e));
|
|
168
168
|
}
|
|
169
169
|
return JSON.parse(JSON.stringify(e));
|
|
170
|
-
},
|
|
170
|
+
}, Mo = (e, n = 0) => {
|
|
171
171
|
let t = n;
|
|
172
172
|
try {
|
|
173
173
|
t = Number.parseInt(e, 10);
|
|
@@ -175,7 +175,7 @@ const ft = (e, n) => {
|
|
|
175
175
|
return n;
|
|
176
176
|
}
|
|
177
177
|
return Number.isNaN(t) ? n : t;
|
|
178
|
-
},
|
|
178
|
+
}, Ru = (e, n = 0) => {
|
|
179
179
|
let t = n;
|
|
180
180
|
try {
|
|
181
181
|
t = Number.parseFloat(e);
|
|
@@ -189,7 +189,7 @@ const ft = (e, n) => {
|
|
|
189
189
|
start: e.slice(0, t),
|
|
190
190
|
end: e.slice(t + n.length)
|
|
191
191
|
};
|
|
192
|
-
},
|
|
192
|
+
}, Yu = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), Ao = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Hu = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, So = (e, n) => {
|
|
193
193
|
if (e.indexOf(":") === -1)
|
|
194
194
|
return e;
|
|
195
195
|
const t = [];
|
|
@@ -199,10 +199,10 @@ const ft = (e, n) => {
|
|
|
199
199
|
const s = o.substring(1);
|
|
200
200
|
x(n[s]) || (t[l] = n[o.substring(1)] + "");
|
|
201
201
|
}), t.join("/");
|
|
202
|
-
}, qn = (e) => e.replace(".", "-"), at = Symbol.for("anzu:system-scope"), rt = Symbol.for("anzu:subject-scope"),
|
|
202
|
+
}, qn = (e) => e.replace(".", "-"), at = Symbol.for("anzu:system-scope"), rt = Symbol.for("anzu:subject-scope"), To = {
|
|
203
203
|
key: 0,
|
|
204
204
|
class: "required"
|
|
205
|
-
},
|
|
205
|
+
}, Ju = /* @__PURE__ */ B({
|
|
206
206
|
__name: "AFormTextField",
|
|
207
207
|
props: {
|
|
208
208
|
modelValue: null,
|
|
@@ -257,16 +257,16 @@ const ft = (e, n) => {
|
|
|
257
257
|
name: "label",
|
|
258
258
|
fn: k(() => [
|
|
259
259
|
Z(L(h(y)), 1),
|
|
260
|
-
h(p) ? (_(), U("span",
|
|
260
|
+
h(p) ? (_(), U("span", To)) : re("", !0)
|
|
261
261
|
]),
|
|
262
262
|
key: "0"
|
|
263
263
|
}
|
|
264
264
|
]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon"]));
|
|
265
265
|
}
|
|
266
|
-
}),
|
|
266
|
+
}), xo = {
|
|
267
267
|
key: 0,
|
|
268
268
|
class: "required"
|
|
269
|
-
},
|
|
269
|
+
}, Uu = /* @__PURE__ */ B({
|
|
270
270
|
__name: "AFormTextarea",
|
|
271
271
|
props: {
|
|
272
272
|
modelValue: null,
|
|
@@ -302,7 +302,7 @@ const ft = (e, n) => {
|
|
|
302
302
|
var m, f;
|
|
303
303
|
return x(t.required) ? !!((m = t.v) != null && m.required && ((f = t.v) == null ? void 0 : f.required.$params.type) === "required") : t.required;
|
|
304
304
|
});
|
|
305
|
-
return (m, f) => (_(), j(
|
|
305
|
+
return (m, f) => (_(), j(qr, {
|
|
306
306
|
"prepend-icon": e.prependIcon,
|
|
307
307
|
"data-cy": e.dataCy,
|
|
308
308
|
"error-messages": h(d),
|
|
@@ -320,16 +320,16 @@ const ft = (e, n) => {
|
|
|
320
320
|
name: "label",
|
|
321
321
|
fn: k(() => [
|
|
322
322
|
Z(L(h(y)), 1),
|
|
323
|
-
h(p) ? (_(), U("span",
|
|
323
|
+
h(p) ? (_(), U("span", xo)) : re("", !0)
|
|
324
324
|
]),
|
|
325
325
|
key: "0"
|
|
326
326
|
}
|
|
327
327
|
]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "rows", "append-icon"]));
|
|
328
328
|
}
|
|
329
|
-
}),
|
|
329
|
+
}), Oo = {
|
|
330
330
|
key: 0,
|
|
331
331
|
class: "required"
|
|
332
|
-
},
|
|
332
|
+
}, Wu = /* @__PURE__ */ B({
|
|
333
333
|
__name: "AFormBooleanToggle",
|
|
334
334
|
props: {
|
|
335
335
|
modelValue: { default: null },
|
|
@@ -366,7 +366,7 @@ const ft = (e, n) => {
|
|
|
366
366
|
}, {
|
|
367
367
|
default: k(() => [
|
|
368
368
|
Z(L(h(c)), 1),
|
|
369
|
-
h(d) ? (_(), U("span",
|
|
369
|
+
h(d) ? (_(), U("span", Oo)) : re("", !0)
|
|
370
370
|
]),
|
|
371
371
|
_: 1
|
|
372
372
|
})) : re("", !0),
|
|
@@ -399,7 +399,7 @@ const ft = (e, n) => {
|
|
|
399
399
|
}, 8, ["modelValue", "mandatory"])
|
|
400
400
|
], 64));
|
|
401
401
|
}
|
|
402
|
-
}),
|
|
402
|
+
}), qu = /* @__PURE__ */ B({
|
|
403
403
|
__name: "ASystemEntityScope",
|
|
404
404
|
props: {
|
|
405
405
|
system: null,
|
|
@@ -409,14 +409,14 @@ const ft = (e, n) => {
|
|
|
409
409
|
const n = e;
|
|
410
410
|
return xa(at, n.system), xa(rt, n.subject), (t, a) => $e(t.$slots, "default");
|
|
411
411
|
}
|
|
412
|
-
}),
|
|
412
|
+
}), dr = (e) => {
|
|
413
413
|
const n = Object.getOwnPropertyNames(e);
|
|
414
414
|
for (const t of n) {
|
|
415
415
|
const a = e[t];
|
|
416
|
-
a && typeof a == "object" &&
|
|
416
|
+
a && typeof a == "object" && dr(a);
|
|
417
417
|
}
|
|
418
418
|
return Object.freeze(e);
|
|
419
|
-
},
|
|
419
|
+
}, Gu = (e) => Object.keys(e).map((n) => e[n]), cr = (e, n, t = ".") => {
|
|
420
420
|
const a = n.split(t);
|
|
421
421
|
let o = e;
|
|
422
422
|
for (; a.length; ) {
|
|
@@ -426,7 +426,7 @@ const ft = (e, n) => {
|
|
|
426
426
|
o = o[l];
|
|
427
427
|
}
|
|
428
428
|
return o;
|
|
429
|
-
},
|
|
429
|
+
}, Ku = (e, n, t, a = ".") => {
|
|
430
430
|
const o = n.split(a);
|
|
431
431
|
let l = e;
|
|
432
432
|
for (; o.length - 1; ) {
|
|
@@ -437,7 +437,7 @@ const ft = (e, n) => {
|
|
|
437
437
|
}
|
|
438
438
|
l[o[0]] = t;
|
|
439
439
|
};
|
|
440
|
-
function
|
|
440
|
+
function Zu(e, n, t = ".") {
|
|
441
441
|
const a = n.split(t), o = a.length - 1;
|
|
442
442
|
function l(s, c = 0) {
|
|
443
443
|
const d = a[c];
|
|
@@ -449,7 +449,7 @@ function Ku(e, n, t = ".") {
|
|
|
449
449
|
}
|
|
450
450
|
return l(e), e;
|
|
451
451
|
}
|
|
452
|
-
const La = ["en", "sk"], Q =
|
|
452
|
+
const La = ["en", "sk"], Q = Jr({
|
|
453
453
|
globalInjection: !1,
|
|
454
454
|
legacy: !1,
|
|
455
455
|
locale: La[0],
|
|
@@ -471,7 +471,7 @@ const La = ["en", "sk"], Q = Hr({
|
|
|
471
471
|
label: "",
|
|
472
472
|
getLabel: () => ""
|
|
473
473
|
};
|
|
474
|
-
function
|
|
474
|
+
function Qu(e) {
|
|
475
475
|
const n = (l) => ({
|
|
476
476
|
...l,
|
|
477
477
|
getLabel: (s = "", c = "") => Io(l, s, c)
|
|
@@ -485,10 +485,10 @@ function Zu(e) {
|
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
487
|
var aa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
488
|
-
function
|
|
488
|
+
function mr(e) {
|
|
489
489
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
490
490
|
}
|
|
491
|
-
var Gn = {},
|
|
491
|
+
var Gn = {}, No = {
|
|
492
492
|
get exports() {
|
|
493
493
|
return Gn;
|
|
494
494
|
},
|
|
@@ -500,15 +500,15 @@ var Gn = {}, Fo = {
|
|
|
500
500
|
(function(t, a) {
|
|
501
501
|
e.exports = a();
|
|
502
502
|
})(aa, function() {
|
|
503
|
-
var t = 1e3, a = 6e4, o = 36e5, l = "millisecond", s = "second", c = "minute", d = "hour", y = "day", p = "week", m = "month", f = "quarter", w = "year", V = "date", z = "Invalid Date",
|
|
503
|
+
var t = 1e3, a = 6e4, o = 36e5, l = "millisecond", s = "second", c = "minute", d = "hour", y = "day", p = "week", m = "month", f = "quarter", w = "year", V = "date", z = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
504
504
|
var g = ["th", "st", "nd", "rd"], b = T % 100;
|
|
505
505
|
return "[" + T + (g[(b - 20) % 10] || g[b] || g[0]) + "]";
|
|
506
|
-
} },
|
|
506
|
+
} }, F = function(T, g, b) {
|
|
507
507
|
var S = String(T);
|
|
508
508
|
return !S || S.length >= g ? T : "" + Array(g + 1 - S.length).join(b) + T;
|
|
509
|
-
}, H = { s:
|
|
509
|
+
}, H = { s: F, z: function(T) {
|
|
510
510
|
var g = -T.utcOffset(), b = Math.abs(g), S = Math.floor(b / 60), D = b % 60;
|
|
511
|
-
return (g <= 0 ? "+" : "-") +
|
|
511
|
+
return (g <= 0 ? "+" : "-") + F(S, 2, "0") + ":" + F(D, 2, "0");
|
|
512
512
|
}, m: function T(g, b) {
|
|
513
513
|
if (g.date() < b.date())
|
|
514
514
|
return -T(b, g);
|
|
@@ -563,7 +563,7 @@ var Gn = {}, Fo = {
|
|
|
563
563
|
if (D instanceof Date)
|
|
564
564
|
return new Date(D);
|
|
565
565
|
if (typeof D == "string" && !/Z$/i.test(D)) {
|
|
566
|
-
var J = D.match(
|
|
566
|
+
var J = D.match(N);
|
|
567
567
|
if (J) {
|
|
568
568
|
var K = J[2] - 1 || 0, ce = (J[7] || "0").substring(0, 3);
|
|
569
569
|
return R ? new Date(Date.UTC(J[1], K, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, ce)) : new Date(J[1], K, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, ce);
|
|
@@ -593,8 +593,8 @@ var Gn = {}, Fo = {
|
|
|
593
593
|
return this.$d.getTime();
|
|
594
594
|
}, g.startOf = function(b, S) {
|
|
595
595
|
var D = this, R = !!G.u(S) || S, J = G.p(b), K = function(Ce, pe) {
|
|
596
|
-
var
|
|
597
|
-
return R ?
|
|
596
|
+
var Ne = G.w(D.$u ? Date.UTC(D.$y, pe, Ce) : new Date(D.$y, pe, Ce), D);
|
|
597
|
+
return R ? Ne : Ne.endOf(y);
|
|
598
598
|
}, ce = function(Ce, pe) {
|
|
599
599
|
return G.w(D.toDate()[Ce].apply(D.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(pe)), D);
|
|
600
600
|
}, me = this.$W, ve = this.$M, Ie = this.$D, ke = "set" + (this.$u ? "UTC" : "");
|
|
@@ -655,16 +655,16 @@ var Gn = {}, Fo = {
|
|
|
655
655
|
var S = this, D = this.$locale();
|
|
656
656
|
if (!this.isValid())
|
|
657
657
|
return D.invalidDate || z;
|
|
658
|
-
var R = b || "YYYY-MM-DDTHH:mm:ssZ", J = G.z(this), K = this.$H, ce = this.$m, me = this.$M, ve = D.weekdays, Ie = D.months, ke = function(pe,
|
|
659
|
-
return pe && (pe[
|
|
658
|
+
var R = b || "YYYY-MM-DDTHH:mm:ssZ", J = G.z(this), K = this.$H, ce = this.$m, me = this.$M, ve = D.weekdays, Ie = D.months, ke = function(pe, Ne, Ze, Be) {
|
|
659
|
+
return pe && (pe[Ne] || pe(S, R)) || Ze[Ne].slice(0, Be);
|
|
660
660
|
}, je = function(pe) {
|
|
661
661
|
return G.s(K % 12 || 12, pe, "0");
|
|
662
|
-
}, Ee = D.meridiem || function(pe,
|
|
662
|
+
}, Ee = D.meridiem || function(pe, Ne, Ze) {
|
|
663
663
|
var Be = pe < 12 ? "AM" : "PM";
|
|
664
664
|
return Ze ? Be.toLowerCase() : Be;
|
|
665
665
|
}, Ce = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: me + 1, MM: G.s(me + 1, 2, "0"), MMM: ke(D.monthsShort, me, Ie, 3), MMMM: ke(Ie, me), D: this.$D, DD: G.s(this.$D, 2, "0"), d: String(this.$W), dd: ke(D.weekdaysMin, this.$W, ve, 2), ddd: ke(D.weekdaysShort, this.$W, ve, 3), dddd: ve[this.$W], H: String(K), HH: G.s(K, 2, "0"), h: je(1), hh: je(2), a: Ee(K, ce, !0), A: Ee(K, ce, !1), m: String(ce), mm: G.s(ce, 2, "0"), s: String(this.$s), ss: G.s(this.$s, 2, "0"), SSS: G.s(this.$ms, 3, "0"), Z: J };
|
|
666
|
-
return R.replace($, function(pe,
|
|
667
|
-
return
|
|
666
|
+
return R.replace($, function(pe, Ne) {
|
|
667
|
+
return Ne || Ce[pe] || J.replace(":", "");
|
|
668
668
|
});
|
|
669
669
|
}, g.utcOffset = function() {
|
|
670
670
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -702,9 +702,9 @@ var Gn = {}, Fo = {
|
|
|
702
702
|
return ee(1e3 * T);
|
|
703
703
|
}, ee.en = ue[le], ee.Ls = ue, ee.p = {}, ee;
|
|
704
704
|
});
|
|
705
|
-
})(
|
|
705
|
+
})(No);
|
|
706
706
|
const be = Gn;
|
|
707
|
-
var Kn = {},
|
|
707
|
+
var Kn = {}, Fo = {
|
|
708
708
|
get exports() {
|
|
709
709
|
return Kn;
|
|
710
710
|
},
|
|
@@ -720,11 +720,11 @@ var Kn = {}, No = {
|
|
|
720
720
|
return function(l, s, c) {
|
|
721
721
|
var d = s.prototype;
|
|
722
722
|
c.utc = function(z) {
|
|
723
|
-
var
|
|
724
|
-
return new s(
|
|
723
|
+
var N = { date: z, utc: !0, args: arguments };
|
|
724
|
+
return new s(N);
|
|
725
725
|
}, d.utc = function(z) {
|
|
726
|
-
var
|
|
727
|
-
return z ?
|
|
726
|
+
var N = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
727
|
+
return z ? N.add(this.utcOffset(), t) : N;
|
|
728
728
|
}, d.local = function() {
|
|
729
729
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
730
730
|
};
|
|
@@ -741,7 +741,7 @@ var Kn = {}, No = {
|
|
|
741
741
|
p.call(this);
|
|
742
742
|
};
|
|
743
743
|
var m = d.utcOffset;
|
|
744
|
-
d.utcOffset = function(z,
|
|
744
|
+
d.utcOffset = function(z, N) {
|
|
745
745
|
var $ = this.$utils().u;
|
|
746
746
|
if ($(z))
|
|
747
747
|
return this.$u ? 0 : $(this.$offset) ? m.call(this) : this.$offset;
|
|
@@ -754,20 +754,20 @@ var Kn = {}, No = {
|
|
|
754
754
|
return ee === 0 ? 0 : we === "+" ? ee : -ee;
|
|
755
755
|
}(z), z === null))
|
|
756
756
|
return this;
|
|
757
|
-
var P = Math.abs(z) <= 16 ? 60 * z : z,
|
|
758
|
-
if (
|
|
759
|
-
return
|
|
757
|
+
var P = Math.abs(z) <= 16 ? 60 * z : z, F = this;
|
|
758
|
+
if (N)
|
|
759
|
+
return F.$offset = P, F.$u = z === 0, F;
|
|
760
760
|
if (z !== 0) {
|
|
761
761
|
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
762
|
-
(
|
|
762
|
+
(F = this.local().add(P + H, t)).$offset = P, F.$x.$localOffset = H;
|
|
763
763
|
} else
|
|
764
|
-
|
|
765
|
-
return
|
|
764
|
+
F = this.utc();
|
|
765
|
+
return F;
|
|
766
766
|
};
|
|
767
767
|
var f = d.format;
|
|
768
768
|
d.format = function(z) {
|
|
769
|
-
var
|
|
770
|
-
return f.call(this,
|
|
769
|
+
var N = z || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
770
|
+
return f.call(this, N);
|
|
771
771
|
}, d.valueOf = function() {
|
|
772
772
|
var z = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
773
773
|
return this.$d.valueOf() - 6e4 * z;
|
|
@@ -783,26 +783,26 @@ var Kn = {}, No = {
|
|
|
783
783
|
return z === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
|
|
784
784
|
};
|
|
785
785
|
var V = d.diff;
|
|
786
|
-
d.diff = function(z,
|
|
786
|
+
d.diff = function(z, N, $) {
|
|
787
787
|
if (z && this.$u === z.$u)
|
|
788
|
-
return V.call(this, z,
|
|
789
|
-
var P = this.local(),
|
|
790
|
-
return V.call(P,
|
|
788
|
+
return V.call(this, z, N, $);
|
|
789
|
+
var P = this.local(), F = c(z).local();
|
|
790
|
+
return V.call(P, F, N, $);
|
|
791
791
|
};
|
|
792
792
|
};
|
|
793
793
|
});
|
|
794
|
-
})(
|
|
794
|
+
})(Fo);
|
|
795
795
|
const Lo = Kn;
|
|
796
796
|
be.extend(Lo);
|
|
797
|
-
const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss",
|
|
797
|
+
const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", fr = "1970-01-01T00:00:00.000000Z", pr = "2100-01-01T00:00:00.000000Z", Vo = () => be().utc().toDate(), Xu = () => Mo(be().utc().unix()), Cn = (e = !0, n = !1) => e && !n ? be().utc().format("YYYY-MM-DDTHH:mm:ss") + mt : e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00") + mt : !e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : be().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", ed = (e = 0) => e === 0 ? be().startOf("day").utc().format(Dn) + mt : be().add(e, "days").startOf("day").utc().format(Dn) + mt, td = (e = 0) => e === 0 ? be().endOf("day").utc().format(Dn) + mt : be().add(e, "days").endOf("day").utc().format(Dn) + mt, nd = (e = 0, n = null) => {
|
|
798
798
|
if (n === null && (n = new Date()), e === 0)
|
|
799
799
|
return n;
|
|
800
800
|
if (e > 0)
|
|
801
801
|
return be(n).add(e, "minutes").toDate();
|
|
802
802
|
if (e < 0)
|
|
803
803
|
return be(n).subtract(e, "minutes").toDate();
|
|
804
|
-
}, jo = (e) => be(e).utc().format("YYYY-MM-DDTHH:mm:ss") + mt,
|
|
805
|
-
if (e ===
|
|
804
|
+
}, jo = (e) => be(e).utc().format("YYYY-MM-DDTHH:mm:ss") + mt, ad = () => be().utc().format("YYYY"), Bo = (e, n = "") => e === pr || e === fr || e === "" || _e(e) || x(e) ? n : be(e).format("DD.MM.YYYY HH:mm"), Ro = (e, n = "") => {
|
|
805
|
+
if (e === pr || e === fr || e === "" || _e(e) || x(e))
|
|
806
806
|
return n;
|
|
807
807
|
let t = !0, a = !0;
|
|
808
808
|
const o = be(e), l = be();
|
|
@@ -814,10 +814,10 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
814
814
|
column: null
|
|
815
815
|
},
|
|
816
816
|
setup(e) {
|
|
817
|
-
const n = e, t = A(() =>
|
|
817
|
+
const n = e, t = A(() => cr(n.rowData, n.column.name)), a = A(() => n.column.type === "datetime" || $o.includes(n.column.name) ? Ro(t.value) : t.value), o = A(() => typeof t.value == "boolean");
|
|
818
818
|
return (l, s) => (_(), U("td", null, [
|
|
819
819
|
$e(l.$slots, h(qn)(e.column.name), { data: h(t) }, () => [
|
|
820
|
-
h(o) ? (_(), j(
|
|
820
|
+
h(o) ? (_(), j(bo, {
|
|
821
821
|
key: 0,
|
|
822
822
|
chip: "",
|
|
823
823
|
value: h(t)
|
|
@@ -825,7 +825,7 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
825
825
|
])
|
|
826
826
|
]));
|
|
827
827
|
}
|
|
828
|
-
}), Jo = { key: 0 }, Uo = ["onClick"], Wo = { key: 0 }, qo = { class: "d-flex justify-end" }, Go = { key: 1 }, Ko = ["colspan"],
|
|
828
|
+
}), Jo = { key: 0 }, Uo = ["onClick"], Wo = { key: 0 }, qo = { class: "d-flex justify-end" }, Go = { key: 1 }, Ko = ["colspan"], rd = /* @__PURE__ */ B({
|
|
829
829
|
__name: "ADatatable",
|
|
830
830
|
props: {
|
|
831
831
|
data: null,
|
|
@@ -836,11 +836,11 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
836
836
|
setup(e, { emit: n }) {
|
|
837
837
|
const t = e, a = A(() => t.columns.availableColumns.value), o = (p) => {
|
|
838
838
|
n("rowClick", p);
|
|
839
|
-
}, l = ze(at, void 0), s = ze(rt, void 0), c = A(() => !
|
|
839
|
+
}, l = ze(at, void 0), s = ze(rt, void 0), c = A(() => !Co(t.data)), d = A(() => {
|
|
840
840
|
let p = t.columns.availableColumns.value.length;
|
|
841
841
|
return t.actions && ++p, p;
|
|
842
842
|
}), { t: y } = X();
|
|
843
|
-
return (p, m) => (_(), j(
|
|
843
|
+
return (p, m) => (_(), j(Gr, { class: "anzu-data-table" }, {
|
|
844
844
|
default: k(() => [
|
|
845
845
|
ie("thead", null, [
|
|
846
846
|
ie("tr", null, [
|
|
@@ -888,7 +888,7 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
888
888
|
}), Zo = { class: "anzu-data-footer" }, Qo = {
|
|
889
889
|
key: 0,
|
|
890
890
|
class: "anzu-data-footer__page-limit"
|
|
891
|
-
}, Xo = { class: "anzu-data-footer__pagination" }, ei = { class: "anzu-data-footer__icons-before" }, ti = { class: "current-page" }, ni = { class: "anzu-data-footer__icons-after" },
|
|
891
|
+
}, Xo = { class: "anzu-data-footer__pagination" }, ei = { class: "anzu-data-footer__icons-before" }, ti = { class: "current-page" }, ni = { class: "anzu-data-footer__icons-after" }, od = /* @__PURE__ */ B({
|
|
892
892
|
__name: "ADatatablePagination",
|
|
893
893
|
props: {
|
|
894
894
|
modelValue: null,
|
|
@@ -905,28 +905,28 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
905
905
|
n("update:modelValue", jt(P));
|
|
906
906
|
}
|
|
907
907
|
}), { t: o } = X(), l = A(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), s = A(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), c = A(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), d = A(() => a.value.page === 1), y = A(() => !_e(a.value.hasNextPage) || a.value.page === l.value), p = A(() => _e(a.value.hasNextPage) && a.value.page === l.value || a.value.hasNextPage === !1), m = A(() => _e(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? c.value + 1 + "+" : c.value), f = A(() => a.value.rowsPerPage);
|
|
908
|
-
ct(f, (P,
|
|
909
|
-
P !==
|
|
908
|
+
ct(f, (P, F) => {
|
|
909
|
+
P !== F && (a.value.page = 1, n("change"));
|
|
910
910
|
});
|
|
911
911
|
const w = A(() => a.value.page);
|
|
912
|
-
ct(w, (P,
|
|
913
|
-
P !==
|
|
912
|
+
ct(w, (P, F) => {
|
|
913
|
+
P !== F && n("change");
|
|
914
914
|
});
|
|
915
915
|
const V = () => {
|
|
916
916
|
a.value.page = 1;
|
|
917
917
|
}, z = () => {
|
|
918
918
|
a.value.page = l.value;
|
|
919
|
-
},
|
|
919
|
+
}, N = () => {
|
|
920
920
|
a.value.page = a.value.page - 1;
|
|
921
921
|
}, $ = () => {
|
|
922
922
|
a.value.page = a.value.page + 1;
|
|
923
923
|
};
|
|
924
|
-
return (P,
|
|
924
|
+
return (P, F) => (_(), U("div", Zo, [
|
|
925
925
|
e.hideRecordsPerPage ? re("", !0) : (_(), U("div", Qo, [
|
|
926
926
|
Z(L(h(o)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
927
927
|
M(Pn, {
|
|
928
928
|
modelValue: h(a).rowsPerPage,
|
|
929
|
-
"onUpdate:modelValue":
|
|
929
|
+
"onUpdate:modelValue": F[0] || (F[0] = (H) => h(a).rowsPerPage = H),
|
|
930
930
|
class: "ml-2",
|
|
931
931
|
density: "compact",
|
|
932
932
|
mandatory: "",
|
|
@@ -964,7 +964,7 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
964
964
|
icon: "mdi-chevron-left",
|
|
965
965
|
size: "small",
|
|
966
966
|
variant: "text",
|
|
967
|
-
onClick: se(
|
|
967
|
+
onClick: se(N, ["stop"])
|
|
968
968
|
}, null, 8, ["disabled", "onClick"])
|
|
969
969
|
]),
|
|
970
970
|
ie("div", ti, [
|
|
@@ -989,7 +989,7 @@ const mt = ".000000Z", Dn = "YYYY-MM-DDTHH:mm:ss", mr = "1970-01-01T00:00:00.000
|
|
|
989
989
|
]));
|
|
990
990
|
}
|
|
991
991
|
});
|
|
992
|
-
function
|
|
992
|
+
function id(e, n) {
|
|
993
993
|
return (t = {}) => {
|
|
994
994
|
const a = x(t.variant) ? "eq" : t.variant;
|
|
995
995
|
let o = x(t.default) ? null : t.default;
|
|
@@ -1030,7 +1030,7 @@ function ra() {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
|
-
const
|
|
1033
|
+
const ld = /* @__PURE__ */ B({
|
|
1034
1034
|
__name: "AFilterString",
|
|
1035
1035
|
props: {
|
|
1036
1036
|
modelValue: null,
|
|
@@ -1055,7 +1055,7 @@ const id = /* @__PURE__ */ B({
|
|
|
1055
1055
|
"onClick:clear": d[1] || (d[1] = se((y) => h(o)(e.modelValue), ["stop"]))
|
|
1056
1056
|
}, null, 8, ["modelValue", "label", "clearable", "data-cy"]));
|
|
1057
1057
|
}
|
|
1058
|
-
}),
|
|
1058
|
+
}), sd = /* @__PURE__ */ B({
|
|
1059
1059
|
__name: "AFilterInteger",
|
|
1060
1060
|
props: {
|
|
1061
1061
|
modelValue: null,
|
|
@@ -1181,7 +1181,7 @@ const id = /* @__PURE__ */ B({
|
|
|
1181
1181
|
_: 1
|
|
1182
1182
|
}, 8, ["class", "data-cy", "onClick"]));
|
|
1183
1183
|
}
|
|
1184
|
-
}),
|
|
1184
|
+
}), ud = /* @__PURE__ */ B({
|
|
1185
1185
|
__name: "AFilterWrapper",
|
|
1186
1186
|
props: {
|
|
1187
1187
|
enableAdvanced: { type: Boolean, default: !1 },
|
|
@@ -1228,7 +1228,7 @@ const id = /* @__PURE__ */ B({
|
|
|
1228
1228
|
M(It, { class: "" }, {
|
|
1229
1229
|
default: k(() => [
|
|
1230
1230
|
$e(l.$slots, "default"),
|
|
1231
|
-
e.enableAdvanced ? (_(), j(
|
|
1231
|
+
e.enableAdvanced ? (_(), j(Kr, { key: 0 }, {
|
|
1232
1232
|
default: k(() => [
|
|
1233
1233
|
Ka(ie("div", null, [
|
|
1234
1234
|
$e(l.$slots, "advanced")
|
|
@@ -1264,7 +1264,7 @@ var zn = /* @__PURE__ */ ((e) => (e[e.Deny = 0] = "Deny", e[e.AllowOwner = 1] =
|
|
|
1264
1264
|
e.Default = 0
|
|
1265
1265
|
/* Deny */
|
|
1266
1266
|
] = "Default", e))(zn || {});
|
|
1267
|
-
function
|
|
1267
|
+
function hr() {
|
|
1268
1268
|
const { t: e } = X(), n = te([
|
|
1269
1269
|
{
|
|
1270
1270
|
value: 0,
|
|
@@ -1287,7 +1287,7 @@ function pr() {
|
|
|
1287
1287
|
getGrantOption: (a) => n.value.find((o) => o.value === a)
|
|
1288
1288
|
};
|
|
1289
1289
|
}
|
|
1290
|
-
const
|
|
1290
|
+
const dd = /* @__PURE__ */ B({
|
|
1291
1291
|
__name: "APermissionGrantEditor",
|
|
1292
1292
|
props: {
|
|
1293
1293
|
availableGrants: null,
|
|
@@ -1302,7 +1302,7 @@ const ud = /* @__PURE__ */ B({
|
|
|
1302
1302
|
set(l) {
|
|
1303
1303
|
n("change", l);
|
|
1304
1304
|
}
|
|
1305
|
-
}), { getGrantOption: o } =
|
|
1305
|
+
}), { getGrantOption: o } = hr();
|
|
1306
1306
|
return (l, s) => (_(), j(Pn, {
|
|
1307
1307
|
modelValue: h(a),
|
|
1308
1308
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => Ue(a) ? a.value = c : null),
|
|
@@ -1333,7 +1333,7 @@ const ud = /* @__PURE__ */ B({
|
|
|
1333
1333
|
}, 8, ["modelValue"]));
|
|
1334
1334
|
}
|
|
1335
1335
|
});
|
|
1336
|
-
var
|
|
1336
|
+
var gr = /* @__PURE__ */ ((e) => (e.Role = "role", e.Group = "group", e.User = "user", e.DefaultGrant = "default", e.Default = "default", e))(gr || {});
|
|
1337
1337
|
function ii() {
|
|
1338
1338
|
const { t: e } = X(), n = te([
|
|
1339
1339
|
{
|
|
@@ -1361,14 +1361,14 @@ function ii() {
|
|
|
1361
1361
|
const li = {
|
|
1362
1362
|
key: 0,
|
|
1363
1363
|
class: "ml-1"
|
|
1364
|
-
},
|
|
1364
|
+
}, cd = /* @__PURE__ */ B({
|
|
1365
1365
|
__name: "APermissionValueChip",
|
|
1366
1366
|
props: {
|
|
1367
1367
|
grant: null,
|
|
1368
1368
|
grantOrigin: null
|
|
1369
1369
|
},
|
|
1370
1370
|
setup(e) {
|
|
1371
|
-
const n = e, { getGrantOption: t } =
|
|
1371
|
+
const n = e, { getGrantOption: t } = hr(), a = A(() => t(n.grant)), { getGrantOriginOption: o } = ii(), l = A(() => o(n.grantOrigin));
|
|
1372
1372
|
return (s, c) => h(a) ? (_(), j(Rt, {
|
|
1373
1373
|
key: 0,
|
|
1374
1374
|
color: h(a).color,
|
|
@@ -1379,7 +1379,7 @@ const li = {
|
|
|
1379
1379
|
var d;
|
|
1380
1380
|
return [
|
|
1381
1381
|
Z(L(h(a).title) + " ", 1),
|
|
1382
|
-
e.grantOrigin !== h(
|
|
1382
|
+
e.grantOrigin !== h(gr).DefaultGrant ? (_(), U("span", li, "(" + L((d = h(l)) == null ? void 0 : d.title) + ")", 1)) : re("", !0)
|
|
1383
1383
|
];
|
|
1384
1384
|
}),
|
|
1385
1385
|
_: 1
|
|
@@ -1402,7 +1402,7 @@ function di(e) {
|
|
|
1402
1402
|
});
|
|
1403
1403
|
} };
|
|
1404
1404
|
}
|
|
1405
|
-
const Mn = di(),
|
|
1405
|
+
const Mn = di(), vr = /* @__PURE__ */ new Map(), ja = {
|
|
1406
1406
|
x: ["left", "center", "right"],
|
|
1407
1407
|
y: ["top", "bottom"]
|
|
1408
1408
|
}, ci = ((e) => () => e++)(0), mi = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter((n) => n), fi = (e) => {
|
|
@@ -1612,7 +1612,7 @@ const wi = /* @__PURE__ */ oa(yi, [["render", bi]]), Vn = "[-+]?[0-9]*.?[0-9]+",
|
|
|
1612
1612
|
data() {
|
|
1613
1613
|
return {
|
|
1614
1614
|
list: [],
|
|
1615
|
-
velocity:
|
|
1615
|
+
velocity: vr.get("velocity"),
|
|
1616
1616
|
timerControl: null
|
|
1617
1617
|
};
|
|
1618
1618
|
},
|
|
@@ -1781,7 +1781,7 @@ Ge.close = (e) => {
|
|
|
1781
1781
|
Mn.emit("close", e);
|
|
1782
1782
|
};
|
|
1783
1783
|
function xi(e, n = {}) {
|
|
1784
|
-
Object.entries(n).forEach((a) =>
|
|
1784
|
+
Object.entries(n).forEach((a) => vr.set(...a));
|
|
1785
1785
|
const t = n.name || "notify";
|
|
1786
1786
|
e.config.globalProperties["$" + t] = Ge, e.component(n.componentName || "Notifications", Ti);
|
|
1787
1787
|
}
|
|
@@ -1799,22 +1799,22 @@ const Oi = {
|
|
|
1799
1799
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
1800
1800
|
}
|
|
1801
1801
|
})();
|
|
1802
|
-
const En = Symbol("currentUser"),
|
|
1802
|
+
const En = Symbol("currentUser"), yr = Symbol("customAclResolver"), br = Symbol("availableLanguages"), wr = Symbol("defaultLanguage"), md = {
|
|
1803
1803
|
install(e, n) {
|
|
1804
|
-
e.provide(En, n.currentUser), e.provide(
|
|
1804
|
+
e.provide(En, n.currentUser), e.provide(yr, n.customAclResolver), e.provide(br, n.languages.available), e.provide(wr, n.languages.default), e.component("Acl", Pi), e.use(Oi, { componentName: "Notifications" });
|
|
1805
1805
|
}
|
|
1806
|
-
},
|
|
1806
|
+
}, _r = "ROLE_ADMIN";
|
|
1807
1807
|
function $i(e) {
|
|
1808
|
-
const n = x(e) || x(e.disableInject), t = (e == null ? void 0 : e.currentUser) ?? (n ? ze(En, void 0) : void 0), a = (e == null ? void 0 : e.customAclProvider) ?? (n ? ze(
|
|
1808
|
+
const n = x(e) || x(e.disableInject), t = (e == null ? void 0 : e.currentUser) ?? (n ? ze(En, void 0) : void 0), a = (e == null ? void 0 : e.customAclProvider) ?? (n ? ze(yr, void 0) : void 0), o = (d, y) => {
|
|
1809
1809
|
if (x(t))
|
|
1810
1810
|
throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
|
|
1811
|
-
if (
|
|
1811
|
+
if (Na(a) && Na(a.can))
|
|
1812
1812
|
return a.can(d, y);
|
|
1813
1813
|
if (x(t.value) || t.value.id === 0)
|
|
1814
1814
|
return !1;
|
|
1815
|
-
if (t.value.roles.includes(
|
|
1815
|
+
if (t.value.roles.includes(_r))
|
|
1816
1816
|
return !0;
|
|
1817
|
-
const p =
|
|
1817
|
+
const p = cr(t.value, "resolvedPermissions." + d);
|
|
1818
1818
|
if (x(p))
|
|
1819
1819
|
return !1;
|
|
1820
1820
|
switch (p) {
|
|
@@ -2047,11 +2047,11 @@ function vn(e) {
|
|
|
2047
2047
|
for (; e.firstChild; )
|
|
2048
2048
|
e.removeChild(e.firstChild);
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2050
|
+
function zr(e, n) {
|
|
2051
2051
|
if (n(e))
|
|
2052
2052
|
return e;
|
|
2053
2053
|
if (e.parentNode)
|
|
2054
|
-
return
|
|
2054
|
+
return zr(e.parentNode, n);
|
|
2055
2055
|
}
|
|
2056
2056
|
function yn(e, n) {
|
|
2057
2057
|
var t = ae("div", "numInputWrapper"), a = ae("input", "numInput " + e), o = ae("span", "arrowUp"), l = ae("span", "arrowDown");
|
|
@@ -2163,18 +2163,18 @@ var Rn = function() {
|
|
|
2163
2163
|
u: "(.+)",
|
|
2164
2164
|
w: "(\\d\\d|\\d)",
|
|
2165
2165
|
y: "(\\d{2})"
|
|
2166
|
-
},
|
|
2166
|
+
}, Nt = {
|
|
2167
2167
|
Z: function(e) {
|
|
2168
2168
|
return e.toISOString();
|
|
2169
2169
|
},
|
|
2170
2170
|
D: function(e, n, t) {
|
|
2171
|
-
return n.weekdays.shorthand[
|
|
2171
|
+
return n.weekdays.shorthand[Nt.w(e, n, t)];
|
|
2172
2172
|
},
|
|
2173
2173
|
F: function(e, n, t) {
|
|
2174
|
-
return An(
|
|
2174
|
+
return An(Nt.n(e, n, t) - 1, !1, n);
|
|
2175
2175
|
},
|
|
2176
2176
|
G: function(e, n, t) {
|
|
2177
|
-
return Pe(
|
|
2177
|
+
return Pe(Nt.h(e, n, t));
|
|
2178
2178
|
},
|
|
2179
2179
|
H: function(e) {
|
|
2180
2180
|
return Pe(e.getHours());
|
|
@@ -2233,12 +2233,12 @@ var Rn = function() {
|
|
|
2233
2233
|
y: function(e) {
|
|
2234
2234
|
return String(e.getFullYear()).substring(2);
|
|
2235
2235
|
}
|
|
2236
|
-
},
|
|
2236
|
+
}, kr = function(e) {
|
|
2237
2237
|
var n = e.config, t = n === void 0 ? kt : n, a = e.l10n, o = a === void 0 ? Bt : a, l = e.isMobile, s = l === void 0 ? !1 : l;
|
|
2238
2238
|
return function(c, d, y) {
|
|
2239
2239
|
var p = y || o;
|
|
2240
2240
|
return t.formatDate !== void 0 && !s ? t.formatDate(c, d, p) : d.split("").map(function(m, f, w) {
|
|
2241
|
-
return
|
|
2241
|
+
return Nt[m] && w[f - 1] !== "\\" ? Nt[m](c, p, t) : m !== "\\" ? m : "";
|
|
2242
2242
|
}).join("");
|
|
2243
2243
|
};
|
|
2244
2244
|
}, Zn = function(e) {
|
|
@@ -2259,13 +2259,13 @@ var Rn = function() {
|
|
|
2259
2259
|
else if (/Z$/.test(w) || /GMT$/.test(w))
|
|
2260
2260
|
p = new Date(l);
|
|
2261
2261
|
else {
|
|
2262
|
-
for (var V = void 0, z = [],
|
|
2263
|
-
var
|
|
2264
|
-
if (ut[
|
|
2265
|
-
P += ut[
|
|
2262
|
+
for (var V = void 0, z = [], N = 0, $ = 0, P = ""; N < f.length; N++) {
|
|
2263
|
+
var F = f[N], H = F === "\\", le = f[N - 1] === "\\" || H;
|
|
2264
|
+
if (ut[F] && !le) {
|
|
2265
|
+
P += ut[F];
|
|
2266
2266
|
var ue = new RegExp(P).exec(l);
|
|
2267
|
-
ue && (V = !0) && z[
|
|
2268
|
-
fn: Ii[
|
|
2267
|
+
ue && (V = !0) && z[F !== "Y" ? "push" : "unshift"]({
|
|
2268
|
+
fn: Ii[F],
|
|
2269
2269
|
val: ue[++$]
|
|
2270
2270
|
});
|
|
2271
2271
|
} else
|
|
@@ -2292,10 +2292,10 @@ var Ei = function(e, n, t) {
|
|
|
2292
2292
|
return e > Math.min(n, t) && e < Math.max(n, t);
|
|
2293
2293
|
}, Yn = function(e, n, t) {
|
|
2294
2294
|
return e * 3600 + n * 60 + t;
|
|
2295
|
-
},
|
|
2295
|
+
}, Ni = function(e) {
|
|
2296
2296
|
var n = Math.floor(e / 3600), t = (e - n * 3600) / 60;
|
|
2297
2297
|
return [n, t, e - n * 3600 - t * 60];
|
|
2298
|
-
},
|
|
2298
|
+
}, Fi = {
|
|
2299
2299
|
DAY: 864e5
|
|
2300
2300
|
};
|
|
2301
2301
|
function Hn(e) {
|
|
@@ -2405,7 +2405,7 @@ function Vi(e, n) {
|
|
|
2405
2405
|
if (t.config.maxTime !== void 0 && t.config.minTime !== void 0 && t.config.minTime > t.config.maxTime) {
|
|
2406
2406
|
var O = Yn(t.config.minTime.getHours(), t.config.minTime.getMinutes(), t.config.minTime.getSeconds()), W = Yn(t.config.maxTime.getHours(), t.config.maxTime.getMinutes(), t.config.maxTime.getSeconds()), E = Yn(r, i, u);
|
|
2407
2407
|
if (E > W && E < O) {
|
|
2408
|
-
var q =
|
|
2408
|
+
var q = Ni(O);
|
|
2409
2409
|
r = q[0], i = q[1], u = q[2];
|
|
2410
2410
|
}
|
|
2411
2411
|
} else {
|
|
@@ -2447,7 +2447,7 @@ function Vi(e, n) {
|
|
|
2447
2447
|
}
|
|
2448
2448
|
});
|
|
2449
2449
|
}
|
|
2450
|
-
function
|
|
2450
|
+
function N() {
|
|
2451
2451
|
fe("onChange");
|
|
2452
2452
|
}
|
|
2453
2453
|
function $() {
|
|
@@ -2460,19 +2460,19 @@ function Vi(e, n) {
|
|
|
2460
2460
|
return;
|
|
2461
2461
|
}
|
|
2462
2462
|
var r = Ya(Ht, 50);
|
|
2463
|
-
if (t._debouncedChange = Ya(
|
|
2463
|
+
if (t._debouncedChange = Ya(N, Li), t.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && z(t.daysContainer, "mouseover", function(u) {
|
|
2464
2464
|
t.config.mode === "range" && Be(Le(u));
|
|
2465
2465
|
}), z(t._input, "keydown", Ze), t.calendarContainer !== void 0 && z(t.calendarContainer, "keydown", Ze), !t.config.inline && !t.config.static && z(window, "resize", r), window.ontouchstart !== void 0 ? z(window.document, "touchstart", je) : z(window.document, "mousedown", je), z(window.document, "focus", je, { capture: !0 }), t.config.clickOpens === !0 && (z(t._input, "focus", t.open), z(t._input, "click", t.open)), t.daysContainer !== void 0 && (z(t.monthNav, "click", nn), z(t.monthNav, ["keyup", "increment"], V), z(t.daysContainer, "click", xt)), t.timeContainer !== void 0 && t.minuteElement !== void 0 && t.hourElement !== void 0) {
|
|
2466
2466
|
var i = function(u) {
|
|
2467
2467
|
return Le(u).select();
|
|
2468
2468
|
};
|
|
2469
|
-
z(t.timeContainer, ["increment"], d), z(t.timeContainer, "blur", d, { capture: !0 }), z(t.timeContainer, "click",
|
|
2469
|
+
z(t.timeContainer, ["increment"], d), z(t.timeContainer, "blur", d, { capture: !0 }), z(t.timeContainer, "click", F), z([t.hourElement, t.minuteElement], ["focus", "click"], i), t.secondElement !== void 0 && z(t.secondElement, "focus", function() {
|
|
2470
2470
|
return t.secondElement && t.secondElement.select();
|
|
2471
2471
|
}), t.amPM !== void 0 && z(t.amPM, "click", function(u) {
|
|
2472
2472
|
d(u);
|
|
2473
2473
|
});
|
|
2474
2474
|
}
|
|
2475
|
-
t.config.allowInput && z(t._input, "blur",
|
|
2475
|
+
t.config.allowInput && z(t._input, "blur", Ne);
|
|
2476
2476
|
}
|
|
2477
2477
|
function P(r, i) {
|
|
2478
2478
|
var u = r !== void 0 ? t.parseDate(r) : t.latestSelectedDateObj || (t.config.minDate && t.config.minDate > t.now ? t.config.minDate : t.config.maxDate && t.config.maxDate < t.now ? t.config.maxDate : t.now), v = t.currentYear, C = t.currentMonth;
|
|
@@ -2483,7 +2483,7 @@ function Vi(e, n) {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
i && t.currentYear !== v && (fe("onYearChange"), T()), i && (t.currentYear !== v || t.currentMonth !== C) && fe("onMonthChange"), t.redraw();
|
|
2485
2485
|
}
|
|
2486
|
-
function
|
|
2486
|
+
function F(r) {
|
|
2487
2487
|
var i = Le(r);
|
|
2488
2488
|
~i.className.indexOf("arrow") && H(r, i.classList.contains("arrowUp") ? 1 : -1);
|
|
2489
2489
|
}
|
|
@@ -2543,8 +2543,8 @@ function Vi(e, n) {
|
|
|
2543
2543
|
O.appendChild(ue("flatpickr-day", new Date(r, i, I), I, Y));
|
|
2544
2544
|
for (var oe = C + 1; oe <= 42 - u && (t.config.showMonths === 1 || Y % 7 !== 0); oe++, Y++)
|
|
2545
2545
|
O.appendChild(ue("flatpickr-day " + q, new Date(r, i + 1, oe % C), oe, Y));
|
|
2546
|
-
var
|
|
2547
|
-
return
|
|
2546
|
+
var Fe = ae("div", "dayContainer");
|
|
2547
|
+
return Fe.appendChild(O), Fe;
|
|
2548
2548
|
}
|
|
2549
2549
|
function Se() {
|
|
2550
2550
|
if (t.daysContainer !== void 0) {
|
|
@@ -2768,7 +2768,7 @@ function Vi(e, n) {
|
|
|
2768
2768
|
function pe(r) {
|
|
2769
2769
|
return t.daysContainer !== void 0 ? r.className.indexOf("hidden") === -1 && r.className.indexOf("flatpickr-disabled") === -1 && t.daysContainer.contains(r) : !1;
|
|
2770
2770
|
}
|
|
2771
|
-
function
|
|
2771
|
+
function Ne(r) {
|
|
2772
2772
|
var i = r.target === t._input, u = t._input.value.trimEnd() !== _t();
|
|
2773
2773
|
i && u && !(r.relatedTarget && ke(r.relatedTarget)) && t.setDate(t._input.value, !0, r.target === t.altInput ? t.config.altFormat : t.config.dateFormat);
|
|
2774
2774
|
}
|
|
@@ -2820,8 +2820,8 @@ function Vi(e, n) {
|
|
|
2820
2820
|
return Te;
|
|
2821
2821
|
}), oe = Y.indexOf(i);
|
|
2822
2822
|
if (oe !== -1) {
|
|
2823
|
-
var
|
|
2824
|
-
r.preventDefault(), (
|
|
2823
|
+
var Fe = Y[oe + (r.shiftKey ? -1 : 1)];
|
|
2824
|
+
r.preventDefault(), (Fe || t._input).focus();
|
|
2825
2825
|
}
|
|
2826
2826
|
} else
|
|
2827
2827
|
!t.config.noCalendar && t.daysContainer && t.daysContainer.contains(i) && r.shiftKey && (r.preventDefault(), t._input.focus());
|
|
@@ -2843,11 +2843,11 @@ function Vi(e, n) {
|
|
|
2843
2843
|
}
|
|
2844
2844
|
function Be(r, i) {
|
|
2845
2845
|
if (i === void 0 && (i = "flatpickr-day"), !(t.selectedDates.length !== 1 || r && (!r.classList.contains(i) || r.classList.contains("flatpickr-disabled")))) {
|
|
2846
|
-
for (var u = r ? r.dateObj.getTime() : t.days.firstElementChild.dateObj.getTime(), v = t.parseDate(t.selectedDates[0], void 0, !0).getTime(), C = Math.min(u, t.selectedDates[0].getTime()), O = Math.max(u, t.selectedDates[0].getTime()), W = !1, E = 0, q = 0, I = C; I < O; I +=
|
|
2846
|
+
for (var u = r ? r.dateObj.getTime() : t.days.firstElementChild.dateObj.getTime(), v = t.parseDate(t.selectedDates[0], void 0, !0).getTime(), C = Math.min(u, t.selectedDates[0].getTime()), O = Math.max(u, t.selectedDates[0].getTime()), W = !1, E = 0, q = 0, I = C; I < O; I += Fi.DAY)
|
|
2847
2847
|
Ce(new Date(I), !0) || (W = W || I > C && I < O, I < v && (!E || I > E) ? E = I : I > v && (!q || I < q) && (q = I));
|
|
2848
2848
|
var Y = Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+" + t.config.showMonths + ") > ." + i));
|
|
2849
2849
|
Y.forEach(function(oe) {
|
|
2850
|
-
var
|
|
2850
|
+
var Fe = oe.dateObj, Te = Fe.getTime(), tt = E > 0 && Te < E || q > 0 && Te > q;
|
|
2851
2851
|
if (tt) {
|
|
2852
2852
|
oe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(Qe) {
|
|
2853
2853
|
oe.classList.remove(Qe);
|
|
@@ -2976,7 +2976,7 @@ function Vi(e, n) {
|
|
|
2976
2976
|
function St() {
|
|
2977
2977
|
typeof t.config.locale != "object" && typeof ye.l10ns[t.config.locale] > "u" && t.config.errorHandler(new Error("flatpickr: invalid locale " + t.config.locale)), t.l10n = xe(xe({}, ye.l10ns.default), typeof t.config.locale == "object" ? t.config.locale : t.config.locale !== "default" ? ye.l10ns[t.config.locale] : void 0), ut.D = "(" + t.l10n.weekdays.shorthand.join("|") + ")", ut.l = "(" + t.l10n.weekdays.longhand.join("|") + ")", ut.M = "(" + t.l10n.months.shorthand.join("|") + ")", ut.F = "(" + t.l10n.months.longhand.join("|") + ")", ut.K = "(" + t.l10n.amPM[0] + "|" + t.l10n.amPM[1] + "|" + t.l10n.amPM[0].toLowerCase() + "|" + t.l10n.amPM[1].toLowerCase() + ")";
|
|
2978
2978
|
var r = xe(xe({}, n), JSON.parse(JSON.stringify(e.dataset || {})));
|
|
2979
|
-
r.time_24hr === void 0 && ye.defaultConfig.time_24hr === void 0 && (t.config.time_24hr = t.l10n.time_24hr), t.formatDate =
|
|
2979
|
+
r.time_24hr === void 0 && ye.defaultConfig.time_24hr === void 0 && (t.config.time_24hr = t.l10n.time_24hr), t.formatDate = kr(t), t.parseDate = Zn({ config: t.config, l10n: t.l10n });
|
|
2980
2980
|
}
|
|
2981
2981
|
function it(r) {
|
|
2982
2982
|
if (typeof t.config.position == "function")
|
|
@@ -2987,8 +2987,8 @@ function Vi(e, n) {
|
|
|
2987
2987
|
return mn + fn.offsetHeight;
|
|
2988
2988
|
}, 0), v = t.calendarContainer.offsetWidth, C = t.config.position.split(" "), O = C[0], W = C.length > 1 ? C[1] : null, E = i.getBoundingClientRect(), q = window.innerHeight - E.bottom, I = O === "above" || O !== "below" && q < u && E.top > u, Y = window.pageYOffset + E.top + (I ? -u - 2 : i.offsetHeight + 2);
|
|
2989
2989
|
if (Oe(t.calendarContainer, "arrowTop", !I), Oe(t.calendarContainer, "arrowBottom", I), !t.config.inline) {
|
|
2990
|
-
var oe = window.pageXOffset + E.left,
|
|
2991
|
-
W === "center" ? (oe -= (v - E.width) / 2,
|
|
2990
|
+
var oe = window.pageXOffset + E.left, Fe = !1, Te = !1;
|
|
2991
|
+
W === "center" ? (oe -= (v - E.width) / 2, Fe = !0) : W === "right" && (oe -= v - E.width, Te = !0), Oe(t.calendarContainer, "arrowLeft", !Fe && !Te), Oe(t.calendarContainer, "arrowCenter", Fe), Oe(t.calendarContainer, "arrowRight", Te);
|
|
2992
2992
|
var tt = window.document.body.offsetWidth - (window.pageXOffset + E.right), Qe = oe + v > window.document.body.offsetWidth, rn = tt + v > window.document.body.offsetWidth;
|
|
2993
2993
|
if (Oe(t.calendarContainer, "rightMost", Qe), !t.config.static)
|
|
2994
2994
|
if (t.calendarContainer.style.top = Y + "px", !Qe)
|
|
@@ -3034,7 +3034,7 @@ function Vi(e, n) {
|
|
|
3034
3034
|
r.preventDefault(), r.stopPropagation();
|
|
3035
3035
|
var i = function(Y) {
|
|
3036
3036
|
return Y.classList && Y.classList.contains("flatpickr-day") && !Y.classList.contains("flatpickr-disabled") && !Y.classList.contains("notAllowed");
|
|
3037
|
-
}, u =
|
|
3037
|
+
}, u = zr(Le(r), i);
|
|
3038
3038
|
if (u !== void 0) {
|
|
3039
3039
|
var v = u, C = t.latestSelectedDateObj = new Date(v.dateObj.getTime()), O = (C.getMonth() < t.currentMonth || C.getMonth() > t.currentMonth + t.config.showMonths - 1) && t.config.mode !== "range";
|
|
3040
3040
|
if (t.selectedDateElem = v, t.config.mode === "single")
|
|
@@ -3054,7 +3054,7 @@ function Vi(e, n) {
|
|
|
3054
3054
|
var q = t.config.mode === "single" && !t.config.enableTime, I = t.config.mode === "range" && t.selectedDates.length === 2 && !t.config.enableTime;
|
|
3055
3055
|
(q || I) && yt();
|
|
3056
3056
|
}
|
|
3057
|
-
|
|
3057
|
+
N();
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
3060
|
var lt = {
|
|
@@ -3253,7 +3253,7 @@ ye.setDefaults = function(e) {
|
|
|
3253
3253
|
ye.defaultConfig = xe(xe({}, ye.defaultConfig), e);
|
|
3254
3254
|
};
|
|
3255
3255
|
ye.parseDate = Zn({});
|
|
3256
|
-
ye.formatDate =
|
|
3256
|
+
ye.formatDate = kr({});
|
|
3257
3257
|
ye.compareDates = Ve;
|
|
3258
3258
|
typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(e) {
|
|
3259
3259
|
return Dt(this, e);
|
|
@@ -3262,7 +3262,7 @@ Date.prototype.fp_incr = function(e) {
|
|
|
3262
3262
|
return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof e == "string" ? parseInt(e, 10) : e));
|
|
3263
3263
|
};
|
|
3264
3264
|
typeof window < "u" && (window.flatpickr = ye);
|
|
3265
|
-
const
|
|
3265
|
+
const Dr = [
|
|
3266
3266
|
"onChange",
|
|
3267
3267
|
"onClose",
|
|
3268
3268
|
"onDestroy",
|
|
@@ -3286,13 +3286,13 @@ function Ua(e) {
|
|
|
3286
3286
|
function Jn(e) {
|
|
3287
3287
|
return e && e.length ? e : null;
|
|
3288
3288
|
}
|
|
3289
|
-
const Wa = [...
|
|
3289
|
+
const Wa = [...Dr, ...ji], Bi = ["locale", "showMonths"], Ri = B({
|
|
3290
3290
|
name: "FlatPickr",
|
|
3291
3291
|
compatConfig: {
|
|
3292
3292
|
MODE: 3
|
|
3293
3293
|
},
|
|
3294
3294
|
render() {
|
|
3295
|
-
return
|
|
3295
|
+
return Vr("input", {
|
|
3296
3296
|
type: "text",
|
|
3297
3297
|
"data-input": !0,
|
|
3298
3298
|
disabled: this.disabled,
|
|
@@ -3319,7 +3319,7 @@ const Wa = [...kr, ...ji], Bi = ["locale", "showMonths"], Ri = B({
|
|
|
3319
3319
|
},
|
|
3320
3320
|
events: {
|
|
3321
3321
|
type: Array,
|
|
3322
|
-
default: () =>
|
|
3322
|
+
default: () => Dr
|
|
3323
3323
|
},
|
|
3324
3324
|
disabled: {
|
|
3325
3325
|
type: Boolean,
|
|
@@ -3361,7 +3361,7 @@ const Wa = [...kr, ...ji], Bi = ["locale", "showMonths"], Ri = B({
|
|
|
3361
3361
|
*/
|
|
3362
3362
|
onInput(e) {
|
|
3363
3363
|
const n = e.target;
|
|
3364
|
-
|
|
3364
|
+
jr().then(() => {
|
|
3365
3365
|
this.$emit("update:modelValue", Jn(n.value));
|
|
3366
3366
|
});
|
|
3367
3367
|
},
|
|
@@ -3508,29 +3508,29 @@ var Qn = {}, Yi = {
|
|
|
3508
3508
|
var p = l(l({}, s), y);
|
|
3509
3509
|
return function(m) {
|
|
3510
3510
|
var f;
|
|
3511
|
-
function w(
|
|
3512
|
-
|
|
3513
|
-
var $ =
|
|
3511
|
+
function w(N) {
|
|
3512
|
+
N.stopPropagation(), N.preventDefault();
|
|
3513
|
+
var $ = N.target;
|
|
3514
3514
|
if (!($.tagName.toLowerCase() !== "button" || typeof p.onClick > "u"))
|
|
3515
|
-
for (var P = parseInt($.dataset.index, 10),
|
|
3515
|
+
for (var P = parseInt($.dataset.index, 10), F = Array.isArray(p.onClick) ? p.onClick : [p.onClick], H = 0, le = F; H < le.length; H++) {
|
|
3516
3516
|
var ue = le[H];
|
|
3517
3517
|
typeof ue == "function" && ue(P, m);
|
|
3518
3518
|
}
|
|
3519
3519
|
}
|
|
3520
|
-
function V(
|
|
3521
|
-
var $ =
|
|
3522
|
-
|
|
3520
|
+
function V(N) {
|
|
3521
|
+
var $ = N.target;
|
|
3522
|
+
N.key !== "Tab" || $.tagName.toLowerCase() !== "button" || (N.shiftKey && !$.previousSibling || !N.shiftKey && !$.nextSibling) && (N.preventDefault(), m.element.focus());
|
|
3523
3523
|
}
|
|
3524
|
-
function z(
|
|
3524
|
+
function z(N, $) {
|
|
3525
3525
|
Object.keys($).filter(function(P) {
|
|
3526
3526
|
return c.has(P);
|
|
3527
3527
|
}).forEach(function(P) {
|
|
3528
|
-
var
|
|
3528
|
+
var F;
|
|
3529
3529
|
if (P === "class") {
|
|
3530
|
-
(
|
|
3530
|
+
(F = N.classList).add.apply(F, $[P].split(" "));
|
|
3531
3531
|
return;
|
|
3532
3532
|
}
|
|
3533
|
-
|
|
3533
|
+
N.setAttribute(P, $[P]);
|
|
3534
3534
|
});
|
|
3535
3535
|
}
|
|
3536
3536
|
return {
|
|
@@ -3539,13 +3539,13 @@ var Qn = {}, Yi = {
|
|
|
3539
3539
|
*/
|
|
3540
3540
|
onReady: function() {
|
|
3541
3541
|
if (f = document.createElement("div"), f.classList.add("shortcut-buttons-flatpickr-wrapper", p.theme), typeof p.label < "u" && p.label.length) {
|
|
3542
|
-
var
|
|
3543
|
-
|
|
3542
|
+
var N = document.createElement("div");
|
|
3543
|
+
N.classList.add("shortcut-buttons-flatpickr-label"), N.textContent = p.label, f.appendChild(N);
|
|
3544
3544
|
}
|
|
3545
3545
|
var $ = document.createElement("div");
|
|
3546
|
-
$.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P,
|
|
3546
|
+
$.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(p.button) ? p.button : [p.button]).forEach(function(P, F) {
|
|
3547
3547
|
var H = document.createElement("button");
|
|
3548
|
-
H.type = "button", H.classList.add("shortcut-buttons-flatpickr-button"), H.textContent = P.label, H.dataset.index = String(
|
|
3548
|
+
H.type = "button", H.classList.add("shortcut-buttons-flatpickr-button"), H.textContent = P.label, H.dataset.index = String(F), typeof P.attributes < "u" && z(H, P.attributes), $.appendChild(H), m.pluginElements.push(H);
|
|
3549
3549
|
}), f.appendChild($), m.calendarContainer.appendChild(f), f.addEventListener("click", w), f.addEventListener("keydown", V);
|
|
3550
3550
|
},
|
|
3551
3551
|
/**
|
|
@@ -3565,7 +3565,7 @@ var Qn = {}, Yi = {
|
|
|
3565
3565
|
);
|
|
3566
3566
|
});
|
|
3567
3567
|
})(Yi);
|
|
3568
|
-
const Hi = /* @__PURE__ */
|
|
3568
|
+
const Hi = /* @__PURE__ */ mr(Qn);
|
|
3569
3569
|
var Sn = {}, Ji = {
|
|
3570
3570
|
get exports() {
|
|
3571
3571
|
return Sn;
|
|
@@ -3594,10 +3594,10 @@ var Sn = {}, Ji = {
|
|
|
3594
3594
|
***************************************************************************** */
|
|
3595
3595
|
var a = function() {
|
|
3596
3596
|
return a = Object.assign || function(We) {
|
|
3597
|
-
for (var pn,
|
|
3598
|
-
pn = arguments[
|
|
3599
|
-
for (var
|
|
3600
|
-
Object.prototype.hasOwnProperty.call(pn,
|
|
3597
|
+
for (var pn, Nn = 1, Pr = arguments.length; Nn < Pr; Nn++) {
|
|
3598
|
+
pn = arguments[Nn];
|
|
3599
|
+
for (var Fn in pn)
|
|
3600
|
+
Object.prototype.hasOwnProperty.call(pn, Fn) && (We[Fn] = pn[Fn]);
|
|
3601
3601
|
}
|
|
3602
3602
|
return We;
|
|
3603
3603
|
}, a.apply(this, arguments);
|
|
@@ -3912,7 +3912,7 @@ var Sn = {}, Ji = {
|
|
|
3912
3912
|
firstDayOfWeek: 1
|
|
3913
3913
|
};
|
|
3914
3914
|
V.l10ns.bg = z, V.l10ns;
|
|
3915
|
-
var
|
|
3915
|
+
var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
3916
3916
|
l10ns: {}
|
|
3917
3917
|
}, $ = {
|
|
3918
3918
|
weekdays: {
|
|
@@ -3958,10 +3958,10 @@ var Sn = {}, Ji = {
|
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
3960
|
};
|
|
3961
|
-
|
|
3961
|
+
N.l10ns.bn = $, N.l10ns;
|
|
3962
3962
|
var P = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
3963
3963
|
l10ns: {}
|
|
3964
|
-
},
|
|
3964
|
+
}, F = {
|
|
3965
3965
|
weekdays: {
|
|
3966
3966
|
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
|
|
3967
3967
|
longhand: [
|
|
@@ -4025,7 +4025,7 @@ var Sn = {}, Ji = {
|
|
|
4025
4025
|
rangeSeparator: " a ",
|
|
4026
4026
|
time_24hr: !0
|
|
4027
4027
|
};
|
|
4028
|
-
P.l10ns.cat = P.l10ns.ca =
|
|
4028
|
+
P.l10ns.cat = P.l10ns.ca = F, P.l10ns;
|
|
4029
4029
|
var H = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4030
4030
|
l10ns: {}
|
|
4031
4031
|
}, le = {
|
|
@@ -4755,7 +4755,7 @@ var Sn = {}, Ji = {
|
|
|
4755
4755
|
Ee.l10ns.fr = Ce, Ee.l10ns;
|
|
4756
4756
|
var pe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4757
4757
|
l10ns: {}
|
|
4758
|
-
},
|
|
4758
|
+
}, Ne = {
|
|
4759
4759
|
weekdays: {
|
|
4760
4760
|
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
|
|
4761
4761
|
longhand: [
|
|
@@ -4812,7 +4812,7 @@ var Sn = {}, Ji = {
|
|
|
4812
4812
|
hourAriaLabel: "ώρα",
|
|
4813
4813
|
minuteAriaLabel: "λεπτό"
|
|
4814
4814
|
};
|
|
4815
|
-
pe.l10ns.gr =
|
|
4815
|
+
pe.l10ns.gr = Ne, pe.l10ns;
|
|
4816
4816
|
var Ze = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
4817
4817
|
l10ns: {}
|
|
4818
4818
|
}, Be = {
|
|
@@ -5965,7 +5965,7 @@ var Sn = {}, Ji = {
|
|
|
5965
5965
|
I.l10ns.no = Y, I.l10ns;
|
|
5966
5966
|
var oe = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
5967
5967
|
l10ns: {}
|
|
5968
|
-
},
|
|
5968
|
+
}, Fe = {
|
|
5969
5969
|
weekdays: {
|
|
5970
5970
|
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
|
|
5971
5971
|
longhand: [
|
|
@@ -6010,7 +6010,7 @@ var Sn = {}, Ji = {
|
|
|
6010
6010
|
},
|
|
6011
6011
|
time_24hr: !0
|
|
6012
6012
|
};
|
|
6013
|
-
oe.l10ns.pa =
|
|
6013
|
+
oe.l10ns.pa = Fe, oe.l10ns;
|
|
6014
6014
|
var Te = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
6015
6015
|
l10ns: {}
|
|
6016
6016
|
}, tt = {
|
|
@@ -6968,7 +6968,7 @@ var Sn = {}, Ji = {
|
|
|
6968
6968
|
toggleTitle: "點擊切換 12/24 小時時制"
|
|
6969
6969
|
};
|
|
6970
6970
|
Sa.l10ns.zh_tw = Ta, Sa.l10ns;
|
|
6971
|
-
var
|
|
6971
|
+
var $r = {
|
|
6972
6972
|
ar: l,
|
|
6973
6973
|
at: c,
|
|
6974
6974
|
az: y,
|
|
@@ -6976,9 +6976,9 @@ var Sn = {}, Ji = {
|
|
|
6976
6976
|
bg: z,
|
|
6977
6977
|
bn: $,
|
|
6978
6978
|
bs: w,
|
|
6979
|
-
ca:
|
|
6979
|
+
ca: F,
|
|
6980
6980
|
ckb: le,
|
|
6981
|
-
cat:
|
|
6981
|
+
cat: F,
|
|
6982
6982
|
cs: ge,
|
|
6983
6983
|
cy: ee,
|
|
6984
6984
|
da: Ae,
|
|
@@ -6992,7 +6992,7 @@ var Sn = {}, Ji = {
|
|
|
6992
6992
|
fi: Ie,
|
|
6993
6993
|
fo: je,
|
|
6994
6994
|
fr: Ce,
|
|
6995
|
-
gr:
|
|
6995
|
+
gr: Ne,
|
|
6996
6996
|
he: Be,
|
|
6997
6997
|
hi: Jt,
|
|
6998
6998
|
hr: Ut,
|
|
@@ -7015,7 +7015,7 @@ var Sn = {}, Ji = {
|
|
|
7015
7015
|
nl: W,
|
|
7016
7016
|
nn: q,
|
|
7017
7017
|
no: Y,
|
|
7018
|
-
pa:
|
|
7018
|
+
pa: Fe,
|
|
7019
7019
|
pl: tt,
|
|
7020
7020
|
pt: rn,
|
|
7021
7021
|
ro: on,
|
|
@@ -7035,13 +7035,13 @@ var Sn = {}, Ji = {
|
|
|
7035
7035
|
uz: _a,
|
|
7036
7036
|
uz_latn: ka
|
|
7037
7037
|
};
|
|
7038
|
-
t.default =
|
|
7038
|
+
t.default = $r, Object.defineProperty(t, "__esModule", { value: !0 });
|
|
7039
7039
|
});
|
|
7040
7040
|
})(Ji, Sn);
|
|
7041
|
-
const Ui = /* @__PURE__ */
|
|
7041
|
+
const Ui = /* @__PURE__ */ mr(Sn);
|
|
7042
7042
|
const { t: Wi } = Q.global;
|
|
7043
7043
|
function qi() {
|
|
7044
|
-
return Me({ t: Wi })(
|
|
7044
|
+
return Me({ t: Wi })(Qr, {
|
|
7045
7045
|
withArguments: !0,
|
|
7046
7046
|
messagePath: () => "validations.js.required"
|
|
7047
7047
|
});
|
|
@@ -7082,12 +7082,12 @@ const Gi = {
|
|
|
7082
7082
|
}
|
|
7083
7083
|
n("update:modelValue", m(T + "")), n("change");
|
|
7084
7084
|
}, w = () => {
|
|
7085
|
-
|
|
7085
|
+
N(), s.value = !0, n("onOpen");
|
|
7086
7086
|
}, V = () => {
|
|
7087
7087
|
s.value = !1, n("onClose");
|
|
7088
7088
|
}, z = () => {
|
|
7089
7089
|
a(o.value) && (d.value = o.value.fpInput().value);
|
|
7090
|
-
},
|
|
7090
|
+
}, N = () => {
|
|
7091
7091
|
var b, S, D;
|
|
7092
7092
|
if (!a(o.value))
|
|
7093
7093
|
return;
|
|
@@ -7099,7 +7099,7 @@ const Gi = {
|
|
|
7099
7099
|
(D = o.value) == null || D.fp.setDate(g, !0), Ae.value.textFieldValue.$touch(), n("blur");
|
|
7100
7100
|
}, $ = () => {
|
|
7101
7101
|
y.value = t.defaultValue, n("update:modelValue", h(t.defaultValue));
|
|
7102
|
-
}, P = A(() => t.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"),
|
|
7102
|
+
}, P = A(() => t.type === "datetime" ? "d.m.Y H:i" : "d.m.Y"), F = A(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), H = A(() => t.enable && t.enable.length > 0 ? t.enable : [
|
|
7103
7103
|
{
|
|
7104
7104
|
from: new Date(1901, 1),
|
|
7105
7105
|
to: new Date(2099, 12)
|
|
@@ -7149,11 +7149,11 @@ const Gi = {
|
|
|
7149
7149
|
o.value.fp.close();
|
|
7150
7150
|
return;
|
|
7151
7151
|
}
|
|
7152
|
-
|
|
7152
|
+
N(), o.value.fp.open(), o.value.fpInput().focus();
|
|
7153
7153
|
}
|
|
7154
7154
|
}, 0);
|
|
7155
7155
|
};
|
|
7156
|
-
|
|
7156
|
+
Br(() => {
|
|
7157
7157
|
if ((_e(t.modelValue) || x(t.modelValue)) && !_e(t.defaultValue)) {
|
|
7158
7158
|
y.value = t.defaultValue;
|
|
7159
7159
|
return;
|
|
@@ -7164,7 +7164,7 @@ const Gi = {
|
|
|
7164
7164
|
textFieldValue: {
|
|
7165
7165
|
required: ee(t.required)
|
|
7166
7166
|
}
|
|
7167
|
-
})), Ae =
|
|
7167
|
+
})), Ae = Zr(G, { textFieldValue: d }), Se = A(() => x(t.errorMessages) ? Ae.value.textFieldValue.$errors.length ? [Ae.value.textFieldValue.$errors.map((T) => T.$message).join(" ")] : [] : t.errorMessages);
|
|
7168
7168
|
return (T, g) => (_(), j($n, {
|
|
7169
7169
|
ref_key: "textFieldRef",
|
|
7170
7170
|
ref: l,
|
|
@@ -7172,10 +7172,10 @@ const Gi = {
|
|
|
7172
7172
|
"onUpdate:modelValue": g[0] || (g[0] = (b) => d.value = b),
|
|
7173
7173
|
"error-messages": h(Se),
|
|
7174
7174
|
"persistent-placeholder": !0,
|
|
7175
|
-
placeholder: h(
|
|
7175
|
+
placeholder: h(F),
|
|
7176
7176
|
class: "a-datetime-picker",
|
|
7177
|
-
onBlur:
|
|
7178
|
-
onKeyup:
|
|
7177
|
+
onBlur: N,
|
|
7178
|
+
onKeyup: Rr(N, ["enter"])
|
|
7179
7179
|
}, xn({
|
|
7180
7180
|
"append-inner": k(() => [
|
|
7181
7181
|
e.clearable && e.defaultValue !== e.modelValue ? (_(), j(he, {
|
|
@@ -7216,7 +7216,7 @@ const Gi = {
|
|
|
7216
7216
|
]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
|
|
7217
7217
|
}
|
|
7218
7218
|
});
|
|
7219
|
-
const
|
|
7219
|
+
const Cr = /* @__PURE__ */ ft(Ki, [["__scopeId", "data-v-59e27a40"]]), fd = /* @__PURE__ */ B({
|
|
7220
7220
|
__name: "AFormDatetimePicker",
|
|
7221
7221
|
props: {
|
|
7222
7222
|
modelValue: null,
|
|
@@ -7253,7 +7253,7 @@ const Dr = /* @__PURE__ */ ft(Ki, [["__scopeId", "data-v-59e27a40"]]), md = /* @
|
|
|
7253
7253
|
var m, f;
|
|
7254
7254
|
return x(t.required) ? !!((m = t.v) != null && m.required && ((f = t.v) == null ? void 0 : f.required.$params.type) === "required") : t.required;
|
|
7255
7255
|
});
|
|
7256
|
-
return (m, f) => (_(), j(
|
|
7256
|
+
return (m, f) => (_(), j(Cr, {
|
|
7257
7257
|
"model-value": e.modelValue,
|
|
7258
7258
|
"error-messages": h(d),
|
|
7259
7259
|
required: h(p),
|
|
@@ -7262,7 +7262,7 @@ const Dr = /* @__PURE__ */ ft(Ki, [["__scopeId", "data-v-59e27a40"]]), md = /* @
|
|
|
7262
7262
|
"onUpdate:modelValue": f[0] || (f[0] = (w) => s(w))
|
|
7263
7263
|
}, null, 8, ["model-value", "error-messages", "required", "label"]));
|
|
7264
7264
|
}
|
|
7265
|
-
}),
|
|
7265
|
+
}), pd = /* @__PURE__ */ B({
|
|
7266
7266
|
__name: "AFilterDatetimePicker",
|
|
7267
7267
|
props: {
|
|
7268
7268
|
modelValue: null
|
|
@@ -7277,7 +7277,7 @@ const Dr = /* @__PURE__ */ ft(Ki, [["__scopeId", "data-v-59e27a40"]]), md = /* @
|
|
|
7277
7277
|
n("update:modelValue", { ...t.modelValue, model: s });
|
|
7278
7278
|
}
|
|
7279
7279
|
}), { t: o } = X(), l = A(() => t.modelValue.titleT ? o(t.modelValue.titleT) : void 0);
|
|
7280
|
-
return (s, c) => (_(), j(
|
|
7280
|
+
return (s, c) => (_(), j(Cr, {
|
|
7281
7281
|
modelValue: h(a),
|
|
7282
7282
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => Ue(a) ? a.value = d : null),
|
|
7283
7283
|
clearable: !e.modelValue.mandatory,
|
|
@@ -7286,8 +7286,8 @@ const Dr = /* @__PURE__ */ ft(Ki, [["__scopeId", "data-v-59e27a40"]]), md = /* @
|
|
|
7286
7286
|
}, null, 8, ["modelValue", "clearable", "default-value", "label"]));
|
|
7287
7287
|
}
|
|
7288
7288
|
});
|
|
7289
|
-
function
|
|
7290
|
-
return
|
|
7289
|
+
function Mr() {
|
|
7290
|
+
return Yr({
|
|
7291
7291
|
sortBy: "createdAt",
|
|
7292
7292
|
descending: !0,
|
|
7293
7293
|
page: 1,
|
|
@@ -7298,7 +7298,7 @@ function Cr() {
|
|
|
7298
7298
|
totalCount: 0
|
|
7299
7299
|
});
|
|
7300
7300
|
}
|
|
7301
|
-
function
|
|
7301
|
+
function hd(e) {
|
|
7302
7302
|
return {
|
|
7303
7303
|
showPagination: A(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
|
|
7304
7304
|
};
|
|
@@ -7306,7 +7306,7 @@ function pd(e) {
|
|
|
7306
7306
|
const Zi = {
|
|
7307
7307
|
key: 0,
|
|
7308
7308
|
class: "required"
|
|
7309
|
-
},
|
|
7309
|
+
}, gd = /* @__PURE__ */ B({
|
|
7310
7310
|
__name: "AFormRemoteAutocomplete",
|
|
7311
7311
|
props: {
|
|
7312
7312
|
modelValue: null,
|
|
@@ -7362,15 +7362,15 @@ const Zi = {
|
|
|
7362
7362
|
}), w = A(() => {
|
|
7363
7363
|
var g, b;
|
|
7364
7364
|
return x(t.required) ? ((g = t.v) == null ? void 0 : g.required) && ((b = t.v) == null ? void 0 : b.required.$params.type) === "required" : t.required;
|
|
7365
|
-
}), V = A(() => t.multiple !== !1), z = (g, b) => [...new Map([...g, ...b].map((S) => [S.value, S])).values()],
|
|
7366
|
-
|
|
7365
|
+
}), V = A(() => t.multiple !== !1), z = (g, b) => [...new Map([...g, ...b].map((S) => [S.value, S])).values()], N = te(!1), { innerFilter: $ } = Xa(t), P = Mr(), F = te([]), H = te([]), le = te([]), ue = A(() => z(le.value, H.value)), ge = async (g) => {
|
|
7366
|
+
N.value = !0;
|
|
7367
7367
|
const b = $.value[t.filterByField];
|
|
7368
|
-
b.model = g, H.value = await t.fetchItems(P, $.value),
|
|
7368
|
+
b.model = g, H.value = await t.fetchItems(P, $.value), N.value = !1;
|
|
7369
7369
|
};
|
|
7370
7370
|
if (t.lazyLoader) {
|
|
7371
7371
|
const { allValues: g, loadedAll: b } = t.lazyLoader();
|
|
7372
7372
|
ct(b, (S) => {
|
|
7373
|
-
S &&
|
|
7373
|
+
S && F.value.length > 0 && (le.value = g.value.filter((D) => F.value.includes(D.value)));
|
|
7374
7374
|
});
|
|
7375
7375
|
}
|
|
7376
7376
|
const we = (g) => {
|
|
@@ -7385,9 +7385,9 @@ const Zi = {
|
|
|
7385
7385
|
if (!t.lazyLoader)
|
|
7386
7386
|
return b(!1);
|
|
7387
7387
|
const { hasId: S, allValues: D, loadedAll: R } = t.lazyLoader();
|
|
7388
|
-
return g.every((K) => S(K)) ? R.value ? (le.value = jt(D.value.filter((K) => g.includes(K.value))), b(!0)) : (g.forEach((K) =>
|
|
7388
|
+
return g.every((K) => S(K)) ? R.value ? (le.value = jt(D.value.filter((K) => g.includes(K.value))), b(!0)) : (g.forEach((K) => F.value.push(K)), b(!0)) : b(!1);
|
|
7389
7389
|
}), Ae = async (g) => {
|
|
7390
|
-
!t.disableInitFetch && (ur(g) || _e(g)) && (
|
|
7390
|
+
!t.disableInitFetch && (ur(g) || _e(g)) && (N.value = !0, H.value = await t.fetchItems(P, $.value), N.value = !1);
|
|
7391
7391
|
};
|
|
7392
7392
|
ct(
|
|
7393
7393
|
a,
|
|
@@ -7425,7 +7425,7 @@ const Zi = {
|
|
|
7425
7425
|
multiple: h(V),
|
|
7426
7426
|
clearable: e.clearable,
|
|
7427
7427
|
"error-messages": h(m),
|
|
7428
|
-
loading:
|
|
7428
|
+
loading: N.value,
|
|
7429
7429
|
dirty: "",
|
|
7430
7430
|
onBlur: p,
|
|
7431
7431
|
onFocus: y,
|
|
@@ -7460,7 +7460,7 @@ const Zi = {
|
|
|
7460
7460
|
}), Qi = { key: 0 }, Xi = {
|
|
7461
7461
|
key: 0,
|
|
7462
7462
|
class: "required"
|
|
7463
|
-
},
|
|
7463
|
+
}, vd = /* @__PURE__ */ B({
|
|
7464
7464
|
__name: "AFormValueObjectOptionsSelect",
|
|
7465
7465
|
props: {
|
|
7466
7466
|
modelValue: null,
|
|
@@ -7523,7 +7523,7 @@ const Zi = {
|
|
|
7523
7523
|
_: 1
|
|
7524
7524
|
}, 8, ["modelValue", "items", "multiple", "clearable", "error-messages", "data-cy"]));
|
|
7525
7525
|
}
|
|
7526
|
-
}),
|
|
7526
|
+
}), yd = /* @__PURE__ */ B({
|
|
7527
7527
|
__name: "AFilterValueObjectOptionsSelect",
|
|
7528
7528
|
props: {
|
|
7529
7529
|
modelValue: null,
|
|
@@ -7551,7 +7551,7 @@ const Zi = {
|
|
|
7551
7551
|
onChange: d[2] || (d[2] = (y) => n("change"))
|
|
7552
7552
|
}, null, 8, ["modelValue", "items", "label", "multiple", "clearable"]));
|
|
7553
7553
|
}
|
|
7554
|
-
}),
|
|
7554
|
+
}), bd = /* @__PURE__ */ B({
|
|
7555
7555
|
__name: "AFilterRemoteAutocomplete",
|
|
7556
7556
|
props: {
|
|
7557
7557
|
modelValue: null,
|
|
@@ -7571,12 +7571,12 @@ const Zi = {
|
|
|
7571
7571
|
}
|
|
7572
7572
|
}), o = te(), { innerFilter: l } = Xa(t), s = ($) => {
|
|
7573
7573
|
const P = /* @__PURE__ */ new Map();
|
|
7574
|
-
for (let
|
|
7575
|
-
const H = $[
|
|
7574
|
+
for (let F = 0; F < $.length; ++F) {
|
|
7575
|
+
const H = $[F];
|
|
7576
7576
|
H != null && !P.has(H.value) && P.set(H.value, H);
|
|
7577
7577
|
}
|
|
7578
7578
|
return Array.from(P.values());
|
|
7579
|
-
}, c =
|
|
7579
|
+
}, c = Mr(), d = te([]), y = te([]), p = A(() => s(y.value.concat(d.value))), m = te(!1), f = async ($) => {
|
|
7580
7580
|
if ($.length > 0) {
|
|
7581
7581
|
m.value = !0;
|
|
7582
7582
|
const P = l.value[t.filterByField];
|
|
@@ -7585,12 +7585,12 @@ const Zi = {
|
|
|
7585
7585
|
}, w = ($) => {
|
|
7586
7586
|
const P = y.value.filter(
|
|
7587
7587
|
(H) => $.includes(H.value)
|
|
7588
|
-
),
|
|
7589
|
-
return s([].concat(P,
|
|
7588
|
+
), F = d.value.filter((H) => $.includes(H.value));
|
|
7589
|
+
return s([].concat(P, F));
|
|
7590
7590
|
}, V = async ($) => {
|
|
7591
|
-
let P = 1,
|
|
7592
|
-
return Xe($) ? (P = $.length,
|
|
7593
|
-
}, { t: z } = X(),
|
|
7591
|
+
let P = 1, F = [];
|
|
7592
|
+
return Xe($) ? (P = $.length, F = w($)) : F = w([$]), y.value = F, F.length === P;
|
|
7593
|
+
}, { t: z } = X(), N = A(() => t.modelValue.titleT ? z(t.modelValue.titleT) : void 0);
|
|
7594
7594
|
return ct(
|
|
7595
7595
|
a,
|
|
7596
7596
|
async ($) => {
|
|
@@ -7611,14 +7611,14 @@ const Zi = {
|
|
|
7611
7611
|
{ debounce: 300, maxWait: 1e3 }
|
|
7612
7612
|
), ($, P) => (_(), j(In, {
|
|
7613
7613
|
modelValue: h(a),
|
|
7614
|
-
"onUpdate:modelValue": P[0] || (P[0] = (
|
|
7614
|
+
"onUpdate:modelValue": P[0] || (P[0] = (F) => Ue(a) ? a.value = F : null),
|
|
7615
7615
|
search: o.value,
|
|
7616
|
-
"onUpdate:search": P[1] || (P[1] = (
|
|
7616
|
+
"onUpdate:search": P[1] || (P[1] = (F) => o.value = F),
|
|
7617
7617
|
items: h(p),
|
|
7618
7618
|
"item-title": "title",
|
|
7619
7619
|
"item-value": "value",
|
|
7620
7620
|
"no-filter": "",
|
|
7621
|
-
label: h(
|
|
7621
|
+
label: h(N),
|
|
7622
7622
|
multiple: e.modelValue.multiple,
|
|
7623
7623
|
clearable: !e.modelValue.mandatory
|
|
7624
7624
|
}, null, 8, ["modelValue", "search", "items", "label", "multiple", "clearable"]));
|
|
@@ -7677,7 +7677,7 @@ const Zi = {
|
|
|
7677
7677
|
]));
|
|
7678
7678
|
}
|
|
7679
7679
|
});
|
|
7680
|
-
const
|
|
7680
|
+
const wd = /* @__PURE__ */ ft(tl, [["__scopeId", "data-v-7001c25d"]]);
|
|
7681
7681
|
var nl = /* @__PURE__ */ ((e) => (e.Waiting = "waiting", e.Processing = "processing", e.AwaitingBatchProcess = "awaiting_batch_process", e.Done = "done", e.Error = "error", e.Default = "waiting", e))(nl || {});
|
|
7682
7682
|
function al() {
|
|
7683
7683
|
const { t: e } = X(), n = te([
|
|
@@ -7712,7 +7712,7 @@ function al() {
|
|
|
7712
7712
|
getJobStatusOption: (a) => n.value.find((o) => o.value === a)
|
|
7713
7713
|
};
|
|
7714
7714
|
}
|
|
7715
|
-
const
|
|
7715
|
+
const _d = /* @__PURE__ */ B({
|
|
7716
7716
|
__name: "AJobStatusChip",
|
|
7717
7717
|
props: {
|
|
7718
7718
|
value: null
|
|
@@ -7780,7 +7780,7 @@ function ol() {
|
|
|
7780
7780
|
getLogLevelOption: (t) => e.value.find((a) => a.value === t)
|
|
7781
7781
|
};
|
|
7782
7782
|
}
|
|
7783
|
-
const
|
|
7783
|
+
const zd = /* @__PURE__ */ B({
|
|
7784
7784
|
__name: "ALogLevelChip",
|
|
7785
7785
|
props: {
|
|
7786
7786
|
level: null
|
|
@@ -7872,15 +7872,15 @@ function ia() {
|
|
|
7872
7872
|
},
|
|
7873
7873
|
showApiError: (f, w = -1, V = !1) => {
|
|
7874
7874
|
const { t: z } = Q.global;
|
|
7875
|
-
let
|
|
7875
|
+
let N = z("common.alert.fixApiValidationErrors") + qa;
|
|
7876
7876
|
for (let $ = 0; $ < f.length; $++) {
|
|
7877
|
-
|
|
7877
|
+
N += V ? f[$].field + ": " : z(f[$].field) + ": ";
|
|
7878
7878
|
for (let P = 0; P < f[$].errors.length; P++)
|
|
7879
|
-
|
|
7879
|
+
N += z("validations.api." + f[$].errors[P]) + qa;
|
|
7880
7880
|
}
|
|
7881
7881
|
Ge({
|
|
7882
7882
|
group: "alerts",
|
|
7883
|
-
text:
|
|
7883
|
+
text: N,
|
|
7884
7884
|
duration: w * 1e3,
|
|
7885
7885
|
type: "error"
|
|
7886
7886
|
});
|
|
@@ -7896,7 +7896,7 @@ function ia() {
|
|
|
7896
7896
|
}
|
|
7897
7897
|
};
|
|
7898
7898
|
}
|
|
7899
|
-
const
|
|
7899
|
+
const Ar = (e) => "" + e, il = ["data-cy", "onClick"], kd = /* @__PURE__ */ B({
|
|
7900
7900
|
__name: "ACopyText",
|
|
7901
7901
|
props: {
|
|
7902
7902
|
value: null,
|
|
@@ -7905,7 +7905,7 @@ const Mr = (e) => "" + e, il = ["data-cy", "onClick"], zd = /* @__PURE__ */ B({
|
|
|
7905
7905
|
},
|
|
7906
7906
|
setup(e) {
|
|
7907
7907
|
const n = e, { copy: t, isSupported: a } = ar(), { showSuccess: o } = ia(), { t: l } = X(), s = (c) => {
|
|
7908
|
-
et(c), a && (na(n.value) ? t(
|
|
7908
|
+
et(c), a && (na(n.value) ? t(Ar(n.value)).then(() => {
|
|
7909
7909
|
o(l(n.notifyT));
|
|
7910
7910
|
}) : nt(n.value) && n.value.length && t(n.value).then(() => {
|
|
7911
7911
|
o(l(n.notifyT));
|
|
@@ -7941,7 +7941,7 @@ const ll = {
|
|
|
7941
7941
|
}, sl = {
|
|
7942
7942
|
key: 1,
|
|
7943
7943
|
class: "anzu-icon-group"
|
|
7944
|
-
}, ul = { class: "anzu-icon-group__secondary-text" },
|
|
7944
|
+
}, ul = { class: "anzu-icon-group__secondary-text" }, Sr = /* @__PURE__ */ B({
|
|
7945
7945
|
__name: "AIconGroup",
|
|
7946
7946
|
props: {
|
|
7947
7947
|
mainIcon: null,
|
|
@@ -7977,7 +7977,7 @@ const ll = {
|
|
|
7977
7977
|
const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
7978
7978
|
key: 0,
|
|
7979
7979
|
class: "app-page-title-icon"
|
|
7980
|
-
}, ml = ["data-cy"], fl = { class: "text-subtitle-1 font-weight-bold pl-2" },
|
|
7980
|
+
}, ml = ["data-cy"], fl = { class: "text-subtitle-1 font-weight-bold pl-2" }, Dd = /* @__PURE__ */ B({
|
|
7981
7981
|
__name: "APageTitle",
|
|
7982
7982
|
props: {
|
|
7983
7983
|
heading: { default: "" },
|
|
@@ -8001,7 +8001,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8001
8001
|
], 8, ml)
|
|
8002
8002
|
]));
|
|
8003
8003
|
}
|
|
8004
|
-
}),
|
|
8004
|
+
}), Cd = /* @__PURE__ */ B({
|
|
8005
8005
|
__name: "AUserAndTimeTrackingFields",
|
|
8006
8006
|
props: {
|
|
8007
8007
|
data: null,
|
|
@@ -8037,7 +8037,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8037
8037
|
}, 8, ["title"]))
|
|
8038
8038
|
], 64));
|
|
8039
8039
|
}
|
|
8040
|
-
}),
|
|
8040
|
+
}), Md = /* @__PURE__ */ B({
|
|
8041
8041
|
__name: "AActionCloseButton",
|
|
8042
8042
|
props: {
|
|
8043
8043
|
routeName: null,
|
|
@@ -8072,7 +8072,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8072
8072
|
_: 1
|
|
8073
8073
|
}, 8, ["class", "data-cy", "to"]));
|
|
8074
8074
|
}
|
|
8075
|
-
}),
|
|
8075
|
+
}), Ad = /* @__PURE__ */ B({
|
|
8076
8076
|
__name: "AActionCreateButton",
|
|
8077
8077
|
props: {
|
|
8078
8078
|
routeName: null,
|
|
@@ -8095,7 +8095,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8095
8095
|
_: 1
|
|
8096
8096
|
}, 8, ["class", "data-cy", "to"]));
|
|
8097
8097
|
}
|
|
8098
|
-
}), pl = { class: "d-block pl-0 w-100" }, hl = { class: "text-h6" },
|
|
8098
|
+
}), pl = { class: "d-block pl-0 w-100" }, hl = { class: "text-h6" }, Sd = /* @__PURE__ */ B({
|
|
8099
8099
|
__name: "AActionDeleteButton",
|
|
8100
8100
|
props: {
|
|
8101
8101
|
variant: { default: "text" },
|
|
@@ -8157,7 +8157,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8157
8157
|
]),
|
|
8158
8158
|
_: 1
|
|
8159
8159
|
}, 8, ["class", "data-cy", "variant", "disabled", "color", "loading", "width", "height", "onClick"]),
|
|
8160
|
-
M(
|
|
8160
|
+
M(uo, {
|
|
8161
8161
|
modelValue: o.value,
|
|
8162
8162
|
"onUpdate:modelValue": m[0] || (m[0] = (f) => o.value = f),
|
|
8163
8163
|
persistent: "",
|
|
@@ -8170,7 +8170,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8170
8170
|
"data-cy": "delete-panel"
|
|
8171
8171
|
}, {
|
|
8172
8172
|
default: k(() => [
|
|
8173
|
-
M(
|
|
8173
|
+
M(co, {
|
|
8174
8174
|
class: "pl-2",
|
|
8175
8175
|
density: "compact"
|
|
8176
8176
|
}, {
|
|
@@ -8179,7 +8179,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8179
8179
|
ie("div", hl, L(h(y)(e.dialogMessageT)), 1)
|
|
8180
8180
|
]),
|
|
8181
8181
|
M(Pa),
|
|
8182
|
-
M(
|
|
8182
|
+
M(mo, null, {
|
|
8183
8183
|
default: k(() => [
|
|
8184
8184
|
M(de, {
|
|
8185
8185
|
class: "ml-2",
|
|
@@ -8196,7 +8196,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8196
8196
|
]),
|
|
8197
8197
|
_: 1
|
|
8198
8198
|
}),
|
|
8199
|
-
M(
|
|
8199
|
+
M(Wr, null, {
|
|
8200
8200
|
default: k(() => [
|
|
8201
8201
|
M(Pa),
|
|
8202
8202
|
M(de, {
|
|
@@ -8233,7 +8233,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8233
8233
|
}, 8, ["modelValue"])
|
|
8234
8234
|
], 64));
|
|
8235
8235
|
}
|
|
8236
|
-
}),
|
|
8236
|
+
}), Td = /* @__PURE__ */ B({
|
|
8237
8237
|
__name: "AActionEditButton",
|
|
8238
8238
|
props: {
|
|
8239
8239
|
routeName: null,
|
|
@@ -8245,7 +8245,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8245
8245
|
},
|
|
8246
8246
|
emits: ["editRecord"],
|
|
8247
8247
|
setup(e, { emit: n }) {
|
|
8248
|
-
const t = e, { t: a } = X(), o =
|
|
8248
|
+
const t = e, { t: a } = X(), o = fo(), l = (s) => {
|
|
8249
8249
|
et(s), n("editRecord"), o.push({ name: t.routeName, params: { id: t.recordId } });
|
|
8250
8250
|
};
|
|
8251
8251
|
return (s, c) => (_(), j(de, {
|
|
@@ -8262,7 +8262,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8262
8262
|
_: 1
|
|
8263
8263
|
}, 8, ["class", "data-cy", "loading", "onClick"]));
|
|
8264
8264
|
}
|
|
8265
|
-
}),
|
|
8265
|
+
}), xd = /* @__PURE__ */ B({
|
|
8266
8266
|
__name: "AActionSaveAndCloseButton",
|
|
8267
8267
|
props: {
|
|
8268
8268
|
buttonT: { default: "common.button.saveAndClose" },
|
|
@@ -8289,7 +8289,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8289
8289
|
onClick: se(t, ["stop"])
|
|
8290
8290
|
}, {
|
|
8291
8291
|
default: k(() => [
|
|
8292
|
-
M(
|
|
8292
|
+
M(Sr, {
|
|
8293
8293
|
"main-icon": "mdi-content-save",
|
|
8294
8294
|
"secondary-icon": "mdi-close"
|
|
8295
8295
|
}),
|
|
@@ -8306,7 +8306,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8306
8306
|
_: 1
|
|
8307
8307
|
}, 8, ["class", "data-cy", "loading", "disabled", "onClick"]));
|
|
8308
8308
|
}
|
|
8309
|
-
}),
|
|
8309
|
+
}), Od = /* @__PURE__ */ B({
|
|
8310
8310
|
__name: "AActionSaveButton",
|
|
8311
8311
|
props: {
|
|
8312
8312
|
buttonT: { default: "common.button.save" },
|
|
@@ -8361,7 +8361,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8361
8361
|
_: 1
|
|
8362
8362
|
}, 8, ["class", "data-cy", "loading", "disabled", "onClick"]));
|
|
8363
8363
|
}
|
|
8364
|
-
}),
|
|
8364
|
+
}), $d = /* @__PURE__ */ B({
|
|
8365
8365
|
__name: "ATableCopyIdButton",
|
|
8366
8366
|
props: {
|
|
8367
8367
|
id: null,
|
|
@@ -8374,7 +8374,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8374
8374
|
},
|
|
8375
8375
|
setup(e) {
|
|
8376
8376
|
const n = e, { t } = X(), { copy: a, isSupported: o } = ar(), { showSuccess: l } = ia(), s = (c) => {
|
|
8377
|
-
et(c), na(n.id) && n.id > 0 ? a(
|
|
8377
|
+
et(c), na(n.id) && n.id > 0 ? a(Ar(n.id)).then(() => {
|
|
8378
8378
|
l(t(n.notifyT));
|
|
8379
8379
|
}) : nt(n.id) && n.id.length && a(n.id).then(() => {
|
|
8380
8380
|
l(t(n.notifyT));
|
|
@@ -8390,7 +8390,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8390
8390
|
onClick: se(s, ["stop"])
|
|
8391
8391
|
}, {
|
|
8392
8392
|
default: k(() => [
|
|
8393
|
-
M(
|
|
8393
|
+
M(Sr, {
|
|
8394
8394
|
"secondary-text": h(t)(e.iconT),
|
|
8395
8395
|
"main-icon": "mdi-content-copy",
|
|
8396
8396
|
size: "small"
|
|
@@ -8408,7 +8408,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8408
8408
|
_: 1
|
|
8409
8409
|
}, 8, ["class", "data-cy", "size", "onClick"])) : re("", !0);
|
|
8410
8410
|
}
|
|
8411
|
-
}),
|
|
8411
|
+
}), Pd = /* @__PURE__ */ B({
|
|
8412
8412
|
__name: "ATableDetailButton",
|
|
8413
8413
|
props: {
|
|
8414
8414
|
recordId: null,
|
|
@@ -8446,7 +8446,7 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8446
8446
|
_: 1
|
|
8447
8447
|
}, 8, ["class", "data-cy", "target", "to"]));
|
|
8448
8448
|
}
|
|
8449
|
-
}),
|
|
8449
|
+
}), Id = /* @__PURE__ */ B({
|
|
8450
8450
|
__name: "ATableEditButton",
|
|
8451
8451
|
props: {
|
|
8452
8452
|
recordId: null,
|
|
@@ -8485,21 +8485,21 @@ const dl = { class: "app-page-title-wrapper" }, cl = {
|
|
|
8485
8485
|
}, 8, ["class", "data-cy", "target", "to"]));
|
|
8486
8486
|
}
|
|
8487
8487
|
});
|
|
8488
|
-
var
|
|
8488
|
+
var Ft = /* @__PURE__ */ ((e) => (e.Light = "light", e.Dark = "dark", e.Auto = "auto", e))(Ft || {});
|
|
8489
8489
|
const Xn = rr(
|
|
8490
8490
|
"theme",
|
|
8491
8491
|
"light"
|
|
8492
8492
|
/* Light */
|
|
8493
|
-
),
|
|
8494
|
-
Object.values(
|
|
8493
|
+
), Tr = "(prefers-color-scheme: dark)", Tn = te(
|
|
8494
|
+
Object.values(Ft).some((e) => e === Xn.value) ? Xn.value : "light"
|
|
8495
8495
|
/* Light */
|
|
8496
8496
|
), Lt = te(
|
|
8497
8497
|
"light"
|
|
8498
8498
|
/* Light */
|
|
8499
|
-
),
|
|
8499
|
+
), xr = te(window.matchMedia && window.matchMedia(Tr).matches), Vt = () => {
|
|
8500
8500
|
switch (Tn.value) {
|
|
8501
8501
|
case "auto":
|
|
8502
|
-
Lt.value =
|
|
8502
|
+
Lt.value = xr.value ? "dark" : "light";
|
|
8503
8503
|
break;
|
|
8504
8504
|
case "light":
|
|
8505
8505
|
Lt.value = "light";
|
|
@@ -8513,8 +8513,8 @@ Vt();
|
|
|
8513
8513
|
const Un = (e) => {
|
|
8514
8514
|
Tn.value = e, Xn.value = e;
|
|
8515
8515
|
};
|
|
8516
|
-
window.matchMedia(
|
|
8517
|
-
|
|
8516
|
+
window.matchMedia(Tr).addEventListener("change", (e) => {
|
|
8517
|
+
xr.value = e.matches, Vt();
|
|
8518
8518
|
});
|
|
8519
8519
|
const gl = A(() => Lt.value === "light" ? "white" : "#1A1A1A");
|
|
8520
8520
|
function vl() {
|
|
@@ -8556,7 +8556,7 @@ function vl() {
|
|
|
8556
8556
|
setThemeLight: t
|
|
8557
8557
|
};
|
|
8558
8558
|
}
|
|
8559
|
-
const yl = { key: 0 }, bl = { key: 1 }, wl = { key: 2 },
|
|
8559
|
+
const yl = { key: 0 }, bl = { key: 1 }, wl = { key: 2 }, Ed = /* @__PURE__ */ B({
|
|
8560
8560
|
__name: "AThemeSelect",
|
|
8561
8561
|
setup(e) {
|
|
8562
8562
|
const { setThemeDark: n, setThemeAuto: t, setThemeLight: a, settings: o } = vl(), { t: l } = X(), s = te(!1);
|
|
@@ -8574,21 +8574,21 @@ const yl = { key: 0 }, bl = { key: 1 }, wl = { key: 2 }, Id = /* @__PURE__ */ B(
|
|
|
8574
8574
|
"data-cy": "settings-theme"
|
|
8575
8575
|
}), {
|
|
8576
8576
|
default: k(() => [
|
|
8577
|
-
h(o) === h(
|
|
8577
|
+
h(o) === h(Ft).Auto ? (_(), U("div", yl, [
|
|
8578
8578
|
M(he, {
|
|
8579
8579
|
class: "mr-1",
|
|
8580
8580
|
icon: "mdi-brightness-auto",
|
|
8581
8581
|
size: 32
|
|
8582
8582
|
}),
|
|
8583
8583
|
Z(L(h(l)("common.system.theme.auto")), 1)
|
|
8584
|
-
])) : h(o) === h(
|
|
8584
|
+
])) : h(o) === h(Ft).Light ? (_(), U("div", bl, [
|
|
8585
8585
|
M(he, {
|
|
8586
8586
|
class: "mr-1",
|
|
8587
8587
|
icon: "mdi-brightness-7",
|
|
8588
8588
|
size: 32
|
|
8589
8589
|
}),
|
|
8590
8590
|
Z(L(h(l)("common.system.theme.light")), 1)
|
|
8591
|
-
])) : h(o) === h(
|
|
8591
|
+
])) : h(o) === h(Ft).Dark ? (_(), U("div", wl, [
|
|
8592
8592
|
M(he, {
|
|
8593
8593
|
class: "mr-1",
|
|
8594
8594
|
icon: "mdi-brightness-4",
|
|
@@ -8672,7 +8672,7 @@ const yl = { key: 0 }, bl = { key: 1 }, wl = { key: 2 }, Id = /* @__PURE__ */ B(
|
|
|
8672
8672
|
], He = rr("language", "default");
|
|
8673
8673
|
function _l(e, n) {
|
|
8674
8674
|
He.value === "default" && (He.value = n);
|
|
8675
|
-
const { current: t } =
|
|
8675
|
+
const { current: t } = ho();
|
|
8676
8676
|
function a(s, c) {
|
|
8677
8677
|
!Q || !Q.global || Q.global.setLocaleMessage(s, c);
|
|
8678
8678
|
}
|
|
@@ -8717,18 +8717,18 @@ const Sl = /* @__PURE__ */ ft(kl, [["render", Al]]), Tl = {}, xl = {
|
|
|
8717
8717
|
function Pl(e, n) {
|
|
8718
8718
|
return _(), U("svg", xl, $l);
|
|
8719
8719
|
}
|
|
8720
|
-
const Il = /* @__PURE__ */ ft(Tl, [["render", Pl]]), El = {},
|
|
8720
|
+
const Il = /* @__PURE__ */ ft(Tl, [["render", Pl]]), El = {}, Nl = {
|
|
8721
8721
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8722
8722
|
viewBox: "0 0 900 600"
|
|
8723
|
-
},
|
|
8723
|
+
}, Fl = /* @__PURE__ */ ie("rect", {
|
|
8724
8724
|
width: "900",
|
|
8725
8725
|
height: "600",
|
|
8726
8726
|
fill: "#cccccc"
|
|
8727
8727
|
}, null, -1), Ll = [
|
|
8728
|
-
|
|
8728
|
+
Fl
|
|
8729
8729
|
];
|
|
8730
8730
|
function Vl(e, n) {
|
|
8731
|
-
return _(), U("svg",
|
|
8731
|
+
return _(), U("svg", Nl, Ll);
|
|
8732
8732
|
}
|
|
8733
8733
|
const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga = /* @__PURE__ */ B({
|
|
8734
8734
|
__name: "FlagCountry",
|
|
@@ -8754,7 +8754,7 @@ const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga
|
|
|
8754
8754
|
__name: "ALanguageSelect",
|
|
8755
8755
|
emits: ["afterChange"],
|
|
8756
8756
|
setup(e, { emit: n }) {
|
|
8757
|
-
const t = ze(En), a = ze(
|
|
8757
|
+
const t = ze(En), a = ze(br), o = ze(wr), { setLanguage: l } = _l(a, o), { currentLanguageCode: s } = zl(), c = (p) => {
|
|
8758
8758
|
l(p) && n("afterChange", p);
|
|
8759
8759
|
}, d = A(() => {
|
|
8760
8760
|
const p = kn.find((m) => m.code === s.value);
|
|
@@ -8762,7 +8762,7 @@ const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga
|
|
|
8762
8762
|
}), y = A(() => kn.filter(
|
|
8763
8763
|
(p) => {
|
|
8764
8764
|
var m;
|
|
8765
|
-
return (a.includes(p.code) || p.code === "xx") && (!p.adminOnly || ((m = t.value) == null ? void 0 : m.roles.includes(
|
|
8765
|
+
return (a.includes(p.code) || p.code === "xx") && (!p.adminOnly || ((m = t.value) == null ? void 0 : m.roles.includes(_r)));
|
|
8766
8766
|
}
|
|
8767
8767
|
));
|
|
8768
8768
|
return (p, m) => (_(), j(ir, null, {
|
|
@@ -8804,7 +8804,7 @@ const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga
|
|
|
8804
8804
|
onClick: se((w) => c(f.code), ["stop"])
|
|
8805
8805
|
}, {
|
|
8806
8806
|
default: k(() => [
|
|
8807
|
-
M(
|
|
8807
|
+
M(po, null, {
|
|
8808
8808
|
default: k(() => [
|
|
8809
8809
|
M(Ia, {
|
|
8810
8810
|
class: "mr-1",
|
|
@@ -8835,7 +8835,7 @@ const jl = /* @__PURE__ */ ft(El, [["render", Vl]]), Bl = { class: "flag" }, Ga
|
|
|
8835
8835
|
}));
|
|
8836
8836
|
}
|
|
8837
8837
|
});
|
|
8838
|
-
const
|
|
8838
|
+
const Nd = /* @__PURE__ */ ft(Rl, [["__scopeId", "data-v-15db4aa2"]]), Yl = ["onClick"], Hl = /* @__PURE__ */ B({
|
|
8839
8839
|
__name: "ASystemBarNewVersion",
|
|
8840
8840
|
setup(e) {
|
|
8841
8841
|
const { t: n } = X(), t = () => {
|
|
@@ -8873,12 +8873,12 @@ const Ed = /* @__PURE__ */ ft(Rl, [["__scopeId", "data-v-15db4aa2"]]), Yl = ["on
|
|
|
8873
8873
|
}).catch((s) => {
|
|
8874
8874
|
console.error(s);
|
|
8875
8875
|
});
|
|
8876
|
-
}, o = A(() => Hl), { pause: l } =
|
|
8876
|
+
}, o = A(() => Hl), { pause: l } = so(() => {
|
|
8877
8877
|
a();
|
|
8878
8878
|
}, n.checkInterval);
|
|
8879
|
-
return
|
|
8879
|
+
return Hr(() => {
|
|
8880
8880
|
l();
|
|
8881
|
-
}), (s, c) => t.value ? (_(), j(
|
|
8881
|
+
}), (s, c) => t.value ? (_(), j(go, {
|
|
8882
8882
|
key: 0,
|
|
8883
8883
|
height: "24",
|
|
8884
8884
|
color: "orange accent-3",
|
|
@@ -8893,8 +8893,8 @@ const Ed = /* @__PURE__ */ ft(Rl, [["__scopeId", "data-v-15db4aa2"]]), Yl = ["on
|
|
|
8893
8893
|
_: 1
|
|
8894
8894
|
})) : re("", !0);
|
|
8895
8895
|
}
|
|
8896
|
-
}),
|
|
8897
|
-
function
|
|
8896
|
+
}), Ld = (e) => e ? 1 : 0;
|
|
8897
|
+
function Vd(e = "", n = "user") {
|
|
8898
8898
|
let t = e, a = n;
|
|
8899
8899
|
return {
|
|
8900
8900
|
createAnzuUser: (l, s) => (nt(l) && (t = l), nt(s) && (a = s), {
|
|
@@ -8923,7 +8923,7 @@ function Ld(e = "", n = "user") {
|
|
|
8923
8923
|
})
|
|
8924
8924
|
};
|
|
8925
8925
|
}
|
|
8926
|
-
function
|
|
8926
|
+
function jd() {
|
|
8927
8927
|
return {
|
|
8928
8928
|
createPermissionConfig: () => ({
|
|
8929
8929
|
config: {},
|
|
@@ -8937,7 +8937,7 @@ function Vd() {
|
|
|
8937
8937
|
})
|
|
8938
8938
|
};
|
|
8939
8939
|
}
|
|
8940
|
-
function
|
|
8940
|
+
function Bd() {
|
|
8941
8941
|
return {
|
|
8942
8942
|
createPermissionGroup: () => ({
|
|
8943
8943
|
id: 0,
|
|
@@ -8953,12 +8953,12 @@ function jd() {
|
|
|
8953
8953
|
})
|
|
8954
8954
|
};
|
|
8955
8955
|
}
|
|
8956
|
-
const
|
|
8956
|
+
const Rd = (e, n = 2) => {
|
|
8957
8957
|
if (e === 0)
|
|
8958
8958
|
return "0 Bytes";
|
|
8959
8959
|
const t = 1024, a = n < 0 ? 0 : n, o = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], l = Math.floor(Math.log(e) / Math.log(t));
|
|
8960
8960
|
return parseFloat((e / Math.pow(t, l)).toFixed(a)) + " " + o[l];
|
|
8961
|
-
}, Ul = 200, Wl = 201, ql = 204,
|
|
8961
|
+
}, Ul = 200, Wl = 201, ql = 204, Yd = 400, Hd = 401, Gl = 422, Kl = [Ul, Wl, ql], pt = (e) => Kl.includes(e);
|
|
8962
8962
|
class ht extends Error {
|
|
8963
8963
|
constructor() {
|
|
8964
8964
|
super();
|
|
@@ -8973,7 +8973,7 @@ class ot extends Error {
|
|
|
8973
8973
|
this.name = this.constructor.name, this.date = new Date();
|
|
8974
8974
|
}
|
|
8975
8975
|
}
|
|
8976
|
-
class
|
|
8976
|
+
class Jd extends Error {
|
|
8977
8977
|
constructor(t = "") {
|
|
8978
8978
|
super();
|
|
8979
8979
|
hn(this, "date");
|
|
@@ -8997,10 +8997,10 @@ function gt() {
|
|
|
8997
8997
|
});
|
|
8998
8998
|
Ql(c);
|
|
8999
8999
|
},
|
|
9000
|
-
isValidationError: (a) => !!(
|
|
9000
|
+
isValidationError: (a) => !!(vo.isAxiosError(a) && a.response && a.response.status === Gl && a.response.data && a.response.data.error === Zl)
|
|
9001
9001
|
};
|
|
9002
9002
|
}
|
|
9003
|
-
const vt = (e, n, t = "") => sr(n) ? e :
|
|
9003
|
+
const vt = (e, n, t = "") => sr(n) ? e : So(t === "" ? e : t, n), { isValidationError: es, handleValidationError: ts } = gt(), Ud = (e, n, t = "", a = {}, o = null, l, s, c = {}) => new Promise((d, y) => {
|
|
9004
9004
|
const p = { method: n };
|
|
9005
9005
|
t !== "" && (p.url = vt(t, a)), _e(o) || (p.data = JSON.stringify(o)), e().request({ ...c, ...p }).then((m) => {
|
|
9006
9006
|
if (!pt(m.status))
|
|
@@ -9026,18 +9026,18 @@ const vt = (e, n, t = "") => sr(n) ? e : Ao(t === "" ? e : t, n), { isValidation
|
|
|
9026
9026
|
os(d) && (is(d, a, o), c(new ot())), c(d);
|
|
9027
9027
|
});
|
|
9028
9028
|
});
|
|
9029
|
-
function
|
|
9029
|
+
function Or() {
|
|
9030
9030
|
const e = te([]), n = (p) => {
|
|
9031
9031
|
c("limit", p);
|
|
9032
9032
|
}, t = (p, m) => {
|
|
9033
9033
|
c("offset", p * m - m);
|
|
9034
9034
|
}, a = (p, m) => {
|
|
9035
9035
|
_e(p) || c("order[" + p + "]", m ? "desc" : "asc");
|
|
9036
|
-
}, o = (p) =>
|
|
9036
|
+
}, o = (p) => Fa(p) ? p ? "1" : "0" : p, l = (p, m, f) => {
|
|
9037
9037
|
nt(f) && f.length === 0 || e.value.push("filter_" + p + "[" + m + "]=" + o(f));
|
|
9038
9038
|
}, s = (p) => {
|
|
9039
9039
|
const m = p.model;
|
|
9040
|
-
return _e(m) ? p.mandatory ? (p.model = p.default, p.default) : null : nt(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(m) : Xe(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : m.map((f) => nt(f) ? encodeURIComponent(f) : f).join(",") : na(m) ||
|
|
9040
|
+
return _e(m) ? p.mandatory ? (p.model = p.default, p.default) : null : nt(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : encodeURIComponent(m) : Xe(m) ? m.length === 0 ? p.mandatory ? (p.model = p.default, p.default) : null : m.map((f) => nt(f) ? encodeURIComponent(f) : f).join(",") : na(m) || Fa(m) ? m : null;
|
|
9041
9041
|
}, c = (p, m) => {
|
|
9042
9042
|
e.value.push(p + "=" + m);
|
|
9043
9043
|
};
|
|
@@ -9067,9 +9067,9 @@ function xr() {
|
|
|
9067
9067
|
};
|
|
9068
9068
|
}
|
|
9069
9069
|
const { isValidationError: ss, handleValidationError: us } = gt(), ds = (e, n) => {
|
|
9070
|
-
const { querySetLimit: t, querySetOffset: a, querySetOrder: o, queryBuild: l, queryAddFilter: s, queryAdd: c } =
|
|
9070
|
+
const { querySetLimit: t, querySetOffset: a, querySetOrder: o, queryBuild: l, queryAddFilter: s, queryAdd: c } = Or(), d = e.length;
|
|
9071
9071
|
return t(d), a(1, d), o("id", !1), n ? c("id", e.join(",")) : s("in", "id", e.join(",")), l();
|
|
9072
|
-
},
|
|
9072
|
+
}, Wd = (e, n, t, a = {}, o, l, s = {}, c = !1) => new Promise((d, y) => {
|
|
9073
9073
|
e().get(vt(t, a) + ds(n, c), s).then((p) => {
|
|
9074
9074
|
if (!pt(p.status))
|
|
9075
9075
|
throw new ht();
|
|
@@ -9078,7 +9078,7 @@ const { isValidationError: ss, handleValidationError: us } = gt(), ds = (e, n) =
|
|
|
9078
9078
|
ss(p) && (us(p, o, l), y(new ot())), y(p);
|
|
9079
9079
|
});
|
|
9080
9080
|
}), { isValidationError: cs, handleValidationError: ms } = gt(), fs = (e, n) => {
|
|
9081
|
-
const { querySetLimit: t, querySetOffset: a, querySetOrder: o, queryBuild: l, querySetFilters: s } =
|
|
9081
|
+
const { querySetLimit: t, querySetOffset: a, querySetOrder: o, queryBuild: l, querySetFilters: s } = Or();
|
|
9082
9082
|
return t(e.rowsPerPage), a(e.page, e.rowsPerPage), o(e.sortBy, e.descending), s(n), l();
|
|
9083
9083
|
}, ps = (e, n, t = {}, a, o, l, s, c = {}) => new Promise((d, y) => {
|
|
9084
9084
|
const p = x(o._elastic) ? "" : "/search";
|
|
@@ -9100,7 +9100,7 @@ const { isValidationError: ss, handleValidationError: us } = gt(), ds = (e, n) =
|
|
|
9100
9100
|
}).catch((d) => {
|
|
9101
9101
|
hs(d) && (gs(d, a, o), c(new ot())), c(d);
|
|
9102
9102
|
});
|
|
9103
|
-
}), { isValidationError: ys, handleValidationError: bs } = gt(),
|
|
9103
|
+
}), { isValidationError: ys, handleValidationError: bs } = gt(), qd = (e, n = {}, t, a = {}, o, l, s = {}) => new Promise((c, d) => {
|
|
9104
9104
|
e().put(vt(t, a), JSON.stringify(n), s).then((y) => {
|
|
9105
9105
|
if (!pt(y.status))
|
|
9106
9106
|
throw new ht();
|
|
@@ -9109,18 +9109,18 @@ const { isValidationError: ss, handleValidationError: us } = gt(), ds = (e, n) =
|
|
|
9109
9109
|
ys(y) && (bs(y, o, l), d(new ot())), d(y);
|
|
9110
9110
|
});
|
|
9111
9111
|
}), bn = "/adm/v1/job", wn = "job";
|
|
9112
|
-
function
|
|
9112
|
+
function Gd(e, n) {
|
|
9113
9113
|
return {
|
|
9114
9114
|
fetchJobList: (s, c) => ps(e, bn, {}, s, c, n, wn),
|
|
9115
9115
|
fetchJob: (s) => vs(e, bn + "/:id", { id: s }, n, wn),
|
|
9116
9116
|
createJob: (s) => {
|
|
9117
|
-
const c =
|
|
9117
|
+
const c = Ao(s._resourceName).slice(4);
|
|
9118
9118
|
return rs(e, s, bn + "/:type", { type: c }, n, wn);
|
|
9119
9119
|
},
|
|
9120
9120
|
deleteJob: (s) => ls(e, bn + "/:id", { id: s }, n, wn)
|
|
9121
9121
|
};
|
|
9122
9122
|
}
|
|
9123
|
-
function
|
|
9123
|
+
function Kd(e = []) {
|
|
9124
9124
|
const { t: n } = X(), t = te([
|
|
9125
9125
|
{
|
|
9126
9126
|
value: "jobUserDataDelete",
|
|
@@ -9133,38 +9133,38 @@ function Gd(e = []) {
|
|
|
9133
9133
|
getJobResourceOption: (o) => t.value.find((l) => l.value === o)
|
|
9134
9134
|
};
|
|
9135
9135
|
}
|
|
9136
|
-
const
|
|
9136
|
+
const Zd = (e, n) => {
|
|
9137
9137
|
const t = e.indexOf(n);
|
|
9138
9138
|
if (t === -1) {
|
|
9139
9139
|
e.push(n);
|
|
9140
9140
|
return;
|
|
9141
9141
|
}
|
|
9142
9142
|
e.splice(t, 1);
|
|
9143
|
-
},
|
|
9143
|
+
}, Qd = (e, n = ", ") => e.join(n), Xd = (...e) => Array.from(...e), ws = (e, n = []) => e.reduce((t, a) => Array.isArray(a) ? ws(a, n) : (n.push(a), n), []), _s = (e) => {
|
|
9144
9144
|
history.replaceState(history.state, "", e);
|
|
9145
|
-
},
|
|
9145
|
+
}, ec = (e, n) => {
|
|
9146
9146
|
const t = e.resolve(n);
|
|
9147
9147
|
_s(t.href);
|
|
9148
9148
|
}, { t: zs } = Q.global;
|
|
9149
|
-
function
|
|
9150
|
-
return Me({ t: zs })(
|
|
9149
|
+
function tc() {
|
|
9150
|
+
return Me({ t: zs })(Xr, {
|
|
9151
9151
|
messagePath: () => "validations.js.required"
|
|
9152
9152
|
});
|
|
9153
9153
|
}
|
|
9154
9154
|
const { t: ks } = Q.global;
|
|
9155
|
-
function
|
|
9155
|
+
function nc() {
|
|
9156
9156
|
return Me({ t: ks })(Yt.regex(/^[a-z\-0-9/]+$/), {
|
|
9157
9157
|
messagePath: () => "validations.js.slug"
|
|
9158
9158
|
});
|
|
9159
9159
|
}
|
|
9160
9160
|
const { t: Ds } = Q.global;
|
|
9161
|
-
function
|
|
9162
|
-
return Me({ t: Ds })(
|
|
9161
|
+
function ac() {
|
|
9162
|
+
return Me({ t: Ds })(eo, {
|
|
9163
9163
|
messagePath: () => "validations.js.url"
|
|
9164
9164
|
});
|
|
9165
9165
|
}
|
|
9166
9166
|
const { t: Cs } = Q.global;
|
|
9167
|
-
function
|
|
9167
|
+
function rc() {
|
|
9168
9168
|
const e = Me({ t: Cs }), n = (a, o) => (l) => !Yt.req(l) || l.every((s) => s.length >= h(a) && s.length <= h(o));
|
|
9169
9169
|
return e((a, o) => ({
|
|
9170
9170
|
$validator: n(a, o),
|
|
@@ -9184,26 +9184,26 @@ function ac() {
|
|
|
9184
9184
|
});
|
|
9185
9185
|
}
|
|
9186
9186
|
const { t: Ms } = Q.global;
|
|
9187
|
-
function
|
|
9188
|
-
return Me({ t: Ms })(
|
|
9187
|
+
function oc() {
|
|
9188
|
+
return Me({ t: Ms })(to, {
|
|
9189
9189
|
withArguments: !0,
|
|
9190
9190
|
messagePath: () => "validations.js.between"
|
|
9191
9191
|
});
|
|
9192
9192
|
}
|
|
9193
9193
|
const { t: As } = Q.global;
|
|
9194
|
-
function
|
|
9195
|
-
return Me({ t: As })(
|
|
9194
|
+
function ic() {
|
|
9195
|
+
return Me({ t: As })(no, {
|
|
9196
9196
|
messagePath: () => "validations.js.email"
|
|
9197
9197
|
});
|
|
9198
9198
|
}
|
|
9199
9199
|
const { t: Ss } = Q.global;
|
|
9200
|
-
function
|
|
9200
|
+
function lc() {
|
|
9201
9201
|
return Me({ t: Ss })(Yt.regex(/^(\+|-)?(?:90(?:(?:\.0{1,6})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,6})?))$/), {
|
|
9202
9202
|
messagePath: () => "validations.js.latitude"
|
|
9203
9203
|
});
|
|
9204
9204
|
}
|
|
9205
9205
|
const { t: Ts } = Q.global;
|
|
9206
|
-
function
|
|
9206
|
+
function sc() {
|
|
9207
9207
|
return Me({ t: Ts })(
|
|
9208
9208
|
(n, t, a) => a.required ? !(parseFloat(n) === 0 && parseFloat(t.longitudeText.value) === 0) : !0,
|
|
9209
9209
|
{
|
|
@@ -9212,7 +9212,7 @@ function lc() {
|
|
|
9212
9212
|
);
|
|
9213
9213
|
}
|
|
9214
9214
|
const { t: xs } = Q.global;
|
|
9215
|
-
function
|
|
9215
|
+
function uc() {
|
|
9216
9216
|
return Me({ t: xs })(
|
|
9217
9217
|
Yt.regex(/^(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))$/),
|
|
9218
9218
|
{
|
|
@@ -9221,48 +9221,48 @@ function sc() {
|
|
|
9221
9221
|
);
|
|
9222
9222
|
}
|
|
9223
9223
|
const { t: Os } = Q.global;
|
|
9224
|
-
function
|
|
9225
|
-
return Me({ t: Os })(
|
|
9224
|
+
function dc() {
|
|
9225
|
+
return Me({ t: Os })(ao, {
|
|
9226
9226
|
withArguments: !0,
|
|
9227
9227
|
messagePath: () => "validations.js.maxLength"
|
|
9228
9228
|
});
|
|
9229
9229
|
}
|
|
9230
9230
|
const { t: $s } = Q.global;
|
|
9231
|
-
function
|
|
9232
|
-
return Me({ t: $s })(
|
|
9231
|
+
function cc() {
|
|
9232
|
+
return Me({ t: $s })(ro, {
|
|
9233
9233
|
withArguments: !0,
|
|
9234
9234
|
messagePath: () => "validations.js.maxValue"
|
|
9235
9235
|
});
|
|
9236
9236
|
}
|
|
9237
9237
|
const { t: Ps } = Q.global;
|
|
9238
|
-
function
|
|
9239
|
-
return Me({ t: Ps })(
|
|
9238
|
+
function mc() {
|
|
9239
|
+
return Me({ t: Ps })(oo, {
|
|
9240
9240
|
withArguments: !0,
|
|
9241
9241
|
messagePath: () => "validations.js.minLength"
|
|
9242
9242
|
});
|
|
9243
9243
|
}
|
|
9244
9244
|
const { t: Is } = Q.global;
|
|
9245
|
-
function
|
|
9246
|
-
return Me({ t: Is })(
|
|
9245
|
+
function fc() {
|
|
9246
|
+
return Me({ t: Is })(io, {
|
|
9247
9247
|
withArguments: !0,
|
|
9248
9248
|
messagePath: () => "validations.js.minValue"
|
|
9249
9249
|
});
|
|
9250
9250
|
}
|
|
9251
9251
|
const { t: Es } = Q.global;
|
|
9252
|
-
function
|
|
9253
|
-
return Me({ t: Es })(
|
|
9252
|
+
function pc() {
|
|
9253
|
+
return Me({ t: Es })(lo, {
|
|
9254
9254
|
messagePath: () => "validations.js.numeric"
|
|
9255
9255
|
});
|
|
9256
9256
|
}
|
|
9257
|
-
const { t:
|
|
9258
|
-
function
|
|
9259
|
-
return Me({ t:
|
|
9257
|
+
const { t: Ns } = Q.global;
|
|
9258
|
+
function hc() {
|
|
9259
|
+
return Me({ t: Ns })(Yt.regex(/^\+4219[0-9]{8}$/), {
|
|
9260
9260
|
messagePath: () => "validations.js.phoneNumber"
|
|
9261
9261
|
});
|
|
9262
9262
|
}
|
|
9263
|
-
const { t:
|
|
9264
|
-
function
|
|
9265
|
-
return Me({ t:
|
|
9263
|
+
const { t: Fs } = Q.global;
|
|
9264
|
+
function gc() {
|
|
9265
|
+
return Me({ t: Fs })(
|
|
9266
9266
|
(n, t, a) => a.required ? !(parseFloat(n) === 0 && parseFloat(t.latitudeText.value) === 0) : !0,
|
|
9267
9267
|
{
|
|
9268
9268
|
messagePath: () => "validations.js.required"
|
|
@@ -10123,7 +10123,7 @@ const Ls = {
|
|
|
10123
10123
|
const { normalize: n, interpolate: t, named: a } = e;
|
|
10124
10124
|
return n(["Item length in list must have between ", t(a("min")), " and ", t(a("max")), " characters."]);
|
|
10125
10125
|
}
|
|
10126
|
-
},
|
|
10126
|
+
}, vc = {
|
|
10127
10127
|
common: {
|
|
10128
10128
|
alert: Vs,
|
|
10129
10129
|
button: js,
|
|
@@ -10998,7 +10998,7 @@ const Ls = {
|
|
|
10998
10998
|
}
|
|
10999
10999
|
}
|
|
11000
11000
|
}
|
|
11001
|
-
},
|
|
11001
|
+
}, yc = {
|
|
11002
11002
|
common: {
|
|
11003
11003
|
alert: Ks,
|
|
11004
11004
|
button: Zs,
|
|
@@ -11020,108 +11020,113 @@ const Ls = {
|
|
|
11020
11020
|
}
|
|
11021
11021
|
}
|
|
11022
11022
|
};
|
|
11023
|
+
const su = {
|
|
11024
|
+
CHIP_LINK: "mdi-arrow-top-right",
|
|
11025
|
+
CHIP_LINK_EXTERNAL: "mdi-open-in-new"
|
|
11026
|
+
}, bc = dr(su);
|
|
11023
11027
|
export {
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11028
|
+
Md as AActionCloseButton,
|
|
11029
|
+
Ad as AActionCreateButton,
|
|
11030
|
+
Sd as AActionDeleteButton,
|
|
11031
|
+
Td as AActionEditButton,
|
|
11032
|
+
xd as AActionSaveAndCloseButton,
|
|
11033
|
+
Od as AActionSaveButton,
|
|
11034
|
+
Lu as AAlerts,
|
|
11035
|
+
bo as ABooleanValue,
|
|
11036
|
+
Vu as ACard,
|
|
11037
|
+
kd as ACopyText,
|
|
11038
|
+
rd as ADatatable,
|
|
11039
|
+
od as ADatatablePagination,
|
|
11036
11040
|
Ra as ADatetime,
|
|
11037
11041
|
oi as AFilterAdvancedButton,
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
+
wd as AFilterBooleanGroup,
|
|
11043
|
+
pd as AFilterDatetimePicker,
|
|
11044
|
+
sd as AFilterInteger,
|
|
11045
|
+
bd as AFilterRemoteAutocomplete,
|
|
11042
11046
|
ri as AFilterResetButton,
|
|
11043
|
-
|
|
11047
|
+
ld as AFilterString,
|
|
11044
11048
|
ai as AFilterSubmitButton,
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11049
|
+
yd as AFilterValueObjectOptionsSelect,
|
|
11050
|
+
ud as AFilterWrapper,
|
|
11051
|
+
Wu as AFormBooleanToggle,
|
|
11052
|
+
fd as AFormDatetimePicker,
|
|
11053
|
+
gd as AFormRemoteAutocomplete,
|
|
11054
|
+
Ju as AFormTextField,
|
|
11055
|
+
Uu as AFormTextarea,
|
|
11056
|
+
vd as AFormValueObjectOptionsSelect,
|
|
11057
|
+
Sr as AIconGroup,
|
|
11058
|
+
_d as AJobStatusChip,
|
|
11059
|
+
Nd as ALanguageSelect,
|
|
11060
|
+
zd as ALogLevelChip,
|
|
11061
|
+
Dd as APageTitle,
|
|
11062
|
+
dd as APermissionGrantEditor,
|
|
11063
|
+
cd as APermissionValueChip,
|
|
11060
11064
|
Ea as ARow,
|
|
11061
11065
|
Fd as ASystemBar,
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11066
|
+
qu as ASystemEntityScope,
|
|
11067
|
+
$d as ATableCopyIdButton,
|
|
11068
|
+
Pd as ATableDetailButton,
|
|
11069
|
+
Id as ATableEditButton,
|
|
11070
|
+
Ed as AThemeSelect,
|
|
11071
|
+
Cd as AUserAndTimeTrackingFields,
|
|
11068
11072
|
Pi as Acl,
|
|
11069
11073
|
ht as AnzuApiResponseCodeError,
|
|
11070
11074
|
ot as AnzuApiValidationError,
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11075
|
+
Jd as AnzuFatalError,
|
|
11076
|
+
md as AnzuSystemsCommonAdmin,
|
|
11077
|
+
br as AvailableLanguagesSymbol,
|
|
11078
|
+
pr as DATETIME_MAX,
|
|
11079
|
+
fr as DATETIME_MIN,
|
|
11080
|
+
wr as DefaultLanguageSymbol,
|
|
11077
11081
|
zn as Grant,
|
|
11078
|
-
|
|
11079
|
-
|
|
11082
|
+
gr as GrantOrigin,
|
|
11083
|
+
Yd as HTTP_STATUS_BAD_REQUEST,
|
|
11080
11084
|
Wl as HTTP_STATUS_CREATED,
|
|
11081
11085
|
ql as HTTP_STATUS_NO_CONTENT,
|
|
11082
11086
|
Ul as HTTP_STATUS_OK,
|
|
11083
|
-
|
|
11087
|
+
Hd as HTTP_STATUS_UNAUTHORIZED,
|
|
11084
11088
|
Gl as HTTP_STATUS_UNPROCESSABLE_ENTITY,
|
|
11089
|
+
bc as ICON,
|
|
11085
11090
|
nl as JobStatus,
|
|
11086
11091
|
rl as LogLevel,
|
|
11087
11092
|
qa as NEW_LINE_MARK,
|
|
11088
|
-
|
|
11093
|
+
_r as ROLE_SUPER_ADMIN,
|
|
11089
11094
|
rt as SubjectScopeSymbol,
|
|
11090
11095
|
at as SystemScopeSymbol,
|
|
11091
|
-
|
|
11096
|
+
Ud as apiAnyRequest,
|
|
11092
11097
|
rs as apiCreateOne,
|
|
11093
11098
|
ls as apiDeleteOne,
|
|
11094
|
-
|
|
11099
|
+
Wd as apiFetchByIds,
|
|
11095
11100
|
ps as apiFetchList,
|
|
11096
11101
|
vs as apiFetchOne,
|
|
11097
|
-
|
|
11102
|
+
qd as apiUpdateOne,
|
|
11098
11103
|
ws as arrayFlatten,
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
+
Xd as arrayFromArgs,
|
|
11105
|
+
Zd as arrayItemToggle,
|
|
11106
|
+
Qd as arrayToString,
|
|
11107
|
+
Ld as booleanToInteger,
|
|
11108
|
+
ec as browserHistoryReplaceUrlByRouter,
|
|
11104
11109
|
_s as browserHistoryReplaceUrlByString,
|
|
11105
11110
|
jt as cloneDeep,
|
|
11106
|
-
|
|
11111
|
+
nd as dateModifyMinutes,
|
|
11107
11112
|
Vo as dateNow,
|
|
11108
|
-
|
|
11113
|
+
td as dateTimeEndOfDay,
|
|
11109
11114
|
Ro as dateTimeFriendly,
|
|
11110
11115
|
Cn as dateTimeNow,
|
|
11111
11116
|
Bo as dateTimePretty,
|
|
11112
|
-
|
|
11117
|
+
ed as dateTimeStartOfDay,
|
|
11113
11118
|
jo as dateToUtc,
|
|
11114
11119
|
et as eventClickBlur,
|
|
11115
11120
|
Q as i18n,
|
|
11116
11121
|
Xe as isArray,
|
|
11117
|
-
|
|
11122
|
+
Fa as isBoolean,
|
|
11118
11123
|
ui as isCreatedByAware,
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11124
|
+
Na as isDefined,
|
|
11125
|
+
ju as isDocId,
|
|
11126
|
+
Co as isEmpty,
|
|
11122
11127
|
ur as isEmptyArray,
|
|
11123
11128
|
sr as isEmptyObject,
|
|
11124
|
-
|
|
11129
|
+
Bu as isInt,
|
|
11125
11130
|
_e as isNull,
|
|
11126
11131
|
na as isNumber,
|
|
11127
11132
|
lr as isObject,
|
|
@@ -11129,63 +11134,63 @@ export {
|
|
|
11129
11134
|
nt as isString,
|
|
11130
11135
|
x as isUndefined,
|
|
11131
11136
|
pt as isValidHTTPStatus,
|
|
11132
|
-
|
|
11133
|
-
|
|
11134
|
-
|
|
11137
|
+
id as makeFilterHelper,
|
|
11138
|
+
vc as messagesEn,
|
|
11139
|
+
yc as messagesSk,
|
|
11135
11140
|
_l as modifyLanguageSettings,
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11141
|
+
Ar as numberToString,
|
|
11142
|
+
dr as objectDeepFreeze,
|
|
11143
|
+
Zu as objectDeletePropertyByPath,
|
|
11144
|
+
cr as objectGetValueByPath,
|
|
11145
|
+
Gu as objectGetValues,
|
|
11146
|
+
Ku as objectSetValueByPath,
|
|
11147
|
+
Rd as prettyBytes,
|
|
11143
11148
|
qn as stringNormalizeForSlotName,
|
|
11144
11149
|
Ct as stringSplitOnFirstOccurrence,
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
|
|
11150
|
+
Ru as stringToFloat,
|
|
11151
|
+
Mo as stringToInt,
|
|
11152
|
+
Ao as stringToKebabCase,
|
|
11153
|
+
Yu as stringToSlug,
|
|
11154
|
+
Hu as stringTrimLength,
|
|
11155
|
+
So as stringUrlTemplateReplace,
|
|
11156
|
+
Xu as timestampCurrent,
|
|
11152
11157
|
$i as useAcl,
|
|
11153
11158
|
ia as useAlerts,
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11159
|
+
Vd as useAnzuUserFactory,
|
|
11160
|
+
Or as useApiQueryBuilder,
|
|
11161
|
+
Qu as useDatatableColumns,
|
|
11157
11162
|
gt as useErrorHandler,
|
|
11158
11163
|
ra as useFilterHelpers,
|
|
11159
|
-
|
|
11164
|
+
hr as useGrant,
|
|
11160
11165
|
ii as useGrantOrigin,
|
|
11161
|
-
|
|
11162
|
-
|
|
11163
|
-
|
|
11166
|
+
zc as useI18n,
|
|
11167
|
+
Gd as useJobApi,
|
|
11168
|
+
Kd as useJobResource,
|
|
11164
11169
|
al as useJobStatus,
|
|
11165
11170
|
zl as useLanguageSettings,
|
|
11166
11171
|
ol as useLogLevel,
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11172
|
+
Mr as usePagination,
|
|
11173
|
+
hd as usePaginationAutoHide,
|
|
11174
|
+
jd as usePermissionConfigFactory,
|
|
11175
|
+
Bd as usePermissionGroupFactory,
|
|
11171
11176
|
vl as useTheme,
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11177
|
+
oc as useValidateBetween,
|
|
11178
|
+
ic as useValidateEmail,
|
|
11179
|
+
lc as useValidateLatitude,
|
|
11180
|
+
sc as useValidateLatitudeNotZeroAsLongitude,
|
|
11181
|
+
uc as useValidateLongitude,
|
|
11182
|
+
gc as useValidateLongitudeNotZeroAsLatitude,
|
|
11183
|
+
dc as useValidateMaxLength,
|
|
11184
|
+
cc as useValidateMaxValue,
|
|
11185
|
+
mc as useValidateMinLength,
|
|
11186
|
+
fc as useValidateMinValue,
|
|
11187
|
+
pc as useValidateNumeric,
|
|
11188
|
+
hc as useValidatePhoneNumber,
|
|
11189
|
+
tc as useValidateRequired,
|
|
11185
11190
|
qi as useValidateRequiredIf,
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11191
|
+
nc as useValidateSlug,
|
|
11192
|
+
rc as useValidateStringArrayItemLength,
|
|
11193
|
+
ac as useValidateUrl,
|
|
11194
|
+
ad as yearNow
|
|
11190
11195
|
};
|
|
11191
11196
|
//# sourceMappingURL=common-admin.es.js.map
|