bitboss-ui 0.2.39 → 0.2.41
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/index10.js +1 -4
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +1 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +1 -4
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +2 -2
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +1 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +1 -4
- package/dist/index106.js.map +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +1 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +2 -2
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +1 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -4
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +1 -4
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +1 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -4
- package/dist/index12.js.map +1 -1
- package/dist/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index13.js.map +1 -1
- package/dist/index131.js +2 -2
- package/dist/index14.js +1 -4
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +8 -8
- package/dist/index15.js.map +1 -1
- package/dist/index158.js +1 -4
- package/dist/index158.js.map +1 -1
- package/dist/index16.js +1 -4
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +1 -4
- package/dist/index160.js.map +1 -1
- package/dist/index169.js +1 -4
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +6 -6
- package/dist/index17.js.map +1 -1
- package/dist/index18.js +1 -4
- package/dist/index18.js.map +1 -1
- package/dist/index183.js +1 -4
- package/dist/index183.js.map +1 -1
- package/dist/index185.js +1 -4
- package/dist/index185.js.map +1 -1
- package/dist/index19.js +3 -3
- package/dist/index19.js.map +1 -1
- package/dist/index196.js +10 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +3 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +35 -2
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +6 -3
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +1 -4
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +232 -32
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -2
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +3 -2
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +3 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -16
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +10 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +15 -18
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +18 -19
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +15 -24
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +29 -8
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +8 -2
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +2 -235
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +2 -3
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +368 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +131 -375
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +2 -134
- package/dist/index216.js.map +1 -1
- package/dist/index219.js +1 -1
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -4
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +2 -2
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +2 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +8 -27
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +120 -16
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +6 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +16 -120
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +2 -2
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +2 -4
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +151 -426
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +1 -91
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +68 -199
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -295
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +14 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +435 -2
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +89 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +4 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +200 -2
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +224 -2
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +258 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +295 -2
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -4
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +6 -160
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -2
- package/dist/index242.js +2 -69
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +2 -5
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -224
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +2 -258
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -2
- package/dist/index247.js +2 -117
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -106
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +117 -2
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +2 -2
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +105 -37
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +4 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +4 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +60 -14
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +3 -2
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index26.js +1 -4
- package/dist/index26.js.map +1 -1
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +1 -4
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index29.js.map +1 -1
- package/dist/index30.js +1 -4
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +19 -19
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +1 -4
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +2 -2
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +1 -4
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +2 -2
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +1 -4
- package/dist/index36.js.map +1 -1
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +1 -4
- package/dist/index38.js.map +1 -1
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +1 -4
- package/dist/index40.js.map +1 -1
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +1 -4
- package/dist/index42.js.map +1 -1
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +1 -4
- package/dist/index44.js.map +1 -1
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +1 -4
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +1 -1
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +1 -4
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +1 -1
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +1 -4
- package/dist/index50.js.map +1 -1
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +1 -4
- package/dist/index52.js.map +1 -1
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +1 -4
- package/dist/index54.js.map +1 -1
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +1 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +1 -4
- package/dist/index58.js.map +1 -1
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +1 -4
- package/dist/index60.js.map +1 -1
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +1 -4
- package/dist/index62.js.map +1 -1
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +1 -4
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +3 -3
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +1 -4
- package/dist/index66.js.map +1 -1
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +1 -4
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +13 -13
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +1 -4
- package/dist/index70.js.map +1 -1
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +1 -1
- package/dist/index72.js.map +1 -1
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +1 -4
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +1 -4
- package/dist/index76.js.map +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +1 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +3 -3
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +1 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +1 -4
- package/dist/index82.js.map +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -4
- package/dist/index84.js.map +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +1 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +1 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +1 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +1 -4
- package/dist/index94.js.map +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +1 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +1 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +33 -35
package/dist/index247.js
CHANGED
|
@@ -1,120 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
x: t,
|
|
3
|
-
y: t
|
|
4
|
-
}), m = {
|
|
5
|
-
left: "right",
|
|
6
|
-
right: "left",
|
|
7
|
-
bottom: "top",
|
|
8
|
-
top: "bottom"
|
|
9
|
-
}, p = {
|
|
10
|
-
start: "end",
|
|
11
|
-
end: "start"
|
|
12
|
-
};
|
|
13
|
-
function S(t, n, o) {
|
|
14
|
-
return a(t, l(n, o));
|
|
15
|
-
}
|
|
16
|
-
function w(t, n) {
|
|
17
|
-
return typeof t == "function" ? t(n) : t;
|
|
18
|
-
}
|
|
19
|
-
function f(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 x(t) {
|
|
29
|
-
return t === "y" ? "height" : "width";
|
|
30
|
-
}
|
|
31
|
-
function b(t) {
|
|
32
|
-
return ["top", "bottom"].includes(f(t)) ? "y" : "x";
|
|
33
|
-
}
|
|
34
|
-
function d(t) {
|
|
35
|
-
return h(b(t));
|
|
36
|
-
}
|
|
37
|
-
function j(t, n, o) {
|
|
38
|
-
o === void 0 && (o = !1);
|
|
39
|
-
const s = g(t), i = d(t), e = x(i);
|
|
40
|
-
let r = i === "x" ? s === (o ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
41
|
-
return n.reference[e] > n.floating[e] && (r = u(r)), [r, u(r)];
|
|
42
|
-
}
|
|
43
|
-
function C(t) {
|
|
44
|
-
const n = u(t);
|
|
45
|
-
return [c(t), n, c(n)];
|
|
46
|
-
}
|
|
47
|
-
function c(t) {
|
|
48
|
-
return t.replace(/start|end/g, (n) => p[n]);
|
|
49
|
-
}
|
|
50
|
-
function A(t, n, o) {
|
|
51
|
-
const s = ["left", "right"], i = ["right", "left"], e = ["top", "bottom"], r = ["bottom", "top"];
|
|
52
|
-
switch (t) {
|
|
53
|
-
case "top":
|
|
54
|
-
case "bottom":
|
|
55
|
-
return o ? n ? i : s : n ? s : i;
|
|
56
|
-
case "left":
|
|
57
|
-
case "right":
|
|
58
|
-
return n ? e : r;
|
|
59
|
-
default:
|
|
60
|
-
return [];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function L(t, n, o, s) {
|
|
64
|
-
const i = g(t);
|
|
65
|
-
let e = A(f(t), o === "start", s);
|
|
66
|
-
return i && (e = e.map((r) => r + "-" + i), n && (e = e.concat(e.map(c)))), e;
|
|
67
|
-
}
|
|
68
|
-
function u(t) {
|
|
69
|
-
return t.replace(/left|right|bottom|top/g, (n) => m[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 E(t) {
|
|
81
|
-
return typeof t != "number" ? y(t) : {
|
|
82
|
-
top: t,
|
|
83
|
-
right: t,
|
|
84
|
-
bottom: t,
|
|
85
|
-
left: t
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function R(t) {
|
|
89
|
-
return {
|
|
90
|
-
...t,
|
|
91
|
-
top: t.y,
|
|
92
|
-
left: t.x,
|
|
93
|
-
right: t.x + t.width,
|
|
94
|
-
bottom: t.y + t.height
|
|
95
|
-
};
|
|
96
|
-
}
|
|
1
|
+
import e from "./index200.js";
|
|
97
2
|
export {
|
|
98
|
-
|
|
99
|
-
O as createCoords,
|
|
100
|
-
w as evaluate,
|
|
101
|
-
y as expandPaddingObject,
|
|
102
|
-
M as floor,
|
|
103
|
-
g as getAlignment,
|
|
104
|
-
d as getAlignmentAxis,
|
|
105
|
-
j as getAlignmentSides,
|
|
106
|
-
x as getAxisLength,
|
|
107
|
-
C as getExpandedPlacements,
|
|
108
|
-
c as getOppositeAlignmentPlacement,
|
|
109
|
-
h as getOppositeAxis,
|
|
110
|
-
L as getOppositeAxisPlacements,
|
|
111
|
-
u as getOppositePlacement,
|
|
112
|
-
E as getPaddingObject,
|
|
113
|
-
f as getSide,
|
|
114
|
-
b as getSideAxis,
|
|
115
|
-
a as max,
|
|
116
|
-
l as min,
|
|
117
|
-
R as rectToClientRect,
|
|
118
|
-
P as round
|
|
3
|
+
e as default
|
|
119
4
|
};
|
|
120
5
|
//# sourceMappingURL=index247.js.map
|
package/dist/index247.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index247.js","sources":[
|
|
1
|
+
{"version":3,"file":"index247.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index248.js
CHANGED
|
@@ -1,109 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
return a(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 y(n) {
|
|
9
|
-
var t;
|
|
10
|
-
return (t = (a(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
|
11
|
-
}
|
|
12
|
-
function a(n) {
|
|
13
|
-
return n instanceof Node || n instanceof i(n).Node;
|
|
14
|
-
}
|
|
15
|
-
function S(n) {
|
|
16
|
-
return n instanceof Element || n instanceof i(n).Element;
|
|
17
|
-
}
|
|
18
|
-
function d(n) {
|
|
19
|
-
return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
|
|
20
|
-
}
|
|
21
|
-
function s(n) {
|
|
22
|
-
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
|
23
|
-
}
|
|
24
|
-
function m(n) {
|
|
25
|
-
const {
|
|
26
|
-
overflow: t,
|
|
27
|
-
overflowX: e,
|
|
28
|
-
overflowY: o,
|
|
29
|
-
display: r
|
|
30
|
-
} = p(n);
|
|
31
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
|
32
|
-
}
|
|
33
|
-
function E(n) {
|
|
34
|
-
return ["table", "td", "th"].includes(l(n));
|
|
35
|
-
}
|
|
36
|
-
function N(n) {
|
|
37
|
-
const t = h(), e = p(n);
|
|
38
|
-
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));
|
|
39
|
-
}
|
|
40
|
-
function T(n) {
|
|
41
|
-
let t = u(n);
|
|
42
|
-
for (; d(t) && !w(t); ) {
|
|
43
|
-
if (N(t))
|
|
44
|
-
return t;
|
|
45
|
-
t = u(t);
|
|
46
|
-
}
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
function h() {
|
|
50
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
51
|
-
}
|
|
52
|
-
function w(n) {
|
|
53
|
-
return ["html", "body", "#document"].includes(l(n));
|
|
54
|
-
}
|
|
55
|
-
function p(n) {
|
|
56
|
-
return i(n).getComputedStyle(n);
|
|
57
|
-
}
|
|
58
|
-
function C(n) {
|
|
59
|
-
return S(n) ? {
|
|
60
|
-
scrollLeft: n.scrollLeft,
|
|
61
|
-
scrollTop: n.scrollTop
|
|
62
|
-
} : {
|
|
63
|
-
scrollLeft: n.pageXOffset,
|
|
64
|
-
scrollTop: n.pageYOffset
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function u(n) {
|
|
68
|
-
if (l(n) === "html")
|
|
69
|
-
return n;
|
|
70
|
-
const t = (
|
|
71
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
72
|
-
n.assignedSlot || // DOM Element detected.
|
|
73
|
-
n.parentNode || // ShadowRoot detected.
|
|
74
|
-
s(n) && n.host || // Fallback.
|
|
75
|
-
y(n)
|
|
76
|
-
);
|
|
77
|
-
return s(t) ? t.host : t;
|
|
78
|
-
}
|
|
79
|
-
function g(n) {
|
|
80
|
-
const t = u(n);
|
|
81
|
-
return w(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : d(t) && m(t) ? t : g(t);
|
|
82
|
-
}
|
|
83
|
-
function f(n, t, e) {
|
|
84
|
-
var o;
|
|
85
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
86
|
-
const r = g(n), b = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
|
87
|
-
return b ? t.concat(c, c.visualViewport || [], m(r) ? r : [], c.frameElement && e ? f(c.frameElement) : []) : t.concat(r, f(r, [], e));
|
|
88
|
-
}
|
|
1
|
+
var o = { exports: {} };
|
|
89
2
|
export {
|
|
90
|
-
|
|
91
|
-
T as getContainingBlock,
|
|
92
|
-
y as getDocumentElement,
|
|
93
|
-
g as getNearestOverflowAncestor,
|
|
94
|
-
l as getNodeName,
|
|
95
|
-
C as getNodeScroll,
|
|
96
|
-
f as getOverflowAncestors,
|
|
97
|
-
u as getParentNode,
|
|
98
|
-
i as getWindow,
|
|
99
|
-
N as isContainingBlock,
|
|
100
|
-
S as isElement,
|
|
101
|
-
d as isHTMLElement,
|
|
102
|
-
w as isLastTraversableNode,
|
|
103
|
-
a as isNode,
|
|
104
|
-
m as isOverflowElement,
|
|
105
|
-
s as isShadowRoot,
|
|
106
|
-
E as isTableElement,
|
|
107
|
-
h as isWebKit
|
|
3
|
+
o as __module
|
|
108
4
|
};
|
|
109
5
|
//# sourceMappingURL=index248.js.map
|
package/dist/index248.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index248.js","sources":[
|
|
1
|
+
{"version":3,"file":"index248.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index249.js
CHANGED
|
@@ -1,5 +1,120 @@
|
|
|
1
|
-
|
|
1
|
+
const l = Math.min, a = Math.max, P = Math.round, M = Math.floor, O = (t) => ({
|
|
2
|
+
x: t,
|
|
3
|
+
y: t
|
|
4
|
+
}), m = {
|
|
5
|
+
left: "right",
|
|
6
|
+
right: "left",
|
|
7
|
+
bottom: "top",
|
|
8
|
+
top: "bottom"
|
|
9
|
+
}, p = {
|
|
10
|
+
start: "end",
|
|
11
|
+
end: "start"
|
|
12
|
+
};
|
|
13
|
+
function S(t, n, o) {
|
|
14
|
+
return a(t, l(n, o));
|
|
15
|
+
}
|
|
16
|
+
function w(t, n) {
|
|
17
|
+
return typeof t == "function" ? t(n) : t;
|
|
18
|
+
}
|
|
19
|
+
function f(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 x(t) {
|
|
29
|
+
return t === "y" ? "height" : "width";
|
|
30
|
+
}
|
|
31
|
+
function b(t) {
|
|
32
|
+
return ["top", "bottom"].includes(f(t)) ? "y" : "x";
|
|
33
|
+
}
|
|
34
|
+
function d(t) {
|
|
35
|
+
return h(b(t));
|
|
36
|
+
}
|
|
37
|
+
function j(t, n, o) {
|
|
38
|
+
o === void 0 && (o = !1);
|
|
39
|
+
const s = g(t), i = d(t), e = x(i);
|
|
40
|
+
let r = i === "x" ? s === (o ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
|
|
41
|
+
return n.reference[e] > n.floating[e] && (r = u(r)), [r, u(r)];
|
|
42
|
+
}
|
|
43
|
+
function C(t) {
|
|
44
|
+
const n = u(t);
|
|
45
|
+
return [c(t), n, c(n)];
|
|
46
|
+
}
|
|
47
|
+
function c(t) {
|
|
48
|
+
return t.replace(/start|end/g, (n) => p[n]);
|
|
49
|
+
}
|
|
50
|
+
function A(t, n, o) {
|
|
51
|
+
const s = ["left", "right"], i = ["right", "left"], e = ["top", "bottom"], r = ["bottom", "top"];
|
|
52
|
+
switch (t) {
|
|
53
|
+
case "top":
|
|
54
|
+
case "bottom":
|
|
55
|
+
return o ? n ? i : s : n ? s : i;
|
|
56
|
+
case "left":
|
|
57
|
+
case "right":
|
|
58
|
+
return n ? e : r;
|
|
59
|
+
default:
|
|
60
|
+
return [];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function L(t, n, o, s) {
|
|
64
|
+
const i = g(t);
|
|
65
|
+
let e = A(f(t), o === "start", s);
|
|
66
|
+
return i && (e = e.map((r) => r + "-" + i), n && (e = e.concat(e.map(c)))), e;
|
|
67
|
+
}
|
|
68
|
+
function u(t) {
|
|
69
|
+
return t.replace(/left|right|bottom|top/g, (n) => m[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 E(t) {
|
|
81
|
+
return typeof t != "number" ? y(t) : {
|
|
82
|
+
top: t,
|
|
83
|
+
right: t,
|
|
84
|
+
bottom: t,
|
|
85
|
+
left: t
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function R(t) {
|
|
89
|
+
return {
|
|
90
|
+
...t,
|
|
91
|
+
top: t.y,
|
|
92
|
+
left: t.x,
|
|
93
|
+
right: t.x + t.width,
|
|
94
|
+
bottom: t.y + t.height
|
|
95
|
+
};
|
|
96
|
+
}
|
|
2
97
|
export {
|
|
3
|
-
|
|
98
|
+
S as clamp,
|
|
99
|
+
O as createCoords,
|
|
100
|
+
w as evaluate,
|
|
101
|
+
y as expandPaddingObject,
|
|
102
|
+
M as floor,
|
|
103
|
+
g as getAlignment,
|
|
104
|
+
d as getAlignmentAxis,
|
|
105
|
+
j as getAlignmentSides,
|
|
106
|
+
x as getAxisLength,
|
|
107
|
+
C as getExpandedPlacements,
|
|
108
|
+
c as getOppositeAlignmentPlacement,
|
|
109
|
+
h as getOppositeAxis,
|
|
110
|
+
L as getOppositeAxisPlacements,
|
|
111
|
+
u as getOppositePlacement,
|
|
112
|
+
E as getPaddingObject,
|
|
113
|
+
f as getSide,
|
|
114
|
+
b as getSideAxis,
|
|
115
|
+
a as max,
|
|
116
|
+
l as min,
|
|
117
|
+
R as rectToClientRect,
|
|
118
|
+
P as round
|
|
4
119
|
};
|
|
5
120
|
//# sourceMappingURL=index249.js.map
|
package/dist/index249.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index249.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index249.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n return {\n ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","getSideList","side","isStart","lr","rl","tb","bt","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index25.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, computed as n, ref as _, openBlock as w, createElementBlock as B, normalizeClass as C, createElementVNode as l, normalizeProps as t, guardReactiveProps as u, renderSlot as V } from "vue";
|
|
2
|
-
import { isCssColor as i } from "./
|
|
3
|
-
import { when as E } from "./
|
|
2
|
+
import { isCssColor as i } from "./index201.js";
|
|
3
|
+
import { when as E } from "./index202.js";
|
|
4
4
|
const N = {
|
|
5
5
|
"aria-hidden": "true",
|
|
6
6
|
class: "bb-base-radio-container"
|
package/dist/index25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index25.js","sources":["../src/components/BaseRadio/BaseRadio.vue
|
|
1
|
+
{"version":3,"file":"index25.js","sources":["../src/components/BaseRadio/BaseRadio.vue"],"sourcesContent":["<template>\n\t<span :class=\"classes\">\n\t\t<input v-bind=\"inputAttributes\" />\n\t\t<span aria-hidden=\"true\" class=\"bb-base-radio-container\">\n\t\t\t<slot name=\"icon\" v-bind=\"slotAttributes\">\n\t\t\t\t<span v-bind=\"iconAttributes\"></span>\n\t\t\t</slot>\n\t\t</span>\n\t</span>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, ref } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport { when } from '@/utilities/functions/when';\nimport type { InputHTMLAttributes, HTMLAttributes } from 'vue';\n\nexport type BaseRadioProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Defines the input as checked\n\t */\n\tchecked?: InputHTMLAttributes['checked'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue?: any;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname: InputHTMLAttributes['name'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Defines the value of the radio input.\n\t * It can be any serializable value.\n\t */\n\tvalue: any;\n};\n\nexport type BaseRadioEvents = {\n\t(e: 'blur', event: FocusEvent): void;\n\t(e: 'change', event: Event): void;\n\t(e: 'click', event: MouseEvent): void;\n\t(e: 'focus', event: FocusEvent): void;\n\t(e: 'input', event: Event): void;\n\t(e: 'keydown', event: KeyboardEvent): void;\n\t(e: 'mousedown', event: MouseEvent): void;\n\t(e: 'mouseup', event: MouseEvent): void;\n\t(e: 'update:modelValue', value: any): void;\n};\n\nexport type SlotAttributes = {\n\tchecked: boolean;\n\tdisabled: Exclude<BaseRadioProps['disabled'], undefined>;\n\tfocused: boolean;\n\thasErrors: Exclude<BaseRadioProps['hasErrors'], undefined>;\n\tid: BaseRadioProps['id'];\n\tname: BaseRadioProps['name'];\n\tparsedValue: any;\n\treadonly: BaseRadioProps['readonly'];\n\tvalue: any;\n};\nconst props = defineProps<BaseRadioProps>();\n\nconst emit = defineEmits<BaseRadioEvents>();\n\ndefineSlots<{\n\ticon?: (props: SlotAttributes) => any;\n}>();\n\nconst checked = computed(() => {\n\tif (props.checked) return true;\n\treturn JSON.stringify(props.modelValue) === JSON.stringify(props.value);\n});\nconst hasFocus = ref(false);\n\nconst classes = computed(() => {\n\treturn {\n\t\t'bb-base-radio': true,\n\t\t'bb-base-radio--disabled': props.disabled,\n\t\t'bb-base-radio--errors': props.hasErrors,\n\t\t'bb-base-radio--readonly': props.readonly,\n\t\t[`bb-base-radio--${props.color}`]: props.color && !isCssColor(props.color),\n\t};\n});\n\n/**\n * This is used to keep the value compatible to common html expected values.\n * Convert to string everything that's not but do not double encode strings\n */\nconst makeInputValue = when(\n\t(item: unknown) => typeof item !== 'string',\n\tJSON.stringify\n);\n\nconst inputAttributes = computed(() => {\n\tconst value = makeInputValue(props.value);\n\n\tconst onBlur = (event: FocusEvent): void => {\n\t\thasFocus.value = false;\n\t\temit('blur', event);\n\t};\n\tconst onChange = (event: Event): void => {\n\t\temit('change', event);\n\t\temit('update:modelValue', props.value);\n\t};\n\tconst onFocus = (event: FocusEvent): void => {\n\t\thasFocus.value = true;\n\t\temit('focus', event);\n\t};\n\n\tconst eventListeners = {\n\t\tonBlur,\n\t\tonChange,\n\t\tonClick: (event: MouseEvent) => emit('click', event),\n\t\tonFocus,\n\t\tonInput: (event: Event) => emit('input', event),\n\t\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\t\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\t\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t};\n\n\treturn {\n\t\tautofocus: props.autofocus,\n\t\tchecked: checked.value,\n\t\t// There is no such thing as readonly radio so we disable and style it with css\n\t\tdisabled: props.disabled || props.readonly,\n\t\tid: props.id,\n\t\tname: props.name,\n\t\ttabindex: props.disabled ? -1 : undefined,\n\t\ttype: 'radio',\n\t\tvalue: value,\n\t\t...eventListeners,\n\t};\n});\n\nconst slotAttributes = computed<SlotAttributes>(() => ({\n\tchecked: checked.value,\n\tdisabled: props.disabled,\n\tfocused: hasFocus.value,\n\thasErrors: props.hasErrors,\n\tid: props.id,\n\tname: props.name,\n\tparsedValue: inputAttributes.value.value,\n\treadonly: props.readonly,\n\tvalue: props.value,\n}));\n\nconst iconAttributes = computed(() => {\n\tlet style: { [key: string]: string } = {};\n\tif (props.color && isCssColor(props.color)) {\n\t\tstyle.color = props.color;\n\t}\n\treturn {\n\t\tclass: 'bb-base-radio-container__icon',\n\t\tstyle,\n\t};\n});\n</script>\n\n<style lang=\"postcss\">\n@import '@/assets/css/BaseRadio';\n</style>\n"],"names":["props","__props","emit","__emit","checked","computed","hasFocus","ref","classes","isCssColor","makeInputValue","when","item","inputAttributes","value","eventListeners","event","slotAttributes","iconAttributes","style"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgGA,UAAMA,IAAQC,GAERC,IAAOC,GAMPC,IAAUC,EAAS,MACpBL,EAAM,UAAgB,KACnB,KAAK,UAAUA,EAAM,UAAU,MAAM,KAAK,UAAUA,EAAM,KAAK,CACtE,GACKM,IAAWC,EAAI,EAAK,GAEpBC,IAAUH,EAAS,OACjB;AAAA,MACN,iBAAiB;AAAA,MACjB,2BAA2BL,EAAM;AAAA,MACjC,yBAAyBA,EAAM;AAAA,MAC/B,2BAA2BA,EAAM;AAAA,MACjC,CAAC,kBAAkBA,EAAM,KAAK,EAAE,GAAGA,EAAM,SAAS,CAACS,EAAWT,EAAM,KAAK;AAAA,IAAA,EAE1E,GAMKU,IAAiBC;AAAA,MACtB,CAACC,MAAkB,OAAOA,KAAS;AAAA,MACnC,KAAK;AAAA,IAAA,GAGAC,IAAkBR,EAAS,MAAM;AAChC,YAAAS,IAAQJ,EAAeV,EAAM,KAAK,GAelCe,IAAiB;AAAA,QACtB,QAdc,CAACC,MAA4B;AAC3C,UAAAV,EAAS,QAAQ,IACjBJ,EAAK,QAAQc,CAAK;AAAA,QAAA;AAAA,QAalB,UAXgB,CAACA,MAAuB;AACxC,UAAAd,EAAK,UAAUc,CAAK,GACfd,EAAA,qBAAqBF,EAAM,KAAK;AAAA,QAAA;AAAA,QAUrC,SAAS,CAACgB,MAAsBd,EAAK,SAASc,CAAK;AAAA,QACnD,SATe,CAACA,MAA4B;AAC5C,UAAAV,EAAS,QAAQ,IACjBJ,EAAK,SAASc,CAAK;AAAA,QAAA;AAAA,QAQnB,SAAS,CAACA,MAAiBd,EAAK,SAASc,CAAK;AAAA,QAC9C,WAAW,CAACA,MAAyBd,EAAK,WAAWc,CAAK;AAAA,QAC1D,aAAa,CAACA,MAAsBd,EAAK,aAAac,CAAK;AAAA,QAC3D,WAAW,CAACA,MAAsBd,EAAK,WAAWc,CAAK;AAAA,MAAA;AAGjD,aAAA;AAAA,QACN,WAAWhB,EAAM;AAAA,QACjB,SAASI,EAAQ;AAAA;AAAA,QAEjB,UAAUJ,EAAM,YAAYA,EAAM;AAAA,QAClC,IAAIA,EAAM;AAAA,QACV,MAAMA,EAAM;AAAA,QACZ,UAAUA,EAAM,WAAW,KAAK;AAAA,QAChC,MAAM;AAAA,QACN,OAAAc;AAAA,QACA,GAAGC;AAAA,MAAA;AAAA,IACJ,CACA,GAEKE,IAAiBZ,EAAyB,OAAO;AAAA,MACtD,SAASD,EAAQ;AAAA,MACjB,UAAUJ,EAAM;AAAA,MAChB,SAASM,EAAS;AAAA,MAClB,WAAWN,EAAM;AAAA,MACjB,IAAIA,EAAM;AAAA,MACV,MAAMA,EAAM;AAAA,MACZ,aAAaa,EAAgB,MAAM;AAAA,MACnC,UAAUb,EAAM;AAAA,MAChB,OAAOA,EAAM;AAAA,IACZ,EAAA,GAEIkB,IAAiBb,EAAS,MAAM;AACrC,UAAIc,IAAmC,CAAA;AACvC,aAAInB,EAAM,SAASS,EAAWT,EAAM,KAAK,MACxCmB,EAAM,QAAQnB,EAAM,QAEd;AAAA,QACN,OAAO;AAAA,QACP,OAAAmB;AAAA,MAAA;AAAA,IACD,CACA;;;;;;;;;;;;;"}
|
package/dist/index250.js
CHANGED
|
@@ -1,41 +1,109 @@
|
|
|
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
|
-
|
|
1
|
+
function l(n) {
|
|
2
|
+
return a(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 y(n) {
|
|
9
|
+
var t;
|
|
10
|
+
return (t = (a(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
|
11
|
+
}
|
|
12
|
+
function a(n) {
|
|
13
|
+
return n instanceof Node || n instanceof i(n).Node;
|
|
14
|
+
}
|
|
15
|
+
function S(n) {
|
|
16
|
+
return n instanceof Element || n instanceof i(n).Element;
|
|
17
|
+
}
|
|
18
|
+
function d(n) {
|
|
19
|
+
return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
|
|
20
|
+
}
|
|
21
|
+
function s(n) {
|
|
22
|
+
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
|
23
|
+
}
|
|
24
|
+
function m(n) {
|
|
25
|
+
const {
|
|
26
|
+
overflow: t,
|
|
27
|
+
overflowX: e,
|
|
28
|
+
overflowY: o,
|
|
29
|
+
display: r
|
|
30
|
+
} = p(n);
|
|
31
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
|
32
|
+
}
|
|
33
|
+
function E(n) {
|
|
34
|
+
return ["table", "td", "th"].includes(l(n));
|
|
35
|
+
}
|
|
36
|
+
function N(n) {
|
|
37
|
+
const t = h(), e = p(n);
|
|
38
|
+
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));
|
|
39
|
+
}
|
|
40
|
+
function T(n) {
|
|
41
|
+
let t = u(n);
|
|
42
|
+
for (; d(t) && !w(t); ) {
|
|
43
|
+
if (N(t))
|
|
44
|
+
return t;
|
|
45
|
+
t = u(t);
|
|
27
46
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
function h() {
|
|
50
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
51
|
+
}
|
|
52
|
+
function w(n) {
|
|
53
|
+
return ["html", "body", "#document"].includes(l(n));
|
|
54
|
+
}
|
|
55
|
+
function p(n) {
|
|
56
|
+
return i(n).getComputedStyle(n);
|
|
57
|
+
}
|
|
58
|
+
function C(n) {
|
|
59
|
+
return S(n) ? {
|
|
60
|
+
scrollLeft: n.scrollLeft,
|
|
61
|
+
scrollTop: n.scrollTop
|
|
62
|
+
} : {
|
|
63
|
+
scrollLeft: n.pageXOffset,
|
|
64
|
+
scrollTop: n.pageYOffset
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function u(n) {
|
|
68
|
+
if (l(n) === "html")
|
|
69
|
+
return n;
|
|
70
|
+
const t = (
|
|
71
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
72
|
+
n.assignedSlot || // DOM Element detected.
|
|
73
|
+
n.parentNode || // ShadowRoot detected.
|
|
74
|
+
s(n) && n.host || // Fallback.
|
|
75
|
+
y(n)
|
|
76
|
+
);
|
|
77
|
+
return s(t) ? t.host : t;
|
|
78
|
+
}
|
|
79
|
+
function g(n) {
|
|
80
|
+
const t = u(n);
|
|
81
|
+
return w(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : d(t) && m(t) ? t : g(t);
|
|
82
|
+
}
|
|
83
|
+
function f(n, t, e) {
|
|
84
|
+
var o;
|
|
85
|
+
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
86
|
+
const r = g(n), b = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
|
87
|
+
return b ? t.concat(c, c.visualViewport || [], m(r) ? r : [], c.frameElement && e ? f(c.frameElement) : []) : t.concat(r, f(r, [], e));
|
|
88
|
+
}
|
|
38
89
|
export {
|
|
39
|
-
|
|
90
|
+
p as getComputedStyle,
|
|
91
|
+
T as getContainingBlock,
|
|
92
|
+
y as getDocumentElement,
|
|
93
|
+
g as getNearestOverflowAncestor,
|
|
94
|
+
l as getNodeName,
|
|
95
|
+
C as getNodeScroll,
|
|
96
|
+
f as getOverflowAncestors,
|
|
97
|
+
u as getParentNode,
|
|
98
|
+
i as getWindow,
|
|
99
|
+
N as isContainingBlock,
|
|
100
|
+
S as isElement,
|
|
101
|
+
d as isHTMLElement,
|
|
102
|
+
w as isLastTraversableNode,
|
|
103
|
+
a as isNode,
|
|
104
|
+
m as isOverflowElement,
|
|
105
|
+
s as isShadowRoot,
|
|
106
|
+
E as isTableElement,
|
|
107
|
+
h as isWebKit
|
|
40
108
|
};
|
|
41
109
|
//# sourceMappingURL=index250.js.map
|