bitboss-ui 2.0.148 → 2.0.150

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/index100.js +9 -9
  2. package/dist/index111.js +11 -11
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +6 -6
  5. package/dist/index123.js +1 -1
  6. package/dist/index125.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index13.js +1 -1
  9. package/dist/index131.js +1 -1
  10. package/dist/index132.js +2 -2
  11. package/dist/index134.js +2 -2
  12. package/dist/index15.js +8 -8
  13. package/dist/index19.js +8 -8
  14. package/dist/index206.js +2 -3
  15. package/dist/index208.js +1 -1
  16. package/dist/index21.js +16 -16
  17. package/dist/index210.js +4 -2
  18. package/dist/index211.js +39 -113
  19. package/dist/index212.js +19 -85
  20. package/dist/index213.js +96 -0
  21. package/dist/index215.js +199 -16
  22. package/dist/index217.js +66 -15
  23. package/dist/index219.js +13 -12
  24. package/dist/index220.js +13 -16
  25. package/dist/index221.js +114 -33
  26. package/dist/index222.js +5 -66
  27. package/dist/index223.js +127 -0
  28. package/dist/index224.js +16 -13
  29. package/dist/index225.js +16 -4
  30. package/dist/index226.js +18 -40
  31. package/dist/index227.js +15 -20
  32. package/dist/index228.js +2 -94
  33. package/dist/index229.js +4 -0
  34. package/dist/index23.js +16 -16
  35. package/dist/index230.js +5 -199
  36. package/dist/index231.js +4 -0
  37. package/dist/index232.js +3 -13
  38. package/dist/index233.js +7 -3
  39. package/dist/index234.js +7 -5
  40. package/dist/index235.js +15 -7
  41. package/dist/index236.js +19 -8
  42. package/dist/index237.js +27 -15
  43. package/dist/index238.js +3 -5
  44. package/dist/index239.js +245 -120
  45. package/dist/index240.js +51 -15
  46. package/dist/index241.js +44 -16
  47. package/dist/index242.js +5 -19
  48. package/dist/index243.js +60 -15
  49. package/dist/index244.js +34 -2
  50. package/dist/index245.js +3 -2
  51. package/dist/index246.js +86 -2
  52. package/dist/index248.js +29 -27
  53. package/dist/index249.js +17 -250
  54. package/dist/index25.js +7 -7
  55. package/dist/index250.js +49 -50
  56. package/dist/index251.js +15 -44
  57. package/dist/index252.js +12 -5
  58. package/dist/index253.js +16 -60
  59. package/dist/index255.js +18 -2
  60. package/dist/index256.js +126 -2
  61. package/dist/index257.js +2 -2
  62. package/dist/index259.js +2 -2
  63. package/dist/index261.js +11 -17
  64. package/dist/index262.js +226 -124
  65. package/dist/index263.js +368 -11
  66. package/dist/index264.js +2 -228
  67. package/dist/index265.js +2 -369
  68. package/dist/index269.js +4 -224
  69. package/dist/index27.js +1 -1
  70. package/dist/index270.js +430 -3
  71. package/dist/index271.js +3 -2
  72. package/dist/index272.js +1 -1
  73. package/dist/index273.js +3 -17
  74. package/dist/index275.js +7 -28
  75. package/dist/index276.js +7 -3
  76. package/dist/index277.js +13 -0
  77. package/dist/index278.js +281 -7
  78. package/dist/index279.js +5 -430
  79. package/dist/index280.js +2 -3
  80. package/dist/index281.js +2 -3
  81. package/dist/index282.js +2 -7
  82. package/dist/index283.js +2 -11
  83. package/dist/index284.js +2 -2
  84. package/dist/index285.js +2 -89
  85. package/dist/index287.js +1 -5
  86. package/dist/index288.js +89 -16
  87. package/dist/index289.js +2 -281
  88. package/dist/index29.js +3 -3
  89. package/dist/index290.js +2 -6
  90. package/dist/index291.js +2 -2
  91. package/dist/index292.js +2 -2
  92. package/dist/index293.js +2 -2
  93. package/dist/index294.js +2 -2
  94. package/dist/index295.js +28 -2
  95. package/dist/index296.js +22 -2
  96. package/dist/index298.js +2 -8
  97. package/dist/index301.js +224 -2
  98. package/dist/index302.js +9 -2
  99. package/dist/index303.js +5 -1
  100. package/dist/index304.js +16 -2
  101. package/dist/index305.js +3 -2
  102. package/dist/index306.js +17 -2
  103. package/dist/index307.js +7 -20
  104. package/dist/index308.js +10 -0
  105. package/dist/index309.js +126 -3
  106. package/dist/index310.js +1 -1
  107. package/dist/index311.js +3 -126
  108. package/dist/index312.js +1 -1
  109. package/dist/index315.js +5 -2
  110. package/dist/index316.js +67 -5
  111. package/dist/index317.js +5 -67
  112. package/dist/index318.js +7 -4
  113. package/dist/index319.js +479 -7
  114. package/dist/index320.js +8 -480
  115. package/dist/index321.js +5 -32
  116. package/dist/index322.js +8 -28
  117. package/dist/index323.js +35 -0
  118. package/dist/index324.js +28 -8
  119. package/dist/index326.js +57 -7
  120. package/dist/index327.js +33 -33
  121. package/dist/index328.js +2 -58
  122. package/dist/index329.js +6 -3
  123. package/dist/index33.js +8 -8
  124. package/dist/index330.js +19 -3
  125. package/dist/index331.js +7 -3
  126. package/dist/index332.js +3 -57
  127. package/dist/index333.js +3 -7
  128. package/dist/index334.js +3 -19
  129. package/dist/index335.js +57 -6
  130. package/dist/index336.js +2 -2
  131. package/dist/index337.js +1 -1
  132. package/dist/index339.js +1 -1
  133. package/dist/index340.js +424 -2
  134. package/dist/index341.js +2 -424
  135. package/dist/index35.js +2 -2
  136. package/dist/index37.js +65 -61
  137. package/dist/index39.js +4 -4
  138. package/dist/index43.js +8 -8
  139. package/dist/index45.js +6 -6
  140. package/dist/index47.js +2 -2
  141. package/dist/index49.js +2 -2
  142. package/dist/index53.js +1 -1
  143. package/dist/index57.js +1 -1
  144. package/dist/index61.js +1 -1
  145. package/dist/index75.js +1 -1
  146. package/dist/index77.js +1 -1
  147. package/dist/index79.js +2 -2
  148. package/dist/index81.js +1 -1
  149. package/dist/index84.js +4 -4
  150. package/dist/index86.js +2 -2
  151. package/dist/index88.js +5 -5
  152. package/dist/index90.js +1 -1
  153. package/package.json +1 -1
  154. package/dist/index214.js +0 -31
  155. package/dist/index216.js +0 -53
  156. package/dist/index218.js +0 -5
  157. package/dist/index247.js +0 -21
  158. package/dist/index274.js +0 -11
  159. package/dist/index297.js +0 -11
  160. package/dist/index325.js +0 -8
