@avenirs-esr/avenirs-dsav 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avenirs-dsav.css +1 -1
- package/dist/avenirs-dsav.es.js +569 -570
- package/dist/avenirs-dsav.umd.js +8 -8
- package/dist/components/interaction/files/index.d.ts +1 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +3 -3
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +264 -6
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stories.d.ts +1 -0
- package/package.json +1 -1
package/dist/avenirs-dsav.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, h as
|
|
1
|
+
import { defineComponent as j, h as Ht, ref as X, computed as M, onMounted as ue, watch as oe, onUnmounted as ve, Comment as Aa, cloneVNode as ca, createElementBlock as p, openBlock as c, normalizeClass as Z, createElementVNode as h, toDisplayString as x, createCommentVNode as D, renderSlot as B, createTextVNode as ae, withModifiers as ce, unref as f, Fragment as K, renderList as te, createVNode as R, withKeys as st, withCtx as F, provide as ut, inject as Xe, toRef as At, createBlock as U, resolveDynamicComponent as de, useId as da, mergeProps as Y, reactive as Ct, normalizeStyle as be, useTemplateRef as fa, normalizeProps as ct, useAttrs as pa, useCssVars as Ae, Transition as va, withDirectives as ga, vShow as ba, hasInjectionContext as ma, resolveComponent as Dt, onBeforeUnmount as yn, nextTick as De, createPropsRestProxy as Cn, useSlots as fe, TransitionGroup as Ia, mergeModels as me, useModel as qe, createSlots as We, isRef as wt, getCurrentScope as ha, onScopeDispose as ya, getCurrentInstance as En, toValue as ie, shallowRef as Fe, guardReactiveProps as Ca, toRefs as Mn, Teleport as Nn } from "vue";
|
|
2
2
|
const Nc = {
|
|
3
3
|
name: "AvBadge",
|
|
4
4
|
template: '<div class="av-badge"/>',
|
|
@@ -16,7 +16,7 @@ const Nc = {
|
|
|
16
16
|
backgroundColor: String,
|
|
17
17
|
iconPath: String
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, Tn = /^[a-z0-9]+(-[a-z0-9]+)*$/, dt = (e, t, n, a = "") => {
|
|
20
20
|
const o = e.split(":");
|
|
21
21
|
if (e.slice(0, 1) === "@") {
|
|
22
22
|
if (o.length < 2 || o.length > 3)
|
|
@@ -32,7 +32,7 @@ const Nc = {
|
|
|
32
32
|
prefix: i,
|
|
33
33
|
name: s
|
|
34
34
|
};
|
|
35
|
-
return t && !
|
|
35
|
+
return t && !Ke(u) ? null : u;
|
|
36
36
|
}
|
|
37
37
|
const r = o[0], l = r.split("-");
|
|
38
38
|
if (l.length > 1) {
|
|
@@ -41,7 +41,7 @@ const Nc = {
|
|
|
41
41
|
prefix: l.shift(),
|
|
42
42
|
name: l.join("-")
|
|
43
43
|
};
|
|
44
|
-
return t && !
|
|
44
|
+
return t && !Ke(s) ? null : s;
|
|
45
45
|
}
|
|
46
46
|
if (n && a === "") {
|
|
47
47
|
const s = {
|
|
@@ -49,27 +49,27 @@ const Nc = {
|
|
|
49
49
|
prefix: "",
|
|
50
50
|
name: r
|
|
51
51
|
};
|
|
52
|
-
return t && !
|
|
52
|
+
return t && !Ke(s, n) ? null : s;
|
|
53
53
|
}
|
|
54
54
|
return null;
|
|
55
|
-
},
|
|
55
|
+
}, Ke = (e, t) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
56
56
|
// Check name: cannot be empty
|
|
57
|
-
((t && e.prefix === "" || e.prefix) && e.name) : !1,
|
|
57
|
+
((t && e.prefix === "" || e.prefix) && e.name) : !1, kn = Object.freeze(
|
|
58
58
|
{
|
|
59
59
|
left: 0,
|
|
60
60
|
top: 0,
|
|
61
61
|
width: 16,
|
|
62
62
|
height: 16
|
|
63
63
|
}
|
|
64
|
-
),
|
|
64
|
+
), _e = Object.freeze({
|
|
65
65
|
rotate: 0,
|
|
66
66
|
vFlip: !1,
|
|
67
67
|
hFlip: !1
|
|
68
|
-
}),
|
|
69
|
-
...
|
|
70
|
-
|
|
71
|
-
}),
|
|
72
|
-
...
|
|
68
|
+
}), ft = Object.freeze({
|
|
69
|
+
...kn,
|
|
70
|
+
..._e
|
|
71
|
+
}), Et = Object.freeze({
|
|
72
|
+
...ft,
|
|
73
73
|
body: "",
|
|
74
74
|
hidden: !1
|
|
75
75
|
});
|
|
@@ -79,10 +79,10 @@ function Ea(e, t) {
|
|
|
79
79
|
const a = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
80
80
|
return a && (n.rotate = a), n;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Xt(e, t) {
|
|
83
83
|
const n = Ea(e, t);
|
|
84
|
-
for (const a in
|
|
85
|
-
a in
|
|
84
|
+
for (const a in Et)
|
|
85
|
+
a in _e ? a in e && !(a in n) && (n[a] = _e[a]) : a in t ? n[a] = t[a] : a in e && (n[a] = e[a]);
|
|
86
86
|
return n;
|
|
87
87
|
}
|
|
88
88
|
function Ma(e, t) {
|
|
@@ -103,14 +103,14 @@ function Na(e, t, n) {
|
|
|
103
103
|
const a = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
104
104
|
let r = {};
|
|
105
105
|
function l(s) {
|
|
106
|
-
r =
|
|
106
|
+
r = Xt(
|
|
107
107
|
a[s] || o[s],
|
|
108
108
|
r
|
|
109
109
|
);
|
|
110
110
|
}
|
|
111
|
-
return l(t), n.forEach(l),
|
|
111
|
+
return l(t), n.forEach(l), Xt(e, r);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Qn(e, t) {
|
|
114
114
|
const n = [];
|
|
115
115
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
116
116
|
return n;
|
|
@@ -128,19 +128,19 @@ const Ta = {
|
|
|
128
128
|
provider: "",
|
|
129
129
|
aliases: {},
|
|
130
130
|
not_found: {},
|
|
131
|
-
...
|
|
131
|
+
...kn
|
|
132
132
|
};
|
|
133
|
-
function
|
|
133
|
+
function bt(e, t) {
|
|
134
134
|
for (const n in t)
|
|
135
135
|
if (n in e && typeof e[n] != typeof t[n])
|
|
136
136
|
return !1;
|
|
137
137
|
return !0;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Ln(e) {
|
|
140
140
|
if (typeof e != "object" || e === null)
|
|
141
141
|
return null;
|
|
142
142
|
const t = e;
|
|
143
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
143
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !bt(e, Ta))
|
|
144
144
|
return null;
|
|
145
145
|
const n = t.icons;
|
|
146
146
|
for (const o in n) {
|
|
@@ -149,9 +149,9 @@ function On(e) {
|
|
|
149
149
|
// Name cannot be empty
|
|
150
150
|
!o || // Must have body
|
|
151
151
|
typeof r.body != "string" || // Check other props
|
|
152
|
-
!
|
|
152
|
+
!bt(
|
|
153
153
|
r,
|
|
154
|
-
|
|
154
|
+
Et
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
return null;
|
|
@@ -163,9 +163,9 @@ function On(e) {
|
|
|
163
163
|
// Name cannot be empty
|
|
164
164
|
!o || // Parent must be set and point to existing icon
|
|
165
165
|
typeof l != "string" || !n[l] && !a[l] || // Check other props
|
|
166
|
-
!
|
|
166
|
+
!bt(
|
|
167
167
|
r,
|
|
168
|
-
|
|
168
|
+
Et
|
|
169
169
|
)
|
|
170
170
|
)
|
|
171
171
|
return null;
|
|
@@ -181,12 +181,12 @@ function ka(e, t) {
|
|
|
181
181
|
missing: /* @__PURE__ */ new Set()
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Oe(e, t) {
|
|
185
185
|
const n = Zt[e] || (Zt[e] = /* @__PURE__ */ Object.create(null));
|
|
186
186
|
return n[t] || (n[t] = ka(e, t));
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
return
|
|
188
|
+
function On(e, t) {
|
|
189
|
+
return Ln(t) ? Qn(t, (n, a) => {
|
|
190
190
|
a ? e.icons[n] = a : e.missing.add(n);
|
|
191
191
|
}) : [];
|
|
192
192
|
}
|
|
@@ -198,52 +198,52 @@ function Qa(e, t, n) {
|
|
|
198
198
|
}
|
|
199
199
|
return !1;
|
|
200
200
|
}
|
|
201
|
-
let
|
|
202
|
-
function
|
|
203
|
-
return typeof e == "boolean" && (
|
|
201
|
+
let He = !1;
|
|
202
|
+
function Sn(e) {
|
|
203
|
+
return typeof e == "boolean" && (He = e), He;
|
|
204
204
|
}
|
|
205
205
|
function La(e) {
|
|
206
|
-
const t = typeof e == "string" ?
|
|
206
|
+
const t = typeof e == "string" ? dt(e, !0, He) : e;
|
|
207
207
|
if (t) {
|
|
208
|
-
const n =
|
|
208
|
+
const n = Oe(t.provider, t.prefix), a = t.name;
|
|
209
209
|
return n.icons[a] || (n.missing.has(a) ? null : void 0);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
function Oa(e, t) {
|
|
213
|
-
const n =
|
|
213
|
+
const n = dt(e, !0, He);
|
|
214
214
|
if (!n)
|
|
215
215
|
return !1;
|
|
216
|
-
const a =
|
|
216
|
+
const a = Oe(n.provider, n.prefix);
|
|
217
217
|
return t ? Qa(a, n.name, t) : (a.missing.add(n.name), !0);
|
|
218
218
|
}
|
|
219
219
|
function Sa(e, t) {
|
|
220
220
|
if (typeof e != "object")
|
|
221
221
|
return !1;
|
|
222
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
222
|
+
if (typeof t != "string" && (t = e.provider || ""), He && !t && !e.prefix) {
|
|
223
223
|
let o = !1;
|
|
224
|
-
return
|
|
224
|
+
return Ln(e) && (e.prefix = "", Qn(e, (r, l) => {
|
|
225
225
|
Oa(r, l) && (o = !0);
|
|
226
226
|
})), o;
|
|
227
227
|
}
|
|
228
228
|
const n = e.prefix;
|
|
229
|
-
if (!
|
|
229
|
+
if (!Ke({
|
|
230
230
|
prefix: n,
|
|
231
231
|
name: "a"
|
|
232
232
|
}))
|
|
233
233
|
return !1;
|
|
234
|
-
const a =
|
|
235
|
-
return !!
|
|
234
|
+
const a = Oe(t, n);
|
|
235
|
+
return !!On(a, e);
|
|
236
236
|
}
|
|
237
|
-
const
|
|
237
|
+
const Dn = Object.freeze({
|
|
238
238
|
width: null,
|
|
239
239
|
height: null
|
|
240
|
-
}),
|
|
240
|
+
}), wn = Object.freeze({
|
|
241
241
|
// Dimensions
|
|
242
|
-
...
|
|
242
|
+
...Dn,
|
|
243
243
|
// Transformations
|
|
244
|
-
|
|
244
|
+
..._e
|
|
245
245
|
}), Da = /(-?[0-9.]*[0-9]+[0-9.]*)/g, wa = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
246
|
-
function
|
|
246
|
+
function Rt(e, t, n) {
|
|
247
247
|
if (t === 1)
|
|
248
248
|
return e;
|
|
249
249
|
if (n = n || 100, typeof e == "number")
|
|
@@ -293,10 +293,10 @@ function ja(e, t, n) {
|
|
|
293
293
|
const Pa = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
294
294
|
function xa(e, t) {
|
|
295
295
|
const n = {
|
|
296
|
-
...
|
|
296
|
+
...ft,
|
|
297
297
|
...e
|
|
298
298
|
}, a = {
|
|
299
|
-
...
|
|
299
|
+
...wn,
|
|
300
300
|
...t
|
|
301
301
|
}, o = {
|
|
302
302
|
left: n.left,
|
|
@@ -339,7 +339,7 @@ function xa(e, t) {
|
|
|
339
339
|
});
|
|
340
340
|
const l = a.width, s = a.height, i = o.width, u = o.height;
|
|
341
341
|
let A, d;
|
|
342
|
-
l === null ? (d = s === null ? "1em" : s === "auto" ? u : s, A =
|
|
342
|
+
l === null ? (d = s === null ? "1em" : s === "auto" ? u : s, A = Rt(d, i / u)) : (A = l === "auto" ? i : l, d = s === null ? Rt(A, u / i) : s === "auto" ? u : s);
|
|
343
343
|
const m = {}, b = (C, v) => {
|
|
344
344
|
Pa(v) || (m[C] = v.toString());
|
|
345
345
|
};
|
|
@@ -371,14 +371,14 @@ function qa(e, t = Va) {
|
|
|
371
371
|
);
|
|
372
372
|
}), e = e.replace(new RegExp(o, "g"), ""), e;
|
|
373
373
|
}
|
|
374
|
-
const
|
|
374
|
+
const Mt = /* @__PURE__ */ Object.create(null);
|
|
375
375
|
function Ha(e, t) {
|
|
376
|
-
|
|
376
|
+
Mt[e] = t;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
return
|
|
378
|
+
function Nt(e) {
|
|
379
|
+
return Mt[e] || Mt[""];
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function zt(e) {
|
|
382
382
|
let t;
|
|
383
383
|
if (typeof e.resources == "string")
|
|
384
384
|
t = [e.resources];
|
|
@@ -403,23 +403,23 @@ function Bt(e) {
|
|
|
403
403
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
const
|
|
406
|
+
const Bt = /* @__PURE__ */ Object.create(null), ze = [
|
|
407
407
|
"https://api.simplesvg.com",
|
|
408
408
|
"https://api.unisvg.com"
|
|
409
|
-
],
|
|
410
|
-
for (;
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
resources: ["https://api.iconify.design"].concat(
|
|
409
|
+
], Ye = [];
|
|
410
|
+
for (; ze.length > 0; )
|
|
411
|
+
ze.length === 1 || Math.random() > 0.5 ? Ye.push(ze.shift()) : Ye.push(ze.pop());
|
|
412
|
+
Bt[""] = zt({
|
|
413
|
+
resources: ["https://api.iconify.design"].concat(Ye)
|
|
414
414
|
});
|
|
415
415
|
function Xa(e, t) {
|
|
416
|
-
const n =
|
|
417
|
-
return n === null ? !1 : (
|
|
416
|
+
const n = zt(t);
|
|
417
|
+
return n === null ? !1 : (Bt[e] = n, !0);
|
|
418
418
|
}
|
|
419
|
-
function
|
|
420
|
-
return
|
|
419
|
+
function jt(e) {
|
|
420
|
+
return Bt[e];
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const Za = () => {
|
|
423
423
|
let e;
|
|
424
424
|
try {
|
|
425
425
|
if (e = fetch, typeof e == "function")
|
|
@@ -427,9 +427,9 @@ const Ra = () => {
|
|
|
427
427
|
} catch {
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
|
-
let
|
|
431
|
-
function
|
|
432
|
-
const n =
|
|
430
|
+
let Ft = Za();
|
|
431
|
+
function Ra(e, t) {
|
|
432
|
+
const n = jt(e);
|
|
433
433
|
if (!n)
|
|
434
434
|
return 0;
|
|
435
435
|
let a;
|
|
@@ -449,7 +449,7 @@ function Fa(e) {
|
|
|
449
449
|
return e === 404;
|
|
450
450
|
}
|
|
451
451
|
const Ka = (e, t, n) => {
|
|
452
|
-
const a = [], o =
|
|
452
|
+
const a = [], o = Ra(e, t), r = "icons";
|
|
453
453
|
let l = {
|
|
454
454
|
type: r,
|
|
455
455
|
provider: e,
|
|
@@ -467,14 +467,14 @@ const Ka = (e, t, n) => {
|
|
|
467
467
|
};
|
|
468
468
|
function Ya(e) {
|
|
469
469
|
if (typeof e == "string") {
|
|
470
|
-
const t =
|
|
470
|
+
const t = jt(e);
|
|
471
471
|
if (t)
|
|
472
472
|
return t.path;
|
|
473
473
|
}
|
|
474
474
|
return "/";
|
|
475
475
|
}
|
|
476
476
|
const Ga = (e, t, n) => {
|
|
477
|
-
if (!
|
|
477
|
+
if (!Ft) {
|
|
478
478
|
n("abort", 424);
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
@@ -497,7 +497,7 @@ const Ga = (e, t, n) => {
|
|
|
497
497
|
return;
|
|
498
498
|
}
|
|
499
499
|
let o = 503;
|
|
500
|
-
|
|
500
|
+
Ft(e + a).then((r) => {
|
|
501
501
|
const l = r.status;
|
|
502
502
|
if (l !== 200) {
|
|
503
503
|
setTimeout(() => {
|
|
@@ -539,7 +539,7 @@ function _a(e) {
|
|
|
539
539
|
if (a.name === o.name && a.prefix === o.prefix && a.provider === o.provider)
|
|
540
540
|
return;
|
|
541
541
|
a = o;
|
|
542
|
-
const r = o.provider, l = o.prefix, s = o.name, i = n[r] || (n[r] = /* @__PURE__ */ Object.create(null)), u = i[l] || (i[l] =
|
|
542
|
+
const r = o.provider, l = o.prefix, s = o.name, i = n[r] || (n[r] = /* @__PURE__ */ Object.create(null)), u = i[l] || (i[l] = Oe(r, l));
|
|
543
543
|
let A;
|
|
544
544
|
s in u.icons ? A = t.loaded : l === "" || u.missing.has(s) ? A = t.missing : A = t.pending;
|
|
545
545
|
const d = {
|
|
@@ -550,7 +550,7 @@ function _a(e) {
|
|
|
550
550
|
A.push(d);
|
|
551
551
|
}), t;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function zn(e, t) {
|
|
554
554
|
e.forEach((n) => {
|
|
555
555
|
const a = n.loaderCallbacks;
|
|
556
556
|
a && (n.loaderCallbacks = a.filter((o) => o.id !== t));
|
|
@@ -585,7 +585,7 @@ function $a(e) {
|
|
|
585
585
|
else
|
|
586
586
|
return n = !0, !0;
|
|
587
587
|
return !1;
|
|
588
|
-
}), l.pending.length !== s && (n ||
|
|
588
|
+
}), l.pending.length !== s && (n || zn([e], r.id), r.callback(
|
|
589
589
|
l.loaded.slice(0),
|
|
590
590
|
l.missing.slice(0),
|
|
591
591
|
l.pending.slice(0),
|
|
@@ -596,7 +596,7 @@ function $a(e) {
|
|
|
596
596
|
}
|
|
597
597
|
let eo = 0;
|
|
598
598
|
function to(e, t, n) {
|
|
599
|
-
const a = eo++, o =
|
|
599
|
+
const a = eo++, o = zn.bind(null, n, a);
|
|
600
600
|
if (!t.pending.length)
|
|
601
601
|
return o;
|
|
602
602
|
const r = {
|
|
@@ -612,7 +612,7 @@ function to(e, t, n) {
|
|
|
612
612
|
function no(e, t = !0, n = !1) {
|
|
613
613
|
const a = [];
|
|
614
614
|
return e.forEach((o) => {
|
|
615
|
-
const r = typeof o == "string" ?
|
|
615
|
+
const r = typeof o == "string" ? dt(o, t, n) : o;
|
|
616
616
|
r && a.push(r);
|
|
617
617
|
}), a;
|
|
618
618
|
}
|
|
@@ -725,7 +725,7 @@ function oo(e, t, n, a) {
|
|
|
725
725
|
}
|
|
726
726
|
return setTimeout(z), k;
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function Bn(e) {
|
|
729
729
|
const t = {
|
|
730
730
|
...ao,
|
|
731
731
|
...e
|
|
@@ -758,42 +758,42 @@ function jn(e) {
|
|
|
758
758
|
cleanup: a
|
|
759
759
|
};
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Kt() {
|
|
762
762
|
}
|
|
763
|
-
const
|
|
763
|
+
const mt = /* @__PURE__ */ Object.create(null);
|
|
764
764
|
function ro(e) {
|
|
765
|
-
if (!
|
|
766
|
-
const t =
|
|
765
|
+
if (!mt[e]) {
|
|
766
|
+
const t = jt(e);
|
|
767
767
|
if (!t)
|
|
768
768
|
return;
|
|
769
|
-
const n =
|
|
769
|
+
const n = Bn(t), a = {
|
|
770
770
|
config: t,
|
|
771
771
|
redundancy: n
|
|
772
772
|
};
|
|
773
|
-
|
|
773
|
+
mt[e] = a;
|
|
774
774
|
}
|
|
775
|
-
return
|
|
775
|
+
return mt[e];
|
|
776
776
|
}
|
|
777
777
|
function lo(e, t, n) {
|
|
778
778
|
let a, o;
|
|
779
779
|
if (typeof e == "string") {
|
|
780
|
-
const r =
|
|
780
|
+
const r = Nt(e);
|
|
781
781
|
if (!r)
|
|
782
|
-
return n(void 0, 424),
|
|
782
|
+
return n(void 0, 424), Kt;
|
|
783
783
|
o = r.send;
|
|
784
784
|
const l = ro(e);
|
|
785
785
|
l && (a = l.redundancy);
|
|
786
786
|
} else {
|
|
787
|
-
const r =
|
|
787
|
+
const r = zt(e);
|
|
788
788
|
if (r) {
|
|
789
|
-
a =
|
|
790
|
-
const l = e.resources ? e.resources[0] : "", s =
|
|
789
|
+
a = Bn(r);
|
|
790
|
+
const l = e.resources ? e.resources[0] : "", s = Nt(l);
|
|
791
791
|
s && (o = s.send);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
return !a || !o ? (n(void 0, 424),
|
|
794
|
+
return !a || !o ? (n(void 0, 424), Kt) : a.query(t, o, n)().abort;
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function Yt() {
|
|
797
797
|
}
|
|
798
798
|
function io(e) {
|
|
799
799
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
@@ -803,13 +803,13 @@ function io(e) {
|
|
|
803
803
|
function so(e) {
|
|
804
804
|
const t = [], n = [];
|
|
805
805
|
return e.forEach((a) => {
|
|
806
|
-
(a.match(
|
|
806
|
+
(a.match(Tn) ? t : n).push(a);
|
|
807
807
|
}), {
|
|
808
808
|
valid: t,
|
|
809
809
|
invalid: n
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Be(e, t, n) {
|
|
813
813
|
function a() {
|
|
814
814
|
const o = e.pendingIcons;
|
|
815
815
|
t.forEach((r) => {
|
|
@@ -818,7 +818,7 @@ function je(e, t, n) {
|
|
|
818
818
|
}
|
|
819
819
|
if (n && typeof n == "object")
|
|
820
820
|
try {
|
|
821
|
-
if (!
|
|
821
|
+
if (!On(e, n).length) {
|
|
822
822
|
a();
|
|
823
823
|
return;
|
|
824
824
|
}
|
|
@@ -827,7 +827,7 @@ function je(e, t, n) {
|
|
|
827
827
|
}
|
|
828
828
|
a(), io(e);
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function Gt(e, t) {
|
|
831
831
|
e instanceof Promise ? e.then((n) => {
|
|
832
832
|
t(n);
|
|
833
833
|
}).catch(() => {
|
|
@@ -842,10 +842,10 @@ function uo(e, t) {
|
|
|
842
842
|
return;
|
|
843
843
|
const r = e.loadIcon;
|
|
844
844
|
if (e.loadIcons && (o.length > 1 || !r)) {
|
|
845
|
-
|
|
845
|
+
Gt(
|
|
846
846
|
e.loadIcons(o, a, n),
|
|
847
847
|
(A) => {
|
|
848
|
-
|
|
848
|
+
Be(e, o, A);
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
851
|
return;
|
|
@@ -853,35 +853,35 @@ function uo(e, t) {
|
|
|
853
853
|
if (r) {
|
|
854
854
|
o.forEach((A) => {
|
|
855
855
|
const d = r(A, a, n);
|
|
856
|
-
|
|
856
|
+
Gt(d, (m) => {
|
|
857
857
|
const b = m ? {
|
|
858
858
|
prefix: a,
|
|
859
859
|
icons: {
|
|
860
860
|
[A]: m
|
|
861
861
|
}
|
|
862
862
|
} : null;
|
|
863
|
-
|
|
863
|
+
Be(e, [A], b);
|
|
864
864
|
});
|
|
865
865
|
});
|
|
866
866
|
return;
|
|
867
867
|
}
|
|
868
868
|
const { valid: l, invalid: s } = so(o);
|
|
869
|
-
if (s.length &&
|
|
869
|
+
if (s.length && Be(e, s, null), !l.length)
|
|
870
870
|
return;
|
|
871
|
-
const i = a.match(
|
|
871
|
+
const i = a.match(Tn) ? Nt(n) : null;
|
|
872
872
|
if (!i) {
|
|
873
|
-
|
|
873
|
+
Be(e, l, null);
|
|
874
874
|
return;
|
|
875
875
|
}
|
|
876
876
|
i.prepare(n, a, l).forEach((A) => {
|
|
877
877
|
lo(n, A, (d) => {
|
|
878
|
-
|
|
878
|
+
Be(e, A.icons, d);
|
|
879
879
|
});
|
|
880
880
|
});
|
|
881
881
|
}));
|
|
882
882
|
}
|
|
883
883
|
const Ao = (e, t) => {
|
|
884
|
-
const n = no(e, !0,
|
|
884
|
+
const n = no(e, !0, Sn()), a = _a(n);
|
|
885
885
|
if (!a.pending.length) {
|
|
886
886
|
let i = !0;
|
|
887
887
|
return t && setTimeout(() => {
|
|
@@ -889,7 +889,7 @@ const Ao = (e, t) => {
|
|
|
889
889
|
a.loaded,
|
|
890
890
|
a.missing,
|
|
891
891
|
a.pending,
|
|
892
|
-
|
|
892
|
+
Yt
|
|
893
893
|
);
|
|
894
894
|
}), () => {
|
|
895
895
|
i = !1;
|
|
@@ -901,16 +901,16 @@ const Ao = (e, t) => {
|
|
|
901
901
|
const { provider: u, prefix: A } = i;
|
|
902
902
|
if (A === s && u === l)
|
|
903
903
|
return;
|
|
904
|
-
l = u, s = A, r.push(
|
|
904
|
+
l = u, s = A, r.push(Oe(u, A));
|
|
905
905
|
const d = o[u] || (o[u] = /* @__PURE__ */ Object.create(null));
|
|
906
906
|
d[A] || (d[A] = []);
|
|
907
907
|
}), a.pending.forEach((i) => {
|
|
908
|
-
const { provider: u, prefix: A, name: d } = i, m =
|
|
908
|
+
const { provider: u, prefix: A, name: d } = i, m = Oe(u, A), b = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
|
|
909
909
|
b.has(d) || (b.add(d), o[u][A].push(d));
|
|
910
910
|
}), r.forEach((i) => {
|
|
911
911
|
const u = o[i.provider][i.prefix];
|
|
912
912
|
u.length && uo(i, u);
|
|
913
|
-
}), t ? to(t, a, r) :
|
|
913
|
+
}), t ? to(t, a, r) : Yt;
|
|
914
914
|
};
|
|
915
915
|
function co(e, t) {
|
|
916
916
|
const n = {
|
|
@@ -918,7 +918,7 @@ function co(e, t) {
|
|
|
918
918
|
};
|
|
919
919
|
for (const a in t) {
|
|
920
920
|
const o = t[a], r = typeof o;
|
|
921
|
-
a in
|
|
921
|
+
a in Dn ? (o === null || o && (r === "string" || r === "number")) && (n[a] = o) : r === typeof n[a] && (n[a] = a === "rotate" ? o % 4 : o);
|
|
922
922
|
}
|
|
923
923
|
return n;
|
|
924
924
|
}
|
|
@@ -976,8 +976,8 @@ function mo(e) {
|
|
|
976
976
|
function Io(e) {
|
|
977
977
|
return 'url("' + mo(e) + '")';
|
|
978
978
|
}
|
|
979
|
-
const
|
|
980
|
-
...
|
|
979
|
+
const Jt = {
|
|
980
|
+
...wn,
|
|
981
981
|
inline: !1
|
|
982
982
|
}, ho = {
|
|
983
983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -986,34 +986,34 @@ const _t = {
|
|
|
986
986
|
role: "img"
|
|
987
987
|
}, yo = {
|
|
988
988
|
display: "inline-block"
|
|
989
|
-
},
|
|
989
|
+
}, Tt = {
|
|
990
990
|
backgroundColor: "currentColor"
|
|
991
|
-
},
|
|
991
|
+
}, jn = {
|
|
992
992
|
backgroundColor: "transparent"
|
|
993
|
-
},
|
|
993
|
+
}, _t = {
|
|
994
994
|
Image: "var(--svg)",
|
|
995
995
|
Repeat: "no-repeat",
|
|
996
996
|
Size: "100% 100%"
|
|
997
|
-
},
|
|
998
|
-
webkitMask:
|
|
999
|
-
mask:
|
|
1000
|
-
background:
|
|
997
|
+
}, $t = {
|
|
998
|
+
webkitMask: Tt,
|
|
999
|
+
mask: Tt,
|
|
1000
|
+
background: jn
|
|
1001
1001
|
};
|
|
1002
|
-
for (const e in
|
|
1003
|
-
const t =
|
|
1004
|
-
for (const n in
|
|
1005
|
-
t[e + n] =
|
|
1002
|
+
for (const e in $t) {
|
|
1003
|
+
const t = $t[e];
|
|
1004
|
+
for (const n in _t)
|
|
1005
|
+
t[e + n] = _t[n];
|
|
1006
1006
|
}
|
|
1007
|
-
const
|
|
1007
|
+
const Ge = {};
|
|
1008
1008
|
["horizontal", "vertical"].forEach((e) => {
|
|
1009
1009
|
const t = e.slice(0, 1) + "Flip";
|
|
1010
|
-
|
|
1010
|
+
Ge[e + "-flip"] = t, Ge[e.slice(0, 1) + "-flip"] = t, Ge[e + "Flip"] = t;
|
|
1011
1011
|
});
|
|
1012
|
-
function
|
|
1012
|
+
function en(e) {
|
|
1013
1013
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1014
1014
|
}
|
|
1015
|
-
const
|
|
1016
|
-
const n = co(
|
|
1015
|
+
const tn = (e, t) => {
|
|
1016
|
+
const n = co(Jt, t), a = { ...ho }, o = t.mode || "svg", r = {}, l = t.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
|
|
1017
1017
|
for (let C in t) {
|
|
1018
1018
|
const v = t[C];
|
|
1019
1019
|
if (v !== void 0)
|
|
@@ -1049,8 +1049,8 @@ const nn = (e, t) => {
|
|
|
1049
1049
|
v !== !0 && v !== "true" && delete a["aria-hidden"];
|
|
1050
1050
|
break;
|
|
1051
1051
|
default: {
|
|
1052
|
-
const k =
|
|
1053
|
-
k ? (v === !0 || v === "true" || v === 1) && (n[k] = !0) :
|
|
1052
|
+
const k = Ge[C];
|
|
1053
|
+
k ? (v === !0 || v === "true" || v === 1) && (n[k] = !0) : Jt[C] === void 0 && (a[C] = v);
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
@@ -1061,7 +1061,7 @@ const nn = (e, t) => {
|
|
|
1061
1061
|
...s
|
|
1062
1062
|
}, Object.assign(a, u);
|
|
1063
1063
|
let C = 0, v = t.id;
|
|
1064
|
-
return typeof v == "string" && (v = v.replace(/-/g, "_")), a.innerHTML = qa(i.body, v ? () => v + "ID" + C++ : "iconifyVue"),
|
|
1064
|
+
return typeof v == "string" && (v = v.replace(/-/g, "_")), a.innerHTML = qa(i.body, v ? () => v + "ID" + C++ : "iconifyVue"), Ht("svg", a);
|
|
1065
1065
|
}
|
|
1066
1066
|
const { body: A, width: d, height: m } = e, b = o === "mask" || (o === "bg" ? !1 : A.indexOf("currentColor") !== -1), I = go(A, {
|
|
1067
1067
|
...u,
|
|
@@ -1071,14 +1071,14 @@ const nn = (e, t) => {
|
|
|
1071
1071
|
return a.style = {
|
|
1072
1072
|
...r,
|
|
1073
1073
|
"--svg": Io(I),
|
|
1074
|
-
width:
|
|
1075
|
-
height:
|
|
1074
|
+
width: en(u.width),
|
|
1075
|
+
height: en(u.height),
|
|
1076
1076
|
...yo,
|
|
1077
|
-
...b ?
|
|
1077
|
+
...b ? Tt : jn,
|
|
1078
1078
|
...s
|
|
1079
|
-
},
|
|
1079
|
+
}, Ht("span", a);
|
|
1080
1080
|
};
|
|
1081
|
-
|
|
1081
|
+
Sn(!0);
|
|
1082
1082
|
Ha("", Ja);
|
|
1083
1083
|
if (typeof document < "u" && typeof window < "u") {
|
|
1084
1084
|
const e = window;
|
|
@@ -1112,7 +1112,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
1114
|
const Co = {
|
|
1115
|
-
...
|
|
1115
|
+
...ft,
|
|
1116
1116
|
body: ""
|
|
1117
1117
|
}, Eo = j({
|
|
1118
1118
|
// Do not inherit other attributes: it is handled by render()
|
|
@@ -1147,7 +1147,7 @@ const Co = {
|
|
|
1147
1147
|
data: e
|
|
1148
1148
|
};
|
|
1149
1149
|
let a;
|
|
1150
|
-
if (typeof e != "string" || (a =
|
|
1150
|
+
if (typeof e != "string" || (a = dt(e, !1, !0)) === null)
|
|
1151
1151
|
return this.abortLoading(), null;
|
|
1152
1152
|
let o = La(a);
|
|
1153
1153
|
if (!o)
|
|
@@ -1171,18 +1171,18 @@ const Co = {
|
|
|
1171
1171
|
this.counter;
|
|
1172
1172
|
const e = this.$attrs, t = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad, e.customise) : null;
|
|
1173
1173
|
if (!t)
|
|
1174
|
-
return
|
|
1174
|
+
return tn(Co, e);
|
|
1175
1175
|
let n = e;
|
|
1176
1176
|
return t.classes && (n = {
|
|
1177
1177
|
...e,
|
|
1178
1178
|
class: (typeof e.class == "string" ? e.class + " " : "") + t.classes.join(" ")
|
|
1179
|
-
}),
|
|
1180
|
-
...
|
|
1179
|
+
}), tn({
|
|
1180
|
+
...ft,
|
|
1181
1181
|
...t.data
|
|
1182
1182
|
}, n);
|
|
1183
1183
|
}
|
|
1184
|
-
}),
|
|
1185
|
-
const e =
|
|
1184
|
+
}), Pn = Symbol("accordions"), xn = Symbol("header"), Pt = Symbol("tabs"), pt = () => {
|
|
1185
|
+
const e = X(), t = X(!1), n = X(!1), a = () => {
|
|
1186
1186
|
if (!e.value)
|
|
1187
1187
|
return;
|
|
1188
1188
|
e.value.style.setProperty("--collapser", "none");
|
|
@@ -1206,7 +1206,7 @@ const Co = {
|
|
|
1206
1206
|
t.value = !1, r && ((s = (l = e.value) == null ? void 0 : l.querySelector("a")) == null || s.focus()), e.value && o === !1 && e.value.style.removeProperty("--collapse-max-height");
|
|
1207
1207
|
}
|
|
1208
1208
|
};
|
|
1209
|
-
}, le = (e = "", t = "") => (e ? `${e}-` : "") +
|
|
1209
|
+
}, le = (e = "", t = "") => (e ? `${e}-` : "") + da() + (t ? `-${t}` : ""), Mo = { class: "fr-accordion" }, No = ["aria-expanded", "aria-controls"], To = ["id"], ko = /* @__PURE__ */ j({
|
|
1210
1210
|
__name: "DsfrAccordion",
|
|
1211
1211
|
props: {
|
|
1212
1212
|
id: { default: () => le("accordion") },
|
|
@@ -1221,7 +1221,7 @@ const Co = {
|
|
|
1221
1221
|
cssExpanded: o,
|
|
1222
1222
|
doExpand: r,
|
|
1223
1223
|
onTransitionEnd: l
|
|
1224
|
-
} =
|
|
1224
|
+
} = pt(), s = X(), i = Xe(Pn), { isActive: u, expand: A } = (i == null ? void 0 : i(At(() => t.title))) ?? { isActive: s, expand: () => s.value = !s.value };
|
|
1225
1225
|
return ue(() => {
|
|
1226
1226
|
u.value && r(!0);
|
|
1227
1227
|
}), oe(u, (d, m) => {
|
|
@@ -1247,7 +1247,7 @@ const Co = {
|
|
|
1247
1247
|
id: d.id,
|
|
1248
1248
|
ref_key: "collapse",
|
|
1249
1249
|
ref: n,
|
|
1250
|
-
class:
|
|
1250
|
+
class: Z(["fr-collapse", {
|
|
1251
1251
|
"fr-collapse--expanded": f(o),
|
|
1252
1252
|
// Need to use a separate data to add/remove the class after a RAF
|
|
1253
1253
|
"fr-collapsing": f(a)
|
|
@@ -1270,8 +1270,8 @@ const Co = {
|
|
|
1270
1270
|
set(s) {
|
|
1271
1271
|
a("update:modelValue", s);
|
|
1272
1272
|
}
|
|
1273
|
-
}), r =
|
|
1274
|
-
return
|
|
1273
|
+
}), r = X(/* @__PURE__ */ new Map()), l = X(0);
|
|
1274
|
+
return ut(Pn, (s) => {
|
|
1275
1275
|
const i = l.value++;
|
|
1276
1276
|
r.value.set(i, s.value);
|
|
1277
1277
|
const u = M(() => i === o.value);
|
|
@@ -1308,7 +1308,7 @@ const Co = {
|
|
|
1308
1308
|
},
|
|
1309
1309
|
setup(e) {
|
|
1310
1310
|
return (t, n) => (c(), p("p", {
|
|
1311
|
-
class:
|
|
1311
|
+
class: Z(["fr-badge", {
|
|
1312
1312
|
[`fr-badge--${t.type}`]: t.type,
|
|
1313
1313
|
"fr-badge--no-icon": t.noIcon,
|
|
1314
1314
|
"fr-badge--sm": t.small
|
|
@@ -1316,7 +1316,7 @@ const Co = {
|
|
|
1316
1316
|
title: t.ellipsis ? t.label : void 0
|
|
1317
1317
|
}, [
|
|
1318
1318
|
h("span", {
|
|
1319
|
-
class:
|
|
1319
|
+
class: Z(t.ellipsis ? "fr-ellipsis" : "")
|
|
1320
1320
|
}, x(t.label), 3)
|
|
1321
1321
|
], 10, Oo));
|
|
1322
1322
|
}
|
|
@@ -1338,7 +1338,7 @@ const Co = {
|
|
|
1338
1338
|
display: { default: "inline-block" }
|
|
1339
1339
|
},
|
|
1340
1340
|
setup(e) {
|
|
1341
|
-
const t = e, n =
|
|
1341
|
+
const t = e, n = X(null), a = M(() => `${+t.scale * 1.2}rem`), o = M(() => t.flip === "both" ? "horizontal,vertical" : t.flip);
|
|
1342
1342
|
oe(() => t.title, r);
|
|
1343
1343
|
async function r() {
|
|
1344
1344
|
var i, u, A, d;
|
|
@@ -1349,7 +1349,7 @@ const Co = {
|
|
|
1349
1349
|
b.remove();
|
|
1350
1350
|
return;
|
|
1351
1351
|
}
|
|
1352
|
-
b.innerHTML = t.title, await
|
|
1352
|
+
b.innerHTML = t.title, await De(), m || (d = ((A = n.value) == null ? void 0 : A.$el).firstChild) == null || d.before(b);
|
|
1353
1353
|
}
|
|
1354
1354
|
ue(r);
|
|
1355
1355
|
const l = M(() => {
|
|
@@ -1362,7 +1362,7 @@ const Co = {
|
|
|
1362
1362
|
icon: l.value,
|
|
1363
1363
|
style: be({ fontSize: a.value, verticalAlign: i.verticalAlign, display: i.display, color: s.value }),
|
|
1364
1364
|
"aria-label": i.label,
|
|
1365
|
-
class:
|
|
1365
|
+
class: Z(["vicon", {
|
|
1366
1366
|
"vicon-spin": t.animation === "spin",
|
|
1367
1367
|
"vicon-wrench": t.animation === "wrench",
|
|
1368
1368
|
"vicon-pulse": t.animation === "pulse",
|
|
@@ -1378,7 +1378,7 @@ const Co = {
|
|
|
1378
1378
|
ssr: i.ssr
|
|
1379
1379
|
}, null, 8, ["icon", "style", "aria-label", "class", "flip", "ssr"]));
|
|
1380
1380
|
}
|
|
1381
|
-
}),
|
|
1381
|
+
}), we = /* @__PURE__ */ Ie(Do, [["__scopeId", "data-v-6e09e524"]]), wo = ["title", "disabled", "aria-disabled"], zo = { key: 1 }, Bo = /* @__PURE__ */ j({
|
|
1382
1382
|
__name: "DsfrButton",
|
|
1383
1383
|
props: {
|
|
1384
1384
|
disabled: { type: Boolean },
|
|
@@ -1394,7 +1394,7 @@ const Co = {
|
|
|
1394
1394
|
} }
|
|
1395
1395
|
},
|
|
1396
1396
|
setup(e, { expose: t }) {
|
|
1397
|
-
const n = e, a = M(() => ["sm", "small"].includes(n.size)), o = M(() => ["md", "medium"].includes(n.size)), r = M(() => ["lg", "large"].includes(n.size)), l =
|
|
1397
|
+
const n = e, a = M(() => ["sm", "small"].includes(n.size)), o = M(() => ["md", "medium"].includes(n.size)), r = M(() => ["lg", "large"].includes(n.size)), l = X(null);
|
|
1398
1398
|
t({ focus: () => {
|
|
1399
1399
|
var A;
|
|
1400
1400
|
(A = l.value) == null || A.focus();
|
|
@@ -1405,7 +1405,7 @@ const Co = {
|
|
|
1405
1405
|
return (A, d) => (c(), p("button", {
|
|
1406
1406
|
ref_key: "btn",
|
|
1407
1407
|
ref: l,
|
|
1408
|
-
class:
|
|
1408
|
+
class: Z(["fr-btn", {
|
|
1409
1409
|
"fr-btn--secondary": A.secondary && !A.tertiary,
|
|
1410
1410
|
"fr-btn--tertiary": A.tertiary && !A.secondary && !A.noOutline,
|
|
1411
1411
|
"fr-btn--tertiary-no-outline": A.tertiary && !A.secondary && A.noOutline,
|
|
@@ -1426,14 +1426,14 @@ const Co = {
|
|
|
1426
1426
|
onClick: d[0] || (d[0] = (m) => A.onClick ? A.onClick(m) : () => {
|
|
1427
1427
|
})
|
|
1428
1428
|
}, [
|
|
1429
|
-
A.icon && !s.value ? (c(), U(
|
|
1429
|
+
A.icon && !s.value ? (c(), U(we, ct(Y({ key: 0 }, u.value)), null, 16)) : D("", !0),
|
|
1430
1430
|
A.iconOnly ? D("", !0) : (c(), p("span", zo, [
|
|
1431
1431
|
ae(x(A.label) + " ", 1),
|
|
1432
1432
|
B(A.$slots, "default", {}, void 0, !0)
|
|
1433
1433
|
]))
|
|
1434
1434
|
], 14, wo));
|
|
1435
1435
|
}
|
|
1436
|
-
}),
|
|
1436
|
+
}), xt = /* @__PURE__ */ Ie(Bo, [["__scopeId", "data-v-118397f5"]]), jo = /* @__PURE__ */ j({
|
|
1437
1437
|
__name: "DsfrButtonGroup",
|
|
1438
1438
|
props: {
|
|
1439
1439
|
buttons: { default: () => [] },
|
|
@@ -1445,7 +1445,7 @@ const Co = {
|
|
|
1445
1445
|
size: { default: "md" }
|
|
1446
1446
|
},
|
|
1447
1447
|
setup(e) {
|
|
1448
|
-
const t = e, n =
|
|
1448
|
+
const t = e, n = X(null), a = M(() => ["sm", "small"].includes(t.size)), o = M(() => ["md", "medium"].includes(t.size)), r = M(() => ["lg", "large"].includes(t.size)), l = M(() => ["always", "", !0].includes(t.inlineLayoutWhen)), s = M(() => ["sm", "small"].includes(t.inlineLayoutWhen)), i = M(() => ["md", "medium"].includes(t.inlineLayoutWhen)), u = M(() => ["lg", "large"].includes(t.inlineLayoutWhen)), A = M(() => t.align === "center"), d = M(() => t.align === "right"), m = X("auto"), b = M(() => `--equisized-width: ${m.value};`), I = async () => {
|
|
1449
1449
|
var C;
|
|
1450
1450
|
let v = 0;
|
|
1451
1451
|
await new Promise((k) => setTimeout(k, 100)), (C = n.value) == null || C.querySelectorAll(".fr-btn").forEach((k) => {
|
|
@@ -1461,7 +1461,7 @@ const Co = {
|
|
|
1461
1461
|
ref_key: "buttonsEl",
|
|
1462
1462
|
ref: n,
|
|
1463
1463
|
style: be(b.value),
|
|
1464
|
-
class:
|
|
1464
|
+
class: Z(["fr-btns-group", {
|
|
1465
1465
|
"fr-btns-group--equisized": C.equisized,
|
|
1466
1466
|
"fr-btns-group--sm": a.value,
|
|
1467
1467
|
"fr-btns-group--md": o.value,
|
|
@@ -1477,7 +1477,7 @@ const Co = {
|
|
|
1477
1477
|
"data-testid": "fr-btns"
|
|
1478
1478
|
}, [
|
|
1479
1479
|
(c(!0), p(K, null, te(C.buttons, ({ onClick: k, ...S }, Q) => (c(), p("li", { key: Q }, [
|
|
1480
|
-
R(
|
|
1480
|
+
R(xt, Y({ ref_for: !0 }, S, { onClick: k }), null, 16, ["onClick"])
|
|
1481
1481
|
]))), 128)),
|
|
1482
1482
|
B(C.$slots, "default")
|
|
1483
1483
|
], 6));
|
|
@@ -1487,13 +1487,13 @@ const Co = {
|
|
|
1487
1487
|
* tabbable 6.2.0
|
|
1488
1488
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
1489
1489
|
*/
|
|
1490
|
-
var
|
|
1491
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
1490
|
+
var Wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], $e = /* @__PURE__ */ Wn.join(","), Vn = typeof Element > "u", Ee = Vn ? function() {
|
|
1491
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, et = !Vn && Element.prototype.getRootNode ? function(e) {
|
|
1492
1492
|
var t;
|
|
1493
1493
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
1494
1494
|
} : function(e) {
|
|
1495
1495
|
return e == null ? void 0 : e.ownerDocument;
|
|
1496
|
-
},
|
|
1496
|
+
}, tt = function e(t, n) {
|
|
1497
1497
|
var a;
|
|
1498
1498
|
n === void 0 && (n = !0);
|
|
1499
1499
|
var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = o === "" || o === "true", l = r || n && t && e(t.parentNode);
|
|
@@ -1501,15 +1501,15 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1501
1501
|
}, Po = function(e) {
|
|
1502
1502
|
var t, n = e == null || (t = e.getAttribute) === null || t === void 0 ? void 0 : t.call(e, "contenteditable");
|
|
1503
1503
|
return n === "" || n === "true";
|
|
1504
|
-
},
|
|
1505
|
-
if (
|
|
1504
|
+
}, Un = function(e, t, n) {
|
|
1505
|
+
if (tt(e))
|
|
1506
1506
|
return [];
|
|
1507
|
-
var a = Array.prototype.slice.apply(e.querySelectorAll(
|
|
1508
|
-
return t &&
|
|
1509
|
-
},
|
|
1507
|
+
var a = Array.prototype.slice.apply(e.querySelectorAll($e));
|
|
1508
|
+
return t && Ee.call(e, $e) && a.unshift(e), a = a.filter(n), a;
|
|
1509
|
+
}, qn = function e(t, n, a) {
|
|
1510
1510
|
for (var o = [], r = Array.from(t); r.length; ) {
|
|
1511
1511
|
var l = r.shift();
|
|
1512
|
-
if (!
|
|
1512
|
+
if (!tt(l, !1))
|
|
1513
1513
|
if (l.tagName === "SLOT") {
|
|
1514
1514
|
var s = l.assignedElements(), i = s.length ? s : l.children, u = e(i, !0, a);
|
|
1515
1515
|
a.flatten ? o.push.apply(o, u) : o.push({
|
|
@@ -1517,10 +1517,10 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1517
1517
|
candidates: u
|
|
1518
1518
|
});
|
|
1519
1519
|
} else {
|
|
1520
|
-
var A =
|
|
1520
|
+
var A = Ee.call(l, $e);
|
|
1521
1521
|
A && a.filter(l) && (n || !t.includes(l)) && o.push(l);
|
|
1522
1522
|
var d = l.shadowRoot || // check for an undisclosed shadow
|
|
1523
|
-
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), m = !
|
|
1523
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), m = !tt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
1524
1524
|
if (d && m) {
|
|
1525
1525
|
var b = e(d === !0 ? l.children : d.children, !0, a);
|
|
1526
1526
|
a.flatten ? o.push.apply(o, b) : o.push({
|
|
@@ -1532,21 +1532,21 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
1534
|
return o;
|
|
1535
|
-
},
|
|
1535
|
+
}, Hn = function(e) {
|
|
1536
1536
|
return !isNaN(parseInt(e.getAttribute("tabindex"), 10));
|
|
1537
1537
|
}, ye = function(e) {
|
|
1538
1538
|
if (!e)
|
|
1539
1539
|
throw new Error("No node provided");
|
|
1540
|
-
return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Po(e)) && !
|
|
1540
|
+
return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || Po(e)) && !Hn(e) ? 0 : e.tabIndex;
|
|
1541
1541
|
}, xo = function(e, t) {
|
|
1542
1542
|
var n = ye(e);
|
|
1543
|
-
return n < 0 && t && !
|
|
1543
|
+
return n < 0 && t && !Hn(e) ? 0 : n;
|
|
1544
1544
|
}, Wo = function(e, t) {
|
|
1545
1545
|
return e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex;
|
|
1546
|
-
},
|
|
1546
|
+
}, Xn = function(e) {
|
|
1547
1547
|
return e.tagName === "INPUT";
|
|
1548
1548
|
}, Vo = function(e) {
|
|
1549
|
-
return
|
|
1549
|
+
return Xn(e) && e.type === "hidden";
|
|
1550
1550
|
}, Uo = function(e) {
|
|
1551
1551
|
var t = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(n) {
|
|
1552
1552
|
return n.tagName === "SUMMARY";
|
|
@@ -1559,7 +1559,7 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1559
1559
|
}, Ho = function(e) {
|
|
1560
1560
|
if (!e.name)
|
|
1561
1561
|
return !0;
|
|
1562
|
-
var t = e.form ||
|
|
1562
|
+
var t = e.form || et(e), n = function(r) {
|
|
1563
1563
|
return t.querySelectorAll('input[type="radio"][name="' + r + '"]');
|
|
1564
1564
|
}, a;
|
|
1565
1565
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -1573,45 +1573,45 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1573
1573
|
var o = qo(a, e.form);
|
|
1574
1574
|
return !o || o === e;
|
|
1575
1575
|
}, Xo = function(e) {
|
|
1576
|
-
return
|
|
1577
|
-
}, Ro = function(e) {
|
|
1578
|
-
return Xo(e) && !Ho(e);
|
|
1576
|
+
return Xn(e) && e.type === "radio";
|
|
1579
1577
|
}, Zo = function(e) {
|
|
1580
|
-
|
|
1578
|
+
return Xo(e) && !Ho(e);
|
|
1579
|
+
}, Ro = function(e) {
|
|
1580
|
+
var t, n = e && et(e), a = (t = n) === null || t === void 0 ? void 0 : t.host, o = !1;
|
|
1581
1581
|
if (n && n !== e) {
|
|
1582
1582
|
var r, l, s;
|
|
1583
1583
|
for (o = !!((r = a) !== null && r !== void 0 && (l = r.ownerDocument) !== null && l !== void 0 && l.contains(a) || e != null && (s = e.ownerDocument) !== null && s !== void 0 && s.contains(e)); !o && a; ) {
|
|
1584
1584
|
var i, u, A;
|
|
1585
|
-
n =
|
|
1585
|
+
n = et(a), a = (i = n) === null || i === void 0 ? void 0 : i.host, o = !!((u = a) !== null && u !== void 0 && (A = u.ownerDocument) !== null && A !== void 0 && A.contains(a));
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
1588
|
return o;
|
|
1589
|
-
},
|
|
1589
|
+
}, nn = function(e) {
|
|
1590
1590
|
var t = e.getBoundingClientRect(), n = t.width, a = t.height;
|
|
1591
1591
|
return n === 0 && a === 0;
|
|
1592
1592
|
}, Fo = function(e, t) {
|
|
1593
1593
|
var n = t.displayCheck, a = t.getShadowRoot;
|
|
1594
1594
|
if (getComputedStyle(e).visibility === "hidden")
|
|
1595
1595
|
return !0;
|
|
1596
|
-
var o =
|
|
1597
|
-
if (
|
|
1596
|
+
var o = Ee.call(e, "details>summary:first-of-type"), r = o ? e.parentElement : e;
|
|
1597
|
+
if (Ee.call(r, "details:not([open]) *"))
|
|
1598
1598
|
return !0;
|
|
1599
1599
|
if (!n || n === "full" || n === "legacy-full") {
|
|
1600
1600
|
if (typeof a == "function") {
|
|
1601
1601
|
for (var l = e; e; ) {
|
|
1602
|
-
var s = e.parentElement, i =
|
|
1602
|
+
var s = e.parentElement, i = et(e);
|
|
1603
1603
|
if (s && !s.shadowRoot && a(s) === !0)
|
|
1604
|
-
return
|
|
1604
|
+
return nn(e);
|
|
1605
1605
|
e.assignedSlot ? e = e.assignedSlot : !s && i !== e.ownerDocument ? e = i.host : e = s;
|
|
1606
1606
|
}
|
|
1607
1607
|
e = l;
|
|
1608
1608
|
}
|
|
1609
|
-
if (
|
|
1609
|
+
if (Ro(e))
|
|
1610
1610
|
return !e.getClientRects().length;
|
|
1611
1611
|
if (n !== "legacy-full")
|
|
1612
1612
|
return !0;
|
|
1613
1613
|
} else if (n === "non-zero-area")
|
|
1614
|
-
return
|
|
1614
|
+
return nn(e);
|
|
1615
1615
|
return !1;
|
|
1616
1616
|
}, Ko = function(e) {
|
|
1617
1617
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
@@ -1620,21 +1620,21 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1620
1620
|
for (var n = 0; n < t.children.length; n++) {
|
|
1621
1621
|
var a = t.children.item(n);
|
|
1622
1622
|
if (a.tagName === "LEGEND")
|
|
1623
|
-
return
|
|
1623
|
+
return Ee.call(t, "fieldset[disabled] *") ? !0 : !a.contains(e);
|
|
1624
1624
|
}
|
|
1625
1625
|
return !0;
|
|
1626
1626
|
}
|
|
1627
1627
|
t = t.parentElement;
|
|
1628
1628
|
}
|
|
1629
1629
|
return !1;
|
|
1630
|
-
},
|
|
1630
|
+
}, nt = function(e, t) {
|
|
1631
1631
|
return !(t.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
1632
1632
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
1633
1633
|
// note related to `candidateSelectors`)
|
|
1634
|
-
|
|
1634
|
+
tt(t) || Vo(t) || Fo(t, e) || // For a details element with a summary, the summary element gets the focus
|
|
1635
1635
|
Uo(t) || Ko(t));
|
|
1636
|
-
},
|
|
1637
|
-
return !(
|
|
1636
|
+
}, kt = function(e, t) {
|
|
1637
|
+
return !(Zo(t) || ye(t) < 0 || !nt(e, t));
|
|
1638
1638
|
}, Yo = function(e) {
|
|
1639
1639
|
var t = parseInt(e.getAttribute("tabindex"), 10);
|
|
1640
1640
|
return !!(isNaN(t) || t >= 0);
|
|
@@ -1655,40 +1655,40 @@ var Vn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1655
1655
|
}, Jo = function(e, t) {
|
|
1656
1656
|
t = t || {};
|
|
1657
1657
|
var n;
|
|
1658
|
-
return t.getShadowRoot ? n =
|
|
1659
|
-
filter:
|
|
1658
|
+
return t.getShadowRoot ? n = qn([e], t.includeContainer, {
|
|
1659
|
+
filter: kt.bind(null, t),
|
|
1660
1660
|
flatten: !1,
|
|
1661
1661
|
getShadowRoot: t.getShadowRoot,
|
|
1662
1662
|
shadowRootFilter: Yo
|
|
1663
|
-
}) : n =
|
|
1663
|
+
}) : n = Un(e, t.includeContainer, kt.bind(null, t)), Go(n);
|
|
1664
1664
|
}, _o = function(e, t) {
|
|
1665
1665
|
t = t || {};
|
|
1666
1666
|
var n;
|
|
1667
|
-
return t.getShadowRoot ? n =
|
|
1668
|
-
filter:
|
|
1667
|
+
return t.getShadowRoot ? n = qn([e], t.includeContainer, {
|
|
1668
|
+
filter: nt.bind(null, t),
|
|
1669
1669
|
flatten: !0,
|
|
1670
1670
|
getShadowRoot: t.getShadowRoot
|
|
1671
|
-
}) : n =
|
|
1672
|
-
},
|
|
1671
|
+
}) : n = Un(e, t.includeContainer, nt.bind(null, t)), n;
|
|
1672
|
+
}, ke = function(e, t) {
|
|
1673
1673
|
if (t = t || {}, !e)
|
|
1674
1674
|
throw new Error("No node provided");
|
|
1675
|
-
return
|
|
1676
|
-
}, $o = /* @__PURE__ */
|
|
1675
|
+
return Ee.call(e, $e) === !1 ? !1 : kt(t, e);
|
|
1676
|
+
}, $o = /* @__PURE__ */ Wn.concat("iframe").join(","), It = function(e, t) {
|
|
1677
1677
|
if (t = t || {}, !e)
|
|
1678
1678
|
throw new Error("No node provided");
|
|
1679
|
-
return
|
|
1679
|
+
return Ee.call(e, $o) === !1 ? !1 : nt(t, e);
|
|
1680
1680
|
};
|
|
1681
1681
|
/*!
|
|
1682
1682
|
* focus-trap 7.6.4
|
|
1683
1683
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
1684
1684
|
*/
|
|
1685
|
-
function
|
|
1685
|
+
function Qt(e, t) {
|
|
1686
1686
|
(t == null || t > e.length) && (t = e.length);
|
|
1687
1687
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
1688
1688
|
return a;
|
|
1689
1689
|
}
|
|
1690
1690
|
function er(e) {
|
|
1691
|
-
if (Array.isArray(e)) return
|
|
1691
|
+
if (Array.isArray(e)) return Qt(e);
|
|
1692
1692
|
}
|
|
1693
1693
|
function tr(e, t, n) {
|
|
1694
1694
|
return (t = lr(t)) in e ? Object.defineProperty(e, t, {
|
|
@@ -1705,7 +1705,7 @@ function ar() {
|
|
|
1705
1705
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1706
1706
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function an(e, t) {
|
|
1709
1709
|
var n = Object.keys(e);
|
|
1710
1710
|
if (Object.getOwnPropertySymbols) {
|
|
1711
1711
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -1715,12 +1715,12 @@ function on(e, t) {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
return n;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function on(e) {
|
|
1719
1719
|
for (var t = 1; t < arguments.length; t++) {
|
|
1720
1720
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1721
|
-
t % 2 ?
|
|
1721
|
+
t % 2 ? an(Object(n), !0).forEach(function(a) {
|
|
1722
1722
|
tr(e, a, n[a]);
|
|
1723
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1723
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : an(Object(n)).forEach(function(a) {
|
|
1724
1724
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
1725
1725
|
});
|
|
1726
1726
|
}
|
|
@@ -1745,12 +1745,12 @@ function lr(e) {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
function ir(e, t) {
|
|
1747
1747
|
if (e) {
|
|
1748
|
-
if (typeof e == "string") return
|
|
1748
|
+
if (typeof e == "string") return Qt(e, t);
|
|
1749
1749
|
var n = {}.toString.call(e).slice(8, -1);
|
|
1750
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
1750
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Qt(e, t) : void 0;
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
1753
|
-
var
|
|
1753
|
+
var rn = {
|
|
1754
1754
|
activateTrap: function(e, t) {
|
|
1755
1755
|
if (e.length > 0) {
|
|
1756
1756
|
var n = e[e.length - 1];
|
|
@@ -1767,22 +1767,22 @@ var ln = {
|
|
|
1767
1767
|
return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
|
|
1768
1768
|
}, ur = function(e) {
|
|
1769
1769
|
return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
|
|
1770
|
-
},
|
|
1770
|
+
}, Ve = function(e) {
|
|
1771
1771
|
return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
|
|
1772
1772
|
}, Ar = function(e) {
|
|
1773
|
-
return
|
|
1773
|
+
return Ve(e) && !e.shiftKey;
|
|
1774
1774
|
}, cr = function(e) {
|
|
1775
|
-
return
|
|
1776
|
-
},
|
|
1775
|
+
return Ve(e) && e.shiftKey;
|
|
1776
|
+
}, ln = function(e) {
|
|
1777
1777
|
return setTimeout(e, 0);
|
|
1778
|
-
},
|
|
1778
|
+
}, je = function(e) {
|
|
1779
1779
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
1780
1780
|
n[a - 1] = arguments[a];
|
|
1781
1781
|
return typeof e == "function" ? e.apply(void 0, n) : e;
|
|
1782
1782
|
}, Ze = function(e) {
|
|
1783
1783
|
return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
|
|
1784
1784
|
}, dr = [], fr = function(e, t) {
|
|
1785
|
-
var n = (t == null ? void 0 : t.document) || document, a = (t == null ? void 0 : t.trapStack) || dr, o =
|
|
1785
|
+
var n = (t == null ? void 0 : t.document) || document, a = (t == null ? void 0 : t.trapStack) || dr, o = on({
|
|
1786
1786
|
returnFocusOnDeactivate: !0,
|
|
1787
1787
|
escapeDeactivates: !0,
|
|
1788
1788
|
delayInitialFocus: !0,
|
|
@@ -1863,7 +1863,7 @@ var ln = {
|
|
|
1863
1863
|
});
|
|
1864
1864
|
if (y === !1)
|
|
1865
1865
|
return !1;
|
|
1866
|
-
if (y === void 0 || y && !
|
|
1866
|
+
if (y === void 0 || y && !It(y, o.tabbableOptions))
|
|
1867
1867
|
if (i(n.activeElement) >= 0)
|
|
1868
1868
|
y = n.activeElement;
|
|
1869
1869
|
else {
|
|
@@ -1877,9 +1877,9 @@ var ln = {
|
|
|
1877
1877
|
}, d = function() {
|
|
1878
1878
|
if (r.containerGroups = r.containers.map(function(y) {
|
|
1879
1879
|
var N = Jo(y, o.tabbableOptions), g = _o(y, o.tabbableOptions), E = N.length > 0 ? N[0] : void 0, L = N.length > 0 ? N[N.length - 1] : void 0, W = g.find(function(V) {
|
|
1880
|
-
return
|
|
1880
|
+
return ke(V);
|
|
1881
1881
|
}), P = g.slice().reverse().find(function(V) {
|
|
1882
|
-
return
|
|
1882
|
+
return ke(V);
|
|
1883
1883
|
}), H = !!N.find(function(V) {
|
|
1884
1884
|
return ye(V) > 0;
|
|
1885
1885
|
});
|
|
@@ -1915,9 +1915,9 @@ var ln = {
|
|
|
1915
1915
|
nextTabbableNode: function(V) {
|
|
1916
1916
|
var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ee = N.indexOf(V);
|
|
1917
1917
|
return ee < 0 ? _ ? g.slice(g.indexOf(V) + 1).find(function(re) {
|
|
1918
|
-
return
|
|
1918
|
+
return ke(re);
|
|
1919
1919
|
}) : g.slice(0, g.indexOf(V)).reverse().find(function(re) {
|
|
1920
|
-
return
|
|
1920
|
+
return ke(re);
|
|
1921
1921
|
}) : N[ee + (_ ? 1 : -1)];
|
|
1922
1922
|
}
|
|
1923
1923
|
};
|
|
@@ -1958,22 +1958,22 @@ var ln = {
|
|
|
1958
1958
|
L ? W = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : W = r.tabbableGroups[0].firstTabbableNode;
|
|
1959
1959
|
else if (L) {
|
|
1960
1960
|
var V = r.tabbableGroups.findIndex(function(ge) {
|
|
1961
|
-
var
|
|
1962
|
-
return N ===
|
|
1961
|
+
var Te = ge.firstTabbableNode;
|
|
1962
|
+
return N === Te;
|
|
1963
1963
|
});
|
|
1964
|
-
if (V < 0 && (H.container === N ||
|
|
1964
|
+
if (V < 0 && (H.container === N || It(N, o.tabbableOptions) && !ke(N, o.tabbableOptions) && !H.nextTabbableNode(N, !1)) && (V = P), V >= 0) {
|
|
1965
1965
|
var _ = V === 0 ? r.tabbableGroups.length - 1 : V - 1, ee = r.tabbableGroups[_];
|
|
1966
1966
|
W = ye(N) >= 0 ? ee.lastTabbableNode : ee.lastDomTabbableNode;
|
|
1967
|
-
} else
|
|
1967
|
+
} else Ve(g) || (W = H.nextTabbableNode(N, !1));
|
|
1968
1968
|
} else {
|
|
1969
1969
|
var re = r.tabbableGroups.findIndex(function(ge) {
|
|
1970
|
-
var
|
|
1971
|
-
return N ===
|
|
1970
|
+
var Te = ge.lastTabbableNode;
|
|
1971
|
+
return N === Te;
|
|
1972
1972
|
});
|
|
1973
|
-
if (re < 0 && (H.container === N ||
|
|
1973
|
+
if (re < 0 && (H.container === N || It(N, o.tabbableOptions) && !ke(N, o.tabbableOptions) && !H.nextTabbableNode(N)) && (re = P), re >= 0) {
|
|
1974
1974
|
var he = re === r.tabbableGroups.length - 1 ? 0 : re + 1, pe = r.tabbableGroups[he];
|
|
1975
1975
|
W = ye(N) >= 0 ? pe.firstTabbableNode : pe.firstDomTabbableNode;
|
|
1976
|
-
} else
|
|
1976
|
+
} else Ve(g) || (W = H.nextTabbableNode(N));
|
|
1977
1977
|
}
|
|
1978
1978
|
} else
|
|
1979
1979
|
W = u("fallbackFocus");
|
|
@@ -1981,7 +1981,7 @@ var ln = {
|
|
|
1981
1981
|
}, v = function(y) {
|
|
1982
1982
|
var N = Ze(y);
|
|
1983
1983
|
if (!(i(N, y) >= 0)) {
|
|
1984
|
-
if (
|
|
1984
|
+
if (je(o.clickOutsideDeactivates, y)) {
|
|
1985
1985
|
l.deactivate({
|
|
1986
1986
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
1987
1987
|
// which will result in the outside click setting focus to the node
|
|
@@ -1993,7 +1993,7 @@ var ln = {
|
|
|
1993
1993
|
});
|
|
1994
1994
|
return;
|
|
1995
1995
|
}
|
|
1996
|
-
|
|
1996
|
+
je(o.allowOutsideClick, y) || y.preventDefault();
|
|
1997
1997
|
}
|
|
1998
1998
|
}, k = function(y) {
|
|
1999
1999
|
var N = Ze(y), g = i(N, y) >= 0;
|
|
@@ -2034,17 +2034,17 @@ var ln = {
|
|
|
2034
2034
|
event: y,
|
|
2035
2035
|
isBackward: N
|
|
2036
2036
|
});
|
|
2037
|
-
g && (
|
|
2037
|
+
g && (Ve(y) && y.preventDefault(), b(g));
|
|
2038
2038
|
}, Q = function(y) {
|
|
2039
2039
|
(o.isKeyForward(y) || o.isKeyBackward(y)) && S(y, o.isKeyBackward(y));
|
|
2040
2040
|
}, T = function(y) {
|
|
2041
|
-
ur(y) &&
|
|
2041
|
+
ur(y) && je(o.escapeDeactivates, y) !== !1 && (y.preventDefault(), l.deactivate());
|
|
2042
2042
|
}, z = function(y) {
|
|
2043
2043
|
var N = Ze(y);
|
|
2044
|
-
i(N, y) >= 0 ||
|
|
2044
|
+
i(N, y) >= 0 || je(o.clickOutsideDeactivates, y) || je(o.allowOutsideClick, y) || (y.preventDefault(), y.stopImmediatePropagation());
|
|
2045
2045
|
}, O = function() {
|
|
2046
2046
|
if (r.active)
|
|
2047
|
-
return
|
|
2047
|
+
return rn.activateTrap(a, l), r.delayInitialFocusTimer = o.delayInitialFocus ? ln(function() {
|
|
2048
2048
|
b(A());
|
|
2049
2049
|
}) : b(A()), n.addEventListener("focusin", k, !0), n.addEventListener("mousedown", v, {
|
|
2050
2050
|
capture: !0,
|
|
@@ -2098,16 +2098,16 @@ var ln = {
|
|
|
2098
2098
|
deactivate: function(y) {
|
|
2099
2099
|
if (!r.active)
|
|
2100
2100
|
return this;
|
|
2101
|
-
var N =
|
|
2101
|
+
var N = on({
|
|
2102
2102
|
onDeactivate: o.onDeactivate,
|
|
2103
2103
|
onPostDeactivate: o.onPostDeactivate,
|
|
2104
2104
|
checkCanReturnFocus: o.checkCanReturnFocus
|
|
2105
2105
|
}, y);
|
|
2106
|
-
clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, w(), r.active = !1, r.paused = !1, $(),
|
|
2106
|
+
clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, w(), r.active = !1, r.paused = !1, $(), rn.deactivateTrap(a, l);
|
|
2107
2107
|
var g = s(N, "onDeactivate"), E = s(N, "onPostDeactivate"), L = s(N, "checkCanReturnFocus"), W = s(N, "returnFocus", "returnFocusOnDeactivate");
|
|
2108
2108
|
g == null || g();
|
|
2109
2109
|
var P = function() {
|
|
2110
|
-
|
|
2110
|
+
ln(function() {
|
|
2111
2111
|
W && b(I(r.nodeFocusedBeforeActivation)), E == null || E();
|
|
2112
2112
|
});
|
|
2113
2113
|
};
|
|
@@ -2198,7 +2198,7 @@ const pr = {
|
|
|
2198
2198
|
},
|
|
2199
2199
|
setup(e, { slots: t, emit: n }) {
|
|
2200
2200
|
let a;
|
|
2201
|
-
const o =
|
|
2201
|
+
const o = X(null), r = M(() => {
|
|
2202
2202
|
const s = o.value;
|
|
2203
2203
|
return s && (s instanceof HTMLElement ? s : s.$el);
|
|
2204
2204
|
});
|
|
@@ -2239,8 +2239,8 @@ const pr = {
|
|
|
2239
2239
|
renderImpl() {
|
|
2240
2240
|
if (!t.default)
|
|
2241
2241
|
return null;
|
|
2242
|
-
const s = t.default().filter((i) => i.type !==
|
|
2243
|
-
return !s || !s.length || s.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), s) :
|
|
2242
|
+
const s = t.default().filter((i) => i.type !== Aa);
|
|
2243
|
+
return !s || !s.length || s.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), s) : ca(s[0], { ref: o });
|
|
2244
2244
|
}
|
|
2245
2245
|
};
|
|
2246
2246
|
}
|
|
@@ -2263,7 +2263,7 @@ const pr = {
|
|
|
2263
2263
|
cssExpanded: l,
|
|
2264
2264
|
doExpand: s,
|
|
2265
2265
|
onTransitionEnd: i
|
|
2266
|
-
} =
|
|
2266
|
+
} = pt(), u = X(!1);
|
|
2267
2267
|
function A(m) {
|
|
2268
2268
|
u.value = !1, a("select", m);
|
|
2269
2269
|
}
|
|
@@ -2291,7 +2291,7 @@ const pr = {
|
|
|
2291
2291
|
id: m.id,
|
|
2292
2292
|
ref_key: "collapse",
|
|
2293
2293
|
ref: o,
|
|
2294
|
-
class:
|
|
2294
|
+
class: Z(["fr-collapse fr-translate__menu fr-menu", { "fr-collapse--expanded": f(l), "fr-collapsing": f(r) }]),
|
|
2295
2295
|
onTransitionend: b[1] || (b[1] = (v) => f(i)(u.value))
|
|
2296
2296
|
}, [
|
|
2297
2297
|
h("ul", yr, [
|
|
@@ -2336,7 +2336,7 @@ const pr = {
|
|
|
2336
2336
|
},
|
|
2337
2337
|
emits: ["update:modelValue"],
|
|
2338
2338
|
setup(e, { expose: t }) {
|
|
2339
|
-
const n = e, a = pa(), o =
|
|
2339
|
+
const n = e, a = pa(), o = X(null), r = () => {
|
|
2340
2340
|
var u;
|
|
2341
2341
|
return (u = o.value) == null ? void 0 : u.focus();
|
|
2342
2342
|
}, l = M(() => n.isTextarea ? "textarea" : "input"), s = M(() => n.isWithWrapper || a.type === "date" || !!n.wrapperClass), i = M(() => [
|
|
@@ -2348,7 +2348,7 @@ const pr = {
|
|
|
2348
2348
|
focus: r
|
|
2349
2349
|
}), (u, A) => (c(), p(K, null, [
|
|
2350
2350
|
h("label", {
|
|
2351
|
-
class:
|
|
2351
|
+
class: Z(i.value),
|
|
2352
2352
|
for: u.id
|
|
2353
2353
|
}, [
|
|
2354
2354
|
B(u.$slots, "label", {}, () => [
|
|
@@ -2361,7 +2361,7 @@ const pr = {
|
|
|
2361
2361
|
], 10, Mr),
|
|
2362
2362
|
s.value ? (c(), p("div", {
|
|
2363
2363
|
key: 1,
|
|
2364
|
-
class:
|
|
2364
|
+
class: Z([
|
|
2365
2365
|
{ "fr-input-wrap": u.isWithWrapper || u.$attrs.type === "date" },
|
|
2366
2366
|
u.wrapperClass
|
|
2367
2367
|
])
|
|
@@ -2411,7 +2411,7 @@ const pr = {
|
|
|
2411
2411
|
setup(e, { emit: t }) {
|
|
2412
2412
|
const n = t;
|
|
2413
2413
|
return (a, o) => (c(), p("div", {
|
|
2414
|
-
class:
|
|
2414
|
+
class: Z(["fr-search-bar", { "fr-search-bar--lg": a.large }]),
|
|
2415
2415
|
role: "search"
|
|
2416
2416
|
}, [
|
|
2417
2417
|
R(Zn, {
|
|
@@ -2423,9 +2423,9 @@ const pr = {
|
|
|
2423
2423
|
disabled: a.disabled,
|
|
2424
2424
|
"aria-disabled": a.disabled,
|
|
2425
2425
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => n("update:modelValue", r)),
|
|
2426
|
-
onKeydown: o[1] || (o[1] =
|
|
2426
|
+
onKeydown: o[1] || (o[1] = st((r) => n("search", a.modelValue), ["enter"]))
|
|
2427
2427
|
}, null, 8, ["id", "placeholder", "model-value", "label", "disabled", "aria-disabled"]),
|
|
2428
|
-
R(
|
|
2428
|
+
R(xt, {
|
|
2429
2429
|
title: "Rechercher",
|
|
2430
2430
|
disabled: a.disabled,
|
|
2431
2431
|
"aria-disabled": a.disabled,
|
|
@@ -2443,7 +2443,7 @@ const pr = {
|
|
|
2443
2443
|
}), Or = ["aria-labelledby", "role", "open"], Sr = { class: "fr-container fr-container--fluid fr-container-md" }, Dr = { class: "fr-grid-row fr-grid-row--center" }, wr = { class: "fr-modal__body" }, zr = { class: "fr-modal__header" }, Br = ["title"], jr = { class: "fr-modal__content" }, Pr = ["id"], xr = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
class: "fr-modal__footer"
|
|
2446
|
-
},
|
|
2446
|
+
}, sn = 2, Wr = /* @__PURE__ */ j({
|
|
2447
2447
|
__name: "DsfrModal",
|
|
2448
2448
|
props: {
|
|
2449
2449
|
modalId: { default: () => le("modal", "dialog") },
|
|
@@ -2462,7 +2462,7 @@ const pr = {
|
|
|
2462
2462
|
setup(e, { emit: t }) {
|
|
2463
2463
|
const n = e, a = t, o = (I) => {
|
|
2464
2464
|
I.key === "Escape" && d();
|
|
2465
|
-
}, r = M(() => n.isAlert ? "alertdialog" : "dialog"), l =
|
|
2465
|
+
}, r = M(() => n.isAlert ? "alertdialog" : "dialog"), l = X(null), s = X();
|
|
2466
2466
|
oe(() => n.opened, (I) => {
|
|
2467
2467
|
var C, v;
|
|
2468
2468
|
I ? ((C = s.value) == null || C.showModal(), setTimeout(() => {
|
|
@@ -2475,7 +2475,7 @@ const pr = {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
ue(() => {
|
|
2477
2477
|
u(), i(n.opened);
|
|
2478
|
-
}),
|
|
2478
|
+
}), yn(() => {
|
|
2479
2479
|
A(), i(!1);
|
|
2480
2480
|
});
|
|
2481
2481
|
function u() {
|
|
@@ -2486,10 +2486,10 @@ const pr = {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
async function d() {
|
|
2488
2488
|
var I;
|
|
2489
|
-
await
|
|
2489
|
+
await De(), (I = n.origin) == null || I.focus(), a("close");
|
|
2490
2490
|
}
|
|
2491
2491
|
const m = M(() => typeof n.icon == "string" && n.icon.startsWith("fr-icon-")), b = M(
|
|
2492
|
-
() => m.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale:
|
|
2492
|
+
() => m.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale: sn } : { scale: sn, ...n.icon ?? {} }
|
|
2493
2493
|
);
|
|
2494
2494
|
return (I, C) => I.opened ? (c(), U(f(vr), { key: 0 }, {
|
|
2495
2495
|
default: F(() => {
|
|
@@ -2502,13 +2502,13 @@ const pr = {
|
|
|
2502
2502
|
"aria-modal": "true",
|
|
2503
2503
|
"aria-labelledby": I.modalId,
|
|
2504
2504
|
role: r.value,
|
|
2505
|
-
class:
|
|
2505
|
+
class: Z(["fr-modal", { "fr-modal--opened": I.opened }]),
|
|
2506
2506
|
open: I.opened
|
|
2507
2507
|
}, [
|
|
2508
2508
|
h("div", Sr, [
|
|
2509
2509
|
h("div", Dr, [
|
|
2510
2510
|
h("div", {
|
|
2511
|
-
class:
|
|
2511
|
+
class: Z(["fr-col-12", {
|
|
2512
2512
|
"fr-col-md-8": I.size === "lg",
|
|
2513
2513
|
"fr-col-md-6": I.size === "md",
|
|
2514
2514
|
"fr-col-md-4": I.size === "sm"
|
|
@@ -2535,11 +2535,11 @@ const pr = {
|
|
|
2535
2535
|
}, [
|
|
2536
2536
|
m.value || b.value ? (c(), p("span", {
|
|
2537
2537
|
key: 0,
|
|
2538
|
-
class:
|
|
2538
|
+
class: Z({
|
|
2539
2539
|
[String(I.icon)]: m.value
|
|
2540
2540
|
})
|
|
2541
2541
|
}, [
|
|
2542
|
-
I.icon && b.value ? (c(), U(
|
|
2542
|
+
I.icon && b.value ? (c(), U(we, ct(Y({ key: 0 }, b.value)), null, 16)) : D("", !0)
|
|
2543
2543
|
], 2)) : D("", !0),
|
|
2544
2544
|
ae(" " + x(I.title), 1)
|
|
2545
2545
|
], 8, Pr),
|
|
@@ -2580,7 +2580,7 @@ const pr = {
|
|
|
2580
2580
|
B(t.$slots, "default", {}, void 0, !0)
|
|
2581
2581
|
], 8, Ur));
|
|
2582
2582
|
}
|
|
2583
|
-
}), Hr = /* @__PURE__ */ Ie(qr, [["__scopeId", "data-v-aa4076c4"]]), Xr = ["href"],
|
|
2583
|
+
}), Hr = /* @__PURE__ */ Ie(qr, [["__scopeId", "data-v-aa4076c4"]]), Xr = ["href"], un = 2, Wt = /* @__PURE__ */ j({
|
|
2584
2584
|
__name: "DsfrNavigationMenuLink",
|
|
2585
2585
|
props: {
|
|
2586
2586
|
id: { default: () => le("menu-link") },
|
|
@@ -2593,11 +2593,11 @@ const pr = {
|
|
|
2593
2593
|
emits: ["toggleId"],
|
|
2594
2594
|
setup(e) {
|
|
2595
2595
|
const t = e, n = M(() => typeof t.to == "string" && t.to.startsWith("http")), a = M(() => t.icon && typeof t.icon == "string" && t.icon.startsWith("fr-icon-")), o = M(
|
|
2596
|
-
() => a.value || !t.icon ? void 0 : typeof t.icon == "string" ? { scale:
|
|
2597
|
-
), r = ma() ?
|
|
2596
|
+
() => a.value || !t.icon ? void 0 : typeof t.icon == "string" ? { scale: un, name: t.icon } : { scale: un, ...t.icon || {} }
|
|
2597
|
+
), r = ma() ? Xe(xn) : void 0, l = (r == null ? void 0 : r()) ?? (() => {
|
|
2598
2598
|
});
|
|
2599
2599
|
return (s, i) => {
|
|
2600
|
-
const u =
|
|
2600
|
+
const u = Dt("RouterLink");
|
|
2601
2601
|
return n.value ? (c(), p("a", {
|
|
2602
2602
|
key: 0,
|
|
2603
2603
|
class: "fr-nav__link",
|
|
@@ -2608,7 +2608,7 @@ const pr = {
|
|
|
2608
2608
|
})
|
|
2609
2609
|
}, x(s.text), 9, Xr)) : (c(), U(u, {
|
|
2610
2610
|
key: 1,
|
|
2611
|
-
class:
|
|
2611
|
+
class: Z(["fr-nav__link", {
|
|
2612
2612
|
[String(s.icon)]: a.value
|
|
2613
2613
|
}]),
|
|
2614
2614
|
"data-testid": "nav-router-link",
|
|
@@ -2619,14 +2619,14 @@ const pr = {
|
|
|
2619
2619
|
})
|
|
2620
2620
|
}, {
|
|
2621
2621
|
default: F(() => [
|
|
2622
|
-
s.icon && o.value ? (c(), U(
|
|
2622
|
+
s.icon && o.value ? (c(), U(we, ct(Y({ key: 0 }, o.value)), null, 16)) : D("", !0),
|
|
2623
2623
|
ae(" " + x(s.text), 1)
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 1
|
|
2626
2626
|
}, 8, ["to", "class"]));
|
|
2627
2627
|
};
|
|
2628
2628
|
}
|
|
2629
|
-
}),
|
|
2629
|
+
}), Zr = { class: "fr-col-12 fr-col-lg-3" }, Rr = { class: "fr-mega-menu__category" }, Fr = { class: "fr-mega-menu__list" }, Kr = /* @__PURE__ */ j({
|
|
2630
2630
|
__name: "DsfrNavigationMegaMenuCategory",
|
|
2631
2631
|
props: {
|
|
2632
2632
|
title: {},
|
|
@@ -2634,8 +2634,8 @@ const pr = {
|
|
|
2634
2634
|
links: {}
|
|
2635
2635
|
},
|
|
2636
2636
|
setup(e) {
|
|
2637
|
-
return (t, n) => (c(), p("div",
|
|
2638
|
-
h("h5",
|
|
2637
|
+
return (t, n) => (c(), p("div", Zr, [
|
|
2638
|
+
h("h5", Rr, [
|
|
2639
2639
|
h("a", {
|
|
2640
2640
|
class: "fr-nav__link",
|
|
2641
2641
|
href: "#",
|
|
@@ -2648,7 +2648,7 @@ const pr = {
|
|
|
2648
2648
|
key: o,
|
|
2649
2649
|
class: "fr-nav__link"
|
|
2650
2650
|
}, [
|
|
2651
|
-
R(
|
|
2651
|
+
R(Wt, Y({ ref_for: !0 }, a), null, 16)
|
|
2652
2652
|
]))), 128))
|
|
2653
2653
|
])
|
|
2654
2654
|
]));
|
|
@@ -2672,13 +2672,13 @@ const pr = {
|
|
|
2672
2672
|
cssExpanded: o,
|
|
2673
2673
|
doExpand: r,
|
|
2674
2674
|
onTransitionEnd: l
|
|
2675
|
-
} =
|
|
2675
|
+
} = pt(), s = M(() => t.id === t.expandedId);
|
|
2676
2676
|
return oe(s, (i, u) => {
|
|
2677
2677
|
i !== u && r(i);
|
|
2678
2678
|
}), ue(() => {
|
|
2679
2679
|
s.value && r(!0);
|
|
2680
2680
|
}), (i, u) => {
|
|
2681
|
-
const A =
|
|
2681
|
+
const A = Dt("RouterLink");
|
|
2682
2682
|
return c(), p(K, null, [
|
|
2683
2683
|
h("button", {
|
|
2684
2684
|
class: "fr-nav__btn",
|
|
@@ -2692,7 +2692,7 @@ const pr = {
|
|
|
2692
2692
|
ref_key: "collapse",
|
|
2693
2693
|
ref: n,
|
|
2694
2694
|
"data-testid": "mega-menu-wrapper",
|
|
2695
|
-
class:
|
|
2695
|
+
class: Z(["fr-collapse fr-mega-menu", {
|
|
2696
2696
|
"fr-collapse--expanded": f(o),
|
|
2697
2697
|
// Need to use a separate data to add/remove the class after a RAF
|
|
2698
2698
|
"fr-collapsing": f(a)
|
|
@@ -2768,7 +2768,7 @@ const pr = {
|
|
|
2768
2768
|
cssExpanded: o,
|
|
2769
2769
|
doExpand: r,
|
|
2770
2770
|
onTransitionEnd: l
|
|
2771
|
-
} =
|
|
2771
|
+
} = pt(), s = M(() => t.id === t.expandedId);
|
|
2772
2772
|
return oe(s, (i, u) => {
|
|
2773
2773
|
i !== u && r(i);
|
|
2774
2774
|
}), ue(() => {
|
|
@@ -2787,7 +2787,7 @@ const pr = {
|
|
|
2787
2787
|
id: i.id,
|
|
2788
2788
|
ref_key: "collapse",
|
|
2789
2789
|
ref: n,
|
|
2790
|
-
class:
|
|
2790
|
+
class: Z(["fr-collapse fr-menu", { "fr-collapse--expanded": f(o), "fr-collapsing": f(a) }]),
|
|
2791
2791
|
"data-testid": "navigation-menu",
|
|
2792
2792
|
onTransitionend: u[2] || (u[2] = (A) => f(l)(s.value))
|
|
2793
2793
|
}, [
|
|
@@ -2795,7 +2795,7 @@ const pr = {
|
|
|
2795
2795
|
B(i.$slots, "default"),
|
|
2796
2796
|
(c(!0), p(K, null, te(i.links, (A, d) => (c(), U(ll, { key: d }, {
|
|
2797
2797
|
default: F(() => [
|
|
2798
|
-
R(
|
|
2798
|
+
R(Wt, Y({ ref_for: !0 }, A, {
|
|
2799
2799
|
onToggleId: u[1] || (u[1] = (m) => i.$emit("toggleId", i.expandedId))
|
|
2800
2800
|
}), null, 16)
|
|
2801
2801
|
]),
|
|
@@ -2813,7 +2813,7 @@ const pr = {
|
|
|
2813
2813
|
navItems: { default: () => [] }
|
|
2814
2814
|
},
|
|
2815
2815
|
setup(e) {
|
|
2816
|
-
const t = e, n =
|
|
2816
|
+
const t = e, n = X(void 0), a = (s) => {
|
|
2817
2817
|
if (s === n.value) {
|
|
2818
2818
|
n.value = void 0;
|
|
2819
2819
|
return;
|
|
@@ -2849,7 +2849,7 @@ const pr = {
|
|
|
2849
2849
|
key: A
|
|
2850
2850
|
}, {
|
|
2851
2851
|
default: F(() => [
|
|
2852
|
-
u.to && u.text ? (c(), U(
|
|
2852
|
+
u.to && u.text ? (c(), U(Wt, Y({
|
|
2853
2853
|
key: 0,
|
|
2854
2854
|
ref_for: !0
|
|
2855
2855
|
}, u, {
|
|
@@ -2885,7 +2885,7 @@ const pr = {
|
|
|
2885
2885
|
emits: ["close"],
|
|
2886
2886
|
setup(e) {
|
|
2887
2887
|
return (t, n) => (c(), p("div", {
|
|
2888
|
-
class:
|
|
2888
|
+
class: Z(["fr-notice", `fr-notice--${t.type}`])
|
|
2889
2889
|
}, [
|
|
2890
2890
|
h("div", pl, [
|
|
2891
2891
|
h("div", vl, [
|
|
@@ -2920,7 +2920,7 @@ const pr = {
|
|
|
2920
2920
|
}, El = {
|
|
2921
2921
|
key: 0,
|
|
2922
2922
|
class: "fr-radio-rich__pictogram"
|
|
2923
|
-
}, Ml = ["src", "title"], Nl = { key: 0 }, Tl = ["href"], kl = ["href"], Ql = ["href"],
|
|
2923
|
+
}, Ml = ["src", "title"], Nl = { key: 0 }, Tl = ["href"], kl = ["href"], Ql = ["href"], Rn = /* @__PURE__ */ j({
|
|
2924
2924
|
__name: "DsfrRadioButton",
|
|
2925
2925
|
props: {
|
|
2926
2926
|
id: { default: () => le("basic", "radio") },
|
|
@@ -2942,10 +2942,10 @@ const pr = {
|
|
|
2942
2942
|
setup(e) {
|
|
2943
2943
|
const t = e, n = { viewBox: "0 0 80 80", width: "80px", height: "80px" }, a = M(() => t.rich || !!t.img || !!t.svgPath);
|
|
2944
2944
|
return (o, r) => (c(), p("div", {
|
|
2945
|
-
class:
|
|
2945
|
+
class: Z(["fr-fieldset__element", { "fr-fieldset__element--inline": o.inline }])
|
|
2946
2946
|
}, [
|
|
2947
2947
|
h("div", {
|
|
2948
|
-
class:
|
|
2948
|
+
class: Z(["fr-radio-group", {
|
|
2949
2949
|
"fr-radio-rich": a.value,
|
|
2950
2950
|
"fr-radio-group--sm": o.small
|
|
2951
2951
|
}])
|
|
@@ -3032,7 +3032,7 @@ const pr = {
|
|
|
3032
3032
|
}, s = M(() => o.value ? `messages-${n.titleId}` : void 0);
|
|
3033
3033
|
return (i, u) => (c(), p("div", Ll, [
|
|
3034
3034
|
h("fieldset", {
|
|
3035
|
-
class:
|
|
3035
|
+
class: Z(["fr-fieldset", {
|
|
3036
3036
|
"fr-fieldset--error": i.errorMessage,
|
|
3037
3037
|
"fr-fieldset--valid": i.validMessage
|
|
3038
3038
|
}]),
|
|
@@ -3060,7 +3060,7 @@ const pr = {
|
|
|
3060
3060
|
])
|
|
3061
3061
|
], 8, Sl)) : D("", !0),
|
|
3062
3062
|
B(i.$slots, "default", {}, () => [
|
|
3063
|
-
(c(!0), p(K, null, te(i.options, (A, d) => (c(), U(
|
|
3063
|
+
(c(!0), p(K, null, te(i.options, (A, d) => (c(), U(Rn, Y({
|
|
3064
3064
|
key: typeof A.value == "boolean" ? d : A.value || d,
|
|
3065
3065
|
name: i.name,
|
|
3066
3066
|
"aria-disabled": A.disabled,
|
|
@@ -3080,7 +3080,7 @@ const pr = {
|
|
|
3080
3080
|
role: "alert"
|
|
3081
3081
|
}, [
|
|
3082
3082
|
h("p", {
|
|
3083
|
-
class:
|
|
3083
|
+
class: Z(["fr-message fr-message--info flex items-center", r.value])
|
|
3084
3084
|
}, x(o.value), 3)
|
|
3085
3085
|
], 8, zl)) : D("", !0)
|
|
3086
3086
|
], 10, Ol)
|
|
@@ -3117,7 +3117,7 @@ const pr = {
|
|
|
3117
3117
|
);
|
|
3118
3118
|
const n = M(() => t.errorMessage || t.successMessage), a = M(() => t.errorMessage ? "error" : "valid");
|
|
3119
3119
|
return (o, r) => (c(), p("div", {
|
|
3120
|
-
class:
|
|
3120
|
+
class: Z(["fr-select-group", { [`fr-select-group--${a.value}`]: n.value }])
|
|
3121
3121
|
}, [
|
|
3122
3122
|
h("label", {
|
|
3123
3123
|
class: "fr-label",
|
|
@@ -3161,11 +3161,11 @@ const pr = {
|
|
|
3161
3161
|
n.value ? (c(), p("p", {
|
|
3162
3162
|
key: 0,
|
|
3163
3163
|
id: `select-${a.value}-desc-${a.value}`,
|
|
3164
|
-
class:
|
|
3164
|
+
class: Z(`fr-${a.value}-text`)
|
|
3165
3165
|
}, x(n.value), 11, ql)) : D("", !0)
|
|
3166
3166
|
], 2));
|
|
3167
3167
|
}
|
|
3168
|
-
}), Xl = ["id", "aria-labelledby", "tabindex"],
|
|
3168
|
+
}), Xl = ["id", "aria-labelledby", "tabindex"], Zl = /* @__PURE__ */ j({
|
|
3169
3169
|
__name: "DsfrTabContent",
|
|
3170
3170
|
props: {
|
|
3171
3171
|
panelId: {},
|
|
@@ -3176,7 +3176,7 @@ const pr = {
|
|
|
3176
3176
|
"7152af7e": l.value,
|
|
3177
3177
|
"2a62e962": s.value
|
|
3178
3178
|
}));
|
|
3179
|
-
const t = e, n = { true: "100%", false: "-100%" }, a =
|
|
3179
|
+
const t = e, n = { true: "100%", false: "-100%" }, a = Xe(Pt), { isVisible: o, asc: r } = a(At(() => t.tabId)), l = M(() => n[String(r == null ? void 0 : r.value)]), s = M(() => n[String(!(r != null && r.value))]);
|
|
3180
3180
|
return (i, u) => (c(), U(va, {
|
|
3181
3181
|
name: "slide-fade",
|
|
3182
3182
|
mode: "in-out"
|
|
@@ -3184,7 +3184,7 @@ const pr = {
|
|
|
3184
3184
|
default: F(() => [
|
|
3185
3185
|
ga(h("div", {
|
|
3186
3186
|
id: i.panelId,
|
|
3187
|
-
class:
|
|
3187
|
+
class: Z(["fr-tabs__panel", {
|
|
3188
3188
|
"fr-tabs__panel--selected": f(o)
|
|
3189
3189
|
}]),
|
|
3190
3190
|
role: "tabpanel",
|
|
@@ -3199,10 +3199,10 @@ const pr = {
|
|
|
3199
3199
|
_: 3
|
|
3200
3200
|
}));
|
|
3201
3201
|
}
|
|
3202
|
-
}),
|
|
3202
|
+
}), Fn = /* @__PURE__ */ Ie(Zl, [["__scopeId", "data-v-5774b16c"]]), Rl = { role: "presentation" }, Fl = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], Kl = {
|
|
3203
3203
|
key: 0,
|
|
3204
3204
|
style: { "margin-left": "-0.25rem", "margin-right": "0.5rem", "font-size": "0.95rem" }
|
|
3205
|
-
},
|
|
3205
|
+
}, Kn = /* @__PURE__ */ j({
|
|
3206
3206
|
__name: "DsfrTabItem",
|
|
3207
3207
|
props: {
|
|
3208
3208
|
panelId: {},
|
|
@@ -3211,7 +3211,7 @@ const pr = {
|
|
|
3211
3211
|
},
|
|
3212
3212
|
emits: ["click", "next", "previous", "first", "last"],
|
|
3213
3213
|
setup(e, { emit: t }) {
|
|
3214
|
-
const n = e, a = t, o =
|
|
3214
|
+
const n = e, a = t, o = X(null), r = {
|
|
3215
3215
|
ArrowRight: "next",
|
|
3216
3216
|
ArrowLeft: "previous",
|
|
3217
3217
|
Home: "first",
|
|
@@ -3221,11 +3221,11 @@ const pr = {
|
|
|
3221
3221
|
const d = A == null ? void 0 : A.key, m = r[d];
|
|
3222
3222
|
m && a(m);
|
|
3223
3223
|
}
|
|
3224
|
-
const s =
|
|
3224
|
+
const s = Xe(Pt), { isVisible: i } = s(At(() => n.tabId)), u = fa("button");
|
|
3225
3225
|
return oe(i, () => {
|
|
3226
3226
|
var A;
|
|
3227
3227
|
i.value && ((A = u.value) == null || A.focus());
|
|
3228
|
-
}), (A, d) => (c(), p("li",
|
|
3228
|
+
}), (A, d) => (c(), p("li", Rl, [
|
|
3229
3229
|
h("button", Y(A.$attrs, {
|
|
3230
3230
|
id: A.tabId,
|
|
3231
3231
|
ref_key: "button",
|
|
@@ -3241,7 +3241,7 @@ const pr = {
|
|
|
3241
3241
|
onKeydown: d[1] || (d[1] = (m) => l(m))
|
|
3242
3242
|
}), [
|
|
3243
3243
|
A.icon ? (c(), p("span", Kl, [
|
|
3244
|
-
R(
|
|
3244
|
+
R(we, { name: A.icon }, null, 8, ["name"])
|
|
3245
3245
|
])) : D("", !0),
|
|
3246
3246
|
B(A.$slots, "default")
|
|
3247
3247
|
], 16, Fl)
|
|
@@ -3257,14 +3257,14 @@ const pr = {
|
|
|
3257
3257
|
},
|
|
3258
3258
|
emits: ["update:modelValue"],
|
|
3259
3259
|
setup(e, { expose: t, emit: n }) {
|
|
3260
|
-
const a = e, o = n, r =
|
|
3260
|
+
const a = e, o = n, r = X(!1), l = M({
|
|
3261
3261
|
get: () => a.modelValue,
|
|
3262
3262
|
set(T) {
|
|
3263
3263
|
o("update:modelValue", T);
|
|
3264
3264
|
}
|
|
3265
|
-
}), s =
|
|
3266
|
-
|
|
3267
|
-
const z =
|
|
3265
|
+
}), s = X(/* @__PURE__ */ new Map()), i = X(0);
|
|
3266
|
+
ut(Pt, (T) => {
|
|
3267
|
+
const z = X(!0);
|
|
3268
3268
|
if (oe(l, (J, q) => {
|
|
3269
3269
|
z.value = J > q;
|
|
3270
3270
|
}), [...s.value.values()].includes(T.value))
|
|
@@ -3278,7 +3278,7 @@ const pr = {
|
|
|
3278
3278
|
s.value.delete(O);
|
|
3279
3279
|
}), { isVisible: w };
|
|
3280
3280
|
});
|
|
3281
|
-
const u =
|
|
3281
|
+
const u = X(null), A = X(null), d = Ct({}), m = (T) => {
|
|
3282
3282
|
if (d[T])
|
|
3283
3283
|
return d[T];
|
|
3284
3284
|
const z = le("tab");
|
|
@@ -3293,7 +3293,7 @@ const pr = {
|
|
|
3293
3293
|
l.value = 0;
|
|
3294
3294
|
}, v = async () => {
|
|
3295
3295
|
l.value = a.tabTitles.length - 1;
|
|
3296
|
-
}, k =
|
|
3296
|
+
}, k = X({ "--tabs-height": "100px" }), S = () => {
|
|
3297
3297
|
var T;
|
|
3298
3298
|
if (l.value < 0 || !A.value || !A.value.offsetHeight)
|
|
3299
3299
|
return;
|
|
@@ -3302,7 +3302,7 @@ const pr = {
|
|
|
3302
3302
|
return;
|
|
3303
3303
|
const w = O.offsetHeight;
|
|
3304
3304
|
k.value["--tabs-height"] = `${z + w}px`;
|
|
3305
|
-
}, Q =
|
|
3305
|
+
}, Q = X(null);
|
|
3306
3306
|
return ue(() => {
|
|
3307
3307
|
var T;
|
|
3308
3308
|
window.ResizeObserver && (Q.value = new window.ResizeObserver(() => {
|
|
@@ -3335,7 +3335,7 @@ const pr = {
|
|
|
3335
3335
|
"aria-label": T.tabListName
|
|
3336
3336
|
}, [
|
|
3337
3337
|
B(T.$slots, "tab-items", {}, () => [
|
|
3338
|
-
(c(!0), p(K, null, te(T.tabTitles, (O, w) => (c(), U(
|
|
3338
|
+
(c(!0), p(K, null, te(T.tabTitles, (O, w) => (c(), U(Kn, {
|
|
3339
3339
|
key: w,
|
|
3340
3340
|
icon: O.icon,
|
|
3341
3341
|
"panel-id": O.panelId || `${m(w)}-panel`,
|
|
@@ -3355,7 +3355,7 @@ const pr = {
|
|
|
3355
3355
|
], 8, Yl),
|
|
3356
3356
|
(c(!0), p(K, null, te(T.tabContents, (O, w) => {
|
|
3357
3357
|
var J, q, $, y;
|
|
3358
|
-
return c(), U(
|
|
3358
|
+
return c(), U(Fn, {
|
|
3359
3359
|
key: w,
|
|
3360
3360
|
"panel-id": ((q = (J = T.tabTitles) == null ? void 0 : J[w]) == null ? void 0 : q.panelId) || `${m(w)}-panel`,
|
|
3361
3361
|
"tab-id": ((y = ($ = T.tabTitles) == null ? void 0 : $[w]) == null ? void 0 : y.tabId) || m(w)
|
|
@@ -3400,7 +3400,7 @@ const pr = {
|
|
|
3400
3400
|
onClick: u[0] || (u[0] = (A) => !i.disabled && i.$emit("select", [i.value, i.selected]))
|
|
3401
3401
|
}), {
|
|
3402
3402
|
default: F(() => [
|
|
3403
|
-
t.icon && !r.value ? (c(), U(
|
|
3403
|
+
t.icon && !r.value ? (c(), U(we, Y({
|
|
3404
3404
|
key: 0,
|
|
3405
3405
|
label: i.iconOnly ? i.label : void 0,
|
|
3406
3406
|
class: { "fr-mr-1v": !i.iconOnly }
|
|
@@ -3467,9 +3467,9 @@ const pr = {
|
|
|
3467
3467
|
Ae((o) => ({
|
|
3468
3468
|
53885778: f(a)
|
|
3469
3469
|
}));
|
|
3470
|
-
const t =
|
|
3470
|
+
const t = Cn(e, ["size"]), n = M(() => ti * e.size), a = M(() => `${e.size}rem`);
|
|
3471
3471
|
return (o, r) => {
|
|
3472
|
-
const l =
|
|
3472
|
+
const l = we;
|
|
3473
3473
|
return c(), p("div", ei, [
|
|
3474
3474
|
R(l, Y(t, { scale: f(n) }), null, 16, ["scale"])
|
|
3475
3475
|
]);
|
|
@@ -3493,7 +3493,7 @@ const pr = {
|
|
|
3493
3493
|
}));
|
|
3494
3494
|
const t = M(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), n = M(() => e.inline ? void 0 : "ellipsis-container"), a = M(() => e.inline ? void 0 : "ellipsis");
|
|
3495
3495
|
return (o, r) => (c(), p("div", {
|
|
3496
|
-
class:
|
|
3496
|
+
class: Z(["icon-text--container", [f(n)]])
|
|
3497
3497
|
}, [
|
|
3498
3498
|
R(se, {
|
|
3499
3499
|
class: "icon-text--icon",
|
|
@@ -3502,7 +3502,7 @@ const pr = {
|
|
|
3502
3502
|
size: f(t)
|
|
3503
3503
|
}, null, 8, ["name", "color", "size"]),
|
|
3504
3504
|
h("span", {
|
|
3505
|
-
class:
|
|
3505
|
+
class: Z(["icon-text--text", [f(a), o.typographyClass]])
|
|
3506
3506
|
}, x(o.text), 3)
|
|
3507
3507
|
], 2));
|
|
3508
3508
|
}
|
|
@@ -3682,7 +3682,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3682
3682
|
}
|
|
3683
3683
|
});
|
|
3684
3684
|
return t({ computedSvgScale: i }), (u, A) => {
|
|
3685
|
-
const d =
|
|
3685
|
+
const d = xt;
|
|
3686
3686
|
return c(), U(d, Y(n, {
|
|
3687
3687
|
class: ["av-button", [f(r), f(l), f(s)]],
|
|
3688
3688
|
disabled: n.disabled || u.isLoading,
|
|
@@ -3694,7 +3694,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3694
3694
|
}), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title"]);
|
|
3695
3695
|
};
|
|
3696
3696
|
}
|
|
3697
|
-
}),
|
|
3697
|
+
}), Ne = /* @__PURE__ */ G(Ai, [["__scopeId", "data-v-1e62051c"]]), ci = ["id", "role"], di = { class: "av-alert--container" }, fi = { class: "av-alert--content" }, pi = { class: "av-alert--title" }, vi = { class: "b1-regular" }, gi = /* @__PURE__ */ j({
|
|
3698
3698
|
__name: "AvAlert",
|
|
3699
3699
|
props: {
|
|
3700
3700
|
alert: { type: Boolean, default: !1 },
|
|
@@ -3733,7 +3733,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3733
3733
|
return (l, s) => l.closed ? D("", !0) : (c(), p("div", {
|
|
3734
3734
|
key: 0,
|
|
3735
3735
|
id: l.id,
|
|
3736
|
-
class:
|
|
3736
|
+
class: Z(["fr-alert", f(o)]),
|
|
3737
3737
|
role: l.alert ? "alert" : void 0
|
|
3738
3738
|
}, [
|
|
3739
3739
|
h("div", di, [
|
|
@@ -3754,7 +3754,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3754
3754
|
], !0)
|
|
3755
3755
|
])
|
|
3756
3756
|
]),
|
|
3757
|
-
l.closeable ? (c(), U(
|
|
3757
|
+
l.closeable ? (c(), U(Ne, {
|
|
3758
3758
|
key: 0,
|
|
3759
3759
|
"icon-only": "",
|
|
3760
3760
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -3809,7 +3809,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3809
3809
|
})
|
|
3810
3810
|
]));
|
|
3811
3811
|
}
|
|
3812
|
-
}), Dc = /* @__PURE__ */ G(Ii, [["__scopeId", "data-v-202438c7"]]), hi = ["aria-label"], yi = { class: "fr-btns-group" },
|
|
3812
|
+
}), Dc = /* @__PURE__ */ G(Ii, [["__scopeId", "data-v-202438c7"]]), hi = ["aria-label"], yi = { class: "fr-btns-group" }, An = /* @__PURE__ */ j({
|
|
3813
3813
|
__name: "AvHeaderMenuLinks",
|
|
3814
3814
|
props: {
|
|
3815
3815
|
links: {},
|
|
@@ -3824,7 +3824,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3824
3824
|
}, [
|
|
3825
3825
|
h("ul", yi, [
|
|
3826
3826
|
(c(!0), p(K, null, te(a.links, (r, l) => (c(), p("li", { key: l }, [
|
|
3827
|
-
R(
|
|
3827
|
+
R(Ne, {
|
|
3828
3828
|
icon: r.icon,
|
|
3829
3829
|
label: r.label ?? "",
|
|
3830
3830
|
"on-click": (s) => {
|
|
@@ -3888,7 +3888,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3888
3888
|
}, Ui = ["aria-label"], qi = { class: "fr-container" }, Hi = { class: "fr-header__menu-links" }, Xi = {
|
|
3889
3889
|
key: 1,
|
|
3890
3890
|
class: "flex justify-center items-center demo-display-none"
|
|
3891
|
-
},
|
|
3891
|
+
}, Zi = { class: "fr-header__menu fr-modal" }, Ri = {
|
|
3892
3892
|
key: 0,
|
|
3893
3893
|
class: "fr-container"
|
|
3894
3894
|
}, Fi = /* @__PURE__ */ j({
|
|
@@ -3912,7 +3912,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3912
3912
|
},
|
|
3913
3913
|
emits: ["update:modelValue", "search", "languageSelect"],
|
|
3914
3914
|
setup(e, { emit: t }) {
|
|
3915
|
-
const n = e, a = t, o = fe(), r =
|
|
3915
|
+
const n = e, a = t, o = fe(), r = At(n, "languageSelector"), l = X(!1), s = X(!1), i = X(!1);
|
|
3916
3916
|
function u() {
|
|
3917
3917
|
var v;
|
|
3918
3918
|
i.value = !1, l.value = !1, s.value = !1, (v = document.getElementById("button-menu")) == null || v.focus();
|
|
@@ -3935,9 +3935,9 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3935
3935
|
i.value = !0, l.value = !1, s.value = !0;
|
|
3936
3936
|
}
|
|
3937
3937
|
const b = u, I = M(() => [n.homeLabel, n.serviceTitle].filter((v) => v).join(" - ")), C = M(() => !!o.mainnav);
|
|
3938
|
-
return
|
|
3938
|
+
return ut(xn, () => u), (v, k) => {
|
|
3939
3939
|
var z, O;
|
|
3940
|
-
const S =
|
|
3940
|
+
const S = Dt("RouterLink"), Q = Er, T = Lr;
|
|
3941
3941
|
return c(), p("header", Ti, [
|
|
3942
3942
|
h("div", ki, [
|
|
3943
3943
|
h("div", Qi, [
|
|
@@ -3987,7 +3987,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3987
3987
|
h("div", xi, [
|
|
3988
3988
|
h("div", Wi, [
|
|
3989
3989
|
B(v.$slots, "before-quick-links", {}, void 0, !0),
|
|
3990
|
-
f(l) ? D("", !0) : (c(), U(
|
|
3990
|
+
f(l) ? D("", !0) : (c(), U(An, {
|
|
3991
3991
|
key: 0,
|
|
3992
3992
|
links: v.quickLinks,
|
|
3993
3993
|
"nav-aria-label": v.quickLinksAriaLabel
|
|
@@ -4013,7 +4013,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4013
4013
|
v.showSearch || f(C) || v.quickLinks && v.quickLinks.length || f(r) ? (c(), p("div", {
|
|
4014
4014
|
key: 0,
|
|
4015
4015
|
id: "header-navigation",
|
|
4016
|
-
class:
|
|
4016
|
+
class: Z(["fr-header__menu fr-modal", { "fr-modal--opened": f(i) }]),
|
|
4017
4017
|
"aria-label": v.menuModalLabel,
|
|
4018
4018
|
role: "dialog",
|
|
4019
4019
|
"aria-modal": "true"
|
|
@@ -4031,7 +4031,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4031
4031
|
onSelect: k[6] || (k[6] = (w) => f(r).currentLanguage = w.codeIso)
|
|
4032
4032
|
}), null, 16)) : D("", !0),
|
|
4033
4033
|
B(v.$slots, "before-quick-links", {}, void 0, !0),
|
|
4034
|
-
f(l) ? (c(), U(
|
|
4034
|
+
f(l) ? (c(), U(An, {
|
|
4035
4035
|
key: 1,
|
|
4036
4036
|
role: "navigation",
|
|
4037
4037
|
links: v.quickLinks,
|
|
@@ -4058,8 +4058,8 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4058
4058
|
B(v.$slots, "default", {}, void 0, !0)
|
|
4059
4059
|
])
|
|
4060
4060
|
]),
|
|
4061
|
-
h("div",
|
|
4062
|
-
f(C) && !f(i) ? (c(), p("div",
|
|
4061
|
+
h("div", Zi, [
|
|
4062
|
+
f(C) && !f(i) ? (c(), p("div", Ri, [
|
|
4063
4063
|
B(v.$slots, "mainnav", { hidemodal: u }, void 0, !0)
|
|
4064
4064
|
])) : D("", !0)
|
|
4065
4065
|
])
|
|
@@ -4125,7 +4125,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4125
4125
|
const t = fe(), n = M(() => {
|
|
4126
4126
|
var r;
|
|
4127
4127
|
return ((r = t.default) == null ? void 0 : r.call(t)) || [];
|
|
4128
|
-
}), a =
|
|
4128
|
+
}), a = qe(e, "activeAccordion"), o = `accordion-group-${crypto.randomUUID()}`;
|
|
4129
4129
|
return (r, l) => (c(), U(f(Lo), {
|
|
4130
4130
|
modelValue: a.value,
|
|
4131
4131
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => a.value = s),
|
|
@@ -4257,7 +4257,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4257
4257
|
Ae((I) => ({
|
|
4258
4258
|
"31d78708": I.maxWidth
|
|
4259
4259
|
}));
|
|
4260
|
-
const n = e, a = t, o = M(() => Array.isArray(n.accept) ? n.accept.join(",") : n.accept), r =
|
|
4260
|
+
const n = e, a = t, o = M(() => Array.isArray(n.accept) ? n.accept.join(",") : n.accept), r = X(!1);
|
|
4261
4261
|
function l(I) {
|
|
4262
4262
|
const C = o.value;
|
|
4263
4263
|
return C ? C.split(",").map((k) => k.trim().toLowerCase()).some((k) => k.startsWith(".") ? I.name.toLowerCase().endsWith(k) : k.includes("/") ? I.type === k || I.type.startsWith(`${k.split("/")[0]}/`) : !1) : !0;
|
|
@@ -4267,7 +4267,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4267
4267
|
if (I.preventDefault(), r.value = !1, n.disabled || !((k = (v = I.dataTransfer) == null ? void 0 : v.files) != null && k.length))
|
|
4268
4268
|
return;
|
|
4269
4269
|
const C = Array.from(I.dataTransfer.files).filter(l);
|
|
4270
|
-
await
|
|
4270
|
+
await De(), C.length ? (a("change", C), a("update:modelValue", C[0] ?? "")) : a("onDropAcceptTypeError");
|
|
4271
4271
|
}
|
|
4272
4272
|
function i(I) {
|
|
4273
4273
|
I.preventDefault(), n.disabled || (r.value = !0);
|
|
@@ -4305,7 +4305,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4305
4305
|
}), {
|
|
4306
4306
|
default: F(() => [
|
|
4307
4307
|
h("div", {
|
|
4308
|
-
class:
|
|
4308
|
+
class: Z(f(d) ? "" : "file-upload-container")
|
|
4309
4309
|
}, [
|
|
4310
4310
|
h("div", us, [
|
|
4311
4311
|
h("div", As, [
|
|
@@ -4330,7 +4330,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4330
4330
|
}, null, 8, ["valid-message", "error"])
|
|
4331
4331
|
]),
|
|
4332
4332
|
h("div", bs, [
|
|
4333
|
-
f(d) ? (c(), U(
|
|
4333
|
+
f(d) ? (c(), U(Ne, {
|
|
4334
4334
|
key: 0,
|
|
4335
4335
|
label: I.deleteButtonLabel,
|
|
4336
4336
|
theme: "SECONDARY",
|
|
@@ -4430,7 +4430,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4430
4430
|
minlength: u.minlength
|
|
4431
4431
|
}, u.$attrs, {
|
|
4432
4432
|
"onUpdate:modelValue": A[0] || (A[0] = (d) => a("update:modelValue", d))
|
|
4433
|
-
}),
|
|
4433
|
+
}), We({ _: 2 }, [
|
|
4434
4434
|
o.requiredTip ? {
|
|
4435
4435
|
name: "required-tip",
|
|
4436
4436
|
fn: F(() => [
|
|
@@ -4491,7 +4491,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4491
4491
|
}));
|
|
4492
4492
|
const t = M(() => `av-list--${e.size}`), n = M(() => e.bordered ? "av-list--bordered" : ""), a = M(() => e.divided ? "av-list--divided" : "");
|
|
4493
4493
|
return (o, r) => (c(), p("div", {
|
|
4494
|
-
class:
|
|
4494
|
+
class: Z(["av-list", [f(t), f(n), f(a)]]),
|
|
4495
4495
|
role: o.role,
|
|
4496
4496
|
"aria-label": o.ariaLabel,
|
|
4497
4497
|
"aria-labelledby": o.ariaLabelledby,
|
|
@@ -4500,7 +4500,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4500
4500
|
B(o.$slots, "default", {}, void 0, !0)
|
|
4501
4501
|
], 10, Ls));
|
|
4502
4502
|
}
|
|
4503
|
-
}),
|
|
4503
|
+
}), Yn = /* @__PURE__ */ G(Os, [["__scopeId", "data-v-f74989f7"]]), Uc = {
|
|
4504
4504
|
name: "AvListItem",
|
|
4505
4505
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
4506
4506
|
emits: ["click"],
|
|
@@ -4564,7 +4564,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4564
4564
|
const l = M(() => e.clickable ? "av-list-item--clickable" : ""), s = M(() => e.disabled ? "av-list-item--disabled" : ""), i = M(() => e.selected ? "av-list-item--selected" : "");
|
|
4565
4565
|
return (u, A) => (c(), p("div", { role: u.role }, [
|
|
4566
4566
|
(c(), U(de(f(n)), {
|
|
4567
|
-
class:
|
|
4567
|
+
class: Z(["av-list-item", [f(l), f(s), f(i)]]),
|
|
4568
4568
|
tabindex: u.clickable && !u.disabled ? 0 : void 0,
|
|
4569
4569
|
"aria-label": u.clickable ? f(a) : void 0,
|
|
4570
4570
|
"aria-describedby": u.ariaDescribedby,
|
|
@@ -4596,7 +4596,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4596
4596
|
}, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
|
|
4597
4597
|
], 8, Ss));
|
|
4598
4598
|
}
|
|
4599
|
-
}),
|
|
4599
|
+
}), Gn = /* @__PURE__ */ G(Ps, [["__scopeId", "data-v-4f3ffe7f"]]);
|
|
4600
4600
|
function xs(e) {
|
|
4601
4601
|
return [...new Set(e)];
|
|
4602
4602
|
}
|
|
@@ -4629,7 +4629,7 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4629
4629
|
function u(C) {
|
|
4630
4630
|
return C ? Array.isArray(C) ? C : [C] : [];
|
|
4631
4631
|
}
|
|
4632
|
-
const A =
|
|
4632
|
+
const A = X(u(r));
|
|
4633
4633
|
function d(C) {
|
|
4634
4634
|
return A.value.some((v) => v.value === C.value);
|
|
4635
4635
|
}
|
|
@@ -4651,14 +4651,14 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4651
4651
|
return c(), p("div", Ws, [
|
|
4652
4652
|
f(n) ? (c(), p("span", {
|
|
4653
4653
|
key: 0,
|
|
4654
|
-
class:
|
|
4654
|
+
class: Z(["av-select-label", [f(o)]])
|
|
4655
4655
|
}, x(f(n)), 3)) : D("", !0),
|
|
4656
4656
|
(c(!0), p(K, null, te(f(i), (S) => (c(), p("div", {
|
|
4657
4657
|
key: S.value,
|
|
4658
4658
|
class: "tag-wrapper"
|
|
4659
4659
|
}, [
|
|
4660
4660
|
R(k, {
|
|
4661
|
-
class:
|
|
4661
|
+
class: Z({
|
|
4662
4662
|
"fr-tag--selected": d(S),
|
|
4663
4663
|
"fr-tag--disabled": I(S)
|
|
4664
4664
|
}),
|
|
@@ -4674,7 +4674,7 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4674
4674
|
};
|
|
4675
4675
|
}
|
|
4676
4676
|
}), Us = /* @__PURE__ */ G(Vs, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
4677
|
-
var
|
|
4677
|
+
var Jn = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Jn || {});
|
|
4678
4678
|
const Hc = [
|
|
4679
4679
|
4,
|
|
4680
4680
|
8,
|
|
@@ -4688,7 +4688,7 @@ const Hc = [
|
|
|
4688
4688
|
handleSelectChange: { type: Function }
|
|
4689
4689
|
},
|
|
4690
4690
|
setup(e) {
|
|
4691
|
-
const t = M(() => Object.values(
|
|
4691
|
+
const t = M(() => Object.values(Jn).filter((a) => typeof a == "number").map((a) => ({
|
|
4692
4692
|
label: a.toString(),
|
|
4693
4693
|
value: a.toString()
|
|
4694
4694
|
}))), n = M(() => ({
|
|
@@ -4707,7 +4707,7 @@ const Hc = [
|
|
|
4707
4707
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
4708
4708
|
]));
|
|
4709
4709
|
}
|
|
4710
|
-
}), Xc = /* @__PURE__ */ G(Hs, [["__scopeId", "data-v-d72fe5ab"]]),
|
|
4710
|
+
}), Xc = /* @__PURE__ */ G(Hs, [["__scopeId", "data-v-d72fe5ab"]]), Zc = {
|
|
4711
4711
|
name: "AvTagPicker",
|
|
4712
4712
|
props: [
|
|
4713
4713
|
"label",
|
|
@@ -4738,7 +4738,7 @@ const Hc = [
|
|
|
4738
4738
|
setup(e) {
|
|
4739
4739
|
return (t, n) => B(t.$slots, "default");
|
|
4740
4740
|
}
|
|
4741
|
-
}),
|
|
4741
|
+
}), Rc = /* @__PURE__ */ j({
|
|
4742
4742
|
__name: "AvRadioButtonSet",
|
|
4743
4743
|
props: {
|
|
4744
4744
|
name: {},
|
|
@@ -4764,7 +4764,7 @@ const Hc = [
|
|
|
4764
4764
|
const i = M(() => {
|
|
4765
4765
|
var A;
|
|
4766
4766
|
return s((A = r.default) == null ? void 0 : A.call(r));
|
|
4767
|
-
}), u =
|
|
4767
|
+
}), u = X(a.modelValue);
|
|
4768
4768
|
return oe(() => a.modelValue, (A) => {
|
|
4769
4769
|
u.value = A;
|
|
4770
4770
|
}), oe(u, (A) => {
|
|
@@ -4773,10 +4773,10 @@ const Hc = [
|
|
|
4773
4773
|
default: F(() => [
|
|
4774
4774
|
(c(!0), p(K, null, te(f(i), (m, b) => {
|
|
4775
4775
|
var I, C;
|
|
4776
|
-
return c(), U(f(
|
|
4776
|
+
return c(), U(f(Rn), {
|
|
4777
4777
|
key: b,
|
|
4778
4778
|
modelValue: f(u),
|
|
4779
|
-
"onUpdate:modelValue": d[0] || (d[0] = (v) =>
|
|
4779
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => wt(u) ? u.value = v : null),
|
|
4780
4780
|
value: (I = m.props) == null ? void 0 : I.value,
|
|
4781
4781
|
disabled: ((C = m.props) == null ? void 0 : C.disabled) ?? a.disabled,
|
|
4782
4782
|
small: a.small,
|
|
@@ -4813,22 +4813,22 @@ const Hc = [
|
|
|
4813
4813
|
emits: ["update:modelValue", "search", "clear", "loadMore"],
|
|
4814
4814
|
template: '<div class="av-autocomplete-stub"><slot name="item" v-for="option in options" :key="option.id" :option="option" :is-selected="false" :toggle="() => {}" /></div>'
|
|
4815
4815
|
};
|
|
4816
|
-
var
|
|
4817
|
-
const
|
|
4818
|
-
function
|
|
4819
|
-
const e =
|
|
4816
|
+
var Le = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(Le || {});
|
|
4817
|
+
const _n = Symbol("AvAutocompleteContext");
|
|
4818
|
+
function Vt() {
|
|
4819
|
+
const e = Xe(_n);
|
|
4820
4820
|
if (!e)
|
|
4821
4821
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
4822
4822
|
return e;
|
|
4823
4823
|
}
|
|
4824
|
-
function
|
|
4824
|
+
function $n(e) {
|
|
4825
4825
|
return ha() ? (ya(e), !0) : !1;
|
|
4826
4826
|
}
|
|
4827
|
-
const
|
|
4827
|
+
const Zs = typeof window < "u" && typeof document < "u";
|
|
4828
4828
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
4829
|
-
const
|
|
4829
|
+
const Rs = (e) => e != null, Fs = Object.prototype.toString, Ks = (e) => Fs.call(e) === "[object Object]", Se = () => {
|
|
4830
4830
|
};
|
|
4831
|
-
function
|
|
4831
|
+
function ea(e, t) {
|
|
4832
4832
|
function n(...a) {
|
|
4833
4833
|
return new Promise((o, r) => {
|
|
4834
4834
|
Promise.resolve(e(() => t.apply(this, a), { fn: t, thisArg: this, args: a })).then(o).catch(r);
|
|
@@ -4837,9 +4837,9 @@ function ta(e, t) {
|
|
|
4837
4837
|
return n;
|
|
4838
4838
|
}
|
|
4839
4839
|
function Ys(e, t = {}) {
|
|
4840
|
-
let n, a, o =
|
|
4840
|
+
let n, a, o = Se;
|
|
4841
4841
|
const r = (i) => {
|
|
4842
|
-
clearTimeout(i), o(), o =
|
|
4842
|
+
clearTimeout(i), o(), o = Se;
|
|
4843
4843
|
};
|
|
4844
4844
|
let l;
|
|
4845
4845
|
return (i) => {
|
|
@@ -4854,10 +4854,10 @@ function Ys(e, t = {}) {
|
|
|
4854
4854
|
};
|
|
4855
4855
|
}
|
|
4856
4856
|
function Gs(...e) {
|
|
4857
|
-
let t = 0, n, a = !0, o =
|
|
4858
|
-
!
|
|
4857
|
+
let t = 0, n, a = !0, o = Se, r, l, s, i, u;
|
|
4858
|
+
!wt(e[0]) && typeof e[0] == "object" ? { delay: l, trailing: s = !0, leading: i = !0, rejectOnCancel: u = !1 } = e[0] : [l, s = !0, i = !0, u = !1] = e;
|
|
4859
4859
|
const A = () => {
|
|
4860
|
-
n && (clearTimeout(n), n = void 0, o(), o =
|
|
4860
|
+
n && (clearTimeout(n), n = void 0, o(), o = Se);
|
|
4861
4861
|
};
|
|
4862
4862
|
return (m) => {
|
|
4863
4863
|
const b = ie(l), I = Date.now() - t, C = () => r = m();
|
|
@@ -4868,28 +4868,28 @@ function Gs(...e) {
|
|
|
4868
4868
|
})), !i && !n && (n = setTimeout(() => a = !0, b)), a = !1, r);
|
|
4869
4869
|
};
|
|
4870
4870
|
}
|
|
4871
|
-
function
|
|
4871
|
+
function Je(e) {
|
|
4872
4872
|
return Array.isArray(e) ? e : [e];
|
|
4873
4873
|
}
|
|
4874
4874
|
function Js(e) {
|
|
4875
|
-
return
|
|
4875
|
+
return En();
|
|
4876
4876
|
}
|
|
4877
4877
|
// @__NO_SIDE_EFFECTS__
|
|
4878
4878
|
function _s(e, t = 200, n = {}) {
|
|
4879
|
-
return
|
|
4879
|
+
return ea(
|
|
4880
4880
|
Ys(t, n),
|
|
4881
4881
|
e
|
|
4882
4882
|
);
|
|
4883
4883
|
}
|
|
4884
4884
|
// @__NO_SIDE_EFFECTS__
|
|
4885
4885
|
function $s(e, t = 200, n = !1, a = !0, o = !1) {
|
|
4886
|
-
return
|
|
4886
|
+
return ea(
|
|
4887
4887
|
Gs(t, n, a, o),
|
|
4888
4888
|
e
|
|
4889
4889
|
);
|
|
4890
4890
|
}
|
|
4891
4891
|
function eu(e, t = !0, n) {
|
|
4892
|
-
Js() ? ue(e, n) : t ? e() :
|
|
4892
|
+
Js() ? ue(e, n) : t ? e() : De(e);
|
|
4893
4893
|
}
|
|
4894
4894
|
function tu(e, t, n) {
|
|
4895
4895
|
return oe(
|
|
@@ -4901,25 +4901,25 @@ function tu(e, t, n) {
|
|
|
4901
4901
|
}
|
|
4902
4902
|
);
|
|
4903
4903
|
}
|
|
4904
|
-
const
|
|
4905
|
-
function
|
|
4904
|
+
const Ut = Zs ? window : void 0;
|
|
4905
|
+
function qt(e) {
|
|
4906
4906
|
var t;
|
|
4907
4907
|
const n = ie(e);
|
|
4908
4908
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
4909
4909
|
}
|
|
4910
|
-
function
|
|
4910
|
+
function cn(...e) {
|
|
4911
4911
|
const t = [], n = () => {
|
|
4912
4912
|
t.forEach((s) => s()), t.length = 0;
|
|
4913
4913
|
}, a = (s, i, u, A) => (s.addEventListener(i, u, A), () => s.removeEventListener(i, u, A)), o = M(() => {
|
|
4914
|
-
const s =
|
|
4914
|
+
const s = Je(ie(e[0])).filter((i) => i != null);
|
|
4915
4915
|
return s.every((i) => typeof i != "string") ? s : void 0;
|
|
4916
4916
|
}), r = tu(
|
|
4917
4917
|
() => {
|
|
4918
4918
|
var s, i;
|
|
4919
4919
|
return [
|
|
4920
|
-
(i = (s = o.value) == null ? void 0 : s.map((u) =>
|
|
4921
|
-
|
|
4922
|
-
|
|
4920
|
+
(i = (s = o.value) == null ? void 0 : s.map((u) => qt(u))) != null ? i : [Ut].filter((u) => u != null),
|
|
4921
|
+
Je(ie(o.value ? e[1] : e[0])),
|
|
4922
|
+
Je(f(o.value ? e[2] : e[1])),
|
|
4923
4923
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
4924
4924
|
ie(o.value ? e[3] : e[2])
|
|
4925
4925
|
];
|
|
@@ -4940,11 +4940,11 @@ function dn(...e) {
|
|
|
4940
4940
|
), l = () => {
|
|
4941
4941
|
r(), n();
|
|
4942
4942
|
};
|
|
4943
|
-
return
|
|
4943
|
+
return $n(n), l;
|
|
4944
4944
|
}
|
|
4945
4945
|
// @__NO_SIDE_EFFECTS__
|
|
4946
4946
|
function nu() {
|
|
4947
|
-
const e =
|
|
4947
|
+
const e = Fe(!1), t = En();
|
|
4948
4948
|
return t && ue(() => {
|
|
4949
4949
|
e.value = !0;
|
|
4950
4950
|
}, t), e;
|
|
@@ -4955,12 +4955,12 @@ function au(e) {
|
|
|
4955
4955
|
return M(() => (t.value, !!e()));
|
|
4956
4956
|
}
|
|
4957
4957
|
function ou(e, t, n = {}) {
|
|
4958
|
-
const { window: a =
|
|
4958
|
+
const { window: a = Ut, ...o } = n;
|
|
4959
4959
|
let r;
|
|
4960
4960
|
const l = /* @__PURE__ */ au(() => a && "MutationObserver" in a), s = () => {
|
|
4961
4961
|
r && (r.disconnect(), r = void 0);
|
|
4962
4962
|
}, i = M(() => {
|
|
4963
|
-
const m = ie(e), b =
|
|
4963
|
+
const m = ie(e), b = Je(m).map(qt).filter(Rs);
|
|
4964
4964
|
return new Set(b);
|
|
4965
4965
|
}), u = oe(
|
|
4966
4966
|
i,
|
|
@@ -4971,19 +4971,19 @@ function ou(e, t, n = {}) {
|
|
|
4971
4971
|
), A = () => r == null ? void 0 : r.takeRecords(), d = () => {
|
|
4972
4972
|
u(), s();
|
|
4973
4973
|
};
|
|
4974
|
-
return
|
|
4974
|
+
return $n(d), {
|
|
4975
4975
|
isSupported: l,
|
|
4976
4976
|
stop: d,
|
|
4977
4977
|
takeRecords: A
|
|
4978
4978
|
};
|
|
4979
4979
|
}
|
|
4980
|
-
const
|
|
4980
|
+
const dn = 1;
|
|
4981
4981
|
function ru(e, t = {}) {
|
|
4982
4982
|
const {
|
|
4983
4983
|
throttle: n = 0,
|
|
4984
4984
|
idle: a = 200,
|
|
4985
|
-
onStop: o =
|
|
4986
|
-
onScroll: r =
|
|
4985
|
+
onStop: o = Se,
|
|
4986
|
+
onScroll: r = Se,
|
|
4987
4987
|
offset: l = {
|
|
4988
4988
|
left: 0,
|
|
4989
4989
|
right: 0,
|
|
@@ -4998,13 +4998,13 @@ function ru(e, t = {}) {
|
|
|
4998
4998
|
passive: !0
|
|
4999
4999
|
},
|
|
5000
5000
|
behavior: u = "auto",
|
|
5001
|
-
window: A =
|
|
5001
|
+
window: A = Ut,
|
|
5002
5002
|
onError: d = (q) => {
|
|
5003
5003
|
console.error(q);
|
|
5004
5004
|
}
|
|
5005
5005
|
} = t, m = typeof s == "boolean" ? {
|
|
5006
5006
|
mutation: s
|
|
5007
|
-
} : s, b =
|
|
5007
|
+
} : s, b = Fe(0), I = Fe(0), C = M({
|
|
5008
5008
|
get() {
|
|
5009
5009
|
return b.value;
|
|
5010
5010
|
},
|
|
@@ -5034,12 +5034,12 @@ function ru(e, t = {}) {
|
|
|
5034
5034
|
const W = ((E = L == null ? void 0 : L.document) == null ? void 0 : E.documentElement) || (L == null ? void 0 : L.documentElement) || L;
|
|
5035
5035
|
C != null && (b.value = W.scrollLeft), v != null && (I.value = W.scrollTop);
|
|
5036
5036
|
}
|
|
5037
|
-
const S =
|
|
5037
|
+
const S = Fe(!1), Q = Ct({
|
|
5038
5038
|
left: !0,
|
|
5039
5039
|
right: !1,
|
|
5040
5040
|
top: !0,
|
|
5041
5041
|
bottom: !1
|
|
5042
|
-
}), T =
|
|
5042
|
+
}), T = Ct({
|
|
5043
5043
|
left: !1,
|
|
5044
5044
|
right: !1,
|
|
5045
5045
|
top: !1,
|
|
@@ -5050,13 +5050,13 @@ function ru(e, t = {}) {
|
|
|
5050
5050
|
var $;
|
|
5051
5051
|
if (!A)
|
|
5052
5052
|
return;
|
|
5053
|
-
const y = (($ = q == null ? void 0 : q.document) == null ? void 0 : $.documentElement) || (q == null ? void 0 : q.documentElement) ||
|
|
5053
|
+
const y = (($ = q == null ? void 0 : q.document) == null ? void 0 : $.documentElement) || (q == null ? void 0 : q.documentElement) || qt(q), { display: N, flexDirection: g, direction: E } = getComputedStyle(y), L = E === "rtl" ? -1 : 1, W = y.scrollLeft;
|
|
5054
5054
|
T.left = W < b.value, T.right = W > b.value;
|
|
5055
|
-
const P = Math.abs(W * L) <= (l.left || 0), H = Math.abs(W * L) + y.clientWidth >= y.scrollWidth - (l.right || 0) -
|
|
5055
|
+
const P = Math.abs(W * L) <= (l.left || 0), H = Math.abs(W * L) + y.clientWidth >= y.scrollWidth - (l.right || 0) - dn;
|
|
5056
5056
|
N === "flex" && g === "row-reverse" ? (Q.left = H, Q.right = P) : (Q.left = P, Q.right = H), b.value = W;
|
|
5057
5057
|
let V = y.scrollTop;
|
|
5058
5058
|
q === A.document && !V && (V = A.document.body.scrollTop), T.top = V < I.value, T.bottom = V > I.value;
|
|
5059
|
-
const _ = Math.abs(V) <= (l.top || 0), ee = Math.abs(V) + y.clientHeight >= y.scrollHeight - (l.bottom || 0) -
|
|
5059
|
+
const _ = Math.abs(V) <= (l.top || 0), ee = Math.abs(V) + y.clientHeight >= y.scrollHeight - (l.bottom || 0) - dn;
|
|
5060
5060
|
N === "flex" && g === "column-reverse" ? (Q.top = ee, Q.bottom = _) : (Q.top = _, Q.bottom = ee), I.value = V;
|
|
5061
5061
|
}, J = (q) => {
|
|
5062
5062
|
var $;
|
|
@@ -5065,7 +5065,7 @@ function ru(e, t = {}) {
|
|
|
5065
5065
|
const y = ($ = q.target.documentElement) != null ? $ : q.target;
|
|
5066
5066
|
w(y), S.value = !0, O(q), r(q);
|
|
5067
5067
|
};
|
|
5068
|
-
return
|
|
5068
|
+
return cn(
|
|
5069
5069
|
e,
|
|
5070
5070
|
"scroll",
|
|
5071
5071
|
n ? /* @__PURE__ */ $s(J, n, !0, !1) : J,
|
|
@@ -5090,7 +5090,7 @@ function ru(e, t = {}) {
|
|
|
5090
5090
|
childList: !0,
|
|
5091
5091
|
subtree: !0
|
|
5092
5092
|
}
|
|
5093
|
-
),
|
|
5093
|
+
), cn(
|
|
5094
5094
|
e,
|
|
5095
5095
|
"scrollend",
|
|
5096
5096
|
z,
|
|
@@ -5107,24 +5107,24 @@ function ru(e, t = {}) {
|
|
|
5107
5107
|
}
|
|
5108
5108
|
};
|
|
5109
5109
|
}
|
|
5110
|
-
var lu = typeof global == "object" && global && global.Object === Object && global, iu = typeof self == "object" && self && self.Object === Object && self,
|
|
5110
|
+
var lu = typeof global == "object" && global && global.Object === Object && global, iu = typeof self == "object" && self && self.Object === Object && self, ta = lu || iu || Function("return this")(), at = ta.Symbol, na = Object.prototype, su = na.hasOwnProperty, uu = na.toString, Pe = at ? at.toStringTag : void 0;
|
|
5111
5111
|
function Au(e) {
|
|
5112
|
-
var t = su.call(e,
|
|
5112
|
+
var t = su.call(e, Pe), n = e[Pe];
|
|
5113
5113
|
try {
|
|
5114
|
-
e[
|
|
5114
|
+
e[Pe] = void 0;
|
|
5115
5115
|
var a = !0;
|
|
5116
5116
|
} catch {
|
|
5117
5117
|
}
|
|
5118
5118
|
var o = uu.call(e);
|
|
5119
|
-
return a && (t ? e[
|
|
5119
|
+
return a && (t ? e[Pe] = n : delete e[Pe]), o;
|
|
5120
5120
|
}
|
|
5121
5121
|
var cu = Object.prototype, du = cu.toString;
|
|
5122
5122
|
function fu(e) {
|
|
5123
5123
|
return du.call(e);
|
|
5124
5124
|
}
|
|
5125
|
-
var pu = "[object Null]", vu = "[object Undefined]",
|
|
5125
|
+
var pu = "[object Null]", vu = "[object Undefined]", fn = at ? at.toStringTag : void 0;
|
|
5126
5126
|
function gu(e) {
|
|
5127
|
-
return e == null ? e === void 0 ? vu : pu :
|
|
5127
|
+
return e == null ? e === void 0 ? vu : pu : fn && fn in Object(e) ? Au(e) : fu(e);
|
|
5128
5128
|
}
|
|
5129
5129
|
function bu(e) {
|
|
5130
5130
|
return e != null && typeof e == "object";
|
|
@@ -5143,34 +5143,34 @@ var Cu = /^\s+/;
|
|
|
5143
5143
|
function Eu(e) {
|
|
5144
5144
|
return e && e.slice(0, yu(e) + 1).replace(Cu, "");
|
|
5145
5145
|
}
|
|
5146
|
-
function
|
|
5146
|
+
function Lt(e) {
|
|
5147
5147
|
var t = typeof e;
|
|
5148
5148
|
return e != null && (t == "object" || t == "function");
|
|
5149
5149
|
}
|
|
5150
|
-
var
|
|
5151
|
-
function
|
|
5150
|
+
var pn = NaN, Mu = /^[-+]0x[0-9a-f]+$/i, Nu = /^0b[01]+$/i, Tu = /^0o[0-7]+$/i, ku = parseInt;
|
|
5151
|
+
function vn(e) {
|
|
5152
5152
|
if (typeof e == "number")
|
|
5153
5153
|
return e;
|
|
5154
5154
|
if (Iu(e))
|
|
5155
|
-
return
|
|
5156
|
-
if (
|
|
5155
|
+
return pn;
|
|
5156
|
+
if (Lt(e)) {
|
|
5157
5157
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
5158
|
-
e =
|
|
5158
|
+
e = Lt(t) ? t + "" : t;
|
|
5159
5159
|
}
|
|
5160
5160
|
if (typeof e != "string")
|
|
5161
5161
|
return e === 0 ? e : +e;
|
|
5162
5162
|
e = Eu(e);
|
|
5163
5163
|
var n = Nu.test(e);
|
|
5164
|
-
return n || Tu.test(e) ? ku(e.slice(2), n ? 2 : 8) : Mu.test(e) ?
|
|
5164
|
+
return n || Tu.test(e) ? ku(e.slice(2), n ? 2 : 8) : Mu.test(e) ? pn : +e;
|
|
5165
5165
|
}
|
|
5166
|
-
var
|
|
5167
|
-
return
|
|
5166
|
+
var ht = function() {
|
|
5167
|
+
return ta.Date.now();
|
|
5168
5168
|
}, Qu = "Expected a function", Lu = Math.max, Ou = Math.min;
|
|
5169
|
-
function
|
|
5169
|
+
function aa(e, t, n) {
|
|
5170
5170
|
var a, o, r, l, s, i, u = 0, A = !1, d = !1, m = !0;
|
|
5171
5171
|
if (typeof e != "function")
|
|
5172
5172
|
throw new TypeError(Qu);
|
|
5173
|
-
t =
|
|
5173
|
+
t = vn(t) || 0, Lt(n) && (A = !!n.leading, d = "maxWait" in n, r = d ? Lu(vn(n.maxWait) || 0, t) : r, m = "trailing" in n ? !!n.trailing : m);
|
|
5174
5174
|
function b(O) {
|
|
5175
5175
|
var w = a, J = o;
|
|
5176
5176
|
return a = o = void 0, u = O, l = e.apply(J, w), l;
|
|
@@ -5187,7 +5187,7 @@ function oa(e, t, n) {
|
|
|
5187
5187
|
return i === void 0 || w >= t || w < 0 || d && J >= r;
|
|
5188
5188
|
}
|
|
5189
5189
|
function k() {
|
|
5190
|
-
var O =
|
|
5190
|
+
var O = ht();
|
|
5191
5191
|
if (v(O))
|
|
5192
5192
|
return S(O);
|
|
5193
5193
|
s = setTimeout(k, C(O));
|
|
@@ -5199,10 +5199,10 @@ function oa(e, t, n) {
|
|
|
5199
5199
|
s !== void 0 && clearTimeout(s), u = 0, a = i = o = s = void 0;
|
|
5200
5200
|
}
|
|
5201
5201
|
function T() {
|
|
5202
|
-
return s === void 0 ? l : S(
|
|
5202
|
+
return s === void 0 ? l : S(ht());
|
|
5203
5203
|
}
|
|
5204
5204
|
function z() {
|
|
5205
|
-
var O =
|
|
5205
|
+
var O = ht(), w = v(O);
|
|
5206
5206
|
if (a = arguments, o = this, i = O, w) {
|
|
5207
5207
|
if (s === void 0)
|
|
5208
5208
|
return I(i);
|
|
@@ -5233,7 +5233,7 @@ const Su = {
|
|
|
5233
5233
|
props: i,
|
|
5234
5234
|
getOptionId: u,
|
|
5235
5235
|
getDisplayLabel: A
|
|
5236
|
-
} =
|
|
5236
|
+
} = Vt(), d = X(), m = X(), b = M(() => {
|
|
5237
5237
|
if (!i.options)
|
|
5238
5238
|
return [];
|
|
5239
5239
|
if (i.serverSideFiltering)
|
|
@@ -5245,7 +5245,7 @@ const Su = {
|
|
|
5245
5245
|
}
|
|
5246
5246
|
let T;
|
|
5247
5247
|
return i.filterOptions ? T = i.filterOptions(i.options, Q) : T = i.options.filter((z) => A(z).toLowerCase().includes(Q)), i.maxResults ? T.slice(0, i.maxResults) : T;
|
|
5248
|
-
}), I = M(() => i.loading ?
|
|
5248
|
+
}), I = M(() => i.loading ? Le.LOADING : s.value && i.options && i.options.length > 0 && b.value.length > 0 ? Le.HAS_OPTIONS : Le.NO_OPTIONS);
|
|
5249
5249
|
function C(Q) {
|
|
5250
5250
|
return r.value.some(
|
|
5251
5251
|
(T) => u(T) === u(Q)
|
|
@@ -5265,7 +5265,7 @@ const Su = {
|
|
|
5265
5265
|
}
|
|
5266
5266
|
const { arrivedState: k } = ru(m, {
|
|
5267
5267
|
throttle: 100
|
|
5268
|
-
}), S =
|
|
5268
|
+
}), S = aa(() => {
|
|
5269
5269
|
a("loadMore");
|
|
5270
5270
|
}, i.loadMoreThrottleDelay);
|
|
5271
5271
|
return oe(() => k.bottom, (Q) => {
|
|
@@ -5278,19 +5278,19 @@ const Su = {
|
|
|
5278
5278
|
key: 0,
|
|
5279
5279
|
ref_key: "dropdownRef",
|
|
5280
5280
|
ref: d,
|
|
5281
|
-
class:
|
|
5281
|
+
class: Z(["av-autocomplete-dropdown", f(i).dropdownClass]),
|
|
5282
5282
|
style: be({ width: f(i).dropdownWidth, maxHeight: f(i).maxDropdownHeight })
|
|
5283
5283
|
}, [
|
|
5284
|
-
f(I) === f(
|
|
5284
|
+
f(I) === f(Le).LOADING ? (c(), p("div", Su, [
|
|
5285
5285
|
R(se, {
|
|
5286
5286
|
name: f(ne).LOADING_OUTLINE,
|
|
5287
5287
|
size: 1.5,
|
|
5288
5288
|
class: "av-autocomplete-dropdown__spinner"
|
|
5289
5289
|
}, null, 8, ["name"]),
|
|
5290
5290
|
T[0] || (T[0] = h("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
5291
|
-
])) : f(I) === f(
|
|
5291
|
+
])) : f(I) === f(Le).NO_OPTIONS ? (c(), p("div", Du, [
|
|
5292
5292
|
o.empty ? B(Q.$slots, "empty", { key: 0 }, void 0, !0) : (c(), p("div", wu, " No results found "))
|
|
5293
|
-
])) : (c(), U(
|
|
5293
|
+
])) : (c(), U(Yn, Y({
|
|
5294
5294
|
key: 2,
|
|
5295
5295
|
ref_key: "listRef",
|
|
5296
5296
|
ref: m
|
|
@@ -5306,7 +5306,7 @@ const Su = {
|
|
|
5306
5306
|
option: z,
|
|
5307
5307
|
isSelected: C(z),
|
|
5308
5308
|
toggle: () => v(z)
|
|
5309
|
-
}, void 0, !0) : (c(), U(
|
|
5309
|
+
}, void 0, !0) : (c(), U(Gn, {
|
|
5310
5310
|
key: 1,
|
|
5311
5311
|
title: f(A)(z),
|
|
5312
5312
|
icon: C(z) ? f(ne).CHECK : void 0,
|
|
@@ -5322,7 +5322,7 @@ const Su = {
|
|
|
5322
5322
|
}, 16, ["class"]))
|
|
5323
5323
|
], 6)) : D("", !0);
|
|
5324
5324
|
}
|
|
5325
|
-
}), Bu = /* @__PURE__ */ G(zu, [["__scopeId", "data-v-
|
|
5325
|
+
}), Bu = /* @__PURE__ */ G(zu, [["__scopeId", "data-v-b59b9163"]]), ju = { class: "av-autocomplete-input" }, Pu = {
|
|
5326
5326
|
key: 0,
|
|
5327
5327
|
class: "av-autocomplete-input__suffix"
|
|
5328
5328
|
}, xu = /* @__PURE__ */ j({
|
|
@@ -5337,10 +5337,10 @@ const Su = {
|
|
|
5337
5337
|
inputId: u,
|
|
5338
5338
|
handleBlur: A,
|
|
5339
5339
|
getDisplayLabel: d
|
|
5340
|
-
} =
|
|
5340
|
+
} = Vt(), m = X(), b = M(() => !i.multiSelect && r.value.length > 0 ? d(r.value[0]) : i.multiSelect && r.value.length > 0 ? i.showSelectedSection ? `${r.value.length} element(s) selected` : r.value.map(d).join(", ") : l.value), I = M(() => {
|
|
5341
5341
|
var Q;
|
|
5342
5342
|
return ((Q = i.inputOptions) == null ? void 0 : Q.placeholder) || "Search...";
|
|
5343
|
-
}), C =
|
|
5343
|
+
}), C = aa((Q) => {
|
|
5344
5344
|
l.value = Q, a("search", Q);
|
|
5345
5345
|
}, i.debounceDelay);
|
|
5346
5346
|
function v(Q) {
|
|
@@ -5369,7 +5369,7 @@ const Su = {
|
|
|
5369
5369
|
onFocus: k,
|
|
5370
5370
|
onBlur: f(A),
|
|
5371
5371
|
onClick: k
|
|
5372
|
-
}),
|
|
5372
|
+
}), We({ _: 2 }, [
|
|
5373
5373
|
o.requiredTip ? {
|
|
5374
5374
|
name: "requiredTip",
|
|
5375
5375
|
fn: F(() => [
|
|
@@ -5379,7 +5379,7 @@ const Su = {
|
|
|
5379
5379
|
} : void 0
|
|
5380
5380
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
5381
5381
|
f(r).length > 0 ? (c(), p("div", Pu, [
|
|
5382
|
-
R(
|
|
5382
|
+
R(Ne, {
|
|
5383
5383
|
label: "Clear selected items",
|
|
5384
5384
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
5385
5385
|
"icon-only": "",
|
|
@@ -5392,7 +5392,7 @@ const Su = {
|
|
|
5392
5392
|
])) : D("", !0)
|
|
5393
5393
|
]));
|
|
5394
5394
|
}
|
|
5395
|
-
}), Wu = /* @__PURE__ */ G(xu, [["__scopeId", "data-v-
|
|
5395
|
+
}), Wu = /* @__PURE__ */ G(xu, [["__scopeId", "data-v-24fd377c"]]), Vu = {
|
|
5396
5396
|
key: 0,
|
|
5397
5397
|
class: "av-autocomplete-selected-tags"
|
|
5398
5398
|
}, Uu = /* @__PURE__ */ j({
|
|
@@ -5403,7 +5403,7 @@ const Su = {
|
|
|
5403
5403
|
props: a,
|
|
5404
5404
|
getOptionId: o,
|
|
5405
5405
|
getDisplayLabel: r
|
|
5406
|
-
} =
|
|
5406
|
+
} = Vt();
|
|
5407
5407
|
function l(s) {
|
|
5408
5408
|
const i = n.value, u = o(s);
|
|
5409
5409
|
n.value = i.filter(
|
|
@@ -5419,7 +5419,7 @@ const Su = {
|
|
|
5419
5419
|
key: 0,
|
|
5420
5420
|
option: u,
|
|
5421
5421
|
remove: () => l(u)
|
|
5422
|
-
}, void 0, !0) : (c(), U(
|
|
5422
|
+
}, void 0, !0) : (c(), U(Ne, {
|
|
5423
5423
|
key: 1,
|
|
5424
5424
|
label: f(r)(u),
|
|
5425
5425
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -5464,7 +5464,7 @@ const Su = {
|
|
|
5464
5464
|
}),
|
|
5465
5465
|
emits: /* @__PURE__ */ me(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
5466
5466
|
setup(e, { emit: t }) {
|
|
5467
|
-
const n = e, a = t, o = fe(), r =
|
|
5467
|
+
const n = e, a = t, o = fe(), r = qe(e, "modelValue"), l = X(!1), s = X(""), i = X(), u = X(), A = X(), d = M(() => n.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
5468
5468
|
function m(S) {
|
|
5469
5469
|
s.value = S, a("search", S);
|
|
5470
5470
|
}
|
|
@@ -5480,7 +5480,7 @@ const Su = {
|
|
|
5480
5480
|
function C(S) {
|
|
5481
5481
|
return n.getOptionLabel ? n.getOptionLabel(S) : S.label;
|
|
5482
5482
|
}
|
|
5483
|
-
|
|
5483
|
+
ut(_n, {
|
|
5484
5484
|
selectedItems: r,
|
|
5485
5485
|
searchQuery: s,
|
|
5486
5486
|
isOpen: l,
|
|
@@ -5510,7 +5510,7 @@ const Su = {
|
|
|
5510
5510
|
ref: u,
|
|
5511
5511
|
onSearch: m,
|
|
5512
5512
|
onClear: Q[0] || (Q[0] = (T) => a("clear"))
|
|
5513
|
-
},
|
|
5513
|
+
}, We({ _: 2 }, [
|
|
5514
5514
|
o.requiredTip ? {
|
|
5515
5515
|
name: "requiredTip",
|
|
5516
5516
|
fn: F(() => [
|
|
@@ -5523,7 +5523,7 @@ const Su = {
|
|
|
5523
5523
|
ref_key: "dropdownRef",
|
|
5524
5524
|
ref: A,
|
|
5525
5525
|
onLoadMore: Q[1] || (Q[1] = (T) => a("loadMore"))
|
|
5526
|
-
},
|
|
5526
|
+
}, We({ _: 2 }, [
|
|
5527
5527
|
o.item ? {
|
|
5528
5528
|
name: "item",
|
|
5529
5529
|
fn: F(({ option: T, isSelected: z, toggle: O }) => [
|
|
@@ -5544,7 +5544,7 @@ const Su = {
|
|
|
5544
5544
|
} : void 0
|
|
5545
5545
|
]), 1536)
|
|
5546
5546
|
], 512),
|
|
5547
|
-
R(qu, null,
|
|
5547
|
+
R(qu, null, We({ _: 2 }, [
|
|
5548
5548
|
o.selectedItem ? {
|
|
5549
5549
|
name: "selectedItem",
|
|
5550
5550
|
fn: F(({ option: T, remove: z }) => [
|
|
@@ -5558,7 +5558,7 @@ const Su = {
|
|
|
5558
5558
|
]), 1024)
|
|
5559
5559
|
]));
|
|
5560
5560
|
}
|
|
5561
|
-
}), Kc = /* @__PURE__ */ G(Xu, [["__scopeId", "data-v-
|
|
5561
|
+
}), Kc = /* @__PURE__ */ G(Xu, [["__scopeId", "data-v-fd810890"]]), Yc = {
|
|
5562
5562
|
name: "AvSelect",
|
|
5563
5563
|
props: {
|
|
5564
5564
|
modelValue: [String, Number],
|
|
@@ -5582,7 +5582,7 @@ const Su = {
|
|
|
5582
5582
|
</option>
|
|
5583
5583
|
</select>
|
|
5584
5584
|
`
|
|
5585
|
-
},
|
|
5585
|
+
}, Zu = /* @__PURE__ */ j({
|
|
5586
5586
|
__name: "AvSelect",
|
|
5587
5587
|
props: {
|
|
5588
5588
|
required: { type: Boolean },
|
|
@@ -5608,7 +5608,7 @@ const Su = {
|
|
|
5608
5608
|
return r ? r.text : n.defaultUnselectedText;
|
|
5609
5609
|
});
|
|
5610
5610
|
return (r, l) => (c(), p("div", {
|
|
5611
|
-
class:
|
|
5611
|
+
class: Z({ "fr-select--dense": n.dense })
|
|
5612
5612
|
}, [
|
|
5613
5613
|
R(f(Hl), Y(n, {
|
|
5614
5614
|
title: f(o),
|
|
@@ -5616,7 +5616,7 @@ const Su = {
|
|
|
5616
5616
|
}), null, 16, ["title"])
|
|
5617
5617
|
], 2));
|
|
5618
5618
|
}
|
|
5619
|
-
}), Gc = /* @__PURE__ */ G(
|
|
5619
|
+
}), Gc = /* @__PURE__ */ G(Zu, [["__scopeId", "data-v-e4b98fc1"]]), Jc = /* @__PURE__ */ j({
|
|
5620
5620
|
__name: "AvTab",
|
|
5621
5621
|
props: {
|
|
5622
5622
|
title: {},
|
|
@@ -5625,7 +5625,7 @@ const Su = {
|
|
|
5625
5625
|
setup(e) {
|
|
5626
5626
|
return (t, n) => B(t.$slots, "default");
|
|
5627
5627
|
}
|
|
5628
|
-
}),
|
|
5628
|
+
}), Ru = /* @__PURE__ */ j({
|
|
5629
5629
|
__name: "AvTabs",
|
|
5630
5630
|
props: {
|
|
5631
5631
|
ariaLabel: {},
|
|
@@ -5633,7 +5633,7 @@ const Su = {
|
|
|
5633
5633
|
},
|
|
5634
5634
|
emits: ["update:modelValue"],
|
|
5635
5635
|
setup(e, { expose: t, emit: n }) {
|
|
5636
|
-
const a = n, o = fe(), r =
|
|
5636
|
+
const a = n, o = fe(), r = X(e.modelValue), l = M(() => {
|
|
5637
5637
|
var m;
|
|
5638
5638
|
return ((m = o.default) == null ? void 0 : m.call(o)) || [];
|
|
5639
5639
|
});
|
|
@@ -5658,10 +5658,10 @@ const Su = {
|
|
|
5658
5658
|
}), oe(r, (m) => {
|
|
5659
5659
|
a("update:modelValue", m);
|
|
5660
5660
|
}), t({ activeTab: r }), (m, b) => {
|
|
5661
|
-
const I =
|
|
5661
|
+
const I = Kn, C = Fn, v = Gl;
|
|
5662
5662
|
return c(), U(v, {
|
|
5663
5663
|
modelValue: f(r),
|
|
5664
|
-
"onUpdate:modelValue": b[0] || (b[0] = (k) =>
|
|
5664
|
+
"onUpdate:modelValue": b[0] || (b[0] = (k) => wt(r) ? r.value = k : null),
|
|
5665
5665
|
"tab-list-name": m.ariaLabel ?? "Liste d’onglets",
|
|
5666
5666
|
"tab-titles": []
|
|
5667
5667
|
}, {
|
|
@@ -5705,7 +5705,7 @@ const Su = {
|
|
|
5705
5705
|
}, 8, ["modelValue", "tab-list-name"]);
|
|
5706
5706
|
};
|
|
5707
5707
|
}
|
|
5708
|
-
}), _c = /* @__PURE__ */ G(
|
|
5708
|
+
}), _c = /* @__PURE__ */ G(Ru, [["__scopeId", "data-v-88c9aaaa"]]), Fu = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", Ku = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", Yu = ["id", "for"], Gu = {
|
|
5709
5709
|
width: "34",
|
|
5710
5710
|
height: "14"
|
|
5711
5711
|
}, Ju = ["href"], _u = {
|
|
@@ -5732,12 +5732,12 @@ const Su = {
|
|
|
5732
5732
|
h("label", {
|
|
5733
5733
|
id: f(a),
|
|
5734
5734
|
for: f(n),
|
|
5735
|
-
class:
|
|
5735
|
+
class: Z(["av-toggle", {
|
|
5736
5736
|
"av-toggle--disabled": o.disabled
|
|
5737
5737
|
}])
|
|
5738
5738
|
}, [
|
|
5739
5739
|
h("div", {
|
|
5740
|
-
class:
|
|
5740
|
+
class: Z(["toggle", {
|
|
5741
5741
|
"toggle--disabled": o.disabled
|
|
5742
5742
|
}])
|
|
5743
5743
|
}, [
|
|
@@ -5779,7 +5779,7 @@ const Su = {
|
|
|
5779
5779
|
return (n, a) => {
|
|
5780
5780
|
const o = fl;
|
|
5781
5781
|
return c(), p("div", aA, [
|
|
5782
|
-
R(o,
|
|
5782
|
+
R(o, ct(Ca(t)), null, 16)
|
|
5783
5783
|
]);
|
|
5784
5784
|
};
|
|
5785
5785
|
}
|
|
@@ -5935,7 +5935,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5935
5935
|
"4d5b7c17": f(i),
|
|
5936
5936
|
"4a813d87": A.padding
|
|
5937
5937
|
}));
|
|
5938
|
-
const t = e, n =
|
|
5938
|
+
const t = e, n = qe(e, "collapsed"), { width: a, collapsedWidth: o } = Mn(t), r = M(() => t.id ?? crypto.randomUUID()), l = M(() => `${r.value} navigation`), s = M({
|
|
5939
5939
|
get: () => t.collapsible ? n.value : !1,
|
|
5940
5940
|
set: (A) => {
|
|
5941
5941
|
t.collapsible && (n.value = A);
|
|
@@ -5946,11 +5946,11 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5946
5946
|
}
|
|
5947
5947
|
return (A, d) => (c(), p("nav", {
|
|
5948
5948
|
id: f(r),
|
|
5949
|
-
class:
|
|
5949
|
+
class: Z(["av-side-menu", { "av-side-menu--collapsed": f(s) }]),
|
|
5950
5950
|
"aria-label": f(l)
|
|
5951
5951
|
}, [
|
|
5952
5952
|
t.collapsible ? (c(), p("div", CA, [
|
|
5953
|
-
R(
|
|
5953
|
+
R(Ne, {
|
|
5954
5954
|
"aria-expanded": !f(s),
|
|
5955
5955
|
"aria-controls": f(r),
|
|
5956
5956
|
icon: f(s) ? f(ne).CHEVRON_DOUBLE_RIGHT : f(ne).CHEVRON_DOUBLE_LEFT,
|
|
@@ -5993,7 +5993,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5993
5993
|
}),
|
|
5994
5994
|
emits: /* @__PURE__ */ me(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
5995
5995
|
setup(e) {
|
|
5996
|
-
const t =
|
|
5996
|
+
const t = qe(e, "selectedItem"), n = qe(e, "isSideMenuCollapsed");
|
|
5997
5997
|
function a(o) {
|
|
5998
5998
|
t.value = o;
|
|
5999
5999
|
}
|
|
@@ -6004,27 +6004,26 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6004
6004
|
color: o.selectedItemColor
|
|
6005
6005
|
}, {
|
|
6006
6006
|
default: F(() => [
|
|
6007
|
-
R(f(
|
|
6007
|
+
R(f(Yn), {
|
|
6008
6008
|
size: "small",
|
|
6009
6009
|
role: "menu"
|
|
6010
6010
|
}, {
|
|
6011
6011
|
default: F(() => [
|
|
6012
|
-
(c(!0), p(K, null, te(o.items, (l) => (c(), U(f(
|
|
6012
|
+
(c(!0), p(K, null, te(o.items, (l) => (c(), U(f(Gn), {
|
|
6013
6013
|
key: l.id,
|
|
6014
6014
|
title: n.value ? void 0 : l.label,
|
|
6015
6015
|
icon: l.icon,
|
|
6016
6016
|
"icon-size": 1.8,
|
|
6017
6017
|
selected: t.value === l.id,
|
|
6018
6018
|
"hover-background-color": o.selectedItemColor,
|
|
6019
|
-
"color-on-hover": o.selectedItemColor,
|
|
6020
6019
|
tag: "button",
|
|
6021
6020
|
role: "menuitem",
|
|
6022
|
-
class:
|
|
6021
|
+
class: Z(["av-side-navigation__menu-item", {
|
|
6023
6022
|
"av-side-navigation__menu-item--collapsed": n.value
|
|
6024
6023
|
}]),
|
|
6025
6024
|
clickable: "",
|
|
6026
6025
|
onClick: (s) => a(l.id)
|
|
6027
|
-
}, null, 8, ["title", "icon", "selected", "hover-background-color", "
|
|
6026
|
+
}, null, 8, ["title", "icon", "selected", "hover-background-color", "class", "onClick"]))), 128))
|
|
6028
6027
|
]),
|
|
6029
6028
|
_: 1
|
|
6030
6029
|
})
|
|
@@ -6032,7 +6031,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6032
6031
|
_: 1
|
|
6033
6032
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
6034
6033
|
}
|
|
6035
|
-
}), od = /* @__PURE__ */ G(TA, [["__scopeId", "data-v-
|
|
6034
|
+
}), od = /* @__PURE__ */ G(TA, [["__scopeId", "data-v-3c5a1abd"]]), rd = {
|
|
6036
6035
|
name: "AvStepper",
|
|
6037
6036
|
props: {
|
|
6038
6037
|
steps: {
|
|
@@ -6076,10 +6075,10 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6076
6075
|
class: "steps-container"
|
|
6077
6076
|
}, [
|
|
6078
6077
|
h("div", {
|
|
6079
|
-
class:
|
|
6078
|
+
class: Z(["separator", { "separator--active": o + 1 <= t.currentStep }])
|
|
6080
6079
|
}, null, 2),
|
|
6081
6080
|
h("div", {
|
|
6082
|
-
class:
|
|
6081
|
+
class: Z(["step", { "step--active": o + 1 <= t.currentStep }]),
|
|
6083
6082
|
"aria-current": o + 1 === t.currentStep ? "step" : void 0
|
|
6084
6083
|
}, [
|
|
6085
6084
|
h("span", OA, x(o + 2), 1)
|
|
@@ -6092,7 +6091,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6092
6091
|
class: "label-container"
|
|
6093
6092
|
}, [
|
|
6094
6093
|
h("span", {
|
|
6095
|
-
class:
|
|
6094
|
+
class: Z(["label", {
|
|
6096
6095
|
"b1-bold": o <= t.currentStep,
|
|
6097
6096
|
"b1-light": o > t.currentStep
|
|
6098
6097
|
}])
|
|
@@ -6128,15 +6127,15 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6128
6127
|
b9426bca: f(l),
|
|
6129
6128
|
"7249d1b4": f(s)
|
|
6130
6129
|
}));
|
|
6131
|
-
const n = e, a = t, o = fe(), { position: r, width: l, padding: s } =
|
|
6130
|
+
const n = e, a = t, o = fe(), { position: r, width: l, padding: s } = Mn(n);
|
|
6132
6131
|
return (i, u) => i.show ? (c(), p("div", wA, [
|
|
6133
6132
|
i.backdrop ? (c(), p("div", zA)) : D("", !0),
|
|
6134
6133
|
h("div", {
|
|
6135
|
-
class:
|
|
6134
|
+
class: Z(["av-drawer", `av-drawer--${f(r)}`]),
|
|
6136
6135
|
role: "dialog",
|
|
6137
6136
|
"aria-modal": "true",
|
|
6138
6137
|
"aria-label": i.ariaLabel,
|
|
6139
|
-
onKeydown: u[0] || (u[0] =
|
|
6138
|
+
onKeydown: u[0] || (u[0] = st((A) => a("escapePressed"), ["esc"]))
|
|
6140
6139
|
}, [
|
|
6141
6140
|
h("div", jA, [
|
|
6142
6141
|
h("div", PA, [
|
|
@@ -6167,13 +6166,13 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6167
6166
|
},
|
|
6168
6167
|
emits: ["close"],
|
|
6169
6168
|
setup(e, { emit: t }) {
|
|
6170
|
-
const n =
|
|
6169
|
+
const n = Cn(e, ["isLoading"]), a = t, o = fe(), r = M(() => n.closeButtonVariant ?? "DEFAULT");
|
|
6171
6170
|
return (l, s) => {
|
|
6172
6171
|
const i = Vr;
|
|
6173
|
-
return c(), U(
|
|
6172
|
+
return c(), U(Nn, { to: "body" }, [
|
|
6174
6173
|
R(i, Y(n, {
|
|
6175
6174
|
title: "",
|
|
6176
|
-
onKeydown: s[1] || (s[1] =
|
|
6175
|
+
onKeydown: s[1] || (s[1] = st((u) => a("close"), ["esc"]))
|
|
6177
6176
|
}), {
|
|
6178
6177
|
default: F(() => [
|
|
6179
6178
|
o.header ? (c(), p("div", VA, [
|
|
@@ -6183,7 +6182,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6183
6182
|
]),
|
|
6184
6183
|
footer: F(() => [
|
|
6185
6184
|
h("div", UA, [
|
|
6186
|
-
R(f(
|
|
6185
|
+
R(f(Ne), {
|
|
6187
6186
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
6188
6187
|
label: n.closeButtonLabel,
|
|
6189
6188
|
title: n.closeButtonLabel,
|
|
@@ -6202,9 +6201,9 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6202
6201
|
}
|
|
6203
6202
|
}), ud = /* @__PURE__ */ G(qA, [["__scopeId", "data-v-3153ca6f"]]);
|
|
6204
6203
|
function HA(e, t) {
|
|
6205
|
-
const n =
|
|
6204
|
+
const n = X(!1), a = X({ top: 0, left: 0 }), o = async () => {
|
|
6206
6205
|
if (n.value = !n.value, n.value && e.value) {
|
|
6207
|
-
await
|
|
6206
|
+
await De();
|
|
6208
6207
|
const s = e.value.getBoundingClientRect(), i = s.bottom + window.scrollY + 4;
|
|
6209
6208
|
let u = s.left + window.scrollX;
|
|
6210
6209
|
if (t.value) {
|
|
@@ -6233,13 +6232,13 @@ function HA(e, t) {
|
|
|
6233
6232
|
* tabbable 6.2.0
|
|
6234
6233
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
6235
6234
|
*/
|
|
6236
|
-
var
|
|
6237
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
6235
|
+
var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], ot = /* @__PURE__ */ oa.join(","), ra = typeof Element > "u", Me = ra ? function() {
|
|
6236
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, rt = !ra && Element.prototype.getRootNode ? function(e) {
|
|
6238
6237
|
var t;
|
|
6239
6238
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
6240
6239
|
} : function(e) {
|
|
6241
6240
|
return e == null ? void 0 : e.ownerDocument;
|
|
6242
|
-
},
|
|
6241
|
+
}, lt = function e(t, n) {
|
|
6243
6242
|
var a;
|
|
6244
6243
|
n === void 0 && (n = !0);
|
|
6245
6244
|
var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = o === "" || o === "true", l = r || n && t && e(t.parentNode);
|
|
@@ -6247,15 +6246,15 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6247
6246
|
}, XA = function(t) {
|
|
6248
6247
|
var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
6249
6248
|
return a === "" || a === "true";
|
|
6250
|
-
},
|
|
6251
|
-
if (
|
|
6249
|
+
}, la = function(t, n, a) {
|
|
6250
|
+
if (lt(t))
|
|
6252
6251
|
return [];
|
|
6253
|
-
var o = Array.prototype.slice.apply(t.querySelectorAll(
|
|
6254
|
-
return n &&
|
|
6255
|
-
},
|
|
6252
|
+
var o = Array.prototype.slice.apply(t.querySelectorAll(ot));
|
|
6253
|
+
return n && Me.call(t, ot) && o.unshift(t), o = o.filter(a), o;
|
|
6254
|
+
}, ia = function e(t, n, a) {
|
|
6256
6255
|
for (var o = [], r = Array.from(t); r.length; ) {
|
|
6257
6256
|
var l = r.shift();
|
|
6258
|
-
if (!
|
|
6257
|
+
if (!lt(l, !1))
|
|
6259
6258
|
if (l.tagName === "SLOT") {
|
|
6260
6259
|
var s = l.assignedElements(), i = s.length ? s : l.children, u = e(i, !0, a);
|
|
6261
6260
|
a.flatten ? o.push.apply(o, u) : o.push({
|
|
@@ -6263,10 +6262,10 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6263
6262
|
candidates: u
|
|
6264
6263
|
});
|
|
6265
6264
|
} else {
|
|
6266
|
-
var A =
|
|
6265
|
+
var A = Me.call(l, ot);
|
|
6267
6266
|
A && a.filter(l) && (n || !t.includes(l)) && o.push(l);
|
|
6268
6267
|
var d = l.shadowRoot || // check for an undisclosed shadow
|
|
6269
|
-
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), m = !
|
|
6268
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), m = !lt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
6270
6269
|
if (d && m) {
|
|
6271
6270
|
var b = e(d === !0 ? l.children : d.children, !0, a);
|
|
6272
6271
|
a.flatten ? o.push.apply(o, b) : o.push({
|
|
@@ -6278,21 +6277,21 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6278
6277
|
}
|
|
6279
6278
|
}
|
|
6280
6279
|
return o;
|
|
6281
|
-
},
|
|
6280
|
+
}, sa = function(t) {
|
|
6282
6281
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
6283
6282
|
}, Ce = function(t) {
|
|
6284
6283
|
if (!t)
|
|
6285
6284
|
throw new Error("No node provided");
|
|
6286
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || XA(t)) && !
|
|
6287
|
-
}, RA = function(t, n) {
|
|
6288
|
-
var a = Ce(t);
|
|
6289
|
-
return a < 0 && n && !ua(t) ? 0 : a;
|
|
6285
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || XA(t)) && !sa(t) ? 0 : t.tabIndex;
|
|
6290
6286
|
}, ZA = function(t, n) {
|
|
6287
|
+
var a = Ce(t);
|
|
6288
|
+
return a < 0 && n && !sa(t) ? 0 : a;
|
|
6289
|
+
}, RA = function(t, n) {
|
|
6291
6290
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
6292
|
-
},
|
|
6291
|
+
}, ua = function(t) {
|
|
6293
6292
|
return t.tagName === "INPUT";
|
|
6294
6293
|
}, FA = function(t) {
|
|
6295
|
-
return
|
|
6294
|
+
return ua(t) && t.type === "hidden";
|
|
6296
6295
|
}, KA = function(t) {
|
|
6297
6296
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
|
|
6298
6297
|
return a.tagName === "SUMMARY";
|
|
@@ -6305,7 +6304,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6305
6304
|
}, GA = function(t) {
|
|
6306
6305
|
if (!t.name)
|
|
6307
6306
|
return !0;
|
|
6308
|
-
var n = t.form ||
|
|
6307
|
+
var n = t.form || rt(t), a = function(s) {
|
|
6309
6308
|
return n.querySelectorAll('input[type="radio"][name="' + s + '"]');
|
|
6310
6309
|
}, o;
|
|
6311
6310
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -6319,35 +6318,35 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6319
6318
|
var r = YA(o, t.form);
|
|
6320
6319
|
return !r || r === t;
|
|
6321
6320
|
}, JA = function(t) {
|
|
6322
|
-
return
|
|
6321
|
+
return ua(t) && t.type === "radio";
|
|
6323
6322
|
}, _A = function(t) {
|
|
6324
6323
|
return JA(t) && !GA(t);
|
|
6325
6324
|
}, $A = function(t) {
|
|
6326
|
-
var n, a = t &&
|
|
6325
|
+
var n, a = t && rt(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
|
|
6327
6326
|
if (a && a !== t) {
|
|
6328
6327
|
var l, s, i;
|
|
6329
6328
|
for (r = !!((l = o) !== null && l !== void 0 && (s = l.ownerDocument) !== null && s !== void 0 && s.contains(o) || t != null && (i = t.ownerDocument) !== null && i !== void 0 && i.contains(t)); !r && o; ) {
|
|
6330
6329
|
var u, A, d;
|
|
6331
|
-
a =
|
|
6330
|
+
a = rt(o), o = (u = a) === null || u === void 0 ? void 0 : u.host, r = !!((A = o) !== null && A !== void 0 && (d = A.ownerDocument) !== null && d !== void 0 && d.contains(o));
|
|
6332
6331
|
}
|
|
6333
6332
|
}
|
|
6334
6333
|
return r;
|
|
6335
|
-
},
|
|
6334
|
+
}, gn = function(t) {
|
|
6336
6335
|
var n = t.getBoundingClientRect(), a = n.width, o = n.height;
|
|
6337
6336
|
return a === 0 && o === 0;
|
|
6338
6337
|
}, ec = function(t, n) {
|
|
6339
6338
|
var a = n.displayCheck, o = n.getShadowRoot;
|
|
6340
6339
|
if (getComputedStyle(t).visibility === "hidden")
|
|
6341
6340
|
return !0;
|
|
6342
|
-
var r =
|
|
6343
|
-
if (
|
|
6341
|
+
var r = Me.call(t, "details>summary:first-of-type"), l = r ? t.parentElement : t;
|
|
6342
|
+
if (Me.call(l, "details:not([open]) *"))
|
|
6344
6343
|
return !0;
|
|
6345
6344
|
if (!a || a === "full" || a === "legacy-full") {
|
|
6346
6345
|
if (typeof o == "function") {
|
|
6347
6346
|
for (var s = t; t; ) {
|
|
6348
|
-
var i = t.parentElement, u =
|
|
6347
|
+
var i = t.parentElement, u = rt(t);
|
|
6349
6348
|
if (i && !i.shadowRoot && o(i) === !0)
|
|
6350
|
-
return
|
|
6349
|
+
return gn(t);
|
|
6351
6350
|
t.assignedSlot ? t = t.assignedSlot : !i && u !== t.ownerDocument ? t = u.host : t = i;
|
|
6352
6351
|
}
|
|
6353
6352
|
t = s;
|
|
@@ -6357,7 +6356,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6357
6356
|
if (a !== "legacy-full")
|
|
6358
6357
|
return !0;
|
|
6359
6358
|
} else if (a === "non-zero-area")
|
|
6360
|
-
return
|
|
6359
|
+
return gn(t);
|
|
6361
6360
|
return !1;
|
|
6362
6361
|
}, tc = function(t) {
|
|
6363
6362
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
@@ -6366,28 +6365,28 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6366
6365
|
for (var a = 0; a < n.children.length; a++) {
|
|
6367
6366
|
var o = n.children.item(a);
|
|
6368
6367
|
if (o.tagName === "LEGEND")
|
|
6369
|
-
return
|
|
6368
|
+
return Me.call(n, "fieldset[disabled] *") ? !0 : !o.contains(t);
|
|
6370
6369
|
}
|
|
6371
6370
|
return !0;
|
|
6372
6371
|
}
|
|
6373
6372
|
n = n.parentElement;
|
|
6374
6373
|
}
|
|
6375
6374
|
return !1;
|
|
6376
|
-
},
|
|
6375
|
+
}, it = function(t, n) {
|
|
6377
6376
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
6378
6377
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
6379
6378
|
// note related to `candidateSelectors`)
|
|
6380
|
-
|
|
6379
|
+
lt(n) || FA(n) || ec(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
6381
6380
|
KA(n) || tc(n));
|
|
6382
|
-
},
|
|
6383
|
-
return !(_A(n) || Ce(n) < 0 || !
|
|
6381
|
+
}, Ot = function(t, n) {
|
|
6382
|
+
return !(_A(n) || Ce(n) < 0 || !it(t, n));
|
|
6384
6383
|
}, nc = function(t) {
|
|
6385
6384
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
6386
6385
|
return !!(isNaN(n) || n >= 0);
|
|
6387
6386
|
}, ac = function e(t) {
|
|
6388
6387
|
var n = [], a = [];
|
|
6389
6388
|
return t.forEach(function(o, r) {
|
|
6390
|
-
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i =
|
|
6389
|
+
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i = ZA(s, l), u = l ? e(o.candidates) : s;
|
|
6391
6390
|
i === 0 ? l ? n.push.apply(n, u) : n.push(s) : a.push({
|
|
6392
6391
|
documentOrder: r,
|
|
6393
6392
|
tabIndex: i,
|
|
@@ -6395,46 +6394,46 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6395
6394
|
isScope: l,
|
|
6396
6395
|
content: u
|
|
6397
6396
|
});
|
|
6398
|
-
}), a.sort(
|
|
6397
|
+
}), a.sort(RA).reduce(function(o, r) {
|
|
6399
6398
|
return r.isScope ? o.push.apply(o, r.content) : o.push(r.content), o;
|
|
6400
6399
|
}, []).concat(n);
|
|
6401
6400
|
}, oc = function(t, n) {
|
|
6402
6401
|
n = n || {};
|
|
6403
6402
|
var a;
|
|
6404
|
-
return n.getShadowRoot ? a =
|
|
6405
|
-
filter:
|
|
6403
|
+
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
6404
|
+
filter: Ot.bind(null, n),
|
|
6406
6405
|
flatten: !1,
|
|
6407
6406
|
getShadowRoot: n.getShadowRoot,
|
|
6408
6407
|
shadowRootFilter: nc
|
|
6409
|
-
}) : a =
|
|
6408
|
+
}) : a = la(t, n.includeContainer, Ot.bind(null, n)), ac(a);
|
|
6410
6409
|
}, rc = function(t, n) {
|
|
6411
6410
|
n = n || {};
|
|
6412
6411
|
var a;
|
|
6413
|
-
return n.getShadowRoot ? a =
|
|
6414
|
-
filter:
|
|
6412
|
+
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
6413
|
+
filter: it.bind(null, n),
|
|
6415
6414
|
flatten: !0,
|
|
6416
6415
|
getShadowRoot: n.getShadowRoot
|
|
6417
|
-
}) : a =
|
|
6418
|
-
},
|
|
6416
|
+
}) : a = la(t, n.includeContainer, it.bind(null, n)), a;
|
|
6417
|
+
}, Qe = function(t, n) {
|
|
6419
6418
|
if (n = n || {}, !t)
|
|
6420
6419
|
throw new Error("No node provided");
|
|
6421
|
-
return
|
|
6422
|
-
}, lc = /* @__PURE__ */
|
|
6420
|
+
return Me.call(t, ot) === !1 ? !1 : Ot(n, t);
|
|
6421
|
+
}, lc = /* @__PURE__ */ oa.concat("iframe").join(","), yt = function(t, n) {
|
|
6423
6422
|
if (n = n || {}, !t)
|
|
6424
6423
|
throw new Error("No node provided");
|
|
6425
|
-
return
|
|
6424
|
+
return Me.call(t, lc) === !1 ? !1 : it(n, t);
|
|
6426
6425
|
};
|
|
6427
6426
|
/*!
|
|
6428
6427
|
* focus-trap 7.6.5
|
|
6429
6428
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
6430
6429
|
*/
|
|
6431
|
-
function
|
|
6430
|
+
function St(e, t) {
|
|
6432
6431
|
(t == null || t > e.length) && (t = e.length);
|
|
6433
6432
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
6434
6433
|
return a;
|
|
6435
6434
|
}
|
|
6436
6435
|
function ic(e) {
|
|
6437
|
-
if (Array.isArray(e)) return
|
|
6436
|
+
if (Array.isArray(e)) return St(e);
|
|
6438
6437
|
}
|
|
6439
6438
|
function sc(e, t, n) {
|
|
6440
6439
|
return (t = fc(t)) in e ? Object.defineProperty(e, t, {
|
|
@@ -6451,7 +6450,7 @@ function Ac() {
|
|
|
6451
6450
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6452
6451
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
6453
6452
|
}
|
|
6454
|
-
function
|
|
6453
|
+
function bn(e, t) {
|
|
6455
6454
|
var n = Object.keys(e);
|
|
6456
6455
|
if (Object.getOwnPropertySymbols) {
|
|
6457
6456
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -6461,12 +6460,12 @@ function mn(e, t) {
|
|
|
6461
6460
|
}
|
|
6462
6461
|
return n;
|
|
6463
6462
|
}
|
|
6464
|
-
function
|
|
6463
|
+
function mn(e) {
|
|
6465
6464
|
for (var t = 1; t < arguments.length; t++) {
|
|
6466
6465
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6467
|
-
t % 2 ?
|
|
6466
|
+
t % 2 ? bn(Object(n), !0).forEach(function(a) {
|
|
6468
6467
|
sc(e, a, n[a]);
|
|
6469
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
6468
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bn(Object(n)).forEach(function(a) {
|
|
6470
6469
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
6471
6470
|
});
|
|
6472
6471
|
}
|
|
@@ -6491,12 +6490,12 @@ function fc(e) {
|
|
|
6491
6490
|
}
|
|
6492
6491
|
function pc(e, t) {
|
|
6493
6492
|
if (e) {
|
|
6494
|
-
if (typeof e == "string") return
|
|
6493
|
+
if (typeof e == "string") return St(e, t);
|
|
6495
6494
|
var n = {}.toString.call(e).slice(8, -1);
|
|
6496
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
6495
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? St(e, t) : void 0;
|
|
6497
6496
|
}
|
|
6498
6497
|
}
|
|
6499
|
-
var
|
|
6498
|
+
var In = {
|
|
6500
6499
|
activateTrap: function(t, n) {
|
|
6501
6500
|
if (t.length > 0) {
|
|
6502
6501
|
var a = t[t.length - 1];
|
|
@@ -6513,22 +6512,22 @@ var hn = {
|
|
|
6513
6512
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
6514
6513
|
}, gc = function(t) {
|
|
6515
6514
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
6516
|
-
},
|
|
6515
|
+
}, Ue = function(t) {
|
|
6517
6516
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
6518
6517
|
}, bc = function(t) {
|
|
6519
|
-
return
|
|
6518
|
+
return Ue(t) && !t.shiftKey;
|
|
6520
6519
|
}, mc = function(t) {
|
|
6521
|
-
return
|
|
6522
|
-
},
|
|
6520
|
+
return Ue(t) && t.shiftKey;
|
|
6521
|
+
}, hn = function(t) {
|
|
6523
6522
|
return setTimeout(t, 0);
|
|
6524
|
-
},
|
|
6523
|
+
}, xe = function(t) {
|
|
6525
6524
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
6526
6525
|
a[o - 1] = arguments[o];
|
|
6527
6526
|
return typeof t == "function" ? t.apply(void 0, a) : t;
|
|
6528
|
-
},
|
|
6527
|
+
}, Re = function(t) {
|
|
6529
6528
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
6530
6529
|
}, Ic = [], hc = function(t, n) {
|
|
6531
|
-
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Ic, r =
|
|
6530
|
+
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Ic, r = mn({
|
|
6532
6531
|
returnFocusOnDeactivate: !0,
|
|
6533
6532
|
escapeDeactivates: !0,
|
|
6534
6533
|
delayInitialFocus: !0,
|
|
@@ -6609,7 +6608,7 @@ var hn = {
|
|
|
6609
6608
|
});
|
|
6610
6609
|
if (g === !1)
|
|
6611
6610
|
return !1;
|
|
6612
|
-
if (g === void 0 || g && !
|
|
6611
|
+
if (g === void 0 || g && !yt(g, r.tabbableOptions))
|
|
6613
6612
|
if (u(a.activeElement) >= 0)
|
|
6614
6613
|
g = a.activeElement;
|
|
6615
6614
|
else {
|
|
@@ -6623,9 +6622,9 @@ var hn = {
|
|
|
6623
6622
|
}, m = function() {
|
|
6624
6623
|
if (l.containerGroups = l.containers.map(function(g) {
|
|
6625
6624
|
var E = oc(g, r.tabbableOptions), L = rc(g, r.tabbableOptions), W = E.length > 0 ? E[0] : void 0, P = E.length > 0 ? E[E.length - 1] : void 0, H = L.find(function(ee) {
|
|
6626
|
-
return
|
|
6625
|
+
return Qe(ee);
|
|
6627
6626
|
}), V = L.slice().reverse().find(function(ee) {
|
|
6628
|
-
return
|
|
6627
|
+
return Qe(ee);
|
|
6629
6628
|
}), _ = !!E.find(function(ee) {
|
|
6630
6629
|
return Ce(ee) > 0;
|
|
6631
6630
|
});
|
|
@@ -6661,9 +6660,9 @@ var hn = {
|
|
|
6661
6660
|
nextTabbableNode: function(re) {
|
|
6662
6661
|
var he = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = E.indexOf(re);
|
|
6663
6662
|
return pe < 0 ? he ? L.slice(L.indexOf(re) + 1).find(function(ge) {
|
|
6664
|
-
return
|
|
6663
|
+
return Qe(ge);
|
|
6665
6664
|
}) : L.slice(0, L.indexOf(re)).reverse().find(function(ge) {
|
|
6666
|
-
return
|
|
6665
|
+
return Qe(ge);
|
|
6667
6666
|
}) : E[pe + (he ? 1 : -1)];
|
|
6668
6667
|
}
|
|
6669
6668
|
};
|
|
@@ -6696,38 +6695,38 @@ var hn = {
|
|
|
6696
6695
|
return E || (E === !1 ? !1 : g);
|
|
6697
6696
|
}, v = function(g) {
|
|
6698
6697
|
var E = g.target, L = g.event, W = g.isBackward, P = W === void 0 ? !1 : W;
|
|
6699
|
-
E = E ||
|
|
6698
|
+
E = E || Re(L), m();
|
|
6700
6699
|
var H = null;
|
|
6701
6700
|
if (l.tabbableGroups.length > 0) {
|
|
6702
6701
|
var V = u(E, L), _ = V >= 0 ? l.containerGroups[V] : void 0;
|
|
6703
6702
|
if (V < 0)
|
|
6704
6703
|
P ? H = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : H = l.tabbableGroups[0].firstTabbableNode;
|
|
6705
6704
|
else if (P) {
|
|
6706
|
-
var ee = l.tabbableGroups.findIndex(function(
|
|
6707
|
-
var
|
|
6708
|
-
return E ===
|
|
6705
|
+
var ee = l.tabbableGroups.findIndex(function(vt) {
|
|
6706
|
+
var gt = vt.firstTabbableNode;
|
|
6707
|
+
return E === gt;
|
|
6709
6708
|
});
|
|
6710
|
-
if (ee < 0 && (_.container === E ||
|
|
6709
|
+
if (ee < 0 && (_.container === E || yt(E, r.tabbableOptions) && !Qe(E, r.tabbableOptions) && !_.nextTabbableNode(E, !1)) && (ee = V), ee >= 0) {
|
|
6711
6710
|
var re = ee === 0 ? l.tabbableGroups.length - 1 : ee - 1, he = l.tabbableGroups[re];
|
|
6712
6711
|
H = Ce(E) >= 0 ? he.lastTabbableNode : he.lastDomTabbableNode;
|
|
6713
|
-
} else
|
|
6712
|
+
} else Ue(L) || (H = _.nextTabbableNode(E, !1));
|
|
6714
6713
|
} else {
|
|
6715
|
-
var pe = l.tabbableGroups.findIndex(function(
|
|
6716
|
-
var
|
|
6717
|
-
return E ===
|
|
6714
|
+
var pe = l.tabbableGroups.findIndex(function(vt) {
|
|
6715
|
+
var gt = vt.lastTabbableNode;
|
|
6716
|
+
return E === gt;
|
|
6718
6717
|
});
|
|
6719
|
-
if (pe < 0 && (_.container === E ||
|
|
6720
|
-
var ge = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1,
|
|
6721
|
-
H = Ce(E) >= 0 ?
|
|
6722
|
-
} else
|
|
6718
|
+
if (pe < 0 && (_.container === E || yt(E, r.tabbableOptions) && !Qe(E, r.tabbableOptions) && !_.nextTabbableNode(E)) && (pe = V), pe >= 0) {
|
|
6719
|
+
var ge = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Te = l.tabbableGroups[ge];
|
|
6720
|
+
H = Ce(E) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
|
|
6721
|
+
} else Ue(L) || (H = _.nextTabbableNode(E));
|
|
6723
6722
|
}
|
|
6724
6723
|
} else
|
|
6725
6724
|
H = A("fallbackFocus");
|
|
6726
6725
|
return H;
|
|
6727
6726
|
}, k = function(g) {
|
|
6728
|
-
var E =
|
|
6727
|
+
var E = Re(g);
|
|
6729
6728
|
if (!(u(E, g) >= 0)) {
|
|
6730
|
-
if (
|
|
6729
|
+
if (xe(r.clickOutsideDeactivates, g)) {
|
|
6731
6730
|
s.deactivate({
|
|
6732
6731
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
6733
6732
|
// which will result in the outside click setting focus to the node
|
|
@@ -6739,10 +6738,10 @@ var hn = {
|
|
|
6739
6738
|
});
|
|
6740
6739
|
return;
|
|
6741
6740
|
}
|
|
6742
|
-
|
|
6741
|
+
xe(r.allowOutsideClick, g) || g.preventDefault();
|
|
6743
6742
|
}
|
|
6744
6743
|
}, S = function(g) {
|
|
6745
|
-
var E =
|
|
6744
|
+
var E = Re(g), L = u(E, g) >= 0;
|
|
6746
6745
|
if (L || E instanceof Document)
|
|
6747
6746
|
L && (l.mostRecentlyFocusedNode = E);
|
|
6748
6747
|
else {
|
|
@@ -6780,17 +6779,17 @@ var hn = {
|
|
|
6780
6779
|
event: g,
|
|
6781
6780
|
isBackward: E
|
|
6782
6781
|
});
|
|
6783
|
-
L && (
|
|
6782
|
+
L && (Ue(g) && g.preventDefault(), I(L));
|
|
6784
6783
|
}, T = function(g) {
|
|
6785
6784
|
(r.isKeyForward(g) || r.isKeyBackward(g)) && Q(g, r.isKeyBackward(g));
|
|
6786
6785
|
}, z = function(g) {
|
|
6787
|
-
gc(g) &&
|
|
6786
|
+
gc(g) && xe(r.escapeDeactivates, g) !== !1 && (g.preventDefault(), s.deactivate());
|
|
6788
6787
|
}, O = function(g) {
|
|
6789
|
-
var E =
|
|
6790
|
-
u(E, g) >= 0 ||
|
|
6788
|
+
var E = Re(g);
|
|
6789
|
+
u(E, g) >= 0 || xe(r.clickOutsideDeactivates, g) || xe(r.allowOutsideClick, g) || (g.preventDefault(), g.stopImmediatePropagation());
|
|
6791
6790
|
}, w = function() {
|
|
6792
6791
|
if (l.active)
|
|
6793
|
-
return
|
|
6792
|
+
return In.activateTrap(o, s), l.delayInitialFocusTimer = r.delayInitialFocus ? hn(function() {
|
|
6794
6793
|
I(d());
|
|
6795
6794
|
}) : I(d()), a.addEventListener("focusin", S, !0), a.addEventListener("mousedown", k, {
|
|
6796
6795
|
capture: !0,
|
|
@@ -6844,16 +6843,16 @@ var hn = {
|
|
|
6844
6843
|
deactivate: function(g) {
|
|
6845
6844
|
if (!l.active)
|
|
6846
6845
|
return this;
|
|
6847
|
-
var E =
|
|
6846
|
+
var E = mn({
|
|
6848
6847
|
onDeactivate: r.onDeactivate,
|
|
6849
6848
|
onPostDeactivate: r.onPostDeactivate,
|
|
6850
6849
|
checkCanReturnFocus: r.checkCanReturnFocus
|
|
6851
6850
|
}, g);
|
|
6852
|
-
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, y(),
|
|
6851
|
+
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, y(), In.deactivateTrap(o, s);
|
|
6853
6852
|
var L = i(E, "onDeactivate"), W = i(E, "onPostDeactivate"), P = i(E, "checkCanReturnFocus"), H = i(E, "returnFocus", "returnFocusOnDeactivate");
|
|
6854
6853
|
L == null || L();
|
|
6855
6854
|
var V = function() {
|
|
6856
|
-
|
|
6855
|
+
hn(function() {
|
|
6857
6856
|
H && I(C(l.nodeFocusedBeforeActivation)), W == null || W();
|
|
6858
6857
|
});
|
|
6859
6858
|
};
|
|
@@ -6924,7 +6923,7 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6924
6923
|
75959032: d.width,
|
|
6925
6924
|
"330e9906": d.padding
|
|
6926
6925
|
}));
|
|
6927
|
-
const n =
|
|
6926
|
+
const n = X(null), a = X(null), { showPopover: o, popoverPosition: r, togglePopover: l, closePopover: s } = HA(n, a), { initializeFocusTrap: i, cleanupFocusTrap: u } = yc(a, s);
|
|
6928
6927
|
function A(d) {
|
|
6929
6928
|
if (!d) {
|
|
6930
6929
|
n.value = null;
|
|
@@ -6938,8 +6937,8 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6938
6937
|
m instanceof HTMLElement ? n.value = m : n.value = null;
|
|
6939
6938
|
}
|
|
6940
6939
|
return t({ setTriggerRef: A, triggerRef: n }), oe(o, async (d) => {
|
|
6941
|
-
d ? (await
|
|
6942
|
-
}),
|
|
6940
|
+
d ? (await De(), i()) : u();
|
|
6941
|
+
}), yn(() => {
|
|
6943
6942
|
u();
|
|
6944
6943
|
}), (d, m) => (c(), p("div", Cc, [
|
|
6945
6944
|
h("div", {
|
|
@@ -6948,7 +6947,7 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6948
6947
|
}, [
|
|
6949
6948
|
B(d.$slots, "trigger", { toggle: f(l) }, void 0, !0)
|
|
6950
6949
|
]),
|
|
6951
|
-
(c(), U(
|
|
6950
|
+
(c(), U(Nn, { to: "body" }, [
|
|
6952
6951
|
f(o) ? (c(), p("div", {
|
|
6953
6952
|
key: 0,
|
|
6954
6953
|
ref_key: "popoverRef",
|
|
@@ -6956,7 +6955,7 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6956
6955
|
tabindex: "-1",
|
|
6957
6956
|
class: "av-popover",
|
|
6958
6957
|
style: be(`top: ${f(r).top}rem; left: ${f(r).left}rem;`),
|
|
6959
|
-
onKeydown: m[0] || (m[0] =
|
|
6958
|
+
onKeydown: m[0] || (m[0] = st(ce(
|
|
6960
6959
|
//@ts-ignore
|
|
6961
6960
|
(...b) => f(s) && f(s)(...b),
|
|
6962
6961
|
["prevent"]
|
|
@@ -7000,18 +6999,18 @@ export {
|
|
|
7000
6999
|
Fc as AvAutocompleteStub,
|
|
7001
7000
|
Tc as AvBadge,
|
|
7002
7001
|
Nc as AvBadgeStub,
|
|
7003
|
-
|
|
7002
|
+
Ne as AvButton,
|
|
7004
7003
|
Pc as AvButtonStub,
|
|
7005
7004
|
Lc as AvCard,
|
|
7006
7005
|
sd as AvDrawer,
|
|
7007
7006
|
id as AvDrawerStub,
|
|
7008
7007
|
Wc as AvFileUpload,
|
|
7009
7008
|
wc as AvHeader,
|
|
7010
|
-
|
|
7009
|
+
An as AvHeaderMenuLinks,
|
|
7011
7010
|
oi as AvIconText,
|
|
7012
7011
|
Qs as AvInput,
|
|
7013
|
-
|
|
7014
|
-
|
|
7012
|
+
Yn as AvList,
|
|
7013
|
+
Gn as AvListItem,
|
|
7015
7014
|
Uc as AvListItemStub,
|
|
7016
7015
|
Vc as AvListStub,
|
|
7017
7016
|
Ni as AvLogo,
|
|
@@ -7022,7 +7021,7 @@ export {
|
|
|
7022
7021
|
td as AvPagination,
|
|
7023
7022
|
Ad as AvPopover,
|
|
7024
7023
|
Xs as AvRadioButton,
|
|
7025
|
-
|
|
7024
|
+
Rc as AvRadioButtonSet,
|
|
7026
7025
|
xc as AvRichButton,
|
|
7027
7026
|
Gc as AvSelect,
|
|
7028
7027
|
Yc as AvSelectStub,
|
|
@@ -7034,26 +7033,26 @@ export {
|
|
|
7034
7033
|
Jc as AvTab,
|
|
7035
7034
|
_c as AvTabs,
|
|
7036
7035
|
Us as AvTagPicker,
|
|
7037
|
-
|
|
7036
|
+
Zc as AvTagPickerStub,
|
|
7038
7037
|
Dc as AvToaster,
|
|
7039
7038
|
$c as AvToggle,
|
|
7040
7039
|
se as AvVIcon,
|
|
7041
7040
|
Qc as AvVIconStub,
|
|
7042
|
-
|
|
7041
|
+
Le as DropdownState,
|
|
7043
7042
|
cd as DsfrBadgeStub,
|
|
7044
7043
|
dd as DsfrModalStub,
|
|
7045
7044
|
fd as DsfrNavigationStub,
|
|
7046
7045
|
zc as EsupLogo,
|
|
7047
7046
|
Sc as ICONS_DATA_URL,
|
|
7048
7047
|
ne as MDI_ICONS,
|
|
7049
|
-
|
|
7048
|
+
Jn as PageSizes,
|
|
7050
7049
|
Oc as RI_ICONS,
|
|
7051
7050
|
pd as VIconStub,
|
|
7052
7051
|
ri as formatTextToHtml,
|
|
7053
7052
|
nd as getPaginationPages,
|
|
7054
7053
|
qc as isValidEmail,
|
|
7055
7054
|
Hc as pageSizeValues,
|
|
7056
|
-
|
|
7055
|
+
xn as registerNavigationLinkKey,
|
|
7057
7056
|
xs as removeDuplicates,
|
|
7058
7057
|
yc as useFocusTrap
|
|
7059
7058
|
};
|