bitboss-ui 0.1.76 → 0.1.78

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 (275) hide show
  1. package/dist/components/BaseTag/BaseTag.vue.d.ts +83 -0
  2. package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -1
  3. package/dist/components/BbTag/BbTag.vue.d.ts +64 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +119 -116
  6. package/dist/index.js.map +1 -1
  7. package/dist/index100.js +46 -41
  8. package/dist/index100.js.map +1 -1
  9. package/dist/index102.js +29 -31
  10. package/dist/index102.js.map +1 -1
  11. package/dist/index104.js +82 -22
  12. package/dist/index104.js.map +1 -1
  13. package/dist/index106.js +22 -115
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index108.js +112 -90
  16. package/dist/index108.js.map +1 -1
  17. package/dist/index110.js +93 -39
  18. package/dist/index110.js.map +1 -1
  19. package/dist/index111.js +2 -38
  20. package/dist/index111.js.map +1 -1
  21. package/dist/index112.js +40 -40
  22. package/dist/index112.js.map +1 -1
  23. package/dist/index113.js +33 -42
  24. package/dist/index113.js.map +1 -1
  25. package/dist/index114.js +30 -29
  26. package/dist/index114.js.map +1 -1
  27. package/dist/index115.js +47 -2
  28. package/dist/index115.js.map +1 -1
  29. package/dist/index116.js +43 -21
  30. package/dist/index116.js.map +1 -1
  31. package/dist/index117.js +2 -2
  32. package/dist/index117.js.map +1 -1
  33. package/dist/index118.js +20 -9
  34. package/dist/index118.js.map +1 -1
  35. package/dist/index119.js +2 -18
  36. package/dist/index119.js.map +1 -1
  37. package/dist/index12.js +9 -9
  38. package/dist/index120.js +10 -13
  39. package/dist/index120.js.map +1 -1
  40. package/dist/index121.js +18 -2
  41. package/dist/index121.js.map +1 -1
  42. package/dist/index122.js +10 -221
  43. package/dist/index122.js.map +1 -1
  44. package/dist/index123.js +2 -3
  45. package/dist/index123.js.map +1 -1
  46. package/dist/index124.js +224 -3
  47. package/dist/index124.js.map +1 -1
  48. package/dist/index125.js +2 -2
  49. package/dist/index126.js +2 -2
  50. package/dist/index127.js +2 -2
  51. package/dist/index128.js +2 -2
  52. package/dist/index129.js +2 -2
  53. package/dist/index130.js +2 -2
  54. package/dist/index131.js +2 -2
  55. package/dist/index132.js +2 -2
  56. package/dist/index133.js +2 -2
  57. package/dist/index134.js +2 -2
  58. package/dist/index135.js +2 -2
  59. package/dist/index136.js +2 -2
  60. package/dist/index137.js +2 -2
  61. package/dist/index138.js +2 -2
  62. package/dist/index139.js +2 -2
  63. package/dist/index14.js +11 -11
  64. package/dist/index140.js +2 -2
  65. package/dist/index141.js +2 -2
  66. package/dist/index142.js +2 -2
  67. package/dist/index143.js +2 -2
  68. package/dist/index144.js +2 -2
  69. package/dist/index145.js +2 -2
  70. package/dist/index146.js +2 -2
  71. package/dist/index147.js +2 -2
  72. package/dist/index148.js +2 -2
  73. package/dist/index149.js +3 -2
  74. package/dist/index149.js.map +1 -1
  75. package/dist/index150.js +1 -1
  76. package/dist/index152.js +2 -2
  77. package/dist/index153.js +2 -3
  78. package/dist/index153.js.map +1 -1
  79. package/dist/index154.js +2 -2
  80. package/dist/index155.js +2 -2
  81. package/dist/index156.js +2 -2
  82. package/dist/index157.js +2 -2
  83. package/dist/index158.js +3 -2
  84. package/dist/index158.js.map +1 -1
  85. package/dist/index159.js +2 -2
  86. package/dist/index16.js +5 -5
  87. package/dist/index160.js +2 -2
  88. package/dist/index161.js +3 -2
  89. package/dist/index161.js.map +1 -1
  90. package/dist/index162.js +2 -3
  91. package/dist/index162.js.map +1 -1
  92. package/dist/index163.js +2 -3
  93. package/dist/index163.js.map +1 -1
  94. package/dist/index164.js +2 -2
  95. package/dist/index165.js +2 -2
  96. package/dist/index166.js +2 -2
  97. package/dist/index167.js +2 -2
  98. package/dist/index168.js +2 -2
  99. package/dist/index169.js +2 -2
  100. package/dist/index170.js +2 -2
  101. package/dist/index171.js +2 -2
  102. package/dist/index172.js +2 -2
  103. package/dist/index173.js +2 -2
  104. package/dist/index174.js +3 -2
  105. package/dist/index174.js.map +1 -1
  106. package/dist/index175.js +1 -1
  107. package/dist/index177.js +2 -2
  108. package/dist/index178.js +2 -3
  109. package/dist/index178.js.map +1 -1
  110. package/dist/index179.js +2 -2
  111. package/dist/index18.js +6 -6
  112. package/dist/index180.js +2 -2
  113. package/dist/index181.js +2 -2
  114. package/dist/index182.js +2 -2
  115. package/dist/index183.js +2 -2
  116. package/dist/index184.js +2 -2
  117. package/dist/index185.js +2 -2
  118. package/dist/index186.js +3 -2
  119. package/dist/index186.js.map +1 -1
  120. package/dist/index187.js +3 -350
  121. package/dist/index187.js.map +1 -1
  122. package/dist/index188.js +3 -134
  123. package/dist/index188.js.map +1 -1
  124. package/dist/index189.js +2 -5
  125. package/dist/index189.js.map +1 -1
  126. package/dist/index190.js +2 -19
  127. package/dist/index190.js.map +1 -1
  128. package/dist/index191.js +2 -2
  129. package/dist/index191.js.map +1 -1
  130. package/dist/index192.js +4 -2
  131. package/dist/index192.js.map +1 -1
  132. package/dist/index193.js +3 -186
  133. package/dist/index193.js.map +1 -1
  134. package/dist/index194.js +3 -23
  135. package/dist/index194.js.map +1 -1
  136. package/dist/index195.js +3 -331
  137. package/dist/index195.js.map +1 -1
  138. package/dist/index196.js +35 -2
  139. package/dist/index196.js.map +1 -1
  140. package/dist/index197.js +6 -3
  141. package/dist/index197.js.map +1 -1
  142. package/dist/index198.js +348 -33
  143. package/dist/index198.js.map +1 -1
  144. package/dist/index199.js +134 -6
  145. package/dist/index199.js.map +1 -1
  146. package/dist/index2.js +1 -1
  147. package/dist/index20.js +1 -1
  148. package/dist/index200.js +295 -2
  149. package/dist/index200.js.map +1 -1
  150. package/dist/index201.js +19 -4
  151. package/dist/index201.js.map +1 -1
  152. package/dist/index202.js +2 -2
  153. package/dist/index202.js.map +1 -1
  154. package/dist/index203.js +2 -16
  155. package/dist/index203.js.map +1 -1
  156. package/dist/index204.js +184 -14
  157. package/dist/index204.js.map +1 -1
  158. package/dist/index205.js +23 -20
  159. package/dist/index205.js.map +1 -1
  160. package/dist/index206.js +329 -27
  161. package/dist/index206.js.map +1 -1
  162. package/dist/index207.js +2 -8
  163. package/dist/index207.js.map +1 -1
  164. package/dist/index208.js +2 -3
  165. package/dist/index208.js.map +1 -1
  166. package/dist/index209.js +235 -3
  167. package/dist/index209.js.map +1 -1
  168. package/dist/index210.js +16 -2
  169. package/dist/index210.js.map +1 -1
  170. package/dist/index211.js +16 -235
  171. package/dist/index211.js.map +1 -1
  172. package/dist/index212.js +20 -9
  173. package/dist/index212.js.map +1 -1
  174. package/dist/index213.js +27 -94
  175. package/dist/index213.js.map +1 -1
  176. package/dist/index214.js +8 -28
  177. package/dist/index214.js.map +1 -1
  178. package/dist/index215.js +8 -12
  179. package/dist/index215.js.map +1 -1
  180. package/dist/index216.js +89 -72
  181. package/dist/index216.js.map +1 -1
  182. package/dist/index217.js +27 -5
  183. package/dist/index217.js.map +1 -1
  184. package/dist/index218.js +13 -2
  185. package/dist/index218.js.map +1 -1
  186. package/dist/index219.js +78 -294
  187. package/dist/index219.js.map +1 -1
  188. package/dist/index22.js +2 -2
  189. package/dist/index220.js +4 -2
  190. package/dist/index220.js.map +1 -1
  191. package/dist/index221.js +224 -2
  192. package/dist/index221.js.map +1 -1
  193. package/dist/index222.js +246 -105
  194. package/dist/index222.js.map +1 -1
  195. package/dist/index223.js +10 -105
  196. package/dist/index223.js.map +1 -1
  197. package/dist/index224.js +434 -10
  198. package/dist/index224.js.map +1 -1
  199. package/dist/index225.js +7 -433
  200. package/dist/index225.js.map +1 -1
  201. package/dist/index226.js +87 -7
  202. package/dist/index226.js.map +1 -1
  203. package/dist/index227.js +5 -88
  204. package/dist/index227.js.map +1 -1
  205. package/dist/index228.js +2 -4
  206. package/dist/index228.js.map +1 -1
  207. package/dist/index229.js +2 -200
  208. package/dist/index229.js.map +1 -1
  209. package/dist/index231.js +117 -2
  210. package/dist/index231.js.map +1 -1
  211. package/dist/index232.js +106 -2
  212. package/dist/index232.js.map +1 -1
  213. package/dist/index233.js +200 -2
  214. package/dist/index233.js.map +1 -1
  215. package/dist/index234.js +2 -9
  216. package/dist/index234.js.map +1 -1
  217. package/dist/index235.js +2 -6
  218. package/dist/index235.js.map +1 -1
  219. package/dist/index236.js +2 -224
  220. package/dist/index236.js.map +1 -1
  221. package/dist/index237.js +2 -258
  222. package/dist/index237.js.map +1 -1
  223. package/dist/index238.js +9 -2
  224. package/dist/index238.js.map +1 -1
  225. package/dist/index239.js +6 -69
  226. package/dist/index239.js.map +1 -1
  227. package/dist/index240.js +158 -36
  228. package/dist/index240.js.map +1 -1
  229. package/dist/index241.js +2 -2
  230. package/dist/index241.js.map +1 -1
  231. package/dist/index242.js +2 -2
  232. package/dist/index242.js.map +1 -1
  233. package/dist/index243.js +38 -2
  234. package/dist/index243.js.map +1 -1
  235. package/dist/index244.js +2 -2
  236. package/dist/index244.js.map +1 -1
  237. package/dist/index245.js +5 -0
  238. package/dist/index245.js.map +1 -0
  239. package/dist/index246.js +72 -0
  240. package/dist/index246.js.map +1 -0
  241. package/dist/index247.js +5 -0
  242. package/dist/index247.js.map +1 -0
  243. package/dist/index248.js +6 -0
  244. package/dist/index248.js.map +1 -0
  245. package/dist/index249.js +5 -0
  246. package/dist/index249.js.map +1 -0
  247. package/dist/index250.js +5 -0
  248. package/dist/index250.js.map +1 -0
  249. package/dist/index26.js +4 -4
  250. package/dist/index28.js +69 -70
  251. package/dist/index28.js.map +1 -1
  252. package/dist/index3.js +2 -2
  253. package/dist/index30.js +4 -4
  254. package/dist/index32.js +2 -2
  255. package/dist/index4.js +2 -2
  256. package/dist/index40.js +3 -3
  257. package/dist/index42.js +4 -4
  258. package/dist/index44.js +1 -1
  259. package/dist/index46.js +2 -2
  260. package/dist/index5.js +4 -4
  261. package/dist/index56.js +2 -2
  262. package/dist/index62.js +7 -7
  263. package/dist/index66.js +5 -5
  264. package/dist/index69.js +1 -1
  265. package/dist/index72.js +3 -3
  266. package/dist/index74.js +1 -1
  267. package/dist/index76.js +6 -6
  268. package/dist/index78.js +2 -2
  269. package/dist/index8.js +2 -2
  270. package/dist/index88.js +6 -8
  271. package/dist/index88.js.map +1 -1
  272. package/dist/index96.js +4 -4
  273. package/dist/index98.js +8 -8
  274. package/dist/style.css +1 -1
  275. package/package.json +1 -1
