@avenirs-esr/avenirs-dsav 0.1.103 → 0.1.104
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/index.cjs.js +1 -1
- package/dist/index.es.js +381 -381
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, useCssVars as se, computed as b, createElementBlock as I, openBlock as
|
|
1
|
+
import { defineComponent as Q, useCssVars as se, computed as b, createElementBlock as I, openBlock as u, normalizeStyle as ce, normalizeClass as j, unref as l, createElementVNode as g, toDisplayString as B, createPropsRestProxy as Da, createBlock as p, resolveDynamicComponent as Me, mergeProps as ee, withCtx as G, createCommentVNode as D, createVNode as W, Fragment as $, renderList as ie, useSlots as fe, createTextVNode as De, renderSlot as P, ref as U, normalizeProps as La, withDirectives as It, vShow as Yt, TransitionGroup as wa, toRefs as qt, watch as re, onBeforeUnmount as gt, inject as tt, toRef as Ft, onMounted as de, provide as bt, onUnmounted as ve, nextTick as at, getCurrentScope as Oa, onScopeDispose as Sa, getCurrentInstance as ht, hasInjectionContext as yt, isRef as Ct, toValue as le, shallowRef as ye, reactive as ut, watchEffect as Qa, withModifiers as ue, mergeModels as ge, useModel as Le, vModelCheckbox as xa, withKeys as Ae, createSlots as qe, useTemplateRef as pa, resolveComponent as Mt, Teleport as Kt, Comment as ka, cloneVNode as ja } from "vue";
|
|
2
2
|
import { r as Gt } from "./injection-key.es.js";
|
|
3
3
|
const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -21,7 +21,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
21
21
|
var i, r;
|
|
22
22
|
return (i = e.icon) != null && i.startsWith("data:") ? null : (r = e.icon) == null ? void 0 : r.replace(":", "-");
|
|
23
23
|
}), a = b(() => `--icon-${t.value}`), n = b(() => t.value ? { "--icon-path": `var(${a.value})` } : e.icon ? { "--icon-path": `url(${e.icon})` } : {});
|
|
24
|
-
return (i, r) => (
|
|
24
|
+
return (i, r) => (u(), I("p", {
|
|
25
25
|
class: j(["av-badge", {
|
|
26
26
|
"av-badge--sm": e.small,
|
|
27
27
|
"av-badge--custom-icon": e.icon,
|
|
@@ -61,7 +61,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
61
61
|
v7f7f664e: i.color
|
|
62
62
|
}));
|
|
63
63
|
const t = b(() => `${e.size}rem`), a = b(() => e.name.replace(":", "-")), n = b(() => `--icon-${a.value}`);
|
|
64
|
-
return (i, r) => (
|
|
64
|
+
return (i, r) => (u(), I("div", {
|
|
65
65
|
class: j(["av-icon", {
|
|
66
66
|
"av-icon--spin": e.animation === "spin",
|
|
67
67
|
"av-icon--wrench": e.animation === "wrench",
|
|
@@ -243,7 +243,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
243
243
|
const t = Da(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a = b(() => e.disabled && e.tagName === "p" || t.selectable ? "button" : e.tagName), n = b(() => ({
|
|
244
244
|
"--icon-path": `url(${me.MDI_CHECK_CIRCLE_OUTLINE})`
|
|
245
245
|
}));
|
|
246
|
-
return (i, r) => (
|
|
246
|
+
return (i, r) => (u(), p(Me(l(a)), ee({
|
|
247
247
|
class: ["av-tag", {
|
|
248
248
|
"av-tag--sm": e.small
|
|
249
249
|
}],
|
|
@@ -254,13 +254,13 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
254
254
|
onClick: r[0] || (r[0] = (o) => !e.disabled && t.selectable && i.$emit("select", [t.value, t.selected ?? !1]))
|
|
255
255
|
}), {
|
|
256
256
|
default: G(() => [
|
|
257
|
-
e.icon ? (
|
|
257
|
+
e.icon ? (u(), p(ne, {
|
|
258
258
|
key: 0,
|
|
259
259
|
title: e.iconOnly ? e.label : void 0,
|
|
260
260
|
size: e.small ? 0.875 : 1,
|
|
261
261
|
name: e.icon
|
|
262
262
|
}, null, 8, ["title", "size", "name"])) : D("", !0),
|
|
263
|
-
e.iconOnly ? D("", !0) : (
|
|
263
|
+
e.iconOnly ? D("", !0) : (u(), I("span", {
|
|
264
264
|
key: 1,
|
|
265
265
|
class: j(e.small ? "caption-regular" : "b2-regular")
|
|
266
266
|
}, B(e.label), 3))
|
|
@@ -285,7 +285,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
285
285
|
v19519e2d: i.textColor
|
|
286
286
|
}));
|
|
287
287
|
const t = b(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = b(() => e.inline ? void 0 : "ellipsis-container"), n = b(() => e.inline ? void 0 : "ellipsis");
|
|
288
|
-
return (i, r) => (
|
|
288
|
+
return (i, r) => (u(), I("div", {
|
|
289
289
|
class: j(["icon-text--container", [l(a)]])
|
|
290
290
|
}, [
|
|
291
291
|
W(ne, {
|
|
@@ -344,8 +344,8 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
344
344
|
}), n = b(() => e.message ? Array.isArray(e.message) ? e.message : [e.message ?? ""] : []);
|
|
345
345
|
return (i, r) => {
|
|
346
346
|
const o = Ra;
|
|
347
|
-
return
|
|
348
|
-
(
|
|
347
|
+
return u(), I("div", Za, [
|
|
348
|
+
(u(!0), I($, null, ie(l(n), (s, c) => (u(), p(o, ee({
|
|
349
349
|
id: `${l(t)}-${c}`,
|
|
350
350
|
key: `${l(t)}-${c}`,
|
|
351
351
|
class: `av-message--${e.type}`
|
|
@@ -376,7 +376,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
376
376
|
const t = fe(), a = b(() => e.errorMessage || e.successMessage);
|
|
377
377
|
return (n, i) => {
|
|
378
378
|
const r = pe;
|
|
379
|
-
return
|
|
379
|
+
return u(), I("fieldset", {
|
|
380
380
|
class: j(["av-fieldset", {
|
|
381
381
|
"av-fieldset--error": e.errorMessage,
|
|
382
382
|
"av-fieldset--success": e.successMessage && !e.errorMessage,
|
|
@@ -384,7 +384,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
384
384
|
}])
|
|
385
385
|
}, [
|
|
386
386
|
g("div", null, [
|
|
387
|
-
e.legend || t.legend ? (
|
|
387
|
+
e.legend || t.legend ? (u(), I("legend", {
|
|
388
388
|
key: 0,
|
|
389
389
|
id: e.legendId,
|
|
390
390
|
class: j(["av-fieldset__legend", e.legendClass])
|
|
@@ -392,14 +392,14 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
392
392
|
De(B(e.legend) + " ", 1),
|
|
393
393
|
P(n.$slots, "legend", {}, void 0, !0)
|
|
394
394
|
], 10, Ya)) : D("", !0),
|
|
395
|
-
e.hint || t.hint ? (
|
|
395
|
+
e.hint || t.hint ? (u(), I("div", qa, [
|
|
396
396
|
g("span", {
|
|
397
397
|
class: j(["av-hint-text", e.hintClass])
|
|
398
398
|
}, [
|
|
399
399
|
De(B(e.hint) + " ", 1),
|
|
400
400
|
P(n.$slots, "hint", {}, void 0, !0)
|
|
401
401
|
], 2),
|
|
402
|
-
e.required ? (
|
|
402
|
+
e.required ? (u(), I("span", Fa, " *")) : D("", !0)
|
|
403
403
|
])) : D("", !0),
|
|
404
404
|
g("div", Ka, [
|
|
405
405
|
P(n.$slots, "default", {}, void 0, !0)
|
|
@@ -418,7 +418,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
418
418
|
disabled: { type: Boolean, default: !1 }
|
|
419
419
|
},
|
|
420
420
|
setup(e) {
|
|
421
|
-
return (t, a) => (
|
|
421
|
+
return (t, a) => (u(), I("div", {
|
|
422
422
|
class: j(["av-fieldset__element", {
|
|
423
423
|
"av-fieldset__element--disabled": e.disabled
|
|
424
424
|
}])
|
|
@@ -454,7 +454,7 @@ const en = { class: "b2-bold" }, tn = { class: "b2-regular" }, an = ["innerHTML"
|
|
|
454
454
|
});
|
|
455
455
|
return (n, i) => {
|
|
456
456
|
const r = ne;
|
|
457
|
-
return
|
|
457
|
+
return u(), I("div", {
|
|
458
458
|
class: j(["av-notice", `av-notice--${e.type}`])
|
|
459
459
|
}, [
|
|
460
460
|
W(r, ee(l(a), { size: 1.5 }), null, 16),
|
|
@@ -504,10 +504,10 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
504
504
|
return { name: e.icon, size: r.value };
|
|
505
505
|
if (e.icon && typeof e.icon != "string")
|
|
506
506
|
return { ...e.icon, size: r.value };
|
|
507
|
-
}), s = b(() => e.noSentenceCase ? e.label : _a(e.label)), c = b(() => e.disabled || e.isLoading), A = b(() => `av-button--variant-${e.variant.toLowerCase()}`),
|
|
507
|
+
}), s = b(() => e.noSentenceCase ? e.label : _a(e.label)), c = b(() => e.disabled || e.isLoading), A = b(() => `av-button--variant-${e.variant.toLowerCase()}`), d = b(() => `av-button--theme-${e.theme.toLowerCase()}`);
|
|
508
508
|
return (f, C) => {
|
|
509
509
|
const m = ne;
|
|
510
|
-
return
|
|
510
|
+
return u(), I("button", {
|
|
511
511
|
ref_key: "btn",
|
|
512
512
|
ref: a,
|
|
513
513
|
class: j(["av-button", [
|
|
@@ -517,7 +517,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
517
517
|
"av-button--no-radius": e.noRadius
|
|
518
518
|
},
|
|
519
519
|
l(A),
|
|
520
|
-
l(
|
|
520
|
+
l(d)
|
|
521
521
|
]]),
|
|
522
522
|
title: e.iconOnly ? l(s) : void 0,
|
|
523
523
|
disabled: l(c),
|
|
@@ -526,8 +526,8 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
526
526
|
style: ce(e.iconOnly ? { "padding-inline": "var(--spacing-xs)" } : {}),
|
|
527
527
|
onClick: C[0] || (C[0] = (v) => f.$emit("click", v))
|
|
528
528
|
}, [
|
|
529
|
-
l(o) ? (
|
|
530
|
-
e.iconOnly ? D("", !0) : (
|
|
529
|
+
l(o) ? (u(), p(m, La(ee({ key: 0 }, l(o))), null, 16)) : D("", !0),
|
|
530
|
+
e.iconOnly ? D("", !0) : (u(), I("span", {
|
|
531
531
|
key: 1,
|
|
532
532
|
class: j(e.small ? "b2-regular" : "b1-regular")
|
|
533
533
|
}, B(l(s)), 3))
|
|
@@ -543,7 +543,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
543
543
|
}, An = {
|
|
544
544
|
key: 1,
|
|
545
545
|
class: "av-card__footer"
|
|
546
|
-
},
|
|
546
|
+
}, un = /* @__PURE__ */ Q({
|
|
547
547
|
__name: "AvCard",
|
|
548
548
|
props: {
|
|
549
549
|
titleOnly: { type: Boolean, default: !1 },
|
|
@@ -558,11 +558,11 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
558
558
|
const t = fe(), a = U(e.collapsed);
|
|
559
559
|
return (n, i) => {
|
|
560
560
|
const r = oe;
|
|
561
|
-
return
|
|
561
|
+
return u(), I("div", {
|
|
562
562
|
class: "av-card",
|
|
563
563
|
style: ce({ borderColor: e.borderColor, background: e.backgroundColor })
|
|
564
564
|
}, [
|
|
565
|
-
t.title ? (
|
|
565
|
+
t.title ? (u(), I("div", {
|
|
566
566
|
key: 0,
|
|
567
567
|
class: j(["av-card__title", {
|
|
568
568
|
"av-card__title--collapsed": l(a),
|
|
@@ -571,7 +571,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
571
571
|
style: ce({ background: e.titleBackground, minHeight: e.titleHeight, maxHeight: e.titleHeight })
|
|
572
572
|
}, [
|
|
573
573
|
P(n.$slots, "title", {}, void 0, !0),
|
|
574
|
-
!e.titleOnly && e.collapsible ? (
|
|
574
|
+
!e.titleOnly && e.collapsible ? (u(), p(r, {
|
|
575
575
|
key: 0,
|
|
576
576
|
icon: l(a) ? l(R).CHEVRON_DOWN : l(R).CHEVRON_LEFT,
|
|
577
577
|
"icon-only": "",
|
|
@@ -579,12 +579,12 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
579
579
|
onClick: i[0] || (i[0] = (o) => a.value = !l(a))
|
|
580
580
|
}, null, 8, ["icon"])) : D("", !0)
|
|
581
581
|
], 6)) : D("", !0),
|
|
582
|
-
e.titleOnly ? D("", !0) : It((
|
|
582
|
+
e.titleOnly ? D("", !0) : It((u(), I("div", sn, [
|
|
583
583
|
P(n.$slots, "default", {}, void 0, !0),
|
|
584
|
-
t.body ? (
|
|
584
|
+
t.body ? (u(), I("div", cn, [
|
|
585
585
|
P(n.$slots, "body", {}, void 0, !0)
|
|
586
586
|
])) : D("", !0),
|
|
587
|
-
t.footer ? (
|
|
587
|
+
t.footer ? (u(), I("div", An, [
|
|
588
588
|
P(n.$slots, "footer", {}, void 0, !0)
|
|
589
589
|
])) : D("", !0)
|
|
590
590
|
], 512)), [
|
|
@@ -593,7 +593,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
593
593
|
], 4);
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
|
-
}), hA = /* @__PURE__ */ z(
|
|
596
|
+
}), hA = /* @__PURE__ */ z(un, [["__scopeId", "data-v-61673ac5"]]), dn = ["id", "role"], fn = { class: "av-alert__container" }, vn = { class: "av-alert__content" }, mn = { class: "av-alert__title" }, In = {
|
|
597
597
|
key: 0,
|
|
598
598
|
class: "s2-bold"
|
|
599
599
|
}, gn = { class: "b1-regular" }, bn = /* @__PURE__ */ Q({
|
|
@@ -631,7 +631,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
631
631
|
return { name: R.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
|
-
return (s, c) => e.closed ? D("", !0) : (
|
|
634
|
+
return (s, c) => e.closed ? D("", !0) : (u(), I("div", {
|
|
635
635
|
key: 0,
|
|
636
636
|
id: l(n),
|
|
637
637
|
class: j(["av-alert", l(r)]),
|
|
@@ -641,13 +641,13 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
641
641
|
g("div", vn, [
|
|
642
642
|
W(ne, ee(l(o), { size: 3 }), null, 16),
|
|
643
643
|
g("div", mn, [
|
|
644
|
-
e.small ? D("", !0) : (
|
|
644
|
+
e.small ? D("", !0) : (u(), I("span", In, B(e.title), 1)),
|
|
645
645
|
P(s.$slots, "default", {}, () => [
|
|
646
646
|
g("span", gn, B(e.description), 1)
|
|
647
647
|
], !0)
|
|
648
648
|
])
|
|
649
649
|
]),
|
|
650
|
-
e.closeable ? (
|
|
650
|
+
e.closeable ? (u(), p(oe, {
|
|
651
651
|
key: 0,
|
|
652
652
|
"icon-only": "",
|
|
653
653
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -656,7 +656,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
656
656
|
onClick: i
|
|
657
657
|
}, null, 8, ["icon", "label", "small"])) : D("", !0)
|
|
658
658
|
])
|
|
659
|
-
], 10,
|
|
659
|
+
], 10, dn));
|
|
660
660
|
}
|
|
661
661
|
}), hn = /* @__PURE__ */ z(bn, [["__scopeId", "data-v-f32d9c3d"]]), yn = { class: "toaster-container" }, Cn = /* @__PURE__ */ Q({
|
|
662
662
|
__name: "AvToaster",
|
|
@@ -681,7 +681,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
681
681
|
return { "--icon-path": `url(${me.MDI_MESSAGE_BADGE})` };
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
return (n, i) => (
|
|
684
|
+
return (n, i) => (u(), I("div", yn, [
|
|
685
685
|
W(wa, {
|
|
686
686
|
mode: "out-in",
|
|
687
687
|
name: "list",
|
|
@@ -689,7 +689,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
689
689
|
class: "toasters"
|
|
690
690
|
}, {
|
|
691
691
|
default: G(() => [
|
|
692
|
-
(
|
|
692
|
+
(u(!0), I($, null, ie(e.messages, (r) => (u(), p(hn, ee({
|
|
693
693
|
key: r.id,
|
|
694
694
|
class: ["av-toaster", t(r.type)]
|
|
695
695
|
}, { ref_for: !0 }, r, {
|
|
@@ -719,24 +719,24 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
719
719
|
},
|
|
720
720
|
emits: ["escapePressed"],
|
|
721
721
|
setup(e, { emit: t }) {
|
|
722
|
-
se((
|
|
722
|
+
se((d) => ({
|
|
723
723
|
a82a08d0: l(o),
|
|
724
724
|
v45be453a: l(s)
|
|
725
725
|
}));
|
|
726
726
|
const a = e, n = t, i = fe(), { position: r, width: o, padding: s, show: c } = qt(a);
|
|
727
|
-
function A(
|
|
728
|
-
|
|
727
|
+
function A(d) {
|
|
728
|
+
d.key === "Escape" && n("escapePressed");
|
|
729
729
|
}
|
|
730
730
|
return re(
|
|
731
731
|
c,
|
|
732
|
-
(
|
|
733
|
-
|
|
732
|
+
(d) => {
|
|
733
|
+
d ? window.addEventListener("keydown", A) : window.removeEventListener("keydown", A);
|
|
734
734
|
},
|
|
735
735
|
{ immediate: !0 }
|
|
736
736
|
), gt(() => {
|
|
737
737
|
window.removeEventListener("keydown", A);
|
|
738
|
-
}), (
|
|
739
|
-
e.backdrop ? (
|
|
738
|
+
}), (d, f) => l(c) ? (u(), I("div", Mn, [
|
|
739
|
+
e.backdrop ? (u(), I("div", En)) : D("", !0),
|
|
740
740
|
g("div", {
|
|
741
741
|
class: j(["av-drawer", `av-drawer--${l(r)}`]),
|
|
742
742
|
role: "dialog",
|
|
@@ -745,10 +745,10 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
745
745
|
}, [
|
|
746
746
|
g("div", Tn, [
|
|
747
747
|
g("div", Dn, [
|
|
748
|
-
P(
|
|
748
|
+
P(d.$slots, "default", {}, void 0, !0)
|
|
749
749
|
]),
|
|
750
|
-
i.footer ? (
|
|
751
|
-
P(
|
|
750
|
+
i.footer ? (u(), I("div", Ln, [
|
|
751
|
+
P(d.$slots, "footer", {}, void 0, !0)
|
|
752
752
|
])) : D("", !0)
|
|
753
753
|
])
|
|
754
754
|
], 10, Nn)
|
|
@@ -795,19 +795,19 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
795
795
|
cssExpanded: n,
|
|
796
796
|
doExpand: i,
|
|
797
797
|
onTransitionEnd: r
|
|
798
|
-
} = Ze(), o = b(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = U(), c = tt(Gt), { isActive: A, expand:
|
|
798
|
+
} = Ze(), o = b(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = U(), c = tt(Gt), { isActive: A, expand: d } = (c == null ? void 0 : c(Ft(() => e.title))) ?? {
|
|
799
799
|
isActive: s,
|
|
800
800
|
expand: () => s.value = !s.value
|
|
801
801
|
}, f = b(() => ({
|
|
802
802
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
803
803
|
}));
|
|
804
|
-
return
|
|
804
|
+
return de(() => {
|
|
805
805
|
A.value && i(!0);
|
|
806
806
|
}), re(A, (C, m) => {
|
|
807
807
|
C !== m && i(C);
|
|
808
808
|
}), (C, m) => {
|
|
809
809
|
const v = ne;
|
|
810
|
-
return
|
|
810
|
+
return u(), I("section", Sn, [
|
|
811
811
|
g("h3", Qn, [
|
|
812
812
|
g("button", {
|
|
813
813
|
class: "av-accordion__btn",
|
|
@@ -816,10 +816,10 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
816
816
|
type: "button",
|
|
817
817
|
style: ce(l(f)),
|
|
818
818
|
onClick: m[0] || (m[0] = //@ts-ignore
|
|
819
|
-
(...y) => l(
|
|
819
|
+
(...y) => l(d) && l(d)(...y))
|
|
820
820
|
}, [
|
|
821
821
|
g("div", pn, [
|
|
822
|
-
e.icon ? (
|
|
822
|
+
e.icon ? (u(), p(v, {
|
|
823
823
|
key: 0,
|
|
824
824
|
size: 2,
|
|
825
825
|
name: e.icon,
|
|
@@ -871,7 +871,7 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
871
871
|
re(s, () => {
|
|
872
872
|
r.value.set(c, s.value);
|
|
873
873
|
});
|
|
874
|
-
function
|
|
874
|
+
function d() {
|
|
875
875
|
if (i.value === c) {
|
|
876
876
|
i.value = -1;
|
|
877
877
|
return;
|
|
@@ -880,8 +880,8 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
880
880
|
}
|
|
881
881
|
return ve(() => {
|
|
882
882
|
r.value.delete(c);
|
|
883
|
-
}), { isActive: A, expand:
|
|
884
|
-
}), (s, c) => (
|
|
883
|
+
}), { isActive: A, expand: d };
|
|
884
|
+
}), (s, c) => (u(), I("div", Pn, [
|
|
885
885
|
P(s.$slots, "default")
|
|
886
886
|
]));
|
|
887
887
|
}
|
|
@@ -914,11 +914,11 @@ function Zn(e, t = {}) {
|
|
|
914
914
|
};
|
|
915
915
|
let o;
|
|
916
916
|
return (c) => {
|
|
917
|
-
const A = le(e),
|
|
918
|
-
return a && r(a), A <= 0 ||
|
|
919
|
-
i = t.rejectOnCancel ? C : f, o = c,
|
|
917
|
+
const A = le(e), d = le(t.maxWait);
|
|
918
|
+
return a && r(a), A <= 0 || d !== void 0 && d <= 0 ? (n && (r(n), n = void 0), Promise.resolve(c())) : new Promise((f, C) => {
|
|
919
|
+
i = t.rejectOnCancel ? C : f, o = c, d && !n && (n = setTimeout(() => {
|
|
920
920
|
a && r(a), n = void 0, f(o());
|
|
921
|
-
},
|
|
921
|
+
}, d)), a = setTimeout(() => {
|
|
922
922
|
n && r(n), n = void 0, f(c());
|
|
923
923
|
}, A);
|
|
924
924
|
});
|
|
@@ -927,14 +927,14 @@ function Zn(e, t = {}) {
|
|
|
927
927
|
function Xn(...e) {
|
|
928
928
|
let t = 0, a, n = !0, i = xe, r, o, s, c, A;
|
|
929
929
|
!Ct(e[0]) && typeof e[0] == "object" ? { delay: o, trailing: s = !0, leading: c = !0, rejectOnCancel: A = !1 } = e[0] : [o, s = !0, c = !0, A = !1] = e;
|
|
930
|
-
const
|
|
930
|
+
const d = () => {
|
|
931
931
|
a && (clearTimeout(a), a = void 0, i(), i = xe);
|
|
932
932
|
};
|
|
933
933
|
return (C) => {
|
|
934
934
|
const m = le(o), v = Date.now() - t, y = () => r = C();
|
|
935
|
-
return
|
|
935
|
+
return d(), m <= 0 ? (t = Date.now(), y()) : (v > m && (c || !n) ? (t = Date.now(), y()) : s && (r = new Promise((M, T) => {
|
|
936
936
|
i = A ? T : M, a = setTimeout(() => {
|
|
937
|
-
t = Date.now(), n = !0, M(y()),
|
|
937
|
+
t = Date.now(), n = !0, M(y()), d();
|
|
938
938
|
}, Math.max(0, m - v));
|
|
939
939
|
})), !c && !a && (a = setTimeout(() => n = !0, m)), n = !1, r);
|
|
940
940
|
};
|
|
@@ -970,7 +970,7 @@ function Kn(e, t = 200, a = !1, n = !0, i = !1) {
|
|
|
970
970
|
);
|
|
971
971
|
}
|
|
972
972
|
function ta(e, t = !0, a) {
|
|
973
|
-
qn() ?
|
|
973
|
+
qn() ? de(e, a) : t ? e() : at(e);
|
|
974
974
|
}
|
|
975
975
|
function Gn(e, t, a) {
|
|
976
976
|
return re(
|
|
@@ -988,10 +988,10 @@ function Et(e) {
|
|
|
988
988
|
const a = le(e);
|
|
989
989
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function dt(...e) {
|
|
992
992
|
const t = [], a = () => {
|
|
993
993
|
t.forEach((s) => s()), t.length = 0;
|
|
994
|
-
}, n = (s, c, A,
|
|
994
|
+
}, n = (s, c, A, d) => (s.addEventListener(c, A, d), () => s.removeEventListener(c, A, d)), i = b(() => {
|
|
995
995
|
const s = Fe(le(e[0])).filter((c) => c != null);
|
|
996
996
|
return s.every((c) => typeof c != "string") ? s : void 0;
|
|
997
997
|
}), r = Gn(
|
|
@@ -1005,10 +1005,10 @@ function ut(...e) {
|
|
|
1005
1005
|
le(i.value ? e[3] : e[2])
|
|
1006
1006
|
];
|
|
1007
1007
|
},
|
|
1008
|
-
([s, c, A,
|
|
1008
|
+
([s, c, A, d]) => {
|
|
1009
1009
|
if (a(), !(s != null && s.length) || !(c != null && c.length) || !(A != null && A.length))
|
|
1010
1010
|
return;
|
|
1011
|
-
const f = Rn(
|
|
1011
|
+
const f = Rn(d) ? { ...d } : d;
|
|
1012
1012
|
t.push(
|
|
1013
1013
|
...s.flatMap(
|
|
1014
1014
|
(C) => c.flatMap(
|
|
@@ -1026,7 +1026,7 @@ function ut(...e) {
|
|
|
1026
1026
|
// @__NO_SIDE_EFFECTS__
|
|
1027
1027
|
function Jn() {
|
|
1028
1028
|
const e = ye(!1), t = ht();
|
|
1029
|
-
return t &&
|
|
1029
|
+
return t && de(() => {
|
|
1030
1030
|
e.value = !0;
|
|
1031
1031
|
}, t), e;
|
|
1032
1032
|
}
|
|
@@ -1049,13 +1049,13 @@ function $n(e, t, a = {}) {
|
|
|
1049
1049
|
s(), o.value && C.size && (r = new MutationObserver(t), C.forEach((m) => r.observe(m, i)));
|
|
1050
1050
|
},
|
|
1051
1051
|
{ immediate: !0, flush: "post" }
|
|
1052
|
-
),
|
|
1052
|
+
), d = () => r == null ? void 0 : r.takeRecords(), f = () => {
|
|
1053
1053
|
A(), s();
|
|
1054
1054
|
};
|
|
1055
1055
|
return _t(f), {
|
|
1056
1056
|
isSupported: o,
|
|
1057
1057
|
stop: f,
|
|
1058
|
-
takeRecords:
|
|
1058
|
+
takeRecords: d
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
1061
|
const _n = Symbol("vueuse-ssr-width");
|
|
@@ -1072,15 +1072,15 @@ function ze(e, t = {}) {
|
|
|
1072
1072
|
if (r.value) {
|
|
1073
1073
|
r.value = !i.value;
|
|
1074
1074
|
const A = le(e).split(",");
|
|
1075
|
-
s.value = A.some((
|
|
1076
|
-
const f =
|
|
1075
|
+
s.value = A.some((d) => {
|
|
1076
|
+
const f = d.includes("not all"), C = d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
1077
1077
|
let v = !!(C || m);
|
|
1078
1078
|
return C && v && (v = n >= Ve(C[1])), m && v && (v = n <= Ve(m[1])), f ? !v : v;
|
|
1079
1079
|
});
|
|
1080
1080
|
return;
|
|
1081
1081
|
}
|
|
1082
1082
|
i.value && (o.value = a.matchMedia(le(e)), s.value = o.value.matches);
|
|
1083
|
-
}),
|
|
1083
|
+
}), dt(o, "change", c, { passive: !0 }), b(() => s.value);
|
|
1084
1084
|
}
|
|
1085
1085
|
// @__NO_SIDE_EFFECTS__
|
|
1086
1086
|
function ei(e, t = {}) {
|
|
@@ -1093,8 +1093,8 @@ function ei(e, t = {}) {
|
|
|
1093
1093
|
function c(m, v) {
|
|
1094
1094
|
return !s.value && o ? m === "min" ? r >= Ve(v) : r <= Ve(v) : n ? n.matchMedia(`(${m}-width: ${v})`).matches : !1;
|
|
1095
1095
|
}
|
|
1096
|
-
const A = (m) => ze(() => `(min-width: ${a(m)})`, t),
|
|
1097
|
-
get: () => i === "min-width" ? A(v) :
|
|
1096
|
+
const A = (m) => ze(() => `(min-width: ${a(m)})`, t), d = (m) => ze(() => `(max-width: ${a(m)})`, t), f = Object.keys(e).reduce((m, v) => (Object.defineProperty(m, v, {
|
|
1097
|
+
get: () => i === "min-width" ? A(v) : d(v),
|
|
1098
1098
|
enumerable: !0,
|
|
1099
1099
|
configurable: !0
|
|
1100
1100
|
}), m), {});
|
|
@@ -1104,7 +1104,7 @@ function ei(e, t = {}) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
return Object.assign(f, {
|
|
1106
1106
|
greaterOrEqual: A,
|
|
1107
|
-
smallerOrEqual:
|
|
1107
|
+
smallerOrEqual: d,
|
|
1108
1108
|
greater(m) {
|
|
1109
1109
|
return ze(() => `(min-width: ${a(m, 0.1)})`, t);
|
|
1110
1110
|
},
|
|
@@ -1157,7 +1157,7 @@ function ti(e, t = {}) {
|
|
|
1157
1157
|
passive: !0
|
|
1158
1158
|
},
|
|
1159
1159
|
behavior: A = "auto",
|
|
1160
|
-
window:
|
|
1160
|
+
window: d = Xe,
|
|
1161
1161
|
onError: f = (x) => {
|
|
1162
1162
|
console.error(x);
|
|
1163
1163
|
}
|
|
@@ -1180,12 +1180,12 @@ function ti(e, t = {}) {
|
|
|
1180
1180
|
});
|
|
1181
1181
|
function T(x, H) {
|
|
1182
1182
|
var w, k, h, E;
|
|
1183
|
-
if (!
|
|
1183
|
+
if (!d)
|
|
1184
1184
|
return;
|
|
1185
1185
|
const S = le(e);
|
|
1186
1186
|
if (!S)
|
|
1187
1187
|
return;
|
|
1188
|
-
(h = S instanceof Document ?
|
|
1188
|
+
(h = S instanceof Document ? d.document.body : S) == null || h.scrollTo({
|
|
1189
1189
|
top: (w = le(H)) != null ? w : M.value,
|
|
1190
1190
|
left: (k = le(x)) != null ? k : y.value,
|
|
1191
1191
|
behavior: le(A)
|
|
@@ -1193,12 +1193,12 @@ function ti(e, t = {}) {
|
|
|
1193
1193
|
const Y = ((E = S == null ? void 0 : S.document) == null ? void 0 : E.documentElement) || (S == null ? void 0 : S.documentElement) || S;
|
|
1194
1194
|
y != null && (m.value = Y.scrollLeft), M != null && (v.value = Y.scrollTop);
|
|
1195
1195
|
}
|
|
1196
|
-
const L = ye(!1), N =
|
|
1196
|
+
const L = ye(!1), N = ut({
|
|
1197
1197
|
left: !0,
|
|
1198
1198
|
right: !1,
|
|
1199
1199
|
top: !0,
|
|
1200
1200
|
bottom: !1
|
|
1201
|
-
}), O =
|
|
1201
|
+
}), O = ut({
|
|
1202
1202
|
left: !1,
|
|
1203
1203
|
right: !1,
|
|
1204
1204
|
top: !1,
|
|
@@ -1207,24 +1207,24 @@ function ti(e, t = {}) {
|
|
|
1207
1207
|
L.value && (L.value = !1, O.left = !1, O.right = !1, O.top = !1, O.bottom = !1, i(x));
|
|
1208
1208
|
}, Z = /* @__PURE__ */ Fn(V, a + n), F = (x) => {
|
|
1209
1209
|
var H;
|
|
1210
|
-
if (!
|
|
1210
|
+
if (!d)
|
|
1211
1211
|
return;
|
|
1212
1212
|
const w = ((H = x == null ? void 0 : x.document) == null ? void 0 : H.documentElement) || (x == null ? void 0 : x.documentElement) || Et(x), { display: k, flexDirection: h, direction: E } = getComputedStyle(w), S = E === "rtl" ? -1 : 1, Y = w.scrollLeft;
|
|
1213
1213
|
O.left = Y < m.value, O.right = Y > m.value;
|
|
1214
1214
|
const q = Math.abs(Y * S) <= (o.left || 0), J = Math.abs(Y * S) + w.clientWidth >= w.scrollWidth - (o.right || 0) - Lt;
|
|
1215
1215
|
k === "flex" && h === "row-reverse" ? (N.left = J, N.right = q) : (N.left = q, N.right = J), m.value = Y;
|
|
1216
1216
|
let X = w.scrollTop;
|
|
1217
|
-
x ===
|
|
1217
|
+
x === d.document && !X && (X = d.document.body.scrollTop), O.top = X < v.value, O.bottom = X > v.value;
|
|
1218
1218
|
const _ = Math.abs(X) <= (o.top || 0), ae = Math.abs(X) + w.clientHeight >= w.scrollHeight - (o.bottom || 0) - Lt;
|
|
1219
1219
|
k === "flex" && h === "column-reverse" ? (N.top = ae, N.bottom = _) : (N.top = _, N.bottom = ae), v.value = X;
|
|
1220
1220
|
}, te = (x) => {
|
|
1221
1221
|
var H;
|
|
1222
|
-
if (!
|
|
1222
|
+
if (!d)
|
|
1223
1223
|
return;
|
|
1224
1224
|
const w = (H = x.target.documentElement) != null ? H : x.target;
|
|
1225
1225
|
F(w), L.value = !0, Z(x), r(x);
|
|
1226
1226
|
};
|
|
1227
|
-
return
|
|
1227
|
+
return dt(
|
|
1228
1228
|
e,
|
|
1229
1229
|
"scroll",
|
|
1230
1230
|
a ? /* @__PURE__ */ Kn(te, a, !0, !1) : te,
|
|
@@ -1238,7 +1238,7 @@ function ti(e, t = {}) {
|
|
|
1238
1238
|
} catch (x) {
|
|
1239
1239
|
f(x);
|
|
1240
1240
|
}
|
|
1241
|
-
}), C != null && C.mutation && e != null && e !==
|
|
1241
|
+
}), C != null && C.mutation && e != null && e !== d && e !== document && $n(
|
|
1242
1242
|
e,
|
|
1243
1243
|
() => {
|
|
1244
1244
|
const x = le(e);
|
|
@@ -1249,7 +1249,7 @@ function ti(e, t = {}) {
|
|
|
1249
1249
|
childList: !0,
|
|
1250
1250
|
subtree: !0
|
|
1251
1251
|
}
|
|
1252
|
-
),
|
|
1252
|
+
), dt(
|
|
1253
1253
|
e,
|
|
1254
1254
|
"scrollend",
|
|
1255
1255
|
V,
|
|
@@ -1262,7 +1262,7 @@ function ti(e, t = {}) {
|
|
|
1262
1262
|
directions: O,
|
|
1263
1263
|
measure() {
|
|
1264
1264
|
const x = le(e);
|
|
1265
|
-
|
|
1265
|
+
d && x && F(x);
|
|
1266
1266
|
}
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
@@ -1277,7 +1277,7 @@ const ai = {
|
|
|
1277
1277
|
/* 90rem */
|
|
1278
1278
|
};
|
|
1279
1279
|
function nt() {
|
|
1280
|
-
const e = /* @__PURE__ */ ei(ai), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), i = e.smaller("xl"), r = e.greater("md"), o = e.greater("lg"), s = a, c = b(() => r.value && n.value), A = o,
|
|
1280
|
+
const e = /* @__PURE__ */ ei(ai), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), i = e.smaller("xl"), r = e.greater("md"), o = e.greater("lg"), s = a, c = b(() => r.value && n.value), A = o, d = e.active();
|
|
1281
1281
|
return {
|
|
1282
1282
|
isMobile: s,
|
|
1283
1283
|
isTablet: c,
|
|
@@ -1288,7 +1288,7 @@ function nt() {
|
|
|
1288
1288
|
isBelowXl: i,
|
|
1289
1289
|
isAboveMd: r,
|
|
1290
1290
|
isAboveLg: o,
|
|
1291
|
-
currentBreakpoint:
|
|
1291
|
+
currentBreakpoint: d
|
|
1292
1292
|
};
|
|
1293
1293
|
}
|
|
1294
1294
|
/*!
|
|
@@ -1325,8 +1325,8 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1325
1325
|
candidates: A
|
|
1326
1326
|
});
|
|
1327
1327
|
} else {
|
|
1328
|
-
var
|
|
1329
|
-
|
|
1328
|
+
var d = we.call(o, Ke);
|
|
1329
|
+
d && n.filter(o) && (a || !t.includes(o)) && i.push(o);
|
|
1330
1330
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
1331
1331
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), C = !Je(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
1332
1332
|
if (f && C) {
|
|
@@ -1382,15 +1382,15 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1382
1382
|
return !r || r === t;
|
|
1383
1383
|
}, Ai = function(t) {
|
|
1384
1384
|
return ca(t) && t.type === "radio";
|
|
1385
|
-
}, di = function(t) {
|
|
1386
|
-
return Ai(t) && !ci(t);
|
|
1387
1385
|
}, ui = function(t) {
|
|
1386
|
+
return Ai(t) && !ci(t);
|
|
1387
|
+
}, di = function(t) {
|
|
1388
1388
|
var a, n = t && Ge(t), i = (a = n) === null || a === void 0 ? void 0 : a.host, r = !1;
|
|
1389
1389
|
if (n && n !== t) {
|
|
1390
1390
|
var o, s, c;
|
|
1391
1391
|
for (r = !!((o = i) !== null && o !== void 0 && (s = o.ownerDocument) !== null && s !== void 0 && s.contains(i) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !r && i; ) {
|
|
1392
|
-
var A,
|
|
1393
|
-
n = Ge(i), i = (A = n) === null || A === void 0 ? void 0 : A.host, r = !!((
|
|
1392
|
+
var A, d, f;
|
|
1393
|
+
n = Ge(i), i = (A = n) === null || A === void 0 ? void 0 : A.host, r = !!((d = i) !== null && d !== void 0 && (f = d.ownerDocument) !== null && f !== void 0 && f.contains(i));
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
return r;
|
|
@@ -1414,7 +1414,7 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1414
1414
|
}
|
|
1415
1415
|
t = s;
|
|
1416
1416
|
}
|
|
1417
|
-
if (
|
|
1417
|
+
if (di(t))
|
|
1418
1418
|
return !t.getClientRects().length;
|
|
1419
1419
|
if (n !== "legacy-full")
|
|
1420
1420
|
return !0;
|
|
@@ -1442,7 +1442,7 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1442
1442
|
Je(a) || ri(a) || fi(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
1443
1443
|
oi(a) || vi(a));
|
|
1444
1444
|
}, ft = function(t, a) {
|
|
1445
|
-
return !(
|
|
1445
|
+
return !(ui(a) || Te(a) < 0 || !$e(t, a));
|
|
1446
1446
|
}, mi = function(t) {
|
|
1447
1447
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
1448
1448
|
return !!(isNaN(a) || a >= 0);
|
|
@@ -1647,7 +1647,7 @@ var Qt = {
|
|
|
1647
1647
|
return X === h;
|
|
1648
1648
|
});
|
|
1649
1649
|
});
|
|
1650
|
-
},
|
|
1650
|
+
}, d = function(h) {
|
|
1651
1651
|
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = E.hasFallback, Y = S === void 0 ? !1 : S, q = E.params, J = q === void 0 ? [] : q, X = r[h];
|
|
1652
1652
|
if (typeof X == "function" && (X = X.apply(void 0, Ni(J))), X === !0 && (X = void 0), !X) {
|
|
1653
1653
|
if (X === void 0 || X === !1)
|
|
@@ -1666,7 +1666,7 @@ var Qt = {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
return _;
|
|
1668
1668
|
}, f = function() {
|
|
1669
|
-
var h =
|
|
1669
|
+
var h = d("initialFocus", {
|
|
1670
1670
|
hasFallback: !0
|
|
1671
1671
|
});
|
|
1672
1672
|
if (h === !1)
|
|
@@ -1676,9 +1676,9 @@ var Qt = {
|
|
|
1676
1676
|
h = n.activeElement;
|
|
1677
1677
|
else {
|
|
1678
1678
|
var E = o.tabbableGroups[0], S = E && E.firstTabbableNode;
|
|
1679
|
-
h = S ||
|
|
1679
|
+
h = S || d("fallbackFocus");
|
|
1680
1680
|
}
|
|
1681
|
-
else h === null && (h =
|
|
1681
|
+
else h === null && (h = d("fallbackFocus"));
|
|
1682
1682
|
if (!h)
|
|
1683
1683
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
1684
1684
|
return h;
|
|
@@ -1731,7 +1731,7 @@ var Qt = {
|
|
|
1731
1731
|
};
|
|
1732
1732
|
}), o.tabbableGroups = o.containerGroups.filter(function(h) {
|
|
1733
1733
|
return h.tabbableNodes.length > 0;
|
|
1734
|
-
}), o.tabbableGroups.length <= 0 && !
|
|
1734
|
+
}), o.tabbableGroups.length <= 0 && !d("fallbackFocus"))
|
|
1735
1735
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
1736
1736
|
if (o.containerGroups.find(function(h) {
|
|
1737
1737
|
return h.posTabIndexesFound;
|
|
@@ -1752,7 +1752,7 @@ var Qt = {
|
|
|
1752
1752
|
}), o.mostRecentlyFocusedNode = h, wi(h) && h.select();
|
|
1753
1753
|
}
|
|
1754
1754
|
}, y = function(h) {
|
|
1755
|
-
var E =
|
|
1755
|
+
var E = d("setReturnFocus", {
|
|
1756
1756
|
params: [h]
|
|
1757
1757
|
});
|
|
1758
1758
|
return E || (E === !1 ? !1 : h);
|
|
@@ -1784,7 +1784,7 @@ var Qt = {
|
|
|
1784
1784
|
} else He(S) || (J = _.nextTabbableNode(E));
|
|
1785
1785
|
}
|
|
1786
1786
|
} else
|
|
1787
|
-
J =
|
|
1787
|
+
J = d("fallbackFocus");
|
|
1788
1788
|
return J;
|
|
1789
1789
|
}, T = function(h) {
|
|
1790
1790
|
var E = Ye(h);
|
|
@@ -1976,7 +1976,7 @@ function pi(e, t) {
|
|
|
1976
1976
|
};
|
|
1977
1977
|
}
|
|
1978
1978
|
function EA(e) {
|
|
1979
|
-
|
|
1979
|
+
de(() => {
|
|
1980
1980
|
document.documentElement.style.setProperty("--global-background-color", e);
|
|
1981
1981
|
}), ve(() => {
|
|
1982
1982
|
document.documentElement.style.setProperty("--global-background-color", "var(--default-global-background-color)");
|
|
@@ -2001,11 +2001,11 @@ const ki = {
|
|
|
2001
2001
|
cssExpanded: r,
|
|
2002
2002
|
doExpand: o,
|
|
2003
2003
|
onTransitionEnd: s
|
|
2004
|
-
} = Ze(), { isBelowLg: c } = nt(), A = b(() => e.id ?? `language-selector-${crypto.randomUUID()}`),
|
|
2004
|
+
} = Ze(), { isBelowLg: c } = nt(), A = b(() => e.id ?? `language-selector-${crypto.randomUUID()}`), d = b(
|
|
2005
2005
|
() => e.languages.find(({ codeIso: y }) => y === e.currentLanguage)
|
|
2006
2006
|
), f = b(() => {
|
|
2007
2007
|
var T, L;
|
|
2008
|
-
const y = ((T =
|
|
2008
|
+
const y = ((T = d.value) == null ? void 0 : T.codeIso.toUpperCase()) ?? "", M = `${y} - ${(L = d.value) == null ? void 0 : L.label}`;
|
|
2009
2009
|
return c.value ? M : y;
|
|
2010
2010
|
}), C = U(!1), m = b(() => ({
|
|
2011
2011
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
@@ -2017,7 +2017,7 @@ const ki = {
|
|
|
2017
2017
|
y !== M && o(y);
|
|
2018
2018
|
}), (y, M) => {
|
|
2019
2019
|
const T = oe;
|
|
2020
|
-
return
|
|
2020
|
+
return u(), I("nav", ki, [
|
|
2021
2021
|
g("div", ji, [
|
|
2022
2022
|
W(T, {
|
|
2023
2023
|
class: "av-translate__btn",
|
|
@@ -2031,7 +2031,7 @@ const ki = {
|
|
|
2031
2031
|
type: "button",
|
|
2032
2032
|
style: ce(l(m)),
|
|
2033
2033
|
small: "",
|
|
2034
|
-
onClick: M[0] || (M[0] =
|
|
2034
|
+
onClick: M[0] || (M[0] = ue((L) => C.value = !l(C), ["prevent", "stop"]))
|
|
2035
2035
|
}, null, 8, ["label", "aria-controls", "aria-expanded", "icon", "title", "style"]),
|
|
2036
2036
|
g("div", {
|
|
2037
2037
|
id: l(A),
|
|
@@ -2044,14 +2044,14 @@ const ki = {
|
|
|
2044
2044
|
onTransitionend: M[1] || (M[1] = (L) => l(s)(l(C)))
|
|
2045
2045
|
}, [
|
|
2046
2046
|
g("ul", Bi, [
|
|
2047
|
-
(
|
|
2047
|
+
(u(!0), I($, null, ie(e.languages, (L, N) => (u(), I("li", { key: N }, [
|
|
2048
2048
|
g("a", {
|
|
2049
2049
|
class: "av-translate__language av-nav__link",
|
|
2050
2050
|
hreflang: L.codeIso,
|
|
2051
2051
|
lang: L.codeIso,
|
|
2052
2052
|
"aria-current": e.currentLanguage === L.codeIso ? !0 : void 0,
|
|
2053
2053
|
href: `#${L.codeIso}`,
|
|
2054
|
-
onClick:
|
|
2054
|
+
onClick: ue((O) => v(L), ["prevent", "stop"])
|
|
2055
2055
|
}, B(`${L.codeIso.toUpperCase()} - ${L.label}`), 9, Pi)
|
|
2056
2056
|
]))), 128))
|
|
2057
2057
|
])
|
|
@@ -2074,7 +2074,7 @@ const ki = {
|
|
|
2074
2074
|
setup(e) {
|
|
2075
2075
|
return se((t) => ({
|
|
2076
2076
|
v121e8ff2: t.customPadding
|
|
2077
|
-
})), (t, a) => (
|
|
2077
|
+
})), (t, a) => (u(), I("button", {
|
|
2078
2078
|
class: "av-rich-button",
|
|
2079
2079
|
title: e.label,
|
|
2080
2080
|
"aria-label": e.label,
|
|
@@ -2082,7 +2082,7 @@ const ki = {
|
|
|
2082
2082
|
}, [
|
|
2083
2083
|
g("div", Vi, [
|
|
2084
2084
|
g("div", Hi, [
|
|
2085
|
-
e.iconLeft ? (
|
|
2085
|
+
e.iconLeft ? (u(), p(ne, {
|
|
2086
2086
|
key: 0,
|
|
2087
2087
|
name: e.iconLeft,
|
|
2088
2088
|
color: "var(--dark-background-primary1)",
|
|
@@ -2090,7 +2090,7 @@ const ki = {
|
|
|
2090
2090
|
}, null, 8, ["name"])) : D("", !0),
|
|
2091
2091
|
P(t.$slots, "default", {}, void 0, !0)
|
|
2092
2092
|
]),
|
|
2093
|
-
e.iconRight ? (
|
|
2093
|
+
e.iconRight ? (u(), p(ne, {
|
|
2094
2094
|
key: 0,
|
|
2095
2095
|
name: e.iconRight,
|
|
2096
2096
|
color: "var(--dark-background-primary1)",
|
|
@@ -2125,9 +2125,9 @@ const ki = {
|
|
|
2125
2125
|
emits: ["update:modelValue"],
|
|
2126
2126
|
setup(e) {
|
|
2127
2127
|
const t = b(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = b(() => e.errorMessage || e.validMessage), n = b(() => a.value ? `message-${t.value}` : void 0), i = Le(e, "modelValue"), r = b(() => i.value.includes(e.value)), o = b(() => r.value ? R.CHECKBOX_MARKED : R.CHECKBOX_BLANK_OUTLINE), s = b(() => r.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = b(() => e.small ? 1 : 1.5), A = b(() => e.small ? r.value ? "caption-bold" : "caption-regular" : r.value ? "b2-bold" : "b2-regular");
|
|
2128
|
-
return (
|
|
2128
|
+
return (d, f) => {
|
|
2129
2129
|
const C = ne, m = pe, v = $t;
|
|
2130
|
-
return
|
|
2130
|
+
return u(), p(v, {
|
|
2131
2131
|
inline: e.inline,
|
|
2132
2132
|
disabled: e.disabled
|
|
2133
2133
|
}, {
|
|
@@ -2141,7 +2141,7 @@ const ki = {
|
|
|
2141
2141
|
value: e.value,
|
|
2142
2142
|
checked: l(r),
|
|
2143
2143
|
required: e.required
|
|
2144
|
-
},
|
|
2144
|
+
}, d.$attrs, {
|
|
2145
2145
|
"data-testid": `input-checkbox-${l(t)}`,
|
|
2146
2146
|
"data-test": `input-checkbox-${l(t)}`,
|
|
2147
2147
|
tabindex: e.disabled ? -1 : void 0,
|
|
@@ -2160,7 +2160,7 @@ const ki = {
|
|
|
2160
2160
|
color: l(s),
|
|
2161
2161
|
size: l(c)
|
|
2162
2162
|
}, null, 8, ["name", "color", "size"]),
|
|
2163
|
-
e.icon ? (
|
|
2163
|
+
e.icon ? (u(), p(C, {
|
|
2164
2164
|
key: 0,
|
|
2165
2165
|
class: "option-icon",
|
|
2166
2166
|
name: e.icon,
|
|
@@ -2170,16 +2170,16 @@ const ki = {
|
|
|
2170
2170
|
g("span", {
|
|
2171
2171
|
class: j(["label", l(A)])
|
|
2172
2172
|
}, [
|
|
2173
|
-
P(
|
|
2173
|
+
P(d.$slots, "label", {}, () => [
|
|
2174
2174
|
De(B(e.label), 1)
|
|
2175
2175
|
], !0)
|
|
2176
2176
|
], 2),
|
|
2177
|
-
e.required ? (
|
|
2177
|
+
e.required ? (u(), I("span", {
|
|
2178
2178
|
key: 1,
|
|
2179
2179
|
class: j(["required", l(A)])
|
|
2180
2180
|
}, " *", 2)) : D("", !0)
|
|
2181
2181
|
]),
|
|
2182
|
-
e.hint ? (
|
|
2182
|
+
e.hint ? (u(), I("span", qi, B(e.hint), 1)) : D("", !0)
|
|
2183
2183
|
], 8, Xi),
|
|
2184
2184
|
W(m, {
|
|
2185
2185
|
"message-id": l(n),
|
|
@@ -2206,7 +2206,7 @@ const ki = {
|
|
|
2206
2206
|
const t = b(() => e.id ?? `checkboxes-group-${crypto.randomUUID()}`);
|
|
2207
2207
|
return (a, n) => {
|
|
2208
2208
|
const i = Jt;
|
|
2209
|
-
return
|
|
2209
|
+
return u(), p(i, {
|
|
2210
2210
|
id: l(t),
|
|
2211
2211
|
legend: e.legend,
|
|
2212
2212
|
"legend-id": e.legendId,
|
|
@@ -2238,7 +2238,7 @@ const ki = {
|
|
|
2238
2238
|
setup(e) {
|
|
2239
2239
|
return (t, a) => {
|
|
2240
2240
|
const n = pe;
|
|
2241
|
-
return
|
|
2241
|
+
return u(), p(n, {
|
|
2242
2242
|
type: e.error ? "error" : "success",
|
|
2243
2243
|
message: e.error ? e.error : e.validMessage
|
|
2244
2244
|
}, null, 8, ["type", "message"]);
|
|
@@ -2293,7 +2293,7 @@ const ki = {
|
|
|
2293
2293
|
function A() {
|
|
2294
2294
|
r.value = !1;
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function d(v) {
|
|
2297
2297
|
const y = v.target.files;
|
|
2298
2298
|
a("change", y), a("update:modelValue", (y == null ? void 0 : y[0]) ?? null);
|
|
2299
2299
|
}
|
|
@@ -2317,8 +2317,8 @@ const ki = {
|
|
|
2317
2317
|
var y;
|
|
2318
2318
|
v ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (y = e.onDeleteFile) == null || y.call(e);
|
|
2319
2319
|
}
|
|
2320
|
-
return (v, y) => (
|
|
2321
|
-
(
|
|
2320
|
+
return (v, y) => (u(), I($, null, [
|
|
2321
|
+
(u(), p(Me(l(f) ? "div" : "label"), ee(l(f) ? {} : l(C), {
|
|
2322
2322
|
class: l(f) ? "file-preview-container" : ""
|
|
2323
2323
|
}), {
|
|
2324
2324
|
default: G(() => [
|
|
@@ -2336,9 +2336,9 @@ const ki = {
|
|
|
2336
2336
|
], !0)
|
|
2337
2337
|
]),
|
|
2338
2338
|
g("div", tl, [
|
|
2339
|
-
l(f) ? (
|
|
2339
|
+
l(f) ? (u(), I("div", al, [
|
|
2340
2340
|
g("span", nl, B(e.fileName || e.modelValue.name), 1)
|
|
2341
|
-
])) : (
|
|
2341
|
+
])) : (u(), I("div", il, [
|
|
2342
2342
|
g("span", ll, B(e.title), 1),
|
|
2343
2343
|
g("span", rl, B(e.description), 1)
|
|
2344
2344
|
])),
|
|
@@ -2347,20 +2347,20 @@ const ki = {
|
|
|
2347
2347
|
error: e.error
|
|
2348
2348
|
}, null, 8, ["valid-message", "error"])
|
|
2349
2349
|
]),
|
|
2350
|
-
e.disabled ? D("", !0) : (
|
|
2351
|
-
l(f) ? (
|
|
2350
|
+
e.disabled ? D("", !0) : (u(), I("div", ol, [
|
|
2351
|
+
l(f) ? (u(), p(oe, {
|
|
2352
2352
|
key: 0,
|
|
2353
2353
|
label: e.deleteButtonLabel,
|
|
2354
2354
|
theme: "SECONDARY",
|
|
2355
2355
|
onClick: y[0] || (y[0] = () => m(e.modelValue))
|
|
2356
|
-
}, null, 8, ["label"])) : (
|
|
2356
|
+
}, null, 8, ["label"])) : (u(), p(ne, {
|
|
2357
2357
|
key: 1,
|
|
2358
2358
|
size: 1.5,
|
|
2359
2359
|
name: l(R).TRAY_UPLOAD,
|
|
2360
2360
|
color: "var(--dark-background-primary1)"
|
|
2361
2361
|
}, null, 8, ["name"]))
|
|
2362
2362
|
])),
|
|
2363
|
-
l(f) ? D("", !0) : (
|
|
2363
|
+
l(f) ? D("", !0) : (u(), I("input", ee({
|
|
2364
2364
|
key: 1,
|
|
2365
2365
|
id: l(n),
|
|
2366
2366
|
class: "av-upload",
|
|
@@ -2370,7 +2370,7 @@ const ki = {
|
|
|
2370
2370
|
disabled: e.disabled,
|
|
2371
2371
|
"aria-disabled": e.disabled,
|
|
2372
2372
|
accept: l(i),
|
|
2373
|
-
onChange: y[1] || (y[1] = (M) =>
|
|
2373
|
+
onChange: y[1] || (y[1] = (M) => d(M))
|
|
2374
2374
|
}), null, 16, sl))
|
|
2375
2375
|
])
|
|
2376
2376
|
], 2)
|
|
@@ -2382,26 +2382,26 @@ const ki = {
|
|
|
2382
2382
|
])
|
|
2383
2383
|
], 64));
|
|
2384
2384
|
}
|
|
2385
|
-
}), TA = /* @__PURE__ */ z(Al, [["__scopeId", "data-v-b3d7bf33"]]),
|
|
2385
|
+
}), TA = /* @__PURE__ */ z(Al, [["__scopeId", "data-v-b3d7bf33"]]), ua = 6048e5, ul = 864e5, kt = Symbol.for("constructDateFrom");
|
|
2386
2386
|
function Ce(e, t) {
|
|
2387
2387
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && kt in e ? e[kt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2388
2388
|
}
|
|
2389
2389
|
function Ie(e, t) {
|
|
2390
2390
|
return Ce(t || e, e);
|
|
2391
2391
|
}
|
|
2392
|
-
let
|
|
2392
|
+
let dl = {};
|
|
2393
2393
|
function it() {
|
|
2394
|
-
return
|
|
2394
|
+
return dl;
|
|
2395
2395
|
}
|
|
2396
2396
|
function Re(e, t) {
|
|
2397
|
-
var s, c, A,
|
|
2398
|
-
const a = it(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((
|
|
2397
|
+
var s, c, A, d;
|
|
2398
|
+
const a = it(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((d = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : d.weekStartsOn) ?? 0, i = Ie(e, t == null ? void 0 : t.in), r = i.getDay(), o = (r < n ? 7 : 0) + r - n;
|
|
2399
2399
|
return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
|
|
2400
2400
|
}
|
|
2401
2401
|
function _e(e, t) {
|
|
2402
2402
|
return Re(e, { ...t, weekStartsOn: 1 });
|
|
2403
2403
|
}
|
|
2404
|
-
function
|
|
2404
|
+
function da(e, t) {
|
|
2405
2405
|
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = Ce(a, 0);
|
|
2406
2406
|
i.setFullYear(n + 1, 0, 4), i.setHours(0, 0, 0, 0);
|
|
2407
2407
|
const r = _e(i), o = Ce(a, 0);
|
|
@@ -2440,10 +2440,10 @@ function vl(e, t, a) {
|
|
|
2440
2440
|
e,
|
|
2441
2441
|
t
|
|
2442
2442
|
), r = zt(n), o = zt(i), s = +r - jt(r), c = +o - jt(o);
|
|
2443
|
-
return Math.round((s - c) /
|
|
2443
|
+
return Math.round((s - c) / ul);
|
|
2444
2444
|
}
|
|
2445
2445
|
function ml(e, t) {
|
|
2446
|
-
const a =
|
|
2446
|
+
const a = da(e, t), n = Ce(e, 0);
|
|
2447
2447
|
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), _e(n);
|
|
2448
2448
|
}
|
|
2449
2449
|
function Il(e) {
|
|
@@ -2745,8 +2745,8 @@ function We(e) {
|
|
|
2745
2745
|
// [TODO] -- I challenge you to fix the type
|
|
2746
2746
|
a.valueCallback(A)
|
|
2747
2747
|
) : A;
|
|
2748
|
-
const
|
|
2749
|
-
return { value: A, rest:
|
|
2748
|
+
const d = t.slice(o.length);
|
|
2749
|
+
return { value: A, rest: d };
|
|
2750
2750
|
};
|
|
2751
2751
|
}
|
|
2752
2752
|
function kl(e, t) {
|
|
@@ -2893,11 +2893,11 @@ function Jl(e, t) {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
function $l(e, t) {
|
|
2895
2895
|
const a = Ie(e, t == null ? void 0 : t.in), n = +_e(a) - +ml(a);
|
|
2896
|
-
return Math.round(n /
|
|
2896
|
+
return Math.round(n / ua) + 1;
|
|
2897
2897
|
}
|
|
2898
2898
|
function va(e, t) {
|
|
2899
|
-
var
|
|
2900
|
-
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = it(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (
|
|
2899
|
+
var d, f, C, m;
|
|
2900
|
+
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = it(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (C = i.locale) == null ? void 0 : C.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2901
2901
|
o.setFullYear(n + 1, 0, r), o.setHours(0, 0, 0, 0);
|
|
2902
2902
|
const s = Re(o, t), c = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2903
2903
|
c.setFullYear(n, 0, r), c.setHours(0, 0, 0, 0);
|
|
@@ -2905,13 +2905,13 @@ function va(e, t) {
|
|
|
2905
2905
|
return +a >= +s ? n + 1 : +a >= +A ? n : n - 1;
|
|
2906
2906
|
}
|
|
2907
2907
|
function _l(e, t) {
|
|
2908
|
-
var s, c, A,
|
|
2909
|
-
const a = it(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((
|
|
2908
|
+
var s, c, A, d;
|
|
2909
|
+
const a = it(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = va(e, t), r = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2910
2910
|
return r.setFullYear(i, 0, n), r.setHours(0, 0, 0, 0), Re(r, t);
|
|
2911
2911
|
}
|
|
2912
2912
|
function er(e, t) {
|
|
2913
2913
|
const a = Ie(e, t == null ? void 0 : t.in), n = +Re(a, t) - +_l(a, t);
|
|
2914
|
-
return Math.round(n /
|
|
2914
|
+
return Math.round(n / ua) + 1;
|
|
2915
2915
|
}
|
|
2916
2916
|
function K(e, t) {
|
|
2917
2917
|
const a = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
|
|
@@ -3016,7 +3016,7 @@ const he = {
|
|
|
3016
3016
|
},
|
|
3017
3017
|
// ISO week-numbering year
|
|
3018
3018
|
R: function(e, t) {
|
|
3019
|
-
const a =
|
|
3019
|
+
const a = da(e);
|
|
3020
3020
|
return K(a, t.length);
|
|
3021
3021
|
},
|
|
3022
3022
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -3607,13 +3607,13 @@ function cr(e, t, a) {
|
|
|
3607
3607
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
3608
3608
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
3609
3609
|
}
|
|
3610
|
-
const Ar = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,
|
|
3610
|
+
const Ar = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ur = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, dr = /^'([^]*?)'?$/, fr = /''/g, vr = /[a-zA-Z]/;
|
|
3611
3611
|
function mr(e, t, a) {
|
|
3612
|
-
var
|
|
3613
|
-
const n = it(), i = n.locale ?? Gl, r = n.firstWeekContainsDate ?? ((f = (
|
|
3612
|
+
var d, f, C, m;
|
|
3613
|
+
const n = it(), i = n.locale ?? Gl, r = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (C = n.locale) == null ? void 0 : C.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ie(e, a == null ? void 0 : a.in);
|
|
3614
3614
|
if (!fa(s))
|
|
3615
3615
|
throw new RangeError("Invalid time value");
|
|
3616
|
-
let c = t.match(
|
|
3616
|
+
let c = t.match(ur).map((v) => {
|
|
3617
3617
|
const y = v[0];
|
|
3618
3618
|
if (y === "p" || y === "P") {
|
|
3619
3619
|
const M = ar[y];
|
|
@@ -3649,7 +3649,7 @@ function mr(e, t, a) {
|
|
|
3649
3649
|
}).join("");
|
|
3650
3650
|
}
|
|
3651
3651
|
function Ir(e) {
|
|
3652
|
-
const t = e.match(
|
|
3652
|
+
const t = e.match(dr);
|
|
3653
3653
|
return t ? t[1].replace(fr, "'") : e;
|
|
3654
3654
|
}
|
|
3655
3655
|
const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" }, hr = {
|
|
@@ -3702,8 +3702,8 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3702
3702
|
v74ffa07a: l(y),
|
|
3703
3703
|
c75a0fd0: M.textareaMinHeight
|
|
3704
3704
|
}));
|
|
3705
|
-
const n = a, i = b(() => e.id ?? `input-${crypto.randomUUID()}`), r = b(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = b(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = b(() => !!e.errorMessage), c = b(() =>
|
|
3706
|
-
function
|
|
3705
|
+
const n = a, i = b(() => e.id ?? `input-${crypto.randomUUID()}`), r = b(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = b(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = b(() => !!e.errorMessage), c = b(() => d(e.minDate)), A = b(() => d(e.maxDate));
|
|
3706
|
+
function d(M) {
|
|
3707
3707
|
if (!(e.type !== "date" && e.type !== "datetime-local" || M === void 0 || !fa(M)))
|
|
3708
3708
|
return mr(M, "yyyy-MM-dd");
|
|
3709
3709
|
}
|
|
@@ -3718,7 +3718,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3718
3718
|
focus: C
|
|
3719
3719
|
}), (M, T) => {
|
|
3720
3720
|
const L = pe;
|
|
3721
|
-
return
|
|
3721
|
+
return u(), I("div", {
|
|
3722
3722
|
class: j(["av-input", {
|
|
3723
3723
|
"av-input--date": e.type === "date",
|
|
3724
3724
|
"av-input--no-radius": e.noRadius
|
|
@@ -3726,7 +3726,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3726
3726
|
}, [
|
|
3727
3727
|
g("div", gr, [
|
|
3728
3728
|
g("div", br, [
|
|
3729
|
-
e.prefixIcon ? (
|
|
3729
|
+
e.prefixIcon ? (u(), I("div", hr, [
|
|
3730
3730
|
W(ne, {
|
|
3731
3731
|
name: e.prefixIcon,
|
|
3732
3732
|
size: 1.2
|
|
@@ -3741,12 +3741,12 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3741
3741
|
}, [
|
|
3742
3742
|
De(B(e.label) + " ", 1),
|
|
3743
3743
|
P(M.$slots, "requiredTip", {}, () => [
|
|
3744
|
-
e.required ? (
|
|
3744
|
+
e.required ? (u(), I("span", Cr, "*")) : D("", !0)
|
|
3745
3745
|
], !0),
|
|
3746
|
-
e.hint ? (
|
|
3746
|
+
e.hint ? (u(), I("span", Mr, B(e.hint), 1)) : D("", !0)
|
|
3747
3747
|
], 2)
|
|
3748
3748
|
], 10, yr),
|
|
3749
|
-
(
|
|
3749
|
+
(u(), p(Me(l(m)), ee({
|
|
3750
3750
|
id: l(i),
|
|
3751
3751
|
ref_key: "__input",
|
|
3752
3752
|
ref: f,
|
|
@@ -3774,17 +3774,17 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3774
3774
|
}, () => {
|
|
3775
3775
|
var N;
|
|
3776
3776
|
return [
|
|
3777
|
-
e.maxlength ? (
|
|
3777
|
+
e.maxlength ? (u(), I("span", Er, B((N = e.modelValue) == null ? void 0 : N.toString().length) + " / " + B(e.maxlength), 1)) : D("", !0)
|
|
3778
3778
|
];
|
|
3779
3779
|
}, !0)
|
|
3780
3780
|
]),
|
|
3781
|
-
l(r).length > 0 ? (
|
|
3781
|
+
l(r).length > 0 ? (u(), I("div", Nr, [
|
|
3782
3782
|
W(L, {
|
|
3783
3783
|
message: l(r),
|
|
3784
3784
|
type: "error"
|
|
3785
3785
|
}, null, 8, ["message"])
|
|
3786
3786
|
])) : D("", !0),
|
|
3787
|
-
l(o).length > 0 ? (
|
|
3787
|
+
l(o).length > 0 ? (u(), I("div", Tr, [
|
|
3788
3788
|
W(L, {
|
|
3789
3789
|
message: l(o),
|
|
3790
3790
|
type: "success"
|
|
@@ -3810,7 +3810,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3810
3810
|
const a = t, n = b(() => e.id ?? `search-bar-${crypto.randomUUID()}`);
|
|
3811
3811
|
return (i, r) => {
|
|
3812
3812
|
const o = Nt, s = oe;
|
|
3813
|
-
return
|
|
3813
|
+
return u(), I("div", Lr, [
|
|
3814
3814
|
g("div", null, [
|
|
3815
3815
|
W(o, {
|
|
3816
3816
|
id: l(n),
|
|
@@ -3862,7 +3862,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3862
3862
|
v718f62b9: i.borderColor
|
|
3863
3863
|
}));
|
|
3864
3864
|
const t = b(() => `av-list--${e.size}`), a = b(() => e.bordered ? "av-list--bordered" : ""), n = b(() => e.divided ? "av-list--divided" : "");
|
|
3865
|
-
return (i, r) => (
|
|
3865
|
+
return (i, r) => (u(), I("div", {
|
|
3866
3866
|
class: j(["av-list", [l(t), l(a), l(n)]]),
|
|
3867
3867
|
role: e.role,
|
|
3868
3868
|
"aria-label": e.ariaLabel,
|
|
@@ -3914,23 +3914,23 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3914
3914
|
}));
|
|
3915
3915
|
const t = fe(), a = b(() => e.clickable ? e.tag : "div"), n = b(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0);
|
|
3916
3916
|
function i(A) {
|
|
3917
|
-
var
|
|
3918
|
-
!e.clickable || e.disabled || (
|
|
3917
|
+
var d;
|
|
3918
|
+
!e.clickable || e.disabled || (d = e.onClick) == null || d.call(e, A);
|
|
3919
3919
|
}
|
|
3920
3920
|
function r(A) {
|
|
3921
|
-
var
|
|
3921
|
+
var d;
|
|
3922
3922
|
if (!(!e.clickable || e.disabled) && (A.key === "Enter" || A.key === " ")) {
|
|
3923
3923
|
A.preventDefault();
|
|
3924
3924
|
const f = new MouseEvent("click", {
|
|
3925
3925
|
bubbles: !0,
|
|
3926
3926
|
cancelable: !0
|
|
3927
3927
|
});
|
|
3928
|
-
(
|
|
3928
|
+
(d = e.onClick) == null || d.call(e, f);
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
3931
|
const o = b(() => e.clickable ? "av-list-item--clickable" : ""), s = b(() => e.disabled ? "av-list-item--disabled" : ""), c = b(() => e.selected ? "av-list-item--selected" : "");
|
|
3932
|
-
return (A,
|
|
3933
|
-
(
|
|
3932
|
+
return (A, d) => (u(), I("div", { role: e.role }, [
|
|
3933
|
+
(u(), p(Me(l(a)), {
|
|
3934
3934
|
class: j(["av-list-item", [l(o), l(s), l(c)]]),
|
|
3935
3935
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
3936
3936
|
"aria-label": e.clickable ? l(n) : void 0,
|
|
@@ -3944,7 +3944,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3944
3944
|
onKeydown: r
|
|
3945
3945
|
}, {
|
|
3946
3946
|
default: G(() => [
|
|
3947
|
-
e.icon ? (
|
|
3947
|
+
e.icon ? (u(), I("div", xr, [
|
|
3948
3948
|
W(ne, {
|
|
3949
3949
|
name: e.icon,
|
|
3950
3950
|
color: e.iconColor ?? e.color,
|
|
@@ -3952,9 +3952,9 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3952
3952
|
}, null, 8, ["name", "color", "size"])
|
|
3953
3953
|
])) : D("", !0),
|
|
3954
3954
|
g("div", pr, [
|
|
3955
|
-
e.title ? (
|
|
3956
|
-
e.description ? (
|
|
3957
|
-
t.default ? (
|
|
3955
|
+
e.title ? (u(), I("div", kr, B(e.title), 1)) : D("", !0),
|
|
3956
|
+
e.description ? (u(), I("div", jr, B(e.description), 1)) : D("", !0),
|
|
3957
|
+
t.default ? (u(), I("div", zr, [
|
|
3958
3958
|
P(A.$slots, "default", {}, void 0, !0)
|
|
3959
3959
|
])) : D("", !0)
|
|
3960
3960
|
])
|
|
@@ -3989,14 +3989,14 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3989
3989
|
function A(y) {
|
|
3990
3990
|
return y ? Array.isArray(y) ? y : [y] : [];
|
|
3991
3991
|
}
|
|
3992
|
-
const
|
|
3992
|
+
const d = U(A(r));
|
|
3993
3993
|
function f(y) {
|
|
3994
|
-
return
|
|
3994
|
+
return d.value.some((M) => M.value === y.value);
|
|
3995
3995
|
}
|
|
3996
3996
|
function C(y) {
|
|
3997
|
-
o ? (f(y) ?
|
|
3997
|
+
o ? (f(y) ? d.value = d.value.filter(
|
|
3998
3998
|
(T) => T.value !== y.value
|
|
3999
|
-
) :
|
|
3999
|
+
) : d.value.push(y), s([...d.value])) : (d.value = [y], s(y));
|
|
4000
4000
|
}
|
|
4001
4001
|
function m(y) {
|
|
4002
4002
|
return f(y) ? R.CHECK : void 0;
|
|
@@ -4005,13 +4005,13 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
4005
4005
|
return f(y) && !o;
|
|
4006
4006
|
}
|
|
4007
4007
|
return re(() => t.selected, (y) => {
|
|
4008
|
-
|
|
4009
|
-
}, { immediate: !0 }), (y, M) => (
|
|
4010
|
-
l(a) ? (
|
|
4008
|
+
d.value = A(y);
|
|
4009
|
+
}, { immediate: !0 }), (y, M) => (u(), I("div", Pr, [
|
|
4010
|
+
l(a) ? (u(), I("span", {
|
|
4011
4011
|
key: 0,
|
|
4012
4012
|
class: j(["av-select-label", [l(i)]])
|
|
4013
4013
|
}, B(l(a)), 3)) : D("", !0),
|
|
4014
|
-
(
|
|
4014
|
+
(u(!0), I($, null, ie(l(c), (T) => (u(), I("div", {
|
|
4015
4015
|
key: T.value,
|
|
4016
4016
|
class: "tag-wrapper"
|
|
4017
4017
|
}, [
|
|
@@ -4052,7 +4052,7 @@ const DA = [
|
|
|
4052
4052
|
label: e.pageSizeSelected.toString(),
|
|
4053
4053
|
value: e.pageSizeSelected.toString()
|
|
4054
4054
|
}));
|
|
4055
|
-
return (n, i) => (
|
|
4055
|
+
return (n, i) => (u(), I("div", Vr, [
|
|
4056
4056
|
W(Ur, {
|
|
4057
4057
|
options: l(t),
|
|
4058
4058
|
selected: l(a),
|
|
@@ -4090,7 +4090,7 @@ const DA = [
|
|
|
4090
4090
|
const a = t, n = U(`av-radio-button-${crypto.randomUUID()}`);
|
|
4091
4091
|
return (i, r) => {
|
|
4092
4092
|
const o = $t;
|
|
4093
|
-
return
|
|
4093
|
+
return u(), p(o, {
|
|
4094
4094
|
inline: e.inline,
|
|
4095
4095
|
disabled: e.disabled
|
|
4096
4096
|
}, {
|
|
@@ -4147,12 +4147,12 @@ const DA = [
|
|
|
4147
4147
|
function A(m) {
|
|
4148
4148
|
return m != null && typeof m == "object" && "type" in m && m.type === Rr;
|
|
4149
4149
|
}
|
|
4150
|
-
function
|
|
4151
|
-
return m ? m.flatMap((v) => !v || typeof v != "object" || !("type" in v) ? [] : v.type === $ && Array.isArray(v.children) ?
|
|
4150
|
+
function d(m) {
|
|
4151
|
+
return m ? m.flatMap((v) => !v || typeof v != "object" || !("type" in v) ? [] : v.type === $ && Array.isArray(v.children) ? d(v.children) : A(v) ? [v] : []) : [];
|
|
4152
4152
|
}
|
|
4153
4153
|
const f = b(() => {
|
|
4154
4154
|
var m;
|
|
4155
|
-
return
|
|
4155
|
+
return d((m = c.default) == null ? void 0 : m.call(c));
|
|
4156
4156
|
}), C = U(e.modelValue);
|
|
4157
4157
|
return re(() => e.modelValue, (m) => {
|
|
4158
4158
|
C.value = m;
|
|
@@ -4160,7 +4160,7 @@ const DA = [
|
|
|
4160
4160
|
m && n("update:modelValue", m);
|
|
4161
4161
|
}), t({ selected: C }), (m, v) => {
|
|
4162
4162
|
const y = Jt;
|
|
4163
|
-
return
|
|
4163
|
+
return u(), p(y, {
|
|
4164
4164
|
id: l(i),
|
|
4165
4165
|
legend: e.legend,
|
|
4166
4166
|
hint: e.hint,
|
|
@@ -4174,9 +4174,9 @@ const DA = [
|
|
|
4174
4174
|
inline: e.inline
|
|
4175
4175
|
}, {
|
|
4176
4176
|
default: G(() => [
|
|
4177
|
-
(
|
|
4177
|
+
(u(!0), I($, null, ie(l(f), (M, T) => {
|
|
4178
4178
|
var L, N;
|
|
4179
|
-
return
|
|
4179
|
+
return u(), p(qr, {
|
|
4180
4180
|
key: T,
|
|
4181
4181
|
modelValue: l(C),
|
|
4182
4182
|
"onUpdate:modelValue": [
|
|
@@ -4192,7 +4192,7 @@ const DA = [
|
|
|
4192
4192
|
default: G(() => {
|
|
4193
4193
|
var O;
|
|
4194
4194
|
return [
|
|
4195
|
-
(
|
|
4195
|
+
(u(), p(Me((O = M.children) == null ? void 0 : O.default)))
|
|
4196
4196
|
];
|
|
4197
4197
|
}),
|
|
4198
4198
|
_: 2
|
|
@@ -4272,16 +4272,16 @@ var At = function() {
|
|
|
4272
4272
|
return ya.Date.now();
|
|
4273
4273
|
}, go = "Expected a function", bo = Math.max, ho = Math.min;
|
|
4274
4274
|
function Ma(e, t, a) {
|
|
4275
|
-
var n, i, r, o, s, c, A = 0,
|
|
4275
|
+
var n, i, r, o, s, c, A = 0, d = !1, f = !1, C = !0;
|
|
4276
4276
|
if (typeof e != "function")
|
|
4277
4277
|
throw new TypeError(go);
|
|
4278
|
-
t = Zt(t) || 0, mt(a) && (
|
|
4278
|
+
t = Zt(t) || 0, mt(a) && (d = !!a.leading, f = "maxWait" in a, r = f ? bo(Zt(a.maxWait) || 0, t) : r, C = "trailing" in a ? !!a.trailing : C);
|
|
4279
4279
|
function m(Z) {
|
|
4280
4280
|
var F = n, te = i;
|
|
4281
4281
|
return n = i = void 0, A = Z, o = e.apply(te, F), o;
|
|
4282
4282
|
}
|
|
4283
4283
|
function v(Z) {
|
|
4284
|
-
return A = Z, s = setTimeout(T, t),
|
|
4284
|
+
return A = Z, s = setTimeout(T, t), d ? m(Z) : o;
|
|
4285
4285
|
}
|
|
4286
4286
|
function y(Z) {
|
|
4287
4287
|
var F = Z - c, te = Z - A, x = t - F;
|
|
@@ -4337,7 +4337,7 @@ const yo = {
|
|
|
4337
4337
|
isOpen: s,
|
|
4338
4338
|
props: c,
|
|
4339
4339
|
getOptionId: A,
|
|
4340
|
-
getDisplayLabel:
|
|
4340
|
+
getDisplayLabel: d
|
|
4341
4341
|
} = Tt(), f = U(), C = U(), m = b(() => {
|
|
4342
4342
|
if (!c.options)
|
|
4343
4343
|
return [];
|
|
@@ -4349,7 +4349,7 @@ const yo = {
|
|
|
4349
4349
|
return c.maxResults ? V.slice(0, c.maxResults) : V;
|
|
4350
4350
|
}
|
|
4351
4351
|
let O;
|
|
4352
|
-
return c.filterOptions ? O = c.filterOptions(c.options, N) : O = c.options.filter((V) =>
|
|
4352
|
+
return c.filterOptions ? O = c.filterOptions(c.options, N) : O = c.options.filter((V) => d(V).toLowerCase().includes(N)), c.maxResults ? O.slice(0, c.maxResults) : O;
|
|
4353
4353
|
}), v = b(() => c.loading ? Qe.LOADING : s.value && c.options && c.options.length > 0 && m.value.length > 0 ? Qe.HAS_OPTIONS : Qe.NO_OPTIONS);
|
|
4354
4354
|
function y(N) {
|
|
4355
4355
|
return r.value.some(
|
|
@@ -4379,23 +4379,23 @@ const yo = {
|
|
|
4379
4379
|
L.cancel();
|
|
4380
4380
|
}), t({
|
|
4381
4381
|
dropdownRef: f
|
|
4382
|
-
}), (N, O) => l(s) ? (
|
|
4382
|
+
}), (N, O) => l(s) ? (u(), I("div", {
|
|
4383
4383
|
key: 0,
|
|
4384
4384
|
ref_key: "dropdownRef",
|
|
4385
4385
|
ref: f,
|
|
4386
4386
|
class: j(["av-autocomplete-dropdown", l(c).dropdownClass]),
|
|
4387
4387
|
style: ce({ width: l(c).dropdownWidth, maxHeight: l(c).maxDropdownHeight })
|
|
4388
4388
|
}, [
|
|
4389
|
-
l(v) === l(Qe).LOADING ? (
|
|
4389
|
+
l(v) === l(Qe).LOADING ? (u(), I("div", yo, [
|
|
4390
4390
|
W(ne, {
|
|
4391
4391
|
name: l(R).LOADING,
|
|
4392
4392
|
size: 1.5,
|
|
4393
4393
|
class: "av-autocomplete-dropdown__spinner"
|
|
4394
4394
|
}, null, 8, ["name"]),
|
|
4395
4395
|
O[0] || (O[0] = g("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
4396
|
-
])) : l(v) === l(Qe).NO_OPTIONS ? (
|
|
4397
|
-
i.empty ? P(N.$slots, "empty", { key: 0 }, void 0, !0) : (
|
|
4398
|
-
])) : (
|
|
4396
|
+
])) : l(v) === l(Qe).NO_OPTIONS ? (u(), I("div", Co, [
|
|
4397
|
+
i.empty ? P(N.$slots, "empty", { key: 0 }, void 0, !0) : (u(), I("div", Mo, " No results found "))
|
|
4398
|
+
])) : (u(), p(Ia, ee({
|
|
4399
4399
|
key: 2,
|
|
4400
4400
|
ref_key: "listRef",
|
|
4401
4401
|
ref: C
|
|
@@ -4403,7 +4403,7 @@ const yo = {
|
|
|
4403
4403
|
class: ["av-autocomplete-dropdown__options", l(c).scrollbarClass]
|
|
4404
4404
|
}), {
|
|
4405
4405
|
default: G(() => [
|
|
4406
|
-
(
|
|
4406
|
+
(u(!0), I($, null, ie(l(m), (V) => (u(), I($, {
|
|
4407
4407
|
key: l(A)(V)
|
|
4408
4408
|
}, [
|
|
4409
4409
|
i.item ? P(N.$slots, "item", {
|
|
@@ -4411,9 +4411,9 @@ const yo = {
|
|
|
4411
4411
|
option: V,
|
|
4412
4412
|
isSelected: y(V),
|
|
4413
4413
|
toggle: () => M(V)
|
|
4414
|
-
}, void 0, !0) : (
|
|
4414
|
+
}, void 0, !0) : (u(), p(ga, {
|
|
4415
4415
|
key: 1,
|
|
4416
|
-
title: l(
|
|
4416
|
+
title: l(d)(V),
|
|
4417
4417
|
icon: y(V) ? l(R).CHECK : void 0,
|
|
4418
4418
|
selected: y(V),
|
|
4419
4419
|
clickable: "",
|
|
@@ -4440,7 +4440,7 @@ const yo = {
|
|
|
4440
4440
|
isOpen: s,
|
|
4441
4441
|
props: c,
|
|
4442
4442
|
inputId: A,
|
|
4443
|
-
handleBlur:
|
|
4443
|
+
handleBlur: d,
|
|
4444
4444
|
getDisplayLabel: f
|
|
4445
4445
|
} = Tt(), C = U(), m = b(() => !c.multiSelect && r.value.length > 0 ? f(r.value[0]) : c.multiSelect && r.value.length > 0 ? c.showSelectedSection ? `${r.value.length} element(s) selected` : r.value.map(f).join(", ") : o.value), v = b(() => {
|
|
4446
4446
|
var N;
|
|
@@ -4462,7 +4462,7 @@ const yo = {
|
|
|
4462
4462
|
}), t({
|
|
4463
4463
|
inputRef: C,
|
|
4464
4464
|
searchQuery: b(() => o.value)
|
|
4465
|
-
}), (N, O) => (
|
|
4465
|
+
}), (N, O) => (u(), I("div", To, [
|
|
4466
4466
|
W(Nt, ee({
|
|
4467
4467
|
id: l(A),
|
|
4468
4468
|
ref_key: "inputRef",
|
|
@@ -4472,18 +4472,18 @@ const yo = {
|
|
|
4472
4472
|
}, l(c).inputOptions, {
|
|
4473
4473
|
"onUpdate:modelValue": M,
|
|
4474
4474
|
onFocus: T,
|
|
4475
|
-
onBlur: l(
|
|
4475
|
+
onBlur: l(d),
|
|
4476
4476
|
onClick: T
|
|
4477
4477
|
}), qe({ _: 2 }, [
|
|
4478
4478
|
i.requiredTip ? {
|
|
4479
4479
|
name: "requiredTip",
|
|
4480
4480
|
fn: G(() => [
|
|
4481
|
-
(
|
|
4481
|
+
(u(), p(Me(i.requiredTip)))
|
|
4482
4482
|
]),
|
|
4483
4483
|
key: "0"
|
|
4484
4484
|
} : void 0
|
|
4485
4485
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
4486
|
-
l(r).length > 0 ? (
|
|
4486
|
+
l(r).length > 0 ? (u(), I("div", Do, [
|
|
4487
4487
|
W(oe, {
|
|
4488
4488
|
label: "Clear selected items",
|
|
4489
4489
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -4511,11 +4511,11 @@ const yo = {
|
|
|
4511
4511
|
function o(s) {
|
|
4512
4512
|
const c = a.value, A = i(s);
|
|
4513
4513
|
a.value = c.filter(
|
|
4514
|
-
(
|
|
4514
|
+
(d) => i(d) !== A
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
4517
|
-
return (s, c) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (
|
|
4518
|
-
(
|
|
4517
|
+
return (s, c) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (u(), I("div", Oo, [
|
|
4518
|
+
(u(!0), I($, null, ie(l(a), (A) => (u(), I("div", {
|
|
4519
4519
|
key: l(i)(A),
|
|
4520
4520
|
class: "av-autocomplete-selected-tags__item"
|
|
4521
4521
|
}, [
|
|
@@ -4523,7 +4523,7 @@ const yo = {
|
|
|
4523
4523
|
key: 0,
|
|
4524
4524
|
option: A,
|
|
4525
4525
|
remove: () => o(A)
|
|
4526
|
-
}, void 0, !0) : (
|
|
4526
|
+
}, void 0, !0) : (u(), p(oe, {
|
|
4527
4527
|
key: 1,
|
|
4528
4528
|
label: l(r)(A),
|
|
4529
4529
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -4568,13 +4568,13 @@ const yo = {
|
|
|
4568
4568
|
}),
|
|
4569
4569
|
emits: /* @__PURE__ */ ge(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
4570
4570
|
setup(e, { emit: t }) {
|
|
4571
|
-
const a = e, n = t, i = fe(), r = Le(e, "modelValue"), o = U(!1), s = U(""), c = U(), A = U(),
|
|
4571
|
+
const a = e, n = t, i = fe(), r = Le(e, "modelValue"), o = U(!1), s = U(""), c = U(), A = U(), d = U(), f = b(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
4572
4572
|
function C(L) {
|
|
4573
4573
|
s.value = L, n("search", L);
|
|
4574
4574
|
}
|
|
4575
4575
|
function m(L) {
|
|
4576
4576
|
var N, O;
|
|
4577
|
-
(O = (N =
|
|
4577
|
+
(O = (N = d.value) == null ? void 0 : N.dropdownRef) != null && O.contains(L.relatedTarget) || setTimeout(() => {
|
|
4578
4578
|
o.value = !1;
|
|
4579
4579
|
}, a.blurCloseDelay);
|
|
4580
4580
|
}
|
|
@@ -4597,13 +4597,13 @@ const yo = {
|
|
|
4597
4597
|
function T(L) {
|
|
4598
4598
|
var V, Z, F, te, x;
|
|
4599
4599
|
const N = L.target, O = (V = A.value) == null ? void 0 : V.inputRef;
|
|
4600
|
-
!((Z = O == null ? void 0 : O.contains) != null && Z.call(O, N)) && !((F = c.value) != null && F.contains(N)) && !((x = (te =
|
|
4600
|
+
!((Z = O == null ? void 0 : O.contains) != null && Z.call(O, N)) && !((F = c.value) != null && F.contains(N)) && !((x = (te = d.value) == null ? void 0 : te.dropdownRef) != null && x.contains(N)) && (o.value = !1);
|
|
4601
4601
|
}
|
|
4602
|
-
return
|
|
4602
|
+
return de(() => {
|
|
4603
4603
|
document.addEventListener("click", T);
|
|
4604
4604
|
}), ve(() => {
|
|
4605
4605
|
document.removeEventListener("click", T);
|
|
4606
|
-
}), (L, N) => (
|
|
4606
|
+
}), (L, N) => (u(), I("div", xo, [
|
|
4607
4607
|
g("div", {
|
|
4608
4608
|
ref_key: "wrapperRef",
|
|
4609
4609
|
ref: c,
|
|
@@ -4618,14 +4618,14 @@ const yo = {
|
|
|
4618
4618
|
i.requiredTip ? {
|
|
4619
4619
|
name: "requiredTip",
|
|
4620
4620
|
fn: G(() => [
|
|
4621
|
-
(
|
|
4621
|
+
(u(), p(Me(i.requiredTip)))
|
|
4622
4622
|
]),
|
|
4623
4623
|
key: "0"
|
|
4624
4624
|
} : void 0
|
|
4625
4625
|
]), 1536),
|
|
4626
4626
|
W(No, {
|
|
4627
4627
|
ref_key: "dropdownRef",
|
|
4628
|
-
ref:
|
|
4628
|
+
ref: d,
|
|
4629
4629
|
onLoadMore: N[1] || (N[1] = (O) => n("loadMore"))
|
|
4630
4630
|
}, qe({ _: 2 }, [
|
|
4631
4631
|
i.item ? {
|
|
@@ -4691,7 +4691,7 @@ const yo = {
|
|
|
4691
4691
|
}
|
|
4692
4692
|
const i = U(null), r = U(!1), o = Le(e, "modelValue"), s = U(0), c = [], {
|
|
4693
4693
|
collapse: A,
|
|
4694
|
-
collapsing:
|
|
4694
|
+
collapsing: d,
|
|
4695
4695
|
cssExpanded: f,
|
|
4696
4696
|
onTransitionEnd: C
|
|
4697
4697
|
} = e.useCollapsableReturn;
|
|
@@ -4758,7 +4758,7 @@ const yo = {
|
|
|
4758
4758
|
T();
|
|
4759
4759
|
}), (H, w) => {
|
|
4760
4760
|
const k = oe, h = Nt;
|
|
4761
|
-
return e.isVisible ? (
|
|
4761
|
+
return e.isVisible ? (u(), I("div", {
|
|
4762
4762
|
key: 0,
|
|
4763
4763
|
id: `${e.id}-collapse`,
|
|
4764
4764
|
ref_key: "collapse",
|
|
@@ -4766,14 +4766,14 @@ const yo = {
|
|
|
4766
4766
|
style: ce({
|
|
4767
4767
|
"--width-host": `${l(s)}px`
|
|
4768
4768
|
}),
|
|
4769
|
-
class: j(["av-multiselect__collapse av-collapse", { "av-collapse--expanded": l(f), "av-collapsing": l(
|
|
4769
|
+
class: j(["av-multiselect__collapse av-collapse", { "av-collapse--expanded": l(f), "av-collapsing": l(d) }]),
|
|
4770
4770
|
onTransitionend: w[2] || (w[2] = (E) => l(C)(l(r)))
|
|
4771
4771
|
}, [
|
|
4772
4772
|
g("p", {
|
|
4773
4773
|
id: `${e.id}-text-hint`,
|
|
4774
4774
|
class: "av-sr-only"
|
|
4775
4775
|
}, B(e.hint), 9, jo),
|
|
4776
|
-
e.selectAll ? (
|
|
4776
|
+
e.selectAll ? (u(), I("ul", zo, [
|
|
4777
4777
|
g("li", null, [
|
|
4778
4778
|
W(k, {
|
|
4779
4779
|
name: "select-all",
|
|
@@ -4782,11 +4782,11 @@ const yo = {
|
|
|
4782
4782
|
label: e.selectAllLabel[l(N) ? 1 : 0],
|
|
4783
4783
|
icon: l(N) ? l(R).CLOSE_CIRCLE_OUTLINE : l(R).CHECK_CIRCLE_OUTLINE,
|
|
4784
4784
|
onClick: O,
|
|
4785
|
-
onKeydown: Ae(
|
|
4785
|
+
onKeydown: Ae(ue(x, ["shift"]), ["tab"])
|
|
4786
4786
|
}, null, 8, ["disabled", "label", "icon", "onKeydown"])
|
|
4787
4787
|
])
|
|
4788
4788
|
])) : D("", !0),
|
|
4789
|
-
e.search ? (
|
|
4789
|
+
e.search ? (u(), I("div", Bo, [
|
|
4790
4790
|
W(h, {
|
|
4791
4791
|
modelValue: l(v),
|
|
4792
4792
|
"onUpdate:modelValue": w[0] || (w[0] = (E) => Ct(v) ? v.value = E : null),
|
|
@@ -4810,7 +4810,7 @@ const yo = {
|
|
|
4810
4810
|
"legend-id": `${e.id}-checkboxes-legend`
|
|
4811
4811
|
}, {
|
|
4812
4812
|
default: G(() => [
|
|
4813
|
-
(
|
|
4813
|
+
(u(!0), I($, null, ie(l(L), (E) => (u(), p(Ki, {
|
|
4814
4814
|
id: `${n(E, e.id)}-checkbox`,
|
|
4815
4815
|
key: `${n(E, e.id)}-fieldset`,
|
|
4816
4816
|
modelValue: o.value,
|
|
@@ -4830,7 +4830,7 @@ const yo = {
|
|
|
4830
4830
|
]),
|
|
4831
4831
|
_: 1
|
|
4832
4832
|
}, 8, ["id", "legend", "legend-id"]),
|
|
4833
|
-
l(L).length === 0 ? (
|
|
4833
|
+
l(L).length === 0 ? (u(), I("div", Po, B(e.noResultLabel), 1)) : D("", !0)
|
|
4834
4834
|
], 46, ko)) : D("", !0);
|
|
4835
4835
|
};
|
|
4836
4836
|
}
|
|
@@ -4873,13 +4873,13 @@ const yo = {
|
|
|
4873
4873
|
const a = t, n = b(() => e.id ?? `multi-select-${crypto.randomUUID()}`), i = U(null), r = U(!1), o = b(() => e.errorMessage || e.successMessage), s = b(() => e.errorMessage ? "error" : "success"), {
|
|
4874
4874
|
collapse: c,
|
|
4875
4875
|
collapsing: A,
|
|
4876
|
-
cssExpanded:
|
|
4876
|
+
cssExpanded: d,
|
|
4877
4877
|
doExpand: f,
|
|
4878
4878
|
onTransitionEnd: C
|
|
4879
4879
|
} = Ze(), m = {
|
|
4880
4880
|
collapse: c,
|
|
4881
4881
|
collapsing: A,
|
|
4882
|
-
cssExpanded:
|
|
4882
|
+
cssExpanded: d,
|
|
4883
4883
|
doExpand: f,
|
|
4884
4884
|
onTransitionEnd: C
|
|
4885
4885
|
}, v = b(() => e.modelValue.map((w) => w.value)), y = b(() => {
|
|
@@ -4938,7 +4938,7 @@ const yo = {
|
|
|
4938
4938
|
}));
|
|
4939
4939
|
return (w, k) => {
|
|
4940
4940
|
const h = oe, E = pe;
|
|
4941
|
-
return
|
|
4941
|
+
return u(), I($, null, [
|
|
4942
4942
|
g("div", {
|
|
4943
4943
|
class: j(["av-select-group", { [`av-select-group--${l(s)}`]: l(o) }]),
|
|
4944
4944
|
title: l(y)
|
|
@@ -4948,8 +4948,8 @@ const yo = {
|
|
|
4948
4948
|
for: l(n)
|
|
4949
4949
|
}, [
|
|
4950
4950
|
g("span", Zo, B(e.label), 1),
|
|
4951
|
-
"required" in w.$attrs && w.$attrs.required !== !1 ? (
|
|
4952
|
-
e.hint ? (
|
|
4951
|
+
"required" in w.$attrs && w.$attrs.required !== !1 ? (u(), I("span", Xo)) : D("", !0),
|
|
4952
|
+
e.hint ? (u(), I("span", Yo, B(e.hint), 1)) : D("", !0)
|
|
4953
4953
|
], 10, Ro),
|
|
4954
4954
|
W(h, ee({
|
|
4955
4955
|
id: l(n),
|
|
@@ -4971,7 +4971,7 @@ const yo = {
|
|
|
4971
4971
|
small: e.dense,
|
|
4972
4972
|
style: l(H),
|
|
4973
4973
|
onClick: V,
|
|
4974
|
-
onKeydown: Ae(
|
|
4974
|
+
onKeydown: Ae(ue(F, ["shift"]), ["tab"])
|
|
4975
4975
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "small", "style", "onKeydown"]),
|
|
4976
4976
|
W(Vo, {
|
|
4977
4977
|
id: l(n),
|
|
@@ -5025,14 +5025,14 @@ const yo = {
|
|
|
5025
5025
|
var A;
|
|
5026
5026
|
if (!e.modelValue)
|
|
5027
5027
|
return e.placeholder;
|
|
5028
|
-
const c = (A = e.options) == null ? void 0 : A.find((
|
|
5028
|
+
const c = (A = e.options) == null ? void 0 : A.find((d) => String(d.value) === String(e.modelValue));
|
|
5029
5029
|
return c ? c.text : e.placeholder;
|
|
5030
5030
|
}), r = b(() => ({
|
|
5031
5031
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5032
5032
|
})), o = b(() => e.errorMessage || e.successMessage), s = b(() => e.errorMessage ? "error" : "success");
|
|
5033
5033
|
return (c, A) => {
|
|
5034
|
-
const
|
|
5035
|
-
return
|
|
5034
|
+
const d = pe;
|
|
5035
|
+
return u(), I("div", {
|
|
5036
5036
|
class: j({ "av-select--dense": e.dense })
|
|
5037
5037
|
}, [
|
|
5038
5038
|
g("div", {
|
|
@@ -5043,8 +5043,8 @@ const yo = {
|
|
|
5043
5043
|
for: l(n)
|
|
5044
5044
|
}, [
|
|
5045
5045
|
g("span", null, B(e.label), 1),
|
|
5046
|
-
e.required ? (
|
|
5047
|
-
e.hint ? (
|
|
5046
|
+
e.required ? (u(), I("span", Ko, " *")) : D("", !0),
|
|
5047
|
+
e.hint ? (u(), I("span", Go, B(e.hint), 1)) : D("", !0)
|
|
5048
5048
|
], 8, Fo),
|
|
5049
5049
|
g("select", ee({
|
|
5050
5050
|
id: l(n),
|
|
@@ -5068,7 +5068,7 @@ const yo = {
|
|
|
5068
5068
|
value: "",
|
|
5069
5069
|
hidden: ""
|
|
5070
5070
|
}, B(e.placeholder), 9, $o),
|
|
5071
|
-
(
|
|
5071
|
+
(u(!0), I($, null, ie(e.options, (f, C) => (u(), I("option", {
|
|
5072
5072
|
key: C,
|
|
5073
5073
|
selected: e.modelValue === f.value,
|
|
5074
5074
|
value: f.value,
|
|
@@ -5076,7 +5076,7 @@ const yo = {
|
|
|
5076
5076
|
"aria-disabled": f.disabled
|
|
5077
5077
|
}, B(f.text), 9, _o))), 128))
|
|
5078
5078
|
], 16, Jo),
|
|
5079
|
-
W(
|
|
5079
|
+
W(d, {
|
|
5080
5080
|
"message-id": `select-${l(s)}-desc-${l(s)}`,
|
|
5081
5081
|
message: l(o),
|
|
5082
5082
|
type: l(s)
|
|
@@ -5102,7 +5102,7 @@ const yo = {
|
|
|
5102
5102
|
isVisible: { type: Boolean }
|
|
5103
5103
|
},
|
|
5104
5104
|
setup(e) {
|
|
5105
|
-
return (t, a) => It((
|
|
5105
|
+
return (t, a) => It((u(), I("div", {
|
|
5106
5106
|
id: e.panelId,
|
|
5107
5107
|
class: j(["av-tab-content", {
|
|
5108
5108
|
"av-tab-content--selected": e.isVisible
|
|
@@ -5135,9 +5135,9 @@ const yo = {
|
|
|
5135
5135
|
End: "last"
|
|
5136
5136
|
};
|
|
5137
5137
|
function s(c) {
|
|
5138
|
-
const A = c == null ? void 0 : c.key,
|
|
5139
|
-
if (
|
|
5140
|
-
switch (
|
|
5138
|
+
const A = c == null ? void 0 : c.key, d = o[A];
|
|
5139
|
+
if (d)
|
|
5140
|
+
switch (d) {
|
|
5141
5141
|
case "next":
|
|
5142
5142
|
a("next");
|
|
5143
5143
|
break;
|
|
@@ -5156,8 +5156,8 @@ const yo = {
|
|
|
5156
5156
|
var c;
|
|
5157
5157
|
e.isSelected && ((c = i.value) == null || c.focus());
|
|
5158
5158
|
}), (c, A) => {
|
|
5159
|
-
const
|
|
5160
|
-
return
|
|
5159
|
+
const d = ne;
|
|
5160
|
+
return u(), I("li", {
|
|
5161
5161
|
class: j(["av-tab-item", { "av-tab-item--compact": e.compact }]),
|
|
5162
5162
|
role: "presentation"
|
|
5163
5163
|
}, [
|
|
@@ -5172,10 +5172,10 @@ const yo = {
|
|
|
5172
5172
|
type: "button",
|
|
5173
5173
|
"aria-selected": e.isSelected,
|
|
5174
5174
|
"aria-controls": e.panelId,
|
|
5175
|
-
onClick: A[0] || (A[0] =
|
|
5175
|
+
onClick: A[0] || (A[0] = ue((f) => c.$emit("click", e.tabId), ["prevent"])),
|
|
5176
5176
|
onKeydown: A[1] || (A[1] = (f) => s(f))
|
|
5177
5177
|
}), [
|
|
5178
|
-
e.icon ? (
|
|
5178
|
+
e.icon ? (u(), p(d, {
|
|
5179
5179
|
key: 0,
|
|
5180
5180
|
name: e.icon,
|
|
5181
5181
|
size: 2
|
|
@@ -5215,7 +5215,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5215
5215
|
const t = fe(), a = b(() => {
|
|
5216
5216
|
var M;
|
|
5217
5217
|
return ((M = t.default) == null ? void 0 : M.call(t)) || [];
|
|
5218
|
-
}), n = Le(e, "modelValue"), i = U(null), r = U(null), o =
|
|
5218
|
+
}), n = Le(e, "modelValue"), i = U(null), r = U(null), o = ut({}), { tabsStyle: s, updateTabsStyle: c } = os(
|
|
5219
5219
|
r,
|
|
5220
5220
|
b(() => {
|
|
5221
5221
|
var M;
|
|
@@ -5229,15 +5229,15 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5229
5229
|
const T = `tab-${crypto.randomUUID()}`;
|
|
5230
5230
|
return o[M] = T, T;
|
|
5231
5231
|
}
|
|
5232
|
-
function
|
|
5232
|
+
function d(M) {
|
|
5233
5233
|
const T = a.value.length;
|
|
5234
5234
|
n.value = (n.value + M + T) % T;
|
|
5235
5235
|
}
|
|
5236
5236
|
function f() {
|
|
5237
|
-
|
|
5237
|
+
d(-1);
|
|
5238
5238
|
}
|
|
5239
5239
|
function C() {
|
|
5240
|
-
|
|
5240
|
+
d(1);
|
|
5241
5241
|
}
|
|
5242
5242
|
function m() {
|
|
5243
5243
|
n.value = 0;
|
|
@@ -5246,7 +5246,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5246
5246
|
n.value = a.value.length - 1;
|
|
5247
5247
|
}
|
|
5248
5248
|
const y = U(null);
|
|
5249
|
-
return
|
|
5249
|
+
return de(() => {
|
|
5250
5250
|
var M;
|
|
5251
5251
|
window.ResizeObserver && (y.value = new window.ResizeObserver(() => {
|
|
5252
5252
|
c();
|
|
@@ -5260,7 +5260,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5260
5260
|
var N;
|
|
5261
5261
|
L && ((N = y.value) == null || N.unobserve(L));
|
|
5262
5262
|
}), (T = y.value) == null || T.disconnect();
|
|
5263
|
-
}), (M, T) => (
|
|
5263
|
+
}), (M, T) => (u(), I("div", {
|
|
5264
5264
|
ref_key: "$el",
|
|
5265
5265
|
ref: i,
|
|
5266
5266
|
class: j(["av-tabs", {
|
|
@@ -5277,9 +5277,9 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5277
5277
|
role: "tablist",
|
|
5278
5278
|
"aria-label": e.ariaLabel ?? "Liste d’onglets"
|
|
5279
5279
|
}, [
|
|
5280
|
-
(
|
|
5280
|
+
(u(!0), I($, null, ie(l(a), (L, N) => {
|
|
5281
5281
|
var O, V;
|
|
5282
|
-
return
|
|
5282
|
+
return u(), p(rs, {
|
|
5283
5283
|
key: N,
|
|
5284
5284
|
"tab-id": A(N),
|
|
5285
5285
|
"panel-id": `${A(N)}-panel`,
|
|
@@ -5295,20 +5295,20 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5295
5295
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
5296
5296
|
}), 128))
|
|
5297
5297
|
], 10, ss),
|
|
5298
|
-
(
|
|
5298
|
+
(u(!0), I($, null, ie(l(a), (L, N) => (u(), p(ns, {
|
|
5299
5299
|
key: N,
|
|
5300
5300
|
"panel-id": `${A(N)}-panel`,
|
|
5301
5301
|
"tab-id": A(N),
|
|
5302
5302
|
"is-visible": n.value === N
|
|
5303
5303
|
}, {
|
|
5304
5304
|
default: G(() => [
|
|
5305
|
-
n.value === N ? (
|
|
5305
|
+
n.value === N ? (u(), p(Me(L.children.default), { key: 0 })) : D("", !0)
|
|
5306
5306
|
]),
|
|
5307
5307
|
_: 2
|
|
5308
5308
|
}, 1032, ["panel-id", "tab-id", "is-visible"]))), 128))
|
|
5309
5309
|
], 6));
|
|
5310
5310
|
}
|
|
5311
|
-
}), pA = /* @__PURE__ */ z(cs, [["__scopeId", "data-v-b408eadc"]]), As = "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",
|
|
5311
|
+
}), pA = /* @__PURE__ */ z(cs, [["__scopeId", "data-v-b408eadc"]]), As = "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", us = "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", ds = ["id", "for"], fs = {
|
|
5312
5312
|
width: "34",
|
|
5313
5313
|
height: "14"
|
|
5314
5314
|
}, vs = ["href"], ms = {
|
|
@@ -5331,7 +5331,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5331
5331
|
emits: ["update:modelValue"],
|
|
5332
5332
|
setup(e) {
|
|
5333
5333
|
const t = b(() => e.id ?? `toggle-${crypto.randomUUID()}`), a = b(() => `${t.value}-label`);
|
|
5334
|
-
return (n, i) => (
|
|
5334
|
+
return (n, i) => (u(), I($, null, [
|
|
5335
5335
|
g("label", {
|
|
5336
5336
|
id: l(a),
|
|
5337
5337
|
for: l(t),
|
|
@@ -5344,17 +5344,17 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5344
5344
|
"toggle--disabled": e.disabled
|
|
5345
5345
|
}])
|
|
5346
5346
|
}, [
|
|
5347
|
-
(
|
|
5347
|
+
(u(), I("svg", fs, [
|
|
5348
5348
|
g("image", {
|
|
5349
|
-
href: e.modelValue ? l(As) : l(
|
|
5349
|
+
href: e.modelValue ? l(As) : l(us),
|
|
5350
5350
|
width: "34",
|
|
5351
5351
|
height: "14"
|
|
5352
5352
|
}, null, 8, vs)
|
|
5353
5353
|
])),
|
|
5354
|
-
e.modelValue ? (
|
|
5354
|
+
e.modelValue ? (u(), I("span", ms, B(e.activeText), 1)) : (u(), I("span", Is, B(e.inactiveText), 1))
|
|
5355
5355
|
], 2),
|
|
5356
5356
|
g("span", gs, B(e.description), 1)
|
|
5357
|
-
], 10,
|
|
5357
|
+
], 10, ds),
|
|
5358
5358
|
g("input", {
|
|
5359
5359
|
id: l(t),
|
|
5360
5360
|
style: { display: "none" },
|
|
@@ -5385,8 +5385,8 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5385
5385
|
emits: ["cancel", "confirm"],
|
|
5386
5386
|
setup(e, { emit: t }) {
|
|
5387
5387
|
const a = t;
|
|
5388
|
-
return (n, i) => (
|
|
5389
|
-
e.cancelLabel ? (
|
|
5388
|
+
return (n, i) => (u(), I("div", ys, [
|
|
5389
|
+
e.cancelLabel ? (u(), p(l(oe), {
|
|
5390
5390
|
key: 0,
|
|
5391
5391
|
icon: e.cancelIcon,
|
|
5392
5392
|
label: e.cancelLabel,
|
|
@@ -5397,7 +5397,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5397
5397
|
small: "",
|
|
5398
5398
|
onClick: i[0] || (i[0] = (r) => a("cancel"))
|
|
5399
5399
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : D("", !0),
|
|
5400
|
-
e.confirmLabel ? (
|
|
5400
|
+
e.confirmLabel ? (u(), p(l(oe), {
|
|
5401
5401
|
key: 1,
|
|
5402
5402
|
icon: e.confirmIcon,
|
|
5403
5403
|
label: e.confirmLabel,
|
|
@@ -5421,12 +5421,12 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5421
5421
|
emits: ["linkClick"],
|
|
5422
5422
|
setup(e, { emit: t }) {
|
|
5423
5423
|
const a = t;
|
|
5424
|
-
return (n, i) => (
|
|
5424
|
+
return (n, i) => (u(), I("nav", {
|
|
5425
5425
|
role: "navigation",
|
|
5426
5426
|
"aria-label": e.navAriaLabel
|
|
5427
5427
|
}, [
|
|
5428
5428
|
g("ul", Es, [
|
|
5429
|
-
(
|
|
5429
|
+
(u(!0), I($, null, ie(e.links, (r, o) => (u(), I("li", { key: o }, [
|
|
5430
5430
|
W(oe, {
|
|
5431
5431
|
icon: r.icon,
|
|
5432
5432
|
label: r.label ?? "",
|
|
@@ -5448,7 +5448,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5448
5448
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
5449
5449
|
};
|
|
5450
5450
|
function Ds(e, t) {
|
|
5451
|
-
return
|
|
5451
|
+
return u(), I("svg", Ts, [...t[0] || (t[0] = [
|
|
5452
5452
|
g("rect", {
|
|
5453
5453
|
width: "213.732",
|
|
5454
5454
|
height: "96.9",
|
|
@@ -5522,13 +5522,13 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5522
5522
|
var M;
|
|
5523
5523
|
c.value = !1, o.value = !1, s.value = !1, (M = document.getElementById("button-menu")) == null || M.focus();
|
|
5524
5524
|
}
|
|
5525
|
-
function
|
|
5525
|
+
function d(M) {
|
|
5526
5526
|
M.key === "Escape" && A();
|
|
5527
5527
|
}
|
|
5528
|
-
|
|
5529
|
-
document.addEventListener("keydown",
|
|
5528
|
+
de(() => {
|
|
5529
|
+
document.addEventListener("keydown", d);
|
|
5530
5530
|
}), ve(() => {
|
|
5531
|
-
document.removeEventListener("keydown",
|
|
5531
|
+
document.removeEventListener("keydown", d);
|
|
5532
5532
|
});
|
|
5533
5533
|
function f() {
|
|
5534
5534
|
c.value = !0, o.value = !0, s.value = !1, setTimeout(() => {
|
|
@@ -5543,7 +5543,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5543
5543
|
return bt(Na, () => A), (M, T) => {
|
|
5544
5544
|
var Z, F, te;
|
|
5545
5545
|
const L = Mt("RouterLink"), N = oe, O = Ea, V = On;
|
|
5546
|
-
return
|
|
5546
|
+
return u(), I("header", ws, [
|
|
5547
5547
|
g("div", Os, [
|
|
5548
5548
|
g("div", Ss, [
|
|
5549
5549
|
g("div", Qs, [
|
|
@@ -5560,8 +5560,8 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5560
5560
|
_: 1
|
|
5561
5561
|
}, 8, ["to", "title"])
|
|
5562
5562
|
]),
|
|
5563
|
-
e.showSearch || l(y) || (Z = e.quickLinks) != null && Z.length ? (
|
|
5564
|
-
e.showSearch ? (
|
|
5563
|
+
e.showSearch || l(y) || (Z = e.quickLinks) != null && Z.length ? (u(), I("div", js, [
|
|
5564
|
+
e.showSearch ? (u(), p(N, {
|
|
5565
5565
|
key: 0,
|
|
5566
5566
|
class: "search-button",
|
|
5567
5567
|
label: e.showSearchLabel,
|
|
@@ -5570,9 +5570,9 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5570
5570
|
title: e.showSearchLabel,
|
|
5571
5571
|
icon: l(R).MAGNIFY,
|
|
5572
5572
|
"icon-only": "",
|
|
5573
|
-
onClick: T[0] || (T[0] =
|
|
5573
|
+
onClick: T[0] || (T[0] = ue((x) => C(), ["prevent", "stop"]))
|
|
5574
5574
|
}, null, 8, ["label", "aria-label", "title", "icon"])) : D("", !0),
|
|
5575
|
-
l(y) || (F = e.quickLinks) != null && F.length ? (
|
|
5575
|
+
l(y) || (F = e.quickLinks) != null && F.length ? (u(), p(N, {
|
|
5576
5576
|
key: 1,
|
|
5577
5577
|
id: "button-menu",
|
|
5578
5578
|
variant: "OUTLINED",
|
|
@@ -5584,11 +5584,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5584
5584
|
title: e.menuLabel,
|
|
5585
5585
|
"data-testid": "open-menu-btn",
|
|
5586
5586
|
"icon-only": "",
|
|
5587
|
-
onClick: T[1] || (T[1] =
|
|
5587
|
+
onClick: T[1] || (T[1] = ue((x) => f(), ["prevent", "stop"]))
|
|
5588
5588
|
}, null, 8, ["icon", "label", "aria-label", "title"])) : D("", !0)
|
|
5589
5589
|
])) : D("", !0)
|
|
5590
5590
|
]),
|
|
5591
|
-
e.serviceTitle ? (
|
|
5591
|
+
e.serviceTitle ? (u(), I("div", zs, [
|
|
5592
5592
|
g("span", Bs, B(e.serviceTitle), 1),
|
|
5593
5593
|
P(M.$slots, "serviceDescription", {}, void 0, !0)
|
|
5594
5594
|
])) : D("", !0)
|
|
@@ -5596,17 +5596,17 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5596
5596
|
g("div", Ps, [
|
|
5597
5597
|
g("div", Ws, [
|
|
5598
5598
|
P(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
5599
|
-
!l(o) && ((te = e.quickLinks) != null && te.length) ? (
|
|
5599
|
+
!l(o) && ((te = e.quickLinks) != null && te.length) ? (u(), p(Xt, {
|
|
5600
5600
|
key: 0,
|
|
5601
5601
|
links: e.quickLinks,
|
|
5602
5602
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
5603
5603
|
}, null, 8, ["links", "nav-aria-label"])) : D("", !0),
|
|
5604
5604
|
P(M.$slots, "after-quick-links", {}, void 0, !0),
|
|
5605
|
-
l(r) ? (
|
|
5605
|
+
l(r) ? (u(), p(pt, ee({ key: 1 }, l(r), {
|
|
5606
5606
|
onSelect: T[2] || (T[2] = (x) => a("languageSelect", x))
|
|
5607
5607
|
}), null, 16)) : D("", !0)
|
|
5608
5608
|
]),
|
|
5609
|
-
e.showSearch ? (
|
|
5609
|
+
e.showSearch ? (u(), I("div", Us, [
|
|
5610
5610
|
W(Vt, {
|
|
5611
5611
|
id: e.searchbarId,
|
|
5612
5612
|
label: e.searchLabel,
|
|
@@ -5623,11 +5623,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5623
5623
|
])
|
|
5624
5624
|
]),
|
|
5625
5625
|
g("div", Vs, [
|
|
5626
|
-
l(y) && !l(c) ? (
|
|
5626
|
+
l(y) && !l(c) ? (u(), I("div", Hs, [
|
|
5627
5627
|
P(M.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
5628
5628
|
])) : D("", !0)
|
|
5629
5629
|
]),
|
|
5630
|
-
l(i) && (e.showSearch || l(y) || e.quickLinks && e.quickLinks.length || l(r)) ? (
|
|
5630
|
+
l(i) && (e.showSearch || l(y) || e.quickLinks && e.quickLinks.length || l(r)) ? (u(), p(V, {
|
|
5631
5631
|
key: 0,
|
|
5632
5632
|
id: "header-navigation",
|
|
5633
5633
|
show: l(c),
|
|
@@ -5650,11 +5650,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5650
5650
|
]),
|
|
5651
5651
|
g("div", Zs, [
|
|
5652
5652
|
g("div", Xs, [
|
|
5653
|
-
l(r) ? (
|
|
5653
|
+
l(r) ? (u(), p(pt, ee({ key: 0 }, l(r), {
|
|
5654
5654
|
onSelect: T[5] || (T[5] = (x) => l(r).currentLanguage = x.codeIso)
|
|
5655
5655
|
}), null, 16)) : D("", !0),
|
|
5656
5656
|
P(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
5657
|
-
l(o) ? (
|
|
5657
|
+
l(o) ? (u(), p(Xt, {
|
|
5658
5658
|
key: 1,
|
|
5659
5659
|
role: "navigation",
|
|
5660
5660
|
links: e.quickLinks,
|
|
@@ -5667,7 +5667,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5667
5667
|
key: 0,
|
|
5668
5668
|
hidemodal: A
|
|
5669
5669
|
}, void 0, !0) : D("", !0),
|
|
5670
|
-
l(s) ? (
|
|
5670
|
+
l(s) ? (u(), I("div", Ys, [
|
|
5671
5671
|
W(Vt, {
|
|
5672
5672
|
"searchbar-id": e.searchbarId,
|
|
5673
5673
|
"model-value": e.modelValue,
|
|
@@ -5688,7 +5688,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5688
5688
|
viewBox: "0 0 106.703 44.429"
|
|
5689
5689
|
};
|
|
5690
5690
|
function Ks(e, t) {
|
|
5691
|
-
return
|
|
5691
|
+
return u(), I("svg", Fs, [...t[0] || (t[0] = [
|
|
5692
5692
|
g("path", {
|
|
5693
5693
|
d: "M33.63 110.595q-.883.002-1.403.293a1.95 1.95 0 0 0-.781.783 3.1 3.1 0 0 0-.34 1.087q-.08.597-.08 1.21.001.499.091 1.086.09.589.374 1.098.283.506.792.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.296 3.394q0-1.425.294-2.547c.196-.744.51-1.38.94-1.898a4.2 4.2 0 0 1 1.64-1.2q.997-.422 2.422-.42 1.493.046 2.67.678.498.274.985.702.487.43.86 1.076.373.645.61 1.528.24.882.24 2.06 0 1.175-.216 2.06a6.2 6.2 0 0 1-.565 1.517 4.37 4.37 0 0 1-1.71 1.74q-1.086.613-2.49.634a4.6 4.6 0 0 1-1.357-.292 4.3 4.3 0 0 1-1.155-.724q-.588-.502-.973-1.45l.498.657v5.386h-2.693zM45.625 110.595q-.837 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.273.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.364 3.373q0-1.178.227-2.06.225-.883.6-1.528.372-.646.859-1.076.487-.427.984-.702c.785-.42 1.683-.649 2.694-.677.996.028 1.885.257 2.67.677q.499.274.985.702.488.43.86 1.076.374.645.611 1.528c.159.589.239 1.273.239 2.06q0 1.175-.239 2.06a6.2 6.2 0 0 1-.61 1.517q-.375.632-.86 1.051a5.7 5.7 0 0 1-.985.688q-1.178.615-2.671.635-1.516-.02-2.694-.635-.497-.27-.984-.688a4.2 4.2 0 0 1-.86-1.05 5.9 5.9 0 0 1-.6-1.518q-.225-.884-.226-2.06M52.347 111.57q0-1.18.497-1.846c.333-.444.695-.783 1.087-1.009a3.9 3.9 0 0 1 1.584-.497h3.17v2.737h-2.128q-.453 0-.736.159-.283.158-.442.342-.18.222-.249.498v7.74h-2.783zM62.78 110.913v5.045q.07.275.25.497.158.184.442.342.282.159.735.159h1.72v2.738h-2.761a3.9 3.9 0 0 1-1.584-.498q-.59-.337-1.076-1.009-.487-.665-.486-1.845v-11.2h2.76v3.076h2.604v2.695zM72.558 110.595q-.838 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.271.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.792-.85t.373-1.096.09-1.087q0-.613-.079-1.21a3.2 3.2 0 0 0-.339-1.087 1.96 1.96 0 0 0-.781-.783q-.52-.292-1.403-.293m5.296 9.099h-2.693v-1.584l.498-.657q-.385.948-.974 1.45a4.3 4.3 0 0 1-1.154.723q-.656.25-1.358.293-1.404-.02-2.49-.635a4.8 4.8 0 0 1-.917-.688 4.4 4.4 0 0 1-.791-1.05 6.2 6.2 0 0 1-.566-1.518q-.215-.885-.215-2.06 0-1.179.226-2.06.226-.883.6-1.528.374-.646.86-1.076.487-.427.984-.702c.784-.42 1.683-.649 2.694-.677.95 0 1.758.137 2.421.42a4.2 4.2 0 0 1 1.642 1.2q.645.779.939 1.897.293 1.123.294 2.547zM82.086 108.218v11.476h-2.761v-11.476zm-2.761-2.558q0-.497.01-.744c.008-.166.053-.29.137-.364q.123-.112.408-.123a22 22 0 0 1 1.651 0q.284.012.408.123c.082.074.128.198.136.364q.01.247.01.744 0 .498-.01.748-.012.248-.136.363-.125.112-.408.124-.282.01-.826.01-.543 0-.825-.01-.285-.012-.408-.124-.126-.115-.136-.363-.01-.25-.011-.748M86.409 104.415v15.279h-2.761v-15.28z",
|
|
5694
5694
|
style: { fill: "#ed184e", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none", "stroke-width": ".0352778" },
|
|
@@ -5716,7 +5716,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5716
5716
|
...e.width && { width: e.width },
|
|
5717
5717
|
...e.height && { height: e.height }
|
|
5718
5718
|
}));
|
|
5719
|
-
return (a, n) => (
|
|
5719
|
+
return (a, n) => (u(), I("div", Js, [
|
|
5720
5720
|
W(l(Gs), ee(l(t), { class: "logo" }), null, 16)
|
|
5721
5721
|
]));
|
|
5722
5722
|
}
|
|
@@ -5737,28 +5737,28 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5737
5737
|
} = Ze(), { isAboveMd: r } = nt(), o = b(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = b(() => ({
|
|
5738
5738
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_RIGHT})`
|
|
5739
5739
|
})), c = U(r.value);
|
|
5740
|
-
return re(c, (A,
|
|
5741
|
-
A !==
|
|
5740
|
+
return re(c, (A, d) => {
|
|
5741
|
+
A !== d && i(A);
|
|
5742
5742
|
}), re(r, (A) => {
|
|
5743
5743
|
c.value = A;
|
|
5744
|
-
}),
|
|
5744
|
+
}), de(() => {
|
|
5745
5745
|
i(c.value);
|
|
5746
|
-
}), (A,
|
|
5746
|
+
}), (A, d) => {
|
|
5747
5747
|
const f = oe, C = Mt("RouterLink");
|
|
5748
|
-
return e.links && e.links.length ? (
|
|
5748
|
+
return e.links && e.links.length ? (u(), I("nav", {
|
|
5749
5749
|
key: 0,
|
|
5750
5750
|
role: "navigation",
|
|
5751
5751
|
class: "av-breadcrumb",
|
|
5752
5752
|
"aria-label": e.navigationLabel
|
|
5753
5753
|
}, [
|
|
5754
|
-
l(c) ? D("", !0) : (
|
|
5754
|
+
l(c) ? D("", !0) : (u(), p(f, {
|
|
5755
5755
|
key: 0,
|
|
5756
5756
|
class: "av-breadcrumb__button",
|
|
5757
5757
|
label: e.showBreadcrumbLabel,
|
|
5758
5758
|
"aria-expanded": l(c),
|
|
5759
5759
|
"aria-controls": l(o),
|
|
5760
5760
|
small: "",
|
|
5761
|
-
onClick:
|
|
5761
|
+
onClick: d[0] || (d[0] = (m) => c.value = !l(c))
|
|
5762
5762
|
}, null, 8, ["label", "aria-expanded", "aria-controls"])),
|
|
5763
5763
|
g("div", {
|
|
5764
5764
|
id: l(o),
|
|
@@ -5770,12 +5770,12 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5770
5770
|
}])
|
|
5771
5771
|
}, [
|
|
5772
5772
|
g("ol", tc, [
|
|
5773
|
-
(
|
|
5773
|
+
(u(!0), I($, null, ie(e.links, (m, v) => (u(), I("li", {
|
|
5774
5774
|
key: v,
|
|
5775
5775
|
class: "av-breadcrumb__item",
|
|
5776
5776
|
style: ce(l(s))
|
|
5777
5777
|
}, [
|
|
5778
|
-
m.to ? (
|
|
5778
|
+
m.to ? (u(), p(C, {
|
|
5779
5779
|
key: 0,
|
|
5780
5780
|
class: "b2-regular av-breadcrumb__link",
|
|
5781
5781
|
to: m.to,
|
|
@@ -5786,7 +5786,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5786
5786
|
]),
|
|
5787
5787
|
_: 2
|
|
5788
5788
|
}, 1032, ["to", "aria-current"])) : D("", !0),
|
|
5789
|
-
m.to ? D("", !0) : (
|
|
5789
|
+
m.to ? D("", !0) : (u(), I("a", {
|
|
5790
5790
|
key: 1,
|
|
5791
5791
|
class: "b2-regular av-breadcrumb__link",
|
|
5792
5792
|
"aria-current": v === e.links.length - 1 ? "page" : void 0
|
|
@@ -5805,7 +5805,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5805
5805
|
},
|
|
5806
5806
|
setup(e) {
|
|
5807
5807
|
const t = b(() => e.id ?? `nav-item-${crypto.randomUUID()}`);
|
|
5808
|
-
return (a, n) => (
|
|
5808
|
+
return (a, n) => (u(), I("li", {
|
|
5809
5809
|
id: l(t),
|
|
5810
5810
|
class: j(["av-nav__item", { "av-nav__item--active": e.active }]),
|
|
5811
5811
|
"aria-current": e.active ? "page" : void 0
|
|
@@ -5821,7 +5821,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5821
5821
|
},
|
|
5822
5822
|
setup(e) {
|
|
5823
5823
|
const t = b(() => e.id ?? `nav-menu-item-${crypto.randomUUID()}`);
|
|
5824
|
-
return (a, n) => (
|
|
5824
|
+
return (a, n) => (u(), I("li", {
|
|
5825
5825
|
id: l(t),
|
|
5826
5826
|
class: "av-menu__item",
|
|
5827
5827
|
"aria-current": e.active ? "page" : void 0
|
|
@@ -5829,7 +5829,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5829
5829
|
P(a.$slots, "default", {}, void 0, !0)
|
|
5830
5830
|
], 8, oc));
|
|
5831
5831
|
}
|
|
5832
|
-
}), cc = /* @__PURE__ */ z(sc, [["__scopeId", "data-v-fe85d2ff"]]), Ac = ["href"],
|
|
5832
|
+
}), cc = /* @__PURE__ */ z(sc, [["__scopeId", "data-v-fe85d2ff"]]), Ac = ["href"], uc = { class: "b1-regular" }, dc = { class: "b1-regular" }, fc = /* @__PURE__ */ Q({
|
|
5833
5833
|
__name: "NavigationMenuLink",
|
|
5834
5834
|
props: {
|
|
5835
5835
|
id: {},
|
|
@@ -5846,7 +5846,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5846
5846
|
});
|
|
5847
5847
|
return (o, s) => {
|
|
5848
5848
|
const c = ne, A = Mt("RouterLink");
|
|
5849
|
-
return l(n) ? (
|
|
5849
|
+
return l(n) ? (u(), I("a", {
|
|
5850
5850
|
key: 0,
|
|
5851
5851
|
class: j(["av-nav__link", {
|
|
5852
5852
|
"av-nav__link--active": e.activeId === l(a),
|
|
@@ -5854,28 +5854,28 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5854
5854
|
}]),
|
|
5855
5855
|
"data-testid": "nav-external-link",
|
|
5856
5856
|
href: e.to,
|
|
5857
|
-
onClick: s[0] || (s[0] = (
|
|
5858
|
-
o.$emit("toggleId", l(a)), e.onClick(
|
|
5857
|
+
onClick: s[0] || (s[0] = (d) => {
|
|
5858
|
+
o.$emit("toggleId", l(a)), e.onClick(d);
|
|
5859
5859
|
})
|
|
5860
5860
|
}, [
|
|
5861
|
-
g("span",
|
|
5862
|
-
], 10, Ac)) : (
|
|
5861
|
+
g("span", uc, B(e.text), 1)
|
|
5862
|
+
], 10, Ac)) : (u(), p(A, {
|
|
5863
5863
|
key: 1,
|
|
5864
5864
|
class: "av-nav__link",
|
|
5865
5865
|
"data-testid": "nav-router-link",
|
|
5866
5866
|
to: e.to,
|
|
5867
|
-
onClick: s[1] || (s[1] = (
|
|
5867
|
+
onClick: s[1] || (s[1] = (d) => {
|
|
5868
5868
|
var f;
|
|
5869
|
-
l(r)(), o.$emit("toggleId", l(a)), (f = e.onClick) == null || f.call(e,
|
|
5869
|
+
l(r)(), o.$emit("toggleId", l(a)), (f = e.onClick) == null || f.call(e, d);
|
|
5870
5870
|
})
|
|
5871
5871
|
}, {
|
|
5872
5872
|
default: G(() => [
|
|
5873
|
-
e.icon ? (
|
|
5873
|
+
e.icon ? (u(), p(c, {
|
|
5874
5874
|
key: 0,
|
|
5875
5875
|
name: e.icon,
|
|
5876
5876
|
size: 1.5
|
|
5877
5877
|
}, null, 8, ["name"])) : D("", !0),
|
|
5878
|
-
g("span",
|
|
5878
|
+
g("span", dc, B(e.text), 1)
|
|
5879
5879
|
]),
|
|
5880
5880
|
_: 1
|
|
5881
5881
|
}, 8, ["to"]));
|
|
@@ -5901,18 +5901,18 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5901
5901
|
} = Ze(), o = b(() => e.id ?? `menu-${crypto.randomUUID()}`), s = b(() => o.value === e.expandedId), c = b(() => ({
|
|
5902
5902
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5903
5903
|
}));
|
|
5904
|
-
return re(s, (A,
|
|
5905
|
-
A !==
|
|
5906
|
-
}),
|
|
5904
|
+
return re(s, (A, d) => {
|
|
5905
|
+
A !== d && i(A);
|
|
5906
|
+
}), de(() => {
|
|
5907
5907
|
s.value && i(!0);
|
|
5908
|
-
}), (A,
|
|
5908
|
+
}), (A, d) => (u(), I($, null, [
|
|
5909
5909
|
g("button", {
|
|
5910
5910
|
class: "av-nav__btn",
|
|
5911
5911
|
"aria-expanded": l(s),
|
|
5912
5912
|
"aria-current": e.active || void 0,
|
|
5913
5913
|
"aria-controls": l(o),
|
|
5914
5914
|
style: ce(l(c)),
|
|
5915
|
-
onClick:
|
|
5915
|
+
onClick: d[0] || (d[0] = (f) => A.$emit("toggleId", l(o)))
|
|
5916
5916
|
}, [
|
|
5917
5917
|
g("span", null, B(e.title), 1)
|
|
5918
5918
|
], 12, vc),
|
|
@@ -5922,13 +5922,13 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5922
5922
|
ref: t,
|
|
5923
5923
|
class: j(["av-collapse av-menu", { "av-collapse--expanded": l(n), "av-collapsing": l(a) }]),
|
|
5924
5924
|
"data-testid": "navigation-menu",
|
|
5925
|
-
onTransitionend:
|
|
5925
|
+
onTransitionend: d[2] || (d[2] = (f) => l(r)(l(s)))
|
|
5926
5926
|
}, [
|
|
5927
5927
|
g("ul", Ic, [
|
|
5928
|
-
(
|
|
5928
|
+
(u(!0), I($, null, ie(e.links, (f, C) => (u(), p(cc, { key: C }, {
|
|
5929
5929
|
default: G(() => [
|
|
5930
5930
|
W(Ta, ee({ ref_for: !0 }, f, {
|
|
5931
|
-
onToggleId:
|
|
5931
|
+
onToggleId: d[1] || (d[1] = (m) => A.$emit("toggleId", e.expandedId))
|
|
5932
5932
|
}), null, 16)
|
|
5933
5933
|
]),
|
|
5934
5934
|
_: 2
|
|
@@ -5971,11 +5971,11 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5971
5971
|
function o(s) {
|
|
5972
5972
|
s.key === "Escape" && n(a.value);
|
|
5973
5973
|
}
|
|
5974
|
-
return
|
|
5974
|
+
return de(() => {
|
|
5975
5975
|
document.addEventListener("click", r), document.addEventListener("keydown", o);
|
|
5976
5976
|
}), ve(() => {
|
|
5977
5977
|
document.removeEventListener("click", r), document.removeEventListener("keydown", o);
|
|
5978
|
-
}), (s, c) => (
|
|
5978
|
+
}), (s, c) => (u(), I("div", hc, [
|
|
5979
5979
|
g("nav", {
|
|
5980
5980
|
id: l(t),
|
|
5981
5981
|
class: "av-nav",
|
|
@@ -5983,15 +5983,15 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5983
5983
|
"aria-label": e.label
|
|
5984
5984
|
}, [
|
|
5985
5985
|
g("ul", Cc, [
|
|
5986
|
-
(
|
|
5986
|
+
(u(!0), I($, null, ie(e.navItems, (A, d) => (u(), p(rc, { key: d }, {
|
|
5987
5987
|
default: G(() => [
|
|
5988
|
-
A.to && A.text ? (
|
|
5988
|
+
A.to && A.text ? (u(), p(Ta, ee({
|
|
5989
5989
|
key: 0,
|
|
5990
5990
|
ref_for: !0
|
|
5991
5991
|
}, A, {
|
|
5992
5992
|
"active-id": l(a),
|
|
5993
5993
|
onToggleId: c[0] || (c[0] = (f) => n(f))
|
|
5994
|
-
}), null, 16, ["active-id"])) : A.title && A.links ? (
|
|
5994
|
+
}), null, 16, ["active-id"])) : A.title && A.links ? (u(), p(bc, ee({
|
|
5995
5995
|
key: 1,
|
|
5996
5996
|
ref_for: !0
|
|
5997
5997
|
}, A, {
|
|
@@ -6027,26 +6027,26 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6027
6027
|
},
|
|
6028
6028
|
emits: ["update:current-page"],
|
|
6029
6029
|
setup(e, { emit: t }) {
|
|
6030
|
-
const a = t, n = b(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = b(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), r = b(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, i.value + 1) : e.pages), o = (m) => a("update:current-page", m), s = (m) => o(m), c = () => s(0), A = () => s(Math.max(0, e.currentPage - 1)),
|
|
6030
|
+
const a = t, n = b(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = b(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), r = b(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, i.value + 1) : e.pages), o = (m) => a("update:current-page", m), s = (m) => o(m), c = () => s(0), A = () => s(Math.max(0, e.currentPage - 1)), d = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => s(e.pages.length - 1), C = (m) => e.pages.indexOf(m) === e.currentPage;
|
|
6031
6031
|
return (m, v) => {
|
|
6032
6032
|
var y, M, T, L;
|
|
6033
|
-
return
|
|
6033
|
+
return u(), I("nav", {
|
|
6034
6034
|
role: "navigation",
|
|
6035
6035
|
class: "av-pagination av-nav",
|
|
6036
6036
|
"aria-label": e.ariaLabel
|
|
6037
6037
|
}, [
|
|
6038
6038
|
g("ul", Ec, [
|
|
6039
|
-
e.compact && e.compactCurrentPageLabel ? (
|
|
6039
|
+
e.compact && e.compactCurrentPageLabel ? (u(), I("li", Nc, [
|
|
6040
6040
|
g("span", Tc, B(e.compactCurrentPageLabel), 1)
|
|
6041
6041
|
])) : D("", !0),
|
|
6042
6042
|
g("li", null, [
|
|
6043
|
-
e.compact ? D("", !0) : (
|
|
6043
|
+
e.compact ? D("", !0) : (u(), I("a", {
|
|
6044
6044
|
key: 0,
|
|
6045
6045
|
href: (y = e.pages[0]) == null ? void 0 : y.href,
|
|
6046
6046
|
class: "av-pagination__link",
|
|
6047
6047
|
title: e.firstPageLabel,
|
|
6048
6048
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6049
|
-
onClick: v[0] || (v[0] =
|
|
6049
|
+
onClick: v[0] || (v[0] = ue((N) => c(), ["prevent"]))
|
|
6050
6050
|
}, [
|
|
6051
6051
|
W(ne, {
|
|
6052
6052
|
name: l(R).PAGE_FIRST,
|
|
@@ -6061,26 +6061,26 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6061
6061
|
class: "av-pagination__link",
|
|
6062
6062
|
title: e.prevPageLabel,
|
|
6063
6063
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6064
|
-
onClick: v[1] || (v[1] =
|
|
6064
|
+
onClick: v[1] || (v[1] = ue((N) => A(), ["prevent"]))
|
|
6065
6065
|
}, [
|
|
6066
6066
|
W(ne, {
|
|
6067
6067
|
name: l(R).NAVIGATE_BEFORE,
|
|
6068
6068
|
size: 1.5
|
|
6069
6069
|
}, null, 8, ["name"]),
|
|
6070
|
-
e.compact ? D("", !0) : (
|
|
6070
|
+
e.compact ? D("", !0) : (u(), I("span", Oc, B(e.prevPageLabel), 1))
|
|
6071
6071
|
], 8, wc)
|
|
6072
6072
|
]),
|
|
6073
|
-
e.compact ? D("", !0) : (
|
|
6073
|
+
e.compact ? D("", !0) : (u(!0), I($, { key: 1 }, ie(l(r), (N, O) => (u(), I("li", { key: O }, [
|
|
6074
6074
|
g("a", {
|
|
6075
6075
|
href: N == null ? void 0 : N.href,
|
|
6076
6076
|
class: "av-pagination__link",
|
|
6077
6077
|
title: N.title,
|
|
6078
6078
|
"aria-current": C(N) ? "page" : void 0,
|
|
6079
|
-
onClick:
|
|
6079
|
+
onClick: ue((V) => s(e.pages.indexOf(N)), ["prevent"])
|
|
6080
6080
|
}, [
|
|
6081
|
-
l(r).indexOf(N) === 0 && l(n) > 0 ? (
|
|
6081
|
+
l(r).indexOf(N) === 0 && l(n) > 0 ? (u(), I("span", Qc, "...")) : D("", !0),
|
|
6082
6082
|
De(" " + B(N.label) + " ", 1),
|
|
6083
|
-
l(r).indexOf(N) === l(r).length - 1 && l(i) < e.pages.length - 1 ? (
|
|
6083
|
+
l(r).indexOf(N) === l(r).length - 1 && l(i) < e.pages.length - 1 ? (u(), I("span", xc, "...")) : D("", !0)
|
|
6084
6084
|
], 8, Sc)
|
|
6085
6085
|
]))), 128)),
|
|
6086
6086
|
g("li", null, [
|
|
@@ -6090,9 +6090,9 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6090
6090
|
title: e.nextPageLabel,
|
|
6091
6091
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6092
6092
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6093
|
-
onClick: v[2] || (v[2] =
|
|
6093
|
+
onClick: v[2] || (v[2] = ue((N) => d(), ["prevent"]))
|
|
6094
6094
|
}, [
|
|
6095
|
-
e.compact ? D("", !0) : (
|
|
6095
|
+
e.compact ? D("", !0) : (u(), I("span", kc, B(e.nextPageLabel), 1)),
|
|
6096
6096
|
W(ne, {
|
|
6097
6097
|
name: l(R).NAVIGATE_NEXT,
|
|
6098
6098
|
size: 1.5
|
|
@@ -6100,14 +6100,14 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6100
6100
|
], 8, pc)
|
|
6101
6101
|
]),
|
|
6102
6102
|
g("li", null, [
|
|
6103
|
-
e.compact ? D("", !0) : (
|
|
6103
|
+
e.compact ? D("", !0) : (u(), I("a", {
|
|
6104
6104
|
key: 0,
|
|
6105
6105
|
class: "av-pagination__link",
|
|
6106
6106
|
href: (L = e.pages[e.pages.length - 1]) == null ? void 0 : L.href,
|
|
6107
6107
|
title: e.lastPageLabel,
|
|
6108
6108
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6109
6109
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6110
|
-
onClick: v[3] || (v[3] =
|
|
6110
|
+
onClick: v[3] || (v[3] = ue((N) => f(), ["prevent"]))
|
|
6111
6111
|
}, [
|
|
6112
6112
|
g("span", zc, B(e.lastPageLabel), 1),
|
|
6113
6113
|
W(ne, {
|
|
@@ -6149,25 +6149,25 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6149
6149
|
}),
|
|
6150
6150
|
emits: /* @__PURE__ */ ge(["update:collapsed"], ["update:collapsed"]),
|
|
6151
6151
|
setup(e) {
|
|
6152
|
-
se((
|
|
6152
|
+
se((d) => ({
|
|
6153
6153
|
v4d5b7c17: l(c),
|
|
6154
|
-
v4a813d87:
|
|
6154
|
+
v4a813d87: d.padding
|
|
6155
6155
|
}));
|
|
6156
6156
|
const t = e, a = Le(e, "collapsed"), { width: n, collapsedWidth: i } = qt(t), r = b(() => t.id ?? crypto.randomUUID()), o = b(() => `${r.value} navigation`), s = b({
|
|
6157
6157
|
get: () => t.collapsible ? a.value : !1,
|
|
6158
|
-
set: (
|
|
6159
|
-
t.collapsible && (a.value =
|
|
6158
|
+
set: (d) => {
|
|
6159
|
+
t.collapsible && (a.value = d);
|
|
6160
6160
|
}
|
|
6161
6161
|
}), c = b(() => t.collapsible && s.value ? i.value : n.value);
|
|
6162
6162
|
function A() {
|
|
6163
6163
|
t.collapsible && (s.value = !s.value);
|
|
6164
6164
|
}
|
|
6165
|
-
return (
|
|
6165
|
+
return (d, f) => (u(), I("nav", {
|
|
6166
6166
|
id: l(r),
|
|
6167
6167
|
class: j(["av-side-menu", { "av-side-menu--collapsed": l(s) }]),
|
|
6168
6168
|
"aria-label": l(o)
|
|
6169
6169
|
}, [
|
|
6170
|
-
t.collapsible ? (
|
|
6170
|
+
t.collapsible ? (u(), I("div", Wc, [
|
|
6171
6171
|
W(oe, {
|
|
6172
6172
|
"aria-expanded": !l(s),
|
|
6173
6173
|
"aria-controls": l(r),
|
|
@@ -6179,7 +6179,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6179
6179
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
6180
6180
|
])) : D("", !0),
|
|
6181
6181
|
g("div", Uc, [
|
|
6182
|
-
P(
|
|
6182
|
+
P(d.$slots, "default", {}, void 0, !0)
|
|
6183
6183
|
])
|
|
6184
6184
|
], 10, Pc));
|
|
6185
6185
|
}
|
|
@@ -6205,7 +6205,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6205
6205
|
function n(i) {
|
|
6206
6206
|
t.value = i;
|
|
6207
6207
|
}
|
|
6208
|
-
return (i, r) => (
|
|
6208
|
+
return (i, r) => (u(), p(Hc, {
|
|
6209
6209
|
collapsed: a.value,
|
|
6210
6210
|
"onUpdate:collapsed": r[0] || (r[0] = (o) => a.value = o),
|
|
6211
6211
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -6217,7 +6217,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6217
6217
|
role: "menu"
|
|
6218
6218
|
}, {
|
|
6219
6219
|
default: G(() => [
|
|
6220
|
-
(
|
|
6220
|
+
(u(!0), I($, null, ie(e.items, (o) => (u(), p(l(ga), {
|
|
6221
6221
|
key: o.id,
|
|
6222
6222
|
title: a.value ? void 0 : o.label,
|
|
6223
6223
|
icon: o.icon,
|
|
@@ -6249,7 +6249,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6249
6249
|
setup(e) {
|
|
6250
6250
|
return se((t) => ({
|
|
6251
6251
|
v2cd1b68a: t.width
|
|
6252
|
-
})), (t, a) => (
|
|
6252
|
+
})), (t, a) => (u(), I("div", Zc, [
|
|
6253
6253
|
g("div", Xc, [
|
|
6254
6254
|
g("div", {
|
|
6255
6255
|
class: "step step--active",
|
|
@@ -6257,7 +6257,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6257
6257
|
}, [...a[0] || (a[0] = [
|
|
6258
6258
|
g("span", { class: "b1-regular" }, "1", -1)
|
|
6259
6259
|
])], 8, Yc),
|
|
6260
|
-
(
|
|
6260
|
+
(u(!0), I($, null, ie(e.steps.slice(1, e.steps.length), (n, i) => (u(), I("div", {
|
|
6261
6261
|
key: i,
|
|
6262
6262
|
class: "steps-container"
|
|
6263
6263
|
}, [
|
|
@@ -6273,7 +6273,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6273
6273
|
]))), 128))
|
|
6274
6274
|
]),
|
|
6275
6275
|
g("div", Kc, [
|
|
6276
|
-
(
|
|
6276
|
+
(u(!0), I($, null, ie(e.steps, (n, i) => (u(), I("div", {
|
|
6277
6277
|
key: i,
|
|
6278
6278
|
class: "label-container"
|
|
6279
6279
|
}, [
|
|
@@ -6295,8 +6295,8 @@ function Jc(e, t) {
|
|
|
6295
6295
|
const s = e.value.getBoundingClientRect(), c = s.bottom + window.scrollY + 4;
|
|
6296
6296
|
let A = s.left + window.scrollX;
|
|
6297
6297
|
if (t.value) {
|
|
6298
|
-
const
|
|
6299
|
-
A +
|
|
6298
|
+
const d = t.value.getBoundingClientRect(), f = window.innerWidth;
|
|
6299
|
+
A + d.width > f && (A = f - d.width - 16, A < 0 && (A = 16));
|
|
6300
6300
|
}
|
|
6301
6301
|
n.value = { top: c / 16, left: A / 16 };
|
|
6302
6302
|
}
|
|
@@ -6305,7 +6305,7 @@ function Jc(e, t) {
|
|
|
6305
6305
|
}, o = (s) => {
|
|
6306
6306
|
e.value && !e.value.contains(s.target) && r();
|
|
6307
6307
|
};
|
|
6308
|
-
return
|
|
6308
|
+
return de(() => {
|
|
6309
6309
|
document.addEventListener("click", o);
|
|
6310
6310
|
}), ve(() => {
|
|
6311
6311
|
document.removeEventListener("click", o);
|
|
@@ -6328,7 +6328,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6328
6328
|
d4f07f42: f.padding
|
|
6329
6329
|
}));
|
|
6330
6330
|
const a = U(null), n = U(null), { showPopover: i, popoverPosition: r, togglePopover: o, closePopover: s } = Jc(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } = pi(n, s);
|
|
6331
|
-
function
|
|
6331
|
+
function d(f) {
|
|
6332
6332
|
if (!f) {
|
|
6333
6333
|
a.value = null;
|
|
6334
6334
|
return;
|
|
@@ -6340,26 +6340,26 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6340
6340
|
const C = f.$el;
|
|
6341
6341
|
C instanceof HTMLElement ? a.value = C : a.value = null;
|
|
6342
6342
|
}
|
|
6343
|
-
return t({ setTriggerRef:
|
|
6343
|
+
return t({ setTriggerRef: d, triggerRef: a }), re(i, async (f) => {
|
|
6344
6344
|
f ? (await at(), c()) : A();
|
|
6345
6345
|
}), gt(() => {
|
|
6346
6346
|
A();
|
|
6347
|
-
}), (f, C) => (
|
|
6347
|
+
}), (f, C) => (u(), I("div", $c, [
|
|
6348
6348
|
g("div", {
|
|
6349
|
-
ref:
|
|
6349
|
+
ref: d,
|
|
6350
6350
|
class: "av-popover-trigger-wrapper"
|
|
6351
6351
|
}, [
|
|
6352
6352
|
P(f.$slots, "trigger", { toggle: l(o) }, void 0, !0)
|
|
6353
6353
|
]),
|
|
6354
|
-
(
|
|
6355
|
-
l(i) ? (
|
|
6354
|
+
(u(), p(Kt, { to: "body" }, [
|
|
6355
|
+
l(i) ? (u(), I("div", {
|
|
6356
6356
|
key: 0,
|
|
6357
6357
|
ref_key: "popoverRef",
|
|
6358
6358
|
ref: n,
|
|
6359
6359
|
tabindex: "-1",
|
|
6360
6360
|
class: "av-popover",
|
|
6361
6361
|
style: ce(`top: ${l(r).top}rem; left: ${l(r).left}rem;`),
|
|
6362
|
-
onKeydown: C[0] || (C[0] = Ae(
|
|
6362
|
+
onKeydown: C[0] || (C[0] = Ae(ue(
|
|
6363
6363
|
//@ts-ignore
|
|
6364
6364
|
(...m) => l(s) && l(s)(...m),
|
|
6365
6365
|
["prevent"]
|
|
@@ -6391,7 +6391,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6391
6391
|
function n(i, r) {
|
|
6392
6392
|
a("itemSelected", i), r();
|
|
6393
6393
|
}
|
|
6394
|
-
return (i, r) => (
|
|
6394
|
+
return (i, r) => (u(), p(eA, {
|
|
6395
6395
|
width: e.width,
|
|
6396
6396
|
padding: e.padding
|
|
6397
6397
|
}, {
|
|
@@ -6408,7 +6408,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6408
6408
|
]),
|
|
6409
6409
|
popover: G(({ close: o }) => [
|
|
6410
6410
|
g("div", tA, [
|
|
6411
|
-
(
|
|
6411
|
+
(u(!0), I($, null, ie(e.items, (s) => (u(), p(oe, {
|
|
6412
6412
|
key: s.name,
|
|
6413
6413
|
class: "av-dropdown__menu-item",
|
|
6414
6414
|
icon: s.icon,
|
|
@@ -6503,7 +6503,7 @@ const nA = {
|
|
|
6503
6503
|
preventScroll: e.preventScroll
|
|
6504
6504
|
}));
|
|
6505
6505
|
}
|
|
6506
|
-
return
|
|
6506
|
+
return de(() => {
|
|
6507
6507
|
re(() => e.active, (s) => {
|
|
6508
6508
|
s && r.value ? o().activate() : n && (n.deactivate(), (!r.value || r.value.nodeType === Node.COMMENT_NODE) && (n = null));
|
|
6509
6509
|
}, { immediate: !0, flush: "post" });
|
|
@@ -6527,7 +6527,7 @@ const nA = {
|
|
|
6527
6527
|
}), lA = ["id", "aria-labelledby", "role", "open"], rA = { class: "av-container av-container-md av-container--fluid" }, oA = { class: "av-row-md av-row-md--center" }, sA = { class: "av-modal__body" }, cA = { class: "av-modal__content" }, AA = {
|
|
6528
6528
|
key: 0,
|
|
6529
6529
|
class: "header"
|
|
6530
|
-
},
|
|
6530
|
+
}, uA = { class: "av-modal__footer" }, dA = /* @__PURE__ */ Q({
|
|
6531
6531
|
__name: "AvModal",
|
|
6532
6532
|
props: {
|
|
6533
6533
|
id: {},
|
|
@@ -6545,20 +6545,20 @@ const nA = {
|
|
|
6545
6545
|
setup(e, { emit: t }) {
|
|
6546
6546
|
const a = t, n = fe(), i = b(() => e.id ?? `modal-${crypto.randomUUID()}`), r = b(() => e.isAlert ? "alertdialog" : "dialog"), o = U(null), s = U();
|
|
6547
6547
|
re(() => e.opened, (A) => {
|
|
6548
|
-
var
|
|
6549
|
-
A ? ((
|
|
6548
|
+
var d, f, C;
|
|
6549
|
+
A ? ((d = s.value) == null || d.showModal(), (f = o.value) == null || f.focus()) : (C = s.value) == null || C.close(), c(A);
|
|
6550
6550
|
});
|
|
6551
6551
|
function c(A) {
|
|
6552
6552
|
typeof window < "u" && document.body.classList.toggle("modal-open", A);
|
|
6553
6553
|
}
|
|
6554
|
-
return
|
|
6554
|
+
return de(() => {
|
|
6555
6555
|
c(e.opened);
|
|
6556
6556
|
}), gt(() => {
|
|
6557
6557
|
c(!1);
|
|
6558
|
-
}), (A,
|
|
6558
|
+
}), (A, d) => {
|
|
6559
6559
|
const f = Ea;
|
|
6560
|
-
return
|
|
6561
|
-
e.opened ? (
|
|
6560
|
+
return u(), p(Kt, { to: "body" }, [
|
|
6561
|
+
e.opened ? (u(), p(l(iA), { key: 0 }, {
|
|
6562
6562
|
default: G(() => [
|
|
6563
6563
|
g("dialog", {
|
|
6564
6564
|
id: l(i),
|
|
@@ -6569,18 +6569,18 @@ const nA = {
|
|
|
6569
6569
|
role: l(r),
|
|
6570
6570
|
class: j(["av-modal", { "av-modal--opened": e.opened }]),
|
|
6571
6571
|
open: e.opened,
|
|
6572
|
-
onKeydown:
|
|
6572
|
+
onKeydown: d[2] || (d[2] = Ae((C) => a("close"), ["esc"]))
|
|
6573
6573
|
}, [
|
|
6574
6574
|
g("div", rA, [
|
|
6575
6575
|
g("div", oA, [
|
|
6576
6576
|
g("div", sA, [
|
|
6577
6577
|
g("div", cA, [
|
|
6578
|
-
n.header ? (
|
|
6578
|
+
n.header ? (u(), I("div", AA, [
|
|
6579
6579
|
P(A.$slots, "header", {}, void 0, !0)
|
|
6580
6580
|
])) : D("", !0),
|
|
6581
6581
|
P(A.$slots, "default", {}, void 0, !0)
|
|
6582
6582
|
]),
|
|
6583
|
-
g("div",
|
|
6583
|
+
g("div", uA, [
|
|
6584
6584
|
W(f, {
|
|
6585
6585
|
ref_key: "closeBtn",
|
|
6586
6586
|
ref: o,
|
|
@@ -6592,8 +6592,8 @@ const nA = {
|
|
|
6592
6592
|
"confirm-icon": e.confirmButtonIcon,
|
|
6593
6593
|
"confirm-disabled": e.confirmButtonDisabled,
|
|
6594
6594
|
"confirm-is-loading": e.isLoading,
|
|
6595
|
-
onCancel:
|
|
6596
|
-
onConfirm:
|
|
6595
|
+
onCancel: d[0] || (d[0] = () => a("close")),
|
|
6596
|
+
onConfirm: d[1] || (d[1] = () => a("confirm"))
|
|
6597
6597
|
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
6598
6598
|
P(A.$slots, "footer", {}, void 0, !0)
|
|
6599
6599
|
])
|
|
@@ -6607,7 +6607,7 @@ const nA = {
|
|
|
6607
6607
|
]);
|
|
6608
6608
|
};
|
|
6609
6609
|
}
|
|
6610
|
-
}), ZA = /* @__PURE__ */ z(
|
|
6610
|
+
}), ZA = /* @__PURE__ */ z(dA, [["__scopeId", "data-v-bcc71ae5"]]);
|
|
6611
6611
|
export {
|
|
6612
6612
|
ai as AV_BREAKPOINTS,
|
|
6613
6613
|
CA as AvAccordion,
|