@bagelink/vue 1.10.27 → 1.10.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ var $1 = Object.defineProperty;
2
2
  var S1 = (e, t, n) => t in e ? $1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var pt = (e, t, n) => S1(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as Xs from "vue";
5
- import { defineComponent as Ee, reactive as Zt, provide as Oa, openBlock as $, createElementBlock as L, renderSlot as Ae, ref as R, computed as U, inject as Pr, watch as Fe, normalizeClass as ue, createElementVNode as M, unref as y, createVNode as q, createCommentVNode as z, toDisplayString as le, Transition as ja, withCtx as _e, Fragment as Se, renderList as Ie, createBlock as re, normalizeStyle as ze, createTextVNode as Ze, onMounted as dt, onUnmounted as gn, useSlots as lr, resolveDirective as mn, withDirectives as it, resolveDynamicComponent as Kt, mergeProps as xt, withKeys as Xt, withModifiers as gt, toValue as ut, getCurrentScope as C1, onScopeDispose as E1, nextTick as kt, isRef as mo, getCurrentInstance as Nl, shallowRef as Qr, isVNode as ef, h as At, useCssVars as qc, useModel as on, vModelCheckbox as is, mergeModels as ln, onBeforeUnmount as ga, Teleport as k1, TransitionGroup as ss, normalizeProps as sl, guardReactiveProps as ul, createSlots as Gc, vModelText as va, Comment as T1, Text as gm, resolveComponent as Sn, vModelRadio as A1, vModelDynamic as x1, useAttrs as D1, watchEffect as vm, onUpdated as Yc, isMemoSame as L1, onBeforeUpdate as M1, effectScope as P1, createApp as Ol, pushScopeId as I1, popScopeId as N1, withScopeId as O1, toRaw as R1, toHandlers as F1, markRaw as _m, shallowReactive as V1 } from "vue";
5
+ import { defineComponent as Ee, reactive as Zt, provide as Oa, openBlock as $, createElementBlock as L, renderSlot as Ae, ref as R, computed as U, inject as Pr, watch as Fe, normalizeClass as ue, createElementVNode as M, unref as y, createVNode as q, createCommentVNode as z, toDisplayString as le, Transition as ja, withCtx as _e, Fragment as Se, renderList as Ie, createBlock as re, normalizeStyle as ze, createTextVNode as Ze, onMounted as ct, onUnmounted as hn, useSlots as lr, resolveDirective as gn, withDirectives as it, resolveDynamicComponent as Kt, mergeProps as xt, withKeys as Xt, withModifiers as gt, toValue as ut, getCurrentScope as C1, onScopeDispose as E1, nextTick as kt, isRef as mo, getCurrentInstance as Nl, shallowRef as Qr, isVNode as ef, h as At, useCssVars as qc, useModel as on, vModelCheckbox as is, mergeModels as ln, onBeforeUnmount as ga, Teleport as k1, TransitionGroup as ss, normalizeProps as sl, guardReactiveProps as ul, createSlots as Gc, vModelText as va, Comment as T1, Text as gm, resolveComponent as Sn, vModelRadio as A1, vModelDynamic as x1, useAttrs as D1, watchEffect as vm, onUpdated as Yc, isMemoSame as L1, onBeforeUpdate as M1, effectScope as P1, createApp as Ol, pushScopeId as I1, popScopeId as N1, withScopeId as O1, toRaw as R1, toHandlers as F1, markRaw as _m, shallowReactive as V1 } from "vue";
6
6
  import { RouterLink as B1, useRoute as H1 } from "vue-router";
7
7
  const hF = /* @__PURE__ */ Ee({
8
8
  __name: "Accordion",
@@ -369,9 +369,9 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
369
369
  function i() {
370
370
  l.value = window.innerWidth <= 910;
371
371
  }
372
- dt(() => {
372
+ ct(() => {
373
373
  i(), window.addEventListener("resize", i);
374
- }), gn(() => {
374
+ }), hn(() => {
375
375
  window.removeEventListener("resize", i);
376
376
  });
377
377
  async function s(p) {
@@ -407,7 +407,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
407
407
  return n.disabled || (n.to !== void 0 && n.to !== "" ? p.to = n.to : n.href !== void 0 && n.href !== "" && (p.href = n.href)), (n.to === void 0 || n.to === "") && (n.href === void 0 || n.href === "") && (p.role = n.role, p.type = n.type), p;
408
408
  }), h = lr();
409
409
  return (p, f) => {
410
- const m = mn("ripple");
410
+ const m = gn("ripple");
411
411
  return it(($(), re(Kt(c.value), xt(d.value, {
412
412
  disabled: p.disabled,
413
413
  class: ["bgl_btn", [{
@@ -451,7 +451,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
451
451
  }, null, 8, ["icon", "size", "mobile-size"])) : z("", !0),
452
452
  Ae(p.$slots, "default", {}, void 0, !0),
453
453
  !y(h).default && p.value ? ($(), L(Se, { key: 1 }, [
454
- Ze(le(y(ct)(p.value)), 1)
454
+ Ze(le(y(dt)(p.value)), 1)
455
455
  ], 64)) : z("", !0),
456
456
  p.iconEnd ? ($(), re(y(We), {
457
457
  key: 2,
@@ -580,9 +580,9 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
580
580
  }
581
581
  ), o.value.observe(l.value));
582
582
  }
583
- dt(() => {
583
+ ct(() => {
584
584
  t.animated ? d() : (a.value = !0, n.value = 1);
585
- }), gn(() => {
585
+ }), hn(() => {
586
586
  o.value && o.value.disconnect();
587
587
  });
588
588
  function h(f, m = !1) {
@@ -600,7 +600,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
600
600
  }), `<div class="trendTooltip">${g.join("<p>")}</div>`;
601
601
  }
602
602
  return (f, m) => {
603
- const _ = mn("tooltip");
603
+ const _ = gn("tooltip");
604
604
  return $(), L("div", {
605
605
  ref_key: "chartRef",
606
606
  ref: l,
@@ -827,12 +827,12 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
827
827
  function C(k) {
828
828
  return 1 - (1 - k) ** 3;
829
829
  }
830
- return dt(() => {
830
+ return ct(() => {
831
831
  n.value && (a.value = n.value.clientWidth || 600), t.animated ? O() : l.value = 1;
832
- }), gn(() => {
832
+ }), hn(() => {
833
833
  u && u.disconnect();
834
834
  }), (k, I) => {
835
- const N = mn("tooltip");
835
+ const N = gn("tooltip");
836
836
  return $(), L("div", {
837
837
  ref_key: "chartRef",
838
838
  ref: r,
@@ -999,11 +999,11 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
999
999
  return `rgba(${k}, ${I}, ${N}, ${F})`;
1000
1000
  });
1001
1001
  }), a = R(0), o = R(!1), l = R(), i = R(!1);
1002
- dt(() => {
1002
+ ct(() => {
1003
1003
  n.animated ? u() : a.value = 1;
1004
1004
  });
1005
1005
  let s = null;
1006
- gn(() => {
1006
+ hn(() => {
1007
1007
  s && s.disconnect();
1008
1008
  });
1009
1009
  function u() {
@@ -1134,7 +1134,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${_.toString()}`;
1134
1134
  <p class="bold txt18">${T(x.percentage)}</p></div>`;
1135
1135
  }
1136
1136
  return (x, O) => {
1137
- const F = mn("tooltip");
1137
+ const F = gn("tooltip");
1138
1138
  return $(), L("div", {
1139
1139
  ref_key: "chartRef",
1140
1140
  ref: l,
@@ -1514,7 +1514,7 @@ function hb(e, t, n = {}) {
1514
1514
  );
1515
1515
  }
1516
1516
  function mb(e, t = !0, n) {
1517
- pb() ? dt(e, n) : t ? e() : kt(e);
1517
+ pb() ? ct(e, n) : t ? e() : kt(e);
1518
1518
  }
1519
1519
  function ju(e, t = !1) {
1520
1520
  function n(d, { flush: h = "sync", deep: p = !1, timeout: f, throwOnTimeout: m } = {}) {
@@ -1742,7 +1742,7 @@ function _b(e, t, n = {}) {
1742
1742
  }
1743
1743
  function bb() {
1744
1744
  const e = Qr(!1), t = Nl();
1745
- return t && dt(() => {
1745
+ return t && ct(() => {
1746
1746
  e.value = !0;
1747
1747
  }, t), e;
1748
1748
  }
@@ -2142,7 +2142,7 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2142
2142
  r("close");
2143
2143
  }
2144
2144
  return (d, h) => {
2145
- const p = mn("click-outside");
2145
+ const p = gn("click-outside");
2146
2146
  return d.show && d.event ? it(($(), re(y(Gn), {
2147
2147
  key: 0,
2148
2148
  ref_key: "popoverRef",
@@ -2225,9 +2225,9 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2225
2225
  } else
2226
2226
  r("openPopover", c);
2227
2227
  }
2228
- return dt(() => {
2228
+ return ct(() => {
2229
2229
  o.value && o.value.addEventListener("scroll", s);
2230
- }), gn(() => {
2230
+ }), hn(() => {
2231
2231
  o.value && o.value.removeEventListener("scroll", s);
2232
2232
  }), (c, d) => ($(), L("div", Ib, [
2233
2233
  d[0] || (d[0] = M("div", { class: "agenda-header" }, [
@@ -2340,9 +2340,9 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2340
2340
  } else
2341
2341
  r("openPopover", v);
2342
2342
  }
2343
- return dt(() => {
2343
+ return ct(() => {
2344
2344
  document.addEventListener("mousedown", p), h(), u.value = setInterval(h, 6e4);
2345
- }), gn(() => {
2345
+ }), hn(() => {
2346
2346
  document.removeEventListener("mousedown", p), document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m), u.value && clearInterval(u.value);
2347
2347
  }), (v, b) => ($(), L("div", Ub, [
2348
2348
  M("div", zb, [
@@ -2683,11 +2683,11 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2683
2683
  function F(C) {
2684
2684
  m.value && (m.value.scrollTop = C * oa);
2685
2685
  }
2686
- return dt(() => {
2686
+ return ct(() => {
2687
2687
  P(), c.value = setInterval(P, 6e4), kt(() => {
2688
2688
  F(6);
2689
2689
  });
2690
- }), gn(() => {
2690
+ }), hn(() => {
2691
2691
  document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", E), c.value && clearInterval(c.value);
2692
2692
  }), (C, k) => {
2693
2693
  var I;
@@ -2856,7 +2856,7 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2856
2856
  currentDate: o,
2857
2857
  openPopover: b,
2858
2858
  closePopover: S
2859
- }), dt(() => {
2859
+ }), ct(() => {
2860
2860
  a("ready", h.value);
2861
2861
  }), (w, E) => ($(), L("div", yy, [
2862
2862
  M("div", wy, [
@@ -2962,7 +2962,7 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
2962
2962
  return t.href !== void 0 && t.href !== "" ? a.href = t.href : t.to !== void 0 && t.to !== "" && (a.to = t.to), a;
2963
2963
  }), r = U(() => t.href !== void 0 && t.href !== "" ? "a" : t.to !== void 0 && t.to !== "" ? "router-link" : "div");
2964
2964
  return (a, o) => {
2965
- const l = mn("ripple");
2965
+ const l = gn("ripple");
2966
2966
  return it(($(), re(Kt(r.value), xt(n.value, {
2967
2967
  class: ["bgl_card", {
2968
2968
  thin: a.thin,
@@ -3226,9 +3226,9 @@ const Ab = ["src"], xb = ["autoplay", "muted", "loop", "controls", "playsinline"
3226
3226
  j !== c.value && (k(j, !0), S.value = 0);
3227
3227
  }
3228
3228
  }
3229
- return dt(() => {
3229
+ return ct(() => {
3230
3230
  window.addEventListener("resize", ie), H(), ie(), B(), K(), i.value && (d.value = i.value.children.length), r.autoplay && (E = setInterval(I, r.autoPlaySpeed));
3231
- }), gn(() => {
3231
+ }), hn(() => {
3232
3232
  s.value && i.value && Array.from(i.value.children).forEach((he) => {
3233
3233
  he.removeEventListener("click", W);
3234
3234
  }), window.removeEventListener("resize", ie), document.removeEventListener("mousemove", me), document.removeEventListener("mouseup", Ce), X(), w && clearTimeout(w);
@@ -4078,7 +4078,7 @@ function Wu(e = {}) {
4078
4078
  }), F();
4079
4079
  };
4080
4080
  }
4081
- return gn(() => {
4081
+ return hn(() => {
4082
4082
  p == null || p();
4083
4083
  }), {
4084
4084
  isDragging: t,
@@ -4115,7 +4115,7 @@ const AF = /* @__PURE__ */ Ee({
4115
4115
  });
4116
4116
  return Fe(() => n.modelValue, () => {
4117
4117
  a.value && o(a.value);
4118
- }, { deep: !0 }), dt(() => {
4118
+ }, { deep: !0 }), ct(() => {
4119
4119
  a.value && o(a.value);
4120
4120
  }), (l, i) => ($(), L("div", {
4121
4121
  ref_key: "dragContainer",
@@ -5322,7 +5322,7 @@ const Ow = {
5322
5322
  function X() {
5323
5323
  w() && S();
5324
5324
  }
5325
- return dt(() => {
5325
+ return ct(() => {
5326
5326
  document.addEventListener("pointerdown", F, !0), document.addEventListener("keydown", C), document.addEventListener("scroll", X, { capture: !0, passive: !0 }), r.showGroup && (b.has(r.showGroup) || b.set(r.showGroup, /* @__PURE__ */ new Set()), b.get(r.showGroup).add(T));
5327
5327
  }), ga(() => {
5328
5328
  var W, K;
@@ -7614,7 +7614,7 @@ const _s = /* @__PURE__ */ Ee({
7614
7614
  return !1;
7615
7615
  }
7616
7616
  });
7617
- dt(() => {
7617
+ ct(() => {
7618
7618
  r.modelValue && (s.value = o(r.modelValue), Object.keys(i.value).length === 0 && Object.keys(r.modelValue).length > 0 && (i.value = o(r.modelValue))), setTimeout(() => {
7619
7619
  p();
7620
7620
  }, 10);
@@ -7998,7 +7998,7 @@ const _s = /* @__PURE__ */ Ee({
7998
7998
  l.value.push(n.collapsed || !1);
7999
7999
  } else
8000
8000
  l.value = l.value.slice(0, w);
8001
- }), dt(() => {
8001
+ }), ct(() => {
8002
8002
  (!n.modelValue || n.modelValue.length === 0) && n.defaultValue && n.defaultValue.length > 0 && (i.value = [...n.defaultValue], p()), n.collapsed ? l.value = Array.from({ length: i.value.length }, () => !0) : l.value = Array.from({ length: i.value.length }, () => !1);
8003
8003
  });
8004
8004
  function h() {
@@ -8162,7 +8162,7 @@ const _s = /* @__PURE__ */ Ee({
8162
8162
  emits: ["update:modelValue"],
8163
8163
  setup(e, { emit: t }) {
8164
8164
  const n = e, r = t, { $t: a } = sn(), o = R(Array.isArray(n.modelValue) ? [...n.modelValue] : []), l = R(Array.from({ length: o.value.length }, () => !0)), i = R(null), s = R(null), u = R(0), c = R(Array.from({ length: o.value.length }, () => h())), d = U(() => {
8165
- const F = ct(n.itemLabel);
8165
+ const F = dt(n.itemLabel);
8166
8166
  return typeof F == "string" && F.length > 0 ? F : a("arrayInput.item");
8167
8167
  });
8168
8168
  function h() {
@@ -8243,9 +8243,9 @@ const _s = /* @__PURE__ */ Ee({
8243
8243
  });
8244
8244
  }
8245
8245
  return (F, C) => {
8246
- const k = mn("tooltip");
8246
+ const k = gn("tooltip");
8247
8247
  return $(), L("div", null, [
8248
- F.label ? ($(), L("label", R2, le(y(ct)(F.label)), 1)) : z("", !0),
8248
+ F.label ? ($(), L("label", R2, le(y(dt)(F.label)), 1)) : z("", !0),
8249
8249
  F.helpText ? ($(), L("p", F2, le(F.helpText), 1)) : z("", !0),
8250
8250
  F.collapsible ? z("", !0) : ($(!0), L(Se, { key: 2 }, Ie(o.value, (I, N) => ($(), L("div", {
8251
8251
  key: N,
@@ -8261,7 +8261,7 @@ const _s = /* @__PURE__ */ Ee({
8261
8261
  icon: "delete",
8262
8262
  onClick: (V) => g(N)
8263
8263
  }, null, 8, ["onClick"])), [
8264
- [k, y(ct)(F.deleteTooltip || "Delete")]
8264
+ [k, y(dt)(F.deleteTooltip || "Delete")]
8265
8265
  ]) : z("", !0)
8266
8266
  ]))), 128)),
8267
8267
  F.collapsible ? ($(), re(ss, {
@@ -8290,7 +8290,7 @@ const _s = /* @__PURE__ */ Ee({
8290
8290
  onDragstart: (V) => S(V, N),
8291
8291
  onDragend: T
8292
8292
  }, null, 8, ["onDragstart"])), [
8293
- [k, y(ct)("Drag to reorder")]
8293
+ [k, y(dt)("Drag to reorder")]
8294
8294
  ]) : z("", !0),
8295
8295
  q(y(ce), {
8296
8296
  "full-width": "",
@@ -8310,10 +8310,10 @@ const _s = /* @__PURE__ */ Ee({
8310
8310
  flat: "",
8311
8311
  icon: "delete",
8312
8312
  thin: "",
8313
- confirm: y(ct)("Are you sure you want to delete this item?"),
8313
+ confirm: y(dt)("Are you sure you want to delete this item?"),
8314
8314
  onClick: (V) => g(N)
8315
8315
  }, null, 8, ["confirm", "onClick"])), [
8316
- [k, y(ct)(F.deleteTooltip || "Delete")]
8316
+ [k, y(dt)(F.deleteTooltip || "Delete")]
8317
8317
  ]) : z("", !0)
8318
8318
  ]),
8319
8319
  q(ja, { name: "array-collapse" }, {
@@ -8335,7 +8335,7 @@ const _s = /* @__PURE__ */ Ee({
8335
8335
  key: 4,
8336
8336
  thin: "",
8337
8337
  icon: "add",
8338
- value: y(ct)(F.addText || "Add"),
8338
+ value: y(dt)(F.addText || "Add"),
8339
8339
  onClick: _
8340
8340
  }, null, 8, ["value"])) : z("", !0)
8341
8341
  ]);
@@ -8378,7 +8378,7 @@ const _s = /* @__PURE__ */ Ee({
8378
8378
  emits: ["update:modelValue"],
8379
8379
  setup(e) {
8380
8380
  const t = U(() => e.id || Math.random().toString(36).slice(7)), n = on(e, "modelValue");
8381
- return dt(() => {
8381
+ return ct(() => {
8382
8382
  n.value === void 0 && e.defaultValue !== void 0 && (n.value = e.defaultValue);
8383
8383
  }), (r, a) => ($(), L("div", {
8384
8384
  class: ue(["bagel-input bgl-checkbox align-items-center ps-025", { small: r.small }]),
@@ -8399,7 +8399,7 @@ const _s = /* @__PURE__ */ Ee({
8399
8399
  for: t.value + r.value
8400
8400
  }, [
8401
8401
  Ae(r.$slots, "label", {}, () => [
8402
- Ze(le(y(ct)(r.label)), 1)
8402
+ Ze(le(y(dt)(r.label)), 1)
8403
8403
  ], !0)
8404
8404
  ], 8, G2)
8405
8405
  ], 10, W2));
@@ -8520,7 +8520,7 @@ const K2 = {
8520
8520
  S.selectionStart = w + 2, S.selectionEnd = w + 2;
8521
8521
  }, 0);
8522
8522
  }
8523
- dt(async () => {
8523
+ ct(async () => {
8524
8524
  await c();
8525
8525
  }), Fe(() => n.theme, (b) => {
8526
8526
  h(b);
@@ -8591,7 +8591,7 @@ const K2 = {
8591
8591
  title: l.label
8592
8592
  }, [
8593
8593
  M("label", null, [
8594
- Ze(le(y(ct)(l.label)) + " ", 1),
8594
+ Ze(le(y(dt)(l.label)) + " ", 1),
8595
8595
  M("div", {
8596
8596
  class: ue(["flex rounded colorInputPickWrap", { "px-025 bg-input": !l.small }])
8597
8597
  }, [
@@ -8600,7 +8600,7 @@ const K2 = {
8600
8600
  "onUpdate:modelValue": i[0] || (i[0] = (s) => o.value = s),
8601
8601
  class: ["border", { "no-edit": !l.editMode, "opacity-1": !o.value }],
8602
8602
  type: "color",
8603
- placeholder: y(ct)(l.placeholder) || y(ct)(l.label),
8603
+ placeholder: y(dt)(l.placeholder) || y(dt)(l.label),
8604
8604
  required: l.required
8605
8605
  }, l.nativeInputAttrs), null, 16, r$), [
8606
8606
  [va, o.value]
@@ -9425,14 +9425,14 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9425
9425
  s = !0, i.value = !1, setTimeout(() => {
9426
9426
  s = !1;
9427
9427
  }, 200);
9428
- }, { ignore: [c] }), dt(() => {
9428
+ }, { ignore: [c] }), ct(() => {
9429
9429
  r.value === void 0 && t.defaultValue !== void 0 && (r.value = t.defaultValue);
9430
9430
  }), (w, E) => ($(), L("div", {
9431
9431
  class: ue(["bagel-input", { small: w.small, "has-error": !!w.error || !o.value, underlined: w.underlined, "has-value": S.value, open: i.value }])
9432
9432
  }, [
9433
9433
  M("label", null, [
9434
9434
  w.label || w.underlined && w.placeholder ? ($(), L("span", _$, [
9435
- Ze(le(y(ct)(w.label || w.placeholder)), 1),
9435
+ Ze(le(y(dt)(w.label || w.placeholder)), 1),
9436
9436
  w.required ? ($(), L("span", b$, " *")) : z("", !0)
9437
9437
  ])) : z("", !0),
9438
9438
  q(y(Xn), {
@@ -9452,7 +9452,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9452
9452
  modelValue: a.value,
9453
9453
  "onUpdate:modelValue": E[0] || (E[0] = (T) => a.value = T),
9454
9454
  iconStart: "calendar",
9455
- placeholder: w.underlined ? " " : y(ct)(w.placeholder) || (w.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY"),
9455
+ placeholder: w.underlined ? " " : y(dt)(w.placeholder) || (w.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY"),
9456
9456
  required: w.underlined ? !1 : w.required,
9457
9457
  disabled: !w.editMode,
9458
9458
  error: o.value ? w.error : y(n)("date.invalidFormat"),
@@ -9707,13 +9707,13 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9707
9707
  const C = s.value;
9708
9708
  return C !== void 0 && C !== "" && String(C).length > 0;
9709
9709
  });
9710
- return dt(() => {
9710
+ return ct(() => {
9711
9711
  r.autofocus && setTimeout(() => {
9712
9712
  var C;
9713
9713
  return (C = f.value) == null ? void 0 : C.focus();
9714
9714
  }, 10);
9715
9715
  }), (C, k) => {
9716
- const I = mn("pattern");
9716
+ const I = gn("pattern");
9717
9717
  return $(), L("div", {
9718
9718
  class: ue(["bagel-input text-input", {
9719
9719
  small: C.small,
@@ -9729,7 +9729,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9729
9729
  }, [
9730
9730
  M("label", { for: C.id }, [
9731
9731
  C.label || C.underlined && C.placeholder ? ($(), L("span", E$, [
9732
- Ze(le(y(ct)(C.label) || y(ct)(C.placeholder)), 1),
9732
+ Ze(le(y(dt)(C.label) || y(dt)(C.placeholder)), 1),
9733
9733
  C.required ? ($(), L("span", k$, " *")) : z("", !0)
9734
9734
  ])) : z("", !0),
9735
9735
  C.underlined ? z("", !0) : ($(), L("div", T$, [
@@ -9751,7 +9751,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9751
9751
  title: C.title,
9752
9752
  autocomplete: "email",
9753
9753
  type: "email",
9754
- placeholder: C.underlined ? " " : y(ct)(C.placeholder) || y(ct)(C.label),
9754
+ placeholder: C.underlined ? " " : y(dt)(C.placeholder) || y(dt)(C.label),
9755
9755
  disabled: C.disabled,
9756
9756
  required: C.required
9757
9757
  }, C.nativeInputAttrs, {
@@ -9807,7 +9807,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9807
9807
  M("textarea", {
9808
9808
  value: a.modelValue,
9809
9809
  class: ue({ "no-edit": !a.editMode }),
9810
- placeholder: y(ct)(a.placeholder),
9810
+ placeholder: y(dt)(a.placeholder),
9811
9811
  onInput: r
9812
9812
  }, null, 42, N$)
9813
9813
  ], 10, P$);
@@ -9980,7 +9980,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9980
9980
  emits: ["update:modelValue"],
9981
9981
  setup(e, { emit: t }) {
9982
9982
  const n = t, r = R();
9983
- dt(() => {
9983
+ ct(() => {
9984
9984
  const m = e.modelValue !== void 0 ? Number.parseFloat(`${e.modelValue}`) : void 0, _ = e.defaultValue !== void 0 ? Number.parseFloat(`${e.defaultValue}`) : void 0;
9985
9985
  r.value = m ?? _;
9986
9986
  });
@@ -10039,7 +10039,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
10039
10039
  return !!(m && String(m).length > 0);
10040
10040
  });
10041
10041
  return (m, _) => {
10042
- const g = mn("pattern");
10042
+ const g = gn("pattern");
10043
10043
  return $(), L("div", {
10044
10044
  class: ue(["bagel-input num-input", {
10045
10045
  textInputSpinnerWrap: m.icon || m.spinner,
@@ -10052,7 +10052,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
10052
10052
  M("div", { for: m.id }, [
10053
10053
  m.label || m.underlined && m.placeholder ? ($(), L("label", z$, [
10054
10054
  M("span", j$, [
10055
- Ze(le(y(ct)(m.label) || y(ct)(m.placeholder)), 1),
10055
+ Ze(le(y(dt)(m.label) || y(dt)(m.placeholder)), 1),
10056
10056
  m.required ? ($(), L("span", W$, " *")) : z("", !0)
10057
10057
  ])
10058
10058
  ])) : z("", !0),
@@ -10076,7 +10076,7 @@ const l$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
10076
10076
  min0: m.layout,
10077
10077
  "bgl-number-input": m.layout !== "vertical" && m.layout !== "horizontal"
10078
10078
  }),
10079
- placeholder: m.underlined ? " " : y(ct)(m.placeholder) || y(ct)(m.label),
10079
+ placeholder: m.underlined ? " " : y(dt)(m.placeholder) || y(dt)(m.label),
10080
10080
  disabled: m.disabled,
10081
10081
  required: m.required,
10082
10082
  readonly: m.disabled,
@@ -11769,7 +11769,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
11769
11769
  return [...f != null && f !== "" ? [f] : [], ...m].join(" ");
11770
11770
  });
11771
11771
  return (p, f) => {
11772
- const m = mn("tooltip");
11772
+ const m = gn("tooltip");
11773
11773
  return $(), L("div", {
11774
11774
  class: ue(["relative passwordInput", { "relative mb-2": t.strengthMeter, "has-error": !!t.error, underlined: t.underlined }])
11775
11775
  }, [
@@ -11880,7 +11880,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
11880
11880
  class: ue(c.value)
11881
11881
  }, [
11882
11882
  f.label ? ($(), L("p", _S, [
11883
- Ze(le(y(ct)(f.label)) + " ", 1),
11883
+ Ze(le(y(dt)(f.label)) + " ", 1),
11884
11884
  f.required ? ($(), L("span", bS, "*")) : z("", !0)
11885
11885
  ])) : z("", !0),
11886
11886
  ($(!0), L(Se, null, Ie(i.value, (_, g) => ($(), L("label", {
@@ -11985,7 +11985,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
11985
11985
  return (b, S) => ($(), L("div", {
11986
11986
  dir: b.rtl ? "rtl" : "ltr"
11987
11987
  }, [
11988
- n.label ? ($(), L("label", xS, le(y(ct)(n.label)), 1)) : z("", !0),
11988
+ n.label ? ($(), L("label", xS, le(y(dt)(n.label)), 1)) : z("", !0),
11989
11989
  M("div", DS, [
11990
11990
  M("input", {
11991
11991
  id: b.id,
@@ -12118,7 +12118,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12118
12118
  },
12119
12119
  emits: ["update:modelValue"],
12120
12120
  setup(e, { emit: t }) {
12121
- const n = e, r = t, { $t: a } = sn(), o = (I) => typeof I == "function", l = R(), i = R(), s = R([]), u = (I) => ng(I), c = (I) => Zo(I), d = U(() => s.value.length ?? 0), h = R(""), p = R(), f = R(!1), m = R(!1), _ = U(() => ct(n.placeholder) ?? a("select.placeholder")), g = U(() => d.value === 0 ? _.value : d.value > 4 ? `${s.value.slice(0, 4).map((N) => u(N)).join(", ")}... +${d.value - 4}` : s.value.map((I) => u(I)).join(", ")), v = U(() => n.searchPlaceholder ?? g.value ?? a("select.search")), { results: b, isLoading: S } = cF({
12121
+ const n = e, r = t, { $t: a } = sn(), o = (I) => typeof I == "function", l = R(), i = R(), s = R([]), u = (I) => ng(I), c = (I) => Zo(I), d = U(() => s.value.length ?? 0), h = R(""), p = R(), f = R(!1), m = R(!1), _ = U(() => dt(n.placeholder) ?? a("select.placeholder")), g = U(() => d.value === 0 ? _.value : d.value > 4 ? `${s.value.slice(0, 4).map((N) => u(N)).join(", ")}... +${d.value - 4}` : s.value.map((I) => u(I)).join(", ")), v = U(() => n.searchPlaceholder ?? g.value ?? a("select.search")), { results: b, isLoading: S } = cF({
12122
12122
  searchTerm: () => h.value,
12123
12123
  serverSearch: o(n.options) ? n.options : void 0,
12124
12124
  items: () => Array.isArray(n.options) ? n.options : [],
@@ -12230,7 +12230,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12230
12230
  });
12231
12231
  },
12232
12232
  { deep: !0 }
12233
- ), dt(() => {
12233
+ ), ct(() => {
12234
12234
  const I = n.options;
12235
12235
  if (n.modelValue == null && n.defaultValue !== void 0 && Array.isArray(I)) {
12236
12236
  const N = I.find(
@@ -12254,7 +12254,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12254
12254
  trigger: _e(() => [
12255
12255
  M("label", null, [
12256
12256
  I.label || I.underlined && I.placeholder ? ($(), L("span", RS, [
12257
- Ze(le(y(ct)(I.label) || y(ct)(I.placeholder)), 1),
12257
+ Ze(le(y(dt)(I.label) || y(dt)(I.placeholder)), 1),
12258
12258
  I.required ? ($(), L("span", FS, " *")) : z("", !0)
12259
12259
  ])) : z("", !0),
12260
12260
  M("div", VS, [
@@ -12290,7 +12290,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12290
12290
  key: 0,
12291
12291
  icon: I.icon
12292
12292
  }, null, 8, ["icon"])) : z("", !0),
12293
- I.hideLabel ? z("", !0) : ($(), L("p", HS, le(d.value > 0 ? g.value : I.underlined ? "" : y(ct)(I.placeholder) || "Select..."), 1)),
12293
+ I.hideLabel ? z("", !0) : ($(), L("p", HS, le(d.value > 0 ? g.value : I.underlined ? "" : y(dt)(I.placeholder) || "Select..."), 1)),
12294
12294
  I.clearable && d.value > 0 ? ($(), L("div", US, [
12295
12295
  q(y(ce), {
12296
12296
  flat: "",
@@ -12499,7 +12499,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12499
12499
  const m = l.value;
12500
12500
  return m !== void 0 && m !== "" && String(m).length > 0;
12501
12501
  });
12502
- return dt(async () => {
12502
+ return ct(async () => {
12503
12503
  var m;
12504
12504
  r.autofocus && (await wm(() => i.value).toBeTruthy(), await _o(400), (m = i.value) == null || m.focus()), r.autoheight && (await kt(), c());
12505
12505
  }), (m, _) => ($(), L("div", {
@@ -12518,7 +12518,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12518
12518
  }, [
12519
12519
  M("label", { for: m.id }, [
12520
12520
  m.label || m.underlined && m.placeholder ? ($(), L("span", ZS, [
12521
- Ze(le(y(ct)(m.label) || y(ct)(m.placeholder)), 1),
12521
+ Ze(le(y(dt)(m.label) || y(dt)(m.placeholder)), 1),
12522
12522
  m.required ? ($(), L("span", QS, " *")) : z("", !0)
12523
12523
  ])) : z("", !0),
12524
12524
  !m.multiline && !m.autoheight && !m.code && s.value < 2 ? it(($(), L("input", xt({
@@ -12532,7 +12532,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12532
12532
  autocomplete: m.autocomplete,
12533
12533
  type: m.type,
12534
12534
  rows: 1,
12535
- placeholder: m.underlined ? " " : y(ct)(m.placeholder) || y(ct)(m.label),
12535
+ placeholder: m.underlined ? " " : y(dt)(m.placeholder) || y(dt)(m.label),
12536
12536
  disabled: m.disabled,
12537
12537
  required: m.required
12538
12538
  }, m.nativeInputAttrs, {
@@ -12559,7 +12559,7 @@ const Cg = () => (/* @__PURE__ */ new Date()).getTime(), dS = (e, t, n) => {
12559
12559
  title: m.title,
12560
12560
  type: m.type,
12561
12561
  rows: s.value,
12562
- placeholder: m.underlined ? " " : y(ct)(m.placeholder) || y(ct)(m.label),
12562
+ placeholder: m.underlined ? " " : y(dt)(m.placeholder) || y(dt)(m.label),
12563
12563
  disabled: m.disabled,
12564
12564
  required: m.required
12565
12565
  }, m.nativeInputAttrs, {
@@ -14373,7 +14373,7 @@ function NE(e = {}) {
14373
14373
  i(p.target.files), d && u();
14374
14374
  }, h.click();
14375
14375
  }
14376
- return dt(() => {
14376
+ return ct(() => {
14377
14377
  const d = ut(e.dirPath);
14378
14378
  d && au.list(d).then((h) => {
14379
14379
  const p = Array.isArray(h.data) ? h.data : [h.data];
@@ -14480,7 +14480,7 @@ const OE = { class: "bagel-input" }, RE = { key: 0 }, FE = {
14480
14480
  return !v || typeof v != "string" ? "file" : v.split("/").pop() || "file";
14481
14481
  }
14482
14482
  return (v, b) => {
14483
- const S = mn("tooltip"), w = mn("lightbox");
14483
+ const S = gn("tooltip"), w = gn("lightbox");
14484
14484
  return $(), L("div", OE, [
14485
14485
  v.label ? ($(), L("label", RE, le(v.label), 1)) : z("", !0),
14486
14486
  v.required && !y(l).length ? ($(), L("input", FE)) : z("", !0),
@@ -14702,7 +14702,7 @@ const OE = { class: "bagel-input" }, RE = { key: 0 }, FE = {
14702
14702
  size: "2.5",
14703
14703
  class: "user-select-none"
14704
14704
  }, null, 8, ["name"])) : z("", !0),
14705
- M("span", ek, le(y(ct)(v.placeholder) || y(a)("upload.dropPlaceholder")), 1)
14705
+ M("span", ek, le(y(dt)(v.placeholder) || y(a)("upload.dropPlaceholder")), 1)
14706
14706
  ])
14707
14707
  ], !0) : z("", !0)
14708
14708
  ], 38))
@@ -14982,7 +14982,7 @@ const OE = { class: "bagel-input" }, RE = { key: 0 }, FE = {
14982
14982
  n("action", "insertTable");
14983
14983
  }
14984
14984
  return (d, h) => {
14985
- const p = mn("tooltip");
14985
+ const p = gn("tooltip");
14986
14986
  return $(), L("div", fk, [
14987
14987
  ($(!0), L(Se, null, Ie(d.config.map(l).filter(Boolean), (f, m) => ($(), L(Se, { key: m }, [
14988
14988
  f.name === "insertTable" && !o("insertTable") ? ($(), re(dk, {
@@ -16633,7 +16633,7 @@ const Mk = { key: 0 }, Pk = {
16633
16633
  return r.textColor || (A && A.length > 0 && A !== "#000" ? A : "inherit");
16634
16634
  });
16635
16635
  let f = null;
16636
- dt(() => {
16636
+ ct(() => {
16637
16637
  typeof document < "u" && (f = new MutationObserver((A) => {
16638
16638
  let D = !1;
16639
16639
  A.forEach((J) => {
@@ -17567,7 +17567,7 @@ const Mk = { key: 0 }, Pk = {
17567
17567
  J && J.closest("table") && (A.preventDefault(), oe.value = J, K.value = { x: A.clientX, y: A.clientY }, W.value = !0);
17568
17568
  }
17569
17569
  const No = U(() => i.state.debug), Xl = U(() => ke.test(r.modelValue)), Kl = U(() => typeof r.height == "number" ? `${r.height}px` : typeof r.height == "string" ? r.height : "240px");
17570
- gn(() => {
17570
+ hn(() => {
17571
17571
  i.cleanup();
17572
17572
  });
17573
17573
  function G(A) {
@@ -19071,7 +19071,7 @@ const Mk = { key: 0 }, Pk = {
19071
19071
  }
19072
19072
  return (o, l) => ($(), L("div", aT, [
19073
19073
  o.label || o.required ? ($(), L("label", oT, [
19074
- Ze(le(y(ct)(o.label)), 1),
19074
+ Ze(le(y(dt)(o.label)), 1),
19075
19075
  o.required ? ($(), L("span", lT, " *")) : z("", !0)
19076
19076
  ])) : z("", !0),
19077
19077
  M("div", iT, [
@@ -19574,7 +19574,7 @@ const fT = ["disabled"], pT = ["required"], pV = /* @__PURE__ */ Ee({
19574
19574
  function S() {
19575
19575
  l.value = new Vi(o.value, m.value), b(), n.disabled ? l.value.off() : l.value.on(), i.value = l.value.isEmpty(), a.value && v(a.value);
19576
19576
  }
19577
- return dt(S), Sm(() => o.value, b), lo(() => l.value, "endStroke", g), t({
19577
+ return ct(S), Sm(() => o.value, b), lo(() => l.value, "endStroke", g), t({
19578
19578
  save: u,
19579
19579
  clear: s,
19580
19580
  isEmpty: h,
@@ -20037,7 +20037,7 @@ var TT = ["evt"], Dn = function(t, n) {
20037
20037
  cloneEl: Gt,
20038
20038
  cloneHidden: da,
20039
20039
  dragStarted: qo,
20040
- putSortable: hn,
20040
+ putSortable: mn,
20041
20041
  activeSortable: ot.active,
20042
20042
  originalEvent: a,
20043
20043
  oldIndex: ao,
@@ -20063,7 +20063,7 @@ var TT = ["evt"], Dn = function(t, n) {
20063
20063
  };
20064
20064
  function En(e) {
20065
20065
  kT(Or({
20066
- putSortable: hn,
20066
+ putSortable: mn,
20067
20067
  cloneEl: Gt,
20068
20068
  targetEl: Ve,
20069
20069
  rootEl: Bt,
@@ -20073,7 +20073,7 @@ function En(e) {
20073
20073
  newDraggableIndex: ua
20074
20074
  }, e));
20075
20075
  }
20076
- var Ve, qt, ht, Bt, Aa, _i, Gt, da, ao, Hn, tl, ua, Ql, hn, to = !1, Hi = !1, Ui = [], Ca, ir, su, uu, np, rp, qo, Ya, nl, rl = !1, ei = !1, bi, bn, cu = [], oc = !1, zi = [], ks = typeof document < "u", ti = Zg, ap = Bl || ra ? "cssFloat" : "float", AT = ks && !_T && !Zg && "draggable" in document.createElement("div"), av = function() {
20076
+ var Ve, qt, ht, Bt, Aa, _i, Gt, da, ao, Hn, tl, ua, Ql, mn, to = !1, Hi = !1, Ui = [], Ca, ir, su, uu, np, rp, qo, Ya, nl, rl = !1, ei = !1, bi, bn, cu = [], oc = !1, zi = [], ks = typeof document < "u", ti = Zg, ap = Bl || ra ? "cssFloat" : "float", AT = ks && !_T && !Zg && "draggable" in document.createElement("div"), av = function() {
20077
20077
  if (ks) {
20078
20078
  if (ra)
20079
20079
  return !1;
@@ -20392,7 +20392,7 @@ ot.prototype = /** @lends Sortable.prototype */
20392
20392
  },
20393
20393
  // Returns true - if no further action is needed (either inserted or another condition)
20394
20394
  _onDragOver: function(t) {
20395
- var n = this.el, r = t.target, a, o, l, i = this.options, s = i.group, u = ot.active, c = Ql === s, d = i.sort, h = hn || u, p, f = this, m = !1;
20395
+ var n = this.el, r = t.target, a, o, l, i = this.options, s = i.group, u = ot.active, c = Ql === s, d = i.sort, h = mn || u, p, f = this, m = !1;
20396
20396
  if (oc) return;
20397
20397
  function _(B, pe) {
20398
20398
  Dn(B, f, Or({
@@ -20418,7 +20418,7 @@ ot.prototype = /** @lends Sortable.prototype */
20418
20418
  function v(B) {
20419
20419
  return _("dragOverCompleted", {
20420
20420
  insertion: B
20421
- }), B && (c ? u._hideClone() : u._showClone(f), f !== h && (Bn(Ve, hn ? hn.options.ghostClass : u.options.ghostClass, !1), Bn(Ve, i.ghostClass, !0)), hn !== f && f !== ot.active ? hn = f : f === ot.active && hn && (hn = null), h === f && (f._ignoreWhileAnimating = r), f.animateAll(function() {
20421
+ }), B && (c ? u._hideClone() : u._showClone(f), f !== h && (Bn(Ve, mn ? mn.options.ghostClass : u.options.ghostClass, !1), Bn(Ve, i.ghostClass, !0)), mn !== f && f !== ot.active ? mn = f : f === ot.active && mn && (mn = null), h === f && (f._ignoreWhileAnimating = r), f.animateAll(function() {
20422
20422
  _("dragOverAnimationComplete"), f._ignoreWhileAnimating = null;
20423
20423
  }), f !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (r === Ve && !Ve.animated || r === n && !r.animated) && (Ya = null), !i.dragoverBubble && !t.rootEl && r !== document && (Ve.parentNode[jn]._isOutsideThisEl(t.target), !B && Ea(t)), !i.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
20424
20424
  }
@@ -20435,7 +20435,7 @@ ot.prototype = /** @lends Sortable.prototype */
20435
20435
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), r = Cr(r, i.draggable, n, !0), _("dragOver"), ot.eventCanceled) return m;
20436
20436
  if (Ve.contains(t.target) || r.animated && r.animatingX && r.animatingY || f._ignoreWhileAnimating === r)
20437
20437
  return v(!1);
20438
- if (Hi = !1, u && !i.disabled && (c ? d || (l = qt !== Bt) : hn === this || (this.lastPutMode = Ql.checkPull(this, u, Ve, t)) && s.checkPut(this, u, Ve, t))) {
20438
+ if (Hi = !1, u && !i.disabled && (c ? d || (l = qt !== Bt) : mn === this || (this.lastPutMode = Ql.checkPull(this, u, Ve, t)) && s.checkPut(this, u, Ve, t))) {
20439
20439
  if (p = this._getDirection(t, r) === "vertical", a = cn(Ve), _("dragOverValid"), ot.eventCanceled) return m;
20440
20440
  if (l)
20441
20441
  return qt = Bt, g(), this._hideClone(), _("revert"), ot.eventCanceled || (Aa ? Bt.insertBefore(Ve, Aa) : Bt.appendChild(Ve)), v(!0);
@@ -20492,7 +20492,7 @@ ot.prototype = /** @lends Sortable.prototype */
20492
20492
  this._nulling();
20493
20493
  return;
20494
20494
  }
20495
- to = !1, ei = !1, rl = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), lc(this.cloneId), lc(this._dragStartId), this.nativeDraggable && (St(document, "drop", this), St(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Qo && at(document.body, "user-select", ""), at(Ve, "transform", ""), t && (qo && (t.cancelable && t.preventDefault(), !r.dropBubble && t.stopPropagation()), ht && ht.parentNode && ht.parentNode.removeChild(ht), (Bt === qt || hn && hn.lastPutMode !== "clone") && Gt && Gt.parentNode && Gt.parentNode.removeChild(Gt), Ve && (this.nativeDraggable && St(Ve, "dragend", this), du(Ve), Ve.style["will-change"] = "", qo && !to && Bn(Ve, hn ? hn.options.ghostClass : this.options.ghostClass, !1), Bn(Ve, this.options.chosenClass, !1), En({
20495
+ to = !1, ei = !1, rl = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), lc(this.cloneId), lc(this._dragStartId), this.nativeDraggable && (St(document, "drop", this), St(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Qo && at(document.body, "user-select", ""), at(Ve, "transform", ""), t && (qo && (t.cancelable && t.preventDefault(), !r.dropBubble && t.stopPropagation()), ht && ht.parentNode && ht.parentNode.removeChild(ht), (Bt === qt || mn && mn.lastPutMode !== "clone") && Gt && Gt.parentNode && Gt.parentNode.removeChild(Gt), Ve && (this.nativeDraggable && St(Ve, "dragend", this), du(Ve), Ve.style["will-change"] = "", qo && !to && Bn(Ve, mn ? mn.options.ghostClass : this.options.ghostClass, !1), Bn(Ve, this.options.chosenClass, !1), En({
20496
20496
  sortable: this,
20497
20497
  name: "unchoose",
20498
20498
  toEl: qt,
@@ -20521,7 +20521,7 @@ ot.prototype = /** @lends Sortable.prototype */
20521
20521
  name: "sort",
20522
20522
  toEl: qt,
20523
20523
  originalEvent: t
20524
- })), hn && hn.save()) : Hn !== ao && Hn >= 0 && (En({
20524
+ })), mn && mn.save()) : Hn !== ao && Hn >= 0 && (En({
20525
20525
  sortable: this,
20526
20526
  name: "update",
20527
20527
  toEl: qt,
@@ -20539,7 +20539,7 @@ ot.prototype = /** @lends Sortable.prototype */
20539
20539
  }), this.save()))), this._nulling();
20540
20540
  },
20541
20541
  _nulling: function() {
20542
- Dn("nulling", this), Bt = Ve = qt = ht = Aa = Gt = _i = da = Ca = ir = qo = Hn = ua = ao = tl = Ya = nl = hn = Ql = ot.dragged = ot.ghost = ot.clone = ot.active = null, zi.forEach(function(t) {
20542
+ Dn("nulling", this), Bt = Ve = qt = ht = Aa = Gt = _i = da = Ca = ir = qo = Hn = ua = ao = tl = Ya = nl = mn = Ql = ot.dragged = ot.ghost = ot.clone = ot.active = null, zi.forEach(function(t) {
20543
20543
  t.checked = !0;
20544
20544
  }), zi.length = su = uu = 0;
20545
20545
  },
@@ -21187,7 +21187,7 @@ const ZT = {
21187
21187
  p.idx = f + 1;
21188
21188
  }), r("update:modelValue", l.value);
21189
21189
  }
21190
- return dt(() => {
21190
+ return ct(() => {
21191
21191
  a = n.bagelApp || o;
21192
21192
  }), (p, f) => {
21193
21193
  var _, g;
@@ -22926,7 +22926,7 @@ const c5 = {
22926
22926
  }), p = U(() => {
22927
22927
  var C;
22928
22928
  return (C = i.value) == null ? void 0 : C.iso2;
22929
- }), f = U(() => n.placeholder ? ct(n.placeholder) : i.value ? `+${i.value.dialCode} ${ct(n.label) || a("tel.phoneNumber")}` : ct(n.label) || a("tel.phoneNumber"));
22929
+ }), f = U(() => n.placeholder ? dt(n.placeholder) : i.value ? `+${i.value.dialCode} ${dt(n.label) || a("tel.phoneNumber")}` : dt(n.label) || a("tel.phoneNumber"));
22930
22930
  function m(C) {
22931
22931
  if (i.value = C, u.value = !1, l.value = "", !o.value)
22932
22932
  n.required && (o.value = `+${i.value.dialCode}`);
@@ -23020,14 +23020,14 @@ const c5 = {
23020
23020
  return (C = s.value) == null ? void 0 : C.focus();
23021
23021
  }, 100);
23022
23022
  }
23023
- return dt(w), (C, k) => {
23024
- const I = mn("pattern");
23023
+ return ct(w), (C, k) => {
23024
+ const I = gn("pattern");
23025
23025
  return $(), L("div", {
23026
23026
  class: ue(["bagel-input text-input", { invalid: !d.value, "has-error": !!C.error, underlined: C.underlined, "has-value": O.value }])
23027
23027
  }, [
23028
23028
  M("label", null, [
23029
23029
  C.label || C.underlined && C.placeholder ? ($(), L("span", c5, [
23030
- Ze(le(y(ct)(C.label) || y(ct)(C.placeholder)), 1),
23030
+ Ze(le(y(dt)(C.label) || y(dt)(C.placeholder)), 1),
23031
23031
  C.required ? ($(), L("span", d5, " *")) : z("", !0)
23032
23032
  ])) : z("", !0),
23033
23033
  M("div", {
@@ -23141,7 +23141,7 @@ const c5 = {
23141
23141
  emits: ["update:modelValue"],
23142
23142
  setup(e) {
23143
23143
  const t = e, n = U(() => t.id || Math.random().toString(36).slice(7)), r = on(e, "modelValue");
23144
- return dt(() => {
23144
+ return ct(() => {
23145
23145
  }), (a, o) => ($(), L("div", {
23146
23146
  class: ue(["bagel-input bgl-toggle", { small: a.small }]),
23147
23147
  title: a.title
@@ -23161,7 +23161,7 @@ const c5 = {
23161
23161
  ]),
23162
23162
  M("label", { for: n.value }, [
23163
23163
  Ae(a.$slots, "label", {}, () => [
23164
- Ze(le(y(ct)(a.label)), 1)
23164
+ Ze(le(y(dt)(a.label)), 1)
23165
23165
  ], !0)
23166
23166
  ], 8, $5)
23167
23167
  ], 10, y5));
@@ -27632,7 +27632,7 @@ const c5 = {
27632
27632
  const g = await h("Font Awesome 6 Brands");
27633
27633
  u.value = g;
27634
27634
  }
27635
- dt(() => {
27635
+ ct(() => {
27636
27636
  if (d())
27637
27637
  if (o.value === "material") {
27638
27638
  const g = c();
@@ -27703,7 +27703,7 @@ const c5 = {
27703
27703
  var u;
27704
27704
  s.source === ((u = a.value) == null ? void 0 : u.contentWindow) && o(s);
27705
27705
  }
27706
- return dt(() => {
27706
+ return ct(() => {
27707
27707
  window.addEventListener("message", l);
27708
27708
  }), ga(() => {
27709
27709
  window.removeEventListener("message", l);
@@ -28377,7 +28377,7 @@ ${D.length} values could not be automatically matched.`);
28377
28377
  return He.value[de] = Ce[G][Y.id], $e;
28378
28378
  }
28379
28379
  return (G, Y) => {
28380
- const xe = mn("tooltip");
28380
+ const xe = gn("tooltip");
28381
28381
  return $(), re(y(Gn), { class: "upload-data-container h-100p grid overflow-hidden list-wrap" }, {
28382
28382
  default: _e(() => [
28383
28383
  M("h2", {
@@ -29038,9 +29038,9 @@ ${D.length} values could not be automatically matched.`);
29038
29038
  closeOnMobile: l,
29039
29039
  sidebarWidth: t.sidebarWidth,
29040
29040
  sidebarCollapsedWidth: t.sidebarCardStyle ? "82px" : "66px"
29041
- }), Oa("sidebarCardStyle", { value: t.sidebarCardStyle }), dt(() => {
29041
+ }), Oa("sidebarCardStyle", { value: t.sidebarCardStyle }), ct(() => {
29042
29042
  a(), window.addEventListener("resize", a);
29043
- }), gn(() => {
29043
+ }), hn(() => {
29044
29044
  window.removeEventListener("resize", a);
29045
29045
  }), (s, u) => ($(), L("div", b9, [
29046
29046
  r.value && n.value ? ($(), L("div", {
@@ -29286,7 +29286,7 @@ ${D.length} values could not be automatically matched.`);
29286
29286
  o.value = !o.value, r("update:open", o.value);
29287
29287
  });
29288
29288
  return (i, s) => {
29289
- const u = mn("tooltip");
29289
+ const u = gn("tooltip");
29290
29290
  return $(), L("div", {
29291
29291
  class: ue(["vh-100 relative p-05 bgl_sidebar", { wideNav: o.value }])
29292
29292
  }, [
@@ -29384,7 +29384,7 @@ ${D.length} values could not be automatically matched.`);
29384
29384
  hash: n.router.currentRoute.value.hash
29385
29385
  });
29386
29386
  }
29387
- return dt(() => {
29387
+ return ct(() => {
29388
29388
  var i;
29389
29389
  const l = n.modelValue || ((i = n.router) == null ? void 0 : i.currentRoute.value.query.t) || n.tabs[0];
29390
29390
  a.value = l;
@@ -29519,7 +29519,7 @@ const F9 = { key: 0 }, CV = /* @__PURE__ */ Ee({
29519
29519
  });
29520
29520
  },
29521
29521
  { immediate: !0 }
29522
- ), dt(() => {
29522
+ ), ct(() => {
29523
29523
  var d;
29524
29524
  l.value = Array.from(((d = o.value) == null ? void 0 : d.querySelectorAll(".bgl_tab")) || []), requestAnimationFrame(() => {
29525
29525
  i();
@@ -29587,7 +29587,7 @@ const F9 = { key: 0 }, CV = /* @__PURE__ */ Ee({
29587
29587
  }, t.disabled && (o.disabled = !0), o;
29588
29588
  });
29589
29589
  return (o, l) => {
29590
- const i = mn("ripple");
29590
+ const i = gn("ripple");
29591
29591
  return $(), L("div", H9, [
29592
29592
  it(($(), re(Kt(n.value), xt(a.value, {
29593
29593
  class: ["flex flex-grow-1 gap-05 list-item", {
@@ -29835,7 +29835,7 @@ const K9 = ["width", "height"], J9 = ["r", "stroke", "stroke-width"], Z9 = ["r",
29835
29835
  return Fe(() => n.markers, p, { immediate: !0 }), Fe(() => n.center, (f) => {
29836
29836
  var m;
29837
29837
  return (m = o.value) == null ? void 0 : m.setView(f, n.zoom);
29838
- }, { immediate: !0 }), dt(u), (f, m) => ($(), L("div", {
29838
+ }, { immediate: !0 }), ct(u), (f, m) => ($(), L("div", {
29839
29839
  id: i.value,
29840
29840
  class: "leaflet-map",
29841
29841
  style: ze({ height: `${n.height || 400}px` }),
@@ -30255,7 +30255,7 @@ const K9 = ["width", "height"], J9 = ["r", "stroke", "stroke-width"], Z9 = ["r",
30255
30255
  function r() {
30256
30256
  t.value = !t.value, localStorage.setItem("navOpen", `${t.value}`);
30257
30257
  }
30258
- return dt(n), (a, o) => ($(), L("div", {
30258
+ return ct(n), (a, o) => ($(), L("div", {
30259
30259
  class: ue({ open: t.value, closed: !t.value })
30260
30260
  }, [
30261
30261
  Ae(a.$slots, "top", { isOpen: t.value }, void 0, !0),
@@ -30699,7 +30699,7 @@ const K9 = ["width", "height"], J9 = ["r", "stroke", "stroke-width"], Z9 = ["r",
30699
30699
  }
30700
30700
  };
30701
30701
  }), T = U(() => i.value.length ? E.value.loop ? i.value.length : Math.ceil(i.value.length - w.value + 1) : 0), P = R(null), x = R(!1), O = R(null);
30702
- dt(() => {
30702
+ ct(() => {
30703
30703
  x.value = !0, kt(() => {
30704
30704
  I();
30705
30705
  });
@@ -31307,7 +31307,7 @@ function j6(e, t) {
31307
31307
  const b = g.target.closest("th");
31308
31308
  i.value = r.value.get(v) ?? (b == null ? void 0 : b.getBoundingClientRect().width) ?? 0, document.addEventListener("mousemove", f), document.addEventListener("mouseup", m);
31309
31309
  }
31310
- return gn(() => {
31310
+ return hn(() => {
31311
31311
  document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m);
31312
31312
  }), {
31313
31313
  columns: s,
@@ -31335,7 +31335,7 @@ function W6(e) {
31335
31335
  function i(s) {
31336
31336
  n.value = { row: s, col: 0 }, r.value = { row: s, col: e.value.length - 1 };
31337
31337
  }
31338
- return window.addEventListener("mouseup", l), gn(() => {
31338
+ return window.addEventListener("mouseup", l), hn(() => {
31339
31339
  window.removeEventListener("mouseup", l);
31340
31340
  }), {
31341
31341
  isSelecting: t,
@@ -35879,7 +35879,7 @@ const Zx = {
35879
35879
  kt(() => {
35880
35880
  Kx(c.value);
35881
35881
  });
35882
- }), dt(() => {
35882
+ }), ct(() => {
35883
35883
  u.value && (Yx({
35884
35884
  el: u.value,
35885
35885
  nextEl: f.value,
@@ -35962,7 +35962,7 @@ const Zx = {
35962
35962
  function i(c, d, h) {
35963
35963
  d === a.value && (o.value = h);
35964
35964
  }
35965
- dt(() => {
35965
+ ct(() => {
35966
35966
  !r || !r.value || (r.value.on("_slideClass", i), n = !0);
35967
35967
  }), M1(() => {
35968
35968
  n || !r || !r.value || (r.value.on("_slideClass", i), n = !0);
@@ -36506,9 +36506,9 @@ const dD = /* @__PURE__ */ Ee({
36506
36506
  const j = (Oe - se) * 0.4;
36507
36507
  return Math.abs(j) > 1e-5 ? se + j : Oe;
36508
36508
  }
36509
- dt(() => {
36509
+ ct(() => {
36510
36510
  x.value = new cD(), a.value && x.value.attach(a.value), e.doubleClickToZoom && (x.value.onDoubleTap(De), a.value && a.value.addEventListener("dblclick", De)), window.addEventListener("resize", Ne), Ne(), Re(), Ye();
36511
- }), gn(() => {
36511
+ }), hn(() => {
36512
36512
  var se;
36513
36513
  a.value && ((se = x.value) == null || se.detach(a.value), e.doubleClickToZoom && a.value.removeEventListener("dblclick", De)), window.removeEventListener("resize", Ne), P.value && window.cancelAnimationFrame(P.value), k.value && window.cancelAnimationFrame(k.value);
36514
36514
  });
@@ -36690,9 +36690,9 @@ function Ds() {
36690
36690
  const c = 10;
36691
36691
  n.value > i.value + c ? o.value = "down" : n.value < i.value - c && (o.value = "up"), r.value > s.value + c ? l.value = "right" : r.value < s.value - c && (l.value = "left");
36692
36692
  }
36693
- return dt(() => {
36693
+ return ct(() => {
36694
36694
  window.addEventListener("resize", u), window.addEventListener("scroll", u), u();
36695
- }), gn(() => {
36695
+ }), hn(() => {
36696
36696
  window.removeEventListener("resize", u), window.removeEventListener("scroll", u);
36697
36697
  }), {
36698
36698
  innerWidth: e,
@@ -36880,9 +36880,9 @@ function FV(e, t = {}) {
36880
36880
  function p() {
36881
36881
  document.visibilityState === "visible" ? l.value && d() : a && c();
36882
36882
  }
36883
- return dt(() => {
36883
+ return ct(() => {
36884
36884
  document.addEventListener("visibilitychange", p), d();
36885
- }), gn(() => {
36885
+ }), hn(() => {
36886
36886
  document.removeEventListener("visibilitychange", p), u();
36887
36887
  }), {
36888
36888
  isPolling: l,
@@ -36892,6 +36892,21 @@ function FV(e, t = {}) {
36892
36892
  stopPolling: u
36893
36893
  };
36894
36894
  }
36895
+ function VV(e) {
36896
+ const t = R(0), n = R(0);
36897
+ let r = null;
36898
+ return ct(() => {
36899
+ e.value && (r = new ResizeObserver((a) => {
36900
+ for (const o of a)
36901
+ t.value = o.contentRect.width, n.value = o.contentRect.height;
36902
+ }), r.observe(e.value), t.value = e.value.clientWidth, n.value = e.value.clientHeight);
36903
+ }), hn(() => {
36904
+ r && (r.disconnect(), r = null);
36905
+ }), {
36906
+ width: t,
36907
+ height: n
36908
+ };
36909
+ }
36895
36910
  const cr = R([
36896
36911
  {
36897
36912
  value: "dark",
@@ -36948,8 +36963,8 @@ function CD(e) {
36948
36963
  n > -1 ? cr.value.splice(n, 0, e) : cr.value.push(e);
36949
36964
  }
36950
36965
  }
36951
- function VV() {
36952
- dt(() => {
36966
+ function BV() {
36967
+ ct(() => {
36953
36968
  const t = window.localStorage.getItem(Gp);
36954
36969
  cr.value.find((o) => o.value === t) && (ca.value = t), xu(ca.value);
36955
36970
  const r = window.matchMedia("(prefers-color-scheme: dark)"), a = (o) => {
@@ -37021,7 +37036,7 @@ const kD = {
37021
37036
  m ? ((_ = o.value) == null || _.showModal(), l.value = !1, i.value = !1, setTimeout(() => {
37022
37037
  i.value = !0;
37023
37038
  }, 250)) : c();
37024
- }), dt(() => {
37039
+ }), ct(() => {
37025
37040
  var m;
37026
37041
  r.open && ((m = o.value) == null || m.showModal());
37027
37042
  });
@@ -40673,13 +40688,13 @@ function oP(e, t = !1) {
40673
40688
  }
40674
40689
  function lP(e, t, n) {
40675
40690
  let r = null;
40676
- dt(() => {
40691
+ ct(() => {
40677
40692
  if (process.env.NODE_ENV !== "production") {
40678
40693
  t.__VUE_I18N__ = n, r = Rd();
40679
40694
  const a = n;
40680
40695
  a[za] && a[za](r), r.on("*", Cl);
40681
40696
  }
40682
- }, t), gn(() => {
40697
+ }, t), hn(() => {
40683
40698
  const a = n;
40684
40699
  process.env.NODE_ENV !== "production" && (r && r.off("*", Cl), a[$l] && a[$l](), delete t.__VUE_I18N__), e.__deleteInstance(t);
40685
40700
  const o = a[Ic];
@@ -41772,7 +41787,7 @@ function sn() {
41772
41787
  d: e.d
41773
41788
  };
41774
41789
  }
41775
- function ct(e) {
41790
+ function dt(e) {
41776
41791
  if (e != null)
41777
41792
  return e.startsWith("$t:") ? zl().global.t(e.slice(3)) : e;
41778
41793
  }
@@ -41887,7 +41902,7 @@ const b0 = /* @__PURE__ */ Ee({
41887
41902
  const T = U(() => {
41888
41903
  const k = { ...c.value, ...r.errors || {} }, I = {};
41889
41904
  for (const [N, V] of Object.entries(k))
41890
- I[N] = ct(V) ?? V;
41905
+ I[N] = dt(V) ?? V;
41891
41906
  return I;
41892
41907
  });
41893
41908
  function P(k, I) {
@@ -42183,7 +42198,7 @@ const b0 = /* @__PURE__ */ Ee({
42183
42198
  }
42184
42199
  }), y0 = Symbol("dialog");
42185
42200
  let Zi = null;
42186
- function BV() {
42201
+ function HV() {
42187
42202
  const e = Pr(y0, null);
42188
42203
  if (!e) {
42189
42204
  if (Zi)
@@ -42192,7 +42207,7 @@ function BV() {
42192
42207
  }
42193
42208
  return e;
42194
42209
  }
42195
- const HV = {
42210
+ const UV = {
42196
42211
  install: (e) => {
42197
42212
  let t = 0;
42198
42213
  const n = Zt([]), r = {
@@ -42532,7 +42547,7 @@ function Nh(e, t) {
42532
42547
  l !== e && e.removeChild(l), l.removeEventListener("mousedown", d), l.removeEventListener("touchstart", d), l.removeEventListener("mouseenter", d), l.removeEventListener("mouseleave", d), document.removeEventListener("mousemove", u), document.removeEventListener("mouseup", c), document.removeEventListener("touchmove", u), document.removeEventListener("touchend", c), document.removeEventListener("touchcancel", c);
42533
42548
  };
42534
42549
  }
42535
- const UV = {
42550
+ const zV = {
42536
42551
  mounted(e, t) {
42537
42552
  Nh(e, t);
42538
42553
  },
@@ -42549,7 +42564,7 @@ const UV = {
42549
42564
  getSSRProps() {
42550
42565
  return {};
42551
42566
  }
42552
- }, zV = !0;
42567
+ }, jV = !0;
42553
42568
  class Rt {
42554
42569
  constructor(t, n = {}) {
42555
42570
  pt(this, "_type");
@@ -42749,7 +42764,7 @@ class El {
42749
42764
  }[t] || "string";
42750
42765
  }
42751
42766
  }
42752
- function jV(e, t) {
42767
+ function WV(e, t) {
42753
42768
  if (typeof e == "string") {
42754
42769
  if (!t)
42755
42770
  throw new Error("Fields are required when providing a label");
@@ -42757,10 +42772,10 @@ function jV(e, t) {
42757
42772
  }
42758
42773
  return new El(e);
42759
42774
  }
42760
- function WV(e) {
42775
+ function qV(e) {
42761
42776
  return e;
42762
42777
  }
42763
- function qV(e) {
42778
+ function GV(e) {
42764
42779
  var a, o;
42765
42780
  const t = {}, n = new Set(e.required || []);
42766
42781
  if (e.properties)
@@ -43131,7 +43146,7 @@ const ZI = { class: "multi-step-form" }, QI = { class: "step-progress" }, eN = [
43131
43146
  ])
43132
43147
  ]));
43133
43148
  }
43134
- }), GV = /* @__PURE__ */ Ke(uN, [["__scopeId", "data-v-9f81a0df"]]);
43149
+ }), YV = /* @__PURE__ */ Ke(uN, [["__scopeId", "data-v-9f81a0df"]]);
43135
43150
  let al = {};
43136
43151
  function cN(e) {
43137
43152
  al = { ...al, ...e };
@@ -43329,7 +43344,7 @@ function rn(e, t) {
43329
43344
  return console.warn(`Error formatting date: ${e} with format: ${n}`, l), "";
43330
43345
  }
43331
43346
  }
43332
- const YV = rn;
43347
+ const XV = rn;
43333
43348
  function ar(e) {
43334
43349
  var t;
43335
43350
  return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
@@ -46257,7 +46272,7 @@ const p1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46257
46272
  }
46258
46273
  }), ER = f1 || p1, { POSITION: kR } = p1, Za = d1, h1 = Symbol("toast");
46259
46274
  let rs = null;
46260
- function XV() {
46275
+ function KV() {
46261
46276
  const e = Pr(h1, null);
46262
46277
  if (!e) {
46263
46278
  if (rs)
@@ -46877,7 +46892,7 @@ function HR() {
46877
46892
  })(document), Uu(document);
46878
46893
  }
46879
46894
  RR() || HR();
46880
- const KV = {
46895
+ const JV = {
46881
46896
  install: (e, t = {}) => {
46882
46897
  e.directive("click-outside", CO), e.directive("ripple", YI), e.directive("pattern", GI), e.use(SO), e.use(kO), e.use(AR, t.toast || {}), e.use(rO, {
46883
46898
  themes: {
@@ -47249,7 +47264,7 @@ function WR() {
47249
47264
  return "en";
47250
47265
  }
47251
47266
  }
47252
- function JV(e, t) {
47267
+ function ZV(e, t) {
47253
47268
  if (!e) return "";
47254
47269
  typeof e == "string" && (e = new Date(e));
47255
47270
  const n = typeof t == "string" ? t : (t == null ? void 0 : t.lang) || WR(), a = (typeof t == "object" && t.mode || "relative") === "relative", o = Math.floor((e.getTime() - Date.now()) / 1e3), l = [
@@ -47375,7 +47390,7 @@ function XR(e, t, n) {
47375
47390
  }
47376
47391
  };
47377
47392
  }
47378
- function ZV(e) {
47393
+ function QV(e) {
47379
47394
  return {
47380
47395
  $el: "pill",
47381
47396
  id: e == null ? void 0 : e.id,
@@ -47462,7 +47477,7 @@ function b1(e, t, n) {
47462
47477
  };
47463
47478
  }
47464
47479
  const QR = b1;
47465
- function QV() {
47480
+ function eB() {
47466
47481
  return {
47467
47482
  btn: Wc,
47468
47483
  iconBtn: GR,
@@ -47515,7 +47530,7 @@ function y1(e, t = "") {
47515
47530
  function mm(e) {
47516
47531
  return e == null ? "" : typeof e == "string" ? tF(e) : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? e.toISOString() : "";
47517
47532
  }
47518
- function eB(e = [], t = {}) {
47533
+ function tB(e = [], t = {}) {
47519
47534
  const { minChars: n = 1 } = t, r = V1({ _list: e, searchTerm: "" });
47520
47535
  let a = [];
47521
47536
  function o(s, u = /* @__PURE__ */ new WeakSet()) {
@@ -47787,7 +47802,7 @@ export {
47787
47802
  SF as Badge,
47788
47803
  _s as BagelForm,
47789
47804
  UF as BagelMultiStepForm,
47790
- KV as BagelVue,
47805
+ JV as BagelVue,
47791
47806
  bF as BarChart,
47792
47807
  _s as BglForm,
47793
47808
  Pm as BglVideo,
@@ -47807,7 +47822,7 @@ export {
47807
47822
  Pd as Dialog,
47808
47823
  xD as DialogConfirm,
47809
47824
  UI as DialogForm,
47810
- HV as DialogPlugin,
47825
+ UV as DialogPlugin,
47811
47826
  y0 as DialogSymbol,
47812
47827
  lf as DragOver,
47813
47828
  AF as Draggable,
@@ -47840,7 +47855,7 @@ export {
47840
47855
  f6 as ModalConfirm,
47841
47856
  g6 as ModalForm,
47842
47857
  kO as ModalPlugin,
47843
- GV as MultiStepForm,
47858
+ YV as MultiStepForm,
47844
47859
  AV as NavBar,
47845
47860
  Wr as NumberInput,
47846
47861
  qF as OTP,
@@ -47907,14 +47922,14 @@ export {
47907
47922
  ug as downloadFile,
47908
47923
  KR as dropdown,
47909
47924
  ad as emailField,
47910
- eB as filterRef,
47925
+ tB as filterRef,
47911
47926
  fd as findBglFieldById,
47912
47927
  _1 as findElementById,
47913
- YV as fmtDate,
47928
+ XV as fmtDate,
47914
47929
  rn as formatDate,
47915
47930
  sa as formatString,
47916
47931
  id as frmRow,
47917
- qV as fromJSONSchema,
47932
+ GV as fromJSONSchema,
47918
47933
  qR as getBaseElementField,
47919
47934
  Zm as getBaseField,
47920
47935
  C0 as getDatePartsMap,
@@ -47933,7 +47948,7 @@ export {
47933
47948
  wf as isDate,
47934
47949
  gs as keyToLabel,
47935
47950
  JR as listItem,
47936
- WV as multiStepSchema,
47951
+ qV as multiStepSchema,
47937
47952
  yr as normalizeDimension,
47938
47953
  r2 as normalizeOption,
47939
47954
  Wo as normalizeText,
@@ -47942,16 +47957,16 @@ export {
47942
47957
  rg as parseQuery,
47943
47958
  Ur as pathKeyToURL,
47944
47959
  GI as pattern,
47945
- ZV as pill,
47960
+ QV as pill,
47946
47961
  NV as provideBagelFormState,
47947
47962
  PF as queryFilter,
47948
47963
  NF as range,
47949
47964
  ud as rangeField,
47950
- zV as required,
47951
- ct as resolveI18n,
47965
+ jV as required,
47966
+ dt as resolveI18n,
47952
47967
  td as richText,
47953
47968
  YI as ripple,
47954
- jV as schema,
47969
+ WV as schema,
47955
47970
  OF as search,
47956
47971
  uF as searchItems,
47957
47972
  hs as selectField,
@@ -47960,7 +47975,7 @@ export {
47960
47975
  _o as sleep,
47961
47976
  FF as slugify,
47962
47977
  cd as telField,
47963
- JV as timeAgo,
47978
+ ZV as timeAgo,
47964
47979
  Er as timeDelta,
47965
47980
  $2 as tryRun,
47966
47981
  YR as txt,
@@ -47971,9 +47986,9 @@ export {
47971
47986
  Vv as useBglSchema,
47972
47987
  go as useDebounceFn,
47973
47988
  Ds as useDevice,
47974
- BV as useDialog,
47989
+ HV as useDialog,
47975
47990
  Wu as useDraggable,
47976
- QV as useElements,
47991
+ eB as useElements,
47977
47992
  VF as useEscape,
47978
47993
  gD as useExcel,
47979
47994
  NE as useFileUpload,
@@ -47982,10 +47997,11 @@ export {
47982
47997
  bD as useLocalStore,
47983
47998
  EO as useModal,
47984
47999
  FV as usePolling,
48000
+ VV as useResizeObserver,
47985
48001
  cF as useSearch,
47986
- VV as useTheme,
47987
- XV as useToast,
48002
+ BV as useTheme,
48003
+ KV as useToast,
47988
48004
  ED as useValidateFieldValue,
47989
48005
  xF as vDraggable,
47990
- UV as vResize
48006
+ zV as vResize
47991
48007
  };