bitboss-ui 2.1.17 → 2.1.19

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 (168) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index106.js +9 -9
  3. package/dist/index113.js +1 -1
  4. package/dist/index121.js +11 -11
  5. package/dist/index129.js +1 -1
  6. package/dist/index13.js +1 -1
  7. package/dist/index131.js +3 -3
  8. package/dist/index133.js +1 -1
  9. package/dist/index136.js +1 -1
  10. package/dist/index137.js +2 -2
  11. package/dist/index138.js +1 -1
  12. package/dist/index139.js +2 -2
  13. package/dist/index15.js +8 -8
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index206.js +138 -2
  17. package/dist/index207.js +2 -138
  18. package/dist/index208.js +2 -2
  19. package/dist/index209.js +32 -84
  20. package/dist/index21.js +16 -16
  21. package/dist/index210.js +88 -0
  22. package/dist/index212.js +25 -13
  23. package/dist/index213.js +13 -48
  24. package/dist/index214.js +14 -12
  25. package/dist/index215.js +51 -3
  26. package/dist/index216.js +14 -11
  27. package/dist/index217.js +3 -16
  28. package/dist/index218.js +12 -4
  29. package/dist/index219.js +5 -13
  30. package/dist/index220.js +5 -11
  31. package/dist/index221.js +5 -20
  32. package/dist/index222.js +5 -197
  33. package/dist/index223.js +7 -0
  34. package/dist/index224.js +5 -72
  35. package/dist/index225.js +7 -0
  36. package/dist/index226.js +2 -13
  37. package/dist/index227.js +6 -112
  38. package/dist/{index245.js → index228.js} +6 -6
  39. package/dist/index229.js +52 -2
  40. package/dist/index23.js +15 -15
  41. package/dist/index230.js +44 -4
  42. package/dist/index231.js +5 -2
  43. package/dist/index232.js +59 -12
  44. package/dist/index233.js +13 -5
  45. package/dist/index234.js +2 -5
  46. package/dist/index235.js +2 -5
  47. package/dist/index236.js +2 -5
  48. package/dist/index237.js +7 -5
  49. package/dist/index238.js +7 -5
  50. package/dist/index239.js +2 -2
  51. package/dist/index240.js +18 -2
  52. package/dist/index241.js +12 -2
  53. package/dist/index242.js +6 -5
  54. package/dist/index243.js +4 -5
  55. package/dist/index244.js +104 -6
  56. package/dist/index246.js +95 -47
  57. package/dist/index248.js +71 -4
  58. package/dist/index25.js +3 -3
  59. package/dist/index250.js +13 -2
  60. package/dist/index251.js +114 -2
  61. package/dist/index253.js +229 -7
  62. package/dist/index254.js +1 -1
  63. package/dist/index255.js +12 -182
  64. package/dist/index256.js +11 -34
  65. package/dist/index257.js +2 -18
  66. package/dist/index258.js +2 -12
  67. package/dist/index259.js +4 -6
  68. package/dist/index260.js +19 -105
  69. package/dist/index261.js +199 -0
  70. package/dist/index263.js +7 -0
  71. package/dist/index264.js +180 -226
  72. package/dist/index272.js +9 -9
  73. package/dist/index273.js +8 -9
  74. package/dist/index274.js +9 -8
  75. package/dist/index276.js +5 -67
  76. package/dist/index277.js +5 -5
  77. package/dist/index278.js +7 -4
  78. package/dist/index279.js +67 -8
  79. package/dist/index280.js +2 -3
  80. package/dist/index281.js +3 -17
  81. package/dist/index282.js +14 -25
  82. package/dist/index283.js +28 -3
  83. package/dist/index284.js +4 -3
  84. package/dist/index285.js +282 -0
  85. package/dist/index286.js +2 -7
  86. package/dist/index287.js +16 -3
  87. package/dist/index288.js +2 -7
  88. package/dist/index289.js +15 -10
  89. package/dist/index29.js +4 -4
  90. package/dist/index290.js +2 -4
  91. package/dist/index291.js +18 -3
  92. package/dist/index292.js +2 -280
  93. package/dist/index293.js +15 -2
  94. package/dist/index294.js +2 -125
  95. package/dist/index295.js +19 -2
  96. package/dist/index296.js +2 -15
  97. package/dist/index297.js +27 -2
  98. package/dist/index298.js +2 -16
  99. package/dist/index299.js +2 -2
  100. package/dist/index300.js +2 -16
  101. package/dist/index301.js +2 -2
  102. package/dist/index302.js +2 -19
  103. package/dist/index303.js +22 -2
  104. package/dist/index305.js +7 -2
  105. package/dist/index306.js +7 -27
  106. package/dist/index307.js +11 -2
  107. package/dist/index308.js +6 -2
  108. package/dist/index309.js +3 -2
  109. package/dist/index31.js +2 -2
  110. package/dist/index310.js +3 -2
  111. package/dist/index311.js +3 -2
  112. package/dist/index313.js +5 -0
  113. package/dist/index314.js +2 -6
  114. package/dist/index315.js +4 -5
  115. package/dist/index316.js +5 -2
  116. package/dist/index317.js +1 -1
  117. package/dist/index318.js +125 -3
  118. package/dist/index319.js +2 -2
  119. package/dist/index320.js +2 -2
  120. package/dist/index324.js +1 -1
  121. package/dist/index325.js +6 -128
  122. package/dist/index326.js +16 -366
  123. package/dist/index327.js +6 -227
  124. package/dist/index328.js +32 -6
  125. package/dist/index329.js +27 -18
  126. package/dist/index33.js +8 -8
  127. package/dist/index331.js +57 -27
  128. package/dist/index332.js +60 -0
  129. package/dist/index333.js +128 -6
  130. package/dist/index334.js +368 -7
  131. package/dist/index335.js +46 -5
  132. package/dist/index336.js +228 -8
  133. package/dist/index337.js +7 -46
  134. package/dist/index338.js +5 -92
  135. package/dist/index339.js +7 -57
  136. package/dist/index340.js +92 -57
  137. package/dist/index342.js +5 -0
  138. package/dist/index343.js +129 -3
  139. package/dist/index35.js +4 -4
  140. package/dist/index37.js +20 -20
  141. package/dist/index39.js +100 -104
  142. package/dist/index41.js +2 -2
  143. package/dist/index43.js +8 -8
  144. package/dist/index45.js +8 -8
  145. package/dist/index47.js +2 -2
  146. package/dist/index49.js +3 -3
  147. package/dist/index53.js +1 -1
  148. package/dist/index55.js +1 -1
  149. package/dist/index57.js +2 -2
  150. package/dist/index61.js +1 -1
  151. package/dist/index67.js +1 -1
  152. package/dist/index79.js +2 -2
  153. package/dist/index81.js +1 -1
  154. package/dist/index85.js +1 -1
  155. package/dist/index90.js +3 -3
  156. package/dist/index92.js +2 -2
  157. package/dist/index94.js +3 -3
  158. package/dist/index96.js +1 -1
  159. package/package.json +2 -2
  160. package/dist/index211.js +0 -31
  161. package/dist/index247.js +0 -46
  162. package/dist/index249.js +0 -62
  163. package/dist/index252.js +0 -9
  164. package/dist/index262.js +0 -102
  165. package/dist/index304.js +0 -21
  166. package/dist/index312.js +0 -24
  167. package/dist/index330.js +0 -35
  168. package/dist/index341.js +0 -131
