bitboss-ui 2.1.75 → 2.1.76

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 (182) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index107.js +9 -9
  3. package/dist/index112.js +1 -1
  4. package/dist/index114.js +1 -1
  5. package/dist/index120.js +137 -136
  6. package/dist/index122.js +13 -13
  7. package/dist/index13.js +2 -2
  8. package/dist/index130.js +1 -1
  9. package/dist/index132.js +5 -5
  10. package/dist/index134.js +1 -1
  11. package/dist/index136.js +2 -2
  12. package/dist/index139.js +1 -1
  13. package/dist/index142.js +1 -1
  14. package/dist/index143.js +2 -2
  15. package/dist/index15.js +5 -5
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +8 -8
  18. package/dist/index21.js +14 -14
  19. package/dist/index215.js +2 -2
  20. package/dist/index216.js +2 -2
  21. package/dist/index217.js +7 -5
  22. package/dist/index218.js +2 -8
  23. package/dist/index219.js +4 -3
  24. package/dist/index220.js +8 -13
  25. package/dist/index221.js +5 -20
  26. package/dist/index222.js +2 -201
  27. package/dist/index223.js +4 -0
  28. package/dist/index224.js +2 -127
  29. package/dist/index225.js +15 -0
  30. package/dist/index226.js +9 -86
  31. package/dist/index227.js +5 -0
  32. package/dist/index228.js +3 -29
  33. package/dist/index229.js +2 -17
  34. package/dist/index23.js +11 -11
  35. package/dist/index230.js +16 -49
  36. package/dist/index231.js +11 -14
  37. package/dist/index232.js +51 -3
  38. package/dist/index233.js +14 -11
  39. package/dist/index234.js +11 -15
  40. package/dist/index235.js +16 -12
  41. package/dist/index236.js +27 -11
  42. package/dist/index237.js +15 -32
  43. package/dist/index238.js +4 -28
  44. package/dist/{index268.js → index239.js} +2 -2
  45. package/dist/index241.js +100 -11
  46. package/dist/index243.js +127 -9
  47. package/dist/index245.js +229 -2
  48. package/dist/index246.js +13 -2
  49. package/dist/index247.js +3 -9
  50. package/dist/index248.js +5 -34
  51. package/dist/index249.js +5 -2
  52. package/dist/index25.js +3 -3
  53. package/dist/index250.js +5 -3
  54. package/dist/index251.js +5 -188
  55. package/dist/index252.js +5 -4
  56. package/dist/index253.js +5 -9
  57. package/dist/index254.js +18 -39
  58. package/dist/index255.js +33 -5
  59. package/dist/index256.js +28 -5
  60. package/dist/index258.js +34 -5
  61. package/dist/index259.js +2 -2
  62. package/dist/index260.js +7 -6
  63. package/dist/index261.js +7 -268
  64. package/dist/index262.js +10 -52
  65. package/dist/index263.js +3 -52
  66. package/dist/index264.js +4 -32
  67. package/dist/index265.js +3 -60
  68. package/dist/index266.js +3 -3
  69. package/dist/index267.js +198 -20
  70. package/dist/index269.js +88 -0
  71. package/dist/index27.js +1 -1
  72. package/dist/index271.js +7 -0
  73. package/dist/index272.js +6 -3
  74. package/dist/index273.js +8 -3
  75. package/dist/index274.js +267 -8
  76. package/dist/index275.js +52 -23
  77. package/dist/index276.js +52 -5
  78. package/dist/index277.js +32 -5
  79. package/dist/index278.js +60 -5
  80. package/dist/index279.js +9 -5
  81. package/dist/index280.js +22 -17
  82. package/dist/index281.js +9 -12
  83. package/dist/index282.js +7 -228
  84. package/dist/index283.js +9 -8
  85. package/dist/index284.js +23 -2
  86. package/dist/index285.js +12 -6
  87. package/dist/index286.js +187 -6
  88. package/dist/index287.js +67 -10
  89. package/dist/index288.js +6 -3
  90. package/dist/index289.js +15 -66
  91. package/dist/index29.js +3 -3
  92. package/dist/index290.js +40 -6
  93. package/dist/index291.js +11 -6
  94. package/dist/index292.js +3 -16
  95. package/dist/index294.js +1 -1
  96. package/dist/index295.js +5 -3
  97. package/dist/index296.js +7 -3
  98. package/dist/index297.js +3 -7
  99. package/dist/index298.js +1 -1
  100. package/dist/index299.js +3 -17
  101. package/dist/index300.js +2 -28
  102. package/dist/index301.js +28 -5
  103. package/dist/index302.js +17 -2
  104. package/dist/index306.js +121 -12
  105. package/dist/index307.js +2 -2
  106. package/dist/index308.js +10 -11
  107. package/dist/index31.js +2 -2
  108. package/dist/index310.js +12 -23
  109. package/dist/index312.js +16 -2
  110. package/dist/index313.js +2 -2
  111. package/dist/index314.js +19 -2
  112. package/dist/index315.js +2 -2
  113. package/dist/index316.js +1 -1
  114. package/dist/index317.js +3 -5
  115. package/dist/index318.js +5 -3
  116. package/dist/index319.js +1 -1
  117. package/dist/index320.js +2 -125
  118. package/dist/index321.js +27 -2
  119. package/dist/index322.js +2 -15
  120. package/dist/index323.js +2 -2
  121. package/dist/index324.js +2 -19
  122. package/dist/index325.js +2 -2
  123. package/dist/index326.js +2 -4
  124. package/dist/index327.js +1 -1
  125. package/dist/index328.js +6 -2
  126. package/dist/index329.js +3 -5
  127. package/dist/index33.js +8 -8
  128. package/dist/index330.js +719 -8
  129. package/dist/index331.js +366 -6
  130. package/dist/index332.js +57 -8
  131. package/dist/index333.js +58 -35
  132. package/dist/index334.js +58 -6
  133. package/dist/index335.js +44 -126
  134. package/dist/index336.js +30 -393
  135. package/dist/index337.js +6 -58
  136. package/dist/index338.js +128 -57
  137. package/dist/index339.js +390 -220
  138. package/dist/index340.js +7 -6
  139. package/dist/index341.js +5 -18
  140. package/dist/index342.js +8 -9
  141. package/dist/index343.js +90 -12
  142. package/dist/index344.js +228 -5
  143. package/dist/index345.js +519 -6
  144. package/dist/index346.js +130 -89
  145. package/dist/index347.js +5 -719
  146. package/dist/index348.js +7 -366
  147. package/dist/index349.js +17 -55
  148. package/dist/index35.js +4 -4
  149. package/dist/index350.js +7 -132
  150. package/dist/index351.js +14 -21
  151. package/dist/index352.js +9 -0
  152. package/dist/index353.js +47 -44
  153. package/dist/index354.js +20 -518
  154. package/dist/index356.js +427 -114
  155. package/dist/index357.js +126 -48
  156. package/dist/index37.js +18 -18
  157. package/dist/index39.js +7 -7
  158. package/dist/index41.js +2 -2
  159. package/dist/index43.js +8 -8
  160. package/dist/index45.js +6 -6
  161. package/dist/index49.js +1 -1
  162. package/dist/index53.js +1 -1
  163. package/dist/index55.js +1 -1
  164. package/dist/index57.js +2 -2
  165. package/dist/index61.js +4 -4
  166. package/dist/index67.js +1 -1
  167. package/dist/index80.js +6 -6
  168. package/dist/index82.js +1 -1
  169. package/dist/index84.js +2 -2
  170. package/dist/index86.js +3 -3
  171. package/dist/index88.js +1 -1
  172. package/dist/index91.js +3 -3
  173. package/dist/index93.js +2 -2
  174. package/dist/index95.js +5 -5
  175. package/dist/index97.js +1 -1
  176. package/package.json +1 -1
  177. package/dist/index240.js +0 -4
  178. package/dist/index242.js +0 -10
  179. package/dist/index244.js +0 -5
  180. package/dist/index257.js +0 -7
  181. package/dist/index270.js +0 -102
  182. package/dist/index355.js +0 -443