package/dist/index37.js CHANGED
@@ -1,41 +1,41 @@
1
- import { defineComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as H, normalizeClass as ee, withCtx as r, renderSlot as c, createVNode as j, unref as V, createElementVNode as L, createElementBlock as F, Fragment as te, toDisplayString as Je, createCommentVNode as R, withDirectives as Qe, normalizeStyle as le, withModifiers as p, withKeys as g, vModelDynamic as _e, renderList as Xe, mergeProps as ae, nextTick as G } from "vue";
1
+ import { defineComponent as Ge, ref as f, computed as y, onMounted as Je, toRef as T, openBlock as h, createBlock as H, normalizeClass as ee, withCtx as r, renderSlot as c, createVNode as j, unref as V, createElementVNode as L, createElementBlock as F, Fragment as te, toDisplayString as Qe, createCommentVNode as R, withDirectives as _e, normalizeStyle as le, withModifiers as p, withKeys as g, vModelDynamic as Xe, renderList as Ye, mergeProps as ae, nextTick as G } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { useId as Ye } from "./index8.js";
5
- import { useMobile as Ze } from "./index9.js";
6
- import et from "./index128.js";
4
+ import { useId as Ze } from "./index8.js";
5
+ import { useMobile as et } from "./index9.js";
6
+ import tt from "./index128.js";
7
7
  /* empty css */