package/dist/index337.js CHANGED
@@ -1,49 +1,10 @@
1
- import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index346.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index346.js";
3
- import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
- function w(e) {
5
- const t = new p(l(e)), a = E(t), u = t._didMount();
6
- return o(
7
- () => l(e).getScrollElement(),
8
- (r) => {
9
- r && t._willUpdate();
10
- },
11
- {
12
- immediate: !0
13
- }
14
- ), o(
15
- () => l(e),
16
- (r) => {
17
- t.setOptions({
18
- ...r,
19
- onChange: (c, m) => {
20
- var n;
21
- i(a), (n = r.onChange) == null || n.call(r, c, m);
22
- }
23
- }), t._willUpdate(), i(a);
24
- },
25
- {
26
- immediate: !0
27
- }
28
- ), v(u), a;
29
- }
30
- function z(e) {
31
- return w(
32
- g(() => ({
33
- observeElementRect: d,
34
- observeElementOffset: s,
35
- scrollToFn: f,
36
- ...l(e)
37
- }))
38
- );
1
+ function i(t) {
2
+ if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
3
+ throw new Error("Invalid hex code");
4
+ t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
5
+ const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
6
+ return [r, s, o];
39
7
  }
40
8
  export {
41
- p as Virtualizer,
42
- S as defaultKeyExtractor,
43
- V as defaultRangeExtractor,
44
- f as elementScroll,
45
- b as measureElement,
46
- s as observeElementOffset,
47
- d as observeElementRect,
48
- z as useVirtualizer
9
+ i as hexToRgb
49
10
  };
package/dist/index338.js CHANGED
@@ -1,95 +1,8 @@
1
- import { commonjsGlobal as y } from "./index314.js";
2
- var p, _;
3
- function Z() {
4
- if (_) return p;
5
- _ = 1;
6
- var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
- return B.Date.now();
8
- };
9
- function H(e, r, n) {
10
- var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
- if (typeof e != "function")
12
- throw new TypeError(x);
13
- r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
- function v(t) {
15
- var o = f, l = a;
16
- return f = a = void 0, s = t, c = e.apply(l, o), c;
17
- }
18
- function J(t) {
19
- return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
- }
21
- function K(t) {
22
- var o = t - u, l = t - s, L = r - o;
23
- return d ? D(L, g - l) : L;
24
- }
25
- function E(t) {
26
- var o = t - u, l = t - s;
27
- return u === void 0 || o >= r || o < 0 || d && l >= g;
28
- }
29
- function b() {
30
- var t = h();
31
- if (E(t))
32
- return k(t);
33
- i = setTimeout(b, K(t));
34
- }
35
- function k(t) {
36
- return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
- }
38
- function Q() {
39
- i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
- }
41
- function V() {
42
- return i === void 0 ? c : k(h());
43
- }
44
- function T() {
45
- var t = h(), o = E(t);
46
- if (f = arguments, a = this, u = t, o) {
47
- if (i === void 0)
48
- return J(u);
49
- if (d)
50
- return i = setTimeout(b, r), v(u);
51
- }
52
- return i === void 0 && (i = setTimeout(b, r)), c;
53
- }
54
- return T.cancel = Q, T.flush = V, T;
55
- }
56
- function U(e, r, n) {
57
- var f = !0, a = !0;
58
- if (typeof e != "function")
59
- throw new TypeError(x);
60
- return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
- leading: f,
62
- maxWait: r,
63
- trailing: a
64
- });
65
- }
66
- function m(e) {
67
- var r = typeof e;
68
- return !!e && (r == "object" || r == "function");
69
- }
70
- function X(e) {
71
- return !!e && typeof e == "object";
72
- }
73
- function z(e) {
74
- return typeof e == "symbol" || X(e) && G.call(e) == W;
75
- }
76
- function O(e) {
77
- if (typeof e == "number")
78
- return e;
79
- if (z(e))
80
- return I;
81
- if (m(e)) {
82
- var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
- e = m(r) ? r + "" : r;
84
- }
85
- if (typeof e != "string")
86
- return e === 0 ? e : +e;
87
- e = e.replace(C, "");
88
- var n = N.test(e);
89
- return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
- }
91
- return p = U, p;
1
+ function l(c, f, r) {
2
+ const t = c / 255, n = f / 255, o = r / 255, i = Math.max(t, n, o), a = Math.min(t, n, o), s = i - a;
3
+ let e = 0;
4
+ return s !== 0 && (i === t ? e = (n - o) / s % 6 : i === n ? e = (o - t) / s + 2 : i === o && (e = (t - n) / s + 4), e *= 60, e < 0 && (e += 360)), e;
92
5
  }
93
6
  export {
94
- Z as __require
7
+ l as getHueFromRGB
95
8
  };
package/dist/index339.js CHANGED
@@ -1,60 +1,10 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Chiudi",
4
- loadingText: "Caricamento...",
5
- noDataText: "Nessun elemento da visualizzare",
6
- clearLabel: "Reset valore selezionato"
7
- },
8
- colorInput: {
9
- paletteLabel: "Seleziona un colore dalla tavolozza",
10
- mainCanvasDesc: "Usa le frecce per selezionare un colore",
11
- mainCanvasSelectedColor: "Colore selezionato: {0}",
12
- hueCanvasDesc: "Usa le frecce per selezionare una tonalità",
13
- hueCanvasSelectedHue: "Tonalità selezionata: {0}"
14
- },
15
- datePicker: {
16
- monthLabel: "Seleziona un mese",
17
- yearLabel: "Seleziona un anno",
18
- previousMonthLabel: "Vai indietro di un mese",
19
- nextMonthLabel: "Vai avanti di un mese"
20
- },
21
- baseDatePickerInput: {
22
- dateFormat: "Formato della data",
23
- dateFormatSingle: "GG/MM/AAAA",
24
- dateFormatRange: "GG/MM/AAAA - GG/MM/AAAA",
25
- emptyRange: "Seleziona un range",
26
- changeSelectionRange: "Cambia selezione, da {0} a {1}",
27
- changeSelection: "Cambia selezione, {0}",
28
- emptySelection: "Seleziona una data"
29
- },
30
- dialog: {
31
- closeLabel: "Chiudi modale"
32
- },
33
- dropdownButton: {
34
- open: "Apri menu",
35
- close: "Chiudi menu"
36
- },
37
- rating: {
38
- singleStar: "{0} su {1}",
39
- multipleStars: "{0} su {1}"
40
- },
41
- select: {
42
- multipleMaxReached: "{0} elementi selezionati"
43
- },
44
- chip: {
45
- clearLabel: "Elimina"
46
- },
47
- pagination: {
48
- previous: "Precedente",
49
- next: "Successivo"
50
- },
51
- table: {
52
- noDataText: "Non ci sono elementi da visualizzare",
53
- selectAllLabel: "Seleziona tutti gli elementi di questa pagina",
54
- selectText: "Seleziona un elemento",
55
- select: "Seleziona"
56
- }
1
+ const i = (r, s, a) => {
2
+ const t = a / 100, c = s * Math.min(t, 1 - t) / 100, n = (h) => {
3
+ const o = (h + r / 30) % 12, e = t - c * Math.max(Math.min(o - 3, 9 - o, 1), -1);
4
+ return Math.round(255 * e).toString(16).padStart(2, "0");
5
+ };
6
+ return `#${n(0)}${n(8)}${n(4)}`;
57
7
  };
