@avenirs-esr/avenirs-dsav 0.1.80 → 0.1.82
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/components/base/AvIcon/AvIcon.stories.d.ts +11 -33
- package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +2 -0
- package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +1 -0
- package/dist/components/interaction/buttons/AvRichButton/AvRichButton.vue.d.ts +1 -0
- package/dist/components/interaction/checkboxes/AvCheckbox/AvChecbox.stories.d.ts +1 -0
- package/dist/components/interaction/checkboxes/AvCheckbox/AvCheckbox.vue.d.ts +21 -3
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +10 -10
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +5 -5
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +1 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +1 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +196 -192
- package/dist/test-utils.cjs.js +4 -4
- package/dist/test-utils.es.js +5 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, useCssVars as se, computed as y, createElementBlock as m, openBlock as u, normalizeStyle as ce, normalizeClass as z, unref as l, createElementVNode as b, toDisplayString as B, createPropsRestProxy as Ta, createBlock as
|
|
1
|
+
import { defineComponent as Q, useCssVars as se, computed as y, createElementBlock as m, openBlock as u, normalizeStyle as ce, normalizeClass as z, unref as l, createElementVNode as b, toDisplayString as B, createPropsRestProxy as Ta, createBlock as p, resolveDynamicComponent as Me, mergeProps as ee, withCtx as G, createCommentVNode as L, createVNode as W, Fragment as $, renderList as ie, useSlots as fe, createTextVNode as De, renderSlot as P, ref as U, normalizeProps as Da, TransitionGroup as La, toRefs as Yt, watch as re, onBeforeUnmount as mt, inject as tt, toRef as gt, onMounted as de, provide as bt, onUnmounted as ve, nextTick as at, getCurrentScope as wa, onScopeDispose as Oa, getCurrentInstance as ht, hasInjectionContext as yt, isRef as Ct, toValue as le, shallowRef as ye, reactive as ut, watchEffect as Sa, withModifiers as ue, mergeModels as ge, useModel as Le, withDirectives as qt, vModelCheckbox as Qa, withKeys as Ae, createSlots as qe, Transition as xa, vShow as pa, useTemplateRef as ka, resolveComponent as Mt, Teleport as Ft, Comment as ja, cloneVNode as za } from "vue";
|
|
2
2
|
import { r as Kt } from "./injection-key.es.js";
|
|
3
3
|
const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -50,12 +50,12 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
50
50
|
speed: {},
|
|
51
51
|
flip: {},
|
|
52
52
|
title: {},
|
|
53
|
-
color: { default: "
|
|
53
|
+
color: { default: "currentColor" }
|
|
54
54
|
},
|
|
55
55
|
setup(e) {
|
|
56
56
|
se((i) => ({
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
v45e97e25: l(t),
|
|
58
|
+
v7f7f664e: i.color
|
|
59
59
|
}));
|
|
60
60
|
const t = y(() => `${e.size}rem`), a = y(() => e.name.replace(":", "-")), n = y(() => `--icon-${a.value}`);
|
|
61
61
|
return (i, r) => (u(), m("div", {
|
|
@@ -81,7 +81,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
81
81
|
}, null, 4)
|
|
82
82
|
], 14, Wa));
|
|
83
83
|
}
|
|
84
|
-
}), ne = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-
|
|
84
|
+
}), ne = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-23d1357f"]]), R = {
|
|
85
85
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
86
86
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
87
87
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -218,7 +218,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
218
218
|
const t = Ta(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a = y(() => e.disabled && e.tagName === "p" || t.selectable ? "button" : e.tagName), n = y(() => ({
|
|
219
219
|
"--icon-path": `url(${Ie.MDI_CHECK_CIRCLE_OUTLINE})`
|
|
220
220
|
}));
|
|
221
|
-
return (i, r) => (u(),
|
|
221
|
+
return (i, r) => (u(), p(Me(l(a)), ee({
|
|
222
222
|
class: ["av-tag", {
|
|
223
223
|
"av-tag--sm": e.small
|
|
224
224
|
}],
|
|
@@ -229,7 +229,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
229
229
|
onClick: r[0] || (r[0] = (o) => !e.disabled && t.selectable && i.$emit("select", [t.value, t.selected ?? !1]))
|
|
230
230
|
}), {
|
|
231
231
|
default: G(() => [
|
|
232
|
-
e.icon ? (u(),
|
|
232
|
+
e.icon ? (u(), p(ne, {
|
|
233
233
|
key: 0,
|
|
234
234
|
title: e.iconOnly ? e.label : void 0,
|
|
235
235
|
size: e.small ? 0.875 : 1,
|
|
@@ -243,7 +243,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
243
243
|
_: 1
|
|
244
244
|
}, 16, ["disabled", "class", "aria-pressed", "style"]));
|
|
245
245
|
}
|
|
246
|
-
}), Ha = /* @__PURE__ */ j(Va, [["__scopeId", "data-v-
|
|
246
|
+
}), Ha = /* @__PURE__ */ j(Va, [["__scopeId", "data-v-e2fe874d"]]), Za = /* @__PURE__ */ Q({
|
|
247
247
|
__name: "AvIconText",
|
|
248
248
|
props: {
|
|
249
249
|
textColor: { default: "var(--text1)" },
|
|
@@ -320,7 +320,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
320
320
|
return (i, r) => {
|
|
321
321
|
const o = Ra;
|
|
322
322
|
return u(), m("div", Xa, [
|
|
323
|
-
(u(!0), m($, null, ie(l(n), (s, c) => (u(),
|
|
323
|
+
(u(!0), m($, null, ie(l(n), (s, c) => (u(), p(o, ee({
|
|
324
324
|
id: `${l(t)}-${c}`,
|
|
325
325
|
key: `${l(t)}-${c}`,
|
|
326
326
|
class: `av-message--${e.type}`
|
|
@@ -328,7 +328,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
328
328
|
]);
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
}),
|
|
331
|
+
}), pe = /* @__PURE__ */ j(Ya, [["__scopeId", "data-v-8203bafa"]]), qa = ["id"], Fa = {
|
|
332
332
|
key: 1,
|
|
333
333
|
class: "av-fieldset__element"
|
|
334
334
|
}, Ka = {
|
|
@@ -350,7 +350,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
350
350
|
setup(e) {
|
|
351
351
|
const t = fe(), a = y(() => e.errorMessage || e.successMessage);
|
|
352
352
|
return (n, i) => {
|
|
353
|
-
const r =
|
|
353
|
+
const r = pe;
|
|
354
354
|
return u(), m("fieldset", {
|
|
355
355
|
class: z(["av-fieldset", {
|
|
356
356
|
"av-fieldset--error": e.errorMessage,
|
|
@@ -364,14 +364,14 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
364
364
|
id: e.legendId,
|
|
365
365
|
class: z(["av-fieldset__legend", e.legendClass])
|
|
366
366
|
}, [
|
|
367
|
-
|
|
367
|
+
De(B(e.legend) + " ", 1),
|
|
368
368
|
P(n.$slots, "legend", {}, void 0, !0)
|
|
369
369
|
], 10, qa)) : L("", !0),
|
|
370
370
|
e.hint || t.hint ? (u(), m("div", Fa, [
|
|
371
371
|
b("span", {
|
|
372
372
|
class: z(["av-hint-text", e.hintClass])
|
|
373
373
|
}, [
|
|
374
|
-
|
|
374
|
+
De(B(e.hint) + " ", 1),
|
|
375
375
|
P(n.$slots, "hint", {}, void 0, !0)
|
|
376
376
|
], 2),
|
|
377
377
|
e.required ? (u(), m("span", Ka, " *")) : L("", !0)
|
|
@@ -434,7 +434,7 @@ const tn = { class: "b2-bold" }, an = { class: "b2-regular" }, nn = ["innerHTML"
|
|
|
434
434
|
}, [
|
|
435
435
|
W(r, ee(l(a), { size: 1.5 }), null, 16),
|
|
436
436
|
b("span", tn, [
|
|
437
|
-
|
|
437
|
+
De(B(e.title) + " ", 1),
|
|
438
438
|
b("span", an, [
|
|
439
439
|
b("span", { innerHTML: l(t) }, null, 8, nn)
|
|
440
440
|
])
|
|
@@ -538,7 +538,7 @@ const An = ["title", "disabled", "aria-disabled", "aria-label"], un = /* @__PURE
|
|
|
538
538
|
onClick: C[0] || (C[0] = (v) => e.onClick ? e.onClick(v) : () => {
|
|
539
539
|
})
|
|
540
540
|
}, [
|
|
541
|
-
l(o) ? (u(),
|
|
541
|
+
l(o) ? (u(), p(I, Da(ee({ key: 0 }, l(o))), null, 16)) : L("", !0),
|
|
542
542
|
e.iconOnly ? L("", !0) : (u(), m("span", {
|
|
543
543
|
key: 1,
|
|
544
544
|
class: z(e.small ? "b2-regular" : "b1-regular")
|
|
@@ -546,7 +546,7 @@ const An = ["title", "disabled", "aria-disabled", "aria-label"], un = /* @__PURE
|
|
|
546
546
|
], 14, An);
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
|
-
}), oe = /* @__PURE__ */ j(un, [["__scopeId", "data-v-
|
|
549
|
+
}), oe = /* @__PURE__ */ j(un, [["__scopeId", "data-v-031c6d29"]]), dn = ["id", "role"], fn = { class: "av-alert__container" }, vn = { class: "av-alert__content" }, In = { class: "av-alert__title" }, mn = {
|
|
550
550
|
key: 0,
|
|
551
551
|
class: "s2-bold"
|
|
552
552
|
}, gn = { class: "b1-regular" }, bn = /* @__PURE__ */ Q({
|
|
@@ -600,18 +600,18 @@ const An = ["title", "disabled", "aria-disabled", "aria-label"], un = /* @__PURE
|
|
|
600
600
|
], !0)
|
|
601
601
|
])
|
|
602
602
|
]),
|
|
603
|
-
e.closeable ? (u(),
|
|
603
|
+
e.closeable ? (u(), p(oe, {
|
|
604
604
|
key: 0,
|
|
605
605
|
"icon-only": "",
|
|
606
606
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
607
607
|
label: e.closeButtonLabel,
|
|
608
|
-
|
|
609
|
-
|
|
608
|
+
small: e.small,
|
|
609
|
+
onClick: i
|
|
610
610
|
}, null, 8, ["icon", "label", "small"])) : L("", !0)
|
|
611
611
|
])
|
|
612
612
|
], 10, dn));
|
|
613
613
|
}
|
|
614
|
-
}), hn = /* @__PURE__ */ j(bn, [["__scopeId", "data-v-
|
|
614
|
+
}), hn = /* @__PURE__ */ j(bn, [["__scopeId", "data-v-f32d9c3d"]]), yn = { class: "toaster-container" }, Cn = /* @__PURE__ */ Q({
|
|
615
615
|
__name: "AvToaster",
|
|
616
616
|
props: {
|
|
617
617
|
messages: {},
|
|
@@ -642,7 +642,7 @@ const An = ["title", "disabled", "aria-disabled", "aria-label"], un = /* @__PURE
|
|
|
642
642
|
class: "toasters"
|
|
643
643
|
}, {
|
|
644
644
|
default: G(() => [
|
|
645
|
-
(u(!0), m($, null, ie(e.messages, (r) => (u(),
|
|
645
|
+
(u(!0), m($, null, ie(e.messages, (r) => (u(), p(hn, ee({
|
|
646
646
|
key: r.id,
|
|
647
647
|
class: ["av-toaster", t(r.type)]
|
|
648
648
|
}, { ref_for: !0 }, r, {
|
|
@@ -734,7 +734,7 @@ function Re() {
|
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
736
|
}
|
|
737
|
-
const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn = ["aria-expanded", "aria-controls"],
|
|
737
|
+
const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn = ["aria-expanded", "aria-controls"], pn = { class: "title-container" }, kn = { class: "n6" }, jn = ["id"], zn = { class: "accordion-content-container" }, Bn = /* @__PURE__ */ Q({
|
|
738
738
|
__name: "AvAccordion",
|
|
739
739
|
props: {
|
|
740
740
|
id: {},
|
|
@@ -771,14 +771,14 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
771
771
|
onClick: I[0] || (I[0] = //@ts-ignore
|
|
772
772
|
(...g) => l(d) && l(d)(...g))
|
|
773
773
|
}, [
|
|
774
|
-
b("div",
|
|
775
|
-
e.icon ? (u(),
|
|
774
|
+
b("div", pn, [
|
|
775
|
+
e.icon ? (u(), p(v, {
|
|
776
776
|
key: 0,
|
|
777
777
|
size: 2,
|
|
778
778
|
name: e.icon,
|
|
779
779
|
color: "var(--icon)"
|
|
780
780
|
}, null, 8, ["name"])) : L("", !0),
|
|
781
|
-
b("h6",
|
|
781
|
+
b("h6", kn, B(e.title), 1)
|
|
782
782
|
])
|
|
783
783
|
], 12, xn)
|
|
784
784
|
]),
|
|
@@ -1132,7 +1132,7 @@ function ti(e, t = {}) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
});
|
|
1134
1134
|
function E(x, H) {
|
|
1135
|
-
var O,
|
|
1135
|
+
var O, k, h, M;
|
|
1136
1136
|
if (!d)
|
|
1137
1137
|
return;
|
|
1138
1138
|
const S = le(e);
|
|
@@ -1140,7 +1140,7 @@ function ti(e, t = {}) {
|
|
|
1140
1140
|
return;
|
|
1141
1141
|
(h = S instanceof Document ? d.document.body : S) == null || h.scrollTo({
|
|
1142
1142
|
top: (O = le(H)) != null ? O : D.value,
|
|
1143
|
-
left: (
|
|
1143
|
+
left: (k = le(x)) != null ? k : g.value,
|
|
1144
1144
|
behavior: le(A)
|
|
1145
1145
|
});
|
|
1146
1146
|
const Y = ((M = S == null ? void 0 : S.document) == null ? void 0 : M.documentElement) || (S == null ? void 0 : S.documentElement) || S;
|
|
@@ -1162,14 +1162,14 @@ function ti(e, t = {}) {
|
|
|
1162
1162
|
var H;
|
|
1163
1163
|
if (!d)
|
|
1164
1164
|
return;
|
|
1165
|
-
const O = ((H = x == null ? void 0 : x.document) == null ? void 0 : H.documentElement) || (x == null ? void 0 : x.documentElement) || Et(x), { display:
|
|
1165
|
+
const O = ((H = x == null ? void 0 : x.document) == null ? void 0 : H.documentElement) || (x == null ? void 0 : x.documentElement) || Et(x), { display: k, flexDirection: h, direction: M } = getComputedStyle(O), S = M === "rtl" ? -1 : 1, Y = O.scrollLeft;
|
|
1166
1166
|
w.left = Y < I.value, w.right = Y > I.value;
|
|
1167
1167
|
const F = Math.abs(Y * S) <= (o.left || 0), J = Math.abs(Y * S) + O.clientWidth >= O.scrollWidth - (o.right || 0) - Lt;
|
|
1168
|
-
|
|
1168
|
+
k === "flex" && h === "row-reverse" ? (N.left = J, N.right = F) : (N.left = F, N.right = J), I.value = Y;
|
|
1169
1169
|
let X = O.scrollTop;
|
|
1170
1170
|
x === d.document && !X && (X = d.document.body.scrollTop), w.top = X < v.value, w.bottom = X > v.value;
|
|
1171
1171
|
const _ = Math.abs(X) <= (o.top || 0), ae = Math.abs(X) + O.clientHeight >= O.scrollHeight - (o.bottom || 0) - Lt;
|
|
1172
|
-
|
|
1172
|
+
k === "flex" && h === "column-reverse" ? (N.top = ae, N.bottom = _) : (N.top = _, N.bottom = ae), v.value = X;
|
|
1173
1173
|
}, te = (x) => {
|
|
1174
1174
|
var H;
|
|
1175
1175
|
if (!d)
|
|
@@ -1248,7 +1248,7 @@ function nt() {
|
|
|
1248
1248
|
* tabbable 6.2.0
|
|
1249
1249
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
1250
1250
|
*/
|
|
1251
|
-
var na = ["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])"], Ke = /* @__PURE__ */ na.join(","), ia = typeof Element > "u",
|
|
1251
|
+
var na = ["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])"], Ke = /* @__PURE__ */ na.join(","), ia = typeof Element > "u", we = ia ? function() {
|
|
1252
1252
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ge = !ia && Element.prototype.getRootNode ? function(e) {
|
|
1253
1253
|
var t;
|
|
1254
1254
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -1266,7 +1266,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1266
1266
|
if (Je(t))
|
|
1267
1267
|
return [];
|
|
1268
1268
|
var i = Array.prototype.slice.apply(t.querySelectorAll(Ke));
|
|
1269
|
-
return a &&
|
|
1269
|
+
return a && we.call(t, Ke) && i.unshift(t), i = i.filter(n), i;
|
|
1270
1270
|
}, ra = function e(t, a, n) {
|
|
1271
1271
|
for (var i = [], r = Array.from(t); r.length; ) {
|
|
1272
1272
|
var o = r.shift();
|
|
@@ -1278,7 +1278,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1278
1278
|
candidates: A
|
|
1279
1279
|
});
|
|
1280
1280
|
} else {
|
|
1281
|
-
var d =
|
|
1281
|
+
var d = we.call(o, Ke);
|
|
1282
1282
|
d && n.filter(o) && (a || !t.includes(o)) && i.push(o);
|
|
1283
1283
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
1284
1284
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), C = !Je(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
@@ -1354,8 +1354,8 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1354
1354
|
var n = a.displayCheck, i = a.getShadowRoot;
|
|
1355
1355
|
if (getComputedStyle(t).visibility === "hidden")
|
|
1356
1356
|
return !0;
|
|
1357
|
-
var r =
|
|
1358
|
-
if (
|
|
1357
|
+
var r = we.call(t, "details>summary:first-of-type"), o = r ? t.parentElement : t;
|
|
1358
|
+
if (we.call(o, "details:not([open]) *"))
|
|
1359
1359
|
return !0;
|
|
1360
1360
|
if (!n || n === "full" || n === "legacy-full") {
|
|
1361
1361
|
if (typeof i == "function") {
|
|
@@ -1381,7 +1381,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1381
1381
|
for (var n = 0; n < a.children.length; n++) {
|
|
1382
1382
|
var i = a.children.item(n);
|
|
1383
1383
|
if (i.tagName === "LEGEND")
|
|
1384
|
-
return
|
|
1384
|
+
return we.call(a, "fieldset[disabled] *") ? !0 : !i.contains(t);
|
|
1385
1385
|
}
|
|
1386
1386
|
return !0;
|
|
1387
1387
|
}
|
|
@@ -1430,14 +1430,14 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1430
1430
|
flatten: !0,
|
|
1431
1431
|
getShadowRoot: a.getShadowRoot
|
|
1432
1432
|
}) : n = la(t, a.includeContainer, $e.bind(null, a)), n;
|
|
1433
|
-
},
|
|
1433
|
+
}, Oe = function(t, a) {
|
|
1434
1434
|
if (a = a || {}, !t)
|
|
1435
1435
|
throw new Error("No node provided");
|
|
1436
|
-
return
|
|
1436
|
+
return we.call(t, Ke) === !1 ? !1 : ft(a, t);
|
|
1437
1437
|
}, hi = /* @__PURE__ */ na.concat("iframe").join(","), st = function(t, a) {
|
|
1438
1438
|
if (a = a || {}, !t)
|
|
1439
1439
|
throw new Error("No node provided");
|
|
1440
|
-
return
|
|
1440
|
+
return we.call(t, hi) === !1 ? !1 : $e(a, t);
|
|
1441
1441
|
};
|
|
1442
1442
|
/*!
|
|
1443
1443
|
* focus-trap 7.6.5
|
|
@@ -1638,9 +1638,9 @@ var Qt = {
|
|
|
1638
1638
|
}, C = function() {
|
|
1639
1639
|
if (o.containerGroups = o.containers.map(function(h) {
|
|
1640
1640
|
var M = gi(h, r.tabbableOptions), S = bi(h, r.tabbableOptions), Y = M.length > 0 ? M[0] : void 0, F = M.length > 0 ? M[M.length - 1] : void 0, J = S.find(function(ae) {
|
|
1641
|
-
return
|
|
1641
|
+
return Oe(ae);
|
|
1642
1642
|
}), X = S.slice().reverse().find(function(ae) {
|
|
1643
|
-
return
|
|
1643
|
+
return Oe(ae);
|
|
1644
1644
|
}), _ = !!M.find(function(ae) {
|
|
1645
1645
|
return Te(ae) > 0;
|
|
1646
1646
|
});
|
|
@@ -1674,12 +1674,12 @@ var Qt = {
|
|
|
1674
1674
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
1675
1675
|
*/
|
|
1676
1676
|
nextTabbableNode: function(Ee) {
|
|
1677
|
-
var
|
|
1678
|
-
return be < 0 ?
|
|
1679
|
-
return
|
|
1677
|
+
var ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, be = M.indexOf(Ee);
|
|
1678
|
+
return be < 0 ? ke ? S.slice(S.indexOf(Ee) + 1).find(function(je) {
|
|
1679
|
+
return Oe(je);
|
|
1680
1680
|
}) : S.slice(0, S.indexOf(Ee)).reverse().find(function(je) {
|
|
1681
|
-
return
|
|
1682
|
-
}) : M[be + (
|
|
1681
|
+
return Oe(je);
|
|
1682
|
+
}) : M[be + (ke ? 1 : -1)];
|
|
1683
1683
|
}
|
|
1684
1684
|
};
|
|
1685
1685
|
}), o.tabbableGroups = o.containerGroups.filter(function(h) {
|
|
@@ -1722,16 +1722,16 @@ var Qt = {
|
|
|
1722
1722
|
var rt = lt.firstTabbableNode;
|
|
1723
1723
|
return M === rt;
|
|
1724
1724
|
});
|
|
1725
|
-
if (ae < 0 && (_.container === M || st(M, r.tabbableOptions) && !
|
|
1726
|
-
var Ee = ae === 0 ? o.tabbableGroups.length - 1 : ae - 1,
|
|
1727
|
-
J = Te(M) >= 0 ?
|
|
1725
|
+
if (ae < 0 && (_.container === M || st(M, r.tabbableOptions) && !Oe(M, r.tabbableOptions) && !_.nextTabbableNode(M, !1)) && (ae = X), ae >= 0) {
|
|
1726
|
+
var Ee = ae === 0 ? o.tabbableGroups.length - 1 : ae - 1, ke = o.tabbableGroups[Ee];
|
|
1727
|
+
J = Te(M) >= 0 ? ke.lastTabbableNode : ke.lastDomTabbableNode;
|
|
1728
1728
|
} else He(S) || (J = _.nextTabbableNode(M, !1));
|
|
1729
1729
|
} else {
|
|
1730
1730
|
var be = o.tabbableGroups.findIndex(function(lt) {
|
|
1731
1731
|
var rt = lt.lastTabbableNode;
|
|
1732
1732
|
return M === rt;
|
|
1733
1733
|
});
|
|
1734
|
-
if (be < 0 && (_.container === M || st(M, r.tabbableOptions) && !
|
|
1734
|
+
if (be < 0 && (_.container === M || st(M, r.tabbableOptions) && !Oe(M, r.tabbableOptions) && !_.nextTabbableNode(M)) && (be = X), be >= 0) {
|
|
1735
1735
|
var je = be === o.tabbableGroups.length - 1 ? 0 : be + 1, Dt = o.tabbableGroups[je];
|
|
1736
1736
|
J = Te(M) >= 0 ? Dt.firstTabbableNode : Dt.firstDomTabbableNode;
|
|
1737
1737
|
} else He(S) || (J = _.nextTabbableNode(M));
|
|
@@ -1908,7 +1908,7 @@ var Qt = {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
}), s.updateContainerElements(t), s;
|
|
1910
1910
|
};
|
|
1911
|
-
function
|
|
1911
|
+
function pi(e, t) {
|
|
1912
1912
|
let a = null;
|
|
1913
1913
|
function n() {
|
|
1914
1914
|
!e.value || !e.value.querySelector(
|
|
@@ -1935,7 +1935,7 @@ function EA(e) {
|
|
|
1935
1935
|
document.documentElement.style.setProperty("--global-background-color", "var(--default-global-background-color)");
|
|
1936
1936
|
});
|
|
1937
1937
|
}
|
|
1938
|
-
const
|
|
1938
|
+
const ki = {
|
|
1939
1939
|
role: "navigation",
|
|
1940
1940
|
class: "av-translate av-nav"
|
|
1941
1941
|
}, ji = { class: "av-nav__item" }, zi = ["id"], Bi = { class: "av-menu__list" }, Pi = ["hreflang", "lang", "aria-current", "href", "onClick"], Wi = /* @__PURE__ */ Q({
|
|
@@ -1970,7 +1970,7 @@ const pi = {
|
|
|
1970
1970
|
g !== D && o(g);
|
|
1971
1971
|
}), (g, D) => {
|
|
1972
1972
|
const E = oe;
|
|
1973
|
-
return u(), m("nav",
|
|
1973
|
+
return u(), m("nav", ki, [
|
|
1974
1974
|
b("div", ji, [
|
|
1975
1975
|
W(E, {
|
|
1976
1976
|
class: "av-translate__btn",
|
|
@@ -2013,7 +2013,7 @@ const pi = {
|
|
|
2013
2013
|
]);
|
|
2014
2014
|
};
|
|
2015
2015
|
}
|
|
2016
|
-
}),
|
|
2016
|
+
}), pt = /* @__PURE__ */ j(Wi, [["__scopeId", "data-v-4cdd2381"]]), Ui = ["title", "aria-label"], Vi = { class: "av-rich-button__line" }, Hi = { class: "av-rich-button__left" }, Zi = /* @__PURE__ */ Q({
|
|
2017
2017
|
__name: "AvRichButton",
|
|
2018
2018
|
props: {
|
|
2019
2019
|
label: {},
|
|
@@ -2026,17 +2026,17 @@ const pi = {
|
|
|
2026
2026
|
},
|
|
2027
2027
|
setup(e) {
|
|
2028
2028
|
return se((t) => ({
|
|
2029
|
-
|
|
2029
|
+
e928b0cc: t.customPadding
|
|
2030
2030
|
})), (t, a) => (u(), m("button", {
|
|
2031
2031
|
class: "av-rich-button",
|
|
2032
2032
|
title: e.label,
|
|
2033
2033
|
"aria-label": e.label,
|
|
2034
|
-
onClick: a[0] || (a[0] =
|
|
2035
|
-
|
|
2034
|
+
onClick: a[0] || (a[0] = (n) => e.onClick ? e.onClick(n) : () => {
|
|
2035
|
+
})
|
|
2036
2036
|
}, [
|
|
2037
2037
|
b("div", Vi, [
|
|
2038
2038
|
b("div", Hi, [
|
|
2039
|
-
e.iconLeft ? (u(),
|
|
2039
|
+
e.iconLeft ? (u(), p(ne, {
|
|
2040
2040
|
key: 0,
|
|
2041
2041
|
name: e.iconLeft,
|
|
2042
2042
|
color: "var(--dark-background-primary1)",
|
|
@@ -2044,7 +2044,7 @@ const pi = {
|
|
|
2044
2044
|
}, null, 8, ["name"])) : L("", !0),
|
|
2045
2045
|
P(t.$slots, "default", {}, void 0, !0)
|
|
2046
2046
|
]),
|
|
2047
|
-
e.iconRight ? (u(),
|
|
2047
|
+
e.iconRight ? (u(), p(ne, {
|
|
2048
2048
|
key: 0,
|
|
2049
2049
|
name: e.iconRight,
|
|
2050
2050
|
color: "var(--dark-background-primary1)",
|
|
@@ -2053,7 +2053,7 @@ const pi = {
|
|
|
2053
2053
|
])
|
|
2054
2054
|
], 8, Ui));
|
|
2055
2055
|
}
|
|
2056
|
-
}), NA = /* @__PURE__ */ j(Zi, [["__scopeId", "data-v-
|
|
2056
|
+
}), NA = /* @__PURE__ */ j(Zi, [["__scopeId", "data-v-a30b5cec"]]), Ri = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], Xi = ["for"], Yi = { class: "label-container" }, qi = {
|
|
2057
2057
|
key: 0,
|
|
2058
2058
|
class: "av-hint-text"
|
|
2059
2059
|
}, Fi = /* @__PURE__ */ Q({
|
|
@@ -2078,10 +2078,10 @@ const pi = {
|
|
|
2078
2078
|
}),
|
|
2079
2079
|
emits: ["update:modelValue"],
|
|
2080
2080
|
setup(e) {
|
|
2081
|
-
const t = y(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = y(() => e.errorMessage || e.validMessage), n = y(() => a.value ? `message-${t.value}` : void 0), i =
|
|
2081
|
+
const t = y(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = y(() => e.errorMessage || e.validMessage), n = y(() => a.value ? `message-${t.value}` : void 0), i = Le(e, "modelValue"), r = y(() => i.value.includes(e.value)), o = y(() => r.value ? R.CHECKBOX_MARKED : R.CHECKBOX_BLANK_OUTLINE), s = y(() => r.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = y(() => e.small ? 1 : 1.5), A = y(() => e.small ? r.value ? "caption-bold" : "caption-regular" : r.value ? "b2-bold" : "b2-regular");
|
|
2082
2082
|
return (d, f) => {
|
|
2083
|
-
const C = ne, I =
|
|
2084
|
-
return u(),
|
|
2083
|
+
const C = ne, I = pe, v = Jt;
|
|
2084
|
+
return u(), p(v, {
|
|
2085
2085
|
inline: e.inline,
|
|
2086
2086
|
disabled: e.disabled
|
|
2087
2087
|
}, {
|
|
@@ -2114,7 +2114,7 @@ const pi = {
|
|
|
2114
2114
|
color: l(s),
|
|
2115
2115
|
size: l(c)
|
|
2116
2116
|
}, null, 8, ["name", "color", "size"]),
|
|
2117
|
-
e.icon ? (u(),
|
|
2117
|
+
e.icon ? (u(), p(C, {
|
|
2118
2118
|
key: 0,
|
|
2119
2119
|
class: "option-icon",
|
|
2120
2120
|
name: e.icon,
|
|
@@ -2123,7 +2123,11 @@ const pi = {
|
|
|
2123
2123
|
}, null, 8, ["name", "color", "size"])) : L("", !0),
|
|
2124
2124
|
b("span", {
|
|
2125
2125
|
class: z(["label", l(A)])
|
|
2126
|
-
},
|
|
2126
|
+
}, [
|
|
2127
|
+
P(d.$slots, "label", {}, () => [
|
|
2128
|
+
De(B(e.label), 1)
|
|
2129
|
+
], !0)
|
|
2130
|
+
], 2),
|
|
2127
2131
|
e.required ? (u(), m("span", {
|
|
2128
2132
|
key: 1,
|
|
2129
2133
|
class: z(["required", l(A)])
|
|
@@ -2137,11 +2141,11 @@ const pi = {
|
|
|
2137
2141
|
message: l(a)
|
|
2138
2142
|
}, null, 8, ["message-id", "type", "message"])
|
|
2139
2143
|
]),
|
|
2140
|
-
_:
|
|
2144
|
+
_: 3
|
|
2141
2145
|
}, 8, ["inline", "disabled"]);
|
|
2142
2146
|
};
|
|
2143
2147
|
}
|
|
2144
|
-
}), Ki = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-
|
|
2148
|
+
}), Ki = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-aab3c924"]]), Gi = /* @__PURE__ */ Q({
|
|
2145
2149
|
__name: "AvCheckboxesGroup",
|
|
2146
2150
|
props: {
|
|
2147
2151
|
id: {},
|
|
@@ -2156,7 +2160,7 @@ const pi = {
|
|
|
2156
2160
|
const t = y(() => e.id ?? `checkboxes-group-${crypto.randomUUID()}`);
|
|
2157
2161
|
return (a, n) => {
|
|
2158
2162
|
const i = Gt;
|
|
2159
|
-
return u(),
|
|
2163
|
+
return u(), p(i, {
|
|
2160
2164
|
id: l(t),
|
|
2161
2165
|
legend: e.legend,
|
|
2162
2166
|
"legend-id": e.legendId,
|
|
@@ -2187,8 +2191,8 @@ const pi = {
|
|
|
2187
2191
|
},
|
|
2188
2192
|
setup(e) {
|
|
2189
2193
|
return (t, a) => {
|
|
2190
|
-
const n =
|
|
2191
|
-
return u(),
|
|
2194
|
+
const n = pe;
|
|
2195
|
+
return u(), p(n, {
|
|
2192
2196
|
type: e.error ? "error" : "success",
|
|
2193
2197
|
message: e.error ? e.error : e.validMessage
|
|
2194
2198
|
}, null, 8, ["type", "message"]);
|
|
@@ -2268,7 +2272,7 @@ const pi = {
|
|
|
2268
2272
|
v ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (g = e.onDeleteFile) == null || g.call(e);
|
|
2269
2273
|
}
|
|
2270
2274
|
return (v, g) => (u(), m($, null, [
|
|
2271
|
-
(u(),
|
|
2275
|
+
(u(), p(Me(l(f) ? "div" : "label"), ee(l(f) ? {} : l(C), {
|
|
2272
2276
|
class: l(f) ? "file-preview-container" : ""
|
|
2273
2277
|
}), {
|
|
2274
2278
|
default: G(() => [
|
|
@@ -2298,12 +2302,12 @@ const pi = {
|
|
|
2298
2302
|
}, null, 8, ["valid-message", "error"])
|
|
2299
2303
|
]),
|
|
2300
2304
|
e.disabled ? L("", !0) : (u(), m("div", ol, [
|
|
2301
|
-
l(f) ? (u(),
|
|
2305
|
+
l(f) ? (u(), p(oe, {
|
|
2302
2306
|
key: 0,
|
|
2303
2307
|
label: e.deleteButtonLabel,
|
|
2304
2308
|
theme: "SECONDARY",
|
|
2305
2309
|
onClick: g[0] || (g[0] = () => I(e.modelValue))
|
|
2306
|
-
}, null, 8, ["label"])) : (u(),
|
|
2310
|
+
}, null, 8, ["label"])) : (u(), p(ne, {
|
|
2307
2311
|
key: 1,
|
|
2308
2312
|
size: 1.5,
|
|
2309
2313
|
name: l(R).TRAY_UPLOAD,
|
|
@@ -2332,9 +2336,9 @@ const pi = {
|
|
|
2332
2336
|
])
|
|
2333
2337
|
], 64));
|
|
2334
2338
|
}
|
|
2335
|
-
}), TA = /* @__PURE__ */ j(Al, [["__scopeId", "data-v-b3d7bf33"]]), Aa = 6048e5, ul = 864e5,
|
|
2339
|
+
}), TA = /* @__PURE__ */ j(Al, [["__scopeId", "data-v-b3d7bf33"]]), Aa = 6048e5, ul = 864e5, kt = Symbol.for("constructDateFrom");
|
|
2336
2340
|
function Ce(e, t) {
|
|
2337
|
-
return typeof e == "function" ? e(t) : e && typeof e == "object" &&
|
|
2341
|
+
return typeof e == "function" ? e(t) : e && typeof e == "object" && kt in e ? e[kt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2338
2342
|
}
|
|
2339
2343
|
function me(e, t) {
|
|
2340
2344
|
return Ce(t || e, e);
|
|
@@ -2655,7 +2659,7 @@ const Dl = {
|
|
|
2655
2659
|
return a + "rd";
|
|
2656
2660
|
}
|
|
2657
2661
|
return a + "th";
|
|
2658
|
-
},
|
|
2662
|
+
}, pl = {
|
|
2659
2663
|
ordinalNumber: xl,
|
|
2660
2664
|
era: Pe({
|
|
2661
2665
|
values: Dl,
|
|
@@ -2688,7 +2692,7 @@ function We(e) {
|
|
|
2688
2692
|
return null;
|
|
2689
2693
|
const o = r[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? jl(s, (f) => f.test(o)) : (
|
|
2690
2694
|
// [TODO] -- I challenge you to fix the type
|
|
2691
|
-
|
|
2695
|
+
kl(s, (f) => f.test(o))
|
|
2692
2696
|
);
|
|
2693
2697
|
let A;
|
|
2694
2698
|
A = e.valueCallback ? e.valueCallback(c) : c, A = a.valueCallback ? (
|
|
@@ -2699,7 +2703,7 @@ function We(e) {
|
|
|
2699
2703
|
return { value: A, rest: d };
|
|
2700
2704
|
};
|
|
2701
2705
|
}
|
|
2702
|
-
function
|
|
2706
|
+
function kl(e, t) {
|
|
2703
2707
|
for (const a in e)
|
|
2704
2708
|
if (Object.prototype.hasOwnProperty.call(e, a) && t(e[a]))
|
|
2705
2709
|
return a;
|
|
@@ -2830,7 +2834,7 @@ const Bl = /^(\d+)(th|st|nd|rd)?/i, Pl = /\d+/i, Wl = {
|
|
|
2830
2834
|
formatDistance: hl,
|
|
2831
2835
|
formatLong: El,
|
|
2832
2836
|
formatRelative: Tl,
|
|
2833
|
-
localize:
|
|
2837
|
+
localize: pl,
|
|
2834
2838
|
match: Kl,
|
|
2835
2839
|
options: {
|
|
2836
2840
|
weekStartsOn: 0,
|
|
@@ -2921,7 +2925,7 @@ const he = {
|
|
|
2921
2925
|
);
|
|
2922
2926
|
return K(i, t.length);
|
|
2923
2927
|
}
|
|
2924
|
-
},
|
|
2928
|
+
}, Se = {
|
|
2925
2929
|
midnight: "midnight",
|
|
2926
2930
|
noon: "noon",
|
|
2927
2931
|
morning: "morning",
|
|
@@ -3311,7 +3315,7 @@ const he = {
|
|
|
3311
3315
|
b: function(e, t, a) {
|
|
3312
3316
|
const n = e.getHours();
|
|
3313
3317
|
let i;
|
|
3314
|
-
switch (n === 12 ? i =
|
|
3318
|
+
switch (n === 12 ? i = Se.noon : n === 0 ? i = Se.midnight : i = n / 12 >= 1 ? "pm" : "am", t) {
|
|
3315
3319
|
case "b":
|
|
3316
3320
|
case "bb":
|
|
3317
3321
|
return a.dayPeriod(i, {
|
|
@@ -3340,7 +3344,7 @@ const he = {
|
|
|
3340
3344
|
B: function(e, t, a) {
|
|
3341
3345
|
const n = e.getHours();
|
|
3342
3346
|
let i;
|
|
3343
|
-
switch (n >= 17 ? i =
|
|
3347
|
+
switch (n >= 17 ? i = Se.evening : n >= 12 ? i = Se.afternoon : n >= 4 ? i = Se.morning : i = Se.night, t) {
|
|
3344
3348
|
case "B":
|
|
3345
3349
|
case "BB":
|
|
3346
3350
|
case "BBB":
|
|
@@ -3647,7 +3651,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3647
3651
|
emits: ["update:modelValue"],
|
|
3648
3652
|
setup(e, { expose: t, emit: a }) {
|
|
3649
3653
|
se((g) => ({
|
|
3650
|
-
|
|
3654
|
+
v1a9de3ee: g.width
|
|
3651
3655
|
}));
|
|
3652
3656
|
const n = a, i = y(() => e.id ?? `input-${crypto.randomUUID()}`), r = y(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = y(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = y(() => !!e.errorMessage), c = y(() => d(e.minDate)), A = y(() => d(e.maxDate));
|
|
3653
3657
|
function d(g) {
|
|
@@ -3664,7 +3668,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3664
3668
|
return t({
|
|
3665
3669
|
focus: C
|
|
3666
3670
|
}), (g, D) => {
|
|
3667
|
-
const E =
|
|
3671
|
+
const E = pe;
|
|
3668
3672
|
return u(), m("div", {
|
|
3669
3673
|
class: z(["av-input", {
|
|
3670
3674
|
"av-input--date": e.type === "date",
|
|
@@ -3685,14 +3689,14 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3685
3689
|
b("span", {
|
|
3686
3690
|
class: z(e.labelClass)
|
|
3687
3691
|
}, [
|
|
3688
|
-
|
|
3692
|
+
De(B(e.label) + " ", 1),
|
|
3689
3693
|
P(g.$slots, "requiredTip", {}, () => [
|
|
3690
3694
|
e.required === !0 ? (u(), m("span", yr, " * ")) : L("", !0)
|
|
3691
3695
|
], !0),
|
|
3692
3696
|
e.hint ? (u(), m("span", Cr, B(e.hint), 1)) : L("", !0)
|
|
3693
3697
|
], 2)
|
|
3694
3698
|
], 10, hr),
|
|
3695
|
-
(u(),
|
|
3699
|
+
(u(), p(Me(l(I)), ee({
|
|
3696
3700
|
id: l(i),
|
|
3697
3701
|
ref_key: "__input",
|
|
3698
3702
|
ref: f,
|
|
@@ -3738,7 +3742,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3738
3742
|
], 2);
|
|
3739
3743
|
};
|
|
3740
3744
|
}
|
|
3741
|
-
}), Nt = /* @__PURE__ */ j(Tr, [["__scopeId", "data-v-
|
|
3745
|
+
}), Nt = /* @__PURE__ */ j(Tr, [["__scopeId", "data-v-372e86b4"]]), Dr = {
|
|
3742
3746
|
class: "av-search-bar",
|
|
3743
3747
|
role: "search"
|
|
3744
3748
|
}, Lr = /* @__PURE__ */ Q({
|
|
@@ -3820,10 +3824,10 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3820
3824
|
}), Ia = /* @__PURE__ */ j(Or, [["__scopeId", "data-v-f74989f7"]]), Sr = ["role"], Qr = {
|
|
3821
3825
|
key: 0,
|
|
3822
3826
|
class: "av-list-item__icon"
|
|
3823
|
-
}, xr = { class: "av-list-item__content" },
|
|
3827
|
+
}, xr = { class: "av-list-item__content" }, pr = {
|
|
3824
3828
|
key: 0,
|
|
3825
3829
|
class: "av-list-item__title"
|
|
3826
|
-
},
|
|
3830
|
+
}, kr = {
|
|
3827
3831
|
key: 1,
|
|
3828
3832
|
class: "av-list-item__description"
|
|
3829
3833
|
}, jr = { key: 2 }, zr = /* @__PURE__ */ Q({
|
|
@@ -3875,7 +3879,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3875
3879
|
}
|
|
3876
3880
|
const o = y(() => e.clickable ? "av-list-item--clickable" : ""), s = y(() => e.disabled ? "av-list-item--disabled" : ""), c = y(() => e.selected ? "av-list-item--selected" : "");
|
|
3877
3881
|
return (A, d) => (u(), m("div", { role: e.role }, [
|
|
3878
|
-
(u(),
|
|
3882
|
+
(u(), p(Me(l(a)), {
|
|
3879
3883
|
class: z(["av-list-item", [l(o), l(s), l(c)]]),
|
|
3880
3884
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
3881
3885
|
"aria-label": e.clickable ? l(n) : void 0,
|
|
@@ -3897,8 +3901,8 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3897
3901
|
}, null, 8, ["name", "color", "size"])
|
|
3898
3902
|
])) : L("", !0),
|
|
3899
3903
|
b("div", xr, [
|
|
3900
|
-
e.title ? (u(), m("div",
|
|
3901
|
-
e.description ? (u(), m("div",
|
|
3904
|
+
e.title ? (u(), m("div", pr, B(e.title), 1)) : L("", !0),
|
|
3905
|
+
e.description ? (u(), m("div", kr, B(e.description), 1)) : L("", !0),
|
|
3902
3906
|
t.default ? (u(), m("div", jr, [
|
|
3903
3907
|
P(A.$slots, "default", {}, void 0, !0)
|
|
3904
3908
|
])) : L("", !0)
|
|
@@ -3921,7 +3925,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3921
3925
|
},
|
|
3922
3926
|
setup(e) {
|
|
3923
3927
|
se((g) => ({
|
|
3924
|
-
|
|
3928
|
+
v67603a32: l(n)
|
|
3925
3929
|
}));
|
|
3926
3930
|
const t = e, {
|
|
3927
3931
|
label: a,
|
|
@@ -3975,7 +3979,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3975
3979
|
]))), 128))
|
|
3976
3980
|
]));
|
|
3977
3981
|
}
|
|
3978
|
-
}), Wr = /* @__PURE__ */ j(Pr, [["__scopeId", "data-v-
|
|
3982
|
+
}), Wr = /* @__PURE__ */ j(Pr, [["__scopeId", "data-v-f6ec3112"]]);
|
|
3979
3983
|
var ga = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(ga || {});
|
|
3980
3984
|
const DA = [
|
|
3981
3985
|
4,
|
|
@@ -4035,7 +4039,7 @@ const DA = [
|
|
|
4035
4039
|
const a = t, n = U(`av-radio-button-${crypto.randomUUID()}`);
|
|
4036
4040
|
return (i, r) => {
|
|
4037
4041
|
const o = Jt;
|
|
4038
|
-
return u(),
|
|
4042
|
+
return u(), p(o, {
|
|
4039
4043
|
inline: e.inline,
|
|
4040
4044
|
disabled: e.disabled
|
|
4041
4045
|
}, {
|
|
@@ -4105,7 +4109,7 @@ const DA = [
|
|
|
4105
4109
|
I && n("update:modelValue", I);
|
|
4106
4110
|
}), t({ selected: C }), (I, v) => {
|
|
4107
4111
|
const g = Gt;
|
|
4108
|
-
return u(),
|
|
4112
|
+
return u(), p(g, {
|
|
4109
4113
|
id: l(i),
|
|
4110
4114
|
legend: e.legend,
|
|
4111
4115
|
hint: e.hint,
|
|
@@ -4121,7 +4125,7 @@ const DA = [
|
|
|
4121
4125
|
default: G(() => [
|
|
4122
4126
|
(u(!0), m($, null, ie(l(f), (D, E) => {
|
|
4123
4127
|
var T, N;
|
|
4124
|
-
return u(),
|
|
4128
|
+
return u(), p(Yr, {
|
|
4125
4129
|
key: E,
|
|
4126
4130
|
modelValue: l(C),
|
|
4127
4131
|
"onUpdate:modelValue": [
|
|
@@ -4137,7 +4141,7 @@ const DA = [
|
|
|
4137
4141
|
default: G(() => {
|
|
4138
4142
|
var w;
|
|
4139
4143
|
return [
|
|
4140
|
-
(u(),
|
|
4144
|
+
(u(), p(Me((w = D.children) == null ? void 0 : w.default)))
|
|
4141
4145
|
];
|
|
4142
4146
|
}),
|
|
4143
4147
|
_: 2
|
|
@@ -4149,7 +4153,7 @@ const DA = [
|
|
|
4149
4153
|
};
|
|
4150
4154
|
}
|
|
4151
4155
|
});
|
|
4152
|
-
var
|
|
4156
|
+
var Qe = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(Qe || {});
|
|
4153
4157
|
const ba = Symbol("AvAutocompleteContext");
|
|
4154
4158
|
function Tt() {
|
|
4155
4159
|
const e = tt(ba);
|
|
@@ -4295,7 +4299,7 @@ const ho = {
|
|
|
4295
4299
|
}
|
|
4296
4300
|
let w;
|
|
4297
4301
|
return c.filterOptions ? w = c.filterOptions(c.options, N) : w = c.options.filter((V) => d(V).toLowerCase().includes(N)), c.maxResults ? w.slice(0, c.maxResults) : w;
|
|
4298
|
-
}), v = y(() => c.loading ?
|
|
4302
|
+
}), v = y(() => c.loading ? Qe.LOADING : s.value && c.options && c.options.length > 0 && I.value.length > 0 ? Qe.HAS_OPTIONS : Qe.NO_OPTIONS);
|
|
4299
4303
|
function g(N) {
|
|
4300
4304
|
return r.value.some(
|
|
4301
4305
|
(w) => A(w) === A(N)
|
|
@@ -4331,16 +4335,16 @@ const ho = {
|
|
|
4331
4335
|
class: z(["av-autocomplete-dropdown", l(c).dropdownClass]),
|
|
4332
4336
|
style: ce({ width: l(c).dropdownWidth, maxHeight: l(c).maxDropdownHeight })
|
|
4333
4337
|
}, [
|
|
4334
|
-
l(v) === l(
|
|
4338
|
+
l(v) === l(Qe).LOADING ? (u(), m("div", ho, [
|
|
4335
4339
|
W(ne, {
|
|
4336
4340
|
name: l(R).LOADING,
|
|
4337
4341
|
size: 1.5,
|
|
4338
4342
|
class: "av-autocomplete-dropdown__spinner"
|
|
4339
4343
|
}, null, 8, ["name"]),
|
|
4340
4344
|
w[0] || (w[0] = b("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
4341
|
-
])) : l(v) === l(
|
|
4345
|
+
])) : l(v) === l(Qe).NO_OPTIONS ? (u(), m("div", yo, [
|
|
4342
4346
|
i.empty ? P(N.$slots, "empty", { key: 0 }, void 0, !0) : (u(), m("div", Co, " No results found "))
|
|
4343
|
-
])) : (u(),
|
|
4347
|
+
])) : (u(), p(Ia, ee({
|
|
4344
4348
|
key: 2,
|
|
4345
4349
|
ref_key: "listRef",
|
|
4346
4350
|
ref: C
|
|
@@ -4356,7 +4360,7 @@ const ho = {
|
|
|
4356
4360
|
option: V,
|
|
4357
4361
|
isSelected: g(V),
|
|
4358
4362
|
toggle: () => D(V)
|
|
4359
|
-
}, void 0, !0) : (u(),
|
|
4363
|
+
}, void 0, !0) : (u(), p(ma, {
|
|
4360
4364
|
key: 1,
|
|
4361
4365
|
title: l(d)(V),
|
|
4362
4366
|
icon: g(V) ? l(R).CHECK : void 0,
|
|
@@ -4423,7 +4427,7 @@ const ho = {
|
|
|
4423
4427
|
i.requiredTip ? {
|
|
4424
4428
|
name: "requiredTip",
|
|
4425
4429
|
fn: G(() => [
|
|
4426
|
-
(u(),
|
|
4430
|
+
(u(), p(Me(i.requiredTip)))
|
|
4427
4431
|
]),
|
|
4428
4432
|
key: "0"
|
|
4429
4433
|
} : void 0
|
|
@@ -4436,12 +4440,12 @@ const ho = {
|
|
|
4436
4440
|
"icon-scale": 1.25,
|
|
4437
4441
|
variant: "DEFAULT",
|
|
4438
4442
|
theme: "SECONDARY",
|
|
4439
|
-
|
|
4443
|
+
onClick: T
|
|
4440
4444
|
}, null, 8, ["icon"])
|
|
4441
4445
|
])) : L("", !0)
|
|
4442
4446
|
]));
|
|
4443
4447
|
}
|
|
4444
|
-
}), Lo = /* @__PURE__ */ j(Do, [["__scopeId", "data-v-
|
|
4448
|
+
}), Lo = /* @__PURE__ */ j(Do, [["__scopeId", "data-v-318a09bc"]]), wo = {
|
|
4445
4449
|
key: 0,
|
|
4446
4450
|
class: "av-autocomplete-selected-tags"
|
|
4447
4451
|
}, Oo = /* @__PURE__ */ Q({
|
|
@@ -4468,7 +4472,7 @@ const ho = {
|
|
|
4468
4472
|
key: 0,
|
|
4469
4473
|
option: A,
|
|
4470
4474
|
remove: () => o(A)
|
|
4471
|
-
}, void 0, !0) : (u(),
|
|
4475
|
+
}, void 0, !0) : (u(), p(oe, {
|
|
4472
4476
|
key: 1,
|
|
4473
4477
|
label: l(r)(A),
|
|
4474
4478
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -4476,12 +4480,12 @@ const ho = {
|
|
|
4476
4480
|
size: "sm",
|
|
4477
4481
|
variant: "OUTLINED",
|
|
4478
4482
|
theme: "SECONDARY",
|
|
4479
|
-
|
|
4480
|
-
}, null, 8, ["label", "icon", "
|
|
4483
|
+
onClick: () => o(A)
|
|
4484
|
+
}, null, 8, ["label", "icon", "onClick"]))
|
|
4481
4485
|
]))), 128))
|
|
4482
4486
|
])) : L("", !0);
|
|
4483
4487
|
}
|
|
4484
|
-
}), So = /* @__PURE__ */ j(Oo, [["__scopeId", "data-v-
|
|
4488
|
+
}), So = /* @__PURE__ */ j(Oo, [["__scopeId", "data-v-c42c1ff5"]]), Qo = { class: "av-autocomplete" }, xo = /* @__PURE__ */ Q({
|
|
4485
4489
|
__name: "AvAutocomplete",
|
|
4486
4490
|
props: /* @__PURE__ */ ge({
|
|
4487
4491
|
id: {},
|
|
@@ -4513,7 +4517,7 @@ const ho = {
|
|
|
4513
4517
|
}),
|
|
4514
4518
|
emits: /* @__PURE__ */ ge(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
4515
4519
|
setup(e, { emit: t }) {
|
|
4516
|
-
const a = e, n = t, i = fe(), r =
|
|
4520
|
+
const a = e, n = t, i = fe(), r = Le(e, "modelValue"), o = U(!1), s = U(""), c = U(), A = U(), d = U(), f = y(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
4517
4521
|
function C(T) {
|
|
4518
4522
|
s.value = T, n("search", T);
|
|
4519
4523
|
}
|
|
@@ -4563,7 +4567,7 @@ const ho = {
|
|
|
4563
4567
|
i.requiredTip ? {
|
|
4564
4568
|
name: "requiredTip",
|
|
4565
4569
|
fn: G(() => [
|
|
4566
|
-
(u(),
|
|
4570
|
+
(u(), p(Me(i.requiredTip)))
|
|
4567
4571
|
]),
|
|
4568
4572
|
key: "0"
|
|
4569
4573
|
} : void 0
|
|
@@ -4607,7 +4611,7 @@ const ho = {
|
|
|
4607
4611
|
]), 1024)
|
|
4608
4612
|
]));
|
|
4609
4613
|
}
|
|
4610
|
-
}), OA = /* @__PURE__ */ j(xo, [["__scopeId", "data-v-a8c4de33"]]),
|
|
4614
|
+
}), OA = /* @__PURE__ */ j(xo, [["__scopeId", "data-v-a8c4de33"]]), po = ["id"], ko = ["id"], jo = {
|
|
4611
4615
|
key: 0,
|
|
4612
4616
|
class: "av-btns-group"
|
|
4613
4617
|
}, zo = { key: 1 }, Bo = { key: 2 }, Po = "label", Wo = /* @__PURE__ */ Q({
|
|
@@ -4634,7 +4638,7 @@ const ho = {
|
|
|
4634
4638
|
function n(H, O) {
|
|
4635
4639
|
return `${O}-${H.value}`;
|
|
4636
4640
|
}
|
|
4637
|
-
const i = U(null), r = U(!1), o =
|
|
4641
|
+
const i = U(null), r = U(!1), o = Le(e, "modelValue"), s = U(0), c = [], {
|
|
4638
4642
|
collapse: A,
|
|
4639
4643
|
collapsing: d,
|
|
4640
4644
|
cssExpanded: f,
|
|
@@ -4648,9 +4652,9 @@ const ho = {
|
|
|
4648
4652
|
H.key === "Escape" && a("close");
|
|
4649
4653
|
}
|
|
4650
4654
|
function D(H) {
|
|
4651
|
-
var
|
|
4655
|
+
var k, h;
|
|
4652
4656
|
const O = H.target;
|
|
4653
|
-
!((
|
|
4657
|
+
!((k = i.value) != null && k.$el.contains(O)) && !((h = A.value) != null && h.contains(O)) && a("close");
|
|
4654
4658
|
}
|
|
4655
4659
|
function E() {
|
|
4656
4660
|
for (; c.length; ) {
|
|
@@ -4676,7 +4680,7 @@ const ho = {
|
|
|
4676
4680
|
}
|
|
4677
4681
|
function Z(H) {
|
|
4678
4682
|
H.preventDefault();
|
|
4679
|
-
const O = I(),
|
|
4683
|
+
const O = I(), k = document.activeElement, h = Array.from(O).indexOf(k);
|
|
4680
4684
|
if (h !== -1) {
|
|
4681
4685
|
const M = (h + 1) % O.length;
|
|
4682
4686
|
O[M].focus();
|
|
@@ -4684,25 +4688,25 @@ const ho = {
|
|
|
4684
4688
|
}
|
|
4685
4689
|
function q(H) {
|
|
4686
4690
|
H.preventDefault();
|
|
4687
|
-
const O = I(),
|
|
4691
|
+
const O = I(), k = document.activeElement, h = Array.from(O).indexOf(k);
|
|
4688
4692
|
if (h !== -1) {
|
|
4689
4693
|
const M = (h - 1 + O.length) % O.length;
|
|
4690
4694
|
O[M].focus();
|
|
4691
4695
|
}
|
|
4692
4696
|
}
|
|
4693
4697
|
function te(H) {
|
|
4694
|
-
const O = I(),
|
|
4695
|
-
Array.from(O).indexOf(
|
|
4698
|
+
const O = I(), k = document.activeElement;
|
|
4699
|
+
Array.from(O).indexOf(k) + 1 === O.length && i.value && !H.shiftKey && a("close");
|
|
4696
4700
|
}
|
|
4697
4701
|
function x(H) {
|
|
4698
|
-
var
|
|
4702
|
+
var k;
|
|
4699
4703
|
const O = document.activeElement;
|
|
4700
|
-
H.shiftKey && O === ((
|
|
4704
|
+
H.shiftKey && O === ((k = i.value) == null ? void 0 : k.$el) && a("close");
|
|
4701
4705
|
}
|
|
4702
4706
|
return ve(() => {
|
|
4703
4707
|
E();
|
|
4704
4708
|
}), (H, O) => {
|
|
4705
|
-
const
|
|
4709
|
+
const k = oe, h = Nt;
|
|
4706
4710
|
return e.isVisible ? (u(), m("div", {
|
|
4707
4711
|
key: 0,
|
|
4708
4712
|
id: `${e.id}-collapse`,
|
|
@@ -4717,10 +4721,10 @@ const ho = {
|
|
|
4717
4721
|
b("p", {
|
|
4718
4722
|
id: `${e.id}-text-hint`,
|
|
4719
4723
|
class: "av-sr-only"
|
|
4720
|
-
}, B(e.hint), 9,
|
|
4724
|
+
}, B(e.hint), 9, ko),
|
|
4721
4725
|
e.selectAll ? (u(), m("ul", jo, [
|
|
4722
4726
|
b("li", null, [
|
|
4723
|
-
W(
|
|
4727
|
+
W(k, {
|
|
4724
4728
|
name: "select-all",
|
|
4725
4729
|
size: "sm",
|
|
4726
4730
|
disabled: l(T).length === 0,
|
|
@@ -4755,7 +4759,7 @@ const ho = {
|
|
|
4755
4759
|
"legend-id": `${e.id}-checkboxes-legend`
|
|
4756
4760
|
}, {
|
|
4757
4761
|
default: G(() => [
|
|
4758
|
-
(u(!0), m($, null, ie(l(T), (M) => (u(),
|
|
4762
|
+
(u(!0), m($, null, ie(l(T), (M) => (u(), p(Ki, {
|
|
4759
4763
|
id: `${n(M, e.id)}-checkbox`,
|
|
4760
4764
|
key: `${n(M, e.id)}-fieldset`,
|
|
4761
4765
|
modelValue: o.value,
|
|
@@ -4776,7 +4780,7 @@ const ho = {
|
|
|
4776
4780
|
_: 1
|
|
4777
4781
|
}, 8, ["id", "legend", "legend-id"]),
|
|
4778
4782
|
l(T).length === 0 ? (u(), m("div", Bo, B(e.noResultLabel), 1)) : L("", !0)
|
|
4779
|
-
], 46,
|
|
4783
|
+
], 46, po)) : L("", !0);
|
|
4780
4784
|
};
|
|
4781
4785
|
}
|
|
4782
4786
|
}), Uo = /* @__PURE__ */ j(Wo, [["__scopeId", "data-v-f71505f2"]]), Vo = ["title"], Ho = ["for"], Zo = { class: "b2-light" }, Ro = {
|
|
@@ -4840,8 +4844,8 @@ const ho = {
|
|
|
4840
4844
|
}
|
|
4841
4845
|
function T(O) {
|
|
4842
4846
|
var h, M;
|
|
4843
|
-
const
|
|
4844
|
-
!((h = i.value) != null && h.$el.contains(
|
|
4847
|
+
const k = O.target;
|
|
4848
|
+
!((h = i.value) != null && h.$el.contains(k)) && !((M = c.value) != null && M.contains(k)) && w();
|
|
4845
4849
|
}
|
|
4846
4850
|
function N() {
|
|
4847
4851
|
r.value = !0, D.value = !0, document.addEventListener("click", T), document.addEventListener("keydown", E), setTimeout(() => {
|
|
@@ -4861,15 +4865,15 @@ const ho = {
|
|
|
4861
4865
|
}
|
|
4862
4866
|
function q(O) {
|
|
4863
4867
|
var h;
|
|
4864
|
-
const
|
|
4865
|
-
O.shiftKey &&
|
|
4868
|
+
const k = document.activeElement;
|
|
4869
|
+
O.shiftKey && k === ((h = i.value) == null ? void 0 : h.$el) && w();
|
|
4866
4870
|
}
|
|
4867
4871
|
function te(O) {
|
|
4868
4872
|
var h;
|
|
4869
|
-
const
|
|
4873
|
+
const k = ((h = e.options) == null ? void 0 : h.filter(
|
|
4870
4874
|
(M) => O.includes(M.value)
|
|
4871
4875
|
)) ?? [];
|
|
4872
|
-
a("update:modelValue",
|
|
4876
|
+
a("update:modelValue", k);
|
|
4873
4877
|
}
|
|
4874
4878
|
ve(() => {
|
|
4875
4879
|
Z();
|
|
@@ -4881,8 +4885,8 @@ const ho = {
|
|
|
4881
4885
|
]), H = y(() => ({
|
|
4882
4886
|
"--icon-path": `url(${Ie.MDI_KEYBOARD_ARROW_DOWN})`
|
|
4883
4887
|
}));
|
|
4884
|
-
return (O,
|
|
4885
|
-
const h = oe, M =
|
|
4888
|
+
return (O, k) => {
|
|
4889
|
+
const h = oe, M = pe;
|
|
4886
4890
|
return u(), m($, null, [
|
|
4887
4891
|
b("div", {
|
|
4888
4892
|
class: z(["av-select-group", { [`av-select-group--${l(s)}`]: l(o) }]),
|
|
@@ -4976,7 +4980,7 @@ const ho = {
|
|
|
4976
4980
|
"--icon-path": `url(${Ie.MDI_KEYBOARD_ARROW_DOWN})`
|
|
4977
4981
|
})), o = y(() => e.errorMessage || e.successMessage), s = y(() => e.errorMessage ? "error" : "success");
|
|
4978
4982
|
return (c, A) => {
|
|
4979
|
-
const d =
|
|
4983
|
+
const d = pe;
|
|
4980
4984
|
return u(), m("div", {
|
|
4981
4985
|
class: z({ "av-select--dense": e.dense })
|
|
4982
4986
|
}, [
|
|
@@ -5061,7 +5065,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5061
5065
|
v4357d543: l(n)
|
|
5062
5066
|
}));
|
|
5063
5067
|
const t = e, { translateValueFrom: a, translateValueTo: n } = es(gt(t, "asc"));
|
|
5064
|
-
return (i, r) => (u(),
|
|
5068
|
+
return (i, r) => (u(), p(xa, {
|
|
5065
5069
|
name: "slide-fade",
|
|
5066
5070
|
mode: "in-out"
|
|
5067
5071
|
}, {
|
|
@@ -5077,7 +5081,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5077
5081
|
}, [
|
|
5078
5082
|
P(i.$slots, "default", {}, void 0, !0)
|
|
5079
5083
|
], 10, ts), [
|
|
5080
|
-
[
|
|
5084
|
+
[pa, e.isVisible]
|
|
5081
5085
|
])
|
|
5082
5086
|
]),
|
|
5083
5087
|
_: 3
|
|
@@ -5095,7 +5099,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5095
5099
|
},
|
|
5096
5100
|
emits: ["click", "next", "previous", "first", "last"],
|
|
5097
5101
|
setup(e, { emit: t }) {
|
|
5098
|
-
const a = t, n = U(null), i =
|
|
5102
|
+
const a = t, n = U(null), i = ka("button"), r = y(() => e.isSelected ? "s2-bold" : "s2-regular"), o = {
|
|
5099
5103
|
ArrowRight: "next",
|
|
5100
5104
|
ArrowLeft: "previous",
|
|
5101
5105
|
Home: "first",
|
|
@@ -5142,7 +5146,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5142
5146
|
onClick: A[0] || (A[0] = ue((f) => c.$emit("click", e.tabId), ["prevent"])),
|
|
5143
5147
|
onKeydown: A[1] || (A[1] = (f) => s(f))
|
|
5144
5148
|
}), [
|
|
5145
|
-
e.icon ? (u(),
|
|
5149
|
+
e.icon ? (u(), p(d, {
|
|
5146
5150
|
key: 0,
|
|
5147
5151
|
name: e.icon,
|
|
5148
5152
|
size: 2
|
|
@@ -5154,7 +5158,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5154
5158
|
], 2);
|
|
5155
5159
|
};
|
|
5156
5160
|
}
|
|
5157
|
-
}), rs = /* @__PURE__ */ j(ls, [["__scopeId", "data-v-
|
|
5161
|
+
}), rs = /* @__PURE__ */ j(ls, [["__scopeId", "data-v-e92501ec"]]);
|
|
5158
5162
|
function os(e, t, a) {
|
|
5159
5163
|
const n = U({ "--tabs-height": "100px" });
|
|
5160
5164
|
function i() {
|
|
@@ -5182,7 +5186,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5182
5186
|
const t = fe(), a = y(() => {
|
|
5183
5187
|
var E;
|
|
5184
5188
|
return ((E = t.default) == null ? void 0 : E.call(t)) || [];
|
|
5185
|
-
}), n =
|
|
5189
|
+
}), n = Le(e, "modelValue"), i = U(!1), r = U(null), o = U(null), s = ut({}), { tabsStyle: c, updateTabsStyle: A } = os(
|
|
5186
5190
|
o,
|
|
5187
5191
|
y(() => {
|
|
5188
5192
|
var E;
|
|
@@ -5248,7 +5252,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5248
5252
|
}, [
|
|
5249
5253
|
(u(!0), m($, null, ie(l(a), (N, w) => {
|
|
5250
5254
|
var V, Z;
|
|
5251
|
-
return u(),
|
|
5255
|
+
return u(), p(rs, {
|
|
5252
5256
|
key: w,
|
|
5253
5257
|
"tab-id": d(w),
|
|
5254
5258
|
"panel-id": `${d(w)}-panel`,
|
|
@@ -5264,7 +5268,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5264
5268
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
5265
5269
|
}), 128))
|
|
5266
5270
|
], 10, ss),
|
|
5267
|
-
(u(!0), m($, null, ie(l(a), (N, w) => (u(),
|
|
5271
|
+
(u(!0), m($, null, ie(l(a), (N, w) => (u(), p(ns, {
|
|
5268
5272
|
key: w,
|
|
5269
5273
|
"panel-id": `${d(w)}-panel`,
|
|
5270
5274
|
"tab-id": d(w),
|
|
@@ -5272,13 +5276,13 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5272
5276
|
asc: l(i)
|
|
5273
5277
|
}, {
|
|
5274
5278
|
default: G(() => [
|
|
5275
|
-
(u(),
|
|
5279
|
+
(u(), p(Me(N.children.default)))
|
|
5276
5280
|
]),
|
|
5277
5281
|
_: 2
|
|
5278
5282
|
}, 1032, ["panel-id", "tab-id", "is-visible", "asc"]))), 128))
|
|
5279
5283
|
], 6));
|
|
5280
5284
|
}
|
|
5281
|
-
}),
|
|
5285
|
+
}), pA = /* @__PURE__ */ j(cs, [["__scopeId", "data-v-3881373e"]]), As = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", us = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", ds = ["id", "for"], fs = {
|
|
5282
5286
|
width: "34",
|
|
5283
5287
|
height: "14"
|
|
5284
5288
|
}, vs = ["href"], Is = {
|
|
@@ -5339,7 +5343,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5339
5343
|
}, null, 40, bs)
|
|
5340
5344
|
], 64));
|
|
5341
5345
|
}
|
|
5342
|
-
}),
|
|
5346
|
+
}), kA = /* @__PURE__ */ j(hs, [["__scopeId", "data-v-bc5c5235"]]), ys = { class: "av-cancel-confirm-buttons-container" }, Cs = /* @__PURE__ */ Q({
|
|
5343
5347
|
__name: "AvCancelConfirmButtons",
|
|
5344
5348
|
props: {
|
|
5345
5349
|
cancelLabel: {},
|
|
@@ -5356,7 +5360,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5356
5360
|
setup(e, { emit: t }) {
|
|
5357
5361
|
const a = t;
|
|
5358
5362
|
return (n, i) => (u(), m("div", ys, [
|
|
5359
|
-
e.cancelLabel ? (u(),
|
|
5363
|
+
e.cancelLabel ? (u(), p(l(oe), {
|
|
5360
5364
|
key: 0,
|
|
5361
5365
|
icon: e.cancelIcon,
|
|
5362
5366
|
label: e.cancelLabel,
|
|
@@ -5367,7 +5371,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5367
5371
|
small: "",
|
|
5368
5372
|
onClick: i[0] || (i[0] = (r) => a("cancel"))
|
|
5369
5373
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : L("", !0),
|
|
5370
|
-
e.confirmLabel ? (u(),
|
|
5374
|
+
e.confirmLabel ? (u(), p(l(oe), {
|
|
5371
5375
|
key: 1,
|
|
5372
5376
|
icon: e.confirmIcon,
|
|
5373
5377
|
label: e.confirmLabel,
|
|
@@ -5400,11 +5404,11 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5400
5404
|
W(oe, {
|
|
5401
5405
|
icon: r.icon,
|
|
5402
5406
|
label: r.label ?? "",
|
|
5403
|
-
|
|
5407
|
+
onClick: (s) => {
|
|
5404
5408
|
var c;
|
|
5405
5409
|
a("linkClick", s), (c = r.onClick) == null || c.call(r, s);
|
|
5406
5410
|
}
|
|
5407
|
-
}, null, 8, ["icon", "label", "
|
|
5411
|
+
}, null, 8, ["icon", "label", "onClick"])
|
|
5408
5412
|
]))), 128))
|
|
5409
5413
|
])
|
|
5410
5414
|
], 8, Ms));
|
|
@@ -5449,7 +5453,7 @@ function Ds(e, t) {
|
|
|
5449
5453
|
const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
5450
5454
|
role: "banner",
|
|
5451
5455
|
class: "av-header"
|
|
5452
|
-
}, Os = { class: "av-header__body" }, Ss = { class: "av-container" }, Qs = { class: "av-header__body-row" }, xs = { class: "av-header__brand" },
|
|
5456
|
+
}, Os = { class: "av-header__body" }, Ss = { class: "av-container" }, Qs = { class: "av-header__body-row" }, xs = { class: "av-header__brand" }, ps = { class: "av-header__brand-top" }, ks = { class: "av-header__logo av-enlarge-link" }, js = {
|
|
5453
5457
|
key: 0,
|
|
5454
5458
|
class: "av-header__navbar"
|
|
5455
5459
|
}, zs = {
|
|
@@ -5518,8 +5522,8 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5518
5522
|
b("div", Ss, [
|
|
5519
5523
|
b("div", Qs, [
|
|
5520
5524
|
b("div", xs, [
|
|
5521
|
-
b("div",
|
|
5522
|
-
b("div",
|
|
5525
|
+
b("div", ps, [
|
|
5526
|
+
b("div", ks, [
|
|
5523
5527
|
W(T, {
|
|
5524
5528
|
to: e.homeTo,
|
|
5525
5529
|
title: l(v)
|
|
@@ -5531,7 +5535,7 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5531
5535
|
}, 8, ["to", "title"])
|
|
5532
5536
|
]),
|
|
5533
5537
|
e.showSearch || l(g) || (Z = e.quickLinks) != null && Z.length ? (u(), m("div", js, [
|
|
5534
|
-
e.showSearch ? (u(),
|
|
5538
|
+
e.showSearch ? (u(), p(N, {
|
|
5535
5539
|
key: 0,
|
|
5536
5540
|
class: "search-button",
|
|
5537
5541
|
label: e.showSearchLabel,
|
|
@@ -5542,7 +5546,7 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5542
5546
|
"icon-only": "",
|
|
5543
5547
|
onClick: E[0] || (E[0] = ue((x) => C(), ["prevent", "stop"]))
|
|
5544
5548
|
}, null, 8, ["label", "aria-label", "title", "icon"])) : L("", !0),
|
|
5545
|
-
l(g) || (q = e.quickLinks) != null && q.length ? (u(),
|
|
5549
|
+
l(g) || (q = e.quickLinks) != null && q.length ? (u(), p(N, {
|
|
5546
5550
|
key: 1,
|
|
5547
5551
|
id: "button-menu",
|
|
5548
5552
|
variant: "OUTLINED",
|
|
@@ -5566,13 +5570,13 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5566
5570
|
b("div", Ps, [
|
|
5567
5571
|
b("div", Ws, [
|
|
5568
5572
|
P(D.$slots, "before-quick-links", {}, void 0, !0),
|
|
5569
|
-
!l(o) && ((te = e.quickLinks) != null && te.length) ? (u(),
|
|
5573
|
+
!l(o) && ((te = e.quickLinks) != null && te.length) ? (u(), p(Xt, {
|
|
5570
5574
|
key: 0,
|
|
5571
5575
|
links: e.quickLinks,
|
|
5572
5576
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
5573
5577
|
}, null, 8, ["links", "nav-aria-label"])) : L("", !0),
|
|
5574
5578
|
P(D.$slots, "after-quick-links", {}, void 0, !0),
|
|
5575
|
-
l(r) ? (u(),
|
|
5579
|
+
l(r) ? (u(), p(pt, ee({ key: 1 }, l(r), {
|
|
5576
5580
|
onSelect: E[2] || (E[2] = (x) => a("languageSelect", x))
|
|
5577
5581
|
}), null, 16)) : L("", !0)
|
|
5578
5582
|
]),
|
|
@@ -5597,7 +5601,7 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5597
5601
|
P(D.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
5598
5602
|
])) : L("", !0)
|
|
5599
5603
|
]),
|
|
5600
|
-
l(i) && (e.showSearch || l(g) || e.quickLinks && e.quickLinks.length || l(r)) ? (u(),
|
|
5604
|
+
l(i) && (e.showSearch || l(g) || e.quickLinks && e.quickLinks.length || l(r)) ? (u(), p(V, {
|
|
5601
5605
|
key: 0,
|
|
5602
5606
|
id: "header-navigation",
|
|
5603
5607
|
show: l(c),
|
|
@@ -5620,11 +5624,11 @@ const Ls = /* @__PURE__ */ j(Ns, [["render", Ds]]), ws = {
|
|
|
5620
5624
|
]),
|
|
5621
5625
|
b("div", Rs, [
|
|
5622
5626
|
b("div", Xs, [
|
|
5623
|
-
l(r) ? (u(),
|
|
5627
|
+
l(r) ? (u(), p(pt, ee({ key: 0 }, l(r), {
|
|
5624
5628
|
onSelect: E[5] || (E[5] = (x) => l(r).currentLanguage = x.codeIso)
|
|
5625
5629
|
}), null, 16)) : L("", !0),
|
|
5626
5630
|
P(D.$slots, "before-quick-links", {}, void 0, !0),
|
|
5627
|
-
l(o) ? (u(),
|
|
5631
|
+
l(o) ? (u(), p(Xt, {
|
|
5628
5632
|
key: 1,
|
|
5629
5633
|
role: "navigation",
|
|
5630
5634
|
links: e.quickLinks,
|
|
@@ -5721,7 +5725,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5721
5725
|
class: "av-breadcrumb",
|
|
5722
5726
|
"aria-label": e.navigationLabel
|
|
5723
5727
|
}, [
|
|
5724
|
-
l(c) ? L("", !0) : (u(),
|
|
5728
|
+
l(c) ? L("", !0) : (u(), p(f, {
|
|
5725
5729
|
key: 0,
|
|
5726
5730
|
class: "av-breadcrumb__button",
|
|
5727
5731
|
label: e.showBreadcrumbLabel,
|
|
@@ -5745,14 +5749,14 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5745
5749
|
class: "av-breadcrumb__item",
|
|
5746
5750
|
style: ce(l(s))
|
|
5747
5751
|
}, [
|
|
5748
|
-
I.to ? (u(),
|
|
5752
|
+
I.to ? (u(), p(C, {
|
|
5749
5753
|
key: 0,
|
|
5750
5754
|
class: "b2-regular av-breadcrumb__link",
|
|
5751
5755
|
to: I.to,
|
|
5752
5756
|
"aria-current": v === e.links.length - 1 ? "page" : void 0
|
|
5753
5757
|
}, {
|
|
5754
5758
|
default: G(() => [
|
|
5755
|
-
|
|
5759
|
+
De(B(I.text), 1)
|
|
5756
5760
|
]),
|
|
5757
5761
|
_: 2
|
|
5758
5762
|
}, 1032, ["to", "aria-current"])) : L("", !0),
|
|
@@ -5829,7 +5833,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5829
5833
|
})
|
|
5830
5834
|
}, [
|
|
5831
5835
|
b("span", uc, B(e.text), 1)
|
|
5832
|
-
], 10, Ac)) : (u(),
|
|
5836
|
+
], 10, Ac)) : (u(), p(A, {
|
|
5833
5837
|
key: 1,
|
|
5834
5838
|
class: "av-nav__link",
|
|
5835
5839
|
"data-testid": "nav-router-link",
|
|
@@ -5840,7 +5844,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5840
5844
|
})
|
|
5841
5845
|
}, {
|
|
5842
5846
|
default: G(() => [
|
|
5843
|
-
e.icon ? (u(),
|
|
5847
|
+
e.icon ? (u(), p(c, {
|
|
5844
5848
|
key: 0,
|
|
5845
5849
|
name: e.icon,
|
|
5846
5850
|
size: 1.5
|
|
@@ -5895,7 +5899,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5895
5899
|
onTransitionend: d[2] || (d[2] = (f) => l(r)(l(s)))
|
|
5896
5900
|
}, [
|
|
5897
5901
|
b("ul", mc, [
|
|
5898
|
-
(u(!0), m($, null, ie(e.links, (f, C) => (u(),
|
|
5902
|
+
(u(!0), m($, null, ie(e.links, (f, C) => (u(), p(cc, { key: C }, {
|
|
5899
5903
|
default: G(() => [
|
|
5900
5904
|
W(Na, ee({ ref_for: !0 }, f, {
|
|
5901
5905
|
onToggleId: d[1] || (d[1] = (I) => A.$emit("toggleId", e.expandedId))
|
|
@@ -5953,15 +5957,15 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5953
5957
|
"aria-label": e.label
|
|
5954
5958
|
}, [
|
|
5955
5959
|
b("ul", Cc, [
|
|
5956
|
-
(u(!0), m($, null, ie(e.navItems, (A, d) => (u(),
|
|
5960
|
+
(u(!0), m($, null, ie(e.navItems, (A, d) => (u(), p(rc, { key: d }, {
|
|
5957
5961
|
default: G(() => [
|
|
5958
|
-
A.to && A.text ? (u(),
|
|
5962
|
+
A.to && A.text ? (u(), p(Na, ee({
|
|
5959
5963
|
key: 0,
|
|
5960
5964
|
ref_for: !0
|
|
5961
5965
|
}, A, {
|
|
5962
5966
|
"active-id": l(a),
|
|
5963
5967
|
onToggleId: c[0] || (c[0] = (f) => n(f))
|
|
5964
|
-
}), null, 16, ["active-id"])) : A.title && A.links ? (u(),
|
|
5968
|
+
}), null, 16, ["active-id"])) : A.title && A.links ? (u(), p(bc, ee({
|
|
5965
5969
|
key: 1,
|
|
5966
5970
|
ref_for: !0
|
|
5967
5971
|
}, A, {
|
|
@@ -5978,7 +5982,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5978
5982
|
}), Mc = ["aria-label"], Ec = { class: "av-pagination__list" }, Nc = { key: 0 }, Tc = { class: "b2-regular" }, Dc = ["href", "title", "aria-disabled"], Lc = { class: "av-sr-only" }, wc = ["href", "title", "aria-disabled"], Oc = {
|
|
5979
5983
|
key: 0,
|
|
5980
5984
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
5981
|
-
}, Sc = ["href", "title", "aria-current", "onClick"], Qc = { key: 0 }, xc = { key: 1 },
|
|
5985
|
+
}, Sc = ["href", "title", "aria-current", "onClick"], Qc = { key: 0 }, xc = { key: 1 }, pc = ["href", "title", "disabled", "aria-disabled"], kc = {
|
|
5982
5986
|
key: 0,
|
|
5983
5987
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
5984
5988
|
}, jc = ["href", "title", "disabled", "aria-disabled"], zc = { class: "av-sr-only" }, Bc = /* @__PURE__ */ Q({
|
|
@@ -6049,7 +6053,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6049
6053
|
onClick: ue((V) => s(e.pages.indexOf(N)), ["prevent"])
|
|
6050
6054
|
}, [
|
|
6051
6055
|
l(r).indexOf(N) === 0 && l(n) > 0 ? (u(), m("span", Qc, "...")) : L("", !0),
|
|
6052
|
-
|
|
6056
|
+
De(" " + B(N.label) + " ", 1),
|
|
6053
6057
|
l(r).indexOf(N) === l(r).length - 1 && l(i) < e.pages.length - 1 ? (u(), m("span", xc, "...")) : L("", !0)
|
|
6054
6058
|
], 8, Sc)
|
|
6055
6059
|
]))), 128)),
|
|
@@ -6062,12 +6066,12 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6062
6066
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6063
6067
|
onClick: v[2] || (v[2] = ue((N) => d(), ["prevent"]))
|
|
6064
6068
|
}, [
|
|
6065
|
-
e.compact ? L("", !0) : (u(), m("span",
|
|
6069
|
+
e.compact ? L("", !0) : (u(), m("span", kc, B(e.nextPageLabel), 1)),
|
|
6066
6070
|
W(ne, {
|
|
6067
6071
|
name: l(R).NAVIGATE_NEXT,
|
|
6068
6072
|
size: 1.5
|
|
6069
6073
|
}, null, 8, ["name"])
|
|
6070
|
-
], 8,
|
|
6074
|
+
], 8, pc)
|
|
6071
6075
|
]),
|
|
6072
6076
|
b("li", null, [
|
|
6073
6077
|
e.compact ? L("", !0) : (u(), m("a", {
|
|
@@ -6090,7 +6094,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6090
6094
|
], 8, Mc);
|
|
6091
6095
|
};
|
|
6092
6096
|
}
|
|
6093
|
-
}), WA = /* @__PURE__ */ j(Bc, [["__scopeId", "data-v-
|
|
6097
|
+
}), WA = /* @__PURE__ */ j(Bc, [["__scopeId", "data-v-3cc7cb33"]]);
|
|
6094
6098
|
function UA(e) {
|
|
6095
6099
|
return Array.from({ length: e.value }, (t, a) => {
|
|
6096
6100
|
const n = a + 1;
|
|
@@ -6123,7 +6127,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6123
6127
|
v4d5b7c17: l(c),
|
|
6124
6128
|
v4a813d87: d.padding
|
|
6125
6129
|
}));
|
|
6126
|
-
const t = e, a =
|
|
6130
|
+
const t = e, a = Le(e, "collapsed"), { width: n, collapsedWidth: i } = Yt(t), r = y(() => t.id ?? crypto.randomUUID()), o = y(() => `${r.value} navigation`), s = y({
|
|
6127
6131
|
get: () => t.collapsible ? a.value : !1,
|
|
6128
6132
|
set: (d) => {
|
|
6129
6133
|
t.collapsible && (a.value = d);
|
|
@@ -6171,11 +6175,11 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6171
6175
|
}),
|
|
6172
6176
|
emits: /* @__PURE__ */ ge(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
6173
6177
|
setup(e) {
|
|
6174
|
-
const t =
|
|
6178
|
+
const t = Le(e, "selectedItem"), a = Le(e, "isSideMenuCollapsed");
|
|
6175
6179
|
function n(i) {
|
|
6176
6180
|
t.value = i;
|
|
6177
6181
|
}
|
|
6178
|
-
return (i, r) => (u(),
|
|
6182
|
+
return (i, r) => (u(), p(Hc, {
|
|
6179
6183
|
collapsed: a.value,
|
|
6180
6184
|
"onUpdate:collapsed": r[0] || (r[0] = (o) => a.value = o),
|
|
6181
6185
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -6187,7 +6191,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6187
6191
|
role: "menu"
|
|
6188
6192
|
}, {
|
|
6189
6193
|
default: G(() => [
|
|
6190
|
-
(u(!0), m($, null, ie(e.items, (o) => (u(),
|
|
6194
|
+
(u(!0), m($, null, ie(e.items, (o) => (u(), p(l(ma), {
|
|
6191
6195
|
key: o.id,
|
|
6192
6196
|
title: a.value ? void 0 : o.label,
|
|
6193
6197
|
icon: o.icon,
|
|
@@ -6297,7 +6301,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6297
6301
|
v553324d8: f.width,
|
|
6298
6302
|
d4f07f42: f.padding
|
|
6299
6303
|
}));
|
|
6300
|
-
const a = U(null), n = U(null), { showPopover: i, popoverPosition: r, togglePopover: o, closePopover: s } = Jc(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } =
|
|
6304
|
+
const a = U(null), n = U(null), { showPopover: i, popoverPosition: r, togglePopover: o, closePopover: s } = Jc(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } = pi(n, s);
|
|
6301
6305
|
function d(f) {
|
|
6302
6306
|
if (!f) {
|
|
6303
6307
|
a.value = null;
|
|
@@ -6321,7 +6325,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6321
6325
|
}, [
|
|
6322
6326
|
P(f.$slots, "trigger", { toggle: l(o) }, void 0, !0)
|
|
6323
6327
|
]),
|
|
6324
|
-
(u(),
|
|
6328
|
+
(u(), p(Ft, { to: "body" }, [
|
|
6325
6329
|
l(i) ? (u(), m("div", {
|
|
6326
6330
|
key: 0,
|
|
6327
6331
|
ref_key: "popoverRef",
|
|
@@ -6361,7 +6365,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6361
6365
|
function n(i, r) {
|
|
6362
6366
|
a("itemSelected", i), r();
|
|
6363
6367
|
}
|
|
6364
|
-
return (i, r) => (u(),
|
|
6368
|
+
return (i, r) => (u(), p(eA, {
|
|
6365
6369
|
width: e.width,
|
|
6366
6370
|
padding: e.padding
|
|
6367
6371
|
}, {
|
|
@@ -6377,7 +6381,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6377
6381
|
]),
|
|
6378
6382
|
popover: G(({ close: o }) => [
|
|
6379
6383
|
b("div", tA, [
|
|
6380
|
-
(u(!0), m($, null, ie(e.items, (s) => (u(),
|
|
6384
|
+
(u(!0), m($, null, ie(e.items, (s) => (u(), p(oe, {
|
|
6381
6385
|
key: s.name,
|
|
6382
6386
|
class: "av-dropdown__menu-item",
|
|
6383
6387
|
icon: s.icon,
|
|
@@ -6526,8 +6530,8 @@ const nA = {
|
|
|
6526
6530
|
c(!1);
|
|
6527
6531
|
}), (A, d) => {
|
|
6528
6532
|
const f = Ma;
|
|
6529
|
-
return u(),
|
|
6530
|
-
e.opened ? (u(),
|
|
6533
|
+
return u(), p(Ft, { to: "body" }, [
|
|
6534
|
+
e.opened ? (u(), p(l(iA), { key: 0 }, {
|
|
6531
6535
|
default: G(() => [
|
|
6532
6536
|
b("dialog", {
|
|
6533
6537
|
id: l(i),
|
|
@@ -6576,7 +6580,7 @@ const nA = {
|
|
|
6576
6580
|
]);
|
|
6577
6581
|
};
|
|
6578
6582
|
}
|
|
6579
|
-
}), RA = /* @__PURE__ */ j(dA, [["__scopeId", "data-v-
|
|
6583
|
+
}), RA = /* @__PURE__ */ j(dA, [["__scopeId", "data-v-ee582c9f"]]);
|
|
6580
6584
|
export {
|
|
6581
6585
|
ai as AV_BREAKPOINTS,
|
|
6582
6586
|
CA as AvAccordion,
|
|
@@ -6600,7 +6604,7 @@ export {
|
|
|
6600
6604
|
ne as AvIcon,
|
|
6601
6605
|
Ra as AvIconText,
|
|
6602
6606
|
Nt as AvInput,
|
|
6603
|
-
|
|
6607
|
+
pt as AvLanguageSelector,
|
|
6604
6608
|
Ia as AvList,
|
|
6605
6609
|
ma as AvListItem,
|
|
6606
6610
|
Ls as AvLogo,
|
|
@@ -6620,12 +6624,12 @@ export {
|
|
|
6620
6624
|
VA as AvSideNavigation,
|
|
6621
6625
|
HA as AvStepper,
|
|
6622
6626
|
xA as AvTab,
|
|
6623
|
-
|
|
6627
|
+
pA as AvTabs,
|
|
6624
6628
|
Ha as AvTag,
|
|
6625
6629
|
Wr as AvTagPicker,
|
|
6626
6630
|
yA as AvToaster,
|
|
6627
|
-
|
|
6628
|
-
|
|
6631
|
+
kA as AvToggle,
|
|
6632
|
+
Qe as DropdownState,
|
|
6629
6633
|
zA as EsupLogo,
|
|
6630
6634
|
Ie as ICONS_DATA_URL,
|
|
6631
6635
|
R as MDI_ICONS,
|
|
@@ -6640,6 +6644,6 @@ export {
|
|
|
6640
6644
|
en as toSentenceCase,
|
|
6641
6645
|
nt as useAvBreakpoints,
|
|
6642
6646
|
Re as useCollapsable,
|
|
6643
|
-
|
|
6647
|
+
pi as useFocusTrap,
|
|
6644
6648
|
EA as useGlobalBackgroundColor
|
|
6645
6649
|
};
|