bt-core-app 1.4.625 → 1.4.626

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.
@@ -5540,7 +5540,7 @@ function PV(e, t) {
5540
5540
  function ik(e, t) {
5541
5541
  return e != null && Array.isArray(e) && e.length == t;
5542
5542
  }
5543
- function nt(e, t = 0) {
5543
+ function tt(e, t = 0) {
5544
5544
  return e != null && Array.isArray(e) && e.length > t;
5545
5545
  }
5546
5546
  function $n(e) {
@@ -5600,10 +5600,10 @@ function _g(e, t = (n) => n) {
5600
5600
  if (e == null)
5601
5601
  return [];
5602
5602
  const n = Array.isArray(e) ? e : t(e);
5603
- return nt(n) ? [...n.reduce((a, l) => {
5603
+ return tt(n) ? [...n.reduce((a, l) => {
5604
5604
  a.push(l);
5605
5605
  const r = _g(l, t);
5606
- return nt(r) && a.push(...r), a;
5606
+ return tt(r) && a.push(...r), a;
5607
5607
  }, [])] : [];
5608
5608
  }
5609
5609
  function fk(e) {
@@ -8856,7 +8856,7 @@ function Pk(e) {
8856
8856
  if (L == null)
8857
8857
  return !1;
8858
8858
  let E = L.subscriptions ?? [], P = L.permissions ?? [], H = u(E, P, "view");
8859
- return H || !V || !nt(L.children) ? H : ((L == null ? void 0 : L.children) != null && L.children.forEach((N) => {
8859
+ return H || !V || !tt(L.children) ? H : ((L == null ? void 0 : L.children) != null && L.children.forEach((N) => {
8860
8860
  m(N, !0) && (D = !0);
8861
8861
  }), D);
8862
8862
  }
@@ -9945,7 +9945,7 @@ function ux(e) {
9945
9945
  if (n.value != w) {
9946
9946
  n.value = w;
9947
9947
  let C = !1, k = !1, S = !1, M = !1;
9948
- if ($n(n.value) || !nt(d(), 4))
9948
+ if ($n(n.value) || !tt(d(), 4))
9949
9949
  C = !0;
9950
9950
  else {
9951
9951
  const I = d();
@@ -9982,7 +9982,7 @@ function ux(e) {
9982
9982
  const E = D.split(",");
9983
9983
  E.some((P) => !us.some((H) => H.value == P)) ? C = !0 : v.value = E;
9984
9984
  }
9985
- if (nt(I, 5) && e.useLeadTimeLeft) {
9985
+ if (tt(I, 5) && e.useLeadTimeLeft) {
9986
9986
  const E = I[5].split("-");
9987
9987
  if (e.useLeadTimeRight && E.length > 1) {
9988
9988
  const P = Number.parseInt(E[1]);
@@ -10017,7 +10017,7 @@ function ux(e) {
10017
10017
  if (s.value == "Custom")
10018
10018
  return n.value;
10019
10019
  let w = "0";
10020
- return w = en(w, m.value, " "), nt(f.value) ? w = en(w, (C = f.value) == null ? void 0 : C.toString(), " ") : w = en(w, "*", " "), nt(h.value) ? w = en(w, (k = h.value) == null ? void 0 : k.toString(), " ") : w = en(w, "*", " "), ((S = v.value) == null ? void 0 : S.length) == 7 ? w = en(w, "*", " ") : w = en(w, (M = v.value) == null ? void 0 : M.toString(), " "), w = en(w, `${c.value}-${u.value}`, " "), n.value = w, n.value;
10020
+ return w = en(w, m.value, " "), tt(f.value) ? w = en(w, (C = f.value) == null ? void 0 : C.toString(), " ") : w = en(w, "*", " "), tt(h.value) ? w = en(w, (k = h.value) == null ? void 0 : k.toString(), " ") : w = en(w, "*", " "), ((S = v.value) == null ? void 0 : S.length) == 7 ? w = en(w, "*", " ") : w = en(w, (M = v.value) == null ? void 0 : M.toString(), " "), w = en(w, `${c.value}-${u.value}`, " "), n.value = w, n.value;
10021
10021
  }
10022
10022
  return b(e.value ?? e.defaultExpression ?? t()), {
10023
10023
  applyRawExpression: g,
@@ -10062,7 +10062,7 @@ function cx(e) {
10062
10062
  return `${y.dateTrigger}|${y.replacingDate ?? ""}|${y.leadTimeLeft.toString()}-${y.leadTimeRight.toString()}`;
10063
10063
  }
10064
10064
  function m(y) {
10065
- if (nt(y))
10065
+ if (tt(y))
10066
10066
  return y.filter((d) => d.isAdjusting == !0).map((d) => u(d)).filter((d) => d != null && !d.includes("undefined")).toString();
10067
10067
  }
10068
10068
  function h(y) {
@@ -10073,7 +10073,7 @@ function cx(e) {
10073
10073
  if (y != null && y.includes("undefined"))
10074
10074
  return;
10075
10075
  const d = y == null ? void 0 : y.split("|");
10076
- if (nt(d, 2)) {
10076
+ if (tt(d, 2)) {
10077
10077
  let b = 0, x = 0, w = d[2].split("-");
10078
10078
  w.length > 0 && (b = Number.parseInt(w[0])), w.length > 1 && (x = Number.parseInt(w[1]));
10079
10079
  let C = d[1].length > 1 ? d[1] : void 0;
@@ -10147,14 +10147,14 @@ function dx(e) {
10147
10147
  fileName: h = "data.csv",
10148
10148
  format: f = "file"
10149
10149
  } = c;
10150
- if (console.log(u), !nt(u))
10150
+ if (console.log(u), !tt(u))
10151
10151
  return;
10152
10152
  let v = [];
10153
10153
  m != null && (v = m == null ? void 0 : m.filter((M) => (M.csv ?? M.csvText ?? M.csvFilter ?? M.csvArray) != null).map((M) => ({
10154
10154
  header: M.title ?? M.value ?? "",
10155
10155
  itemText: M.itemText,
10156
10156
  value: M.value
10157
- }))), nt(v) || (v = Object.keys(u[0]).map((M) => ({ header: ak(M) ?? "", value: M }))), v = v.filter((M) => M.header.length > 0);
10157
+ }))), tt(v) || (v = Object.keys(u[0]).map((M) => ({ header: ak(M) ?? "", value: M }))), v = v.filter((M) => M.header.length > 0);
10158
10158
  var g = [];
10159
10159
  for (let M = 0; M < u.length; M++) {
10160
10160
  const I = u[M];
@@ -10164,7 +10164,7 @@ function dx(e) {
10164
10164
  var b = null;
10165
10165
  typeof V.value == "function" ? b = V.value(I) : typeof V.value == "string" && (b = Tn(I, V.value)), V.itemText != null ? y[V.header] = Tn(b, V.itemText) : y[V.header] = b;
10166
10166
  }
10167
- g.push(y), nt(d) && d.forEach((_) => {
10167
+ g.push(y), tt(d) && d.forEach((_) => {
10168
10168
  g.push(_);
10169
10169
  }), d = [];
10170
10170
  }
@@ -10216,9 +10216,9 @@ function dx(e) {
10216
10216
  if (g != null) {
10217
10217
  let C = g.split(`
10218
10218
  `);
10219
- if (nt(C)) {
10219
+ if (tt(C)) {
10220
10220
  var y = [];
10221
- nt(c == null ? void 0 : c.headers) ? y = c.headers.map((S) => {
10221
+ tt(c == null ? void 0 : c.headers) ? y = c.headers.map((S) => {
10222
10222
  var M;
10223
10223
  return typeof S == "string" ? M = {
10224
10224
  headerName: o(S),
@@ -12361,7 +12361,7 @@ function si(e, t, n) {
12361
12361
  kt != null ? ee = ee != null ? `${ee}ANDALSO${kt.filterFunction()}` : kt.filterFunction() : le.push(st);
12362
12362
  });
12363
12363
  const se = {};
12364
- return nt(le) && (se.filterBy = le.toString()), ee != null && (se.query = ee), se;
12364
+ return tt(le) && (se.filterBy = le.toString()), ee != null && (se.query = ee), se;
12365
12365
  }), ae = A(() => {
12366
12366
  var le, se;
12367
12367
  let ee = e.itemID;
@@ -12369,7 +12369,7 @@ function si(e, t, n) {
12369
12369
  }), ge = A(() => {
12370
12370
  var le;
12371
12371
  let ee = e.params != null ? { ...e.params } : {};
12372
- return e.paginate == "server" && e.itemsPerPage != null && (ee.includeCount = !0, ee.takeAmount = e.itemsPerPage, ee.takeFrom = (w.value - 1) * e.itemsPerPage), Z.value != null && (ee = { ...ee, ...Z.value }), V.value && (ee.includeInactive = !0), nt(e.selectProps) && (ee.properties = (le = e.selectProps) == null ? void 0 : le.toString()), I.value != null && (ee.searchString = I.value), ee;
12372
+ return e.paginate == "server" && e.itemsPerPage != null && (ee.includeCount = !0, ee.takeAmount = e.itemsPerPage, ee.takeFrom = (w.value - 1) * e.itemsPerPage), Z.value != null && (ee = { ...ee, ...Z.value }), V.value && (ee.includeInactive = !0), tt(e.selectProps) && (ee.properties = (le = e.selectProps) == null ? void 0 : le.toString()), I.value != null && (ee.searchString = I.value), ee;
12373
12373
  }), ye = A(() => (ee) => e.onCanDelete != null ? e.onCanDelete(ee) : !(ee != null && ee.isInactive === !0)), he = A(() => (ee) => V.value ? e.onCanRestore != null ? e.onCanRestore(ee) : (ee == null ? void 0 : ee.isInactive) === !0 : !1), Re = e.onUpdateAsyncItem ?? ((ee, le) => {
12374
12374
  ee.hasOwnProperty("rowVersion") && (ee.rowVersion = le.rowVersion), ee.hasOwnProperty("version") && (ee.version = le.version), ee.hasOwnProperty("isDeleted") && (ee.isDeleted = le.isDeleted), ee.hasOwnProperty("isInactive") && (ee.isInactive = le.isInactive);
12375
12375
  }), de = A(() => P.value.filter((ee) => !ee.hide)), De = A(() => {
@@ -12475,7 +12475,7 @@ function si(e, t, n) {
12475
12475
  return;
12476
12476
  }
12477
12477
  let ee = e.onFilter ? e.onFilter(D.value) : D.value;
12478
- if (nt(e.localFilters) && d.value.forEach((le) => {
12478
+ if (tt(e.localFilters) && d.value.forEach((le) => {
12479
12479
  var Ce;
12480
12480
  const se = (Ce = e.localFilters) == null ? void 0 : Ce.find((st) => st.name == y.value[le]);
12481
12481
  se != null && (se.onFilter != null ? ee = se.onFilter(ee) : se.predicate != null && (ee = ee.filter((st) => se.predicate(st))));
@@ -12485,7 +12485,7 @@ function si(e, t, n) {
12485
12485
  }
12486
12486
  if (I.value != null && I.value.length > 0) {
12487
12487
  let le = [...L.value];
12488
- e.itemText && le.push(e.itemText), nt(le) && (ee = ee.filter((se) => hk(se, I.value, le)));
12488
+ e.itemText && le.push(e.itemText), tt(le) && (ee = ee.filter((se) => hk(se, I.value, le)));
12489
12489
  }
12490
12490
  if (e.paginate == "local" && $n(I.value) && e.itemsPerPage != null) {
12491
12491
  let le = (w.value - 1) * e.itemsPerPage, se = le + e.itemsPerPage;
@@ -12681,7 +12681,7 @@ function eS() {
12681
12681
  routeName: ""
12682
12682
  }, l.push(u));
12683
12683
  let m = [];
12684
- c.subFilters != null && (Array.isArray(c.subFilters) ? m = c.subFilters : m = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !nt(m) && (m = Array.isArray(s.subFilters) ? s.subFilters : [s.subFilters]), ($l.currentView.value == null || m == null || m.some((f) => f == "All" || $l.currentView.value == f)) && ((h = u.items) == null || h.push({
12684
+ c.subFilters != null && (Array.isArray(c.subFilters) ? m = c.subFilters : m = [c.subFilters]), (s == null ? void 0 : s.subFilters) != null && !tt(m) && (m = Array.isArray(s.subFilters) ? s.subFilters : [s.subFilters]), ($l.currentView.value == null || m == null || m.some((f) => f == "All" || $l.currentView.value == f)) && ((h = u.items) == null || h.push({
12685
12685
  displayName: (c == null ? void 0 : c.displayName) ?? t.findDisplay(s ?? void 0),
12686
12686
  icon: (c == null ? void 0 : c.icon) ?? t.findIcon(s ?? void 0),
12687
12687
  permissions: (c == null ? void 0 : c.permissions) ?? (s == null ? void 0 : s.permissions) ?? [],
@@ -21126,7 +21126,7 @@ const _i = Se({
21126
21126
  var D, E, P;
21127
21127
  let L = a.label ?? (a.variant == "page" ? (D = s == null ? void 0 : s.meta) == null ? void 0 : D.displayName : void 0) ?? u(a.nav ?? a.bladeName ?? "");
21128
21128
  return a.showCount == !0 && ((E = f.filteredItems.value) == null ? void 0 : E.length) != null && ((P = f.asyncItems.value) == null ? void 0 : P.length) != null && (L = `${L} (${f.filteredItems.value.length} of ${f.asyncItems.value.length})`), L;
21129
- }), k = A(() => a.variant == "dialog" && (a.canSearch || nt(a.searchProps))), S = A(() => a.variant == "inline" && (a.canSearch || nt(a.searchProps))), M = A(() => {
21129
+ }), k = A(() => a.variant == "dialog" && (a.canSearch || tt(a.searchProps))), S = A(() => a.variant == "inline" && (a.canSearch || tt(a.searchProps))), M = A(() => {
21130
21130
  if (a.actualHeight != null)
21131
21131
  return `height: calc(${a.actualHeight})`;
21132
21132
  if (a.actualUsedHeight != null)
@@ -21142,17 +21142,17 @@ const _i = Se({
21142
21142
  if (a.selectSingle && !Array.isArray(D) && (D = [D]), a.returnIndex && a.returnCSV)
21143
21143
  return D.map((P) => Number.parseInt(P));
21144
21144
  let E = [];
21145
- return a.itemValue != null && nt(D) ? f.filteredItems.value.forEach((P) => {
21145
+ return a.itemValue != null && tt(D) ? f.filteredItems.value.forEach((P) => {
21146
21146
  const H = i(P, a.itemValue);
21147
21147
  D.some((N) => N == H) && E.push(P);
21148
- }) : a.itemValue == null && E.push(...D), a.selectSingle ? nt(E) ? [E[0]] : [] : E;
21148
+ }) : a.itemValue == null && E.push(...D), a.selectSingle ? tt(E) ? [E[0]] : [] : E;
21149
21149
  },
21150
21150
  set(L) {
21151
21151
  if (L == null)
21152
21152
  n("update:selected", L), I.value = [];
21153
21153
  else {
21154
21154
  let D = L;
21155
- a.returnIndex ? D = L.map((E) => f.filteredItems.value.indexOf((P) => P === E)) : a.itemValue != null && (D = L.map((E) => i(E, a.itemValue))), a.selectSingle ? (D = nt(D) ? D[0] : void 0, I.value = D != null ? [D] : []) : I.value = D, a.returnCSV && D != null && (D = D.toString()), n("update:selected", D), I.value = D;
21155
+ a.returnIndex ? D = L.map((E) => f.filteredItems.value.indexOf((P) => P === E)) : a.itemValue != null && (D = L.map((E) => i(E, a.itemValue))), a.selectSingle ? (D = tt(D) ? D[0] : void 0, I.value = D != null ? [D] : []) : I.value = D, a.returnCSV && D != null && (D = D.toString()), n("update:selected", D), I.value = D;
21156
21156
  }
21157
21157
  }
21158
21158
  });
@@ -21327,13 +21327,13 @@ const _i = Se({
21327
21327
  "hide-on-leave": ""
21328
21328
  }, {
21329
21329
  default: B(() => [
21330
- (L.canSearch !== !1 || T(nt)(L.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
21330
+ (L.canSearch !== !1 || T(tt)(L.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
21331
21331
  icon: "$magnify",
21332
21332
  key: "11",
21333
21333
  size: L.size,
21334
21334
  onClick: T(f).toggleSearch
21335
21335
  }, null, 8, ["size", "onClick"])) : X("", !0),
21336
- (L.canSearch !== !1 || T(nt)(L.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
21336
+ (L.canSearch !== !1 || T(tt)(L.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
21337
21337
  "onClick:appendInner": T(f).refresh,
21338
21338
  "onClick:prependInner": T(f).toggleSearch,
21339
21339
  onKeyup: eo(T(f).refresh, ["native", "enter"]),
@@ -21362,7 +21362,7 @@ const _i = Se({
21362
21362
  allItems: T(f).asyncItems.value,
21363
21363
  size: L.size
21364
21364
  }, void 0, !0),
21365
- !b.value && T(nt)(T(f).filters.value) ? ($(), Q(fn, {
21365
+ !b.value && T(tt)(T(f).filters.value) ? ($(), Q(fn, {
21366
21366
  key: 2,
21367
21367
  "close-on-content-click": !1,
21368
21368
  density: L.density,
@@ -21490,7 +21490,7 @@ const _i = Se({
21490
21490
  allItems: T(f).asyncItems.value,
21491
21491
  items: T(f).filteredItems.value
21492
21492
  }, void 0, !0),
21493
- T(nt)(T(f).asyncItems.value) ? L.selectSingle || L.selectMulti || L.showListOnly === !0 || N ? ($(), Q(_t, {
21493
+ T(tt)(T(f).asyncItems.value) ? L.selectSingle || L.selectMulti || L.showListOnly === !0 || N ? ($(), Q(_t, {
21494
21494
  key: 2,
21495
21495
  "active-class": L.activeClass,
21496
21496
  class: Ge(["pt-0", L.scrollY ? "overflow-y-auto" : ""]),
@@ -22570,7 +22570,7 @@ const _M = Js("v-alert-title"), LM = ["success", "info", "warning", "error"], IM
22570
22570
  function v() {
22571
22571
  var k;
22572
22572
  const C = (k = o.value) == null ? void 0 : k.getVideoTracks();
22573
- nt(C) && (C == null || C.forEach((S) => S.stop()));
22573
+ tt(C) && (C == null || C.forEach((S) => S.stop()));
22574
22574
  }
22575
22575
  async function g(C) {
22576
22576
  s.value != null && (r.value = C, o.value = await navigator.mediaDevices.getUserMedia({
@@ -26522,7 +26522,7 @@ function dt(e) {
26522
26522
  function di(e) {
26523
26523
  return Xe(e).getSeconds();
26524
26524
  }
26525
- function tt(e) {
26525
+ function nt(e) {
26526
26526
  return Xe(e).getFullYear();
26527
26527
  }
26528
26528
  function fi(e, t) {
@@ -28466,7 +28466,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28466
28466
  seconds: di(e)
28467
28467
  }), u1 = (e, t) => {
28468
28468
  if (t) {
28469
- const n = tt(Te(t));
28469
+ const n = nt(Te(t));
28470
28470
  if (n > e)
28471
28471
  return 12;
28472
28472
  if (n === e)
@@ -28474,18 +28474,18 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28474
28474
  }
28475
28475
  }, c1 = (e, t) => {
28476
28476
  if (t) {
28477
- const n = tt(Te(t));
28477
+ const n = nt(Te(t));
28478
28478
  return n < e ? -1 : n === e ? dt(Te(t)) : void 0;
28479
28479
  }
28480
28480
  }, hi = (e) => {
28481
28481
  if (e)
28482
- return tt(Te(e));
28482
+ return nt(Te(e));
28483
28483
  }, d1 = (e, t) => {
28484
28484
  const n = tn(e, t) ? t : e, a = tn(t, e) ? t : e;
28485
28485
  return Op({ start: n, end: a });
28486
28486
  }, c3 = (e) => {
28487
28487
  const t = Va(e, 1);
28488
- return { month: dt(t), year: tt(t) };
28488
+ return { month: dt(t), year: nt(t) };
28489
28489
  }, vl = (e, t) => {
28490
28490
  const n = Ba(e, { weekStartsOn: +t }), a = Yp(e, { weekStartsOn: +t });
28491
28491
  return [n, a];
@@ -28502,7 +28502,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28502
28502
  }, m1 = (e, t, n, a, l) => {
28503
28503
  if (!a || l && !t || !l && !n)
28504
28504
  return !1;
28505
- const r = l ? Va(e, 1) : mi(e, 1), i = [dt(r), tt(r)];
28505
+ const r = l ? Va(e, 1) : mi(e, 1), i = [dt(r), nt(r)];
28506
28506
  return l ? !f3(...i, t) : !d3(...i, n);
28507
28507
  }, d3 = (e, t, n) => Zt(...zl(n, e, t)) || vt(...zl(n, e, t)), f3 = (e, t, n) => tn(...zl(n, e, t)) || vt(...zl(n, e, t)), v1 = (e, t, n, a, l, r, i) => {
28508
28508
  if (typeof t == "function" && !i)
@@ -28536,7 +28536,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28536
28536
  }
28537
28537
  const r = Ju(e, a, t);
28538
28538
  return Xu(a, r, n, !!t) && l;
28539
- }, Qu = (e) => Pt(Te(), pr(e)), v3 = (e, t) => e instanceof Map ? Array.from(e.values()).filter((n) => tt(Te(n)) === t).map((n) => dt(n)) : [], h1 = (e, t, n) => typeof e == "function" ? e({ month: t, year: n }) : !!e.months.find((a) => a.month === t && a.year === n), Tf = (e, t) => typeof e == "function" ? e(t) : e.years.includes(t), g1 = (e) => Qa(e, "yyyy-MM-dd"), Ri = Un({
28539
+ }, Qu = (e) => Pt(Te(), pr(e)), v3 = (e, t) => e instanceof Map ? Array.from(e.values()).filter((n) => nt(Te(n)) === t).map((n) => dt(n)) : [], h1 = (e, t, n) => typeof e == "function" ? e({ month: t, year: n }) : !!e.months.find((a) => a.month === t && a.year === n), Tf = (e, t) => typeof e == "function" ? e(t) : e.years.includes(t), g1 = (e) => Qa(e, "yyyy-MM-dd"), Ri = Un({
28540
28540
  menuFocused: !1,
28541
28541
  shiftKeyInMenu: !1
28542
28542
  }), y1 = () => {
@@ -28848,7 +28848,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28848
28848
  hours: kl(Y),
28849
28849
  minutes: Zl(Y),
28850
28850
  seconds: t.enableSeconds ? di(Y) : 0
28851
- } : null, y = (Y) => t.modelType ? U(Y) : { month: dt(Y), year: tt(Y) }, d = (Y) => Array.isArray(Y) ? o.value.enabled ? Y.map((oe) => b(oe, Xa(Te(), oe))) : as(
28851
+ } : null, y = (Y) => t.modelType ? U(Y) : { month: dt(Y), year: nt(Y) }, d = (Y) => Array.isArray(Y) ? o.value.enabled ? Y.map((oe) => b(oe, Xa(Te(), oe))) : as(
28852
28852
  () => [
28853
28853
  Xa(Te(), Y[0]),
28854
28854
  Y[1] ? Xa(Te(), Y[1]) : zr(r.value.partialRange)
@@ -28939,7 +28939,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28939
28939
  }, F = (Y, oe) => G(pn(R(Y)), !1, oe), K = (Y) => {
28940
28940
  const oe = J();
28941
28941
  return Y ? oe : e("update:model-value", J());
28942
- }, te = (Y = !1) => (Y || j(), t.monthPicker ? F(y, Y) : t.timePicker ? F(g, Y) : t.yearPicker ? F(tt, Y) : t.weekPicker ? K(Y) : G(L(Y), !0, Y));
28942
+ }, te = (Y = !1) => (Y || j(), t.monthPicker ? F(y, Y) : t.timePicker ? F(g, Y) : t.yearPicker ? F(nt, Y) : t.weekPicker ? K(Y) : G(L(Y), !0, Y));
28943
28943
  return {
28944
28944
  inputValue: c,
28945
28945
  internalModelValue: a,
@@ -28954,13 +28954,13 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28954
28954
  return n.value.months.includes(dt(h)) ? (h = m ? Va(u, 1) : mi(u, 1), r(h, m)) : h;
28955
28955
  }, i = (u, m) => {
28956
28956
  let h = u;
28957
- return n.value.years.includes(tt(h)) ? (h = m ? cf(u, 1) : a1(u, 1), i(h, m)) : h;
28957
+ return n.value.years.includes(nt(h)) ? (h = m ? cf(u, 1) : a1(u, 1), i(h, m)) : h;
28958
28958
  }, o = (u, m = !1) => {
28959
28959
  const h = Pt(Te(), { month: e.month, year: e.year });
28960
28960
  let f = u ? Va(h, 1) : mi(h, 1);
28961
28961
  e.disableYearSelect && (f = Xa(f, e.year));
28962
- let v = dt(f), g = tt(f);
28963
- n.value.months.includes(v) && (f = r(f, u), v = dt(f), g = tt(f)), n.value.years.includes(g) && (f = i(f, u), g = tt(f)), l(v, g, u, e.preventMinMaxNavigation) && s(v, g, m);
28962
+ let v = dt(f), g = nt(f);
28963
+ n.value.months.includes(v) && (f = r(f, u), v = dt(f), g = nt(f)), n.value.years.includes(g) && (f = i(f, u), g = nt(f)), l(v, g, u, e.preventMinMaxNavigation) && s(v, g, m);
28964
28964
  }, s = (u, m, h) => {
28965
28965
  t("update-month-year", { month: u, year: m, fromNav: h });
28966
28966
  }, c = A(() => (u) => m1(
@@ -29649,24 +29649,24 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29649
29649
  else if (_ === e.value.count - 1 && v())
29650
29650
  l.value[_] = {
29651
29651
  month: dt(r.value[1]),
29652
- year: tt(r.value[1])
29652
+ year: nt(r.value[1])
29653
29653
  };
29654
29654
  else {
29655
29655
  const V = Pt(Te(), l.value[_ - 1]);
29656
- l.value[_] = { month: dt(V), year: tt(cf(V, 1)) };
29656
+ l.value[_] = { month: dt(V), year: nt(cf(V, 1)) };
29657
29657
  }
29658
29658
  }, y = (_) => {
29659
29659
  if (!_)
29660
29660
  return g();
29661
29661
  const V = Pt(Te(), l.value[_]);
29662
- return l.value[0].year = tt(a1(V, e.value.count - 1)), g();
29662
+ return l.value[0].year = nt(a1(V, e.value.count - 1)), g();
29663
29663
  }, d = (_, V) => {
29664
29664
  const L = eA(V, _);
29665
29665
  return t.value.showLastInRange && L > 1 ? V : _;
29666
29666
  }, b = (_) => i.focusStartDate || e.value.solo ? _[0] : _[1] ? d(_[0], _[1]) : _[0], x = () => {
29667
29667
  if (r.value) {
29668
29668
  const _ = Array.isArray(r.value) ? b(r.value) : r.value;
29669
- l.value[0] = { month: dt(_), year: tt(_) };
29669
+ l.value[0] = { month: dt(_), year: nt(_) };
29670
29670
  }
29671
29671
  }, w = () => {
29672
29672
  x(), e.value.count && g();
@@ -29718,7 +29718,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29718
29718
  defaultedFilters: u,
29719
29719
  defaultedMultiDates: m
29720
29720
  } = qt(e), h = () => {
29721
- e.isTextInputDate && w(tt(Te(e.startDate)), 0);
29721
+ e.isTextInputDate && w(nt(Te(e.startDate)), 0);
29722
29722
  }, { modelValue: f, year: v, month: g, calendars: y } = No(e, t, h), d = A(() => r1(e.formatLocale, e.locale, e.monthNameFormat)), b = W(null), { checkMinMaxRange: x } = Jl(e), {
29723
29723
  selectYear: w,
29724
29724
  groupedYears: C,
@@ -29741,9 +29741,9 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29741
29741
  emit: t
29742
29742
  });
29743
29743
  wt(() => {
29744
- e.startDate && (f.value && e.focusStartDate || !f.value) && w(tt(Te(e.startDate)), 0);
29744
+ e.startDate && (f.value && e.focusStartDate || !f.value) && w(nt(Te(e.startDate)), 0);
29745
29745
  });
29746
- const V = (F) => F ? { month: dt(F), year: tt(F) } : { month: null, year: null }, L = () => f.value ? Array.isArray(f.value) ? f.value.map((F) => V(F)) : V(f.value) : V(), D = (F, K) => {
29746
+ const V = (F) => F ? { month: dt(F), year: nt(F) } : { month: null, year: null }, L = () => f.value ? Array.isArray(f.value) ? f.value.map((F) => V(F)) : V(f.value) : V(), D = (F, K) => {
29747
29747
  const te = y.value[F], Y = L();
29748
29748
  return Array.isArray(Y) ? Y.some((oe) => oe.year === (te == null ? void 0 : te.year) && oe.month === K) : (te == null ? void 0 : te.year) === Y.year && K === Y.month;
29749
29749
  }, E = (F, K, te) => {
@@ -29937,12 +29937,12 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29937
29937
  }
29938
29938
  }), Y3 = (e, t) => {
29939
29939
  const n = () => {
29940
- e.isTextInputDate && (u.value = tt(Te(e.startDate)));
29940
+ e.isTextInputDate && (u.value = nt(Te(e.startDate)));
29941
29941
  }, { modelValue: a } = No(e, t, n), l = W(null), { defaultedHighlight: r, defaultedMultiDates: i, defaultedFilters: o, defaultedRange: s, propDates: c } = qt(e), u = W();
29942
29942
  wt(() => {
29943
- e.startDate && (a.value && e.focusStartDate || !a.value) && (u.value = tt(Te(e.startDate)));
29943
+ e.startDate && (a.value && e.focusStartDate || !a.value) && (u.value = nt(Te(e.startDate)));
29944
29944
  });
29945
- const m = (g) => Array.isArray(a.value) ? a.value.some((y) => tt(y) === g) : a.value ? tt(a.value) === g : !1, h = (g) => s.value.enabled && Array.isArray(a.value) ? uu(a.value, l.value, v(g)) : !1, f = A(() => vi(xf(e.yearRange, e.locale, e.reverseYears), (g) => {
29945
+ const m = (g) => Array.isArray(a.value) ? a.value.some((y) => nt(y) === g) : a.value ? nt(a.value) === g : !1, h = (g) => s.value.enabled && Array.isArray(a.value) ? uu(a.value, l.value, v(g)) : !1, f = A(() => vi(xf(e.yearRange, e.locale, e.reverseYears), (g) => {
29946
29946
  const y = m(g.value), d = fo(
29947
29947
  g.value,
29948
29948
  hi(c.value.minDate),
@@ -29960,7 +29960,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29960
29960
  selectYear: (g) => {
29961
29961
  var y;
29962
29962
  if (t("update-month-year", { instance: 0, year: g }), i.value.enabled)
29963
- return a.value ? Array.isArray(a.value) && (((y = a.value) == null ? void 0 : y.map((d) => tt(d))).includes(g) ? a.value = a.value.filter((d) => tt(d) !== g) : a.value.push(Xa(Yn(Te()), g))) : a.value = [Xa(Yn(uo(Te())), g)], t("auto-apply", !0);
29963
+ return a.value ? Array.isArray(a.value) && (((y = a.value) == null ? void 0 : y.map((d) => nt(d))).includes(g) ? a.value = a.value.filter((d) => nt(d) !== g) : a.value.push(Xa(Yn(Te()), g))) : a.value = [Xa(Yn(uo(Te())), g)], t("auto-apply", !0);
29964
29964
  s.value.enabled ? (a.value = Df(a, v(g), t), ut().then(() => {
29965
29965
  fu(a.value, t, e.autoApply, e.modelAuto);
29966
29966
  })) : (a.value = v(g), t("auto-apply"));
@@ -31219,10 +31219,10 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31219
31219
  if (h.value.count && me && !e.startDate)
31220
31220
  return R(Te(), me);
31221
31221
  }, G = () => Array.isArray(s.value) && v.value.enabled ? dt(s.value[0]) === dt(s.value[1] ?? s.value[0]) : !1, R = (me = /* @__PURE__ */ new Date(), ee = !1) => {
31222
- if ((!h.value.count || !h.value.static || ee) && H(0, dt(me), tt(me)), h.value.count && (!h.value.solo || !s.value || G()))
31222
+ if ((!h.value.count || !h.value.static || ee) && H(0, dt(me), nt(me)), h.value.count && (!h.value.solo || !s.value || G()))
31223
31223
  for (let le = 1; le < h.value.count; le++) {
31224
31224
  const se = Pt(Te(), { month: D.value(le - 1), year: E.value(le - 1) }), Ce = Np(se, { months: 1 });
31225
- c.value[le] = { month: dt(Ce), year: tt(Ce) };
31225
+ c.value[le] = { month: dt(Ce), year: nt(Ce) };
31226
31226
  }
31227
31227
  }, J = (me, ee) => {
31228
31228
  R(me), I("hours", kl(me)), I("minutes", Zl(me)), I("seconds", di(me)), h.value.count && ee && ce();
@@ -31253,26 +31253,26 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31253
31253
  te(ee, me), h.value.count && h.value.solo && ce();
31254
31254
  }, oe = (me, ee) => {
31255
31255
  const le = Pt(Te(), { month: D.value(ee), year: E.value(ee) }), se = me < 0 ? Va(le, 1) : mi(le, 1);
31256
- x(dt(se), tt(se), me < 0, e.preventMinMaxNavigation) && (H(ee, dt(se), tt(se)), t("update-month-year", { instance: ee, month: dt(se), year: tt(se) }), h.value.count && !h.value.solo && Me(ee), n());
31256
+ x(dt(se), nt(se), me < 0, e.preventMinMaxNavigation) && (H(ee, dt(se), nt(se)), t("update-month-year", { instance: ee, month: dt(se), year: nt(se) }), h.value.count && !h.value.solo && Me(ee), n());
31257
31257
  }, Me = (me) => {
31258
31258
  for (let ee = me - 1; ee >= 0; ee--) {
31259
31259
  const le = mi(Pt(Te(), { month: D.value(ee + 1), year: E.value(ee + 1) }), 1);
31260
- H(ee, dt(le), tt(le));
31260
+ H(ee, dt(le), nt(le));
31261
31261
  }
31262
31262
  for (let ee = me + 1; ee <= h.value.count - 1; ee++) {
31263
31263
  const le = Va(Pt(Te(), { month: D.value(ee - 1), year: E.value(ee - 1) }), 1);
31264
- H(ee, dt(le), tt(le));
31264
+ H(ee, dt(le), nt(le));
31265
31265
  }
31266
31266
  }, ce = () => {
31267
31267
  if (Array.isArray(s.value) && s.value.length === 2) {
31268
31268
  const me = Te(
31269
31269
  Te(s.value[1] ? s.value[1] : Va(s.value[0], 1))
31270
- ), [ee, le] = [dt(s.value[0]), tt(s.value[0])], [se, Ce] = [dt(s.value[1]), tt(s.value[1])];
31271
- (ee !== se || ee === se && le !== Ce) && h.value.solo && H(1, dt(me), tt(me));
31270
+ ), [ee, le] = [dt(s.value[0]), nt(s.value[0])], [se, Ce] = [dt(s.value[1]), nt(s.value[1])];
31271
+ (ee !== se || ee === se && le !== Ce) && h.value.solo && H(1, dt(me), nt(me));
31272
31272
  } else
31273
- s.value && !Array.isArray(s.value) && (H(0, dt(s.value), tt(s.value)), R(Te()));
31273
+ s.value && !Array.isArray(s.value) && (H(0, dt(s.value), nt(s.value)), R(Te()));
31274
31274
  }, He = () => {
31275
- e.startDate && (H(0, dt(Te(e.startDate)), tt(Te(e.startDate))), h.value.count && Me(0));
31275
+ e.startDate && (H(0, dt(Te(e.startDate)), nt(Te(e.startDate))), h.value.count && Me(0));
31276
31276
  }, Z = (me, ee) => {
31277
31277
  if (e.monthChangeOnScroll) {
31278
31278
  const le = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), se = Math.abs(me.deltaY);
@@ -31349,7 +31349,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31349
31349
  ];
31350
31350
  C(le) ? (ee && _n(me.value), l.value = le) : t("invalid-date", me.value);
31351
31351
  }, _n = (me) => {
31352
- const ee = dt(Te(me)), le = tt(Te(me));
31352
+ const ee = dt(Te(me)), le = nt(Te(me));
31353
31353
  if (H(0, ee, le), h.value.count > 0)
31354
31354
  for (let se = 1; se < h.value.count; se++) {
31355
31355
  const Ce = c3(
@@ -31687,7 +31687,7 @@ const i3 = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31687
31687
  return !1;
31688
31688
  }
31689
31689
  return !1;
31690
- }, I = (P, H) => P.quarter === _v(H) && P.year === tt(H), _ = (P) => typeof r.value == "function" ? r.value({ quarter: _v(P), year: tt(P) }) : !!r.value.quarters.find((H) => I(H, P)), V = A(() => (P) => {
31690
+ }, I = (P, H) => P.quarter === _v(H) && P.year === nt(H), _ = (P) => typeof r.value == "function" ? r.value({ quarter: _v(P), year: nt(P) }) : !!r.value.quarters.find((H) => I(H, P)), V = A(() => (P) => {
31691
31691
  const H = Pt(/* @__PURE__ */ new Date(), { year: m.value(P) });
31692
31692
  return tA({
31693
31693
  start: uo(H),
@@ -32331,7 +32331,7 @@ const HL = ({
32331
32331
  const t = A(() => (a) => e.value ? a ? e.value.open : e.value.close : ""), n = A(() => (a) => e.value ? a ? e.value.menuAppearTop : e.value.menuAppearBottom : "");
32332
32332
  return { transitionName: t, showTransition: !!e.value, menuTransition: n };
32333
32333
  }, No = (e, t, n) => {
32334
- const { defaultedRange: a, defaultedTz: l } = qt(e), r = Te(na(Te(), l.value.timezone)), i = W([{ month: dt(r), year: tt(r) }]), o = (h) => {
32334
+ const { defaultedRange: a, defaultedTz: l } = qt(e), r = Te(na(Te(), l.value.timezone)), i = W([{ month: dt(r), year: nt(r) }]), o = (h) => {
32335
32335
  const f = {
32336
32336
  hours: kl(r),
32337
32337
  minutes: Zl(r),
@@ -32517,8 +32517,8 @@ const HL = ({
32517
32517
  }
32518
32518
  };
32519
32519
  }, Jl = (e) => {
32520
- const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: l } = qt(e), r = (E) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(Te(E)) : !!Ns(E, a.value.disabledDates) : !1, i = (E) => a.value.maxDate ? e.yearPicker ? tt(E) > tt(a.value.maxDate) : tn(E, a.value.maxDate) : !1, o = (E) => a.value.minDate ? e.yearPicker ? tt(E) < tt(a.value.minDate) : Zt(E, a.value.minDate) : !1, s = (E) => {
32521
- const P = i(E), H = o(E), N = r(E), j = t.value.months.map((J) => +J).includes(dt(E)), z = e.disabledWeekDays.length ? e.disabledWeekDays.some((J) => +J === GA(E)) : !1, U = f(E), G = tt(E), R = G < +e.yearRange[0] || G > +e.yearRange[1];
32520
+ const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: l } = qt(e), r = (E) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(Te(E)) : !!Ns(E, a.value.disabledDates) : !1, i = (E) => a.value.maxDate ? e.yearPicker ? nt(E) > nt(a.value.maxDate) : tn(E, a.value.maxDate) : !1, o = (E) => a.value.minDate ? e.yearPicker ? nt(E) < nt(a.value.minDate) : Zt(E, a.value.minDate) : !1, s = (E) => {
32521
+ const P = i(E), H = o(E), N = r(E), j = t.value.months.map((J) => +J).includes(dt(E)), z = e.disabledWeekDays.length ? e.disabledWeekDays.some((J) => +J === GA(E)) : !1, U = f(E), G = nt(E), R = G < +e.yearRange[0] || G > +e.yearRange[1];
32522
32522
  return !(P || H || N || j || R || z || U);
32523
32523
  }, c = (E, P) => Zt(...zl(a.value.minDate, E, P)) || vt(...zl(a.value.minDate, E, P)), u = (E, P) => tn(...zl(a.value.maxDate, E, P)) || vt(...zl(a.value.maxDate, E, P)), m = (E, P, H) => {
32524
32524
  let N = !1;
@@ -32528,7 +32528,7 @@ const HL = ({
32528
32528
  return N ? a.value.minDate && a.value.maxDate ? j = m(E, P, H) : (a.value.minDate && c(E, P) || a.value.maxDate && u(E, P)) && (j = !0) : j = !0, j;
32529
32529
  }, f = (E) => Array.isArray(a.value.allowedDates) && !a.value.allowedDates.length ? !0 : a.value.allowedDates ? !Ns(E, a.value.allowedDates) : !1, v = (E) => !s(E), g = (E) => n.value.noDisabledRange ? !Op({ start: E[0], end: E[1] }).some((P) => v(P)) : !0, y = (E) => {
32530
32530
  if (E) {
32531
- const P = tt(E);
32531
+ const P = nt(E);
32532
32532
  return P >= +e.yearRange[0] && P <= e.yearRange[1];
32533
32533
  }
32534
32534
  return !0;
@@ -36017,7 +36017,7 @@ const YI = Se({
36017
36017
  return n.isArray ? n.modelValue : (f = n.modelValue) == null ? void 0 : f.split(",");
36018
36018
  },
36019
36019
  set(f) {
36020
- n.isArray ? a("update:modelValue", f) : a("update:modelValue", nt(f) ? f.toString() : null);
36020
+ n.isArray ? a("update:modelValue", f) : a("update:modelValue", tt(f) ? f.toString() : null);
36021
36021
  }
36022
36022
  }), r = qe("isEditing", () => W(!1), !0), i = A(() => n.isEditing ?? r.value), o = qe("isMobile", () => W(!1), !0), s = qe("fieldVariant", "underlined"), c = qe("fieldEditVariant", "outlined"), u = A(() => n.isMobile ?? o.value ? !1 : n.lg), m = A(() => n.isMobile ?? o.value ? !1 : n.md), h = A(() => n.isMobile ?? o.value ? !1 : n.sm);
36023
36023
  return (f, v) => ($(), Q(it, {
@@ -39767,7 +39767,7 @@ const F5 = /* @__PURE__ */ Vo(B5, [["render", N5]]), R5 = /* @__PURE__ */ je({
39767
39767
  group: ""
39768
39768
  }, {
39769
39769
  default: B(() => [
39770
- (w.alwaysOpen || l.value) && T(nt)(w.searchProps) ? ($(), Q(Mn, {
39770
+ (w.alwaysOpen || l.value) && T(tt)(w.searchProps) ? ($(), Q(Mn, {
39771
39771
  "onClick:prependInner": C[2] || (C[2] = (k) => T(s).searchString.value = void 0),
39772
39772
  "hide-details": "",
39773
39773
  key: "1",
@@ -41229,7 +41229,7 @@ const fP = /* @__PURE__ */ je({
41229
41229
  var h, f;
41230
41230
  o.name != null && (s.value = l((h = o.name) == null ? void 0 : h.toString(), t.tags).sort(ia.firstBy((v) => v.sort ?? 0)) ?? [], c.value = r((f = o.name) == null ? void 0 : f.toString(), t.tags).sort(ia.firstBy((v) => v.sort ?? 0)) ?? [], a(o.name) && (u.value = !0));
41231
41231
  }), (h, f) => ($(), re("div", null, [
41232
- T(nt)(s.value) || T(nt)(c.value) ? ($(), Q(fn, {
41232
+ T(tt)(s.value) || T(tt)(c.value) ? ($(), Q(fn, {
41233
41233
  key: 0,
41234
41234
  "max-width": "450"
41235
41235
  }, {
@@ -41242,7 +41242,7 @@ const fP = /* @__PURE__ */ je({
41242
41242
  default: B(() => [
41243
41243
  p(_t, { class: "pa-2" }, {
41244
41244
  default: B(() => [
41245
- T(nt)(s.value) ? ($(), Q(ua, { key: 0 }, {
41245
+ T(tt)(s.value) ? ($(), Q(ua, { key: 0 }, {
41246
41246
  default: B(() => [
41247
41247
  Pe("Relevant Links")
41248
41248
  ]),
@@ -41259,7 +41259,7 @@ const fP = /* @__PURE__ */ je({
41259
41259
  title: v.title,
41260
41260
  subtitle: v.subtitle
41261
41261
  }, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
41262
- T(nt)(c.value) ? ($(), Q(ua, { key: 1 }, {
41262
+ T(tt)(c.value) ? ($(), Q(ua, { key: 1 }, {
41263
41263
  default: B(() => [
41264
41264
  Pe("Other Helpful Links")
41265
41265
  ]),
@@ -41305,7 +41305,7 @@ const fP = /* @__PURE__ */ je({
41305
41305
  p(yl),
41306
41306
  p(_t, { class: "pa-2" }, {
41307
41307
  default: B(() => [
41308
- T(nt)(s.value) ? ($(), Q(ua, { key: 0 }, {
41308
+ T(tt)(s.value) ? ($(), Q(ua, { key: 0 }, {
41309
41309
  default: B(() => [
41310
41310
  Pe("Relevant Links")
41311
41311
  ]),
@@ -41322,7 +41322,7 @@ const fP = /* @__PURE__ */ je({
41322
41322
  title: v.title,
41323
41323
  subtitle: v.subtitle
41324
41324
  }, null, 8, ["prepend-icon", "href", "text", "append-avatar", "title", "subtitle"]))), 128)),
41325
- T(nt)(c.value) ? ($(), Q(ua, { key: 1 }, {
41325
+ T(tt)(c.value) ? ($(), Q(ua, { key: 1 }, {
41326
41326
  default: B(() => [
41327
41327
  Pe("Other Helpful Links")
41328
41328
  ]),
@@ -41374,6 +41374,7 @@ const fP = /* @__PURE__ */ je({
41374
41374
  canRestore: { type: Boolean },
41375
41375
  canSearch: { type: Boolean, default: !0 },
41376
41376
  canShowInactive: { type: Boolean },
41377
+ defaultNew: { type: Boolean },
41377
41378
  density: { default: "compact" },
41378
41379
  dividers: { type: Boolean, default: !0 },
41379
41380
  fadingActions: { type: Boolean, default: void 0 },
@@ -41490,6 +41491,9 @@ const fP = /* @__PURE__ */ je({
41490
41491
  onError: (z) => {
41491
41492
  z.code == 401 && (m.logout(), m.login(location.pathname));
41492
41493
  },
41494
+ onFinished: () => {
41495
+ a.defaultNew === !0 && !tt(f.asyncItems.value) && E();
41496
+ },
41493
41497
  router: wo(),
41494
41498
  route: s
41495
41499
  }), v = W([]), g = A(() => v.value.length > 0 ? v.value[v.value.length - 1] : 0), y = A(() => a.actionButtonSize ?? a.size), d = A(() => c.canAdd ?? a.canAdd), b = A(() => {
@@ -41499,7 +41503,7 @@ const fP = /* @__PURE__ */ je({
41499
41503
  var U, G, R;
41500
41504
  let z = a.label ?? (a.variant == "page" ? (U = s == null ? void 0 : s.meta) == null ? void 0 : U.displayName : void 0) ?? u(a.nav ?? a.bladeName ?? "");
41501
41505
  return a.showCount == !0 && ((G = f.filteredItems.value) == null ? void 0 : G.length) != null && ((R = f.asyncItems.value) == null ? void 0 : R.length) != null && (z = `${z} (${f.filteredItems.value.length} of ${f.asyncItems.value.length})`), z;
41502
- }), M = A(() => a.variant == "dialog" && (a.canSearch || nt(a.searchProps))), I = A(() => a.variant == "inline" && (a.canSearch || nt(a.searchProps))), _ = A(() => {
41506
+ }), M = A(() => a.variant == "dialog" && (a.canSearch || tt(a.searchProps))), I = A(() => a.variant == "inline" && (a.canSearch || tt(a.searchProps))), _ = A(() => {
41503
41507
  if (a.actualHeight != null)
41504
41508
  return `height: calc(${a.actualHeight})`;
41505
41509
  if (a.actualUsedHeight != null)
@@ -41702,13 +41706,13 @@ const fP = /* @__PURE__ */ je({
41702
41706
  "hide-on-leave": ""
41703
41707
  }, {
41704
41708
  default: B(() => [
41705
- (z.canSearch !== !1 || T(nt)(z.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
41709
+ (z.canSearch !== !1 || T(tt)(z.searchProps)) && !T(f).showSearch.value ? ($(), Q(xe, {
41706
41710
  icon: "$magnify",
41707
41711
  key: "11",
41708
41712
  size: z.size,
41709
41713
  onClick: T(f).toggleSearch
41710
41714
  }, null, 8, ["size", "onClick"])) : X("", !0),
41711
- (z.canSearch !== !1 || T(nt)(z.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
41715
+ (z.canSearch !== !1 || T(tt)(z.searchProps)) && T(f).showSearch.value ? ($(), Q(Mn, {
41712
41716
  "onClick:appendInner": T(f).refresh,
41713
41717
  "onClick:prependInner": T(f).toggleSearch,
41714
41718
  onKeyup: eo(T(f).refresh, ["native", "enter"]),
@@ -41737,7 +41741,7 @@ const fP = /* @__PURE__ */ je({
41737
41741
  allItems: T(f).asyncItems.value,
41738
41742
  size: z.size
41739
41743
  }, void 0, !0),
41740
- !w.value && T(nt)(T(f).filters.value) ? ($(), Q(fn, {
41744
+ !w.value && T(tt)(T(f).filters.value) ? ($(), Q(fn, {
41741
41745
  key: 2,
41742
41746
  "close-on-content-click": !1,
41743
41747
  density: z.density,
@@ -41873,7 +41877,7 @@ const fP = /* @__PURE__ */ je({
41873
41877
  default: B(() => [
41874
41878
  p(Os, null, {
41875
41879
  default: B(() => [
41876
- T(nt)(T(f).asyncItems.value) ? z.showListOnly === !0 || F ? ($(), Q(_t, {
41880
+ T(tt)(T(f).asyncItems.value) ? z.showListOnly === !0 || F ? ($(), Q(_t, {
41877
41881
  key: 1,
41878
41882
  "active-class": z.activeClass,
41879
41883
  class: Ge(["pt-0", z.scrollY ? "overflow-y-auto" : ""]),
@@ -42247,7 +42251,7 @@ const fP = /* @__PURE__ */ je({
42247
42251
  }, 8, ["bladeName", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "size", "transparent", "variant"]);
42248
42252
  };
42249
42253
  }
42250
- }), mP = /* @__PURE__ */ Vo(cV, [["__scopeId", "data-v-f3d9d7e0"]]), dV = { class: "d-flex align-center" }, vP = /* @__PURE__ */ je({
42254
+ }), mP = /* @__PURE__ */ Vo(cV, [["__scopeId", "data-v-5f530dd5"]]), dV = { class: "d-flex align-center" }, vP = /* @__PURE__ */ je({
42251
42255
  __name: "BT-Dialog-Select",
42252
42256
  setup(e) {
42253
42257
  const t = W(!1), n = W({}), a = W([]), { getValue: l } = py();
@@ -42341,7 +42345,7 @@ const fP = /* @__PURE__ */ je({
42341
42345
  }, {
42342
42346
  default: B(() => [
42343
42347
  Fe("div", dV, [
42344
- T(nt)(n.value.searchProps) ? ($(), Q(Mn, {
42348
+ T(tt)(n.value.searchProps) ? ($(), Q(Mn, {
42345
42349
  key: 0,
42346
42350
  autofocus: "",
42347
42351
  "hide-details": "",
@@ -42359,8 +42363,8 @@ const fP = /* @__PURE__ */ je({
42359
42363
  ]),
42360
42364
  _: 1
42361
42365
  }, 8, ["modelValue"])) : X("", !0),
42362
- T(nt)(n.value.searchProps) ? X("", !0) : ($(), Q(yn, { key: 1 })),
42363
- T(nt)(n.value.searchProps) ? X("", !0) : ($(), Q(xe, {
42366
+ T(tt)(n.value.searchProps) ? X("", !0) : ($(), Q(yn, { key: 1 })),
42367
+ T(tt)(n.value.searchProps) ? X("", !0) : ($(), Q(xe, {
42364
42368
  key: 2,
42365
42369
  onClick: g[2] || (g[2] = dn((b) => T(i).refresh({ deepRefresh: !0 }), ["stop"])),
42366
42370
  icon: "$refresh",
@@ -42458,7 +42462,7 @@ const fP = /* @__PURE__ */ je({
42458
42462
  var b;
42459
42463
  if ($n(i.value))
42460
42464
  return !1;
42461
- if (nt(a.value.rules)) {
42465
+ if (tt(a.value.rules)) {
42462
42466
  let x;
42463
42467
  if ((b = a.value.rules) == null || b.forEach((w) => {
42464
42468
  let C = w(i.value);
@@ -42790,7 +42794,7 @@ export {
42790
42794
  uP as guardRoute,
42791
42795
  hk as hasSearch,
42792
42796
  ik as isArrayOfLength,
42793
- nt as isLengthyArray,
42797
+ tt as isLengthyArray,
42794
42798
  ok as isMinDate,
42795
42799
  $n as isNullOrEmpty,
42796
42800
  sk as isSameDownToHour,