bitboss-ui 2.0.32 → 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 (112) hide show
  1. package/dist/index104.js +32 -32
  2. package/dist/index106.js +4 -4
  3. package/dist/index114.js +1 -1
  4. package/dist/index116.js +3 -3
  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/index128.js +32 -32
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +1 -1
  12. package/dist/index15.js +3 -3
  13. package/dist/index17.js +2 -2
  14. package/dist/index19.js +9 -9
  15. package/dist/index199.js +70 -69
  16. package/dist/index200.js +8 -5
  17. package/dist/index201.js +5 -16
  18. package/dist/index202.js +10 -10
  19. package/dist/index203.js +15 -18
  20. package/dist/index204.js +18 -18
  21. package/dist/index205.js +14 -22
  22. package/dist/index206.js +27 -3
  23. package/dist/index207.js +3 -2
  24. package/dist/index208.js +2 -8
  25. package/dist/index209.js +5 -5
  26. package/dist/index21.js +14 -14
  27. package/dist/index213.js +1 -1
  28. package/dist/index214.js +119 -151
  29. package/dist/index215.js +123 -84
  30. package/dist/index217.js +35 -3
  31. package/dist/index218.js +172 -33
  32. package/dist/index220.js +43 -7
  33. package/dist/index222.js +13 -2
  34. package/dist/index223.js +5 -4
  35. package/dist/index224.js +369 -2
  36. package/dist/index225.js +3 -43
  37. package/dist/index226.js +5 -0
  38. package/dist/index227.js +7 -13
  39. package/dist/index228.js +151 -119
  40. package/dist/index229.js +84 -123
  41. package/dist/index23.js +4 -4
  42. package/dist/index231.js +2 -174
  43. package/dist/index232.js +4 -5
  44. package/dist/index233.js +2 -369
  45. package/dist/index234.js +2 -2
  46. package/dist/index235.js +18 -2
  47. package/dist/index236.js +105 -17
  48. package/dist/{index239.js → index238.js} +1 -1
  49. package/dist/index240.js +4 -0
  50. package/dist/index25.js +1 -1
  51. package/dist/index259.js +2 -3
  52. package/dist/index260.js +126 -12
  53. package/dist/index261.js +429 -7
  54. package/dist/index262.js +3 -9
  55. package/dist/index264.js +22 -224
  56. package/dist/index266.js +218 -83
  57. package/dist/index267.js +199 -3
  58. package/dist/index268.js +436 -6
  59. package/dist/index269.js +126 -15
  60. package/dist/index27.js +2 -2
  61. package/dist/index270.js +1 -1
  62. package/dist/index274.js +6 -200
  63. package/dist/index275.js +16 -3
  64. package/dist/index276.js +91 -0
  65. package/dist/index277.js +3 -2
  66. package/dist/index278.js +12 -126
  67. package/dist/index279.js +8 -21
  68. package/dist/index280.js +11 -0
  69. package/dist/index281.js +15 -434
  70. package/dist/index282.js +3 -126
  71. package/dist/index283.js +1 -1
  72. package/dist/index284.js +1 -1
  73. package/dist/index285.js +2 -2
  74. package/dist/index286.js +15 -2
  75. package/dist/index287.js +2 -15
  76. package/dist/index288.js +7 -5
  77. package/dist/index289.js +6 -6
  78. package/dist/index29.js +2 -2
  79. package/dist/index290.js +18 -6
  80. package/dist/index291.js +65 -18
  81. package/dist/index292.js +5 -66
  82. package/dist/index293.js +34 -10
  83. package/dist/index294.js +79 -4
  84. package/dist/index296.js +4 -59
  85. package/dist/index297.js +4 -79
  86. package/dist/index298.js +61 -0
  87. package/dist/index299.js +46 -34
  88. package/dist/index300.js +10 -46
  89. package/dist/index301.js +1 -1
  90. package/dist/index31.js +2 -2
  91. package/dist/index33.js +3 -3
  92. package/dist/index35.js +12 -12
  93. package/dist/index37.js +3 -3
  94. package/dist/index39.js +2 -2
  95. package/dist/index41.js +2 -2
  96. package/dist/index43.js +6 -6
  97. package/dist/index45.js +2 -2
  98. package/dist/index47.js +2 -2
  99. package/dist/index53.js +1 -1
  100. package/dist/index55.js +1 -1
  101. package/dist/index75.js +2 -2
  102. package/dist/index77.js +1 -1
  103. package/dist/index80.js +2 -2
  104. package/dist/index84.js +1 -1
  105. package/dist/style.css +1 -1
  106. package/package.json +1 -1
  107. package/dist/index221.js +0 -5
  108. package/dist/index237.js +0 -108
  109. package/dist/index263.js +0 -19
  110. package/dist/index265.js +0 -433
  111. package/dist/index295.js +0 -6
  112. /package/dist/{index230.js → index216.js} +0 -0
package/dist/index104.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, ref as u, computed as _, getCurrentInstance as se, watch as h, nextTick as ie, onMounted as ne, openBlock as b, createElementBlock as y, unref as re, normalizeClass as x, 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 T, toDisplayString as ue, createBlock as de, Transition as ce, createCommentVNode as be } from "vue";
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
2
  import { useId as fe } from "./index8.js";
3
3
  import { useRoute as he } from "./index132.js";
4
4
  import { useRouter as ye } from "./index133.js";
@@ -8,8 +8,8 @@ import ke from "./index13.js";
8
8
  /* empty css */
9
9
  import ge from "./index123.js";
10
10
  /* empty css */
11
- import { debouncedWatch 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" }, 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 },
@@ -25,14 +25,14 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
25
25
  },
26
26
  emits: ["update:modelValue"],
27
27
  setup(Q, { expose: X, emit: Y }) {
28
- var z, F, N, A, H, U, W;
28
+ var D, F, N, A, H, U, W;
29
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
30
  isScrolling: ee.value,
31
31
  left: L.left,
32
32
  right: L.right
33
- })), B = !!((F = (z = se()) == null ? void 0 : z.proxy) != null && F.$inertia), s = u(null), r = _(
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));
@@ -54,8 +54,8 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
54
54
  s.value = a;
55
55
  }
56
56
  const f = async (e, a = !1) => {
57
- var l, n, i, K;
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 },
@@ -79,13 +79,13 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { 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,10 +97,10 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { 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);
103
+ r == null || r.focus(), f(l, t.replace);
104
104
  }, te = (e) => {
105
105
  if (!t.disabled)
106
106
  if (e.key === "ArrowRight")
@@ -148,32 +148,32 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { 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 R = u(0), E = u(0), P = u(0), D = u(0), S = () => {
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 && (P.value = e.offsetLeft, D.value = e.offsetTop, R.value = e.clientWidth, E.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(S), h(s, S, { flush: "post" });
164
+ re(S), h(s, S, { flush: "post" });
165
165
  const { width: le } = pe();
166
- return _e(le, S, { debounce: 200 }), X({
166
+ return _e(le, S, { throttle: 100 }), X({
167
167
  isFirst: k,
168
168
  isLast: g,
169
169
  current: s,
170
- currentIndex: r,
170
+ currentIndex: n,
171
171
  goTo: o
172
172
  }), (e, a) => (b(), y("div", {
173
- id: re(I),
173
+ id: ne(I),
174
174
  ref_key: "tabs",
175
175
  ref: $,
176
- class: x(["bb-tab", {
176
+ class: T(["bb-tab", {
177
177
  [`bb-tab--${e.direction}`]: !0,
178
178
  "bb-tab--disabled": !0
179
179
  }])
@@ -194,7 +194,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
194
194
  "--width": `${R.value}px`,
195
195
  "--height": `${E.value}px`,
196
196
  "--left": `${P.value}px`,
197
- "--top": `${D.value}px`
197
+ "--top": `${z.value}px`
198
198
  })
199
199
  }, null, 4),
200
200
  (b(!0), y(O, null, j(e.items, (l) => (b(), y("li", {
@@ -204,17 +204,17 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
204
204
  G(ke, {
205
205
  id: `${v}_tab_${l.key}`,
206
206
  "aria-selected": s.value === l.key,
207
- 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 }]),
208
208
  disabled: l.disabled || e.disabled,
209
209
  role: "tab",
210
210
  tabindex: s.value === l.key ? 0 : -1,
211
- onClick: (n) => f(l.key, t.replace),
211
+ onClick: (r) => f(l.key, t.replace),
212
212
  onKeydown: te
213
213
  }, {
214
- default: T(() => [
214
+ default: x(() => [
215
215
  m(e.$slots, `label-${l.key}`, {
216
216
  current: s.value,
217
- currentIndex: r.value,
217
+ currentIndex: n.value,
218
218
  disabled: !!(l.disabled || e.disabled),
219
219
  goTo: o,
220
220
  isFirst: k.value,
@@ -225,7 +225,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
225
225
  }, () => [
226
226
  m(e.$slots, "label", {
227
227
  current: s.value,
228
- currentIndex: r.value,
228
+ currentIndex: n.value,
229
229
  disabled: !!(l.disabled || e.disabled),
230
230
  goTo: o,
231
231
  isFirst: k.value,
@@ -248,18 +248,18 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
248
248
  ]),
249
249
  c("div", qe, [
250
250
  G(ge, null, {
251
- default: T(() => [
251
+ default: x(() => [
252
252
  (b(!0), y(O, null, j(e.items, (l) => (b(), de(ce, {
253
253
  key: l.key,
254
254
  css: e.animate,
255
255
  name: `tab-slide-${C.value}`
256
256
  }, {
257
- default: T(() => [
257
+ default: x(() => [
258
258
  s.value === l.key || e.eager || l.eager ? (b(), y("section", {
259
259
  key: 0,
260
260
  id: `${v}_tabpanel_${l.key}`,
261
261
  "aria-labelledby": `${v}_tab_${l.key}`,
262
- class: x(["bb-tab__pane", {
262
+ class: T(["bb-tab__pane", {
263
263
  "bb-tab__pane--shown": s.value === l.key
264
264
  }]),
265
265
  role: "tabpanel",
@@ -267,7 +267,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
267
267
  }, [
268
268
  m(e.$slots, l.key, {
269
269
  current: s.value,
270
- currentIndex: r.value,
270
+ currentIndex: n.value,
271
271
  disabled: !!(l.disabled || e.disabled),
272
272
  goTo: o,
273
273
  isFirst: k.value,
@@ -276,7 +276,7 @@ const we = ["id"], $e = { class: "bb-tab__label-boundary" }, Se = { class: "bb-t
276
276
  text: l.label,
277
277
  value: l.key
278
278
  })
279
- ], 10, xe)) : be("", !0)
279
+ ], 10, Te)) : be("", !0)
280
280
  ]),
281
281
  _: 2
282
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 "./index286.js";
2
+ import { add as ue } from "./index287.js";
3
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 "./index262.js";
7
- import { when as he } from "./index223.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 "./index214.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 "./index292.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 "./index228.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 "./index217.js";
7
+ import { throttle as w } from "./index226.js";
8
8
  import { waitFor as Q } from "./index219.js";
9
- import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index233.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",
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 "./index288.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 "./index222.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 "./index217.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 "./index222.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/index128.js CHANGED
@@ -1,15 +1,15 @@
1
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 "./index199.js";
2
- import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as pe, debouncedWatch as be, watchWithFilter as ge } from "./index199.js";
3
- import { computed as O, ref as T, watch as V, reactive as k, watchEffect as U, getCurrentInstance as Z, onMounted as ee } from "vue";
2
+ import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as be, watchWithFilter as ge } from "./index199.js";
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 r;
6
6
  const t = S(l);
7
7
  return (r = t == null ? void 0 : t.$el) != null ? r : t;
8
8
  }
9
- const D = J ? window : void 0;
9
+ const H = J ? window : void 0;
10
10
  function P(...l) {
11
11
  let r, t, n, e;
12
- if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([t, n, e] = l, r = D) : [r, t, n, e] = l, !r)
12
+ if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([t, n, e] = l, r = H) : [r, t, n, e] = l, !r)
13
13
  return _;
14
14
  Array.isArray(t) || (t = [t]), Array.isArray(n) || (n = [n]);
15
15
  const v = [], i = () => {
@@ -31,19 +31,19 @@ function P(...l) {
31
31
  return R(c), c;
32
32
  }
33
33
  function te() {
34
- const l = T(!1), r = Z();
34
+ const l = O(!1), r = Z();
35
35
  return r && ee(() => {
36
36
  l.value = !0;
37
37
  }, r), l;
38
38
  }
39
39
  function X(l) {
40
40
  const r = te();
41
- return O(() => (r.value, !!l()));
41
+ return T(() => (r.value, !!l()));
42
42
  }
43
43
  function ne(l, r = {}) {
44
- const { window: t = D } = r, n = X(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
44
+ const { window: t = H } = r, n = X(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
45
45
  let e;
46
- const v = T(!1), i = (c) => {
46
+ const v = O(!1), i = (c) => {
47
47
  v.value = c.matches;
48
48
  }, f = () => {
49
49
  e && ("removeEventListener" in e ? e.removeEventListener("change", i) : e.removeListener(i));
@@ -59,14 +59,14 @@ function le(l, r, t = {}) {
59
59
  root: n,
60
60
  rootMargin: e = "0px",
61
61
  threshold: v = 0.1,
62
- window: i = D,
62
+ window: i = H,
63
63
  immediate: f = !0
64
- } = t, d = X(() => i && "IntersectionObserver" in i), c = O(() => {
64
+ } = t, d = X(() => i && "IntersectionObserver" in i), c = T(() => {
65
65
  const m = S(l);
66
66
  return (Array.isArray(m) ? m : [m]).map(N).filter($);
67
67
  });
68
68
  let a = _;
69
- const s = T(f), h = d.value ? V(
69
+ const s = O(f), h = d.value ? V(
70
70
  () => [c.value, N(n), s.value],
71
71
  ([m, I]) => {
72
72
  if (a(), !s.value || !m.length)
@@ -117,18 +117,18 @@ function ue(l, r = {}) {
117
117
  passive: !0
118
118
  },
119
119
  behavior: d = "auto",
120
- window: c = D,
120
+ window: c = H,
121
121
  onError: a = (o) => {
122
122
  console.error(o);
123
123
  }
124
- } = r, s = T(0), h = T(0), b = O({
124
+ } = r, s = O(0), h = O(0), b = T({
125
125
  get() {
126
126
  return s.value;
127
127
  },
128
128
  set(o) {
129
129
  I(o, void 0);
130
130
  }
131
- }), m = O({
131
+ }), m = T({
132
132
  get() {
133
133
  return h.value;
134
134
  },
@@ -151,7 +151,7 @@ function ue(l, r = {}) {
151
151
  const F = ((x = E == null ? void 0 : E.document) == null ? void 0 : x.documentElement) || (E == null ? void 0 : E.documentElement) || E;
152
152
  b != null && (s.value = F.scrollLeft), m != null && (h.value = F.scrollTop);
153
153
  }
154
- const w = T(!1), p = k({
154
+ const w = O(!1), p = k({
155
155
  left: !0,
156
156
  right: !1,
157
157
  top: !0,
@@ -161,9 +161,9 @@ function ue(l, r = {}) {
161
161
  right: !1,
162
162
  top: !1,
163
163
  bottom: !1
164
- }), H = (o) => {
164
+ }), C = (o) => {
165
165
  w.value && (w.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, e(o));
166
- }, C = q(H, t + n), u = (o) => {
166
+ }, D = q(C, t + n), u = (o) => {
167
167
  var A;
168
168
  if (!c)
169
169
  return;
@@ -180,7 +180,7 @@ function ue(l, r = {}) {
180
180
  if (!c)
181
181
  return;
182
182
  const g = (A = o.target.documentElement) != null ? A : o.target;
183
- u(g), w.value = !0, C(o), v(o);
183
+ u(g), w.value = !0, D(o), v(o);
184
184
  };
185
185
  return P(
186
186
  l,
@@ -199,7 +199,7 @@ function ue(l, r = {}) {
199
199
  }), P(
200
200
  l,
201
201
  "scrollend",
202
- H,
202
+ C,
203
203
  f
204
204
  ), {
205
205
  x: b,
@@ -214,7 +214,7 @@ function ue(l, r = {}) {
214
214
  };
215
215
  }
216
216
  function ie(l, r) {
217
- const t = T(l), n = O(() => Array.isArray(t.value) ? t.value : Object.keys(t.value)), e = T(n.value.indexOf(r ?? n.value[0])), v = O(() => a(e.value)), i = O(() => e.value === 0), f = O(() => e.value === n.value.length - 1), d = O(() => n.value[e.value + 1]), c = O(() => n.value[e.value - 1]);
217
+ const t = O(l), n = T(() => Array.isArray(t.value) ? t.value : Object.keys(t.value)), e = O(n.value.indexOf(r ?? n.value[0])), v = T(() => a(e.value)), i = T(() => e.value === 0), f = T(() => e.value === n.value.length - 1), d = T(() => n.value[e.value + 1]), c = T(() => n.value[e.value - 1]);
218
218
  function a(u) {
219
219
  return Array.isArray(t.value) ? t.value[u] : t.value[n.value[u]];
220
220
  }
@@ -232,7 +232,7 @@ function ie(l, r) {
232
232
  i.value || e.value--;
233
233
  }
234
234
  function I(u) {
235
- C(u) && h(u);
235
+ D(u) && h(u);
236
236
  }
237
237
  function w(u) {
238
238
  return n.value.indexOf(u) === e.value + 1;
@@ -243,10 +243,10 @@ function ie(l, r) {
243
243
  function y(u) {
244
244
  return n.value.indexOf(u) === e.value;
245
245
  }
246
- function H(u) {
246
+ function C(u) {
247
247
  return e.value < n.value.indexOf(u);
248
248
  }
249
- function C(u) {
249
+ function D(u) {
250
250
  return e.value > n.value.indexOf(u);
251
251
  }
252
252
  return {
@@ -267,18 +267,18 @@ function ie(l, r) {
267
267
  isNext: w,
268
268
  isPrevious: p,
269
269
  isCurrent: y,
270
- isBefore: H,
271
- isAfter: C
270
+ isBefore: C,
271
+ isAfter: D
272
272
  };
273
273
  }
274
274
  function se(l = {}) {
275
275
  const {
276
- window: r = D,
276
+ window: r = H,
277
277
  initialWidth: t = Number.POSITIVE_INFINITY,
278
278
  initialHeight: n = Number.POSITIVE_INFINITY,
279
279
  listenOrientation: e = !0,
280
280
  includeScrollbar: v = !0
281
- } = l, i = T(t), f = T(n), d = () => {
281
+ } = l, i = O(t), f = O(n), d = () => {
282
282
  r && (v ? (i.value = r.innerWidth, f.value = r.innerHeight) : (i.value = r.document.documentElement.clientWidth, f.value = r.document.documentElement.clientHeight));
283
283
  };
284
284
  if (d(), Q(d), P("resize", d, { passive: !0 }), e) {
@@ -291,14 +291,14 @@ export {
291
291
  fe as bypassFilter,
292
292
  ve as createFilterWrapper,
293
293
  de as debounceFilter,
294
- he as debouncedWatch,
295
- D as defaultWindow,
296
- me as getLifeCycleTarget,
294
+ H as defaultWindow,
295
+ he as getLifeCycleTarget,
297
296
  J as isClient,
298
297
  K as isObject,
299
298
  _ as noop,
300
299
  $ as notNullish,
301
- pe as throttleFilter,
300
+ me as throttleFilter,
301
+ pe as throttledWatch,
302
302
  S as toValue,
303
303
  Q as tryOnMounted,
304
304
  R as tryOnScopeDispose,
@@ -313,6 +313,6 @@ export {
313
313
  X as useSupported,
314
314
  G as useThrottleFn,
315
315
  se as useWindowSize,
316
- be as watchDebounced,
316
+ be as watchThrottled,
317
317
  ge as watchWithFilter
318
318
  };
package/dist/index129.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isArray as b, isPlainObject as m } from "./index287.js";
1
+ import { isArray as b, isPlainObject as m } from "./index286.js";
2
2
  function i(e, n, l, o, r) {
3
3
  const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
4
4
  u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
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 "./index208.js";
3
+ import { useLogger as m } from "./index200.js";
4
4
  const P = /* @__PURE__ */ y({
5
5
  __name: "BaseButton",
6
6
  props: {
package/dist/index15.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as n, watch as E, openBlock as m, createElementBlock as p, normalizeProps as c, guardReactiveProps as h, mergeProps as f, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
2
- import { isCssColor as k } from "./index222.js";
3
- import { when as F } from "./index223.js";
4
- import { booleanishToBoolean as N } from "./index224.js";
2
+ import { isCssColor as k } from "./index231.js";
3
+ import { when as F } from "./index232.js";
4
+ import { booleanishToBoolean as N } from "./index233.js";
5
5
  const S = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index17.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 "./index214.js";
2
+ import { useOptions as z } from "./index228.js";
3
3
  import F from "./index15.js";
4
4
  /* empty css */
5
- import M from "./index215.js";
5
+ import M from "./index229.js";
6
6
  /* empty css */
7
7
  const G = /* @__PURE__ */ $({
8
8
  __name: "BaseCheckboxGroup",
package/dist/index19.js CHANGED
@@ -3,15 +3,15 @@ import { defineComponent as $, ref as f, watch as x, openBlock as u, createEleme
3
3
  /* empty css */
4
4
  import p from "./index13.js";
5
5
  /* empty css */
6
- import r from "./index200.js";
7
- import z from "./index201.js";
8
- import U from "./index202.js";
9
- import W from "./index203.js";
10
- import E from "./index204.js";
11
- import T from "./index205.js";
12
- import { hash as g } from "./index206.js";
13
- import { last as j } from "./index207.js";
14
- import { useLogger as H } from "./index208.js";
6
+ import r from "./index201.js";
7
+ import z from "./index202.js";
8
+ import U from "./index203.js";
9
+ import W from "./index204.js";
10
+ import E from "./index205.js";
11
+ import T from "./index206.js";
12
+ import { hash as g } from "./index207.js";
13
+ import { last as j } from "./index208.js";
14
+ import { useLogger as H } from "./index200.js";
15
15
  import P from "./index209.js";
16
16
  import Z from "./index210.js";
17
17
  import q from "./index211.js";