bt-core-app 1.4.123 → 1.4.124

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.
Files changed (2) hide show
  1. package/dist/bt-core-app.js +690 -691
  2. package/package.json +1 -1
@@ -5287,7 +5287,7 @@ var yr = function() {
5287
5287
  }
5288
5288
  return a.firstBy = a, a;
5289
5289
  }();
5290
- function jT(e) {
5290
+ function KT(e) {
5291
5291
  return e.reduce((t, n) => t += n, 0);
5292
5292
  }
5293
5293
  function gr(e, t) {
@@ -5302,10 +5302,10 @@ function gr(e, t) {
5302
5302
  while (a.startsWith("/"));
5303
5303
  return `${n}/${a}`;
5304
5304
  }
5305
- function ZT(e) {
5305
+ function QT(e) {
5306
5306
  return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
5307
5307
  }
5308
- function KT(e = "blitzItExtensionExists") {
5308
+ function JT(e = "blitzItExtensionExists") {
5309
5309
  try {
5310
5310
  var t = document.getElementById(e);
5311
5311
  return t != null;
@@ -5313,7 +5313,7 @@ function KT(e = "blitzItExtensionExists") {
5313
5313
  return console.log(D0(n)), !1;
5314
5314
  }
5315
5315
  }
5316
- function QT(e, t) {
5316
+ function XT(e, t) {
5317
5317
  return [
5318
5318
  { lat: e.lat - t, lng: e.lng + t },
5319
5319
  { lat: e.lat - t, lng: e.lng - t },
@@ -5321,7 +5321,7 @@ function QT(e, t) {
5321
5321
  { lat: e.lat + t, lng: e.lng + t }
5322
5322
  ];
5323
5323
  }
5324
- function JT(e, t) {
5324
+ function e_(e, t) {
5325
5325
  return [
5326
5326
  { lat: e.lat - t * 2, lng: e.lng + t },
5327
5327
  { lat: e.lat - t * 2, lng: e.lng - t },
@@ -5329,7 +5329,7 @@ function JT(e, t) {
5329
5329
  { lat: e.lat, lng: e.lng + t }
5330
5330
  ];
5331
5331
  }
5332
- function XT(e, t) {
5332
+ function t_(e, t) {
5333
5333
  return [
5334
5334
  { lat: e.lat, lng: e.lng + t },
5335
5335
  { lat: e.lat, lng: e.lng - t },
@@ -5337,7 +5337,7 @@ function XT(e, t) {
5337
5337
  { lat: e.lat + t * 2, lng: e.lng + t }
5338
5338
  ];
5339
5339
  }
5340
- function e_(e) {
5340
+ function n_(e) {
5341
5341
  var t = Gf(e, !0);
5342
5342
  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(" ", "");
5343
5343
  }
@@ -5349,13 +5349,13 @@ function Gf(e, t = !1) {
5349
5349
  var n = "";
5350
5350
  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;
5351
5351
  }
5352
- function t_(e, t, n) {
5352
+ function a_(e, t, n) {
5353
5353
  if (e) {
5354
5354
  var a = new Image();
5355
5355
  a.onload = t, a.onerror = n, a.src = e;
5356
5356
  }
5357
5357
  }
5358
- async function n_(e, t = !0) {
5358
+ async function r_(e, t = !0) {
5359
5359
  return new Promise((n, a) => {
5360
5360
  e == null && a("no url given");
5361
5361
  var r = new Image();
@@ -5372,7 +5372,7 @@ async function n_(e, t = !0) {
5372
5372
  function C0(e) {
5373
5373
  return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
5374
5374
  }
5375
- function a_(e) {
5375
+ function l_(e) {
5376
5376
  if (e != null && typeof e == "object")
5377
5377
  for (var t in e)
5378
5378
  /^[A-Z]/.test(t) && Object.hasOwnProperty.call(e, t) && (e[t.charAt(0).toLowerCase() + t.substring(1)] = e[t], delete e[t]);
@@ -5391,25 +5391,25 @@ const Fl = [
5391
5391
  { value: 7, short: "sat", values: ["sat", "saturday"] },
5392
5392
  { value: 0, short: "always", values: ["always", null, void 0] }
5393
5393
  ];
5394
- function r_(e) {
5394
+ function i_(e) {
5395
5395
  if (e == null)
5396
5396
  return 0;
5397
5397
  const t = e.replaceAll(" ", "").split(",").map((a) => a.toLowerCase()), n = Fl.filter((a) => a.values.some((r) => t.some((l) => r == l))).map((a) => a.value);
5398
5398
  return n.length == 0 ? 8 : Math.min(...n);
5399
5399
  }
5400
- function l_(e) {
5400
+ function s_(e) {
5401
5401
  return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
5402
5402
  let n = Fl.find((a) => a.values.some((r) => r == t));
5403
5403
  return n != null ? n.short : "";
5404
5404
  }).filter((t) => t != null && t.length > 0).toString();
5405
5405
  }
5406
- function i_(e, t) {
5406
+ function u_(e, t) {
5407
5407
  if (e == null || t == null)
5408
5408
  return !0;
5409
5409
  const n = e.replaceAll(" ", "").split(",").map((l) => l.toLowerCase()), a = t.replaceAll(" ", "").toLowerCase(), r = Fl.find((l) => l.values.some((i) => i == a));
5410
5410
  return r != null && n.some((l) => l == r.short || r.values.some((i) => i == l));
5411
5411
  }
5412
- function s_(e, t) {
5412
+ function o_(e, t) {
5413
5413
  if (t == null)
5414
5414
  return e;
5415
5415
  let n = e ?? "";
@@ -5417,13 +5417,13 @@ function s_(e, t) {
5417
5417
  let a = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((r) => Fl.find((l) => l.values.some((i) => i == r))).filter((r) => r != null).sort(yr.firstBy((r) => (r == null ? void 0 : r.value) ?? 0)).map((r) => r == null ? void 0 : r.short))].toString();
5418
5418
  return a.length > 0 ? a : void 0;
5419
5419
  }
5420
- function u_(e, t) {
5420
+ function c_(e, t) {
5421
5421
  if (t == null || e == null)
5422
5422
  return e;
5423
5423
  let n = e ?? "", a = t.replaceAll(" ", "").toLowerCase(), r = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((l) => Fl.find((i) => i.values.some((s) => s == l && s != a))).filter((l) => l != null).sort(yr.firstBy((l) => (l == null ? void 0 : l.value) ?? 0)).map((l) => l == null ? void 0 : l.short))].toString();
5424
5424
  return r.length > 0 ? r : void 0;
5425
5425
  }
5426
- function o_(e, t) {
5426
+ function d_(e, t) {
5427
5427
  return e != null && Array.isArray(e) && e.length == t;
5428
5428
  }
5429
5429
  function wn(e, t = 0) {
@@ -5432,13 +5432,13 @@ function wn(e, t = 0) {
5432
5432
  function T0(e) {
5433
5433
  return e == "0001-01-01T00:00:00Z";
5434
5434
  }
5435
- function c_() {
5435
+ function f_() {
5436
5436
  return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
5437
5437
  }
5438
5438
  function _0() {
5439
5439
  return "0001-01-01T00:00:00Z";
5440
5440
  }
5441
- function d_(e, t) {
5441
+ function v_(e, t) {
5442
5442
  let n = "1", a = 0;
5443
5443
  if (a < t)
5444
5444
  do
@@ -5447,7 +5447,7 @@ function d_(e, t) {
5447
5447
  let r = Number.parseInt(n);
5448
5448
  return Math.round(e * r) / r;
5449
5449
  }
5450
- function f_(e, t) {
5450
+ function m_(e, t) {
5451
5451
  let n = e ?? "";
5452
5452
  return t != null && (A0(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
5453
5453
  }
@@ -5486,7 +5486,7 @@ function jf(e, t = (n) => n) {
5486
5486
  return wn(l) && a.push(...l), a;
5487
5487
  }, [])] : [];
5488
5488
  }
5489
- function v_(e) {
5489
+ function h_(e) {
5490
5490
  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);
5491
5491
  for (let l = 0; l < n.length; l++)
5492
5492
  r[l] = n.charCodeAt(l);
@@ -5522,10 +5522,10 @@ function P0(e, t, n) {
5522
5522
  }
5523
5523
  return !1;
5524
5524
  }
5525
- function m_(e) {
5525
+ function y_(e) {
5526
5526
  return e != null ? e.replaceAll(" ", "").toLowerCase() : null;
5527
5527
  }
5528
- function h_(e = 2e3) {
5528
+ function g_(e = 2e3) {
5529
5529
  return new Promise((t) => {
5530
5530
  setTimeout(() => t(), e);
5531
5531
  });
@@ -7014,7 +7014,7 @@ function $0(e) {
7014
7014
  const n = Yt[t] ?? Yt.development;
7015
7015
  return e == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
7016
7016
  }
7017
- function y_() {
7017
+ function b_() {
7018
7018
  return Yt;
7019
7019
  }
7020
7020
  function R0(e) {
@@ -7028,7 +7028,7 @@ function gn() {
7028
7028
  const e = Qf();
7029
7029
  return (ui == null || ui.config.name != e) && (ui = Kf.createInstance({ name: e })), ui;
7030
7030
  }
7031
- function g_() {
7031
+ function w_() {
7032
7032
  async function e(r) {
7033
7033
  const l = gn();
7034
7034
  (await l.keys()).filter((o) => o.startsWith(r)).forEach((o) => {
@@ -7052,7 +7052,7 @@ function g_() {
7052
7052
  };
7053
7053
  }
7054
7054
  let Ai;
7055
- function b_(e) {
7055
+ function p_(e) {
7056
7056
  return Ai(e)();
7057
7057
  }
7058
7058
  function ur(e) {
@@ -8261,7 +8261,7 @@ let fu;
8261
8261
  function G0() {
8262
8262
  return fu;
8263
8263
  }
8264
- function w_(e) {
8264
+ function S_(e) {
8265
8265
  const t = localStorage.getItem("cosmetics");
8266
8266
  let n;
8267
8267
  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), {
@@ -8342,7 +8342,7 @@ function j0(e) {
8342
8342
  undoTemporaryColor: m
8343
8343
  }, fu;
8344
8344
  }
8345
- const p_ = {
8345
+ const k_ = {
8346
8346
  canExportCSV: !1
8347
8347
  };
8348
8348
  function Z0() {
@@ -8444,7 +8444,7 @@ function Q0(e) {
8444
8444
  }, vu;
8445
8445
  }
8446
8446
  let mu;
8447
- function S_() {
8447
+ function C_() {
8448
8448
  return mu;
8449
8449
  }
8450
8450
  function J0(e) {
@@ -8556,7 +8556,7 @@ function J0(e) {
8556
8556
  }, mu;
8557
8557
  }
8558
8558
  var X0 = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
8559
- function k_(e) {
8559
+ function x_(e) {
8560
8560
  function t(n) {
8561
8561
  var r;
8562
8562
  const a = n.matched.slice().reverse().find((l) => l.meta && l.meta.title);
@@ -9289,7 +9289,7 @@ function lb(e) {
9289
9289
  let Dc, Ec, Pc, Vc = !1;
9290
9290
  const Ps = U(!1), Vs = U(!1), Bc = U(), oi = U();
9291
9291
  let bu;
9292
- function C_() {
9292
+ function T_() {
9293
9293
  return bu;
9294
9294
  }
9295
9295
  function ib() {
@@ -9322,7 +9322,7 @@ function ib() {
9322
9322
  updateApp: l
9323
9323
  }, bu;
9324
9324
  }
9325
- function x_(e) {
9325
+ function __(e) {
9326
9326
  const t = [];
9327
9327
  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) => V0(n) || "Email must be valid")), t;
9328
9328
  }
@@ -29081,559 +29081,77 @@ const fT = Se({
29081
29081
  });
29082
29082
  };
29083
29083
  }
29084
- }), AT = /* @__PURE__ */ tt({
29085
- inheritAttrs: !1,
29086
- __name: "BT-Number",
29087
- props: {
29088
- min: {},
29089
- max: {},
29090
- onSelect: { type: Function },
29091
- modelValue: {}
29092
- },
29093
- emits: ["update:modelValue"],
29094
- setup(e, { emit: t }) {
29095
- const n = qd(), a = e, r = t, l = C({
29096
- get() {
29097
- return a.modelValue;
29098
- },
29099
- set(i) {
29100
- r("update:modelValue", i), a.onSelect && a.onSelect(i);
29101
- }
29102
- });
29103
- return (i, s) => (L(), se(ma, ge({
29104
- dark: A(n).global.current.value.dark,
29105
- type: "number"
29106
- }, i.$attrs, {
29107
- modelValue: l.value,
29108
- "onUpdate:modelValue": s[0] || (s[0] = (o) => l.value = o),
29109
- modelModifiers: { number: !0 }
29110
- }), null, 16, ["dark", "modelValue"]));
29111
- }
29112
- }), IT = /* @__PURE__ */ tt({
29113
- inheritAttrs: !1,
29114
- __name: "BT-Select-List-Box",
29115
- props: {
29116
- alwaysOpen: { type: Boolean },
29117
- canRefresh: { type: Boolean, default: !0 },
29118
- canSearch: { type: Boolean },
29119
- canSelectNone: { type: Boolean },
29120
- colClass: {},
29121
- cols: { type: [String, Boolean], default: "12" },
29122
- height: { default: "400" },
29123
- isMobile: { type: Boolean },
29124
- isEditing: { type: Boolean, default: void 0 },
29125
- isSelecting: { type: Boolean },
29126
- items: {},
29127
- itemSubtext: {},
29128
- itemText: {},
29129
- itemValue: {},
29130
- label: {},
29131
- lg: { type: [String, Boolean], default: !1 },
29132
- modelValue: {},
29133
- md: { type: [String, Boolean], default: !1 },
29134
- nav: {},
29135
- placeholder: {},
29136
- showSettings: { type: Boolean },
29137
- sm: { type: [String, Boolean], default: "6" },
29138
- subtextFilter: {},
29139
- subtextFunction: {},
29140
- textFilter: {},
29141
- textFunction: {},
29142
- transparent: { type: Boolean },
29143
- useVirtualScroller: { type: Boolean },
29144
- additionalUrl: {},
29145
- bladeName: {},
29146
- canSelect: { type: Boolean },
29147
- canUnselect: { type: Boolean },
29148
- confirmOnDelete: { type: Boolean },
29149
- customFilters: {},
29150
- defaultFilters: {},
29151
- eager: { type: Boolean, default: !0 },
29152
- errorMsg: {},
29153
- headers: {},
29154
- hideActions: { type: Boolean },
29155
- isSingle: { type: Boolean },
29156
- itemBladeName: {},
29157
- itemID: {},
29158
- itemsPerPage: {},
29159
- loadingMsg: {},
29160
- localOnly: { type: Boolean },
29161
- onCanDelete: {},
29162
- onCanDeleteAsync: {},
29163
- onCanRestore: {},
29164
- onCanRestoreAsync: {},
29165
- onCanSelectItem: {},
29166
- onDeleteAsync: {},
29167
- onDeleteSuccessAsync: {},
29168
- onError: {},
29169
- onFilter: {},
29170
- onGetAsync: {},
29171
- onGetSuccessAsync: {},
29172
- onRestoreAsync: {},
29173
- onRestoreSuccessAsync: {},
29174
- onSelectItem: {},
29175
- params: {},
29176
- proxyID: {},
29177
- refreshToggle: { type: Boolean },
29178
- searchProps: {},
29179
- selectProps: {},
29180
- showSearch: { type: Boolean },
29181
- startShowingInactive: { type: Boolean },
29182
- storeMode: {},
29183
- storageMode: {},
29184
- useInterEvents: { type: Boolean },
29185
- useServerPagination: { type: Boolean },
29186
- useBladeSrc: { type: Boolean },
29187
- useRouteSrc: { type: Boolean }
29188
- },
29189
- emits: ["update:modelValue", "change"],
29190
- setup(e, { emit: t }) {
29191
- const n = t, a = e, r = U((a.alwaysOpen || a.isSelecting) ?? !1), l = Fe("size", () => U("small"), !0), i = Fe("isEditing", () => U(!1), !0), s = C(() => a.isEditing ?? i.value), o = ju(a, void 0, {
29192
- // useBladeSrc: false,
29193
- // useRouteSrc: false
29194
- }), d = Qi(), m = C(() => (_) => {
29195
- let I = a.subtextFunction != null ? a.subtextFunction(_) : _;
29196
- return I = a.itemSubtext != null ? Ta(I, a.itemSubtext) : I, a.subtextFilter != null ? d.findFilter(a.subtextFilter)(I) : I;
29197
- }), f = C(() => (_) => {
29198
- let I = a.textFunction != null ? a.textFunction(_) : _;
29199
- return I = a.itemText != null ? Ta(I, a.itemText) : I, a.textFilter != null ? d.findFilter(a.textFilter)(I) : I;
29200
- }), v = C(() => (_) => (a.itemValue ? _[a.itemValue] : _) == a.modelValue);
29201
- function c() {
29202
- s.value && (r.value = !0);
29203
- }
29204
- function u(_) {
29205
- if (r.value = !1, _ != null || a.canSelectNone) {
29206
- let I = _;
29207
- _ != null && a.itemValue != null && (I = _[a.itemValue]), n("update:modelValue", I), n("change", I);
29208
- }
29084
+ }), AT = ["innerHTML"], IT = /* @__PURE__ */ tt({
29085
+ __name: "BT-Json",
29086
+ props: ["value"],
29087
+ setup(e) {
29088
+ const t = e, n = C(() => t.value == null ? [] : Array.isArray(t.value) ? t.value : [t.value]);
29089
+ function a(r) {
29090
+ return typeof r != "string" && (r = JSON.stringify(r, void 0, 2)), r = r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), r.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function(i) {
29091
+ var s = "number";
29092
+ return /^"/.test(i) ? /:$/.test(i) ? s = "key" : s = "string" : /true|false/.test(i) ? s = "boolean" : /null/.test(i) && (s = "null"), '<span class="' + s + '">' + i + "</span>";
29093
+ });
29209
29094
  }
29210
- const h = C(() => a.modelValue != null ? o.asyncItems.value.find((_) => _.id == a.modelValue) : null), p = Fe("isMobile", () => U(!1), !0), w = C(() => a.isMobile ?? p.value ? !1 : a.lg), b = C(() => a.isMobile ?? p.value ? !1 : a.md), k = C(() => a.isMobile ?? p.value ? !1 : a.sm);
29211
- return (_, I) => (L(), se(nn, {
29212
- class: it(_.colClass),
29213
- lg: w.value,
29214
- md: b.value,
29215
- sm: k.value,
29216
- cols: _.cols
29095
+ return (r, l) => (L(), se($i, {
29096
+ "max-height": "350",
29097
+ class: "overflow-y-auto"
29217
29098
  }, {
29218
29099
  default: K(() => [
29219
- !_.alwaysOpen && r.value ? (L(), se(xt, {
29220
- key: 0,
29221
- onClick: I[0] || (I[0] = (g) => r.value = !1),
29222
- subtitle: _.label
29223
- }, {
29224
- append: K(() => [
29225
- S(ja, { class: "ma-0 pa-0" }, {
29226
- default: K(() => [
29227
- de(_.$slots, "actions"),
29228
- S(vt, null, {
29229
- default: K(() => [
29230
- Qe("mdi-chevron-up")
29231
- ]),
29232
- _: 1
29233
- }),
29234
- de(_.$slots, "actionsRight"),
29235
- _.showSettings ? (L(), se(xn, {
29236
- key: 0,
29237
- "offset-y": "",
29238
- "close-on-content-click": !1
29239
- }, {
29240
- activator: K(({ props: g }) => [
29241
- S(rt, ge({
29242
- icon: "mdi-cog",
29243
- size: A(l),
29244
- title: "Settings"
29245
- }, g), null, 16, ["size"])
29246
- ]),
29247
- default: K(() => [
29248
- S(sn, null, {
29249
- default: K(() => [
29250
- de(_.$slots, "settings")
29251
- ]),
29252
- _: 3
29253
- })
29254
- ]),
29255
- _: 3
29256
- })) : ae("", !0)
29257
- ]),
29258
- _: 3
29259
- })
29260
- ]),
29261
- _: 3
29262
- }, 8, ["subtitle"])) : ae("", !0),
29263
- S(ql, {
29264
- "hide-on-leave": "",
29265
- group: ""
29266
- }, {
29100
+ S(xl, null, {
29267
29101
  default: K(() => [
29268
- (_.alwaysOpen || r.value) && A(wn)(_.searchProps) ? (L(), se(ma, {
29269
- "onClick:prependInner": I[2] || (I[2] = (g) => A(o).searchString.value = void 0),
29270
- "hide-details": "",
29271
- key: "1",
29272
- placeholder: "Search",
29273
- "prepend-inner-icon": A(o).searchString.value != null ? "mdi-close" : void 0,
29274
- modelValue: A(o).searchString.value,
29275
- "onUpdate:modelValue": I[3] || (I[3] = (g) => A(o).searchString.value = g)
29276
- }, {
29277
- "append-inner": K(() => [
29278
- _.canRefresh ? (L(), se(rt, {
29279
- key: 0,
29280
- onClick: I[1] || (I[1] = (g) => A(o).refresh({ deepRefresh: !0 })),
29281
- icon: "mdi-refresh",
29282
- size: A(l),
29283
- variant: "text"
29284
- }, null, 8, ["size"])) : ae("", !0)
29285
- ]),
29286
- _: 1
29287
- }, 8, ["prepend-inner-icon", "modelValue"])) : ae("", !0),
29288
- (_.alwaysOpen || r.value) && _.useVirtualScroller ? (L(), se(zo, {
29289
- height: _.height,
29290
- "item-height": "50",
29291
- items: A(o).filteredItems.value,
29292
- key: "2"
29293
- }, {
29294
- default: K(({ item: g }) => [
29295
- de(_.$slots, "item", {
29296
- item: g,
29297
- selectItem: u(g),
29298
- active: v.value(g)
29299
- }, () => [
29300
- S(xt, {
29301
- onClick: (y) => u(g),
29302
- active: v.value(g),
29303
- color: "primary"
29304
- }, {
29305
- default: K(() => [
29306
- de(_.$slots, "default", { item: g }, () => [
29307
- _.itemText != null || _.textFilter != null || _.textFunction != null ? (L(), se(Ka, { key: 0 }, {
29308
- default: K(() => [
29309
- Qe(He(f.value(g)), 1)
29310
- ]),
29311
- _: 2
29312
- }, 1024)) : ae("", !0),
29313
- _.itemSubtext != null || _.subtextFilter != null || _.subtextFunction != null ? (L(), se(Za, { key: 1 }, {
29314
- default: K(() => [
29315
- Qe(He(m.value(g)), 1)
29316
- ]),
29317
- _: 2
29318
- }, 1024)) : ae("", !0)
29319
- ])
29320
- ]),
29321
- _: 2
29322
- }, 1032, ["onClick", "active"])
29323
- ])
29324
- ]),
29325
- _: 3
29326
- }, 8, ["height", "items"])) : _.alwaysOpen || r.value ? (L(), se(sn, {
29327
- "bg-color": _.transparent ? "transparent" : void 0,
29328
- height: _.height,
29329
- key: "3"
29330
- }, {
29331
- default: K(() => [
29332
- _.canSelectNone ? (L(), se(xt, {
29333
- key: "-1",
29334
- density: "compact",
29335
- onClick: I[4] || (I[4] = (g) => u(null)),
29336
- subtitle: "(Select None)"
29337
- })) : ae("", !0),
29338
- S(ka, {
29339
- group: "",
29340
- "hide-on-leave": ""
29341
- }, {
29342
- default: K(() => [
29343
- (L(!0), ie(Ce, null, et(A(o).filteredItems.value, (g, y) => de(_.$slots, "item", {
29344
- items: g,
29345
- index: y,
29346
- size: A(l)
29347
- }, () => [
29348
- (L(), se(xt, {
29349
- active: v.value(g),
29350
- key: `${g.id ?? y}-list-item`,
29351
- value: g,
29352
- onClick: (T) => u(g)
29353
- }, {
29354
- default: K(() => [
29355
- de(_.$slots, "default", {
29356
- item: g,
29357
- index: y,
29358
- size: A(l)
29359
- }, () => [
29360
- _.itemText != null || _.textFilter != null || _.textFunction != null ? (L(), se(Ka, { key: 0 }, {
29361
- default: K(() => [
29362
- Qe(He(f.value(g)), 1)
29363
- ]),
29364
- _: 2
29365
- }, 1024)) : ae("", !0),
29366
- _.itemSubtext != null || _.subtextFilter != null || _.subtextFunction != null ? (L(), se(Za, { key: 1 }, {
29367
- default: K(() => [
29368
- Qe(He(m.value(g)), 1)
29369
- ]),
29370
- _: 2
29371
- }, 1024)) : ae("", !0)
29372
- ])
29373
- ]),
29374
- _: 2
29375
- }, 1032, ["active", "value", "onClick"]))
29376
- ])), 256))
29377
- ]),
29378
- _: 3
29379
- })
29380
- ]),
29381
- _: 3
29382
- }, 8, ["bg-color", "height"])) : de(_.$slots, "selected", {
29383
- key: 3,
29384
- item: h.value,
29385
- open: c
29386
- }, () => [
29387
- S(xt, {
29388
- onClick: c,
29389
- key: "4",
29390
- title: _.label,
29391
- subtitle: f.value(h.value) ?? _.placeholder
29392
- }, {
29393
- append: K(() => [
29394
- S(ja, { "no-gutters": "" }, {
29395
- default: K(() => [
29396
- de(_.$slots, "actions"),
29397
- S(vt, null, {
29398
- default: K(() => [
29399
- Qe("mdi-chevron-down")
29400
- ]),
29401
- _: 1
29402
- }),
29403
- de(_.$slots, "actionsRight"),
29404
- _.showSettings ? (L(), se(xn, {
29405
- key: 0,
29406
- "offset-y": "",
29407
- "close-on-content-click": !1
29408
- }, {
29409
- activator: K(({ props: g }) => [
29410
- S(rt, ge({ icon: "" }, g, {
29411
- size: A(l),
29412
- title: "Settings"
29413
- }), null, 16, ["size"])
29414
- ]),
29415
- default: K(() => [
29416
- S(sn, null, {
29417
- default: K(() => [
29418
- de(_.$slots, "settings")
29419
- ]),
29420
- _: 3
29421
- })
29422
- ]),
29423
- _: 3
29424
- })) : ae("", !0)
29425
- ]),
29426
- _: 3
29427
- })
29428
- ]),
29429
- _: 3
29430
- }, 8, ["title", "subtitle"])
29431
- ])
29432
- ]),
29433
- _: 3
29434
- }),
29435
- S(Al, {
29436
- modelValue: A(o).isLoading.value,
29437
- "onUpdate:modelValue": I[5] || (I[5] = (g) => A(o).isLoading.value = g),
29438
- class: "align-center justify-center text-center",
29439
- contained: "",
29440
- persistent: ""
29441
- }, {
29442
- default: K(() => [
29443
- S(zr, { indeterminate: "" }),
29444
- Ye("p", null, He(A(o).loadingMsg.value), 1)
29102
+ (L(!0), ie(Ce, null, et(n.value, (i, s) => (L(), ie("div", { key: s }, [
29103
+ Ye("pre", {
29104
+ innerHTML: a(i)
29105
+ }, null, 8, AT)
29106
+ ]))), 128))
29445
29107
  ]),
29446
29108
  _: 1
29447
- }, 8, ["modelValue"])
29109
+ })
29448
29110
  ]),
29449
- _: 3
29450
- }, 8, ["class", "lg", "md", "sm", "cols"]));
29111
+ _: 1
29112
+ }));
29451
29113
  }
29452
- }), MT = /* @__PURE__ */ tt({
29453
- __name: "BT-Select",
29454
- props: {
29455
- additionalUrl: {},
29456
- canRefresh: { type: Boolean },
29457
- canSelectNone: { type: Boolean },
29458
- fieldVariant: {},
29459
- items: {},
29460
- itemText: {},
29461
- itemValue: {},
29462
- multiple: { type: Boolean },
29463
- nav: {},
29464
- onFilter: {},
29465
- textFilter: {},
29466
- bladeName: {},
29467
- canSelect: { type: Boolean },
29468
- canUnselect: { type: Boolean },
29469
- confirmOnDelete: { type: Boolean },
29470
- customFilters: {},
29471
- defaultFilters: {},
29472
- eager: { type: Boolean, default: !0 },
29473
- errorMsg: {},
29474
- headers: {},
29475
- hideActions: { type: Boolean },
29476
- isSingle: { type: Boolean },
29477
- itemBladeName: {},
29478
- itemID: {},
29479
- itemsPerPage: {},
29480
- loadingMsg: {},
29481
- localOnly: { type: Boolean },
29482
- onCanDelete: {},
29483
- onCanDeleteAsync: {},
29484
- onCanRestore: {},
29485
- onCanRestoreAsync: {},
29486
- onCanSelectItem: {},
29487
- onDeleteAsync: {},
29488
- onDeleteSuccessAsync: {},
29489
- onError: {},
29490
- onGetAsync: {},
29491
- onGetSuccessAsync: {},
29492
- onRestoreAsync: {},
29493
- onRestoreSuccessAsync: {},
29494
- onSelectItem: {},
29495
- params: {},
29496
- proxyID: {},
29497
- refreshToggle: { type: Boolean },
29498
- searchProps: {},
29499
- selectProps: {},
29500
- showSearch: { type: Boolean },
29501
- startShowingInactive: { type: Boolean },
29502
- storeMode: {},
29503
- storageMode: {},
29504
- useInterEvents: { type: Boolean },
29505
- useServerPagination: { type: Boolean },
29506
- useBladeSrc: { type: Boolean },
29507
- useRouteSrc: { type: Boolean }
29508
- },
29509
- emits: ["change", "deleted", "input", "select", "confirm", "mouse-over-item"],
29510
- setup(e, { emit: t }) {
29511
- const r = ju(e, t, {
29512
- //useBladeSrc: false,
29513
- //useRouteSrc: false
29114
+ });
29115
+ function MT(e) {
29116
+ let {
29117
+ rootEl: t,
29118
+ isSticky: n,
29119
+ layoutItemStyles: a
29120
+ } = e;
29121
+ const r = Ne(!1), l = Ne(0), i = C(() => {
29122
+ const d = typeof r.value == "boolean" ? "top" : r.value;
29123
+ return [n.value ? {
29124
+ top: "auto",
29125
+ bottom: "auto",
29126
+ height: void 0
29127
+ } : void 0, r.value ? {
29128
+ [d]: Ge(l.value)
29129
+ } : {
29130
+ top: a.value.top
29131
+ }];
29132
+ });
29133
+ At(() => {
29134
+ Me(n, (d) => {
29135
+ d ? window.addEventListener("scroll", o, {
29136
+ passive: !0
29137
+ }) : window.removeEventListener("scroll", o);
29138
+ }, {
29139
+ immediate: !0
29514
29140
  });
29515
- return (l, i) => (L(), se(iT, {
29516
- "append-icon": l.canRefresh ? "mdi-refresh" : void 0,
29517
- clearable: l.canSelectNone,
29518
- "onClick:appendIcon": i[0] || (i[0] = (s) => A(r).refresh({ deepRefresh: !0 })),
29519
- "hide-details": "",
29520
- items: A(r).filteredItems.value,
29521
- "item-title": l.itemText,
29522
- "item-value": l.itemValue,
29523
- variant: l.fieldVariant
29524
- }, null, 8, ["append-icon", "clearable", "items", "item-title", "item-value", "variant"]));
29525
- }
29526
- }), DT = /* @__PURE__ */ tt({
29527
- __name: "BT-Span",
29528
- props: {
29529
- customFilter: {},
29530
- filter: {},
29531
- prefix: {},
29532
- suffix: {},
29533
- value: {}
29534
- },
29535
- setup(e) {
29536
- const t = e, { findFilter: n } = Qi(), a = C(() => (t.filter != null ? n(t.filter) : t.customFilter)(t.value));
29537
- return (r, l) => (L(), ie("span", null, He(r.prefix) + He(a.value) + He(r.suffix), 1));
29538
- }
29539
- });
29540
- function T_(e) {
29541
- return {
29542
- install(t, n) {
29543
- var o;
29544
- e.includeComponents == !0 && (t.component("bt-blade-item", Uw), t.component("bt-blade-items", m1), t.component("bt-blade", k1), t.component("bt-btn", C1), t.component("bt-col", x1), t.component("bt-date", Mx), t.component("bt-entity", Px), t.component("bt-field-checkbox", Rx), t.component("bt-field-date", Lx), t.component("bt-field-entity", Fx), t.component("bt-field-select", Ox), t.component("bt-field-string", zx), t.component("bt-field-switch", Hx), t.component("bt-field-tags", mT), t.component("bt-field-text-area", gT), t.component("bt-field-trigger", kT), t.component("bt-header-option", _T), t.component("bt-number", AT), t.component("bt-select-list-box", IT), t.component("bt-select", MT), t.component("bt-span", DT)), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance), R0(e.urls), j0(e);
29545
- const a = J0(), r = nb(e);
29546
- lb(e), (o = e.auth).demo ?? (o.demo = a), e.auth.getAuthItem = r.findItem;
29547
- const l = Y0(e.auth);
29548
- ab(e.menu);
29549
- const i = W0({
29550
- auth: l,
29551
- findPath: r.findPath,
29552
- useBearerToken: !0
29553
- }), s = Q0({
29554
- getTimeZone: () => l.timeZone.value
29555
- });
29556
- eb({
29557
- dates: s
29558
- }), ib(), L0({
29559
- api: i,
29560
- auth: l,
29561
- navigation: r
29562
- });
29563
- }
29564
- };
29565
- }
29566
- const ET = ["innerHTML"], __ = /* @__PURE__ */ tt({
29567
- __name: "BT-Json",
29568
- props: ["value"],
29569
- setup(e) {
29570
- const t = e, n = C(() => t.value == null ? [] : Array.isArray(t.value) ? t.value : [t.value]);
29571
- function a(r) {
29572
- return typeof r != "string" && (r = JSON.stringify(r, void 0, 2)), r = r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), r.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function(i) {
29573
- var s = "number";
29574
- return /^"/.test(i) ? /:$/.test(i) ? s = "key" : s = "string" : /true|false/.test(i) ? s = "boolean" : /null/.test(i) && (s = "null"), '<span class="' + s + '">' + i + "</span>";
29575
- });
29576
- }
29577
- return (r, l) => (L(), se($i, {
29578
- "max-height": "350",
29579
- class: "overflow-y-auto"
29580
- }, {
29581
- default: K(() => [
29582
- S(xl, null, {
29583
- default: K(() => [
29584
- (L(!0), ie(Ce, null, et(n.value, (i, s) => (L(), ie("div", { key: s }, [
29585
- Ye("pre", {
29586
- innerHTML: a(i)
29587
- }, null, 8, ET)
29588
- ]))), 128))
29589
- ]),
29590
- _: 1
29591
- })
29592
- ]),
29593
- _: 1
29594
- }));
29595
- }
29596
- });
29597
- function PT(e) {
29598
- let {
29599
- rootEl: t,
29600
- isSticky: n,
29601
- layoutItemStyles: a
29602
- } = e;
29603
- const r = Ne(!1), l = Ne(0), i = C(() => {
29604
- const d = typeof r.value == "boolean" ? "top" : r.value;
29605
- return [n.value ? {
29606
- top: "auto",
29607
- bottom: "auto",
29608
- height: void 0
29609
- } : void 0, r.value ? {
29610
- [d]: Ge(l.value)
29611
- } : {
29612
- top: a.value.top
29613
- }];
29614
- });
29615
- At(() => {
29616
- Me(n, (d) => {
29617
- d ? window.addEventListener("scroll", o, {
29618
- passive: !0
29619
- }) : window.removeEventListener("scroll", o);
29620
- }, {
29621
- immediate: !0
29622
- });
29623
- }), Mn(() => {
29624
- window.removeEventListener("scroll", o);
29625
- });
29626
- let s = 0;
29627
- function o() {
29628
- const d = s > window.scrollY ? "up" : "down", m = t.value.getBoundingClientRect(), f = parseFloat(a.value.top ?? 0), v = window.scrollY - Math.max(0, l.value - f), c = m.height + Math.max(l.value, f) - window.scrollY - window.innerHeight, u = parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y")) || 0;
29629
- m.height < window.innerHeight - f ? (r.value = "top", l.value = f) : d === "up" && r.value === "bottom" || d === "down" && r.value === "top" ? (l.value = window.scrollY + m.top - u, r.value = !0) : d === "down" && c <= 0 ? (l.value = 0, r.value = "bottom") : d === "up" && v <= 0 && (u ? r.value !== "top" && (l.value = -v + u + f, r.value = "top") : (l.value = m.top + v, r.value = "top")), s = window.scrollY;
29141
+ }), Mn(() => {
29142
+ window.removeEventListener("scroll", o);
29143
+ });
29144
+ let s = 0;
29145
+ function o() {
29146
+ const d = s > window.scrollY ? "up" : "down", m = t.value.getBoundingClientRect(), f = parseFloat(a.value.top ?? 0), v = window.scrollY - Math.max(0, l.value - f), c = m.height + Math.max(l.value, f) - window.scrollY - window.innerHeight, u = parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y")) || 0;
29147
+ m.height < window.innerHeight - f ? (r.value = "top", l.value = f) : d === "up" && r.value === "bottom" || d === "down" && r.value === "top" ? (l.value = window.scrollY + m.top - u, r.value = !0) : d === "down" && c <= 0 ? (l.value = 0, r.value = "bottom") : d === "up" && v <= 0 && (u ? r.value !== "top" && (l.value = -v + u + f, r.value = "top") : (l.value = m.top + v, r.value = "top")), s = window.scrollY;
29630
29148
  }
29631
29149
  return {
29632
29150
  isStuck: r,
29633
29151
  stickyStyles: i
29634
29152
  };
29635
29153
  }
29636
- const VT = 100, BT = 20;
29154
+ const DT = 100, ET = 20;
29637
29155
  function Rd(e) {
29638
29156
  return (e < 0 ? -1 : 1) * Math.sqrt(Math.abs(e)) * 1.41421356237;
29639
29157
  }
@@ -29651,11 +29169,11 @@ function Ld(e) {
29651
29169
  }
29652
29170
  return Rd(t) * 1e3;
29653
29171
  }
29654
- function NT() {
29172
+ function PT() {
29655
29173
  const e = {};
29656
29174
  function t(r) {
29657
29175
  Array.from(r.changedTouches).forEach((l) => {
29658
- (e[l.identifier] ?? (e[l.identifier] = new yb(BT))).push([r.timeStamp, l]);
29176
+ (e[l.identifier] ?? (e[l.identifier] = new yb(ET))).push([r.timeStamp, l]);
29659
29177
  });
29660
29178
  }
29661
29179
  function n(r) {
@@ -29670,7 +29188,7 @@ function NT() {
29670
29188
  throw new Error(`No samples for touch id ${r}`);
29671
29189
  const i = l[0], s = [], o = [];
29672
29190
  for (const m of l) {
29673
- if (i[0] - m[0] > VT)
29191
+ if (i[0] - m[0] > DT)
29674
29192
  break;
29675
29193
  s.push({
29676
29194
  t: m[0],
@@ -29688,7 +29206,7 @@ function NT() {
29688
29206
  x: m,
29689
29207
  y: f
29690
29208
  } = this, [v, c] = [Math.abs(m), Math.abs(f)];
29691
- return v > c && m >= 0 ? "right" : v > c && m <= 0 ? "left" : c > v && f >= 0 ? "down" : c > v && f <= 0 ? "up" : $T();
29209
+ return v > c && m >= 0 ? "right" : v > c && m <= 0 ? "left" : c > v && f >= 0 ? "down" : c > v && f <= 0 ? "up" : VT();
29692
29210
  }
29693
29211
  };
29694
29212
  }
@@ -29698,10 +29216,10 @@ function NT() {
29698
29216
  getVelocity: a
29699
29217
  };
29700
29218
  }
29701
- function $T() {
29219
+ function VT() {
29702
29220
  throw new Error();
29703
29221
  }
29704
- function RT(e) {
29222
+ function BT(e) {
29705
29223
  let {
29706
29224
  el: t,
29707
29225
  isActive: n,
@@ -29725,7 +29243,7 @@ function RT(e) {
29725
29243
  addMovement: o,
29726
29244
  endTouch: d,
29727
29245
  getVelocity: m
29728
- } = NT();
29246
+ } = PT();
29729
29247
  let f = !1;
29730
29248
  const v = Ne(!1), c = Ne(0), u = Ne(0);
29731
29249
  let h;
@@ -29794,7 +29312,7 @@ function RT(e) {
29794
29312
  function Dr() {
29795
29313
  throw new Error();
29796
29314
  }
29797
- const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
29315
+ const NT = ["start", "end", "left", "right", "top", "bottom"], $T = Se({
29798
29316
  color: String,
29799
29317
  disableResizeWatcher: Boolean,
29800
29318
  disableRouteWatcher: Boolean,
@@ -29828,7 +29346,7 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
29828
29346
  location: {
29829
29347
  type: String,
29830
29348
  default: "start",
29831
- validator: (e) => LT.includes(e)
29349
+ validator: (e) => NT.includes(e)
29832
29350
  },
29833
29351
  sticky: Boolean,
29834
29352
  ...Ea(),
@@ -29842,9 +29360,9 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
29842
29360
  tag: "nav"
29843
29361
  }),
29844
29362
  ...Lt()
29845
- }, "VNavigationDrawer"), OT = $e()({
29363
+ }, "VNavigationDrawer"), RT = $e()({
29846
29364
  name: "VNavigationDrawer",
29847
- props: FT(),
29365
+ props: $T(),
29848
29366
  emits: {
29849
29367
  "update:modelValue": (e) => !0,
29850
29368
  "update:rail": (e) => !0
@@ -29893,7 +29411,7 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
29893
29411
  const {
29894
29412
  isDragging: z,
29895
29413
  dragProgress: N
29896
- } = RT({
29414
+ } = BT({
29897
29415
  el: b,
29898
29416
  isActive: h,
29899
29417
  isTemporary: x,
@@ -29922,7 +29440,7 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
29922
29440
  }), {
29923
29441
  isStuck: W,
29924
29442
  stickyStyles: J
29925
- } = PT({
29443
+ } = MT({
29926
29444
  rootEl: b,
29927
29445
  isSticky: D,
29928
29446
  layoutItemStyles: R
@@ -30002,7 +29520,7 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
30002
29520
  isStuck: W
30003
29521
  }));
30004
29522
  }
30005
- }), A_ = /* @__PURE__ */ tt({
29523
+ }), LT = /* @__PURE__ */ tt({
30006
29524
  __name: "BT-Nav-Sidebar",
30007
29525
  props: {
30008
29526
  iconSrc: {},
@@ -30010,7 +29528,7 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
30010
29528
  },
30011
29529
  setup(e) {
30012
29530
  const { state: t, toggleDrawerStick: n } = G0(), { isLoggedIn: a, logout: r } = Qr(), l = Bl(), i = rb();
30013
- return (s, o) => A(a) ? (L(), se(OT, {
29531
+ return (s, o) => A(a) ? (L(), se(RT, {
30014
29532
  key: 0,
30015
29533
  "disabled-resize-watcher": "",
30016
29534
  "expand-on-hover": "",
@@ -30043,91 +29561,572 @@ const LT = ["start", "end", "left", "right", "top", "bottom"], FT = Se({
30043
29561
  S(sn, { class: "pt-1" }, {
30044
29562
  default: K(() => [
30045
29563
  S(xt, {
30046
- nav: "",
30047
- title: s.title
29564
+ nav: "",
29565
+ title: s.title
29566
+ }, {
29567
+ prepend: K(() => [
29568
+ S(Ma, { size: "36" }, {
29569
+ default: K(() => [
29570
+ S(Hl, { src: s.iconSrc }, null, 8, ["src"])
29571
+ ]),
29572
+ _: 1
29573
+ })
29574
+ ]),
29575
+ append: K(() => [
29576
+ S(ja, { class: "mr-1" }, {
29577
+ default: K(() => [
29578
+ S(rt, {
29579
+ onClick: A(n),
29580
+ flat: "",
29581
+ icon: "",
29582
+ size: "small",
29583
+ title: "Pin/Unpin Menu"
29584
+ }, {
29585
+ default: K(() => [
29586
+ S(vt, null, {
29587
+ default: K(() => [
29588
+ Qe(He(A(t).drawerStick ? "mdi-pin-off" : "mdi-pin"), 1)
29589
+ ]),
29590
+ _: 1
29591
+ })
29592
+ ]),
29593
+ _: 1
29594
+ }, 8, ["onClick"])
29595
+ ]),
29596
+ _: 1
29597
+ })
29598
+ ]),
29599
+ _: 1
29600
+ }, 8, ["title"]),
29601
+ de(s.$slots, "top-list")
29602
+ ]),
29603
+ _: 3
29604
+ }),
29605
+ de(s.$slots, "middle-list", {}, () => [
29606
+ S(sn, { nav: "" }, {
29607
+ default: K(() => [
29608
+ (L(!0), ie(Ce, null, et(A(i).sidebarNavItems.value, (d) => (L(), ie(Ce, null, [
29609
+ d.isGroup ? (L(), se(_u, {
29610
+ key: `${d.displayName}a`
29611
+ }, {
29612
+ activator: K(({ props: m }) => [
29613
+ S(xt, ge(m, {
29614
+ color: "primary",
29615
+ "prepend-icon": d.icon,
29616
+ title: d.displayName
29617
+ }), null, 16, ["prepend-icon", "title"])
29618
+ ]),
29619
+ default: K(() => [
29620
+ (L(!0), ie(Ce, null, et(d.items, (m) => (L(), se(xt, {
29621
+ key: m.displayName,
29622
+ color: "primary",
29623
+ "prepend-icon": m.icon,
29624
+ title: m.displayName,
29625
+ value: m.displayName,
29626
+ to: { name: m.routeName }
29627
+ }, null, 8, ["prepend-icon", "title", "value", "to"]))), 128))
29628
+ ]),
29629
+ _: 2
29630
+ }, 1024)) : (L(), se(xt, {
29631
+ key: `${d.displayName}b`,
29632
+ color: "primary",
29633
+ "prepend-icon": d.icon,
29634
+ title: d.displayName,
29635
+ value: d.displayName,
29636
+ to: { name: d.routeName }
29637
+ }, null, 8, ["prepend-icon", "title", "value", "to"]))
29638
+ ], 64))), 256))
29639
+ ]),
29640
+ _: 1
29641
+ })
29642
+ ])
29643
+ ])
29644
+ ]),
29645
+ _: 3
29646
+ }, 8, ["rail", "modelValue"])) : ae("", !0);
29647
+ }
29648
+ }), FT = /* @__PURE__ */ tt({
29649
+ inheritAttrs: !1,
29650
+ __name: "BT-Number",
29651
+ props: {
29652
+ min: {},
29653
+ max: {},
29654
+ onSelect: { type: Function },
29655
+ modelValue: {}
29656
+ },
29657
+ emits: ["update:modelValue"],
29658
+ setup(e, { emit: t }) {
29659
+ const n = qd(), a = e, r = t, l = C({
29660
+ get() {
29661
+ return a.modelValue;
29662
+ },
29663
+ set(i) {
29664
+ r("update:modelValue", i), a.onSelect && a.onSelect(i);
29665
+ }
29666
+ });
29667
+ return (i, s) => (L(), se(ma, ge({
29668
+ dark: A(n).global.current.value.dark,
29669
+ type: "number"
29670
+ }, i.$attrs, {
29671
+ modelValue: l.value,
29672
+ "onUpdate:modelValue": s[0] || (s[0] = (o) => l.value = o),
29673
+ modelModifiers: { number: !0 }
29674
+ }), null, 16, ["dark", "modelValue"]));
29675
+ }
29676
+ }), OT = /* @__PURE__ */ tt({
29677
+ inheritAttrs: !1,
29678
+ __name: "BT-Select-List-Box",
29679
+ props: {
29680
+ alwaysOpen: { type: Boolean },
29681
+ canRefresh: { type: Boolean, default: !0 },
29682
+ canSearch: { type: Boolean },
29683
+ canSelectNone: { type: Boolean },
29684
+ colClass: {},
29685
+ cols: { type: [String, Boolean], default: "12" },
29686
+ height: { default: "400" },
29687
+ isMobile: { type: Boolean },
29688
+ isEditing: { type: Boolean, default: void 0 },
29689
+ isSelecting: { type: Boolean },
29690
+ items: {},
29691
+ itemSubtext: {},
29692
+ itemText: {},
29693
+ itemValue: {},
29694
+ label: {},
29695
+ lg: { type: [String, Boolean], default: !1 },
29696
+ modelValue: {},
29697
+ md: { type: [String, Boolean], default: !1 },
29698
+ nav: {},
29699
+ placeholder: {},
29700
+ showSettings: { type: Boolean },
29701
+ sm: { type: [String, Boolean], default: "6" },
29702
+ subtextFilter: {},
29703
+ subtextFunction: {},
29704
+ textFilter: {},
29705
+ textFunction: {},
29706
+ transparent: { type: Boolean },
29707
+ useVirtualScroller: { type: Boolean },
29708
+ additionalUrl: {},
29709
+ bladeName: {},
29710
+ canSelect: { type: Boolean },
29711
+ canUnselect: { type: Boolean },
29712
+ confirmOnDelete: { type: Boolean },
29713
+ customFilters: {},
29714
+ defaultFilters: {},
29715
+ eager: { type: Boolean, default: !0 },
29716
+ errorMsg: {},
29717
+ headers: {},
29718
+ hideActions: { type: Boolean },
29719
+ isSingle: { type: Boolean },
29720
+ itemBladeName: {},
29721
+ itemID: {},
29722
+ itemsPerPage: {},
29723
+ loadingMsg: {},
29724
+ localOnly: { type: Boolean },
29725
+ onCanDelete: {},
29726
+ onCanDeleteAsync: {},
29727
+ onCanRestore: {},
29728
+ onCanRestoreAsync: {},
29729
+ onCanSelectItem: {},
29730
+ onDeleteAsync: {},
29731
+ onDeleteSuccessAsync: {},
29732
+ onError: {},
29733
+ onFilter: {},
29734
+ onGetAsync: {},
29735
+ onGetSuccessAsync: {},
29736
+ onRestoreAsync: {},
29737
+ onRestoreSuccessAsync: {},
29738
+ onSelectItem: {},
29739
+ params: {},
29740
+ proxyID: {},
29741
+ refreshToggle: { type: Boolean },
29742
+ searchProps: {},
29743
+ selectProps: {},
29744
+ showSearch: { type: Boolean },
29745
+ startShowingInactive: { type: Boolean },
29746
+ storeMode: {},
29747
+ storageMode: {},
29748
+ useInterEvents: { type: Boolean },
29749
+ useServerPagination: { type: Boolean },
29750
+ useBladeSrc: { type: Boolean },
29751
+ useRouteSrc: { type: Boolean }
29752
+ },
29753
+ emits: ["update:modelValue", "change"],
29754
+ setup(e, { emit: t }) {
29755
+ const n = t, a = e, r = U((a.alwaysOpen || a.isSelecting) ?? !1), l = Fe("size", () => U("small"), !0), i = Fe("isEditing", () => U(!1), !0), s = C(() => a.isEditing ?? i.value), o = ju(a, void 0, {
29756
+ // useBladeSrc: false,
29757
+ // useRouteSrc: false
29758
+ }), d = Qi(), m = C(() => (_) => {
29759
+ let I = a.subtextFunction != null ? a.subtextFunction(_) : _;
29760
+ return I = a.itemSubtext != null ? Ta(I, a.itemSubtext) : I, a.subtextFilter != null ? d.findFilter(a.subtextFilter)(I) : I;
29761
+ }), f = C(() => (_) => {
29762
+ let I = a.textFunction != null ? a.textFunction(_) : _;
29763
+ return I = a.itemText != null ? Ta(I, a.itemText) : I, a.textFilter != null ? d.findFilter(a.textFilter)(I) : I;
29764
+ }), v = C(() => (_) => (a.itemValue ? _[a.itemValue] : _) == a.modelValue);
29765
+ function c() {
29766
+ s.value && (r.value = !0);
29767
+ }
29768
+ function u(_) {
29769
+ if (r.value = !1, _ != null || a.canSelectNone) {
29770
+ let I = _;
29771
+ _ != null && a.itemValue != null && (I = _[a.itemValue]), n("update:modelValue", I), n("change", I);
29772
+ }
29773
+ }
29774
+ const h = C(() => a.modelValue != null ? o.asyncItems.value.find((_) => _.id == a.modelValue) : null), p = Fe("isMobile", () => U(!1), !0), w = C(() => a.isMobile ?? p.value ? !1 : a.lg), b = C(() => a.isMobile ?? p.value ? !1 : a.md), k = C(() => a.isMobile ?? p.value ? !1 : a.sm);
29775
+ return (_, I) => (L(), se(nn, {
29776
+ class: it(_.colClass),
29777
+ lg: w.value,
29778
+ md: b.value,
29779
+ sm: k.value,
29780
+ cols: _.cols
29781
+ }, {
29782
+ default: K(() => [
29783
+ !_.alwaysOpen && r.value ? (L(), se(xt, {
29784
+ key: 0,
29785
+ onClick: I[0] || (I[0] = (g) => r.value = !1),
29786
+ subtitle: _.label
29787
+ }, {
29788
+ append: K(() => [
29789
+ S(ja, { class: "ma-0 pa-0" }, {
29790
+ default: K(() => [
29791
+ de(_.$slots, "actions"),
29792
+ S(vt, null, {
29793
+ default: K(() => [
29794
+ Qe("mdi-chevron-up")
29795
+ ]),
29796
+ _: 1
29797
+ }),
29798
+ de(_.$slots, "actionsRight"),
29799
+ _.showSettings ? (L(), se(xn, {
29800
+ key: 0,
29801
+ "offset-y": "",
29802
+ "close-on-content-click": !1
29803
+ }, {
29804
+ activator: K(({ props: g }) => [
29805
+ S(rt, ge({
29806
+ icon: "mdi-cog",
29807
+ size: A(l),
29808
+ title: "Settings"
29809
+ }, g), null, 16, ["size"])
29810
+ ]),
29811
+ default: K(() => [
29812
+ S(sn, null, {
29813
+ default: K(() => [
29814
+ de(_.$slots, "settings")
29815
+ ]),
29816
+ _: 3
29817
+ })
29818
+ ]),
29819
+ _: 3
29820
+ })) : ae("", !0)
29821
+ ]),
29822
+ _: 3
29823
+ })
29824
+ ]),
29825
+ _: 3
29826
+ }, 8, ["subtitle"])) : ae("", !0),
29827
+ S(ql, {
29828
+ "hide-on-leave": "",
29829
+ group: ""
29830
+ }, {
29831
+ default: K(() => [
29832
+ (_.alwaysOpen || r.value) && A(wn)(_.searchProps) ? (L(), se(ma, {
29833
+ "onClick:prependInner": I[2] || (I[2] = (g) => A(o).searchString.value = void 0),
29834
+ "hide-details": "",
29835
+ key: "1",
29836
+ placeholder: "Search",
29837
+ "prepend-inner-icon": A(o).searchString.value != null ? "mdi-close" : void 0,
29838
+ modelValue: A(o).searchString.value,
29839
+ "onUpdate:modelValue": I[3] || (I[3] = (g) => A(o).searchString.value = g)
29840
+ }, {
29841
+ "append-inner": K(() => [
29842
+ _.canRefresh ? (L(), se(rt, {
29843
+ key: 0,
29844
+ onClick: I[1] || (I[1] = (g) => A(o).refresh({ deepRefresh: !0 })),
29845
+ icon: "mdi-refresh",
29846
+ size: A(l),
29847
+ variant: "text"
29848
+ }, null, 8, ["size"])) : ae("", !0)
29849
+ ]),
29850
+ _: 1
29851
+ }, 8, ["prepend-inner-icon", "modelValue"])) : ae("", !0),
29852
+ (_.alwaysOpen || r.value) && _.useVirtualScroller ? (L(), se(zo, {
29853
+ height: _.height,
29854
+ "item-height": "50",
29855
+ items: A(o).filteredItems.value,
29856
+ key: "2"
29857
+ }, {
29858
+ default: K(({ item: g }) => [
29859
+ de(_.$slots, "item", {
29860
+ item: g,
29861
+ selectItem: u(g),
29862
+ active: v.value(g)
29863
+ }, () => [
29864
+ S(xt, {
29865
+ onClick: (y) => u(g),
29866
+ active: v.value(g),
29867
+ color: "primary"
29868
+ }, {
29869
+ default: K(() => [
29870
+ de(_.$slots, "default", { item: g }, () => [
29871
+ _.itemText != null || _.textFilter != null || _.textFunction != null ? (L(), se(Ka, { key: 0 }, {
29872
+ default: K(() => [
29873
+ Qe(He(f.value(g)), 1)
29874
+ ]),
29875
+ _: 2
29876
+ }, 1024)) : ae("", !0),
29877
+ _.itemSubtext != null || _.subtextFilter != null || _.subtextFunction != null ? (L(), se(Za, { key: 1 }, {
29878
+ default: K(() => [
29879
+ Qe(He(m.value(g)), 1)
29880
+ ]),
29881
+ _: 2
29882
+ }, 1024)) : ae("", !0)
29883
+ ])
29884
+ ]),
29885
+ _: 2
29886
+ }, 1032, ["onClick", "active"])
29887
+ ])
29888
+ ]),
29889
+ _: 3
29890
+ }, 8, ["height", "items"])) : _.alwaysOpen || r.value ? (L(), se(sn, {
29891
+ "bg-color": _.transparent ? "transparent" : void 0,
29892
+ height: _.height,
29893
+ key: "3"
29894
+ }, {
29895
+ default: K(() => [
29896
+ _.canSelectNone ? (L(), se(xt, {
29897
+ key: "-1",
29898
+ density: "compact",
29899
+ onClick: I[4] || (I[4] = (g) => u(null)),
29900
+ subtitle: "(Select None)"
29901
+ })) : ae("", !0),
29902
+ S(ka, {
29903
+ group: "",
29904
+ "hide-on-leave": ""
29905
+ }, {
29906
+ default: K(() => [
29907
+ (L(!0), ie(Ce, null, et(A(o).filteredItems.value, (g, y) => de(_.$slots, "item", {
29908
+ items: g,
29909
+ index: y,
29910
+ size: A(l)
29911
+ }, () => [
29912
+ (L(), se(xt, {
29913
+ active: v.value(g),
29914
+ key: `${g.id ?? y}-list-item`,
29915
+ value: g,
29916
+ onClick: (T) => u(g)
29917
+ }, {
29918
+ default: K(() => [
29919
+ de(_.$slots, "default", {
29920
+ item: g,
29921
+ index: y,
29922
+ size: A(l)
29923
+ }, () => [
29924
+ _.itemText != null || _.textFilter != null || _.textFunction != null ? (L(), se(Ka, { key: 0 }, {
29925
+ default: K(() => [
29926
+ Qe(He(f.value(g)), 1)
29927
+ ]),
29928
+ _: 2
29929
+ }, 1024)) : ae("", !0),
29930
+ _.itemSubtext != null || _.subtextFilter != null || _.subtextFunction != null ? (L(), se(Za, { key: 1 }, {
29931
+ default: K(() => [
29932
+ Qe(He(m.value(g)), 1)
29933
+ ]),
29934
+ _: 2
29935
+ }, 1024)) : ae("", !0)
29936
+ ])
29937
+ ]),
29938
+ _: 2
29939
+ }, 1032, ["active", "value", "onClick"]))
29940
+ ])), 256))
29941
+ ]),
29942
+ _: 3
29943
+ })
29944
+ ]),
29945
+ _: 3
29946
+ }, 8, ["bg-color", "height"])) : de(_.$slots, "selected", {
29947
+ key: 3,
29948
+ item: h.value,
29949
+ open: c
29950
+ }, () => [
29951
+ S(xt, {
29952
+ onClick: c,
29953
+ key: "4",
29954
+ title: _.label,
29955
+ subtitle: f.value(h.value) ?? _.placeholder
30048
29956
  }, {
30049
- prepend: K(() => [
30050
- S(Ma, { size: "36" }, {
30051
- default: K(() => [
30052
- S(Hl, { src: s.iconSrc }, null, 8, ["src"])
30053
- ]),
30054
- _: 1
30055
- })
30056
- ]),
30057
29957
  append: K(() => [
30058
- S(ja, { class: "mr-1" }, {
29958
+ S(ja, { "no-gutters": "" }, {
30059
29959
  default: K(() => [
30060
- S(rt, {
30061
- onClick: A(n),
30062
- flat: "",
30063
- icon: "",
30064
- size: "small",
30065
- title: "Pin/Unpin Menu"
29960
+ de(_.$slots, "actions"),
29961
+ S(vt, null, {
29962
+ default: K(() => [
29963
+ Qe("mdi-chevron-down")
29964
+ ]),
29965
+ _: 1
29966
+ }),
29967
+ de(_.$slots, "actionsRight"),
29968
+ _.showSettings ? (L(), se(xn, {
29969
+ key: 0,
29970
+ "offset-y": "",
29971
+ "close-on-content-click": !1
30066
29972
  }, {
29973
+ activator: K(({ props: g }) => [
29974
+ S(rt, ge({ icon: "" }, g, {
29975
+ size: A(l),
29976
+ title: "Settings"
29977
+ }), null, 16, ["size"])
29978
+ ]),
30067
29979
  default: K(() => [
30068
- S(vt, null, {
29980
+ S(sn, null, {
30069
29981
  default: K(() => [
30070
- Qe(He(A(t).drawerStick ? "mdi-pin-off" : "mdi-pin"), 1)
29982
+ de(_.$slots, "settings")
30071
29983
  ]),
30072
- _: 1
29984
+ _: 3
30073
29985
  })
30074
29986
  ]),
30075
- _: 1
30076
- }, 8, ["onClick"])
29987
+ _: 3
29988
+ })) : ae("", !0)
30077
29989
  ]),
30078
- _: 1
29990
+ _: 3
30079
29991
  })
30080
29992
  ]),
30081
- _: 1
30082
- }, 8, ["title"]),
30083
- de(s.$slots, "top-list")
30084
- ]),
30085
- _: 3
30086
- }),
30087
- de(s.$slots, "middle-list", {}, () => [
30088
- S(sn, { nav: "" }, {
30089
- default: K(() => [
30090
- (L(!0), ie(Ce, null, et(A(i).sidebarNavItems.value, (d) => (L(), ie(Ce, null, [
30091
- d.isGroup ? (L(), se(_u, {
30092
- key: `${d.displayName}a`
30093
- }, {
30094
- activator: K(({ props: m }) => [
30095
- S(xt, ge(m, {
30096
- color: "primary",
30097
- "prepend-icon": d.icon,
30098
- title: d.displayName
30099
- }), null, 16, ["prepend-icon", "title"])
30100
- ]),
30101
- default: K(() => [
30102
- (L(!0), ie(Ce, null, et(d.items, (m) => (L(), se(xt, {
30103
- key: m.displayName,
30104
- color: "primary",
30105
- "prepend-icon": m.icon,
30106
- title: m.displayName,
30107
- value: m.displayName,
30108
- to: { name: m.routeName }
30109
- }, null, 8, ["prepend-icon", "title", "value", "to"]))), 128))
30110
- ]),
30111
- _: 2
30112
- }, 1024)) : (L(), se(xt, {
30113
- key: `${d.displayName}b`,
30114
- color: "primary",
30115
- "prepend-icon": d.icon,
30116
- title: d.displayName,
30117
- value: d.displayName,
30118
- to: { name: d.routeName }
30119
- }, null, 8, ["prepend-icon", "title", "value", "to"]))
30120
- ], 64))), 256))
30121
- ]),
30122
- _: 1
30123
- })
30124
- ])
30125
- ])
29993
+ _: 3
29994
+ }, 8, ["title", "subtitle"])
29995
+ ])
29996
+ ]),
29997
+ _: 3
29998
+ }),
29999
+ S(Al, {
30000
+ modelValue: A(o).isLoading.value,
30001
+ "onUpdate:modelValue": I[5] || (I[5] = (g) => A(o).isLoading.value = g),
30002
+ class: "align-center justify-center text-center",
30003
+ contained: "",
30004
+ persistent: ""
30005
+ }, {
30006
+ default: K(() => [
30007
+ S(zr, { indeterminate: "" }),
30008
+ Ye("p", null, He(A(o).loadingMsg.value), 1)
30009
+ ]),
30010
+ _: 1
30011
+ }, 8, ["modelValue"])
30126
30012
  ]),
30127
30013
  _: 3
30128
- }, 8, ["rail", "modelValue"])) : ae("", !0);
30014
+ }, 8, ["class", "lg", "md", "sm", "cols"]));
30015
+ }
30016
+ }), zT = /* @__PURE__ */ tt({
30017
+ __name: "BT-Select",
30018
+ props: {
30019
+ additionalUrl: {},
30020
+ canRefresh: { type: Boolean },
30021
+ canSelectNone: { type: Boolean },
30022
+ fieldVariant: {},
30023
+ items: {},
30024
+ itemText: {},
30025
+ itemValue: {},
30026
+ multiple: { type: Boolean },
30027
+ nav: {},
30028
+ onFilter: {},
30029
+ textFilter: {},
30030
+ bladeName: {},
30031
+ canSelect: { type: Boolean },
30032
+ canUnselect: { type: Boolean },
30033
+ confirmOnDelete: { type: Boolean },
30034
+ customFilters: {},
30035
+ defaultFilters: {},
30036
+ eager: { type: Boolean, default: !0 },
30037
+ errorMsg: {},
30038
+ headers: {},
30039
+ hideActions: { type: Boolean },
30040
+ isSingle: { type: Boolean },
30041
+ itemBladeName: {},
30042
+ itemID: {},
30043
+ itemsPerPage: {},
30044
+ loadingMsg: {},
30045
+ localOnly: { type: Boolean },
30046
+ onCanDelete: {},
30047
+ onCanDeleteAsync: {},
30048
+ onCanRestore: {},
30049
+ onCanRestoreAsync: {},
30050
+ onCanSelectItem: {},
30051
+ onDeleteAsync: {},
30052
+ onDeleteSuccessAsync: {},
30053
+ onError: {},
30054
+ onGetAsync: {},
30055
+ onGetSuccessAsync: {},
30056
+ onRestoreAsync: {},
30057
+ onRestoreSuccessAsync: {},
30058
+ onSelectItem: {},
30059
+ params: {},
30060
+ proxyID: {},
30061
+ refreshToggle: { type: Boolean },
30062
+ searchProps: {},
30063
+ selectProps: {},
30064
+ showSearch: { type: Boolean },
30065
+ startShowingInactive: { type: Boolean },
30066
+ storeMode: {},
30067
+ storageMode: {},
30068
+ useInterEvents: { type: Boolean },
30069
+ useServerPagination: { type: Boolean },
30070
+ useBladeSrc: { type: Boolean },
30071
+ useRouteSrc: { type: Boolean }
30072
+ },
30073
+ emits: ["change", "deleted", "input", "select", "confirm", "mouse-over-item"],
30074
+ setup(e, { emit: t }) {
30075
+ const r = ju(e, t, {
30076
+ //useBladeSrc: false,
30077
+ //useRouteSrc: false
30078
+ });
30079
+ return (l, i) => (L(), se(iT, {
30080
+ "append-icon": l.canRefresh ? "mdi-refresh" : void 0,
30081
+ clearable: l.canSelectNone,
30082
+ "onClick:appendIcon": i[0] || (i[0] = (s) => A(r).refresh({ deepRefresh: !0 })),
30083
+ "hide-details": "",
30084
+ items: A(r).filteredItems.value,
30085
+ "item-title": l.itemText,
30086
+ "item-value": l.itemValue,
30087
+ variant: l.fieldVariant
30088
+ }, null, 8, ["append-icon", "clearable", "items", "item-title", "item-value", "variant"]));
30089
+ }
30090
+ }), WT = /* @__PURE__ */ tt({
30091
+ __name: "BT-Span",
30092
+ props: {
30093
+ customFilter: {},
30094
+ filter: {},
30095
+ prefix: {},
30096
+ suffix: {},
30097
+ value: {}
30098
+ },
30099
+ setup(e) {
30100
+ const t = e, { findFilter: n } = Qi(), a = C(() => (t.filter != null ? n(t.filter) : t.customFilter)(t.value));
30101
+ return (r, l) => (L(), ie("span", null, He(r.prefix) + He(a.value) + He(r.suffix), 1));
30129
30102
  }
30130
30103
  });
30104
+ function A_(e) {
30105
+ return {
30106
+ install(t, n) {
30107
+ var o;
30108
+ e.includeComponents == !0 && (t.component("bt-blade-item", Uw), t.component("bt-blade-items", m1), t.component("bt-blade", k1), t.component("bt-btn", C1), t.component("bt-col", x1), t.component("bt-date", Mx), t.component("bt-entity", Px), t.component("bt-field-checkbox", Rx), t.component("bt-field-date", Lx), t.component("bt-field-entity", Fx), t.component("bt-field-select", Ox), t.component("bt-field-string", zx), t.component("bt-field-switch", Hx), t.component("bt-field-tags", mT), t.component("bt-field-text-area", gT), t.component("bt-field-trigger", kT), t.component("bt-header-option", _T), t.component("bt-json", IT), t.component("bt-nav-sidebar", LT), t.component("bt-number", FT), t.component("bt-select-list-box", OT), t.component("bt-select", zT), t.component("bt-span", WT)), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance), R0(e.urls), j0(e);
30109
+ const a = J0(), r = nb(e);
30110
+ lb(e), (o = e.auth).demo ?? (o.demo = a), e.auth.getAuthItem = r.findItem;
30111
+ const l = Y0(e.auth);
30112
+ ab(e.menu);
30113
+ const i = W0({
30114
+ auth: l,
30115
+ findPath: r.findPath,
30116
+ useBearerToken: !0
30117
+ }), s = Q0({
30118
+ getTimeZone: () => l.timeZone.value
30119
+ });
30120
+ eb({
30121
+ dates: s
30122
+ }), ib(), L0({
30123
+ api: i,
30124
+ auth: l,
30125
+ navigation: r
30126
+ });
30127
+ }
30128
+ };
30129
+ }
30131
30130
  export {
30132
30131
  k1 as BTBlade,
30133
30132
  Uw as BTBladeItem,
@@ -30146,24 +30145,24 @@ export {
30146
30145
  gT as BTFieldTextarea,
30147
30146
  kT as BTFieldTrigger,
30148
30147
  _T as BTHeaderOption,
30149
- __ as BTJson,
30150
- A_ as BTNavSidebar,
30151
- AT as BTNumber,
30152
- MT as BTSelect,
30153
- IT as BTSelectListBox,
30154
- DT as BTSpan,
30155
- v_ as DataURIToBlob,
30156
- s_ as addWeekday,
30148
+ IT as BTJson,
30149
+ LT as BTNavSidebar,
30150
+ FT as BTNumber,
30151
+ zT as BTSelect,
30152
+ OT as BTSelectListBox,
30153
+ WT as BTSpan,
30154
+ h_ as DataURIToBlob,
30155
+ o_ as addWeekday,
30157
30156
  gr as appendUrl,
30158
30157
  x0 as capitalizeWords,
30159
- t_ as checkImage,
30158
+ a_ as checkImage,
30160
30159
  M0 as containsSearch,
30161
- i_ as containsWeekday,
30160
+ u_ as containsWeekday,
30162
30161
  Gu as copyDeep,
30163
30162
  I0 as copyItemByAlphabet,
30164
30163
  W0 as createApi,
30165
30164
  Y0 as createAuth,
30166
- T_ as createCore,
30165
+ A_ as createCore,
30167
30166
  j0 as createCosmetics,
30168
30167
  Q0 as createDates,
30169
30168
  J0 as createDemo,
@@ -30177,34 +30176,34 @@ export {
30177
30176
  R0 as createUrl,
30178
30177
  Tc as createWholeLastUpdateStoreDefinition,
30179
30178
  A0 as csvContains,
30180
- p_ as csvDefaults,
30179
+ k_ as csvDefaults,
30181
30180
  jf as deepSelect,
30182
- ZT as distinct,
30183
- KT as extensionExists,
30181
+ QT as distinct,
30182
+ JT as extensionExists,
30184
30183
  D0 as extractErrorDescription,
30185
30184
  C0 as fromCamelCase,
30186
- QT as getAreaAround,
30187
- JT as getAreaToLeft,
30188
- XT as getAreaToRight,
30189
- e_ as getGoogleMapsLocationLine,
30190
- n_ as getImageData,
30185
+ XT as getAreaAround,
30186
+ e_ as getAreaToLeft,
30187
+ t_ as getAreaToRight,
30188
+ n_ as getGoogleMapsLocationLine,
30189
+ r_ as getImageData,
30191
30190
  Gf as getLocationLine,
30192
- c_ as getMinDate,
30191
+ f_ as getMinDate,
30193
30192
  _0 as getMinDateString,
30194
30193
  E0 as getRandomColor,
30195
30194
  P0 as hasSearch,
30196
- o_ as isArrayOfLength,
30195
+ d_ as isArrayOfLength,
30197
30196
  wn as isLengthyArray,
30198
30197
  T0 as isMinDate,
30199
30198
  Ta as nestedValue,
30200
- u_ as removeWeekday,
30201
- d_ as roundTo,
30199
+ c_ as removeWeekday,
30200
+ v_ as roundTo,
30202
30201
  B0 as singularize,
30203
- jT as sum,
30204
- a_ as toCamelCase,
30205
- m_ as toCompareString,
30206
- f_ as toggleCSV,
30207
- h_ as twiddleThumbs,
30202
+ KT as sum,
30203
+ l_ as toCamelCase,
30204
+ y_ as toCompareString,
30205
+ m_ as toggleCSV,
30206
+ g_ as twiddleThumbs,
30208
30207
  Jf as useActions,
30209
30208
  ky as useActionsTracker,
30210
30209
  cu as useApi,
@@ -30216,28 +30215,28 @@ export {
30216
30215
  $0 as useDataUrl,
30217
30216
  K0 as useDates,
30218
30217
  Qf as useDbName,
30219
- S_ as useDemo,
30220
- k_ as useDocumentMeta,
30218
+ C_ as useDemo,
30219
+ x_ as useDocumentMeta,
30221
30220
  H0 as useDraggable,
30222
30221
  Qi as useFilters,
30223
30222
  py as useId,
30224
30223
  ev as useItem,
30225
30224
  ju as useList,
30226
- g_ as useLocalCache,
30227
- w_ as useLocalCosmetics,
30225
+ w_ as useLocalCache,
30226
+ S_ as useLocalCosmetics,
30228
30227
  gn as useLocalDb,
30229
30228
  rb as useMenu,
30230
30229
  Ji as useNavigation,
30231
- C_ as usePWA,
30230
+ T_ as usePWA,
30232
30231
  Xi as usePresets,
30233
30232
  q0 as useResizable,
30234
- x_ as useRules,
30235
- b_ as useStore,
30233
+ __ as useRules,
30234
+ p_ as useStore,
30236
30235
  ur as useStoreDefinition,
30237
30236
  tb as useTracker,
30238
- y_ as useUrls,
30237
+ b_ as useUrls,
30239
30238
  V0 as validEmail,
30240
30239
  Fl as weekdayPairs,
30241
- l_ as weekdayShortName,
30242
- r_ as weekdayValue
30240
+ s_ as weekdayShortName,
30241
+ i_ as weekdayValue
30243
30242
  };