bitboss-ui 0.2.9 → 0.2.11

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 (201) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +4 -2
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +4 -2
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +63 -3
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +22 -2
  5. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +27 -2
  6. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -2
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +2 -2
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +2 -2
  9. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +4 -2
  10. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +63 -3
  11. package/dist/components/BaseRating/BaseRating.vue.d.ts +2 -2
  12. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +3 -3
  13. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
  14. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +2 -2
  15. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +63 -3
  16. package/dist/components/BaseTag/BaseTag.vue.d.ts +2 -2
  17. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +2 -2
  18. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
  19. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +11 -2
  20. package/dist/components/BbAlert/BbAlert.vue.d.ts +9 -2
  21. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +4 -2
  22. package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -2
  23. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +23 -2
  24. package/dist/components/BbButton/BbButton.vue.d.ts +4 -2
  25. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +10 -2
  26. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +75 -3
  27. package/dist/components/BbChip/BbChip.vue.d.ts +4 -2
  28. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -2
  29. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  30. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +35 -2
  31. package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
  32. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +80 -2
  33. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +92 -2
  34. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +7 -2
  35. package/dist/components/BbHover/BbHover.vue.d.ts +9 -2
  36. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  37. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +8 -2
  38. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
  39. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  40. package/dist/components/BbPagination/BbPagination.vue.d.ts +11 -2
  41. package/dist/components/BbPopover/BbPopover.vue.d.ts +21 -2
  42. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  43. package/dist/components/BbRadio/BbRadio.vue.d.ts +10 -2
  44. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +75 -3
  45. package/dist/components/BbRating/BbRating.vue.d.ts +7 -2
  46. package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -2
  47. package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -3
  48. package/dist/components/BbSlider/BbSlider.vue.d.ts +7 -2
  49. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
  50. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  51. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +10 -2
  52. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +75 -3
  53. package/dist/components/BbTab/BbTab.vue.d.ts +29 -5
  54. package/dist/components/BbTable/BbTable.vue.d.ts +38 -2
  55. package/dist/components/BbTag/BbTag.vue.d.ts +2 -2
  56. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +7 -2
  57. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -2
  58. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  59. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  60. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  61. package/dist/components/BbTree/BbTree.vue.d.ts +2 -2
  62. package/dist/index101.js +3 -3
  63. package/dist/index103.js +2 -2
  64. package/dist/index109.js +1 -1
  65. package/dist/index11.js +2 -2
  66. package/dist/index111.js +5 -6
  67. package/dist/index111.js.map +1 -1
  68. package/dist/index113.js +1 -1
  69. package/dist/index115.js +7 -7
  70. package/dist/index115.js.map +1 -1
  71. package/dist/index116.js +1 -1
  72. package/dist/index117.js +1 -1
  73. package/dist/index118.js +1 -1
  74. package/dist/index119.js +1 -1
  75. package/dist/index121.js +1 -1
  76. package/dist/index125.js +1 -1
  77. package/dist/index126.js +1 -1
  78. package/dist/index128.js +2 -2
  79. package/dist/index128.js.map +1 -1
  80. package/dist/index15.js +8 -8
  81. package/dist/index17.js +25 -25
  82. package/dist/index19.js +3 -3
  83. package/dist/index195.js +2 -2
  84. package/dist/index195.js.map +1 -1
  85. package/dist/index196.js +2 -4
  86. package/dist/index196.js.map +1 -1
  87. package/dist/index197.js +2 -2
  88. package/dist/index197.js.map +1 -1
  89. package/dist/index198.js +2 -5
  90. package/dist/index198.js.map +1 -1
  91. package/dist/index199.js +5 -16
  92. package/dist/index199.js.map +1 -1
  93. package/dist/index200.js +10 -10
  94. package/dist/index200.js.map +1 -1
  95. package/dist/index201.js +15 -18
  96. package/dist/index201.js.map +1 -1
  97. package/dist/index202.js +18 -19
  98. package/dist/index202.js.map +1 -1
  99. package/dist/index203.js +15 -24
  100. package/dist/index203.js.map +1 -1
  101. package/dist/index204.js +29 -8
  102. package/dist/index204.js.map +1 -1
  103. package/dist/index205.js +8 -2
  104. package/dist/index205.js.map +1 -1
  105. package/dist/index206.js +2 -351
  106. package/dist/index206.js.map +1 -1
  107. package/dist/index207.js +4 -2
  108. package/dist/index207.js.map +1 -1
  109. package/dist/index208.js +378 -6
  110. package/dist/index208.js.map +1 -1
  111. package/dist/index209.js +126 -361
  112. package/dist/index209.js.map +1 -1
  113. package/dist/index21.js +2 -2
  114. package/dist/index210.js +174 -3
  115. package/dist/index210.js.map +1 -1
  116. package/dist/index211.js +23 -35
  117. package/dist/index211.js.map +1 -1
  118. package/dist/index212.js +371 -8
  119. package/dist/index212.js.map +1 -1
  120. package/dist/index213.js +3 -134
  121. package/dist/index213.js.map +1 -1
  122. package/dist/index214.js +3 -2
  123. package/dist/index214.js.map +1 -1
  124. package/dist/index215.js +3 -186
  125. package/dist/index215.js.map +1 -1
  126. package/dist/index216.js +35 -23
  127. package/dist/index216.js.map +1 -1
  128. package/dist/index217.js +6 -2
  129. package/dist/index217.js.map +1 -1
  130. package/dist/index218.js +2 -235
  131. package/dist/index218.js.map +1 -1
  132. package/dist/index219.js +10 -3
  133. package/dist/index219.js.map +1 -1
  134. package/dist/index220.js +235 -3
  135. package/dist/index220.js.map +1 -1
  136. package/dist/index222.js +67 -62
  137. package/dist/index222.js.map +1 -1
  138. package/dist/index223.js +1 -1
  139. package/dist/index225.js +1 -1
  140. package/dist/index226.js +295 -4
  141. package/dist/index226.js.map +1 -1
  142. package/dist/index227.js +5 -294
  143. package/dist/index227.js.map +1 -1
  144. package/dist/index228.js +2 -6
  145. package/dist/index228.js.map +1 -1
  146. package/dist/index229.js +2 -2
  147. package/dist/index23.js +2 -2
  148. package/dist/index23.js.map +1 -1
  149. package/dist/index234.js +4 -2
  150. package/dist/index234.js.map +1 -1
  151. package/dist/index235.js +2 -117
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +111 -100
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +105 -68
  156. package/dist/index237.js.map +1 -1
  157. package/dist/index238.js +224 -2
  158. package/dist/index238.js.map +1 -1
  159. package/dist/index239.js +258 -2
  160. package/dist/index239.js.map +1 -1
  161. package/dist/index240.js +426 -153
  162. package/dist/index240.js.map +1 -1
  163. package/dist/index241.js +89 -2
  164. package/dist/index241.js.map +1 -1
  165. package/dist/index242.js +67 -433
  166. package/dist/index242.js.map +1 -1
  167. package/dist/index243.js +161 -88
  168. package/dist/index243.js.map +1 -1
  169. package/dist/index244.js +2 -200
  170. package/dist/index244.js.map +1 -1
  171. package/dist/index245.js +2 -2
  172. package/dist/index245.js.map +1 -1
  173. package/dist/index246.js +2 -224
  174. package/dist/index246.js.map +1 -1
  175. package/dist/index247.js +200 -258
  176. package/dist/index247.js.map +1 -1
  177. package/dist/index25.js +2 -2
  178. package/dist/index251.js +1 -1
  179. package/dist/index252.js +1 -1
  180. package/dist/index253.js +2 -2
  181. package/dist/index29.js +3 -3
  182. package/dist/index31.js +52 -52
  183. package/dist/index31.js.map +1 -1
  184. package/dist/index33.js +2 -2
  185. package/dist/index35.js +2 -2
  186. package/dist/index43.js +5 -5
  187. package/dist/index43.js.map +1 -1
  188. package/dist/index47.js +1 -1
  189. package/dist/index49.js +1 -1
  190. package/dist/index65.js +5 -5
  191. package/dist/index69.js +30 -30
  192. package/dist/index69.js.map +1 -1
  193. package/dist/index72.js +1 -1
  194. package/dist/index75.js +1 -1
  195. package/dist/index79.js +5 -5
  196. package/dist/index8.js +56 -56
  197. package/dist/index8.js.map +1 -1
  198. package/dist/index81.js +1 -1
  199. package/dist/style.css +1 -1
  200. package/dist/utilities/functions/cloneDeep.d.ts +1 -1
  201. package/package.json +2 -2
