@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.
- package/dist/bing-ui.css +1 -1
- package/dist/bing-ui.es.js +136 -102
- package/dist/bing-ui.umd.js +7 -7
- package/dist/components/BingTextarea/BingTextarea.types.d.ts +1 -0
- package/dist/components/BingTextarea/BingTextarea.vue.d.ts +1 -0
- package/dist/motion/useTextControlCaret.d.ts +3 -0
- package/package.json +1 -1
- package/dist/components/BingInput/useInputCaret.d.ts +0 -3
package/dist/bing-ui.es.js
CHANGED
|
@@ -926,7 +926,7 @@ function gt() {
|
|
|
926
926
|
};
|
|
927
927
|
}
|
|
928
928
|
//#endregion
|
|
929
|
-
//#region src/
|
|
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.
|
|
955
|
-
function
|
|
956
|
-
|
|
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
|
|
959
|
-
clearTimeout(
|
|
960
|
-
|
|
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
|
|
964
|
-
|
|
965
|
-
let e =
|
|
966
|
-
if (
|
|
967
|
-
let n =
|
|
968
|
-
if (!
|
|
969
|
-
|
|
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 =
|
|
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
|
-
|
|
974
|
+
P();
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
977
|
-
|
|
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
|
-
|
|
980
|
-
|
|
981
|
-
}),
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
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
|
|
990
|
-
if (
|
|
991
|
-
|
|
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
|
|
995
|
-
|
|
996
|
-
|
|
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
|
-
|
|
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
|
|
1003
|
-
|
|
1021
|
+
function L(e = !1, t = !1) {
|
|
1022
|
+
_ || !m || (b ||= e, ee ||= t, y ||= f.requestAnimationFrame(I));
|
|
1004
1023
|
}
|
|
1005
|
-
function
|
|
1006
|
-
|
|
1024
|
+
function R() {
|
|
1025
|
+
_ || !m || (f.cancelAnimationFrame(y), b = ee = !0, I());
|
|
1007
1026
|
}
|
|
1008
|
-
let
|
|
1009
|
-
function
|
|
1010
|
-
|
|
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
|
|
1013
|
-
|
|
1014
|
-
}
|
|
1015
|
-
let
|
|
1016
|
-
focus:
|
|
1017
|
-
blur:
|
|
1018
|
-
input:
|
|
1019
|
-
keydown:
|
|
1020
|
-
keyup:
|
|
1021
|
-
select:
|
|
1022
|
-
scroll:
|
|
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
|
-
|
|
1043
|
+
g ||= e.pointerType === "touch", g ? P() : L(!0, !0);
|
|
1025
1044
|
},
|
|
1026
1045
|
compositionstart: () => {
|
|
1027
|
-
|
|
1046
|
+
h = !0, L(!1, !0);
|
|
1028
1047
|
},
|
|
1029
|
-
compositionupdate:
|
|
1048
|
+
compositionupdate: V,
|
|
1030
1049
|
compositionend: () => {
|
|
1031
|
-
|
|
1050
|
+
h = !1, L(!1, !0);
|
|
1032
1051
|
}
|
|
1033
1052
|
};
|
|
1034
|
-
for (let [e, t] of Object.entries(
|
|
1035
|
-
i = () =>
|
|
1036
|
-
|
|
1037
|
-
for (let [e, t] of Object.entries(
|
|
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
|
-
},
|
|
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-
|
|
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) => ({
|
|
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)
|
|
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":
|
|
26738
|
-
"can-clear":
|
|
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
|
|
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
|
|
26754
|
-
let e = x.value, t =
|
|
26778
|
+
function B() {
|
|
26779
|
+
let e = x.value, t = R();
|
|
26755
26780
|
if (!e) return;
|
|
26756
26781
|
if (!t) {
|
|
26757
|
-
|
|
26782
|
+
j &&= (e.style.height = "", e.style.overflowY = "", !1), T.value?.update();
|
|
26758
26783
|
return;
|
|
26759
26784
|
}
|
|
26760
|
-
|
|
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",
|
|
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
|
|
26789
|
+
function te(e) {
|
|
26765
26790
|
let t = e.target.value;
|
|
26766
|
-
l("update:modelValue", t), l("input", t, e), p?.handleControlChange(), _(
|
|
26791
|
+
l("update:modelValue", t), l("input", t, e), p?.handleControlChange(), _(B);
|
|
26767
26792
|
}
|
|
26768
|
-
function
|
|
26769
|
-
|
|
26793
|
+
function ne() {
|
|
26794
|
+
N.value && (l("update:modelValue", ""), l("clear"), p?.handleControlChange(), _(B), x.value?.focus());
|
|
26770
26795
|
}
|
|
26771
|
-
function
|
|
26796
|
+
function H(e) {
|
|
26772
26797
|
l("focus", e);
|
|
26773
26798
|
}
|
|
26774
|
-
function
|
|
26799
|
+
function W(e) {
|
|
26775
26800
|
l("blur", e), p?.handleControlBlur();
|
|
26776
26801
|
}
|
|
26777
|
-
function
|
|
26802
|
+
function re(e) {
|
|
26778
26803
|
e?.target instanceof Element && e.target.closest(".bing-scrollbar__rail") || x.value?.focus();
|
|
26779
26804
|
}
|
|
26780
|
-
function
|
|
26805
|
+
function K() {
|
|
26781
26806
|
x.value?.blur();
|
|
26782
26807
|
}
|
|
26783
|
-
function
|
|
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
|
-
_(
|
|
26817
|
+
_(B);
|
|
26793
26818
|
}), S(() => {
|
|
26794
|
-
if (
|
|
26819
|
+
if (B(), !D.value || typeof ResizeObserver > "u") return;
|
|
26795
26820
|
let e = -1;
|
|
26796
|
-
|
|
26797
|
-
!t || t.contentRect.width === e || (e = t.contentRect.width,
|
|
26798
|
-
|
|
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
|
-
}),
|
|
26825
|
+
}), O.observe(D.value);
|
|
26801
26826
|
}), ee(() => {
|
|
26802
|
-
|
|
26827
|
+
O?.disconnect(), A !== void 0 && cancelAnimationFrame(A);
|
|
26803
26828
|
}), t({
|
|
26804
26829
|
get textarea() {
|
|
26805
26830
|
return x.value;
|
|
26806
26831
|
},
|
|
26807
|
-
focus:
|
|
26808
|
-
blur:
|
|
26809
|
-
select:
|
|
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:
|
|
26813
|
-
class:
|
|
26814
|
-
onClick:
|
|
26837
|
+
ref: D,
|
|
26838
|
+
class: L.value,
|
|
26839
|
+
onClick: re
|
|
26815
26840
|
}), [
|
|
26816
26841
|
d(sr, {
|
|
26817
26842
|
ref_key: "scrollbarRef",
|
|
26818
|
-
ref:
|
|
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:
|
|
26844
|
-
onFocus:
|
|
26845
|
-
onBlur:
|
|
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
|
-
|
|
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(
|
|
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(
|
|
26902
|
+
e.showCount ? (E(), s("span", vA, I(F.value), 1)) : o("", !0)
|
|
26869
26903
|
], 16));
|
|
26870
26904
|
}
|
|
26871
|
-
}), [["__scopeId", "data-v-
|
|
26905
|
+
}), [["__scopeId", "data-v-df9f3a93"]]), bA = [
|
|
26872
26906
|
"top",
|
|
26873
26907
|
"bottom",
|
|
26874
26908
|
"left",
|