bt-core-app 1.3.3 → 1.3.4
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 +461 -464
- package/package.json +1 -1
- package/src/composables/auth.ts +17 -21
package/dist/bt-core-app.js
CHANGED
|
@@ -12141,7 +12141,7 @@ function tr(e, t) {
|
|
|
12141
12141
|
while (a.startsWith("/"));
|
|
12142
12142
|
return `${n}/${a}`;
|
|
12143
12143
|
}
|
|
12144
|
-
function
|
|
12144
|
+
function BC(e = "blitzItExtensionExists") {
|
|
12145
12145
|
try {
|
|
12146
12146
|
var t = document.getElementById(e);
|
|
12147
12147
|
return t != null;
|
|
@@ -12149,7 +12149,7 @@ function NC(e = "blitzItExtensionExists") {
|
|
|
12149
12149
|
return console.log(A1(n)), !1;
|
|
12150
12150
|
}
|
|
12151
12151
|
}
|
|
12152
|
-
function
|
|
12152
|
+
function RC(e, t) {
|
|
12153
12153
|
return [
|
|
12154
12154
|
{ lat: e.lat - t, lng: e.lng + t },
|
|
12155
12155
|
{ lat: e.lat - t, lng: e.lng - t },
|
|
@@ -12157,7 +12157,7 @@ function BC(e, t) {
|
|
|
12157
12157
|
{ lat: e.lat + t, lng: e.lng + t }
|
|
12158
12158
|
];
|
|
12159
12159
|
}
|
|
12160
|
-
function
|
|
12160
|
+
function $C(e, t) {
|
|
12161
12161
|
return [
|
|
12162
12162
|
{ lat: e.lat - t * 2, lng: e.lng + t },
|
|
12163
12163
|
{ lat: e.lat - t * 2, lng: e.lng - t },
|
|
@@ -12165,7 +12165,7 @@ function RC(e, t) {
|
|
|
12165
12165
|
{ lat: e.lat, lng: e.lng + t }
|
|
12166
12166
|
];
|
|
12167
12167
|
}
|
|
12168
|
-
function
|
|
12168
|
+
function LC(e, t) {
|
|
12169
12169
|
return [
|
|
12170
12170
|
{ lat: e.lat, lng: e.lng + t },
|
|
12171
12171
|
{ lat: e.lat, lng: e.lng - t },
|
|
@@ -12173,7 +12173,7 @@ function $C(e, t) {
|
|
|
12173
12173
|
{ lat: e.lat + t * 2, lng: e.lng + t }
|
|
12174
12174
|
];
|
|
12175
12175
|
}
|
|
12176
|
-
function
|
|
12176
|
+
function FC(e) {
|
|
12177
12177
|
var t = Pm(e, !0);
|
|
12178
12178
|
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(" ", "");
|
|
12179
12179
|
}
|
|
@@ -12185,13 +12185,13 @@ function Pm(e, t = !1) {
|
|
|
12185
12185
|
var n = "";
|
|
12186
12186
|
return e.addressLineOne != null && !t && (n = e.addressLineOne + " "), e.streetNumber != null && (n = n + e.streetNumber + " "), e.streetName != null && (n = n + e.streetName + ", "), e.suburb != null && (n = n + e.suburb + " "), e.state != null && (n = n + e.state + " "), e.postcode != null && (n = n + e.postcode), n;
|
|
12187
12187
|
}
|
|
12188
|
-
function
|
|
12188
|
+
function OC(e, t, n) {
|
|
12189
12189
|
if (e) {
|
|
12190
12190
|
var a = new Image();
|
|
12191
12191
|
a.onload = t, a.onerror = n, a.src = e;
|
|
12192
12192
|
}
|
|
12193
12193
|
}
|
|
12194
|
-
async function
|
|
12194
|
+
async function WC(e, t = !0) {
|
|
12195
12195
|
return new Promise((n, a) => {
|
|
12196
12196
|
e == null && a("no url given");
|
|
12197
12197
|
var r = new Image();
|
|
@@ -12208,13 +12208,13 @@ async function OC(e, t = !0) {
|
|
|
12208
12208
|
function S1(e) {
|
|
12209
12209
|
return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
|
|
12210
12210
|
}
|
|
12211
|
-
function
|
|
12211
|
+
function YC(e) {
|
|
12212
12212
|
if (e != null && typeof e == "object")
|
|
12213
12213
|
for (var t in e)
|
|
12214
12214
|
/^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
|
|
12215
12215
|
return e;
|
|
12216
12216
|
}
|
|
12217
|
-
function
|
|
12217
|
+
function HC(e) {
|
|
12218
12218
|
return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (n) => n.toUpperCase()));
|
|
12219
12219
|
}
|
|
12220
12220
|
const Wl = [
|
|
@@ -12227,25 +12227,25 @@ const Wl = [
|
|
|
12227
12227
|
{ value: 7, short: "sat", values: ["sat", "saturday"] },
|
|
12228
12228
|
{ value: 0, short: "always", values: ["always", null, void 0] }
|
|
12229
12229
|
];
|
|
12230
|
-
function
|
|
12230
|
+
function zC(e) {
|
|
12231
12231
|
if (e == null)
|
|
12232
12232
|
return 0;
|
|
12233
12233
|
const t = e.replaceAll(" ", "").split(",").map((a) => a.toLowerCase()), n = Wl.filter((a) => a.values.some((r) => t.some((l) => r == l))).map((a) => a.value);
|
|
12234
12234
|
return n.length == 0 ? 8 : Math.min(...n);
|
|
12235
12235
|
}
|
|
12236
|
-
function
|
|
12236
|
+
function UC(e) {
|
|
12237
12237
|
return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
|
|
12238
12238
|
let n = Wl.find((a) => a.values.some((r) => r == t));
|
|
12239
12239
|
return n != null ? n.short : "";
|
|
12240
12240
|
}).filter((t) => t != null && t.length > 0).toString();
|
|
12241
12241
|
}
|
|
12242
|
-
function
|
|
12242
|
+
function qC(e, t) {
|
|
12243
12243
|
if (e == null || t == null)
|
|
12244
12244
|
return !0;
|
|
12245
12245
|
const n = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = t.replaceAll(" ", "").toLowerCase(), r = Wl.find((l) => l.values.some((i) => i == a));
|
|
12246
12246
|
return r != null && n.some((l) => l == r.short || r.values.some((i) => i == l));
|
|
12247
12247
|
}
|
|
12248
|
-
function
|
|
12248
|
+
function GC(e, t) {
|
|
12249
12249
|
if (t == null)
|
|
12250
12250
|
return e;
|
|
12251
12251
|
let n = e ?? "";
|
|
@@ -12253,7 +12253,7 @@ function qC(e, t) {
|
|
|
12253
12253
|
let a = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((r) => Wl.find((l) => l.values.some((i) => i == r))).filter((r) => r != null).sort(_l.firstBy((r) => (r == null ? void 0 : r.value) ?? 0)).map((r) => r == null ? void 0 : r.short))].toString();
|
|
12254
12254
|
return a.length > 0 ? a : void 0;
|
|
12255
12255
|
}
|
|
12256
|
-
function
|
|
12256
|
+
function jC(e, t) {
|
|
12257
12257
|
if (t == null || e == null)
|
|
12258
12258
|
return e;
|
|
12259
12259
|
let n = e ?? "", a = t.replaceAll(" ", "").toLowerCase(), r = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((l) => Wl.find((i) => i.values.some((s) => s == l && s != a))).filter((l) => l != null).sort(_l.firstBy((l) => (l == null ? void 0 : l.value) ?? 0)).map((l) => l == null ? void 0 : l.short))].toString();
|
|
@@ -12268,13 +12268,13 @@ function Tn(e, t = 0) {
|
|
|
12268
12268
|
function _1(e) {
|
|
12269
12269
|
return e == "0001-01-01T00:00:00Z";
|
|
12270
12270
|
}
|
|
12271
|
-
function
|
|
12271
|
+
function ZC() {
|
|
12272
12272
|
return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
|
|
12273
12273
|
}
|
|
12274
12274
|
function x1() {
|
|
12275
12275
|
return "0001-01-01T00:00:00Z";
|
|
12276
12276
|
}
|
|
12277
|
-
function
|
|
12277
|
+
function KC(e, t) {
|
|
12278
12278
|
const n = lt(e);
|
|
12279
12279
|
let a = "1", r = 0;
|
|
12280
12280
|
if (r < t)
|
|
@@ -12284,7 +12284,7 @@ function ZC(e, t) {
|
|
|
12284
12284
|
let l = Number.parseInt(a);
|
|
12285
12285
|
return Math.round(n * l) / l;
|
|
12286
12286
|
}
|
|
12287
|
-
function
|
|
12287
|
+
function QC(e, t) {
|
|
12288
12288
|
let n = e ?? "";
|
|
12289
12289
|
return t != null && (C1(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
|
|
12290
12290
|
}
|
|
@@ -12323,7 +12323,7 @@ function Vm(e, t = (n) => n) {
|
|
|
12323
12323
|
return Tn(l) && a.push(...l), a;
|
|
12324
12324
|
}, [])] : [];
|
|
12325
12325
|
}
|
|
12326
|
-
function
|
|
12326
|
+
function JC(e) {
|
|
12327
12327
|
const t = e.split(","), n = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), a = t[0].split(":")[1].split(";")[0], r = new Uint8Array(n.length);
|
|
12328
12328
|
for (let l = 0; l < n.length; l++)
|
|
12329
12329
|
r[l] = n.charCodeAt(l);
|
|
@@ -12359,10 +12359,10 @@ function E1(e, t, n) {
|
|
|
12359
12359
|
}
|
|
12360
12360
|
return !1;
|
|
12361
12361
|
}
|
|
12362
|
-
function
|
|
12362
|
+
function XC(e) {
|
|
12363
12363
|
return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
|
|
12364
12364
|
}
|
|
12365
|
-
function
|
|
12365
|
+
function eT(e = 2e3) {
|
|
12366
12366
|
return new Promise((t) => {
|
|
12367
12367
|
setTimeout(() => t(), e);
|
|
12368
12368
|
});
|
|
@@ -17944,17 +17944,165 @@ function n_(e) {
|
|
|
17944
17944
|
const n = En[t] ?? En.development;
|
|
17945
17945
|
return e == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
|
|
17946
17946
|
}
|
|
17947
|
-
function
|
|
17947
|
+
function tT() {
|
|
17948
17948
|
return En;
|
|
17949
17949
|
}
|
|
17950
17950
|
function a_(e) {
|
|
17951
17951
|
return En = e, En;
|
|
17952
17952
|
}
|
|
17953
|
-
let
|
|
17954
|
-
function
|
|
17953
|
+
let Ao;
|
|
17954
|
+
function r_() {
|
|
17955
17955
|
return Ao;
|
|
17956
17956
|
}
|
|
17957
|
-
function
|
|
17957
|
+
function l_(e) {
|
|
17958
|
+
const t = (e == null ? void 0 : e.buildHeaders) ?? i, n = (e == null ? void 0 : e.buildQuery) ?? r, a = (e == null ? void 0 : e.buildUrl) ?? l;
|
|
17959
|
+
function r(c) {
|
|
17960
|
+
let m = new URLSearchParams();
|
|
17961
|
+
return Object.entries(c).forEach((o) => {
|
|
17962
|
+
o[1] != null && m.append(o[0], o[1]);
|
|
17963
|
+
}), c.filterBy && m.set("filterBy", c.filterBy), c.includeCount && m.set("includeCount", c.includeCount.toString()), c.includeDetails != null && m.set("includeDetails", c.includeDetails.toString()), c.includeInactive && m.set("includeInactive", c.includeInactive.toString()), c.properties && m.set("properties", c.properties.toString()), c.query && m.set("query", c.query.toString()), c.searchString && m.set("searchString", c.searchString), c.sortOrder && m.set("sortOrder", c.sortOrder), c.sortBy && m.set("sortBy", c.sortBy), c.takeFrom && m.set("takeFrom", c.takeFrom.toString()), c.takeAmount && m.set("takeAmount", c.takeAmount.toString()), c.other && Object.entries(c.other).forEach((o) => {
|
|
17964
|
+
o[1] != null && m.append(o[0], o[1].toString());
|
|
17965
|
+
}), m.toString();
|
|
17966
|
+
}
|
|
17967
|
+
function l(c) {
|
|
17968
|
+
let m = lt(c.url) ?? void 0, o = lt(c.id);
|
|
17969
|
+
return m == null && c.nav != null && (e == null ? void 0 : e.findPath) != null && (m = e.findPath(c.nav)), c.additionalUrl != null && (m == null ? m = c.additionalUrl : m = tr(m, c.additionalUrl)), o != null && (m != null && m.includes("{id}") ? m = m.replaceAll("{id}", o) : m = tr(m, o)), c.params != null && (m = `${m}?${n(c.params)}`), c.finalUrl = m, c.finalUrl ?? "";
|
|
17970
|
+
}
|
|
17971
|
+
function i(c) {
|
|
17972
|
+
var y;
|
|
17973
|
+
let m = { ...c.headers };
|
|
17974
|
+
const o = (y = e == null ? void 0 : e.auth) == null ? void 0 : y.credentials;
|
|
17975
|
+
return c.proxyID && (m.ManagedCompanyAccountID ?? (m.ManagedCompanyAccountID = c.proxyID)), (e == null ? void 0 : e.useBearerToken) != !1 && (o == null ? void 0 : o.isLoggedIn) == !0 && (m.authorization ?? (m.authorization = `bearer ${o.token}`)), m["Content-Type"] ?? (m["Content-Type"] = c.contentType ?? (e == null ? void 0 : e.defaultContentType) ?? "application/json"), m;
|
|
17976
|
+
}
|
|
17977
|
+
async function s(c) {
|
|
17978
|
+
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
17979
|
+
let g = c.finalUrl, p = c.headers;
|
|
17980
|
+
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Get from ${g}`);
|
|
17981
|
+
let C;
|
|
17982
|
+
try {
|
|
17983
|
+
if (C = await fetch(g, {
|
|
17984
|
+
method: "GET",
|
|
17985
|
+
mode: "cors",
|
|
17986
|
+
cache: "no-cache",
|
|
17987
|
+
headers: p
|
|
17988
|
+
}), !C.ok) {
|
|
17989
|
+
let D = await C.text();
|
|
17990
|
+
throw new Error(D ?? C.statusText ?? "Get error");
|
|
17991
|
+
}
|
|
17992
|
+
return y ? await C.text() : o ? await C.json() : C;
|
|
17993
|
+
} catch (D) {
|
|
17994
|
+
if (!m)
|
|
17995
|
+
return C;
|
|
17996
|
+
throw new Error(D);
|
|
17997
|
+
}
|
|
17998
|
+
}
|
|
17999
|
+
async function u(c) {
|
|
18000
|
+
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
18001
|
+
let g = c.finalUrl, p = c.headers;
|
|
18002
|
+
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Get all from ${g}`);
|
|
18003
|
+
let C;
|
|
18004
|
+
try {
|
|
18005
|
+
if (C = await fetch(g, {
|
|
18006
|
+
method: "GET",
|
|
18007
|
+
mode: "cors",
|
|
18008
|
+
cache: "no-cache",
|
|
18009
|
+
headers: p
|
|
18010
|
+
}), !C.ok) {
|
|
18011
|
+
let D = await C.text();
|
|
18012
|
+
throw new Error(D ?? C.statusText ?? "Get all error");
|
|
18013
|
+
}
|
|
18014
|
+
return y ? await C.text() : o ? await C.json() : C;
|
|
18015
|
+
} catch (D) {
|
|
18016
|
+
if (!m)
|
|
18017
|
+
return C;
|
|
18018
|
+
throw new Error(D);
|
|
18019
|
+
}
|
|
18020
|
+
}
|
|
18021
|
+
async function f(c) {
|
|
18022
|
+
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
18023
|
+
let g = c.finalUrl, p = c.headers;
|
|
18024
|
+
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Post to ${g}`);
|
|
18025
|
+
let C;
|
|
18026
|
+
try {
|
|
18027
|
+
if (C = await fetch(g, {
|
|
18028
|
+
method: "POST",
|
|
18029
|
+
mode: "cors",
|
|
18030
|
+
cache: "no-cache",
|
|
18031
|
+
headers: p,
|
|
18032
|
+
body: JSON.stringify(c.data)
|
|
18033
|
+
}), !C.ok) {
|
|
18034
|
+
let D = await C.text();
|
|
18035
|
+
throw new Error(D ?? C.statusText ?? "Post error!");
|
|
18036
|
+
}
|
|
18037
|
+
return y ? await C.text() : o ? await C.json() : C;
|
|
18038
|
+
} catch (D) {
|
|
18039
|
+
if (!m)
|
|
18040
|
+
return C;
|
|
18041
|
+
if (C.status == 200)
|
|
18042
|
+
return;
|
|
18043
|
+
throw new Error(D);
|
|
18044
|
+
}
|
|
18045
|
+
}
|
|
18046
|
+
async function v(c) {
|
|
18047
|
+
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
18048
|
+
let g = c.finalUrl, p = c.headers;
|
|
18049
|
+
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Patch to ${g}`);
|
|
18050
|
+
let C;
|
|
18051
|
+
try {
|
|
18052
|
+
if (C = await fetch(g, {
|
|
18053
|
+
method: "PATCH",
|
|
18054
|
+
mode: "cors",
|
|
18055
|
+
cache: "no-cache",
|
|
18056
|
+
headers: p,
|
|
18057
|
+
body: JSON.stringify(c.data)
|
|
18058
|
+
}), !C.ok) {
|
|
18059
|
+
let D = await C.text();
|
|
18060
|
+
throw new Error(D ?? C.statusText ?? "Patch error!");
|
|
18061
|
+
}
|
|
18062
|
+
return y ? await C.text() : o ? await C.json() : C;
|
|
18063
|
+
} catch (D) {
|
|
18064
|
+
if (!m)
|
|
18065
|
+
return C;
|
|
18066
|
+
if (C.status == 200)
|
|
18067
|
+
return;
|
|
18068
|
+
throw new Error(D);
|
|
18069
|
+
}
|
|
18070
|
+
}
|
|
18071
|
+
async function d(c) {
|
|
18072
|
+
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0;
|
|
18073
|
+
let o = c.finalUrl, y = c.headers;
|
|
18074
|
+
o == null && (o = a(c)), c.overrideHeaders !== !0 && (y = t(c)), console.log(`Delete ${o}`);
|
|
18075
|
+
let g;
|
|
18076
|
+
try {
|
|
18077
|
+
return g = await fetch(o, {
|
|
18078
|
+
method: "DELETE",
|
|
18079
|
+
mode: "cors",
|
|
18080
|
+
cache: "no-cache",
|
|
18081
|
+
headers: y,
|
|
18082
|
+
body: JSON.stringify(c.data)
|
|
18083
|
+
}), g.status == 200 ? void 0 : g.statusText;
|
|
18084
|
+
} catch (p) {
|
|
18085
|
+
if (!m)
|
|
18086
|
+
return g;
|
|
18087
|
+
throw new Error(p);
|
|
18088
|
+
}
|
|
18089
|
+
}
|
|
18090
|
+
return Ao = {
|
|
18091
|
+
buildHeaders: t,
|
|
18092
|
+
buildQuery: n,
|
|
18093
|
+
buildUrl: a,
|
|
18094
|
+
deleteItem: d,
|
|
18095
|
+
get: s,
|
|
18096
|
+
getAll: u,
|
|
18097
|
+
patch: v,
|
|
18098
|
+
post: f
|
|
18099
|
+
}, Ao;
|
|
18100
|
+
}
|
|
18101
|
+
let Qs = "Australia/Melbourne", Mo;
|
|
18102
|
+
function Lv() {
|
|
18103
|
+
return Mo;
|
|
18104
|
+
}
|
|
18105
|
+
function i_(e) {
|
|
17958
18106
|
const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", n = Do("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), a = Do("auth-credentials", {});
|
|
17959
18107
|
function r(h) {
|
|
17960
18108
|
if (h == null)
|
|
@@ -18071,7 +18219,6 @@ function r_(e) {
|
|
|
18071
18219
|
}
|
|
18072
18220
|
async function g(h, M) {
|
|
18073
18221
|
return e.getToken ?? (e.getToken = async () => {
|
|
18074
|
-
var H;
|
|
18075
18222
|
let w = h, k = M, B = e.oauthGrantType ?? "authorization_token", L = e.oauthClientID ?? "";
|
|
18076
18223
|
if (w == null || k == null)
|
|
18077
18224
|
throw new Error("Code and State required in OAuth token process");
|
|
@@ -18081,13 +18228,11 @@ function r_(e) {
|
|
|
18081
18228
|
e.getTokenUrl ?? (e.getTokenUrl = () => tr(Bd(), "token")), F = e.getTokenUrl(w, `${window.location.origin}/authentication`, B, L);
|
|
18082
18229
|
const ee = {};
|
|
18083
18230
|
ee.grant_type = B, ee.code = w, ee.redirect_uri = `${window.location.origin}/authentication`, ee.client_id = L;
|
|
18084
|
-
const I = await (
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
|
|
18088
|
-
|
|
18089
|
-
})).json();
|
|
18090
|
-
p((H = I.value) == null ? void 0 : H.access_token);
|
|
18231
|
+
const I = await r_().post({
|
|
18232
|
+
additionalUrl: F,
|
|
18233
|
+
data: ee
|
|
18234
|
+
});
|
|
18235
|
+
p(I.access_token);
|
|
18091
18236
|
}), await e.getToken(h, M);
|
|
18092
18237
|
}
|
|
18093
18238
|
function p(h) {
|
|
@@ -18119,7 +18264,7 @@ function r_(e) {
|
|
|
18119
18264
|
const M = Pe.fromFormat(h.expiresOn, t), w = Pe.utc();
|
|
18120
18265
|
return M <= w;
|
|
18121
18266
|
}
|
|
18122
|
-
return D(),
|
|
18267
|
+
return D(), Mo = {
|
|
18123
18268
|
authState: n.value,
|
|
18124
18269
|
canEdit: r,
|
|
18125
18270
|
canEditPermit: l,
|
|
@@ -18135,7 +18280,7 @@ function r_(e) {
|
|
|
18135
18280
|
logout: o,
|
|
18136
18281
|
setAuth: p,
|
|
18137
18282
|
tryLogin: A
|
|
18138
|
-
},
|
|
18283
|
+
}, Mo;
|
|
18139
18284
|
}
|
|
18140
18285
|
const Fv = es.reduce((e, t) => (e[t] = {
|
|
18141
18286
|
type: [Boolean, String, Number],
|
|
@@ -18157,7 +18302,7 @@ const Fv = es.reduce((e, t) => (e[t] = {
|
|
|
18157
18302
|
offset: Object.keys(Ov),
|
|
18158
18303
|
order: Object.keys(Wv)
|
|
18159
18304
|
};
|
|
18160
|
-
function
|
|
18305
|
+
function s_(e, t, n) {
|
|
18161
18306
|
let a = e;
|
|
18162
18307
|
if (!(n == null || n === !1)) {
|
|
18163
18308
|
if (t) {
|
|
@@ -18167,7 +18312,7 @@ function l_(e, t, n) {
|
|
|
18167
18312
|
return e === "col" && (a = "v-" + a), e === "col" && (n === "" || n === !0) || (a += `-${n}`), a.toLowerCase();
|
|
18168
18313
|
}
|
|
18169
18314
|
}
|
|
18170
|
-
const
|
|
18315
|
+
const o_ = ["auto", "start", "end", "center", "baseline", "stretch"], u_ = ke({
|
|
18171
18316
|
cols: {
|
|
18172
18317
|
type: [Boolean, String, Number],
|
|
18173
18318
|
default: !1
|
|
@@ -18186,13 +18331,13 @@ const i_ = ["auto", "start", "end", "center", "baseline", "stretch"], s_ = ke({
|
|
|
18186
18331
|
alignSelf: {
|
|
18187
18332
|
type: String,
|
|
18188
18333
|
default: null,
|
|
18189
|
-
validator: (e) =>
|
|
18334
|
+
validator: (e) => o_.includes(e)
|
|
18190
18335
|
},
|
|
18191
18336
|
...ct(),
|
|
18192
18337
|
...dn()
|
|
18193
18338
|
}, "VCol"), It = We()({
|
|
18194
18339
|
name: "VCol",
|
|
18195
|
-
props:
|
|
18340
|
+
props: u_(),
|
|
18196
18341
|
setup(e, t) {
|
|
18197
18342
|
let {
|
|
18198
18343
|
slots: n
|
|
@@ -18202,7 +18347,7 @@ const i_ = ["auto", "start", "end", "center", "baseline", "stretch"], s_ = ke({
|
|
|
18202
18347
|
let l;
|
|
18203
18348
|
for (l in Rd)
|
|
18204
18349
|
Rd[l].forEach((s) => {
|
|
18205
|
-
const u = e[s], f =
|
|
18350
|
+
const u = e[s], f = s_(l, s, u);
|
|
18206
18351
|
f && r.push(f);
|
|
18207
18352
|
});
|
|
18208
18353
|
const i = r.some((s) => s.startsWith("v-col-"));
|
|
@@ -18230,15 +18375,15 @@ function Lu(e, t) {
|
|
|
18230
18375
|
return n[r] = t(), n;
|
|
18231
18376
|
}, {});
|
|
18232
18377
|
}
|
|
18233
|
-
const
|
|
18378
|
+
const c_ = [...$u, "baseline", "stretch"], Hv = (e) => c_.includes(e), zv = Lu("align", () => ({
|
|
18234
18379
|
type: String,
|
|
18235
18380
|
default: null,
|
|
18236
18381
|
validator: Hv
|
|
18237
|
-
})),
|
|
18382
|
+
})), d_ = [...$u, ...Yv], Uv = (e) => d_.includes(e), qv = Lu("justify", () => ({
|
|
18238
18383
|
type: String,
|
|
18239
18384
|
default: null,
|
|
18240
18385
|
validator: Uv
|
|
18241
|
-
})),
|
|
18386
|
+
})), f_ = [...$u, ...Yv, "stretch"], Gv = (e) => f_.includes(e), jv = Lu("alignContent", () => ({
|
|
18242
18387
|
type: String,
|
|
18243
18388
|
default: null,
|
|
18244
18389
|
validator: Gv
|
|
@@ -18246,13 +18391,13 @@ const o_ = [...$u, "baseline", "stretch"], Hv = (e) => o_.includes(e), zv = Lu("
|
|
|
18246
18391
|
align: Object.keys(zv),
|
|
18247
18392
|
justify: Object.keys(qv),
|
|
18248
18393
|
alignContent: Object.keys(jv)
|
|
18249
|
-
},
|
|
18394
|
+
}, m_ = {
|
|
18250
18395
|
align: "align",
|
|
18251
18396
|
justify: "justify",
|
|
18252
18397
|
alignContent: "align-content"
|
|
18253
18398
|
};
|
|
18254
|
-
function
|
|
18255
|
-
let a =
|
|
18399
|
+
function v_(e, t, n) {
|
|
18400
|
+
let a = m_[e];
|
|
18256
18401
|
if (n != null) {
|
|
18257
18402
|
if (t) {
|
|
18258
18403
|
const r = t.replace(e, "");
|
|
@@ -18261,7 +18406,7 @@ function f_(e, t, n) {
|
|
|
18261
18406
|
return a += `-${n}`, a.toLowerCase();
|
|
18262
18407
|
}
|
|
18263
18408
|
}
|
|
18264
|
-
const
|
|
18409
|
+
const h_ = ke({
|
|
18265
18410
|
dense: Boolean,
|
|
18266
18411
|
noGutters: Boolean,
|
|
18267
18412
|
align: {
|
|
@@ -18286,7 +18431,7 @@ const m_ = ke({
|
|
|
18286
18431
|
...dn()
|
|
18287
18432
|
}, "VRow"), Rr = We()({
|
|
18288
18433
|
name: "VRow",
|
|
18289
|
-
props:
|
|
18434
|
+
props: h_(),
|
|
18290
18435
|
setup(e, t) {
|
|
18291
18436
|
let {
|
|
18292
18437
|
slots: n
|
|
@@ -18296,7 +18441,7 @@ const m_ = ke({
|
|
|
18296
18441
|
let l;
|
|
18297
18442
|
for (l in $d)
|
|
18298
18443
|
$d[l].forEach((i) => {
|
|
18299
|
-
const s = e[i], u =
|
|
18444
|
+
const s = e[i], u = v_(l, i, s);
|
|
18300
18445
|
u && r.push(u);
|
|
18301
18446
|
});
|
|
18302
18447
|
return r.push({
|
|
@@ -18315,7 +18460,7 @@ const m_ = ke({
|
|
|
18315
18460
|
}, (r = n.default) == null ? void 0 : r.call(n));
|
|
18316
18461
|
};
|
|
18317
18462
|
}
|
|
18318
|
-
}),
|
|
18463
|
+
}), y_ = /* @__PURE__ */ Qe({
|
|
18319
18464
|
__name: "Dialog-Select-Date",
|
|
18320
18465
|
props: {
|
|
18321
18466
|
cancelText: {},
|
|
@@ -18428,10 +18573,10 @@ const m_ = ke({
|
|
|
18428
18573
|
_: 1
|
|
18429
18574
|
}, 8, ["modelValue"]));
|
|
18430
18575
|
}
|
|
18431
|
-
}),
|
|
18576
|
+
}), nT = {
|
|
18432
18577
|
canExportCSV: !1
|
|
18433
18578
|
};
|
|
18434
|
-
function
|
|
18579
|
+
function g_() {
|
|
18435
18580
|
function e(t, n, a = "csvData.csv") {
|
|
18436
18581
|
if (!Tn(t))
|
|
18437
18582
|
return;
|
|
@@ -18477,8 +18622,8 @@ function h_() {
|
|
|
18477
18622
|
exportToCSV: e
|
|
18478
18623
|
};
|
|
18479
18624
|
}
|
|
18480
|
-
function
|
|
18481
|
-
const { actionErrorMsg: t, actionLoadingMsg: n, clearErrors: a, isLoading: r, doAction: l, logError: i } =
|
|
18625
|
+
function b_(e) {
|
|
18626
|
+
const { actionErrorMsg: t, actionLoadingMsg: n, clearErrors: a, isLoading: r, doAction: l, logError: i } = ix(e);
|
|
18482
18627
|
function s(o) {
|
|
18483
18628
|
o.nav ?? (o.nav = e == null ? void 0 : e.nav), o.proxyID ?? (o.proxyID = e == null ? void 0 : e.proxyID), o.refresh ?? (o.refresh = e == null ? void 0 : e.refresh), o.throwError ?? (o.throwError = e == null ? void 0 : e.throwError), o.url ?? (o.url = e == null ? void 0 : e.url), o.confirmationMsg ?? (o.confirmationMsg = o.requireConfirmation === !0 ? "Are you sure you want to delete this item?" : void 0), o.store ?? (o.store = e == null ? void 0 : e.store);
|
|
18484
18629
|
const y = (o == null ? void 0 : o.store) ?? (e == null ? void 0 : e.store);
|
|
@@ -18586,7 +18731,7 @@ function y_(e) {
|
|
|
18586
18731
|
}
|
|
18587
18732
|
function Fu(e, t, n) {
|
|
18588
18733
|
var st;
|
|
18589
|
-
const a = e.storeMode ?? (n == null ? void 0 : n.storeMode) ?? "session", r = e.storageMode ?? (n == null ? void 0 : n.storageMode) ?? "local-cache", l = e.nav ?? e.nav ?? "basic", i =
|
|
18734
|
+
const a = e.storeMode ?? (n == null ? void 0 : n.storeMode) ?? "session", r = e.storageMode ?? (n == null ? void 0 : n.storageMode) ?? "local-cache", l = e.nav ?? e.nav ?? "basic", i = g_(), s = Rv(), u = t_(), f = Y(1), v = lt(e.customFilters) ?? [], d = Y([]);
|
|
18590
18735
|
let c = Y(new Array());
|
|
18591
18736
|
const m = T(() => zk([
|
|
18592
18737
|
...v.filter((we) => we.name != null).map((we) => we.name),
|
|
@@ -18600,10 +18745,10 @@ function Fu(e, t, n) {
|
|
|
18600
18745
|
...(e.headers ?? []).filter((we) => we.searchable != null && we.value != null).map((we) => we.value ?? "")
|
|
18601
18746
|
]), h = Y([]), M = Ye([]), w = Y([]);
|
|
18602
18747
|
let k;
|
|
18603
|
-
const { actionErrorMsg: B, actionLoadingMsg: L, deleteItem: F, doAction: ee, getItem: R, getAllItems: I, restoreItem: H } =
|
|
18748
|
+
const { actionErrorMsg: B, actionLoadingMsg: L, deleteItem: F, doAction: ee, getItem: R, getAllItems: I, restoreItem: H } = b_({
|
|
18604
18749
|
nav: e.nav ?? e.bladeName ?? e.itemBladeName,
|
|
18605
18750
|
proxyID: p.value,
|
|
18606
|
-
store:
|
|
18751
|
+
store: xx({
|
|
18607
18752
|
storeMode: a,
|
|
18608
18753
|
storageMode: r,
|
|
18609
18754
|
storeName: l
|
|
@@ -18790,9 +18935,9 @@ function Fu(e, t, n) {
|
|
|
18790
18935
|
totalPages: x
|
|
18791
18936
|
};
|
|
18792
18937
|
}
|
|
18793
|
-
const
|
|
18938
|
+
const Eo = Symbol.for("vuetify:list");
|
|
18794
18939
|
function Zv() {
|
|
18795
|
-
const e = Ne(
|
|
18940
|
+
const e = Ne(Eo, {
|
|
18796
18941
|
hasPrepend: Ye(!1),
|
|
18797
18942
|
updateHasPrepend: () => null
|
|
18798
18943
|
}), t = {
|
|
@@ -18801,12 +18946,12 @@ function Zv() {
|
|
|
18801
18946
|
n && (t.hasPrepend.value = n);
|
|
18802
18947
|
}
|
|
18803
18948
|
};
|
|
18804
|
-
return In(
|
|
18949
|
+
return In(Eo, t), e;
|
|
18805
18950
|
}
|
|
18806
18951
|
function Kv() {
|
|
18807
|
-
return Ne(
|
|
18952
|
+
return Ne(Eo, null);
|
|
18808
18953
|
}
|
|
18809
|
-
const
|
|
18954
|
+
const p_ = {
|
|
18810
18955
|
open: (e) => {
|
|
18811
18956
|
let {
|
|
18812
18957
|
id: t,
|
|
@@ -18843,7 +18988,7 @@ const g_ = {
|
|
|
18843
18988
|
return a;
|
|
18844
18989
|
},
|
|
18845
18990
|
select: () => null
|
|
18846
|
-
},
|
|
18991
|
+
}, w_ = {
|
|
18847
18992
|
open: Qv.open,
|
|
18848
18993
|
select: (e) => {
|
|
18849
18994
|
let {
|
|
@@ -18921,7 +19066,7 @@ const g_ = {
|
|
|
18921
19066
|
},
|
|
18922
19067
|
out: (a, r, l) => t.out(a, r, l)
|
|
18923
19068
|
};
|
|
18924
|
-
},
|
|
19069
|
+
}, S_ = (e) => {
|
|
18925
19070
|
const t = Ou(e);
|
|
18926
19071
|
return {
|
|
18927
19072
|
select: (a) => {
|
|
@@ -18941,7 +19086,7 @@ const g_ = {
|
|
|
18941
19086
|
in: t.in,
|
|
18942
19087
|
out: t.out
|
|
18943
19088
|
};
|
|
18944
|
-
},
|
|
19089
|
+
}, k_ = (e) => {
|
|
18945
19090
|
const t = Jv(e);
|
|
18946
19091
|
return {
|
|
18947
19092
|
select: (a) => {
|
|
@@ -18961,7 +19106,7 @@ const g_ = {
|
|
|
18961
19106
|
in: t.in,
|
|
18962
19107
|
out: t.out
|
|
18963
19108
|
};
|
|
18964
|
-
},
|
|
19109
|
+
}, __ = (e) => {
|
|
18965
19110
|
const t = {
|
|
18966
19111
|
select: (n) => {
|
|
18967
19112
|
let {
|
|
@@ -19021,38 +19166,38 @@ const g_ = {
|
|
|
19021
19166
|
selected: Y(/* @__PURE__ */ new Map()),
|
|
19022
19167
|
selectedValues: Y([])
|
|
19023
19168
|
}
|
|
19024
|
-
},
|
|
19169
|
+
}, x_ = ke({
|
|
19025
19170
|
selectStrategy: [String, Function],
|
|
19026
19171
|
openStrategy: [String, Object],
|
|
19027
19172
|
opened: Array,
|
|
19028
19173
|
selected: Array,
|
|
19029
19174
|
mandatory: Boolean
|
|
19030
|
-
}, "nested"),
|
|
19175
|
+
}, "nested"), C_ = (e) => {
|
|
19031
19176
|
let t = !1;
|
|
19032
19177
|
const n = Y(/* @__PURE__ */ new Map()), a = Y(/* @__PURE__ */ new Map()), r = xt(e, "opened", e.opened, (d) => new Set(d), (d) => [...d.values()]), l = T(() => {
|
|
19033
19178
|
if (typeof e.selectStrategy == "object")
|
|
19034
19179
|
return e.selectStrategy;
|
|
19035
19180
|
switch (e.selectStrategy) {
|
|
19036
19181
|
case "single-leaf":
|
|
19037
|
-
return
|
|
19182
|
+
return k_(e.mandatory);
|
|
19038
19183
|
case "leaf":
|
|
19039
|
-
return
|
|
19184
|
+
return S_(e.mandatory);
|
|
19040
19185
|
case "independent":
|
|
19041
19186
|
return Ou(e.mandatory);
|
|
19042
19187
|
case "single-independent":
|
|
19043
19188
|
return Jv(e.mandatory);
|
|
19044
19189
|
case "classic":
|
|
19045
19190
|
default:
|
|
19046
|
-
return
|
|
19191
|
+
return __(e.mandatory);
|
|
19047
19192
|
}
|
|
19048
19193
|
}), i = T(() => {
|
|
19049
19194
|
if (typeof e.openStrategy == "object")
|
|
19050
19195
|
return e.openStrategy;
|
|
19051
19196
|
switch (e.openStrategy) {
|
|
19052
19197
|
case "list":
|
|
19053
|
-
return
|
|
19198
|
+
return w_;
|
|
19054
19199
|
case "single":
|
|
19055
|
-
return
|
|
19200
|
+
return p_;
|
|
19056
19201
|
case "multiple":
|
|
19057
19202
|
default:
|
|
19058
19203
|
return Qv;
|
|
@@ -19161,14 +19306,14 @@ const g_ = {
|
|
|
19161
19306
|
return !n.isGroupActivator && n.root.register(r.value, n.id.value, t), oa(() => {
|
|
19162
19307
|
!n.isGroupActivator && n.root.unregister(r.value);
|
|
19163
19308
|
}), t && In(Cl, l), l;
|
|
19164
|
-
},
|
|
19309
|
+
}, T_ = () => {
|
|
19165
19310
|
const e = Ne(Cl, Xv);
|
|
19166
19311
|
In(Cl, {
|
|
19167
19312
|
...e,
|
|
19168
19313
|
isGroupActivator: !0
|
|
19169
19314
|
});
|
|
19170
19315
|
};
|
|
19171
|
-
function
|
|
19316
|
+
function D_() {
|
|
19172
19317
|
const e = Ye(!1);
|
|
19173
19318
|
return bt(() => {
|
|
19174
19319
|
window.requestAnimationFrame(() => {
|
|
@@ -19181,18 +19326,18 @@ function C_() {
|
|
|
19181
19326
|
isBooted: zi(e)
|
|
19182
19327
|
};
|
|
19183
19328
|
}
|
|
19184
|
-
const
|
|
19329
|
+
const A_ = El({
|
|
19185
19330
|
name: "VListGroupActivator",
|
|
19186
19331
|
setup(e, t) {
|
|
19187
19332
|
let {
|
|
19188
19333
|
slots: n
|
|
19189
19334
|
} = t;
|
|
19190
|
-
return
|
|
19335
|
+
return T_(), () => {
|
|
19191
19336
|
var a;
|
|
19192
19337
|
return (a = n.default) == null ? void 0 : a.call(n);
|
|
19193
19338
|
};
|
|
19194
19339
|
}
|
|
19195
|
-
}),
|
|
19340
|
+
}), M_ = ke({
|
|
19196
19341
|
/* @deprecated */
|
|
19197
19342
|
activeColor: String,
|
|
19198
19343
|
baseColor: String,
|
|
@@ -19215,7 +19360,7 @@ const T_ = El({
|
|
|
19215
19360
|
...dn()
|
|
19216
19361
|
}, "VListGroup"), Ld = We()({
|
|
19217
19362
|
name: "VListGroup",
|
|
19218
|
-
props:
|
|
19363
|
+
props: M_(),
|
|
19219
19364
|
setup(e, t) {
|
|
19220
19365
|
let {
|
|
19221
19366
|
slots: n
|
|
@@ -19226,7 +19371,7 @@ const T_ = El({
|
|
|
19226
19371
|
id: l
|
|
19227
19372
|
} = eh(Oe(e, "value"), !0), i = T(() => `v-list-group--id-${String(l.value)}`), s = Kv(), {
|
|
19228
19373
|
isBooted: u
|
|
19229
|
-
} =
|
|
19374
|
+
} = D_();
|
|
19230
19375
|
function f(m) {
|
|
19231
19376
|
r(!a.value, m);
|
|
19232
19377
|
}
|
|
@@ -19258,7 +19403,7 @@ const T_ = El({
|
|
|
19258
19403
|
default: () => [n.activator && _(Qt, {
|
|
19259
19404
|
defaults: c.value
|
|
19260
19405
|
}, {
|
|
19261
|
-
default: () => [_(
|
|
19406
|
+
default: () => [_(A_, null, {
|
|
19262
19407
|
default: () => [n.activator({
|
|
19263
19408
|
props: v.value,
|
|
19264
19409
|
isOpen: a.value
|
|
@@ -19281,7 +19426,7 @@ const T_ = El({
|
|
|
19281
19426
|
})]
|
|
19282
19427
|
})), {};
|
|
19283
19428
|
}
|
|
19284
|
-
}), $a = Il("v-list-item-subtitle"), La = Il("v-list-item-title"),
|
|
19429
|
+
}), $a = Il("v-list-item-subtitle"), La = Il("v-list-item-title"), E_ = ke({
|
|
19285
19430
|
active: {
|
|
19286
19431
|
type: Boolean,
|
|
19287
19432
|
default: void 0
|
|
@@ -19328,7 +19473,7 @@ const T_ = El({
|
|
|
19328
19473
|
directives: {
|
|
19329
19474
|
Ripple: Bl
|
|
19330
19475
|
},
|
|
19331
|
-
props:
|
|
19476
|
+
props: E_(),
|
|
19332
19477
|
emits: {
|
|
19333
19478
|
click: (e) => !0
|
|
19334
19479
|
},
|
|
@@ -19504,16 +19649,16 @@ const T_ = El({
|
|
|
19504
19649
|
}), [[Sa("ripple"), p.value && e.ripple]]);
|
|
19505
19650
|
}), {};
|
|
19506
19651
|
}
|
|
19507
|
-
}),
|
|
19652
|
+
}), I_ = ke({
|
|
19508
19653
|
color: String,
|
|
19509
19654
|
inset: Boolean,
|
|
19510
19655
|
sticky: Boolean,
|
|
19511
19656
|
title: String,
|
|
19512
19657
|
...ct(),
|
|
19513
19658
|
...dn()
|
|
19514
|
-
}, "VListSubheader"),
|
|
19659
|
+
}, "VListSubheader"), P_ = We()({
|
|
19515
19660
|
name: "VListSubheader",
|
|
19516
|
-
props:
|
|
19661
|
+
props: I_(),
|
|
19517
19662
|
setup(e, t) {
|
|
19518
19663
|
let {
|
|
19519
19664
|
slots: n
|
|
@@ -19542,7 +19687,7 @@ const T_ = El({
|
|
|
19542
19687
|
});
|
|
19543
19688
|
}), {};
|
|
19544
19689
|
}
|
|
19545
|
-
}),
|
|
19690
|
+
}), V_ = ke({
|
|
19546
19691
|
color: String,
|
|
19547
19692
|
inset: Boolean,
|
|
19548
19693
|
length: [Number, String],
|
|
@@ -19550,9 +19695,9 @@ const T_ = El({
|
|
|
19550
19695
|
vertical: Boolean,
|
|
19551
19696
|
...ct(),
|
|
19552
19697
|
...en()
|
|
19553
|
-
}, "VDivider"),
|
|
19698
|
+
}, "VDivider"), N_ = We()({
|
|
19554
19699
|
name: "VDivider",
|
|
19555
|
-
props:
|
|
19700
|
+
props: V_(),
|
|
19556
19701
|
setup(e, t) {
|
|
19557
19702
|
let {
|
|
19558
19703
|
attrs: n
|
|
@@ -19577,12 +19722,12 @@ const T_ = El({
|
|
|
19577
19722
|
role: `${n.role || "separator"}`
|
|
19578
19723
|
}, null)), {};
|
|
19579
19724
|
}
|
|
19580
|
-
}),
|
|
19725
|
+
}), B_ = ke({
|
|
19581
19726
|
items: Array,
|
|
19582
19727
|
returnObject: Boolean
|
|
19583
19728
|
}, "VListChildren"), th = We()({
|
|
19584
19729
|
name: "VListChildren",
|
|
19585
|
-
props:
|
|
19730
|
+
props: B_(),
|
|
19586
19731
|
setup(e, t) {
|
|
19587
19732
|
let {
|
|
19588
19733
|
slots: n
|
|
@@ -19600,11 +19745,11 @@ const T_ = El({
|
|
|
19600
19745
|
if (u === "divider")
|
|
19601
19746
|
return ((c = n.divider) == null ? void 0 : c.call(n, {
|
|
19602
19747
|
props: s
|
|
19603
|
-
})) ?? _(
|
|
19748
|
+
})) ?? _(N_, s, null);
|
|
19604
19749
|
if (u === "subheader")
|
|
19605
19750
|
return ((m = n.subheader) == null ? void 0 : m.call(n, {
|
|
19606
19751
|
props: s
|
|
19607
|
-
})) ?? _(
|
|
19752
|
+
})) ?? _(P_, s, null);
|
|
19608
19753
|
const v = {
|
|
19609
19754
|
subtitle: n.subtitle ? (o) => {
|
|
19610
19755
|
var y;
|
|
@@ -19733,11 +19878,11 @@ function rh(e) {
|
|
|
19733
19878
|
transformOut: r
|
|
19734
19879
|
};
|
|
19735
19880
|
}
|
|
19736
|
-
function
|
|
19881
|
+
function R_(e) {
|
|
19737
19882
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
19738
19883
|
}
|
|
19739
|
-
function
|
|
19740
|
-
const n = Kn(t, e.itemType, "item"), a =
|
|
19884
|
+
function $_(e, t) {
|
|
19885
|
+
const n = Kn(t, e.itemType, "item"), a = R_(t) ? t : Kn(t, e.itemTitle), r = Kn(t, e.itemValue, void 0), l = Kn(t, e.itemChildren), i = e.itemProps === !0 ? ka(t, ["children"]) : Kn(t, e.itemProps), s = {
|
|
19741
19886
|
title: a,
|
|
19742
19887
|
value: r,
|
|
19743
19888
|
...i
|
|
@@ -19754,15 +19899,15 @@ function B_(e, t) {
|
|
|
19754
19899
|
function lh(e, t) {
|
|
19755
19900
|
const n = [];
|
|
19756
19901
|
for (const a of t)
|
|
19757
|
-
n.push(
|
|
19902
|
+
n.push($_(e, a));
|
|
19758
19903
|
return n;
|
|
19759
19904
|
}
|
|
19760
|
-
function
|
|
19905
|
+
function L_(e) {
|
|
19761
19906
|
return {
|
|
19762
19907
|
items: T(() => lh(e, e.items))
|
|
19763
19908
|
};
|
|
19764
19909
|
}
|
|
19765
|
-
const
|
|
19910
|
+
const F_ = ke({
|
|
19766
19911
|
baseColor: String,
|
|
19767
19912
|
/* @deprecated */
|
|
19768
19913
|
activeColor: String,
|
|
@@ -19775,7 +19920,7 @@ const $_ = ke({
|
|
|
19775
19920
|
},
|
|
19776
19921
|
slim: Boolean,
|
|
19777
19922
|
nav: Boolean,
|
|
19778
|
-
...
|
|
19923
|
+
...x_({
|
|
19779
19924
|
selectStrategy: "single-leaf",
|
|
19780
19925
|
openStrategy: "list"
|
|
19781
19926
|
}),
|
|
@@ -19797,7 +19942,7 @@ const $_ = ke({
|
|
|
19797
19942
|
})
|
|
19798
19943
|
}, "VList"), ea = We()({
|
|
19799
19944
|
name: "VList",
|
|
19800
|
-
props:
|
|
19945
|
+
props: F_(),
|
|
19801
19946
|
emits: {
|
|
19802
19947
|
"update:selected": (e) => !0,
|
|
19803
19948
|
"update:opened": (e) => !0,
|
|
@@ -19810,7 +19955,7 @@ const $_ = ke({
|
|
|
19810
19955
|
} = t;
|
|
19811
19956
|
const {
|
|
19812
19957
|
items: a
|
|
19813
|
-
} =
|
|
19958
|
+
} = L_(e), {
|
|
19814
19959
|
themeClasses: r
|
|
19815
19960
|
} = fn(e), {
|
|
19816
19961
|
backgroundColorClasses: l,
|
|
@@ -19828,7 +19973,7 @@ const $_ = ke({
|
|
|
19828
19973
|
} = fa(e), {
|
|
19829
19974
|
open: c,
|
|
19830
19975
|
select: m
|
|
19831
|
-
} =
|
|
19976
|
+
} = C_(e), o = T(() => e.lines ? `v-list--${e.lines}-line` : void 0), y = Oe(e, "activeColor"), g = Oe(e, "baseColor"), p = Oe(e, "color");
|
|
19832
19977
|
Zv(), Lr({
|
|
19833
19978
|
VListGroup: {
|
|
19834
19979
|
activeColor: y,
|
|
@@ -19908,7 +20053,7 @@ const $_ = ke({
|
|
|
19908
20053
|
focus: w
|
|
19909
20054
|
};
|
|
19910
20055
|
}
|
|
19911
|
-
}),
|
|
20056
|
+
}), O_ = ke({
|
|
19912
20057
|
active: Boolean,
|
|
19913
20058
|
max: [Number, String],
|
|
19914
20059
|
value: {
|
|
@@ -19924,7 +20069,7 @@ const $_ = ke({
|
|
|
19924
20069
|
}, "VCounter"), ih = We()({
|
|
19925
20070
|
name: "VCounter",
|
|
19926
20071
|
functional: !0,
|
|
19927
|
-
props:
|
|
20072
|
+
props: O_(),
|
|
19928
20073
|
setup(e, t) {
|
|
19929
20074
|
let {
|
|
19930
20075
|
slots: n
|
|
@@ -19943,14 +20088,14 @@ const $_ = ke({
|
|
|
19943
20088
|
}) : a.value]), [[ta, e.active]])]
|
|
19944
20089
|
})), {};
|
|
19945
20090
|
}
|
|
19946
|
-
}),
|
|
20091
|
+
}), W_ = ke({
|
|
19947
20092
|
text: String,
|
|
19948
20093
|
clickable: Boolean,
|
|
19949
20094
|
...ct(),
|
|
19950
20095
|
...en()
|
|
19951
20096
|
}, "VLabel"), sh = We()({
|
|
19952
20097
|
name: "VLabel",
|
|
19953
|
-
props:
|
|
20098
|
+
props: W_(),
|
|
19954
20099
|
setup(e, t) {
|
|
19955
20100
|
let {
|
|
19956
20101
|
slots: n
|
|
@@ -19965,12 +20110,12 @@ const $_ = ke({
|
|
|
19965
20110
|
}, [e.text, (a = n.default) == null ? void 0 : a.call(n)]);
|
|
19966
20111
|
}), {};
|
|
19967
20112
|
}
|
|
19968
|
-
}),
|
|
20113
|
+
}), Y_ = ke({
|
|
19969
20114
|
floating: Boolean,
|
|
19970
20115
|
...ct()
|
|
19971
20116
|
}, "VFieldLabel"), ui = We()({
|
|
19972
20117
|
name: "VFieldLabel",
|
|
19973
|
-
props:
|
|
20118
|
+
props: Y_(),
|
|
19974
20119
|
setup(e, t) {
|
|
19975
20120
|
let {
|
|
19976
20121
|
slots: n
|
|
@@ -20031,7 +20176,7 @@ function ql(e) {
|
|
|
20031
20176
|
blur: l
|
|
20032
20177
|
};
|
|
20033
20178
|
}
|
|
20034
|
-
const
|
|
20179
|
+
const H_ = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Wu = ke({
|
|
20035
20180
|
appendInnerIcon: St,
|
|
20036
20181
|
bgColor: String,
|
|
20037
20182
|
clearable: Boolean,
|
|
@@ -20061,7 +20206,7 @@ const W_ = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
|
|
|
20061
20206
|
variant: {
|
|
20062
20207
|
type: String,
|
|
20063
20208
|
default: "filled",
|
|
20064
|
-
validator: (e) =>
|
|
20209
|
+
validator: (e) => H_.includes(e)
|
|
20065
20210
|
},
|
|
20066
20211
|
"onClick:clear": na(),
|
|
20067
20212
|
"onClick:appendInner": na(),
|
|
@@ -20259,7 +20404,7 @@ function ch(e) {
|
|
|
20259
20404
|
const t = Object.keys(Yu.props).filter((n) => !Uo(n) && n !== "class" && n !== "style");
|
|
20260
20405
|
return nf(e, t);
|
|
20261
20406
|
}
|
|
20262
|
-
const
|
|
20407
|
+
const z_ = ke({
|
|
20263
20408
|
active: Boolean,
|
|
20264
20409
|
color: String,
|
|
20265
20410
|
messages: {
|
|
@@ -20274,9 +20419,9 @@ const Y_ = ke({
|
|
|
20274
20419
|
group: !0
|
|
20275
20420
|
}
|
|
20276
20421
|
})
|
|
20277
|
-
}, "VMessages"),
|
|
20422
|
+
}, "VMessages"), U_ = We()({
|
|
20278
20423
|
name: "VMessages",
|
|
20279
|
-
props:
|
|
20424
|
+
props: z_(),
|
|
20280
20425
|
setup(e, t) {
|
|
20281
20426
|
let {
|
|
20282
20427
|
slots: n
|
|
@@ -20301,11 +20446,11 @@ const Y_ = ke({
|
|
|
20301
20446
|
}) : i]))]
|
|
20302
20447
|
})), {};
|
|
20303
20448
|
}
|
|
20304
|
-
}),
|
|
20449
|
+
}), q_ = Symbol.for("vuetify:form");
|
|
20305
20450
|
function Hu() {
|
|
20306
|
-
return Ne(
|
|
20451
|
+
return Ne(q_, null);
|
|
20307
20452
|
}
|
|
20308
|
-
const
|
|
20453
|
+
const G_ = ke({
|
|
20309
20454
|
disabled: {
|
|
20310
20455
|
type: Boolean,
|
|
20311
20456
|
default: null
|
|
@@ -20334,7 +20479,7 @@ const U_ = ke({
|
|
|
20334
20479
|
validationValue: null,
|
|
20335
20480
|
...uh()
|
|
20336
20481
|
}, "validation");
|
|
20337
|
-
function
|
|
20482
|
+
function j_(e) {
|
|
20338
20483
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ua(), n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Un();
|
|
20339
20484
|
const a = xt(e, "modelValue"), r = T(() => e.validationValue === void 0 ? a.value : e.validationValue), l = Hu(), i = Y([]), s = Ye(!0), u = T(() => !!(Mn(a.value === "" ? null : a.value).length || Mn(r.value === "" ? null : r.value).length)), f = T(() => !!(e.disabled ?? (l == null ? void 0 : l.isDisabled.value))), v = T(() => !!(e.readonly ?? (l == null ? void 0 : l.isReadonly.value))), d = T(() => {
|
|
20340
20485
|
var S;
|
|
@@ -20449,7 +20594,7 @@ const Gl = ke({
|
|
|
20449
20594
|
"onClick:append": na(),
|
|
20450
20595
|
...ct(),
|
|
20451
20596
|
...ca(),
|
|
20452
|
-
...
|
|
20597
|
+
...G_()
|
|
20453
20598
|
}, "VInput"), Fa = We()({
|
|
20454
20599
|
name: "VInput",
|
|
20455
20600
|
props: {
|
|
@@ -20482,7 +20627,7 @@ const Gl = ke({
|
|
|
20482
20627
|
resetValidation: D,
|
|
20483
20628
|
validate: S,
|
|
20484
20629
|
validationClasses: A
|
|
20485
|
-
} =
|
|
20630
|
+
} = j_(e, "v-input", f), b = T(() => ({
|
|
20486
20631
|
id: f,
|
|
20487
20632
|
messagesId: v,
|
|
20488
20633
|
isDirty: c,
|
|
@@ -20523,7 +20668,7 @@ const Gl = ke({
|
|
|
20523
20668
|
name: "append"
|
|
20524
20669
|
}, null), (ee = a.append) == null ? void 0 : ee.call(a, b.value)]), B && _("div", {
|
|
20525
20670
|
class: "v-input__details"
|
|
20526
|
-
}, [_(
|
|
20671
|
+
}, [_(U_, {
|
|
20527
20672
|
id: v.value,
|
|
20528
20673
|
active: k,
|
|
20529
20674
|
messages: h.value
|
|
@@ -20538,7 +20683,7 @@ const Gl = ke({
|
|
|
20538
20683
|
errorMessages: d
|
|
20539
20684
|
};
|
|
20540
20685
|
}
|
|
20541
|
-
}),
|
|
20686
|
+
}), Z_ = ["color", "file", "time", "date", "datetime-local", "week", "month"], zu = ke({
|
|
20542
20687
|
autofocus: Boolean,
|
|
20543
20688
|
counter: [Boolean, Number, String],
|
|
20544
20689
|
counterValue: [Number, Function],
|
|
@@ -20588,7 +20733,7 @@ const Gl = ke({
|
|
|
20588
20733
|
var M, w;
|
|
20589
20734
|
!e.autofocus || !b || (w = (M = h[0].target) == null ? void 0 : M.focus) == null || w.call(M);
|
|
20590
20735
|
}
|
|
20591
|
-
const m = Y(), o = Y(), y = Y(), g = T(() =>
|
|
20736
|
+
const m = Y(), o = Y(), y = Y(), g = T(() => Z_.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
|
|
20592
20737
|
function p() {
|
|
20593
20738
|
var b;
|
|
20594
20739
|
y.value !== document.activeElement && ((b = y.value) == null || b.focus()), i.value || s();
|
|
@@ -20712,7 +20857,7 @@ const Gl = ke({
|
|
|
20712
20857
|
});
|
|
20713
20858
|
}), sr({}, m, o, y);
|
|
20714
20859
|
}
|
|
20715
|
-
}),
|
|
20860
|
+
}), K_ = /* @__PURE__ */ Qe({
|
|
20716
20861
|
__name: "Dialog-Select",
|
|
20717
20862
|
props: {
|
|
20718
20863
|
cancelText: {},
|
|
@@ -20956,7 +21101,7 @@ const Gl = ke({
|
|
|
20956
21101
|
_: 3
|
|
20957
21102
|
}, 8, ["modelValue"]));
|
|
20958
21103
|
}
|
|
20959
|
-
}),
|
|
21104
|
+
}), Q_ = { class: "text-h6" }, J_ = /* @__PURE__ */ Qe({
|
|
20960
21105
|
__name: "Dialog-Text",
|
|
20961
21106
|
props: {
|
|
20962
21107
|
cancelText: {},
|
|
@@ -21072,7 +21217,7 @@ const Gl = ke({
|
|
|
21072
21217
|
modelValue: i.value,
|
|
21073
21218
|
"onUpdate:modelValue": v[0] || (v[0] = (d) => i.value = d)
|
|
21074
21219
|
}, null, 8, ["label", "modelValue"]),
|
|
21075
|
-
$e("div",
|
|
21220
|
+
$e("div", Q_, Be(f.msg), 1)
|
|
21076
21221
|
]),
|
|
21077
21222
|
_: 1
|
|
21078
21223
|
}),
|
|
@@ -21104,45 +21249,45 @@ const Gl = ke({
|
|
|
21104
21249
|
_: 1
|
|
21105
21250
|
}, 8, ["modelValue"]));
|
|
21106
21251
|
}
|
|
21107
|
-
}),
|
|
21108
|
-
function
|
|
21252
|
+
}), X_ = Al(Uf), ex = Al(y_), tx = Al(K_), nx = Al(J_);
|
|
21253
|
+
function aT(e, t, n) {
|
|
21109
21254
|
if (n) {
|
|
21110
21255
|
const { reveal: a, onConfirm: r } = Al(Uf, t);
|
|
21111
21256
|
r(e), a();
|
|
21112
21257
|
} else
|
|
21113
21258
|
e();
|
|
21114
21259
|
}
|
|
21115
|
-
async function
|
|
21116
|
-
const { isCanceled: t } = await
|
|
21260
|
+
async function ax(e) {
|
|
21261
|
+
const { isCanceled: t } = await X_.reveal({ msg: e });
|
|
21117
21262
|
return !t;
|
|
21118
21263
|
}
|
|
21119
|
-
async function aT(e) {
|
|
21120
|
-
const { data: t } = await X_.reveal(e);
|
|
21121
|
-
return t;
|
|
21122
|
-
}
|
|
21123
21264
|
async function rT(e) {
|
|
21124
|
-
const { data: t } = await
|
|
21265
|
+
const { data: t } = await tx.reveal(e);
|
|
21125
21266
|
return t;
|
|
21126
21267
|
}
|
|
21127
21268
|
async function lT(e) {
|
|
21128
21269
|
const { data: t } = await ex.reveal(e);
|
|
21129
21270
|
return t;
|
|
21130
21271
|
}
|
|
21131
|
-
function
|
|
21132
|
-
|
|
21272
|
+
async function iT(e) {
|
|
21273
|
+
const { data: t } = await nx.reveal(e);
|
|
21274
|
+
return t;
|
|
21275
|
+
}
|
|
21276
|
+
function rx(e) {
|
|
21277
|
+
return (e || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, lx);
|
|
21133
21278
|
}
|
|
21134
|
-
function
|
|
21279
|
+
function lx(e) {
|
|
21135
21280
|
const t = Math.random() * 16 | 0;
|
|
21136
21281
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
21137
21282
|
}
|
|
21138
|
-
function
|
|
21283
|
+
function ix(e) {
|
|
21139
21284
|
const t = Y([]), n = Ye(), a = Ye(), r = Ye(), l = T(() => n.value != null);
|
|
21140
21285
|
function i(d) {
|
|
21141
21286
|
t.value = t.value.filter((c) => c.id != d);
|
|
21142
21287
|
}
|
|
21143
21288
|
function s(d) {
|
|
21144
21289
|
const c = {
|
|
21145
|
-
id:
|
|
21290
|
+
id: rx(),
|
|
21146
21291
|
msg: d ?? "Loading"
|
|
21147
21292
|
};
|
|
21148
21293
|
return t.value.push(c), c.id;
|
|
@@ -21159,7 +21304,7 @@ function rx(e) {
|
|
|
21159
21304
|
const o = s(m.loadingMsg);
|
|
21160
21305
|
let y = null;
|
|
21161
21306
|
try {
|
|
21162
|
-
return (m.requireConfirmation || m.confirmationMsg) && !await
|
|
21307
|
+
return (m.requireConfirmation || m.confirmationMsg) && !await ax(m.confirmationMsg ?? "Are you sure?") ? void 0 : (y = await d(), m.completionMsg != null && (r.value = m.completionMsg), y);
|
|
21163
21308
|
} catch (g) {
|
|
21164
21309
|
if (m.throwError == !0)
|
|
21165
21310
|
return y;
|
|
@@ -21180,154 +21325,6 @@ function rx(e) {
|
|
|
21180
21325
|
logError: u
|
|
21181
21326
|
};
|
|
21182
21327
|
}
|
|
21183
|
-
let Eo;
|
|
21184
|
-
function iT() {
|
|
21185
|
-
return Eo;
|
|
21186
|
-
}
|
|
21187
|
-
function lx(e) {
|
|
21188
|
-
const t = (e == null ? void 0 : e.buildHeaders) ?? i, n = (e == null ? void 0 : e.buildQuery) ?? r, a = (e == null ? void 0 : e.buildUrl) ?? l;
|
|
21189
|
-
function r(c) {
|
|
21190
|
-
let m = new URLSearchParams();
|
|
21191
|
-
return Object.entries(c).forEach((o) => {
|
|
21192
|
-
o[1] != null && m.append(o[0], o[1]);
|
|
21193
|
-
}), c.filterBy && m.set("filterBy", c.filterBy), c.includeCount && m.set("includeCount", c.includeCount.toString()), c.includeDetails != null && m.set("includeDetails", c.includeDetails.toString()), c.includeInactive && m.set("includeInactive", c.includeInactive.toString()), c.properties && m.set("properties", c.properties.toString()), c.query && m.set("query", c.query.toString()), c.searchString && m.set("searchString", c.searchString), c.sortOrder && m.set("sortOrder", c.sortOrder), c.sortBy && m.set("sortBy", c.sortBy), c.takeFrom && m.set("takeFrom", c.takeFrom.toString()), c.takeAmount && m.set("takeAmount", c.takeAmount.toString()), c.other && Object.entries(c.other).forEach((o) => {
|
|
21194
|
-
o[1] != null && m.append(o[0], o[1].toString());
|
|
21195
|
-
}), m.toString();
|
|
21196
|
-
}
|
|
21197
|
-
function l(c) {
|
|
21198
|
-
let m = lt(c.url) ?? void 0, o = lt(c.id);
|
|
21199
|
-
return m == null && c.nav != null && (e == null ? void 0 : e.findPath) != null && (m = e.findPath(c.nav)), c.additionalUrl != null && (m == null ? m = c.additionalUrl : m = tr(m, c.additionalUrl)), o != null && (m != null && m.includes("{id}") ? m = m.replaceAll("{id}", o) : m = tr(m, o)), c.params != null && (m = `${m}?${n(c.params)}`), c.finalUrl = m, c.finalUrl ?? "";
|
|
21200
|
-
}
|
|
21201
|
-
function i(c) {
|
|
21202
|
-
var y;
|
|
21203
|
-
let m = { ...c.headers };
|
|
21204
|
-
const o = (y = e == null ? void 0 : e.auth) == null ? void 0 : y.credentials;
|
|
21205
|
-
return c.proxyID && (m.ManagedCompanyAccountID ?? (m.ManagedCompanyAccountID = c.proxyID)), (e == null ? void 0 : e.useBearerToken) != !1 && (o == null ? void 0 : o.isLoggedIn) == !0 && (m.authorization ?? (m.authorization = `bearer ${o.token}`)), m["Content-Type"] ?? (m["Content-Type"] = c.contentType ?? (e == null ? void 0 : e.defaultContentType) ?? "application/json"), m;
|
|
21206
|
-
}
|
|
21207
|
-
async function s(c) {
|
|
21208
|
-
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
21209
|
-
let g = c.finalUrl, p = c.headers;
|
|
21210
|
-
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Get from ${g}`);
|
|
21211
|
-
let C;
|
|
21212
|
-
try {
|
|
21213
|
-
if (C = await fetch(g, {
|
|
21214
|
-
method: "GET",
|
|
21215
|
-
mode: "cors",
|
|
21216
|
-
cache: "no-cache",
|
|
21217
|
-
headers: p
|
|
21218
|
-
}), !C.ok) {
|
|
21219
|
-
let D = await C.text();
|
|
21220
|
-
throw new Error(D ?? C.statusText ?? "Get error");
|
|
21221
|
-
}
|
|
21222
|
-
return y ? await C.text() : o ? await C.json() : C;
|
|
21223
|
-
} catch (D) {
|
|
21224
|
-
if (!m)
|
|
21225
|
-
return C;
|
|
21226
|
-
throw new Error(D);
|
|
21227
|
-
}
|
|
21228
|
-
}
|
|
21229
|
-
async function u(c) {
|
|
21230
|
-
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
21231
|
-
let g = c.finalUrl, p = c.headers;
|
|
21232
|
-
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Get all from ${g}`);
|
|
21233
|
-
let C;
|
|
21234
|
-
try {
|
|
21235
|
-
if (C = await fetch(g, {
|
|
21236
|
-
method: "GET",
|
|
21237
|
-
mode: "cors",
|
|
21238
|
-
cache: "no-cache",
|
|
21239
|
-
headers: p
|
|
21240
|
-
}), !C.ok) {
|
|
21241
|
-
let D = await C.text();
|
|
21242
|
-
throw new Error(D ?? C.statusText ?? "Get all error");
|
|
21243
|
-
}
|
|
21244
|
-
return y ? await C.text() : o ? await C.json() : C;
|
|
21245
|
-
} catch (D) {
|
|
21246
|
-
if (!m)
|
|
21247
|
-
return C;
|
|
21248
|
-
throw new Error(D);
|
|
21249
|
-
}
|
|
21250
|
-
}
|
|
21251
|
-
async function f(c) {
|
|
21252
|
-
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
21253
|
-
let g = c.finalUrl, p = c.headers;
|
|
21254
|
-
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Post to ${g}`);
|
|
21255
|
-
let C;
|
|
21256
|
-
try {
|
|
21257
|
-
if (C = await fetch(g, {
|
|
21258
|
-
method: "POST",
|
|
21259
|
-
mode: "cors",
|
|
21260
|
-
cache: "no-cache",
|
|
21261
|
-
headers: p,
|
|
21262
|
-
body: JSON.stringify(c.data)
|
|
21263
|
-
}), !C.ok) {
|
|
21264
|
-
let D = await C.text();
|
|
21265
|
-
throw new Error(D ?? C.statusText ?? "Post error!");
|
|
21266
|
-
}
|
|
21267
|
-
return y ? await C.text() : o ? await C.json() : C;
|
|
21268
|
-
} catch (D) {
|
|
21269
|
-
if (!m)
|
|
21270
|
-
return C;
|
|
21271
|
-
if (C.status == 200)
|
|
21272
|
-
return;
|
|
21273
|
-
throw new Error(D);
|
|
21274
|
-
}
|
|
21275
|
-
}
|
|
21276
|
-
async function v(c) {
|
|
21277
|
-
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0, o = c.returnJson ?? (e == null ? void 0 : e.defaultReturnJson) ?? !0, y = c.returnText ?? (e == null ? void 0 : e.defaultReturnText) ?? !1;
|
|
21278
|
-
let g = c.finalUrl, p = c.headers;
|
|
21279
|
-
g == null && (g = a(c)), c.overrideHeaders !== !0 && (p = t(c)), console.log(`Patch to ${g}`);
|
|
21280
|
-
let C;
|
|
21281
|
-
try {
|
|
21282
|
-
if (C = await fetch(g, {
|
|
21283
|
-
method: "PATCH",
|
|
21284
|
-
mode: "cors",
|
|
21285
|
-
cache: "no-cache",
|
|
21286
|
-
headers: p,
|
|
21287
|
-
body: JSON.stringify(c.data)
|
|
21288
|
-
}), !C.ok) {
|
|
21289
|
-
let D = await C.text();
|
|
21290
|
-
throw new Error(D ?? C.statusText ?? "Patch error!");
|
|
21291
|
-
}
|
|
21292
|
-
return y ? await C.text() : o ? await C.json() : C;
|
|
21293
|
-
} catch (D) {
|
|
21294
|
-
if (!m)
|
|
21295
|
-
return C;
|
|
21296
|
-
if (C.status == 200)
|
|
21297
|
-
return;
|
|
21298
|
-
throw new Error(D);
|
|
21299
|
-
}
|
|
21300
|
-
}
|
|
21301
|
-
async function d(c) {
|
|
21302
|
-
const m = c.throwError ?? (e == null ? void 0 : e.defaultThrowError) ?? !0;
|
|
21303
|
-
let o = c.finalUrl, y = c.headers;
|
|
21304
|
-
o == null && (o = a(c)), c.overrideHeaders !== !0 && (y = t(c)), console.log(`Delete ${o}`);
|
|
21305
|
-
let g;
|
|
21306
|
-
try {
|
|
21307
|
-
return g = await fetch(o, {
|
|
21308
|
-
method: "DELETE",
|
|
21309
|
-
mode: "cors",
|
|
21310
|
-
cache: "no-cache",
|
|
21311
|
-
headers: y,
|
|
21312
|
-
body: JSON.stringify(c.data)
|
|
21313
|
-
}), g.status == 200 ? void 0 : g.statusText;
|
|
21314
|
-
} catch (p) {
|
|
21315
|
-
if (!m)
|
|
21316
|
-
return g;
|
|
21317
|
-
throw new Error(p);
|
|
21318
|
-
}
|
|
21319
|
-
}
|
|
21320
|
-
return Eo = {
|
|
21321
|
-
buildHeaders: t,
|
|
21322
|
-
buildQuery: n,
|
|
21323
|
-
buildUrl: a,
|
|
21324
|
-
deleteItem: d,
|
|
21325
|
-
get: s,
|
|
21326
|
-
getAll: u,
|
|
21327
|
-
patch: v,
|
|
21328
|
-
post: f
|
|
21329
|
-
}, Eo;
|
|
21330
|
-
}
|
|
21331
21328
|
const Io = {
|
|
21332
21329
|
primary: "#192233",
|
|
21333
21330
|
secondary: "#192233",
|
|
@@ -21406,7 +21403,7 @@ function sT() {
|
|
|
21406
21403
|
undoTemporaryColor: s
|
|
21407
21404
|
};
|
|
21408
21405
|
}
|
|
21409
|
-
function
|
|
21406
|
+
function sx(e) {
|
|
21410
21407
|
qt = Do("cosmetics", {
|
|
21411
21408
|
theme: e.defaultTheme ?? "light",
|
|
21412
21409
|
light: e.defaultLightTheme ?? Io,
|
|
@@ -21416,10 +21413,10 @@ function ix(e) {
|
|
|
21416
21413
|
}), ul = e;
|
|
21417
21414
|
}
|
|
21418
21415
|
let Vo;
|
|
21419
|
-
function
|
|
21416
|
+
function ox() {
|
|
21420
21417
|
return Vo;
|
|
21421
21418
|
}
|
|
21422
|
-
function
|
|
21419
|
+
function ux(e) {
|
|
21423
21420
|
function t() {
|
|
21424
21421
|
var s;
|
|
21425
21422
|
return ((s = a()) == null ? void 0 : s.startOf("day").toUTC().toString()) ?? "";
|
|
@@ -21465,7 +21462,7 @@ let No;
|
|
|
21465
21462
|
function oT() {
|
|
21466
21463
|
return No;
|
|
21467
21464
|
}
|
|
21468
|
-
function
|
|
21465
|
+
function cx() {
|
|
21469
21466
|
const e = Y(!1);
|
|
21470
21467
|
function t() {
|
|
21471
21468
|
}
|
|
@@ -21477,7 +21474,7 @@ function ux() {
|
|
|
21477
21474
|
startDemo: t
|
|
21478
21475
|
}, No;
|
|
21479
21476
|
}
|
|
21480
|
-
var
|
|
21477
|
+
var dx = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
21481
21478
|
function uT(e) {
|
|
21482
21479
|
function t(n) {
|
|
21483
21480
|
var r;
|
|
@@ -21485,7 +21482,7 @@ function uT(e) {
|
|
|
21485
21482
|
if (a)
|
|
21486
21483
|
document.title = a.meta.title;
|
|
21487
21484
|
else {
|
|
21488
|
-
const l =
|
|
21485
|
+
const l = dx.NODE_ENV;
|
|
21489
21486
|
let i = "";
|
|
21490
21487
|
l == "development" ? i = "BWeb Dev" : l == "staging" ? i = "BlitzIt Sandpit" : i = "BlitzIt Web | Cloud-Based Wholesale Logistics Platform", ((r = e == null ? void 0 : e.demo) == null ? void 0 : r.isDemoing.value) == !0 && (i = `Training: ${i}`), document.title = i;
|
|
21491
21488
|
}
|
|
@@ -21569,7 +21566,7 @@ let Bo;
|
|
|
21569
21566
|
function hs() {
|
|
21570
21567
|
return Bo;
|
|
21571
21568
|
}
|
|
21572
|
-
function
|
|
21569
|
+
function fx(e) {
|
|
21573
21570
|
function t(w, k, B) {
|
|
21574
21571
|
return w ? _1(w) ? B ?? "" : e.dates.tzString(w, k) : B ?? w ?? "";
|
|
21575
21572
|
}
|
|
@@ -23146,8 +23143,8 @@ var dh = { exports: {} };
|
|
|
23146
23143
|
}, { 3: 3 }] }, {}, [4])(4);
|
|
23147
23144
|
});
|
|
23148
23145
|
})(dh);
|
|
23149
|
-
var
|
|
23150
|
-
const fh = /* @__PURE__ */ w1(
|
|
23146
|
+
var mx = dh.exports;
|
|
23147
|
+
const fh = /* @__PURE__ */ w1(mx);
|
|
23151
23148
|
let di = null;
|
|
23152
23149
|
fh.config({
|
|
23153
23150
|
name: $v()
|
|
@@ -23184,7 +23181,7 @@ let Xs = null, Ro;
|
|
|
23184
23181
|
function fT() {
|
|
23185
23182
|
return Ro;
|
|
23186
23183
|
}
|
|
23187
|
-
function
|
|
23184
|
+
function vx(e) {
|
|
23188
23185
|
const t = e.defaultCacheExpiryHours ?? 7, n = e.navItems ?? [];
|
|
23189
23186
|
function a(c) {
|
|
23190
23187
|
var m;
|
|
@@ -23253,10 +23250,10 @@ function mx(e) {
|
|
|
23253
23250
|
}, Ro;
|
|
23254
23251
|
}
|
|
23255
23252
|
let $o;
|
|
23256
|
-
function
|
|
23253
|
+
function hx(e) {
|
|
23257
23254
|
return $o.usePresets(e);
|
|
23258
23255
|
}
|
|
23259
|
-
function
|
|
23256
|
+
function yx(e) {
|
|
23260
23257
|
function t(n) {
|
|
23261
23258
|
if (!n)
|
|
23262
23259
|
return {};
|
|
@@ -23273,7 +23270,7 @@ let Lo;
|
|
|
23273
23270
|
function mT() {
|
|
23274
23271
|
return Lo;
|
|
23275
23272
|
}
|
|
23276
|
-
function
|
|
23273
|
+
function gx() {
|
|
23277
23274
|
function e(i) {
|
|
23278
23275
|
fi.value = i.detail, to.value = !0;
|
|
23279
23276
|
}
|
|
@@ -23303,7 +23300,7 @@ function yx() {
|
|
|
23303
23300
|
updateApp: l
|
|
23304
23301
|
}, Lo;
|
|
23305
23302
|
}
|
|
23306
|
-
const
|
|
23303
|
+
const bx = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
|
|
23307
23304
|
function vT(e, t = {}) {
|
|
23308
23305
|
let n, a = t.handleWidth ?? 12, r = t.handleZIndex ?? 100, l = t.minWidth ?? 0, i = t.maxWidth ?? Number.MAX_SAFE_INTEGER, s = t.minHeight ?? 0, u = t.maxHeight ?? Number.MAX_SAFE_INTEGER, f = t.preventDefault ?? !1, v = t.stopPropagation ?? !1, d, c = [];
|
|
23309
23306
|
const m = Y(!1);
|
|
@@ -23438,7 +23435,7 @@ function vT(e, t = {}) {
|
|
|
23438
23435
|
if (g.value)
|
|
23439
23436
|
return;
|
|
23440
23437
|
const N = $t(e);
|
|
23441
|
-
N && (A(N, I ??
|
|
23438
|
+
N && (A(N, I ?? bx), L(H), o.push(nn(N.$el, "mousedown", M)), o.push(nn(N.$el, "touchstart", M)), g.value = !0, n = H);
|
|
23442
23439
|
}
|
|
23443
23440
|
function R(I) {
|
|
23444
23441
|
if (!g.value)
|
|
@@ -23458,7 +23455,7 @@ function hT(e) {
|
|
|
23458
23455
|
const t = [];
|
|
23459
23456
|
return (e == null ? void 0 : e.required) == !0 && t.push((n) => !!n || "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((n) => !!n || "Password is required"), t.push((n) => n != null && n.length > 9 || "Password must be 10 or more characters"), t.push((n) => /^(.*[a-z].*)$/.test(n) || "Password must contain a lowercase letter"), t.push((n) => /^(.*[A-Z].*)$/.test(n) || "Password must contain an uppercase letter"), t.push((n) => /^(.*\d.*)$/.test(n) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((n) => !!n || "Email is required"), t.push((n) => I1(n) || "Email must be valid")), t;
|
|
23460
23457
|
}
|
|
23461
|
-
var
|
|
23458
|
+
var px = !1;
|
|
23462
23459
|
function mi(e, t, n) {
|
|
23463
23460
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
23464
23461
|
}
|
|
@@ -23475,7 +23472,7 @@ function no(e, t) {
|
|
|
23475
23472
|
* @license MIT
|
|
23476
23473
|
*/
|
|
23477
23474
|
let cl;
|
|
23478
|
-
const $i = (e) => cl = e,
|
|
23475
|
+
const $i = (e) => cl = e, wx = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
23479
23476
|
/* istanbul ignore next */
|
|
23480
23477
|
Symbol()
|
|
23481
23478
|
);
|
|
@@ -23512,7 +23509,7 @@ function pr(e, ...t) {
|
|
|
23512
23509
|
n(...t);
|
|
23513
23510
|
});
|
|
23514
23511
|
}
|
|
23515
|
-
const
|
|
23512
|
+
const Sx = (e) => e();
|
|
23516
23513
|
function Fo(e, t) {
|
|
23517
23514
|
e instanceof Map && t instanceof Map && t.forEach((n, a) => e.set(a, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
23518
23515
|
for (const n in t) {
|
|
@@ -23523,12 +23520,12 @@ function Fo(e, t) {
|
|
|
23523
23520
|
}
|
|
23524
23521
|
return e;
|
|
23525
23522
|
}
|
|
23526
|
-
const
|
|
23523
|
+
const kx = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
23527
23524
|
/* istanbul ignore next */
|
|
23528
23525
|
Symbol()
|
|
23529
23526
|
);
|
|
23530
|
-
function
|
|
23531
|
-
return !nr(e) || !e.hasOwnProperty(
|
|
23527
|
+
function _x(e) {
|
|
23528
|
+
return !nr(e) || !e.hasOwnProperty(kx);
|
|
23532
23529
|
}
|
|
23533
23530
|
const { assign: Cn } = Object;
|
|
23534
23531
|
function jd(e) {
|
|
@@ -23560,7 +23557,7 @@ function Oo(e, t, n = {}, a, r, l) {
|
|
|
23560
23557
|
deep: !0
|
|
23561
23558
|
// flush: 'post',
|
|
23562
23559
|
};
|
|
23563
|
-
process.env.NODE_ENV !== "production" && !
|
|
23560
|
+
process.env.NODE_ENV !== "production" && !px && (u.onTrigger = (k) => {
|
|
23564
23561
|
f ? m = k : f == !1 && !h._hotUpdating && (Array.isArray(m) ? m.push(k) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
23565
23562
|
});
|
|
23566
23563
|
let f, v, d = [], c = [], m;
|
|
@@ -23659,11 +23656,11 @@ function Oo(e, t, n = {}, a, r, l) {
|
|
|
23659
23656
|
// setupStore
|
|
23660
23657
|
) : b);
|
|
23661
23658
|
a._s.set(e, h);
|
|
23662
|
-
const w = (a._a && a._a.runWithContext ||
|
|
23659
|
+
const w = (a._a && a._a.runWithContext || Sx)(() => a._e.run(() => (i = Hi()).run(t)));
|
|
23663
23660
|
for (const k in w) {
|
|
23664
23661
|
const B = w[k];
|
|
23665
23662
|
if (sn(B) && !jd(B) || Yo(B))
|
|
23666
|
-
process.env.NODE_ENV !== "production" && r ? mi(y.value, k, Oe(w, k)) : l || (o &&
|
|
23663
|
+
process.env.NODE_ENV !== "production" && r ? mi(y.value, k, Oe(w, k)) : l || (o && _x(B) && (sn(B) ? B.value = o[k] : Fo(B, o[k])), a.state.value[e][k] = B), process.env.NODE_ENV !== "production" && A.state.push(k);
|
|
23667
23664
|
else if (typeof B == "function") {
|
|
23668
23665
|
const L = process.env.NODE_ENV !== "production" && r ? B : S(k, B);
|
|
23669
23666
|
w[k] = L, process.env.NODE_ENV !== "production" && (A.actions[k] = B), s.actions[k] = B;
|
|
@@ -23753,7 +23750,7 @@ function hh(e, t, n) {
|
|
|
23753
23750
|
const f = dy();
|
|
23754
23751
|
if (s = // in test mode, ignore the argument provided as we can always retrieve a
|
|
23755
23752
|
// pinia instance with getActivePinia()
|
|
23756
|
-
(process.env.NODE_ENV === "test" && cl && cl._testing ? null : s) || (f ? Ne(
|
|
23753
|
+
(process.env.NODE_ENV === "test" && cl && cl._testing ? null : s) || (f ? Ne(wx, null) : null), s && $i(s), process.env.NODE_ENV !== "production" && !cl)
|
|
23757
23754
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
23758
23755
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
23759
23756
|
This will fail in production.`);
|
|
@@ -23779,16 +23776,16 @@ let Li;
|
|
|
23779
23776
|
function yT(e) {
|
|
23780
23777
|
return Li(e)();
|
|
23781
23778
|
}
|
|
23782
|
-
function
|
|
23779
|
+
function xx(e) {
|
|
23783
23780
|
return Li(e);
|
|
23784
23781
|
}
|
|
23785
|
-
function
|
|
23786
|
-
return Li = (t) =>
|
|
23782
|
+
function Cx(e) {
|
|
23783
|
+
return Li = (t) => Tx({
|
|
23787
23784
|
...e,
|
|
23788
23785
|
...t
|
|
23789
23786
|
}), Li;
|
|
23790
23787
|
}
|
|
23791
|
-
function
|
|
23788
|
+
function Tx(e) {
|
|
23792
23789
|
if (e.storeMode == "whole-last-updated") {
|
|
23793
23790
|
if (e.api == null)
|
|
23794
23791
|
throw new Error("Must supply an api object to use store");
|
|
@@ -23798,9 +23795,9 @@ function Cx(e) {
|
|
|
23798
23795
|
throw new Error("Must supply an api object to use store");
|
|
23799
23796
|
return Kd(e);
|
|
23800
23797
|
} else
|
|
23801
|
-
return
|
|
23798
|
+
return Ax(e);
|
|
23802
23799
|
}
|
|
23803
|
-
const
|
|
23800
|
+
const Dx = (e) => {
|
|
23804
23801
|
let t = lt(e.url) ?? void 0;
|
|
23805
23802
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = tr(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = tr(t, e.id)), e.params != null) {
|
|
23806
23803
|
t ?? (t = "");
|
|
@@ -23811,10 +23808,10 @@ const Tx = (e) => {
|
|
|
23811
23808
|
}
|
|
23812
23809
|
return e.finalUrl = t, e.finalUrl ?? "";
|
|
23813
23810
|
};
|
|
23814
|
-
function
|
|
23811
|
+
function Ax(e) {
|
|
23815
23812
|
return hh(e.storeName, () => {
|
|
23816
23813
|
var m;
|
|
23817
|
-
const t = Pe.utc().toSeconds() / 86400, n = Y({}), a = Y({}), r = e.storageMode == "local-cache", l = e.buildUrl ?? ((m = e.api) == null ? void 0 : m.buildUrl) ??
|
|
23814
|
+
const t = Pe.utc().toSeconds() / 86400, n = Y({}), a = Y({}), r = e.storageMode == "local-cache", l = e.buildUrl ?? ((m = e.api) == null ? void 0 : m.buildUrl) ?? Dx;
|
|
23818
23815
|
function i(o) {
|
|
23819
23816
|
var y, g;
|
|
23820
23817
|
return `${e.storeName}_${((y = e.auth) == null ? void 0 : y.credentials.userID) ?? "no-user-id"}_${o.id ?? ((g = o.data) == null ? void 0 : g.id) ?? "no-item-id"}`;
|
|
@@ -24183,7 +24180,7 @@ function gT(e, t) {
|
|
|
24183
24180
|
restartTracker: i
|
|
24184
24181
|
};
|
|
24185
24182
|
}
|
|
24186
|
-
const
|
|
24183
|
+
const Mx = /* @__PURE__ */ Qe({
|
|
24187
24184
|
__name: "BT-Btn",
|
|
24188
24185
|
props: {
|
|
24189
24186
|
icon: { default: void 0 },
|
|
@@ -24193,7 +24190,7 @@ const Ax = /* @__PURE__ */ Qe({
|
|
|
24193
24190
|
variant: { default: "text" }
|
|
24194
24191
|
},
|
|
24195
24192
|
setup(e) {
|
|
24196
|
-
const t = e, n =
|
|
24193
|
+
const t = e, n = hx(t.preset), a = T(() => t.icon ?? n.icon), r = Ne("isEditing", () => Y(!1), !0), l = T(() => t.isEditing ?? n.isEditing ?? r.value), i = Ne("size", () => Y(t.size ?? "small"), !0), s = T(() => t.size ?? n.size ?? i.value), u = T(() => t.variant ?? n.variant);
|
|
24197
24194
|
return (f, v) => (z(), ge(Gt, Se(f.$attrs, {
|
|
24198
24195
|
disabled: !l.value,
|
|
24199
24196
|
icon: a.value,
|
|
@@ -24201,7 +24198,7 @@ const Ax = /* @__PURE__ */ Qe({
|
|
|
24201
24198
|
variant: u.value
|
|
24202
24199
|
}), null, 16, ["disabled", "icon", "size", "variant"]));
|
|
24203
24200
|
}
|
|
24204
|
-
}),
|
|
24201
|
+
}), Ex = /* @__PURE__ */ Qe({
|
|
24205
24202
|
__name: "BT-Col",
|
|
24206
24203
|
props: {
|
|
24207
24204
|
cols: { type: [String, Boolean], default: "12" },
|
|
@@ -24260,14 +24257,14 @@ const Ax = /* @__PURE__ */ Qe({
|
|
|
24260
24257
|
...ct(),
|
|
24261
24258
|
...ca(),
|
|
24262
24259
|
...en()
|
|
24263
|
-
}, "SelectionControlGroup"),
|
|
24260
|
+
}, "SelectionControlGroup"), Ix = ke({
|
|
24264
24261
|
...gh({
|
|
24265
24262
|
defaultsTarget: "VSelectionControl"
|
|
24266
24263
|
})
|
|
24267
24264
|
}, "VSelectionControlGroup");
|
|
24268
24265
|
We()({
|
|
24269
24266
|
name: "VSelectionControlGroup",
|
|
24270
|
-
props:
|
|
24267
|
+
props: Ix(),
|
|
24271
24268
|
emits: {
|
|
24272
24269
|
"update:modelValue": (e) => !0
|
|
24273
24270
|
},
|
|
@@ -24324,7 +24321,7 @@ const qu = ke({
|
|
|
24324
24321
|
...ct(),
|
|
24325
24322
|
...gh()
|
|
24326
24323
|
}, "VSelectionControl");
|
|
24327
|
-
function
|
|
24324
|
+
function Px(e) {
|
|
24328
24325
|
const t = Ne(yh, void 0), {
|
|
24329
24326
|
densityClasses: n
|
|
24330
24327
|
} = _a(e), a = xt(e, "modelValue"), r = T(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), l = T(() => e.falseValue !== void 0 ? e.falseValue : !1), i = T(() => !!e.multiple || e.multiple == null && Array.isArray(a.value)), s = T({
|
|
@@ -24387,7 +24384,7 @@ const Fi = We()({
|
|
|
24387
24384
|
backgroundColorClasses: v,
|
|
24388
24385
|
backgroundColorStyles: d,
|
|
24389
24386
|
trueValue: c
|
|
24390
|
-
} =
|
|
24387
|
+
} = Px(e), m = Un(), o = T(() => e.id || `input-${m}`), y = Ye(!1), g = Ye(!1), p = Y();
|
|
24391
24388
|
r == null || r.onForceUpdate(() => {
|
|
24392
24389
|
p.value && (p.value.checked = s.value);
|
|
24393
24390
|
});
|
|
@@ -24508,13 +24505,13 @@ const Fi = We()({
|
|
|
24508
24505
|
}), n);
|
|
24509
24506
|
}), {};
|
|
24510
24507
|
}
|
|
24511
|
-
}),
|
|
24508
|
+
}), Vx = ke({
|
|
24512
24509
|
...Gl(),
|
|
24513
24510
|
...ka(bh(), ["inline"])
|
|
24514
|
-
}, "VCheckbox"),
|
|
24511
|
+
}, "VCheckbox"), Nx = We()({
|
|
24515
24512
|
name: "VCheckbox",
|
|
24516
24513
|
inheritAttrs: !1,
|
|
24517
|
-
props:
|
|
24514
|
+
props: Vx(),
|
|
24518
24515
|
emits: {
|
|
24519
24516
|
"update:modelValue": (e) => !0,
|
|
24520
24517
|
"update:focused": (e) => !0
|
|
@@ -24563,7 +24560,7 @@ const Fi = We()({
|
|
|
24563
24560
|
});
|
|
24564
24561
|
}), {};
|
|
24565
24562
|
}
|
|
24566
|
-
}),
|
|
24563
|
+
}), Bx = /* @__PURE__ */ Qe({
|
|
24567
24564
|
inheritAttrs: !1,
|
|
24568
24565
|
__name: "BT-Field-Checkbox",
|
|
24569
24566
|
props: {
|
|
@@ -24596,7 +24593,7 @@ const Fi = We()({
|
|
|
24596
24593
|
cols: d.cols
|
|
24597
24594
|
}, {
|
|
24598
24595
|
default: ae(() => [
|
|
24599
|
-
_(
|
|
24596
|
+
_(Nx, Se(d.$attrs, {
|
|
24600
24597
|
modelValue: r.value,
|
|
24601
24598
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => r.value = m),
|
|
24602
24599
|
color: "primary",
|
|
@@ -24608,7 +24605,7 @@ const Fi = We()({
|
|
|
24608
24605
|
_: 1
|
|
24609
24606
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
24610
24607
|
}
|
|
24611
|
-
}),
|
|
24608
|
+
}), Rx = ke({
|
|
24612
24609
|
// TODO
|
|
24613
24610
|
// disableKeys: Boolean,
|
|
24614
24611
|
id: String,
|
|
@@ -24625,7 +24622,7 @@ const Fi = We()({
|
|
|
24625
24622
|
}), ["absolute"])
|
|
24626
24623
|
}, "VMenu"), ya = We()({
|
|
24627
24624
|
name: "VMenu",
|
|
24628
|
-
props:
|
|
24625
|
+
props: Rx(),
|
|
24629
24626
|
emits: {
|
|
24630
24627
|
"update:modelValue": (e) => !0
|
|
24631
24628
|
},
|
|
@@ -24715,7 +24712,7 @@ const Fi = We()({
|
|
|
24715
24712
|
ΨopenChildren: f
|
|
24716
24713
|
}, s);
|
|
24717
24714
|
}
|
|
24718
|
-
}),
|
|
24715
|
+
}), $x = /* @__PURE__ */ Qe({
|
|
24719
24716
|
inheritAttrs: !1,
|
|
24720
24717
|
__name: "BT-Field-Date",
|
|
24721
24718
|
props: {
|
|
@@ -24736,7 +24733,7 @@ const Fi = We()({
|
|
|
24736
24733
|
},
|
|
24737
24734
|
emits: ["update:modelValue"],
|
|
24738
24735
|
setup(e, { emit: t }) {
|
|
24739
|
-
const n = e, a = t, { tzString: r } =
|
|
24736
|
+
const n = e, a = t, { tzString: r } = ox(), l = Lv(), i = T({
|
|
24740
24737
|
get() {
|
|
24741
24738
|
return n.modelValue;
|
|
24742
24739
|
},
|
|
@@ -24806,7 +24803,7 @@ const Fi = We()({
|
|
|
24806
24803
|
_: 1
|
|
24807
24804
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
24808
24805
|
}
|
|
24809
|
-
}),
|
|
24806
|
+
}), Lx = /* @__PURE__ */ Qe({
|
|
24810
24807
|
inheritAttrs: !1,
|
|
24811
24808
|
__name: "BT-Field-Entity",
|
|
24812
24809
|
props: {
|
|
@@ -24851,7 +24848,7 @@ const Fi = We()({
|
|
|
24851
24848
|
}, 8, ["lg", "md", "sm", "cols"]);
|
|
24852
24849
|
};
|
|
24853
24850
|
}
|
|
24854
|
-
}),
|
|
24851
|
+
}), Fx = /* @__PURE__ */ Qe({
|
|
24855
24852
|
inheritAttrs: !1,
|
|
24856
24853
|
__name: "BT-Field-Select",
|
|
24857
24854
|
props: {
|
|
@@ -24895,7 +24892,7 @@ const Fi = We()({
|
|
|
24895
24892
|
}, 8, ["lg", "md", "sm", "cols"]);
|
|
24896
24893
|
};
|
|
24897
24894
|
}
|
|
24898
|
-
}),
|
|
24895
|
+
}), Ox = /* @__PURE__ */ Qe({
|
|
24899
24896
|
inheritAttrs: !1,
|
|
24900
24897
|
__name: "BT-Field-String",
|
|
24901
24898
|
props: {
|
|
@@ -24940,7 +24937,7 @@ const Fi = We()({
|
|
|
24940
24937
|
_: 1
|
|
24941
24938
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
24942
24939
|
}
|
|
24943
|
-
}),
|
|
24940
|
+
}), Wx = ke({
|
|
24944
24941
|
indeterminate: Boolean,
|
|
24945
24942
|
inset: Boolean,
|
|
24946
24943
|
flat: Boolean,
|
|
@@ -24950,10 +24947,10 @@ const Fi = We()({
|
|
|
24950
24947
|
},
|
|
24951
24948
|
...Gl(),
|
|
24952
24949
|
...qu()
|
|
24953
|
-
}, "VSwitch"),
|
|
24950
|
+
}, "VSwitch"), Yx = We()({
|
|
24954
24951
|
name: "VSwitch",
|
|
24955
24952
|
inheritAttrs: !1,
|
|
24956
|
-
props:
|
|
24953
|
+
props: Wx(),
|
|
24957
24954
|
emits: {
|
|
24958
24955
|
"update:focused": (e) => !0,
|
|
24959
24956
|
"update:modelValue": (e) => !0,
|
|
@@ -25065,7 +25062,7 @@ const Fi = We()({
|
|
|
25065
25062
|
});
|
|
25066
25063
|
}), {};
|
|
25067
25064
|
}
|
|
25068
|
-
}),
|
|
25065
|
+
}), Hx = /* @__PURE__ */ Qe({
|
|
25069
25066
|
inheritAttrs: !1,
|
|
25070
25067
|
__name: "BT-Field-Switch",
|
|
25071
25068
|
props: {
|
|
@@ -25097,7 +25094,7 @@ const Fi = We()({
|
|
|
25097
25094
|
default: ae(() => [
|
|
25098
25095
|
_(rn, null, {
|
|
25099
25096
|
append: ae(() => [
|
|
25100
|
-
_(
|
|
25097
|
+
_(Yx, Se(m.$attrs, {
|
|
25101
25098
|
readonly: !i.value,
|
|
25102
25099
|
variant: i.value ? $(f) : $(u),
|
|
25103
25100
|
modelValue: r.value,
|
|
@@ -25124,7 +25121,7 @@ const Fi = We()({
|
|
|
25124
25121
|
_: 1
|
|
25125
25122
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
25126
25123
|
}
|
|
25127
|
-
}), ph = Symbol.for("vuetify:v-chip-group"),
|
|
25124
|
+
}), ph = Symbol.for("vuetify:v-chip-group"), zx = ke({
|
|
25128
25125
|
column: Boolean,
|
|
25129
25126
|
filter: Boolean,
|
|
25130
25127
|
valueComparator: {
|
|
@@ -25143,7 +25140,7 @@ const Fi = We()({
|
|
|
25143
25140
|
}, "VChipGroup");
|
|
25144
25141
|
We()({
|
|
25145
25142
|
name: "VChipGroup",
|
|
25146
|
-
props:
|
|
25143
|
+
props: zx(),
|
|
25147
25144
|
emits: {
|
|
25148
25145
|
"update:modelValue": (e) => !0
|
|
25149
25146
|
},
|
|
@@ -25186,7 +25183,7 @@ We()({
|
|
|
25186
25183
|
})), {};
|
|
25187
25184
|
}
|
|
25188
25185
|
});
|
|
25189
|
-
const
|
|
25186
|
+
const Ux = ke({
|
|
25190
25187
|
activeClass: String,
|
|
25191
25188
|
appendAvatar: String,
|
|
25192
25189
|
appendIcon: St,
|
|
@@ -25244,7 +25241,7 @@ const zx = ke({
|
|
|
25244
25241
|
directives: {
|
|
25245
25242
|
Ripple: Bl
|
|
25246
25243
|
},
|
|
25247
|
-
props:
|
|
25244
|
+
props: Ux(),
|
|
25248
25245
|
emits: {
|
|
25249
25246
|
"click:close": (e) => !0,
|
|
25250
25247
|
"update:modelValue": (e) => !0,
|
|
@@ -25403,13 +25400,13 @@ const zx = ke({
|
|
|
25403
25400
|
}), [[Sa("ripple"), D.value && e.ripple, null]]);
|
|
25404
25401
|
};
|
|
25405
25402
|
}
|
|
25406
|
-
}),
|
|
25403
|
+
}), qx = ke({
|
|
25407
25404
|
renderless: Boolean,
|
|
25408
25405
|
...ct()
|
|
25409
|
-
}, "VVirtualScrollItem"),
|
|
25406
|
+
}, "VVirtualScrollItem"), Gx = We()({
|
|
25410
25407
|
name: "VVirtualScrollItem",
|
|
25411
25408
|
inheritAttrs: !1,
|
|
25412
|
-
props:
|
|
25409
|
+
props: qx(),
|
|
25413
25410
|
emits: {
|
|
25414
25411
|
"update:height": (e) => !0
|
|
25415
25412
|
},
|
|
@@ -25439,14 +25436,14 @@ const zx = ke({
|
|
|
25439
25436
|
}, n), [(u = r.default) == null ? void 0 : u.call(r)]);
|
|
25440
25437
|
});
|
|
25441
25438
|
}
|
|
25442
|
-
}),
|
|
25439
|
+
}), jx = -1, Zx = 1, ro = 100, Kx = ke({
|
|
25443
25440
|
itemHeight: {
|
|
25444
25441
|
type: [Number, String],
|
|
25445
25442
|
default: null
|
|
25446
25443
|
},
|
|
25447
25444
|
height: [Number, String]
|
|
25448
25445
|
}, "virtual");
|
|
25449
|
-
function
|
|
25446
|
+
function Qx(e, t) {
|
|
25450
25447
|
const n = Yf(), a = Ye(0);
|
|
25451
25448
|
la(() => {
|
|
25452
25449
|
a.value = parseFloat(e.itemHeight || 0);
|
|
@@ -25507,7 +25504,7 @@ function Kx(e, t) {
|
|
|
25507
25504
|
return K = Tr(K, 0, t.value.length - 1), g[K] || 0;
|
|
25508
25505
|
}
|
|
25509
25506
|
function M(K) {
|
|
25510
|
-
return
|
|
25507
|
+
return Jx(g, K);
|
|
25511
25508
|
}
|
|
25512
25509
|
let w = 0, k = 0, B = 0;
|
|
25513
25510
|
function L() {
|
|
@@ -25530,7 +25527,7 @@ function Kx(e, t) {
|
|
|
25530
25527
|
if (
|
|
25531
25528
|
// Only update the side we're scrolling towards,
|
|
25532
25529
|
// the other side will be updated incidentally
|
|
25533
|
-
(j !==
|
|
25530
|
+
(j !== jx || Q < r.value) && (j !== Zx || E > l.value)
|
|
25534
25531
|
) {
|
|
25535
25532
|
const J = h(r.value) - h(Q), ne = h(E) - h(l.value);
|
|
25536
25533
|
Math.max(J, ne) > ro ? (r.value = Q, l.value = E) : (Q <= 0 && (r.value = Q), E >= t.value.length && (l.value = E));
|
|
@@ -25565,7 +25562,7 @@ function Kx(e, t) {
|
|
|
25565
25562
|
handleItemResize: b
|
|
25566
25563
|
};
|
|
25567
25564
|
}
|
|
25568
|
-
function
|
|
25565
|
+
function Jx(e, t) {
|
|
25569
25566
|
let n = e.length - 1, a = 0, r = 0, l = null, i = -1;
|
|
25570
25567
|
if (e[n] < t)
|
|
25571
25568
|
return n;
|
|
@@ -25578,18 +25575,18 @@ function Qx(e, t) {
|
|
|
25578
25575
|
return l === t ? r : a;
|
|
25579
25576
|
return i;
|
|
25580
25577
|
}
|
|
25581
|
-
const
|
|
25578
|
+
const Xx = ke({
|
|
25582
25579
|
items: {
|
|
25583
25580
|
type: Array,
|
|
25584
25581
|
default: () => []
|
|
25585
25582
|
},
|
|
25586
25583
|
renderless: Boolean,
|
|
25587
|
-
...
|
|
25584
|
+
...Kx(),
|
|
25588
25585
|
...ct(),
|
|
25589
25586
|
...lr()
|
|
25590
25587
|
}, "VVirtualScroll"), Gu = We()({
|
|
25591
25588
|
name: "VVirtualScroll",
|
|
25592
|
-
props:
|
|
25589
|
+
props: Xx(),
|
|
25593
25590
|
setup(e, t) {
|
|
25594
25591
|
let {
|
|
25595
25592
|
slots: n
|
|
@@ -25606,7 +25603,7 @@ const Jx = ke({
|
|
|
25606
25603
|
paddingTop: d,
|
|
25607
25604
|
paddingBottom: c,
|
|
25608
25605
|
computedItems: m
|
|
25609
|
-
} =
|
|
25606
|
+
} = Qx(e, Oe(e, "items"));
|
|
25610
25607
|
return er(() => e.renderless, () => {
|
|
25611
25608
|
function o() {
|
|
25612
25609
|
var p, C;
|
|
@@ -25621,7 +25618,7 @@ const Jx = ke({
|
|
|
25621
25618
|
l.value = vf(a.vnode.el, !0), o(!0);
|
|
25622
25619
|
}), Jt(o);
|
|
25623
25620
|
}), Xe(() => {
|
|
25624
|
-
const o = m.value.map((y) => _(
|
|
25621
|
+
const o = m.value.map((y) => _(Gx, {
|
|
25625
25622
|
key: y.index,
|
|
25626
25623
|
renderless: e.renderless,
|
|
25627
25624
|
"onUpdate:height": (g) => f(y.index, g)
|
|
@@ -25750,7 +25747,7 @@ const kh = ke({
|
|
|
25750
25747
|
...nh({
|
|
25751
25748
|
itemChildren: !1
|
|
25752
25749
|
})
|
|
25753
|
-
}, "Select"),
|
|
25750
|
+
}, "Select"), eC = ke({
|
|
25754
25751
|
...kh(),
|
|
25755
25752
|
...ka(zu({
|
|
25756
25753
|
modelValue: null,
|
|
@@ -25761,9 +25758,9 @@ const kh = ke({
|
|
|
25761
25758
|
component: ru
|
|
25762
25759
|
}
|
|
25763
25760
|
})
|
|
25764
|
-
}, "VSelect"),
|
|
25761
|
+
}, "VSelect"), tC = We()({
|
|
25765
25762
|
name: "VSelect",
|
|
25766
|
-
props:
|
|
25763
|
+
props: eC(),
|
|
25767
25764
|
emits: {
|
|
25768
25765
|
"update:focused": (e) => !0,
|
|
25769
25766
|
"update:modelValue": (e) => !0,
|
|
@@ -26035,7 +26032,7 @@ const kh = ke({
|
|
|
26035
26032
|
select: F
|
|
26036
26033
|
}, r);
|
|
26037
26034
|
}
|
|
26038
|
-
}),
|
|
26035
|
+
}), nC = (e, t, n) => e == null || t == null ? -1 : e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()), aC = ke({
|
|
26039
26036
|
customFilter: Function,
|
|
26040
26037
|
customKeyFilter: Object,
|
|
26041
26038
|
filterKeys: [Array, String],
|
|
@@ -26045,9 +26042,9 @@ const kh = ke({
|
|
|
26045
26042
|
},
|
|
26046
26043
|
noFilter: Boolean
|
|
26047
26044
|
}, "filter");
|
|
26048
|
-
function
|
|
26045
|
+
function rC(e, t, n) {
|
|
26049
26046
|
var s;
|
|
26050
|
-
const a = [], r = (n == null ? void 0 : n.default) ??
|
|
26047
|
+
const a = [], r = (n == null ? void 0 : n.default) ?? nC, l = n != null && n.filterKeys ? Mn(n.filterKeys) : !1, i = Object.keys((n == null ? void 0 : n.customKeyFilter) ?? {}).length;
|
|
26051
26048
|
if (!(e != null && e.length))
|
|
26052
26049
|
return a;
|
|
26053
26050
|
e:
|
|
@@ -26080,10 +26077,10 @@ function aC(e, t, n) {
|
|
|
26080
26077
|
}
|
|
26081
26078
|
return a;
|
|
26082
26079
|
}
|
|
26083
|
-
function
|
|
26080
|
+
function lC(e, t, n, a) {
|
|
26084
26081
|
const r = Y([]), l = Y(/* @__PURE__ */ new Map()), i = T(() => a != null && a.transform ? $(t).map((u) => [u, a.transform(u)]) : $(t));
|
|
26085
26082
|
la(() => {
|
|
26086
|
-
const u = typeof n == "function" ? n() : $(n), f = typeof u != "string" && typeof u != "number" ? "" : String(u), v =
|
|
26083
|
+
const u = typeof n == "function" ? n() : $(n), f = typeof u != "string" && typeof u != "number" ? "" : String(u), v = rC(i.value, f, {
|
|
26087
26084
|
customKeyFilter: {
|
|
26088
26085
|
...e.customKeyFilter,
|
|
26089
26086
|
...$(a == null ? void 0 : a.customKeyFilter)
|
|
@@ -26111,7 +26108,7 @@ function rC(e, t, n, a) {
|
|
|
26111
26108
|
getMatches: s
|
|
26112
26109
|
};
|
|
26113
26110
|
}
|
|
26114
|
-
function
|
|
26111
|
+
function iC(e, t, n) {
|
|
26115
26112
|
if (t == null)
|
|
26116
26113
|
return e;
|
|
26117
26114
|
if (Array.isArray(t))
|
|
@@ -26124,12 +26121,12 @@ function lC(e, t, n) {
|
|
|
26124
26121
|
class: "v-combobox__unmask"
|
|
26125
26122
|
}, [e.substr(t + n)])]) : e;
|
|
26126
26123
|
}
|
|
26127
|
-
const
|
|
26124
|
+
const sC = ke({
|
|
26128
26125
|
autoSelectFirst: {
|
|
26129
26126
|
type: [Boolean, String]
|
|
26130
26127
|
},
|
|
26131
26128
|
delimiters: Array,
|
|
26132
|
-
...
|
|
26129
|
+
...aC({
|
|
26133
26130
|
filterKeys: ["title"]
|
|
26134
26131
|
}),
|
|
26135
26132
|
...kh({
|
|
@@ -26143,9 +26140,9 @@ const iC = ke({
|
|
|
26143
26140
|
...Ur({
|
|
26144
26141
|
transition: !1
|
|
26145
26142
|
})
|
|
26146
|
-
}, "VCombobox"),
|
|
26143
|
+
}, "VCombobox"), oC = We()({
|
|
26147
26144
|
name: "VCombobox",
|
|
26148
|
-
props:
|
|
26145
|
+
props: sC(),
|
|
26149
26146
|
emits: {
|
|
26150
26147
|
"update:focused": (e) => !0,
|
|
26151
26148
|
"update:modelValue": (e) => !0,
|
|
@@ -26203,7 +26200,7 @@ const iC = ke({
|
|
|
26203
26200
|
const {
|
|
26204
26201
|
filteredItems: B,
|
|
26205
26202
|
getMatches: L
|
|
26206
|
-
} =
|
|
26203
|
+
} = lC(e, p, () => s.value ? "" : w.value), F = T(() => e.hideSelected ? B.value.filter((U) => !b.value.some((he) => he.value === U.value)) : B.value), ee = T(() => b.value.map((U) => U.value)), R = T(() => {
|
|
26207
26204
|
var he;
|
|
26208
26205
|
return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && w.value === ((he = F.value[0]) == null ? void 0 : he.title)) && F.value.length > 0 && !s.value && !u.value;
|
|
26209
26206
|
}), I = T(() => e.hideNoData && !F.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), H = Y(), {
|
|
@@ -26395,7 +26392,7 @@ const iC = ke({
|
|
|
26395
26392
|
},
|
|
26396
26393
|
title: () => {
|
|
26397
26394
|
var nt, Dt;
|
|
26398
|
-
return s.value ? tt.title :
|
|
26395
|
+
return s.value ? tt.title : iC(tt.title, (nt = L(tt)) == null ? void 0 : nt.title, ((Dt = w.value) == null ? void 0 : Dt.length) ?? 0);
|
|
26399
26396
|
}
|
|
26400
26397
|
});
|
|
26401
26398
|
}
|
|
@@ -26473,7 +26470,7 @@ const iC = ke({
|
|
|
26473
26470
|
select: J
|
|
26474
26471
|
}, l);
|
|
26475
26472
|
}
|
|
26476
|
-
}),
|
|
26473
|
+
}), uC = /* @__PURE__ */ Qe({
|
|
26477
26474
|
inheritAttrs: !1,
|
|
26478
26475
|
__name: "BT-Field-Tags",
|
|
26479
26476
|
props: {
|
|
@@ -26504,7 +26501,7 @@ const iC = ke({
|
|
|
26504
26501
|
cols: m.cols
|
|
26505
26502
|
}, {
|
|
26506
26503
|
default: ae(() => [
|
|
26507
|
-
_(
|
|
26504
|
+
_(oC, Se(m.$attrs, {
|
|
26508
26505
|
chips: "",
|
|
26509
26506
|
closableChips: i.value,
|
|
26510
26507
|
multiple: "",
|
|
@@ -26517,7 +26514,7 @@ const iC = ke({
|
|
|
26517
26514
|
_: 1
|
|
26518
26515
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
26519
26516
|
}
|
|
26520
|
-
}),
|
|
26517
|
+
}), cC = ke({
|
|
26521
26518
|
autoGrow: Boolean,
|
|
26522
26519
|
autofocus: Boolean,
|
|
26523
26520
|
counter: [Boolean, Number, String],
|
|
@@ -26540,13 +26537,13 @@ const iC = ke({
|
|
|
26540
26537
|
modelModifiers: Object,
|
|
26541
26538
|
...Gl(),
|
|
26542
26539
|
...Wu()
|
|
26543
|
-
}, "VTextarea"),
|
|
26540
|
+
}, "VTextarea"), dC = We()({
|
|
26544
26541
|
name: "VTextarea",
|
|
26545
26542
|
directives: {
|
|
26546
26543
|
Intersect: au
|
|
26547
26544
|
},
|
|
26548
26545
|
inheritAttrs: !1,
|
|
26549
|
-
props:
|
|
26546
|
+
props: cC(),
|
|
26550
26547
|
emits: {
|
|
26551
26548
|
"click:control": (e) => !0,
|
|
26552
26549
|
"mousedown:control": (e) => !0,
|
|
@@ -26719,7 +26716,7 @@ const iC = ke({
|
|
|
26719
26716
|
});
|
|
26720
26717
|
}), sr({}, c, m, y);
|
|
26721
26718
|
}
|
|
26722
|
-
}),
|
|
26719
|
+
}), fC = /* @__PURE__ */ Qe({
|
|
26723
26720
|
inheritAttrs: !1,
|
|
26724
26721
|
__name: "BT-Field-Textarea",
|
|
26725
26722
|
props: {
|
|
@@ -26750,7 +26747,7 @@ const iC = ke({
|
|
|
26750
26747
|
cols: m.cols
|
|
26751
26748
|
}, {
|
|
26752
26749
|
default: ae(() => [
|
|
26753
|
-
_(
|
|
26750
|
+
_(dC, Se(m.$attrs, {
|
|
26754
26751
|
readonly: !i.value,
|
|
26755
26752
|
rules: m.rules,
|
|
26756
26753
|
variant: i.value ? $(f) : $(u),
|
|
@@ -26761,19 +26758,19 @@ const iC = ke({
|
|
|
26761
26758
|
_: 1
|
|
26762
26759
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
26763
26760
|
}
|
|
26764
|
-
}),
|
|
26761
|
+
}), mC = {
|
|
26765
26762
|
key: 0,
|
|
26766
26763
|
class: "mx-1"
|
|
26767
|
-
},
|
|
26764
|
+
}, vC = {
|
|
26768
26765
|
key: 1,
|
|
26769
26766
|
class: "mx-1"
|
|
26770
|
-
},
|
|
26767
|
+
}, hC = {
|
|
26771
26768
|
key: 2,
|
|
26772
26769
|
class: "mx-1"
|
|
26773
|
-
},
|
|
26770
|
+
}, yC = {
|
|
26774
26771
|
key: 3,
|
|
26775
26772
|
class: "mx-1"
|
|
26776
|
-
},
|
|
26773
|
+
}, gC = /* @__PURE__ */ Qe({
|
|
26777
26774
|
inheritAttrs: !1,
|
|
26778
26775
|
__name: "BT-Field-Trigger",
|
|
26779
26776
|
props: {
|
|
@@ -27101,10 +27098,10 @@ const iC = ke({
|
|
|
27101
27098
|
default: ae(() => [
|
|
27102
27099
|
_(Rr, { dense: "" }, {
|
|
27103
27100
|
default: ae(() => [
|
|
27104
|
-
b.useAutomation || b.useAutomationDaily || b.useAutomationLarge ? (z(), oe("span",
|
|
27105
|
-
b.useGuide || b.useGuideList ? (z(), oe("span",
|
|
27106
|
-
b.useTrigger || b.useScheduledTrigger || b.useTriggerList ? (z(), oe("span",
|
|
27107
|
-
b.useCustom || b.useCustomList ? (z(), oe("span",
|
|
27101
|
+
b.useAutomation || b.useAutomationDaily || b.useAutomationLarge ? (z(), oe("span", mC, Be(b.automation), 1)) : ie("", !0),
|
|
27102
|
+
b.useGuide || b.useGuideList ? (z(), oe("span", vC, Be(b.guide), 1)) : ie("", !0),
|
|
27103
|
+
b.useTrigger || b.useScheduledTrigger || b.useTriggerList ? (z(), oe("span", hC, Be(b.trigger), 1)) : ie("", !0),
|
|
27104
|
+
b.useCustom || b.useCustomList ? (z(), oe("span", yC, Be(b.custom), 1)) : ie("", !0)
|
|
27108
27105
|
]),
|
|
27109
27106
|
_: 1
|
|
27110
27107
|
})
|
|
@@ -27118,7 +27115,7 @@ const iC = ke({
|
|
|
27118
27115
|
_: 1
|
|
27119
27116
|
}, 8, ["lg", "md", "sm", "cols"]));
|
|
27120
27117
|
}
|
|
27121
|
-
}),
|
|
27118
|
+
}), bC = { key: 0 }, pC = { key: 1 }, wC = { key: 3 }, SC = /* @__PURE__ */ Qe({
|
|
27122
27119
|
__name: "BT-Header-Option",
|
|
27123
27120
|
props: {
|
|
27124
27121
|
data: {},
|
|
@@ -27134,8 +27131,8 @@ const iC = ke({
|
|
|
27134
27131
|
const i = Ho("bt-entity");
|
|
27135
27132
|
return z(), ge(Fg, { group: "" }, {
|
|
27136
27133
|
default: ae(() => [
|
|
27137
|
-
r.option.prefix != null ? (z(), oe("span",
|
|
27138
|
-
r.option.bool != null ? (z(), oe("span",
|
|
27134
|
+
r.option.prefix != null ? (z(), oe("span", bC, Be(r.option.prefix), 1)) : ie("", !0),
|
|
27135
|
+
r.option.bool != null ? (z(), oe("span", pC, [
|
|
27139
27136
|
$(Yn)(r.data, r.option.value) === !0 ? (z(), ge(zt, {
|
|
27140
27137
|
key: 0,
|
|
27141
27138
|
size: r.size
|
|
@@ -27153,13 +27150,13 @@ const iC = ke({
|
|
|
27153
27150
|
nav: r.option.nav,
|
|
27154
27151
|
single: r.option.single,
|
|
27155
27152
|
textFilter: r.option.textFilter
|
|
27156
|
-
}, null, 8, ["itemText", "itemId", "nav", "single", "textFilter"])) : (z(), oe("span",
|
|
27153
|
+
}, null, 8, ["itemText", "itemId", "nav", "single", "textFilter"])) : (z(), oe("span", wC, Be(a.value(r.data)), 1))
|
|
27157
27154
|
]),
|
|
27158
27155
|
_: 1
|
|
27159
27156
|
});
|
|
27160
27157
|
};
|
|
27161
27158
|
}
|
|
27162
|
-
}),
|
|
27159
|
+
}), kC = ["innerHTML"], _C = /* @__PURE__ */ Qe({
|
|
27163
27160
|
__name: "BT-Json",
|
|
27164
27161
|
props: ["value"],
|
|
27165
27162
|
setup(e) {
|
|
@@ -27180,7 +27177,7 @@ const iC = ke({
|
|
|
27180
27177
|
(z(!0), oe(Me, null, ht(n.value, (i, s) => (z(), oe("div", { key: s }, [
|
|
27181
27178
|
$e("pre", {
|
|
27182
27179
|
innerHTML: a(i)
|
|
27183
|
-
}, null, 8,
|
|
27180
|
+
}, null, 8, kC)
|
|
27184
27181
|
]))), 128))
|
|
27185
27182
|
]),
|
|
27186
27183
|
_: 1
|
|
@@ -27189,7 +27186,7 @@ const iC = ke({
|
|
|
27189
27186
|
_: 1
|
|
27190
27187
|
}));
|
|
27191
27188
|
}
|
|
27192
|
-
}),
|
|
27189
|
+
}), xC = /* @__PURE__ */ Qe({
|
|
27193
27190
|
inheritAttrs: !1,
|
|
27194
27191
|
__name: "BT-Select-List-Box",
|
|
27195
27192
|
props: {
|
|
@@ -27542,7 +27539,7 @@ const iC = ke({
|
|
|
27542
27539
|
_: 3
|
|
27543
27540
|
}, 8, ["class", "lg", "md", "sm", "cols"]));
|
|
27544
27541
|
}
|
|
27545
|
-
}),
|
|
27542
|
+
}), CC = /* @__PURE__ */ Qe({
|
|
27546
27543
|
__name: "BT-Select",
|
|
27547
27544
|
props: {
|
|
27548
27545
|
additionalUrl: {},
|
|
@@ -27627,7 +27624,7 @@ const iC = ke({
|
|
|
27627
27624
|
useBladeSrc: !1,
|
|
27628
27625
|
useRouteSrc: !1
|
|
27629
27626
|
});
|
|
27630
|
-
return (l, i) => (z(), ge(
|
|
27627
|
+
return (l, i) => (z(), ge(tC, {
|
|
27631
27628
|
"append-icon": l.canRefresh ? "mdi-refresh" : void 0,
|
|
27632
27629
|
clearable: l.canSelectNone,
|
|
27633
27630
|
"onClick:appendIcon": i[0] || (i[0] = (s) => $(r).refresh({ deepRefresh: !0 })),
|
|
@@ -27639,7 +27636,7 @@ const iC = ke({
|
|
|
27639
27636
|
}, null, 8, ["append-icon", "clearable", "items", "item-title", "item-value", "variant"]));
|
|
27640
27637
|
}
|
|
27641
27638
|
});
|
|
27642
|
-
function
|
|
27639
|
+
function TC(e) {
|
|
27643
27640
|
const t = Ye(e);
|
|
27644
27641
|
let n = -1;
|
|
27645
27642
|
function a() {
|
|
@@ -27667,7 +27664,7 @@ function CC(e) {
|
|
|
27667
27664
|
reset: r
|
|
27668
27665
|
};
|
|
27669
27666
|
}
|
|
27670
|
-
const
|
|
27667
|
+
const DC = ke({
|
|
27671
27668
|
multiLine: Boolean,
|
|
27672
27669
|
text: String,
|
|
27673
27670
|
timer: [Boolean, String],
|
|
@@ -27686,9 +27683,9 @@ const TC = ke({
|
|
|
27686
27683
|
...ka(ns({
|
|
27687
27684
|
transition: "v-snackbar-transition"
|
|
27688
27685
|
}), ["persistent", "noClickAnimation", "scrim", "scrollStrategy"])
|
|
27689
|
-
}, "VSnackbar"),
|
|
27686
|
+
}, "VSnackbar"), AC = We()({
|
|
27690
27687
|
name: "VSnackbar",
|
|
27691
|
-
props:
|
|
27688
|
+
props: DC(),
|
|
27692
27689
|
emits: {
|
|
27693
27690
|
"update:modelValue": (e) => !0
|
|
27694
27691
|
},
|
|
@@ -27710,7 +27707,7 @@ const TC = ke({
|
|
|
27710
27707
|
variantClasses: v
|
|
27711
27708
|
} = zr(e), {
|
|
27712
27709
|
roundedClasses: d
|
|
27713
|
-
} = fa(e), c =
|
|
27710
|
+
} = fa(e), c = TC(Number(e.timeout)), m = Y(), o = Y(), y = Ye(!1);
|
|
27714
27711
|
De(a, p), De(() => e.timeout, p), bt(() => {
|
|
27715
27712
|
a.value && p();
|
|
27716
27713
|
});
|
|
@@ -27794,7 +27791,7 @@ const TC = ke({
|
|
|
27794
27791
|
});
|
|
27795
27792
|
}), sr({}, m);
|
|
27796
27793
|
}
|
|
27797
|
-
}),
|
|
27794
|
+
}), MC = /* @__PURE__ */ Qe({
|
|
27798
27795
|
__name: "BT-Snack",
|
|
27799
27796
|
props: {
|
|
27800
27797
|
isTimed: { type: Boolean, default: !0 },
|
|
@@ -27805,7 +27802,7 @@ const TC = ke({
|
|
|
27805
27802
|
const t = e, n = T(() => t.isTimed ? t.timeout : -1), a = Y(!1);
|
|
27806
27803
|
return De(() => t.modelValue, () => {
|
|
27807
27804
|
a.value = !0;
|
|
27808
|
-
}), (r, l) => (z(), ge(
|
|
27805
|
+
}), (r, l) => (z(), ge(AC, {
|
|
27809
27806
|
modelValue: a.value,
|
|
27810
27807
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => a.value = i),
|
|
27811
27808
|
timeout: n.value
|
|
@@ -27816,7 +27813,7 @@ const TC = ke({
|
|
|
27816
27813
|
_: 1
|
|
27817
27814
|
}, 8, ["modelValue", "timeout"]));
|
|
27818
27815
|
}
|
|
27819
|
-
}),
|
|
27816
|
+
}), EC = /* @__PURE__ */ Qe({
|
|
27820
27817
|
__name: "BT-Span",
|
|
27821
27818
|
props: {
|
|
27822
27819
|
filter: {},
|
|
@@ -27833,19 +27830,19 @@ function bT(e) {
|
|
|
27833
27830
|
return {
|
|
27834
27831
|
install(t) {
|
|
27835
27832
|
var s;
|
|
27836
|
-
t.component("bt-btn",
|
|
27837
|
-
const n =
|
|
27838
|
-
|
|
27839
|
-
const r =
|
|
27833
|
+
t.component("bt-btn", Mx), t.component("bt-col", Ex), t.component("bt-field-checkbox", Bx), t.component("bt-field-date", $x), t.component("bt-field-entity", Lx), t.component("bt-field-select", Fx), t.component("bt-field-string", Ox), t.component("bt-field-switch", Hx), t.component("bt-field-tags", uC), t.component("bt-field-text-area", fC), t.component("bt-field-trigger", gC), t.component("bt-header-option", SC), t.component("bt-json", _C), t.component("bt-select-list-box", xC), t.component("bt-select", CC), t.component("bt-snack", MC), t.component("bt-span", EC), sx(e);
|
|
27834
|
+
const n = cx(), a = vx(e);
|
|
27835
|
+
yx(e), (s = e.auth).demo ?? (s.demo = n), e.auth.getAuthItem = a.findItem;
|
|
27836
|
+
const r = i_(e.auth), l = l_({
|
|
27840
27837
|
auth: r,
|
|
27841
27838
|
findPath: a.findPath,
|
|
27842
27839
|
useBearerToken: !0
|
|
27843
|
-
}), i =
|
|
27840
|
+
}), i = ux({
|
|
27844
27841
|
getTimeZone: r.getTimeZone
|
|
27845
27842
|
});
|
|
27846
|
-
|
|
27843
|
+
fx({
|
|
27847
27844
|
dates: i
|
|
27848
|
-
}),
|
|
27845
|
+
}), gx(), Cx({
|
|
27849
27846
|
api: l,
|
|
27850
27847
|
auth: r
|
|
27851
27848
|
}), a_(e.urls);
|
|
@@ -27853,43 +27850,43 @@ function bT(e) {
|
|
|
27853
27850
|
};
|
|
27854
27851
|
}
|
|
27855
27852
|
export {
|
|
27856
|
-
|
|
27857
|
-
|
|
27853
|
+
JC as DataURIToBlob,
|
|
27854
|
+
GC as addWeekday,
|
|
27858
27855
|
tr as appendUrl,
|
|
27859
|
-
|
|
27860
|
-
|
|
27856
|
+
HC as capitalizeWords,
|
|
27857
|
+
OC as checkImage,
|
|
27861
27858
|
D1 as containsSearch,
|
|
27862
|
-
|
|
27859
|
+
qC as containsWeekday,
|
|
27863
27860
|
Cu as copyDeep,
|
|
27864
27861
|
T1 as copyItemByAlphabet,
|
|
27865
|
-
|
|
27866
|
-
|
|
27862
|
+
l_ as createApi,
|
|
27863
|
+
i_ as createAuth,
|
|
27867
27864
|
bT as createCore,
|
|
27868
|
-
|
|
27869
|
-
|
|
27870
|
-
|
|
27871
|
-
|
|
27872
|
-
|
|
27873
|
-
|
|
27874
|
-
|
|
27875
|
-
|
|
27876
|
-
|
|
27877
|
-
|
|
27865
|
+
sx as createCosmetics,
|
|
27866
|
+
ux as createDates,
|
|
27867
|
+
cx as createDemo,
|
|
27868
|
+
fx as createFilters,
|
|
27869
|
+
vx as createNavigation,
|
|
27870
|
+
gx as createPWA,
|
|
27871
|
+
yx as createPresets,
|
|
27872
|
+
Ax as createSessionStoreDefinition,
|
|
27873
|
+
Cx as createStoreBuilder,
|
|
27874
|
+
Tx as createStoreDefinition,
|
|
27878
27875
|
a_ as createUrl,
|
|
27879
27876
|
Kd as createWholeLastUpdateStoreDefinition,
|
|
27880
27877
|
C1 as csvContains,
|
|
27881
|
-
|
|
27878
|
+
nT as csvDefaults,
|
|
27882
27879
|
Vm as deepSelect,
|
|
27883
|
-
|
|
27880
|
+
BC as extensionExists,
|
|
27884
27881
|
A1 as extractErrorDescription,
|
|
27885
27882
|
S1 as fromCamelCase,
|
|
27886
|
-
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27883
|
+
RC as getAreaAround,
|
|
27884
|
+
$C as getAreaToLeft,
|
|
27885
|
+
LC as getAreaToRight,
|
|
27886
|
+
FC as getGoogleMapsLocationLine,
|
|
27887
|
+
WC as getImageData,
|
|
27891
27888
|
Pm as getLocationLine,
|
|
27892
|
-
|
|
27889
|
+
ZC as getMinDate,
|
|
27893
27890
|
x1 as getMinDateString,
|
|
27894
27891
|
M1 as getRandomColor,
|
|
27895
27892
|
E1 as hasSearch,
|
|
@@ -27897,46 +27894,46 @@ export {
|
|
|
27897
27894
|
Tn as isLengthyArray,
|
|
27898
27895
|
_1 as isMinDate,
|
|
27899
27896
|
Yn as nestedValue,
|
|
27900
|
-
|
|
27901
|
-
|
|
27902
|
-
|
|
27903
|
-
|
|
27904
|
-
|
|
27905
|
-
|
|
27906
|
-
|
|
27907
|
-
|
|
27908
|
-
|
|
27897
|
+
jC as removeWeekday,
|
|
27898
|
+
KC as roundTo,
|
|
27899
|
+
YC as toCamelCase,
|
|
27900
|
+
XC as toCompareString,
|
|
27901
|
+
QC as toggleCSV,
|
|
27902
|
+
eT as twiddleThumbs,
|
|
27903
|
+
b_ as useActions,
|
|
27904
|
+
ix as useActionsTracker,
|
|
27905
|
+
r_ as useApi,
|
|
27909
27906
|
Lv as useAuth,
|
|
27910
27907
|
Bd as useAuthUrl,
|
|
27911
|
-
|
|
27912
|
-
|
|
27908
|
+
g_ as useCSV,
|
|
27909
|
+
ax as useConfirmAsync,
|
|
27913
27910
|
sT as useCosmetics,
|
|
27914
27911
|
n_ as useDataUrl,
|
|
27915
|
-
|
|
27912
|
+
ox as useDates,
|
|
27916
27913
|
$v as useDbName,
|
|
27917
27914
|
oT as useDemo,
|
|
27918
27915
|
uT as useDocumentMeta,
|
|
27919
27916
|
cT as useDraggable,
|
|
27920
27917
|
hs as useFilters,
|
|
27921
|
-
|
|
27918
|
+
rx as useId,
|
|
27922
27919
|
Fu as useList,
|
|
27923
27920
|
dT as useLocalCache,
|
|
27924
27921
|
vn as useLocalDb,
|
|
27925
27922
|
fT as useNavigation,
|
|
27926
27923
|
mT as usePWA,
|
|
27927
|
-
|
|
27928
|
-
|
|
27924
|
+
hx as usePresets,
|
|
27925
|
+
aT as useRequireConfirmation,
|
|
27929
27926
|
vT as useResizable,
|
|
27930
27927
|
hT as useRules,
|
|
27931
|
-
|
|
27932
|
-
|
|
27928
|
+
lT as useSelectDate,
|
|
27929
|
+
rT as useSelectDialog,
|
|
27933
27930
|
yT as useStore,
|
|
27934
|
-
|
|
27935
|
-
|
|
27931
|
+
xx as useStoreDefinition,
|
|
27932
|
+
iT as useTextDialog,
|
|
27936
27933
|
gT as useTracker,
|
|
27937
|
-
|
|
27934
|
+
tT as useUrls,
|
|
27938
27935
|
I1 as validEmail,
|
|
27939
27936
|
Wl as weekdayPairs,
|
|
27940
|
-
|
|
27941
|
-
|
|
27937
|
+
UC as weekdayShortName,
|
|
27938
|
+
zC as weekdayValue
|
|
27942
27939
|
};
|