@moubing/bing-ui 0.9.4 → 0.10.0

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.
@@ -926,7 +926,7 @@ function gt() {
926
926
  };
927
927
  }
928
928
  //#endregion
929
- //#region src/components/BingInput/useInputCaret.ts
929
+ //#region src/motion/useTextControlCaret.ts
930
930
  var _t = "(prefers-reduced-motion: reduce), (forced-colors: active), (pointer: coarse)", vt = new Set([
931
931
  "text",
932
932
  "search",
@@ -951,92 +951,111 @@ function xt(e, t, n, r) {
951
951
  w(() => i()), ee(() => a()), S(() => {
952
952
  let o = e.value, s = t.value, c = n.value;
953
953
  if (!o || !s || !c) return;
954
- let l = o.ownerDocument, u = l.defaultView, d = u.matchMedia(_t), f = !1, p = !1, m = !1, h = !1, g = !1, _ = 0, v = !1, y = !1, b, ee, x, S = "", C = NaN, w = 0, T = 0, E, D, O = l.createRange();
955
- function k() {
956
- g && (o.removeAttribute("data-smooth-caret"), c.removeAttribute("data-active")), g = !1, c.classList.contains("is-idle") && c.classList.remove("is-idle"), clearTimeout(b), D?.tween.pause();
954
+ let l = o.tagName === "TEXTAREA", u = () => l || vt.has(o.type), d = o.ownerDocument, f = d.defaultView, p = f.matchMedia(_t), m = !1, h = !1, g = !1, _ = !1, v = !1, y = 0, b = !1, ee = !1, x, S, C, w = "", T = NaN, E = NaN, D = 0, O = 0, k = 0, A, j, M, N = d.createRange();
955
+ function P() {
956
+ v && (o.removeAttribute("data-smooth-caret"), c.removeAttribute("data-active")), v = !1, c.classList.contains("is-idle") && c.classList.remove("is-idle"), clearTimeout(x), j?.tween.pause(), M?.tween.pause();
957
957
  }
958
- function A() {
959
- clearTimeout(b), c.classList.remove("is-idle"), b = setTimeout(() => {
960
- g && !h && c.classList.add("is-idle");
958
+ function F() {
959
+ clearTimeout(x), c.classList.remove("is-idle"), x = setTimeout(() => {
960
+ v && !_ && c.classList.add("is-idle");
961
961
  }, 600);
962
962
  }
963
- function j() {
964
- _ = 0;
965
- let e = v, t = y;
966
- if (v = y = !1, h) return;
967
- let n = p && o.selectionDirection !== "backward" ? o.selectionEnd : o.selectionStart;
968
- if (!f || !r() || o.disabled || o.readOnly || m || d.matches || l.hidden || !l.hasFocus() || l.activeElement !== o || !vt.has(o.type) || n === null || !p && n !== o.selectionEnd || yt.test(o.value)) {
969
- k(), x && !vt.has(o.type) && (x.data = "");
963
+ function I() {
964
+ y = 0;
965
+ let e = b, t = ee;
966
+ if (b = ee = !1, _) return;
967
+ let n = h && o.selectionDirection !== "backward" ? o.selectionEnd : o.selectionStart;
968
+ if (!m || !r() || o.disabled || o.readOnly || g || p.matches || d.hidden || !d.hasFocus() || d.activeElement !== o || !u() || n === null || !h && n !== o.selectionEnd || yt.test(o.value)) {
969
+ P(), C && !u() && (C.data = "");
970
970
  return;
971
971
  }
972
- let i = u.getComputedStyle(o);
972
+ let i = f.getComputedStyle(o);
973
973
  if (i.direction !== "ltr" || i.writingMode !== "horizontal-tb" || !["start", "left"].includes(i.textAlign) || parseFloat(i.textIndent) !== 0 || !o.clientWidth) {
974
- k();
974
+ P();
975
975
  return;
976
976
  }
977
- ee || (ee = l.createElement("span"), ee.setAttribute("aria-hidden", "true"), ee.style.cssText = "position:absolute;left:0;top:0;visibility:hidden;white-space:pre;width:max-content;pointer-events:none;", x = l.createTextNode(""), ee.append(x), s.append(ee));
977
+ S || (S = d.createElement("span"), S.setAttribute("aria-hidden", "true"), S.style.cssText = "position:absolute;left:0;top:0;visibility:hidden;white-space:pre;width:max-content;pointer-events:none;", l && (S.style.cssText = "position:fixed;left:0;top:0;display:block;visibility:hidden;pointer-events:none;box-sizing:content-box;margin:0;padding:0;border:0;direction:ltr;", S.dataset.bingTextareaMeasure = ""), C = d.createTextNode(""), S.append(C), (l ? d.body : s).append(S));
978
978
  let a = bt.map((e) => i[e]).join("|");
979
- S !== a && (bt.forEach((e) => {
980
- ee.style[e] = i[e];
981
- }), S = a);
982
- let b = o.value || "​";
983
- x.data !== b && (x.data = b), O.setStart(x, n), O.collapse(!0);
984
- let j = O.getClientRects();
985
- if (!j.length) {
986
- k();
979
+ if (w !== a && (bt.forEach((e) => {
980
+ S.style[e] = i[e];
981
+ }), w = a), l) {
982
+ let e = o.clientWidth - parseFloat(i.paddingLeft) - parseFloat(i.paddingRight);
983
+ if (e <= 0) {
984
+ P();
985
+ return;
986
+ }
987
+ for (let e of [
988
+ "lineHeight",
989
+ "whiteSpace",
990
+ "overflowWrap",
991
+ "wordBreak",
992
+ "tabSize"
993
+ ]) S.style[e] !== i[e] && (S.style[e] = i[e]);
994
+ S.style.width !== `${e}px` && (S.style.width = `${e}px`);
995
+ }
996
+ let x = l ? o.value + "​" : o.value || "​";
997
+ C.data !== x && (C.data = x), N.setStart(C, n), N.collapse(!0);
998
+ let I = N.getClientRects();
999
+ if (!I.length) {
1000
+ P();
987
1001
  return;
988
1002
  }
989
- let M = ee.getBoundingClientRect(), N = s.getBoundingClientRect().width / s.clientWidth || 1, P = parseFloat(i.paddingLeft) || 0, F = o.offsetLeft + P + (j[0].left - M.left) / N - o.scrollLeft;
990
- if (F < o.offsetLeft - 1 || F > o.offsetLeft + o.clientWidth + 1) {
991
- k();
1003
+ let L = S.getBoundingClientRect(), R = l ? 1 : s.getBoundingClientRect().width / s.clientWidth || 1, z = parseFloat(i.paddingLeft) || 0, B = I[0], V = o.offsetLeft + z + (B.left - L.left) / R - o.scrollLeft, te = Math.min(o.clientHeight, parseFloat(i.fontSize) * 1.2), ne = parseFloat(i.lineHeight) || B.height, H = Math.max(0, Math.round((B.top - L.top) / ne)), U = l ? o.offsetTop + parseFloat(i.paddingTop) + H * ne + (ne - te) / 2 - o.scrollTop : o.offsetTop + (o.clientHeight - te) / 2;
1004
+ if (V < o.offsetLeft - 1 || V > o.offsetLeft + o.clientWidth + 1 || U + te <= o.offsetTop || U >= o.offsetTop + o.clientHeight) {
1005
+ P();
992
1006
  return;
993
1007
  }
994
- let I = Math.max(o.offsetLeft, Math.min(o.offsetLeft + o.clientWidth - 2, F)), L = Math.min(o.clientHeight, parseFloat(i.fontSize) * 1.2), R = o.offsetTop + (o.clientHeight - L) / 2, z = !g || Math.abs(C - I) > .1, B = w !== o.scrollLeft || T !== o.clientWidth;
995
- D || (E = K.context(() => {
996
- D = K.quickTo(c, "x", {
1008
+ let W = Math.max(o.offsetLeft, Math.min(o.offsetLeft + o.clientWidth - 2, V)), G = !v || Math.abs(T - W) > .1 || Math.abs(E - U) > .1, re = D !== o.scrollLeft || O !== o.scrollTop || k !== o.clientWidth;
1009
+ j || (A = K.context(() => {
1010
+ j = K.quickTo(c, "x", {
997
1011
  duration: .09,
998
1012
  ease: "power2.out"
999
- });
1000
- }, s)), !g || e || B ? (D(I, I), D.tween.progress(1).pause()) : z && D(I), c.style.height !== `${L}px` && (c.style.height = `${L}px`), c.style.top !== `${R}px` && (c.style.top = `${R}px`), c.style.color !== i.color && (c.style.color = i.color), g || (c.setAttribute("data-active", ""), o.setAttribute("data-smooth-caret", "")), g = !0, C = I, w = o.scrollLeft, T = o.clientWidth, (z || t) && A();
1013
+ }), l && (M = K.quickTo(c, "y", {
1014
+ duration: .09,
1015
+ ease: "power2.out"
1016
+ }));
1017
+ }, s)), !v || e || re ? (j(W, W), j.tween.progress(1).pause(), M && (M(U, U), M.tween.progress(1).pause())) : G && (j(W), M?.(U)), c.style.height !== `${te}px` && (c.style.height = `${te}px`);
1018
+ let ie = l ? "0px" : `${U}px`;
1019
+ c.style.top !== ie && (c.style.top = ie), c.style.color !== i.color && (c.style.color = i.color), v || (c.setAttribute("data-active", ""), o.setAttribute("data-smooth-caret", "")), v = !0, T = W, E = U, D = o.scrollLeft, O = o.scrollTop, k = o.clientWidth, (G || t) && F();
1001
1020
  }
1002
- function M(e = !1, t = !1) {
1003
- h || !f || (v ||= e, y ||= t, _ ||= u.requestAnimationFrame(j));
1021
+ function L(e = !1, t = !1) {
1022
+ _ || !m || (b ||= e, ee ||= t, y ||= f.requestAnimationFrame(I));
1004
1023
  }
1005
- function N() {
1006
- h || !f || (u.cancelAnimationFrame(_), v = y = !0, j());
1024
+ function R() {
1025
+ _ || !m || (f.cancelAnimationFrame(y), b = ee = !0, I());
1007
1026
  }
1008
- let P = () => M(), F = () => M(!0), I = () => M(!1, !0), L = () => k(), R = () => l.hidden ? k() : M(!0), z = () => N(), B = new ResizeObserver(F);
1009
- function V() {
1010
- f || (f = !0, l.addEventListener("selectionchange", P), l.addEventListener("pointerup", z), l.addEventListener("pointercancel", z), l.addEventListener("visibilitychange", R), u.addEventListener("blur", L), u.addEventListener("focus", F), u.addEventListener("resize", F), d.addEventListener("change", F), l.fonts?.addEventListener("loadingdone", F), B.observe(o), N(), M(!0, !0));
1027
+ let z = () => L(), B = () => L(!0), V = () => L(!1, !0), te = () => P(), ne = () => d.hidden ? P() : L(!0), H = () => R(), U = new ResizeObserver(() => L());
1028
+ function W() {
1029
+ m || (m = !0, d.addEventListener("selectionchange", z), d.addEventListener("pointerup", H), d.addEventListener("pointercancel", H), d.addEventListener("visibilitychange", ne), f.addEventListener("blur", te), f.addEventListener("focus", B), f.addEventListener("resize", B), p.addEventListener("change", B), d.fonts?.addEventListener("loadingdone", B), U.observe(o), R(), L(!0, !0));
1011
1030
  }
1012
- function te() {
1013
- f = p = m = !1, k(), u.cancelAnimationFrame(_), _ = 0, v = y = !1, l.removeEventListener("selectionchange", P), l.removeEventListener("pointerup", z), l.removeEventListener("pointercancel", z), l.removeEventListener("visibilitychange", R), u.removeEventListener("blur", L), u.removeEventListener("focus", F), u.removeEventListener("resize", F), d.removeEventListener("change", F), l.fonts?.removeEventListener("loadingdone", F), B.disconnect(), E?.revert(), E = D = void 0, ee?.remove(), ee = x = void 0, S = "";
1014
- }
1015
- let ne = {
1016
- focus: V,
1017
- blur: te,
1018
- input: I,
1019
- keydown: I,
1020
- keyup: P,
1021
- select: P,
1022
- scroll: F,
1031
+ function G() {
1032
+ m = h = g = !1, P(), f.cancelAnimationFrame(y), y = 0, b = ee = !1, d.removeEventListener("selectionchange", z), d.removeEventListener("pointerup", H), d.removeEventListener("pointercancel", H), d.removeEventListener("visibilitychange", ne), f.removeEventListener("blur", te), f.removeEventListener("focus", B), f.removeEventListener("resize", B), p.removeEventListener("change", B), d.fonts?.removeEventListener("loadingdone", B), U.disconnect(), A?.revert(), A = j = M = void 0, S?.remove(), S = C = void 0, w = "";
1033
+ }
1034
+ let re = {
1035
+ focus: W,
1036
+ blur: G,
1037
+ input: V,
1038
+ keydown: V,
1039
+ keyup: z,
1040
+ select: z,
1041
+ scroll: B,
1023
1042
  pointerdown: (e) => {
1024
- m ||= e.pointerType === "touch", m ? k() : M(!0, !0);
1043
+ g ||= e.pointerType === "touch", g ? P() : L(!0, !0);
1025
1044
  },
1026
1045
  compositionstart: () => {
1027
- p = !0, M(!1, !0);
1046
+ h = !0, L(!1, !0);
1028
1047
  },
1029
- compositionupdate: I,
1048
+ compositionupdate: V,
1030
1049
  compositionend: () => {
1031
- p = !1, M(!1, !0);
1050
+ h = !1, L(!1, !0);
1032
1051
  }
1033
1052
  };
1034
- for (let [e, t] of Object.entries(ne)) o.addEventListener(e, t);
1035
- i = () => M(), a = () => {
1036
- h = !0, te();
1037
- for (let [e, t] of Object.entries(ne)) o.removeEventListener(e, t);
1053
+ for (let [e, t] of Object.entries(re)) o.addEventListener(e, t);
1054
+ i = () => L(), a = () => {
1055
+ _ = !0, G();
1056
+ for (let [e, t] of Object.entries(re)) o.removeEventListener(e, t);
1038
1057
  i = () => {};
1039
- }, l.activeElement === o && V();
1058
+ }, d.activeElement === o && W();
1040
1059
  });
1041
1060
  }
1042
1061
  //#endregion
@@ -2069,7 +2088,7 @@ var St = (e) => {
2069
2088
  }, 8, ["aria-label"])) : o("", !0)])) : o("", !0)
2070
2089
  ], 16));
2071
2090
  }
2072
- }), [["__scopeId", "data-v-0e642a76"]]), Rn = /^(auto|scroll|overlay)$/, zn = [
2091
+ }), [["__scopeId", "data-v-75070b0c"]]), Rn = /^(auto|scroll|overlay)$/, zn = [
2073
2092
  "button",
2074
2093
  "input",
2075
2094
  "select",
@@ -26689,6 +26708,10 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26689
26708
  type: Boolean,
26690
26709
  default: !0
26691
26710
  },
