bitboss-ui 0.2.42 → 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 (150) hide show
  1. package/dist/index.d.ts +125 -125
  2. package/dist/index101.js +3 -3
  3. package/dist/index103.js +2 -2
  4. package/dist/index109.js +1 -1
  5. package/dist/index11.js +1 -1
  6. package/dist/index111.js +4 -4
  7. package/dist/index113.js +1 -1
  8. package/dist/index116.js +1 -1
  9. package/dist/index118.js +1 -1
  10. package/dist/index121.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/index196.js +2 -10
  19. package/dist/index196.js.map +1 -1
  20. package/dist/index197.js +3 -235
  21. package/dist/index197.js.map +1 -1
  22. package/dist/index198.js +35 -2
  23. package/dist/index198.js.map +1 -1
  24. package/dist/index199.js +6 -3
  25. package/dist/index199.js.map +1 -1
  26. package/dist/index200.js +5 -35
  27. package/dist/index200.js.map +1 -1
  28. package/dist/index201.js +16 -6
  29. package/dist/index201.js.map +1 -1
  30. package/dist/index202.js +16 -5
  31. package/dist/index202.js.map +1 -1
  32. package/dist/index203.js +18 -15
  33. package/dist/index203.js.map +1 -1
  34. package/dist/index204.js +17 -13
  35. package/dist/index204.js.map +1 -1
  36. package/dist/index205.js +28 -18
  37. package/dist/index205.js.map +1 -1
  38. package/dist/index206.js +8 -20
  39. package/dist/index206.js.map +1 -1
  40. package/dist/index207.js +2 -29
  41. package/dist/index207.js.map +1 -1
  42. package/dist/index208.js +2 -8
  43. package/dist/index208.js.map +1 -1
  44. package/dist/index209.js +2 -2
  45. package/dist/index209.js.map +1 -1
  46. package/dist/index21.js +2 -2
  47. package/dist/index211.js +368 -4
  48. package/dist/index211.js.map +1 -1
  49. package/dist/index212.js +131 -365
  50. package/dist/index212.js.map +1 -1
  51. package/dist/index213.js +170 -130
  52. package/dist/index213.js.map +1 -1
  53. package/dist/index214.js +23 -2
  54. package/dist/index214.js.map +1 -1
  55. package/dist/index215.js +363 -164
  56. package/dist/index215.js.map +1 -1
  57. package/dist/index216.js +235 -23
  58. package/dist/index216.js.map +1 -1
  59. package/dist/index217.js +4 -373
  60. package/dist/index217.js.map +1 -1
  61. package/dist/index218.js +10 -3
  62. package/dist/index218.js.map +1 -1
  63. package/dist/index219.js +2 -3
  64. package/dist/index219.js.map +1 -1
  65. package/dist/index220.js +3 -9
  66. package/dist/index220.js.map +1 -1
  67. package/dist/index221.js +3 -121
  68. package/dist/index221.js.map +1 -1
  69. package/dist/index222.js +6 -2
  70. package/dist/index222.js.map +1 -1
  71. package/dist/index223.js +17 -2
  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 +428 -72
  78. package/dist/index226.js.map +1 -1
  79. package/dist/index227.js +89 -2
  80. package/dist/index227.js.map +1 -1
  81. package/dist/index228.js +197 -157
  82. package/dist/index228.js.map +1 -1
  83. package/dist/index229.js +297 -1
  84. package/dist/index229.js.map +1 -1
  85. package/dist/index23.js +1 -1
  86. package/dist/index230.js +6 -69
  87. package/dist/index230.js.map +1 -1
  88. package/dist/index231.js +2 -5
  89. package/dist/index231.js.map +1 -1
  90. package/dist/index232.js +2 -15
  91. package/dist/index232.js.map +1 -1
  92. package/dist/index233.js +2 -435
  93. package/dist/index233.js.map +1 -1
  94. package/dist/index234.js +2 -89
  95. package/dist/index234.js.map +1 -1
  96. package/dist/index235.js +2 -200
  97. package/dist/index235.js.map +1 -1
  98. package/dist/index236.js +2 -295
  99. package/dist/index236.js.map +1 -1
  100. package/dist/index237.js +2 -6
  101. package/dist/index237.js.map +1 -1
  102. package/dist/index238.js +117 -2
  103. package/dist/index238.js.map +1 -1
  104. package/dist/index239.js +106 -2
  105. package/dist/index239.js.map +1 -1
  106. package/dist/index240.js +79 -2
  107. package/dist/index240.js.map +1 -1
  108. package/dist/index241.js +69 -2
  109. package/dist/index241.js.map +1 -1
  110. package/dist/index242.js +160 -2
  111. package/dist/index242.js.map +1 -1
  112. package/dist/index243.js +1 -4
  113. package/dist/index243.js.map +1 -1
  114. package/dist/index244.js +5 -4
  115. package/dist/index244.js.map +1 -1
  116. package/dist/index245.js +2 -2
  117. package/dist/index245.js.map +1 -1
  118. package/dist/index246.js +3 -116
  119. package/dist/index246.js.map +1 -1
  120. package/dist/index247.js +218 -100
  121. package/dist/index247.js.map +1 -1
  122. package/dist/index248.js +258 -2
  123. package/dist/index248.js.map +1 -1
  124. package/dist/index249.js +2 -224
  125. package/dist/index249.js.map +1 -1
  126. package/dist/index25.js +1 -1
  127. package/dist/index250.js +4 -258
  128. package/dist/index250.js.map +1 -1
  129. package/dist/index251.js +4 -4
  130. package/dist/index251.js.map +1 -1
  131. package/dist/index252.js +61 -4
  132. package/dist/index252.js.map +1 -1
  133. package/dist/index253.js +14 -60
  134. package/dist/index253.js.map +1 -1
  135. package/dist/index254.js +1 -1
  136. package/dist/index255.js +2 -2
  137. package/dist/index29.js +2 -2
  138. package/dist/index31.js +168 -165
  139. package/dist/index31.js.map +1 -1
  140. package/dist/index33.js +1 -1
  141. package/dist/index35.js +1 -1
  142. package/dist/index65.js +5 -5
  143. package/dist/index69.js +2 -2
  144. package/dist/index72.js +1 -1
  145. package/dist/index75.js +1 -1
  146. package/dist/index77.js +1 -1
  147. package/dist/index79.js +4 -4
  148. package/dist/index81.js +1 -1
  149. package/dist/style.css +1 -1
  150. package/package.json +1 -1
package/dist/index31.js CHANGED
@@ -1,37 +1,36 @@
1
- import { defineComponent as Ne, ref as f, computed as y, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as g, createElementBlock as h, normalizeClass as x, renderSlot as b, createElementVNode as w, Fragment as D, renderList as H, toDisplayString as L, createBlock as ue, withModifiers as I, withCtx as Le, createTextVNode as ee, createCommentVNode as ie, withDirectives as Fe, vModelDynamic as Me, Teleport as Ae, normalizeStyle as qe, createVNode as Je, mergeProps as Re, nextTick as se } 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
- import Pe from "./index119.js";
4
+ import He from "./index119.js";
5
5
  import "./index185.js";
6
- import { autoUpdate as He, computePosition as Ue, flip as je, shift as Qe } from "./index212.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 le } from "./index223.js";
9
- import { isNotNil as B } from "./index124.js";
10
- import { last as We } from "./index209.js";
8
+ import { head as te } from "./index219.js";
9
+ import { isNotNil as E } from "./index124.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 { waitFor as Ze } from "./index201.js";
15
- import { when as Ge } from "./index211.js";
16
- import { offset as Xe } from "./index217.js";
17
- const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomplete", "autofocus", "disabled", "placeholder", "readonly"], tl = {
14
+ import { when as Ze } from "./index217.js";
15
+ import { offset as Ge } from "./index215.js";
16
+ const Xe = { class: "bb-base-select__input-container" }, el = ["id", "autocomplete", "autofocus", "disabled", "placeholder", "readonly"], ll = {
18
17
  key: 0,
19
18
  class: "bb-base-select__loading-container"
20
- }, al = {
19
+ }, tl = {
21
20
  key: 1,
22
21
  class: "bb-base-select__no-data-container"
23
- }, nl = ["id", "aria-selected"], ol = { class: "bb-base-select-option__content" }, ul = { class: "bb-base-select-option__text" }, il = { class: "bb-base-select__chevron" }, sl = /* @__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", {
24
23
  fill: "none",
25
24
  viewBox: "0 0 16 8",
26
25
  xmlns: "http://www.w3.org/2000/svg"
27
26
  }, [
28
- /* @__PURE__ */ w("path", {
27
+ /* @__PURE__ */ O("path", {
29
28
  "clip-rule": "evenodd",
30
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",
31
30
  fill: "currentColor",
32
31
  "fill-rule": "evenodd"
33
32
  })
34
- ], -1), _l = /* @__PURE__ */ Ne({
33
+ ], -1), Cl = /* @__PURE__ */ Ne({
35
34
  __name: "BaseSelect",
36
35
  props: {
37
36
  allowWriting: { type: Boolean, default: !0 },
@@ -68,15 +67,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
68
67
  },
69
68
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
70
69
  setup(de, { emit: ce }) {
71
- const e = de, c = ce;
70
+ const e = de, f = ce;
72
71
  if (e.multiple && !Array.isArray(e.modelValue))
73
72
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
74
- const F = f(null), E = f(null), v = f(null), S = f(null), u = f(""), fe = y(() => s.value.length ? "" : e.placeholder), d = f(0), ve = e.transitionDuration / 1e3 + "s";
75
- let te;
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
+ let ae;
76
75
  $e(async () => {
77
- e.debug && console.log("Calling onMounted"), E.value && v.value && (te = He(
78
- E.value,
79
- v.value,
76
+ e.debug && console.log("Calling onMounted"), N.value && d.value && (ae = Pe(
77
+ N.value,
78
+ d.value,
80
79
  ye,
81
80
  {
82
81
  ancestorResize: !0,
@@ -86,9 +85,9 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
86
85
  }
87
86
  ));
88
87
  }), De(() => {
89
- e.debug && console.log("Calling onBeforeUnMount"), te();
88
+ e.debug && console.log("Calling onBeforeUnMount"), ae();
90
89
  });
91
- const ae = f([]), m = f([]), V = f([]), { getItemText: me } = Ke(), { getItemValue: pe } = Ye(), ge = y(() => ae.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) => {
92
91
  e.debug && console.log("Mapping items in internalOptions", { item: l });
93
92
  const t = me(l, e.itemText), n = pe(l, e.itemValue);
94
93
  if (n === void 0)
@@ -105,12 +104,12 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
105
104
  text: t,
106
105
  value: n
107
106
  };
108
- })), O = y(() => {
107
+ })), y = V(() => {
109
108
  let l = ge.value.reduce(
110
109
  (n, o) => (n[o.id] = o, n),
111
110
  {}
112
111
  );
113
- const a = V.value.reduce(
112
+ const a = C.value.reduce(
114
113
  (n, o) => (n[o.id] || (n[o.id] = o), n),
115
114
  l
116
115
  ), t = m.value.reduce(
@@ -124,16 +123,16 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
124
123
  }), Object.values(t).map(
125
124
  (n, o) => ({
126
125
  ...n,
127
- selected: B(be.value.get(n.value)),
126
+ selected: E(be.value.get(n.value)),
128
127
  index: o
129
128
  })
130
129
  );
131
- }), C = y(() => {
130
+ }), w = V(() => {
132
131
  e.debug && console.log("Computing filtered options");
133
132
  let l = [];
134
133
  return u.value && !s.value.some(
135
134
  (a) => a.text === u.value
136
- ) ? l = O.value.filter((a) => {
135
+ ) ? l = y.value.filter((a) => {
137
136
  let t = !1;
138
137
  if (e.filterBy) {
139
138
  if (typeof e.filterBy == "function")
@@ -141,28 +140,28 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
141
140
  else if (e.filterBy.length) {
142
141
  const n = [].concat(e.filterBy);
143
142
  for (let o = 0; o < n.length; o++) {
144
- const T = n[o];
145
- t = t || a.original[T] && a.original[T].toLowerCase().includes(u.value.toLowerCase());
143
+ const x = n[o];
144
+ t = t || a.original[x] && a.original[x].toLowerCase().includes(u.value.toLowerCase());
146
145
  }
147
146
  }
148
147
  } else
149
148
  return !0;
150
149
  return t || a.text.toLowerCase().includes(u.value.toLowerCase());
151
- }) : l = O.value, l.map((a, t) => ({
150
+ }) : l = y.value, l.map((a, t) => ({
152
151
  ...a,
153
152
  focused: _.value === t
154
153
  }));
155
- }), R = y(
156
- () => O.value.reduce(
154
+ }), R = V(
155
+ () => y.value.reduce(
157
156
  (l, a) => ({
158
157
  ...l,
159
158
  [a.id]: a
160
159
  }),
161
160
  {}
162
161
  )
163
- ), p = y(() => {
162
+ ), p = V(() => {
164
163
  if (e.debug && console.log("Computing optionsIndexedByValue"), e.matchStrategy === "string") {
165
- let l = O.value.reduce(
164
+ let l = y.value.reduce(
166
165
  (a, t) => (a[t.jsonValue] = t, a),
167
166
  {}
168
167
  );
@@ -170,7 +169,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
170
169
  get: (a) => l[JSON.stringify(a)]
171
170
  };
172
171
  } else if (e.matchStrategy === "equality") {
173
- let l = O.value.map((a) => [
172
+ let l = y.value.map((a) => [
174
173
  a.value,
175
174
  a
176
175
  ]);
@@ -182,7 +181,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
182
181
  };
183
182
  } else
184
183
  throw new Error("No match strategy has been defined");
185
- }), be = y(() => {
184
+ }), be = V(() => {
186
185
  if (e.debug && console.log("Computing modelValueIndexed"), e.matchStrategy === "string") {
187
186
  let l = {};
188
187
  return [].concat(e.modelValue).forEach((a, t) => {
@@ -191,7 +190,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
191
190
  get: (a) => l[JSON.stringify(a)]
192
191
  };
193
192
  } else if (e.matchStrategy === "equality") {
194
- const l = [].concat(e.modelValue).filter(B).map((a, t) => [a, t]);
193
+ const l = [].concat(e.modelValue).filter(E).map((a, t) => [a, t]);
195
194
  return {
196
195
  get: (a) => {
197
196
  var t;
@@ -200,25 +199,25 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
200
199
  };
201
200
  } else
202
201
  throw new Error("No match strategy has been defined");
203
- }), 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) => {
204
203
  const t = p.value.get(a);
205
204
  return t && l.push(t), l;
206
205
  }, []))), M = (l) => {
207
206
  e.debug && console.log("Running onOptionSelected", { option: l });
208
207
  let a;
209
- 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(
210
209
  (t) => t.id !== l.id
211
210
  )), a = e.modelValue.filter(
212
211
  (t) => JSON.stringify(t) !== l.jsonValue
213
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(
214
213
  "onOptionSelected: inside multiple > not selected > stash"
215
- ), 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(
216
215
  (t) => t.id !== l.id
217
- )), 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), c("update:modelValue", a);
218
- }, N = async ({ prefill: l = !1 }) => {
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
+ }, $ = async ({ prefill: l = !1 }) => {
219
218
  e.debug && console.log("running getOptions");
220
219
  let a = [];
221
- Array.isArray(e.items) ? a = e.items : typeof e.items == "function" && (d.value++, a = await e.items(u.value, l, e.modelValue), d.value--), ae.value = a;
220
+ Array.isArray(e.items) ? a = e.items : typeof e.items == "function" && (c.value++, a = await e.items(u.value, l, e.modelValue), c.value--), ne.value = a;
222
221
  }, he = () => {
223
222
  e.debug && console.log("running addOption");
224
223
  const l = u.value, a = u.value, t = JSON.stringify(a), n = {
@@ -230,8 +229,8 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
230
229
  manual: !0,
231
230
  disabled: !1
232
231
  };
233
- V.value = V.value.concat(n), u.value = "";
234
- }, z = e.prefill === !0 || !e.multiple && B(e.modelValue) || e.multiple && !!e.modelValue.length;
232
+ C.value = C.value.concat(n), u.value = "";
233
+ }, z = e.prefill === !0 || !e.multiple && E(e.modelValue) || e.multiple && !!e.modelValue.length;
235
234
  let U;
236
235
  X(
237
236
  () => e.modelValue,
@@ -244,7 +243,7 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
244
243
  let t = e.modelValue.every(
245
244
  (n) => p.value.get(n)
246
245
  );
247
- if ((!t || a === void 0) && (await N({ prefill: !0 }), t = e.modelValue.every(
246
+ if ((!t || a === void 0) && (await $({ prefill: !0 }), t = e.modelValue.every(
248
247
  (n) => p.value.get(n)
249
248
  )), t)
250
249
  e.stash && (m.value = e.modelValue.map(
@@ -252,21 +251,21 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
252
251
  ));
253
252
  else {
254
253
  let n = [];
255
- const o = l.filter((T) => {
256
- let q = p.value.get(T);
254
+ const o = l.filter((x) => {
255
+ let q = p.value.get(x);
257
256
  return q && n.push(q), q;
258
257
  });
259
- e.stash && (m.value = n), e.enforceCoherence && c("update:modelValue", o);
258
+ e.stash && (m.value = n), e.enforceCoherence && f("update:modelValue", o);
260
259
  }
261
260
  } else {
262
261
  e.debug && console.log("watch.modelValue >> single");
263
262
  let t = p.value.get(e.modelValue);
264
- if (!t && B(e.modelValue) || a === void 0) {
263
+ if (!t && E(e.modelValue) || a === void 0) {
265
264
  e.debug && console.log("watch.modelValue >> not found line 895");
266
265
  const n = u.value;
267
- u.value = "", await N({ prefill: !0 }), u.value = n;
266
+ u.value = "", await $({ prefill: !0 }), u.value = n;
268
267
  }
269
- t = p.value.get(e.modelValue), t ? (e.debug && console.log("watch.modelValue >> found"), u.value = t.text, e.debug && console.log("watch.modelValue assigned to query"), e.stash && (m.value = [t], e.debug && console.log("watch.modelValue assigned to stash")), e.debug && console.log("watch.modelValue end of found")) : e.enforceCoherence && B(l) ? (e.debug && console.log("watch.modelValue >> not found line 911"), u.value = "", e.stash && (m.value = []), c("update:modelValue", null)) : u.value = "";
268
+ t = p.value.get(e.modelValue), t ? (e.debug && console.log("watch.modelValue >> found"), u.value = t.text, e.debug && console.log("watch.modelValue assigned to query"), e.stash && (m.value = [t], e.debug && console.log("watch.modelValue assigned to stash")), e.debug && console.log("watch.modelValue end of found")) : e.enforceCoherence && E(l) ? (e.debug && console.log("watch.modelValue >> not found line 911"), u.value = "", e.stash && (m.value = []), f("update:modelValue", null)) : u.value = "";
270
269
  }
271
270
  },
272
271
  z ? 0 : e.modelValueDebounceTime
@@ -279,15 +278,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
279
278
  async (l, a) => {
280
279
  if (typeof l == "function" || // Circumvent arrays defined in the template by the parent
281
280
  JSON.stringify(l) !== JSON.stringify(a))
282
- if (e.debug && console.log("watch.items"), await N({ prefill: !1 }), e.multiple) {
281
+ if (e.debug && console.log("watch.items"), await $({ prefill: !1 }), e.multiple) {
283
282
  if (!e.modelValue.every(
284
283
  (n) => p.value.get(n)
285
284
  ) && e.enforceCoherence) {
286
285
  const n = e.modelValue.filter((o) => p.value.get(o));
287
- c("update:modelValue", n);
286
+ f("update:modelValue", n);
288
287
  }
289
288
  } else
290
- !p.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && c("update:modelValue", null), r.value = null;
289
+ !p.value.get(e.modelValue) && e.enforceCoherence && E(e.modelValue) && f("update:modelValue", null), r.value = null;
291
290
  }
292
291
  );
293
292
  let j;
@@ -298,17 +297,17 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
298
297
  if (JSON.stringify(l) !== JSON.stringify(a)) {
299
298
  e.enforceCoherence && e.stash && (m.value = []);
300
299
  let t = u.value;
301
- if (u.value = "", await N({ prefill: !0 }), u.value = t, !e.multiple)
302
- !p.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && (u.value = "", e.stash && (m.value = []), c("update:modelValue", null));
300
+ if (u.value = "", await $({ prefill: !0 }), u.value = t, !e.multiple)
301
+ !p.value.get(e.modelValue) && e.enforceCoherence && E(e.modelValue) && (u.value = "", e.stash && (m.value = []), f("update:modelValue", null));
303
302
  else if (!e.modelValue.every(
304
303
  (o) => p.value.get(o)
305
304
  ) && e.enforceCoherence) {
306
305
  let o = [];
307
- const T = e.modelValue.filter((q) => {
306
+ const x = e.modelValue.filter((q) => {
308
307
  let G = p.value.get(q);
309
308
  return G && o.push(G), G;
310
309
  });
311
- e.stash && (m.value = o), c("update:modelValue", T);
310
+ e.stash && (m.value = o), f("update:modelValue", x);
312
311
  }
313
312
  }
314
313
  }, e.depsDebounceTime));
@@ -316,47 +315,41 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
316
315
  { deep: !0 }
317
316
  );
318
317
  const ye = () => {
319
- e.debug && console.log("Running display options"), E.value && v.value && Ue(E.value, v.value, {
318
+ e.debug && console.log("Running display options"), N.value && d.value && Ue(N.value, d.value, {
320
319
  placement: "bottom",
321
- middleware: [Xe(6), je(), Qe()]
320
+ middleware: [Ge(6), je(), Qe()]
322
321
  }).then((l) => {
323
322
  var a;
324
- v.value && (v.value.style.left = `${l.x}px`, v.value.style.top = `${l.y}px`, v.value.style.width = `${(a = E.value) == null ? void 0 : a.offsetWidth}px`);
323
+ d.value && (d.value.style.left = `${l.x}px`, d.value.style.top = `${l.y}px`, d.value.style.width = `${(a = N.value) == null ? void 0 : a.offsetWidth}px`);
325
324
  });
326
- }, k = f(!1), Q = f(!1), W = f(!1), K = f(!0), $ = async () => {
325
+ }, k = v(!1), Q = v(!1), W = v(!1), K = v(!0), D = async () => {
327
326
  K.value = !1, Q.value = !0, await J(e.transitionDuration), Q.value = !1, k.value = !0;
328
327
  }, A = async () => {
329
328
  k.value = !1, W.value = !0, await J(e.transitionDuration), W.value = !1, K.value = !0;
330
- }, P = f(!1);
329
+ }, H = v(!1);
331
330
  let Y = !0;
332
331
  const we = async (l) => {
333
- e.debug && console.log("Running onInputFocus"), c("focus", l), P.value = !0, document.addEventListener("click", oe), document.addEventListener("focusin", ne), S.value instanceof HTMLInputElement && S.value.select(), e.prefill === "focus" && Y && !z && (await N({ prefill: !0 }), Y = !1);
334
- }, ne = async (l) => {
335
- if (e.debug && console.log("Running onFocusOutside"), l.target instanceof Node && F.value && v.value && !F.value.contains(l.target) && !v.value.contains(l.target)) {
336
- A(), c("inactive"), document.removeEventListener("focusin", ne), P.value = !1, e.multiple && (await J(500), u.value = "");
332
+ e.debug && console.log("Running onInputFocus"), f("focus", l), H.value = !0, document.addEventListener("click", ue), document.addEventListener("focusin", oe), T.value instanceof HTMLInputElement && T.value.select(), e.prefill === "focus" && Y && !z && (await $({ prefill: !0 }), Y = !1);
333
+ }, oe = async (l) => {
334
+ if (e.debug && console.log("Running onFocusOutside"), l.target instanceof Node && S.value && d.value && !S.value.contains(l.target) && !d.value.contains(l.target)) {
335
+ A(), f("inactive"), document.removeEventListener("focusin", oe), H.value = !1, e.multiple && (await J(500), u.value = "");
337
336
  return;
338
337
  }
339
338
  }, Ve = async (l) => {
340
- if (e.debug && console.log("Running onInputBlur"), c("blur", l), !e.multiple) {
341
- let a = !1;
342
- const t = e.modelValue;
343
- if (await Promise.race([
344
- J(250),
345
- Ze(() => t !== e.modelValue).then(() => {
346
- a = !0;
347
- })
348
- ]), !a) {
349
- const n = p.value.get(e.modelValue);
350
- n && (u.value = n.text);
339
+ if (e.debug && console.log("Running onInputBlur"), f("blur", l), !e.multiple && (e.modelValue, await le(), await J(300), S.value && d.value)) {
340
+ const a = document.activeElement;
341
+ if (!S.value.contains(a) && !d.value.contains(a)) {
342
+ const t = p.value.get(e.modelValue);
343
+ t && (u.value = t.text);
351
344
  }
352
345
  }
353
- }, Oe = (l) => c("change", l), Ce = (l) => {
354
- e.debug && console.log("Running onInputInput"), c("input", l), u.value === "" && (e.multiple || c("update:modelValue", null)), typeof e.items == "function" && Te();
355
- }, r = f(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 = f(null), ke = async () => {
346
+ }, Oe = (l) => f("change", l), Ce = (l) => {
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), _ = 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 () => {
356
349
  var l;
357
- if (r.value !== null ? r.value++ : r.value = 0, await se(), _.value !== null) {
358
- const a = (l = v.value) == null ? void 0 : l.querySelector(
359
- `#${O.value[_.value].id}`
350
+ if (r.value !== null ? r.value = r.value % y.value.length : r.value = 0, await le(), _.value !== null) {
351
+ const a = (l = d.value) == null ? void 0 : l.querySelector(
352
+ `#${y.value[_.value].id}`
360
353
  );
361
354
  a instanceof HTMLElement && a.scrollIntoView({
362
355
  behavior: "smooth",
@@ -366,9 +359,9 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
366
359
  }
367
360
  }, _e = async () => {
368
361
  var l;
369
- if (r.value !== null ? r.value-- : r.value = O.value.length - 1, await se(), _.value !== null) {
370
- const a = (l = v.value) == null ? void 0 : l.querySelector(
371
- `#${O.value[_.value].id}`
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
+ const a = (l = d.value) == null ? void 0 : l.querySelector(
364
+ `#${y.value[_.value].id}`
372
365
  );
373
366
  a instanceof HTMLElement && a.scrollIntoView({
374
367
  behavior: "smooth",
@@ -385,24 +378,34 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
385
378
  switch (l.key) {
386
379
  case "ArrowUp":
387
380
  {
388
- if (l.preventDefault(), d.value)
381
+ if (l.preventDefault(), c.value)
389
382
  return;
390
- i.value = null, k.value ? _e() : (s.value.length && (r.value = le(s.value).index), await $());
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();
391
389
  }
392
390
  break;
393
391
  case "ArrowDown":
394
392
  {
395
- if (l.preventDefault(), d.value)
393
+ if (l.preventDefault(), c.value)
396
394
  return;
397
- i.value = null, k.value ? ke() : (s.value.length && (r.value = le(s.value).index), await $());
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();
398
401
  }
399
402
  break;
400
403
  case "ArrowLeft":
401
404
  {
402
- if (d.value)
405
+ if (c.value)
403
406
  return;
404
407
  if (!u.value && s.value.length && (i.value === null ? i.value = s.value.length - 1 : i.value > 0 ? i.value-- : i.value = null, i.value !== null)) {
405
- let n = s.value[i.value], o = (a = v.value) == null ? void 0 : a.querySelector(
408
+ let n = s.value[i.value], o = (a = d.value) == null ? void 0 : a.querySelector(
406
409
  `#${n.id}`
407
410
  );
408
411
  o && (o.scrollIntoView({
@@ -415,10 +418,10 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
415
418
  break;
416
419
  case "ArrowRight":
417
420
  {
418
- if (d.value)
421
+ if (c.value)
419
422
  return;
420
423
  if (!u.value && s.value.length && (i.value === null ? i.value = 0 : i.value < s.value.length - 1 ? i.value++ : i.value = null, i.value !== null)) {
421
- let n = s.value[i.value], o = (t = v.value) == null ? void 0 : t.querySelector(
424
+ let n = s.value[i.value], o = (t = d.value) == null ? void 0 : t.querySelector(
422
425
  `#${n.id}`
423
426
  );
424
427
  o && (o.scrollIntoView({
@@ -431,15 +434,15 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
431
434
  break;
432
435
  case "Enter":
433
436
  {
434
- if (l.preventDefault(), d.value)
437
+ if (l.preventDefault(), c.value)
435
438
  return;
436
439
  if (!k.value)
437
- C.value.length && s.value.length && (r.value = le(s.value).index), await $();
440
+ w.value.length && s.value.length && (r.value = te(s.value).index), await D();
438
441
  else if (_.value !== null) {
439
- if (C.value[_.value].disabled)
442
+ if (w.value[_.value].disabled)
440
443
  return;
441
444
  e.multiple || await A(), M(
442
- C.value[_.value]
445
+ w.value[_.value]
443
446
  );
444
447
  } else if (e.addOptions) {
445
448
  if (e.itemText || e.itemValue) {
@@ -449,22 +452,22 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
449
452
  return;
450
453
  }
451
454
  he();
452
- const n = We(V.value);
455
+ const n = We(C.value);
453
456
  M(R.value[n.id]);
454
457
  }
455
458
  }
456
459
  break;
457
460
  case "Tab":
458
461
  case "Escape":
459
- k.value && await A(), c("inactive"), i.value = null, r.value = null;
462
+ k.value && await A(), f("inactive"), i.value = null, r.value = null;
460
463
  break;
461
464
  case "Shift":
462
- if (d.value)
465
+ if (c.value)
463
466
  return;
464
467
  break;
465
468
  case "Backspace":
466
469
  {
467
- if (d.value)
470
+ if (c.value)
468
471
  return;
469
472
  u.value || s.value.length && (i.value === null ? i.value = s.value.length - 1 : (M(
470
473
  s.value[i.value]
@@ -474,11 +477,11 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
474
477
  s.value.length - 2
475
478
  ),
476
479
  0
477
- ) : i.value = null)), await $();
480
+ ) : i.value = null)), await D();
478
481
  }
479
482
  break;
480
483
  default:
481
- i.value = null, r.value = null, await $();
484
+ i.value = null, r.value = null, await D();
482
485
  break;
483
486
  }
484
487
  };
@@ -486,29 +489,29 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
486
489
  const Te = () => {
487
490
  Z && clearTimeout(Z), Z = setTimeout(async () => {
488
491
  try {
489
- await N({ prefill: !1 });
492
+ await $({ prefill: !1 });
490
493
  } catch (l) {
491
494
  console.error(l);
492
495
  }
493
496
  }, e.queryDebounceTime);
494
497
  }, xe = (l) => {
495
- c("click", l), !(e.disabled || e.readonly) && (S.value instanceof HTMLElement && S.value.focus(), $());
498
+ f("click", l), !(e.disabled || e.readonly) && (T.value instanceof HTMLElement && T.value.focus(), D());
496
499
  }, Ie = (l) => {
497
500
  if (l.currentTarget instanceof HTMLElement && l.currentTarget.classList.contains("bb-base-select-option")) {
498
501
  const a = R.value[l.currentTarget.id];
499
502
  if (a.disabled)
500
503
  return;
501
- M(a), S.value instanceof HTMLInputElement && S.value.focus(), e.multiple || A();
504
+ M(a), T.value instanceof HTMLInputElement && T.value.focus(), e.multiple || A();
502
505
  }
503
- }, oe = async (l) => {
504
- if (l.target instanceof Node && F.value && !F.value.contains(l.target)) {
505
- A(), c("inactive"), document.removeEventListener("click", oe), P.value = !1, e.multiple && (await J(500), u.value = "");
506
+ }, ue = async (l) => {
507
+ if (l.target instanceof Node && S.value && !S.value.contains(l.target)) {
508
+ A(), f("inactive"), document.removeEventListener("click", ue), H.value = !1, e.multiple && (await J(500), u.value = "");
506
509
  return;
507
510
  }
508
- }, Be = Ge(
511
+ }, Be = Ze(
509
512
  (l) => typeof l != "string",
510
513
  JSON.stringify
511
- ), Ee = y(() => [].concat(e.modelValue).map((l) => {
514
+ ), Ee = V(() => [].concat(e.modelValue).map((l) => {
512
515
  const a = Be(l);
513
516
  return {
514
517
  disabled: e.disabled,
@@ -519,11 +522,11 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
519
522
  }));
520
523
  return (l, a) => (g(), h("span", {
521
524
  ref_key: "outerContainer",
522
- ref: F,
523
- class: x({
525
+ ref: S,
526
+ class: I({
524
527
  "bb-base-select": !0,
525
- "bb-base-select--active": P.value,
526
- "bb-base-select--loading": d.value,
528
+ "bb-base-select--active": H.value,
529
+ "bb-base-select--loading": c.value,
527
530
  "bb-base-select--disabled": l.disabled,
528
531
  "bb-base-select--errors": l.hasErrors,
529
532
  "bb-base-select--readonly": l.readonly
@@ -531,31 +534,31 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
531
534
  onClick: xe
532
535
  }, [
533
536
  b(l.$slots, "prepend-outer"),
534
- w("span", {
537
+ O("span", {
535
538
  ref_key: "innerContainer",
536
- ref: E,
539
+ ref: N,
537
540
  class: "bb-base-select__inner-container"
538
541
  }, [
539
542
  b(l.$slots, "prepend"),
540
- w("span", el, [
541
- l.multiple ? (g(), h(D, { key: 0 }, [
542
- l.comma ? (g(!0), h(D, { key: 0 }, H(s.value, (t, n) => (g(), h("span", {
543
+ O("span", Xe, [
544
+ l.multiple ? (g(), h(L, { key: 0 }, [
545
+ l.comma ? (g(!0), h(L, { key: 0 }, P(s.value, (t, n) => (g(), h("span", {
543
546
  key: t.id,
544
- class: x({
547
+ class: I({
545
548
  "bb-base-select__selected": !0,
546
549
  "bb-base-select__selected--comma": !0,
547
550
  "bb-base-select__selected--focused": n === i.value
548
551
  })
549
- }, L(t.text) + L(n < s.value.length - 1 ? "," : ""), 3))), 128)) : (g(!0), h(D, { key: 1 }, H(s.value, (t, n) => (g(), ue(ze, {
552
+ }, F(t.text) + F(n < s.value.length - 1 ? "," : ""), 3))), 128)) : (g(!0), h(L, { key: 1 }, P(s.value, (t, n) => (g(), ie(ze, {
550
553
  key: t.id,
551
- class: x({
554
+ class: I({
552
555
  "bb-base-select__selected": !0,
553
556
  "bb-base-select__selected--chip": !0,
554
557
  "bb-base-select__selected--focused": n === i.value
555
558
  }),
556
559
  clearable: !0,
557
560
  text: t.text,
558
- "onClick:clear": I((o) => M(t), ["stop"])
561
+ "onClick:clear": B((o) => M(t), ["stop"])
559
562
  }, {
560
563
  default: Le(() => [
561
564
  b(l.$slots, "chip", {
@@ -563,43 +566,43 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
563
566
  hasErrors: l.hasErrors,
564
567
  index: t.index,
565
568
  item: t.original,
566
- loading: !!d.value,
569
+ loading: !!c.value,
567
570
  manual: t.manual,
568
571
  selected: t.selected,
569
572
  text: t.text,
570
573
  value: t.value
571
574
  }, () => [
572
- ee(L(t.text), 1)
575
+ ee(F(t.text), 1)
573
576
  ])
574
577
  ]),
575
578
  _: 2
576
579
  }, 1032, ["class", "text", "onClick:clear"]))), 128))
577
- ], 64)) : ie("", !0),
578
- Fe(w("input", {
580
+ ], 64)) : se("", !0),
581
+ Fe(O("input", {
579
582
  id: l.id,
580
583
  ref_key: "input",
581
- ref: S,
584
+ ref: T,
582
585
  "onUpdate:modelValue": a[0] || (a[0] = (t) => u.value = t),
583
586
  autocomplete: l.autocomplete,
584
587
  autofocus: l.autofocus,
585
- class: x("bb-base-select__text-input"),
588
+ class: I("bb-base-select__text-input"),
586
589
  disabled: l.disabled,
587
590
  placeholder: fe.value,
588
591
  readonly: l.readonly || !l.allowWriting,
589
592
  type: "text",
590
- onBlur: I(Ve, ["stop"]),
591
- onChange: I(Oe, ["stop"]),
592
- onFocus: I(we, ["stop"]),
593
- onInput: I(Ce, ["stop"]),
594
- onKeydown: I(Se, ["stop"])
595
- }, null, 40, ll), [
593
+ onBlur: B(Ve, ["stop"]),
594
+ onChange: B(Oe, ["stop"]),
595
+ onFocus: B(we, ["stop"]),
596
+ onInput: B(Ce, ["stop"]),
597
+ onKeydown: B(Se, ["stop"])
598
+ }, null, 40, el), [
596
599
  [Me, u.value]
597
600
  ]),
598
- (g(), ue(Ae, { to: "body" }, [
599
- w("span", {
601
+ (g(), ie(Ae, { to: "body" }, [
602
+ O("span", {
600
603
  ref_key: "optionsContainer",
601
- ref: v,
602
- class: x({
604
+ ref: d,
605
+ class: I({
603
606
  "bb-base-select__options-container": !0,
604
607
  "bb-base-select__options-container--shown": k.value,
605
608
  "bb-base-select__options-container--showing": Q.value,
@@ -611,32 +614,32 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
611
614
  tabindex: -1
612
615
  }, [
613
616
  b(l.$slots, "options:prepend"),
614
- !C.value.length && d.value ? (g(), h("span", tl, [
617
+ !w.value.length && c.value ? (g(), h("span", ll, [
615
618
  b(l.$slots, "loading", { query: u.value }, () => [
616
- ee(L(l.loadingText), 1)
619
+ ee(F(l.loadingText), 1)
617
620
  ])
618
- ])) : C.value.length ? ie("", !0) : (g(), h("span", al, [
621
+ ])) : w.value.length ? se("", !0) : (g(), h("span", tl, [
619
622
  b(l.$slots, "no-data", { query: u.value }, () => [
620
- ee(L(l.noDataText), 1)
623
+ ee(F(l.noDataText), 1)
621
624
  ])
622
625
  ])),
623
- (g(!0), h(D, null, H(C.value, (t) => (g(), h(D, {
626
+ (g(!0), h(L, null, P(w.value, (t) => (g(), h(L, {
624
627
  key: t.id
625
628
  }, [
626
629
  b(l.$slots, "option:prepend", {
627
630
  item: t.original
628
631
  }),
629
- w("span", {
632
+ O("span", {
630
633
  id: t.id,
631
634
  "aria-selected": t.selected,
632
- class: x({
635
+ class: I({
633
636
  "bb-base-select-option": !0,
634
637
  "bb-base-select-option--selected": t.selected,
635
638
  "bb-base-select-option--focused": t.focused,
636
639
  "bb-base-select-option--disabled": t.disabled
637
640
  }),
638
641
  role: "option",
639
- onClick: I(Ie, ["stop"])
642
+ onClick: B(Ie, ["stop"])
640
643
  }, [
641
644
  b(l.$slots, "option", {
642
645
  disabled: t.disabled,
@@ -644,17 +647,17 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
644
647
  hasErrors: l.hasErrors,
645
648
  index: t.index,
646
649
  item: t.original,
647
- loading: !!d.value,
650
+ loading: !!c.value,
648
651
  manual: t.manual,
649
652
  selected: t.selected,
650
653
  text: t.text,
651
654
  value: t.value
652
655
  }, () => [
653
- w("span", ol, [
654
- w("span", ul, L(t.text), 1)
656
+ O("span", nl, [
657
+ O("span", ol, F(t.text), 1)
655
658
  ])
656
659
  ])
657
- ], 10, nl),
660
+ ], 10, al),
658
661
  b(l.$slots, "option:append", {
659
662
  item: t.original
660
663
  })
@@ -663,36 +666,36 @@ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomple
663
666
  ], 6)
664
667
  ]))
665
668
  ]),
666
- w("span", il, [
669
+ O("span", ul, [
667
670
  b(l.$slots, "chevron", {
668
- loading: !!d.value,
671
+ loading: !!c.value,
669
672
  shown: k.value
670
673
  }, () => [
671
- sl
674
+ il
672
675
  ])
673
676
  ]),
674
- d.value ? (g(), h("span", {
677
+ c.value ? (g(), h("span", {
675
678
  key: 1,
676
- class: x({
679
+ class: I({
677
680
  "bb-base-select__spinner": !0,
678
- "bb-base-select__spinner--loading": d.value
681
+ "bb-base-select__spinner--loading": c.value
679
682
  })
680
683
  }, [
681
684
  b(l.$slots, "spinner", {
682
- loading: !!d.value
685
+ loading: !!c.value
683
686
  }, () => [
684
- Je(Pe, { size: "sm" })
687
+ Je(He, { size: "sm" })
685
688
  ])
686
689
  ], 2)) : b(l.$slots, "append", { key: 0 })
687
690
  ], 512),
688
691
  b(l.$slots, "append-outer"),
689
- (g(!0), h(D, null, H(Ee.value, (t) => (g(), h("input", Re({
692
+ (g(!0), h(L, null, P(Ee.value, (t) => (g(), h("input", Re({
690
693
  key: t.value
691
694
  }, t), null, 16))), 128))
692
695
  ], 2));
693
696
  }
694
697
  });
695
698
  export {
696
- _l as default
699
+ Cl as default
697
700
  };
698
701
  //# sourceMappingURL=index31.js.map