bitboss-ui 0.1.80 → 0.1.82

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 (224) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +5 -2
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +3 -0
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +10 -2
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +3 -0
  5. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +3 -0
  6. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +3 -0
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +3 -0
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -1
  9. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +4 -1
  10. package/dist/components/BaseRating/BaseRating.vue.d.ts +4 -1
  11. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +16 -2
  12. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +3 -0
  13. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +3 -0
  14. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -0
  15. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -1
  16. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -1
  17. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
  18. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +5 -2
  19. package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -0
  20. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +7 -58
  21. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -1
  22. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -0
  23. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -0
  24. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -0
  25. package/dist/components/BbChip/BbChip.vue.d.ts +7 -1
  26. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -1
  27. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -0
  28. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
  29. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +15 -3
  30. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -1
  31. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -7
  32. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -0
  33. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +4 -1
  34. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -0
  35. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
  36. package/dist/components/BbPagination/BbPagination.vue.d.ts +4 -1
  37. package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -7
  38. package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -0
  39. package/dist/components/BbRadio/BbRadio.vue.d.ts +3 -0
  40. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -6
  41. package/dist/components/BbRating/BbRating.vue.d.ts +3 -0
  42. package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -1
  43. package/dist/components/BbSelect/BbSelect.vue.d.ts +14 -3
  44. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +5 -2
  45. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -0
  46. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +3 -0
  47. package/dist/components/BbTab/BbTab.vue.d.ts +4 -1
  48. package/dist/components/BbTable/BbTable.vue.d.ts +258 -295
  49. package/dist/components/BbTable/types.d.ts +214 -0
  50. package/dist/components/BbTag/BbTag.vue.d.ts +3 -0
  51. package/dist/components/BbToast/BbToast.vue.d.ts +3 -0
  52. package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -0
  53. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -7
  54. package/dist/components/BbTree/BbTree.vue.d.ts +9 -1
  55. package/dist/composables/useItemText.d.ts +6 -1
  56. package/dist/index.d.ts +1 -1
  57. package/dist/index10.js +2 -2
  58. package/dist/index10.js.map +1 -1
  59. package/dist/index100.js +2 -2
  60. package/dist/index102.js +4 -3
  61. package/dist/index102.js.map +1 -1
  62. package/dist/index106.js +1 -1
  63. package/dist/index108.js +85 -57
  64. package/dist/index108.js.map +1 -1
  65. package/dist/index110.js +77 -55
  66. package/dist/index110.js.map +1 -1
  67. package/dist/index112.js +5 -5
  68. package/dist/index112.js.map +1 -1
  69. package/dist/index113.js +1 -1
  70. package/dist/index113.js.map +1 -1
  71. package/dist/index114.js +1 -1
  72. package/dist/index115.js +1 -1
  73. package/dist/index115.js.map +1 -1
  74. package/dist/index116.js +1 -1
  75. package/dist/index118.js +1 -1
  76. package/dist/index12.js +8 -8
  77. package/dist/index120.js +1 -1
  78. package/dist/index121.js +11 -11
  79. package/dist/index121.js.map +1 -1
  80. package/dist/index14.js +9 -9
  81. package/dist/index16.js +3 -3
  82. package/dist/index18.js +2 -2
  83. package/dist/index189.js +2 -2
  84. package/dist/index189.js.map +1 -1
  85. package/dist/index190.js +2 -4
  86. package/dist/index190.js.map +1 -1
  87. package/dist/index191.js +2 -2
  88. package/dist/index191.js.map +1 -1
  89. package/dist/index192.js +3 -2
  90. package/dist/index192.js.map +1 -1
  91. package/dist/index193.js +3 -2
  92. package/dist/index193.js.map +1 -1
  93. package/dist/index194.js +4 -3
  94. package/dist/index194.js.map +1 -1
  95. package/dist/index195.js +3 -35
  96. package/dist/index195.js.map +1 -1
  97. package/dist/index196.js +35 -6
  98. package/dist/index196.js.map +1 -1
  99. package/dist/index197.js +6 -350
  100. package/dist/index197.js.map +1 -1
  101. package/dist/index198.js +5 -134
  102. package/dist/index198.js.map +1 -1
  103. package/dist/index199.js +16 -5
  104. package/dist/index199.js.map +1 -1
  105. package/dist/index20.js +1 -1
  106. package/dist/index20.js.map +1 -1
  107. package/dist/index200.js +15 -18
  108. package/dist/index200.js.map +1 -1
  109. package/dist/index201.js +19 -2
  110. package/dist/index201.js.map +1 -1
  111. package/dist/index202.js +18 -184
  112. package/dist/index202.js.map +1 -1
  113. package/dist/index203.js +29 -23
  114. package/dist/index203.js.map +1 -1
  115. package/dist/index204.js +8 -331
  116. package/dist/index204.js.map +1 -1
  117. package/dist/index205.js +2 -2
  118. package/dist/index205.js.map +1 -1
  119. package/dist/index206.js +351 -2
  120. package/dist/index206.js.map +1 -1
  121. package/dist/index207.js +131 -13
  122. package/dist/index207.js.map +1 -1
  123. package/dist/index208.js +2 -16
  124. package/dist/index208.js.map +1 -1
  125. package/dist/index209.js +184 -18
  126. package/dist/index209.js.map +1 -1
  127. package/dist/index210.js +23 -29
  128. package/dist/index210.js.map +1 -1
  129. package/dist/index211.js +369 -8
  130. package/dist/index211.js.map +1 -1
  131. package/dist/index212.js +2 -3
  132. package/dist/index212.js.map +1 -1
  133. package/dist/index213.js +2 -3
  134. package/dist/index213.js.map +1 -1
  135. package/dist/index216.js +73 -53
  136. package/dist/index216.js.map +1 -1
  137. package/dist/index217.js +3 -3
  138. package/dist/index22.js +2 -2
  139. package/dist/index221.js +223 -10
  140. package/dist/index221.js.map +1 -1
  141. package/dist/index222.js +252 -429
  142. package/dist/index222.js.map +1 -1
  143. package/dist/index223.js +10 -8
  144. package/dist/index223.js.map +1 -1
  145. package/dist/index224.js +428 -82
  146. package/dist/index224.js.map +1 -1
  147. package/dist/index225.js +9 -8
  148. package/dist/index225.js.map +1 -1
  149. package/dist/index226.js +88 -5
  150. package/dist/index226.js.map +1 -1
  151. package/dist/index235.js +2 -69
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +2 -162
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +2 -2
  156. package/dist/index238.js +2 -2
  157. package/dist/index238.js.map +1 -1
  158. package/dist/index239.js +9 -2
  159. package/dist/index239.js.map +1 -1
  160. package/dist/index24.js +1 -1
  161. package/dist/index24.js.map +1 -1
  162. package/dist/index240.js +6 -2
  163. package/dist/index240.js.map +1 -1
  164. package/dist/index241.js +162 -2
  165. package/dist/index241.js.map +1 -1
  166. package/dist/index242.js +2 -2
  167. package/dist/index243.js +2 -224
  168. package/dist/index243.js.map +1 -1
  169. package/dist/index244.js +68 -257
  170. package/dist/index244.js.map +1 -1
  171. package/dist/index245.js +2 -38
  172. package/dist/index245.js.map +1 -1
  173. package/dist/index246.js +38 -2
  174. package/dist/index246.js.map +1 -1
  175. package/dist/index247.js +2 -2
  176. package/dist/index247.js.map +1 -1
  177. package/dist/index248.js +2 -2
  178. package/dist/index248.js.map +1 -1
  179. package/dist/index249.js +2 -2
  180. package/dist/index250.js +2 -2
  181. package/dist/index251.js +2 -2
  182. package/dist/index251.js.map +1 -1
  183. package/dist/index252.js +5 -0
  184. package/dist/index252.js.map +1 -0
  185. package/dist/index26.js +3 -3
  186. package/dist/index26.js.map +1 -1
  187. package/dist/index28.js +172 -155
  188. package/dist/index28.js.map +1 -1
  189. package/dist/index30.js +2 -2
  190. package/dist/index32.js +2 -2
  191. package/dist/index34.js +2 -2
  192. package/dist/index34.js.map +1 -1
  193. package/dist/index36.js +21 -19
  194. package/dist/index36.js.map +1 -1
  195. package/dist/index38.js.map +1 -1
  196. package/dist/index44.js +1 -1
  197. package/dist/index44.js.map +1 -1
  198. package/dist/index46.js +1 -1
  199. package/dist/index46.js.map +1 -1
  200. package/dist/index6.js.map +1 -1
  201. package/dist/index62.js +168 -137
  202. package/dist/index62.js.map +1 -1
  203. package/dist/index64.js +38 -30
  204. package/dist/index64.js.map +1 -1
  205. package/dist/index66.js.map +1 -1
  206. package/dist/index69.js +1 -1
  207. package/dist/index72.js +1 -1
  208. package/dist/index74.js.map +1 -1
  209. package/dist/index76.js +96 -66
  210. package/dist/index76.js.map +1 -1
  211. package/dist/index78.js +1 -1
  212. package/dist/index8.js +2 -2
  213. package/dist/index82.js +2 -2
  214. package/dist/index82.js.map +1 -1
  215. package/dist/index84.js.map +1 -1
  216. package/dist/index88.js +7 -4
  217. package/dist/index88.js.map +1 -1
  218. package/dist/index96.js +2 -2
  219. package/dist/index96.js.map +1 -1
  220. package/dist/index98.js +35 -30
  221. package/dist/index98.js.map +1 -1
  222. package/dist/style.css +1 -1
  223. package/dist/types/CommonProps.d.ts +15 -8
  224. package/package.json +1 -1