26711
+ smoothCaret: {
26712
+ type: Boolean,
26713
+ default: !0
26714
+ },
26692
26715
  rows: { default: 3 },
26693
26716
  autosize: {
26694
26717
  type: [Boolean, Object],
@@ -26725,8 +26748,10 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26725
26748
  "keydown"
26726
26749
  ],
26727
26750
  setup(e, { expose: t, emit: n }) {
26728
- V((e) => ({ v24ba19d8: e.resize }));
26729
- let r = e, l = n, { rootAttrs: u, controlAttrs: f } = gt(), { formItem: p, resolvedId: m, resolvedSize: h, resolvedDisabled: v, resolvedStatus: y, resolvedAriaDescribedby: b } = at(r), x = k(null), C = k(null), w = k(null), T, D, O = !1, A = i(() => r.modelValue.length > 0), j = i(() => r.clearable && !r.readonly && !v.value && A.value), M = i(() => r.modelValue.length), N = i(() => typeof r.maxLength == "number" ? `${M.value}/${r.maxLength}` : String(M.value)), P = i(() => [
26751
+ V((e) => ({ v7511cae1: e.resize }));
26752
+ let r = e, l = n, { rootAttrs: u, controlAttrs: f } = gt(), { formItem: p, resolvedId: m, resolvedSize: h, resolvedDisabled: v, resolvedStatus: y, resolvedAriaDescribedby: b } = at(r), x = k(null), C = k(null), w = k(null);
26753
+ xt(x, C, w, () => r.smoothCaret);
26754
+ let T = k(null), D = k(null), O, A, j = !1, M = i(() => r.modelValue.length > 0), N = i(() => r.clearable && !r.readonly && !v.value && M.value), P = i(() => r.modelValue.length), F = i(() => typeof r.maxLength == "number" ? `${P.value}/${r.maxLength}` : String(P.value)), L = i(() => [
26730
26755
  "bing-textarea",
26731
26756
  `bing-textarea--${h.value}`,
26732
26757
  `bing-textarea--status-${y.value}`,
@@ -26734,13 +26759,13 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26734
26759
  "is-block": r.block || !!p,
26735
26760
  "is-disabled": v.value,
26736
26761
  "is-invalid": y.value === "error",
26737
- "has-value": A.value,
26738
- "can-clear": j.value,
26762
+ "has-value": M.value,
26763
+ "can-clear": N.value,
26739
26764
  "has-footer": r.showCount,
26740
26765
  "is-resizable": r.resize !== "none"
26741
26766
  }
26742
26767
  ]);
26743
- function F() {
26768
+ function R() {
26744
26769
  if (r.autosize === !0) return {
26745
26770
  minRows: r.rows,
26746
26771
  maxRows: void 0
@@ -26750,37 +26775,37 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26750
26775
  maxRows: r.autosize.maxRows
26751
26776
  };
26752
26777
  }
26753
- function L() {
26754
- let e = x.value, t = F();
26778
+ function B() {
26779
+ let e = x.value, t = R();
26755
26780
  if (!e) return;
26756
26781
  if (!t) {
26757
- O &&= (e.style.height = "", e.style.overflowY = "", !1), C.value?.update();
26782
+ j &&= (e.style.height = "", e.style.overflowY = "", !1), T.value?.update();
26758
26783
  return;
26759
26784
  }
26760
- O = !0;
26785
+ j = !0;
26761
26786
  let n = window.getComputedStyle(e), r = Number.parseFloat(n.lineHeight) || 20, i = Number.parseFloat(n.borderTopWidth) + Number.parseFloat(n.borderBottomWidth) + Number.parseFloat(n.paddingTop) + Number.parseFloat(n.paddingBottom), a = t.minRows * r + i, o = typeof t.maxRows == "number" ? t.maxRows * r + i : Infinity;
26762
- e.style.height = "0px", e.style.height = `${Math.max(a, Math.min(e.scrollHeight, o))}px`, e.style.overflowY = e.scrollHeight > o ? "auto" : "hidden", C.value?.update();
26787
+ e.style.height = "0px", e.style.height = `${Math.max(a, Math.min(e.scrollHeight, o))}px`, e.style.overflowY = e.scrollHeight > o ? "auto" : "hidden", T.value?.update();
26763
26788
  }
26764
- function R(e) {
26789
+ function te(e) {
26765
26790
  let t = e.target.value;
26766
- l("update:modelValue", t), l("input", t, e), p?.handleControlChange(), _(L);
26791
+ l("update:modelValue", t), l("input", t, e), p?.handleControlChange(), _(B);
26767
26792
  }
26768
- function B() {
26769
- j.value && (l("update:modelValue", ""), l("clear"), p?.handleControlChange(), _(L), x.value?.focus());
26793
+ function ne() {
26794
+ N.value && (l("update:modelValue", ""), l("clear"), p?.handleControlChange(), _(B), x.value?.focus());
26770
26795
  }
26771
- function te(e) {
26796
+ function H(e) {
26772
26797
  l("focus", e);
26773
26798
  }
26774
- function ne(e) {
26799
+ function W(e) {
26775
26800
  l("blur", e), p?.handleControlBlur();
26776
26801
  }
26777
- function H(e) {
26802
+ function re(e) {
26778
26803
  e?.target instanceof Element && e.target.closest(".bing-scrollbar__rail") || x.value?.focus();
26779
26804
  }
26780
- function W() {
26805
+ function K() {
26781
26806
  x.value?.blur();
26782
26807
  }
26783
- function re() {
26808
+ function q() {
26784
26809
  x.value?.select();
26785
26810
  }
26786
26811
  return U(() => [
@@ -26789,33 +26814,33 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26789
26814
  r.rows,
26790
26815
  h.value
26791
26816
  ], () => {
26792
- _(L);
26817
+ _(B);
26793
26818
  }), S(() => {
26794
- if (L(), !w.value || typeof ResizeObserver > "u") return;
26819
+ if (B(), !D.value || typeof ResizeObserver > "u") return;
26795
26820
  let e = -1;
26796
- T = new ResizeObserver(([t]) => {
26797
- !t || t.contentRect.width === e || (e = t.contentRect.width, D !== void 0 && cancelAnimationFrame(D), D = requestAnimationFrame(() => {
26798
- D = void 0, L();
26821
+ O = new ResizeObserver(([t]) => {
26822
+ !t || t.contentRect.width === e || (e = t.contentRect.width, A !== void 0 && cancelAnimationFrame(A), A = requestAnimationFrame(() => {
26823
+ A = void 0, B();
26799
26824
  }));
26800
- }), T.observe(w.value);
26825
+ }), O.observe(D.value);
26801
26826
  }), ee(() => {
26802
- T?.disconnect(), D !== void 0 && cancelAnimationFrame(D);
26827
+ O?.disconnect(), A !== void 0 && cancelAnimationFrame(A);
26803
26828
  }), t({
26804
26829
  get textarea() {
26805
26830
  return x.value;
26806
26831
  },
26807
- focus: H,
26808
- blur: W,
26809
- select: re
26832
+ focus: re,
26833
+ blur: K,
26834
+ select: q
26810
26835
  }), (t, n) => (E(), s("div", g(z(u)(), {
26811
26836
  ref_key: "rootRef",
26812
- ref: w,
26813
- class: P.value,
26814
- onClick: H
26837
+ ref: D,
26838
+ class: L.value,
26839
+ onClick: re
26815
26840
  }), [
26816
26841
  d(sr, {
26817
26842
  ref_key: "scrollbarRef",
26818
- ref: C,
26843
+ ref: T,
26819
26844
  class: "bing-textarea__scroll",
26820
26845
  smooth: !1,
26821
26846
  focusable: !1,
@@ -26840,14 +26865,23 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26840
26865
  "aria-label": e.ariaLabel || void 0,
26841
26866
  "aria-describedby": z(b),
26842
26867
  "aria-invalid": z(y) === "error" || void 0,
26843
- onInput: R,
26844
- onFocus: te,
26845
- onBlur: ne,
26868
+ onInput: te,
26869
+ onFocus: H,
26870
+ onBlur: W,
26846
26871
  onKeydown: n[0] ||= (e) => l("keydown", e)
26847
- }), null, 16, _A)]),
26872
+ }), null, 16, _A), c("span", {
26873
+ ref_key: "caretLayerRef",
26874
+ ref: C,
26875
+ class: "bing-textarea__caret-layer",
26876
+ "aria-hidden": "true"
26877
+ }, [c("span", {
26878
+ ref_key: "caretRef",
26879
+ ref: w,
26880
+ class: "bing-textarea__caret"
26881
+ }, null, 512)], 512)]),
26848
26882
  _: 1
26849
26883
  }, 512),
26850
- j.value ? (E(), a(mt, {
26884
+ N.value ? (E(), a(mt, {
26851
26885
  key: 0,
26852
26886
  variant: "ghost",
26853
26887
  size: "xs",
@@ -26856,7 +26890,7 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26856
26890
  class: "bing-textarea__clear",
26857
26891
  "aria-label": e.clearAriaLabel,
26858
26892
  onMousedown: n[1] ||= ie(() => {}, ["prevent"]),
26859
- onClick: ie(B, ["stop"])
26893
+ onClick: ie(ne, ["stop"])
26860
26894
  }, {
26861
26895
  prefix: G(() => [d(kn, {
26862
26896
  icon: z(En),
@@ -26865,10 +26899,10 @@ var pA = ["aria-grabbed", "data-bing-sortable-key"], mA = /* @__PURE__ */ Q(/* @
26865
26899
  }, null, 8, ["icon"])]),
26866
26900
  _: 1
26867
26901
  }, 8, ["aria-label"])) : o("", !0),
26868
- e.showCount ? (E(), s("span", vA, I(N.value), 1)) : o("", !0)
26902
+ e.showCount ? (E(), s("span", vA, I(F.value), 1)) : o("", !0)
26869
26903
  ], 16));
26870
26904
  }
26871
- }), [["__scopeId", "data-v-fd9bf41f"]]), bA = [
26905
+ }), [["__scopeId", "data-v-df9f3a93"]]), bA = [
26872
26906
  "top",
26873
26907
  "bottom",
26874
26908
  "left",