@arche-mc2/vue-ui-lib 1.2.45 → 1.2.47

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as s1, openBlock as b, createElementBlock as S, mergeProps as g3, toDisplayString as q, ref as Z, computed as W, normalizeStyle as w1, normalizeClass as J, unref as S1, createCommentVNode as F, createElementVNode as I, createBlock as i1, renderSlot as J1, h as pe, Fragment as h1, Teleport as Ze, useModel as k4, watch as x1, withDirectives as Na, vModelCheckbox as D4, createVNode as t1, mergeModels as I4, resolveDynamicComponent as ja, normalizeProps as V4, withCtx as C1, onMounted as _3, nextTick as v3, getCurrentScope as B4, onScopeDispose as R4, getCurrentInstance as Ua, toRef as T4, readonly as H4, customRef as L4, shallowRef as $1, toValue as I1, useTemplateRef as De, renderList as E1, createTextVNode as x3, useSlots as Ka, onBeforeUnmount as Pa, withModifiers as Wa, onUnmounted as Qa, Transition as O4, watchEffect as F4, inject as a6 } from "vue";
1
+ import { defineComponent as s1, openBlock as b, createElementBlock as S, mergeProps as g3, toDisplayString as q, ref as Z, computed as K, normalizeStyle as w1, normalizeClass as J, unref as S1, createCommentVNode as F, createElementVNode as I, createBlock as i1, renderSlot as J1, h as pe, Fragment as h1, Teleport as Ze, useModel as k4, watch as x1, withDirectives as Na, vModelCheckbox as D4, createVNode as t1, mergeModels as I4, resolveDynamicComponent as ja, normalizeProps as V4, withCtx as C1, onMounted as _3, nextTick as v3, getCurrentScope as B4, onScopeDispose as R4, getCurrentInstance as Ua, toRef as T4, readonly as H4, customRef as L4, shallowRef as $1, toValue as I1, useTemplateRef as De, renderList as E1, createTextVNode as x3, useSlots as Ka, onBeforeUnmount as Pa, withModifiers as Wa, onUnmounted as Qa, Transition as O4, watchEffect as F4, inject as a6 } from "vue";
2
2
  const N4 = ["src", "alt"], j4 = {
3
3
  key: 1,
4
4
  class: "amc2-avatar__initials"
@@ -53,7 +53,7 @@ const G4 = ["width", "height", "fill"], J4 = { key: 0 }, _4 = ["href", "id"], Z4
53
53
  id: {}
54
54
  },
55
55
  setup(a) {
56
- const e = a, t = e.classIcon ?? "icon-container", i = Z(!1), n = W(() => ({
56
+ const e = a, t = e.classIcon ?? "icon-container", i = Z(!1), n = K(() => ({
57
57
  "--icon-color-primary": i.value && e.colorHover || e.color,
58
58
  "--icon-color-secondary": i.value && e.colorSecondaryHover || e.colorSecondary
59
59
  }));
@@ -96,7 +96,7 @@ const G4 = ["width", "height", "fill"], J4 = { key: 0 }, _4 = ["href", "id"], Z4
96
96
  style: t
97
97
  }));
98
98
  }