58
8
  export {
59
- e as default
9
+ i as hslToHex
60
10
  };
package/dist/index340.js CHANGED
@@ -1,60 +1,95 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Close",
4
- loadingText: "Loading...",
5
- noDataText: "No data to display",
6
- clearLabel: "Reset selected value"
7
- },
8
- colorInput: {
9
- paletteLabel: "Select a color from the palette",
10
- mainCanvasDesc: "Use the arrows to select a color",
11
- mainCanvasSelectedColor: "Selected color: {0}",
12
- hueCanvasDesc: "Use the arrows to select a hue",
13
- hueCanvasSelectedHue: "Selected hue: {0}"
14
- },
15
- datePicker: {
16
- monthLabel: "Select a month",
17
- yearLabel: "Select a year",
18
- previousMonthLabel: "Go to previous month",
19
- nextMonthLabel: "Go to next month"
20
- },
21
- baseDatePickerInput: {
22
- dateFormat: "Date format",
23
- dateFormatSingle: "DD/MM/YYYY",
24
- dateFormatRange: "DD/MM/YYYY - DD/MM/YYYY",
25
- emptyRange: "Select a range",
26
- changeSelectionRange: "Change selection, from {0} to {1}",
27
- changeSelection: "Change selection, {0}",
28
- emptySelection: "Select a date"
29
- },
30
- dialog: {
31
- closeLabel: "Close dialog"
32
- },
33
- dropdownButton: {
34
- open: "Open menu",
35
- close: "Close menu"
36
- },
37
- rating: {
38
- singleStar: "{0} out of {1}",
39
- multipleStars: "{0} out of {1}"
40
- },
41
- select: {
42
- multipleMaxReached: "{0} items selected"
43
- },
44
- chip: {
45
- clearLabel: "Remove"
46
- },
47
- pagination: {
48
- previous: "Previous",
49
- next: "Next"
50
- },
51
- table: {
52
- noDataText: "No data to display",
53
- selectAllLabel: "Select all items on this page",
54
- selectText: "Select an item",
55
- select: "Select"
1
+ import { commonjsGlobal as y } from "./index308.js";
2
+ var p, _;
3
+ function Z() {
4
+ if (_) return p;
5
+ _ = 1;
6
+ var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
+ return B.Date.now();
8
+ };
9
+ function H(e, r, n) {
10
+ var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
+ if (typeof e != "function")
12
+ throw new TypeError(x);
13
+ r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
+ function v(t) {
15
+ var o = f, l = a;
16
+ return f = a = void 0, s = t, c = e.apply(l, o), c;
17
+ }
18
+ function J(t) {
19
+ return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
+ }
21
+ function K(t) {
22
+ var o = t - u, l = t - s, L = r - o;
23
+ return d ? D(L, g - l) : L;
24
+ }
25
+ function E(t) {
26
+ var o = t - u, l = t - s;
27
+ return u === void 0 || o >= r || o < 0 || d && l >= g;
28
+ }
29
+ function b() {
30
+ var t = h();
31
+ if (E(t))
32
+ return k(t);
33
+ i = setTimeout(b, K(t));
34
+ }
35
+ function k(t) {
36
+ return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
+ }
38
+ function Q() {
39
+ i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
+ }
41
+ function V() {
42
+ return i === void 0 ? c : k(h());
43
+ }
44
+ function T() {
45
+ var t = h(), o = E(t);
46
+ if (f = arguments, a = this, u = t, o) {
47
+ if (i === void 0)
48
+ return J(u);
49
+ if (d)
50
+ return i = setTimeout(b, r), v(u);
51
+ }
52
+ return i === void 0 && (i = setTimeout(b, r)), c;
53
+ }
54
+ return T.cancel = Q, T.flush = V, T;
56
55
  }
57
- };
56
+ function U(e, r, n) {
57
+ var f = !0, a = !0;
58
+ if (typeof e != "function")
59
+ throw new TypeError(x);
60
+ return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
+ leading: f,
62
+ maxWait: r,
63
+ trailing: a
64
+ });
65
+ }
66
+ function m(e) {
67
+ var r = typeof e;
68
+ return !!e && (r == "object" || r == "function");
69
+ }
70
+ function X(e) {
71
+ return !!e && typeof e == "object";
72
+ }
73
+ function z(e) {
74
+ return typeof e == "symbol" || X(e) && G.call(e) == W;
75
+ }
76
+ function O(e) {
77
+ if (typeof e == "number")
78
+ return e;
79
+ if (z(e))
80
+ return I;
81
+ if (m(e)) {
82
+ var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
+ e = m(r) ? r + "" : r;
84
+ }
85
+ if (typeof e != "string")
86
+ return e === 0 ? e : +e;
87
+ e = e.replace(C, "");
88
+ var n = N.test(e);
89
+ return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
+ }
91
+ return p = U, p;
92
+ }
58
93
  export {
59
- e as default
94
+ Z as __require
60
95
  };
@@ -0,0 +1,5 @@
1
+ import o from "./index329.js";
2
+ /* empty css */
3
+ export {
4
+ o as default
5
+ };
package/dist/index343.js CHANGED
@@ -1,5 +1,131 @@
1
- import o from "./index331.js";
2
- /* empty css */
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function s(n) {
5
+ return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(n) {
8
+ var t;
9
+ return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
+ }
11
+ function E(n) {
12
+ var t;
13
+ return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
+ }
15
+ function p(n) {
16
+ return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
+ }
18
+ function m(n) {
19
+ return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
+ }
21
+ function w(n) {
22
+ return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
+ }
24
+ function a(n) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
+ }
27
+ function y(n) {
28
+ const {
29
+ overflow: t,
30
+ overflowX: e,
31
+ overflowY: o,
32
+ display: r
33
+ } = b(n);
34
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
+ }
36
+ function D(n) {
37
+ return ["table", "td", "th"].includes(s(n));
38
+ }
39
+ function N(n) {
40
+ return [":popover-open", ":modal"].some((t) => {
41
+ try {
42
+ return n.matches(t);
43
+ } catch {
44
+ return !1;
45
+ }
46
+ });
47
+ }
48
+ function T(n) {
49
+ const t = L(), e = m(n) ? b(n) : n;
50
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
+ }
52
+ function k(n) {
53
+ let t = u(n);
54
+ for (; w(t) && !g(t); ) {
55
+ if (T(t))
56
+ return t;
57
+ if (N(t))
58
+ return null;
59
+ t = u(t);
60
+ }
61
+ return null;
62
+ }
63
+ function L() {
64
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
+ }
66
+ function g(n) {
67
+ return ["html", "body", "#document"].includes(s(n));
68
+ }
69
+ function b(n) {
70
+ return i(n).getComputedStyle(n);
71
+ }
72
+ function C(n) {
73
+ return m(n) ? {
74
+ scrollLeft: n.scrollLeft,
75
+ scrollTop: n.scrollTop
76
+ } : {
77
+ scrollLeft: n.scrollX,
78
+ scrollTop: n.scrollY
79
+ };
80
+ }
81
+ function u(n) {
82
+ if (s(n) === "html")
83
+ return n;
84
+ const t = (
85
+ // Step into the shadow DOM of the parent of a slotted node.
86
+ n.assignedSlot || // DOM Element detected.
87
+ n.parentNode || // ShadowRoot detected.
88
+ a(n) && n.host || // Fallback.
89
+ E(n)
90
+ );
91
+ return a(t) ? t.host : t;
92
+ }
93
+ function h(n) {
94
+ const t = u(n);
95
+ return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
+ }
97
+ function d(n, t, e) {
98
+ var o;
99
+ t === void 0 && (t = []), e === void 0 && (e = !0);
100
+ const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
+ if (S) {
102
+ const f = v(l);
103
+ return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
+ }
105
+ return t.concat(r, d(r, [], e));
106
+ }
107
+ function v(n) {
108
+ return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
109
+ }
3
110
  export {
4
- o as default
111
+ b as getComputedStyle,
112
+ k as getContainingBlock,
113
+ E as getDocumentElement,
114
+ v as getFrameElement,
115
+ h as getNearestOverflowAncestor,
116
+ s as getNodeName,
117
+ C as getNodeScroll,
118
+ d as getOverflowAncestors,
119
+ u as getParentNode,
120
+ i as getWindow,
121
+ T as isContainingBlock,
122
+ m as isElement,
123
+ w as isHTMLElement,
124
+ g as isLastTraversableNode,
125
+ p as isNode,
126
+ y as isOverflowElement,
127
+ a as isShadowRoot,
128
+ D as isTableElement,
129
+ N as isTopLayer,
130
+ L as isWebKit
5
131
  };
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, createElementBlock as l, openBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index231.js";
3
- import { identity as $ } from "./index239.js";
4
- import { isCssColor as k } from "./index229.js";
2
+ import { booleanishToBoolean as T } from "./index257.js";
3
+ import { identity as $ } from "./index258.js";
4
+ import { isCssColor as k } from "./index234.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index219.js";
6
+ import { useLocale as x } from "./index233.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {
package/dist/index37.js CHANGED
@@ -5,32 +5,32 @@ import { useId as tt } from "./index8.js";
5
5
  import { useMobile as lt } from "./index9.js";
