@arche-mc2/vue-ui-lib 1.2.13 → 1.2.15

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 u1, createElementBlock as x, openBlock as E, normalizeStyle as w1, normalizeClass as J, unref as k1, createCommentVNode as K, createElementVNode as D, toDisplayString as t1, createBlock as n1, renderSlot as _1, h as fe, Fragment as y1, Teleport as Ze, computed as W, mergeModels as M4, useModel as S4, ref as e1, watch as M1, withDirectives as Fa, createVNode as c1, vModelCheckbox as k4, mergeProps as xe, resolveDynamicComponent as Na, normalizeProps as x4, withCtx as C1, onMounted as g0, nextTick as M3, getCurrentScope as D4, onScopeDispose as I4, getCurrentInstance as ja, toRef as V4, readonly as B4, customRef as R4, shallowRef as $1, toValue as D1, useTemplateRef as De, renderList as z1, createTextVNode as j3, useSlots as Ua, onBeforeUnmount as Ka, withModifiers as Pa, onUnmounted as Wa, watchEffect as T4, inject as a6 } from "vue";
1
+ import { defineComponent as u1, createElementBlock as x, openBlock as E, normalizeStyle as w1, normalizeClass as J, unref as k1, createCommentVNode as K, createElementVNode as I, toDisplayString as t1, createBlock as n1, renderSlot as _1, h as fe, Fragment as y1, Teleport as Ze, computed as W, mergeModels as M4, useModel as S4, ref as e1, watch as M1, withDirectives as Fa, createVNode as c1, vModelCheckbox as k4, mergeProps as xe, resolveDynamicComponent as Na, normalizeProps as x4, withCtx as C1, onMounted as g0, nextTick as M3, getCurrentScope as D4, onScopeDispose as I4, getCurrentInstance as ja, toRef as V4, readonly as B4, customRef as R4, shallowRef as $1, toValue as D1, useTemplateRef as De, renderList as z1, createTextVNode as j3, useSlots as Ua, onBeforeUnmount as Ka, withModifiers as Pa, onUnmounted as Wa, watchEffect as T4, inject as a6 } from "vue";
2
2
  if (typeof window < "u") {
3
3
  let a = function() {
4
4
  var e = document.body, t = document.getElementById("__svg__icons__dom__");
@@ -31,7 +31,7 @@ const H4 = ["width", "height", "color", "fill"], L4 = { key: 0 }, O4 = ["href",
31
31
  fill: i.color
32
32
  }, [
33
33
  i.accessibilityTitle ? (E(), x("title", L4, t1(i.accessibilityTitle), 1)) : K("", !0),
34
- D("use", {
34
+ I("use", {
35
35
  href: `#icon-${i.iconName}`,
36
36
  id: i.id
37
37
  }, null, 8, O4)
@@ -243,14 +243,14 @@ function ti(a) {
243
243
  return null;
244
244
  }
245
245
  function u2(a, e, t, i, n, l, s, r, o) {
246
- var u, c, h, f, d, m, g, p, y, b, z, v, B, S, O, H = e.type;
246
+ var u, c, h, f, d, m, g, p, y, b, z, v, B, S, O, L = e.type;
247
247
  if (e.constructor !== void 0) return null;
248
248
  t.__h != null && (o = t.__h, r = e.__e = t.__e, e.__h = null, l = [r]), (u = P.__b) && u(e);
249
249
  try {
250
- e: if (typeof H == "function") {
251
- if (p = e.props, y = (u = H.contextType) && i[u.__c], b = u ? y ? y.props.value : u.__ : i, t.__c ? g = (c = e.__c = t.__c).__ = c.__E : ("prototype" in H && H.prototype.render ? e.__c = c = new H(p, b) : (e.__c = c = new W1(p, b), c.constructor = H, c.render = Y4), y && y.sub(c), c.props = p, c.state || (c.state = {}), c.context = b, c.__n = i, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), H.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = E3({}, c.__s)), E3(c.__s, H.getDerivedStateFromProps(p, c.__s))), f = c.props, d = c.state, c.__v = e, h) H.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
250
+ e: if (typeof L == "function") {
251
+ if (p = e.props, y = (u = L.contextType) && i[u.__c], b = u ? y ? y.props.value : u.__ : i, t.__c ? g = (c = e.__c = t.__c).__ = c.__E : ("prototype" in L && L.prototype.render ? e.__c = c = new L(p, b) : (e.__c = c = new W1(p, b), c.constructor = L, c.render = Y4), y && y.sub(c), c.props = p, c.state || (c.state = {}), c.context = b, c.__n = i, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), L.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = E3({}, c.__s)), E3(c.__s, L.getDerivedStateFromProps(p, c.__s))), f = c.props, d = c.state, c.__v = e, h) L.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
252
252
  else {
253
- if (H.getDerivedStateFromProps == null && p !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(p, b), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(p, c.__s, b) === !1 || e.__v === t.__v) {
253
+ if (L.getDerivedStateFromProps == null && p !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(p, b), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(p, c.__s, b) === !1 || e.__v === t.__v) {
254
254
  for (e.__v !== t.__v && (c.props = p, c.state = c.__s, c.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.forEach(function(Z) {
255
255
  Z && (Z.__ = e);
256
256
  }), z = 0; z < c._sb.length; z++) c.__h.push(c._sb[z]);
@@ -261,7 +261,7 @@ function u2(a, e, t, i, n, l, s, r, o) {
261
261
  c.componentDidUpdate(f, d, m);
262
262
  });
263
263
  }
264
- if (c.context = b, c.props = p, c.__P = a, v = P.__r, B = 0, "prototype" in H && H.prototype.render) {
264
+ if (c.context = b, c.props = p, c.__P = a, v = P.__r, B = 0, "prototype" in L && L.prototype.render) {
265
265
  for (c.state = c.__s, c.__d = !1, v && v(e), u = c.render(c.props, c.state, c.context), S = 0; S < c._sb.length; S++) c.__h.push(c._sb[S]);
266
266
  c._sb = [];
267
267
  } else do
@@ -4577,8 +4577,8 @@ function e7(a, e, t, i) {
4577
4577
  }
4578
4578
  let B = n.eventStore;
4579
4579
  for (let S of y.allows) {
4580
- let O = Object.assign(Object.assign({}, t), { range: g.range, allDay: b.allDay }), H = B.defs[b.defId], Z = B.instances[m], Q;
4581
- if (H ? Q = new g1(e, H, Z) : Q = new g1(e, b), !S(x2(O, e), Q))
4580
+ let O = Object.assign(Object.assign({}, t), { range: g.range, allDay: b.allDay }), L = B.defs[b.defId], Z = B.instances[m], Q;
4581
+ if (L ? Q = new g1(e, L, Z) : Q = new g1(e, b), !S(x2(O, e), Q))
4582
4582
  return !1;
4583
4583
  }
4584
4584
  }
@@ -5760,33 +5760,33 @@ function so(a, e, t, i, n, l) {
5760
5760
  return m = !0, { buttonName: y };
5761
5761
  let b, z, v, B, S, O;
5762
5762
  if (b = r[y])
5763
- v = (H) => {
5764
- b.click && b.click.call(H.target, H, H.target);
5763
+ v = (L) => {
5764
+ b.click && b.click.call(L.target, L, L.target);
5765
5765
  }, (B = i.getCustomButtonIconClass(b)) || (B = i.getIconClass(y, s)) || (S = b.text), O = b.hint || b.text;
5766
5766
  else if (z = n[y]) {
5767
5767
  d.push(y), v = () => {
5768
5768
  l.changeView(y);
5769
5769
  }, (S = z.buttonTextOverride) || (B = i.getIconClass(y, s)) || (S = z.buttonTextDefault);
5770
- let H = z.buttonTextOverride || z.buttonTextDefault;
5770
+ let L = z.buttonTextOverride || z.buttonTextDefault;
5771
5771
  O = x0(
5772
5772
  z.buttonTitleOverride || z.buttonTitleDefault || e.viewHint,
5773
- [H, y],
5773
+ [L, y],
5774
5774
  // view-name = buttonName
5775
- H
5775
+ L
5776
5776
  );
5777
5777
  } else if (l[y])
5778
5778
  if (v = () => {
5779
5779
  l[y]();
5780
5780
  }, (S = o[y]) || (B = i.getIconClass(y, s)) || (S = u[y]), y === "prevYear" || y === "nextYear") {
5781
- let H = y === "prevYear" ? "prev" : "next";
5782
- O = x0(c[H] || h[H], [
5781
+ let L = y === "prevYear" ? "prev" : "next";
5782
+ O = x0(c[L] || h[L], [
5783
5783
  u.year || "year",
5784
5784
  "year"
5785
5785
  ], u[y]);
5786
5786
  } else
5787
- O = (H) => x0(c[y] || h[y], [
5788
- u[H] || H,
5789
- H
5787
+ O = (L) => x0(c[y] || h[y], [
5788
+ u[L] || L,
5789
+ L
5790
5790
  ], u[y]);
5791
5791
  return { buttonName: y, buttonClick: v, buttonIcon: B, buttonText: S, buttonHint: O };
5792
5792
  })), viewsWithButtons: d, hasTitle: m };
@@ -6129,8 +6129,8 @@ class xo {
6129
6129
  eventDrag: io(i.eventDrag, e),
6130
6130
  eventResize: no(i.eventResize, e)
6131
6131
  }, B = Object.assign(Object.assign({}, u), v);
6132
- for (let H of s.pluginHooks.reducers)
6133
- Object.assign(v, H(i, e, B));
6132
+ for (let L of s.pluginHooks.reducers)
6133
+ Object.assign(v, L(i, e, B));
6134
6134
  let S = Dt(i, u), O = Dt(v, u);
6135
6135
  !S && O ? n.trigger("loading", !0) : S && !O && n.trigger("loading", !1), this.state = v, t.onAction && t.onAction(e);
6136
6136
  }
@@ -8921,11 +8921,11 @@ class v8 extends r1 {
8921
8921
  null,
8922
8922
  this.renderHiddenGroups(z, e),
8923
8923
  b.map((v) => {
8924
- let { seg: B, rect: S } = v, O = B.eventRange.instance.instanceId, H = p || !!(!t[O] && S), Z = It(S && S.span), Q = !p && S ? this.computeSegHStyle(S) : { left: 0, right: 0 }, j = !!S && S.stackForward > 0, L = !!S && S.span.end - S.span.start < o;
8924
+ let { seg: B, rect: S } = v, O = B.eventRange.instance.instanceId, L = p || !!(!t[O] && S), Z = It(S && S.span), Q = !p && S ? this.computeSegHStyle(S) : { left: 0, right: 0 }, j = !!S && S.stackForward > 0, H = !!S && S.span.end - S.span.start < o;
8925
8925
  return A(
8926
8926
  "div",
8927
- { className: "fc-timegrid-event-harness" + (j ? " fc-timegrid-event-harness-inset" : ""), key: s || O, style: Object.assign(Object.assign({ visibility: H ? "" : "hidden" }, Z), Q) },
8928
- A(On, Object.assign({ seg: B, isDragging: i, isResizing: n, isDateSelecting: l, isSelected: O === d, isShort: L }, S3(B, m, g)))
8927
+ { className: "fc-timegrid-event-harness" + (j ? " fc-timegrid-event-harness-inset" : ""), key: s || O, style: Object.assign(Object.assign({ visibility: L ? "" : "hidden" }, Z), Q) },
8928
+ A(On, Object.assign({ seg: B, isDragging: i, isResizing: n, isDateSelecting: l, isSelected: O === d, isShort: H }, S3(B, m, g)))
8929
8929
  );
8930
8930
  })
8931
8931
  );
@@ -9453,8 +9453,8 @@ var _8 = function(e, t) {
9453
9453
  function J8(a) {
9454
9454
  var e, t = a.state, i = a.name, n = a.options, l = t.elements.arrow, s = t.modifiersData.popperOffsets, r = r3(t.placement), o = q2(r), u = [U1, X1].indexOf(r) >= 0, c = u ? "height" : "width";
9455
9455
  if (!(!l || !s)) {
9456
- var h = _8(n.padding, t), f = Y2(l), d = o === "y" ? j1 : U1, m = o === "y" ? Z1 : X1, g = t.rects.reference[c] + t.rects.reference[o] - s[o] - t.rects.popper[c], p = s[o] - t.rects.reference[o], y = Q0(l), b = y ? o === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, z = g / 2 - p / 2, v = h[d], B = b - f[c] - h[m], S = b / 2 - f[c] / 2 + z, O = I0(v, S, B), H = o;
9457
- t.modifiersData[i] = (e = {}, e[H] = O, e.centerOffset = O - S, e);
9456
+ var h = _8(n.padding, t), f = Y2(l), d = o === "y" ? j1 : U1, m = o === "y" ? Z1 : X1, g = t.rects.reference[c] + t.rects.reference[o] - s[o] - t.rects.popper[c], p = s[o] - t.rects.reference[o], y = Q0(l), b = y ? o === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, z = g / 2 - p / 2, v = h[d], B = b - f[c] - h[m], S = b / 2 - f[c] / 2 + z, O = I0(v, S, B), L = o;
9457
+ t.modifiersData[i] = (e = {}, e[L] = O, e.centerOffset = O - S, e);
9458
9458
  }
9459
9459
  }
9460
9460
  function Z8(a) {
@@ -9497,8 +9497,8 @@ function ra(a) {
9497
9497
  d = p.x, g = p.y;
9498
9498
  var y = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), z = U1, v = j1, B = window;
9499
9499
  if (u) {
9500
- var S = Q0(t), O = "clientHeight", H = "clientWidth";
9501
- if (S === Y1(t) && (S = V3(t), g3(S).position !== "static" && r === "absolute" && (O = "scrollHeight", H = "scrollWidth")), S = S, n === j1 || (n === U1 || n === X1) && l === L0) {
9500
+ var S = Q0(t), O = "clientHeight", L = "clientWidth";
9501
+ if (S === Y1(t) && (S = V3(t), g3(S).position !== "static" && r === "absolute" && (O = "scrollHeight", L = "scrollWidth")), S = S, n === j1 || (n === U1 || n === X1) && l === L0) {
9502
9502
  v = Z1;
9503
9503
  var Z = h && S === B && B.visualViewport ? B.visualViewport.height : (
9504
9504
  // $FlowFixMe[prop-missing]
@@ -9510,21 +9510,21 @@ function ra(a) {
9510
9510
  z = X1;
9511
9511
  var Q = h && S === B && B.visualViewport ? B.visualViewport.width : (
9512
9512
  // $FlowFixMe[prop-missing]
9513
- S[H]
9513
+ S[L]
9514
9514
  );
9515
9515
  d -= Q - i.width, d *= o ? 1 : -1;
9516
9516
  }
9517
9517
  }
9518
9518
  var j = Object.assign({
9519
9519
  position: r
9520
- }, u && $8), L = c === !0 ? ec({
9520
+ }, u && $8), H = c === !0 ? ec({
9521
9521
  x: d,
9522
9522
  y: g
9523
9523
  }, Y1(t)) : {
9524
9524
  x: d,
9525
9525
  y: g
9526
9526
  };
9527
- if (d = L.x, g = L.y, o) {
9527
+ if (d = H.x, g = H.y, o) {
9528
9528
  var G;
9529
9529
  return Object.assign({}, j, (G = {}, G[v] = b ? "0" : "", G[z] = y ? "0" : "", G.transform = (B.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", G));
9530
9530
  }
@@ -9732,17 +9732,17 @@ function O0(a, e) {
9732
9732
  reference: S,
9733
9733
  element: z,
9734
9734
  placement: n
9735
- }), H = a2(Object.assign({}, z, O)), Z = f === M0 ? H : S, Q = {
9735
+ }), L = a2(Object.assign({}, z, O)), Z = f === M0 ? L : S, Q = {
9736
9736
  top: B.top - Z.top + y.top,
9737
9737
  bottom: Z.bottom - B.bottom + y.bottom,
9738
9738
  left: B.left - Z.left + y.left,
9739
9739
  right: Z.right - B.right + y.right
9740
9740
  }, j = a.modifiersData.offset;
9741
9741
  if (f === M0 && j) {
9742
- var L = j[n];
9742
+ var H = j[n];
9743
9743
  Object.keys(Q).forEach(function(G) {
9744
- var k = [X1, Z1].indexOf(G) >= 0 ? 1 : -1, I = [j1, Z1].indexOf(G) >= 0 ? "y" : "x";
9745
- Q[G] += L[I] * k;
9744
+ var k = [X1, Z1].indexOf(G) >= 0 ? 1 : -1, D = [j1, Z1].indexOf(G) >= 0 ? "y" : "x";
9745
+ Q[G] += H[D] * k;
9746
9746
  });
9747
9747
  }
9748
9748
  return Q;
@@ -9785,25 +9785,25 @@ function pc(a) {
9785
9785
  flipVariations: m,
9786
9786
  allowedAutoPlacements: g
9787
9787
  }) : m1);
9788
- }, []), B = e.rects.reference, S = e.rects.popper, O = /* @__PURE__ */ new Map(), H = !0, Z = v[0], Q = 0; Q < v.length; Q++) {
9789
- var j = v[Q], L = r3(j), G = v0(j) === h0, k = [j1, Z1].indexOf(L) >= 0, I = k ? "width" : "height", V = O0(e, {
9788
+ }, []), B = e.rects.reference, S = e.rects.popper, O = /* @__PURE__ */ new Map(), L = !0, Z = v[0], Q = 0; Q < v.length; Q++) {
9789
+ var j = v[Q], H = r3(j), G = v0(j) === h0, k = [j1, Z1].indexOf(H) >= 0, D = k ? "width" : "height", V = O0(e, {
9790
9790
  placement: j,
9791
9791
  boundary: c,
9792
9792
  rootBoundary: h,
9793
9793
  altBoundary: f,
9794
9794
  padding: u
9795
9795
  }), R = k ? G ? X1 : U1 : G ? Z1 : j1;
9796
- B[I] > S[I] && (R = be(R));
9796
+ B[D] > S[D] && (R = be(R));
9797
9797
  var M = be(R), T = [];
9798
- if (l && T.push(V[L] <= 0), r && T.push(V[R] <= 0, V[M] <= 0), T.every(function(f1) {
9798
+ if (l && T.push(V[H] <= 0), r && T.push(V[R] <= 0, V[M] <= 0), T.every(function(f1) {
9799
9799
  return f1;
9800
9800
  })) {
9801
- Z = j, H = !1;
9801
+ Z = j, L = !1;
9802
9802
  break;
9803
9803
  }
9804
9804
  O.set(j, T);
9805
9805
  }
9806
- if (H)
9806
+ if (L)
9807
9807
  for (var F = m ? 3 : 1, $ = function(m1) {
9808
9808
  var S1 = v.find(function(O1) {
9809
9809
  var R1 = O.get(O1);
@@ -9919,7 +9919,7 @@ function Cc(a) {
9919
9919
  rootBoundary: u,
9920
9920
  padding: h,
9921
9921
  altBoundary: c
9922
- }), y = r3(e.placement), b = v0(e.placement), z = !b, v = q2(y), B = zc(v), S = e.modifiersData.popperOffsets, O = e.rects.reference, H = e.rects.popper, Z = typeof g == "function" ? g(Object.assign({}, e.rects, {
9922
+ }), y = r3(e.placement), b = v0(e.placement), z = !b, v = q2(y), B = zc(v), S = e.modifiersData.popperOffsets, O = e.rects.reference, L = e.rects.popper, Z = typeof g == "function" ? g(Object.assign({}, e.rects, {
9923
9923
  placement: e.placement
9924
9924
  })) : g, Q = typeof Z == "number" ? {
9925
9925
  mainAxis: Z,
@@ -9927,23 +9927,23 @@ function Cc(a) {
9927
9927
  } : Object.assign({
9928
9928
  mainAxis: 0,
9929
9929
  altAxis: 0
9930
- }, Z), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, L = {
9930
+ }, Z), j = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, H = {
9931
9931
  x: 0,
9932
9932
  y: 0
9933
9933
  };
9934
9934
  if (S) {
9935
9935
  if (l) {
9936
- var G, k = v === "y" ? j1 : U1, I = v === "y" ? Z1 : X1, V = v === "y" ? "height" : "width", R = S[v], M = R + p[k], T = R - p[I], F = d ? -H[V] / 2 : 0, $ = b === h0 ? O[V] : H[V], a1 = b === h0 ? -H[V] : -O[V], h1 = e.elements.arrow, f1 = d && h1 ? Y2(h1) : {
9936
+ var G, k = v === "y" ? j1 : U1, D = v === "y" ? Z1 : X1, V = v === "y" ? "height" : "width", R = S[v], M = R + p[k], T = R - p[D], F = d ? -L[V] / 2 : 0, $ = b === h0 ? O[V] : L[V], a1 = b === h0 ? -L[V] : -O[V], h1 = e.elements.arrow, f1 = d && h1 ? Y2(h1) : {
9937
9937
  width: 0,
9938
9938
  height: 0
9939
- }, m1 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Wn(), S1 = m1[k], O1 = m1[I], R1 = I0(0, O[V], f1[V]), F1 = z ? O[V] / 2 - F - R1 - S1 - Q.mainAxis : $ - R1 - S1 - Q.mainAxis, A1 = z ? -O[V] / 2 + F + R1 + O1 + Q.mainAxis : a1 + R1 + O1 + Q.mainAxis, T1 = e.elements.arrow && Q0(e.elements.arrow), a3 = T1 ? v === "y" ? T1.clientTop || 0 : T1.clientLeft || 0 : 0, i3 = (G = j?.[v]) != null ? G : 0, G0 = R + F1 - i3 - a3, _0 = R + A1 - i3, b0 = I0(d ? Ye(M, G0) : M, R, d ? P3(T, _0) : T);
9940
- S[v] = b0, L[v] = b0 - R;
9939
+ }, m1 = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Wn(), S1 = m1[k], O1 = m1[D], R1 = I0(0, O[V], f1[V]), F1 = z ? O[V] / 2 - F - R1 - S1 - Q.mainAxis : $ - R1 - S1 - Q.mainAxis, A1 = z ? -O[V] / 2 + F + R1 + O1 + Q.mainAxis : a1 + R1 + O1 + Q.mainAxis, T1 = e.elements.arrow && Q0(e.elements.arrow), a3 = T1 ? v === "y" ? T1.clientTop || 0 : T1.clientLeft || 0 : 0, i3 = (G = j?.[v]) != null ? G : 0, G0 = R + F1 - i3 - a3, _0 = R + A1 - i3, b0 = I0(d ? Ye(M, G0) : M, R, d ? P3(T, _0) : T);
9940
+ S[v] = b0, H[v] = b0 - R;
9941
9941
  }
9942
9942
  if (r) {
9943
- var w0, J0 = v === "x" ? j1 : U1, Z0 = v === "x" ? Z1 : X1, d3 = S[B], w3 = B === "y" ? "height" : "width", E0 = d3 + p[J0], B3 = d3 - p[Z0], z0 = [j1, U1].indexOf(y) !== -1, X0 = (w0 = j?.[B]) != null ? w0 : 0, $0 = z0 ? E0 : d3 - O[w3] - H[w3] - X0 + Q.altAxis, ee = z0 ? d3 + O[w3] + H[w3] - X0 - Q.altAxis : B3, te = d && z0 ? G8($0, d3, ee) : I0(d ? $0 : E0, d3, d ? ee : B3);
9944
- S[B] = te, L[B] = te - d3;
9943
+ var w0, J0 = v === "x" ? j1 : U1, Z0 = v === "x" ? Z1 : X1, d3 = S[B], w3 = B === "y" ? "height" : "width", E0 = d3 + p[J0], B3 = d3 - p[Z0], z0 = [j1, U1].indexOf(y) !== -1, X0 = (w0 = j?.[B]) != null ? w0 : 0, $0 = z0 ? E0 : d3 - O[w3] - L[w3] - X0 + Q.altAxis, ee = z0 ? d3 + O[w3] + L[w3] - X0 - Q.altAxis : B3, te = d && z0 ? G8($0, d3, ee) : I0(d ? $0 : E0, d3, d ? ee : B3);
9944
+ S[B] = te, H[B] = te - d3;
9945
9945
  }
9946
- e.modifiersData[i] = L;
9946
+ e.modifiersData[i] = H;
9947
9947
  }
9948
9948
  }
9949
9949
  const Mc = {
@@ -10093,10 +10093,10 @@ function Tc(a) {
10093
10093
  c.reset = !1, v = -1;
10094
10094
  continue;
10095
10095
  }
10096
- var B = c.orderedModifiers[v], S = B.fn, O = B.options, H = O === void 0 ? {} : O, Z = B.name;
10096
+ var B = c.orderedModifiers[v], S = B.fn, O = B.options, L = O === void 0 ? {} : O, Z = B.name;
10097
10097
  typeof S == "function" && (c = S({
10098
10098
  state: c,
10099
- options: H,
10099
+ options: L,
10100
10100
  name: Z,
10101
10101
  instance: d
10102
10102
  }) || c);
@@ -10544,7 +10544,7 @@ function u9(a, e) {
10544
10544
  return process.env.NODE_ENV !== "production" && i2(!0, "render() function has not been supplied."), v;
10545
10545
  var B = t.render(v), S = B.popper, O = B.onUpdate;
10546
10546
  S.setAttribute("data-tippy-root", ""), S.id = "tippy-" + v.id, v.popper = S, a._tippy = v, S._tippy = v;
10547
- var H = b.map(function(C) {
10547
+ var L = b.map(function(C) {
10548
10548
  return C.fn(v);
10549
10549
  }), Z = a.hasAttribute("aria-expanded");
10550
10550
  return T1(), F(), R(), M("onCreate", [v]), t.showOnCreate && E0(), S.addEventListener("mouseenter", function() {
@@ -10559,7 +10559,7 @@ function u9(a, e) {
10559
10559
  function j() {
10560
10560
  return Q()[0] === "hold";
10561
10561
  }
10562
- function L() {
10562
+ function H() {
10563
10563
  var C;
10564
10564
  return !!((C = v.props.render) != null && C.$$tippy);
10565
10565
  }
@@ -10570,7 +10570,7 @@ function u9(a, e) {
10570
10570
  var C = G().parentNode;
10571
10571
  return C ? Gc(C) : document;
10572
10572
  }
10573
- function I() {
10573
+ function D() {
10574
10574
  return l2(S);
10575
10575
  }
10576
10576
  function V(C) {
@@ -10580,7 +10580,7 @@ function u9(a, e) {
10580
10580
  C === void 0 && (C = !1), S.style.pointerEvents = v.props.interactive && !C ? "" : "none", S.style.zIndex = "" + v.props.zIndex;
10581
10581
  }
10582
10582
  function M(C, N, q) {
10583
- if (q === void 0 && (q = !0), H.forEach(function(l1) {
10583
+ if (q === void 0 && (q = !0), L.forEach(function(l1) {
10584
10584
  l1[C] && l1[C].apply(l1, N);
10585
10585
  }), q) {
10586
10586
  var o1;
@@ -10655,7 +10655,7 @@ function u9(a, e) {
10655
10655
  F1(C, N);
10656
10656
  }
10657
10657
  function F1(C, N) {
10658
- var q = I().box;
10658
+ var q = D().box;
10659
10659
  function o1(l1) {
10660
10660
  l1.target === q && (Rt(q, "remove", o1), N());
10661
10661
  }
@@ -10742,7 +10742,7 @@ function u9(a, e) {
10742
10742
  }
10743
10743
  function J0() {
10744
10744
  Z0();
10745
- var C = v.props, N = C.popperOptions, q = C.placement, o1 = C.offset, l1 = C.getReferenceClientRect, H1 = C.moveTransition, G1 = L() ? l2(S).arrow : null, X3 = l1 ? {
10745
+ var C = v.props, N = C.popperOptions, q = C.placement, o1 = C.offset, l1 = C.getReferenceClientRect, H1 = C.moveTransition, G1 = H() ? l2(S).arrow : null, X3 = l1 ? {
10746
10746
  getBoundingClientRect: l1,
10747
10747
  contextElement: l1.contextElement || G()
10748
10748
  } : a, t6 = {
@@ -10752,8 +10752,8 @@ function u9(a, e) {
10752
10752
  requires: ["computeStyles"],
10753
10753
  fn: function(ae) {
10754
10754
  var $3 = ae.state;
10755
- if (L()) {
10756
- var C4 = I(), ft = C4.box;
10755
+ if (H()) {
10756
+ var C4 = D(), ft = C4.box;
10757
10757
  ["placement", "reference-hidden", "escaped"].forEach(function(ie) {
10758
10758
  ie === "placement" ? ft.setAttribute("data-placement", $3.placement) : $3.attributes.popper["data-popper-" + ie] ? ft.setAttribute("data-" + ie, "") : ft.removeAttribute("data-" + ie);
10759
10759
  }), $3.attributes.popper = {};
@@ -10785,7 +10785,7 @@ function u9(a, e) {
10785
10785
  adaptive: !H1
10786
10786
  }
10787
10787
  }, t6];
10788
- L() && G1 && R3.push({
10788
+ H() && G1 && R3.push({
10789
10789
  name: "arrow",
10790
10790
  options: {
10791
10791
  element: G1,
@@ -10865,18 +10865,18 @@ function u9(a, e) {
10865
10865
  process.env.NODE_ENV !== "production" && h3(v.state.isDestroyed, e0("show"));
10866
10866
  var C = v.state.isVisible, N = v.state.isDestroyed, q = !v.state.isEnabled, o1 = l3.isTouch && !v.props.touch, l1 = Vt(v.props.duration, 0, P1.duration);
10867
10867
  if (!(C || N || q || o1) && !G().hasAttribute("disabled") && (M("onShow", [v], !1), v.props.onShow(v) !== !1)) {
10868
- if (v.state.isVisible = !0, L() && (S.style.visibility = "visible"), R(), m1(), v.state.isMounted || (S.style.transition = "none"), L()) {
10869
- var H1 = I(), G1 = H1.box, X3 = H1.content;
10868
+ if (v.state.isVisible = !0, H() && (S.style.visibility = "visible"), R(), m1(), v.state.isMounted || (S.style.transition = "none"), H()) {
10869
+ var H1 = D(), G1 = H1.box, X3 = H1.content;
10870
10870
  Bt([G1, X3], 0);
10871
10871
  }
10872
10872
  f = function() {
10873
10873
  var R3;
10874
10874
  if (!(!v.state.isVisible || u)) {
10875
- if (u = !0, S.offsetHeight, S.style.transition = v.props.moveTransition, L() && v.props.animation) {
10876
- var ht = I(), ae = ht.box, $3 = ht.content;
10875
+ if (u = !0, S.offsetHeight, S.style.transition = v.props.moveTransition, H() && v.props.animation) {
10876
+ var ht = D(), ae = ht.box, $3 = ht.content;
10877
10877
  Bt([ae, $3], l1), ga([ae, $3], "visible");
10878
10878
  }
10879
- T(), F(), va(Tt, v), (R3 = v.popperInstance) == null || R3.forceUpdate(), M("onMount", [v]), v.props.animation && L() && R1(l1, function() {
10879
+ T(), F(), va(Tt, v), (R3 = v.popperInstance) == null || R3.forceUpdate(), M("onMount", [v]), v.props.animation && H() && R1(l1, function() {
10880
10880
  v.state.isShown = !0, M("onShown", [v]);
10881
10881
  });
10882
10882
  }
@@ -10887,11 +10887,11 @@ function u9(a, e) {
10887
10887
  process.env.NODE_ENV !== "production" && h3(v.state.isDestroyed, e0("hide"));
10888
10888
  var C = !v.state.isVisible, N = v.state.isDestroyed, q = !v.state.isEnabled, o1 = Vt(v.props.duration, 1, P1.duration);
10889
10889
  if (!(C || N || q) && (M("onHide", [v], !1), v.props.onHide(v) !== !1)) {
10890
- if (v.state.isVisible = !1, v.state.isShown = !1, u = !1, s = !1, L() && (S.style.visibility = "hidden"), $(), S1(), R(!0), L()) {
10891
- var l1 = I(), H1 = l1.box, G1 = l1.content;
10890
+ if (v.state.isVisible = !1, v.state.isShown = !1, u = !1, s = !1, H() && (S.style.visibility = "hidden"), $(), S1(), R(!0), H()) {
10891
+ var l1 = D(), H1 = l1.box, G1 = l1.content;
10892
10892
  v.props.animation && (Bt([H1, G1], o1), ga([H1, G1], "hidden"));
10893
10893
  }
10894
- T(), F(), v.props.animation ? L() && O1(o1, v.unmount) : v.unmount();
10894
+ T(), F(), v.props.animation ? H() && O1(o1, v.unmount) : v.unmount();
10895
10895
  }
10896
10896
  }
10897
10897
  function w4(C) {
@@ -11021,8 +11021,8 @@ const nh = /* @__PURE__ */ u1({
11021
11021
  eventDidMount: function(h) {
11022
11022
  Y0(h.el, {
11023
11023
  content: `
11024
- <strong>${h.event.title}</strong><br>
11025
- ${h.event.extendedProps.description || ""}
11024
+ <div class="tippy-title">${h.event.title}</div>
11025
+ <p class="tippy-description">${h.event.extendedProps.description || ""}</p>
11026
11026
  `,
11027
11027
  allowHTML: !0,
11028
11028
  placement: "top",
@@ -11071,7 +11071,7 @@ const nh = /* @__PURE__ */ u1({
11071
11071
  class: J(["amc2-checkbox-container", l.className, { disabled: l.disabled }]),
11072
11072
  onClick: n
11073
11073
  }, [
11074
- Fa(D("input", {
11074
+ Fa(I("input", {
11075
11075
  type: "checkbox",
11076
11076
  disabled: l.disabled,
11077
11077
  "onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r)
@@ -11511,8 +11511,8 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11511
11511
  }));
11512
11512
  }, d = W(() => `flyout-${t.position || "bottom"}`);
11513
11513
  return (m, g) => (E(), x("div", null, [
11514
- D("div", k9, [
11515
- D("div", {
11514
+ I("div", k9, [
11515
+ I("div", {
11516
11516
  ref: "menuContainer",
11517
11517
  onClick: f
11518
11518
  }, [
@@ -11558,13 +11558,13 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11558
11558
  style: w1(n.value),
11559
11559
  class: "amc2-toggle-container"
11560
11560
  }, [
11561
- D("input", {
11561
+ I("input", {
11562
11562
  type: "checkbox",
11563
11563
  disabled: s.disabled,
11564
11564
  checked: s.modelValue,
11565
11565
  onChange: l
11566
11566
  }, null, 40, I9),
11567
- r[0] || (r[0] = D("span", { class: "amc2-toggle-slider" }, null, -1)),
11567
+ r[0] || (r[0] = I("span", { class: "amc2-toggle-slider" }, null, -1)),
11568
11568
  s.icon ? (E(), n1(s1, {
11569
11569
  key: 0,
11570
11570
  "icon-name": s.icon
@@ -11634,12 +11634,12 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11634
11634
  };
11635
11635
  };
11636
11636
  return (d, m) => (E(), x(y1, null, [
11637
- D("div", {
11637
+ I("div", {
11638
11638
  class: "tooltip-container",
11639
11639
  onMouseenter: c,
11640
11640
  onMouseleave: h
11641
11641
  }, [
11642
- D("div", {
11642
+ I("div", {
11643
11643
  ref_key: "triggerRef",
11644
11644
  ref: n
11645
11645
  }, [
@@ -11656,10 +11656,10 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11656
11656
  onMouseenter: m[0] || (m[0] = (g) => s.value = !0),
11657
11657
  onMouseleave: h
11658
11658
  }, [
11659
- D("div", T9, [
11659
+ I("div", T9, [
11660
11660
  _1(d.$slots, "content")
11661
11661
  ]),
11662
- D("div", {
11662
+ I("div", {
11663
11663
  class: J(["tooltip-arrow", d.position])
11664
11664
  }, null, 2)
11665
11665
  ], 38)) : K("", !0)
@@ -14031,17 +14031,17 @@ function g4() {
14031
14031
  a.exports = i();
14032
14032
  })(Y9, function() {
14033
14033
  var t = 1e3, i = 6e4, n = 36e5, l = "millisecond", s = "second", r = "minute", o = "hour", u = "day", c = "week", h = "month", f = "quarter", d = "year", m = "date", g = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) {
14034
- var I = ["th", "st", "nd", "rd"], V = k % 100;
14035
- return "[" + k + (I[(V - 20) % 10] || I[V] || I[0]) + "]";
14036
- } }, z = function(k, I, V) {
14034
+ var D = ["th", "st", "nd", "rd"], V = k % 100;
14035
+ return "[" + k + (D[(V - 20) % 10] || D[V] || D[0]) + "]";
14036
+ } }, z = function(k, D, V) {
14037
14037
  var R = String(k);
14038
- return !R || R.length >= I ? k : "" + Array(I + 1 - R.length).join(V) + k;
14038
+ return !R || R.length >= D ? k : "" + Array(D + 1 - R.length).join(V) + k;
14039
14039
  }, v = { s: z, z: function(k) {
14040
- var I = -k.utcOffset(), V = Math.abs(I), R = Math.floor(V / 60), M = V % 60;
14041
- return (I <= 0 ? "+" : "-") + z(R, 2, "0") + ":" + z(M, 2, "0");
14042
- }, m: function k(I, V) {
14043
- if (I.date() < V.date()) return -k(V, I);
14044
- var R = 12 * (V.year() - I.year()) + (V.month() - I.month()), M = I.clone().add(R, h), T = V - M < 0, F = I.clone().add(R + (T ? -1 : 1), h);
14040
+ var D = -k.utcOffset(), V = Math.abs(D), R = Math.floor(V / 60), M = V % 60;
14041
+ return (D <= 0 ? "+" : "-") + z(R, 2, "0") + ":" + z(M, 2, "0");
14042
+ }, m: function k(D, V) {
14043
+ if (D.date() < V.date()) return -k(V, D);
14044
+ var R = 12 * (V.year() - D.year()) + (V.month() - D.month()), M = D.clone().add(R, h), T = V - M < 0, F = D.clone().add(R + (T ? -1 : 1), h);
14045
14045
  return +(-(R + (V - M) / (T ? M - F : F - M)) || 0);
14046
14046
  }, a: function(k) {
14047
14047
  return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
@@ -14051,35 +14051,35 @@ function g4() {
14051
14051
  return k === void 0;
14052
14052
  } }, B = "en", S = {};
14053
14053
  S[B] = b;
14054
- var O = "$isDayjsObject", H = function(k) {
14055
- return k instanceof L || !(!k || !k[O]);
14056
- }, Z = function k(I, V, R) {
14054
+ var O = "$isDayjsObject", L = function(k) {
14055
+ return k instanceof H || !(!k || !k[O]);
14056
+ }, Z = function k(D, V, R) {
14057
14057
  var M;
14058
- if (!I) return B;
14059
- if (typeof I == "string") {
14060
- var T = I.toLowerCase();
14058
+ if (!D) return B;
14059
+ if (typeof D == "string") {
14060
+ var T = D.toLowerCase();
14061
14061
  S[T] && (M = T), V && (S[T] = V, M = T);
14062
- var F = I.split("-");
14062
+ var F = D.split("-");
14063
14063
  if (!M && F.length > 1) return k(F[0]);
14064
14064
  } else {
14065
- var $ = I.name;
14066
- S[$] = I, M = $;
14065
+ var $ = D.name;
14066
+ S[$] = D, M = $;
14067
14067
  }
14068
14068
  return !R && M && (B = M), M || !R && B;
14069
- }, Q = function(k, I) {
14070
- if (H(k)) return k.clone();
14071
- var V = typeof I == "object" ? I : {};
14072
- return V.date = k, V.args = arguments, new L(V);
14069
+ }, Q = function(k, D) {
14070
+ if (L(k)) return k.clone();
14071
+ var V = typeof D == "object" ? D : {};
14072
+ return V.date = k, V.args = arguments, new H(V);
14073
14073
  }, j = v;
14074
- j.l = Z, j.i = H, j.w = function(k, I) {
14075
- return Q(k, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
14074
+ j.l = Z, j.i = L, j.w = function(k, D) {
14075
+ return Q(k, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
14076
14076
  };
14077
- var L = function() {
14077
+ var H = function() {
14078
14078
  function k(V) {
14079
14079
  this.$L = Z(V.locale, null, !0), this.parse(V), this.$x = this.$x || V.x || {}, this[O] = !0;
14080
14080
  }
14081
- var I = k.prototype;
14082
- return I.parse = function(V) {
14081
+ var D = k.prototype;
14082
+ return D.parse = function(V) {
14083
14083
  this.$d = function(R) {
14084
14084
  var M = R.date, T = R.utc;
14085
14085
  if (M === null) return /* @__PURE__ */ new Date(NaN);
@@ -14094,27 +14094,27 @@ function g4() {
14094
14094
  }
14095
14095
  return new Date(M);
14096
14096
  }(V), this.init();
14097
- }, I.init = function() {
14097
+ }, D.init = function() {
14098
14098
  var V = this.$d;
14099
14099
  this.$y = V.getFullYear(), this.$M = V.getMonth(), this.$D = V.getDate(), this.$W = V.getDay(), this.$H = V.getHours(), this.$m = V.getMinutes(), this.$s = V.getSeconds(), this.$ms = V.getMilliseconds();
14100
- }, I.$utils = function() {
14100
+ }, D.$utils = function() {
14101
14101
  return j;
14102
- }, I.isValid = function() {
14102
+ }, D.isValid = function() {
14103
14103
  return this.$d.toString() !== g;
14104
- }, I.isSame = function(V, R) {
14104
+ }, D.isSame = function(V, R) {
14105
14105
  var M = Q(V);
14106
14106
  return this.startOf(R) <= M && M <= this.endOf(R);
14107
- }, I.isAfter = function(V, R) {
14107
+ }, D.isAfter = function(V, R) {
14108
14108
  return Q(V) < this.startOf(R);
14109
- }, I.isBefore = function(V, R) {
14109
+ }, D.isBefore = function(V, R) {
14110
14110
  return this.endOf(R) < Q(V);
14111
- }, I.$g = function(V, R, M) {
14111
+ }, D.$g = function(V, R, M) {
14112
14112
  return j.u(V) ? this[R] : this.set(M, V);
14113
- }, I.unix = function() {
14113
+ }, D.unix = function() {
14114
14114
  return Math.floor(this.valueOf() / 1e3);
14115
- }, I.valueOf = function() {
14115
+ }, D.valueOf = function() {
14116
14116
  return this.$d.getTime();
14117
- }, I.startOf = function(V, R) {
14117
+ }, D.startOf = function(V, R) {
14118
14118
  var M = this, T = !!j.u(R) || R, F = j.p(V), $ = function(F1, A1) {
14119
14119
  var T1 = j.w(M.$u ? Date.UTC(M.$y, A1, F1) : new Date(M.$y, A1, F1), M);
14120
14120
  return T ? T1 : T1.endOf(u);
@@ -14141,20 +14141,20 @@ function g4() {
14141
14141
  default:
14142
14142
  return this.clone();
14143
14143
  }
14144
- }, I.endOf = function(V) {
14144
+ }, D.endOf = function(V) {
14145
14145
  return this.startOf(V, !1);
14146
- }, I.$set = function(V, R) {
14146
+ }, D.$set = function(V, R) {
14147
14147
  var M, T = j.p(V), F = "set" + (this.$u ? "UTC" : ""), $ = (M = {}, M[u] = F + "Date", M[m] = F + "Date", M[h] = F + "Month", M[d] = F + "FullYear", M[o] = F + "Hours", M[r] = F + "Minutes", M[s] = F + "Seconds", M[l] = F + "Milliseconds", M)[T], a1 = T === u ? this.$D + (R - this.$W) : R;
14148
14148
  if (T === h || T === d) {
14149
14149
  var h1 = this.clone().set(m, 1);
14150
14150
  h1.$d[$](a1), h1.init(), this.$d = h1.set(m, Math.min(this.$D, h1.daysInMonth())).$d;
14151
14151
  } else $ && this.$d[$](a1);
14152
14152
  return this.init(), this;
14153
- }, I.set = function(V, R) {
14153
+ }, D.set = function(V, R) {
14154
14154
  return this.clone().$set(V, R);
14155
- }, I.get = function(V) {
14155
+ }, D.get = function(V) {
14156
14156
  return this[j.p(V)]();
14157
- }, I.add = function(V, R) {
14157
+ }, D.add = function(V, R) {
14158
14158
  var M, T = this;
14159
14159
  V = Number(V);
14160
14160
  var F = j.p(R), $ = function(f1) {
@@ -14167,9 +14167,9 @@ function g4() {
14167
14167
  if (F === c) return $(7);
14168
14168
  var a1 = (M = {}, M[r] = i, M[o] = n, M[s] = t, M)[F] || 1, h1 = this.$d.getTime() + V * a1;
14169
14169
  return j.w(h1, this);
14170
- }, I.subtract = function(V, R) {
14170
+ }, D.subtract = function(V, R) {
14171
14171
  return this.add(-1 * V, R);
14172
- }, I.format = function(V) {
14172
+ }, D.format = function(V) {
14173
14173
  var R = this, M = this.$locale();
14174
14174
  if (!this.isValid()) return M.invalidDate || g;
14175
14175
  var T = V || "YYYY-MM-DDTHH:mm:ssZ", F = j.z(this), $ = this.$H, a1 = this.$m, h1 = this.$M, f1 = M.weekdays, m1 = M.months, S1 = M.meridiem, O1 = function(A1, T1, a3, i3) {
@@ -14235,9 +14235,9 @@ function g4() {
14235
14235
  return null;
14236
14236
  }(A1) || F.replace(":", "");
14237
14237
  });
14238
- }, I.utcOffset = function() {
14238
+ }, D.utcOffset = function() {
14239
14239
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
14240
- }, I.diff = function(V, R, M) {
14240
+ }, D.diff = function(V, R, M) {
14241
14241
  var T, F = this, $ = j.p(R), a1 = Q(V), h1 = (a1.utcOffset() - this.utcOffset()) * i, f1 = this - a1, m1 = function() {
14242
14242
  return j.m(F, a1);
14243
14243
  };
@@ -14270,33 +14270,33 @@ function g4() {
14270
14270
  T = f1;
14271
14271
  }
14272
14272
  return M ? T : j.a(T);
14273
- }, I.daysInMonth = function() {
14273
+ }, D.daysInMonth = function() {
14274
14274
  return this.endOf(h).$D;
14275
- }, I.$locale = function() {
14275
+ }, D.$locale = function() {
14276
14276
  return S[this.$L];
14277
- }, I.locale = function(V, R) {
14277
+ }, D.locale = function(V, R) {
14278
14278
  if (!V) return this.$L;
14279
14279
  var M = this.clone(), T = Z(V, R, !0);
14280
14280
  return T && (M.$L = T), M;
14281
- }, I.clone = function() {
14281
+ }, D.clone = function() {
14282
14282
  return j.w(this.$d, this);
14283
- }, I.toDate = function() {
14283
+ }, D.toDate = function() {
14284
14284
  return new Date(this.valueOf());
14285
- }, I.toJSON = function() {
14285
+ }, D.toJSON = function() {
14286
14286
  return this.isValid() ? this.toISOString() : null;
14287
- }, I.toISOString = function() {
14287
+ }, D.toISOString = function() {
14288
14288
  return this.$d.toISOString();
14289
- }, I.toString = function() {
14289
+ }, D.toString = function() {
14290
14290
  return this.$d.toUTCString();
14291
14291
  }, k;
14292
- }(), G = L.prototype;
14292
+ }(), G = H.prototype;
14293
14293
  return Q.prototype = G, [["$ms", l], ["$s", s], ["$m", r], ["$H", o], ["$W", u], ["$M", h], ["$y", d], ["$D", m]].forEach(function(k) {
14294
- G[k[1]] = function(I) {
14295
- return this.$g(I, k[0], k[1]);
14294
+ G[k[1]] = function(D) {
14295
+ return this.$g(D, k[0], k[1]);
14296
14296
  };
14297
- }), Q.extend = function(k, I) {
14298
- return k.$i || (k(I, L, Q), k.$i = !0), Q;
14299
- }, Q.locale = Z, Q.isDayjs = H, Q.unix = function(k) {
14297
+ }), Q.extend = function(k, D) {
14298
+ return k.$i || (k(D, H, Q), k.$i = !0), Q;
14299
+ }, Q.locale = Z, Q.isDayjs = L, Q.unix = function(k) {
14300
14300
  return Q(1e3 * k);
14301
14301
  }, Q.en = S[B], Q.Ls = S, Q.p = {}, Q;
14302
14302
  });
@@ -14459,13 +14459,13 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14459
14459
  }
14460
14460
  });
14461
14461
  return M1(n, () => i("updateNavDate", n.value)), (c, h) => (E(), x("div", pu, [
14462
- D("div", vu, [
14463
- D("button", {
14462
+ I("div", vu, [
14463
+ I("button", {
14464
14464
  type: "button",
14465
14465
  class: "datepicker-navigation-arrows datepicker-navigation-button",
14466
14466
  onClick: h[0] || (h[0] = (f) => u.value("left"))
14467
14467
  }, h[4] || (h[4] = [
14468
- D("span", null, "‹", -1)
14468
+ I("span", null, "‹", -1)
14469
14469
  ])),
14470
14470
  o.value ? (E(), x("button", {
14471
14471
  key: 0,
@@ -14473,23 +14473,23 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14473
14473
  class: "datepicker-navigation-button datepicker-navigation-date datepicker-navigation-month",
14474
14474
  onClick: h[1] || (h[1] = (f) => c.$emit("updateNavType", k1(E1).Month))
14475
14475
  }, [
14476
- D("span", null, t1(l.value), 1)
14476
+ I("span", null, t1(l.value), 1)
14477
14477
  ])) : K("", !0),
14478
- D("button", {
14478
+ I("button", {
14479
14479
  type: "button",
14480
14480
  class: J(["datepicker-navigation-button datepicker-navigation-date datepicker-navigation-month", {
14481
14481
  "datepicker-navigation-button__inactive": c.navType === k1(E1).Year
14482
14482
  }]),
14483
14483
  onClick: h[2] || (h[2] = (f) => c.$emit("updateNavType", k1(E1).Year))
14484
14484
  }, [
14485
- D("span", null, t1(c.navType === k1(E1).Year ? r.value : s.value), 1)
14485
+ I("span", null, t1(c.navType === k1(E1).Year ? r.value : s.value), 1)
14486
14486
  ], 2),
14487
- D("button", {
14487
+ I("button", {
14488
14488
  type: "button",
14489
14489
  class: "datepicker-navigation-arrows datepicker-navigation-button",
14490
14490
  onClick: h[3] || (h[3] = (f) => u.value("right"))
14491
14491
  }, h[5] || (h[5] = [
14492
- D("span", null, "›", -1)
14492
+ I("span", null, "›", -1)
14493
14493
  ]))
14494
14494
  ])
14495
14495
  ]));
@@ -14572,15 +14572,15 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14572
14572
  if (v[B])
14573
14573
  continue;
14574
14574
  b++;
14575
- const O = d1(t.navigationDate).add(1, "month").date(b), H = o(O);
14575
+ const O = d1(t.navigationDate).add(1, "month").date(b), L = o(O);
14576
14576
  v.push({
14577
14577
  class: {
14578
14578
  "calendar-day-cell": !0,
14579
14579
  "calendar-day-cell-invisible": !0,
14580
- "calendar-cell__disabled": !H
14580
+ "calendar-cell__disabled": !L
14581
14581
  },
14582
14582
  value: O.date(),
14583
- onClick: () => H && u(O.toDate())
14583
+ onClick: () => L && u(O.toDate())
14584
14584
  });
14585
14585
  }
14586
14586
  p[z] = v;
@@ -14601,10 +14601,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14601
14601
  v.push(B);
14602
14602
  return [...Array(4).keys()].map((B) => {
14603
14603
  const S = B * 4;
14604
- return v.slice(S, S + 4).map((H) => {
14605
- const Z = d1(t.navigationDate).year(H).toDate();
14604
+ return v.slice(S, S + 4).map((L) => {
14605
+ const Z = d1(t.navigationDate).year(L).toDate();
14606
14606
  return {
14607
- value: H,
14607
+ value: L,
14608
14608
  onClick: () => u(Z)
14609
14609
  };
14610
14610
  });
@@ -14614,33 +14614,33 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14614
14614
  t.navType === E1.Day ? i("updateSelectedDate", n.value) : t.navType === E1.Month ? (i("updateNavDate", n.value), i("updateNavType", E1.Day)) : t.navType === E1.Year && (i("updateNavDate", n.value), i("updateNavType", E1.Month));
14615
14615
  }), (p, y) => (E(), x("table", gu, [
14616
14616
  p.navType === k1(E1).Day ? (E(), x("thead", Au, [
14617
- D("tr", null, [
14617
+ I("tr", null, [
14618
14618
  (E(!0), x(y1, null, z1(k1(l), (b) => (E(), x("th", yu, [
14619
- D("span", null, t1(b), 1)
14619
+ I("span", null, t1(b), 1)
14620
14620
  ]))), 256))
14621
14621
  ])
14622
14622
  ])) : K("", !0),
14623
- D("tbody", null, [
14623
+ I("tbody", null, [
14624
14624
  p.navType === k1(E1).Day ? (E(!0), x(y1, { key: 0 }, z1(d.value, (b) => (E(), x("tr", null, [
14625
14625
  (E(!0), x(y1, null, z1(b, (z) => (E(), x("td", {
14626
14626
  class: J(["calendar-cell calendar-day-cell", z.class]),
14627
14627
  onClick: (v) => z.onClick()
14628
14628
  }, [
14629
- D("span", wu, t1(z.value), 1)
14629
+ I("span", wu, t1(z.value), 1)
14630
14630
  ], 10, bu))), 256))
14631
14631
  ]))), 256)) : p.navType === k1(E1).Month ? (E(!0), x(y1, { key: 1 }, z1(m.value, (b) => (E(), x("tr", null, [
14632
14632
  (E(!0), x(y1, null, z1(b, (z) => (E(), x("td", {
14633
14633
  class: "calendar-cell calendar-month-cell",
14634
14634
  onClick: (v) => z.onClick()
14635
14635
  }, [
14636
- D("span", zu, t1(z.value), 1)
14636
+ I("span", zu, t1(z.value), 1)
14637
14637
  ], 8, Eu))), 256))
14638
14638
  ]))), 256)) : p.navType === k1(E1).Year ? (E(!0), x(y1, { key: 2 }, z1(g.value, (b) => (E(), x("tr", null, [
14639
14639
  (E(!0), x(y1, null, z1(b, (z) => (E(), x("td", {
14640
14640
  class: "calendar-cell calendar-year-cell",
14641
14641
  onClick: (v) => z.onClick()
14642
14642
  }, [
14643
- D("span", Mu, t1(z.value), 1)
14643
+ I("span", Mu, t1(z.value), 1)
14644
14644
  ], 8, Cu))), 256))
14645
14645
  ]))), 256)) : K("", !0)
14646
14646
  ])
@@ -14670,14 +14670,14 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14670
14670
  return M1(i, () => {
14671
14671
  s(i.value ?? /* @__PURE__ */ new Date()), i.value && t("update:modelValue", i.value);
14672
14672
  }), (u, c) => (E(), x("div", ku, [
14673
- D("div", xu, [
14673
+ I("div", xu, [
14674
14674
  c1(mu, {
14675
14675
  navigationDate: n.value,
14676
14676
  navType: l.value,
14677
14677
  onUpdateNavDate: s,
14678
14678
  onUpdateNavType: o
14679
14679
  }, null, 8, ["navigationDate", "navType"]),
14680
- D("div", Du, [
14680
+ I("div", Du, [
14681
14681
  c1(Su, {
14682
14682
  selectedDate: i.value,
14683
14683
  navigationDate: n.value,
@@ -14747,10 +14747,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14747
14747
  }
14748
14748
  ), M1(u, (M) => {
14749
14749
  M && M3(() => {
14750
- H();
14750
+ L();
14751
14751
  });
14752
14752
  });
14753
- const H = () => {
14753
+ const L = () => {
14754
14754
  if (!c.value) return;
14755
14755
  const M = c.value.getBoundingClientRect();
14756
14756
  h.value = {
@@ -14771,7 +14771,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14771
14771
  u.value = !1, l("update:modelValue", T), g && (g.value = T);
14772
14772
  }, j = () => {
14773
14773
  r.value = !0, t.type === "date" && g && (u.value = !0, g.updateOptions({ lazy: !1 })), d.value = !0;
14774
- }, L = () => {
14774
+ }, H = () => {
14775
14775
  setTimeout(() => {
14776
14776
  const M = document.activeElement;
14777
14777
  if (!(document.querySelector(".datepicker-popup")?.contains(M) ?? !1) && (u.value = !1, r.value = s.value !== "", t.type === "date" && g)) {
@@ -14785,7 +14785,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14785
14785
  return !isNaN(a1.getTime()) && a1.getFullYear() === $ && a1.getMonth() === F - 1 && a1.getDate() === T;
14786
14786
  }, k = () => {
14787
14787
  t.type === "date" && (o.value = !1, r.value = !1, g?.updateOptions({ lazy: !0 })), l("update:modelValue", "");
14788
- }, I = W(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), V = () => {
14788
+ }, D = W(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), V = () => {
14789
14789
  i.value = !i.value;
14790
14790
  }, R = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
14791
14791
  return g0(() => {
@@ -14807,10 +14807,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14807
14807
  }, [
14808
14808
  M.label ? (E(), x("label", {
14809
14809
  key: 0,
14810
- class: J(["label-input", [{ solo: I.value && !r.value }, { active: r.value }]])
14810
+ class: J(["label-input", [{ solo: D.value && !r.value }, { active: r.value }]])
14811
14811
  }, t1(M.label), 3)) : K("", !0),
14812
14812
  M.required ? (E(), x("div", Vu, "Requis")) : K("", !0),
14813
- D("div", {
14813
+ I("div", {
14814
14814
  class: J(["amc2-input-line", { active: r.value }, { noLabel: !M.label }])
14815
14815
  }, [
14816
14816
  M.iconName ? (E(), n1(s1, {
@@ -14818,7 +14818,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14818
14818
  iconName: M.iconName,
14819
14819
  class: "amc2-input-icon"
14820
14820
  }, null, 8, ["iconName"])) : K("", !0),
14821
- D("div", {
14821
+ I("div", {
14822
14822
  ref_key: "dateInputWrapper",
14823
14823
  ref: c,
14824
14824
  class: J(["input-content", v.value]),
@@ -14835,7 +14835,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14835
14835
  autocomplete: "off",
14836
14836
  onInput: Z,
14837
14837
  onFocus: j,
14838
- onBlur: L
14838
+ onBlur: H
14839
14839
  }, null, 40, Bu)) : (E(), x("input", {
14840
14840
  key: 1,
14841
14841
  ref_key: "inputRef",
@@ -14846,9 +14846,9 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14846
14846
  autocomplete: "off",
14847
14847
  onInput: Z,
14848
14848
  onFocus: j,
14849
- onBlur: L
14849
+ onBlur: H
14850
14850
  }, null, 40, Ru)),
14851
- D("div", {
14851
+ I("div", {
14852
14852
  class: J(["input-icon-container", {
14853
14853
  visible: r.value && (b.value || z.value || M.type === "date")
14854
14854
  }])
@@ -14889,17 +14889,17 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14889
14889
  ], 6)
14890
14890
  ], 2),
14891
14891
  p.value === "text" && d.value && f.value.length ? (E(), x("div", Hu, [
14892
- D("div", Lu, [
14893
- D("ul", Ou, [
14892
+ I("div", Lu, [
14893
+ I("ul", Ou, [
14894
14894
  (E(!0), x(y1, null, z1(f.value, (F, $) => (E(), x("li", {
14895
14895
  key: $,
14896
14896
  onMousedown: Pa((a1) => O(F), ["prevent"])
14897
14897
  }, [
14898
- D("label", {
14898
+ I("label", {
14899
14899
  for: F.value,
14900
14900
  class: "amc2-list-item"
14901
14901
  }, [
14902
- D("span", null, t1(F.label), 1)
14902
+ I("span", null, t1(F.label), 1)
14903
14903
  ], 8, Nu)
14904
14904
  ], 40, Fu))), 128))
14905
14905
  ])
@@ -14914,7 +14914,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14914
14914
  }, Uu = { class: "datagrid-cell-wrapper" }, Ku = { class: "datagrid-cell-label" }, Pu = {
14915
14915
  key: 0,
14916
14916
  class: "datagrid-filter-order"
14917
- }, Wu = ["onClick"], Qu = ["onClick"], Yu = { class: "datagrid-thead-cell datagrid-cell" }, qu = {
14917
+ }, Wu = ["onClick"], Qu = ["onClick"], Yu = {
14918
+ key: 1,
14919
+ class: "datagrid-thead-cell datagrid-cell"
14920
+ }, qu = {
14918
14921
  ref: "settingsCol",
14919
14922
  class: "datagrid-cell-wrapper"
14920
14923
  }, Gu = { class: "datagrid-settings-header" }, _u = { class: "col-selection-container" }, Ju = { class: "col-selection-options" }, Zu = { class: "col-selection-option-text" }, Xu = {
@@ -14928,21 +14931,22 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14928
14931
  selection: { type: Boolean, default: !1 },
14929
14932
  hasMore: { type: Boolean },
14930
14933
  allCheckState: { default: () => ({ isChecked: !1, partially: !1 }) },
14934
+ displaySettingsHeader: { type: Boolean, default: !0 },
14931
14935
  modalFilter: {},
14932
14936
  dataSort: {}
14933
14937
  },
14934
14938
  emits: ["loadMore", "updateCheckItem", "updateCheckAll"],
14935
14939
  setup(a, { expose: e, emit: t }) {
14936
14940
  const i = a, n = t, l = e1(), s = e1(), r = { height: "17", width: "17" }, o = De("displayContainer"), u = De("settingsCol"), c = e1(""), { right: h, update: f } = Ge(l), { right: d, update: m } = Ge(u), g = W(
14937
- () => i.headers.filter((L) => L.visibility.isShown)
14941
+ () => i.headers.filter((H) => H.visibility.isShown)
14938
14942
  ), p = W(
14939
- () => i.headers.filter((L) => {
14940
- const G = xa(L.label), k = xa(c.value);
14943
+ () => i.headers.filter((H) => {
14944
+ const G = xa(H.label), k = xa(c.value);
14941
14945
  return G.toLowerCase().includes(k.toLowerCase());
14942
14946
  })
14943
- ), y = W(() => ({ gridColumn: `1 / ${g.value.length + (i.selection ? 2 : 1) + 1}` })), b = (L, G) => {
14947
+ ), y = W(() => ({ gridColumn: `1 / ${g.value.length + (i.selection ? 2 : 1) + 1}` })), b = (H, G) => {
14944
14948
  if (G === "ASC")
14945
- switch (L) {
14949
+ switch (H) {
14946
14950
  case "string":
14947
14951
  return "Trié de A à Z (ordre alphabétique)";
14948
14952
  case "number":
@@ -14951,7 +14955,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14951
14955
  return "Trié du plus ancien au plus récent";
14952
14956
  }
14953
14957
  if (G === "DESC")
14954
- switch (L) {
14958
+ switch (H) {
14955
14959
  case "string":
14956
14960
  return "Trié de Z à A (ordre alphabétique inversé)";
14957
14961
  case "number":
@@ -14960,37 +14964,37 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14960
14964
  return "Trié du plus récent au plus ancien";
14961
14965
  }
14962
14966
  return "Aucun tri";
14963
- }, z = (L) => {
14964
- n("updateCheckItem", L.id, L.isSelected);
14965
- }, v = (L) => {
14966
- n("updateCheckAll", L.target.checked);
14967
+ }, z = (H) => {
14968
+ n("updateCheckItem", H.id, H.isSelected);
14969
+ }, v = (H) => {
14970
+ n("updateCheckAll", H.target.checked);
14967
14971
  }, B = W(() => {
14968
- const L = d.value - h.value, G = L <= 0;
14972
+ const H = d.value - h.value, G = H <= 0;
14969
14973
  return {
14970
14974
  isFullyVisible: G,
14971
14975
  ...!G && {
14972
- offsetRight: L + 10
14976
+ offsetRight: H + 10
14973
14977
  // 10 = espacement supplémentaire nécessaire à l'affichage
14974
14978
  }
14975
14979
  };
14976
14980
  }), S = new IntersectionObserver(
14977
- (L) => {
14978
- L[0].isIntersecting && n("loadMore");
14981
+ (H) => {
14982
+ H[0].isIntersecting && n("loadMore");
14979
14983
  },
14980
14984
  {
14981
14985
  threshold: 0
14982
14986
  }
14983
14987
  ), O = () => {
14984
14988
  s.value && S.observe(s.value);
14985
- }, H = () => o.value?.scrollTo(0, 0), Z = async () => {
14989
+ }, L = () => o.value?.scrollTo(0, 0), Z = async () => {
14986
14990
  await M3(), l.value && l.value.scrollTo({
14987
14991
  left: l.value.scrollWidth - l.value.clientWidth,
14988
14992
  behavior: "instant"
14989
14993
  });
14990
14994
  }, Q = () => {
14991
14995
  if (!s.value || !l.value) return;
14992
- const L = s.value?.getBoundingClientRect(), G = l.value?.getBoundingClientRect();
14993
- return L.top <= G.top + G.height + La;
14996
+ const H = s.value?.getBoundingClientRect(), G = l.value?.getBoundingClientRect();
14997
+ return H.top <= G.top + G.height + La;
14994
14998
  }, j = () => M3(() => {
14995
14999
  Q() && n("loadMore");
14996
15000
  });
@@ -15001,26 +15005,26 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15001
15005
  })
15002
15006
  ), g0(() => {
15003
15007
  O(), n("loadMore");
15004
- }), Wa(() => S.disconnect()), e({ resetScroll: H, checkLoadMore: j }), (L, G) => (E(), x("div", {
15008
+ }), Wa(() => S.disconnect()), e({ resetScroll: L, checkLoadMore: j }), (H, G) => (E(), x("div", {
15005
15009
  ref_key: "datagridRef",
15006
15010
  ref: l,
15007
15011
  class: "datagrid-container"
15008
15012
  }, [
15009
- D("div", {
15010
- class: J(["datagrid-table", { "datagrid-table__with-selection": L.selection }])
15013
+ I("div", {
15014
+ class: J(["datagrid-table", { "datagrid-table__with-selection": H.selection }])
15011
15015
  }, [
15012
- D("div", {
15016
+ I("div", {
15013
15017
  class: "datagrid-thead",
15014
15018
  style: w1(y.value)
15015
15019
  }, [
15016
- L.selection ? (E(), x("div", ju, [
15017
- L.selection && L.headers.length ? (E(), n1(s2, {
15020
+ H.selection ? (E(), x("div", ju, [
15021
+ H.selection && H.headers.length ? (E(), n1(s2, {
15018
15022
  key: "checkAll",
15019
15023
  theme: { "--amc2-checkbox-color": "#9590b9" },
15020
15024
  iconStyle: r,
15021
- indeterminate: L.allCheckState.partially,
15022
- modelValue: L.allCheckState.isChecked,
15023
- "onUpdate:modelValue": G[0] || (G[0] = (k) => L.allCheckState.isChecked = k),
15025
+ indeterminate: H.allCheckState.partially,
15026
+ modelValue: H.allCheckState.isChecked,
15027
+ "onUpdate:modelValue": G[0] || (G[0] = (k) => H.allCheckState.isChecked = k),
15024
15028
  onChange: v
15025
15029
  }, null, 8, ["indeterminate", "modelValue"])) : K("", !0)
15026
15030
  ])) : K("", !0),
@@ -15028,12 +15032,12 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15028
15032
  class: "datagrid-thead-cell datagrid-cell",
15029
15033
  style: w1(k.style)
15030
15034
  }, [
15031
- D("div", Uu, [
15032
- D("span", Ku, t1(k.label), 1),
15033
- k.sortable && L.modalFilter ? (E(), x("div", Pu, [
15034
- D("span", {
15035
+ I("div", Uu, [
15036
+ I("span", Ku, t1(k.label), 1),
15037
+ k.sortable && H.modalFilter ? (E(), x("div", Pu, [
15038
+ I("span", {
15035
15039
  class: "datagrid-cell-filter",
15036
- onClick: (I) => L.modalFilter(k)
15040
+ onClick: (D) => H.modalFilter(k)
15037
15041
  }, [
15038
15042
  c1(s1, {
15039
15043
  iconName: "filter",
@@ -15050,10 +15054,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15050
15054
  j3(t1(b(k.dataType, k.sortOrder)), 1)
15051
15055
  ]),
15052
15056
  default: C1(() => [
15053
- k.sortable && L.dataSort ? (E(), x("span", {
15057
+ k.sortable && H.dataSort ? (E(), x("span", {
15054
15058
  key: 0,
15055
15059
  class: "datagrid-cell-sortOrder",
15056
- onClick: (I) => L.dataSort(k)
15060
+ onClick: (D) => H.dataSort(k)
15057
15061
  }, [
15058
15062
  c1(s1, {
15059
15063
  iconName: "arrow-up",
@@ -15078,15 +15082,15 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15078
15082
  ])) : K("", !0)
15079
15083
  ])
15080
15084
  ], 4))), 256)),
15081
- D("div", Yu, [
15082
- D("div", qu, [
15085
+ H.displaySettingsHeader ? (E(), x("div", Yu, [
15086
+ I("div", qu, [
15083
15087
  c1(ka, {
15084
15088
  position: "bottom-left",
15085
15089
  class: "datagrid-settings-menu-container",
15086
15090
  onClose: G[2] || (G[2] = (k) => c.value = "")
15087
15091
  }, {
15088
15092
  content: C1(() => [
15089
- D("div", _u, [
15093
+ I("div", _u, [
15090
15094
  c1(A4, {
15091
15095
  id: "datagrid-col-selection-input",
15092
15096
  class: "col-selection-input",
@@ -15096,16 +15100,16 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15096
15100
  modelValue: c.value,
15097
15101
  "onUpdate:modelValue": G[1] || (G[1] = (k) => c.value = k)
15098
15102
  }, null, 8, ["modelValue"]),
15099
- D("div", Ju, [
15103
+ I("div", Ju, [
15100
15104
  (E(!0), x(y1, null, z1(p.value, (k) => (E(), x("div", {
15101
15105
  key: k.key,
15102
15106
  class: "col-selection-option"
15103
15107
  }, [
15104
- D("div", Zu, t1(k1(B9)(k.label)), 1),
15108
+ I("div", Zu, t1(k1(B9)(k.label)), 1),
15105
15109
  c1(V9, {
15106
15110
  disabled: k.visibility?.isDisabled,
15107
15111
  modelValue: k.visibility.isShown,
15108
- "onUpdate:modelValue": (I) => k.visibility.isShown = I,
15112
+ "onUpdate:modelValue": (D) => k.visibility.isShown = D,
15109
15113
  onChange: () => {
15110
15114
  k.visibility.update(k.visibility.isShown), Z();
15111
15115
  }
@@ -15115,7 +15119,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15115
15119
  ])
15116
15120
  ]),
15117
15121
  default: C1(() => [
15118
- D("div", Gu, [
15122
+ I("div", Gu, [
15119
15123
  c1(s1, {
15120
15124
  iconName: "settings",
15121
15125
  height: "18",
@@ -15131,43 +15135,44 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15131
15135
  _: 1
15132
15136
  })
15133
15137
  ], 512)
15134
- ])
15138
+ ])) : K("", !0)
15135
15139
  ], 4),
15136
- D("div", {
15140
+ I("div", {
15137
15141
  ref: "displayContainer",
15138
15142
  class: "datagrid-tbody",
15139
15143
  style: w1(y.value)
15140
15144
  }, [
15141
- (E(!0), x(y1, null, z1(L.items, (k) => (E(), x("div", {
15145
+ (E(!0), x(y1, null, z1(H.items, (k) => (E(), x("div", {
15142
15146
  key: k.id,
15143
15147
  class: J(["datagrid-tbody-row", { "datagrid-tbody-row__selected": k.isSelected }]),
15144
15148
  style: w1(y.value)
15145
15149
  }, [
15146
- L.selection ? (E(), x("div", Xu, [
15150
+ H.selection ? (E(), x("div", Xu, [
15147
15151
  (E(), n1(s2, {
15148
15152
  key: k.id,
15149
15153
  iconStyle: r,
15150
15154
  modelValue: k.isSelected,
15151
- "onUpdate:modelValue": (I) => k.isSelected = I,
15155
+ "onUpdate:modelValue": (D) => k.isSelected = D,
15152
15156
  onChange: () => z(k)
15153
15157
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))
15154
15158
  ])) : K("", !0),
15155
- (E(!0), x(y1, null, z1(g.value, (I) => (E(), x("div", $u, [
15159
+ (E(!0), x(y1, null, z1(g.value, (D) => (E(), x("div", $u, [
15156
15160
  c1(f9, {
15157
15161
  is: "a",
15158
15162
  class: "datagrid-link",
15159
- wrap: !!k[`onClick_${I.key}`],
15160
- onClick: k[`onClick_${I.key}`]
15163
+ wrap: !!k[`onClick_${D.key}`],
15164
+ onClick: k[`onClick_${D.key}`]
15161
15165
  }, {
15162
15166
  default: C1(() => [
15163
- k[I.key]?.render ? (E(), n1(Na(k[I.key].render), { key: 0 })) : (E(), x(y1, { key: 1 }, [
15164
- j3(t1(k[I.key]), 1)
15167
+ k[D.key]?.render ? (E(), n1(Na(k[D.key].render), { key: 0 })) : (E(), x(y1, { key: 1 }, [
15168
+ j3(t1(k[D.key]), 1)
15165
15169
  ], 64))
15166
15170
  ]),
15167
15171
  _: 2
15168
15172
  }, 1032, ["wrap", "onClick"])
15169
15173
  ]))), 256)),
15170
- D("div", {
15174
+ H.displaySettingsHeader ? (E(), x("div", {
15175
+ key: 1,
15171
15176
  class: J(["datagrid-tbody-cell datagrid-cell datagrid-cell__settings", {
15172
15177
  "datagrid-cell__not-fully-visible": !B.value.isFullyVisible
15173
15178
  }]),
@@ -15181,26 +15186,26 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15181
15186
  items: k.actions
15182
15187
  }, {
15183
15188
  default: C1(() => [
15184
- D("div", ed, [
15189
+ I("div", ed, [
15185
15190
  c1(s1, { iconName: "more-vertical" })
15186
15191
  ])
15187
15192
  ]),
15188
15193
  _: 2
15189
15194
  }, 1032, ["display-el", "items"])
15190
- ], 6)
15195
+ ], 6)) : K("", !0)
15191
15196
  ], 6))), 128)),
15192
- L.hasMore ? (E(), x("div", {
15197
+ H.hasMore ? (E(), x("div", {
15193
15198
  key: 0,
15194
15199
  class: "datagrid-loadTrigger-container",
15195
15200
  style: w1(y.value)
15196
15201
  }, [
15197
- D("div", {
15202
+ I("div", {
15198
15203
  ref_key: "loadTrigger",
15199
15204
  ref: s,
15200
15205
  class: "datagrid-loadTrigger",
15201
15206
  style: w1({ height: `${La}px` })
15202
15207
  }, null, 4),
15203
- D("div", td, [
15208
+ I("div", td, [
15204
15209
  c1(c2)
15205
15210
  ])
15206
15211
  ], 4)) : K("", !0)
@@ -15275,7 +15280,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15275
15280
  ref: "headerRef",
15276
15281
  class: J(["amc2-list-header", { "amc2-list-header-sticky": c.stickyHeader }])
15277
15282
  }, [
15278
- D("div", id, [
15283
+ I("div", id, [
15279
15284
  c.multiple && n.value.length >= 3 ? (E(), n1(r0, {
15280
15285
  key: 0,
15281
15286
  position: "right"
@@ -15305,21 +15310,21 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15305
15310
  ])) : K("", !0)
15306
15311
  ])
15307
15312
  ], 2)) : K("", !0),
15308
- D("ul", {
15313
+ I("ul", {
15309
15314
  class: J(["amc2-list", [c.itemSize ? `amc2-list-${c.itemSize}` : ""]])
15310
15315
  }, [
15311
15316
  r.value.length === 0 ? (E(), x("li", sd, [
15312
- D("span", rd, t1(c.emptyMessage), 1)
15317
+ I("span", rd, t1(c.emptyMessage), 1)
15313
15318
  ])) : K("", !0),
15314
15319
  (E(!0), x(y1, null, z1(r.value, (f) => (E(), x("li", {
15315
15320
  key: f.value + "-" + f.label,
15316
15321
  class: J({ "amc2-list-item-selected": s(f.value) })
15317
15322
  }, [
15318
- D("label", {
15323
+ I("label", {
15319
15324
  class: "amc2-list-item",
15320
15325
  onClick: (d) => u(f)
15321
15326
  }, [
15322
- D("span", {
15327
+ I("span", {
15323
15328
  class: J({ selected: s(f.value) })
15324
15329
  }, t1(f.label), 3)
15325
15330
  ], 8, od)
@@ -15338,16 +15343,16 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15338
15343
  },
15339
15344
  setup(a) {
15340
15345
  return (e, t) => e.visible ? (E(), x("div", ud, [
15341
- t[1] || (t[1] = D("div", { class: "modal-background" }, null, -1)),
15342
- D("dialog", dd, [
15343
- D("header", null, [
15344
- D("div", hd, t1(e.title), 1),
15346
+ t[1] || (t[1] = I("div", { class: "modal-background" }, null, -1)),
15347
+ I("dialog", dd, [
15348
+ I("header", null, [
15349
+ I("div", hd, t1(e.title), 1),
15345
15350
  c1(s1, {
15346
15351
  "icon-name": "x",
15347
15352
  onClick: t[0] || (t[0] = (i) => e.$emit("close"))
15348
15353
  })
15349
15354
  ]),
15350
- D("div", fd, [
15355
+ I("div", fd, [
15351
15356
  _1(e.$slots, "default")
15352
15357
  ])
15353
15358
  ])
@@ -15376,12 +15381,12 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15376
15381
  class: J(["amc2-radio-container", s.className]),
15377
15382
  onClick: l
15378
15383
  }, [
15379
- D("input", {
15384
+ I("input", {
15380
15385
  type: "radio",
15381
15386
  disabled: s.disabled,
15382
15387
  checked: s.modelValue === s.value
15383
15388
  }, null, 8, pd),
15384
- r[0] || (r[0] = D("span", { class: "amc2-radio" }, null, -1)),
15389
+ r[0] || (r[0] = I("span", { class: "amc2-radio" }, null, -1)),
15385
15390
  s.icon ? (E(), n1(s1, {
15386
15391
  key: 0,
15387
15392
  iconName: s.icon
@@ -15426,8 +15431,8 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15426
15431
  j3(t1(s.toolTipLabelLeft), 1)
15427
15432
  ]),
15428
15433
  default: C1(() => [
15429
- D("div", md, [
15430
- D("div", {
15434
+ I("div", md, [
15435
+ I("div", {
15431
15436
  class: J(["amc2-segment-btn left", { active: s.modelValue === "left" }]),
15432
15437
  onClick: r[0] || (r[0] = (o) => n("left")),
15433
15438
  disabled: s.disabled
@@ -15438,7 +15443,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15438
15443
  height: "24",
15439
15444
  width: "24"
15440
15445
  }, null, 8, ["icon-name"])) : K("", !0),
15441
- D("span", null, t1(s.labelLeft), 1)
15446
+ I("span", null, t1(s.labelLeft), 1)
15442
15447
  ], 10, gd)
15443
15448
  ])
15444
15449
  ]),
@@ -15449,8 +15454,8 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15449
15454
  j3(t1(s.toolTipLabelCenter), 1)
15450
15455
  ]),
15451
15456
  default: C1(() => [
15452
- D("div", Ad, [
15453
- D("div", {
15457
+ I("div", Ad, [
15458
+ I("div", {
15454
15459
  class: J(["amc2-segment-btn center", { active: s.modelValue === "center" }]),
15455
15460
  onClick: r[1] || (r[1] = (o) => n("center")),
15456
15461
  disabled: s.disabled
@@ -15461,7 +15466,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15461
15466
  height: "24",
15462
15467
  width: "24"
15463
15468
  }, null, 8, ["icon-name"])) : K("", !0),
15464
- D("span", null, t1(s.labelCenter), 1)
15469
+ I("span", null, t1(s.labelCenter), 1)
15465
15470
  ], 10, yd)
15466
15471
  ])
15467
15472
  ]),
@@ -15472,8 +15477,8 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15472
15477
  j3(t1(s.toolTipLabelRight), 1)
15473
15478
  ]),
15474
15479
  default: C1(() => [
15475
- D("div", bd, [
15476
- D("div", {
15480
+ I("div", bd, [
15481
+ I("div", {
15477
15482
  class: J(["amc2-segment-btn right", { active: s.modelValue === "right" }]),
15478
15483
  onClick: r[2] || (r[2] = (o) => n("right")),
15479
15484
  disabled: s.disabled
@@ -15484,7 +15489,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15484
15489
  height: "24",
15485
15490
  width: "24"
15486
15491
  }, null, 8, ["icon-name"])) : K("", !0),
15487
- D("span", null, t1(s.labelRight), 1)
15492
+ I("span", null, t1(s.labelRight), 1)
15488
15493
  ], 10, wd)
15489
15494
  ])
15490
15495
  ]),
@@ -15509,7 +15514,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15509
15514
  key: 0,
15510
15515
  class: J(["amc2-selection", { "amc2-selection-disabled": t.disabled }])
15511
15516
  }, [
15512
- D("span", Ed, [
15517
+ I("span", Ed, [
15513
15518
  _1(s.$slots, "default")
15514
15519
  ]),
15515
15520
  !t.disabled && s.clearable ? (E(), n1(s1, {
@@ -15578,7 +15583,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15578
15583
  ref_key: "selectionRef",
15579
15584
  ref: n
15580
15585
  }, [
15581
- D("div", {
15586
+ I("div", {
15582
15587
  class: "amc2-selection-group-items",
15583
15588
  ref_key: "itemsRef",
15584
15589
  ref: l
@@ -15591,12 +15596,12 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15591
15596
  modelValue: g
15592
15597
  }, {
15593
15598
  default: C1(() => [
15594
- D("div", Cd, t1(g.label), 1)
15599
+ I("div", Cd, t1(g.label), 1)
15595
15600
  ]),
15596
15601
  _: 2
15597
15602
  }, 1032, ["disabled", "onClear", "clearable", "modelValue"]))), 128))
15598
15603
  ], 512),
15599
- D("div", Md, [
15604
+ I("div", Md, [
15600
15605
  o.value.length > 0 ? (E(), n1(r0, {
15601
15606
  key: 0,
15602
15607
  style: w1(d.tooltipStyle),
@@ -15605,7 +15610,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15605
15610
  removeDelay: 100
15606
15611
  }, {
15607
15612
  content: C1(() => [
15608
- D("div", kd, [
15613
+ I("div", kd, [
15609
15614
  (E(!0), x(y1, null, z1(o.value, (g, p) => (E(), n1(Oa, {
15610
15615
  key: p,
15611
15616
  disabled: t.disabled,
@@ -15614,14 +15619,14 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15614
15619
  modelValue: g
15615
15620
  }, {
15616
15621
  default: C1(() => [
15617
- D("div", xd, t1(g.label), 1)
15622
+ I("div", xd, t1(g.label), 1)
15618
15623
  ]),
15619
15624
  _: 2
15620
15625
  }, 1032, ["disabled", "onClear", "clearable", "modelValue"]))), 128))
15621
15626
  ])
15622
15627
  ]),
15623
15628
  default: C1(() => [
15624
- D("span", Sd, "+" + t1(o.value.length), 1)
15629
+ I("span", Sd, "+" + t1(o.value.length), 1)
15625
15630
  ]),
15626
15631
  _: 1
15627
15632
  }, 8, ["style", "position"])) : K("", !0)
@@ -15693,11 +15698,11 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15693
15698
  ref: s,
15694
15699
  class: J(["amc2-select", { "amc2-select-disabled": d.disabled }])
15695
15700
  }, [
15696
- D("div", {
15701
+ I("div", {
15697
15702
  class: "amc2-select-display",
15698
15703
  onClick: h
15699
15704
  }, [
15700
- D("div", {
15705
+ I("div", {
15701
15706
  class: J(["amc2-select-display-content", { withLabel: d.label !== void 0 }])
15702
15707
  }, [
15703
15708
  l.value.length === 1 ? (E(), x("span", Id, t1(l.value[0].label), 1)) : (E(), n1(Dd, {
@@ -15707,7 +15712,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15707
15712
  modelValue: l.value,
15708
15713
  "onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g)
15709
15714
  }, null, 8, ["clearable", "disabled", "modelValue"])),
15710
- D("div", Vd, [
15715
+ I("div", Vd, [
15711
15716
  d.label !== void 0 ? (E(), x("span", {
15712
15717
  key: 0,
15713
15718
  class: J(["amc2-select-label", [
@@ -15773,7 +15778,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15773
15778
  key: u.id,
15774
15779
  class: J({ "side-menu-item": !0, selected: u.id === i.value })
15775
15780
  }, [
15776
- D("div", {
15781
+ I("div", {
15777
15782
  class: "side-menu-item-line",
15778
15783
  onClick: (c) => n(u)
15779
15784
  }, [
@@ -15783,8 +15788,8 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15783
15788
  height: "22",
15784
15789
  width: "22"
15785
15790
  }, null, 8, ["iconName"])) : K("", !0),
15786
- D("span", Td, t1(u.label), 1),
15787
- D("div", Hd, [
15791
+ I("span", Td, t1(u.label), 1),
15792
+ I("div", Hd, [
15788
15793
  u.children && !s(u) ? (E(), n1(s1, {
15789
15794
  key: 0,
15790
15795
  iconName: "chevron-down"
@@ -15811,7 +15816,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15811
15816
  width: "20",
15812
15817
  color: "#fff"
15813
15818
  }, null, 8, ["iconName"])) : K("", !0),
15814
- D("span", null, t1(c.label), 1)
15819
+ I("span", null, t1(c.label), 1)
15815
15820
  ], 10, Od))), 128))
15816
15821
  ])) : K("", !0)
15817
15822
  ], 2))), 128))
@@ -15831,7 +15836,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15831
15836
  `La valeur de "listType" (${t.listType}) n'est pas présente dans "listItems".`
15832
15837
  );
15833
15838
  }), (n, l) => (E(), x("div", Fd, [
15834
- D("menu", Nd, [
15839
+ I("menu", Nd, [
15835
15840
  (E(!0), x(y1, null, z1(n.listItems, (s) => (E(), x("li", {
15836
15841
  class: J(["tabbar-menu-item", { active: s === n.listType }]),
15837
15842
  onClick: (r) => i("change", s)
@@ -15859,7 +15864,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15859
15864
  style: w1(s.value),
15860
15865
  class: J(["amc2-advanced-toggle-container", { disabled: r.disabled }])
15861
15866
  }, [
15862
- D("button", {
15867
+ I("button", {
15863
15868
  class: J(["amc2-toggle-btn left", { active: n.value }]),
15864
15869
  onClick: l,
15865
15870
  disabled: r.disabled
@@ -15870,9 +15875,9 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15870
15875
  height: "24",
15871
15876
  width: "24"
15872
15877
  }, null, 8, ["icon-name"])) : K("", !0),
15873
- D("span", null, t1(r.labelLeft), 1)
15878
+ I("span", null, t1(r.labelLeft), 1)
15874
15879
  ], 10, Ud),
15875
- D("button", {
15880
+ I("button", {
15876
15881
  class: J(["amc2-toggle-btn right", { active: !n.value }]),
15877
15882
  onClick: l,
15878
15883
  disabled: r.disabled
@@ -15883,7 +15888,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15883
15888
  height: "24",
15884
15889
  width: "24"
15885
15890
  }, null, 8, ["icon-name"])) : K("", !0),
15886
- D("span", null, t1(r.labelRight), 1)
15891
+ I("span", null, t1(r.labelRight), 1)
15887
15892
  ], 10, Kd)
15888
15893
  ], 6));
15889
15894
  }
@@ -15924,15 +15929,15 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15924
15929
  key: o.id,
15925
15930
  class: J(["toast", "show", o.intent])
15926
15931
  }, [
15927
- D("div", Wd, [
15932
+ I("div", Wd, [
15928
15933
  c1(s1, {
15929
15934
  "icon-name": n(o.intent),
15930
15935
  color: l(o.intent),
15931
15936
  width: "30px",
15932
15937
  height: "30px"
15933
15938
  }, null, 8, ["icon-name", "color"]),
15934
- D("span", null, t1(o.message), 1),
15935
- D("div", Qd, [
15939
+ I("span", null, t1(o.message), 1),
15940
+ I("div", Qd, [
15936
15941
  c1(s1, {
15937
15942
  "icon-name": "close",
15938
15943
  onClick: (u) => i(o.id)
@@ -15984,7 +15989,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15984
15989
  t.value ? K("", !0) : (E(), x("header", Yd, [
15985
15990
  _1(l.$slots, "header", {}, void 0, !0)
15986
15991
  ])),
15987
- D("main", qd, [
15992
+ I("main", qd, [
15988
15993
  i.value ? (E(), x("div", Gd, [
15989
15994
  c1(s1, {
15990
15995
  iconName: "no_data",
@@ -15992,7 +15997,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15992
15997
  height: "50",
15993
15998
  color: "#9590b9"
15994
15999
  }),
15995
- s[0] || (s[0] = D("p", null, "Aucune donnée à afficher", -1))
16000
+ s[0] || (s[0] = I("p", null, "Aucune donnée à afficher", -1))
15996
16001
  ])) : K("", !0),
15997
16002
  l.isLoading ? (E(), x("div", _d, [
15998
16003
  c1(c2)