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.
Files changed (144) hide show
  1. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +2 -0
  2. package/dist/index108.js +146 -149
  3. package/dist/index110.js +4 -4
  4. package/dist/index118.js +1 -1
  5. package/dist/index120.js +5 -5
  6. package/dist/index122.js +1 -1
  7. package/dist/index126.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index128.js +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index130.js +1 -1
  12. package/dist/index132.js +2 -2
  13. package/dist/index133.js +2 -2
  14. package/dist/index15.js +4 -4
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +2 -2
  17. package/dist/index204.js +2 -116
  18. package/dist/index205.js +53 -2
  19. package/dist/index207.js +13 -84
  20. package/dist/index208.js +22 -0
  21. package/dist/index209.js +4 -2
  22. package/dist/index21.js +14 -14
  23. package/dist/index210.js +2 -4
  24. package/dist/index211.js +4 -2
  25. package/dist/index212.js +2 -126
  26. package/dist/index213.js +8 -5
  27. package/dist/index214.js +115 -124
  28. package/dist/index215.js +3 -19
  29. package/dist/index216.js +40 -15
  30. package/dist/index217.js +6 -16
  31. package/dist/index218.js +7 -2
  32. package/dist/index219.js +3 -2
  33. package/dist/index220.js +156 -39
  34. package/dist/index221.js +83 -19
  35. package/dist/index223.js +5 -53
  36. package/dist/index224.js +18 -0
  37. package/dist/index225.js +16 -13
  38. package/dist/index226.js +19 -5
  39. package/dist/index227.js +17 -367
  40. package/dist/index228.js +27 -3
  41. package/dist/index229.js +3 -3
  42. package/dist/index23.js +15 -15
  43. package/dist/index230.js +2 -7
  44. package/dist/index231.js +247 -6
  45. package/dist/index232.js +52 -4
  46. package/dist/index233.js +44 -19
  47. package/dist/index234.js +5 -27
  48. package/dist/index235.js +49 -3
  49. package/dist/index236.js +122 -245
  50. package/dist/index237.js +124 -51
  51. package/dist/index238.js +2 -44
  52. package/dist/index239.js +4 -4
  53. package/dist/index240.js +369 -49
  54. package/dist/index241.js +2 -2
  55. package/dist/index242.js +2 -18
  56. package/dist/index243.js +17 -105
  57. package/dist/index244.js +108 -0
  58. package/dist/{index245.js → index246.js} +1 -1
  59. package/dist/index25.js +5 -5
  60. package/dist/index250.js +1 -1
  61. package/dist/index252.js +7 -23
  62. package/dist/index253.js +176 -6
  63. package/dist/index254.js +4 -16
  64. package/dist/index256.js +3 -4
  65. package/dist/index257.js +9 -3
  66. package/dist/index258.js +23 -12
  67. package/dist/index259.js +6 -9
  68. package/dist/index260.js +15 -8
  69. package/dist/index261.js +224 -17
  70. package/dist/index262.js +3 -281
  71. package/dist/index263.js +12 -6
  72. package/dist/index264.js +9 -2
  73. package/dist/index265.js +9 -2
  74. package/dist/index266.js +17 -2
  75. package/dist/index267.js +431 -2
  76. package/dist/index268.js +89 -2
  77. package/dist/index269.js +280 -125
  78. package/dist/index27.js +1 -1
  79. package/dist/index270.js +5 -430
  80. package/dist/index271.js +2 -176
  81. package/dist/index272.js +2 -3
  82. package/dist/index274.js +2 -7
  83. package/dist/index275.js +2 -22
  84. package/dist/index276.js +4 -0
  85. package/dist/index277.js +2 -224
  86. package/dist/index278.js +2 -200
  87. package/dist/index279.js +2 -436
  88. package/dist/index280.js +2 -127
  89. package/dist/index281.js +24 -85
  90. package/dist/index282.js +22 -2
  91. package/dist/index284.js +2 -2
  92. package/dist/index285.js +126 -2
  93. package/dist/index286.js +21 -1
  94. package/dist/index288.js +197 -25
  95. package/dist/index289.js +435 -21
  96. package/dist/index29.js +69 -64
  97. package/dist/index290.js +129 -0
  98. package/dist/index291.js +1 -1
  99. package/dist/index292.js +1 -1
  100. package/dist/index293.js +2 -2
  101. package/dist/index294.js +5 -66
  102. package/dist/index296.js +66 -5
  103. package/dist/index297.js +33 -4
  104. package/dist/index298.js +5 -4
  105. package/dist/index299.js +7 -58
  106. package/dist/index300.js +4 -79
  107. package/dist/index301.js +81 -0
  108. package/dist/index303.js +6 -7
  109. package/dist/index304.js +4 -33
  110. package/dist/index305.js +4 -4
  111. package/dist/index306.js +58 -6
  112. package/dist/index307.js +46 -6
  113. package/dist/index308.js +10 -18
  114. package/dist/index309.js +6 -10
  115. package/dist/index31.js +2 -2
  116. package/dist/index310.js +19 -2
  117. package/dist/index311.js +2 -47
  118. package/dist/{index312.js → index313.js} +1 -1
  119. package/dist/index33.js +2 -2
  120. package/dist/index35.js +3 -3
  121. package/dist/index37.js +13 -13
  122. package/dist/index39.js +4 -4
  123. package/dist/index41.js +2 -2
  124. package/dist/index43.js +2 -2
  125. package/dist/index45.js +6 -6
  126. package/dist/index47.js +2 -2
  127. package/dist/index49.js +2 -2
  128. package/dist/index55.js +1 -1
  129. package/dist/index57.js +1 -1
  130. package/dist/index75.js +3 -3
  131. package/dist/index79.js +2 -2
  132. package/dist/index81.js +1 -1
  133. package/dist/index82.js +15 -15
  134. package/dist/index84.js +2 -2
  135. package/dist/index88.js +3 -3
  136. package/dist/index90.js +1 -1
  137. package/package.json +1 -1
  138. package/dist/index206.js +0 -160
  139. package/dist/index222.js +0 -8
  140. package/dist/index247.js +0 -4
  141. package/dist/index251.js +0 -11
  142. package/dist/index287.js +0 -4
  143. package/dist/index302.js +0 -7
  144. /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 ae, ref as r, computed as $, getCurrentInstance as ie, watch as b, nextTick as se, onMounted as ne, openBlock as h, createElementBlock as p, Fragment as x, createTextVNode as re, toDisplayString as U, createElementVNode as d, unref as oe, normalizeClass as I, renderSlot as k, normalizeProps as K, guardReactiveProps as J, normalizeStyle as M, renderList as O, createVNode as j, withCtx as L, createBlock as ue, Transition as de, createCommentVNode as ce } from "vue";
2
- import { useId as be } from "./index8.js";
3
- import { useRoute as he } from "./index136.js";
4
- import { useRouter as fe } from "./index137.js";
5
- import { wait as ye } from "./index131.js";
6
- import { useScroll as me, useWindowSize as ve } from "./index132.js";
7
- import pe from "./index13.js";
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 ke from "./index127.js";
9
+ import pe from "./index127.js";
10
10
  /* empty css */
11
- import { throttledWatch as ge } from "./index204.js";
12
- const _e = ["id"], we = { class: "bb-tab__label-boundary" }, $e = { class: "bb-tab__label" }, Se = { class: "bb-tab__panes-container" }, qe = ["id", "aria-labelledby"], We = /* @__PURE__ */ ae({
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(G, { expose: Q, emit: X }) {
28
- var A, H;
29
- const t = G, Y = X, c = he(), S = fe(), q = r(), V = t.id ?? be().id.value, g = `bb-tab_${V}`, f = r(), { isScrolling: Z, arrivedState: B } = me(f), C = $(() => ({
30
- isScrolling: Z.value,
31
- left: B.left,
32
- right: B.right
33
- })), P = !!((H = (A = ie()) == null ? void 0 : A.proxy) != null && H.$inertia), i = r(null), o = $(
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 R = () => {
40
+ const P = () => {
41
41
  var e, a, l, n, s;
42
- if (t.navigation && ((a = (e = c.value) == null ? void 0 : e.query) != null && a[t.querykey]))
43
- i.value = (n = (l = c.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey];
44
- else if (t.navigation && P && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
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((le) => !le.disabled);
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
- R();
60
+ P();
61
61
  const y = async (e, a = !1) => {
62
62
  var l, n, s, m;
63
- if (t.navigation && c.value && ((n = (l = c.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
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
- ...c,
66
- query: { ...(s = c.value) == null ? void 0 : s.query, [t.querykey]: e },
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 && P && ((m = globalThis == null ? void 0 : globalThis.location) != null && m.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
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), ye(0).then(() => {
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 && Y("update:modelValue", e), i.value = 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
- }, ee = (e) => {
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 = c.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
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 se(), e.scrollIntoView({
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 E = r("right");
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
- E.value = l > n ? "right" : "left";
157
+ R.value = l > n ? "right" : "left";
158
158
  }
159
159
  },
160
160
  { flush: "sync" }
161
161
  );
162
- const N = r(0), W = r(0), z = r(0), D = r(0), F = r(0), T = () => {
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, N.value = e.clientWidth, W.value = e.clientHeight, F.value = f.value.scrollWidth);
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
- ne(T), b(i, T, { flush: "post" });
170
- const { width: te } = ve();
171
- return ge(te, T, { throttle: 100 }), b(
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) && R();
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
- ), Q({
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(x, null, [
187
- re(U(e.items) + " ", 1),
188
- d("div", {
189
- id: oe(V),
190
- ref_key: "tabs",
191
- ref: q,
192
- class: I(["bb-tab", {
193
- [`bb-tab--${e.direction}`]: !0,
194
- "bb-tab--disabled": !0
195
- }])
196
- }, [
197
- d("div", we, [
198
- d("span", null, [
199
- k(e.$slots, "header:prepend", K(J(C.value)))
200
- ]),
201
- d("ul", {
202
- ref_key: "tablist",
203
- ref: f,
204
- class: "bb-tab__label-container",
205
- role: "tablist",
206
- style: M({
207
- "--inner-width": `${F.value}px`
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
- d("span", {
211
- class: "bb-tab__highlight",
212
- style: M({
213
- "--width": `${N.value}px`,
214
- "--height": `${W.value}px`,
215
- "--left": `${z.value}px`,
216
- "--top": `${D.value}px`
217
- })
218
- }, null, 4),
219
- (h(!0), p(x, null, O(e.items, (l) => (h(), p("li", {
220
- key: l.key,
221
- role: "presentation"
222
- }, [
223
- j(pe, {
224
- id: `${g}_tab_${l.key}`,
225
- "aria-selected": i.value === l.key,
226
- class: I(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
227
- disabled: l.disabled || e.disabled,
228
- role: "tab",
229
- tabindex: i.value === l.key ? 0 : -1,
230
- onClick: (n) => y(l.key, t.replace),
231
- onKeydown: ee
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
- k(e.$slots, "label", {
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
- _: 2
261
- }, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
262
- ]))), 128))
263
- ], 4),
264
- d("span", null, [
265
- k(e.$slots, "header:append", K(J(C.value)))
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
- ], 10, _e)
307
- ], 64));
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 "./index205.js";
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 "./index260.js";
7
- import { when as ye } from "./index210.js";
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 "./index206.js";
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 "./index294.js";
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 "./index212.js";
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 "./index229.js";
8
- import { waitFor as Q } from "./index222.js";
9
- import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index227.js";
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("./index250.js")
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 "./index296.js";
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 "./index209.js";
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 "./index229.js";
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 "./index209.js";
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 "./index231.js";
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
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index205.js";
1
+ import { clamp as o } from "./index204.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
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 "./index204.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 "./index204.js";
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 "./index302.js";
2
- import { isPlainObject as c } from "./index303.js";
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 "./index223.js";
2
+ import z from "./index205.js";
3
3
  /* empty css */
4
- import I from "./index225.js";
5
- import { vMaska as M } from "./index221.js";
6
- import { isHex as D } from "./index232.js";
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 "./index209.js";
3
- import { when as F } from "./index210.js";
4
- import { booleanishToBoolean as N } from "./index211.js";
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 "./index206.js";
2
+ import { useOptions as z } from "./index220.js";
3
3
  import F from "./index17.js";
4
4
  /* empty css */
5
- import M from "./index207.js";
5
+ import M from "./index221.js";
6
6
  /* empty css */
7
7
  const G = /* @__PURE__ */ $({
8
8
  __name: "BaseCheckboxGroup",