@arche-mc2/vue-ui-lib 1.2.46 → 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 P, 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 = P(() => ({
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
  }));
@@ -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), W = !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), W) },
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
  })
@@ -9553,7 +9553,7 @@ function oa(a) {
9553
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 = {
@@ -9775,9 +9775,9 @@ function F0(a, e) {
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];
9778
+ }, P = a.modifiersData.offset;
9779
+ if (f === S0 && P) {
9780
+ var l1 = P[n];
9781
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
9783
  W[N] += l1[C] * R;
@@ -9824,8 +9824,8 @@ function k8(a) {
9824
9824
  allowedAutoPlacements: g
9825
9825
  }) : g1);
9826
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 K = v[W], l1 = r3(K), N = g0(K) === p0, R = [j1, Z1].indexOf(l1) >= 0, C = R ? "width" : "height", k = F0(e, {
9828
- placement: K,
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) {
@@ -9965,7 +9965,7 @@ function F8(a) {
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 - 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 = 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 + 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);
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;
@@ -10594,7 +10594,7 @@ function C9(a, e) {
10594
10594
  var M = v.props.touch;
10595
10595
  return Array.isArray(M) ? M : [M, 0];
10596
10596
  }
10597
- function K() {
10597
+ function P() {
10598
10598
  return W()[0] === "hold";
10599
10599
  }
10600
10600
  function l1() {
@@ -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();
@@ -11001,7 +11001,7 @@ const Bh = /* @__PURE__ */ s1({
11001
11001
  },
11002
11002
  emits: ["onSelectDate", "onClickEvent", "onChangeView"],
11003
11003
  setup(a, { emit: e }) {
11004
- const t = a, i = e, n = P(() => {
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 Bh = /* @__PURE__ */ s1({
11012
11012
  default:
11013
11013
  return "dayGridMonth";
11014
11014
  }
11015
- }), l = P(() => t.btnToday ? "today" : ""), s = P(() => 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 Bh = /* @__PURE__ */ s1({
11026
11026
  start: d.startStr,
11027
11027
  end: d.endStr
11028
11028
  });
11029
- }, c = P(() => ({
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 = P(() => {
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 P(() => (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 = P(() => {
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 = P(() => {
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 = P(() => {
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), P({
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 = P(() => {
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 = P(() => {
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 = P(() => `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 = P(() => ({ ...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 = P(() => {
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 () => {
@@ -14109,8 +14109,8 @@ function b4() {
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) {
14112
+ }, P = v;
14113
+ P.l = X, P.i = T, P.w = function(R, C) {
14114
14114
  return W(R, { locale: C.$L, utc: C.$u, x: C.$x, $offset: C.$offset });
14115
14115
  };
14116
14116
  var l1 = (function() {
@@ -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,7 +14137,7 @@ 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) {
@@ -14148,17 +14148,17 @@ function b4() {
14148
14148
  }, C.isBefore = function(k, V) {
14149
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) {
14199
+ var j = P.p(V), $ = function(p1) {
14200
14200
  var g1 = W(L);
14201
- return K.w(g1.date(g1.date() + Math.round(p1 * k)), 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 = W(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() {
@@ -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 = P(() => d1(t.navigationDate).format("MMMM")), s = P(() => d1(t.navigationDate).format("YYYY")), r = P(() => {
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 = P(
14472
+ }), o = K(
14473
14473
  () => [z1.Day, z1.Month].includes(t.navType)
14474
- ), u = P(() => (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 = P(() => {
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 = P(() => {
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 = P(() => [
14588
+ }), f = K(() => [
14589
14589
  ...c.value,
14590
14590
  ...d.value
14591
- ]), h = P(() => {
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 = P(() => [...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 = P(() => {
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 = P(() => t.type === "password" ? i.value ? "text" : "password" : t.type === "date" ? "text" : t.type ?? "text"), y = P(() => i.value ? "eye-off" : "eye"), w = P(() => t.clearable === !0 && t.modelValue !== "" && !t.disabled), z = P(() => t.passwordControl && t.type === "password" && t.modelValue !== ""), v = P(() => 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(
@@ -14814,7 +14814,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14814
14814
  u.value = !1, l("update:modelValue", D), g && (g.value = D);
14815
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 = P(() => 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(() => {
@@ -14878,7 +14878,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14878
14878
  autocomplete: "off",
14879
14879
  onInput: T,
14880
14880
  onFocus: W,
14881
- onBlur: K
14881
+ onBlur: P
14882
14882
  }, null, 40, qu)) : (b(), S("input", {
14883
14883
  key: 1,
14884
14884
  ref_key: "inputRef",
@@ -14889,7 +14889,7 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
14889
14889
  autocomplete: "off",
14890
14890
  onInput: T,
14891
14891
  onFocus: W,
14892
- onBlur: K
14892
+ onBlur: P
14893
14893
  }, null, 40, Gu)),
14894
14894
  I("div", {
14895
14895
  class: J(["input-icon-container", {
@@ -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 = P(
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 = P(
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 = P(() => {
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 = P(() => {
15038
+ }, x = K(() => {
15039
15039
  const N = h.value - d.value, R = N <= 0;
15040
15040
  return {
15041
15041
  isFullyVisible: R,
@@ -15058,12 +15058,12 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
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,
@@ -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 = P({
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 = P(() => {
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 = P({
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
  ),
@@ -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 = P(() => ({
15446
+ const t = a, i = e, n = K(() => ({
15447
15447
  ...t.theme
15448
15448
  })), l = () => {
15449
15449
  t.disabled || i("update:modelValue", t.value);
@@ -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 = P(() => ({
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 = P(() => 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 = P(
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 = P(() => t.modelValue.slice(s.value)), u = P(() => !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);
@@ -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 = P({
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");
@@ -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,7 +16009,7 @@ 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
  }
@@ -16040,10 +16045,10 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16040
16045
  modification: "Modification",
16041
16046
  creation: "Création",
16042
16047
  suppression: "Suppression"
16043
- }, s = P(() => {
16048
+ }, s = K(() => {
16044
16049
  const u = t.initials.trim();
16045
16050
  return t.author.trim() !== "" || u !== "" && u !== "?";
16046
- }), r = P(() => {
16051
+ }), r = K(() => {
16047
16052
  const u = [l[t.type]];
16048
16053
  return t.author && u.push(`par ${t.author}`), t.date && u.push(`le ${t.date}`), u.join(" ");
16049
16054
  }), o = () => {
@@ -16116,9 +16121,9 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16116
16121
  },
16117
16122
  emits: ["update:modelValue"],
16118
16123
  setup(a, { emit: e }) {
16119
- const t = a, i = e, n = P(() => t.modelValue ?? !1), l = () => {
16124
+ const t = a, i = e, n = K(() => t.modelValue ?? !1), l = () => {
16120
16125
  t.disabled || i("update:modelValue", !n.value);
16121
- }, s = P(() => ({ ...t.theme ?? {} }));
16126
+ }, s = K(() => ({ ...t.theme ?? {} }));
16122
16127
  return (r, o) => (b(), S("div", {
16123
16128
  style: w1(s.value),
16124
16129
  class: J(["amc2-advanced-toggle-container", { disabled: a.disabled }])
@@ -16228,13 +16233,13 @@ const ku = { class: "datepicker-navigation-container" }, Du = { class: "datepick
16228
16233
  isLoading: { type: Boolean }
16229
16234
  },
16230
16235
  setup(a) {
16231
- const e = Ka(), t = P(() => {
16236
+ const e = Ka(), t = K(() => {
16232
16237
  const l = e.header?.();
16233
16238
  return !(l && l?.length > 0);
16234
- }), i = P(() => {
16239
+ }), i = K(() => {
16235
16240
  const l = e.body?.();
16236
16241
  return !(l && l?.length > 0);
16237
- }), n = P(() => {
16242
+ }), n = K(() => {
16238
16243
  const l = e.footer?.();
16239
16244
  return !(l && l?.length > 0);
16240
16245
  });