@avenirs-esr/avenirs-dsav 0.1.105 → 0.1.107
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/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +3 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +164 -161
- package/dist/tokens/icons.d.ts +3 -0
- package/package.json +1 -1
- package/src/styles/components/_icons.scss +3 -0
- package/src/styles/core/_typography.scss +65 -1
- package/src/styles/utilities/_spacing.scss +41 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, useCssVars as se, computed as g, createElementBlock as I, openBlock as u, normalizeStyle as ce, normalizeClass as z, unref as r, createElementVNode as b, toDisplayString as P, createPropsRestProxy as za, createBlock as x, resolveDynamicComponent as he, mergeProps as _, withCtx as G, createCommentVNode as L, createVNode as H, Fragment as $, renderList as ie, useSlots as ve, createTextVNode as Le, renderSlot as U, ref as V, normalizeProps as ja, withDirectives as Ct, vShow as _t, TransitionGroup as Ba, toRefs as ea, watch as re, onBeforeUnmount as Mt, inject as lt, toRef as ta, onMounted as fe, provide as Et, onUnmounted as me, nextTick as rt, getCurrentScope as Pa, onScopeDispose as Wa, getCurrentInstance as Nt, hasInjectionContext as Tt, isRef as Dt, toValue as le, shallowRef as Ee, reactive as It, watchEffect as Ua, withModifiers as ue, mergeModels as be, useModel as
|
|
1
|
+
import { defineComponent as k, useCssVars as se, computed as g, createElementBlock as I, openBlock as u, normalizeStyle as ce, normalizeClass as z, unref as r, createElementVNode as b, toDisplayString as P, createPropsRestProxy as za, createBlock as x, resolveDynamicComponent as he, mergeProps as _, withCtx as G, createCommentVNode as L, createVNode as H, Fragment as $, renderList as ie, useSlots as ve, createTextVNode as Le, renderSlot as U, ref as V, normalizeProps as ja, withDirectives as Ct, vShow as _t, TransitionGroup as Ba, toRefs as ea, watch as re, onBeforeUnmount as Mt, inject as lt, toRef as ta, onMounted as fe, provide as Et, onUnmounted as me, nextTick as rt, getCurrentScope as Pa, onScopeDispose as Wa, getCurrentInstance as Nt, hasInjectionContext as Tt, isRef as Dt, toValue as le, shallowRef as Ee, reactive as It, watchEffect as Ua, withModifiers as ue, mergeModels as be, useModel as Oe, vModelCheckbox as Ha, useAttrs as Va, withKeys as Ae, createSlots as Je, useTemplateRef as Ra, resolveComponent as Lt, Teleport as aa, Comment as Za, cloneVNode as Ya } from "vue";
|
|
2
2
|
import { r as na } from "./injection-key.es.js";
|
|
3
3
|
const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -13,9 +13,9 @@ const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
|
13
13
|
},
|
|
14
14
|
setup(e) {
|
|
15
15
|
se((i) => ({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
v60a37574: i.color,
|
|
17
|
+
v43734cf8: i.backgroundColor,
|
|
18
|
+
v4241338c: i.borderColor
|
|
19
19
|
}));
|
|
20
20
|
const t = g(() => {
|
|
21
21
|
var i, l;
|
|
@@ -44,7 +44,7 @@ const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
|
44
44
|
for (const [n, i] of t)
|
|
45
45
|
a[n] = i;
|
|
46
46
|
return a;
|
|
47
|
-
}, YA = /* @__PURE__ */ j(qa, [["__scopeId", "data-v-
|
|
47
|
+
}, YA = /* @__PURE__ */ j(qa, [["__scopeId", "data-v-a31125c5"]]), Fa = ["title"], Ka = /* @__PURE__ */ k({
|
|
48
48
|
__name: "AvIcon",
|
|
49
49
|
props: {
|
|
50
50
|
size: { default: 1 },
|
|
@@ -100,6 +100,7 @@ const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
|
100
100
|
BACKUP_RESTORE: "mdi:backup-restore",
|
|
101
101
|
BELL_NOTIFICATION: "mdi:bell-notification",
|
|
102
102
|
BOOK_LOCATION_OUTLINE: "mdi:book-location-outline",
|
|
103
|
+
BOOK_OPEN_VARIANT: "mdi:book-open-variant",
|
|
103
104
|
BRIEFCASE_VARIANT_OUTLINE: "mdi:briefcase-variant-outline",
|
|
104
105
|
BUILDING: "mdi:building",
|
|
105
106
|
CALENDAR_BLANK_OUTLINE: "mdi:calendar-blank-outline",
|
|
@@ -113,6 +114,7 @@ const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
|
113
114
|
CHECK: "mdi:check",
|
|
114
115
|
CHECK_CIRCLE: "mdi:check-circle",
|
|
115
116
|
CHECK_CIRCLE_OUTLINE: "mdi:check-circle-outline",
|
|
117
|
+
CHECK_DECAGRAM_OUTLINE: "mdi:check-decagram-outline",
|
|
116
118
|
CHECKBOX_BLANK_OUTLINE: "mdi:checkbox-blank-outline",
|
|
117
119
|
CHECKBOX_MARKED: "mdi:checkbox-marked",
|
|
118
120
|
CHEVRON_DOUBLE_LEFT: "mdi:chevron-double-left",
|
|
@@ -140,6 +142,7 @@ const Xa = ["title"], qa = /* @__PURE__ */ k({
|
|
|
140
142
|
FILE_RESTORE_OUTLINE: "mdi:file-restore-outline",
|
|
141
143
|
FILE_TREE_OUTLINE: "mdi:file-tree-outline",
|
|
142
144
|
FLAG_VARIANT: "mdi:flag-variant",
|
|
145
|
+
FLARE: "mdi:flare",
|
|
143
146
|
FORMAT_LIST_BULLETED: "mdi:format-list-bulleted",
|
|
144
147
|
HAMBURGER_MENU: "mdi:hamburger-menu",
|
|
145
148
|
HISTORY: "mdi:history",
|
|
@@ -600,7 +603,7 @@ const In = ["title", "disabled", "aria-disabled", "aria-label"], gn = /* @__PURE
|
|
|
600
603
|
}), KA = /* @__PURE__ */ j(Cn, [["__scopeId", "data-v-61673ac5"]]), Mn = ["id", "role"], En = { class: "av-alert__container" }, Nn = { class: "av-alert__content" }, Tn = { class: "av-alert__title" }, Dn = {
|
|
601
604
|
key: 0,
|
|
602
605
|
class: "s2-bold"
|
|
603
|
-
}, Ln = { class: "b1-regular" },
|
|
606
|
+
}, Ln = { class: "b1-regular" }, On = /* @__PURE__ */ k({
|
|
604
607
|
__name: "AvAlert",
|
|
605
608
|
props: {
|
|
606
609
|
alert: { type: Boolean, default: !1 },
|
|
@@ -662,7 +665,7 @@ const In = ["title", "disabled", "aria-disabled", "aria-label"], gn = /* @__PURE
|
|
|
662
665
|
])
|
|
663
666
|
], 10, Mn));
|
|
664
667
|
}
|
|
665
|
-
}),
|
|
668
|
+
}), wn = /* @__PURE__ */ j(On, [["__scopeId", "data-v-f32d9c3d"]]), Sn = { class: "toaster-container" }, kn = /* @__PURE__ */ k({
|
|
666
669
|
__name: "AvToaster",
|
|
667
670
|
props: {
|
|
668
671
|
messages: {},
|
|
@@ -693,7 +696,7 @@ const In = ["title", "disabled", "aria-disabled", "aria-label"], gn = /* @__PURE
|
|
|
693
696
|
class: "toasters"
|
|
694
697
|
}, {
|
|
695
698
|
default: G(() => [
|
|
696
|
-
(u(!0), I($, null, ie(e.messages, (l) => (u(), x(
|
|
699
|
+
(u(!0), I($, null, ie(e.messages, (l) => (u(), x(wn, _({
|
|
697
700
|
key: l.id,
|
|
698
701
|
class: ["av-toaster", t(l.type)]
|
|
699
702
|
}, { ref_for: !0 }, l, {
|
|
@@ -987,7 +990,7 @@ function ri(e, t, a) {
|
|
|
987
990
|
);
|
|
988
991
|
}
|
|
989
992
|
const Fe = Gn ? window : void 0;
|
|
990
|
-
function
|
|
993
|
+
function Ot(e) {
|
|
991
994
|
var t;
|
|
992
995
|
const a = le(e);
|
|
993
996
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
@@ -1002,7 +1005,7 @@ function gt(...e) {
|
|
|
1002
1005
|
() => {
|
|
1003
1006
|
var s, c;
|
|
1004
1007
|
return [
|
|
1005
|
-
(c = (s = i.value) == null ? void 0 : s.map((A) =>
|
|
1008
|
+
(c = (s = i.value) == null ? void 0 : s.map((A) => Ot(A))) != null ? c : [Fe].filter((A) => A != null),
|
|
1006
1009
|
$e(le(i.value ? e[1] : e[0])),
|
|
1007
1010
|
$e(r(i.value ? e[2] : e[1])),
|
|
1008
1011
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -1045,7 +1048,7 @@ function si(e, t, a = {}) {
|
|
|
1045
1048
|
const o = /* @__PURE__ */ ca(() => n && "MutationObserver" in n), s = () => {
|
|
1046
1049
|
l && (l.disconnect(), l = void 0);
|
|
1047
1050
|
}, c = g(() => {
|
|
1048
|
-
const C = le(e), m = $e(C).map(
|
|
1051
|
+
const C = le(e), m = $e(C).map(Ot).filter(Jn);
|
|
1049
1052
|
return new Set(m);
|
|
1050
1053
|
}), A = re(
|
|
1051
1054
|
c,
|
|
@@ -1183,14 +1186,14 @@ function ui(e, t = {}) {
|
|
|
1183
1186
|
}
|
|
1184
1187
|
});
|
|
1185
1188
|
function T(p, R) {
|
|
1186
|
-
var
|
|
1189
|
+
var O, Q, h, M;
|
|
1187
1190
|
if (!d)
|
|
1188
1191
|
return;
|
|
1189
1192
|
const S = le(e);
|
|
1190
1193
|
if (!S)
|
|
1191
1194
|
return;
|
|
1192
1195
|
(h = S instanceof Document ? d.document.body : S) == null || h.scrollTo({
|
|
1193
|
-
top: (
|
|
1196
|
+
top: (O = le(R)) != null ? O : E.value,
|
|
1194
1197
|
left: (Q = le(p)) != null ? Q : y.value,
|
|
1195
1198
|
behavior: le(A)
|
|
1196
1199
|
});
|
|
@@ -1202,31 +1205,31 @@ function ui(e, t = {}) {
|
|
|
1202
1205
|
right: !1,
|
|
1203
1206
|
top: !0,
|
|
1204
1207
|
bottom: !1
|
|
1205
|
-
}),
|
|
1208
|
+
}), w = It({
|
|
1206
1209
|
left: !1,
|
|
1207
1210
|
right: !1,
|
|
1208
1211
|
top: !1,
|
|
1209
1212
|
bottom: !1
|
|
1210
1213
|
}), B = (p) => {
|
|
1211
|
-
D.value && (D.value = !1,
|
|
1214
|
+
D.value && (D.value = !1, w.left = !1, w.right = !1, w.top = !1, w.bottom = !1, i(p));
|
|
1212
1215
|
}, Z = /* @__PURE__ */ ii(B, a + n), F = (p) => {
|
|
1213
1216
|
var R;
|
|
1214
1217
|
if (!d)
|
|
1215
1218
|
return;
|
|
1216
|
-
const
|
|
1217
|
-
|
|
1218
|
-
const q = Math.abs(X * S) <= (o.left || 0), J = Math.abs(X * S) +
|
|
1219
|
+
const O = ((R = p == null ? void 0 : p.document) == null ? void 0 : R.documentElement) || (p == null ? void 0 : p.documentElement) || Ot(p), { display: Q, flexDirection: h, direction: M } = getComputedStyle(O), S = M === "rtl" ? -1 : 1, X = O.scrollLeft;
|
|
1220
|
+
w.left = X < m.value, w.right = X > m.value;
|
|
1221
|
+
const q = Math.abs(X * S) <= (o.left || 0), J = Math.abs(X * S) + O.clientWidth >= O.scrollWidth - (o.right || 0) - xt;
|
|
1219
1222
|
Q === "flex" && h === "row-reverse" ? (N.left = J, N.right = q) : (N.left = q, N.right = J), m.value = X;
|
|
1220
|
-
let Y =
|
|
1221
|
-
p === d.document && !Y && (Y = d.document.body.scrollTop),
|
|
1222
|
-
const ee = Math.abs(Y) <= (o.top || 0), ae = Math.abs(Y) +
|
|
1223
|
+
let Y = O.scrollTop;
|
|
1224
|
+
p === d.document && !Y && (Y = d.document.body.scrollTop), w.top = Y < v.value, w.bottom = Y > v.value;
|
|
1225
|
+
const ee = Math.abs(Y) <= (o.top || 0), ae = Math.abs(Y) + O.clientHeight >= O.scrollHeight - (o.bottom || 0) - xt;
|
|
1223
1226
|
Q === "flex" && h === "column-reverse" ? (N.top = ae, N.bottom = ee) : (N.top = ee, N.bottom = ae), v.value = Y;
|
|
1224
1227
|
}, te = (p) => {
|
|
1225
1228
|
var R;
|
|
1226
1229
|
if (!d)
|
|
1227
1230
|
return;
|
|
1228
|
-
const
|
|
1229
|
-
F(
|
|
1231
|
+
const O = (R = p.target.documentElement) != null ? R : p.target;
|
|
1232
|
+
F(O), D.value = !0, Z(p), l(p);
|
|
1230
1233
|
};
|
|
1231
1234
|
return gt(
|
|
1232
1235
|
e,
|
|
@@ -1263,7 +1266,7 @@ function ui(e, t = {}) {
|
|
|
1263
1266
|
y: E,
|
|
1264
1267
|
isScrolling: D,
|
|
1265
1268
|
arrivedState: N,
|
|
1266
|
-
directions:
|
|
1269
|
+
directions: w,
|
|
1267
1270
|
measure() {
|
|
1268
1271
|
const p = le(e);
|
|
1269
1272
|
d && p && F(p);
|
|
@@ -1299,7 +1302,7 @@ function ot() {
|
|
|
1299
1302
|
* tabbable 6.2.0
|
|
1300
1303
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
1301
1304
|
*/
|
|
1302
|
-
var ua = ["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])"], _e = /* @__PURE__ */ ua.join(","), da = typeof Element > "u",
|
|
1305
|
+
var ua = ["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])"], _e = /* @__PURE__ */ ua.join(","), da = typeof Element > "u", we = da ? function() {
|
|
1303
1306
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, et = !da && Element.prototype.getRootNode ? function(e) {
|
|
1304
1307
|
var t;
|
|
1305
1308
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -1317,7 +1320,7 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1317
1320
|
if (tt(t))
|
|
1318
1321
|
return [];
|
|
1319
1322
|
var i = Array.prototype.slice.apply(t.querySelectorAll(_e));
|
|
1320
|
-
return a &&
|
|
1323
|
+
return a && we.call(t, _e) && i.unshift(t), i = i.filter(n), i;
|
|
1321
1324
|
}, va = function e(t, a, n) {
|
|
1322
1325
|
for (var i = [], l = Array.from(t); l.length; ) {
|
|
1323
1326
|
var o = l.shift();
|
|
@@ -1329,7 +1332,7 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1329
1332
|
candidates: A
|
|
1330
1333
|
});
|
|
1331
1334
|
} else {
|
|
1332
|
-
var d =
|
|
1335
|
+
var d = we.call(o, _e);
|
|
1333
1336
|
d && n.filter(o) && (a || !t.includes(o)) && i.push(o);
|
|
1334
1337
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
1335
1338
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), C = !tt(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
@@ -1405,8 +1408,8 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1405
1408
|
var n = a.displayCheck, i = a.getShadowRoot;
|
|
1406
1409
|
if (getComputedStyle(t).visibility === "hidden")
|
|
1407
1410
|
return !0;
|
|
1408
|
-
var l =
|
|
1409
|
-
if (
|
|
1411
|
+
var l = we.call(t, "details>summary:first-of-type"), o = l ? t.parentElement : t;
|
|
1412
|
+
if (we.call(o, "details:not([open]) *"))
|
|
1410
1413
|
return !0;
|
|
1411
1414
|
if (!n || n === "full" || n === "legacy-full") {
|
|
1412
1415
|
if (typeof i == "function") {
|
|
@@ -1432,7 +1435,7 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1432
1435
|
for (var n = 0; n < a.children.length; n++) {
|
|
1433
1436
|
var i = a.children.item(n);
|
|
1434
1437
|
if (i.tagName === "LEGEND")
|
|
1435
|
-
return
|
|
1438
|
+
return we.call(a, "fieldset[disabled] *") ? !0 : !i.contains(t);
|
|
1436
1439
|
}
|
|
1437
1440
|
return !0;
|
|
1438
1441
|
}
|
|
@@ -1473,7 +1476,7 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1473
1476
|
getShadowRoot: a.getShadowRoot,
|
|
1474
1477
|
shadowRootFilter: Ti
|
|
1475
1478
|
}) : n = fa(t, a.includeContainer, bt.bind(null, a)), Di(n);
|
|
1476
|
-
},
|
|
1479
|
+
}, Oi = function(t, a) {
|
|
1477
1480
|
a = a || {};
|
|
1478
1481
|
var n;
|
|
1479
1482
|
return a.getShadowRoot ? n = va([t], a.includeContainer, {
|
|
@@ -1484,11 +1487,11 @@ var ua = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1484
1487
|
}, Se = function(t, a) {
|
|
1485
1488
|
if (a = a || {}, !t)
|
|
1486
1489
|
throw new Error("No node provided");
|
|
1487
|
-
return
|
|
1488
|
-
},
|
|
1490
|
+
return we.call(t, _e) === !1 ? !1 : bt(a, t);
|
|
1491
|
+
}, wi = /* @__PURE__ */ ua.concat("iframe").join(","), dt = function(t, a) {
|
|
1489
1492
|
if (a = a || {}, !t)
|
|
1490
1493
|
throw new Error("No node provided");
|
|
1491
|
-
return
|
|
1494
|
+
return we.call(t, wi) === !1 ? !1 : at(a, t);
|
|
1492
1495
|
};
|
|
1493
1496
|
/*!
|
|
1494
1497
|
* focus-trap 7.6.5
|
|
@@ -1688,7 +1691,7 @@ var Bt = {
|
|
|
1688
1691
|
return h;
|
|
1689
1692
|
}, C = function() {
|
|
1690
1693
|
if (o.containerGroups = o.containers.map(function(h) {
|
|
1691
|
-
var M = Li(h, l.tabbableOptions), S =
|
|
1694
|
+
var M = Li(h, l.tabbableOptions), S = Oi(h, l.tabbableOptions), X = M.length > 0 ? M[0] : void 0, q = M.length > 0 ? M[M.length - 1] : void 0, J = S.find(function(ae) {
|
|
1692
1695
|
return Se(ae);
|
|
1693
1696
|
}), Y = S.slice().reverse().find(function(ae) {
|
|
1694
1697
|
return Se(ae);
|
|
@@ -1847,7 +1850,7 @@ var Bt = {
|
|
|
1847
1850
|
isBackward: M
|
|
1848
1851
|
});
|
|
1849
1852
|
S && (Ze(h) && h.preventDefault(), v(S));
|
|
1850
|
-
},
|
|
1853
|
+
}, w = function(h) {
|
|
1851
1854
|
(l.isKeyForward(h) || l.isKeyBackward(h)) && N(h, l.isKeyBackward(h));
|
|
1852
1855
|
}, B = function(h) {
|
|
1853
1856
|
Wi(h) && Pe(l.escapeDeactivates, h) !== !1 && (h.preventDefault(), s.deactivate());
|
|
@@ -1867,13 +1870,13 @@ var Bt = {
|
|
|
1867
1870
|
}), n.addEventListener("click", Z, {
|
|
1868
1871
|
capture: !0,
|
|
1869
1872
|
passive: !1
|
|
1870
|
-
}), n.addEventListener("keydown",
|
|
1873
|
+
}), n.addEventListener("keydown", w, {
|
|
1871
1874
|
capture: !0,
|
|
1872
1875
|
passive: !1
|
|
1873
1876
|
}), n.addEventListener("keydown", B), s;
|
|
1874
1877
|
}, te = function() {
|
|
1875
1878
|
if (o.active)
|
|
1876
|
-
return n.removeEventListener("focusin", D, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", Z, !0), n.removeEventListener("keydown",
|
|
1879
|
+
return n.removeEventListener("focusin", D, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", Z, !0), n.removeEventListener("keydown", w, !0), n.removeEventListener("keydown", B), s;
|
|
1877
1880
|
}, p = function(h) {
|
|
1878
1881
|
var M = h.some(function(S) {
|
|
1879
1882
|
var X = Array.from(S.removedNodes);
|
|
@@ -1882,7 +1885,7 @@ var Bt = {
|
|
|
1882
1885
|
});
|
|
1883
1886
|
});
|
|
1884
1887
|
M && v(f());
|
|
1885
|
-
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(p) : void 0,
|
|
1888
|
+
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(p) : void 0, O = function() {
|
|
1886
1889
|
R && (R.disconnect(), o.active && !o.paused && o.containers.map(function(h) {
|
|
1887
1890
|
R.observe(h, {
|
|
1888
1891
|
subtree: !0,
|
|
@@ -1903,7 +1906,7 @@ var Bt = {
|
|
|
1903
1906
|
var M = c(h, "onActivate"), S = c(h, "onPostActivate"), X = c(h, "checkCanFocusTrap");
|
|
1904
1907
|
X || C(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = m(n), M == null || M();
|
|
1905
1908
|
var q = function() {
|
|
1906
|
-
X && C(), F(),
|
|
1909
|
+
X && C(), F(), O(), S == null || S();
|
|
1907
1910
|
};
|
|
1908
1911
|
return X ? (X(o.containers.concat()).then(q, q), this) : (q(), this);
|
|
1909
1912
|
},
|
|
@@ -1915,7 +1918,7 @@ var Bt = {
|
|
|
1915
1918
|
onPostDeactivate: l.onPostDeactivate,
|
|
1916
1919
|
checkCanReturnFocus: l.checkCanReturnFocus
|
|
1917
1920
|
}, h);
|
|
1918
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1,
|
|
1921
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1, O(), Bt.deactivateTrap(i, s);
|
|
1919
1922
|
var S = c(M, "onDeactivate"), X = c(M, "onPostDeactivate"), q = c(M, "checkCanReturnFocus"), J = c(M, "returnFocus", "returnFocusOnDeactivate");
|
|
1920
1923
|
S == null || S();
|
|
1921
1924
|
var Y = function() {
|
|
@@ -1935,7 +1938,7 @@ var Bt = {
|
|
|
1935
1938
|
var M = [].concat(h).filter(Boolean);
|
|
1936
1939
|
return o.containers = M.map(function(S) {
|
|
1937
1940
|
return typeof S == "string" ? n.querySelector(S) : S;
|
|
1938
|
-
}), o.active && C(),
|
|
1941
|
+
}), o.active && C(), O(), this;
|
|
1939
1942
|
}
|
|
1940
1943
|
}, Object.defineProperties(s, {
|
|
1941
1944
|
_isManuallyPaused: {
|
|
@@ -1949,10 +1952,10 @@ var Bt = {
|
|
|
1949
1952
|
return this;
|
|
1950
1953
|
if (o.paused = h, h) {
|
|
1951
1954
|
var S = c(M, "onPause"), X = c(M, "onPostPause");
|
|
1952
|
-
S == null || S(), te(),
|
|
1955
|
+
S == null || S(), te(), O(), X == null || X();
|
|
1953
1956
|
} else {
|
|
1954
1957
|
var q = c(M, "onUnpause"), J = c(M, "onPostUnpause");
|
|
1955
|
-
q == null || q(), C(), F(),
|
|
1958
|
+
q == null || q(), C(), F(), O(), J == null || J();
|
|
1956
1959
|
}
|
|
1957
1960
|
return this;
|
|
1958
1961
|
}
|
|
@@ -2055,7 +2058,7 @@ const Zi = {
|
|
|
2055
2058
|
lang: D.codeIso,
|
|
2056
2059
|
"aria-current": e.currentLanguage === D.codeIso ? !0 : void 0,
|
|
2057
2060
|
href: `#${D.codeIso}`,
|
|
2058
|
-
onClick: ue((
|
|
2061
|
+
onClick: ue((w) => v(D), ["prevent", "stop"])
|
|
2059
2062
|
}, P(`${D.codeIso.toUpperCase()} - ${D.label}`), 9, Fi)
|
|
2060
2063
|
]))), 128))
|
|
2061
2064
|
])
|
|
@@ -2128,7 +2131,7 @@ const Zi = {
|
|
|
2128
2131
|
}),
|
|
2129
2132
|
emits: ["update:modelValue"],
|
|
2130
2133
|
setup(e) {
|
|
2131
|
-
const t = g(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = g(() => e.errorMessage || e.validMessage), n = g(() => a.value ? `message-${t.value}` : void 0), i =
|
|
2134
|
+
const t = g(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = g(() => e.errorMessage || e.validMessage), n = g(() => a.value ? `message-${t.value}` : void 0), i = Oe(e, "modelValue"), l = g(() => i.value.includes(e.value)), o = g(() => l.value ? W.CHECKBOX_MARKED : W.CHECKBOX_BLANK_OUTLINE), s = g(() => l.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = g(() => e.small ? 1 : 1.5), A = g(() => e.small ? l.value ? "caption-bold" : "caption-regular" : l.value ? "b2-bold" : "b2-regular");
|
|
2132
2135
|
return (d, f) => {
|
|
2133
2136
|
const C = ne, m = Qe, v = la;
|
|
2134
2137
|
return u(), x(v, {
|
|
@@ -2453,14 +2456,14 @@ function Tl(e, t) {
|
|
|
2453
2456
|
function Dl(e) {
|
|
2454
2457
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
2455
2458
|
}
|
|
2456
|
-
function
|
|
2459
|
+
function wt(e) {
|
|
2457
2460
|
return !(!Dl(e) && typeof e != "number" || isNaN(+de(e)));
|
|
2458
2461
|
}
|
|
2459
2462
|
function Ll(e, t) {
|
|
2460
2463
|
const a = de(e, t == null ? void 0 : t.in);
|
|
2461
2464
|
return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
|
|
2462
2465
|
}
|
|
2463
|
-
const
|
|
2466
|
+
const Ol = {
|
|
2464
2467
|
lessThanXSeconds: {
|
|
2465
2468
|
one: "less than a second",
|
|
2466
2469
|
other: "less than {{count}} seconds"
|
|
@@ -2522,9 +2525,9 @@ const wl = {
|
|
|
2522
2525
|
one: "almost 1 year",
|
|
2523
2526
|
other: "almost {{count}} years"
|
|
2524
2527
|
}
|
|
2525
|
-
},
|
|
2528
|
+
}, wl = (e, t, a) => {
|
|
2526
2529
|
let n;
|
|
2527
|
-
const i =
|
|
2530
|
+
const i = Ol[e];
|
|
2528
2531
|
return typeof i == "string" ? n = i : t === 1 ? n = i.one : n = i.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
2529
2532
|
};
|
|
2530
2533
|
function ft(e) {
|
|
@@ -2881,7 +2884,7 @@ const ql = /^(\d+)(th|st|nd|rd)?/i, Fl = /\d+/i, Kl = {
|
|
|
2881
2884
|
})
|
|
2882
2885
|
}, rr = {
|
|
2883
2886
|
code: "en-US",
|
|
2884
|
-
formatDistance:
|
|
2887
|
+
formatDistance: wl,
|
|
2885
2888
|
formatLong: xl,
|
|
2886
2889
|
formatRelative: zl,
|
|
2887
2890
|
localize: Rl,
|
|
@@ -3615,7 +3618,7 @@ const yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Cr = /P+p+|P
|
|
|
3615
3618
|
function ge(e, t, a) {
|
|
3616
3619
|
var d, f, C, m;
|
|
3617
3620
|
const n = st(), i = n.locale ?? rr, l = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (C = n.locale) == null ? void 0 : C.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = de(e, a == null ? void 0 : a.in);
|
|
3618
|
-
if (!
|
|
3621
|
+
if (!wt(s))
|
|
3619
3622
|
throw new RangeError("Invalid time value");
|
|
3620
3623
|
let c = t.match(Cr).map((v) => {
|
|
3621
3624
|
const y = v[0];
|
|
@@ -3689,7 +3692,7 @@ const Ge = {
|
|
|
3689
3692
|
dateTimeDelimiter: /[T ]/,
|
|
3690
3693
|
timeZoneDelimiter: /[Z ]/i,
|
|
3691
3694
|
timezone: /([Z+-].*)$/
|
|
3692
|
-
}, Lr = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,
|
|
3695
|
+
}, Lr = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Or = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, wr = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
3693
3696
|
function Sr(e) {
|
|
3694
3697
|
const t = {}, a = e.split(Ge.dateTimeDelimiter);
|
|
3695
3698
|
let n;
|
|
@@ -3731,7 +3734,7 @@ function He(e) {
|
|
|
3731
3734
|
return e ? parseInt(e) : 1;
|
|
3732
3735
|
}
|
|
3733
3736
|
function xr(e) {
|
|
3734
|
-
const t = e.match(
|
|
3737
|
+
const t = e.match(Or);
|
|
3735
3738
|
if (!t) return NaN;
|
|
3736
3739
|
const a = vt(t[1]), n = vt(t[2]), i = vt(t[3]);
|
|
3737
3740
|
return Ur(a, n, i) ? a * ya + n * ha + i * 1e3 : NaN;
|
|
@@ -3741,7 +3744,7 @@ function vt(e) {
|
|
|
3741
3744
|
}
|
|
3742
3745
|
function Qr(e) {
|
|
3743
3746
|
if (e === "Z") return 0;
|
|
3744
|
-
const t = e.match(
|
|
3747
|
+
const t = e.match(wr);
|
|
3745
3748
|
if (!t) return 0;
|
|
3746
3749
|
const a = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
|
|
3747
3750
|
return Hr(n, i) ? a * (n * ya + i * ha) : NaN;
|
|
@@ -3788,14 +3791,14 @@ function Ye(e) {
|
|
|
3788
3791
|
return !!e && Vr.includes(e);
|
|
3789
3792
|
}
|
|
3790
3793
|
function qt(e, t) {
|
|
3791
|
-
if (!(!t || !
|
|
3794
|
+
if (!(!t || !wt(t) || !Ye(e)))
|
|
3792
3795
|
return ge(t, Rr[e]);
|
|
3793
3796
|
}
|
|
3794
3797
|
function Zr(e, t, a) {
|
|
3795
3798
|
if (!t || !Ye(e) || typeof t != "string")
|
|
3796
3799
|
return "";
|
|
3797
3800
|
const n = Dr(t);
|
|
3798
|
-
if (!
|
|
3801
|
+
if (!wt(n))
|
|
3799
3802
|
return "";
|
|
3800
3803
|
if (a)
|
|
3801
3804
|
try {
|
|
@@ -3935,7 +3938,7 @@ const qr = { class: "av-input__wrapper" }, Fr = { class: "av-input__control" },
|
|
|
3935
3938
|
return t({
|
|
3936
3939
|
focus: d
|
|
3937
3940
|
}), (D, N) => {
|
|
3938
|
-
const
|
|
3941
|
+
const w = Qe;
|
|
3939
3942
|
return u(), I("div", {
|
|
3940
3943
|
class: z(["av-input", {
|
|
3941
3944
|
"av-input--date": e.type === "date",
|
|
@@ -3997,13 +4000,13 @@ const qr = { class: "av-input__wrapper" }, Fr = { class: "av-input__control" },
|
|
|
3997
4000
|
}, !0)
|
|
3998
4001
|
]),
|
|
3999
4002
|
r(o).length > 0 ? (u(), I("div", eo, [
|
|
4000
|
-
H(
|
|
4003
|
+
H(w, {
|
|
4001
4004
|
message: r(o),
|
|
4002
4005
|
type: "error"
|
|
4003
4006
|
}, null, 8, ["message"])
|
|
4004
4007
|
])) : L("", !0),
|
|
4005
4008
|
r(s).length > 0 ? (u(), I("div", to, [
|
|
4006
|
-
H(
|
|
4009
|
+
H(w, {
|
|
4007
4010
|
message: r(s),
|
|
4008
4011
|
type: "success"
|
|
4009
4012
|
}, null, 8, ["message"])
|
|
@@ -4398,8 +4401,8 @@ const au = [
|
|
|
4398
4401
|
key: T,
|
|
4399
4402
|
modelValue: r(C),
|
|
4400
4403
|
"onUpdate:modelValue": [
|
|
4401
|
-
v[0] || (v[0] = (
|
|
4402
|
-
v[1] || (v[1] = (
|
|
4404
|
+
v[0] || (v[0] = (w) => Dt(C) ? C.value = w : null),
|
|
4405
|
+
v[1] || (v[1] = (w) => o(w))
|
|
4403
4406
|
],
|
|
4404
4407
|
value: (D = E.props) == null ? void 0 : D.value,
|
|
4405
4408
|
disabled: ((N = E.props) == null ? void 0 : N.disabled) ?? e.disabled,
|
|
@@ -4408,9 +4411,9 @@ const au = [
|
|
|
4408
4411
|
name: e.name
|
|
4409
4412
|
}, {
|
|
4410
4413
|
default: G(() => {
|
|
4411
|
-
var
|
|
4414
|
+
var w;
|
|
4412
4415
|
return [
|
|
4413
|
-
(u(), x(he((
|
|
4416
|
+
(u(), x(he((w = E.children) == null ? void 0 : w.default)))
|
|
4414
4417
|
];
|
|
4415
4418
|
}),
|
|
4416
4419
|
_: 2
|
|
@@ -4423,22 +4426,22 @@ const au = [
|
|
|
4423
4426
|
}
|
|
4424
4427
|
});
|
|
4425
4428
|
var pe = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(pe || {});
|
|
4426
|
-
const
|
|
4429
|
+
const Oa = Symbol("AvAutocompleteContext");
|
|
4427
4430
|
function kt() {
|
|
4428
|
-
const e = lt(
|
|
4431
|
+
const e = lt(Oa);
|
|
4429
4432
|
if (!e)
|
|
4430
4433
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
4431
4434
|
return e;
|
|
4432
4435
|
}
|
|
4433
|
-
var To = typeof global == "object" && global && global.Object === Object && global, Do = typeof self == "object" && self && self.Object === Object && self,
|
|
4434
|
-
function
|
|
4436
|
+
var To = typeof global == "object" && global && global.Object === Object && global, Do = typeof self == "object" && self && self.Object === Object && self, wa = To || Do || Function("return this")(), it = wa.Symbol, Sa = Object.prototype, Lo = Sa.hasOwnProperty, Oo = Sa.toString, Ve = it ? it.toStringTag : void 0;
|
|
4437
|
+
function wo(e) {
|
|
4435
4438
|
var t = Lo.call(e, Ve), a = e[Ve];
|
|
4436
4439
|
try {
|
|
4437
4440
|
e[Ve] = void 0;
|
|
4438
4441
|
var n = !0;
|
|
4439
4442
|
} catch {
|
|
4440
4443
|
}
|
|
4441
|
-
var i =
|
|
4444
|
+
var i = Oo.call(e);
|
|
4442
4445
|
return n && (t ? e[Ve] = a : delete e[Ve]), i;
|
|
4443
4446
|
}
|
|
4444
4447
|
var So = Object.prototype, ko = So.toString;
|
|
@@ -4447,7 +4450,7 @@ function po(e) {
|
|
|
4447
4450
|
}
|
|
4448
4451
|
var xo = "[object Null]", Qo = "[object Undefined]", Kt = it ? it.toStringTag : void 0;
|
|
4449
4452
|
function zo(e) {
|
|
4450
|
-
return e == null ? e === void 0 ? Qo : xo : Kt && Kt in Object(e) ?
|
|
4453
|
+
return e == null ? e === void 0 ? Qo : xo : Kt && Kt in Object(e) ? wo(e) : po(e);
|
|
4451
4454
|
}
|
|
4452
4455
|
function jo(e) {
|
|
4453
4456
|
return e != null && typeof e == "object";
|
|
@@ -4487,7 +4490,7 @@ function Jt(e) {
|
|
|
4487
4490
|
return a || Yo.test(e) ? Xo(e.slice(2), a ? 2 : 8) : Ro.test(e) ? Gt : +e;
|
|
4488
4491
|
}
|
|
4489
4492
|
var mt = function() {
|
|
4490
|
-
return
|
|
4493
|
+
return wa.Date.now();
|
|
4491
4494
|
}, qo = "Expected a function", Fo = Math.max, Ko = Math.min;
|
|
4492
4495
|
function ka(e, t, a) {
|
|
4493
4496
|
var n, i, l, o, s, c, A = 0, d = !1, f = !1, C = !0;
|
|
@@ -4521,7 +4524,7 @@ function ka(e, t, a) {
|
|
|
4521
4524
|
function N() {
|
|
4522
4525
|
s !== void 0 && clearTimeout(s), A = 0, n = c = i = s = void 0;
|
|
4523
4526
|
}
|
|
4524
|
-
function
|
|
4527
|
+
function w() {
|
|
4525
4528
|
return s === void 0 ? o : D(mt());
|
|
4526
4529
|
}
|
|
4527
4530
|
function B() {
|
|
@@ -4534,7 +4537,7 @@ function ka(e, t, a) {
|
|
|
4534
4537
|
}
|
|
4535
4538
|
return s === void 0 && (s = setTimeout(T, t)), o;
|
|
4536
4539
|
}
|
|
4537
|
-
return B.cancel = N, B.flush =
|
|
4540
|
+
return B.cancel = N, B.flush = w, B;
|
|
4538
4541
|
}
|
|
4539
4542
|
const Go = {
|
|
4540
4543
|
key: 0,
|
|
@@ -4566,12 +4569,12 @@ const Go = {
|
|
|
4566
4569
|
const B = c.options;
|
|
4567
4570
|
return c.maxResults ? B.slice(0, c.maxResults) : B;
|
|
4568
4571
|
}
|
|
4569
|
-
let
|
|
4570
|
-
return c.filterOptions ?
|
|
4572
|
+
let w;
|
|
4573
|
+
return c.filterOptions ? w = c.filterOptions(c.options, N) : w = c.options.filter((B) => d(B).toLowerCase().includes(N)), c.maxResults ? w.slice(0, c.maxResults) : w;
|
|
4571
4574
|
}), v = g(() => c.loading ? pe.LOADING : s.value && c.options && c.options.length > 0 && m.value.length > 0 ? pe.HAS_OPTIONS : pe.NO_OPTIONS);
|
|
4572
4575
|
function y(N) {
|
|
4573
4576
|
return l.value.some(
|
|
4574
|
-
(
|
|
4577
|
+
(w) => A(w) === A(N)
|
|
4575
4578
|
);
|
|
4576
4579
|
}
|
|
4577
4580
|
function E(N) {
|
|
@@ -4579,12 +4582,12 @@ const Go = {
|
|
|
4579
4582
|
l.value = [N], s.value = !1, o.value = "";
|
|
4580
4583
|
return;
|
|
4581
4584
|
}
|
|
4582
|
-
const
|
|
4583
|
-
|
|
4585
|
+
const w = l.value, B = A(N);
|
|
4586
|
+
w.some(
|
|
4584
4587
|
(F) => A(F) === B
|
|
4585
|
-
) ? l.value =
|
|
4588
|
+
) ? l.value = w.filter(
|
|
4586
4589
|
(F) => A(F) !== B
|
|
4587
|
-
) : l.value = [...
|
|
4590
|
+
) : l.value = [...w, N];
|
|
4588
4591
|
}
|
|
4589
4592
|
const { arrivedState: T } = ui(C, {
|
|
4590
4593
|
throttle: 100
|
|
@@ -4597,7 +4600,7 @@ const Go = {
|
|
|
4597
4600
|
D.cancel();
|
|
4598
4601
|
}), t({
|
|
4599
4602
|
dropdownRef: f
|
|
4600
|
-
}), (N,
|
|
4603
|
+
}), (N, w) => r(s) ? (u(), I("div", {
|
|
4601
4604
|
key: 0,
|
|
4602
4605
|
ref_key: "dropdownRef",
|
|
4603
4606
|
ref: f,
|
|
@@ -4610,7 +4613,7 @@ const Go = {
|
|
|
4610
4613
|
size: 1.5,
|
|
4611
4614
|
class: "av-autocomplete-dropdown__spinner"
|
|
4612
4615
|
}, null, 8, ["name"]),
|
|
4613
|
-
|
|
4616
|
+
w[0] || (w[0] = b("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
4614
4617
|
])) : r(v) === r(pe).NO_OPTIONS ? (u(), I("div", Jo, [
|
|
4615
4618
|
i.empty ? U(N.$slots, "empty", { key: 0 }, void 0, !0) : (u(), I("div", $o, " No results found "))
|
|
4616
4619
|
])) : (u(), x(Ta, _({
|
|
@@ -4680,7 +4683,7 @@ const Go = {
|
|
|
4680
4683
|
}), t({
|
|
4681
4684
|
inputRef: C,
|
|
4682
4685
|
searchQuery: g(() => o.value)
|
|
4683
|
-
}), (N,
|
|
4686
|
+
}), (N, w) => (u(), I("div", ts, [
|
|
4684
4687
|
H(St, _({
|
|
4685
4688
|
id: r(A),
|
|
4686
4689
|
ref_key: "inputRef",
|
|
@@ -4786,13 +4789,13 @@ const Go = {
|
|
|
4786
4789
|
}),
|
|
4787
4790
|
emits: /* @__PURE__ */ be(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
4788
4791
|
setup(e, { emit: t }) {
|
|
4789
|
-
const a = e, n = t, i = ve(), l =
|
|
4792
|
+
const a = e, n = t, i = ve(), l = Oe(e, "modelValue"), o = V(!1), s = V(""), c = V(), A = V(), d = V(), f = g(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
4790
4793
|
function C(D) {
|
|
4791
4794
|
s.value = D, n("search", D);
|
|
4792
4795
|
}
|
|
4793
4796
|
function m(D) {
|
|
4794
|
-
var N,
|
|
4795
|
-
(
|
|
4797
|
+
var N, w;
|
|
4798
|
+
(w = (N = d.value) == null ? void 0 : N.dropdownRef) != null && w.contains(D.relatedTarget) || setTimeout(() => {
|
|
4796
4799
|
o.value = !1;
|
|
4797
4800
|
}, a.blurCloseDelay);
|
|
4798
4801
|
}
|
|
@@ -4802,7 +4805,7 @@ const Go = {
|
|
|
4802
4805
|
function y(D) {
|
|
4803
4806
|
return a.getOptionLabel ? a.getOptionLabel(D) : D.label;
|
|
4804
4807
|
}
|
|
4805
|
-
Et(
|
|
4808
|
+
Et(Oa, {
|
|
4806
4809
|
selectedItems: l,
|
|
4807
4810
|
searchQuery: s,
|
|
4808
4811
|
isOpen: o,
|
|
@@ -4814,8 +4817,8 @@ const Go = {
|
|
|
4814
4817
|
});
|
|
4815
4818
|
function T(D) {
|
|
4816
4819
|
var B, Z, F, te, p;
|
|
4817
|
-
const N = D.target,
|
|
4818
|
-
!((Z =
|
|
4820
|
+
const N = D.target, w = (B = A.value) == null ? void 0 : B.inputRef;
|
|
4821
|
+
!((Z = w == null ? void 0 : w.contains) != null && Z.call(w, N)) && !((F = c.value) != null && F.contains(N)) && !((p = (te = d.value) == null ? void 0 : te.dropdownRef) != null && p.contains(N)) && (o.value = !1);
|
|
4819
4822
|
}
|
|
4820
4823
|
return fe(() => {
|
|
4821
4824
|
document.addEventListener("click", T);
|
|
@@ -4831,7 +4834,7 @@ const Go = {
|
|
|
4831
4834
|
ref_key: "inputRef",
|
|
4832
4835
|
ref: A,
|
|
4833
4836
|
onSearch: C,
|
|
4834
|
-
onClear: N[0] || (N[0] = (
|
|
4837
|
+
onClear: N[0] || (N[0] = (w) => n("clear"))
|
|
4835
4838
|
}, Je({ _: 2 }, [
|
|
4836
4839
|
i.requiredTip ? {
|
|
4837
4840
|
name: "requiredTip",
|
|
@@ -4844,13 +4847,13 @@ const Go = {
|
|
|
4844
4847
|
H(es, {
|
|
4845
4848
|
ref_key: "dropdownRef",
|
|
4846
4849
|
ref: d,
|
|
4847
|
-
onLoadMore: N[1] || (N[1] = (
|
|
4850
|
+
onLoadMore: N[1] || (N[1] = (w) => n("loadMore"))
|
|
4848
4851
|
}, Je({ _: 2 }, [
|
|
4849
4852
|
i.item ? {
|
|
4850
4853
|
name: "item",
|
|
4851
|
-
fn: G(({ option:
|
|
4854
|
+
fn: G(({ option: w, isSelected: B, toggle: Z }) => [
|
|
4852
4855
|
U(D.$slots, "item", {
|
|
4853
|
-
option:
|
|
4856
|
+
option: w,
|
|
4854
4857
|
isSelected: B,
|
|
4855
4858
|
toggle: Z
|
|
4856
4859
|
}, void 0, !0)
|
|
@@ -4869,9 +4872,9 @@ const Go = {
|
|
|
4869
4872
|
H(os, null, Je({ _: 2 }, [
|
|
4870
4873
|
i.selectedItem ? {
|
|
4871
4874
|
name: "selectedItem",
|
|
4872
|
-
fn: G(({ option:
|
|
4875
|
+
fn: G(({ option: w, remove: B }) => [
|
|
4873
4876
|
U(D.$slots, "selectedItem", {
|
|
4874
|
-
option:
|
|
4877
|
+
option: w,
|
|
4875
4878
|
remove: B
|
|
4876
4879
|
}, void 0, !0)
|
|
4877
4880
|
]),
|
|
@@ -4904,10 +4907,10 @@ const Go = {
|
|
|
4904
4907
|
emits: /* @__PURE__ */ be(["close"], ["update:modelValue"]),
|
|
4905
4908
|
setup(e, { emit: t }) {
|
|
4906
4909
|
const a = t;
|
|
4907
|
-
function n(R,
|
|
4908
|
-
return `${
|
|
4910
|
+
function n(R, O) {
|
|
4911
|
+
return `${O}-${R.value}`;
|
|
4909
4912
|
}
|
|
4910
|
-
const i = V(null), l = V(!1), o =
|
|
4913
|
+
const i = V(null), l = V(!1), o = Oe(e, "modelValue"), s = V(0), c = [], {
|
|
4911
4914
|
collapse: A,
|
|
4912
4915
|
collapsing: d,
|
|
4913
4916
|
cssExpanded: f,
|
|
@@ -4922,8 +4925,8 @@ const Go = {
|
|
|
4922
4925
|
}
|
|
4923
4926
|
function E(R) {
|
|
4924
4927
|
var Q, h;
|
|
4925
|
-
const
|
|
4926
|
-
!((Q = i.value) != null && Q.$el.contains(
|
|
4928
|
+
const O = R.target;
|
|
4929
|
+
!((Q = i.value) != null && Q.$el.contains(O)) && !((h = A.value) != null && h.contains(O)) && a("close");
|
|
4927
4930
|
}
|
|
4928
4931
|
function T() {
|
|
4929
4932
|
for (; c.length; ) {
|
|
@@ -4935,46 +4938,46 @@ const Go = {
|
|
|
4935
4938
|
const D = g(
|
|
4936
4939
|
() => e.options.filter((R) => typeof R == "object" && R !== null ? `${R[ms]}`.toLowerCase().includes(v.value.toLowerCase()) : `${R}`.toLowerCase().includes(v.value.toLowerCase()))
|
|
4937
4940
|
), N = g(() => e.selected.length < D.value.length ? !1 : D.value.every((R) => e.selected.includes(R)));
|
|
4938
|
-
function
|
|
4941
|
+
function w() {
|
|
4939
4942
|
const R = new Set(o.value || []);
|
|
4940
|
-
N.value ? D.value.forEach((
|
|
4941
|
-
R.delete(
|
|
4942
|
-
}) : D.value.forEach((
|
|
4943
|
-
R.add(
|
|
4943
|
+
N.value ? D.value.forEach((O) => {
|
|
4944
|
+
R.delete(O.value);
|
|
4945
|
+
}) : D.value.forEach((O) => {
|
|
4946
|
+
R.add(O.value);
|
|
4944
4947
|
}), o.value = Array.from(R);
|
|
4945
4948
|
}
|
|
4946
4949
|
function B(R) {
|
|
4947
|
-
const [
|
|
4948
|
-
|
|
4950
|
+
const [O] = m();
|
|
4951
|
+
O && (R.preventDefault(), O.focus());
|
|
4949
4952
|
}
|
|
4950
4953
|
function Z(R) {
|
|
4951
4954
|
R.preventDefault();
|
|
4952
|
-
const
|
|
4955
|
+
const O = m(), Q = document.activeElement, h = Array.from(O).indexOf(Q);
|
|
4953
4956
|
if (h !== -1) {
|
|
4954
|
-
const M = (h + 1) %
|
|
4955
|
-
|
|
4957
|
+
const M = (h + 1) % O.length;
|
|
4958
|
+
O[M].focus();
|
|
4956
4959
|
}
|
|
4957
4960
|
}
|
|
4958
4961
|
function F(R) {
|
|
4959
4962
|
R.preventDefault();
|
|
4960
|
-
const
|
|
4963
|
+
const O = m(), Q = document.activeElement, h = Array.from(O).indexOf(Q);
|
|
4961
4964
|
if (h !== -1) {
|
|
4962
|
-
const M = (h - 1 +
|
|
4963
|
-
|
|
4965
|
+
const M = (h - 1 + O.length) % O.length;
|
|
4966
|
+
O[M].focus();
|
|
4964
4967
|
}
|
|
4965
4968
|
}
|
|
4966
4969
|
function te(R) {
|
|
4967
|
-
const
|
|
4968
|
-
Array.from(
|
|
4970
|
+
const O = m(), Q = document.activeElement;
|
|
4971
|
+
Array.from(O).indexOf(Q) + 1 === O.length && i.value && !R.shiftKey && a("close");
|
|
4969
4972
|
}
|
|
4970
4973
|
function p(R) {
|
|
4971
4974
|
var Q;
|
|
4972
|
-
const
|
|
4973
|
-
R.shiftKey &&
|
|
4975
|
+
const O = document.activeElement;
|
|
4976
|
+
R.shiftKey && O === ((Q = i.value) == null ? void 0 : Q.$el) && a("close");
|
|
4974
4977
|
}
|
|
4975
4978
|
return me(() => {
|
|
4976
4979
|
T();
|
|
4977
|
-
}), (R,
|
|
4980
|
+
}), (R, O) => {
|
|
4978
4981
|
const Q = oe, h = St;
|
|
4979
4982
|
return e.isVisible ? (u(), I("div", {
|
|
4980
4983
|
key: 0,
|
|
@@ -4985,7 +4988,7 @@ const Go = {
|
|
|
4985
4988
|
"--width-host": `${r(s)}px`
|
|
4986
4989
|
}),
|
|
4987
4990
|
class: z(["av-multiselect__collapse av-collapse", { "av-collapse--expanded": r(f), "av-collapsing": r(d) }]),
|
|
4988
|
-
onTransitionend:
|
|
4991
|
+
onTransitionend: O[2] || (O[2] = (M) => r(C)(r(l)))
|
|
4989
4992
|
}, [
|
|
4990
4993
|
b("p", {
|
|
4991
4994
|
id: `${e.id}-text-hint`,
|
|
@@ -4999,7 +5002,7 @@ const Go = {
|
|
|
4999
5002
|
disabled: r(D).length === 0,
|
|
5000
5003
|
label: e.selectAllLabel[r(N) ? 1 : 0],
|
|
5001
5004
|
icon: r(N) ? r(W).CLOSE_CIRCLE_OUTLINE : r(W).CHECK_CIRCLE_OUTLINE,
|
|
5002
|
-
onClick:
|
|
5005
|
+
onClick: w,
|
|
5003
5006
|
onKeydown: Ae(ue(p, ["shift"]), ["tab"])
|
|
5004
5007
|
}, null, 8, ["disabled", "label", "icon", "onKeydown"])
|
|
5005
5008
|
])
|
|
@@ -5007,7 +5010,7 @@ const Go = {
|
|
|
5007
5010
|
e.search ? (u(), I("div", fs, [
|
|
5008
5011
|
H(h, {
|
|
5009
5012
|
modelValue: r(v),
|
|
5010
|
-
"onUpdate:modelValue":
|
|
5013
|
+
"onUpdate:modelValue": O[0] || (O[0] = (M) => Dt(v) ? v.value = M : null),
|
|
5011
5014
|
"aria-describedby": `${e.id}-text-hint`,
|
|
5012
5015
|
"aria-controls": `${e.id}-checkboxes`,
|
|
5013
5016
|
"prefix-icon": r(W).MAGNIFY,
|
|
@@ -5032,7 +5035,7 @@ const Go = {
|
|
|
5032
5035
|
id: `${n(M, e.id)}-checkbox`,
|
|
5033
5036
|
key: `${n(M, e.id)}-fieldset`,
|
|
5034
5037
|
modelValue: o.value,
|
|
5035
|
-
"onUpdate:modelValue":
|
|
5038
|
+
"onUpdate:modelValue": O[1] || (O[1] = (S) => o.value = S),
|
|
5036
5039
|
value: M.value,
|
|
5037
5040
|
label: M.label,
|
|
5038
5041
|
icon: M.icon,
|
|
@@ -5084,9 +5087,9 @@ const Go = {
|
|
|
5084
5087
|
},
|
|
5085
5088
|
emits: ["update:modelValue"],
|
|
5086
5089
|
setup(e, { emit: t }) {
|
|
5087
|
-
se((
|
|
5088
|
-
v7d3d0889:
|
|
5089
|
-
v10950ec4:
|
|
5090
|
+
se((O) => ({
|
|
5091
|
+
v7d3d0889: O.width,
|
|
5092
|
+
v10950ec4: O.height
|
|
5090
5093
|
}));
|
|
5091
5094
|
const a = t, n = g(() => e.id ?? `multi-select-${crypto.randomUUID()}`), i = V(null), l = V(!1), o = g(() => e.errorMessage || e.successMessage), s = g(() => e.errorMessage ? "error" : "success"), {
|
|
5092
5095
|
collapse: c,
|
|
@@ -5100,47 +5103,47 @@ const Go = {
|
|
|
5100
5103
|
cssExpanded: d,
|
|
5101
5104
|
doExpand: f,
|
|
5102
5105
|
onTransitionEnd: C
|
|
5103
|
-
}, v = g(() => e.modelValue.map((
|
|
5106
|
+
}, v = g(() => e.modelValue.map((O) => O.value)), y = g(() => {
|
|
5104
5107
|
if (!e.modelValue || e.modelValue.length === 0)
|
|
5105
5108
|
return e.placeholder;
|
|
5106
5109
|
if (e.selectedText)
|
|
5107
5110
|
return e.selectedText;
|
|
5108
|
-
const
|
|
5109
|
-
return `${e.modelValue.length} option${
|
|
5111
|
+
const O = e.modelValue.length > 1 ? "s" : "";
|
|
5112
|
+
return `${e.modelValue.length} option${O} sélectionnée${O}`;
|
|
5110
5113
|
}), E = V(!1);
|
|
5111
|
-
function T(
|
|
5112
|
-
|
|
5114
|
+
function T(O) {
|
|
5115
|
+
O.key === "Escape" && w();
|
|
5113
5116
|
}
|
|
5114
|
-
function D(
|
|
5117
|
+
function D(O) {
|
|
5115
5118
|
var h, M;
|
|
5116
|
-
const Q =
|
|
5117
|
-
!((h = i.value) != null && h.$el.contains(Q)) && !((M = c.value) != null && M.contains(Q)) &&
|
|
5119
|
+
const Q = O.target;
|
|
5120
|
+
!((h = i.value) != null && h.$el.contains(Q)) && !((M = c.value) != null && M.contains(Q)) && w();
|
|
5118
5121
|
}
|
|
5119
5122
|
function N() {
|
|
5120
5123
|
l.value = !0, E.value = !0, document.addEventListener("click", D), document.addEventListener("keydown", T), setTimeout(() => {
|
|
5121
5124
|
f(!0);
|
|
5122
5125
|
}, 100);
|
|
5123
5126
|
}
|
|
5124
|
-
function
|
|
5127
|
+
function w() {
|
|
5125
5128
|
l.value = !1, f(!1), setTimeout(() => {
|
|
5126
5129
|
E.value = !1;
|
|
5127
5130
|
}, 300), Z();
|
|
5128
5131
|
}
|
|
5129
5132
|
async function B() {
|
|
5130
|
-
E.value ?
|
|
5133
|
+
E.value ? w() : N();
|
|
5131
5134
|
}
|
|
5132
5135
|
function Z() {
|
|
5133
5136
|
document.removeEventListener("click", D), document.removeEventListener("keydown", T);
|
|
5134
5137
|
}
|
|
5135
|
-
function F(
|
|
5138
|
+
function F(O) {
|
|
5136
5139
|
var h;
|
|
5137
5140
|
const Q = document.activeElement;
|
|
5138
|
-
|
|
5141
|
+
O.shiftKey && Q === ((h = i.value) == null ? void 0 : h.$el) && w();
|
|
5139
5142
|
}
|
|
5140
|
-
function te(
|
|
5143
|
+
function te(O) {
|
|
5141
5144
|
var h;
|
|
5142
5145
|
const Q = ((h = e.options) == null ? void 0 : h.filter(
|
|
5143
|
-
(M) =>
|
|
5146
|
+
(M) => O.includes(M.value)
|
|
5144
5147
|
)) ?? [];
|
|
5145
5148
|
a("update:modelValue", Q);
|
|
5146
5149
|
}
|
|
@@ -5154,7 +5157,7 @@ const Go = {
|
|
|
5154
5157
|
]), R = g(() => ({
|
|
5155
5158
|
"--icon-path": `url(${Ie.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5156
5159
|
}));
|
|
5157
|
-
return (
|
|
5160
|
+
return (O, Q) => {
|
|
5158
5161
|
const h = oe, M = Qe;
|
|
5159
5162
|
return u(), I($, null, [
|
|
5160
5163
|
b("div", {
|
|
@@ -5166,7 +5169,7 @@ const Go = {
|
|
|
5166
5169
|
for: r(n)
|
|
5167
5170
|
}, [
|
|
5168
5171
|
b("span", ys, P(e.label), 1),
|
|
5169
|
-
"required" in
|
|
5172
|
+
"required" in O.$attrs && O.$attrs.required !== !1 ? (u(), I("span", Cs)) : L("", !0),
|
|
5170
5173
|
e.hint ? (u(), I("span", Ms, P(e.hint), 1)) : L("", !0)
|
|
5171
5174
|
], 10, hs),
|
|
5172
5175
|
H(h, _({
|
|
@@ -5175,7 +5178,7 @@ const Go = {
|
|
|
5175
5178
|
ref: i,
|
|
5176
5179
|
type: "button",
|
|
5177
5180
|
variant: "OUTLINED"
|
|
5178
|
-
},
|
|
5181
|
+
}, O.$attrs, {
|
|
5179
5182
|
label: r(y),
|
|
5180
5183
|
class: ["av-multiselect", {
|
|
5181
5184
|
"av-multiselect--is-open": r(l),
|
|
@@ -5203,7 +5206,7 @@ const Go = {
|
|
|
5203
5206
|
options: e.options,
|
|
5204
5207
|
selected: e.modelValue,
|
|
5205
5208
|
"use-collapsable-return": m,
|
|
5206
|
-
onClose:
|
|
5209
|
+
onClose: w,
|
|
5207
5210
|
"onUpdate:modelValue": te
|
|
5208
5211
|
}, null, 8, ["id", "legend", "hint", "model-value", "is-visible", "select-all", "select-all-label", "search", "options", "selected"])
|
|
5209
5212
|
], 10, bs),
|
|
@@ -5221,7 +5224,7 @@ const Go = {
|
|
|
5221
5224
|
}, Ds = {
|
|
5222
5225
|
key: 1,
|
|
5223
5226
|
class: "av-hint-text"
|
|
5224
|
-
}, Ls = ["id", "name", "disabled", "aria-disabled", "required", "aria-required", "title"],
|
|
5227
|
+
}, Ls = ["id", "name", "disabled", "aria-disabled", "required", "aria-required", "title"], Os = ["selected"], ws = ["selected", "value", "disabled", "aria-disabled"], Ss = /* @__PURE__ */ k({
|
|
5225
5228
|
__name: "AvSelect",
|
|
5226
5229
|
props: {
|
|
5227
5230
|
required: { type: Boolean, default: !1 },
|
|
@@ -5285,14 +5288,14 @@ const Go = {
|
|
|
5285
5288
|
disabled: "",
|
|
5286
5289
|
value: "",
|
|
5287
5290
|
hidden: ""
|
|
5288
|
-
}, P(e.placeholder), 9,
|
|
5291
|
+
}, P(e.placeholder), 9, Os),
|
|
5289
5292
|
(u(!0), I($, null, ie(e.options, (f, C) => (u(), I("option", {
|
|
5290
5293
|
key: C,
|
|
5291
5294
|
selected: e.modelValue === f.value,
|
|
5292
5295
|
value: f.value,
|
|
5293
5296
|
disabled: f.disabled,
|
|
5294
5297
|
"aria-disabled": f.disabled
|
|
5295
|
-
}, P(f.text), 9,
|
|
5298
|
+
}, P(f.text), 9, ws))), 128))
|
|
5296
5299
|
], 16, Ls),
|
|
5297
5300
|
H(d, {
|
|
5298
5301
|
"message-id": `select-${r(s)}-desc-${r(s)}`,
|
|
@@ -5433,7 +5436,7 @@ const Ps = ["aria-label"], Ws = /* @__PURE__ */ k({
|
|
|
5433
5436
|
const t = ve(), a = g(() => {
|
|
5434
5437
|
var E;
|
|
5435
5438
|
return ((E = t.default) == null ? void 0 : E.call(t)) || [];
|
|
5436
|
-
}), n =
|
|
5439
|
+
}), n = Oe(e, "modelValue"), i = V(null), l = V(null), o = It({}), { tabsStyle: s, updateTabsStyle: c } = Bs(
|
|
5437
5440
|
l,
|
|
5438
5441
|
g(() => {
|
|
5439
5442
|
var E;
|
|
@@ -5496,12 +5499,12 @@ const Ps = ["aria-label"], Ws = /* @__PURE__ */ k({
|
|
|
5496
5499
|
"aria-label": e.ariaLabel ?? "Liste d’onglets"
|
|
5497
5500
|
}, [
|
|
5498
5501
|
(u(!0), I($, null, ie(r(a), (D, N) => {
|
|
5499
|
-
var
|
|
5502
|
+
var w, B;
|
|
5500
5503
|
return u(), x(js, {
|
|
5501
5504
|
key: N,
|
|
5502
5505
|
"tab-id": A(N),
|
|
5503
5506
|
"panel-id": `${A(N)}-panel`,
|
|
5504
|
-
title: (
|
|
5507
|
+
title: (w = D.props) == null ? void 0 : w.title,
|
|
5505
5508
|
icon: (B = D.props) == null ? void 0 : B.icon,
|
|
5506
5509
|
compact: e.compact,
|
|
5507
5510
|
"is-selected": n.value === N,
|
|
@@ -5760,7 +5763,7 @@ const nc = /* @__PURE__ */ j(ec, [["render", ac]]), ic = {
|
|
|
5760
5763
|
const m = A, v = g(() => [e.homeLabel, e.serviceTitle].filter((E) => E).join(" - ")), y = g(() => !!n.mainnav);
|
|
5761
5764
|
return Et(xa, () => A), (E, T) => {
|
|
5762
5765
|
var Z, F, te;
|
|
5763
|
-
const D = Lt("RouterLink"), N = oe,
|
|
5766
|
+
const D = Lt("RouterLink"), N = oe, w = pa, B = Wn;
|
|
5764
5767
|
return u(), I("header", ic, [
|
|
5765
5768
|
b("div", lc, [
|
|
5766
5769
|
b("div", rc, [
|
|
@@ -5860,7 +5863,7 @@ const nc = /* @__PURE__ */ j(ec, [["render", ac]]), ic = {
|
|
|
5860
5863
|
}, {
|
|
5861
5864
|
default: G(() => [
|
|
5862
5865
|
b("div", hc, [
|
|
5863
|
-
H(
|
|
5866
|
+
H(w, {
|
|
5864
5867
|
"cancel-label": e.closeMenuModalLabel,
|
|
5865
5868
|
"cancel-icon": r(W).CLOSE_CIRCLE_OUTLINE,
|
|
5866
5869
|
onCancel: A
|
|
@@ -5919,7 +5922,7 @@ function Tc(e, t) {
|
|
|
5919
5922
|
}, null, -1)
|
|
5920
5923
|
])]);
|
|
5921
5924
|
}
|
|
5922
|
-
const Dc = { render: Tc }, Lc = { class: "svg-wrapper" },
|
|
5925
|
+
const Dc = { render: Tc }, Lc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ k({
|
|
5923
5926
|
__name: "EsupLogo",
|
|
5924
5927
|
props: {
|
|
5925
5928
|
width: {},
|
|
@@ -5938,7 +5941,7 @@ const Dc = { render: Tc }, Lc = { class: "svg-wrapper" }, wc = /* @__PURE__ */ k
|
|
|
5938
5941
|
H(r(Dc), _(r(t), { class: "logo" }), null, 16)
|
|
5939
5942
|
]));
|
|
5940
5943
|
}
|
|
5941
|
-
}), du = /* @__PURE__ */ j(
|
|
5944
|
+
}), du = /* @__PURE__ */ j(Oc, [["__scopeId", "data-v-0e512b24"]]), wc = ["aria-label"], Sc = ["id"], kc = { class: "av-breadcrumb__list" }, pc = ["aria-current"], xc = /* @__PURE__ */ k({
|
|
5942
5945
|
__name: "AvBreadcrumb",
|
|
5943
5946
|
props: {
|
|
5944
5947
|
id: {},
|
|
@@ -6012,7 +6015,7 @@ const Dc = { render: Tc }, Lc = { class: "svg-wrapper" }, wc = /* @__PURE__ */ k
|
|
|
6012
6015
|
], 4))), 128))
|
|
6013
6016
|
])
|
|
6014
6017
|
], 10, Sc)
|
|
6015
|
-
], 8,
|
|
6018
|
+
], 8, wc)) : L("", !0);
|
|
6016
6019
|
};
|
|
6017
6020
|
}
|
|
6018
6021
|
}), fu = /* @__PURE__ */ j(xc, [["__scopeId", "data-v-c0546c4b"]]), Qc = ["id", "aria-current"], zc = /* @__PURE__ */ k({
|
|
@@ -6288,7 +6291,7 @@ const Dc = { render: Tc }, Lc = { class: "svg-wrapper" }, wc = /* @__PURE__ */ k
|
|
|
6288
6291
|
e.compact ? L("", !0) : (u(), I("span", lA, P(e.prevPageLabel), 1))
|
|
6289
6292
|
], 8, iA)
|
|
6290
6293
|
]),
|
|
6291
|
-
e.compact ? L("", !0) : (u(!0), I($, { key: 1 }, ie(r(l), (N,
|
|
6294
|
+
e.compact ? L("", !0) : (u(!0), I($, { key: 1 }, ie(r(l), (N, w) => (u(), I("li", { key: w }, [
|
|
6292
6295
|
b("a", {
|
|
6293
6296
|
href: N == null ? void 0 : N.href,
|
|
6294
6297
|
class: "av-pagination__link",
|
|
@@ -6371,7 +6374,7 @@ const vA = ["id", "aria-label"], mA = {
|
|
|
6371
6374
|
v4d5b7c17: r(c),
|
|
6372
6375
|
v4a813d87: d.padding
|
|
6373
6376
|
}));
|
|
6374
|
-
const t = e, a =
|
|
6377
|
+
const t = e, a = Oe(e, "collapsed"), { width: n, collapsedWidth: i } = ea(t), l = g(() => t.id ?? crypto.randomUUID()), o = g(() => `${l.value} navigation`), s = g({
|
|
6375
6378
|
get: () => t.collapsible ? a.value : !1,
|
|
6376
6379
|
set: (d) => {
|
|
6377
6380
|
t.collapsible && (a.value = d);
|
|
@@ -6419,7 +6422,7 @@ const vA = ["id", "aria-label"], mA = {
|
|
|
6419
6422
|
}),
|
|
6420
6423
|
emits: /* @__PURE__ */ be(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
6421
6424
|
setup(e) {
|
|
6422
|
-
const t =
|
|
6425
|
+
const t = Oe(e, "selectedItem"), a = Oe(e, "isSideMenuCollapsed");
|
|
6423
6426
|
function n(i) {
|
|
6424
6427
|
t.value = i;
|
|
6425
6428
|
}
|
|
@@ -6534,7 +6537,7 @@ function LA(e, t) {
|
|
|
6534
6537
|
closePopover: l
|
|
6535
6538
|
};
|
|
6536
6539
|
}
|
|
6537
|
-
const
|
|
6540
|
+
const OA = { class: "av-popover-wrapper" }, wA = /* @__PURE__ */ k({
|
|
6538
6541
|
__name: "AvPopover",
|
|
6539
6542
|
props: {
|
|
6540
6543
|
width: {},
|
|
@@ -6562,7 +6565,7 @@ const wA = { class: "av-popover-wrapper" }, OA = /* @__PURE__ */ k({
|
|
|
6562
6565
|
f ? (await rt(), c()) : A();
|
|
6563
6566
|
}), Mt(() => {
|
|
6564
6567
|
A();
|
|
6565
|
-
}), (f, C) => (u(), I("div",
|
|
6568
|
+
}), (f, C) => (u(), I("div", OA, [
|
|
6566
6569
|
b("div", {
|
|
6567
6570
|
ref: d,
|
|
6568
6571
|
class: "av-popover-trigger-wrapper"
|
|
@@ -6588,7 +6591,7 @@ const wA = { class: "av-popover-wrapper" }, OA = /* @__PURE__ */ k({
|
|
|
6588
6591
|
]))
|
|
6589
6592
|
]));
|
|
6590
6593
|
}
|
|
6591
|
-
}), SA = /* @__PURE__ */ j(
|
|
6594
|
+
}), SA = /* @__PURE__ */ j(wA, [["__scopeId", "data-v-6d959292"]]), kA = { class: "av-dropdown" }, pA = /* @__PURE__ */ k({
|
|
6592
6595
|
__name: "AvDropdown",
|
|
6593
6596
|
props: {
|
|
6594
6597
|
items: {},
|
|
@@ -6830,7 +6833,7 @@ export {
|
|
|
6830
6833
|
di as AV_BREAKPOINTS,
|
|
6831
6834
|
JA as AvAccordion,
|
|
6832
6835
|
$A as AvAccordionsGroup,
|
|
6833
|
-
|
|
6836
|
+
wn as AvAlert,
|
|
6834
6837
|
lu as AvAutocomplete,
|
|
6835
6838
|
YA as AvBadge,
|
|
6836
6839
|
fu as AvBreadcrumb,
|