bitboss-ui 0.2.43 → 0.2.44

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 (147) hide show
  1. package/dist/index101.js +2 -2
  2. package/dist/index103.js +2 -2
  3. package/dist/index109.js +1 -1
  4. package/dist/index11.js +2 -2
  5. package/dist/index111.js +4 -4
  6. package/dist/index113.js +1 -1
  7. package/dist/index116.js +1 -1
  8. package/dist/index117.js +1 -1
  9. package/dist/index118.js +1 -1
  10. package/dist/index119.js +1 -1
  11. package/dist/index125.js +1 -1
  12. package/dist/index126.js +1 -1
  13. package/dist/index127.js +1 -1
  14. package/dist/index131.js +2 -2
  15. package/dist/index15.js +8 -8
  16. package/dist/index17.js +9 -9
  17. package/dist/index19.js +3 -3
  18. package/dist/index197.js +3 -2
  19. package/dist/index197.js.map +1 -1
  20. package/dist/index198.js +35 -4
  21. package/dist/index198.js.map +1 -1
  22. package/dist/index199.js +6 -368
  23. package/dist/index199.js.map +1 -1
  24. package/dist/index200.js +5 -2
  25. package/dist/index200.js.map +1 -1
  26. package/dist/index201.js +16 -2
  27. package/dist/index201.js.map +1 -1
  28. package/dist/index202.js +14 -371
  29. package/dist/index202.js.map +1 -1
  30. package/dist/index203.js +19 -3
  31. package/dist/index203.js.map +1 -1
  32. package/dist/index204.js +20 -3
  33. package/dist/index204.js.map +1 -1
  34. package/dist/index205.js +25 -130
  35. package/dist/index205.js.map +1 -1
  36. package/dist/index206.js +8 -5
  37. package/dist/index206.js.map +1 -1
  38. package/dist/index207.js +2 -19
  39. package/dist/index207.js.map +1 -1
  40. package/dist/index208.js +2 -2
  41. package/dist/index208.js.map +1 -1
  42. package/dist/index209.js +2 -174
  43. package/dist/index209.js.map +1 -1
  44. package/dist/index21.js +2 -2
  45. package/dist/index210.js +2 -23
  46. package/dist/index210.js.map +1 -1
  47. package/dist/index211.js +368 -2
  48. package/dist/index211.js.map +1 -1
  49. package/dist/index212.js +134 -3
  50. package/dist/index212.js.map +1 -1
  51. package/dist/index213.js +172 -33
  52. package/dist/index213.js.map +1 -1
  53. package/dist/index214.js +23 -6
  54. package/dist/index214.js.map +1 -1
  55. package/dist/index215.js +371 -14
  56. package/dist/index215.js.map +1 -1
  57. package/dist/index216.js +235 -16
  58. package/dist/index216.js.map +1 -1
  59. package/dist/index217.js +4 -20
  60. package/dist/index217.js.map +1 -1
  61. package/dist/index218.js +10 -29
  62. package/dist/index218.js.map +1 -1
  63. package/dist/index219.js +2 -8
  64. package/dist/index219.js.map +1 -1
  65. package/dist/index220.js +3 -10
  66. package/dist/index220.js.map +1 -1
  67. package/dist/index221.js +3 -235
  68. package/dist/index221.js.map +1 -1
  69. package/dist/index222.js +6 -9
  70. package/dist/index222.js.map +1 -1
  71. package/dist/index223.js +16 -120
  72. package/dist/index223.js.map +1 -1
  73. package/dist/index224.js +9 -6
  74. package/dist/index224.js.map +1 -1
  75. package/dist/index225.js +120 -16
  76. package/dist/index225.js.map +1 -1
  77. package/dist/index226.js +434 -3
  78. package/dist/index226.js.map +1 -1
  79. package/dist/index227.js +83 -218
  80. package/dist/index227.js.map +1 -1
  81. package/dist/index228.js +200 -258
  82. package/dist/index228.js.map +1 -1
  83. package/dist/index229.js +294 -5
  84. package/dist/index229.js.map +1 -1
  85. package/dist/index230.js +6 -2
  86. package/dist/index230.js.map +1 -1
  87. package/dist/index231.js +2 -295
  88. package/dist/index231.js.map +1 -1
  89. package/dist/index232.js +2 -2
  90. package/dist/index234.js +2 -117
  91. package/dist/index234.js.map +1 -1
  92. package/dist/index235.js +2 -106
  93. package/dist/index235.js.map +1 -1
  94. package/dist/index236.js +2 -435
  95. package/dist/index236.js.map +1 -1
  96. package/dist/index237.js +2 -89
  97. package/dist/index237.js.map +1 -1
  98. package/dist/index238.js +116 -199
  99. package/dist/index238.js.map +1 -1
  100. package/dist/index239.js +105 -78
  101. package/dist/index239.js.map +1 -1
  102. package/dist/index240.js +79 -2
  103. package/dist/index240.js.map +1 -1
  104. package/dist/index241.js +69 -2
  105. package/dist/index241.js.map +1 -1
  106. package/dist/index242.js +160 -2
  107. package/dist/index242.js.map +1 -1
  108. package/dist/index243.js +1 -4
  109. package/dist/index243.js.map +1 -1
  110. package/dist/index244.js +5 -69
  111. package/dist/index244.js.map +1 -1
  112. package/dist/index245.js +2 -160
  113. package/dist/index245.js.map +1 -1
  114. package/dist/index246.js +6 -1
  115. package/dist/index246.js.map +1 -1
  116. package/dist/index247.js +224 -2
  117. package/dist/index247.js.map +1 -1
  118. package/dist/index248.js +258 -5
  119. package/dist/index248.js.map +1 -1
  120. package/dist/index249.js +2 -15
  121. package/dist/index249.js.map +1 -1
  122. package/dist/index25.js +2 -2
  123. package/dist/index250.js +4 -2
  124. package/dist/index250.js.map +1 -1
  125. package/dist/index251.js +4 -4
  126. package/dist/index251.js.map +1 -1
  127. package/dist/index252.js +61 -4
  128. package/dist/index252.js.map +1 -1
  129. package/dist/index253.js +14 -60
  130. package/dist/index253.js.map +1 -1
  131. package/dist/index254.js +1 -1
  132. package/dist/index255.js +2 -2
  133. package/dist/index29.js +3 -3
  134. package/dist/index31.js +58 -48
  135. package/dist/index31.js.map +1 -1
  136. package/dist/index33.js +1 -1
  137. package/dist/index35.js +2 -2
  138. package/dist/index47.js +1 -1
  139. package/dist/index49.js +1 -1
  140. package/dist/index65.js +5 -5
  141. package/dist/index69.js +2 -2
  142. package/dist/index72.js +1 -1
  143. package/dist/index75.js +1 -1
  144. package/dist/index77.js +1 -1
  145. package/dist/index79.js +4 -4
  146. package/dist/style.css +1 -1
  147. package/package.json +1 -1
package/dist/index31.js CHANGED
@@ -1,30 +1,30 @@
1
- import { defineComponent as Ne, ref as v, computed as y, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as g, createElementBlock as h, normalizeClass as I, renderSlot as b, createElementVNode as w, Fragment as L, renderList as P, toDisplayString as F, createBlock as ie, withModifiers as B, withCtx as Le, createTextVNode as ee, createCommentVNode as se, withDirectives as Fe, vModelDynamic as Me, Teleport as Ae, normalizeStyle as qe, createVNode as Je, mergeProps as Re, nextTick as le } from "vue";
1
+ import { defineComponent as Ne, ref as v, computed as V, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as g, createElementBlock as h, normalizeClass as I, renderSlot as b, createElementVNode as O, Fragment as L, renderList as P, toDisplayString as F, createBlock as ie, withModifiers as B, withCtx as Le, createTextVNode as ee, createCommentVNode as se, withDirectives as Fe, vModelDynamic as Me, Teleport as Ae, normalizeStyle as qe, createVNode as Je, mergeProps as Re, nextTick as le } from "vue";
2
2
  import ze from "./index115.js";
3
3
  import "./index158.js";
4
4
  import He from "./index119.js";
5
5
  import "./index185.js";
6
- import { autoUpdate as Pe, computePosition as Ue, flip as je, shift as Qe } from "./index199.js";
6
+ import { autoUpdate as Pe, computePosition as Ue, flip as je, shift as Qe } from "./index211.js";
7
7
  import { deepEqual as re } from "./index123.js";
8
- import { head as te } from "./index200.js";
8
+ import { head as te } from "./index219.js";
9
9
  import { isNotNil as E } from "./index124.js";
10
- import { last as We } from "./index201.js";
10
+ import { last as We } from "./index207.js";
11
11
  import { useItemText as Ke } from "./index125.js";
12
12
  import { useItemValue as Ye } from "./index126.js";
13
13
  import { wait as J } from "./index122.js";
14
- import { when as Ze } from "./index198.js";
15
- import { offset as Ge } from "./index202.js";
14
+ import { when as Ze } from "./index217.js";
15
+ import { offset as Ge } from "./index215.js";
16
16
  const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomplete", "autofocus", "disabled", "placeholder", "readonly"], ll = {
17
17
  key: 0,
18
18
  class: "bb-base-select__loading-container"
19
19
  }, tl = {
20
20
  key: 1,
21
21
  class: "bb-base-select__no-data-container"
22
- }, al = ["id", "aria-selected"], nl = { class: "bb-base-select-option__content" }, ol = { class: "bb-base-select-option__text" }, ul = { class: "bb-base-select__chevron" }, il = /* @__PURE__ */ w("svg", {
22
+ }, al = ["id", "aria-selected"], nl = { class: "bb-base-select-option__content" }, ol = { class: "bb-base-select-option__text" }, ul = { class: "bb-base-select__chevron" }, il = /* @__PURE__ */ O("svg", {
23
23
  fill: "none",
24
24
  viewBox: "0 0 16 8",
25
25
  xmlns: "http://www.w3.org/2000/svg"
26
26
  }, [
27
- /* @__PURE__ */ w("path", {
27
+ /* @__PURE__ */ O("path", {
28
28
  "clip-rule": "evenodd",
29
29
  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",
30
30
  fill: "currentColor",
@@ -70,7 +70,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
70
70
  const e = de, f = ce;
71
71
  if (e.multiple && !Array.isArray(e.modelValue))
72
72
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
73
- const S = v(null), N = v(null), d = v(null), T = v(null), u = v(""), fe = y(() => s.value.length ? "" : e.placeholder), c = v(0), ve = e.transitionDuration / 1e3 + "s";
73
+ const S = v(null), N = v(null), d = v(null), T = v(null), u = v(""), fe = V(() => s.value.length ? "" : e.placeholder), c = v(0), ve = e.transitionDuration / 1e3 + "s";
74
74
  let ae;
75
75
  $e(async () => {
76
76
  e.debug && console.log("Calling onMounted"), N.value && d.value && (ae = Pe(
@@ -87,7 +87,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
87
87
  }), De(() => {
88
88
  e.debug && console.log("Calling onBeforeUnMount"), ae();
89
89
  });
90
- const ne = v([]), m = v([]), V = v([]), { getItemText: me } = Ke(), { getItemValue: pe } = Ye(), ge = y(() => ne.value.map((l, a) => {
90
+ const ne = v([]), m = v([]), C = v([]), { getItemText: me } = Ke(), { getItemValue: pe } = Ye(), ge = V(() => ne.value.map((l, a) => {
91
91
  e.debug && console.log("Mapping items in internalOptions", { item: l });
92
92
  const t = me(l, e.itemText), n = pe(l, e.itemValue);
93
93
  if (n === void 0)
@@ -104,12 +104,12 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
104
104
  text: t,
105
105
  value: n
106
106
  };
107
- })), O = y(() => {
107
+ })), y = V(() => {
108
108
  let l = ge.value.reduce(
109
109
  (n, o) => (n[o.id] = o, n),
110
110
  {}
111
111
  );
112
- const a = V.value.reduce(
112
+ const a = C.value.reduce(
113
113
  (n, o) => (n[o.id] || (n[o.id] = o), n),
114
114
  l
115
115
  ), t = m.value.reduce(
@@ -127,12 +127,12 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
127
127
  index: o
128
128
  })
129
129
  );
130
- }), C = y(() => {
130
+ }), w = V(() => {
131
131
  e.debug && console.log("Computing filtered options");
132
132
  let l = [];
133
133
  return u.value && !s.value.some(
134
134
  (a) => a.text === u.value
135
- ) ? l = O.value.filter((a) => {
135
+ ) ? l = y.value.filter((a) => {
136
136
  let t = !1;
137
137
  if (e.filterBy) {
138
138
  if (typeof e.filterBy == "function")
@@ -147,21 +147,21 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
147
147
  } else
148
148
  return !0;
149
149
  return t || a.text.toLowerCase().includes(u.value.toLowerCase());
150
- }) : l = O.value, l.map((a, t) => ({
150
+ }) : l = y.value, l.map((a, t) => ({
151
151
  ...a,
152
152
  focused: _.value === t
153
153
  }));
154
- }), R = y(
155
- () => O.value.reduce(
154
+ }), R = V(
155
+ () => y.value.reduce(
156
156
  (l, a) => ({
157
157
  ...l,
158
158
  [a.id]: a
159
159
  }),
160
160
  {}
161
161
  )
162
- ), p = y(() => {
162
+ ), p = V(() => {
163
163
  if (e.debug && console.log("Computing optionsIndexedByValue"), e.matchStrategy === "string") {
164
- let l = O.value.reduce(
164
+ let l = y.value.reduce(
165
165
  (a, t) => (a[t.jsonValue] = t, a),
166
166
  {}
167
167
  );
@@ -169,7 +169,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
169
169
  get: (a) => l[JSON.stringify(a)]
170
170
  };
171
171
  } else if (e.matchStrategy === "equality") {
172
- let l = O.value.map((a) => [
172
+ let l = y.value.map((a) => [
173
173
  a.value,
174
174
  a
175
175
  ]);
@@ -181,7 +181,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
181
181
  };
182
182
  } else
183
183
  throw new Error("No match strategy has been defined");
184
- }), be = y(() => {
184
+ }), be = V(() => {
185
185
  if (e.debug && console.log("Computing modelValueIndexed"), e.matchStrategy === "string") {
186
186
  let l = {};
187
187
  return [].concat(e.modelValue).forEach((a, t) => {
@@ -199,19 +199,19 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
199
199
  };
200
200
  } else
201
201
  throw new Error("No match strategy has been defined");
202
- }), s = y(() => (e.debug && console.log("Computing selectedOptions"), [].concat(e.modelValue).reduce((l, a) => {
202
+ }), s = V(() => (e.debug && console.log("Computing selectedOptions"), [].concat(e.modelValue).reduce((l, a) => {
203
203
  const t = p.value.get(a);
204
204
  return t && l.push(t), l;
205
205
  }, []))), M = (l) => {
206
206
  e.debug && console.log("Running onOptionSelected", { option: l });
207
207
  let a;
208
- r.value = l.index, e.multiple ? (l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside multiple > selected > manual"), V.value = V.value.filter(
208
+ r.value = l.index, e.multiple ? (l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside multiple > selected > manual"), C.value = C.value.filter(
209
209
  (t) => t.id !== l.id
210
210
  )), a = e.modelValue.filter(
211
211
  (t) => JSON.stringify(t) !== l.jsonValue
212
212
  ), e.stash && (e.debug && console.log("onOptionSelected: inside multiple > selected > stash"), m.value = m.value.filter((t) => t.id !== l.id))) : (e.debug && console.log("onOptionSelected: inside multiple > not selected"), a = e.modelValue.concat(l.value), e.stash && (e.debug && console.log(
213
213
  "onOptionSelected: inside multiple > not selected > stash"
214
- ), m.value = m.value.concat(l))), e.resetQueryOnOptionSelected && (e.debug && console.log("onOptionSelected: resetting query"), u.value = "")) : l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside single > selected > manual"), V.value = V.value.filter(
214
+ ), m.value = m.value.concat(l))), e.resetQueryOnOptionSelected && (e.debug && console.log("onOptionSelected: resetting query"), u.value = "")) : l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside single > selected > manual"), C.value = C.value.filter(
215
215
  (t) => t.id !== l.id
216
216
  )), a = null, e.stash && (e.debug && console.log("onOptionSelected: inside single > selected > stash"), m.value = []), u.value = "") : (e.debug && console.log("onOptionSelected: inside single > not selected"), a = l.value, e.stash && (e.debug && console.log("onOptionSelected: inside single > not selected > stash"), m.value = [l]), u.value = l.text), f("update:modelValue", a);
217
217
  }, $ = async ({ prefill: l = !1 }) => {
@@ -229,7 +229,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
229
229
  manual: !0,
230
230
  disabled: !1
231
231
  };
232
- V.value = V.value.concat(n), u.value = "";
232
+ C.value = C.value.concat(n), u.value = "";
233
233
  }, z = e.prefill === !0 || !e.multiple && E(e.modelValue) || e.multiple && !!e.modelValue.length;
234
234
  let U;
235
235
  X(
@@ -345,11 +345,11 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
345
345
  }
346
346
  }, Oe = (l) => f("change", l), Ce = (l) => {
347
347
  e.debug && console.log("Running onInputInput"), f("input", l), u.value === "" && (e.multiple || f("update:modelValue", null)), typeof e.items == "function" && Te();
348
- }, r = v(null), _ = y(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = C.value.length - 1), r.value % C.value.length) : r.value), i = v(null), ke = async () => {
348
+ }, r = v(null), _ = V(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = w.value.length - 1), r.value % w.value.length) : r.value), i = v(null), ke = async () => {
349
349
  var l;
350
- if (r.value !== null ? r.value++ : r.value = 0, await le(), _.value !== null) {
350
+ if (r.value !== null ? r.value = r.value % y.value.length : r.value = 0, await le(), _.value !== null) {
351
351
  const a = (l = d.value) == null ? void 0 : l.querySelector(
352
- `#${O.value[_.value].id}`
352
+ `#${y.value[_.value].id}`
353
353
  );
354
354
  a instanceof HTMLElement && a.scrollIntoView({
355
355
  behavior: "smooth",
@@ -359,9 +359,9 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
359
359
  }
360
360
  }, _e = async () => {
361
361
  var l;
362
- if (r.value !== null ? r.value-- : r.value = O.value.length - 1, await le(), _.value !== null) {
362
+ if (r.value !== null ? r.value = r.value === 0 ? y.value.length - 1 : r.value - 1 : r.value = y.value.length - 1, await le(), _.value !== null) {
363
363
  const a = (l = d.value) == null ? void 0 : l.querySelector(
364
- `#${O.value[_.value].id}`
364
+ `#${y.value[_.value].id}`
365
365
  );
366
366
  a instanceof HTMLElement && a.scrollIntoView({
367
367
  behavior: "smooth",
@@ -380,14 +380,24 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
380
380
  {
381
381
  if (l.preventDefault(), c.value)
382
382
  return;
383
- i.value = null, k.value ? _e() : (s.value.length && (r.value = te(s.value).index), await D());
383
+ if (i.value = null, k.value) {
384
+ if (!w.value.length)
385
+ return;
386
+ _e();
387
+ } else
388
+ s.value.length && (r.value = te(s.value).index), await D();
384
389
  }
385
390
  break;
386
391
  case "ArrowDown":
387
392
  {
388
393
  if (l.preventDefault(), c.value)
389
394
  return;
390
- i.value = null, k.value ? ke() : (s.value.length && (r.value = te(s.value).index), await D());
395
+ if (i.value = null, k.value) {
396
+ if (!w.value.length)
397
+ return;
398
+ ke();
399
+ } else
400
+ s.value.length && (r.value = te(s.value).index), await D();
391
401
  }
392
402
  break;
393
403
  case "ArrowLeft":
@@ -427,12 +437,12 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
427
437
  if (l.preventDefault(), c.value)
428
438
  return;
429
439
  if (!k.value)
430
- C.value.length && s.value.length && (r.value = te(s.value).index), await D();
440
+ w.value.length && s.value.length && (r.value = te(s.value).index), await D();
431
441
  else if (_.value !== null) {
432
- if (C.value[_.value].disabled)
442
+ if (w.value[_.value].disabled)
433
443
  return;
434
444
  e.multiple || await A(), M(
435
- C.value[_.value]
445
+ w.value[_.value]
436
446
  );
437
447
  } else if (e.addOptions) {
438
448
  if (e.itemText || e.itemValue) {
@@ -442,7 +452,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
442
452
  return;
443
453
  }
444
454
  he();
445
- const n = We(V.value);
455
+ const n = We(C.value);
446
456
  M(R.value[n.id]);
447
457
  }
448
458
  }
@@ -501,7 +511,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
501
511
  }, Be = Ze(
502
512
  (l) => typeof l != "string",
503
513
  JSON.stringify
504
- ), Ee = y(() => [].concat(e.modelValue).map((l) => {
514
+ ), Ee = V(() => [].concat(e.modelValue).map((l) => {
505
515
  const a = Be(l);
506
516
  return {
507
517
  disabled: e.disabled,
@@ -524,13 +534,13 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
524
534
  onClick: xe
525
535
  }, [
526
536
  b(l.$slots, "prepend-outer"),
527
- w("span", {
537
+ O("span", {
528
538
  ref_key: "innerContainer",
529
539
  ref: N,
530
540
  class: "bb-base-select__inner-container"
531
541
  }, [
532
542
  b(l.$slots, "prepend"),
533
- w("span", Xe, [
543
+ O("span", Xe, [
534
544
  l.multiple ? (g(), h(L, { key: 0 }, [
535
545
  l.comma ? (g(!0), h(L, { key: 0 }, P(s.value, (t, n) => (g(), h("span", {
536
546
  key: t.id,
@@ -568,7 +578,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
568
578
  _: 2
569
579
  }, 1032, ["class", "text", "onClick:clear"]))), 128))
570
580
  ], 64)) : se("", !0),
571
- Fe(w("input", {
581
+ Fe(O("input", {
572
582
  id: l.id,
573
583
  ref_key: "input",
574
584
  ref: T,
@@ -589,7 +599,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
589
599
  [Me, u.value]
590
600
  ]),
591
601
  (g(), ie(Ae, { to: "body" }, [
592
- w("span", {
602
+ O("span", {
593
603
  ref_key: "optionsContainer",
594
604
  ref: d,
595
605
  class: I({
@@ -604,22 +614,22 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
604
614
  tabindex: -1
605
615
  }, [
606
616
  b(l.$slots, "options:prepend"),
607
- !C.value.length && c.value ? (g(), h("span", ll, [
617
+ !w.value.length && c.value ? (g(), h("span", ll, [
608
618
  b(l.$slots, "loading", { query: u.value }, () => [
609
619
  ee(F(l.loadingText), 1)
610
620
  ])
611
- ])) : C.value.length ? se("", !0) : (g(), h("span", tl, [
621
+ ])) : w.value.length ? se("", !0) : (g(), h("span", tl, [
612
622
  b(l.$slots, "no-data", { query: u.value }, () => [
613
623
  ee(F(l.noDataText), 1)
614
624
  ])
615
625
  ])),
616
- (g(!0), h(L, null, P(C.value, (t) => (g(), h(L, {
626
+ (g(!0), h(L, null, P(w.value, (t) => (g(), h(L, {
617
627
  key: t.id
618
628
  }, [
619
629
  b(l.$slots, "option:prepend", {
620
630
  item: t.original
621
631
  }),
622
- w("span", {
632
+ O("span", {
623
633
  id: t.id,
624
634
  "aria-selected": t.selected,
625
635
  class: I({
@@ -643,8 +653,8 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
643
653
  text: t.text,
644
654
  value: t.value
645
655
  }, () => [
646
- w("span", nl, [
647
- w("span", ol, F(t.text), 1)
656
+ O("span", nl, [
657
+ O("span", ol, F(t.text), 1)
648
658
  ])
649
659
  ])
650
660
  ], 10, al),
@@ -656,7 +666,7 @@ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomple
656
666
  ], 6)
657
667
  ]))
658
668
  ]),
659
- w("span", ul, [
669
+ O("span", ul, [
660
670
  b(l.$slots, "chevron", {
661
671
  loading: !!c.value,
662
672
  shown: k.value