bitboss-ui 2.0.1 → 2.0.2
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/components/BbTable/BbTable.vue.d.ts +3 -0
- package/dist/index105.js +4 -4
- package/dist/index105.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index115.js +4 -4
- package/dist/index117.js +1 -1
- package/dist/index12.js +1 -1
- package/dist/index122.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index16.js +2 -2
- package/dist/index18.js +8 -8
- package/dist/index199.js +158 -3
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +12 -12
- package/dist/index200.js +84 -35
- package/dist/index200.js.map +1 -1
- package/dist/index202.js +3 -7
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +35 -5
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +6 -126
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +7 -281
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -123
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -19
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +16 -2
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +16 -2
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +17 -172
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +19 -42
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +30 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.js +8 -13
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -369
- package/dist/index214.js.map +1 -1
- package/dist/index216.js +1 -1
- package/dist/index218.js +3 -158
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +125 -83
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +5 -5
- package/dist/index220.js +126 -0
- package/dist/index220.js.map +1 -0
- package/dist/index221.js +2 -3
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +172 -14
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +42 -16
- package/dist/index223.js.map +1 -1
- package/dist/index225.js +13 -27
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +369 -8
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +1 -1
- package/dist/index234.js +1 -1
- package/dist/index237.js +3 -9
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -8
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +9 -23
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +9 -6
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +16 -15
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +1 -1
- package/dist/index243.js +1 -1
- package/dist/index244.js +200 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +23 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +6 -69
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +15 -199
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -4
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +280 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +6 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -2
- package/dist/index254.js +2 -126
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +5 -0
- package/dist/index256.js.map +1 -0
- package/dist/index257.js +2 -7
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +4 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +224 -12
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +2 -2
- package/dist/index260.js +3 -9
- package/dist/index260.js.map +1 -1
- package/dist/index262.js +6 -435
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +2 -127
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +69 -224
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -2
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +2 -2
- package/dist/index267.js +126 -2
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +3 -2
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +1 -1
- package/dist/index270.js +211 -3
- package/dist/index270.js.map +1 -1
- package/dist/index272.js +439 -0
- package/dist/index272.js.map +1 -0
- package/dist/index273.js +125 -26
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +26 -13
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +15 -4
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +11 -4
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +4 -59
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -2
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +58 -10
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +1 -1
- package/dist/index281.js +2 -47
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +50 -0
- package/dist/index282.js.map +1 -0
- package/dist/index284.js +416 -42
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +50 -0
- package/dist/index285.js.map +1 -0
- package/dist/index30.js +2 -2
- package/dist/index32.js +1 -1
- package/dist/index34.js +8 -8
- package/dist/index40.js +2 -2
- package/dist/index42.js +4 -4
- package/dist/index44.js +2 -2
- package/dist/index46.js +2 -2
- package/dist/index70.js +4 -4
- package/dist/index74.js +2 -2
- package/dist/index76.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index83.js +3 -3
- package/package.json +2 -2
- package/dist/index201.js +0 -9
- package/dist/index201.js.map +0 -1
- package/dist/index224.js +0 -22
- package/dist/index224.js.map +0 -1
- package/dist/index261.js +0 -20
- package/dist/index261.js.map +0 -1
- package/dist/index271.js +0 -214
- package/dist/index271.js.map +0 -1
- package/dist/index283.js +0 -424
- package/dist/index283.js.map +0 -1
package/dist/index263.js
CHANGED
|
@@ -1,130 +1,5 @@
|
|
|
1
|
-
const
|
|
2
|
-
x: t,
|
|
3
|
-
y: t
|
|
4
|
-
}), p = {
|
|
5
|
-
left: "right",
|
|
6
|
-
right: "left",
|
|
7
|
-
bottom: "top",
|
|
8
|
-
top: "bottom"
|
|
9
|
-
}, a = {
|
|
10
|
-
start: "end",
|
|
11
|
-
end: "start"
|
|
12
|
-
};
|
|
13
|
-
function w(t, n, e) {
|
|
14
|
-
return m(t, l(n, e));
|
|
15
|
-
}
|
|
16
|
-
function j(t, n) {
|
|
17
|
-
return typeof t == "function" ? t(n) : t;
|
|
18
|
-
}
|
|
19
|
-
function u(t) {
|
|
20
|
-
return t.split("-")[0];
|
|
21
|
-
}
|
|
22
|
-
function g(t) {
|
|
23
|
-
return t.split("-")[1];
|
|
24
|
-
}
|
|
25
|
-
function h(t) {
|
|
26
|
-
return t === "x" ? "y" : "x";
|
|
27
|
-
}
|
|
28
|
-
function b(t) {
|
|
29
|
-
return t === "y" ? "height" : "width";
|
|
30
|
-
}
|
|
31
|
-
function x(t) {
|
|
32
|
-
return ["top", "bottom"].includes(u(t)) ? "y" : "x";
|
|
33
|
-
}
|
|
34
|
-
function d(t) {
|
|
35
|
-
return h(x(t));
|
|
36
|
-
}
|
|
37
|
-
function C(t, n, e) {
|
|
38
|
-
e === void 0 && (e = !1);
|
|
39
|
-
const r = g(t), o = d(t), i = b(o);
|
|
40
|
-
let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
41
|
-
return n.reference[i] > n.floating[i] && (c = f(c)), [c, f(c)];
|
|
42
|
-
}
|
|
43
|
-
function L(t) {
|
|
44
|
-
const n = f(t);
|
|
45
|
-
return [s(t), n, s(n)];
|
|
46
|
-
}
|
|
47
|
-
function s(t) {
|
|
48
|
-
return t.replace(/start|end/g, (n) => a[n]);
|
|
49
|
-
}
|
|
50
|
-
function A(t, n, e) {
|
|
51
|
-
const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
|
|
52
|
-
switch (t) {
|
|
53
|
-
case "top":
|
|
54
|
-
case "bottom":
|
|
55
|
-
return e ? n ? o : r : n ? r : o;
|
|
56
|
-
case "left":
|
|
57
|
-
case "right":
|
|
58
|
-
return n ? i : c;
|
|
59
|
-
default:
|
|
60
|
-
return [];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function E(t, n, e, r) {
|
|
64
|
-
const o = g(t);
|
|
65
|
-
let i = A(u(t), e === "start", r);
|
|
66
|
-
return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
|
|
67
|
-
}
|
|
68
|
-
function f(t) {
|
|
69
|
-
return t.replace(/left|right|bottom|top/g, (n) => p[n]);
|
|
70
|
-
}
|
|
71
|
-
function y(t) {
|
|
72
|
-
return {
|
|
73
|
-
top: 0,
|
|
74
|
-
right: 0,
|
|
75
|
-
bottom: 0,
|
|
76
|
-
left: 0,
|
|
77
|
-
...t
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function R(t) {
|
|
81
|
-
return typeof t != "number" ? y(t) : {
|
|
82
|
-
top: t,
|
|
83
|
-
right: t,
|
|
84
|
-
bottom: t,
|
|
85
|
-
left: t
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function T(t) {
|
|
89
|
-
const {
|
|
90
|
-
x: n,
|
|
91
|
-
y: e,
|
|
92
|
-
width: r,
|
|
93
|
-
height: o
|
|
94
|
-
} = t;
|
|
95
|
-
return {
|
|
96
|
-
width: r,
|
|
97
|
-
height: o,
|
|
98
|
-
top: e,
|
|
99
|
-
left: n,
|
|
100
|
-
right: n + r,
|
|
101
|
-
bottom: e + o,
|
|
102
|
-
x: n,
|
|
103
|
-
y: e
|
|
104
|
-
};
|
|
105
|
-
}
|
|
1
|
+
const t = (d, o) => +d + +o;
|
|
106
2
|
export {
|
|
107
|
-
|
|
108
|
-
S as createCoords,
|
|
109
|
-
j as evaluate,
|
|
110
|
-
y as expandPaddingObject,
|
|
111
|
-
O as floor,
|
|
112
|
-
g as getAlignment,
|
|
113
|
-
d as getAlignmentAxis,
|
|
114
|
-
C as getAlignmentSides,
|
|
115
|
-
b as getAxisLength,
|
|
116
|
-
L as getExpandedPlacements,
|
|
117
|
-
s as getOppositeAlignmentPlacement,
|
|
118
|
-
h as getOppositeAxis,
|
|
119
|
-
E as getOppositeAxisPlacements,
|
|
120
|
-
f as getOppositePlacement,
|
|
121
|
-
R as getPaddingObject,
|
|
122
|
-
u as getSide,
|
|
123
|
-
x as getSideAxis,
|
|
124
|
-
m as max,
|
|
125
|
-
l as min,
|
|
126
|
-
T as rectToClientRect,
|
|
127
|
-
M as round,
|
|
128
|
-
P as sides
|
|
3
|
+
t as add
|
|
129
4
|
};
|
|
130
5
|
//# sourceMappingURL=index263.js.map
|
package/dist/index263.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index263.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index263.js","sources":["../src/utilities/functions/add.ts"],"sourcesContent":["export const add = (a: number | string, b: number | string) => +a + +b;\n"],"names":["add","a","b"],"mappings":"AAAO,MAAMA,IAAM,CAACC,GAAoBC,MAAuB,CAACD,IAAI,CAACC;"}
|
package/dist/index264.js
CHANGED
|
@@ -1,227 +1,72 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Ą: "A",
|
|
70
|
-
ā: "a",
|
|
71
|
-
ă: "a",
|
|
72
|
-
ą: "a",
|
|
73
|
-
Ć: "C",
|
|
74
|
-
Ĉ: "C",
|
|
75
|
-
Ċ: "C",
|
|
76
|
-
Č: "C",
|
|
77
|
-
ć: "c",
|
|
78
|
-
ĉ: "c",
|
|
79
|
-
ċ: "c",
|
|
80
|
-
č: "c",
|
|
81
|
-
Ď: "D",
|
|
82
|
-
Đ: "D",
|
|
83
|
-
ď: "d",
|
|
84
|
-
đ: "d",
|
|
85
|
-
Ē: "E",
|
|
86
|
-
Ĕ: "E",
|
|
87
|
-
Ė: "E",
|
|
88
|
-
Ę: "E",
|
|
89
|
-
Ě: "E",
|
|
90
|
-
ē: "e",
|
|
91
|
-
ĕ: "e",
|
|
92
|
-
ė: "e",
|
|
93
|
-
ę: "e",
|
|
94
|
-
ě: "e",
|
|
95
|
-
Ĝ: "G",
|
|
96
|
-
Ğ: "G",
|
|
97
|
-
Ġ: "G",
|
|
98
|
-
Ģ: "G",
|
|
99
|
-
ĝ: "g",
|
|
100
|
-
ğ: "g",
|
|
101
|
-
ġ: "g",
|
|
102
|
-
ģ: "g",
|
|
103
|
-
Ĥ: "H",
|
|
104
|
-
Ħ: "H",
|
|
105
|
-
ĥ: "h",
|
|
106
|
-
ħ: "h",
|
|
107
|
-
Ĩ: "I",
|
|
108
|
-
Ī: "I",
|
|
109
|
-
Ĭ: "I",
|
|
110
|
-
Į: "I",
|
|
111
|
-
İ: "I",
|
|
112
|
-
ĩ: "i",
|
|
113
|
-
ī: "i",
|
|
114
|
-
ĭ: "i",
|
|
115
|
-
į: "i",
|
|
116
|
-
ı: "i",
|
|
117
|
-
Ĵ: "J",
|
|
118
|
-
ĵ: "j",
|
|
119
|
-
Ķ: "K",
|
|
120
|
-
ķ: "k",
|
|
121
|
-
ĸ: "k",
|
|
122
|
-
Ĺ: "L",
|
|
123
|
-
Ļ: "L",
|
|
124
|
-
Ľ: "L",
|
|
125
|
-
Ŀ: "L",
|
|
126
|
-
Ł: "L",
|
|
127
|
-
ĺ: "l",
|
|
128
|
-
ļ: "l",
|
|
129
|
-
ľ: "l",
|
|
130
|
-
ŀ: "l",
|
|
131
|
-
ł: "l",
|
|
132
|
-
Ń: "N",
|
|
133
|
-
Ņ: "N",
|
|
134
|
-
Ň: "N",
|
|
135
|
-
Ŋ: "N",
|
|
136
|
-
ń: "n",
|
|
137
|
-
ņ: "n",
|
|
138
|
-
ň: "n",
|
|
139
|
-
ŋ: "n",
|
|
140
|
-
Ō: "O",
|
|
141
|
-
Ŏ: "O",
|
|
142
|
-
Ő: "O",
|
|
143
|
-
ō: "o",
|
|
144
|
-
ŏ: "o",
|
|
145
|
-
ő: "o",
|
|
146
|
-
Ŕ: "R",
|
|
147
|
-
Ŗ: "R",
|
|
148
|
-
Ř: "R",
|
|
149
|
-
ŕ: "r",
|
|
150
|
-
ŗ: "r",
|
|
151
|
-
ř: "r",
|
|
152
|
-
Ś: "S",
|
|
153
|
-
Ŝ: "S",
|
|
154
|
-
Ş: "S",
|
|
155
|
-
Š: "S",
|
|
156
|
-
ś: "s",
|
|
157
|
-
ŝ: "s",
|
|
158
|
-
ş: "s",
|
|
159
|
-
š: "s",
|
|
160
|
-
Ţ: "T",
|
|
161
|
-
Ť: "T",
|
|
162
|
-
Ŧ: "T",
|
|
163
|
-
ţ: "t",
|
|
164
|
-
ť: "t",
|
|
165
|
-
ŧ: "t",
|
|
166
|
-
Ũ: "U",
|
|
167
|
-
Ū: "U",
|
|
168
|
-
Ŭ: "U",
|
|
169
|
-
Ů: "U",
|
|
170
|
-
Ű: "U",
|
|
171
|
-
Ų: "U",
|
|
172
|
-
ũ: "u",
|
|
173
|
-
ū: "u",
|
|
174
|
-
ŭ: "u",
|
|
175
|
-
ů: "u",
|
|
176
|
-
ű: "u",
|
|
177
|
-
ų: "u",
|
|
178
|
-
Ŵ: "W",
|
|
179
|
-
ŵ: "w",
|
|
180
|
-
Ŷ: "Y",
|
|
181
|
-
ŷ: "y",
|
|
182
|
-
Ÿ: "Y",
|
|
183
|
-
Ź: "Z",
|
|
184
|
-
Ż: "Z",
|
|
185
|
-
Ž: "Z",
|
|
186
|
-
ź: "z",
|
|
187
|
-
ż: "z",
|
|
188
|
-
ž: "z",
|
|
189
|
-
IJ: "IJ",
|
|
190
|
-
ij: "ij",
|
|
191
|
-
Œ: "Oe",
|
|
192
|
-
œ: "oe",
|
|
193
|
-
ʼn: "'n",
|
|
194
|
-
ſ: "ss"
|
|
195
|
-
}, y = typeof r == "object" && r && r.Object === Object && r, m = typeof self == "object" && self && self.Object === Object && self, O = y || m || Function("return this")();
|
|
196
|
-
function p(u) {
|
|
197
|
-
return function(e) {
|
|
198
|
-
return u == null ? void 0 : u[e];
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
var S = p(l), g = Object.prototype, j = g.toString, o = O.Symbol, x = o ? o.prototype : void 0, t = x ? x.toString : void 0;
|
|
202
|
-
function I(u) {
|
|
203
|
-
if (typeof u == "string")
|
|
204
|
-
return u;
|
|
205
|
-
if (A(u))
|
|
206
|
-
return t ? t.call(u) : "";
|
|
207
|
-
var e = u + "";
|
|
208
|
-
return e == "0" && 1 / u == -c ? "-0" : e;
|
|
209
|
-
}
|
|
210
|
-
function E(u) {
|
|
211
|
-
return !!u && typeof u == "object";
|
|
212
|
-
}
|
|
213
|
-
function A(u) {
|
|
214
|
-
return typeof u == "symbol" || E(u) && j.call(u) == n;
|
|
215
|
-
}
|
|
216
|
-
function C(u) {
|
|
217
|
-
return u == null ? "" : I(u);
|
|
218
|
-
}
|
|
219
|
-
function U(u) {
|
|
220
|
-
return u = C(u), u && u.replace(a, S).replace(s, "");
|
|
221
|
-
}
|
|
222
|
-
var L = U;
|
|
223
|
-
const v = /* @__PURE__ */ f(L);
|
|
1
|
+
import { defineComponent as p, openBlock as s, createElementBlock as a, normalizeClass as b, createElementVNode as t, createBlock as i, createCommentVNode as o, toDisplayString as l, withCtx as d } from "vue";
|
|
2
|
+
import h from "./index12.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import u from "./index121.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
const g = { class: "bb-toast-message__icon-container" }, k = { class: "bb-toast-message__content" }, f = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "bb-toast-message__title"
|
|
9
|
+
}, C = { class: "bb-toast-message__text" }, w = { class: "bb-toast-message__close" }, v = /* @__PURE__ */ t("svg", {
|
|
10
|
+
fill: "none",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, [
|
|
14
|
+
/* @__PURE__ */ t("path", {
|
|
15
|
+
d: "M23 23L1 1M23 1L1 23",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
"stroke-linecap": "round",
|
|
18
|
+
"stroke-width": "2"
|
|
19
|
+
})
|
|
20
|
+
], -1), N = /* @__PURE__ */ p({
|
|
21
|
+
__name: "BbToastMessage",
|
|
22
|
+
props: {
|
|
23
|
+
title: {},
|
|
24
|
+
text: {},
|
|
25
|
+
icon: {},
|
|
26
|
+
theme: { default: "default" },
|
|
27
|
+
id: {},
|
|
28
|
+
showClose: { type: Boolean }
|
|
29
|
+
},
|
|
30
|
+
emits: ["click:close"],
|
|
31
|
+
setup(n, { emit: c }) {
|
|
32
|
+
const r = n, m = c, _ = () => {
|
|
33
|
+
m("click:close", r.id);
|
|
34
|
+
};
|
|
35
|
+
return (e, y) => (s(), a("div", {
|
|
36
|
+
"aria-atomic": "true",
|
|
37
|
+
"aria-live": "polite",
|
|
38
|
+
"aria-role": "alert",
|
|
39
|
+
class: b(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
|
40
|
+
}, [
|
|
41
|
+
t("div", g, [
|
|
42
|
+
e.icon ? (s(), i(u, {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "bb-toast-message__icon",
|
|
45
|
+
type: e.icon
|
|
46
|
+
}, null, 8, ["type"])) : o("", !0)
|
|
47
|
+
]),
|
|
48
|
+
t("div", k, [
|
|
49
|
+
e.title ? (s(), a("p", f, l(e.title), 1)) : o("", !0),
|
|
50
|
+
t("p", C, l(e.text), 1)
|
|
51
|
+
]),
|
|
52
|
+
t("span", w, [
|
|
53
|
+
e.showClose ? (s(), i(h, {
|
|
54
|
+
key: 0,
|
|
55
|
+
"aria-label": "Chiudi",
|
|
56
|
+
block: "",
|
|
57
|
+
class: "bb-toast-message__close-btn",
|
|
58
|
+
onClick: _
|
|
59
|
+
}, {
|
|
60
|
+
default: d(() => [
|
|
61
|
+
v
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})) : o("", !0)
|
|
65
|
+
])
|
|
66
|
+
], 2));
|
|
67
|
+
}
|
|
68
|
+
});
|
|
224
69
|
export {
|
|
225
|
-
|
|
70
|
+
N as default
|
|
226
71
|
};
|
|
227
72
|
//# sourceMappingURL=index264.js.map
|
package/dist/index264.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index264.js","sources":["../node_modules/lodash.deburr/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsComboMarksRange = '\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20f0';\n\n/** Used to compose unicode capture groups. */\nvar rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']';\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/** Used to map Latin Unicode letters to basic Latin letters. */\nvar deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 'ss'\n};\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n}\n\n/**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\nvar deburrLetter = basePropertyOf(deburredLetters);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\nmodule.exports = deburr;\n"],"names":["INFINITY","symbolTag","reLatin","rsComboMarksRange","rsComboSymbolsRange","rsCombo","reComboMark","deburredLetters","freeGlobal","global","freeSelf","root","basePropertyOf","object","key","deburrLetter","objectProto","objectToString","Symbol","symbolProto","symbolToString","baseToString","value","isSymbol","result","isObjectLike","toString","deburr","string","lodash_deburr"],"mappings":";AAUA,IAAIA,IAAW,OAGXC,IAAY,mBAGZC,IAAU,+CAGVC,IAAoB,kCACpBC,IAAsB,mBAGtBC,IAAU,MAAMF,IAAoBC,IAAsB,KAM1DE,IAAc,OAAOD,GAAS,GAAG,GAGjCE,IAAkB;AAAA;AAAA,EAEpB,GAAQ;AAAA,EAAM,GAAQ;AAAA,EAAK,GAAQ;AAAA,EAAK,GAAQ;AAAA,EAAK,GAAQ;AAAA,EAAK,GAAQ;AAA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AIC,IAAeH,EAAeL,CAAe,GAG7CS,IAAc,OAAO,WAOrBC,IAAiBD,EAAY,UAG7BE,IAASP,EAAK,QAGdQ,IAAcD,IAASA,EAAO,YAAY,QAC1CE,IAAiBD,IAAcA,EAAY,WAAW;AAU1D,SAASE,EAAaC,GAAO;AAE3B,MAAI,OAAOA,KAAS;AAClB,WAAOA;AAET,MAAIC,EAASD,CAAK;AAChB,WAAOF,IAAiBA,EAAe,KAAKE,CAAK,IAAI;AAEvD,MAAIE,IAAUF,IAAQ;AACtB,SAAQE,KAAU,OAAQ,IAAIF,KAAU,CAACtB,IAAY,OAAOwB;AAC9D;AA0BA,SAASC,EAAaH,GAAO;AAC3B,SAAO,CAAC,CAACA,KAAS,OAAOA,KAAS;AACpC;AAmBA,SAASC,EAASD,GAAO;AACvB,SAAO,OAAOA,KAAS,YACpBG,EAAaH,CAAK,KAAKL,EAAe,KAAKK,CAAK,KAAKrB;AAC1D;AAuBA,SAASyB,EAASJ,GAAO;AACvB,SAAOA,KAAS,OAAO,KAAKD,EAAaC,CAAK;AAChD;AAoBA,SAASK,EAAOC,GAAQ;AACtB,SAAAA,IAASF,EAASE,CAAM,GACjBA,KAAUA,EAAO,QAAQ1B,GAASa,CAAY,EAAE,QAAQT,GAAa,EAAE;AAChF;AAEA,IAAAuB,IAAiBF;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index264.js","sources":["../src/components/BbToast/BbToastMessage.vue"],"sourcesContent":["<template>\n\t<div\n\t\taria-atomic=\"true\"\n\t\taria-live=\"polite\"\n\t\taria-role=\"alert\"\n\t\tclass=\"bb-toast-message\"\n\t\t:class=\"{ [`bb-toast-message--${theme}`]: theme }\"\n\t>\n\t\t<div class=\"bb-toast-message__icon-container\">\n\t\t\t<BbIcon v-if=\"icon\" class=\"bb-toast-message__icon\" :type=\"icon\" />\n\t\t</div>\n\n\t\t<div class=\"bb-toast-message__content\">\n\t\t\t<p v-if=\"title\" class=\"bb-toast-message__title\">{{ title }}</p>\n\t\t\t<p class=\"bb-toast-message__text\">{{ text }}</p>\n\t\t</div>\n\t\t<span class=\"bb-toast-message__close\">\n\t\t\t<BaseButton\n\t\t\t\tv-if=\"showClose\"\n\t\t\t\t:aria-label=\"'Chiudi'\"\n\t\t\t\tblock\n\t\t\t\tclass=\"bb-toast-message__close-btn\"\n\t\t\t\t@click=\"onClickClose\"\n\t\t\t>\n\t\t\t\t<svg fill=\"none\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M23 23L1 1M23 1L1 23\"\n\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\t/>\n\t\t\t\t</svg>\n\t\t\t</BaseButton>\n\t\t</span>\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport type { Message } from '../../composables/useToast';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport BbIcon from '../BbIcon/BbIcon.vue';\n\nconst props = withDefaults(defineProps<Message>(), {\n\ttheme: 'default',\n});\ntype BbToastMessageEvents = {\n\t(e: 'click:close', id: Message['id']): void;\n};\nconst emit = defineEmits<BbToastMessageEvents>();\n\nconst onClickClose = () => {\n\temit('click:close', props.id);\n};\n</script>\n\n<style scoped></style>\n"],"names":["props","__props","emit","__emit","onClickClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,UAAMA,IAAQC,GAMRC,IAAOC,GAEPC,IAAe,MAAM;AACrB,MAAAF,EAAA,eAAeF,EAAM,EAAE;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index265.js
CHANGED
package/dist/index265.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index265.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index265.js","sources":["../src/utilities/functions/flattenTree.ts"],"sourcesContent":["export const flattenTree = <T extends Record<string, any>, U>(\n\titems: T[],\n\tkeyName: keyof T,\n\tmapper: (item: T, parent?: U) => U = (x: any) => x,\n\tparent?: ReturnType<typeof mapper>\n): ReturnType<typeof mapper>[] => {\n\treturn items\n\t\t.map((item) => {\n\t\t\tif (Array.isArray(item[keyName])) {\n\t\t\t\treturn [\n\t\t\t\t\tmapper(item, parent),\n\t\t\t\t\t...flattenTree(item[keyName], keyName, mapper, mapper(item, parent)),\n\t\t\t\t];\n\t\t\t}\n\t\t\treturn [mapper(item, parent)];\n\t\t})\n\t\t.flat();\n};\n"],"names":["flattenTree","items","keyName","mapper","x","parent","item"],"mappings":"AAAa,MAAAA,IAAc,CAC1BC,GACAC,GACAC,IAAqC,CAACC,MAAWA,GACjDC,MAEOJ,EACL,IAAI,CAACK,MACD,MAAM,QAAQA,EAAKJ,CAAO,CAAC,IACvB;AAAA,EACNC,EAAOG,GAAMD,CAAM;AAAA,EACnB,GAAGL,EAAYM,EAAKJ,CAAO,GAAGA,GAASC,GAAQA,EAAOG,GAAMD,CAAM,CAAC;AAAA,IAG9D,CAACF,EAAOG,GAAMD,CAAM,CAAC,CAC5B,EACA,KAAK;"}
|
package/dist/index266.js
CHANGED
package/dist/index267.js
CHANGED
|
@@ -1,5 +1,129 @@
|
|
|
1
|
-
|
|
1
|
+
function l(n) {
|
|
2
|
+
return d(n) ? (n.nodeName || "").toLowerCase() : "#document";
|
|
3
|
+
}
|
|
4
|
+
function i(n) {
|
|
5
|
+
var t;
|
|
6
|
+
return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
7
|
+
}
|
|
8
|
+
function S(n) {
|
|
9
|
+
var t;
|
|
10
|
+
return (t = (d(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
|
11
|
+
}
|
|
12
|
+
function d(n) {
|
|
13
|
+
return n instanceof Node || n instanceof i(n).Node;
|
|
14
|
+
}
|
|
15
|
+
function m(n) {
|
|
16
|
+
return n instanceof Element || n instanceof i(n).Element;
|
|
17
|
+
}
|
|
18
|
+
function p(n) {
|
|
19
|
+
return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
|
|
20
|
+
}
|
|
21
|
+
function f(n) {
|
|
22
|
+
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
|
23
|
+
}
|
|
24
|
+
function w(n) {
|
|
25
|
+
const {
|
|
26
|
+
overflow: t,
|
|
27
|
+
overflowX: e,
|
|
28
|
+
overflowY: o,
|
|
29
|
+
display: r
|
|
30
|
+
} = g(n);
|
|
31
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
|
32
|
+
}
|
|
33
|
+
function L(n) {
|
|
34
|
+
return ["table", "td", "th"].includes(l(n));
|
|
35
|
+
}
|
|
36
|
+
function E(n) {
|
|
37
|
+
return [":popover-open", ":modal"].some((t) => {
|
|
38
|
+
try {
|
|
39
|
+
return n.matches(t);
|
|
40
|
+
} catch {
|
|
41
|
+
return !1;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function N(n) {
|
|
46
|
+
const t = T(), e = m(n) ? g(n) : n;
|
|
47
|
+
return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
|
|
48
|
+
}
|
|
49
|
+
function D(n) {
|
|
50
|
+
let t = u(n);
|
|
51
|
+
for (; p(t) && !y(t); ) {
|
|
52
|
+
if (N(t))
|
|
53
|
+
return t;
|
|
54
|
+
if (E(t))
|
|
55
|
+
return null;
|
|
56
|
+
t = u(t);
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
function T() {
|
|
61
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
62
|
+
}
|
|
63
|
+
function y(n) {
|
|
64
|
+
return ["html", "body", "#document"].includes(l(n));
|
|
65
|
+
}
|
|
66
|
+
function g(n) {
|
|
67
|
+
return i(n).getComputedStyle(n);
|
|
68
|
+
}
|
|
69
|
+
function k(n) {
|
|
70
|
+
return m(n) ? {
|
|
71
|
+
scrollLeft: n.scrollLeft,
|
|
72
|
+
scrollTop: n.scrollTop
|
|
73
|
+
} : {
|
|
74
|
+
scrollLeft: n.scrollX,
|
|
75
|
+
scrollTop: n.scrollY
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function u(n) {
|
|
79
|
+
if (l(n) === "html")
|
|
80
|
+
return n;
|
|
81
|
+
const t = (
|
|
82
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
83
|
+
n.assignedSlot || // DOM Element detected.
|
|
84
|
+
n.parentNode || // ShadowRoot detected.
|
|
85
|
+
f(n) && n.host || // Fallback.
|
|
86
|
+
S(n)
|
|
87
|
+
);
|
|
88
|
+
return f(t) ? t.host : t;
|
|
89
|
+
}
|
|
90
|
+
function b(n) {
|
|
91
|
+
const t = u(n);
|
|
92
|
+
return y(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : p(t) && w(t) ? t : b(t);
|
|
93
|
+
}
|
|
94
|
+
function a(n, t, e) {
|
|
95
|
+
var o;
|
|
96
|
+
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
97
|
+
const r = b(n), h = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
|
98
|
+
if (h) {
|
|
99
|
+
const s = v(c);
|
|
100
|
+
return t.concat(c, c.visualViewport || [], w(r) ? r : [], s && e ? a(s) : []);
|
|
101
|
+
}
|
|
102
|
+
return t.concat(r, a(r, [], e));
|
|
103
|
+
}
|
|
104
|
+
function v(n) {
|
|
105
|
+
return Object.getPrototypeOf(n.parent) ? n.frameElement : null;
|
|
106
|
+
}
|
|
2
107
|
export {
|
|
3
|
-
|
|
108
|
+
g as getComputedStyle,
|
|
109
|
+
D as getContainingBlock,
|
|
110
|
+
S as getDocumentElement,
|
|
111
|
+
v as getFrameElement,
|
|
112
|
+
b as getNearestOverflowAncestor,
|
|
113
|
+
l as getNodeName,
|
|
114
|
+
k as getNodeScroll,
|
|
115
|
+
a as getOverflowAncestors,
|
|
116
|
+
u as getParentNode,
|
|
117
|
+
i as getWindow,
|
|
118
|
+
N as isContainingBlock,
|
|
119
|
+
m as isElement,
|
|
120
|
+
p as isHTMLElement,
|
|
121
|
+
y as isLastTraversableNode,
|
|
122
|
+
d as isNode,
|
|
123
|
+
w as isOverflowElement,
|
|
124
|
+
f as isShadowRoot,
|
|
125
|
+
L as isTableElement,
|
|
126
|
+
E as isTopLayer,
|
|
127
|
+
T as isWebKit
|
|
4
128
|
};
|
|
5
129
|
//# sourceMappingURL=index267.js.map
|