99
- }), tl = ["disabled", "inert", "id"], Ih = /* @__PURE__ */ s1({
99
+ }), tl = ["disabled", "inert", "id"], Vh = /* @__PURE__ */ s1({
100
100
  name: "ButtonBase",
101
101
  __name: "ButtonBase",
102
102
  props: {
@@ -4629,8 +4629,8 @@ function p7(a, e, t, i) {
4629
4629
  }
4630
4630
  let B = n.eventStore;
4631
4631
  for (let x of y.allows) {
4632
- let H = Object.assign(Object.assign({}, t), { range: g.range, allDay: w.allDay }), T = B.defs[w.defId], X = B.instances[m], P;
4633
- if (T ? P = new A1(e, T, X) : P = new A1(e, w), !x(k2(H, e), P))
4632
+ let H = Object.assign(Object.assign({}, t), { range: g.range, allDay: w.allDay }), T = B.defs[w.defId], X = B.instances[m], W;
4633
+ if (T ? W = new A1(e, T, X) : W = new A1(e, w), !x(k2(H, e), W))
4634
4634
  return !1;
4635
4635
  }
4636
4636
  }
@@ -8959,10 +8959,10 @@ class Dc extends c1 {
8959
8959
  null,
8960
8960
  this.renderHiddenGroups(z, e),
8961
8961
  w.map((v) => {
8962
- let { seg: B, rect: x } = v, H = B.eventRange.instance.instanceId, T = p || !!(!t[H] && x), X = It(x && x.span), P = !p && x ? this.computeSegHStyle(x) : { left: 0, right: 0 }, K = !!x && x.stackForward > 0, l1 = !!x && x.span.end - x.span.start < o;
8962
+ let { seg: B, rect: x } = v, H = B.eventRange.instance.instanceId, T = p || !!(!t[H] && x), X = It(x && x.span), W = !p && x ? this.computeSegHStyle(x) : { left: 0, right: 0 }, P = !!x && x.stackForward > 0, l1 = !!x && x.span.end - x.span.start < o;
8963
8963
  return A(
8964
8964
  "div",
8965
- { className: "fc-timegrid-event-harness" + (K ? " fc-timegrid-event-harness-inset" : ""), key: s || H, style: Object.assign(Object.assign({ visibility: T ? "" : "hidden" }, X), P) },
8965
+ { className: "fc-timegrid-event-harness" + (P ? " fc-timegrid-event-harness-inset" : ""), key: s || H, style: Object.assign(Object.assign({ visibility: T ? "" : "hidden" }, X), W) },
8966
8966
  A(jn, Object.assign({ seg: B, isDragging: i, isResizing: n, isDateSelecting: l, isSelected: H === h, isShort: l1 }, k3(B, m, g)))
8967
8967
  );
8968
8968
  })
@@ -9546,14 +9546,14 @@ function oa(a) {
9546
9546
  }
9547
9547
  if (n === U1 || (n === j1 || n === Z1) && l === O0) {
9548
9548
  z = X1;
9549
- var P = d && x === B && B.visualViewport ? B.visualViewport.width : (
9549
+ var W = d && x === B && B.visualViewport ? B.visualViewport.width : (
9550
9550
  // $FlowFixMe[prop-missing]
9551
9551
  x[T]
9552
9552
  );
9553
- h -= P - i.width, h *= o ? 1 : -1;
9553
+ h -= W - i.width, h *= o ? 1 : -1;
9554
9554
  }
9555
9555
  }
9556
- var K = Object.assign({
9556
+ var P = Object.assign({
9557
9557
  position: r
9558
9558
  }, u && f8), l1 = c === !0 ? p8({
9559
9559
  x: h,
@@ -9564,9 +9564,9 @@ function oa(a) {
9564
9564
  };
9565
9565
  if (h = l1.x, g = l1.y, o) {
9566
9566
  var N;
9567
- return Object.assign({}, K, (N = {}, N[v] = w ? "0" : "", N[z] = y ? "0" : "", N.transform = (B.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", N));
9567
+ return Object.assign({}, P, (N = {}, N[v] = w ? "0" : "", N[z] = y ? "0" : "", N.transform = (B.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", N));
9568
9568
  }
9569
- return Object.assign({}, K, (e = {}, e[v] = w ? g + "px" : "", e[z] = y ? h + "px" : "", e.transform = "", e));
9569
+ return Object.assign({}, P, (e = {}, e[v] = w ? g + "px" : "", e[z] = y ? h + "px" : "", e.transform = "", e));
9570
9570
  }
9571
9571
  function v8(a) {
9572
9572
  var e = a.state, t = a.options, i = t.gpuAcceleration, n = i === void 0 ? !0 : i, l = t.adaptive, s = l === void 0 ? !0 : l, r = t.roundOffsets, o = r === void 0 ? !0 : r, u = {
@@ -9770,20 +9770,20 @@ function F0(a, e) {
9770
9770
  reference: x,
9771
9771
  element: z,
9772
9772
  placement: n
9773
- }), T = a2(Object.assign({}, z, H)), X = f === S0 ? T : x, P = {
9773
+ }), T = a2(Object.assign({}, z, H)), X = f === S0 ? T : x, W = {
9774
9774
  top: B.top - X.top + y.top,
9775
9775
  bottom: X.bottom - B.bottom + y.bottom,
9776
9776
  left: B.left - X.left + y.left,
9777
9777
  right: X.right - B.right + y.right
9778
- }, K = a.modifiersData.offset;
9779
- if (f === S0 && K) {
9780
- var l1 = K[n];
9781
- Object.keys(P).forEach(function(N) {
9778
+ }, P = a.modifiersData.offset;
9779
+ if (f === S0 && P) {
9780
+ var l1 = P[n];
9781
+ Object.keys(W).forEach(function(N) {
9782
9782
  var R = [X1, Z1].indexOf(N) >= 0 ? 1 : -1, C = [j1, Z1].indexOf(N) >= 0 ? "y" : "x";
9783
- P[N] += l1[C] * R;
9783
+ W[N] += l1[C] * R;
9784
9784
  });
9785
9785
  }
9786
- return P;
9786
+ return W;
9787
9787
  }
9788
9788
  function S8(a, e) {
9789
9789
  e === void 0 && (e = {});
@@ -9823,9 +9823,9 @@ function k8(a) {
9823
9823
  flipVariations: m,
9824
9824
  allowedAutoPlacements: g
9825
9825
  }) : g1);
9826
- }, []), B = e.rects.reference, x = e.rects.popper, H = /* @__PURE__ */ new Map(), T = !0, X = v[0], P = 0; P < v.length; P++) {
9827
- var K = v[P], l1 = r3(K), N = g0(K) === p0, R = [j1, Z1].indexOf(l1) >= 0, C = R ? "width" : "height", k = F0(e, {
9828
- placement: K,
9826
+ }, []), B = e.rects.reference, x = e.rects.popper, H = /* @__PURE__ */ new Map(), T = !0, X = v[0], W = 0; W < v.length; W++) {
9827
+ var P = v[W], l1 = r3(P), N = g0(P) === p0, R = [j1, Z1].indexOf(l1) >= 0, C = R ? "width" : "height", k = F0(e, {
9828
+ placement: P,
9829
9829
  boundary: c,
9830
9830
  rootBoundary: d,
9831
9831
  altBoundary: f,
@@ -9836,10 +9836,10 @@ function k8(a) {
9836
9836
  if (l && L.push(k[l1] <= 0), r && L.push(k[V] <= 0, k[D] <= 0), L.every(function(p1) {
9837
9837
  return p1;
9838
9838
  })) {
9839
- X = K, T = !1;
9839
+ X = P, T = !1;
9840
9840
  break;
9841
9841
  }
9842
- H.set(K, L);
9842
+ H.set(P, L);
9843
9843
  }
9844
9844
  if (T)
9845
9845
  for (var j = m ? 3 : 1, $ = function(g1) {
@@ -9959,13 +9959,13 @@ function F8(a) {
9959
9959
  altBoundary: c
9960
9960
  }), y = r3(e.placement), w = g0(e.placement), z = !w, v = q2(y), B = O8(v), x = e.modifiersData.popperOffsets, H = e.rects.reference, T = e.rects.popper, X = typeof g == "function" ? g(Object.assign({}, e.rects, {
9961
9961
  placement: e.placement
9962
- })) : g, P = typeof X == "number" ? {
9962
+ })) : g, W = typeof X == "number" ? {
9963
9963
  mainAxis: X,
9964
9964
  altAxis: X
9965
9965
  } : Object.assign({
9966
9966
  mainAxis: 0,
9967
9967
  altAxis: 0
9968
- }, X), K = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, l1 = {
9968
+ }, X), P = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, l1 = {
9969
9969
  x: 0,
9970
9970
  y: 0
9971
9971
  };
@@ -9974,11 +9974,11 @@ function F8(a) {
9974
9974
  var N, R = v === "y" ? j1 : U1, C = v === "y" ? Z1 : X1, k = v === "y" ? "height" : "width", V = x[v], D = V + p[R], L = V - p[C], j = h ? -T[k] / 2 : 0, $ = w === p0 ? H[k] : T[k], o1 = w === p0 ? -T[k] : -H[k], f1 = e.elements.arrow, p1 = h && f1 ? Y2(f1) : {
9975
9975
  width: 0,
9976
9976
  height: 0
9977
- }, g1 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qn(), k1 = g1[R], O1 = g1[C], R1 = V0(0, H[k], p1[k]), F1 = z ? H[k] / 2 - j - R1 - k1 - P.mainAxis : $ - R1 - k1 - P.mainAxis, y1 = z ? -H[k] / 2 + j + R1 + O1 + P.mainAxis : o1 + R1 + O1 + P.mainAxis, T1 = e.elements.arrow && Y0(e.elements.arrow), a3 = T1 ? v === "y" ? T1.clientTop || 0 : T1.clientLeft || 0 : 0, i3 = (N = K?.[v]) != null ? N : 0, J0 = V + F1 - i3 - a3, _0 = V + y1 - i3, w0 = V0(h ? Ye(D, J0) : D, V, h ? W3(L, _0) : L);
9977
+ }, g1 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qn(), k1 = g1[R], O1 = g1[C], R1 = V0(0, H[k], p1[k]), F1 = z ? H[k] / 2 - j - R1 - k1 - W.mainAxis : $ - R1 - k1 - W.mainAxis, y1 = z ? -H[k] / 2 + j + R1 + O1 + W.mainAxis : o1 + R1 + O1 + W.mainAxis, T1 = e.elements.arrow && Y0(e.elements.arrow), a3 = T1 ? v === "y" ? T1.clientTop || 0 : T1.clientLeft || 0 : 0, i3 = (N = P?.[v]) != null ? N : 0, J0 = V + F1 - i3 - a3, _0 = V + y1 - i3, w0 = V0(h ? Ye(D, J0) : D, V, h ? W3(L, _0) : L);
9978
9978
  x[v] = w0, l1[v] = w0 - V;
9979
9979
  }
9980
9980
  if (r) {
9981
- var E0, Z0 = v === "x" ? j1 : U1, X0 = v === "x" ? Z1 : X1, d3 = x[B], z3 = B === "y" ? "height" : "width", z0 = d3 + p[Z0], T3 = d3 - p[X0], C0 = [j1, U1].indexOf(y) !== -1, $0 = (E0 = K?.[B]) != null ? E0 : 0, ee = C0 ? z0 : d3 - H[z3] - T[z3] - $0 + P.altAxis, te = C0 ? d3 + H[z3] + T[z3] - $0 - P.altAxis : T3, ae = h && C0 ? o8(ee, d3, te) : V0(h ? ee : z0, d3, h ? te : T3);
9981
+ var E0, Z0 = v === "x" ? j1 : U1, X0 = v === "x" ? Z1 : X1, d3 = x[B], z3 = B === "y" ? "height" : "width", z0 = d3 + p[Z0], T3 = d3 - p[X0], C0 = [j1, U1].indexOf(y) !== -1, $0 = (E0 = P?.[B]) != null ? E0 : 0, ee = C0 ? z0 : d3 - H[z3] - T[z3] - $0 + W.altAxis, te = C0 ? d3 + H[z3] + T[z3] - $0 - W.altAxis : T3, ae = h && C0 ? o8(ee, d3, te) : V0(h ? ee : z0, d3, h ? te : T3);
9982
9982
  x[B] = ae, l1[B] = ae - d3;
9983
9983
  }
9984
9984
  e.modifiersData[i] = l1;
@@ -10123,8 +10123,8 @@ function G8(a) {
10123
10123
  c.rects = {
10124
10124
  reference: P8(w, Y0(z), c.options.strategy === "fixed"),
10125
10125
  popper: Y2(z)
10126
- }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(P) {
10127
- return c.modifiersData[P.name] = Object.assign({}, P.data);
10126
+ }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(W) {
10127
+ return c.modifiersData[W.name] = Object.assign({}, W.data);
10128
10128
  });
10129
10129
  for (var v = 0; v < c.orderedModifiers.length; v++) {
10130
10130
  if (c.reset === !0) {
@@ -10590,12 +10590,12 @@ function C9(a, e) {
10590
10590
  }), x.addEventListener("mouseleave", function() {
10591
10591
  v.props.interactive && v.props.trigger.indexOf("mouseenter") >= 0 && R().addEventListener("mousemove", m);
10592
10592
  }), v;
10593
- function P() {
10593
+ function W() {
10594
10594
  var M = v.props.touch;
10595
10595
  return Array.isArray(M) ? M : [M, 0];
10596
10596
  }
10597
- function K() {
10598
- return P()[0] === "hold";
10597
+ function P() {
10598
+ return W()[0] === "hold";
10599
10599
  }
10600
10600
  function l1() {
10601
10601
  var M;
@@ -10714,7 +10714,7 @@ function C9(a, e) {
10714
10714
  });
10715
10715
  }
10716
10716
  function T1() {
10717
- K() && (y1("touchstart", i3, {
10717
+ P() && (y1("touchstart", i3, {
10718
10718
  passive: !0
10719
10719
  }), y1("touchend", _0, {
10720
10720
  passive: !0
@@ -10776,7 +10776,7 @@ function C9(a, e) {
10776
10776
  v.props.trigger.indexOf("focusin") < 0 && M.target !== N() || v.props.interactive && M.relatedTarget && x.contains(M.relatedTarget) || T3(M);
10777
10777
  }
10778
10778
  function E0(M) {
10779
- return l3.isTouch ? K() !== M.type.indexOf("touch") >= 0 : !1;
10779
+ return l3.isTouch ? P() !== M.type.indexOf("touch") >= 0 : !1;
10780
10780
  }
10781
10781
  function Z0() {
10782
10782
  X0();
@@ -10853,7 +10853,7 @@ function C9(a, e) {
10853
10853
  }
10854
10854
  function z0(M) {
10855
10855
  v.clearDelayTimeouts(), M && D("onTrigger", [v, M]), g1();
10856
- var O = k(!0), G = P(), u1 = G[0], r1 = G[1];
10856
+ var O = k(!0), G = W(), u1 = G[0], r1 = G[1];
10857
10857
  l3.isTouch && u1 === "hold" && r1 && (O = r1), O ? i = setTimeout(function() {
10858
10858
  v.show();
10859
10859
  }, O) : v.show();
@@ -10991,7 +10991,7 @@ Object.assign({}, Wn, {
10991
10991
  q0.setDefaultProps({
10992
10992
  render: o4
10993
10993
  });
10994
- const Vh = /* @__PURE__ */ s1({
10994
+ const Bh = /* @__PURE__ */ s1({
10995
10995
  __name: "CalendarBase",
10996
10996
  props: {
10997
10997
  events: {},
@@ -11001,7 +11001,7 @@ const Vh = /* @__PURE__ */ s1({
11001
11001
  },
11002
11002
  emits: ["onSelectDate", "onClickEvent", "onChangeView"],
11003
11003
  setup(a, { emit: e }) {
11004
- const t = a, i = e, n = W(() => {
11004
+ const t = a, i = e, n = K(() => {
11005
11005
  switch (t.initialView) {
11006
11006
  case "day":
11007
11007
  return "timeGridDay";
@@ -11012,7 +11012,7 @@ const Vh = /* @__PURE__ */ s1({
11012
11012
  default:
11013
11013
  return "dayGridMonth";
11014
11014
  }
11015
- }), l = W(() => t.btnToday ? "today" : ""), s = W(() => t.btnViewOption ? "dayGridMonth,timeGridWeek,timeGridDay" : ""), r = (d) => {
11015
+ }), l = K(() => t.btnToday ? "today" : ""), s = K(() => t.btnViewOption ? "dayGridMonth,timeGridWeek,timeGridDay" : ""), r = (d) => {
11016
11016
  i("onSelectDate", { start: d.startStr, end: d.endStr });
11017
11017
  }, o = (d) => {
11018
11018
  i("onClickEvent", {
@@ -11026,7 +11026,7 @@ const Vh = /* @__PURE__ */ s1({
11026
11026
  start: d.startStr,
11027
11027
  end: d.endStr
11028
11028
  });
11029
- }, c = W(() => ({
11029
+ }, c = K(() => ({
11030
11030
  plugins: [O5, lc, Wc],
11031
11031
  initialView: n.value,
11032
11032
  locale: Qc,
@@ -11192,7 +11192,7 @@ function A0(a) {
11192
11192
  function Ma(...a) {
11193
11193
  const e = [], t = () => {
11194
11194
  e.forEach((r) => r()), e.length = 0;
11195
- }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = W(() => {
11195
+ }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = K(() => {
11196
11196
  const r = Q3(I1(a[0])).filter((o) => o != null);
11197
11197
  return r.every((o) => typeof o != "string") ? r : void 0;
11198
11198
  }), l = u4(
@@ -11234,14 +11234,14 @@ function T9() {
11234
11234
  // @__NO_SIDE_EFFECTS__
11235
11235
  function d4(a) {
11236
11236
  const e = /* @__PURE__ */ T9();
11237
- return W(() => (e.value, !!a()));
11237
+ return K(() => (e.value, !!a()));
11238
11238
  }
11239
11239
  function H9(a, e, t = {}) {
11240
11240
  const { window: i = $2, ...n } = t;
11241
11241
  let l;
11242
11242
  const s = /* @__PURE__ */ d4(() => i && "MutationObserver" in i), r = () => {
11243
11243
  l && (l.disconnect(), l = void 0);
11244
- }, o = W(() => {
11244
+ }, o = K(() => {
11245
11245
  const f = I1(a), h = Q3(f).map(A0).filter(k9);
11246
11246
  return new Set(h);
11247
11247
  }), u = x1(
@@ -11264,7 +11264,7 @@ function L9(a, e, t = {}) {
11264
11264
  let l;
11265
11265
  const s = /* @__PURE__ */ d4(() => i && "ResizeObserver" in i), r = () => {
11266
11266
  l && (l.disconnect(), l = void 0);
11267
- }, o = W(() => {
11267
+ }, o = K(() => {
11268
11268
  const d = I1(a);
11269
11269
  return Array.isArray(d) ? d.map((f) => A0(f)) : [A0(d)];
11270
11270
  }), u = x1(
@@ -11330,7 +11330,7 @@ function x0(a) {
11330
11330
  function Ee(...a) {
11331
11331
  const e = [], t = () => {
11332
11332
  e.forEach((r) => r()), e.length = 0;
11333
- }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = W(() => {
11333
+ }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = K(() => {
11334
11334
  const r = Q3(I1(a[0])).filter((o) => o != null);
11335
11335
  return r.every((o) => typeof o != "string") ? r : void 0;
11336
11336
  }), l = u4(
@@ -11491,7 +11491,7 @@ function N9(a, e = !1) {
11491
11491
  const r = Lt(I1(a));
11492
11492
  !r || !t.value || (r2 && i?.(), r.style.overflow = n, Ot.delete(r), t.value = !1);
11493
11493
  };
11494
- return G0(s), W({
11494
+ return G0(s), K({
11495
11495
  get() {
11496
11496
  return t.value;
11497
11497
  },
@@ -11525,10 +11525,10 @@ const U9 = { class: "flyout-menu-container" }, K9 = {
11525
11525
  },
11526
11526
  emits: ["close"],
11527
11527
  setup(a, { emit: e }) {
11528
- const t = a, i = e, n = Z(!1), l = De("contentWrapper"), s = De("menuContainer"), r = Z({}), o = W(() => {
11528
+ const t = a, i = e, n = Z(!1), l = De("contentWrapper"), s = De("menuContainer"), r = Z({}), o = K(() => {
11529
11529
  const { bottom: m, top: g } = Ge(t.displayEl);
11530
11530
  return { bottom: m, top: g };
11531
- }), u = W(() => {
11531
+ }), u = K(() => {
11532
11532
  const { bottom: m, top: g } = Ge(l);
11533
11533
  return { bottom: m, top: g };
11534
11534
  }), c = () => {
@@ -11547,7 +11547,7 @@ const U9 = { class: "flyout-menu-container" }, K9 = {
11547
11547
  };
11548
11548
  }
11549
11549
  }));
11550
- }, h = W(() => `flyout-${t.position || "bottom"}`);
11550
+ }, h = K(() => `flyout-${t.position || "bottom"}`);
11551
11551
  return (m, g) => (b(), S("div", null, [
11552
11552
  I("div", U9, [
11553
11553
  I("div", {
@@ -11588,7 +11588,7 @@ const U9 = { class: "flyout-menu-container" }, K9 = {
11588
11588
  },
11589
11589
  emits: ["update:modelValue"],
11590
11590
  setup(a, { emit: e }) {
11591
- const t = a, i = e, n = W(() => ({ ...t.theme ?? {} })), l = (s) => {
11591
+ const t = a, i = e, n = K(() => ({ ...t.theme ?? {} })), l = (s) => {
11592
11592
  const r = s.target;
11593
11593
  i("update:modelValue", r.checked);
11594
11594
  };
@@ -11632,7 +11632,7 @@ const U9 = { class: "flyout-menu-container" }, K9 = {
11632
11632
  setup(a) {
11633
11633
  const e = a, t = Z(!1), i = Z({}), n = Z(null), l = Z(null), s = Z(!1);
11634
11634
  let r = null;
11635
- const o = Ka(), u = W(() => {
11635
+ const o = Ka(), u = K(() => {
11636
11636
  const h = o.content?.();
11637
11637
  return h && h?.length > 0 && h[0].children.length > 0 ? "visible" : "hidden";
11638
11638
  }), c = async () => {
@@ -14105,13 +14105,13 @@ function b4() {
14105
14105
  x[$] = C, D = $;
14106
14106
  }
14107
14107
  return !V && D && (B = D), D || !V && B;
14108
- }, P = function(R, C) {
14108
+ }, W = function(R, C) {
14109
14109
  if (T(R)) return R.clone();
14110
14110
  var k = typeof C == "object" ? C : {};
14111
14111
  return k.date = R, k.args = arguments, new l1(k);
14112
- }, K = v;
14113
- K.l = X, K.i = T, K.w = function(R, C) {
14114
- return P(R, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
14112
+ }, P = v;
14113
+ P.l = X, P.i = T, P.w = function(R, C) {
14114
+ return W(R, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
14115
14115
  };
14116
14116
  var l1 = (function() {
14117
14117
  function R(k) {
@@ -14122,7 +14122,7 @@ function b4() {
14122
14122
  this.$d = (function(V) {
14123
14123
  var D = V.date, L = V.utc;
14124
14124
  if (D === null) return /* @__PURE__ */ new Date(NaN);
14125
- if (K.u(D)) return /* @__PURE__ */ new Date();
14125
+ if (P.u(D)) return /* @__PURE__ */ new Date();
14126
14126
  if (D instanceof Date) return new Date(D);
14127
14127
  if (typeof D == "string" && !/Z$/i.test(D)) {
14128
14128
  var j = D.match(p);
@@ -14137,28 +14137,28 @@ function b4() {
14137
14137
  var k = this.$d;
14138
14138
  this.$y = k.getFullYear(), this.$M = k.getMonth(), this.$D = k.getDate(), this.$W = k.getDay(), this.$H = k.getHours(), this.$m = k.getMinutes(), this.$s = k.getSeconds(), this.$ms = k.getMilliseconds();
14139
14139
  }, C.$utils = function() {
14140
- return K;
14140
+ return P;
14141
14141
  }, C.isValid = function() {
14142
14142
  return this.$d.toString() !== g;
14143
14143
  }, C.isSame = function(k, V) {
14144
- var D = P(k);
14144
+ var D = W(k);
14145
14145
  return this.startOf(V) <= D && D <= this.endOf(V);
14146
14146
  }, C.isAfter = function(k, V) {
14147
- return P(k) < this.startOf(V);
14147
+ return W(k) < this.startOf(V);
14148
14148
  }, C.isBefore = function(k, V) {
14149
- return this.endOf(V) < P(k);
14149
+ return this.endOf(V) < W(k);
14150
14150
  }, C.$g = function(k, V, D) {
14151
- return K.u(k) ? this[V] : this.set(D, k);
14151
+ return P.u(k) ? this[V] : this.set(D, k);
14152
14152
  }, C.unix = function() {
14153
14153
  return Math.floor(this.valueOf() / 1e3);
14154
14154
  }, C.valueOf = function() {
14155
14155
  return this.$d.getTime();
14156
14156
  }, C.startOf = function(k, V) {
14157
- var D = this, L = !!K.u(V) || V, j = K.p(k), $ = function(F1, y1) {
14158
- var T1 = K.w(D.$u ? Date.UTC(D.$y, y1, F1) : new Date(D.$y, y1, F1), D);
14157
+ var D = this, L = !!P.u(V) || V, j = P.p(k), $ = function(F1, y1) {
14158
+ var T1 = P.w(D.$u ? Date.UTC(D.$y, y1, F1) : new Date(D.$y, y1, F1), D);
14159
14159
  return L ? T1 : T1.endOf(u);
14160
14160
  }, o1 = function(F1, y1) {
14161
- return K.w(D.toDate()[F1].apply(D.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(y1)), D);
14161
+ return P.w(D.toDate()[F1].apply(D.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(y1)), D);
14162
14162
  }, f1 = this.$W, p1 = this.$M, g1 = this.$D, k1 = "set" + (this.$u ? "UTC" : "");
14163
14163
  switch (j) {
14164
14164
  case h:
@@ -14183,7 +14183,7 @@ function b4() {
14183
14183
  }, C.endOf = function(k) {
14184
14184
  return this.startOf(k, !1);
14185
14185
  }, C.$set = function(k, V) {
14186
- var D, L = K.p(k), j = "set" + (this.$u ? "UTC" : ""), $ = (D = {}, D[u] = j + "Date", D[m] = j + "Date", D[d] = j + "Month", D[h] = j + "FullYear", D[o] = j + "Hours", D[r] = j + "Minutes", D[s] = j + "Seconds", D[l] = j + "Milliseconds", D)[L], o1 = L === u ? this.$D + (V - this.$W) : V;
14186
+ var D, L = P.p(k), j = "set" + (this.$u ? "UTC" : ""), $ = (D = {}, D[u] = j + "Date", D[m] = j + "Date", D[d] = j + "Month", D[h] = j + "FullYear", D[o] = j + "Hours", D[r] = j + "Minutes", D[s] = j + "Seconds", D[l] = j + "Milliseconds", D)[L], o1 = L === u ? this.$D + (V - this.$W) : V;
14187
14187
  if (L === d || L === h) {
14188
14188
  var f1 = this.clone().set(m, 1);
14189
14189
  f1.$d[$](o1), f1.init(), this.$d = f1.set(m, Math.min(this.$D, f1.daysInMonth())).$d;
@@ -14192,29 +14192,29 @@ function b4() {
14192
14192
  }, C.set = function(k, V) {
14193
14193
  return this.clone().$set(k, V);
14194
14194
  }, C.get = function(k) {
14195
- return this[K.p(k)]();
14195
+ return this[P.p(k)]();
14196
14196
  }, C.add = function(k, V) {
14197
14197
  var D, L = this;
14198
14198
  k = Number(k);
14199
- var j = K.p(V), $ = function(p1) {
14200
- var g1 = P(L);
14201
- return K.w(g1.date(g1.date() + Math.round(p1 * k)), L);
14199
+ var j = P.p(V), $ = function(p1) {
14200
+ var g1 = W(L);
14201
+ return P.w(g1.date(g1.date() + Math.round(p1 * k)), L);
14202
14202
  };
14203
14203
  if (j === d) return this.set(d, this.$M + k);
14204
14204
  if (j === h) return this.set(h, this.$y + k);
14205
14205
  if (j === u) return $(1);
14206
14206
  if (j === c) return $(7);
14207
14207
  var o1 = (D = {}, D[r] = i, D[o] = n, D[s] = t, D)[j] || 1, f1 = this.$d.getTime() + k * o1;
14208
- return K.w(f1, this);
14208
+ return P.w(f1, this);
14209
14209
  }, C.subtract = function(k, V) {
14210
14210
  return this.add(-1 * k, V);
14211
14211
  }, C.format = function(k) {
14212
14212
  var V = this, D = this.$locale();
14213
14213
  if (!this.isValid()) return D.invalidDate || g;
14214
- var L = k || "YYYY-MM-DDTHH:mm:ssZ", j = K.z(this), $ = this.$H, o1 = this.$m, f1 = this.$M, p1 = D.weekdays, g1 = D.months, k1 = D.meridiem, O1 = function(y1, T1, a3, i3) {
14214
+ var L = k || "YYYY-MM-DDTHH:mm:ssZ", j = P.z(this), $ = this.$H, o1 = this.$m, f1 = this.$M, p1 = D.weekdays, g1 = D.months, k1 = D.meridiem, O1 = function(y1, T1, a3, i3) {
14215
14215
  return y1 && (y1[T1] || y1(V, L)) || a3[T1].slice(0, i3);
14216
14216
  }, R1 = function(y1) {
14217
- return K.s($ % 12 || 12, y1, "0");
14217
+ return P.s($ % 12 || 12, y1, "0");
14218
14218
  }, F1 = k1 || function(y1, T1, a3) {
14219
14219
  var i3 = y1 < 12 ? "AM" : "PM";
14220
14220
  return a3 ? i3.toLowerCase() : i3;
@@ -14225,11 +14225,11 @@ function b4() {
14225
14225
  case "YY":
14226
14226
  return String(V.$y).slice(-2);
14227
14227
  case "YYYY":
14228
- return K.s(V.$y, 4, "0");
14228
+ return P.s(V.$y, 4, "0");
14229
14229
  case "M":
14230
14230
  return f1 + 1;
14231
14231
  case "MM":
14232
- return K.s(f1 + 1, 2, "0");
14232
+ return P.s(f1 + 1, 2, "0");
14233
14233
  case "MMM":
14234
14234
  return O1(D.monthsShort, f1, g1, 3);
14235
14235
  case "MMMM":
@@ -14237,7 +14237,7 @@ function b4() {
14237
14237
  case "D":
14238
14238
  return V.$D;
14239
14239
  case "DD":
14240
- return K.s(V.$D, 2, "0");
14240
+ return P.s(V.$D, 2, "0");
14241
14241
  case "d":
14242
14242
  return String(V.$W);
14243
14243
  case "dd":
@@ -14249,7 +14249,7 @@ function b4() {
14249
14249
  case "H":
14250
14250
  return String($);
14251
14251
  case "HH":
14252
- return K.s($, 2, "0");
14252
+ return P.s($, 2, "0");
14253
14253
  case "h":
14254
14254
  return R1(1);
14255
14255
  case "hh":
@@ -14261,13 +14261,13 @@ function b4() {
14261
14261
  case "m":
14262
14262
  return String(o1);
14263
14263
  case "mm":
14264
- return K.s(o1, 2, "0");
14264
+ return P.s(o1, 2, "0");
14265
14265
  case "s":
14266
14266
  return String(V.$s);
14267
14267
  case "ss":
14268
- return K.s(V.$s, 2, "0");
14268
+ return P.s(V.$s, 2, "0");
14269
14269
  case "SSS":
14270
- return K.s(V.$ms, 3, "0");
14270
+ return P.s(V.$ms, 3, "0");
14271
14271
  case "Z":
14272
14272
  return j;
14273
14273
  }
@@ -14277,8 +14277,8 @@ function b4() {
14277
14277
  }, C.utcOffset = function() {
14278
14278
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
14279
14279
  }, C.diff = function(k, V, D) {
14280
- var L, j = this, $ = K.p(V), o1 = P(k), f1 = (o1.utcOffset() - this.utcOffset()) * i, p1 = this - o1, g1 = function() {
14281
- return K.m(j, o1);
14280
+ var L, j = this, $ = P.p(V), o1 = W(k), f1 = (o1.utcOffset() - this.utcOffset()) * i, p1 = this - o1, g1 = function() {
14281
+ return P.m(j, o1);
14282
14282
  };
14283
14283
  switch ($) {
14284
14284
  case h:
@@ -14308,7 +14308,7 @@ function b4() {
14308
14308
  default:
14309
14309
  L = p1;
14310
14310
  }
14311
- return D ? L : K.a(L);
14311
+ return D ? L : P.a(L);
14312
14312
  }, C.daysInMonth = function() {
14313
14313
  return this.endOf(d).$D;
14314
14314
  }, C.$locale = function() {
@@ -14318,7 +14318,7 @@ function b4() {
14318
14318
  var D = this.clone(), L = X(k, V, !0);
14319
14319
  return L && (D.$L = L), D;
14320
14320
  }, C.clone = function() {
14321
- return K.w(this.$d, this);
14321
+ return P.w(this.$d, this);
14322
14322
  }, C.toDate = function() {
14323
14323
  return new Date(this.valueOf());
14324
14324
  }, C.toJSON = function() {
@@ -14329,15 +14329,15 @@ function b4() {
14329
14329
  return this.$d.toUTCString();
14330
14330
  }, R;
14331
14331
  })(), N = l1.prototype;
14332
- return P.prototype = N, [["$ms", l], ["$s", s], ["$m", r], ["$H", o], ["$W", u], ["$M", d], ["$y", h], ["$D", m]].forEach((function(R) {
14332
+ return W.prototype = N, [["$ms", l], ["$s", s], ["$m", r], ["$H", o], ["$W", u], ["$M", d], ["$y", h], ["$D", m]].forEach((function(R) {
14333
14333
  N[R[1]] = function(C) {
14334
14334
  return this.$g(C, R[0], R[1]);
14335
14335
  };
14336
- })), P.extend = function(R, C) {
14337
- return R.$i || (R(C, l1, P), R.$i = !0), P;
14338
- }, P.locale = X, P.isDayjs = T, P.unix = function(R) {
14339
- return P(1e3 * R);
14340
- }, P.en = x[B], P.Ls = x, P.p = {}, P;
14336
+ })), W.extend = function(R, C) {
14337
+ return R.$i || (R(C, l1, W), R.$i = !0), W;
14338
+ }, W.locale = X, W.isDayjs = T, W.unix = function(R) {
14339
+ return W(1e3 * R);
14340
+ }, W.en = x[B], W.Ls = x, W.p = {}, W;
14341
14341
  }));
14342
14342
  })(Ce)), Ce.exports;
14343
14343
  }
@@ -14466,12 +14466,12 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14466
14466
  },
14467
14467
  emits: ["updateNavDate", "updateNavType"],
14468
14468
  setup(a, { emit: e }) {
14469
- const t = a, i = e, n = Z(t.navigationDate), l = W(() => d1(t.navigationDate).format("MMMM")), s = W(() => d1(t.navigationDate).format("YYYY")), r = W(() => {
14469
+ const t = a, i = e, n = Z(t.navigationDate), l = K(() => d1(t.navigationDate).format("MMMM")), s = K(() => d1(t.navigationDate).format("YYYY")), r = K(() => {
14470
14470
  const c = Number(s.value);
14471
14471
  return `${c - 8} - ${c + 7}`;
14472
- }), o = W(
14472
+ }), o = K(
14473
14473
  () => [z1.Day, z1.Month].includes(t.navType)
14474
- ), u = W(() => (c) => {
14474
+ ), u = K(() => (c) => {
14475
14475
  const d = (f) => c === "left" ? -f : f;
14476
14476
  switch (t.navType) {
14477
14477
  case z1.Day:
@@ -14552,7 +14552,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14552
14552
  setup(a, { emit: e }) {
14553
14553
  const t = a, i = e, n = Z(t.navigationDate), l = Mu(void 0, { dayFormat: "ddd" }).map(({ day: p }) => p), s = (p) => t.min === void 0 || p.isAfter(d1(t.min).startOf("day")), r = (p) => t.max === void 0 || p.isBefore(d1(t.max).endOf("day")), o = (p) => s(p) && r(p), u = (p) => {
14554
14554
  n.value = p;
14555
- }, c = W(() => {
14555
+ }, c = K(() => {
14556
14556
  const p = [];
14557
14557
  let y = parseInt(Eu(t.navigationDate));
14558
14558
  y === 0 && (y = 7);
@@ -14570,7 +14570,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14570
14570
  });
14571
14571
  }
14572
14572
  return p.reverse(), p;
14573
- }), d = W(() => {
14573
+ }), d = K(() => {
14574
14574
  const p = [];
14575
14575
  for (let y = 1; y <= zu(t.navigationDate); y++) {
14576
14576
  const w = d1(t.navigationDate).date(y), z = t.selectedDate !== void 0 && Cu(t.selectedDate, w.toDate()), v = o(d1(t.navigationDate).date(y));
@@ -14585,10 +14585,10 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14585
14585
  });
14586
14586
  }
14587
14587
  return p;
14588
- }), f = W(() => [
14588
+ }), f = K(() => [
14589
14589
  ...c.value,
14590
14590
  ...d.value
14591
- ]), h = W(() => {
14591
+ ]), h = K(() => {
14592
14592
  const p = [];
14593
14593
  let y = [];
14594
14594
  f.value.forEach((z, v) => {
@@ -14625,7 +14625,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14625
14625
  p[z] = v;
14626
14626
  }
14627
14627
  return p;
14628
- }), m = W(() => [...Array(4).keys()].map((w) => {
14628
+ }), m = K(() => [...Array(4).keys()].map((w) => {
14629
14629
  const z = w * 3;
14630
14630
  return Su.slice(z, z + 3).map((B, x) => {
14631
14631
  const H = d1(t.navigationDate).month(z + x);
@@ -14634,7 +14634,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14634
14634
  onClick: () => u(H.toDate())
14635
14635
  };
14636
14636
  });
14637
- })), g = W(() => {
14637
+ })), g = K(() => {
14638
14638
  const z = Number(xu(t.navigationDate)) - 8, v = [];
14639
14639
  for (let B = z; B < z + 16; B++)
14640
14640
  v.push(B);
@@ -14773,7 +14773,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14773
14773
  date: "Date"
14774
14774
  }, l = e, s = Z(t.modelValue ?? ""), r = Z(s.value !== ""), o = Z(!1), u = Z(!1), c = Z(null), d = Z({}), f = Z([]), h = Z(!1), m = Z(null);
14775
14775
  let g = null;
14776
- const p = W(() => t.type === "password" ? i.value ? "text" : "password" : t.type === "date" ? "text" : t.type ?? "text"), y = W(() => i.value ? "eye-off" : "eye"), w = W(() => t.clearable === !0 && t.modelValue !== "" && !t.disabled), z = W(() => t.passwordControl && t.type === "password" && t.modelValue !== ""), v = W(() => t.label && t.modelValue === "" ? "absolute" : "relative"), B = () => {
14776
+ const p = K(() => t.type === "password" ? i.value ? "text" : "password" : t.type === "date" ? "text" : t.type ?? "text"), y = K(() => i.value ? "eye-off" : "eye"), w = K(() => t.clearable === !0 && t.modelValue !== "" && !t.disabled), z = K(() => t.passwordControl && t.type === "password" && t.modelValue !== ""), v = K(() => t.label && t.modelValue === "" ? "absolute" : "relative"), B = () => {
14777
14777
  if (!t.suggestions) return;
14778
14778
  const V = String(s.value).toLowerCase();
14779
14779
  f.value = t.suggestions.filter(
@@ -14812,9 +14812,9 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14812
14812
  year: "numeric"
14813
14813
  });
14814
14814
  u.value = !1, l("update:modelValue", D), g && (g.value = D);
14815
- }, P = () => {
14815
+ }, W = () => {
14816
14816
  r.value = !0, t.type === "date" && g && (u.value = !0, g.updateOptions({ lazy: !1 })), h.value = !0;
14817
- }, K = () => {
14817
+ }, P = () => {
14818
14818
  setTimeout(() => {
14819
14819
  const V = document.activeElement;
14820
14820
  if (!(document.querySelector(".datepicker-popup")?.contains(V) ?? !1) && (u.value = !1, r.value = s.value !== "", t.type === "date" && g)) {
@@ -14828,7 +14828,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14828
14828
  return !isNaN($.getTime()) && $.getFullYear() === j && $.getMonth() === L - 1 && $.getDate() === D;
14829
14829
  }, N = () => {
14830
14830
  t.type === "date" && (o.value = !1, r.value = !1, g?.updateOptions({ lazy: !0 })), l("update:modelValue", "");
14831
- }, R = W(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), C = () => {
14831
+ }, R = K(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), C = () => {
14832
14832
  i.value = !i.value;
14833
14833
  }, k = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
14834
14834
  return _3(() => {
@@ -14877,8 +14877,8 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14877
14877
  placeholder: k(),
14878
14878
  autocomplete: "off",
14879
14879
  onInput: T,
14880
- onFocus: P,
14881
- onBlur: K
14880
+ onFocus: W,
14881
+ onBlur: P
14882
14882
  }, null, 40, qu)) : (b(), S("input", {
14883
14883
  key: 1,
14884
14884
  ref_key: "inputRef",
@@ -14888,8 +14888,8 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14888
14888
  placeholder: k(),
14889
14889
  autocomplete: "off",
14890
14890
  onInput: T,
14891
- onFocus: P,
14892
- onBlur: K
14891
+ onFocus: W,
14892
+ onBlur: P
14893
14893
  }, null, 40, Gu)),
14894
14894
  I("div", {
14895
14895
  class: J(["input-icon-container", {
@@ -14917,7 +14917,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14917
14917
  t1(a1, {
14918
14918
  class: J(["amc2-input-icon", o.value ? "alert-circle" : "calendar"]),
14919
14919
  iconName: o.value ? "alert-circle" : "calendar",
14920
- onClick: P
14920
+ onClick: W
14921
14921
  }, null, 8, ["class", "iconName"])
14922
14922
  ])) : F("", !0)
14923
14923
  ], 2),
@@ -14973,7 +14973,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14973
14973
  }, ud = { class: "datagrid-settings-header" }, dd = { class: "col-selection-container" }, hd = { class: "col-selection-options" }, fd = { class: "col-selection-option-text" }, pd = {
14974
14974
  key: 0,
14975
14975
  class: "datagrid-tbody-cell datagrid-cell datagrid-checkbox-col"
14976
- }, vd = { class: "datagrid-action-menu-container" }, md = { class: "datagrid-loader" }, Oa = 1500, Bh = /* @__PURE__ */ s1({
14976
+ }, vd = { class: "datagrid-action-menu-container" }, md = { class: "datagrid-loader" }, Oa = 1500, Rh = /* @__PURE__ */ s1({
14977
14977
  __name: "DataGrid",
14978
14978
  props: {
14979
14979
  headers: {},
@@ -14988,14 +14988,14 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14988
14988
  },
14989
14989
  emits: ["loadMore", "updateCheckItem", "updateCheckAll"],
14990
14990
  setup(a, { expose: e, emit: t }) {
14991
- const i = a, n = t, l = Z(), s = Z(), r = { height: "17", width: "17" }, o = De("displayContainer"), u = De("settingsCol"), c = Z(""), { right: d, update: f } = Ge(l), { right: h, update: m } = Ge(u), g = W(
14991
+ const i = a, n = t, l = Z(), s = Z(), r = { height: "17", width: "17" }, o = De("displayContainer"), u = De("settingsCol"), c = Z(""), { right: d, update: f } = Ge(l), { right: h, update: m } = Ge(u), g = K(
14992
14992
  () => i.headers.filter((N) => N.visibility.isShown)
14993
- ), p = W(
14993
+ ), p = K(
14994
14994
  () => i.headers.filter((N) => {
14995
14995
  const R = Da(N.label), C = Da(c.value);
14996
14996
  return R.toLowerCase().includes(C.toLowerCase());
14997
14997
  })
14998
- ), y = W(() => {
14998
+ ), y = K(() => {
14999
14999
  let N = g.value.length + (i.selection ? 2 : 1);
15000
15000
  return (i.displaySettings || i.displaySettingsHeader) && N++, { gridColumn: `1 / ${N}` };
15001
15001
  }), w = (N) => {
@@ -15035,7 +15035,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15035
15035
  n("updateCheckItem", N.id, N.isSelected);
15036
15036
  }, B = (N) => {
15037
15037
  n("updateCheckAll", N.target.checked);
15038
- }, x = W(() => {
15038
+ }, x = K(() => {
15039
15039
  const N = h.value - d.value, R = N <= 0;
15040
15040
  return {
15041
15041
  isFullyVisible: R,
@@ -15053,17 +15053,17 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15053
15053
  }
15054
15054
  ), T = () => {
15055
15055
  s.value && H.observe(s.value);
15056
- }, X = () => o.value?.scrollTo(0, 0), P = async () => {
15056
+ }, X = () => o.value?.scrollTo(0, 0), W = async () => {
15057
15057
  await v3(), l.value && l.value.scrollTo({
15058
15058
  left: l.value.scrollWidth - l.value.clientWidth,
15059
15059
  behavior: "instant"
15060
15060
  });
15061
- }, K = () => {
15061
+ }, P = () => {
15062
15062
  if (!s.value || !l.value) return;
15063
15063
  const N = s.value?.getBoundingClientRect(), R = l.value?.getBoundingClientRect();
15064
15064
  return N.top <= R.top + R.height + Oa;
15065
15065
  }, l1 = () => v3(() => {
15066
- K() && n("loadMore");
15066
+ P() && n("loadMore");
15067
15067
  });
15068
15068
  return x1(() => i.hasMore, T, { flush: "post" }), x1(
15069
15069
  () => i.items,
@@ -15178,7 +15178,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15178
15178
  modelValue: C.visibility.isShown,
15179
15179
  "onUpdate:modelValue": (k) => C.visibility.isShown = k,
15180
15180
  onChange: () => {
15181
- C.visibility.update(C.visibility.isShown), P();
15181
+ C.visibility.update(C.visibility.isShown), W();
15182
15182
  }
15183
15183
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "onChange"])
15184
15184
  ]))), 128))
@@ -15309,15 +15309,15 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15309
15309
  },
15310
15310
  emits: ["update:modelValue"],
15311
15311
  setup(a, { emit: e }) {
15312
- const t = a, i = e, n = Z(""), l = W({
15312
+ const t = a, i = e, n = Z(""), l = K({
15313
15313
  get: () => t.modelValue,
15314
15314
  set: (c) => i("update:modelValue", c)
15315
- }), s = (c) => l.value.some((d) => d.value === c), r = W(() => {
15315
+ }), s = (c) => l.value.some((d) => d.value === c), r = K(() => {
15316
15316
  const c = n.value.toLowerCase();
15317
15317
  return t.options.filter(
15318
15318
  (d) => d.label.toString().toLowerCase().includes(c)
15319
15319
  );
15320
- }), o = W({
15320
+ }), o = K({
15321
15321
  get: () => r.value.length > 0 && r.value.every(
15322
15322
  (c) => l.value.some((d) => d.value === c.value)
15323
15323
  ),
@@ -15403,7 +15403,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15403
15403
  ], 2)
15404
15404
  ]));
15405
15405
  }
15406
- }), Md = { class: "modal" }, Sd = { class: "header-title" }, xd = { class: "modal-content" }, Rh = /* @__PURE__ */ s1({
15406
+ }), Md = { class: "modal" }, Sd = { class: "header-title" }, xd = { class: "modal-content" }, Th = /* @__PURE__ */ s1({
15407
15407
  __name: "ModalBase",
15408
15408
  props: {
15409
15409
  visible: { type: Boolean },
@@ -15430,7 +15430,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15430
15430
  ])
15431
15431
  ], 2)) : F("", !0);
15432
15432
  }
15433
- }), kd = ["disabled", "checked"], Dd = { key: 1 }, Th = /* @__PURE__ */ s1({
15433
+ }), kd = ["disabled", "checked"], Dd = { key: 1 }, Hh = /* @__PURE__ */ s1({
15434
15434
  __name: "RadioBase",
15435
15435
  props: {
15436
15436
  label: {},
@@ -15443,7 +15443,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15443
15443
  },
15444
15444
  emits: ["update:modelValue"],
15445
15445
  setup(a, { emit: e }) {
15446
- const t = a, i = e, n = W(() => ({
15446
+ const t = a, i = e, n = K(() => ({
15447
15447
  ...t.theme
15448
15448
  })), l = () => {
15449
15449
  t.disabled || i("update:modelValue", t.value);
@@ -15466,7 +15466,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15466
15466
  a.label ? (b(), S("span", Dd, q(a.label), 1)) : F("", !0)
15467
15467
  ], 6));
15468
15468
  }
15469
- }), Id = { class: "slot-container" }, Vd = ["disabled"], Bd = { class: "slot-container" }, Rd = ["disabled"], Td = { class: "slot-container" }, Hd = ["disabled"], Hh = /* @__PURE__ */ s1({
15469
+ }), Id = { class: "slot-container" }, Vd = ["disabled"], Bd = { class: "slot-container" }, Rd = ["disabled"], Td = { class: "slot-container" }, Hd = ["disabled"], Lh = /* @__PURE__ */ s1({
15470
15470
  __name: "SegmentedButton",
15471
15471
  props: {
15472
15472
  iconLeft: { default: "arrow-down-a-z" },
@@ -15486,7 +15486,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15486
15486
  setup(a, { emit: e }) {
15487
15487
  const t = a, i = e, n = (s) => {
15488
15488
  t.disabled || i("update:modelValue", s);
15489
- }, l = W(() => ({
15489
+ }, l = K(() => ({
15490
15490
  "--on-color": t.theme?.["amc2-segmented-button-on-color"],
15491
15491
  "--on-hover-color": t.theme?.["amc2-segmented-button-on-hover-color"],
15492
15492
  "--off-color": t.theme?.["amc2-segmented-button-off-color"],
@@ -15578,7 +15578,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15578
15578
  },
15579
15579
  emits: ["update:modelValue", "clear"],
15580
15580
  setup(a, { emit: e }) {
15581
- const t = a, i = e, n = W(() => t.modelValue !== null);
15581
+ const t = a, i = e, n = K(() => t.modelValue !== null);
15582
15582
  function l() {
15583
15583
  i("update:modelValue", null), i("clear");
15584
15584
  }
@@ -15614,9 +15614,9 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15614
15614
  },
15615
15615
  emits: ["update:modelValue", "clearAll", "clear"],
15616
15616
  setup(a, { emit: e }) {
15617
- const t = a, i = e, n = Z(null), l = Z(null), s = Z(t.modelValue.length), r = W(
15617
+ const t = a, i = e, n = Z(null), l = Z(null), s = Z(t.modelValue.length), r = K(
15618
15618
  () => t.modelValue.slice(0, s.value)
15619
- ), o = W(() => t.modelValue.slice(s.value)), u = W(() => !t.disabled && t.clearable && t.modelValue.length > 0);
15619
+ ), o = K(() => t.modelValue.slice(s.value)), u = K(() => !t.disabled && t.clearable && t.modelValue.length > 0);
15620
15620
  function c(h) {
15621
15621
  const m = [...t.modelValue], g = m[h];
15622
15622
  m.splice(h, 1), i("update:modelValue", m), i("clear", g);
@@ -15714,7 +15714,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15714
15714
  }), Wd = {
15715
15715
  key: 0,
15716
15716
  class: "amc2-select-oneitem"
15717
- }, Qd = { class: "amc2-select-label-container" }, Lh = /* @__PURE__ */ s1({
15717
+ }, Qd = { class: "amc2-select-label-container" }, Oh = /* @__PURE__ */ s1({
15718
15718
  __name: "SelectBase",
15719
15719
  props: {
15720
15720
  options: {},
@@ -15728,7 +15728,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15728
15728
  },
15729
15729
  emits: ["update:modelValue"],
15730
15730
  setup(a, { emit: e }) {
15731
- const t = a, i = e, n = Z(!1), l = W({
15731
+ const t = a, i = e, n = Z(!1), l = K({
15732
15732
  get: () => t.modelValue,
15733
15733
  set: (h) => i("update:modelValue", h)
15734
15734
  }), s = Z(null), r = Z(null), o = Z({}), u = Z("down");
@@ -15828,7 +15828,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15828
15828
  }), Yd = { class: "side-menu" }, qd = ["onClick"], Gd = { class: "side-menu-item-label" }, Jd = { class: "side-menu-chevron-container" }, _d = {
15829
15829
  key: 0,
15830
15830
  class: "side-menu-submenu"
15831
- }, Zd = ["onClick"], Oh = /* @__PURE__ */ s1({
15831
+ }, Zd = ["onClick"], Fh = /* @__PURE__ */ s1({
15832
15832
  __name: "SideMenu",
15833
15833
  props: {
15834
15834
  items: {},
@@ -15913,7 +15913,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15913
15913
  ], 2))), 128))
15914
15914
  ]));
15915
15915
  }
15916
- }), Xd = { class: "tabbar-container" }, $d = { class: "tabbar-menu" }, eh = ["onClick"], Fh = /* @__PURE__ */ s1({
15916
+ }), Xd = { class: "tabbar-container" }, $d = { class: "tabbar-menu" }, eh = ["onClick"], Nh = /* @__PURE__ */ s1({
15917
15917
  __name: "TabBar",
15918
15918
  props: {
15919
15919
  listItems: {},
@@ -15950,7 +15950,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15950
15950
  class: ["history-badge", `history-badge--${a.type}`]
15951
15951
  }), q(e[a.type]), 17));
15952
15952
  }
15953
- }), Nh = /* @__PURE__ */ s1({
15953
+ }), jh = /* @__PURE__ */ s1({
15954
15954
  __name: "HistoryFilter",
15955
15955
  props: {
15956
15956
  type: {},
@@ -15969,10 +15969,10 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15969
15969
  onClick: i[0] || (i[0] = (n) => t.$emit("click"))
15970
15970
  }), q(e[a.type]), 17));
15971
15971
  }
15972
- }), ah = { class: "diff-value__pill diff-value__pill--old" }, ih = { class: "diff-value__pill diff-value__pill--new" }, nh = {
15973
- key: 1,
15972
+ }), ah = {
15973
+ key: 0,
15974
15974
  class: "diff-value__pill diff-value__pill--new"
15975
- }, lh = { class: "diff-value__pill diff-value__pill--deleted" }, sh = /* @__PURE__ */ s1({
15975
+ }, ih = { class: "diff-value__pill diff-value__pill--old" }, nh = { class: "diff-value__pill diff-value__pill--new" }, lh = { class: "diff-value__pill diff-value__pill--deleted" }, sh = /* @__PURE__ */ s1({
15976
15976
  name: "DiffValue",
15977
15977
  inheritAttrs: !1,
15978
15978
  __name: "DiffValue",
@@ -15982,9 +15982,14 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15982
15982
  newValue: { default: "" }
15983
15983
  },
15984
15984
  setup(a) {
15985
- return (e, t) => (b(), S("span", g3(e.$attrs, { class: "diff-value" }), [
15986
- a.kind === "modification" ? (b(), S(h1, { key: 0 }, [
15987
- I("del", ah, q(a.oldValue), 1),
15985
+ const e = a, t = K(
15986
+ () => e.kind === "modification" && e.oldValue === ""
15987
+ ), i = K(
15988
+ () => e.kind === "modification" && !t.value && e.newValue === ""
15989
+ );
15990
+ return (n, l) => (b(), S("span", g3(n.$attrs, { class: "diff-value" }), [
15991
+ a.kind === "creation" || t.value ? (b(), S("span", ah, q(a.newValue), 1)) : a.kind === "modification" && !i.value ? (b(), S(h1, { key: 1 }, [
15992
+ I("del", ih, q(a.oldValue), 1),
15988
15993
  t1(a1, {
15989
15994
  "icon-name": "arrow-right",
15990
15995
  width: "16",
@@ -15993,8 +15998,8 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
15993
15998
  "class-icon": "diff-value__arrow",
15994
15999
  "aria-hidden": "true"
15995
16000
  }),
15996
- I("span", ih, q(a.newValue), 1)
15997
- ], 64)) : a.kind === "creation" ? (b(), S("span", nh, q(a.newValue), 1)) : (b(), S(h1, { key: 2 }, [
16001
+ I("span", nh, q(a.newValue), 1)
16002
+ ], 64)) : (b(), S(h1, { key: 2 }, [
15998
16003
  I("del", lh, q(a.oldValue), 1),
15999
16004
  t1(a1, {
16000
16005
  "icon-name": "arrow-right",
@@ -16004,15 +16009,18 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16004
16009
  "class-icon": "diff-value__arrow",
16005
16010
  "aria-hidden": "true"
16006
16011
  }),
16007
- t[0] || (t[0] = I("span", { class: "diff-value__removed-label" }, "Supprimé", -1))
16012
+ l[0] || (l[0] = I("span", { class: "diff-value__removed-label" }, "Supprimé", -1))
16008
16013
  ], 64))
16009
16014
  ], 16));
16010
16015
  }
16011
- }), rh = ["aria-expanded", "aria-label"], oh = { class: "history-item__header" }, ch = { class: "history-item__timestamp" }, uh = { class: "history-item__date" }, dh = { class: "history-item__author" }, hh = { class: "history-item__author-name" }, fh = {
16016
+ }), rh = ["aria-expanded", "aria-label"], oh = { class: "history-item__header" }, ch = { class: "history-item__badge-col" }, uh = { class: "history-item__timestamp" }, dh = { class: "history-item__date" }, hh = {
16017
+ key: 0,
16018
+ class: "history-item__author"
16019
+ }, fh = { class: "history-item__author-name" }, ph = {
16012
16020
  key: 0,
16013
16021
  class: "history-item__details",
16014
16022
  role: "region"
16015
- }, ph = { class: "history-item__label" }, jh = /* @__PURE__ */ s1({
16023
+ }, vh = { class: "history-item__label" }, Uh = /* @__PURE__ */ s1({
16016
16024
  name: "HistoryItem",
16017
16025
  inheritAttrs: !1,
16018
16026
  __name: "HistoryItem",
@@ -16029,30 +16037,35 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16029
16037
  const t = a, i = e, n = Z(t.open);
16030
16038
  x1(
16031
16039
  () => t.open,
16032
- (o) => {
16033
- n.value = o;
16040
+ (u) => {
16041
+ n.value = u;
16034
16042
  }
16035
16043
  );
16036
16044
  const l = {
16037
16045
  modification: "Modification",
16038
16046
  creation: "Création",
16039
16047
  suppression: "Suppression"
16040
- }, s = W(() => {
16041
- const o = [l[t.type]];
16042
- return t.author && o.push(`par ${t.author}`), t.date && o.push(`le ${t.date}`), o.join(" ");
16043
- }), r = () => {
16048
+ }, s = K(() => {
16049
+ const u = t.initials.trim();
16050
+ return t.author.trim() !== "" || u !== "" && u !== "?";
16051
+ }), r = K(() => {
16052
+ const u = [l[t.type]];
16053
+ return t.author && u.push(`par ${t.author}`), t.date && u.push(`le ${t.date}`), u.join(" ");
16054
+ }), o = () => {
16044
16055
  n.value = !n.value, i("update:open", n.value), i("toggle", n.value);
16045
16056
  };
16046
- return (o, u) => (b(), S("button", g3(o.$attrs, {
16057
+ return (u, c) => (b(), S("button", g3(u.$attrs, {
16047
16058
  class: ["history-item", `history-item--${a.type}`],
16048
16059
  type: "button",
16049
16060
  "aria-expanded": n.value,
16050
- "aria-label": s.value,
16051
- onClick: r
16061
+ "aria-label": r.value,
16062
+ onClick: o
16052
16063
  }), [
16053
16064
  I("span", oh, [
16054
- t1(th, { type: a.type }, null, 8, ["type"]),
16055
16065
  I("span", ch, [
16066
+ t1(th, { type: a.type }, null, 8, ["type"])
16067
+ ]),
16068
+ I("span", uh, [
16056
16069
  t1(a1, {
16057
16070
  "icon-name": "history",
16058
16071
  width: "16",
@@ -16061,16 +16074,16 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16061
16074
  "class-icon": "history-item__timestamp-icon",
16062
16075
  "aria-hidden": "true"
16063
16076
  }),
16064
- I("span", uh, q(a.date), 1)
16077
+ I("span", dh, q(a.date), 1)
16065
16078
  ]),
16066
- I("span", dh, [
16079
+ s.value ? (b(), S("span", hh, [
16067
16080
  t1(U4, {
16068
16081
  initials: a.initials,
16069
16082
  size: "sm",
16070
16083
  color: "primary"
16071
16084
  }, null, 8, ["initials"]),
16072
- I("span", hh, q(a.author), 1)
16073
- ]),
16085
+ I("span", fh, q(a.author), 1)
16086
+ ])) : F("", !0),
16074
16087
  t1(a1, {
16075
16088
  "icon-name": "chevron-down",
16076
16089
  width: "24",
@@ -16080,22 +16093,22 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16080
16093
  "aria-hidden": "true"
16081
16094
  })
16082
16095
  ]),
16083
- n.value && a.fields.length ? (b(), S("span", fh, [
16084
- (b(!0), S(h1, null, E1(a.fields, (c, d) => (b(), S("span", {
16085
- key: d,
16096
+ n.value && a.fields.length ? (b(), S("span", ph, [
16097
+ (b(!0), S(h1, null, E1(a.fields, (d, f) => (b(), S("span", {
16098
+ key: f,
16086
16099
  class: "history-item__row"
16087
16100
  }, [
16088
- I("span", ph, q(c.label), 1),
16101
+ I("span", vh, q(d.label), 1),
16089
16102
  t1(sh, {
16090
16103
  kind: a.type,
16091
- "old-value": c.oldValue,
16092
- "new-value": c.newValue
16104
+ "old-value": d.oldValue,
16105
+ "new-value": d.newValue
16093
16106
  }, null, 8, ["kind", "old-value", "new-value"])
16094
16107
  ]))), 128))
16095
16108
  ])) : F("", !0)
16096
16109
  ], 16, rh));
16097
16110
  }
16098
- }), vh = ["disabled"], mh = ["disabled"], Uh = /* @__PURE__ */ s1({
16111
+ }), mh = ["disabled"], gh = ["disabled"], Kh = /* @__PURE__ */ s1({
16099
16112
  __name: "ToggleAdvanced",
16100
16113
  props: {
16101
16114
  labelLeft: {},
@@ -16108,9 +16121,9 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16108
16121
  },
16109
16122
  emits: ["update:modelValue"],
16110
16123
  setup(a, { emit: e }) {
16111
- const t = a, i = e, n = W(() => t.modelValue ?? !1), l = () => {
16124
+ const t = a, i = e, n = K(() => t.modelValue ?? !1), l = () => {
16112
16125
  t.disabled || i("update:modelValue", !n.value);
16113
- }, s = W(() => ({ ...t.theme ?? {} }));
16126
+ }, s = K(() => ({ ...t.theme ?? {} }));
16114
16127
  return (r, o) => (b(), S("div", {
16115
16128
  style: w1(s.value),
16116
16129
  class: J(["amc2-advanced-toggle-container", { disabled: a.disabled }])
@@ -16127,7 +16140,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16127
16140
  width: "24"
16128
16141
  }, null, 8, ["icon-name"])) : F("", !0),
16129
16142
  I("span", null, q(a.labelLeft), 1)
16130
- ], 10, vh),
16143
+ ], 10, mh),
16131
16144
  I("button", {
16132
16145
  class: J(["amc2-toggle-btn right", { active: !n.value }]),
16133
16146
  onClick: l,
@@ -16140,10 +16153,10 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16140
16153
  width: "24"
16141
16154
  }, null, 8, ["icon-name"])) : F("", !0),
16142
16155
  I("span", null, q(a.labelRight), 1)
16143
- ], 10, mh)
16156
+ ], 10, gh)
16144
16157
  ], 6));
16145
16158
  }
16146
- }), gh = { class: "toast-container" }, Ah = { class: "toast-content" }, yh = { class: "toast-close" }, Kh = /* @__PURE__ */ s1({
16159
+ }), Ah = { class: "toast-container" }, yh = { class: "toast-content" }, bh = { class: "toast-close" }, Ph = /* @__PURE__ */ s1({
16147
16160
  __name: "ToastBase",
16148
16161
  setup(a) {
16149
16162
  const e = a6("toasts"), t = a6("removeToast"), i = (s) => {
@@ -16176,12 +16189,12 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16176
16189
  return i6;
16177
16190
  }
16178
16191
  };
16179
- return (s, r) => (b(), S("div", gh, [
16192
+ return (s, r) => (b(), S("div", Ah, [
16180
16193
  (b(!0), S(h1, null, E1(S1(e), (o) => (b(), S("div", {
16181
16194
  key: o.id,
16182
16195
  class: J(["toast", "show", o.intent])
16183
16196
  }, [
16184
- I("div", Ah, [
16197
+ I("div", yh, [
16185
16198
  t1(a1, {
16186
16199
  "icon-name": n(o.intent),
16187
16200
  color: l(o.intent),
@@ -16189,7 +16202,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16189
16202
  height: "30px"
16190
16203
  }, null, 8, ["icon-name", "color"]),
16191
16204
  I("span", null, q(o.message), 1),
16192
- I("div", yh, [
16205
+ I("div", bh, [
16193
16206
  t1(a1, {
16194
16207
  "icon-name": "close",
16195
16208
  onClick: (u) => i(o.id)
@@ -16199,19 +16212,19 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16199
16212
  ], 2))), 128))
16200
16213
  ]));
16201
16214
  }
16202
- }), bh = {
16215
+ }), wh = {
16203
16216
  key: 0,
16204
16217
  class: "widget-header"
16205
- }, wh = { class: "widget-body" }, Eh = {
16218
+ }, Eh = { class: "widget-body" }, zh = {
16206
16219
  key: 0,
16207
16220
  class: "widget-empty"
16208
- }, zh = {
16221
+ }, Ch = {
16209
16222
  key: 1,
16210
16223
  class: "widget-loader"
16211
- }, Ch = {
16224
+ }, Mh = {
16212
16225
  key: 1,
16213
16226
  class: "widget-footer"
16214
- }, Mh = /* @__PURE__ */ s1({
16227
+ }, Sh = /* @__PURE__ */ s1({
16215
16228
  __name: "WidgetBase",
16216
16229
  props: {
16217
16230
  width: { default: "50%" },
@@ -16220,13 +16233,13 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16220
16233
  isLoading: { type: Boolean }
16221
16234
  },
16222
16235
  setup(a) {
16223
- const e = Ka(), t = W(() => {
16236
+ const e = Ka(), t = K(() => {
16224
16237
  const l = e.header?.();
16225
16238
  return !(l && l?.length > 0);
16226
- }), i = W(() => {
16239
+ }), i = K(() => {
16227
16240
  const l = e.body?.();
16228
16241
  return !(l && l?.length > 0);
16229
- }), n = W(() => {
16242
+ }), n = K(() => {
16230
16243
  const l = e.footer?.();
16231
16244
  return !(l && l?.length > 0);
16232
16245
  });
@@ -16238,11 +16251,11 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16238
16251
  backgroundColor: a.color
16239
16252
  })
16240
16253
  }, [
16241
- t.value ? F("", !0) : (b(), S("header", bh, [
16254
+ t.value ? F("", !0) : (b(), S("header", wh, [
16242
16255
  J1(l.$slots, "header", {}, void 0, !0)
16243
16256
  ])),
16244
- I("main", wh, [
16245
- i.value ? (b(), S("div", Eh, [
16257
+ I("main", Eh, [
16258
+ i.value ? (b(), S("div", zh, [
16246
16259
  t1(a1, {
16247
16260
  iconName: "no_data",
16248
16261
  width: "50",
@@ -16251,36 +16264,36 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16251
16264
  }),
16252
16265
  s[0] || (s[0] = I("p", null, "Aucune donnée à afficher", -1))
16253
16266
  ])) : F("", !0),
16254
- a.isLoading ? (b(), S("div", zh, [
16267
+ a.isLoading ? (b(), S("div", Ch, [
16255
16268
  t1(c2)
16256
16269
  ])) : J1(l.$slots, "body", { key: 2 }, void 0, !0)
16257
16270
  ]),
16258
- n.value ? F("", !0) : (b(), S("footer", Ch, [
16271
+ n.value ? F("", !0) : (b(), S("footer", Mh, [
16259
16272
  J1(l.$slots, "footer", {}, void 0, !0)
16260
16273
  ]))
16261
16274
  ], 6));
16262
16275
  }
16263
- }), Ph = /* @__PURE__ */ qa(Mh, [["__scopeId", "data-v-1129d550"]]);
16264
- let Sh = 0;
16276
+ }), Wh = /* @__PURE__ */ qa(Sh, [["__scopeId", "data-v-1129d550"]]);
16277
+ let xh = 0;
16265
16278
  const u0 = Z([]);
16266
- function xh(a, e = "info", t = 3e3) {
16267
- const i = ++Sh;
16279
+ function kh(a, e = "info", t = 3e3) {
16280
+ const i = ++xh;
16268
16281
  u0.value.push({ id: i, message: a, intent: e }), setTimeout(() => {
16269
16282
  u0.value = u0.value.filter((n) => n.id !== i);
16270
16283
  }, t);
16271
16284
  }
16272
- function kh(a) {
16285
+ function Dh(a) {
16273
16286
  u0.value = u0.value.filter((e) => e.id !== a);
16274
16287
  }
16275
- function Wh() {
16288
+ function Qh() {
16276
16289
  return {
16277
- show: xh
16290
+ show: kh
16278
16291
  };
16279
16292
  }
16280
- function Qh(a) {
16281
- a.provide("toasts", u0), a.provide("removeToast", kh);
16293
+ function Yh(a) {
16294
+ a.provide("toasts", u0), a.provide("removeToast", Dh);
16282
16295
  }
16283
- const Yh = [
16296
+ const qh = [
16284
16297
  "NFC-Phone",
16285
16298
  "NFC-card",
16286
16299
  "accounting",
@@ -16816,35 +16829,35 @@ const Yh = [
16816
16829
  ];
16817
16830
  export {
16818
16831
  U4 as AvatarBase,
16819
- Ih as ButtonBase,
16820
- Vh as CalendarBase,
16832
+ Vh as ButtonBase,
16833
+ Bh as CalendarBase,
16821
16834
  s2 as CheckboxBase,
16822
- Bh as DataGrid,
16835
+ Rh as DataGrid,
16823
16836
  Wu as DatePicker,
16824
16837
  sh as DiffValue,
16825
16838
  ka as FlyoutMenu,
16826
16839
  th as HistoryBadge,
16827
- Nh as HistoryFilter,
16828
- jh as HistoryItem,
16840
+ jh as HistoryFilter,
16841
+ Uh as HistoryItem,
16829
16842
  w4 as InputBase,
16830
16843
  Cd as ListWithSearch,
16831
16844
  c2 as LoaderBase,
16832
- Rh as ModalBase,
16845
+ Th as ModalBase,
16833
16846
  z1 as NavType,
16834
- Th as RadioBase,
16835
- Hh as SegmentedButton,
16836
- Lh as SelectBase,
16847
+ Hh as RadioBase,
16848
+ Lh as SegmentedButton,
16849
+ Oh as SelectBase,
16837
16850
  Pd as SelectionGroup,
16838
- Oh as SideMenu,
16851
+ Fh as SideMenu,
16839
16852
  a1 as SvgIcon,
16840
- Fh as TabBar,
16853
+ Nh as TabBar,
16841
16854
  q9 as TagBase,
16842
- Kh as ToastBase,
16843
- Uh as ToggleAdvanced,
16855
+ Ph as ToastBase,
16856
+ Kh as ToggleAdvanced,
16844
16857
  Q9 as ToggleBase,
16845
16858
  c0 as TooltipBase,
16846
- Ph as WidgetBase,
16847
- Yh as iconNames,
16848
- Qh as provideToast,
16849
- Wh as useToast
16859
+ Wh as WidgetBase,
16860
+ qh as iconNames,
16861
+ Yh as provideToast,
16862
+ Qh as useToast
16850
16863
  };