bt-core-app 1.4.8 → 1.4.10
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 +198 -184
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -543,15 +543,18 @@ function Ce(e, t) {
|
|
|
543
543
|
while (l.startsWith("/"));
|
|
544
544
|
return `${a}/${l}`;
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function eu(e) {
|
|
547
|
+
return e == null || !Array.isArray(e) ? e : e.filter((t, a, l) => l.indexOf(t === a));
|
|
548
|
+
}
|
|
549
|
+
function ru(e = "blitzItExtensionExists") {
|
|
547
550
|
try {
|
|
548
551
|
var t = document.getElementById(e);
|
|
549
552
|
return t != null;
|
|
550
553
|
} catch (a) {
|
|
551
|
-
return console.log(
|
|
554
|
+
return console.log(va(a)), !1;
|
|
552
555
|
}
|
|
553
556
|
}
|
|
554
|
-
function
|
|
557
|
+
function tu(e, t) {
|
|
555
558
|
return [
|
|
556
559
|
{ lat: e.lat - t, lng: e.lng + t },
|
|
557
560
|
{ lat: e.lat - t, lng: e.lng - t },
|
|
@@ -559,7 +562,7 @@ function eu(e, t) {
|
|
|
559
562
|
{ lat: e.lat + t, lng: e.lng + t }
|
|
560
563
|
];
|
|
561
564
|
}
|
|
562
|
-
function
|
|
565
|
+
function nu(e, t) {
|
|
563
566
|
return [
|
|
564
567
|
{ lat: e.lat - t * 2, lng: e.lng + t },
|
|
565
568
|
{ lat: e.lat - t * 2, lng: e.lng - t },
|
|
@@ -567,7 +570,7 @@ function ru(e, t) {
|
|
|
567
570
|
{ lat: e.lat, lng: e.lng + t }
|
|
568
571
|
];
|
|
569
572
|
}
|
|
570
|
-
function
|
|
573
|
+
function au(e, t) {
|
|
571
574
|
return [
|
|
572
575
|
{ lat: e.lat, lng: e.lng + t },
|
|
573
576
|
{ lat: e.lat, lng: e.lng - t },
|
|
@@ -575,7 +578,7 @@ function tu(e, t) {
|
|
|
575
578
|
{ lat: e.lat + t * 2, lng: e.lng + t }
|
|
576
579
|
];
|
|
577
580
|
}
|
|
578
|
-
function
|
|
581
|
+
function uu(e) {
|
|
579
582
|
var t = Rt(e, !0);
|
|
580
583
|
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(" ", "");
|
|
581
584
|
}
|
|
@@ -587,13 +590,13 @@ function Rt(e, t = !1) {
|
|
|
587
590
|
var a = "";
|
|
588
591
|
return e.addressLineOne != null && !t && (a = e.addressLineOne + " "), e.streetNumber != null && (a = a + e.streetNumber + " "), e.streetName != null && (a = a + e.streetName + ", "), e.suburb != null && (a = a + e.suburb + " "), e.state != null && (a = a + e.state + " "), e.postcode != null && (a = a + e.postcode), a;
|
|
589
592
|
}
|
|
590
|
-
function
|
|
593
|
+
function lu(e, t, a) {
|
|
591
594
|
if (e) {
|
|
592
595
|
var l = new Image();
|
|
593
596
|
l.onload = t, l.onerror = a, l.src = e;
|
|
594
597
|
}
|
|
595
598
|
}
|
|
596
|
-
async function
|
|
599
|
+
async function cu(e, t = !0) {
|
|
597
600
|
return new Promise((a, l) => {
|
|
598
601
|
e == null && l("no url given");
|
|
599
602
|
var s = new Image();
|
|
@@ -610,13 +613,13 @@ async function uu(e, t = !0) {
|
|
|
610
613
|
function ia(e) {
|
|
611
614
|
return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
|
|
612
615
|
}
|
|
613
|
-
function
|
|
616
|
+
function iu(e) {
|
|
614
617
|
if (e != null && typeof e == "object")
|
|
615
618
|
for (var t in e)
|
|
616
619
|
/^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
|
|
617
620
|
return e;
|
|
618
621
|
}
|
|
619
|
-
function
|
|
622
|
+
function fa(e) {
|
|
620
623
|
return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (a) => a.toUpperCase()));
|
|
621
624
|
}
|
|
622
625
|
const Ye = [
|
|
@@ -629,25 +632,25 @@ const Ye = [
|
|
|
629
632
|
{ value: 7, short: "sat", values: ["sat", "saturday"] },
|
|
630
633
|
{ value: 0, short: "always", values: ["always", null, void 0] }
|
|
631
634
|
];
|
|
632
|
-
function
|
|
635
|
+
function fu(e) {
|
|
633
636
|
if (e == null)
|
|
634
637
|
return 0;
|
|
635
638
|
const t = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = Ye.filter((l) => l.values.some((s) => t.some((o) => s == o))).map((l) => l.value);
|
|
636
639
|
return a.length == 0 ? 8 : Math.min(...a);
|
|
637
640
|
}
|
|
638
|
-
function
|
|
641
|
+
function su(e) {
|
|
639
642
|
return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
|
|
640
643
|
let a = Ye.find((l) => l.values.some((s) => s == t));
|
|
641
644
|
return a != null ? a.short : "";
|
|
642
645
|
}).filter((t) => t != null && t.length > 0).toString();
|
|
643
646
|
}
|
|
644
|
-
function
|
|
647
|
+
function ou(e, t) {
|
|
645
648
|
if (e == null || t == null)
|
|
646
649
|
return !0;
|
|
647
650
|
const a = e.replaceAll(" ", "").split(",").map((o) => o.toLowerCase()), l = t.replaceAll(" ", "").toLowerCase(), s = Ye.find((o) => o.values.some((A) => A == l));
|
|
648
651
|
return s != null && a.some((o) => o == s.short || s.values.some((A) => A == o));
|
|
649
652
|
}
|
|
650
|
-
function
|
|
653
|
+
function hu(e, t) {
|
|
651
654
|
if (t == null)
|
|
652
655
|
return e;
|
|
653
656
|
let a = e ?? "";
|
|
@@ -655,28 +658,28 @@ function ou(e, t) {
|
|
|
655
658
|
let l = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((s) => Ye.find((o) => o.values.some((A) => A == s))).filter((s) => s != null).sort(Ze.firstBy((s) => (s == null ? void 0 : s.value) ?? 0)).map((s) => s == null ? void 0 : s.short))].toString();
|
|
656
659
|
return l.length > 0 ? l : void 0;
|
|
657
660
|
}
|
|
658
|
-
function
|
|
661
|
+
function du(e, t) {
|
|
659
662
|
if (t == null || e == null)
|
|
660
663
|
return e;
|
|
661
664
|
let a = e ?? "", l = t.replaceAll(" ", "").toLowerCase(), s = [...new Set(a.replaceAll(" ", "").toLowerCase().split(",").map((o) => Ye.find((A) => A.values.some((S) => S == o && S != l))).filter((o) => o != null).sort(Ze.firstBy((o) => (o == null ? void 0 : o.value) ?? 0)).map((o) => o == null ? void 0 : o.short))].toString();
|
|
662
665
|
return s.length > 0 ? s : void 0;
|
|
663
666
|
}
|
|
664
|
-
function
|
|
667
|
+
function mu(e, t) {
|
|
665
668
|
return e != null && Array.isArray(e) && e.length == t;
|
|
666
669
|
}
|
|
667
670
|
function Fe(e, t = 0) {
|
|
668
671
|
return e != null && Array.isArray(e) && e.length > t;
|
|
669
672
|
}
|
|
670
|
-
function
|
|
673
|
+
function sa(e) {
|
|
671
674
|
return e == "0001-01-01T00:00:00Z";
|
|
672
675
|
}
|
|
673
|
-
function
|
|
676
|
+
function vu() {
|
|
674
677
|
return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
|
|
675
678
|
}
|
|
676
|
-
function
|
|
679
|
+
function oa() {
|
|
677
680
|
return "0001-01-01T00:00:00Z";
|
|
678
681
|
}
|
|
679
|
-
function
|
|
682
|
+
function gu(e, t) {
|
|
680
683
|
let a = "1", l = 0;
|
|
681
684
|
if (l < t)
|
|
682
685
|
do
|
|
@@ -685,11 +688,11 @@ function vu(e, t) {
|
|
|
685
688
|
let s = Number.parseInt(a);
|
|
686
689
|
return Math.round(e * s) / s;
|
|
687
690
|
}
|
|
688
|
-
function
|
|
691
|
+
function yu(e, t) {
|
|
689
692
|
let a = e ?? "";
|
|
690
|
-
return t != null && (
|
|
693
|
+
return t != null && (ha(a, t) ? a = a.split(",").filter((l) => l != t).toString() : a != null ? a = `${a},${t}` : a = t), a != null && a.length > 0 ? a : null;
|
|
691
694
|
}
|
|
692
|
-
function
|
|
695
|
+
function ha(e, t) {
|
|
693
696
|
if (e == null || e.length == 0)
|
|
694
697
|
return !1;
|
|
695
698
|
if (!t)
|
|
@@ -705,13 +708,13 @@ function Qr(e) {
|
|
|
705
708
|
t = e[l], a[l] = typeof t == "object" ? Qr(t) : t;
|
|
706
709
|
return a;
|
|
707
710
|
}
|
|
708
|
-
function
|
|
711
|
+
function da(e) {
|
|
709
712
|
return e && Object.keys(e).sort().reduce(function(t, a) {
|
|
710
713
|
let l = e[a];
|
|
711
|
-
return t[a] = typeof l == "object" && l !== null ?
|
|
714
|
+
return t[a] = typeof l == "object" && l !== null ? da(l) : l, t;
|
|
712
715
|
}, Array.isArray(e) ? [] : {});
|
|
713
716
|
}
|
|
714
|
-
function
|
|
717
|
+
function ma(e, t) {
|
|
715
718
|
return t == null ? !0 : e == null ? !1 : e.toLowerCase().includes(t.toLowerCase());
|
|
716
719
|
}
|
|
717
720
|
function Ut(e, t = (a) => a) {
|
|
@@ -724,13 +727,13 @@ function Ut(e, t = (a) => a) {
|
|
|
724
727
|
return Fe(o) && l.push(...o), l;
|
|
725
728
|
}, [])] : [];
|
|
726
729
|
}
|
|
727
|
-
function
|
|
730
|
+
function wu(e) {
|
|
728
731
|
const t = e.split(","), a = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), l = t[0].split(":")[1].split(";")[0], s = new Uint8Array(a.length);
|
|
729
732
|
for (let o = 0; o < a.length; o++)
|
|
730
733
|
s[o] = a.charCodeAt(o);
|
|
731
734
|
return new Blob([s], { type: l });
|
|
732
735
|
}
|
|
733
|
-
function
|
|
736
|
+
function va(e) {
|
|
734
737
|
var t = "";
|
|
735
738
|
if (e) {
|
|
736
739
|
if (e.message && (t = e.message), e.response && e.response.data) {
|
|
@@ -743,11 +746,11 @@ function ma(e) {
|
|
|
743
746
|
}
|
|
744
747
|
return "hmmm no error was supplied";
|
|
745
748
|
}
|
|
746
|
-
function
|
|
749
|
+
function ga() {
|
|
747
750
|
const e = "#" + Math.floor(Math.random() * 16777215).toString(16);
|
|
748
|
-
return e.length !== 7 ?
|
|
751
|
+
return e.length !== 7 ? ga() : e;
|
|
749
752
|
}
|
|
750
|
-
function
|
|
753
|
+
function ya(e, t, a) {
|
|
751
754
|
if (t == null)
|
|
752
755
|
return !0;
|
|
753
756
|
if (e == null || a == null)
|
|
@@ -755,15 +758,15 @@ function ga(e, t, a) {
|
|
|
755
758
|
for (let s = 0; s < a.length; s++) {
|
|
756
759
|
const o = a[s];
|
|
757
760
|
var l = Rr(e, o);
|
|
758
|
-
if (l != null && typeof l == "string" &&
|
|
761
|
+
if (l != null && typeof l == "string" && ma(l, t))
|
|
759
762
|
return !0;
|
|
760
763
|
}
|
|
761
764
|
return !1;
|
|
762
765
|
}
|
|
763
|
-
function
|
|
766
|
+
function bu(e) {
|
|
764
767
|
return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
|
|
765
768
|
}
|
|
766
|
-
function
|
|
769
|
+
function Eu(e = 2e3) {
|
|
767
770
|
return new Promise((t) => {
|
|
768
771
|
setTimeout(() => t(), e);
|
|
769
772
|
});
|
|
@@ -778,14 +781,14 @@ function Rr(e, t) {
|
|
|
778
781
|
return null;
|
|
779
782
|
return s;
|
|
780
783
|
}
|
|
781
|
-
function
|
|
784
|
+
function wa(e) {
|
|
782
785
|
return e ? /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e) : !1;
|
|
783
786
|
}
|
|
784
787
|
let Ur;
|
|
785
|
-
function
|
|
788
|
+
function ba() {
|
|
786
789
|
return Ur;
|
|
787
790
|
}
|
|
788
|
-
function
|
|
791
|
+
function Ea(e) {
|
|
789
792
|
const t = (e == null ? void 0 : e.buildHeaders) ?? A, a = (e == null ? void 0 : e.buildQuery) ?? s, l = (e == null ? void 0 : e.buildUrl) ?? o;
|
|
790
793
|
function s(c) {
|
|
791
794
|
let h = new URLSearchParams();
|
|
@@ -948,14 +951,14 @@ var mt;
|
|
|
948
951
|
})(mt || (mt = {}));
|
|
949
952
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
950
953
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
951
|
-
const
|
|
954
|
+
const Sa = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), _a = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
952
955
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
953
956
|
function Bt() {
|
|
954
|
-
return fr(Ea);
|
|
955
|
-
}
|
|
956
|
-
function _a() {
|
|
957
957
|
return fr(Sa);
|
|
958
958
|
}
|
|
959
|
+
function Aa() {
|
|
960
|
+
return fr(_a);
|
|
961
|
+
}
|
|
959
962
|
var Xr = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
960
963
|
let ye;
|
|
961
964
|
function $t() {
|
|
@@ -966,24 +969,24 @@ function vt() {
|
|
|
966
969
|
const e = Xr.NODE_ENV;
|
|
967
970
|
return ye == null ? "" : (ye[e] ?? ye.development).auth ?? "";
|
|
968
971
|
}
|
|
969
|
-
function
|
|
972
|
+
function Da(e) {
|
|
970
973
|
const t = Xr.NODE_ENV;
|
|
971
974
|
if (ye == null)
|
|
972
975
|
return "";
|
|
973
976
|
const a = ye[t] ?? ye.development;
|
|
974
977
|
return e == null ? a.data ?? "" : a.other[e] ?? a.data ?? "";
|
|
975
978
|
}
|
|
976
|
-
function
|
|
979
|
+
function Su() {
|
|
977
980
|
return ye;
|
|
978
981
|
}
|
|
979
|
-
function
|
|
982
|
+
function Ia(e) {
|
|
980
983
|
return ye = e, ye;
|
|
981
984
|
}
|
|
982
985
|
let pe = "Australia/Melbourne", Br;
|
|
983
|
-
function
|
|
986
|
+
function _u() {
|
|
984
987
|
return Br;
|
|
985
988
|
}
|
|
986
|
-
function
|
|
989
|
+
function xa(e) {
|
|
987
990
|
const t = e.expiryTokenFormat ?? "d/MM/yyyy h:mm:ss a", a = Mr("auth-credentials-state", Math.random().toString(36).substring(4, 19) + Math.random().toString(12).substring(1, 11)), l = Mr("auth-credentials", {});
|
|
988
991
|
function s(m) {
|
|
989
992
|
if (m == null)
|
|
@@ -1109,7 +1112,7 @@ function Ia(e) {
|
|
|
1109
1112
|
e.getTokenUrl ?? (e.getTokenUrl = () => Ce(vt(), "token")), J = e.getTokenUrl(g, `${window.location.origin}/authentication`, C, G);
|
|
1110
1113
|
const ee = {};
|
|
1111
1114
|
ee.grant_type = C, ee.code = g, ee.redirect_uri = `${window.location.origin}/authentication`, ee.client_id = G;
|
|
1112
|
-
const W = await
|
|
1115
|
+
const W = await ba().post({
|
|
1113
1116
|
additionalUrl: J,
|
|
1114
1117
|
data: ee
|
|
1115
1118
|
});
|
|
@@ -1165,16 +1168,16 @@ function Ia(e) {
|
|
|
1165
1168
|
tryLogin: _
|
|
1166
1169
|
}, Br;
|
|
1167
1170
|
}
|
|
1168
|
-
function
|
|
1171
|
+
function Na(e, t) {
|
|
1169
1172
|
const a = ir();
|
|
1170
1173
|
if (!a)
|
|
1171
1174
|
throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`);
|
|
1172
1175
|
return a;
|
|
1173
1176
|
}
|
|
1174
|
-
const
|
|
1175
|
-
function
|
|
1176
|
-
|
|
1177
|
-
const e = fr(
|
|
1177
|
+
const Ta = Symbol.for("vuetify:theme");
|
|
1178
|
+
function Ca() {
|
|
1179
|
+
Na("useTheme");
|
|
1180
|
+
const e = fr(Ta, null);
|
|
1178
1181
|
if (!e)
|
|
1179
1182
|
throw new Error("Could not find Vuetify theme injection");
|
|
1180
1183
|
return e;
|
|
@@ -1197,8 +1200,8 @@ const $r = {
|
|
|
1197
1200
|
warning: "#FB8C00"
|
|
1198
1201
|
};
|
|
1199
1202
|
let Ge = {}, ie;
|
|
1200
|
-
function
|
|
1201
|
-
const e =
|
|
1203
|
+
function Au() {
|
|
1204
|
+
const e = Ca();
|
|
1202
1205
|
function t() {
|
|
1203
1206
|
e.global.name.value = ie.value.theme;
|
|
1204
1207
|
let N = e.themes.value.dark.colors, L = ie.value.dark;
|
|
@@ -1257,7 +1260,7 @@ function _u() {
|
|
|
1257
1260
|
undoTemporaryColor: S
|
|
1258
1261
|
};
|
|
1259
1262
|
}
|
|
1260
|
-
function
|
|
1263
|
+
function Pa(e) {
|
|
1261
1264
|
ie = Mr("cosmetics", {
|
|
1262
1265
|
theme: e.defaultTheme ?? "light",
|
|
1263
1266
|
light: e.defaultLightTheme ?? $r,
|
|
@@ -1266,10 +1269,10 @@ function Ca(e) {
|
|
|
1266
1269
|
drawerStick: e.defaultDrawerStick ?? !1
|
|
1267
1270
|
}), Ge = e;
|
|
1268
1271
|
}
|
|
1269
|
-
const
|
|
1272
|
+
const Du = {
|
|
1270
1273
|
canExportCSV: !1
|
|
1271
1274
|
};
|
|
1272
|
-
function
|
|
1275
|
+
function La() {
|
|
1273
1276
|
function e(t, a, l = "csvData.csv") {
|
|
1274
1277
|
if (!Fe(t))
|
|
1275
1278
|
return;
|
|
@@ -1316,10 +1319,10 @@ function Pa() {
|
|
|
1316
1319
|
};
|
|
1317
1320
|
}
|
|
1318
1321
|
let kr;
|
|
1319
|
-
function
|
|
1322
|
+
function Iu() {
|
|
1320
1323
|
return kr;
|
|
1321
1324
|
}
|
|
1322
|
-
function
|
|
1325
|
+
function Ma(e) {
|
|
1323
1326
|
function t() {
|
|
1324
1327
|
var S;
|
|
1325
1328
|
return ((S = l()) == null ? void 0 : S.startOf("day").toUTC().toString()) ?? "";
|
|
@@ -1362,10 +1365,10 @@ function La(e) {
|
|
|
1362
1365
|
}, kr;
|
|
1363
1366
|
}
|
|
1364
1367
|
let Vr;
|
|
1365
|
-
function
|
|
1368
|
+
function xu() {
|
|
1366
1369
|
return Vr;
|
|
1367
1370
|
}
|
|
1368
|
-
function
|
|
1371
|
+
function Ra() {
|
|
1369
1372
|
const e = Y(!1);
|
|
1370
1373
|
function t() {
|
|
1371
1374
|
}
|
|
@@ -1377,15 +1380,15 @@ function Ma() {
|
|
|
1377
1380
|
startDemo: t
|
|
1378
1381
|
}, Vr;
|
|
1379
1382
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1383
|
+
var Ua = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1384
|
+
function Nu(e) {
|
|
1382
1385
|
function t(a) {
|
|
1383
1386
|
var s;
|
|
1384
1387
|
const l = a.matched.slice().reverse().find((o) => o.meta && o.meta.title);
|
|
1385
1388
|
if (l)
|
|
1386
1389
|
document.title = l.meta.title;
|
|
1387
1390
|
else {
|
|
1388
|
-
const o =
|
|
1391
|
+
const o = Ua.NODE_ENV;
|
|
1389
1392
|
let A = "";
|
|
1390
1393
|
o == "development" ? A = "BWeb Dev" : o == "staging" ? A = "BlitzIt Sandpit" : A = "BlitzIt Web | Cloud-Based Wholesale Logistics Platform", ((s = e == null ? void 0 : e.demo) == null ? void 0 : s.isDemoing.value) == !0 && (A = `Training: ${A}`), document.title = A;
|
|
1391
1394
|
}
|
|
@@ -1394,7 +1397,7 @@ function xu(e) {
|
|
|
1394
1397
|
updateMeta: t
|
|
1395
1398
|
};
|
|
1396
1399
|
}
|
|
1397
|
-
function
|
|
1400
|
+
function Tu(e, t, a = {}) {
|
|
1398
1401
|
const {
|
|
1399
1402
|
preventDefault: l = !1,
|
|
1400
1403
|
stopPropagation: s = !1,
|
|
@@ -1466,12 +1469,12 @@ function Nu(e, t, a = {}) {
|
|
|
1466
1469
|
};
|
|
1467
1470
|
}
|
|
1468
1471
|
let Wr;
|
|
1469
|
-
function
|
|
1472
|
+
function Cu() {
|
|
1470
1473
|
return Wr;
|
|
1471
1474
|
}
|
|
1472
|
-
function
|
|
1475
|
+
function Ba(e) {
|
|
1473
1476
|
function t(g, f, C) {
|
|
1474
|
-
return g ?
|
|
1477
|
+
return g ? sa(g) ? C ?? "" : e.dates.tzString(g, f) : C ?? g ?? "";
|
|
1475
1478
|
}
|
|
1476
1479
|
function a(g) {
|
|
1477
1480
|
if (!g)
|
|
@@ -3046,8 +3049,8 @@ var Ft = { exports: {} };
|
|
|
3046
3049
|
}, { 3: 3 }] }, {}, [4])(4);
|
|
3047
3050
|
});
|
|
3048
3051
|
})(Ft);
|
|
3049
|
-
var
|
|
3050
|
-
const kt = /* @__PURE__ */ ca(
|
|
3052
|
+
var $a = Ft.exports;
|
|
3053
|
+
const kt = /* @__PURE__ */ ca($a);
|
|
3051
3054
|
let rr = null;
|
|
3052
3055
|
kt.config({
|
|
3053
3056
|
name: $t()
|
|
@@ -3056,7 +3059,7 @@ function de() {
|
|
|
3056
3059
|
const e = $t();
|
|
3057
3060
|
return (rr == null || rr.config.name != e) && (rr = kt.createInstance({ name: e })), rr;
|
|
3058
3061
|
}
|
|
3059
|
-
function
|
|
3062
|
+
function Pu() {
|
|
3060
3063
|
async function e(s) {
|
|
3061
3064
|
const o = de();
|
|
3062
3065
|
(await o.keys()).filter((N) => N.startsWith(s)).forEach((N) => {
|
|
@@ -3079,7 +3082,7 @@ function Cu() {
|
|
|
3079
3082
|
saveAsync: l
|
|
3080
3083
|
};
|
|
3081
3084
|
}
|
|
3082
|
-
var
|
|
3085
|
+
var Fa = !1;
|
|
3083
3086
|
function tr(e, t, a) {
|
|
3084
3087
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, a), a) : (e[t] = a, a);
|
|
3085
3088
|
}
|
|
@@ -3096,7 +3099,7 @@ function Dr(e, t) {
|
|
|
3096
3099
|
* @license MIT
|
|
3097
3100
|
*/
|
|
3098
3101
|
let qe;
|
|
3099
|
-
const lr = (e) => qe = e,
|
|
3102
|
+
const lr = (e) => qe = e, ka = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
3100
3103
|
/* istanbul ignore next */
|
|
3101
3104
|
Symbol()
|
|
3102
3105
|
);
|
|
@@ -3133,7 +3136,7 @@ function $e(e, ...t) {
|
|
|
3133
3136
|
a(...t);
|
|
3134
3137
|
});
|
|
3135
3138
|
}
|
|
3136
|
-
const
|
|
3139
|
+
const Va = (e) => e();
|
|
3137
3140
|
function jr(e, t) {
|
|
3138
3141
|
e instanceof Map && t instanceof Map && t.forEach((a, l) => e.set(l, a)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
3139
3142
|
for (const a in t) {
|
|
@@ -3144,12 +3147,12 @@ function jr(e, t) {
|
|
|
3144
3147
|
}
|
|
3145
3148
|
return e;
|
|
3146
3149
|
}
|
|
3147
|
-
const
|
|
3150
|
+
const Wa = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
3148
3151
|
/* istanbul ignore next */
|
|
3149
3152
|
Symbol()
|
|
3150
3153
|
);
|
|
3151
|
-
function
|
|
3152
|
-
return !Pe(e) || !e.hasOwnProperty(
|
|
3154
|
+
function ja(e) {
|
|
3155
|
+
return !Pe(e) || !e.hasOwnProperty(Wa);
|
|
3153
3156
|
}
|
|
3154
3157
|
const { assign: ge } = Object;
|
|
3155
3158
|
function yt(e) {
|
|
@@ -3181,7 +3184,7 @@ function Gr(e, t, a = {}, l, s, o) {
|
|
|
3181
3184
|
deep: !0
|
|
3182
3185
|
// flush: 'post',
|
|
3183
3186
|
};
|
|
3184
|
-
process.env.NODE_ENV !== "production" &&
|
|
3187
|
+
process.env.NODE_ENV !== "production" && !Fa && (N.onTrigger = (f) => {
|
|
3185
3188
|
L ? h = f : L == !1 && !m._hotUpdating && (Array.isArray(h) ? h.push(f) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
3186
3189
|
});
|
|
3187
3190
|
let L, R, b = [], c = [], h;
|
|
@@ -3280,11 +3283,11 @@ function Gr(e, t, a = {}, l, s, o) {
|
|
|
3280
3283
|
// setupStore
|
|
3281
3284
|
) : P);
|
|
3282
3285
|
l._s.set(e, m);
|
|
3283
|
-
const g = (l._a && l._a.runWithContext ||
|
|
3286
|
+
const g = (l._a && l._a.runWithContext || Va)(() => l._e.run(() => (A = Rn()).run(t)));
|
|
3284
3287
|
for (const f in g) {
|
|
3285
3288
|
const C = g[f];
|
|
3286
3289
|
if (ze(C) && !yt(C) || Yr(C))
|
|
3287
|
-
process.env.NODE_ENV !== "production" && s ? tr(x.value, f, ar(g, f)) : o || (r &&
|
|
3290
|
+
process.env.NODE_ENV !== "production" && s ? tr(x.value, f, ar(g, f)) : o || (r && ja(C) && (ze(C) ? C.value = r[f] : jr(C, r[f])), l.state.value[e][f] = C), process.env.NODE_ENV !== "production" && _.state.push(f);
|
|
3288
3291
|
else if (typeof C == "function") {
|
|
3289
3292
|
const G = process.env.NODE_ENV !== "production" && s ? C : U(f, C);
|
|
3290
3293
|
g[f] = G, process.env.NODE_ENV !== "production" && (_.actions[f] = C), S.actions[f] = C;
|
|
@@ -3374,7 +3377,7 @@ function jt(e, t, a) {
|
|
|
3374
3377
|
const L = Ln();
|
|
3375
3378
|
if (S = // in test mode, ignore the argument provided as we can always retrieve a
|
|
3376
3379
|
// pinia instance with getActivePinia()
|
|
3377
|
-
(process.env.NODE_ENV === "test" && qe && qe._testing ? null : S) || (L ? fr(
|
|
3380
|
+
(process.env.NODE_ENV === "test" && qe && qe._testing ? null : S) || (L ? fr(ka, null) : null), S && lr(S), process.env.NODE_ENV !== "production" && !qe)
|
|
3378
3381
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
3379
3382
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
3380
3383
|
This will fail in production.`);
|
|
@@ -3397,19 +3400,19 @@ This will fail in production.`);
|
|
|
3397
3400
|
return A.$id = l, A;
|
|
3398
3401
|
}
|
|
3399
3402
|
let cr;
|
|
3400
|
-
function
|
|
3403
|
+
function Lu(e) {
|
|
3401
3404
|
return cr(e)();
|
|
3402
3405
|
}
|
|
3403
|
-
function
|
|
3406
|
+
function Ga(e) {
|
|
3404
3407
|
return cr(e);
|
|
3405
3408
|
}
|
|
3406
|
-
function
|
|
3407
|
-
return cr = (t) =>
|
|
3409
|
+
function qa(e) {
|
|
3410
|
+
return cr = (t) => Ha({
|
|
3408
3411
|
...e,
|
|
3409
3412
|
...t
|
|
3410
3413
|
}), cr;
|
|
3411
3414
|
}
|
|
3412
|
-
function
|
|
3415
|
+
function Ha(e) {
|
|
3413
3416
|
if (e.storeMode == "whole-last-updated") {
|
|
3414
3417
|
if (e.api == null)
|
|
3415
3418
|
throw new Error("Must supply an api object to use store");
|
|
@@ -3419,9 +3422,9 @@ function qa(e) {
|
|
|
3419
3422
|
throw new Error("Must supply an api object to use store");
|
|
3420
3423
|
return bt(e);
|
|
3421
3424
|
} else
|
|
3422
|
-
return
|
|
3425
|
+
return Za(e);
|
|
3423
3426
|
}
|
|
3424
|
-
const
|
|
3427
|
+
const za = (e) => {
|
|
3425
3428
|
let t = K(e.url) ?? void 0;
|
|
3426
3429
|
if (e.additionalUrl != null && (t == null ? t = e.additionalUrl : t = Ce(t, e.additionalUrl)), e.id != null && (t != null && t.includes("{id}") ? t = t.replaceAll("{id}", e.id) : t = Ce(t, e.id)), e.params != null) {
|
|
3427
3430
|
t ?? (t = "");
|
|
@@ -3432,10 +3435,10 @@ const Ha = (e) => {
|
|
|
3432
3435
|
}
|
|
3433
3436
|
return e.finalUrl = t, e.finalUrl ?? "";
|
|
3434
3437
|
};
|
|
3435
|
-
function
|
|
3438
|
+
function Za(e) {
|
|
3436
3439
|
return jt(e.storeName, () => {
|
|
3437
3440
|
var h;
|
|
3438
|
-
const t = fe.utc().toSeconds() / 86400, a = Y({}), l = Y({}), s = e.storageMode == "local-cache", o = e.buildUrl ?? ((h = e.api) == null ? void 0 : h.buildUrl) ??
|
|
3441
|
+
const t = fe.utc().toSeconds() / 86400, a = Y({}), l = Y({}), s = e.storageMode == "local-cache", o = e.buildUrl ?? ((h = e.api) == null ? void 0 : h.buildUrl) ?? za;
|
|
3439
3442
|
function A(r) {
|
|
3440
3443
|
var x, E;
|
|
3441
3444
|
return `${e.storeName}_${((x = e.auth) == null ? void 0 : x.credentials.value.userID) ?? "no-user-id"}_${r.id ?? ((E = r.data) == null ? void 0 : E.id) ?? "no-item-id"}`;
|
|
@@ -3623,7 +3626,7 @@ function bt(e) {
|
|
|
3623
3626
|
additionalUrl: "/getAll",
|
|
3624
3627
|
nav: y.nav,
|
|
3625
3628
|
params: {
|
|
3626
|
-
lastUpdate: ((_ = o.value) == null ? void 0 : _.lastUpdate) ??
|
|
3629
|
+
lastUpdate: ((_ = o.value) == null ? void 0 : _.lastUpdate) ?? oa()
|
|
3627
3630
|
}
|
|
3628
3631
|
}));
|
|
3629
3632
|
m == null ? U(m) : (t.value ?? (t.value = []), m.data.forEach((D) => {
|
|
@@ -3781,9 +3784,9 @@ function bt(e) {
|
|
|
3781
3784
|
};
|
|
3782
3785
|
});
|
|
3783
3786
|
}
|
|
3784
|
-
function
|
|
3787
|
+
function Mu(e, t, a) {
|
|
3785
3788
|
var Re;
|
|
3786
|
-
const l = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", s = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", o = e.nav ?? e.nav ?? "basic", A =
|
|
3789
|
+
const l = e.storeMode ?? (a == null ? void 0 : a.storeMode) ?? "session", s = e.storageMode ?? (a == null ? void 0 : a.storageMode) ?? "local-cache", o = e.nav ?? e.nav ?? "basic", A = La(), S = Bt(), N = Aa(), L = Y(1), R = K(e.customFilters) ?? [], b = Y([]);
|
|
3787
3790
|
let c = Y(new Array());
|
|
3788
3791
|
const h = le(() => Jn([
|
|
3789
3792
|
...R.filter((j) => j.name != null).map((j) => j.name),
|
|
@@ -3800,7 +3803,7 @@ function Lu(e, t, a) {
|
|
|
3800
3803
|
const { actionErrorMsg: C, actionLoadingMsg: G, deleteItem: J, doAction: ee, getItem: we, getAllItems: W, restoreItem: H } = la({
|
|
3801
3804
|
nav: e.nav ?? e.bladeName ?? e.itemBladeName,
|
|
3802
3805
|
proxyID: y.value,
|
|
3803
|
-
store:
|
|
3806
|
+
store: Ga({
|
|
3804
3807
|
storeMode: l,
|
|
3805
3808
|
storageMode: s,
|
|
3806
3809
|
storeName: o
|
|
@@ -3883,7 +3886,7 @@ function Lu(e, t, a) {
|
|
|
3883
3886
|
let j = K(m);
|
|
3884
3887
|
if (j = e.onFilter ? e.onFilter(j) : j, B.value != null && B.value.length > 0) {
|
|
3885
3888
|
let te = [...P.value];
|
|
3886
|
-
e.itemText && te.push(e.itemText), Fe(te) && (j = j.filter((Q) =>
|
|
3889
|
+
e.itemText && te.push(e.itemText), Fe(te) && (j = j.filter((Q) => ya(Q, B.value, te)));
|
|
3887
3890
|
}
|
|
3888
3891
|
D.value = j;
|
|
3889
3892
|
}
|
|
@@ -3989,11 +3992,21 @@ function Lu(e, t, a) {
|
|
|
3989
3992
|
}
|
|
3990
3993
|
const Et = Y(!0), St = Y(!1), _t = Y(), xr = Y(!1);
|
|
3991
3994
|
let Nr = null, qr;
|
|
3992
|
-
function
|
|
3995
|
+
function Ru() {
|
|
3993
3996
|
return qr;
|
|
3994
3997
|
}
|
|
3995
|
-
function
|
|
3996
|
-
const t = e.defaultCacheExpiryHours ?? 7
|
|
3998
|
+
function Ya(e) {
|
|
3999
|
+
const t = e.defaultCacheExpiryHours ?? 7;
|
|
4000
|
+
e.getDisplayName ?? (e.getDisplayName = (c) => {
|
|
4001
|
+
if (c.displayName != null)
|
|
4002
|
+
return c.displayName;
|
|
4003
|
+
if (c.name != null)
|
|
4004
|
+
return fa(c.name.replaceAll("-", " "));
|
|
4005
|
+
});
|
|
4006
|
+
const a = (e.navItems ?? []).map((c) => ({
|
|
4007
|
+
displayName: c.displayName ?? e.getDisplayName(c),
|
|
4008
|
+
...c
|
|
4009
|
+
}));
|
|
3997
4010
|
function l(c) {
|
|
3998
4011
|
var h;
|
|
3999
4012
|
return (h = S(c)) == null ? void 0 : h.archiveName;
|
|
@@ -4020,7 +4033,7 @@ function Za(e) {
|
|
|
4020
4033
|
const h = S(c);
|
|
4021
4034
|
if (h == null)
|
|
4022
4035
|
return;
|
|
4023
|
-
let r =
|
|
4036
|
+
let r = Da(h.microservice ?? "default") ?? "";
|
|
4024
4037
|
return h.path != null && (r = Ce(r, h.path)), r != null && r.endsWith("/") && (r = r.slice(0, r.length - 1)), r;
|
|
4025
4038
|
}
|
|
4026
4039
|
function L(c) {
|
|
@@ -4061,10 +4074,10 @@ function Za(e) {
|
|
|
4061
4074
|
}, qr;
|
|
4062
4075
|
}
|
|
4063
4076
|
let Hr;
|
|
4064
|
-
function
|
|
4077
|
+
function Uu(e) {
|
|
4065
4078
|
return Hr.usePresets(e);
|
|
4066
4079
|
}
|
|
4067
|
-
function
|
|
4080
|
+
function Ja(e) {
|
|
4068
4081
|
function t(a) {
|
|
4069
4082
|
if (!a)
|
|
4070
4083
|
return {};
|
|
@@ -4078,10 +4091,10 @@ function Ya(e) {
|
|
|
4078
4091
|
let At, Dt, It, xt = !1;
|
|
4079
4092
|
const Tr = Y(!1), Cr = Y(!1), Nt = Y(), nr = Y();
|
|
4080
4093
|
let zr;
|
|
4081
|
-
function
|
|
4094
|
+
function Bu() {
|
|
4082
4095
|
return zr;
|
|
4083
4096
|
}
|
|
4084
|
-
function
|
|
4097
|
+
function Ka() {
|
|
4085
4098
|
function e(A) {
|
|
4086
4099
|
nr.value = A.detail, Cr.value = !0;
|
|
4087
4100
|
}
|
|
@@ -4111,8 +4124,8 @@ function Ja() {
|
|
|
4111
4124
|
updateApp: o
|
|
4112
4125
|
}, zr;
|
|
4113
4126
|
}
|
|
4114
|
-
const
|
|
4115
|
-
function
|
|
4127
|
+
const Qa = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
|
|
4128
|
+
function $u(e, t = {}) {
|
|
4116
4129
|
let a, l = t.handleWidth ?? 12, s = t.handleZIndex ?? 100, o = t.minWidth ?? 0, A = t.maxWidth ?? Number.MAX_SAFE_INTEGER, S = t.minHeight ?? 0, N = t.maxHeight ?? Number.MAX_SAFE_INTEGER, L = t.preventDefault ?? !1, R = t.stopPropagation ?? !1, b, c = [];
|
|
4117
4130
|
const h = Y(!1);
|
|
4118
4131
|
let r = [], x = [];
|
|
@@ -4246,7 +4259,7 @@ function Bu(e, t = {}) {
|
|
|
4246
4259
|
if (E.value)
|
|
4247
4260
|
return;
|
|
4248
4261
|
const V = ae(e);
|
|
4249
|
-
V && (_(V, W ??
|
|
4262
|
+
V && (_(V, W ?? Qa), G(H), r.push(he(V.$el, "mousedown", D)), r.push(he(V.$el, "touchstart", D)), E.value = !0, a = H);
|
|
4250
4263
|
}
|
|
4251
4264
|
function we(W) {
|
|
4252
4265
|
if (!E.value)
|
|
@@ -4262,11 +4275,11 @@ function Bu(e, t = {}) {
|
|
|
4262
4275
|
turnResizingOff: we
|
|
4263
4276
|
};
|
|
4264
4277
|
}
|
|
4265
|
-
function
|
|
4278
|
+
function Fu(e) {
|
|
4266
4279
|
const t = [];
|
|
4267
|
-
return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) =>
|
|
4280
|
+
return (e == null ? void 0 : e.required) == !0 && t.push((a) => !!a || "Field is required"), (e == null ? void 0 : e.otherRules) != null && (Array.isArray(e == null ? void 0 : e.otherRules) ? t.push(...e.otherRules) : t.push(e.otherRules)), (e == null ? void 0 : e.forPassword) == !0 && (t.push((a) => !!a || "Password is required"), t.push((a) => a != null && a.length > 9 || "Password must be 10 or more characters"), t.push((a) => /^(.*[a-z].*)$/.test(a) || "Password must contain a lowercase letter"), t.push((a) => /^(.*[A-Z].*)$/.test(a) || "Password must contain an uppercase letter"), t.push((a) => /^(.*\d.*)$/.test(a) || "Password must contain a number")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((a) => !!a || "Email is required"), t.push((a) => wa(a) || "Email must be valid")), t;
|
|
4268
4281
|
}
|
|
4269
|
-
function
|
|
4282
|
+
function ku(e, t) {
|
|
4270
4283
|
const a = Y(!1), l = ar(e);
|
|
4271
4284
|
let s = o(K(e));
|
|
4272
4285
|
(t == null ? void 0 : t.useTracker) !== !1 && Ae(l, (S) => {
|
|
@@ -4289,109 +4302,110 @@ function Fu(e, t) {
|
|
|
4289
4302
|
restartTracker: A
|
|
4290
4303
|
};
|
|
4291
4304
|
}
|
|
4292
|
-
function
|
|
4305
|
+
function Vu(e) {
|
|
4293
4306
|
return {
|
|
4294
4307
|
install() {
|
|
4295
4308
|
var A;
|
|
4296
|
-
|
|
4297
|
-
const t =
|
|
4298
|
-
|
|
4299
|
-
const l =
|
|
4309
|
+
Pa(e);
|
|
4310
|
+
const t = Ra(), a = Ya(e);
|
|
4311
|
+
Ja(e), (A = e.auth).demo ?? (A.demo = t), e.auth.getAuthItem = a.findItem;
|
|
4312
|
+
const l = xa(e.auth), s = Ea({
|
|
4300
4313
|
auth: l,
|
|
4301
4314
|
findPath: a.findPath,
|
|
4302
4315
|
useBearerToken: !0
|
|
4303
|
-
}), o =
|
|
4316
|
+
}), o = Ma({
|
|
4304
4317
|
getTimeZone: l.getTimeZone
|
|
4305
4318
|
});
|
|
4306
|
-
|
|
4319
|
+
Ba({
|
|
4307
4320
|
dates: o
|
|
4308
|
-
}),
|
|
4321
|
+
}), Ka(), qa({
|
|
4309
4322
|
api: s,
|
|
4310
4323
|
auth: l
|
|
4311
|
-
}),
|
|
4324
|
+
}), Ia(e.urls);
|
|
4312
4325
|
}
|
|
4313
4326
|
};
|
|
4314
4327
|
}
|
|
4315
4328
|
export {
|
|
4316
|
-
|
|
4317
|
-
|
|
4329
|
+
wu as DataURIToBlob,
|
|
4330
|
+
hu as addWeekday,
|
|
4318
4331
|
Ce as appendUrl,
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4332
|
+
fa as capitalizeWords,
|
|
4333
|
+
lu as checkImage,
|
|
4334
|
+
ma as containsSearch,
|
|
4335
|
+
ou as containsWeekday,
|
|
4323
4336
|
Qr as copyDeep,
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4337
|
+
da as copyItemByAlphabet,
|
|
4338
|
+
Ea as createApi,
|
|
4339
|
+
xa as createAuth,
|
|
4340
|
+
Vu as createCore,
|
|
4341
|
+
Pa as createCosmetics,
|
|
4342
|
+
Ma as createDates,
|
|
4343
|
+
Ra as createDemo,
|
|
4344
|
+
Ba as createFilters,
|
|
4345
|
+
Ya as createNavigation,
|
|
4346
|
+
Ka as createPWA,
|
|
4347
|
+
Ja as createPresets,
|
|
4348
|
+
Za as createSessionStoreDefinition,
|
|
4349
|
+
qa as createStoreBuilder,
|
|
4350
|
+
Ha as createStoreDefinition,
|
|
4351
|
+
Ia as createUrl,
|
|
4339
4352
|
bt as createWholeLastUpdateStoreDefinition,
|
|
4340
|
-
|
|
4341
|
-
|
|
4353
|
+
ha as csvContains,
|
|
4354
|
+
Du as csvDefaults,
|
|
4342
4355
|
Ut as deepSelect,
|
|
4343
|
-
|
|
4344
|
-
|
|
4356
|
+
eu as distinct,
|
|
4357
|
+
ru as extensionExists,
|
|
4358
|
+
va as extractErrorDescription,
|
|
4345
4359
|
ia as fromCamelCase,
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4360
|
+
tu as getAreaAround,
|
|
4361
|
+
nu as getAreaToLeft,
|
|
4362
|
+
au as getAreaToRight,
|
|
4363
|
+
uu as getGoogleMapsLocationLine,
|
|
4364
|
+
cu as getImageData,
|
|
4351
4365
|
Rt as getLocationLine,
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4366
|
+
vu as getMinDate,
|
|
4367
|
+
oa as getMinDateString,
|
|
4368
|
+
ga as getRandomColor,
|
|
4369
|
+
ya as hasSearch,
|
|
4370
|
+
mu as isArrayOfLength,
|
|
4357
4371
|
Fe as isLengthyArray,
|
|
4358
|
-
|
|
4372
|
+
sa as isMinDate,
|
|
4359
4373
|
Rr as nestedValue,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4374
|
+
du as removeWeekday,
|
|
4375
|
+
gu as roundTo,
|
|
4376
|
+
iu as toCamelCase,
|
|
4377
|
+
bu as toCompareString,
|
|
4378
|
+
yu as toggleCSV,
|
|
4379
|
+
Eu as twiddleThumbs,
|
|
4366
4380
|
la as useActions,
|
|
4367
4381
|
ua as useActionsTracker,
|
|
4368
|
-
|
|
4369
|
-
|
|
4382
|
+
ba as useApi,
|
|
4383
|
+
_u as useAuth,
|
|
4370
4384
|
vt as useAuthUrl,
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4385
|
+
La as useCSV,
|
|
4386
|
+
Au as useCosmetics,
|
|
4387
|
+
Da as useDataUrl,
|
|
4388
|
+
Iu as useDates,
|
|
4375
4389
|
$t as useDbName,
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4390
|
+
xu as useDemo,
|
|
4391
|
+
Nu as useDocumentMeta,
|
|
4392
|
+
Tu as useDraggable,
|
|
4393
|
+
Cu as useFilters,
|
|
4380
4394
|
na as useId,
|
|
4381
|
-
|
|
4382
|
-
|
|
4395
|
+
Mu as useList,
|
|
4396
|
+
Pu as useLocalCache,
|
|
4383
4397
|
de as useLocalDb,
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4398
|
+
Ru as useNavigation,
|
|
4399
|
+
Bu as usePWA,
|
|
4400
|
+
Uu as usePresets,
|
|
4401
|
+
$u as useResizable,
|
|
4402
|
+
Fu as useRules,
|
|
4403
|
+
Lu as useStore,
|
|
4404
|
+
Ga as useStoreDefinition,
|
|
4405
|
+
ku as useTracker,
|
|
4406
|
+
Su as useUrls,
|
|
4407
|
+
wa as validEmail,
|
|
4394
4408
|
Ye as weekdayPairs,
|
|
4395
|
-
|
|
4396
|
-
|
|
4409
|
+
su as weekdayShortName,
|
|
4410
|
+
fu as weekdayValue
|
|
4397
4411
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -367,6 +367,8 @@ export declare interface DeleteOptions extends PathOptions, DoActionOptions {
|
|
|
367
367
|
store?: BTStoreDefinition;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
+
export declare function distinct(list: any): any;
|
|
371
|
+
|
|
370
372
|
declare interface DoActionOptions {
|
|
371
373
|
completionMsg?: string;
|
|
372
374
|
confirmationMsg?: string;
|
|
@@ -1139,6 +1141,7 @@ export declare function useNavigation(): BTNavigation;
|
|
|
1139
1141
|
|
|
1140
1142
|
export declare interface UseNavigationOptions {
|
|
1141
1143
|
defaultCacheExpiryHours?: number;
|
|
1144
|
+
getDisplayName?: (navItem: NavigationItem) => string | undefined;
|
|
1142
1145
|
navItems?: NavigationItem[];
|
|
1143
1146
|
}
|
|
1144
1147
|
|
package/package.json
CHANGED