bitboss-ui 2.0.174 → 2.0.176

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 (177) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +1 -0
  3. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +34 -27
  4. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  5. package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -3
  6. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  7. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  8. package/dist/index.css +1 -1
  9. package/dist/index106.js +9 -9
  10. package/dist/index111.js +1 -1
  11. package/dist/index113.js +1 -1
  12. package/dist/index121.js +12 -12
  13. package/dist/index129.js +20 -26
  14. package/dist/index13.js +1 -1
  15. package/dist/index131.js +4 -4
  16. package/dist/index133.js +1 -1
  17. package/dist/index136.js +1 -1
  18. package/dist/index137.js +2 -2
  19. package/dist/index138.js +1 -1
  20. package/dist/index139.js +2 -2
  21. package/dist/index15.js +9 -9
  22. package/dist/index17.js +3 -3
  23. package/dist/index19.js +8 -8
  24. package/dist/index207.js +2 -2
  25. package/dist/index208.js +2 -2
  26. package/dist/index209.js +13 -2
  27. package/dist/index21.js +8 -8
  28. package/dist/index210.js +66 -4
  29. package/dist/index212.js +176 -12
  30. package/dist/index213.js +79 -59
  31. package/dist/index215.js +28 -33
  32. package/dist/index216.js +17 -4
  33. package/dist/index217.js +51 -13
  34. package/dist/index218.js +14 -10
  35. package/dist/index219.js +3 -20
  36. package/dist/index220.js +12 -200
  37. package/dist/index221.js +18 -0
  38. package/dist/index222.js +29 -115
  39. package/dist/index223.js +4 -0
  40. package/dist/index224.js +4 -2
  41. package/dist/index225.js +2 -2
  42. package/dist/index226.js +5 -3
  43. package/dist/index227.js +4 -4
  44. package/dist/index228.js +4 -4
  45. package/dist/index229.js +4 -4
  46. package/dist/index23.js +15 -15
  47. package/dist/index230.js +4 -4
  48. package/dist/index231.js +5 -5
  49. package/dist/index232.js +2 -5
  50. package/dist/index233.js +2 -2
  51. package/dist/index234.js +2 -2
  52. package/dist/index235.js +13 -2
  53. package/dist/index236.js +10 -50
  54. package/dist/index237.js +19 -16
  55. package/dist/index238.js +108 -101
  56. package/dist/index240.js +53 -47
  57. package/dist/index242.js +95 -81
  58. package/dist/index244.js +4 -29
  59. package/dist/index245.js +197 -16
  60. package/dist/index247.js +17 -11
  61. package/dist/index248.js +12 -41
  62. package/dist/index25.js +154 -224
  63. package/dist/index250.js +228 -7
  64. package/dist/index251.js +12 -14
  65. package/dist/index252.js +3 -177
  66. package/dist/index253.js +1 -1
  67. package/dist/index254.js +1 -1
  68. package/dist/index256.js +5 -5
  69. package/dist/index260.js +1 -1
  70. package/dist/index261.js +2 -18
  71. package/dist/index262.js +2 -12
  72. package/dist/index263.js +8 -227
  73. package/dist/index264.js +23 -3
  74. package/dist/index265.js +10 -6
  75. package/dist/index266.js +3 -16
  76. package/dist/index267.js +41 -10
  77. package/dist/index268.js +7 -3
  78. package/dist/index269.js +15 -3
  79. package/dist/index27.js +1 -1
  80. package/dist/index270.js +3 -9
  81. package/dist/index271.js +6 -9
  82. package/dist/index272.js +16 -23
  83. package/dist/index273.js +9 -9
  84. package/dist/index274.js +9 -8
  85. package/dist/index275.js +8 -5
  86. package/dist/index276.js +2 -67
  87. package/dist/index277.js +5 -2
  88. package/dist/index278.js +67 -5
  89. package/dist/index279.js +4 -7
  90. package/dist/index280.js +8 -4
  91. package/dist/index283.js +1 -1
  92. package/dist/index284.js +3 -2
  93. package/dist/index285.js +17 -3
  94. package/dist/index286.js +28 -3
  95. package/dist/index287.js +2 -7
  96. package/dist/index288.js +3 -10
  97. package/dist/index289.js +4 -4
  98. package/dist/index29.js +3 -3
  99. package/dist/index290.js +279 -27
  100. package/dist/index291.js +2 -280
  101. package/dist/index292.js +125 -2
  102. package/dist/index293.js +2 -125
  103. package/dist/index294.js +15 -2
  104. package/dist/index295.js +2 -15
  105. package/dist/index296.js +16 -2
  106. package/dist/index297.js +2 -16
  107. package/dist/index298.js +16 -2
  108. package/dist/index299.js +2 -16
  109. package/dist/index300.js +19 -2
  110. package/dist/index301.js +2 -19
  111. package/dist/index302.js +3 -2
  112. package/dist/index303.js +7 -6
  113. package/dist/index304.js +11 -3
  114. package/dist/index306.js +3 -17
  115. package/dist/index307.js +1 -1
  116. package/dist/index308.js +5 -470
  117. package/dist/index309.js +1 -1
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +5 -200
  120. package/dist/index321.js +471 -2
  121. package/dist/index322.js +2 -5
  122. package/dist/index323.js +5 -701
  123. package/dist/index324.js +199 -353
  124. package/dist/index325.js +701 -58
  125. package/dist/index326.js +354 -5
  126. package/dist/index327.js +58 -2
  127. package/dist/index328.js +2 -8
  128. package/dist/index329.js +6 -5
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +47 -8
  131. package/dist/index332.js +2 -2
  132. package/dist/index333.js +6 -32
  133. package/dist/index334.js +18 -27
  134. package/dist/index335.js +35 -0
  135. package/dist/index336.js +28 -7
  136. package/dist/index338.js +57 -227
  137. package/dist/index339.js +58 -47
  138. package/dist/index340.js +7 -6
  139. package/dist/index341.js +6 -58
  140. package/dist/index342.js +7 -57
  141. package/dist/index343.js +221 -86
  142. package/dist/index344.js +95 -0
  143. package/dist/index345.js +482 -3
  144. package/dist/index348.js +3 -127
  145. package/dist/index349.js +43 -478
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +429 -40
  148. package/dist/index351.js +129 -0
  149. package/dist/index37.js +101 -101
  150. package/dist/index39.js +5 -5
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +8 -8
  154. package/dist/index47.js +2 -2
  155. package/dist/index49.js +3 -3
  156. package/dist/index53.js +1 -1
  157. package/dist/index55.js +1 -1
  158. package/dist/index57.js +2 -2
  159. package/dist/index61.js +3 -3
  160. package/dist/index67.js +1 -1
  161. package/dist/index73.js +23 -26
  162. package/dist/index77.js +32 -34
  163. package/dist/index79.js +4 -4
  164. package/dist/index81.js +1 -1
  165. package/dist/index83.js +2 -2
  166. package/dist/index85.js +1 -1
  167. package/dist/index87.js +1 -1
  168. package/dist/index90.js +4 -4
  169. package/dist/index92.js +2 -2
  170. package/dist/index94.js +7 -6
  171. package/dist/index96.js +1 -1
  172. package/dist/utilities/functions/parseSize.d.ts +2 -0
  173. package/package.json +1 -1
  174. package/dist/index211.js +0 -4
  175. package/dist/index246.js +0 -17
  176. package/dist/index337.js +0 -21
  177. package/dist/index347.js +0 -438
package/dist/index37.js CHANGED
@@ -1,36 +1,36 @@
1
- import { defineComponent as Ge, ref as f, computed as y, toRef as L, createBlock as T, openBlock as h, normalizeClass as ee, withCtx as i, createVNode as j, createElementBlock as S, unref as g, createCommentVNode as R, renderSlot as p, normalizeStyle as te, mergeProps as le, createElementVNode as U, withDirectives as _e, Fragment as ae, toDisplayString as Je, withKeys as w, withModifiers as m, vModelDynamic as Qe, renderList as Xe, nextTick as G } from "vue";
1
+ import { defineComponent as Ge, ref as f, computed as y, toRef as L, createBlock as T, openBlock as h, normalizeClass as te, withCtx as i, createVNode as j, createElementBlock as O, unref as g, createCommentVNode as R, renderSlot as p, normalizeStyle as le, mergeProps as ae, createElementVNode as U, withDirectives as _e, Fragment as oe, toDisplayString as Je, withKeys as w, withModifiers as m, vModelDynamic as Qe, renderList as Xe, nextTick as G } 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 "./index111.js";
7
7
  /* empty css */
8
- import { hash as tt } from "./index226.js";
9
- import { isEmpty as lt } from "./index234.js";
10
- import { last as at } from "./index235.js";
11
- import { matchAnyKey as oe } from "./index261.js";
12
- import { useArray as ot } from "./index262.js";
13
- import { useBaseOptions as nt } from "./index236.js";
14
- import { useCoherence as ut } from "./index246.js";
15
- import { useHashedWatcher as ne } from "./index247.js";
16
- import { useIndexById as ue } from "./index237.js";
8
+ import { hash as tt } from "./index219.js";
9
+ import { isEmpty as lt } from "./index233.js";
10
+ import { last as at } from "./index234.js";
11
+ import { matchAnyKey as ne } from "./index247.js";
12
+ import { useArray as ot } from "./index248.js";
13
+ import { useBaseOptions as nt } from "./index217.js";
14
+ import { useCoherence as ut } from "./index218.js";
15
+ import { useHashedWatcher as ue } from "./index220.js";
16
+ import { useIndexById as ie } from "./index216.js";
17
17
  import { useMounted as it, useIntersectionObserver as rt } from "./index137.js";
