@avenirs-esr/avenirs-dsav 0.1.22 → 0.1.24
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 +705 -701
- package/dist/avenirs-dsav.umd.js +9 -9
- package/dist/components/interaction/files/index.d.ts +1 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +1 -0
- 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/interaction/tabs/AvTabs/AvTabs.stories.d.ts +1 -0
- package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +6 -0
- package/dist/tokens/icons.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 Z, 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 X, 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,14 +339,14 @@ 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 =
|
|
343
|
-
const
|
|
344
|
-
Pa(v) || (
|
|
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
|
+
const b = {}, m = (C, v) => {
|
|
344
|
+
Pa(v) || (b[C] = v.toString());
|
|
345
345
|
};
|
|
346
|
-
|
|
346
|
+
m("width", A), m("height", d);
|
|
347
347
|
const I = [o.left, o.top, i, u];
|
|
348
|
-
return
|
|
349
|
-
attributes:
|
|
348
|
+
return b.viewBox = I.join(" "), {
|
|
349
|
+
attributes: b,
|
|
350
350
|
viewBox: I,
|
|
351
351
|
body: r
|
|
352
352
|
};
|
|
@@ -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
|
}
|
|
@@ -637,18 +637,18 @@ function oo(e, t, n, a) {
|
|
|
637
637
|
} else
|
|
638
638
|
l = e.resources.slice(r).concat(e.resources.slice(0, r));
|
|
639
639
|
const s = Date.now();
|
|
640
|
-
let i = "pending", u = 0, A, d = null,
|
|
641
|
-
typeof a == "function" &&
|
|
640
|
+
let i = "pending", u = 0, A, d = null, b = [], m = [];
|
|
641
|
+
typeof a == "function" && m.push(a);
|
|
642
642
|
function I() {
|
|
643
643
|
d && (clearTimeout(d), d = null);
|
|
644
644
|
}
|
|
645
645
|
function C() {
|
|
646
|
-
i === "pending" && (i = "aborted"), I(),
|
|
646
|
+
i === "pending" && (i = "aborted"), I(), b.forEach((O) => {
|
|
647
647
|
O.status === "pending" && (O.status = "aborted");
|
|
648
|
-
}),
|
|
648
|
+
}), b = [];
|
|
649
649
|
}
|
|
650
650
|
function v(O, w) {
|
|
651
|
-
w && (
|
|
651
|
+
w && (m = []), typeof O == "function" && m.push(O);
|
|
652
652
|
}
|
|
653
653
|
function k() {
|
|
654
654
|
return {
|
|
@@ -656,24 +656,24 @@ function oo(e, t, n, a) {
|
|
|
656
656
|
payload: t,
|
|
657
657
|
status: i,
|
|
658
658
|
queriesSent: u,
|
|
659
|
-
queriesPending:
|
|
659
|
+
queriesPending: b.length,
|
|
660
660
|
subscribe: v,
|
|
661
661
|
abort: C
|
|
662
662
|
};
|
|
663
663
|
}
|
|
664
664
|
function S() {
|
|
665
|
-
i = "failed",
|
|
665
|
+
i = "failed", m.forEach((O) => {
|
|
666
666
|
O(void 0, A);
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
669
|
function Q() {
|
|
670
|
-
|
|
670
|
+
b.forEach((O) => {
|
|
671
671
|
O.status === "pending" && (O.status = "aborted");
|
|
672
|
-
}),
|
|
672
|
+
}), b = [];
|
|
673
673
|
}
|
|
674
674
|
function T(O, w, J) {
|
|
675
675
|
const q = w !== "success";
|
|
676
|
-
switch (
|
|
676
|
+
switch (b = b.filter(($) => $ !== O), i) {
|
|
677
677
|
case "pending":
|
|
678
678
|
break;
|
|
679
679
|
case "failed":
|
|
@@ -688,14 +688,14 @@ function oo(e, t, n, a) {
|
|
|
688
688
|
return;
|
|
689
689
|
}
|
|
690
690
|
if (q) {
|
|
691
|
-
A = J,
|
|
691
|
+
A = J, b.length || (l.length ? z() : S());
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
if (I(), Q(), !e.random) {
|
|
695
695
|
const $ = e.resources.indexOf(O.resource);
|
|
696
696
|
$ !== -1 && $ !== e.index && (e.index = $);
|
|
697
697
|
}
|
|
698
|
-
i = "completed",
|
|
698
|
+
i = "completed", m.forEach(($) => {
|
|
699
699
|
$(J);
|
|
700
700
|
});
|
|
701
701
|
}
|
|
@@ -705,7 +705,7 @@ function oo(e, t, n, a) {
|
|
|
705
705
|
I();
|
|
706
706
|
const O = l.shift();
|
|
707
707
|
if (O === void 0) {
|
|
708
|
-
if (
|
|
708
|
+
if (b.length) {
|
|
709
709
|
d = setTimeout(() => {
|
|
710
710
|
I(), i === "pending" && (Q(), S());
|
|
711
711
|
}, e.timeout);
|
|
@@ -721,11 +721,11 @@ function oo(e, t, n, a) {
|
|
|
721
721
|
T(w, J, q);
|
|
722
722
|
}
|
|
723
723
|
};
|
|
724
|
-
|
|
724
|
+
b.push(w), u++, d = setTimeout(z, e.rotate), n(O, t, w.callback);
|
|
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
|
|
@@ -739,8 +739,8 @@ function jn(e) {
|
|
|
739
739
|
t,
|
|
740
740
|
s,
|
|
741
741
|
i,
|
|
742
|
-
(d,
|
|
743
|
-
a(), u && u(d,
|
|
742
|
+
(d, b) => {
|
|
743
|
+
a(), u && u(d, b);
|
|
744
744
|
}
|
|
745
745
|
);
|
|
746
746
|
return n.push(A), A;
|
|
@@ -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
|
-
|
|
857
|
-
const
|
|
856
|
+
Gt(d, (b) => {
|
|
857
|
+
const m = b ? {
|
|
858
858
|
prefix: a,
|
|
859
859
|
icons: {
|
|
860
|
-
[A]:
|
|
860
|
+
[A]: b
|
|
861
861
|
}
|
|
862
862
|
} : null;
|
|
863
|
-
|
|
863
|
+
Be(e, [A], m);
|
|
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,
|
|
909
|
-
|
|
908
|
+
const { provider: u, prefix: A, name: d } = i, b = Oe(u, A), m = b.pendingIcons || (b.pendingIcons = /* @__PURE__ */ new Set());
|
|
909
|
+
m.has(d) || (m.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,24 +1061,24 @@ 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
|
-
const { body: A, width: d, height:
|
|
1066
|
+
const { body: A, width: d, height: b } = e, m = o === "mask" || (o === "bg" ? !1 : A.indexOf("currentColor") !== -1), I = go(A, {
|
|
1067
1067
|
...u,
|
|
1068
1068
|
width: d + "",
|
|
1069
|
-
height:
|
|
1069
|
+
height: b + ""
|
|
1070
1070
|
});
|
|
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
|
-
...
|
|
1077
|
+
...m ? 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,17 +1171,17 @@ 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
|
-
}),
|
|
1184
|
+
}), Pn = Symbol("accordions"), xn = Symbol("header"), Pt = Symbol("tabs"), pt = () => {
|
|
1185
1185
|
const e = Z(), t = Z(!1), n = Z(!1), a = () => {
|
|
1186
1186
|
if (!e.value)
|
|
1187
1187
|
return;
|
|
@@ -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,12 +1221,12 @@ const Co = {
|
|
|
1221
1221
|
cssExpanded: o,
|
|
1222
1222
|
doExpand: r,
|
|
1223
1223
|
onTransitionEnd: l
|
|
1224
|
-
} =
|
|
1224
|
+
} = pt(), s = Z(), 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
|
-
}), oe(u, (d,
|
|
1228
|
-
d !==
|
|
1229
|
-
}), (d,
|
|
1227
|
+
}), oe(u, (d, b) => {
|
|
1228
|
+
d !== b && r(d);
|
|
1229
|
+
}), (d, b) => (c(), p("section", Mo, [
|
|
1230
1230
|
(c(), U(de(d.titleTag), { class: "fr-accordion__title" }, {
|
|
1231
1231
|
default: F(() => [
|
|
1232
1232
|
h("button", {
|
|
@@ -1234,7 +1234,7 @@ const Co = {
|
|
|
1234
1234
|
"aria-expanded": f(u),
|
|
1235
1235
|
"aria-controls": d.id,
|
|
1236
1236
|
type: "button",
|
|
1237
|
-
onClick:
|
|
1237
|
+
onClick: b[0] || (b[0] = (m) => f(A)())
|
|
1238
1238
|
}, [
|
|
1239
1239
|
B(d.$slots, "title", {}, () => [
|
|
1240
1240
|
ae(x(d.title), 1)
|
|
@@ -1252,7 +1252,7 @@ const Co = {
|
|
|
1252
1252
|
// Need to use a separate data to add/remove the class after a RAF
|
|
1253
1253
|
"fr-collapsing": f(a)
|
|
1254
1254
|
}]),
|
|
1255
|
-
onTransitionend:
|
|
1255
|
+
onTransitionend: b[1] || (b[1] = (m) => f(l)(f(u), !1))
|
|
1256
1256
|
}, [
|
|
1257
1257
|
B(d.$slots, "default")
|
|
1258
1258
|
], 42, To)
|
|
@@ -1271,7 +1271,7 @@ const Co = {
|
|
|
1271
1271
|
a("update:modelValue", s);
|
|
1272
1272
|
}
|
|
1273
1273
|
}), r = Z(/* @__PURE__ */ new Map()), l = Z(0);
|
|
1274
|
-
return
|
|
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);
|
|
@@ -1344,12 +1344,12 @@ const Co = {
|
|
|
1344
1344
|
var i, u, A, d;
|
|
1345
1345
|
if (!((i = n.value) != null && i.$el))
|
|
1346
1346
|
return;
|
|
1347
|
-
const
|
|
1347
|
+
const b = !!((u = n.value) == null ? void 0 : u.$el).querySelector("title"), m = document.createElement("title");
|
|
1348
1348
|
if (!t.title) {
|
|
1349
|
-
|
|
1349
|
+
m.remove();
|
|
1350
1350
|
return;
|
|
1351
1351
|
}
|
|
1352
|
-
|
|
1352
|
+
m.innerHTML = t.title, await De(), b || (d = ((A = n.value) == null ? void 0 : A.$el).firstChild) == null || d.before(m);
|
|
1353
1353
|
}
|
|
1354
1354
|
ue(r);
|
|
1355
1355
|
const l = M(() => {
|
|
@@ -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 },
|
|
@@ -1423,17 +1423,17 @@ const Co = {
|
|
|
1423
1423
|
disabled: A.disabled,
|
|
1424
1424
|
"aria-disabled": A.disabled,
|
|
1425
1425
|
style: be(!s.value && A.iconOnly ? { "padding-inline": "0.5rem" } : {}),
|
|
1426
|
-
onClick: d[0] || (d[0] = (
|
|
1426
|
+
onClick: d[0] || (d[0] = (b) => A.onClick ? A.onClick(b) : () => {
|
|
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 = Z(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"),
|
|
1448
|
+
const t = e, n = Z(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"), b = Z("auto"), m = M(() => `--equisized-width: ${b.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) => {
|
|
@@ -1453,14 +1453,14 @@ const Co = {
|
|
|
1453
1453
|
S.style.width = "var(--equisized-width)";
|
|
1454
1454
|
const w = Q + z + O;
|
|
1455
1455
|
w > v && (v = w);
|
|
1456
|
-
}),
|
|
1456
|
+
}), b.value = `${v}px`;
|
|
1457
1457
|
};
|
|
1458
1458
|
return ue(async () => {
|
|
1459
1459
|
!n.value || !t.equisized || await I();
|
|
1460
1460
|
}), (C, v) => (c(), p("ul", {
|
|
1461
1461
|
ref_key: "buttonsEl",
|
|
1462
1462
|
ref: n,
|
|
1463
|
-
style: be(
|
|
1463
|
+
style: be(m.value),
|
|
1464
1464
|
class: X(["fr-btns-group", {
|
|
1465
1465
|
"fr-btns-group--equisized": C.equisized,
|
|
1466
1466
|
"fr-btns-group--sm": a.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,36 +1517,36 @@ 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),
|
|
1524
|
-
if (d &&
|
|
1525
|
-
var
|
|
1526
|
-
a.flatten ? o.push.apply(o,
|
|
1523
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), b = !tt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
1524
|
+
if (d && b) {
|
|
1525
|
+
var m = e(d === !0 ? l.children : d.children, !0, a);
|
|
1526
|
+
a.flatten ? o.push.apply(o, m) : o.push({
|
|
1527
1527
|
scopeParent: l,
|
|
1528
|
-
candidates:
|
|
1528
|
+
candidates: m
|
|
1529
1529
|
});
|
|
1530
1530
|
} else
|
|
1531
1531
|
r.unshift.apply(r, l.children);
|
|
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
|
};
|
|
@@ -1929,14 +1929,14 @@ var ln = {
|
|
|
1929
1929
|
return y.posTabIndexesFound;
|
|
1930
1930
|
}) && r.containerGroups.length > 1)
|
|
1931
1931
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
1932
|
-
},
|
|
1932
|
+
}, b = function(y) {
|
|
1933
1933
|
var N = y.activeElement;
|
|
1934
1934
|
if (N)
|
|
1935
|
-
return N.shadowRoot && N.shadowRoot.activeElement !== null ?
|
|
1936
|
-
},
|
|
1937
|
-
if (y !== !1 && y !==
|
|
1935
|
+
return N.shadowRoot && N.shadowRoot.activeElement !== null ? b(N.shadowRoot) : N;
|
|
1936
|
+
}, m = function(y) {
|
|
1937
|
+
if (y !== !1 && y !== b(document)) {
|
|
1938
1938
|
if (!y || !y.focus) {
|
|
1939
|
-
|
|
1939
|
+
m(A());
|
|
1940
1940
|
return;
|
|
1941
1941
|
}
|
|
1942
1942
|
y.focus({
|
|
@@ -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;
|
|
@@ -2024,7 +2024,7 @@ var ln = {
|
|
|
2024
2024
|
// outside the trap causing the focus escape we're trying to fix)
|
|
2025
2025
|
target: r.mostRecentlyFocusedNode,
|
|
2026
2026
|
isBackward: o.isKeyBackward(r.recentNavEvent)
|
|
2027
|
-
})),
|
|
2027
|
+
})), m(E || r.mostRecentlyFocusedNode || A());
|
|
2028
2028
|
}
|
|
2029
2029
|
r.recentNavEvent = void 0;
|
|
2030
2030
|
}, S = function(y) {
|
|
@@ -2034,19 +2034,19 @@ var ln = {
|
|
|
2034
2034
|
event: y,
|
|
2035
2035
|
isBackward: N
|
|
2036
2036
|
});
|
|
2037
|
-
g && (
|
|
2037
|
+
g && (Ve(y) && y.preventDefault(), m(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
|
|
2048
|
-
|
|
2049
|
-
}) :
|
|
2047
|
+
return rn.activateTrap(a, l), r.delayInitialFocusTimer = o.delayInitialFocus ? ln(function() {
|
|
2048
|
+
m(A());
|
|
2049
|
+
}) : m(A()), n.addEventListener("focusin", k, !0), n.addEventListener("mousedown", v, {
|
|
2050
2050
|
capture: !0,
|
|
2051
2051
|
passive: !1
|
|
2052
2052
|
}), n.addEventListener("touchstart", v, {
|
|
@@ -2069,7 +2069,7 @@ var ln = {
|
|
|
2069
2069
|
return L === r.mostRecentlyFocusedNode;
|
|
2070
2070
|
});
|
|
2071
2071
|
});
|
|
2072
|
-
N &&
|
|
2072
|
+
N && m(A());
|
|
2073
2073
|
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(J) : void 0, $ = function() {
|
|
2074
2074
|
q && (q.disconnect(), r.active && !r.paused && r.containers.map(function(y) {
|
|
2075
2075
|
q.observe(y, {
|
|
@@ -2098,17 +2098,17 @@ 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
|
-
|
|
2111
|
-
W &&
|
|
2110
|
+
ln(function() {
|
|
2111
|
+
W && m(I(r.nodeFocusedBeforeActivation)), E == null || E();
|
|
2112
2112
|
});
|
|
2113
2113
|
};
|
|
2114
2114
|
return W && L ? (L(I(r.nodeFocusedBeforeActivation)).then(P, P), this) : (P(), this);
|
|
@@ -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,44 +2263,44 @@ const pr = {
|
|
|
2263
2263
|
cssExpanded: l,
|
|
2264
2264
|
doExpand: s,
|
|
2265
2265
|
onTransitionEnd: i
|
|
2266
|
-
} =
|
|
2267
|
-
function A(
|
|
2268
|
-
u.value = !1, a("select",
|
|
2266
|
+
} = pt(), u = Z(!1);
|
|
2267
|
+
function A(b) {
|
|
2268
|
+
u.value = !1, a("select", b);
|
|
2269
2269
|
}
|
|
2270
2270
|
const d = M(
|
|
2271
|
-
() => n.languages.find(({ codeIso:
|
|
2271
|
+
() => n.languages.find(({ codeIso: b }) => b === n.currentLanguage)
|
|
2272
2272
|
);
|
|
2273
|
-
return oe(u, (
|
|
2274
|
-
|
|
2275
|
-
}), (
|
|
2273
|
+
return oe(u, (b, m) => {
|
|
2274
|
+
b !== m && s(b);
|
|
2275
|
+
}), (b, m) => {
|
|
2276
2276
|
var I, C;
|
|
2277
2277
|
return c(), p("nav", gr, [
|
|
2278
2278
|
h("div", br, [
|
|
2279
2279
|
h("button", {
|
|
2280
2280
|
class: "fr-translate__btn fr-btn fr-btn--tertiary",
|
|
2281
|
-
"aria-controls":
|
|
2281
|
+
"aria-controls": b.id,
|
|
2282
2282
|
"aria-expanded": u.value,
|
|
2283
|
-
title:
|
|
2283
|
+
title: b.title,
|
|
2284
2284
|
type: "button",
|
|
2285
|
-
onClick:
|
|
2285
|
+
onClick: m[0] || (m[0] = ce((v) => u.value = !u.value, ["prevent", "stop"]))
|
|
2286
2286
|
}, [
|
|
2287
2287
|
ae(x((I = d.value) == null ? void 0 : I.codeIso.toUpperCase()), 1),
|
|
2288
2288
|
h("span", Ir, " - " + x((C = d.value) == null ? void 0 : C.label), 1)
|
|
2289
2289
|
], 8, mr),
|
|
2290
2290
|
h("div", {
|
|
2291
|
-
id:
|
|
2291
|
+
id: b.id,
|
|
2292
2292
|
ref_key: "collapse",
|
|
2293
2293
|
ref: o,
|
|
2294
2294
|
class: X(["fr-collapse fr-translate__menu fr-menu", { "fr-collapse--expanded": f(l), "fr-collapsing": f(r) }]),
|
|
2295
|
-
onTransitionend:
|
|
2295
|
+
onTransitionend: m[1] || (m[1] = (v) => f(i)(u.value))
|
|
2296
2296
|
}, [
|
|
2297
2297
|
h("ul", yr, [
|
|
2298
|
-
(c(!0), p(K, null, te(
|
|
2298
|
+
(c(!0), p(K, null, te(b.languages, (v, k) => (c(), p("li", { key: k }, [
|
|
2299
2299
|
h("a", {
|
|
2300
2300
|
class: "fr-translate__language fr-nav__link",
|
|
2301
2301
|
hreflang: v.codeIso,
|
|
2302
2302
|
lang: v.codeIso,
|
|
2303
|
-
"aria-current":
|
|
2303
|
+
"aria-current": b.currentLanguage === v.codeIso ? !0 : void 0,
|
|
2304
2304
|
href: `#${v.codeIso}`,
|
|
2305
2305
|
onClick: ce((S) => A(v), ["prevent", "stop"])
|
|
2306
2306
|
}, x(`${v.codeIso.toUpperCase()} - ${v.label}`), 9, Cr)
|
|
@@ -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") },
|
|
@@ -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
|
-
const
|
|
2492
|
-
() =>
|
|
2491
|
+
const b = M(() => typeof n.icon == "string" && n.icon.startsWith("fr-icon-")), m = M(
|
|
2492
|
+
() => b.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(() => {
|
|
@@ -2533,13 +2533,13 @@ const pr = {
|
|
|
2533
2533
|
id: I.modalId,
|
|
2534
2534
|
class: "fr-modal__title"
|
|
2535
2535
|
}, [
|
|
2536
|
-
|
|
2536
|
+
b.value || m.value ? (c(), p("span", {
|
|
2537
2537
|
key: 0,
|
|
2538
2538
|
class: X({
|
|
2539
|
-
[String(I.icon)]:
|
|
2539
|
+
[String(I.icon)]: b.value
|
|
2540
2540
|
})
|
|
2541
2541
|
}, [
|
|
2542
|
-
I.icon &&
|
|
2542
|
+
I.icon && m.value ? (c(), U(we, ct(Y({ key: 0 }, m.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",
|
|
@@ -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",
|
|
@@ -2726,8 +2726,8 @@ const pr = {
|
|
|
2726
2726
|
])
|
|
2727
2727
|
]),
|
|
2728
2728
|
B(i.$slots, "default", {}, void 0, !0),
|
|
2729
|
-
(c(!0), p(K, null, te(i.menus, (d,
|
|
2730
|
-
key:
|
|
2729
|
+
(c(!0), p(K, null, te(i.menus, (d, b) => (c(), U(Kr, Y({
|
|
2730
|
+
key: b,
|
|
2731
2731
|
ref_for: !0
|
|
2732
2732
|
}, d), null, 16))), 128))
|
|
2733
2733
|
])
|
|
@@ -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(() => {
|
|
@@ -2795,8 +2795,8 @@ 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(
|
|
2799
|
-
onToggleId: u[1] || (u[1] = (
|
|
2798
|
+
R(Wt, Y({ ref_for: !0 }, A, {
|
|
2799
|
+
onToggleId: u[1] || (u[1] = (b) => i.$emit("toggleId", i.expandedId))
|
|
2800
2800
|
}), null, 16)
|
|
2801
2801
|
]),
|
|
2802
2802
|
_: 2
|
|
@@ -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, {
|
|
@@ -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") },
|
|
@@ -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,
|
|
@@ -3069,7 +3069,7 @@ const pr = {
|
|
|
3069
3069
|
small: i.small,
|
|
3070
3070
|
inline: i.inline,
|
|
3071
3071
|
"model-value": i.modelValue,
|
|
3072
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3072
|
+
"onUpdate:modelValue": u[0] || (u[0] = (b) => l(b))
|
|
3073
3073
|
}), null, 16, ["name", "aria-disabled", "small", "inline", "model-value"]))), 128))
|
|
3074
3074
|
]),
|
|
3075
3075
|
o.value ? (c(), p("div", {
|
|
@@ -3165,7 +3165,7 @@ const pr = {
|
|
|
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"
|
|
@@ -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: {},
|
|
@@ -3218,14 +3218,14 @@ const pr = {
|
|
|
3218
3218
|
End: "last"
|
|
3219
3219
|
};
|
|
3220
3220
|
function l(A) {
|
|
3221
|
-
const d = A == null ? void 0 : A.key,
|
|
3222
|
-
|
|
3221
|
+
const d = A == null ? void 0 : A.key, b = r[d];
|
|
3222
|
+
b && a(b);
|
|
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",
|
|
@@ -3237,11 +3237,11 @@ const pr = {
|
|
|
3237
3237
|
type: "button",
|
|
3238
3238
|
"aria-selected": f(i),
|
|
3239
3239
|
"aria-controls": A.panelId,
|
|
3240
|
-
onClick: d[0] || (d[0] = ce((
|
|
3241
|
-
onKeydown: d[1] || (d[1] = (
|
|
3240
|
+
onClick: d[0] || (d[0] = ce((b) => A.$emit("click", A.tabId), ["prevent"])),
|
|
3241
|
+
onKeydown: d[1] || (d[1] = (b) => l(b))
|
|
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)
|
|
@@ -3263,7 +3263,7 @@ const pr = {
|
|
|
3263
3263
|
o("update:modelValue", T);
|
|
3264
3264
|
}
|
|
3265
3265
|
}), s = Z(/* @__PURE__ */ new Map()), i = Z(0);
|
|
3266
|
-
|
|
3266
|
+
ut(Pt, (T) => {
|
|
3267
3267
|
const z = Z(!0);
|
|
3268
3268
|
if (oe(l, (J, q) => {
|
|
3269
3269
|
z.value = J > q;
|
|
@@ -3278,12 +3278,12 @@ const pr = {
|
|
|
3278
3278
|
s.value.delete(O);
|
|
3279
3279
|
}), { isVisible: w };
|
|
3280
3280
|
});
|
|
3281
|
-
const u = Z(null), A = Z(null), d =
|
|
3281
|
+
const u = Z(null), A = Z(null), d = Ct({}), b = (T) => {
|
|
3282
3282
|
if (d[T])
|
|
3283
3283
|
return d[T];
|
|
3284
3284
|
const z = le("tab");
|
|
3285
3285
|
return d[T] = z, z;
|
|
3286
|
-
},
|
|
3286
|
+
}, m = async () => {
|
|
3287
3287
|
const T = l.value === 0 ? a.tabTitles.length - 1 : l.value - 1;
|
|
3288
3288
|
r.value = !1, l.value = T;
|
|
3289
3289
|
}, I = async () => {
|
|
@@ -3335,14 +3335,14 @@ 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
|
-
"panel-id": O.panelId || `${
|
|
3342
|
-
"tab-id": O.tabId ||
|
|
3341
|
+
"panel-id": O.panelId || `${b(w)}-panel`,
|
|
3342
|
+
"tab-id": O.tabId || b(w),
|
|
3343
3343
|
onClick: (J) => l.value = w,
|
|
3344
3344
|
onNext: z[0] || (z[0] = (J) => I()),
|
|
3345
|
-
onPrevious: z[1] || (z[1] = (J) =>
|
|
3345
|
+
onPrevious: z[1] || (z[1] = (J) => m()),
|
|
3346
3346
|
onFirst: z[2] || (z[2] = (J) => C()),
|
|
3347
3347
|
onLast: z[3] || (z[3] = (J) => v())
|
|
3348
3348
|
}, {
|
|
@@ -3355,10 +3355,10 @@ 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
|
-
"panel-id": ((q = (J = T.tabTitles) == null ? void 0 : J[w]) == null ? void 0 : q.panelId) || `${
|
|
3361
|
-
"tab-id": ((y = ($ = T.tabTitles) == null ? void 0 : $[w]) == null ? void 0 : y.tabId) ||
|
|
3360
|
+
"panel-id": ((q = (J = T.tabTitles) == null ? void 0 : J[w]) == null ? void 0 : q.panelId) || `${b(w)}-panel`,
|
|
3361
|
+
"tab-id": ((y = ($ = T.tabTitles) == null ? void 0 : $[w]) == null ? void 0 : y.tabId) || b(w)
|
|
3362
3362
|
}, {
|
|
3363
3363
|
default: F(() => [
|
|
3364
3364
|
ae(x(O), 1)
|
|
@@ -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
|
]);
|
|
@@ -3619,6 +3619,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3619
3619
|
PAGE_FIRST: "mdi:page-first",
|
|
3620
3620
|
PAGE_LAST: "mdi:page-last",
|
|
3621
3621
|
PENCIL_OUTLINE: "mdi:pencil-outline",
|
|
3622
|
+
PEOPLE_GROUP_OUTLINE: "mdi:people-group-outline",
|
|
3622
3623
|
PLUS_CIRCLE_OUTLINE: "mdi:plus-circle-outline",
|
|
3623
3624
|
POST_IT_NOTES_OUTLINE: "mdi:post-it-notes-outline",
|
|
3624
3625
|
SCHOOL_OUTLINE: "mdi:school-outline",
|
|
@@ -3682,7 +3683,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3682
3683
|
}
|
|
3683
3684
|
});
|
|
3684
3685
|
return t({ computedSvgScale: i }), (u, A) => {
|
|
3685
|
-
const d =
|
|
3686
|
+
const d = xt;
|
|
3686
3687
|
return c(), U(d, Y(n, {
|
|
3687
3688
|
class: ["av-button", [f(r), f(l), f(s)]],
|
|
3688
3689
|
disabled: n.disabled || u.isLoading,
|
|
@@ -3694,7 +3695,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3694
3695
|
}), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title"]);
|
|
3695
3696
|
};
|
|
3696
3697
|
}
|
|
3697
|
-
}),
|
|
3698
|
+
}), 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
3699
|
__name: "AvAlert",
|
|
3699
3700
|
props: {
|
|
3700
3701
|
alert: { type: Boolean, default: !1 },
|
|
@@ -3754,7 +3755,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3754
3755
|
], !0)
|
|
3755
3756
|
])
|
|
3756
3757
|
]),
|
|
3757
|
-
l.closeable ? (c(), U(
|
|
3758
|
+
l.closeable ? (c(), U(Ne, {
|
|
3758
3759
|
key: 0,
|
|
3759
3760
|
"icon-only": "",
|
|
3760
3761
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -3809,7 +3810,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3809
3810
|
})
|
|
3810
3811
|
]));
|
|
3811
3812
|
}
|
|
3812
|
-
}), Dc = /* @__PURE__ */ G(Ii, [["__scopeId", "data-v-202438c7"]]), hi = ["aria-label"], yi = { class: "fr-btns-group" },
|
|
3813
|
+
}), Dc = /* @__PURE__ */ G(Ii, [["__scopeId", "data-v-202438c7"]]), hi = ["aria-label"], yi = { class: "fr-btns-group" }, An = /* @__PURE__ */ j({
|
|
3813
3814
|
__name: "AvHeaderMenuLinks",
|
|
3814
3815
|
props: {
|
|
3815
3816
|
links: {},
|
|
@@ -3824,7 +3825,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3824
3825
|
}, [
|
|
3825
3826
|
h("ul", yi, [
|
|
3826
3827
|
(c(!0), p(K, null, te(a.links, (r, l) => (c(), p("li", { key: l }, [
|
|
3827
|
-
R(
|
|
3828
|
+
R(Ne, {
|
|
3828
3829
|
icon: r.icon,
|
|
3829
3830
|
label: r.label ?? "",
|
|
3830
3831
|
"on-click": (s) => {
|
|
@@ -3888,7 +3889,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3888
3889
|
}, Ui = ["aria-label"], qi = { class: "fr-container" }, Hi = { class: "fr-header__menu-links" }, Xi = {
|
|
3889
3890
|
key: 1,
|
|
3890
3891
|
class: "flex justify-center items-center demo-display-none"
|
|
3891
|
-
},
|
|
3892
|
+
}, Zi = { class: "fr-header__menu fr-modal" }, Ri = {
|
|
3892
3893
|
key: 0,
|
|
3893
3894
|
class: "fr-container"
|
|
3894
3895
|
}, Fi = /* @__PURE__ */ j({
|
|
@@ -3912,7 +3913,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3912
3913
|
},
|
|
3913
3914
|
emits: ["update:modelValue", "search", "languageSelect"],
|
|
3914
3915
|
setup(e, { emit: t }) {
|
|
3915
|
-
const n = e, a = t, o = fe(), r =
|
|
3916
|
+
const n = e, a = t, o = fe(), r = At(n, "languageSelector"), l = Z(!1), s = Z(!1), i = Z(!1);
|
|
3916
3917
|
function u() {
|
|
3917
3918
|
var v;
|
|
3918
3919
|
i.value = !1, l.value = !1, s.value = !1, (v = document.getElementById("button-menu")) == null || v.focus();
|
|
@@ -3931,13 +3932,13 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3931
3932
|
(v = document.getElementById("close-button")) == null || v.focus();
|
|
3932
3933
|
});
|
|
3933
3934
|
}
|
|
3934
|
-
function
|
|
3935
|
+
function b() {
|
|
3935
3936
|
i.value = !0, l.value = !1, s.value = !0;
|
|
3936
3937
|
}
|
|
3937
|
-
const
|
|
3938
|
-
return
|
|
3938
|
+
const m = u, I = M(() => [n.homeLabel, n.serviceTitle].filter((v) => v).join(" - ")), C = M(() => !!o.mainnav);
|
|
3939
|
+
return ut(xn, () => u), (v, k) => {
|
|
3939
3940
|
var z, O;
|
|
3940
|
-
const S =
|
|
3941
|
+
const S = Dt("RouterLink"), Q = Er, T = Lr;
|
|
3941
3942
|
return c(), p("header", Ti, [
|
|
3942
3943
|
h("div", ki, [
|
|
3943
3944
|
h("div", Qi, [
|
|
@@ -3963,7 +3964,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3963
3964
|
"aria-label": v.showSearchLabel,
|
|
3964
3965
|
title: v.showSearchLabel,
|
|
3965
3966
|
"data-fr-opened": f(s),
|
|
3966
|
-
onClick: k[0] || (k[0] = ce((w) =>
|
|
3967
|
+
onClick: k[0] || (k[0] = ce((w) => b(), ["prevent", "stop"]))
|
|
3967
3968
|
}, null, 8, zi)) : D("", !0),
|
|
3968
3969
|
f(C) || (O = v.quickLinks) != null && O.length ? (c(), p("button", {
|
|
3969
3970
|
key: 1,
|
|
@@ -3987,7 +3988,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3987
3988
|
h("div", xi, [
|
|
3988
3989
|
h("div", Wi, [
|
|
3989
3990
|
B(v.$slots, "before-quick-links", {}, void 0, !0),
|
|
3990
|
-
f(l) ? D("", !0) : (c(), U(
|
|
3991
|
+
f(l) ? D("", !0) : (c(), U(An, {
|
|
3991
3992
|
key: 0,
|
|
3992
3993
|
links: v.quickLinks,
|
|
3993
3994
|
"nav-aria-label": v.quickLinksAriaLabel
|
|
@@ -4031,12 +4032,12 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4031
4032
|
onSelect: k[6] || (k[6] = (w) => f(r).currentLanguage = w.codeIso)
|
|
4032
4033
|
}), null, 16)) : D("", !0),
|
|
4033
4034
|
B(v.$slots, "before-quick-links", {}, void 0, !0),
|
|
4034
|
-
f(l) ? (c(), U(
|
|
4035
|
+
f(l) ? (c(), U(An, {
|
|
4035
4036
|
key: 1,
|
|
4036
4037
|
role: "navigation",
|
|
4037
4038
|
links: v.quickLinks,
|
|
4038
4039
|
"nav-aria-label": v.quickLinksAriaLabel,
|
|
4039
|
-
onLinkClick: f(
|
|
4040
|
+
onLinkClick: f(m)
|
|
4040
4041
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
|
|
4041
4042
|
B(v.$slots, "after-quick-links", {}, void 0, !0)
|
|
4042
4043
|
]),
|
|
@@ -4058,8 +4059,8 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4058
4059
|
B(v.$slots, "default", {}, void 0, !0)
|
|
4059
4060
|
])
|
|
4060
4061
|
]),
|
|
4061
|
-
h("div",
|
|
4062
|
-
f(C) && !f(i) ? (c(), p("div",
|
|
4062
|
+
h("div", Zi, [
|
|
4063
|
+
f(C) && !f(i) ? (c(), p("div", Ri, [
|
|
4063
4064
|
B(v.$slots, "mainnav", { hidemodal: u }, void 0, !0)
|
|
4064
4065
|
])) : D("", !0)
|
|
4065
4066
|
])
|
|
@@ -4125,7 +4126,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4125
4126
|
const t = fe(), n = M(() => {
|
|
4126
4127
|
var r;
|
|
4127
4128
|
return ((r = t.default) == null ? void 0 : r.call(t)) || [];
|
|
4128
|
-
}), a =
|
|
4129
|
+
}), a = qe(e, "activeAccordion"), o = `accordion-group-${crypto.randomUUID()}`;
|
|
4129
4130
|
return (r, l) => (c(), U(f(Lo), {
|
|
4130
4131
|
modelValue: a.value,
|
|
4131
4132
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => a.value = s),
|
|
@@ -4267,7 +4268,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4267
4268
|
if (I.preventDefault(), r.value = !1, n.disabled || !((k = (v = I.dataTransfer) == null ? void 0 : v.files) != null && k.length))
|
|
4268
4269
|
return;
|
|
4269
4270
|
const C = Array.from(I.dataTransfer.files).filter(l);
|
|
4270
|
-
await
|
|
4271
|
+
await De(), C.length ? (a("change", C), a("update:modelValue", C[0] ?? "")) : a("onDropAcceptTypeError");
|
|
4271
4272
|
}
|
|
4272
4273
|
function i(I) {
|
|
4273
4274
|
I.preventDefault(), n.disabled || (r.value = !0);
|
|
@@ -4279,7 +4280,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4279
4280
|
const C = I.target.files;
|
|
4280
4281
|
a("change", C), a("update:modelValue", (C == null ? void 0 : C[0]) ?? null);
|
|
4281
4282
|
}
|
|
4282
|
-
const d = M(() => n.fileName || n.modelValue && !n.enableMultiple),
|
|
4283
|
+
const d = M(() => n.fileName || n.modelValue && !n.enableMultiple), b = M(() => ({
|
|
4283
4284
|
for: n.id,
|
|
4284
4285
|
class: [
|
|
4285
4286
|
"fr-upload-group",
|
|
@@ -4295,12 +4296,12 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4295
4296
|
onDragleave: u,
|
|
4296
4297
|
onDrop: s
|
|
4297
4298
|
}));
|
|
4298
|
-
function
|
|
4299
|
+
function m(I) {
|
|
4299
4300
|
var C;
|
|
4300
4301
|
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (C = n.onDeleteFile) == null || C.call(n);
|
|
4301
4302
|
}
|
|
4302
4303
|
return (I, C) => (c(), p(K, null, [
|
|
4303
|
-
(c(), U(de(f(d) ? "div" : "label"), Y(f(d) ? {} : f(
|
|
4304
|
+
(c(), U(de(f(d) ? "div" : "label"), Y(f(d) ? {} : f(b), {
|
|
4304
4305
|
class: f(d) ? "file-preview-container" : ""
|
|
4305
4306
|
}), {
|
|
4306
4307
|
default: F(() => [
|
|
@@ -4330,11 +4331,11 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4330
4331
|
}, null, 8, ["valid-message", "error"])
|
|
4331
4332
|
]),
|
|
4332
4333
|
h("div", bs, [
|
|
4333
|
-
f(d) ? (c(), U(
|
|
4334
|
+
f(d) ? (c(), U(Ne, {
|
|
4334
4335
|
key: 0,
|
|
4335
4336
|
label: I.deleteButtonLabel,
|
|
4336
4337
|
theme: "SECONDARY",
|
|
4337
|
-
onClick: C[0] || (C[0] = () =>
|
|
4338
|
+
onClick: C[0] || (C[0] = () => m(I.modelValue))
|
|
4338
4339
|
}, null, 8, ["label"])) : (c(), U(se, {
|
|
4339
4340
|
key: 1,
|
|
4340
4341
|
size: 1.5,
|
|
@@ -4430,7 +4431,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4430
4431
|
minlength: u.minlength
|
|
4431
4432
|
}, u.$attrs, {
|
|
4432
4433
|
"onUpdate:modelValue": A[0] || (A[0] = (d) => a("update:modelValue", d))
|
|
4433
|
-
}),
|
|
4434
|
+
}), We({ _: 2 }, [
|
|
4434
4435
|
o.requiredTip ? {
|
|
4435
4436
|
name: "required-tip",
|
|
4436
4437
|
fn: F(() => [
|
|
@@ -4450,14 +4451,14 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4450
4451
|
}, !0)
|
|
4451
4452
|
]),
|
|
4452
4453
|
f(r).length > 0 ? (c(), p("div", Ns, [
|
|
4453
|
-
(c(!0), p(K, null, te(f(r), (d,
|
|
4454
|
-
key:
|
|
4454
|
+
(c(!0), p(K, null, te(f(r), (d, b) => (c(), p("div", {
|
|
4455
|
+
key: b,
|
|
4455
4456
|
class: "av-input__error-message"
|
|
4456
4457
|
}, x(d), 1))), 128))
|
|
4457
4458
|
])) : D("", !0),
|
|
4458
4459
|
f(l).length > 0 ? (c(), p("div", Ts, [
|
|
4459
|
-
(c(!0), p(K, null, te(f(l), (d,
|
|
4460
|
-
key:
|
|
4460
|
+
(c(!0), p(K, null, te(f(l), (d, b) => (c(), p("div", {
|
|
4461
|
+
key: b,
|
|
4461
4462
|
class: "av-input__valid-message"
|
|
4462
4463
|
}, x(d), 1))), 128))
|
|
4463
4464
|
])) : D("", !0)
|
|
@@ -4500,7 +4501,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4500
4501
|
B(o.$slots, "default", {}, void 0, !0)
|
|
4501
4502
|
], 10, Ls));
|
|
4502
4503
|
}
|
|
4503
|
-
}),
|
|
4504
|
+
}), Yn = /* @__PURE__ */ G(Os, [["__scopeId", "data-v-f74989f7"]]), Uc = {
|
|
4504
4505
|
name: "AvListItem",
|
|
4505
4506
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
4506
4507
|
emits: ["click"],
|
|
@@ -4596,7 +4597,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4596
4597
|
}, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
|
|
4597
4598
|
], 8, Ss));
|
|
4598
4599
|
}
|
|
4599
|
-
}),
|
|
4600
|
+
}), Gn = /* @__PURE__ */ G(Ps, [["__scopeId", "data-v-4f3ffe7f"]]);
|
|
4600
4601
|
function xs(e) {
|
|
4601
4602
|
return [...new Set(e)];
|
|
4602
4603
|
}
|
|
@@ -4633,12 +4634,12 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4633
4634
|
function d(C) {
|
|
4634
4635
|
return A.value.some((v) => v.value === C.value);
|
|
4635
4636
|
}
|
|
4636
|
-
function
|
|
4637
|
+
function b(C) {
|
|
4637
4638
|
l ? (d(C) ? A.value = A.value.filter(
|
|
4638
4639
|
(k) => k.value !== C.value
|
|
4639
4640
|
) : A.value.push(C), s([...A.value])) : (A.value = [C], s(C));
|
|
4640
4641
|
}
|
|
4641
|
-
function
|
|
4642
|
+
function m(C) {
|
|
4642
4643
|
return d(C) ? ne.CHECK : void 0;
|
|
4643
4644
|
}
|
|
4644
4645
|
function I(C) {
|
|
@@ -4663,18 +4664,18 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4663
4664
|
"fr-tag--disabled": I(S)
|
|
4664
4665
|
}),
|
|
4665
4666
|
label: S.label,
|
|
4666
|
-
icon:
|
|
4667
|
+
icon: m(S),
|
|
4667
4668
|
disabled: I(S),
|
|
4668
4669
|
selectable: "",
|
|
4669
4670
|
selected: d(S),
|
|
4670
|
-
onSelect: () =>
|
|
4671
|
+
onSelect: () => b(S)
|
|
4671
4672
|
}, null, 8, ["class", "label", "icon", "disabled", "selected", "onSelect"])
|
|
4672
4673
|
]))), 128))
|
|
4673
4674
|
]);
|
|
4674
4675
|
};
|
|
4675
4676
|
}
|
|
4676
4677
|
}), Us = /* @__PURE__ */ G(Vs, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
4677
|
-
var
|
|
4678
|
+
var Jn = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Jn || {});
|
|
4678
4679
|
const Hc = [
|
|
4679
4680
|
4,
|
|
4680
4681
|
8,
|
|
@@ -4688,7 +4689,7 @@ const Hc = [
|
|
|
4688
4689
|
handleSelectChange: { type: Function }
|
|
4689
4690
|
},
|
|
4690
4691
|
setup(e) {
|
|
4691
|
-
const t = M(() => Object.values(
|
|
4692
|
+
const t = M(() => Object.values(Jn).filter((a) => typeof a == "number").map((a) => ({
|
|
4692
4693
|
label: a.toString(),
|
|
4693
4694
|
value: a.toString()
|
|
4694
4695
|
}))), n = M(() => ({
|
|
@@ -4707,7 +4708,7 @@ const Hc = [
|
|
|
4707
4708
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
4708
4709
|
]));
|
|
4709
4710
|
}
|
|
4710
|
-
}), Xc = /* @__PURE__ */ G(Hs, [["__scopeId", "data-v-d72fe5ab"]]),
|
|
4711
|
+
}), Xc = /* @__PURE__ */ G(Hs, [["__scopeId", "data-v-d72fe5ab"]]), Zc = {
|
|
4711
4712
|
name: "AvTagPicker",
|
|
4712
4713
|
props: [
|
|
4713
4714
|
"label",
|
|
@@ -4738,7 +4739,7 @@ const Hc = [
|
|
|
4738
4739
|
setup(e) {
|
|
4739
4740
|
return (t, n) => B(t.$slots, "default");
|
|
4740
4741
|
}
|
|
4741
|
-
}),
|
|
4742
|
+
}), Rc = /* @__PURE__ */ j({
|
|
4742
4743
|
__name: "AvRadioButtonSet",
|
|
4743
4744
|
props: {
|
|
4744
4745
|
name: {},
|
|
@@ -4771,14 +4772,14 @@ const Hc = [
|
|
|
4771
4772
|
A && o("update:modelValue", A);
|
|
4772
4773
|
}), t({ selected: u }), (A, d) => (c(), U(f(Bl), Y(a, { "model-value": f(u) }), {
|
|
4773
4774
|
default: F(() => [
|
|
4774
|
-
(c(!0), p(K, null, te(f(i), (
|
|
4775
|
+
(c(!0), p(K, null, te(f(i), (b, m) => {
|
|
4775
4776
|
var I, C;
|
|
4776
|
-
return c(), U(f(
|
|
4777
|
-
key:
|
|
4777
|
+
return c(), U(f(Rn), {
|
|
4778
|
+
key: m,
|
|
4778
4779
|
modelValue: f(u),
|
|
4779
|
-
"onUpdate:modelValue": d[0] || (d[0] = (v) =>
|
|
4780
|
-
value: (I =
|
|
4781
|
-
disabled: ((C =
|
|
4780
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => wt(u) ? u.value = v : null),
|
|
4781
|
+
value: (I = b.props) == null ? void 0 : I.value,
|
|
4782
|
+
disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? a.disabled,
|
|
4782
4783
|
small: a.small,
|
|
4783
4784
|
inline: a.inline,
|
|
4784
4785
|
name: a.name
|
|
@@ -4786,7 +4787,7 @@ const Hc = [
|
|
|
4786
4787
|
label: F(() => {
|
|
4787
4788
|
var v;
|
|
4788
4789
|
return [
|
|
4789
|
-
(c(), U(de((v =
|
|
4790
|
+
(c(), U(de((v = b.children) == null ? void 0 : v.default)))
|
|
4790
4791
|
];
|
|
4791
4792
|
}),
|
|
4792
4793
|
_: 2
|
|
@@ -4813,22 +4814,22 @@ const Hc = [
|
|
|
4813
4814
|
emits: ["update:modelValue", "search", "clear", "loadMore"],
|
|
4814
4815
|
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
4816
|
};
|
|
4816
|
-
var
|
|
4817
|
-
const
|
|
4818
|
-
function
|
|
4819
|
-
const e =
|
|
4817
|
+
var Le = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(Le || {});
|
|
4818
|
+
const _n = Symbol("AvAutocompleteContext");
|
|
4819
|
+
function Vt() {
|
|
4820
|
+
const e = Xe(_n);
|
|
4820
4821
|
if (!e)
|
|
4821
4822
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
4822
4823
|
return e;
|
|
4823
4824
|
}
|
|
4824
|
-
function
|
|
4825
|
+
function $n(e) {
|
|
4825
4826
|
return ha() ? (ya(e), !0) : !1;
|
|
4826
4827
|
}
|
|
4827
|
-
const
|
|
4828
|
+
const Zs = typeof window < "u" && typeof document < "u";
|
|
4828
4829
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
4829
|
-
const
|
|
4830
|
+
const Rs = (e) => e != null, Fs = Object.prototype.toString, Ks = (e) => Fs.call(e) === "[object Object]", Se = () => {
|
|
4830
4831
|
};
|
|
4831
|
-
function
|
|
4832
|
+
function ea(e, t) {
|
|
4832
4833
|
function n(...a) {
|
|
4833
4834
|
return new Promise((o, r) => {
|
|
4834
4835
|
Promise.resolve(e(() => t.apply(this, a), { fn: t, thisArg: this, args: a })).then(o).catch(r);
|
|
@@ -4837,15 +4838,15 @@ function ta(e, t) {
|
|
|
4837
4838
|
return n;
|
|
4838
4839
|
}
|
|
4839
4840
|
function Ys(e, t = {}) {
|
|
4840
|
-
let n, a, o =
|
|
4841
|
+
let n, a, o = Se;
|
|
4841
4842
|
const r = (i) => {
|
|
4842
|
-
clearTimeout(i), o(), o =
|
|
4843
|
+
clearTimeout(i), o(), o = Se;
|
|
4843
4844
|
};
|
|
4844
4845
|
let l;
|
|
4845
4846
|
return (i) => {
|
|
4846
4847
|
const u = ie(e), A = ie(t.maxWait);
|
|
4847
|
-
return n && r(n), u <= 0 || A !== void 0 && A <= 0 ? (a && (r(a), a = void 0), Promise.resolve(i())) : new Promise((d,
|
|
4848
|
-
o = t.rejectOnCancel ?
|
|
4848
|
+
return n && r(n), u <= 0 || A !== void 0 && A <= 0 ? (a && (r(a), a = void 0), Promise.resolve(i())) : new Promise((d, b) => {
|
|
4849
|
+
o = t.rejectOnCancel ? b : d, l = i, A && !a && (a = setTimeout(() => {
|
|
4849
4850
|
n && r(n), a = void 0, d(l());
|
|
4850
4851
|
}, A)), n = setTimeout(() => {
|
|
4851
4852
|
a && r(a), a = void 0, d(i());
|
|
@@ -4854,42 +4855,42 @@ function Ys(e, t = {}) {
|
|
|
4854
4855
|
};
|
|
4855
4856
|
}
|
|
4856
4857
|
function Gs(...e) {
|
|
4857
|
-
let t = 0, n, a = !0, o =
|
|
4858
|
-
!
|
|
4858
|
+
let t = 0, n, a = !0, o = Se, r, l, s, i, u;
|
|
4859
|
+
!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
4860
|
const A = () => {
|
|
4860
|
-
n && (clearTimeout(n), n = void 0, o(), o =
|
|
4861
|
+
n && (clearTimeout(n), n = void 0, o(), o = Se);
|
|
4861
4862
|
};
|
|
4862
|
-
return (
|
|
4863
|
-
const
|
|
4864
|
-
return A(),
|
|
4863
|
+
return (b) => {
|
|
4864
|
+
const m = ie(l), I = Date.now() - t, C = () => r = b();
|
|
4865
|
+
return A(), m <= 0 ? (t = Date.now(), C()) : (I > m && (i || !a) ? (t = Date.now(), C()) : s && (r = new Promise((v, k) => {
|
|
4865
4866
|
o = u ? k : v, n = setTimeout(() => {
|
|
4866
4867
|
t = Date.now(), a = !0, v(C()), A();
|
|
4867
|
-
}, Math.max(0,
|
|
4868
|
-
})), !i && !n && (n = setTimeout(() => a = !0,
|
|
4868
|
+
}, Math.max(0, m - I));
|
|
4869
|
+
})), !i && !n && (n = setTimeout(() => a = !0, m)), a = !1, r);
|
|
4869
4870
|
};
|
|
4870
4871
|
}
|
|
4871
|
-
function
|
|
4872
|
+
function Je(e) {
|
|
4872
4873
|
return Array.isArray(e) ? e : [e];
|
|
4873
4874
|
}
|
|
4874
4875
|
function Js(e) {
|
|
4875
|
-
return
|
|
4876
|
+
return En();
|
|
4876
4877
|
}
|
|
4877
4878
|
// @__NO_SIDE_EFFECTS__
|
|
4878
4879
|
function _s(e, t = 200, n = {}) {
|
|
4879
|
-
return
|
|
4880
|
+
return ea(
|
|
4880
4881
|
Ys(t, n),
|
|
4881
4882
|
e
|
|
4882
4883
|
);
|
|
4883
4884
|
}
|
|
4884
4885
|
// @__NO_SIDE_EFFECTS__
|
|
4885
4886
|
function $s(e, t = 200, n = !1, a = !0, o = !1) {
|
|
4886
|
-
return
|
|
4887
|
+
return ea(
|
|
4887
4888
|
Gs(t, n, a, o),
|
|
4888
4889
|
e
|
|
4889
4890
|
);
|
|
4890
4891
|
}
|
|
4891
4892
|
function eu(e, t = !0, n) {
|
|
4892
|
-
Js() ? ue(e, n) : t ? e() :
|
|
4893
|
+
Js() ? ue(e, n) : t ? e() : De(e);
|
|
4893
4894
|
}
|
|
4894
4895
|
function tu(e, t, n) {
|
|
4895
4896
|
return oe(
|
|
@@ -4901,25 +4902,25 @@ function tu(e, t, n) {
|
|
|
4901
4902
|
}
|
|
4902
4903
|
);
|
|
4903
4904
|
}
|
|
4904
|
-
const
|
|
4905
|
-
function
|
|
4905
|
+
const Ut = Zs ? window : void 0;
|
|
4906
|
+
function qt(e) {
|
|
4906
4907
|
var t;
|
|
4907
4908
|
const n = ie(e);
|
|
4908
4909
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
4909
4910
|
}
|
|
4910
|
-
function
|
|
4911
|
+
function cn(...e) {
|
|
4911
4912
|
const t = [], n = () => {
|
|
4912
4913
|
t.forEach((s) => s()), t.length = 0;
|
|
4913
4914
|
}, a = (s, i, u, A) => (s.addEventListener(i, u, A), () => s.removeEventListener(i, u, A)), o = M(() => {
|
|
4914
|
-
const s =
|
|
4915
|
+
const s = Je(ie(e[0])).filter((i) => i != null);
|
|
4915
4916
|
return s.every((i) => typeof i != "string") ? s : void 0;
|
|
4916
4917
|
}), r = tu(
|
|
4917
4918
|
() => {
|
|
4918
4919
|
var s, i;
|
|
4919
4920
|
return [
|
|
4920
|
-
(i = (s = o.value) == null ? void 0 : s.map((u) =>
|
|
4921
|
-
|
|
4922
|
-
|
|
4921
|
+
(i = (s = o.value) == null ? void 0 : s.map((u) => qt(u))) != null ? i : [Ut].filter((u) => u != null),
|
|
4922
|
+
Je(ie(o.value ? e[1] : e[0])),
|
|
4923
|
+
Je(f(o.value ? e[2] : e[1])),
|
|
4923
4924
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
4924
4925
|
ie(o.value ? e[3] : e[2])
|
|
4925
4926
|
];
|
|
@@ -4930,8 +4931,8 @@ function dn(...e) {
|
|
|
4930
4931
|
const d = Ks(A) ? { ...A } : A;
|
|
4931
4932
|
t.push(
|
|
4932
4933
|
...s.flatMap(
|
|
4933
|
-
(
|
|
4934
|
-
(
|
|
4934
|
+
(b) => i.flatMap(
|
|
4935
|
+
(m) => u.map((I) => a(b, m, I, d))
|
|
4935
4936
|
)
|
|
4936
4937
|
)
|
|
4937
4938
|
);
|
|
@@ -4940,11 +4941,11 @@ function dn(...e) {
|
|
|
4940
4941
|
), l = () => {
|
|
4941
4942
|
r(), n();
|
|
4942
4943
|
};
|
|
4943
|
-
return
|
|
4944
|
+
return $n(n), l;
|
|
4944
4945
|
}
|
|
4945
4946
|
// @__NO_SIDE_EFFECTS__
|
|
4946
4947
|
function nu() {
|
|
4947
|
-
const e =
|
|
4948
|
+
const e = Fe(!1), t = En();
|
|
4948
4949
|
return t && ue(() => {
|
|
4949
4950
|
e.value = !0;
|
|
4950
4951
|
}, t), e;
|
|
@@ -4955,35 +4956,35 @@ function au(e) {
|
|
|
4955
4956
|
return M(() => (t.value, !!e()));
|
|
4956
4957
|
}
|
|
4957
4958
|
function ou(e, t, n = {}) {
|
|
4958
|
-
const { window: a =
|
|
4959
|
+
const { window: a = Ut, ...o } = n;
|
|
4959
4960
|
let r;
|
|
4960
4961
|
const l = /* @__PURE__ */ au(() => a && "MutationObserver" in a), s = () => {
|
|
4961
4962
|
r && (r.disconnect(), r = void 0);
|
|
4962
4963
|
}, i = M(() => {
|
|
4963
|
-
const
|
|
4964
|
-
return new Set(
|
|
4964
|
+
const b = ie(e), m = Je(b).map(qt).filter(Rs);
|
|
4965
|
+
return new Set(m);
|
|
4965
4966
|
}), u = oe(
|
|
4966
4967
|
i,
|
|
4967
|
-
(
|
|
4968
|
-
s(), l.value &&
|
|
4968
|
+
(b) => {
|
|
4969
|
+
s(), l.value && b.size && (r = new MutationObserver(t), b.forEach((m) => r.observe(m, o)));
|
|
4969
4970
|
},
|
|
4970
4971
|
{ immediate: !0, flush: "post" }
|
|
4971
4972
|
), A = () => r == null ? void 0 : r.takeRecords(), d = () => {
|
|
4972
4973
|
u(), s();
|
|
4973
4974
|
};
|
|
4974
|
-
return
|
|
4975
|
+
return $n(d), {
|
|
4975
4976
|
isSupported: l,
|
|
4976
4977
|
stop: d,
|
|
4977
4978
|
takeRecords: A
|
|
4978
4979
|
};
|
|
4979
4980
|
}
|
|
4980
|
-
const
|
|
4981
|
+
const dn = 1;
|
|
4981
4982
|
function ru(e, t = {}) {
|
|
4982
4983
|
const {
|
|
4983
4984
|
throttle: n = 0,
|
|
4984
4985
|
idle: a = 200,
|
|
4985
|
-
onStop: o =
|
|
4986
|
-
onScroll: r =
|
|
4986
|
+
onStop: o = Se,
|
|
4987
|
+
onScroll: r = Se,
|
|
4987
4988
|
offset: l = {
|
|
4988
4989
|
left: 0,
|
|
4989
4990
|
right: 0,
|
|
@@ -4998,15 +4999,15 @@ function ru(e, t = {}) {
|
|
|
4998
4999
|
passive: !0
|
|
4999
5000
|
},
|
|
5000
5001
|
behavior: u = "auto",
|
|
5001
|
-
window: A =
|
|
5002
|
+
window: A = Ut,
|
|
5002
5003
|
onError: d = (q) => {
|
|
5003
5004
|
console.error(q);
|
|
5004
5005
|
}
|
|
5005
|
-
} = t,
|
|
5006
|
+
} = t, b = typeof s == "boolean" ? {
|
|
5006
5007
|
mutation: s
|
|
5007
|
-
} : s,
|
|
5008
|
+
} : s, m = Fe(0), I = Fe(0), C = M({
|
|
5008
5009
|
get() {
|
|
5009
|
-
return
|
|
5010
|
+
return m.value;
|
|
5010
5011
|
},
|
|
5011
5012
|
set(q) {
|
|
5012
5013
|
k(q, void 0);
|
|
@@ -5032,14 +5033,14 @@ function ru(e, t = {}) {
|
|
|
5032
5033
|
behavior: ie(u)
|
|
5033
5034
|
});
|
|
5034
5035
|
const W = ((E = L == null ? void 0 : L.document) == null ? void 0 : E.documentElement) || (L == null ? void 0 : L.documentElement) || L;
|
|
5035
|
-
C != null && (
|
|
5036
|
+
C != null && (m.value = W.scrollLeft), v != null && (I.value = W.scrollTop);
|
|
5036
5037
|
}
|
|
5037
|
-
const S =
|
|
5038
|
+
const S = Fe(!1), Q = Ct({
|
|
5038
5039
|
left: !0,
|
|
5039
5040
|
right: !1,
|
|
5040
5041
|
top: !0,
|
|
5041
5042
|
bottom: !1
|
|
5042
|
-
}), T =
|
|
5043
|
+
}), T = Ct({
|
|
5043
5044
|
left: !1,
|
|
5044
5045
|
right: !1,
|
|
5045
5046
|
top: !1,
|
|
@@ -5050,13 +5051,13 @@ function ru(e, t = {}) {
|
|
|
5050
5051
|
var $;
|
|
5051
5052
|
if (!A)
|
|
5052
5053
|
return;
|
|
5053
|
-
const y = (($ = q == null ? void 0 : q.document) == null ? void 0 : $.documentElement) || (q == null ? void 0 : q.documentElement) ||
|
|
5054
|
-
T.left = W <
|
|
5055
|
-
const P = Math.abs(W * L) <= (l.left || 0), H = Math.abs(W * L) + y.clientWidth >= y.scrollWidth - (l.right || 0) -
|
|
5056
|
-
N === "flex" && g === "row-reverse" ? (Q.left = H, Q.right = P) : (Q.left = P, Q.right = H),
|
|
5054
|
+
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;
|
|
5055
|
+
T.left = W < m.value, T.right = W > m.value;
|
|
5056
|
+
const P = Math.abs(W * L) <= (l.left || 0), H = Math.abs(W * L) + y.clientWidth >= y.scrollWidth - (l.right || 0) - dn;
|
|
5057
|
+
N === "flex" && g === "row-reverse" ? (Q.left = H, Q.right = P) : (Q.left = P, Q.right = H), m.value = W;
|
|
5057
5058
|
let V = y.scrollTop;
|
|
5058
5059
|
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) -
|
|
5060
|
+
const _ = Math.abs(V) <= (l.top || 0), ee = Math.abs(V) + y.clientHeight >= y.scrollHeight - (l.bottom || 0) - dn;
|
|
5060
5061
|
N === "flex" && g === "column-reverse" ? (Q.top = ee, Q.bottom = _) : (Q.top = _, Q.bottom = ee), I.value = V;
|
|
5061
5062
|
}, J = (q) => {
|
|
5062
5063
|
var $;
|
|
@@ -5065,7 +5066,7 @@ function ru(e, t = {}) {
|
|
|
5065
5066
|
const y = ($ = q.target.documentElement) != null ? $ : q.target;
|
|
5066
5067
|
w(y), S.value = !0, O(q), r(q);
|
|
5067
5068
|
};
|
|
5068
|
-
return
|
|
5069
|
+
return cn(
|
|
5069
5070
|
e,
|
|
5070
5071
|
"scroll",
|
|
5071
5072
|
n ? /* @__PURE__ */ $s(J, n, !0, !1) : J,
|
|
@@ -5079,7 +5080,7 @@ function ru(e, t = {}) {
|
|
|
5079
5080
|
} catch (q) {
|
|
5080
5081
|
d(q);
|
|
5081
5082
|
}
|
|
5082
|
-
}),
|
|
5083
|
+
}), b != null && b.mutation && e != null && e !== A && e !== document && ou(
|
|
5083
5084
|
e,
|
|
5084
5085
|
() => {
|
|
5085
5086
|
const q = ie(e);
|
|
@@ -5090,7 +5091,7 @@ function ru(e, t = {}) {
|
|
|
5090
5091
|
childList: !0,
|
|
5091
5092
|
subtree: !0
|
|
5092
5093
|
}
|
|
5093
|
-
),
|
|
5094
|
+
), cn(
|
|
5094
5095
|
e,
|
|
5095
5096
|
"scrollend",
|
|
5096
5097
|
z,
|
|
@@ -5107,24 +5108,24 @@ function ru(e, t = {}) {
|
|
|
5107
5108
|
}
|
|
5108
5109
|
};
|
|
5109
5110
|
}
|
|
5110
|
-
var lu = typeof global == "object" && global && global.Object === Object && global, iu = typeof self == "object" && self && self.Object === Object && self,
|
|
5111
|
+
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
5112
|
function Au(e) {
|
|
5112
|
-
var t = su.call(e,
|
|
5113
|
+
var t = su.call(e, Pe), n = e[Pe];
|
|
5113
5114
|
try {
|
|
5114
|
-
e[
|
|
5115
|
+
e[Pe] = void 0;
|
|
5115
5116
|
var a = !0;
|
|
5116
5117
|
} catch {
|
|
5117
5118
|
}
|
|
5118
5119
|
var o = uu.call(e);
|
|
5119
|
-
return a && (t ? e[
|
|
5120
|
+
return a && (t ? e[Pe] = n : delete e[Pe]), o;
|
|
5120
5121
|
}
|
|
5121
5122
|
var cu = Object.prototype, du = cu.toString;
|
|
5122
5123
|
function fu(e) {
|
|
5123
5124
|
return du.call(e);
|
|
5124
5125
|
}
|
|
5125
|
-
var pu = "[object Null]", vu = "[object Undefined]",
|
|
5126
|
+
var pu = "[object Null]", vu = "[object Undefined]", fn = at ? at.toStringTag : void 0;
|
|
5126
5127
|
function gu(e) {
|
|
5127
|
-
return e == null ? e === void 0 ? vu : pu :
|
|
5128
|
+
return e == null ? e === void 0 ? vu : pu : fn && fn in Object(e) ? Au(e) : fu(e);
|
|
5128
5129
|
}
|
|
5129
5130
|
function bu(e) {
|
|
5130
5131
|
return e != null && typeof e == "object";
|
|
@@ -5143,40 +5144,40 @@ var Cu = /^\s+/;
|
|
|
5143
5144
|
function Eu(e) {
|
|
5144
5145
|
return e && e.slice(0, yu(e) + 1).replace(Cu, "");
|
|
5145
5146
|
}
|
|
5146
|
-
function
|
|
5147
|
+
function Lt(e) {
|
|
5147
5148
|
var t = typeof e;
|
|
5148
5149
|
return e != null && (t == "object" || t == "function");
|
|
5149
5150
|
}
|
|
5150
|
-
var
|
|
5151
|
-
function
|
|
5151
|
+
var pn = NaN, Mu = /^[-+]0x[0-9a-f]+$/i, Nu = /^0b[01]+$/i, Tu = /^0o[0-7]+$/i, ku = parseInt;
|
|
5152
|
+
function vn(e) {
|
|
5152
5153
|
if (typeof e == "number")
|
|
5153
5154
|
return e;
|
|
5154
5155
|
if (Iu(e))
|
|
5155
|
-
return
|
|
5156
|
-
if (
|
|
5156
|
+
return pn;
|
|
5157
|
+
if (Lt(e)) {
|
|
5157
5158
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
5158
|
-
e =
|
|
5159
|
+
e = Lt(t) ? t + "" : t;
|
|
5159
5160
|
}
|
|
5160
5161
|
if (typeof e != "string")
|
|
5161
5162
|
return e === 0 ? e : +e;
|
|
5162
5163
|
e = Eu(e);
|
|
5163
5164
|
var n = Nu.test(e);
|
|
5164
|
-
return n || Tu.test(e) ? ku(e.slice(2), n ? 2 : 8) : Mu.test(e) ?
|
|
5165
|
+
return n || Tu.test(e) ? ku(e.slice(2), n ? 2 : 8) : Mu.test(e) ? pn : +e;
|
|
5165
5166
|
}
|
|
5166
|
-
var
|
|
5167
|
-
return
|
|
5167
|
+
var ht = function() {
|
|
5168
|
+
return ta.Date.now();
|
|
5168
5169
|
}, Qu = "Expected a function", Lu = Math.max, Ou = Math.min;
|
|
5169
|
-
function
|
|
5170
|
-
var a, o, r, l, s, i, u = 0, A = !1, d = !1,
|
|
5170
|
+
function aa(e, t, n) {
|
|
5171
|
+
var a, o, r, l, s, i, u = 0, A = !1, d = !1, b = !0;
|
|
5171
5172
|
if (typeof e != "function")
|
|
5172
5173
|
throw new TypeError(Qu);
|
|
5173
|
-
t =
|
|
5174
|
-
function
|
|
5174
|
+
t = vn(t) || 0, Lt(n) && (A = !!n.leading, d = "maxWait" in n, r = d ? Lu(vn(n.maxWait) || 0, t) : r, b = "trailing" in n ? !!n.trailing : b);
|
|
5175
|
+
function m(O) {
|
|
5175
5176
|
var w = a, J = o;
|
|
5176
5177
|
return a = o = void 0, u = O, l = e.apply(J, w), l;
|
|
5177
5178
|
}
|
|
5178
5179
|
function I(O) {
|
|
5179
|
-
return u = O, s = setTimeout(k, t), A ?
|
|
5180
|
+
return u = O, s = setTimeout(k, t), A ? m(O) : l;
|
|
5180
5181
|
}
|
|
5181
5182
|
function C(O) {
|
|
5182
5183
|
var w = O - i, J = O - u, q = t - w;
|
|
@@ -5187,27 +5188,27 @@ function oa(e, t, n) {
|
|
|
5187
5188
|
return i === void 0 || w >= t || w < 0 || d && J >= r;
|
|
5188
5189
|
}
|
|
5189
5190
|
function k() {
|
|
5190
|
-
var O =
|
|
5191
|
+
var O = ht();
|
|
5191
5192
|
if (v(O))
|
|
5192
5193
|
return S(O);
|
|
5193
5194
|
s = setTimeout(k, C(O));
|
|
5194
5195
|
}
|
|
5195
5196
|
function S(O) {
|
|
5196
|
-
return s = void 0,
|
|
5197
|
+
return s = void 0, b && a ? m(O) : (a = o = void 0, l);
|
|
5197
5198
|
}
|
|
5198
5199
|
function Q() {
|
|
5199
5200
|
s !== void 0 && clearTimeout(s), u = 0, a = i = o = s = void 0;
|
|
5200
5201
|
}
|
|
5201
5202
|
function T() {
|
|
5202
|
-
return s === void 0 ? l : S(
|
|
5203
|
+
return s === void 0 ? l : S(ht());
|
|
5203
5204
|
}
|
|
5204
5205
|
function z() {
|
|
5205
|
-
var O =
|
|
5206
|
+
var O = ht(), w = v(O);
|
|
5206
5207
|
if (a = arguments, o = this, i = O, w) {
|
|
5207
5208
|
if (s === void 0)
|
|
5208
5209
|
return I(i);
|
|
5209
5210
|
if (d)
|
|
5210
|
-
return clearTimeout(s), s = setTimeout(k, t),
|
|
5211
|
+
return clearTimeout(s), s = setTimeout(k, t), m(i);
|
|
5211
5212
|
}
|
|
5212
5213
|
return s === void 0 && (s = setTimeout(k, t)), l;
|
|
5213
5214
|
}
|
|
@@ -5233,7 +5234,7 @@ const Su = {
|
|
|
5233
5234
|
props: i,
|
|
5234
5235
|
getOptionId: u,
|
|
5235
5236
|
getDisplayLabel: A
|
|
5236
|
-
} =
|
|
5237
|
+
} = Vt(), d = Z(), b = Z(), m = M(() => {
|
|
5237
5238
|
if (!i.options)
|
|
5238
5239
|
return [];
|
|
5239
5240
|
if (i.serverSideFiltering)
|
|
@@ -5245,7 +5246,7 @@ const Su = {
|
|
|
5245
5246
|
}
|
|
5246
5247
|
let T;
|
|
5247
5248
|
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 ?
|
|
5249
|
+
}), I = M(() => i.loading ? Le.LOADING : s.value && i.options && i.options.length > 0 && m.value.length > 0 ? Le.HAS_OPTIONS : Le.NO_OPTIONS);
|
|
5249
5250
|
function C(Q) {
|
|
5250
5251
|
return r.value.some(
|
|
5251
5252
|
(T) => u(T) === u(Q)
|
|
@@ -5263,9 +5264,9 @@ const Su = {
|
|
|
5263
5264
|
(w) => u(w) !== z
|
|
5264
5265
|
) : r.value = [...T, Q];
|
|
5265
5266
|
}
|
|
5266
|
-
const { arrivedState: k } = ru(
|
|
5267
|
+
const { arrivedState: k } = ru(b, {
|
|
5267
5268
|
throttle: 100
|
|
5268
|
-
}), S =
|
|
5269
|
+
}), S = aa(() => {
|
|
5269
5270
|
a("loadMore");
|
|
5270
5271
|
}, i.loadMoreThrottleDelay);
|
|
5271
5272
|
return oe(() => k.bottom, (Q) => {
|
|
@@ -5281,24 +5282,24 @@ const Su = {
|
|
|
5281
5282
|
class: X(["av-autocomplete-dropdown", f(i).dropdownClass]),
|
|
5282
5283
|
style: be({ width: f(i).dropdownWidth, maxHeight: f(i).maxDropdownHeight })
|
|
5283
5284
|
}, [
|
|
5284
|
-
f(I) === f(
|
|
5285
|
+
f(I) === f(Le).LOADING ? (c(), p("div", Su, [
|
|
5285
5286
|
R(se, {
|
|
5286
5287
|
name: f(ne).LOADING_OUTLINE,
|
|
5287
5288
|
size: 1.5,
|
|
5288
5289
|
class: "av-autocomplete-dropdown__spinner"
|
|
5289
5290
|
}, null, 8, ["name"]),
|
|
5290
5291
|
T[0] || (T[0] = h("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
5291
|
-
])) : f(I) === f(
|
|
5292
|
+
])) : f(I) === f(Le).NO_OPTIONS ? (c(), p("div", Du, [
|
|
5292
5293
|
o.empty ? B(Q.$slots, "empty", { key: 0 }, void 0, !0) : (c(), p("div", wu, " No results found "))
|
|
5293
|
-
])) : (c(), U(
|
|
5294
|
+
])) : (c(), U(Yn, Y({
|
|
5294
5295
|
key: 2,
|
|
5295
5296
|
ref_key: "listRef",
|
|
5296
|
-
ref:
|
|
5297
|
+
ref: b
|
|
5297
5298
|
}, f(i).listOptions, {
|
|
5298
5299
|
class: ["av-autocomplete-dropdown__options", f(i).scrollbarClass]
|
|
5299
5300
|
}), {
|
|
5300
5301
|
default: F(() => [
|
|
5301
|
-
(c(!0), p(K, null, te(f(
|
|
5302
|
+
(c(!0), p(K, null, te(f(m), (z) => (c(), p(K, {
|
|
5302
5303
|
key: f(u)(z)
|
|
5303
5304
|
}, [
|
|
5304
5305
|
o.item ? B(Q.$slots, "item", {
|
|
@@ -5306,7 +5307,7 @@ const Su = {
|
|
|
5306
5307
|
option: z,
|
|
5307
5308
|
isSelected: C(z),
|
|
5308
5309
|
toggle: () => v(z)
|
|
5309
|
-
}, void 0, !0) : (c(), U(
|
|
5310
|
+
}, void 0, !0) : (c(), U(Gn, {
|
|
5310
5311
|
key: 1,
|
|
5311
5312
|
title: f(A)(z),
|
|
5312
5313
|
icon: C(z) ? f(ne).CHECK : void 0,
|
|
@@ -5322,7 +5323,7 @@ const Su = {
|
|
|
5322
5323
|
}, 16, ["class"]))
|
|
5323
5324
|
], 6)) : D("", !0);
|
|
5324
5325
|
}
|
|
5325
|
-
}), Bu = /* @__PURE__ */ G(zu, [["__scopeId", "data-v-
|
|
5326
|
+
}), Bu = /* @__PURE__ */ G(zu, [["__scopeId", "data-v-b59b9163"]]), ju = { class: "av-autocomplete-input" }, Pu = {
|
|
5326
5327
|
key: 0,
|
|
5327
5328
|
class: "av-autocomplete-input__suffix"
|
|
5328
5329
|
}, xu = /* @__PURE__ */ j({
|
|
@@ -5337,10 +5338,10 @@ const Su = {
|
|
|
5337
5338
|
inputId: u,
|
|
5338
5339
|
handleBlur: A,
|
|
5339
5340
|
getDisplayLabel: d
|
|
5340
|
-
} =
|
|
5341
|
+
} = Vt(), b = Z(), m = 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
5342
|
var Q;
|
|
5342
5343
|
return ((Q = i.inputOptions) == null ? void 0 : Q.placeholder) || "Search...";
|
|
5343
|
-
}), C =
|
|
5344
|
+
}), C = aa((Q) => {
|
|
5344
5345
|
l.value = Q, a("search", Q);
|
|
5345
5346
|
}, i.debounceDelay);
|
|
5346
5347
|
function v(Q) {
|
|
@@ -5355,21 +5356,21 @@ const Su = {
|
|
|
5355
5356
|
return ve(() => {
|
|
5356
5357
|
C.cancel();
|
|
5357
5358
|
}), t({
|
|
5358
|
-
inputRef:
|
|
5359
|
+
inputRef: b,
|
|
5359
5360
|
searchQuery: M(() => l.value)
|
|
5360
5361
|
}), (Q, T) => (c(), p("div", ju, [
|
|
5361
5362
|
R(Qs, Y({
|
|
5362
5363
|
id: f(u),
|
|
5363
5364
|
ref_key: "inputRef",
|
|
5364
|
-
ref:
|
|
5365
|
-
"model-value": f(
|
|
5365
|
+
ref: b,
|
|
5366
|
+
"model-value": f(m),
|
|
5366
5367
|
placeholder: f(I)
|
|
5367
5368
|
}, f(i).inputOptions, {
|
|
5368
5369
|
"onUpdate:modelValue": v,
|
|
5369
5370
|
onFocus: k,
|
|
5370
5371
|
onBlur: f(A),
|
|
5371
5372
|
onClick: k
|
|
5372
|
-
}),
|
|
5373
|
+
}), We({ _: 2 }, [
|
|
5373
5374
|
o.requiredTip ? {
|
|
5374
5375
|
name: "requiredTip",
|
|
5375
5376
|
fn: F(() => [
|
|
@@ -5379,7 +5380,7 @@ const Su = {
|
|
|
5379
5380
|
} : void 0
|
|
5380
5381
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
5381
5382
|
f(r).length > 0 ? (c(), p("div", Pu, [
|
|
5382
|
-
R(
|
|
5383
|
+
R(Ne, {
|
|
5383
5384
|
label: "Clear selected items",
|
|
5384
5385
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
5385
5386
|
"icon-only": "",
|
|
@@ -5392,7 +5393,7 @@ const Su = {
|
|
|
5392
5393
|
])) : D("", !0)
|
|
5393
5394
|
]));
|
|
5394
5395
|
}
|
|
5395
|
-
}), Wu = /* @__PURE__ */ G(xu, [["__scopeId", "data-v-
|
|
5396
|
+
}), Wu = /* @__PURE__ */ G(xu, [["__scopeId", "data-v-24fd377c"]]), Vu = {
|
|
5396
5397
|
key: 0,
|
|
5397
5398
|
class: "av-autocomplete-selected-tags"
|
|
5398
5399
|
}, Uu = /* @__PURE__ */ j({
|
|
@@ -5403,7 +5404,7 @@ const Su = {
|
|
|
5403
5404
|
props: a,
|
|
5404
5405
|
getOptionId: o,
|
|
5405
5406
|
getDisplayLabel: r
|
|
5406
|
-
} =
|
|
5407
|
+
} = Vt();
|
|
5407
5408
|
function l(s) {
|
|
5408
5409
|
const i = n.value, u = o(s);
|
|
5409
5410
|
n.value = i.filter(
|
|
@@ -5419,7 +5420,7 @@ const Su = {
|
|
|
5419
5420
|
key: 0,
|
|
5420
5421
|
option: u,
|
|
5421
5422
|
remove: () => l(u)
|
|
5422
|
-
}, void 0, !0) : (c(), U(
|
|
5423
|
+
}, void 0, !0) : (c(), U(Ne, {
|
|
5423
5424
|
key: 1,
|
|
5424
5425
|
label: f(r)(u),
|
|
5425
5426
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -5464,11 +5465,11 @@ const Su = {
|
|
|
5464
5465
|
}),
|
|
5465
5466
|
emits: /* @__PURE__ */ me(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
5466
5467
|
setup(e, { emit: t }) {
|
|
5467
|
-
const n = e, a = t, o = fe(), r =
|
|
5468
|
-
function
|
|
5468
|
+
const n = e, a = t, o = fe(), r = qe(e, "modelValue"), l = Z(!1), s = Z(""), i = Z(), u = Z(), A = Z(), d = M(() => n.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
5469
|
+
function b(S) {
|
|
5469
5470
|
s.value = S, a("search", S);
|
|
5470
5471
|
}
|
|
5471
|
-
function
|
|
5472
|
+
function m(S) {
|
|
5472
5473
|
var Q, T;
|
|
5473
5474
|
(T = (Q = A.value) == null ? void 0 : Q.dropdownRef) != null && T.contains(S.relatedTarget) || setTimeout(() => {
|
|
5474
5475
|
l.value = !1;
|
|
@@ -5480,13 +5481,13 @@ const Su = {
|
|
|
5480
5481
|
function C(S) {
|
|
5481
5482
|
return n.getOptionLabel ? n.getOptionLabel(S) : S.label;
|
|
5482
5483
|
}
|
|
5483
|
-
|
|
5484
|
+
ut(_n, {
|
|
5484
5485
|
selectedItems: r,
|
|
5485
5486
|
searchQuery: s,
|
|
5486
5487
|
isOpen: l,
|
|
5487
5488
|
props: n,
|
|
5488
5489
|
inputId: d,
|
|
5489
|
-
handleBlur:
|
|
5490
|
+
handleBlur: m,
|
|
5490
5491
|
getOptionId: I,
|
|
5491
5492
|
getDisplayLabel: C
|
|
5492
5493
|
});
|
|
@@ -5508,9 +5509,9 @@ const Su = {
|
|
|
5508
5509
|
R(Wu, {
|
|
5509
5510
|
ref_key: "inputRef",
|
|
5510
5511
|
ref: u,
|
|
5511
|
-
onSearch:
|
|
5512
|
+
onSearch: b,
|
|
5512
5513
|
onClear: Q[0] || (Q[0] = (T) => a("clear"))
|
|
5513
|
-
},
|
|
5514
|
+
}, We({ _: 2 }, [
|
|
5514
5515
|
o.requiredTip ? {
|
|
5515
5516
|
name: "requiredTip",
|
|
5516
5517
|
fn: F(() => [
|
|
@@ -5523,7 +5524,7 @@ const Su = {
|
|
|
5523
5524
|
ref_key: "dropdownRef",
|
|
5524
5525
|
ref: A,
|
|
5525
5526
|
onLoadMore: Q[1] || (Q[1] = (T) => a("loadMore"))
|
|
5526
|
-
},
|
|
5527
|
+
}, We({ _: 2 }, [
|
|
5527
5528
|
o.item ? {
|
|
5528
5529
|
name: "item",
|
|
5529
5530
|
fn: F(({ option: T, isSelected: z, toggle: O }) => [
|
|
@@ -5544,7 +5545,7 @@ const Su = {
|
|
|
5544
5545
|
} : void 0
|
|
5545
5546
|
]), 1536)
|
|
5546
5547
|
], 512),
|
|
5547
|
-
R(qu, null,
|
|
5548
|
+
R(qu, null, We({ _: 2 }, [
|
|
5548
5549
|
o.selectedItem ? {
|
|
5549
5550
|
name: "selectedItem",
|
|
5550
5551
|
fn: F(({ option: T, remove: z }) => [
|
|
@@ -5558,7 +5559,7 @@ const Su = {
|
|
|
5558
5559
|
]), 1024)
|
|
5559
5560
|
]));
|
|
5560
5561
|
}
|
|
5561
|
-
}), Kc = /* @__PURE__ */ G(Xu, [["__scopeId", "data-v-
|
|
5562
|
+
}), Kc = /* @__PURE__ */ G(Xu, [["__scopeId", "data-v-fd810890"]]), Yc = {
|
|
5562
5563
|
name: "AvSelect",
|
|
5563
5564
|
props: {
|
|
5564
5565
|
modelValue: [String, Number],
|
|
@@ -5582,7 +5583,7 @@ const Su = {
|
|
|
5582
5583
|
</option>
|
|
5583
5584
|
</select>
|
|
5584
5585
|
`
|
|
5585
|
-
},
|
|
5586
|
+
}, Zu = /* @__PURE__ */ j({
|
|
5586
5587
|
__name: "AvSelect",
|
|
5587
5588
|
props: {
|
|
5588
5589
|
required: { type: Boolean },
|
|
@@ -5616,7 +5617,7 @@ const Su = {
|
|
|
5616
5617
|
}), null, 16, ["title"])
|
|
5617
5618
|
], 2));
|
|
5618
5619
|
}
|
|
5619
|
-
}), Gc = /* @__PURE__ */ G(
|
|
5620
|
+
}), Gc = /* @__PURE__ */ G(Zu, [["__scopeId", "data-v-e4b98fc1"]]), Jc = /* @__PURE__ */ j({
|
|
5620
5621
|
__name: "AvTab",
|
|
5621
5622
|
props: {
|
|
5622
5623
|
title: {},
|
|
@@ -5625,21 +5626,22 @@ const Su = {
|
|
|
5625
5626
|
setup(e) {
|
|
5626
5627
|
return (t, n) => B(t.$slots, "default");
|
|
5627
5628
|
}
|
|
5628
|
-
}),
|
|
5629
|
+
}), Ru = /* @__PURE__ */ j({
|
|
5629
5630
|
__name: "AvTabs",
|
|
5630
5631
|
props: {
|
|
5631
5632
|
ariaLabel: {},
|
|
5632
|
-
modelValue: {}
|
|
5633
|
+
modelValue: {},
|
|
5634
|
+
compact: { type: Boolean, default: !1 }
|
|
5633
5635
|
},
|
|
5634
5636
|
emits: ["update:modelValue"],
|
|
5635
5637
|
setup(e, { expose: t, emit: n }) {
|
|
5636
5638
|
const a = n, o = fe(), r = Z(e.modelValue), l = M(() => {
|
|
5637
|
-
var
|
|
5638
|
-
return ((
|
|
5639
|
+
var b;
|
|
5640
|
+
return ((b = o.default) == null ? void 0 : b.call(o)) || [];
|
|
5639
5641
|
});
|
|
5640
|
-
function s(
|
|
5641
|
-
const
|
|
5642
|
-
r.value = (r.value +
|
|
5642
|
+
function s(b) {
|
|
5643
|
+
const m = l.value.length;
|
|
5644
|
+
r.value = (r.value + b + m) % m;
|
|
5643
5645
|
}
|
|
5644
5646
|
function i() {
|
|
5645
5647
|
s(-1);
|
|
@@ -5653,16 +5655,17 @@ const Su = {
|
|
|
5653
5655
|
function d() {
|
|
5654
5656
|
r.value = l.value.length - 1;
|
|
5655
5657
|
}
|
|
5656
|
-
return oe(() => e.modelValue, (
|
|
5657
|
-
|
|
5658
|
-
}), oe(r, (
|
|
5659
|
-
a("update:modelValue",
|
|
5660
|
-
}), t({ activeTab: r }), (
|
|
5661
|
-
const I =
|
|
5658
|
+
return oe(() => e.modelValue, (b) => {
|
|
5659
|
+
b !== void 0 && (r.value = b);
|
|
5660
|
+
}), oe(r, (b) => {
|
|
5661
|
+
a("update:modelValue", b);
|
|
5662
|
+
}), t({ activeTab: r }), (b, m) => {
|
|
5663
|
+
const I = Kn, C = Fn, v = Gl;
|
|
5662
5664
|
return c(), U(v, {
|
|
5663
5665
|
modelValue: f(r),
|
|
5664
|
-
"onUpdate:modelValue":
|
|
5665
|
-
|
|
5666
|
+
"onUpdate:modelValue": m[0] || (m[0] = (k) => wt(r) ? r.value = k : null),
|
|
5667
|
+
class: X({ compact: b.compact }),
|
|
5668
|
+
"tab-list-name": b.ariaLabel ?? "Liste d’onglets",
|
|
5666
5669
|
"tab-titles": []
|
|
5667
5670
|
}, {
|
|
5668
5671
|
"tab-items": F(() => [
|
|
@@ -5670,6 +5673,7 @@ const Su = {
|
|
|
5670
5673
|
var Q;
|
|
5671
5674
|
return c(), U(I, {
|
|
5672
5675
|
key: S,
|
|
5676
|
+
class: X({ compact: b.compact }),
|
|
5673
5677
|
"tab-id": `tab-${S}`,
|
|
5674
5678
|
"panel-id": `panel-${S}`,
|
|
5675
5679
|
icon: (Q = k.props) == null ? void 0 : Q.icon,
|
|
@@ -5686,7 +5690,7 @@ const Su = {
|
|
|
5686
5690
|
];
|
|
5687
5691
|
}),
|
|
5688
5692
|
_: 2
|
|
5689
|
-
}, 1032, ["tab-id", "panel-id", "icon", "onClick"]);
|
|
5693
|
+
}, 1032, ["class", "tab-id", "panel-id", "icon", "onClick"]);
|
|
5690
5694
|
}), 128))
|
|
5691
5695
|
]),
|
|
5692
5696
|
default: F(() => [
|
|
@@ -5702,10 +5706,10 @@ const Su = {
|
|
|
5702
5706
|
}, 1032, ["panel-id", "tab-id"]))), 128))
|
|
5703
5707
|
]),
|
|
5704
5708
|
_: 1
|
|
5705
|
-
}, 8, ["modelValue", "tab-list-name"]);
|
|
5709
|
+
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
5706
5710
|
};
|
|
5707
5711
|
}
|
|
5708
|
-
}), _c = /* @__PURE__ */ G(
|
|
5712
|
+
}), _c = /* @__PURE__ */ G(Ru, [["__scopeId", "data-v-dbd71c5f"]]), 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
5713
|
width: "34",
|
|
5710
5714
|
height: "14"
|
|
5711
5715
|
}, Ju = ["href"], _u = {
|
|
@@ -5779,7 +5783,7 @@ const Su = {
|
|
|
5779
5783
|
return (n, a) => {
|
|
5780
5784
|
const o = fl;
|
|
5781
5785
|
return c(), p("div", aA, [
|
|
5782
|
-
R(o,
|
|
5786
|
+
R(o, ct(Ca(t)), null, 16)
|
|
5783
5787
|
]);
|
|
5784
5788
|
};
|
|
5785
5789
|
}
|
|
@@ -5805,96 +5809,96 @@ const Su = {
|
|
|
5805
5809
|
},
|
|
5806
5810
|
emits: ["update:current-page"],
|
|
5807
5811
|
setup(e, { emit: t }) {
|
|
5808
|
-
const n = t, a = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), o = M(() => Math.min(e.pages.length - 1, a.value + e.truncLimit)), r = M(() => e.pages.length > e.truncLimit ? e.pages.slice(a.value, o.value + 1) : e.pages), l = (
|
|
5809
|
-
return (
|
|
5812
|
+
const n = t, a = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), o = M(() => Math.min(e.pages.length - 1, a.value + e.truncLimit)), r = M(() => e.pages.length > e.truncLimit ? e.pages.slice(a.value, o.value + 1) : e.pages), l = (m) => n("update:current-page", m), s = (m) => l(m), i = () => s(0), u = () => s(Math.max(0, e.currentPage - 1)), A = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), d = () => s(e.pages.length - 1), b = (m) => e.pages.indexOf(m) === e.currentPage;
|
|
5813
|
+
return (m, I) => {
|
|
5810
5814
|
var C, v, k, S;
|
|
5811
5815
|
return c(), p("nav", {
|
|
5812
5816
|
role: "navigation",
|
|
5813
5817
|
class: "fr-pagination",
|
|
5814
|
-
"aria-label":
|
|
5818
|
+
"aria-label": m.ariaLabel
|
|
5815
5819
|
}, [
|
|
5816
5820
|
h("ul", lA, [
|
|
5817
|
-
|
|
5818
|
-
h("span", sA, x(
|
|
5821
|
+
m.compact && m.compactCurrentPageLabel ? (c(), p("li", iA, [
|
|
5822
|
+
h("span", sA, x(m.compactCurrentPageLabel), 1)
|
|
5819
5823
|
])) : D("", !0),
|
|
5820
5824
|
h("li", null, [
|
|
5821
|
-
|
|
5825
|
+
m.compact ? D("", !0) : (c(), p("a", {
|
|
5822
5826
|
key: 0,
|
|
5823
|
-
href: (C =
|
|
5827
|
+
href: (C = m.pages[0]) == null ? void 0 : C.href,
|
|
5824
5828
|
class: "fr-pagination__link",
|
|
5825
|
-
title:
|
|
5826
|
-
"aria-disabled":
|
|
5829
|
+
title: m.firstPageLabel,
|
|
5830
|
+
"aria-disabled": m.currentPage === 0 ? !0 : void 0,
|
|
5827
5831
|
onClick: I[0] || (I[0] = ce((Q) => i(), ["prevent"]))
|
|
5828
5832
|
}, [
|
|
5829
5833
|
R(se, {
|
|
5830
5834
|
name: f(ne).PAGE_FIRST,
|
|
5831
5835
|
size: 1.5,
|
|
5832
|
-
color:
|
|
5836
|
+
color: m.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5833
5837
|
}, null, 8, ["name", "color"]),
|
|
5834
|
-
h("span", AA, x(
|
|
5838
|
+
h("span", AA, x(m.firstPageLabel), 1)
|
|
5835
5839
|
], 8, uA))
|
|
5836
5840
|
]),
|
|
5837
5841
|
h("li", null, [
|
|
5838
5842
|
h("a", {
|
|
5839
|
-
href: (v =
|
|
5843
|
+
href: (v = m.pages[Math.max(m.currentPage - 1, 0)]) == null ? void 0 : v.href,
|
|
5840
5844
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
5841
|
-
title:
|
|
5842
|
-
"aria-disabled":
|
|
5845
|
+
title: m.prevPageLabel,
|
|
5846
|
+
"aria-disabled": m.currentPage === 0 ? !0 : void 0,
|
|
5843
5847
|
onClick: I[1] || (I[1] = ce((Q) => u(), ["prevent"]))
|
|
5844
5848
|
}, [
|
|
5845
5849
|
R(se, {
|
|
5846
5850
|
name: f(ne).NAVIGATE_BEFORE,
|
|
5847
5851
|
size: 1.5,
|
|
5848
|
-
color:
|
|
5852
|
+
color: m.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5849
5853
|
}, null, 8, ["name", "color"]),
|
|
5850
|
-
|
|
5854
|
+
m.compact ? D("", !0) : (c(), p("span", dA, x(m.prevPageLabel), 1))
|
|
5851
5855
|
], 8, cA)
|
|
5852
5856
|
]),
|
|
5853
|
-
|
|
5857
|
+
m.compact ? D("", !0) : (c(!0), p(K, { key: 1 }, te(f(r), (Q, T) => (c(), p("li", { key: T }, [
|
|
5854
5858
|
h("a", {
|
|
5855
5859
|
href: Q == null ? void 0 : Q.href,
|
|
5856
5860
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
5857
5861
|
title: Q.title,
|
|
5858
|
-
"aria-current":
|
|
5859
|
-
onClick: ce((z) => s(
|
|
5862
|
+
"aria-current": b(Q) ? "page" : void 0,
|
|
5863
|
+
onClick: ce((z) => s(m.pages.indexOf(Q)), ["prevent"])
|
|
5860
5864
|
}, [
|
|
5861
5865
|
f(r).indexOf(Q) === 0 && f(a) > 0 ? (c(), p("span", pA, "...")) : D("", !0),
|
|
5862
5866
|
ae(" " + x(Q.label) + " ", 1),
|
|
5863
|
-
f(r).indexOf(Q) === f(r).length - 1 && f(o) <
|
|
5867
|
+
f(r).indexOf(Q) === f(r).length - 1 && f(o) < m.pages.length - 1 ? (c(), p("span", vA, "...")) : D("", !0)
|
|
5864
5868
|
], 8, fA)
|
|
5865
5869
|
]))), 128)),
|
|
5866
5870
|
h("li", null, [
|
|
5867
5871
|
h("a", {
|
|
5868
|
-
href: (k =
|
|
5872
|
+
href: (k = m.pages[Math.min(m.currentPage + 1, m.pages.length - 1)]) == null ? void 0 : k.href,
|
|
5869
5873
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
5870
|
-
title:
|
|
5871
|
-
disabled:
|
|
5872
|
-
"aria-disabled":
|
|
5874
|
+
title: m.nextPageLabel,
|
|
5875
|
+
disabled: m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5876
|
+
"aria-disabled": m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5873
5877
|
onClick: I[2] || (I[2] = ce((Q) => A(), ["prevent"]))
|
|
5874
5878
|
}, [
|
|
5875
|
-
|
|
5879
|
+
m.compact ? D("", !0) : (c(), p("span", bA, x(m.nextPageLabel), 1)),
|
|
5876
5880
|
R(se, {
|
|
5877
5881
|
name: f(ne).NAVIGATE_NEXT,
|
|
5878
5882
|
size: 1.5,
|
|
5879
|
-
color:
|
|
5883
|
+
color: m.currentPage === m.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5880
5884
|
}, null, 8, ["name", "color"])
|
|
5881
5885
|
], 8, gA)
|
|
5882
5886
|
]),
|
|
5883
5887
|
h("li", null, [
|
|
5884
|
-
|
|
5888
|
+
m.compact ? D("", !0) : (c(), p("a", {
|
|
5885
5889
|
key: 0,
|
|
5886
5890
|
class: "fr-pagination__link",
|
|
5887
|
-
href: (S =
|
|
5888
|
-
title:
|
|
5889
|
-
disabled:
|
|
5890
|
-
"aria-disabled":
|
|
5891
|
+
href: (S = m.pages.at(-1)) == null ? void 0 : S.href,
|
|
5892
|
+
title: m.lastPageLabel,
|
|
5893
|
+
disabled: m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5894
|
+
"aria-disabled": m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5891
5895
|
onClick: I[3] || (I[3] = ce((Q) => d(), ["prevent"]))
|
|
5892
5896
|
}, [
|
|
5893
|
-
h("span", IA, x(
|
|
5897
|
+
h("span", IA, x(m.lastPageLabel), 1),
|
|
5894
5898
|
R(se, {
|
|
5895
5899
|
name: f(ne).PAGE_LAST,
|
|
5896
5900
|
size: 1.5,
|
|
5897
|
-
color:
|
|
5901
|
+
color: m.currentPage === m.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5898
5902
|
}, null, 8, ["name", "color"])
|
|
5899
5903
|
], 8, mA))
|
|
5900
5904
|
])
|
|
@@ -5935,7 +5939,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5935
5939
|
"4d5b7c17": f(i),
|
|
5936
5940
|
"4a813d87": A.padding
|
|
5937
5941
|
}));
|
|
5938
|
-
const t = e, n =
|
|
5942
|
+
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
5943
|
get: () => t.collapsible ? n.value : !1,
|
|
5940
5944
|
set: (A) => {
|
|
5941
5945
|
t.collapsible && (n.value = A);
|
|
@@ -5950,7 +5954,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5950
5954
|
"aria-label": f(l)
|
|
5951
5955
|
}, [
|
|
5952
5956
|
t.collapsible ? (c(), p("div", CA, [
|
|
5953
|
-
R(
|
|
5957
|
+
R(Ne, {
|
|
5954
5958
|
"aria-expanded": !f(s),
|
|
5955
5959
|
"aria-controls": f(r),
|
|
5956
5960
|
icon: f(s) ? f(ne).CHEVRON_DOUBLE_RIGHT : f(ne).CHEVRON_DOUBLE_LEFT,
|
|
@@ -5993,7 +5997,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5993
5997
|
}),
|
|
5994
5998
|
emits: /* @__PURE__ */ me(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
5995
5999
|
setup(e) {
|
|
5996
|
-
const t =
|
|
6000
|
+
const t = qe(e, "selectedItem"), n = qe(e, "isSideMenuCollapsed");
|
|
5997
6001
|
function a(o) {
|
|
5998
6002
|
t.value = o;
|
|
5999
6003
|
}
|
|
@@ -6004,12 +6008,12 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6004
6008
|
color: o.selectedItemColor
|
|
6005
6009
|
}, {
|
|
6006
6010
|
default: F(() => [
|
|
6007
|
-
R(f(
|
|
6011
|
+
R(f(Yn), {
|
|
6008
6012
|
size: "small",
|
|
6009
6013
|
role: "menu"
|
|
6010
6014
|
}, {
|
|
6011
6015
|
default: F(() => [
|
|
6012
|
-
(c(!0), p(K, null, te(o.items, (l) => (c(), U(f(
|
|
6016
|
+
(c(!0), p(K, null, te(o.items, (l) => (c(), U(f(Gn), {
|
|
6013
6017
|
key: l.id,
|
|
6014
6018
|
title: n.value ? void 0 : l.label,
|
|
6015
6019
|
icon: l.icon,
|
|
@@ -6127,7 +6131,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6127
6131
|
b9426bca: f(l),
|
|
6128
6132
|
"7249d1b4": f(s)
|
|
6129
6133
|
}));
|
|
6130
|
-
const n = e, a = t, o = fe(), { position: r, width: l, padding: s } =
|
|
6134
|
+
const n = e, a = t, o = fe(), { position: r, width: l, padding: s } = Mn(n);
|
|
6131
6135
|
return (i, u) => i.show ? (c(), p("div", wA, [
|
|
6132
6136
|
i.backdrop ? (c(), p("div", zA)) : D("", !0),
|
|
6133
6137
|
h("div", {
|
|
@@ -6135,7 +6139,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6135
6139
|
role: "dialog",
|
|
6136
6140
|
"aria-modal": "true",
|
|
6137
6141
|
"aria-label": i.ariaLabel,
|
|
6138
|
-
onKeydown: u[0] || (u[0] =
|
|
6142
|
+
onKeydown: u[0] || (u[0] = st((A) => a("escapePressed"), ["esc"]))
|
|
6139
6143
|
}, [
|
|
6140
6144
|
h("div", jA, [
|
|
6141
6145
|
h("div", PA, [
|
|
@@ -6166,13 +6170,13 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6166
6170
|
},
|
|
6167
6171
|
emits: ["close"],
|
|
6168
6172
|
setup(e, { emit: t }) {
|
|
6169
|
-
const n =
|
|
6173
|
+
const n = Cn(e, ["isLoading"]), a = t, o = fe(), r = M(() => n.closeButtonVariant ?? "DEFAULT");
|
|
6170
6174
|
return (l, s) => {
|
|
6171
6175
|
const i = Vr;
|
|
6172
|
-
return c(), U(
|
|
6176
|
+
return c(), U(Nn, { to: "body" }, [
|
|
6173
6177
|
R(i, Y(n, {
|
|
6174
6178
|
title: "",
|
|
6175
|
-
onKeydown: s[1] || (s[1] =
|
|
6179
|
+
onKeydown: s[1] || (s[1] = st((u) => a("close"), ["esc"]))
|
|
6176
6180
|
}), {
|
|
6177
6181
|
default: F(() => [
|
|
6178
6182
|
o.header ? (c(), p("div", VA, [
|
|
@@ -6182,7 +6186,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6182
6186
|
]),
|
|
6183
6187
|
footer: F(() => [
|
|
6184
6188
|
h("div", UA, [
|
|
6185
|
-
R(f(
|
|
6189
|
+
R(f(Ne), {
|
|
6186
6190
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
6187
6191
|
label: n.closeButtonLabel,
|
|
6188
6192
|
title: n.closeButtonLabel,
|
|
@@ -6203,7 +6207,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6203
6207
|
function HA(e, t) {
|
|
6204
6208
|
const n = Z(!1), a = Z({ top: 0, left: 0 }), o = async () => {
|
|
6205
6209
|
if (n.value = !n.value, n.value && e.value) {
|
|
6206
|
-
await
|
|
6210
|
+
await De();
|
|
6207
6211
|
const s = e.value.getBoundingClientRect(), i = s.bottom + window.scrollY + 4;
|
|
6208
6212
|
let u = s.left + window.scrollX;
|
|
6209
6213
|
if (t.value) {
|
|
@@ -6232,13 +6236,13 @@ function HA(e, t) {
|
|
|
6232
6236
|
* tabbable 6.2.0
|
|
6233
6237
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
6234
6238
|
*/
|
|
6235
|
-
var
|
|
6236
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
6239
|
+
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() {
|
|
6240
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, rt = !ra && Element.prototype.getRootNode ? function(e) {
|
|
6237
6241
|
var t;
|
|
6238
6242
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
6239
6243
|
} : function(e) {
|
|
6240
6244
|
return e == null ? void 0 : e.ownerDocument;
|
|
6241
|
-
},
|
|
6245
|
+
}, lt = function e(t, n) {
|
|
6242
6246
|
var a;
|
|
6243
6247
|
n === void 0 && (n = !0);
|
|
6244
6248
|
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);
|
|
@@ -6246,15 +6250,15 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6246
6250
|
}, XA = function(t) {
|
|
6247
6251
|
var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
6248
6252
|
return a === "" || a === "true";
|
|
6249
|
-
},
|
|
6250
|
-
if (
|
|
6253
|
+
}, la = function(t, n, a) {
|
|
6254
|
+
if (lt(t))
|
|
6251
6255
|
return [];
|
|
6252
|
-
var o = Array.prototype.slice.apply(t.querySelectorAll(
|
|
6253
|
-
return n &&
|
|
6254
|
-
},
|
|
6256
|
+
var o = Array.prototype.slice.apply(t.querySelectorAll(ot));
|
|
6257
|
+
return n && Me.call(t, ot) && o.unshift(t), o = o.filter(a), o;
|
|
6258
|
+
}, ia = function e(t, n, a) {
|
|
6255
6259
|
for (var o = [], r = Array.from(t); r.length; ) {
|
|
6256
6260
|
var l = r.shift();
|
|
6257
|
-
if (!
|
|
6261
|
+
if (!lt(l, !1))
|
|
6258
6262
|
if (l.tagName === "SLOT") {
|
|
6259
6263
|
var s = l.assignedElements(), i = s.length ? s : l.children, u = e(i, !0, a);
|
|
6260
6264
|
a.flatten ? o.push.apply(o, u) : o.push({
|
|
@@ -6262,36 +6266,36 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6262
6266
|
candidates: u
|
|
6263
6267
|
});
|
|
6264
6268
|
} else {
|
|
6265
|
-
var A =
|
|
6269
|
+
var A = Me.call(l, ot);
|
|
6266
6270
|
A && a.filter(l) && (n || !t.includes(l)) && o.push(l);
|
|
6267
6271
|
var d = l.shadowRoot || // check for an undisclosed shadow
|
|
6268
|
-
typeof a.getShadowRoot == "function" && a.getShadowRoot(l),
|
|
6269
|
-
if (d &&
|
|
6270
|
-
var
|
|
6271
|
-
a.flatten ? o.push.apply(o,
|
|
6272
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), b = !lt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
6273
|
+
if (d && b) {
|
|
6274
|
+
var m = e(d === !0 ? l.children : d.children, !0, a);
|
|
6275
|
+
a.flatten ? o.push.apply(o, m) : o.push({
|
|
6272
6276
|
scopeParent: l,
|
|
6273
|
-
candidates:
|
|
6277
|
+
candidates: m
|
|
6274
6278
|
});
|
|
6275
6279
|
} else
|
|
6276
6280
|
r.unshift.apply(r, l.children);
|
|
6277
6281
|
}
|
|
6278
6282
|
}
|
|
6279
6283
|
return o;
|
|
6280
|
-
},
|
|
6284
|
+
}, sa = function(t) {
|
|
6281
6285
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
6282
6286
|
}, Ce = function(t) {
|
|
6283
6287
|
if (!t)
|
|
6284
6288
|
throw new Error("No node provided");
|
|
6285
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || XA(t)) && !
|
|
6286
|
-
}, RA = function(t, n) {
|
|
6287
|
-
var a = Ce(t);
|
|
6288
|
-
return a < 0 && n && !ua(t) ? 0 : a;
|
|
6289
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || XA(t)) && !sa(t) ? 0 : t.tabIndex;
|
|
6289
6290
|
}, ZA = function(t, n) {
|
|
6291
|
+
var a = Ce(t);
|
|
6292
|
+
return a < 0 && n && !sa(t) ? 0 : a;
|
|
6293
|
+
}, RA = function(t, n) {
|
|
6290
6294
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
6291
|
-
},
|
|
6295
|
+
}, ua = function(t) {
|
|
6292
6296
|
return t.tagName === "INPUT";
|
|
6293
6297
|
}, FA = function(t) {
|
|
6294
|
-
return
|
|
6298
|
+
return ua(t) && t.type === "hidden";
|
|
6295
6299
|
}, KA = function(t) {
|
|
6296
6300
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
|
|
6297
6301
|
return a.tagName === "SUMMARY";
|
|
@@ -6304,7 +6308,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6304
6308
|
}, GA = function(t) {
|
|
6305
6309
|
if (!t.name)
|
|
6306
6310
|
return !0;
|
|
6307
|
-
var n = t.form ||
|
|
6311
|
+
var n = t.form || rt(t), a = function(s) {
|
|
6308
6312
|
return n.querySelectorAll('input[type="radio"][name="' + s + '"]');
|
|
6309
6313
|
}, o;
|
|
6310
6314
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -6318,35 +6322,35 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6318
6322
|
var r = YA(o, t.form);
|
|
6319
6323
|
return !r || r === t;
|
|
6320
6324
|
}, JA = function(t) {
|
|
6321
|
-
return
|
|
6325
|
+
return ua(t) && t.type === "radio";
|
|
6322
6326
|
}, _A = function(t) {
|
|
6323
6327
|
return JA(t) && !GA(t);
|
|
6324
6328
|
}, $A = function(t) {
|
|
6325
|
-
var n, a = t &&
|
|
6329
|
+
var n, a = t && rt(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
|
|
6326
6330
|
if (a && a !== t) {
|
|
6327
6331
|
var l, s, i;
|
|
6328
6332
|
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; ) {
|
|
6329
6333
|
var u, A, d;
|
|
6330
|
-
a =
|
|
6334
|
+
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));
|
|
6331
6335
|
}
|
|
6332
6336
|
}
|
|
6333
6337
|
return r;
|
|
6334
|
-
},
|
|
6338
|
+
}, gn = function(t) {
|
|
6335
6339
|
var n = t.getBoundingClientRect(), a = n.width, o = n.height;
|
|
6336
6340
|
return a === 0 && o === 0;
|
|
6337
6341
|
}, ec = function(t, n) {
|
|
6338
6342
|
var a = n.displayCheck, o = n.getShadowRoot;
|
|
6339
6343
|
if (getComputedStyle(t).visibility === "hidden")
|
|
6340
6344
|
return !0;
|
|
6341
|
-
var r =
|
|
6342
|
-
if (
|
|
6345
|
+
var r = Me.call(t, "details>summary:first-of-type"), l = r ? t.parentElement : t;
|
|
6346
|
+
if (Me.call(l, "details:not([open]) *"))
|
|
6343
6347
|
return !0;
|
|
6344
6348
|
if (!a || a === "full" || a === "legacy-full") {
|
|
6345
6349
|
if (typeof o == "function") {
|
|
6346
6350
|
for (var s = t; t; ) {
|
|
6347
|
-
var i = t.parentElement, u =
|
|
6351
|
+
var i = t.parentElement, u = rt(t);
|
|
6348
6352
|
if (i && !i.shadowRoot && o(i) === !0)
|
|
6349
|
-
return
|
|
6353
|
+
return gn(t);
|
|
6350
6354
|
t.assignedSlot ? t = t.assignedSlot : !i && u !== t.ownerDocument ? t = u.host : t = i;
|
|
6351
6355
|
}
|
|
6352
6356
|
t = s;
|
|
@@ -6356,7 +6360,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6356
6360
|
if (a !== "legacy-full")
|
|
6357
6361
|
return !0;
|
|
6358
6362
|
} else if (a === "non-zero-area")
|
|
6359
|
-
return
|
|
6363
|
+
return gn(t);
|
|
6360
6364
|
return !1;
|
|
6361
6365
|
}, tc = function(t) {
|
|
6362
6366
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
@@ -6365,28 +6369,28 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6365
6369
|
for (var a = 0; a < n.children.length; a++) {
|
|
6366
6370
|
var o = n.children.item(a);
|
|
6367
6371
|
if (o.tagName === "LEGEND")
|
|
6368
|
-
return
|
|
6372
|
+
return Me.call(n, "fieldset[disabled] *") ? !0 : !o.contains(t);
|
|
6369
6373
|
}
|
|
6370
6374
|
return !0;
|
|
6371
6375
|
}
|
|
6372
6376
|
n = n.parentElement;
|
|
6373
6377
|
}
|
|
6374
6378
|
return !1;
|
|
6375
|
-
},
|
|
6379
|
+
}, it = function(t, n) {
|
|
6376
6380
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
6377
6381
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
6378
6382
|
// note related to `candidateSelectors`)
|
|
6379
|
-
|
|
6383
|
+
lt(n) || FA(n) || ec(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
6380
6384
|
KA(n) || tc(n));
|
|
6381
|
-
},
|
|
6382
|
-
return !(_A(n) || Ce(n) < 0 || !
|
|
6385
|
+
}, Ot = function(t, n) {
|
|
6386
|
+
return !(_A(n) || Ce(n) < 0 || !it(t, n));
|
|
6383
6387
|
}, nc = function(t) {
|
|
6384
6388
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
6385
6389
|
return !!(isNaN(n) || n >= 0);
|
|
6386
6390
|
}, ac = function e(t) {
|
|
6387
6391
|
var n = [], a = [];
|
|
6388
6392
|
return t.forEach(function(o, r) {
|
|
6389
|
-
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i =
|
|
6393
|
+
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i = ZA(s, l), u = l ? e(o.candidates) : s;
|
|
6390
6394
|
i === 0 ? l ? n.push.apply(n, u) : n.push(s) : a.push({
|
|
6391
6395
|
documentOrder: r,
|
|
6392
6396
|
tabIndex: i,
|
|
@@ -6394,46 +6398,46 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6394
6398
|
isScope: l,
|
|
6395
6399
|
content: u
|
|
6396
6400
|
});
|
|
6397
|
-
}), a.sort(
|
|
6401
|
+
}), a.sort(RA).reduce(function(o, r) {
|
|
6398
6402
|
return r.isScope ? o.push.apply(o, r.content) : o.push(r.content), o;
|
|
6399
6403
|
}, []).concat(n);
|
|
6400
6404
|
}, oc = function(t, n) {
|
|
6401
6405
|
n = n || {};
|
|
6402
6406
|
var a;
|
|
6403
|
-
return n.getShadowRoot ? a =
|
|
6404
|
-
filter:
|
|
6407
|
+
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
6408
|
+
filter: Ot.bind(null, n),
|
|
6405
6409
|
flatten: !1,
|
|
6406
6410
|
getShadowRoot: n.getShadowRoot,
|
|
6407
6411
|
shadowRootFilter: nc
|
|
6408
|
-
}) : a =
|
|
6412
|
+
}) : a = la(t, n.includeContainer, Ot.bind(null, n)), ac(a);
|
|
6409
6413
|
}, rc = function(t, n) {
|
|
6410
6414
|
n = n || {};
|
|
6411
6415
|
var a;
|
|
6412
|
-
return n.getShadowRoot ? a =
|
|
6413
|
-
filter:
|
|
6416
|
+
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
6417
|
+
filter: it.bind(null, n),
|
|
6414
6418
|
flatten: !0,
|
|
6415
6419
|
getShadowRoot: n.getShadowRoot
|
|
6416
|
-
}) : a =
|
|
6417
|
-
},
|
|
6420
|
+
}) : a = la(t, n.includeContainer, it.bind(null, n)), a;
|
|
6421
|
+
}, Qe = function(t, n) {
|
|
6418
6422
|
if (n = n || {}, !t)
|
|
6419
6423
|
throw new Error("No node provided");
|
|
6420
|
-
return
|
|
6421
|
-
}, lc = /* @__PURE__ */
|
|
6424
|
+
return Me.call(t, ot) === !1 ? !1 : Ot(n, t);
|
|
6425
|
+
}, lc = /* @__PURE__ */ oa.concat("iframe").join(","), yt = function(t, n) {
|
|
6422
6426
|
if (n = n || {}, !t)
|
|
6423
6427
|
throw new Error("No node provided");
|
|
6424
|
-
return
|
|
6428
|
+
return Me.call(t, lc) === !1 ? !1 : it(n, t);
|
|
6425
6429
|
};
|
|
6426
6430
|
/*!
|
|
6427
6431
|
* focus-trap 7.6.5
|
|
6428
6432
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
6429
6433
|
*/
|
|
6430
|
-
function
|
|
6434
|
+
function St(e, t) {
|
|
6431
6435
|
(t == null || t > e.length) && (t = e.length);
|
|
6432
6436
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
6433
6437
|
return a;
|
|
6434
6438
|
}
|
|
6435
6439
|
function ic(e) {
|
|
6436
|
-
if (Array.isArray(e)) return
|
|
6440
|
+
if (Array.isArray(e)) return St(e);
|
|
6437
6441
|
}
|
|
6438
6442
|
function sc(e, t, n) {
|
|
6439
6443
|
return (t = fc(t)) in e ? Object.defineProperty(e, t, {
|
|
@@ -6450,7 +6454,7 @@ function Ac() {
|
|
|
6450
6454
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6451
6455
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
6452
6456
|
}
|
|
6453
|
-
function
|
|
6457
|
+
function bn(e, t) {
|
|
6454
6458
|
var n = Object.keys(e);
|
|
6455
6459
|
if (Object.getOwnPropertySymbols) {
|
|
6456
6460
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -6460,12 +6464,12 @@ function mn(e, t) {
|
|
|
6460
6464
|
}
|
|
6461
6465
|
return n;
|
|
6462
6466
|
}
|
|
6463
|
-
function
|
|
6467
|
+
function mn(e) {
|
|
6464
6468
|
for (var t = 1; t < arguments.length; t++) {
|
|
6465
6469
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6466
|
-
t % 2 ?
|
|
6470
|
+
t % 2 ? bn(Object(n), !0).forEach(function(a) {
|
|
6467
6471
|
sc(e, a, n[a]);
|
|
6468
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
6472
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bn(Object(n)).forEach(function(a) {
|
|
6469
6473
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
6470
6474
|
});
|
|
6471
6475
|
}
|
|
@@ -6490,12 +6494,12 @@ function fc(e) {
|
|
|
6490
6494
|
}
|
|
6491
6495
|
function pc(e, t) {
|
|
6492
6496
|
if (e) {
|
|
6493
|
-
if (typeof e == "string") return
|
|
6497
|
+
if (typeof e == "string") return St(e, t);
|
|
6494
6498
|
var n = {}.toString.call(e).slice(8, -1);
|
|
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) ?
|
|
6499
|
+
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;
|
|
6496
6500
|
}
|
|
6497
6501
|
}
|
|
6498
|
-
var
|
|
6502
|
+
var In = {
|
|
6499
6503
|
activateTrap: function(t, n) {
|
|
6500
6504
|
if (t.length > 0) {
|
|
6501
6505
|
var a = t[t.length - 1];
|
|
@@ -6512,22 +6516,22 @@ var hn = {
|
|
|
6512
6516
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
6513
6517
|
}, gc = function(t) {
|
|
6514
6518
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
6515
|
-
},
|
|
6519
|
+
}, Ue = function(t) {
|
|
6516
6520
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
6517
6521
|
}, bc = function(t) {
|
|
6518
|
-
return
|
|
6522
|
+
return Ue(t) && !t.shiftKey;
|
|
6519
6523
|
}, mc = function(t) {
|
|
6520
|
-
return
|
|
6521
|
-
},
|
|
6524
|
+
return Ue(t) && t.shiftKey;
|
|
6525
|
+
}, hn = function(t) {
|
|
6522
6526
|
return setTimeout(t, 0);
|
|
6523
|
-
},
|
|
6527
|
+
}, xe = function(t) {
|
|
6524
6528
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
6525
6529
|
a[o - 1] = arguments[o];
|
|
6526
6530
|
return typeof t == "function" ? t.apply(void 0, a) : t;
|
|
6527
|
-
},
|
|
6531
|
+
}, Re = function(t) {
|
|
6528
6532
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
6529
6533
|
}, Ic = [], hc = function(t, n) {
|
|
6530
|
-
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Ic, r =
|
|
6534
|
+
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || Ic, r = mn({
|
|
6531
6535
|
returnFocusOnDeactivate: !0,
|
|
6532
6536
|
escapeDeactivates: !0,
|
|
6533
6537
|
delayInitialFocus: !0,
|
|
@@ -6608,7 +6612,7 @@ var hn = {
|
|
|
6608
6612
|
});
|
|
6609
6613
|
if (g === !1)
|
|
6610
6614
|
return !1;
|
|
6611
|
-
if (g === void 0 || g && !
|
|
6615
|
+
if (g === void 0 || g && !yt(g, r.tabbableOptions))
|
|
6612
6616
|
if (u(a.activeElement) >= 0)
|
|
6613
6617
|
g = a.activeElement;
|
|
6614
6618
|
else {
|
|
@@ -6619,12 +6623,12 @@ var hn = {
|
|
|
6619
6623
|
if (!g)
|
|
6620
6624
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
6621
6625
|
return g;
|
|
6622
|
-
},
|
|
6626
|
+
}, b = function() {
|
|
6623
6627
|
if (l.containerGroups = l.containers.map(function(g) {
|
|
6624
6628
|
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) {
|
|
6625
|
-
return
|
|
6629
|
+
return Qe(ee);
|
|
6626
6630
|
}), V = L.slice().reverse().find(function(ee) {
|
|
6627
|
-
return
|
|
6631
|
+
return Qe(ee);
|
|
6628
6632
|
}), _ = !!E.find(function(ee) {
|
|
6629
6633
|
return Ce(ee) > 0;
|
|
6630
6634
|
});
|
|
@@ -6660,9 +6664,9 @@ var hn = {
|
|
|
6660
6664
|
nextTabbableNode: function(re) {
|
|
6661
6665
|
var he = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, pe = E.indexOf(re);
|
|
6662
6666
|
return pe < 0 ? he ? L.slice(L.indexOf(re) + 1).find(function(ge) {
|
|
6663
|
-
return
|
|
6667
|
+
return Qe(ge);
|
|
6664
6668
|
}) : L.slice(0, L.indexOf(re)).reverse().find(function(ge) {
|
|
6665
|
-
return
|
|
6669
|
+
return Qe(ge);
|
|
6666
6670
|
}) : E[pe + (he ? 1 : -1)];
|
|
6667
6671
|
}
|
|
6668
6672
|
};
|
|
@@ -6674,12 +6678,12 @@ var hn = {
|
|
|
6674
6678
|
return g.posTabIndexesFound;
|
|
6675
6679
|
}) && l.containerGroups.length > 1)
|
|
6676
6680
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
6677
|
-
},
|
|
6681
|
+
}, m = function(g) {
|
|
6678
6682
|
var E = g.activeElement;
|
|
6679
6683
|
if (E)
|
|
6680
|
-
return E.shadowRoot && E.shadowRoot.activeElement !== null ?
|
|
6684
|
+
return E.shadowRoot && E.shadowRoot.activeElement !== null ? m(E.shadowRoot) : E;
|
|
6681
6685
|
}, I = function(g) {
|
|
6682
|
-
if (g !== !1 && g !==
|
|
6686
|
+
if (g !== !1 && g !== m(document)) {
|
|
6683
6687
|
if (!g || !g.focus) {
|
|
6684
6688
|
I(d());
|
|
6685
6689
|
return;
|
|
@@ -6695,38 +6699,38 @@ var hn = {
|
|
|
6695
6699
|
return E || (E === !1 ? !1 : g);
|
|
6696
6700
|
}, v = function(g) {
|
|
6697
6701
|
var E = g.target, L = g.event, W = g.isBackward, P = W === void 0 ? !1 : W;
|
|
6698
|
-
E = E ||
|
|
6702
|
+
E = E || Re(L), b();
|
|
6699
6703
|
var H = null;
|
|
6700
6704
|
if (l.tabbableGroups.length > 0) {
|
|
6701
6705
|
var V = u(E, L), _ = V >= 0 ? l.containerGroups[V] : void 0;
|
|
6702
6706
|
if (V < 0)
|
|
6703
6707
|
P ? H = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : H = l.tabbableGroups[0].firstTabbableNode;
|
|
6704
6708
|
else if (P) {
|
|
6705
|
-
var ee = l.tabbableGroups.findIndex(function(
|
|
6706
|
-
var
|
|
6707
|
-
return E ===
|
|
6709
|
+
var ee = l.tabbableGroups.findIndex(function(vt) {
|
|
6710
|
+
var gt = vt.firstTabbableNode;
|
|
6711
|
+
return E === gt;
|
|
6708
6712
|
});
|
|
6709
|
-
if (ee < 0 && (_.container === E ||
|
|
6713
|
+
if (ee < 0 && (_.container === E || yt(E, r.tabbableOptions) && !Qe(E, r.tabbableOptions) && !_.nextTabbableNode(E, !1)) && (ee = V), ee >= 0) {
|
|
6710
6714
|
var re = ee === 0 ? l.tabbableGroups.length - 1 : ee - 1, he = l.tabbableGroups[re];
|
|
6711
6715
|
H = Ce(E) >= 0 ? he.lastTabbableNode : he.lastDomTabbableNode;
|
|
6712
|
-
} else
|
|
6716
|
+
} else Ue(L) || (H = _.nextTabbableNode(E, !1));
|
|
6713
6717
|
} else {
|
|
6714
|
-
var pe = l.tabbableGroups.findIndex(function(
|
|
6715
|
-
var
|
|
6716
|
-
return E ===
|
|
6718
|
+
var pe = l.tabbableGroups.findIndex(function(vt) {
|
|
6719
|
+
var gt = vt.lastTabbableNode;
|
|
6720
|
+
return E === gt;
|
|
6717
6721
|
});
|
|
6718
|
-
if (pe < 0 && (_.container === E ||
|
|
6719
|
-
var ge = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1,
|
|
6720
|
-
H = Ce(E) >= 0 ?
|
|
6721
|
-
} else
|
|
6722
|
+
if (pe < 0 && (_.container === E || yt(E, r.tabbableOptions) && !Qe(E, r.tabbableOptions) && !_.nextTabbableNode(E)) && (pe = V), pe >= 0) {
|
|
6723
|
+
var ge = pe === l.tabbableGroups.length - 1 ? 0 : pe + 1, Te = l.tabbableGroups[ge];
|
|
6724
|
+
H = Ce(E) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
|
|
6725
|
+
} else Ue(L) || (H = _.nextTabbableNode(E));
|
|
6722
6726
|
}
|
|
6723
6727
|
} else
|
|
6724
6728
|
H = A("fallbackFocus");
|
|
6725
6729
|
return H;
|
|
6726
6730
|
}, k = function(g) {
|
|
6727
|
-
var E =
|
|
6731
|
+
var E = Re(g);
|
|
6728
6732
|
if (!(u(E, g) >= 0)) {
|
|
6729
|
-
if (
|
|
6733
|
+
if (xe(r.clickOutsideDeactivates, g)) {
|
|
6730
6734
|
s.deactivate({
|
|
6731
6735
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
6732
6736
|
// which will result in the outside click setting focus to the node
|
|
@@ -6738,10 +6742,10 @@ var hn = {
|
|
|
6738
6742
|
});
|
|
6739
6743
|
return;
|
|
6740
6744
|
}
|
|
6741
|
-
|
|
6745
|
+
xe(r.allowOutsideClick, g) || g.preventDefault();
|
|
6742
6746
|
}
|
|
6743
6747
|
}, S = function(g) {
|
|
6744
|
-
var E =
|
|
6748
|
+
var E = Re(g), L = u(E, g) >= 0;
|
|
6745
6749
|
if (L || E instanceof Document)
|
|
6746
6750
|
L && (l.mostRecentlyFocusedNode = E);
|
|
6747
6751
|
else {
|
|
@@ -6779,17 +6783,17 @@ var hn = {
|
|
|
6779
6783
|
event: g,
|
|
6780
6784
|
isBackward: E
|
|
6781
6785
|
});
|
|
6782
|
-
L && (
|
|
6786
|
+
L && (Ue(g) && g.preventDefault(), I(L));
|
|
6783
6787
|
}, T = function(g) {
|
|
6784
6788
|
(r.isKeyForward(g) || r.isKeyBackward(g)) && Q(g, r.isKeyBackward(g));
|
|
6785
6789
|
}, z = function(g) {
|
|
6786
|
-
gc(g) &&
|
|
6790
|
+
gc(g) && xe(r.escapeDeactivates, g) !== !1 && (g.preventDefault(), s.deactivate());
|
|
6787
6791
|
}, O = function(g) {
|
|
6788
|
-
var E =
|
|
6789
|
-
u(E, g) >= 0 ||
|
|
6792
|
+
var E = Re(g);
|
|
6793
|
+
u(E, g) >= 0 || xe(r.clickOutsideDeactivates, g) || xe(r.allowOutsideClick, g) || (g.preventDefault(), g.stopImmediatePropagation());
|
|
6790
6794
|
}, w = function() {
|
|
6791
6795
|
if (l.active)
|
|
6792
|
-
return
|
|
6796
|
+
return In.activateTrap(o, s), l.delayInitialFocusTimer = r.delayInitialFocus ? hn(function() {
|
|
6793
6797
|
I(d());
|
|
6794
6798
|
}) : I(d()), a.addEventListener("focusin", S, !0), a.addEventListener("mousedown", k, {
|
|
6795
6799
|
capture: !0,
|
|
@@ -6834,25 +6838,25 @@ var hn = {
|
|
|
6834
6838
|
if (l.active)
|
|
6835
6839
|
return this;
|
|
6836
6840
|
var E = i(g, "onActivate"), L = i(g, "onPostActivate"), W = i(g, "checkCanFocusTrap");
|
|
6837
|
-
W ||
|
|
6841
|
+
W || b(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = m(a), E == null || E();
|
|
6838
6842
|
var P = function() {
|
|
6839
|
-
W &&
|
|
6843
|
+
W && b(), w(), y(), L == null || L();
|
|
6840
6844
|
};
|
|
6841
6845
|
return W ? (W(l.containers.concat()).then(P, P), this) : (P(), this);
|
|
6842
6846
|
},
|
|
6843
6847
|
deactivate: function(g) {
|
|
6844
6848
|
if (!l.active)
|
|
6845
6849
|
return this;
|
|
6846
|
-
var E =
|
|
6850
|
+
var E = mn({
|
|
6847
6851
|
onDeactivate: r.onDeactivate,
|
|
6848
6852
|
onPostDeactivate: r.onPostDeactivate,
|
|
6849
6853
|
checkCanReturnFocus: r.checkCanReturnFocus
|
|
6850
6854
|
}, g);
|
|
6851
|
-
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, y(),
|
|
6855
|
+
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, J(), l.active = !1, l.paused = !1, y(), In.deactivateTrap(o, s);
|
|
6852
6856
|
var L = i(E, "onDeactivate"), W = i(E, "onPostDeactivate"), P = i(E, "checkCanReturnFocus"), H = i(E, "returnFocus", "returnFocusOnDeactivate");
|
|
6853
6857
|
L == null || L();
|
|
6854
6858
|
var V = function() {
|
|
6855
|
-
|
|
6859
|
+
hn(function() {
|
|
6856
6860
|
H && I(C(l.nodeFocusedBeforeActivation)), W == null || W();
|
|
6857
6861
|
});
|
|
6858
6862
|
};
|
|
@@ -6868,7 +6872,7 @@ var hn = {
|
|
|
6868
6872
|
var E = [].concat(g).filter(Boolean);
|
|
6869
6873
|
return l.containers = E.map(function(L) {
|
|
6870
6874
|
return typeof L == "string" ? a.querySelector(L) : L;
|
|
6871
|
-
}), l.active &&
|
|
6875
|
+
}), l.active && b(), y(), this;
|
|
6872
6876
|
}
|
|
6873
6877
|
}, Object.defineProperties(s, {
|
|
6874
6878
|
_isManuallyPaused: {
|
|
@@ -6885,7 +6889,7 @@ var hn = {
|
|
|
6885
6889
|
L == null || L(), J(), y(), W == null || W();
|
|
6886
6890
|
} else {
|
|
6887
6891
|
var P = i(E, "onUnpause"), H = i(E, "onPostUnpause");
|
|
6888
|
-
P == null || P(),
|
|
6892
|
+
P == null || P(), b(), w(), y(), H == null || H();
|
|
6889
6893
|
}
|
|
6890
6894
|
return this;
|
|
6891
6895
|
}
|
|
@@ -6933,21 +6937,21 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6933
6937
|
n.value = d;
|
|
6934
6938
|
return;
|
|
6935
6939
|
}
|
|
6936
|
-
const
|
|
6937
|
-
|
|
6940
|
+
const b = d.$el;
|
|
6941
|
+
b instanceof HTMLElement ? n.value = b : n.value = null;
|
|
6938
6942
|
}
|
|
6939
6943
|
return t({ setTriggerRef: A, triggerRef: n }), oe(o, async (d) => {
|
|
6940
|
-
d ? (await
|
|
6941
|
-
}),
|
|
6944
|
+
d ? (await De(), i()) : u();
|
|
6945
|
+
}), yn(() => {
|
|
6942
6946
|
u();
|
|
6943
|
-
}), (d,
|
|
6947
|
+
}), (d, b) => (c(), p("div", Cc, [
|
|
6944
6948
|
h("div", {
|
|
6945
6949
|
ref: A,
|
|
6946
6950
|
class: "av-popover-trigger-wrapper"
|
|
6947
6951
|
}, [
|
|
6948
6952
|
B(d.$slots, "trigger", { toggle: f(l) }, void 0, !0)
|
|
6949
6953
|
]),
|
|
6950
|
-
(c(), U(
|
|
6954
|
+
(c(), U(Nn, { to: "body" }, [
|
|
6951
6955
|
f(o) ? (c(), p("div", {
|
|
6952
6956
|
key: 0,
|
|
6953
6957
|
ref_key: "popoverRef",
|
|
@@ -6955,9 +6959,9 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6955
6959
|
tabindex: "-1",
|
|
6956
6960
|
class: "av-popover",
|
|
6957
6961
|
style: be(`top: ${f(r).top}rem; left: ${f(r).left}rem;`),
|
|
6958
|
-
onKeydown:
|
|
6962
|
+
onKeydown: b[0] || (b[0] = st(ce(
|
|
6959
6963
|
//@ts-ignore
|
|
6960
|
-
(...
|
|
6964
|
+
(...m) => f(s) && f(s)(...m),
|
|
6961
6965
|
["prevent"]
|
|
6962
6966
|
), ["esc"]))
|
|
6963
6967
|
}, [
|
|
@@ -6999,18 +7003,18 @@ export {
|
|
|
6999
7003
|
Fc as AvAutocompleteStub,
|
|
7000
7004
|
Tc as AvBadge,
|
|
7001
7005
|
Nc as AvBadgeStub,
|
|
7002
|
-
|
|
7006
|
+
Ne as AvButton,
|
|
7003
7007
|
Pc as AvButtonStub,
|
|
7004
7008
|
Lc as AvCard,
|
|
7005
7009
|
sd as AvDrawer,
|
|
7006
7010
|
id as AvDrawerStub,
|
|
7007
7011
|
Wc as AvFileUpload,
|
|
7008
7012
|
wc as AvHeader,
|
|
7009
|
-
|
|
7013
|
+
An as AvHeaderMenuLinks,
|
|
7010
7014
|
oi as AvIconText,
|
|
7011
7015
|
Qs as AvInput,
|
|
7012
|
-
|
|
7013
|
-
|
|
7016
|
+
Yn as AvList,
|
|
7017
|
+
Gn as AvListItem,
|
|
7014
7018
|
Uc as AvListItemStub,
|
|
7015
7019
|
Vc as AvListStub,
|
|
7016
7020
|
Ni as AvLogo,
|
|
@@ -7021,7 +7025,7 @@ export {
|
|
|
7021
7025
|
td as AvPagination,
|
|
7022
7026
|
Ad as AvPopover,
|
|
7023
7027
|
Xs as AvRadioButton,
|
|
7024
|
-
|
|
7028
|
+
Rc as AvRadioButtonSet,
|
|
7025
7029
|
xc as AvRichButton,
|
|
7026
7030
|
Gc as AvSelect,
|
|
7027
7031
|
Yc as AvSelectStub,
|
|
@@ -7033,26 +7037,26 @@ export {
|
|
|
7033
7037
|
Jc as AvTab,
|
|
7034
7038
|
_c as AvTabs,
|
|
7035
7039
|
Us as AvTagPicker,
|
|
7036
|
-
|
|
7040
|
+
Zc as AvTagPickerStub,
|
|
7037
7041
|
Dc as AvToaster,
|
|
7038
7042
|
$c as AvToggle,
|
|
7039
7043
|
se as AvVIcon,
|
|
7040
7044
|
Qc as AvVIconStub,
|
|
7041
|
-
|
|
7045
|
+
Le as DropdownState,
|
|
7042
7046
|
cd as DsfrBadgeStub,
|
|
7043
7047
|
dd as DsfrModalStub,
|
|
7044
7048
|
fd as DsfrNavigationStub,
|
|
7045
7049
|
zc as EsupLogo,
|
|
7046
7050
|
Sc as ICONS_DATA_URL,
|
|
7047
7051
|
ne as MDI_ICONS,
|
|
7048
|
-
|
|
7052
|
+
Jn as PageSizes,
|
|
7049
7053
|
Oc as RI_ICONS,
|
|
7050
7054
|
pd as VIconStub,
|
|
7051
7055
|
ri as formatTextToHtml,
|
|
7052
7056
|
nd as getPaginationPages,
|
|
7053
7057
|
qc as isValidEmail,
|
|
7054
7058
|
Hc as pageSizeValues,
|
|
7055
|
-
|
|
7059
|
+
xn as registerNavigationLinkKey,
|
|
7056
7060
|
xs as removeDuplicates,
|
|
7057
7061
|
yc as useFocusTrap
|
|
7058
7062
|
};
|