bitboss-ui 1.0.21 → 1.0.23
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/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -0
- package/dist/index104.js +2 -2
- package/dist/index112.js +1 -1
- package/dist/index114.js +4 -4
- package/dist/index116.js +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +3 -3
- package/dist/index120.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index122.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index14.js +9 -8
- package/dist/index14.js.map +1 -1
- package/dist/index16.js +8 -8
- package/dist/index18.js +11 -11
- package/dist/index20.js +3 -3
- package/dist/index201.js +2 -295
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -16
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +2 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +234 -18
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +2 -20
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -29
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +16 -8
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +16 -2
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +19 -2
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +20 -4
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +29 -2
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +8 -3
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +2 -35
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +3 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +3 -121
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +118 -131
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +134 -2
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +33 -172
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +159 -353
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +2 -2
- package/dist/index220.js +6 -373
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +346 -213
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +364 -70
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +3 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +79 -3
- package/dist/index225.js.map +1 -1
- package/dist/index227.js +9 -8
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -23
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +23 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +6 -17
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +17 -79
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +78 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -2
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +295 -2
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +6 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -2
- package/dist/index239.js +2 -4
- package/dist/index239.js.map +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +2 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +2 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +224 -69
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +252 -429
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -89
- package/dist/index244.js.map +1 -1
- package/dist/index247.js +424 -189
- package/dist/index247.js.map +1 -1
- package/dist/index249.js +200 -224
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +68 -257
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +5 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -15
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +89 -4
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +15 -4
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +4 -61
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +4 -2
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +64 -0
- package/dist/index257.js.map +1 -0
- package/dist/index258.js +5 -0
- package/dist/index258.js.map +1 -0
- package/dist/index26.js +2 -2
- package/dist/index30.js +3 -3
- package/dist/index32.js +6 -6
- package/dist/index34.js +1 -1
- package/dist/index36.js +2 -2
- package/dist/index44.js +4 -4
- package/dist/index44.js.map +1 -1
- package/dist/index50.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index52.js.map +1 -1
- package/dist/index56.js +24 -18
- package/dist/index56.js.map +1 -1
- package/dist/index58.js +8 -8
- package/dist/index58.js.map +1 -1
- package/dist/index60.js +8 -8
- package/dist/index60.js.map +1 -1
- package/dist/index68.js +5 -5
- package/dist/index72.js +2 -2
- package/dist/index75.js +1 -1
- package/dist/index78.js +1 -1
- package/dist/index80.js +1 -1
- package/dist/index82.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index221.js
CHANGED
|
@@ -1,238 +1,371 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { shift as P, flip as tt, arrow as et, computePosition as ot } from "./index222.js";
|
|
2
|
+
import { detectOverflow as At, offset as Nt } from "./index222.js";
|
|
3
|
+
import { createCoords as x, rectToClientRect as q, round as N, floor as A, max as T, min as I } from "./index248.js";
|
|
4
|
+
import { getOverflowAncestors as V, isElement as b, getWindow as E, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as U, getNodeName as W, isOverflowElement as S, getNodeScroll as D, isTableElement as nt, isContainingBlock as K, getContainingBlock as it, getParentNode as z, isLastTraversableNode as X } from "./index246.js";
|
|
5
|
+
function j(t) {
|
|
6
|
+
const e = y(t);
|
|
7
|
+
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
8
|
+
const s = R(t), c = s ? t.offsetWidth : n, i = s ? t.offsetHeight : o, r = N(n) !== c || N(o) !== i;
|
|
9
|
+
return r && (n = c, o = i), {
|
|
10
|
+
width: n,
|
|
11
|
+
height: o,
|
|
12
|
+
$: r
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function $(t) {
|
|
16
|
+
return b(t) ? t : t.contextElement;
|
|
17
|
+
}
|
|
18
|
+
function F(t) {
|
|
19
|
+
const e = $(t);
|
|
20
|
+
if (!R(e))
|
|
21
|
+
return x(1);
|
|
22
|
+
const n = e.getBoundingClientRect(), {
|
|
23
|
+
width: o,
|
|
24
|
+
height: s,
|
|
25
|
+
$: c
|
|
26
|
+
} = j(e);
|
|
27
|
+
let i = (c ? N(n.width) : n.width) / o, r = (c ? N(n.height) : n.height) / s;
|
|
28
|
+
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
29
|
+
x: i,
|
|
30
|
+
y: r
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const st = /* @__PURE__ */ x(0);
|
|
34
|
+
function G(t) {
|
|
35
|
+
const e = E(t);
|
|
36
|
+
return !U() || !e.visualViewport ? st : {
|
|
37
|
+
x: e.visualViewport.offsetLeft,
|
|
38
|
+
y: e.visualViewport.offsetTop
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function rt(t, e, n) {
|
|
42
|
+
return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
|
|
43
|
+
}
|
|
44
|
+
function L(t, e, n, o) {
|
|
45
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
46
|
+
const s = t.getBoundingClientRect(), c = $(t);
|
|
47
|
+
let i = x(1);
|
|
48
|
+
e && (o ? b(o) && (i = F(o)) : i = F(t));
|
|
49
|
+
const r = rt(c, n, o) ? G(c) : x(0);
|
|
50
|
+
let l = (s.left + r.x) / i.x, f = (s.top + r.y) / i.y, u = s.width / i.x, h = s.height / i.y;
|
|
51
|
+
if (c) {
|
|
52
|
+
const w = E(c), g = o && b(o) ? E(o) : o;
|
|
53
|
+
let v = w, a = v.frameElement;
|
|
54
|
+
for (; a && o && g !== v; ) {
|
|
55
|
+
const p = F(a), d = a.getBoundingClientRect(), m = y(a), O = d.left + (a.clientLeft + parseFloat(m.paddingLeft)) * p.x, B = d.top + (a.clientTop + parseFloat(m.paddingTop)) * p.y;
|
|
56
|
+
l *= p.x, f *= p.y, u *= p.x, h *= p.y, l += O, f += B, v = E(a), a = v.frameElement;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return q({
|
|
60
|
+
width: u,
|
|
61
|
+
height: h,
|
|
62
|
+
x: l,
|
|
63
|
+
y: f
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
const ct = [":popover-open", ":modal"];
|
|
67
|
+
function J(t) {
|
|
68
|
+
return ct.some((e) => {
|
|
9
69
|
try {
|
|
10
|
-
|
|
70
|
+
return t.matches(e);
|
|
11
71
|
} catch {
|
|
72
|
+
return !1;
|
|
12
73
|
}
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function lt(t) {
|
|
77
|
+
let {
|
|
78
|
+
elements: e,
|
|
79
|
+
rect: n,
|
|
80
|
+
offsetParent: o,
|
|
81
|
+
strategy: s
|
|
82
|
+
} = t;
|
|
83
|
+
const c = s === "fixed", i = C(o), r = e ? J(e.floating) : !1;
|
|
84
|
+
if (o === i || r && c)
|
|
85
|
+
return n;
|
|
86
|
+
let l = {
|
|
87
|
+
scrollLeft: 0,
|
|
88
|
+
scrollTop: 0
|
|
89
|
+
}, f = x(1);
|
|
90
|
+
const u = x(0), h = R(o);
|
|
91
|
+
if ((h || !h && !c) && ((W(o) !== "body" || S(i)) && (l = D(o)), R(o))) {
|
|
92
|
+
const w = L(o);
|
|
93
|
+
f = F(o), u.x = w.x + o.clientLeft, u.y = w.y + o.clientTop;
|
|
26
94
|
}
|
|
95
|
+
return {
|
|
96
|
+
width: n.width * f.x,
|
|
97
|
+
height: n.height * f.y,
|
|
98
|
+
x: n.x * f.x - l.scrollLeft * f.x + u.x,
|
|
99
|
+
y: n.y * f.y - l.scrollTop * f.y + u.y
|
|
100
|
+
};
|
|
27
101
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
102
|
+
function ft(t) {
|
|
103
|
+
return Array.from(t.getClientRects());
|
|
30
104
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
105
|
+
function Q(t) {
|
|
106
|
+
return L(C(t)).left + D(t).scrollLeft;
|
|
33
107
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return u ? e[t] !== void 0 : _.call(e, t);
|
|
45
|
-
}
|
|
46
|
-
function rt(t, e) {
|
|
47
|
-
var r = this.__data__;
|
|
48
|
-
return r[t] = u && e === void 0 ? O : e, this;
|
|
49
|
-
}
|
|
50
|
-
a.prototype.clear = Z;
|
|
51
|
-
a.prototype.delete = k;
|
|
52
|
-
a.prototype.get = tt;
|
|
53
|
-
a.prototype.has = et;
|
|
54
|
-
a.prototype.set = rt;
|
|
55
|
-
function i(t) {
|
|
56
|
-
var e = -1, r = t ? t.length : 0;
|
|
57
|
-
for (this.clear(); ++e < r; ) {
|
|
58
|
-
var n = t[e];
|
|
59
|
-
this.set(n[0], n[1]);
|
|
60
|
-
}
|
|
108
|
+
function ut(t) {
|
|
109
|
+
const e = C(t), n = D(t), o = t.ownerDocument.body, s = T(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), c = T(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
110
|
+
let i = -n.scrollLeft + Q(t);
|
|
111
|
+
const r = -n.scrollTop;
|
|
112
|
+
return y(o).direction === "rtl" && (i += T(e.clientWidth, o.clientWidth) - s), {
|
|
113
|
+
width: s,
|
|
114
|
+
height: c,
|
|
115
|
+
x: i,
|
|
116
|
+
y: r
|
|
117
|
+
};
|
|
61
118
|
}
|
|
62
|
-
function
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
var n = e.length - 1;
|
|
70
|
-
return r == n ? e.pop() : Q.call(e, r, 1), !0;
|
|
71
|
-
}
|
|
72
|
-
function ot(t) {
|
|
73
|
-
var e = this.__data__, r = h(e, t);
|
|
74
|
-
return r < 0 ? void 0 : e[r][1];
|
|
75
|
-
}
|
|
76
|
-
function it(t) {
|
|
77
|
-
return h(this.__data__, t) > -1;
|
|
78
|
-
}
|
|
79
|
-
function ct(t, e) {
|
|
80
|
-
var r = this.__data__, n = h(r, t);
|
|
81
|
-
return n < 0 ? r.push([t, e]) : r[n][1] = e, this;
|
|
82
|
-
}
|
|
83
|
-
i.prototype.clear = nt;
|
|
84
|
-
i.prototype.delete = at;
|
|
85
|
-
i.prototype.get = ot;
|
|
86
|
-
i.prototype.has = it;
|
|
87
|
-
i.prototype.set = ct;
|
|
88
|
-
function o(t) {
|
|
89
|
-
var e = -1, r = t ? t.length : 0;
|
|
90
|
-
for (this.clear(); ++e < r; ) {
|
|
91
|
-
var n = t[e];
|
|
92
|
-
this.set(n[0], n[1]);
|
|
119
|
+
function ht(t, e) {
|
|
120
|
+
const n = E(t), o = C(t), s = n.visualViewport;
|
|
121
|
+
let c = o.clientWidth, i = o.clientHeight, r = 0, l = 0;
|
|
122
|
+
if (s) {
|
|
123
|
+
c = s.width, i = s.height;
|
|
124
|
+
const f = U();
|
|
125
|
+
(!f || f && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
93
126
|
}
|
|
127
|
+
return {
|
|
128
|
+
width: c,
|
|
129
|
+
height: i,
|
|
130
|
+
x: r,
|
|
131
|
+
y: l
|
|
132
|
+
};
|
|
94
133
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
134
|
+
function at(t, e) {
|
|
135
|
+
const n = L(t, !0, e === "fixed"), o = n.top + t.clientTop, s = n.left + t.clientLeft, c = R(t) ? F(t) : x(1), i = t.clientWidth * c.x, r = t.clientHeight * c.y, l = s * c.x, f = o * c.y;
|
|
136
|
+
return {
|
|
137
|
+
width: i,
|
|
138
|
+
height: r,
|
|
139
|
+
x: l,
|
|
140
|
+
y: f
|
|
100
141
|
};
|
|
101
142
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
143
|
+
function _(t, e, n) {
|
|
144
|
+
let o;
|
|
145
|
+
if (e === "viewport")
|
|
146
|
+
o = ht(t, n);
|
|
147
|
+
else if (e === "document")
|
|
148
|
+
o = ut(C(t));
|
|
149
|
+
else if (b(e))
|
|
150
|
+
o = at(e, n);
|
|
151
|
+
else {
|
|
152
|
+
const s = G(t);
|
|
153
|
+
o = {
|
|
154
|
+
...e,
|
|
155
|
+
x: e.x - s.x,
|
|
156
|
+
y: e.y - s.y
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
return q(o);
|
|
160
|
+
}
|
|
161
|
+
function Y(t, e) {
|
|
162
|
+
const n = z(t);
|
|
163
|
+
return n === e || !b(n) || X(n) ? !1 : y(n).position === "fixed" || Y(n, e);
|
|
164
|
+
}
|
|
165
|
+
function dt(t, e) {
|
|
166
|
+
const n = e.get(t);
|
|
167
|
+
if (n)
|
|
168
|
+
return n;
|
|
169
|
+
let o = V(t, [], !1).filter((r) => b(r) && W(r) !== "body"), s = null;
|
|
170
|
+
const c = y(t).position === "fixed";
|
|
171
|
+
let i = c ? z(t) : t;
|
|
172
|
+
for (; b(i) && !X(i); ) {
|
|
173
|
+
const r = y(i), l = K(i);
|
|
174
|
+
!l && r.position === "fixed" && (s = null), (c ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || S(i) && !l && Y(t, i)) ? o = o.filter((u) => u !== i) : s = r, i = z(i);
|
|
175
|
+
}
|
|
176
|
+
return e.set(t, o), o;
|
|
177
|
+
}
|
|
178
|
+
function gt(t) {
|
|
179
|
+
let {
|
|
180
|
+
element: e,
|
|
181
|
+
boundary: n,
|
|
182
|
+
rootBoundary: o,
|
|
183
|
+
strategy: s
|
|
184
|
+
} = t;
|
|
185
|
+
const i = [...n === "clippingAncestors" ? dt(e, this._c) : [].concat(n), o], r = i[0], l = i.reduce((f, u) => {
|
|
186
|
+
const h = _(e, u, s);
|
|
187
|
+
return f.top = T(h.top, f.top), f.right = I(h.right, f.right), f.bottom = I(h.bottom, f.bottom), f.left = T(h.left, f.left), f;
|
|
188
|
+
}, _(e, r, s));
|
|
189
|
+
return {
|
|
190
|
+
width: l.right - l.left,
|
|
191
|
+
height: l.bottom - l.top,
|
|
192
|
+
x: l.left,
|
|
193
|
+
y: l.top
|
|
194
|
+
};
|
|
104
195
|
}
|
|
105
|
-
function
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
o.prototype.clear = st;
|
|
115
|
-
o.prototype.delete = ut;
|
|
116
|
-
o.prototype.get = ft;
|
|
117
|
-
o.prototype.has = ht;
|
|
118
|
-
o.prototype.set = pt;
|
|
119
|
-
function h(t, e) {
|
|
120
|
-
for (var r = t.length; r--; )
|
|
121
|
-
if (Ot(t[r][0], e))
|
|
122
|
-
return r;
|
|
123
|
-
return -1;
|
|
124
|
-
}
|
|
125
|
-
function lt(t, e) {
|
|
126
|
-
e = gt(e, t) ? [e] : yt(e);
|
|
127
|
-
for (var r = 0, n = e.length; t != null && r < n; )
|
|
128
|
-
t = t[vt(e[r++])];
|
|
129
|
-
return r && r == n ? t : void 0;
|
|
130
|
-
}
|
|
131
|
-
function dt(t) {
|
|
132
|
-
if (!E(t) || mt(t))
|
|
133
|
-
return !1;
|
|
134
|
-
var e = jt(t) || V(t) ? B : z;
|
|
135
|
-
return e.test(St(t));
|
|
136
|
-
}
|
|
137
|
-
function _t(t) {
|
|
138
|
-
if (typeof t == "string")
|
|
139
|
-
return t;
|
|
140
|
-
if (g(t))
|
|
141
|
-
return S ? S.call(t) : "";
|
|
142
|
-
var e = t + "";
|
|
143
|
-
return e == "0" && 1 / t == -j ? "-0" : e;
|
|
196
|
+
function pt(t) {
|
|
197
|
+
const {
|
|
198
|
+
width: e,
|
|
199
|
+
height: n
|
|
200
|
+
} = j(t);
|
|
201
|
+
return {
|
|
202
|
+
width: e,
|
|
203
|
+
height: n
|
|
204
|
+
};
|
|
144
205
|
}
|
|
206
|
+
function mt(t, e, n) {
|
|
207
|
+
const o = R(e), s = C(e), c = n === "fixed", i = L(t, !0, c, e);
|
|
208
|
+
let r = {
|
|
209
|
+
scrollLeft: 0,
|
|
210
|
+
scrollTop: 0
|
|
211
|
+
};
|
|
212
|
+
const l = x(0);
|
|
213
|
+
if (o || !o && !c)
|
|
214
|
+
if ((W(e) !== "body" || S(s)) && (r = D(e)), o) {
|
|
215
|
+
const h = L(e, !0, c, e);
|
|
216
|
+
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
217
|
+
} else
|
|
218
|
+
s && (l.x = Q(s));
|
|
219
|
+
const f = i.left + r.scrollLeft - l.x, u = i.top + r.scrollTop - l.y;
|
|
220
|
+
return {
|
|
221
|
+
x: f,
|
|
222
|
+
y: u,
|
|
223
|
+
width: i.width,
|
|
224
|
+
height: i.height
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
function k(t, e) {
|
|
228
|
+
return !R(t) || y(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
229
|
+
}
|
|
230
|
+
function Z(t, e) {
|
|
231
|
+
const n = E(t);
|
|
232
|
+
if (!R(t) || J(t))
|
|
233
|
+
return n;
|
|
234
|
+
let o = k(t, e);
|
|
235
|
+
for (; o && nt(o) && y(o).position === "static"; )
|
|
236
|
+
o = k(o, e);
|
|
237
|
+
return o && (W(o) === "html" || W(o) === "body" && y(o).position === "static" && !K(o)) ? n : o || it(t) || n;
|
|
238
|
+
}
|
|
239
|
+
const wt = async function(t) {
|
|
240
|
+
const e = this.getOffsetParent || Z, n = this.getDimensions;
|
|
241
|
+
return {
|
|
242
|
+
reference: mt(t.reference, await e(t.floating), t.strategy),
|
|
243
|
+
floating: {
|
|
244
|
+
x: 0,
|
|
245
|
+
y: 0,
|
|
246
|
+
...await n(t.floating)
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
};
|
|
145
250
|
function yt(t) {
|
|
146
|
-
return
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
function
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
251
|
+
return y(t).direction === "rtl";
|
|
252
|
+
}
|
|
253
|
+
const vt = {
|
|
254
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: lt,
|
|
255
|
+
getDocumentElement: C,
|
|
256
|
+
getClippingRect: gt,
|
|
257
|
+
getOffsetParent: Z,
|
|
258
|
+
getElementRects: wt,
|
|
259
|
+
getClientRects: ft,
|
|
260
|
+
getDimensions: pt,
|
|
261
|
+
getScale: F,
|
|
262
|
+
isElement: b,
|
|
263
|
+
isRTL: yt
|
|
264
|
+
};
|
|
265
|
+
function xt(t, e) {
|
|
266
|
+
let n = null, o;
|
|
267
|
+
const s = C(t);
|
|
268
|
+
function c() {
|
|
269
|
+
var r;
|
|
270
|
+
clearTimeout(o), (r = n) == null || r.disconnect(), n = null;
|
|
271
|
+
}
|
|
272
|
+
function i(r, l) {
|
|
273
|
+
r === void 0 && (r = !1), l === void 0 && (l = 1), c();
|
|
274
|
+
const {
|
|
275
|
+
left: f,
|
|
276
|
+
top: u,
|
|
277
|
+
width: h,
|
|
278
|
+
height: w
|
|
279
|
+
} = t.getBoundingClientRect();
|
|
280
|
+
if (r || e(), !h || !w)
|
|
281
|
+
return;
|
|
282
|
+
const g = A(u), v = A(s.clientWidth - (f + h)), a = A(s.clientHeight - (u + w)), p = A(f), m = {
|
|
283
|
+
rootMargin: -g + "px " + -v + "px " + -a + "px " + -p + "px",
|
|
284
|
+
threshold: T(0, I(1, l)) || 1
|
|
285
|
+
};
|
|
286
|
+
let O = !0;
|
|
287
|
+
function B(M) {
|
|
288
|
+
const H = M[0].intersectionRatio;
|
|
289
|
+
if (H !== l) {
|
|
290
|
+
if (!O)
|
|
291
|
+
return i();
|
|
292
|
+
H ? i(!1, H) : o = setTimeout(() => {
|
|
293
|
+
i(!1, 1e-7);
|
|
294
|
+
}, 100);
|
|
295
|
+
}
|
|
296
|
+
O = !1;
|
|
187
297
|
}
|
|
188
298
|
try {
|
|
189
|
-
|
|
299
|
+
n = new IntersectionObserver(B, {
|
|
300
|
+
...m,
|
|
301
|
+
// Handle <iframe>s
|
|
302
|
+
root: s.ownerDocument
|
|
303
|
+
});
|
|
190
304
|
} catch {
|
|
305
|
+
n = new IntersectionObserver(B, m);
|
|
191
306
|
}
|
|
307
|
+
n.observe(t);
|
|
192
308
|
}
|
|
193
|
-
return
|
|
194
|
-
}
|
|
195
|
-
function
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
309
|
+
return i(!0), c;
|
|
310
|
+
}
|
|
311
|
+
function Ot(t, e, n, o) {
|
|
312
|
+
o === void 0 && (o = {});
|
|
313
|
+
const {
|
|
314
|
+
ancestorScroll: s = !0,
|
|
315
|
+
ancestorResize: c = !0,
|
|
316
|
+
elementResize: i = typeof ResizeObserver == "function",
|
|
317
|
+
layoutShift: r = typeof IntersectionObserver == "function",
|
|
318
|
+
animationFrame: l = !1
|
|
319
|
+
} = o, f = $(t), u = s || c ? [...f ? V(f) : [], ...V(e)] : [];
|
|
320
|
+
u.forEach((d) => {
|
|
321
|
+
s && d.addEventListener("scroll", n, {
|
|
322
|
+
passive: !0
|
|
323
|
+
}), c && d.addEventListener("resize", n);
|
|
324
|
+
});
|
|
325
|
+
const h = f && r ? xt(f, n) : null;
|
|
326
|
+
let w = -1, g = null;
|
|
327
|
+
i && (g = new ResizeObserver((d) => {
|
|
328
|
+
let [m] = d;
|
|
329
|
+
m && m.target === f && g && (g.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
330
|
+
var O;
|
|
331
|
+
(O = g) == null || O.observe(e);
|
|
332
|
+
})), n();
|
|
333
|
+
}), f && !l && g.observe(f), g.observe(e));
|
|
334
|
+
let v, a = l ? L(t) : null;
|
|
335
|
+
l && p();
|
|
336
|
+
function p() {
|
|
337
|
+
const d = L(t);
|
|
338
|
+
a && (d.x !== a.x || d.y !== a.y || d.width !== a.width || d.height !== a.height) && n(), a = d, v = requestAnimationFrame(p);
|
|
339
|
+
}
|
|
340
|
+
return n(), () => {
|
|
341
|
+
var d;
|
|
342
|
+
u.forEach((m) => {
|
|
343
|
+
s && m.removeEventListener("scroll", n), c && m.removeEventListener("resize", n);
|
|
344
|
+
}), h == null || h(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(v);
|
|
204
345
|
};
|
|
205
|
-
return r.cache = new (y.Cache || o)(), r;
|
|
206
|
-
}
|
|
207
|
-
y.Cache = o;
|
|
208
|
-
function Ot(t, e) {
|
|
209
|
-
return t === e || t !== t && e !== e;
|
|
210
|
-
}
|
|
211
|
-
var I = Array.isArray;
|
|
212
|
-
function jt(t) {
|
|
213
|
-
var e = E(t) ? P.call(t) : "";
|
|
214
|
-
return e == F || e == N;
|
|
215
|
-
}
|
|
216
|
-
function E(t) {
|
|
217
|
-
var e = typeof t;
|
|
218
|
-
return !!t && (e == "object" || e == "function");
|
|
219
|
-
}
|
|
220
|
-
function wt(t) {
|
|
221
|
-
return !!t && typeof t == "object";
|
|
222
346
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
347
|
+
const Et = P, Lt = tt, Tt = et, Ft = (t, e, n) => {
|
|
348
|
+
const o = /* @__PURE__ */ new Map(), s = {
|
|
349
|
+
platform: vt,
|
|
350
|
+
...n
|
|
351
|
+
}, c = {
|
|
352
|
+
...s.platform,
|
|
353
|
+
_c: o
|
|
354
|
+
};
|
|
355
|
+
return ot(t, e, {
|
|
356
|
+
...s,
|
|
357
|
+
platform: c
|
|
358
|
+
});
|
|
359
|
+
};
|
|
235
360
|
export {
|
|
236
|
-
|
|
361
|
+
Tt as arrow,
|
|
362
|
+
Ot as autoUpdate,
|
|
363
|
+
Ft as computePosition,
|
|
364
|
+
At as detectOverflow,
|
|
365
|
+
Lt as flip,
|
|
366
|
+
V as getOverflowAncestors,
|
|
367
|
+
Nt as offset,
|
|
368
|
+
vt as platform,
|
|
369
|
+
Et as shift
|
|
237
370
|
};
|
|
238
371
|
//# sourceMappingURL=index221.js.map
|