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