bitboss-ui 2.0.124 → 2.0.126

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 (149) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +0 -22
  2. package/dist/components/ListBox.vue.d.ts +1 -0
  3. package/dist/index100.js +8 -8
  4. package/dist/index111.js +11 -11
  5. package/dist/index119.js +1 -1
  6. package/dist/index121.js +6 -6
  7. package/dist/index125.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index128.js +1 -1
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +1 -1
  12. package/dist/index131.js +1 -1
  13. package/dist/index132.js +2 -2
  14. package/dist/index133.js +2 -2
  15. package/dist/index15.js +5 -5
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +7 -7
  18. package/dist/index205.js +2 -115
  19. package/dist/index206.js +115 -2
  20. package/dist/index207.js +5 -65
  21. package/dist/index208.js +18 -0
  22. package/dist/index209.js +16 -13
  23. package/dist/index21.js +15 -15
  24. package/dist/index210.js +19 -20
  25. package/dist/index211.js +15 -4
  26. package/dist/index212.js +19 -13
  27. package/dist/index213.js +27 -8
  28. package/dist/index214.js +1 -1
  29. package/dist/index215.js +2 -5
  30. package/dist/index216.js +8 -16
  31. package/dist/index217.js +248 -14
  32. package/dist/index218.js +52 -19
  33. package/dist/index219.js +44 -15
  34. package/dist/index220.js +5 -19
  35. package/dist/index221.js +59 -26
  36. package/dist/index222.js +13 -2
  37. package/dist/index223.js +79 -243
  38. package/dist/index225.js +25 -44
  39. package/dist/index226.js +17 -5
  40. package/dist/index227.js +50 -59
  41. package/dist/index228.js +15 -125
  42. package/dist/index229.js +12 -2
  43. package/dist/index23.js +16 -16
  44. package/dist/index230.js +15 -40
  45. package/dist/index231.js +64 -5
  46. package/dist/index233.js +15 -0
  47. package/dist/index234.js +3 -2
  48. package/dist/index235.js +41 -86
  49. package/dist/index236.js +8 -0
  50. package/dist/index237.js +7 -25
  51. package/dist/index238.js +15 -16
  52. package/dist/index239.js +2 -17
  53. package/dist/index240.js +4 -51
  54. package/dist/index241.js +2 -15
  55. package/dist/index242.js +19 -11
  56. package/dist/index243.js +4 -2
  57. package/dist/index244.js +125 -4
  58. package/dist/index245.js +2 -2
  59. package/dist/index246.js +93 -17
  60. package/dist/index248.js +2 -106
  61. package/dist/index249.js +5 -0
  62. package/dist/index25.js +7 -7
  63. package/dist/index250.js +2 -100
  64. package/dist/index251.js +4 -0
  65. package/dist/index252.js +102 -11
  66. package/dist/index254.js +83 -197
  67. package/dist/index256.js +18 -2
  68. package/dist/index257.js +126 -2
  69. package/dist/index258.js +12 -3
  70. package/dist/index259.js +228 -3
  71. package/dist/index260.js +369 -7
  72. package/dist/index263.js +3 -3
  73. package/dist/index267.js +8 -27
  74. package/dist/index268.js +1 -1
  75. package/dist/index269.js +19 -0
  76. package/dist/index27.js +1 -1
  77. package/dist/index270.js +9 -7
  78. package/dist/index271.js +23 -171
  79. package/dist/index272.js +3 -7
  80. package/dist/index274.js +7 -9
  81. package/dist/index284.js +1 -1
  82. package/dist/index285.js +1 -1
  83. package/dist/index286.js +1 -1
  84. package/dist/index287.js +1 -1
  85. package/dist/index29.js +3 -3
  86. package/dist/index290.js +7 -9
  87. package/dist/index291.js +11 -8
  88. package/dist/index292.js +431 -2
  89. package/dist/index293.js +2 -431
  90. package/dist/index294.js +89 -3
  91. package/dist/index295.js +4 -3
  92. package/dist/index296.js +174 -15
  93. package/dist/index297.js +2 -4
  94. package/dist/index298.js +3 -200
  95. package/dist/index299.js +196 -122
  96. package/dist/index300.js +8 -3
  97. package/dist/index301.js +224 -3
  98. package/dist/index302.js +3 -2
  99. package/dist/index303.js +3 -2
  100. package/dist/index304.js +117 -427
  101. package/dist/index305.js +2 -127
  102. package/dist/index306.js +431 -219
  103. package/dist/index307.js +127 -2
  104. package/dist/index308.js +2 -89
  105. package/dist/index31.js +2 -2
  106. package/dist/index310.js +1 -1
  107. package/dist/index311.js +5 -3
  108. package/dist/index312.js +8 -3
  109. package/dist/index313.js +3 -58
  110. package/dist/index314.js +3 -5
  111. package/dist/index315.js +57 -7
  112. package/dist/index316.js +53 -4
  113. package/dist/index317.js +53 -7
  114. package/dist/index318.js +3 -18
  115. package/dist/index319.js +6 -6
  116. package/dist/index320.js +18 -32
  117. package/dist/index321.js +28 -21
  118. package/dist/index322.js +25 -52
  119. package/dist/index323.js +7 -53
  120. package/dist/index324.js +480 -47
  121. package/dist/index325.js +47 -480
  122. package/dist/index33.js +7 -7
  123. package/dist/index35.js +4 -4
  124. package/dist/index37.js +107 -106
  125. package/dist/index39.js +4 -4
  126. package/dist/index41.js +2 -2
  127. package/dist/index43.js +7 -7
  128. package/dist/index45.js +8 -8
  129. package/dist/index47.js +2 -2
  130. package/dist/index49.js +2 -2
  131. package/dist/index53.js +1 -1
  132. package/dist/index55.js +1 -1
  133. package/dist/index57.js +2 -2
  134. package/dist/index61.js +1 -1
  135. package/dist/index75.js +64 -76
  136. package/dist/index77.js +30 -33
  137. package/dist/index81.js +1 -1
  138. package/dist/index84.js +4 -4
  139. package/dist/index86.js +2 -2
  140. package/dist/index88.js +5 -5
  141. package/dist/index90.js +1 -1
  142. package/dist/style.css +1 -1
  143. package/package.json +5 -3
  144. package/dist/index224.js +0 -54
  145. package/dist/index232.js +0 -96
  146. package/dist/index247.js +0 -128
  147. package/dist/index253.js +0 -14
  148. package/dist/index255.js +0 -371
  149. package/dist/index273.js +0 -13
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as X, computed as F, ref as g, openBlock as $, createElementBlock as D, mergeProps as A, createElementVNode as H, renderSlot as y, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index265.js";
1
+ import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
2
+ import { findRightIndex as H } from "./index265.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
8
  import N from "./index266.js";
