bitboss-ui 2.1.24 → 2.1.25
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/index13.js +1 -1
- package/dist/index131.js +3 -3
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index209.js +34 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +86 -2
- package/dist/index212.js +29 -13
- package/dist/index213.js +17 -4
- package/dist/index214.js +50 -10
- package/dist/index215.js +14 -19
- package/dist/index216.js +3 -197
- package/dist/index217.js +14 -0
- package/dist/index218.js +16 -69
- package/dist/index219.js +7 -0
- package/dist/index220.js +5 -13
- package/dist/index221.js +5 -114
- package/dist/index222.js +7 -0
- package/dist/index223.js +5 -4
- package/dist/index224.js +5 -13
- package/dist/index225.js +2 -2
- package/dist/index226.js +2 -2
- package/dist/index227.js +2 -7
- package/dist/index228.js +13 -2
- package/dist/index229.js +11 -7
- package/dist/index23.js +15 -15
- package/dist/index230.js +19 -85
- package/dist/index231.js +71 -0
- package/dist/index233.js +13 -16
- package/dist/index234.js +114 -17
- package/dist/index236.js +12 -14
- package/dist/index237.js +18 -3
- package/dist/index238.js +11 -11
- package/dist/index239.js +6 -5
- package/dist/index240.js +4 -5
- package/dist/index241.js +106 -5
- package/dist/index243.js +100 -5
- package/dist/index245.js +229 -5
- package/dist/index246.js +3 -8
- package/dist/index247.js +2 -250
- package/dist/index248.js +2 -52
- package/dist/index249.js +4 -44
- package/dist/index25.js +44 -42
- package/dist/index250.js +197 -5
- package/dist/index252.js +5 -2
- package/dist/index253.js +5 -18
- package/dist/index254.js +8 -12
- package/dist/index255.js +249 -5
- package/dist/index256.js +46 -100
- package/dist/index257.js +46 -0
- package/dist/index258.js +5 -100
- package/dist/{index251.js → index259.js} +1 -1
- package/dist/index260.js +180 -226
- package/dist/index261.js +2 -34
- package/dist/index262.js +2 -5
- package/dist/index263.js +7 -3
- package/dist/index264.js +7 -10
- package/dist/index265.js +6 -3
- package/dist/index266.js +15 -182
- package/dist/index267.js +10 -6
- package/dist/index268.js +3 -16
- package/dist/index269.js +8 -8
- package/dist/index27.js +1 -1
- package/dist/index270.js +8 -23
- package/dist/index273.js +9 -2
- package/dist/index274.js +23 -9
- package/dist/index275.js +2 -8
- package/dist/index277.js +1 -1
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +2 -7
- package/dist/index281.js +3 -11
- package/dist/index282.js +17 -3
- package/dist/index283.js +28 -3
- package/dist/index284.js +282 -0
- package/dist/index285.js +2 -7
- package/dist/index286.js +125 -3
- package/dist/index287.js +2 -4
- package/dist/index288.js +14 -3
- package/dist/index289.js +2 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +16 -17
- package/dist/index291.js +2 -28
- package/dist/index292.js +13 -277
- package/dist/index293.js +2 -2
- package/dist/index294.js +15 -12
- package/dist/index296.js +3 -16
- package/dist/index298.js +7 -19
- package/dist/index299.js +3 -2
- package/dist/index300.js +7 -15
- package/dist/index301.js +11 -2
- package/dist/index302.js +3 -18
- package/dist/index303.js +6 -2
- package/dist/index304.js +3 -27
- package/dist/index305.js +3 -2
- package/dist/index306.js +1 -1
- package/dist/index307.js +4 -2
- package/dist/index308.js +5 -2
- package/dist/index309.js +3 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +19 -22
- package/dist/index312.js +27 -2
- package/dist/index313.js +2 -6
- package/dist/index314.js +2 -3
- package/dist/index315.js +2 -3
- package/dist/index316.js +1 -1
- package/dist/index317.js +2 -125
- package/dist/index318.js +22 -2
- package/dist/index323.js +1 -1
- package/dist/index324.js +2 -8
- package/dist/index325.js +128 -5
- package/dist/index326.js +367 -6
- package/dist/index327.js +58 -2
- package/dist/index328.js +58 -47
- package/dist/index329.js +227 -57
- package/dist/index33.js +8 -8
- package/dist/index330.js +32 -57
- package/dist/index331.js +28 -7
- package/dist/index333.js +44 -126
- package/dist/index334.js +6 -368
- package/dist/index335.js +17 -5
- package/dist/index336.js +6 -32
- package/dist/index337.js +8 -28
- package/dist/index338.js +8 -0
- package/dist/index339.js +8 -228
- package/dist/index340.js +1 -1
- package/dist/index342.js +3 -129
- package/dist/index343.js +126 -47
- package/dist/{index341.js → index346.js} +1 -1
- package/dist/index347.js +50 -3
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +6 -6
- 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 +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index90.js +53 -51
- package/dist/index92.js +1 -1
- package/dist/index94.js +3 -3
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index232.js +0 -31
- package/dist/index235.js +0 -53
- package/dist/index242.js +0 -7
- package/dist/index244.js +0 -7
- package/dist/index319.js +0 -7
- package/dist/index332.js +0 -21
- /package/dist/{index297.js → index311.js} +0 -0
package/dist/index339.js
CHANGED
@@ -1,230 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
À: "A",
|
9
|
-
Á: "A",
|
10
|
-
Â: "A",
|
11
|
-
Ã: "A",
|
12
|
-
Ä: "A",
|
13
|
-
Å: "A",
|
14
|
-
à: "a",
|
15
|
-
á: "a",
|
16
|
-
â: "a",
|
17
|
-
ã: "a",
|
18
|
-
ä: "a",
|
19
|
-
å: "a",
|
20
|
-
Ç: "C",
|
21
|
-
ç: "c",
|
22
|
-
Ð: "D",
|
23
|
-
ð: "d",
|
24
|
-
È: "E",
|
25
|
-
É: "E",
|
26
|
-
Ê: "E",
|
27
|
-
Ë: "E",
|
28
|
-
è: "e",
|
29
|
-
é: "e",
|
30
|
-
ê: "e",
|
31
|
-
ë: "e",
|
32
|
-
Ì: "I",
|
33
|
-
Í: "I",
|
34
|
-
Î: "I",
|
35
|
-
Ï: "I",
|
36
|
-
ì: "i",
|
37
|
-
í: "i",
|
38
|
-
î: "i",
|
39
|
-
ï: "i",
|
40
|
-
Ñ: "N",
|
41
|
-
ñ: "n",
|
42
|
-
Ò: "O",
|
43
|
-
Ó: "O",
|
44
|
-
Ô: "O",
|
45
|
-
Õ: "O",
|
46
|
-
Ö: "O",
|
47
|
-
Ø: "O",
|
48
|
-
ò: "o",
|
49
|
-
ó: "o",
|
50
|
-
ô: "o",
|
51
|
-
õ: "o",
|
52
|
-
ö: "o",
|
53
|
-
ø: "o",
|
54
|
-
Ù: "U",
|
55
|
-
Ú: "U",
|
56
|
-
Û: "U",
|
57
|
-
Ü: "U",
|
58
|
-
ù: "u",
|
59
|
-
ú: "u",
|
60
|
-
û: "u",
|
61
|
-
ü: "u",
|
62
|
-
Ý: "Y",
|
63
|
-
ý: "y",
|
64
|
-
ÿ: "y",
|
65
|
-
Æ: "Ae",
|
66
|
-
æ: "ae",
|
67
|
-
Þ: "Th",
|
68
|
-
þ: "th",
|
69
|
-
ß: "ss",
|
70
|
-
// Latin Extended-A block.
|
71
|
-
Ā: "A",
|
72
|
-
Ă: "A",
|
73
|
-
Ą: "A",
|
74
|
-
ā: "a",
|
75
|
-
ă: "a",
|
76
|
-
ą: "a",
|
77
|
-
Ć: "C",
|
78
|
-
Ĉ: "C",
|
79
|
-
Ċ: "C",
|
80
|
-
Č: "C",
|
81
|
-
ć: "c",
|
82
|
-
ĉ: "c",
|
83
|
-
ċ: "c",
|
84
|
-
č: "c",
|
85
|
-
Ď: "D",
|
86
|
-
Đ: "D",
|
87
|
-
ď: "d",
|
88
|
-
đ: "d",
|
89
|
-
Ē: "E",
|
90
|
-
Ĕ: "E",
|
91
|
-
Ė: "E",
|
92
|
-
Ę: "E",
|
93
|
-
Ě: "E",
|
94
|
-
ē: "e",
|
95
|
-
ĕ: "e",
|
96
|
-
ė: "e",
|
97
|
-
ę: "e",
|
98
|
-
ě: "e",
|
99
|
-
Ĝ: "G",
|
100
|
-
Ğ: "G",
|
101
|
-
Ġ: "G",
|
102
|
-
Ģ: "G",
|
103
|
-
ĝ: "g",
|
104
|
-
ğ: "g",
|
105
|
-
ġ: "g",
|
106
|
-
ģ: "g",
|
107
|
-
Ĥ: "H",
|
108
|
-
Ħ: "H",
|
109
|
-
ĥ: "h",
|
110
|
-
ħ: "h",
|
111
|
-
Ĩ: "I",
|
112
|
-
Ī: "I",
|
113
|
-
Ĭ: "I",
|
114
|
-
Į: "I",
|
115
|
-
İ: "I",
|
116
|
-
ĩ: "i",
|
117
|
-
ī: "i",
|
118
|
-
ĭ: "i",
|
119
|
-
į: "i",
|
120
|
-
ı: "i",
|
121
|
-
Ĵ: "J",
|
122
|
-
ĵ: "j",
|
123
|
-
Ķ: "K",
|
124
|
-
ķ: "k",
|
125
|
-
ĸ: "k",
|
126
|
-
Ĺ: "L",
|
127
|
-
Ļ: "L",
|
128
|
-
Ľ: "L",
|
129
|
-
Ŀ: "L",
|
130
|
-
Ł: "L",
|
131
|
-
ĺ: "l",
|
132
|
-
ļ: "l",
|
133
|
-
ľ: "l",
|
134
|
-
ŀ: "l",
|
135
|
-
ł: "l",
|
136
|
-
Ń: "N",
|
137
|
-
Ņ: "N",
|
138
|
-
Ň: "N",
|
139
|
-
Ŋ: "N",
|
140
|
-
ń: "n",
|
141
|
-
ņ: "n",
|
142
|
-
ň: "n",
|
143
|
-
ŋ: "n",
|
144
|
-
Ō: "O",
|
145
|
-
Ŏ: "O",
|
146
|
-
Ő: "O",
|
147
|
-
ō: "o",
|
148
|
-
ŏ: "o",
|
149
|
-
ő: "o",
|
150
|
-
Ŕ: "R",
|
151
|
-
Ŗ: "R",
|
152
|
-
Ř: "R",
|
153
|
-
ŕ: "r",
|
154
|
-
ŗ: "r",
|
155
|
-
ř: "r",
|
156
|
-
Ś: "S",
|
157
|
-
Ŝ: "S",
|
158
|
-
Ş: "S",
|
159
|
-
Š: "S",
|
160
|
-
ś: "s",
|
161
|
-
ŝ: "s",
|
162
|
-
ş: "s",
|
163
|
-
š: "s",
|
164
|
-
Ţ: "T",
|
165
|
-
Ť: "T",
|
166
|
-
Ŧ: "T",
|
167
|
-
ţ: "t",
|
168
|
-
ť: "t",
|
169
|
-
ŧ: "t",
|
170
|
-
Ũ: "U",
|
171
|
-
Ū: "U",
|
172
|
-
Ŭ: "U",
|
173
|
-
Ů: "U",
|
174
|
-
Ű: "U",
|
175
|
-
Ų: "U",
|
176
|
-
ũ: "u",
|
177
|
-
ū: "u",
|
178
|
-
ŭ: "u",
|
179
|
-
ů: "u",
|
180
|
-
ű: "u",
|
181
|
-
ų: "u",
|
182
|
-
Ŵ: "W",
|
183
|
-
ŵ: "w",
|
184
|
-
Ŷ: "Y",
|
185
|
-
ŷ: "y",
|
186
|
-
Ÿ: "Y",
|
187
|
-
Ź: "Z",
|
188
|
-
Ż: "Z",
|
189
|
-
Ž: "Z",
|
190
|
-
ź: "z",
|
191
|
-
ż: "z",
|
192
|
-
ž: "z",
|
193
|
-
IJ: "IJ",
|
194
|
-
ij: "ij",
|
195
|
-
Œ: "Oe",
|
196
|
-
œ: "oe",
|
197
|
-
ʼn: "'n",
|
198
|
-
ſ: "ss"
|
199
|
-
}, y = typeof r == "object" && r && r.Object === Object && r, m = typeof self == "object" && self && self.Object === Object && self, O = y || m || Function("return this")();
|
200
|
-
function S(u) {
|
201
|
-
return function(e) {
|
202
|
-
return u == null ? void 0 : u[e];
|
203
|
-
};
|
204
|
-
}
|
205
|
-
var p = S(l), g = Object.prototype, j = g.toString, x = O.Symbol, t = x ? x.prototype : void 0, f = t ? t.toString : void 0;
|
206
|
-
function I(u) {
|
207
|
-
if (typeof u == "string")
|
208
|
-
return u;
|
209
|
-
if (A(u))
|
210
|
-
return f ? f.call(u) : "";
|
211
|
-
var e = u + "";
|
212
|
-
return e == "0" && 1 / u == -1 / 0 ? "-0" : e;
|
213
|
-
}
|
214
|
-
function L(u) {
|
215
|
-
return !!u && typeof u == "object";
|
216
|
-
}
|
217
|
-
function A(u) {
|
218
|
-
return typeof u == "symbol" || L(u) && j.call(u) == n;
|
219
|
-
}
|
220
|
-
function E(u) {
|
221
|
-
return u == null ? "" : I(u);
|
222
|
-
}
|
223
|
-
function U(u) {
|
224
|
-
return u = E(u), u && u.replace(d, p).replace(s, "");
|
225
|
-
}
|
226
|
-
return o = U, o;
|
227
|
-
}
|
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)}`;
|
7
|
+
};
|
228
8
|
export {
|
229
|
-
|
9
|
+
i as hslToHex
|
230
10
|
};
|
package/dist/index340.js
CHANGED
package/dist/index342.js
CHANGED
@@ -1,131 +1,5 @@
|
|
1
|
-
|
2
|
-
|
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
|
-
}
|
1
|
+
import o from "./index331.js";
|
2
|
+
/* empty css */
|
110
3
|
export {
|
111
|
-
|
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
|
4
|
+
o as default
|
131
5
|
};
|
package/dist/index343.js
CHANGED
@@ -1,52 +1,131 @@
|
|
1
|
-
function
|
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
|
-
|
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;
|
29
45
|
}
|
30
|
-
|
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);
|
31
60
|
}
|
32
|
-
return
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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
|
45
79
|
};
|
46
|
-
}
|
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
|
+
}
|
47
110
|
export {
|
48
|
-
|
49
|
-
k as
|
50
|
-
|
51
|
-
|
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
|
52
131
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { debounce as M, memo as d, notUndefined as m, approxEqual as y } from "./
|
1
|
+
import { debounce as M, memo as d, notUndefined as m, approxEqual as y } from "./index347.js";
|
2
2
|
const b = (r) => {
|
3
3
|
const { offsetWidth: h, offsetHeight: t } = r;
|
4
4
|
return { width: h, height: t };
|
package/dist/index347.js
CHANGED
@@ -1,5 +1,52 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
function T(n, i, e) {
|
2
|
+
let l = e.initialDeps ?? [], t;
|
3
|
+
function r() {
|
4
|
+
var o, m, h, f;
|
5
|
+
let g;
|
6
|
+
e.key && ((o = e.debug) != null && o.call(e)) && (g = Date.now());
|
7
|
+
const u = n();
|
8
|
+
if (!(u.length !== l.length || u.some((c, a) => l[a] !== c)))
|
9
|
+
return t;
|
10
|
+
l = u;
|
11
|
+
let s;
|
12
|
+
if (e.key && ((m = e.debug) != null && m.call(e)) && (s = Date.now()), t = i(...u), e.key && ((h = e.debug) != null && h.call(e))) {
|
13
|
+
const c = Math.round((Date.now() - g) * 100) / 100, a = Math.round((Date.now() - s) * 100) / 100, b = a / 16, w = (d, v) => {
|
14
|
+
for (d = String(d); d.length < v; )
|
15
|
+
d = " " + d;
|
16
|
+
return d;
|
17
|
+
};
|
18
|
+
console.info(
|
19
|
+
`%c⏱ ${w(a, 5)} /${w(c, 5)} ms`,
|
20
|
+
`
|
21
|
+
font-size: .6rem;
|
22
|
+
font-weight: bold;
|
23
|
+
color: hsl(${Math.max(
|
24
|
+
0,
|
25
|
+
Math.min(120 - 120 * b, 120)
|
26
|
+
)}deg 100% 31%);`,
|
27
|
+
e == null ? void 0 : e.key
|
28
|
+
);
|
29
|
+
}
|
30
|
+
return (f = e == null ? void 0 : e.onChange) == null || f.call(e, t), t;
|
31
|
+
}
|
32
|
+
return r.updateDeps = (o) => {
|
33
|
+
l = o;
|
34
|
+
}, r;
|
35
|
+
}
|
36
|
+
function y(n, i) {
|
37
|
+
if (n === void 0)
|
38
|
+
throw new Error("Unexpected undefined");
|
39
|
+
return n;
|
40
|
+
}
|
41
|
+
const M = (n, i) => Math.abs(n - i) <= 1, k = (n, i, e) => {
|
42
|
+
let l;
|
43
|
+
return function(...t) {
|
44
|
+
n.clearTimeout(l), l = n.setTimeout(() => i.apply(this, t), e);
|
45
|
+
};
|
46
|
+
};
|
3
47
|
export {
|
4
|
-
|
48
|
+
M as approxEqual,
|
49
|
+
k as debounce,
|
50
|
+
T as memo,
|
51
|
+
y as notUndefined
|
5
52
|
};
|
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 "./index247.js";
|
3
|
+
import { identity as $ } from "./index225.js";
|
4
|
+
import { isCssColor as k } from "./index248.js";
|
5
5
|
import { isNotNil as q } from "./index140.js";
|
6
|
-
import { useLocale as x } from "./
|
6
|
+
import { useLocale as x } from "./index228.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 "./index216.js";
|
9
|
+
import { isEmpty as nt } from "./index226.js";
|
10
|
+
import { last as ut } from "./index227.js";
|
11
|
+
import { matchAnyKey as ie } from "./index237.js";
|
12
|
+
import { useArray as st } from "./index238.js";
|
13
|
+
import { useBaseOptions as it } from "./index214.js";
|
14
|
+
import { useCoherence as rt } from "./index215.js";
|
15
|
+
import { useHashedWatcher as re } from "./index217.js";
|
16
|
+
import { useIndexById as de } from "./index213.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 "./index228.js";
|
20
|
+
import { usePrefill as ft } from "./index218.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 "./index239.js";
|
23
|
+
import { when as ht } from "./index240.js";
|
24
|
+
import yt from "./index241.js";
|
25
25
|
/* empty css */
|
26
|
-
import bt from "./
|
26
|
+
import bt from "./index243.js";
|
27
27
|
/* empty css */
|
28
|
-
import gt from "./
|
28
|
+
import gt from "./index231.js";
|
29
29
|
/* empty css */
|
30
|
-
import wt from "./
|
31
|
-
import Bt from "./
|
30
|
+
import wt from "./index233.js";
|
31
|
+
import Bt from "./index234.js";
|
32
32
|
/* empty css */
|
33
|
-
import Vt from "./
|
33
|
+
import Vt from "./index245.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"
|