bt-core-app 1.4.319 → 1.4.321
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 +103 -84
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -5331,9 +5331,23 @@ var Vr = function() {
|
|
|
5331
5331
|
return a.firstBy = a, a;
|
|
5332
5332
|
}();
|
|
5333
5333
|
function eV(e) {
|
|
5334
|
+
if (e != null) {
|
|
5335
|
+
if (Array.isArray(e.data))
|
|
5336
|
+
throw "Is an array";
|
|
5337
|
+
return e.data;
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
function tV(e) {
|
|
5341
|
+
if (e != null) {
|
|
5342
|
+
if (!Array.isArray(e.data))
|
|
5343
|
+
throw "Not an array";
|
|
5344
|
+
return e.data;
|
|
5345
|
+
}
|
|
5346
|
+
}
|
|
5347
|
+
function nV(e) {
|
|
5334
5348
|
return e.reduce((t, n) => t += n, 0);
|
|
5335
5349
|
}
|
|
5336
|
-
function
|
|
5350
|
+
function aV(e, t, n = !0) {
|
|
5337
5351
|
return e.sort(function(a, r) {
|
|
5338
5352
|
return t ? typeof t == "string" ? In(a, t) > In(r, t) ? n === !0 ? 1 : -1 : In(a, t) < In(r, t) ? n === !0 ? -1 : 1 : 0 : t(a) > t(r) ? n === !0 ? 1 : -1 : t(a) < t(r) ? n === !0 ? -1 : 1 : 0 : a > r ? n === !0 ? 1 : -1 : a < r ? n === !0 ? -1 : 1 : 0;
|
|
5339
5353
|
});
|
|
@@ -5354,7 +5368,7 @@ function Tw(e, t, n) {
|
|
|
5354
5368
|
let a = new Image();
|
|
5355
5369
|
a.onload = t, a.onerror = n, a.src = e;
|
|
5356
5370
|
}
|
|
5357
|
-
function
|
|
5371
|
+
function rV(e) {
|
|
5358
5372
|
return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
|
|
5359
5373
|
}
|
|
5360
5374
|
function Dw(e, t) {
|
|
@@ -5366,7 +5380,7 @@ function Dw(e, t) {
|
|
|
5366
5380
|
l ? l.push(a) : n.set(r, [a]);
|
|
5367
5381
|
}), n;
|
|
5368
5382
|
}
|
|
5369
|
-
function
|
|
5383
|
+
function lV(e = "blitzItExtensionExists") {
|
|
5370
5384
|
try {
|
|
5371
5385
|
var t = document.getElementById(e);
|
|
5372
5386
|
return t != null;
|
|
@@ -5374,7 +5388,7 @@ function aV(e = "blitzItExtensionExists") {
|
|
|
5374
5388
|
return console.log(Nw(n)), !1;
|
|
5375
5389
|
}
|
|
5376
5390
|
}
|
|
5377
|
-
function
|
|
5391
|
+
function iV(e, t) {
|
|
5378
5392
|
if (!(e.lat == null || e.lng == null))
|
|
5379
5393
|
return [
|
|
5380
5394
|
{ lat: e.lat - t, lng: e.lng + t },
|
|
@@ -5383,7 +5397,7 @@ function rV(e, t) {
|
|
|
5383
5397
|
{ lat: e.lat + t, lng: e.lng + t }
|
|
5384
5398
|
];
|
|
5385
5399
|
}
|
|
5386
|
-
function
|
|
5400
|
+
function oV(e, t) {
|
|
5387
5401
|
if (!(e.lat == null || e.lng == null))
|
|
5388
5402
|
return [
|
|
5389
5403
|
{ lat: e.lat - t * 2, lng: e.lng + t },
|
|
@@ -5392,7 +5406,7 @@ function lV(e, t) {
|
|
|
5392
5406
|
{ lat: e.lat, lng: e.lng + t }
|
|
5393
5407
|
];
|
|
5394
5408
|
}
|
|
5395
|
-
function
|
|
5409
|
+
function sV(e, t) {
|
|
5396
5410
|
if (!(e.lat == null || e.lng == null))
|
|
5397
5411
|
return [
|
|
5398
5412
|
{ lat: e.lat, lng: e.lng + t },
|
|
@@ -5401,7 +5415,7 @@ function iV(e, t) {
|
|
|
5401
5415
|
{ lat: e.lat + t * 2, lng: e.lng + t }
|
|
5402
5416
|
];
|
|
5403
5417
|
}
|
|
5404
|
-
function
|
|
5418
|
+
function uV(e) {
|
|
5405
5419
|
var t = lg(e, !0);
|
|
5406
5420
|
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(" ", "");
|
|
5407
5421
|
}
|
|
@@ -5413,7 +5427,7 @@ function lg(e, t = !1) {
|
|
|
5413
5427
|
var n = "";
|
|
5414
5428
|
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;
|
|
5415
5429
|
}
|
|
5416
|
-
async function
|
|
5430
|
+
async function cV(e, t = !0) {
|
|
5417
5431
|
return new Promise((n, a) => {
|
|
5418
5432
|
e == null && a("no url given");
|
|
5419
5433
|
var r = new Image();
|
|
@@ -5430,7 +5444,7 @@ async function sV(e, t = !0) {
|
|
|
5430
5444
|
function Aw(e) {
|
|
5431
5445
|
return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
|
|
5432
5446
|
}
|
|
5433
|
-
function
|
|
5447
|
+
function dV(e) {
|
|
5434
5448
|
if (e != null && typeof e == "object")
|
|
5435
5449
|
for (var t in e)
|
|
5436
5450
|
/^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
|
|
@@ -5449,25 +5463,25 @@ const oo = [
|
|
|
5449
5463
|
{ value: 7, short: "sat", values: ["sat", "saturday"] },
|
|
5450
5464
|
{ value: 0, short: "always", values: ["always", null, void 0] }
|
|
5451
5465
|
];
|
|
5452
|
-
function
|
|
5466
|
+
function fV(e) {
|
|
5453
5467
|
if (e == null)
|
|
5454
5468
|
return 0;
|
|
5455
5469
|
const t = e.replaceAll(" ", "").split(",").map((a) => a.toLowerCase()), n = oo.filter((a) => a.values.some((r) => t.some((l) => r == l))).map((a) => a.value);
|
|
5456
5470
|
return n.length == 0 ? 8 : Math.min(...n);
|
|
5457
5471
|
}
|
|
5458
|
-
function
|
|
5472
|
+
function mV(e) {
|
|
5459
5473
|
return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
|
|
5460
5474
|
let n = oo.find((a) => a.values.some((r) => r == t));
|
|
5461
5475
|
return n != null ? n.short : "";
|
|
5462
5476
|
}).filter((t) => t != null && t.length > 0).toString();
|
|
5463
5477
|
}
|
|
5464
|
-
function
|
|
5478
|
+
function vV(e, t) {
|
|
5465
5479
|
if (e == null || t == null)
|
|
5466
5480
|
return !0;
|
|
5467
5481
|
const n = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = t.replaceAll(" ", "").toLowerCase(), r = oo.find((l) => l.values.some((i) => i == a));
|
|
5468
5482
|
return r != null && n.some((l) => l == r.short || r.values.some((i) => i == l));
|
|
5469
5483
|
}
|
|
5470
|
-
function
|
|
5484
|
+
function hV(e, t) {
|
|
5471
5485
|
if (t == null)
|
|
5472
5486
|
return e;
|
|
5473
5487
|
let n = e ?? "";
|
|
@@ -5475,13 +5489,13 @@ function mV(e, t) {
|
|
|
5475
5489
|
let a = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((r) => oo.find((l) => l.values.some((i) => i == r))).filter((r) => r != null).sort(Vr.firstBy((r) => (r == null ? void 0 : r.value) ?? 0)).map((r) => r == null ? void 0 : r.short))].toString();
|
|
5476
5490
|
return a.length > 0 ? a : void 0;
|
|
5477
5491
|
}
|
|
5478
|
-
function
|
|
5492
|
+
function gV(e, t) {
|
|
5479
5493
|
if (t == null || e == null)
|
|
5480
5494
|
return e;
|
|
5481
5495
|
let n = e ?? "", a = t.replaceAll(" ", "").toLowerCase(), r = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((l) => oo.find((i) => i.values.some((o) => o == l && o != a))).filter((l) => l != null).sort(Vr.firstBy((l) => (l == null ? void 0 : l.value) ?? 0)).map((l) => l == null ? void 0 : l.short))].toString();
|
|
5482
5496
|
return r.length > 0 ? r : void 0;
|
|
5483
5497
|
}
|
|
5484
|
-
function
|
|
5498
|
+
function yV(e, t) {
|
|
5485
5499
|
return e != null && Array.isArray(e) && e.length == t;
|
|
5486
5500
|
}
|
|
5487
5501
|
function Vt(e, t = 0) {
|
|
@@ -5493,7 +5507,7 @@ function Zc(e) {
|
|
|
5493
5507
|
function Lw(e) {
|
|
5494
5508
|
return e == "0001-01-01T00:00:00Z";
|
|
5495
5509
|
}
|
|
5496
|
-
function
|
|
5510
|
+
function pV() {
|
|
5497
5511
|
return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
|
|
5498
5512
|
}
|
|
5499
5513
|
function Ew() {
|
|
@@ -5502,7 +5516,7 @@ function Ew() {
|
|
|
5502
5516
|
function Vw(e, t) {
|
|
5503
5517
|
return e == null || t == null ? !1 : e.split(":")[0] == t.split(":")[0];
|
|
5504
5518
|
}
|
|
5505
|
-
function
|
|
5519
|
+
function bV(e, t) {
|
|
5506
5520
|
let n = "1", a = 0;
|
|
5507
5521
|
if (a < t)
|
|
5508
5522
|
do
|
|
@@ -5511,7 +5525,7 @@ function yV(e, t) {
|
|
|
5511
5525
|
let r = Number.parseInt(n);
|
|
5512
5526
|
return Math.round(e * r) / r;
|
|
5513
5527
|
}
|
|
5514
|
-
function
|
|
5528
|
+
function wV(e, t) {
|
|
5515
5529
|
let n = e ?? "";
|
|
5516
5530
|
return t != null && (Pw(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
|
|
5517
5531
|
}
|
|
@@ -5550,7 +5564,7 @@ function ig(e, t = (n) => n) {
|
|
|
5550
5564
|
return Vt(l) && a.push(...l), a;
|
|
5551
5565
|
}, [])] : [];
|
|
5552
5566
|
}
|
|
5553
|
-
function
|
|
5567
|
+
function xV(e) {
|
|
5554
5568
|
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);
|
|
5555
5569
|
for (let l = 0; l < n.length; l++)
|
|
5556
5570
|
r[l] = n.charCodeAt(l);
|
|
@@ -5586,10 +5600,10 @@ function Rw(e, t, n) {
|
|
|
5586
5600
|
}
|
|
5587
5601
|
return !1;
|
|
5588
5602
|
}
|
|
5589
|
-
function
|
|
5603
|
+
function kV(e) {
|
|
5590
5604
|
return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
|
|
5591
5605
|
}
|
|
5592
|
-
function
|
|
5606
|
+
function SV(e = 2e3) {
|
|
5593
5607
|
return new Promise((t) => {
|
|
5594
5608
|
setTimeout(() => t(), e);
|
|
5595
5609
|
});
|
|
@@ -7088,7 +7102,7 @@ function em() {
|
|
|
7088
7102
|
const e = xs();
|
|
7089
7103
|
return qt == null ? "" : (qt[e] ?? qt.development).auth ?? "";
|
|
7090
7104
|
}
|
|
7091
|
-
function
|
|
7105
|
+
function CV(e, t) {
|
|
7092
7106
|
const n = xs();
|
|
7093
7107
|
if (qt == null)
|
|
7094
7108
|
return "";
|
|
@@ -7102,7 +7116,7 @@ function Yw(e) {
|
|
|
7102
7116
|
const n = qt[t] ?? qt.development;
|
|
7103
7117
|
return e == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
|
|
7104
7118
|
}
|
|
7105
|
-
function
|
|
7119
|
+
function MV() {
|
|
7106
7120
|
return qt;
|
|
7107
7121
|
}
|
|
7108
7122
|
function Uw(e) {
|
|
@@ -7116,7 +7130,7 @@ function _r() {
|
|
|
7116
7130
|
const e = ug();
|
|
7117
7131
|
return (_o == null || _o.config.name != e) && (_o = sg.createInstance({ name: e })), _o;
|
|
7118
7132
|
}
|
|
7119
|
-
function
|
|
7133
|
+
function _V() {
|
|
7120
7134
|
async function e(r) {
|
|
7121
7135
|
const l = _r();
|
|
7122
7136
|
(await l.keys()).filter((s) => s.startsWith(r)).forEach((s) => {
|
|
@@ -7140,7 +7154,7 @@ function CV() {
|
|
|
7140
7154
|
};
|
|
7141
7155
|
}
|
|
7142
7156
|
let Go;
|
|
7143
|
-
function
|
|
7157
|
+
function TV(e) {
|
|
7144
7158
|
return Go(e)();
|
|
7145
7159
|
}
|
|
7146
7160
|
function Cr(e) {
|
|
@@ -8022,7 +8036,7 @@ function Xc(e) {
|
|
|
8022
8036
|
saveItem: c
|
|
8023
8037
|
};
|
|
8024
8038
|
}
|
|
8025
|
-
function
|
|
8039
|
+
function DV() {
|
|
8026
8040
|
const { actionErrorMsg: e, actionLoadingMsg: t, clearErrors: n, isLoading: a, doAction: r, logError: l } = rh(
|
|
8027
8041
|
{
|
|
8028
8042
|
stringifyError: (o) => typeof o == "object" ? o.message : o == null ? void 0 : o.toString()
|
|
@@ -8544,7 +8558,7 @@ let Yu;
|
|
|
8544
8558
|
function cg() {
|
|
8545
8559
|
return Yu;
|
|
8546
8560
|
}
|
|
8547
|
-
function
|
|
8561
|
+
function AV(e) {
|
|
8548
8562
|
const t = localStorage.getItem("cosmetics");
|
|
8549
8563
|
let n;
|
|
8550
8564
|
return t != null && t.length > 0 && (n = JSON.parse(t)), n ?? (n = {}), n.dark ?? (n.dark = e == null ? void 0 : e.dark), n.light ?? (n.light = e == null ? void 0 : e.light), n.theme ?? (n.theme = e == null ? void 0 : e.defaultTheme), {
|
|
@@ -9093,7 +9107,7 @@ const bg = [
|
|
|
9093
9107
|
{ text: "Monthly", value: "Monthly" },
|
|
9094
9108
|
{ text: "Custom", value: "Custom" }
|
|
9095
9109
|
];
|
|
9096
|
-
function
|
|
9110
|
+
function IV() {
|
|
9097
9111
|
const { timeZone: e } = Rr();
|
|
9098
9112
|
function t(n) {
|
|
9099
9113
|
if (n.cron == null)
|
|
@@ -9381,7 +9395,7 @@ function Dx(e) {
|
|
|
9381
9395
|
unpack: g
|
|
9382
9396
|
};
|
|
9383
9397
|
}
|
|
9384
|
-
const
|
|
9398
|
+
const LV = {
|
|
9385
9399
|
canExportCSV: !1
|
|
9386
9400
|
};
|
|
9387
9401
|
function Ax() {
|
|
@@ -9438,7 +9452,7 @@ function Ax() {
|
|
|
9438
9452
|
};
|
|
9439
9453
|
}
|
|
9440
9454
|
let Zu;
|
|
9441
|
-
function
|
|
9455
|
+
function EV() {
|
|
9442
9456
|
return Zu;
|
|
9443
9457
|
}
|
|
9444
9458
|
function Ix(e) {
|
|
@@ -24021,7 +24035,7 @@ function Yd(e, t, n) {
|
|
|
24021
24035
|
Pe.value = me != null || He != null;
|
|
24022
24036
|
}), _e(() => e.refreshToggle, () => {
|
|
24023
24037
|
jn({ deepRefresh: !0 });
|
|
24024
|
-
}), th([E, () => e.items], () => {
|
|
24038
|
+
}), th([E, () => e.items, () => e.filterToggle], () => {
|
|
24025
24039
|
Un();
|
|
24026
24040
|
}), pt(async () => {
|
|
24027
24041
|
var me;
|
|
@@ -24294,6 +24308,7 @@ const N_ = {
|
|
|
24294
24308
|
defaultFilters: {},
|
|
24295
24309
|
eager: { type: Boolean, default: !0 },
|
|
24296
24310
|
errorMsg: {},
|
|
24311
|
+
filterToggle: { type: Boolean },
|
|
24297
24312
|
headers: {},
|
|
24298
24313
|
hideActions: { type: Boolean },
|
|
24299
24314
|
isSingle: { type: Boolean },
|
|
@@ -32977,7 +32992,7 @@ const r1 = /* @__PURE__ */ tt({
|
|
|
32977
32992
|
}), null, 16, ["class", "dark", "modelValue"]));
|
|
32978
32993
|
}
|
|
32979
32994
|
}), l1 = /* @__PURE__ */ Ud(QI, [["__scopeId", "data-v-d47f4465"]]);
|
|
32980
|
-
function
|
|
32995
|
+
function VV() {
|
|
32981
32996
|
const e = Wd();
|
|
32982
32997
|
return async (t) => {
|
|
32983
32998
|
let n;
|
|
@@ -33022,7 +33037,7 @@ function LV() {
|
|
|
33022
33037
|
return n != null && t.itemValue != null ? n[t.itemValue] : n;
|
|
33023
33038
|
};
|
|
33024
33039
|
}
|
|
33025
|
-
function
|
|
33040
|
+
function PV() {
|
|
33026
33041
|
const e = Wd();
|
|
33027
33042
|
return async (t) => {
|
|
33028
33043
|
let n;
|
|
@@ -33044,7 +33059,7 @@ function EV() {
|
|
|
33044
33059
|
return n;
|
|
33045
33060
|
};
|
|
33046
33061
|
}
|
|
33047
|
-
function
|
|
33062
|
+
function $V() {
|
|
33048
33063
|
const e = Wd();
|
|
33049
33064
|
return async (t) => {
|
|
33050
33065
|
let n;
|
|
@@ -33067,7 +33082,7 @@ function VV() {
|
|
|
33067
33082
|
};
|
|
33068
33083
|
}
|
|
33069
33084
|
var eL = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
33070
|
-
function
|
|
33085
|
+
function BV(e) {
|
|
33071
33086
|
function t(n) {
|
|
33072
33087
|
var r;
|
|
33073
33088
|
const a = n.matched.slice().reverse().find((l) => l.meta && l.meta.title);
|
|
@@ -33083,7 +33098,7 @@ function PV(e) {
|
|
|
33083
33098
|
updateMeta: t
|
|
33084
33099
|
};
|
|
33085
33100
|
}
|
|
33086
|
-
function
|
|
33101
|
+
function NV(e) {
|
|
33087
33102
|
var l;
|
|
33088
33103
|
const t = ((l = e == null ? void 0 : e.dates) == null ? void 0 : l.tzDate) ?? rd().tzDate, n = hi();
|
|
33089
33104
|
function a(i) {
|
|
@@ -33175,7 +33190,7 @@ const tL = {
|
|
|
33175
33190
|
component: hd
|
|
33176
33191
|
};
|
|
33177
33192
|
var aL = "M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z", rL = "M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z", lL = "M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z", iL = "M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z", oL = "M19,3H18V1H16V3H8V1H6V3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H10V19H5V8H19V9H21V5A2,2 0 0,0 19,3M21.7,13.35L20.7,14.35L18.65,12.35L19.65,11.35C19.85,11.14 20.19,11.13 20.42,11.35L21.7,12.63C21.89,12.83 21.89,13.15 21.7,13.35M12,18.94L18.07,12.88L20.12,14.88L14.06,21H12V18.94Z", sL = "M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z", uL = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z", cL = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", dL = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z", fL = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", mL = "M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z", vL = "M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z", hL = "M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L6.04,7.5L12,10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V9.21L13,12.58V19.29L19,15.91Z", gL = "M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z", yL = "M16.24,3.56L21.19,8.5C21.97,9.29 21.97,10.55 21.19,11.34L12,20.53C10.44,22.09 7.91,22.09 6.34,20.53L2.81,17C2.03,16.21 2.03,14.95 2.81,14.16L13.41,3.56C14.2,2.78 15.46,2.78 16.24,3.56M4.22,15.58L7.76,19.11C8.54,19.9 9.8,19.9 10.59,19.11L14.12,15.58L9.17,10.63L4.22,15.58Z", pL = "M15.14,3C14.63,3 14.12,3.2 13.73,3.59L2.59,14.73C1.81,15.5 1.81,16.77 2.59,17.56L5.03,20H12.69L21.41,11.27C22.2,10.5 22.2,9.23 21.41,8.44L16.56,3.59C16.17,3.2 15.65,3 15.14,3M17,18L15,20H22V18", bL = "M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2M15 16L13 20H10L12 16H9V11H15V16M13 9V3.5L18.5 9H13Z", wL = "M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z", xL = "M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z", kL = "M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z", SL = "M7,10L12,15L17,10H7Z", CL = "M1.88,0.46L0.46,1.88L5.59,7H2V9H9V2H7V5.59M11,7V9H21V15H23V9A2,2 0 0,0 21,7M7,11V21A2,2 0 0,0 9,23H15V21H9V11M15.88,14.46L14.46,15.88L19.6,21H17V23H23V17H21V19.59", ML = "M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z", _L = "M18.66,2C18.4,2 18.16,2.09 17.97,2.28L16.13,4.13L19.88,7.88L21.72,6.03C22.11,5.64 22.11,5 21.72,4.63L19.38,2.28C19.18,2.09 18.91,2 18.66,2M3.28,4L2,5.28L8.5,11.75L4,16.25V20H7.75L12.25,15.5L18.72,22L20,20.72L13.5,14.25L9.75,10.5L3.28,4M15.06,5.19L11.03,9.22L14.78,12.97L18.81,8.94L15.06,5.19Z", TL = "M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z", DL = "M7.5,2C5.71,3.15 4.5,5.18 4.5,7.5C4.5,9.82 5.71,11.85 7.53,13C4.46,13 2,10.54 2,7.5A5.5,5.5 0 0,1 7.5,2M19.07,3.5L20.5,4.93L4.93,20.5L3.5,19.07L19.07,3.5M12.89,5.93L11.41,5L9.97,6L10.39,4.3L9,3.24L10.75,3.12L11.33,1.47L12,3.1L13.73,3.13L12.38,4.26L12.89,5.93M9.59,9.54L8.43,8.81L7.31,9.59L7.65,8.27L6.56,7.44L7.92,7.35L8.37,6.06L8.88,7.33L10.24,7.36L9.19,8.23L9.59,9.54M19,13.5A5.5,5.5 0 0,1 13.5,19C12.28,19 11.15,18.6 10.24,17.93L17.93,10.24C18.6,11.15 19,12.28 19,13.5M14.6,20.08L17.37,18.93L17.13,22.28L14.6,20.08M18.93,17.38L20.08,14.61L22.28,17.15L18.93,17.38M20.08,12.42L18.94,9.64L22.28,9.88L20.08,12.42M9.63,18.93L12.4,20.08L9.87,22.27L9.63,18.93Z", AL = "M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z", IL = "M16,5V18H21V5M4,18H9V5H4M10,18H15V5H10V18Z", LL = "M4,4H20V20H4V4M6,8V18H18V8H6Z";
|
|
33178
|
-
function
|
|
33193
|
+
function FV(e) {
|
|
33179
33194
|
return {
|
|
33180
33195
|
defaultSet: "mdi",
|
|
33181
33196
|
aliases: {
|
|
@@ -33434,7 +33449,7 @@ function i1(e, t, n) {
|
|
|
33434
33449
|
...v
|
|
33435
33450
|
};
|
|
33436
33451
|
}
|
|
33437
|
-
function
|
|
33452
|
+
function RV(e) {
|
|
33438
33453
|
const t = U([]), n = U(!1);
|
|
33439
33454
|
function a() {
|
|
33440
33455
|
t.value.every((l) => l.loaded) && (e.onAllLoaded(), n.value = !1);
|
|
@@ -33512,7 +33527,7 @@ function PL() {
|
|
|
33512
33527
|
let Sv, Cv, Mv, _v = !1;
|
|
33513
33528
|
const Au = U(!1), Iu = U(!1), Tv = U(), Po = U();
|
|
33514
33529
|
let Mc;
|
|
33515
|
-
function
|
|
33530
|
+
function zV() {
|
|
33516
33531
|
return Mc;
|
|
33517
33532
|
}
|
|
33518
33533
|
function $L() {
|
|
@@ -33546,7 +33561,7 @@ function $L() {
|
|
|
33546
33561
|
}, Mc;
|
|
33547
33562
|
}
|
|
33548
33563
|
const o1 = Symbol(), BL = Symbol(), s1 = Symbol(), u1 = Symbol();
|
|
33549
|
-
function
|
|
33564
|
+
function HV(e, t, n) {
|
|
33550
33565
|
const a = We(o1), r = We(u1), l = We(s1), i = a.findItem(e.meta.nav ?? e.name) ?? void 0, o = e.meta.requiresAuth !== !1 || i != null && i.requiresAuth !== !1, s = e.query.isDemo === "true";
|
|
33551
33566
|
if (!o)
|
|
33552
33567
|
a.updateNavigationChange(e, t);
|
|
@@ -33562,7 +33577,7 @@ function RV(e, t, n) {
|
|
|
33562
33577
|
} else
|
|
33563
33578
|
return r.login(window.location.pathname), n;
|
|
33564
33579
|
}
|
|
33565
|
-
function
|
|
33580
|
+
function OV(e) {
|
|
33566
33581
|
const t = [];
|
|
33567
33582
|
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) => Hw(n) || "Email must be valid")), t;
|
|
33568
33583
|
}
|
|
@@ -38322,6 +38337,7 @@ const O3 = /* @__PURE__ */ Ud(z3, [["render", H3]]), W3 = /* @__PURE__ */ tt({
|
|
|
38322
38337
|
defaultFilters: {},
|
|
38323
38338
|
eager: { type: Boolean, default: !0 },
|
|
38324
38339
|
errorMsg: {},
|
|
38340
|
+
filterToggle: { type: Boolean },
|
|
38325
38341
|
headers: {},
|
|
38326
38342
|
hideActions: { type: Boolean },
|
|
38327
38343
|
isSingle: { type: Boolean },
|
|
@@ -38662,6 +38678,7 @@ const O3 = /* @__PURE__ */ Ud(z3, [["render", H3]]), W3 = /* @__PURE__ */ tt({
|
|
|
38662
38678
|
defaultFilters: {},
|
|
38663
38679
|
eager: { type: Boolean, default: !0 },
|
|
38664
38680
|
errorMsg: {},
|
|
38681
|
+
filterToggle: { type: Boolean },
|
|
38665
38682
|
headers: {},
|
|
38666
38683
|
hideActions: { type: Boolean },
|
|
38667
38684
|
isSingle: { type: Boolean },
|
|
@@ -38829,7 +38846,7 @@ const O3 = /* @__PURE__ */ Ud(z3, [["render", H3]]), W3 = /* @__PURE__ */ tt({
|
|
|
38829
38846
|
return (r, l) => (R(), se("span", null, Be(r.prefix) + Be(a.value) + Be(r.suffix), 1));
|
|
38830
38847
|
}
|
|
38831
38848
|
});
|
|
38832
|
-
function
|
|
38849
|
+
function WV(e) {
|
|
38833
38850
|
return {
|
|
38834
38851
|
install(t, n) {
|
|
38835
38852
|
var f, c, v;
|
|
@@ -38858,19 +38875,19 @@ function HV(e) {
|
|
|
38858
38875
|
};
|
|
38859
38876
|
}
|
|
38860
38877
|
export {
|
|
38861
|
-
|
|
38862
|
-
|
|
38878
|
+
xV as DataURIToBlob,
|
|
38879
|
+
hV as addWeekday,
|
|
38863
38880
|
dn as appendUrl,
|
|
38864
38881
|
u1 as authKey,
|
|
38865
38882
|
Iw as capitalizeWords,
|
|
38866
38883
|
Tw as checkImage,
|
|
38867
38884
|
Bw as containsSearch,
|
|
38868
|
-
|
|
38885
|
+
vV as containsWeekday,
|
|
38869
38886
|
Kc as copyDeep,
|
|
38870
38887
|
$w as copyItemByAlphabet,
|
|
38871
38888
|
Kw as createApi,
|
|
38872
38889
|
Xw as createAuth,
|
|
38873
|
-
|
|
38890
|
+
WV as createCore,
|
|
38874
38891
|
tx as createCosmetics,
|
|
38875
38892
|
Tx as createDates,
|
|
38876
38893
|
Ix as createDemo,
|
|
@@ -38885,42 +38902,44 @@ export {
|
|
|
38885
38902
|
E2 as createVuetify,
|
|
38886
38903
|
tm as createWholeLastUpdateStoreDefinition,
|
|
38887
38904
|
Pw as csvContains,
|
|
38888
|
-
|
|
38905
|
+
LV as csvDefaults,
|
|
38889
38906
|
ig as deepSelect,
|
|
38890
38907
|
s1 as demoKey,
|
|
38891
|
-
|
|
38892
|
-
|
|
38908
|
+
rV as distinct,
|
|
38909
|
+
tV as expectArray,
|
|
38910
|
+
eV as expectSingle,
|
|
38911
|
+
lV as extensionExists,
|
|
38893
38912
|
Nw as extractErrorDescription,
|
|
38894
38913
|
Aw as fromCamelCase,
|
|
38895
|
-
|
|
38896
|
-
|
|
38897
|
-
|
|
38898
|
-
|
|
38899
|
-
|
|
38914
|
+
iV as getAreaAround,
|
|
38915
|
+
oV as getAreaToLeft,
|
|
38916
|
+
sV as getAreaToRight,
|
|
38917
|
+
uV as getGoogleMapsLocationLine,
|
|
38918
|
+
cV as getImageData,
|
|
38900
38919
|
lg as getLocationLine,
|
|
38901
|
-
|
|
38920
|
+
pV as getMinDate,
|
|
38902
38921
|
Ew as getMinDateString,
|
|
38903
38922
|
Fw as getRandomColor,
|
|
38904
38923
|
Dw as group,
|
|
38905
|
-
|
|
38924
|
+
HV as guardRoute,
|
|
38906
38925
|
Rw as hasSearch,
|
|
38907
|
-
|
|
38926
|
+
yV as isArrayOfLength,
|
|
38908
38927
|
Vt as isLengthyArray,
|
|
38909
38928
|
Lw as isMinDate,
|
|
38910
38929
|
Zc as isNullOrEmpty,
|
|
38911
38930
|
Vw as isSameDownToHour,
|
|
38912
38931
|
o1 as navigationKey,
|
|
38913
38932
|
In as nestedValue,
|
|
38914
|
-
|
|
38915
|
-
|
|
38916
|
-
|
|
38933
|
+
aV as orderBy,
|
|
38934
|
+
gV as removeWeekday,
|
|
38935
|
+
bV as roundTo,
|
|
38917
38936
|
Ow as singularize,
|
|
38918
38937
|
zw as splitArray,
|
|
38919
|
-
|
|
38920
|
-
|
|
38921
|
-
|
|
38922
|
-
|
|
38923
|
-
|
|
38938
|
+
nV as sum,
|
|
38939
|
+
dV as toCamelCase,
|
|
38940
|
+
kV as toCompareString,
|
|
38941
|
+
wV as toggleCSV,
|
|
38942
|
+
SV as twiddleThumbs,
|
|
38924
38943
|
BL as urlsKey,
|
|
38925
38944
|
Xc as useActions,
|
|
38926
38945
|
rh as useActionsTracker,
|
|
@@ -38932,44 +38951,44 @@ export {
|
|
|
38932
38951
|
cg as useCosmetics,
|
|
38933
38952
|
_x as useCron,
|
|
38934
38953
|
Dx as useCronAdjustments,
|
|
38935
|
-
|
|
38954
|
+
IV as useCronPredictor,
|
|
38936
38955
|
xs as useCurrentEnv,
|
|
38937
38956
|
Yw as useDataUrl,
|
|
38938
38957
|
rd as useDates,
|
|
38939
38958
|
ug as useDbName,
|
|
38940
|
-
|
|
38941
|
-
|
|
38959
|
+
EV as useDemo,
|
|
38960
|
+
BV as useDocumentMeta,
|
|
38942
38961
|
Jw as useDraggable,
|
|
38943
38962
|
hi as useFilters,
|
|
38944
|
-
|
|
38945
|
-
|
|
38963
|
+
NV as useGraphing,
|
|
38964
|
+
FV as useIcons,
|
|
38946
38965
|
C0 as useId,
|
|
38947
38966
|
Q3 as useIds,
|
|
38948
|
-
|
|
38967
|
+
CV as useImageUrl,
|
|
38949
38968
|
i1 as useItem,
|
|
38950
38969
|
Yd as useList,
|
|
38951
|
-
|
|
38952
|
-
|
|
38953
|
-
|
|
38954
|
-
|
|
38970
|
+
RV as useLists,
|
|
38971
|
+
DV as useLocalActions,
|
|
38972
|
+
_V as useLocalCache,
|
|
38973
|
+
AV as useLocalCosmetics,
|
|
38955
38974
|
_r as useLocalDb,
|
|
38956
38975
|
PL as useMenu,
|
|
38957
38976
|
hp as useNavBack,
|
|
38958
38977
|
pl as useNavigation,
|
|
38959
38978
|
$_ as useNested,
|
|
38960
|
-
|
|
38979
|
+
zV as usePWA,
|
|
38961
38980
|
Ps as usePresets,
|
|
38962
38981
|
ex as useResizable,
|
|
38963
|
-
|
|
38964
|
-
|
|
38965
|
-
|
|
38966
|
-
|
|
38967
|
-
|
|
38982
|
+
OV as useRules,
|
|
38983
|
+
PV as useSelectDate,
|
|
38984
|
+
VV as useSelectItem,
|
|
38985
|
+
$V as useSelectNumber,
|
|
38986
|
+
TV as useStore,
|
|
38968
38987
|
Cr as useStoreDefinition,
|
|
38969
38988
|
EL as useTracker,
|
|
38970
|
-
|
|
38989
|
+
MV as useUrls,
|
|
38971
38990
|
Hw as validEmail,
|
|
38972
38991
|
oo as weekdayPairs,
|
|
38973
|
-
|
|
38974
|
-
|
|
38992
|
+
mV as weekdayShortName,
|
|
38993
|
+
fV as weekdayValue
|
|
38975
38994
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -500,6 +500,10 @@ export declare interface DoActionOptions {
|
|
|
500
500
|
|
|
501
501
|
declare type Environment = 'production' | 'staging' | 'development';
|
|
502
502
|
|
|
503
|
+
export declare function expectArray<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T[] | undefined;
|
|
504
|
+
|
|
505
|
+
export declare function expectSingle<T>(res: StoreGetReturn<T | T[]> | StoreGetAllReturn<T> | undefined): T | undefined;
|
|
506
|
+
|
|
503
507
|
export declare interface ExportToCSVOptions {
|
|
504
508
|
items: any[];
|
|
505
509
|
headers?: TableColumn[];
|
|
@@ -742,6 +746,7 @@ export declare interface ListProps<T, TSave, TReturn> {
|
|
|
742
746
|
defaultFilters?: string[];
|
|
743
747
|
eager?: boolean;
|
|
744
748
|
errorMsg?: string;
|
|
749
|
+
filterToggle?: boolean;
|
|
745
750
|
headers?: TableColumn[];
|
|
746
751
|
hideActions?: boolean;
|
|
747
752
|
isSingle?: boolean;
|
package/package.json
CHANGED