overview-components 1.0.112 → 1.0.114
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/package.json +1 -1
- package/dist/_virtual/FileSaver.min.js +0 -4
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/_commonjs-dynamic-modules.js +0 -6
- package/dist/_virtual/_commonjsHelpers.js +0 -28
- package/dist/_virtual/air-datepicker.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/lodash.js +0 -4
- package/dist/_virtual/pdf.js +0 -4
- package/dist/_virtual/react.production.js +0 -4
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -486
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -391
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -131
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -448
- package/dist/node_modules/@lit/localize/init/install.js +0 -11
- package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
- package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
- package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
- package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
- package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
- package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
- package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
- package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
- package/dist/node_modules/@lit/react/create-component.js +0 -35
- package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
- package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
- package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
- package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
- package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
- package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
- package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
- package/dist/node_modules/air-datepicker/air-datepicker.js +0 -1147
- package/dist/node_modules/air-datepicker/index.es.js +0 -4
- package/dist/node_modules/chart.js/dist/chart.js +0 -7122
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +0 -1691
- package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
- package/dist/node_modules/lit-element/lit-element.js +0 -51
- package/dist/node_modules/lit-html/async-directive.js +0 -69
- package/dist/node_modules/lit-html/directive-helpers.js +0 -45
- package/dist/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/lit-html/directives/class-map.js +0 -34
- package/dist/node_modules/lit-html/directives/ref.js +0 -42
- package/dist/node_modules/lit-html/directives/repeat.js +0 -61
- package/dist/node_modules/lit-html/directives/style-map.js +0 -36
- package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
- package/dist/node_modules/lit-html/lit-html.js +0 -243
- package/dist/node_modules/lodash/lodash.js +0 -3678
- package/dist/node_modules/luxon/src/datetime.js +0 -1793
- package/dist/node_modules/luxon/src/duration.js +0 -723
- package/dist/node_modules/luxon/src/errors.js +0 -40
- package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
- package/dist/node_modules/luxon/src/impl/diff.js +0 -36
- package/dist/node_modules/luxon/src/impl/digits.js +0 -74
- package/dist/node_modules/luxon/src/impl/english.js +0 -138
- package/dist/node_modules/luxon/src/impl/formats.js +0 -150
- package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
- package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
- package/dist/node_modules/luxon/src/impl/locale.js +0 -282
- package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
- package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
- package/dist/node_modules/luxon/src/impl/util.js +0 -206
- package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
- package/dist/node_modules/luxon/src/info.js +0 -180
- package/dist/node_modules/luxon/src/interval.js +0 -466
- package/dist/node_modules/luxon/src/settings.js +0 -150
- package/dist/node_modules/luxon/src/zone.js +0 -88
- package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
- package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
- package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
- package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
- package/dist/node_modules/pdfjs-dist/build/pdf.js +0 -10310
- package/dist/node_modules/react/cjs/react.production.js +0 -417
- package/dist/node_modules/react/index.js +0 -10
- package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import { offset as it, flip as nt, shift as ot, size as st, arrow as rt, computePosition as ct, hide as lt } from "../../core/dist/floating-ui.core.js";
|
|
2
|
-
import { createCoords as y, round as D, max as E, min as V, rectToClientRect as G, floor as z } from "../../utils/dist/floating-ui.utils.js";
|
|
3
|
-
import { isElement as v, getDocumentElement as R, getComputedStyle as b, isHTMLElement as O, getWindow as L, isTopLayer as M, getParentNode as W, isLastTraversableNode as H, isTableElement as ft, isContainingBlock as J, getContainingBlock as ut, getNodeName as S, isOverflowElement as _, getNodeScroll as N, getOverflowAncestors as $, getFrameElement as U, isWebKit as Q } from "../../utils/dist/floating-ui.utils.dom.js";
|
|
4
|
-
function Y(t) {
|
|
5
|
-
const e = b(t);
|
|
6
|
-
let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
7
|
-
const o = O(t), r = o ? t.offsetWidth : i, s = o ? t.offsetHeight : n, c = D(i) !== r || D(n) !== s;
|
|
8
|
-
return c && (i = r, n = s), {
|
|
9
|
-
width: i,
|
|
10
|
-
height: n,
|
|
11
|
-
$: c
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
function k(t) {
|
|
15
|
-
return v(t) ? t : t.contextElement;
|
|
16
|
-
}
|
|
17
|
-
function F(t) {
|
|
18
|
-
const e = k(t);
|
|
19
|
-
if (!O(e))
|
|
20
|
-
return y(1);
|
|
21
|
-
const i = e.getBoundingClientRect(), {
|
|
22
|
-
width: n,
|
|
23
|
-
height: o,
|
|
24
|
-
$: r
|
|
25
|
-
} = Y(e);
|
|
26
|
-
let s = (r ? D(i.width) : i.width) / n, c = (r ? D(i.height) : i.height) / o;
|
|
27
|
-
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
|
-
x: s,
|
|
29
|
-
y: c
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
const ht = /* @__PURE__ */ y(0);
|
|
33
|
-
function Z(t) {
|
|
34
|
-
const e = L(t);
|
|
35
|
-
return !Q() || !e.visualViewport ? ht : {
|
|
36
|
-
x: e.visualViewport.offsetLeft,
|
|
37
|
-
y: e.visualViewport.offsetTop
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function at(t, e, i) {
|
|
41
|
-
return e === void 0 && (e = !1), !i || e && i !== L(t) ? !1 : e;
|
|
42
|
-
}
|
|
43
|
-
function T(t, e, i, n) {
|
|
44
|
-
e === void 0 && (e = !1), i === void 0 && (i = !1);
|
|
45
|
-
const o = t.getBoundingClientRect(), r = k(t);
|
|
46
|
-
let s = y(1);
|
|
47
|
-
e && (n ? v(n) && (s = F(n)) : s = F(t));
|
|
48
|
-
const c = at(r, i, n) ? Z(r) : y(0);
|
|
49
|
-
let l = (o.left + c.x) / s.x, f = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
|
|
50
|
-
if (r) {
|
|
51
|
-
const p = L(r), g = n && v(n) ? L(n) : n;
|
|
52
|
-
let x = p, a = U(x);
|
|
53
|
-
for (; a && n && g !== x; ) {
|
|
54
|
-
const w = F(a), d = a.getBoundingClientRect(), m = b(a), C = d.left + (a.clientLeft + parseFloat(m.paddingLeft)) * w.x, B = d.top + (a.clientTop + parseFloat(m.paddingTop)) * w.y;
|
|
55
|
-
l *= w.x, f *= w.y, u *= w.x, h *= w.y, l += C, f += B, x = L(a), a = U(x);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return G({
|
|
59
|
-
width: u,
|
|
60
|
-
height: h,
|
|
61
|
-
x: l,
|
|
62
|
-
y: f
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function q(t, e) {
|
|
66
|
-
const i = N(t).scrollLeft;
|
|
67
|
-
return e ? e.left + i : T(R(t)).left + i;
|
|
68
|
-
}
|
|
69
|
-
function X(t, e, i) {
|
|
70
|
-
i === void 0 && (i = !1);
|
|
71
|
-
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - (i ? 0 : (
|
|
72
|
-
// RTL <body> scrollbar.
|
|
73
|
-
q(t, n)
|
|
74
|
-
)), r = n.top + e.scrollTop;
|
|
75
|
-
return {
|
|
76
|
-
x: o,
|
|
77
|
-
y: r
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function dt(t) {
|
|
81
|
-
let {
|
|
82
|
-
elements: e,
|
|
83
|
-
rect: i,
|
|
84
|
-
offsetParent: n,
|
|
85
|
-
strategy: o
|
|
86
|
-
} = t;
|
|
87
|
-
const r = o === "fixed", s = R(n), c = e ? M(e.floating) : !1;
|
|
88
|
-
if (n === s || c && r)
|
|
89
|
-
return i;
|
|
90
|
-
let l = {
|
|
91
|
-
scrollLeft: 0,
|
|
92
|
-
scrollTop: 0
|
|
93
|
-
}, f = y(1);
|
|
94
|
-
const u = y(0), h = O(n);
|
|
95
|
-
if ((h || !h && !r) && ((S(n) !== "body" || _(s)) && (l = N(n)), O(n))) {
|
|
96
|
-
const g = T(n);
|
|
97
|
-
f = F(n), u.x = g.x + n.clientLeft, u.y = g.y + n.clientTop;
|
|
98
|
-
}
|
|
99
|
-
const p = s && !h && !r ? X(s, l, !0) : y(0);
|
|
100
|
-
return {
|
|
101
|
-
width: i.width * f.x,
|
|
102
|
-
height: i.height * f.y,
|
|
103
|
-
x: i.x * f.x - l.scrollLeft * f.x + u.x + p.x,
|
|
104
|
-
y: i.y * f.y - l.scrollTop * f.y + u.y + p.y
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
function gt(t) {
|
|
108
|
-
return Array.from(t.getClientRects());
|
|
109
|
-
}
|
|
110
|
-
function pt(t) {
|
|
111
|
-
const e = R(t), i = N(t), n = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = E(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
112
|
-
let s = -i.scrollLeft + q(t);
|
|
113
|
-
const c = -i.scrollTop;
|
|
114
|
-
return b(n).direction === "rtl" && (s += E(e.clientWidth, n.clientWidth) - o), {
|
|
115
|
-
width: o,
|
|
116
|
-
height: r,
|
|
117
|
-
x: s,
|
|
118
|
-
y: c
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function wt(t, e) {
|
|
122
|
-
const i = L(t), n = R(t), o = i.visualViewport;
|
|
123
|
-
let r = n.clientWidth, s = n.clientHeight, c = 0, l = 0;
|
|
124
|
-
if (o) {
|
|
125
|
-
r = o.width, s = o.height;
|
|
126
|
-
const f = Q();
|
|
127
|
-
(!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
|
|
128
|
-
}
|
|
129
|
-
return {
|
|
130
|
-
width: r,
|
|
131
|
-
height: s,
|
|
132
|
-
x: c,
|
|
133
|
-
y: l
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function mt(t, e) {
|
|
137
|
-
const i = T(t, !0, e === "fixed"), n = i.top + t.clientTop, o = i.left + t.clientLeft, r = O(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = o * r.x, f = n * r.y;
|
|
138
|
-
return {
|
|
139
|
-
width: s,
|
|
140
|
-
height: c,
|
|
141
|
-
x: l,
|
|
142
|
-
y: f
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function K(t, e, i) {
|
|
146
|
-
let n;
|
|
147
|
-
if (e === "viewport")
|
|
148
|
-
n = wt(t, i);
|
|
149
|
-
else if (e === "document")
|
|
150
|
-
n = pt(R(t));
|
|
151
|
-
else if (v(e))
|
|
152
|
-
n = mt(e, i);
|
|
153
|
-
else {
|
|
154
|
-
const o = Z(t);
|
|
155
|
-
n = {
|
|
156
|
-
x: e.x - o.x,
|
|
157
|
-
y: e.y - o.y,
|
|
158
|
-
width: e.width,
|
|
159
|
-
height: e.height
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
return G(n);
|
|
163
|
-
}
|
|
164
|
-
function tt(t, e) {
|
|
165
|
-
const i = W(t);
|
|
166
|
-
return i === e || !v(i) || H(i) ? !1 : b(i).position === "fixed" || tt(i, e);
|
|
167
|
-
}
|
|
168
|
-
function yt(t, e) {
|
|
169
|
-
const i = e.get(t);
|
|
170
|
-
if (i)
|
|
171
|
-
return i;
|
|
172
|
-
let n = $(t, [], !1).filter((c) => v(c) && S(c) !== "body"), o = null;
|
|
173
|
-
const r = b(t).position === "fixed";
|
|
174
|
-
let s = r ? W(t) : t;
|
|
175
|
-
for (; v(s) && !H(s); ) {
|
|
176
|
-
const c = b(s), l = J(s);
|
|
177
|
-
!l && c.position === "fixed" && (o = null), (r ? !l && !o : !l && c.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || _(s) && !l && tt(t, s)) ? n = n.filter((u) => u !== s) : o = c, s = W(s);
|
|
178
|
-
}
|
|
179
|
-
return e.set(t, n), n;
|
|
180
|
-
}
|
|
181
|
-
function xt(t) {
|
|
182
|
-
let {
|
|
183
|
-
element: e,
|
|
184
|
-
boundary: i,
|
|
185
|
-
rootBoundary: n,
|
|
186
|
-
strategy: o
|
|
187
|
-
} = t;
|
|
188
|
-
const s = [...i === "clippingAncestors" ? M(e) ? [] : yt(e, this._c) : [].concat(i), n], c = s[0], l = s.reduce((f, u) => {
|
|
189
|
-
const h = K(e, u, o);
|
|
190
|
-
return f.top = E(h.top, f.top), f.right = V(h.right, f.right), f.bottom = V(h.bottom, f.bottom), f.left = E(h.left, f.left), f;
|
|
191
|
-
}, K(e, c, o));
|
|
192
|
-
return {
|
|
193
|
-
width: l.right - l.left,
|
|
194
|
-
height: l.bottom - l.top,
|
|
195
|
-
x: l.left,
|
|
196
|
-
y: l.top
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
function vt(t) {
|
|
200
|
-
const {
|
|
201
|
-
width: e,
|
|
202
|
-
height: i
|
|
203
|
-
} = Y(t);
|
|
204
|
-
return {
|
|
205
|
-
width: e,
|
|
206
|
-
height: i
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
function bt(t, e, i) {
|
|
210
|
-
const n = O(e), o = R(e), r = i === "fixed", s = T(t, !0, r, e);
|
|
211
|
-
let c = {
|
|
212
|
-
scrollLeft: 0,
|
|
213
|
-
scrollTop: 0
|
|
214
|
-
};
|
|
215
|
-
const l = y(0);
|
|
216
|
-
if (n || !n && !r)
|
|
217
|
-
if ((S(e) !== "body" || _(o)) && (c = N(e)), n) {
|
|
218
|
-
const p = T(e, !0, r, e);
|
|
219
|
-
l.x = p.x + e.clientLeft, l.y = p.y + e.clientTop;
|
|
220
|
-
} else o && (l.x = q(o));
|
|
221
|
-
const f = o && !n && !r ? X(o, c) : y(0), u = s.left + c.scrollLeft - l.x - f.x, h = s.top + c.scrollTop - l.y - f.y;
|
|
222
|
-
return {
|
|
223
|
-
x: u,
|
|
224
|
-
y: h,
|
|
225
|
-
width: s.width,
|
|
226
|
-
height: s.height
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
function I(t) {
|
|
230
|
-
return b(t).position === "static";
|
|
231
|
-
}
|
|
232
|
-
function j(t, e) {
|
|
233
|
-
if (!O(t) || b(t).position === "fixed")
|
|
234
|
-
return null;
|
|
235
|
-
if (e)
|
|
236
|
-
return e(t);
|
|
237
|
-
let i = t.offsetParent;
|
|
238
|
-
return R(t) === i && (i = i.ownerDocument.body), i;
|
|
239
|
-
}
|
|
240
|
-
function et(t, e) {
|
|
241
|
-
const i = L(t);
|
|
242
|
-
if (M(t))
|
|
243
|
-
return i;
|
|
244
|
-
if (!O(t)) {
|
|
245
|
-
let o = W(t);
|
|
246
|
-
for (; o && !H(o); ) {
|
|
247
|
-
if (v(o) && !I(o))
|
|
248
|
-
return o;
|
|
249
|
-
o = W(o);
|
|
250
|
-
}
|
|
251
|
-
return i;
|
|
252
|
-
}
|
|
253
|
-
let n = j(t, e);
|
|
254
|
-
for (; n && ft(n) && I(n); )
|
|
255
|
-
n = j(n, e);
|
|
256
|
-
return n && H(n) && I(n) && !J(n) ? i : n || ut(t) || i;
|
|
257
|
-
}
|
|
258
|
-
const Rt = async function(t) {
|
|
259
|
-
const e = this.getOffsetParent || et, i = this.getDimensions, n = await i(t.floating);
|
|
260
|
-
return {
|
|
261
|
-
reference: bt(t.reference, await e(t.floating), t.strategy),
|
|
262
|
-
floating: {
|
|
263
|
-
x: 0,
|
|
264
|
-
y: 0,
|
|
265
|
-
width: n.width,
|
|
266
|
-
height: n.height
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
function Ot(t) {
|
|
271
|
-
return b(t).direction === "rtl";
|
|
272
|
-
}
|
|
273
|
-
const Ct = {
|
|
274
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: dt,
|
|
275
|
-
getDocumentElement: R,
|
|
276
|
-
getClippingRect: xt,
|
|
277
|
-
getOffsetParent: et,
|
|
278
|
-
getElementRects: Rt,
|
|
279
|
-
getClientRects: gt,
|
|
280
|
-
getDimensions: vt,
|
|
281
|
-
getScale: F,
|
|
282
|
-
isElement: v,
|
|
283
|
-
isRTL: Ot
|
|
284
|
-
};
|
|
285
|
-
function Lt(t, e) {
|
|
286
|
-
let i = null, n;
|
|
287
|
-
const o = R(t);
|
|
288
|
-
function r() {
|
|
289
|
-
var c;
|
|
290
|
-
clearTimeout(n), (c = i) == null || c.disconnect(), i = null;
|
|
291
|
-
}
|
|
292
|
-
function s(c, l) {
|
|
293
|
-
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
294
|
-
const {
|
|
295
|
-
left: f,
|
|
296
|
-
top: u,
|
|
297
|
-
width: h,
|
|
298
|
-
height: p
|
|
299
|
-
} = t.getBoundingClientRect();
|
|
300
|
-
if (c || e(), !h || !p)
|
|
301
|
-
return;
|
|
302
|
-
const g = z(u), x = z(o.clientWidth - (f + h)), a = z(o.clientHeight - (u + p)), w = z(f), m = {
|
|
303
|
-
rootMargin: -g + "px " + -x + "px " + -a + "px " + -w + "px",
|
|
304
|
-
threshold: E(0, V(1, l)) || 1
|
|
305
|
-
};
|
|
306
|
-
let C = !0;
|
|
307
|
-
function B(P) {
|
|
308
|
-
const A = P[0].intersectionRatio;
|
|
309
|
-
if (A !== l) {
|
|
310
|
-
if (!C)
|
|
311
|
-
return s();
|
|
312
|
-
A ? s(!1, A) : n = setTimeout(() => {
|
|
313
|
-
s(!1, 1e-7);
|
|
314
|
-
}, 1e3);
|
|
315
|
-
}
|
|
316
|
-
C = !1;
|
|
317
|
-
}
|
|
318
|
-
try {
|
|
319
|
-
i = new IntersectionObserver(B, {
|
|
320
|
-
...m,
|
|
321
|
-
// Handle <iframe>s
|
|
322
|
-
root: o.ownerDocument
|
|
323
|
-
});
|
|
324
|
-
} catch {
|
|
325
|
-
i = new IntersectionObserver(B, m);
|
|
326
|
-
}
|
|
327
|
-
i.observe(t);
|
|
328
|
-
}
|
|
329
|
-
return s(!0), r;
|
|
330
|
-
}
|
|
331
|
-
function Wt(t, e, i, n) {
|
|
332
|
-
n === void 0 && (n = {});
|
|
333
|
-
const {
|
|
334
|
-
ancestorScroll: o = !0,
|
|
335
|
-
ancestorResize: r = !0,
|
|
336
|
-
elementResize: s = typeof ResizeObserver == "function",
|
|
337
|
-
layoutShift: c = typeof IntersectionObserver == "function",
|
|
338
|
-
animationFrame: l = !1
|
|
339
|
-
} = n, f = k(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
|
|
340
|
-
u.forEach((d) => {
|
|
341
|
-
o && d.addEventListener("scroll", i, {
|
|
342
|
-
passive: !0
|
|
343
|
-
}), r && d.addEventListener("resize", i);
|
|
344
|
-
});
|
|
345
|
-
const h = f && c ? Lt(f, i) : null;
|
|
346
|
-
let p = -1, g = null;
|
|
347
|
-
s && (g = new ResizeObserver((d) => {
|
|
348
|
-
let [m] = d;
|
|
349
|
-
m && m.target === f && g && (g.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
350
|
-
var C;
|
|
351
|
-
(C = g) == null || C.observe(e);
|
|
352
|
-
})), i();
|
|
353
|
-
}), f && !l && g.observe(f), g.observe(e));
|
|
354
|
-
let x, a = l ? T(t) : null;
|
|
355
|
-
l && w();
|
|
356
|
-
function w() {
|
|
357
|
-
const d = T(t);
|
|
358
|
-
a && (d.x !== a.x || d.y !== a.y || d.width !== a.width || d.height !== a.height) && i(), a = d, x = requestAnimationFrame(w);
|
|
359
|
-
}
|
|
360
|
-
return i(), () => {
|
|
361
|
-
var d;
|
|
362
|
-
u.forEach((m) => {
|
|
363
|
-
o && m.removeEventListener("scroll", i), r && m.removeEventListener("resize", i);
|
|
364
|
-
}), h == null || h(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(x);
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
const Bt = it, zt = ot, Dt = nt, Ht = st, Nt = lt, At = rt, It = (t, e, i) => {
|
|
368
|
-
const n = /* @__PURE__ */ new Map(), o = {
|
|
369
|
-
platform: Ct,
|
|
370
|
-
...i
|
|
371
|
-
}, r = {
|
|
372
|
-
...o.platform,
|
|
373
|
-
_c: n
|
|
374
|
-
};
|
|
375
|
-
return ct(t, e, {
|
|
376
|
-
...o,
|
|
377
|
-
platform: r
|
|
378
|
-
});
|
|
379
|
-
};
|
|
380
|
-
export {
|
|
381
|
-
At as arrow,
|
|
382
|
-
Wt as autoUpdate,
|
|
383
|
-
It as computePosition,
|
|
384
|
-
Dt as flip,
|
|
385
|
-
$ as getOverflowAncestors,
|
|
386
|
-
Nt as hide,
|
|
387
|
-
Bt as offset,
|
|
388
|
-
Ct as platform,
|
|
389
|
-
zt as shift,
|
|
390
|
-
Ht as size
|
|
391
|
-
};
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
function c() {
|
|
2
|
-
return typeof window < "u";
|
|
3
|
-
}
|
|
4
|
-
function s(n) {
|
|
5
|
-
return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
|
|
6
|
-
}
|
|
7
|
-
function i(n) {
|
|
8
|
-
var t;
|
|
9
|
-
return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
10
|
-
}
|
|
11
|
-
function E(n) {
|
|
12
|
-
var t;
|
|
13
|
-
return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
|
14
|
-
}
|
|
15
|
-
function p(n) {
|
|
16
|
-
return c() ? n instanceof Node || n instanceof i(n).Node : !1;
|
|
17
|
-
}
|
|
18
|
-
function m(n) {
|
|
19
|
-
return c() ? n instanceof Element || n instanceof i(n).Element : !1;
|
|
20
|
-
}
|
|
21
|
-
function w(n) {
|
|
22
|
-
return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
|
|
23
|
-
}
|
|
24
|
-
function a(n) {
|
|
25
|
-
return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
|
26
|
-
}
|
|
27
|
-
function y(n) {
|
|
28
|
-
const {
|
|
29
|
-
overflow: t,
|
|
30
|
-
overflowX: e,
|
|
31
|
-
overflowY: o,
|
|
32
|
-
display: r
|
|
33
|
-
} = b(n);
|
|
34
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
|
35
|
-
}
|
|
36
|
-
function D(n) {
|
|
37
|
-
return ["table", "td", "th"].includes(s(n));
|
|
38
|
-
}
|
|
39
|
-
function N(n) {
|
|
40
|
-
return [":popover-open", ":modal"].some((t) => {
|
|
41
|
-
try {
|
|
42
|
-
return n.matches(t);
|
|
43
|
-
} catch {
|
|
44
|
-
return !1;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function T(n) {
|
|
49
|
-
const t = L(), e = m(n) ? b(n) : n;
|
|
50
|
-
return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
|
|
51
|
-
}
|
|
52
|
-
function k(n) {
|
|
53
|
-
let t = u(n);
|
|
54
|
-
for (; w(t) && !g(t); ) {
|
|
55
|
-
if (T(t))
|
|
56
|
-
return t;
|
|
57
|
-
if (N(t))
|
|
58
|
-
return null;
|
|
59
|
-
t = u(t);
|
|
60
|
-
}
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
function L() {
|
|
64
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
65
|
-
}
|
|
66
|
-
function g(n) {
|
|
67
|
-
return ["html", "body", "#document"].includes(s(n));
|
|
68
|
-
}
|
|
69
|
-
function b(n) {
|
|
70
|
-
return i(n).getComputedStyle(n);
|
|
71
|
-
}
|
|
72
|
-
function C(n) {
|
|
73
|
-
return m(n) ? {
|
|
74
|
-
scrollLeft: n.scrollLeft,
|
|
75
|
-
scrollTop: n.scrollTop
|
|
76
|
-
} : {
|
|
77
|
-
scrollLeft: n.scrollX,
|
|
78
|
-
scrollTop: n.scrollY
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function u(n) {
|
|
82
|
-
if (s(n) === "html")
|
|
83
|
-
return n;
|
|
84
|
-
const t = (
|
|
85
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
86
|
-
n.assignedSlot || // DOM Element detected.
|
|
87
|
-
n.parentNode || // ShadowRoot detected.
|
|
88
|
-
a(n) && n.host || // Fallback.
|
|
89
|
-
E(n)
|
|
90
|
-
);
|
|
91
|
-
return a(t) ? t.host : t;
|
|
92
|
-
}
|
|
93
|
-
function h(n) {
|
|
94
|
-
const t = u(n);
|
|
95
|
-
return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
|
|
96
|
-
}
|
|
97
|
-
function d(n, t, e) {
|
|
98
|
-
var o;
|
|
99
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
100
|
-
const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
|
|
101
|
-
if (S) {
|
|
102
|
-
const f = v(l);
|
|
103
|
-
return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
|
|
104
|
-
}
|
|
105
|
-
return t.concat(r, d(r, [], e));
|
|
106
|
-
}
|
|
107
|
-
function v(n) {
|
|
108
|
-
return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
|
|
109
|
-
}
|
|
110
|
-
export {
|
|
111
|
-
b as getComputedStyle,
|
|
112
|
-
k as getContainingBlock,
|
|
113
|
-
E as getDocumentElement,
|
|
114
|
-
v as getFrameElement,
|
|
115
|
-
h as getNearestOverflowAncestor,
|
|
116
|
-
s as getNodeName,
|
|
117
|
-
C as getNodeScroll,
|
|
118
|
-
d as getOverflowAncestors,
|
|
119
|
-
u as getParentNode,
|
|
120
|
-
i as getWindow,
|
|
121
|
-
T as isContainingBlock,
|
|
122
|
-
m as isElement,
|
|
123
|
-
w as isHTMLElement,
|
|
124
|
-
g as isLastTraversableNode,
|
|
125
|
-
p as isNode,
|
|
126
|
-
y as isOverflowElement,
|
|
127
|
-
a as isShadowRoot,
|
|
128
|
-
D as isTableElement,
|
|
129
|
-
N as isTopLayer,
|
|
130
|
-
L as isWebKit
|
|
131
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
const P = ["top", "right", "bottom", "left"], l = Math.min, m = Math.max, M = Math.round, O = Math.floor, S = (t) => ({
|
|
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
|
-
}
|
|
106
|
-
export {
|
|
107
|
-
w as clamp,
|
|
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
|
|
129
|
-
};
|