package/dist/index25.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as n, ref as _, openBlock as w, createElementBlock as B, normalizeClass as C, createElementVNode as l, normalizeProps as t, guardReactiveProps as u, renderSlot as V } from "vue";
2
- import { isCssColor as i } from "./index195.js";
3
- import { when as E } from "./index196.js";
2
+ import { isCssColor as i } from "./index198.js";
3
+ import { when as E } from "./index207.js";
4
4
  const N = {
5
5
  class: "bb-base-radio-container",
6
6
  "aria-hidden": "true"
package/dist/index251.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index218.js";
1
+ import e from "./index220.js";
2
2
  export {
3
3
  e as default
4
4
  };
package/dist/index252.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index237.js";
1
+ import f from "./index242.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index253.js CHANGED
@@ -1,5 +1,5 @@
1
- import o from "./index240.js";
2
- import "./index241.js";
1
+ import o from "./index243.js";
2
+ import "./index244.js";
3
3
  export {
4
4
  o as default
5
5
  };
package/dist/index29.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as f, openBlock as l, createElementBlock as i, mergeProps as g, createElementVNode as r, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as h, renderSlot as x } from "vue";
2
- import { booleanishToBoolean as M } from "./index217.js";
3
- import { identity as F } from "./index214.js";
4
- import { isCssColor as p } from "./index195.js";
2
+ import { booleanishToBoolean as M } from "./index196.js";
3
+ import { identity as F } from "./index197.js";
4
+ import { isCssColor as p } from "./index198.js";
5
5
  import { isNotNil as T } from "./index124.js";
6
6
  const H = { class: "bb-base-rating__inner-container" }, D = { class: "bb-base-rating__label-text" }, N = ["autofocus", "checked", "disabled", "id", "name", "value"], j = ["width", "height"], A = /* @__PURE__ */ r("path", {
7
7
  "stroke-linecap": "round",
package/dist/index31.js CHANGED
@@ -1,26 +1,26 @@
1
- import { defineComponent as Ne, ref as f, computed as g, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as b, createElementBlock as y, normalizeClass as x, renderSlot as h, createElementVNode as w, Fragment as D, renderList as j, toDisplayString as L, createBlock as se, withModifiers as B, withCtx as Le, createTextVNode as ee, createCommentVNode as oe, withDirectives as Fe, vModelDynamic as Ae, Teleport as Me, normalizeStyle as Je, createVNode as qe, mergeProps as ze, nextTick as ie } from "vue";
1
+ import { defineComponent as Ne, ref as f, computed as g, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as b, createElementBlock as y, normalizeClass as x, renderSlot as h, createElementVNode as w, Fragment as D, renderList as j, toDisplayString as L, createBlock as se, withModifiers as B, withCtx as Le, createTextVNode as ee, createCommentVNode as ie, withDirectives as Fe, vModelDynamic as Ae, Teleport as Me, normalizeStyle as Je, createVNode as qe, mergeProps as ze, nextTick as oe } from "vue";
2
2
  import Pe from "./index115.js";
3
3
  import "./index157.js";
4
4
  import He from "./index119.js";
5
5
  import "./index184.js";
6
- import { autoUpdate as je, computePosition as Qe } from "./index206.js";
6
+ import { autoUpdate as je, computePosition as Qe, flip as Ue, shift as We } from "./index208.js";
7
7
  import { deepEqual as re } from "./index123.js";
8
- import { head as le } from "./index207.js";
8
+ import { head as le } from "./index218.js";
9
9
  import { isNotNil as I } from "./index124.js";
10
- import { last as Ue } from "./index205.js";
11
- import { useItemText as We } from "./index125.js";
12
- import { useItemValue as Ke } from "./index126.js";
10
+ import { last as Re } from "./index206.js";
11
+ import { useItemText as Ke } from "./index125.js";
12
+ import { useItemValue as Ye } from "./index126.js";
13
13
  import { wait as q } from "./index122.js";
14
- import { waitFor as Re } from "./index208.js";
15
- import { when as Ye } from "./index196.js";
16
- import { offset as Ze, flip as Ge, shift as Xe } from "./index209.js";
17
- const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "disabled", "id", "placeholder", "readonly", "onBlur", "onFocus", "onChange", "onInput", "onKeydown"], tl = {
14
+ import { waitFor as Ze } from "./index217.js";
15
+ import { when as Ge } from "./index207.js";
16
+ import { offset as Xe } from "./index212.js";
17
+ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "disabled", "id", "placeholder", "readonly"], tl = {
18
18
  key: 0,
19
19
  class: "bb-base-select__loading-container"
20
20
  }, al = {
21
21
  key: 1,
22
22
  class: "bb-base-select__no-data-container"
23
- }, nl = ["aria-selected", "id", "onClick"], ul = { class: "bb-base-select-option__content" }, sl = { class: "bb-base-select-option__text" }, ol = { class: "bb-base-select__chevron" }, il = /* @__PURE__ */ w("svg", {
23
+ }, nl = ["aria-selected", "id"], ul = { class: "bb-base-select-option__content" }, sl = { class: "bb-base-select-option__text" }, il = { class: "bb-base-select__chevron" }, ol = /* @__PURE__ */ w("svg", {
24
24
  viewBox: "0 0 16 8",
25
25
  fill: "none",
26
26
  xmlns: "http://www.w3.org/2000/svg"
@@ -69,7 +69,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
69
69
  const l = de, c = ce;
70
70
  if (l.multiple && !Array.isArray(l.modelValue))
71
71
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
72
- const F = f(null), E = f(null), v = f(null), T = f(null), s = f(""), fe = g(() => i.value.length ? "" : l.placeholder), d = f(0), ve = l.transitionDuration / 1e3 + "s";
72
+ const F = f(null), E = f(null), v = f(null), T = f(null), s = f(""), fe = g(() => o.value.length ? "" : l.placeholder), d = f(0), ve = l.transitionDuration / 1e3 + "s";
73
73
  let te;
74
74
  $e(async () => {
75
75
  E.value && v.value && (te = je(
@@ -86,7 +86,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
86
86
  }), De(() => {
87
87
  te();
88
88
  });
89
- const ae = f([]), m = f([]), V = f([]), { getItemText: me } = We(), { getItemValue: pe } = Ke(), be = g(() => ae.value.map((e, a) => {
89
+ const ae = f([]), m = f([]), V = f([]), { getItemText: me } = Ke(), { getItemValue: pe } = Ye(), be = g(() => ae.value.map((e, a) => {
90
90
  const t = me(e, l.itemText), n = pe(e, l.itemValue);
91
91
  if (n === void 0)
92
92
  throw new Error(
@@ -123,7 +123,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
123
123
  );
124
124
  }), k = g(() => {
125
125
  let e = [];
126
- return s.value && !i.value.some(
126
+ return s.value && !o.value.some(
127
127
  (a) => a.text === s.value
128
128
  ) ? e = C.value.filter((a) => {
129
129
  let t = !1;
@@ -192,7 +192,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
192
192
  };
193
193
  } else
194
194
  throw new Error("No match strategy has been defined");
195
- }), i = g(() => [].concat(l.modelValue).reduce((e, a) => {
195
+ }), o = g(() => [].concat(l.modelValue).reduce((e, a) => {
196
196
  const t = p.value.get(a);
197
197
  return t && e.push(t), e;
198
198
  }, [])), A = (e) => {
@@ -303,15 +303,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
303
303
  const ge = () => {
304
304
  E.value && v.value && Qe(E.value, v.value, {
305
305
  placement: "bottom",
306
- middleware: [Ze(6), Ge(), Xe()]
306
+ middleware: [Xe(6), Ue(), We()]
307
307
  }).then((e) => {
308
308
  var a;
309
309
  v.value && (v.value.style.left = `${e.x}px`, v.value.style.top = `${e.y}px`, v.value.style.width = `${(a = E.value) == null ? void 0 : a.offsetWidth}px`);
310
310
  });
311
- }, _ = f(!1), W = f(!1), K = f(!1), R = f(!0), $ = async () => {
312
- R.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, _.value = !0;
311
+ }, _ = f(!1), W = f(!1), R = f(!1), K = f(!0), $ = async () => {
312
+ K.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, _.value = !0;
313
313
  }, M = async () => {
314
- _.value = !1, K.value = !0, await q(l.transitionDuration), K.value = !1, R.value = !0;
314
+ _.value = !1, R.value = !0, await q(l.transitionDuration), R.value = !1, K.value = !0;
315
315
  }, H = f(!1);
316
316
  let Y = !0;
317
317
  const we = async (e) => {
@@ -329,7 +329,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
329
329
  const t = l.modelValue;
330
330
  if (await Promise.race([
331
331
  q(250),
332
- Re(() => t !== l.modelValue).then(() => {
332
+ Ze(() => t !== l.modelValue).then(() => {
333
333
  a = !0;
334
334
  })
335
335
  ]), !a) {
@@ -339,8 +339,8 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
339
339
  }
340
340
  }, Ce = (e) => c("change", e), ke = (e) => {
341
341
  c("input", e), s.value === "" && (l.multiple || c("update:modelValue", null)), typeof l.items == "function" && Se();
342
- }, r = f(null), O = g(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = k.value.length - 1), r.value % k.value.length) : r.value), o = f(null), _e = () => {
343
- r.value !== null ? r.value++ : r.value = 0, ie().then(() => {
342
+ }, r = f(null), O = g(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = k.value.length - 1), r.value % k.value.length) : r.value), i = f(null), _e = () => {
343
+ r.value !== null ? r.value++ : r.value = 0, oe().then(() => {
344
344
  var e;
345
345
  if (O.value !== null) {
346
346
  const a = (e = v.value) == null ? void 0 : e.querySelector(
@@ -354,7 +354,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
354
354
  }
355
355
  });
356
356
  }, Oe = () => {
357
- r.value !== null ? r.value-- : r.value = C.value.length - 1, ie().then(() => {
357
+ r.value !== null ? r.value-- : r.value = C.value.length - 1, oe().then(() => {
358
358
  var e;
359
359
  if (O.value !== null) {
360
360
  const a = (e = v.value) == null ? void 0 : e.querySelector(
@@ -378,29 +378,29 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
378
378
  {
379
379
  if (e.preventDefault(), d.value)
380
380
  return;
381
- o.value = null, _.value ? Oe() : (i.value.length && (r.value = le(i.value).index), await $());
381
+ i.value = null, _.value ? Oe() : (o.value.length && (r.value = le(o.value).index), await $());
382
382
  }
383
383
  break;
384
384
  case "ArrowDown":
385
385
  {
386
386
  if (e.preventDefault(), d.value)
387
387
  return;
388
- o.value = null, _.value ? _e() : (i.value.length && (r.value = le(i.value).index), await $());
388
+ i.value = null, _.value ? _e() : (o.value.length && (r.value = le(o.value).index), await $());
389
389
  }
390
390
  break;
391
391
  case "ArrowLeft":
392
392
  {
393
393
  if (d.value)
394
394
  return;
395
- if (!s.value && i.value.length && (o.value === null ? o.value = i.value.length - 1 : o.value > 0 ? o.value-- : o.value = null, o.value !== null)) {
396
- let n = i.value[o.value], u = (a = v.value) == null ? void 0 : a.querySelector(
395
+ if (!s.value && o.value.length && (i.value === null ? i.value = o.value.length - 1 : i.value > 0 ? i.value-- : i.value = null, i.value !== null)) {
396
+ let n = o.value[i.value], u = (a = v.value) == null ? void 0 : a.querySelector(
397
397
  `#${n.id}`
398
398
  );
399
399
  u && (u.scrollIntoView({
400
400
  behavior: "smooth",
401
401
  block: "nearest",
402
402
  inline: "start"
403
- }), r.value = z.value[i.value[o.value].id].index);
403
+ }), r.value = z.value[o.value[i.value].id].index);
404
404
  }
405
405
  }
406
406
  break;
@@ -408,15 +408,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
408
408
  {
409
409
  if (d.value)
410
410
  return;
411
- if (!s.value && i.value.length && (o.value === null ? o.value = 0 : o.value < i.value.length - 1 ? o.value++ : o.value = null, o.value !== null)) {
412
- let n = i.value[o.value], u = (t = v.value) == null ? void 0 : t.querySelector(
411
+ if (!s.value && o.value.length && (i.value === null ? i.value = 0 : i.value < o.value.length - 1 ? i.value++ : i.value = null, i.value !== null)) {
412
+ let n = o.value[i.value], u = (t = v.value) == null ? void 0 : t.querySelector(
413
413
  `#${n.id}`
414
414
  );
415
415
  u && (u.scrollIntoView({
416
416
  behavior: "smooth",
417
417
  block: "nearest",
418
418
  inline: "start"
419
- }), r.value = z.value[i.value[o.value].id].index);
419
+ }), r.value = z.value[o.value[i.value].id].index);
420
420
  }
421
421
  }
422
422
  break;
@@ -425,7 +425,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
425
425
  if (e.preventDefault(), d.value)
426
426
  return;
427
427
  if (!_.value)
428
- k.value.length && i.value.length && (r.value = le(i.value).index), await $();
428
+ k.value.length && o.value.length && (r.value = le(o.value).index), await $();
429
429
  else if (O.value !== null) {
430
430
  if (k.value[O.value].disabled)
431
431
  return;
@@ -440,14 +440,14 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
440
440
  return;
441
441
  }
442
442
  ye();
443
- const n = Ue(V.value);
443
+ const n = Re(V.value);
444
444
  A(z.value[n.id]);
445
445
  }
446
446
  }
447
447
  break;
448
448
  case "Tab":
449
449
  case "Escape":
450
- _.value && await M(), c("inactive"), o.value = null, r.value = null;
450
+ _.value && await M(), c("inactive"), i.value = null, r.value = null;
451
451
  break;
452
452
  case "Shift":
453
453
  if (d.value)
@@ -457,19 +457,19 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
457
457
  {
458
458
  if (d.value)
459
459
  return;
460
- s.value || i.value.length && (o.value === null ? o.value = i.value.length - 1 : (A(
461
- i.value[o.value]
462
- ), i.value.length ? o.value = Math.max(
460
+ s.value || o.value.length && (i.value === null ? i.value = o.value.length - 1 : (A(
461
+ o.value[i.value]
462
+ ), o.value.length ? i.value = Math.max(
463
463
  Math.min(
464
- o.value,
465
- i.value.length - 2
464
+ i.value,
465
+ o.value.length - 2
466
466
  ),
467
467
  0
468
- ) : o.value = null)), await $();
468
+ ) : i.value = null)), await $();
469
469
  }
470
470
  break;
471
471
  default:
472
- o.value = null, r.value = null, await $();
472
+ i.value = null, r.value = null, await $();
473
473
  break;
474
474
  }
475
475
  };
@@ -498,7 +498,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
498
498
  });
499
499
  return;
500
500
  }
501
- }, Ie = Ye(
501
+ }, Ie = Ge(
502
502
  (e) => typeof e != "string",
503
503
  JSON.stringify
504
504
  ), Ee = g(() => [].concat(l.modelValue).map((e) => {
@@ -532,18 +532,18 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
532
532
  h(e.$slots, "prepend"),
533
533
  w("span", el, [
534
534
  e.multiple ? (b(), y(D, { key: 0 }, [
535
- e.comma ? (b(!0), y(D, { key: 0 }, j(i.value, (t, n) => (b(), y("span", {
535
+ e.comma ? (b(!0), y(D, { key: 0 }, j(o.value, (t, n) => (b(), y("span", {
536
536
  class: x({
537
537
  "bb-base-select__selected": !0,
538
538
  "bb-base-select__selected--comma": !0,
539
- "bb-base-select__selected--focused": n === o.value
539
+ "bb-base-select__selected--focused": n === i.value
540
540
  }),
541
541
  key: t.id
542
- }, L(t.text) + L(n < i.value.length - 1 ? "," : ""), 3))), 128)) : (b(!0), y(D, { key: 1 }, j(i.value, (t, n) => (b(), se(Pe, {
542
+ }, L(t.text) + L(n < o.value.length - 1 ? "," : ""), 3))), 128)) : (b(!0), y(D, { key: 1 }, j(o.value, (t, n) => (b(), se(Pe, {
543
543
  class: x({
544
544
  "bb-base-select__selected": !0,
545
545
  "bb-base-select__selected--chip": !0,
546
- "bb-base-select__selected--focused": n === o.value
546
+ "bb-base-select__selected--focused": n === i.value
547
547
  }),
548
548
  clearable: !0,
549
549
  key: t.id,
@@ -567,7 +567,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
567
567
  ]),
568
568
  _: 2
569
569
  }, 1032, ["class", "text", "onClick:clear"]))), 128))
570
- ], 64)) : oe("", !0),
570
+ ], 64)) : ie("", !0),
571
571
  Fe(w("input", {
572
572
  autofocus: e.autofocus,
573
573
  class: x("bb-base-select__text-input"),
@@ -593,8 +593,8 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
593
593
  "bb-base-select__options-container": !0,
594
594
  "bb-base-select__options-container--shown": _.value,
595
595
  "bb-base-select__options-container--showing": W.value,
596
- "bb-base-select__options-container--hiding": K.value,
597
- "bb-base-select__options-container--hidden": R.value
596
+ "bb-base-select__options-container--hiding": R.value,
597
+ "bb-base-select__options-container--hidden": K.value
598
598
  }),
599
599
  role: "listbox",
600
600
  style: Je({ transitionDuration: ve }),
@@ -607,7 +607,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
607
607
  h(e.$slots, "loading", { query: s.value }, () => [
608
608
  ee(L(e.loadingText), 1)
609
609
  ])
610
- ])) : k.value.length ? oe("", !0) : (b(), y("span", al, [
610
+ ])) : k.value.length ? ie("", !0) : (b(), y("span", al, [
611
611
  h(e.$slots, "no-data", { query: s.value }, () => [
612
612
  ee(L(e.noDataText), 1)
613
613
  ])
@@ -655,12 +655,12 @@ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "dis
655
655
  ], 6)
656
656
  ]))
657
657
  ]),
658
- w("span", ol, [
658
+ w("span", il, [
659
659
  h(e.$slots, "chevron", {
660
660
  loading: !!d.value,
661
661
  shown: _.value
662
662
  }, () => [
663
- il
663
+ ol
664
664
  ])
665
665
  ]),
666
666
  d.value ? (b(), y("span", {