package/dist/index28.js CHANGED
@@ -1,19 +1,19 @@
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, createTextVNode as ee, toDisplayString as D, renderSlot as h, createElementVNode as w, Fragment as L, renderList as j, createBlock as oe, withModifiers as I, createCommentVNode as se, withDirectives as Le, vModelDynamic as Fe, Teleport as Ae, normalizeStyle as Me, createVNode as Je, mergeProps as qe, nextTick as ie } from "vue";
2
- import { autoUpdate as ze, computePosition as Pe } from "./index187.js";
3
- import { deepEqual as re } from "./index122.js";
4
- import { head as le } from "./index210.js";
5
- import { isNotNil as T } from "./index121.js";
6
- import { last as He } from "./index192.js";
7
- import { useItemText as je } from "./index119.js";
8
- import { useItemValue as Qe } from "./index120.js";
9
- import { wait as z } from "./index117.js";
10
- import { waitFor as Ue } from "./index199.js";
11
- import { when as We } from "./index201.js";
12
- import Ke from "./index110.js";
13
- import "./index149.js";
14
- import Re from "./index114.js";
15
- import "./index176.js";
16
- import { offset as Ye, flip as Ze, shift as Ge } from "./index195.js";
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 "./index198.js";
3
+ import { deepEqual as re } from "./index124.js";
4
+ import { head as ee } from "./index207.js";
5
+ import { isNotNil as T } from "./index123.js";
6
+ import { last as He } from "./index203.js";
7
+ import { useItemText as je } from "./index121.js";
8
+ import { useItemValue as Qe } from "./index122.js";
9
+ import { wait as q } from "./index119.js";
10
+ import { waitFor as Ue } from "./index197.js";
11
+ import { when as We } from "./index192.js";
12
+ import Ke from "./index112.js";
13
+ import "./index151.js";
14
+ import Re from "./index116.js";
15
+ import "./index178.js";
16
+ import { offset as Ye, flip as Ze, shift as Ge } from "./index206.js";
17
17
  const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "disabled", "id", "placeholder", "readonly", "onBlur", "onFocus", "onChange", "onInput", "onKeydown"], ll = {
18
18
  key: 0,
19
19
  class: "bb-base-select__loading-container"
@@ -69,10 +69,10 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
69
69
  const l = de, d = 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), 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 te;
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;
74
74
  $e(async () => {
75
- N.value && v.value && (te = ze(
75
+ N.value && v.value && (le = ze(
76
76
  N.value,
77
77
  v.value,
78
78
  ge,
@@ -84,9 +84,9 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
84
84
  }
85
85
  ));
86
86
  }), De(() => {
87
- te();
87
+ le();
88
88
  });
89
- const ae = f([]), m = f([]), V = f([]), { getItemText: me } = je(), { getItemValue: pe } = Qe(), be = g(() => ae.value.map((e, a) => {
89
+ const te = f([]), m = f([]), V = f([]), { getItemText: me } = je(), { getItemValue: pe } = Qe(), be = g(() => te.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(
@@ -140,7 +140,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
140
140
  ...a,
141
141
  focused: O.value === t
142
142
  }));
143
- }), P = g(
143
+ }), z = g(
144
144
  () => C.value.reduce(
145
145
  (e, a) => ({
146
146
  ...e,
@@ -191,7 +191,7 @@ 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
- }, [])), A = (e) => {
194
+ }, [])), F = (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
@@ -202,7 +202,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
202
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
203
  }, E = 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--), ae.value = 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;
206
206
  }, ye = () => {
207
207
  const e = o.value, a = o.value, t = JSON.stringify(a), n = {
208
208
  text: e,
@@ -214,7 +214,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
214
214
  disabled: !1
215
215
  };
216
216
  V.value = V.value.concat(n), o.value = "";
217
- }, H = l.prefill === !0 || !l.multiple && T(l.modelValue) || l.multiple && !!l.modelValue.length;
217
+ }, P = l.prefill === !0 || !l.multiple && T(l.modelValue) || l.multiple && !!l.modelValue.length;
218
218
  let Q;
219
219
  X(
220
220
  () => l.modelValue,
@@ -236,8 +236,8 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
236
236
  else {
237
237
  let n = [];
238
238
  const u = e.filter((x) => {
239
- let q = p.value.get(x);
240
- return q && n.push(q), q;
239
+ let M = p.value.get(x);
240
+ return M && n.push(M), M;
241
241
  });
242
242
  l.stash && (m.value = n), l.enforceCoherence && d("update:modelValue", u);
243
243
  }
@@ -250,11 +250,11 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
250
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 = "";
251
251
  }
252
252
  },
253
- H ? 0 : l.modelValueDebounceTime
253
+ P ? 0 : l.modelValueDebounceTime
254
254
  );
255
255
  },
256
256
  // Prefill when asked or when items are static
257
- { immediate: H, deep: !0 }
257
+ { immediate: P, deep: !0 }
258
258
  ), X(
259
259
  () => l.items,
260
260
  async (e, a) => {
@@ -275,7 +275,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
275
275
  X(
276
276
  () => l.dependencies,
277
277
  (e, a) => {
278
- !H && l.prefill === "focus" && Y || JSON.stringify(e) !== JSON.stringify(a) && (U && clearTimeout(U), U = setTimeout(async () => {
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
281
  let t = o.value;
@@ -285,8 +285,8 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
285
285
  (u) => p.value.get(u)
286
286
  ) && l.enforceCoherence) {
287
287
  let u = [];
288
- const x = l.modelValue.filter((q) => {
289
- let G = p.value.get(q);
288
+ const x = l.modelValue.filter((M) => {
289
+ let G = p.value.get(M);
290
290
  return G && u.push(G), G;
291
291
  });
292
292
  l.stash && (m.value = u), d("update:modelValue", x);
@@ -305,16 +305,16 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
305
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`);
306
306
  });
307
307
  }, _ = f(!1), W = f(!1), K = f(!1), R = f(!0), $ = async () => {
308
- R.value = !1, W.value = !0, await z(l.transitionDuration), W.value = !1, _.value = !0;
309
- }, M = async () => {
310
- _.value = !1, K.value = !0, await z(l.transitionDuration), K.value = !1, R.value = !0;
311
- }, J = f(!1);
308
+ R.value = !1, W.value = !0, await q(l.transitionDuration), W.value = !1, _.value = !0;
309
+ }, A = async () => {
310
+ _.value = !1, K.value = !0, await q(l.transitionDuration), K.value = !1, R.value = !0;
311
+ }, H = f(!1);
312
312
  let Y = !0;
313
313
  const we = async (e) => {
314
- d("focus", e), J.value = !0, document.addEventListener("click", ue), document.addEventListener("focusin", ne), S.value instanceof HTMLInputElement && S.value.select(), l.prefill === "focus" && Y && !H && (await E({ 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(), d("inactive"), document.removeEventListener("focusin", ne), J.value = !1, l.multiple && z(500).then(() => {
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
318
  o.value = "";
319
319
  });
320
320
  return;
@@ -324,7 +324,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
324
324
  let a = !1;
325
325
  const t = l.modelValue;
326
326
  if (await Promise.race([
327
- z(250),
327
+ q(250),
328
328
  Ue(() => t !== l.modelValue).then(() => {
329
329
  a = !0;
330
330
  })
@@ -374,14 +374,14 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
374
374
  {
375
375
  if (e.preventDefault(), c.value)
376
376
  return;
377
- s.value = null, _.value ? Oe() : (i.value.length && (r.value = le(i.value).index), await $());
377
+ s.value = null, _.value ? Oe() : (i.value.length && (r.value = ee(i.value).index), await $());
378
378
  }
379
379
  break;
380
380
  case "ArrowDown":
381
381
  {
382
382
  if (e.preventDefault(), c.value)
383
383
  return;
384
- s.value = null, _.value ? _e() : (i.value.length && (r.value = le(i.value).index), await $());
384
+ s.value = null, _.value ? _e() : (i.value.length && (r.value = ee(i.value).index), await $());
385
385
  }
386
386
  break;
387
387
  case "ArrowLeft":
@@ -396,7 +396,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
396
396
  behavior: "smooth",
397
397
  block: "nearest",
398
398
  inline: "start"
399
- }), r.value = P.value[i.value[s.value].id].index);
399
+ }), r.value = z.value[i.value[s.value].id].index);
400
400
  }
401
401
  }
402
402
  break;
@@ -412,7 +412,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
412
412
  behavior: "smooth",
413
413
  block: "nearest",
414
414
  inline: "start"
415
- }), r.value = P.value[i.value[s.value].id].index);
415
+ }), r.value = z.value[i.value[s.value].id].index);
416
416
  }
417
417
  }
418
418
  break;
@@ -421,11 +421,11 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
421
421
  if (e.preventDefault(), c.value)
422
422
  return;
423
423
  if (!_.value)
424
- k.value.length && i.value.length && (r.value = le(i.value).index), await $();
424
+ k.value.length && i.value.length && (r.value = ee(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 M(), A(
428
+ l.multiple || await A(), F(
429
429
  k.value[O.value]
430
430
  );
431
431
  } else if (l.addOptions) {
@@ -437,13 +437,13 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
437
437
  }
438
438
  ye();
439
439
  const n = He(V.value);
440
- A(P.value[n.id]);
440
+ F(z.value[n.id]);
441
441
  }
442
442
  }
443
443
  break;
444
444
  case "Tab":
445
445
  case "Escape":
446
- _.value && await M(), d("inactive"), s.value = null, r.value = null;
446
+ _.value && await A(), d("inactive"), s.value = null, r.value = null;
447
447
  break;
448
448
  case "Shift":
449
449
  if (c.value)
@@ -453,7 +453,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
453
453
  {
454
454
  if (c.value)
455
455
  return;
456
- o.value || i.value.length && (s.value === null ? s.value = i.value.length - 1 : (A(
456
+ o.value || i.value.length && (s.value === null ? s.value = i.value.length - 1 : (F(
457
457
  i.value[s.value]
458
458
  ), i.value.length ? s.value = Math.max(
459
459
  Math.min(
@@ -482,14 +482,14 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
482
482
  d("click", e), !(l.disabled || l.readonly) && (S.value instanceof HTMLElement && S.value.focus(), $());
483
483
  }, Be = (e) => {
484
484
  if (e.currentTarget instanceof HTMLElement && e.currentTarget.classList.contains("bb-base-select-option")) {
485
- const a = P.value[e.currentTarget.id];
485
+ const a = z.value[e.currentTarget.id];
486
486
  if (a.disabled)
487
487
  return;
488
- A(a), S.value instanceof HTMLInputElement && S.value.focus(), l.multiple || M();
488
+ F(a), S.value instanceof HTMLInputElement && S.value.focus(), l.multiple || A();
489
489
  }
490
- }, ue = (e) => {
491
- if (e.target instanceof Node && F.value && !F.value.contains(e.target)) {
492
- M(), d("inactive"), document.removeEventListener("click", ue), J.value = !1, l.multiple && z(500).then(() => {
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
493
  o.value = "";
494
494
  });
495
495
  return;
@@ -509,7 +509,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
509
509
  return (e, a) => (b(), y("span", {
510
510
  class: B({
511
511
  "bb-base-select": !0,
512
- "bb-base-select--active": J.value,
512
+ "bb-base-select--active": H.value,
513
513
  "bb-base-select--loading": c.value,
514
514
  "bb-base-select--disabled": e.disabled,
515
515
  "bb-base-select--errors": e.hasErrors,
@@ -517,9 +517,8 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
517
517
  }),
518
518
  onClick: xe,
519
519
  ref_key: "outerContainer",
520
- ref: F
520
+ ref: L
521
521
  }, [
522
- ee(D(J.value) + " ", 1),
523
522
  h(e.$slots, "prepend-outer"),
524
523
  w("span", {
525
524
  class: "bb-base-select__inner-container",
@@ -528,15 +527,15 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
528
527
  }, [
529
528
  h(e.$slots, "prepend"),
530
529
  w("span", Xe, [
531
- e.multiple ? (b(), y(L, { key: 0 }, [
532
- e.comma ? (b(!0), y(L, { key: 0 }, j(i.value, (t, n) => (b(), y("span", {
530
+ e.multiple ? (b(), y(D, { key: 0 }, [
531
+ e.comma ? (b(!0), y(D, { key: 0 }, j(i.value, (t, n) => (b(), y("span", {
533
532
  class: B({
534
533
  "bb-base-select__selected": !0,
535
534
  "bb-base-select__selected--comma": !0,
536
535
  "bb-base-select__selected--focused": n === s.value
537
536
  }),
538
537
  key: t.id
539
- }, D(t.text) + D(n < i.value.length - 1 ? "," : ""), 3))), 128)) : (b(!0), y(L, { key: 1 }, j(i.value, (t, n) => (b(), oe(Ke, {
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, {
540
539
  class: B({
541
540
  "bb-base-select__selected": !0,
542
541
  "bb-base-select__selected--chip": !0,
@@ -545,9 +544,9 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
545
544
  clearable: !0,
546
545
  key: t.id,
547
546
  text: t.text,
548
- "onClick:clear": I((u) => A(t), ["stop"])
547
+ "onClick:clear": I((u) => F(t), ["stop"])
549
548
  }, null, 8, ["class", "text", "onClick:clear"]))), 128))
550
- ], 64)) : se("", !0),
549
+ ], 64)) : oe("", !0),
551
550
  Le(w("input", {
552
551
  autofocus: e.autofocus,
553
552
  class: B("bb-base-select__text-input"),
@@ -567,7 +566,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
567
566
  }, null, 40, el), [
568
567
  [Fe, o.value]
569
568
  ]),
570
- (b(), oe(Ae, { to: "body" }, [
569
+ (b(), ue(Ae, { to: "body" }, [
571
570
  w("span", {
572
571
  class: B({
573
572
  "bb-base-select__options-container": !0,
@@ -585,14 +584,14 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
585
584
  h(e.$slots, "options:prepend"),
586
585
  !k.value.length && c.value ? (b(), y("span", ll, [
587
586
  h(e.$slots, "loading", { query: o.value }, () => [
588
- ee(D(e.loadingText), 1)
587
+ se(J(e.loadingText), 1)
589
588
  ])
590
- ])) : k.value.length ? se("", !0) : (b(), y("span", tl, [
589
+ ])) : k.value.length ? oe("", !0) : (b(), y("span", tl, [
591
590
  h(e.$slots, "no-data", { query: o.value }, () => [
592
- ee(D(e.noDataText), 1)
591
+ se(J(e.noDataText), 1)
593
592
  ])
594
593
  ])),
595
- (b(!0), y(L, null, j(k.value, (t) => (b(), y(L, {
594
+ (b(!0), y(D, null, j(k.value, (t) => (b(), y(D, {
596
595
  key: t.id
597
596
  }, [
598
597
  h(e.$slots, "option:prepend", {
@@ -623,7 +622,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
623
622
  value: t.value
624
623
  }, () => [
625
624
  w("span", nl, [
626
- w("span", ul, D(t.text), 1)
625
+ w("span", ul, J(t.text), 1)
627
626
  ])
628
627
  ])
629
628
  ], 10, al),
@@ -658,7 +657,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["autofocus", "dis
658
657
  ], 2)) : h(e.$slots, "append", { key: 0 })
659
658
  ], 512),
660
659
  h(e.$slots, "append-outer"),
661
- (b(!0), y(L, null, j(Ne.value, (t) => (b(), y("input", qe({
660
+ (b(!0), y(D, null, j(Ne.value, (t) => (b(), y("input", qe({
662
661
  key: t.value
663
662
  }, t), null, 16))), 128))
664
663
  ], 2));