package/dist/index120.js CHANGED
@@ -1,15 +1,15 @@
1
- import { defineComponent as M, ref as n, computed as g, watch as b, nextTick as j, onMounted as G, createElementBlock as m, openBlock as d, normalizeClass as q, unref as Q, createElementVNode as f, renderSlot as y, normalizeProps as F, guardReactiveProps as z, normalizeStyle as Z, Fragment as N, renderList as A, createVNode as ee, withCtx as S, toDisplayString as te, createBlock as H, resolveDynamicComponent as le, Transition as ae, createCommentVNode as ie } from "vue";
2
- import { useId as se } from "./index8.js";
1
+ import { defineComponent as j, ref as n, computed as _, watch as b, nextTick as G, onMounted as Q, createElementBlock as y, openBlock as c, normalizeClass as $, unref as Z, createElementVNode as h, renderSlot as v, normalizeProps as E, guardReactiveProps as W, normalizeStyle as ee, Fragment as F, renderList as z, createVNode as te, withCtx as q, toDisplayString as le, createBlock as N, resolveDynamicComponent as ae, Transition as ie, createCommentVNode as se } from "vue";
2
+ import { useId as oe } from "./index8.js";
3
3
  import { useRoute as ne } from "./index146.js";
4
4
  import { useRouter as re } from "./index147.js";
5
- import { wait as oe } from "./index140.js";
6
- import { useScroll as ue, useResizeObserver as de } from "./index141.js";
7
- import ce from "./index13.js";
5
+ import { wait as ue } from "./index140.js";
6
+ import { useScroll as de, useResizeObserver as ce } from "./index141.js";
7
+ import fe from "./index13.js";
8
8
  /* empty css */
9
9
  import be from "./index112.js";
10
10
  /* empty css */
11
- import { useFrameworkDetection as fe } from "./index247.js";
12
- const he = ["id"], me = { class: "bb-tab__label-boundary" }, ye = { class: "bb-tab__label" }, ve = { class: "bb-tab__panes-container" }, pe = ["id", "aria-labelledby"], Be = /* @__PURE__ */ M({
11
+ import { useFrameworkDetection as he } from "./index226.js";
12
+ const me = ["id"], ye = { class: "bb-tab__label-boundary" }, ve = { class: "bb-tab__label" }, pe = { class: "bb-tab__panes-container" }, ke = ["id", "aria-labelledby"], Re = /* @__PURE__ */ j({
13
13
  __name: "BbTab",
14
14
  props: {
15
15
  disabled: { type: Boolean },
@@ -25,224 +25,225 @@ const he = ["id"], me = { class: "bb-tab__label-boundary" }, ye = { class: "bb-t
25
25
  replace: { type: Boolean }
26
26
  },
27
27
  emits: ["update:modelValue"],
28
- setup(U, { expose: W, emit: K }) {
29
- const t = U, O = K, u = ne(), X = re(), _ = n(), x = t.id ?? se().id.value, v = `bb-tab_${x}`, c = n(), { isScrolling: Y, arrivedState: T } = ue(c), I = g(() => ({
28
+ setup(A, { expose: H, emit: U }) {
29
+ const t = A, K = U, d = ne(), O = re(), X = n(), S = t.id ?? oe().id.value, p = `bb-tab_${S}`, o = n(), { isScrolling: Y, arrivedState: T } = de(o), x = _(() => ({
30
30
  isScrolling: Y.value,
31
31
  left: T.left,
32
32
  right: T.right
33
- })), { isInertia: L } = fe(), a = n(null), r = g(
34
- () => t.items.findIndex((e) => e.key === a.value)
35
- ), p = g(() => r.value === 0), k = g(() => r.value === t.items.length - 1);
33
+ })), { isInertia: L } = he(), i = n(null), r = _(
34
+ () => t.items.findIndex((e) => e.key === i.value)
35
+ ), k = _(() => r.value === 0), g = _(() => r.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 B = () => {
41
- if (t.navigation && u.value?.query?.[t.querykey])
42
- a.value = u.value?.query?.[t.querykey];
40
+ const I = () => {
41
+ if (t.navigation && d.value?.query?.[t.querykey])
42
+ i.value = d.value?.query?.[t.querykey];
43
43
  else if (t.navigation && L && globalThis?.location?.href && new URL(globalThis.location.href).searchParams.get(t.querykey))
44
- a.value = new URL(globalThis.location.href).searchParams.get(
44
+ i.value = new URL(globalThis.location.href).searchParams.get(
45
45
  t.querykey
46
46
  );
47
47
  else if (t.modelValue)
48
- a.value = t.modelValue;
48
+ i.value = t.modelValue;
49
49
  else if (t.items[0]) {
50
50
  const e = t.items.find((l) => !l.disabled);
51
51
  if (!e)
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."
54
54
  );
55
- const i = e.key;
56
- a.value = i;
55
+ const a = e.key;
56
+ i.value = a;
57
57
  }
58
58
  };
59
- B();
60
- const h = async (e, i = !1) => {
61
- if (t.navigation && u.value && u.value?.query?.[t.querykey] !== e)
62
- X?.push({
63
- ...u,
64
- query: { ...u.value?.query, [t.querykey]: e },
65
- replace: i
59
+ I();
60
+ const m = async (e, a = !1) => {
61
+ if (t.navigation && d.value && d.value?.query?.[t.querykey] !== e)
62
+ O?.push({
63
+ ...d,
64
+ query: { ...d.value?.query, [t.querykey]: e },
65
+ replace: a
66
66
  });
67
67
  else if (t.navigation && L && globalThis?.location?.href && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
68
68
  const l = new URL(globalThis.location.href);
69
- l.searchParams.set(t.querykey, e), oe(0).then(() => {
70
- i ? history.replaceState({}, "", l.toString()) : history.pushState({}, "", l.toString());
69
+ l.searchParams.set(t.querykey, e), ue(0).then(() => {
70
+ a ? history.replaceState({}, "", l.toString()) : history.pushState({}, "", l.toString());
71
71
  });
72
72
  }
73
- t.modelValue !== e && O("update:modelValue", e), a.value = e;
73
+ t.modelValue !== e && K("update:modelValue", e), i.value = e;
74
74
  };
75
- a.value && h(a.value, !0);
76
- const o = (e) => {
77
- var i = null;
75
+ i.value && m(i.value, !0);
76
+ const u = (e) => {
77
+ var a = null;
78
78
  switch (e) {
79
79
  case "first":
80
- for (i = 0; i < t.items.length - 1 && t.items[i].disabled; )
81
- i++;
80
+ for (a = 0; a < t.items.length - 1 && t.items[a].disabled; )
81
+ a++;
82
82
  break;
83
83
  case "previous": {
84
84
  let s = 1;
85
- for (; s < t.items.length && (i = (r.value + t.items.length - s) % t.items.length, t.items[i].disabled); )
85
+ for (; s < t.items.length && (a = (r.value + t.items.length - s) % t.items.length, t.items[a].disabled); )
86
86
  s++;
87
87
  break;
88
88
  }
89
89
  case "next": {
90
90
  let s = 1;
91
- for (; s < t.items.length && (i = (r.value + s) % t.items.length, t.items[i].disabled); )
91
+ for (; s < t.items.length && (a = (r.value + s) % t.items.length, t.items[a].disabled); )
92
92
  s++;
93
93
  break;
94
94
  }
95
95
  case "last":
96
- for (i = t.items.length - 1; i >= 0 && t.items[i].disabled; )
97
- i--;
96
+ for (a = t.items.length - 1; a >= 0 && t.items[a].disabled; )
97
+ a--;
98
98
  break;
99
99
  }
100
- if (i === null)
100
+ if (a === null)
101
101
  throw new Error("Could not navigate to next tab");
102
- if (t.items[i].disabled) return;
103
- const l = t.items[i].key;
102
+ if (t.items[a].disabled) return;
103
+ const l = t.items[a].key;
104
104
  document.querySelector(
105
- `#${v}_tab_${l}`
106
- )?.focus(), h(l, t.replace);
105
+ `#${p}_tab_${l}`
106
+ )?.focus(), m(l, t.replace);
107
107
  }, J = (e) => {
108
108
  if (!t.disabled)
109
109
  if (e.key === "ArrowRight")
110
- o("next");
110
+ u("next");
111
111
  else if (e.key === "ArrowLeft")
112
- o("previous");
112
+ u("previous");
113
113
  else if (e.key === "Home")
114
- e.preventDefault(), o("first");
114
+ e.preventDefault(), u("first");
115
115
  else if (e.key === "End")
116
- e.preventDefault(), o("last");
116
+ e.preventDefault(), u("last");
117
117
  else
118
118
  return;
119
119
  };
120
120
  b(
121
121
  () => t.modelValue,
122
122
  (e) => {
123
- e && h(e, t.replace);
123
+ e && m(e, t.replace);
124
124
  }
125
125
  ), b(
126
- () => u.value?.query?.[t.querykey],
126
+ () => d.value?.query?.[t.querykey],
127
127
  (e) => {
128
- e && typeof e == "string" && h(e, t.replace);
128
+ e && typeof e == "string" && m(e, t.replace);
129
129
  }
130
130
  ), b(
131
- a,
131
+ i,
132
132
  async () => {
133
- if (_.value) {
134
- const e = _.value.querySelector(
135
- "[role=tablist] .bb-tab__btn--active"
136
- );
137
- e && (await j(), e.scrollIntoView({
138
- behavior: "smooth",
139
- block: "nearest",
140
- inline: "nearest"
141
- }));
142
- }
133
+ if (!o.value) return;
134
+ const e = o.value.querySelector(
135
+ ".bb-tab__btn--active"
136
+ );
137
+ if (!e) return;
138
+ await G();
139
+ const a = o.value, l = e.offsetLeft, f = l + e.offsetWidth, s = a.scrollLeft, M = s + a.clientWidth;
140
+ l < s ? a.scrollTo({ left: l, behavior: "smooth" }) : f > M && a.scrollTo({
141
+ left: f - a.clientWidth,
142
+ behavior: "smooth"
143
+ });
143
144
  },
144
145
  { flush: "post" }
145
146
  );
146
- const V = n("right");
147
+ const B = n("right");
147
148
  b(
148
- a,
149
- (e, i) => {
150
- if (e && i) {
151
- const l = t.items.findIndex((s) => s.key === e), $ = t.items.findIndex((s) => s.key === i);
152
- V.value = l > $ ? "right" : "left";
149
+ i,
150
+ (e, a) => {
151
+ if (e && a) {
152
+ const l = t.items.findIndex((s) => s.key === e), f = t.items.findIndex((s) => s.key === a);
153
+ B.value = l > f ? "right" : "left";
153
154
  }
154
155
  },
155
156
  { flush: "sync" }
156
157
  );
157
- const C = n(0), R = n(0), P = n(0), D = n(0), E = n(0), w = () => {
158
- if (!c.value)
158
+ const R = n(0), V = n(0), C = n(0), P = n(0), D = n(0), w = () => {
159
+ if (!o.value)
159
160
  return;
160
- const e = c.value.querySelector(
161
+ const e = o.value.querySelector(
161
162
  ".bb-tab__btn--active"
162
163
  );
163
- e && (P.value = e.offsetLeft, D.value = e.offsetTop, C.value = e.clientWidth, R.value = e.clientHeight, E.value = c.value.scrollWidth);
164
+ e && (C.value = e.offsetLeft, P.value = e.offsetTop, R.value = e.clientWidth, V.value = e.clientHeight, D.value = o.value.scrollWidth);
164
165
  };
165
- return G(w), b(a, w, { flush: "post" }), de(c, () => {
166
+ return Q(w), b(i, w, { flush: "post" }), ce(o, () => {
166
167
  w();
167
168
  }), b(
168
169
  () => t.items,
169
170
  () => {
170
- a.value && !t.items.find((e) => e.key === a.value) && B();
171
+ i.value && !t.items.find((e) => e.key === i.value) && I();
171
172
  },
172
173
  {
173
174
  immediate: !0,
174
175
  deep: !0
175
176
  }
176
- ), W({
177
- isFirst: p,
178
- isLast: k,
179
- current: a,
177
+ ), H({
178
+ isFirst: k,
179
+ isLast: g,
180
+ current: i,
180
181
  currentIndex: r,
181
- goTo: o
182
- }), (e, i) => (d(), m("div", {
183
- id: Q(x),
182
+ goTo: u
183
+ }), (e, a) => (c(), y("div", {
184
+ id: Z(S),
184
185
  ref_key: "tabs",
185
- ref: _,
186
- class: q(["bb-tab", {
186
+ ref: X,
187
+ class: $(["bb-tab", {
187
188
  [`bb-tab--${e.direction}`]: !0,
188
189
  "bb-tab--disabled": e.disabled
189
190
  }])
190
191
  }, [
191
- f("div", me, [
192
- f("span", null, [
193
- y(e.$slots, "header:prepend", F(z(I.value)))
192
+ h("div", ye, [
193
+ h("span", null, [
194
+ v(e.$slots, "header:prepend", E(W(x.value)))
194
195
  ]),
195
- f("ul", {
196
+ h("ul", {
196
197
  ref_key: "tablist",
197
- ref: c,
198
+ ref: o,
198
199
  class: "bb-tab__label-container",
199
200
  role: "tablist",
200
- style: Z({
201
- "--inner-width": `${E.value}px`,
202
- "--width": `${C.value}px`,
203
- "--height": `${R.value}px`,
204
- "--left": `${P.value}px`,
205
- "--top": `${D.value}px`
201
+ style: ee({
202
+ "--inner-width": `${D.value}px`,
203
+ "--width": `${R.value}px`,
204
+ "--height": `${V.value}px`,
205
+ "--left": `${C.value}px`,
206
+ "--top": `${P.value}px`
206
207
  })
207
208
  }, [
208
- (d(!0), m(N, null, A(e.items, (l) => (d(), m("li", {
209
+ (c(!0), y(F, null, z(e.items, (l) => (c(), y("li", {
209
210
  key: l.key,
210
211
  role: "presentation"
211
212
  }, [
212
- ee(ce, {
213
- id: `${v}_tab_${l.key}`,
214
- "aria-selected": a.value === l.key,
215
- class: q(["bb-tab__btn", { "bb-tab__btn--active": a.value === l.key }]),
213
+ te(fe, {
214
+ id: `${p}_tab_${l.key}`,
215
+ "aria-selected": i.value === l.key,
216
+ class: $(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
216
217
  disabled: l.disabled || e.disabled,
217
218
  role: "tab",
218
- tabindex: a.value === l.key ? 0 : -1,
219
- onClick: ($) => h(l.key, t.replace),
219
+ tabindex: i.value === l.key ? 0 : -1,
220
+ onClick: (f) => m(l.key, t.replace),
220
221
  onKeydown: J
221
222
  }, {
222
- default: S(() => [
223
- y(e.$slots, `label-${l.key}`, {
224
- current: a.value,
223
+ default: q(() => [
224
+ v(e.$slots, `label-${l.key}`, {
225
+ current: i.value,
225
226
  currentIndex: r.value,
226
227
  disabled: !!(l.disabled || e.disabled),
227
- goTo: o,
228
- isFirst: p.value,
229
- isLast: k.value,
230
- selected: a.value === l.key,
228
+ goTo: u,
229
+ isFirst: k.value,
230
+ isLast: g.value,
231
+ selected: i.value === l.key,
231
232
  text: l.label,
232
233
  value: l.key
233
234
  }, () => [
234
- y(e.$slots, "label", {
235
- current: a.value,
235
+ v(e.$slots, "label", {
236
+ current: i.value,
236
237
  currentIndex: r.value,
237
238
  disabled: !!(l.disabled || e.disabled),
238
- goTo: o,
239
- isFirst: p.value,
240
- isLast: k.value,
241
- selected: a.value === l.key,
239
+ goTo: u,
240
+ isFirst: k.value,
241
+ isLast: g.value,
242
+ selected: i.value === l.key,
242
243
  text: l.label,
243
244
  value: l.key
244
245
  }, () => [
245
- f("span", ye, te(l.label), 1)
246
+ h("span", ve, le(l.label), 1)
246
247
  ])
247
248
  ])
248
249
  ]),
@@ -250,41 +251,41 @@ const he = ["id"], me = { class: "bb-tab__label-boundary" }, ye = { class: "bb-t
250
251
  }, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
251
252
  ]))), 128))
252
253
  ], 4),
253
- f("span", null, [
254
- y(e.$slots, "header:append", F(z(I.value)))
254
+ h("span", null, [
255
+ v(e.$slots, "header:append", E(W(x.value)))
255
256
  ])
256
257
  ]),
257
- f("div", ve, [
258
- (d(), H(le(t.animateY ? be : "div"), null, {
259
- default: S(() => [
260
- (d(!0), m(N, null, A(e.items, (l) => (d(), H(ae, {
258
+ h("div", pe, [
259
+ (c(), N(ae(t.animateY ? be : "div"), null, {
260
+ default: q(() => [
261
+ (c(!0), y(F, null, z(e.items, (l) => (c(), N(ie, {
261
262
  key: l.key,
262
263
  css: t.animateX,
263
- name: `tab-slide-${V.value}`
264
+ name: `tab-slide-${B.value}`
264
265
  }, {
265
- default: S(() => [
266
- a.value === l.key || e.eager || l.eager ? (d(), m("section", {
266
+ default: q(() => [
267
+ i.value === l.key || e.eager || l.eager ? (c(), y("section", {
267
268
  key: 0,
268
- id: `${v}_tabpanel_${l.key}`,
269
- "aria-labelledby": `${v}_tab_${l.key}`,
270
- class: q(["bb-tab__pane", {
271
- "bb-tab__pane--shown": a.value === l.key
269
+ id: `${p}_tabpanel_${l.key}`,
270
+ "aria-labelledby": `${p}_tab_${l.key}`,
271
+ class: $(["bb-tab__pane", {
272
+ "bb-tab__pane--shown": i.value === l.key
272
273
  }]),
273
274
  role: "tabpanel",
274
275
  tabindex: "0"
275
276
  }, [
276
- y(e.$slots, l.key, {
277
- current: a.value,
277
+ v(e.$slots, l.key, {
278
+ current: i.value,
278
279
  currentIndex: r.value,
279
280
  disabled: !!(l.disabled || e.disabled),
280
- goTo: o,
281
- isFirst: p.value,
282
- isLast: k.value,
283
- selected: a.value === l.key,
281
+ goTo: u,
282
+ isFirst: k.value,
283
+ isLast: g.value,
284
+ selected: i.value === l.key,
284
285
  text: l.label,
285
286
  value: l.key
286
287
  })
287
- ], 10, pe)) : ie("", !0)
288
+ ], 10, ke)) : se("", !0)
288
289
  ]),
289
290
  _: 2
290
291
  }, 1032, ["css", "name"]))), 128))
@@ -292,9 +293,9 @@ const he = ["id"], me = { class: "bb-tab__label-boundary" }, ye = { class: "bb-t
292
293
  _: 3
293
294
  }))
294
295
  ])
295
- ], 10, he));
296
+ ], 10, me));
296
297
  }
297
298
  });
298
299
  export {
299
- Be as default
300
+ Re as default
300
301
  };
package/dist/index122.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as be, mergeModels as U, ref as ie, computed as c, toRef as D, useModel as re, watch as H, reactive as ce, createBlock as W, openBlock as t, resolveDynamicComponent as ue, normalizeClass as r, withCtx as pe, createElementBlock as s, createCommentVNode as m, createElementVNode as o, toDisplayString as u, renderSlot as p, unref as y, Fragment as h, renderList as g, normalizeStyle as $, createVNode as q, createTextVNode as me, mergeProps as ye } from "vue";
2
- import { clamp as _e } from "./index216.js";
3
- import { hash as L } from "./index232.js";
4
- import { isNil as V } from "./index249.js";
5
- import { when as ke } from "./index252.js";
2
+ import { clamp as _e } from "./index215.js";
3
+ import { hash as L } from "./index227.js";
4
+ import { isNil as V } from "./index218.js";
5
+ import { when as ke } from "./index238.js";
6
6
  import { useId as ve } from "./index8.js";
7
- import { useItemValue as fe } from "./index253.js";
8
- import { useItemsGetter as he } from "./index228.js";
9
- import { usePrefill as ge } from "./index234.js";
10
- import { useIndexById as Ce } from "./index229.js";
11
- import { useBaseOptions as we } from "./index230.js";
12
- import { useHashedWatcher as Ve } from "./index233.js";
13
- import { useLocale as Be } from "./index220.js";
7
+ import { useItemValue as fe } from "./index281.js";
8
+ import { useItemsGetter as he } from "./index236.js";
9
+ import { usePrefill as ge } from "./index237.js";
10
+ import { useIndexById as Ce } from "./index235.js";
11
+ import { useBaseOptions as we } from "./index232.js";
12
+ import { useHashedWatcher as Ve } from "./index234.js";
13
+ import { useLocale as Be } from "./index225.js";
14
14
  import G from "./index17.js";
15
15
  /* empty css */
16
16
  import Te from "./index31.js";
17
17
  /* empty css */
18
- import { columnKeyToSlotName as $e, mergeHeaderClasses as Ie, applyFixedTableColumns as Ae, mergeCellClasses as Ne } from "./index254.js";
19
- import { useLogger as De } from "./index242.js";
18
+ import { columnKeyToSlotName as $e, mergeHeaderClasses as Ie, applyFixedTableColumns as Ae, mergeCellClasses as Ne } from "./index290.js";
19
+ import { useLogger as De } from "./index273.js";
20
20
  const He = {
21
21
  key: 0,
22
22
  class: "sr-only"
package/dist/index13.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
2
- import R from "./index248.js";
3
- import { useFrameworkDetection as _ } from "./index247.js";
2
+ import R from "./index258.js";
3
+ import { useFrameworkDetection as _ } from "./index226.js";
4
4
  import { _config as g } from "./index4.js";
5
5
  const D = /* @__PURE__ */ w({
6
6
  __name: "BaseButton",
package/dist/index130.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
2
2
  import { useToast as d, state as k } from "./index11.js";
3
- import b from "./index289.js";
3
+ import b from "./index287.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index132.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
2
2
  import { useId as K } from "./index8.js";
3
- import { useLocale as Q } from "./index220.js";
4
- import { useUntil as X } from "./index236.js";
3
+ import { useLocale as Q } from "./index225.js";
4
+ import { useUntil as X } from "./index246.js";
5
5
  import Y from "./index13.js";
6
6
  /* empty css */
7
- import Z from "./index224.js";
7
+ import Z from "./index243.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index141.js";
10
- import { extractDomContainer as V } from "./index266.js";
11
- import { parseWidthString as te } from "./index267.js";
10
+ import { extractDomContainer as V } from "./index264.js";
11
+ import { parseWidthString as te } from "./index280.js";
12
12
  const ce = /* @__PURE__ */ R({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbTooltip",
package/dist/index134.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock 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 "./index276.js";
2
+ import { flattenTree as T } from "./index221.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/index136.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index86.js";
5
5
  /* empty css */
6
6
  import I from "./index114.js";
7
7
  /* empty css */
8
- import N from "./index237.js";
9
- import g from "./index238.js";
8
+ import N from "./index255.js";
9
+ import g from "./index256.js";
10
10
  /* empty css */
11
11
  const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index216.js";
1
+ import { clamp as s } from "./index215.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
package/dist/index142.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index215.js";
1
+ import { urlAlphabet as l } from "./index216.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index143.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index217.js";
2
- import { isPlainObject as i } from "./index218.js";
1
+ import { isArray as p } from "./index219.js";
2
+ import { isPlainObject as i } from "./index220.js";
3
3
  function f(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,15 +1,15 @@
1
1
  import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
- import { isHex as z } from "./index219.js";
2
+ import { isHex as z } from "./index266.js";
3
3
  import { isNotNil as F } from "./index144.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index220.js";
6
- import { vMaska as A } from "./index221.js";
7
- import K from "./index222.js";
5
+ import { useLocale as U } from "./index225.js";
6
+ import { vMaska as A } from "./index254.js";
7
+ import K from "./index267.js";
8
8
  /* empty css */
9
9
  import O from "./index136.js";
10
10
  /* empty css */
11
11
  import P from "./index138.js";
12
- import T from "./index224.js";
12
+ import T from "./index243.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, ie = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
2
- import { isCssColor as y } from "./index240.js";
3
- import { booleanishToBoolean as q } from "./index245.js";
4
- import { isEqual as A } from "./index273.js";
2
+ import { isCssColor as y } from "./index224.js";
3
+ import { booleanishToBoolean as q } from "./index222.js";
4
+ import { isEqual as A } from "./index292.js";
5
5
  const N = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
2
2
  import N from "./index17.js";
3
3
  /* empty css */
4
- import U from "./index226.js";
4
+ import U from "./index269.js";
5
5
  /* empty css */
6
- import { useItemsGetter as q } from "./index228.js";
7
- import { useIndexById as C } from "./index229.js";
8
- import { useBaseOptions as J } from "./index230.js";
9
- import { useCoherence as Q } from "./index231.js";
10
- import { hash as X } from "./index232.js";
11
- import { useHashedWatcher as $ } from "./index233.js";
12
- import { usePrefill as Y } from "./index234.js";
6
+ import { useItemsGetter as q } from "./index236.js";
7
+ import { useIndexById as C } from "./index235.js";
8
+ import { useBaseOptions as J } from "./index232.js";
9
+ import { useCoherence as Q } from "./index233.js";
10
+ import { hash as X } from "./index227.js";
11
+ import { useHashedWatcher as $ } from "./index234.js";
12
+ import { usePrefill as Y } from "./index237.js";
13
13
  const ce = /* @__PURE__ */ z({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {