@konnectio/core 4.0.82 → 4.0.83
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/ActionField-BA-fYDFE.js +100 -0
- package/dist/ActionField-BA-fYDFE.js.br +0 -0
- package/dist/AvailabilitySkeleton-cs1R6FqT.js +281 -0
- package/dist/AvailabilitySkeleton-cs1R6FqT.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js} +1156 -1171
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js.br +0 -0
- package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-BWvzwZp7.js} +153 -168
- package/dist/CheckoutWindow-BWvzwZp7.js.br +0 -0
- package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-Cznv1pOA.js} +20 -35
- package/dist/ErrorMessage-Cznv1pOA.js.br +0 -0
- package/dist/EventAvailabilityForm-CCIRdxiD.js +111 -0
- package/dist/EventAvailabilityForm-CCIRdxiD.js.br +0 -0
- package/dist/Field-BvDQnKDq.js +43 -0
- package/dist/Field-BvDQnKDq.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js} +2302 -2317
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js.br +0 -0
- package/dist/TermsOfService-GFdUcU5a.js +29 -0
- package/dist/_-CApO2y_W.js +5 -0
- package/dist/_.vue_vue_type_style_index_0_lang-JXEPTW6b.js +25 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/availability.js +55 -71
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +21 -36
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +408 -424
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +73 -89
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +181 -197
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-DA27WKsi.js +119 -0
- package/dist/giftCard-DA27WKsi.js.br +0 -0
- package/dist/hotel.js +505 -520
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-C22IPiCy.js} +53 -68
- package/dist/masonry.plugin-C22IPiCy.js.br +0 -0
- package/dist/{mitt-CzL6QOyp.js → mitt-QLRlCcPH.js} +983 -998
- package/dist/mitt-QLRlCcPH.js.br +0 -0
- package/dist/polyfill.js +4152 -7854
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CT1Yk_a0.js → style-CF23zZwv.js} +388 -403
- package/dist/style-CF23zZwv.js.br +0 -0
- package/dist/{_sentry-release-injection-file-8liCQLPI.js → vue.esm-bundler-BkY4vCIk.js} +1987 -2003
- package/dist/vue.esm-bundler-BkY4vCIk.js.br +0 -0
- package/package.json +1 -3
- package/dist/ActionField-Mf3IO8Sg.js +0 -115
- package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
- package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
- package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
- package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
- package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
- package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
- package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
- package/dist/Field-Bg0N8Vc0.js +0 -58
- package/dist/Field-Bg0N8Vc0.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
- package/dist/TermsOfService-CWraQvoB.js +0 -44
- package/dist/TermsOfService-CWraQvoB.js.br +0 -4
- package/dist/_-BEZe3PAF.js +0 -20
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
- package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
- package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
- package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
- package/dist/giftCard-sImOKdP0.js +0 -134
- package/dist/giftCard-sImOKdP0.js.br +0 -0
- package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
- package/dist/mitt-CzL6QOyp.js.br +0 -0
- package/dist/sentry-Cyc40KnT.js +0 -26
- package/dist/style-CT1Yk_a0.js.br +0 -0
- package/dist/tracing-6Srl_nMB.js +0 -2628
- package/dist/tracing-6Srl_nMB.js.br +0 -0
|
@@ -1,25 +1,10 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
(
|
|
3
|
-
try {
|
|
4
|
-
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
5
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "020c666f-7f04-4dd1-8bfd-c14009898c3a", e._sentryDebugIdIdentifier = "sentry-dbid-020c666f-7f04-4dd1-8bfd-c14009898c3a");
|
|
6
|
-
} catch {
|
|
7
|
-
}
|
|
8
|
-
})();
|
|
9
|
-
{
|
|
10
|
-
var he = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
11
|
-
he._sentryModuleMetadata = he._sentryModuleMetadata || {}, he._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
12
|
-
{},
|
|
13
|
-
he._sentryModuleMetadata[new Error().stack],
|
|
14
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
const Zt = ["top", "right", "bottom", "left"], Ge = ["start", "end"], Ye = /* @__PURE__ */ Zt.reduce((e, t) => e.concat(t, t + "-" + Ge[0], t + "-" + Ge[1]), []), re = Math.min, U = Math.max, Jt = {
|
|
1
|
+
import { d as xe, p as Dt, j as Ft, E as It, a as I, b as be, a6 as jt, J as ne, g as se, e as K, F as Wt, l as me, i as Ve, P as Oe, n as De, a1 as Vt, w as ge, f as ct, X as ht, V as Gt, W as qt, r as He, k as Yt, K as Xt, t as Ut } from "./vue.esm-bundler-BkY4vCIk.js";
|
|
2
|
+
const Kt = ["top", "right", "bottom", "left"], Ge = ["start", "end"], qe = /* @__PURE__ */ Kt.reduce((e, t) => e.concat(t, t + "-" + Ge[0], t + "-" + Ge[1]), []), re = Math.min, U = Math.max, Zt = {
|
|
18
3
|
left: "right",
|
|
19
4
|
right: "left",
|
|
20
5
|
bottom: "top",
|
|
21
6
|
top: "bottom"
|
|
22
|
-
},
|
|
7
|
+
}, Jt = {
|
|
23
8
|
start: "end",
|
|
24
9
|
end: "start"
|
|
25
10
|
};
|
|
@@ -32,35 +17,35 @@ function Z(e, t) {
|
|
|
32
17
|
function D(e) {
|
|
33
18
|
return e.split("-")[0];
|
|
34
19
|
}
|
|
35
|
-
function
|
|
20
|
+
function H(e) {
|
|
36
21
|
return e.split("-")[1];
|
|
37
22
|
}
|
|
38
|
-
function
|
|
23
|
+
function ut(e) {
|
|
39
24
|
return e === "x" ? "y" : "x";
|
|
40
25
|
}
|
|
41
|
-
function
|
|
26
|
+
function Fe(e) {
|
|
42
27
|
return e === "y" ? "height" : "width";
|
|
43
28
|
}
|
|
44
29
|
function ce(e) {
|
|
45
30
|
return ["top", "bottom"].includes(D(e)) ? "y" : "x";
|
|
46
31
|
}
|
|
47
|
-
function
|
|
48
|
-
return
|
|
32
|
+
function Ie(e) {
|
|
33
|
+
return ut(ce(e));
|
|
49
34
|
}
|
|
50
|
-
function
|
|
35
|
+
function ft(e, t, o) {
|
|
51
36
|
o === void 0 && (o = !1);
|
|
52
|
-
const i =
|
|
37
|
+
const i = H(e), n = Ie(e), s = Fe(n);
|
|
53
38
|
let r = n === "x" ? i === (o ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
|
|
54
39
|
return t.reference[s] > t.floating[s] && (r = ve(r)), [r, ve(r)];
|
|
55
40
|
}
|
|
56
|
-
function
|
|
41
|
+
function Qt(e) {
|
|
57
42
|
const t = ve(e);
|
|
58
|
-
return [
|
|
43
|
+
return [we(e), t, we(t)];
|
|
59
44
|
}
|
|
60
|
-
function
|
|
61
|
-
return e.replace(/start|end/g, (t) =>
|
|
45
|
+
function we(e) {
|
|
46
|
+
return e.replace(/start|end/g, (t) => Jt[t]);
|
|
62
47
|
}
|
|
63
|
-
function
|
|
48
|
+
function eo(e, t, o) {
|
|
64
49
|
const i = ["left", "right"], n = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
65
50
|
switch (e) {
|
|
66
51
|
case "top":
|
|
@@ -73,15 +58,15 @@ function to(e, t, o) {
|
|
|
73
58
|
return [];
|
|
74
59
|
}
|
|
75
60
|
}
|
|
76
|
-
function
|
|
77
|
-
const n =
|
|
78
|
-
let s =
|
|
79
|
-
return n && (s = s.map((r) => r + "-" + n), t && (s = s.concat(s.map(
|
|
61
|
+
function to(e, t, o, i) {
|
|
62
|
+
const n = H(e);
|
|
63
|
+
let s = eo(D(e), o === "start", i);
|
|
64
|
+
return n && (s = s.map((r) => r + "-" + n), t && (s = s.concat(s.map(we)))), s;
|
|
80
65
|
}
|
|
81
66
|
function ve(e) {
|
|
82
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
67
|
+
return e.replace(/left|right|bottom|top/g, (t) => Zt[t]);
|
|
83
68
|
}
|
|
84
|
-
function
|
|
69
|
+
function oo(e) {
|
|
85
70
|
return {
|
|
86
71
|
top: 0,
|
|
87
72
|
right: 0,
|
|
@@ -90,8 +75,8 @@ function io(e) {
|
|
|
90
75
|
...e
|
|
91
76
|
};
|
|
92
77
|
}
|
|
93
|
-
function
|
|
94
|
-
return typeof e != "number" ?
|
|
78
|
+
function mt(e) {
|
|
79
|
+
return typeof e != "number" ? oo(e) : {
|
|
95
80
|
top: e,
|
|
96
81
|
right: e,
|
|
97
82
|
bottom: e,
|
|
@@ -107,12 +92,12 @@ function ee(e) {
|
|
|
107
92
|
bottom: e.y + e.height
|
|
108
93
|
};
|
|
109
94
|
}
|
|
110
|
-
function
|
|
95
|
+
function Ye(e, t, o) {
|
|
111
96
|
let {
|
|
112
97
|
reference: i,
|
|
113
98
|
floating: n
|
|
114
99
|
} = e;
|
|
115
|
-
const s = ce(t), r =
|
|
100
|
+
const s = ce(t), r = Ie(t), a = Fe(r), l = D(t), d = s === "y", f = i.x + i.width / 2 - n.width / 2, c = i.y + i.height / 2 - n.height / 2, h = i[a] / 2 - n[a] / 2;
|
|
116
101
|
let p;
|
|
117
102
|
switch (l) {
|
|
118
103
|
case "top":
|
|
@@ -145,7 +130,7 @@ function Xe(e, t, o) {
|
|
|
145
130
|
y: i.y
|
|
146
131
|
};
|
|
147
132
|
}
|
|
148
|
-
switch (
|
|
133
|
+
switch (H(t)) {
|
|
149
134
|
case "start":
|
|
150
135
|
p[r] -= h * (o && d ? -1 : 1);
|
|
151
136
|
break;
|
|
@@ -155,7 +140,7 @@ function Xe(e, t, o) {
|
|
|
155
140
|
}
|
|
156
141
|
return p;
|
|
157
142
|
}
|
|
158
|
-
const
|
|
143
|
+
const io = async (e, t, o) => {
|
|
159
144
|
const {
|
|
160
145
|
placement: i = "bottom",
|
|
161
146
|
strategy: n = "absolute",
|
|
@@ -169,13 +154,13 @@ const no = async (e, t, o) => {
|
|
|
169
154
|
}), {
|
|
170
155
|
x: f,
|
|
171
156
|
y: c
|
|
172
|
-
} =
|
|
157
|
+
} = Ye(d, i, l), h = i, p = {}, u = 0;
|
|
173
158
|
for (let m = 0; m < a.length; m++) {
|
|
174
159
|
const {
|
|
175
160
|
name: w,
|
|
176
161
|
fn: g
|
|
177
162
|
} = a[m], {
|
|
178
|
-
x:
|
|
163
|
+
x: v,
|
|
179
164
|
y: $,
|
|
180
165
|
data: x,
|
|
181
166
|
reset: _
|
|
@@ -193,7 +178,7 @@ const no = async (e, t, o) => {
|
|
|
193
178
|
floating: t
|
|
194
179
|
}
|
|
195
180
|
});
|
|
196
|
-
if (f =
|
|
181
|
+
if (f = v ?? f, c = $ ?? c, p = {
|
|
197
182
|
...p,
|
|
198
183
|
[w]: {
|
|
199
184
|
...p[w],
|
|
@@ -207,7 +192,7 @@ const no = async (e, t, o) => {
|
|
|
207
192
|
}) : _.rects), {
|
|
208
193
|
x: f,
|
|
209
194
|
y: c
|
|
210
|
-
} =
|
|
195
|
+
} = Ye(d, h, l)), m = -1;
|
|
211
196
|
continue;
|
|
212
197
|
}
|
|
213
198
|
}
|
|
@@ -219,7 +204,7 @@ const no = async (e, t, o) => {
|
|
|
219
204
|
middlewareData: p
|
|
220
205
|
};
|
|
221
206
|
};
|
|
222
|
-
async function
|
|
207
|
+
async function Te(e, t) {
|
|
223
208
|
var o;
|
|
224
209
|
t === void 0 && (t = {});
|
|
225
210
|
const {
|
|
@@ -235,12 +220,12 @@ async function Se(e, t) {
|
|
|
235
220
|
elementContext: c = "floating",
|
|
236
221
|
altBoundary: h = !1,
|
|
237
222
|
padding: p = 0
|
|
238
|
-
} = Z(t, e), u =
|
|
223
|
+
} = Z(t, e), u = mt(p), w = a[h ? c === "floating" ? "reference" : "floating" : c], g = ee(await s.getClippingRect({
|
|
239
224
|
element: (o = await (s.isElement == null ? void 0 : s.isElement(w))) == null || o ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)),
|
|
240
225
|
boundary: d,
|
|
241
226
|
rootBoundary: f,
|
|
242
227
|
strategy: l
|
|
243
|
-
})),
|
|
228
|
+
})), v = c === "floating" ? {
|
|
244
229
|
...r.floating,
|
|
245
230
|
x: i,
|
|
246
231
|
y: n
|
|
@@ -251,10 +236,10 @@ async function Se(e, t) {
|
|
|
251
236
|
x: 1,
|
|
252
237
|
y: 1
|
|
253
238
|
}, _ = ee(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
254
|
-
rect:
|
|
239
|
+
rect: v,
|
|
255
240
|
offsetParent: $,
|
|
256
241
|
strategy: l
|
|
257
|
-
}) :
|
|
242
|
+
}) : v);
|
|
258
243
|
return {
|
|
259
244
|
top: (g.top - _.top + u.top) / x.y,
|
|
260
245
|
bottom: (_.bottom - g.bottom + u.bottom) / x.y,
|
|
@@ -262,7 +247,7 @@ async function Se(e, t) {
|
|
|
262
247
|
right: (_.right - g.right + u.right) / x.x
|
|
263
248
|
};
|
|
264
249
|
}
|
|
265
|
-
const
|
|
250
|
+
const no = (e) => ({
|
|
266
251
|
name: "arrow",
|
|
267
252
|
options: e,
|
|
268
253
|
async fn(t) {
|
|
@@ -280,18 +265,18 @@ const so = (e) => ({
|
|
|
280
265
|
} = Z(e, t) || {};
|
|
281
266
|
if (d == null)
|
|
282
267
|
return {};
|
|
283
|
-
const c =
|
|
268
|
+
const c = mt(f), h = {
|
|
284
269
|
x: o,
|
|
285
270
|
y: i
|
|
286
|
-
}, p =
|
|
271
|
+
}, p = Ie(n), u = Fe(p), m = await r.getDimensions(d), w = p === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", x = s.reference[u] + s.reference[p] - h[p] - s.floating[u], _ = h[p] - s.reference[p], b = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
|
|
287
272
|
let T = b ? b[$] : 0;
|
|
288
273
|
(!T || !await (r.isElement == null ? void 0 : r.isElement(b))) && (T = a.floating[$] || s.floating[u]);
|
|
289
|
-
const O = x / 2 - _ / 2, z = T / 2 - m[u] / 2 - 1, S = re(c[g], z), N = re(c[
|
|
274
|
+
const O = x / 2 - _ / 2, z = T / 2 - m[u] / 2 - 1, S = re(c[g], z), N = re(c[v], z), P = S, Y = T - m[u] - N, C = T / 2 - m[u] / 2 + O, M = Le(P, C, Y), R = !l.arrow && H(n) != null && C != M && s.reference[u] / 2 - (C < P ? S : N) - m[u] / 2 < 0, F = R ? C < P ? C - P : C - Y : 0;
|
|
290
275
|
return {
|
|
291
276
|
[p]: h[p] + F,
|
|
292
277
|
data: {
|
|
293
|
-
[p]:
|
|
294
|
-
centerOffset: C -
|
|
278
|
+
[p]: M,
|
|
279
|
+
centerOffset: C - M - F,
|
|
295
280
|
...R && {
|
|
296
281
|
alignmentOffset: F
|
|
297
282
|
}
|
|
@@ -300,10 +285,10 @@ const so = (e) => ({
|
|
|
300
285
|
};
|
|
301
286
|
}
|
|
302
287
|
});
|
|
303
|
-
function
|
|
304
|
-
return (e ? [...o.filter((n) =>
|
|
288
|
+
function so(e, t, o) {
|
|
289
|
+
return (e ? [...o.filter((n) => H(n) === e), ...o.filter((n) => H(n) !== e)] : o.filter((n) => D(n) === n)).filter((n) => e ? H(n) === e || (t ? we(n) !== n : !1) : !0);
|
|
305
290
|
}
|
|
306
|
-
const
|
|
291
|
+
const ro = function(e) {
|
|
307
292
|
return e === void 0 && (e = {}), {
|
|
308
293
|
name: "autoPlacement",
|
|
309
294
|
options: e,
|
|
@@ -318,21 +303,21 @@ const ao = function(e) {
|
|
|
318
303
|
} = t, {
|
|
319
304
|
crossAxis: f = !1,
|
|
320
305
|
alignment: c,
|
|
321
|
-
allowedPlacements: h =
|
|
306
|
+
allowedPlacements: h = qe,
|
|
322
307
|
autoAlignment: p = !0,
|
|
323
308
|
...u
|
|
324
|
-
} = Z(e, t), m = c !== void 0 || h ===
|
|
325
|
-
if (
|
|
309
|
+
} = Z(e, t), m = c !== void 0 || h === qe ? so(c || null, p, h) : h, w = await Te(t, u), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, v = m[g];
|
|
310
|
+
if (v == null)
|
|
326
311
|
return {};
|
|
327
|
-
const $ =
|
|
328
|
-
if (a !==
|
|
312
|
+
const $ = ft(v, s, await (l.isRTL == null ? void 0 : l.isRTL(d.floating)));
|
|
313
|
+
if (a !== v)
|
|
329
314
|
return {
|
|
330
315
|
reset: {
|
|
331
316
|
placement: m[0]
|
|
332
317
|
}
|
|
333
318
|
};
|
|
334
|
-
const x = [w[D(
|
|
335
|
-
placement:
|
|
319
|
+
const x = [w[D(v)], w[$[0]], w[$[1]]], _ = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
|
|
320
|
+
placement: v,
|
|
336
321
|
overflows: x
|
|
337
322
|
}], b = m[g + 1];
|
|
338
323
|
if (b)
|
|
@@ -346,7 +331,7 @@ const ao = function(e) {
|
|
|
346
331
|
}
|
|
347
332
|
};
|
|
348
333
|
const T = _.map((S) => {
|
|
349
|
-
const N =
|
|
334
|
+
const N = H(S.placement);
|
|
350
335
|
return [S.placement, N && f ? (
|
|
351
336
|
// Check along the mainAxis and main crossAxis side.
|
|
352
337
|
S.overflows.slice(0, 2).reduce((P, Y) => P + Y, 0)
|
|
@@ -358,7 +343,7 @@ const ao = function(e) {
|
|
|
358
343
|
0,
|
|
359
344
|
// Aligned placements should not check their opposite crossAxis
|
|
360
345
|
// side.
|
|
361
|
-
|
|
346
|
+
H(S[0]) ? 2 : 3
|
|
362
347
|
).every((N) => N <= 0))[0]) == null ? void 0 : n[0]) || T[0][0];
|
|
363
348
|
return z !== a ? {
|
|
364
349
|
data: {
|
|
@@ -371,7 +356,7 @@ const ao = function(e) {
|
|
|
371
356
|
} : {};
|
|
372
357
|
}
|
|
373
358
|
};
|
|
374
|
-
},
|
|
359
|
+
}, ao = function(e) {
|
|
375
360
|
return e === void 0 && (e = {}), {
|
|
376
361
|
name: "flip",
|
|
377
362
|
options: e,
|
|
@@ -395,12 +380,12 @@ const ao = function(e) {
|
|
|
395
380
|
} = Z(e, t);
|
|
396
381
|
if ((o = s.arrow) != null && o.alignmentOffset)
|
|
397
382
|
return {};
|
|
398
|
-
const g = D(n),
|
|
399
|
-
!h && u !== "none" && x.push(...
|
|
400
|
-
const _ = [a, ...x], b = await
|
|
383
|
+
const g = D(n), v = D(a) === a, $ = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), x = h || (v || !m ? [ve(a)] : Qt(a));
|
|
384
|
+
!h && u !== "none" && x.push(...to(a, m, u, $));
|
|
385
|
+
const _ = [a, ...x], b = await Te(t, w), T = [];
|
|
401
386
|
let O = ((i = s.flip) == null ? void 0 : i.overflows) || [];
|
|
402
387
|
if (f && T.push(b[g]), c) {
|
|
403
|
-
const P =
|
|
388
|
+
const P = ft(n, r, $);
|
|
404
389
|
T.push(b[P[0]], b[P[1]]);
|
|
405
390
|
}
|
|
406
391
|
if (O = [...O, {
|
|
@@ -419,13 +404,13 @@ const ao = function(e) {
|
|
|
419
404
|
placement: Y
|
|
420
405
|
}
|
|
421
406
|
};
|
|
422
|
-
let C = (S = O.filter((
|
|
407
|
+
let C = (S = O.filter((M) => M.overflows[0] <= 0).sort((M, R) => M.overflows[1] - R.overflows[1])[0]) == null ? void 0 : S.placement;
|
|
423
408
|
if (!C)
|
|
424
409
|
switch (p) {
|
|
425
410
|
case "bestFit": {
|
|
426
411
|
var N;
|
|
427
|
-
const
|
|
428
|
-
|
|
412
|
+
const M = (N = O.map((R) => [R.placement, R.overflows.filter((F) => F > 0).reduce((F, Et) => F + Et, 0)]).sort((R, F) => R[1] - F[1])[0]) == null ? void 0 : N[0];
|
|
413
|
+
M && (C = M);
|
|
429
414
|
break;
|
|
430
415
|
}
|
|
431
416
|
case "initialPlacement":
|
|
@@ -443,12 +428,12 @@ const ao = function(e) {
|
|
|
443
428
|
}
|
|
444
429
|
};
|
|
445
430
|
};
|
|
446
|
-
async function
|
|
431
|
+
async function lo(e, t) {
|
|
447
432
|
const {
|
|
448
433
|
placement: o,
|
|
449
434
|
platform: i,
|
|
450
435
|
elements: n
|
|
451
|
-
} = e, s = await (i.isRTL == null ? void 0 : i.isRTL(n.floating)), r = D(o), a =
|
|
436
|
+
} = e, s = await (i.isRTL == null ? void 0 : i.isRTL(n.floating)), r = D(o), a = H(o), l = ce(o) === "y", d = ["left", "top"].includes(r) ? -1 : 1, f = s && l ? -1 : 1, c = Z(t, e);
|
|
452
437
|
let {
|
|
453
438
|
mainAxis: h,
|
|
454
439
|
crossAxis: p,
|
|
@@ -471,7 +456,7 @@ async function po(e, t) {
|
|
|
471
456
|
y: p * f
|
|
472
457
|
};
|
|
473
458
|
}
|
|
474
|
-
const
|
|
459
|
+
const po = function(e) {
|
|
475
460
|
return e === void 0 && (e = 0), {
|
|
476
461
|
name: "offset",
|
|
477
462
|
options: e,
|
|
@@ -479,7 +464,7 @@ const co = function(e) {
|
|
|
479
464
|
const {
|
|
480
465
|
x: o,
|
|
481
466
|
y: i
|
|
482
|
-
} = t, n = await
|
|
467
|
+
} = t, n = await lo(t, e);
|
|
483
468
|
return {
|
|
484
469
|
x: o + n.x,
|
|
485
470
|
y: i + n.y,
|
|
@@ -487,7 +472,7 @@ const co = function(e) {
|
|
|
487
472
|
};
|
|
488
473
|
}
|
|
489
474
|
};
|
|
490
|
-
},
|
|
475
|
+
}, co = function(e) {
|
|
491
476
|
return e === void 0 && (e = {}), {
|
|
492
477
|
name: "shift",
|
|
493
478
|
options: e,
|
|
@@ -503,11 +488,11 @@ const co = function(e) {
|
|
|
503
488
|
fn: (w) => {
|
|
504
489
|
let {
|
|
505
490
|
x: g,
|
|
506
|
-
y
|
|
491
|
+
y: v
|
|
507
492
|
} = w;
|
|
508
493
|
return {
|
|
509
494
|
x: g,
|
|
510
|
-
y
|
|
495
|
+
y: v
|
|
511
496
|
};
|
|
512
497
|
}
|
|
513
498
|
},
|
|
@@ -515,15 +500,15 @@ const co = function(e) {
|
|
|
515
500
|
} = Z(e, t), d = {
|
|
516
501
|
x: o,
|
|
517
502
|
y: i
|
|
518
|
-
}, f = await
|
|
503
|
+
}, f = await Te(t, l), c = ce(D(n)), h = ut(c);
|
|
519
504
|
let p = d[h], u = d[c];
|
|
520
505
|
if (s) {
|
|
521
|
-
const w = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right",
|
|
522
|
-
p = Le(
|
|
506
|
+
const w = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", v = p + f[w], $ = p - f[g];
|
|
507
|
+
p = Le(v, p, $);
|
|
523
508
|
}
|
|
524
509
|
if (r) {
|
|
525
|
-
const w = c === "y" ? "top" : "left", g = c === "y" ? "bottom" : "right",
|
|
526
|
-
u = Le(
|
|
510
|
+
const w = c === "y" ? "top" : "left", g = c === "y" ? "bottom" : "right", v = u + f[w], $ = u - f[g];
|
|
511
|
+
u = Le(v, u, $);
|
|
527
512
|
}
|
|
528
513
|
const m = a.fn({
|
|
529
514
|
...t,
|
|
@@ -539,7 +524,7 @@ const co = function(e) {
|
|
|
539
524
|
};
|
|
540
525
|
}
|
|
541
526
|
};
|
|
542
|
-
},
|
|
527
|
+
}, ho = function(e) {
|
|
543
528
|
return e === void 0 && (e = {}), {
|
|
544
529
|
name: "size",
|
|
545
530
|
options: e,
|
|
@@ -553,22 +538,22 @@ const co = function(e) {
|
|
|
553
538
|
apply: r = () => {
|
|
554
539
|
},
|
|
555
540
|
...a
|
|
556
|
-
} = Z(e, t), l = await
|
|
541
|
+
} = Z(e, t), l = await Te(t, a), d = D(o), f = H(o), c = ce(o) === "y", {
|
|
557
542
|
width: h,
|
|
558
543
|
height: p
|
|
559
544
|
} = i.floating;
|
|
560
545
|
let u, m;
|
|
561
546
|
d === "top" || d === "bottom" ? (u = d, m = f === (await (n.isRTL == null ? void 0 : n.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = d, u = f === "end" ? "top" : "bottom");
|
|
562
|
-
const w = p - l[u], g = h - l[m],
|
|
547
|
+
const w = p - l[u], g = h - l[m], v = !t.middlewareData.shift;
|
|
563
548
|
let $ = w, x = g;
|
|
564
549
|
if (c) {
|
|
565
550
|
const b = h - l.left - l.right;
|
|
566
|
-
x = f ||
|
|
551
|
+
x = f || v ? re(g, b) : b;
|
|
567
552
|
} else {
|
|
568
553
|
const b = p - l.top - l.bottom;
|
|
569
|
-
$ = f ||
|
|
554
|
+
$ = f || v ? re(w, b) : b;
|
|
570
555
|
}
|
|
571
|
-
if (
|
|
556
|
+
if (v && !f) {
|
|
572
557
|
const b = U(l.left, 0), T = U(l.right, 0), O = U(l.top, 0), z = U(l.bottom, 0);
|
|
573
558
|
c ? x = h - 2 * (b !== 0 || T !== 0 ? b + T : U(l.left, l.right)) : $ = p - 2 * (O !== 0 || z !== 0 ? O + z : U(l.top, l.bottom));
|
|
574
559
|
}
|
|
@@ -590,26 +575,26 @@ function A(e) {
|
|
|
590
575
|
var t;
|
|
591
576
|
return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
592
577
|
}
|
|
593
|
-
function
|
|
578
|
+
function B(e) {
|
|
594
579
|
return A(e).getComputedStyle(e);
|
|
595
580
|
}
|
|
596
|
-
const
|
|
597
|
-
function
|
|
598
|
-
const t =
|
|
581
|
+
const Xe = Math.min, te = Math.max, ye = Math.round;
|
|
582
|
+
function gt(e) {
|
|
583
|
+
const t = B(e);
|
|
599
584
|
let o = parseFloat(t.width), i = parseFloat(t.height);
|
|
600
|
-
const n = e.offsetWidth, s = e.offsetHeight, r =
|
|
585
|
+
const n = e.offsetWidth, s = e.offsetHeight, r = ye(o) !== n || ye(i) !== s;
|
|
601
586
|
return r && (o = n, i = s), { width: o, height: i, fallback: r };
|
|
602
587
|
}
|
|
603
|
-
function
|
|
588
|
+
function q(e) {
|
|
604
589
|
return vt(e) ? (e.nodeName || "").toLowerCase() : "";
|
|
605
590
|
}
|
|
606
|
-
let
|
|
607
|
-
function
|
|
608
|
-
if (
|
|
591
|
+
let he;
|
|
592
|
+
function wt() {
|
|
593
|
+
if (he) return he;
|
|
609
594
|
const e = navigator.userAgentData;
|
|
610
|
-
return e && Array.isArray(e.brands) ? (
|
|
595
|
+
return e && Array.isArray(e.brands) ? (he = e.brands.map((t) => t.brand + "/" + t.version).join(" "), he) : navigator.userAgent;
|
|
611
596
|
}
|
|
612
|
-
function
|
|
597
|
+
function E(e) {
|
|
613
598
|
return e instanceof A(e).HTMLElement;
|
|
614
599
|
}
|
|
615
600
|
function V(e) {
|
|
@@ -618,172 +603,172 @@ function V(e) {
|
|
|
618
603
|
function vt(e) {
|
|
619
604
|
return e instanceof A(e).Node;
|
|
620
605
|
}
|
|
621
|
-
function
|
|
606
|
+
function Ue(e) {
|
|
622
607
|
return typeof ShadowRoot > "u" ? !1 : e instanceof A(e).ShadowRoot || e instanceof ShadowRoot;
|
|
623
608
|
}
|
|
624
|
-
function
|
|
625
|
-
const { overflow: t, overflowX: o, overflowY: i, display: n } =
|
|
609
|
+
function Se(e) {
|
|
610
|
+
const { overflow: t, overflowX: o, overflowY: i, display: n } = B(e);
|
|
626
611
|
return /auto|scroll|overlay|hidden|clip/.test(t + i + o) && !["inline", "contents"].includes(n);
|
|
627
612
|
}
|
|
628
|
-
function
|
|
629
|
-
return ["table", "td", "th"].includes(
|
|
613
|
+
function uo(e) {
|
|
614
|
+
return ["table", "td", "th"].includes(q(e));
|
|
630
615
|
}
|
|
631
|
-
function
|
|
632
|
-
const t = /firefox/i.test(
|
|
616
|
+
function Me(e) {
|
|
617
|
+
const t = /firefox/i.test(wt()), o = B(e), i = o.backdropFilter || o.WebkitBackdropFilter;
|
|
633
618
|
return o.transform !== "none" || o.perspective !== "none" || !!i && i !== "none" || t && o.willChange === "filter" || t && !!o.filter && o.filter !== "none" || ["transform", "perspective"].some((n) => o.willChange.includes(n)) || ["paint", "layout", "strict", "content"].some((n) => {
|
|
634
619
|
const s = o.contain;
|
|
635
620
|
return s != null && s.includes(n);
|
|
636
621
|
});
|
|
637
622
|
}
|
|
638
|
-
function
|
|
639
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
623
|
+
function yt() {
|
|
624
|
+
return !/^((?!chrome|android).)*safari/i.test(wt());
|
|
640
625
|
}
|
|
641
|
-
function
|
|
642
|
-
return ["html", "body", "#document"].includes(
|
|
626
|
+
function je(e) {
|
|
627
|
+
return ["html", "body", "#document"].includes(q(e));
|
|
643
628
|
}
|
|
644
|
-
function
|
|
629
|
+
function $t(e) {
|
|
645
630
|
return V(e) ? e : e.contextElement;
|
|
646
631
|
}
|
|
647
|
-
const
|
|
632
|
+
const _t = { x: 1, y: 1 };
|
|
648
633
|
function J(e) {
|
|
649
|
-
const t =
|
|
650
|
-
if (!
|
|
651
|
-
const o = t.getBoundingClientRect(), { width: i, height: n, fallback: s } =
|
|
652
|
-
let r = (s ?
|
|
634
|
+
const t = $t(e);
|
|
635
|
+
if (!E(t)) return _t;
|
|
636
|
+
const o = t.getBoundingClientRect(), { width: i, height: n, fallback: s } = gt(t);
|
|
637
|
+
let r = (s ? ye(o.width) : o.width) / i, a = (s ? ye(o.height) : o.height) / n;
|
|
653
638
|
return r && Number.isFinite(r) || (r = 1), a && Number.isFinite(a) || (a = 1), { x: r, y: a };
|
|
654
639
|
}
|
|
655
640
|
function ae(e, t, o, i) {
|
|
656
641
|
var n, s;
|
|
657
642
|
t === void 0 && (t = !1), o === void 0 && (o = !1);
|
|
658
|
-
const r = e.getBoundingClientRect(), a =
|
|
659
|
-
let l =
|
|
643
|
+
const r = e.getBoundingClientRect(), a = $t(e);
|
|
644
|
+
let l = _t;
|
|
660
645
|
t && (i ? V(i) && (l = J(i)) : l = J(e));
|
|
661
|
-
const d = a ? A(a) : window, f =
|
|
646
|
+
const d = a ? A(a) : window, f = !yt() && o;
|
|
662
647
|
let c = (r.left + (f && ((n = d.visualViewport) == null ? void 0 : n.offsetLeft) || 0)) / l.x, h = (r.top + (f && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / l.y, p = r.width / l.x, u = r.height / l.y;
|
|
663
648
|
if (a) {
|
|
664
649
|
const m = A(a), w = i && V(i) ? A(i) : i;
|
|
665
650
|
let g = m.frameElement;
|
|
666
651
|
for (; g && i && w !== m; ) {
|
|
667
|
-
const
|
|
668
|
-
$.x += (g.clientLeft + parseFloat(x.paddingLeft)) *
|
|
652
|
+
const v = J(g), $ = g.getBoundingClientRect(), x = getComputedStyle(g);
|
|
653
|
+
$.x += (g.clientLeft + parseFloat(x.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(x.paddingTop)) * v.y, c *= v.x, h *= v.y, p *= v.x, u *= v.y, c += $.x, h += $.y, g = A(g).frameElement;
|
|
669
654
|
}
|
|
670
655
|
}
|
|
671
656
|
return { width: p, height: u, top: h, right: c + p, bottom: h + u, left: c, x: c, y: h };
|
|
672
657
|
}
|
|
673
|
-
function
|
|
658
|
+
function G(e) {
|
|
674
659
|
return ((vt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
|
675
660
|
}
|
|
676
|
-
function
|
|
661
|
+
function Pe(e) {
|
|
677
662
|
return V(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
|
|
678
663
|
}
|
|
679
|
-
function
|
|
680
|
-
return ae(
|
|
664
|
+
function xt(e) {
|
|
665
|
+
return ae(G(e)).left + Pe(e).scrollLeft;
|
|
681
666
|
}
|
|
682
667
|
function le(e) {
|
|
683
|
-
if (
|
|
684
|
-
const t = e.assignedSlot || e.parentNode ||
|
|
685
|
-
return
|
|
668
|
+
if (q(e) === "html") return e;
|
|
669
|
+
const t = e.assignedSlot || e.parentNode || Ue(e) && e.host || G(e);
|
|
670
|
+
return Ue(t) ? t.host : t;
|
|
686
671
|
}
|
|
687
|
-
function
|
|
672
|
+
function bt(e) {
|
|
688
673
|
const t = le(e);
|
|
689
|
-
return
|
|
674
|
+
return je(t) ? t.ownerDocument.body : E(t) && Se(t) ? t : bt(t);
|
|
690
675
|
}
|
|
691
|
-
function
|
|
676
|
+
function $e(e, t) {
|
|
692
677
|
var o;
|
|
693
678
|
t === void 0 && (t = []);
|
|
694
|
-
const i =
|
|
695
|
-
return n ? t.concat(s, s.visualViewport || [],
|
|
679
|
+
const i = bt(e), n = i === ((o = e.ownerDocument) == null ? void 0 : o.body), s = A(i);
|
|
680
|
+
return n ? t.concat(s, s.visualViewport || [], Se(i) ? i : []) : t.concat(i, $e(i));
|
|
696
681
|
}
|
|
697
|
-
function
|
|
682
|
+
function Ke(e, t, o) {
|
|
698
683
|
return t === "viewport" ? ee(function(i, n) {
|
|
699
|
-
const s = A(i), r =
|
|
684
|
+
const s = A(i), r = G(i), a = s.visualViewport;
|
|
700
685
|
let l = r.clientWidth, d = r.clientHeight, f = 0, c = 0;
|
|
701
686
|
if (a) {
|
|
702
687
|
l = a.width, d = a.height;
|
|
703
|
-
const h =
|
|
688
|
+
const h = yt();
|
|
704
689
|
(h || !h && n === "fixed") && (f = a.offsetLeft, c = a.offsetTop);
|
|
705
690
|
}
|
|
706
691
|
return { width: l, height: d, x: f, y: c };
|
|
707
692
|
}(e, o)) : V(t) ? ee(function(i, n) {
|
|
708
|
-
const s = ae(i, !0, n === "fixed"), r = s.top + i.clientTop, a = s.left + i.clientLeft, l =
|
|
693
|
+
const s = ae(i, !0, n === "fixed"), r = s.top + i.clientTop, a = s.left + i.clientLeft, l = E(i) ? J(i) : { x: 1, y: 1 };
|
|
709
694
|
return { width: i.clientWidth * l.x, height: i.clientHeight * l.y, x: a * l.x, y: r * l.y };
|
|
710
695
|
}(t, o)) : ee(function(i) {
|
|
711
|
-
const n =
|
|
712
|
-
let d = -s.scrollLeft +
|
|
696
|
+
const n = G(i), s = Pe(i), r = i.ownerDocument.body, a = te(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), l = te(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
|
|
697
|
+
let d = -s.scrollLeft + xt(i);
|
|
713
698
|
const f = -s.scrollTop;
|
|
714
|
-
return
|
|
715
|
-
}(
|
|
699
|
+
return B(r).direction === "rtl" && (d += te(n.clientWidth, r.clientWidth) - a), { width: a, height: l, x: d, y: f };
|
|
700
|
+
}(G(e)));
|
|
716
701
|
}
|
|
717
|
-
function
|
|
718
|
-
return
|
|
702
|
+
function Ze(e) {
|
|
703
|
+
return E(e) && B(e).position !== "fixed" ? e.offsetParent : null;
|
|
719
704
|
}
|
|
720
|
-
function
|
|
705
|
+
function Je(e) {
|
|
721
706
|
const t = A(e);
|
|
722
|
-
let o =
|
|
723
|
-
for (; o &&
|
|
724
|
-
return o && (
|
|
707
|
+
let o = Ze(e);
|
|
708
|
+
for (; o && uo(o) && B(o).position === "static"; ) o = Ze(o);
|
|
709
|
+
return o && (q(o) === "html" || q(o) === "body" && B(o).position === "static" && !Me(o)) ? t : o || function(i) {
|
|
725
710
|
let n = le(i);
|
|
726
|
-
for (;
|
|
727
|
-
if (
|
|
711
|
+
for (; E(n) && !je(n); ) {
|
|
712
|
+
if (Me(n)) return n;
|
|
728
713
|
n = le(n);
|
|
729
714
|
}
|
|
730
715
|
return null;
|
|
731
716
|
}(e) || t;
|
|
732
717
|
}
|
|
733
|
-
function
|
|
734
|
-
const i =
|
|
718
|
+
function fo(e, t, o) {
|
|
719
|
+
const i = E(t), n = G(t), s = ae(e, !0, o === "fixed", t);
|
|
735
720
|
let r = { scrollLeft: 0, scrollTop: 0 };
|
|
736
721
|
const a = { x: 0, y: 0 };
|
|
737
|
-
if (i || !i && o !== "fixed") if ((
|
|
722
|
+
if (i || !i && o !== "fixed") if ((q(t) !== "body" || Se(n)) && (r = Pe(t)), E(t)) {
|
|
738
723
|
const l = ae(t, !0);
|
|
739
724
|
a.x = l.x + t.clientLeft, a.y = l.y + t.clientTop;
|
|
740
|
-
} else n && (a.x =
|
|
725
|
+
} else n && (a.x = xt(n));
|
|
741
726
|
return { x: s.left + r.scrollLeft - a.x, y: s.top + r.scrollTop - a.y, width: s.width, height: s.height };
|
|
742
727
|
}
|
|
743
|
-
const
|
|
728
|
+
const mo = { getClippingRect: function(e) {
|
|
744
729
|
let { element: t, boundary: o, rootBoundary: i, strategy: n } = e;
|
|
745
730
|
const s = o === "clippingAncestors" ? function(d, f) {
|
|
746
731
|
const c = f.get(d);
|
|
747
732
|
if (c) return c;
|
|
748
|
-
let h =
|
|
749
|
-
const u =
|
|
733
|
+
let h = $e(d).filter((w) => V(w) && q(w) !== "body"), p = null;
|
|
734
|
+
const u = B(d).position === "fixed";
|
|
750
735
|
let m = u ? le(d) : d;
|
|
751
|
-
for (; V(m) && !
|
|
752
|
-
const w =
|
|
753
|
-
(u ? g || p : g || w.position !== "static" || !p || !["absolute", "fixed"].includes(p.position)) ? p = w : h = h.filter((
|
|
736
|
+
for (; V(m) && !je(m); ) {
|
|
737
|
+
const w = B(m), g = Me(m);
|
|
738
|
+
(u ? g || p : g || w.position !== "static" || !p || !["absolute", "fixed"].includes(p.position)) ? p = w : h = h.filter((v) => v !== m), m = le(m);
|
|
754
739
|
}
|
|
755
740
|
return f.set(d, h), h;
|
|
756
741
|
}(t, this._c) : [].concat(o), r = [...s, i], a = r[0], l = r.reduce((d, f) => {
|
|
757
|
-
const c =
|
|
758
|
-
return d.top = te(c.top, d.top), d.right =
|
|
759
|
-
},
|
|
742
|
+
const c = Ke(t, f, n);
|
|
743
|
+
return d.top = te(c.top, d.top), d.right = Xe(c.right, d.right), d.bottom = Xe(c.bottom, d.bottom), d.left = te(c.left, d.left), d;
|
|
744
|
+
}, Ke(t, a, n));
|
|
760
745
|
return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
|
|
761
746
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
|
|
762
747
|
let { rect: t, offsetParent: o, strategy: i } = e;
|
|
763
|
-
const n =
|
|
748
|
+
const n = E(o), s = G(o);
|
|
764
749
|
if (o === s) return t;
|
|
765
750
|
let r = { scrollLeft: 0, scrollTop: 0 }, a = { x: 1, y: 1 };
|
|
766
751
|
const l = { x: 0, y: 0 };
|
|
767
|
-
if ((n || !n && i !== "fixed") && ((
|
|
752
|
+
if ((n || !n && i !== "fixed") && ((q(o) !== "body" || Se(s)) && (r = Pe(o)), E(o))) {
|
|
768
753
|
const d = ae(o);
|
|
769
754
|
a = J(o), l.x = d.x + o.clientLeft, l.y = d.y + o.clientTop;
|
|
770
755
|
}
|
|
771
756
|
return { width: t.width * a.x, height: t.height * a.y, x: t.x * a.x - r.scrollLeft * a.x + l.x, y: t.y * a.y - r.scrollTop * a.y + l.y };
|
|
772
757
|
}, isElement: V, getDimensions: function(e) {
|
|
773
|
-
return
|
|
774
|
-
}, getOffsetParent:
|
|
758
|
+
return E(e) ? gt(e) : e.getBoundingClientRect();
|
|
759
|
+
}, getOffsetParent: Je, getDocumentElement: G, getScale: J, async getElementRects(e) {
|
|
775
760
|
let { reference: t, floating: o, strategy: i } = e;
|
|
776
|
-
const n = this.getOffsetParent ||
|
|
777
|
-
return { reference:
|
|
778
|
-
}, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) =>
|
|
779
|
-
const i = /* @__PURE__ */ new Map(), n = { platform:
|
|
780
|
-
return
|
|
761
|
+
const n = this.getOffsetParent || Je, s = this.getDimensions;
|
|
762
|
+
return { reference: fo(t, await n(o), i), floating: { x: 0, y: 0, ...await s(o) } };
|
|
763
|
+
}, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => B(e).direction === "rtl" }, go = (e, t, o) => {
|
|
764
|
+
const i = /* @__PURE__ */ new Map(), n = { platform: mo, ...o }, s = { ...n.platform, _c: i };
|
|
765
|
+
return io(e, t, { ...n, platform: s });
|
|
781
766
|
};
|
|
782
|
-
function
|
|
767
|
+
function Tt(e, t) {
|
|
783
768
|
for (const o in t)
|
|
784
|
-
Object.prototype.hasOwnProperty.call(t, o) && (typeof t[o] == "object" && e[o] ?
|
|
769
|
+
Object.prototype.hasOwnProperty.call(t, o) && (typeof t[o] == "object" && e[o] ? Tt(e[o], t[o]) : e[o] = t[o]);
|
|
785
770
|
}
|
|
786
|
-
const
|
|
771
|
+
const L = {
|
|
787
772
|
// Disable popper components
|
|
788
773
|
disabled: !1,
|
|
789
774
|
// Default position offset along main axis (px)
|
|
@@ -863,25 +848,25 @@ const H = {
|
|
|
863
848
|
}
|
|
864
849
|
};
|
|
865
850
|
function de(e, t) {
|
|
866
|
-
let o =
|
|
851
|
+
let o = L.themes[e] || {}, i;
|
|
867
852
|
do
|
|
868
|
-
i = o[t], typeof i > "u" ? o.$extend ? o =
|
|
853
|
+
i = o[t], typeof i > "u" ? o.$extend ? o = L.themes[o.$extend] || {} : (o = null, i = L[t]) : o = null;
|
|
869
854
|
while (o);
|
|
870
855
|
return i;
|
|
871
856
|
}
|
|
872
|
-
function
|
|
857
|
+
function wo(e) {
|
|
873
858
|
const t = [e];
|
|
874
|
-
let o =
|
|
859
|
+
let o = L.themes[e] || {};
|
|
875
860
|
do
|
|
876
|
-
o.$extend && !o.$resetCss ? (t.push(o.$extend), o =
|
|
861
|
+
o.$extend && !o.$resetCss ? (t.push(o.$extend), o = L.themes[o.$extend] || {}) : o = null;
|
|
877
862
|
while (o);
|
|
878
863
|
return t.map((i) => `v-popper--theme-${i}`);
|
|
879
864
|
}
|
|
880
|
-
function
|
|
865
|
+
function Qe(e) {
|
|
881
866
|
const t = [e];
|
|
882
|
-
let o =
|
|
867
|
+
let o = L.themes[e] || {};
|
|
883
868
|
do
|
|
884
|
-
o.$extend ? (t.push(o.$extend), o =
|
|
869
|
+
o.$extend ? (t.push(o.$extend), o = L.themes[o.$extend] || {}) : o = null;
|
|
885
870
|
while (o);
|
|
886
871
|
return t;
|
|
887
872
|
}
|
|
@@ -898,60 +883,60 @@ if (typeof window < "u") {
|
|
|
898
883
|
} catch {
|
|
899
884
|
}
|
|
900
885
|
}
|
|
901
|
-
let
|
|
902
|
-
typeof window < "u" && typeof navigator < "u" && (
|
|
903
|
-
const
|
|
886
|
+
let St = !1;
|
|
887
|
+
typeof window < "u" && typeof navigator < "u" && (St = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
|
|
888
|
+
const Pt = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
|
|
904
889
|
t,
|
|
905
890
|
`${t}-start`,
|
|
906
891
|
`${t}-end`
|
|
907
|
-
]), []),
|
|
892
|
+
]), []), et = {
|
|
908
893
|
hover: "mouseenter",
|
|
909
894
|
focus: "focus",
|
|
910
895
|
click: "click",
|
|
911
896
|
touch: "touchstart",
|
|
912
897
|
pointer: "pointerdown"
|
|
913
|
-
},
|
|
898
|
+
}, tt = {
|
|
914
899
|
hover: "mouseleave",
|
|
915
900
|
focus: "blur",
|
|
916
901
|
click: "click",
|
|
917
902
|
touch: "touchend",
|
|
918
903
|
pointer: "pointerup"
|
|
919
904
|
};
|
|
920
|
-
function
|
|
905
|
+
function ot(e, t) {
|
|
921
906
|
const o = e.indexOf(t);
|
|
922
907
|
o !== -1 && e.splice(o, 1);
|
|
923
908
|
}
|
|
924
|
-
function
|
|
909
|
+
function ze() {
|
|
925
910
|
return new Promise((e) => requestAnimationFrame(() => {
|
|
926
911
|
requestAnimationFrame(e);
|
|
927
912
|
}));
|
|
928
913
|
}
|
|
929
914
|
const k = [];
|
|
930
915
|
let X = null;
|
|
931
|
-
const
|
|
932
|
-
function
|
|
933
|
-
let t =
|
|
934
|
-
return t || (t =
|
|
916
|
+
const it = {};
|
|
917
|
+
function nt(e) {
|
|
918
|
+
let t = it[e];
|
|
919
|
+
return t || (t = it[e] = []), t;
|
|
935
920
|
}
|
|
936
|
-
let
|
|
921
|
+
let Re = function() {
|
|
937
922
|
};
|
|
938
|
-
typeof window < "u" && (
|
|
939
|
-
function
|
|
923
|
+
typeof window < "u" && (Re = window.Element);
|
|
924
|
+
function y(e) {
|
|
940
925
|
return function(t) {
|
|
941
926
|
return de(t.theme, e);
|
|
942
927
|
};
|
|
943
928
|
}
|
|
944
|
-
const
|
|
929
|
+
const Ne = "__floating-vue__popper", Ct = () => xe({
|
|
945
930
|
name: "VPopper",
|
|
946
931
|
provide() {
|
|
947
932
|
return {
|
|
948
|
-
[
|
|
933
|
+
[Ne]: {
|
|
949
934
|
parentPopper: this
|
|
950
935
|
}
|
|
951
936
|
};
|
|
952
937
|
},
|
|
953
938
|
inject: {
|
|
954
|
-
[
|
|
939
|
+
[Ne]: { default: null }
|
|
955
940
|
},
|
|
956
941
|
props: {
|
|
957
942
|
theme: {
|
|
@@ -984,147 +969,147 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
984
969
|
},
|
|
985
970
|
disabled: {
|
|
986
971
|
type: Boolean,
|
|
987
|
-
default:
|
|
972
|
+
default: y("disabled")
|
|
988
973
|
},
|
|
989
974
|
positioningDisabled: {
|
|
990
975
|
type: Boolean,
|
|
991
|
-
default:
|
|
976
|
+
default: y("positioningDisabled")
|
|
992
977
|
},
|
|
993
978
|
placement: {
|
|
994
979
|
type: String,
|
|
995
|
-
default:
|
|
996
|
-
validator: (e) =>
|
|
980
|
+
default: y("placement"),
|
|
981
|
+
validator: (e) => Pt.includes(e)
|
|
997
982
|
},
|
|
998
983
|
delay: {
|
|
999
984
|
type: [String, Number, Object],
|
|
1000
|
-
default:
|
|
985
|
+
default: y("delay")
|
|
1001
986
|
},
|
|
1002
987
|
distance: {
|
|
1003
988
|
type: [Number, String],
|
|
1004
|
-
default:
|
|
989
|
+
default: y("distance")
|
|
1005
990
|
},
|
|
1006
991
|
skidding: {
|
|
1007
992
|
type: [Number, String],
|
|
1008
|
-
default:
|
|
993
|
+
default: y("skidding")
|
|
1009
994
|
},
|
|
1010
995
|
triggers: {
|
|
1011
996
|
type: Array,
|
|
1012
|
-
default:
|
|
997
|
+
default: y("triggers")
|
|
1013
998
|
},
|
|
1014
999
|
showTriggers: {
|
|
1015
1000
|
type: [Array, Function],
|
|
1016
|
-
default:
|
|
1001
|
+
default: y("showTriggers")
|
|
1017
1002
|
},
|
|
1018
1003
|
hideTriggers: {
|
|
1019
1004
|
type: [Array, Function],
|
|
1020
|
-
default:
|
|
1005
|
+
default: y("hideTriggers")
|
|
1021
1006
|
},
|
|
1022
1007
|
popperTriggers: {
|
|
1023
1008
|
type: Array,
|
|
1024
|
-
default:
|
|
1009
|
+
default: y("popperTriggers")
|
|
1025
1010
|
},
|
|
1026
1011
|
popperShowTriggers: {
|
|
1027
1012
|
type: [Array, Function],
|
|
1028
|
-
default:
|
|
1013
|
+
default: y("popperShowTriggers")
|
|
1029
1014
|
},
|
|
1030
1015
|
popperHideTriggers: {
|
|
1031
1016
|
type: [Array, Function],
|
|
1032
|
-
default:
|
|
1017
|
+
default: y("popperHideTriggers")
|
|
1033
1018
|
},
|
|
1034
1019
|
container: {
|
|
1035
|
-
type: [String, Object,
|
|
1036
|
-
default:
|
|
1020
|
+
type: [String, Object, Re, Boolean],
|
|
1021
|
+
default: y("container")
|
|
1037
1022
|
},
|
|
1038
1023
|
boundary: {
|
|
1039
|
-
type: [String,
|
|
1040
|
-
default:
|
|
1024
|
+
type: [String, Re],
|
|
1025
|
+
default: y("boundary")
|
|
1041
1026
|
},
|
|
1042
1027
|
strategy: {
|
|
1043
1028
|
type: String,
|
|
1044
1029
|
validator: (e) => ["absolute", "fixed"].includes(e),
|
|
1045
|
-
default:
|
|
1030
|
+
default: y("strategy")
|
|
1046
1031
|
},
|
|
1047
1032
|
autoHide: {
|
|
1048
1033
|
type: [Boolean, Function],
|
|
1049
|
-
default:
|
|
1034
|
+
default: y("autoHide")
|
|
1050
1035
|
},
|
|
1051
1036
|
handleResize: {
|
|
1052
1037
|
type: Boolean,
|
|
1053
|
-
default:
|
|
1038
|
+
default: y("handleResize")
|
|
1054
1039
|
},
|
|
1055
1040
|
instantMove: {
|
|
1056
1041
|
type: Boolean,
|
|
1057
|
-
default:
|
|
1042
|
+
default: y("instantMove")
|
|
1058
1043
|
},
|
|
1059
1044
|
eagerMount: {
|
|
1060
1045
|
type: Boolean,
|
|
1061
|
-
default:
|
|
1046
|
+
default: y("eagerMount")
|
|
1062
1047
|
},
|
|
1063
1048
|
popperClass: {
|
|
1064
1049
|
type: [String, Array, Object],
|
|
1065
|
-
default:
|
|
1050
|
+
default: y("popperClass")
|
|
1066
1051
|
},
|
|
1067
1052
|
computeTransformOrigin: {
|
|
1068
1053
|
type: Boolean,
|
|
1069
|
-
default:
|
|
1054
|
+
default: y("computeTransformOrigin")
|
|
1070
1055
|
},
|
|
1071
1056
|
/**
|
|
1072
1057
|
* @deprecated
|
|
1073
1058
|
*/
|
|
1074
1059
|
autoMinSize: {
|
|
1075
1060
|
type: Boolean,
|
|
1076
|
-
default:
|
|
1061
|
+
default: y("autoMinSize")
|
|
1077
1062
|
},
|
|
1078
1063
|
autoSize: {
|
|
1079
1064
|
type: [Boolean, String],
|
|
1080
|
-
default:
|
|
1065
|
+
default: y("autoSize")
|
|
1081
1066
|
},
|
|
1082
1067
|
/**
|
|
1083
1068
|
* @deprecated
|
|
1084
1069
|
*/
|
|
1085
1070
|
autoMaxSize: {
|
|
1086
1071
|
type: Boolean,
|
|
1087
|
-
default:
|
|
1072
|
+
default: y("autoMaxSize")
|
|
1088
1073
|
},
|
|
1089
1074
|
autoBoundaryMaxSize: {
|
|
1090
1075
|
type: Boolean,
|
|
1091
|
-
default:
|
|
1076
|
+
default: y("autoBoundaryMaxSize")
|
|
1092
1077
|
},
|
|
1093
1078
|
preventOverflow: {
|
|
1094
1079
|
type: Boolean,
|
|
1095
|
-
default:
|
|
1080
|
+
default: y("preventOverflow")
|
|
1096
1081
|
},
|
|
1097
1082
|
overflowPadding: {
|
|
1098
1083
|
type: [Number, String],
|
|
1099
|
-
default:
|
|
1084
|
+
default: y("overflowPadding")
|
|
1100
1085
|
},
|
|
1101
1086
|
arrowPadding: {
|
|
1102
1087
|
type: [Number, String],
|
|
1103
|
-
default:
|
|
1088
|
+
default: y("arrowPadding")
|
|
1104
1089
|
},
|
|
1105
1090
|
arrowOverflow: {
|
|
1106
1091
|
type: Boolean,
|
|
1107
|
-
default:
|
|
1092
|
+
default: y("arrowOverflow")
|
|
1108
1093
|
},
|
|
1109
1094
|
flip: {
|
|
1110
1095
|
type: Boolean,
|
|
1111
|
-
default:
|
|
1096
|
+
default: y("flip")
|
|
1112
1097
|
},
|
|
1113
1098
|
shift: {
|
|
1114
1099
|
type: Boolean,
|
|
1115
|
-
default:
|
|
1100
|
+
default: y("shift")
|
|
1116
1101
|
},
|
|
1117
1102
|
shiftCrossAxis: {
|
|
1118
1103
|
type: Boolean,
|
|
1119
|
-
default:
|
|
1104
|
+
default: y("shiftCrossAxis")
|
|
1120
1105
|
},
|
|
1121
1106
|
noAutoFocus: {
|
|
1122
1107
|
type: Boolean,
|
|
1123
|
-
default:
|
|
1108
|
+
default: y("noAutoFocus")
|
|
1124
1109
|
},
|
|
1125
1110
|
disposeTimeout: {
|
|
1126
1111
|
type: Number,
|
|
1127
|
-
default:
|
|
1112
|
+
default: y("disposeTimeout")
|
|
1128
1113
|
}
|
|
1129
1114
|
},
|
|
1130
1115
|
emits: {
|
|
@@ -1198,7 +1183,7 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1198
1183
|
},
|
|
1199
1184
|
parentPopper() {
|
|
1200
1185
|
var e;
|
|
1201
|
-
return (e = this[
|
|
1186
|
+
return (e = this[Ne]) == null ? void 0 : e.parentPopper;
|
|
1202
1187
|
},
|
|
1203
1188
|
hasPopperShowTriggerHover() {
|
|
1204
1189
|
var e, t;
|
|
@@ -1287,21 +1272,21 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1287
1272
|
strategy: this.strategy,
|
|
1288
1273
|
middleware: []
|
|
1289
1274
|
};
|
|
1290
|
-
(this.distance || this.skidding) && e.middleware.push(
|
|
1275
|
+
(this.distance || this.skidding) && e.middleware.push(po({
|
|
1291
1276
|
mainAxis: this.distance,
|
|
1292
1277
|
crossAxis: this.skidding
|
|
1293
1278
|
}));
|
|
1294
1279
|
const t = this.placement.startsWith("auto");
|
|
1295
|
-
if (t ? e.middleware.push(
|
|
1280
|
+
if (t ? e.middleware.push(ro({
|
|
1296
1281
|
alignment: this.placement.split("-")[1] ?? ""
|
|
1297
|
-
})) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(
|
|
1282
|
+
})) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(co({
|
|
1298
1283
|
padding: this.overflowPadding,
|
|
1299
1284
|
boundary: this.boundary,
|
|
1300
1285
|
crossAxis: this.shiftCrossAxis
|
|
1301
|
-
})), !t && this.flip && e.middleware.push(
|
|
1286
|
+
})), !t && this.flip && e.middleware.push(ao({
|
|
1302
1287
|
padding: this.overflowPadding,
|
|
1303
1288
|
boundary: this.boundary
|
|
1304
|
-
}))), e.middleware.push(
|
|
1289
|
+
}))), e.middleware.push(no({
|
|
1305
1290
|
element: this.$_arrowNode,
|
|
1306
1291
|
padding: this.arrowPadding
|
|
1307
1292
|
})), this.arrowOverflow && e.middleware.push({
|
|
@@ -1335,14 +1320,14 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1335
1320
|
}
|
|
1336
1321
|
});
|
|
1337
1322
|
}
|
|
1338
|
-
(this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(
|
|
1323
|
+
(this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(ho({
|
|
1339
1324
|
boundary: this.boundary,
|
|
1340
1325
|
padding: this.overflowPadding,
|
|
1341
1326
|
apply: ({ availableWidth: i, availableHeight: n }) => {
|
|
1342
1327
|
this.$_innerNode.style.maxWidth = i != null ? `${i}px` : null, this.$_innerNode.style.maxHeight = n != null ? `${n}px` : null;
|
|
1343
1328
|
}
|
|
1344
1329
|
})));
|
|
1345
|
-
const o = await
|
|
1330
|
+
const o = await go(this.$_referenceNode, this.$_popperNode, e);
|
|
1346
1331
|
Object.assign(this.result, {
|
|
1347
1332
|
x: o.x,
|
|
1348
1333
|
y: o.y,
|
|
@@ -1373,9 +1358,9 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1373
1358
|
return parseInt(t && t[e] || t || 0);
|
|
1374
1359
|
},
|
|
1375
1360
|
async $_applyShow(e = !1) {
|
|
1376
|
-
clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await
|
|
1377
|
-
|
|
1378
|
-
|
|
1361
|
+
clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await ze(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
|
|
1362
|
+
...$e(this.$_referenceNode),
|
|
1363
|
+
...$e(this.$_popperNode)
|
|
1379
1364
|
], "scroll", () => {
|
|
1380
1365
|
this.$_computePosition();
|
|
1381
1366
|
}));
|
|
@@ -1398,9 +1383,9 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1398
1383
|
t = k[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
|
|
1399
1384
|
}
|
|
1400
1385
|
k.push(this), document.body.classList.add("v-popper--some-open");
|
|
1401
|
-
for (const t of
|
|
1402
|
-
|
|
1403
|
-
this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await
|
|
1386
|
+
for (const t of Qe(this.theme))
|
|
1387
|
+
nt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
|
|
1388
|
+
this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await ze(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
|
|
1404
1389
|
},
|
|
1405
1390
|
async $_applyHide(e = !1) {
|
|
1406
1391
|
if (this.shownChildren.size > 0) {
|
|
@@ -1409,10 +1394,10 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1409
1394
|
}
|
|
1410
1395
|
if (clearTimeout(this.$_scheduleTimer), !this.isShown)
|
|
1411
1396
|
return;
|
|
1412
|
-
this.skipTransition = e,
|
|
1413
|
-
for (const o of
|
|
1414
|
-
const i =
|
|
1415
|
-
|
|
1397
|
+
this.skipTransition = e, ot(k, this), k.length === 0 && document.body.classList.remove("v-popper--some-open");
|
|
1398
|
+
for (const o of Qe(this.theme)) {
|
|
1399
|
+
const i = nt(o);
|
|
1400
|
+
ot(i, this), i.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
|
|
1416
1401
|
}
|
|
1417
1402
|
X === this && (X = null), this.isShown = !1, this.$_applyAttrsToTarget({
|
|
1418
1403
|
"aria-describedby": void 0,
|
|
@@ -1421,7 +1406,7 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1421
1406
|
const t = this.disposeTimeout;
|
|
1422
1407
|
t !== null && (this.$_disposeTimer = setTimeout(() => {
|
|
1423
1408
|
this.$_popperNode && (this.$_detachPopperNode(), this.isMounted = !1);
|
|
1424
|
-
}, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await
|
|
1409
|
+
}, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await ze(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
|
|
1425
1410
|
},
|
|
1426
1411
|
$_autoShowHide() {
|
|
1427
1412
|
this.shown ? this.show() : this.hide();
|
|
@@ -1438,11 +1423,11 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1438
1423
|
const e = (o) => {
|
|
1439
1424
|
this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
|
|
1440
1425
|
};
|
|
1441
|
-
this.$_registerTriggerListeners(this.$_targetNodes,
|
|
1426
|
+
this.$_registerTriggerListeners(this.$_targetNodes, et, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], et, this.popperTriggers, this.popperShowTriggers, e);
|
|
1442
1427
|
const t = (o) => {
|
|
1443
1428
|
o.usedByTooltip || this.hide({ event: o });
|
|
1444
1429
|
};
|
|
1445
|
-
this.$_registerTriggerListeners(this.$_targetNodes,
|
|
1430
|
+
this.$_registerTriggerListeners(this.$_targetNodes, tt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], tt, this.popperTriggers, this.popperHideTriggers, t);
|
|
1446
1431
|
},
|
|
1447
1432
|
$_registerEventListeners(e, t, o) {
|
|
1448
1433
|
this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((i) => i.addEventListener(t, o, Q ? {
|
|
@@ -1496,10 +1481,10 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1496
1481
|
const e = this.$_referenceNode.getBoundingClientRect();
|
|
1497
1482
|
if (oe >= e.left && oe <= e.right && ie >= e.top && ie <= e.bottom) {
|
|
1498
1483
|
const t = this.$_popperNode.getBoundingClientRect(), o = oe - j, i = ie - W, n = t.left + t.width / 2 - j + (t.top + t.height / 2) - W + t.width + t.height, s = j + o * n, r = W + i * n;
|
|
1499
|
-
return
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1484
|
+
return ue(j, W, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
|
|
1485
|
+
ue(j, W, s, r, t.left, t.top, t.right, t.top) || // Top edge
|
|
1486
|
+
ue(j, W, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
|
|
1487
|
+
ue(j, W, s, r, t.left, t.bottom, t.right, t.bottom);
|
|
1503
1488
|
}
|
|
1504
1489
|
return !1;
|
|
1505
1490
|
}
|
|
@@ -1509,19 +1494,19 @@ const ke = "__floating-vue__popper", At = () => be({
|
|
|
1509
1494
|
}
|
|
1510
1495
|
});
|
|
1511
1496
|
if (typeof document < "u" && typeof window < "u") {
|
|
1512
|
-
if (
|
|
1497
|
+
if (St) {
|
|
1513
1498
|
const e = Q ? {
|
|
1514
1499
|
passive: !0,
|
|
1515
1500
|
capture: !0
|
|
1516
1501
|
} : !0;
|
|
1517
|
-
document.addEventListener("touchstart", (t) =>
|
|
1502
|
+
document.addEventListener("touchstart", (t) => st(t, !0), e), document.addEventListener("touchend", (t) => rt(t, !0), e);
|
|
1518
1503
|
} else
|
|
1519
|
-
window.addEventListener("mousedown", (e) =>
|
|
1520
|
-
window.addEventListener("resize",
|
|
1504
|
+
window.addEventListener("mousedown", (e) => st(e, !1), !0), window.addEventListener("click", (e) => rt(e, !1), !0);
|
|
1505
|
+
window.addEventListener("resize", yo);
|
|
1521
1506
|
}
|
|
1522
|
-
function
|
|
1523
|
-
if (
|
|
1524
|
-
|
|
1507
|
+
function st(e, t) {
|
|
1508
|
+
if (L.autoHideOnMousedown)
|
|
1509
|
+
At(e, t);
|
|
1525
1510
|
else
|
|
1526
1511
|
for (let o = 0; o < k.length; o++) {
|
|
1527
1512
|
const i = k[o];
|
|
@@ -1531,17 +1516,17 @@ function rt(e, t) {
|
|
|
1531
1516
|
}
|
|
1532
1517
|
}
|
|
1533
1518
|
}
|
|
1534
|
-
function
|
|
1535
|
-
|
|
1519
|
+
function rt(e, t) {
|
|
1520
|
+
L.autoHideOnMousedown || At(e, t);
|
|
1536
1521
|
}
|
|
1537
|
-
function
|
|
1522
|
+
function At(e, t) {
|
|
1538
1523
|
const o = {};
|
|
1539
1524
|
for (let i = k.length - 1; i >= 0; i--) {
|
|
1540
1525
|
const n = k[i];
|
|
1541
1526
|
try {
|
|
1542
1527
|
const s = n.containsGlobalTarget = n.mouseDownContains || n.popperNode().contains(e.target);
|
|
1543
1528
|
n.pendingHide = !1, requestAnimationFrame(() => {
|
|
1544
|
-
if (n.pendingHide = !1, !o[n.randomId] &&
|
|
1529
|
+
if (n.pendingHide = !1, !o[n.randomId] && at(n, s, e)) {
|
|
1545
1530
|
if (n.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && s) {
|
|
1546
1531
|
let a = n.parentPopper;
|
|
1547
1532
|
for (; a; )
|
|
@@ -1549,7 +1534,7 @@ function Ot(e, t) {
|
|
|
1549
1534
|
return;
|
|
1550
1535
|
}
|
|
1551
1536
|
let r = n.parentPopper;
|
|
1552
|
-
for (; r &&
|
|
1537
|
+
for (; r && at(r, r.containsGlobalTarget, e); )
|
|
1553
1538
|
r.$_handleGlobalClose(e, t), r = r.parentPopper;
|
|
1554
1539
|
}
|
|
1555
1540
|
});
|
|
@@ -1557,7 +1542,7 @@ function Ot(e, t) {
|
|
|
1557
1542
|
}
|
|
1558
1543
|
}
|
|
1559
1544
|
}
|
|
1560
|
-
function
|
|
1545
|
+
function at(e, t, o) {
|
|
1561
1546
|
return o.closeAllPopover || o.closePopover && t || vo(e, o) && !t;
|
|
1562
1547
|
}
|
|
1563
1548
|
function vo(e, t) {
|
|
@@ -1567,7 +1552,7 @@ function vo(e, t) {
|
|
|
1567
1552
|
}
|
|
1568
1553
|
return e.autoHide;
|
|
1569
1554
|
}
|
|
1570
|
-
function
|
|
1555
|
+
function yo() {
|
|
1571
1556
|
for (let e = 0; e < k.length; e++)
|
|
1572
1557
|
k[e].$_computePosition();
|
|
1573
1558
|
}
|
|
@@ -1577,30 +1562,30 @@ typeof window < "u" && window.addEventListener("mousemove", (e) => {
|
|
|
1577
1562
|
}, Q ? {
|
|
1578
1563
|
passive: !0
|
|
1579
1564
|
} : void 0);
|
|
1580
|
-
function
|
|
1565
|
+
function ue(e, t, o, i, n, s, r, a) {
|
|
1581
1566
|
const l = ((r - n) * (t - s) - (a - s) * (e - n)) / ((a - s) * (o - e) - (r - n) * (i - t)), d = ((o - e) * (t - s) - (i - t) * (e - n)) / ((a - s) * (o - e) - (r - n) * (i - t));
|
|
1582
1567
|
return l >= 0 && l <= 1 && d >= 0 && d <= 1;
|
|
1583
1568
|
}
|
|
1584
|
-
const
|
|
1585
|
-
extends:
|
|
1586
|
-
},
|
|
1569
|
+
const $o = {
|
|
1570
|
+
extends: Ct()
|
|
1571
|
+
}, Ce = (e, t) => {
|
|
1587
1572
|
const o = e.__vccOpts || e;
|
|
1588
1573
|
for (const [i, n] of t)
|
|
1589
1574
|
o[i] = n;
|
|
1590
1575
|
return o;
|
|
1591
1576
|
};
|
|
1592
|
-
function
|
|
1577
|
+
function _o(e, t, o, i, n, s) {
|
|
1593
1578
|
return I(), se("div", {
|
|
1594
1579
|
ref: "reference",
|
|
1595
|
-
class:
|
|
1580
|
+
class: De(["v-popper", {
|
|
1596
1581
|
"v-popper--shown": e.slotData.isShown
|
|
1597
1582
|
}])
|
|
1598
1583
|
}, [
|
|
1599
|
-
|
|
1584
|
+
me(e.$slots, "default", Gt(qt(e.slotData)))
|
|
1600
1585
|
], 2);
|
|
1601
1586
|
}
|
|
1602
|
-
const
|
|
1603
|
-
function
|
|
1587
|
+
const xo = /* @__PURE__ */ Ce($o, [["render", _o]]);
|
|
1588
|
+
function bo() {
|
|
1604
1589
|
var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
|
|
1605
1590
|
if (t > 0)
|
|
1606
1591
|
return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
|
|
@@ -1612,11 +1597,11 @@ function To() {
|
|
|
1612
1597
|
var n = e.indexOf("Edge/");
|
|
1613
1598
|
return n > 0 ? parseInt(e.substring(n + 5, e.indexOf(".", n)), 10) : -1;
|
|
1614
1599
|
}
|
|
1615
|
-
let
|
|
1600
|
+
let fe;
|
|
1616
1601
|
function Be() {
|
|
1617
|
-
Be.init || (Be.init = !0,
|
|
1602
|
+
Be.init || (Be.init = !0, fe = bo() !== -1);
|
|
1618
1603
|
}
|
|
1619
|
-
var
|
|
1604
|
+
var Ae = {
|
|
1620
1605
|
name: "ResizeObserver",
|
|
1621
1606
|
props: {
|
|
1622
1607
|
emitOnMount: {
|
|
@@ -1636,11 +1621,11 @@ var Oe = {
|
|
|
1636
1621
|
"notify"
|
|
1637
1622
|
],
|
|
1638
1623
|
mounted() {
|
|
1639
|
-
Be(),
|
|
1624
|
+
Be(), It(() => {
|
|
1640
1625
|
this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
|
|
1641
1626
|
});
|
|
1642
1627
|
const e = document.createElement("object");
|
|
1643
|
-
this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html",
|
|
1628
|
+
this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", fe && this.$el.appendChild(e), e.data = "about:blank", fe || this.$el.appendChild(e);
|
|
1644
1629
|
},
|
|
1645
1630
|
beforeUnmount() {
|
|
1646
1631
|
this.removeResizeHandlers();
|
|
@@ -1659,34 +1644,34 @@ var Oe = {
|
|
|
1659
1644
|
this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
|
|
1660
1645
|
},
|
|
1661
1646
|
removeResizeHandlers() {
|
|
1662
|
-
this._resizeObject && this._resizeObject.onload && (!
|
|
1647
|
+
this._resizeObject && this._resizeObject.onload && (!fe && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
|
|
1663
1648
|
}
|
|
1664
1649
|
}
|
|
1665
1650
|
};
|
|
1666
|
-
const
|
|
1667
|
-
|
|
1668
|
-
const
|
|
1651
|
+
const To = /* @__PURE__ */ jt();
|
|
1652
|
+
Dt("data-v-b329ee4c");
|
|
1653
|
+
const So = {
|
|
1669
1654
|
class: "resize-observer",
|
|
1670
1655
|
tabindex: "-1"
|
|
1671
1656
|
};
|
|
1672
|
-
|
|
1673
|
-
const
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
const
|
|
1657
|
+
Ft();
|
|
1658
|
+
const Po = /* @__PURE__ */ To((e, t, o, i, n, s) => (I(), be("div", So)));
|
|
1659
|
+
Ae.render = Po;
|
|
1660
|
+
Ae.__scopeId = "data-v-b329ee4c";
|
|
1661
|
+
Ae.__file = "src/components/ResizeObserver.vue";
|
|
1662
|
+
const Ot = (e = "theme") => ({
|
|
1678
1663
|
computed: {
|
|
1679
1664
|
themeClass() {
|
|
1680
|
-
return
|
|
1665
|
+
return wo(this[e]);
|
|
1681
1666
|
}
|
|
1682
1667
|
}
|
|
1683
|
-
}),
|
|
1668
|
+
}), Co = xe({
|
|
1684
1669
|
name: "VPopperContent",
|
|
1685
1670
|
components: {
|
|
1686
|
-
ResizeObserver:
|
|
1671
|
+
ResizeObserver: Ae
|
|
1687
1672
|
},
|
|
1688
1673
|
mixins: [
|
|
1689
|
-
|
|
1674
|
+
Ot()
|
|
1690
1675
|
],
|
|
1691
1676
|
props: {
|
|
1692
1677
|
popperId: String,
|
|
@@ -1708,19 +1693,19 @@ const zt = (e = "theme") => ({
|
|
|
1708
1693
|
return e != null && !isNaN(e) ? `${e}px` : null;
|
|
1709
1694
|
}
|
|
1710
1695
|
}
|
|
1711
|
-
}),
|
|
1696
|
+
}), Ao = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Oo = {
|
|
1712
1697
|
ref: "inner",
|
|
1713
1698
|
class: "v-popper__inner"
|
|
1714
|
-
},
|
|
1715
|
-
|
|
1716
|
-
|
|
1699
|
+
}, zo = /* @__PURE__ */ K("div", { class: "v-popper__arrow-outer" }, null, -1), No = /* @__PURE__ */ K("div", { class: "v-popper__arrow-inner" }, null, -1), ko = [
|
|
1700
|
+
zo,
|
|
1701
|
+
No
|
|
1717
1702
|
];
|
|
1718
1703
|
function Ho(e, t, o, i, n, s) {
|
|
1719
1704
|
const r = ne("ResizeObserver");
|
|
1720
1705
|
return I(), se("div", {
|
|
1721
1706
|
id: e.popperId,
|
|
1722
1707
|
ref: "popover",
|
|
1723
|
-
class:
|
|
1708
|
+
class: De(["v-popper__popper", [
|
|
1724
1709
|
e.themeClass,
|
|
1725
1710
|
e.classes.popperClass,
|
|
1726
1711
|
{
|
|
@@ -1735,14 +1720,14 @@ function Ho(e, t, o, i, n, s) {
|
|
|
1735
1720
|
"v-popper__popper--no-positioning": !e.result
|
|
1736
1721
|
}
|
|
1737
1722
|
]]),
|
|
1738
|
-
style:
|
|
1723
|
+
style: Oe(e.result ? {
|
|
1739
1724
|
position: e.result.strategy,
|
|
1740
1725
|
transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
|
|
1741
1726
|
} : void 0),
|
|
1742
1727
|
"aria-hidden": e.shown ? "false" : "true",
|
|
1743
1728
|
tabindex: e.autoHide ? 0 : void 0,
|
|
1744
1729
|
"data-popper-placement": e.result ? e.result.placement : void 0,
|
|
1745
|
-
onKeyup: t[2] || (t[2] =
|
|
1730
|
+
onKeyup: t[2] || (t[2] = Vt((a) => e.autoHide && e.$emit("hide"), ["esc"]))
|
|
1746
1731
|
}, [
|
|
1747
1732
|
K("div", {
|
|
1748
1733
|
class: "v-popper__backdrop",
|
|
@@ -1750,33 +1735,33 @@ function Ho(e, t, o, i, n, s) {
|
|
|
1750
1735
|
}),
|
|
1751
1736
|
K("div", {
|
|
1752
1737
|
class: "v-popper__wrapper",
|
|
1753
|
-
style:
|
|
1738
|
+
style: Oe(e.result ? {
|
|
1754
1739
|
transformOrigin: e.result.transformOrigin
|
|
1755
1740
|
} : void 0)
|
|
1756
1741
|
}, [
|
|
1757
|
-
K("div",
|
|
1758
|
-
e.mounted ? (I(), se(
|
|
1742
|
+
K("div", Oo, [
|
|
1743
|
+
e.mounted ? (I(), se(Wt, { key: 0 }, [
|
|
1759
1744
|
K("div", null, [
|
|
1760
|
-
|
|
1745
|
+
me(e.$slots, "default")
|
|
1761
1746
|
]),
|
|
1762
|
-
e.handleResize ? (I(),
|
|
1747
|
+
e.handleResize ? (I(), be(r, {
|
|
1763
1748
|
key: 0,
|
|
1764
1749
|
onNotify: t[1] || (t[1] = (a) => e.$emit("resize", a))
|
|
1765
|
-
})) :
|
|
1766
|
-
], 64)) :
|
|
1750
|
+
})) : Ve("", !0)
|
|
1751
|
+
], 64)) : Ve("", !0)
|
|
1767
1752
|
], 512),
|
|
1768
1753
|
K("div", {
|
|
1769
1754
|
ref: "arrow",
|
|
1770
1755
|
class: "v-popper__arrow-container",
|
|
1771
|
-
style:
|
|
1756
|
+
style: Oe(e.result ? {
|
|
1772
1757
|
left: e.toPx(e.result.arrow.x),
|
|
1773
1758
|
top: e.toPx(e.result.arrow.y)
|
|
1774
1759
|
} : void 0)
|
|
1775
|
-
},
|
|
1760
|
+
}, ko, 4)
|
|
1776
1761
|
], 4)
|
|
1777
|
-
], 46,
|
|
1762
|
+
], 46, Ao);
|
|
1778
1763
|
}
|
|
1779
|
-
const
|
|
1764
|
+
const zt = /* @__PURE__ */ Ce(Co, [["render", Ho]]), Nt = {
|
|
1780
1765
|
methods: {
|
|
1781
1766
|
show(...e) {
|
|
1782
1767
|
return this.$refs.popper.show(...e);
|
|
@@ -1792,18 +1777,18 @@ const Nt = /* @__PURE__ */ Ae(Ao, [["render", Ho]]), kt = {
|
|
|
1792
1777
|
}
|
|
1793
1778
|
}
|
|
1794
1779
|
};
|
|
1795
|
-
let
|
|
1780
|
+
let Ee = function() {
|
|
1796
1781
|
};
|
|
1797
|
-
typeof window < "u" && (
|
|
1798
|
-
const Lo =
|
|
1782
|
+
typeof window < "u" && (Ee = window.Element);
|
|
1783
|
+
const Lo = xe({
|
|
1799
1784
|
name: "VPopperWrapper",
|
|
1800
1785
|
components: {
|
|
1801
|
-
Popper:
|
|
1802
|
-
PopperContent:
|
|
1786
|
+
Popper: xo,
|
|
1787
|
+
PopperContent: zt
|
|
1803
1788
|
},
|
|
1804
1789
|
mixins: [
|
|
1805
|
-
|
|
1806
|
-
|
|
1790
|
+
Nt,
|
|
1791
|
+
Ot("finalTheme")
|
|
1807
1792
|
],
|
|
1808
1793
|
props: {
|
|
1809
1794
|
theme: {
|
|
@@ -1875,11 +1860,11 @@ const Lo = be({
|
|
|
1875
1860
|
default: void 0
|
|
1876
1861
|
},
|
|
1877
1862
|
container: {
|
|
1878
|
-
type: [String, Object,
|
|
1863
|
+
type: [String, Object, Ee, Boolean],
|
|
1879
1864
|
default: void 0
|
|
1880
1865
|
},
|
|
1881
1866
|
boundary: {
|
|
1882
|
-
type: [String,
|
|
1867
|
+
type: [String, Ee],
|
|
1883
1868
|
default: void 0
|
|
1884
1869
|
},
|
|
1885
1870
|
strategy: {
|
|
@@ -1991,9 +1976,9 @@ const Lo = be({
|
|
|
1991
1976
|
}
|
|
1992
1977
|
}
|
|
1993
1978
|
});
|
|
1994
|
-
function
|
|
1979
|
+
function Mo(e, t, o, i, n, s) {
|
|
1995
1980
|
const r = ne("PopperContent"), a = ne("Popper");
|
|
1996
|
-
return I(),
|
|
1981
|
+
return I(), be(a, ht({ ref: "popper" }, e.$props, {
|
|
1997
1982
|
theme: e.finalTheme,
|
|
1998
1983
|
"target-nodes": e.getTargetNodes,
|
|
1999
1984
|
"popper-node": () => e.$refs.popperContent.$el,
|
|
@@ -2010,7 +1995,7 @@ function Ro(e, t, o, i, n, s) {
|
|
|
2010
1995
|
onAutoHide: t[7] || (t[7] = () => e.$emit("auto-hide")),
|
|
2011
1996
|
onResize: t[8] || (t[8] = () => e.$emit("resize"))
|
|
2012
1997
|
}), {
|
|
2013
|
-
default:
|
|
1998
|
+
default: ge(({
|
|
2014
1999
|
popperId: l,
|
|
2015
2000
|
isShown: d,
|
|
2016
2001
|
shouldMountContent: f,
|
|
@@ -2021,14 +2006,14 @@ function Ro(e, t, o, i, n, s) {
|
|
|
2021
2006
|
handleResize: m,
|
|
2022
2007
|
onResize: w,
|
|
2023
2008
|
classes: g,
|
|
2024
|
-
result:
|
|
2009
|
+
result: v
|
|
2025
2010
|
}) => [
|
|
2026
|
-
|
|
2011
|
+
me(e.$slots, "default", {
|
|
2027
2012
|
shown: d,
|
|
2028
2013
|
show: p,
|
|
2029
2014
|
hide: u
|
|
2030
2015
|
}),
|
|
2031
|
-
|
|
2016
|
+
ct(r, {
|
|
2032
2017
|
ref: "popperContent",
|
|
2033
2018
|
"popper-id": l,
|
|
2034
2019
|
theme: e.finalTheme,
|
|
@@ -2038,12 +2023,12 @@ function Ro(e, t, o, i, n, s) {
|
|
|
2038
2023
|
"auto-hide": h,
|
|
2039
2024
|
"handle-resize": m,
|
|
2040
2025
|
classes: g,
|
|
2041
|
-
result:
|
|
2026
|
+
result: v,
|
|
2042
2027
|
onHide: u,
|
|
2043
2028
|
onResize: w
|
|
2044
2029
|
}, {
|
|
2045
|
-
default:
|
|
2046
|
-
|
|
2030
|
+
default: ge(() => [
|
|
2031
|
+
me(e.$slots, "popper", {
|
|
2047
2032
|
shown: d,
|
|
2048
2033
|
hide: u
|
|
2049
2034
|
})
|
|
@@ -2054,26 +2039,26 @@ function Ro(e, t, o, i, n, s) {
|
|
|
2054
2039
|
_: 3
|
|
2055
2040
|
}, 16, ["theme", "target-nodes", "popper-node", "class"]);
|
|
2056
2041
|
}
|
|
2057
|
-
const
|
|
2058
|
-
...
|
|
2042
|
+
const We = /* @__PURE__ */ Ce(Lo, [["render", Mo]]), Ro = {
|
|
2043
|
+
...We,
|
|
2059
2044
|
name: "VDropdown",
|
|
2060
2045
|
vPopperTheme: "dropdown"
|
|
2061
2046
|
}, Bo = {
|
|
2062
|
-
...
|
|
2047
|
+
...We,
|
|
2063
2048
|
name: "VMenu",
|
|
2064
2049
|
vPopperTheme: "menu"
|
|
2065
|
-
},
|
|
2066
|
-
...
|
|
2050
|
+
}, Eo = {
|
|
2051
|
+
...We,
|
|
2067
2052
|
name: "VTooltip",
|
|
2068
2053
|
vPopperTheme: "tooltip"
|
|
2069
|
-
},
|
|
2054
|
+
}, Do = xe({
|
|
2070
2055
|
name: "VTooltipDirective",
|
|
2071
2056
|
components: {
|
|
2072
|
-
Popper:
|
|
2073
|
-
PopperContent:
|
|
2057
|
+
Popper: Ct(),
|
|
2058
|
+
PopperContent: zt
|
|
2074
2059
|
},
|
|
2075
2060
|
mixins: [
|
|
2076
|
-
|
|
2061
|
+
Nt
|
|
2077
2062
|
],
|
|
2078
2063
|
inheritAttrs: !1,
|
|
2079
2064
|
props: {
|
|
@@ -2146,17 +2131,17 @@ const Ve = /* @__PURE__ */ Ae(Lo, [["render", Ro]]), Eo = {
|
|
|
2146
2131
|
this.$_isShown = !1;
|
|
2147
2132
|
}
|
|
2148
2133
|
}
|
|
2149
|
-
}),
|
|
2150
|
-
function
|
|
2134
|
+
}), Fo = ["innerHTML"], Io = ["textContent"];
|
|
2135
|
+
function jo(e, t, o, i, n, s) {
|
|
2151
2136
|
const r = ne("PopperContent"), a = ne("Popper");
|
|
2152
|
-
return I(),
|
|
2137
|
+
return I(), be(a, ht({ ref: "popper" }, e.$attrs, {
|
|
2153
2138
|
theme: e.theme,
|
|
2154
2139
|
"target-nodes": e.targetNodes,
|
|
2155
2140
|
"popper-node": () => e.$refs.popperContent.$el,
|
|
2156
2141
|
onApplyShow: e.onShow,
|
|
2157
2142
|
onApplyHide: e.onHide
|
|
2158
2143
|
}), {
|
|
2159
|
-
default:
|
|
2144
|
+
default: ge(({
|
|
2160
2145
|
popperId: l,
|
|
2161
2146
|
isShown: d,
|
|
2162
2147
|
shouldMountContent: f,
|
|
@@ -2168,9 +2153,9 @@ function Wo(e, t, o, i, n, s) {
|
|
|
2168
2153
|
classes: w,
|
|
2169
2154
|
result: g
|
|
2170
2155
|
}) => [
|
|
2171
|
-
|
|
2156
|
+
ct(r, {
|
|
2172
2157
|
ref: "popperContent",
|
|
2173
|
-
class:
|
|
2158
|
+
class: De({
|
|
2174
2159
|
"v-popper--tooltip-loading": e.loading
|
|
2175
2160
|
}),
|
|
2176
2161
|
"popper-id": l,
|
|
@@ -2185,14 +2170,14 @@ function Wo(e, t, o, i, n, s) {
|
|
|
2185
2170
|
onHide: p,
|
|
2186
2171
|
onResize: m
|
|
2187
2172
|
}, {
|
|
2188
|
-
default:
|
|
2173
|
+
default: ge(() => [
|
|
2189
2174
|
e.html ? (I(), se("div", {
|
|
2190
2175
|
key: 0,
|
|
2191
2176
|
innerHTML: e.finalContent
|
|
2192
|
-
}, null, 8,
|
|
2177
|
+
}, null, 8, Fo)) : (I(), se("div", {
|
|
2193
2178
|
key: 1,
|
|
2194
|
-
textContent:
|
|
2195
|
-
}, null, 8,
|
|
2179
|
+
textContent: Ut(e.finalContent)
|
|
2180
|
+
}, null, 8, Io))
|
|
2196
2181
|
]),
|
|
2197
2182
|
_: 2
|
|
2198
2183
|
}, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
|
|
@@ -2200,24 +2185,24 @@ function Wo(e, t, o, i, n, s) {
|
|
|
2200
2185
|
_: 1
|
|
2201
2186
|
}, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
|
|
2202
2187
|
}
|
|
2203
|
-
const
|
|
2204
|
-
function
|
|
2188
|
+
const Wo = /* @__PURE__ */ Ce(Do, [["render", jo]]), kt = "v-popper--has-tooltip";
|
|
2189
|
+
function Vo(e, t) {
|
|
2205
2190
|
let o = e.placement;
|
|
2206
2191
|
if (!o && t)
|
|
2207
|
-
for (const i of
|
|
2192
|
+
for (const i of Pt)
|
|
2208
2193
|
t[i] && (o = i);
|
|
2209
2194
|
return o || (o = de(e.theme || "tooltip", "placement")), o;
|
|
2210
2195
|
}
|
|
2211
2196
|
function Ht(e, t, o) {
|
|
2212
2197
|
let i;
|
|
2213
2198
|
const n = typeof t;
|
|
2214
|
-
return n === "string" ? i = { content: t } : t && n === "object" ? i = t : i = { content: !1 }, i.placement =
|
|
2199
|
+
return n === "string" ? i = { content: t } : t && n === "object" ? i = t : i = { content: !1 }, i.placement = Vo(i, o), i.targetNodes = () => [e], i.referenceNode = () => e, i;
|
|
2215
2200
|
}
|
|
2216
|
-
let
|
|
2217
|
-
function
|
|
2218
|
-
if (
|
|
2201
|
+
let ke, pe, Go = 0;
|
|
2202
|
+
function qo() {
|
|
2203
|
+
if (ke)
|
|
2219
2204
|
return;
|
|
2220
|
-
pe = He([]),
|
|
2205
|
+
pe = He([]), ke = Yt({
|
|
2221
2206
|
name: "VTooltipDirectiveApp",
|
|
2222
2207
|
setup() {
|
|
2223
2208
|
return {
|
|
@@ -2225,7 +2210,7 @@ function Yo() {
|
|
|
2225
2210
|
};
|
|
2226
2211
|
},
|
|
2227
2212
|
render() {
|
|
2228
|
-
return this.directives.map((t) =>
|
|
2213
|
+
return this.directives.map((t) => Xt(Wo, {
|
|
2229
2214
|
...t.options,
|
|
2230
2215
|
shown: t.shown || t.options.shown,
|
|
2231
2216
|
key: t.id
|
|
@@ -2236,16 +2221,16 @@ function Yo() {
|
|
|
2236
2221
|
}
|
|
2237
2222
|
});
|
|
2238
2223
|
const e = document.createElement("div");
|
|
2239
|
-
document.body.appendChild(e),
|
|
2224
|
+
document.body.appendChild(e), ke.mount(e);
|
|
2240
2225
|
}
|
|
2241
|
-
function
|
|
2242
|
-
|
|
2226
|
+
function Yo(e, t, o) {
|
|
2227
|
+
qo();
|
|
2243
2228
|
const i = He(Ht(e, t, o)), n = He(!1), s = {
|
|
2244
2229
|
id: Go++,
|
|
2245
2230
|
options: i,
|
|
2246
2231
|
shown: n
|
|
2247
2232
|
};
|
|
2248
|
-
return pe.value.push(s), e.classList && e.classList.add(
|
|
2233
|
+
return pe.value.push(s), e.classList && e.classList.add(kt), e.$_popper = {
|
|
2249
2234
|
options: i,
|
|
2250
2235
|
item: s,
|
|
2251
2236
|
show() {
|
|
@@ -2261,45 +2246,45 @@ function Lt(e) {
|
|
|
2261
2246
|
const t = pe.value.indexOf(e.$_popper.item);
|
|
2262
2247
|
t !== -1 && pe.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
|
|
2263
2248
|
}
|
|
2264
|
-
e.classList && e.classList.remove(
|
|
2249
|
+
e.classList && e.classList.remove(kt);
|
|
2265
2250
|
}
|
|
2266
|
-
function
|
|
2251
|
+
function lt(e, { value: t, modifiers: o }) {
|
|
2267
2252
|
const i = Ht(e, t, o);
|
|
2268
2253
|
if (!i.content || de(i.theme || "tooltip", "disabled"))
|
|
2269
2254
|
Lt(e);
|
|
2270
2255
|
else {
|
|
2271
2256
|
let n;
|
|
2272
|
-
e.$_popper ? (n = e.$_popper, n.options.value = i) : n =
|
|
2257
|
+
e.$_popper ? (n = e.$_popper, n.options.value = i) : n = Yo(e, t, o), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? n.show() : n.hide());
|
|
2273
2258
|
}
|
|
2274
2259
|
}
|
|
2275
|
-
const
|
|
2276
|
-
beforeMount:
|
|
2277
|
-
updated:
|
|
2260
|
+
const Xo = {
|
|
2261
|
+
beforeMount: lt,
|
|
2262
|
+
updated: lt,
|
|
2278
2263
|
beforeUnmount(e) {
|
|
2279
2264
|
Lt(e);
|
|
2280
2265
|
}
|
|
2281
2266
|
};
|
|
2282
|
-
function
|
|
2283
|
-
e.addEventListener("mousedown",
|
|
2267
|
+
function dt(e) {
|
|
2268
|
+
e.addEventListener("mousedown", _e), e.addEventListener("click", _e), e.addEventListener("touchstart", Mt, Q ? {
|
|
2284
2269
|
passive: !0
|
|
2285
2270
|
} : !1);
|
|
2286
2271
|
}
|
|
2287
|
-
function
|
|
2288
|
-
e.removeEventListener("mousedown",
|
|
2272
|
+
function pt(e) {
|
|
2273
|
+
e.removeEventListener("mousedown", _e), e.removeEventListener("click", _e), e.removeEventListener("touchstart", Mt), e.removeEventListener("touchend", Rt), e.removeEventListener("touchcancel", Bt);
|
|
2289
2274
|
}
|
|
2290
|
-
function
|
|
2275
|
+
function _e(e) {
|
|
2291
2276
|
const t = e.currentTarget;
|
|
2292
2277
|
e.closePopover = !t.$_vclosepopover_touch, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
|
|
2293
2278
|
}
|
|
2294
|
-
function
|
|
2279
|
+
function Mt(e) {
|
|
2295
2280
|
if (e.changedTouches.length === 1) {
|
|
2296
2281
|
const t = e.currentTarget;
|
|
2297
2282
|
t.$_vclosepopover_touch = !0;
|
|
2298
2283
|
const o = e.changedTouches[0];
|
|
2299
|
-
t.$_vclosepopover_touchPoint = o, t.addEventListener("touchend",
|
|
2284
|
+
t.$_vclosepopover_touchPoint = o, t.addEventListener("touchend", Rt), t.addEventListener("touchcancel", Bt);
|
|
2300
2285
|
}
|
|
2301
2286
|
}
|
|
2302
|
-
function
|
|
2287
|
+
function Rt(e) {
|
|
2303
2288
|
const t = e.currentTarget;
|
|
2304
2289
|
if (t.$_vclosepopover_touch = !1, e.changedTouches.length === 1) {
|
|
2305
2290
|
const o = e.changedTouches[0], i = t.$_vclosepopover_touchPoint;
|
|
@@ -2310,27 +2295,27 @@ function Bt(e) {
|
|
|
2310
2295
|
const t = e.currentTarget;
|
|
2311
2296
|
t.$_vclosepopover_touch = !1;
|
|
2312
2297
|
}
|
|
2313
|
-
const
|
|
2298
|
+
const Uo = {
|
|
2314
2299
|
beforeMount(e, { value: t, modifiers: o }) {
|
|
2315
|
-
e.$_closePopoverModifiers = o, (typeof t > "u" || t) &&
|
|
2300
|
+
e.$_closePopoverModifiers = o, (typeof t > "u" || t) && dt(e);
|
|
2316
2301
|
},
|
|
2317
2302
|
updated(e, { value: t, oldValue: o, modifiers: i }) {
|
|
2318
|
-
e.$_closePopoverModifiers = i, t !== o && (typeof t > "u" || t ?
|
|
2303
|
+
e.$_closePopoverModifiers = i, t !== o && (typeof t > "u" || t ? dt(e) : pt(e));
|
|
2319
2304
|
},
|
|
2320
2305
|
beforeUnmount(e) {
|
|
2321
|
-
|
|
2306
|
+
pt(e);
|
|
2322
2307
|
}
|
|
2323
2308
|
};
|
|
2324
|
-
function
|
|
2325
|
-
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0,
|
|
2309
|
+
function Ko(e, t = {}) {
|
|
2310
|
+
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, Tt(L, t), e.directive("tooltip", Xo), e.directive("close-popper", Uo), e.component("VTooltip", Eo), e.component("VDropdown", Ro), e.component("VMenu", Bo));
|
|
2326
2311
|
}
|
|
2327
|
-
const
|
|
2312
|
+
const Jo = {
|
|
2328
2313
|
// eslint-disable-next-line no-undef
|
|
2329
2314
|
version: "5.2.2",
|
|
2330
|
-
install:
|
|
2331
|
-
options:
|
|
2315
|
+
install: Ko,
|
|
2316
|
+
options: L
|
|
2332
2317
|
};
|
|
2333
2318
|
export {
|
|
2334
|
-
|
|
2319
|
+
Jo as G
|
|
2335
2320
|
};
|
|
2336
|
-
//# sourceMappingURL=style-
|
|
2321
|
+
//# sourceMappingURL=style-CF23zZwv.js.map
|