bt-core-app 1.4.557 → 1.4.558

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.
@@ -5671,6 +5671,14 @@ function wn(e, t) {
5671
5671
  return null;
5672
5672
  return l;
5673
5673
  }
5674
+ function MV(e, t) {
5675
+ const n = [];
5676
+ for (let a = 0; a < e.length; a += t) {
5677
+ const l = e.slice(a, a + t);
5678
+ n.push(l);
5679
+ }
5680
+ return n;
5681
+ }
5674
5682
  function sx(e, t, n = !0) {
5675
5683
  const a = [];
5676
5684
  for (let l = 0; l < e.length; l += t) {
@@ -5687,7 +5695,7 @@ function ux(e) {
5687
5695
  function cx(e) {
5688
5696
  return e.endsWith("ies") ? e.slice(0, e.length - 3) : e.endsWith("s") ? e.slice(0, e.length - 1) : e;
5689
5697
  }
5690
- function MV(e) {
5698
+ function _V(e) {
5691
5699
  return e == null ? void 0 : e.replaceAll(" ", "").toLowerCase();
5692
5700
  }
5693
5701
  function Vo(e) {
@@ -7176,7 +7184,7 @@ function pu() {
7176
7184
  const e = Ps();
7177
7185
  return gt == null ? "" : (gt[e] ?? gt.development).auth ?? "";
7178
7186
  }
7179
- function _V(e, t) {
7187
+ function DV(e, t) {
7180
7188
  const n = Ps();
7181
7189
  if (gt == null)
7182
7190
  return "";
@@ -7190,7 +7198,7 @@ function mx(e) {
7190
7198
  const n = gt[t] ?? gt.development;
7191
7199
  return e == null || n.other == null ? n.data ?? "" : n.other[e] ?? n.data ?? "";
7192
7200
  }
7193
- function DV() {
7201
+ function AV() {
7194
7202
  return gt;
7195
7203
  }
7196
7204
  function vx(e) {
@@ -7204,7 +7212,7 @@ function ha() {
7204
7212
  const e = _g();
7205
7213
  return (Po == null || Po.config.name != e) && (Po = Mg.createInstance({ name: e })), Po;
7206
7214
  }
7207
- function AV() {
7215
+ function LV() {
7208
7216
  async function e(l) {
7209
7217
  const r = ha();
7210
7218
  (await r.keys()).filter((s) => s.startsWith(l)).forEach((s) => {
@@ -7282,7 +7290,7 @@ function hx(e) {
7282
7290
  }, ic;
7283
7291
  }
7284
7292
  let as;
7285
- function LV(e) {
7293
+ function IV(e) {
7286
7294
  return as(e)();
7287
7295
  }
7288
7296
  function $l(e) {
@@ -8703,7 +8711,7 @@ function gd(e) {
8703
8711
  saveItem: h
8704
8712
  };
8705
8713
  }
8706
- function IV() {
8714
+ function EV() {
8707
8715
  const { actionErrorMsg: e, actionLoadingMsg: t, clearErrors: n, isLoading: a, doAction: l } = kh(
8708
8716
  {
8709
8717
  stringifyError: (i) => typeof i == "object" ? i.message : i == null ? void 0 : i.toString()
@@ -9216,7 +9224,7 @@ function yd(e) {
9216
9224
  variant: c
9217
9225
  };
9218
9226
  }
9219
- function EV() {
9227
+ function VV() {
9220
9228
  const e = [
9221
9229
  { color: "#27D81E" },
9222
9230
  { color: "#1E78D8" },
@@ -9257,7 +9265,7 @@ let cc;
9257
9265
  function Ag() {
9258
9266
  return cc;
9259
9267
  }
9260
- function VV(e) {
9268
+ function PV(e) {
9261
9269
  const t = localStorage.getItem("cosmetics");
9262
9270
  let n;
9263
9271
  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), {
@@ -9817,7 +9825,7 @@ const Fg = [
9817
9825
  { text: "Monthly", value: "Monthly" },
9818
9826
  { text: "Custom", value: "Custom" }
9819
9827
  ];
9820
- function PV() {
9828
+ function $V() {
9821
9829
  const { timeZone: e } = ql();
9822
9830
  function t(n) {
9823
9831
  if (n.cron == null)
@@ -10051,7 +10059,7 @@ function ek(e) {
10051
10059
  unpack: g
10052
10060
  };
10053
10061
  }
10054
- const $V = {
10062
+ const NV = {
10055
10063
  canExportCSV: !1
10056
10064
  };
10057
10065
  function tk() {
@@ -10108,7 +10116,7 @@ function tk() {
10108
10116
  };
10109
10117
  }
10110
10118
  let vc;
10111
- function NV() {
10119
+ function BV() {
10112
10120
  return vc;
10113
10121
  }
10114
10122
  function nk(e) {
@@ -10235,7 +10243,7 @@ function rs(e) {
10235
10243
  bn.options.splice(t, 1);
10236
10244
  };
10237
10245
  }
10238
- function BV(e) {
10246
+ function FV(e) {
10239
10247
  const t = bn == null ? void 0 : bn.options.find((n) => n.dialogType == "items");
10240
10248
  return t == null ? Promise.resolve({
10241
10249
  isError: !0,
@@ -10246,7 +10254,7 @@ function BV(e) {
10246
10254
  t.open(e, n);
10247
10255
  });
10248
10256
  }
10249
- function FV(e) {
10257
+ function RV(e) {
10250
10258
  const t = bn == null ? void 0 : bn.options.find((n) => n.dialogType == "date");
10251
10259
  return t == null ? Promise.resolve({
10252
10260
  isError: !0,
@@ -10257,7 +10265,7 @@ function FV(e) {
10257
10265
  t.open(e, n);
10258
10266
  });
10259
10267
  }
10260
- function RV(e) {
10268
+ function zV(e) {
10261
10269
  const t = bn == null ? void 0 : bn.options.find((n) => n.dialogType == "number");
10262
10270
  return t == null ? Promise.resolve({
10263
10271
  isError: !0,
@@ -10268,7 +10276,7 @@ function RV(e) {
10268
10276
  t.open(e, n);
10269
10277
  });
10270
10278
  }
10271
- function zV(e) {
10279
+ function HV(e) {
10272
10280
  const t = bn == null ? void 0 : bn.options.find((n) => n.dialogType == "string");
10273
10281
  return t == null ? Promise.resolve({
10274
10282
  isError: !0,
@@ -10280,7 +10288,7 @@ function zV(e) {
10280
10288
  });
10281
10289
  }
10282
10290
  var ak = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
10283
- function HV(e) {
10291
+ function WV(e) {
10284
10292
  function t(n) {
10285
10293
  var l;
10286
10294
  const a = n.matched.slice().reverse().find((r) => r.meta && r.meta.title);
@@ -10452,7 +10460,7 @@ function lk(e) {
10452
10460
  ...P
10453
10461
  }, is;
10454
10462
  }
10455
- function WV(e) {
10463
+ function OV(e) {
10456
10464
  var r;
10457
10465
  const t = ((r = e == null ? void 0 : e.dates) == null ? void 0 : r.tzDate) ?? $s().tzDate, n = vi();
10458
10466
  function a(i) {
@@ -11740,7 +11748,7 @@ const t2 = (e) => {
11740
11748
  component: Vd
11741
11749
  };
11742
11750
  var l2 = "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", r2 = "M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z", i2 = "M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z", o2 = "M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z", s2 = "M22,3H7C6.31,3 5.77,3.35 5.41,3.88L0,12L5.41,20.11C5.77,20.64 6.31,21 7,21H22A2,2 0 0,0 24,19V5A2,2 0 0,0 22,3M19,15.59L17.59,17L14,13.41L10.41,17L9,15.59L12.59,12L9,8.41L10.41,7L14,10.59L17.59,7L19,8.41L15.41,12", u2 = "M19,3H18V1H16V3H8V1H6V3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H10V19H5V8H19V9H21V5A2,2 0 0,0 19,3M21.7,13.35L20.7,14.35L18.65,12.35L19.65,11.35C19.85,11.14 20.19,11.13 20.42,11.35L21.7,12.63C21.89,12.83 21.89,13.15 21.7,13.35M12,18.94L18.07,12.88L20.12,14.88L14.06,21H12V18.94Z", c2 = "M20 5H17L15 3H9L7 5H4C2.9 5 2 5.9 2 7V19C2 20.11 2.9 21 4 21H20C21.11 21 22 20.11 22 19V7C22 5.9 21.11 5 20 5M5 12H7.1C7.65 9.29 10.29 7.55 13 8.1C13.76 8.25 14.43 8.59 15 9L13.56 10.45C13.11 10.17 12.58 10 12 10C10.74 10 9.6 10.8 9.18 12H11L8 15L5 12M16.91 14C16.36 16.71 13.72 18.45 11 17.9C10.25 17.74 9.58 17.41 9 17L10.44 15.55C10.9 15.83 11.43 16 12 16C13.27 16 14.41 15.2 14.83 14H13L16 11L19 14H16.91Z", d2 = "M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z", f2 = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z", m2 = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", v2 = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z", h2 = "M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z", g2 = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", y2 = "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", p2 = "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", b2 = "M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L6.04,7.5L12,10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V9.21L13,12.58V19.29L19,15.91Z", w2 = "M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z", x2 = "M22.67,12L18.18,16.5L15.67,14L17.65,12L15.67,10.04L18.18,7.53L22.67,12M12,1.33L16.47,5.82L13.96,8.33L12,6.35L10,8.33L7.5,5.82L12,1.33M12,22.67L7.53,18.18L10.04,15.67L12,17.65L14,15.67L16.5,18.18L12,22.67M1.33,12L5.82,7.5L8.33,10L6.35,12L8.33,13.96L5.82,16.47L1.33,12M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10Z", k2 = "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", S2 = "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", C2 = "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", T2 = "M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2M18 20H6V4H13V9H18V20M10 19L12 15H9V10H15V15L13 19H10", M2 = "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", _2 = "M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z", D2 = "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", A2 = "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", L2 = "M7,10L12,15L17,10H7Z", I2 = "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", E2 = "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", V2 = "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", P2 = "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", $2 = "M7.5,2C5.71,3.15 4.5,5.18 4.5,7.5C4.5,9.82 5.71,11.85 7.53,13C4.46,13 2,10.54 2,7.5A5.5,5.5 0 0,1 7.5,2M19.07,3.5L20.5,4.93L4.93,20.5L3.5,19.07L19.07,3.5M12.89,5.93L11.41,5L9.97,6L10.39,4.3L9,3.24L10.75,3.12L11.33,1.47L12,3.1L13.73,3.13L12.38,4.26L12.89,5.93M9.59,9.54L8.43,8.81L7.31,9.59L7.65,8.27L6.56,7.44L7.92,7.35L8.37,6.06L8.88,7.33L10.24,7.36L9.19,8.23L9.59,9.54M19,13.5A5.5,5.5 0 0,1 13.5,19C12.28,19 11.15,18.6 10.24,17.93L17.93,10.24C18.6,11.15 19,12.28 19,13.5M14.6,20.08L17.37,18.93L17.13,22.28L14.6,20.08M18.93,17.38L20.08,14.61L22.28,17.15L18.93,17.38M20.08,12.42L18.94,9.64L22.28,9.88L20.08,12.42M9.63,18.93L12.4,20.08L9.87,22.27L9.63,18.93Z", N2 = "M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z", B2 = "M16,5V18H21V5M4,18H9V5H4M10,18H15V5H10V18Z", F2 = "M4,4H20V20H4V4M6,8V18H18V8H6Z";
11743
- function OV(e) {
11751
+ function UV(e) {
11744
11752
  return {
11745
11753
  defaultSet: "mdi",
11746
11754
  aliases: {
@@ -12010,7 +12018,7 @@ function fy(e, t, n) {
12010
12018
  ...m
12011
12019
  };
12012
12020
  }
12013
- function UV(e) {
12021
+ function YV(e) {
12014
12022
  const t = (e == null ? void 0 : e.iterationCount) ?? 20, n = H(), a = (e == null ? void 0 : e.onError) ?? (() => {
12015
12023
  });
12016
12024
  async function l(r) {
@@ -12358,7 +12366,7 @@ function Zi(e, t, n) {
12358
12366
  ...i
12359
12367
  };
12360
12368
  }
12361
- function YV(e) {
12369
+ function jV(e) {
12362
12370
  const t = H([]), n = H(!1);
12363
12371
  function a() {
12364
12372
  t.value.every((r) => r.loaded) && (e.onAllLoaded(), n.value = !1);
@@ -12463,7 +12471,7 @@ function W2(e) {
12463
12471
  let Wm, Om, Um, Ym = !1;
12464
12472
  const zo = H(!1), Tu = H(!1), Mu = H(), Ho = H(), jm = H(!1);
12465
12473
  let Cc;
12466
- function jV() {
12474
+ function qV() {
12467
12475
  return Cc;
12468
12476
  }
12469
12477
  function O2() {
@@ -12509,7 +12517,7 @@ function O2() {
12509
12517
  }, Cc;
12510
12518
  }
12511
12519
  const vy = Symbol(), U2 = Symbol(), hy = Symbol(), gy = Symbol();
12512
- function qV(e, t, n, a) {
12520
+ function GV(e, t, n, a) {
12513
12521
  var h;
12514
12522
  const l = Ue(vy), r = Ue(gy), i = Ue(hy), o = l.findItem(e.meta.nav ?? e.name) ?? void 0, s = e.meta.requiresAuth !== !1 || o != null && o.requiresAuth !== !1, c = e.meta.permissions ?? [], u = e.meta.subscriptions ?? [];
12515
12523
  function f() {
@@ -12530,7 +12538,7 @@ function qV(e, t, n, a) {
12530
12538
  else if (f(), l.updateNavigationChange(e, t), e.path == "/" && r.tryLogin() && el((h = t.name) == null ? void 0 : h.toString()))
12531
12539
  return { name: a };
12532
12540
  }
12533
- function GV(e) {
12541
+ function ZV(e) {
12534
12542
  const t = [];
12535
12543
  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"), t.push((n) => /^(.*[#?!@\$%\^\&*\)\(+=._-].*)$/.test(n) || "Password must contain a special character like # ? ! @ $ % ^ & * - +")), (e == null ? void 0 : e.forEmail) == !0 && (t.push((n) => !!n || "Email is required"), t.push((n) => ux(n) || "Email must be valid")), t;
12536
12544
  }
@@ -40781,7 +40789,7 @@ const Y1 = {
40781
40789
  return (l, r) => (B(), fe("span", null, Ne(l.prefix) + Ne(a.value) + Ne(l.suffix), 1));
40782
40790
  }
40783
40791
  });
40784
- function ZV(e) {
40792
+ function KV(e) {
40785
40793
  return {
40786
40794
  install(t, n) {
40787
40795
  var u, f, h, v, m, g;
@@ -40818,7 +40826,7 @@ function ZV(e) {
40818
40826
  }
40819
40827
  };
40820
40828
  }
40821
- const G5 = { class: "d-flex align-center" }, KV = /* @__PURE__ */ Ze({
40829
+ const G5 = { class: "d-flex align-center" }, XV = /* @__PURE__ */ Ze({
40822
40830
  __name: "BT-Dialog-Select",
40823
40831
  setup(e) {
40824
40832
  const t = H(!1), n = H({}), a = H([]), { getValue: l } = my();
@@ -41021,7 +41029,7 @@ const G5 = { class: "d-flex align-center" }, KV = /* @__PURE__ */ Ze({
41021
41029
  }), Z5 = {
41022
41030
  class: "text-h4 text-center py-4",
41023
41031
  style: { height: "75px" }
41024
- }, XV = /* @__PURE__ */ Ze({
41032
+ }, JV = /* @__PURE__ */ Ze({
41025
41033
  __name: "BT-Dialog-Number",
41026
41034
  setup(e) {
41027
41035
  const t = H(!1), n = H({}), a = H({}), l = H("number"), r = H(""), i = H(""), o = _(() => r.value != null && r.value.length > 0 && !Number.isNaN(r.value)), s = _(() => {
@@ -41184,7 +41192,7 @@ const G5 = { class: "d-flex align-center" }, KV = /* @__PURE__ */ Ze({
41184
41192
  _: 1
41185
41193
  }, 8, ["max-width", "modelValue"]));
41186
41194
  }
41187
- }), JV = /* @__PURE__ */ Ze({
41195
+ }), QV = /* @__PURE__ */ Ze({
41188
41196
  __name: "BT-Dialog-Date",
41189
41197
  setup(e) {
41190
41198
  const t = H(!1), n = H({}), a = H();
@@ -41260,23 +41268,23 @@ const G5 = { class: "d-flex align-center" }, KV = /* @__PURE__ */ Ze({
41260
41268
  });
41261
41269
  export {
41262
41270
  gn as BTDateFormat,
41263
- JV as BTDialogDate,
41264
- XV as BTDialogNumber,
41265
- KV as BTDialogSelect,
41271
+ QV as BTDialogDate,
41272
+ JV as BTDialogNumber,
41273
+ XV as BTDialogSelect,
41266
41274
  lx as DataURIToBlob,
41267
41275
  bV as addWeekday,
41268
41276
  on as appendUrl,
41269
41277
  gy as authKey,
41270
41278
  Xw as capitalizeWords,
41271
41279
  Yw as checkImage,
41272
- MV as compareString,
41280
+ _V as compareString,
41273
41281
  ax as containsSearch,
41274
41282
  pV as containsWeekday,
41275
41283
  hd as copyDeep,
41276
41284
  nx as copyItemByAlphabet,
41277
41285
  kx as createApi,
41278
41286
  Cx as createAuth,
41279
- ZV as createCore,
41287
+ KV as createCore,
41280
41288
  Dx as createCosmetics,
41281
41289
  hx as createDates,
41282
41290
  nk as createDemo,
@@ -41291,7 +41299,7 @@ export {
41291
41299
  ZC as createVuetify,
41292
41300
  wx as createWholeLastUpdateStoreDefinition,
41293
41301
  tx as csvContains,
41294
- $V as csvDefaults,
41302
+ NV as csvDefaults,
41295
41303
  Cg as deepSelect,
41296
41304
  hy as demoKey,
41297
41305
  jw as distinct,
@@ -41314,7 +41322,7 @@ export {
41314
41322
  Ri as getMinDateString,
41315
41323
  ix as getRandomColor,
41316
41324
  qw as group,
41317
- qV as guardRoute,
41325
+ GV as guardRoute,
41318
41326
  ox as hasSearch,
41319
41327
  Jw as isArrayOfLength,
41320
41328
  yt as isLengthyArray,
@@ -41333,6 +41341,7 @@ export {
41333
41341
  kV as roundTo,
41334
41342
  cx as singularize,
41335
41343
  sx as splitArray,
41344
+ MV as spread,
41336
41345
  oV as sum,
41337
41346
  hV as toCamelCase,
41338
41347
  CV as toCompareString,
@@ -41346,49 +41355,49 @@ export {
41346
41355
  pu as useAuthUrl,
41347
41356
  yd as useBlade,
41348
41357
  tk as useCSV,
41349
- EV as useColorizer,
41358
+ VV as useColorizer,
41350
41359
  Ag as useCosmetics,
41351
41360
  Qx as useCron,
41352
41361
  ek as useCronAdjustments,
41353
- PV as useCronPredictor,
41362
+ $V as useCronPredictor,
41354
41363
  Ps as useCurrentEnv,
41355
41364
  mx as useDataUrl,
41356
41365
  $s as useDates,
41357
41366
  _g as useDbName,
41358
- NV as useDemo,
41359
- FV as useDialogDate,
41360
- RV as useDialogNumber,
41361
- BV as useDialogSelect,
41362
- zV as useDialogString,
41363
- HV as useDocumentMeta,
41367
+ BV as useDemo,
41368
+ RV as useDialogDate,
41369
+ zV as useDialogNumber,
41370
+ FV as useDialogSelect,
41371
+ HV as useDialogString,
41372
+ WV as useDocumentMeta,
41364
41373
  Tx as useDraggable,
41365
41374
  vi as useFilters,
41366
- WV as useGraphing,
41375
+ OV as useGraphing,
41367
41376
  Sd as useHeights,
41368
- OV as useIcons,
41377
+ UV as useIcons,
41369
41378
  z0 as useId,
41370
41379
  nV as useIds,
41371
- _V as useImageUrl,
41380
+ DV as useImageUrl,
41372
41381
  fy as useItem,
41373
- UV as useIterating,
41382
+ YV as useIterating,
41374
41383
  Zi as useList,
41375
- YV as useLists,
41376
- IV as useLocalActions,
41377
- AV as useLocalCache,
41378
- VV as useLocalCosmetics,
41384
+ jV as useLists,
41385
+ EV as useLocalActions,
41386
+ LV as useLocalCache,
41387
+ PV as useLocalCosmetics,
41379
41388
  ha as useLocalDb,
41380
41389
  H2 as useMenu,
41381
41390
  Dg as useNavBack,
41382
41391
  wl as useNavigation,
41383
41392
  my as useNested,
41384
- jV as usePWA,
41393
+ qV as usePWA,
41385
41394
  Rs as usePresets,
41386
41395
  _x as useResizable,
41387
- GV as useRules,
41388
- LV as useStore,
41396
+ ZV as useRules,
41397
+ IV as useStore,
41389
41398
  $l as useStoreDefinition,
41390
41399
  R2 as useTracker,
41391
- DV as useUrls,
41400
+ AV as useUrls,
41392
41401
  ux as validEmail,
41393
41402
  go as weekdayPairs,
41394
41403
  yV as weekdayShortName,
package/dist/index.d.ts CHANGED
@@ -1250,6 +1250,8 @@ export declare function singularize(str: string): string;
1250
1250
 
1251
1251
  export declare function splitArray<T>(arr: T[], chunkSize: number, fill?: boolean): (T | null)[][];
1252
1252
 
1253
+ export declare function spread<T>(arr: T[], chunkSize: number): (T)[][];
1254
+
1253
1255
  export declare type StorageMode = 'session' | 'local-cache';
1254
1256
 
1255
1257
  declare interface StoreAction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.557",
3
+ "version": "1.4.558",
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": {