18
- import { useItemsGetter as st } from "./index244.js";
19
- import { useLocale as dt } from "./index217.js";
20
- import { usePrefill as ct } from "./index245.js";
18
+ import { useItemsGetter as st } from "./index215.js";
19
+ import { useLocale as dt } from "./index235.js";
20
+ import { usePrefill as ct } from "./index221.js";
21
21
  import { wait as F } from "./index135.js";
22
22
  import { waitFor as pt } from "./index249.js";
23
- import { when as mt } from "./index210.js";
24
- import ft from "./index238.js";
23
+ import { when as mt } from "./index224.js";
24
+ import ft from "./index240.js";
25
25
  /* empty css */
26
- import vt from "./index240.js";
26
+ import vt from "./index242.js";
27
27
  /* empty css */
28
- import yt from "./index213.js";
28
+ import yt from "./index210.js";
29
29
  /* empty css */
30
- import ht from "./index212.js";
31
- import bt from "./index222.js";
30
+ import ht from "./index209.js";
31
+ import bt from "./index238.js";
32
32
  /* empty css */
33
- import gt from "./index263.js";
33
+ import gt from "./index250.js";
34
34
  const wt = { class: "bb-base-select__input-container" }, Bt = {
35
35
  key: 1,
36
36
  class: "bb-base-select__max-reached"
@@ -78,65 +78,65 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
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, n = re;
81
+ setup(re, { emit: se }) {
82
+ const t = re, n = se;
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: se } = dt(), de = it(), E = f(null), O = f(null), u = f(null), _ = f(null), J = f(null), s = y(
85
+ const { t: de } = dt(), ce = it(), E = f(null), $ = f(null), u = f(null), _ = f(null), J = f(null), s = y(
86
86
  () => t.comma ? _.value : J.value
87
- ), { isMobile: ce } = Ze(), pe = y(
88
- () => t.allowWriting === "not-mobile" && ce.value ? "none" : void 0
87
+ ), { isMobile: pe } = Ze(), me = y(
88
+ () => t.allowWriting === "not-mobile" && pe.value ? "none" : void 0
89
89
  ), Q = t.id || Ye().id.value;
90
90
  rt(
91
91
  // @ts-expect-error - wrong inferred type
92
- O,
92
+ $,
93
93
  ([{ intersectionRatio: e }]) => {
94
- e !== 1 && I();
94
+ e !== 1 && C();
95
95
  },
96
96
  { threshold: [0, 1] }
97
97
  );
98
- const me = y(() => {
98
+ const fe = y(() => {
99
99
  var l;
100
100
  const e = {
101
101
  zIndex: "10"
102
102
  };
103
- return O.value && (e.width = `${(l = O.value) == null ? void 0 : l.$el.clientWidth}px`), e;
103
+ return $.value && (e.width = `${(l = $.value) == null ? void 0 : l.$el.clientWidth}px`), e;
104
104
  }), x = f(null), A = () => {
105
105
  x.value instanceof HTMLInputElement && x.value.focus();
106
- }, fe = async (e) => {
107
- n("focus", e), We(), document.addEventListener("click", $), document.addEventListener("focusin", $);
108
- }, ve = () => {
109
- t.prefill === "focus" && !$e.value && !Y.value && De();
110
- }, ye = async (e) => {
106
+ }, ve = async (e) => {
107
+ n("focus", e), We(), document.addEventListener("click", D), document.addEventListener("focusin", D);
108
+ }, ye = () => {
109
+ t.prefill === "focus" && !De.value && !Y.value && He();
110
+ }, he = async (e) => {
111
111
  n("blur", e);
112
- }, he = (e) => n("change", e), be = (e) => {
112
+ }, be = (e) => n("change", e), ge = (e) => {
113
113
  var l;
114
- n("input", e), o.value === "" && (t.multiple || n("update:modelValue", null)), (l = s.value) == null || l.blur(), W.value && k(), Se(o.value, !1, t.modelValue);
115
- }, $ = async (e) => {
114
+ n("input", e), o.value === "" && (t.multiple || n("update:modelValue", null)), (l = s.value) == null || l.blur(), W.value && I(), Oe(o.value, !1, t.modelValue);
115
+ }, D = async (e) => {
116
116
  var l, a;
117
117
  if (e.target instanceof Node && E.value && !E.value.$el.contains(e.target) && !((a = (l = u.value) == null ? void 0 : l.$el) != null && a.contains(e.target))) {
118
- I(), ze(), document.removeEventListener("click", $), document.removeEventListener("focusin", $), await F(t.transitionDuration), b();
118
+ C(), ze(), document.removeEventListener("click", D), document.removeEventListener("focusin", D), await F(t.transitionDuration), b();
119
119
  return;
120
120
  }
121
- }, B = y(() => !(t.readonly || t.disabled || H.value || !s.value && t.multiple && r.value.length <= t.maxSelectedLabels)), ge = async () => {
121
+ }, B = y(() => !(t.readonly || t.disabled || H.value || !s.value && t.multiple && r.value.length <= t.maxSelectedLabels)), we = async () => {
122
122
  var e, l, a;
123
- B.value && ((e = s.value) == null || e.blur(), d.value ? (l = u.value) == null || l.focusPrevious() : (await k(), await F(t.transitionDuration), (a = u.value) == null || a.focusLastSelected()));
124
- }, we = async () => {
123
+ B.value && ((e = s.value) == null || e.blur(), d.value ? (l = u.value) == null || l.focusPrevious() : (await I(), await F(t.transitionDuration), (a = u.value) == null || a.focusLastSelected()));
124
+ }, Be = async () => {
125
125
  var e, l, a;
126
- B.value && ((e = s.value) == null || e.blur(), d.value ? (l = u.value) == null || l.focusNext() : (await k(), await F(t.transitionDuration), (a = u.value) == null || a.focusFirstSelected()));
127
- }, Be = (e) => {
128
- var a, c, v, C;
126
+ B.value && ((e = s.value) == null || e.blur(), d.value ? (l = u.value) == null || l.focusNext() : (await I(), await F(t.transitionDuration), (a = u.value) == null || a.focusFirstSelected()));
127
+ }, Ve = (e) => {
128
+ var a, c, v, S;
129
129
  if (!B.value || !t.multiple || o.value || (e.preventDefault(), (a = u.value) == null || a.blur(), !r.value.length)) return;
130
130
  (c = s.value) == null || c.focusPrevious();
131
131
  const l = (v = s.value) == null ? void 0 : v.getHighlighted();
132
- l && ((C = u.value) == null || C.focusByHash(l.valueHash));
133
- }, Ve = (e) => {
134
- var a, c, v, C;
132
+ l && ((S = u.value) == null || S.focusByHash(l.valueHash));
133
+ }, ke = (e) => {
134
+ var a, c, v, S;
135
135
  if (!B.value || !t.multiple || o.value || (e.preventDefault(), (a = u.value) == null || a.blur(), !r.value.length)) return;
136
136
  (c = s.value) == null || c.focusNext();
137
137
  const l = (v = s.value) == null ? void 0 : v.getHighlighted();
138
- l && ((C = u.value) == null || C.focusByHash(l.valueHash));
139
- }, ke = async () => {
138
+ l && ((S = u.value) == null || S.focusByHash(l.valueHash));
139
+ }, Ie = async () => {
140
140
  var l, a;
141
141
  if (!B.value)
142
142
  return;
@@ -146,53 +146,53 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
146
146
  return;
147
147
  }
148
148
  } else {
149
- await k(), await F(t.transitionDuration), r.value.length && ((l = u.value) == null || l.focusFirstSelected());
149
+ await I(), await F(t.transitionDuration), r.value.length && ((l = u.value) == null || l.focusFirstSelected());
150
150
  return;
151
151
  }
152
152
  const e = o.value.trim();
153
153
  xe(e) || (n("option:add", e), o.value = "");
154
- }, Ie = async () => {
155
- d.value && await I();
156
154
  }, Ce = async () => {
155
+ d.value && await C();
156
+ }, Se = async () => {
157
157
  var e, l;
158
158
  !B.value || o.value || !r.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await G(), (l = s.value) == null || l.focusPrevious());
159
159
  }, o = f(""), {
160
160
  getter: q,
161
- debouncedGetter: Se,
162
- items: Oe,
161
+ debouncedGetter: Oe,
162
+ items: $e,
163
163
  loading: X
164
164
  } = st({
165
165
  items: L(t, "items"),
166
166
  debounce: t.queryDebounceTime
167
167
  }), M = () => {
168
168
  var e, l;
169
- t.enforceCoherence && !Z.value && (t.multiple ? n("update:modelValue", Pe.value.coherent) : n("update:modelValue", null), (e = s.value) == null || e.blur(), (l = u.value) == null || l.blur());
169
+ t.enforceCoherence && !ee.value && (t.multiple ? n("update:modelValue", Pe.value.coherent) : n("update:modelValue", null), (e = s.value) == null || e.blur(), (l = u.value) == null || l.blur());
170
170
  }, {
171
171
  hasPrefilled: Y,
172
- isPrefilling: $e,
173
- prefill: De
172
+ isPrefilling: De,
173
+ prefill: He
174
174
  } = ct({
175
175
  onStart: t.prefill === !0,
176
176
  currentValue: t.modelValue,
177
177
  multiple: t.multiple,
178
178
  fn: async ({ prefill: e }) => {
179
- await q(o.value, e, t.modelValue), M(), b();
179
+ await q(o.value, e, t.modelValue), t.stash && Z(...k.value.map((l) => l.item)), M(), b();
180
180
  }
181
181
  }), {
182
- array: He,
183
- add: Le,
182
+ array: Le,
183
+ add: Z,
184
184
  remove: Te,
185
185
  set: Fe
186
186
  } = ot(), r = y(() => {
187
187
  const e = Object.fromEntries(
188
188
  Object.entries(P.value).map(([l], a) => [l, a])
189
189
  );
190
- return D.value.filter((l) => l.selected).sort((l, a) => e[l.valueHash] - e[a.valueHash]);
191
- }), Ee = y(() => r.value.length ? "" : t.placeholder), { data: P, get: xe } = ue({
190
+ return k.value.filter((l) => l.selected).sort((l, a) => e[l.valueHash] - e[a.valueHash]);
191
+ }), Ee = y(() => r.value.length ? "" : t.placeholder), { data: P, get: xe } = ie({
192
192
  items: L(t, "modelValue")
193
- }), { options: D } = nt({
193
+ }), { options: k } = nt({
194
194
  disabled: L(t, "disabled"),
195
- items: y(() => [...Oe.value, ...He.value]),
195
+ items: y(() => [...$e.value, ...Le.value]),
196
196
  itemText: t.itemText,
197
197
  itemValue: t.itemValue,
198
198
  max: t.max,
@@ -203,10 +203,10 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
203
203
  const l = r.value.some(
204
204
  (c) => c.text === o.value
205
205
  );
206
- return (t.multiple && o.value || o.value && !l && !t.multiple) && t.filterBy ? e = D.value.filter((c) => {
206
+ return (t.multiple && o.value || o.value && !l && !t.multiple) && t.filterBy ? e = k.value.filter((c) => {
207
207
  let v = !1;
208
- return typeof t.filterBy == "function" ? v = t.filterBy(c.value, c.item) : Array.isArray(t.filterBy) && t.filterBy.length && (v = v || oe(c.item, t.filterBy, o.value.trim())), v || oe(c, ["text"], o.value.trim());
209
- }) : e = D.value, e;
208
+ return typeof t.filterBy == "function" ? v = t.filterBy(c.value, c.item) : Array.isArray(t.filterBy) && t.filterBy.length && (v = v || ne(c.item, t.filterBy, o.value.trim())), v || ne(c, ["text"], o.value.trim());
209
+ }) : e = k.value, e;
210
210
  }), b = () => {
211
211
  if (t.multiple) {
212
212
  o.value = "";
@@ -215,7 +215,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
215
215
  let e;
216
216
  r.value && (e = at(r.value)), o.value = (e == null ? void 0 : e.text) || "";
217
217
  }, qe = async (e) => {
218
- t.multiple ? (n("update:modelValue", t.modelValue.concat(e.value)), t.stash && Le(e.item), b()) : (t.stash && Fe(e.item), n("update:modelValue", e.value), await G(), b()), A(), t.multiple || I();
218
+ t.multiple ? (n("update:modelValue", t.modelValue.concat(e.value)), t.stash && Z(e.item), b()) : (t.stash && Fe(e.item), n("update:modelValue", e.value), await G(), b()), A(), t.multiple || C();
219
219
  }, N = async (e) => {
220
220
  if (Te((l) => l.valueHash !== e.valueHash), t.multiple) {
221
221
  const l = { ...P.value };
@@ -223,24 +223,24 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
223
223
  } else
224
224
  n("update:modelValue", null), await G(), b();
225
225
  A();
226
- }, { data: Me } = ue({
227
- items: D,
226
+ }, { data: Me } = ie({
227
+ items: k,
228
228
  key: "valueHash"
229
- }), { coherent: Z, status: Pe } = ut({
229
+ }), { coherent: ee, status: Pe } = ut({
230
230
  modelValue: L(t, "modelValue"),
231
231
  multiple: t.multiple,
232
232
  iteratee: (e) => !!Me.value[tt(e)]
233
233
  });
234
234
  let V = 0;
235
- ne(
235
+ ue(
236
236
  () => t.modelValue,
237
237
  async () => {
238
- V++, Z.value || (await q(o.value, !1, t.modelValue), M()), V === 1 && b(), V--;
238
+ V++, ee.value || (await q(o.value, !1, t.modelValue), M()), V === 1 && b(), V--;
239
239
  },
240
240
  {
241
241
  debounce: t.modelValueDebounceTime
242
242
  }
243
- ), ne(
243
+ ), ue(
244
244
  () => [t.dependencies, t.items],
245
245
  async () => {
246
246
  Y.value && (V++, await q(o.value, !1, t.modelValue), V === 1 && (M(), b()), V--);
@@ -249,12 +249,12 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
249
249
  debounce: t.depsDebounceTime
250
250
  }
251
251
  );
252
- const d = f(!1), W = f(!0), z = f(!1), k = async () => {
252
+ const d = f(!1), W = f(!0), z = f(!1), I = async () => {
253
253
  z.value = !0, await pt(() => !!u.value), W.value = !1, d.value = !0;
254
- }, I = async () => {
254
+ }, C = async () => {
255
255
  var e;
256
256
  d.value = !1, W.value = !0, (e = s.value) == null || e.blur();
257
- }, Ne = () => d.value ? I() : k(), K = f(!1), We = () => {
257
+ }, Ne = () => d.value ? C() : I(), K = f(!1), We = () => {
258
258
  K.value = !0;
259
259
  }, ze = () => {
260
260
  K.value = !1, n("inactive");
@@ -278,7 +278,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
278
278
  return (e, l) => (h(), T(ht, {
279
279
  ref_key: "outerContainer",
280
280
  ref: E,
281
- class: ee({
281
+ class: te({
282
282
  "bb-base-select": !0,
283
283
  "bb-base-select--active": K.value,
284
284
  "bb-base-select--shown": d.value,
@@ -299,7 +299,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
299
299
  default: i(() => [
300
300
  j(yt, {
301
301
  ref_key: "innerContainer",
302
- ref: O,
302
+ ref: $,
303
303
  "append:icon": t["append:icon"],
304
304
  clearable: e.clearable && !g(lt)(e.modelValue),
305
305
  "prepend:icon": t["prepend:icon"],
@@ -335,7 +335,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
335
335
  "no-data-text": e.noDataText,
336
336
  open: d.value,
337
337
  options: Ae.value,
338
- style: te(me.value),
338
+ style: le(fe.value),
339
339
  "onOption:selected": qe,
340
340
  "onOption:unselected": N
341
341
  }, {
@@ -352,7 +352,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
352
352
  p(e.$slots, "options:append")
353
353
  ]),
354
354
  option: i((a) => [
355
- p(e.$slots, "option", le({
355
+ p(e.$slots, "option", ae({
356
356
  hasErrors: e.hasErrors,
357
357
  loading: H.value
358
358
  }, a))
@@ -365,7 +365,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
365
365
  j(g(et), { tag: "span" }, {
366
366
  default: i(() => [
367
367
  U("span", wt, [
368
- e.multiple && r.value.length <= e.maxSelectedLabels ? (h(), S(ae, { key: 0 }, [
368
+ e.multiple && r.value.length <= e.maxSelectedLabels ? (h(), O(oe, { key: 0 }, [
369
369
  e.comma ? (h(), T(vt, {
370
370
  key: 0,
371
371
  ref_key: "commaBox",
@@ -379,10 +379,10 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
379
379
  options: r.value,
380
380
  "onOption:unselected": N
381
381
  }, null, 8, ["options"]))
382
- ], 64)) : e.multiple ? (h(), S("span", Bt, Je(e.selectedLabelsFn ? e.selectedLabelsFn(r.value.length) : g(se)("select.multipleMaxReached", r.value.length)), 1)) : R("", !0),
383
- _e((h(), S("input", {
382
+ ], 64)) : e.multiple ? (h(), O("span", Bt, Je(e.selectedLabelsFn ? e.selectedLabelsFn(r.value.length) : g(de)("select.multipleMaxReached", r.value.length)), 1)) : R("", !0),
383
+ _e((h(), O("input", {
384
384
  id: g(Q),
385
- key: `${g(de)}`,
385
+ key: `${g(ce)}`,
386
386
  ref_key: "input",
387
387
  ref: x,
388
388
  "onUpdate:modelValue": l[0] || (l[0] = (a) => o.value = a),
@@ -392,29 +392,29 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
392
392
  "aria-expanded": d.value,
393
393
  autocomplete: e.autocomplete,
394
394
  autofocus: e.autofocus,
395
- class: ee("bb-base-select__text-input"),
395
+ class: te("bb-base-select__text-input"),
396
396
  disabled: e.disabled,
397
- inputmode: pe.value,
397
+ inputmode: me.value,
398
398
  placeholder: Ee.value,
399
399
  readonly: e.readonly || !e.allowWriting,
400
400
  required: e.required && (!e.multiple || !e.modelValue.length),
401
401
  role: "combobox",
402
402
  size: "1",
403
- style: te({ "--characters": o.value.length }),
403
+ style: le({ "--characters": o.value.length }),
404
404
  type: "text",
405
- onBlur: m(ye, ["stop"]),
406
- onChange: m(he, ["stop"]),
407
- onFocusOnce: m(ve, ["stop"]),
408
- onFocus: m(fe, ["stop"]),
409
- onInput: m(be, ["stop"]),
405
+ onBlur: m(he, ["stop"]),
406
+ onChange: m(be, ["stop"]),
407
+ onFocusOnce: m(ye, ["stop"]),
408
+ onFocus: m(ve, ["stop"]),
409
+ onInput: m(ge, ["stop"]),
410
410
  onKeydown: [
411
- w(m(Ce, ["stop"]), ["delete"]),
412
- w(m(Be, ["stop"]), ["left"]),
413
- w(m(we, ["stop", "prevent"]), ["down"]),
414
- w(m(ke, ["stop", "prevent"]), ["enter"]),
415
- w(m(Ie, ["stop", "prevent"]), ["esc"]),
416
- w(m(ge, ["stop", "prevent"]), ["up"]),
417
- w(m(Ve, ["stop"]), ["right"])
411
+ w(m(Se, ["stop"]), ["delete"]),
412
+ w(m(Ve, ["stop"]), ["left"]),
413
+ w(m(Be, ["stop", "prevent"]), ["down"]),
414
+ w(m(Ie, ["stop", "prevent"]), ["enter"]),
415
+ w(m(Ce, ["stop", "prevent"]), ["esc"]),
416
+ w(m(we, ["stop", "prevent"]), ["up"]),
417
+ w(m(ke, ["stop"]), ["right"])
418
418
  ]
419
419
  }, null, 44, Vt)), [
420
420
  [Qe, o.value]
@@ -442,7 +442,7 @@ const wt = { class: "bb-base-select__input-container" }, Bt = {
442
442
  ]),
443
443
  _: 3
444
444
  }, 8, ["append:icon", "clearable", "prepend:icon"]),
445
- (h(!0), S(ae, null, Xe(Re.value, (a) => (h(), S("input", le({
445
+ (h(!0), O(oe, null, Xe(Re.value, (a) => (h(), O("input", ae({
446
446
  key: a.value,
447
447
  ref_for: !0
448
448
  }, a), null, 16))), 128))
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, createElementBlock as g, openBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, createCommentVNode as H, Fragment as ee, renderList as ae, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeStyle as F, normalizeClass as I } from "vue";
2
- import { clamp as le } from "./index207.js";
3
- import { head as O } from "./index224.js";
4
- import { isCssColor as Y } from "./index209.js";
5
- import { isNil as P } from "./index225.js";
2
+ import { clamp as le } from "./index208.js";
3
+ import { head as O } from "./index261.js";
4
+ import { isCssColor as Y } from "./index223.js";
5
+ import { isNil as P } from "./index262.js";
6
6
  import { isNotNil as ne } from "./index140.js";
7
7
  import { transposeValue as y } from "./index136.js";
8
- import { hash as J } from "./index226.js";
8
+ import { hash as J } from "./index219.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, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index209.js";
3
- import { when as N } from "./index210.js";
2
+ import { isCssColor as b } from "./index223.js";
3
+ import { when as N } from "./index224.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, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, 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 "./index242.js";
4
+ import N from "./index213.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index244.js";
7
- import { useIndexById as T } from "./index237.js";
8
- import { useBaseOptions as q } from "./index236.js";
9
- import { useCoherence as J } from "./index246.js";
10
- import { hash as Q } from "./index226.js";
11
- import { useHashedWatcher as $ } from "./index247.js";
12
- import { usePrefill as X } from "./index245.js";
6
+ import { useItemsGetter as U } from "./index215.js";
7
+ import { useIndexById as T } from "./index216.js";
8
+ import { useBaseOptions as q } from "./index217.js";
9
+ import { useCoherence as J } from "./index218.js";
10
+ import { hash as Q } from "./index219.js";
11
+ import { useHashedWatcher as $ } from "./index220.js";
12
+ import { usePrefill as X } from "./index221.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 "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index235.js";
7
- import { useBaseOptions as ne } from "./index236.js";
8
- import { useIndexById as re } from "./index237.js";
9
- import ie from "./index238.js";
6
+ import { last as le } from "./index234.js";
7
+ import { useBaseOptions as ne } from "./index217.js";
8
+ import { useIndexById as re } from "./index216.js";
9
+ import ie from "./index240.js";
10
10
  /* empty css */
11
- import ue from "./index240.js";
11
+ import ue from "./index242.js";
12
12
  /* empty css */
13
- import se from "./index213.js";
13
+ import se from "./index210.js";
14
14
  /* empty css */
15
- import de from "./index212.js";
16
- import { isEmpty as pe } from "./index234.js";
15
+ import de from "./index209.js";
16
+ import { isEmpty as pe } from "./index233.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__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, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index212.js";
3
- import G from "./index213.js";
2
+ import E from "./index209.js";
3
+ import G from "./index210.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index213.js";
2
+ import E from "./index210.js";
3
3
  /* empty css */
4
- import I from "./index212.js";
4
+ import I from "./index209.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index252.js";
6
+ import { MaskInput as z } from "./index212.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index217.js";
6
+ import { useLocale as g } from "./index235.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, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index209.js";
2
+ import { isCssColor as y } from "./index223.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index209.js";
3
- import { isNil as B } from "./index225.js";
2
+ import { isCssColor as l } from "./index223.js";
3
+ import { isNil as B } from "./index262.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index267.js";
11
- import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index217.js";
10
+ import { pickBy as W } from "./index265.js";
11
+ import { noop as w } from "./index266.js";
12
+ import { useLocale as D } from "./index235.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index217.js";
2
+ import { useLocale as f } from "./index235.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {