bitboss-ui 2.0.47 → 2.0.48

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 (127) hide show
  1. package/dist/index108.js +198 -181
  2. package/dist/index110.js +4 -4
  3. package/dist/index118.js +1 -1
  4. package/dist/index120.js +5 -5
  5. package/dist/index122.js +1 -1
  6. package/dist/index126.js +1 -1
  7. package/dist/index127.js +1 -1
  8. package/dist/index128.js +1 -1
  9. package/dist/index13.js +1 -1
  10. package/dist/index15.js +2 -2
  11. package/dist/index17.js +3 -3
  12. package/dist/index19.js +2 -2
  13. package/dist/index206.js +158 -8
  14. package/dist/index207.js +84 -2
  15. package/dist/index209.js +2 -2
  16. package/dist/index21.js +14 -14
  17. package/dist/index210.js +4 -5
  18. package/dist/index211.js +2 -16
  19. package/dist/index212.js +124 -14
  20. package/dist/index213.js +5 -19
  21. package/dist/index214.js +122 -16
  22. package/dist/index215.js +18 -26
  23. package/dist/index216.js +16 -3
  24. package/dist/index217.js +16 -2
  25. package/dist/index218.js +2 -249
  26. package/dist/index219.js +2 -52
  27. package/dist/index220.js +41 -44
  28. package/dist/index221.js +20 -5
  29. package/dist/index222.js +5 -48
  30. package/dist/index225.js +1 -1
  31. package/dist/index226.js +5 -20
  32. package/dist/index227.js +368 -3
  33. package/dist/index228.js +3 -3
  34. package/dist/index229.js +3 -41
  35. package/dist/index23.js +13 -13
  36. package/dist/index230.js +7 -6
  37. package/dist/index231.js +8 -7
  38. package/dist/index232.js +4 -3
  39. package/dist/index233.js +17 -156
  40. package/dist/index234.js +27 -84
  41. package/dist/index235.js +5 -0
  42. package/dist/index236.js +249 -2
  43. package/dist/index237.js +49 -123
  44. package/dist/index238.js +44 -125
  45. package/dist/index239.js +5 -2
  46. package/dist/index240.js +49 -5
  47. package/dist/index241.js +2 -369
  48. package/dist/index242.js +18 -2
  49. package/dist/index243.js +105 -17
  50. package/dist/{index246.js → index245.js} +1 -1
  51. package/dist/index247.js +4 -0
  52. package/dist/index25.js +5 -5
  53. package/dist/index250.js +3 -6
  54. package/dist/index251.js +8 -15
  55. package/dist/index252.js +23 -3
  56. package/dist/index253.js +6 -9
  57. package/dist/index254.js +16 -23
  58. package/dist/index256.js +4 -3
  59. package/dist/index257.js +5 -0
  60. package/dist/index258.js +11 -6
  61. package/dist/index259.js +7 -174
  62. package/dist/index260.js +9 -4
  63. package/dist/index261.js +17 -281
  64. package/dist/index262.js +280 -5
  65. package/dist/index263.js +6 -2
  66. package/dist/index264.js +2 -2
  67. package/dist/index265.js +2 -2
  68. package/dist/index269.js +126 -2
  69. package/dist/index27.js +1 -1
  70. package/dist/index270.js +431 -2
  71. package/dist/index271.js +176 -2
  72. package/dist/index272.js +3 -2
  73. package/dist/index274.js +7 -22
  74. package/dist/index277.js +224 -3
  75. package/dist/index278.js +199 -11
  76. package/dist/index279.js +434 -7
  77. package/dist/index280.js +126 -8
  78. package/dist/index281.js +87 -15
  79. package/dist/index282.js +2 -431
  80. package/dist/index283.js +2 -89
  81. package/dist/index284.js +2 -200
  82. package/dist/index285.js +2 -66
  83. package/dist/index286.js +2 -2
  84. package/dist/index287.js +2 -5
  85. package/dist/index288.js +28 -2
  86. package/dist/index289.js +21 -125
  87. package/dist/index291.js +5 -0
  88. package/dist/index292.js +3 -436
  89. package/dist/index293.js +210 -126
  90. package/dist/index294.js +65 -2
  91. package/dist/index295.js +2 -3
  92. package/dist/index296.js +5 -211
  93. package/dist/index300.js +2 -2
  94. package/dist/index302.js +1 -1
  95. package/dist/index303.js +1 -1
  96. package/dist/index304.js +1 -1
  97. package/dist/index305.js +3 -6
  98. package/dist/index306.js +5 -17
  99. package/dist/index307.js +6 -6
  100. package/dist/index308.js +18 -10
  101. package/dist/index309.js +11 -2
  102. package/dist/index31.js +2 -2
  103. package/dist/index310.js +2 -4
  104. package/dist/index312.js +2 -2
  105. package/dist/index314.js +1 -1
  106. package/dist/index315.js +47 -2
  107. package/dist/index316.js +2 -47
  108. package/dist/index33.js +2 -2
  109. package/dist/index35.js +3 -3
  110. package/dist/index37.js +11 -11
  111. package/dist/index39.js +3 -3
  112. package/dist/index41.js +2 -2
  113. package/dist/index43.js +2 -2
  114. package/dist/index45.js +4 -4
  115. package/dist/index55.js +1 -1
  116. package/dist/index57.js +1 -1
  117. package/dist/index75.js +3 -3
  118. package/dist/index79.js +2 -2
  119. package/dist/index81.js +1 -1
  120. package/dist/index84.js +2 -2
  121. package/dist/index88.js +3 -3
  122. package/package.json +1 -1
  123. package/dist/index208.js +0 -6
  124. package/dist/index244.js +0 -108
  125. package/dist/index273.js +0 -30
  126. package/dist/index276.js +0 -226
  127. /package/dist/{index290.js → index275.js} +0 -0
package/dist/index305.js CHANGED
@@ -1,9 +1,6 @@
1
- function c(n, e) {
2
- const u = [];
3
- for (let t = 0; t < n.length; t += e)
4
- u.push(n.slice(t, t + e));
5
- return u;
1
+ function e(t) {
2
+ return Object.prototype.toString.call(t).slice(8, -1);
6
3
  }
7
4
  export {
8
- c as chunk
5
+ e as getType
9
6
  };
package/dist/index306.js CHANGED
@@ -1,21 +1,9 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
15
- }
1
+ function l(n, c, r = 1) {
2
+ const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
+ for (let e = 0; e < o; e++, n += r)
4
+ t[e] = n;
16
5
  return t;
17
6
  }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
19
7
  export {
20
- l as sort
8
+ l as range
21
9
  };
package/dist/index307.js CHANGED
@@ -1,9 +1,9 @@
1
- function l(n, c, r = 1) {
2
- const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
- for (let e = 0; e < o; e++, n += r)
4
- t[e] = n;
5
- return t;
1
+ function c(n, e) {
2
+ const u = [];
3
+ for (let t = 0; t < n.length; t += e)
4
+ u.push(n.slice(t, t + e));
5
+ return u;
6
6
  }
7
7
  export {
8
- l as range
8
+ c as chunk
9
9
  };
package/dist/index308.js CHANGED
@@ -1,13 +1,21 @@
1
- function c(n, r, e) {
2
- const i = typeof r == "string" ? r.split(".") : r;
3
- let t = n;
4
- for (const o of i)
5
- if (t && typeof t == "object" && o in t)
6
- t = t[o];
7
- else
8
- return e;
9
- return t === void 0 ? e : t;
1
+ function l(t, ...e) {
2
+ if (t.length) {
3
+ const o = t[0];
4
+ if (typeof o == "string") return [...t].sort(r);
5
+ if (typeof o == "number") return [...t].sort(r);
6
+ if (e && e.length)
7
+ return [...t].sort((f, u) => {
8
+ for (let n = 0; n < e.length; n++) {
9
+ const i = e[n], s = r(f[i], u[i]);
10
+ if (s) return s;
11
+ }
12
+ return 0;
13
+ });
14
+ throw new Error("Invalid comparison");
15
+ }
16
+ return t;
10
17
  }
18
+ const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
11
19
  export {
12
- c as get
20
+ l as sort
13
21
  };
package/dist/index309.js CHANGED
@@ -1,4 +1,13 @@
1
- import f from "./index285.js";
1
+ function c(n, r, e) {
2
+ const i = typeof r == "string" ? r.split(".") : r;
3
+ let t = n;
4
+ for (const o of i)
5
+ if (t && typeof t == "object" && o in t)
6
+ t = t[o];
7
+ else
8
+ return e;
9
+ return t === void 0 ? e : t;
10
+ }
2
11
  export {
3
- f as default
12
+ c as get
4
13
  };
package/dist/index31.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, computed as s, ref as _, openBlock as B, createElementBlock as w, normalizeProps as t, guardReactiveProps as l, createElementVNode as u, mergeProps as V, renderSlot as C } from "vue";
2
- import { isCssColor as i } from "./index207.js";
3
- import { when as E } from "./index208.js";
2
+ import { isCssColor as i } from "./index209.js";
3
+ import { when as E } from "./index210.js";
4
4
  const q = {
5
5
  "aria-hidden": "true",
6
6
  class: "bb-base-radio-container"
package/dist/index310.js CHANGED
@@ -1,6 +1,4 @@
1
- function e(t) {
2
- return Object.prototype.toString.call(t).slice(8, -1);
3
- }
1
+ import f from "./index294.js";
4
2
  export {
5
- e as getType
3
+ f as default
6
4
  };
package/dist/index312.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./index262.js";
2
- import { __module as M } from "./index315.js";
1
+ import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./index263.js";
2
+ import { __module as M } from "./index316.js";
3
3
  M.exports;
4
4
  (function(j, F) {
5
5
  var At = 200, W = "__lodash_hash_undefined__", Ot = 800, jt = 16, X = 9007199254740991, Y = "[object Arguments]", wt = "[object Array]", Ct = "[object AsyncFunction]", xt = "[object Boolean]", St = "[object Date]", It = "[object Error]", Z = "[object Function]", zt = "[object GeneratorFunction]", Et = "[object Map]", Pt = "[object Number]", Dt = "[object Null]", Q = "[object Object]", Mt = "[object Proxy]", Ft = "[object RegExp]", Ut = "[object Set]", Nt = "[object String]", Rt = "[object Undefined]", Gt = "[object WeakMap]", Ht = "[object ArrayBuffer]", Lt = "[object DataView]", Bt = "[object Float32Array]", $t = "[object Float64Array]", Kt = "[object Int8Array]", qt = "[object Int16Array]", Vt = "[object Int32Array]", Jt = "[object Uint8Array]", Wt = "[object Uint8ClampedArray]", Xt = "[object Uint16Array]", Yt = "[object Uint32Array]", Zt = /[\\^$.*+?()[\]{}|]/g, Qt = /^\[object .+?Constructor\]$/, kt = /^(?:0|[1-9]\d*)$/, u = {};
package/dist/index314.js CHANGED
@@ -1,4 +1,4 @@
1
- import { debounce as I, memo as u, notUndefined as f, approxEqual as O } from "./index316.js";
1
+ import { debounce as I, memo as u, notUndefined as f, approxEqual as O } from "./index315.js";
2
2
  const z = (r) => r, M = (r) => {
3
3
  const h = Math.max(r.startIndex - r.overscan, 0), e = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
4
4
  for (let t = h; t <= e; t++)
package/dist/index315.js CHANGED
@@ -1,4 +1,49 @@
1
- var e = { exports: {} };
1
+ function D(n, l, e) {
2
+ let i = e.initialDeps ?? [], t;
3
+ return () => {
4
+ var r, c, h, m;
5
+ let f;
6
+ e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
7
+ const o = n();
8
+ if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
9
+ return t;
10
+ i = o;
11
+ let g;
12
+ if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
13
+ const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
14
+ for (d = String(d); d.length < b; )
15
+ d = " " + d;
16
+ return d;
17
+ };
18
+ console.info(
19
+ `%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
20
+ `
21
+ font-size: .6rem;
22
+ font-weight: bold;
23
+ color: hsl(${Math.max(
24
+ 0,
25
+ Math.min(120 - 120 * w, 120)
26
+ )}deg 100% 31%);`,
27
+ e == null ? void 0 : e.key
28
+ );
29
+ }
30
+ return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
31
+ };
32
+ }
33
+ function T(n, l) {
34
+ if (n === void 0)
35
+ throw new Error("Unexpected undefined");
36
+ return n;
37
+ }
38
+ const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
39
+ let i;
40
+ return function(...t) {
41
+ n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
42
+ };
43
+ };
2
44
  export {
3
- e as __module
45
+ y as approxEqual,
46
+ M as debounce,
47
+ D as memo,
48
+ T as notUndefined
4
49
  };
package/dist/index316.js CHANGED
@@ -1,49 +1,4 @@
1
- function D(n, l, e) {
2
- let i = e.initialDeps ?? [], t;
3
- return () => {
4
- var r, c, h, m;
5
- let f;
6
- e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
7
- const o = n();
8
- if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
9
- return t;
10
- i = o;
11
- let g;
12
- if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
13
- const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
14
- for (d = String(d); d.length < b; )
15
- d = " " + d;
16
- return d;
17
- };
18
- console.info(
19
- `%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
20
- `
21
- font-size: .6rem;
22
- font-weight: bold;
23
- color: hsl(${Math.max(
24
- 0,
25
- Math.min(120 - 120 * w, 120)
26
- )}deg 100% 31%);`,
27
- e == null ? void 0 : e.key
28
- );
29
- }
30
- return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
31
- };
32
- }
33
- function T(n, l) {
34
- if (n === void 0)
35
- throw new Error("Unexpected undefined");
36
- return n;
37
- }
38
- const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
39
- let i;
40
- return function(...t) {
41
- n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
42
- };
43
- };
1
+ var e = { exports: {} };
44
2
  export {
45
- y as approxEqual,
46
- M as debounce,
47
- D as memo,
48
- T as notUndefined
3
+ e as __module
49
4
  };
package/dist/index33.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as L, ref as m, toRef as l, openBlock as E, createBlock as $, unref as p, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as b, createVNode as B, mergeProps as v, createSlots as C } from "vue";
2
- import { useOptions as w } from "./index233.js";
2
+ import { useOptions as w } from "./index206.js";
3
3
  import q from "./index31.js";
4
4
  /* empty css */
5
- import z from "./index234.js";
5
+ import z from "./index207.js";
6
6
  /* empty css */
7
7
  const N = /* @__PURE__ */ L({
8
8
  __name: "BaseRadioGroup",
package/dist/index35.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as g, computed as f, openBlock as l, createElementBlock as i, mergeProps as h, createElementVNode as r, renderSlot as p, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as M } from "vue";
2
- import { booleanishToBoolean as D } from "./index209.js";
3
- import { identity as F } from "./index239.js";
4
- import { isCssColor as v } from "./index207.js";
2
+ import { booleanishToBoolean as D } from "./index211.js";
3
+ import { identity as F } from "./index218.js";
4
+ import { isCssColor as v } from "./index209.js";
5
5
  import { isNotNil as T } from "./index134.js";
6
6
  const $ = { class: "bb-base-rating__inner-container" }, q = { class: "bb-base-rating__label-text sr-only" }, x = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], H = ["height", "width"], J = /* @__PURE__ */ C({
7
7
  __name: "BaseRating",
package/dist/index37.js CHANGED
@@ -6,23 +6,23 @@ import { useMobile as _e } from "./index9.js";
6
6
  import Re from "./index127.js";
7
7
  /* empty css */
8
8
  import { isNotNil as Je } from "./index134.js";
9
- import { last as Ye } from "./index217.js";
10
- import { matchAnyKey as j } from "./index243.js";
11
- import { useFloating as je } from "./index237.js";
9
+ import { last as Ye } from "./index219.js";
10
+ import { matchAnyKey as j } from "./index242.js";
11
+ import { useFloating as je } from "./index212.js";
12
12
  import { useIntersectionObserver as Ge } from "./index132.js";
13
- import { useLogger as Xe } from "./index206.js";
14
- import { useOptions as Ze } from "./index233.js";
13
+ import { useLogger as Xe } from "./index231.js";
14
+ import { useOptions as Ze } from "./index206.js";
15
15
  import { wait as S } from "./index131.js";
16
- import { when as et } from "./index208.js";
17
- import tt from "./index244.js";
16
+ import { when as et } from "./index210.js";
17
+ import tt from "./index243.js";
18
18
  /* empty css */
19
- import ot from "./index246.js";
19
+ import ot from "./index245.js";
20
20
  /* empty css */
21
21
  import nt from "./index223.js";
22
22
  /* empty css */
23
23
  import lt from "./index225.js";
24
- import { waitFor as at } from "./index230.js";
25
- import { autoUpdate as it, flip as rt, offset as st, shift as ut } from "./index241.js";
24
+ import { waitFor as at } from "./index222.js";
25
+ import { autoUpdate as it, flip as rt, offset as st, shift as ut } from "./index227.js";
26
26
  const pt = { class: "bb-base-select__input-container" }, dt = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], Nt = /* @__PURE__ */ Me({
27
27
  __name: "BaseSelect",
28
28
  props: {
@@ -66,7 +66,7 @@ const pt = { class: "bb-base-select__input-container" }, dt = ["id", "aria-contr
66
66
  const t = G, b = X;
67
67
  if (t.multiple && !Array.isArray(t.modelValue))
68
68
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
69
- const Z = Ne(() => import("./index242.js")), A = m(null), B = m(null), a = m(null), N = m(null), x = m(null), u = y(
69
+ const Z = Ne(() => import("./index241.js")), A = m(null), B = m(null), a = m(null), N = m(null), x = m(null), u = y(
70
70
  () => t.comma ? N.value : x.value
71
71
  ), { isMobile: ee } = _e(), te = y(
72
72
  () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
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 "./index205.js";
3
- import { head as O } from "./index236.js";
4
- import { isCssColor as Y } from "./index207.js";
3
+ import { head as O } from "./index247.js";
4
+ import { isCssColor as Y } from "./index209.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 "./index216.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 "./index207.js";
3
- import { when as F } from "./index208.js";
2
+ import { isCssColor as b } from "./index209.js";
3
+ import { when as F } from "./index210.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 "./index233.js";
2
+ import { useOptions as F } from "./index206.js";
3
3
  import M from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index234.js";
5
+ import S from "./index207.js";
6
6
  /* empty css */
7
7
  const I = /* @__PURE__ */ $({
8
8
  __name: "BaseSwitchGroup",
package/dist/index45.js CHANGED
@@ -4,11 +4,11 @@ import { defineComponent as Y, ref as r, 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 "./index217.js";
8
- import { useOptions as pe } from "./index233.js";
9
- import ce from "./index244.js";
7
+ import { last as de } from "./index219.js";
8
+ import { useOptions as pe } from "./index206.js";
9
+ import ce from "./index243.js";
10
10
  /* empty css */
11
- import fe from "./index246.js";
11
+ import fe from "./index245.js";
12
12
  /* empty css */
13
13
  import me from "./index223.js";
14
14
  /* empty css */
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 "./index207.js";
2
+ import { isCssColor as _ } from "./index209.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 "./index207.js";
2
+ import { isCssColor as r } from "./index209.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 "./index253.js";
2
+ import { findRightIndex as H } from "./index251.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 "./index254.js";
8
+ import N from "./index252.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("./index252.js")
27
+ () => import("./index250.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 "./index251.js";
2
+ import { findInTree as ae } from "./index254.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("./index250.js")).default);
59
+ b || (b = (await import("./index253.js")).default);
60
60
  const o = b.getType(r);
61
61
  if (!o)
62
62
  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 "./index228.js";
2
+ import { throttle as c } from "./index229.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as te, ref as s, useAttrs as oe, getCurrentInstance as se, computed as v, nextTick as le, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as l, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index229.js";
2
+ import { useFocusTrap as ce } from "./index220.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as p } from "./index231.js";
5
+ import { useModalsState as p } from "./index230.js";
6
6
  const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
7
7
  __name: "BbOffCanvas",
8
8
  props: {
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
2
- import { useFocusTrap as R } from "./index229.js";
2
+ import { useFocusTrap as R } from "./index220.js";
3
3
  import { useId as j } from "./index8.js";
4
4
  import { useIntersectionObserver as G } from "./index132.js";
5
- import { waitFor as J } from "./index230.js";
5
+ import { waitFor as J } from "./index222.js";
6
6
  import K from "./index13.js";
7
7
  /* empty css */
8
8
  const te = /* @__PURE__ */ S({
@@ -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("./index252.js")
27
+ () => import("./index250.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.47",
3
+ "version": "2.0.48",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index208.js DELETED
@@ -1,6 +0,0 @@
1
- import { curry as e } from "./index260.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
3
- export {
4
- t as baseWhen,
5
- s as when
6
- };
package/dist/index244.js DELETED
@@ -1,108 +0,0 @@
1
- import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
- import { hash as d } from "./index216.js";
3
- import { isNil as l } from "./index129.js";
4
- import E from "./index124.js";
5
- /* empty css */
6
- const K = /* @__PURE__ */ y({
7
- __name: "ChipsBox",
8
- props: {
9
- options: {}
10
- },
11
- emits: ["option:unselected"],
12
- setup(f, { expose: v, emit: h }) {
13
- const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
14
- const s = l(n.value) ? -1 : n.value;
15
- let o = (s + e) % t.options.length;
16
- for (; t.options[o].disabled && o !== s; )
17
- o = a(e + 1);
18
- return o;
19
- }, x = () => {
20
- if (!i.value) return;
21
- const e = a();
22
- n.value = e;
23
- }, c = (e = 1) => {
24
- const s = l(n.value) ? 0 : n.value;
25
- let o = (s - e + t.options.length) % t.options.length;
26
- for (; t.options[o].disabled && o !== s; )
27
- o = c(e + 1);
28
- return o;
29
- }, m = async () => {
30
- if (!i.value) return;
31
- const e = c();
32
- n.value = e;
33
- }, w = () => {
34
- if (!i.value) return;
35
- let e = 0;
36
- for (; t.options[e].disabled; )
37
- e++;
38
- n.value = e;
39
- }, b = () => {
40
- if (!i.value) return;
41
- let e = t.options.length - 1;
42
- for (; t.options[e].disabled && e !== 0; )
43
- e--;
44
- n.value = e;
45
- }, I = () => {
46
- if (!i.value) return;
47
- let e = 0;
48
- for (; !t.options[e].selected && t.options.length !== e; )
49
- e++;
50
- n.value = e;
51
- }, g = () => {
52
- if (!i.value) return;
53
- let e = t.options.length - 1;
54
- for (; t.options[e].selected && e !== 0; )
55
- e--;
56
- n.value = e;
57
- }, _ = (e) => {
58
- if (!i.value) return;
59
- const s = t.options.findIndex(
60
- (o) => o.valueHash === e
61
- );
62
- s >= 0 && (n.value = s);
63
- }, r = () => {
64
- n.value = null;
65
- }, k = () => {
66
- if (l(n.value)) return;
67
- const e = t.options[n.value];
68
- e.selected && u("option:unselected", e);
69
- }, C = () => l(n.value) ? void 0 : t.options[n.value];
70
- return N(
71
- () => t.options,
72
- (e, s) => {
73
- d(e) !== d(s) && r();
74
- },
75
- {
76
- flush: "post"
77
- }
78
- ), v({
79
- focusNext: x,
80
- focusPrevious: m,
81
- focusFirst: w,
82
- focusFirstSelected: I,
83
- focusLast: b,
84
- focusLastSelected: g,
85
- blur: r,
86
- confirmOption: k,
87
- focusByHash: _,
88
- getHighlighted: C
89
- }), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
90
- key: o.valueHash,
91
- class: O({
92
- "bb-chipsbox-item": !0,
93
- "bb-chipsbox-item--focused": B === n.value
94
- }),
95
- clearable: !0,
96
- text: o.text,
97
- "onClick:clear": P((M) => u("option:unselected", o), ["stop"])
98
- }, {
99
- default: $(() => [
100
- z(D(o.text), 1)
101
- ]),
102
- _: 2
103
- }, 1032, ["class", "text", "onClick:clear"]))), 128));
104
- }
105
- });
106
- export {
107
- K as default
108
- };
package/dist/index273.js DELETED
@@ -1,30 +0,0 @@
1
- function y(t, r) {
2
- return t > r ? 1 : -1;
3
- }
4
- function c(t, r) {
5
- var n = 5381;
6
- if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
- r || (r = /* @__PURE__ */ new WeakSet());
8
- for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
- var s = p[i], e = t[s];
10
- if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
- if (r.has(e)) continue;
12
- r.add(e);
13
- }
14
- n = 33 * n ^ c(e, r);
15
- }
16
- return 33 * n ^ c(t.constructor, r);
17
- }
18
- var o = typeof t;
19
- try {
20
- t instanceof Date ? o += t.getTime() : o += String(t);
21
- } catch {
22
- o += String(Object.assign({}, t));
23
- }
24
- for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
- return n;
26
- }
27
- export {
28
- c as hash,
29
- y as sortNumbers
30
- };