bt-core-app 1.4.153 → 1.4.154

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.
@@ -5286,7 +5286,7 @@ var pr = function() {
5286
5286
  }
5287
5287
  return a.firstBy = a, a;
5288
5288
  }();
5289
- function s_(e) {
5289
+ function d_(e) {
5290
5290
  return e.reduce((t, n) => t += n, 0);
5291
5291
  }
5292
5292
  function Va(e, t) {
@@ -5305,10 +5305,10 @@ function o0(e, t, n) {
5305
5305
  let a = new Image();
5306
5306
  a.onload = t, a.onerror = n, a.src = e;
5307
5307
  }
5308
- function o_(e) {
5308
+ function f_(e) {
5309
5309
  return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
5310
5310
  }
5311
- function u_(e = "blitzItExtensionExists") {
5311
+ function v_(e = "blitzItExtensionExists") {
5312
5312
  try {
5313
5313
  var t = document.getElementById(e);
5314
5314
  return t != null;
@@ -5316,7 +5316,7 @@ function u_(e = "blitzItExtensionExists") {
5316
5316
  return console.log(y0(n)), !1;
5317
5317
  }
5318
5318
  }
5319
- function c_(e, t) {
5319
+ function m_(e, t) {
5320
5320
  return [
5321
5321
  { lat: e.lat - t, lng: e.lng + t },
5322
5322
  { lat: e.lat - t, lng: e.lng - t },
@@ -5324,7 +5324,7 @@ function c_(e, t) {
5324
5324
  { lat: e.lat + t, lng: e.lng + t }
5325
5325
  ];
5326
5326
  }
5327
- function d_(e, t) {
5327
+ function h_(e, t) {
5328
5328
  return [
5329
5329
  { lat: e.lat - t * 2, lng: e.lng + t },
5330
5330
  { lat: e.lat - t * 2, lng: e.lng - t },
@@ -5332,7 +5332,7 @@ function d_(e, t) {
5332
5332
  { lat: e.lat, lng: e.lng + t }
5333
5333
  ];
5334
5334
  }
5335
- function f_(e, t) {
5335
+ function y_(e, t) {
5336
5336
  return [
5337
5337
  { lat: e.lat, lng: e.lng + t },
5338
5338
  { lat: e.lat, lng: e.lng - t },
@@ -5340,7 +5340,7 @@ function f_(e, t) {
5340
5340
  { lat: e.lat + t * 2, lng: e.lng + t }
5341
5341
  ];
5342
5342
  }
5343
- function v_(e) {
5343
+ function g_(e) {
5344
5344
  var t = yv(e, !0);
5345
5345
  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(" ", "");
5346
5346
  }
@@ -5352,7 +5352,7 @@ function yv(e, t = !1) {
5352
5352
  var n = "";
5353
5353
  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;
5354
5354
  }
5355
- async function m_(e, t = !0) {
5355
+ async function b_(e, t = !0) {
5356
5356
  return new Promise((n, a) => {
5357
5357
  e == null && a("no url given");
5358
5358
  var r = new Image();
@@ -5369,7 +5369,7 @@ async function m_(e, t = !0) {
5369
5369
  function u0(e) {
5370
5370
  return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
5371
5371
  }
5372
- function h_(e) {
5372
+ function w_(e) {
5373
5373
  if (e != null && typeof e == "object")
5374
5374
  for (var t in e)
5375
5375
  /^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
@@ -5388,25 +5388,25 @@ const ql = [
5388
5388
  { value: 7, short: "sat", values: ["sat", "saturday"] },
5389
5389
  { value: 0, short: "always", values: ["always", null, void 0] }
5390
5390
  ];
5391
- function y_(e) {
5391
+ function p_(e) {
5392
5392
  if (e == null)
5393
5393
  return 0;
5394
5394
  const t = e.replaceAll(" ", "").split(",").map((a) => a.toLowerCase()), n = ql.filter((a) => a.values.some((r) => t.some((l) => r == l))).map((a) => a.value);
5395
5395
  return n.length == 0 ? 8 : Math.min(...n);
5396
5396
  }
5397
- function g_(e) {
5397
+ function S_(e) {
5398
5398
  return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
5399
5399
  let n = ql.find((a) => a.values.some((r) => r == t));
5400
5400
  return n != null ? n.short : "";
5401
5401
  }).filter((t) => t != null && t.length > 0).toString();
5402
5402
  }
5403
- function b_(e, t) {
5403
+ function k_(e, t) {
5404
5404
  if (e == null || t == null)
5405
5405
  return !0;
5406
5406
  const n = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = t.replaceAll(" ", "").toLowerCase(), r = ql.find((l) => l.values.some((i) => i == a));
5407
5407
  return r != null && n.some((l) => l == r.short || r.values.some((i) => i == l));
5408
5408
  }
5409
- function w_(e, t) {
5409
+ function C_(e, t) {
5410
5410
  if (t == null)
5411
5411
  return e;
5412
5412
  let n = e ?? "";
@@ -5414,13 +5414,13 @@ function w_(e, t) {
5414
5414
  let a = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((r) => ql.find((l) => l.values.some((i) => i == r))).filter((r) => r != null).sort(pr.firstBy((r) => (r == null ? void 0 : r.value) ?? 0)).map((r) => r == null ? void 0 : r.short))].toString();
5415
5415
  return a.length > 0 ? a : void 0;
5416
5416
  }
5417
- function p_(e, t) {
5417
+ function x_(e, t) {
5418
5418
  if (t == null || e == null)
5419
5419
  return e;
5420
5420
  let n = e ?? "", a = t.replaceAll(" ", "").toLowerCase(), r = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((l) => ql.find((i) => i.values.some((s) => s == l && s != a))).filter((l) => l != null).sort(pr.firstBy((l) => (l == null ? void 0 : l.value) ?? 0)).map((l) => l == null ? void 0 : l.short))].toString();
5421
5421
  return r.length > 0 ? r : void 0;
5422
5422
  }
5423
- function S_(e, t) {
5423
+ function T_(e, t) {
5424
5424
  return e != null && Array.isArray(e) && e.length == t;
5425
5425
  }
5426
5426
  function Sn(e, t = 0) {
@@ -5429,13 +5429,13 @@ function Sn(e, t = 0) {
5429
5429
  function d0(e) {
5430
5430
  return e == "0001-01-01T00:00:00Z";
5431
5431
  }
5432
- function k_() {
5432
+ function M_() {
5433
5433
  return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
5434
5434
  }
5435
5435
  function f0() {
5436
5436
  return "0001-01-01T00:00:00Z";
5437
5437
  }
5438
- function C_(e, t) {
5438
+ function __(e, t) {
5439
5439
  let n = "1", a = 0;
5440
5440
  if (a < t)
5441
5441
  do
@@ -5444,7 +5444,7 @@ function C_(e, t) {
5444
5444
  let r = Number.parseInt(n);
5445
5445
  return Math.round(e * r) / r;
5446
5446
  }
5447
- function x_(e, t) {
5447
+ function A_(e, t) {
5448
5448
  let n = e ?? "";
5449
5449
  return t != null && (v0(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
5450
5450
  }
@@ -5483,7 +5483,7 @@ function gv(e, t = (n) => n) {
5483
5483
  return Sn(l) && a.push(...l), a;
5484
5484
  }, [])] : [];
5485
5485
  }
5486
- function T_(e) {
5486
+ function D_(e) {
5487
5487
  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);
5488
5488
  for (let l = 0; l < n.length; l++)
5489
5489
  r[l] = n.charCodeAt(l);
@@ -5519,10 +5519,10 @@ function b0(e, t, n) {
5519
5519
  }
5520
5520
  return !1;
5521
5521
  }
5522
- function M_(e) {
5522
+ function I_(e) {
5523
5523
  return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
5524
5524
  }
5525
- function __(e = 2e3) {
5525
+ function E_(e = 2e3) {
5526
5526
  return new Promise((t) => {
5527
5527
  setTimeout(() => t(), e);
5528
5528
  });
@@ -7004,7 +7004,7 @@ function Oc() {
7004
7004
  const e = _t == null ? void 0 : _t.getEnv();
7005
7005
  return _t == null ? "" : (_t[e] ?? _t.development).auth ?? "";
7006
7006
  }
7007
- function A_(e, t) {
7007
+ function V_(e, t) {
7008
7008
  const n = _t == null ? void 0 : _t.getEnv();
7009
7009
  if (_t == null)
7010
7010
  return "";
@@ -7018,7 +7018,7 @@ function k0(e) {
7018
7018
  const n = _t[t] ?? _t.development;
7019
7019
  return e == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
7020
7020
  }
7021
- function D_() {
7021
+ function P_() {
7022
7022
  return _t;
7023
7023
  }
7024
7024
  function C0(e) {
@@ -7032,7 +7032,7 @@ function wn() {
7032
7032
  const e = pv();
7033
7033
  return (mi == null || mi.config.name != e) && (mi = wv.createInstance({ name: e })), mi;
7034
7034
  }
7035
- function I_() {
7035
+ function L_() {
7036
7036
  async function e(r) {
7037
7037
  const l = wn();
7038
7038
  (await l.keys()).filter((u) => u.startsWith(r)).forEach((u) => {
@@ -7056,7 +7056,7 @@ function I_() {
7056
7056
  };
7057
7057
  }
7058
7058
  let Vi;
7059
- function E_(e) {
7059
+ function $_(e) {
7060
7060
  return Vi(e)();
7061
7061
  }
7062
7062
  function fr(e) {
@@ -8265,7 +8265,7 @@ let wo;
8265
8265
  function P0() {
8266
8266
  return wo;
8267
8267
  }
8268
- function V_(e) {
8268
+ function N_(e) {
8269
8269
  const t = localStorage.getItem("cosmetics");
8270
8270
  let n;
8271
8271
  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), {
@@ -8346,7 +8346,7 @@ function L0(e) {
8346
8346
  undoTemporaryColor: h
8347
8347
  }, wo;
8348
8348
  }
8349
- const P_ = {
8349
+ const B_ = {
8350
8350
  canExportCSV: !1
8351
8351
  };
8352
8352
  function $0() {
@@ -8448,7 +8448,7 @@ function B0(e) {
8448
8448
  }, po;
8449
8449
  }
8450
8450
  let So;
8451
- function L_() {
8451
+ function R_() {
8452
8452
  return So;
8453
8453
  }
8454
8454
  function R0(e) {
@@ -29269,7 +29269,7 @@ const ry = /* @__PURE__ */ tt({
29269
29269
  }), null, 16, ["dark", "modelValue"]));
29270
29270
  }
29271
29271
  });
29272
- function $_() {
29272
+ function F_() {
29273
29273
  const e = Ru();
29274
29274
  return async (t) => {
29275
29275
  let n;
@@ -29302,7 +29302,7 @@ function $_() {
29302
29302
  return n != null && t.itemValue != null ? n[t.itemValue] : n;
29303
29303
  };
29304
29304
  }
29305
- function N_() {
29305
+ function H_() {
29306
29306
  const e = Ru();
29307
29307
  return async (t) => {
29308
29308
  let n;
@@ -29324,7 +29324,7 @@ function N_() {
29324
29324
  return n;
29325
29325
  };
29326
29326
  }
29327
- function B_() {
29327
+ function O_() {
29328
29328
  const e = Ru();
29329
29329
  return async (t) => {
29330
29330
  let n;
@@ -29347,7 +29347,7 @@ function B_() {
29347
29347
  };
29348
29348
  }
29349
29349
  var KT = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
29350
- function R_(e) {
29350
+ function z_(e) {
29351
29351
  function t(n) {
29352
29352
  var r;
29353
29353
  const a = n.matched.slice().reverse().find((l) => l.meta && l.meta.title);
@@ -29540,7 +29540,7 @@ const QT = {
29540
29540
  component: gu
29541
29541
  };
29542
29542
  var eM = "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", tM = "M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z", nM = "M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z", aM = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z", rM = "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", lM = "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", iM = "M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z", sM = "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", oM = "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", uM = "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", cM = "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", dM = "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", fM = "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", vM = "M7,10L12,15L17,10H7Z", mM = "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", hM = "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", yM = "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", gM = "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", bM = "M16,5V18H21V5M4,18H9V5H4M10,18H15V5H10V18Z", wM = "M4,4H20V20H4V4M6,8V18H18V8H6Z";
29543
- function F_(e) {
29543
+ function Y_(e) {
29544
29544
  return {
29545
29545
  defaultSet: "mdi",
29546
29546
  aliases: {
@@ -29800,7 +29800,7 @@ function kM() {
29800
29800
  let lf, sf, of, uf = !1;
29801
29801
  const so = U(!1), oo = U(!1), cf = U(), ki = U();
29802
29802
  let Go;
29803
- function H_() {
29803
+ function W_() {
29804
29804
  return Go;
29805
29805
  }
29806
29806
  function CM() {
@@ -29833,11 +29833,11 @@ function CM() {
29833
29833
  updateApp: l
29834
29834
  }, Go;
29835
29835
  }
29836
- function O_(e) {
29836
+ function U_(e) {
29837
29837
  const t = [];
29838
29838
  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) => w0(n) || "Email must be valid")), t;
29839
29839
  }
29840
- const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
29840
+ const xM = Symbol(), TM = Symbol(), MM = Symbol(), _M = Symbol(), AM = { key: 0 }, DM = /* @__PURE__ */ tt({
29841
29841
  __name: "BT-Blade-Item",
29842
29842
  props: {
29843
29843
  canDelete: { type: Boolean, default: !1 },
@@ -29972,7 +29972,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
29972
29972
  mode: _(i).mode.value,
29973
29973
  size: _(s)
29974
29974
  }, () => [
29975
- _(i).asyncItem.value == null && !_(i).isLoading.value ? (R(), ie("div", xM, [
29975
+ _(i).asyncItem.value == null && !_(i).isLoading.value ? (R(), ie("div", AM, [
29976
29976
  ce(m.$slots, "notFound", {
29977
29977
  refresh: _(i).refresh,
29978
29978
  density: m.density,
@@ -30067,7 +30067,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30067
30067
  }, 8, ["bladeName", "density", "errorMsg", "flat", "label", "loadingMsg", "preset", "variant"]);
30068
30068
  };
30069
30069
  }
30070
- }), MM = /* @__PURE__ */ tt({
30070
+ }), IM = /* @__PURE__ */ tt({
30071
30071
  __name: "BT-Blade",
30072
30072
  props: {
30073
30073
  density: { default: "compact" },
@@ -30241,7 +30241,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30241
30241
  _: 3
30242
30242
  }, 8, ["density", "flat", "min-height"]));
30243
30243
  }
30244
- }), _M = /* @__PURE__ */ tt({
30244
+ }), EM = /* @__PURE__ */ tt({
30245
30245
  __name: "BT-Btn",
30246
30246
  props: {
30247
30247
  icon: { default: void 0 },
@@ -30259,7 +30259,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30259
30259
  variant: u.value
30260
30260
  }), null, 16, ["disabled", "icon", "size", "variant"]));
30261
30261
  }
30262
- }), AM = /* @__PURE__ */ tt({
30262
+ }), VM = /* @__PURE__ */ tt({
30263
30263
  __name: "BT-Col",
30264
30264
  props: {
30265
30265
  cols: { type: [String, Boolean], default: "12" },
@@ -30284,10 +30284,10 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30284
30284
  _: 3
30285
30285
  }, 8, ["lg", "md", "sm", "cols", "class"]));
30286
30286
  }
30287
- }), DM = {
30287
+ }), PM = {
30288
30288
  key: 0,
30289
30289
  class: "align-center justify-center text-center"
30290
- }, IM = { key: "3" }, EM = /* @__PURE__ */ tt({
30290
+ }, LM = { key: "3" }, $M = /* @__PURE__ */ tt({
30291
30291
  __name: "BT-Entity",
30292
30292
  props: {
30293
30293
  alternateText: {},
@@ -30351,7 +30351,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30351
30351
  }, [
30352
30352
  C(Ma, { "hide-on-leave": "" }, {
30353
30353
  default: K(() => [
30354
- l.inline && _(a).isLoading.value ? (R(), ie("div", DM, [
30354
+ l.inline && _(a).isLoading.value ? (R(), ie("div", PM, [
30355
30355
  C(qr, {
30356
30356
  indeterminate: "",
30357
30357
  size: "20"
@@ -30382,7 +30382,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30382
30382
  ce(l.$slots, "alternate", {
30383
30383
  item: _(a).asyncItem.value
30384
30384
  }, () => [
30385
- Ye("span", IM, We(l.alternateText), 1)
30385
+ Ye("span", LM, We(l.alternateText), 1)
30386
30386
  ])
30387
30387
  ], 2))
30388
30388
  ]),
@@ -30404,7 +30404,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30404
30404
  }, 8, ["modelValue"]))
30405
30405
  ], 2));
30406
30406
  }
30407
- }), VM = /* @__PURE__ */ tt({
30407
+ }), NM = /* @__PURE__ */ tt({
30408
30408
  inheritAttrs: !1,
30409
30409
  __name: "BT-Field-Checkbox",
30410
30410
  props: {
@@ -30449,7 +30449,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30449
30449
  _: 1
30450
30450
  }, 8, ["lg", "md", "sm", "cols"]));
30451
30451
  }
30452
- }), PM = /* @__PURE__ */ tt({
30452
+ }), BM = /* @__PURE__ */ tt({
30453
30453
  inheritAttrs: !1,
30454
30454
  __name: "BT-Field-Date",
30455
30455
  props: {
@@ -30540,7 +30540,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30540
30540
  _: 1
30541
30541
  }, 8, ["lg", "md", "sm", "cols"]));
30542
30542
  }
30543
- }), LM = /* @__PURE__ */ tt({
30543
+ }), RM = /* @__PURE__ */ tt({
30544
30544
  inheritAttrs: !1,
30545
30545
  __name: "BT-Field-Entity",
30546
30546
  props: {
@@ -30585,7 +30585,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30585
30585
  }, 8, ["lg", "md", "sm", "cols"]);
30586
30586
  };
30587
30587
  }
30588
- }), $M = /* @__PURE__ */ tt({
30588
+ }), FM = /* @__PURE__ */ tt({
30589
30589
  inheritAttrs: !1,
30590
30590
  __name: "BT-Field-Select",
30591
30591
  props: {
@@ -30637,7 +30637,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30637
30637
  }, 8, ["lg", "md", "sm", "cols"]);
30638
30638
  };
30639
30639
  }
30640
- }), NM = /* @__PURE__ */ tt({
30640
+ }), HM = /* @__PURE__ */ tt({
30641
30641
  inheritAttrs: !1,
30642
30642
  __name: "BT-Field-String",
30643
30643
  props: {
@@ -30682,7 +30682,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30682
30682
  _: 1
30683
30683
  }, 8, ["lg", "md", "sm", "cols"]));
30684
30684
  }
30685
- }), BM = /* @__PURE__ */ tt({
30685
+ }), OM = /* @__PURE__ */ tt({
30686
30686
  inheritAttrs: !1,
30687
30687
  __name: "BT-Field-Switch",
30688
30688
  props: {
@@ -30741,7 +30741,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30741
30741
  _: 1
30742
30742
  }, 8, ["lg", "md", "sm", "cols"]));
30743
30743
  }
30744
- }), RM = /* @__PURE__ */ tt({
30744
+ }), zM = /* @__PURE__ */ tt({
30745
30745
  inheritAttrs: !1,
30746
30746
  __name: "BT-Field-Tags",
30747
30747
  props: {
@@ -30785,7 +30785,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30785
30785
  _: 1
30786
30786
  }, 8, ["lg", "md", "sm", "cols"]));
30787
30787
  }
30788
- }), FM = /* @__PURE__ */ tt({
30788
+ }), YM = /* @__PURE__ */ tt({
30789
30789
  inheritAttrs: !1,
30790
30790
  __name: "BT-Field-Textarea",
30791
30791
  props: {
@@ -30827,19 +30827,19 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
30827
30827
  _: 1
30828
30828
  }, 8, ["lg", "md", "sm", "cols"]));
30829
30829
  }
30830
- }), HM = {
30830
+ }), WM = {
30831
30831
  key: 0,
30832
30832
  class: "mx-1"
30833
- }, OM = {
30833
+ }, UM = {
30834
30834
  key: 1,
30835
30835
  class: "mx-1"
30836
- }, zM = {
30836
+ }, qM = {
30837
30837
  key: 2,
30838
30838
  class: "mx-1"
30839
- }, YM = {
30839
+ }, GM = {
30840
30840
  key: 3,
30841
30841
  class: "mx-1"
30842
- }, WM = /* @__PURE__ */ tt({
30842
+ }, ZM = /* @__PURE__ */ tt({
30843
30843
  inheritAttrs: !1,
30844
30844
  __name: "BT-Field-Trigger",
30845
30845
  props: {
@@ -31167,10 +31167,10 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31167
31167
  default: K(() => [
31168
31168
  C(Xa, { dense: "" }, {
31169
31169
  default: K(() => [
31170
- b.useAutomation || b.useAutomationDaily || b.useAutomationLarge ? (R(), ie("span", HM, We(b.automation), 1)) : ae("", !0),
31171
- b.useGuide || b.useGuideList ? (R(), ie("span", OM, We(b.guide), 1)) : ae("", !0),
31172
- b.useTrigger || b.useScheduledTrigger || b.useTriggerList ? (R(), ie("span", zM, We(b.trigger), 1)) : ae("", !0),
31173
- b.useCustom || b.useCustomList ? (R(), ie("span", YM, We(b.custom), 1)) : ae("", !0)
31170
+ b.useAutomation || b.useAutomationDaily || b.useAutomationLarge ? (R(), ie("span", WM, We(b.automation), 1)) : ae("", !0),
31171
+ b.useGuide || b.useGuideList ? (R(), ie("span", UM, We(b.guide), 1)) : ae("", !0),
31172
+ b.useTrigger || b.useScheduledTrigger || b.useTriggerList ? (R(), ie("span", qM, We(b.trigger), 1)) : ae("", !0),
31173
+ b.useCustom || b.useCustomList ? (R(), ie("span", GM, We(b.custom), 1)) : ae("", !0)
31174
31174
  ]),
31175
31175
  _: 1
31176
31176
  })
@@ -31184,7 +31184,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31184
31184
  _: 1
31185
31185
  }, 8, ["lg", "md", "sm", "cols"]));
31186
31186
  }
31187
- }), UM = { key: 0 }, qM = { key: 1 }, GM = { key: 3 }, ZM = /* @__PURE__ */ tt({
31187
+ }), jM = { key: 0 }, KM = { key: 1 }, JM = { key: 3 }, QM = /* @__PURE__ */ tt({
31188
31188
  __name: "BT-Header-Option",
31189
31189
  props: {
31190
31190
  data: {},
@@ -31200,8 +31200,8 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31200
31200
  const i = zr("bt-entity");
31201
31201
  return R(), se(Ma, { group: "" }, {
31202
31202
  default: K(() => [
31203
- r.option.prefix != null ? (R(), ie("span", UM, We(r.option.prefix), 1)) : ae("", !0),
31204
- r.option.bool != null ? (R(), ie("span", qM, [
31203
+ r.option.prefix != null ? (R(), ie("span", jM, We(r.option.prefix), 1)) : ae("", !0),
31204
+ r.option.bool != null ? (R(), ie("span", KM, [
31205
31205
  _(Aa)(r.data, r.option.value) === !0 ? (R(), se(vt, {
31206
31206
  key: 0,
31207
31207
  size: r.size
@@ -31219,13 +31219,13 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31219
31219
  nav: r.option.nav,
31220
31220
  isSingle: !0,
31221
31221
  textFilter: r.option.textFilter
31222
- }, null, 8, ["itemText", "itemID", "nav", "textFilter"])) : (R(), ie("span", GM, We(a.value(r.data)), 1))
31222
+ }, null, 8, ["itemText", "itemID", "nav", "textFilter"])) : (R(), ie("span", JM, We(a.value(r.data)), 1))
31223
31223
  ]),
31224
31224
  _: 1
31225
31225
  });
31226
31226
  };
31227
31227
  }
31228
- }), jM = ["innerHTML"], KM = /* @__PURE__ */ tt({
31228
+ }), XM = ["innerHTML"], e_ = /* @__PURE__ */ tt({
31229
31229
  __name: "BT-Json",
31230
31230
  props: ["value"],
31231
31231
  setup(e) {
@@ -31246,7 +31246,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31246
31246
  (R(!0), ie(Ce, null, Xe(n.value, (i, s) => (R(), ie("div", { key: s }, [
31247
31247
  Ye("pre", {
31248
31248
  innerHTML: a(i)
31249
- }, null, 8, jM)
31249
+ }, null, 8, XM)
31250
31250
  ]))), 128))
31251
31251
  ]),
31252
31252
  _: 1
@@ -31255,7 +31255,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31255
31255
  _: 1
31256
31256
  }));
31257
31257
  }
31258
- }), JM = /* @__PURE__ */ tt({
31258
+ }), t_ = /* @__PURE__ */ tt({
31259
31259
  __name: "BT-Nav-Sidebar",
31260
31260
  props: {
31261
31261
  iconSrc: {},
@@ -31382,7 +31382,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31382
31382
  _: 3
31383
31383
  }, 8, ["rail", "modelValue"]));
31384
31384
  }
31385
- }), QM = /* @__PURE__ */ tt({
31385
+ }), n_ = /* @__PURE__ */ tt({
31386
31386
  inheritAttrs: !1,
31387
31387
  __name: "BT-Select-List-Box",
31388
31388
  props: {
@@ -31722,7 +31722,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31722
31722
  _: 3
31723
31723
  }, 8, ["class", "lg", "md", "sm", "cols"]));
31724
31724
  }
31725
- }), XM = /* @__PURE__ */ tt({
31725
+ }), a_ = /* @__PURE__ */ tt({
31726
31726
  __name: "BT-Select",
31727
31727
  props: {
31728
31728
  additionalUrl: {},
@@ -31804,7 +31804,7 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31804
31804
  _: 3
31805
31805
  }, 8, ["append-icon", "clearable", "items", "item-title", "item-value", "variant"]));
31806
31806
  }
31807
- }), e_ = /* @__PURE__ */ tt({
31807
+ }), r_ = /* @__PURE__ */ tt({
31808
31808
  __name: "BT-Span",
31809
31809
  props: {
31810
31810
  customFilter: {},
@@ -31818,45 +31818,48 @@ const xM = { key: 0 }, TM = /* @__PURE__ */ tt({
31818
31818
  return (r, l) => (R(), ie("span", null, We(r.prefix) + We(a.value) + We(r.suffix), 1));
31819
31819
  }
31820
31820
  });
31821
- function z_(e) {
31821
+ function q_(e) {
31822
31822
  return {
31823
31823
  install(t, n) {
31824
- var u;
31825
- e.includeComponents == !0 && (t.component("bt-blade-item", TM), t.component("bt-blade-items", gh), t.component("bt-blade", MM), t.component("bt-btn", _M), t.component("bt-col", AM), t.component("bt-date", ry), t.component("bt-entity", EM), t.component("bt-field-checkbox", VM), t.component("bt-field-date", PM), t.component("bt-field-entity", LM), t.component("bt-field-select", $M), t.component("bt-field-string", NM), t.component("bt-field-switch", BM), t.component("bt-field-tags", RM), t.component("bt-field-text-area", FM), t.component("bt-field-trigger", WM), t.component("bt-header-option", ZM), t.component("bt-json", KM), t.component("bt-nav-sidebar", JM), t.component("bt-number", ly), t.component("bt-select-list-box", QM), t.component("bt-select", XM), t.component("bt-span", e_)), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance), C0(e.urls), L0(e);
31826
- const a = R0(), r = Rk(e);
31827
- Fk(e), (u = e.auth).demo ?? (u.demo = a), e.auth.getAuthItem = r.findItem;
31828
- const l = D0(e.auth);
31824
+ var c;
31825
+ e.includeComponents == !0 && (t.component("bt-blade-item", DM), t.component("bt-blade-items", gh), t.component("bt-blade", IM), t.component("bt-btn", EM), t.component("bt-col", VM), t.component("bt-date", ry), t.component("bt-entity", $M), t.component("bt-field-checkbox", NM), t.component("bt-field-date", BM), t.component("bt-field-entity", RM), t.component("bt-field-select", FM), t.component("bt-field-string", HM), t.component("bt-field-switch", OM), t.component("bt-field-tags", zM), t.component("bt-field-text-area", YM), t.component("bt-field-trigger", ZM), t.component("bt-header-option", QM), t.component("bt-json", e_), t.component("bt-nav-sidebar", t_), t.component("bt-number", ly), t.component("bt-select-list-box", n_), t.component("bt-select", a_), t.component("bt-span", r_)), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance);
31826
+ const a = C0(e.urls);
31827
+ L0(e);
31828
+ const r = R0(), l = Rk(e);
31829
+ Fk(e), (c = e.auth).demo ?? (c.demo = r), e.auth.getAuthItem = l.findItem;
31830
+ const i = D0(e.auth);
31829
31831
  SM(e.menu);
31830
- const i = A0({
31831
- auth: l,
31832
- findPath: r.findPath,
31832
+ const s = A0({
31833
+ auth: i,
31834
+ findPath: l.findPath,
31833
31835
  useBearerToken: !0
31834
- }), s = B0({
31835
- getTimeZone: () => l.timeZone.value
31836
+ }), u = B0({
31837
+ getTimeZone: () => i.timeZone.value
31836
31838
  });
31837
31839
  JT({
31838
- dates: s
31840
+ dates: u
31839
31841
  }), CM(), x0({
31840
- api: i,
31841
- auth: l,
31842
- navigation: r
31843
- });
31842
+ api: s,
31843
+ auth: i,
31844
+ navigation: l
31845
+ }), t.provide(xM, l), t.provide(_M, i), t.provide(MM, r), t.provide(TM, a);
31844
31846
  }
31845
31847
  };
31846
31848
  }
31847
31849
  export {
31848
- T_ as DataURIToBlob,
31849
- w_ as addWeekday,
31850
+ D_ as DataURIToBlob,
31851
+ C_ as addWeekday,
31850
31852
  Va as appendUrl,
31853
+ _M as authKey,
31851
31854
  c0 as capitalizeWords,
31852
31855
  o0 as checkImage,
31853
31856
  h0 as containsSearch,
31854
- b_ as containsWeekday,
31857
+ k_ as containsWeekday,
31855
31858
  su as copyDeep,
31856
31859
  m0 as copyItemByAlphabet,
31857
31860
  A0 as createApi,
31858
31861
  D0 as createAuth,
31859
- z_ as createCore,
31862
+ q_ as createCore,
31860
31863
  L0 as createCosmetics,
31861
31864
  B0 as createDates,
31862
31865
  R0 as createDemo,
@@ -31871,34 +31874,37 @@ export {
31871
31874
  Ow as createVuetify,
31872
31875
  zc as createWholeLastUpdateStoreDefinition,
31873
31876
  v0 as csvContains,
31874
- P_ as csvDefaults,
31877
+ B_ as csvDefaults,
31875
31878
  gv as deepSelect,
31876
- o_ as distinct,
31877
- u_ as extensionExists,
31879
+ MM as demoKey,
31880
+ f_ as distinct,
31881
+ v_ as extensionExists,
31878
31882
  y0 as extractErrorDescription,
31879
31883
  u0 as fromCamelCase,
31880
- c_ as getAreaAround,
31881
- d_ as getAreaToLeft,
31882
- f_ as getAreaToRight,
31883
- v_ as getGoogleMapsLocationLine,
31884
- m_ as getImageData,
31884
+ m_ as getAreaAround,
31885
+ h_ as getAreaToLeft,
31886
+ y_ as getAreaToRight,
31887
+ g_ as getGoogleMapsLocationLine,
31888
+ b_ as getImageData,
31885
31889
  yv as getLocationLine,
31886
- k_ as getMinDate,
31890
+ M_ as getMinDate,
31887
31891
  f0 as getMinDateString,
31888
31892
  g0 as getRandomColor,
31889
31893
  b0 as hasSearch,
31890
- S_ as isArrayOfLength,
31894
+ T_ as isArrayOfLength,
31891
31895
  Sn as isLengthyArray,
31892
31896
  d0 as isMinDate,
31897
+ xM as navigationKey,
31893
31898
  Aa as nestedValue,
31894
- p_ as removeWeekday,
31895
- C_ as roundTo,
31899
+ x_ as removeWeekday,
31900
+ __ as roundTo,
31896
31901
  p0 as singularize,
31897
- s_ as sum,
31898
- h_ as toCamelCase,
31899
- M_ as toCompareString,
31900
- x_ as toggleCSV,
31901
- __ as twiddleThumbs,
31902
+ d_ as sum,
31903
+ w_ as toCamelCase,
31904
+ I_ as toCompareString,
31905
+ A_ as toggleCSV,
31906
+ E_ as twiddleThumbs,
31907
+ TM as urlsKey,
31902
31908
  Sv as useActions,
31903
31909
  sg as useActionsTracker,
31904
31910
  go as useApi,
@@ -31910,33 +31916,33 @@ export {
31910
31916
  k0 as useDataUrl,
31911
31917
  N0 as useDates,
31912
31918
  pv as useDbName,
31913
- L_ as useDemo,
31914
- R_ as useDocumentMeta,
31919
+ R_ as useDemo,
31920
+ z_ as useDocumentMeta,
31915
31921
  I0 as useDraggable,
31916
31922
  ps as useFilters,
31917
- F_ as useIcons,
31923
+ Y_ as useIcons,
31918
31924
  lg as useId,
31919
- A_ as useImageUrl,
31925
+ V_ as useImageUrl,
31920
31926
  iy as useItem,
31921
31927
  Fu as useList,
31922
- I_ as useLocalCache,
31923
- V_ as useLocalCosmetics,
31928
+ L_ as useLocalCache,
31929
+ N_ as useLocalCosmetics,
31924
31930
  wn as useLocalDb,
31925
31931
  kM as useMenu,
31926
31932
  fs as useNavigation,
31927
- H_ as usePWA,
31933
+ W_ as usePWA,
31928
31934
  vs as usePresets,
31929
31935
  V0 as useResizable,
31930
- O_ as useRules,
31931
- N_ as useSelectDate,
31932
- $_ as useSelectItem,
31933
- B_ as useSelectNumber,
31934
- E_ as useStore,
31936
+ U_ as useRules,
31937
+ H_ as useSelectDate,
31938
+ F_ as useSelectItem,
31939
+ O_ as useSelectNumber,
31940
+ $_ as useStore,
31935
31941
  fr as useStoreDefinition,
31936
31942
  pM as useTracker,
31937
- D_ as useUrls,
31943
+ P_ as useUrls,
31938
31944
  w0 as validEmail,
31939
31945
  ql as weekdayPairs,
31940
- g_ as weekdayShortName,
31941
- y_ as weekdayValue
31946
+ S_ as weekdayShortName,
31947
+ p_ as weekdayValue
31942
31948
  };
package/dist/index.d.ts CHANGED
@@ -38,6 +38,8 @@ export declare interface AuthItem {
38
38
  subscriptions?: string[];
39
39
  }
40
40
 
41
+ export declare const authKey: unique symbol;
42
+
41
43
  export declare interface AuthSubscription {
42
44
  code: string;
43
45
  value: number;
@@ -435,6 +437,8 @@ declare interface DemoApiGroup {
435
437
  postAction?: (list: any[], item: any) => any;
436
438
  }
437
439
 
440
+ export declare const demoKey: unique symbol;
441
+
438
442
  export declare function distinct(list: any): any;
439
443
 
440
444
  declare interface DoActionOptions {
@@ -854,6 +858,8 @@ export declare interface NavigationItem extends AuthItem {
854
858
  subFilters?: string[];
855
859
  }
856
860
 
861
+ export declare const navigationKey: unique symbol;
862
+
857
863
  export declare function nestedValue(obj: any, path?: string): any;
858
864
 
859
865
  declare type OnCanDoAsync = (item: any) => Promise<string | undefined>;
@@ -1032,6 +1038,8 @@ declare interface UrlSet {
1032
1038
  images?: string;
1033
1039
  }
1034
1040
 
1041
+ export declare const urlsKey: unique symbol;
1042
+
1035
1043
  export declare function useActions(options?: UseActionsOptions): BTActions;
1036
1044
 
1037
1045
  export declare interface UseActionsOptions extends DoActionOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.153",
3
+ "version": "1.4.154",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {