bitboss-ui 2.0.125 → 2.0.127

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 (159) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +0 -22
  2. package/dist/components/ListBox.vue.d.ts +1 -0
  3. package/dist/index100.js +7 -7
  4. package/dist/index111.js +10 -10
  5. package/dist/index119.js +2 -2
  6. package/dist/index121.js +4 -4
  7. package/dist/index123.js +1 -1
  8. package/dist/index125.js +1 -1
  9. package/dist/index127.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +2 -2
  13. package/dist/index131.js +1 -1
  14. package/dist/index133.js +2 -2
  15. package/dist/index15.js +5 -5
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +8 -8
  18. package/dist/index206.js +2 -8
  19. package/dist/index207.js +281 -3
  20. package/dist/index208.js +125 -5
  21. package/dist/index209.js +2 -2
  22. package/dist/index21.js +12 -12
  23. package/dist/index210.js +2 -2
  24. package/dist/index211.js +16 -16
  25. package/dist/index212.js +2 -2
  26. package/dist/index213.js +2 -19
  27. package/dist/index214.js +2 -27
  28. package/dist/index215.js +41 -2
  29. package/dist/index216.js +12 -249
  30. package/dist/index217.js +18 -50
  31. package/dist/index218.js +5 -43
  32. package/dist/index219.js +94 -5
  33. package/dist/index221.js +64 -12
  34. package/dist/index223.js +13 -4
  35. package/dist/index224.js +2 -2
  36. package/dist/index225.js +4 -86
  37. package/dist/index226.js +10 -0
  38. package/dist/index227.js +3 -25
  39. package/dist/index228.js +3 -17
  40. package/dist/index229.js +7 -51
  41. package/dist/index23.js +12 -12
  42. package/dist/index230.js +15 -15
  43. package/dist/index231.js +3 -12
  44. package/dist/index232.js +19 -16
  45. package/dist/index233.js +26 -64
  46. package/dist/index234.js +252 -0
  47. package/dist/index235.js +52 -13
  48. package/dist/index236.js +43 -19
  49. package/dist/index237.js +5 -4
  50. package/dist/index238.js +60 -3
  51. package/dist/index239.js +2 -3
  52. package/dist/index240.js +4 -41
  53. package/dist/index241.js +2 -6
  54. package/dist/index242.js +86 -7
  55. package/dist/index244.js +29 -2
  56. package/dist/index245.js +15 -123
  57. package/dist/index246.js +51 -2
  58. package/dist/index247.js +15 -94
  59. package/dist/index248.js +14 -0
  60. package/dist/index249.js +16 -2
  61. package/dist/index25.js +7 -7
  62. package/dist/index251.js +2 -2
  63. package/dist/index252.js +1 -1
  64. package/dist/index254.js +1 -1
  65. package/dist/index257.js +57 -43
  66. package/dist/index258.js +3 -3
  67. package/dist/index263.js +6 -9
  68. package/dist/index264.js +16 -23
  69. package/dist/index265.js +8 -27
  70. package/dist/index266.js +9 -281
  71. package/dist/index267.js +23 -6
  72. package/dist/index268.js +6 -2
  73. package/dist/index269.js +2 -2
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +2 -2
  76. package/dist/index275.js +431 -2
  77. package/dist/index276.js +176 -2
  78. package/dist/index277.js +3 -2
  79. package/dist/index278.js +3 -2
  80. package/dist/index280.js +9 -0
  81. package/dist/index281.js +6 -6
  82. package/dist/index282.js +11 -7
  83. package/dist/index283.js +27 -10
  84. package/dist/index284.js +2 -4
  85. package/dist/index285.js +89 -3
  86. package/dist/index286.js +197 -14
  87. package/dist/index287.js +1 -1
  88. package/dist/index288.js +8 -3
  89. package/dist/index289.js +6 -0
  90. package/dist/index29.js +3 -3
  91. package/dist/index290.js +222 -174
  92. package/dist/index291.js +3 -224
  93. package/dist/index292.js +17 -6
  94. package/dist/index293.js +2 -16
  95. package/dist/index294.js +2 -431
  96. package/dist/index295.js +1 -1
  97. package/dist/index296.js +2 -89
  98. package/dist/index297.js +2 -9
  99. package/dist/index298.js +2 -8
  100. package/dist/index299.js +21 -199
  101. package/dist/index301.js +126 -3
  102. package/dist/index302.js +3 -126
  103. package/dist/index303.js +1 -1
  104. package/dist/index304.js +2 -3
  105. package/dist/index305.js +436 -2
  106. package/dist/index306.js +113 -422
  107. package/dist/index307.js +3 -127
  108. package/dist/index308.js +3 -2
  109. package/dist/index309.js +56 -65
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +480 -5
  112. package/dist/index311.js +5 -7
  113. package/dist/index312.js +2 -19
  114. package/dist/index313.js +5 -53
  115. package/dist/index314.js +8 -53
  116. package/dist/index315.js +66 -32
  117. package/dist/index316.js +52 -25
  118. package/dist/index317.js +53 -5
  119. package/dist/index318.js +32 -7
  120. package/dist/index319.js +25 -6
  121. package/dist/index320.js +4 -3
  122. package/dist/index321.js +7 -3
  123. package/dist/index322.js +17 -56
  124. package/dist/index323.js +46 -3
  125. package/dist/index324.js +6 -46
  126. package/dist/index325.js +2 -480
  127. package/dist/index328.js +426 -0
  128. package/dist/index329.js +2 -424
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +47 -2
  131. package/dist/index35.js +4 -4
  132. package/dist/index37.js +101 -100
  133. package/dist/index39.js +3 -3
  134. package/dist/index41.js +2 -2
  135. package/dist/index43.js +8 -8
  136. package/dist/index45.js +6 -6
  137. package/dist/index47.js +2 -2
  138. package/dist/index49.js +2 -2
  139. package/dist/index53.js +1 -1
  140. package/dist/index55.js +1 -1
  141. package/dist/index57.js +1 -1
  142. package/dist/index61.js +1 -1
  143. package/dist/index75.js +65 -77
  144. package/dist/index77.js +30 -33
  145. package/dist/index79.js +2 -2
  146. package/dist/index81.js +1 -1
  147. package/dist/index84.js +4 -4
  148. package/dist/index86.js +2 -2
  149. package/dist/index88.js +4 -4
  150. package/dist/index90.js +1 -1
  151. package/dist/style.css +1 -1
  152. package/package.json +1 -1
  153. package/dist/index220.js +0 -62
  154. package/dist/index222.js +0 -4
  155. package/dist/index243.js +0 -17
  156. package/dist/index279.js +0 -24
  157. package/dist/index300.js +0 -4
  158. package/dist/index326.js +0 -4
  159. package/dist/index331.js +0 -49
package/dist/index37.js CHANGED
@@ -1,41 +1,41 @@
1
- import { defineComponent as _e, ref as f, computed as y, toRef as T, openBlock as h, createBlock as L, normalizeClass as Z, withCtx as r, renderSlot as c, createVNode as K, unref as V, createElementVNode as F, createElementBlock as H, Fragment as ee, toDisplayString as Ge, createCommentVNode as te, withDirectives as je, withModifiers as p, withKeys as g, vModelDynamic as Je, renderList as Qe, mergeProps as le, normalizeStyle as Xe, nextTick as U } from "vue";
1
+ import { defineComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as L, normalizeClass as Z, withCtx as u, renderSlot as p, createVNode as K, unref as V, createElementVNode as F, createElementBlock as H, Fragment as ee, toDisplayString as _e, createCommentVNode as te, withDirectives as je, withModifiers as c, withKeys as g, vModelDynamic as Je, renderList as Qe, mergeProps as le, normalizeStyle as Xe, nextTick as U } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { useId as Ye } from "./index8.js";
5
5
  import { useMobile as Ze } from "./index9.js";
6
6
  import et from "./index128.js";
7
7
  /* empty css */
8
- import { last as tt } from "./index215.js";
8
+ import { last as tt } from "./index214.js";
9
9
  import { matchAnyKey as ae } from "./index250.js";
10
10
  import { useFloating as lt } from "./index251.js";
11
11
  import { useIntersectionObserver as at } from "./index132.js";
12
12
  import { wait as E } from "./index130.js";
13
- import { when as ot } from "./index223.js";
13
+ import { when as ot } from "./index240.js";
14
14
  import nt from "./index252.js";
15
15
  /* empty css */
16
16
  import it from "./index254.js";
17
17
  /* empty css */
18
- import rt from "./index233.js";
18
+ import ut from "./index221.js";
19
19
  /* empty css */
20
- import ut from "./index235.js";
21
- import { waitFor as st } from "./index241.js";
22
- import dt from "./index243.js";
23
- import { useItemsGetter as ct } from "./index227.js";
24
- import { usePrefill as pt } from "./index232.js";
20
+ import rt from "./index223.js";
21
+ import { waitFor as st } from "./index218.js";
22
+ import dt from "./index230.js";
23
+ import { useItemsGetter as pt } from "./index244.js";
24
+ import { usePrefill as ct } from "./index249.js";
25
25
  import { useArray as mt } from "./index256.js";
26
- import { useBaseOptions as ft } from "./index229.js";
27
- import { useIndexById as oe } from "./index228.js";
28
- import { useCoherence as vt } from "./index230.js";
29
- import { hash as yt } from "./index207.js";
30
- import { useHashedWatcher as ne } from "./index231.js";
31
- import { useLocale as ht } from "./index221.js";
32
- import { isEmpty as bt } from "./index249.js";
26
+ import { useBaseOptions as ft } from "./index246.js";
27
+ import { useIndexById as oe } from "./index245.js";
28
+ import { useCoherence as vt } from "./index247.js";
29
+ import { hash as yt } from "./index227.js";
30
+ import { useHashedWatcher as ne } from "./index248.js";
31
+ import { useLocale as ht } from "./index216.js";
32
+ import { isEmpty as bt } from "./index224.js";
33
33
  import gt from "./index257.js";
34
34
  import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index258.js";
35
35
  const kt = { class: "bb-base-select__input-container" }, St = {
36
36
  key: 1,
37
37
  class: "bb-base-select__max-reached"
38
- }, Ct = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], rl = /* @__PURE__ */ _e({
38
+ }, Ct = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], ul = /* @__PURE__ */ Ge({
39
39
  __name: "BaseSelect",
40
40
  props: {
41
41
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -78,15 +78,15 @@ const kt = { class: "bb-base-select__input-container" }, St = {
78
78
  updateOnAnimationFrame: { type: Boolean, default: !1 }
79
79
  },
80
80
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
81
- setup(ie, { emit: re }) {
82
- const t = ie, i = re;
81
+ setup(ie, { emit: ue }) {
82
+ const t = ie, i = ue;
83
83
  if (t.multiple && !Array.isArray(t.modelValue))
84
84
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
85
- const { t: ue } = ht(), x = f(null), I = f(null), n = f(null), R = f(null), _ = f(null), s = y(
86
- () => t.comma ? R.value : _.value
85
+ const { t: re } = ht(), A = f(null), I = f(null), n = f(null), R = f(null), G = f(null), s = y(
86
+ () => t.comma ? R.value : G.value
87
87
  ), { isMobile: se } = Ze(), de = y(
88
88
  () => t.allowWriting === "not-mobile" && se.value ? "none" : void 0
89
- ), G = t.id || Ye().id.value;
89
+ ), _ = t.id || Ye().id.value;
90
90
  at(
91
91
  // @ts-expect-error - wrong inferred type
92
92
  I,
@@ -95,7 +95,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
95
95
  },
96
96
  { threshold: [0, 1] }
97
97
  );
98
- const { floatingStyles: ce } = lt(
98
+ const { floatingStyles: pe } = lt(
99
99
  // @ts-expect-error - wrong inferred type
100
100
  I,
101
101
  n,
@@ -104,15 +104,15 @@ const kt = { class: "bb-base-select__input-container" }, St = {
104
104
  whileElementsMounted: wt,
105
105
  middleware: [Bt(), Vt(5), It()]
106
106
  }
107
- ), pe = y(() => {
107
+ ), ce = y(() => {
108
108
  var l;
109
109
  const e = {
110
- ...ce.value,
110
+ ...pe.value,
111
111
  zIndex: "10"
112
112
  };
113
113
  return I.value && (e.width = `${(l = I.value) == null ? void 0 : l.$el.clientWidth}px`), e;
114
- }), A = f(null), q = () => {
115
- A.value instanceof HTMLInputElement && A.value.focus();
114
+ }), q = f(null), x = () => {
115
+ q.value instanceof HTMLInputElement && q.value.focus();
116
116
  }, me = async (e) => {
117
117
  i("focus", e), Ne(), document.addEventListener("click", $), document.addEventListener("focusin", $);
118
118
  }, fe = () => {
@@ -124,11 +124,11 @@ const kt = { class: "bb-base-select__input-container" }, St = {
124
124
  i("input", e), a.value === "" && (t.multiple || i("update:modelValue", null)), (l = s.value) == null || l.blur(), N.value && k(), Se(a.value, !1, t.modelValue);
125
125
  }, $ = async (e) => {
126
126
  var l, o;
127
- if (e.target instanceof Node && x.value && !x.value.$el.contains(e.target) && !((o = (l = n.value) == null ? void 0 : l.$el) != null && o.contains(e.target))) {
127
+ if (e.target instanceof Node && A.value && !A.value.$el.contains(e.target) && !((o = (l = n.value) == null ? void 0 : l.$el) != null && o.contains(e.target))) {
128
128
  S(), We(), document.removeEventListener("click", $), document.removeEventListener("focusin", $), await E(t.transitionDuration), b();
129
129
  return;
130
130
  }
131
- }, w = y(() => !(t.readonly || t.disabled || O.value || !s.value && t.multiple && u.value.length <= t.maxSelectedLabels)), be = async () => {
131
+ }, w = y(() => !(t.readonly || t.disabled || O.value || !s.value && t.multiple && r.value.length <= t.maxSelectedLabels)), be = async () => {
132
132
  var e, l, o;
133
133
  w.value && ((e = s.value) == null || e.blur(), m.value ? (l = n.value) == null || l.focusPrevious() : (await k(), await E(t.transitionDuration), (o = n.value) == null || o.focusLastSelected()));
134
134
  }, ge = async () => {
@@ -136,13 +136,13 @@ const kt = { class: "bb-base-select__input-container" }, St = {
136
136
  w.value && ((e = s.value) == null || e.blur(), m.value ? (l = n.value) == null || l.focusNext() : (await k(), await E(t.transitionDuration), (o = n.value) == null || o.focusFirstSelected()));
137
137
  }, we = (e) => {
138
138
  var o, d, v, C;
139
- if (!w.value || !t.multiple || a.value || (e.preventDefault(), (o = n.value) == null || o.blur(), !u.value.length)) return;
139
+ if (!w.value || !t.multiple || a.value || (e.preventDefault(), (o = n.value) == null || o.blur(), !r.value.length)) return;
140
140
  (d = s.value) == null || d.focusPrevious();
141
141
  const l = (v = s.value) == null ? void 0 : v.getHighlighted();
142
142
  l && ((C = n.value) == null || C.focusByHash(l.valueHash));
143
143
  }, Be = (e) => {
144
144
  var o, d, v, C;
145
- if (!w.value || !t.multiple || a.value || (e.preventDefault(), (o = n.value) == null || o.blur(), !u.value.length)) return;
145
+ if (!w.value || !t.multiple || a.value || (e.preventDefault(), (o = n.value) == null || o.blur(), !r.value.length)) return;
146
146
  (d = s.value) == null || d.focusNext();
147
147
  const l = (v = s.value) == null ? void 0 : v.getHighlighted();
148
148
  l && ((C = n.value) == null || C.focusByHash(l.valueHash));
@@ -156,7 +156,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
156
156
  return;
157
157
  }
158
158
  } else {
159
- await k(), await E(t.transitionDuration), u.value.length && ((l = n.value) == null || l.focusFirstSelected());
159
+ await k(), await E(t.transitionDuration), r.value.length && ((l = n.value) == null || l.focusFirstSelected());
160
160
  return;
161
161
  }
162
162
  const e = a.value.trim();
@@ -165,13 +165,13 @@ const kt = { class: "bb-base-select__input-container" }, St = {
165
165
  m.value && await S();
166
166
  }, ke = async () => {
167
167
  var e, l;
168
- !w.value || a.value || !u.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await U(), (l = s.value) == null || l.focusPrevious());
168
+ !w.value || a.value || !r.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await U(), (l = s.value) == null || l.focusPrevious());
169
169
  }, a = f(""), {
170
170
  getter: M,
171
171
  debouncedGetter: Se,
172
172
  items: Ce,
173
173
  loading: j
174
- } = ct({
174
+ } = pt({
175
175
  items: T(t, "items"),
176
176
  debounce: t.queryDebounceTime
177
177
  }), P = () => {
@@ -181,7 +181,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
181
181
  hasPrefilled: J,
182
182
  isPrefilling: $e,
183
183
  prefill: De
184
- } = pt({
184
+ } = ct({
185
185
  onStart: t.prefill === !0,
186
186
  currentValue: t.modelValue,
187
187
  multiple: t.multiple,
@@ -193,7 +193,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
193
193
  add: Te,
194
194
  remove: Le,
195
195
  set: Fe
196
- } = mt(), u = y(() => D.value.filter((e) => e.selected)), He = y(() => u.value.length ? "" : t.placeholder), { data: Q, get: Ee } = oe({
196
+ } = mt(), r = y(() => D.value.filter((e) => e.selected)), He = y(() => r.value.length ? "" : t.placeholder), { data: Q, get: Ee } = oe({
197
197
  items: T(t, "modelValue")
198
198
  }), { options: D } = ft({
199
199
  disabled: T(t, "disabled"),
@@ -203,9 +203,9 @@ const kt = { class: "bb-base-select__input-container" }, St = {
203
203
  max: t.max,
204
204
  selectable: !0,
205
205
  selectedIndexedByHash: Q
206
- }), O = y(() => !!(j.value || t.loading)), xe = y(() => {
206
+ }), O = y(() => !!(j.value || t.loading)), Ae = y(() => {
207
207
  let e = [];
208
- const l = u.value.some(
208
+ const l = r.value.some(
209
209
  (d) => d.text === a.value
210
210
  );
211
211
  return (t.multiple && a.value || a.value && !l && !t.multiple) && t.filterBy ? e = D.value.filter((d) => {
@@ -218,23 +218,23 @@ const kt = { class: "bb-base-select__input-container" }, St = {
218
218
  return;
219
219
  }
220
220
  let e;
221
- u.value && (e = tt(u.value)), a.value = (e == null ? void 0 : e.text) || "";
222
- }, Ae = async (e) => {
223
- t.multiple ? (i("update:modelValue", t.modelValue.concat(e.value)), t.stash && Te(e.item), b()) : (t.stash && Fe(e.item), i("update:modelValue", e.value), await U(), b()), q(), t.multiple || S();
221
+ r.value && (e = tt(r.value)), a.value = (e == null ? void 0 : e.text) || "";
222
+ }, qe = async (e) => {
223
+ t.multiple ? (i("update:modelValue", t.modelValue.concat(e.value)), t.stash && Te(e.item), b()) : (t.stash && Fe(e.item), i("update:modelValue", e.value), await U(), b()), x(), t.multiple || S();
224
224
  }, X = async (e) => {
225
225
  if (Le((l) => l.valueHash !== e.valueHash), t.multiple) {
226
226
  const l = { ...Q.value };
227
227
  delete l[e.valueHash], i("update:modelValue", Object.values(l));
228
228
  } else
229
229
  i("update:modelValue", null), await U(), b();
230
- q();
231
- }, { data: qe } = oe({
230
+ x();
231
+ }, { data: xe } = oe({
232
232
  items: D,
233
233
  key: "valueHash"
234
234
  }), { coherent: Y, status: Me } = vt({
235
235
  modelValue: T(t, "modelValue"),
236
236
  multiple: t.multiple,
237
- iteratee: (e) => !!qe.value[yt(e)]
237
+ iteratee: (e) => !!xe.value[yt(e)]
238
238
  });
239
239
  let B = 0;
240
240
  ne(
@@ -264,7 +264,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
264
264
  }, We = () => {
265
265
  z.value = !1, i("inactive");
266
266
  }, ze = (e) => {
267
- e.preventDefault(), i("click", e), !(t.disabled || t.readonly) && (q(), Pe());
267
+ e.preventDefault(), i("click", e), !(t.disabled || t.readonly) && (x(), Pe());
268
268
  }, Ke = ot(
269
269
  (e) => typeof e != "string",
270
270
  JSON.stringify
@@ -280,9 +280,9 @@ const kt = { class: "bb-base-select__input-container" }, St = {
280
280
  let e = null;
281
281
  t.multiple && (e = []), i("update:modelValue", e);
282
282
  };
283
- return (e, l) => (h(), L(ut, {
283
+ return (e, l) => (h(), L(rt, {
284
284
  ref_key: "outerContainer",
285
- ref: x,
285
+ ref: A,
286
286
  class: Z({
287
287
  "bb-base-select": !0,
288
288
  "bb-base-select--active": z.value,
@@ -295,14 +295,14 @@ const kt = { class: "bb-base-select__input-container" }, St = {
295
295
  }),
296
296
  onClick: ze
297
297
  }, {
298
- "prepend-outer": r(() => [
299
- c(e.$slots, "prepend-outer", { query: a.value })
298
+ "prepend-outer": u(() => [
299
+ p(e.$slots, "prepend-outer", { query: a.value })
300
300
  ]),
301
- "append-outer": r(() => [
302
- c(e.$slots, "append-outer", { query: a.value })
301
+ "append-outer": u(() => [
302
+ p(e.$slots, "append-outer", { query: a.value })
303
303
  ]),
304
- default: r(() => [
305
- K(rt, {
304
+ default: u(() => [
305
+ K(ut, {
306
306
  ref_key: "innerContainer",
307
307
  ref: I,
308
308
  "append:icon": t["append:icon"],
@@ -311,43 +311,43 @@ const kt = { class: "bb-base-select__input-container" }, St = {
311
311
  "prevent-focus": !0,
312
312
  "onClick:clear": Re
313
313
  }, {
314
- prepend: r(() => [
315
- c(e.$slots, "prepend", { query: a.value })
314
+ prepend: u(() => [
315
+ p(e.$slots, "prepend", { query: a.value })
316
316
  ]),
317
- prefix: r(() => [
318
- c(e.$slots, "prefix")
317
+ prefix: u(() => [
318
+ p(e.$slots, "prefix")
319
319
  ]),
320
- append: r(() => [
321
- c(e.$slots, "append", { query: a.value })
320
+ append: u(() => [
321
+ p(e.$slots, "append", { query: a.value })
322
322
  ]),
323
- suffix: r(() => [
324
- c(e.$slots, "suffix")
323
+ suffix: u(() => [
324
+ p(e.$slots, "suffix")
325
325
  ]),
326
- default: r(() => [
326
+ default: u(() => [
327
327
  K(V(et), { tag: "span" }, {
328
- default: r(() => [
328
+ default: u(() => [
329
329
  F("span", kt, [
330
- e.multiple && u.value.length <= e.maxSelectedLabels ? (h(), H(ee, { key: 0 }, [
330
+ e.multiple && r.value.length <= e.maxSelectedLabels ? (h(), H(ee, { key: 0 }, [
331
331
  e.comma ? (h(), L(it, {
332
332
  key: 0,
333
333
  ref_key: "commaBox",
334
334
  ref: R,
335
- options: u.value
335
+ options: r.value
336
336
  }, null, 8, ["options"])) : (h(), L(nt, {
337
337
  key: 1,
338
338
  ref_key: "chipsBox",
339
- ref: _,
340
- options: u.value,
339
+ ref: G,
340
+ options: r.value,
341
341
  "onOption:unselected": X
342
342
  }, null, 8, ["options"]))
343
- ], 64)) : e.multiple ? (h(), H("span", St, Ge(e.selectedLabelsFn ? e.selectedLabelsFn(u.value.length) : V(ue)("select.multipleMaxReached", u.value.length)), 1)) : te("", !0),
343
+ ], 64)) : e.multiple ? (h(), H("span", St, _e(e.selectedLabelsFn ? e.selectedLabelsFn(r.value.length) : V(re)("select.multipleMaxReached", r.value.length)), 1)) : te("", !0),
344
344
  je(F("input", {
345
- id: V(G),
345
+ id: V(_),
346
346
  ref_key: "input",
347
- ref: A,
347
+ ref: q,
348
348
  "onUpdate:modelValue": l[0] || (l[0] = (o) => a.value = o),
349
349
  "aria-autocomplete": "list",
350
- "aria-controls": W.value ? `${V(G)}_listbox` : void 0,
350
+ "aria-controls": W.value ? `${V(_)}_listbox` : void 0,
351
351
  "aria-describedby": e.ariaDescribedby,
352
352
  "aria-expanded": m.value,
353
353
  autocomplete: e.autocomplete,
@@ -361,19 +361,19 @@ const kt = { class: "bb-base-select__input-container" }, St = {
361
361
  role: "combobox",
362
362
  size: "1",
363
363
  type: "text",
364
- onBlur: p(ve, ["stop"]),
365
- onChange: p(ye, ["stop"]),
366
- onFocusOnce: p(fe, ["stop"]),
367
- onFocus: p(me, ["stop"]),
368
- onInput: p(he, ["stop"]),
364
+ onBlur: c(ve, ["stop"]),
365
+ onChange: c(ye, ["stop"]),
366
+ onFocusOnce: c(fe, ["stop"]),
367
+ onFocus: c(me, ["stop"]),
368
+ onInput: c(he, ["stop"]),
369
369
  onKeydown: [
370
- g(p(ke, ["stop"]), ["delete"]),
371
- g(p(we, ["stop"]), ["left"]),
372
- g(p(ge, ["stop", "prevent"]), ["down"]),
373
- g(p(Ve, ["stop", "prevent"]), ["enter"]),
374
- g(p(Ie, ["stop", "prevent"]), ["esc"]),
375
- g(p(be, ["stop", "prevent"]), ["up"]),
376
- g(p(Be, ["stop"]), ["right"])
370
+ g(c(ke, ["stop"]), ["delete"]),
371
+ g(c(we, ["stop"]), ["left"]),
372
+ g(c(ge, ["stop", "prevent"]), ["down"]),
373
+ g(c(Ve, ["stop", "prevent"]), ["enter"]),
374
+ g(c(Ie, ["stop", "prevent"]), ["esc"]),
375
+ g(c(be, ["stop", "prevent"]), ["up"]),
376
+ g(c(Be, ["stop"]), ["right"])
377
377
  ]
378
378
  }, null, 40, Ct), [
379
379
  [Je, a.value]
@@ -382,7 +382,7 @@ const kt = { class: "bb-base-select__input-container" }, St = {
382
382
  ]),
383
383
  _: 1
384
384
  }),
385
- c(e.$slots, "chevron", {
385
+ p(e.$slots, "chevron", {
386
386
  loading: !!V(j),
387
387
  shown: m.value
388
388
  }, () => [
@@ -408,40 +408,41 @@ const kt = { class: "bb-base-select__input-container" }, St = {
408
408
  key: 0,
409
409
  target: e.teleportTarget
410
410
  }, {
411
- default: r(() => [
411
+ default: u(() => [
412
412
  K(gt, {
413
413
  ref_key: "optionsContainer",
414
414
  ref: n,
415
415
  compact: e.compact,
416
416
  loading: O.value,
417
417
  "loading-text": e.loadingText,
418
+ multiple: e.multiple,
418
419
  "no-data-text": e.noDataText,
419
420
  open: m.value,
420
- options: xe.value,
421
- style: Xe(pe.value),
422
- "onOption:selected": Ae,
421
+ options: Ae.value,
422
+ style: Xe(ce.value),
423
+ "onOption:selected": qe,
423
424
  "onOption:unselected": X
424
425
  }, {
425
- "options:prepend": r(() => [
426
- c(e.$slots, "options:prepend")
426
+ "options:prepend": u(() => [
427
+ p(e.$slots, "options:prepend")
427
428
  ]),
428
- loading: r(() => [
429
- c(e.$slots, "loading", { query: a.value })
429
+ loading: u(() => [
430
+ p(e.$slots, "loading", { query: a.value })
430
431
  ]),
431
- "no-data": r(() => [
432
- c(e.$slots, "no-data", { query: a.value })
432
+ "no-data": u(() => [
433
+ p(e.$slots, "no-data", { query: a.value })
433
434
  ]),
434
- "options:append": r(() => [
435
- c(e.$slots, "options:append")
435
+ "options:append": u(() => [
436
+ p(e.$slots, "options:append")
436
437
  ]),
437
- option: r((o) => [
438
- c(e.$slots, "option", le({
438
+ option: u((o) => [
439
+ p(e.$slots, "option", le({
439
440
  hasErrors: e.hasErrors,
440
441
  loading: O.value
441
442
  }, o))
442
443
  ]),
443
444
  _: 3
444
- }, 8, ["compact", "loading", "loading-text", "no-data-text", "open", "options", "style"])
445
+ }, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style"])
445
446
  ]),
446
447
  _: 3
447
448
  }, 8, ["target"])) : te("", !0)
@@ -451,5 +452,5 @@ const kt = { class: "bb-base-select__input-container" }, St = {
451
452
  }
452
453
  });
453
454
  export {
454
- rl as default
455
+ ul as default
455
456
  };
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index244.js";
2
+ import { clamp as le } from "./index206.js";
3
3
  import { head as O } from "./index259.js";
4
- import { isCssColor as Y } from "./index222.js";
4
+ import { isCssColor as Y } from "./index239.js";
5
5
  import { isNil as P } from "./index260.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index131.js";
8
- import { hash as J } from "./index207.js";
8
+ import { hash as J } from "./index227.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index222.js";
3
- import { when as N } from "./index223.js";
2
+ import { isCssColor as b } from "./index239.js";
3
+ import { when as N } from "./index240.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as v, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index225.js";
4
+ import N from "./index242.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index227.js";
7
- import { useIndexById as T } from "./index228.js";
8
- import { useBaseOptions as q } from "./index229.js";
9
- import { useCoherence as J } from "./index230.js";
10
- import { hash as Q } from "./index207.js";
11
- import { useHashedWatcher as E } from "./index231.js";
12
- import { usePrefill as X } from "./index232.js";
6
+ import { useItemsGetter as U } from "./index244.js";
7
+ import { useIndexById as T } from "./index245.js";
8
+ import { useBaseOptions as q } from "./index246.js";
9
+ import { useCoherence as J } from "./index247.js";
10
+ import { hash as Q } from "./index227.js";
11
+ import { useHashedWatcher as E } from "./index248.js";
12
+ import { usePrefill as X } from "./index249.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index128.js";
5
5
  /* empty css */
6
- import { last as le } from "./index215.js";
7
- import { useBaseOptions as ne } from "./index229.js";
8
- import { useIndexById as re } from "./index228.js";
6
+ import { last as le } from "./index214.js";
7
+ import { useBaseOptions as ne } from "./index246.js";
8
+ import { useIndexById as re } from "./index245.js";
9
9
  import ie from "./index252.js";
10
10
  /* empty css */
11
11
  import ue from "./index254.js";
12
12
  /* empty css */
13
- import se from "./index233.js";
13
+ import se from "./index221.js";
14
14
  /* empty css */
15
- import de from "./index235.js";
16
- import { isEmpty as pe } from "./index249.js";
15
+ import de from "./index223.js";
16
+ import { isEmpty as pe } from "./index224.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Le = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
2
- import E from "./index235.js";
3
- import G from "./index233.js";
2
+ import E from "./index223.js";
3
+ import G from "./index221.js";
4
4
  /* empty css */
5
5
  import M from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
2
- import $ from "./index233.js";
2
+ import $ from "./index221.js";
3
3
  /* empty css */
4
- import k from "./index235.js";
4
+ import k from "./index223.js";
5
5
  import { isNotNil as C } from "./index134.js";
6
6
  const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
7
7
  __name: "BaseTextInput",
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index221.js";
6
+ import { useLocale as g } from "./index216.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index222.js";
2
+ import { isCssColor as y } from "./index239.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index222.js";
2
+ import { isCssColor as r } from "./index239.js";
3
3
  import { isNil as B } from "./index260.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index61.js CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
9
9
  /* empty css */
10
10
  import { pickBy as W } from "./index261.js";
11
11
  import { noop as w } from "./index262.js";
12
- import { useLocale as D } from "./index221.js";
12
+ import { useLocale as D } from "./index216.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"