bitboss-ui 2.1.12 → 2.1.13
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/index106.js +7 -7
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +9 -9
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index209.js +34 -5
- package/dist/index21.js +16 -16
- package/dist/index210.js +86 -5
- package/dist/index212.js +29 -5
- package/dist/index213.js +17 -5
- package/dist/index214.js +51 -5
- package/dist/index215.js +15 -2
- package/dist/index216.js +3 -2
- package/dist/index217.js +12 -2
- package/dist/index218.js +16 -13
- package/dist/index219.js +4 -11
- package/dist/index220.js +13 -20
- package/dist/index221.js +11 -66
- package/dist/index222.js +22 -0
- package/dist/index223.js +197 -13
- package/dist/index225.js +68 -0
- package/dist/index227.js +13 -2
- package/dist/index228.js +113 -4
- package/dist/index23.js +15 -15
- package/dist/index230.js +12 -85
- package/dist/{index226.js → index231.js} +1 -1
- package/dist/index232.js +2 -29
- package/dist/index233.js +4 -17
- package/dist/index234.js +2 -51
- package/dist/index235.js +2 -15
- package/dist/index236.js +5 -3
- package/dist/index237.js +5 -12
- package/dist/index238.js +5 -16
- package/dist/index239.js +5 -2
- package/dist/index240.js +5 -2
- package/dist/index241.js +5 -7
- package/dist/index242.js +2 -7
- package/dist/index243.js +2 -106
- package/dist/index244.js +20 -0
- package/dist/index245.js +12 -100
- package/dist/index246.js +8 -0
- package/dist/index247.js +106 -4
- package/dist/index249.js +102 -0
- package/dist/index25.js +3 -3
- package/dist/index251.js +228 -180
- package/dist/index252.js +5 -18
- package/dist/index253.js +5 -12
- package/dist/index254.js +7 -5
- package/dist/index255.js +238 -218
- package/dist/index256.js +51 -12
- package/dist/index257.js +44 -5
- package/dist/index258.js +5 -5
- package/dist/index259.js +58 -6
- package/dist/index260.js +2 -250
- package/dist/index261.js +181 -50
- package/dist/index262.js +10 -44
- package/dist/index263.js +3 -5
- package/dist/index264.js +2 -60
- package/dist/index265.js +7 -6
- package/dist/index266.js +7 -16
- package/dist/index269.js +3 -10
- package/dist/index27.js +1 -1
- package/dist/index270.js +6 -3
- package/dist/index271.js +16 -3
- package/dist/index273.js +1 -1
- package/dist/index275.js +67 -5
- package/dist/index277.js +5 -67
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +2 -280
- package/dist/index281.js +3 -2
- package/dist/index282.js +16 -124
- package/dist/index283.js +28 -2
- package/dist/index284.js +3 -15
- package/dist/index285.js +3 -2
- package/dist/index287.js +7 -2
- package/dist/index288.js +3 -16
- package/dist/index289.js +7 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +10 -18
- package/dist/index291.js +4 -2
- package/dist/index292.js +4 -3
- package/dist/index293.js +7 -0
- package/dist/index294.js +280 -7
- package/dist/index295.js +2 -3
- package/dist/index296.js +125 -7
- package/dist/index297.js +2 -11
- package/dist/index298.js +15 -5
- package/dist/index299.js +2 -4
- package/dist/index300.js +15 -5
- package/dist/index301.js +2 -4
- package/dist/index302.js +16 -3
- package/dist/index303.js +2 -17
- package/dist/index304.js +17 -26
- package/dist/index305.js +2 -3
- package/dist/index306.js +19 -3
- package/dist/index307.js +2 -3
- package/dist/index308.js +27 -2
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -19
- package/dist/index311.js +2 -2
- package/dist/index312.js +2 -27
- package/dist/index313.js +2 -2
- package/dist/index314.js +21 -1
- package/dist/index316.js +6 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +3 -22
- package/dist/index319.js +4 -0
- package/dist/index320.js +5 -718
- package/dist/index321.js +715 -363
- package/dist/index322.js +366 -58
- package/dist/index323.js +58 -5
- package/dist/index324.js +1 -1
- package/dist/index325.js +128 -32
- package/dist/index326.js +369 -28
- package/dist/index327.js +35 -0
- package/dist/index328.js +27 -227
- package/dist/index33.js +8 -8
- package/dist/index330.js +8 -58
- package/dist/index331.js +5 -128
- package/dist/index332.js +6 -367
- package/dist/index333.js +58 -47
- package/dist/index334.js +58 -8
- package/dist/index335.js +227 -5
- package/dist/index336.js +7 -8
- package/dist/index337.js +18 -6
- package/dist/index338.js +5 -17
- package/dist/index339.js +46 -6
- package/dist/index340.js +1 -1
- package/dist/index341.js +131 -0
- package/dist/index343.js +3 -129
- package/dist/index344.js +421 -473
- package/dist/index345.js +113 -422
- package/dist/index346.js +484 -123
- package/dist/index35.js +4 -4
- package/dist/index37.js +92 -89
- package/dist/index39.js +7 -7
- 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 +2 -2
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +1 -1
- package/dist/index94.js +3 -3
- package/package.json +2 -2
- package/dist/index211.js +0 -7
- package/dist/index224.js +0 -115
- package/dist/index229.js +0 -4
- package/dist/index248.js +0 -199
- package/dist/index250.js +0 -36
- package/dist/index286.js +0 -18
- package/dist/index315.js +0 -4
- package/dist/index329.js +0 -60
- package/dist/index342.js +0 -5
package/dist/index335.js
CHANGED
@@ -1,8 +1,230 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import { commonjsGlobal as r } from "./index316.js";
|
2
|
+
var o, c;
|
3
|
+
function C() {
|
4
|
+
if (c) return o;
|
5
|
+
c = 1;
|
6
|
+
var n = "[object Symbol]", d = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = "\\u0300-\\u036f\\ufe20-\\ufe23", b = "\\u20d0-\\u20f0", i = "[" + a + b + "]", s = RegExp(i, "g"), l = {
|
7
|
+
// Latin-1 Supplement block.
|
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;
|
5
227
|
}
|
6
228
|
export {
|
7
|
-
|
229
|
+
C as __require
|
8
230
|
};
|
package/dist/index336.js
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
const
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
};
|
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
|
+
}
|
8
7
|
export {
|
9
|
-
|
8
|
+
c as chunk
|
10
9
|
};
|
package/dist/index337.js
CHANGED
@@ -1,9 +1,21 @@
|
|
1
|
-
function
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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;
|
6
17
|
}
|
18
|
+
const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
|
7
19
|
export {
|
8
|
-
|
20
|
+
l as sort
|
9
21
|
};
|
package/dist/index338.js
CHANGED
@@ -1,21 +1,9 @@
|
|
1
|
-
function l(
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
8
|
+
l as range
|
21
9
|
};
|
package/dist/index339.js
CHANGED
@@ -1,9 +1,49 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
+
);
|
6
39
|
}
|
7
40
|
export {
|
8
|
-
|
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
49
|
};
|
package/dist/index340.js
CHANGED
package/dist/index341.js
ADDED
@@ -0,0 +1,131 @@
|
|
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
|
+
}
|
110
|
+
export {
|
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
|
131
|
+
};
|
package/dist/index343.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 "./index328.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
|
};
|