package/dist/index28.js CHANGED
@@ -1,26 +1,26 @@
1
- import { defineComponent as Ee, ref as f, computed as g, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as b, createElementBlock as y, normalizeClass as B, renderSlot as h, createElementVNode as w, Fragment as D, renderList as j, toDisplayString as J, createBlock as ue, withModifiers as I, createCommentVNode as oe, withDirectives as Le, vModelDynamic as Fe, Teleport as Ae, normalizeStyle as Me, createTextVNode as se, createVNode as Je, mergeProps as qe, nextTick as ie } from "vue";
2
- import { autoUpdate as ze, computePosition as Pe } from "./index197.js";
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";
2
+ import { autoUpdate as Pe, computePosition as He } from "./index206.js";
3
3
  import { deepEqual as re } from "./index124.js";
4
- import { head as ee } from "./index206.js";
5
- import { isNotNil as T } from "./index123.js";
6
- import { last as He } from "./index201.js";
7
- import { useItemText as je } from "./index121.js";
8
- import { useItemValue as Qe } from "./index122.js";
4
+ import { head as le } from "./index213.js";
5
+ import { isNotNil as I } from "./index123.js";
6
+ import { last as je } from "./index205.js";
7
+ import { useItemText as Qe } from "./index121.js";
8
+ import { useItemValue as Ue } from "./index122.js";
9
9
  import { wait as q } from "./index119.js";
10
- import { waitFor as Ue } from "./index196.js";
11
- import { when as We } from "./index190.js";
12
- import Ke from "./index112.js";
10
+ import { waitFor as We } from "./index197.js";
11
+ import { when as Ke } from "./index194.js";
12
+ import Re from "./index112.js";
13
13
  import "./index151.js";
14
- import Re from "./index116.js";
14
+ import Ye from "./index116.js";
15
15
  import "./index178.js";
16
- import { offset as Ye, flip as Ze, shift as Ge } from "./index204.js";
17
- const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "disabled", "id", "placeholder", "readonly", "onBlur", "onFocus", "onChange", "onInput", "onKeydown"], ll = {
16
+ import { offset as Ze, flip as Ge, shift as Xe } from "./index211.js";
17
+ const el = { class: "bb-base-select__input-container" }, ll = ["autofocus", "disabled", "id", "placeholder", "readonly", "onBlur", "onFocus", "onChange", "onInput", "onKeydown"], tl = {
18
18
  key: 0,
19
19
  class: "bb-base-select__loading-container"
20
- }, tl = {
20
+ }, al = {
21
21
  key: 1,
22
22
  class: "bb-base-select__no-data-container"
23
- }, al = ["aria-selected", "id", "onClick"], nl = { class: "bb-base-select-option__content" }, ul = { class: "bb-base-select-option__text" }, ol = { class: "bb-base-select__chevron" }, sl = /* @__PURE__ */ w("svg", {
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", {
24
24
  viewBox: "0 0 16 8",
25
25
  fill: "none",
26
26
  xmlns: "http://www.w3.org/2000/svg"
@@ -31,7 +31,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
31
31
  d: "M0.851779 0.225802C0.90403 0.173418 0.966103 0.131858 1.03444 0.1035C1.10278 0.0751431 1.17604 0.0605469 1.25003 0.0605469C1.32402 0.0605469 1.39728 0.0751431 1.46562 0.1035C1.53396 0.131858 1.59603 0.173418 1.64828 0.225802L8.00003 6.57868L14.3518 0.225802C14.4041 0.173503 14.4662 0.132017 14.5345 0.103713C14.6028 0.0754093 14.6761 0.0608414 14.75 0.0608414C14.824 0.0608414 14.8972 0.0754093 14.9656 0.103713C15.0339 0.132017 15.096 0.173503 15.1483 0.225802C15.2006 0.278101 15.2421 0.340189 15.2704 0.408521C15.2987 0.476852 15.3132 0.55009 15.3132 0.624052C15.3132 0.698014 15.2987 0.771252 15.2704 0.839584C15.2421 0.907916 15.2006 0.970003 15.1483 1.0223L8.39828 7.7723C8.34603 7.82469 8.28395 7.86625 8.21562 7.8946C8.14728 7.92296 8.07402 7.93756 8.00003 7.93756C7.92604 7.93756 7.85278 7.92296 7.78444 7.8946C7.7161 7.86625 7.65403 7.82469 7.60178 7.7723L0.851779 1.0223C0.799395 0.970051 0.757835 0.907978 0.729477 0.83964C0.70112 0.771302 0.686523 0.69804 0.686523 0.624052C0.686523 0.550064 0.70112 0.476803 0.729477 0.408464C0.757835 0.340126 0.799395 0.278053 0.851779 0.225802Z",
32
32
  fill: "currentColor"
33
33
  })
34
- ], -1), _l = /* @__PURE__ */ Ee({
34
+ ], -1), Ol = /* @__PURE__ */ Ne({
35
35
  __name: "BaseSelect",
36
36
  props: {
37
37
  allowWriting: { type: Boolean, default: !0 },
@@ -45,6 +45,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
45
45
  itemText: {},
46
46
  itemValue: {},
47
47
  loadingText: { default: "Caricamento..." },
48
+ matchStrategy: { default: "string" },
48
49
  modelValueDebounceTime: { default: 0 },
49
50
  multiple: { type: Boolean },
50
51
  name: {},
@@ -61,19 +62,18 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
61
62
  queryDebounceTime: { default: 500 },
62
63
  resetQueryOnOptionSelected: { type: Boolean },
63
64
  stash: { type: Boolean },
64
- updateOnAnimationFrame: { type: Boolean, default: !1 },
65
- matchStrategy: { default: "string" }
65
+ updateOnAnimationFrame: { type: Boolean, default: !1 }
66
66
  },
67
67
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
68
68
  setup(de, { emit: ce }) {
69
- const l = de, d = ce;
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 L = f(null), N = f(null), v = f(null), S = f(null), o = f(""), fe = g(() => i.value.length ? "" : l.placeholder), c = f(0), ve = l.transitionDuration / 1e3 + "s";
73
- let le;
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";
73
+ let te;
74
74
  $e(async () => {
75
- N.value && v.value && (le = ze(
76
- N.value,
75
+ E.value && v.value && (te = Pe(
76
+ E.value,
77
77
  v.value,
78
78
  ge,
79
79
  {
@@ -84,9 +84,9 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
84
84
  }
85
85
  ));
86
86
  }), De(() => {
87
- le();
87
+ te();
88
88
  });
89
- const te = f([]), m = f([]), V = f([]), { getItemText: me } = je(), { getItemValue: pe } = Qe(), be = g(() => te.value.map((e, a) => {
89
+ const ae = f([]), m = f([]), V = f([]), { getItemText: me } = Qe(), { getItemValue: pe } = Ue(), 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(
@@ -116,12 +116,12 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
116
116
  );
117
117
  return Object.values(t).map((n, u) => ({
118
118
  ...n,
119
- selected: T(he.value.get(n.value)),
119
+ selected: I(he.value.get(n.value)),
120
120
  index: u
121
121
  }));
122
122
  }), k = g(() => {
123
123
  let e = [];
124
- return o.value && !i.value.some((a) => a.text === o.value) ? e = C.value.filter((a) => {
124
+ return s.value && !i.value.some((a) => a.text === s.value) ? e = C.value.filter((a) => {
125
125
  let t = !1;
126
126
  if (l.filterBy) {
127
127
  if (typeof l.filterBy == "function")
@@ -129,13 +129,13 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
129
129
  else if (l.filterBy.length) {
130
130
  const n = [].concat(l.filterBy);
131
131
  for (let u = 0; u < n.length; u++) {
132
- const x = n[u];
133
- t = t || a.original[x] && a.original[x].toLowerCase().includes(o.value.toLowerCase());
132
+ const S = n[u];
133
+ t = t || a.original[S] && a.original[S].toLowerCase().includes(s.value.toLowerCase());
134
134
  }
135
135
  }
136
136
  } else
137
137
  return !0;
138
- return t || a.text.toLowerCase().includes(o.value.toLowerCase());
138
+ return t || a.text.toLowerCase().includes(s.value.toLowerCase());
139
139
  }) : e = C.value, e.map((a, t) => ({
140
140
  ...a,
141
141
  focused: O.value === t
@@ -173,13 +173,13 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
173
173
  }), he = g(() => {
174
174
  if (l.matchStrategy === "string") {
175
175
  let e = {};
176
- return [].concat(l.modelValue).filter(T).forEach((a, t) => {
176
+ return [].concat(l.modelValue).forEach((a, t) => {
177
177
  e[JSON.stringify(a)] = t;
178
178
  }), {
179
179
  get: (a) => e[JSON.stringify(a)]
180
180
  };
181
181
  } else if (l.matchStrategy === "equality") {
182
- const e = [].concat(l.modelValue).filter(T).map((a, t) => [a, t]);
182
+ const e = [].concat(l.modelValue).filter(I).map((a, t) => [a, t]);
183
183
  return {
184
184
  get: (a) => {
185
185
  var t;
@@ -191,20 +191,20 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
191
191
  }), i = g(() => [].concat(l.modelValue).reduce((e, a) => {
192
192
  const t = p.value.get(a);
193
193
  return t && e.push(t), e;
194
- }, [])), F = (e) => {
194
+ }, [])), A = (e) => {
195
195
  let a;
196
196
  r.value = e.index, l.multiple ? (e.selected ? (e.manual && (V.value = V.value.filter(
197
197
  (t) => t.id !== e.id
198
198
  )), a = l.modelValue.filter(
199
199
  (t) => JSON.stringify(t) !== e.jsonValue
200
- ), l.stash && (m.value = m.value.filter((t) => t.id !== e.id))) : (a = l.modelValue.concat(e.value), l.stash && (m.value = m.value.concat(e))), l.resetQueryOnOptionSelected && (o.value = "")) : e.selected ? (e.manual && (V.value = V.value.filter(
200
+ ), l.stash && (m.value = m.value.filter((t) => t.id !== e.id))) : (a = l.modelValue.concat(e.value), l.stash && (m.value = m.value.concat(e))), l.resetQueryOnOptionSelected && (s.value = "")) : e.selected ? (e.manual && (V.value = V.value.filter(
201
201
  (t) => t.id !== e.id
202
- )), a = null, l.stash && (m.value = []), o.value = "") : (a = e.value, l.stash && (m.value = [e]), o.value = e.text), d("update:modelValue", a);
203
- }, E = async ({ prefill: e = !1 }) => {
202
+ )), a = null, l.stash && (m.value = []), s.value = "") : (a = e.value, l.stash && (m.value = [e]), s.value = e.text), c("update:modelValue", a);
203
+ }, N = async ({ prefill: e = !1 }) => {
204
204
  let a = [];
205
- Array.isArray(l.items) ? a = l.items : typeof l.items == "function" && (c.value++, a = await l.items(o.value, e, l.modelValue), c.value--), te.value = a;
205
+ Array.isArray(l.items) ? a = l.items : typeof l.items == "function" && (d.value++, a = await l.items(s.value, e, l.modelValue), d.value--), ae.value = a;
206
206
  }, ye = () => {
207
- const e = o.value, a = o.value, t = JSON.stringify(a), n = {
207
+ const e = s.value, a = s.value, t = JSON.stringify(a), n = {
208
208
  text: e,
209
209
  value: a,
210
210
  jsonValue: t,
@@ -213,8 +213,8 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
213
213
  manual: !0,
214
214
  disabled: !1
215
215
  };
216
- V.value = V.value.concat(n), o.value = "";
217
- }, P = l.prefill === !0 || !l.multiple && T(l.modelValue) || l.multiple && !!l.modelValue.length;
216
+ V.value = V.value.concat(n), s.value = "";
217
+ }, P = l.prefill === !0 || !l.multiple && I(l.modelValue) || l.multiple && !!l.modelValue.length;
218
218
  let Q;
219
219
  X(
220
220
  () => l.modelValue,
@@ -227,7 +227,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
227
227
  let t = l.modelValue.every(
228
228
  (n) => p.value.get(n)
229
229
  );
230
- if ((!t || a === void 0) && (await E({ prefill: !0 }), t = l.modelValue.every(
230
+ if ((!t || a === void 0) && (await N({ prefill: !0 }), t = l.modelValue.every(
231
231
  (n) => p.value.get(n)
232
232
  )), t)
233
233
  l.stash && (m.value = l.modelValue.map(
@@ -235,19 +235,19 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
235
235
  ));
236
236
  else {
237
237
  let n = [];
238
- const u = e.filter((x) => {
239
- let M = p.value.get(x);
240
- return M && n.push(M), M;
238
+ const u = e.filter((S) => {
239
+ let J = p.value.get(S);
240
+ return J && n.push(J), J;
241
241
  });
242
- l.stash && (m.value = n), l.enforceCoherence && d("update:modelValue", u);
242
+ l.stash && (m.value = n), l.enforceCoherence && c("update:modelValue", u);
243
243
  }
244
244
  } else {
245
245
  let t = p.value.get(l.modelValue);
246
- if (!t && T(l.modelValue) || a === void 0) {
247
- const n = o.value;
248
- o.value = "", await E({ prefill: !0 }), o.value = n;
246
+ if (!t && I(l.modelValue) || a === void 0) {
247
+ const n = s.value;
248
+ s.value = "", await N({ prefill: !0 }), s.value = n;
249
249
  }
250
- t = p.value.get(l.modelValue), t ? (o.value = t.text, l.stash && (m.value = [t])) : l.enforceCoherence && T(e) ? (o.value = "", l.stash && (m.value = []), d("update:modelValue", null)) : o.value = "";
250
+ t = p.value.get(l.modelValue), t ? (s.value = t.text, l.stash && (m.value = [t])) : l.enforceCoherence && I(e) ? (s.value = "", l.stash && (m.value = []), c("update:modelValue", null)) : s.value = "";
251
251
  }
252
252
  },
253
253
  P ? 0 : l.modelValueDebounceTime
@@ -260,15 +260,15 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
260
260
  async (e, a) => {
261
261
  if (typeof e == "function" || // Circumvent arrays defined in the template by the parent
262
262
  JSON.stringify(e) !== JSON.stringify(a))
263
- if (await E({ prefill: !1 }), l.multiple) {
263
+ if (await N({ prefill: !1 }), l.multiple) {
264
264
  if (!l.modelValue.every(
265
265
  (n) => p.value.get(n)
266
266
  ) && l.enforceCoherence) {
267
267
  const n = l.modelValue.filter((u) => p.value.get(u));
268
- d("update:modelValue", n);
268
+ c("update:modelValue", n);
269
269
  }
270
270
  } else
271
- !p.value.get(l.modelValue) && l.enforceCoherence && T(l.modelValue) && d("update:modelValue", null), r.value = null;
271
+ !p.value.get(l.modelValue) && l.enforceCoherence && I(l.modelValue) && c("update:modelValue", null), r.value = null;
272
272
  }
273
273
  );
274
274
  let U;
@@ -278,18 +278,18 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
278
278
  !P && l.prefill === "focus" && Y || JSON.stringify(e) !== JSON.stringify(a) && (U && clearTimeout(U), U = setTimeout(async () => {
279
279
  if (JSON.stringify(e) !== JSON.stringify(a)) {
280
280
  l.enforceCoherence && l.stash && (m.value = []);
281
- let t = o.value;
282
- if (o.value = "", await E({ prefill: !0 }), o.value = t, !l.multiple)
283
- !p.value.get(l.modelValue) && l.enforceCoherence && T(l.modelValue) && (o.value = "", l.stash && (m.value = []), d("update:modelValue", null));
281
+ let t = s.value;
282
+ if (s.value = "", await N({ prefill: !0 }), s.value = t, !l.multiple)
283
+ !p.value.get(l.modelValue) && l.enforceCoherence && I(l.modelValue) && (s.value = "", l.stash && (m.value = []), c("update:modelValue", null));
284
284
  else if (!l.modelValue.every(
285
285
  (u) => p.value.get(u)
286
286
  ) && l.enforceCoherence) {
287
287
  let u = [];
288
- const x = l.modelValue.filter((M) => {
289
- let G = p.value.get(M);
288
+ const S = l.modelValue.filter((J) => {
289
+ let G = p.value.get(J);
290
290
  return G && u.push(G), G;
291
291
  });
292
- l.stash && (m.value = u), d("update:modelValue", x);
292
+ l.stash && (m.value = u), c("update:modelValue", S);
293
293
  }
294
294
  }
295
295
  }, l.depsDebounceTime));
@@ -297,45 +297,45 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
297
297
  { deep: !0 }
298
298
  );
299
299
  const ge = () => {
300
- N.value && v.value && Pe(N.value, v.value, {
300
+ E.value && v.value && He(E.value, v.value, {
301
301
  placement: "bottom",
302
- middleware: [Ye(6), Ze(), Ge()]
302
+ middleware: [Ze(6), Ge(), Xe()]
303
303
  }).then((e) => {
304
304
  var a;
305
- v.value && (v.value.style.left = `${e.x}px`, v.value.style.top = `${e.y}px`, v.value.style.width = `${(a = N.value) == null ? void 0 : a.offsetWidth}px`);
305
+ 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`);
306
306
  });
307
307
  }, _ = f(!1), W = f(!1), K = f(!1), R = f(!0), $ = async () => {
308
308
  R.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, _.value = !0;
309
- }, A = async () => {
309
+ }, M = async () => {
310
310
  _.value = !1, K.value = !0, await q(l.transitionDuration), K.value = !1, R.value = !0;
311
311
  }, H = f(!1);
312
312
  let Y = !0;
313
313
  const we = async (e) => {
314
- d("focus", e), H.value = !0, document.addEventListener("click", ne), document.addEventListener("focusin", ae), S.value instanceof HTMLInputElement && S.value.select(), l.prefill === "focus" && Y && !P && (await E({ prefill: !0 }), Y = !1);
315
- }, ae = (e) => {
316
- if (e.target instanceof Node && L.value && v.value && !L.value.contains(e.target) && !v.value.contains(e.target)) {
317
- A(), d("inactive"), document.removeEventListener("focusin", ae), H.value = !1, l.multiple && q(500).then(() => {
318
- o.value = "";
314
+ c("focus", e), H.value = !0, document.addEventListener("click", ue), document.addEventListener("focusin", ne), T.value instanceof HTMLInputElement && T.value.select(), l.prefill === "focus" && Y && !P && (await N({ prefill: !0 }), Y = !1);
315
+ }, ne = (e) => {
316
+ if (e.target instanceof Node && F.value && v.value && !F.value.contains(e.target) && !v.value.contains(e.target)) {
317
+ M(), c("inactive"), document.removeEventListener("focusin", ne), H.value = !1, l.multiple && q(500).then(() => {
318
+ s.value = "";
319
319
  });
320
320
  return;
321
321
  }
322
322
  }, Ve = async (e) => {
323
- if (d("blur", e), !l.multiple) {
323
+ if (c("blur", e), !l.multiple) {
324
324
  let a = !1;
325
325
  const t = l.modelValue;
326
326
  if (await Promise.race([
327
327
  q(250),
328
- Ue(() => t !== l.modelValue).then(() => {
328
+ We(() => t !== l.modelValue).then(() => {
329
329
  a = !0;
330
330
  })
331
331
  ]), !a) {
332
332
  const n = p.value.get(l.modelValue);
333
- n && (o.value = n.text);
333
+ n && (s.value = n.text);
334
334
  }
335
335
  }
336
- }, Ce = (e) => d("change", e), ke = (e) => {
337
- d("input", e), o.value === "" && (l.multiple || d("update:modelValue", null)), typeof l.items == "function" && Se();
338
- }, 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), s = f(null), _e = () => {
336
+ }, Ce = (e) => c("change", e), ke = (e) => {
337
+ c("input", e), s.value === "" && (l.multiple || c("update:modelValue", null)), typeof l.items == "function" && Se();
338
+ }, 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 = () => {
339
339
  r.value !== null ? r.value++ : r.value = 0, ie().then(() => {
340
340
  var e;
341
341
  if (O.value !== null) {
@@ -372,60 +372,60 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
372
372
  switch (e.key) {
373
373
  case "ArrowUp":
374
374
  {
375
- if (e.preventDefault(), c.value)
375
+ if (e.preventDefault(), d.value)
376
376
  return;
377
- s.value = null, _.value ? Oe() : (i.value.length && (r.value = ee(i.value).index), await $());
377
+ o.value = null, _.value ? Oe() : (i.value.length && (r.value = le(i.value).index), await $());
378
378
  }
379
379
  break;
380
380
  case "ArrowDown":
381
381
  {
382
- if (e.preventDefault(), c.value)
382
+ if (e.preventDefault(), d.value)
383
383
  return;
384
- s.value = null, _.value ? _e() : (i.value.length && (r.value = ee(i.value).index), await $());
384
+ o.value = null, _.value ? _e() : (i.value.length && (r.value = le(i.value).index), await $());
385
385
  }
386
386
  break;
387
387
  case "ArrowLeft":
388
388
  {
389
- if (c.value)
389
+ if (d.value)
390
390
  return;
391
- if (!o.value && i.value.length && (s.value === null ? s.value = i.value.length - 1 : s.value > 0 ? s.value-- : s.value = null, s.value !== null)) {
392
- let n = i.value[s.value], u = (a = v.value) == null ? void 0 : a.querySelector(
391
+ 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)) {
392
+ let n = i.value[o.value], u = (a = v.value) == null ? void 0 : a.querySelector(
393
393
  `#${n.id}`
394
394
  );
395
395
  u && (u.scrollIntoView({
396
396
  behavior: "smooth",
397
397
  block: "nearest",
398
398
  inline: "start"
399
- }), r.value = z.value[i.value[s.value].id].index);
399
+ }), r.value = z.value[i.value[o.value].id].index);
400
400
  }
401
401
  }
402
402
  break;
403
403
  case "ArrowRight":
404
404
  {
405
- if (c.value)
405
+ if (d.value)
406
406
  return;
407
- if (!o.value && i.value.length && (s.value === null ? s.value = 0 : s.value < i.value.length - 1 ? s.value++ : s.value = null, s.value !== null)) {
408
- let n = i.value[s.value], u = (t = v.value) == null ? void 0 : t.querySelector(
407
+ 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)) {
408
+ let n = i.value[o.value], u = (t = v.value) == null ? void 0 : t.querySelector(
409
409
  `#${n.id}`
410
410
  );
411
411
  u && (u.scrollIntoView({
412
412
  behavior: "smooth",
413
413
  block: "nearest",
414
414
  inline: "start"
415
- }), r.value = z.value[i.value[s.value].id].index);
415
+ }), r.value = z.value[i.value[o.value].id].index);
416
416
  }
417
417
  }
418
418
  break;
419
419
  case "Enter":
420
420
  {
421
- if (e.preventDefault(), c.value)
421
+ if (e.preventDefault(), d.value)
422
422
  return;
423
423
  if (!_.value)
424
- k.value.length && i.value.length && (r.value = ee(i.value).index), await $();
424
+ k.value.length && i.value.length && (r.value = le(i.value).index), await $();
425
425
  else if (O.value !== null) {
426
426
  if (k.value[O.value].disabled)
427
427
  return;
428
- l.multiple || await A(), F(
428
+ l.multiple || await M(), A(
429
429
  k.value[O.value]
430
430
  );
431
431
  } else if (l.addOptions) {
@@ -436,36 +436,36 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
436
436
  return;
437
437
  }
438
438
  ye();
439
- const n = He(V.value);
440
- F(z.value[n.id]);
439
+ const n = je(V.value);
440
+ A(z.value[n.id]);
441
441
  }
442
442
  }
443
443
  break;
444
444
  case "Tab":
445
445
  case "Escape":
446
- _.value && await A(), d("inactive"), s.value = null, r.value = null;
446
+ _.value && await M(), c("inactive"), o.value = null, r.value = null;
447
447
  break;
448
448
  case "Shift":
449
- if (c.value)
449
+ if (d.value)
450
450
  return;
451
451
  break;
452
452
  case "Backspace":
453
453
  {
454
- if (c.value)
454
+ if (d.value)
455
455
  return;
456
- o.value || i.value.length && (s.value === null ? s.value = i.value.length - 1 : (F(
457
- i.value[s.value]
458
- ), i.value.length ? s.value = Math.max(
456
+ s.value || i.value.length && (o.value === null ? o.value = i.value.length - 1 : (A(
457
+ i.value[o.value]
458
+ ), i.value.length ? o.value = Math.max(
459
459
  Math.min(
460
- s.value,
460
+ o.value,
461
461
  i.value.length - 2
462
462
  ),
463
463
  0
464
- ) : s.value = null)), await $();
464
+ ) : o.value = null)), await $();
465
465
  }
466
466
  break;
467
467
  default:
468
- s.value = null, r.value = null, await $();
468
+ o.value = null, r.value = null, await $();
469
469
  break;
470
470
  }
471
471
  };
@@ -473,31 +473,31 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
473
473
  const Se = () => {
474
474
  Z && clearTimeout(Z), Z = setTimeout(async () => {
475
475
  try {
476
- await E({ prefill: !1 });
476
+ await N({ prefill: !1 });
477
477
  } catch (e) {
478
478
  console.error(e);
479
479
  }
480
480
  }, l.queryDebounceTime);
481
481
  }, xe = (e) => {
482
- d("click", e), !(l.disabled || l.readonly) && (S.value instanceof HTMLElement && S.value.focus(), $());
482
+ c("click", e), !(l.disabled || l.readonly) && (T.value instanceof HTMLElement && T.value.focus(), $());
483
483
  }, Be = (e) => {
484
484
  if (e.currentTarget instanceof HTMLElement && e.currentTarget.classList.contains("bb-base-select-option")) {
485
485
  const a = z.value[e.currentTarget.id];
486
486
  if (a.disabled)
487
487
  return;
488
- F(a), S.value instanceof HTMLInputElement && S.value.focus(), l.multiple || A();
488
+ A(a), T.value instanceof HTMLInputElement && T.value.focus(), l.multiple || M();
489
489
  }
490
- }, ne = (e) => {
491
- if (e.target instanceof Node && L.value && !L.value.contains(e.target)) {
492
- A(), d("inactive"), document.removeEventListener("click", ne), H.value = !1, l.multiple && q(500).then(() => {
493
- o.value = "";
490
+ }, ue = (e) => {
491
+ if (e.target instanceof Node && F.value && !F.value.contains(e.target)) {
492
+ M(), c("inactive"), document.removeEventListener("click", ue), H.value = !1, l.multiple && q(500).then(() => {
493
+ s.value = "";
494
494
  });
495
495
  return;
496
496
  }
497
- }, Ie = We(
497
+ }, Ie = Ke(
498
498
  (e) => typeof e != "string",
499
499
  JSON.stringify
500
- ), Ne = g(() => [].concat(l.modelValue).map((e) => {
500
+ ), Ee = g(() => [].concat(l.modelValue).map((e) => {
501
501
  const a = Ie(e);
502
502
  return {
503
503
  disabled: l.disabled,
@@ -507,68 +507,85 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
507
507
  };
508
508
  }));
509
509
  return (e, a) => (b(), y("span", {
510
- class: B({
510
+ class: x({
511
511
  "bb-base-select": !0,
512
512
  "bb-base-select--active": H.value,
513
- "bb-base-select--loading": c.value,
513
+ "bb-base-select--loading": d.value,
514
514
  "bb-base-select--disabled": e.disabled,
515
515
  "bb-base-select--errors": e.hasErrors,
516
516
  "bb-base-select--readonly": e.readonly
517
517
  }),
518
518
  onClick: xe,
519
519
  ref_key: "outerContainer",
520
- ref: L
520
+ ref: F
521
521
  }, [
522
522
  h(e.$slots, "prepend-outer"),
523
523
  w("span", {
524
524
  class: "bb-base-select__inner-container",
525
525
  ref_key: "innerContainer",
526
- ref: N
526
+ ref: E
527
527
  }, [
528
528
  h(e.$slots, "prepend"),
529
- w("span", Xe, [
529
+ w("span", el, [
530
530
  e.multiple ? (b(), y(D, { key: 0 }, [
531
531
  e.comma ? (b(!0), y(D, { key: 0 }, j(i.value, (t, n) => (b(), y("span", {
532
- class: B({
532
+ class: x({
533
533
  "bb-base-select__selected": !0,
534
534
  "bb-base-select__selected--comma": !0,
535
- "bb-base-select__selected--focused": n === s.value
535
+ "bb-base-select__selected--focused": n === o.value
536
536
  }),
537
537
  key: t.id
538
- }, J(t.text) + J(n < i.value.length - 1 ? "," : ""), 3))), 128)) : (b(!0), y(D, { key: 1 }, j(i.value, (t, n) => (b(), ue(Ke, {
539
- class: B({
538
+ }, L(t.text) + L(n < i.value.length - 1 ? "," : ""), 3))), 128)) : (b(!0), y(D, { key: 1 }, j(i.value, (t, n) => (b(), se(Re, {
539
+ class: x({
540
540
  "bb-base-select__selected": !0,
541
541
  "bb-base-select__selected--chip": !0,
542
- "bb-base-select__selected--focused": n === s.value
542
+ "bb-base-select__selected--focused": n === o.value
543
543
  }),
544
544
  clearable: !0,
545
545
  key: t.id,
546
546
  text: t.text,
547
- "onClick:clear": I((u) => F(t), ["stop"])
548
- }, null, 8, ["class", "text", "onClick:clear"]))), 128))
547
+ "onClick:clear": B((u) => A(t), ["stop"])
548
+ }, {
549
+ default: Le(() => [
550
+ h(e.$slots, "chip", {
551
+ disabled: t.disabled,
552
+ hasErrors: e.hasErrors,
553
+ index: t.index,
554
+ item: t.original,
555
+ loading: !!d.value,
556
+ manual: t.manual,
557
+ selected: t.selected,
558
+ text: t.text,
559
+ value: t.value
560
+ }, () => [
561
+ ee(L(t.text), 1)
562
+ ])
563
+ ]),
564
+ _: 2
565
+ }, 1032, ["class", "text", "onClick:clear"]))), 128))
549
566
  ], 64)) : oe("", !0),
550
- Le(w("input", {
567
+ Fe(w("input", {
551
568
  autofocus: e.autofocus,
552
- class: B("bb-base-select__text-input"),
569
+ class: x("bb-base-select__text-input"),
553
570
  disabled: e.disabled,
554
571
  id: e.id,
555
572
  placeholder: fe.value,
556
573
  readonly: e.readonly || !e.allowWriting,
557
574
  type: "text",
558
- onBlur: I(Ve, ["stop"]),
559
- onFocus: I(we, ["stop"]),
560
- onChange: I(Ce, ["stop"]),
561
- onInput: I(ke, ["stop"]),
562
- onKeydown: I(Te, ["stop"]),
563
- "onUpdate:modelValue": a[0] || (a[0] = (t) => o.value = t),
575
+ onBlur: B(Ve, ["stop"]),
576
+ onFocus: B(we, ["stop"]),
577
+ onChange: B(Ce, ["stop"]),
578
+ onInput: B(ke, ["stop"]),
579
+ onKeydown: B(Te, ["stop"]),
580
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => s.value = t),
564
581
  ref_key: "input",
565
- ref: S
566
- }, null, 40, el), [
567
- [Fe, o.value]
582
+ ref: T
583
+ }, null, 40, ll), [
584
+ [Ae, s.value]
568
585
  ]),
569
- (b(), ue(Ae, { to: "body" }, [
586
+ (b(), se(Me, { to: "body" }, [
570
587
  w("span", {
571
- class: B({
588
+ class: x({
572
589
  "bb-base-select__options-container": !0,
573
590
  "bb-base-select__options-container--shown": _.value,
574
591
  "bb-base-select__options-container--showing": W.value,
@@ -576,19 +593,19 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
576
593
  "bb-base-select__options-container--hidden": R.value
577
594
  }),
578
595
  role: "listbox",
579
- style: Me({ transitionDuration: ve }),
596
+ style: Je({ transitionDuration: ve }),
580
597
  tabindex: -1,
581
598
  ref_key: "optionsContainer",
582
599
  ref: v
583
600
  }, [
584
601
  h(e.$slots, "options:prepend"),
585
- !k.value.length && c.value ? (b(), y("span", ll, [
586
- h(e.$slots, "loading", { query: o.value }, () => [
587
- se(J(e.loadingText), 1)
602
+ !k.value.length && d.value ? (b(), y("span", tl, [
603
+ h(e.$slots, "loading", { query: s.value }, () => [
604
+ ee(L(e.loadingText), 1)
588
605
  ])
589
- ])) : k.value.length ? oe("", !0) : (b(), y("span", tl, [
590
- h(e.$slots, "no-data", { query: o.value }, () => [
591
- se(J(e.noDataText), 1)
606
+ ])) : k.value.length ? oe("", !0) : (b(), y("span", al, [
607
+ h(e.$slots, "no-data", { query: s.value }, () => [
608
+ ee(L(e.noDataText), 1)
592
609
  ])
593
610
  ])),
594
611
  (b(!0), y(D, null, j(k.value, (t) => (b(), y(D, {
@@ -599,7 +616,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
599
616
  }),
600
617
  w("span", {
601
618
  "aria-selected": t.selected,
602
- class: B({
619
+ class: x({
603
620
  "bb-base-select-option": !0,
604
621
  "bb-base-select-option--selected": t.selected,
605
622
  "bb-base-select-option--focused": t.focused,
@@ -607,7 +624,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
607
624
  }),
608
625
  id: t.id,
609
626
  role: "option",
610
- onClick: I(Be, ["stop"])
627
+ onClick: B(Be, ["stop"])
611
628
  }, [
612
629
  h(e.$slots, "option", {
613
630
  disabled: t.disabled,
@@ -615,17 +632,17 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
615
632
  hasErrors: e.hasErrors,
616
633
  index: t.index,
617
634
  item: t.original,
618
- loading: !!c.value,
635
+ loading: !!d.value,
619
636
  manual: t.manual,
620
637
  selected: t.selected,
621
638
  text: t.text,
622
639
  value: t.value
623
640
  }, () => [
624
- w("span", nl, [
625
- w("span", ul, J(t.text), 1)
641
+ w("span", ul, [
642
+ w("span", sl, L(t.text), 1)
626
643
  ])
627
644
  ])
628
- ], 10, al),
645
+ ], 10, nl),
629
646
  h(e.$slots, "option:append", {
630
647
  item: t.original
631
648
  })
@@ -636,34 +653,34 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
636
653
  ]),
637
654
  w("span", ol, [
638
655
  h(e.$slots, "chevron", {
639
- loading: !!c.value,
656
+ loading: !!d.value,
640
657
  shown: _.value
641
658
  }, () => [
642
- sl
659
+ il
643
660
  ])
644
661
  ]),
645
- c.value ? (b(), y("span", {
662
+ d.value ? (b(), y("span", {
646
663
  key: 1,
647
- class: B({
664
+ class: x({
648
665
  "bb-base-select__spinner": !0,
649
- "bb-base-select__spinner--loading": c.value
666
+ "bb-base-select__spinner--loading": d.value
650
667
  })
651
668
  }, [
652
669
  h(e.$slots, "spinner", {
653
- loading: !!c.value
670
+ loading: !!d.value
654
671
  }, () => [
655
- Je(Re, { size: "sm" })
672
+ qe(Ye, { size: "sm" })
656
673
  ])
657
674
  ], 2)) : h(e.$slots, "append", { key: 0 })
658
675
  ], 512),
659
676
  h(e.$slots, "append-outer"),
660
- (b(!0), y(D, null, j(Ne.value, (t) => (b(), y("input", qe({
677
+ (b(!0), y(D, null, j(Ee.value, (t) => (b(), y("input", ze({
661
678
  key: t.value
662
679
  }, t), null, 16))), 128))
663
680
  ], 2));
664
681
  }
665
682
  });
666
683
  export {
667
- _l as default
684
+ Ol as default
668
685
  };
669
686
  //# sourceMappingURL=index28.js.map