6
6
  import at from "./index111.js";
7
7
  /* empty css */
8
- import { hash as ot } from "./index215.js";
9
- import { isEmpty as nt } from "./index240.js";
10
- import { last as ut } from "./index241.js";
11
- import { matchAnyKey as ie } from "./index257.js";
12
- import { useArray as st } from "./index258.js";
13
- import { useBaseOptions as it } from "./index213.js";
14
- import { useCoherence as rt } from "./index214.js";
15
- import { useHashedWatcher as re } from "./index216.js";
16
- import { useIndexById as de } from "./index212.js";
8
+ import { hash as ot } from "./index217.js";
9
+ import { isEmpty as nt } from "./index239.js";
10
+ import { last as ut } from "./index226.js";
11
+ import { matchAnyKey as ie } from "./index240.js";
12
+ import { useArray as st } from "./index241.js";
13
+ import { useBaseOptions as it } from "./index215.js";
14
+ import { useCoherence as rt } from "./index216.js";
15
+ import { useHashedWatcher as re } from "./index218.js";
16
+ import { useIndexById as de } from "./index214.js";
17
17
  import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index211.js";
19
- import { useLocale as mt } from "./index219.js";
20
- import { usePrefill as ft } from "./index217.js";
18
+ import { useItemsGetter as pt } from "./index212.js";
19
+ import { useLocale as mt } from "./index233.js";
20
+ import { usePrefill as ft } from "./index213.js";
21
21
  import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index259.js";
23
- import { when as ht } from "./index230.js";
24
- import yt from "./index260.js";
22
+ import { waitFor as vt } from "./index242.js";
23
+ import { when as ht } from "./index243.js";
24
+ import yt from "./index244.js";
25
25
  /* empty css */
26
- import bt from "./index262.js";
26
+ import bt from "./index246.js";
27
27
  /* empty css */
28
- import gt from "./index224.js";
28
+ import gt from "./index248.js";
29
29
  /* empty css */
30
- import wt from "./index226.js";
31
- import Bt from "./index227.js";
30
+ import wt from "./index250.js";
31
+ import Bt from "./index251.js";
32
32
  /* empty css */
33
- import Vt from "./index264.js";
33
+ import Vt from "./index253.js";
34
34
  const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-select__input-container" }, Ct = {
35
35
  key: 1,
36
36
  class: "bb-base-select__max-reached"