8
- import { last as tt } from "./index245.js";
9
- import { matchAnyKey as oe } from "./index261.js";
10
- import { useFloating as lt } from "./index262.js";
11
- import { useIntersectionObserver as at } from "./index132.js";
8
+ import { last as lt } from "./index229.js";
9
+ import { matchAnyKey as oe } from "./index255.js";
10
+ import { useFloating as at } from "./index256.js";
11
+ import { useIntersectionObserver as ot } from "./index132.js";
12
12
  import { wait as E } from "./index130.js";
13
- import { when as ot } from "./index208.js";
14
- import nt from "./index257.js";
13
+ import { when as nt } from "./index208.js";
14
+ import ut from "./index257.js";
15
15
  /* empty css */
16
- import ut from "./index259.js";
16
+ import rt from "./index259.js";
17
17
  /* empty css */
18
- import rt from "./index222.js";
18
+ import it from "./index217.js";
19
19
  /* empty css */
20
- import it from "./index224.js";
21
- import { waitFor as st } from "./index234.js";
22
- import dt from "./index237.js";
23
- import { useItemsGetter as ct } from "./index214.js";
24
- import { usePrefill as pt } from "./index220.js";
25
- import { useArray as mt } from "./index263.js";
26
- import { useBaseOptions as ft } from "./index216.js";
27
- import { useIndexById as ne } from "./index215.js";
28
- import { useCoherence as vt } from "./index217.js";
29
- import { hash as yt } from "./index218.js";
30
- import { useHashedWatcher as ue } from "./index219.js";
31
- import { useLocale as ht } from "./index232.js";
32
- import { isEmpty as bt } from "./index246.js";
33
- import gt from "./index264.js";
34
- import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index265.js";
35
- const kt = { class: "bb-base-select__input-container" }, Ct = {
20
+ import st from "./index219.js";
21
+ import { waitFor as dt } from "./index230.js";
22
+ import ct from "./index235.js";
23
+ import { useItemsGetter as pt } from "./index248.js";
24
+ import { usePrefill as mt } from "./index253.js";
25
+ import { useArray as ft } from "./index261.js";
26
+ import { useBaseOptions as vt } from "./index250.js";
27
+ import { useIndexById as ne } from "./index249.js";
28
+ import { useCoherence as yt } from "./index251.js";
29
+ import { hash as ht } from "./index238.js";
30
+ import { useHashedWatcher as ue } from "./index252.js";
31
+ import { useLocale as bt } from "./index220.js";
32
+ import { isEmpty as gt } from "./index231.js";
33
+ import wt from "./index262.js";
34
+ import { autoUpdate as Bt, flip as Vt, offset as It, shift as kt } from "./index263.js";
35
+ const Ct = { class: "bb-base-select__input-container" }, St = {
36
36
  key: 1,
37
37
  class: "bb-base-select__max-reached"
38
- }, St = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], rl = /* @__PURE__ */ Ge({
38
+ }, Ot = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], il = /* @__PURE__ */ Ge({
39
39
  __name: "BaseSelect",
40
40
  props: {
41
41
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -83,12 +83,12 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
83
83
  const t = re, u = ie;
84
84
  if (t.multiple && !Array.isArray(t.modelValue))
85
85
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
86
- const { t: se } = ht(), A = f(null), I = f(null), n = f(null), J = f(null), Q = f(null), s = y(
86
+ const { t: se } = bt(), A = f(null), I = f(null), n = f(null), J = f(null), Q = f(null), s = y(
87
87
  () => t.comma ? J.value : Q.value
88
- ), { isMobile: de } = Ze(), ce = y(
88
+ ), { isMobile: de } = et(), ce = y(
89
89
  () => t.allowWriting === "not-mobile" && de.value ? "none" : void 0
90
- ), _ = t.id || Ye().id.value;
91
- at(
90
+ ), _ = t.id || Ze().id.value;
91
+ ot(
92
92
  // @ts-expect-error - wrong inferred type
93
93
  I,
94
94
  ([{ intersectionRatio: e }]) => {
@@ -96,14 +96,14 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
96
96
  },
97
97
  { threshold: [0, 1] }
98
98
  );
99
- const { floatingStyles: pe } = lt(
99
+ const { floatingStyles: pe } = at(
100
100
  // @ts-expect-error - wrong inferred type
101
101
  I,
102
102
  n,
103
103
  {
104
104
  placement: "bottom",
105
- whileElementsMounted: wt,
106
- middleware: [Bt(), Vt(5), It()]
105
+ whileElementsMounted: Bt,
106
+ middleware: [Vt(), It(5), kt()]
107
107
  }
108
108
  ), me = y(() => {
109
109
  var l;
@@ -167,12 +167,16 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
167
167
  }, Ce = async () => {
168
168
  var e, l;
169
169
  !w.value || o.value || !i.value.length || ((e = s.value) != null && e.getHighlighted() && s.value.confirmOption(), await G(), (l = s.value) == null || l.focusPrevious());
170
- }, o = f(""), {
170
+ }, o = f("");
171
+ Je(() => {
172
+ o.value = `${o.value}`;
173
+ });
174
+ const {
171
175
  getter: M,
172
176
  debouncedGetter: Se,
173
177
  items: Oe,
174
178
  loading: X
175
- } = ct({
179
+ } = pt({
176
180
  items: T(t, "items"),
177
181
  debounce: t.queryDebounceTime
178
182
  }), P = () => {
@@ -182,7 +186,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
182
186
  hasPrefilled: Y,
183
187
  isPrefilling: $e,
184
188
  prefill: De
185
- } = pt({
189
+ } = mt({
186
190
  onStart: t.prefill === !0,
187
191
  currentValue: t.modelValue,
188
192
  multiple: t.multiple,
@@ -194,14 +198,14 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
194
198
  add: He,
195
199
  remove: Le,
196
200
  set: Fe
197
- } = mt(), i = y(() => {
201
+ } = ft(), i = y(() => {
198
202
  const e = Object.fromEntries(
199
203
  Object.entries(N.value).map(([l], a) => [l, a])
200
204
  );
201
205
  return $.value.filter((l) => l.selected).sort((l, a) => e[l.valueHash] - e[a.valueHash]);
202
206
  }), Ee = y(() => i.value.length ? "" : t.placeholder), { data: N, get: Ae } = ne({
203
207
  items: T(t, "modelValue")
204
- }), { options: $ } = ft({
208
+ }), { options: $ } = vt({
205
209
  disabled: T(t, "disabled"),
206
210
  items: y(() => [...Oe.value, ...Te.value]),
207
211
  itemText: t.itemText,
@@ -224,7 +228,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
224
228
  return;
225
229
  }
226
230
  let e;
227
- i.value && (e = tt(i.value)), o.value = (e == null ? void 0 : e.text) || "";
231
+ i.value && (e = lt(i.value)), o.value = (e == null ? void 0 : e.text) || "";
228
232
  }, xe = async (e) => {
229
233
  t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && He(e.item), b()) : (t.stash && Fe(e.item), u("update:modelValue", e.value), await G(), b()), x(), t.multiple || C();
230
234
  }, W = async (e) => {
@@ -237,10 +241,10 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
237
241
  }, { data: Me } = ne({
238
242
  items: $,
239
243
  key: "valueHash"
240
- }), { coherent: Z, status: Pe } = vt({
244
+ }), { coherent: Z, status: Pe } = yt({
241
245
  modelValue: T(t, "modelValue"),
242
246
  multiple: t.multiple,
243
- iteratee: (e) => !!Me.value[yt(e)]
247
+ iteratee: (e) => !!Me.value[ht(e)]
244
248
  });
245
249
  let B = 0;
246
250
  ue(
@@ -261,7 +265,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
261
265
  }
262
266
  );
263
267
  const m = f(!1), z = f(!0), K = f(!1), k = async () => {
264
- K.value = !0, await st(() => !!n.value), z.value = !1, m.value = !0;
268
+ K.value = !0, await dt(() => !!n.value), z.value = !1, m.value = !0;
265
269
  }, C = async () => {
266
270
  var e;
267
271
  m.value = !1, z.value = !0, (e = s.value) == null || e.blur();
@@ -271,7 +275,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
271
275
  U.value = !1, u("inactive");
272
276
  }, Ke = (e) => {
273
277
  e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (x(), Ne());
274
- }, Ue = ot(
278
+ }, Ue = nt(
275
279
  (e) => typeof e != "string",
276
280
  JSON.stringify
277
281
  ), je = y(() => [].concat(t.modelValue).map((e) => {
@@ -286,7 +290,7 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
286
290
  let e = null;
287
291
  t.multiple && (e = []), u("update:modelValue", e);
288
292
  };
289
- return (e, l) => (h(), H(it, {
293
+ return (e, l) => (h(), H(st, {
290
294
  ref_key: "outerContainer",
291
295
  ref: A,
292
296
  class: ee({
@@ -308,11 +312,11 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
308
312
  c(e.$slots, "append-outer", { query: o.value })
309
313
  ]),
310
314
  default: r(() => [
311
- j(rt, {
315
+ j(it, {
312
316
  ref_key: "innerContainer",
313
317
  ref: I,
314
318
  "append:icon": t["append:icon"],
315
- clearable: e.clearable && !V(bt)(e.modelValue),
319
+ clearable: e.clearable && !V(gt)(e.modelValue),
316
320
  "prepend:icon": t["prepend:icon"],
317
321
  "prevent-focus": !0,
318
322
  "onClick:clear": Re
@@ -330,25 +334,25 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
330
334
  c(e.$slots, "suffix")
331
335
  ]),
332
336
  default: r(() => [
333
- j(V(et), { tag: "span" }, {
337
+ j(V(tt), { tag: "span" }, {
334
338
  default: r(() => [
335
- L("span", kt, [
339
+ L("span", Ct, [
336
340
  e.multiple && i.value.length <= e.maxSelectedLabels ? (h(), F(te, { key: 0 }, [
337
- e.comma ? (h(), H(ut, {
341
+ e.comma ? (h(), H(rt, {
338
342
  key: 0,
339
343
  ref_key: "commaBox",
340
344
  ref: J,
341
345
  options: i.value,
342
346
  "onOption:unselected": W
343
- }, null, 8, ["options"])) : (h(), H(nt, {
347
+ }, null, 8, ["options"])) : (h(), H(ut, {
344
348
  key: 1,
345
349
  ref_key: "chipsBox",
346
350
  ref: Q,
347
351
  options: i.value,
348
352
  "onOption:unselected": W
349
353
  }, null, 8, ["options"]))
350
- ], 64)) : e.multiple ? (h(), F("span", Ct, Je(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : V(se)("select.multipleMaxReached", i.value.length)), 1)) : R("", !0),
351
- Qe(L("input", {
354
+ ], 64)) : e.multiple ? (h(), F("span", St, Qe(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : V(se)("select.multipleMaxReached", i.value.length)), 1)) : R("", !0),
355
+ _e(L("input", {
352
356
  id: V(_),
353
357
  ref_key: "input",
354
358
  ref: q,
@@ -383,8 +387,8 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
383
387
  g(p(ge, ["stop", "prevent"]), ["up"]),
384
388
  g(p(Ve, ["stop"]), ["right"])
385
389
  ]
386
- }, null, 44, St), [
387
- [_e, o.value]
390
+ }, null, 44, Ot), [
391
+ [Xe, o.value]
388
392
  ])
389
393
  ])
390
394
  ]),
@@ -409,16 +413,16 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
409
413
  ]),
410
414
  _: 3
411
415
  }, 8, ["append:icon", "clearable", "prepend:icon"]),
412
- (h(!0), F(te, null, Xe(je.value, (a) => (h(), F("input", ae({
416
+ (h(!0), F(te, null, Ye(je.value, (a) => (h(), F("input", ae({
413
417
  key: a.value,
414
418
  ref_for: !0
415
419
  }, a), null, 16))), 128)),
416
- K.value ? (h(), H(dt, {
420
+ K.value ? (h(), H(ct, {
417
421
  key: 0,
418
422
  target: e.teleportTarget
419
423
  }, {
420
424
  default: r(() => [
421
- j(gt, {
425
+ j(wt, {
422
426
  ref_key: "optionsContainer",
423
427
  ref: n,
424
428
  compact: e.compact,
@@ -461,5 +465,5 @@ const kt = { class: "bb-base-select__input-container" }, Ct = {
461
465
  }
462
466
  });
463
467
  export {
464
- rl as default
468
+ il as default
465
469
  };
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 "./index210.js";
3
- import { head as O } from "./index255.js";
2
+ import { clamp as le } from "./index206.js";
3
+ import { head as O } from "./index264.js";
4
4
  import { isCssColor as Y } from "./index207.js";
5
- import { isNil as P } from "./index256.js";
5
+ import { isNil as P } from "./index265.js";
6
6
  import { isNotNil as ne } from "./index135.js";
7
7
  import { transposeValue as y } from "./index131.js";
8
- import { hash as J } from "./index218.js";
8
+ import { hash as J } from "./index238.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/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as 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 "./index212.js";
4
+ import N from "./index246.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index214.js";
7
- import { useIndexById as T } from "./index215.js";
8
- import { useBaseOptions as q } from "./index216.js";
9
- import { useCoherence as J } from "./index217.js";
10
- import { hash as Q } from "./index218.js";
11
- import { useHashedWatcher as $ } from "./index219.js";
12
- import { usePrefill as X } from "./index220.js";
6
+ import { useItemsGetter as U } from "./index248.js";
7
+ import { useIndexById as T } from "./index249.js";
8
+ import { useBaseOptions as q } from "./index250.js";
9
+ import { useCoherence as J } from "./index251.js";
10
+ import { hash as Q } from "./index238.js";
11
+ import { useHashedWatcher as $ } from "./index252.js";
12
+ import { usePrefill as X } from "./index253.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index128.js";
5
5
  /* empty css */
6
- import { last as le } from "./index245.js";
7
- import { useBaseOptions as ne } from "./index216.js";
8
- import { useIndexById as re } from "./index215.js";
6
+ import { last as le } from "./index229.js";
7
+ import { useBaseOptions as ne } from "./index250.js";
8
+ import { useIndexById as re } from "./index249.js";
9
9
  import ie from "./index257.js";
10
10
  /* empty css */
11
11
  import ue from "./index259.js";
12
12
  /* empty css */
13
- import se from "./index222.js";
13
+ import se from "./index217.js";
14
14
  /* empty css */
15
- import de from "./index224.js";
16
- import { isEmpty as pe } from "./index246.js";
15
+ import de from "./index219.js";
16
+ import { isEmpty as pe } from "./index231.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, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
2
- import E from "./index224.js";
3
- import G from "./index222.js";
2
+ import E from "./index219.js";
3
+ import G from "./index217.js";
4
4
  /* empty css */
5
5
  import M from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, computed as B, openBlock as g, createElementBlock as V, Fragment as h, createVNode as u, normalizeClass as w, withCtx as l, renderSlot as r, unref as C, createElementVNode as i, mergeProps as $ } from "vue";
2
- import E from "./index222.js";
2
+ import E from "./index217.js";
3
3
  /* empty css */
4
- import M from "./index224.js";
4
+ import M from "./index219.js";
5
5
  import { isNotNil as T } from "./index135.js";
6
6
  import { Mask as q } from "./index266.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], H = /* @__PURE__ */ k({
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index232.js";
6
+ import { useLocale as g } from "./index220.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
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
2
  import { isCssColor as r } from "./index207.js";
3
- import { isNil as B } from "./index256.js";
3
+ import { isNil as B } from "./index265.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
9
9
  /* empty css */
10
10
  import { pickBy as W } from "./index267.js";
11
11
  import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index232.js";
12
+ import { useLocale as D } from "./index220.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
8
  import N from "./index300.js";
9
- import se from "./index228.js";
9
+ import se from "./index213.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index232.js";
12
+ import { useLocale as T } from "./index220.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
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 "./index288.js";
2
+ import { findInTree as ae } from "./index304.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.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("./index287.js")).default);
56
+ b || (b = (await import("./index303.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 "./index233.js";
2
+ import { throttle as c } from "./index232.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
2
- import { useFocusTrap as be } from "./index226.js";
2
+ import { useFocusTrap as be } from "./index211.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index130.js";
5
- import { useModalsState as b } from "./index235.js";
6
- import me from "./index237.js";
5
+ import { useModalsState as b } from "./index233.js";
6
+ import me from "./index235.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index232.js";
8
+ import { useLocale as he } from "./index220.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index297.js";
2
+ import { debounce as T } from "./index302.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index232.js";
7
+ import { useLocale as D } from "./index220.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index226.js";
2
+ import { useFocusTrap as j } from "./index211.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index234.js";
5
+ import { waitFor as K } from "./index230.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index228.js";
8
+ import U from "./index213.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index232.js";
11
- import { useDebounceFn as Y } from "./index211.js";
10
+ import { useLocale as X } from "./index220.js";
11
+ import { useDebounceFn as Y } from "./index221.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
14
14
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index210.js";
2
+ import { clamp as p } from "./index206.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.148",
3
+ "version": "2.0.150",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index214.js DELETED
@@ -1,31 +0,0 @@
1
- import { ref as a, computed as s, unref as v } from "vue";
2
- import { useDebounceFn as f } from "./index211.js";
3
- const p = (u) => {
4
- const e = a(0), r = s(() => v(u.items)), t = a([]), n = async (...l) => {
5
- if (Array.isArray(r.value))
6
- t.value = r.value;
7
- else if (typeof r.value == "function") {
8
- const i = ++e.value;
9
- try {
10
- const o = await r.value(...l);
11
- if (i < e.value) {
12
- e.value--;
13
- return;
14
- } else
15
- t.value = o;
16
- } catch (o) {
17
- console.error(o);
18
- }
19
- e.value--;
20
- }
21
- }, c = f(n, u.debounce || 0);
22
- return {
23
- getter: n,
24
- debouncedGetter: c,
25
- items: t,
26
- loading: s(() => !!e.value)
27
- };
28
- };
29
- export {
30
- p as useItemsGetter
31
- };
package/dist/index216.js DELETED
@@ -1,53 +0,0 @@
1
- import { computed as c, unref as n } from "vue";
2
- import { useItemText as y } from "./index273.js";
3
- import { useItemValue as x } from "./index274.js";
4
- import { hash as w } from "./index218.js";
5
- import { useLogger as D } from "./index236.js";
6
- const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, d, t, a, f, u) => u ? !1 : d || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && f >= a), q = ({
7
- items: i,
8
- disabled: d,
9
- selectable: t,
10
- itemText: a,
11
- itemValue: f,
12
- selectedIndexedByHash: u,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = c(() => n(d)), p = c(() => n(i)), h = c(
16
- () => Object.keys(u.value).length
17
- ), g = n(b), m = (e) => {
18
- const r = V(e, n(f)), o = w(r), l = O(e, n(a)), s = u.value[o] !== void 0, I = T(
19
- e,
20
- v.value,
21
- t,
22
- g,
23
- h.value,
24
- s
25
- );
26
- return {
27
- item: e,
28
- text: l,
29
- value: r,
30
- valueHash: o,
31
- selected: s,
32
- disabled: n(I)
33
- };
34
- };
35
- return {
36
- options: c(() => {
37
- const e = [], r = /* @__PURE__ */ new Set();
38
- for (let o = 0; o < p.value.length; o++) {
39
- const l = p.value[o];
40
- l.disabled && H(
41
- "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
42
- );
43
- const s = m(l);
44
- r.has(s.valueHash) || (r.add(s.valueHash), e.push(s));
45
- }
46
- return e;
47
- }),
48
- createOption: m
49
- };
50
- };
51
- export {
52
- q as useBaseOptions
53
- };
package/dist/index218.js DELETED
@@ -1,5 +0,0 @@
1
- import { hash as o } from "./index275.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
3
- export {
4
- t as hash
5
- };
package/dist/index247.js DELETED
@@ -1,21 +0,0 @@
1
- import { getDefaultExportFromCjs as p, commonjsGlobal as s } from "./index290.js";
2
- import { __module as n } from "./index301.js";
3
- (function(u, l) {
4
- (function(c, e) {
5
- u.exports = e();
6
- })(s, function() {
7
- return function(c, e, r) {
8
- r.updateLocale = function(f, o) {
9
- var t = r.Ls[f];
10
- if (t) return (o ? Object.keys(o) : []).forEach(function(a) {
11
- t[a] = o[a];
12
- }), t;
13
- };
14
- };
15
- });
16
- })(n);
17
- var i = n.exports;
18
- const x = /* @__PURE__ */ p(i);
19
- export {
20
- x as default
21
- };
package/dist/index274.js DELETED
@@ -1,11 +0,0 @@
1
- import { get as o } from "./index283.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
9
- export {
10
- e as useItemValue
11
- };