@avenirs-esr/avenirs-dsav 0.1.135 → 0.1.136
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 +2 -2
- package/dist/index.es.js +432 -427
- package/dist/tokens/icons.d.ts +2 -0
- package/package.json +2 -2
- package/src/styles/components/_icons.scss +1 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, useCssVars as oe, computed as
|
|
1
|
+
import { defineComponent as k, useCssVars as oe, computed as m, createElementBlock as b, openBlock as u, normalizeStyle as ue, normalizeClass as Q, unref as r, createElementVNode as y, toDisplayString as W, createPropsRestProxy as Ha, createBlock as S, resolveDynamicComponent as he, mergeProps as _, withCtx as K, createCommentVNode as w, createVNode as U, Fragment as $, renderList as ie, useSlots as ve, createTextVNode as Le, renderSlot as V, ref as z, normalizeProps as Ra, withDirectives as Tt, vShow as na, TransitionGroup as Za, toRef as Dt, readonly as Ya, customRef as Xa, getCurrentScope as Fa, onScopeDispose as qa, onMounted as fe, nextTick as rt, watch as re, getCurrentInstance as Lt, hasInjectionContext as wt, inject as ot, isRef as xt, toValue as te, shallowRef as Ce, reactive as Ct, watchEffect as Ka, onUnmounted as me, Comment as Ga, cloneVNode as Ja, toRefs as la, provide as Ot, onBeforeUnmount as ia, Teleport as ra, withKeys as Ae, withModifiers as ge, mergeModels as ye, useModel as we, vModelCheckbox as $a, useAttrs as _a, createSlots as Je, useTemplateRef as en, resolveComponent as St } from "vue";
|
|
2
2
|
import { r as oa } from "./injection-key.es.js";
|
|
3
3
|
const tn = ["title"], an = /* @__PURE__ */ k({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -17,10 +17,10 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
17
17
|
v5013efaa: l.backgroundColor,
|
|
18
18
|
v418db2ed: l.borderColor
|
|
19
19
|
}));
|
|
20
|
-
const t =
|
|
20
|
+
const t = m(() => {
|
|
21
21
|
var l, i;
|
|
22
22
|
return (l = e.icon) != null && l.startsWith("data:") ? null : (i = e.icon) == null ? void 0 : i.replace(":", "-");
|
|
23
|
-
}), a =
|
|
23
|
+
}), a = m(() => `--icon-${t.value}`), n = m(() => t.value ? { "--icon-path": `var(${a.value})` } : e.icon ? { "--icon-path": `url(${e.icon})` } : {});
|
|
24
24
|
return (l, i) => (u(), b("p", {
|
|
25
25
|
class: Q(["av-badge av-row av-align-center av-py-none av-m-none", {
|
|
26
26
|
"av-badge--sm av-px-xxs": e.small,
|
|
@@ -45,7 +45,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
45
45
|
for (const [n, l] of t)
|
|
46
46
|
a[n] = l;
|
|
47
47
|
return a;
|
|
48
|
-
},
|
|
48
|
+
}, qA = /* @__PURE__ */ P(an, [["__scopeId", "data-v-bc1cb35e"]]), nn = ["title"], ln = /* @__PURE__ */ k({
|
|
49
49
|
__name: "AvIcon",
|
|
50
50
|
props: {
|
|
51
51
|
size: { default: 1 },
|
|
@@ -57,12 +57,15 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
57
57
|
color: { default: "currentColor" }
|
|
58
58
|
},
|
|
59
59
|
setup(e) {
|
|
60
|
-
oe((
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
oe((i) => ({
|
|
61
|
+
de37c502: r(t),
|
|
62
|
+
v52769534: i.color
|
|
63
63
|
}));
|
|
64
|
-
const t =
|
|
65
|
-
|
|
64
|
+
const t = m(() => `${e.size}rem`), a = m(() => {
|
|
65
|
+
var i, o;
|
|
66
|
+
return (i = e.name) != null && i.startsWith("data:") ? null : (o = e.name) == null ? void 0 : o.replace(":", "-");
|
|
67
|
+
}), n = m(() => `--icon-${a.value}`), l = m(() => a.value ? { "--icon": `var(${n.value})` } : e.name ? { "--icon": `url(${e.name})` } : {});
|
|
68
|
+
return (i, o) => (u(), b("div", {
|
|
66
69
|
class: Q(["av-icon", {
|
|
67
70
|
"av-icon--spin": e.animation === "spin",
|
|
68
71
|
"av-icon--wrench": e.animation === "wrench",
|
|
@@ -82,11 +85,11 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
82
85
|
}, [
|
|
83
86
|
y("span", {
|
|
84
87
|
class: "av-icon__icon",
|
|
85
|
-
style: ue(
|
|
88
|
+
style: ue([r(l), { width: r(t), height: r(t) }])
|
|
86
89
|
}, null, 4)
|
|
87
90
|
], 14, nn));
|
|
88
91
|
}
|
|
89
|
-
}), le = /* @__PURE__ */ P(ln, [["__scopeId", "data-v-
|
|
92
|
+
}), le = /* @__PURE__ */ P(ln, [["__scopeId", "data-v-128947a5"]]), H = {
|
|
90
93
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
91
94
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
92
95
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -210,6 +213,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
210
213
|
}, KA = {
|
|
211
214
|
DICE_1_LINE: "ri:dice-1-line",
|
|
212
215
|
DICE_4_LINE: "ri:dice-4-line",
|
|
216
|
+
DRAW_LINE: "ri:draw-line",
|
|
213
217
|
HAND_HEART_LINE: "ri:hand-heart-line",
|
|
214
218
|
HONOUR_LINE: "ri:honour-line",
|
|
215
219
|
LAYOUT_6_LINE: "ri:layout-6-line",
|
|
@@ -237,7 +241,8 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
237
241
|
MDI_PENCIL_OUTLINE: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Im0xNC4wNiA5bC45NC45NEw1LjkyIDE5SDV2LS45MnptMy42LTZjLS4yNSAwLS41MS4xLS43LjI5bC0xLjgzIDEuODNsMy43NSAzLjc1bDEuODMtMS44M2MuMzktLjM5LjM5LTEuMDQgMC0xLjQxbC0yLjM0LTIuMzRjLS4yLS4yLS40NS0uMjktLjcxLS4yOW0tMy42IDMuMTlMMyAxNy4yNVYyMWgzLjc1TDE3LjgxIDkuOTR6Ii8+PC9zdmc+",
|
|
238
242
|
MDI_STARS: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Im0xOSAxbC0xLjI2IDIuNzVMMTUgNWwyLjc0IDEuMjZMMTkgOWwxLjI1LTIuNzRMMjMgNWwtMi43NS0xLjI1TTkgNEw2LjUgOS41TDEgMTJsNS41IDIuNUw5IDIwbDIuNS01LjVMMTcgMTJsLTUuNS0yLjVNMTkgMTVsLTEuMjYgMi43NEwxNSAxOWwyLjc0IDEuMjVMMTkgMjNsMS4yNS0yLjc1TDIzIDE5bC0yLjc1LTEuMjYiLz48L3N2Zz4=",
|
|
239
243
|
MDI_TEXT_BOX_CHECK_OUTLINE: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Im0xNyAyMWwtMi43NS0zbDEuMTYtMS4xNkwxNyAxOC40M2wzLjU5LTMuNTlsMS4xNiAxLjQxTTEyLjggMjFINWMtMS4xMSAwLTItLjg5LTItMlY1YzAtMS4xMS44OS0yIDItMmgxNGMxLjExIDAgMiAuODkgMiAydjcuOGMtLjYxLS4zNS0xLjI4LS42LTItLjcyVjVINXYxNGg3LjA4Yy4xMi43Mi4zNyAxLjM5LjcyIDJtLS44LTRIN3YtMmg1bTIuNjgtMkg3di0yaDEwdjEuMDhjLS44NS4xNC0xLjYzLjQ2LTIuMzIuOTJNMTcgOUg3VjdoMTAiLz48L3N2Zz4=",
|
|
240
|
-
MDI_WARNING_OUTLINE: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xMiAyTDEgMjFoMjJNMTIgNmw3LjUzIDEzSDQuNDdNMTEgMTB2NGgydi00bS0yIDZ2Mmgydi0yIi8+PC9zdmc+"
|
|
244
|
+
MDI_WARNING_OUTLINE: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xMiAyTDEgMjFoMjJNMTIgNmw3LjUzIDEzSDQuNDdNMTEgMTB2NGgydi00bS0yIDZ2Mmgydi0yIi8+PC9zdmc+",
|
|
245
|
+
TEXT_BULLET_LIST_SPARKLE: "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.089%203a1.42%201.42%200%200%200%20.003%201H6a2%202%200%200%200-2%202v8a2%202%200%200%200%202%202h8a2%202%200%200%200%202-2v-2.104q.238.1.502.103c.173%200%20.341-.022.498-.08V14a3%203%200%200%201-3%203H6a3%203%200%200%201-3-3V6a3%203%200%200%201%203-3zm-.443%208.397a.5.5%200%201%201%20.708.707l-1.75%201.75a.5.5%200%200%201-.69.015l-.75-.684a.5.5%200%200%201%20.673-.74l.397.364zM13.5%2012a.5.5%200%200%201%200%201H11a.5.5%200%200%201%200-1zm2.997%200h.01l-.005-.001zm-.013-6a.3.3%200%200%201%20.285.201l.25.766a1.58%201.58%200%200%200%20.999.998l.765.248l.015.004a.303.303%200%200%201%20.146.46a.3.3%200%200%201-.146.11l-.765.248a1.58%201.58%200%200%200-.999.998l-.249.766a.302.302%200%200%201-.57%200l-.25-.766a1.58%201.58%200%200%200-.998-1.002l-.765-.248a.303.303%200%200%201-.146-.46a.3.3%200%200%201%20.146-.11l.765-.248a1.58%201.58%200%200%200%20.984-.998L16.2%206.2a.3.3%200%200%201%20.284-.2m-7.838.396a.5.5%200%201%201%20.708.708l-1.75%201.75a.5.5%200%200%201-.69.015l-.75-.684a.5.5%200%200%201%20.673-.74l.397.364zm3.507.656c.09.25.25.48.52.691q.21.15.451.21L13.105%208H11a.5.5%200%200%201%200-1h1.137zM13.48%200a.42.42%200%200%201%20.399.282l.348%201.072a2.2%202.2%200%200%200%201.398%201.396l1.072.349l.022.005a.424.424%200%200%201%200%20.797l-1.072.349a2.21%202.21%200%200%200-1.399%201.396L13.9%206.718a.423.423%200%200%201-.643.204l-.02-.015a.43.43%200%200%201-.135-.19l-.348-1.07a2.22%202.22%200%200%200-1.399-1.403l-1.072-.348a.424.424%200%200%201%200-.797l1.072-.349a2.21%202.21%200%200%200%201.377-1.396L13.08.282a.42.42%200%200%201%20.4-.282%22%2F%3E%3C%2Fsvg%3E"
|
|
241
246
|
}, rn = /* @__PURE__ */ k({
|
|
242
247
|
__name: "AvTag",
|
|
243
248
|
props: {
|
|
@@ -253,7 +258,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
253
258
|
},
|
|
254
259
|
emits: ["select"],
|
|
255
260
|
setup(e) {
|
|
256
|
-
const t = Ha(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a =
|
|
261
|
+
const t = Ha(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a = m(() => e.disabled && e.tagName === "p" || t.selectable ? "button" : e.tagName), n = m(() => ({
|
|
257
262
|
"--icon-path": `url(${be.MDI_CHECK_CIRCLE_OUTLINE})`
|
|
258
263
|
}));
|
|
259
264
|
return (l, i) => (u(), S(he(r(a)), _({
|
|
@@ -298,7 +303,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
298
303
|
v1b7e4a75: l.gap,
|
|
299
304
|
v575e7695: l.textColor
|
|
300
305
|
}));
|
|
301
|
-
const t =
|
|
306
|
+
const t = m(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = m(() => e.inline ? void 0 : "ellipsis-container"), n = m(() => e.inline ? void 0 : "ellipsis");
|
|
302
307
|
return (l, i) => (u(), b("div", {
|
|
303
308
|
class: Q(["icon-text--container av-row av-align-center", [r(a)]])
|
|
304
309
|
}, [
|
|
@@ -321,7 +326,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
321
326
|
message: {}
|
|
322
327
|
},
|
|
323
328
|
setup(e) {
|
|
324
|
-
const t =
|
|
329
|
+
const t = m(() => e.messageId ?? `message-${crypto.randomUUID()}`), a = m(() => {
|
|
325
330
|
switch (e.type) {
|
|
326
331
|
case "success":
|
|
327
332
|
return {
|
|
@@ -352,7 +357,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
352
357
|
typographyClass: "caption-regular"
|
|
353
358
|
};
|
|
354
359
|
}
|
|
355
|
-
}), n =
|
|
360
|
+
}), n = m(() => e.message ? Array.isArray(e.message) ? e.message : [e.message] : []), l = m(() => e.type === "error" || e.type === "warning" ? "alert" : "status");
|
|
356
361
|
return (i, o) => {
|
|
357
362
|
const s = cn;
|
|
358
363
|
return u(), b("div", {
|
|
@@ -387,7 +392,7 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
387
392
|
required: { type: Boolean, default: !1 }
|
|
388
393
|
},
|
|
389
394
|
setup(e) {
|
|
390
|
-
const t = ve(), a =
|
|
395
|
+
const t = ve(), a = m(() => e.errorMessage || e.successMessage);
|
|
391
396
|
return (n, l) => {
|
|
392
397
|
const i = Qe;
|
|
393
398
|
return u(), b("fieldset", {
|
|
@@ -459,7 +464,7 @@ const hn = { class: "b2-bold" }, yn = { class: "b2-regular" }, Cn = ["innerHTML"
|
|
|
459
464
|
type: {}
|
|
460
465
|
},
|
|
461
466
|
setup(e) {
|
|
462
|
-
const t =
|
|
467
|
+
const t = m(() => In(e.text)), a = m(() => {
|
|
463
468
|
switch (e.type) {
|
|
464
469
|
case "warning":
|
|
465
470
|
return { name: H.WARNING, color: "var(--dark-background-warn)" };
|
|
@@ -515,16 +520,16 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
515
520
|
(f = a.value) == null || f.focus();
|
|
516
521
|
}
|
|
517
522
|
t({ focus: n });
|
|
518
|
-
const l = { name: H.LOADING, animation: "spin" }, i =
|
|
523
|
+
const l = { name: H.LOADING, animation: "spin" }, i = m(() => e.iconScale && !Number.isNaN(e.iconScale) ? e.iconScale : e.small ? 1 : 1.5), o = m(() => {
|
|
519
524
|
if (e.isLoading)
|
|
520
525
|
return { ...l, size: i.value };
|
|
521
526
|
if (typeof e.icon == "string" && e.icon.trim())
|
|
522
527
|
return { name: e.icon, size: i.value };
|
|
523
528
|
if (e.icon && typeof e.icon != "string")
|
|
524
529
|
return { ...e.icon, size: i.value };
|
|
525
|
-
}), s =
|
|
530
|
+
}), s = m(() => e.noSentenceCase ? e.label : bn(e.label)), c = m(() => e.disabled || e.isLoading), A = m(() => `av-button--variant-${e.variant.toLowerCase()}`), d = m(() => `av-button--theme-${e.theme.toLowerCase()}`);
|
|
526
531
|
return (f, I) => {
|
|
527
|
-
const
|
|
532
|
+
const g = le;
|
|
528
533
|
return u(), b("button", {
|
|
529
534
|
ref_key: "btn",
|
|
530
535
|
ref: a,
|
|
@@ -548,7 +553,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
548
553
|
style: ue(e.iconOnly ? { "padding-inline": "var(--spacing-xs)" } : {}),
|
|
549
554
|
onClick: I[0] || (I[0] = (v) => f.$emit("click", v))
|
|
550
555
|
}, [
|
|
551
|
-
r(o) ? (u(), S(
|
|
556
|
+
r(o) ? (u(), S(g, Ra(_({ key: 0 }, r(o))), null, 16)) : w("", !0),
|
|
552
557
|
e.iconOnly ? w("", !0) : (u(), b("span", {
|
|
553
558
|
key: 1,
|
|
554
559
|
class: Q(e.small ? "b2-regular" : "b1-regular")
|
|
@@ -562,7 +567,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
562
567
|
}, wn = {
|
|
563
568
|
key: 1,
|
|
564
569
|
class: "av-card__footer"
|
|
565
|
-
},
|
|
570
|
+
}, xn = /* @__PURE__ */ k({
|
|
566
571
|
__name: "AvCard",
|
|
567
572
|
props: {
|
|
568
573
|
titleOnly: { type: Boolean, default: !1 },
|
|
@@ -577,7 +582,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
577
582
|
oe((A) => ({
|
|
578
583
|
v0b2ce2f9: A.borderColor
|
|
579
584
|
}));
|
|
580
|
-
const t = ve(), a = z(e.collapsed), n = z(!1), l =
|
|
585
|
+
const t = ve(), a = z(e.collapsed), n = z(!1), l = m(() => `av-card-${crypto.randomUUID()}`), i = z(null);
|
|
581
586
|
function o(A) {
|
|
582
587
|
const d = ["A", "BUTTON", "INPUT", "SELECT", "TEXTAREA"], f = ["button", "link", "checkbox", "radio", "textbox", "tab", "menuitem"];
|
|
583
588
|
if (d.includes(A.tagName))
|
|
@@ -667,7 +672,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
667
672
|
], 38);
|
|
668
673
|
};
|
|
669
674
|
}
|
|
670
|
-
}), $A = /* @__PURE__ */ P(
|
|
675
|
+
}), $A = /* @__PURE__ */ P(xn, [["__scopeId", "data-v-f24c73d5"]]), On = ["id", "role"], Sn = { class: "av-alert__container av-row av-align-center av-justify-between av-w-full av-gap-md" }, kn = { class: "av-alert__content av-row av-align-center av-gap-sm" }, pn = { class: "av-alert__title" }, Qn = {
|
|
671
676
|
key: 0,
|
|
672
677
|
class: "s2-bold"
|
|
673
678
|
}, jn = { class: "b1-regular" }, zn = /* @__PURE__ */ k({
|
|
@@ -684,7 +689,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
684
689
|
},
|
|
685
690
|
emits: ["close"],
|
|
686
691
|
setup(e, { emit: t }) {
|
|
687
|
-
const a = t, n =
|
|
692
|
+
const a = t, n = m(() => e.id ?? `alert-${crypto.randomUUID()}`), l = () => a("close"), i = m(
|
|
688
693
|
() => [
|
|
689
694
|
`av-alert--${e.type}`,
|
|
690
695
|
{
|
|
@@ -692,7 +697,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
692
697
|
"av-p-md": !e.small
|
|
693
698
|
}
|
|
694
699
|
]
|
|
695
|
-
), o =
|
|
700
|
+
), o = m(() => {
|
|
696
701
|
switch (e.type) {
|
|
697
702
|
case "error":
|
|
698
703
|
return { name: H.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
|
|
@@ -704,7 +709,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
704
709
|
default:
|
|
705
710
|
return { name: H.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
706
711
|
}
|
|
707
|
-
}), s =
|
|
712
|
+
}), s = m(() => e.type === "error" || e.type === "warning" ? "alert" : "status");
|
|
708
713
|
return (c, A) => e.closed ? w("", !0) : (u(), b("div", {
|
|
709
714
|
key: 0,
|
|
710
715
|
id: r(n),
|
|
@@ -730,7 +735,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
730
735
|
onClick: l
|
|
731
736
|
}, null, 8, ["icon", "label", "small"])) : w("", !0)
|
|
732
737
|
])
|
|
733
|
-
], 10,
|
|
738
|
+
], 10, On));
|
|
734
739
|
}
|
|
735
740
|
}), Bn = /* @__PURE__ */ P(zn, [["__scopeId", "data-v-8d8544c0"]]), Pn = { class: "toaster-container" }, Wn = /* @__PURE__ */ k({
|
|
736
741
|
__name: "AvToaster",
|
|
@@ -777,7 +782,7 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
777
782
|
}
|
|
778
783
|
}), _A = /* @__PURE__ */ P(Wn, [["__scopeId", "data-v-cfd2bdbb"]]);
|
|
779
784
|
function kt(e) {
|
|
780
|
-
return
|
|
785
|
+
return Fa() ? (qa(e), !0) : !1;
|
|
781
786
|
}
|
|
782
787
|
const vt = /* @__PURE__ */ new WeakMap(), Un = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
|
|
783
788
|
var t;
|
|
@@ -787,7 +792,7 @@ const vt = /* @__PURE__ */ new WeakMap(), Un = /* @__NO_SIDE_EFFECTS__ */ (...e)
|
|
|
787
792
|
return n && vt.has(n) && a in vt.get(n) ? vt.get(n)[a] : ot(...e);
|
|
788
793
|
}, Aa = typeof window < "u" && typeof document < "u";
|
|
789
794
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
790
|
-
const Vn = (e) => e != null, Hn = Object.prototype.toString, Rn = (e) => Hn.call(e) === "[object Object]",
|
|
795
|
+
const Vn = (e) => e != null, Hn = Object.prototype.toString, Rn = (e) => Hn.call(e) === "[object Object]", xe = () => {
|
|
791
796
|
}, zt = /* @__PURE__ */ Zn();
|
|
792
797
|
function Zn() {
|
|
793
798
|
var e, t;
|
|
@@ -797,7 +802,7 @@ function Yn(...e) {
|
|
|
797
802
|
if (e.length !== 1)
|
|
798
803
|
return Dt(...e);
|
|
799
804
|
const t = e[0];
|
|
800
|
-
return typeof t == "function" ? Ya(Xa(() => ({ get: t, set:
|
|
805
|
+
return typeof t == "function" ? Ya(Xa(() => ({ get: t, set: xe }))) : z(t);
|
|
801
806
|
}
|
|
802
807
|
function ua(e, t) {
|
|
803
808
|
function a(...n) {
|
|
@@ -808,9 +813,9 @@ function ua(e, t) {
|
|
|
808
813
|
return a;
|
|
809
814
|
}
|
|
810
815
|
function Xn(e, t = {}) {
|
|
811
|
-
let a, n, l =
|
|
816
|
+
let a, n, l = xe;
|
|
812
817
|
const i = (c) => {
|
|
813
|
-
clearTimeout(c), l(), l =
|
|
818
|
+
clearTimeout(c), l(), l = xe;
|
|
814
819
|
};
|
|
815
820
|
let o;
|
|
816
821
|
return (c) => {
|
|
@@ -824,22 +829,22 @@ function Xn(e, t = {}) {
|
|
|
824
829
|
});
|
|
825
830
|
};
|
|
826
831
|
}
|
|
827
|
-
function
|
|
828
|
-
let t = 0, a, n = !0, l =
|
|
829
|
-
!
|
|
832
|
+
function Fn(...e) {
|
|
833
|
+
let t = 0, a, n = !0, l = xe, i, o, s, c, A;
|
|
834
|
+
!xt(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;
|
|
830
835
|
const d = () => {
|
|
831
|
-
a && (clearTimeout(a), a = void 0, l(), l =
|
|
836
|
+
a && (clearTimeout(a), a = void 0, l(), l = xe);
|
|
832
837
|
};
|
|
833
838
|
return (I) => {
|
|
834
|
-
const
|
|
835
|
-
return d(),
|
|
839
|
+
const g = te(o), v = Date.now() - t, C = () => i = I();
|
|
840
|
+
return d(), g <= 0 ? (t = Date.now(), C()) : (v > g && (c || !n) ? (t = Date.now(), C()) : s && (i = new Promise((D, E) => {
|
|
836
841
|
l = A ? E : D, a = setTimeout(() => {
|
|
837
842
|
t = Date.now(), n = !0, D(C()), d();
|
|
838
|
-
}, Math.max(0,
|
|
839
|
-
})), !c && !a && (a = setTimeout(() => n = !0,
|
|
843
|
+
}, Math.max(0, g - v));
|
|
844
|
+
})), !c && !a && (a = setTimeout(() => n = !0, g)), n = !1, i);
|
|
840
845
|
};
|
|
841
846
|
}
|
|
842
|
-
function
|
|
847
|
+
function qn(e, t) {
|
|
843
848
|
var a;
|
|
844
849
|
if (typeof e == "number")
|
|
845
850
|
return e + t;
|
|
@@ -865,7 +870,7 @@ function Gn(e, t = 200, a = {}) {
|
|
|
865
870
|
// @__NO_SIDE_EFFECTS__
|
|
866
871
|
function Jn(e, t = 200, a = !1, n = !0, l = !1) {
|
|
867
872
|
return ua(
|
|
868
|
-
|
|
873
|
+
Fn(t, a, n, l),
|
|
869
874
|
e
|
|
870
875
|
);
|
|
871
876
|
}
|
|
@@ -882,7 +887,7 @@ function $n(e, t, a) {
|
|
|
882
887
|
}
|
|
883
888
|
);
|
|
884
889
|
}
|
|
885
|
-
const
|
|
890
|
+
const qe = Aa ? window : void 0;
|
|
886
891
|
function pt(e) {
|
|
887
892
|
var t;
|
|
888
893
|
const a = te(e);
|
|
@@ -891,14 +896,14 @@ function pt(e) {
|
|
|
891
896
|
function _e(...e) {
|
|
892
897
|
const t = [], a = () => {
|
|
893
898
|
t.forEach((s) => s()), t.length = 0;
|
|
894
|
-
}, n = (s, c, A, d) => (s.addEventListener(c, A, d), () => s.removeEventListener(c, A, d)), l =
|
|
899
|
+
}, n = (s, c, A, d) => (s.addEventListener(c, A, d), () => s.removeEventListener(c, A, d)), l = m(() => {
|
|
895
900
|
const s = $e(te(e[0])).filter((c) => c != null);
|
|
896
901
|
return s.every((c) => typeof c != "string") ? s : void 0;
|
|
897
902
|
}), i = $n(
|
|
898
903
|
() => {
|
|
899
904
|
var s, c;
|
|
900
905
|
return [
|
|
901
|
-
(c = (s = l.value) == null ? void 0 : s.map((A) => pt(A))) != null ? c : [
|
|
906
|
+
(c = (s = l.value) == null ? void 0 : s.map((A) => pt(A))) != null ? c : [qe].filter((A) => A != null),
|
|
902
907
|
$e(te(l.value ? e[1] : e[0])),
|
|
903
908
|
$e(r(l.value ? e[2] : e[1])),
|
|
904
909
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -912,7 +917,7 @@ function _e(...e) {
|
|
|
912
917
|
t.push(
|
|
913
918
|
...s.flatMap(
|
|
914
919
|
(I) => c.flatMap(
|
|
915
|
-
(
|
|
920
|
+
(g) => A.map((v) => n(I, g, v, f))
|
|
916
921
|
)
|
|
917
922
|
)
|
|
918
923
|
);
|
|
@@ -933,20 +938,20 @@ function _n() {
|
|
|
933
938
|
// @__NO_SIDE_EFFECTS__
|
|
934
939
|
function fa(e) {
|
|
935
940
|
const t = /* @__PURE__ */ _n();
|
|
936
|
-
return
|
|
941
|
+
return m(() => (t.value, !!e()));
|
|
937
942
|
}
|
|
938
943
|
function el(e, t, a = {}) {
|
|
939
|
-
const { window: n =
|
|
944
|
+
const { window: n = qe, ...l } = a;
|
|
940
945
|
let i;
|
|
941
946
|
const o = /* @__PURE__ */ fa(() => n && "MutationObserver" in n), s = () => {
|
|
942
947
|
i && (i.disconnect(), i = void 0);
|
|
943
|
-
}, c =
|
|
944
|
-
const I = te(e),
|
|
945
|
-
return new Set(
|
|
948
|
+
}, c = m(() => {
|
|
949
|
+
const I = te(e), g = $e(I).map(pt).filter(Vn);
|
|
950
|
+
return new Set(g);
|
|
946
951
|
}), A = re(
|
|
947
952
|
c,
|
|
948
953
|
(I) => {
|
|
949
|
-
s(), o.value && I.size && (i = new MutationObserver(t), I.forEach((
|
|
954
|
+
s(), o.value && I.size && (i = new MutationObserver(t), I.forEach((g) => i.observe(g, l)));
|
|
950
955
|
},
|
|
951
956
|
{ immediate: !0, flush: "post" }
|
|
952
957
|
), d = () => i == null ? void 0 : i.takeRecords(), f = () => {
|
|
@@ -965,7 +970,7 @@ function va() {
|
|
|
965
970
|
return typeof e == "number" ? e : void 0;
|
|
966
971
|
}
|
|
967
972
|
function Be(e, t = {}) {
|
|
968
|
-
const { window: a =
|
|
973
|
+
const { window: a = qe, ssrWidth: n = /* @__PURE__ */ va() } = t, l = /* @__PURE__ */ fa(() => a && "matchMedia" in a && typeof a.matchMedia == "function"), i = Ce(typeof n == "number"), o = Ce(), s = Ce(!1), c = (A) => {
|
|
969
974
|
s.value = A.matches;
|
|
970
975
|
};
|
|
971
976
|
return Ka(() => {
|
|
@@ -973,66 +978,66 @@ function Be(e, t = {}) {
|
|
|
973
978
|
i.value = !l.value;
|
|
974
979
|
const A = te(e).split(",");
|
|
975
980
|
s.value = A.some((d) => {
|
|
976
|
-
const f = d.includes("not all"), I = d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),
|
|
977
|
-
let v = !!(I ||
|
|
978
|
-
return I && v && (v = n >= Re(I[1])),
|
|
981
|
+
const f = d.includes("not all"), I = d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), g = d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
982
|
+
let v = !!(I || g);
|
|
983
|
+
return I && v && (v = n >= Re(I[1])), g && v && (v = n <= Re(g[1])), f ? !v : v;
|
|
979
984
|
});
|
|
980
985
|
return;
|
|
981
986
|
}
|
|
982
987
|
l.value && (o.value = a.matchMedia(te(e)), s.value = o.value.matches);
|
|
983
|
-
}), _e(o, "change", c, { passive: !0 }),
|
|
988
|
+
}), _e(o, "change", c, { passive: !0 }), m(() => s.value);
|
|
984
989
|
}
|
|
985
990
|
// @__NO_SIDE_EFFECTS__
|
|
986
991
|
function al(e, t = {}) {
|
|
987
|
-
function a(
|
|
988
|
-
let C = te(e[te(
|
|
989
|
-
return v != null && (C =
|
|
992
|
+
function a(g, v) {
|
|
993
|
+
let C = te(e[te(g)]);
|
|
994
|
+
return v != null && (C = qn(C, v)), typeof C == "number" && (C = `${C}px`), C;
|
|
990
995
|
}
|
|
991
|
-
const { window: n =
|
|
996
|
+
const { window: n = qe, strategy: l = "min-width", ssrWidth: i = /* @__PURE__ */ va() } = t, o = typeof i == "number", s = o ? Ce(!1) : { value: !0 };
|
|
992
997
|
o && da(() => s.value = !!n);
|
|
993
|
-
function c(
|
|
994
|
-
return !s.value && o ?
|
|
998
|
+
function c(g, v) {
|
|
999
|
+
return !s.value && o ? g === "min" ? i >= Re(v) : i <= Re(v) : n ? n.matchMedia(`(${g}-width: ${v})`).matches : !1;
|
|
995
1000
|
}
|
|
996
|
-
const A = (
|
|
1001
|
+
const A = (g) => Be(() => `(min-width: ${a(g)})`, t), d = (g) => Be(() => `(max-width: ${a(g)})`, t), f = Object.keys(e).reduce((g, v) => (Object.defineProperty(g, v, {
|
|
997
1002
|
get: () => l === "min-width" ? A(v) : d(v),
|
|
998
1003
|
enumerable: !0,
|
|
999
1004
|
configurable: !0
|
|
1000
|
-
}),
|
|
1005
|
+
}), g), {});
|
|
1001
1006
|
function I() {
|
|
1002
|
-
const
|
|
1003
|
-
return
|
|
1007
|
+
const g = Object.keys(e).map((v) => [v, f[v], Re(a(v))]).sort((v, C) => v[2] - C[2]);
|
|
1008
|
+
return m(() => g.filter(([, v]) => v.value).map(([v]) => v));
|
|
1004
1009
|
}
|
|
1005
1010
|
return Object.assign(f, {
|
|
1006
1011
|
greaterOrEqual: A,
|
|
1007
1012
|
smallerOrEqual: d,
|
|
1008
|
-
greater(
|
|
1009
|
-
return Be(() => `(min-width: ${a(
|
|
1013
|
+
greater(g) {
|
|
1014
|
+
return Be(() => `(min-width: ${a(g, 0.1)})`, t);
|
|
1010
1015
|
},
|
|
1011
|
-
smaller(
|
|
1012
|
-
return Be(() => `(max-width: ${a(
|
|
1016
|
+
smaller(g) {
|
|
1017
|
+
return Be(() => `(max-width: ${a(g, -0.1)})`, t);
|
|
1013
1018
|
},
|
|
1014
|
-
between(
|
|
1015
|
-
return Be(() => `(min-width: ${a(
|
|
1019
|
+
between(g, v) {
|
|
1020
|
+
return Be(() => `(min-width: ${a(g)}) and (max-width: ${a(v, -0.1)})`, t);
|
|
1016
1021
|
},
|
|
1017
|
-
isGreater(
|
|
1018
|
-
return c("min", a(
|
|
1022
|
+
isGreater(g) {
|
|
1023
|
+
return c("min", a(g, 0.1));
|
|
1019
1024
|
},
|
|
1020
|
-
isGreaterOrEqual(
|
|
1021
|
-
return c("min", a(
|
|
1025
|
+
isGreaterOrEqual(g) {
|
|
1026
|
+
return c("min", a(g));
|
|
1022
1027
|
},
|
|
1023
|
-
isSmaller(
|
|
1024
|
-
return c("max", a(
|
|
1028
|
+
isSmaller(g) {
|
|
1029
|
+
return c("max", a(g, -0.1));
|
|
1025
1030
|
},
|
|
1026
|
-
isSmallerOrEqual(
|
|
1027
|
-
return c("max", a(
|
|
1031
|
+
isSmallerOrEqual(g) {
|
|
1032
|
+
return c("max", a(g));
|
|
1028
1033
|
},
|
|
1029
|
-
isInBetween(
|
|
1030
|
-
return c("min", a(
|
|
1034
|
+
isInBetween(g, v) {
|
|
1035
|
+
return c("min", a(g)) && c("max", a(v, -0.1));
|
|
1031
1036
|
},
|
|
1032
1037
|
current: I,
|
|
1033
1038
|
active() {
|
|
1034
|
-
const
|
|
1035
|
-
return
|
|
1039
|
+
const g = I();
|
|
1040
|
+
return m(() => g.value.length === 0 ? "" : g.value.at(l === "min-width" ? -1 : 0));
|
|
1036
1041
|
}
|
|
1037
1042
|
});
|
|
1038
1043
|
}
|
|
@@ -1044,8 +1049,8 @@ function nl(e, t = {}) {
|
|
|
1044
1049
|
const {
|
|
1045
1050
|
throttle: a = 0,
|
|
1046
1051
|
idle: n = 200,
|
|
1047
|
-
onStop: l =
|
|
1048
|
-
onScroll: i =
|
|
1052
|
+
onStop: l = xe,
|
|
1053
|
+
onScroll: i = xe,
|
|
1049
1054
|
offset: o = {
|
|
1050
1055
|
left: 0,
|
|
1051
1056
|
right: 0,
|
|
@@ -1060,20 +1065,20 @@ function nl(e, t = {}) {
|
|
|
1060
1065
|
passive: !0
|
|
1061
1066
|
},
|
|
1062
1067
|
behavior: A = "auto",
|
|
1063
|
-
window: d =
|
|
1068
|
+
window: d = qe,
|
|
1064
1069
|
onError: f = (p) => {
|
|
1065
1070
|
console.error(p);
|
|
1066
1071
|
}
|
|
1067
1072
|
} = t, I = typeof s == "boolean" ? {
|
|
1068
1073
|
mutation: s
|
|
1069
|
-
} : s,
|
|
1074
|
+
} : s, g = Ce(0), v = Ce(0), C = m({
|
|
1070
1075
|
get() {
|
|
1071
|
-
return
|
|
1076
|
+
return g.value;
|
|
1072
1077
|
},
|
|
1073
1078
|
set(p) {
|
|
1074
1079
|
E(p, void 0);
|
|
1075
1080
|
}
|
|
1076
|
-
}), D =
|
|
1081
|
+
}), D = m({
|
|
1077
1082
|
get() {
|
|
1078
1083
|
return v.value;
|
|
1079
1084
|
},
|
|
@@ -1082,19 +1087,19 @@ function nl(e, t = {}) {
|
|
|
1082
1087
|
}
|
|
1083
1088
|
});
|
|
1084
1089
|
function E(p, R) {
|
|
1085
|
-
var
|
|
1090
|
+
var x, j, h, N;
|
|
1086
1091
|
if (!d)
|
|
1087
1092
|
return;
|
|
1088
|
-
const
|
|
1089
|
-
if (!
|
|
1093
|
+
const O = te(e);
|
|
1094
|
+
if (!O)
|
|
1090
1095
|
return;
|
|
1091
|
-
(h =
|
|
1092
|
-
top: (
|
|
1096
|
+
(h = O instanceof Document ? d.document.body : O) == null || h.scrollTo({
|
|
1097
|
+
top: (x = te(R)) != null ? x : D.value,
|
|
1093
1098
|
left: (j = te(p)) != null ? j : C.value,
|
|
1094
1099
|
behavior: te(A)
|
|
1095
1100
|
});
|
|
1096
|
-
const X = ((N =
|
|
1097
|
-
C != null && (
|
|
1101
|
+
const X = ((N = O == null ? void 0 : O.document) == null ? void 0 : N.documentElement) || (O == null ? void 0 : O.documentElement) || O;
|
|
1102
|
+
C != null && (g.value = X.scrollLeft), D != null && (v.value = X.scrollTop);
|
|
1098
1103
|
}
|
|
1099
1104
|
const T = Ce(!1), M = Ct({
|
|
1100
1105
|
left: !0,
|
|
@@ -1108,24 +1113,24 @@ function nl(e, t = {}) {
|
|
|
1108
1113
|
bottom: !1
|
|
1109
1114
|
}), B = (p) => {
|
|
1110
1115
|
T.value && (T.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, l(p));
|
|
1111
|
-
}, Z = /* @__PURE__ */ Gn(B, a + n),
|
|
1116
|
+
}, Z = /* @__PURE__ */ Gn(B, a + n), q = (p) => {
|
|
1112
1117
|
var R;
|
|
1113
1118
|
if (!d)
|
|
1114
1119
|
return;
|
|
1115
|
-
const
|
|
1116
|
-
L.left = X <
|
|
1117
|
-
const
|
|
1118
|
-
j === "flex" && h === "row-reverse" ? (M.left = J, M.right =
|
|
1119
|
-
let Y =
|
|
1120
|
+
const x = ((R = p == null ? void 0 : p.document) == null ? void 0 : R.documentElement) || (p == null ? void 0 : p.documentElement) || pt(p), { display: j, flexDirection: h, direction: N } = getComputedStyle(x), O = N === "rtl" ? -1 : 1, X = x.scrollLeft;
|
|
1121
|
+
L.left = X < g.value, L.right = X > g.value;
|
|
1122
|
+
const F = Math.abs(X * O) <= (o.left || 0), J = Math.abs(X * O) + x.clientWidth >= x.scrollWidth - (o.right || 0) - Bt;
|
|
1123
|
+
j === "flex" && h === "row-reverse" ? (M.left = J, M.right = F) : (M.left = F, M.right = J), g.value = X;
|
|
1124
|
+
let Y = x.scrollTop;
|
|
1120
1125
|
p === d.document && !Y && (Y = d.document.body.scrollTop), L.top = Y < v.value, L.bottom = Y > v.value;
|
|
1121
|
-
const ee = Math.abs(Y) <= (o.top || 0), ne = Math.abs(Y) +
|
|
1126
|
+
const ee = Math.abs(Y) <= (o.top || 0), ne = Math.abs(Y) + x.clientHeight >= x.scrollHeight - (o.bottom || 0) - Bt;
|
|
1122
1127
|
j === "flex" && h === "column-reverse" ? (M.top = ne, M.bottom = ee) : (M.top = ee, M.bottom = ne), v.value = Y;
|
|
1123
1128
|
}, ae = (p) => {
|
|
1124
1129
|
var R;
|
|
1125
1130
|
if (!d)
|
|
1126
1131
|
return;
|
|
1127
|
-
const
|
|
1128
|
-
|
|
1132
|
+
const x = (R = p.target.documentElement) != null ? R : p.target;
|
|
1133
|
+
q(x), T.value = !0, Z(p), i(p);
|
|
1129
1134
|
};
|
|
1130
1135
|
return _e(
|
|
1131
1136
|
e,
|
|
@@ -1137,7 +1142,7 @@ function nl(e, t = {}) {
|
|
|
1137
1142
|
const p = te(e);
|
|
1138
1143
|
if (!p)
|
|
1139
1144
|
return;
|
|
1140
|
-
|
|
1145
|
+
q(p);
|
|
1141
1146
|
} catch (p) {
|
|
1142
1147
|
f(p);
|
|
1143
1148
|
}
|
|
@@ -1145,7 +1150,7 @@ function nl(e, t = {}) {
|
|
|
1145
1150
|
e,
|
|
1146
1151
|
() => {
|
|
1147
1152
|
const p = te(e);
|
|
1148
|
-
p &&
|
|
1153
|
+
p && q(p);
|
|
1149
1154
|
},
|
|
1150
1155
|
{
|
|
1151
1156
|
attributes: !0,
|
|
@@ -1165,7 +1170,7 @@ function nl(e, t = {}) {
|
|
|
1165
1170
|
directions: L,
|
|
1166
1171
|
measure() {
|
|
1167
1172
|
const p = te(e);
|
|
1168
|
-
d && p &&
|
|
1173
|
+
d && p && q(p);
|
|
1169
1174
|
}
|
|
1170
1175
|
};
|
|
1171
1176
|
}
|
|
@@ -1212,7 +1217,7 @@ function il(e, t = !1) {
|
|
|
1212
1217
|
const s = mt(te(e));
|
|
1213
1218
|
!s || !a.value || (zt && (n == null || n()), s.style.overflow = l, gt.delete(s), a.value = !1);
|
|
1214
1219
|
};
|
|
1215
|
-
return kt(o),
|
|
1220
|
+
return kt(o), m({
|
|
1216
1221
|
get() {
|
|
1217
1222
|
return a.value;
|
|
1218
1223
|
},
|
|
@@ -1225,7 +1230,7 @@ function il(e, t = !1) {
|
|
|
1225
1230
|
* tabbable 6.2.0
|
|
1226
1231
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
1227
1232
|
*/
|
|
1228
|
-
var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], et = /* @__PURE__ */ ga.join(","), Ia = typeof Element > "u",
|
|
1233
|
+
var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], et = /* @__PURE__ */ ga.join(","), Ia = typeof Element > "u", Oe = Ia ? function() {
|
|
1229
1234
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, tt = !Ia && Element.prototype.getRootNode ? function(e) {
|
|
1230
1235
|
var t;
|
|
1231
1236
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -1243,7 +1248,7 @@ var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1243
1248
|
if (at(t))
|
|
1244
1249
|
return [];
|
|
1245
1250
|
var l = Array.prototype.slice.apply(t.querySelectorAll(et));
|
|
1246
|
-
return a &&
|
|
1251
|
+
return a && Oe.call(t, et) && l.unshift(t), l = l.filter(n), l;
|
|
1247
1252
|
}, ha = function e(t, a, n) {
|
|
1248
1253
|
for (var l = [], i = Array.from(t); i.length; ) {
|
|
1249
1254
|
var o = i.shift();
|
|
@@ -1255,15 +1260,15 @@ var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1255
1260
|
candidates: A
|
|
1256
1261
|
});
|
|
1257
1262
|
} else {
|
|
1258
|
-
var d =
|
|
1263
|
+
var d = Oe.call(o, et);
|
|
1259
1264
|
d && n.filter(o) && (a || !t.includes(o)) && l.push(o);
|
|
1260
1265
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
1261
1266
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), I = !at(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
1262
1267
|
if (f && I) {
|
|
1263
|
-
var
|
|
1264
|
-
n.flatten ? l.push.apply(l,
|
|
1268
|
+
var g = e(f === !0 ? o.children : f.children, !0, n);
|
|
1269
|
+
n.flatten ? l.push.apply(l, g) : l.push({
|
|
1265
1270
|
scopeParent: o,
|
|
1266
|
-
candidates:
|
|
1271
|
+
candidates: g
|
|
1267
1272
|
});
|
|
1268
1273
|
} else
|
|
1269
1274
|
i.unshift.apply(i, o.children);
|
|
@@ -1331,8 +1336,8 @@ var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1331
1336
|
var n = a.displayCheck, l = a.getShadowRoot;
|
|
1332
1337
|
if (getComputedStyle(t).visibility === "hidden")
|
|
1333
1338
|
return !0;
|
|
1334
|
-
var i =
|
|
1335
|
-
if (
|
|
1339
|
+
var i = Oe.call(t, "details>summary:first-of-type"), o = i ? t.parentElement : t;
|
|
1340
|
+
if (Oe.call(o, "details:not([open]) *"))
|
|
1336
1341
|
return !0;
|
|
1337
1342
|
if (!n || n === "full" || n === "legacy-full") {
|
|
1338
1343
|
if (typeof l == "function") {
|
|
@@ -1358,7 +1363,7 @@ var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1358
1363
|
for (var n = 0; n < a.children.length; n++) {
|
|
1359
1364
|
var l = a.children.item(n);
|
|
1360
1365
|
if (l.tagName === "LEGEND")
|
|
1361
|
-
return
|
|
1366
|
+
return Oe.call(a, "fieldset[disabled] *") ? !0 : !l.contains(t);
|
|
1362
1367
|
}
|
|
1363
1368
|
return !0;
|
|
1364
1369
|
}
|
|
@@ -1410,11 +1415,11 @@ var ga = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1410
1415
|
}, Se = function(t, a) {
|
|
1411
1416
|
if (a = a || {}, !t)
|
|
1412
1417
|
throw new Error("No node provided");
|
|
1413
|
-
return
|
|
1418
|
+
return Oe.call(t, et) === !1 ? !1 : Mt(a, t);
|
|
1414
1419
|
}, Ml = /* @__PURE__ */ ga.concat("iframe").join(","), It = function(t, a) {
|
|
1415
1420
|
if (a = a || {}, !t)
|
|
1416
1421
|
throw new Error("No node provided");
|
|
1417
|
-
return
|
|
1422
|
+
return Oe.call(t, Ml) === !1 ? !1 : nt(a, t);
|
|
1418
1423
|
};
|
|
1419
1424
|
/*!
|
|
1420
1425
|
* focus-trap 7.6.5
|
|
@@ -1429,7 +1434,7 @@ function El(e) {
|
|
|
1429
1434
|
if (Array.isArray(e)) return Et(e);
|
|
1430
1435
|
}
|
|
1431
1436
|
function Nl(e, t, a) {
|
|
1432
|
-
return (t =
|
|
1437
|
+
return (t = xl(t)) in e ? Object.defineProperty(e, t, {
|
|
1433
1438
|
value: a,
|
|
1434
1439
|
enumerable: !0,
|
|
1435
1440
|
configurable: !0,
|
|
@@ -1465,7 +1470,7 @@ function Ut(e) {
|
|
|
1465
1470
|
return e;
|
|
1466
1471
|
}
|
|
1467
1472
|
function Ll(e) {
|
|
1468
|
-
return El(e) || Tl(e) ||
|
|
1473
|
+
return El(e) || Tl(e) || Ol(e) || Dl();
|
|
1469
1474
|
}
|
|
1470
1475
|
function wl(e, t) {
|
|
1471
1476
|
if (typeof e != "object" || !e) return e;
|
|
@@ -1477,11 +1482,11 @@ function wl(e, t) {
|
|
|
1477
1482
|
}
|
|
1478
1483
|
return (t === "string" ? String : Number)(e);
|
|
1479
1484
|
}
|
|
1480
|
-
function
|
|
1485
|
+
function xl(e) {
|
|
1481
1486
|
var t = wl(e, "string");
|
|
1482
1487
|
return typeof t == "symbol" ? t : t + "";
|
|
1483
1488
|
}
|
|
1484
|
-
function
|
|
1489
|
+
function Ol(e, t) {
|
|
1485
1490
|
if (e) {
|
|
1486
1491
|
if (typeof e == "string") return Et(e, t);
|
|
1487
1492
|
var a = {}.toString.call(e).slice(8, -1);
|
|
@@ -1563,22 +1568,22 @@ var Vt = {
|
|
|
1563
1568
|
delayInitialFocusTimer: void 0,
|
|
1564
1569
|
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
1565
1570
|
recentNavEvent: void 0
|
|
1566
|
-
}, s, c = function(h, N,
|
|
1567
|
-
return h && h[N] !== void 0 ? h[N] : i[
|
|
1571
|
+
}, s, c = function(h, N, O) {
|
|
1572
|
+
return h && h[N] !== void 0 ? h[N] : i[O || N];
|
|
1568
1573
|
}, A = function(h, N) {
|
|
1569
|
-
var
|
|
1574
|
+
var O = typeof (N == null ? void 0 : N.composedPath) == "function" ? N.composedPath() : void 0;
|
|
1570
1575
|
return o.containerGroups.findIndex(function(X) {
|
|
1571
|
-
var
|
|
1572
|
-
return
|
|
1576
|
+
var F = X.container, J = X.tabbableNodes;
|
|
1577
|
+
return F.contains(h) || // fall back to explicit tabbable search which will take into consideration any
|
|
1573
1578
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
1574
1579
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
1575
1580
|
// look inside web components even if open)
|
|
1576
|
-
(
|
|
1581
|
+
(O == null ? void 0 : O.includes(F)) || J.find(function(Y) {
|
|
1577
1582
|
return Y === h;
|
|
1578
1583
|
});
|
|
1579
1584
|
});
|
|
1580
1585
|
}, d = function(h) {
|
|
1581
|
-
var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
1586
|
+
var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, O = N.hasFallback, X = O === void 0 ? !1 : O, F = N.params, J = F === void 0 ? [] : F, Y = i[h];
|
|
1582
1587
|
if (typeof Y == "function" && (Y = Y.apply(void 0, Ll(J))), Y === !0 && (Y = void 0), !Y) {
|
|
1583
1588
|
if (Y === void 0 || Y === !1)
|
|
1584
1589
|
return Y;
|
|
@@ -1605,8 +1610,8 @@ var Vt = {
|
|
|
1605
1610
|
if (A(n.activeElement) >= 0)
|
|
1606
1611
|
h = n.activeElement;
|
|
1607
1612
|
else {
|
|
1608
|
-
var N = o.tabbableGroups[0],
|
|
1609
|
-
h =
|
|
1613
|
+
var N = o.tabbableGroups[0], O = N && N.firstTabbableNode;
|
|
1614
|
+
h = O || d("fallbackFocus");
|
|
1610
1615
|
}
|
|
1611
1616
|
else h === null && (h = d("fallbackFocus"));
|
|
1612
1617
|
if (!h)
|
|
@@ -1614,9 +1619,9 @@ var Vt = {
|
|
|
1614
1619
|
return h;
|
|
1615
1620
|
}, I = function() {
|
|
1616
1621
|
if (o.containerGroups = o.containers.map(function(h) {
|
|
1617
|
-
var N = yl(h, i.tabbableOptions),
|
|
1622
|
+
var N = yl(h, i.tabbableOptions), O = Cl(h, i.tabbableOptions), X = N.length > 0 ? N[0] : void 0, F = N.length > 0 ? N[N.length - 1] : void 0, J = O.find(function(ne) {
|
|
1618
1623
|
return Se(ne);
|
|
1619
|
-
}), Y =
|
|
1624
|
+
}), Y = O.slice().reverse().find(function(ne) {
|
|
1620
1625
|
return Se(ne);
|
|
1621
1626
|
}), ee = !!N.find(function(ne) {
|
|
1622
1627
|
return De(ne) > 0;
|
|
@@ -1624,13 +1629,13 @@ var Vt = {
|
|
|
1624
1629
|
return {
|
|
1625
1630
|
container: h,
|
|
1626
1631
|
tabbableNodes: N,
|
|
1627
|
-
focusableNodes:
|
|
1632
|
+
focusableNodes: O,
|
|
1628
1633
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
1629
1634
|
posTabIndexesFound: ee,
|
|
1630
1635
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
1631
1636
|
firstTabbableNode: X,
|
|
1632
1637
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
1633
|
-
lastTabbableNode:
|
|
1638
|
+
lastTabbableNode: F,
|
|
1634
1639
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
1635
1640
|
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
|
1636
1641
|
// because that API doesn't work with Shadow DOM as well as it should (@see
|
|
@@ -1652,9 +1657,9 @@ var Vt = {
|
|
|
1652
1657
|
*/
|
|
1653
1658
|
nextTabbableNode: function(Ne) {
|
|
1654
1659
|
var je = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Me = N.indexOf(Ne);
|
|
1655
|
-
return Me < 0 ? je ?
|
|
1660
|
+
return Me < 0 ? je ? O.slice(O.indexOf(Ne) + 1).find(function(ze) {
|
|
1656
1661
|
return Se(ze);
|
|
1657
|
-
}) :
|
|
1662
|
+
}) : O.slice(0, O.indexOf(Ne)).reverse().find(function(ze) {
|
|
1658
1663
|
return Se(ze);
|
|
1659
1664
|
}) : N[Me + (je ? 1 : -1)];
|
|
1660
1665
|
}
|
|
@@ -1667,12 +1672,12 @@ var Vt = {
|
|
|
1667
1672
|
return h.posTabIndexesFound;
|
|
1668
1673
|
}) && o.containerGroups.length > 1)
|
|
1669
1674
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
1670
|
-
},
|
|
1675
|
+
}, g = function(h) {
|
|
1671
1676
|
var N = h.activeElement;
|
|
1672
1677
|
if (N)
|
|
1673
|
-
return N.shadowRoot && N.shadowRoot.activeElement !== null ?
|
|
1678
|
+
return N.shadowRoot && N.shadowRoot.activeElement !== null ? g(N.shadowRoot) : N;
|
|
1674
1679
|
}, v = function(h) {
|
|
1675
|
-
if (h !== !1 && h !==
|
|
1680
|
+
if (h !== !1 && h !== g(document)) {
|
|
1676
1681
|
if (!h || !h.focus) {
|
|
1677
1682
|
v(f());
|
|
1678
1683
|
return;
|
|
@@ -1687,14 +1692,14 @@ var Vt = {
|
|
|
1687
1692
|
});
|
|
1688
1693
|
return N || (N === !1 ? !1 : h);
|
|
1689
1694
|
}, D = function(h) {
|
|
1690
|
-
var N = h.target,
|
|
1691
|
-
N = N || Ke(
|
|
1695
|
+
var N = h.target, O = h.event, X = h.isBackward, F = X === void 0 ? !1 : X;
|
|
1696
|
+
N = N || Ke(O), I();
|
|
1692
1697
|
var J = null;
|
|
1693
1698
|
if (o.tabbableGroups.length > 0) {
|
|
1694
|
-
var Y = A(N,
|
|
1699
|
+
var Y = A(N, O), ee = Y >= 0 ? o.containerGroups[Y] : void 0;
|
|
1695
1700
|
if (Y < 0)
|
|
1696
|
-
|
|
1697
|
-
else if (
|
|
1701
|
+
F ? J = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : J = o.tabbableGroups[0].firstTabbableNode;
|
|
1702
|
+
else if (F) {
|
|
1698
1703
|
var ne = o.tabbableGroups.findIndex(function(dt) {
|
|
1699
1704
|
var ft = dt.firstTabbableNode;
|
|
1700
1705
|
return N === ft;
|
|
@@ -1702,7 +1707,7 @@ var Vt = {
|
|
|
1702
1707
|
if (ne < 0 && (ee.container === N || It(N, i.tabbableOptions) && !Se(N, i.tabbableOptions) && !ee.nextTabbableNode(N, !1)) && (ne = Y), ne >= 0) {
|
|
1703
1708
|
var Ne = ne === 0 ? o.tabbableGroups.length - 1 : ne - 1, je = o.tabbableGroups[Ne];
|
|
1704
1709
|
J = De(N) >= 0 ? je.lastTabbableNode : je.lastDomTabbableNode;
|
|
1705
|
-
} else Ze(
|
|
1710
|
+
} else Ze(O) || (J = ee.nextTabbableNode(N, !1));
|
|
1706
1711
|
} else {
|
|
1707
1712
|
var Me = o.tabbableGroups.findIndex(function(dt) {
|
|
1708
1713
|
var ft = dt.lastTabbableNode;
|
|
@@ -1711,7 +1716,7 @@ var Vt = {
|
|
|
1711
1716
|
if (Me < 0 && (ee.container === N || It(N, i.tabbableOptions) && !Se(N, i.tabbableOptions) && !ee.nextTabbableNode(N)) && (Me = Y), Me >= 0) {
|
|
1712
1717
|
var ze = Me === o.tabbableGroups.length - 1 ? 0 : Me + 1, jt = o.tabbableGroups[ze];
|
|
1713
1718
|
J = De(N) >= 0 ? jt.firstTabbableNode : jt.firstDomTabbableNode;
|
|
1714
|
-
} else Ze(
|
|
1719
|
+
} else Ze(O) || (J = ee.nextTabbableNode(N));
|
|
1715
1720
|
}
|
|
1716
1721
|
} else
|
|
1717
1722
|
J = d("fallbackFocus");
|
|
@@ -1734,12 +1739,12 @@ var Vt = {
|
|
|
1734
1739
|
Pe(i.allowOutsideClick, h) || h.preventDefault();
|
|
1735
1740
|
}
|
|
1736
1741
|
}, T = function(h) {
|
|
1737
|
-
var N = Ke(h),
|
|
1738
|
-
if (
|
|
1739
|
-
|
|
1742
|
+
var N = Ke(h), O = A(N, h) >= 0;
|
|
1743
|
+
if (O || N instanceof Document)
|
|
1744
|
+
O && (o.mostRecentlyFocusedNode = N);
|
|
1740
1745
|
else {
|
|
1741
1746
|
h.stopImmediatePropagation();
|
|
1742
|
-
var X,
|
|
1747
|
+
var X, F = !0;
|
|
1743
1748
|
if (o.mostRecentlyFocusedNode)
|
|
1744
1749
|
if (De(o.mostRecentlyFocusedNode) > 0) {
|
|
1745
1750
|
var J = A(o.mostRecentlyFocusedNode), Y = o.containerGroups[J].tabbableNodes;
|
|
@@ -1747,17 +1752,17 @@ var Vt = {
|
|
|
1747
1752
|
var ee = Y.findIndex(function(ne) {
|
|
1748
1753
|
return ne === o.mostRecentlyFocusedNode;
|
|
1749
1754
|
});
|
|
1750
|
-
ee >= 0 && (i.isKeyForward(o.recentNavEvent) ? ee + 1 < Y.length && (X = Y[ee + 1],
|
|
1755
|
+
ee >= 0 && (i.isKeyForward(o.recentNavEvent) ? ee + 1 < Y.length && (X = Y[ee + 1], F = !1) : ee - 1 >= 0 && (X = Y[ee - 1], F = !1));
|
|
1751
1756
|
}
|
|
1752
1757
|
} else
|
|
1753
1758
|
o.containerGroups.some(function(ne) {
|
|
1754
1759
|
return ne.tabbableNodes.some(function(Ne) {
|
|
1755
1760
|
return De(Ne) > 0;
|
|
1756
1761
|
});
|
|
1757
|
-
}) || (
|
|
1762
|
+
}) || (F = !1);
|
|
1758
1763
|
else
|
|
1759
|
-
|
|
1760
|
-
|
|
1764
|
+
F = !1;
|
|
1765
|
+
F && (X = D({
|
|
1761
1766
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
1762
1767
|
// outside the trap causing the focus escape we're trying to fix)
|
|
1763
1768
|
target: o.mostRecentlyFocusedNode,
|
|
@@ -1768,11 +1773,11 @@ var Vt = {
|
|
|
1768
1773
|
}, M = function(h) {
|
|
1769
1774
|
var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
1770
1775
|
o.recentNavEvent = h;
|
|
1771
|
-
var
|
|
1776
|
+
var O = D({
|
|
1772
1777
|
event: h,
|
|
1773
1778
|
isBackward: N
|
|
1774
1779
|
});
|
|
1775
|
-
|
|
1780
|
+
O && (Ze(h) && h.preventDefault(), v(O));
|
|
1776
1781
|
}, L = function(h) {
|
|
1777
1782
|
(i.isKeyForward(h) || i.isKeyBackward(h)) && M(h, i.isKeyBackward(h));
|
|
1778
1783
|
}, B = function(h) {
|
|
@@ -1780,7 +1785,7 @@ var Vt = {
|
|
|
1780
1785
|
}, Z = function(h) {
|
|
1781
1786
|
var N = Ke(h);
|
|
1782
1787
|
A(N, h) >= 0 || Pe(i.clickOutsideDeactivates, h) || Pe(i.allowOutsideClick, h) || (h.preventDefault(), h.stopImmediatePropagation());
|
|
1783
|
-
},
|
|
1788
|
+
}, q = function() {
|
|
1784
1789
|
if (o.active)
|
|
1785
1790
|
return Vt.activateTrap(l, s), o.delayInitialFocusTimer = i.delayInitialFocus ? Ht(function() {
|
|
1786
1791
|
v(f());
|
|
@@ -1801,14 +1806,14 @@ var Vt = {
|
|
|
1801
1806
|
if (o.active)
|
|
1802
1807
|
return n.removeEventListener("focusin", T, !0), n.removeEventListener("mousedown", E, !0), n.removeEventListener("touchstart", E, !0), n.removeEventListener("click", Z, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", B), s;
|
|
1803
1808
|
}, p = function(h) {
|
|
1804
|
-
var N = h.some(function(
|
|
1805
|
-
var X = Array.from(
|
|
1806
|
-
return X.some(function(
|
|
1807
|
-
return
|
|
1809
|
+
var N = h.some(function(O) {
|
|
1810
|
+
var X = Array.from(O.removedNodes);
|
|
1811
|
+
return X.some(function(F) {
|
|
1812
|
+
return F === o.mostRecentlyFocusedNode;
|
|
1808
1813
|
});
|
|
1809
1814
|
});
|
|
1810
1815
|
N && v(f());
|
|
1811
|
-
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(p) : void 0,
|
|
1816
|
+
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(p) : void 0, x = function() {
|
|
1812
1817
|
R && (R.disconnect(), o.active && !o.paused && o.containers.map(function(h) {
|
|
1813
1818
|
R.observe(h, {
|
|
1814
1819
|
subtree: !0,
|
|
@@ -1826,12 +1831,12 @@ var Vt = {
|
|
|
1826
1831
|
activate: function(h) {
|
|
1827
1832
|
if (o.active)
|
|
1828
1833
|
return this;
|
|
1829
|
-
var N = c(h, "onActivate"),
|
|
1830
|
-
X || I(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation =
|
|
1831
|
-
var
|
|
1832
|
-
X && I(),
|
|
1834
|
+
var N = c(h, "onActivate"), O = c(h, "onPostActivate"), X = c(h, "checkCanFocusTrap");
|
|
1835
|
+
X || I(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = g(n), N == null || N();
|
|
1836
|
+
var F = function() {
|
|
1837
|
+
X && I(), q(), x(), O == null || O();
|
|
1833
1838
|
};
|
|
1834
|
-
return X ? (X(o.containers.concat()).then(
|
|
1839
|
+
return X ? (X(o.containers.concat()).then(F, F), this) : (F(), this);
|
|
1835
1840
|
},
|
|
1836
1841
|
deactivate: function(h) {
|
|
1837
1842
|
if (!o.active)
|
|
@@ -1841,15 +1846,15 @@ var Vt = {
|
|
|
1841
1846
|
onPostDeactivate: i.onPostDeactivate,
|
|
1842
1847
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
1843
1848
|
}, h);
|
|
1844
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, ae(), o.active = !1, o.paused = !1,
|
|
1845
|
-
var
|
|
1846
|
-
|
|
1849
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, ae(), o.active = !1, o.paused = !1, x(), Vt.deactivateTrap(l, s);
|
|
1850
|
+
var O = c(N, "onDeactivate"), X = c(N, "onPostDeactivate"), F = c(N, "checkCanReturnFocus"), J = c(N, "returnFocus", "returnFocusOnDeactivate");
|
|
1851
|
+
O == null || O();
|
|
1847
1852
|
var Y = function() {
|
|
1848
1853
|
Ht(function() {
|
|
1849
1854
|
J && v(C(o.nodeFocusedBeforeActivation)), X == null || X();
|
|
1850
1855
|
});
|
|
1851
1856
|
};
|
|
1852
|
-
return J &&
|
|
1857
|
+
return J && F ? (F(C(o.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
|
|
1853
1858
|
},
|
|
1854
1859
|
pause: function(h) {
|
|
1855
1860
|
return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, h)) : this;
|
|
@@ -1859,9 +1864,9 @@ var Vt = {
|
|
|
1859
1864
|
},
|
|
1860
1865
|
updateContainerElements: function(h) {
|
|
1861
1866
|
var N = [].concat(h).filter(Boolean);
|
|
1862
|
-
return o.containers = N.map(function(
|
|
1863
|
-
return typeof
|
|
1864
|
-
}), o.active && I(),
|
|
1867
|
+
return o.containers = N.map(function(O) {
|
|
1868
|
+
return typeof O == "string" ? n.querySelector(O) : O;
|
|
1869
|
+
}), o.active && I(), x(), this;
|
|
1865
1870
|
}
|
|
1866
1871
|
}, Object.defineProperties(s, {
|
|
1867
1872
|
_isManuallyPaused: {
|
|
@@ -1874,11 +1879,11 @@ var Vt = {
|
|
|
1874
1879
|
if (o.paused === h)
|
|
1875
1880
|
return this;
|
|
1876
1881
|
if (o.paused = h, h) {
|
|
1877
|
-
var
|
|
1878
|
-
|
|
1882
|
+
var O = c(N, "onPause"), X = c(N, "onPostPause");
|
|
1883
|
+
O == null || O(), ae(), x(), X == null || X();
|
|
1879
1884
|
} else {
|
|
1880
|
-
var
|
|
1881
|
-
|
|
1885
|
+
var F = c(N, "onUnpause"), J = c(N, "onPostUnpause");
|
|
1886
|
+
F == null || F(), I(), q(), x(), J == null || J();
|
|
1882
1887
|
}
|
|
1883
1888
|
return this;
|
|
1884
1889
|
}
|
|
@@ -1937,7 +1942,7 @@ const zl = {
|
|
|
1937
1942
|
},
|
|
1938
1943
|
setup(e, { slots: t, emit: a }) {
|
|
1939
1944
|
let n;
|
|
1940
|
-
const l = z(null), i =
|
|
1945
|
+
const l = z(null), i = m(() => {
|
|
1941
1946
|
const s = l.value;
|
|
1942
1947
|
return s && (s instanceof HTMLElement ? s : s.$el);
|
|
1943
1948
|
});
|
|
@@ -2012,7 +2017,7 @@ const zl = {
|
|
|
2012
2017
|
e.backdrop ? (u(), b("div", Pl)) : w("", !0),
|
|
2013
2018
|
U(r(Ea), {
|
|
2014
2019
|
"initial-focus": "drawerRef",
|
|
2015
|
-
onDeactivate: I[0] || (I[0] = (
|
|
2020
|
+
onDeactivate: I[0] || (I[0] = (g) => n("escapePressed"))
|
|
2016
2021
|
}, {
|
|
2017
2022
|
default: K(() => [
|
|
2018
2023
|
y("div", {
|
|
@@ -2065,7 +2070,7 @@ function st() {
|
|
|
2065
2070
|
}
|
|
2066
2071
|
};
|
|
2067
2072
|
}
|
|
2068
|
-
const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-controls"],
|
|
2073
|
+
const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-controls"], Fl = { class: "title-container av-row av-gap-sm" }, ql = { class: "n6" }, Kl = ["id", "aria-labelledby"], Gl = { class: "accordion-content-container av-pt-sm" }, Jl = /* @__PURE__ */ k({
|
|
2069
2074
|
__name: "AvAccordion",
|
|
2070
2075
|
props: {
|
|
2071
2076
|
id: {},
|
|
@@ -2080,12 +2085,12 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2080
2085
|
cssExpanded: n,
|
|
2081
2086
|
doExpand: l,
|
|
2082
2087
|
onTransitionEnd: i
|
|
2083
|
-
} = st(), o =
|
|
2088
|
+
} = st(), o = m(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = m(() => `${o.value}-panel`), c = z(), A = z(null), d = ot(oa), { isActive: f, expand: I, onKeydown: g, setTriggerRef: v } = (d == null ? void 0 : d(Dt(() => e.title))) ?? {
|
|
2084
2089
|
isActive: c,
|
|
2085
2090
|
expand: () => c.value = !c.value,
|
|
2086
2091
|
onKeydown: void 0,
|
|
2087
2092
|
setTriggerRef: void 0
|
|
2088
|
-
}, C =
|
|
2093
|
+
}, C = m(() => ({
|
|
2089
2094
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
2090
2095
|
}));
|
|
2091
2096
|
return fe(() => {
|
|
@@ -2109,16 +2114,16 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2109
2114
|
onClick: E[0] || (E[0] = //@ts-ignore
|
|
2110
2115
|
(...M) => r(I) && r(I)(...M)),
|
|
2111
2116
|
onKeydown: E[1] || (E[1] = //@ts-ignore
|
|
2112
|
-
(...M) => r(
|
|
2117
|
+
(...M) => r(g) && r(g)(...M))
|
|
2113
2118
|
}, [
|
|
2114
|
-
y("div",
|
|
2119
|
+
y("div", Fl, [
|
|
2115
2120
|
e.icon ? (u(), S(T, {
|
|
2116
2121
|
key: 0,
|
|
2117
2122
|
size: 2,
|
|
2118
2123
|
name: e.icon,
|
|
2119
2124
|
color: "var(--icon)"
|
|
2120
2125
|
}, null, 8, ["name"])) : w("", !0),
|
|
2121
|
-
y("span",
|
|
2126
|
+
y("span", ql, W(e.title), 1)
|
|
2122
2127
|
])
|
|
2123
2128
|
], 44, Xl)
|
|
2124
2129
|
]),
|
|
@@ -2155,7 +2160,7 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2155
2160
|
},
|
|
2156
2161
|
emits: ["update:activeAccordion"],
|
|
2157
2162
|
setup(e, { emit: t }) {
|
|
2158
|
-
const a = t, n = z(e.activeAccordion ?? -1), l =
|
|
2163
|
+
const a = t, n = z(e.activeAccordion ?? -1), l = m({
|
|
2159
2164
|
get: () => n.value,
|
|
2160
2165
|
set(f) {
|
|
2161
2166
|
n.value = f, a("update:activeAccordion", f);
|
|
@@ -2169,16 +2174,16 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2169
2174
|
(I = s.value[f]) == null || I.focus();
|
|
2170
2175
|
}
|
|
2171
2176
|
function d(f, I) {
|
|
2172
|
-
const
|
|
2173
|
-
if (!
|
|
2177
|
+
const g = s.value.length;
|
|
2178
|
+
if (!g)
|
|
2174
2179
|
return;
|
|
2175
|
-
const v = (f + I +
|
|
2180
|
+
const v = (f + I + g) % g;
|
|
2176
2181
|
A(v);
|
|
2177
2182
|
}
|
|
2178
|
-
return
|
|
2183
|
+
return Ot(oa, (f) => {
|
|
2179
2184
|
const I = o.value++;
|
|
2180
2185
|
i.value.set(I, f.value);
|
|
2181
|
-
const
|
|
2186
|
+
const g = m(() => I === l.value);
|
|
2182
2187
|
re(f, () => {
|
|
2183
2188
|
i.value.set(I, f.value);
|
|
2184
2189
|
});
|
|
@@ -2210,7 +2215,7 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2210
2215
|
}
|
|
2211
2216
|
return me(() => {
|
|
2212
2217
|
i.value.delete(I);
|
|
2213
|
-
}), { isActive:
|
|
2218
|
+
}), { isActive: g, expand: v, onKeydown: C, setTriggerRef: D };
|
|
2214
2219
|
}), (f, I) => (u(), b("div", $l, [
|
|
2215
2220
|
V(f.$slots, "default")
|
|
2216
2221
|
]));
|
|
@@ -2255,7 +2260,7 @@ const ei = {
|
|
|
2255
2260
|
/* 90rem */
|
|
2256
2261
|
};
|
|
2257
2262
|
function ct() {
|
|
2258
|
-
const e = /* @__PURE__ */ al(ei), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), l = e.smaller("xl"), i = e.greater("md"), o = e.greater("lg"), s = a, c =
|
|
2263
|
+
const e = /* @__PURE__ */ al(ei), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), l = e.smaller("xl"), i = e.greater("md"), o = e.greater("lg"), s = a, c = m(() => i.value && n.value), A = o, d = e.active();
|
|
2259
2264
|
return {
|
|
2260
2265
|
isMobile: s,
|
|
2261
2266
|
isTablet: c,
|
|
@@ -2341,7 +2346,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2341
2346
|
style: ue(`top: ${r(i).top}rem; left: ${r(i).left}rem;`),
|
|
2342
2347
|
onKeydown: I[0] || (I[0] = Ae(ge(
|
|
2343
2348
|
//@ts-ignore
|
|
2344
|
-
(...
|
|
2349
|
+
(...g) => r(s) && r(s)(...g),
|
|
2345
2350
|
["prevent"]
|
|
2346
2351
|
), ["esc"]))
|
|
2347
2352
|
}, [
|
|
@@ -2420,13 +2425,13 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2420
2425
|
},
|
|
2421
2426
|
emits: ["select"],
|
|
2422
2427
|
setup(e, { emit: t }) {
|
|
2423
|
-
const a = t, { isBelowLg: n } = ct(), l =
|
|
2428
|
+
const a = t, { isBelowLg: n } = ct(), l = m(() => e.id ?? `language-selector-${crypto.randomUUID()}`), i = m(
|
|
2424
2429
|
() => e.languages.find(({ codeIso: A }) => A === e.currentLanguage)
|
|
2425
|
-
), o =
|
|
2430
|
+
), o = m(() => {
|
|
2426
2431
|
var f, I;
|
|
2427
2432
|
const A = ((f = i.value) == null ? void 0 : f.codeIso.toUpperCase()) ?? "", d = `${A} - ${(I = i.value) == null ? void 0 : I.label}`;
|
|
2428
2433
|
return n.value ? d : A;
|
|
2429
|
-
}), s =
|
|
2434
|
+
}), s = m(() => e.languages.map((A) => ({
|
|
2430
2435
|
name: A.codeIso,
|
|
2431
2436
|
label: `${A.codeIso.toUpperCase()} - ${A.label}`
|
|
2432
2437
|
})));
|
|
@@ -2518,9 +2523,9 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2518
2523
|
}),
|
|
2519
2524
|
emits: ["update:modelValue"],
|
|
2520
2525
|
setup(e) {
|
|
2521
|
-
const t =
|
|
2526
|
+
const t = m(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = m(() => e.errorMessage || e.validMessage), n = m(() => a.value ? `message-${t.value}` : void 0), l = we(e, "modelValue"), i = m(() => l.value.includes(e.value)), o = m(() => i.value ? H.CHECKBOX_MARKED : H.CHECKBOX_BLANK_OUTLINE), s = m(() => i.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = m(() => e.small ? 1 : 1.5), A = m(() => e.small ? i.value ? "caption-bold" : "caption-regular" : i.value ? "b2-bold" : "b2-regular");
|
|
2522
2527
|
return (d, f) => {
|
|
2523
|
-
const I = le,
|
|
2528
|
+
const I = le, g = Qe, v = ca;
|
|
2524
2529
|
return u(), S(v, {
|
|
2525
2530
|
inline: e.inline,
|
|
2526
2531
|
disabled: e.disabled
|
|
@@ -2575,7 +2580,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2575
2580
|
]),
|
|
2576
2581
|
e.hint ? (u(), b("span", gi, W(e.hint), 1)) : w("", !0)
|
|
2577
2582
|
], 8, vi),
|
|
2578
|
-
U(
|
|
2583
|
+
U(g, {
|
|
2579
2584
|
"message-id": r(n),
|
|
2580
2585
|
type: e.errorMessage ? "error" : "success",
|
|
2581
2586
|
message: r(a)
|
|
@@ -2597,7 +2602,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2597
2602
|
inline: { type: Boolean, default: !1 }
|
|
2598
2603
|
},
|
|
2599
2604
|
setup(e) {
|
|
2600
|
-
const t =
|
|
2605
|
+
const t = m(() => e.id ?? `checkboxes-group-${crypto.randomUUID()}`);
|
|
2601
2606
|
return (a, n) => {
|
|
2602
2607
|
const l = sa;
|
|
2603
2608
|
return u(), S(l, {
|
|
@@ -2642,10 +2647,10 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2642
2647
|
}), Ci = { class: "file-upload-content" }, Mi = { class: "left-content-container" }, Ei = { class: "content-container" }, Ni = { key: 0 }, Ti = { class: "b2-bold" }, Di = {
|
|
2643
2648
|
key: 1,
|
|
2644
2649
|
class: "title-container"
|
|
2645
|
-
}, Li = { class: "b2-regular" }, wi = { class: "caption-light" },
|
|
2650
|
+
}, Li = { class: "b2-regular" }, wi = { class: "caption-light" }, xi = {
|
|
2646
2651
|
key: 0,
|
|
2647
2652
|
class: "right-icon-container"
|
|
2648
|
-
},
|
|
2653
|
+
}, Oi = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], Si = { class: "caption-light" }, ki = /* @__PURE__ */ k({
|
|
2649
2654
|
inheritAttrs: !1,
|
|
2650
2655
|
__name: "AvFileUpload",
|
|
2651
2656
|
props: {
|
|
@@ -2670,7 +2675,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2670
2675
|
oe((v) => ({
|
|
2671
2676
|
v8df8b300: v.maxWidth
|
|
2672
2677
|
}));
|
|
2673
|
-
const a = t, n =
|
|
2678
|
+
const a = t, n = m(() => e.id ?? `file-upload-${crypto.randomUUID()}`), l = m(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), i = z(!1);
|
|
2674
2679
|
function o(v) {
|
|
2675
2680
|
const C = l.value;
|
|
2676
2681
|
return C ? C.split(",").map((E) => E.trim().toLowerCase()).some((E) => E.startsWith(".") ? v.name.toLowerCase().endsWith(E) : E.includes("/") ? v.type === E || v.type.startsWith(`${E.split("/")[0]}/`) : !1) : !0;
|
|
@@ -2692,7 +2697,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2692
2697
|
const C = v.target.files;
|
|
2693
2698
|
a("change", C), a("update:modelValue", (C == null ? void 0 : C[0]) ?? null);
|
|
2694
2699
|
}
|
|
2695
|
-
const f =
|
|
2700
|
+
const f = m(() => e.fileName || e.modelValue && !e.enableMultiple), I = m(() => ({
|
|
2696
2701
|
for: n.value,
|
|
2697
2702
|
class: [
|
|
2698
2703
|
"av-upload-group",
|
|
@@ -2708,7 +2713,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2708
2713
|
onDragleave: A,
|
|
2709
2714
|
onDrop: s
|
|
2710
2715
|
}));
|
|
2711
|
-
function
|
|
2716
|
+
function g(v) {
|
|
2712
2717
|
var C;
|
|
2713
2718
|
v ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (C = e.onDeleteFile) == null || C.call(e);
|
|
2714
2719
|
}
|
|
@@ -2742,12 +2747,12 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2742
2747
|
error: e.error
|
|
2743
2748
|
}, null, 8, ["valid-message", "error"])
|
|
2744
2749
|
]),
|
|
2745
|
-
e.disabled ? w("", !0) : (u(), b("div",
|
|
2750
|
+
e.disabled ? w("", !0) : (u(), b("div", xi, [
|
|
2746
2751
|
r(f) ? (u(), S(se, {
|
|
2747
2752
|
key: 0,
|
|
2748
2753
|
label: e.deleteButtonLabel,
|
|
2749
2754
|
theme: "SECONDARY",
|
|
2750
|
-
onClick: C[0] || (C[0] = () =>
|
|
2755
|
+
onClick: C[0] || (C[0] = () => g(e.modelValue))
|
|
2751
2756
|
}, null, 8, ["label"])) : (u(), S(le, {
|
|
2752
2757
|
key: 1,
|
|
2753
2758
|
size: 1.5,
|
|
@@ -2766,7 +2771,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2766
2771
|
"aria-disabled": e.disabled,
|
|
2767
2772
|
accept: r(l),
|
|
2768
2773
|
onChange: C[1] || (C[1] = (D) => d(D))
|
|
2769
|
-
}), null, 16,
|
|
2774
|
+
}), null, 16, Oi))
|
|
2770
2775
|
])
|
|
2771
2776
|
], 2)
|
|
2772
2777
|
]),
|
|
@@ -2955,7 +2960,7 @@ const Zi = {
|
|
|
2955
2960
|
long: "{{date}} 'at' {{time}}",
|
|
2956
2961
|
medium: "{{date}}, {{time}}",
|
|
2957
2962
|
short: "{{date}}, {{time}}"
|
|
2958
|
-
},
|
|
2963
|
+
}, Fi = {
|
|
2959
2964
|
date: bt({
|
|
2960
2965
|
formats: Zi,
|
|
2961
2966
|
defaultWidth: "full"
|
|
@@ -2968,14 +2973,14 @@ const Zi = {
|
|
|
2968
2973
|
formats: Xi,
|
|
2969
2974
|
defaultWidth: "full"
|
|
2970
2975
|
})
|
|
2971
|
-
},
|
|
2976
|
+
}, qi = {
|
|
2972
2977
|
lastWeek: "'last' eeee 'at' p",
|
|
2973
2978
|
yesterday: "'yesterday at' p",
|
|
2974
2979
|
today: "'today at' p",
|
|
2975
2980
|
tomorrow: "'tomorrow at' p",
|
|
2976
2981
|
nextWeek: "eeee 'at' p",
|
|
2977
2982
|
other: "P"
|
|
2978
|
-
}, Ki = (e, t, a, n) =>
|
|
2983
|
+
}, Ki = (e, t, a, n) => qi[e];
|
|
2979
2984
|
function We(e) {
|
|
2980
2985
|
return (t, a) => {
|
|
2981
2986
|
const n = a != null && a.context ? String(a.context) : "standalone";
|
|
@@ -3289,7 +3294,7 @@ const or = /^(\d+)(th|st|nd|rd)?/i, sr = /\d+/i, cr = {
|
|
|
3289
3294
|
}, yr = {
|
|
3290
3295
|
code: "en-US",
|
|
3291
3296
|
formatDistance: Ri,
|
|
3292
|
-
formatLong:
|
|
3297
|
+
formatLong: Fi,
|
|
3293
3298
|
formatRelative: Ki,
|
|
3294
3299
|
localize: nr,
|
|
3295
3300
|
match: hr,
|
|
@@ -3307,8 +3312,8 @@ function Mr(e, t) {
|
|
|
3307
3312
|
return Math.round(n / Na) + 1;
|
|
3308
3313
|
}
|
|
3309
3314
|
function wa(e, t) {
|
|
3310
|
-
var d, f, I,
|
|
3311
|
-
const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), l = At(), 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) ?? l.firstWeekContainsDate ?? ((
|
|
3315
|
+
var d, f, I, g;
|
|
3316
|
+
const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), l = At(), 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) ?? l.firstWeekContainsDate ?? ((g = (I = l.locale) == null ? void 0 : I.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = de((t == null ? void 0 : t.in) || e, 0);
|
|
3312
3317
|
o.setFullYear(n + 1, 0, i), o.setHours(0, 0, 0, 0);
|
|
3313
3318
|
const s = Xe(o, t), c = de((t == null ? void 0 : t.in) || e, 0);
|
|
3314
3319
|
c.setFullYear(n, 0, i), c.setHours(0, 0, 0, 0);
|
|
@@ -3389,7 +3394,7 @@ const Ee = {
|
|
|
3389
3394
|
afternoon: "afternoon",
|
|
3390
3395
|
evening: "evening",
|
|
3391
3396
|
night: "night"
|
|
3392
|
-
},
|
|
3397
|
+
}, Ft = {
|
|
3393
3398
|
// Era
|
|
3394
3399
|
G: function(e, t, a) {
|
|
3395
3400
|
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -3912,7 +3917,7 @@ const Ee = {
|
|
|
3912
3917
|
case "O":
|
|
3913
3918
|
case "OO":
|
|
3914
3919
|
case "OOO":
|
|
3915
|
-
return "GMT" +
|
|
3920
|
+
return "GMT" + qt(n, ":");
|
|
3916
3921
|
// Long
|
|
3917
3922
|
case "OOOO":
|
|
3918
3923
|
default:
|
|
@@ -3927,7 +3932,7 @@ const Ee = {
|
|
|
3927
3932
|
case "z":
|
|
3928
3933
|
case "zz":
|
|
3929
3934
|
case "zzz":
|
|
3930
|
-
return "GMT" +
|
|
3935
|
+
return "GMT" + qt(n, ":");
|
|
3931
3936
|
// Long
|
|
3932
3937
|
case "zzzz":
|
|
3933
3938
|
default:
|
|
@@ -3944,7 +3949,7 @@ const Ee = {
|
|
|
3944
3949
|
return G(+e, t.length);
|
|
3945
3950
|
}
|
|
3946
3951
|
};
|
|
3947
|
-
function
|
|
3952
|
+
function qt(e, t = "") {
|
|
3948
3953
|
const a = e > 0 ? "-" : "+", n = Math.abs(e), l = Math.trunc(n / 60), i = n % 60;
|
|
3949
3954
|
return i === 0 ? a + String(l) : a + String(l) + t + G(i, 2);
|
|
3950
3955
|
}
|
|
@@ -3967,7 +3972,7 @@ const Gt = (e, t) => {
|
|
|
3967
3972
|
default:
|
|
3968
3973
|
return t.date({ width: "full" });
|
|
3969
3974
|
}
|
|
3970
|
-
},
|
|
3975
|
+
}, xa = (e, t) => {
|
|
3971
3976
|
switch (e) {
|
|
3972
3977
|
case "p":
|
|
3973
3978
|
return t.time({ width: "short" });
|
|
@@ -3999,12 +4004,12 @@ const Gt = (e, t) => {
|
|
|
3999
4004
|
i = t.dateTime({ width: "full" });
|
|
4000
4005
|
break;
|
|
4001
4006
|
}
|
|
4002
|
-
return i.replace("{{date}}", Gt(n, t)).replace("{{time}}",
|
|
4007
|
+
return i.replace("{{date}}", Gt(n, t)).replace("{{time}}", xa(l, t));
|
|
4003
4008
|
}, Dr = {
|
|
4004
|
-
p:
|
|
4009
|
+
p: xa,
|
|
4005
4010
|
P: Tr
|
|
4006
|
-
}, Lr = /^D+$/, wr = /^Y+$/,
|
|
4007
|
-
function
|
|
4011
|
+
}, Lr = /^D+$/, wr = /^Y+$/, xr = ["D", "DD", "YY", "YYYY"];
|
|
4012
|
+
function Or(e) {
|
|
4008
4013
|
return Lr.test(e);
|
|
4009
4014
|
}
|
|
4010
4015
|
function Sr(e) {
|
|
@@ -4012,7 +4017,7 @@ function Sr(e) {
|
|
|
4012
4017
|
}
|
|
4013
4018
|
function kr(e, t, a) {
|
|
4014
4019
|
const n = pr(e, t, a);
|
|
4015
|
-
if (console.warn(n),
|
|
4020
|
+
if (console.warn(n), xr.includes(e)) throw new RangeError(n);
|
|
4016
4021
|
}
|
|
4017
4022
|
function pr(e, t, a) {
|
|
4018
4023
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
@@ -4020,8 +4025,8 @@ function pr(e, t, a) {
|
|
|
4020
4025
|
}
|
|
4021
4026
|
const Qr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, jr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, zr = /^'([^]*?)'?$/, Br = /''/g, Pr = /[a-zA-Z]/;
|
|
4022
4027
|
function Ie(e, t, a) {
|
|
4023
|
-
var d, f, I,
|
|
4024
|
-
const n = At(), l = n.locale ?? yr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((
|
|
4028
|
+
var d, f, I, g;
|
|
4029
|
+
const n = At(), l = n.locale ?? yr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((g = (I = n.locale) == null ? void 0 : I.options) == null ? void 0 : g.weekStartsOn) ?? 0, s = ce(e, a == null ? void 0 : a.in);
|
|
4025
4030
|
if (!ut(s))
|
|
4026
4031
|
throw new RangeError("Invalid time value");
|
|
4027
4032
|
let c = t.match(jr).map((v) => {
|
|
@@ -4037,7 +4042,7 @@ function Ie(e, t, a) {
|
|
|
4037
4042
|
const C = v[0];
|
|
4038
4043
|
if (C === "'")
|
|
4039
4044
|
return { isToken: !1, value: Wr(v) };
|
|
4040
|
-
if (
|
|
4045
|
+
if (Ft[C])
|
|
4041
4046
|
return { isToken: !0, value: v };
|
|
4042
4047
|
if (C.match(Pr))
|
|
4043
4048
|
throw new RangeError(
|
|
@@ -4054,8 +4059,8 @@ function Ie(e, t, a) {
|
|
|
4054
4059
|
return c.map((v) => {
|
|
4055
4060
|
if (!v.isToken) return v.value;
|
|
4056
4061
|
const C = v.value;
|
|
4057
|
-
(Sr(C) ||
|
|
4058
|
-
const D =
|
|
4062
|
+
(Sr(C) || Or(C)) && kr(C, t, String(e));
|
|
4063
|
+
const D = Ft[C[0]];
|
|
4059
4064
|
return D(s, C, l.localize, A);
|
|
4060
4065
|
}).join("");
|
|
4061
4066
|
}
|
|
@@ -4063,7 +4068,7 @@ function Wr(e) {
|
|
|
4063
4068
|
const t = e.match(zr);
|
|
4064
4069
|
return t ? t[1].replace(Br, "'") : e;
|
|
4065
4070
|
}
|
|
4066
|
-
function
|
|
4071
|
+
function Oa(e, t) {
|
|
4067
4072
|
const a = () => de(t == null ? void 0 : t.in, NaN), l = Rr(e);
|
|
4068
4073
|
let i;
|
|
4069
4074
|
if (l.date) {
|
|
@@ -4076,7 +4081,7 @@ function xa(e, t) {
|
|
|
4076
4081
|
if (l.time && (s = Xr(l.time), isNaN(s)))
|
|
4077
4082
|
return a();
|
|
4078
4083
|
if (l.timezone) {
|
|
4079
|
-
if (c =
|
|
4084
|
+
if (c = Fr(l.timezone), isNaN(c)) return a();
|
|
4080
4085
|
} else {
|
|
4081
4086
|
const A = new Date(o + s), d = ce(0, t == null ? void 0 : t.in);
|
|
4082
4087
|
return d.setFullYear(
|
|
@@ -4128,7 +4133,7 @@ function Yr(e, t) {
|
|
|
4128
4133
|
if (!a) return /* @__PURE__ */ new Date(NaN);
|
|
4129
4134
|
const n = !!a[4], l = Ve(a[1]), i = Ve(a[2]) - 1, o = Ve(a[3]), s = Ve(a[4]), c = Ve(a[5]) - 1;
|
|
4130
4135
|
if (n)
|
|
4131
|
-
return $r(t, s, c) ?
|
|
4136
|
+
return $r(t, s, c) ? qr(t, s, c) : /* @__PURE__ */ new Date(NaN);
|
|
4132
4137
|
{
|
|
4133
4138
|
const A = /* @__PURE__ */ new Date(0);
|
|
4134
4139
|
return !Gr(t, i, o) || !Jr(t, l) ? /* @__PURE__ */ new Date(NaN) : (A.setUTCFullYear(t, i, Math.max(l, o)), A);
|
|
@@ -4146,14 +4151,14 @@ function Xr(e) {
|
|
|
4146
4151
|
function ht(e) {
|
|
4147
4152
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
4148
4153
|
}
|
|
4149
|
-
function
|
|
4154
|
+
function Fr(e) {
|
|
4150
4155
|
if (e === "Z") return 0;
|
|
4151
4156
|
const t = e.match(Hr);
|
|
4152
4157
|
if (!t) return 0;
|
|
4153
4158
|
const a = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), l = t[3] && parseInt(t[3]) || 0;
|
|
4154
4159
|
return eo(n, l) ? a * (n * Da + l * Ta) : NaN;
|
|
4155
4160
|
}
|
|
4156
|
-
function
|
|
4161
|
+
function qr(e, t, a) {
|
|
4157
4162
|
const n = /* @__PURE__ */ new Date(0);
|
|
4158
4163
|
n.setUTCFullYear(e, 0, 4);
|
|
4159
4164
|
const l = n.getUTCDay() || 7, i = (t - 1) * 7 + a + 1 - l;
|
|
@@ -4201,7 +4206,7 @@ function Jt(e, t) {
|
|
|
4201
4206
|
function no(e, t, a) {
|
|
4202
4207
|
if (!t || !Ye(e) || typeof t != "string")
|
|
4203
4208
|
return "";
|
|
4204
|
-
const n =
|
|
4209
|
+
const n = Oa(t);
|
|
4205
4210
|
if (!ut(n))
|
|
4206
4211
|
return "";
|
|
4207
4212
|
if (a)
|
|
@@ -4310,7 +4315,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4310
4315
|
d51cb2ca: r(v),
|
|
4311
4316
|
d3057a20: T.textareaMinHeight
|
|
4312
4317
|
}));
|
|
4313
|
-
const n = a, l = _a(), i =
|
|
4318
|
+
const n = a, l = _a(), i = m(() => e.id ?? `input-${crypto.randomUUID()}`), o = m(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), s = m(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), c = m(() => !!e.errorMessage), A = z(null), d = () => {
|
|
4314
4319
|
var T;
|
|
4315
4320
|
return (T = A.value) == null ? void 0 : T.focus();
|
|
4316
4321
|
};
|
|
@@ -4318,14 +4323,14 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4318
4323
|
var T;
|
|
4319
4324
|
(T = A.value) == null || T.showPicker();
|
|
4320
4325
|
}
|
|
4321
|
-
const I =
|
|
4326
|
+
const I = m(() => e.isTextarea ? "textarea" : "input"), g = m(() => [
|
|
4322
4327
|
"av-label",
|
|
4323
4328
|
{ invisible: !e.labelVisible }
|
|
4324
|
-
]), v =
|
|
4329
|
+
]), v = m(() => e.labelVisible ? "69%" : "55%"), C = m(() => ({
|
|
4325
4330
|
"av-input__input av-col av-align-center av-w-full b2-light": !0,
|
|
4326
4331
|
"av-input__input--error": c.value,
|
|
4327
4332
|
"av-input__input--valid": e.isValid
|
|
4328
|
-
})), D =
|
|
4333
|
+
})), D = m(() => ({
|
|
4329
4334
|
...l,
|
|
4330
4335
|
disabled: e.disabled,
|
|
4331
4336
|
maxlength: e.maxlength,
|
|
@@ -4336,7 +4341,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4336
4341
|
max: Jt(e.type, e.maxDate),
|
|
4337
4342
|
min: Jt(e.type, e.minDate),
|
|
4338
4343
|
ariaDescribedBy: e.descriptionId || void 0
|
|
4339
|
-
})), E =
|
|
4344
|
+
})), E = m(() => Ye(e.type) ? io(e.type) : e.prefixIcon);
|
|
4340
4345
|
return t({
|
|
4341
4346
|
focus: d
|
|
4342
4347
|
}), (T, M) => {
|
|
@@ -4356,7 +4361,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4356
4361
|
}, null, 8, ["name"])
|
|
4357
4362
|
])) : w("", !0),
|
|
4358
4363
|
y("label", {
|
|
4359
|
-
class: Q(r(
|
|
4364
|
+
class: Q(r(g)),
|
|
4360
4365
|
for: r(i)
|
|
4361
4366
|
}, [
|
|
4362
4367
|
y("span", {
|
|
@@ -4415,7 +4420,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4415
4420
|
], 2);
|
|
4416
4421
|
};
|
|
4417
4422
|
}
|
|
4418
|
-
}),
|
|
4423
|
+
}), Fe = /* @__PURE__ */ P(vo, [["__scopeId", "data-v-28be842f"]]), mo = ["for"], go = /* @__PURE__ */ k({
|
|
4419
4424
|
__name: "AvPeriodInput",
|
|
4420
4425
|
props: {
|
|
4421
4426
|
id: {},
|
|
@@ -4444,11 +4449,11 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4444
4449
|
oe((T) => ({
|
|
4445
4450
|
c7c0c816: T.separatorSpacing
|
|
4446
4451
|
}));
|
|
4447
|
-
const a = t, n =
|
|
4452
|
+
const a = t, n = m(() => e.id ?? `period-input-${crypto.randomUUID()}`), l = m(() => `${n.value}__start`), i = m(() => `${n.value}__end`);
|
|
4448
4453
|
function o(T) {
|
|
4449
4454
|
if (!T)
|
|
4450
4455
|
return;
|
|
4451
|
-
const M =
|
|
4456
|
+
const M = Oa(T);
|
|
4452
4457
|
return ut(M) ? M : void 0;
|
|
4453
4458
|
}
|
|
4454
4459
|
function s(T, M) {
|
|
@@ -4457,7 +4462,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4457
4462
|
function c(T, M) {
|
|
4458
4463
|
return T && M ? Wi([T, M]) : T ?? M;
|
|
4459
4464
|
}
|
|
4460
|
-
const A =
|
|
4465
|
+
const A = m(() => o(e.startModelValue)), d = m(() => o(e.endModelValue)), f = m(() => e.startMinDate), I = m(() => c(e.startMaxDate, d.value)), g = m(() => s(e.endMinDate, A.value)), v = m(() => e.endMaxDate), C = m(() => [
|
|
4461
4466
|
"av-label",
|
|
4462
4467
|
{ "av-hidden": !e.labelVisible },
|
|
4463
4468
|
e.labelClass
|
|
@@ -4484,7 +4489,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4484
4489
|
"av-col av-align-stretch": e.stacked
|
|
4485
4490
|
}])
|
|
4486
4491
|
}, [
|
|
4487
|
-
U(
|
|
4492
|
+
U(Fe, {
|
|
4488
4493
|
id: r(l),
|
|
4489
4494
|
type: e.type,
|
|
4490
4495
|
"model-value": e.startModelValue,
|
|
@@ -4499,7 +4504,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4499
4504
|
"data-testid": "start-date-input",
|
|
4500
4505
|
"onUpdate:modelValue": M[0] || (M[0] = (L) => D(L))
|
|
4501
4506
|
}, null, 8, ["id", "type", "model-value", "label", "aria-label", "disabled", "width", "min-date", "max-date", "error-message"]),
|
|
4502
|
-
U(
|
|
4507
|
+
U(Fe, {
|
|
4503
4508
|
id: r(i),
|
|
4504
4509
|
type: e.type,
|
|
4505
4510
|
"model-value": e.endModelValue,
|
|
@@ -4508,7 +4513,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4508
4513
|
"label-visible": !1,
|
|
4509
4514
|
disabled: e.endDateDisabled,
|
|
4510
4515
|
width: e.width,
|
|
4511
|
-
"min-date": r(
|
|
4516
|
+
"min-date": r(g),
|
|
4512
4517
|
"max-date": r(v),
|
|
4513
4518
|
"error-message": e.endErrorMessage,
|
|
4514
4519
|
"data-testid": "end-date-input",
|
|
@@ -4531,9 +4536,9 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4531
4536
|
},
|
|
4532
4537
|
emits: ["update:modelValue", "search"],
|
|
4533
4538
|
setup(e, { emit: t }) {
|
|
4534
|
-
const a = t, n =
|
|
4539
|
+
const a = t, n = m(() => e.id ?? `search-bar-${crypto.randomUUID()}`);
|
|
4535
4540
|
return (l, i) => {
|
|
4536
|
-
const o =
|
|
4541
|
+
const o = Fe, s = se;
|
|
4537
4542
|
return u(), b("div", Io, [
|
|
4538
4543
|
y("div", null, [
|
|
4539
4544
|
U(o, {
|
|
@@ -4585,7 +4590,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4585
4590
|
v2530b52c: l.padding,
|
|
4586
4591
|
fcd2c920: l.borderColor
|
|
4587
4592
|
}));
|
|
4588
|
-
const t =
|
|
4593
|
+
const t = m(() => `av-list--${e.size}`), a = m(() => e.bordered ? "av-list--bordered" : ""), n = m(() => e.divided ? "av-list--divided" : "");
|
|
4589
4594
|
return (l, i) => (u(), b("div", {
|
|
4590
4595
|
class: Q(["av-list av-col av-gap-xxxs", [r(t), r(a), r(n)]]),
|
|
4591
4596
|
role: e.role,
|
|
@@ -4636,23 +4641,23 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4636
4641
|
v6245e036: I.descriptionColor,
|
|
4637
4642
|
v5b7a7de8: I.hoverBackgroundColor
|
|
4638
4643
|
}));
|
|
4639
|
-
const t = ve(), a =
|
|
4644
|
+
const t = ve(), a = m(() => e.href || e.target || e.rel ? "a" : e.onClick ? "button" : "div"), n = m(() => a.value === "a"), l = m(() => a.value === "button"), i = m(() => n.value || l.value), o = m(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0), s = m(() => i.value ? "av-list-item--clickable" : ""), c = m(() => e.disabled && l.value ? "av-list-item--disabled" : ""), A = m(() => e.selected ? "av-list-item--selected" : "");
|
|
4640
4645
|
function d(I) {
|
|
4641
|
-
var
|
|
4642
|
-
!i.value || e.disabled || (
|
|
4646
|
+
var g;
|
|
4647
|
+
!i.value || e.disabled || (g = e.onClick) == null || g.call(e, I);
|
|
4643
4648
|
}
|
|
4644
4649
|
function f(I) {
|
|
4645
|
-
var
|
|
4650
|
+
var g;
|
|
4646
4651
|
if (!(!i.value || e.disabled) && (I.key === "Enter" || I.key === " ")) {
|
|
4647
4652
|
I.preventDefault();
|
|
4648
4653
|
const v = new MouseEvent("click", {
|
|
4649
4654
|
bubbles: !0,
|
|
4650
4655
|
cancelable: !0
|
|
4651
4656
|
});
|
|
4652
|
-
(
|
|
4657
|
+
(g = e.onClick) == null || g.call(e, v);
|
|
4653
4658
|
}
|
|
4654
4659
|
}
|
|
4655
|
-
return (I,
|
|
4660
|
+
return (I, g) => (u(), b("div", { role: e.role }, [
|
|
4656
4661
|
(u(), S(he(r(a)), {
|
|
4657
4662
|
"aria-label": r(i) ? r(o) : void 0,
|
|
4658
4663
|
"aria-describedby": e.ariaDescribedby,
|
|
@@ -4686,7 +4691,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4686
4691
|
}, 40, ["aria-label", "aria-describedby", "aria-disabled", "tabindex", "class", "disabled", "href", "target", "rel"]))
|
|
4687
4692
|
], 8, Co));
|
|
4688
4693
|
}
|
|
4689
|
-
}), pa = /* @__PURE__ */ P(Lo, [["__scopeId", "data-v-4b12e3fb"]]), wo = { class: "av-select-container av-row av-gap-xs" },
|
|
4694
|
+
}), pa = /* @__PURE__ */ P(Lo, [["__scopeId", "data-v-4b12e3fb"]]), wo = { class: "av-select-container av-row av-gap-xs" }, xo = /* @__PURE__ */ k({
|
|
4690
4695
|
__name: "AvTagPicker",
|
|
4691
4696
|
props: {
|
|
4692
4697
|
multiple: { type: Boolean },
|
|
@@ -4708,7 +4713,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4708
4713
|
selected: i,
|
|
4709
4714
|
multiple: o,
|
|
4710
4715
|
handleSelectChange: s
|
|
4711
|
-
} = t, c =
|
|
4716
|
+
} = t, c = m(() => En(t.options));
|
|
4712
4717
|
function A(C) {
|
|
4713
4718
|
return C ? Array.isArray(C) ? C : [C] : [];
|
|
4714
4719
|
}
|
|
@@ -4721,7 +4726,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4721
4726
|
(E) => E.value !== C.value
|
|
4722
4727
|
) : d.value.push(C), s([...d.value])) : (d.value = [C], s(C));
|
|
4723
4728
|
}
|
|
4724
|
-
function
|
|
4729
|
+
function g(C) {
|
|
4725
4730
|
return f(C) ? H.CHECK : void 0;
|
|
4726
4731
|
}
|
|
4727
4732
|
function v(C) {
|
|
@@ -4744,7 +4749,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4744
4749
|
"av-tag--disabled": v(E)
|
|
4745
4750
|
}),
|
|
4746
4751
|
label: E.label,
|
|
4747
|
-
icon:
|
|
4752
|
+
icon: g(E),
|
|
4748
4753
|
disabled: v(E),
|
|
4749
4754
|
selectable: "",
|
|
4750
4755
|
selected: f(E),
|
|
@@ -4753,7 +4758,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4753
4758
|
]))), 128))
|
|
4754
4759
|
]));
|
|
4755
4760
|
}
|
|
4756
|
-
}),
|
|
4761
|
+
}), Oo = /* @__PURE__ */ P(xo, [["__scopeId", "data-v-2dcefe34"]]);
|
|
4757
4762
|
var Qa = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Qa || {});
|
|
4758
4763
|
const ru = [
|
|
4759
4764
|
4,
|
|
@@ -4768,15 +4773,15 @@ const ru = [
|
|
|
4768
4773
|
handleSelectChange: { type: Function }
|
|
4769
4774
|
},
|
|
4770
4775
|
setup(e) {
|
|
4771
|
-
const t =
|
|
4776
|
+
const t = m(() => Object.values(Qa).filter((n) => typeof n == "number").map((n) => ({
|
|
4772
4777
|
label: n.toString(),
|
|
4773
4778
|
value: n.toString()
|
|
4774
|
-
}))), a =
|
|
4779
|
+
}))), a = m(() => ({
|
|
4775
4780
|
label: e.pageSizeSelected.toString(),
|
|
4776
4781
|
value: e.pageSizeSelected.toString()
|
|
4777
4782
|
}));
|
|
4778
4783
|
return (n, l) => (u(), b("div", So, [
|
|
4779
|
-
U(
|
|
4784
|
+
U(Oo, {
|
|
4780
4785
|
options: r(t),
|
|
4781
4786
|
selected: r(a),
|
|
4782
4787
|
"handle-select-change": e.handleSelectChange,
|
|
@@ -4862,26 +4867,26 @@ const ru = [
|
|
|
4862
4867
|
},
|
|
4863
4868
|
emits: ["update:modelValue"],
|
|
4864
4869
|
setup(e, { expose: t, emit: a }) {
|
|
4865
|
-
const n = a, l =
|
|
4866
|
-
function o(
|
|
4867
|
-
|
|
4870
|
+
const n = a, l = m(() => e.id ?? `radio-button-set-${crypto.randomUUID()}`), i = m(() => e.errorMessage || e.validMessage);
|
|
4871
|
+
function o(g) {
|
|
4872
|
+
g !== e.modelValue && n("update:modelValue", g);
|
|
4868
4873
|
}
|
|
4869
|
-
const s =
|
|
4870
|
-
function A(
|
|
4871
|
-
return
|
|
4874
|
+
const s = m(() => i.value ? `messages-${l.value}` : void 0), c = ve();
|
|
4875
|
+
function A(g) {
|
|
4876
|
+
return g != null && typeof g == "object" && "type" in g && g.type === ko;
|
|
4872
4877
|
}
|
|
4873
|
-
function d(
|
|
4874
|
-
return
|
|
4878
|
+
function d(g) {
|
|
4879
|
+
return g ? g.flatMap((v) => !v || typeof v != "object" || !("type" in v) ? [] : v.type === $ && Array.isArray(v.children) ? d(v.children) : A(v) ? [v] : []) : [];
|
|
4875
4880
|
}
|
|
4876
|
-
const f =
|
|
4877
|
-
var
|
|
4878
|
-
return d((
|
|
4881
|
+
const f = m(() => {
|
|
4882
|
+
var g;
|
|
4883
|
+
return d((g = c.default) == null ? void 0 : g.call(c));
|
|
4879
4884
|
}), I = z(e.modelValue);
|
|
4880
|
-
return re(() => e.modelValue, (
|
|
4881
|
-
I.value =
|
|
4882
|
-
}), re(I, (
|
|
4883
|
-
|
|
4884
|
-
}), t({ selected: I }), (
|
|
4885
|
+
return re(() => e.modelValue, (g) => {
|
|
4886
|
+
I.value = g;
|
|
4887
|
+
}), re(I, (g) => {
|
|
4888
|
+
g && n("update:modelValue", g);
|
|
4889
|
+
}), t({ selected: I }), (g, v) => {
|
|
4885
4890
|
const C = sa;
|
|
4886
4891
|
return u(), S(C, {
|
|
4887
4892
|
id: r(l),
|
|
@@ -4903,7 +4908,7 @@ const ru = [
|
|
|
4903
4908
|
key: E,
|
|
4904
4909
|
modelValue: r(I),
|
|
4905
4910
|
"onUpdate:modelValue": [
|
|
4906
|
-
v[0] || (v[0] = (L) =>
|
|
4911
|
+
v[0] || (v[0] = (L) => xt(I) ? I.value = L : null),
|
|
4907
4912
|
v[1] || (v[1] = (L) => o(L))
|
|
4908
4913
|
],
|
|
4909
4914
|
value: (T = D.props) == null ? void 0 : T.value,
|
|
@@ -4951,15 +4956,15 @@ function Zo(e) {
|
|
|
4951
4956
|
return Ro.call(e);
|
|
4952
4957
|
}
|
|
4953
4958
|
var Yo = "[object Null]", Xo = "[object Undefined]", _t = it ? it.toStringTag : void 0;
|
|
4954
|
-
function
|
|
4959
|
+
function Fo(e) {
|
|
4955
4960
|
return e == null ? e === void 0 ? Xo : Yo : _t && _t in Object(e) ? Vo(e) : Zo(e);
|
|
4956
4961
|
}
|
|
4957
|
-
function
|
|
4962
|
+
function qo(e) {
|
|
4958
4963
|
return e != null && typeof e == "object";
|
|
4959
4964
|
}
|
|
4960
4965
|
var Ko = "[object Symbol]";
|
|
4961
4966
|
function Go(e) {
|
|
4962
|
-
return typeof e == "symbol" ||
|
|
4967
|
+
return typeof e == "symbol" || qo(e) && Fo(e) == Ko;
|
|
4963
4968
|
}
|
|
4964
4969
|
var Jo = /\s/;
|
|
4965
4970
|
function $o(e) {
|
|
@@ -4999,20 +5004,20 @@ function Pa(e, t, a) {
|
|
|
4999
5004
|
if (typeof e != "function")
|
|
5000
5005
|
throw new TypeError(is);
|
|
5001
5006
|
t = ta(t) || 0, Nt(a) && (d = !!a.leading, f = "maxWait" in a, i = f ? rs(ta(a.maxWait) || 0, t) : i, I = "trailing" in a ? !!a.trailing : I);
|
|
5002
|
-
function
|
|
5003
|
-
var
|
|
5004
|
-
return n = l = void 0, A = Z, o = e.apply(ae,
|
|
5007
|
+
function g(Z) {
|
|
5008
|
+
var q = n, ae = l;
|
|
5009
|
+
return n = l = void 0, A = Z, o = e.apply(ae, q), o;
|
|
5005
5010
|
}
|
|
5006
5011
|
function v(Z) {
|
|
5007
|
-
return A = Z, s = setTimeout(E, t), d ?
|
|
5012
|
+
return A = Z, s = setTimeout(E, t), d ? g(Z) : o;
|
|
5008
5013
|
}
|
|
5009
5014
|
function C(Z) {
|
|
5010
|
-
var
|
|
5015
|
+
var q = Z - c, ae = Z - A, p = t - q;
|
|
5011
5016
|
return f ? os(p, i - ae) : p;
|
|
5012
5017
|
}
|
|
5013
5018
|
function D(Z) {
|
|
5014
|
-
var
|
|
5015
|
-
return c === void 0 ||
|
|
5019
|
+
var q = Z - c, ae = Z - A;
|
|
5020
|
+
return c === void 0 || q >= t || q < 0 || f && ae >= i;
|
|
5016
5021
|
}
|
|
5017
5022
|
function E() {
|
|
5018
5023
|
var Z = yt();
|
|
@@ -5021,7 +5026,7 @@ function Pa(e, t, a) {
|
|
|
5021
5026
|
s = setTimeout(E, C(Z));
|
|
5022
5027
|
}
|
|
5023
5028
|
function T(Z) {
|
|
5024
|
-
return s = void 0, I && n ?
|
|
5029
|
+
return s = void 0, I && n ? g(Z) : (n = l = void 0, o);
|
|
5025
5030
|
}
|
|
5026
5031
|
function M() {
|
|
5027
5032
|
s !== void 0 && clearTimeout(s), A = 0, n = c = l = s = void 0;
|
|
@@ -5030,12 +5035,12 @@ function Pa(e, t, a) {
|
|
|
5030
5035
|
return s === void 0 ? o : T(yt());
|
|
5031
5036
|
}
|
|
5032
5037
|
function B() {
|
|
5033
|
-
var Z = yt(),
|
|
5034
|
-
if (n = arguments, l = this, c = Z,
|
|
5038
|
+
var Z = yt(), q = D(Z);
|
|
5039
|
+
if (n = arguments, l = this, c = Z, q) {
|
|
5035
5040
|
if (s === void 0)
|
|
5036
5041
|
return v(c);
|
|
5037
5042
|
if (f)
|
|
5038
|
-
return clearTimeout(s), s = setTimeout(E, t),
|
|
5043
|
+
return clearTimeout(s), s = setTimeout(E, t), g(c);
|
|
5039
5044
|
}
|
|
5040
5045
|
return s === void 0 && (s = setTimeout(E, t)), o;
|
|
5041
5046
|
}
|
|
@@ -5061,7 +5066,7 @@ const ss = {
|
|
|
5061
5066
|
props: c,
|
|
5062
5067
|
getOptionId: A,
|
|
5063
5068
|
getDisplayLabel: d
|
|
5064
|
-
} = Qt(), f = z(), I = z(),
|
|
5069
|
+
} = Qt(), f = z(), I = z(), g = m(() => {
|
|
5065
5070
|
if (!c.options)
|
|
5066
5071
|
return [];
|
|
5067
5072
|
if (c.serverSideFiltering)
|
|
@@ -5073,7 +5078,7 @@ const ss = {
|
|
|
5073
5078
|
}
|
|
5074
5079
|
let L;
|
|
5075
5080
|
return c.filterOptions ? L = c.filterOptions(c.options, M) : L = c.options.filter((B) => d(B).toLowerCase().includes(M)), c.maxResults ? L.slice(0, c.maxResults) : L;
|
|
5076
|
-
}), v =
|
|
5081
|
+
}), v = m(() => c.loading ? pe.LOADING : s.value && c.options && c.options.length > 0 && g.value.length > 0 ? pe.HAS_OPTIONS : pe.NO_OPTIONS);
|
|
5077
5082
|
function C(M) {
|
|
5078
5083
|
return i.value.some(
|
|
5079
5084
|
(L) => A(L) === A(M)
|
|
@@ -5086,9 +5091,9 @@ const ss = {
|
|
|
5086
5091
|
}
|
|
5087
5092
|
const L = i.value, B = A(M);
|
|
5088
5093
|
L.some(
|
|
5089
|
-
(
|
|
5094
|
+
(q) => A(q) === B
|
|
5090
5095
|
) ? i.value = L.filter(
|
|
5091
|
-
(
|
|
5096
|
+
(q) => A(q) !== B
|
|
5092
5097
|
) : i.value = [...L, M];
|
|
5093
5098
|
}
|
|
5094
5099
|
const { arrivedState: E } = nl(I, {
|
|
@@ -5126,7 +5131,7 @@ const ss = {
|
|
|
5126
5131
|
class: ["av-autocomplete-dropdown__options", r(c).scrollbarClass]
|
|
5127
5132
|
}), {
|
|
5128
5133
|
default: K(() => [
|
|
5129
|
-
(u(!0), b($, null, ie(r(
|
|
5134
|
+
(u(!0), b($, null, ie(r(g), (B) => (u(), b($, {
|
|
5130
5135
|
key: r(A)(B)
|
|
5131
5136
|
}, [
|
|
5132
5137
|
l.item ? V(M.$slots, "item", {
|
|
@@ -5164,7 +5169,7 @@ const ss = {
|
|
|
5164
5169
|
inputId: A,
|
|
5165
5170
|
handleBlur: d,
|
|
5166
5171
|
getDisplayLabel: f
|
|
5167
|
-
} = Qt(), I = z(),
|
|
5172
|
+
} = Qt(), I = z(), g = m(() => !c.multiSelect && i.value.length > 0 ? f(i.value[0]) : c.multiSelect && i.value.length > 0 ? c.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : o.value), v = m(() => {
|
|
5168
5173
|
var M;
|
|
5169
5174
|
return ((M = c.inputOptions) == null ? void 0 : M.placeholder) || "Search...";
|
|
5170
5175
|
}), C = Pa((M) => {
|
|
@@ -5183,13 +5188,13 @@ const ss = {
|
|
|
5183
5188
|
C.cancel();
|
|
5184
5189
|
}), t({
|
|
5185
5190
|
inputRef: I,
|
|
5186
|
-
searchQuery:
|
|
5191
|
+
searchQuery: m(() => o.value)
|
|
5187
5192
|
}), (M, L) => (u(), b("div", fs, [
|
|
5188
|
-
U(
|
|
5193
|
+
U(Fe, _({
|
|
5189
5194
|
id: r(A),
|
|
5190
5195
|
ref_key: "inputRef",
|
|
5191
5196
|
ref: I,
|
|
5192
|
-
"model-value": r(
|
|
5197
|
+
"model-value": r(g),
|
|
5193
5198
|
placeholder: r(v)
|
|
5194
5199
|
}, r(c).inputOptions, {
|
|
5195
5200
|
"onUpdate:modelValue": D,
|
|
@@ -5290,11 +5295,11 @@ const ss = {
|
|
|
5290
5295
|
}),
|
|
5291
5296
|
emits: /* @__PURE__ */ ye(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
5292
5297
|
setup(e, { emit: t }) {
|
|
5293
|
-
const a = e, n = t, l = ve(), i = we(e, "modelValue"), o = z(!1), s = z(""), c = z(), A = z(), d = z(), f =
|
|
5298
|
+
const a = e, n = t, l = ve(), i = we(e, "modelValue"), o = z(!1), s = z(""), c = z(), A = z(), d = z(), f = m(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
5294
5299
|
function I(T) {
|
|
5295
5300
|
s.value = T, n("search", T);
|
|
5296
5301
|
}
|
|
5297
|
-
function
|
|
5302
|
+
function g(T) {
|
|
5298
5303
|
var M, L;
|
|
5299
5304
|
(L = (M = d.value) == null ? void 0 : M.dropdownRef) != null && L.contains(T.relatedTarget) || setTimeout(() => {
|
|
5300
5305
|
o.value = !1;
|
|
@@ -5306,20 +5311,20 @@ const ss = {
|
|
|
5306
5311
|
function C(T) {
|
|
5307
5312
|
return a.getOptionLabel ? a.getOptionLabel(T) : T.label;
|
|
5308
5313
|
}
|
|
5309
|
-
|
|
5314
|
+
Ot(ja, {
|
|
5310
5315
|
selectedItems: i,
|
|
5311
5316
|
searchQuery: s,
|
|
5312
5317
|
isOpen: o,
|
|
5313
5318
|
props: a,
|
|
5314
5319
|
inputId: f,
|
|
5315
|
-
handleBlur:
|
|
5320
|
+
handleBlur: g,
|
|
5316
5321
|
getOptionId: v,
|
|
5317
5322
|
getDisplayLabel: C
|
|
5318
5323
|
});
|
|
5319
5324
|
function E(T) {
|
|
5320
|
-
var B, Z,
|
|
5325
|
+
var B, Z, q, ae, p;
|
|
5321
5326
|
const M = T.target, L = (B = A.value) == null ? void 0 : B.inputRef;
|
|
5322
|
-
!((Z = L == null ? void 0 : L.contains) != null && Z.call(L, M)) && !((
|
|
5327
|
+
!((Z = L == null ? void 0 : L.contains) != null && Z.call(L, M)) && !((q = c.value) != null && q.contains(M)) && !((p = (ae = d.value) == null ? void 0 : ae.dropdownRef) != null && p.contains(M)) && (o.value = !1);
|
|
5323
5328
|
}
|
|
5324
5329
|
return fe(() => {
|
|
5325
5330
|
document.addEventListener("click", E);
|
|
@@ -5408,8 +5413,8 @@ const ss = {
|
|
|
5408
5413
|
emits: /* @__PURE__ */ ye(["close"], ["update:modelValue"]),
|
|
5409
5414
|
setup(e, { emit: t }) {
|
|
5410
5415
|
const a = t;
|
|
5411
|
-
function n(R,
|
|
5412
|
-
return `${
|
|
5416
|
+
function n(R, x) {
|
|
5417
|
+
return `${x}-${R.value}`;
|
|
5413
5418
|
}
|
|
5414
5419
|
const l = z(null), i = z(!1), o = we(e, "modelValue"), s = z(0), c = [], {
|
|
5415
5420
|
collapse: A,
|
|
@@ -5417,7 +5422,7 @@ const ss = {
|
|
|
5417
5422
|
cssExpanded: f,
|
|
5418
5423
|
onTransitionEnd: I
|
|
5419
5424
|
} = e.useCollapsableReturn;
|
|
5420
|
-
function
|
|
5425
|
+
function g() {
|
|
5421
5426
|
return document.querySelectorAll(`[id^="${e.id}-"][id$="-checkbox"]`);
|
|
5422
5427
|
}
|
|
5423
5428
|
const v = z("");
|
|
@@ -5426,8 +5431,8 @@ const ss = {
|
|
|
5426
5431
|
}
|
|
5427
5432
|
function D(R) {
|
|
5428
5433
|
var j, h;
|
|
5429
|
-
const
|
|
5430
|
-
!((j = l.value) != null && j.$el.contains(
|
|
5434
|
+
const x = R.target;
|
|
5435
|
+
!((j = l.value) != null && j.$el.contains(x)) && !((h = A.value) != null && h.contains(x)) && a("close");
|
|
5431
5436
|
}
|
|
5432
5437
|
function E() {
|
|
5433
5438
|
for (; c.length; ) {
|
|
@@ -5436,50 +5441,50 @@ const ss = {
|
|
|
5436
5441
|
}
|
|
5437
5442
|
document.removeEventListener("click", D), document.removeEventListener("keydown", C);
|
|
5438
5443
|
}
|
|
5439
|
-
const T =
|
|
5444
|
+
const T = m(
|
|
5440
5445
|
() => e.options.filter((R) => typeof R == "object" && R !== null ? `${R[Ls]}`.toLowerCase().includes(v.value.toLowerCase()) : `${R}`.toLowerCase().includes(v.value.toLowerCase()))
|
|
5441
|
-
), M =
|
|
5446
|
+
), M = m(() => e.selected.length < T.value.length ? !1 : T.value.every((R) => e.selected.includes(R)));
|
|
5442
5447
|
function L() {
|
|
5443
5448
|
const R = new Set(o.value || []);
|
|
5444
|
-
M.value ? T.value.forEach((
|
|
5445
|
-
R.delete(
|
|
5446
|
-
}) : T.value.forEach((
|
|
5447
|
-
R.add(
|
|
5449
|
+
M.value ? T.value.forEach((x) => {
|
|
5450
|
+
R.delete(x.value);
|
|
5451
|
+
}) : T.value.forEach((x) => {
|
|
5452
|
+
R.add(x.value);
|
|
5448
5453
|
}), o.value = Array.from(R);
|
|
5449
5454
|
}
|
|
5450
5455
|
function B(R) {
|
|
5451
|
-
const [
|
|
5452
|
-
|
|
5456
|
+
const [x] = g();
|
|
5457
|
+
x && (R.preventDefault(), x.focus());
|
|
5453
5458
|
}
|
|
5454
5459
|
function Z(R) {
|
|
5455
5460
|
R.preventDefault();
|
|
5456
|
-
const
|
|
5461
|
+
const x = g(), j = document.activeElement, h = Array.from(x).indexOf(j);
|
|
5457
5462
|
if (h !== -1) {
|
|
5458
|
-
const N = (h + 1) %
|
|
5459
|
-
|
|
5463
|
+
const N = (h + 1) % x.length;
|
|
5464
|
+
x[N].focus();
|
|
5460
5465
|
}
|
|
5461
5466
|
}
|
|
5462
|
-
function
|
|
5467
|
+
function q(R) {
|
|
5463
5468
|
R.preventDefault();
|
|
5464
|
-
const
|
|
5469
|
+
const x = g(), j = document.activeElement, h = Array.from(x).indexOf(j);
|
|
5465
5470
|
if (h !== -1) {
|
|
5466
|
-
const N = (h - 1 +
|
|
5467
|
-
|
|
5471
|
+
const N = (h - 1 + x.length) % x.length;
|
|
5472
|
+
x[N].focus();
|
|
5468
5473
|
}
|
|
5469
5474
|
}
|
|
5470
5475
|
function ae(R) {
|
|
5471
|
-
const
|
|
5472
|
-
Array.from(
|
|
5476
|
+
const x = g(), j = document.activeElement;
|
|
5477
|
+
Array.from(x).indexOf(j) + 1 === x.length && l.value && !R.shiftKey && a("close");
|
|
5473
5478
|
}
|
|
5474
5479
|
function p(R) {
|
|
5475
5480
|
var j;
|
|
5476
|
-
const
|
|
5477
|
-
R.shiftKey &&
|
|
5481
|
+
const x = document.activeElement;
|
|
5482
|
+
R.shiftKey && x === ((j = l.value) == null ? void 0 : j.$el) && a("close");
|
|
5478
5483
|
}
|
|
5479
5484
|
return me(() => {
|
|
5480
5485
|
E();
|
|
5481
|
-
}), (R,
|
|
5482
|
-
const j = se, h =
|
|
5486
|
+
}), (R, x) => {
|
|
5487
|
+
const j = se, h = Fe;
|
|
5483
5488
|
return e.isVisible ? (u(), b("div", {
|
|
5484
5489
|
key: 0,
|
|
5485
5490
|
id: `${e.id}-collapse`,
|
|
@@ -5489,7 +5494,7 @@ const ss = {
|
|
|
5489
5494
|
"--width-host": `${r(s)}px`
|
|
5490
5495
|
}),
|
|
5491
5496
|
class: Q(["av-multiselect__collapse av-collapse av-p-xs av-ml-xxs", { "av-collapse--expanded": r(f), "av-collapsing": r(d) }]),
|
|
5492
|
-
onTransitionend:
|
|
5497
|
+
onTransitionend: x[2] || (x[2] = (N) => r(I)(r(i)))
|
|
5493
5498
|
}, [
|
|
5494
5499
|
y("p", {
|
|
5495
5500
|
id: `${e.id}-text-hint`,
|
|
@@ -5511,7 +5516,7 @@ const ss = {
|
|
|
5511
5516
|
e.search ? (u(), b("div", Ts, [
|
|
5512
5517
|
U(h, {
|
|
5513
5518
|
modelValue: r(v),
|
|
5514
|
-
"onUpdate:modelValue":
|
|
5519
|
+
"onUpdate:modelValue": x[0] || (x[0] = (N) => xt(v) ? v.value = N : null),
|
|
5515
5520
|
"aria-describedby": `${e.id}-text-hint`,
|
|
5516
5521
|
"aria-controls": `${e.id}-checkboxes`,
|
|
5517
5522
|
"prefix-icon": r(H).MAGNIFY,
|
|
@@ -5536,7 +5541,7 @@ const ss = {
|
|
|
5536
5541
|
id: `${n(N, e.id)}-checkbox`,
|
|
5537
5542
|
key: `${n(N, e.id)}-fieldset`,
|
|
5538
5543
|
modelValue: o.value,
|
|
5539
|
-
"onUpdate:modelValue":
|
|
5544
|
+
"onUpdate:modelValue": x[1] || (x[1] = (O) => o.value = O),
|
|
5540
5545
|
value: N.value,
|
|
5541
5546
|
label: N.label,
|
|
5542
5547
|
icon: N.icon,
|
|
@@ -5544,8 +5549,8 @@ const ss = {
|
|
|
5544
5549
|
onKeydown: [
|
|
5545
5550
|
Ae(Z, ["down"]),
|
|
5546
5551
|
Ae(Z, ["right"]),
|
|
5547
|
-
Ae(
|
|
5548
|
-
Ae(
|
|
5552
|
+
Ae(q, ["up"]),
|
|
5553
|
+
Ae(q, ["left"]),
|
|
5549
5554
|
Ae(ae, ["tab"])
|
|
5550
5555
|
]
|
|
5551
5556
|
}, null, 8, ["id", "modelValue", "value", "label", "icon", "name"]))), 128))
|
|
@@ -5556,7 +5561,7 @@ const ss = {
|
|
|
5556
5561
|
], 46, Ms)) : w("", !0);
|
|
5557
5562
|
};
|
|
5558
5563
|
}
|
|
5559
|
-
}),
|
|
5564
|
+
}), xs = /* @__PURE__ */ P(ws, [["__scopeId", "data-v-2d33e581"]]), Os = ["title"], Ss = ["for"], ks = { class: "b2-light" }, ps = {
|
|
5560
5565
|
key: 0,
|
|
5561
5566
|
class: "required"
|
|
5562
5567
|
}, Qs = {
|
|
@@ -5588,36 +5593,36 @@ const ss = {
|
|
|
5588
5593
|
},
|
|
5589
5594
|
emits: ["update:modelValue"],
|
|
5590
5595
|
setup(e, { emit: t }) {
|
|
5591
|
-
oe((
|
|
5592
|
-
v2d665760:
|
|
5593
|
-
v65959acd:
|
|
5596
|
+
oe((x) => ({
|
|
5597
|
+
v2d665760: x.width,
|
|
5598
|
+
v65959acd: x.height
|
|
5594
5599
|
}));
|
|
5595
|
-
const a = t, n =
|
|
5600
|
+
const a = t, n = m(() => e.id ?? `multi-select-${crypto.randomUUID()}`), l = z(null), i = z(!1), o = m(() => e.errorMessage || e.successMessage), s = m(() => e.errorMessage ? "error" : "success"), {
|
|
5596
5601
|
collapse: c,
|
|
5597
5602
|
collapsing: A,
|
|
5598
5603
|
cssExpanded: d,
|
|
5599
5604
|
doExpand: f,
|
|
5600
5605
|
onTransitionEnd: I
|
|
5601
|
-
} = st(),
|
|
5606
|
+
} = st(), g = {
|
|
5602
5607
|
collapse: c,
|
|
5603
5608
|
collapsing: A,
|
|
5604
5609
|
cssExpanded: d,
|
|
5605
5610
|
doExpand: f,
|
|
5606
5611
|
onTransitionEnd: I
|
|
5607
|
-
}, v =
|
|
5612
|
+
}, v = m(() => e.modelValue.map((x) => x.value)), C = m(() => {
|
|
5608
5613
|
if (!e.modelValue || e.modelValue.length === 0)
|
|
5609
5614
|
return e.placeholder;
|
|
5610
5615
|
if (e.selectedText)
|
|
5611
5616
|
return e.selectedText;
|
|
5612
|
-
const
|
|
5613
|
-
return `${e.modelValue.length} option${
|
|
5617
|
+
const x = e.modelValue.length > 1 ? "s" : "";
|
|
5618
|
+
return `${e.modelValue.length} option${x} sélectionnée${x}`;
|
|
5614
5619
|
}), D = z(!1);
|
|
5615
|
-
function E(
|
|
5616
|
-
|
|
5620
|
+
function E(x) {
|
|
5621
|
+
x.key === "Escape" && L();
|
|
5617
5622
|
}
|
|
5618
|
-
function T(
|
|
5623
|
+
function T(x) {
|
|
5619
5624
|
var h, N;
|
|
5620
|
-
const j =
|
|
5625
|
+
const j = x.target;
|
|
5621
5626
|
!((h = l.value) != null && h.$el.contains(j)) && !((N = c.value) != null && N.contains(j)) && L();
|
|
5622
5627
|
}
|
|
5623
5628
|
function M() {
|
|
@@ -5636,29 +5641,29 @@ const ss = {
|
|
|
5636
5641
|
function Z() {
|
|
5637
5642
|
document.removeEventListener("click", T), document.removeEventListener("keydown", E);
|
|
5638
5643
|
}
|
|
5639
|
-
function
|
|
5644
|
+
function q(x) {
|
|
5640
5645
|
var h;
|
|
5641
5646
|
const j = document.activeElement;
|
|
5642
|
-
|
|
5647
|
+
x.shiftKey && j === ((h = l.value) == null ? void 0 : h.$el) && L();
|
|
5643
5648
|
}
|
|
5644
|
-
function ae(
|
|
5649
|
+
function ae(x) {
|
|
5645
5650
|
var h;
|
|
5646
5651
|
const j = ((h = e.options) == null ? void 0 : h.filter(
|
|
5647
|
-
(N) =>
|
|
5652
|
+
(N) => x.includes(N.value)
|
|
5648
5653
|
)) ?? [];
|
|
5649
5654
|
a("update:modelValue", j);
|
|
5650
5655
|
}
|
|
5651
5656
|
me(() => {
|
|
5652
5657
|
Z();
|
|
5653
5658
|
});
|
|
5654
|
-
const p =
|
|
5659
|
+
const p = m(() => [
|
|
5655
5660
|
"av-label",
|
|
5656
5661
|
{ invisible: !e.labelVisible },
|
|
5657
5662
|
e.labelClass
|
|
5658
|
-
]), R =
|
|
5663
|
+
]), R = m(() => ({
|
|
5659
5664
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5660
5665
|
}));
|
|
5661
|
-
return (
|
|
5666
|
+
return (x, j) => {
|
|
5662
5667
|
const h = se, N = Qe;
|
|
5663
5668
|
return u(), b($, null, [
|
|
5664
5669
|
y("div", {
|
|
@@ -5670,7 +5675,7 @@ const ss = {
|
|
|
5670
5675
|
for: r(n)
|
|
5671
5676
|
}, [
|
|
5672
5677
|
y("span", ks, W(e.label), 1),
|
|
5673
|
-
"required" in
|
|
5678
|
+
"required" in x.$attrs && x.$attrs.required !== !1 ? (u(), b("span", ps)) : w("", !0),
|
|
5674
5679
|
e.hint ? (u(), b("span", Qs, W(e.hint), 1)) : w("", !0)
|
|
5675
5680
|
], 10, Ss),
|
|
5676
5681
|
U(h, _({
|
|
@@ -5679,7 +5684,7 @@ const ss = {
|
|
|
5679
5684
|
ref: l,
|
|
5680
5685
|
type: "button",
|
|
5681
5686
|
variant: "OUTLINED"
|
|
5682
|
-
},
|
|
5687
|
+
}, x.$attrs, {
|
|
5683
5688
|
label: r(C),
|
|
5684
5689
|
class: ["av-multiselect", {
|
|
5685
5690
|
"av-multiselect--is-open": r(i),
|
|
@@ -5693,9 +5698,9 @@ const ss = {
|
|
|
5693
5698
|
small: e.dense,
|
|
5694
5699
|
style: r(R),
|
|
5695
5700
|
onClick: B,
|
|
5696
|
-
onKeydown: Ae(ge(
|
|
5701
|
+
onKeydown: Ae(ge(q, ["shift"]), ["tab"])
|
|
5697
5702
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "small", "style", "onKeydown"]),
|
|
5698
|
-
U(
|
|
5703
|
+
U(xs, {
|
|
5699
5704
|
id: r(n),
|
|
5700
5705
|
legend: e.legend,
|
|
5701
5706
|
hint: e.collapseHint,
|
|
@@ -5706,11 +5711,11 @@ const ss = {
|
|
|
5706
5711
|
search: e.search,
|
|
5707
5712
|
options: e.options,
|
|
5708
5713
|
selected: e.modelValue,
|
|
5709
|
-
"use-collapsable-return":
|
|
5714
|
+
"use-collapsable-return": g,
|
|
5710
5715
|
onClose: L,
|
|
5711
5716
|
"onUpdate:modelValue": ae
|
|
5712
5717
|
}, null, 8, ["id", "legend", "hint", "model-value", "is-visible", "select-all", "select-all-label", "search", "options", "selected"])
|
|
5713
|
-
], 10,
|
|
5718
|
+
], 10, Os),
|
|
5714
5719
|
U(N, {
|
|
5715
5720
|
"message-id": `multiselect-${r(s)}-desc-${r(s)}`,
|
|
5716
5721
|
type: r(s),
|
|
@@ -5747,15 +5752,15 @@ const ss = {
|
|
|
5747
5752
|
},
|
|
5748
5753
|
emits: ["update:modelValue"],
|
|
5749
5754
|
setup(e, { emit: t }) {
|
|
5750
|
-
const a = t, n =
|
|
5755
|
+
const a = t, n = m(() => e.id ?? `select-${crypto.randomUUID()}`), l = m(() => {
|
|
5751
5756
|
var A;
|
|
5752
5757
|
if (!e.modelValue)
|
|
5753
5758
|
return e.placeholder;
|
|
5754
5759
|
const c = (A = e.options) == null ? void 0 : A.find((d) => String(d.value) === String(e.modelValue));
|
|
5755
5760
|
return c ? c.text : e.placeholder;
|
|
5756
|
-
}), i =
|
|
5761
|
+
}), i = m(() => ({
|
|
5757
5762
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5758
|
-
})), o =
|
|
5763
|
+
})), o = m(() => e.errorMessage || e.successMessage), s = m(() => e.errorMessage ? "error" : "success");
|
|
5759
5764
|
return (c, A) => {
|
|
5760
5765
|
const d = Qe;
|
|
5761
5766
|
return u(), b("div", {
|
|
@@ -5855,7 +5860,7 @@ const ss = {
|
|
|
5855
5860
|
[na, e.isVisible]
|
|
5856
5861
|
]);
|
|
5857
5862
|
}
|
|
5858
|
-
}), Xs = /* @__PURE__ */ P(Ys, [["__scopeId", "data-v-3bab28a1"]]),
|
|
5863
|
+
}), Xs = /* @__PURE__ */ P(Ys, [["__scopeId", "data-v-3bab28a1"]]), Fs = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], qs = /* @__PURE__ */ k({
|
|
5859
5864
|
__name: "TabItem",
|
|
5860
5865
|
props: {
|
|
5861
5866
|
panelId: {},
|
|
@@ -5867,7 +5872,7 @@ const ss = {
|
|
|
5867
5872
|
},
|
|
5868
5873
|
emits: ["click", "next", "previous", "first", "last"],
|
|
5869
5874
|
setup(e, { emit: t }) {
|
|
5870
|
-
const a = t, n = z(null), l = en("button"), i =
|
|
5875
|
+
const a = t, n = z(null), l = en("button"), i = m(() => e.isSelected ? "s2-bold" : "s2-regular"), o = {
|
|
5871
5876
|
ArrowRight: "next",
|
|
5872
5877
|
ArrowLeft: "previous",
|
|
5873
5878
|
Home: "first",
|
|
@@ -5922,11 +5927,11 @@ const ss = {
|
|
|
5922
5927
|
y("span", {
|
|
5923
5928
|
class: Q(r(i))
|
|
5924
5929
|
}, W(e.title), 3)
|
|
5925
|
-
], 16,
|
|
5930
|
+
], 16, Fs)
|
|
5926
5931
|
], 2);
|
|
5927
5932
|
};
|
|
5928
5933
|
}
|
|
5929
|
-
}), Ks = /* @__PURE__ */ P(
|
|
5934
|
+
}), Ks = /* @__PURE__ */ P(qs, [["__scopeId", "data-v-19c21903"]]);
|
|
5930
5935
|
function Gs(e, t, a) {
|
|
5931
5936
|
const n = z({ "--tabs-height": "100px" });
|
|
5932
5937
|
function l() {
|
|
@@ -5951,12 +5956,12 @@ const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
|
5951
5956
|
}),
|
|
5952
5957
|
emits: ["update:modelValue"],
|
|
5953
5958
|
setup(e) {
|
|
5954
|
-
const t = ve(), a =
|
|
5959
|
+
const t = ve(), a = m(() => {
|
|
5955
5960
|
var D;
|
|
5956
5961
|
return ((D = t.default) == null ? void 0 : D.call(t)) || [];
|
|
5957
5962
|
}), n = we(e, "modelValue"), l = z(null), i = z(null), o = Ct({}), { tabsStyle: s, updateTabsStyle: c } = Gs(
|
|
5958
5963
|
i,
|
|
5959
|
-
|
|
5964
|
+
m(() => {
|
|
5960
5965
|
var D;
|
|
5961
5966
|
return Array.from(((D = l.value) == null ? void 0 : D.querySelectorAll(".av-tab-content")) || []);
|
|
5962
5967
|
}),
|
|
@@ -5978,7 +5983,7 @@ const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
|
5978
5983
|
function I() {
|
|
5979
5984
|
d(1);
|
|
5980
5985
|
}
|
|
5981
|
-
function
|
|
5986
|
+
function g() {
|
|
5982
5987
|
n.value = 0;
|
|
5983
5988
|
}
|
|
5984
5989
|
function v() {
|
|
@@ -6030,7 +6035,7 @@ const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
|
6030
6035
|
onClick: (Z) => n.value = M,
|
|
6031
6036
|
onNext: I,
|
|
6032
6037
|
onPrevious: f,
|
|
6033
|
-
onFirst:
|
|
6038
|
+
onFirst: g,
|
|
6034
6039
|
onLast: v
|
|
6035
6040
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
6036
6041
|
}), 128))
|
|
@@ -6048,7 +6053,7 @@ const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
|
6048
6053
|
}, 1032, ["panel-id", "tab-id", "is-visible"]))), 128))
|
|
6049
6054
|
], 6));
|
|
6050
6055
|
}
|
|
6051
|
-
}), fu = /* @__PURE__ */ P($s, [["__scopeId", "data-v-
|
|
6056
|
+
}), fu = /* @__PURE__ */ P($s, [["__scopeId", "data-v-b094d590"]]), _s = "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", ec = "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", tc = ["id", "for"], ac = {
|
|
6052
6057
|
width: "34",
|
|
6053
6058
|
height: "14"
|
|
6054
6059
|
}, nc = ["href"], lc = {
|
|
@@ -6070,7 +6075,7 @@ const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
|
6070
6075
|
},
|
|
6071
6076
|
emits: ["update:modelValue"],
|
|
6072
6077
|
setup(e) {
|
|
6073
|
-
const t =
|
|
6078
|
+
const t = m(() => e.id ?? `toggle-${crypto.randomUUID()}`), a = m(() => `${t.value}-label`);
|
|
6074
6079
|
return (n, l) => (u(), b($, null, [
|
|
6075
6080
|
y("label", {
|
|
6076
6081
|
id: r(a),
|
|
@@ -6231,7 +6236,7 @@ const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
|
6231
6236
|
}, Tc = { class: "n6" }, Dc = { class: "av-header__tools av-hidden av-unhidden--lg" }, Lc = { class: "av-header__tools-links" }, wc = {
|
|
6232
6237
|
key: 0,
|
|
6233
6238
|
class: "av-header__search demo-display-none"
|
|
6234
|
-
},
|
|
6239
|
+
}, xc = { class: "av-header__menu av-hidden av-unhidden--lg" }, Oc = {
|
|
6235
6240
|
key: 0,
|
|
6236
6241
|
class: "av-container av-header__mainnav"
|
|
6237
6242
|
}, Sc = { class: "av-row av-justify-end" }, kc = { class: "av-header__menu-modal" }, pc = { class: "av-header__menu-modal-links" }, Qc = {
|
|
@@ -6282,9 +6287,9 @@ const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
|
6282
6287
|
function I() {
|
|
6283
6288
|
c.value = !0, o.value = !1, s.value = !0;
|
|
6284
6289
|
}
|
|
6285
|
-
const
|
|
6286
|
-
return
|
|
6287
|
-
var Z,
|
|
6290
|
+
const g = A, v = m(() => [e.homeLabel, e.serviceTitle].filter((D) => D).join(" - ")), C = m(() => !!n.mainnav);
|
|
6291
|
+
return Ot(Ua, () => A), (D, E) => {
|
|
6292
|
+
var Z, q, ae;
|
|
6288
6293
|
const T = St("RouterLink"), M = se, L = Wa, B = Zl;
|
|
6289
6294
|
return u(), b("header", gc, [
|
|
6290
6295
|
y("div", Ic, [
|
|
@@ -6315,7 +6320,7 @@ const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
|
6315
6320
|
"icon-only": "",
|
|
6316
6321
|
onClick: E[0] || (E[0] = ge((p) => I(), ["prevent", "stop"]))
|
|
6317
6322
|
}, null, 8, ["label", "aria-label", "title", "icon"])) : w("", !0),
|
|
6318
|
-
r(C) || (
|
|
6323
|
+
r(C) || (q = e.quickLinks) != null && q.length ? (u(), S(M, {
|
|
6319
6324
|
key: 1,
|
|
6320
6325
|
id: "button-menu",
|
|
6321
6326
|
variant: "OUTLINED",
|
|
@@ -6365,8 +6370,8 @@ const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
|
6365
6370
|
V(D.$slots, "default", {}, void 0, !0)
|
|
6366
6371
|
])
|
|
6367
6372
|
]),
|
|
6368
|
-
y("div",
|
|
6369
|
-
r(C) && !r(c) ? (u(), b("div",
|
|
6373
|
+
y("div", xc, [
|
|
6374
|
+
r(C) && !r(c) ? (u(), b("div", Oc, [
|
|
6370
6375
|
V(D.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
6371
6376
|
])) : w("", !0)
|
|
6372
6377
|
]),
|
|
@@ -6400,7 +6405,7 @@ const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
|
6400
6405
|
role: "navigation",
|
|
6401
6406
|
links: e.quickLinks,
|
|
6402
6407
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
6403
|
-
onLinkClick: r(
|
|
6408
|
+
onLinkClick: r(g)
|
|
6404
6409
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : w("", !0),
|
|
6405
6410
|
V(D.$slots, "after-quick-links", {}, void 0, !0)
|
|
6406
6411
|
]),
|
|
@@ -6453,7 +6458,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6453
6458
|
oe((a) => ({
|
|
6454
6459
|
c873d74e: a.color
|
|
6455
6460
|
}));
|
|
6456
|
-
const t =
|
|
6461
|
+
const t = m(() => ({
|
|
6457
6462
|
...e.width && { width: e.width },
|
|
6458
6463
|
...e.height && { height: e.height }
|
|
6459
6464
|
}));
|
|
@@ -6479,7 +6484,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6479
6484
|
collapsing: a,
|
|
6480
6485
|
cssExpanded: n,
|
|
6481
6486
|
doExpand: l
|
|
6482
|
-
} = st(), { isAboveMd: i } = ct(), o =
|
|
6487
|
+
} = st(), { isAboveMd: i } = ct(), o = m(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = m(() => ({
|
|
6483
6488
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_RIGHT})`
|
|
6484
6489
|
})), c = z(i.value);
|
|
6485
6490
|
return re(c, (A, d) => {
|
|
@@ -6504,7 +6509,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6504
6509
|
label: e.showBreadcrumbLabel,
|
|
6505
6510
|
small: "",
|
|
6506
6511
|
"no-sentence-case": "",
|
|
6507
|
-
onClick: d[0] || (d[0] = (
|
|
6512
|
+
onClick: d[0] || (d[0] = (g) => c.value = !r(c))
|
|
6508
6513
|
}, null, 8, ["aria-expanded", "aria-controls", "label"])),
|
|
6509
6514
|
y("div", {
|
|
6510
6515
|
id: r(o),
|
|
@@ -6516,40 +6521,40 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6516
6521
|
}])
|
|
6517
6522
|
}, [
|
|
6518
6523
|
y("ol", Rc, [
|
|
6519
|
-
(u(!0), b($, null, ie(e.links, (
|
|
6524
|
+
(u(!0), b($, null, ie(e.links, (g, v) => (u(), b("li", {
|
|
6520
6525
|
key: v,
|
|
6521
6526
|
class: "av-breadcrumb__item",
|
|
6522
6527
|
style: ue(r(s))
|
|
6523
6528
|
}, [
|
|
6524
|
-
|
|
6529
|
+
g.to ? (u(), S(I, {
|
|
6525
6530
|
key: 0,
|
|
6526
6531
|
"aria-current": v === e.links.length - 1 ? "page" : void 0,
|
|
6527
6532
|
class: "b2-regular av-breadcrumb__link",
|
|
6528
|
-
to:
|
|
6533
|
+
to: g.to
|
|
6529
6534
|
}, {
|
|
6530
6535
|
default: K(() => [
|
|
6531
|
-
Le(W(
|
|
6536
|
+
Le(W(g.text), 1)
|
|
6532
6537
|
]),
|
|
6533
6538
|
_: 2
|
|
6534
6539
|
}, 1032, ["aria-current", "to"])) : (u(), b("a", {
|
|
6535
6540
|
key: 1,
|
|
6536
6541
|
"aria-current": v === e.links.length - 1 ? "page" : void 0,
|
|
6537
6542
|
class: "b2-regular av-breadcrumb__link"
|
|
6538
|
-
}, W(
|
|
6543
|
+
}, W(g.text), 9, Zc))
|
|
6539
6544
|
], 4))), 128))
|
|
6540
6545
|
])
|
|
6541
6546
|
], 10, Hc)
|
|
6542
6547
|
], 8, Vc)) : w("", !0);
|
|
6543
6548
|
};
|
|
6544
6549
|
}
|
|
6545
|
-
}), Iu = /* @__PURE__ */ P(Yc, [["__scopeId", "data-v-7edf8c6c"]]), Xc = ["id", "aria-current"],
|
|
6550
|
+
}), Iu = /* @__PURE__ */ P(Yc, [["__scopeId", "data-v-7edf8c6c"]]), Xc = ["id", "aria-current"], Fc = /* @__PURE__ */ k({
|
|
6546
6551
|
__name: "NavigationItem",
|
|
6547
6552
|
props: {
|
|
6548
6553
|
id: {},
|
|
6549
6554
|
active: { type: Boolean }
|
|
6550
6555
|
},
|
|
6551
6556
|
setup(e) {
|
|
6552
|
-
const t =
|
|
6557
|
+
const t = m(() => e.id ?? `nav-item-${crypto.randomUUID()}`);
|
|
6553
6558
|
return (a, n) => (u(), b("li", {
|
|
6554
6559
|
id: r(t),
|
|
6555
6560
|
class: Q(["av-nav__item", { "av-nav__item--active": e.active }]),
|
|
@@ -6558,14 +6563,14 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6558
6563
|
V(a.$slots, "default", {}, void 0, !0)
|
|
6559
6564
|
], 10, Xc));
|
|
6560
6565
|
}
|
|
6561
|
-
}),
|
|
6566
|
+
}), qc = /* @__PURE__ */ P(Fc, [["__scopeId", "data-v-94f974c7"]]), Kc = ["id", "aria-current"], Gc = /* @__PURE__ */ k({
|
|
6562
6567
|
__name: "NavigationMenuItem",
|
|
6563
6568
|
props: {
|
|
6564
6569
|
id: {},
|
|
6565
6570
|
active: { type: Boolean }
|
|
6566
6571
|
},
|
|
6567
6572
|
setup(e) {
|
|
6568
|
-
const t =
|
|
6573
|
+
const t = m(() => e.id ?? `nav-menu-item-${crypto.randomUUID()}`);
|
|
6569
6574
|
return (a, n) => (u(), b("li", {
|
|
6570
6575
|
id: r(t),
|
|
6571
6576
|
class: "av-menu__item",
|
|
@@ -6587,7 +6592,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6587
6592
|
},
|
|
6588
6593
|
emits: ["toggleId"],
|
|
6589
6594
|
setup(e) {
|
|
6590
|
-
const { isBelowLg: t } = ct(), a =
|
|
6595
|
+
const { isBelowLg: t } = ct(), a = m(() => e.id ?? `menu-link-${crypto.randomUUID()}`), n = m(() => typeof e.to == "string" && e.to.startsWith("http")), l = wt() ? ot(Ua) : void 0, i = (l == null ? void 0 : l()) ?? (() => {
|
|
6591
6596
|
});
|
|
6592
6597
|
return (o, s) => {
|
|
6593
6598
|
const c = le, A = St("RouterLink");
|
|
@@ -6643,7 +6648,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6643
6648
|
cssExpanded: n,
|
|
6644
6649
|
doExpand: l,
|
|
6645
6650
|
onTransitionEnd: i
|
|
6646
|
-
} = st(), o =
|
|
6651
|
+
} = st(), o = m(() => e.id ?? `menu-${crypto.randomUUID()}`), s = m(() => o.value === e.expandedId), c = m(() => ({
|
|
6647
6652
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
6648
6653
|
}));
|
|
6649
6654
|
return re(s, (A, d) => {
|
|
@@ -6673,7 +6678,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6673
6678
|
(u(!0), b($, null, ie(e.links, (f, I) => (u(), S(Jc, { key: I }, {
|
|
6674
6679
|
default: K(() => [
|
|
6675
6680
|
U(Va, _({ ref_for: !0 }, f, {
|
|
6676
|
-
onToggleId: d[1] || (d[1] = (
|
|
6681
|
+
onToggleId: d[1] || (d[1] = (g) => A.$emit("toggleId", e.expandedId))
|
|
6677
6682
|
}), null, 16)
|
|
6678
6683
|
]),
|
|
6679
6684
|
_: 2
|
|
@@ -6693,7 +6698,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6693
6698
|
navItems: {}
|
|
6694
6699
|
},
|
|
6695
6700
|
setup(e) {
|
|
6696
|
-
const t =
|
|
6701
|
+
const t = m(() => e.id ?? `nav-${crypto.randomUUID()}`), a = z(void 0);
|
|
6697
6702
|
function n(s) {
|
|
6698
6703
|
if (s === a.value) {
|
|
6699
6704
|
a.value = void 0;
|
|
@@ -6728,7 +6733,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6728
6733
|
"aria-label": e.label
|
|
6729
6734
|
}, [
|
|
6730
6735
|
y("ul", cA, [
|
|
6731
|
-
(u(!0), b($, null, ie(e.navItems, (A, d) => (u(), S(
|
|
6736
|
+
(u(!0), b($, null, ie(e.navItems, (A, d) => (u(), S(qc, { key: d }, {
|
|
6732
6737
|
default: K(() => [
|
|
6733
6738
|
A.to && A.text ? (u(), S(Va, _({
|
|
6734
6739
|
key: 0,
|
|
@@ -6772,7 +6777,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6772
6777
|
},
|
|
6773
6778
|
emits: ["update:current-page"],
|
|
6774
6779
|
setup(e, { emit: t }) {
|
|
6775
|
-
const a = t, n =
|
|
6780
|
+
const a = t, n = m(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), l = m(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), i = m(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, l.value + 1) : e.pages), o = m(() => e.pages.length > 0), s = (v) => a("update:current-page", v), c = (v) => s(v), A = () => c(0), d = () => c(Math.max(0, e.currentPage - 1)), f = () => c(Math.min(e.pages.length - 1, e.currentPage + 1)), I = () => c(e.pages.length - 1), g = (v) => e.pages.indexOf(v) === e.currentPage;
|
|
6776
6781
|
return (v, C) => {
|
|
6777
6782
|
var D, E, T, M;
|
|
6778
6783
|
return r(o) ? (u(), b("nav", {
|
|
@@ -6821,7 +6826,7 @@ const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k
|
|
|
6821
6826
|
href: L == null ? void 0 : L.href,
|
|
6822
6827
|
class: "av-pagination__link",
|
|
6823
6828
|
title: L.title,
|
|
6824
|
-
"aria-current":
|
|
6829
|
+
"aria-current": g(L) ? "page" : void 0,
|
|
6825
6830
|
onClick: ge((Z) => c(e.pages.indexOf(L)), ["prevent"])
|
|
6826
6831
|
}, [
|
|
6827
6832
|
r(i).indexOf(L) === 0 && r(n) > 0 ? (u(), b("span", hA, "...")) : w("", !0),
|
|
@@ -6880,7 +6885,7 @@ function yu(e) {
|
|
|
6880
6885
|
const DA = ["id", "aria-label"], LA = {
|
|
6881
6886
|
key: 0,
|
|
6882
6887
|
class: "av-side-menu__header"
|
|
6883
|
-
}, wA = { class: "av-side-menu__content" },
|
|
6888
|
+
}, wA = { class: "av-side-menu__content" }, xA = /* @__PURE__ */ k({
|
|
6884
6889
|
__name: "AvSideMenu",
|
|
6885
6890
|
props: /* @__PURE__ */ ye({
|
|
6886
6891
|
id: {},
|
|
@@ -6899,12 +6904,12 @@ const DA = ["id", "aria-label"], LA = {
|
|
|
6899
6904
|
v0a5fb945: r(c),
|
|
6900
6905
|
v4c9afb99: d.padding
|
|
6901
6906
|
}));
|
|
6902
|
-
const t = e, a = we(e, "collapsed"), { width: n, collapsedWidth: l } = la(t), i =
|
|
6907
|
+
const t = e, a = we(e, "collapsed"), { width: n, collapsedWidth: l } = la(t), i = m(() => t.id ?? crypto.randomUUID()), o = m(() => `${i.value} navigation`), s = m({
|
|
6903
6908
|
get: () => t.collapsible ? a.value : !1,
|
|
6904
6909
|
set: (d) => {
|
|
6905
6910
|
t.collapsible && (a.value = d);
|
|
6906
6911
|
}
|
|
6907
|
-
}), c =
|
|
6912
|
+
}), c = m(() => t.collapsible && s.value ? l.value : n.value);
|
|
6908
6913
|
function A() {
|
|
6909
6914
|
t.collapsible && (s.value = !s.value);
|
|
6910
6915
|
}
|
|
@@ -6929,7 +6934,7 @@ const DA = ["id", "aria-label"], LA = {
|
|
|
6929
6934
|
])
|
|
6930
6935
|
], 10, DA));
|
|
6931
6936
|
}
|
|
6932
|
-
}),
|
|
6937
|
+
}), OA = /* @__PURE__ */ P(xA, [["__scopeId", "data-v-3686f53e"]]), SA = /* @__PURE__ */ k({
|
|
6933
6938
|
__name: "AvSideNavigation",
|
|
6934
6939
|
props: /* @__PURE__ */ ye({
|
|
6935
6940
|
items: {},
|
|
@@ -6951,7 +6956,7 @@ const DA = ["id", "aria-label"], LA = {
|
|
|
6951
6956
|
function n(l) {
|
|
6952
6957
|
t.value = l;
|
|
6953
6958
|
}
|
|
6954
|
-
return (l, i) => (u(), S(
|
|
6959
|
+
return (l, i) => (u(), S(OA, {
|
|
6955
6960
|
collapsed: a.value,
|
|
6956
6961
|
"onUpdate:collapsed": i[0] || (i[0] = (o) => a.value = o),
|
|
6957
6962
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -7050,7 +7055,7 @@ const DA = ["id", "aria-label"], LA = {
|
|
|
7050
7055
|
},
|
|
7051
7056
|
emits: ["close", "confirm"],
|
|
7052
7057
|
setup(e, { emit: t }) {
|
|
7053
|
-
const a = t, n = ve(), l =
|
|
7058
|
+
const a = t, n = ve(), l = m(() => e.id ?? `modal-${crypto.randomUUID()}`), i = m(() => e.isAlert ? "alertdialog" : "dialog"), o = z(null), s = z();
|
|
7054
7059
|
re(() => e.opened, (A) => {
|
|
7055
7060
|
var d, f, I;
|
|
7056
7061
|
A ? ((d = s.value) == null || d.showModal(), (f = o.value) == null || f.focus()) : (I = s.value) == null || I.close(), c(A);
|
|
@@ -7119,7 +7124,7 @@ export {
|
|
|
7119
7124
|
tu as AvAccordionsGroup,
|
|
7120
7125
|
Bn as AvAlert,
|
|
7121
7126
|
cu as AvAutocomplete,
|
|
7122
|
-
|
|
7127
|
+
qA as AvBadge,
|
|
7123
7128
|
Iu as AvBreadcrumb,
|
|
7124
7129
|
se as AvButton,
|
|
7125
7130
|
Wa as AvCancelConfirmButtons,
|
|
@@ -7135,7 +7140,7 @@ export {
|
|
|
7135
7140
|
aa as AvHeaderMenuLinks,
|
|
7136
7141
|
le as AvIcon,
|
|
7137
7142
|
cn as AvIconText,
|
|
7138
|
-
|
|
7143
|
+
Fe as AvInput,
|
|
7139
7144
|
Rt as AvLanguageSelector,
|
|
7140
7145
|
ka as AvList,
|
|
7141
7146
|
pa as AvListItem,
|
|
@@ -7153,13 +7158,13 @@ export {
|
|
|
7153
7158
|
nu as AvRichButton,
|
|
7154
7159
|
$t as AvSearchBar,
|
|
7155
7160
|
uu as AvSelect,
|
|
7156
|
-
|
|
7161
|
+
OA as AvSideMenu,
|
|
7157
7162
|
Cu as AvSideNavigation,
|
|
7158
7163
|
Mu as AvStepper,
|
|
7159
7164
|
du as AvTab,
|
|
7160
7165
|
fu as AvTabs,
|
|
7161
7166
|
on as AvTag,
|
|
7162
|
-
|
|
7167
|
+
Oo as AvTagPicker,
|
|
7163
7168
|
_A as AvToaster,
|
|
7164
7169
|
vu as AvToggle,
|
|
7165
7170
|
pe as DropdownState,
|