@sabrenski/spire-ui 0.0.21 → 0.0.22

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.
@@ -1,7 +1,7 @@
1
1
  var kr = Object.defineProperty;
2
2
  var wr = (t, e, i) => e in t ? kr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var oe = (t, e, i) => wr(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { defineComponent as Q, ref as P, watch as ke, computed as x, provide as ut, toRef as mt, createElementBlock as b, openBlock as p, normalizeClass as E, renderSlot as G, onMounted as Qe, onUnmounted as Ne, onBeforeUnmount as fn, isRef as Mr, unref as U, shallowRef as eo, inject as Pe, nextTick as Be, watchEffect as Cr, createBlock as W, resolveDynamicComponent as ze, mergeProps as Pi, withCtx as j, useSlots as St, createElementVNode as v, createCommentVNode as L, Transition as Ct, withDirectives as pn, vShow as ns, toDisplayString as V, createTextVNode as _e, normalizeStyle as Ce, isVNode as Sr, h as ni, reactive as ml, Teleport as Et, createVNode as le, Fragment as fe, renderList as we, createStaticVNode as $r, createSlots as to, withModifiers as It, withKeys as Mn, vModelCheckbox as Dr, normalizeProps as Lr, guardReactiveProps as Ir, readonly as Tr, TransitionGroup as Ar, resolveComponent as Pr } from "vue";
4
+ import { defineComponent as Q, ref as P, watch as ke, computed as x, provide as ut, toRef as mt, createElementBlock as b, openBlock as p, normalizeClass as E, renderSlot as G, onMounted as Qe, onUnmounted as Ne, onBeforeUnmount as fn, isRef as Mr, unref as U, shallowRef as eo, inject as Pe, nextTick as Be, watchEffect as Cr, createBlock as W, resolveDynamicComponent as ze, mergeProps as Pi, withCtx as j, useSlots as St, createElementVNode as v, createCommentVNode as L, Transition as Ct, withDirectives as pn, vShow as ns, toDisplayString as V, createTextVNode as _e, normalizeStyle as Ce, isVNode as Sr, h as ni, reactive as ml, Teleport as Et, createVNode as le, Fragment as he, renderList as we, createStaticVNode as $r, createSlots as to, withModifiers as It, withKeys as Mn, vModelCheckbox as Dr, normalizeProps as Lr, guardReactiveProps as Ir, readonly as Tr, TransitionGroup as Ar, resolveComponent as Pr } from "vue";
5
5
  import { useEditor as Er, EditorContent as Rr, BubbleMenu as Or, VueRenderer as zr } from "@tiptap/vue-3";
6
6
  import Br from "@tiptap/starter-kit";
7
7
  import Vr from "@tiptap/extension-underline";
@@ -1158,7 +1158,7 @@ const fw = /* @__PURE__ */ J(ju, [["render", Yu], ["__scopeId", "data-v-933b4a45
1158
1158
  function ee() {
1159
1159
  o && A();
1160
1160
  }
1161
- function he(O) {
1161
+ function fe(O) {
1162
1162
  if (o) {
1163
1163
  switch (O.key) {
1164
1164
  case "ArrowRight":
@@ -1270,7 +1270,7 @@ const fw = /* @__PURE__ */ J(ju, [["render", Yu], ["__scopeId", "data-v-933b4a45
1270
1270
  onClick: ge,
1271
1271
  onMouseenter: be,
1272
1272
  onMouseleave: He,
1273
- onKeydown: he
1273
+ onKeydown: fe
1274
1274
  }, [
1275
1275
  G(O.$slots, "trigger", {
1276
1276
  open: l.value,
@@ -1681,7 +1681,7 @@ const gw = /* @__PURE__ */ J(ac, [["render", rc], ["__scopeId", "data-v-5ed4af21
1681
1681
  ], -1)
1682
1682
  ])]),
1683
1683
  default: j(() => [
1684
- (p(!0), b(fe, null, we(t.items, (n, s) => (p(), W(U(oc), {
1684
+ (p(!0), b(he, null, we(t.items, (n, s) => (p(), W(U(oc), {
1685
1685
  key: s,
1686
1686
  href: n.href,
1687
1687
  to: n.to
@@ -2755,7 +2755,7 @@ const hd = ["for"], fd = {
2755
2755
  t.loading ? (p(), W(lo, {
2756
2756
  key: 0,
2757
2757
  size: C.value
2758
- }, null, 8, ["size"])) : (p(), b(fe, { key: 1 }, [
2758
+ }, null, 8, ["size"])) : (p(), b(he, { key: 1 }, [
2759
2759
  h.value ? (p(), b("button", {
2760
2760
  key: 0,
2761
2761
  type: "button",
@@ -12632,16 +12632,16 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
12632
12632
  v("thead", null, [
12633
12633
  v("tr", null, [
12634
12634
  D[0] || (D[0] = v("th", { scope: "col" }, "Label", -1)),
12635
- (p(!0), b(fe, null, we(t.data.datasets || [], (I, T) => (p(), b("th", {
12635
+ (p(!0), b(he, null, we(t.data.datasets || [], (I, T) => (p(), b("th", {
12636
12636
  key: T,
12637
12637
  scope: "col"
12638
12638
  }, V(I.label || `Series ${T + 1}`), 1))), 128))
12639
12639
  ])
12640
12640
  ]),
12641
12641
  v("tbody", null, [
12642
- (p(!0), b(fe, null, we(t.data.labels || [], (I, T) => (p(), b("tr", { key: T }, [
12642
+ (p(!0), b(he, null, we(t.data.labels || [], (I, T) => (p(), b("tr", { key: T }, [
12643
12643
  v("th", Qm, V(I), 1),
12644
- (p(!0), b(fe, null, we(t.data.datasets || [], (z, H) => {
12644
+ (p(!0), b(he, null, we(t.data.datasets || [], (z, H) => {
12645
12645
  var re;
12646
12646
  return p(), b("td", { key: H }, V((re = z.data) == null ? void 0 : re[T]), 1);
12647
12647
  }), 128))
@@ -12662,7 +12662,7 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
12662
12662
  })
12663
12663
  }, [
12664
12664
  h.value.title ? (p(), b("div", ev, V(h.value.title), 1)) : L("", !0),
12665
- (p(!0), b(fe, null, we(h.value.items, (I, T) => (p(), b("div", {
12665
+ (p(!0), b(he, null, we(h.value.items, (I, T) => (p(), b("div", {
12666
12666
  key: T,
12667
12667
  class: "ui-chart__tooltip-item"
12668
12668
  }, [
@@ -12776,7 +12776,7 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
12776
12776
  toggle: h
12777
12777
  }, () => [
12778
12778
  v("div", sv, [
12779
- (p(!0), b(fe, null, we(d, (f, g) => (p(), b("button", {
12779
+ (p(!0), b(he, null, we(d, (f, g) => (p(), b("button", {
12780
12780
  key: g,
12781
12781
  type: "button",
12782
12782
  class: E(["ui-line-chart__legend-item", { "ui-line-chart__legend-item--hidden": f.hidden }]),
@@ -12892,7 +12892,7 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
12892
12892
  toggle: d
12893
12893
  }, () => [
12894
12894
  v("div", rv, [
12895
- (p(!0), b(fe, null, we(c, (h, f) => (p(), b("button", {
12895
+ (p(!0), b(he, null, we(c, (h, f) => (p(), b("button", {
12896
12896
  key: f,
12897
12897
  type: "button",
12898
12898
  class: E(["ui-bar-chart__legend-item", { "ui-bar-chart__legend-item--hidden": h.hidden }]),
@@ -12987,7 +12987,7 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
12987
12987
  }
12988
12988
  }, () => [
12989
12989
  v("div", hv, [
12990
- (p(!0), b(fe, null, we(t.segments, (f, g) => (p(), b("div", {
12990
+ (p(!0), b(he, null, we(t.segments, (f, g) => (p(), b("div", {
12991
12991
  key: g,
12992
12992
  class: "ui-donut-chart__legend-item"
12993
12993
  }, [
@@ -13029,7 +13029,7 @@ const Jm = ["aria-label"], Zm = { class: "ui-chart__sr-table" }, Qm = { scope: "
13029
13029
  }
13030
13030
  }, () => [
13031
13031
  v("div", yv, [
13032
- (p(!0), b(fe, null, we(t.segments, (f, g) => (p(), b("div", {
13032
+ (p(!0), b(he, null, we(t.segments, (f, g) => (p(), b("div", {
13033
13033
  key: g,
13034
13034
  class: "ui-donut-chart__legend-item"
13035
13035
  }, [
@@ -13218,7 +13218,7 @@ const Pv = {
13218
13218
  onClick: h
13219
13219
  }, null, 8, ["size", "disabled", "icon-left"]),
13220
13220
  v("ul", Pv, [
13221
- (p(!0), b(fe, null, we(r.value, (_, M) => (p(), b("li", {
13221
+ (p(!0), b(he, null, we(r.value, (_, M) => (p(), b("li", {
13222
13222
  key: _ === "ellipsis" ? `ellipsis-${M}` : _,
13223
13223
  class: "ui-pagination__item"
13224
13224
  }, [
@@ -13502,9 +13502,9 @@ const Pv = {
13502
13502
  "aria-hidden": "true"
13503
13503
  }, [
13504
13504
  v("option", Wv, V(t.placeholder), 1),
13505
- (p(!0), b(fe, null, we(M.value, (A) => {
13505
+ (p(!0), b(he, null, we(M.value, (A) => {
13506
13506
  var R, Ee, De, se;
13507
- return p(), b(fe, {
13507
+ return p(), b(he, {
13508
13508
  key: A.type === "group-header" ? `native-group-${A.groupLabel}` : `native-${(R = A.option) == null ? void 0 : R.value}`
13509
13509
  }, [
13510
13510
  A.type === "option" ? (p(), b("option", {
@@ -13528,9 +13528,9 @@ const Pv = {
13528
13528
  style: Ce(S.value),
13529
13529
  "aria-labelledby": h.value
13530
13530
  }, [
13531
- (p(!0), b(fe, null, we(M.value, (A, R) => {
13531
+ (p(!0), b(he, null, we(M.value, (A, R) => {
13532
13532
  var Ee, De, se, ge, be, He, Z;
13533
- return p(), b(fe, {
13533
+ return p(), b(he, {
13534
13534
  key: A.type === "group-header" ? `group-${A.groupLabel}` : (Ee = A.option) == null ? void 0 : Ee.value
13535
13535
  }, [
13536
13536
  A.type === "group-header" ? (p(), b("li", Yv, V(A.groupLabel), 1)) : (p(), b("li", {
@@ -13788,7 +13788,7 @@ const eb = {
13788
13788
  function Z(B, q, K) {
13789
13789
  return q ? String(B ?? "").toLowerCase().includes(q.toLowerCase()) : !0;
13790
13790
  }
13791
- const ee = x(() => De.value !== "" || Object.keys(se.value).length > 0), he = x(() => g.filterable ? g.columns.filter((B) => B.filterable !== !1) : []), Se = P({}), Ye = P(null), wt = P(0), X = P(0), ae = P(null);
13791
+ const ee = x(() => De.value !== "" || Object.keys(se.value).length > 0), fe = x(() => g.filterable ? g.columns.filter((B) => B.filterable !== !1) : []), Se = P({}), Ye = P(null), wt = P(0), X = P(0), ae = P(null);
13792
13792
  function ce(B) {
13793
13793
  return Se.value[B.key] ? `${Se.value[B.key]}px` : B.width;
13794
13794
  }
@@ -13963,7 +13963,7 @@ const eb = {
13963
13963
  ], 8, sb),
13964
13964
  ht.value ? (p(), b("div", ob, [
13965
13965
  v("ul", ab, [
13966
- (p(!0), b(fe, null, we(t.columns, (K) => (p(), b("li", {
13966
+ (p(!0), b(he, null, we(t.columns, (K) => (p(), b("li", {
13967
13967
  key: K.key,
13968
13968
  class: "ui-table__dropdown-item",
13969
13969
  role: "menuitemcheckbox",
@@ -14037,7 +14037,7 @@ const eb = {
14037
14037
  "onUpdate:modelValue": F
14038
14038
  }, null, 8, ["model-value", "indeterminate"])
14039
14039
  ])) : L("", !0),
14040
- (p(!0), b(fe, null, we(Dt.value, (K, Le) => (p(), b("th", {
14040
+ (p(!0), b(he, null, we(Dt.value, (K, Le) => (p(), b("th", {
14041
14041
  key: K.key,
14042
14042
  class: E(["ui-table__header-cell", [
14043
14043
  `ui-table__header-cell--${K.align || "left"}`,
@@ -14085,10 +14085,10 @@ const eb = {
14085
14085
  }, null, 40, kb)) : L("", !0)
14086
14086
  ], 46, yb))), 128))
14087
14087
  ]),
14088
- t.filterable && he.value.length > 0 ? (p(), b("tr", wb, [
14088
+ t.filterable && fe.value.length > 0 ? (p(), b("tr", wb, [
14089
14089
  t.expandable ? (p(), b("th", Mb)) : L("", !0),
14090
14090
  t.selectable ? (p(), b("th", Cb)) : L("", !0),
14091
- (p(!0), b(fe, null, we(Dt.value, (K) => (p(), b("th", {
14091
+ (p(!0), b(he, null, we(Dt.value, (K) => (p(), b("th", {
14092
14092
  key: `filter-${K.key}`,
14093
14093
  class: "ui-table__filter-cell"
14094
14094
  }, [
@@ -14103,7 +14103,7 @@ const eb = {
14103
14103
  ])) : L("", !0)
14104
14104
  ]),
14105
14105
  v("tbody", Sb, [
14106
- t.loading ? (p(!0), b(fe, { key: 0 }, we(Bt.value, (K, Le) => (p(), b("tr", {
14106
+ t.loading ? (p(!0), b(he, { key: 0 }, we(Bt.value, (K, Le) => (p(), b("tr", {
14107
14107
  key: `skeleton-${Le}`,
14108
14108
  class: "ui-table__row ui-table__row--skeleton"
14109
14109
  }, [
@@ -14121,7 +14121,7 @@ const eb = {
14121
14121
  height: 16
14122
14122
  })
14123
14123
  ])) : L("", !0),
14124
- (p(!0), b(fe, null, we(Dt.value, (ye, We) => (p(), b("td", {
14124
+ (p(!0), b(he, null, we(Dt.value, (ye, We) => (p(), b("td", {
14125
14125
  key: ye.key,
14126
14126
  class: E(["ui-table__cell", [`ui-table__cell--${ye.align || "left"}`]])
14127
14127
  }, [
@@ -14144,7 +14144,7 @@ const eb = {
14144
14144
  }, null, 8, ["title", "description"])
14145
14145
  ], !0)
14146
14146
  ], 8, Ib)
14147
- ])) : (p(!0), b(fe, { key: 2 }, we(nt.value, (K, Le) => (p(), b(fe, {
14147
+ ])) : (p(!0), b(he, { key: 2 }, we(nt.value, (K, Le) => (p(), b(he, {
14148
14148
  key: ie(K)
14149
14149
  }, [
14150
14150
  v("tr", {
@@ -14184,7 +14184,7 @@ const eb = {
14184
14184
  "onUpdate:modelValue": (ye) => N(K, ye)
14185
14185
  }, null, 8, ["model-value", "aria-label", "onUpdate:modelValue"])
14186
14186
  ])) : L("", !0),
14187
- (p(!0), b(fe, null, we(Dt.value, (ye) => (p(), b("td", {
14187
+ (p(!0), b(he, null, we(Dt.value, (ye) => (p(), b("td", {
14188
14188
  key: ye.key,
14189
14189
  class: E(["ui-table__cell", [`ui-table__cell--${ye.align || "left"}`]]),
14190
14190
  "data-label": ye.label,
@@ -14489,7 +14489,7 @@ const Xb = ["for"], qb = {
14489
14489
  if (!pe.value) return !0;
14490
14490
  const Y = new Date(N.value, A.value, 1), ne = new Date(pe.value.getFullYear(), pe.value.getMonth(), 1);
14491
14491
  return Y > ne;
14492
- }), he = x(() => {
14492
+ }), fe = x(() => {
14493
14493
  if (H.value === "year") return !0;
14494
14494
  if (H.value === "month")
14495
14495
  return F.value ? N.value < F.value.getFullYear() : !0;
@@ -14529,7 +14529,7 @@ const Xb = ["for"], qb = {
14529
14529
  ee.value && (H.value === "year" ? wt(-1) : H.value === "month" ? Ye(-1) : Se(-1));
14530
14530
  }
14531
14531
  function ae() {
14532
- he.value && (H.value === "year" ? wt(1) : H.value === "month" ? Ye(1) : Se(1));
14532
+ fe.value && (H.value === "year" ? wt(1) : H.value === "month" ? Ye(1) : Se(1));
14533
14533
  }
14534
14534
  function ce() {
14535
14535
  H.value === "day" ? H.value = "year" : (H.value, H.value = "day");
@@ -14780,7 +14780,7 @@ const Xb = ["for"], qb = {
14780
14780
  name: t.name,
14781
14781
  value: t.modelValue,
14782
14782
  required: t.required
14783
- }, null, 8, m0)) : t.name ? (p(), b(fe, { key: 1 }, [
14783
+ }, null, 8, m0)) : t.name ? (p(), b(he, { key: 1 }, [
14784
14784
  v("input", {
14785
14785
  type: "hidden",
14786
14786
  name: `${t.name}[0]`,
@@ -14868,7 +14868,7 @@ const Xb = ["for"], qb = {
14868
14868
  name: t.name,
14869
14869
  value: t.modelValue,
14870
14870
  required: t.required
14871
- }, null, 8, Qb)) : t.name ? (p(), b(fe, { key: 3 }, [
14871
+ }, null, 8, Qb)) : t.name ? (p(), b(he, { key: 3 }, [
14872
14872
  v("input", {
14873
14873
  type: "hidden",
14874
14874
  name: `${t.name}[0]`,
@@ -14910,13 +14910,13 @@ const Xb = ["for"], qb = {
14910
14910
  variant: "ghost",
14911
14911
  size: "sm",
14912
14912
  "icon-left": U(M),
14913
- disabled: !he.value,
14913
+ disabled: !fe.value,
14914
14914
  "aria-label": "Next",
14915
14915
  onClick: ae
14916
14916
  }, null, 8, ["icon-left", "disabled"])
14917
14917
  ]),
14918
14918
  H.value === "year" ? (p(), b("div", o0, [
14919
- (p(!0), b(fe, null, we(se.value, (me) => (p(), b("button", {
14919
+ (p(!0), b(he, null, we(se.value, (me) => (p(), b("button", {
14920
14920
  key: me,
14921
14921
  type: "button",
14922
14922
  class: E(["ui-datepicker__year", {
@@ -14927,7 +14927,7 @@ const Xb = ["for"], qb = {
14927
14927
  onClick: (tt) => xe(me)
14928
14928
  }, V(me), 11, a0))), 128))
14929
14929
  ])) : H.value === "month" ? (p(), b("div", l0, [
14930
- (p(!0), b(fe, null, we(De.value, (me, tt) => (p(), b("button", {
14930
+ (p(!0), b(he, null, we(De.value, (me, tt) => (p(), b("button", {
14931
14931
  key: tt,
14932
14932
  type: "button",
14933
14933
  class: E(["ui-datepicker__month", {
@@ -14937,9 +14937,9 @@ const Xb = ["for"], qb = {
14937
14937
  disabled: de(tt),
14938
14938
  onClick: (di) => Te(tt)
14939
14939
  }, V(me), 11, r0))), 128))
14940
- ])) : (p(), b(fe, { key: 2 }, [
14940
+ ])) : (p(), b(he, { key: 2 }, [
14941
14941
  v("div", u0, [
14942
- (p(!0), b(fe, null, we(Ee.value, (me) => (p(), b("span", {
14942
+ (p(!0), b(he, null, we(Ee.value, (me) => (p(), b("span", {
14943
14943
  key: me,
14944
14944
  class: "ui-datepicker__weekday",
14945
14945
  role: "columnheader",
@@ -14955,7 +14955,7 @@ const Xb = ["for"], qb = {
14955
14955
  "aria-label": `${R.value} ${N.value}`,
14956
14956
  onKeydown: Dt
14957
14957
  }, [
14958
- (p(!0), b(fe, null, we(be.value, (me, tt) => (p(), b("button", {
14958
+ (p(!0), b(he, null, we(be.value, (me, tt) => (p(), b("button", {
14959
14959
  key: tt,
14960
14960
  type: "button",
14961
14961
  class: E(["ui-datepicker__day", [
@@ -15027,13 +15027,13 @@ const Xb = ["for"], qb = {
15027
15027
  variant: "ghost",
15028
15028
  size: "md",
15029
15029
  "icon-left": U(M),
15030
- disabled: !he.value,
15030
+ disabled: !fe.value,
15031
15031
  "aria-label": "Next",
15032
15032
  onClick: ae
15033
15033
  }, null, 8, ["icon-left", "disabled"])
15034
15034
  ]),
15035
15035
  H.value === "year" ? (p(), b("div", C0, [
15036
- (p(!0), b(fe, null, we(se.value, (me) => (p(), b("button", {
15036
+ (p(!0), b(he, null, we(se.value, (me) => (p(), b("button", {
15037
15037
  key: me,
15038
15038
  type: "button",
15039
15039
  class: E(["ui-datepicker__year", {
@@ -15044,7 +15044,7 @@ const Xb = ["for"], qb = {
15044
15044
  onClick: (tt) => xe(me)
15045
15045
  }, V(me), 11, S0))), 128))
15046
15046
  ])) : H.value === "month" ? (p(), b("div", $0, [
15047
- (p(!0), b(fe, null, we(De.value, (me, tt) => (p(), b("button", {
15047
+ (p(!0), b(he, null, we(De.value, (me, tt) => (p(), b("button", {
15048
15048
  key: tt,
15049
15049
  type: "button",
15050
15050
  class: E(["ui-datepicker__month", {
@@ -15054,9 +15054,9 @@ const Xb = ["for"], qb = {
15054
15054
  disabled: de(tt),
15055
15055
  onClick: (di) => Te(tt)
15056
15056
  }, V(me), 11, D0))), 128))
15057
- ])) : (p(), b(fe, { key: 2 }, [
15057
+ ])) : (p(), b(he, { key: 2 }, [
15058
15058
  v("div", L0, [
15059
- (p(!0), b(fe, null, we(Ee.value, (me) => (p(), b("span", {
15059
+ (p(!0), b(he, null, we(Ee.value, (me) => (p(), b("span", {
15060
15060
  key: me,
15061
15061
  class: "ui-datepicker__weekday",
15062
15062
  role: "columnheader",
@@ -15072,7 +15072,7 @@ const Xb = ["for"], qb = {
15072
15072
  "aria-label": `${R.value} ${N.value}`,
15073
15073
  onKeydown: Dt
15074
15074
  }, [
15075
- (p(!0), b(fe, null, we(be.value, (me, tt) => (p(), b("button", {
15075
+ (p(!0), b(he, null, we(be.value, (me, tt) => (p(), b("button", {
15076
15076
  key: tt,
15077
15077
  type: "button",
15078
15078
  class: E(["ui-datepicker__day", [
@@ -15338,16 +15338,16 @@ const Xb = ["for"], qb = {
15338
15338
  return Z;
15339
15339
  }), C = x(() => n.modelValue === null || n.modelValue === void 0 ? [] : Array.isArray(n.modelValue) ? n.modelValue : [n.modelValue]), S = x(() => C.value.map((Z) => w.value.find((ee) => ee.value === Z)).filter((Z) => Z !== void 0)), D = x(() => {
15340
15340
  const Z = u.value.toLowerCase().trim(), ee = [];
15341
- for (const he of n.options)
15342
- if (i(he)) {
15343
- const Se = Z ? he.options.filter((Ye) => Ye.label.toLowerCase().includes(Z)) : he.options;
15341
+ for (const fe of n.options)
15342
+ if (i(fe)) {
15343
+ const Se = Z ? fe.options.filter((Ye) => Ye.label.toLowerCase().includes(Z)) : fe.options;
15344
15344
  if (Se.length > 0) {
15345
- ee.push({ type: "group-header", groupLabel: he.label });
15345
+ ee.push({ type: "group-header", groupLabel: fe.label });
15346
15346
  for (const Ye of Se)
15347
15347
  ee.push({ type: "option", option: Ye });
15348
15348
  }
15349
15349
  } else
15350
- (!Z || he.label.toLowerCase().includes(Z)) && ee.push({ type: "option", option: he });
15350
+ (!Z || fe.label.toLowerCase().includes(Z)) && ee.push({ type: "option", option: fe });
15351
15351
  return ee;
15352
15352
  }), I = x(() => D.value.map((Z, ee) => ({ item: Z, index: ee })).filter(({ item: Z }) => {
15353
15353
  var ee;
@@ -15356,7 +15356,7 @@ const Xb = ["for"], qb = {
15356
15356
  if (!n.allowCreate) return !1;
15357
15357
  const Z = u.value.trim();
15358
15358
  return Z ? !w.value.some(
15359
- (he) => he.label.toLowerCase() === Z.toLowerCase()
15359
+ (fe) => fe.label.toLowerCase() === Z.toLowerCase()
15360
15360
  ) : !1;
15361
15361
  }), z = x(() => {
15362
15362
  if (!(!r.value || c.value < 0))
@@ -15380,9 +15380,9 @@ const Xb = ["for"], qb = {
15380
15380
  r.value && (r.value = !1, c.value = -1, d.value = -1, !n.multiple && S.value.length > 0 ? u.value = S.value[0].label : n.multiple || (u.value = ""), document.removeEventListener("mousedown", ue), window.removeEventListener("resize", ie), window.removeEventListener("scroll", re, !0));
15381
15381
  }
15382
15382
  function ue(Z) {
15383
- var he, Se;
15383
+ var fe, Se;
15384
15384
  const ee = Z.target;
15385
- (he = o.value) != null && he.contains(ee) || (Se = l.value) != null && Se.contains(ee) || ie();
15385
+ (fe = o.value) != null && fe.contains(ee) || (Se = l.value) != null && Se.contains(ee) || ie();
15386
15386
  }
15387
15387
  function ve(Z) {
15388
15388
  const ee = Z.target;
@@ -15396,16 +15396,16 @@ const Xb = ["for"], qb = {
15396
15396
  var ee;
15397
15397
  if (!Z.disabled)
15398
15398
  if (n.multiple) {
15399
- const he = [...C.value], Se = he.indexOf(Z.value);
15400
- Se >= 0 ? he.splice(Se, 1) : he.push(Z.value), s("update:modelValue", he), u.value = "", (ee = a.value) == null || ee.focus();
15399
+ const fe = [...C.value], Se = fe.indexOf(Z.value);
15400
+ Se >= 0 ? fe.splice(Se, 1) : fe.push(Z.value), s("update:modelValue", fe), u.value = "", (ee = a.value) == null || ee.focus();
15401
15401
  } else
15402
15402
  s("update:modelValue", Z.value), u.value = Z.label, ie();
15403
15403
  }
15404
15404
  function N(Z, ee) {
15405
15405
  var Se;
15406
15406
  ee == null || ee.stopPropagation();
15407
- const he = C.value.filter((Ye) => Ye !== Z);
15408
- s("update:modelValue", he.length > 0 ? he : null), (Se = a.value) == null || Se.focus();
15407
+ const fe = C.value.filter((Ye) => Ye !== Z);
15408
+ s("update:modelValue", fe.length > 0 ? fe : null), (Se = a.value) == null || Se.focus();
15409
15409
  }
15410
15410
  function A() {
15411
15411
  const Z = u.value.trim();
@@ -15419,9 +15419,9 @@ const Xb = ["for"], qb = {
15419
15419
  function Ee(Z) {
15420
15420
  const ee = I.value;
15421
15421
  if (ee.length === 0) return;
15422
- const he = ee.indexOf(c.value);
15422
+ const fe = ee.indexOf(c.value);
15423
15423
  let Se;
15424
- he === -1 ? Se = Z === 1 ? 0 : ee.length - 1 : Se = (he + Z + ee.length) % ee.length, c.value = ee[Se], Be(R);
15424
+ fe === -1 ? Se = Z === 1 ? 0 : ee.length - 1 : Se = (fe + Z + ee.length) % ee.length, c.value = ee[Se], Be(R);
15425
15425
  }
15426
15426
  function De(Z) {
15427
15427
  switch (Z.key) {
@@ -15465,8 +15465,8 @@ const Xb = ["for"], qb = {
15465
15465
  function se(Z) {
15466
15466
  const ee = u.value.trim();
15467
15467
  if (!ee) return Z;
15468
- const he = new RegExp(`(${ee.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")})`, "gi");
15469
- return Z.replace(he, "<mark>$1</mark>");
15468
+ const fe = new RegExp(`(${ee.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")})`, "gi");
15469
+ return Z.replace(fe, "<mark>$1</mark>");
15470
15470
  }
15471
15471
  function ge(Z) {
15472
15472
  return C.value.includes(Z);
@@ -15474,7 +15474,7 @@ const Xb = ["for"], qb = {
15474
15474
  const be = x(() => n.multiple ? S.value.slice(0, n.maxDisplayedChips) : []), He = x(() => n.multiple ? Math.max(0, S.value.length - n.maxDisplayedChips) : 0);
15475
15475
  return ke(() => n.modelValue, (Z) => {
15476
15476
  if (!n.multiple && Z !== null && Z !== void 0) {
15477
- const ee = w.value.find((he) => he.value === Z);
15477
+ const ee = w.value.find((fe) => fe.value === Z);
15478
15478
  ee && (u.value = ee.label);
15479
15479
  }
15480
15480
  }, { immediate: !0 }), fn(() => {
@@ -15511,23 +15511,23 @@ const Xb = ["for"], qb = {
15511
15511
  "ui-combobox__trigger--multiple": t.multiple
15512
15512
  }
15513
15513
  ]]),
15514
- onClick: ee[0] || (ee[0] = (he) => {
15514
+ onClick: ee[0] || (ee[0] = (fe) => {
15515
15515
  var Se;
15516
15516
  return (Se = a.value) == null ? void 0 : Se.focus();
15517
15517
  })
15518
15518
  }, [
15519
- t.multiple ? (p(), b(fe, { key: 0 }, [
15520
- (p(!0), b(fe, null, we(be.value, (he, Se) => (p(), b("span", {
15521
- key: he.value,
15522
- class: E(["ui-combobox__chip", { "ui-combobox__chip--marked": d.value === C.value.indexOf(he.value) }])
15519
+ t.multiple ? (p(), b(he, { key: 0 }, [
15520
+ (p(!0), b(he, null, we(be.value, (fe, Se) => (p(), b("span", {
15521
+ key: fe.value,
15522
+ class: E(["ui-combobox__chip", { "ui-combobox__chip--marked": d.value === C.value.indexOf(fe.value) }])
15523
15523
  }, [
15524
- _e(V(he.label) + " ", 1),
15524
+ _e(V(fe.label) + " ", 1),
15525
15525
  v("button", {
15526
15526
  type: "button",
15527
15527
  class: "ui-combobox__chip-remove",
15528
15528
  tabindex: "-1",
15529
15529
  "aria-label": "Remove",
15530
- onClick: (Ye) => N(he.value, Ye)
15530
+ onClick: (Ye) => N(fe.value, Ye)
15531
15531
  }, [...ee[1] || (ee[1] = [
15532
15532
  v("svg", {
15533
15533
  viewBox: "0 0 24 24",
@@ -15585,12 +15585,12 @@ const Xb = ["for"], qb = {
15585
15585
  "aria-hidden": "true"
15586
15586
  }, [
15587
15587
  t.multiple ? L("", !0) : (p(), b("option", X0, V(t.placeholder), 1)),
15588
- (p(!0), b(fe, null, we(w.value, (he) => (p(), b("option", {
15589
- key: he.value,
15590
- value: he.value,
15591
- selected: ge(he.value),
15592
- disabled: he.disabled
15593
- }, V(he.label), 9, q0))), 128))
15588
+ (p(!0), b(he, null, we(w.value, (fe) => (p(), b("option", {
15589
+ key: fe.value,
15590
+ value: fe.value,
15591
+ selected: ge(fe.value),
15592
+ disabled: fe.disabled
15593
+ }, V(fe.label), 9, q0))), 128))
15594
15594
  ], 8, K0)) : L("", !0),
15595
15595
  (p(), W(Et, { to: U(f) }, [
15596
15596
  le(Ct, { name: "ui-combobox-menu" }, {
@@ -15607,38 +15607,38 @@ const Xb = ["for"], qb = {
15607
15607
  "aria-multiselectable": t.multiple
15608
15608
  }, [
15609
15609
  I.value.length === 0 && !T.value ? (p(), b("li", J0, " No results found ")) : L("", !0),
15610
- (p(!0), b(fe, null, we(D.value, (he, Se) => {
15610
+ (p(!0), b(he, null, we(D.value, (fe, Se) => {
15611
15611
  var Ye, wt, X;
15612
- return p(), b(fe, {
15613
- key: he.type === "group-header" ? `group-${he.groupLabel}` : (Ye = he.option) == null ? void 0 : Ye.value
15612
+ return p(), b(he, {
15613
+ key: fe.type === "group-header" ? `group-${fe.groupLabel}` : (Ye = fe.option) == null ? void 0 : Ye.value
15614
15614
  }, [
15615
- he.type === "group-header" ? (p(), b("li", Z0, V(he.groupLabel), 1)) : (p(), b("li", {
15615
+ fe.type === "group-header" ? (p(), b("li", Z0, V(fe.groupLabel), 1)) : (p(), b("li", {
15616
15616
  key: 1,
15617
15617
  id: $(Se),
15618
15618
  role: "option",
15619
15619
  class: E(["ui-combobox__option", {
15620
- "ui-combobox__option--selected": ge(he.option.value),
15620
+ "ui-combobox__option--selected": ge(fe.option.value),
15621
15621
  "ui-combobox__option--highlighted": Se === c.value,
15622
- "ui-combobox__option--disabled": (wt = he.option) == null ? void 0 : wt.disabled
15622
+ "ui-combobox__option--disabled": (wt = fe.option) == null ? void 0 : wt.disabled
15623
15623
  }]),
15624
- "aria-selected": ge(he.option.value),
15625
- "aria-disabled": (X = he.option) == null ? void 0 : X.disabled,
15624
+ "aria-selected": ge(fe.option.value),
15625
+ "aria-disabled": (X = fe.option) == null ? void 0 : X.disabled,
15626
15626
  onMouseenter: (ae) => {
15627
15627
  var ce;
15628
- return !((ce = he.option) != null && ce.disabled) && (c.value = Se);
15628
+ return !((ce = fe.option) != null && ce.disabled) && (c.value = Se);
15629
15629
  },
15630
- onClick: (ae) => he.option && F(he.option)
15630
+ onClick: (ae) => fe.option && F(fe.option)
15631
15631
  }, [
15632
15632
  t.multiple ? (p(), b("span", ey, [
15633
- ge(he.option.value) ? (p(), b("svg", ty, [...ee[3] || (ee[3] = [
15633
+ ge(fe.option.value) ? (p(), b("svg", ty, [...ee[3] || (ee[3] = [
15634
15634
  v("path", { d: "M5 12l5 5L20 7" }, null, -1)
15635
15635
  ])])) : L("", !0)
15636
15636
  ])) : L("", !0),
15637
15637
  v("span", {
15638
15638
  class: "ui-combobox__option-label",
15639
- innerHTML: se(he.option.label)
15639
+ innerHTML: se(fe.option.label)
15640
15640
  }, null, 8, iy),
15641
- !t.multiple && ge(he.option.value) ? (p(), b("svg", ny, [...ee[4] || (ee[4] = [
15641
+ !t.multiple && ge(fe.option.value) ? (p(), b("svg", ny, [...ee[4] || (ee[4] = [
15642
15642
  v("path", { d: "M5 12l5 5L20 7" }, null, -1)
15643
15643
  ])])) : L("", !0)
15644
15644
  ], 42, Q0))
@@ -16062,7 +16062,7 @@ const Xb = ["for"], qb = {
16062
16062
  ".wav": "WAV"
16063
16063
  }, ce = n.accept.split(",").map((Te) => Te.trim().toLowerCase()).map((Te) => X[Te] || Te.replace(/^\./, "").toUpperCase()), xe = [...new Set(ce)];
16064
16064
  return xe.length <= 3 ? xe.join(", ") : `${xe.slice(0, 2).join(", ")} +${xe.length - 2} more`;
16065
- }), he = x(() => n.maxVisibleFiles <= 0 || f.value ? n.modelValue : n.modelValue.slice(0, n.maxVisibleFiles)), Se = x(() => n.maxVisibleFiles <= 0 || f.value ? 0 : Math.max(0, n.modelValue.length - n.maxVisibleFiles));
16065
+ }), fe = x(() => n.maxVisibleFiles <= 0 || f.value ? n.modelValue : n.modelValue.slice(0, n.maxVisibleFiles)), Se = x(() => n.maxVisibleFiles <= 0 || f.value ? 0 : Math.max(0, n.modelValue.length - n.maxVisibleFiles));
16066
16066
  function Ye() {
16067
16067
  f.value = !f.value;
16068
16068
  }
@@ -16145,25 +16145,25 @@ const Xb = ["for"], qb = {
16145
16145
  ])
16146
16146
  ], -1)),
16147
16147
  v("div", my, [
16148
- r.value ? (p(), b("span", vy, " Drop files here ")) : (p(), b(fe, { key: 1 }, [
16148
+ r.value ? (p(), b("span", vy, " Drop files here ")) : (p(), b(he, { key: 1 }, [
16149
16149
  ae[0] || (ae[0] = v("span", { class: "ui-file-upload__primary-text" }, [
16150
16150
  v("span", { class: "ui-file-upload__link" }, "Click to upload"),
16151
16151
  _e(" or drag and drop ")
16152
16152
  ], -1)),
16153
16153
  ee.value || t.maxSize || t.allowPaste ? (p(), b("span", by, [
16154
- ee.value ? (p(), b(fe, { key: 0 }, [
16154
+ ee.value ? (p(), b(he, { key: 0 }, [
16155
16155
  _e(V(ee.value), 1)
16156
16156
  ], 64)) : L("", !0),
16157
- ee.value && (t.maxSize || t.allowPaste) ? (p(), b(fe, { key: 1 }, [
16157
+ ee.value && (t.maxSize || t.allowPaste) ? (p(), b(he, { key: 1 }, [
16158
16158
  _e(" · ")
16159
16159
  ], 64)) : L("", !0),
16160
- t.maxSize ? (p(), b(fe, { key: 2 }, [
16160
+ t.maxSize ? (p(), b(he, { key: 2 }, [
16161
16161
  _e("Max " + V(w(t.maxSize)), 1)
16162
16162
  ], 64)) : L("", !0),
16163
- t.maxSize && t.allowPaste ? (p(), b(fe, { key: 3 }, [
16163
+ t.maxSize && t.allowPaste ? (p(), b(he, { key: 3 }, [
16164
16164
  _e(" · ")
16165
16165
  ], 64)) : L("", !0),
16166
- t.allowPaste ? (p(), b(fe, { key: 4 }, [
16166
+ t.allowPaste ? (p(), b(he, { key: 4 }, [
16167
16167
  _e("Paste (Ctrl+V)")
16168
16168
  ], 64)) : L("", !0)
16169
16169
  ])) : L("", !0)
@@ -16196,7 +16196,7 @@ const Xb = ["for"], qb = {
16196
16196
  ], 42, fy),
16197
16197
  Z.value ? (p(), b("div", _y, [
16198
16198
  v("ul", xy, [
16199
- (p(!0), b(fe, null, we(he.value, (ce) => (p(), b("li", {
16199
+ (p(!0), b(he, null, we(fe.value, (ce) => (p(), b("li", {
16200
16200
  key: ce.id,
16201
16201
  class: E(["ui-file-upload__file", {
16202
16202
  "ui-file-upload__file--uploading": ce.status === "uploading",
@@ -16230,10 +16230,10 @@ const Xb = ["for"], qb = {
16230
16230
  v("span", Sy, V(ce.name), 1),
16231
16231
  v("span", $y, [
16232
16232
  _e(V(w(ce.size)) + " ", 1),
16233
- ce.status === "error" && ce.error ? (p(), b(fe, { key: 0 }, [
16233
+ ce.status === "error" && ce.error ? (p(), b(he, { key: 0 }, [
16234
16234
  ae[4] || (ae[4] = _e(" · ", -1)),
16235
16235
  v("span", Dy, V(ce.error), 1)
16236
- ], 64)) : ce.status === "success" ? (p(), b(fe, { key: 1 }, [
16236
+ ], 64)) : ce.status === "success" ? (p(), b(he, { key: 1 }, [
16237
16237
  ae[5] || (ae[5] = _e(" · ", -1)),
16238
16238
  ae[6] || (ae[6] = v("span", { class: "ui-file-upload__file-success" }, "Uploaded", -1))
16239
16239
  ], 64)) : L("", !0)
@@ -16327,7 +16327,7 @@ const Xb = ["for"], qb = {
16327
16327
  class: "ui-file-upload__toggle",
16328
16328
  onClick: Ye
16329
16329
  }, [
16330
- f.value ? (p(), b(fe, { key: 0 }, [
16330
+ f.value ? (p(), b(he, { key: 0 }, [
16331
16331
  ae[11] || (ae[11] = v("svg", {
16332
16332
  viewBox: "0 0 24 24",
16333
16333
  fill: "none",
@@ -16343,7 +16343,7 @@ const Xb = ["for"], qb = {
16343
16343
  })
16344
16344
  ], -1)),
16345
16345
  ae[12] || (ae[12] = _e(" Show less ", -1))
16346
- ], 64)) : (p(), b(fe, { key: 1 }, [
16346
+ ], 64)) : (p(), b(he, { key: 1 }, [
16347
16347
  ae[13] || (ae[13] = v("svg", {
16348
16348
  viewBox: "0 0 24 24",
16349
16349
  fill: "none",
@@ -16876,7 +16876,7 @@ const Xb = ["for"], qb = {
16876
16876
  onMouseleave: c,
16877
16877
  onKeydown: h
16878
16878
  }, [
16879
- (p(!0), b(fe, null, we(t.max, (y) => (p(), b("span", {
16879
+ (p(!0), b(he, null, we(t.max, (y) => (p(), b("span", {
16880
16880
  key: y,
16881
16881
  class: E(["ui-rating__star", [`ui-rating__star--${r(y)}`]]),
16882
16882
  onMousemove: (_) => u(_, y),
@@ -17101,7 +17101,7 @@ const Di = Symbol("rich-text-editor"), __ = ["aria-describedby"], x_ = ["id"], k
17101
17101
  }
17102
17102
  return Ne(() => {
17103
17103
  l && clearTimeout(l), r && clearTimeout(r);
17104
- }), (M, $) => (p(), b(fe, null, [
17104
+ }), (M, $) => (p(), b(he, null, [
17105
17105
  v("span", Pi({
17106
17106
  ref_key: "triggerRef",
17107
17107
  ref: s,
@@ -17634,7 +17634,7 @@ const Di = Symbol("rich-text-editor"), __ = ["aria-describedby"], x_ = ["id"], k
17634
17634
  ]),
17635
17635
  default: j(() => [
17636
17636
  v("div", K_, [
17637
- l.value ? (p(), b(fe, { key: 1 }, [
17637
+ l.value ? (p(), b(he, { key: 1 }, [
17638
17638
  v("div", G_, [
17639
17639
  w[5] || (w[5] = v("div", { class: "ui-rte-table-popover__section-title" }, "Rows", -1)),
17640
17640
  v("div", J_, [
@@ -17775,7 +17775,7 @@ const Di = Symbol("rich-text-editor"), __ = ["aria-describedby"], x_ = ["id"], k
17775
17775
  ])]),
17776
17776
  _: 1
17777
17777
  })
17778
- ], 64)) : (p(), b(fe, { key: 0 }, [
17778
+ ], 64)) : (p(), b(he, { key: 0 }, [
17779
17779
  v("div", X_, " Insert table: " + V(o.value > 0 && a.value > 0 ? `${o.value} × ${a.value}` : "Select size"), 1),
17780
17780
  v("div", {
17781
17781
  class: "ui-rte-table-popover__grid",
@@ -17783,11 +17783,11 @@ const Di = Symbol("rich-text-editor"), __ = ["aria-describedby"], x_ = ["id"], k
17783
17783
  o.value = 0, a.value = 0;
17784
17784
  })
17785
17785
  }, [
17786
- (p(), b(fe, null, we(cl, (C) => v("div", {
17786
+ (p(), b(he, null, we(cl, (C) => v("div", {
17787
17787
  key: C,
17788
17788
  class: "ui-rte-table-popover__grid-row"
17789
17789
  }, [
17790
- (p(), b(fe, null, we(cl, (S) => v("button", {
17790
+ (p(), b(he, null, we(cl, (S) => v("button", {
17791
17791
  key: S,
17792
17792
  type: "button",
17793
17793
  class: E([
@@ -19202,7 +19202,7 @@ const Di = Symbol("rich-text-editor"), __ = ["aria-describedby"], x_ = ["id"], k
19202
19202
  return e({
19203
19203
  onKeyDown: a
19204
19204
  }), (l, r) => (p(), b("div", y1, [
19205
- t.items.length > 0 ? (p(!0), b(fe, { key: 0 }, we(t.items, (u, c) => (p(), b("button", {
19205
+ t.items.length > 0 ? (p(!0), b(he, { key: 0 }, we(t.items, (u, c) => (p(), b("button", {
19206
19206
  key: u.id,
19207
19207
  type: "button",
19208
19208
  class: E(["ui-rte-mention-list__item", { "ui-rte-mention-list__item--selected": c === n.value }]),
@@ -19437,7 +19437,7 @@ const C1 = ["id", "aria-label", "aria-disabled"], S1 = ["aria-checked", "disable
19437
19437
  style: Ce(u.value),
19438
19438
  "aria-hidden": "true"
19439
19439
  }, null, 4),
19440
- (p(!0), b(fe, null, we(t.options, (_, M) => (p(), b("button", {
19440
+ (p(!0), b(he, null, we(t.options, (_, M) => (p(), b("button", {
19441
19441
  key: _.value,
19442
19442
  ref_for: !0,
19443
19443
  ref: ($) => g($, M),
@@ -19614,7 +19614,7 @@ const T1 = {
19614
19614
  style: Ce(f.value)
19615
19615
  }, null, 4),
19616
19616
  t.showTicks ? (p(), b("div", T1, [
19617
- (p(!0), b(fe, null, we(g.value, (D, I) => (p(), b("span", {
19617
+ (p(!0), b(he, null, we(g.value, (D, I) => (p(), b("span", {
19618
19618
  key: I,
19619
19619
  class: "ui-slider__tick",
19620
19620
  style: Ce({ insetInlineStart: `${D.percent}%` })
@@ -19951,7 +19951,7 @@ const T1 = {
19951
19951
  })) : t.icon ? (p(), W(ze(t.icon), {
19952
19952
  key: 1,
19953
19953
  class: "ui-stepper__custom-icon"
19954
- })) : (p(), b(fe, { key: 2 }, [
19954
+ })) : (p(), b(he, { key: 2 }, [
19955
19955
  _e(V(U(i).index + 1), 1)
19956
19956
  ], 64))
19957
19957
  ], !0)
@@ -20147,7 +20147,7 @@ const T1 = {
20147
20147
  ]]),
20148
20148
  role: "tablist"
20149
20149
  }, [
20150
- (p(!0), b(fe, null, we(t.items, (m, y) => (p(), b("button", {
20150
+ (p(!0), b(he, null, we(t.items, (m, y) => (p(), b("button", {
20151
20151
  key: m.value,
20152
20152
  ref_for: !0,
20153
20153
  ref: (_) => h(_, y),
@@ -20176,7 +20176,7 @@ const T1 = {
20176
20176
  }, null, 4)
20177
20177
  ], 2),
20178
20178
  v("div", fx, [
20179
- (p(!0), b(fe, null, we(t.items, (m) => pn((p(), b("div", {
20179
+ (p(!0), b(he, null, we(t.items, (m) => pn((p(), b("div", {
20180
20180
  key: m.value,
20181
20181
  id: `tabpanel-${m.value}`,
20182
20182
  role: "tabpanel",
@@ -20484,9 +20484,9 @@ const $x = { class: "ui-timepicker__panel" }, Dx = { class: "ui-timepicker__colu
20484
20484
  const Z = new IntersectionObserver(
20485
20485
  (ee) => {
20486
20486
  if (!m.value) {
20487
- for (const he of ee)
20488
- if (he.isIntersecting && he.intersectionRatio >= 0.5) {
20489
- const Se = he.target.getAttribute("data-value");
20487
+ for (const fe of ee)
20488
+ if (fe.isIntersecting && fe.intersectionRatio >= 0.5) {
20489
+ const Se = fe.target.getAttribute("data-value");
20490
20490
  if (Se !== null) {
20491
20491
  const Ye = isNaN(Number(Se)) ? Se : Number(Se);
20492
20492
  be(Ye);
@@ -20622,7 +20622,7 @@ const $x = { class: "ui-timepicker__panel" }, Dx = { class: "ui-timepicker__colu
20622
20622
  onScroll: N
20623
20623
  }, [
20624
20624
  ge[1] || (ge[1] = v("div", { class: "ui-timepicker__spacer" }, null, -1)),
20625
- (p(!0), b(fe, null, we(M.value, (be) => (p(), b("div", {
20625
+ (p(!0), b(he, null, we(M.value, (be) => (p(), b("div", {
20626
20626
  key: be,
20627
20627
  "data-value": be,
20628
20628
  class: E(["ui-timepicker__item", { "ui-timepicker__item--selected": be === h.value }]),
@@ -20638,7 +20638,7 @@ const $x = { class: "ui-timepicker__panel" }, Dx = { class: "ui-timepicker__colu
20638
20638
  onScroll: N
20639
20639
  }, [
20640
20640
  ge[3] || (ge[3] = v("div", { class: "ui-timepicker__spacer" }, null, -1)),
20641
- (p(!0), b(fe, null, we($.value, (be) => (p(), b("div", {
20641
+ (p(!0), b(he, null, we($.value, (be) => (p(), b("div", {
20642
20642
  key: be,
20643
20643
  "data-value": be,
20644
20644
  class: E(["ui-timepicker__item", { "ui-timepicker__item--selected": be === f.value }]),
@@ -20654,7 +20654,7 @@ const $x = { class: "ui-timepicker__panel" }, Dx = { class: "ui-timepicker__colu
20654
20654
  onScroll: N
20655
20655
  }, [
20656
20656
  ge[5] || (ge[5] = v("div", { class: "ui-timepicker__spacer" }, null, -1)),
20657
- (p(), b(fe, null, we(k, (be) => v("div", {
20657
+ (p(), b(he, null, we(k, (be) => v("div", {
20658
20658
  key: be,
20659
20659
  "data-value": be,
20660
20660
  class: E(["ui-timepicker__item", { "ui-timepicker__item--selected": be === g.value }]),
@@ -20969,26 +20969,29 @@ const Gx = Tr(oi).toasts, _i = {
20969
20969
  function i(n) {
20970
20970
  _i.remove(n);
20971
20971
  }
20972
- return (n, s) => (p(), W(Et, { to: "body" }, [
20973
- v("div", {
20974
- class: E([e.class, "ui-toast-provider", `ui-toast-provider--${t.position}`]),
20975
- role: "region",
20976
- "aria-label": "Notifications"
20977
- }, [
20978
- le(Ar, { name: "toast" }, {
20979
- default: j(() => [
20980
- (p(!0), b(fe, null, we(U(Gx), (o) => (p(), W(ak, {
20981
- key: o.id,
20982
- toast: o,
20983
- onDismiss: i
20984
- }, null, 8, ["toast"]))), 128))
20985
- ]),
20986
- _: 1
20987
- })
20988
- ], 2)
20989
- ]));
20972
+ return (n, s) => (p(), b(he, null, [
20973
+ (p(), W(Et, { to: "body" }, [
20974
+ v("div", {
20975
+ class: E([e.class, "ui-toast-provider", `ui-toast-provider--${t.position}`]),
20976
+ role: "region",
20977
+ "aria-label": "Notifications"
20978
+ }, [
20979
+ le(Ar, { name: "toast" }, {
20980
+ default: j(() => [
20981
+ (p(!0), b(he, null, we(U(Gx), (o) => (p(), W(ak, {
20982
+ key: o.id,
20983
+ toast: o,
20984
+ onDismiss: i
20985
+ }, null, 8, ["toast"]))), 128))
20986
+ ]),
20987
+ _: 1
20988
+ })
20989
+ ], 2)
20990
+ ])),
20991
+ G(n.$slots, "default", {}, void 0, !0)
20992
+ ], 64));
20990
20993
  }
20991
- }), m2 = /* @__PURE__ */ J(lk, [["__scopeId", "data-v-d64de1c7"]]);
20994
+ }), m2 = /* @__PURE__ */ J(lk, [["__scopeId", "data-v-b207502f"]]);
20992
20995
  function v2() {
20993
20996
  return {
20994
20997
  /**
@@ -21272,7 +21275,7 @@ const xr = Symbol("treeview"), Qs = Symbol("treeview-item"), rk = ["aria-multise
21272
21275
  le(Ct, { name: "ui-treeview-expand" }, {
21273
21276
  default: j(() => [
21274
21277
  m.value && f.value && c.value ? (p(), b("div", gk, [
21275
- (p(!0), b(fe, null, we(c.value, (I) => (p(), W(D, {
21278
+ (p(!0), b(he, null, we(c.value, (I) => (p(), W(D, {
21276
21279
  key: I.id,
21277
21280
  node: I
21278
21281
  }, null, 8, ["node"]))), 128))