bitboss-ui 2.0.87 → 2.0.89

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 (230) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +14 -7
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +17 -6
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +27 -224
  4. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +14 -2
  5. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  6. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +1 -1
  7. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +27 -18
  8. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +1 -1
  9. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +1 -1
  10. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +155 -19
  11. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +16 -2
  12. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +10 -3
  13. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +13 -2
  14. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +15 -6
  15. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +27 -224
  16. package/dist/components/BaseRating/BaseRating.vue.d.ts +13 -2
  17. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +315 -6
  18. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +17 -3
  19. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +13 -2
  20. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +28 -217
  21. package/dist/components/BaseTag/BaseTag.vue.d.ts +200 -4
  22. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +14 -3
  23. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +13 -2
  24. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +28 -20
  25. package/dist/components/BbAlert/BbAlert.vue.d.ts +23 -16
  26. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +15 -6
  27. package/dist/components/BbBadge/BbBadge.vue.d.ts +14 -7
  28. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +51 -44
  29. package/dist/components/BbButton/BbButton.vue.d.ts +13 -6
  30. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +28 -19
  31. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +32 -252
  32. package/dist/components/BbChip/BbChip.vue.d.ts +13 -6
  33. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +13 -6
  34. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +21 -12
  35. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +24 -17
  36. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +29 -22
  37. package/dist/components/BbDialog/BbDialog.vue.d.ts +9 -2
  38. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +177 -159
  39. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +190 -183
  40. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +26 -17
  41. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +24 -15
  42. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +102 -12
  43. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +17 -3
  44. package/dist/components/BbPagination/BbPagination.vue.d.ts +33 -23
  45. package/dist/components/BbPopover/BbPopover.vue.d.ts +66 -54
  46. package/dist/components/BbRadio/BbRadio.vue.d.ts +28 -19
  47. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +32 -252
  48. package/dist/components/BbRating/BbRating.vue.d.ts +21 -12
  49. package/dist/components/BbRatio/BbRatio.vue.d.ts +14 -7
  50. package/dist/components/BbSelect/BbSelect.vue.d.ts +7 -162
  51. package/dist/components/BbSlider/BbSlider.vue.d.ts +21 -12
  52. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +13 -3
  53. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +28 -19
  54. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +32 -252
  55. package/dist/components/BbTab/BbTab.vue.d.ts +89 -78
  56. package/dist/components/BbTable/BbTable.vue.d.ts +95 -78
  57. package/dist/components/BbTable/types.d.ts +0 -4
  58. package/dist/components/BbTag/BbTag.vue.d.ts +11 -2
  59. package/dist/components/BbTeleport.vue.d.ts +10 -3
  60. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +21 -12
  61. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +21 -12
  62. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  63. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  64. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +13 -3
  65. package/dist/components/BbTree/BbTree.vue.d.ts +9 -2
  66. package/dist/components/ChipsBox.vue.d.ts +2 -2
  67. package/dist/components/CommaBox.vue.d.ts +2 -2
  68. package/dist/components/CommonFloating.vue.d.ts +15 -7
  69. package/dist/components/CommonInputInnerContainer.vue.d.ts +16 -7
  70. package/dist/components/CommonInputOuterContainer.vue.d.ts +12 -5
  71. package/dist/components/ListBox.vue.d.ts +25 -16
  72. package/dist/components/OptionsContainer.vue.d.ts +26 -88
  73. package/dist/components/Transitions/Slide.vue.d.ts +12 -5
  74. package/dist/components/Transitions/SlideBack.vue.d.ts +12 -5
  75. package/dist/composables/useBroadcastChannelInstance.d.ts +2 -2
  76. package/dist/composables/useToast.d.ts +1 -1
  77. package/dist/composables/useWizard.d.ts +1 -1
  78. package/dist/index110.js +143 -135
  79. package/dist/index118.js +2 -2
  80. package/dist/index120.js +5 -5
  81. package/dist/index122.js +1 -1
  82. package/dist/index126.js +1 -1
  83. package/dist/index127.js +1 -1
  84. package/dist/index128.js +1 -1
  85. package/dist/index13.js +1 -1
  86. package/dist/index130.js +1 -1
  87. package/dist/index132.js +6 -6
  88. package/dist/index15.js +4 -4
  89. package/dist/index17.js +3 -3
  90. package/dist/index19.js +2 -2
  91. package/dist/index204.js +2 -81
  92. package/dist/index205.js +53 -2
  93. package/dist/index207.js +13 -4
  94. package/dist/index208.js +5 -2
  95. package/dist/index209.js +14 -124
  96. package/dist/index21.js +14 -14
  97. package/dist/index210.js +16 -5
  98. package/dist/index211.js +17 -123
  99. package/dist/index212.js +18 -18
  100. package/dist/index213.js +24 -13
  101. package/dist/index214.js +3 -16
  102. package/dist/index215.js +2 -2
  103. package/dist/index216.js +8 -2
  104. package/dist/index217.js +248 -40
  105. package/dist/index218.js +50 -18
  106. package/dist/index219.js +43 -5
  107. package/dist/index220.js +4 -52
  108. package/dist/index221.js +62 -0
  109. package/dist/index222.js +3 -13
  110. package/dist/index223.js +3 -5
  111. package/dist/index224.js +41 -12
  112. package/dist/index225.js +6 -369
  113. package/dist/index226.js +7 -4
  114. package/dist/index227.js +12 -164
  115. package/dist/index228.js +80 -83
  116. package/dist/index229.js +166 -0
  117. package/dist/index23.js +16 -16
  118. package/dist/index230.js +84 -19
  119. package/dist/index232.js +2 -3
  120. package/dist/index233.js +4 -8
  121. package/dist/index234.js +2 -249
  122. package/dist/index235.js +18 -50
  123. package/dist/index236.js +4 -44
  124. package/dist/index237.js +126 -5
  125. package/dist/index238.js +124 -59
  126. package/dist/index239.js +2 -3
  127. package/dist/index240.js +5 -7
  128. package/dist/index241.js +369 -3
  129. package/dist/index242.js +2 -2
  130. package/dist/index243.js +2 -18
  131. package/dist/index244.js +17 -105
  132. package/dist/index245.js +108 -0
  133. package/dist/{index246.js → index247.js} +1 -1
  134. package/dist/index25.js +6 -6
  135. package/dist/index251.js +9 -6
  136. package/dist/index252.js +23 -16
  137. package/dist/index253.js +88 -8
  138. package/dist/index255.js +6 -89
  139. package/dist/index256.js +18 -0
  140. package/dist/index258.js +3 -4
  141. package/dist/index260.js +7 -6
  142. package/dist/index261.js +281 -2
  143. package/dist/index262.js +6 -2
  144. package/dist/index263.js +2 -2
  145. package/dist/index266.js +2 -126
  146. package/dist/index267.js +2 -431
  147. package/dist/index268.js +2 -176
  148. package/dist/index269.js +2 -3
  149. package/dist/index27.js +1 -1
  150. package/dist/index270.js +4 -0
  151. package/dist/index271.js +2 -7
  152. package/dist/index272.js +1 -21
  153. package/dist/index273.js +30 -0
  154. package/dist/index274.js +21 -1
  155. package/dist/index276.js +224 -12
  156. package/dist/index277.js +429 -7
  157. package/dist/index278.js +2 -9
  158. package/dist/index279.js +87 -15
  159. package/dist/index280.js +3 -4
  160. package/dist/index281.js +11 -435
  161. package/dist/index282.js +7 -125
  162. package/dist/index283.js +8 -199
  163. package/dist/index284.js +17 -2
  164. package/dist/index285.js +4 -2
  165. package/dist/index286.js +4 -2
  166. package/dist/index287.js +176 -2
  167. package/dist/index288.js +200 -2
  168. package/dist/index289.js +2 -2
  169. package/dist/index29.js +3 -3
  170. package/dist/index290.js +65 -27
  171. package/dist/index291.js +2 -22
  172. package/dist/index292.js +128 -0
  173. package/dist/index293.js +22 -89
  174. package/dist/index295.js +5 -3
  175. package/dist/index296.js +436 -3
  176. package/dist/index297.js +126 -210
  177. package/dist/index298.js +3 -2
  178. package/dist/index299.js +3 -5
  179. package/dist/index300.js +204 -59
  180. package/dist/index301.js +3 -4
  181. package/dist/index302.js +2 -3
  182. package/dist/index303.js +3 -59
  183. package/dist/index304.js +58 -3
  184. package/dist/index305.js +6 -32
  185. package/dist/index306.js +17 -5
  186. package/dist/index309.js +32 -6
  187. package/dist/index31.js +2 -2
  188. package/dist/index310.js +5 -17
  189. package/dist/index313.js +2 -47
  190. package/dist/index314.js +47 -2
  191. package/dist/{index316.js → index315.js} +2 -2
  192. package/dist/index317.js +1 -1
  193. package/dist/index318.js +2 -47
  194. package/dist/index319.js +47 -2
  195. package/dist/index33.js +2 -2
  196. package/dist/index35.js +3 -3
  197. package/dist/index37.js +14 -14
  198. package/dist/index39.js +4 -4
  199. package/dist/index41.js +2 -2
  200. package/dist/index43.js +2 -2
  201. package/dist/index45.js +6 -6
  202. package/dist/index47.js +2 -2
  203. package/dist/index49.js +2 -2
  204. package/dist/index55.js +1 -1
  205. package/dist/index57.js +1 -1
  206. package/dist/index75.js +99 -85
  207. package/dist/index79.js +2 -2
  208. package/dist/index81.js +1 -1
  209. package/dist/index84.js +3 -3
  210. package/dist/index88.js +4 -4
  211. package/dist/index90.js +1 -1
  212. package/dist/style.css +1 -1
  213. package/dist/utilities/functions/booleanishToBoolean.d.ts +1 -1
  214. package/dist/utilities/functions/deburr.d.ts +1 -1
  215. package/dist/utilities/functions/flattenTree.d.ts +1 -1
  216. package/dist/utilities/functions/groupBy.d.ts +1 -1
  217. package/dist/utilities/functions/indexBy.d.ts +1 -1
  218. package/dist/utilities/functions/mapValues.d.ts +1 -1
  219. package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
  220. package/dist/utilities/functions/replace.d.ts +1 -1
  221. package/dist/utilities/functions/retry.d.ts +1 -1
  222. package/dist/utilities/functions/throttle.d.ts +2 -2
  223. package/package.json +4 -4
  224. package/dist/index206.js +0 -4
  225. package/dist/index231.js +0 -29
  226. package/dist/index248.js +0 -4
  227. package/dist/index254.js +0 -25
  228. package/dist/index259.js +0 -283
  229. package/dist/index275.js +0 -5
  230. package/dist/index294.js +0 -226
package/dist/index75.js CHANGED
@@ -1,14 +1,16 @@
1
- import { defineComponent as J, computed as A, ref as w, openBlock as T, createElementBlock as D, mergeProps as B, createElementVNode as C, renderSlot as g, normalizeProps as Q, guardReactiveProps as W, unref as h, createVNode as O, withCtx as K, normalizeStyle as X, Fragment as P, renderList as Y } from "vue";
2
- import { findRightIndex as H } from "./index253.js";
3
- import { useId as Z } from "./index8.js";
4
- import { wait as x } from "./index131.js";
5
- import { useIntersectionObserver as ee } from "./index132.js";
6
- import te from "./index13.js";
1
+ import { defineComponent as X, computed as A, ref as y, openBlock as h, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
+ import { findRightIndex as I } from "./index251.js";
3
+ import { useId as ne } from "./index8.js";
4
+ import { wait as oe } from "./index131.js";
5
+ import { useIntersectionObserver as ae } from "./index132.js";
6
+ import le from "./index13.js";
7
7
  /* empty css */
8
- import j from "./index254.js";
9
- import ne from "./index255.js";
8
+ import V from "./index252.js";
9
+ import se from "./index253.js";
10
10
  /* empty css */
11
- const pe = /* @__PURE__ */ J({
11
+ import j from "./index126.js";
12
+ /* empty css */
13
+ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
12
14
  __name: "BbDropdown",
13
15
  props: {
14
16
  arrowPadding: { default: 10 },
@@ -25,47 +27,47 @@ const pe = /* @__PURE__ */ J({
25
27
  width: { default: 200 }
26
28
  },
27
29
  setup(z) {
28
- const r = z, d = r.id ?? `bb_${Z().id.value}`, m = A(() => {
29
- let e = r.items.findIndex((t) => !t.disabled), o = H(
30
+ const r = z, u = r.id ?? `bb_${ne().id.value}`, m = A(() => {
31
+ let e = r.items.findIndex((t) => !t.disabled), o = I(
30
32
  r.items,
31
33
  (t) => !t.disabled
32
34
  );
33
35
  return r.items.map((t, n) => {
34
- const i = `${d}-item-${t.key}`, { onClick: q, ...F } = t, _ = async () => {
36
+ const i = `${u}-item-${t.key}`, { onClick: q, ...F } = t, Q = async () => {
35
37
  await b();
36
- const s = document.querySelector(`#${d}`);
38
+ const s = document.querySelector(`#${u}`);
37
39
  if (s) s instanceof HTMLElement && s.focus();
38
40
  else return;
39
41
  q && q();
40
- }, G = (s) => {
42
+ }, W = (s) => {
41
43
  if (s.target instanceof HTMLElement && s.target.dataset.dropdownItem) {
42
44
  if (!a.value) return;
43
45
  if (s.key === "ArrowDown") {
44
46
  if (s.preventDefault(), a.value && n !== o) {
45
- const u = a.value.querySelector(
46
- j.map((y) => `#${i} ~ ${y}`).join(",")
47
+ const d = a.value.querySelector(
48
+ V.map((g) => `#${i} ~ ${g}`).join(",")
47
49
  );
48
- u && u instanceof HTMLElement && u.focus();
50
+ d && d instanceof HTMLElement && d.focus();
49
51
  }
50
52
  } else if (s.key === "ArrowUp") {
51
53
  if (s.preventDefault(), a.value && n !== e) {
52
- const u = H(r.items, (E, L) => L < n && !E.disabled), k = Array.from(
54
+ const d = I(r.items, (E, D) => D < n && !E.disabled), k = Array.from(
53
55
  a.value.querySelectorAll(".bb-dropdown__item")
54
- )[u];
56
+ )[d];
55
57
  k && k instanceof HTMLElement && k.focus();
56
58
  }
57
59
  } else if (s.key === "Tab") {
58
60
  if (n === o && !s.shiftKey) {
59
- const u = j.join(","), y = Array.from(
60
- document.querySelectorAll(u)
61
- ), k = y.findIndex(
62
- (L) => L.id === d
63
- ), E = y[k + 1];
61
+ const d = V.join(","), g = Array.from(
62
+ document.querySelectorAll(d)
63
+ ), k = g.findIndex(
64
+ (D) => D.id === u
65
+ ), E = g[k + 1];
64
66
  if (E) E instanceof HTMLElement && (s.preventDefault(), b(), E.focus());
65
67
  else return;
66
68
  } else if (n === e && s.shiftKey) {
67
- const u = document.querySelector(`#${d}`);
68
- if (u) u instanceof HTMLElement && (s.preventDefault(), u.focus());
69
+ const d = document.querySelector(`#${u}`);
70
+ if (d) d instanceof HTMLElement && (s.preventDefault(), d.focus());
69
71
  else return;
70
72
  }
71
73
  }
@@ -75,34 +77,34 @@ const pe = /* @__PURE__ */ J({
75
77
  ...F,
76
78
  disabled: F.disabled || r.disabled,
77
79
  id: i,
78
- onClick: _,
79
- onKeydown: G
80
+ onClick: Q,
81
+ onKeydown: W
80
82
  };
81
83
  });
82
- }), v = w(), a = w();
83
- ee(
84
+ }), v = y(), a = y();
85
+ ae(
84
86
  v,
85
87
  ([{ intersectionRatio: e }]) => {
86
88
  e !== 1 && l.value && b();
87
89
  },
88
90
  { threshold: [0, 1] }
89
91
  );
90
- const c = w(!1), l = w(!1), f = w(!1), p = w(!0), N = () => {
91
- c.value || f.value || (l.value ? b() : $());
92
- }, R = async (e) => {
93
- let o = r.items.findIndex((n) => !n.disabled), t = H(
92
+ const c = y(!1), l = y(!1), p = y(!1), f = y(!0), R = () => {
93
+ c.value || p.value || (l.value ? b() : L());
94
+ }, U = async (e) => {
95
+ let o = r.items.findIndex((n) => !n.disabled), t = I(
94
96
  r.items,
95
97
  (n) => !n.disabled
96
98
  );
97
99
  if (e.key === "ArrowDown") {
98
- if (e.preventDefault(), f.value || c.value) return;
99
- if (p.value && await $(), a.value && m.value.length && o !== -1) {
100
+ if (e.preventDefault(), p.value || c.value) return;
101
+ if (f.value && await L(), a.value && m.value.length && o !== -1) {
100
102
  const n = m.value[o].id, i = a.value.querySelector(`#${n}`);
101
103
  i && i instanceof HTMLElement && i.focus();
102
104
  }
103
105
  } else if (e.key === "ArrowUp") {
104
- if (e.preventDefault(), f.value || c.value) return;
105
- if (p.value && await $(), a.value && m.value.length && t !== -1) {
106
+ if (e.preventDefault(), p.value || c.value) return;
107
+ if (f.value && await L(), a.value && m.value.length && t !== -1) {
106
108
  const n = m.value[t].id, i = a.value.querySelector(`#${n}`);
107
109
  i && i instanceof HTMLElement && i.focus();
108
110
  }
@@ -110,66 +112,66 @@ const pe = /* @__PURE__ */ J({
110
112
  const n = m.value[o].id, i = a.value.querySelector(`#${n}`);
111
113
  i && i instanceof HTMLElement && i.focus();
112
114
  }
113
- }, I = (e) => {
115
+ }, M = (e) => {
114
116
  const o = e.target;
115
117
  if (o && o instanceof HTMLElement) {
116
118
  let t = !0;
117
119
  v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
118
120
  }
119
- }, M = (e) => {
121
+ }, S = (e) => {
120
122
  const o = e.target;
121
123
  if (o && o instanceof HTMLElement) {
122
124
  let t = !0;
123
125
  v.value && v.value.contains(o) && (t = !1), a.value && a.value.contains(o) && (t = !1), t && b();
124
126
  }
125
- }, S = (e) => {
127
+ }, _ = (e) => {
126
128
  var o;
127
129
  if (l.value && e.key === "Escape") {
128
- if (((o = document.activeElement) == null ? void 0 : o.id) !== d) {
129
- const t = document.querySelector(`#${d}`);
130
+ if (((o = document.activeElement) == null ? void 0 : o.id) !== u) {
131
+ const t = document.querySelector(`#${u}`);
130
132
  t instanceof HTMLElement && t.focus();
131
133
  }
132
134
  b();
133
135
  }
134
- }, U = w(!1), $ = async () => {
135
- U.value = !0, await x(50), l.value = !0, document.addEventListener("click", I, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
136
+ }, G = y(!1), L = async () => {
137
+ G.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 });
136
138
  }, b = async () => {
137
- l.value = !1, document.removeEventListener("click", I), document.removeEventListener("focusin", M), document.removeEventListener("keydown", S);
138
- }, V = A(() => ({
139
+ l.value = !1, document.removeEventListener("click", M), document.removeEventListener("focusin", S), document.removeEventListener("keydown", _);
140
+ }, J = A(() => ({
139
141
  class: {
140
142
  "bb-dropdown--block": r.block,
141
143
  [`bb-dropdown--theme-${r.theme}`]: r.theme
142
144
  }
143
145
  }));
144
- return (e, o) => (T(), D("span", B({ class: "bb-dropdown" }, V.value), [
145
- C("span", {
146
+ return (e, o) => (h(), T("span", B({ class: "bb-dropdown" }, J.value), [
147
+ H("span", {
146
148
  ref_key: "wrapper",
147
149
  ref: v,
148
150
  class: "bb-dropdown__wrapper"
149
151
  }, [
150
- g(e.$slots, "activator", Q(W({
152
+ w(e.$slots, "activator", Y(Z({
151
153
  props: {
152
154
  "aria-expanded": l.value,
153
- "aria-controls": `menu_${h(d)}`,
154
- id: h(d),
155
- onClick: N,
156
- onKeydown: R,
155
+ "aria-controls": `menu_${$(u)}`,
156
+ id: $(u),
157
+ onClick: R,
158
+ onKeydown: U,
157
159
  disabled: e.disabled
158
160
  },
159
- closed: p.value,
160
- closing: f.value,
161
+ closed: f.value,
162
+ closing: p.value,
161
163
  disabled: e.disabled,
162
164
  open: l.value,
163
165
  opening: c.value,
164
166
  placement: e.placement
165
167
  })))
166
168
  ], 512),
167
- O(ne, {
169
+ C(se, {
168
170
  "arrow-padding": e.arrowPadding,
169
171
  "base-class": "bb-dropdown",
170
172
  "container-attributes": {
171
- id: `menu_${h(d)}`,
172
- "aria-labelledby": h(d),
173
+ id: `menu_${$(u)}`,
174
+ "aria-labelledby": $(u),
173
175
  "aria-role": "menu"
174
176
  },
175
177
  eager: e.eager,
@@ -181,27 +183,27 @@ const pe = /* @__PURE__ */ J({
181
183
  "transition-duration": e.transitionDuration,
182
184
  wrapper: v.value
183
185
  }, {
184
- default: K(() => [
185
- C("span", {
186
+ default: O(() => [
187
+ H("span", {
186
188
  ref_key: "content",
187
189
  ref: a,
188
190
  class: "bb-dropdown__items-container",
189
- style: X({ width: `${e.width}px` })
191
+ style: x({ width: `${e.width}px` })
190
192
  }, [
191
- g(e.$slots, "prepend", {
192
- closed: p.value,
193
- closing: f.value,
193
+ w(e.$slots, "prepend", {
194
+ closed: f.value,
195
+ closing: p.value,
194
196
  disabled: e.disabled,
195
197
  open: l.value,
196
198
  opening: c.value,
197
199
  placement: e.placement
198
200
  }),
199
- (T(!0), D(P, null, Y(m.value, (t, n) => (T(), D(P, {
201
+ (h(!0), T(K, null, ee(m.value, (t, n) => (h(), T(K, {
200
202
  key: t.key
201
203
  }, [
202
- g(e.$slots, "item:prepend", {
203
- closed: p.value,
204
- closing: f.value,
204
+ w(e.$slots, "item:prepend", {
205
+ closed: f.value,
206
+ closing: p.value,
205
207
  disabled: t.disabled,
206
208
  index: n,
207
209
  item: e.items[n],
@@ -210,7 +212,7 @@ const pe = /* @__PURE__ */ J({
210
212
  placement: e.placement,
211
213
  text: t.text
212
214
  }),
213
- O(te, B({
215
+ C(le, B({
214
216
  "aria-role": "menuitem",
215
217
  class: ["bb-dropdown__item", {
216
218
  "bb-dropdown__item--first": n === 0,
@@ -219,10 +221,10 @@ const pe = /* @__PURE__ */ J({
219
221
  "data-dropdown-item": !0,
220
222
  ref_for: !0
221
223
  }, t), {
222
- default: K(() => [
223
- g(e.$slots, t.key, {
224
- closed: p.value,
225
- closing: f.value,
224
+ default: O(() => [
225
+ w(e.$slots, t.key, {
226
+ closed: f.value,
227
+ closing: p.value,
226
228
  disabled: t.disabled,
227
229
  index: n,
228
230
  item: t,
@@ -231,9 +233,9 @@ const pe = /* @__PURE__ */ J({
231
233
  placement: e.placement,
232
234
  text: t.text
233
235
  }, () => [
234
- g(e.$slots, "item", {
235
- closed: p.value,
236
- closing: f.value,
236
+ w(e.$slots, "item", {
237
+ closed: f.value,
238
+ closing: p.value,
237
239
  disabled: t.disabled,
238
240
  index: n,
239
241
  item: t,
@@ -241,14 +243,26 @@ const pe = /* @__PURE__ */ J({
241
243
  opening: c.value,
242
244
  placement: e.placement,
243
245
  text: t.text
244
- })
246
+ }, () => [
247
+ t["prepend:icon"] ? (h(), P(j, {
248
+ key: 0,
249
+ class: "item__prepend-icon",
250
+ type: t["prepend:icon"]
251
+ }, null, 8, ["type"])) : N("", !0),
252
+ H("span", ie, te(t.text), 1),
253
+ t["append:icon"] ? (h(), P(j, {
254
+ key: 1,
255
+ class: "item__append-icon",
256
+ type: t["append:icon"]
257
+ }, null, 8, ["type"])) : N("", !0)
258
+ ])
245
259
  ])
246
260
  ]),
247
261
  _: 2
248
262
  }, 1040, ["class"]),
249
- g(e.$slots, "item:append", {
250
- closed: p.value,
251
- closing: f.value,
263
+ w(e.$slots, "item:append", {
264
+ closed: f.value,
265
+ closing: p.value,
252
266
  disabled: t.disabled,
253
267
  index: n,
254
268
  item: e.items[n],
@@ -258,9 +272,9 @@ const pe = /* @__PURE__ */ J({
258
272
  text: t.text
259
273
  })
260
274
  ], 64))), 128)),
261
- g(e.$slots, "append", {
262
- closed: p.value,
263
- closing: f.value,
275
+ w(e.$slots, "append", {
276
+ closed: f.value,
277
+ closing: p.value,
264
278
  disabled: e.disabled,
265
279
  open: l.value,
266
280
  opening: c.value,
@@ -274,5 +288,5 @@ const pe = /* @__PURE__ */ J({
274
288
  }
275
289
  });
276
290
  export {
277
- pe as default
291
+ ke as default
278
292
  };
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index252.js";
2
+ import { findInTree as ae } from "./index256.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index127.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index251.js")).default);
56
+ b || (b = (await import("./index255.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
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 "./index239.js";
2
+ import { throttle as c } from "./index223.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as N, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, withCtx as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index217.js";
2
+ import { useFocusTrap as ce } from "./index224.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as b } from "./index240.js";
6
- import de from "./index224.js";
5
+ import { useModalsState as b } from "./index226.js";
6
+ import de from "./index227.js";
7
7
  const fe = ["inert"], ve = { class: "bb-offcanvas-close" }, pe = ["aria-label"], ke = /* @__PURE__ */ te({
8
8
  __name: "BbOffCanvas",
9
9
  props: {
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index217.js";
2
+ import { useFocusTrap as z } from "./index224.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index132.js";
5
- import { waitFor as j } from "./index219.js";
5
+ import { waitFor as j } from "./index225.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
- import J from "./index255.js";
8
+ import J from "./index253.js";
9
9
  /* empty css */
10
- import { useDebounceFn as K } from "./index204.js";
10
+ import { useDebounceFn as K } from "./index228.js";
11
11
  const re = /* @__PURE__ */ M({
12
12
  __name: "BbPopover",
13
13
  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 "./index205.js";
2
+ import { clamp as p } from "./index204.js";
3
3
  import { getAsPercentageBetween as i } from "./index130.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",