bitboss-ui 2.0.78 → 2.0.80

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 (160) hide show
  1. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
  2. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
  3. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
  4. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
  5. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +1 -1
  6. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  7. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -1
  8. package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
  9. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  10. package/dist/components/OptionsContainer.vue.d.ts +1 -1
  11. package/dist/index110.js +5 -5
  12. package/dist/index118.js +25 -21
  13. package/dist/index120.js +5 -5
  14. package/dist/index122.js +1 -1
  15. package/dist/index126.js +14 -14
  16. package/dist/index127.js +1 -1
  17. package/dist/index128.js +1 -1
  18. package/dist/index13.js +1 -1
  19. package/dist/index130.js +1 -1
  20. package/dist/index132.js +2 -2
  21. package/dist/index133.js +2 -2
  22. package/dist/index15.js +4 -4
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +2 -2
  25. package/dist/index204.js +2 -81
  26. package/dist/index205.js +2 -2
  27. package/dist/index206.js +4 -8
  28. package/dist/index207.js +2 -3
  29. package/dist/index208.js +3 -41
  30. package/dist/index209.js +41 -6
  31. package/dist/index21.js +14 -14
  32. package/dist/index210.js +6 -7
  33. package/dist/index211.js +7 -5
  34. package/dist/index212.js +8 -16
  35. package/dist/index213.js +12 -16
  36. package/dist/index214.js +53 -19
  37. package/dist/index216.js +13 -27
  38. package/dist/index217.js +20 -3
  39. package/dist/index218.js +4 -2
  40. package/dist/index219.js +122 -245
  41. package/dist/index220.js +5 -52
  42. package/dist/index221.js +125 -44
  43. package/dist/index222.js +19 -5
  44. package/dist/index223.js +15 -59
  45. package/dist/index224.js +15 -52
  46. package/dist/index225.js +4 -0
  47. package/dist/index226.js +2 -13
  48. package/dist/index227.js +5 -164
  49. package/dist/index228.js +368 -83
  50. package/dist/index229.js +166 -0
  51. package/dist/index23.js +188 -187
  52. package/dist/index230.js +84 -3
  53. package/dist/index232.js +81 -125
  54. package/dist/index233.js +19 -2
  55. package/dist/index234.js +26 -19
  56. package/dist/index235.js +3 -5
  57. package/dist/index236.js +246 -366
  58. package/dist/index237.js +52 -4
  59. package/dist/index238.js +44 -2
  60. package/dist/index239.js +5 -4
  61. package/dist/index240.js +60 -2
  62. package/dist/index241.js +3 -2
  63. package/dist/index242.js +1 -1
  64. package/dist/index244.js +1 -1
  65. package/dist/index246.js +1 -1
  66. package/dist/index248.js +2 -10
  67. package/dist/index249.js +9 -2
  68. package/dist/index25.js +109 -105
  69. package/dist/index250.js +2 -8
  70. package/dist/index251.js +6 -23
  71. package/dist/index252.js +14 -87
  72. package/dist/index253.js +11 -0
  73. package/dist/index254.js +23 -6
  74. package/dist/index255.js +87 -14
  75. package/dist/index257.js +8 -5
  76. package/dist/index258.js +4 -2
  77. package/dist/index259.js +3 -2
  78. package/dist/index261.js +7 -2
  79. package/dist/index262.js +176 -2
  80. package/dist/index263.js +431 -2
  81. package/dist/index264.js +1 -1
  82. package/dist/index265.js +89 -2
  83. package/dist/index266.js +200 -2
  84. package/dist/index267.js +3 -2
  85. package/dist/index268.js +12 -28
  86. package/dist/index269.js +8 -21
  87. package/dist/index27.js +1 -1
  88. package/dist/index270.js +11 -0
  89. package/dist/index271.js +17 -7
  90. package/dist/index272.js +3 -430
  91. package/dist/index273.js +280 -88
  92. package/dist/index274.js +5 -8
  93. package/dist/index275.js +2 -3
  94. package/dist/index276.js +4 -0
  95. package/dist/index277.js +2 -200
  96. package/dist/index278.js +2 -3
  97. package/dist/index279.js +2 -12
  98. package/dist/index280.js +124 -7
  99. package/dist/index281.js +20 -7
  100. package/dist/index283.js +435 -3
  101. package/dist/index284.js +121 -218
  102. package/dist/index285.js +2 -2
  103. package/dist/index286.js +2 -126
  104. package/dist/index287.js +2 -176
  105. package/dist/index288.js +1 -21
  106. package/dist/index289.js +4 -0
  107. package/dist/index29.js +3 -3
  108. package/dist/index290.js +2 -4
  109. package/dist/index291.js +23 -431
  110. package/dist/index292.js +21 -126
  111. package/dist/index294.js +224 -3
  112. package/dist/index295.js +1 -1
  113. package/dist/index296.js +3 -5
  114. package/dist/index297.js +204 -59
  115. package/dist/index298.js +2 -211
  116. package/dist/index299.js +5 -5
  117. package/dist/index300.js +66 -8
  118. package/dist/index304.js +1 -1
  119. package/dist/index305.js +4 -3
  120. package/dist/index306.js +7 -6
  121. package/dist/index307.js +32 -6
  122. package/dist/index308.js +3 -18
  123. package/dist/index309.js +6 -32
  124. package/dist/index31.js +2 -2
  125. package/dist/index310.js +46 -10
  126. package/dist/index311.js +10 -46
  127. package/dist/index312.js +7 -12
  128. package/dist/index313.js +19 -480
  129. package/dist/index314.js +1 -1
  130. package/dist/index315.js +482 -0
  131. package/dist/index317.js +1 -1
  132. package/dist/index318.js +47 -2
  133. package/dist/index319.js +2 -47
  134. package/dist/index33.js +2 -2
  135. package/dist/index35.js +3 -3
  136. package/dist/index37.js +97 -96
  137. package/dist/index39.js +4 -4
  138. package/dist/index41.js +2 -2
  139. package/dist/index43.js +2 -2
  140. package/dist/index45.js +6 -6
  141. package/dist/index47.js +2 -2
  142. package/dist/index49.js +2 -2
  143. package/dist/index55.js +1 -1
  144. package/dist/index57.js +1 -1
  145. package/dist/index61.js +2 -2
  146. package/dist/index75.js +3 -3
  147. package/dist/index79.js +2 -2
  148. package/dist/index81.js +1 -1
  149. package/dist/index84.js +110 -106
  150. package/dist/index86.js +1 -1
  151. package/dist/index88.js +4 -4
  152. package/dist/index90.js +1 -1
  153. package/package.json +1 -1
  154. package/dist/index215.js +0 -21
  155. package/dist/index231.js +0 -128
  156. package/dist/index256.js +0 -283
  157. package/dist/index260.js +0 -4
  158. package/dist/index282.js +0 -19
  159. package/dist/index293.js +0 -4
  160. package/dist/index316.js +0 -4
package/dist/index37.js CHANGED
@@ -1,32 +1,33 @@
1
- import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as s, renderSlot as p, unref as i, createVNode as N, createElementVNode as $, createElementBlock as T, Fragment as R, toDisplayString as Ne, createCommentVNode as J, withDirectives as He, isRef as Pe, withModifiers as d, withKeys as g, vModelDynamic as ze, renderList as Qe, mergeProps as Y, Teleport as _e, normalizeStyle as Ke, nextTick as Ue } from "vue";
1
+ import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as r, renderSlot as p, unref as i, createVNode as N, createElementVNode as $, createElementBlock as T, Fragment as R, toDisplayString as Ne, createCommentVNode as J, withDirectives as He, isRef as Pe, withModifiers as d, withKeys as g, vModelDynamic as _e, renderList as ze, mergeProps as Y, normalizeStyle as Qe, nextTick as Ke } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { useId as We } from "./index8.js";
5
- import { useMobile as Re } from "./index9.js";
6
- import Je from "./index127.js";
4
+ import { useId as Ue } from "./index8.js";
5
+ import { useMobile as We } from "./index9.js";
6
+ import Re from "./index127.js";
7
7
  /* empty css */
8
- import { isNotNil as Ye } from "./index134.js";
9
- import { last as je } from "./index218.js";
8
+ import { isNotNil as Je } from "./index134.js";
9
+ import { last as Ye } from "./index226.js";
10
10
  import { matchAnyKey as j } from "./index247.js";
11
- import { useFloating as Ge } from "./index231.js";
12
- import { useIntersectionObserver as Xe } from "./index132.js";
13
- import { useLogger as Ze } from "./index206.js";
14
- import { useOptions as et } from "./index227.js";
11
+ import { useFloating as je } from "./index219.js";
12
+ import { useIntersectionObserver as Ge } from "./index132.js";
13
+ import { useLogger as Xe } from "./index212.js";
14
+ import { useOptions as Ze } from "./index229.js";
15
15
  import { wait as L } from "./index131.js";
16
- import { when as tt } from "./index239.js";
17
- import ot from "./index242.js";
16
+ import { when as et } from "./index206.js";
17
+ import tt from "./index242.js";
18
18
  /* empty css */
19
- import nt from "./index244.js";
19
+ import ot from "./index244.js";
20
20
  /* empty css */
21
- import lt from "./index224.js";
21
+ import nt from "./index214.js";
22
22
  /* empty css */
23
- import at from "./index226.js";
24
- import { waitFor as it } from "./index209.js";
25
- import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index236.js";
23
+ import lt from "./index216.js";
24
+ import { waitFor as at } from "./index210.js";
25
+ import it from "./index213.js";
26
+ import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index228.js";
26
27
  const dt = { class: "bb-base-select__input-container" }, ct = {
27
28
  key: 1,
28
29
  class: "bb-base-select__max-reached"
29
- }, ft = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], Ht = /* @__PURE__ */ xe({
30
+ }, ft = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], Pt = /* @__PURE__ */ xe({
30
31
  __name: "BaseSelect",
31
32
  props: {
32
33
  addOptions: { type: Boolean },
@@ -73,17 +74,17 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
73
74
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
74
75
  const Z = Me(() => import("./index246.js")), A = v(null), B = v(null), a = v(null), H = v(null), P = v(null), u = y(
75
76
  () => t.comma ? H.value : P.value
76
- ), { isMobile: ee } = Re(), te = y(
77
+ ), { isMobile: ee } = We(), te = y(
77
78
  () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
78
- ), z = t.id || We().id.value;
79
- Xe(
79
+ ), _ = t.id || Ue().id.value;
80
+ Ge(
80
81
  B,
81
82
  ([{ intersectionRatio: e }]) => {
82
83
  e !== 1 && C();
83
84
  },
84
85
  { threshold: [0, 1] }
85
86
  );
86
- const { floatingStyles: oe } = Ge(
87
+ const { floatingStyles: oe } = je(
87
88
  B,
88
89
  a,
89
90
  {
@@ -121,15 +122,15 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
121
122
  var e, o, n;
122
123
  w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusNext() : (await O(), await L(t.transitionDuration), (n = a.value) == null || n.focusFirstSelected()));
123
124
  }, de = (e) => {
124
- var n, r, m, k;
125
+ var n, s, m, k;
125
126
  if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
126
- (r = u.value) == null || r.focusPrevious();
127
+ (s = u.value) == null || s.focusPrevious();
127
128
  const o = (m = u.value) == null ? void 0 : m.getHighlighted();
128
129
  o && ((k = a.value) == null || k.focusByHash(o.valueHash));
129
130
  }, ce = (e) => {
130
- var n, r, m, k;
131
+ var n, s, m, k;
131
132
  if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
132
- (r = u.value) == null || r.focusNext();
133
+ (s = u.value) == null || s.focusNext();
133
134
  const o = (m = u.value) == null ? void 0 : m.getHighlighted();
134
135
  o && ((k = a.value) == null || k.focusByHash(o.valueHash));
135
136
  }, fe = async () => {
@@ -141,28 +142,28 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
141
142
  a.value.confirmOption();
142
143
  else if (t.addOptions) {
143
144
  if (t.itemText || t.itemValue) {
144
- const { error: r } = Ze();
145
- r(
145
+ const { error: s } = Xe();
146
+ s(
146
147
  `Adding an option for mapped items is not supported. You can't create an option while passing "item-text" or "item-value".`
147
148
  );
148
149
  return;
149
150
  }
150
151
  const n = l.value.trim();
151
152
  if (De(n)) return;
152
- he(), K(je(Ie.value));
153
+ he(), K(Ye(Ie.value));
153
154
  }
154
155
  }
155
156
  }, me = async () => {
156
157
  c.value && await C();
157
158
  }, ve = async () => {
158
159
  var e, o;
159
- !w.value || l.value || !f.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await Ue(), (o = u.value) == null || o.focusPrevious());
160
- }, ye = t.prefill === !0 || !t.multiple && Ye(t.modelValue) || t.multiple && !!t.modelValue.length, {
160
+ !w.value || l.value || !f.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await Ke(), (o = u.value) == null || o.focusPrevious());
161
+ }, ye = t.prefill === !0 || !t.multiple && Je(t.modelValue) || t.multiple && !!t.modelValue.length, {
161
162
  query: l,
162
163
  alignQueryToState: be,
163
164
  addCurrentQueryToManualItems: he,
164
- innerLoading: Q,
165
- options: _,
165
+ innerLoading: z,
166
+ options: Q,
166
167
  selectedOptions: f,
167
168
  selectOption: ge,
168
169
  unselectOption: we,
@@ -173,7 +174,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
173
174
  valueIsSelected: De,
174
175
  manualItems: Ie,
175
176
  searchByQuery: Ve
176
- } = et({
177
+ } = Ze({
177
178
  emit: h,
178
179
  itemText: t.itemText,
179
180
  itemValue: t.itemValue,
@@ -190,21 +191,21 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
190
191
  depsDebounceTime: t.depsDebounceTime,
191
192
  queryDebounceTime: t.queryDebounceTime,
192
193
  disabled: V(t, "disabled")
193
- }), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(Q.value || t.loading)), $e = y(() => {
194
+ }), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(z.value || t.loading)), $e = y(() => {
194
195
  let e = [];
195
196
  const o = f.value.some(
196
- (r) => r.text === l.value
197
+ (s) => s.text === l.value
197
198
  );
198
- return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = _.value.filter((r) => {
199
+ return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = Q.value.filter((s) => {
199
200
  let m = !1;
200
- return typeof t.filterBy == "function" ? m = t.filterBy(r.value, r.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m || j(r.item, t.filterBy, l.value.trim())), m || j(r, ["text"], l.value.trim());
201
- }) : e = _.value, e;
201
+ return typeof t.filterBy == "function" ? m = t.filterBy(s.value, s.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m || j(s.item, t.filterBy, l.value.trim())), m || j(s, ["text"], l.value.trim());
202
+ }) : e = Q.value, e;
202
203
  }), K = (e) => {
203
204
  ge(e), E(), t.multiple || C();
204
205
  }, U = (e) => {
205
206
  we(e), E();
206
207
  }, c = v(!1), F = v(!0), x = v(!1), O = async () => {
207
- x.value = !0, await it(() => !!a.value), F.value = !1, c.value = !0;
208
+ x.value = !0, await at(() => !!a.value), F.value = !1, c.value = !0;
208
209
  }, C = async () => {
209
210
  var e;
210
211
  c.value = !1, F.value = !0, (e = u.value) == null || e.blur();
@@ -214,7 +215,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
214
215
  M.value = !1, h("inactive");
215
216
  }, qe = (e) => {
216
217
  e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Te());
217
- }, Ee = tt(
218
+ }, Ee = et(
218
219
  (e) => typeof e != "string",
219
220
  JSON.stringify
220
221
  ), Fe = y(() => [].concat(t.modelValue).map((e) => {
@@ -226,7 +227,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
226
227
  value: o
227
228
  };
228
229
  }));
229
- return (e, o) => (b(), S(at, {
230
+ return (e, o) => (b(), S(lt, {
230
231
  ref_key: "outerContainer",
231
232
  ref: A,
232
233
  class: W({
@@ -240,43 +241,43 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
240
241
  }),
241
242
  onClick: qe
242
243
  }, {
243
- "prepend-outer": s(() => [
244
+ "prepend-outer": r(() => [
244
245
  p(e.$slots, "prepend-outer", { query: i(l) })
245
246
  ]),
246
- "append-outer": s(() => [
247
+ "append-outer": r(() => [
247
248
  p(e.$slots, "append-outer", { query: i(l) })
248
249
  ]),
249
- default: s(() => [
250
- N(lt, {
250
+ default: r(() => [
251
+ N(nt, {
251
252
  ref_key: "innerContainer",
252
253
  ref: B,
253
254
  "append:icon": t["append:icon"],
254
255
  "prepend:icon": t["prepend:icon"],
255
256
  "prevent-focus": !0
256
257
  }, {
257
- prepend: s(() => [
258
+ prepend: r(() => [
258
259
  p(e.$slots, "prepend", { query: i(l) })
259
260
  ]),
260
- prefix: s(() => [
261
+ prefix: r(() => [
261
262
  p(e.$slots, "prefix")
262
263
  ]),
263
- append: s(() => [
264
+ append: r(() => [
264
265
  p(e.$slots, "append", { query: i(l) })
265
266
  ]),
266
- suffix: s(() => [
267
+ suffix: r(() => [
267
268
  p(e.$slots, "suffix")
268
269
  ]),
269
- default: s(() => [
270
- N(i(Je), { tag: "span" }, {
271
- default: s(() => [
270
+ default: r(() => [
271
+ N(i(Re), { tag: "span" }, {
272
+ default: r(() => [
272
273
  $("span", dt, [
273
274
  e.multiple && i(f).length <= e.maxSelectedLabels ? (b(), T(R, { key: 0 }, [
274
- e.comma ? (b(), S(nt, {
275
+ e.comma ? (b(), S(ot, {
275
276
  key: 0,
276
277
  ref_key: "commaBox",
277
278
  ref: H,
278
279
  options: i(f)
279
- }, null, 8, ["options"])) : (b(), S(ot, {
280
+ }, null, 8, ["options"])) : (b(), S(tt, {
280
281
  key: 1,
281
282
  ref_key: "chipsBox",
282
283
  ref: P,
@@ -285,12 +286,12 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
285
286
  }, null, 8, ["options"]))
286
287
  ], 64)) : e.multiple ? (b(), T("span", ct, Ne(i(f).length) + " elementi selezionati ", 1)) : J("", !0),
287
288
  He($("input", {
288
- id: i(z),
289
+ id: i(_),
289
290
  ref_key: "input",
290
291
  ref: q,
291
292
  "onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
292
293
  "aria-autocomplete": "list",
293
- "aria-controls": x.value ? `${i(z)}_listbox` : void 0,
294
+ "aria-controls": x.value ? `${i(_)}_listbox` : void 0,
294
295
  "aria-describedby": e.ariaDescribedby,
295
296
  "aria-expanded": c.value,
296
297
  autocomplete: e.autocomplete,
@@ -318,14 +319,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
318
319
  g(d(ce, ["stop"]), ["right"])
319
320
  ]
320
321
  }, null, 40, ft), [
321
- [ze, i(l)]
322
+ [_e, i(l)]
322
323
  ])
323
324
  ])
324
325
  ]),
325
326
  _: 1
326
327
  }),
327
328
  p(e.$slots, "chevron", {
328
- loading: !!i(Q),
329
+ loading: !!i(z),
329
330
  shown: c.value
330
331
  }, () => [
331
332
  o[1] || (o[1] = $("svg", {
@@ -342,50 +343,50 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
342
343
  ]),
343
344
  _: 3
344
345
  }, 8, ["append:icon", "prepend:icon"]),
345
- (b(!0), T(R, null, Qe(Fe.value, (n) => (b(), T("input", Y({
346
+ (b(!0), T(R, null, ze(Fe.value, (n) => (b(), T("input", Y({
346
347
  key: n.value,
347
348
  ref_for: !0
348
349
  }, n), null, 16))), 128)),
349
- x.value ? (b(), S(_e, {
350
- key: 0,
351
- to: "body"
352
- }, [
353
- N(i(Z), {
354
- ref_key: "optionsContainer",
355
- ref: a,
356
- loading: I.value,
357
- open: c.value,
358
- options: $e.value,
359
- style: Ke(ne.value),
360
- "onOption:selected": K,
361
- "onOption:unselected": U
362
- }, {
363
- "options:prepend": s(() => [
364
- p(e.$slots, "options:prepend")
365
- ]),
366
- loading: s(() => [
367
- p(e.$slots, "loading", { query: i(l) })
368
- ]),
369
- "no-data": s(() => [
370
- p(e.$slots, "no-data", { query: i(l) })
371
- ]),
372
- "options:append": s(() => [
373
- p(e.$slots, "options:append")
374
- ]),
375
- option: s((n) => [
376
- p(e.$slots, "option", Y({
377
- hasErrors: e.hasErrors,
378
- loading: I.value
379
- }, n))
380
- ]),
381
- _: 3
382
- }, 8, ["loading", "open", "options", "style"])
383
- ])) : J("", !0)
350
+ x.value ? (b(), S(it, { key: 0 }, {
351
+ default: r(() => [
352
+ N(i(Z), {
353
+ ref_key: "optionsContainer",
354
+ ref: a,
355
+ loading: I.value,
356
+ open: c.value,
357
+ options: $e.value,
358
+ style: Qe(ne.value),
359
+ "onOption:selected": K,
360
+ "onOption:unselected": U
361
+ }, {
362
+ "options:prepend": r(() => [
363
+ p(e.$slots, "options:prepend")
364
+ ]),
365
+ loading: r(() => [
366
+ p(e.$slots, "loading", { query: i(l) })
367
+ ]),
368
+ "no-data": r(() => [
369
+ p(e.$slots, "no-data", { query: i(l) })
370
+ ]),
371
+ "options:append": r(() => [
372
+ p(e.$slots, "options:append")
373
+ ]),
374
+ option: r((n) => [
375
+ p(e.$slots, "option", Y({
376
+ hasErrors: e.hasErrors,
377
+ loading: I.value
378
+ }, n))
379
+ ]),
380
+ _: 3
381
+ }, 8, ["loading", "open", "options", "style"])
382
+ ]),
383
+ _: 3
384
+ })) : J("", !0)
384
385
  ]),
385
386
  _: 3
386
387
  }, 8, ["class"]));
387
388
  }
388
389
  });
389
390
  export {
390
- Ht as default
391
+ Pt as default
391
392
  };
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 "./index205.js";
3
- import { head as O } from "./index241.js";
4
- import { isCssColor as Y } from "./index238.js";
2
+ import { clamp as le } from "./index204.js";
3
+ import { head as O } from "./index248.js";
4
+ import { isCssColor as Y } from "./index205.js";
5
5
  import { isNil as P } from "./index129.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index130.js";
8
- import { hash as J } from "./index217.js";
8
+ import { hash as J } from "./index235.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 q, createElementVNode as l, renderSlot as A } from "vue";
2
- import { isCssColor as b } from "./index238.js";
3
- import { when as F } from "./index239.js";
2
+ import { isCssColor as b } from "./index205.js";
3
+ import { when as F } from "./index206.js";
4
4
  const N = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as V, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
2
- import { useOptions as F } from "./index227.js";
2
+ import { useOptions as F } from "./index229.js";
3
3
  import M from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index228.js";
5
+ import S from "./index230.js";
6
6
  /* empty css */
7
7
  const I = /* @__PURE__ */ V({
8
8
  __name: "BaseSwitchGroup",
package/dist/index45.js CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
4
4
  import ue from "./index127.js";
5
5
  /* empty css */
6
6
  import { isNotNil as se } from "./index134.js";
7
- import { last as de } from "./index218.js";
8
- import { useOptions as pe } from "./index227.js";
7
+ import { last as de } from "./index226.js";
8
+ import { useOptions as pe } from "./index229.js";
9
9
  import ce from "./index242.js";
10
10
  /* empty css */
11
11
  import me from "./index244.js";
12
12
  /* empty css */
13
- import fe from "./index224.js";
13
+ import fe from "./index214.js";
14
14
  /* empty css */
15
- import ve from "./index226.js";
15
+ import ve from "./index216.js";
16
16
  const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
17
17
  __name: "BaseTag",
18
18
  props: {
@@ -207,11 +207,11 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
207
207
  type: "text",
208
208
  onFocus: d(J, ["stop"]),
209
209
  onKeydown: [
210
+ d(Z, ["stop"]),
210
211
  y(d(U, ["stop"]), ["delete"]),
211
212
  y(d(Q, ["stop"]), ["left"]),
212
213
  y(d(z, ["stop", "prevent"]), ["esc"]),
213
- y(d(R, ["stop"]), ["right"]),
214
- d(Z, ["stop"])
214
+ y(d(R, ["stop"]), ["right"])
215
215
  ]
216
216
  }), null, 16, be), [
217
217
  [re, v(o)]
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
- import v from "./index226.js";
3
- import E from "./index224.js";
2
+ import v from "./index216.js";
3
+ import E from "./index214.js";
4
4
  /* empty css */
5
5
  import G from "./index127.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 p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index224.js";
2
+ import B from "./index214.js";
3
3
  /* empty css */
4
- import k from "./index226.js";
4
+ import k from "./index216.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  props: {
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
2
- import { isCssColor as _ } from "./index238.js";
2
+ import { isCssColor as _ } from "./index205.js";
3
3
  import { wait as C } from "./index131.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 "./index238.js";
2
+ import { isCssColor as r } from "./index205.js";
3
3
  import { isNil as B } from "./index129.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
@@ -7,8 +7,8 @@ import r from "./index126.js";
7
7
  /* empty css */
8
8
  import P from "./index128.js";
9
9
  /* empty css */
10
- import { pickBy as $ } from "./index248.js";
11
- import { noop as A } from "./index249.js";
10
+ import { pickBy as $ } from "./index249.js";
11
+ import { noop as A } from "./index250.js";
12
12
  const T = {
13
13
  key: 2,
14
14
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as J, computed as A, ref as w, openBlock as T, createElementBlock as D, mergeProps as B, createElementVNode as C, renderSlot as g, normalizeProps as Q, guardReactiveProps as W, unref as h, createVNode as O, withCtx as K, normalizeStyle as X, Fragment as P, renderList as Y } from "vue";
2
- import { findRightIndex as H } from "./index250.js";
2
+ import { findRightIndex as H } from "./index253.js";
3
3
  import { useId as Z } from "./index8.js";
4
4
  import { wait as x } from "./index131.js";
5
5
  import { useIntersectionObserver as ee } from "./index132.js";
6
6
  import te from "./index13.js";
7
7
  /* empty css */
8
- import j from "./index251.js";
9
- import ne from "./index252.js";
8
+ import j from "./index254.js";
9
+ import ne from "./index255.js";
10
10
  /* empty css */
11
11
  const pe = /* @__PURE__ */ J({
12
12
  __name: "BbDropdown",
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index255.js";
2
+ import { findInTree as ae } from "./index252.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index127.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index254.js")).default);
56
+ b || (b = (await import("./index251.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index207.js";
2
+ import { throttle as c } from "./index208.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {