bitboss-ui 2.1.125 → 2.1.127
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/ai/BbButton.md +0 -11
- package/dist/ai/BbTooltip.md +1 -48
- package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +6 -6
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +6 -6
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +1 -1
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +8 -8
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -6
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +3 -3
- package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -6
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -2
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +7 -7
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -6
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -6
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -6
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -6
- package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +6 -6
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -4
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +8 -8
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
- package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
- package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +3 -3
- package/dist/components/BbRating/BbRating.vue.d.ts +6 -6
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +2 -2
- package/dist/components/BbSlider/BbSlider.vue.d.ts +6 -6
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +3 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +6 -6
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +6 -6
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +6 -6
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -4
- package/dist/components/BbTooltip/types.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/directives/bbDropdown.d.ts +8 -2
- package/dist/directives/bbTooltip.d.ts +7 -2
- package/dist/index.css +1 -1
- package/dist/index240.js +58 -62
- package/dist/index343.js +57 -83
- package/package.json +1 -1
package/dist/index240.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import o from "./
|
|
8
|
-
import
|
|
9
|
-
import c from "
|
|
10
|
-
import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, mergeModels as v, mergeProps as y, normalizeClass as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRef as T, unref as E, useAttrs as D, useModel as O, withCtx as k } from "vue";
|
|
1
|
+
import e from "./index36.js";
|
|
2
|
+
import { useLocale as t } from "./index42.js";
|
|
3
|
+
import { extractDomContainer as n } from "./index45.js";
|
|
4
|
+
import { isEqual as r } from "./index82.js";
|
|
5
|
+
import { noop as i } from "./index142.js";
|
|
6
|
+
import a from "./index219.js";
|
|
7
|
+
import { pickBy as o } from "./index239.js";
|
|
8
|
+
import s from "./index254.js";
|
|
9
|
+
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineAsyncComponent as h, defineComponent as g, mergeModels as _, mergeProps as v, normalizeClass as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, useModel as D, withCtx as O } from "vue";
|
|
11
10
|
//#region src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var
|
|
11
|
+
var k = {
|
|
13
12
|
key: 2,
|
|
14
13
|
class: "bb-button__loading-label sr-only"
|
|
15
|
-
},
|
|
14
|
+
}, A = /* @__PURE__ */ g({
|
|
16
15
|
inheritAttrs: !1,
|
|
17
16
|
__name: "BbButton",
|
|
18
|
-
props: /* @__PURE__ */
|
|
17
|
+
props: /* @__PURE__ */ _({
|
|
19
18
|
autoLoading: { type: Boolean },
|
|
20
19
|
activeClass: {},
|
|
21
20
|
ariaCurrentValue: {},
|
|
@@ -64,28 +63,26 @@ var A = {
|
|
|
64
63
|
modelModifiers: {}
|
|
65
64
|
}),
|
|
66
65
|
emits: ["update:modelValue"],
|
|
67
|
-
setup(
|
|
68
|
-
let
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}, B = l(() => {
|
|
73
|
-
let { onClick: e, ...t } = L;
|
|
66
|
+
setup(g, { expose: _ }) {
|
|
67
|
+
let A = h(() => import("./index345.js")), j = g, M = D(g, "modelValue"), N = c(() => M.value !== void 0), P = c(() => r(M.value, j.trueValue)), { t: F } = t(), I = E(), L = x(), R = (e) => {
|
|
68
|
+
L.value = n(e) ?? void 0;
|
|
69
|
+
}, z = c(() => {
|
|
70
|
+
let { onClick: e, ...t } = I;
|
|
74
71
|
return t;
|
|
75
|
-
}),
|
|
76
|
-
if (
|
|
77
|
-
if (
|
|
78
|
-
let e =
|
|
79
|
-
|
|
72
|
+
}), B = x(0), V = c(() => j.loading || !!B.value && j.autoLoading), H = c(() => j.disabled), U = async (e) => {
|
|
73
|
+
if (V.value && !j.enabledWhileLoading) return (j.type === "submit" || j.href || j.to) && e.preventDefault(), null;
|
|
74
|
+
if (N.value) {
|
|
75
|
+
let e = j.trueValue, t = j.falseValue;
|
|
76
|
+
M.value = r(M.value, e) ? t : e;
|
|
80
77
|
}
|
|
81
|
-
|
|
82
|
-
},
|
|
78
|
+
B.value++, await (I.onClick ?? i)(e), B.value--;
|
|
79
|
+
}, W = typeof j.size == "string" ? { default: j.size } : {
|
|
83
80
|
default: "md",
|
|
84
|
-
...
|
|
85
|
-
},
|
|
86
|
-
...
|
|
87
|
-
...
|
|
88
|
-
...
|
|
81
|
+
...j.size
|
|
82
|
+
}, G = Object.entries(W).reduce((e, [t, n]) => (t === "default" ? e[`data-${n}`] = "" : e[`data-${t}:${n}`] = "", e), {}), K = w(() => ({
|
|
83
|
+
...z.value,
|
|
84
|
+
...G,
|
|
85
|
+
...o(j, (e, t) => ![
|
|
89
86
|
"append:icon",
|
|
90
87
|
"autoLoading",
|
|
91
88
|
"disabled",
|
|
@@ -102,52 +99,51 @@ var A = {
|
|
|
102
99
|
"trueValue"
|
|
103
100
|
].includes(t))
|
|
104
101
|
}));
|
|
105
|
-
return
|
|
106
|
-
"aria-disabled":
|
|
107
|
-
"aria-pressed":
|
|
102
|
+
return _({ $el: L }), (t, n) => (b(), l(T(e), v({ ref: R }, K.value, {
|
|
103
|
+
"aria-disabled": V.value ? !0 : void 0,
|
|
104
|
+
"aria-pressed": N.value ? P.value : void 0,
|
|
108
105
|
class: {
|
|
109
106
|
"bb-button": !0,
|
|
110
|
-
"bb-button--loading":
|
|
111
|
-
"bb-button--group":
|
|
112
|
-
"bb-button--icon": !!
|
|
113
|
-
"bb-button--active":
|
|
107
|
+
"bb-button--loading": V.value,
|
|
108
|
+
"bb-button--group": j.group,
|
|
109
|
+
"bb-button--icon": !!t.icon,
|
|
110
|
+
"bb-button--active": N.value && P.value
|
|
114
111
|
},
|
|
115
|
-
disabled:
|
|
116
|
-
tabindex:
|
|
117
|
-
onClick:
|
|
112
|
+
disabled: H.value,
|
|
113
|
+
tabindex: V.value ? -1 : void 0,
|
|
114
|
+
onClick: U
|
|
118
115
|
}), {
|
|
119
|
-
default:
|
|
120
|
-
|
|
121
|
-
|
|
116
|
+
default: O(() => [
|
|
117
|
+
m(T(s), { class: "bb-button__spinner" }),
|
|
118
|
+
j.icon ? (b(), l(a, {
|
|
122
119
|
key: 0,
|
|
123
120
|
class: "bb-button__icon",
|
|
124
|
-
type:
|
|
125
|
-
}, null, 8, ["type"])) :
|
|
121
|
+
type: j.icon
|
|
122
|
+
}, null, 8, ["type"])) : j["prepend:icon"] ? (b(), l(a, {
|
|
126
123
|
key: 1,
|
|
127
124
|
class: "bb-button__prepend-icon",
|
|
128
|
-
type:
|
|
129
|
-
}, null, 8, ["type"])) :
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
!
|
|
125
|
+
type: j["prepend:icon"]
|
|
126
|
+
}, null, 8, ["type"])) : u("", !0),
|
|
127
|
+
f("span", { class: y(["bb-button__content", { "sr-only": !!t.icon }]) }, [S(t.$slots, "default", {}, () => [p(C(t.text), 1)])], 2),
|
|
128
|
+
V.value ? (b(), d("span", k, C(T(F)("common.loadingText")), 1)) : u("", !0),
|
|
129
|
+
!t.icon && j["append:icon"] ? (b(), l(a, {
|
|
133
130
|
key: 3,
|
|
134
131
|
class: "bb-button__append-icon",
|
|
135
|
-
type:
|
|
136
|
-
}, null, 8, ["type"])) :
|
|
137
|
-
|
|
132
|
+
type: j["append:icon"]
|
|
133
|
+
}, null, 8, ["type"])) : u("", !0),
|
|
134
|
+
t.tooltip != null || t.$slots.tooltip ? (b(), l(T(A), {
|
|
138
135
|
key: 4,
|
|
139
|
-
activator:
|
|
140
|
-
placement:
|
|
141
|
-
|
|
142
|
-
timeout: e.tooltipTimeout
|
|
136
|
+
activator: L.value,
|
|
137
|
+
placement: t.tooltipPlacement,
|
|
138
|
+
timeout: t.tooltipTimeout
|
|
143
139
|
}, {
|
|
144
|
-
default:
|
|
140
|
+
default: O(() => [S(t.$slots, "tooltip", { text: t.tooltip }, () => [p(C(t.tooltip), 1)])]),
|
|
145
141
|
_: 3
|
|
146
142
|
}, 8, [
|
|
147
143
|
"activator",
|
|
148
144
|
"placement",
|
|
149
145
|
"timeout"
|
|
150
|
-
])) :
|
|
146
|
+
])) : u("", !0)
|
|
151
147
|
]),
|
|
152
148
|
_: 3
|
|
153
149
|
}, 16, [
|
|
@@ -160,4 +156,4 @@ var A = {
|
|
|
160
156
|
}
|
|
161
157
|
});
|
|
162
158
|
//#endregion
|
|
163
|
-
export {
|
|
159
|
+
export { A as default };
|
package/dist/index343.js
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { useId as e } from "./index12.js";
|
|
2
2
|
import { useElementSize as t } from "./index14.js";
|
|
3
|
-
import n from "./
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import o from "
|
|
8
|
-
import { parseWidthString as s } from "./index231.js";
|
|
9
|
-
import { Comment as c, Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as ee, createVNode as h, defineComponent as g, mergeModels as _, mergeProps as v, normalizeProps as y, normalizeStyle as te, onBeforeUnmount as ne, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, unref as re, useModel as ie, useSlots as T, useTemplateRef as E, watch as D, withCtx as O } from "vue";
|
|
3
|
+
import { extractDomContainer as n } from "./index45.js";
|
|
4
|
+
import { useUntil as r } from "./index50.js";
|
|
5
|
+
import i from "./index60.js";
|
|
6
|
+
import { parseWidthString as a } from "./index231.js";
|
|
7
|
+
import { Comment as o, Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeModels as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, useModel as T, useSlots as E, useTemplateRef as D, watch as O, withCtx as k } from "vue";
|
|
10
8
|
//#region src/components/BbTooltip/BbTooltip.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var
|
|
9
|
+
var A = /* @__PURE__ */ m({
|
|
12
10
|
inheritAttrs: !1,
|
|
13
11
|
__name: "BbTooltip",
|
|
14
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ h({
|
|
15
13
|
arrowPadding: { default: 10 },
|
|
16
14
|
block: { type: Boolean },
|
|
17
15
|
disabled: { type: Boolean },
|
|
@@ -19,10 +17,6 @@ var k = /* @__PURE__ */ g({
|
|
|
19
17
|
id: {},
|
|
20
18
|
padding: { default: 10 },
|
|
21
19
|
placement: { default: "top" },
|
|
22
|
-
showClose: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !0
|
|
25
|
-
},
|
|
26
20
|
text: {},
|
|
27
21
|
theme: { default: "default" },
|
|
28
22
|
transitionDuration: { default: 250 },
|
|
@@ -38,87 +32,85 @@ var k = /* @__PURE__ */ g({
|
|
|
38
32
|
modelModifiers: {}
|
|
39
33
|
}),
|
|
40
34
|
emits: ["update:modelValue"],
|
|
41
|
-
setup(
|
|
42
|
-
let
|
|
35
|
+
setup(m) {
|
|
36
|
+
let h = m, A = E(), j = `bb_${h.id ?? e().id.value}`, M = `${j}_desc`, N = (e) => {
|
|
43
37
|
if (!e) return "";
|
|
44
38
|
let t = "";
|
|
45
39
|
for (let n of e) {
|
|
46
|
-
if (n.type ===
|
|
40
|
+
if (n.type === o) continue;
|
|
47
41
|
let e = n.children;
|
|
48
42
|
typeof e == "string" ? t += e : Array.isArray(e) && (t += N(e));
|
|
49
43
|
}
|
|
50
44
|
return t;
|
|
51
|
-
}, P = S(!1), F =
|
|
52
|
-
let t =
|
|
45
|
+
}, P = S(!1), F = c(() => (h.text ?? (P.value ? N(A.default?.({})) : "")).replace(/\s+/g, " ").trim()), I = S(), L = c(() => h.activator != null), R = D("popover"), z = c(() => n(R.value)), B = T(m, "modelValue"), V = r(B), H = (e) => {
|
|
46
|
+
let t = n(e);
|
|
53
47
|
t && (I.value = t);
|
|
54
|
-
}, W, G
|
|
55
|
-
clearTimeout(
|
|
48
|
+
}, U, W, G = () => {
|
|
49
|
+
clearTimeout(W);
|
|
50
|
+
}, K = () => {
|
|
51
|
+
clearTimeout(U), clearTimeout(W), document.removeEventListener("keydown", Y), B.value = !1;
|
|
56
52
|
}, q = () => {
|
|
57
|
-
clearTimeout(
|
|
53
|
+
clearTimeout(U), clearTimeout(W), W = setTimeout(K, 50);
|
|
58
54
|
}, J = () => {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}, X = (e) => {
|
|
65
|
-
e.key === "Escape" && q();
|
|
66
|
-
}, ae = () => {
|
|
67
|
-
B.value = !1, q();
|
|
55
|
+
G(), !(B.value || h.disabled) && (U = setTimeout(() => {
|
|
56
|
+
B.value = !0, document.addEventListener("keydown", Y, { passive: !0 });
|
|
57
|
+
}, h.timeout));
|
|
58
|
+
}, Y = (e) => {
|
|
59
|
+
e.key === "Escape" && K();
|
|
68
60
|
};
|
|
69
|
-
|
|
70
|
-
e &&
|
|
61
|
+
O(() => h.activator, (e) => {
|
|
62
|
+
e && H(e);
|
|
71
63
|
}, { immediate: !0 });
|
|
72
|
-
let
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
e.removeEventListener("mouseenter",
|
|
64
|
+
let X = null;
|
|
65
|
+
O(I, (e) => {
|
|
66
|
+
X &&= (X(), null), e && (e.addEventListener("mouseenter", J, { passive: !0 }), e.addEventListener("mouseleave", q, { passive: !0 }), e.addEventListener("focus", J, { passive: !0 }), e.addEventListener("blur", K, { passive: !0 }), X = () => {
|
|
67
|
+
e.removeEventListener("mouseenter", J), e.removeEventListener("mouseleave", q), e.removeEventListener("focus", J), e.removeEventListener("blur", K);
|
|
76
68
|
});
|
|
77
69
|
}, { immediate: !0 });
|
|
78
|
-
let
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
e.removeEventListener("mouseenter",
|
|
70
|
+
let Z = null;
|
|
71
|
+
O(z, (e) => {
|
|
72
|
+
Z &&= (Z(), null), e && (e.addEventListener("mouseenter", G, { passive: !0 }), e.addEventListener("mouseleave", q, { passive: !0 }), Z = () => {
|
|
73
|
+
e.removeEventListener("mouseenter", G), e.removeEventListener("mouseleave", q);
|
|
82
74
|
});
|
|
83
75
|
}, { immediate: !0 });
|
|
84
|
-
let
|
|
76
|
+
let Q = () => {
|
|
85
77
|
let e = I.value;
|
|
86
|
-
e && (F.value ? e.setAttribute("aria-describedby", M) :
|
|
78
|
+
e && (F.value ? e.setAttribute("aria-describedby", M) : V.value && e.setAttribute("aria-describedby", j));
|
|
87
79
|
};
|
|
88
80
|
b(() => {
|
|
89
|
-
|
|
90
|
-
}),
|
|
81
|
+
Q(), P.value = !0;
|
|
82
|
+
}), O([
|
|
91
83
|
I,
|
|
92
|
-
|
|
84
|
+
V,
|
|
93
85
|
F
|
|
94
|
-
],
|
|
95
|
-
|
|
86
|
+
], Q, { flush: "post" }), y(() => {
|
|
87
|
+
X?.(), Z?.(), I.value && I.value.removeAttribute("aria-describedby"), K();
|
|
96
88
|
});
|
|
97
|
-
let { width:
|
|
89
|
+
let { width: $ } = t(I, {
|
|
98
90
|
width: 0,
|
|
99
91
|
height: 0
|
|
100
|
-
}, { box: "border-box" }),
|
|
101
|
-
if (
|
|
102
|
-
let { value: e, unit: t } =
|
|
103
|
-
return t === "%" ? I.value ? `${
|
|
92
|
+
}, { box: "border-box" }), ee = c(() => {
|
|
93
|
+
if (h.width) {
|
|
94
|
+
let { value: e, unit: t } = a(h.width);
|
|
95
|
+
return t === "%" ? I.value ? `${$.value * (e / 100)}px` : "0px" : `${e}px`;
|
|
104
96
|
}
|
|
105
97
|
});
|
|
106
|
-
return (e, t) => (x(),
|
|
107
|
-
F.value ? (x(),
|
|
98
|
+
return (e, t) => (x(), u(s, null, [
|
|
99
|
+
F.value ? (x(), u("span", {
|
|
108
100
|
key: 0,
|
|
109
101
|
id: M,
|
|
110
102
|
class: "sr-only"
|
|
111
|
-
}, w(F.value), 1)) :
|
|
112
|
-
L.value ?
|
|
113
|
-
props: { ref:
|
|
103
|
+
}, w(F.value), 1)) : l("", !0),
|
|
104
|
+
L.value ? l("", !0) : C(e.$slots, "activator", _(g({ key: 1 }, {
|
|
105
|
+
props: { ref: H },
|
|
114
106
|
disabled: e.disabled,
|
|
115
|
-
open:
|
|
107
|
+
open: B.value,
|
|
116
108
|
placement: e.placement
|
|
117
109
|
}))),
|
|
118
|
-
|
|
110
|
+
p(i, g({
|
|
119
111
|
ref: "popover",
|
|
120
|
-
modelValue:
|
|
121
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
112
|
+
modelValue: B.value,
|
|
113
|
+
"onUpdate:modelValue": t[0] ||= (e) => B.value = e,
|
|
122
114
|
anchor: I.value,
|
|
123
115
|
"arrow-padding": e.arrowPadding,
|
|
124
116
|
boundary: e.boundary,
|
|
@@ -127,29 +119,11 @@ var k = /* @__PURE__ */ g({
|
|
|
127
119
|
placement: e.placement,
|
|
128
120
|
"transition-duration": e.transitionDuration
|
|
129
121
|
}, e.$attrs), {
|
|
130
|
-
default:
|
|
122
|
+
default: k(() => [d("span", {
|
|
131
123
|
id: j,
|
|
132
124
|
class: "bb-tooltip__content",
|
|
133
|
-
style:
|
|
134
|
-
}, [e
|
|
135
|
-
key: 0,
|
|
136
|
-
"aria-label": re(A)("common.closeLabel").value,
|
|
137
|
-
class: "bb-tooltip__close",
|
|
138
|
-
tabindex: "-1",
|
|
139
|
-
onClick: ae
|
|
140
|
-
}, {
|
|
141
|
-
default: O(() => t[1] ||= [m("svg", {
|
|
142
|
-
fill: "none",
|
|
143
|
-
viewBox: "0 0 24 24",
|
|
144
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
145
|
-
}, [m("path", {
|
|
146
|
-
d: "M23 23L1 1M23 1L1 23",
|
|
147
|
-
stroke: "currentColor",
|
|
148
|
-
"stroke-linecap": "round",
|
|
149
|
-
"stroke-width": "2"
|
|
150
|
-
})], -1)]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["aria-label"])) : f("", !0), C(e.$slots, "default", {}, () => [ee(w(e.text), 1)])], 4)]),
|
|
125
|
+
style: v({ width: ee.value })
|
|
126
|
+
}, [C(e.$slots, "default", {}, () => [f(w(e.text), 1)])], 4)]),
|
|
153
127
|
_: 3
|
|
154
128
|
}, 16, [
|
|
155
129
|
"modelValue",
|
|
@@ -165,4 +139,4 @@ var k = /* @__PURE__ */ g({
|
|
|
165
139
|
}
|
|
166
140
|
});
|
|
167
141
|
//#endregion
|
|
168
|
-
export {
|
|
142
|
+
export { A as default };
|