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.
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +3 -3
- package/dist/index133.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index138.js +1 -1
- package/dist/index139.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +138 -2
- package/dist/index207.js +2 -138
- package/dist/index208.js +2 -2
- package/dist/index209.js +32 -84
- package/dist/index21.js +16 -16
- package/dist/index210.js +88 -0
- package/dist/index212.js +25 -13
- package/dist/index213.js +13 -48
- package/dist/index214.js +14 -12
- package/dist/index215.js +51 -3
- package/dist/index216.js +14 -11
- package/dist/index217.js +3 -16
- package/dist/index218.js +12 -4
- package/dist/index219.js +5 -13
- package/dist/index220.js +5 -11
- package/dist/index221.js +5 -20
- package/dist/index222.js +5 -197
- package/dist/index223.js +7 -0
- package/dist/index224.js +5 -72
- package/dist/index225.js +7 -0
- package/dist/index226.js +2 -13
- package/dist/index227.js +6 -112
- package/dist/{index245.js → index228.js} +6 -6
- package/dist/index229.js +52 -2
- package/dist/index23.js +15 -15
- package/dist/index230.js +44 -4
- package/dist/index231.js +5 -2
- package/dist/index232.js +59 -12
- package/dist/index233.js +13 -5
- package/dist/index234.js +2 -5
- package/dist/index235.js +2 -5
- package/dist/index236.js +2 -5
- package/dist/index237.js +7 -5
- package/dist/index238.js +7 -5
- package/dist/index239.js +2 -2
- package/dist/index240.js +18 -2
- package/dist/index241.js +12 -2
- package/dist/index242.js +6 -5
- package/dist/index243.js +4 -5
- package/dist/index244.js +104 -6
- package/dist/index246.js +95 -47
- package/dist/index248.js +71 -4
- package/dist/index25.js +3 -3
- package/dist/index250.js +13 -2
- package/dist/index251.js +114 -2
- package/dist/index253.js +229 -7
- package/dist/index254.js +1 -1
- package/dist/index255.js +12 -182
- package/dist/index256.js +11 -34
- package/dist/index257.js +2 -18
- package/dist/index258.js +2 -12
- package/dist/index259.js +4 -6
- package/dist/index260.js +19 -105
- package/dist/index261.js +199 -0
- package/dist/index263.js +7 -0
- package/dist/index264.js +180 -226
- package/dist/index272.js +9 -9
- package/dist/index273.js +8 -9
- package/dist/index274.js +9 -8
- package/dist/index276.js +5 -67
- package/dist/index277.js +5 -5
- package/dist/index278.js +7 -4
- package/dist/index279.js +67 -8
- package/dist/index280.js +2 -3
- package/dist/index281.js +3 -17
- package/dist/index282.js +14 -25
- package/dist/index283.js +28 -3
- package/dist/index284.js +4 -3
- package/dist/index285.js +282 -0
- package/dist/index286.js +2 -7
- package/dist/index287.js +16 -3
- package/dist/index288.js +2 -7
- package/dist/index289.js +15 -10
- package/dist/index29.js +4 -4
- package/dist/index290.js +2 -4
- package/dist/index291.js +18 -3
- package/dist/index292.js +2 -280
- package/dist/index293.js +15 -2
- package/dist/index294.js +2 -125
- package/dist/index295.js +19 -2
- package/dist/index296.js +2 -15
- package/dist/index297.js +27 -2
- package/dist/index298.js +2 -16
- package/dist/index299.js +2 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +2 -2
- package/dist/index302.js +2 -19
- package/dist/index303.js +22 -2
- package/dist/index305.js +7 -2
- package/dist/index306.js +7 -27
- package/dist/index307.js +11 -2
- package/dist/index308.js +6 -2
- package/dist/index309.js +3 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -2
- package/dist/index311.js +3 -2
- package/dist/index313.js +5 -0
- package/dist/index314.js +2 -6
- package/dist/index315.js +4 -5
- package/dist/index316.js +5 -2
- package/dist/index317.js +1 -1
- package/dist/index318.js +125 -3
- package/dist/index319.js +2 -2
- package/dist/index320.js +2 -2
- package/dist/index324.js +1 -1
- package/dist/index325.js +6 -128
- package/dist/index326.js +16 -366
- package/dist/index327.js +6 -227
- package/dist/index328.js +32 -6
- package/dist/index329.js +27 -18
- package/dist/index33.js +8 -8
- package/dist/index331.js +57 -27
- package/dist/index332.js +60 -0
- package/dist/index333.js +128 -6
- package/dist/index334.js +368 -7
- package/dist/index335.js +46 -5
- package/dist/index336.js +228 -8
- package/dist/index337.js +7 -46
- package/dist/index338.js +5 -92
- package/dist/index339.js +7 -57
- package/dist/index340.js +92 -57
- package/dist/index342.js +5 -0
- package/dist/index343.js +129 -3
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +100 -104
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +1 -1
- package/dist/index67.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index85.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +2 -2
- package/dist/index94.js +3 -3
- package/dist/index96.js +1 -1
- package/package.json +2 -2
- package/dist/index211.js +0 -31
- package/dist/index247.js +0 -46
- package/dist/index249.js +0 -62
- package/dist/index252.js +0 -9
- package/dist/index262.js +0 -102
- package/dist/index304.js +0 -21
- package/dist/index312.js +0 -24
- package/dist/index330.js +0 -35
- package/dist/index341.js +0 -131
package/dist/index337.js
CHANGED
@@ -1,49 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const
|
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
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
-
|
7
|
+
l as getHueFromRGB
|
95
8
|
};
|
package/dist/index339.js
CHANGED
@@ -1,60 +1,10 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
9
|
+
i as hslToHex
|
60
10
|
};
|
package/dist/index340.js
CHANGED
@@ -1,60 +1,95 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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
|
-
|
94
|
+
Z as __require
|
60
95
|
};
|
package/dist/index342.js
ADDED
package/dist/index343.js
CHANGED
@@ -1,5 +1,131 @@
|
|
1
|
-
|
2
|
-
|
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
|
-
|
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 "./
|
3
|
-
import { identity as $ } from "./
|
4
|
-
import { isCssColor as k } from "./
|
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 "./
|
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 "./
|
9
|
-
import { isEmpty as nt } from "./
|
10
|
-
import { last as ut } from "./
|
11
|
-
import { matchAnyKey as ie } from "./
|
12
|
-
import { useArray as st } from "./
|
13
|
-
import { useBaseOptions as it } from "./
|
14
|
-
import { useCoherence as rt } from "./
|
15
|
-
import { useHashedWatcher as re } from "./
|
16
|
-
import { useIndexById as de } from "./
|
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 "./
|
19
|
-
import { useLocale as mt } from "./
|
20
|
-
import { usePrefill as ft } from "./
|
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 "./
|
23
|
-
import { when as ht } from "./
|
24
|
-
import yt from "./
|
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 "./
|
26
|
+
import bt from "./index246.js";
|
27
27
|
/* empty css */
|
28
|
-
import gt from "./
|
28
|
+
import gt from "./index248.js";
|
29
29
|
/* empty css */
|
30
|
-
import wt from "./
|
31
|
-
import Bt from "./
|
30
|
+
import wt from "./index250.js";
|
31
|
+
import Bt from "./index251.js";
|
32
32
|
/* empty css */
|
33
|
-
import Vt from "./
|
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"
|