@edugis-org/webmapx 0.1.16 → 0.2.0
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-lib/{alert-C_G5X6J8.js → alert-CM5EIQzP.js} +28 -30
- package/dist-lib/{attribution-format-B4f05_u0.js → attribution-format-CZg2WjHO.js} +1 -1
- package/dist-lib/{button-BlZd3WPH.js → button-B_8TR-jN.js} +34 -38
- package/dist-lib/{checkbox-DB4oPyyw.js → checkbox-DOopjfpt.js} +25 -29
- package/dist-lib/{chunk.36O46B5H-km1dakSW.js → chunk.36O46B5H-EYkf8iaY.js} +8 -8
- package/dist-lib/{chunk.3RPBFEDE-Cxq6VVR6.js → chunk.3RPBFEDE-DC091CnT.js} +1 -1
- package/dist-lib/{chunk.5JY5FUCG-CYkzbQXS.js → chunk.5JY5FUCG-BmZ-LXEt.js} +324 -306
- package/dist-lib/{chunk.AJ3ENQ5C-DXVGX5Dn.js → chunk.AJ3ENQ5C-BhSO747I.js} +22 -25
- package/dist-lib/chunk.NYIIDP5N-DoNij0Gf.js +99 -0
- package/dist-lib/{chunk.SI4ACBFK-CLb9VfMG.js → chunk.SI4ACBFK-CdJVQctt.js} +1 -1
- package/dist-lib/{chunk.YHLNUJ7P-ByKy0MKm.js → chunk.YHLNUJ7P-DINaI4pI.js} +22 -24
- package/dist-lib/{decorate-CKr8yG1g.js → decorate-DNmmPsJp.js} +1 -1
- package/dist-lib/decorators-d8E4nZJy.js +624 -0
- package/dist-lib/{divider-BOFbR_Ny.js → divider-Ly2UhLd1.js} +6 -7
- package/dist-lib/{icon-CBNpO1lq.js → icon-DIjRqLFJ.js} +1 -1
- package/dist-lib/{icon-button-B5rXu3Gg.js → icon-button-C5K3NZWf.js} +39 -42
- package/dist-lib/{input-B212BH6L.js → input-DUaeAHt8.js} +63 -49
- package/dist-lib/{option-BQN9Zz_8.js → option-LnK7BxuV.js} +56 -59
- package/dist-lib/{spinner-DdcBaa3z.js → spinner-D_cltutw.js} +2 -2
- package/dist-lib/{toast-Bq2PmEpm.js → toast-DDqkINxT.js} +1 -1
- package/dist-lib/{tooltip-CBGOiZwJ.js → tooltip-C86FhPFx.js} +26 -27
- package/dist-lib/{webmapx-3d-tool-CKoLGMpk.js → webmapx-3d-tool-DXzN9Tha.js} +6 -7
- package/dist-lib/{webmapx-base-tool-Bc9Wz0yA.js → webmapx-base-tool-idjVnrFA.js} +8 -8
- package/dist-lib/{webmapx-config-edit-tool-7265_DNz.js → webmapx-config-edit-tool-B14KD1ak.js} +21 -22
- package/dist-lib/{webmapx-coordinates-tool-CI6NSE3t.js → webmapx-coordinates-tool-D57LfNy6.js} +25 -26
- package/dist-lib/{webmapx-core-bundle-Q6mWOib1.js → webmapx-core-bundle-C4M7AiLh.js} +726 -723
- package/dist-lib/{webmapx-draw-tool-6QRr5Gip.js → webmapx-draw-tool-utv2v3LN.js} +345 -325
- package/dist-lib/{webmapx-geolocation-tool-qxN5aaVB.js → webmapx-geolocation-tool-BIEqZkMX.js} +27 -28
- package/dist-lib/{webmapx-import-layer-tool-tJ374qHR.js → webmapx-import-layer-tool-DcFxtRJN.js} +18 -19
- package/dist-lib/{webmapx-info-tool-C3txgv3v.js → webmapx-info-tool-DDrllfth.js} +69 -70
- package/dist-lib/{webmapx-language-osmvector-jQzTOPU1.js → webmapx-language-osmvector-D_OP-fC3.js} +8 -9
- package/dist-lib/{webmapx-measure-tool-Cxxrzgdf.js → webmapx-measure-tool-D-6STy8v.js} +33 -34
- package/dist-lib/{webmapx-modal-tool-DQVHNXqX.js → webmapx-modal-tool-CftNio2w.js} +10 -10
- package/dist-lib/{webmapx-plugin-tool-BNZ61x6s.js → webmapx-plugin-tool-CGwliIUs.js} +5 -6
- package/dist-lib/{webmapx-print-tool-BDOTbS6u.js → webmapx-print-tool-DVL_0Hqz.js} +55 -56
- package/dist-lib/{webmapx-search-tool-CHlsE2Wx.js → webmapx-search-tool-D6y6WT8q.js} +13 -14
- package/dist-lib/{webmapx-settings-B0AT9Vjn.js → webmapx-settings--mFVPZsD.js} +41 -45
- package/dist-lib/{webmapx-truearea-tool-dxSgcbOj.js → webmapx-truearea-tool-nQzVCTAC.js} +31 -32
- package/dist-lib/{webmapx-view-mode-tool-DVSMakdh.js → webmapx-view-mode-tool-CQI54rFj.js} +11 -12
- package/dist-lib/webmapx.css +1 -1
- package/dist-lib/webmapx.js +18 -18
- package/package.json +1 -1
- package/dist-lib/chunk.NYIIDP5N-B4UCI-rQ.js +0 -34
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
import { a as e,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, s as i } from "./chunk.YHLNUJ7P-DINaI4pI.js";
|
|
2
|
+
import { a, c as o, h as s, l as c, n as l, p as u } from "./decorators-d8E4nZJy.js";
|
|
3
|
+
import { a as d, c as f, o as p, s as m } from "./chunk.NYIIDP5N-DoNij0Gf.js";
|
|
4
|
+
import { t as h } from "./chunk.6CTB5ZDJ-DjZrBd6Y.js";
|
|
5
|
+
//#region node_modules/lit-html/directives/unsafe-html.js
|
|
6
|
+
var g = class extends m {
|
|
7
|
+
constructor(e) {
|
|
8
|
+
if (super(e), this.it = o, e.type !== f.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
9
|
+
}
|
|
10
|
+
render(e) {
|
|
11
|
+
if (e === o || e == null) return this._t = void 0, this.it = e;
|
|
12
|
+
if (e === c) return e;
|
|
13
|
+
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
14
|
+
if (e === this.it) return this._t;
|
|
15
|
+
this.it = e;
|
|
16
|
+
let t = [e];
|
|
17
|
+
return t.raw = t, this._t = {
|
|
18
|
+
_$litType$: this.constructor.resultType,
|
|
19
|
+
strings: t,
|
|
20
|
+
values: []
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
g.directiveName = "unsafeHTML", g.resultType = 1;
|
|
25
|
+
var _ = p(g), v = s`
|
|
8
26
|
:host {
|
|
9
27
|
--arrow-color: var(--sl-color-neutral-1000);
|
|
10
28
|
--arrow-size: 6px;
|
|
@@ -62,77 +80,77 @@ var d = o`
|
|
|
62
80
|
var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)
|
|
63
81
|
);
|
|
64
82
|
}
|
|
65
|
-
`,
|
|
83
|
+
`, y = Math.min, b = Math.max, x = Math.round, S = Math.floor, C = (e) => ({
|
|
66
84
|
x: e,
|
|
67
85
|
y: e
|
|
68
|
-
}),
|
|
86
|
+
}), w = {
|
|
69
87
|
left: "right",
|
|
70
88
|
right: "left",
|
|
71
89
|
bottom: "top",
|
|
72
90
|
top: "bottom"
|
|
73
|
-
},
|
|
91
|
+
}, T = {
|
|
74
92
|
start: "end",
|
|
75
93
|
end: "start"
|
|
76
94
|
};
|
|
77
|
-
function
|
|
78
|
-
return
|
|
95
|
+
function E(e, t, n) {
|
|
96
|
+
return b(e, y(t, n));
|
|
79
97
|
}
|
|
80
|
-
function
|
|
98
|
+
function D(e, t) {
|
|
81
99
|
return typeof e == "function" ? e(t) : e;
|
|
82
100
|
}
|
|
83
|
-
function
|
|
101
|
+
function O(e) {
|
|
84
102
|
return e.split("-")[0];
|
|
85
103
|
}
|
|
86
|
-
function
|
|
104
|
+
function k(e) {
|
|
87
105
|
return e.split("-")[1];
|
|
88
106
|
}
|
|
89
|
-
function
|
|
107
|
+
function A(e) {
|
|
90
108
|
return e === "x" ? "y" : "x";
|
|
91
109
|
}
|
|
92
|
-
function
|
|
110
|
+
function ee(e) {
|
|
93
111
|
return e === "y" ? "height" : "width";
|
|
94
112
|
}
|
|
95
|
-
var
|
|
96
|
-
function
|
|
97
|
-
return
|
|
113
|
+
var te = /*#__PURE__*/ new Set(["top", "bottom"]);
|
|
114
|
+
function j(e) {
|
|
115
|
+
return te.has(O(e)) ? "y" : "x";
|
|
98
116
|
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
117
|
+
function ne(e) {
|
|
118
|
+
return A(j(e));
|
|
101
119
|
}
|
|
102
|
-
function
|
|
120
|
+
function re(e, t, n) {
|
|
103
121
|
n === void 0 && (n = !1);
|
|
104
|
-
let r =
|
|
105
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
122
|
+
let r = k(e), i = ne(e), a = ee(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
123
|
+
return t.reference[a] > t.floating[a] && (o = ce(o)), [o, ce(o)];
|
|
106
124
|
}
|
|
107
|
-
function
|
|
108
|
-
let t =
|
|
125
|
+
function M(e) {
|
|
126
|
+
let t = ce(e);
|
|
109
127
|
return [
|
|
110
|
-
|
|
128
|
+
N(e),
|
|
111
129
|
t,
|
|
112
|
-
|
|
130
|
+
N(t)
|
|
113
131
|
];
|
|
114
132
|
}
|
|
115
|
-
function
|
|
116
|
-
return e.replace(/start|end/g, (e) =>
|
|
133
|
+
function N(e) {
|
|
134
|
+
return e.replace(/start|end/g, (e) => T[e]);
|
|
117
135
|
}
|
|
118
|
-
var
|
|
119
|
-
function
|
|
136
|
+
var P = ["left", "right"], F = ["right", "left"], ie = ["top", "bottom"], ae = ["bottom", "top"];
|
|
137
|
+
function oe(e, t, n) {
|
|
120
138
|
switch (e) {
|
|
121
139
|
case "top":
|
|
122
|
-
case "bottom": return n ? t ?
|
|
140
|
+
case "bottom": return n ? t ? F : P : t ? P : F;
|
|
123
141
|
case "left":
|
|
124
|
-
case "right": return t ?
|
|
142
|
+
case "right": return t ? ie : ae;
|
|
125
143
|
default: return [];
|
|
126
144
|
}
|
|
127
145
|
}
|
|
128
|
-
function
|
|
129
|
-
let i =
|
|
130
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
146
|
+
function se(e, t, n, r) {
|
|
147
|
+
let i = k(e), a = oe(O(e), n === "start", r);
|
|
148
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(N)))), a;
|
|
131
149
|
}
|
|
132
|
-
function
|
|
133
|
-
return e.replace(/left|right|bottom|top/g, (e) =>
|
|
150
|
+
function ce(e) {
|
|
151
|
+
return e.replace(/left|right|bottom|top/g, (e) => w[e]);
|
|
134
152
|
}
|
|
135
|
-
function
|
|
153
|
+
function le(e) {
|
|
136
154
|
return {
|
|
137
155
|
top: 0,
|
|
138
156
|
right: 0,
|
|
@@ -141,15 +159,15 @@ function I(e) {
|
|
|
141
159
|
...e
|
|
142
160
|
};
|
|
143
161
|
}
|
|
144
|
-
function
|
|
162
|
+
function ue(e) {
|
|
145
163
|
return typeof e == "number" ? {
|
|
146
164
|
top: e,
|
|
147
165
|
right: e,
|
|
148
166
|
bottom: e,
|
|
149
167
|
left: e
|
|
150
|
-
} :
|
|
168
|
+
} : le(e);
|
|
151
169
|
}
|
|
152
|
-
function
|
|
170
|
+
function I(e) {
|
|
153
171
|
let { x: t, y: n, width: r, height: i } = e;
|
|
154
172
|
return {
|
|
155
173
|
width: r,
|
|
@@ -164,8 +182,8 @@ function L(e) {
|
|
|
164
182
|
}
|
|
165
183
|
//#endregion
|
|
166
184
|
//#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
167
|
-
function
|
|
168
|
-
let { reference: r, floating: i } = e, a =
|
|
185
|
+
function de(e, t, n) {
|
|
186
|
+
let { reference: r, floating: i } = e, a = j(t), o = ne(t), s = ee(o), c = O(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
169
187
|
switch (c) {
|
|
170
188
|
case "top":
|
|
171
189
|
p = {
|
|
@@ -196,7 +214,7 @@ function re(e, t, n) {
|
|
|
196
214
|
y: r.y
|
|
197
215
|
};
|
|
198
216
|
}
|
|
199
|
-
switch (
|
|
217
|
+
switch (k(t)) {
|
|
200
218
|
case "start":
|
|
201
219
|
p[o] -= f * (n && l ? -1 : 1);
|
|
202
220
|
break;
|
|
@@ -206,12 +224,12 @@ function re(e, t, n) {
|
|
|
206
224
|
}
|
|
207
225
|
return p;
|
|
208
226
|
}
|
|
209
|
-
var
|
|
227
|
+
var fe = async (e, t, n) => {
|
|
210
228
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = a.filter(Boolean), c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
211
229
|
reference: e,
|
|
212
230
|
floating: t,
|
|
213
231
|
strategy: i
|
|
214
|
-
}), { x: u, y: d } =
|
|
232
|
+
}), { x: u, y: d } = de(l, r, c), f = r, p = {}, m = 0;
|
|
215
233
|
for (let n = 0; n < s.length; n++) {
|
|
216
234
|
let { name: a, fn: h } = s[n], { x: g, y: _, data: v, reset: y } = await h({
|
|
217
235
|
x: u,
|
|
@@ -237,7 +255,7 @@ var ie = async (e, t, n) => {
|
|
|
237
255
|
reference: e,
|
|
238
256
|
floating: t,
|
|
239
257
|
strategy: i
|
|
240
|
-
}) : y.rects), {x: u, y: d} =
|
|
258
|
+
}) : y.rects), {x: u, y: d} = de(l, f, c)), n = -1);
|
|
241
259
|
}
|
|
242
260
|
return {
|
|
243
261
|
x: u,
|
|
@@ -247,9 +265,9 @@ var ie = async (e, t, n) => {
|
|
|
247
265
|
middlewareData: p
|
|
248
266
|
};
|
|
249
267
|
};
|
|
250
|
-
async function
|
|
268
|
+
async function pe(e, t) {
|
|
251
269
|
t === void 0 && (t = {});
|
|
252
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } =
|
|
270
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = D(t, e), p = ue(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = I(await i.getClippingRect({
|
|
253
271
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
254
272
|
boundary: c,
|
|
255
273
|
rootBoundary: l,
|
|
@@ -262,7 +280,7 @@ async function ae(e, t) {
|
|
|
262
280
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
263
281
|
x: 1,
|
|
264
282
|
y: 1
|
|
265
|
-
}, y =
|
|
283
|
+
}, y = I(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
266
284
|
elements: o,
|
|
267
285
|
rect: g,
|
|
268
286
|
offsetParent: _,
|
|
@@ -275,61 +293,61 @@ async function ae(e, t) {
|
|
|
275
293
|
right: (y.right - h.right + p.right) / v.x
|
|
276
294
|
};
|
|
277
295
|
}
|
|
278
|
-
var
|
|
296
|
+
var me = (e) => ({
|
|
279
297
|
name: "arrow",
|
|
280
298
|
options: e,
|
|
281
299
|
async fn(t) {
|
|
282
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
300
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = D(e, t) || {};
|
|
283
301
|
if (l == null) return {};
|
|
284
|
-
let d =
|
|
302
|
+
let d = ue(u), f = {
|
|
285
303
|
x: n,
|
|
286
304
|
y: r
|
|
287
|
-
},
|
|
288
|
-
(!
|
|
289
|
-
let
|
|
305
|
+
}, p = ne(i), m = ee(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", x = a.reference[m] + a.reference[p] - f[p] - a.floating[m], S = f[p] - a.reference[p], C = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), w = C ? C[b] : 0;
|
|
306
|
+
(!w || !await (o.isElement == null ? void 0 : o.isElement(C))) && (w = s.floating[b] || a.floating[m]);
|
|
307
|
+
let T = x / 2 - S / 2, O = w / 2 - h[m] / 2 - 1, A = y(d[_], O), te = y(d[v], O), j = A, re = w - h[m] - te, M = w / 2 - h[m] / 2 + T, N = E(j, M, re), P = !c.arrow && k(i) != null && M !== N && a.reference[m] / 2 - (M < j ? A : te) - h[m] / 2 < 0, F = P ? M < j ? M - j : M - re : 0;
|
|
290
308
|
return {
|
|
291
|
-
[
|
|
309
|
+
[p]: f[p] + F,
|
|
292
310
|
data: {
|
|
293
|
-
[
|
|
294
|
-
centerOffset:
|
|
295
|
-
...
|
|
311
|
+
[p]: N,
|
|
312
|
+
centerOffset: M - N - F,
|
|
313
|
+
...P && { alignmentOffset: F }
|
|
296
314
|
},
|
|
297
|
-
reset:
|
|
315
|
+
reset: P
|
|
298
316
|
};
|
|
299
317
|
}
|
|
300
|
-
}),
|
|
318
|
+
}), he = function(e) {
|
|
301
319
|
return e === void 0 && (e = {}), {
|
|
302
320
|
name: "flip",
|
|
303
321
|
options: e,
|
|
304
322
|
async fn(t) {
|
|
305
323
|
var n;
|
|
306
|
-
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } =
|
|
324
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = D(e, t);
|
|
307
325
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
308
|
-
let g =
|
|
309
|
-
!d &&
|
|
310
|
-
let
|
|
311
|
-
if (l &&
|
|
312
|
-
let e =
|
|
313
|
-
|
|
326
|
+
let g = O(r), _ = j(o), v = O(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [ce(o)] : M(o)), x = p !== "none";
|
|
327
|
+
!d && x && b.push(...se(o, m, p, y));
|
|
328
|
+
let S = [o, ...b], C = await pe(t, h), w = [], T = i.flip?.overflows || [];
|
|
329
|
+
if (l && w.push(C[g]), u) {
|
|
330
|
+
let e = re(r, a, y);
|
|
331
|
+
w.push(C[e[0]], C[e[1]]);
|
|
314
332
|
}
|
|
315
|
-
if (
|
|
333
|
+
if (T = [...T, {
|
|
316
334
|
placement: r,
|
|
317
|
-
overflows:
|
|
318
|
-
}], !
|
|
319
|
-
let e = (i.flip?.index || 0) + 1, t =
|
|
320
|
-
if (t && (!(u === "alignment" && _ !==
|
|
335
|
+
overflows: w
|
|
336
|
+
}], !w.every((e) => e <= 0)) {
|
|
337
|
+
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
338
|
+
if (t && (!(u === "alignment" && _ !== j(t)) || T.every((e) => j(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
321
339
|
data: {
|
|
322
340
|
index: e,
|
|
323
|
-
overflows:
|
|
341
|
+
overflows: T
|
|
324
342
|
},
|
|
325
343
|
reset: { placement: t }
|
|
326
344
|
};
|
|
327
|
-
let n =
|
|
345
|
+
let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
|
|
328
346
|
if (!n) switch (f) {
|
|
329
347
|
case "bestFit": {
|
|
330
|
-
let e =
|
|
331
|
-
if (
|
|
332
|
-
let t =
|
|
348
|
+
let e = T.filter((e) => {
|
|
349
|
+
if (x) {
|
|
350
|
+
let t = j(e.placement);
|
|
333
351
|
return t === _ || t === "y";
|
|
334
352
|
}
|
|
335
353
|
return !0;
|
|
@@ -346,9 +364,9 @@ var oe = (e) => ({
|
|
|
346
364
|
return {};
|
|
347
365
|
}
|
|
348
366
|
};
|
|
349
|
-
},
|
|
350
|
-
async function
|
|
351
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
367
|
+
}, ge = /*#__PURE__*/ new Set(["left", "top"]);
|
|
368
|
+
async function _e(e, t) {
|
|
369
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = O(n), s = k(n), c = j(n) === "y", l = ge.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = D(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
352
370
|
mainAxis: d,
|
|
353
371
|
crossAxis: 0,
|
|
354
372
|
alignmentAxis: null
|
|
@@ -365,13 +383,13 @@ async function le(e, t) {
|
|
|
365
383
|
y: p * u
|
|
366
384
|
};
|
|
367
385
|
}
|
|
368
|
-
var
|
|
386
|
+
var ve = function(e) {
|
|
369
387
|
return e === void 0 && (e = 0), {
|
|
370
388
|
name: "offset",
|
|
371
389
|
options: e,
|
|
372
390
|
async fn(t) {
|
|
373
391
|
var n;
|
|
374
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
392
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await _e(t, e);
|
|
375
393
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
376
394
|
x: r + s.x,
|
|
377
395
|
y: i + s.y,
|
|
@@ -382,7 +400,7 @@ var ue = function(e) {
|
|
|
382
400
|
};
|
|
383
401
|
}
|
|
384
402
|
};
|
|
385
|
-
},
|
|
403
|
+
}, ye = function(e) {
|
|
386
404
|
return e === void 0 && (e = {}), {
|
|
387
405
|
name: "shift",
|
|
388
406
|
options: e,
|
|
@@ -393,17 +411,17 @@ var ue = function(e) {
|
|
|
393
411
|
x: t,
|
|
394
412
|
y: n
|
|
395
413
|
};
|
|
396
|
-
} }, ...c } =
|
|
414
|
+
} }, ...c } = D(e, t), l = {
|
|
397
415
|
x: n,
|
|
398
416
|
y: r
|
|
399
|
-
}, u = await
|
|
417
|
+
}, u = await pe(t, c), d = j(O(i)), f = A(d), p = l[f], m = l[d];
|
|
400
418
|
if (a) {
|
|
401
419
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = p + u[e], r = p - u[t];
|
|
402
|
-
p =
|
|
420
|
+
p = E(n, p, r);
|
|
403
421
|
}
|
|
404
422
|
if (o) {
|
|
405
423
|
let e = d === "y" ? "top" : "left", t = d === "y" ? "bottom" : "right", n = m + u[e], r = m - u[t];
|
|
406
|
-
m =
|
|
424
|
+
m = E(n, m, r);
|
|
407
425
|
}
|
|
408
426
|
let h = s.fn({
|
|
409
427
|
...t,
|
|
@@ -423,72 +441,72 @@ var ue = function(e) {
|
|
|
423
441
|
};
|
|
424
442
|
}
|
|
425
443
|
};
|
|
426
|
-
},
|
|
444
|
+
}, be = function(e) {
|
|
427
445
|
return e === void 0 && (e = {}), {
|
|
428
446
|
name: "size",
|
|
429
447
|
options: e,
|
|
430
448
|
async fn(t) {
|
|
431
449
|
var n, r;
|
|
432
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
433
|
-
d === "top" || d === "bottom" ? (
|
|
434
|
-
let
|
|
435
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (
|
|
436
|
-
let e =
|
|
437
|
-
|
|
450
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = D(e, t), u = await pe(t, l), d = O(i), f = k(i), p = j(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
451
|
+
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
452
|
+
let v = h - u.top - u.bottom, x = m - u.left - u.right, S = y(h - u[g], v), C = y(m - u[_], x), w = !t.middlewareData.shift, T = S, E = C;
|
|
453
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (E = x), (r = t.middlewareData.shift) != null && r.enabled.y && (T = v), w && !f) {
|
|
454
|
+
let e = b(u.left, 0), t = b(u.right, 0), n = b(u.top, 0), r = b(u.bottom, 0);
|
|
455
|
+
p ? E = m - 2 * (e !== 0 || t !== 0 ? e + t : b(u.left, u.right)) : T = h - 2 * (n !== 0 || r !== 0 ? n + r : b(u.top, u.bottom));
|
|
438
456
|
}
|
|
439
457
|
await c({
|
|
440
458
|
...t,
|
|
441
|
-
availableWidth:
|
|
442
|
-
availableHeight:
|
|
459
|
+
availableWidth: E,
|
|
460
|
+
availableHeight: T
|
|
443
461
|
});
|
|
444
|
-
let
|
|
445
|
-
return
|
|
462
|
+
let A = await o.getDimensions(s.floating);
|
|
463
|
+
return m !== A.width || h !== A.height ? { reset: { rects: !0 } } : {};
|
|
446
464
|
}
|
|
447
465
|
};
|
|
448
466
|
};
|
|
449
467
|
//#endregion
|
|
450
468
|
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
451
|
-
function
|
|
469
|
+
function L() {
|
|
452
470
|
return typeof window < "u";
|
|
453
471
|
}
|
|
454
|
-
function
|
|
455
|
-
return
|
|
472
|
+
function R(e) {
|
|
473
|
+
return xe(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
456
474
|
}
|
|
457
|
-
function
|
|
475
|
+
function z(e) {
|
|
458
476
|
var t;
|
|
459
477
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
460
478
|
}
|
|
461
|
-
function
|
|
462
|
-
return ((
|
|
479
|
+
function B(e) {
|
|
480
|
+
return ((xe(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
463
481
|
}
|
|
464
|
-
function
|
|
465
|
-
return
|
|
482
|
+
function xe(e) {
|
|
483
|
+
return L() ? e instanceof Node || e instanceof z(e).Node : !1;
|
|
466
484
|
}
|
|
467
|
-
function
|
|
468
|
-
return
|
|
485
|
+
function V(e) {
|
|
486
|
+
return L() ? e instanceof Element || e instanceof z(e).Element : !1;
|
|
469
487
|
}
|
|
470
|
-
function
|
|
471
|
-
return
|
|
488
|
+
function H(e) {
|
|
489
|
+
return L() ? e instanceof HTMLElement || e instanceof z(e).HTMLElement : !1;
|
|
472
490
|
}
|
|
473
|
-
function
|
|
474
|
-
return !
|
|
491
|
+
function Se(e) {
|
|
492
|
+
return !L() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof z(e).ShadowRoot;
|
|
475
493
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
478
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } =
|
|
479
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !
|
|
494
|
+
var Ce = /*#__PURE__*/ new Set(["inline", "contents"]);
|
|
495
|
+
function U(e) {
|
|
496
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = q(e);
|
|
497
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !Ce.has(i);
|
|
480
498
|
}
|
|
481
|
-
var
|
|
499
|
+
var we = /*#__PURE__*/ new Set([
|
|
482
500
|
"table",
|
|
483
501
|
"td",
|
|
484
502
|
"th"
|
|
485
503
|
]);
|
|
486
|
-
function
|
|
487
|
-
return
|
|
504
|
+
function Te(e) {
|
|
505
|
+
return we.has(R(e));
|
|
488
506
|
}
|
|
489
|
-
var
|
|
490
|
-
function
|
|
491
|
-
return
|
|
507
|
+
var Ee = [":popover-open", ":modal"];
|
|
508
|
+
function W(e) {
|
|
509
|
+
return Ee.some((t) => {
|
|
492
510
|
try {
|
|
493
511
|
return e.matches(t);
|
|
494
512
|
} catch {
|
|
@@ -496,54 +514,54 @@ function G(e) {
|
|
|
496
514
|
}
|
|
497
515
|
});
|
|
498
516
|
}
|
|
499
|
-
var
|
|
517
|
+
var De = [
|
|
500
518
|
"transform",
|
|
501
519
|
"translate",
|
|
502
520
|
"scale",
|
|
503
521
|
"rotate",
|
|
504
522
|
"perspective"
|
|
505
|
-
],
|
|
523
|
+
], Oe = [
|
|
506
524
|
"transform",
|
|
507
525
|
"translate",
|
|
508
526
|
"scale",
|
|
509
527
|
"rotate",
|
|
510
528
|
"perspective",
|
|
511
529
|
"filter"
|
|
512
|
-
],
|
|
530
|
+
], ke = [
|
|
513
531
|
"paint",
|
|
514
532
|
"layout",
|
|
515
533
|
"strict",
|
|
516
534
|
"content"
|
|
517
535
|
];
|
|
518
|
-
function
|
|
519
|
-
let t =
|
|
520
|
-
return
|
|
536
|
+
function G(e) {
|
|
537
|
+
let t = je(), n = V(e) ? q(e) : e;
|
|
538
|
+
return De.some((e) => n[e] ? n[e] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Oe.some((e) => (n.willChange || "").includes(e)) || ke.some((e) => (n.contain || "").includes(e));
|
|
521
539
|
}
|
|
522
|
-
function
|
|
540
|
+
function Ae(e) {
|
|
523
541
|
let t = Y(e);
|
|
524
|
-
for (;
|
|
525
|
-
if (
|
|
526
|
-
if (
|
|
542
|
+
for (; H(t) && !K(t);) {
|
|
543
|
+
if (G(t)) return t;
|
|
544
|
+
if (W(t)) return null;
|
|
527
545
|
t = Y(t);
|
|
528
546
|
}
|
|
529
547
|
return null;
|
|
530
548
|
}
|
|
531
|
-
function
|
|
549
|
+
function je() {
|
|
532
550
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
533
551
|
}
|
|
534
|
-
var
|
|
552
|
+
var Me = /*#__PURE__*/ new Set([
|
|
535
553
|
"html",
|
|
536
554
|
"body",
|
|
537
555
|
"#document"
|
|
538
556
|
]);
|
|
557
|
+
function K(e) {
|
|
558
|
+
return Me.has(R(e));
|
|
559
|
+
}
|
|
539
560
|
function q(e) {
|
|
540
|
-
return
|
|
561
|
+
return z(e).getComputedStyle(e);
|
|
541
562
|
}
|
|
542
563
|
function J(e) {
|
|
543
|
-
return
|
|
544
|
-
}
|
|
545
|
-
function Te(e) {
|
|
546
|
-
return H(e) ? {
|
|
564
|
+
return V(e) ? {
|
|
547
565
|
scrollLeft: e.scrollLeft,
|
|
548
566
|
scrollTop: e.scrollTop
|
|
549
567
|
} : {
|
|
@@ -552,101 +570,101 @@ function Te(e) {
|
|
|
552
570
|
};
|
|
553
571
|
}
|
|
554
572
|
function Y(e) {
|
|
555
|
-
if (
|
|
556
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
557
|
-
return
|
|
573
|
+
if (R(e) === "html") return e;
|
|
574
|
+
let t = e.assignedSlot || e.parentNode || Se(e) && e.host || B(e);
|
|
575
|
+
return Se(t) ? t.host : t;
|
|
558
576
|
}
|
|
559
|
-
function
|
|
577
|
+
function Ne(e) {
|
|
560
578
|
let t = Y(e);
|
|
561
|
-
return
|
|
579
|
+
return K(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : H(t) && U(t) ? t : Ne(t);
|
|
562
580
|
}
|
|
563
581
|
function X(e, t, n) {
|
|
564
582
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
565
|
-
let r =
|
|
583
|
+
let r = Ne(e), i = r === e.ownerDocument?.body, a = z(r);
|
|
566
584
|
if (i) {
|
|
567
|
-
let e =
|
|
568
|
-
return t.concat(a, a.visualViewport || [],
|
|
585
|
+
let e = Pe(a);
|
|
586
|
+
return t.concat(a, a.visualViewport || [], U(r) ? r : [], e && n ? X(e) : []);
|
|
569
587
|
}
|
|
570
588
|
return t.concat(r, X(r, [], n));
|
|
571
589
|
}
|
|
572
|
-
function
|
|
590
|
+
function Pe(e) {
|
|
573
591
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
574
592
|
}
|
|
575
593
|
//#endregion
|
|
576
594
|
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
577
|
-
function
|
|
578
|
-
let t =
|
|
595
|
+
function Fe(e) {
|
|
596
|
+
let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = H(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = x(n) !== a || x(r) !== o;
|
|
579
597
|
return s && (n = a, r = o), {
|
|
580
598
|
width: n,
|
|
581
599
|
height: r,
|
|
582
600
|
$: s
|
|
583
601
|
};
|
|
584
602
|
}
|
|
585
|
-
function
|
|
586
|
-
return
|
|
603
|
+
function Ie(e) {
|
|
604
|
+
return V(e) ? e : e.contextElement;
|
|
587
605
|
}
|
|
588
606
|
function Z(e) {
|
|
589
|
-
let t =
|
|
590
|
-
if (!
|
|
591
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
607
|
+
let t = Ie(e);
|
|
608
|
+
if (!H(t)) return C(1);
|
|
609
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Fe(t), o = (a ? x(n.width) : n.width) / r, s = (a ? x(n.height) : n.height) / i;
|
|
592
610
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
593
611
|
x: o,
|
|
594
612
|
y: s
|
|
595
613
|
};
|
|
596
614
|
}
|
|
597
|
-
var
|
|
598
|
-
function
|
|
599
|
-
let t =
|
|
600
|
-
return !
|
|
615
|
+
var Le = /*#__PURE__*/ C(0);
|
|
616
|
+
function Re(e) {
|
|
617
|
+
let t = z(e);
|
|
618
|
+
return !je() || !t.visualViewport ? Le : {
|
|
601
619
|
x: t.visualViewport.offsetLeft,
|
|
602
620
|
y: t.visualViewport.offsetTop
|
|
603
621
|
};
|
|
604
622
|
}
|
|
605
|
-
function
|
|
606
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
623
|
+
function ze(e, t, n) {
|
|
624
|
+
return t === void 0 && (t = !1), !n || t && n !== z(e) ? !1 : t;
|
|
607
625
|
}
|
|
608
626
|
function Q(e, t, n, r) {
|
|
609
627
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
610
|
-
let i = e.getBoundingClientRect(), a =
|
|
611
|
-
t && (r ?
|
|
612
|
-
let s =
|
|
628
|
+
let i = e.getBoundingClientRect(), a = Ie(e), o = C(1);
|
|
629
|
+
t && (r ? V(r) && (o = Z(r)) : o = Z(e));
|
|
630
|
+
let s = ze(a, n, r) ? Re(a) : C(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
613
631
|
if (a) {
|
|
614
|
-
let e =
|
|
632
|
+
let e = z(a), t = r && V(r) ? z(r) : r, n = e, i = Pe(n);
|
|
615
633
|
for (; i && r && t !== n;) {
|
|
616
|
-
let e = Z(i), t = i.getBoundingClientRect(), r =
|
|
617
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
634
|
+
let e = Z(i), t = i.getBoundingClientRect(), r = q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
635
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = z(i), i = Pe(n);
|
|
618
636
|
}
|
|
619
637
|
}
|
|
620
|
-
return
|
|
638
|
+
return I({
|
|
621
639
|
width: u,
|
|
622
640
|
height: d,
|
|
623
641
|
x: c,
|
|
624
642
|
y: l
|
|
625
643
|
});
|
|
626
644
|
}
|
|
627
|
-
function
|
|
628
|
-
let n =
|
|
629
|
-
return t ? t.left + n : Q(
|
|
645
|
+
function Be(e, t) {
|
|
646
|
+
let n = J(e).scrollLeft;
|
|
647
|
+
return t ? t.left + n : Q(B(e)).left + n;
|
|
630
648
|
}
|
|
631
|
-
function
|
|
649
|
+
function Ve(e, t) {
|
|
632
650
|
let n = e.getBoundingClientRect();
|
|
633
651
|
return {
|
|
634
|
-
x: n.left + t.scrollLeft -
|
|
652
|
+
x: n.left + t.scrollLeft - Be(e, n),
|
|
635
653
|
y: n.top + t.scrollTop
|
|
636
654
|
};
|
|
637
655
|
}
|
|
638
|
-
function
|
|
639
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
656
|
+
function He(e) {
|
|
657
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = B(r), s = t ? W(t.floating) : !1;
|
|
640
658
|
if (r === o || s && a) return n;
|
|
641
659
|
let c = {
|
|
642
660
|
scrollLeft: 0,
|
|
643
661
|
scrollTop: 0
|
|
644
|
-
}, l =
|
|
645
|
-
if ((d || !d && !a) && ((
|
|
662
|
+
}, l = C(1), u = C(0), d = H(r);
|
|
663
|
+
if ((d || !d && !a) && ((R(r) !== "body" || U(o)) && (c = J(r)), H(r))) {
|
|
646
664
|
let e = Q(r);
|
|
647
665
|
l = Z(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
648
666
|
}
|
|
649
|
-
let f = o && !d && !a ?
|
|
667
|
+
let f = o && !d && !a ? Ve(o, c) : C(0);
|
|
650
668
|
return {
|
|
651
669
|
width: n.width * l.x,
|
|
652
670
|
height: n.height * l.y,
|
|
@@ -654,31 +672,31 @@ function Fe(e) {
|
|
|
654
672
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
655
673
|
};
|
|
656
674
|
}
|
|
657
|
-
function
|
|
675
|
+
function Ue(e) {
|
|
658
676
|
return Array.from(e.getClientRects());
|
|
659
677
|
}
|
|
660
|
-
function
|
|
661
|
-
let t =
|
|
662
|
-
return
|
|
678
|
+
function We(e) {
|
|
679
|
+
let t = B(e), n = J(e), r = e.ownerDocument.body, i = b(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = b(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Be(e), s = -n.scrollTop;
|
|
680
|
+
return q(r).direction === "rtl" && (o += b(t.clientWidth, r.clientWidth) - i), {
|
|
663
681
|
width: i,
|
|
664
682
|
height: a,
|
|
665
683
|
x: o,
|
|
666
684
|
y: s
|
|
667
685
|
};
|
|
668
686
|
}
|
|
669
|
-
var
|
|
670
|
-
function
|
|
671
|
-
let n =
|
|
687
|
+
var Ge = 25;
|
|
688
|
+
function Ke(e, t) {
|
|
689
|
+
let n = z(e), r = B(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
672
690
|
if (i) {
|
|
673
691
|
a = i.width, o = i.height;
|
|
674
|
-
let e =
|
|
692
|
+
let e = je();
|
|
675
693
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
676
694
|
}
|
|
677
|
-
let l =
|
|
695
|
+
let l = Be(r);
|
|
678
696
|
if (l <= 0) {
|
|
679
697
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
680
|
-
o <=
|
|
681
|
-
} else l <=
|
|
698
|
+
o <= Ge && (a -= o);
|
|
699
|
+
} else l <= Ge && (a += l);
|
|
682
700
|
return {
|
|
683
701
|
width: a,
|
|
684
702
|
height: o,
|
|
@@ -686,9 +704,9 @@ function ze(e, t) {
|
|
|
686
704
|
y: c
|
|
687
705
|
};
|
|
688
706
|
}
|
|
689
|
-
var
|
|
690
|
-
function
|
|
691
|
-
let n = Q(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a =
|
|
707
|
+
var qe = /*#__PURE__*/ new Set(["absolute", "fixed"]);
|
|
708
|
+
function Je(e, t) {
|
|
709
|
+
let n = Q(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = H(e) ? Z(e) : C(1);
|
|
692
710
|
return {
|
|
693
711
|
width: e.clientWidth * a.x,
|
|
694
712
|
height: e.clientHeight * a.y,
|
|
@@ -696,13 +714,13 @@ function Ve(e, t) {
|
|
|
696
714
|
y: r * a.y
|
|
697
715
|
};
|
|
698
716
|
}
|
|
699
|
-
function
|
|
717
|
+
function Ye(e, t, n) {
|
|
700
718
|
let r;
|
|
701
|
-
if (t === "viewport") r =
|
|
702
|
-
else if (t === "document") r =
|
|
703
|
-
else if (
|
|
719
|
+
if (t === "viewport") r = Ke(e, n);
|
|
720
|
+
else if (t === "document") r = We(B(e));
|
|
721
|
+
else if (V(t)) r = Je(t, n);
|
|
704
722
|
else {
|
|
705
|
-
let n =
|
|
723
|
+
let n = Re(e);
|
|
706
724
|
r = {
|
|
707
725
|
x: t.x - n.x,
|
|
708
726
|
y: t.y - n.y,
|
|
@@ -710,27 +728,27 @@ function He(e, t, n) {
|
|
|
710
728
|
height: t.height
|
|
711
729
|
};
|
|
712
730
|
}
|
|
713
|
-
return
|
|
731
|
+
return I(r);
|
|
714
732
|
}
|
|
715
|
-
function
|
|
733
|
+
function Xe(e, t) {
|
|
716
734
|
let n = Y(e);
|
|
717
|
-
return n === t || !
|
|
735
|
+
return n === t || !V(n) || K(n) ? !1 : q(n).position === "fixed" || Xe(n, t);
|
|
718
736
|
}
|
|
719
|
-
function
|
|
737
|
+
function Ze(e, t) {
|
|
720
738
|
let n = t.get(e);
|
|
721
739
|
if (n) return n;
|
|
722
|
-
let r = X(e, [], !1).filter((e) =>
|
|
723
|
-
for (;
|
|
724
|
-
let t =
|
|
725
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i &&
|
|
740
|
+
let r = X(e, [], !1).filter((e) => V(e) && R(e) !== "body"), i = null, a = q(e).position === "fixed", o = a ? Y(e) : e;
|
|
741
|
+
for (; V(o) && !K(o);) {
|
|
742
|
+
let t = q(o), n = G(o);
|
|
743
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && qe.has(i.position) || U(o) && !n && Xe(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Y(o);
|
|
726
744
|
}
|
|
727
745
|
return t.set(e, r), r;
|
|
728
746
|
}
|
|
729
|
-
function
|
|
730
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
731
|
-
let r =
|
|
732
|
-
return e.top =
|
|
733
|
-
},
|
|
747
|
+
function Qe(e) {
|
|
748
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? W(t) ? [] : Ze(t, this._c) : [].concat(n), r], o = a[0], s = a.reduce((e, n) => {
|
|
749
|
+
let r = Ye(t, n, i);
|
|
750
|
+
return e.top = b(r.top, e.top), e.right = y(r.right, e.right), e.bottom = y(r.bottom, e.bottom), e.left = b(r.left, e.left), e;
|
|
751
|
+
}, Ye(t, o, i));
|
|
734
752
|
return {
|
|
735
753
|
width: s.right - s.left,
|
|
736
754
|
height: s.bottom - s.top,
|
|
@@ -738,27 +756,27 @@ function Ge(e) {
|
|
|
738
756
|
y: s.top
|
|
739
757
|
};
|
|
740
758
|
}
|
|
741
|
-
function
|
|
742
|
-
let { width: t, height: n } =
|
|
759
|
+
function $e(e) {
|
|
760
|
+
let { width: t, height: n } = Fe(e);
|
|
743
761
|
return {
|
|
744
762
|
width: t,
|
|
745
763
|
height: n
|
|
746
764
|
};
|
|
747
765
|
}
|
|
748
|
-
function
|
|
749
|
-
let r =
|
|
766
|
+
function et(e, t, n) {
|
|
767
|
+
let r = H(t), i = B(t), a = n === "fixed", o = Q(e, !0, a, t), s = {
|
|
750
768
|
scrollLeft: 0,
|
|
751
769
|
scrollTop: 0
|
|
752
|
-
}, c =
|
|
770
|
+
}, c = C(0);
|
|
753
771
|
function l() {
|
|
754
|
-
c.x =
|
|
772
|
+
c.x = Be(i);
|
|
755
773
|
}
|
|
756
|
-
if (r || !r && !a) if ((
|
|
774
|
+
if (r || !r && !a) if ((R(t) !== "body" || U(i)) && (s = J(t)), r) {
|
|
757
775
|
let e = Q(t, !0, a, t);
|
|
758
776
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
759
777
|
} else i && l();
|
|
760
778
|
a && !r && i && l();
|
|
761
|
-
let u = i && !r && !a ?
|
|
779
|
+
let u = i && !r && !a ? Ve(i, s) : C(0);
|
|
762
780
|
return {
|
|
763
781
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
764
782
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -766,34 +784,34 @@ function qe(e, t, n) {
|
|
|
766
784
|
height: o.height
|
|
767
785
|
};
|
|
768
786
|
}
|
|
769
|
-
function
|
|
770
|
-
return
|
|
787
|
+
function tt(e) {
|
|
788
|
+
return q(e).position === "static";
|
|
771
789
|
}
|
|
772
|
-
function
|
|
773
|
-
if (!
|
|
790
|
+
function nt(e, t) {
|
|
791
|
+
if (!H(e) || q(e).position === "fixed") return null;
|
|
774
792
|
if (t) return t(e);
|
|
775
793
|
let n = e.offsetParent;
|
|
776
|
-
return
|
|
794
|
+
return B(e) === n && (n = n.ownerDocument.body), n;
|
|
777
795
|
}
|
|
778
|
-
function
|
|
779
|
-
let n =
|
|
780
|
-
if (
|
|
781
|
-
if (!
|
|
796
|
+
function rt(e, t) {
|
|
797
|
+
let n = z(e);
|
|
798
|
+
if (W(e)) return n;
|
|
799
|
+
if (!H(e)) {
|
|
782
800
|
let t = Y(e);
|
|
783
|
-
for (; t && !
|
|
784
|
-
if (
|
|
801
|
+
for (; t && !K(t);) {
|
|
802
|
+
if (V(t) && !tt(t)) return t;
|
|
785
803
|
t = Y(t);
|
|
786
804
|
}
|
|
787
805
|
return n;
|
|
788
806
|
}
|
|
789
|
-
let r =
|
|
790
|
-
for (; r &&
|
|
791
|
-
return r &&
|
|
807
|
+
let r = nt(e, t);
|
|
808
|
+
for (; r && Te(r) && tt(r);) r = nt(r, t);
|
|
809
|
+
return r && K(r) && tt(r) && !G(r) ? n : r || Ae(e) || n;
|
|
792
810
|
}
|
|
793
|
-
var
|
|
794
|
-
let t = this.getOffsetParent ||
|
|
811
|
+
var it = async function(e) {
|
|
812
|
+
let t = this.getOffsetParent || rt, n = this.getDimensions, r = await n(e.floating);
|
|
795
813
|
return {
|
|
796
|
-
reference:
|
|
814
|
+
reference: et(e.reference, await t(e.floating), e.strategy),
|
|
797
815
|
floating: {
|
|
798
816
|
x: 0,
|
|
799
817
|
y: 0,
|
|
@@ -802,67 +820,67 @@ var Ze = async function(e) {
|
|
|
802
820
|
}
|
|
803
821
|
};
|
|
804
822
|
};
|
|
805
|
-
function
|
|
806
|
-
return
|
|
807
|
-
}
|
|
808
|
-
var
|
|
809
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
810
|
-
getDocumentElement:
|
|
811
|
-
getClippingRect:
|
|
812
|
-
getOffsetParent:
|
|
813
|
-
getElementRects:
|
|
814
|
-
getClientRects:
|
|
815
|
-
getDimensions:
|
|
823
|
+
function at(e) {
|
|
824
|
+
return q(e).direction === "rtl";
|
|
825
|
+
}
|
|
826
|
+
var ot = {
|
|
827
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: He,
|
|
828
|
+
getDocumentElement: B,
|
|
829
|
+
getClippingRect: Qe,
|
|
830
|
+
getOffsetParent: rt,
|
|
831
|
+
getElementRects: it,
|
|
832
|
+
getClientRects: Ue,
|
|
833
|
+
getDimensions: $e,
|
|
816
834
|
getScale: Z,
|
|
817
|
-
isElement:
|
|
818
|
-
isRTL:
|
|
835
|
+
isElement: V,
|
|
836
|
+
isRTL: at
|
|
819
837
|
};
|
|
820
|
-
function
|
|
838
|
+
function st(e, t) {
|
|
821
839
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
822
840
|
}
|
|
823
|
-
function
|
|
824
|
-
let n = null, r, i =
|
|
841
|
+
function ct(e, t) {
|
|
842
|
+
let n = null, r, i = B(e);
|
|
825
843
|
function a() {
|
|
826
844
|
var e;
|
|
827
845
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
828
846
|
}
|
|
829
847
|
function o(s, c) {
|
|
830
848
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
831
|
-
let l = e.getBoundingClientRect(), { left: u, top: d, width:
|
|
832
|
-
if (s || t(), !
|
|
833
|
-
let
|
|
834
|
-
rootMargin: -
|
|
835
|
-
threshold:
|
|
836
|
-
},
|
|
849
|
+
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
850
|
+
if (s || t(), !f || !p) return;
|
|
851
|
+
let m = S(d), h = S(i.clientWidth - (u + f)), g = S(i.clientHeight - (d + p)), _ = S(u), v = {
|
|
852
|
+
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
853
|
+
threshold: b(0, y(1, c)) || 1
|
|
854
|
+
}, x = !0;
|
|
837
855
|
function C(t) {
|
|
838
856
|
let n = t[0].intersectionRatio;
|
|
839
857
|
if (n !== c) {
|
|
840
|
-
if (!
|
|
858
|
+
if (!x) return o();
|
|
841
859
|
n ? o(!1, n) : r = setTimeout(() => {
|
|
842
860
|
o(!1, 1e-7);
|
|
843
861
|
}, 1e3);
|
|
844
862
|
}
|
|
845
|
-
n === 1 && !
|
|
863
|
+
n === 1 && !st(l, e.getBoundingClientRect()) && o(), x = !1;
|
|
846
864
|
}
|
|
847
865
|
try {
|
|
848
866
|
n = new IntersectionObserver(C, {
|
|
849
|
-
...
|
|
867
|
+
...v,
|
|
850
868
|
root: i.ownerDocument
|
|
851
869
|
});
|
|
852
870
|
} catch {
|
|
853
|
-
n = new IntersectionObserver(C,
|
|
871
|
+
n = new IntersectionObserver(C, v);
|
|
854
872
|
}
|
|
855
873
|
n.observe(e);
|
|
856
874
|
}
|
|
857
875
|
return o(!0), a;
|
|
858
876
|
}
|
|
859
|
-
function
|
|
877
|
+
function lt(e, t, n, r) {
|
|
860
878
|
r === void 0 && (r = {});
|
|
861
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
879
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Ie(e), u = i || a ? [...l ? X(l) : [], ...X(t)] : [];
|
|
862
880
|
u.forEach((e) => {
|
|
863
881
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
864
882
|
});
|
|
865
|
-
let d = l && s ?
|
|
883
|
+
let d = l && s ? ct(l, n) : null, f = -1, p = null;
|
|
866
884
|
o && (p = new ResizeObserver((e) => {
|
|
867
885
|
let [r] = e;
|
|
868
886
|
r && r.target === l && p && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -874,7 +892,7 @@ function nt(e, t, n, r) {
|
|
|
874
892
|
c && g();
|
|
875
893
|
function g() {
|
|
876
894
|
let t = Q(e);
|
|
877
|
-
h && !
|
|
895
|
+
h && !st(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
878
896
|
}
|
|
879
897
|
return n(), () => {
|
|
880
898
|
var e;
|
|
@@ -883,44 +901,44 @@ function nt(e, t, n, r) {
|
|
|
883
901
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
884
902
|
};
|
|
885
903
|
}
|
|
886
|
-
var
|
|
904
|
+
var ut = ve, dt = ye, ft = he, pt = be, mt = me, ht = (e, t, n) => {
|
|
887
905
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
888
|
-
platform:
|
|
906
|
+
platform: ot,
|
|
889
907
|
...n
|
|
890
908
|
}, a = {
|
|
891
909
|
...i.platform,
|
|
892
910
|
_c: r
|
|
893
911
|
};
|
|
894
|
-
return
|
|
912
|
+
return fe(e, t, {
|
|
895
913
|
...i,
|
|
896
914
|
platform: a
|
|
897
915
|
});
|
|
898
916
|
};
|
|
899
917
|
//#endregion
|
|
900
918
|
//#region node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
901
|
-
function
|
|
902
|
-
return
|
|
919
|
+
function gt(e) {
|
|
920
|
+
return vt(e);
|
|
903
921
|
}
|
|
904
|
-
function
|
|
922
|
+
function _t(e) {
|
|
905
923
|
return e.assignedSlot ? e.assignedSlot : e.parentNode instanceof ShadowRoot ? e.parentNode.host : e.parentNode;
|
|
906
924
|
}
|
|
907
|
-
function
|
|
908
|
-
for (let t = e; t; t =
|
|
909
|
-
for (let t =
|
|
925
|
+
function vt(e) {
|
|
926
|
+
for (let t = e; t; t = _t(t)) if (t instanceof Element && getComputedStyle(t).display === "none") return null;
|
|
927
|
+
for (let t = _t(e); t; t = _t(t)) {
|
|
910
928
|
if (!(t instanceof Element)) continue;
|
|
911
929
|
let e = getComputedStyle(t);
|
|
912
|
-
if (e.display !== "contents" && (e.position !== "static" ||
|
|
930
|
+
if (e.display !== "contents" && (e.position !== "static" || G(e) || t.tagName === "BODY")) return t;
|
|
913
931
|
}
|
|
914
932
|
return null;
|
|
915
933
|
}
|
|
916
934
|
//#endregion
|
|
917
935
|
//#region node_modules/@shoelace-style/shoelace/dist/chunks/chunk.5JY5FUCG.js
|
|
918
|
-
function
|
|
936
|
+
function yt(e) {
|
|
919
937
|
return typeof e == "object" && !!e && "getBoundingClientRect" in e && ("contextElement" in e ? e.contextElement instanceof Element : !0);
|
|
920
938
|
}
|
|
921
|
-
var $ = class extends
|
|
939
|
+
var $ = class extends n {
|
|
922
940
|
constructor() {
|
|
923
|
-
super(...arguments), this.localize = new
|
|
941
|
+
super(...arguments), this.localize = new h(this), this.active = !1, this.placement = "top", this.strategy = "absolute", this.distance = 0, this.skidding = 0, this.arrow = !1, this.arrowPlacement = "anchor", this.arrowPadding = 10, this.flip = !1, this.flipFallbackPlacements = "", this.flipFallbackStrategy = "best-fit", this.flipPadding = 0, this.shift = !1, this.shiftPadding = 0, this.autoSizePadding = 0, this.hoverBridge = !1, this.updateHoverBridge = () => {
|
|
924
942
|
if (this.hoverBridge && this.anchorEl) {
|
|
925
943
|
let e = this.anchorEl.getBoundingClientRect(), t = this.popup.getBoundingClientRect(), n = this.placement.includes("top") || this.placement.includes("bottom"), r = 0, i = 0, a = 0, o = 0, s = 0, c = 0, l = 0, u = 0;
|
|
926
944
|
n ? e.top < t.top ? (r = e.left, i = e.bottom, a = e.right, o = e.bottom, s = t.left, c = t.top, l = t.right, u = t.top) : (r = t.left, i = t.bottom, a = t.right, o = t.bottom, s = e.left, c = e.top, l = e.right, u = e.top) : e.left < t.left ? (r = e.right, i = e.top, a = t.left, o = t.top, s = e.right, c = e.bottom, l = t.left, u = t.bottom) : (r = t.right, i = t.top, a = e.left, o = e.top, s = t.right, c = t.bottom, l = e.left, u = e.bottom), this.style.setProperty("--hover-bridge-top-left-x", `${r}px`), this.style.setProperty("--hover-bridge-top-left-y", `${i}px`), this.style.setProperty("--hover-bridge-top-right-x", `${a}px`), this.style.setProperty("--hover-bridge-top-right-y", `${o}px`), this.style.setProperty("--hover-bridge-bottom-left-x", `${s}px`), this.style.setProperty("--hover-bridge-bottom-left-y", `${c}px`), this.style.setProperty("--hover-bridge-bottom-right-x", `${l}px`), this.style.setProperty("--hover-bridge-bottom-right-y", `${u}px`);
|
|
@@ -940,11 +958,11 @@ var $ = class extends t {
|
|
|
940
958
|
if (await this.stop(), this.anchor && typeof this.anchor == "string") {
|
|
941
959
|
let e = this.getRootNode();
|
|
942
960
|
this.anchorEl = e.getElementById(this.anchor);
|
|
943
|
-
} else this.anchor instanceof Element ||
|
|
961
|
+
} else this.anchor instanceof Element || yt(this.anchor) ? this.anchorEl = this.anchor : this.anchorEl = this.querySelector("[slot=\"anchor\"]");
|
|
944
962
|
this.anchorEl instanceof HTMLSlotElement && (this.anchorEl = this.anchorEl.assignedElements({ flatten: !0 })[0]), this.anchorEl && this.active && this.start();
|
|
945
963
|
}
|
|
946
964
|
start() {
|
|
947
|
-
!this.anchorEl || !this.active || (this.cleanup =
|
|
965
|
+
!this.anchorEl || !this.active || (this.cleanup = lt(this.anchorEl, this.popup, () => {
|
|
948
966
|
this.reposition();
|
|
949
967
|
}));
|
|
950
968
|
}
|
|
@@ -955,37 +973,37 @@ var $ = class extends t {
|
|
|
955
973
|
}
|
|
956
974
|
reposition() {
|
|
957
975
|
if (!this.active || !this.anchorEl) return;
|
|
958
|
-
let e = [
|
|
976
|
+
let e = [ut({
|
|
959
977
|
mainAxis: this.distance,
|
|
960
978
|
crossAxis: this.skidding
|
|
961
979
|
})];
|
|
962
|
-
this.sync ? e.push(
|
|
980
|
+
this.sync ? e.push(pt({ apply: ({ rects: e }) => {
|
|
963
981
|
let t = this.sync === "width" || this.sync === "both", n = this.sync === "height" || this.sync === "both";
|
|
964
982
|
this.popup.style.width = t ? `${e.reference.width}px` : "", this.popup.style.height = n ? `${e.reference.height}px` : "";
|
|
965
|
-
} })) : (this.popup.style.width = "", this.popup.style.height = ""), this.flip && e.push(
|
|
983
|
+
} })) : (this.popup.style.width = "", this.popup.style.height = ""), this.flip && e.push(ft({
|
|
966
984
|
boundary: this.flipBoundary,
|
|
967
985
|
fallbackPlacements: this.flipFallbackPlacements,
|
|
968
986
|
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
969
987
|
padding: this.flipPadding
|
|
970
|
-
})), this.shift && e.push(
|
|
988
|
+
})), this.shift && e.push(dt({
|
|
971
989
|
boundary: this.shiftBoundary,
|
|
972
990
|
padding: this.shiftPadding
|
|
973
|
-
})), this.autoSize ? e.push(
|
|
991
|
+
})), this.autoSize ? e.push(pt({
|
|
974
992
|
boundary: this.autoSizeBoundary,
|
|
975
993
|
padding: this.autoSizePadding,
|
|
976
994
|
apply: ({ availableWidth: e, availableHeight: t }) => {
|
|
977
995
|
this.autoSize === "vertical" || this.autoSize === "both" ? this.style.setProperty("--auto-size-available-height", `${t}px`) : this.style.removeProperty("--auto-size-available-height"), this.autoSize === "horizontal" || this.autoSize === "both" ? this.style.setProperty("--auto-size-available-width", `${e}px`) : this.style.removeProperty("--auto-size-available-width");
|
|
978
996
|
}
|
|
979
|
-
})) : (this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height")), this.arrow && e.push(
|
|
997
|
+
})) : (this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height")), this.arrow && e.push(mt({
|
|
980
998
|
element: this.arrowEl,
|
|
981
999
|
padding: this.arrowPadding
|
|
982
1000
|
}));
|
|
983
|
-
let
|
|
984
|
-
|
|
1001
|
+
let n = this.strategy === "absolute" ? (e) => ot.getOffsetParent(e, gt) : ot.getOffsetParent;
|
|
1002
|
+
ht(this.anchorEl, this.popup, {
|
|
985
1003
|
placement: this.placement,
|
|
986
1004
|
middleware: e,
|
|
987
1005
|
strategy: this.strategy,
|
|
988
|
-
platform:
|
|
1006
|
+
platform: t(r({}, ot), { getOffsetParent: n })
|
|
989
1007
|
}).then(({ x: e, y: t, middlewareData: n, placement: r }) => {
|
|
990
1008
|
let i = this.localize.dir() === "rtl", a = {
|
|
991
1009
|
top: "bottom",
|
|
@@ -1016,12 +1034,12 @@ var $ = class extends t {
|
|
|
1016
1034
|
}), requestAnimationFrame(() => this.updateHoverBridge()), this.emit("sl-reposition");
|
|
1017
1035
|
}
|
|
1018
1036
|
render() {
|
|
1019
|
-
return
|
|
1037
|
+
return u`
|
|
1020
1038
|
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1021
1039
|
|
|
1022
1040
|
<span
|
|
1023
1041
|
part="hover-bridge"
|
|
1024
|
-
class=${
|
|
1042
|
+
class=${d({
|
|
1025
1043
|
"popup-hover-bridge": !0,
|
|
1026
1044
|
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1027
1045
|
})}
|
|
@@ -1029,7 +1047,7 @@ var $ = class extends t {
|
|
|
1029
1047
|
|
|
1030
1048
|
<div
|
|
1031
1049
|
part="popup"
|
|
1032
|
-
class=${
|
|
1050
|
+
class=${d({
|
|
1033
1051
|
popup: !0,
|
|
1034
1052
|
"popup--active": this.active,
|
|
1035
1053
|
"popup--fixed": this.strategy === "fixed",
|
|
@@ -1037,35 +1055,35 @@ var $ = class extends t {
|
|
|
1037
1055
|
})}
|
|
1038
1056
|
>
|
|
1039
1057
|
<slot></slot>
|
|
1040
|
-
${this.arrow ?
|
|
1058
|
+
${this.arrow ? u`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
1041
1059
|
</div>
|
|
1042
1060
|
`;
|
|
1043
1061
|
}
|
|
1044
1062
|
};
|
|
1045
|
-
$.styles = [
|
|
1063
|
+
$.styles = [e, v], i([l(".popup")], $.prototype, "popup", 2), i([l(".popup__arrow")], $.prototype, "arrowEl", 2), i([a()], $.prototype, "anchor", 2), i([a({
|
|
1046
1064
|
type: Boolean,
|
|
1047
1065
|
reflect: !0
|
|
1048
|
-
})], $.prototype, "active", 2),
|
|
1066
|
+
})], $.prototype, "active", 2), i([a({ reflect: !0 })], $.prototype, "placement", 2), i([a({ reflect: !0 })], $.prototype, "strategy", 2), i([a({ type: Number })], $.prototype, "distance", 2), i([a({ type: Number })], $.prototype, "skidding", 2), i([a({ type: Boolean })], $.prototype, "arrow", 2), i([a({ attribute: "arrow-placement" })], $.prototype, "arrowPlacement", 2), i([a({
|
|
1049
1067
|
attribute: "arrow-padding",
|
|
1050
1068
|
type: Number
|
|
1051
|
-
})], $.prototype, "arrowPadding", 2),
|
|
1069
|
+
})], $.prototype, "arrowPadding", 2), i([a({ type: Boolean })], $.prototype, "flip", 2), i([a({
|
|
1052
1070
|
attribute: "flip-fallback-placements",
|
|
1053
1071
|
converter: {
|
|
1054
1072
|
fromAttribute: (e) => e.split(" ").map((e) => e.trim()).filter((e) => e !== ""),
|
|
1055
1073
|
toAttribute: (e) => e.join(" ")
|
|
1056
1074
|
}
|
|
1057
|
-
})], $.prototype, "flipFallbackPlacements", 2),
|
|
1075
|
+
})], $.prototype, "flipFallbackPlacements", 2), i([a({ attribute: "flip-fallback-strategy" })], $.prototype, "flipFallbackStrategy", 2), i([a({ type: Object })], $.prototype, "flipBoundary", 2), i([a({
|
|
1058
1076
|
attribute: "flip-padding",
|
|
1059
1077
|
type: Number
|
|
1060
|
-
})], $.prototype, "flipPadding", 2),
|
|
1078
|
+
})], $.prototype, "flipPadding", 2), i([a({ type: Boolean })], $.prototype, "shift", 2), i([a({ type: Object })], $.prototype, "shiftBoundary", 2), i([a({
|
|
1061
1079
|
attribute: "shift-padding",
|
|
1062
1080
|
type: Number
|
|
1063
|
-
})], $.prototype, "shiftPadding", 2),
|
|
1081
|
+
})], $.prototype, "shiftPadding", 2), i([a({ attribute: "auto-size" })], $.prototype, "autoSize", 2), i([a()], $.prototype, "sync", 2), i([a({ type: Object })], $.prototype, "autoSizeBoundary", 2), i([a({
|
|
1064
1082
|
attribute: "auto-size-padding",
|
|
1065
1083
|
type: Number
|
|
1066
|
-
})], $.prototype, "autoSizePadding", 2),
|
|
1084
|
+
})], $.prototype, "autoSizePadding", 2), i([a({
|
|
1067
1085
|
attribute: "hover-bridge",
|
|
1068
1086
|
type: Boolean
|
|
1069
1087
|
})], $.prototype, "hoverBridge", 2);
|
|
1070
1088
|
//#endregion
|
|
1071
|
-
export { $ as t };
|
|
1089
|
+
export { _ as n, $ as t };
|