@avenirs-esr/avenirs-dsav 0.1.134 → 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 +607 -600
- 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",
|
|
@@ -207,9 +210,10 @@ const tn = ["title"], an = /* @__PURE__ */ k({
|
|
|
207
210
|
WARNING_CIRCLE: "mdi:warning-circle",
|
|
208
211
|
WARNING_OUTLINE: "mdi:warning-outline",
|
|
209
212
|
WEIGHTS: "mdi:weights"
|
|
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)" };
|
|
@@ -485,11 +490,11 @@ const hn = { class: "b2-bold" }, yn = { class: "b2-regular" }, Cn = ["innerHTML"
|
|
|
485
490
|
], 2);
|
|
486
491
|
};
|
|
487
492
|
}
|
|
488
|
-
}),
|
|
493
|
+
}), GA = /* @__PURE__ */ P(Mn, [["__scopeId", "data-v-4d37ebd3"]]);
|
|
489
494
|
function En(e) {
|
|
490
495
|
return [...new Set(e)];
|
|
491
496
|
}
|
|
492
|
-
function
|
|
497
|
+
function JA(e) {
|
|
493
498
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
494
499
|
}
|
|
495
500
|
const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE__ */ k({
|
|
@@ -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
|
-
}),
|
|
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",
|
|
@@ -775,9 +780,9 @@ const Nn = ["title", "aria-label", "aria-disabled", "disabled"], Tn = /* @__PURE
|
|
|
775
780
|
})
|
|
776
781
|
]));
|
|
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
|
]),
|
|
@@ -2144,18 +2149,18 @@ const Yl = { class: "av-accordion" }, Xl = ["id", "aria-expanded", "aria-control
|
|
|
2144
2149
|
]);
|
|
2145
2150
|
};
|
|
2146
2151
|
}
|
|
2147
|
-
}),
|
|
2152
|
+
}), eu = /* @__PURE__ */ P(Jl, [["__scopeId", "data-v-6b17a367"]]), $l = {
|
|
2148
2153
|
class: "av-accordions-group",
|
|
2149
2154
|
role: "group",
|
|
2150
2155
|
"aria-label": "Accordion group"
|
|
2151
|
-
},
|
|
2156
|
+
}, tu = /* @__PURE__ */ k({
|
|
2152
2157
|
__name: "AvAccordionsGroup",
|
|
2153
2158
|
props: {
|
|
2154
2159
|
activeAccordion: {}
|
|
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,
|
|
@@ -2289,7 +2294,7 @@ function ti(e, t) {
|
|
|
2289
2294
|
cleanupFocusTrap: l
|
|
2290
2295
|
};
|
|
2291
2296
|
}
|
|
2292
|
-
function
|
|
2297
|
+
function au(e) {
|
|
2293
2298
|
fe(() => {
|
|
2294
2299
|
document.documentElement.style.setProperty("--global-background-color", e);
|
|
2295
2300
|
}), me(() => {
|
|
@@ -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
|
})));
|
|
@@ -2493,7 +2498,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2493
2498
|
])
|
|
2494
2499
|
], 8, ci));
|
|
2495
2500
|
}
|
|
2496
|
-
}),
|
|
2501
|
+
}), nu = /* @__PURE__ */ P(di, [["__scopeId", "data-v-ff4425d7"]]), fi = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], vi = ["for"], mi = { class: "label-container av-row av-gap-xs av-align-center" }, gi = {
|
|
2497
2502
|
key: 0,
|
|
2498
2503
|
class: "av-hint-text"
|
|
2499
2504
|
}, Ii = /* @__PURE__ */ k({
|
|
@@ -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
|
]),
|
|
@@ -2777,7 +2782,7 @@ const ai = { class: "av-popover-wrapper" }, ni = /* @__PURE__ */ k({
|
|
|
2777
2782
|
])
|
|
2778
2783
|
], 64));
|
|
2779
2784
|
}
|
|
2780
|
-
}),
|
|
2785
|
+
}), lu = /* @__PURE__ */ P(ki, [["__scopeId", "data-v-b3d7bf33"]]), Na = 6048e5, pi = 864e5, Ta = 6e4, Da = 36e5, Zt = Symbol.for("constructDateFrom");
|
|
2781
2786
|
function de(e, t) {
|
|
2782
2787
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && Zt in e ? e[Zt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2783
2788
|
}
|
|
@@ -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",
|
|
@@ -4517,7 +4522,7 @@ const ro = { class: "av-input__wrapper av-col av-gap-xxs" }, oo = { class: "av-i
|
|
|
4517
4522
|
], 2)
|
|
4518
4523
|
], 2));
|
|
4519
4524
|
}
|
|
4520
|
-
}),
|
|
4525
|
+
}), iu = /* @__PURE__ */ P(go, [["__scopeId", "data-v-658fa9fb"]]), Io = {
|
|
4521
4526
|
class: "av-search-bar",
|
|
4522
4527
|
role: "search"
|
|
4523
4528
|
}, bo = /* @__PURE__ */ k({
|
|
@@ -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,14 +4758,14 @@ 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
|
-
const
|
|
4763
|
+
const ru = [
|
|
4759
4764
|
4,
|
|
4760
4765
|
8,
|
|
4761
4766
|
12
|
|
4762
4767
|
/* TWELVE */
|
|
4763
|
-
], So = { class: "pagination-size-picker-container av-row" },
|
|
4768
|
+
], So = { class: "pagination-size-picker-container av-row" }, ou = /* @__PURE__ */ k({
|
|
4764
4769
|
__name: "AvPageSizePicker",
|
|
4765
4770
|
props: {
|
|
4766
4771
|
label: {},
|
|
@@ -4768,15 +4773,15 @@ const ou = [
|
|
|
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,
|
|
@@ -4845,7 +4850,7 @@ const ou = [
|
|
|
4845
4850
|
}, 8, ["inline", "disabled"]);
|
|
4846
4851
|
};
|
|
4847
4852
|
}
|
|
4848
|
-
}), zo = /* @__PURE__ */ P(jo, [["__scopeId", "data-v-2e0e07d7"]]),
|
|
4853
|
+
}), zo = /* @__PURE__ */ P(jo, [["__scopeId", "data-v-2e0e07d7"]]), su = /* @__PURE__ */ k({
|
|
4849
4854
|
__name: "AvRadioButtonSet",
|
|
4850
4855
|
props: {
|
|
4851
4856
|
id: {},
|
|
@@ -4862,26 +4867,26 @@ const ou = [
|
|
|
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 ou = [
|
|
|
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);
|
|
@@ -5384,7 +5389,7 @@ const ss = {
|
|
|
5384
5389
|
]), 1024)
|
|
5385
5390
|
]));
|
|
5386
5391
|
}
|
|
5387
|
-
}),
|
|
5392
|
+
}), cu = /* @__PURE__ */ P(Cs, [["__scopeId", "data-v-a8c4de33"]]), Ms = ["id"], Es = ["id"], Ns = {
|
|
5388
5393
|
key: 0,
|
|
5389
5394
|
class: "av-btns-group"
|
|
5390
5395
|
}, Ts = { key: 1 }, Ds = { key: 2 }, Ls = "label", ws = /* @__PURE__ */ k({
|
|
@@ -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),
|
|
@@ -5719,16 +5724,16 @@ const ss = {
|
|
|
5719
5724
|
], 64);
|
|
5720
5725
|
};
|
|
5721
5726
|
}
|
|
5722
|
-
}),
|
|
5727
|
+
}), Au = /* @__PURE__ */ P(js, [["__scopeId", "data-v-4a202f3d"]]), zs = {
|
|
5723
5728
|
key: 0,
|
|
5724
5729
|
class: "av-select-prefix av-align-center av-col"
|
|
5725
|
-
},
|
|
5730
|
+
}, Bs = ["for"], Ps = {
|
|
5726
5731
|
key: 0,
|
|
5727
5732
|
class: "required"
|
|
5728
|
-
},
|
|
5733
|
+
}, Ws = {
|
|
5729
5734
|
key: 1,
|
|
5730
5735
|
class: "av-hint-text"
|
|
5731
|
-
},
|
|
5736
|
+
}, Us = ["id", "name", "disabled", "aria-disabled", "required", "aria-required", "title"], Vs = ["selected"], Hs = ["selected", "value", "disabled", "aria-disabled"], Rs = /* @__PURE__ */ k({
|
|
5732
5737
|
__name: "AvSelect",
|
|
5733
5738
|
props: {
|
|
5734
5739
|
required: { type: Boolean, default: !1 },
|
|
@@ -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", {
|
|
@@ -5764,8 +5769,10 @@ const ss = {
|
|
|
5764
5769
|
y("div", {
|
|
5765
5770
|
class: Q(["av-select-group", { [`av-select-group--${r(s)}`]: r(o) }])
|
|
5766
5771
|
}, [
|
|
5767
|
-
y("div",
|
|
5768
|
-
|
|
5772
|
+
y("div", {
|
|
5773
|
+
class: Q(["av-select-control", { "av-select-control--disabled": e.disabled }])
|
|
5774
|
+
}, [
|
|
5775
|
+
e.prefixIcon ? (u(), b("div", zs, [
|
|
5769
5776
|
U(le, {
|
|
5770
5777
|
name: e.prefixIcon,
|
|
5771
5778
|
size: 1.2
|
|
@@ -5776,9 +5783,9 @@ const ss = {
|
|
|
5776
5783
|
for: r(n)
|
|
5777
5784
|
}, [
|
|
5778
5785
|
y("span", null, W(e.label), 1),
|
|
5779
|
-
e.required ? (u(), b("span",
|
|
5780
|
-
e.hint ? (u(), b("span",
|
|
5781
|
-
], 8,
|
|
5786
|
+
e.required ? (u(), b("span", Ps, " *")) : w("", !0),
|
|
5787
|
+
e.hint ? (u(), b("span", Ws, W(e.hint), 1)) : w("", !0)
|
|
5788
|
+
], 8, Bs),
|
|
5782
5789
|
y("select", _({
|
|
5783
5790
|
id: r(n),
|
|
5784
5791
|
class: [{
|
|
@@ -5803,16 +5810,16 @@ const ss = {
|
|
|
5803
5810
|
disabled: "",
|
|
5804
5811
|
value: "",
|
|
5805
5812
|
hidden: ""
|
|
5806
|
-
}, W(e.placeholder), 9,
|
|
5813
|
+
}, W(e.placeholder), 9, Vs),
|
|
5807
5814
|
(u(!0), b($, null, ie(e.options, (f, I) => (u(), b("option", {
|
|
5808
5815
|
key: I,
|
|
5809
5816
|
selected: e.modelValue === f.value,
|
|
5810
5817
|
value: f.value,
|
|
5811
5818
|
disabled: f.disabled,
|
|
5812
5819
|
"aria-disabled": f.disabled
|
|
5813
|
-
}, W(f.text), 9,
|
|
5814
|
-
], 16,
|
|
5815
|
-
]),
|
|
5820
|
+
}, W(f.text), 9, Hs))), 128))
|
|
5821
|
+
], 16, Us)
|
|
5822
|
+
], 2),
|
|
5816
5823
|
U(d, {
|
|
5817
5824
|
"message-id": `select-${r(s)}-desc-${r(s)}`,
|
|
5818
5825
|
message: r(o),
|
|
@@ -5822,7 +5829,7 @@ const ss = {
|
|
|
5822
5829
|
], 2);
|
|
5823
5830
|
};
|
|
5824
5831
|
}
|
|
5825
|
-
}),
|
|
5832
|
+
}), uu = /* @__PURE__ */ P(Rs, [["__scopeId", "data-v-b2507b12"]]), du = /* @__PURE__ */ k({
|
|
5826
5833
|
__name: "AvTab",
|
|
5827
5834
|
props: {
|
|
5828
5835
|
title: {},
|
|
@@ -5831,7 +5838,7 @@ const ss = {
|
|
|
5831
5838
|
setup(e) {
|
|
5832
5839
|
return (t, a) => V(t.$slots, "default");
|
|
5833
5840
|
}
|
|
5834
|
-
}),
|
|
5841
|
+
}), Zs = ["id", "aria-labelledby", "tabindex"], Ys = /* @__PURE__ */ k({
|
|
5835
5842
|
__name: "TabContent",
|
|
5836
5843
|
props: {
|
|
5837
5844
|
panelId: {},
|
|
@@ -5849,11 +5856,11 @@ const ss = {
|
|
|
5849
5856
|
tabindex: e.isVisible ? 0 : -1
|
|
5850
5857
|
}, [
|
|
5851
5858
|
V(t.$slots, "default", {}, void 0, !0)
|
|
5852
|
-
], 10,
|
|
5859
|
+
], 10, Zs)), [
|
|
5853
5860
|
[na, e.isVisible]
|
|
5854
5861
|
]);
|
|
5855
5862
|
}
|
|
5856
|
-
}),
|
|
5863
|
+
}), Xs = /* @__PURE__ */ P(Ys, [["__scopeId", "data-v-3bab28a1"]]), Fs = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], qs = /* @__PURE__ */ k({
|
|
5857
5864
|
__name: "TabItem",
|
|
5858
5865
|
props: {
|
|
5859
5866
|
panelId: {},
|
|
@@ -5865,7 +5872,7 @@ const ss = {
|
|
|
5865
5872
|
},
|
|
5866
5873
|
emits: ["click", "next", "previous", "first", "last"],
|
|
5867
5874
|
setup(e, { emit: t }) {
|
|
5868
|
-
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 = {
|
|
5869
5876
|
ArrowRight: "next",
|
|
5870
5877
|
ArrowLeft: "previous",
|
|
5871
5878
|
Home: "first",
|
|
@@ -5924,8 +5931,8 @@ const ss = {
|
|
|
5924
5931
|
], 2);
|
|
5925
5932
|
};
|
|
5926
5933
|
}
|
|
5927
|
-
}),
|
|
5928
|
-
function
|
|
5934
|
+
}), Ks = /* @__PURE__ */ P(qs, [["__scopeId", "data-v-19c21903"]]);
|
|
5935
|
+
function Gs(e, t, a) {
|
|
5929
5936
|
const n = z({ "--tabs-height": "100px" });
|
|
5930
5937
|
function l() {
|
|
5931
5938
|
if (a.value < 0 || !e.value || !e.value.offsetHeight)
|
|
@@ -5938,7 +5945,7 @@ function Js(e, t, a) {
|
|
|
5938
5945
|
}
|
|
5939
5946
|
return { tabsStyle: n, updateTabsStyle: l };
|
|
5940
5947
|
}
|
|
5941
|
-
const
|
|
5948
|
+
const Js = ["aria-label"], $s = /* @__PURE__ */ k({
|
|
5942
5949
|
__name: "AvTabs",
|
|
5943
5950
|
props: /* @__PURE__ */ ye({
|
|
5944
5951
|
ariaLabel: {},
|
|
@@ -5949,12 +5956,12 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
5949
5956
|
}),
|
|
5950
5957
|
emits: ["update:modelValue"],
|
|
5951
5958
|
setup(e) {
|
|
5952
|
-
const t = ve(), a =
|
|
5959
|
+
const t = ve(), a = m(() => {
|
|
5953
5960
|
var D;
|
|
5954
5961
|
return ((D = t.default) == null ? void 0 : D.call(t)) || [];
|
|
5955
|
-
}), n = we(e, "modelValue"), l = z(null), i = z(null), o = Ct({}), { tabsStyle: s, updateTabsStyle: c } =
|
|
5962
|
+
}), n = we(e, "modelValue"), l = z(null), i = z(null), o = Ct({}), { tabsStyle: s, updateTabsStyle: c } = Gs(
|
|
5956
5963
|
i,
|
|
5957
|
-
|
|
5964
|
+
m(() => {
|
|
5958
5965
|
var D;
|
|
5959
5966
|
return Array.from(((D = l.value) == null ? void 0 : D.querySelectorAll(".av-tab-content")) || []);
|
|
5960
5967
|
}),
|
|
@@ -5976,7 +5983,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
5976
5983
|
function I() {
|
|
5977
5984
|
d(1);
|
|
5978
5985
|
}
|
|
5979
|
-
function
|
|
5986
|
+
function g() {
|
|
5980
5987
|
n.value = 0;
|
|
5981
5988
|
}
|
|
5982
5989
|
function v() {
|
|
@@ -6017,7 +6024,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6017
6024
|
}, [
|
|
6018
6025
|
(u(!0), b($, null, ie(r(a), (T, M) => {
|
|
6019
6026
|
var L, B;
|
|
6020
|
-
return u(), S(
|
|
6027
|
+
return u(), S(Ks, {
|
|
6021
6028
|
key: M,
|
|
6022
6029
|
"tab-id": A(M),
|
|
6023
6030
|
"panel-id": `${A(M)}-panel`,
|
|
@@ -6028,12 +6035,12 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6028
6035
|
onClick: (Z) => n.value = M,
|
|
6029
6036
|
onNext: I,
|
|
6030
6037
|
onPrevious: f,
|
|
6031
|
-
onFirst:
|
|
6038
|
+
onFirst: g,
|
|
6032
6039
|
onLast: v
|
|
6033
6040
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
6034
6041
|
}), 128))
|
|
6035
|
-
], 10,
|
|
6036
|
-
(u(!0), b($, null, ie(r(a), (T, M) => (u(), S(
|
|
6042
|
+
], 10, Js),
|
|
6043
|
+
(u(!0), b($, null, ie(r(a), (T, M) => (u(), S(Xs, {
|
|
6037
6044
|
key: M,
|
|
6038
6045
|
"panel-id": `${A(M)}-panel`,
|
|
6039
6046
|
"tab-id": A(M),
|
|
@@ -6046,16 +6053,16 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6046
6053
|
}, 1032, ["panel-id", "tab-id", "is-visible"]))), 128))
|
|
6047
6054
|
], 6));
|
|
6048
6055
|
}
|
|
6049
|
-
}),
|
|
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 = {
|
|
6050
6057
|
width: "34",
|
|
6051
6058
|
height: "14"
|
|
6052
|
-
},
|
|
6059
|
+
}, nc = ["href"], lc = {
|
|
6053
6060
|
key: 0,
|
|
6054
6061
|
class: "caption-bold no-select"
|
|
6055
|
-
},
|
|
6062
|
+
}, ic = {
|
|
6056
6063
|
key: 1,
|
|
6057
6064
|
class: "caption-regular no-select"
|
|
6058
|
-
},
|
|
6065
|
+
}, rc = { class: "caption-regular" }, oc = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], sc = /* @__PURE__ */ k({
|
|
6059
6066
|
__name: "AvToggle",
|
|
6060
6067
|
props: {
|
|
6061
6068
|
modelValue: { type: Boolean },
|
|
@@ -6068,7 +6075,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6068
6075
|
},
|
|
6069
6076
|
emits: ["update:modelValue"],
|
|
6070
6077
|
setup(e) {
|
|
6071
|
-
const t =
|
|
6078
|
+
const t = m(() => e.id ?? `toggle-${crypto.randomUUID()}`), a = m(() => `${t.value}-label`);
|
|
6072
6079
|
return (n, l) => (u(), b($, null, [
|
|
6073
6080
|
y("label", {
|
|
6074
6081
|
id: r(a),
|
|
@@ -6082,17 +6089,17 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6082
6089
|
"toggle--disabled": e.disabled
|
|
6083
6090
|
}])
|
|
6084
6091
|
}, [
|
|
6085
|
-
(u(), b("svg",
|
|
6092
|
+
(u(), b("svg", ac, [
|
|
6086
6093
|
y("image", {
|
|
6087
|
-
href: e.modelValue ? r(
|
|
6094
|
+
href: e.modelValue ? r(_s) : r(ec),
|
|
6088
6095
|
width: "34",
|
|
6089
6096
|
height: "14"
|
|
6090
|
-
}, null, 8,
|
|
6097
|
+
}, null, 8, nc)
|
|
6091
6098
|
])),
|
|
6092
|
-
e.modelValue ? (u(), b("span",
|
|
6099
|
+
e.modelValue ? (u(), b("span", lc, W(e.activeText), 1)) : (u(), b("span", ic, W(e.inactiveText), 1))
|
|
6093
6100
|
], 2),
|
|
6094
|
-
y("span",
|
|
6095
|
-
], 10,
|
|
6101
|
+
y("span", rc, W(e.description), 1)
|
|
6102
|
+
], 10, tc),
|
|
6096
6103
|
y("input", {
|
|
6097
6104
|
id: r(t),
|
|
6098
6105
|
style: { display: "none" },
|
|
@@ -6104,10 +6111,10 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6104
6111
|
"aria-describedby": r(a),
|
|
6105
6112
|
name: e.name,
|
|
6106
6113
|
onInput: l[0] || (l[0] = (i) => n.$emit("update:modelValue", i.target.checked))
|
|
6107
|
-
}, null, 40,
|
|
6114
|
+
}, null, 40, oc)
|
|
6108
6115
|
], 64));
|
|
6109
6116
|
}
|
|
6110
|
-
}),
|
|
6117
|
+
}), vu = /* @__PURE__ */ P(sc, [["__scopeId", "data-v-49a101c1"]]), cc = { class: "av-cancel-confirm-buttons-container av-row av-gap-sm" }, Wa = /* @__PURE__ */ k({
|
|
6111
6118
|
__name: "AvCancelConfirmButtons",
|
|
6112
6119
|
props: {
|
|
6113
6120
|
cancelLabel: {},
|
|
@@ -6124,7 +6131,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6124
6131
|
emits: ["cancel", "confirm"],
|
|
6125
6132
|
setup(e, { emit: t }) {
|
|
6126
6133
|
const a = t;
|
|
6127
|
-
return (n, l) => (u(), b("div",
|
|
6134
|
+
return (n, l) => (u(), b("div", cc, [
|
|
6128
6135
|
e.cancelLabel ? (u(), S(r(se), {
|
|
6129
6136
|
key: 0,
|
|
6130
6137
|
icon: e.cancelIcon,
|
|
@@ -6153,7 +6160,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6153
6160
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled", "type", "form", "icon-only"])) : w("", !0)
|
|
6154
6161
|
]));
|
|
6155
6162
|
}
|
|
6156
|
-
}), Ua = Symbol("header"),
|
|
6163
|
+
}), Ua = Symbol("header"), Ac = ["aria-label"], uc = { class: "av-btns-group" }, aa = /* @__PURE__ */ k({
|
|
6157
6164
|
__name: "AvHeaderMenuLinks",
|
|
6158
6165
|
props: {
|
|
6159
6166
|
links: {},
|
|
@@ -6166,7 +6173,7 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6166
6173
|
role: "navigation",
|
|
6167
6174
|
"aria-label": e.navAriaLabel
|
|
6168
6175
|
}, [
|
|
6169
|
-
y("ul",
|
|
6176
|
+
y("ul", uc, [
|
|
6170
6177
|
(u(!0), b($, null, ie(e.links, (i, o) => (u(), b("li", { key: o }, [
|
|
6171
6178
|
U(se, {
|
|
6172
6179
|
icon: i.icon,
|
|
@@ -6178,9 +6185,9 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6178
6185
|
}, null, 8, ["icon", "label", "onClick"])
|
|
6179
6186
|
]))), 128))
|
|
6180
6187
|
])
|
|
6181
|
-
], 8,
|
|
6188
|
+
], 8, Ac));
|
|
6182
6189
|
}
|
|
6183
|
-
}),
|
|
6190
|
+
}), dc = {}, fc = {
|
|
6184
6191
|
width: "214",
|
|
6185
6192
|
height: "97",
|
|
6186
6193
|
viewBox: "0 0 214 97",
|
|
@@ -6188,8 +6195,8 @@ const $s = ["aria-label"], _s = /* @__PURE__ */ k({
|
|
|
6188
6195
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6189
6196
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
6190
6197
|
};
|
|
6191
|
-
function
|
|
6192
|
-
return u(), b("svg",
|
|
6198
|
+
function vc(e, t) {
|
|
6199
|
+
return u(), b("svg", fc, [...t[0] || (t[0] = [
|
|
6193
6200
|
y("rect", {
|
|
6194
6201
|
width: "213.732",
|
|
6195
6202
|
height: "96.9",
|
|
@@ -6217,25 +6224,25 @@ function mc(e, t) {
|
|
|
6217
6224
|
], -1)
|
|
6218
6225
|
])]);
|
|
6219
6226
|
}
|
|
6220
|
-
const
|
|
6227
|
+
const mc = /* @__PURE__ */ P(dc, [["render", vc]]), gc = {
|
|
6221
6228
|
role: "banner",
|
|
6222
6229
|
class: "av-header"
|
|
6223
|
-
},
|
|
6230
|
+
}, Ic = { class: "av-header__body" }, bc = { class: "av-container" }, hc = { class: "av-header__body-row" }, yc = { class: "av-header__brand" }, Cc = { class: "av-header__brand-top" }, Mc = { class: "av-header__logo av-enlarge-link" }, Ec = {
|
|
6224
6231
|
key: 0,
|
|
6225
6232
|
class: "av-header__navbar"
|
|
6226
|
-
},
|
|
6233
|
+
}, Nc = {
|
|
6227
6234
|
key: 0,
|
|
6228
6235
|
class: "av-header__service"
|
|
6229
|
-
},
|
|
6236
|
+
}, Tc = { class: "n6" }, Dc = { class: "av-header__tools av-hidden av-unhidden--lg" }, Lc = { class: "av-header__tools-links" }, wc = {
|
|
6230
6237
|
key: 0,
|
|
6231
6238
|
class: "av-header__search demo-display-none"
|
|
6232
|
-
}, xc = { class: "av-header__menu av-hidden av-unhidden--lg" },
|
|
6239
|
+
}, xc = { class: "av-header__menu av-hidden av-unhidden--lg" }, Oc = {
|
|
6233
6240
|
key: 0,
|
|
6234
6241
|
class: "av-container av-header__mainnav"
|
|
6235
|
-
},
|
|
6242
|
+
}, Sc = { class: "av-row av-justify-end" }, kc = { class: "av-header__menu-modal" }, pc = { class: "av-header__menu-modal-links" }, Qc = {
|
|
6236
6243
|
key: 1,
|
|
6237
6244
|
class: "flex justify-center items-center demo-display-none"
|
|
6238
|
-
},
|
|
6245
|
+
}, jc = /* @__PURE__ */ k({
|
|
6239
6246
|
__name: "AvHeader",
|
|
6240
6247
|
props: {
|
|
6241
6248
|
searchbarId: { default: "searchbar-header" },
|
|
@@ -6280,28 +6287,28 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6280
6287
|
function I() {
|
|
6281
6288
|
c.value = !0, o.value = !1, s.value = !0;
|
|
6282
6289
|
}
|
|
6283
|
-
const
|
|
6284
|
-
return
|
|
6285
|
-
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;
|
|
6286
6293
|
const T = St("RouterLink"), M = se, L = Wa, B = Zl;
|
|
6287
|
-
return u(), b("header",
|
|
6288
|
-
y("div",
|
|
6289
|
-
y("div",
|
|
6290
|
-
y("div",
|
|
6291
|
-
y("div",
|
|
6292
|
-
y("div",
|
|
6293
|
-
y("div",
|
|
6294
|
+
return u(), b("header", gc, [
|
|
6295
|
+
y("div", Ic, [
|
|
6296
|
+
y("div", bc, [
|
|
6297
|
+
y("div", hc, [
|
|
6298
|
+
y("div", yc, [
|
|
6299
|
+
y("div", Cc, [
|
|
6300
|
+
y("div", Mc, [
|
|
6294
6301
|
U(T, {
|
|
6295
6302
|
to: e.homeTo,
|
|
6296
6303
|
title: r(v)
|
|
6297
6304
|
}, {
|
|
6298
6305
|
default: K(() => [
|
|
6299
|
-
U(
|
|
6306
|
+
U(mc, { "data-testid": "header-logo" })
|
|
6300
6307
|
]),
|
|
6301
6308
|
_: 1
|
|
6302
6309
|
}, 8, ["to", "title"])
|
|
6303
6310
|
]),
|
|
6304
|
-
e.showSearch || r(C) || (Z = e.quickLinks) != null && Z.length ? (u(), b("div",
|
|
6311
|
+
e.showSearch || r(C) || (Z = e.quickLinks) != null && Z.length ? (u(), b("div", Ec, [
|
|
6305
6312
|
e.showSearch ? (u(), S(M, {
|
|
6306
6313
|
key: 0,
|
|
6307
6314
|
class: "search-button",
|
|
@@ -6313,7 +6320,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6313
6320
|
"icon-only": "",
|
|
6314
6321
|
onClick: E[0] || (E[0] = ge((p) => I(), ["prevent", "stop"]))
|
|
6315
6322
|
}, null, 8, ["label", "aria-label", "title", "icon"])) : w("", !0),
|
|
6316
|
-
r(C) || (
|
|
6323
|
+
r(C) || (q = e.quickLinks) != null && q.length ? (u(), S(M, {
|
|
6317
6324
|
key: 1,
|
|
6318
6325
|
id: "button-menu",
|
|
6319
6326
|
variant: "OUTLINED",
|
|
@@ -6329,13 +6336,13 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6329
6336
|
}, null, 8, ["icon", "label", "aria-label", "title"])) : w("", !0)
|
|
6330
6337
|
])) : w("", !0)
|
|
6331
6338
|
]),
|
|
6332
|
-
e.serviceTitle ? (u(), b("div",
|
|
6333
|
-
y("span",
|
|
6339
|
+
e.serviceTitle ? (u(), b("div", Nc, [
|
|
6340
|
+
y("span", Tc, W(e.serviceTitle), 1),
|
|
6334
6341
|
V(D.$slots, "serviceDescription", {}, void 0, !0)
|
|
6335
6342
|
])) : w("", !0)
|
|
6336
6343
|
]),
|
|
6337
|
-
y("div",
|
|
6338
|
-
y("div",
|
|
6344
|
+
y("div", Dc, [
|
|
6345
|
+
y("div", Lc, [
|
|
6339
6346
|
V(D.$slots, "before-quick-links", {}, void 0, !0),
|
|
6340
6347
|
!r(o) && ((ae = e.quickLinks) != null && ae.length) ? (u(), S(aa, {
|
|
6341
6348
|
key: 0,
|
|
@@ -6347,7 +6354,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6347
6354
|
onSelect: E[2] || (E[2] = (p) => a("languageSelect", p))
|
|
6348
6355
|
}), null, 16)) : w("", !0)
|
|
6349
6356
|
]),
|
|
6350
|
-
e.showSearch ? (u(), b("div",
|
|
6357
|
+
e.showSearch ? (u(), b("div", wc, [
|
|
6351
6358
|
U($t, {
|
|
6352
6359
|
id: e.searchbarId,
|
|
6353
6360
|
label: e.searchLabel,
|
|
@@ -6364,7 +6371,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6364
6371
|
])
|
|
6365
6372
|
]),
|
|
6366
6373
|
y("div", xc, [
|
|
6367
|
-
r(C) && !r(c) ? (u(), b("div",
|
|
6374
|
+
r(C) && !r(c) ? (u(), b("div", Oc, [
|
|
6368
6375
|
V(D.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
6369
6376
|
])) : w("", !0)
|
|
6370
6377
|
]),
|
|
@@ -6379,7 +6386,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6379
6386
|
width: "75%"
|
|
6380
6387
|
}, {
|
|
6381
6388
|
default: K(() => [
|
|
6382
|
-
y("div",
|
|
6389
|
+
y("div", Sc, [
|
|
6383
6390
|
U(L, {
|
|
6384
6391
|
"cancel-label": e.closeMenuModalLabel,
|
|
6385
6392
|
"cancel-icon": r(H).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -6387,8 +6394,8 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6387
6394
|
onCancel: A
|
|
6388
6395
|
}, null, 8, ["cancel-label", "cancel-icon"])
|
|
6389
6396
|
]),
|
|
6390
|
-
y("div",
|
|
6391
|
-
y("div",
|
|
6397
|
+
y("div", kc, [
|
|
6398
|
+
y("div", pc, [
|
|
6392
6399
|
r(i) ? (u(), S(Rt, _({ key: 0 }, r(i), {
|
|
6393
6400
|
onSelect: E[5] || (E[5] = (p) => a("languageSelect", p))
|
|
6394
6401
|
}), null, 16)) : w("", !0),
|
|
@@ -6398,7 +6405,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6398
6405
|
role: "navigation",
|
|
6399
6406
|
links: e.quickLinks,
|
|
6400
6407
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
6401
|
-
onLinkClick: r(
|
|
6408
|
+
onLinkClick: r(g)
|
|
6402
6409
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : w("", !0),
|
|
6403
6410
|
V(D.$slots, "after-quick-links", {}, void 0, !0)
|
|
6404
6411
|
]),
|
|
@@ -6406,7 +6413,7 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6406
6413
|
key: 0,
|
|
6407
6414
|
hidemodal: A
|
|
6408
6415
|
}, void 0, !0) : w("", !0),
|
|
6409
|
-
r(s) ? (u(), b("div",
|
|
6416
|
+
r(s) ? (u(), b("div", Qc, [
|
|
6410
6417
|
U($t, {
|
|
6411
6418
|
"searchbar-id": e.searchbarId,
|
|
6412
6419
|
"model-value": e.modelValue,
|
|
@@ -6422,12 +6429,12 @@ const gc = /* @__PURE__ */ P(fc, [["render", mc]]), Ic = {
|
|
|
6422
6429
|
]);
|
|
6423
6430
|
};
|
|
6424
6431
|
}
|
|
6425
|
-
}),
|
|
6432
|
+
}), mu = /* @__PURE__ */ P(jc, [["__scopeId", "data-v-aabccc88"]]), zc = {
|
|
6426
6433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6427
6434
|
viewBox: "0 0 106.703 44.429"
|
|
6428
6435
|
};
|
|
6429
|
-
function
|
|
6430
|
-
return u(), b("svg",
|
|
6436
|
+
function Bc(e, t) {
|
|
6437
|
+
return u(), b("svg", zc, [...t[0] || (t[0] = [
|
|
6431
6438
|
y("path", {
|
|
6432
6439
|
d: "M33.63 110.595q-.883.002-1.403.293a1.95 1.95 0 0 0-.781.783 3.1 3.1 0 0 0-.34 1.087q-.08.597-.08 1.21.001.499.091 1.086.09.589.374 1.098.283.506.792.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.296 3.394q0-1.425.294-2.547c.196-.744.51-1.38.94-1.898a4.2 4.2 0 0 1 1.64-1.2q.997-.422 2.422-.42 1.493.046 2.67.678.498.274.985.702.487.43.86 1.076.373.645.61 1.528.24.882.24 2.06 0 1.175-.216 2.06a6.2 6.2 0 0 1-.565 1.517 4.37 4.37 0 0 1-1.71 1.74q-1.086.613-2.49.634a4.6 4.6 0 0 1-1.357-.292 4.3 4.3 0 0 1-1.155-.724q-.588-.502-.973-1.45l.498.657v5.386h-2.693zM45.625 110.595q-.837 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.273.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.364 3.373q0-1.178.227-2.06.225-.883.6-1.528.372-.646.859-1.076.487-.427.984-.702c.785-.42 1.683-.649 2.694-.677.996.028 1.885.257 2.67.677q.499.274.985.702.488.43.86 1.076.374.645.611 1.528c.159.589.239 1.273.239 2.06q0 1.175-.239 2.06a6.2 6.2 0 0 1-.61 1.517q-.375.632-.86 1.051a5.7 5.7 0 0 1-.985.688q-1.178.615-2.671.635-1.516-.02-2.694-.635-.497-.27-.984-.688a4.2 4.2 0 0 1-.86-1.05 5.9 5.9 0 0 1-.6-1.518q-.225-.884-.226-2.06M52.347 111.57q0-1.18.497-1.846c.333-.444.695-.783 1.087-1.009a3.9 3.9 0 0 1 1.584-.497h3.17v2.737h-2.128q-.453 0-.736.159-.283.158-.442.342-.18.222-.249.498v7.74h-2.783zM62.78 110.913v5.045q.07.275.25.497.158.184.442.342.282.159.735.159h1.72v2.738h-2.761a3.9 3.9 0 0 1-1.584-.498q-.59-.337-1.076-1.009-.487-.665-.486-1.845v-11.2h2.76v3.076h2.604v2.695zM72.558 110.595q-.838 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.271.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.792-.85t.373-1.096.09-1.087q0-.613-.079-1.21a3.2 3.2 0 0 0-.339-1.087 1.96 1.96 0 0 0-.781-.783q-.52-.292-1.403-.293m5.296 9.099h-2.693v-1.584l.498-.657q-.385.948-.974 1.45a4.3 4.3 0 0 1-1.154.723q-.656.25-1.358.293-1.404-.02-2.49-.635a4.8 4.8 0 0 1-.917-.688 4.4 4.4 0 0 1-.791-1.05 6.2 6.2 0 0 1-.566-1.518q-.215-.885-.215-2.06 0-1.179.226-2.06.226-.883.6-1.528.374-.646.86-1.076.487-.427.984-.702c.784-.42 1.683-.649 2.694-.677.95 0 1.758.137 2.421.42a4.2 4.2 0 0 1 1.642 1.2q.645.779.939 1.897.293 1.123.294 2.547zM82.086 108.218v11.476h-2.761v-11.476zm-2.761-2.558q0-.497.01-.744c.008-.166.053-.29.137-.364q.123-.112.408-.123a22 22 0 0 1 1.651 0q.284.012.408.123c.082.074.128.198.136.364q.01.247.01.744 0 .498-.01.748-.012.248-.136.363-.125.112-.408.124-.282.01-.826.01-.543 0-.825-.01-.285-.012-.408-.124-.126-.115-.136-.363-.01-.25-.011-.748M86.409 104.415v15.279h-2.761v-15.28z",
|
|
6433
6440
|
style: { fill: "#ed184e", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none", "stroke-width": ".0352778" },
|
|
@@ -6440,7 +6447,7 @@ function Pc(e, t) {
|
|
|
6440
6447
|
}, null, -1)
|
|
6441
6448
|
])]);
|
|
6442
6449
|
}
|
|
6443
|
-
const
|
|
6450
|
+
const Pc = { render: Bc }, Wc = { class: "svg-wrapper" }, Uc = /* @__PURE__ */ k({
|
|
6444
6451
|
__name: "EsupLogo",
|
|
6445
6452
|
props: {
|
|
6446
6453
|
width: {},
|
|
@@ -6451,19 +6458,19 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6451
6458
|
oe((a) => ({
|
|
6452
6459
|
c873d74e: a.color
|
|
6453
6460
|
}));
|
|
6454
|
-
const t =
|
|
6461
|
+
const t = m(() => ({
|
|
6455
6462
|
...e.width && { width: e.width },
|
|
6456
6463
|
...e.height && { height: e.height }
|
|
6457
6464
|
}));
|
|
6458
|
-
return (a, n) => (u(), b("div",
|
|
6459
|
-
U(r(
|
|
6465
|
+
return (a, n) => (u(), b("div", Wc, [
|
|
6466
|
+
U(r(Pc), _(r(t), {
|
|
6460
6467
|
class: "logo",
|
|
6461
6468
|
role: "img",
|
|
6462
6469
|
"aria-label": "Logo Esup Portail"
|
|
6463
6470
|
}), null, 16)
|
|
6464
6471
|
]));
|
|
6465
6472
|
}
|
|
6466
|
-
}),
|
|
6473
|
+
}), gu = /* @__PURE__ */ P(Uc, [["__scopeId", "data-v-c54db433"]]), Vc = ["aria-label"], Hc = ["id"], Rc = { class: "av-breadcrumb__list" }, Zc = ["aria-current"], Yc = /* @__PURE__ */ k({
|
|
6467
6474
|
__name: "AvBreadcrumb",
|
|
6468
6475
|
props: {
|
|
6469
6476
|
id: {},
|
|
@@ -6477,7 +6484,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6477
6484
|
collapsing: a,
|
|
6478
6485
|
cssExpanded: n,
|
|
6479
6486
|
doExpand: l
|
|
6480
|
-
} = st(), { isAboveMd: i } = ct(), o =
|
|
6487
|
+
} = st(), { isAboveMd: i } = ct(), o = m(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = m(() => ({
|
|
6481
6488
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_RIGHT})`
|
|
6482
6489
|
})), c = z(i.value);
|
|
6483
6490
|
return re(c, (A, d) => {
|
|
@@ -6502,7 +6509,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6502
6509
|
label: e.showBreadcrumbLabel,
|
|
6503
6510
|
small: "",
|
|
6504
6511
|
"no-sentence-case": "",
|
|
6505
|
-
onClick: d[0] || (d[0] = (
|
|
6512
|
+
onClick: d[0] || (d[0] = (g) => c.value = !r(c))
|
|
6506
6513
|
}, null, 8, ["aria-expanded", "aria-controls", "label"])),
|
|
6507
6514
|
y("div", {
|
|
6508
6515
|
id: r(o),
|
|
@@ -6513,66 +6520,66 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6513
6520
|
"av-collapsing": r(a)
|
|
6514
6521
|
}])
|
|
6515
6522
|
}, [
|
|
6516
|
-
y("ol",
|
|
6517
|
-
(u(!0), b($, null, ie(e.links, (
|
|
6523
|
+
y("ol", Rc, [
|
|
6524
|
+
(u(!0), b($, null, ie(e.links, (g, v) => (u(), b("li", {
|
|
6518
6525
|
key: v,
|
|
6519
6526
|
class: "av-breadcrumb__item",
|
|
6520
6527
|
style: ue(r(s))
|
|
6521
6528
|
}, [
|
|
6522
|
-
|
|
6529
|
+
g.to ? (u(), S(I, {
|
|
6523
6530
|
key: 0,
|
|
6524
6531
|
"aria-current": v === e.links.length - 1 ? "page" : void 0,
|
|
6525
6532
|
class: "b2-regular av-breadcrumb__link",
|
|
6526
|
-
to:
|
|
6533
|
+
to: g.to
|
|
6527
6534
|
}, {
|
|
6528
6535
|
default: K(() => [
|
|
6529
|
-
Le(W(
|
|
6536
|
+
Le(W(g.text), 1)
|
|
6530
6537
|
]),
|
|
6531
6538
|
_: 2
|
|
6532
6539
|
}, 1032, ["aria-current", "to"])) : (u(), b("a", {
|
|
6533
6540
|
key: 1,
|
|
6534
6541
|
"aria-current": v === e.links.length - 1 ? "page" : void 0,
|
|
6535
6542
|
class: "b2-regular av-breadcrumb__link"
|
|
6536
|
-
}, W(
|
|
6543
|
+
}, W(g.text), 9, Zc))
|
|
6537
6544
|
], 4))), 128))
|
|
6538
6545
|
])
|
|
6539
|
-
], 10,
|
|
6540
|
-
], 8,
|
|
6546
|
+
], 10, Hc)
|
|
6547
|
+
], 8, Vc)) : w("", !0);
|
|
6541
6548
|
};
|
|
6542
6549
|
}
|
|
6543
|
-
}),
|
|
6550
|
+
}), Iu = /* @__PURE__ */ P(Yc, [["__scopeId", "data-v-7edf8c6c"]]), Xc = ["id", "aria-current"], Fc = /* @__PURE__ */ k({
|
|
6544
6551
|
__name: "NavigationItem",
|
|
6545
6552
|
props: {
|
|
6546
6553
|
id: {},
|
|
6547
6554
|
active: { type: Boolean }
|
|
6548
6555
|
},
|
|
6549
6556
|
setup(e) {
|
|
6550
|
-
const t =
|
|
6557
|
+
const t = m(() => e.id ?? `nav-item-${crypto.randomUUID()}`);
|
|
6551
6558
|
return (a, n) => (u(), b("li", {
|
|
6552
6559
|
id: r(t),
|
|
6553
6560
|
class: Q(["av-nav__item", { "av-nav__item--active": e.active }]),
|
|
6554
6561
|
"aria-current": e.active ? "page" : void 0
|
|
6555
6562
|
}, [
|
|
6556
6563
|
V(a.$slots, "default", {}, void 0, !0)
|
|
6557
|
-
], 10,
|
|
6564
|
+
], 10, Xc));
|
|
6558
6565
|
}
|
|
6559
|
-
}),
|
|
6566
|
+
}), qc = /* @__PURE__ */ P(Fc, [["__scopeId", "data-v-94f974c7"]]), Kc = ["id", "aria-current"], Gc = /* @__PURE__ */ k({
|
|
6560
6567
|
__name: "NavigationMenuItem",
|
|
6561
6568
|
props: {
|
|
6562
6569
|
id: {},
|
|
6563
6570
|
active: { type: Boolean }
|
|
6564
6571
|
},
|
|
6565
6572
|
setup(e) {
|
|
6566
|
-
const t =
|
|
6573
|
+
const t = m(() => e.id ?? `nav-menu-item-${crypto.randomUUID()}`);
|
|
6567
6574
|
return (a, n) => (u(), b("li", {
|
|
6568
6575
|
id: r(t),
|
|
6569
6576
|
class: "av-menu__item",
|
|
6570
6577
|
"aria-current": e.active ? "page" : void 0
|
|
6571
6578
|
}, [
|
|
6572
6579
|
V(a.$slots, "default", {}, void 0, !0)
|
|
6573
|
-
], 8,
|
|
6580
|
+
], 8, Kc));
|
|
6574
6581
|
}
|
|
6575
|
-
}),
|
|
6582
|
+
}), Jc = /* @__PURE__ */ P(Gc, [["__scopeId", "data-v-fe85d2ff"]]), $c = ["href"], _c = { class: "b1-regular" }, eA = { class: "b1-regular" }, tA = /* @__PURE__ */ k({
|
|
6576
6583
|
__name: "NavigationMenuLink",
|
|
6577
6584
|
props: {
|
|
6578
6585
|
id: {},
|
|
@@ -6585,7 +6592,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6585
6592
|
},
|
|
6586
6593
|
emits: ["toggleId"],
|
|
6587
6594
|
setup(e) {
|
|
6588
|
-
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()) ?? (() => {
|
|
6589
6596
|
});
|
|
6590
6597
|
return (o, s) => {
|
|
6591
6598
|
const c = le, A = St("RouterLink");
|
|
@@ -6601,8 +6608,8 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6601
6608
|
o.$emit("toggleId", r(a)), e.onClick(d);
|
|
6602
6609
|
})
|
|
6603
6610
|
}, [
|
|
6604
|
-
y("span",
|
|
6605
|
-
], 10,
|
|
6611
|
+
y("span", _c, W(e.text), 1)
|
|
6612
|
+
], 10, $c)) : (u(), S(A, {
|
|
6606
6613
|
key: 1,
|
|
6607
6614
|
class: "av-nav__link",
|
|
6608
6615
|
"data-testid": "nav-router-link",
|
|
@@ -6618,13 +6625,13 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6618
6625
|
name: e.icon,
|
|
6619
6626
|
size: 1.5
|
|
6620
6627
|
}, null, 8, ["name"])) : w("", !0),
|
|
6621
|
-
y("span",
|
|
6628
|
+
y("span", eA, W(e.text), 1)
|
|
6622
6629
|
]),
|
|
6623
6630
|
_: 1
|
|
6624
6631
|
}, 8, ["to"]));
|
|
6625
6632
|
};
|
|
6626
6633
|
}
|
|
6627
|
-
}), Va = /* @__PURE__ */ P(
|
|
6634
|
+
}), Va = /* @__PURE__ */ P(tA, [["__scopeId", "data-v-972cb2ab"]]), aA = ["aria-expanded", "aria-current", "aria-controls"], nA = ["id"], lA = { class: "av-menu__list" }, iA = /* @__PURE__ */ k({
|
|
6628
6635
|
__name: "NavigationMenu",
|
|
6629
6636
|
props: {
|
|
6630
6637
|
id: {},
|
|
@@ -6641,7 +6648,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6641
6648
|
cssExpanded: n,
|
|
6642
6649
|
doExpand: l,
|
|
6643
6650
|
onTransitionEnd: i
|
|
6644
|
-
} = st(), o =
|
|
6651
|
+
} = st(), o = m(() => e.id ?? `menu-${crypto.randomUUID()}`), s = m(() => o.value === e.expandedId), c = m(() => ({
|
|
6645
6652
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
6646
6653
|
}));
|
|
6647
6654
|
return re(s, (A, d) => {
|
|
@@ -6658,7 +6665,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6658
6665
|
onClick: d[0] || (d[0] = (f) => A.$emit("toggleId", r(o)))
|
|
6659
6666
|
}, [
|
|
6660
6667
|
y("span", null, W(e.title), 1)
|
|
6661
|
-
], 12,
|
|
6668
|
+
], 12, aA),
|
|
6662
6669
|
y("div", {
|
|
6663
6670
|
id: r(o),
|
|
6664
6671
|
ref_key: "collapse",
|
|
@@ -6667,23 +6674,23 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6667
6674
|
"data-testid": "navigation-menu",
|
|
6668
6675
|
onTransitionend: d[2] || (d[2] = (f) => r(i)(r(s)))
|
|
6669
6676
|
}, [
|
|
6670
|
-
y("ul",
|
|
6671
|
-
(u(!0), b($, null, ie(e.links, (f, I) => (u(), S(
|
|
6677
|
+
y("ul", lA, [
|
|
6678
|
+
(u(!0), b($, null, ie(e.links, (f, I) => (u(), S(Jc, { key: I }, {
|
|
6672
6679
|
default: K(() => [
|
|
6673
6680
|
U(Va, _({ ref_for: !0 }, f, {
|
|
6674
|
-
onToggleId: d[1] || (d[1] = (
|
|
6681
|
+
onToggleId: d[1] || (d[1] = (g) => A.$emit("toggleId", e.expandedId))
|
|
6675
6682
|
}), null, 16)
|
|
6676
6683
|
]),
|
|
6677
6684
|
_: 2
|
|
6678
6685
|
}, 1024))), 128))
|
|
6679
6686
|
])
|
|
6680
|
-
], 42,
|
|
6687
|
+
], 42, nA)
|
|
6681
6688
|
], 64));
|
|
6682
6689
|
}
|
|
6683
|
-
}),
|
|
6690
|
+
}), rA = /* @__PURE__ */ P(iA, [["__scopeId", "data-v-3235602d"]]), oA = {
|
|
6684
6691
|
style: { position: "relative" },
|
|
6685
6692
|
class: "my-nav-wrapper"
|
|
6686
|
-
},
|
|
6693
|
+
}, sA = ["id", "aria-label"], cA = { class: "av-nav__list" }, bu = /* @__PURE__ */ k({
|
|
6687
6694
|
__name: "AvNavigation",
|
|
6688
6695
|
props: {
|
|
6689
6696
|
id: {},
|
|
@@ -6691,7 +6698,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6691
6698
|
navItems: {}
|
|
6692
6699
|
},
|
|
6693
6700
|
setup(e) {
|
|
6694
|
-
const t =
|
|
6701
|
+
const t = m(() => e.id ?? `nav-${crypto.randomUUID()}`), a = z(void 0);
|
|
6695
6702
|
function n(s) {
|
|
6696
6703
|
if (s === a.value) {
|
|
6697
6704
|
a.value = void 0;
|
|
@@ -6718,15 +6725,15 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6718
6725
|
document.addEventListener("click", i), document.addEventListener("keydown", o);
|
|
6719
6726
|
}), me(() => {
|
|
6720
6727
|
document.removeEventListener("click", i), document.removeEventListener("keydown", o);
|
|
6721
|
-
}), (s, c) => (u(), b("div",
|
|
6728
|
+
}), (s, c) => (u(), b("div", oA, [
|
|
6722
6729
|
y("nav", {
|
|
6723
6730
|
id: r(t),
|
|
6724
6731
|
class: "av-nav",
|
|
6725
6732
|
role: "navigation",
|
|
6726
6733
|
"aria-label": e.label
|
|
6727
6734
|
}, [
|
|
6728
|
-
y("ul",
|
|
6729
|
-
(u(!0), b($, null, ie(e.navItems, (A, d) => (u(), S(
|
|
6735
|
+
y("ul", cA, [
|
|
6736
|
+
(u(!0), b($, null, ie(e.navItems, (A, d) => (u(), S(qc, { key: d }, {
|
|
6730
6737
|
default: K(() => [
|
|
6731
6738
|
A.to && A.text ? (u(), S(Va, _({
|
|
6732
6739
|
key: 0,
|
|
@@ -6734,7 +6741,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6734
6741
|
}, A, {
|
|
6735
6742
|
"active-id": r(a),
|
|
6736
6743
|
onToggleId: c[0] || (c[0] = (f) => n(f))
|
|
6737
|
-
}), null, 16, ["active-id"])) : A.title && A.links ? (u(), S(
|
|
6744
|
+
}), null, 16, ["active-id"])) : A.title && A.links ? (u(), S(rA, _({
|
|
6738
6745
|
key: 1,
|
|
6739
6746
|
ref_for: !0
|
|
6740
6747
|
}, A, {
|
|
@@ -6745,16 +6752,16 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6745
6752
|
_: 2
|
|
6746
6753
|
}, 1024))), 128))
|
|
6747
6754
|
])
|
|
6748
|
-
], 8,
|
|
6755
|
+
], 8, sA)
|
|
6749
6756
|
]));
|
|
6750
6757
|
}
|
|
6751
|
-
}),
|
|
6758
|
+
}), AA = ["aria-label"], uA = { class: "av-pagination__list av-row av-row-wrap av-align-center av-gap-sm" }, dA = { key: 0 }, fA = { class: "b2-regular" }, vA = ["href", "title", "aria-disabled"], mA = { class: "av-sr-only" }, gA = ["href", "title", "aria-disabled"], IA = {
|
|
6752
6759
|
key: 0,
|
|
6753
6760
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
6754
|
-
},
|
|
6761
|
+
}, bA = ["href", "title", "aria-current", "onClick"], hA = { key: 0 }, yA = { key: 1 }, CA = ["href", "title", "disabled", "aria-disabled"], MA = {
|
|
6755
6762
|
key: 0,
|
|
6756
6763
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
6757
|
-
},
|
|
6764
|
+
}, EA = ["href", "title", "disabled", "aria-disabled"], NA = { class: "av-sr-only" }, TA = /* @__PURE__ */ k({
|
|
6758
6765
|
__name: "AvPagination",
|
|
6759
6766
|
props: {
|
|
6760
6767
|
compact: { type: Boolean, default: !1 },
|
|
@@ -6770,7 +6777,7 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6770
6777
|
},
|
|
6771
6778
|
emits: ["update:current-page"],
|
|
6772
6779
|
setup(e, { emit: t }) {
|
|
6773
|
-
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;
|
|
6774
6781
|
return (v, C) => {
|
|
6775
6782
|
var D, E, T, M;
|
|
6776
6783
|
return r(o) ? (u(), b("nav", {
|
|
@@ -6779,9 +6786,9 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6779
6786
|
class: "av-pagination av-nav",
|
|
6780
6787
|
"aria-label": e.ariaLabel
|
|
6781
6788
|
}, [
|
|
6782
|
-
y("ul",
|
|
6783
|
-
e.compact && e.compactCurrentPageLabel ? (u(), b("li",
|
|
6784
|
-
y("span",
|
|
6789
|
+
y("ul", uA, [
|
|
6790
|
+
e.compact && e.compactCurrentPageLabel ? (u(), b("li", dA, [
|
|
6791
|
+
y("span", fA, W(e.compactCurrentPageLabel), 1)
|
|
6785
6792
|
])) : w("", !0),
|
|
6786
6793
|
y("li", null, [
|
|
6787
6794
|
e.compact ? w("", !0) : (u(), b("a", {
|
|
@@ -6796,8 +6803,8 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6796
6803
|
name: r(H).PAGE_FIRST,
|
|
6797
6804
|
size: 1.5
|
|
6798
6805
|
}, null, 8, ["name"]),
|
|
6799
|
-
y("span",
|
|
6800
|
-
], 8,
|
|
6806
|
+
y("span", mA, W(e.firstPageLabel), 1)
|
|
6807
|
+
], 8, vA))
|
|
6801
6808
|
]),
|
|
6802
6809
|
y("li", null, [
|
|
6803
6810
|
y("a", {
|
|
@@ -6811,21 +6818,21 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6811
6818
|
name: r(H).NAVIGATE_BEFORE,
|
|
6812
6819
|
size: 1.5
|
|
6813
6820
|
}, null, 8, ["name"]),
|
|
6814
|
-
e.compact ? w("", !0) : (u(), b("span",
|
|
6815
|
-
], 8,
|
|
6821
|
+
e.compact ? w("", !0) : (u(), b("span", IA, W(e.prevPageLabel), 1))
|
|
6822
|
+
], 8, gA)
|
|
6816
6823
|
]),
|
|
6817
6824
|
e.compact ? w("", !0) : (u(!0), b($, { key: 1 }, ie(r(i), (L, B) => (u(), b("li", { key: B }, [
|
|
6818
6825
|
y("a", {
|
|
6819
6826
|
href: L == null ? void 0 : L.href,
|
|
6820
6827
|
class: "av-pagination__link",
|
|
6821
6828
|
title: L.title,
|
|
6822
|
-
"aria-current":
|
|
6829
|
+
"aria-current": g(L) ? "page" : void 0,
|
|
6823
6830
|
onClick: ge((Z) => c(e.pages.indexOf(L)), ["prevent"])
|
|
6824
6831
|
}, [
|
|
6825
|
-
r(i).indexOf(L) === 0 && r(n) > 0 ? (u(), b("span",
|
|
6832
|
+
r(i).indexOf(L) === 0 && r(n) > 0 ? (u(), b("span", hA, "...")) : w("", !0),
|
|
6826
6833
|
Le(" " + W(L.label) + " ", 1),
|
|
6827
|
-
r(i).indexOf(L) === r(i).length - 1 && r(l) < e.pages.length - 1 ? (u(), b("span",
|
|
6828
|
-
], 8,
|
|
6834
|
+
r(i).indexOf(L) === r(i).length - 1 && r(l) < e.pages.length - 1 ? (u(), b("span", yA, "...")) : w("", !0)
|
|
6835
|
+
], 8, bA)
|
|
6829
6836
|
]))), 128)),
|
|
6830
6837
|
y("li", null, [
|
|
6831
6838
|
y("a", {
|
|
@@ -6836,12 +6843,12 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6836
6843
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6837
6844
|
onClick: C[2] || (C[2] = ge((L) => f(), ["prevent"]))
|
|
6838
6845
|
}, [
|
|
6839
|
-
e.compact ? w("", !0) : (u(), b("span",
|
|
6846
|
+
e.compact ? w("", !0) : (u(), b("span", MA, W(e.nextPageLabel), 1)),
|
|
6840
6847
|
U(le, {
|
|
6841
6848
|
name: r(H).NAVIGATE_NEXT,
|
|
6842
6849
|
size: 1.5
|
|
6843
6850
|
}, null, 8, ["name"])
|
|
6844
|
-
], 8,
|
|
6851
|
+
], 8, CA)
|
|
6845
6852
|
]),
|
|
6846
6853
|
y("li", null, [
|
|
6847
6854
|
e.compact ? w("", !0) : (u(), b("a", {
|
|
@@ -6853,19 +6860,19 @@ const Wc = { render: Pc }, Uc = { class: "svg-wrapper" }, Vc = /* @__PURE__ */ k
|
|
|
6853
6860
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6854
6861
|
onClick: C[3] || (C[3] = ge((L) => I(), ["prevent"]))
|
|
6855
6862
|
}, [
|
|
6856
|
-
y("span",
|
|
6863
|
+
y("span", NA, W(e.lastPageLabel), 1),
|
|
6857
6864
|
U(le, {
|
|
6858
6865
|
name: r(H).PAGE_LAST,
|
|
6859
6866
|
size: 1.5
|
|
6860
6867
|
}, null, 8, ["name"])
|
|
6861
|
-
], 8,
|
|
6868
|
+
], 8, EA))
|
|
6862
6869
|
])
|
|
6863
6870
|
])
|
|
6864
|
-
], 8,
|
|
6871
|
+
], 8, AA)) : w("", !0);
|
|
6865
6872
|
};
|
|
6866
6873
|
}
|
|
6867
|
-
}),
|
|
6868
|
-
function
|
|
6874
|
+
}), hu = /* @__PURE__ */ P(TA, [["__scopeId", "data-v-e50ee994"]]);
|
|
6875
|
+
function yu(e) {
|
|
6869
6876
|
return Array.from({ length: e.value }, (t, a) => {
|
|
6870
6877
|
const n = a + 1;
|
|
6871
6878
|
return {
|
|
@@ -6875,10 +6882,10 @@ function Cu(e) {
|
|
|
6875
6882
|
};
|
|
6876
6883
|
});
|
|
6877
6884
|
}
|
|
6878
|
-
const
|
|
6885
|
+
const DA = ["id", "aria-label"], LA = {
|
|
6879
6886
|
key: 0,
|
|
6880
6887
|
class: "av-side-menu__header"
|
|
6881
|
-
},
|
|
6888
|
+
}, wA = { class: "av-side-menu__content" }, xA = /* @__PURE__ */ k({
|
|
6882
6889
|
__name: "AvSideMenu",
|
|
6883
6890
|
props: /* @__PURE__ */ ye({
|
|
6884
6891
|
id: {},
|
|
@@ -6897,12 +6904,12 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6897
6904
|
v0a5fb945: r(c),
|
|
6898
6905
|
v4c9afb99: d.padding
|
|
6899
6906
|
}));
|
|
6900
|
-
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({
|
|
6901
6908
|
get: () => t.collapsible ? a.value : !1,
|
|
6902
6909
|
set: (d) => {
|
|
6903
6910
|
t.collapsible && (a.value = d);
|
|
6904
6911
|
}
|
|
6905
|
-
}), c =
|
|
6912
|
+
}), c = m(() => t.collapsible && s.value ? l.value : n.value);
|
|
6906
6913
|
function A() {
|
|
6907
6914
|
t.collapsible && (s.value = !s.value);
|
|
6908
6915
|
}
|
|
@@ -6911,7 +6918,7 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6911
6918
|
class: Q(["av-side-menu", { "av-side-menu--collapsed": r(s) }]),
|
|
6912
6919
|
"aria-label": r(o)
|
|
6913
6920
|
}, [
|
|
6914
|
-
t.collapsible ? (u(), b("div",
|
|
6921
|
+
t.collapsible ? (u(), b("div", LA, [
|
|
6915
6922
|
U(se, {
|
|
6916
6923
|
"aria-expanded": !r(s),
|
|
6917
6924
|
"aria-controls": r(i),
|
|
@@ -6922,12 +6929,12 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6922
6929
|
onClick: A
|
|
6923
6930
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
6924
6931
|
])) : w("", !0),
|
|
6925
|
-
y("div",
|
|
6932
|
+
y("div", wA, [
|
|
6926
6933
|
V(d.$slots, "default", {}, void 0, !0)
|
|
6927
6934
|
])
|
|
6928
|
-
], 10,
|
|
6935
|
+
], 10, DA));
|
|
6929
6936
|
}
|
|
6930
|
-
}),
|
|
6937
|
+
}), OA = /* @__PURE__ */ P(xA, [["__scopeId", "data-v-3686f53e"]]), SA = /* @__PURE__ */ k({
|
|
6931
6938
|
__name: "AvSideNavigation",
|
|
6932
6939
|
props: /* @__PURE__ */ ye({
|
|
6933
6940
|
items: {},
|
|
@@ -6949,7 +6956,7 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6949
6956
|
function n(l) {
|
|
6950
6957
|
t.value = l;
|
|
6951
6958
|
}
|
|
6952
|
-
return (l, i) => (u(), S(
|
|
6959
|
+
return (l, i) => (u(), S(OA, {
|
|
6953
6960
|
collapsed: a.value,
|
|
6954
6961
|
"onUpdate:collapsed": i[0] || (i[0] = (o) => a.value = o),
|
|
6955
6962
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -6981,7 +6988,7 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6981
6988
|
_: 1
|
|
6982
6989
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
6983
6990
|
}
|
|
6984
|
-
}),
|
|
6991
|
+
}), Cu = /* @__PURE__ */ P(SA, [["__scopeId", "data-v-5e3ce08d"]]), kA = { class: "av-stepper av-col" }, pA = { class: "main-container av-row av-align-center" }, QA = ["aria-current"], jA = ["aria-current"], zA = { class: "b1-regular" }, BA = { class: "main-labels-container av-row av-align-start av-justify-between av-pt-xs" }, PA = /* @__PURE__ */ k({
|
|
6985
6992
|
__name: "AvStepper",
|
|
6986
6993
|
props: {
|
|
6987
6994
|
steps: {},
|
|
@@ -6991,14 +6998,14 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
6991
6998
|
setup(e) {
|
|
6992
6999
|
return oe((t) => ({
|
|
6993
7000
|
v4b4d4496: t.width
|
|
6994
|
-
})), (t, a) => (u(), b("div",
|
|
6995
|
-
y("div",
|
|
7001
|
+
})), (t, a) => (u(), b("div", kA, [
|
|
7002
|
+
y("div", pA, [
|
|
6996
7003
|
y("div", {
|
|
6997
7004
|
class: "step step--active",
|
|
6998
7005
|
"aria-current": e.currentStep === 0 ? "step" : void 0
|
|
6999
7006
|
}, [...a[0] || (a[0] = [
|
|
7000
7007
|
y("span", { class: "b1-regular" }, "1", -1)
|
|
7001
|
-
])], 8,
|
|
7008
|
+
])], 8, QA),
|
|
7002
7009
|
(u(!0), b($, null, ie(e.steps.slice(1, e.steps.length), (n, l) => (u(), b("div", {
|
|
7003
7010
|
key: l,
|
|
7004
7011
|
class: "steps-container av-row av-align-center"
|
|
@@ -7010,11 +7017,11 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
7010
7017
|
class: Q(["step av-col av-align-center av-justify-center", { "step--active": l + 1 <= e.currentStep }]),
|
|
7011
7018
|
"aria-current": l + 1 === e.currentStep ? "step" : void 0
|
|
7012
7019
|
}, [
|
|
7013
|
-
y("span",
|
|
7014
|
-
], 10,
|
|
7020
|
+
y("span", zA, W(l + 2), 1)
|
|
7021
|
+
], 10, jA)
|
|
7015
7022
|
]))), 128))
|
|
7016
7023
|
]),
|
|
7017
|
-
y("div",
|
|
7024
|
+
y("div", BA, [
|
|
7018
7025
|
(u(!0), b($, null, ie(e.steps, (n, l) => (u(), b("div", {
|
|
7019
7026
|
key: l,
|
|
7020
7027
|
class: "label-container av-col av-align-center av-justify-center"
|
|
@@ -7029,10 +7036,10 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
7029
7036
|
])
|
|
7030
7037
|
]));
|
|
7031
7038
|
}
|
|
7032
|
-
}),
|
|
7039
|
+
}), Mu = /* @__PURE__ */ P(PA, [["__scopeId", "data-v-7b8405c2"]]), WA = ["id", "aria-labelledby", "role", "open"], UA = { class: "av-container av-container--md av-container-fluid" }, VA = { class: "av-modal__body" }, HA = { class: "av-modal__content" }, RA = {
|
|
7033
7040
|
key: 0,
|
|
7034
7041
|
class: "header"
|
|
7035
|
-
},
|
|
7042
|
+
}, ZA = { class: "av-modal__footer" }, YA = /* @__PURE__ */ k({
|
|
7036
7043
|
__name: "AvModal",
|
|
7037
7044
|
props: {
|
|
7038
7045
|
id: {},
|
|
@@ -7048,7 +7055,7 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
7048
7055
|
},
|
|
7049
7056
|
emits: ["close", "confirm"],
|
|
7050
7057
|
setup(e, { emit: t }) {
|
|
7051
|
-
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();
|
|
7052
7059
|
re(() => e.opened, (A) => {
|
|
7053
7060
|
var d, f, I;
|
|
7054
7061
|
A ? ((d = s.value) == null || d.showModal(), (f = o.value) == null || f.focus()) : (I = s.value) == null || I.close(), c(A);
|
|
@@ -7076,15 +7083,15 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
7076
7083
|
open: e.opened,
|
|
7077
7084
|
onKeydown: d[2] || (d[2] = Ae((I) => a("close"), ["esc"]))
|
|
7078
7085
|
}, [
|
|
7079
|
-
y("div",
|
|
7080
|
-
y("div",
|
|
7081
|
-
y("div",
|
|
7082
|
-
n.header ? (u(), b("div",
|
|
7086
|
+
y("div", UA, [
|
|
7087
|
+
y("div", VA, [
|
|
7088
|
+
y("div", HA, [
|
|
7089
|
+
n.header ? (u(), b("div", RA, [
|
|
7083
7090
|
V(A.$slots, "header", {}, void 0, !0)
|
|
7084
7091
|
])) : w("", !0),
|
|
7085
7092
|
V(A.$slots, "default", {}, void 0, !0)
|
|
7086
7093
|
]),
|
|
7087
|
-
y("div",
|
|
7094
|
+
y("div", ZA, [
|
|
7088
7095
|
U(f, {
|
|
7089
7096
|
ref_key: "closeBtn",
|
|
7090
7097
|
ref: o,
|
|
@@ -7103,78 +7110,78 @@ const LA = ["id", "aria-label"], wA = {
|
|
|
7103
7110
|
])
|
|
7104
7111
|
])
|
|
7105
7112
|
])
|
|
7106
|
-
], 42,
|
|
7113
|
+
], 42, WA)
|
|
7107
7114
|
]),
|
|
7108
7115
|
_: 3
|
|
7109
7116
|
})) : w("", !0)
|
|
7110
7117
|
]);
|
|
7111
7118
|
};
|
|
7112
7119
|
}
|
|
7113
|
-
}),
|
|
7120
|
+
}), Eu = /* @__PURE__ */ P(YA, [["__scopeId", "data-v-82e0cdaa"]]);
|
|
7114
7121
|
export {
|
|
7115
7122
|
ei as AV_BREAKPOINTS,
|
|
7116
|
-
|
|
7117
|
-
|
|
7123
|
+
eu as AvAccordion,
|
|
7124
|
+
tu as AvAccordionsGroup,
|
|
7118
7125
|
Bn as AvAlert,
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7126
|
+
cu as AvAutocomplete,
|
|
7127
|
+
qA as AvBadge,
|
|
7128
|
+
Iu as AvBreadcrumb,
|
|
7122
7129
|
se as AvButton,
|
|
7123
7130
|
Wa as AvCancelConfirmButtons,
|
|
7124
|
-
|
|
7131
|
+
$A as AvCard,
|
|
7125
7132
|
bi as AvCheckbox,
|
|
7126
7133
|
hi as AvCheckboxesGroup,
|
|
7127
7134
|
Zl as AvDrawer,
|
|
7128
7135
|
oi as AvDropdown,
|
|
7129
7136
|
sa as AvFieldset,
|
|
7130
7137
|
ca as AvFieldsetElement,
|
|
7131
|
-
|
|
7132
|
-
|
|
7138
|
+
lu as AvFileUpload,
|
|
7139
|
+
mu as AvHeader,
|
|
7133
7140
|
aa as AvHeaderMenuLinks,
|
|
7134
7141
|
le as AvIcon,
|
|
7135
7142
|
cn as AvIconText,
|
|
7136
|
-
|
|
7143
|
+
Fe as AvInput,
|
|
7137
7144
|
Rt as AvLanguageSelector,
|
|
7138
7145
|
ka as AvList,
|
|
7139
7146
|
pa as AvListItem,
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7147
|
+
mc as AvLogo,
|
|
7148
|
+
Eu as AvModal,
|
|
7149
|
+
Au as AvMultiselect,
|
|
7150
|
+
bu as AvNavigation,
|
|
7151
|
+
GA as AvNotice,
|
|
7152
|
+
ou as AvPageSizePicker,
|
|
7153
|
+
hu as AvPagination,
|
|
7154
|
+
iu as AvPeriodInput,
|
|
7148
7155
|
li as AvPopover,
|
|
7149
7156
|
ko as AvRadioButton,
|
|
7150
|
-
|
|
7151
|
-
|
|
7157
|
+
su as AvRadioButtonSet,
|
|
7158
|
+
nu as AvRichButton,
|
|
7152
7159
|
$t as AvSearchBar,
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7160
|
+
uu as AvSelect,
|
|
7161
|
+
OA as AvSideMenu,
|
|
7162
|
+
Cu as AvSideNavigation,
|
|
7163
|
+
Mu as AvStepper,
|
|
7164
|
+
du as AvTab,
|
|
7165
|
+
fu as AvTabs,
|
|
7159
7166
|
on as AvTag,
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7167
|
+
Oo as AvTagPicker,
|
|
7168
|
+
_A as AvToaster,
|
|
7169
|
+
vu as AvToggle,
|
|
7163
7170
|
pe as DropdownState,
|
|
7164
|
-
|
|
7171
|
+
gu as EsupLogo,
|
|
7165
7172
|
be as ICONS_DATA_URL,
|
|
7166
7173
|
H as MDI_ICONS,
|
|
7167
7174
|
Qa as PageSizes,
|
|
7168
|
-
|
|
7175
|
+
KA as RI_ICONS,
|
|
7169
7176
|
In as formatTextToHtml,
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7177
|
+
yu as getPaginationPages,
|
|
7178
|
+
JA as isValidEmail,
|
|
7179
|
+
ru as pageSizeValues,
|
|
7173
7180
|
Ua as registerNavigationLinkKey,
|
|
7174
7181
|
En as removeDuplicates,
|
|
7175
7182
|
bn as toSentenceCase,
|
|
7176
7183
|
ct as useAvBreakpoints,
|
|
7177
7184
|
st as useCollapsable,
|
|
7178
7185
|
ti as useFocusTrap,
|
|
7179
|
-
|
|
7186
|
+
au as useGlobalBackgroundColor
|
|
7180
7187
|
};
|