bitboss-ui 2.0.31 → 2.0.33

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 (141) hide show
  1. package/dist/index104.js +65 -69
  2. package/dist/index106.js +5 -5
  3. package/dist/index114.js +1 -1
  4. package/dist/index116.js +5 -5
  5. package/dist/index118.js +1 -1
  6. package/dist/index122.js +1 -1
  7. package/dist/index123.js +1 -1
  8. package/dist/index124.js +1 -1
  9. package/dist/index126.js +1 -1
  10. package/dist/index128.js +81 -77
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +1 -1
  13. package/dist/index15.js +3 -3
  14. package/dist/index17.js +2 -2
  15. package/dist/index19.js +14 -14
  16. package/dist/index198.js +2 -81
  17. package/dist/index199.js +116 -2
  18. package/dist/index200.js +8 -2
  19. package/dist/index201.js +5 -4
  20. package/dist/index202.js +16 -2
  21. package/dist/index203.js +16 -8
  22. package/dist/index204.js +19 -3
  23. package/dist/index205.js +19 -3
  24. package/dist/index206.js +26 -34
  25. package/dist/index207.js +3 -6
  26. package/dist/index208.js +2 -7
  27. package/dist/index209.js +245 -277
  28. package/dist/index21.js +15 -15
  29. package/dist/index210.js +51 -15
  30. package/dist/index211.js +44 -16
  31. package/dist/index212.js +5 -19
  32. package/dist/index213.js +49 -19
  33. package/dist/index214.js +124 -25
  34. package/dist/index215.js +123 -3
  35. package/dist/index216.js +2 -2
  36. package/dist/index217.js +34 -248
  37. package/dist/index218.js +171 -49
  38. package/dist/index219.js +5 -43
  39. package/dist/index220.js +42 -4
  40. package/dist/index222.js +13 -126
  41. package/dist/index223.js +5 -123
  42. package/dist/index224.js +369 -2
  43. package/dist/index225.js +3 -174
  44. package/dist/index226.js +3 -43
  45. package/dist/index227.js +9 -0
  46. package/dist/index228.js +158 -13
  47. package/dist/index229.js +84 -5
  48. package/dist/index23.js +5 -5
  49. package/dist/index231.js +2 -158
  50. package/dist/index232.js +4 -84
  51. package/dist/index233.js +4 -0
  52. package/dist/index234.js +1 -1
  53. package/dist/index236.js +1 -1
  54. package/dist/index238.js +1 -1
  55. package/dist/index243.js +281 -3
  56. package/dist/index244.js +6 -9
  57. package/dist/index245.js +2 -23
  58. package/dist/index246.js +2 -6
  59. package/dist/index247.js +2 -16
  60. package/dist/index248.js +2 -9
  61. package/dist/index249.js +2 -4
  62. package/dist/index25.js +1 -1
  63. package/dist/index250.js +2 -224
  64. package/dist/index251.js +2 -431
  65. package/dist/index252.js +2 -89
  66. package/dist/index253.js +2 -2
  67. package/dist/index254.js +2 -9
  68. package/dist/index255.js +27 -5
  69. package/dist/index256.js +22 -2
  70. package/dist/index258.js +7 -2
  71. package/dist/index259.js +2 -2
  72. package/dist/index260.js +126 -2
  73. package/dist/index261.js +431 -2
  74. package/dist/index262.js +3 -2
  75. package/dist/index264.js +21 -1
  76. package/dist/index266.js +222 -26
  77. package/dist/index267.js +199 -21
  78. package/dist/index268.js +438 -0
  79. package/dist/index269.js +126 -6
  80. package/dist/index27.js +3 -3
  81. package/dist/index270.js +3 -200
  82. package/dist/index271.js +8 -65
  83. package/dist/index272.js +23 -5
  84. package/dist/index273.js +9 -2
  85. package/dist/index274.js +6 -126
  86. package/dist/index275.js +16 -3
  87. package/dist/index276.js +91 -0
  88. package/dist/index277.js +3 -22
  89. package/dist/index278.js +14 -0
  90. package/dist/index279.js +9 -3
  91. package/dist/index280.js +9 -12
  92. package/dist/index281.js +16 -8
  93. package/dist/index282.js +4 -17
  94. package/dist/index283.js +3 -436
  95. package/dist/index284.js +3 -127
  96. package/dist/index285.js +211 -3
  97. package/dist/index286.js +15 -3
  98. package/dist/index287.js +2 -211
  99. package/dist/index288.js +7 -79
  100. package/dist/index29.js +2 -2
  101. package/dist/index290.js +19 -4
  102. package/dist/index291.js +66 -4
  103. package/dist/index292.js +5 -59
  104. package/dist/index293.js +34 -14
  105. package/dist/index294.js +79 -2
  106. package/dist/index296.js +4 -19
  107. package/dist/index297.js +4 -11
  108. package/dist/index298.js +58 -6
  109. package/dist/index299.js +2 -2
  110. package/dist/index300.js +10 -34
  111. package/dist/index301.js +2 -480
  112. package/dist/index302.js +482 -0
  113. package/dist/index304.js +416 -42
  114. package/dist/index305.js +47 -2
  115. package/dist/index31.js +2 -2
  116. package/dist/index33.js +3 -3
  117. package/dist/index35.js +9 -9
  118. package/dist/index37.js +3 -3
  119. package/dist/index39.js +2 -2
  120. package/dist/index41.js +2 -2
  121. package/dist/index43.js +4 -4
  122. package/dist/index45.js +2 -2
  123. package/dist/index47.js +2 -2
  124. package/dist/index53.js +1 -1
  125. package/dist/index55.js +1 -1
  126. package/dist/index71.js +3 -3
  127. package/dist/index75.js +2 -2
  128. package/dist/index77.js +1 -1
  129. package/dist/index80.js +2 -2
  130. package/dist/index82.js +1 -1
  131. package/dist/index84.js +3 -3
  132. package/dist/index86.js +1 -1
  133. package/dist/style.css +1 -1
  134. package/package.json +1 -1
  135. package/dist/index221.js +0 -51
  136. package/dist/index230.js +0 -371
  137. package/dist/index263.js +0 -4
  138. package/dist/index265.js +0 -4
  139. package/dist/index303.js +0 -423
  140. /package/dist/{index295.js → index289.js} +0 -0
  141. /package/dist/{index257.js → index306.js} +0 -0
package/dist/index104.js CHANGED
@@ -1,15 +1,15 @@
1
- import { defineComponent as ae, ref as u, computed as _, getCurrentInstance as se, watch as h, nextTick as ie, onMounted as ne, onBeforeUnmount as re, openBlock as b, createElementBlock as y, unref as oe, normalizeClass as x, createElementVNode as c, renderSlot as m, normalizeProps as M, guardReactiveProps as O, normalizeStyle as ue, Fragment as j, renderList as G, createVNode as Q, withCtx as T, toDisplayString as de, createBlock as ce, Transition as be, createCommentVNode as fe } from "vue";
2
- import { useId as he } from "./index8.js";
3
- import { useRoute as ye } from "./index132.js";
4
- import { useRouter as me } from "./index133.js";
5
- import { wait as ve } from "./index127.js";
6
- import { useScroll as pe } from "./index128.js";
1
+ import { defineComponent as ae, ref as u, computed as _, getCurrentInstance as se, watch as h, nextTick as ie, onMounted as re, openBlock as b, createElementBlock as y, unref as ne, normalizeClass as T, createElementVNode as c, renderSlot as m, normalizeProps as J, guardReactiveProps as M, normalizeStyle as oe, Fragment as O, renderList as j, createVNode as G, withCtx as x, toDisplayString as ue, createBlock as de, Transition as ce, createCommentVNode as be } from "vue";
2
+ import { useId as fe } from "./index8.js";
3
+ import { useRoute as he } from "./index132.js";
4
+ import { useRouter as ye } from "./index133.js";
5
+ import { wait as me } from "./index127.js";
6
+ import { useScroll as ve, useWindowSize as pe } from "./index128.js";
7
7
  import ke from "./index13.js";
8
8
  /* empty css */
9
9
  import ge from "./index123.js";
10
10
  /* empty css */
11
- import { useDebounceFn as _e } from "./index198.js";
12
- const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-tab__label" }, Se = { class: "bb-tab__panes-container" }, xe = ["id", "aria-labelledby"], Fe = /* @__PURE__ */ ae({
11
+ import { throttledWatch as _e } from "./index199.js";
12
+ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-tab__label" }, qe = { class: "bb-tab__panes-container" }, Te = ["id", "aria-labelledby"], Fe = /* @__PURE__ */ ae({
13
13
  __name: "BbTab",
14
14
  props: {
15
15
  disabled: { type: Boolean },
@@ -24,21 +24,21 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
24
24
  replace: { type: Boolean }
25
25
  },
26
26
  emits: ["update:modelValue"],
27
- setup(X, { expose: Y, emit: Z }) {
28
- var F, N, U, A, H, K, W;
29
- const t = X, ee = Z, d = ye(), w = me(), $ = u(), L = t.id ?? he().id.value, v = `bb-tab_${L}`, p = u(), { isScrolling: te, arrivedState: I } = pe(p), B = _(() => ({
30
- isScrolling: te.value,
31
- left: I.left,
32
- right: I.right
33
- })), V = !!((N = (F = se()) == null ? void 0 : F.proxy) != null && N.$inertia), s = u(null), r = _(
27
+ setup(Q, { expose: X, emit: Y }) {
28
+ var D, F, N, A, H, U, W;
29
+ const t = Q, Z = Y, d = he(), w = ye(), $ = u(), I = t.id ?? fe().id.value, v = `bb-tab_${I}`, p = u(), { isScrolling: ee, arrivedState: L } = ve(p), V = _(() => ({
30
+ isScrolling: ee.value,
31
+ left: L.left,
32
+ right: L.right
33
+ })), B = !!((F = (D = se()) == null ? void 0 : D.proxy) != null && F.$inertia), s = u(null), n = _(
34
34
  () => t.items.findIndex((e) => e.key === s.value)
35
- ), k = _(() => r.value === 0), g = _(() => r.value === t.items.length - 1);
35
+ ), k = _(() => n.value === 0), g = _(() => n.value === t.items.length - 1);
36
36
  if (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
- }), t.navigation && ((A = (U = d.value) == null ? void 0 : U.query) != null && A[t.querykey]))
40
- s.value = (K = (H = d.value) == null ? void 0 : H.query) == null ? void 0 : K[t.querykey];
41
- else if (t.navigation && V && ((W = globalThis == null ? void 0 : globalThis.location) != null && W.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
39
+ }), t.navigation && ((A = (N = d.value) == null ? void 0 : N.query) != null && A[t.querykey]))
40
+ s.value = (U = (H = d.value) == null ? void 0 : H.query) == null ? void 0 : U[t.querykey];
41
+ else if (t.navigation && B && ((W = globalThis == null ? void 0 : globalThis.location) != null && W.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
42
42
  s.value = new URL(globalThis.location.href).searchParams.get(
43
43
  t.querykey
44
44
  );
@@ -54,20 +54,20 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
54
54
  s.value = a;
55
55
  }
56
56
  const f = async (e, a = !1) => {
57
- var l, n, i, J;
58
- if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
57
+ var l, r, i, K;
58
+ if (t.navigation && d.value && ((r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey]) !== e)
59
59
  w == null || w.push({
60
60
  ...d,
61
61
  query: { ...(i = d.value) == null ? void 0 : i.query, [t.querykey]: e },
62
62
  replace: a
63
63
  });
64
- else if (t.navigation && V && ((J = globalThis == null ? void 0 : globalThis.location) != null && J.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
65
- const S = new URL(globalThis.location.href);
66
- S.searchParams.set(t.querykey, e), ve(0).then(() => {
67
- a ? history.replaceState({}, "", S.toString()) : history.pushState({}, "", S.toString());
64
+ else if (t.navigation && B && ((K = globalThis == null ? void 0 : globalThis.location) != null && K.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
65
+ const q = new URL(globalThis.location.href);
66
+ q.searchParams.set(t.querykey, e), me(0).then(() => {
67
+ a ? history.replaceState({}, "", q.toString()) : history.pushState({}, "", q.toString());
68
68
  });
69
69
  }
70
- t.modelValue !== e && ee("update:modelValue", e), s.value = e;
70
+ t.modelValue !== e && Z("update:modelValue", e), s.value = e;
71
71
  };
72
72
  s.value && f(s.value, !0);
73
73
  const o = (e) => {
@@ -79,13 +79,13 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
79
79
  break;
80
80
  case "previous": {
81
81
  let i = 1;
82
- for (; i < t.items.length && (a = (r.value + t.items.length - i) % t.items.length, t.items[a].disabled); )
82
+ for (; i < t.items.length && (a = (n.value + t.items.length - i) % t.items.length, t.items[a].disabled); )
83
83
  i++;
84
84
  break;
85
85
  }
86
86
  case "next": {
87
87
  let i = 1;
88
- for (; i < t.items.length && (a = (r.value + i) % t.items.length, t.items[a].disabled); )
88
+ for (; i < t.items.length && (a = (n.value + i) % t.items.length, t.items[a].disabled); )
89
89
  i++;
90
90
  break;
91
91
  }
@@ -97,11 +97,11 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
97
97
  if (a === null)
98
98
  throw new Error("Could not navigate to next tab");
99
99
  if (t.items[a].disabled) return;
100
- const l = t.items[a].key, n = document.querySelector(
100
+ const l = t.items[a].key, r = document.querySelector(
101
101
  `#${v}_tab_${l}`
102
102
  );
103
- n == null || n.focus(), f(l, t.replace);
104
- }, le = (e) => {
103
+ r == null || r.focus(), f(l, t.replace);
104
+ }, te = (e) => {
105
105
  if (!t.disabled)
106
106
  if (e.key === "ArrowRight")
107
107
  o("next");
@@ -148,43 +148,39 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
148
148
  s,
149
149
  (e, a) => {
150
150
  if (e && a) {
151
- const l = t.items.findIndex((i) => i.key === e), n = t.items.findIndex((i) => i.key === a);
152
- C.value = l > n ? "right" : "left";
151
+ const l = t.items.findIndex((i) => i.key === e), r = t.items.findIndex((i) => i.key === a);
152
+ C.value = l > r ? "right" : "left";
153
153
  }
154
154
  },
155
155
  { flush: "sync" }
156
156
  );
157
- const E = u(0), R = u(0), z = u(0), P = u(0), q = () => {
157
+ const R = u(0), E = u(0), P = u(0), z = u(0), S = () => {
158
158
  if (!p.value) return;
159
159
  const e = p.value.querySelector(
160
160
  ".bb-tab__btn--active"
161
161
  );
162
- e && (z.value = e.offsetLeft, P.value = e.offsetTop, E.value = e.clientWidth, R.value = e.clientHeight);
162
+ e && (P.value = e.offsetLeft, z.value = e.offsetTop, R.value = e.clientWidth, E.value = e.clientHeight);
163
163
  };
164
- ne(() => {
165
- q(), document.addEventListener("resize", D, { passive: !0 });
166
- }), re(() => {
167
- document.removeEventListener("resize", D, { passive: !0 });
168
- }), h(s, q, { flush: "post" });
169
- const D = _e(q, 200);
170
- return Y({
164
+ re(S), h(s, S, { flush: "post" });
165
+ const { width: le } = pe();
166
+ return _e(le, S, { throttle: 100 }), X({
171
167
  isFirst: k,
172
168
  isLast: g,
173
169
  current: s,
174
- currentIndex: r,
170
+ currentIndex: n,
175
171
  goTo: o
176
172
  }), (e, a) => (b(), y("div", {
177
- id: oe(L),
173
+ id: ne(I),
178
174
  ref_key: "tabs",
179
175
  ref: $,
180
- class: x(["bb-tab", {
176
+ class: T(["bb-tab", {
181
177
  [`bb-tab--${e.direction}`]: !0,
182
178
  "bb-tab--disabled": !0
183
179
  }])
184
180
  }, [
185
181
  c("div", $e, [
186
182
  c("span", null, [
187
- m(e.$slots, "header:prepend", M(O(B.value)))
183
+ m(e.$slots, "header:prepend", J(M(V.value)))
188
184
  ]),
189
185
  c("ul", {
190
186
  ref_key: "tablist",
@@ -194,31 +190,31 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
194
190
  }, [
195
191
  c("span", {
196
192
  class: "bb-tab__highlight",
197
- style: ue({
198
- "--width": `${E.value}px`,
199
- "--height": `${R.value}px`,
200
- "--left": `${z.value}px`,
201
- "--top": `${P.value}px`
193
+ style: oe({
194
+ "--width": `${R.value}px`,
195
+ "--height": `${E.value}px`,
196
+ "--left": `${P.value}px`,
197
+ "--top": `${z.value}px`
202
198
  })
203
199
  }, null, 4),
204
- (b(!0), y(j, null, G(e.items, (l) => (b(), y("li", {
200
+ (b(!0), y(O, null, j(e.items, (l) => (b(), y("li", {
205
201
  key: l.key,
206
202
  role: "presentation"
207
203
  }, [
208
- Q(ke, {
204
+ G(ke, {
209
205
  id: `${v}_tab_${l.key}`,
210
206
  "aria-selected": s.value === l.key,
211
- class: x(["bb-tab__btn", { "bb-tab__btn--active": s.value === l.key }]),
207
+ class: T(["bb-tab__btn", { "bb-tab__btn--active": s.value === l.key }]),
212
208
  disabled: l.disabled || e.disabled,
213
209
  role: "tab",
214
210
  tabindex: s.value === l.key ? 0 : -1,
215
- onClick: (n) => f(l.key, t.replace),
216
- onKeydown: le
211
+ onClick: (r) => f(l.key, t.replace),
212
+ onKeydown: te
217
213
  }, {
218
- default: T(() => [
214
+ default: x(() => [
219
215
  m(e.$slots, `label-${l.key}`, {
220
216
  current: s.value,
221
- currentIndex: r.value,
217
+ currentIndex: n.value,
222
218
  disabled: !!(l.disabled || e.disabled),
223
219
  goTo: o,
224
220
  isFirst: k.value,
@@ -229,7 +225,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
229
225
  }, () => [
230
226
  m(e.$slots, "label", {
231
227
  current: s.value,
232
- currentIndex: r.value,
228
+ currentIndex: n.value,
233
229
  disabled: !!(l.disabled || e.disabled),
234
230
  goTo: o,
235
231
  isFirst: k.value,
@@ -238,7 +234,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
238
234
  text: l.label,
239
235
  value: l.key
240
236
  }, () => [
241
- c("span", qe, de(l.label), 1)
237
+ c("span", Se, ue(l.label), 1)
242
238
  ])
243
239
  ])
244
240
  ]),
@@ -247,23 +243,23 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
247
243
  ]))), 128))
248
244
  ], 512),
249
245
  c("span", null, [
250
- m(e.$slots, "header:append", M(O(B.value)))
246
+ m(e.$slots, "header:append", J(M(V.value)))
251
247
  ])
252
248
  ]),
253
- c("div", Se, [
254
- Q(ge, null, {
255
- default: T(() => [
256
- (b(!0), y(j, null, G(e.items, (l) => (b(), ce(be, {
249
+ c("div", qe, [
250
+ G(ge, null, {
251
+ default: x(() => [
252
+ (b(!0), y(O, null, j(e.items, (l) => (b(), de(ce, {
257
253
  key: l.key,
258
254
  css: e.animate,
259
255
  name: `tab-slide-${C.value}`
260
256
  }, {
261
- default: T(() => [
257
+ default: x(() => [
262
258
  s.value === l.key || e.eager || l.eager ? (b(), y("section", {
263
259
  key: 0,
264
260
  id: `${v}_tabpanel_${l.key}`,
265
261
  "aria-labelledby": `${v}_tab_${l.key}`,
266
- class: x(["bb-tab__pane", {
262
+ class: T(["bb-tab__pane", {
267
263
  "bb-tab__pane--shown": s.value === l.key
268
264
  }]),
269
265
  role: "tabpanel",
@@ -271,7 +267,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
271
267
  }, [
272
268
  m(e.$slots, l.key, {
273
269
  current: s.value,
274
- currentIndex: r.value,
270
+ currentIndex: n.value,
275
271
  disabled: !!(l.disabled || e.disabled),
276
272
  goTo: o,
277
273
  isFirst: k.value,
@@ -280,7 +276,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, qe = { class: "bb-t
280
276
  text: l.label,
281
277
  value: l.key
282
278
  })
283
- ], 10, xe)) : fe("", !0)
279
+ ], 10, Te)) : be("", !0)
284
280
  ]),
285
281
  _: 2
286
282
  }, 1032, ["css", "name"]))), 128))
package/dist/index106.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as oe, ref as x, computed as h, 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 k, createElementVNode as s, renderSlot as f, createVNode as I, Fragment as w, renderList as T, createTextVNode as be, mergeProps as re } from "vue";
2
- import { add as ue } from "./index253.js";
3
- import { clamp as pe } from "./index199.js";
2
+ import { add as ue } from "./index287.js";
3
+ import { clamp as pe } from "./index198.js";
4
4
  import { isNil as M } from "./index125.js";
5
5
  import { useId as fe } from "./index8.js";
6
- import { useItemValue as me } from "./index254.js";
7
- import { when as he } from "./index201.js";
6
+ import { useItemValue as me } from "./index280.js";
7
+ import { when as he } from "./index232.js";
8
8
  import J from "./index15.js";
9
9
  /* empty css */
10
10
  import ye from "./index29.js";
11
11
  /* empty css */
12
- import { useOptions as _e } from "./index231.js";
12
+ import { useOptions as _e } from "./index228.js";
13
13
  const ke = {
14
14
  key: 0,
15
15
  class: "sr-only"
package/dist/index114.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 "./index271.js";
3
+ import B from "./index291.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index116.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as z, defineAsyncComponent as A, ref as a, computed as _, watch as I, openBlock as b, createElementBlock as R, mergeProps as U, createElementVNode as c, renderSlot as D, normalizeProps as W, guardReactiveProps as j, unref as u, createBlock as L, withCtx as $, createCommentVNode as M } from "vue";
2
- import { useFloating as q, arrow as G } from "./index222.js";
2
+ import { useFloating as q, arrow as G } from "./index214.js";
3
3
  import { useId as J } from "./index8.js";
4
4
  import { wait as P } from "./index127.js";
5
5
  import K from "./index13.js";
6
6
  /* empty css */
7
- import { throttle as w } from "./index205.js";
8
- import { waitFor as Q } from "./index207.js";
9
- import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index230.js";
7
+ import { throttle as w } from "./index226.js";
8
+ import { waitFor as Q } from "./index219.js";
9
+ import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index224.js";
10
10
  const ee = /* @__PURE__ */ c("svg", {
11
11
  fill: "none",
12
12
  viewBox: "0 0 24 24",
@@ -35,7 +35,7 @@ const ee = /* @__PURE__ */ c("svg", {
35
35
  },
36
36
  setup(F) {
37
37
  const O = A(
38
- () => import("./index243.js")
38
+ () => import("./index270.js")
39
39
  ), t = F, g = `bb_${t.id ?? J().id.value}`, s = a(), d = a(), T = a(), { floatingStyles: te, placement: h, middlewareData: f } = q(
40
40
  s,
41
41
  d,
package/dist/index118.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 "./index272.js";
2
+ import { flattenTree as T } from "./index292.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/index122.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 "./index200.js";
2
+ import { isCssColor as w } from "./index231.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index123.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 "./index205.js";
2
+ import { throttle as g } from "./index226.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index124.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as l, openBlock as _, createElementBlock as a, normalizeProps as b, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index200.js";
2
+ import { isCssColor as u } from "./index231.js";
3
3
  const y = /* @__PURE__ */ m('<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle class="bb-spinner__circle" cx="12" cy="3" r="0"></circle><circle class="bb-spinner__circle circle--1" cx="16.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--2" cx="7.50" cy="4.21" r="0"></circle><circle class="bb-spinner__circle circle--3" cx="19.79" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--4" cx="4.21" cy="7.50" r="0"></circle><circle class="bb-spinner__circle circle--5" cx="21.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--6" cx="3.00" cy="12.00" r="0"></circle><circle class="bb-spinner__circle circle--7" cx="19.79" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--8" cx="4.21" cy="16.50" r="0"></circle><circle class="bb-spinner__circle circle--9" cx="16.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--10" cx="7.50" cy="19.79" r="0"></circle><circle class="bb-spinner__circle circle--11" cx="12" cy="21" r="0"></circle></svg>', 1), d = [
4
4
  y
5
5
  ], g = /* @__PURE__ */ p({
package/dist/index126.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index199.js";
1
+ import { clamp as o } from "./index198.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,