@bagelink/vue 1.9.140 → 1.9.142

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 L1 = Object.defineProperty;
2
2
  var M1 = (e, t, n) => t in e ? L1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Qe = (e, t, n) => M1(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as Qs from "vue";
5
- import { defineComponent as Te, reactive as en, provide as Nr, openBlock as _, createElementBlock as A, renderSlot as Le, ref as R, computed as H, inject as Aa, watch as Re, normalizeClass as de, createElementVNode as M, unref as $, createVNode as q, createCommentVNode as U, toDisplayString as le, Transition as Ur, withCtx as _e, Fragment as Ee, renderList as Ie, createBlock as re, normalizeStyle as je, createTextVNode as tt, onMounted as ht, onUnmounted as Sn, useSlots as ra, resolveDirective as pn, withDirectives as ct, resolveDynamicComponent as Zt, mergeProps as Mt, withKeys as Jt, withModifiers as vt, toValue as ft, getCurrentScope as P1, onScopeDispose as I1, nextTick as xt, isRef as Il, getCurrentInstance as Nl, shallowRef as Xa, isVNode as of, h as Lt, useCssVars as Xu, useModel as sn, vModelCheckbox as fs, mergeModels as cn, onBeforeUnmount as pr, Teleport as N1, TransitionGroup as hs, normalizeProps as il, guardReactiveProps as sl, createSlots as Ku, vModelText as gr, Comment as O1, Text as Ap, resolveComponent as $n, vModelRadio as R1, vModelDynamic as F1, useAttrs as V1, watchEffect as Dp, onUpdated as Ju, onBeforeUpdate as B1, effectScope as H1, createApp as Ol, pushScopeId as U1, popScopeId as z1, withScopeId as j1, toRaw as W1, toHandlers as q1, markRaw as Lp, shallowReactive as G1 } from "vue";
5
+ import { defineComponent as Te, reactive as en, provide as Nr, openBlock as _, createElementBlock as A, renderSlot as Le, ref as R, computed as H, inject as Aa, watch as Re, normalizeClass as de, createElementVNode as M, unref as $, createVNode as q, createCommentVNode as U, toDisplayString as le, Transition as Ur, withCtx as _e, Fragment as Ee, renderList as Ie, createBlock as re, normalizeStyle as je, createTextVNode as tt, onMounted as mt, onUnmounted as Sn, useSlots as ra, resolveDirective as pn, withDirectives as ct, resolveDynamicComponent as Zt, mergeProps as Mt, withKeys as Jt, withModifiers as vt, toValue as ft, getCurrentScope as P1, onScopeDispose as I1, nextTick as xt, isRef as Il, getCurrentInstance as Nl, shallowRef as Xa, isVNode as of, h as Lt, useCssVars as Xu, useModel as sn, vModelCheckbox as fs, mergeModels as cn, onBeforeUnmount as pr, Teleport as N1, TransitionGroup as hs, normalizeProps as il, guardReactiveProps as sl, createSlots as Ku, vModelText as gr, Comment as O1, Text as Ap, resolveComponent as $n, vModelRadio as R1, vModelDynamic as F1, useAttrs as V1, watchEffect as Dp, onUpdated as Ju, onBeforeUpdate as B1, effectScope as H1, createApp as Ol, pushScopeId as U1, popScopeId as z1, withScopeId as j1, toRaw as W1, toHandlers as q1, markRaw as Lp, shallowReactive as G1 } from "vue";
6
6
  import { RouterLink as Y1, useRoute as X1 } from "vue-router";
7
7
  const AF = /* @__PURE__ */ Te({
8
8
  __name: "Accordion",
@@ -369,7 +369,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${b.toString()}`;
369
369
  function i() {
370
370
  l.value = window.innerWidth <= 910;
371
371
  }
372
- ht(() => {
372
+ mt(() => {
373
373
  i(), window.addEventListener("resize", i);
374
374
  }), Sn(() => {
375
375
  window.removeEventListener("resize", i);
@@ -451,7 +451,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${b.toString()}`;
451
451
  }, null, 8, ["icon", "size", "mobile-size"])) : U("", !0),
452
452
  Le(m.$slots, "default", {}, void 0, !0),
453
453
  !$(h).default && e.value ? (_(), A(Ee, { key: 1 }, [
454
- tt(le($(pt)(e.value)), 1)
454
+ tt(le($(ht)(e.value)), 1)
455
455
  ], 64)) : U("", !0),
456
456
  e.iconEnd ? (_(), re($(qe), {
457
457
  key: 2,
@@ -580,7 +580,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${b.toString()}`;
580
580
  }
581
581
  ), o.value.observe(l.value));
582
582
  }
583
- ht(() => {
583
+ mt(() => {
584
584
  t.animated ? d() : (r.value = !0, n.value = 1);
585
585
  }), Sn(() => {
586
586
  o.value && o.value.disconnect();
@@ -827,7 +827,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${b.toString()}`;
827
827
  function E(T) {
828
828
  return 1 - (1 - T) ** 3;
829
829
  }
830
- return ht(() => {
830
+ return mt(() => {
831
831
  n.value && (r.value = n.value.clientWidth || 600), t.animated ? N() : l.value = 1;
832
832
  }), Sn(() => {
833
833
  c && c.disconnect();
@@ -999,7 +999,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${b.toString()}`;
999
999
  return `rgba(${T}, ${O}, ${P}, ${B})`;
1000
1000
  });
1001
1001
  }), r = R(0), o = R(!1), l = R(), i = R(!1);
1002
- ht(() => {
1002
+ mt(() => {
1003
1003
  n.animated ? c() : r.value = 1;
1004
1004
  });
1005
1005
  let s = null;
@@ -1515,7 +1515,7 @@ function $y(e, t, n = {}) {
1515
1515
  );
1516
1516
  }
1517
1517
  function Sy(e, t = !0, n) {
1518
- wy() ? ht(e, n) : t ? e() : xt(e);
1518
+ wy() ? mt(e, n) : t ? e() : xt(e);
1519
1519
  }
1520
1520
  function Xc(e, t = !1) {
1521
1521
  function n(d, { flush: h = "sync", deep: m = !1, timeout: f, throwOnTimeout: p } = {}) {
@@ -1744,7 +1744,7 @@ function ky(e, t, n = {}) {
1744
1744
  // @__NO_SIDE_EFFECTS__
1745
1745
  function Ty() {
1746
1746
  const e = Xa(!1), t = Nl();
1747
- return t && ht(() => {
1747
+ return t && mt(() => {
1748
1748
  e.value = !0;
1749
1749
  }, t), e;
1750
1750
  }
@@ -2228,7 +2228,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
2228
2228
  } else
2229
2229
  a("openPopover", u);
2230
2230
  }
2231
- return ht(() => {
2231
+ return mt(() => {
2232
2232
  o.value && o.value.addEventListener("scroll", s);
2233
2233
  }), Sn(() => {
2234
2234
  o.value && o.value.removeEventListener("scroll", s);
@@ -2343,7 +2343,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
2343
2343
  } else
2344
2344
  a("openPopover", v);
2345
2345
  }
2346
- return ht(() => {
2346
+ return mt(() => {
2347
2347
  document.addEventListener("mousedown", m), h(), c.value = setInterval(h, 6e4);
2348
2348
  }), Sn(() => {
2349
2349
  document.removeEventListener("mousedown", m), document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", p), c.value && clearInterval(c.value);
@@ -2686,7 +2686,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
2686
2686
  function B(E) {
2687
2687
  p.value && (p.value.scrollTop = E * nr);
2688
2688
  }
2689
- return ht(() => {
2689
+ return mt(() => {
2690
2690
  I(), u.value = setInterval(I, 6e4), xt(() => {
2691
2691
  B(6);
2692
2692
  });
@@ -2859,7 +2859,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
2859
2859
  currentDate: o,
2860
2860
  openPopover: y,
2861
2861
  closePopover: S
2862
- }), ht(() => {
2862
+ }), mt(() => {
2863
2863
  r("ready", h.value);
2864
2864
  }), (w, C) => (_(), A("div", x_, [
2865
2865
  M("div", A_, [
@@ -3127,8 +3127,8 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
3127
3127
  return;
3128
3128
  const Fe = $e.pageX - p.value;
3129
3129
  if (Math.abs(Fe) > l.DRAG && (m.value = !0), m.value) {
3130
- const pe = g.value + (a.rtl ? -Fe : Fe), Oe = 0, W = i.value.offsetWidth, Q = W * Ro / 100, Se = (c.value - 1) * Q, nt = -((W - Se) / c.value * (d.value - 1) + Q * (d.value - 1)), mt = Math.max(nt, Math.min(Oe, pe));
3131
- N(mt);
3130
+ const pe = g.value + (a.rtl ? -Fe : Fe), Oe = 0, W = i.value.offsetWidth, Q = W * Ro / 100, Se = (c.value - 1) * Q, nt = -((W - Se) / c.value * (d.value - 1) + Q * (d.value - 1)), pt = Math.max(nt, Math.min(Oe, pe));
3131
+ N(pt);
3132
3132
  }
3133
3133
  }
3134
3134
  function ke() {
@@ -3173,7 +3173,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
3173
3173
  k.value.push({ time: Q, position: Fe }), v.value = Fe;
3174
3174
  const Se = Q - uf;
3175
3175
  if (k.value = k.value.filter((Pe) => Pe.time >= Se), Math.abs(Oe) > l.TOUCH && (m.value = !0, $e.preventDefault()), m.value) {
3176
- const Pe = i.value.offsetWidth, nt = Pe * Ro / 100, mt = (c.value - 1) * nt, ee = (Pe - mt) / c.value * d.value + nt * (d.value - 1);
3176
+ const Pe = i.value.offsetWidth, nt = Pe * Ro / 100, pt = (c.value - 1) * nt, ee = (Pe - pt) / c.value * d.value + nt * (d.value - 1);
3177
3177
  let fe = g.value + (a.rtl ? -Oe : Oe);
3178
3178
  if (fe > 0)
3179
3179
  fe *= 0.5;
@@ -3197,17 +3197,17 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
3197
3197
  const Ae = -(pe * (d.value - 1) + Ue * (d.value - 1));
3198
3198
  W < Ae && (Q = Ae);
3199
3199
  }
3200
- const Se = Math.abs(Q / Oe), Pe = v.value - p.value, nt = Math.abs(Pe) / Oe, mt = I();
3200
+ const Se = Math.abs(Q / Oe), Pe = v.value - p.value, nt = Math.abs(Pe) / Oe, pt = I();
3201
3201
  let se = Se, ee = 0;
3202
- Math.abs(mt) > l.VELOCITY && (ee = mt < 0 ? 1 : -1);
3202
+ Math.abs(pt) > l.VELOCITY && (ee = pt < 0 ? 1 : -1);
3203
3203
  const fe = window.innerWidth < 600;
3204
- if (nt > l.SWIPE_PERCENT || Math.abs(mt) > l.VELOCITY) {
3204
+ if (nt > l.SWIPE_PERCENT || Math.abs(pt) > l.VELOCITY) {
3205
3205
  const Ae = nt > l.SWIPE_PERCENT ? Pe > 0 ? -1 : 1 : ee, Xe = a.rtl ? -Ae : Ae;
3206
3206
  fe ? se = u.value + Xe : se = Math.round(Se) + Xe;
3207
3207
  } else
3208
3208
  se = fe ? u.value : Math.round(Se);
3209
3209
  se = Math.max(0, Math.min(se, d.value - 1)), u.value = se;
3210
- const Ne = Math.abs(se - Se), Ye = Math.min(Math.abs(mt) * 1e3, 1), et = Math.min(
3210
+ const Ne = Math.abs(se - Se), Ye = Math.min(Math.abs(pt) * 1e3, 1), et = Math.min(
3211
3211
  o.BASE_DURATION * (1 - Ye * 0.5) + Ne * o.DURATION_PER_PANEL,
3212
3212
  o.MAX_DURATION
3213
3213
  );
@@ -3229,7 +3229,7 @@ const Oy = ["src"], Ry = ["autoplay", "muted", "loop", "controls", "playsinline"
3229
3229
  W !== u.value && (T(W, !0), S.value = 0);
3230
3230
  }
3231
3231
  }
3232
- return ht(() => {
3232
+ return mt(() => {
3233
3233
  window.addEventListener("resize", ce), z(), ce(), V(), K(), i.value && (d.value = i.value.children.length), a.autoplay && (C = setInterval(O, a.autoPlaySpeed));
3234
3234
  }), Sn(() => {
3235
3235
  s.value && i.value && Array.from(i.value.children).forEach(($e) => {
@@ -4118,7 +4118,7 @@ const zF = /* @__PURE__ */ Te({
4118
4118
  });
4119
4119
  return Re(() => n.modelValue, () => {
4120
4120
  r.value && o(r.value);
4121
- }, { deep: !0 }), ht(() => {
4121
+ }, { deep: !0 }), mt(() => {
4122
4122
  r.value && o(r.value);
4123
4123
  }), (l, i) => (_(), A("div", {
4124
4124
  ref_key: "dragContainer",
@@ -5248,7 +5248,7 @@ const Yw = {
5248
5248
  function j() {
5249
5249
  w() && S();
5250
5250
  }
5251
- return ht(() => {
5251
+ return mt(() => {
5252
5252
  document.addEventListener("pointerdown", B, !0), document.addEventListener("keydown", E), document.addEventListener("scroll", j, { capture: !0, passive: !0 }), a.showGroup && (y.has(a.showGroup) || y.set(a.showGroup, /* @__PURE__ */ new Set()), y.get(a.showGroup).add(k));
5253
5253
  }), pr(() => {
5254
5254
  var Y, K;
@@ -7480,7 +7480,7 @@ const Ss = /* @__PURE__ */ Te({
7480
7480
  return !1;
7481
7481
  }
7482
7482
  });
7483
- ht(() => {
7483
+ mt(() => {
7484
7484
  a.modelValue && (s.value = o(a.modelValue), Object.keys(i.value).length === 0 && Object.keys(a.modelValue).length > 0 && (i.value = o(a.modelValue))), setTimeout(() => {
7485
7485
  m();
7486
7486
  }, 10);
@@ -7864,7 +7864,7 @@ const Ss = /* @__PURE__ */ Te({
7864
7864
  l.value.push(n.collapsed || !1);
7865
7865
  } else
7866
7866
  l.value = l.value.slice(0, w);
7867
- }), ht(() => {
7867
+ }), mt(() => {
7868
7868
  (!n.modelValue || n.modelValue.length === 0) && n.defaultValue && n.defaultValue.length > 0 && (i.value = [...n.defaultValue], m()), n.collapsed ? l.value = Array.from({ length: i.value.length }, () => !0) : l.value = Array.from({ length: i.value.length }, () => !1);
7869
7869
  });
7870
7870
  function h() {
@@ -8027,7 +8027,7 @@ const Ss = /* @__PURE__ */ Te({
8027
8027
  emits: ["update:modelValue"],
8028
8028
  setup(e, { emit: t }) {
8029
8029
  const n = e, a = t, { locale: r } = un(), o = R(Array.isArray(n.modelValue) ? [...n.modelValue] : []), l = R(Array.from({ length: o.value.length }, () => !0)), i = R(null), s = R(null), c = R(0), u = R(Array.from({ length: o.value.length }, () => m())), d = H(() => r.value.toLowerCase().startsWith("he")), h = H(() => {
8030
- const N = pt(n.itemLabel);
8030
+ const N = ht(n.itemLabel);
8031
8031
  return typeof N == "string" && N.length > 0 ? N : d.value ? "פריט" : "Item";
8032
8032
  });
8033
8033
  function m() {
@@ -8097,7 +8097,7 @@ const Ss = /* @__PURE__ */ Te({
8097
8097
  return (N, B) => {
8098
8098
  const E = pn("tooltip");
8099
8099
  return _(), A("div", null, [
8100
- e.label ? (_(), A("label", G2, le($(pt)(e.label)), 1)) : U("", !0),
8100
+ e.label ? (_(), A("label", G2, le($(ht)(e.label)), 1)) : U("", !0),
8101
8101
  e.helpText ? (_(), A("p", Y2, le(e.helpText), 1)) : U("", !0),
8102
8102
  e.collapsible ? U("", !0) : (_(!0), A(Ee, { key: 2 }, Ie(o.value, (T, O) => (_(), A("div", {
8103
8103
  key: O,
@@ -8113,7 +8113,7 @@ const Ss = /* @__PURE__ */ Te({
8113
8113
  icon: "delete",
8114
8114
  onClick: (P) => b(O)
8115
8115
  }, null, 8, ["onClick"])), [
8116
- [E, $(pt)(e.deleteTooltip || "Delete")]
8116
+ [E, $(ht)(e.deleteTooltip || "Delete")]
8117
8117
  ]) : U("", !0)
8118
8118
  ]))), 128)),
8119
8119
  e.collapsible ? (_(), re(hs, {
@@ -8142,7 +8142,7 @@ const Ss = /* @__PURE__ */ Te({
8142
8142
  onDragstart: (P) => y(P, O),
8143
8143
  onDragend: C
8144
8144
  }, null, 8, ["onDragstart"])), [
8145
- [E, $(pt)("Drag to reorder")]
8145
+ [E, $(ht)("Drag to reorder")]
8146
8146
  ]) : U("", !0),
8147
8147
  q($(he), {
8148
8148
  "full-width": "",
@@ -8157,10 +8157,10 @@ const Ss = /* @__PURE__ */ Te({
8157
8157
  key: 1,
8158
8158
  flat: "",
8159
8159
  icon: "delete",
8160
- confirm: $(pt)("Are you sure you want to delete this item?"),
8160
+ confirm: $(ht)("Are you sure you want to delete this item?"),
8161
8161
  onClick: (P) => b(O)
8162
8162
  }, null, 8, ["confirm", "onClick"])), [
8163
- [E, $(pt)(e.deleteTooltip || "Delete")]
8163
+ [E, $(ht)(e.deleteTooltip || "Delete")]
8164
8164
  ]) : U("", !0)
8165
8165
  ]),
8166
8166
  q(Ur, { name: "array-collapse" }, {
@@ -8181,7 +8181,7 @@ const Ss = /* @__PURE__ */ Te({
8181
8181
  e.allowAdd ? (_(), re($(he), {
8182
8182
  key: 4,
8183
8183
  icon: "add",
8184
- value: $(pt)(e.addText || "Add"),
8184
+ value: $(ht)(e.addText || "Add"),
8185
8185
  onClick: p
8186
8186
  }, null, 8, ["value"])) : U("", !0)
8187
8187
  ]);
@@ -8224,7 +8224,7 @@ const Ss = /* @__PURE__ */ Te({
8224
8224
  emits: ["update:modelValue"],
8225
8225
  setup(e) {
8226
8226
  const t = H(() => e.id || Math.random().toString(36).slice(7)), n = sn(e, "modelValue");
8227
- return ht(() => {
8227
+ return mt(() => {
8228
8228
  n.value === void 0 && e.defaultValue !== void 0 && (n.value = e.defaultValue);
8229
8229
  }), (a, r) => (_(), A("div", {
8230
8230
  class: de(["bagel-input bgl-checkbox align-items-center ps-025", { small: e.small }]),
@@ -8245,7 +8245,7 @@ const Ss = /* @__PURE__ */ Te({
8245
8245
  for: t.value + e.value
8246
8246
  }, [
8247
8247
  Le(a.$slots, "label", {}, () => [
8248
- tt(le($(pt)(e.label)), 1)
8248
+ tt(le($(ht)(e.label)), 1)
8249
8249
  ], !0)
8250
8250
  ], 8, n$)
8251
8251
  ], 10, e$));
@@ -8366,7 +8366,7 @@ const o$ = {
8366
8366
  S.selectionStart = w + 2, S.selectionEnd = w + 2;
8367
8367
  }, 0);
8368
8368
  }
8369
- ht(async () => {
8369
+ mt(async () => {
8370
8370
  await u();
8371
8371
  }), Re(() => n.theme, (y) => {
8372
8372
  h(y);
@@ -8437,7 +8437,7 @@ const o$ = {
8437
8437
  title: e.label
8438
8438
  }, [
8439
8439
  M("label", null, [
8440
- tt(le($(pt)(e.label)) + " ", 1),
8440
+ tt(le($(ht)(e.label)) + " ", 1),
8441
8441
  M("div", {
8442
8442
  class: de(["flex rounded colorInputPickWrap", { "px-025 bg-input": !e.small }])
8443
8443
  }, [
@@ -8446,7 +8446,7 @@ const o$ = {
8446
8446
  "onUpdate:modelValue": i[0] || (i[0] = (s) => o.value = s),
8447
8447
  class: ["border", { "no-edit": !e.editMode, "opacity-1": !o.value }],
8448
8448
  type: "color",
8449
- placeholder: $(pt)(e.placeholder) || $(pt)(e.label),
8449
+ placeholder: $(ht)(e.placeholder) || $(ht)(e.label),
8450
8450
  required: e.required
8451
8451
  }, e.nativeInputAttrs), null, 16, f$), [
8452
8452
  [gr, o.value]
@@ -9271,14 +9271,14 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9271
9271
  s = !0, i.value = !1, setTimeout(() => {
9272
9272
  s = !1;
9273
9273
  }, 200);
9274
- }, { ignore: [u] }), ht(() => {
9274
+ }, { ignore: [u] }), mt(() => {
9275
9275
  a.value === void 0 && t.defaultValue !== void 0 && (a.value = t.defaultValue);
9276
9276
  }), (w, C) => (_(), A("div", {
9277
9277
  class: de(["bagel-input", { small: e.small, "has-error": !!e.error || !o.value, underlined: e.underlined, "has-value": S.value, open: i.value }])
9278
9278
  }, [
9279
9279
  M("label", null, [
9280
9280
  e.label || e.underlined && e.placeholder ? (_(), A("span", T$, [
9281
- tt(le($(pt)(e.label || e.placeholder)), 1),
9281
+ tt(le($(ht)(e.label || e.placeholder)), 1),
9282
9282
  e.required ? (_(), A("span", x$, " *")) : U("", !0)
9283
9283
  ])) : U("", !0),
9284
9284
  q($(Yn), {
@@ -9298,7 +9298,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9298
9298
  modelValue: r.value,
9299
9299
  "onUpdate:modelValue": C[0] || (C[0] = (k) => r.value = k),
9300
9300
  iconStart: "calendar",
9301
- placeholder: e.underlined ? " " : $(pt)(e.placeholder) || (e.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY"),
9301
+ placeholder: e.underlined ? " " : $(ht)(e.placeholder) || (e.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY"),
9302
9302
  required: e.underlined ? !1 : e.required,
9303
9303
  disabled: !e.editMode,
9304
9304
  error: o.value ? e.error : $(n)("date.invalidFormat"),
@@ -9553,7 +9553,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9553
9553
  const E = s.value;
9554
9554
  return E !== void 0 && E !== "" && String(E).length > 0;
9555
9555
  });
9556
- return ht(() => {
9556
+ return mt(() => {
9557
9557
  a.autofocus && setTimeout(() => {
9558
9558
  var E;
9559
9559
  return (E = f.value) == null ? void 0 : E.focus();
@@ -9575,7 +9575,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9575
9575
  }, [
9576
9576
  M("label", { for: e.id }, [
9577
9577
  e.label || e.underlined && e.placeholder ? (_(), A("span", I$, [
9578
- tt(le($(pt)(e.label) || $(pt)(e.placeholder)), 1),
9578
+ tt(le($(ht)(e.label) || $(ht)(e.placeholder)), 1),
9579
9579
  e.required ? (_(), A("span", N$, " *")) : U("", !0)
9580
9580
  ])) : U("", !0),
9581
9581
  e.underlined ? U("", !0) : (_(), A("div", O$, [
@@ -9597,7 +9597,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9597
9597
  title: e.title,
9598
9598
  autocomplete: "email",
9599
9599
  type: "email",
9600
- placeholder: e.underlined ? " " : $(pt)(e.placeholder) || $(pt)(e.label),
9600
+ placeholder: e.underlined ? " " : $(ht)(e.placeholder) || $(ht)(e.label),
9601
9601
  disabled: e.disabled,
9602
9602
  required: e.required
9603
9603
  }, e.nativeInputAttrs, {
@@ -9653,7 +9653,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9653
9653
  M("textarea", {
9654
9654
  value: e.modelValue,
9655
9655
  class: de({ "no-edit": !e.editMode }),
9656
- placeholder: $(pt)(e.placeholder),
9656
+ placeholder: $(ht)(e.placeholder),
9657
9657
  onInput: a
9658
9658
  }, null, 42, j$)
9659
9659
  ], 10, U$);
@@ -9826,7 +9826,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9826
9826
  emits: ["update:modelValue"],
9827
9827
  setup(e, { emit: t }) {
9828
9828
  const n = t, a = R();
9829
- ht(() => {
9829
+ mt(() => {
9830
9830
  const p = e.modelValue !== void 0 ? Number.parseFloat(`${e.modelValue}`) : void 0, b = e.defaultValue !== void 0 ? Number.parseFloat(`${e.defaultValue}`) : void 0;
9831
9831
  a.value = p ?? b;
9832
9832
  });
@@ -9898,7 +9898,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9898
9898
  M("div", { for: e.id }, [
9899
9899
  e.label || e.underlined && e.placeholder ? (_(), A("label", Z$, [
9900
9900
  M("span", Q$, [
9901
- tt(le($(pt)(e.label) || $(pt)(e.placeholder)), 1),
9901
+ tt(le($(ht)(e.label) || $(ht)(e.placeholder)), 1),
9902
9902
  e.required ? (_(), A("span", e3, " *")) : U("", !0)
9903
9903
  ])
9904
9904
  ])) : U("", !0),
@@ -9922,7 +9922,7 @@ const p$ = { class: "calendar-section m_border-none px-05 pb-05 pt-025 m_p-0" },
9922
9922
  min0: e.layout,
9923
9923
  "bgl-number-input": e.layout !== "vertical" && e.layout !== "horizontal"
9924
9924
  }),
9925
- placeholder: e.underlined ? " " : $(pt)(e.placeholder) || $(pt)(e.label),
9925
+ placeholder: e.underlined ? " " : $(ht)(e.placeholder) || $(ht)(e.label),
9926
9926
  disabled: e.disabled,
9927
9927
  required: e.required,
9928
9928
  readonly: e.disabled,
@@ -11726,7 +11726,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
11726
11726
  class: de(u.value)
11727
11727
  }, [
11728
11728
  e.label ? (_(), A("p", TS, [
11729
- tt(le($(pt)(e.label)) + " ", 1),
11729
+ tt(le($(ht)(e.label)) + " ", 1),
11730
11730
  e.required ? (_(), A("span", xS, "*")) : U("", !0)
11731
11731
  ])) : U("", !0),
11732
11732
  (_(!0), A(Ee, null, Ie(i.value, (b, g) => (_(), A("label", {
@@ -11831,7 +11831,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
11831
11831
  return (y, S) => (_(), A("div", {
11832
11832
  dir: e.rtl ? "rtl" : "ltr"
11833
11833
  }, [
11834
- n.label ? (_(), A("label", FS, le($(pt)(n.label)), 1)) : U("", !0),
11834
+ n.label ? (_(), A("label", FS, le($(ht)(n.label)), 1)) : U("", !0),
11835
11835
  M("div", VS, [
11836
11836
  M("input", {
11837
11837
  id: e.id,
@@ -11964,7 +11964,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
11964
11964
  },
11965
11965
  emits: ["update:modelValue"],
11966
11966
  setup(e, { emit: t }) {
11967
- const n = e, a = t, { $t: r } = un(), o = (O) => typeof O == "function", l = R(), i = R(), s = R([]), c = (O) => dg(O), u = (O) => Jo(O), d = H(() => s.value.length ?? 0), h = R(""), m = R(), f = R(!1), p = R(!1), b = H(() => pt(n.placeholder) ?? r("select.placeholder")), g = H(() => d.value === 0 ? b.value : d.value > 4 ? `${s.value.slice(0, 4).map((P) => c(P)).join(", ")}... +${d.value - 4}` : s.value.map((O) => c(O)).join(", ")), v = H(() => n.searchPlaceholder ?? g.value ?? r("select.search")), { results: y, isLoading: S } = CF({
11967
+ const n = e, a = t, { $t: r } = un(), o = (O) => typeof O == "function", l = R(), i = R(), s = R([]), c = (O) => dg(O), u = (O) => Jo(O), d = H(() => s.value.length ?? 0), h = R(""), m = R(), f = R(!1), p = R(!1), b = H(() => ht(n.placeholder) ?? r("select.placeholder")), g = H(() => d.value === 0 ? b.value : d.value > 4 ? `${s.value.slice(0, 4).map((P) => c(P)).join(", ")}... +${d.value - 4}` : s.value.map((O) => c(O)).join(", ")), v = H(() => n.searchPlaceholder ?? g.value ?? r("select.search")), { results: y, isLoading: S } = CF({
11968
11968
  searchTerm: () => h.value,
11969
11969
  serverSearch: o(n.options) ? n.options : void 0,
11970
11970
  items: () => Array.isArray(n.options) ? n.options : [],
@@ -12076,7 +12076,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12076
12076
  });
12077
12077
  },
12078
12078
  { deep: !0 }
12079
- ), ht(() => {
12079
+ ), mt(() => {
12080
12080
  const O = n.options;
12081
12081
  if (n.modelValue == null && n.defaultValue !== void 0 && Array.isArray(O)) {
12082
12082
  const P = O.find(
@@ -12100,7 +12100,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12100
12100
  trigger: _e(() => [
12101
12101
  M("label", null, [
12102
12102
  e.label || e.underlined && e.placeholder ? (_(), A("span", qS, [
12103
- tt(le($(pt)(e.label) || $(pt)(e.placeholder)), 1),
12103
+ tt(le($(ht)(e.label) || $(ht)(e.placeholder)), 1),
12104
12104
  e.required ? (_(), A("span", GS, " *")) : U("", !0)
12105
12105
  ])) : U("", !0),
12106
12106
  M("div", YS, [
@@ -12136,7 +12136,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12136
12136
  key: 0,
12137
12137
  icon: e.icon
12138
12138
  }, null, 8, ["icon"])) : U("", !0),
12139
- e.hideLabel ? U("", !0) : (_(), A("p", KS, le(d.value > 0 ? g.value : e.underlined ? "" : $(pt)(e.placeholder) || "Select..."), 1)),
12139
+ e.hideLabel ? U("", !0) : (_(), A("p", KS, le(d.value > 0 ? g.value : e.underlined ? "" : $(ht)(e.placeholder) || "Select..."), 1)),
12140
12140
  e.clearable && d.value > 0 ? (_(), A("div", JS, [
12141
12141
  q($(he), {
12142
12142
  flat: "",
@@ -12345,7 +12345,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12345
12345
  const p = l.value;
12346
12346
  return p !== void 0 && p !== "" && String(p).length > 0;
12347
12347
  });
12348
- return ht(async () => {
12348
+ return mt(async () => {
12349
12349
  var p;
12350
12350
  a.autofocus && (await Ip(() => i.value).toBeTruthy(), await vo(400), (p = i.value) == null || p.focus()), a.autoheight && (await xt(), u());
12351
12351
  }), (p, b) => (_(), A("div", {
@@ -12364,7 +12364,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12364
12364
  }, [
12365
12365
  M("label", { for: e.id }, [
12366
12366
  e.label || e.underlined && e.placeholder ? (_(), A("span", iE, [
12367
- tt(le($(pt)(e.label) || $(pt)(e.placeholder)), 1),
12367
+ tt(le($(ht)(e.label) || $(ht)(e.placeholder)), 1),
12368
12368
  e.required ? (_(), A("span", sE, " *")) : U("", !0)
12369
12369
  ])) : U("", !0),
12370
12370
  !e.multiline && !e.autoheight && !e.code && s.value < 2 ? ct((_(), A("input", Mt({
@@ -12378,7 +12378,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12378
12378
  autocomplete: e.autocomplete,
12379
12379
  type: e.type,
12380
12380
  rows: 1,
12381
- placeholder: e.underlined ? " " : $(pt)(e.placeholder) || $(pt)(e.label),
12381
+ placeholder: e.underlined ? " " : $(ht)(e.placeholder) || $(ht)(e.label),
12382
12382
  disabled: e.disabled,
12383
12383
  required: e.required
12384
12384
  }, e.nativeInputAttrs, {
@@ -12405,7 +12405,7 @@ const Pg = () => (/* @__PURE__ */ new Date()).getTime(), _S = (e, t, n) => {
12405
12405
  title: e.title,
12406
12406
  type: e.type,
12407
12407
  rows: s.value,
12408
- placeholder: e.underlined ? " " : $(pt)(e.placeholder) || $(pt)(e.label),
12408
+ placeholder: e.underlined ? " " : $(ht)(e.placeholder) || $(ht)(e.label),
12409
12409
  disabled: e.disabled,
12410
12410
  required: e.required
12411
12411
  }, e.nativeInputAttrs, {
@@ -14399,7 +14399,7 @@ function qC(e = {}) {
14399
14399
  i(m.target.files), d && c();
14400
14400
  }, h.click();
14401
14401
  }
14402
- return ht(() => {
14402
+ return mt(() => {
14403
14403
  const d = ft(e.dirPath);
14404
14404
  d && cc.list(d).then((h) => {
14405
14405
  const m = Array.isArray(h.data) ? h.data : [h.data];
@@ -14728,7 +14728,7 @@ const GC = { class: "bagel-input" }, YC = { key: 0 }, XC = {
14728
14728
  size: "2.5",
14729
14729
  class: "user-select-none"
14730
14730
  }, null, 8, ["name"])) : U("", !0),
14731
- M("span", dk, le($(pt)(e.placeholder) || $(r)("upload.dropPlaceholder")), 1)
14731
+ M("span", dk, le($(ht)(e.placeholder) || $(r)("upload.dropPlaceholder")), 1)
14732
14732
  ])
14733
14733
  ], !0) : U("", !0)
14734
14734
  ], 38))
@@ -16659,7 +16659,7 @@ const zk = { key: 0 }, jk = {
16659
16659
  return a.textColor || (x && x.length > 0 && x !== "#000" ? x : "inherit");
16660
16660
  });
16661
16661
  let f = null;
16662
- ht(() => {
16662
+ mt(() => {
16663
16663
  typeof document < "u" && (f = new MutationObserver((x) => {
16664
16664
  let L = !1;
16665
16665
  x.forEach((J) => {
@@ -17055,7 +17055,7 @@ const zk = { key: 0 }, jk = {
17055
17055
  B.value = !0;
17056
17056
  }
17057
17057
  }
17058
- function mt(x) {
17058
+ function pt(x) {
17059
17059
  if (x.startsWith("http"))
17060
17060
  return x;
17061
17061
  const L = x.match(/src=["']([^"']+)["']/);
@@ -17067,7 +17067,7 @@ const zk = { key: 0 }, jk = {
17067
17067
  const { doc: x } = i.state;
17068
17068
  if (!x)
17069
17069
  return;
17070
- const { existingEmbed: L } = T, J = x.createElement("iframe"), ge = mt(E.value.src);
17070
+ const { existingEmbed: L } = T, J = x.createElement("iframe"), ge = pt(E.value.src);
17071
17071
  J.src = ge, J.frameBorder = "0", J.setAttribute("allowfullscreen", ""), J.setAttribute("data-media-type", "embed"), J.className = "embed-iframe", J.width = E.value.width || "560", J.height = E.value.height || "315", J.style.width = `${E.value.width || "560"}px`, J.style.height = `${E.value.height || "315"}px`;
17072
17072
  let ae;
17073
17073
  if (L) {
@@ -19067,7 +19067,7 @@ const zk = { key: 0 }, jk = {
19067
19067
  }
19068
19068
  return (o, l) => (_(), A("div", pT, [
19069
19069
  e.label || e.required ? (_(), A("label", gT, [
19070
- tt(le($(pt)(e.label)), 1),
19070
+ tt(le($(ht)(e.label)), 1),
19071
19071
  e.required ? (_(), A("span", vT, " *")) : U("", !0)
19072
19072
  ])) : U("", !0),
19073
19073
  M("div", bT, [
@@ -19693,7 +19693,7 @@ const CT = ["disabled"], kT = ["required"], AV = /* @__PURE__ */ Te({
19693
19693
  function S() {
19694
19694
  l.value = new ET(o.value, p.value), y(), n.disabled ? l.value.off() : l.value.on(), i.value = l.value.isEmpty(), r.value && v(r.value);
19695
19695
  }
19696
- return ht(S), Op(() => o.value, y), oo(() => l.value, "endStroke", g), t({
19696
+ return mt(S), Op(() => o.value, y), oo(() => l.value, "endStroke", g), t({
19697
19697
  save: c,
19698
19698
  clear: s,
19699
19699
  isEmpty: h,
@@ -21306,7 +21306,7 @@ const dx = {
21306
21306
  m.idx = f + 1;
21307
21307
  }), a("update:modelValue", l.value);
21308
21308
  }
21309
- return ht(() => {
21309
+ return mt(() => {
21310
21310
  r = n.bagelApp || o;
21311
21311
  }), (m, f) => {
21312
21312
  var b, g;
@@ -23044,7 +23044,7 @@ const S8 = {
23044
23044
  }), m = H(() => {
23045
23045
  var E;
23046
23046
  return (E = i.value) == null ? void 0 : E.iso2;
23047
- }), f = H(() => n.placeholder ? pt(n.placeholder) : i.value ? `+${i.value.dialCode} ${pt(n.label) || r("tel.phoneNumber")}` : pt(n.label) || r("tel.phoneNumber"));
23047
+ }), f = H(() => n.placeholder ? ht(n.placeholder) : i.value ? `+${i.value.dialCode} ${ht(n.label) || r("tel.phoneNumber")}` : ht(n.label) || r("tel.phoneNumber"));
23048
23048
  function p(E) {
23049
23049
  if (i.value = E, c.value = !1, l.value = "", !o.value)
23050
23050
  n.required && (o.value = `+${i.value.dialCode}`);
@@ -23138,14 +23138,14 @@ const S8 = {
23138
23138
  return (E = s.value) == null ? void 0 : E.focus();
23139
23139
  }, 100);
23140
23140
  }
23141
- return ht(w), (E, T) => {
23141
+ return mt(w), (E, T) => {
23142
23142
  const O = pn("pattern");
23143
23143
  return _(), A("div", {
23144
23144
  class: de(["bagel-input text-input", { invalid: !d.value, "has-error": !!e.error, underlined: e.underlined, "has-value": N.value }])
23145
23145
  }, [
23146
23146
  M("label", null, [
23147
23147
  e.label || e.underlined && e.placeholder ? (_(), A("span", S8, [
23148
- tt(le($(pt)(e.label) || $(pt)(e.placeholder)), 1),
23148
+ tt(le($(ht)(e.label) || $(ht)(e.placeholder)), 1),
23149
23149
  e.required ? (_(), A("span", E8, " *")) : U("", !0)
23150
23150
  ])) : U("", !0),
23151
23151
  M("div", {
@@ -23259,7 +23259,7 @@ const S8 = {
23259
23259
  emits: ["update:modelValue"],
23260
23260
  setup(e) {
23261
23261
  const t = e, n = H(() => t.id || Math.random().toString(36).slice(7)), a = sn(e, "modelValue");
23262
- return ht(() => {
23262
+ return mt(() => {
23263
23263
  }), (r, o) => (_(), A("div", {
23264
23264
  class: de(["bagel-input bgl-toggle", { small: e.small }]),
23265
23265
  title: e.title
@@ -23279,7 +23279,7 @@ const S8 = {
23279
23279
  ]),
23280
23280
  M("label", { for: n.value }, [
23281
23281
  Le(r.$slots, "label", {}, () => [
23282
- tt(le($(pt)(e.label)), 1)
23282
+ tt(le($(ht)(e.label)), 1)
23283
23283
  ], !0)
23284
23284
  ], 8, N8)
23285
23285
  ], 10, P8));
@@ -27750,7 +27750,7 @@ const S8 = {
27750
27750
  const g = await h("Font Awesome 6 Brands");
27751
27751
  c.value = g;
27752
27752
  }
27753
- ht(() => {
27753
+ mt(() => {
27754
27754
  if (d())
27755
27755
  if (o.value === "material") {
27756
27756
  const g = u();
@@ -27821,7 +27821,7 @@ const S8 = {
27821
27821
  var c;
27822
27822
  s.source === ((c = r.value) == null ? void 0 : c.contentWindow) && o(s);
27823
27823
  }
27824
- return ht(() => {
27824
+ return mt(() => {
27825
27825
  window.addEventListener("message", l);
27826
27826
  }), pr(() => {
27827
27827
  window.removeEventListener("message", l);
@@ -28054,9 +28054,9 @@ const S8 = {
28054
28054
  );
28055
28055
  x && !G.disabled && (F[G.id] = x);
28056
28056
  }
28057
- }), Pe(), mt();
28057
+ }), Pe(), pt();
28058
28058
  }
28059
- function mt() {
28059
+ function pt() {
28060
28060
  if (!h.value || Object.keys(F).length === 0 && Object.keys(z).length === 0) {
28061
28061
  S.value = !1;
28062
28062
  return;
@@ -28175,7 +28175,7 @@ const S8 = {
28175
28175
  Ce && (Ce.disabled = !0, Ce.disabledReason = "Child field already mapped");
28176
28176
  }
28177
28177
  }
28178
- Pe(), mt();
28178
+ Pe(), pt();
28179
28179
  }
28180
28180
  function $t(G, X) {
28181
28181
  const De = G.target;
@@ -29152,7 +29152,7 @@ ${L.length} values could not be automatically matched.`);
29152
29152
  closeOnMobile: l,
29153
29153
  sidebarWidth: t.sidebarWidth,
29154
29154
  sidebarCollapsedWidth: t.sidebarCardStyle ? "82px" : "66px"
29155
- }), Nr("sidebarCardStyle", { value: t.sidebarCardStyle }), ht(() => {
29155
+ }), Nr("sidebarCardStyle", { value: t.sidebarCardStyle }), mt(() => {
29156
29156
  r(), window.addEventListener("resize", r);
29157
29157
  }), Sn(() => {
29158
29158
  window.removeEventListener("resize", r);
@@ -29497,7 +29497,7 @@ ${L.length} values could not be automatically matched.`);
29497
29497
  hash: n.router.currentRoute.value.hash
29498
29498
  });
29499
29499
  }
29500
- return ht(() => {
29500
+ return mt(() => {
29501
29501
  var i;
29502
29502
  const l = n.modelValue || ((i = n.router) == null ? void 0 : i.currentRoute.value.query.t) || n.tabs[0];
29503
29503
  r.value = l;
@@ -29632,7 +29632,7 @@ const J5 = { key: 0 }, BV = /* @__PURE__ */ Te({
29632
29632
  });
29633
29633
  },
29634
29634
  { immediate: !0 }
29635
- ), ht(() => {
29635
+ ), mt(() => {
29636
29636
  var d;
29637
29637
  l.value = Array.from(((d = o.value) == null ? void 0 : d.querySelectorAll(".bgl_tab")) || []), requestAnimationFrame(() => {
29638
29638
  i();
@@ -29947,7 +29947,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
29947
29947
  return Re(() => n.markers, m, { immediate: !0 }), Re(() => n.center, (f) => {
29948
29948
  var p;
29949
29949
  return (p = o.value) == null ? void 0 : p.setView(f, n.zoom);
29950
- }, { immediate: !0 }), ht(c), (f, p) => (_(), A("div", {
29950
+ }, { immediate: !0 }), mt(c), (f, p) => (_(), A("div", {
29951
29951
  id: i.value,
29952
29952
  class: "leaflet-map",
29953
29953
  style: je({ height: `${n.height || 400}px` }),
@@ -30367,7 +30367,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
30367
30367
  function a() {
30368
30368
  t.value = !t.value, localStorage.setItem("navOpen", `${t.value}`);
30369
30369
  }
30370
- return ht(n), (r, o) => (_(), A("div", {
30370
+ return mt(n), (r, o) => (_(), A("div", {
30371
30371
  class: de({ open: t.value, closed: !t.value })
30372
30372
  }, [
30373
30373
  Le(r.$slots, "top", { isOpen: t.value }, void 0, !0),
@@ -30811,7 +30811,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
30811
30811
  }
30812
30812
  };
30813
30813
  }), k = H(() => i.value.length ? C.value.loop ? i.value.length : Math.ceil(i.value.length - w.value + 1) : 0), I = R(null), D = R(!1), N = R(null);
30814
- ht(() => {
30814
+ mt(() => {
30815
30815
  D.value = !0, xt(() => {
30816
30816
  O();
30817
30817
  });
@@ -31125,12 +31125,12 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
31125
31125
  async function Pe() {
31126
31126
  D.value && (nt(), C.value.autoplay === "standard" ? b.value = window.setInterval(() => {
31127
31127
  D.value && !v.value && !m.value && ce();
31128
- }, C.value.autoplayInterval) : C.value.autoplay === "linear" && mt());
31128
+ }, C.value.autoplayInterval) : C.value.autoplay === "linear" && pt());
31129
31129
  }
31130
31130
  function nt() {
31131
31131
  b.value !== null && (clearInterval(b.value), b.value = null), g.value !== null && (cancelAnimationFrame(g.value), g.value = null);
31132
31132
  }
31133
- function mt() {
31133
+ function pt() {
31134
31134
  if (!D.value || !i.value.length)
31135
31135
  return;
31136
31136
  const be = c.value / w.value;
@@ -31761,7 +31761,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
31761
31761
  Sn(() => {
31762
31762
  document.removeEventListener("mousemove", Pe), document.removeEventListener("mouseup", nt);
31763
31763
  });
31764
- const mt = H(() => d.value.filter((se) => !se.hidden));
31764
+ const pt = H(() => d.value.filter((se) => !se.hidden));
31765
31765
  return (se, ee) => (_(), A("div", {
31766
31766
  class: "w-100p",
31767
31767
  tabindex: "-1",
@@ -31828,7 +31828,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
31828
31828
  thin: "",
31829
31829
  small: "",
31830
31830
  value: "$t:spreadsheet.selectAll",
31831
- onClick: ee[2] || (ee[2] = (fe) => s.value = mt.value.map((Ne) => Ne.key))
31831
+ onClick: ee[2] || (ee[2] = (fe) => s.value = pt.value.map((Ne) => Ne.key))
31832
31832
  }),
31833
31833
  q($(he), {
31834
31834
  flat: "",
@@ -31838,7 +31838,7 @@ const c9 = ["width", "height"], u9 = ["r", "stroke", "stroke-width"], d9 = ["r",
31838
31838
  onClick: ee[3] || (ee[3] = (fe) => s.value = [])
31839
31839
  })
31840
31840
  ]),
31841
- (_(!0), A(Ee, null, Ie(mt.value, (fe) => (_(), re($(kn), {
31841
+ (_(!0), A(Ee, null, Ie(pt.value, (fe) => (_(), re($(kn), {
31842
31842
  key: fe.key,
31843
31843
  modelValue: s.value,
31844
31844
  "onUpdate:modelValue": [
@@ -35945,7 +35945,7 @@ const nD = {
35945
35945
  xt(() => {
35946
35946
  eD(u.value);
35947
35947
  });
35948
- }), ht(() => {
35948
+ }), mt(() => {
35949
35949
  c.value && (ZA({
35950
35950
  el: c.value,
35951
35951
  nextEl: f.value,
@@ -36028,7 +36028,7 @@ const nD = {
36028
36028
  function i(u, d, h) {
36029
36029
  d === r.value && (o.value = h);
36030
36030
  }
36031
- ht(() => {
36031
+ mt(() => {
36032
36032
  !a || !a.value || (a.value.on("_slideClass", i), n = !0);
36033
36033
  }), B1(() => {
36034
36034
  n || !a || !a.value || (a.value.on("_slideClass", i), n = !0);
@@ -36493,8 +36493,8 @@ const pD = /* @__PURE__ */ Te({
36493
36493
  if (!k.value) {
36494
36494
  const Pe = W - E.value;
36495
36495
  Pe > 0 && (N.value = Q / Pe, B.value = Se / Pe);
36496
- const nt = Y(), mt = nt.x, se = nt.y, ee = c.value + Q / o.value, fe = d.value + Se / l.value;
36497
- c.value = Math.max(-mt, Math.min(mt, ee)), d.value = Math.max(-se, Math.min(se, fe)), E.value = W;
36496
+ const nt = Y(), pt = nt.x, se = nt.y, ee = c.value + Q / o.value, fe = d.value + Se / l.value;
36497
+ c.value = Math.max(-pt, Math.min(pt, ee)), d.value = Math.max(-se, Math.min(se, fe)), E.value = W;
36498
36498
  }
36499
36499
  }
36500
36500
  S.value = pe, w.value = Oe;
@@ -36578,7 +36578,7 @@ const pD = /* @__PURE__ */ Te({
36578
36578
  const W = (Oe - pe) * 0.4;
36579
36579
  return Math.abs(W) > 1e-5 ? pe + W : Oe;
36580
36580
  }
36581
- ht(() => {
36581
+ mt(() => {
36582
36582
  D.value = new mD(), r.value && D.value.attach(r.value), e.doubleClickToZoom && (D.value.onDoubleTap(Ue), r.value && r.value.addEventListener("dblclick", Ue)), window.addEventListener("resize", Fe), Fe(), yt(), Pt();
36583
36583
  }), Sn(() => {
36584
36584
  var pe;
@@ -36762,7 +36762,7 @@ function Ps() {
36762
36762
  const u = 10;
36763
36763
  n.value > i.value + u ? o.value = "down" : n.value < i.value - u && (o.value = "up"), a.value > s.value + u ? l.value = "right" : a.value < s.value - u && (l.value = "left");
36764
36764
  }
36765
- return ht(() => {
36765
+ return mt(() => {
36766
36766
  window.addEventListener("resize", c), window.addEventListener("scroll", c), c();
36767
36767
  }), Sn(() => {
36768
36768
  window.removeEventListener("resize", c), window.removeEventListener("scroll", c);
@@ -36952,7 +36952,7 @@ function eB(e, t = {}) {
36952
36952
  function m() {
36953
36953
  document.visibilityState === "visible" ? l.value && d() : r && u();
36954
36954
  }
36955
- return ht(() => {
36955
+ return mt(() => {
36956
36956
  document.addEventListener("visibilitychange", m), d();
36957
36957
  }), Sn(() => {
36958
36958
  document.removeEventListener("visibilitychange", m), c();
@@ -37021,7 +37021,7 @@ function xD(e) {
37021
37021
  }
37022
37022
  }
37023
37023
  function tB() {
37024
- ht(() => {
37024
+ mt(() => {
37025
37025
  const t = window.localStorage.getItem(am);
37026
37026
  sa.value.find((o) => o.value === t) && (ir.value = t), Ic(ir.value);
37027
37027
  const a = window.matchMedia("(prefers-color-scheme: dark)"), r = (o) => {
@@ -37093,7 +37093,7 @@ const DD = {
37093
37093
  p ? ((b = o.value) == null || b.showModal(), l.value = !1, i.value = !1, setTimeout(() => {
37094
37094
  i.value = !0;
37095
37095
  }, 250)) : u();
37096
- }), ht(() => {
37096
+ }), mt(() => {
37097
37097
  var p;
37098
37098
  a.open && ((p = o.value) == null || p.showModal());
37099
37099
  });
@@ -37478,7 +37478,7 @@ function nL(e, t = {}) {
37478
37478
  function d(W, Q, Se, ...Pe) {
37479
37479
  const nt = c();
37480
37480
  if (Q.column += Se, Q.offset += Se, u) {
37481
- const mt = n ? Tu(nt.startLoc, Q) : null, se = Mo(W, mt, {
37481
+ const pt = n ? Tu(nt.startLoc, Q) : null, se = Mo(W, pt, {
37482
37482
  domain: tL,
37483
37483
  args: Pe
37484
37484
  });
@@ -37575,8 +37575,8 @@ function nL(e, t = {}) {
37575
37575
  if (Se !== 9)
37576
37576
  return !1;
37577
37577
  const Pe = () => {
37578
- const mt = W.currentPeek();
37579
- return mt === "{" ? g(W.peek()) : mt === "@" || mt === "|" || mt === ":" || mt === "." || mt === ya || !mt ? !1 : mt === yn ? (W.peek(), Pe()) : B(W, !1);
37578
+ const pt = W.currentPeek();
37579
+ return pt === "{" ? g(W.peek()) : pt === "@" || pt === "|" || pt === ":" || pt === "." || pt === ya || !pt ? !1 : pt === yn ? (W.peek(), Pe()) : B(W, !1);
37580
37580
  }, nt = Pe();
37581
37581
  return W.resetPeek(), nt;
37582
37582
  }
@@ -37586,9 +37586,9 @@ function nL(e, t = {}) {
37586
37586
  return W.resetPeek(), Q;
37587
37587
  }
37588
37588
  function B(W, Q = !0) {
37589
- const Se = (nt = !1, mt = "") => {
37589
+ const Se = (nt = !1, pt = "") => {
37590
37590
  const se = W.currentPeek();
37591
- return se === "{" || se === "@" || !se ? nt : se === "|" ? !(mt === ya || mt === yn) : se === ya ? (W.peek(), Se(!0, ya)) : se === yn ? (W.peek(), Se(!0, yn)) : !0;
37591
+ return se === "{" || se === "@" || !se ? nt : se === "|" ? !(pt === ya || pt === yn) : se === ya ? (W.peek(), Se(!0, ya)) : se === yn ? (W.peek(), Se(!0, yn)) : !0;
37592
37592
  }, Pe = Se();
37593
37593
  return Q && W.resetPeek(), Pe;
37594
37594
  }
@@ -37706,12 +37706,12 @@ function nL(e, t = {}) {
37706
37706
  f(W, Q);
37707
37707
  let Pe = "";
37708
37708
  for (let nt = 0; nt < Se; nt++) {
37709
- const mt = ce(W);
37710
- if (!mt) {
37709
+ const pt = ce(W);
37710
+ if (!pt) {
37711
37711
  d(st.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${Q}${Pe}${W.currentChar()}`);
37712
37712
  break;
37713
37713
  }
37714
- Pe += mt;
37714
+ Pe += pt;
37715
37715
  }
37716
37716
  return `\\${Q}${Pe}`;
37717
37717
  }
@@ -37767,18 +37767,18 @@ function nL(e, t = {}) {
37767
37767
  case "@":
37768
37768
  return Q.braceNest > 0 && d(st.UNTERMINATED_CLOSING_BRACE, o(), 0), Se = Fe(W, Q) || m(Q), Q.braceNest = 0, Se;
37769
37769
  default: {
37770
- let nt = !0, mt = !0, se = !0;
37770
+ let nt = !0, pt = !0, se = !0;
37771
37771
  if (N(W))
37772
37772
  return Q.braceNest > 0 && d(st.UNTERMINATED_CLOSING_BRACE, o(), 0), Se = h(Q, 1, $e(W)), Q.braceNest = 0, Q.inLinked = !1, Se;
37773
37773
  if (Q.braceNest > 0 && (Q.currentType === 4 || Q.currentType === 5 || Q.currentType === 6))
37774
37774
  return d(st.UNTERMINATED_CLOSING_BRACE, o(), 0), Q.braceNest = 0, pe(W, Q);
37775
37775
  if (nt = y(W, Q))
37776
37776
  return Se = h(Q, 4, K(W)), b(W), Se;
37777
- if (mt = S(W, Q))
37777
+ if (pt = S(W, Q))
37778
37778
  return Se = h(Q, 5, ie(W)), b(W), Se;
37779
37779
  if (se = w(W, Q))
37780
37780
  return Se = h(Q, 6, ke(W)), b(W), Se;
37781
- if (!nt && !mt && !se)
37781
+ if (!nt && !pt && !se)
37782
37782
  return Se = h(Q, 12, Be(W)), d(st.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, Se.value), b(W), Se;
37783
37783
  break;
37784
37784
  }
@@ -39846,7 +39846,7 @@ function qd(e = {}) {
39846
39846
  function nt(ee, fe) {
39847
39847
  d.value[ee] = fe, k.numberFormats = d.value, Sm(k, ee, fe);
39848
39848
  }
39849
- function mt(ee, fe) {
39849
+ function pt(ee, fe) {
39850
39850
  d.value[ee] = fn(d.value[ee] || {}, fe), k.numberFormats = d.value, Sm(k, ee, fe);
39851
39851
  }
39852
39852
  Dm++, t && ga && (Re(t.locale, (ee) => {
@@ -39923,7 +39923,7 @@ function qd(e = {}) {
39923
39923
  setMissingHandler: V,
39924
39924
  [g0]: yt
39925
39925
  };
39926
- return se.datetimeFormats = T, se.numberFormats = O, se.rt = Y, se.te = Pt, se.tm = Ue, se.d = K, se.n = ie, se.getDateTimeFormat = W, se.setDateTimeFormat = Q, se.mergeDateTimeFormat = Se, se.getNumberFormat = Pe, se.setNumberFormat = nt, se.mergeNumberFormat = mt, se[v0] = n, se[Pu] = He, se[Iu] = Be, se[Nu] = Je, process.env.NODE_ENV !== "production" && (se[Hr] = (ee) => {
39926
+ return se.datetimeFormats = T, se.numberFormats = O, se.rt = Y, se.te = Pt, se.tm = Ue, se.d = K, se.n = ie, se.getDateTimeFormat = W, se.setDateTimeFormat = Q, se.mergeDateTimeFormat = Se, se.getNumberFormat = Pe, se.setNumberFormat = nt, se.mergeNumberFormat = pt, se[v0] = n, se[Pu] = He, se[Iu] = Be, se[Nu] = Je, process.env.NODE_ENV !== "production" && (se[Hr] = (ee) => {
39927
39927
  k.__v_emitter = ee;
39928
39928
  }, se[_l] = () => {
39929
39929
  k.__v_emitter = void 0;
@@ -40745,7 +40745,7 @@ function cP(e, t = !1) {
40745
40745
  }
40746
40746
  function uP(e, t, n) {
40747
40747
  let a = null;
40748
- ht(() => {
40748
+ mt(() => {
40749
40749
  if (process.env.NODE_ENV !== "production") {
40750
40750
  t.__VUE_I18N__ = n, a = Bd();
40751
40751
  const r = n;
@@ -41826,7 +41826,7 @@ function un() {
41826
41826
  d: e.d
41827
41827
  };
41828
41828
  }
41829
- function pt(e) {
41829
+ function ht(e) {
41830
41830
  if (e != null)
41831
41831
  return e.startsWith("$t:") ? Gl().global.t(e.slice(3)) : e;
41832
41832
  }
@@ -41986,7 +41986,12 @@ const VI = {
41986
41986
  color: Ra
41987
41987
  }[E] || kt;
41988
41988
  }
41989
- const C = H(() => ({ ...u.value, ...a.errors || {} }));
41989
+ const C = H(() => {
41990
+ const E = { ...u.value, ...a.errors || {} }, T = {};
41991
+ for (const [O, P] of Object.entries(E))
41992
+ T[O] = ht(P) ?? P;
41993
+ return T;
41994
+ });
41990
41995
  function k(E, T) {
41991
41996
  const P = {
41992
41997
  label: S(T, E),
@@ -42150,7 +42155,7 @@ const VI = {
42150
42155
  ], 34);
42151
42156
  };
42152
42157
  }
42153
- }), C0 = /* @__PURE__ */ Ke(UI, [["__scopeId", "data-v-366d82f8"]]), zI = {
42158
+ }), C0 = /* @__PURE__ */ Ke(UI, [["__scopeId", "data-v-5a5470ee"]]), zI = {
42154
42159
  key: 0,
42155
42160
  class: "dialog-form-error bg-red-30 color-red radius-1 mb-1 txt14 px-1 py-075"
42156
42161
  }, jI = /* @__PURE__ */ Te({
@@ -48538,7 +48543,7 @@ export {
48538
48543
  KF as range,
48539
48544
  ud as rangeField,
48540
48545
  oB as required,
48541
- pt as resolveI18n,
48546
+ ht as resolveI18n,
48542
48547
  nd as richText,
48543
48548
  KI as ripple,
48544
48549
  lB as schema,