bitboss-ui 2.0.72 → 2.0.74
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/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +5 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +5 -0
- package/dist/index106.js +16 -16
- package/dist/index108.js +52 -57
- package/dist/index110.js +59 -60
- package/dist/index118.js +1 -1
- package/dist/index120.js +56 -57
- package/dist/index122.js +1 -1
- package/dist/index126.js +21 -19
- 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/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +53 -2
- package/dist/index207.js +13 -2
- package/dist/index208.js +20 -4
- package/dist/index209.js +4 -2
- package/dist/index21.js +14 -14
- package/dist/index210.js +3 -53
- package/dist/index211.js +83 -0
- package/dist/index212.js +5 -13
- package/dist/index213.js +15 -19
- package/dist/index214.js +16 -4
- package/dist/index215.js +17 -162
- package/dist/index216.js +19 -84
- package/dist/index217.js +29 -0
- package/dist/index218.js +3 -3
- package/dist/index219.js +2 -41
- package/dist/index220.js +7 -5
- package/dist/index221.js +249 -7
- package/dist/index222.js +49 -123
- package/dist/index223.js +44 -5
- package/dist/index224.js +5 -125
- package/dist/index225.js +60 -19
- package/dist/index226.js +2 -16
- package/dist/index227.js +4 -16
- package/dist/index228.js +2 -2
- package/dist/index229.js +126 -2
- package/dist/index23.js +15 -15
- package/dist/index230.js +125 -5
- package/dist/index231.js +2 -369
- package/dist/index232.js +41 -3
- package/dist/index233.js +6 -19
- package/dist/index234.js +5 -27
- package/dist/index235.js +369 -3
- package/dist/index236.js +3 -249
- package/dist/index237.js +7 -52
- package/dist/index238.js +163 -43
- package/dist/index239.js +84 -5
- package/dist/index241.js +1 -1
- package/dist/index243.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index25.js +5 -5
- package/dist/index252.js +1 -1
- package/dist/index255.js +3 -9
- package/dist/index257.js +7 -3
- package/dist/index258.js +178 -0
- package/dist/index259.js +224 -7
- package/dist/index260.js +8 -175
- package/dist/index261.js +281 -66
- package/dist/index262.js +6 -2
- package/dist/index263.js +2 -9
- package/dist/index264.js +2 -3
- package/dist/index265.js +2 -12
- package/dist/index266.js +2 -9
- package/dist/index267.js +2 -17
- package/dist/index268.js +2 -4
- package/dist/index269.js +2 -431
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -89
- package/dist/index271.js +2 -281
- package/dist/index272.js +2 -6
- package/dist/index273.js +28 -2
- package/dist/index274.js +22 -2
- package/dist/index276.js +4 -2
- package/dist/index277.js +2 -2
- package/dist/index279.js +429 -20
- package/dist/index280.js +24 -0
- package/dist/index282.js +83 -218
- package/dist/index283.js +3 -436
- package/dist/index284.js +11 -126
- package/dist/index285.js +9 -2
- package/dist/index286.js +9 -2
- package/dist/index287.js +17 -2
- package/dist/index288.js +4 -2
- package/dist/index289.js +200 -2
- package/dist/index29.js +18 -19
- package/dist/index290.js +436 -2
- package/dist/index291.js +125 -26
- package/dist/index292.js +3 -22
- package/dist/index293.js +5 -0
- package/dist/index294.js +211 -5
- package/dist/index295.js +65 -2
- package/dist/index296.js +5 -3
- package/dist/index297.js +2 -211
- package/dist/index301.js +1 -1
- package/dist/index302.js +1 -1
- package/dist/index303.js +33 -79
- package/dist/index304.js +86 -0
- package/dist/index306.js +4 -2
- package/dist/index307.js +6 -32
- package/dist/index31.js +2 -2
- package/dist/index310.js +46 -6
- package/dist/index311.js +2 -11
- package/dist/index312.js +10 -46
- package/dist/{index313.js → index314.js} +2 -2
- package/dist/index315.js +1 -1
- package/dist/index316.js +47 -2
- package/dist/index317.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +9 -9
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- 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/index59.js +21 -20
- package/dist/index61.js +21 -23
- package/dist/index75.js +45 -46
- package/dist/index79.js +2 -5
- package/dist/index81.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +27 -26
- package/dist/index88.js +85 -85
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index206.js +0 -10
- package/dist/index240.js +0 -62
- package/dist/index256.js +0 -6
- package/dist/index275.js +0 -4
- package/dist/index281.js +0 -202
- package/dist/index305.js +0 -6
@@ -17,12 +17,17 @@ export type BbBreadcrumbsProps = Pick<CommonProps, 'disabled'> & {
|
|
17
17
|
* through `a` or `router-link`.
|
18
18
|
*/
|
19
19
|
items: Item[];
|
20
|
+
/**
|
21
|
+
* Label of the breadcrumbs
|
22
|
+
*/
|
23
|
+
label?: string;
|
20
24
|
/**
|
21
25
|
* Text content of the divider
|
22
26
|
*/
|
23
27
|
divider?: string;
|
24
28
|
};
|
25
29
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BbBreadcrumbsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbBreadcrumbsProps> & Readonly<{}>, {
|
30
|
+
label: string;
|
26
31
|
divider: string;
|
27
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
|
28
33
|
'item:prepend'?: ((props: {
|
@@ -5,6 +5,10 @@ export type BbPaginationProps = Pick<CommonProps, 'disabled' | 'loading'> & {
|
|
5
5
|
* String of text displayed in place of hidden pages
|
6
6
|
*/
|
7
7
|
ellipsis?: string;
|
8
|
+
/**
|
9
|
+
* Label of the pagination
|
10
|
+
*/
|
11
|
+
label?: string;
|
8
12
|
/**
|
9
13
|
* Maximum number of clickable pages displayed at all times.
|
10
14
|
* This has a tolerance of +/- 1 for odd / even numbering.
|
@@ -28,6 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Bb
|
|
28
32
|
}, string, import('vue').PublicProps, Readonly<BbPaginationProps> & Readonly<{
|
29
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
30
34
|
}>, {
|
35
|
+
label: string;
|
31
36
|
modelValue: number;
|
32
37
|
align: "left" | "center" | "right";
|
33
38
|
maxSize: string | number;
|
package/dist/index106.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as f, ref as v, computed as g, openBlock as y, createBlock as w, withCtx as a, renderSlot as i, normalizeProps as l, guardReactiveProps as r, createVNode as B, mergeProps as $ } from "vue";
|
2
|
+
import T from "./index27.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import V from "./index43.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
6
|
+
const E = /* @__PURE__ */ f({
|
7
7
|
__name: "BbSwitchGroup",
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
@@ -34,8 +34,8 @@ const F = /* @__PURE__ */ v({
|
|
34
34
|
reverse: { type: Boolean }
|
35
35
|
},
|
36
36
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
37
|
-
setup(
|
38
|
-
const u =
|
37
|
+
setup(t, { emit: p }) {
|
38
|
+
const u = t, n = p, s = v(!1), m = g(() => u.persistentHint || s.value), c = {
|
39
39
|
onBlur: (e) => n("blur", e),
|
40
40
|
onChange: (e) => n("change", e),
|
41
41
|
onClick: (e) => n("click", e),
|
@@ -51,7 +51,7 @@ const F = /* @__PURE__ */ v({
|
|
51
51
|
onMouseup: (e) => n("mouseup", e),
|
52
52
|
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
53
53
|
};
|
54
|
-
return (e,
|
54
|
+
return (e, D) => (y(), w(T, {
|
55
55
|
id: e.id,
|
56
56
|
class: "bb-switch-group",
|
57
57
|
direction: "vertical",
|
@@ -66,13 +66,13 @@ const F = /* @__PURE__ */ v({
|
|
66
66
|
"show-hint": m.value,
|
67
67
|
tag: "fieldset"
|
68
68
|
}, {
|
69
|
-
label: a((
|
70
|
-
i(e.$slots, "legend", l(r(
|
69
|
+
label: a((d) => [
|
70
|
+
i(e.$slots, "legend", l(r(d)))
|
71
71
|
]),
|
72
|
-
input: a(({ id:
|
73
|
-
|
74
|
-
id:
|
75
|
-
"aria-describedby":
|
72
|
+
input: a(({ id: d, hasErrors: h, ariaDescribedby: b }) => [
|
73
|
+
B(V, $({
|
74
|
+
id: d,
|
75
|
+
"aria-describedby": b,
|
76
76
|
autofocus: e.autofocus,
|
77
77
|
color: e.color,
|
78
78
|
dependencies: e.dependencies,
|
@@ -80,7 +80,7 @@ const F = /* @__PURE__ */ v({
|
|
80
80
|
direction: e.inputDirection,
|
81
81
|
disabled: e.disabled,
|
82
82
|
"enforce-coherence": e.enforceCoherence,
|
83
|
-
"has-errors":
|
83
|
+
"has-errors": h,
|
84
84
|
"hide-label": e.hideLabel,
|
85
85
|
"item-text": e.itemText,
|
86
86
|
"item-value": e.itemValue,
|
@@ -89,7 +89,7 @@ const F = /* @__PURE__ */ v({
|
|
89
89
|
max: e.max,
|
90
90
|
"model-value": e.modelValue,
|
91
91
|
"model-value-debounce-time": e.modelValueDebounceTime,
|
92
|
-
name:
|
92
|
+
name: e.name,
|
93
93
|
"no-data-text": e.noDataText,
|
94
94
|
readonly: e.readonly
|
95
95
|
}, c), {
|
@@ -125,5 +125,5 @@ const F = /* @__PURE__ */ v({
|
|
125
125
|
}
|
126
126
|
});
|
127
127
|
export {
|
128
|
-
|
128
|
+
E as default
|
129
129
|
};
|
package/dist/index108.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as ee, ref as n, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, openBlock as f, createElementBlock as p, unref as ie, normalizeClass as T, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as re, createBlock as ne, Transition as oe, createCommentVNode as ue } from "vue";
|
2
2
|
import { useId as de } from "./index8.js";
|
3
3
|
import { useRoute as ce } from "./index136.js";
|
4
4
|
import { useRouter as be } from "./index137.js";
|
@@ -8,7 +8,7 @@ import me from "./index13.js";
|
|
8
8
|
/* empty css */
|
9
9
|
import ve from "./index127.js";
|
10
10
|
/* empty css */
|
11
|
-
const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-tab__label" }, _e = { class: "bb-tab__panes-container" }, we = ["id", "aria-labelledby"], Re = /* @__PURE__ */
|
11
|
+
const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-tab__label" }, _e = { class: "bb-tab__panes-container" }, we = ["id", "aria-labelledby"], Re = /* @__PURE__ */ ee({
|
12
12
|
__name: "BbTab",
|
13
13
|
props: {
|
14
14
|
disabled: { type: Boolean },
|
@@ -23,13 +23,13 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
23
23
|
replace: { type: Boolean }
|
24
24
|
},
|
25
25
|
emits: ["update:modelValue"],
|
26
|
-
setup(
|
26
|
+
setup(M, { expose: j, emit: G }) {
|
27
27
|
var A, H;
|
28
|
-
const t =
|
29
|
-
isScrolling:
|
28
|
+
const t = M, Q = G, d = ce(), q = be(), S = n(), L = t.id ?? de().id.value, g = `bb-tab_${L}`, c = n(), { isScrolling: X, arrivedState: V } = he(c), B = $(() => ({
|
29
|
+
isScrolling: X.value,
|
30
30
|
left: V.left,
|
31
31
|
right: V.right
|
32
|
-
})), C = !!((H = (A =
|
32
|
+
})), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = n(null), o = $(
|
33
33
|
() => t.items.findIndex((e) => e.key === i.value)
|
34
34
|
), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
|
35
35
|
t.items.forEach((e) => {
|
@@ -37,9 +37,9 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
37
37
|
throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
|
38
38
|
});
|
39
39
|
const R = () => {
|
40
|
-
var e, a, l,
|
40
|
+
var e, a, l, r, s;
|
41
41
|
if (t.navigation && ((a = (e = d.value) == null ? void 0 : e.query) != null && a[t.querykey]))
|
42
|
-
i.value = (
|
42
|
+
i.value = (r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey];
|
43
43
|
else if (t.navigation && C && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
44
44
|
i.value = new URL(globalThis.location.href).searchParams.get(
|
45
45
|
t.querykey
|
@@ -47,7 +47,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
47
47
|
else if (t.modelValue)
|
48
48
|
i.value = t.modelValue;
|
49
49
|
else if (t.items[0]) {
|
50
|
-
const m = t.items.find((
|
50
|
+
const m = t.items.find((Z) => !Z.disabled);
|
51
51
|
if (!m)
|
52
52
|
throw new Error(
|
53
53
|
"No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected."
|
@@ -58,8 +58,8 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
58
58
|
};
|
59
59
|
R();
|
60
60
|
const y = async (e, a = !1) => {
|
61
|
-
var l,
|
62
|
-
if (t.navigation && d.value && ((
|
61
|
+
var l, r, s, m;
|
62
|
+
if (t.navigation && d.value && ((r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey]) !== e)
|
63
63
|
q == null || q.push({
|
64
64
|
...d,
|
65
65
|
query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
|
@@ -71,7 +71,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
71
71
|
a ? history.replaceState({}, "", v.toString()) : history.pushState({}, "", v.toString());
|
72
72
|
});
|
73
73
|
}
|
74
|
-
t.modelValue !== e &&
|
74
|
+
t.modelValue !== e && Q("update:modelValue", e), i.value = e;
|
75
75
|
};
|
76
76
|
i.value && y(i.value, !0);
|
77
77
|
const u = (e) => {
|
@@ -101,11 +101,11 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
101
101
|
if (a === null)
|
102
102
|
throw new Error("Could not navigate to next tab");
|
103
103
|
if (t.items[a].disabled) return;
|
104
|
-
const l = t.items[a].key,
|
104
|
+
const l = t.items[a].key, r = document.querySelector(
|
105
105
|
`#${g}_tab_${l}`
|
106
106
|
);
|
107
|
-
|
108
|
-
},
|
107
|
+
r == null || r.focus(), y(l, t.replace);
|
108
|
+
}, Y = (e) => {
|
109
109
|
if (!t.disabled)
|
110
110
|
if (e.key === "ArrowRight")
|
111
111
|
u("next");
|
@@ -118,12 +118,12 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
118
118
|
else
|
119
119
|
return;
|
120
120
|
};
|
121
|
-
|
121
|
+
b(
|
122
122
|
() => t.modelValue,
|
123
123
|
(e) => {
|
124
124
|
e && y(e, t.replace);
|
125
125
|
}
|
126
|
-
),
|
126
|
+
), b(
|
127
127
|
() => {
|
128
128
|
var e, a;
|
129
129
|
return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
|
@@ -131,14 +131,14 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
131
131
|
(e) => {
|
132
132
|
e && typeof e == "string" && y(e, t.replace);
|
133
133
|
}
|
134
|
-
),
|
134
|
+
), b(
|
135
135
|
i,
|
136
136
|
async () => {
|
137
137
|
if (S.value) {
|
138
138
|
const e = S.value.querySelector(
|
139
139
|
"[role=tablist] .bb-tab__btn--active"
|
140
140
|
);
|
141
|
-
e && (await
|
141
|
+
e && (await le(), e.scrollIntoView({
|
142
142
|
behavior: "smooth",
|
143
143
|
block: "nearest",
|
144
144
|
inline: "nearest"
|
@@ -147,28 +147,28 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
147
147
|
},
|
148
148
|
{ flush: "post" }
|
149
149
|
);
|
150
|
-
const P =
|
151
|
-
|
150
|
+
const P = n("right");
|
151
|
+
b(
|
152
152
|
i,
|
153
153
|
(e, a) => {
|
154
154
|
if (e && a) {
|
155
|
-
const l = t.items.findIndex((s) => s.key === e),
|
156
|
-
P.value = l >
|
155
|
+
const l = t.items.findIndex((s) => s.key === e), r = t.items.findIndex((s) => s.key === a);
|
156
|
+
P.value = l > r ? "right" : "left";
|
157
157
|
}
|
158
158
|
},
|
159
159
|
{ flush: "sync" }
|
160
160
|
);
|
161
|
-
const E =
|
162
|
-
if (!
|
161
|
+
const E = n(0), z = n(0), D = n(0), F = n(0), N = n(0), x = () => {
|
162
|
+
if (!c.value)
|
163
163
|
return;
|
164
|
-
const e =
|
164
|
+
const e = c.value.querySelector(
|
165
165
|
".bb-tab__btn--active"
|
166
166
|
);
|
167
|
-
e && (D.value = e.offsetLeft, F.value = e.offsetTop, E.value = e.clientWidth, z.value = e.clientHeight, N.value =
|
167
|
+
e && (D.value = e.offsetLeft, F.value = e.offsetTop, E.value = e.clientWidth, z.value = e.clientHeight, N.value = c.value.scrollWidth);
|
168
168
|
};
|
169
|
-
return
|
169
|
+
return ae(x), b(i, x, { flush: "post" }), ye(c, () => {
|
170
170
|
x();
|
171
|
-
}),
|
171
|
+
}), b(
|
172
172
|
() => t.items,
|
173
173
|
() => {
|
174
174
|
i.value && !t.items.find((e) => e.key === i.value) && R();
|
@@ -177,14 +177,14 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
177
177
|
immediate: !0,
|
178
178
|
deep: !0
|
179
179
|
}
|
180
|
-
),
|
180
|
+
), j({
|
181
181
|
isFirst: _,
|
182
182
|
isLast: w,
|
183
183
|
current: i,
|
184
184
|
currentIndex: o,
|
185
185
|
goTo: u
|
186
|
-
}), (e, a) => (
|
187
|
-
id:
|
186
|
+
}), (e, a) => (f(), p("div", {
|
187
|
+
id: ie(L),
|
188
188
|
ref_key: "tabs",
|
189
189
|
ref: S,
|
190
190
|
class: T(["bb-tab", {
|
@@ -192,41 +192,36 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
192
192
|
"bb-tab--disabled": !0
|
193
193
|
}])
|
194
194
|
}, [
|
195
|
-
|
196
|
-
|
195
|
+
h("div", ke, [
|
196
|
+
h("span", null, [
|
197
197
|
k(e.$slots, "header:prepend", U(W(B.value)))
|
198
198
|
]),
|
199
|
-
|
199
|
+
h("ul", {
|
200
200
|
ref_key: "tablist",
|
201
|
-
ref:
|
201
|
+
ref: c,
|
202
202
|
class: "bb-tab__label-container",
|
203
203
|
role: "tablist",
|
204
|
-
style:
|
205
|
-
"--inner-width": `${N.value}px
|
204
|
+
style: se({
|
205
|
+
"--inner-width": `${N.value}px`,
|
206
|
+
"--width": `${E.value}px`,
|
207
|
+
"--height": `${z.value}px`,
|
208
|
+
"--left": `${D.value}px`,
|
209
|
+
"--top": `${F.value}px`
|
206
210
|
})
|
207
211
|
}, [
|
208
|
-
|
209
|
-
class: "bb-tab__highlight",
|
210
|
-
style: K({
|
211
|
-
"--width": `${E.value}px`,
|
212
|
-
"--height": `${z.value}px`,
|
213
|
-
"--left": `${D.value}px`,
|
214
|
-
"--top": `${F.value}px`
|
215
|
-
})
|
216
|
-
}, null, 4),
|
217
|
-
(h(!0), p(O, null, J(e.items, (l) => (h(), p("li", {
|
212
|
+
(f(!0), p(K, null, O(e.items, (l) => (f(), p("li", {
|
218
213
|
key: l.key,
|
219
214
|
role: "presentation"
|
220
215
|
}, [
|
221
|
-
|
216
|
+
J(me, {
|
222
217
|
id: `${g}_tab_${l.key}`,
|
223
218
|
"aria-selected": i.value === l.key,
|
224
219
|
class: T(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
|
225
220
|
disabled: l.disabled || e.disabled,
|
226
221
|
role: "tab",
|
227
222
|
tabindex: i.value === l.key ? 0 : -1,
|
228
|
-
onClick: (
|
229
|
-
onKeydown:
|
223
|
+
onClick: (r) => y(l.key, t.replace),
|
224
|
+
onKeydown: Y
|
230
225
|
}, {
|
231
226
|
default: I(() => [
|
232
227
|
k(e.$slots, `label-${l.key}`, {
|
@@ -251,7 +246,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
251
246
|
text: l.label,
|
252
247
|
value: l.key
|
253
248
|
}, () => [
|
254
|
-
|
249
|
+
h("span", ge, re(l.label), 1)
|
255
250
|
])
|
256
251
|
])
|
257
252
|
]),
|
@@ -259,20 +254,20 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
259
254
|
}, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
|
260
255
|
]))), 128))
|
261
256
|
], 4),
|
262
|
-
|
257
|
+
h("span", null, [
|
263
258
|
k(e.$slots, "header:append", U(W(B.value)))
|
264
259
|
])
|
265
260
|
]),
|
266
|
-
|
267
|
-
|
261
|
+
h("div", _e, [
|
262
|
+
J(ve, null, {
|
268
263
|
default: I(() => [
|
269
|
-
(
|
264
|
+
(f(!0), p(K, null, O(e.items, (l) => (f(), ne(oe, {
|
270
265
|
key: l.key,
|
271
266
|
css: e.animate,
|
272
267
|
name: `tab-slide-${P.value}`
|
273
268
|
}, {
|
274
269
|
default: I(() => [
|
275
|
-
i.value === l.key || e.eager || l.eager ? (
|
270
|
+
i.value === l.key || e.eager || l.eager ? (f(), p("section", {
|
276
271
|
key: 0,
|
277
272
|
id: `${g}_tabpanel_${l.key}`,
|
278
273
|
"aria-labelledby": `${g}_tab_${l.key}`,
|