9
- import se from "./index232.js";
9
+ import se from "./index246.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
@@ -29,46 +29,46 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
29
29
  },
30
30
  setup(z) {
31
31
  const r = z, u = r.id ?? `bb_${ne().id.value}`, m = F(() => {
32
- let e = r.items.findIndex((t) => !t.disabled), o = I(
32
+ let e = r.items.findIndex((t) => !t.disabled), o = H(
33
33
  r.items,
34
34
  (t) => !t.disabled
35
35
  );
36
36
  return r.items.map((t, n) => {
37
37
  const i = `${u}-item-${t.key}`, { onClick: q, ...C } = t, J = async () => {
38
38
  await b();
39
- const s = document.querySelector(`#${u}`);
40
- if (s) s instanceof HTMLElement && s.focus();
39
+ const l = document.querySelector(`#${u}`);
40
+ if (l) l instanceof HTMLElement && l.focus();
41
41
  else return;
42
42
  q && q();
43
- }, Q = (s) => {
44
- if (s.target instanceof HTMLElement && s.target.dataset.dropdownItem) {
43
+ }, Q = (l) => {
44
+ if (l.target instanceof HTMLElement && l.target.dataset.dropdownItem) {
45
45
  if (!a.value) return;
46
- if (s.key === "ArrowDown") {
47
- if (s.preventDefault(), a.value && n !== o) {
46
+ if (l.key === "ArrowDown") {
47
+ if (l.preventDefault(), a.value && n !== o) {
48
48
  const d = a.value.querySelector(
49
49
  N.map((w) => `#${i} ~ ${w}`).join(",")
50
50
  );
51
51
  d && d instanceof HTMLElement && d.focus();
52
52
  }
53
- } else if (s.key === "ArrowUp") {
54
- if (s.preventDefault(), a.value && n !== e) {
55
- const d = I(r.items, (E, T) => T < n && !E.disabled), k = Array.from(
53
+ } else if (l.key === "ArrowUp") {
54
+ if (l.preventDefault(), a.value && n !== e) {
55
+ const d = H(r.items, (E, T) => T < n && !E.disabled), k = Array.from(
56
56
  a.value.querySelectorAll(".bb-dropdown__item")
57
57
  )[d];
58
58
  k && k instanceof HTMLElement && k.focus();
59
59
  }
60
- } else if (s.key === "Tab") {
61
- if (n === o && !s.shiftKey) {
60
+ } else if (l.key === "Tab") {
61
+ if (n === o && !l.shiftKey) {
62
62
  const d = N.join(","), w = Array.from(
63
63
  document.querySelectorAll(d)
64
64
  ), k = w.findIndex(
65
65
  (T) => T.id === u
66
66
  ), E = w[k + 1];
67
- if (E) E instanceof HTMLElement && (s.preventDefault(), b(), E.focus());
67
+ if (E) E instanceof HTMLElement && (l.preventDefault(), b(), E.focus());
68
68
  else return;
69
- } else if (n === e && s.shiftKey) {
69
+ } else if (n === e && l.shiftKey) {
70
70
  const d = document.querySelector(`#${u}`);
71
- if (d) d instanceof HTMLElement && (s.preventDefault(), d.focus());
71
+ if (d) d instanceof HTMLElement && (l.preventDefault(), d.focus());
72
72
  else return;
73
73
  }
74
74
  }
@@ -84,18 +84,18 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
84
84
  onKeydown: Q
85
85
  };
86
86
  });
87
- }), v = g(), a = g();
87
+ }), v = y(), a = y();
88
88
  ae(
89
89
  v,
90
90
  ([{ intersectionRatio: e }]) => {
91
- e !== 1 && l.value && b();
91
+ e !== 1 && s.value && b();
92
92
  },
93
93
  { threshold: [0, 1] }
94
94
  );
95
- const c = g(!1), l = g(!1), p = g(!1), f = g(!0), R = () => {
96
- c.value || p.value || (l.value ? b() : L());
95
+ const c = y(!1), s = y(!1), p = y(!1), f = y(!0), R = () => {
96
+ c.value || p.value || (s.value ? b() : L());
97
97
  }, U = async (e) => {
98
- let o = r.items.findIndex((n) => !n.disabled), t = I(
98
+ let o = r.items.findIndex((n) => !n.disabled), t = H(
99
99
  r.items,
100
100
  (n) => !n.disabled
101
101
  );
@@ -111,52 +111,52 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
111
111
  const n = m.value[t].id, i = a.value.querySelector(`#${n}`);
112
112
  i && i instanceof HTMLElement && i.focus();
113
113
  }
114
- } else if (e.key === "Tab" && l.value && !e.shiftKey && (e.preventDefault(), a.value && m.value.length && o !== -1)) {
114
+ } else if (e.key === "Tab" && s.value && !e.shiftKey && (e.preventDefault(), a.value && m.value.length && o !== -1)) {
115
115
  const n = m.value[o].id, i = a.value.querySelector(`#${n}`);
116
116
  i && i instanceof HTMLElement && i.focus();
117
117
  }
118
- }, M = (e) => {
118
+ }, I = (e) => {
119
119
  const o = e.target;
120
120
  if (o && o instanceof HTMLElement) {
121
121
  let t = !0;
122
122
  v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
123
123
  }
124
- }, S = (e) => {
124
+ }, M = (e) => {
125
125
  const o = e.target;
126
126
  if (o && o instanceof HTMLElement) {
127
127
  let t = !0;
128
128
  v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
129
129
  }
130
- }, _ = (e) => {
130
+ }, S = (e) => {
131
131
  var o;
132
- if (l.value && e.key === "Escape") {
132
+ if (s.value && e.key === "Escape") {
133
133
  if (((o = document.activeElement) == null ? void 0 : o.id) !== u) {
134
134
  const t = document.querySelector(`#${u}`);
135
135
  t instanceof HTMLElement && t.focus();
136
136
  }
137
137
  b();
138
138
  }
139
- }, W = g(!1), L = async () => {
140
- W.value = !0, await oe(50), l.value = !0, document.addEventListener("click", M, { passive: !0 }), document.addEventListener("focusin", S, { passive: !0 }), document.addEventListener("keydown", _, { passive: !0 });
139
+ }, W = y(!1), L = async () => {
140
+ W.value = !0, await oe(50), s.value = !0, document.addEventListener("click", I, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
141
141
  }, b = async () => {
142
- l.value = !1, document.removeEventListener("click", M), document.removeEventListener("focusin", S), document.removeEventListener("keydown", _);
142
+ s.value = !1, document.removeEventListener("click", I), document.removeEventListener("focusin", M), document.removeEventListener("keydown", S);
143
143
  }, G = F(() => ({
144
144
  class: {
145
145
  "bb-dropdown--block": r.block,
146
146
  [`bb-dropdown--${r.theme}`]: r.theme
147
147
  }
148
148
  }));
149
- return (e, o) => ($(), D("span", A({ class: "bb-dropdown" }, G.value), [
150
- H("span", {
149
+ return (e, o) => (h(), D("span", A({ class: "bb-dropdown" }, G.value), [
150
+ _("span", {
151
151
  ref_key: "wrapper",
152
152
  ref: v,
153
153
  class: "bb-dropdown__wrapper"
154
154
  }, [
155
- y(e.$slots, "activator", Y(Z({
155
+ g(e.$slots, "activator", Y(Z({
156
156
  props: {
157
- "aria-expanded": l.value,
158
- "aria-controls": `menu_${h(u)}`,
159
- id: h(u),
157
+ "aria-expanded": s.value,
158
+ "aria-controls": `menu_${$(u)}`,
159
+ id: $(u),
160
160
  onClick: R,
161
161
  onKeydown: U,
162
162
  disabled: e.disabled
@@ -164,7 +164,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
164
164
  closed: f.value,
165
165
  closing: p.value,
166
166
  disabled: e.disabled,
167
- open: l.value,
167
+ open: s.value,
168
168
  opening: c.value,
169
169
  placement: e.placement
170
170
  })))
@@ -173,13 +173,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
173
173
  "arrow-padding": e.arrowPadding,
174
174
  "base-class": "bb-dropdown",
175
175
  "container-attributes": {
176
- id: `menu_${h(u)}`,
177
- "aria-labelledby": h(u),
176
+ id: `menu_${$(u)}`,
177
+ "aria-labelledby": $(u),
178
178
  "aria-role": "menu"
179
179
  },
180
180
  eager: e.eager,
181
181
  offset: e.offset,
182
- open: l.value,
182
+ open: s.value,
183
183
  padding: e.padding,
184
184
  placement: e.placement,
185
185
  "teleport-target": e.teleportTarget,
@@ -188,30 +188,30 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
188
188
  wrapper: v.value
189
189
  }, {
190
190
  default: O(() => [
191
- H("span", {
191
+ _("span", {
192
192
  ref_key: "content",
193
193
  ref: a,
194
194
  class: "bb-dropdown__items-container",
195
195
  style: x({ width: `${e.width}px` })
196
196
  }, [
197
- y(e.$slots, "prepend", {
197
+ g(e.$slots, "prepend", {
198
198
  closed: f.value,
199
199
  closing: p.value,
200
200
  disabled: e.disabled,
201
- open: l.value,
201
+ open: s.value,
202
202
  opening: c.value,
203
203
  placement: e.placement
204
204
  }),
205
- ($(!0), D(K, null, ee(m.value, (t, n) => ($(), D(K, {
205
+ (h(!0), D(K, null, ee(m.value, (t, n) => (h(), D(K, {
206
206
  key: t.key
207
207
  }, [
208
- y(e.$slots, "item:prepend", {
208
+ g(e.$slots, "item:prepend", {
209
209
  closed: f.value,
210
210
  closing: p.value,
211
211
  disabled: t.disabled,
212
212
  index: n,
213
213
  item: e.items[n],
214
- open: l.value,
214
+ open: s.value,
215
215
  opening: c.value,
216
216
  placement: e.placement,
217
217
  text: t.text
@@ -226,61 +226,49 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
226
226
  ref_for: !0
227
227
  }, t), {
228
228
  default: O(() => [
229
- y(e.$slots, t.key, {
229
+ g(e.$slots, t.key, {
230
230
  closed: f.value,
231
231
  closing: p.value,
232
232
  disabled: t.disabled,
233
233
  index: n,
234
234
  item: t.original,
235
- open: l.value,
235
+ open: s.value,
236
236
  opening: c.value,
237
237
  placement: e.placement,
238
238
  text: t.text
239
239
  }, () => [
240
- y(e.$slots, "item", {
241
- closed: f.value,
242
- closing: p.value,
243
- disabled: t.disabled,
244
- index: n,
245
- item: t.original,
246
- open: l.value,
247
- opening: c.value,
248
- placement: e.placement,
249
- text: t.text
250
- }, () => [
251
- t["prepend:icon"] ? ($(), P(V, {
252
- key: 0,
253
- class: "item__prepend-icon",
254
- type: t["prepend:icon"]
255
- }, null, 8, ["type"])) : j("", !0),
256
- H("span", ie, te(t.text), 1),
257
- t["append:icon"] ? ($(), P(V, {
258
- key: 1,
259
- class: "item__append-icon",
260
- type: t["append:icon"]
261
- }, null, 8, ["type"])) : j("", !0)
262
- ])
240
+ t["prepend:icon"] ? (h(), P(V, {
241
+ key: 0,
242
+ class: "item__prepend-icon",
243
+ type: t["prepend:icon"]
244
+ }, null, 8, ["type"])) : j("", !0),
245
+ _("span", ie, te(t.text), 1),
246
+ t["append:icon"] ? (h(), P(V, {
247
+ key: 1,
248
+ class: "item__append-icon",
249
+ type: t["append:icon"]
250
+ }, null, 8, ["type"])) : j("", !0)
263
251
  ])
264
252
  ]),
265
253
  _: 2
266
254
  }, 1040, ["class"]),
267
- y(e.$slots, "item:append", {
255
+ g(e.$slots, "item:append", {
268
256
  closed: f.value,
269
257
  closing: p.value,
270
258
  disabled: t.disabled,
271
259
  index: n,
272
260
  item: e.items[n],
273
- open: l.value,
261
+ open: s.value,
274
262
  opening: c.value,
275
263
  placement: e.placement,
276
264
  text: t.text
277
265
  })
278
266
  ], 64))), 128)),
279
- y(e.$slots, "append", {
267
+ g(e.$slots, "append", {
280
268
  closed: f.value,
281
269
  closing: p.value,
282
270
  disabled: e.disabled,
283
- open: l.value,
271
+ open: s.value,
284
272
  opening: c.value,
285
273
  placement: e.placement
286
274
  })
package/dist/index77.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, ref as A, computed as y, openBlock as l, createElementBlock as z, mergeProps as _, unref as r, createVNode as u, withCtx as n, createBlock as P, createCommentVNode as v, createElementVNode as b, toDisplayString as h, createSlots as I, renderSlot as a, normalizeProps as i, guardReactiveProps as s, renderList as M } from "vue";
1
+ import { defineComponent as E, ref as A, computed as y, openBlock as l, createElementBlock as z, mergeProps as _, unref as d, createVNode as u, withCtx as n, createBlock as P, createCommentVNode as v, createElementVNode as b, toDisplayString as h, createSlots as I, renderSlot as r, normalizeProps as s, guardReactiveProps as p, renderList as M } from "vue";
2
2
  import D from "./index13.js";
3
3
  /* empty css */
4
4
  import O from "./index75.js";
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index212.js";
12
+ import { useLocale as T } from "./index222.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
@@ -38,8 +38,8 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
38
38
  setup(W) {
39
39
  const t = W, { t: m } = T(), c = A(0), f = y(
40
40
  () => t.loading || !!c.value && t.autoLoading
41
- ), j = (e) => async (...d) => {
42
- f.value && t.disabledWhileLoading || (c.value++, await e(...d), c.value--);
41
+ ), j = (e) => async (...a) => {
42
+ f.value && t.disabledWhileLoading || (c.value++, await e(...a), c.value--);
43
43
  }, w = y(
44
44
  () => t.items.map((e) => e.onClick ? {
45
45
  ...e,
@@ -53,27 +53,27 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
53
53
  const e = { ...w.value[0] };
54
54
  return e.disabled = e.disabled || t.disabled, e;
55
55
  }), N = typeof t.size == "string" ? { default: t.size } : { default: "md", ...t.size }, V = Object.entries(N).reduce(
56
- (e, [d, o]) => (d === "default" ? e[`data-${o}`] = "" : e[`data-${d}:${o}`] = "", e),
56
+ (e, [a, o]) => (a === "default" ? e[`data-${o}`] = "" : e[`data-${a}:${o}`] = "", e),
57
57
  {}
58
58
  );
59
- return (e, d) => (l(), z("span", _({
59
+ return (e, a) => (l(), z("span", _({
60
60
  class: ["bb-dropdown-button", {
61
61
  "bb-dropdown-button--block": e.block,
62
62
  "bb-dropdown-button--loading": f.value,
63
63
  [`bb-dropdown-button--${e.theme}`]: !0
64
64
  }]
65
- }, r(V)), [
65
+ }, d(V)), [
66
66
  u(D, _(k.value, { class: "bb-dropdown-button__main-btn" }), {
67
67
  default: n(() => [
68
- u(r(R), { class: "bb-dropdown-button__spinner" }),
69
- t["prepend:icon"] ? (l(), P(r(S), {
68
+ u(d(R), { class: "bb-dropdown-button__spinner" }),
69
+ t["prepend:icon"] ? (l(), P(d(S), {
70
70
  key: 0,
71
71
  class: "bb-dropdown-button__prepend-icon",
72
72
  type: t["prepend:icon"]
73
73
  }, null, 8, ["type"])) : v("", !0),
74
74
  b("span", Z, h(k.value.text), 1),
75
- f.value ? (l(), z("span", q, h(r(m)("common.loadingText").value), 1)) : v("", !0),
76
- t["append:icon"] ? (l(), P(r(S), {
75
+ f.value ? (l(), z("span", q, h(d(m)("common.loadingText").value), 1)) : v("", !0),
76
+ t["append:icon"] ? (l(), P(d(S), {
77
77
  key: 2,
78
78
  class: "bb-dropdown-button__append-icon",
79
79
  type: t["append:icon"]
@@ -96,34 +96,34 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
96
96
  }, I({
97
97
  activator: n(({
98
98
  props: o,
99
- opening: p,
99
+ opening: i,
100
100
  open: g,
101
- closed: $,
102
- closing: B,
101
+ closed: B,
102
+ closing: $,
103
103
  disabled: L,
104
104
  placement: C
105
105
  }) => [
106
- a(e.$slots, "activator", {
107
- closed: $,
108
- closing: B,
106
+ r(e.$slots, "activator", {
107
+ closed: B,
108
+ closing: $,
109
109
  disabled: L,
110
110
  open: g,
111
- opening: p,
111
+ opening: i,
112
112
  placement: C,
113
113
  props: o
114
114
  }, () => [
115
115
  u(D, _(o, { class: "bb-dropdown-button__dropdown-btn" }), {
116
116
  default: n(() => [
117
- b("span", F, h(g || p ? r(m)("dropdownButton.close").value : r(m)("dropdownButton.open").value), 1),
118
- a(e.$slots, "right-btn", {
119
- closed: $,
120
- closing: B,
117
+ b("span", F, h(g || i ? d(m)("dropdownButton.close").value : d(m)("dropdownButton.open").value), 1),
118
+ r(e.$slots, "right-btn", {
119
+ closed: B,
120
+ closing: $,
121
121
  disabled: L,
122
122
  open: g,
123
- opening: p,
123
+ opening: i,
124
124
  placement: C
125
125
  }, () => [
126
- d[0] || (d[0] = b("svg", {
126
+ a[0] || (a[0] = b("svg", {
127
127
  class: "bb-dropdown-button__dropdown-chevron",
128
128
  viewBox: "0 0 24 24",
129
129
  xmlns: "http://www.w3.org/2000/svg"
@@ -140,26 +140,23 @@ const Z = { class: "bb-dropdown-button__content" }, q = {
140
140
  ])
141
141
  ]),
142
142
  prepend: n((o) => [
143
- a(e.$slots, "prepend", i(s(o)))
143
+ r(e.$slots, "prepend", s(p(o)))
144
144
  ]),
145
145
  "item:prepend": n((o) => [
146
- a(e.$slots, "item:prepend", i(s(o)))
147
- ]),
148
- item: n((o) => [
149
- a(e.$slots, "item", i(s(o)))
146
+ r(e.$slots, "item:prepend", s(p(o)))
150
147
  ]),
151
148
  "item:append": n((o) => [
152
- a(e.$slots, "item:append", i(s(o)))
149
+ r(e.$slots, "item:append", s(p(o)))
153
150
  ]),
154
151
  append: n((o) => [
155
- a(e.$slots, "append", i(s(o)))
152
+ r(e.$slots, "append", s(p(o)))
156
153
  ]),
157
154
  _: 2
158
155
  }, [
159
156
  M(w.value, (o) => ({
160
157
  name: o.key,
161
- fn: n((p) => [
162
- a(e.$slots, o.key, i(s(p)))
158
+ fn: n((i) => [
159
+ r(e.$slots, o.key, s(p(i)))
163
160
  ])
164
161
  }))
165
162
  ]), 1032, ["id", "arrow-padding", "disabled", "eager", "items", "offset", "padding", "placement", "theme", "transition-duration", "width"])
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index259.js";
2
+ import { throttle as c } from "./index234.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as pe } from "./index230.js";
2
+ import { useFocusTrap as pe } from "./index235.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index260.js";
6
- import be from "./index252.js";
5
+ import { useModalsState as b } from "./index237.js";
6
+ import be from "./index238.js";
7
7
  import { useMobile as me } from "./index9.js";
8
- import { useLocale as ye } from "./index212.js";
8
+ import { useLocale as ye } from "./index222.js";
9
9
  const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index274.js";
2
+ import { debounce as T } from "./index267.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index212.js";
7
+ import { useLocale as D } from "./index222.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index230.js";
2
+ import { useFocusTrap as j } from "./index235.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index231.js";
5
+ import { waitFor as K } from "./index236.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index232.js";
8
+ import U from "./index246.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index212.js";
11
- import { useDebounceFn as Y } from "./index205.js";
10
+ import { useLocale as X } from "./index222.js";
11
+ import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
14
14
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index206.js";
2
+ import { clamp as p } from "./index205.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",