bitboss-ui 2.0.54 → 2.0.56

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 (130) hide show
  1. package/dist/index108.js +1 -1
  2. package/dist/index110.js +4 -4
  3. package/dist/index118.js +1 -1
  4. package/dist/index120.js +3 -3
  5. package/dist/index122.js +1 -1
  6. package/dist/index126.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index13.js +1 -1
  9. package/dist/index132.js +2 -2
  10. package/dist/index133.js +2 -2
  11. package/dist/index15.js +4 -4
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +2 -2
  14. package/dist/index205.js +115 -7
  15. package/dist/index206.js +1 -1
  16. package/dist/index207.js +2 -2
  17. package/dist/index21.js +14 -14
  18. package/dist/index210.js +8 -2
  19. package/dist/index211.js +126 -4
  20. package/dist/index212.js +281 -2
  21. package/dist/index213.js +124 -52
  22. package/dist/{index221.js → index214.js} +16 -16
  23. package/dist/index215.js +16 -13
  24. package/dist/index216.js +15 -19
  25. package/dist/index217.js +2 -4
  26. package/dist/index218.js +2 -126
  27. package/dist/index219.js +20 -5
  28. package/dist/index220.js +52 -124
  29. package/dist/index222.js +13 -16
  30. package/dist/index223.js +5 -16
  31. package/dist/index224.js +369 -2
  32. package/dist/index225.js +2 -2
  33. package/dist/index226.js +4 -5
  34. package/dist/index227.js +2 -369
  35. package/dist/index228.js +162 -3
  36. package/dist/index229.js +84 -19
  37. package/dist/index23.js +13 -13
  38. package/dist/index231.js +3 -3
  39. package/dist/index232.js +4 -249
  40. package/dist/index233.js +18 -51
  41. package/dist/index234.js +27 -44
  42. package/dist/index235.js +3 -5
  43. package/dist/index236.js +243 -43
  44. package/dist/index237.js +51 -115
  45. package/dist/index238.js +43 -161
  46. package/dist/index239.js +5 -84
  47. package/dist/index240.js +51 -0
  48. package/dist/index241.js +2 -2
  49. package/dist/index242.js +2 -18
  50. package/dist/index243.js +17 -105
  51. package/dist/index244.js +108 -0
  52. package/dist/{index245.js → index246.js} +1 -1
  53. package/dist/index25.js +1 -1
  54. package/dist/index250.js +6 -431
  55. package/dist/index251.js +16 -89
  56. package/dist/index252.js +3 -4
  57. package/dist/index253.js +9 -3
  58. package/dist/index254.js +25 -0
  59. package/dist/index255.js +9 -7
  60. package/dist/index256.js +423 -168
  61. package/dist/index257.js +86 -197
  62. package/dist/index258.js +198 -279
  63. package/dist/index266.js +176 -22
  64. package/dist/index267.js +5 -0
  65. package/dist/index269.js +7 -16
  66. package/dist/index27.js +1 -1
  67. package/dist/index270.js +22 -3
  68. package/dist/index272.js +4 -23
  69. package/dist/index273.js +3 -9
  70. package/dist/index274.js +12 -224
  71. package/dist/index275.js +7 -434
  72. package/dist/index276.js +8 -126
  73. package/dist/index277.js +17 -2
  74. package/dist/index278.js +4 -2
  75. package/dist/index279.js +224 -2
  76. package/dist/index280.js +436 -2
  77. package/dist/index281.js +127 -2
  78. package/dist/index282.js +2 -2
  79. package/dist/index283.js +2 -28
  80. package/dist/index284.js +1 -21
  81. package/dist/index285.js +4 -0
  82. package/dist/index286.js +2 -3
  83. package/dist/index287.js +2 -12
  84. package/dist/index288.js +26 -7
  85. package/dist/index289.js +20 -7
  86. package/dist/index29.js +2 -2
  87. package/dist/index291.js +2 -4
  88. package/dist/index292.js +65 -2
  89. package/dist/index293.js +5 -3
  90. package/dist/index294.js +3 -211
  91. package/dist/index295.js +3 -2
  92. package/dist/index296.js +211 -5
  93. package/dist/index297.js +4 -66
  94. package/dist/index298.js +3 -32
  95. package/dist/index299.js +58 -4
  96. package/dist/index300.js +79 -8
  97. package/dist/index302.js +5 -4
  98. package/dist/index303.js +7 -58
  99. package/dist/index305.js +33 -79
  100. package/dist/index306.js +13 -0
  101. package/dist/index31.js +2 -2
  102. package/dist/index310.js +2 -47
  103. package/dist/index311.js +46 -10
  104. package/dist/index312.js +480 -2
  105. package/dist/index314.js +414 -470
  106. package/dist/index315.js +2 -424
  107. package/dist/index33.js +2 -2
  108. package/dist/index35.js +3 -3
  109. package/dist/index37.js +96 -96
  110. package/dist/index39.js +3 -3
  111. package/dist/index41.js +2 -2
  112. package/dist/index43.js +2 -2
  113. package/dist/index45.js +6 -6
  114. package/dist/index47.js +2 -2
  115. package/dist/index49.js +2 -2
  116. package/dist/index55.js +1 -1
  117. package/dist/index57.js +1 -1
  118. package/dist/index75.js +3 -3
  119. package/dist/index79.js +2 -2
  120. package/dist/index86.js +1 -1
  121. package/dist/index88.js +1 -1
  122. package/dist/style.css +1 -1
  123. package/package.json +2 -2
  124. package/dist/index230.js +0 -29
  125. package/dist/index247.js +0 -4
  126. package/dist/index268.js +0 -8
  127. package/dist/index271.js +0 -11
  128. package/dist/index290.js +0 -19
  129. package/dist/index301.js +0 -6
  130. package/dist/index317.js +0 -4
package/dist/index37.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as xe, defineAsyncComponent as Fe, 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 F, createElementVNode as $, createElementBlock as T, Fragment as R, toDisplayString as Me, withDirectives as Ne, isRef as He, withModifiers as d, withKeys as g, vModelDynamic as Pe, renderList as ze, mergeProps as J, Teleport as _e, normalizeStyle as Qe, createCommentVNode 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 s, renderSlot as p, unref as i, createVNode as x, 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";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { useId as We } from "./index8.js";
@@ -6,23 +6,23 @@ import { useMobile as Re } from "./index9.js";
6
6
  import Je from "./index127.js";
7
7
  /* empty css */
8
8
  import { isNotNil as Ye } from "./index134.js";
9
- import { last as je } from "./index225.js";
10
- import { matchAnyKey as Y } from "./index242.js";
11
- import { useFloating as Ge } from "./index218.js";
9
+ import { last as je } from "./index218.js";
10
+ import { matchAnyKey as j } from "./index243.js";
11
+ import { useFloating as Ge } from "./index211.js";
12
12
  import { useIntersectionObserver as Xe } from "./index132.js";
13
- import { useLogger as Ze } from "./index205.js";
14
- import { useOptions as et } from "./index238.js";
13
+ import { useLogger as Ze } from "./index210.js";
14
+ import { useOptions as et } from "./index228.js";
15
15
  import { wait as L } from "./index131.js";
16
- import { when as tt } from "./index211.js";
17
- import ot from "./index243.js";
16
+ import { when as tt } from "./index226.js";
17
+ import ot from "./index244.js";
18
18
  /* empty css */
19
- import nt from "./index245.js";
19
+ import nt from "./index246.js";
20
20
  /* empty css */
21
- import lt from "./index213.js";
21
+ import lt from "./index220.js";
22
22
  /* empty css */
23
- import at from "./index215.js";
23
+ import at from "./index222.js";
24
24
  import { waitFor as it } from "./index208.js";
25
- import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index227.js";
25
+ import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index224.js";
26
26
  const dt = { class: "bb-base-select__input-container" }, ct = {
27
27
  key: 1,
28
28
  class: "bb-base-select__max-reached"
@@ -67,14 +67,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
67
67
  updateOnAnimationFrame: { type: Boolean, default: !1 }
68
68
  },
