bt-core-app 1.4.3 → 1.4.5
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/bt-core-app.js +375 -362
- package/dist/index.d.ts +1273 -41
- package/package.json +5 -5
- package/dist/composables/actions-tracker.d.ts +0 -19
- package/dist/composables/actions.d.ts +0 -79
- package/dist/composables/api.d.ts +0 -86
- package/dist/composables/auth.d.ts +0 -70
- package/dist/composables/cosmetics.d.ts +0 -38
- package/dist/composables/csv.d.ts +0 -20
- package/dist/composables/dates.d.ts +0 -15
- package/dist/composables/demo.d.ts +0 -9
- package/dist/composables/dialogs.d.ts +0 -75
- package/dist/composables/document-meta.d.ts +0 -11
- package/dist/composables/draggable.d.ts +0 -56
- package/dist/composables/filters.d.ts +0 -11
- package/dist/composables/forage.d.ts +0 -7
- package/dist/composables/helpers.d.ts +0 -100
- package/dist/composables/id.d.ts +0 -1
- package/dist/composables/list.d.ts +0 -211
- package/dist/composables/navigation.d.ts +0 -89
- package/dist/composables/presets.d.ts +0 -8
- package/dist/composables/pwa.d.ts +0 -14
- package/dist/composables/resizable.d.ts +0 -35
- package/dist/composables/rules.d.ts +0 -7
- package/dist/composables/stores.d.ts +0 -111
- package/dist/composables/track.d.ts +0 -12
- package/dist/composables/urls.d.ts +0 -22
- package/dist/core.d.ts +0 -19
- package/dist/types.d.ts +0 -13
package/dist/bt-core-app.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { onMounted as
|
|
1
|
+
import { onMounted as Zr, nextTick as ur, computed as le, watch as Ae, unref as Nn, getCurrentInstance as ir, getCurrentScope as Tt, onScopeDispose as Ct, ref as Y, readonly as Tn, customRef as Cn, shallowRef as Ne, onUpdated as Pn, toValue as K, inject as fr, hasInjectionContext as Ln, reactive as Mn, markRaw as je, effectScope as Rn, isRef as ze, isReactive as Yr, toRef as ar, toRaw as Un, toRefs as ft } from "vue";
|
|
2
2
|
import { DateTime as fe } from "luxon";
|
|
3
|
-
|
|
4
|
-
function $n(e, t) {
|
|
3
|
+
function Bn(e, t) {
|
|
5
4
|
let a, l, s;
|
|
6
5
|
const o = Y(!0), A = () => {
|
|
7
6
|
o.value = !0, s();
|
|
@@ -17,17 +16,17 @@ function $n(e, t) {
|
|
|
17
16
|
}));
|
|
18
17
|
return Object.isExtensible(L) && (L.trigger = A), L;
|
|
19
18
|
}
|
|
20
|
-
function
|
|
19
|
+
function $n(e) {
|
|
21
20
|
return Tt() ? (Ct(e), !0) : !1;
|
|
22
21
|
}
|
|
23
22
|
function ae(e) {
|
|
24
23
|
return typeof e == "function" ? e() : Nn(e);
|
|
25
24
|
}
|
|
26
|
-
const
|
|
25
|
+
const Fn = typeof window < "u" && typeof document < "u";
|
|
27
26
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
28
|
-
const
|
|
27
|
+
const kn = Object.prototype.toString, Vn = (e) => kn.call(e) === "[object Object]", Pr = () => {
|
|
29
28
|
};
|
|
30
|
-
function
|
|
29
|
+
function Wn(e, t) {
|
|
31
30
|
function a(...l) {
|
|
32
31
|
return new Promise((s, o) => {
|
|
33
32
|
Promise.resolve(e(() => t.apply(this, l), { fn: t, thisArg: this, args: l })).then(s).catch(o);
|
|
@@ -36,10 +35,10 @@ function jn(e, t) {
|
|
|
36
35
|
return a;
|
|
37
36
|
}
|
|
38
37
|
const Pt = (e) => e();
|
|
39
|
-
function
|
|
40
|
-
let a, l, s =
|
|
38
|
+
function jn(e, t = {}) {
|
|
39
|
+
let a, l, s = Pr;
|
|
41
40
|
const o = (S) => {
|
|
42
|
-
clearTimeout(S), s(), s =
|
|
41
|
+
clearTimeout(S), s(), s = Pr;
|
|
43
42
|
};
|
|
44
43
|
return (S) => {
|
|
45
44
|
const N = ae(e), L = ae(t.maxWait);
|
|
@@ -52,7 +51,7 @@ function Gn(e, t = {}) {
|
|
|
52
51
|
});
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
|
-
function
|
|
54
|
+
function Gn(e = Pt) {
|
|
56
55
|
const t = Y(!0);
|
|
57
56
|
function a() {
|
|
58
57
|
t.value = !1;
|
|
@@ -65,8 +64,8 @@ function qn(e = Pt) {
|
|
|
65
64
|
};
|
|
66
65
|
return { isActive: Tn(t), pause: a, resume: l, eventFilter: s };
|
|
67
66
|
}
|
|
68
|
-
function
|
|
69
|
-
return e ||
|
|
67
|
+
function qn(e) {
|
|
68
|
+
return e || ir();
|
|
70
69
|
}
|
|
71
70
|
function Lt(e, t, a = {}) {
|
|
72
71
|
const {
|
|
@@ -75,18 +74,18 @@ function Lt(e, t, a = {}) {
|
|
|
75
74
|
} = a;
|
|
76
75
|
return Ae(
|
|
77
76
|
e,
|
|
78
|
-
|
|
77
|
+
Wn(
|
|
79
78
|
l,
|
|
80
79
|
t
|
|
81
80
|
),
|
|
82
81
|
s
|
|
83
82
|
);
|
|
84
83
|
}
|
|
85
|
-
function
|
|
84
|
+
function Hn(e, t, a = {}) {
|
|
86
85
|
const {
|
|
87
86
|
eventFilter: l,
|
|
88
87
|
...s
|
|
89
|
-
} = a, { eventFilter: o, pause: A, resume: S, isActive: N } =
|
|
88
|
+
} = a, { eventFilter: o, pause: A, resume: S, isActive: N } = Gn(l);
|
|
90
89
|
return { stop: Lt(
|
|
91
90
|
e,
|
|
92
91
|
t,
|
|
@@ -97,31 +96,31 @@ function zn(e, t, a = {}) {
|
|
|
97
96
|
), pause: A, resume: S, isActive: N };
|
|
98
97
|
}
|
|
99
98
|
function Jr(e, t = !0, a) {
|
|
100
|
-
|
|
99
|
+
qn() ? Zr(e, a) : t ? e() : ur(e);
|
|
101
100
|
}
|
|
102
|
-
function
|
|
101
|
+
function zn(e, t) {
|
|
103
102
|
return e === t;
|
|
104
103
|
}
|
|
105
104
|
function st(...e) {
|
|
106
105
|
var t;
|
|
107
106
|
const a = e[0], l = e[1];
|
|
108
|
-
let s = (t = e[2]) != null ? t :
|
|
107
|
+
let s = (t = e[2]) != null ? t : zn;
|
|
109
108
|
if (typeof s == "string") {
|
|
110
109
|
const o = s;
|
|
111
110
|
s = (A, S) => A[o] === S[o];
|
|
112
111
|
}
|
|
113
112
|
return le(() => ae(a).filter((o) => ae(l).findIndex((A) => s(o, A)) === -1));
|
|
114
113
|
}
|
|
115
|
-
function
|
|
114
|
+
function Zn(e) {
|
|
116
115
|
return Array.from(new Set(e));
|
|
117
116
|
}
|
|
118
|
-
function
|
|
117
|
+
function Yn(e, t) {
|
|
119
118
|
return e.reduce((a, l) => (a.some((s) => t(l, s, e)) || a.push(l), a), []);
|
|
120
119
|
}
|
|
121
|
-
function
|
|
120
|
+
function Jn(e, t) {
|
|
122
121
|
return le(() => {
|
|
123
122
|
const a = ae(e).map((l) => ae(l));
|
|
124
|
-
return t ?
|
|
123
|
+
return t ? Yn(a, t) : Zn(a);
|
|
125
124
|
});
|
|
126
125
|
}
|
|
127
126
|
function Mt(e, t, a) {
|
|
@@ -141,7 +140,7 @@ function Mt(e, t, a) {
|
|
|
141
140
|
t(s, l, N, L, A), l = [...s];
|
|
142
141
|
}, a);
|
|
143
142
|
}
|
|
144
|
-
function
|
|
143
|
+
function Kn(e, t, a = {}) {
|
|
145
144
|
const {
|
|
146
145
|
debounce: l = 0,
|
|
147
146
|
maxWait: s = void 0,
|
|
@@ -152,7 +151,7 @@ function Qn(e, t, a = {}) {
|
|
|
152
151
|
t,
|
|
153
152
|
{
|
|
154
153
|
...o,
|
|
155
|
-
eventFilter:
|
|
154
|
+
eventFilter: jn(l, { maxWait: s })
|
|
156
155
|
}
|
|
157
156
|
);
|
|
158
157
|
}
|
|
@@ -161,11 +160,11 @@ function Kr(e) {
|
|
|
161
160
|
const a = ae(e);
|
|
162
161
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
163
162
|
}
|
|
164
|
-
const
|
|
163
|
+
const Lr = Fn ? window : void 0;
|
|
165
164
|
function he(...e) {
|
|
166
165
|
let t, a, l, s;
|
|
167
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([a, l, s] = e, t =
|
|
168
|
-
return
|
|
166
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([a, l, s] = e, t = Lr) : [t, a, l, s] = e, !t)
|
|
167
|
+
return Pr;
|
|
169
168
|
Array.isArray(a) || (a = [a]), Array.isArray(l) || (l = [l]);
|
|
170
169
|
const o = [], A = () => {
|
|
171
170
|
o.forEach((R) => R()), o.length = 0;
|
|
@@ -174,7 +173,7 @@ function he(...e) {
|
|
|
174
173
|
([R, b]) => {
|
|
175
174
|
if (A(), !R)
|
|
176
175
|
return;
|
|
177
|
-
const c =
|
|
176
|
+
const c = Vn(b) ? { ...b } : b;
|
|
178
177
|
o.push(
|
|
179
178
|
...a.flatMap((h) => l.map((r) => S(R, h, r, c)))
|
|
180
179
|
);
|
|
@@ -183,19 +182,19 @@ function he(...e) {
|
|
|
183
182
|
), L = () => {
|
|
184
183
|
N(), A();
|
|
185
184
|
};
|
|
186
|
-
return
|
|
185
|
+
return $n(L), L;
|
|
187
186
|
}
|
|
188
|
-
const Qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Xe = "__vueuse_ssr_handlers__",
|
|
189
|
-
function
|
|
187
|
+
const Qe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Xe = "__vueuse_ssr_handlers__", Qn = /* @__PURE__ */ Xn();
|
|
188
|
+
function Xn() {
|
|
190
189
|
return Xe in Qe || (Qe[Xe] = Qe[Xe] || {}), Qe[Xe];
|
|
191
190
|
}
|
|
192
|
-
function
|
|
193
|
-
return
|
|
191
|
+
function On(e, t) {
|
|
192
|
+
return Qn[e] || t;
|
|
194
193
|
}
|
|
195
|
-
function
|
|
194
|
+
function pn(e) {
|
|
196
195
|
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
197
196
|
}
|
|
198
|
-
const
|
|
197
|
+
const ea = {
|
|
199
198
|
boolean: {
|
|
200
199
|
read: (e) => e === "true",
|
|
201
200
|
write: (e) => String(e)
|
|
@@ -229,7 +228,7 @@ const ra = {
|
|
|
229
228
|
write: (e) => e.toISOString()
|
|
230
229
|
}
|
|
231
230
|
}, ot = "vueuse-storage";
|
|
232
|
-
function
|
|
231
|
+
function Mr(e, t, a, l = {}) {
|
|
233
232
|
var s;
|
|
234
233
|
const {
|
|
235
234
|
flush: o = "pre",
|
|
@@ -238,7 +237,7 @@ function Pr(e, t, a, l = {}) {
|
|
|
238
237
|
writeDefaults: N = !0,
|
|
239
238
|
mergeDefaults: L = !1,
|
|
240
239
|
shallow: R,
|
|
241
|
-
window: b =
|
|
240
|
+
window: b = Lr,
|
|
242
241
|
eventFilter: c,
|
|
243
242
|
onError: h = (f) => {
|
|
244
243
|
console.error(f);
|
|
@@ -247,16 +246,16 @@ function Pr(e, t, a, l = {}) {
|
|
|
247
246
|
} = l, x = (R ? Ne : Y)(typeof t == "function" ? t() : t);
|
|
248
247
|
if (!a)
|
|
249
248
|
try {
|
|
250
|
-
a =
|
|
249
|
+
a = On("getDefaultStorage", () => {
|
|
251
250
|
var f;
|
|
252
|
-
return (f =
|
|
251
|
+
return (f = Lr) == null ? void 0 : f.localStorage;
|
|
253
252
|
})();
|
|
254
253
|
} catch (f) {
|
|
255
254
|
h(f);
|
|
256
255
|
}
|
|
257
256
|
if (!a)
|
|
258
257
|
return x;
|
|
259
|
-
const E = ae(t), y =
|
|
258
|
+
const E = ae(t), y = pn(E), I = (s = l.serializer) != null ? s : ea[y], { pause: B, resume: U } = Hn(
|
|
260
259
|
x,
|
|
261
260
|
() => P(x.value),
|
|
262
261
|
{ flush: o, deep: A, eventFilter: c }
|
|
@@ -320,35 +319,35 @@ function Pr(e, t, a, l = {}) {
|
|
|
320
319
|
}
|
|
321
320
|
return x;
|
|
322
321
|
}
|
|
323
|
-
function
|
|
324
|
-
const t =
|
|
322
|
+
function ra(e) {
|
|
323
|
+
const t = ir(), a = Bn(
|
|
325
324
|
() => null,
|
|
326
325
|
() => e ? Kr(e) : t.proxy.$el
|
|
327
326
|
);
|
|
328
|
-
return Pn(a.trigger),
|
|
327
|
+
return Pn(a.trigger), Zr(a.trigger), a;
|
|
329
328
|
}
|
|
330
|
-
function
|
|
329
|
+
function ta(e = ra()) {
|
|
331
330
|
const t = Ne(), a = () => {
|
|
332
331
|
const l = Kr(e);
|
|
333
332
|
l && (t.value = l.parentElement);
|
|
334
333
|
};
|
|
335
334
|
return Jr(a), Ae(() => ae(e), a), t;
|
|
336
335
|
}
|
|
337
|
-
function
|
|
338
|
-
return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g,
|
|
336
|
+
function na(e) {
|
|
337
|
+
return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, aa);
|
|
339
338
|
}
|
|
340
|
-
function
|
|
339
|
+
function aa(e) {
|
|
341
340
|
const t = Math.random() * 16 | 0;
|
|
342
341
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
343
342
|
}
|
|
344
|
-
function
|
|
343
|
+
function ua(e) {
|
|
345
344
|
const t = Y([]), a = Ne(), l = Ne(), s = Ne(), o = le(() => a.value != null);
|
|
346
345
|
function A(b) {
|
|
347
346
|
t.value = t.value.filter((c) => c.id != b);
|
|
348
347
|
}
|
|
349
348
|
function S(b) {
|
|
350
349
|
const c = {
|
|
351
|
-
id:
|
|
350
|
+
id: na(),
|
|
352
351
|
msg: b ?? "Loading"
|
|
353
352
|
};
|
|
354
353
|
return t.value.push(c), c.id;
|
|
@@ -386,8 +385,8 @@ function la(e) {
|
|
|
386
385
|
logError: N
|
|
387
386
|
};
|
|
388
387
|
}
|
|
389
|
-
function
|
|
390
|
-
const { actionErrorMsg: t, actionLoadingMsg: a, clearErrors: l, isLoading: s, doAction: o, logError: A } =
|
|
388
|
+
function la(e) {
|
|
389
|
+
const { actionErrorMsg: t, actionLoadingMsg: a, clearErrors: l, isLoading: s, doAction: o, logError: A } = ua(e);
|
|
391
390
|
function S(r) {
|
|
392
391
|
r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to delete this item?" : void 0), r.store ?? (r.store = e == null ? void 0 : e.store);
|
|
393
392
|
const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
|
|
@@ -494,7 +493,7 @@ function ca(e) {
|
|
|
494
493
|
};
|
|
495
494
|
}
|
|
496
495
|
var Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
497
|
-
function
|
|
496
|
+
function ca(e) {
|
|
498
497
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
499
498
|
}
|
|
500
499
|
var Ze = function() {
|
|
@@ -544,15 +543,15 @@ function Ce(e, t) {
|
|
|
544
543
|
while (l.startsWith("/"));
|
|
545
544
|
return `${a}/${l}`;
|
|
546
545
|
}
|
|
547
|
-
function
|
|
546
|
+
function pa(e = "blitzItExtensionExists") {
|
|
548
547
|
try {
|
|
549
548
|
var t = document.getElementById(e);
|
|
550
549
|
return t != null;
|
|
551
550
|
} catch (a) {
|
|
552
|
-
return console.log(
|
|
551
|
+
return console.log(ma(a)), !1;
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
|
-
function
|
|
554
|
+
function eu(e, t) {
|
|
556
555
|
return [
|
|
557
556
|
{ lat: e.lat - t, lng: e.lng + t },
|
|
558
557
|
{ lat: e.lat - t, lng: e.lng - t },
|
|
@@ -560,7 +559,7 @@ function pa(e, t) {
|
|
|
560
559
|
{ lat: e.lat + t, lng: e.lng + t }
|
|
561
560
|
];
|
|
562
561
|
}
|
|
563
|
-
function
|
|
562
|
+
function ru(e, t) {
|
|
564
563
|
return [
|
|
565
564
|
{ lat: e.lat - t * 2, lng: e.lng + t },
|
|
566
565
|
{ lat: e.lat - t * 2, lng: e.lng - t },
|
|
@@ -568,7 +567,7 @@ function eu(e, t) {
|
|
|
568
567
|
{ lat: e.lat, lng: e.lng + t }
|
|
569
568
|
];
|
|
570
569
|
}
|
|
571
|
-
function
|
|
570
|
+
function tu(e, t) {
|
|
572
571
|
return [
|
|
573
572
|
{ lat: e.lat, lng: e.lng + t },
|
|
574
573
|
{ lat: e.lat, lng: e.lng - t },
|
|
@@ -576,7 +575,7 @@ function ru(e, t) {
|
|
|
576
575
|
{ lat: e.lat + t * 2, lng: e.lng + t }
|
|
577
576
|
];
|
|
578
577
|
}
|
|
579
|
-
function
|
|
578
|
+
function nu(e) {
|
|
580
579
|
var t = Rt(e, !0);
|
|
581
580
|
return t = t.toLowerCase(), t = t.replace(" victoria ", "vic"), t = t.replace(" queensland ", "qld"), t = t.replace(" new south wales ", "nsw"), t = t.replace(" northern territory ", "nt"), t = t.replace(" western australia ", "wa"), t = t.replace(" tasmania ", "tas"), t = t.replace(" south australia ", "sa"), t = t.replace(" australian captial territory ", "act"), t = t.replace(" & ", " and "), t = t.replace(" road", " rd"), t = t.replace(" street", " st"), t = t.replace(" lane", " ln"), t = t.replace(" alley", " aly"), t = t.replace(" arcade", " arc"), t = t.replace(" boulevard", " blvd"), t = t.replace(" court", " ct"), t = t.replace(" cove", " cv"), t = t.replace(" highway", " hwy"), t.replaceAll(" ", "");
|
|
582
581
|
}
|
|
@@ -588,13 +587,13 @@ function Rt(e, t = !1) {
|
|
|
588
587
|
var a = "";
|
|
589
588
|
return e.addressLineOne != null && !t && (a = e.addressLineOne + " "), e.streetNumber != null && (a = a + e.streetNumber + " "), e.streetName != null && (a = a + e.streetName + ", "), e.suburb != null && (a = a + e.suburb + " "), e.state != null && (a = a + e.state + " "), e.postcode != null && (a = a + e.postcode), a;
|
|
590
589
|
}
|
|
591
|
-
function
|
|
590
|
+
function au(e, t, a) {
|
|
592
591
|
if (e) {
|
|
593
592
|
var l = new Image();
|
|
594
593
|
l.onload = t, l.onerror = a, l.src = e;
|
|
595
594
|
}
|
|
596
595
|
}
|
|
597
|
-
async function
|
|
596
|
+
async function uu(e, t = !0) {
|
|
598
597
|
return new Promise((a, l) => {
|
|
599
598
|
e == null && l("no url given");
|
|
600
599
|
var s = new Image();
|
|
@@ -608,16 +607,16 @@ async function au(e, t = !0) {
|
|
|
608
607
|
}, e != null && (s.src = e);
|
|
609
608
|
});
|
|
610
609
|
}
|
|
611
|
-
function
|
|
610
|
+
function ia(e) {
|
|
612
611
|
return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
|
|
613
612
|
}
|
|
614
|
-
function
|
|
613
|
+
function lu(e) {
|
|
615
614
|
if (e != null && typeof e == "object")
|
|
616
615
|
for (var t in e)
|
|
617
616
|
/^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
|
|
618
617
|
return e;
|
|
619
618
|
}
|
|
620
|
-
function
|
|
619
|
+
function cu(e) {
|
|
621
620
|
return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (a) => a.toUpperCase()));
|
|
622
621
|
}
|
|
623
622
|
const Ye = [
|
|
@@ -630,25 +629,25 @@ const Ye = [
|
|
|
630
629
|
{ value: 7, short: "sat", values: ["sat", "saturday"] },
|
|
631
630
|
{ value: 0, short: "always", values: ["always", null, void 0] }
|
|
632
631
|
];
|
|
633
|
-
function
|
|
632
|
+
function iu(e) {
|
|
634
633
|
if (e == null)
|
|
635
634
|
return 0;
|
|
636
635
|
const t = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = Ye.filter((l) => l.values.some((s) => t.some((o) => s == o))).map((l) => l.value);
|
|
637
636
|
return a.length == 0 ? 8 : Math.min(...a);
|
|
638
637
|
}
|
|
639
|
-
function
|
|
638
|
+
function fu(e) {
|
|
640
639
|
return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
|
|
641
640
|
let a = Ye.find((l) => l.values.some((s) => s == t));
|
|
642
641
|
return a != null ? a.short : "";
|
|
643
642
|
}).filter((t) => t != null && t.length > 0).toString();
|
|
644
643
|
}
|
|
645
|
-
function
|
|
644
|
+
function su(e, t) {
|
|
646
645
|
if (e == null || t == null)
|
|
647
646
|
return !0;
|
|
648
647
|
const a = e.replaceAll(" ", "").split(",").map((o) => o.toLowerCase()), l = t.replaceAll(" ", "").toLowerCase(), s = Ye.find((o) => o.values.some((A) => A == l));
|
|
649
648
|
return s != null && a.some((o) => o == s.short || s.values.some((A) => A == o));
|
|
650
649
|
}
|
|
651
|
-
function
|
|
650
|
+
function ou(e, t) {
|
|
652
651
|
if (t == null)
|
|
653
652
|
return e;
|
|
654
653
|
let a = e ?? "";
|
|
@@ -656,28 +655,28 @@ function su(e, t) {
|
|
|
656
655
|
let l = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((s) => Ye.find((o) => o.values.some((A) => A == s))).filter((s) => s != null).sort(Ze.firstBy((s) => (s == null ? void 0 : s.value) ?? 0)).map((s) => s == null ? void 0 : s.short))].toString();
|
|
657
656
|
return l.length > 0 ? l : void 0;
|
|
658
657
|
}
|
|
659
|
-
function
|
|
658
|
+
function hu(e, t) {
|
|
660
659
|
if (t == null || e == null)
|
|
661
660
|
return e;
|
|
662
661
|
let a = e ?? "", l = t.replaceAll(" ", "").toLowerCase(), s = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((o) => Ye.find((A) => A.values.some((S) => S == o && S != l))).filter((o) => o != null).sort(Ze.firstBy((o) => (o == null ? void 0 : o.value) ?? 0)).map((o) => o == null ? void 0 : o.short))].toString();
|
|
663
662
|
return s.length > 0 ? s : void 0;
|
|
664
663
|
}
|
|
665
|
-
function
|
|
664
|
+
function du(e, t) {
|
|
666
665
|
return e != null && Array.isArray(e) && e.length == t;
|
|
667
666
|
}
|
|
668
667
|
function Fe(e, t = 0) {
|
|
669
668
|
return e != null && Array.isArray(e) && e.length > t;
|
|
670
669
|
}
|
|
671
|
-
function
|
|
670
|
+
function fa(e) {
|
|
672
671
|
return e == "0001-01-01T00:00:00Z";
|
|
673
672
|
}
|
|
674
|
-
function
|
|
673
|
+
function mu() {
|
|
675
674
|
return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
|
|
676
675
|
}
|
|
677
|
-
function
|
|
676
|
+
function sa() {
|
|
678
677
|
return "0001-01-01T00:00:00Z";
|
|
679
678
|
}
|
|
680
|
-
function
|
|
679
|
+
function vu(e, t) {
|
|
681
680
|
let a = "1", l = 0;
|
|
682
681
|
if (l < t)
|
|
683
682
|
do
|
|
@@ -686,11 +685,11 @@ function mu(e, t) {
|
|
|
686
685
|
let s = Number.parseInt(a);
|
|
687
686
|
return Math.round(e * s) / s;
|
|
688
687
|
}
|
|
689
|
-
function
|
|
688
|
+
function gu(e, t) {
|
|
690
689
|
let a = e ?? "";
|
|
691
|
-
return t != null && (
|
|
690
|
+
return t != null && (oa(a, t) ? a = a.split(",").filter((l) => l != t).toString() : a != null ? a = `${a},${t}` : a = t), a != null && a.length > 0 ? a : null;
|
|
692
691
|
}
|
|
693
|
-
function
|
|
692
|
+
function oa(e, t) {
|
|
694
693
|
if (e == null || e.length == 0)
|
|
695
694
|
return !1;
|
|
696
695
|
if (!t)
|
|
@@ -706,13 +705,13 @@ function Qr(e) {
|
|
|
706
705
|
t = e[l], a[l] = typeof t == "object" ? Qr(t) : t;
|
|
707
706
|
return a;
|
|
708
707
|
}
|
|
709
|
-
function
|
|
708
|
+
function ha(e) {
|
|
710
709
|
return e && Object.keys(e).sort().reduce(function(t, a) {
|
|
711
710
|
let l = e[a];
|
|
712
|
-
return t[a] = typeof l == "object" && l !== null ?
|
|
711
|
+
return t[a] = typeof l == "object" && l !== null ? ha(l) : l, t;
|
|
713
712
|
}, Array.isArray(e) ? [] : {});
|
|
714
713
|
}
|
|
715
|
-
function
|
|
714
|
+
function da(e, t) {
|
|
716
715
|
return t == null ? !0 : e == null ? !1 : e.toLowerCase().includes(t.toLowerCase());
|
|
717
716
|
}
|
|
718
717
|
function Ut(e, t = (a) => a) {
|
|
@@ -725,13 +724,13 @@ function Ut(e, t = (a) => a) {
|
|
|
725
724
|
return Fe(o) && l.push(...o), l;
|
|
726
725
|
}, [])] : [];
|
|
727
726
|
}
|
|
728
|
-
function
|
|
727
|
+
function yu(e) {
|
|
729
728
|
const t = e.split(","), a = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), l = t[0].split(":")[1].split(";")[0], s = new Uint8Array(a.length);
|
|
730
729
|
for (let o = 0; o < a.length; o++)
|
|
731
730
|
s[o] = a.charCodeAt(o);
|
|
732
731
|
return new Blob([s], { type: l });
|
|
733
732
|
}
|
|
734
|
-
function
|
|
733
|
+
function ma(e) {
|
|
735
734
|
var t = "";
|
|
736
735
|
if (e) {
|
|
737
736
|
if (e.message && (t = e.message), e.response && e.response.data) {
|
|
@@ -744,32 +743,32 @@ function va(e) {
|
|
|
744
743
|
}
|
|
745
744
|
return "hmmm no error was supplied";
|
|
746
745
|
}
|
|
747
|
-
function
|
|
746
|
+
function va() {
|
|
748
747
|
const e = "#" + Math.floor(Math.random() * 16777215).toString(16);
|
|
749
|
-
return e.length !== 7 ?
|
|
748
|
+
return e.length !== 7 ? va() : e;
|
|
750
749
|
}
|
|
751
|
-
function
|
|
750
|
+
function ga(e, t, a) {
|
|
752
751
|
if (t == null)
|
|
753
752
|
return !0;
|
|
754
753
|
if (e == null || a == null)
|
|
755
754
|
return !1;
|
|
756
755
|
for (let s = 0; s < a.length; s++) {
|
|
757
756
|
const o = a[s];
|
|
758
|
-
var l =
|
|
759
|
-
if (l != null && typeof l == "string" &&
|
|
757
|
+
var l = Rr(e, o);
|
|
758
|
+
if (l != null && typeof l == "string" && da(l, t))
|
|
760
759
|
return !0;
|
|
761
760
|
}
|
|
762
761
|
return !1;
|
|
763
762
|
}
|
|
764
|
-
function
|
|
763
|
+
function wu(e) {
|
|
765
764
|
return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
|
|
766
765
|
}
|
|
767
|
-
function
|
|
766
|
+
function bu(e = 2e3) {
|
|
768
767
|
return new Promise((t) => {
|
|
769
768
|
setTimeout(() => t(), e);
|
|
770
769
|
});
|
|
771
770
|
}
|
|
772
|
-
function
|
|
771
|
+
function Rr(e, t) {
|
|
773
772
|
if (e == null || e == null || !t)
|
|
774
773
|
return null;
|
|
775
774
|
var a = t.split(".");
|
|
@@ -779,14 +778,14 @@ function Lr(e, t) {
|
|
|
779
778
|
return null;
|
|
780
779
|
return s;
|
|
781
780
|
}
|
|
782
|
-
function
|
|
781
|
+
function ya(e) {
|
|
783
782
|
return e ? /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e) : !1;
|
|
784
783
|
}
|
|
785
|
-
let
|
|
786
|
-
function
|
|
787
|
-
return
|
|
784
|
+
let Ur;
|
|
785
|
+
function wa() {
|
|
786
|
+
return Ur;
|
|
788
787
|
}
|
|
789
|
-
function
|
|
788
|
+
function ba(e) {
|
|
790
789
|
const t = (e == null ? void 0 : e.buildHeaders) ?? A, a = (e == null ? void 0 : e.buildQuery) ?? s, l = (e == null ? void 0 : e.buildUrl) ?? o;
|
|
791
790
|
function s(c) {
|
|
792
791
|
let h = new URLSearchParams();
|
|
@@ -918,7 +917,7 @@ function Ea(e) {
|
|
|
918
917
|
throw new Error(y);
|
|
919
918
|
}
|
|
920
919
|
}
|
|
921
|
-
return
|
|
920
|
+
return Ur = {
|
|
922
921
|
buildHeaders: t,
|
|
923
922
|
buildQuery: a,
|
|
924
923
|
buildUrl: l,
|
|
@@ -927,7 +926,7 @@ function Ea(e) {
|
|
|
927
926
|
getAll: N,
|
|
928
927
|
patch: R,
|
|
929
928
|
post: L
|
|
930
|
-
},
|
|
929
|
+
}, Ur;
|
|
931
930
|
}
|
|
932
931
|
/*!
|
|
933
932
|
* vue-router v4.3.0
|
|
@@ -949,13 +948,13 @@ var mt;
|
|
|
949
948
|
})(mt || (mt = {}));
|
|
950
949
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
951
950
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
952
|
-
const
|
|
951
|
+
const Ea = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), Sa = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
953
952
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
954
953
|
function Bt() {
|
|
955
|
-
return
|
|
954
|
+
return fr(Ea);
|
|
956
955
|
}
|
|
957
|
-
function
|
|
958
|
-
return
|
|
956
|
+
function _a() {
|
|
957
|
+
return fr(Sa);
|
|
959
958
|
}
|
|
960
959
|
var Xr = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
961
960
|
let ye;
|
|
@@ -967,25 +966,25 @@ function vt() {
|
|
|
967
966
|
const e = Xr.NODE_ENV;
|
|
968
967
|
return ye == null ? "" : (ye[e] ?? ye.development).auth ?? "";
|
|
969
968
|
}
|
|
970
|
-
function
|
|
969
|
+
function Aa(e) {
|
|
971
970
|
const t = Xr.NODE_ENV;
|
|
972
971
|
if (ye == null)
|
|
973
972
|
return "";
|
|
974
973
|
const a = ye[t] ?? ye.development;
|
|
975
974
|
return e == null ? a.data ?? "" : a.other[e] ?? a.data ?? "";
|
|
976
975
|
}
|
|
977
|
-
function
|
|
976
|
+
function Eu() {
|
|
978
977
|
return ye;
|
|
979
978
|
}
|
|
980
|
-
function
|
|
979
|
+
function Da(e) {
|
|
981
980
|
return ye = e, ye;
|
|
982
981
|
}
|
|
983
|
-
let pe = "Australia/Melbourne",
|
|
984
|
-
function
|
|
985
|
-
return
|
|
982
|
+
let pe = "Australia/Melbourne", Br;
|
|
983
|
+
function Su() {
|
|
984
|
+
return Br;
|
|
986
985
|
}
|
|
987
|
-
function
|
|
988
|
-
const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", a =
|
|
986
|
+
function Ia(e) {
|
|
987
|
+
const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", a = Mr("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), l = Mr("auth-credentials", {});
|
|
989
988
|
function s(m) {
|
|
990
989
|
if (m == null)
|
|
991
990
|
return !0;
|
|
@@ -1110,7 +1109,7 @@ function xa(e) {
|
|
|
1110
1109
|
e.getTokenUrl ?? (e.getTokenUrl = () => Ce(vt(), "token")), J = e.getTokenUrl(g, `${window.location.origin}/authentication`, C, G);
|
|
1111
1110
|
const ee = {};
|
|
1112
1111
|
ee.grant_type = C, ee.code = g, ee.redirect_uri = `${window.location.origin}/authentication`, ee.client_id = G;
|
|
1113
|
-
const W = await
|
|
1112
|
+
const W = await wa().post({
|
|
1114
1113
|
additionalUrl: J,
|
|
1115
1114
|
data: ee
|
|
1116
1115
|
});
|
|
@@ -1146,7 +1145,7 @@ function xa(e) {
|
|
|
1146
1145
|
const D = fe.fromFormat(m.expiresOn, t), g = fe.utc();
|
|
1147
1146
|
return D <= g;
|
|
1148
1147
|
}
|
|
1149
|
-
return B(),
|
|
1148
|
+
return B(), Br = {
|
|
1150
1149
|
authState: a.value,
|
|
1151
1150
|
canEdit: s,
|
|
1152
1151
|
canEditPermit: o,
|
|
@@ -1164,9 +1163,23 @@ function xa(e) {
|
|
|
1164
1163
|
setAuth: y,
|
|
1165
1164
|
timeZone: le(() => l.value.timeZone ?? e.defaultTimeZone ?? pe),
|
|
1166
1165
|
tryLogin: _
|
|
1167
|
-
},
|
|
1166
|
+
}, Br;
|
|
1167
|
+
}
|
|
1168
|
+
function xa(e, t) {
|
|
1169
|
+
const a = ir();
|
|
1170
|
+
if (!a)
|
|
1171
|
+
throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`);
|
|
1172
|
+
return a;
|
|
1173
|
+
}
|
|
1174
|
+
const Na = Symbol.for("vuetify:theme");
|
|
1175
|
+
function Ta() {
|
|
1176
|
+
xa("useTheme");
|
|
1177
|
+
const e = fr(Na, null);
|
|
1178
|
+
if (!e)
|
|
1179
|
+
throw new Error("Could not find Vuetify theme injection");
|
|
1180
|
+
return e;
|
|
1168
1181
|
}
|
|
1169
|
-
const
|
|
1182
|
+
const $r = {
|
|
1170
1183
|
primary: "#192233",
|
|
1171
1184
|
secondary: "#192233",
|
|
1172
1185
|
accent: "#2a76a2",
|
|
@@ -1174,7 +1187,7 @@ const Ur = {
|
|
|
1174
1187
|
info: "#2196F3",
|
|
1175
1188
|
success: "#4CAF50",
|
|
1176
1189
|
warning: "#FB8C00"
|
|
1177
|
-
},
|
|
1190
|
+
}, Fr = {
|
|
1178
1191
|
primary: "#1d5474",
|
|
1179
1192
|
secondary: "#192233",
|
|
1180
1193
|
accent: "#7fcbf7",
|
|
@@ -1184,8 +1197,8 @@ const Ur = {
|
|
|
1184
1197
|
warning: "#FB8C00"
|
|
1185
1198
|
};
|
|
1186
1199
|
let Ge = {}, ie;
|
|
1187
|
-
function
|
|
1188
|
-
const e =
|
|
1200
|
+
function _u() {
|
|
1201
|
+
const e = Ta();
|
|
1189
1202
|
function t() {
|
|
1190
1203
|
e.global.name.value = ie.value.theme;
|
|
1191
1204
|
let N = e.themes.value.dark.colors, L = ie.value.dark;
|
|
@@ -1200,13 +1213,13 @@ function Su() {
|
|
|
1200
1213
|
});
|
|
1201
1214
|
}
|
|
1202
1215
|
function a(N) {
|
|
1203
|
-
e.global.name.value = ie.value.theme, e.global.name.value == "dark" ? (N && (ie.value.dark = { ...Ge.defaultDarkTheme ??
|
|
1216
|
+
e.global.name.value = ie.value.theme, e.global.name.value == "dark" ? (N && (ie.value.dark = { ...Ge.defaultDarkTheme ?? Fr }), e.themes.value.dark = {
|
|
1204
1217
|
...e.themes.value.dark,
|
|
1205
1218
|
colors: {
|
|
1206
1219
|
...e.themes.value.dark.colors,
|
|
1207
1220
|
...ie.value.dark
|
|
1208
1221
|
}
|
|
1209
|
-
}) : (N && (ie.value.light = { ...Ge.defaultLightTheme ??
|
|
1222
|
+
}) : (N && (ie.value.light = { ...Ge.defaultLightTheme ?? $r }), e.themes.value.light = {
|
|
1210
1223
|
...e.themes.value.light,
|
|
1211
1224
|
colors: {
|
|
1212
1225
|
...e.themes.value.light.colors,
|
|
@@ -1231,7 +1244,7 @@ function Su() {
|
|
|
1231
1244
|
function S() {
|
|
1232
1245
|
var R;
|
|
1233
1246
|
const N = e.themes.value.dark, L = e.themes.value.light;
|
|
1234
|
-
N.colors.primary = (ie.value.dark ?? Ge.defaultDarkTheme ??
|
|
1247
|
+
N.colors.primary = (ie.value.dark ?? Ge.defaultDarkTheme ?? Fr).primary, L.colors.primary = (ie.value.light ?? Ge.defaultLightTheme ?? $r).primary, (R = document.querySelector('meta[name="theme-color"]')) == null || R.setAttribute("content", "");
|
|
1235
1248
|
}
|
|
1236
1249
|
return {
|
|
1237
1250
|
state: ie,
|
|
@@ -1244,19 +1257,19 @@ function Su() {
|
|
|
1244
1257
|
undoTemporaryColor: S
|
|
1245
1258
|
};
|
|
1246
1259
|
}
|
|
1247
|
-
function
|
|
1248
|
-
ie =
|
|
1260
|
+
function Ca(e) {
|
|
1261
|
+
ie = Mr("cosmetics", {
|
|
1249
1262
|
theme: e.defaultTheme ?? "light",
|
|
1250
|
-
light: e.defaultLightTheme ??
|
|
1251
|
-
dark: e.defaultDarkTheme ??
|
|
1263
|
+
light: e.defaultLightTheme ?? $r,
|
|
1264
|
+
dark: e.defaultDarkTheme ?? Fr,
|
|
1252
1265
|
drawer: e.defaultDrawer ?? !0,
|
|
1253
1266
|
drawerStick: e.defaultDrawerStick ?? !1
|
|
1254
1267
|
}), Ge = e;
|
|
1255
1268
|
}
|
|
1256
|
-
const
|
|
1269
|
+
const Au = {
|
|
1257
1270
|
canExportCSV: !1
|
|
1258
1271
|
};
|
|
1259
|
-
function
|
|
1272
|
+
function Pa() {
|
|
1260
1273
|
function e(t, a, l = "csvData.csv") {
|
|
1261
1274
|
if (!Fe(t))
|
|
1262
1275
|
return;
|
|
@@ -1265,7 +1278,7 @@ function Ta() {
|
|
|
1265
1278
|
header: r.title ?? "",
|
|
1266
1279
|
itemText: r.itemText,
|
|
1267
1280
|
value: r.value
|
|
1268
|
-
})) : s = Object.keys(t[0]).map((r) => ({ header:
|
|
1281
|
+
})) : s = Object.keys(t[0]).map((r) => ({ header: ia(r) ?? "", value: r })), s = s.filter((r) => r.header.length > 0);
|
|
1269
1282
|
var o = [];
|
|
1270
1283
|
for (let r = 0; r < t.length; r++) {
|
|
1271
1284
|
const x = t[r];
|
|
@@ -1273,7 +1286,7 @@ function Ta() {
|
|
|
1273
1286
|
for (let E = 0; E < s.length; E++) {
|
|
1274
1287
|
const y = s[E];
|
|
1275
1288
|
var N = null;
|
|
1276
|
-
typeof y.value == "function" ? N = y.value(x) : typeof y.value == "string" && (N =
|
|
1289
|
+
typeof y.value == "function" ? N = y.value(x) : typeof y.value == "string" && (N = Rr(x, y.value)), y.itemText != null ? A[y.header] = Rr(N, y.itemText) : A[y.header] = N;
|
|
1277
1290
|
}
|
|
1278
1291
|
o.push(A), Fe(S) && S.forEach((E) => {
|
|
1279
1292
|
o.push(E);
|
|
@@ -1302,11 +1315,11 @@ function Ta() {
|
|
|
1302
1315
|
exportToCSV: e
|
|
1303
1316
|
};
|
|
1304
1317
|
}
|
|
1305
|
-
let
|
|
1306
|
-
function
|
|
1307
|
-
return
|
|
1318
|
+
let kr;
|
|
1319
|
+
function Du() {
|
|
1320
|
+
return kr;
|
|
1308
1321
|
}
|
|
1309
|
-
function
|
|
1322
|
+
function La(e) {
|
|
1310
1323
|
function t() {
|
|
1311
1324
|
var S;
|
|
1312
1325
|
return ((S = l()) == null ? void 0 : S.startOf("day").toUTC().toString()) ?? "";
|
|
@@ -1339,40 +1352,40 @@ function Ca(e) {
|
|
|
1339
1352
|
return N ? R.toFormat(N) : R.toString();
|
|
1340
1353
|
}
|
|
1341
1354
|
}
|
|
1342
|
-
return
|
|
1355
|
+
return kr = {
|
|
1343
1356
|
getToday: t,
|
|
1344
1357
|
getTomorrow: a,
|
|
1345
1358
|
tzDate: l,
|
|
1346
1359
|
tzString: s,
|
|
1347
1360
|
utcDate: o,
|
|
1348
1361
|
utcString: A
|
|
1349
|
-
},
|
|
1362
|
+
}, kr;
|
|
1350
1363
|
}
|
|
1351
|
-
let
|
|
1352
|
-
function
|
|
1353
|
-
return
|
|
1364
|
+
let Vr;
|
|
1365
|
+
function Iu() {
|
|
1366
|
+
return Vr;
|
|
1354
1367
|
}
|
|
1355
|
-
function
|
|
1368
|
+
function Ma() {
|
|
1356
1369
|
const e = Y(!1);
|
|
1357
1370
|
function t() {
|
|
1358
1371
|
}
|
|
1359
1372
|
function a() {
|
|
1360
1373
|
}
|
|
1361
|
-
return
|
|
1374
|
+
return Vr = {
|
|
1362
1375
|
endDemo: a,
|
|
1363
1376
|
isDemoing: e,
|
|
1364
1377
|
startDemo: t
|
|
1365
|
-
},
|
|
1378
|
+
}, Vr;
|
|
1366
1379
|
}
|
|
1367
|
-
var
|
|
1368
|
-
function
|
|
1380
|
+
var Ra = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1381
|
+
function xu(e) {
|
|
1369
1382
|
function t(a) {
|
|
1370
1383
|
var s;
|
|
1371
1384
|
const l = a.matched.slice().reverse().find((o) => o.meta && o.meta.title);
|
|
1372
1385
|
if (l)
|
|
1373
1386
|
document.title = l.meta.title;
|
|
1374
1387
|
else {
|
|
1375
|
-
const o =
|
|
1388
|
+
const o = Ra.NODE_ENV;
|
|
1376
1389
|
let A = "";
|
|
1377
1390
|
o == "development" ? A = "BWeb Dev" : o == "staging" ? A = "BlitzIt Sandpit" : A = "BlitzIt Web | Cloud-Based Wholesale Logistics Platform", ((s = e == null ? void 0 : e.demo) == null ? void 0 : s.isDemoing.value) == !0 && (A = `Training: ${A}`), document.title = A;
|
|
1378
1391
|
}
|
|
@@ -1381,7 +1394,7 @@ function Iu(e) {
|
|
|
1381
1394
|
updateMeta: t
|
|
1382
1395
|
};
|
|
1383
1396
|
}
|
|
1384
|
-
function
|
|
1397
|
+
function Nu(e, t, a = {}) {
|
|
1385
1398
|
const {
|
|
1386
1399
|
preventDefault: l = !1,
|
|
1387
1400
|
stopPropagation: s = !1,
|
|
@@ -1452,13 +1465,13 @@ function xu(e, t, a = {}) {
|
|
|
1452
1465
|
turnDraggableOn: I
|
|
1453
1466
|
};
|
|
1454
1467
|
}
|
|
1455
|
-
let
|
|
1456
|
-
function
|
|
1457
|
-
return
|
|
1468
|
+
let Wr;
|
|
1469
|
+
function Tu() {
|
|
1470
|
+
return Wr;
|
|
1458
1471
|
}
|
|
1459
|
-
function
|
|
1472
|
+
function Ua(e) {
|
|
1460
1473
|
function t(g, f, C) {
|
|
1461
|
-
return g ?
|
|
1474
|
+
return g ? fa(g) ? C ?? "" : e.dates.tzString(g, f) : C ?? g ?? "";
|
|
1462
1475
|
}
|
|
1463
1476
|
function a(g) {
|
|
1464
1477
|
if (!g)
|
|
@@ -1578,10 +1591,10 @@ function Ma(e) {
|
|
|
1578
1591
|
}
|
|
1579
1592
|
return (f) => f;
|
|
1580
1593
|
}
|
|
1581
|
-
return
|
|
1594
|
+
return Wr = {
|
|
1582
1595
|
findFilter: D,
|
|
1583
1596
|
...m
|
|
1584
|
-
},
|
|
1597
|
+
}, Wr;
|
|
1585
1598
|
}
|
|
1586
1599
|
function er(e) {
|
|
1587
1600
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -2098,7 +2111,7 @@ var Ft = { exports: {} };
|
|
|
2098
2111
|
});
|
|
2099
2112
|
return c(v, i), v;
|
|
2100
2113
|
}
|
|
2101
|
-
function
|
|
2114
|
+
function sr(n, i) {
|
|
2102
2115
|
var u = this, v = new b(function(w, d) {
|
|
2103
2116
|
u.ready().then(function() {
|
|
2104
2117
|
re(u._dbInfo, U, function(T, M) {
|
|
@@ -2157,7 +2170,7 @@ var Ft = { exports: {} };
|
|
|
2157
2170
|
});
|
|
2158
2171
|
return c(w, u), w;
|
|
2159
2172
|
}
|
|
2160
|
-
function
|
|
2173
|
+
function or(n, i) {
|
|
2161
2174
|
var u = this;
|
|
2162
2175
|
n = r(n);
|
|
2163
2176
|
var v = new b(function(w, d) {
|
|
@@ -2183,7 +2196,7 @@ var Ft = { exports: {} };
|
|
|
2183
2196
|
});
|
|
2184
2197
|
return c(v, i), v;
|
|
2185
2198
|
}
|
|
2186
|
-
function
|
|
2199
|
+
function hr(n) {
|
|
2187
2200
|
var i = this, u = new b(function(v, w) {
|
|
2188
2201
|
i.ready().then(function() {
|
|
2189
2202
|
re(i._dbInfo, _, function(d, T) {
|
|
@@ -2205,7 +2218,7 @@ var Ft = { exports: {} };
|
|
|
2205
2218
|
});
|
|
2206
2219
|
return c(u, n), u;
|
|
2207
2220
|
}
|
|
2208
|
-
function
|
|
2221
|
+
function dr(n) {
|
|
2209
2222
|
var i = this, u = new b(function(v, w) {
|
|
2210
2223
|
i.ready().then(function() {
|
|
2211
2224
|
re(i._dbInfo, U, function(d, T) {
|
|
@@ -2226,7 +2239,7 @@ var Ft = { exports: {} };
|
|
|
2226
2239
|
});
|
|
2227
2240
|
return c(u, n), u;
|
|
2228
2241
|
}
|
|
2229
|
-
function
|
|
2242
|
+
function mr(n, i) {
|
|
2230
2243
|
var u = this, v = new b(function(w, d) {
|
|
2231
2244
|
if (n < 0) {
|
|
2232
2245
|
w(null);
|
|
@@ -2256,7 +2269,7 @@ var Ft = { exports: {} };
|
|
|
2256
2269
|
});
|
|
2257
2270
|
return c(v, i), v;
|
|
2258
2271
|
}
|
|
2259
|
-
function
|
|
2272
|
+
function vr(n) {
|
|
2260
2273
|
var i = this, u = new b(function(v, w) {
|
|
2261
2274
|
i.ready().then(function() {
|
|
2262
2275
|
re(i._dbInfo, U, function(d, T) {
|
|
@@ -2282,7 +2295,7 @@ var Ft = { exports: {} };
|
|
|
2282
2295
|
});
|
|
2283
2296
|
return c(u, n), u;
|
|
2284
2297
|
}
|
|
2285
|
-
function
|
|
2298
|
+
function gr(n, i) {
|
|
2286
2299
|
i = x.apply(this, arguments);
|
|
2287
2300
|
var u = this.config();
|
|
2288
2301
|
n = typeof n != "function" && n || {}, n.name || (n.name = n.name || u.name, n.storeName = n.storeName || u.storeName);
|
|
@@ -2365,19 +2378,19 @@ var Ft = { exports: {} };
|
|
|
2365
2378
|
}
|
|
2366
2379
|
return c(w, i), w;
|
|
2367
2380
|
}
|
|
2368
|
-
var
|
|
2381
|
+
var yr = {
|
|
2369
2382
|
_driver: "asyncStorage",
|
|
2370
2383
|
_initStorage: me,
|
|
2371
2384
|
_support: L(),
|
|
2372
|
-
iterate:
|
|
2385
|
+
iterate: sr,
|
|
2373
2386
|
getItem: be,
|
|
2374
2387
|
setItem: Le,
|
|
2375
|
-
removeItem:
|
|
2376
|
-
clear:
|
|
2377
|
-
length:
|
|
2378
|
-
key:
|
|
2379
|
-
keys:
|
|
2380
|
-
dropInstance:
|
|
2388
|
+
removeItem: or,
|
|
2389
|
+
clear: hr,
|
|
2390
|
+
length: dr,
|
|
2391
|
+
key: mr,
|
|
2392
|
+
keys: vr,
|
|
2393
|
+
dropInstance: gr
|
|
2381
2394
|
};
|
|
2382
2395
|
function ke() {
|
|
2383
2396
|
return typeof openDatabase == "function";
|
|
@@ -2391,7 +2404,7 @@ var Ft = { exports: {} };
|
|
|
2391
2404
|
d = Se.indexOf(n[v]), T = Se.indexOf(n[v + 1]), M = Se.indexOf(n[v + 2]), $ = Se.indexOf(n[v + 3]), k[w++] = d << 2 | T >> 4, k[w++] = (T & 15) << 4 | M >> 2, k[w++] = (M & 3) << 6 | $ & 63;
|
|
2392
2405
|
return F;
|
|
2393
2406
|
}
|
|
2394
|
-
function
|
|
2407
|
+
function wr(n) {
|
|
2395
2408
|
var i = new Uint8Array(n), u = "", v;
|
|
2396
2409
|
for (v = 0; v < i.length; v += 3)
|
|
2397
2410
|
u += Se[i[v] >> 2], u += Se[(i[v] & 3) << 4 | i[v + 1] >> 4], u += Se[(i[v + 1] & 15) << 2 | i[v + 2] >> 6], u += Se[i[v + 2] & 63];
|
|
@@ -2401,11 +2414,11 @@ var Ft = { exports: {} };
|
|
|
2401
2414
|
var u = "";
|
|
2402
2415
|
if (n && (u = rt.call(n)), n && (u === "[object ArrayBuffer]" || n.buffer && rt.call(n.buffer) === "[object ArrayBuffer]")) {
|
|
2403
2416
|
var v, w = Me;
|
|
2404
|
-
n instanceof ArrayBuffer ? (v = n, w += j) : (v = n.buffer, u === "[object Int8Array]" ? w += Q : u === "[object Uint8Array]" ? w += p : u === "[object Uint8ClampedArray]" ? w += Ee : u === "[object Int16Array]" ? w += De : u === "[object Uint16Array]" ? w += _e : u === "[object Int32Array]" ? w += Ue : u === "[object Uint32Array]" ? w += oe : u === "[object Float32Array]" ? w += Ie : u === "[object Float64Array]" ? w += pr : i(new Error("Failed to get type for BinaryArray"))), i(w +
|
|
2417
|
+
n instanceof ArrayBuffer ? (v = n, w += j) : (v = n.buffer, u === "[object Int8Array]" ? w += Q : u === "[object Uint8Array]" ? w += p : u === "[object Uint8ClampedArray]" ? w += Ee : u === "[object Int16Array]" ? w += De : u === "[object Uint16Array]" ? w += _e : u === "[object Int32Array]" ? w += Ue : u === "[object Uint32Array]" ? w += oe : u === "[object Float32Array]" ? w += Ie : u === "[object Float64Array]" ? w += pr : i(new Error("Failed to get type for BinaryArray"))), i(w + wr(v));
|
|
2405
2418
|
} else if (u === "[object Blob]") {
|
|
2406
2419
|
var d = new FileReader();
|
|
2407
2420
|
d.onload = function() {
|
|
2408
|
-
var T = Te + n.type + "~" +
|
|
2421
|
+
var T = Te + n.type + "~" + wr(this.result);
|
|
2409
2422
|
i(Me + te + T);
|
|
2410
2423
|
}, d.readAsArrayBuffer(n);
|
|
2411
2424
|
} else
|
|
@@ -2451,11 +2464,11 @@ var Ft = { exports: {} };
|
|
|
2451
2464
|
throw new Error("Unkown type: " + u);
|
|
2452
2465
|
}
|
|
2453
2466
|
}
|
|
2454
|
-
var
|
|
2467
|
+
var br = {
|
|
2455
2468
|
serialize: Gt,
|
|
2456
2469
|
deserialize: qt,
|
|
2457
2470
|
stringToBuffer: tt,
|
|
2458
|
-
bufferToString:
|
|
2471
|
+
bufferToString: wr
|
|
2459
2472
|
};
|
|
2460
2473
|
function nt(n, i, u, v) {
|
|
2461
2474
|
n.executeSql("CREATE TABLE IF NOT EXISTS " + i.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], u, v);
|
|
@@ -2481,7 +2494,7 @@ var Ft = { exports: {} };
|
|
|
2481
2494
|
});
|
|
2482
2495
|
}, T);
|
|
2483
2496
|
});
|
|
2484
|
-
return u.serializer =
|
|
2497
|
+
return u.serializer = br, w;
|
|
2485
2498
|
}
|
|
2486
2499
|
function xe(n, i, u, v, w, d) {
|
|
2487
2500
|
n.executeSql(u, v, w, function(T, M) {
|
|
@@ -2740,7 +2753,7 @@ var Ft = { exports: {} };
|
|
|
2740
2753
|
if (n)
|
|
2741
2754
|
for (var v in n)
|
|
2742
2755
|
u[v] = n[v];
|
|
2743
|
-
return u.keyPrefix = ut(n, i._defaultConfig), an() ? (i._dbInfo = u, u.serializer =
|
|
2756
|
+
return u.keyPrefix = ut(n, i._defaultConfig), an() ? (i._dbInfo = u, u.serializer = br, b.resolve()) : b.reject();
|
|
2744
2757
|
}
|
|
2745
2758
|
function ln(n) {
|
|
2746
2759
|
var i = this, u = i.ready().then(function() {
|
|
@@ -2872,10 +2885,10 @@ var Ft = { exports: {} };
|
|
|
2872
2885
|
}, lt = Array.isArray || function(n) {
|
|
2873
2886
|
return Object.prototype.toString.call(n) === "[object Array]";
|
|
2874
2887
|
}, Ve = {}, ct = {}, Be = {
|
|
2875
|
-
INDEXEDDB:
|
|
2888
|
+
INDEXEDDB: yr,
|
|
2876
2889
|
WEBSQL: rn,
|
|
2877
2890
|
LOCALSTORAGE: gn
|
|
2878
|
-
}, bn = [Be.INDEXEDDB._driver, Be.WEBSQL._driver, Be.LOCALSTORAGE._driver], Ke = ["dropInstance"],
|
|
2891
|
+
}, bn = [Be.INDEXEDDB._driver, Be.WEBSQL._driver, Be.LOCALSTORAGE._driver], Ke = ["dropInstance"], Er = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Ke), En = {
|
|
2879
2892
|
description: "",
|
|
2880
2893
|
driver: bn.slice(),
|
|
2881
2894
|
name: "localforage",
|
|
@@ -2893,7 +2906,7 @@ var Ft = { exports: {} };
|
|
|
2893
2906
|
});
|
|
2894
2907
|
};
|
|
2895
2908
|
}
|
|
2896
|
-
function
|
|
2909
|
+
function Sr() {
|
|
2897
2910
|
for (var n = 1; n < arguments.length; n++) {
|
|
2898
2911
|
var i = arguments[n];
|
|
2899
2912
|
if (i)
|
|
@@ -2910,7 +2923,7 @@ var Ft = { exports: {} };
|
|
|
2910
2923
|
var v = Be[u], w = v._driver;
|
|
2911
2924
|
this[u] = w, Ve[w] || this.defineDriver(v);
|
|
2912
2925
|
}
|
|
2913
|
-
this._defaultConfig =
|
|
2926
|
+
this._defaultConfig = Sr({}, En), this._config = Sr({}, this._defaultConfig, i), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
|
|
2914
2927
|
});
|
|
2915
2928
|
}
|
|
2916
2929
|
return n.prototype.config = function(u) {
|
|
@@ -2933,7 +2946,7 @@ var Ft = { exports: {} };
|
|
|
2933
2946
|
M(F);
|
|
2934
2947
|
return;
|
|
2935
2948
|
}
|
|
2936
|
-
for (var k =
|
|
2949
|
+
for (var k = Er.concat("_initStorage"), q = 0, z = k.length; q < z; q++) {
|
|
2937
2950
|
var X = k[q], O = !wn(Ke, X);
|
|
2938
2951
|
if ((O || u[X]) && typeof u[X] != "function") {
|
|
2939
2952
|
M(F);
|
|
@@ -2946,9 +2959,9 @@ var Ft = { exports: {} };
|
|
|
2946
2959
|
var xn = new Error("Method " + In + " is not implemented by the current driver"), it = b.reject(xn);
|
|
2947
2960
|
return c(it, arguments[arguments.length - 1]), it;
|
|
2948
2961
|
};
|
|
2949
|
-
},
|
|
2950
|
-
var
|
|
2951
|
-
u[
|
|
2962
|
+
}, _r = 0, Dn = Ke.length; _r < Dn; _r++) {
|
|
2963
|
+
var Ar = Ke[_r];
|
|
2964
|
+
u[Ar] || (u[Ar] = We(Ar));
|
|
2952
2965
|
}
|
|
2953
2966
|
};
|
|
2954
2967
|
ue();
|
|
@@ -2967,7 +2980,7 @@ var Ft = { exports: {} };
|
|
|
2967
2980
|
var d = Ve[u] ? b.resolve(Ve[u]) : b.reject(new Error("Driver not found."));
|
|
2968
2981
|
return h(d, v, w), d;
|
|
2969
2982
|
}, n.prototype.getSerializer = function(u) {
|
|
2970
|
-
var v = b.resolve(
|
|
2983
|
+
var v = b.resolve(br);
|
|
2971
2984
|
return h(v, u), v;
|
|
2972
2985
|
}, n.prototype.ready = function(u) {
|
|
2973
2986
|
var v = this, w = v._driverSet.then(function() {
|
|
@@ -3015,7 +3028,7 @@ var Ft = { exports: {} };
|
|
|
3015
3028
|
}, n.prototype.supports = function(u) {
|
|
3016
3029
|
return !!ct[u];
|
|
3017
3030
|
}, n.prototype._extend = function(u) {
|
|
3018
|
-
|
|
3031
|
+
Sr(this, u);
|
|
3019
3032
|
}, n.prototype._getSupportedDrivers = function(u) {
|
|
3020
3033
|
for (var v = [], w = 0, d = u.length; w < d; w++) {
|
|
3021
3034
|
var T = u[w];
|
|
@@ -3023,8 +3036,8 @@ var Ft = { exports: {} };
|
|
|
3023
3036
|
}
|
|
3024
3037
|
return v;
|
|
3025
3038
|
}, n.prototype._wrapLibraryMethodsWithReady = function() {
|
|
3026
|
-
for (var u = 0, v =
|
|
3027
|
-
Sn(this,
|
|
3039
|
+
for (var u = 0, v = Er.length; u < v; u++)
|
|
3040
|
+
Sn(this, Er[u]);
|
|
3028
3041
|
}, n.prototype.createInstance = function(u) {
|
|
3029
3042
|
return new n(u);
|
|
3030
3043
|
}, n;
|
|
@@ -3033,8 +3046,8 @@ var Ft = { exports: {} };
|
|
|
3033
3046
|
}, { 3: 3 }] }, {}, [4])(4);
|
|
3034
3047
|
});
|
|
3035
3048
|
})(Ft);
|
|
3036
|
-
var
|
|
3037
|
-
const kt = /* @__PURE__ */
|
|
3049
|
+
var Ba = Ft.exports;
|
|
3050
|
+
const kt = /* @__PURE__ */ ca(Ba);
|
|
3038
3051
|
let rr = null;
|
|
3039
3052
|
kt.config({
|
|
3040
3053
|
name: $t()
|
|
@@ -3043,7 +3056,7 @@ function de() {
|
|
|
3043
3056
|
const e = $t();
|
|
3044
3057
|
return (rr == null || rr.config.name != e) && (rr = kt.createInstance({ name: e })), rr;
|
|
3045
3058
|
}
|
|
3046
|
-
function
|
|
3059
|
+
function Cu() {
|
|
3047
3060
|
async function e(s) {
|
|
3048
3061
|
const o = de();
|
|
3049
3062
|
(await o.keys()).filter((N) => N.startsWith(s)).forEach((N) => {
|
|
@@ -3066,11 +3079,11 @@ function Tu() {
|
|
|
3066
3079
|
saveAsync: l
|
|
3067
3080
|
};
|
|
3068
3081
|
}
|
|
3069
|
-
var
|
|
3082
|
+
var $a = !1;
|
|
3070
3083
|
function tr(e, t, a) {
|
|
3071
3084
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, a), a) : (e[t] = a, a);
|
|
3072
3085
|
}
|
|
3073
|
-
function
|
|
3086
|
+
function Dr(e, t) {
|
|
3074
3087
|
if (Array.isArray(e)) {
|
|
3075
3088
|
e.splice(t, 1);
|
|
3076
3089
|
return;
|
|
@@ -3083,7 +3096,7 @@ function _r(e, t) {
|
|
|
3083
3096
|
* @license MIT
|
|
3084
3097
|
*/
|
|
3085
3098
|
let qe;
|
|
3086
|
-
const lr = (e) => qe = e,
|
|
3099
|
+
const lr = (e) => qe = e, Fa = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
3087
3100
|
/* istanbul ignore next */
|
|
3088
3101
|
Symbol()
|
|
3089
3102
|
);
|
|
@@ -3094,7 +3107,7 @@ var He;
|
|
|
3094
3107
|
(function(e) {
|
|
3095
3108
|
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
3096
3109
|
})(He || (He = {}));
|
|
3097
|
-
const Or = typeof window < "u",
|
|
3110
|
+
const Or = typeof window < "u", Ir = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && Or;
|
|
3098
3111
|
function Vt(e, t) {
|
|
3099
3112
|
for (const a in t) {
|
|
3100
3113
|
const l = t[a];
|
|
@@ -3120,23 +3133,23 @@ function $e(e, ...t) {
|
|
|
3120
3133
|
a(...t);
|
|
3121
3134
|
});
|
|
3122
3135
|
}
|
|
3123
|
-
const
|
|
3124
|
-
function
|
|
3136
|
+
const ka = (e) => e();
|
|
3137
|
+
function jr(e, t) {
|
|
3125
3138
|
e instanceof Map && t instanceof Map && t.forEach((a, l) => e.set(l, a)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
3126
3139
|
for (const a in t) {
|
|
3127
3140
|
if (!t.hasOwnProperty(a))
|
|
3128
3141
|
continue;
|
|
3129
3142
|
const l = t[a], s = e[a];
|
|
3130
|
-
Pe(s) && Pe(l) && e.hasOwnProperty(a) && !ze(l) && !Yr(l) ? e[a] =
|
|
3143
|
+
Pe(s) && Pe(l) && e.hasOwnProperty(a) && !ze(l) && !Yr(l) ? e[a] = jr(s, l) : e[a] = l;
|
|
3131
3144
|
}
|
|
3132
3145
|
return e;
|
|
3133
3146
|
}
|
|
3134
|
-
const
|
|
3147
|
+
const Va = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
3135
3148
|
/* istanbul ignore next */
|
|
3136
3149
|
Symbol()
|
|
3137
3150
|
);
|
|
3138
|
-
function
|
|
3139
|
-
return !Pe(e) || !e.hasOwnProperty(
|
|
3151
|
+
function Wa(e) {
|
|
3152
|
+
return !Pe(e) || !e.hasOwnProperty(Va);
|
|
3140
3153
|
}
|
|
3141
3154
|
const { assign: ge } = Object;
|
|
3142
3155
|
function yt(e) {
|
|
@@ -3157,9 +3170,9 @@ function wt(e, t, a, l) {
|
|
|
3157
3170
|
return A[c].call(h, h);
|
|
3158
3171
|
})), b), {}));
|
|
3159
3172
|
}
|
|
3160
|
-
return N =
|
|
3173
|
+
return N = Gr(e, L, t, a, l, !0), N;
|
|
3161
3174
|
}
|
|
3162
|
-
function
|
|
3175
|
+
function Gr(e, t, a = {}, l, s, o) {
|
|
3163
3176
|
let A;
|
|
3164
3177
|
const S = ge({ actions: {} }, a);
|
|
3165
3178
|
if (process.env.NODE_ENV !== "production" && !l._e.active)
|
|
@@ -3168,7 +3181,7 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3168
3181
|
deep: !0
|
|
3169
3182
|
// flush: 'post',
|
|
3170
3183
|
};
|
|
3171
|
-
process.env.NODE_ENV !== "production" &&
|
|
3184
|
+
process.env.NODE_ENV !== "production" && !$a && (N.onTrigger = (f) => {
|
|
3172
3185
|
L ? h = f : L == !1 && !m._hotUpdating && (Array.isArray(h) ? h.push(f) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
3173
3186
|
});
|
|
3174
3187
|
let L, R, b = [], c = [], h;
|
|
@@ -3182,7 +3195,7 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3182
3195
|
type: He.patchFunction,
|
|
3183
3196
|
storeId: e,
|
|
3184
3197
|
events: h
|
|
3185
|
-
}) : (
|
|
3198
|
+
}) : (jr(l.state.value[e], f), C = {
|
|
3186
3199
|
type: He.patchObject,
|
|
3187
3200
|
payload: f,
|
|
3188
3201
|
storeId: e,
|
|
@@ -3256,7 +3269,7 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3256
3269
|
return G;
|
|
3257
3270
|
},
|
|
3258
3271
|
$dispose: B
|
|
3259
|
-
}, m = Mn(process.env.NODE_ENV !== "production" ||
|
|
3272
|
+
}, m = Mn(process.env.NODE_ENV !== "production" || Ir ? ge(
|
|
3260
3273
|
{
|
|
3261
3274
|
_hmrPayload: _,
|
|
3262
3275
|
_customProperties: je(/* @__PURE__ */ new Set())
|
|
@@ -3267,11 +3280,11 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3267
3280
|
// setupStore
|
|
3268
3281
|
) : P);
|
|
3269
3282
|
l._s.set(e, m);
|
|
3270
|
-
const g = (l._a && l._a.runWithContext ||
|
|
3283
|
+
const g = (l._a && l._a.runWithContext || ka)(() => l._e.run(() => (A = Rn()).run(t)));
|
|
3271
3284
|
for (const f in g) {
|
|
3272
3285
|
const C = g[f];
|
|
3273
3286
|
if (ze(C) && !yt(C) || Yr(C))
|
|
3274
|
-
process.env.NODE_ENV !== "production" && s ? tr(x.value, f, ar(g, f)) : o || (r &&
|
|
3287
|
+
process.env.NODE_ENV !== "production" && s ? tr(x.value, f, ar(g, f)) : o || (r && Wa(C) && (ze(C) ? C.value = r[f] : jr(C, r[f])), l.state.value[e][f] = C), process.env.NODE_ENV !== "production" && _.state.push(f);
|
|
3275
3288
|
else if (typeof C == "function") {
|
|
3276
3289
|
const G = process.env.NODE_ENV !== "production" && s ? C : U(f, C);
|
|
3277
3290
|
g[f] = G, process.env.NODE_ENV !== "production" && (_.actions[f] = C), S.actions[f] = C;
|
|
@@ -3299,7 +3312,7 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3299
3312
|
}
|
|
3300
3313
|
tr(m, C, ar(f.$state, C));
|
|
3301
3314
|
}), Object.keys(m.$state).forEach((C) => {
|
|
3302
|
-
C in f.$state ||
|
|
3315
|
+
C in f.$state || Dr(m, C);
|
|
3303
3316
|
}), L = !1, R = !1, l.state.value[e] = ar(f._hmrPayload, "hotState"), R = !0, ur().then(() => {
|
|
3304
3317
|
L = !0;
|
|
3305
3318
|
});
|
|
@@ -3315,11 +3328,11 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3315
3328
|
tr(m, C, J);
|
|
3316
3329
|
}
|
|
3317
3330
|
Object.keys(m._hmrPayload.getters).forEach((C) => {
|
|
3318
|
-
C in f._hmrPayload.getters ||
|
|
3331
|
+
C in f._hmrPayload.getters || Dr(m, C);
|
|
3319
3332
|
}), Object.keys(m._hmrPayload.actions).forEach((C) => {
|
|
3320
|
-
C in f._hmrPayload.actions ||
|
|
3333
|
+
C in f._hmrPayload.actions || Dr(m, C);
|
|
3321
3334
|
}), m._hmrPayload = f._hmrPayload, m._getters = f._getters, m._hotUpdating = !1;
|
|
3322
|
-
})),
|
|
3335
|
+
})), Ir) {
|
|
3323
3336
|
const f = {
|
|
3324
3337
|
writable: !0,
|
|
3325
3338
|
configurable: !0,
|
|
@@ -3331,7 +3344,7 @@ function Wr(e, t, a = {}, l, s, o) {
|
|
|
3331
3344
|
});
|
|
3332
3345
|
}
|
|
3333
3346
|
return l._p.forEach((f) => {
|
|
3334
|
-
if (
|
|
3347
|
+
if (Ir) {
|
|
3335
3348
|
const C = A.run(() => f({
|
|
3336
3349
|
store: m,
|
|
3337
3350
|
app: l._a,
|
|
@@ -3361,18 +3374,18 @@ function jt(e, t, a) {
|
|
|
3361
3374
|
const L = Ln();
|
|
3362
3375
|
if (S = // in test mode, ignore the argument provided as we can always retrieve a
|
|
3363
3376
|
// pinia instance with getActivePinia()
|
|
3364
|
-
(process.env.NODE_ENV === "test" && qe && qe._testing ? null : S) || (L ?
|
|
3377
|
+
(process.env.NODE_ENV === "test" && qe && qe._testing ? null : S) || (L ? fr(Fa, null) : null), S && lr(S), process.env.NODE_ENV !== "production" && !qe)
|
|
3365
3378
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
3366
3379
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
3367
3380
|
This will fail in production.`);
|
|
3368
|
-
S = qe, S._s.has(l) || (o ?
|
|
3381
|
+
S = qe, S._s.has(l) || (o ? Gr(l, t, s, S) : wt(l, s, S), process.env.NODE_ENV !== "production" && (A._pinia = S));
|
|
3369
3382
|
const R = S._s.get(l);
|
|
3370
3383
|
if (process.env.NODE_ENV !== "production" && N) {
|
|
3371
|
-
const b = "__hot:" + l, c = o ?
|
|
3384
|
+
const b = "__hot:" + l, c = o ? Gr(b, t, s, S, !0) : wt(b, ge({}, s), S, !0);
|
|
3372
3385
|
N._hotUpdate(c), delete S.state.value[b], S._s.delete(b);
|
|
3373
3386
|
}
|
|
3374
3387
|
if (process.env.NODE_ENV !== "production" && Or) {
|
|
3375
|
-
const b =
|
|
3388
|
+
const b = ir();
|
|
3376
3389
|
if (b && b.proxy && // avoid adding stores that are just built for hot module replacement
|
|
3377
3390
|
!N) {
|
|
3378
3391
|
const c = b.proxy, h = "_pStores" in c ? c._pStores : c._pStores = {};
|
|
@@ -3384,19 +3397,19 @@ This will fail in production.`);
|
|
|
3384
3397
|
return A.$id = l, A;
|
|
3385
3398
|
}
|
|
3386
3399
|
let cr;
|
|
3387
|
-
function
|
|
3400
|
+
function Pu(e) {
|
|
3388
3401
|
return cr(e)();
|
|
3389
3402
|
}
|
|
3390
|
-
function
|
|
3403
|
+
function ja(e) {
|
|
3391
3404
|
return cr(e);
|
|
3392
3405
|
}
|
|
3393
|
-
function
|
|
3394
|
-
return cr = (t) =>
|
|
3406
|
+
function Ga(e) {
|
|
3407
|
+
return cr = (t) => qa({
|
|
3395
3408
|
...e,
|
|
3396
3409
|
...t
|
|
3397
3410
|
}), cr;
|
|
3398
3411
|
}
|
|
3399
|
-
function
|
|
3412
|
+
function qa(e) {
|
|
3400
3413
|
if (e.storeMode == "whole-last-updated") {
|
|
3401
3414
|
if (e.api == null)
|
|
3402
3415
|
throw new Error("Must supply an api object to use store");
|
|
@@ -3406,9 +3419,9 @@ function ja(e) {
|
|
|
3406
3419
|
throw new Error("Must supply an api object to use store");
|
|
3407
3420
|
return bt(e);
|
|
3408
3421
|
} else
|
|
3409
|
-
return
|
|
3422
|
+
return za(e);
|
|
3410
3423
|
}
|
|
3411
|
-
const
|
|
3424
|
+
const Ha = (e) => {
|
|
3412
3425
|
let t = K(e.url) ?? void 0;
|
|
3413
3426
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = Ce(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = Ce(t, e.id)), e.params != null) {
|
|
3414
3427
|
t ?? (t = "");
|
|
@@ -3419,10 +3432,10 @@ const Ga = (e) => {
|
|
|
3419
3432
|
}
|
|
3420
3433
|
return e.finalUrl = t, e.finalUrl ?? "";
|
|
3421
3434
|
};
|
|
3422
|
-
function
|
|
3435
|
+
function za(e) {
|
|
3423
3436
|
return jt(e.storeName, () => {
|
|
3424
3437
|
var h;
|
|
3425
|
-
const t = fe.utc().toSeconds() / 86400, a = Y({}), l = Y({}), s = e.storageMode == "local-cache", o = e.buildUrl ?? ((h = e.api) == null ? void 0 : h.buildUrl) ??
|
|
3438
|
+
const t = fe.utc().toSeconds() / 86400, a = Y({}), l = Y({}), s = e.storageMode == "local-cache", o = e.buildUrl ?? ((h = e.api) == null ? void 0 : h.buildUrl) ?? Ha;
|
|
3426
3439
|
function A(r) {
|
|
3427
3440
|
var x, E;
|
|
3428
3441
|
return `${e.storeName}_${((x = e.auth) == null ? void 0 : x.credentials.value.userID) ?? "no-user-id"}_${r.id ?? ((E = r.data) == null ? void 0 : E.id) ?? "no-item-id"}`;
|
|
@@ -3610,7 +3623,7 @@ function bt(e) {
|
|
|
3610
3623
|
additionalUrl: "/getAll",
|
|
3611
3624
|
nav: y.nav,
|
|
3612
3625
|
params: {
|
|
3613
|
-
lastUpdate: ((_ = o.value) == null ? void 0 : _.lastUpdate) ??
|
|
3626
|
+
lastUpdate: ((_ = o.value) == null ? void 0 : _.lastUpdate) ?? sa()
|
|
3614
3627
|
}
|
|
3615
3628
|
}));
|
|
3616
3629
|
m == null ? U(m) : (t.value ?? (t.value = []), m.data.forEach((D) => {
|
|
@@ -3768,11 +3781,11 @@ function bt(e) {
|
|
|
3768
3781
|
};
|
|
3769
3782
|
});
|
|
3770
3783
|
}
|
|
3771
|
-
function
|
|
3784
|
+
function Lu(e, t, a) {
|
|
3772
3785
|
var Re;
|
|
3773
|
-
const l = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", s = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", o = e.nav ?? e.nav ?? "basic", A =
|
|
3786
|
+
const l = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", s = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", o = e.nav ?? e.nav ?? "basic", A = Pa(), S = Bt(), N = _a(), L = Y(1), R = K(e.customFilters) ?? [], b = Y([]);
|
|
3774
3787
|
let c = Y(new Array());
|
|
3775
|
-
const h = le(() =>
|
|
3788
|
+
const h = le(() => Jn([
|
|
3776
3789
|
...R.filter((j) => j.name != null).map((j) => j.name),
|
|
3777
3790
|
...e.defaultFilters ?? [],
|
|
3778
3791
|
...b.value
|
|
@@ -3784,28 +3797,28 @@ function Pu(e, t, a) {
|
|
|
3784
3797
|
...(e.headers ?? []).filter((j) => j.searchable != null && j.value != null).map((j) => j.value ?? "")
|
|
3785
3798
|
]), m = Y([]), D = Ne([]), g = Y([]);
|
|
3786
3799
|
let f;
|
|
3787
|
-
const { actionErrorMsg: C, actionLoadingMsg: G, deleteItem: J, doAction: ee, getItem: we, getAllItems: W, restoreItem: H } =
|
|
3800
|
+
const { actionErrorMsg: C, actionLoadingMsg: G, deleteItem: J, doAction: ee, getItem: we, getAllItems: W, restoreItem: H } = la({
|
|
3788
3801
|
nav: e.nav ?? e.bladeName ?? e.itemBladeName,
|
|
3789
3802
|
proxyID: y.value,
|
|
3790
|
-
store:
|
|
3803
|
+
store: ja({
|
|
3791
3804
|
storeMode: l,
|
|
3792
3805
|
storageMode: s,
|
|
3793
3806
|
storeName: o
|
|
3794
3807
|
})
|
|
3795
|
-
}), V = le(() => e.errorMsg ?? C.value), ce = le(() => e.loadingMsg ?? G.value), Z = le(() => ce.value != null), re = Ne(!1), se = Ne(e.showSearch ?? !1), me = Y(0), be = le(() => (j) => e.onCanDelete != null ? e.onCanDelete(j) : !(j != null && j.isInactive === !0)),
|
|
3808
|
+
}), V = le(() => e.errorMsg ?? C.value), ce = le(() => e.loadingMsg ?? G.value), Z = le(() => ce.value != null), re = Ne(!1), se = Ne(e.showSearch ?? !1), me = Y(0), be = le(() => (j) => e.onCanDelete != null ? e.onCanDelete(j) : !(j != null && j.isInactive === !0)), sr = le(() => (j) => U.value ? e.onCanRestore != null ? e.onCanRestore(j) : (j == null ? void 0 : j.isInactive) === !0 : !1), Le = le(() => g.value.filter((j) => !j.hide)), or = le(() => {
|
|
3796
3809
|
let j = new Array();
|
|
3797
3810
|
return Le.value.filter((Q) => Q.sublevel != null).forEach((Q) => {
|
|
3798
3811
|
let p = j.find((Ee) => Ee.position == Q.sublevel);
|
|
3799
3812
|
p == null ? j.push({ position: Q.sublevel ?? 0, values: [Q] }) : p.values.push(Q);
|
|
3800
3813
|
}), j.sort(Ze.firstBy((Q) => Q.position));
|
|
3801
|
-
}),
|
|
3814
|
+
}), hr = le(() => {
|
|
3802
3815
|
let j = new Array();
|
|
3803
3816
|
return Le.value.filter((Q) => Q.level != null).forEach((Q) => {
|
|
3804
3817
|
let p = j.find((Ee) => Ee.position == Q.level);
|
|
3805
3818
|
p == null ? j.push({ position: Q.level ?? 0, values: [Q] }) : p.values.push(Q);
|
|
3806
3819
|
}), j.sort(Ze.firstBy((Q) => Q.position));
|
|
3807
|
-
}),
|
|
3808
|
-
function
|
|
3820
|
+
}), dr = le(() => []);
|
|
3821
|
+
function mr(j) {
|
|
3809
3822
|
if (e.itemBladeName != null) {
|
|
3810
3823
|
let te = {
|
|
3811
3824
|
bladeName: e.itemBladeName,
|
|
@@ -3818,7 +3831,7 @@ function Pu(e, t, a) {
|
|
|
3818
3831
|
});
|
|
3819
3832
|
}
|
|
3820
3833
|
}
|
|
3821
|
-
function
|
|
3834
|
+
function vr(j) {
|
|
3822
3835
|
const {
|
|
3823
3836
|
additionalUrl: te,
|
|
3824
3837
|
onDeleteAsync: Q
|
|
@@ -3849,7 +3862,7 @@ function Pu(e, t, a) {
|
|
|
3849
3862
|
requireConfirmation: !0
|
|
3850
3863
|
}), t && t("deleted", j);
|
|
3851
3864
|
}
|
|
3852
|
-
function
|
|
3865
|
+
function gr(j) {
|
|
3853
3866
|
H({
|
|
3854
3867
|
data: K(j),
|
|
3855
3868
|
additionalUrl: e.additionalUrl,
|
|
@@ -3861,7 +3874,7 @@ function Pu(e, t, a) {
|
|
|
3861
3874
|
// ...(useBladeSrc ? bladeData.value : {})
|
|
3862
3875
|
});
|
|
3863
3876
|
}
|
|
3864
|
-
function
|
|
3877
|
+
function yr() {
|
|
3865
3878
|
ee(() => {
|
|
3866
3879
|
A.exportToCSV(Le.value, D.value);
|
|
3867
3880
|
}, { loadingMsg: "Exporting to CSV" });
|
|
@@ -3870,7 +3883,7 @@ function Pu(e, t, a) {
|
|
|
3870
3883
|
let j = K(m);
|
|
3871
3884
|
if (j = e.onFilter ? e.onFilter(j) : j, B.value != null && B.value.length > 0) {
|
|
3872
3885
|
let te = [...P.value];
|
|
3873
|
-
e.itemText && te.push(e.itemText), Fe(te) && (j = j.filter((Q) =>
|
|
3886
|
+
e.itemText && te.push(e.itemText), Fe(te) && (j = j.filter((Q) => ga(Q, B.value, te)));
|
|
3874
3887
|
}
|
|
3875
3888
|
D.value = j;
|
|
3876
3889
|
}
|
|
@@ -3928,7 +3941,7 @@ function Pu(e, t, a) {
|
|
|
3928
3941
|
function Me() {
|
|
3929
3942
|
se.value ? (se.value = e.showSearch ?? !1, B.value = void 0, Te()) : se.value = e.showSearch ?? !0;
|
|
3930
3943
|
}
|
|
3931
|
-
return Se(),
|
|
3944
|
+
return Se(), Kn([B], () => {
|
|
3932
3945
|
ke();
|
|
3933
3946
|
}, { debounce: 500, maxWait: 500 }), Ae([U, L], async () => {
|
|
3934
3947
|
await Te();
|
|
@@ -3938,27 +3951,27 @@ function Pu(e, t, a) {
|
|
|
3938
3951
|
Te({ deepRefresh: !0 });
|
|
3939
3952
|
}), Mt([m, () => e.items], () => {
|
|
3940
3953
|
ke();
|
|
3941
|
-
}),
|
|
3954
|
+
}), Zr(async () => {
|
|
3942
3955
|
var j;
|
|
3943
3956
|
e.eager == !0 && await Te({ deepRefresh: ((j = N.params) == null ? void 0 : j.refresh) == "true" });
|
|
3944
3957
|
}), {
|
|
3945
|
-
add:
|
|
3958
|
+
add: mr,
|
|
3946
3959
|
asyncItems: m,
|
|
3947
3960
|
currentPage: L,
|
|
3948
|
-
deleteItem:
|
|
3949
|
-
displayHeaders:
|
|
3961
|
+
deleteItem: vr,
|
|
3962
|
+
displayHeaders: dr,
|
|
3950
3963
|
errorMsg: V,
|
|
3951
|
-
exportToCSV:
|
|
3964
|
+
exportToCSV: yr,
|
|
3952
3965
|
filteredItems: D,
|
|
3953
3966
|
filters: h,
|
|
3954
3967
|
filtersChanged: x,
|
|
3955
3968
|
headerOptions: g,
|
|
3956
3969
|
isDeletable: be,
|
|
3957
3970
|
isLoading: Z,
|
|
3958
|
-
isRestorable:
|
|
3971
|
+
isRestorable: sr,
|
|
3959
3972
|
loadingMsg: ce,
|
|
3960
3973
|
refresh: Te,
|
|
3961
|
-
restoreItem:
|
|
3974
|
+
restoreItem: gr,
|
|
3962
3975
|
searchString: B,
|
|
3963
3976
|
selectedFilters: r,
|
|
3964
3977
|
selectItem: Je,
|
|
@@ -3967,19 +3980,19 @@ function Pu(e, t, a) {
|
|
|
3967
3980
|
showInactive: U,
|
|
3968
3981
|
showSearch: se,
|
|
3969
3982
|
sortOrder: _,
|
|
3970
|
-
subtitleOptions:
|
|
3983
|
+
subtitleOptions: or,
|
|
3971
3984
|
tableHeaders: Le,
|
|
3972
|
-
titleOptions:
|
|
3985
|
+
titleOptions: hr,
|
|
3973
3986
|
toggleSearch: Me,
|
|
3974
3987
|
totalPages: me
|
|
3975
3988
|
};
|
|
3976
3989
|
}
|
|
3977
|
-
const Et = Y(!0), St = Y(!1), _t = Y(),
|
|
3978
|
-
let
|
|
3979
|
-
function
|
|
3980
|
-
return
|
|
3990
|
+
const Et = Y(!0), St = Y(!1), _t = Y(), xr = Y(!1);
|
|
3991
|
+
let Nr = null, qr;
|
|
3992
|
+
function Mu() {
|
|
3993
|
+
return qr;
|
|
3981
3994
|
}
|
|
3982
|
-
function
|
|
3995
|
+
function Za(e) {
|
|
3983
3996
|
const t = e.defaultCacheExpiryHours ?? 7, a = e.navItems ?? [];
|
|
3984
3997
|
function l(c) {
|
|
3985
3998
|
var h;
|
|
@@ -4007,7 +4020,7 @@ function Ha(e) {
|
|
|
4007
4020
|
const h = S(c);
|
|
4008
4021
|
if (h == null)
|
|
4009
4022
|
return;
|
|
4010
|
-
let r =
|
|
4023
|
+
let r = Aa(h.microservice ?? "default") ?? "";
|
|
4011
4024
|
return h.path != null && (r = Ce(r, h.path)), r != null && r.endsWith("/") && (r = r.slice(0, r.length - 1)), r;
|
|
4012
4025
|
}
|
|
4013
4026
|
function L(c) {
|
|
@@ -4026,15 +4039,15 @@ function Ha(e) {
|
|
|
4026
4039
|
if (c == null)
|
|
4027
4040
|
return;
|
|
4028
4041
|
const h = typeof c == "string" ? S(c) : c;
|
|
4029
|
-
_t.value = h == null ? void 0 : h.background, St.value = (h == null ? void 0 : h.hideNavigation) !== !0, Et.value = (h == null ? void 0 : h.hideAppBar) !== !0,
|
|
4042
|
+
_t.value = h == null ? void 0 : h.background, St.value = (h == null ? void 0 : h.hideNavigation) !== !0, Et.value = (h == null ? void 0 : h.hideAppBar) !== !0, Nr != null && Nr(), xr.value = (h == null ? void 0 : h.hesitate) === !0, xr.value && (Nr = window.addEventListener("beforeunload", (r) => {
|
|
4030
4043
|
r.preventDefault();
|
|
4031
4044
|
}));
|
|
4032
4045
|
}
|
|
4033
|
-
return
|
|
4046
|
+
return qr = {
|
|
4034
4047
|
showAppBar: Et,
|
|
4035
4048
|
showAppNavigation: St,
|
|
4036
4049
|
backgroundName: _t,
|
|
4037
|
-
hesitate:
|
|
4050
|
+
hesitate: xr,
|
|
4038
4051
|
navigationItems: a,
|
|
4039
4052
|
findArchiveName: l,
|
|
4040
4053
|
findCacheHours: s,
|
|
@@ -4045,61 +4058,61 @@ function Ha(e) {
|
|
|
4045
4058
|
findPath: N,
|
|
4046
4059
|
findSingleDisplay: L,
|
|
4047
4060
|
updateNavigationProperties: b
|
|
4048
|
-
},
|
|
4061
|
+
}, qr;
|
|
4049
4062
|
}
|
|
4050
|
-
let
|
|
4051
|
-
function
|
|
4052
|
-
return
|
|
4063
|
+
let Hr;
|
|
4064
|
+
function Ru(e) {
|
|
4065
|
+
return Hr.usePresets(e);
|
|
4053
4066
|
}
|
|
4054
|
-
function
|
|
4067
|
+
function Ya(e) {
|
|
4055
4068
|
function t(a) {
|
|
4056
4069
|
if (!a)
|
|
4057
4070
|
return {};
|
|
4058
4071
|
let l = a;
|
|
4059
4072
|
return e.presets[l] ?? {};
|
|
4060
4073
|
}
|
|
4061
|
-
return
|
|
4074
|
+
return Hr = {
|
|
4062
4075
|
usePresets: t
|
|
4063
|
-
},
|
|
4076
|
+
}, Hr;
|
|
4064
4077
|
}
|
|
4065
4078
|
let At, Dt, It, xt = !1;
|
|
4066
|
-
const
|
|
4067
|
-
let
|
|
4068
|
-
function
|
|
4069
|
-
return
|
|
4079
|
+
const Tr = Y(!1), Cr = Y(!1), Nt = Y(), nr = Y();
|
|
4080
|
+
let zr;
|
|
4081
|
+
function Uu() {
|
|
4082
|
+
return zr;
|
|
4070
4083
|
}
|
|
4071
|
-
function
|
|
4084
|
+
function Ja() {
|
|
4072
4085
|
function e(A) {
|
|
4073
|
-
nr.value = A.detail,
|
|
4086
|
+
nr.value = A.detail, Cr.value = !0;
|
|
4074
4087
|
}
|
|
4075
4088
|
function t() {
|
|
4076
4089
|
xt || (xt = !0, window.location.reload());
|
|
4077
4090
|
}
|
|
4078
4091
|
function a() {
|
|
4079
4092
|
var A;
|
|
4080
|
-
(A = Nt.value) == null || A.prompt(),
|
|
4093
|
+
(A = Nt.value) == null || A.prompt(), Tr.value = !1;
|
|
4081
4094
|
}
|
|
4082
4095
|
function l() {
|
|
4083
4096
|
return !!window.matchMedia("(display-mode: standalone)").matches;
|
|
4084
4097
|
}
|
|
4085
4098
|
function s(A) {
|
|
4086
|
-
A.preventDefault(),
|
|
4099
|
+
A.preventDefault(), Tr.value = !0, Nt.value = A;
|
|
4087
4100
|
}
|
|
4088
4101
|
function o() {
|
|
4089
|
-
|
|
4102
|
+
Cr.value = !1, !(!nr.value || !nr.value.waiting) && nr.value.waiting.postMessage({ type: "SKIP_WAITING" });
|
|
4090
4103
|
}
|
|
4091
4104
|
return Jr(() => {
|
|
4092
4105
|
At == null && (At = document.addEventListener("swUpdated", e, { once: !0 })), Dt == null && (Dt = navigator.serviceWorker.addEventListener("controllerchange", t)), It == null && (It = window.addEventListener("beforeinstallprompt", s));
|
|
4093
|
-
}),
|
|
4094
|
-
canInstallApp:
|
|
4095
|
-
canUpdateApp:
|
|
4106
|
+
}), zr = {
|
|
4107
|
+
canInstallApp: Tr,
|
|
4108
|
+
canUpdateApp: Cr,
|
|
4096
4109
|
installApp: a,
|
|
4097
4110
|
isInstalled: l,
|
|
4098
4111
|
updateApp: o
|
|
4099
|
-
},
|
|
4112
|
+
}, zr;
|
|
4100
4113
|
}
|
|
4101
|
-
const
|
|
4102
|
-
function
|
|
4114
|
+
const Ka = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
|
|
4115
|
+
function Bu(e, t = {}) {
|
|
4103
4116
|
let a, l = t.handleWidth ?? 12, s = t.handleZIndex ?? 100, o = t.minWidth ?? 0, A = t.maxWidth ?? Number.MAX_SAFE_INTEGER, S = t.minHeight ?? 0, N = t.maxHeight ?? Number.MAX_SAFE_INTEGER, L = t.preventDefault ?? !1, R = t.stopPropagation ?? !1, b, c = [];
|
|
4104
4117
|
const h = Y(!1);
|
|
4105
4118
|
let r = [], x = [];
|
|
@@ -4181,7 +4194,7 @@ function Uu(e, t = {}) {
|
|
|
4181
4194
|
return;
|
|
4182
4195
|
const V = H.$el;
|
|
4183
4196
|
if (console.log(a), a !== "page" && W == "page") {
|
|
4184
|
-
const ce =
|
|
4197
|
+
const ce = ta(V), Z = ae(ce) ?? null;
|
|
4185
4198
|
let re = 0;
|
|
4186
4199
|
if (Z != null) {
|
|
4187
4200
|
const se = window.getComputedStyle(Z);
|
|
@@ -4233,7 +4246,7 @@ function Uu(e, t = {}) {
|
|
|
4233
4246
|
if (E.value)
|
|
4234
4247
|
return;
|
|
4235
4248
|
const V = ae(e);
|
|
4236
|
-
V && (_(V, W ??
|
|
4249
|
+
V && (_(V, W ?? Ka), G(H), r.push(he(V.$el, "mousedown", D)), r.push(he(V.$el, "touchstart", D)), E.value = !0, a = H);
|
|
4237
4250
|
}
|
|
4238
4251
|
function we(W) {
|
|
4239
4252
|
if (!E.value)
|
|
@@ -4249,11 +4262,11 @@ function Uu(e, t = {}) {
|
|
|
4249
4262
|
turnResizingOff: we
|
|
4250
4263
|
};
|
|
4251
4264
|
}
|
|
4252
|
-
function
|
|
4265
|
+
function $u(e) {
|
|
4253
4266
|
const t = [];
|
|
4254
|
-
return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) =>
|
|
4267
|
+
return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) => ya(a) || "Email must be valid")), t;
|
|
4255
4268
|
}
|
|
4256
|
-
function
|
|
4269
|
+
function Fu(e, t) {
|
|
4257
4270
|
const a = Y(!1), l = ar(e);
|
|
4258
4271
|
let s = o(K(e));
|
|
4259
4272
|
(t == null ? void 0 : t.useTracker) !== !1 && Ae(l, (S) => {
|
|
@@ -4276,109 +4289,109 @@ function $u(e, t) {
|
|
|
4276
4289
|
restartTracker: A
|
|
4277
4290
|
};
|
|
4278
4291
|
}
|
|
4279
|
-
function
|
|
4292
|
+
function ku(e) {
|
|
4280
4293
|
return {
|
|
4281
4294
|
install() {
|
|
4282
4295
|
var A;
|
|
4283
|
-
|
|
4284
|
-
const t =
|
|
4285
|
-
|
|
4286
|
-
const l =
|
|
4296
|
+
Ca(e);
|
|
4297
|
+
const t = Ma(), a = Za(e);
|
|
4298
|
+
Ya(e), (A = e.auth).demo ?? (A.demo = t), e.auth.getAuthItem = a.findItem;
|
|
4299
|
+
const l = Ia(e.auth), s = ba({
|
|
4287
4300
|
auth: l,
|
|
4288
4301
|
findPath: a.findPath,
|
|
4289
4302
|
useBearerToken: !0
|
|
4290
|
-
}), o =
|
|
4303
|
+
}), o = La({
|
|
4291
4304
|
getTimeZone: l.getTimeZone
|
|
4292
4305
|
});
|
|
4293
|
-
|
|
4306
|
+
Ua({
|
|
4294
4307
|
dates: o
|
|
4295
|
-
}),
|
|
4308
|
+
}), Ja(), Ga({
|
|
4296
4309
|
api: s,
|
|
4297
4310
|
auth: l
|
|
4298
|
-
}),
|
|
4311
|
+
}), Da(e.urls);
|
|
4299
4312
|
}
|
|
4300
4313
|
};
|
|
4301
4314
|
}
|
|
4302
4315
|
export {
|
|
4303
|
-
|
|
4304
|
-
|
|
4316
|
+
yu as DataURIToBlob,
|
|
4317
|
+
ou as addWeekday,
|
|
4305
4318
|
Ce as appendUrl,
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4319
|
+
cu as capitalizeWords,
|
|
4320
|
+
au as checkImage,
|
|
4321
|
+
da as containsSearch,
|
|
4322
|
+
su as containsWeekday,
|
|
4310
4323
|
Qr as copyDeep,
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4324
|
+
ha as copyItemByAlphabet,
|
|
4325
|
+
ba as createApi,
|
|
4326
|
+
Ia as createAuth,
|
|
4327
|
+
ku as createCore,
|
|
4328
|
+
Ca as createCosmetics,
|
|
4329
|
+
La as createDates,
|
|
4330
|
+
Ma as createDemo,
|
|
4331
|
+
Ua as createFilters,
|
|
4332
|
+
Za as createNavigation,
|
|
4333
|
+
Ja as createPWA,
|
|
4334
|
+
Ya as createPresets,
|
|
4335
|
+
za as createSessionStoreDefinition,
|
|
4336
|
+
Ga as createStoreBuilder,
|
|
4337
|
+
qa as createStoreDefinition,
|
|
4338
|
+
Da as createUrl,
|
|
4326
4339
|
bt as createWholeLastUpdateStoreDefinition,
|
|
4327
|
-
|
|
4328
|
-
|
|
4340
|
+
oa as csvContains,
|
|
4341
|
+
Au as csvDefaults,
|
|
4329
4342
|
Ut as deepSelect,
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4343
|
+
pa as extensionExists,
|
|
4344
|
+
ma as extractErrorDescription,
|
|
4345
|
+
ia as fromCamelCase,
|
|
4346
|
+
eu as getAreaAround,
|
|
4347
|
+
ru as getAreaToLeft,
|
|
4348
|
+
tu as getAreaToRight,
|
|
4349
|
+
nu as getGoogleMapsLocationLine,
|
|
4350
|
+
uu as getImageData,
|
|
4338
4351
|
Rt as getLocationLine,
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4352
|
+
mu as getMinDate,
|
|
4353
|
+
sa as getMinDateString,
|
|
4354
|
+
va as getRandomColor,
|
|
4355
|
+
ga as hasSearch,
|
|
4356
|
+
du as isArrayOfLength,
|
|
4344
4357
|
Fe as isLengthyArray,
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4358
|
+
fa as isMinDate,
|
|
4359
|
+
Rr as nestedValue,
|
|
4360
|
+
hu as removeWeekday,
|
|
4361
|
+
vu as roundTo,
|
|
4362
|
+
lu as toCamelCase,
|
|
4363
|
+
wu as toCompareString,
|
|
4364
|
+
gu as toggleCSV,
|
|
4365
|
+
bu as twiddleThumbs,
|
|
4366
|
+
la as useActions,
|
|
4367
|
+
ua as useActionsTracker,
|
|
4368
|
+
wa as useApi,
|
|
4369
|
+
Su as useAuth,
|
|
4357
4370
|
vt as useAuthUrl,
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4371
|
+
Pa as useCSV,
|
|
4372
|
+
_u as useCosmetics,
|
|
4373
|
+
Aa as useDataUrl,
|
|
4374
|
+
Du as useDates,
|
|
4362
4375
|
$t as useDbName,
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4376
|
+
Iu as useDemo,
|
|
4377
|
+
xu as useDocumentMeta,
|
|
4378
|
+
Nu as useDraggable,
|
|
4379
|
+
Tu as useFilters,
|
|
4380
|
+
na as useId,
|
|
4381
|
+
Lu as useList,
|
|
4382
|
+
Cu as useLocalCache,
|
|
4370
4383
|
de as useLocalDb,
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4384
|
+
Mu as useNavigation,
|
|
4385
|
+
Uu as usePWA,
|
|
4386
|
+
Ru as usePresets,
|
|
4387
|
+
Bu as useResizable,
|
|
4388
|
+
$u as useRules,
|
|
4389
|
+
Pu as useStore,
|
|
4390
|
+
ja as useStoreDefinition,
|
|
4391
|
+
Fu as useTracker,
|
|
4392
|
+
Eu as useUrls,
|
|
4393
|
+
ya as validEmail,
|
|
4381
4394
|
Ye as weekdayPairs,
|
|
4382
|
-
|
|
4383
|
-
|
|
4395
|
+
fu as weekdayShortName,
|
|
4396
|
+
iu as weekdayValue
|
|
4384
4397
|
};
|