bitboss-ui 2.0.48 → 2.0.50
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/components/BaseNumberInput/BaseNumberInput.vue.d.ts +2 -0
- package/dist/index108.js +146 -149
- package/dist/index110.js +4 -4
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -116
- package/dist/index205.js +53 -2
- package/dist/index207.js +13 -84
- package/dist/index208.js +22 -0
- package/dist/index209.js +4 -2
- package/dist/index21.js +14 -14
- package/dist/index210.js +2 -4
- package/dist/index211.js +4 -2
- package/dist/index212.js +2 -126
- package/dist/index213.js +8 -5
- package/dist/index214.js +115 -124
- package/dist/index215.js +3 -19
- package/dist/index216.js +40 -15
- package/dist/index217.js +6 -16
- package/dist/index218.js +7 -2
- package/dist/index219.js +3 -2
- package/dist/index220.js +156 -39
- package/dist/index221.js +83 -19
- package/dist/index223.js +5 -53
- package/dist/index224.js +18 -0
- package/dist/index225.js +16 -13
- package/dist/index226.js +19 -5
- package/dist/index227.js +17 -367
- package/dist/index228.js +27 -3
- package/dist/index229.js +3 -3
- package/dist/index23.js +15 -15
- package/dist/index230.js +2 -7
- package/dist/index231.js +247 -6
- package/dist/index232.js +52 -4
- package/dist/index233.js +44 -19
- package/dist/index234.js +5 -27
- package/dist/index235.js +49 -3
- package/dist/index236.js +122 -245
- package/dist/index237.js +124 -51
- package/dist/index238.js +2 -44
- package/dist/index239.js +4 -4
- package/dist/index240.js +369 -49
- package/dist/index241.js +2 -2
- package/dist/index242.js +2 -18
- package/dist/index243.js +17 -105
- package/dist/index244.js +108 -0
- package/dist/{index245.js → index246.js} +1 -1
- package/dist/index25.js +5 -5
- package/dist/index250.js +1 -1
- package/dist/index252.js +7 -23
- package/dist/index253.js +176 -6
- package/dist/index254.js +4 -16
- package/dist/index256.js +3 -4
- package/dist/index257.js +9 -3
- package/dist/index258.js +23 -12
- package/dist/index259.js +6 -9
- package/dist/index260.js +15 -8
- package/dist/index261.js +224 -17
- package/dist/index262.js +3 -281
- package/dist/index263.js +12 -6
- package/dist/index264.js +9 -2
- package/dist/index265.js +9 -2
- package/dist/index266.js +17 -2
- package/dist/index267.js +431 -2
- package/dist/index268.js +89 -2
- package/dist/index269.js +280 -125
- package/dist/index27.js +1 -1
- package/dist/index270.js +5 -430
- package/dist/index271.js +2 -176
- package/dist/index272.js +2 -3
- package/dist/index274.js +2 -7
- package/dist/index275.js +2 -22
- package/dist/index276.js +4 -0
- package/dist/index277.js +2 -224
- package/dist/index278.js +2 -200
- package/dist/index279.js +2 -436
- package/dist/index280.js +2 -127
- package/dist/index281.js +24 -85
- package/dist/index282.js +22 -2
- package/dist/index284.js +2 -2
- package/dist/index285.js +126 -2
- package/dist/index286.js +21 -1
- package/dist/index288.js +197 -25
- package/dist/index289.js +435 -21
- package/dist/index29.js +69 -64
- package/dist/index290.js +129 -0
- package/dist/index291.js +1 -1
- package/dist/index292.js +1 -1
- package/dist/index293.js +2 -2
- package/dist/index294.js +5 -66
- package/dist/index296.js +66 -5
- package/dist/index297.js +33 -4
- package/dist/index298.js +5 -4
- package/dist/index299.js +7 -58
- package/dist/index300.js +4 -79
- package/dist/index301.js +81 -0
- package/dist/index303.js +6 -7
- package/dist/index304.js +4 -33
- package/dist/index305.js +4 -4
- package/dist/index306.js +58 -6
- package/dist/index307.js +46 -6
- package/dist/index308.js +10 -18
- package/dist/index309.js +6 -10
- package/dist/index31.js +2 -2
- package/dist/index310.js +19 -2
- package/dist/index311.js +2 -47
- package/dist/{index312.js → index313.js} +1 -1
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +13 -13
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +15 -15
- package/dist/index84.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index206.js +0 -160
- package/dist/index222.js +0 -8
- package/dist/index247.js +0 -4
- package/dist/index251.js +0 -11
- package/dist/index287.js +0 -4
- package/dist/index302.js +0 -7
- /package/dist/{index283.js → index273.js} +0 -0
@@ -81,6 +81,7 @@ export type BaseNumberInputEvents = {
|
|
81
81
|
(e: 'increase', value: number): void;
|
82
82
|
(e: 'input', event: Event): void;
|
83
83
|
(e: 'keydown', event: KeyboardEvent): void;
|
84
|
+
(e: 'keyup', event: KeyboardEvent): void;
|
84
85
|
(e: 'mousedown', event: MouseEvent): void;
|
85
86
|
(e: 'mouseup', event: MouseEvent): void;
|
86
87
|
(e: 'update:modelValue', value: number | null): void;
|
@@ -115,6 +116,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
115
116
|
}, string, import('vue').PublicProps, Readonly<BaseNumberInputProps> & Readonly<{
|
116
117
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
117
118
|
}>, {
|
119
|
+
autocomplete: string;
|
118
120
|
step: number;
|
119
121
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseNumberInputSlots> & BaseNumberInputSlots>;
|
120
122
|
export default _default;
|
package/dist/index108.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useId as
|
3
|
-
import { useRoute as
|
4
|
-
import { useRouter as
|
5
|
-
import { wait as
|
6
|
-
import { useScroll as
|
7
|
-
import
|
1
|
+
import { defineComponent as le, ref as r, computed as $, getCurrentInstance as ae, watch as b, nextTick as ie, onMounted as se, openBlock as h, createElementBlock as p, unref as ne, normalizeClass as T, createElementVNode as c, renderSlot as k, normalizeProps as H, guardReactiveProps as U, normalizeStyle as K, Fragment as J, renderList as M, createVNode as O, withCtx as I, toDisplayString as re, createBlock as oe, Transition as ue, createCommentVNode as de } from "vue";
|
2
|
+
import { useId as ce } from "./index8.js";
|
3
|
+
import { useRoute as be } from "./index136.js";
|
4
|
+
import { useRouter as he } from "./index137.js";
|
5
|
+
import { wait as fe } from "./index131.js";
|
6
|
+
import { useScroll as ye, useWindowSize as me } from "./index132.js";
|
7
|
+
import ve from "./index13.js";
|
8
8
|
/* empty css */
|
9
|
-
import
|
9
|
+
import pe from "./index127.js";
|
10
10
|
/* empty css */
|
11
|
-
import { throttledWatch as
|
12
|
-
const
|
11
|
+
import { throttledWatch as ke } from "./index214.js";
|
12
|
+
const ge = ["id"], _e = { class: "bb-tab__label-boundary" }, we = { class: "bb-tab__label" }, $e = { class: "bb-tab__panes-container" }, Se = ["id", "aria-labelledby"], We = /* @__PURE__ */ le({
|
13
13
|
__name: "BbTab",
|
14
14
|
props: {
|
15
15
|
disabled: { type: Boolean },
|
@@ -24,31 +24,31 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
24
24
|
replace: { type: Boolean }
|
25
25
|
},
|
26
26
|
emits: ["update:modelValue"],
|
27
|
-
setup(
|
28
|
-
var
|
29
|
-
const t =
|
30
|
-
isScrolling:
|
31
|
-
left:
|
32
|
-
right:
|
33
|
-
})),
|
27
|
+
setup(j, { expose: G, emit: Q }) {
|
28
|
+
var N, A;
|
29
|
+
const t = j, X = Q, d = be(), S = he(), q = r(), L = t.id ?? ce().id.value, g = `bb-tab_${L}`, f = r(), { isScrolling: Y, arrivedState: V } = ye(f), B = $(() => ({
|
30
|
+
isScrolling: Y.value,
|
31
|
+
left: V.left,
|
32
|
+
right: V.right
|
33
|
+
})), C = !!((A = (N = ae()) == null ? void 0 : N.proxy) != null && A.$inertia), i = r(null), o = $(
|
34
34
|
() => t.items.findIndex((e) => e.key === i.value)
|
35
35
|
), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
|
36
36
|
t.items.forEach((e) => {
|
37
37
|
if (!e.key)
|
38
38
|
throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
|
39
39
|
});
|
40
|
-
const
|
40
|
+
const P = () => {
|
41
41
|
var e, a, l, n, s;
|
42
|
-
if (t.navigation && ((a = (e =
|
43
|
-
i.value = (n = (l =
|
44
|
-
else if (t.navigation &&
|
42
|
+
if (t.navigation && ((a = (e = d.value) == null ? void 0 : e.query) != null && a[t.querykey]))
|
43
|
+
i.value = (n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey];
|
44
|
+
else if (t.navigation && C && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
45
45
|
i.value = new URL(globalThis.location.href).searchParams.get(
|
46
46
|
t.querykey
|
47
47
|
);
|
48
48
|
else if (t.modelValue)
|
49
49
|
i.value = t.modelValue;
|
50
50
|
else if (t.items[0]) {
|
51
|
-
const m = t.items.find((
|
51
|
+
const m = t.items.find((te) => !te.disabled);
|
52
52
|
if (!m)
|
53
53
|
throw new Error(
|
54
54
|
"No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected."
|
@@ -57,22 +57,22 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
57
57
|
i.value = v;
|
58
58
|
}
|
59
59
|
};
|
60
|
-
|
60
|
+
P();
|
61
61
|
const y = async (e, a = !1) => {
|
62
62
|
var l, n, s, m;
|
63
|
-
if (t.navigation &&
|
63
|
+
if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
|
64
64
|
S == null || S.push({
|
65
|
-
...
|
66
|
-
query: { ...(s =
|
65
|
+
...d,
|
66
|
+
query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
|
67
67
|
replace: a
|
68
68
|
});
|
69
|
-
else if (t.navigation &&
|
69
|
+
else if (t.navigation && C && ((m = globalThis == null ? void 0 : globalThis.location) != null && m.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
|
70
70
|
const v = new URL(globalThis.location.href);
|
71
|
-
v.searchParams.set(t.querykey, e),
|
71
|
+
v.searchParams.set(t.querykey, e), fe(0).then(() => {
|
72
72
|
a ? history.replaceState({}, "", v.toString()) : history.pushState({}, "", v.toString());
|
73
73
|
});
|
74
74
|
}
|
75
|
-
t.modelValue !== e &&
|
75
|
+
t.modelValue !== e && X("update:modelValue", e), i.value = e;
|
76
76
|
};
|
77
77
|
i.value && y(i.value, !0);
|
78
78
|
const u = (e) => {
|
@@ -106,7 +106,7 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
106
106
|
`#${g}_tab_${l}`
|
107
107
|
);
|
108
108
|
n == null || n.focus(), y(l, t.replace);
|
109
|
-
},
|
109
|
+
}, Z = (e) => {
|
110
110
|
if (!t.disabled)
|
111
111
|
if (e.key === "ArrowRight")
|
112
112
|
u("next");
|
@@ -127,7 +127,7 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
127
127
|
), b(
|
128
128
|
() => {
|
129
129
|
var e, a;
|
130
|
-
return (a = (e =
|
130
|
+
return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
|
131
131
|
},
|
132
132
|
(e) => {
|
133
133
|
e && typeof e == "string" && y(e, t.replace);
|
@@ -139,7 +139,7 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
139
139
|
const e = q.value.querySelector(
|
140
140
|
"[role=tablist] .bb-tab__btn--active"
|
141
141
|
);
|
142
|
-
e && (await
|
142
|
+
e && (await ie(), e.scrollIntoView({
|
143
143
|
behavior: "smooth",
|
144
144
|
block: "nearest",
|
145
145
|
inline: "nearest"
|
@@ -148,90 +148,99 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
148
148
|
},
|
149
149
|
{ flush: "post" }
|
150
150
|
);
|
151
|
-
const
|
151
|
+
const R = r("right");
|
152
152
|
b(
|
153
153
|
i,
|
154
154
|
(e, a) => {
|
155
155
|
if (e && a) {
|
156
156
|
const l = t.items.findIndex((s) => s.key === e), n = t.items.findIndex((s) => s.key === a);
|
157
|
-
|
157
|
+
R.value = l > n ? "right" : "left";
|
158
158
|
}
|
159
159
|
},
|
160
160
|
{ flush: "sync" }
|
161
161
|
);
|
162
|
-
const
|
162
|
+
const E = r(0), W = r(0), z = r(0), D = r(0), F = r(0), x = () => {
|
163
163
|
if (!f.value) return;
|
164
164
|
const e = f.value.querySelector(
|
165
165
|
".bb-tab__btn--active"
|
166
166
|
);
|
167
|
-
e && (z.value = e.offsetLeft, D.value = e.offsetTop,
|
167
|
+
e && (z.value = e.offsetLeft, D.value = e.offsetTop, E.value = e.clientWidth, W.value = e.clientHeight, F.value = f.value.scrollWidth);
|
168
168
|
};
|
169
|
-
|
170
|
-
const { width:
|
171
|
-
return
|
169
|
+
se(x), b(i, x, { flush: "post" });
|
170
|
+
const { width: ee } = me();
|
171
|
+
return ke(ee, x, { throttle: 100 }), b(
|
172
172
|
() => t.items,
|
173
173
|
() => {
|
174
|
-
i.value && !t.items.find((e) => e.key === i.value) &&
|
174
|
+
i.value && !t.items.find((e) => e.key === i.value) && P();
|
175
175
|
},
|
176
176
|
{
|
177
177
|
immediate: !0,
|
178
178
|
deep: !0
|
179
179
|
}
|
180
|
-
),
|
180
|
+
), G({
|
181
181
|
isFirst: _,
|
182
182
|
isLast: w,
|
183
183
|
current: i,
|
184
184
|
currentIndex: o,
|
185
185
|
goTo: u
|
186
|
-
}), (e, a) => (h(), p(
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
186
|
+
}), (e, a) => (h(), p("div", {
|
187
|
+
id: ne(L),
|
188
|
+
ref_key: "tabs",
|
189
|
+
ref: q,
|
190
|
+
class: T(["bb-tab", {
|
191
|
+
[`bb-tab--${e.direction}`]: !0,
|
192
|
+
"bb-tab--disabled": !0
|
193
|
+
}])
|
194
|
+
}, [
|
195
|
+
c("div", _e, [
|
196
|
+
c("span", null, [
|
197
|
+
k(e.$slots, "header:prepend", H(U(B.value)))
|
198
|
+
]),
|
199
|
+
c("ul", {
|
200
|
+
ref_key: "tablist",
|
201
|
+
ref: f,
|
202
|
+
class: "bb-tab__label-container",
|
203
|
+
role: "tablist",
|
204
|
+
style: K({
|
205
|
+
"--inner-width": `${F.value}px`
|
206
|
+
})
|
207
|
+
}, [
|
208
|
+
c("span", {
|
209
|
+
class: "bb-tab__highlight",
|
210
|
+
style: K({
|
211
|
+
"--width": `${E.value}px`,
|
212
|
+
"--height": `${W.value}px`,
|
213
|
+
"--left": `${z.value}px`,
|
214
|
+
"--top": `${D.value}px`
|
208
215
|
})
|
216
|
+
}, null, 4),
|
217
|
+
(h(!0), p(J, null, M(e.items, (l) => (h(), p("li", {
|
218
|
+
key: l.key,
|
219
|
+
role: "presentation"
|
209
220
|
}, [
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
default: L(() => [
|
234
|
-
k(e.$slots, `label-${l.key}`, {
|
221
|
+
O(ve, {
|
222
|
+
id: `${g}_tab_${l.key}`,
|
223
|
+
"aria-selected": i.value === l.key,
|
224
|
+
class: T(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
|
225
|
+
disabled: l.disabled || e.disabled,
|
226
|
+
role: "tab",
|
227
|
+
tabindex: i.value === l.key ? 0 : -1,
|
228
|
+
onClick: (n) => y(l.key, t.replace),
|
229
|
+
onKeydown: Z
|
230
|
+
}, {
|
231
|
+
default: I(() => [
|
232
|
+
k(e.$slots, `label-${l.key}`, {
|
233
|
+
current: i.value,
|
234
|
+
currentIndex: o.value,
|
235
|
+
disabled: !!(l.disabled || e.disabled),
|
236
|
+
goTo: u,
|
237
|
+
isFirst: _.value,
|
238
|
+
isLast: w.value,
|
239
|
+
selected: i.value === l.key,
|
240
|
+
text: l.label,
|
241
|
+
value: l.key
|
242
|
+
}, () => [
|
243
|
+
k(e.$slots, "label", {
|
235
244
|
current: i.value,
|
236
245
|
currentIndex: o.value,
|
237
246
|
disabled: !!(l.disabled || e.disabled),
|
@@ -242,69 +251,57 @@ const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-t
|
|
242
251
|
text: l.label,
|
243
252
|
value: l.key
|
244
253
|
}, () => [
|
245
|
-
|
246
|
-
current: i.value,
|
247
|
-
currentIndex: o.value,
|
248
|
-
disabled: !!(l.disabled || e.disabled),
|
249
|
-
goTo: u,
|
250
|
-
isFirst: _.value,
|
251
|
-
isLast: w.value,
|
252
|
-
selected: i.value === l.key,
|
253
|
-
text: l.label,
|
254
|
-
value: l.key
|
255
|
-
}, () => [
|
256
|
-
d("span", $e, U(l.label), 1)
|
257
|
-
])
|
254
|
+
c("span", we, re(l.label), 1)
|
258
255
|
])
|
259
|
-
])
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
],
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
]),
|
268
|
-
d("div", Se, [
|
269
|
-
j(ke, null, {
|
270
|
-
default: L(() => [
|
271
|
-
(h(!0), p(x, null, O(e.items, (l) => (h(), ue(de, {
|
272
|
-
key: l.key,
|
273
|
-
css: e.animate,
|
274
|
-
name: `tab-slide-${E.value}`
|
275
|
-
}, {
|
276
|
-
default: L(() => [
|
277
|
-
i.value === l.key || e.eager || l.eager ? (h(), p("section", {
|
278
|
-
key: 0,
|
279
|
-
id: `${g}_tabpanel_${l.key}`,
|
280
|
-
"aria-labelledby": `${g}_tab_${l.key}`,
|
281
|
-
class: I(["bb-tab__pane", {
|
282
|
-
"bb-tab__pane--shown": i.value === l.key
|
283
|
-
}]),
|
284
|
-
role: "tabpanel",
|
285
|
-
tabindex: "0"
|
286
|
-
}, [
|
287
|
-
k(e.$slots, l.key, {
|
288
|
-
current: i.value,
|
289
|
-
currentIndex: o.value,
|
290
|
-
disabled: !!(l.disabled || e.disabled),
|
291
|
-
goTo: u,
|
292
|
-
isFirst: _.value,
|
293
|
-
isLast: w.value,
|
294
|
-
selected: i.value === l.key,
|
295
|
-
text: l.label,
|
296
|
-
value: l.key
|
297
|
-
})
|
298
|
-
], 10, qe)) : ce("", !0)
|
299
|
-
]),
|
300
|
-
_: 2
|
301
|
-
}, 1032, ["css", "name"]))), 128))
|
302
|
-
]),
|
303
|
-
_: 3
|
304
|
-
})
|
256
|
+
])
|
257
|
+
]),
|
258
|
+
_: 2
|
259
|
+
}, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
|
260
|
+
]))), 128))
|
261
|
+
], 4),
|
262
|
+
c("span", null, [
|
263
|
+
k(e.$slots, "header:append", H(U(B.value)))
|
305
264
|
])
|
306
|
-
],
|
307
|
-
|
265
|
+
]),
|
266
|
+
c("div", $e, [
|
267
|
+
O(pe, null, {
|
268
|
+
default: I(() => [
|
269
|
+
(h(!0), p(J, null, M(e.items, (l) => (h(), oe(ue, {
|
270
|
+
key: l.key,
|
271
|
+
css: e.animate,
|
272
|
+
name: `tab-slide-${R.value}`
|
273
|
+
}, {
|
274
|
+
default: I(() => [
|
275
|
+
i.value === l.key || e.eager || l.eager ? (h(), p("section", {
|
276
|
+
key: 0,
|
277
|
+
id: `${g}_tabpanel_${l.key}`,
|
278
|
+
"aria-labelledby": `${g}_tab_${l.key}`,
|
279
|
+
class: T(["bb-tab__pane", {
|
280
|
+
"bb-tab__pane--shown": i.value === l.key
|
281
|
+
}]),
|
282
|
+
role: "tabpanel",
|
283
|
+
tabindex: "0"
|
284
|
+
}, [
|
285
|
+
k(e.$slots, l.key, {
|
286
|
+
current: i.value,
|
287
|
+
currentIndex: o.value,
|
288
|
+
disabled: !!(l.disabled || e.disabled),
|
289
|
+
goTo: u,
|
290
|
+
isFirst: _.value,
|
291
|
+
isLast: w.value,
|
292
|
+
selected: i.value === l.key,
|
293
|
+
text: l.label,
|
294
|
+
value: l.key
|
295
|
+
})
|
296
|
+
], 10, Se)) : de("", !0)
|
297
|
+
]),
|
298
|
+
_: 2
|
299
|
+
}, 1032, ["css", "name"]))), 128))
|
300
|
+
]),
|
301
|
+
_: 3
|
302
|
+
})
|
303
|
+
])
|
304
|
+
], 10, ge));
|
308
305
|
}
|
309
306
|
});
|
310
307
|
export {
|
package/dist/index110.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as oe, ref as x, computed as y, toRef as B, watch as ne, openBlock as n, createBlock as de, resolveDynamicComponent as ce, normalizeClass as r, unref as u, withCtx as ie, createElementBlock as d, toDisplayString as p, createCommentVNode as _, createElementVNode as o, renderSlot as f, createVNode as I, Fragment as w, renderList as T, createTextVNode as be, mergeProps as re } from "vue";
|
2
2
|
import { add as ue } from "./index295.js";
|
3
|
-
import { clamp as pe } from "./
|
3
|
+
import { clamp as pe } from "./index204.js";
|
4
4
|
import { isNil as M } from "./index129.js";
|
5
5
|
import { useId as fe } from "./index8.js";
|
6
|
-
import { useItemValue as me } from "./
|
7
|
-
import { when as ye } from "./
|
6
|
+
import { useItemValue as me } from "./index265.js";
|
7
|
+
import { when as ye } from "./index211.js";
|
8
8
|
import J from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import he from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useOptions as ke } from "./
|
12
|
+
import { useOptions as ke } from "./index220.js";
|
13
13
|
const _e = {
|
14
14
|
key: 0,
|
15
15
|
class: "sr-only"
|
package/dist/index118.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as f, Fragment as d, renderList as _, unref as r, mergeProps as b } from "vue";
|
2
2
|
import { state as k, useToast as C } from "./index11.js";
|
3
|
-
import B from "./
|
3
|
+
import B from "./index296.js";
|
4
4
|
const N = /* @__PURE__ */ s({
|
5
5
|
__name: "BbToast",
|
6
6
|
props: {
|
package/dist/index120.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as z, defineAsyncComponent as A, ref as a, watch as I, computed as R, openBlock as v, createElementBlock as S, mergeProps as U, createElementVNode as c, renderSlot as E, normalizeProps as W, guardReactiveProps as j, unref as u, createBlock as D, withCtx as L, createCommentVNode as M } from "vue";
|
2
|
-
import { useFloating as q, arrow as G } from "./
|
2
|
+
import { useFloating as q, arrow as G } from "./index236.js";
|
3
3
|
import { useId as J } from "./index8.js";
|
4
4
|
import { wait as P } from "./index131.js";
|
5
5
|
import K from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as b } from "./
|
8
|
-
import { waitFor as Q } from "./
|
9
|
-
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./
|
7
|
+
import { throttle as b } from "./index215.js";
|
8
|
+
import { waitFor as Q } from "./index217.js";
|
9
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index240.js";
|
10
10
|
const ue = /* @__PURE__ */ z({
|
11
11
|
__name: "BbTooltip",
|
12
12
|
props: {
|
@@ -24,7 +24,7 @@ const ue = /* @__PURE__ */ z({
|
|
24
24
|
},
|
25
25
|
setup(F) {
|
26
26
|
const O = A(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index256.js")
|
28
28
|
), t = F, w = `bb_${t.id ?? J().id.value}`, s = a(), d = a(), _ = a(), { placement: g, middlewareData: $ } = q(s, d, {
|
29
29
|
placement: t.placement,
|
30
30
|
whileElementsMounted: X,
|
package/dist/index122.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index294.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index126.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as z, openBlock as _, createElementBlock as b, mergeProps as h } from "vue";
|
2
|
-
import { isCssColor as w } from "./
|
2
|
+
import { isCssColor as w } from "./index210.js";
|
3
3
|
const g = ["innerHTML"], $ = /* @__PURE__ */ m({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index127.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index215.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index210.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as y, getCurrentInstance as p, computed as s, resolveComponent as d, openBlock as k, createBlock as h, resolveDynamicComponent as C, mergeProps as x, withCtx as S, renderSlot as L, createTextVNode as B, toDisplayString as N } from "vue";
|
2
2
|
import { _config as o } from "./index4.js";
|
3
|
-
import { useLogger as m } from "./
|
3
|
+
import { useLogger as m } from "./index213.js";
|
4
4
|
const P = /* @__PURE__ */ y({
|
5
5
|
__name: "BaseButton",
|
6
6
|
props: {
|
package/dist/index130.js
CHANGED
package/dist/index132.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./
|
2
|
-
import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as ge, watchWithFilter as be } from "./
|
1
|
+
import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./index214.js";
|
2
|
+
import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as ge, watchWithFilter as be } from "./index214.js";
|
3
3
|
import { computed as T, ref as O, watch as V, reactive as k, watchEffect as U, getCurrentInstance as Z, onMounted as ee } from "vue";
|
4
4
|
function N(l) {
|
5
5
|
var o;
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index298.js";
|
2
|
+
import { isPlainObject as c } from "./index299.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, ref as y, computed as v, watchPostEffect as h, openBlock as g, createElementBlock as C, Fragment as w, createVNode as d, normalizeClass as V, withCtx as n, renderSlot as l, createElementVNode as s, normalizeStyle as H, withModifiers as B, withDirectives as E, mergeProps as q, unref as $ } from "vue";
|
2
|
-
import z from "./
|
2
|
+
import z from "./index205.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
5
|
-
import { vMaska as M } from "./
|
6
|
-
import { isHex as D } from "./
|
4
|
+
import I from "./index207.js";
|
5
|
+
import { vMaska as M } from "./index208.js";
|
6
|
+
import { isHex as D } from "./index209.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], P = ["aria-invalid", "disabled", "required"], T = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseColorInput",
|
9
9
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as F } from "./
|
4
|
-
import { booleanishToBoolean as N } from "./
|
2
|
+
import { isCssColor as y } from "./index210.js";
|
3
|
+
import { when as F } from "./index211.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index212.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
|
2
|
-
import { useOptions as z } from "./
|
2
|
+
import { useOptions as z } from "./index220.js";
|
3
3
|
import F from "./index17.js";
|
4
4
|
/* empty css */
|
5
|
-
import M from "./
|
5
|
+
import M from "./index221.js";
|
6
6
|
/* empty css */
|
7
7
|
const G = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseCheckboxGroup",
|