@avenirs-esr/avenirs-dsav 0.1.34 → 0.1.35
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.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DsfrBadge as ea, VIcon as ta, DsfrNotice as aa, DsfrButton as na, registerNavigationLinkKey as ra, DsfrLanguageSelector as Aa, DsfrSearchBar as ia, DsfrAccordionsGroup as oa, DsfrAccordion as la, useRandomId as sa, DsfrInput as ca, DsfrTag as ua, DsfrRadioButtonSet as da, DsfrRadioButton as fa, DsfrMultiselect as va, DsfrSelect as
|
|
1
|
+
import { DsfrBadge as ea, VIcon as ta, DsfrNotice as aa, DsfrButton as na, registerNavigationLinkKey as ra, DsfrLanguageSelector as Aa, DsfrSearchBar as ia, DsfrAccordionsGroup as oa, DsfrAccordion as la, useRandomId as sa, DsfrInput as ca, DsfrTag as ua, DsfrRadioButtonSet as da, DsfrRadioButton as fa, DsfrMultiselect as va, DsfrSelect as ma, DsfrTabs as ga, DsfrTabContent as Ia, DsfrTabItem as ha, DsfrNavigation as ba, DsfrModal as Ca } from "@gouvminint/vue-dsfr";
|
|
2
2
|
import { registerNavigationLinkKey as os } from "@gouvminint/vue-dsfr";
|
|
3
|
-
import { defineComponent as S, useCssVars as re, computed as p, createBlock as x, openBlock as u, mergeProps as ee, unref as s, createPropsRestProxy as wt, createElementBlock as
|
|
3
|
+
import { defineComponent as S, useCssVars as re, computed as p, createBlock as x, openBlock as u, mergeProps as ee, unref as s, createPropsRestProxy as wt, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as Y, useSlots as ie, normalizeStyle as Ve, createCommentVNode as O, renderSlot as B, resolveDynamicComponent as ue, createTextVNode as nt, TransitionGroup as ya, Fragment as _, renderList as ne, toRef as Ea, ref as J, onMounted as xe, onUnmounted as je, provide as Lt, resolveComponent as Ma, withModifiers as se, mergeModels as ve, useModel as ke, nextTick as Re, createSlots as Le, watch as ce, isRef as rt, inject as pa, getCurrentScope as Na, onScopeDispose as Ta, getCurrentInstance as St, toValue as te, shallowRef as Pe, reactive as ut, normalizeProps as Qa, guardReactiveProps as Da, toRefs as At, withKeys as it, Teleport as kt, onBeforeUnmount as Oa } from "vue";
|
|
4
4
|
const vl = {
|
|
5
5
|
name: "AvBadge",
|
|
6
6
|
template: '<div class="av-badge"/>',
|
|
@@ -53,7 +53,7 @@ const vl = {
|
|
|
53
53
|
for (const [n, r] of t)
|
|
54
54
|
a[n] = r;
|
|
55
55
|
return a;
|
|
56
|
-
},
|
|
56
|
+
}, ml = /* @__PURE__ */ V(wa, [["__scopeId", "data-v-844b9e93"]]), La = { class: "av-icon-vicon--container" }, Sa = 16 / 19.19, ka = /* @__PURE__ */ S({
|
|
57
57
|
__name: "AvVIcon",
|
|
58
58
|
props: {
|
|
59
59
|
size: { default: 1 },
|
|
@@ -75,7 +75,7 @@ const vl = {
|
|
|
75
75
|
const t = wt(e, ["size"]), a = p(() => Sa * e.size), n = p(() => `${e.size}rem`);
|
|
76
76
|
return (r, i) => {
|
|
77
77
|
const A = ta;
|
|
78
|
-
return u(),
|
|
78
|
+
return u(), g("div", La, [
|
|
79
79
|
P(A, ee(t, { scale: s(a) }), null, 16, ["scale"])
|
|
80
80
|
]);
|
|
81
81
|
};
|
|
@@ -97,7 +97,7 @@ const vl = {
|
|
|
97
97
|
v274632b3: r.textColor
|
|
98
98
|
}));
|
|
99
99
|
const t = p(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = p(() => e.inline ? void 0 : "ellipsis-container"), n = p(() => e.inline ? void 0 : "ellipsis");
|
|
100
|
-
return (r, i) => (u(),
|
|
100
|
+
return (r, i) => (u(), g("div", {
|
|
101
101
|
class: F(["icon-text--container", [s(a)]])
|
|
102
102
|
}, [
|
|
103
103
|
P(ae, {
|
|
@@ -115,7 +115,7 @@ const vl = {
|
|
|
115
115
|
function ja(e, t = "var(--dark-background-primary1)") {
|
|
116
116
|
return e.replace(/###(.+?)###/gs, `<h1 style="display:flex;flex-direction:row;justify-content:start;font-size:var(--font-size-n6);line-height:var(--line-height-n5);color:${t}">$1</h1>`).replace(/@@([\s\S]+?)@@/g, "<div>$1</div>").replace(/^\s*--\s+(.*)$/gm, '<li class="indented-list">$1</li>').replace(/(\r\n|\n|\r|\\n|\\r)/g, '<div class="line-break"></div>').replace(/__(.+?)__/g, '<span class="text-underline">$1</span>').replace(/\*\*(.+?)\*\*/g, `<strong style="color: ${t}">$1</strong>`);
|
|
117
117
|
}
|
|
118
|
-
const Ba = ["innerHTML"],
|
|
118
|
+
const Ba = ["innerHTML"], gl = /* @__PURE__ */ S({
|
|
119
119
|
__name: "AvNotice",
|
|
120
120
|
props: {
|
|
121
121
|
title: { default: "" },
|
|
@@ -154,11 +154,11 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
154
154
|
},
|
|
155
155
|
setup(e) {
|
|
156
156
|
const t = ie();
|
|
157
|
-
return (a, n) => (u(),
|
|
157
|
+
return (a, n) => (u(), g("div", {
|
|
158
158
|
class: "av-card",
|
|
159
159
|
style: Ve({ borderColor: e.borderColor, background: e.backgroundColor })
|
|
160
160
|
}, [
|
|
161
|
-
t.title ? (u(),
|
|
161
|
+
t.title ? (u(), g("div", {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "av-card__title",
|
|
164
164
|
style: Ve({ background: e.titleBackground, height: e.titleHeight })
|
|
@@ -166,10 +166,10 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
166
166
|
B(a.$slots, "title", {}, void 0, !0)
|
|
167
167
|
], 4)) : O("", !0),
|
|
168
168
|
B(a.$slots, "default", {}, void 0, !0),
|
|
169
|
-
t.body ? (u(),
|
|
169
|
+
t.body ? (u(), g("div", Pa, [
|
|
170
170
|
B(a.$slots, "body", {}, void 0, !0)
|
|
171
171
|
])) : O("", !0),
|
|
172
|
-
t.footer ? (u(),
|
|
172
|
+
t.footer ? (u(), g("div", Wa, [
|
|
173
173
|
B(a.$slots, "footer", {}, void 0, !0)
|
|
174
174
|
])) : O("", !0)
|
|
175
175
|
], 4));
|
|
@@ -205,10 +205,12 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
205
205
|
DOTS_VERTICAL: "mdi:dots-vertical",
|
|
206
206
|
ELECTRON_FRAMEWORK: "mdi:electron-framework",
|
|
207
207
|
FAMILY: "mdi:family",
|
|
208
|
+
FILE: "mdi:file",
|
|
208
209
|
FILE_ACCOUNT_OUTLINE: "mdi:file-account-outline",
|
|
209
210
|
FILE_DOCUMENT_BOX_MULTIPLE_OUTLINE: "mdi:file-document-box-multiple-outline",
|
|
210
211
|
FILE_DOCUMENT_EDIT_OUTLINE: "mdi:file-document-edit-outline",
|
|
211
212
|
FILE_DOCUMENT_MULTIPLE_OUTLINE: "mdi:file-document-multiple-outline",
|
|
213
|
+
FILE_IMAGE_OUTLINE: "mdi:file-image-outline",
|
|
212
214
|
FILE_TREE_OUTLINE: "mdi:file-tree-outline",
|
|
213
215
|
FLAG_VARIANT: "mdi:flag-variant",
|
|
214
216
|
FORMAT_LIST_BULLETED: "mdi:format-list-bulleted",
|
|
@@ -340,7 +342,7 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
340
342
|
return { name: R.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
341
343
|
}
|
|
342
344
|
});
|
|
343
|
-
return (A, o) => e.closed ? O("", !0) : (u(),
|
|
345
|
+
return (A, o) => e.closed ? O("", !0) : (u(), g("div", {
|
|
344
346
|
key: 0,
|
|
345
347
|
id: e.id,
|
|
346
348
|
class: F(["fr-alert", s(r)]),
|
|
@@ -399,7 +401,7 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
399
401
|
return { "--icon-path": `url(${e.basePath}assets/icons/message-badge.svg)` };
|
|
400
402
|
}
|
|
401
403
|
}
|
|
402
|
-
return (n, r) => (u(),
|
|
404
|
+
return (n, r) => (u(), g("div", Ka, [
|
|
403
405
|
P(ya, {
|
|
404
406
|
mode: "out-in",
|
|
405
407
|
name: "list",
|
|
@@ -407,7 +409,7 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
407
409
|
class: "toasters"
|
|
408
410
|
}, {
|
|
409
411
|
default: Y(() => [
|
|
410
|
-
(u(!0),
|
|
412
|
+
(u(!0), g(_, null, ne(e.messages, (i) => (u(), x(Fa, ee({
|
|
411
413
|
key: i.id,
|
|
412
414
|
class: ["av-toaster", t(i.type)]
|
|
413
415
|
}, { ref_for: !0 }, i, {
|
|
@@ -428,12 +430,12 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
428
430
|
emits: ["linkClick"],
|
|
429
431
|
setup(e, { emit: t }) {
|
|
430
432
|
const a = t;
|
|
431
|
-
return (n, r) => (u(),
|
|
433
|
+
return (n, r) => (u(), g("nav", {
|
|
432
434
|
role: "navigation",
|
|
433
435
|
"aria-label": e.navAriaLabel
|
|
434
436
|
}, [
|
|
435
437
|
y("ul", _a, [
|
|
436
|
-
(u(!0),
|
|
438
|
+
(u(!0), g(_, null, ne(e.links, (i, A) => (u(), g("li", { key: A }, [
|
|
437
439
|
P(Ce, {
|
|
438
440
|
icon: i.icon,
|
|
439
441
|
label: i.label ?? "",
|
|
@@ -455,7 +457,7 @@ const Ba = ["innerHTML"], ml = /* @__PURE__ */ S({
|
|
|
455
457
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
456
458
|
};
|
|
457
459
|
function tn(e, t) {
|
|
458
|
-
return u(),
|
|
460
|
+
return u(), g("svg", en, [...t[0] || (t[0] = [
|
|
459
461
|
y("rect", {
|
|
460
462
|
width: "213.732",
|
|
461
463
|
height: "96.9",
|
|
@@ -492,7 +494,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
492
494
|
}, dn = ["aria-label", "title", "data-fr-opened"], fn = ["aria-label", "title"], vn = {
|
|
493
495
|
key: 0,
|
|
494
496
|
class: "fr-header__service"
|
|
495
|
-
},
|
|
497
|
+
}, mn = { class: "fr-header__service-title" }, gn = { class: "fr-header__tools" }, In = { class: "fr-header__tools-links" }, hn = {
|
|
496
498
|
key: 0,
|
|
497
499
|
class: "fr-header__search fr-modal demo-display-none"
|
|
498
500
|
}, bn = ["aria-label"], Cn = { class: "fr-container" }, yn = { class: "fr-header__menu-links" }, En = {
|
|
@@ -544,11 +546,11 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
544
546
|
function b() {
|
|
545
547
|
l.value = !0, A.value = !1, o.value = !0;
|
|
546
548
|
}
|
|
547
|
-
const I = c,
|
|
549
|
+
const I = c, m = p(() => [a.homeLabel, a.serviceTitle].filter((M) => M).join(" - ")), C = p(() => !!r.mainnav);
|
|
548
550
|
return Lt(ra, () => c), (M, T) => {
|
|
549
551
|
var j, W;
|
|
550
552
|
const Q = Ma("RouterLink"), E = Aa, D = ia;
|
|
551
|
-
return u(),
|
|
553
|
+
return u(), g("header", nn, [
|
|
552
554
|
y("div", rn, [
|
|
553
555
|
y("div", An, [
|
|
554
556
|
y("div", on, [
|
|
@@ -557,7 +559,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
557
559
|
y("div", cn, [
|
|
558
560
|
P(Q, {
|
|
559
561
|
to: e.homeTo,
|
|
560
|
-
title: s(
|
|
562
|
+
title: s(m)
|
|
561
563
|
}, {
|
|
562
564
|
default: Y(() => [
|
|
563
565
|
P(an, { "data-testid": "header-logo" })
|
|
@@ -565,8 +567,8 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
565
567
|
_: 1
|
|
566
568
|
}, 8, ["to", "title"])
|
|
567
569
|
]),
|
|
568
|
-
e.showSearch || s(C) || (j = e.quickLinks) != null && j.length ? (u(),
|
|
569
|
-
e.showSearch ? (u(),
|
|
570
|
+
e.showSearch || s(C) || (j = e.quickLinks) != null && j.length ? (u(), g("div", un, [
|
|
571
|
+
e.showSearch ? (u(), g("button", {
|
|
570
572
|
key: 0,
|
|
571
573
|
class: "fr-btn fr-btn--search",
|
|
572
574
|
"aria-controls": "header-search",
|
|
@@ -575,7 +577,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
575
577
|
"data-fr-opened": s(o),
|
|
576
578
|
onClick: T[0] || (T[0] = se((z) => b(), ["prevent", "stop"]))
|
|
577
579
|
}, null, 8, dn)) : O("", !0),
|
|
578
|
-
s(C) || (W = e.quickLinks) != null && W.length ? (u(),
|
|
580
|
+
s(C) || (W = e.quickLinks) != null && W.length ? (u(), g("button", {
|
|
579
581
|
key: 1,
|
|
580
582
|
id: "button-menu",
|
|
581
583
|
class: "fr-btn--menu fr-btn",
|
|
@@ -589,12 +591,12 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
589
591
|
}, null, 8, fn)) : O("", !0)
|
|
590
592
|
])) : O("", !0)
|
|
591
593
|
]),
|
|
592
|
-
e.serviceTitle ? (u(),
|
|
593
|
-
y("p",
|
|
594
|
+
e.serviceTitle ? (u(), g("div", vn, [
|
|
595
|
+
y("p", mn, Z(e.serviceTitle), 1),
|
|
594
596
|
B(M.$slots, "serviceDescription", {}, void 0, !0)
|
|
595
597
|
])) : O("", !0)
|
|
596
598
|
]),
|
|
597
|
-
y("div",
|
|
599
|
+
y("div", gn, [
|
|
598
600
|
y("div", In, [
|
|
599
601
|
B(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
600
602
|
s(A) ? O("", !0) : (u(), x(dt, {
|
|
@@ -607,7 +609,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
607
609
|
onSelect: T[2] || (T[2] = (z) => n("languageSelect", z))
|
|
608
610
|
}), null, 16)) : O("", !0)
|
|
609
611
|
]),
|
|
610
|
-
e.showSearch ? (u(),
|
|
612
|
+
e.showSearch ? (u(), g("div", hn, [
|
|
611
613
|
P(D, {
|
|
612
614
|
id: e.searchbarId,
|
|
613
615
|
label: e.searchLabel,
|
|
@@ -620,7 +622,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
620
622
|
])) : O("", !0)
|
|
621
623
|
])
|
|
622
624
|
]),
|
|
623
|
-
e.showSearch || s(C) || e.quickLinks && e.quickLinks.length || s(i) ? (u(),
|
|
625
|
+
e.showSearch || s(C) || e.quickLinks && e.quickLinks.length || s(i) ? (u(), g("div", {
|
|
624
626
|
key: 0,
|
|
625
627
|
id: "header-navigation",
|
|
626
628
|
class: F(["fr-header__menu fr-modal", { "fr-modal--opened": s(l) }]),
|
|
@@ -654,7 +656,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
654
656
|
key: 0,
|
|
655
657
|
hidemodal: c
|
|
656
658
|
}, void 0, !0) : O("", !0),
|
|
657
|
-
s(o) ? (u(),
|
|
659
|
+
s(o) ? (u(), g("div", En, [
|
|
658
660
|
P(D, {
|
|
659
661
|
"searchbar-id": e.searchbarId,
|
|
660
662
|
"model-value": e.modelValue,
|
|
@@ -669,7 +671,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
669
671
|
])
|
|
670
672
|
]),
|
|
671
673
|
y("div", Mn, [
|
|
672
|
-
s(C) && !s(l) ? (u(),
|
|
674
|
+
s(C) && !s(l) ? (u(), g("div", pn, [
|
|
673
675
|
B(M.$slots, "mainnav", { hidemodal: c }, void 0, !0)
|
|
674
676
|
])) : O("", !0)
|
|
675
677
|
])
|
|
@@ -681,7 +683,7 @@ const an = /* @__PURE__ */ V($a, [["render", tn]]), nn = {
|
|
|
681
683
|
viewBox: "0 0 106.703 44.429"
|
|
682
684
|
};
|
|
683
685
|
function Qn(e, t) {
|
|
684
|
-
return u(),
|
|
686
|
+
return u(), g("svg", Tn, [...t[0] || (t[0] = [
|
|
685
687
|
y("path", {
|
|
686
688
|
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",
|
|
687
689
|
style: { fill: "#ed184e", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none", "stroke-width": ".0352778" },
|
|
@@ -709,7 +711,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
709
711
|
...e.width && { width: e.width },
|
|
710
712
|
...e.height && { height: e.height }
|
|
711
713
|
}));
|
|
712
|
-
return (a, n) => (u(),
|
|
714
|
+
return (a, n) => (u(), g("div", On, [
|
|
713
715
|
P(s(Dn), ee(s(t), { class: "logo" }), null, 16)
|
|
714
716
|
]));
|
|
715
717
|
}
|
|
@@ -743,7 +745,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
743
745
|
"aria-label": "Accordion group"
|
|
744
746
|
}, {
|
|
745
747
|
default: Y(() => [
|
|
746
|
-
(u(!0),
|
|
748
|
+
(u(!0), g(_, null, ne(s(a), (o, l) => (u(), x(s(la), {
|
|
747
749
|
id: `${r}-accordion-${l}`,
|
|
748
750
|
key: l,
|
|
749
751
|
"aria-labelledby": `accordion-title-${l}`,
|
|
@@ -793,7 +795,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
793
795
|
setup(e) {
|
|
794
796
|
return re((t) => ({
|
|
795
797
|
v4a373320: t.customPadding
|
|
796
|
-
})), (t, a) => (u(),
|
|
798
|
+
})), (t, a) => (u(), g("button", {
|
|
797
799
|
class: "av-rich-button",
|
|
798
800
|
title: e.label,
|
|
799
801
|
"aria-label": e.label,
|
|
@@ -830,7 +832,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
830
832
|
validMessage: { default: void 0 }
|
|
831
833
|
},
|
|
832
834
|
setup(e) {
|
|
833
|
-
return (t, a) => e.error || e.validMessage ? (u(),
|
|
835
|
+
return (t, a) => e.error || e.validMessage ? (u(), g("div", Wn, [
|
|
834
836
|
P(xa, {
|
|
835
837
|
icon: e.error ? s(R).CLOSE_CIRCLE_OUTLINE : s(R).CHECK_CIRCLE_OUTLINE,
|
|
836
838
|
"icon-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
@@ -873,15 +875,15 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
873
875
|
}));
|
|
874
876
|
const a = t, n = p(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), r = J(!1);
|
|
875
877
|
function i(I) {
|
|
876
|
-
const
|
|
877
|
-
return
|
|
878
|
+
const m = n.value;
|
|
879
|
+
return m ? m.split(",").map((M) => M.trim().toLowerCase()).some((M) => M.startsWith(".") ? I.name.toLowerCase().endsWith(M) : M.includes("/") ? I.type === M || I.type.startsWith(`${M.split("/")[0]}/`) : !1) : !0;
|
|
878
880
|
}
|
|
879
881
|
async function A(I) {
|
|
880
882
|
var C, M;
|
|
881
883
|
if (I.preventDefault(), r.value = !1, e.disabled || !((M = (C = I.dataTransfer) == null ? void 0 : C.files) != null && M.length))
|
|
882
884
|
return;
|
|
883
|
-
const
|
|
884
|
-
await Re(),
|
|
885
|
+
const m = Array.from(I.dataTransfer.files).filter(i);
|
|
886
|
+
await Re(), m.length ? (a("change", m), a("update:modelValue", m[0] ?? "")) : a("onDropAcceptTypeError");
|
|
885
887
|
}
|
|
886
888
|
function o(I) {
|
|
887
889
|
I.preventDefault(), e.disabled || (r.value = !0);
|
|
@@ -890,8 +892,8 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
890
892
|
r.value = !1;
|
|
891
893
|
}
|
|
892
894
|
function c(I) {
|
|
893
|
-
const
|
|
894
|
-
a("change",
|
|
895
|
+
const m = I.target.files;
|
|
896
|
+
a("change", m), a("update:modelValue", (m == null ? void 0 : m[0]) ?? null);
|
|
895
897
|
}
|
|
896
898
|
const d = p(() => e.fileName || e.modelValue && !e.enableMultiple), f = p(() => ({
|
|
897
899
|
for: e.id,
|
|
@@ -910,10 +912,10 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
910
912
|
onDrop: A
|
|
911
913
|
}));
|
|
912
914
|
function b(I) {
|
|
913
|
-
var
|
|
914
|
-
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (
|
|
915
|
+
var m;
|
|
916
|
+
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (m = e.onDeleteFile) == null || m.call(e);
|
|
915
917
|
}
|
|
916
|
-
return (I,
|
|
918
|
+
return (I, m) => (u(), g(_, null, [
|
|
917
919
|
(u(), x(ue(s(d) ? "div" : "label"), ee(s(d) ? {} : s(f), {
|
|
918
920
|
class: s(d) ? "file-preview-container" : ""
|
|
919
921
|
}), {
|
|
@@ -932,9 +934,9 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
932
934
|
], !0)
|
|
933
935
|
]),
|
|
934
936
|
y("div", Hn, [
|
|
935
|
-
s(d) ? (u(),
|
|
937
|
+
s(d) ? (u(), g("div", Zn, [
|
|
936
938
|
y("span", qn, Z(e.fileName || e.modelValue.name), 1)
|
|
937
|
-
])) : (u(),
|
|
939
|
+
])) : (u(), g("div", Yn, [
|
|
938
940
|
y("span", Rn, Z(e.title), 1),
|
|
939
941
|
y("span", Fn, Z(e.description), 1)
|
|
940
942
|
])),
|
|
@@ -943,12 +945,12 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
943
945
|
error: e.error
|
|
944
946
|
}, null, 8, ["valid-message", "error"])
|
|
945
947
|
]),
|
|
946
|
-
e.disabled ? O("", !0) : (u(),
|
|
948
|
+
e.disabled ? O("", !0) : (u(), g("div", Kn, [
|
|
947
949
|
s(d) ? (u(), x(Ce, {
|
|
948
950
|
key: 0,
|
|
949
951
|
label: e.deleteButtonLabel,
|
|
950
952
|
theme: "SECONDARY",
|
|
951
|
-
onClick:
|
|
953
|
+
onClick: m[0] || (m[0] = () => b(e.modelValue))
|
|
952
954
|
}, null, 8, ["label"])) : (u(), x(ae, {
|
|
953
955
|
key: 1,
|
|
954
956
|
size: 1.5,
|
|
@@ -956,7 +958,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
956
958
|
color: "var(--dark-background-primary1)"
|
|
957
959
|
}, null, 8, ["name"]))
|
|
958
960
|
])),
|
|
959
|
-
s(d) ? O("", !0) : (u(),
|
|
961
|
+
s(d) ? O("", !0) : (u(), g("input", ee({
|
|
960
962
|
key: 1,
|
|
961
963
|
id: e.id,
|
|
962
964
|
class: "fr-upload",
|
|
@@ -966,7 +968,7 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
966
968
|
disabled: e.disabled,
|
|
967
969
|
"aria-disabled": e.disabled,
|
|
968
970
|
accept: s(n),
|
|
969
|
-
onChange:
|
|
971
|
+
onChange: m[1] || (m[1] = (C) => c(C))
|
|
970
972
|
}), null, 16, Gn))
|
|
971
973
|
])
|
|
972
974
|
], 2)
|
|
@@ -979,11 +981,11 @@ const Dn = { render: Qn }, On = { class: "svg-wrapper" }, wn = /* @__PURE__ */ S
|
|
|
979
981
|
], 64));
|
|
980
982
|
}
|
|
981
983
|
}), Dl = /* @__PURE__ */ V(_n, [["__scopeId", "data-v-2c0c549f"]]), zt = 6048e5, $n = 864e5, ft = Symbol.for("constructDateFrom");
|
|
982
|
-
function
|
|
984
|
+
function me(e, t) {
|
|
983
985
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && ft in e ? e[ft](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
984
986
|
}
|
|
985
987
|
function le(e, t) {
|
|
986
|
-
return
|
|
988
|
+
return me(t || e, e);
|
|
987
989
|
}
|
|
988
990
|
let er = {};
|
|
989
991
|
function Fe() {
|
|
@@ -998,9 +1000,9 @@ function Ue(e, t) {
|
|
|
998
1000
|
return ze(e, { ...t, weekStartsOn: 1 });
|
|
999
1001
|
}
|
|
1000
1002
|
function xt(e, t) {
|
|
1001
|
-
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r =
|
|
1003
|
+
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = me(a, 0);
|
|
1002
1004
|
r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
1003
|
-
const i = Ue(r), A =
|
|
1005
|
+
const i = Ue(r), A = me(a, 0);
|
|
1004
1006
|
A.setFullYear(n, 0, 4), A.setHours(0, 0, 0, 0);
|
|
1005
1007
|
const o = Ue(A);
|
|
1006
1008
|
return a.getTime() >= i.getTime() ? n + 1 : a.getTime() >= o.getTime() ? n : n - 1;
|
|
@@ -1020,13 +1022,13 @@ function vt(e) {
|
|
|
1020
1022
|
return a.setUTCFullYear(t.getFullYear()), +e - +a;
|
|
1021
1023
|
}
|
|
1022
1024
|
function tr(e, ...t) {
|
|
1023
|
-
const a =
|
|
1025
|
+
const a = me.bind(
|
|
1024
1026
|
null,
|
|
1025
1027
|
t.find((n) => typeof n == "object")
|
|
1026
1028
|
);
|
|
1027
1029
|
return t.map(a);
|
|
1028
1030
|
}
|
|
1029
|
-
function
|
|
1031
|
+
function mt(e, t) {
|
|
1030
1032
|
const a = le(e, t == null ? void 0 : t.in);
|
|
1031
1033
|
return a.setHours(0, 0, 0, 0), a;
|
|
1032
1034
|
}
|
|
@@ -1035,11 +1037,11 @@ function ar(e, t, a) {
|
|
|
1035
1037
|
a == null ? void 0 : a.in,
|
|
1036
1038
|
e,
|
|
1037
1039
|
t
|
|
1038
|
-
), i =
|
|
1040
|
+
), i = mt(n), A = mt(r), o = +i - vt(i), l = +A - vt(A);
|
|
1039
1041
|
return Math.round((o - l) / $n);
|
|
1040
1042
|
}
|
|
1041
1043
|
function nr(e, t) {
|
|
1042
|
-
const a = xt(e, t), n =
|
|
1044
|
+
const a = xt(e, t), n = me(e, 0);
|
|
1043
1045
|
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), Ue(n);
|
|
1044
1046
|
}
|
|
1045
1047
|
function rr(e) {
|
|
@@ -1180,11 +1182,11 @@ const vr = {
|
|
|
1180
1182
|
narrow: ["B", "A"],
|
|
1181
1183
|
abbreviated: ["BC", "AD"],
|
|
1182
1184
|
wide: ["Before Christ", "Anno Domini"]
|
|
1183
|
-
},
|
|
1185
|
+
}, mr = {
|
|
1184
1186
|
narrow: ["1", "2", "3", "4"],
|
|
1185
1187
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
1186
1188
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
1187
|
-
},
|
|
1189
|
+
}, gr = {
|
|
1188
1190
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
1189
1191
|
abbreviated: [
|
|
1190
1192
|
"Jan",
|
|
@@ -1308,12 +1310,12 @@ const vr = {
|
|
|
1308
1310
|
defaultWidth: "wide"
|
|
1309
1311
|
}),
|
|
1310
1312
|
quarter: Qe({
|
|
1311
|
-
values:
|
|
1313
|
+
values: mr,
|
|
1312
1314
|
defaultWidth: "wide",
|
|
1313
1315
|
argumentCallback: (e) => e - 1
|
|
1314
1316
|
}),
|
|
1315
1317
|
month: Qe({
|
|
1316
|
-
values:
|
|
1318
|
+
values: gr,
|
|
1317
1319
|
defaultWidth: "wide"
|
|
1318
1320
|
}),
|
|
1319
1321
|
day: Qe({
|
|
@@ -1493,16 +1495,16 @@ function Vr(e, t) {
|
|
|
1493
1495
|
}
|
|
1494
1496
|
function Bt(e, t) {
|
|
1495
1497
|
var d, f, b, I;
|
|
1496
|
-
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A =
|
|
1498
|
+
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A = me((t == null ? void 0 : t.in) || e, 0);
|
|
1497
1499
|
A.setFullYear(n + 1, 0, i), A.setHours(0, 0, 0, 0);
|
|
1498
|
-
const o = ze(A, t), l =
|
|
1500
|
+
const o = ze(A, t), l = me((t == null ? void 0 : t.in) || e, 0);
|
|
1499
1501
|
l.setFullYear(n, 0, i), l.setHours(0, 0, 0, 0);
|
|
1500
1502
|
const c = ze(l, t);
|
|
1501
1503
|
return +a >= +o ? n + 1 : +a >= +c ? n : n - 1;
|
|
1502
1504
|
}
|
|
1503
1505
|
function Ur(e, t) {
|
|
1504
1506
|
var o, l, c, d;
|
|
1505
|
-
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (o = t == null ? void 0 : t.locale) == null ? void 0 : o.options) == null ? void 0 : l.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Bt(e, t), i =
|
|
1507
|
+
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (o = t == null ? void 0 : t.locale) == null ? void 0 : o.options) == null ? void 0 : l.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Bt(e, t), i = me((t == null ? void 0 : t.in) || e, 0);
|
|
1506
1508
|
return i.setFullYear(r, 0, n), i.setHours(0, 0, 0, 0), ze(i, t);
|
|
1507
1509
|
}
|
|
1508
1510
|
function Xr(e, t) {
|
|
@@ -1574,7 +1576,7 @@ const fe = {
|
|
|
1574
1576
|
afternoon: "afternoon",
|
|
1575
1577
|
evening: "evening",
|
|
1576
1578
|
night: "night"
|
|
1577
|
-
},
|
|
1579
|
+
}, gt = {
|
|
1578
1580
|
// Era
|
|
1579
1581
|
G: function(e, t, a) {
|
|
1580
1582
|
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -2209,26 +2211,26 @@ function nA(e, t, a) {
|
|
|
2209
2211
|
const n = Fe(), r = n.locale ?? Pr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, A = n.weekStartsOn ?? ((I = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : I.weekStartsOn) ?? 0, o = le(e, a == null ? void 0 : a.in);
|
|
2210
2212
|
if (!jt(o))
|
|
2211
2213
|
throw new RangeError("Invalid time value");
|
|
2212
|
-
let l = t.match($r).map((
|
|
2213
|
-
const C =
|
|
2214
|
+
let l = t.match($r).map((m) => {
|
|
2215
|
+
const C = m[0];
|
|
2214
2216
|
if (C === "p" || C === "P") {
|
|
2215
2217
|
const M = Zr[C];
|
|
2216
|
-
return M(
|
|
2218
|
+
return M(m, r.formatLong);
|
|
2217
2219
|
}
|
|
2218
|
-
return
|
|
2219
|
-
}).join("").match(_r).map((
|
|
2220
|
-
if (
|
|
2220
|
+
return m;
|
|
2221
|
+
}).join("").match(_r).map((m) => {
|
|
2222
|
+
if (m === "''")
|
|
2221
2223
|
return { isToken: !1, value: "'" };
|
|
2222
|
-
const C =
|
|
2224
|
+
const C = m[0];
|
|
2223
2225
|
if (C === "'")
|
|
2224
|
-
return { isToken: !1, value: rA(
|
|
2225
|
-
if (
|
|
2226
|
-
return { isToken: !0, value:
|
|
2226
|
+
return { isToken: !1, value: rA(m) };
|
|
2227
|
+
if (gt[C])
|
|
2228
|
+
return { isToken: !0, value: m };
|
|
2227
2229
|
if (C.match(aA))
|
|
2228
2230
|
throw new RangeError(
|
|
2229
2231
|
"Format string contains an unescaped latin alphabet character `" + C + "`"
|
|
2230
2232
|
);
|
|
2231
|
-
return { isToken: !1, value:
|
|
2233
|
+
return { isToken: !1, value: m };
|
|
2232
2234
|
});
|
|
2233
2235
|
r.localize.preprocessor && (l = r.localize.preprocessor(o, l));
|
|
2234
2236
|
const c = {
|
|
@@ -2236,11 +2238,11 @@ function nA(e, t, a) {
|
|
|
2236
2238
|
weekStartsOn: A,
|
|
2237
2239
|
locale: r
|
|
2238
2240
|
};
|
|
2239
|
-
return l.map((
|
|
2240
|
-
if (!
|
|
2241
|
-
const C =
|
|
2241
|
+
return l.map((m) => {
|
|
2242
|
+
if (!m.isToken) return m.value;
|
|
2243
|
+
const C = m.value;
|
|
2242
2244
|
(Kr(C) || Fr(C)) && Gr(C, t, String(e));
|
|
2243
|
-
const M =
|
|
2245
|
+
const M = gt[C[0]];
|
|
2244
2246
|
return M(o, C, r.localize, c);
|
|
2245
2247
|
}).join("");
|
|
2246
2248
|
}
|
|
@@ -2292,11 +2294,11 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2292
2294
|
if (!(a.type !== "date" && a.type !== "datetime-local" || b === void 0 || !jt(b)))
|
|
2293
2295
|
return nA(b, "yyyy-MM-dd");
|
|
2294
2296
|
}
|
|
2295
|
-
return (b, I) => (u(),
|
|
2297
|
+
return (b, I) => (u(), g("div", {
|
|
2296
2298
|
class: F(["av-input", { "av-input--date": e.type === "date" }])
|
|
2297
2299
|
}, [
|
|
2298
2300
|
y("div", AA, [
|
|
2299
|
-
e.prefixIcon ? (u(),
|
|
2301
|
+
e.prefixIcon ? (u(), g("div", iA, [
|
|
2300
2302
|
P(ae, {
|
|
2301
2303
|
name: e.prefixIcon,
|
|
2302
2304
|
size: 1.2
|
|
@@ -2323,7 +2325,7 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2323
2325
|
}, b.$attrs, {
|
|
2324
2326
|
max: s(d),
|
|
2325
2327
|
min: s(c),
|
|
2326
|
-
"onUpdate:modelValue": I[0] || (I[0] = (
|
|
2328
|
+
"onUpdate:modelValue": I[0] || (I[0] = (m) => n("update:modelValue", m))
|
|
2327
2329
|
}), Le({ _: 2 }, [
|
|
2328
2330
|
r.requiredTip ? {
|
|
2329
2331
|
name: "required-tip",
|
|
@@ -2337,23 +2339,23 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2337
2339
|
currentValue: e.modelValue,
|
|
2338
2340
|
maxlength: e.maxlength
|
|
2339
2341
|
}, () => {
|
|
2340
|
-
var
|
|
2342
|
+
var m;
|
|
2341
2343
|
return [
|
|
2342
|
-
e.maxlength ? (u(),
|
|
2344
|
+
e.maxlength ? (u(), g("span", oA, Z((m = e.modelValue) == null ? void 0 : m.toString().length) + " / " + Z(e.maxlength), 1)) : O("", !0)
|
|
2343
2345
|
];
|
|
2344
2346
|
}, !0)
|
|
2345
2347
|
]),
|
|
2346
|
-
s(i).length > 0 ? (u(),
|
|
2347
|
-
(u(!0),
|
|
2348
|
+
s(i).length > 0 ? (u(), g("div", lA, [
|
|
2349
|
+
(u(!0), g(_, null, ne(s(i), (m, C) => (u(), g("div", {
|
|
2348
2350
|
key: C,
|
|
2349
2351
|
class: "av-input__error-message"
|
|
2350
|
-
}, Z(
|
|
2352
|
+
}, Z(m), 1))), 128))
|
|
2351
2353
|
])) : O("", !0),
|
|
2352
|
-
s(A).length > 0 ? (u(),
|
|
2353
|
-
(u(!0),
|
|
2354
|
+
s(A).length > 0 ? (u(), g("div", sA, [
|
|
2355
|
+
(u(!0), g(_, null, ne(s(A), (m, C) => (u(), g("div", {
|
|
2354
2356
|
key: C,
|
|
2355
2357
|
class: "av-input__valid-message"
|
|
2356
|
-
}, Z(
|
|
2358
|
+
}, Z(m), 1))), 128))
|
|
2357
2359
|
])) : O("", !0)
|
|
2358
2360
|
], 2));
|
|
2359
2361
|
}
|
|
@@ -2384,7 +2386,7 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2384
2386
|
v718f62b9: r.borderColor
|
|
2385
2387
|
}));
|
|
2386
2388
|
const t = p(() => `av-list--${e.size}`), a = p(() => e.bordered ? "av-list--bordered" : ""), n = p(() => e.divided ? "av-list--divided" : "");
|
|
2387
|
-
return (r, i) => (u(),
|
|
2389
|
+
return (r, i) => (u(), g("div", {
|
|
2388
2390
|
class: F(["av-list", [s(t), s(a), s(n)]]),
|
|
2389
2391
|
role: e.role,
|
|
2390
2392
|
"aria-label": e.ariaLabel,
|
|
@@ -2399,10 +2401,10 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2399
2401
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
2400
2402
|
emits: ["click"],
|
|
2401
2403
|
template: `<div class="av-list-item-stub" @click="$emit('click')"><slot /></div>`
|
|
2402
|
-
}, vA = ["role"],
|
|
2404
|
+
}, vA = ["role"], mA = {
|
|
2403
2405
|
key: 0,
|
|
2404
2406
|
class: "av-list-item__icon"
|
|
2405
|
-
},
|
|
2407
|
+
}, gA = { class: "av-list-item__content" }, IA = {
|
|
2406
2408
|
key: 0,
|
|
2407
2409
|
class: "av-list-item__title"
|
|
2408
2410
|
}, hA = {
|
|
@@ -2456,7 +2458,7 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2456
2458
|
}
|
|
2457
2459
|
}
|
|
2458
2460
|
const A = p(() => e.clickable ? "av-list-item--clickable" : ""), o = p(() => e.disabled ? "av-list-item--disabled" : ""), l = p(() => e.selected ? "av-list-item--selected" : "");
|
|
2459
|
-
return (c, d) => (u(),
|
|
2461
|
+
return (c, d) => (u(), g("div", { role: e.role }, [
|
|
2460
2462
|
(u(), x(ue(s(a)), {
|
|
2461
2463
|
class: F(["av-list-item", [s(A), s(o), s(l)]]),
|
|
2462
2464
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
@@ -2471,17 +2473,17 @@ const AA = { class: "av-input__wrapper" }, iA = {
|
|
|
2471
2473
|
onKeydown: i
|
|
2472
2474
|
}, {
|
|
2473
2475
|
default: Y(() => [
|
|
2474
|
-
e.icon ? (u(),
|
|
2476
|
+
e.icon ? (u(), g("div", mA, [
|
|
2475
2477
|
P(ae, {
|
|
2476
2478
|
name: e.icon,
|
|
2477
2479
|
color: e.iconColor ?? e.color,
|
|
2478
2480
|
size: e.iconSize
|
|
2479
2481
|
}, null, 8, ["name", "color", "size"])
|
|
2480
2482
|
])) : O("", !0),
|
|
2481
|
-
y("div",
|
|
2482
|
-
e.title ? (u(),
|
|
2483
|
-
e.description ? (u(),
|
|
2484
|
-
t.default ? (u(),
|
|
2483
|
+
y("div", gA, [
|
|
2484
|
+
e.title ? (u(), g("div", IA, Z(e.title), 1)) : O("", !0),
|
|
2485
|
+
e.description ? (u(), g("div", hA, Z(e.description), 1)) : O("", !0),
|
|
2486
|
+
t.default ? (u(), g("div", bA, [
|
|
2485
2487
|
B(c.$slots, "default", {}, void 0, !0)
|
|
2486
2488
|
])) : O("", !0)
|
|
2487
2489
|
])
|
|
@@ -2535,30 +2537,30 @@ const EA = { class: "av-select-container" }, MA = /* @__PURE__ */ S({
|
|
|
2535
2537
|
function I(C) {
|
|
2536
2538
|
return f(C) ? R.CHECK : void 0;
|
|
2537
2539
|
}
|
|
2538
|
-
function
|
|
2540
|
+
function m(C) {
|
|
2539
2541
|
return f(C) && !A;
|
|
2540
2542
|
}
|
|
2541
2543
|
return ce(() => t.selected, (C) => {
|
|
2542
2544
|
d.value = c(C);
|
|
2543
2545
|
}, { immediate: !0 }), (C, M) => {
|
|
2544
2546
|
const T = ua;
|
|
2545
|
-
return u(),
|
|
2546
|
-
s(a) ? (u(),
|
|
2547
|
+
return u(), g("div", EA, [
|
|
2548
|
+
s(a) ? (u(), g("span", {
|
|
2547
2549
|
key: 0,
|
|
2548
2550
|
class: F(["av-select-label", [s(r)]])
|
|
2549
2551
|
}, Z(s(a)), 3)) : O("", !0),
|
|
2550
|
-
(u(!0),
|
|
2552
|
+
(u(!0), g(_, null, ne(s(l), (Q) => (u(), g("div", {
|
|
2551
2553
|
key: Q.value,
|
|
2552
2554
|
class: "tag-wrapper"
|
|
2553
2555
|
}, [
|
|
2554
2556
|
P(T, {
|
|
2555
2557
|
class: F({
|
|
2556
2558
|
"fr-tag--selected": f(Q),
|
|
2557
|
-
"fr-tag--disabled":
|
|
2559
|
+
"fr-tag--disabled": m(Q)
|
|
2558
2560
|
}),
|
|
2559
2561
|
label: Q.label,
|
|
2560
2562
|
icon: I(Q),
|
|
2561
|
-
disabled:
|
|
2563
|
+
disabled: m(Q),
|
|
2562
2564
|
selectable: "",
|
|
2563
2565
|
selected: f(Q),
|
|
2564
2566
|
onSelect: () => b(Q)
|
|
@@ -2589,7 +2591,7 @@ const Sl = [
|
|
|
2589
2591
|
label: e.pageSizeSelected.toString(),
|
|
2590
2592
|
value: e.pageSizeSelected.toString()
|
|
2591
2593
|
}));
|
|
2592
|
-
return (n, r) => (u(),
|
|
2594
|
+
return (n, r) => (u(), g("div", NA, [
|
|
2593
2595
|
P(pA, {
|
|
2594
2596
|
options: s(t),
|
|
2595
2597
|
selected: s(a),
|
|
@@ -2665,13 +2667,13 @@ const Sl = [
|
|
|
2665
2667
|
d && r("update:modelValue", d);
|
|
2666
2668
|
}), t({ selected: c }), (d, f) => (u(), x(s(da), ee(n, { "model-value": s(c) }), {
|
|
2667
2669
|
default: Y(() => [
|
|
2668
|
-
(u(!0),
|
|
2669
|
-
var
|
|
2670
|
+
(u(!0), g(_, null, ne(s(l), (b, I) => {
|
|
2671
|
+
var m, C;
|
|
2670
2672
|
return u(), x(s(fa), {
|
|
2671
2673
|
key: I,
|
|
2672
2674
|
modelValue: s(c),
|
|
2673
2675
|
"onUpdate:modelValue": f[0] || (f[0] = (M) => rt(c) ? c.value = M : null),
|
|
2674
|
-
value: (
|
|
2676
|
+
value: (m = b.props) == null ? void 0 : m.value,
|
|
2675
2677
|
disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? n.disabled,
|
|
2676
2678
|
small: n.small,
|
|
2677
2679
|
inline: n.inline,
|
|
@@ -2754,11 +2756,11 @@ function kA(...e) {
|
|
|
2754
2756
|
a && (clearTimeout(a), a = void 0, r(), r = pe);
|
|
2755
2757
|
};
|
|
2756
2758
|
return (b) => {
|
|
2757
|
-
const I = te(A),
|
|
2758
|
-
return d(), I <= 0 ? (t = Date.now(), C()) : (
|
|
2759
|
+
const I = te(A), m = Date.now() - t, C = () => i = b();
|
|
2760
|
+
return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (l || !n) ? (t = Date.now(), C()) : o && (i = new Promise((M, T) => {
|
|
2759
2761
|
r = c ? T : M, a = setTimeout(() => {
|
|
2760
2762
|
t = Date.now(), n = !0, M(C()), d();
|
|
2761
|
-
}, Math.max(0, I -
|
|
2763
|
+
}, Math.max(0, I - m));
|
|
2762
2764
|
})), !l && !a && (a = setTimeout(() => n = !0, I)), n = !1, i);
|
|
2763
2765
|
};
|
|
2764
2766
|
}
|
|
@@ -2825,7 +2827,7 @@ function Ct(...e) {
|
|
|
2825
2827
|
t.push(
|
|
2826
2828
|
...o.flatMap(
|
|
2827
2829
|
(b) => l.flatMap(
|
|
2828
|
-
(I) => c.map((
|
|
2830
|
+
(I) => c.map((m) => n(b, I, m, f))
|
|
2829
2831
|
)
|
|
2830
2832
|
)
|
|
2831
2833
|
);
|
|
@@ -2898,7 +2900,7 @@ function XA(e, t = {}) {
|
|
|
2898
2900
|
}
|
|
2899
2901
|
} = t, b = typeof o == "boolean" ? {
|
|
2900
2902
|
mutation: o
|
|
2901
|
-
} : o, I = Pe(0),
|
|
2903
|
+
} : o, I = Pe(0), m = Pe(0), C = p({
|
|
2902
2904
|
get() {
|
|
2903
2905
|
return I.value;
|
|
2904
2906
|
},
|
|
@@ -2907,7 +2909,7 @@ function XA(e, t = {}) {
|
|
|
2907
2909
|
}
|
|
2908
2910
|
}), M = p({
|
|
2909
2911
|
get() {
|
|
2910
|
-
return
|
|
2912
|
+
return m.value;
|
|
2911
2913
|
},
|
|
2912
2914
|
set(w) {
|
|
2913
2915
|
T(void 0, w);
|
|
@@ -2926,7 +2928,7 @@ function XA(e, t = {}) {
|
|
|
2926
2928
|
behavior: te(c)
|
|
2927
2929
|
});
|
|
2928
2930
|
const k = ((h = N == null ? void 0 : N.document) == null ? void 0 : h.documentElement) || (N == null ? void 0 : N.documentElement) || N;
|
|
2929
|
-
C != null && (I.value = k.scrollLeft), M != null && (
|
|
2931
|
+
C != null && (I.value = k.scrollLeft), M != null && (m.value = k.scrollTop);
|
|
2930
2932
|
}
|
|
2931
2933
|
const Q = Pe(!1), E = ut({
|
|
2932
2934
|
left: !0,
|
|
@@ -2949,9 +2951,9 @@ function XA(e, t = {}) {
|
|
|
2949
2951
|
const U = Math.abs(k * N) <= (A.left || 0), q = Math.abs(k * N) + $.clientWidth >= $.scrollWidth - (A.right || 0) - yt;
|
|
2950
2952
|
X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = k;
|
|
2951
2953
|
let L = $.scrollTop;
|
|
2952
|
-
w === d.document && !L && (L = d.document.body.scrollTop), D.top = L <
|
|
2954
|
+
w === d.document && !L && (L = d.document.body.scrollTop), D.top = L < m.value, D.bottom = L > m.value;
|
|
2953
2955
|
const K = Math.abs(L) <= (A.top || 0), G = Math.abs(L) + $.clientHeight >= $.scrollHeight - (A.bottom || 0) - yt;
|
|
2954
|
-
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G),
|
|
2956
|
+
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = L;
|
|
2955
2957
|
}, Ae = (w) => {
|
|
2956
2958
|
var oe;
|
|
2957
2959
|
if (!d)
|
|
@@ -3069,7 +3071,7 @@ function Rt(e, t, a) {
|
|
|
3069
3071
|
var z = n, Ae = r;
|
|
3070
3072
|
return n = r = void 0, c = W, A = e.apply(Ae, z), A;
|
|
3071
3073
|
}
|
|
3072
|
-
function
|
|
3074
|
+
function m(W) {
|
|
3073
3075
|
return c = W, o = setTimeout(T, t), d ? I(W) : A;
|
|
3074
3076
|
}
|
|
3075
3077
|
function C(W) {
|
|
@@ -3099,7 +3101,7 @@ function Rt(e, t, a) {
|
|
|
3099
3101
|
var W = _e(), z = M(W);
|
|
3100
3102
|
if (n = arguments, r = this, l = W, z) {
|
|
3101
3103
|
if (o === void 0)
|
|
3102
|
-
return
|
|
3104
|
+
return m(l);
|
|
3103
3105
|
if (f)
|
|
3104
3106
|
return clearTimeout(o), o = setTimeout(T, t), I(l);
|
|
3105
3107
|
}
|
|
@@ -3110,10 +3112,10 @@ function Rt(e, t, a) {
|
|
|
3110
3112
|
const vi = {
|
|
3111
3113
|
key: 0,
|
|
3112
3114
|
class: "av-autocomplete-dropdown__loading"
|
|
3113
|
-
},
|
|
3115
|
+
}, mi = {
|
|
3114
3116
|
key: 1,
|
|
3115
3117
|
class: "av-autocomplete-dropdown__empty"
|
|
3116
|
-
},
|
|
3118
|
+
}, gi = {
|
|
3117
3119
|
key: 1,
|
|
3118
3120
|
class: "av-autocomplete-dropdown__empty-text"
|
|
3119
3121
|
}, Ii = /* @__PURE__ */ S({
|
|
@@ -3139,7 +3141,7 @@ const vi = {
|
|
|
3139
3141
|
}
|
|
3140
3142
|
let D;
|
|
3141
3143
|
return l.filterOptions ? D = l.filterOptions(l.options, E) : D = l.options.filter((j) => d(j).toLowerCase().includes(E)), l.maxResults ? D.slice(0, l.maxResults) : D;
|
|
3142
|
-
}),
|
|
3144
|
+
}), m = p(() => l.loading ? Me.LOADING : o.value && l.options && l.options.length > 0 && I.value.length > 0 ? Me.HAS_OPTIONS : Me.NO_OPTIONS);
|
|
3143
3145
|
function C(E) {
|
|
3144
3146
|
return i.value.some(
|
|
3145
3147
|
(D) => c(D) === c(E)
|
|
@@ -3168,22 +3170,22 @@ const vi = {
|
|
|
3168
3170
|
Q.cancel();
|
|
3169
3171
|
}), t({
|
|
3170
3172
|
dropdownRef: f
|
|
3171
|
-
}), (E, D) => s(o) ? (u(),
|
|
3173
|
+
}), (E, D) => s(o) ? (u(), g("div", {
|
|
3172
3174
|
key: 0,
|
|
3173
3175
|
ref_key: "dropdownRef",
|
|
3174
3176
|
ref: f,
|
|
3175
3177
|
class: F(["av-autocomplete-dropdown", s(l).dropdownClass]),
|
|
3176
3178
|
style: Ve({ width: s(l).dropdownWidth, maxHeight: s(l).maxDropdownHeight })
|
|
3177
3179
|
}, [
|
|
3178
|
-
s(
|
|
3180
|
+
s(m) === s(Me).LOADING ? (u(), g("div", vi, [
|
|
3179
3181
|
P(ae, {
|
|
3180
3182
|
name: s(R).LOADING_OUTLINE,
|
|
3181
3183
|
size: 1.5,
|
|
3182
3184
|
class: "av-autocomplete-dropdown__spinner"
|
|
3183
3185
|
}, null, 8, ["name"]),
|
|
3184
3186
|
D[0] || (D[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
3185
|
-
])) : s(
|
|
3186
|
-
r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(),
|
|
3187
|
+
])) : s(m) === s(Me).NO_OPTIONS ? (u(), g("div", mi, [
|
|
3188
|
+
r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", gi, " No results found "))
|
|
3187
3189
|
])) : (u(), x(Wt, ee({
|
|
3188
3190
|
key: 2,
|
|
3189
3191
|
ref_key: "listRef",
|
|
@@ -3192,7 +3194,7 @@ const vi = {
|
|
|
3192
3194
|
class: ["av-autocomplete-dropdown__options", s(l).scrollbarClass]
|
|
3193
3195
|
}), {
|
|
3194
3196
|
default: Y(() => [
|
|
3195
|
-
(u(!0),
|
|
3197
|
+
(u(!0), g(_, null, ne(s(I), (j) => (u(), g(_, {
|
|
3196
3198
|
key: s(c)(j)
|
|
3197
3199
|
}, [
|
|
3198
3200
|
r.item ? B(E.$slots, "item", {
|
|
@@ -3231,7 +3233,7 @@ const vi = {
|
|
|
3231
3233
|
inputId: c,
|
|
3232
3234
|
handleBlur: d,
|
|
3233
3235
|
getDisplayLabel: f
|
|
3234
|
-
} = ot(), b = J(), I = p(() => !l.multiSelect && i.value.length > 0 ? f(i.value[0]) : l.multiSelect && i.value.length > 0 ? l.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : A.value),
|
|
3236
|
+
} = ot(), b = J(), I = p(() => !l.multiSelect && i.value.length > 0 ? f(i.value[0]) : l.multiSelect && i.value.length > 0 ? l.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : A.value), m = p(() => {
|
|
3235
3237
|
var E;
|
|
3236
3238
|
return ((E = l.inputOptions) == null ? void 0 : E.placeholder) || "Search...";
|
|
3237
3239
|
}), C = Rt((E) => {
|
|
@@ -3251,13 +3253,13 @@ const vi = {
|
|
|
3251
3253
|
}), t({
|
|
3252
3254
|
inputRef: b,
|
|
3253
3255
|
searchQuery: p(() => A.value)
|
|
3254
|
-
}), (E, D) => (u(),
|
|
3256
|
+
}), (E, D) => (u(), g("div", bi, [
|
|
3255
3257
|
P(uA, ee({
|
|
3256
3258
|
id: s(c),
|
|
3257
3259
|
ref_key: "inputRef",
|
|
3258
3260
|
ref: b,
|
|
3259
3261
|
"model-value": s(I),
|
|
3260
|
-
placeholder: s(
|
|
3262
|
+
placeholder: s(m)
|
|
3261
3263
|
}, s(l).inputOptions, {
|
|
3262
3264
|
"onUpdate:modelValue": M,
|
|
3263
3265
|
onFocus: T,
|
|
@@ -3272,7 +3274,7 @@ const vi = {
|
|
|
3272
3274
|
key: "0"
|
|
3273
3275
|
} : void 0
|
|
3274
3276
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
3275
|
-
s(i).length > 0 ? (u(),
|
|
3277
|
+
s(i).length > 0 ? (u(), g("div", Ci, [
|
|
3276
3278
|
P(Ce, {
|
|
3277
3279
|
label: "Clear selected items",
|
|
3278
3280
|
icon: s(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -3304,8 +3306,8 @@ const vi = {
|
|
|
3304
3306
|
(d) => r(d) !== c
|
|
3305
3307
|
);
|
|
3306
3308
|
}
|
|
3307
|
-
return (o, l) => s(n).multiSelect && s(a).length > 0 && s(n).showSelectedSection ? (u(),
|
|
3308
|
-
(u(!0),
|
|
3309
|
+
return (o, l) => s(n).multiSelect && s(a).length > 0 && s(n).showSelectedSection ? (u(), g("div", Mi, [
|
|
3310
|
+
(u(!0), g(_, null, ne(s(a), (c) => (u(), g("div", {
|
|
3309
3311
|
key: s(r)(c),
|
|
3310
3312
|
class: "av-autocomplete-selected-tags__item"
|
|
3311
3313
|
}, [
|
|
@@ -3368,7 +3370,7 @@ const vi = {
|
|
|
3368
3370
|
A.value = !1;
|
|
3369
3371
|
}, a.blurCloseDelay);
|
|
3370
3372
|
}
|
|
3371
|
-
function
|
|
3373
|
+
function m(Q) {
|
|
3372
3374
|
return a.getOptionKey ? a.getOptionKey(Q) : Q.value;
|
|
3373
3375
|
}
|
|
3374
3376
|
function C(Q) {
|
|
@@ -3381,7 +3383,7 @@ const vi = {
|
|
|
3381
3383
|
props: a,
|
|
3382
3384
|
inputId: f,
|
|
3383
3385
|
handleBlur: I,
|
|
3384
|
-
getOptionId:
|
|
3386
|
+
getOptionId: m,
|
|
3385
3387
|
getDisplayLabel: C
|
|
3386
3388
|
});
|
|
3387
3389
|
function T(Q) {
|
|
@@ -3393,7 +3395,7 @@ const vi = {
|
|
|
3393
3395
|
document.addEventListener("click", T);
|
|
3394
3396
|
}), je(() => {
|
|
3395
3397
|
document.removeEventListener("click", T);
|
|
3396
|
-
}), (Q, E) => (u(),
|
|
3398
|
+
}), (Q, E) => (u(), g("div", Ti, [
|
|
3397
3399
|
y("div", {
|
|
3398
3400
|
ref_key: "wrapperRef",
|
|
3399
3401
|
ref: l,
|
|
@@ -3500,13 +3502,13 @@ const vi = {
|
|
|
3500
3502
|
function d(f) {
|
|
3501
3503
|
var I;
|
|
3502
3504
|
const b = ((I = a.options) == null ? void 0 : I.filter(
|
|
3503
|
-
(
|
|
3505
|
+
(m) => f.includes(m.value)
|
|
3504
3506
|
)) ?? [];
|
|
3505
3507
|
n("update:modelValue", b);
|
|
3506
3508
|
}
|
|
3507
3509
|
return (f, b) => {
|
|
3508
3510
|
const I = ae;
|
|
3509
|
-
return u(),
|
|
3511
|
+
return u(), g("div", {
|
|
3510
3512
|
class: F({ "fr-multiselect--dense": a.dense })
|
|
3511
3513
|
}, [
|
|
3512
3514
|
P(s(va), ee(a, {
|
|
@@ -3515,26 +3517,26 @@ const vi = {
|
|
|
3515
3517
|
"button-label": s(i),
|
|
3516
3518
|
"id-key": "value",
|
|
3517
3519
|
"filtering-keys": ["label"],
|
|
3518
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
3520
|
+
"onUpdate:modelValue": b[0] || (b[0] = (m) => d(m))
|
|
3519
3521
|
}), {
|
|
3520
|
-
"checkbox-label": Y(({ option:
|
|
3522
|
+
"checkbox-label": Y(({ option: m }) => [
|
|
3521
3523
|
y("div", Di, [
|
|
3522
3524
|
P(I, {
|
|
3523
3525
|
class: "option-checkbox",
|
|
3524
|
-
name: o(
|
|
3525
|
-
color: l(
|
|
3526
|
+
name: o(m),
|
|
3527
|
+
color: l(m),
|
|
3526
3528
|
size: 1.5
|
|
3527
3529
|
}, null, 8, ["name", "color"]),
|
|
3528
|
-
|
|
3530
|
+
m.icon ? (u(), x(I, {
|
|
3529
3531
|
key: 0,
|
|
3530
3532
|
class: "option-icon",
|
|
3531
|
-
name:
|
|
3532
|
-
color: l(
|
|
3533
|
+
name: m.icon,
|
|
3534
|
+
color: l(m),
|
|
3533
3535
|
size: 1.5
|
|
3534
3536
|
}, null, 8, ["name", "color"])) : O("", !0),
|
|
3535
3537
|
y("span", {
|
|
3536
|
-
class: F(c(
|
|
3537
|
-
}, Z(
|
|
3538
|
+
class: F(c(m))
|
|
3539
|
+
}, Z(m.label), 3)
|
|
3538
3540
|
])
|
|
3539
3541
|
]),
|
|
3540
3542
|
_: 1
|
|
@@ -3591,10 +3593,10 @@ const vi = {
|
|
|
3591
3593
|
const i = (A = a.options) == null ? void 0 : A.find((o) => String(o.value) === String(a.modelValue));
|
|
3592
3594
|
return i ? i.text : a.defaultUnselectedText;
|
|
3593
3595
|
});
|
|
3594
|
-
return (i, A) => (u(),
|
|
3596
|
+
return (i, A) => (u(), g("div", {
|
|
3595
3597
|
class: F({ "fr-select--dense": a.dense })
|
|
3596
3598
|
}, [
|
|
3597
|
-
P(s(
|
|
3599
|
+
P(s(ma), ee(a, {
|
|
3598
3600
|
title: s(r),
|
|
3599
3601
|
"onUpdate:modelValue": A[0] || (A[0] = (o) => n("update:modelValue", o))
|
|
3600
3602
|
}), null, 16, ["title"])
|
|
@@ -3643,7 +3645,7 @@ const vi = {
|
|
|
3643
3645
|
}), ce(i, (b) => {
|
|
3644
3646
|
n("update:modelValue", b);
|
|
3645
3647
|
}), t({ activeTab: i }), (b, I) => {
|
|
3646
|
-
const
|
|
3648
|
+
const m = ha, C = Ia, M = ga;
|
|
3647
3649
|
return u(), x(M, {
|
|
3648
3650
|
modelValue: s(i),
|
|
3649
3651
|
"onUpdate:modelValue": I[0] || (I[0] = (T) => rt(i) ? i.value = T : null),
|
|
@@ -3652,9 +3654,9 @@ const vi = {
|
|
|
3652
3654
|
"tab-titles": []
|
|
3653
3655
|
}, {
|
|
3654
3656
|
"tab-items": Y(() => [
|
|
3655
|
-
(u(!0),
|
|
3657
|
+
(u(!0), g(_, null, ne(s(A), (T, Q) => {
|
|
3656
3658
|
var E;
|
|
3657
|
-
return u(), x(
|
|
3659
|
+
return u(), x(m, {
|
|
3658
3660
|
key: Q,
|
|
3659
3661
|
class: F({ compact: e.compact }),
|
|
3660
3662
|
"tab-id": `tab-${Q}`,
|
|
@@ -3677,7 +3679,7 @@ const vi = {
|
|
|
3677
3679
|
}), 128))
|
|
3678
3680
|
]),
|
|
3679
3681
|
default: Y(() => [
|
|
3680
|
-
(u(!0),
|
|
3682
|
+
(u(!0), g(_, null, ne(s(A), (T, Q) => (u(), x(C, {
|
|
3681
3683
|
key: Q,
|
|
3682
3684
|
"panel-id": `panel-${Q}`,
|
|
3683
3685
|
"tab-id": `tab-${Q}`
|
|
@@ -3715,7 +3717,7 @@ const vi = {
|
|
|
3715
3717
|
emits: ["update:modelValue"],
|
|
3716
3718
|
setup(e) {
|
|
3717
3719
|
const t = e, a = p(() => t.id ?? crypto.randomUUID()), n = p(() => `${a.value}-label`);
|
|
3718
|
-
return (r, i) => (u(),
|
|
3720
|
+
return (r, i) => (u(), g(_, null, [
|
|
3719
3721
|
y("label", {
|
|
3720
3722
|
id: s(n),
|
|
3721
3723
|
for: s(a),
|
|
@@ -3728,14 +3730,14 @@ const vi = {
|
|
|
3728
3730
|
"toggle--disabled": e.disabled
|
|
3729
3731
|
}])
|
|
3730
3732
|
}, [
|
|
3731
|
-
(u(),
|
|
3733
|
+
(u(), g("svg", xi, [
|
|
3732
3734
|
y("image", {
|
|
3733
3735
|
href: e.modelValue ? s(Si) : s(ki),
|
|
3734
3736
|
width: "34",
|
|
3735
3737
|
height: "14"
|
|
3736
3738
|
}, null, 8, ji)
|
|
3737
3739
|
])),
|
|
3738
|
-
e.modelValue ? (u(),
|
|
3740
|
+
e.modelValue ? (u(), g("span", Bi, Z(e.activeText), 1)) : (u(), g("span", Pi, Z(e.inactiveText), 1))
|
|
3739
3741
|
], 2),
|
|
3740
3742
|
y("span", Wi, Z(e.description), 1)
|
|
3741
3743
|
], 10, zi),
|
|
@@ -3765,7 +3767,7 @@ const vi = {
|
|
|
3765
3767
|
const t = e;
|
|
3766
3768
|
return (a, n) => {
|
|
3767
3769
|
const r = ba;
|
|
3768
|
-
return u(),
|
|
3770
|
+
return u(), g("div", Xi, [
|
|
3769
3771
|
P(r, Qa(Da(t)), null, 16)
|
|
3770
3772
|
]);
|
|
3771
3773
|
};
|
|
@@ -3793,25 +3795,25 @@ const vi = {
|
|
|
3793
3795
|
emits: ["update:current-page"],
|
|
3794
3796
|
setup(e, { emit: t }) {
|
|
3795
3797
|
const a = t, n = p(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), r = p(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), i = p(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, r.value + 1) : e.pages), A = (I) => a("update:current-page", I), o = (I) => A(I), l = () => o(0), c = () => o(Math.max(0, e.currentPage - 1)), d = () => o(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => o(e.pages.length - 1), b = (I) => e.pages.indexOf(I) === e.currentPage;
|
|
3796
|
-
return (I,
|
|
3798
|
+
return (I, m) => {
|
|
3797
3799
|
var C, M, T, Q;
|
|
3798
|
-
return u(),
|
|
3800
|
+
return u(), g("nav", {
|
|
3799
3801
|
role: "navigation",
|
|
3800
3802
|
class: "fr-pagination",
|
|
3801
3803
|
"aria-label": e.ariaLabel
|
|
3802
3804
|
}, [
|
|
3803
3805
|
y("ul", qi, [
|
|
3804
|
-
e.compact && e.compactCurrentPageLabel ? (u(),
|
|
3806
|
+
e.compact && e.compactCurrentPageLabel ? (u(), g("li", Yi, [
|
|
3805
3807
|
y("span", Ri, Z(e.compactCurrentPageLabel), 1)
|
|
3806
3808
|
])) : O("", !0),
|
|
3807
3809
|
y("li", null, [
|
|
3808
|
-
e.compact ? O("", !0) : (u(),
|
|
3810
|
+
e.compact ? O("", !0) : (u(), g("a", {
|
|
3809
3811
|
key: 0,
|
|
3810
3812
|
href: (C = e.pages[0]) == null ? void 0 : C.href,
|
|
3811
3813
|
class: "fr-pagination__link",
|
|
3812
3814
|
title: e.firstPageLabel,
|
|
3813
3815
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
3814
|
-
onClick:
|
|
3816
|
+
onClick: m[0] || (m[0] = se((E) => l(), ["prevent"]))
|
|
3815
3817
|
}, [
|
|
3816
3818
|
P(ae, {
|
|
3817
3819
|
name: s(R).PAGE_FIRST,
|
|
@@ -3827,17 +3829,17 @@ const vi = {
|
|
|
3827
3829
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
3828
3830
|
title: e.prevPageLabel,
|
|
3829
3831
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
3830
|
-
onClick:
|
|
3832
|
+
onClick: m[1] || (m[1] = se((E) => c(), ["prevent"]))
|
|
3831
3833
|
}, [
|
|
3832
3834
|
P(ae, {
|
|
3833
3835
|
name: s(R).NAVIGATE_BEFORE,
|
|
3834
3836
|
size: 1.5,
|
|
3835
3837
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3836
3838
|
}, null, 8, ["name", "color"]),
|
|
3837
|
-
e.compact ? O("", !0) : (u(),
|
|
3839
|
+
e.compact ? O("", !0) : (u(), g("span", Ji, Z(e.prevPageLabel), 1))
|
|
3838
3840
|
], 8, Gi)
|
|
3839
3841
|
]),
|
|
3840
|
-
e.compact ? O("", !0) : (u(!0),
|
|
3842
|
+
e.compact ? O("", !0) : (u(!0), g(_, { key: 1 }, ne(s(i), (E, D) => (u(), g("li", { key: D }, [
|
|
3841
3843
|
y("a", {
|
|
3842
3844
|
href: E == null ? void 0 : E.href,
|
|
3843
3845
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
@@ -3845,9 +3847,9 @@ const vi = {
|
|
|
3845
3847
|
"aria-current": b(E) ? "page" : void 0,
|
|
3846
3848
|
onClick: se((j) => o(e.pages.indexOf(E)), ["prevent"])
|
|
3847
3849
|
}, [
|
|
3848
|
-
s(i).indexOf(E) === 0 && s(n) > 0 ? (u(),
|
|
3850
|
+
s(i).indexOf(E) === 0 && s(n) > 0 ? (u(), g("span", $i, "...")) : O("", !0),
|
|
3849
3851
|
nt(" " + Z(E.label) + " ", 1),
|
|
3850
|
-
s(i).indexOf(E) === s(i).length - 1 && s(r) < e.pages.length - 1 ? (u(),
|
|
3852
|
+
s(i).indexOf(E) === s(i).length - 1 && s(r) < e.pages.length - 1 ? (u(), g("span", eo, "...")) : O("", !0)
|
|
3851
3853
|
], 8, _i)
|
|
3852
3854
|
]))), 128)),
|
|
3853
3855
|
y("li", null, [
|
|
@@ -3857,9 +3859,9 @@ const vi = {
|
|
|
3857
3859
|
title: e.nextPageLabel,
|
|
3858
3860
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3859
3861
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3860
|
-
onClick:
|
|
3862
|
+
onClick: m[2] || (m[2] = se((E) => d(), ["prevent"]))
|
|
3861
3863
|
}, [
|
|
3862
|
-
e.compact ? O("", !0) : (u(),
|
|
3864
|
+
e.compact ? O("", !0) : (u(), g("span", ao, Z(e.nextPageLabel), 1)),
|
|
3863
3865
|
P(ae, {
|
|
3864
3866
|
name: s(R).NAVIGATE_NEXT,
|
|
3865
3867
|
size: 1.5,
|
|
@@ -3868,14 +3870,14 @@ const vi = {
|
|
|
3868
3870
|
], 8, to)
|
|
3869
3871
|
]),
|
|
3870
3872
|
y("li", null, [
|
|
3871
|
-
e.compact ? O("", !0) : (u(),
|
|
3873
|
+
e.compact ? O("", !0) : (u(), g("a", {
|
|
3872
3874
|
key: 0,
|
|
3873
3875
|
class: "fr-pagination__link",
|
|
3874
3876
|
href: (Q = e.pages.at(-1)) == null ? void 0 : Q.href,
|
|
3875
3877
|
title: e.lastPageLabel,
|
|
3876
3878
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3877
3879
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3878
|
-
onClick:
|
|
3880
|
+
onClick: m[3] || (m[3] = se((E) => f(), ["prevent"]))
|
|
3879
3881
|
}, [
|
|
3880
3882
|
y("span", ro, Z(e.lastPageLabel), 1),
|
|
3881
3883
|
P(ae, {
|
|
@@ -3931,12 +3933,12 @@ const io = ["id", "aria-label"], oo = {
|
|
|
3931
3933
|
function c() {
|
|
3932
3934
|
t.collapsible && (o.value = !o.value);
|
|
3933
3935
|
}
|
|
3934
|
-
return (d, f) => (u(),
|
|
3936
|
+
return (d, f) => (u(), g("nav", {
|
|
3935
3937
|
id: s(i),
|
|
3936
3938
|
class: F(["av-side-menu", { "av-side-menu--collapsed": s(o) }]),
|
|
3937
3939
|
"aria-label": s(A)
|
|
3938
3940
|
}, [
|
|
3939
|
-
t.collapsible ? (u(),
|
|
3941
|
+
t.collapsible ? (u(), g("div", oo, [
|
|
3940
3942
|
P(Ce, {
|
|
3941
3943
|
"aria-expanded": !s(o),
|
|
3942
3944
|
"aria-controls": s(i),
|
|
@@ -3996,7 +3998,7 @@ const io = ["id", "aria-label"], oo = {
|
|
|
3996
3998
|
role: "menu"
|
|
3997
3999
|
}, {
|
|
3998
4000
|
default: Y(() => [
|
|
3999
|
-
(u(!0),
|
|
4001
|
+
(u(!0), g(_, null, ne(e.items, (A) => (u(), x(s(Vt), {
|
|
4000
4002
|
key: A.id,
|
|
4001
4003
|
title: a.value ? void 0 : A.label,
|
|
4002
4004
|
icon: A.icon,
|
|
@@ -4042,7 +4044,7 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4042
4044
|
</div>
|
|
4043
4045
|
</div>
|
|
4044
4046
|
`
|
|
4045
|
-
}, fo = { class: "custom-width-container" }, vo = { class: "block-container" },
|
|
4047
|
+
}, fo = { class: "custom-width-container" }, vo = { class: "block-container" }, mo = { class: "main-container" }, go = ["aria-current"], Io = ["aria-current"], ho = { class: "b1-regular" }, bo = { class: "main-labels-container" }, Co = /* @__PURE__ */ S({
|
|
4046
4048
|
__name: "AvStepper",
|
|
4047
4049
|
props: {
|
|
4048
4050
|
steps: {},
|
|
@@ -4054,16 +4056,16 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4054
4056
|
v06d1bdf1: s(r)
|
|
4055
4057
|
}));
|
|
4056
4058
|
const t = e, { steps: a, currentStep: n, width: r } = At(t);
|
|
4057
|
-
return (i, A) => (u(),
|
|
4059
|
+
return (i, A) => (u(), g("div", fo, [
|
|
4058
4060
|
y("div", vo, [
|
|
4059
|
-
y("div",
|
|
4061
|
+
y("div", mo, [
|
|
4060
4062
|
y("div", {
|
|
4061
4063
|
class: "step step--active",
|
|
4062
4064
|
"aria-current": s(n) === 0 ? "step" : void 0
|
|
4063
4065
|
}, [...A[0] || (A[0] = [
|
|
4064
4066
|
y("span", { class: "b1-regular" }, "1", -1)
|
|
4065
|
-
])], 8,
|
|
4066
|
-
(u(!0),
|
|
4067
|
+
])], 8, go),
|
|
4068
|
+
(u(!0), g(_, null, ne(s(a).slice(1, s(a).length), (o, l) => (u(), g("div", {
|
|
4067
4069
|
key: l,
|
|
4068
4070
|
class: "steps-container"
|
|
4069
4071
|
}, [
|
|
@@ -4079,7 +4081,7 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4079
4081
|
]))), 128))
|
|
4080
4082
|
]),
|
|
4081
4083
|
y("div", bo, [
|
|
4082
|
-
(u(!0),
|
|
4084
|
+
(u(!0), g(_, null, ne(s(a), (o, l) => (u(), g("div", {
|
|
4083
4085
|
key: l,
|
|
4084
4086
|
class: "label-container"
|
|
4085
4087
|
}, [
|
|
@@ -4122,8 +4124,8 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4122
4124
|
v7249d1b4: s(o)
|
|
4123
4125
|
}));
|
|
4124
4126
|
const a = e, n = t, r = ie(), { position: i, width: A, padding: o } = At(a);
|
|
4125
|
-
return (l, c) => e.show ? (u(),
|
|
4126
|
-
e.backdrop ? (u(),
|
|
4127
|
+
return (l, c) => e.show ? (u(), g("div", yo, [
|
|
4128
|
+
e.backdrop ? (u(), g("div", Eo)) : O("", !0),
|
|
4127
4129
|
y("div", {
|
|
4128
4130
|
class: F(["av-drawer", `av-drawer--${s(i)}`]),
|
|
4129
4131
|
role: "dialog",
|
|
@@ -4135,7 +4137,7 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4135
4137
|
y("div", No, [
|
|
4136
4138
|
B(l.$slots, "default", {}, void 0, !0)
|
|
4137
4139
|
]),
|
|
4138
|
-
r.footer ? (u(),
|
|
4140
|
+
r.footer ? (u(), g("div", To, [
|
|
4139
4141
|
B(l.$slots, "footer", {}, void 0, !0)
|
|
4140
4142
|
])) : O("", !0)
|
|
4141
4143
|
])
|
|
@@ -4169,7 +4171,7 @@ const io = ["id", "aria-label"], oo = {
|
|
|
4169
4171
|
onKeydown: o[1] || (o[1] = it((c) => n("close"), ["esc"]))
|
|
4170
4172
|
}), {
|
|
4171
4173
|
default: Y(() => [
|
|
4172
|
-
r.header ? (u(),
|
|
4174
|
+
r.header ? (u(), g("div", Do, [
|
|
4173
4175
|
B(A.$slots, "header", {}, void 0, !0)
|
|
4174
4176
|
])) : O("", !0),
|
|
4175
4177
|
B(A.$slots, "default", {}, void 0, !0)
|
|
@@ -4651,11 +4653,11 @@ var Dt = {
|
|
|
4651
4653
|
* in reverse.
|
|
4652
4654
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
4653
4655
|
*/
|
|
4654
|
-
nextTabbableNode: function(
|
|
4655
|
-
var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = h.indexOf(
|
|
4656
|
-
return de < 0 ? Ne ? N.slice(N.indexOf(
|
|
4656
|
+
nextTabbableNode: function(ge) {
|
|
4657
|
+
var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = h.indexOf(ge);
|
|
4658
|
+
return de < 0 ? Ne ? N.slice(N.indexOf(ge) + 1).find(function(Te) {
|
|
4657
4659
|
return Ee(Te);
|
|
4658
|
-
}) : N.slice(0, N.indexOf(
|
|
4660
|
+
}) : N.slice(0, N.indexOf(ge)).reverse().find(function(Te) {
|
|
4659
4661
|
return Ee(Te);
|
|
4660
4662
|
}) : h[de + (Ne ? 1 : -1)];
|
|
4661
4663
|
}
|
|
@@ -4672,10 +4674,10 @@ var Dt = {
|
|
|
4672
4674
|
var h = v.activeElement;
|
|
4673
4675
|
if (h)
|
|
4674
4676
|
return h.shadowRoot && h.shadowRoot.activeElement !== null ? I(h.shadowRoot) : h;
|
|
4675
|
-
},
|
|
4677
|
+
}, m = function(v) {
|
|
4676
4678
|
if (v !== !1 && v !== I(document)) {
|
|
4677
4679
|
if (!v || !v.focus) {
|
|
4678
|
-
|
|
4680
|
+
m(f());
|
|
4679
4681
|
return;
|
|
4680
4682
|
}
|
|
4681
4683
|
v.focus({
|
|
@@ -4701,7 +4703,7 @@ var Dt = {
|
|
|
4701
4703
|
return h === Ge;
|
|
4702
4704
|
});
|
|
4703
4705
|
if (G < 0 && (K.container === h || $e(h, i.tabbableOptions) && !Ee(h, i.tabbableOptions) && !K.nextTabbableNode(h, !1)) && (G = L), G >= 0) {
|
|
4704
|
-
var
|
|
4706
|
+
var ge = G === 0 ? A.tabbableGroups.length - 1 : G - 1, Ne = A.tabbableGroups[ge];
|
|
4705
4707
|
q = he(h) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
|
|
4706
4708
|
} else Se(N) || (q = K.nextTabbableNode(h, !1));
|
|
4707
4709
|
} else {
|
|
@@ -4752,8 +4754,8 @@ var Dt = {
|
|
|
4752
4754
|
}
|
|
4753
4755
|
} else
|
|
4754
4756
|
A.containerGroups.some(function(G) {
|
|
4755
|
-
return G.tabbableNodes.some(function(
|
|
4756
|
-
return he(
|
|
4757
|
+
return G.tabbableNodes.some(function(ge) {
|
|
4758
|
+
return he(ge) > 0;
|
|
4757
4759
|
});
|
|
4758
4760
|
}) || (U = !1);
|
|
4759
4761
|
else
|
|
@@ -4763,7 +4765,7 @@ var Dt = {
|
|
|
4763
4765
|
// outside the trap causing the focus escape we're trying to fix)
|
|
4764
4766
|
target: A.mostRecentlyFocusedNode,
|
|
4765
4767
|
isBackward: i.isKeyBackward(A.recentNavEvent)
|
|
4766
|
-
})),
|
|
4768
|
+
})), m(k || A.mostRecentlyFocusedNode || f());
|
|
4767
4769
|
}
|
|
4768
4770
|
A.recentNavEvent = void 0;
|
|
4769
4771
|
}, E = function(v) {
|
|
@@ -4773,7 +4775,7 @@ var Dt = {
|
|
|
4773
4775
|
event: v,
|
|
4774
4776
|
isBackward: h
|
|
4775
4777
|
});
|
|
4776
|
-
N && (Se(v) && v.preventDefault(),
|
|
4778
|
+
N && (Se(v) && v.preventDefault(), m(N));
|
|
4777
4779
|
}, D = function(v) {
|
|
4778
4780
|
(i.isKeyForward(v) || i.isKeyBackward(v)) && E(v, i.isKeyBackward(v));
|
|
4779
4781
|
}, j = function(v) {
|
|
@@ -4784,8 +4786,8 @@ var Dt = {
|
|
|
4784
4786
|
}, z = function() {
|
|
4785
4787
|
if (A.active)
|
|
4786
4788
|
return Dt.activateTrap(r, o), A.delayInitialFocusTimer = i.delayInitialFocus ? Ot(function() {
|
|
4787
|
-
|
|
4788
|
-
}) :
|
|
4789
|
+
m(f());
|
|
4790
|
+
}) : m(f()), n.addEventListener("focusin", Q, !0), n.addEventListener("mousedown", T, {
|
|
4789
4791
|
capture: !0,
|
|
4790
4792
|
passive: !1
|
|
4791
4793
|
}), n.addEventListener("touchstart", T, {
|
|
@@ -4808,7 +4810,7 @@ var Dt = {
|
|
|
4808
4810
|
return U === A.mostRecentlyFocusedNode;
|
|
4809
4811
|
});
|
|
4810
4812
|
});
|
|
4811
|
-
h &&
|
|
4813
|
+
h && m(f());
|
|
4812
4814
|
}, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(w) : void 0, $ = function() {
|
|
4813
4815
|
oe && (oe.disconnect(), A.active && !A.paused && A.containers.map(function(v) {
|
|
4814
4816
|
oe.observe(v, {
|
|
@@ -4847,7 +4849,7 @@ var Dt = {
|
|
|
4847
4849
|
N == null || N();
|
|
4848
4850
|
var L = function() {
|
|
4849
4851
|
Ot(function() {
|
|
4850
|
-
q &&
|
|
4852
|
+
q && m(C(A.nodeFocusedBeforeActivation)), k == null || k();
|
|
4851
4853
|
});
|
|
4852
4854
|
};
|
|
4853
4855
|
return q && U ? (U(C(A.nodeFocusedBeforeActivation)).then(L, L), this) : (L(), this);
|
|
@@ -4934,7 +4936,7 @@ const cl = { class: "av-popover-wrapper" }, ul = /* @__PURE__ */ S({
|
|
|
4934
4936
|
f ? (await Re(), l()) : c();
|
|
4935
4937
|
}), Oa(() => {
|
|
4936
4938
|
c();
|
|
4937
|
-
}), (f, b) => (u(),
|
|
4939
|
+
}), (f, b) => (u(), g("div", cl, [
|
|
4938
4940
|
y("div", {
|
|
4939
4941
|
ref: d,
|
|
4940
4942
|
class: "av-popover-trigger-wrapper"
|
|
@@ -4942,7 +4944,7 @@ const cl = { class: "av-popover-wrapper" }, ul = /* @__PURE__ */ S({
|
|
|
4942
4944
|
B(f.$slots, "trigger", { toggle: s(A) }, void 0, !0)
|
|
4943
4945
|
]),
|
|
4944
4946
|
(u(), x(kt, { to: "body" }, [
|
|
4945
|
-
s(r) ? (u(),
|
|
4947
|
+
s(r) ? (u(), g("div", {
|
|
4946
4948
|
key: 0,
|
|
4947
4949
|
ref_key: "popoverRef",
|
|
4948
4950
|
ref: n,
|
|
@@ -4991,7 +4993,7 @@ export {
|
|
|
4991
4993
|
Fa as AvAlert,
|
|
4992
4994
|
Bl as AvAutocomplete,
|
|
4993
4995
|
jl as AvAutocompleteStub,
|
|
4994
|
-
|
|
4996
|
+
ml as AvBadge,
|
|
4995
4997
|
vl as AvBadgeStub,
|
|
4996
4998
|
Ce as AvButton,
|
|
4997
4999
|
Tl as AvButtonStub,
|
|
@@ -5011,7 +5013,7 @@ export {
|
|
|
5011
5013
|
$l as AvModal,
|
|
5012
5014
|
Pl as AvMultiselect,
|
|
5013
5015
|
Zl as AvNavigation,
|
|
5014
|
-
|
|
5016
|
+
gl as AvNotice,
|
|
5015
5017
|
kl as AvPageSizePicker,
|
|
5016
5018
|
ql as AvPagination,
|
|
5017
5019
|
es as AvPopover,
|