69
69
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
70
- setup(j, { emit: G }) {
71
- const t = j, h = G;
70
+ setup(G, { emit: X }) {
71
+ const t = G, h = X;
72
72
  if (t.multiple && !Array.isArray(t.modelValue))
73
73
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
74
- const X = Fe(() => import("./index241.js")), A = v(null), B = v(null), a = v(null), M = v(null), N = v(null), u = y(
74
+ const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null), M = v(null), N = v(null), u = y(
75
75
  () => t.comma ? M.value : N.value
76
- ), { isMobile: Z } = Re(), ee = y(
77
- () => t.allowWriting === "not-mobile" && Z.value ? "none" : void 0
76
+ ), { isMobile: ee } = Re(), te = y(
77
+ () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
78
78
  ), H = t.id || We().id.value;
79
79
  Xe(
80
80
  B,
@@ -83,7 +83,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
83
83
  },
84
84
  { threshold: [0, 1] }
85
85
  );
86
- const { floatingStyles: te } = Ge(
86
+ const { floatingStyles: oe } = Ge(
87
87
  B,
88
88
  a,
89
89
  {
@@ -91,48 +91,48 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
91
91
  whileElementsMounted: rt,
92
92
  middleware: [st(), ut(5), pt()]
93
93
  }
94
- ), oe = y(() => {
94
+ ), ne = y(() => {
95
95
  var o;
96
96
  const e = {
97
- ...te.value,
97
+ ...oe.value,
98
98
  zIndex: "10"
99
99
  };
100
100
  return B.value && (e.width = `${(o = B.value) == null ? void 0 : o.$el.clientWidth}px`), e;
101
101
  }), q = v(null), E = () => {
102
102
  q.value instanceof HTMLInputElement && q.value.focus();
103
- }, ne = async (e) => {
104
- h("focus", e), Te(), document.addEventListener("click", k), document.addEventListener("focusin", k);
105
- }, le = () => {
106
- t.prefill === "focus" && !Be.value && !Oe.value && we();
107
- }, ae = async (e) => {
103
+ }, le = async (e) => {
104
+ h("focus", e), Le(), document.addEventListener("click", k), document.addEventListener("focusin", k);
105
+ }, ae = () => {
106
+ t.prefill === "focus" && !Oe.value && !Ce.value && Be();
107
+ }, ie = async (e) => {
108
108
  h("blur", e);
109
- }, ie = (e) => h("change", e), re = (e) => {
109
+ }, re = (e) => h("change", e), se = (e) => {
110
110
  var o;
111
- h("input", e), l.value === "" && (t.multiple || Ce(null)), (o = u.value) == null || o.blur(), Ie();
111
+ h("input", e), l.value === "" && (t.multiple || ke(null)), (o = u.value) == null || o.blur(), Ve();
112
112
  }, k = async (e) => {
113
113
  if (e.target instanceof Node && A.value && a.value && !A.value.$el.contains(e.target) && !a.value.$el.contains(e.target)) {
114
- O(), Le(), document.removeEventListener("click", k), document.removeEventListener("focusin", k), await L(t.transitionDuration), ye();
114
+ O(), Ae(), document.removeEventListener("click", k), document.removeEventListener("focusin", k), await L(t.transitionDuration), be();
115
115
  return;
116
116
  }
117
- }, w = y(() => !(t.readonly || t.disabled || D.value || !u.value && t.multiple)), se = async () => {
117
+ }, w = y(() => !(t.readonly || t.disabled || D.value || !u.value && t.multiple)), ue = async () => {
118
118
  var e, o, n;
119
119
  w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusPrevious() : (await I(), await L(t.transitionDuration), (n = a.value) == null || n.focusLastSelected()));
120
- }, ue = async () => {
120
+ }, pe = async () => {
121
121
  var e, o, n;
122
122
  w.value && ((e = u.value) == null || e.blur(), c.value ? (o = a.value) == null || o.focusNext() : (await I(), await L(t.transitionDuration), (n = a.value) == null || n.focusFirstSelected()));
123
- }, pe = (e) => {
123
+ }, de = (e) => {
124
124
  var n, r, m, C;
125
125
  if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
126
126
  (r = u.value) == null || r.focusPrevious();
127
127
  const o = (m = u.value) == null ? void 0 : m.getHighlighted();
128
128
  o && ((C = a.value) == null || C.focusByHash(o.valueHash));
129
- }, de = (e) => {
129
+ }, ce = (e) => {
130
130
  var n, r, m, C;
131
131
  if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !f.value.length)) return;
132
132
  (r = u.value) == null || r.focusNext();
133
133
  const o = (m = u.value) == null ? void 0 : m.getHighlighted();
134
134
  o && ((C = a.value) == null || C.focusByHash(o.valueHash));
135
- }, ce = async () => {
135
+ }, fe = async () => {
136
136
  var e, o;
137
137
  if (w.value) {
138
138
  if (!c.value)
@@ -148,31 +148,31 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
148
148
  return;
149
149
  }
150
150
  const n = l.value.trim();
151
- if (ke(n)) return;
152
- be(), _(je(De.value));
151
+ if (De(n)) return;
152
+ he(), Q(je(Ie.value));
153
153
  }
154
154
  }
155
- }, fe = async () => {
156
- c.value && await O();
157
155
  }, me = async () => {
156
+ c.value && await O();
157
+ }, ve = async () => {
158
158
  var e, o;
159
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
- }, ve = t.prefill === !0 || !t.multiple && Ye(t.modelValue) || t.multiple && !!t.modelValue.length, {
160
+ }, ye = t.prefill === !0 || !t.multiple && Ye(t.modelValue) || t.multiple && !!t.modelValue.length, {
161
161
  query: l,
162
- alignQueryToState: ye,
163
- addCurrentQueryToManualItems: be,
162
+ alignQueryToState: be,
163
+ addCurrentQueryToManualItems: he,
164
164
  innerLoading: P,
165
165
  options: z,
166
166
  selectedOptions: f,
167
- selectOption: he,
168
- unselectOption: ge,
169
- prefillItems: we,
170
- isPrefilling: Be,
171
- hasPrefilled: Oe,
172
- updateModelValue: Ce,
173
- valueIsSelected: ke,
174
- manualItems: De,
175
- searchByQuery: Ie
167
+ selectOption: ge,
168
+ unselectOption: we,
169
+ prefillItems: Be,
170
+ isPrefilling: Oe,
171
+ hasPrefilled: Ce,
172
+ updateModelValue: ke,
173
+ valueIsSelected: De,
174
+ manualItems: Ie,
175
+ searchByQuery: Ve
176
176
  } = et({
177
177
  emit: h,
178
178
  itemText: t.itemText,
@@ -184,41 +184,41 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
184
184
  stash: t.stash,
185
185
  items: V(t, "items"),
186
186
  enforceCoherence: t.enforceCoherence,
187
- prefill: ve,
187
+ prefill: ye,
188
188
  modelValueDebounceTime: t.modelValueDebounceTime,
189
189
  dependencies: V(t, "dependencies"),
190
190
  depsDebounceTime: t.depsDebounceTime,
191
191
  queryDebounceTime: t.queryDebounceTime,
192
192
  disabled: V(t, "disabled")
193
- }), Ve = y(() => f.value.length ? "" : t.placeholder), D = y(() => !!(P.value || t.loading)), Se = y(() => {
193
+ }), Se = y(() => f.value.length ? "" : t.placeholder), D = y(() => !!(P.value || t.loading)), $e = y(() => {
194
194
  let e = [];
195
195
  const o = f.value.some(
196
196
  (r) => r.text === l.value
197
197
  );
198
198
  return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = z.value.filter((r) => {
199
199
  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 || Y(r.item, t.filterBy, l.value.trim())), m || Y(r, ["text"], l.value.trim());
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
201
  }) : e = z.value, e;
202
- }), _ = (e) => {
203
- he(e), E(), t.multiple || O();
204
- }, Q = (e) => {
205
- ge(e), E();
202
+ }), Q = (e) => {
203
+ ge(e), E(), t.multiple || O();
204
+ }, _ = (e) => {
205
+ we(e), E();
206
206
  }, c = v(!1), K = v(!0), U = v(!1), I = async () => {
207
207
  U.value = !0, await it(() => !!a.value), K.value = !1, c.value = !0;
208
208
  }, O = async () => {
209
209
  var e;
210
210
  c.value = !1, K.value = !0, (e = u.value) == null || e.blur();
211
- }, $e = () => c.value ? O() : I(), x = v(!1), Te = () => {
212
- x.value = !0;
213
- }, Le = () => {
214
- x.value = !1, h("inactive");
215
- }, Ae = (e) => {
216
- e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), $e());
217
- }, qe = tt(
211
+ }, Te = () => c.value ? O() : I(), F = v(!1), Le = () => {
212
+ F.value = !0;
213
+ }, Ae = () => {
214
+ F.value = !1, h("inactive");
215
+ }, qe = (e) => {
216
+ e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Te());
217
+ }, Ee = tt(
218
218
  (e) => typeof e != "string",
219
219
  JSON.stringify
220
- ), Ee = y(() => [].concat(t.modelValue).map((e) => {
221
- const o = qe(e);
220
+ ), Fe = y(() => [].concat(t.modelValue).map((e) => {
221
+ const o = Ee(e);
222
222
  return {
223
223
  disabled: t.disabled,
224
224
  name: t.name,
@@ -231,14 +231,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
231
231
  ref: A,
232
232
  class: W({
233
233
  "bb-base-select": !0,
234
- "bb-base-select--active": x.value,
234
+ "bb-base-select--active": F.value,
235
235
  "bb-base-select--shown": c.value,
236
236
  "bb-base-select--loading": D.value,
237
237
  "bb-base-select--disabled": e.disabled,
238
238
  "bb-base-select--errors": e.hasErrors,
239
239
  "bb-base-select--readonly": e.readonly
240
240
  }),
241
- onClick: Ae
241
+ onClick: qe
242
242
  }, {
243
243
  "prepend-outer": s(() => [
244
244
  p(e.$slots, "prepend-outer", { query: i(l) })
@@ -247,7 +247,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
247
247
  p(e.$slots, "append-outer", { query: i(l) })
248
248
  ]),
249
249
  default: s(() => [
250
- F(lt, {
250
+ x(lt, {
251
251
  ref_key: "innerContainer",
252
252
  ref: B,
253
253
  "append:icon": t["append:icon"],
@@ -267,7 +267,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
267
267
  p(e.$slots, "suffix")
268
268
  ]),
269
269
  default: s(() => [
270
- F(i(Je), { tag: "span" }, {
270
+ x(i(Je), { tag: "span" }, {
271
271
  default: s(() => [
272
272
  $("span", dt, [
273
273
  e.multiple && i(f).length <= e.maxSelectedLabels ? (b(), T(R, { key: 0 }, [
@@ -281,14 +281,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
281
281
  ref_key: "chipsBox",
282
282
  ref: N,
283
283
  options: i(f),
284
- "onOption:unselected": Q
284
+ "onOption:unselected": _
285
285
  }, null, 8, ["options"]))
286
- ], 64)) : (b(), T("span", ct, Me(i(f).length) + " elementi selezionati ", 1)),
287
- Ne($("input", {
286
+ ], 64)) : e.multiple ? (b(), T("span", ct, Ne(i(f).length) + " elementi selezionati ", 1)) : J("", !0),
287
+ He($("input", {
288
288
  id: i(H),
289
289
  ref_key: "input",
290
290
  ref: q,
291
- "onUpdate:modelValue": o[0] || (o[0] = (n) => He(l) ? l.value = n : null),
291
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
292
292
  "aria-autocomplete": "list",
293
293
  "aria-controls": `${i(H)}_listbox`,
294
294
  "aria-describedby": e.ariaDescribedby,
@@ -297,28 +297,28 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
297
297
  autofocus: e.autofocus,
298
298
  class: W("bb-base-select__text-input"),
299
299
  disabled: e.disabled,
300
- inputmode: ee.value,
301
- placeholder: Ve.value,
300
+ inputmode: te.value,
301
+ placeholder: Se.value,
302
302
  readonly: e.readonly || !e.allowWriting,
303
303
  required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
304
304
  role: "combobox",
305
305
  type: "text",
306
- onBlur: d(ae, ["stop"]),
307
- onChange: d(ie, ["stop"]),
308
- onFocusOnce: d(le, ["stop"]),
309
- onFocus: d(ne, ["stop"]),
310
- onInput: d(re, ["stop"]),
306
+ onBlur: d(ie, ["stop"]),
307
+ onChange: d(re, ["stop"]),
308
+ onFocusOnce: d(ae, ["stop"]),
309
+ onFocus: d(le, ["stop"]),
310
+ onInput: d(se, ["stop"]),
311
311
  onKeydown: [
312
- g(d(me, ["stop"]), ["delete"]),
313
- g(d(pe, ["stop"]), ["left"]),
314
- g(d(ue, ["stop", "prevent"]), ["down"]),
315
- g(d(ce, ["stop", "prevent"]), ["enter"]),
316
- g(d(fe, ["stop", "prevent"]), ["esc"]),
317
- g(d(se, ["stop", "prevent"]), ["up"]),
318
- g(d(de, ["stop"]), ["right"])
312
+ g(d(ve, ["stop"]), ["delete"]),
313
+ g(d(de, ["stop"]), ["left"]),
314
+ g(d(pe, ["stop", "prevent"]), ["down"]),
315
+ g(d(fe, ["stop", "prevent"]), ["enter"]),
316
+ g(d(me, ["stop", "prevent"]), ["esc"]),
317
+ g(d(ue, ["stop", "prevent"]), ["up"]),
318
+ g(d(ce, ["stop"]), ["right"])
319
319
  ]
320
320
  }, null, 40, ft), [
321
- [Pe, i(l)]
321
+ [ze, i(l)]
322
322
  ])
323
323
  ])
324
324
  ]),
@@ -342,7 +342,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
342
342
  ]),
343
343
  _: 3
344
344
  }, 8, ["append:icon", "prepend:icon"]),
345
- (b(!0), T(R, null, ze(Ee.value, (n) => (b(), T("input", J({
345
+ (b(!0), T(R, null, Qe(Fe.value, (n) => (b(), T("input", Y({
346
346
  key: n.value,
347
347
  ref_for: !0
348
348
  }, n), null, 16))), 128)),
@@ -350,15 +350,15 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
350
350
  key: 0,
351
351
  to: "body"
352
352
  }, [
353
- F(i(X), {
353
+ x(i(Z), {
354
354
  ref_key: "optionsContainer",
355
355
  ref: a,
356
356
  loading: D.value,
357
357
  open: c.value,
358
- options: Se.value,
359
- style: Qe(oe.value),
360
- "onOption:selected": _,
361
- "onOption:unselected": Q
358
+ options: $e.value,
359
+ style: Ke(ne.value),
360
+ "onOption:selected": Q,
361
+ "onOption:unselected": _
362
362
  }, {
363
363
  "options:prepend": s(() => [
364
364
  p(e.$slots, "options:prepend")
@@ -373,14 +373,14 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
373
373
  p(e.$slots, "options:append")
374
374
  ]),
375
375
  option: s((n) => [
376
- p(e.$slots, "option", J({
376
+ p(e.$slots, "option", Y({
377
377
  hasErrors: e.hasErrors,
378
378
  loading: D.value
379
379
  }, n))
380
380
  ]),
381
381
  _: 3
382
382
  }, 8, ["loading", "open", "options", "style"])
383
- ])) : Ke("", !0)
383
+ ])) : J("", !0)
384
384
  ]),
385
385
  _: 3
386
386
  }, 8, ["class"]));
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
2
  import { clamp as le } from "./index204.js";
3
- import { head as O } from "./index247.js";
4
- import { isCssColor as Y } from "./index210.js";
3
+ import { head as O } from "./index241.js";
4
+ import { isCssColor as Y } from "./index225.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 "./index231.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 "./index210.js";
3
- import { when as F } from "./index211.js";
2
+ import { isCssColor as b } from "./index225.js";
3
+ import { when as F } from "./index226.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 $, 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 "./index238.js";
2
+ import { useOptions as F } from "./index228.js";
3
3
  import M from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index239.js";
5
+ import S from "./index229.js";
6
6
  /* empty css */
7
7
  const I = /* @__PURE__ */ $({
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 "./index225.js";
8
- import { useOptions as pe } from "./index238.js";
9
- import ce from "./index243.js";
7
+ import { last as de } from "./index218.js";
8
+ import { useOptions as pe } from "./index228.js";
9
+ import ce from "./index244.js";
10
10
  /* empty css */
11
- import me from "./index245.js";
11
+ import me from "./index246.js";
12
12
  /* empty css */
13
- import fe from "./index213.js";
13
+ import fe from "./index220.js";
14
14
  /* empty css */
15
- import ve from "./index215.js";
15
+ import ve from "./index222.js";
16
16
  const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Ne = /* @__PURE__ */ Y({
17
17
  __name: "BaseTag",
18
18
  props: {
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 "./index215.js";
3
- import E from "./index213.js";
2
+ import v from "./index222.js";
3
+ import E from "./index220.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 "./index213.js";
2
+ import B from "./index220.js";
3
3
  /* empty css */
4
- import k from "./index215.js";
4
+ import k from "./index222.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 "./index210.js";
2
+ import { isCssColor as _ } from "./index225.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 "./index210.js";
2
+ import { isCssColor as r } from "./index225.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/index75.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as Q, defineAsyncComponent as W, computed as A, ref as g, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as O, renderSlot as w, normalizeProps as X, guardReactiveProps as Y, unref as h, createBlock as Z, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x, createVNode as ee, createCommentVNode as te } from "vue";
2
- import { findRightIndex as H } from "./index271.js";
2
+ import { findRightIndex as H } from "./index253.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index131.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import N from "./index272.js";
8
+ import N from "./index254.js";
9
9
  const me = /* @__PURE__ */ Q({
10
10
  __name: "BbDropdown",
11
11
  props: {
@@ -24,7 +24,7 @@ const me = /* @__PURE__ */ Q({
24
24
  },
25
25
  setup(V) {
26
26
  const j = W(
27
- () => import("./index270.js")
27
+ () => import("./index252.js")
28
28
  ), r = V, d = r.id ?? `bb_${ne().id.value}`, m = A(() => {
29
29
  let e = r.items.findIndex((t) => !t.disabled), o = H(
30
30
  r.items,
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 "./index269.js";
2
+ import { findInTree as ae } from "./index251.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index127.js";
5
5
  /* empty css */
@@ -56,7 +56,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = {
56
56
  const r = a.accept[t];
57
57
  if (r.includes("/")) e.push(r);
58
58
  else {
59
- b || (b = (await import("./index268.js")).default);
59
+ b || (b = (await import("./index250.js")).default);
60
60
  const o = b.getType(r);
61
61
  if (!o)
62
62
  throw new Error(
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as A, computed as _, ref as g, onMounted as E, onBeforeUnmount as P, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as b, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index273.js";
2
+ import { debounce as F } from "./index255.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
24
24
  emits: ["shown", "hidden"],
25
25
  setup(B, { expose: P, emit: _ }) {
26
26
  const N = H(
27
- () => import("./index270.js")
27
+ () => import("./index252.js")
28
28
  ), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
29
29
  /**
30
30
  * This traps all clicks outside so we are pressing