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

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 Y, 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 R4, customRef as B4, 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 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";
2
2
  if (typeof window < "u") {
3
3
  let a = function() {
4
4
  var e = document.body, t = document.getElementById("__svg__icons__dom__");
@@ -169,10 +169,10 @@ function s6(a) {
169
169
  function W1(a, e) {
170
170
  this.props = a, this.context = e;
171
171
  }
172
- function B0(a, e) {
173
- if (e == null) return a.__ ? B0(a.__, a.__.__k.indexOf(a) + 1) : null;
172
+ function R0(a, e) {
173
+ if (e == null) return a.__ ? R0(a.__, a.__.__k.indexOf(a) + 1) : null;
174
174
  for (var t; e < a.__k.length; e++) if ((t = a.__k[e]) != null && t.__e != null) return t.__e;
175
- return typeof a.type == "function" ? B0(a) : null;
175
+ return typeof a.type == "function" ? R0(a) : null;
176
176
  }
177
177
  function Za(a) {
178
178
  var e, t;
@@ -188,16 +188,16 @@ function W4(a) {
188
188
  c0 ? setTimeout(a) : qa(a);
189
189
  }
190
190
  function jt(a) {
191
- (!a.__d && (a.__d = !0) && F3.push(a) && !Re.__r++ || i6 !== P.debounceRendering) && ((i6 = P.debounceRendering) || W4)(Re);
191
+ (!a.__d && (a.__d = !0) && F3.push(a) && !Be.__r++ || i6 !== P.debounceRendering) && ((i6 = P.debounceRendering) || W4)(Be);
192
192
  }
193
- function Re() {
193
+ function Be() {
194
194
  var a, e, t, i, n, l, s, r;
195
195
  for (F3.sort(function(o, u) {
196
196
  return o.__v.__b - u.__v.__b;
197
- }); a = F3.shift(); ) a.__d && (e = F3.length, i = void 0, n = void 0, s = (l = (t = a).__v).__e, (r = t.__P) && (i = [], (n = E3({}, l)).__v = l.__v + 1, u2(r, l, n, t.__n, r.ownerSVGElement !== void 0, l.__h != null ? [s] : null, i, s ?? B0(l), l.__h), ai(i, l), l.__e != s && Za(l)), F3.length > e && F3.sort(function(o, u) {
197
+ }); a = F3.shift(); ) a.__d && (e = F3.length, i = void 0, n = void 0, s = (l = (t = a).__v).__e, (r = t.__P) && (i = [], (n = E3({}, l)).__v = l.__v + 1, u2(r, l, n, t.__n, r.ownerSVGElement !== void 0, l.__h != null ? [s] : null, i, s ?? R0(l), l.__h), ai(i, l), l.__e != s && Za(l)), F3.length > e && F3.sort(function(o, u) {
198
198
  return o.__v.__b - u.__v.__b;
199
199
  }));
200
- Re.__r = 0;
200
+ Be.__r = 0;
201
201
  }
202
202
  function Xa(a, e, t, i, n, l, s, r, o, u) {
203
203
  var c, h, f, d, m, g, p, y = i && i.__k || _a, b = y.length;
@@ -210,7 +210,7 @@ function Xa(a, e, t, i, n, l, s, r, o, u) {
210
210
  }
211
211
  f = null;
212
212
  }
213
- u2(a, d, f = f || Ie, n, l, s, r, o, u), m = d.__e, (h = d.ref) && f.ref != h && (p || (p = []), f.ref && p.push(f.ref, null, d), p.push(h, d.__c || m, d)), m != null ? (g == null && (g = m), typeof d.type == "function" && d.__k === f.__k ? d.__d = o = $a(d, o, a) : o = ei(a, d, f, y, m, o), typeof t.type == "function" && (t.__d = o)) : o && f.__e == o && o.parentNode != a && (o = B0(f));
213
+ u2(a, d, f = f || Ie, n, l, s, r, o, u), m = d.__e, (h = d.ref) && f.ref != h && (p || (p = []), f.ref && p.push(f.ref, null, d), p.push(h, d.__c || m, d)), m != null ? (g == null && (g = m), typeof d.type == "function" && d.__k === f.__k ? d.__d = o = $a(d, o, a) : o = ei(a, d, f, y, m, o), typeof t.type == "function" && (t.__d = o)) : o && f.__e == o && o.parentNode != a && (o = R0(f));
214
214
  }
215
215
  for (t.__e = g, c = b; c--; ) y[c] != null && (typeof t.type == "function" && y[c].__e != null && y[c].__e == t.__d && (t.__d = ti(i).nextSibling), ni(y[c], y[c]));
216
216
  if (p) for (c = 0; c < p.length; c++) ii(p[c], p[++c], p[++c]);
@@ -219,9 +219,9 @@ function $a(a, e, t) {
219
219
  for (var i, n = a.__k, l = 0; n && l < n.length; l++) (i = n[l]) && (i.__ = a, e = typeof i.type == "function" ? $a(i, e, t) : ei(t, i, i, n, i.__e, e));
220
220
  return e;
221
221
  }
222
- function Be(a, e) {
222
+ function Re(a, e) {
223
223
  return e = e || [], a == null || typeof a == "boolean" || (Array.isArray(a) ? a.some(function(t) {
224
- Be(t, e);
224
+ Re(t, e);
225
225
  }) : e.push(a)), e;
226
226
  }
227
227
  function ei(a, e, t, i, n, l) {
@@ -243,7 +243,7 @@ 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, R, S, O, H = e.type;
246
+ var u, c, h, f, d, m, g, p, y, b, z, v, B, S, O, H = 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 {
@@ -261,12 +261,12 @@ 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, R = 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 H && H.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
268
268
  c.__d = !1, v && v(e), u = c.render(c.props, c.state, c.context), c.state = c.__s;
269
- while (c.__d && ++R < 25);
269
+ while (c.__d && ++B < 25);
270
270
  c.state = c.__s, c.getChildContext != null && (i = E3(E3({}, i), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, d)), O = u != null && u.type === p1 && u.key == null ? u.props.children : u, Xa(a, Array.isArray(O) ? O : [O], e, t, i, n, l, s, r, o), c.base = e.__e, e.__h = null, c.__h.length && s.push(c), g && (c.__E = c.__ = null), c.__e = !1;
271
271
  } else l == null && e.__v === t.__v ? (e.__k = t.__k, e.__e = t.__e) : e.__e = Q4(t.__e, e, t, i, n, l, s, o);
272
272
  (u = P.diffed) && u(e);
@@ -304,7 +304,7 @@ function Q4(a, e, t, i, n, l, s, r) {
304
304
  (c || u) && (c && (u && c.__html == u.__html || c.__html === a.innerHTML) || (a.innerHTML = c && c.__html || ""));
305
305
  }
306
306
  if (P4(a, f, h, n, r), c) e.__k = [];
307
- else if (m = e.props.children, Xa(a, Array.isArray(m) ? m : [m], e, t, i, n && d !== "foreignObject", l, s, l ? l[0] : t.__k && B0(t, 0), r), l != null) for (m = l.length; m--; ) l[m] != null && Ja(l[m]);
307
+ else if (m = e.props.children, Xa(a, Array.isArray(m) ? m : [m], e, t, i, n && d !== "foreignObject", l, s, l ? l[0] : t.__k && R0(t, 0), r), l != null) for (m = l.length; m--; ) l[m] != null && Ja(l[m]);
308
308
  r || ("value" in f && (m = f.value) !== void 0 && (m !== a.value || d === "progress" && !m || d === "option" && m !== h.value) && Ve(a, "value", m, h.value, !1), "checked" in f && (m = f.checked) !== void 0 && m !== a.checked && Ve(a, "checked", m, h.checked, !1));
309
309
  }
310
310
  return a;
@@ -371,7 +371,7 @@ Xe = _a.slice, P = { __e: function(a, e, t, i) {
371
371
  t = this.__s != null && this.__s !== this.state ? this.__s : this.__s = E3({}, this.state), typeof a == "function" && (a = a(E3({}, t), this.props)), a && E3(t, a), a != null && this.__v && (e && this._sb.push(e), jt(this));
372
372
  }, W1.prototype.forceUpdate = function(a) {
373
373
  this.__v && (this.__e = !0, a && this.__h.push(a), jt(this));
374
- }, W1.prototype.render = p1, F3 = [], qa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Re.__r = 0, Ga = 0;
374
+ }, W1.prototype.render = p1, F3 = [], qa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Be.__r = 0, Ga = 0;
375
375
  var n3, pt, r6, li = [], vt = [], o6 = P.__b, c6 = P.__r, u6 = P.diffed, d6 = P.__c, h6 = P.unmount;
376
376
  function G4() {
377
377
  for (var a; a = li.shift(); ) if (a.__P && a.__H) try {
@@ -553,7 +553,7 @@ function el(a, e) {
553
553
  };
554
554
  }, ne.prototype.render = function(a) {
555
555
  this.u = null, this.o = /* @__PURE__ */ new Map();
556
- var e = Be(a.children);
556
+ var e = Re(a.children);
557
557
  a.revealOrder && a.revealOrder[0] === "b" && e.reverse();
558
558
  for (var t = e.length; t--; ) this.o.set(e[t], this.u = [1, 0, this.u]);
559
559
  return a.children;
@@ -596,9 +596,9 @@ P.vnode = function(a) {
596
596
  var s = t[l];
597
597
  il && l === "children" && e === "noscript" || l === "value" && "defaultValue" in t && s == null || (l === "defaultValue" && "value" in t && t.value == null ? l = "value" : l === "download" && s === !0 ? s = "" : /ondoubleclick/i.test(l) ? l = "ondblclick" : /^onchange(textarea|input)/i.test(l + e) && !nl(t.type) ? l = "oninput" : /^onfocus$/i.test(l) ? l = "onfocusin" : /^onblur$/i.test(l) ? l = "onfocusout" : /^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(l) ? l = l.toLowerCase() : n && al.test(l) ? l = l.replace(/[A-Z0-9]/g, "-$&").toLowerCase() : s === null && (s = void 0), /^oninput$/i.test(l) && (l = l.toLowerCase(), i[l] && (l = "oninputCapture")), i[l] = s);
598
598
  }
599
- e == "select" && i.multiple && Array.isArray(i.value) && (i.value = Be(t.children).forEach(function(r) {
599
+ e == "select" && i.multiple && Array.isArray(i.value) && (i.value = Re(t.children).forEach(function(r) {
600
600
  r.props.selected = i.value.indexOf(r.props.value) != -1;
601
- })), e == "select" && i.defaultValue != null && (i.value = Be(t.children).forEach(function(r) {
601
+ })), e == "select" && i.defaultValue != null && (i.value = Re(t.children).forEach(function(r) {
602
602
  r.props.selected = i.multiple ? i.defaultValue.indexOf(r.props.value) != -1 : i.defaultValue == r.props.value;
603
603
  })), a.props = i, t.class != t.className && (b6.enumerable = "className" in t, t.className != null && (i.class = t.className), Object.defineProperty(i, "className", b6));
604
604
  }
@@ -899,7 +899,7 @@ function Pt(a, e) {
899
899
  milliseconds: a.milliseconds + e.milliseconds
900
900
  };
901
901
  }
902
- function Rl(a, e) {
902
+ function Bl(a, e) {
903
903
  return {
904
904
  years: a.years - e.years,
905
905
  months: a.months - e.months,
@@ -907,7 +907,7 @@ function Rl(a, e) {
907
907
  milliseconds: a.milliseconds - e.milliseconds
908
908
  };
909
909
  }
910
- function Bl(a, e) {
910
+ function Rl(a, e) {
911
911
  return {
912
912
  years: a.years * e,
913
913
  months: a.months * e,
@@ -1118,7 +1118,7 @@ function A2(a, e = !1) {
1118
1118
  let t = a < 0 ? "-" : "+", i = Math.abs(a), n = Math.floor(i / 60), l = Math.round(i % 60);
1119
1119
  return e ? `${t + n0(n, 2)}:${n0(l, 2)}` : `GMT${t}${n}${l ? `:${n0(l, 2)}` : ""}`;
1120
1120
  }
1121
- function Q(a, e, t) {
1121
+ function Y(a, e, t) {
1122
1122
  let i, n;
1123
1123
  return function(...l) {
1124
1124
  if (!i)
@@ -1156,7 +1156,7 @@ class es {
1156
1156
  let t = {}, i = {}, n = 9;
1157
1157
  for (let l in e)
1158
1158
  l in yt ? (i[l] = e[l], yt[l] < 9 && (n = Math.min(yt[l], n))) : (t[l] = e[l], l in He && (n = Math.min(He[l], n)));
1159
- this.standardDateProps = t, this.extendedSettings = i, this.smallestUnitNum = n, this.buildFormattingFunc = Q(V6);
1159
+ this.standardDateProps = t, this.extendedSettings = i, this.smallestUnitNum = n, this.buildFormattingFunc = Y(V6);
1160
1160
  }
1161
1161
  format(e, t) {
1162
1162
  return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, t)(e);
@@ -1261,7 +1261,7 @@ function os(a, e, t, i) {
1261
1261
  }
1262
1262
  return null;
1263
1263
  }
1264
- function R6(a, e) {
1264
+ function B6(a, e) {
1265
1265
  let t = e.markerToArray(a.marker);
1266
1266
  return {
1267
1267
  marker: a.marker,
@@ -1277,7 +1277,7 @@ function R6(a, e) {
1277
1277
  };
1278
1278
  }
1279
1279
  function Le(a, e, t, i) {
1280
- let n = R6(a, t.calendarSystem), l = e ? R6(e, t.calendarSystem) : null;
1280
+ let n = B6(a, t.calendarSystem), l = e ? B6(e, t.calendarSystem) : null;
1281
1281
  return {
1282
1282
  date: n,
1283
1283
  start: n,
@@ -1312,7 +1312,7 @@ class us {
1312
1312
  function b1(a) {
1313
1313
  return typeof a == "object" && a ? new es(a) : typeof a == "string" ? new cs(a) : typeof a == "function" ? new us(a) : null;
1314
1314
  }
1315
- const B6 = {
1315
+ const R6 = {
1316
1316
  navLinkDayClick: w,
1317
1317
  navLinkWeekClick: w,
1318
1318
  duration: i1,
@@ -2174,18 +2174,18 @@ function Vs(a, e) {
2174
2174
  }
2175
2175
  function L6(a, e) {
2176
2176
  let t = [], { start: i } = e, n, l;
2177
- for (a.sort(Rs), n = 0; n < a.length; n += 1)
2177
+ for (a.sort(Bs), n = 0; n < a.length; n += 1)
2178
2178
  l = a[n], l.start > i && t.push({ start: i, end: l.start }), l.end > i && (i = l.end);
2179
2179
  return i < e.end && t.push({ start: i, end: e.end }), t;
2180
2180
  }
2181
- function Rs(a, e) {
2181
+ function Bs(a, e) {
2182
2182
  return a.start.valueOf() - e.start.valueOf();
2183
2183
  }
2184
2184
  function Y3(a, e) {
2185
2185
  let { start: t, end: i } = a, n = null;
2186
2186
  return e.start !== null && (t === null ? t = e.start : t = new Date(Math.max(t.valueOf(), e.start.valueOf()))), e.end != null && (i === null ? i = e.end : i = new Date(Math.min(i.valueOf(), e.end.valueOf()))), (t === null || i === null || t < i) && (n = { start: t, end: i }), n;
2187
2187
  }
2188
- function Bs(a, e) {
2188
+ function Rs(a, e) {
2189
2189
  return (a.start === null ? null : a.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (a.end === null ? null : a.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
2190
2190
  }
2191
2191
  function z2(a, e) {
@@ -2623,7 +2623,7 @@ const Qs = {
2623
2623
  success: w,
2624
2624
  failure: w
2625
2625
  };
2626
- function Ri(a, e, t = Bi(e)) {
2626
+ function Bi(a, e, t = Ri(e)) {
2627
2627
  let i;
2628
2628
  if (typeof a == "string" ? i = { url: a } : typeof a == "function" || Array.isArray(a) ? i = { events: a } : typeof a == "object" && a && (i = a), i) {
2629
2629
  let { refined: n, extra: l } = y2(i, t), s = Ys(n, e);
@@ -2647,7 +2647,7 @@ function Ri(a, e, t = Bi(e)) {
2647
2647
  }
2648
2648
  return null;
2649
2649
  }
2650
- function Bi(a) {
2650
+ function Ri(a) {
2651
2651
  return Object.assign(Object.assign(Object.assign({}, je), Qs), a.pluginHooks.eventSourceRefiners);
2652
2652
  }
2653
2653
  function Ys(a, e) {
@@ -3284,7 +3284,7 @@ function vr(a, e) {
3284
3284
  }, allDay: s }, i);
3285
3285
  }
3286
3286
  function mr(a, e) {
3287
- return Bs(a.range, e.range) && a.allDay === e.allDay && gr(a, e);
3287
+ return Rs(a.range, e.range) && a.allDay === e.allDay && gr(a, e);
3288
3288
  }
3289
3289
  function gr(a, e) {
3290
3290
  for (let t in e)
@@ -3739,7 +3739,7 @@ class Sr {
3739
3739
  type: "ADD_EVENT_SOURCES",
3740
3740
  sources: [e.internalEventSource]
3741
3741
  }), e;
3742
- let i = Ri(e, t);
3742
+ let i = Bi(e, t);
3743
3743
  return i ? (this.dispatch({ type: "ADD_EVENT_SOURCES", sources: [i] }), new t0(t, i)) : null;
3744
3744
  }
3745
3745
  removeAllEventSources() {
@@ -3788,11 +3788,11 @@ function Ir(a, e) {
3788
3788
  const zt = Q1();
3789
3789
  class Vr {
3790
3790
  constructor() {
3791
- this.getKeysForEventDefs = Q(this._getKeysForEventDefs), this.splitDateSelection = Q(this._splitDateSpan), this.splitEventStore = Q(this._splitEventStore), this.splitIndividualUi = Q(this._splitIndividualUi), this.splitEventDrag = Q(this._splitInteraction), this.splitEventResize = Q(this._splitInteraction), this.eventUiBuilders = {};
3791
+ this.getKeysForEventDefs = Y(this._getKeysForEventDefs), this.splitDateSelection = Y(this._splitDateSpan), this.splitEventStore = Y(this._splitEventStore), this.splitIndividualUi = Y(this._splitIndividualUi), this.splitEventDrag = Y(this._splitInteraction), this.splitEventResize = Y(this._splitInteraction), this.eventUiBuilders = {};
3792
3792
  }
3793
3793
  splitProps(e) {
3794
3794
  let t = this.getKeyInfo(e), i = this.getKeysForEventDefs(e.eventStore), n = this.splitDateSelection(e.dateSelection), l = this.splitIndividualUi(e.eventUiBases, i), s = this.splitEventStore(e.eventStore, i), r = this.splitEventDrag(e.eventDrag), o = this.splitEventResize(e.eventResize), u = {};
3795
- this.eventUiBuilders = m3(t, (c, h) => this.eventUiBuilders[h] || Q(Rr));
3795
+ this.eventUiBuilders = m3(t, (c, h) => this.eventUiBuilders[h] || Y(Br));
3796
3796
  for (let c in t) {
3797
3797
  let h = t[c], f = s[c] || zt, d = this.eventUiBuilders[c];
3798
3798
  u[c] = {
@@ -3857,7 +3857,7 @@ class Vr {
3857
3857
  return t;
3858
3858
  }
3859
3859
  }
3860
- function Rr(a, e, t) {
3860
+ function Br(a, e, t) {
3861
3861
  let i = [];
3862
3862
  a && i.push(a), e && i.push(e);
3863
3863
  let n = {
@@ -3882,10 +3882,10 @@ function V2(a, e) {
3882
3882
  ];
3883
3883
  return a.isDisabled ? t.push("fc-day-disabled") : (a.isToday && (t.push("fc-day-today"), t.push(e.getClass("today"))), a.isPast && t.push("fc-day-past"), a.isFuture && t.push("fc-day-future"), a.isOther && t.push("fc-day-other")), t;
3884
3884
  }
3885
- const Br = b1({ year: "numeric", month: "long", day: "numeric" }), Tr = b1({ week: "long" });
3885
+ const Rr = b1({ year: "numeric", month: "long", day: "numeric" }), Tr = b1({ week: "long" });
3886
3886
  function Pe(a, e, t = "day", i = !0) {
3887
3887
  const { dateEnv: n, options: l, calendarApi: s } = a;
3888
- let r = n.format(e, t === "week" ? Tr : Br);
3888
+ let r = n.format(e, t === "week" ? Tr : Rr);
3889
3889
  if (l.navLinks) {
3890
3890
  let o = n.toDate(e);
3891
3891
  const u = (c) => {
@@ -3943,7 +3943,7 @@ function Nr(a, e = !1) {
3943
3943
  return Hr() && t.direction === "rtl" ? c.scrollbarLeft = o : c.scrollbarRight = o, e && (c.paddingLeft = parseInt(t.paddingLeft, 10) || 0, c.paddingRight = parseInt(t.paddingRight, 10) || 0, c.paddingTop = parseInt(t.paddingTop, 10) || 0, c.paddingBottom = parseInt(t.paddingBottom, 10) || 0), c;
3944
3944
  }
3945
3945
  function jr(a, e = !1, t) {
3946
- let i = R2(a), n = Nr(a, e), l = {
3946
+ let i = B2(a), n = Nr(a, e), l = {
3947
3947
  left: i.left + n.borderLeft + n.scrollbarLeft,
3948
3948
  right: i.right - n.borderRight - n.scrollbarRight,
3949
3949
  top: i.top + n.borderTop,
@@ -3951,7 +3951,7 @@ function jr(a, e = !1, t) {
3951
3951
  };
3952
3952
  return e && (l.left += n.paddingLeft, l.right -= n.paddingRight, l.top += n.paddingTop, l.bottom -= n.paddingBottom), l;
3953
3953
  }
3954
- function R2(a) {
3954
+ function B2(a) {
3955
3955
  let e = a.getBoundingClientRect();
3956
3956
  return {
3957
3957
  left: e.left + window.scrollX,
@@ -4042,7 +4042,7 @@ function re(a, e) {
4042
4042
  return !1;
4043
4043
  return !0;
4044
4044
  }
4045
- class B2 {
4045
+ class R2 {
4046
4046
  getMaxScrollTop() {
4047
4047
  return this.getScrollHeight() - this.getClientHeight();
4048
4048
  }
@@ -4068,7 +4068,7 @@ class B2 {
4068
4068
  return this.getScrollLeft() < this.getMaxScrollLeft();
4069
4069
  }
4070
4070
  }
4071
- class Kr extends B2 {
4071
+ class Kr extends R2 {
4072
4072
  constructor(e) {
4073
4073
  super(), this.el = e;
4074
4074
  }
@@ -4097,7 +4097,7 @@ class Kr extends B2 {
4097
4097
  return this.el.clientWidth;
4098
4098
  }
4099
4099
  }
4100
- class Pr extends B2 {
4100
+ class Pr extends R2 {
4101
4101
  getScrollTop() {
4102
4102
  return window.scrollY;
4103
4103
  }
@@ -4352,7 +4352,7 @@ class Jr extends r1 {
4352
4352
  }
4353
4353
  class $i extends r1 {
4354
4354
  constructor() {
4355
- super(...arguments), this.createDayHeaderFormatter = Q(Zr);
4355
+ super(...arguments), this.createDayHeaderFormatter = Y(Zr);
4356
4356
  }
4357
4357
  render() {
4358
4358
  let { context: e } = this, { dates: t, dateProfile: i, datesRepDistinctDays: n, renderIntro: l } = this.props, s = this.createDayHeaderFormatter(e.options.dayHeaderFormat, n, t.length);
@@ -4447,7 +4447,7 @@ class tn {
4447
4447
  }
4448
4448
  class an {
4449
4449
  constructor() {
4450
- this.sliceBusinessHours = Q(this._sliceBusinessHours), this.sliceDateSelection = Q(this._sliceDateSpan), this.sliceEventStore = Q(this._sliceEventStore), this.sliceEventDrag = Q(this._sliceInteraction), this.sliceEventResize = Q(this._sliceInteraction), this.forceDayIfListItem = !1;
4450
+ this.sliceBusinessHours = Y(this._sliceBusinessHours), this.sliceDateSelection = Y(this._sliceDateSpan), this.sliceEventStore = Y(this._sliceEventStore), this.sliceEventDrag = Y(this._sliceInteraction), this.sliceEventResize = Y(this._sliceInteraction), this.forceDayIfListItem = !1;
4451
4451
  }
4452
4452
  sliceProps(e, t, i, n, ...l) {
4453
4453
  let { eventUiBases: s } = e, r = this.sliceEventStore(e.eventStore, s, t, i, ...l);
@@ -4575,10 +4575,10 @@ function e7(a, e, t, i) {
4575
4575
  )))
4576
4576
  return !1;
4577
4577
  }
4578
- let R = n.eventStore;
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 = R.defs[b.defId], Z = R.instances[m], W;
4581
- if (H ? W = new g1(e, H, Z) : W = new g1(e, b), !S(x2(O, e), W))
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))
4582
4582
  return !1;
4583
4583
  }
4584
4584
  }
@@ -4778,7 +4778,7 @@ function on(a) {
4778
4778
  }
4779
4779
  class L2 extends r1 {
4780
4780
  constructor() {
4781
- super(...arguments), this.processCols = Q((e) => e, o7), this.renderMicroColGroup = Q(c7), this.scrollerRefs = new p3(), this.scrollerElRefs = new p3(this._handleScrollerEl.bind(this)), this.state = {
4781
+ super(...arguments), this.processCols = Y((e) => e, o7), this.renderMicroColGroup = Y(c7), this.scrollerRefs = new p3(), this.scrollerElRefs = new p3(this._handleScrollerEl.bind(this)), this.state = {
4782
4782
  shrinkWidth: null,
4783
4783
  forceYScrollbars: !1,
4784
4784
  scrollerClientWidths: {},
@@ -4878,7 +4878,7 @@ function p7(a, e) {
4878
4878
  }
4879
4879
  class O2 extends r1 {
4880
4880
  constructor() {
4881
- super(...arguments), this.buildPublicEvent = Q((e, t, i) => new g1(e, t, i)), this.handleEl = (e) => {
4881
+ super(...arguments), this.buildPublicEvent = Y((e, t, i) => new g1(e, t, i)), this.handleEl = (e) => {
4882
4882
  this.el = e, o3(this.props.elRef, e), e && K6(e, this.props.seg);
4883
4883
  };
4884
4884
  }
@@ -5338,7 +5338,7 @@ function b3(a) {
5338
5338
  propSetHandlers: a.propSetHandlers || {}
5339
5339
  };
5340
5340
  }
5341
- function R7(a, e) {
5341
+ function B7(a, e) {
5342
5342
  let t = {}, i = {
5343
5343
  premiumReleaseDate: void 0,
5344
5344
  reducers: [],
@@ -5382,9 +5382,9 @@ function R7(a, e) {
5382
5382
  }
5383
5383
  return a && n(a), n(e), i;
5384
5384
  }
5385
- function B7() {
5385
+ function R7() {
5386
5386
  let a = [], e = [], t;
5387
- return (i, n) => ((!t || !x3(i, a) || !x3(n, e)) && (t = R7(i, n)), a = i, e = n, t);
5387
+ return (i, n) => ((!t || !x3(i, a) || !x3(n, e)) && (t = B7(i, n)), a = i, e = n, t);
5388
5388
  }
5389
5389
  function T7(a, e) {
5390
5390
  return {
@@ -5680,10 +5680,10 @@ function wn(a, e) {
5680
5680
  return Q3(a, (t) => En(t, e));
5681
5681
  }
5682
5682
  function eo(a, e) {
5683
- let t = Bi(e), i = [].concat(a.eventSources || []), n = [];
5683
+ let t = Ri(e), i = [].concat(a.eventSources || []), n = [];
5684
5684
  a.initialEvents && i.unshift(a.initialEvents), a.events && i.unshift(a.events);
5685
5685
  for (let l of i) {
5686
- let s = Ri(l, e, t);
5686
+ let s = Bi(l, e, t);
5687
5687
  s && n.push(s);
5688
5688
  }
5689
5689
  return n;
@@ -5758,15 +5758,15 @@ function so(a, e, t, i, n, l) {
5758
5758
  return { widgets: f.map((p) => p.split(",").map((y) => {
5759
5759
  if (y === "title")
5760
5760
  return m = !0, { buttonName: y };
5761
- let b, z, v, R, S, O;
5761
+ let b, z, v, B, S, O;
5762
5762
  if (b = r[y])
5763
5763
  v = (H) => {
5764
5764
  b.click && b.click.call(H.target, H, H.target);
5765
- }, (R = i.getCustomButtonIconClass(b)) || (R = i.getIconClass(y, s)) || (S = b.text), O = b.hint || b.text;
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
- }, (S = z.buttonTextOverride) || (R = i.getIconClass(y, s)) || (S = z.buttonTextDefault);
5769
+ }, (S = z.buttonTextOverride) || (B = i.getIconClass(y, s)) || (S = z.buttonTextDefault);
5770
5770
  let H = z.buttonTextOverride || z.buttonTextDefault;
5771
5771
  O = x0(
5772
5772
  z.buttonTitleOverride || z.buttonTitleDefault || e.viewHint,
@@ -5777,7 +5777,7 @@ function so(a, e, t, i, n, l) {
5777
5777
  } else if (l[y])
5778
5778
  if (v = () => {
5779
5779
  l[y]();
5780
- }, (S = o[y]) || (R = i.getIconClass(y, s)) || (S = u[y]), y === "prevYear" || y === "nextYear") {
5780
+ }, (S = o[y]) || (B = i.getIconClass(y, s)) || (S = u[y]), y === "prevYear" || y === "nextYear") {
5781
5781
  let H = y === "prevYear" ? "prev" : "next";
5782
5782
  O = x0(c[H] || h[H], [
5783
5783
  u.year || "year",
@@ -5788,7 +5788,7 @@ function so(a, e, t, i, n, l) {
5788
5788
  u[H] || H,
5789
5789
  H
5790
5790
  ], u[y]);
5791
- return { buttonName: y, buttonClick: v, buttonIcon: R, buttonText: S, buttonHint: O };
5791
+ return { buttonName: y, buttonClick: v, buttonIcon: B, buttonText: S, buttonHint: O };
5792
5792
  })), viewsWithButtons: d, hasTitle: m };
5793
5793
  }
5794
5794
  class ro {
@@ -5898,7 +5898,7 @@ let Ao = {
5898
5898
  endRecur: a.endRecur ? e.createMarker(a.endRecur) : null,
5899
5899
  dateEnv: e
5900
5900
  }, i;
5901
- return a.duration && (i = a.duration), !i && a.startTime && a.endTime && (i = Rl(a.endTime, a.startTime)), {
5901
+ return a.duration && (i = a.duration), !i && a.startTime && a.endTime && (i = Bl(a.endTime, a.startTime)), {
5902
5902
  allDayGuess: !a.startTime && !a.endTime,
5903
5903
  duration: i,
5904
5904
  typeData: t
@@ -6053,7 +6053,7 @@ class J6 {
6053
6053
  }
6054
6054
  class xo {
6055
6055
  constructor(e) {
6056
- this.computeCurrentViewData = Q(this._computeCurrentViewData), this.organizeRawLocales = Q(D7), this.buildLocale = Q(mn), this.buildPluginHooks = B7(), this.buildDateEnv = Q(Do), this.buildTheme = Q(Io), this.parseToolbars = Q(lo), this.buildViewSpecs = Q(N7), this.buildDateProfileGenerator = ge(Vo), this.buildViewApi = Q(Ro), this.buildViewUiProps = ge(Ho), this.buildEventUiBySource = Q(Bo, t3), this.buildEventUiBases = Q(To), this.parseContextBusinessHours = ge(Lo), this.buildTitle = Q(So), this.nowManager = new J6(), this.emitter = new it(), this.actionRunner = new Mo(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
6056
+ this.computeCurrentViewData = Y(this._computeCurrentViewData), this.organizeRawLocales = Y(D7), this.buildLocale = Y(mn), this.buildPluginHooks = R7(), this.buildDateEnv = Y(Do), this.buildTheme = Y(Io), this.parseToolbars = Y(lo), this.buildViewSpecs = Y(N7), this.buildDateProfileGenerator = ge(Vo), this.buildViewApi = Y(Bo), this.buildViewUiProps = ge(Ho), this.buildEventUiBySource = Y(Ro, t3), this.buildEventUiBases = Y(To), this.parseContextBusinessHours = ge(Lo), this.buildTitle = Y(So), this.nowManager = new J6(), this.emitter = new it(), this.actionRunner = new Mo(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
6057
6057
  this.actionRunner.request(f);
6058
6058
  }, this.props = e, this.actionRunner.pause(), this.nowManager = new J6();
6059
6059
  let t = {}, i = this.computeOptionsData(e.optionOverrides, t, e.calendarApi), n = i.calendarOptions.initialView || i.pluginHooks.initialView, l = this.computeCurrentViewData(n, i, e.optionOverrides, t);
@@ -6128,9 +6128,9 @@ class xo {
6128
6128
  eventSelection: ao(i.eventSelection, e),
6129
6129
  eventDrag: io(i.eventDrag, e),
6130
6130
  eventResize: no(i.eventResize, e)
6131
- }, R = Object.assign(Object.assign({}, u), v);
6131
+ }, B = Object.assign(Object.assign({}, u), v);
6132
6132
  for (let H of s.pluginHooks.reducers)
6133
- Object.assign(v, H(i, e, R));
6133
+ Object.assign(v, H(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
  }
@@ -6166,7 +6166,7 @@ class xo {
6166
6166
  D0,
6167
6167
  e,
6168
6168
  t
6169
- ]), l = this.organizeRawLocales(i), s = l.map, r = this.buildLocale(n || l.defaultCode, s).options, o = this.buildPluginHooks(e.plugins || [], Co), u = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, B6), T6), H6), o.listenerRefiners), o.optionRefiners), c = {}, h = bt([
6169
+ ]), l = this.organizeRawLocales(i), s = l.map, r = this.buildLocale(n || l.defaultCode, s).options, o = this.buildPluginHooks(e.plugins || [], Co), u = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, R6), T6), H6), o.listenerRefiners), o.optionRefiners), c = {}, h = bt([
6170
6170
  D0,
6171
6171
  r,
6172
6172
  e,
@@ -6219,7 +6219,7 @@ class xo {
6219
6219
  n,
6220
6220
  e.optionOverrides,
6221
6221
  l
6222
- ]), r = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, B6), T6), H6), ds), t.listenerRefiners), t.optionRefiners), o = {}, u = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6222
+ ]), r = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, R6), T6), H6), ds), t.listenerRefiners), t.optionRefiners), o = {}, u = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6223
6223
  for (let d in s)
6224
6224
  s[d] === u[d] || T3[d] && T3[d](s[d], u[d]) ? o[d] = c[d] : (s[d] === this.currentCalendarOptionsInput[d] || T3[d] && T3[d](s[d], this.currentCalendarOptionsInput[d]) ? d in this.currentCalendarOptionsRefined && (o[d] = this.currentCalendarOptionsRefined[d]) : r[d] ? o[d] = r[d](s[d]) : f[d] = s[d], h = !0);
6225
6225
  return h && (this.currentViewOptionsInput = s, this.currentViewOptionsRefined = o), {
@@ -6251,10 +6251,10 @@ function Vo(a) {
6251
6251
  let e = a.dateProfileGeneratorClass || ki;
6252
6252
  return new e(a);
6253
6253
  }
6254
- function Ro(a, e, t) {
6254
+ function Bo(a, e, t) {
6255
6255
  return new ro(a, e, t);
6256
6256
  }
6257
- function Bo(a) {
6257
+ function Ro(a) {
6258
6258
  return m3(a, (e) => e.ui);
6259
6259
  }
6260
6260
  function To(a, e, t) {
@@ -6428,7 +6428,7 @@ class jo extends A0 {
6428
6428
  }
6429
6429
  class Uo extends Z3 {
6430
6430
  constructor() {
6431
- super(...arguments), this.buildViewContext = Q(Ms), this.buildViewPropTransformers = Q(Po), this.buildToolbarProps = Q(Ko), this.headerRef = L1(), this.footerRef = L1(), this.interactionsStore = {}, this.state = {
6431
+ super(...arguments), this.buildViewContext = Y(Ms), this.buildViewPropTransformers = Y(Po), this.buildToolbarProps = Y(Ko), this.headerRef = L1(), this.footerRef = L1(), this.interactionsStore = {}, this.state = {
6432
6432
  viewLabelId: $e()
6433
6433
  }, this.registerInteractiveComponent = (e, t) => {
6434
6434
  let i = Cr(e, t), s = [
@@ -6841,7 +6841,7 @@ function $o(a) {
6841
6841
  }
6842
6842
  class e5 extends r1 {
6843
6843
  constructor() {
6844
- super(...arguments), this.compileSegs = Q(t5);
6844
+ super(...arguments), this.compileSegs = Y(t5);
6845
6845
  }
6846
6846
  render() {
6847
6847
  let { props: e } = this, { allSegs: t, invisibleSegs: i } = this.compileSegs(e.singlePlacements);
@@ -7233,7 +7233,7 @@ function d5(a) {
7233
7233
  }
7234
7234
  class h5 extends u3 {
7235
7235
  constructor() {
7236
- super(...arguments), this.splitBusinessHourSegs = Q(ye), this.splitBgEventSegs = Q(f5), this.splitFgEventSegs = Q(ye), this.splitDateSelectionSegs = Q(ye), this.splitEventDrag = Q($6), this.splitEventResize = Q($6), this.rowRefs = new p3();
7236
+ super(...arguments), this.splitBusinessHourSegs = Y(ye), this.splitBgEventSegs = Y(f5), this.splitFgEventSegs = Y(ye), this.splitDateSelectionSegs = Y(ye), this.splitEventDrag = Y($6), this.splitEventResize = Y($6), this.rowRefs = new p3();
7237
7237
  }
7238
7238
  render() {
7239
7239
  let { props: e, context: t } = this, i = e.cells.length, n = this.splitBusinessHourSegs(e.businessHourSegs, i), l = this.splitBgEventSegs(e.bgEventSegs, i), s = this.splitFgEventSegs(e.fgEventSegs, i), r = this.splitDateSelectionSegs(e.dateSelectionSegs, i), o = this.splitEventDrag(e.eventDrag, i), u = this.splitEventResize(e.eventResize, i), c = i >= 7 && e.clientWidth ? e.clientWidth / t.options.aspectRatio / 6 : null;
@@ -7410,7 +7410,7 @@ class In extends u3 {
7410
7410
  }
7411
7411
  class A5 extends Xo {
7412
7412
  constructor() {
7413
- super(...arguments), this.buildDayTableModel = Q(y5), this.headerRef = L1(), this.tableRef = L1();
7413
+ super(...arguments), this.buildDayTableModel = Y(y5), this.headerRef = L1(), this.tableRef = L1();
7414
7414
  }
7415
7415
  render() {
7416
7416
  let { options: e, dateProfileGenerator: t } = this.context, { props: i } = this, n = this.buildDayTableModel(i.dateProfile, t), l = e.dayHeaders && A($i, { ref: this.headerRef, dateProfile: i.dateProfile, dates: n.headerDates, datesRepDistinctDays: n.rowCnt === 1 }), s = (r) => A(In, { ref: this.tableRef, dateProfile: i.dateProfile, dayTableModel: n, businessHours: i.businessHours, dateSelection: i.dateSelection, eventStore: i.eventStore, eventUiBases: i.eventUiBases, eventSelection: i.eventSelection, eventDrag: i.eventDrag, eventResize: i.eventResize, nextDayThreshold: e.nextDayThreshold, colGroupNode: r.tableColGroupNode, tableMinWidth: r.tableMinWidth, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.weekNumbers, expandRows: !i.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: r.clientWidth, clientHeight: r.clientHeight, forPrint: i.forPrint });
@@ -7587,12 +7587,12 @@ function M5() {
7587
7587
  }, H2.touchMouseIgnoreWait);
7588
7588
  }
7589
7589
  function S5() {
7590
- Qe += 1, Qe === 1 && window.addEventListener("touchmove", Rn, { passive: !1 });
7590
+ Qe += 1, Qe === 1 && window.addEventListener("touchmove", Bn, { passive: !1 });
7591
7591
  }
7592
7592
  function k5() {
7593
- Qe -= 1, Qe || window.removeEventListener("touchmove", Rn, { passive: !1 });
7593
+ Qe -= 1, Qe || window.removeEventListener("touchmove", Bn, { passive: !1 });
7594
7594
  }
7595
- function Rn(a) {
7595
+ function Bn(a) {
7596
7596
  e2 && a.preventDefault();
7597
7597
  }
7598
7598
  class x5 {
@@ -7650,7 +7650,7 @@ class x5 {
7650
7650
  }), this.parentNode.appendChild(t)), t;
7651
7651
  }
7652
7652
  }
7653
- class Bn extends B2 {
7653
+ class Rn extends R2 {
7654
7654
  constructor(e, t) {
7655
7655
  super(), this.handleScroll = () => {
7656
7656
  this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
@@ -7686,7 +7686,7 @@ class Bn extends B2 {
7686
7686
  handleScrollChange() {
7687
7687
  }
7688
7688
  }
7689
- class Tn extends Bn {
7689
+ class Tn extends Rn {
7690
7690
  constructor(e, t) {
7691
7691
  super(new Kr(e), t);
7692
7692
  }
@@ -7697,7 +7697,7 @@ class Tn extends Bn {
7697
7697
  return jr(this.scrollController.el);
7698
7698
  }
7699
7699
  }
7700
- class D5 extends Bn {
7700
+ class D5 extends Rn {
7701
7701
  constructor(e) {
7702
7702
  super(new Pr(), e);
7703
7703
  }
@@ -7850,7 +7850,7 @@ class K0 extends Yr {
7850
7850
  }
7851
7851
  class V5 {
7852
7852
  constructor(e) {
7853
- this.el = e, this.origRect = R2(e), this.scrollCaches = _i(e).map((t) => new Tn(t, !0));
7853
+ this.el = e, this.origRect = B2(e), this.scrollCaches = _i(e).map((t) => new Tn(t, !0));
7854
7854
  }
7855
7855
  destroy() {
7856
7856
  for (let e of this.scrollCaches)
@@ -7871,12 +7871,12 @@ class V5 {
7871
7871
  isWithinClipping(e, t) {
7872
7872
  let i = { left: e, top: t };
7873
7873
  for (let n of this.scrollCaches)
7874
- if (!R5(n.getEventTarget()) && !kr(i, n.clientRect))
7874
+ if (!B5(n.getEventTarget()) && !kr(i, n.clientRect))
7875
7875
  return !1;
7876
7876
  return !0;
7877
7877
  }
7878
7878
  }
7879
- function R5(a) {
7879
+ function B5(a) {
7880
7880
  let e = a.tagName;
7881
7881
  return e === "HTML" || e === "BODY";
7882
7882
  }
@@ -7899,7 +7899,7 @@ class nt {
7899
7899
  // sets coordAdjust
7900
7900
  processFirstCoord(e) {
7901
7901
  let t = { left: e.pageX, top: e.pageY }, i = t, n = e.subjectEl, l;
7902
- n instanceof HTMLElement && (l = R2(n), i = xr(i, l));
7902
+ n instanceof HTMLElement && (l = B2(n), i = xr(i, l));
7903
7903
  let s = this.initialHit = this.queryHitForOffset(i.left, i.top);
7904
7904
  if (s) {
7905
7905
  if (this.useSubjectCenter && l) {
@@ -7957,9 +7957,9 @@ function Hn(a, e) {
7957
7957
  let t = {};
7958
7958
  for (let i of e.pluginHooks.datePointTransforms)
7959
7959
  Object.assign(t, i(a, e));
7960
- return Object.assign(t, B5(a, e.dateEnv)), t;
7960
+ return Object.assign(t, R5(a, e.dateEnv)), t;
7961
7961
  }
7962
- function B5(a, e) {
7962
+ function R5(a, e) {
7963
7963
  return {
7964
7964
  date: e.toDate(a.range.start),
7965
7965
  dateStr: e.formatIso(a.range.start, { omitTime: a.allDay }),
@@ -8120,7 +8120,7 @@ class P0 extends A0 {
8120
8120
  type: "MERGE_EVENTS",
8121
8121
  eventStore: g
8122
8122
  });
8123
- let R = {
8123
+ let B = {
8124
8124
  event: v,
8125
8125
  relatedEvents: U3(g, u, z),
8126
8126
  revert() {
@@ -8130,10 +8130,10 @@ class P0 extends A0 {
8130
8130
  });
8131
8131
  }
8132
8132
  };
8133
- u.emitter.trigger("eventAdd", R), s.isTouch && u.dispatch({
8133
+ u.emitter.trigger("eventAdd", B), s.isTouch && u.dispatch({
8134
8134
  type: "SELECT_EVENT",
8135
8135
  eventInstanceId: f.instanceId
8136
- }), u.emitter.trigger("drop", Object.assign(Object.assign({}, Hn(p.dateSpan, u)), { draggedEl: s.subjectEl, jsEvent: s.origEvent, view: p.context.viewApi })), u.emitter.trigger("eventReceive", Object.assign(Object.assign({}, R), { draggedEl: s.subjectEl, view: p.context.viewApi }));
8136
+ }), u.emitter.trigger("drop", Object.assign(Object.assign({}, Hn(p.dateSpan, u)), { draggedEl: s.subjectEl, jsEvent: s.origEvent, view: p.context.viewApi })), u.emitter.trigger("eventReceive", Object.assign(Object.assign({}, B), { draggedEl: s.subjectEl, view: p.context.viewApi }));
8137
8137
  }
8138
8138
  } else
8139
8139
  r.emitter.trigger("_noEventDrop");
@@ -8880,7 +8880,7 @@ class On extends r1 {
8880
8880
  }
8881
8881
  class v8 extends r1 {
8882
8882
  constructor() {
8883
- super(...arguments), this.sortEventSegs = Q(Ni);
8883
+ super(...arguments), this.sortEventSegs = Y(Ni);
8884
8884
  }
8885
8885
  // TODO: memoize event-placement?
8886
8886
  render() {
@@ -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: R, rect: S } = v, O = R.eventRange.instance.instanceId, H = p || !!(!t[O] && S), Z = It(S && S.span), W = !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, 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;
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), W) },
8928
- A(On, Object.assign({ seg: R, isDragging: i, isResizing: n, isDateSelecting: l, isSelected: O === d, isShort: L }, S3(R, m, g)))
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)))
8929
8929
  );
8930
8930
  })
8931
8931
  );
@@ -8994,7 +8994,7 @@ function m8(a, e) {
8994
8994
  }
8995
8995
  class g8 extends r1 {
8996
8996
  constructor() {
8997
- super(...arguments), this.splitFgEventSegs = Q(C0), this.splitBgEventSegs = Q(C0), this.splitBusinessHourSegs = Q(C0), this.splitNowIndicatorSegs = Q(C0), this.splitDateSelectionSegs = Q(C0), this.splitEventDrag = Q(ta), this.splitEventResize = Q(ta), this.rootElRef = L1(), this.cellElRefs = new p3();
8997
+ super(...arguments), this.splitFgEventSegs = Y(C0), this.splitBgEventSegs = Y(C0), this.splitBusinessHourSegs = Y(C0), this.splitNowIndicatorSegs = Y(C0), this.splitDateSelectionSegs = Y(C0), this.splitEventDrag = Y(ta), this.splitEventResize = Y(ta), this.rootElRef = L1(), this.cellElRefs = new p3();
8998
8998
  }
8999
8999
  render() {
9000
9000
  let { props: e, context: t } = this, i = t.options.nowIndicator && e.slatCoords && e.slatCoords.safeComputeTop(e.nowDate), n = e.cells.length, l = this.splitFgEventSegs(e.fgEventSegs, n), s = this.splitBgEventSegs(e.bgEventSegs, n), r = this.splitBusinessHourSegs(e.businessHourSegs, n), o = this.splitNowIndicatorSegs(e.nowIndicatorSegs, n), u = this.splitDateSelectionSegs(e.dateSelectionSegs, n), c = this.splitEventDrag(e.eventDrag, n), h = this.splitEventResize(e.eventResize, n);
@@ -9051,7 +9051,7 @@ function A8(a, e) {
9051
9051
  }
9052
9052
  class y8 extends u3 {
9053
9053
  constructor() {
9054
- super(...arguments), this.processSlotOptions = Q(b8), this.state = {
9054
+ super(...arguments), this.processSlotOptions = Y(b8), this.state = {
9055
9055
  slatCoords: null
9056
9056
  }, this.handleRootEl = (e) => {
9057
9057
  e ? this.context.registerInteractiveComponent(this, {
@@ -9100,10 +9100,10 @@ class y8 extends u3 {
9100
9100
  queryHit(e, t) {
9101
9101
  let { dateEnv: i, options: n } = this.context, { colCoords: l } = this, { dateProfile: s } = this.props, { slatCoords: r } = this.state, { snapDuration: o, snapsPerSlot: u } = this.processSlotOptions(this.props.slotDuration, n.snapDuration), c = l.leftToIndex(e), h = r.positions.topToIndex(t);
9102
9102
  if (c != null && h != null) {
9103
- let f = this.props.cells[c], d = r.positions.tops[h], m = r.positions.getHeight(h), g = (t - d) / m, p = Math.floor(g * u), y = h * u + p, b = this.props.cells[c].date, z = Pt(s.slotMinTime, Bl(o, y)), v = i.add(b, z), R = i.add(v, o);
9103
+ let f = this.props.cells[c], d = r.positions.tops[h], m = r.positions.getHeight(h), g = (t - d) / m, p = Math.floor(g * u), y = h * u + p, b = this.props.cells[c].date, z = Pt(s.slotMinTime, Rl(o, y)), v = i.add(b, z), B = i.add(v, o);
9104
9104
  return {
9105
9105
  dateProfile: s,
9106
- dateSpan: Object.assign({ range: { start: v, end: R }, allDay: !1 }, f.extraDateSpan),
9106
+ dateSpan: Object.assign({ range: { start: v, end: B }, allDay: !1 }, f.extraDateSpan),
9107
9107
  dayEl: l.els[c],
9108
9108
  rect: {
9109
9109
  left: l.lefts[c],
@@ -9139,7 +9139,7 @@ class w8 extends an {
9139
9139
  }
9140
9140
  class E8 extends u3 {
9141
9141
  constructor() {
9142
- super(...arguments), this.buildDayRanges = Q(z8), this.slicer = new w8(), this.timeColsRef = L1();
9142
+ super(...arguments), this.buildDayRanges = Y(z8), this.slicer = new w8(), this.timeColsRef = L1();
9143
9143
  }
9144
9144
  render() {
9145
9145
  let { props: e, context: t } = this, { dateProfile: i, dayTableModel: n } = e, { nowIndicator: l, nextDayThreshold: s } = t.options, r = this.buildDayRanges(n, i, t.dateEnv);
@@ -9185,7 +9185,7 @@ function M8(a) {
9185
9185
  }
9186
9186
  class S8 extends X5 {
9187
9187
  constructor() {
9188
- super(...arguments), this.buildTimeColsModel = Q(k8), this.buildSlatMetas = Q(C8);
9188
+ super(...arguments), this.buildTimeColsModel = Y(k8), this.buildSlatMetas = Y(C8);
9189
9189
  }
9190
9190
  render() {
9191
9191
  let { options: e, dateEnv: t, dateProfileGenerator: i } = this.context, { props: n } = this, { dateProfile: l } = n, s = this.buildTimeColsModel(l, i), r = this.allDaySplitter.splitProps(n), o = this.buildSlatMetas(l.slotMinTime, l.slotMaxTime, e.slotLabelInterval, e.slotDuration, t), { dayMinWidth: u } = e, c = !u, h = u, f = e.dayHeaders && A($i, { dates: s.headerDates, dateProfile: l, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), d = e.allDaySlot !== !1 && ((g) => A(In, Object.assign({}, r.allDay, { dateProfile: l, dayTableModel: s, nextDayThreshold: e.nextDayThreshold, tableMinWidth: g.tableMinWidth, colGroupNode: g.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: g.clientWidth, clientHeight: g.clientHeight, forPrint: n.forPrint }, this.getAllDayMaxEventProps()))), m = (g) => A(E8, Object.assign({}, r.timed, { dayTableModel: s, dateProfile: l, axis: c, slotDuration: e.slotDuration, slatMetas: o, forPrint: n.forPrint, tableColGroupNode: g.tableColGroupNode, tableMinWidth: g.tableMinWidth, clientWidth: g.clientWidth, clientHeight: g.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: g.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
@@ -9245,7 +9245,7 @@ var I8 = b3({
9245
9245
  allDayText: "Toute la journée",
9246
9246
  moreLinkText: "en plus",
9247
9247
  noEventsText: "Aucun évènement à afficher"
9248
- }, j1 = "top", Z1 = "bottom", X1 = "right", U1 = "left", W2 = "auto", W0 = [j1, Z1, X1, U1], h0 = "start", L0 = "end", R8 = "clippingParents", Nn = "viewport", M0 = "popper", B8 = "reference", la = /* @__PURE__ */ W0.reduce(function(a, e) {
9248
+ }, j1 = "top", Z1 = "bottom", X1 = "right", U1 = "left", W2 = "auto", W0 = [j1, Z1, X1, U1], h0 = "start", L0 = "end", B8 = "clippingParents", Nn = "viewport", M0 = "popper", R8 = "reference", la = /* @__PURE__ */ W0.reduce(function(a, e) {
9249
9249
  return a.concat([e + "-" + h0, e + "-" + L0]);
9250
9250
  }, []), jn = /* @__PURE__ */ [].concat(W0, [W2]).reduce(function(a, e) {
9251
9251
  return a.concat([e, e + "-" + h0, e + "-" + L0]);
@@ -9453,7 +9453,7 @@ 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], R = b - f[c] - h[m], S = b / 2 - f[c] / 2 + z, O = I0(v, S, R), H = o;
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
9457
  t.modifiersData[i] = (e = {}, e[H] = O, e.centerOffset = O - S, e);
9458
9458
  }
9459
9459
  }
@@ -9495,12 +9495,12 @@ function ra(a) {
9495
9495
  y: g
9496
9496
  };
9497
9497
  d = p.x, g = p.y;
9498
- var y = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), z = U1, v = j1, R = window;
9498
+ var y = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), z = U1, v = j1, B = window;
9499
9499
  if (u) {
9500
9500
  var S = Q0(t), O = "clientHeight", H = "clientWidth";
9501
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) {
9502
9502
  v = Z1;
9503
- var Z = h && S === R && R.visualViewport ? R.visualViewport.height : (
9503
+ var Z = h && S === B && B.visualViewport ? B.visualViewport.height : (
9504
9504
  // $FlowFixMe[prop-missing]
9505
9505
  S[O]
9506
9506
  );
@@ -9508,11 +9508,11 @@ function ra(a) {
9508
9508
  }
9509
9509
  if (n === U1 || (n === j1 || n === Z1) && l === L0) {
9510
9510
  z = X1;
9511
- var W = h && S === R && R.visualViewport ? R.visualViewport.width : (
9511
+ var Q = h && S === B && B.visualViewport ? B.visualViewport.width : (
9512
9512
  // $FlowFixMe[prop-missing]
9513
9513
  S[H]
9514
9514
  );
9515
- d -= W - i.width, d *= o ? 1 : -1;
9515
+ d -= Q - i.width, d *= o ? 1 : -1;
9516
9516
  }
9517
9517
  }
9518
9518
  var j = Object.assign({
@@ -9526,7 +9526,7 @@ function ra(a) {
9526
9526
  };
9527
9527
  if (d = L.x, g = L.y, o) {
9528
9528
  var G;
9529
- return Object.assign({}, j, (G = {}, G[v] = b ? "0" : "", G[z] = y ? "0" : "", G.transform = (R.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", G));
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
  }
9531
9531
  return Object.assign({}, j, (e = {}, e[v] = b ? g + "px" : "", e[z] = y ? d + "px" : "", e.transform = "", e));
9532
9532
  }
@@ -9728,24 +9728,24 @@ function Gn(a) {
9728
9728
  }
9729
9729
  function O0(a, e) {
9730
9730
  e === void 0 && (e = {});
9731
- var t = e, i = t.placement, n = i === void 0 ? a.placement : i, l = t.strategy, s = l === void 0 ? a.strategy : l, r = t.boundary, o = r === void 0 ? R8 : r, u = t.rootBoundary, c = u === void 0 ? Nn : u, h = t.elementContext, f = h === void 0 ? M0 : h, d = t.altBoundary, m = d === void 0 ? !1 : d, g = t.padding, p = g === void 0 ? 0 : g, y = Qn(typeof p != "number" ? p : Yn(p, W0)), b = f === M0 ? B8 : M0, z = a.rects.popper, v = a.elements[m ? b : f], R = dc(G3(v) ? v : v.contextElement || V3(a.elements.popper), o, c, s), S = p0(a.elements.reference), O = Gn({
9731
+ var t = e, i = t.placement, n = i === void 0 ? a.placement : i, l = t.strategy, s = l === void 0 ? a.strategy : l, r = t.boundary, o = r === void 0 ? B8 : r, u = t.rootBoundary, c = u === void 0 ? Nn : u, h = t.elementContext, f = h === void 0 ? M0 : h, d = t.altBoundary, m = d === void 0 ? !1 : d, g = t.padding, p = g === void 0 ? 0 : g, y = Qn(typeof p != "number" ? p : Yn(p, W0)), b = f === M0 ? R8 : M0, z = a.rects.popper, v = a.elements[m ? b : f], B = dc(G3(v) ? v : v.contextElement || V3(a.elements.popper), o, c, s), S = p0(a.elements.reference), O = Gn({
9732
9732
  reference: S,
9733
9733
  element: z,
9734
9734
  placement: n
9735
- }), H = a2(Object.assign({}, z, O)), Z = f === M0 ? H : S, W = {
9736
- top: R.top - Z.top + y.top,
9737
- bottom: Z.bottom - R.bottom + y.bottom,
9738
- left: R.left - Z.left + y.left,
9739
- right: Z.right - R.right + y.right
9735
+ }), H = a2(Object.assign({}, z, O)), Z = f === M0 ? H : S, Q = {
9736
+ top: B.top - Z.top + y.top,
9737
+ bottom: Z.bottom - B.bottom + y.bottom,
9738
+ left: B.left - Z.left + y.left,
9739
+ right: Z.right - B.right + y.right
9740
9740
  }, j = a.modifiersData.offset;
9741
9741
  if (f === M0 && j) {
9742
9742
  var L = j[n];
9743
- Object.keys(W).forEach(function(G) {
9743
+ Object.keys(Q).forEach(function(G) {
9744
9744
  var k = [X1, Z1].indexOf(G) >= 0 ? 1 : -1, I = [j1, Z1].indexOf(G) >= 0 ? "y" : "x";
9745
- W[G] += L[I] * k;
9745
+ Q[G] += L[I] * k;
9746
9746
  });
9747
9747
  }
9748
- return W;
9748
+ return Q;
9749
9749
  }
9750
9750
  function hc(a, e) {
9751
9751
  e === void 0 && (e = {});
@@ -9785,17 +9785,17 @@ function pc(a) {
9785
9785
  flipVariations: m,
9786
9786
  allowedAutoPlacements: g
9787
9787
  }) : m1);
9788
- }, []), R = e.rects.reference, S = e.rects.popper, O = /* @__PURE__ */ new Map(), H = !0, Z = v[0], W = 0; W < v.length; W++) {
9789
- var j = v[W], 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(), 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, {
9790
9790
  placement: j,
9791
9791
  boundary: c,
9792
9792
  rootBoundary: h,
9793
9793
  altBoundary: f,
9794
9794
  padding: u
9795
- }), B = k ? G ? X1 : U1 : G ? Z1 : j1;
9796
- R[I] > S[I] && (B = be(B));
9797
- var M = be(B), T = [];
9798
- if (l && T.push(V[L] <= 0), r && T.push(V[B] <= 0, V[M] <= 0), T.every(function(f1) {
9795
+ }), R = k ? G ? X1 : U1 : G ? Z1 : j1;
9796
+ B[I] > S[I] && (R = be(R));
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) {
9799
9799
  return f1;
9800
9800
  })) {
9801
9801
  Z = j, H = !1;
@@ -9806,9 +9806,9 @@ function pc(a) {
9806
9806
  if (H)
9807
9807
  for (var F = m ? 3 : 1, $ = function(m1) {
9808
9808
  var S1 = v.find(function(O1) {
9809
- var B1 = O.get(O1);
9810
- if (B1)
9811
- return B1.slice(0, m1).every(function(F1) {
9809
+ var R1 = O.get(O1);
9810
+ if (R1)
9811
+ return R1.slice(0, m1).every(function(F1) {
9812
9812
  return F1;
9813
9813
  });
9814
9814
  });
@@ -9919,9 +9919,9 @@ 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), R = 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, H = e.rects.popper, Z = typeof g == "function" ? g(Object.assign({}, e.rects, {
9923
9923
  placement: e.placement
9924
- })) : g, W = typeof Z == "number" ? {
9924
+ })) : g, Q = typeof Z == "number" ? {
9925
9925
  mainAxis: Z,
9926
9926
  altAxis: Z
9927
9927
  } : Object.assign({
@@ -9933,15 +9933,15 @@ function Cc(a) {
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", B = S[v], M = B + p[k], T = B - 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, 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) : {
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], B1 = I0(0, O[V], f1[V]), F1 = z ? O[V] / 2 - F - B1 - S1 - W.mainAxis : $ - B1 - S1 - W.mainAxis, A1 = z ? -O[V] / 2 + F + B1 + O1 + W.mainAxis : a1 + B1 + O1 + W.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 = B + F1 - i3 - a3, _0 = B + A1 - i3, b0 = I0(d ? Ye(M, G0) : M, B, d ? P3(T, _0) : T);
9940
- S[v] = b0, L[v] = b0 - B;
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;
9941
9941
  }
9942
9942
  if (r) {
9943
- var w0, J0 = v === "x" ? j1 : U1, Z0 = v === "x" ? Z1 : X1, d3 = S[R], w3 = R === "y" ? "height" : "width", E0 = d3 + p[J0], R3 = d3 - p[Z0], z0 = [j1, U1].indexOf(y) !== -1, X0 = (w0 = j?.[R]) != null ? w0 : 0, $0 = z0 ? E0 : d3 - O[w3] - H[w3] - X0 + W.altAxis, ee = z0 ? d3 + O[w3] + H[w3] - X0 - W.altAxis : R3, te = d && z0 ? G8($0, d3, ee) : I0(d ? $0 : E0, d3, d ? ee : R3);
9944
- S[R] = te, L[R] = 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] - 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;
9945
9945
  }
9946
9946
  e.modifiersData[i] = L;
9947
9947
  }
@@ -10010,7 +10010,7 @@ function Vc(a) {
10010
10010
  }));
10011
10011
  }, []);
10012
10012
  }
10013
- function Rc(a) {
10013
+ function Bc(a) {
10014
10014
  var e;
10015
10015
  return function() {
10016
10016
  return e || (e = new Promise(function(t) {
@@ -10020,7 +10020,7 @@ function Rc(a) {
10020
10020
  })), e;
10021
10021
  };
10022
10022
  }
10023
- function Bc(a) {
10023
+ function Rc(a) {
10024
10024
  var e = a.reduce(function(t, i) {
10025
10025
  var n = t[i.name];
10026
10026
  return t[i.name] = n ? Object.assign({}, n, i, {
@@ -10068,7 +10068,7 @@ function Tc(a) {
10068
10068
  reference: G3(r) ? V0(r) : r.contextElement ? V0(r.contextElement) : [],
10069
10069
  popper: V0(o)
10070
10070
  };
10071
- var z = Vc(Bc([].concat(i, c.options.modifiers)));
10071
+ var z = Vc(Rc([].concat(i, c.options.modifiers)));
10072
10072
  return c.orderedModifiers = z.filter(function(v) {
10073
10073
  return v.enabled;
10074
10074
  }), m(), d.update();
@@ -10085,15 +10085,15 @@ function Tc(a) {
10085
10085
  c.rects = {
10086
10086
  reference: Dc(b, Q0(z), c.options.strategy === "fixed"),
10087
10087
  popper: Y2(z)
10088
- }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(W) {
10089
- return c.modifiersData[W.name] = Object.assign({}, W.data);
10088
+ }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(Q) {
10089
+ return c.modifiersData[Q.name] = Object.assign({}, Q.data);
10090
10090
  });
10091
10091
  for (var v = 0; v < c.orderedModifiers.length; v++) {
10092
10092
  if (c.reset === !0) {
10093
10093
  c.reset = !1, v = -1;
10094
10094
  continue;
10095
10095
  }
10096
- var R = c.orderedModifiers[v], S = R.fn, O = R.options, H = O === void 0 ? {} : O, Z = R.name;
10096
+ var B = c.orderedModifiers[v], S = B.fn, O = B.options, H = O === void 0 ? {} : O, Z = B.name;
10097
10097
  typeof S == "function" && (c = S({
10098
10098
  state: c,
10099
10099
  options: H,
@@ -10106,7 +10106,7 @@ function Tc(a) {
10106
10106
  },
10107
10107
  // Async and optimistically optimized update – it will not be executed if
10108
10108
  // not necessary (debounced to run at most once-per-tick)
10109
- update: Rc(function() {
10109
+ update: Bc(function() {
10110
10110
  return new Promise(function(p) {
10111
10111
  d.forceUpdate(), p(c);
10112
10112
  });
@@ -10124,14 +10124,14 @@ function Tc(a) {
10124
10124
  c.orderedModifiers.forEach(function(p) {
10125
10125
  var y = p.name, b = p.options, z = b === void 0 ? {} : b, v = p.effect;
10126
10126
  if (typeof v == "function") {
10127
- var R = v({
10127
+ var B = v({
10128
10128
  state: c,
10129
10129
  name: y,
10130
10130
  instance: d,
10131
10131
  options: z
10132
10132
  }), S = function() {
10133
10133
  };
10134
- h.push(R || S);
10134
+ h.push(B || S);
10135
10135
  }
10136
10136
  });
10137
10137
  }
@@ -10209,7 +10209,7 @@ function ma(a) {
10209
10209
  return a[t] !== void 0 && (e[t] = a[t]), e;
10210
10210
  }, {});
10211
10211
  }
10212
- function R0() {
10212
+ function B0() {
10213
10213
  return document.createElement("div");
10214
10214
  }
10215
10215
  function F0(a) {
@@ -10229,7 +10229,7 @@ function Yc(a) {
10229
10229
  function qc(a) {
10230
10230
  return F0(a) ? [a] : Wc(a) ? qe(a) : Array.isArray(a) ? a : qe(document.querySelectorAll(a));
10231
10231
  }
10232
- function Rt(a, e) {
10232
+ function Bt(a, e) {
10233
10233
  a.forEach(function(t) {
10234
10234
  t && (t.style.transitionDuration = e + "ms");
10235
10235
  });
@@ -10253,7 +10253,7 @@ function _c(a, e) {
10253
10253
  return g || p || y || b;
10254
10254
  });
10255
10255
  }
10256
- function Bt(a, e, t) {
10256
+ function Rt(a, e, t) {
10257
10257
  var i = e + "EventListener";
10258
10258
  ["transitionend", "webkitTransitionEnd"].forEach(function(n) {
10259
10259
  a[i](n, t);
@@ -10470,7 +10470,7 @@ function n2(a, e) {
10470
10470
  a[o9()] = e;
10471
10471
  }
10472
10472
  function Ea(a) {
10473
- var e = R0();
10473
+ var e = B0();
10474
10474
  return a === !0 ? e.className = Jn : (e.className = Zn, F0(a) ? e.appendChild(a) : n2(e, a)), e;
10475
10475
  }
10476
10476
  function za(a, e) {
@@ -10492,9 +10492,9 @@ function l2(a) {
10492
10492
  };
10493
10493
  }
10494
10494
  function l4(a) {
10495
- var e = R0(), t = R0();
10495
+ var e = B0(), t = B0();
10496
10496
  t.className = Oc, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
10497
- var i = R0();
10497
+ var i = B0();
10498
10498
  i.className = _n, i.setAttribute("data-state", "hidden"), za(i, a.props), e.appendChild(t), t.appendChild(i), n(a.props, a.props);
10499
10499
  function n(l, s) {
10500
10500
  var r = l2(e), o = r.box, u = r.content, c = r.arrow;
@@ -10523,7 +10523,7 @@ function u9(a, e) {
10523
10523
  // properties
10524
10524
  id: p,
10525
10525
  reference: a,
10526
- popper: R0(),
10526
+ popper: B0(),
10527
10527
  popperInstance: y,
10528
10528
  props: t,
10529
10529
  state: z,
@@ -10542,22 +10542,22 @@ function u9(a, e) {
10542
10542
  };
10543
10543
  if (!t.render)
10544
10544
  return process.env.NODE_ENV !== "production" && i2(!0, "render() function has not been supplied."), v;
10545
- var R = t.render(v), S = R.popper, O = R.onUpdate;
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
10547
  var H = b.map(function(C) {
10548
10548
  return C.fn(v);
10549
10549
  }), Z = a.hasAttribute("aria-expanded");
10550
- return T1(), F(), B(), M("onCreate", [v]), t.showOnCreate && E0(), S.addEventListener("mouseenter", function() {
10550
+ return T1(), F(), R(), M("onCreate", [v]), t.showOnCreate && E0(), S.addEventListener("mouseenter", function() {
10551
10551
  v.props.interactive && v.state.isVisible && v.clearDelayTimeouts();
10552
10552
  }), S.addEventListener("mouseleave", function() {
10553
10553
  v.props.interactive && v.props.trigger.indexOf("mouseenter") >= 0 && k().addEventListener("mousemove", m);
10554
10554
  }), v;
10555
- function W() {
10555
+ function Q() {
10556
10556
  var C = v.props.touch;
10557
10557
  return Array.isArray(C) ? C : [C, 0];
10558
10558
  }
10559
10559
  function j() {
10560
- return W()[0] === "hold";
10560
+ return Q()[0] === "hold";
10561
10561
  }
10562
10562
  function L() {
10563
10563
  var C;
@@ -10576,7 +10576,7 @@ function u9(a, e) {
10576
10576
  function V(C) {
10577
10577
  return v.state.isMounted && !v.state.isVisible || l3.isTouch || c && c.type === "focus" ? 0 : Vt(v.props.delay, C ? 0 : 1, P1.delay);
10578
10578
  }
10579
- function B(C) {
10579
+ function R(C) {
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) {
@@ -10651,17 +10651,17 @@ function u9(a, e) {
10651
10651
  !v.state.isVisible && S.parentNode && S.parentNode.contains(S) && N();
10652
10652
  });
10653
10653
  }
10654
- function B1(C, N) {
10654
+ function R1(C, N) {
10655
10655
  F1(C, N);
10656
10656
  }
10657
10657
  function F1(C, N) {
10658
10658
  var q = I().box;
10659
10659
  function o1(l1) {
10660
- l1.target === q && (Bt(q, "remove", o1), N());
10660
+ l1.target === q && (Rt(q, "remove", o1), N());
10661
10661
  }
10662
10662
  if (C === 0)
10663
10663
  return N();
10664
- Bt(q, "remove", h), Bt(q, "add", o1), h = o1;
10664
+ Rt(q, "remove", h), Rt(q, "add", o1), h = o1;
10665
10665
  }
10666
10666
  function A1(C, N, q) {
10667
10667
  q === void 0 && (q = !1);
@@ -10707,7 +10707,7 @@ function u9(a, e) {
10707
10707
  var o1 = ((N = c) == null ? void 0 : N.type) === "focus";
10708
10708
  c = C, g = C.currentTarget, F(), !v.state.isVisible && Qc(C) && he.forEach(function(l1) {
10709
10709
  return l1(C);
10710
- }), C.type === "click" && (v.props.trigger.indexOf("mouseenter") < 0 || s) && v.props.hideOnClick !== !1 && v.state.isVisible ? q = !0 : E0(C), C.type === "click" && (s = !q), q && !o1 && R3(C);
10710
+ }), C.type === "click" && (v.props.trigger.indexOf("mouseenter") < 0 || s) && v.props.hideOnClick !== !1 && v.state.isVisible ? q = !0 : E0(C), C.type === "click" && (s = !q), q && !o1 && B3(C);
10711
10711
  }
10712
10712
  }
10713
10713
  function G0(C) {
@@ -10721,7 +10721,7 @@ function u9(a, e) {
10721
10721
  props: t
10722
10722
  } : null;
10723
10723
  }).filter(Boolean);
10724
- _c(o1, C) && ($(), R3(C));
10724
+ _c(o1, C) && ($(), B3(C));
10725
10725
  }
10726
10726
  }
10727
10727
  function _0(C) {
@@ -10731,11 +10731,11 @@ function u9(a, e) {
10731
10731
  v.hideWithInteractivity(C);
10732
10732
  return;
10733
10733
  }
10734
- R3(C);
10734
+ B3(C);
10735
10735
  }
10736
10736
  }
10737
10737
  function b0(C) {
10738
- v.props.trigger.indexOf("focusin") < 0 && C.target !== G() || v.props.interactive && C.relatedTarget && S.contains(C.relatedTarget) || R3(C);
10738
+ v.props.trigger.indexOf("focusin") < 0 && C.target !== G() || v.props.interactive && C.relatedTarget && S.contains(C.relatedTarget) || B3(C);
10739
10739
  }
10740
10740
  function w0(C) {
10741
10741
  return l3.isTouch ? j() !== C.type.indexOf("touch") >= 0 : !1;
@@ -10759,7 +10759,7 @@ function u9(a, e) {
10759
10759
  }), $3.attributes.popper = {};
10760
10760
  }
10761
10761
  }
10762
- }, B3 = [{
10762
+ }, R3 = [{
10763
10763
  name: "offset",
10764
10764
  options: {
10765
10765
  offset: o1
@@ -10785,16 +10785,16 @@ function u9(a, e) {
10785
10785
  adaptive: !H1
10786
10786
  }
10787
10787
  }, t6];
10788
- L() && G1 && B3.push({
10788
+ L() && G1 && R3.push({
10789
10789
  name: "arrow",
10790
10790
  options: {
10791
10791
  element: G1,
10792
10792
  padding: 3
10793
10793
  }
10794
- }), B3.push.apply(B3, N?.modifiers || []), v.popperInstance = Lc(X3, S, Object.assign({}, N, {
10794
+ }), R3.push.apply(R3, N?.modifiers || []), v.popperInstance = Lc(X3, S, Object.assign({}, N, {
10795
10795
  placement: q,
10796
10796
  onFirstUpdate: f,
10797
- modifiers: B3
10797
+ modifiers: R3
10798
10798
  }));
10799
10799
  }
10800
10800
  function Z0() {
@@ -10815,12 +10815,12 @@ function u9(a, e) {
10815
10815
  }
10816
10816
  function E0(C) {
10817
10817
  v.clearDelayTimeouts(), C && M("onTrigger", [v, C]), m1();
10818
- var N = V(!0), q = W(), o1 = q[0], l1 = q[1];
10818
+ var N = V(!0), q = Q(), o1 = q[0], l1 = q[1];
10819
10819
  l3.isTouch && o1 === "hold" && l1 && (N = l1), N ? i = setTimeout(function() {
10820
10820
  v.show();
10821
10821
  }, N) : v.show();
10822
10822
  }
10823
- function R3(C) {
10823
+ function B3(C) {
10824
10824
  if (v.clearDelayTimeouts(), M("onUntrigger", [v, C]), !v.state.isVisible) {
10825
10825
  S1();
10826
10826
  return;
@@ -10851,7 +10851,7 @@ function u9(a, e) {
10851
10851
  }));
10852
10852
  v.props = q, T1(), N.interactiveDebounce !== q.interactiveDebounce && ($(), m = pa(G0, q.interactiveDebounce)), N.triggerTarget && !q.triggerTarget ? a0(N.triggerTarget).forEach(function(o1) {
10853
10853
  o1.removeAttribute("aria-expanded");
10854
- }) : q.triggerTarget && a.removeAttribute("aria-expanded"), F(), B(), O && O(N, q), v.popperInstance && (J0(), w3().forEach(function(o1) {
10854
+ }) : q.triggerTarget && a.removeAttribute("aria-expanded"), F(), R(), O && O(N, q), v.popperInstance && (J0(), w3().forEach(function(o1) {
10855
10855
  requestAnimationFrame(o1._tippy.popperInstance.forceUpdate);
10856
10856
  })), M("onAfterUpdate", [v, C]);
10857
10857
  }
@@ -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"), B(), m1(), v.state.isMounted || (S.style.transition = "none"), L()) {
10868
+ if (v.state.isVisible = !0, L() && (S.style.visibility = "visible"), R(), m1(), v.state.isMounted || (S.style.transition = "none"), L()) {
10869
10869
  var H1 = I(), G1 = H1.box, X3 = H1.content;
10870
- Rt([G1, X3], 0);
10870
+ Bt([G1, X3], 0);
10871
10871
  }
10872
10872
  f = function() {
10873
- var B3;
10873
+ var R3;
10874
10874
  if (!(!v.state.isVisible || u)) {
10875
10875
  if (u = !0, S.offsetHeight, S.style.transition = v.props.moveTransition, L() && v.props.animation) {
10876
10876
  var ht = I(), ae = ht.box, $3 = ht.content;
10877
- Rt([ae, $3], l1), ga([ae, $3], "visible");
10877
+ Bt([ae, $3], l1), ga([ae, $3], "visible");
10878
10878
  }
10879
- T(), F(), va(Tt, v), (B3 = v.popperInstance) == null || B3.forceUpdate(), M("onMount", [v]), v.props.animation && L() && B1(l1, function() {
10879
+ T(), F(), va(Tt, v), (R3 = v.popperInstance) == null || R3.forceUpdate(), M("onMount", [v]), v.props.animation && L() && R1(l1, function() {
10880
10880
  v.state.isShown = !0, M("onShown", [v]);
10881
10881
  });
10882
10882
  }
@@ -10887,9 +10887,9 @@ 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(), B(!0), L()) {
10890
+ if (v.state.isVisible = !1, v.state.isShown = !1, u = !1, s = !1, L() && (S.style.visibility = "hidden"), $(), S1(), R(!0), L()) {
10891
10891
  var l1 = I(), H1 = l1.box, G1 = l1.content;
10892
- v.props.animation && (Rt([H1, G1], o1), ga([H1, G1], "hidden"));
10892
+ v.props.animation && (Bt([H1, G1], o1), ga([H1, G1], "hidden"));
10893
10893
  }
10894
10894
  T(), F(), v.props.animation ? L() && O1(o1, v.unmount) : v.unmount();
10895
10895
  }
@@ -10958,15 +10958,13 @@ const nh = /* @__PURE__ */ u1({
10958
10958
  props: {
10959
10959
  events: {},
10960
10960
  initialView: {},
10961
- onSelectDate: { type: Function },
10962
- onClickEvent: { type: Function },
10963
- onChangeView: { type: Function },
10964
10961
  btnToday: { type: Boolean },
10965
10962
  btnViewOption: { type: Boolean }
10966
10963
  },
10967
- setup(a) {
10968
- const e = a, t = Y(() => {
10969
- switch (e.initialView) {
10964
+ emits: ["onSelectDate", "onClickEvent", "onChangeView"],
10965
+ setup(a, { emit: e }) {
10966
+ const t = a, i = e, n = W(() => {
10967
+ switch (t.initialView) {
10970
10968
  case "day":
10971
10969
  return "timeGridDay";
10972
10970
  case "week":
@@ -10976,26 +10974,29 @@ const nh = /* @__PURE__ */ u1({
10976
10974
  default:
10977
10975
  return "dayGridMonth";
10978
10976
  }
10979
- }), i = (u) => {
10980
- e.onSelectDate && e.onSelectDate({ start: u.start, end: u.end });
10981
- }, n = (u) => {
10982
- e.onClickEvent && e.onClickEvent({
10983
- id: u.event._def.publicId,
10984
- title: u.event._def.title,
10985
- start: u.event._instance.range.start,
10986
- end: u.event._instance.range.end
10977
+ }), l = W(() => t.btnToday ? "today" : ""), s = W(() => t.btnViewOption ? "dayGridMonth,timeGridWeek,timeGridDay" : ""), r = (h) => {
10978
+ i("onSelectDate", { start: h.startStr, end: h.endStr });
10979
+ }, o = (h) => {
10980
+ i("onClickEvent", {
10981
+ id: h.event.id,
10982
+ title: h.event.title,
10983
+ start: h.event.start?.toISOString() || "",
10984
+ end: h.event.end?.toISOString() || ""
10987
10985
  });
10988
- }, l = (u) => {
10989
- e.onChangeView && u.length > 0 && e.onChangeView(u[0]._context.dateProfile.activeRange);
10990
- }, s = Y(() => e.btnToday ? "today" : ""), r = Y(() => e.btnViewOption ? "dayGridMonth,timeGridWeek,timeGridDay" : ""), o = {
10986
+ }, u = (h) => {
10987
+ i("onChangeView", {
10988
+ start: h.startStr,
10989
+ end: h.endStr
10990
+ });
10991
+ }, c = W(() => ({
10991
10992
  plugins: [z5, Q5, I8],
10992
- initialView: t.value,
10993
+ initialView: n.value,
10993
10994
  locale: V8,
10994
10995
  selectable: !0,
10995
- select: i,
10996
- eventClick: n,
10996
+ select: r,
10997
+ eventClick: o,
10997
10998
  expandRows: !1,
10998
- eventsSet: l,
10999
+ datesSet: u,
10999
11000
  allDaySlot: !1,
11000
11001
  titleFormat: { month: "long", day: "numeric", year: "numeric" },
11001
11002
  views: {
@@ -11017,11 +11018,11 @@ const nh = /* @__PURE__ */ u1({
11017
11018
  }
11018
11019
  }
11019
11020
  },
11020
- eventDidMount: function(u) {
11021
- Y0(u.el, {
11021
+ eventDidMount: function(h) {
11022
+ Y0(h.el, {
11022
11023
  content: `
11023
- <strong>${u.event.title}</strong><br>
11024
- ${u.event.extendedProps.description || ""}
11024
+ <strong>${h.event.title}</strong><br>
11025
+ ${h.event.extendedProps.description || ""}
11025
11026
  `,
11026
11027
  allowHTML: !0,
11027
11028
  placement: "top",
@@ -11029,17 +11030,17 @@ const nh = /* @__PURE__ */ u1({
11029
11030
  });
11030
11031
  },
11031
11032
  headerToolbar: {
11032
- left: s.value,
11033
+ left: l.value,
11033
11034
  center: "prev title next",
11034
- right: r.value
11035
+ right: s.value
11035
11036
  },
11036
11037
  buttonText: {
11037
11038
  prev: "< Précédent",
11038
11039
  next: "Suivant >"
11039
11040
  },
11040
- events: e.events
11041
- };
11042
- return (u, c) => (E(), n1(k1(Yo), { options: o }));
11041
+ events: t.events
11042
+ }));
11043
+ return (h, f) => (E(), n1(k1(Yo), { options: c.value }, null, 8, ["options"]));
11043
11044
  }
11044
11045
  }), d9 = ["disabled"], h9 = ["innerHTML"], s2 = /* @__PURE__ */ u1({
11045
11046
  __name: "CheckboxBase",
@@ -11123,7 +11124,7 @@ function g9(...a) {
11123
11124
  if (a.length !== 1)
11124
11125
  return V4(...a);
11125
11126
  const e = a[0];
11126
- return typeof e == "function" ? R4(B4(() => ({ get: e, set: O3 }))) : e1(e);
11127
+ return typeof e == "function" ? B4(R4(() => ({ get: e, set: O3 }))) : e1(e);
11127
11128
  }
11128
11129
  function W3(a) {
11129
11130
  return Array.isArray(a) ? a : [a];
@@ -11153,7 +11154,7 @@ function m0(a) {
11153
11154
  function Ca(...a) {
11154
11155
  const e = [], t = () => {
11155
11156
  e.forEach((r) => r()), e.length = 0;
11156
- }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = Y(() => {
11157
+ }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = W(() => {
11157
11158
  const r = W3(D1(a[0])).filter((o) => o != null);
11158
11159
  return r.every((o) => typeof o != "string") ? r : void 0;
11159
11160
  }), l = r4(
@@ -11195,14 +11196,14 @@ function b9() {
11195
11196
  // @__NO_SIDE_EFFECTS__
11196
11197
  function o4(a) {
11197
11198
  const e = /* @__PURE__ */ b9();
11198
- return Y(() => (e.value, !!a()));
11199
+ return W(() => (e.value, !!a()));
11199
11200
  }
11200
11201
  function w9(a, e, t = {}) {
11201
11202
  const { window: i = $2, ...n } = t;
11202
11203
  let l;
11203
11204
  const s = /* @__PURE__ */ o4(() => i && "MutationObserver" in i), r = () => {
11204
11205
  l && (l.disconnect(), l = void 0);
11205
- }, o = Y(() => {
11206
+ }, o = W(() => {
11206
11207
  const f = D1(a), d = W3(f).map(m0).filter(p9);
11207
11208
  return new Set(d);
11208
11209
  }), u = M1(
@@ -11225,7 +11226,7 @@ function E9(a, e, t = {}) {
11225
11226
  let l;
11226
11227
  const s = /* @__PURE__ */ o4(() => i && "ResizeObserver" in i), r = () => {
11227
11228
  l && (l.disconnect(), l = void 0);
11228
- }, o = Y(() => {
11229
+ }, o = W(() => {
11229
11230
  const h = D1(a);
11230
11231
  return Array.isArray(h) ? h.map((f) => m0(f)) : [m0(h)];
11231
11232
  }), u = M1(
@@ -11291,7 +11292,7 @@ function S0(a) {
11291
11292
  function we(...a) {
11292
11293
  const e = [], t = () => {
11293
11294
  e.forEach((r) => r()), e.length = 0;
11294
- }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = Y(() => {
11295
+ }, i = (r, o, u, c) => (r.addEventListener(o, u, c), () => r.removeEventListener(o, u, c)), n = W(() => {
11295
11296
  const r = W3(D1(a[0])).filter((o) => o != null);
11296
11297
  return r.every((o) => typeof o != "string") ? r : void 0;
11297
11298
  }), l = r4(
@@ -11452,7 +11453,7 @@ function M9(a, e = !1) {
11452
11453
  const r = Lt(D1(a));
11453
11454
  !r || !t.value || (r2 && i?.(), r.style.overflow = n, Ot.delete(r), t.value = !1);
11454
11455
  };
11455
- return q0(s), Y({
11456
+ return q0(s), W({
11456
11457
  get() {
11457
11458
  return t.value;
11458
11459
  },
@@ -11486,10 +11487,10 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11486
11487
  },
11487
11488
  emits: ["close"],
11488
11489
  setup(a, { emit: e }) {
11489
- const t = a, i = e, n = e1(!1), l = De("contentWrapper"), s = De("menuContainer"), r = e1({}), o = Y(() => {
11490
+ const t = a, i = e, n = e1(!1), l = De("contentWrapper"), s = De("menuContainer"), r = e1({}), o = W(() => {
11490
11491
  const { bottom: m, top: g } = Ge(t.displayEl);
11491
11492
  return { bottom: m, top: g };
11492
- }), u = Y(() => {
11493
+ }), u = W(() => {
11493
11494
  const { bottom: m, top: g } = Ge(l);
11494
11495
  return { bottom: m, top: g };
11495
11496
  }), c = () => {
@@ -11508,7 +11509,7 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11508
11509
  };
11509
11510
  }
11510
11511
  }));
11511
- }, d = Y(() => `flyout-${t.position || "bottom"}`);
11512
+ }, d = W(() => `flyout-${t.position || "bottom"}`);
11512
11513
  return (m, g) => (E(), x("div", null, [
11513
11514
  D("div", k9, [
11514
11515
  D("div", {
@@ -11549,7 +11550,7 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11549
11550
  },
11550
11551
  emits: ["update:modelValue"],
11551
11552
  setup(a, { emit: e }) {
11552
- const t = a, i = e, n = Y(() => ({ ...t.theme ?? {} })), l = (s) => {
11553
+ const t = a, i = e, n = W(() => ({ ...t.theme ?? {} })), l = (s) => {
11553
11554
  const r = s.target;
11554
11555
  i("update:modelValue", r.checked);
11555
11556
  };
@@ -11571,7 +11572,7 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11571
11572
  j3(" " + t1(s.label), 1)
11572
11573
  ], 4));
11573
11574
  }
11574
- }), R9 = (a) => a.slice(0, 1).toLocaleUpperCase() + a.slice(1), xa = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, ""), B9 = /* @__PURE__ */ u1({
11575
+ }), B9 = (a) => a.slice(0, 1).toLocaleUpperCase() + a.slice(1), xa = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, ""), R9 = /* @__PURE__ */ u1({
11575
11576
  __name: "TagBase",
11576
11577
  props: {
11577
11578
  label: {},
@@ -11593,7 +11594,7 @@ const k9 = { class: "flyout-menu-container" }, x9 = {
11593
11594
  setup(a) {
11594
11595
  const e = a, t = e1(!1), i = e1({}), n = e1(null), l = e1(null), s = e1(!1);
11595
11596
  let r = null;
11596
- const o = Ua(), u = Y(() => {
11597
+ const o = Ua(), u = W(() => {
11597
11598
  const d = o.content?.();
11598
11599
  return d && d?.length > 0 && d[0].children.length > 0 ? "visible" : "hidden";
11599
11600
  }), c = async () => {
@@ -12931,7 +12932,7 @@ class U9 extends V1 {
12931
12932
  }
12932
12933
  }
12933
12934
  _.MaskedRegExp = U9;
12934
- class R1 extends V1 {
12935
+ class B1 extends V1 {
12935
12936
  /** */
12936
12937
  /** */
12937
12938
  /** Single char for empty input */
@@ -12943,7 +12944,7 @@ class R1 extends V1 {
12943
12944
  /** */
12944
12945
  constructor(e) {
12945
12946
  super({
12946
- ...R1.DEFAULTS,
12947
+ ...B1.DEFAULTS,
12947
12948
  ...e,
12948
12949
  definitions: Object.assign({}, Je.DEFAULT_DEFINITIONS, e?.definitions)
12949
12950
  });
@@ -12989,7 +12990,7 @@ class R1 extends V1 {
12989
12990
  }
12990
12991
  }
12991
12992
  let s = t[l], r = s in e;
12992
- if (s === R1.STOP_CHAR) {
12993
+ if (s === B1.STOP_CHAR) {
12993
12994
  this._stops.push(this._blocks.length);
12994
12995
  continue;
12995
12996
  }
@@ -13001,7 +13002,7 @@ class R1 extends V1 {
13001
13002
  n = !n;
13002
13003
  continue;
13003
13004
  }
13004
- if (s === R1.ESCAPE_CHAR) {
13005
+ if (s === B1.ESCAPE_CHAR) {
13005
13006
  if (++l, s = t[l], !s) break;
13006
13007
  r = !1;
13007
13008
  }
@@ -13230,17 +13231,17 @@ class R1 extends V1 {
13230
13231
  return this._forEachBlocksInRange(0, this.displayValue.length, (i) => t.aggregate(i.pad(e))), t;
13231
13232
  }
13232
13233
  }
13233
- R1.DEFAULTS = {
13234
+ B1.DEFAULTS = {
13234
13235
  ...V1.DEFAULTS,
13235
13236
  lazy: !0,
13236
13237
  placeholderChar: "_"
13237
13238
  };
13238
- R1.STOP_CHAR = "`";
13239
- R1.ESCAPE_CHAR = "\\";
13240
- R1.InputDefinition = Je;
13241
- R1.FixedDefinition = p4;
13242
- _.MaskedPattern = R1;
13243
- class Ee extends R1 {
13239
+ B1.STOP_CHAR = "`";
13240
+ B1.ESCAPE_CHAR = "\\";
13241
+ B1.InputDefinition = Je;
13242
+ B1.FixedDefinition = p4;
13243
+ _.MaskedPattern = B1;
13244
+ class Ee extends B1 {
13244
13245
  /**
13245
13246
  Optionally sets max length of pattern.
13246
13247
  Used when pattern length is longer then `to` param length. Pads zeros at start in this case.
@@ -13309,7 +13310,7 @@ class Ee extends R1 {
13309
13310
  }
13310
13311
  _.MaskedRange = Ee;
13311
13312
  const K9 = "d{.}`m{.}`Y";
13312
- class f3 extends R1 {
13313
+ class f3 extends B1 {
13313
13314
  static extractPatternOptions(e) {
13314
13315
  const {
13315
13316
  mask: t,
@@ -13399,7 +13400,7 @@ f3.GET_DEFAULT_BLOCKS = () => ({
13399
13400
  }
13400
13401
  });
13401
13402
  f3.DEFAULTS = {
13402
- ...R1.DEFAULTS,
13403
+ ...B1.DEFAULTS,
13403
13404
  mask: Date,
13404
13405
  pattern: K9,
13405
13406
  format: (a, e) => {
@@ -13627,7 +13628,7 @@ ct.DEFAULTS = {
13627
13628
  }
13628
13629
  };
13629
13630
  _.MaskedDynamic = ct;
13630
- class ut extends R1 {
13631
+ class ut extends B1 {
13631
13632
  constructor(e) {
13632
13633
  super({
13633
13634
  ...ut.DEFAULTS,
@@ -13680,7 +13681,7 @@ class ut extends R1 {
13680
13681
  }
13681
13682
  }
13682
13683
  ut.DEFAULTS = {
13683
- ...R1.DEFAULTS,
13684
+ ...B1.DEFAULTS,
13684
13685
  matchValue: (a, e, t) => a.indexOf(e, t) === t
13685
13686
  };
13686
13687
  _.MaskedEnum = ut;
@@ -13922,7 +13923,7 @@ function W9(a, e, t, i) {
13922
13923
  _.PIPE_TYPE = o2;
13923
13924
  _.createPipe = m4;
13924
13925
  _.pipe = W9;
13925
- class Q9 extends R1 {
13926
+ class Q9 extends B1 {
13926
13927
  get repeatFrom() {
13927
13928
  var e;
13928
13929
  return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
@@ -14033,28 +14034,28 @@ function g4() {
14033
14034
  var I = ["th", "st", "nd", "rd"], V = k % 100;
14034
14035
  return "[" + k + (I[(V - 20) % 10] || I[V] || I[0]) + "]";
14035
14036
  } }, z = function(k, I, V) {
14036
- var B = String(k);
14037
- return !B || B.length >= I ? k : "" + Array(I + 1 - B.length).join(V) + k;
14037
+ var R = String(k);
14038
+ return !R || R.length >= I ? k : "" + Array(I + 1 - R.length).join(V) + k;
14038
14039
  }, v = { s: z, z: function(k) {
14039
- var I = -k.utcOffset(), V = Math.abs(I), B = Math.floor(V / 60), M = V % 60;
14040
- return (I <= 0 ? "+" : "-") + z(B, 2, "0") + ":" + z(M, 2, "0");
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");
14041
14042
  }, m: function k(I, V) {
14042
14043
  if (I.date() < V.date()) return -k(V, I);
14043
- var B = 12 * (V.year() - I.year()) + (V.month() - I.month()), M = I.clone().add(B, h), T = V - M < 0, F = I.clone().add(B + (T ? -1 : 1), h);
14044
- return +(-(B + (V - M) / (T ? M - F : F - M)) || 0);
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);
14045
+ return +(-(R + (V - M) / (T ? M - F : F - M)) || 0);
14045
14046
  }, a: function(k) {
14046
14047
  return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
14047
14048
  }, p: function(k) {
14048
14049
  return { M: h, y: d, w: c, d: u, D: m, h: o, m: r, s, ms: l, Q: f }[k] || String(k || "").toLowerCase().replace(/s$/, "");
14049
14050
  }, u: function(k) {
14050
14051
  return k === void 0;
14051
- } }, R = "en", S = {};
14052
- S[R] = b;
14052
+ } }, B = "en", S = {};
14053
+ S[B] = b;
14053
14054
  var O = "$isDayjsObject", H = function(k) {
14054
14055
  return k instanceof L || !(!k || !k[O]);
14055
- }, Z = function k(I, V, B) {
14056
+ }, Z = function k(I, V, R) {
14056
14057
  var M;
14057
- if (!I) return R;
14058
+ if (!I) return B;
14058
14059
  if (typeof I == "string") {
14059
14060
  var T = I.toLowerCase();
14060
14061
  S[T] && (M = T), V && (S[T] = V, M = T);
@@ -14064,14 +14065,14 @@ function g4() {
14064
14065
  var $ = I.name;
14065
14066
  S[$] = I, M = $;
14066
14067
  }
14067
- return !B && M && (R = M), M || !B && R;
14068
- }, W = function(k, I) {
14068
+ return !R && M && (B = M), M || !R && B;
14069
+ }, Q = function(k, I) {
14069
14070
  if (H(k)) return k.clone();
14070
14071
  var V = typeof I == "object" ? I : {};
14071
14072
  return V.date = k, V.args = arguments, new L(V);
14072
14073
  }, j = v;
14073
14074
  j.l = Z, j.i = H, j.w = function(k, I) {
14074
- return W(k, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
14075
+ return Q(k, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
14075
14076
  };
14076
14077
  var L = function() {
14077
14078
  function k(V) {
@@ -14079,8 +14080,8 @@ function g4() {
14079
14080
  }
14080
14081
  var I = k.prototype;
14081
14082
  return I.parse = function(V) {
14082
- this.$d = function(B) {
14083
- var M = B.date, T = B.utc;
14083
+ this.$d = function(R) {
14084
+ var M = R.date, T = R.utc;
14084
14085
  if (M === null) return /* @__PURE__ */ new Date(NaN);
14085
14086
  if (j.u(M)) return /* @__PURE__ */ new Date();
14086
14087
  if (M instanceof Date) return new Date(M);
@@ -14100,21 +14101,21 @@ function g4() {
14100
14101
  return j;
14101
14102
  }, I.isValid = function() {
14102
14103
  return this.$d.toString() !== g;
14103
- }, I.isSame = function(V, B) {
14104
- var M = W(V);
14105
- return this.startOf(B) <= M && M <= this.endOf(B);
14106
- }, I.isAfter = function(V, B) {
14107
- return W(V) < this.startOf(B);
14108
- }, I.isBefore = function(V, B) {
14109
- return this.endOf(B) < W(V);
14110
- }, I.$g = function(V, B, M) {
14111
- return j.u(V) ? this[B] : this.set(M, V);
14104
+ }, I.isSame = function(V, R) {
14105
+ var M = Q(V);
14106
+ return this.startOf(R) <= M && M <= this.endOf(R);
14107
+ }, I.isAfter = function(V, R) {
14108
+ return Q(V) < this.startOf(R);
14109
+ }, I.isBefore = function(V, R) {
14110
+ return this.endOf(R) < Q(V);
14111
+ }, I.$g = function(V, R, M) {
14112
+ return j.u(V) ? this[R] : this.set(M, V);
14112
14113
  }, I.unix = function() {
14113
14114
  return Math.floor(this.valueOf() / 1e3);
14114
14115
  }, I.valueOf = function() {
14115
14116
  return this.$d.getTime();
14116
- }, I.startOf = function(V, B) {
14117
- var M = this, T = !!j.u(B) || B, F = j.p(V), $ = function(F1, A1) {
14117
+ }, I.startOf = function(V, R) {
14118
+ var M = this, T = !!j.u(R) || R, F = j.p(V), $ = function(F1, A1) {
14118
14119
  var T1 = j.w(M.$u ? Date.UTC(M.$y, A1, F1) : new Date(M.$y, A1, F1), M);
14119
14120
  return T ? T1 : T1.endOf(u);
14120
14121
  }, a1 = function(F1, A1) {
@@ -14126,8 +14127,8 @@ function g4() {
14126
14127
  case h:
14127
14128
  return T ? $(1, f1) : $(0, f1 + 1);
14128
14129
  case c:
14129
- var O1 = this.$locale().weekStart || 0, B1 = (h1 < O1 ? h1 + 7 : h1) - O1;
14130
- return $(T ? m1 - B1 : m1 + (6 - B1), f1);
14130
+ var O1 = this.$locale().weekStart || 0, R1 = (h1 < O1 ? h1 + 7 : h1) - O1;
14131
+ return $(T ? m1 - R1 : m1 + (6 - R1), f1);
14131
14132
  case u:
14132
14133
  case m:
14133
14134
  return a1(S1 + "Hours", 0);
@@ -14142,22 +14143,22 @@ function g4() {
14142
14143
  }
14143
14144
  }, I.endOf = function(V) {
14144
14145
  return this.startOf(V, !1);
14145
- }, I.$set = function(V, B) {
14146
- 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 + (B - this.$W) : B;
14146
+ }, I.$set = function(V, R) {
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;
14147
14148
  if (T === h || T === d) {
14148
14149
  var h1 = this.clone().set(m, 1);
14149
14150
  h1.$d[$](a1), h1.init(), this.$d = h1.set(m, Math.min(this.$D, h1.daysInMonth())).$d;
14150
14151
  } else $ && this.$d[$](a1);
14151
14152
  return this.init(), this;
14152
- }, I.set = function(V, B) {
14153
- return this.clone().$set(V, B);
14153
+ }, I.set = function(V, R) {
14154
+ return this.clone().$set(V, R);
14154
14155
  }, I.get = function(V) {
14155
14156
  return this[j.p(V)]();
14156
- }, I.add = function(V, B) {
14157
+ }, I.add = function(V, R) {
14157
14158
  var M, T = this;
14158
14159
  V = Number(V);
14159
- var F = j.p(B), $ = function(f1) {
14160
- var m1 = W(T);
14160
+ var F = j.p(R), $ = function(f1) {
14161
+ var m1 = Q(T);
14161
14162
  return j.w(m1.date(m1.date() + Math.round(f1 * V)), T);
14162
14163
  };
14163
14164
  if (F === h) return this.set(h, this.$M + V);
@@ -14166,14 +14167,14 @@ function g4() {
14166
14167
  if (F === c) return $(7);
14167
14168
  var a1 = (M = {}, M[r] = i, M[o] = n, M[s] = t, M)[F] || 1, h1 = this.$d.getTime() + V * a1;
14168
14169
  return j.w(h1, this);
14169
- }, I.subtract = function(V, B) {
14170
- return this.add(-1 * V, B);
14170
+ }, I.subtract = function(V, R) {
14171
+ return this.add(-1 * V, R);
14171
14172
  }, I.format = function(V) {
14172
- var B = this, M = this.$locale();
14173
+ var R = this, M = this.$locale();
14173
14174
  if (!this.isValid()) return M.invalidDate || g;
14174
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) {
14175
- return A1 && (A1[T1] || A1(B, T)) || a3[T1].slice(0, i3);
14176
- }, B1 = function(A1) {
14176
+ return A1 && (A1[T1] || A1(R, T)) || a3[T1].slice(0, i3);
14177
+ }, R1 = function(A1) {
14177
14178
  return j.s($ % 12 || 12, A1, "0");
14178
14179
  }, F1 = S1 || function(A1, T1, a3) {
14179
14180
  var i3 = A1 < 12 ? "AM" : "PM";
@@ -14183,9 +14184,9 @@ function g4() {
14183
14184
  return T1 || function(a3) {
14184
14185
  switch (a3) {
14185
14186
  case "YY":
14186
- return String(B.$y).slice(-2);
14187
+ return String(R.$y).slice(-2);
14187
14188
  case "YYYY":
14188
- return j.s(B.$y, 4, "0");
14189
+ return j.s(R.$y, 4, "0");
14189
14190
  case "M":
14190
14191
  return h1 + 1;
14191
14192
  case "MM":
@@ -14195,25 +14196,25 @@ function g4() {
14195
14196
  case "MMMM":
14196
14197
  return O1(m1, h1);
14197
14198
  case "D":
14198
- return B.$D;
14199
+ return R.$D;
14199
14200
  case "DD":
14200
- return j.s(B.$D, 2, "0");
14201
+ return j.s(R.$D, 2, "0");
14201
14202
  case "d":
14202
- return String(B.$W);
14203
+ return String(R.$W);
14203
14204
  case "dd":
14204
- return O1(M.weekdaysMin, B.$W, f1, 2);
14205
+ return O1(M.weekdaysMin, R.$W, f1, 2);
14205
14206
  case "ddd":
14206
- return O1(M.weekdaysShort, B.$W, f1, 3);
14207
+ return O1(M.weekdaysShort, R.$W, f1, 3);
14207
14208
  case "dddd":
14208
- return f1[B.$W];
14209
+ return f1[R.$W];
14209
14210
  case "H":
14210
14211
  return String($);
14211
14212
  case "HH":
14212
14213
  return j.s($, 2, "0");
14213
14214
  case "h":
14214
- return B1(1);
14215
+ return R1(1);
14215
14216
  case "hh":
14216
- return B1(2);
14217
+ return R1(2);
14217
14218
  case "a":
14218
14219
  return F1($, a1, !0);
14219
14220
  case "A":
@@ -14223,11 +14224,11 @@ function g4() {
14223
14224
  case "mm":
14224
14225
  return j.s(a1, 2, "0");
14225
14226
  case "s":
14226
- return String(B.$s);
14227
+ return String(R.$s);
14227
14228
  case "ss":
14228
- return j.s(B.$s, 2, "0");
14229
+ return j.s(R.$s, 2, "0");
14229
14230
  case "SSS":
14230
- return j.s(B.$ms, 3, "0");
14231
+ return j.s(R.$ms, 3, "0");
14231
14232
  case "Z":
14232
14233
  return F;
14233
14234
  }
@@ -14236,8 +14237,8 @@ function g4() {
14236
14237
  });
14237
14238
  }, I.utcOffset = function() {
14238
14239
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
14239
- }, I.diff = function(V, B, M) {
14240
- var T, F = this, $ = j.p(B), a1 = W(V), h1 = (a1.utcOffset() - this.utcOffset()) * i, f1 = this - a1, m1 = function() {
14240
+ }, I.diff = function(V, R, M) {
14241
+ var T, F = this, $ = j.p(R), a1 = Q(V), h1 = (a1.utcOffset() - this.utcOffset()) * i, f1 = this - a1, m1 = function() {
14241
14242
  return j.m(F, a1);
14242
14243
  };
14243
14244
  switch ($) {
@@ -14273,9 +14274,9 @@ function g4() {
14273
14274
  return this.endOf(h).$D;
14274
14275
  }, I.$locale = function() {
14275
14276
  return S[this.$L];
14276
- }, I.locale = function(V, B) {
14277
+ }, I.locale = function(V, R) {
14277
14278
  if (!V) return this.$L;
14278
- var M = this.clone(), T = Z(V, B, !0);
14279
+ var M = this.clone(), T = Z(V, R, !0);
14279
14280
  return T && (M.$L = T), M;
14280
14281
  }, I.clone = function() {
14281
14282
  return j.w(this.$d, this);
@@ -14289,23 +14290,23 @@ function g4() {
14289
14290
  return this.$d.toUTCString();
14290
14291
  }, k;
14291
14292
  }(), G = L.prototype;
14292
- return W.prototype = G, [["$ms", l], ["$s", s], ["$m", r], ["$H", o], ["$W", u], ["$M", h], ["$y", d], ["$D", m]].forEach(function(k) {
14293
+ return Q.prototype = G, [["$ms", l], ["$s", s], ["$m", r], ["$H", o], ["$W", u], ["$M", h], ["$y", d], ["$D", m]].forEach(function(k) {
14293
14294
  G[k[1]] = function(I) {
14294
14295
  return this.$g(I, k[0], k[1]);
14295
14296
  };
14296
- }), W.extend = function(k, I) {
14297
- return k.$i || (k(I, L, W), k.$i = !0), W;
14298
- }, W.locale = Z, W.isDayjs = H, W.unix = function(k) {
14299
- return W(1e3 * k);
14300
- }, W.en = S[R], W.Ls = S, W.p = {}, W;
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) {
14300
+ return Q(1e3 * k);
14301
+ }, Q.en = S[B], Q.Ls = S, Q.p = {}, Q;
14301
14302
  });
14302
14303
  }(ze)), ze.exports;
14303
14304
  }
14304
14305
  var q9 = g4();
14305
14306
  const d1 = /* @__PURE__ */ dt(q9);
14306
- var Ce = { exports: {} }, G9 = Ce.exports, Ra;
14307
+ var Ce = { exports: {} }, G9 = Ce.exports, Ba;
14307
14308
  function _9() {
14308
- return Ra || (Ra = 1, function(a, e) {
14309
+ return Ba || (Ba = 1, function(a, e) {
14309
14310
  (function(t, i) {
14310
14311
  a.exports = i(g4());
14311
14312
  })(G9, function(t) {
@@ -14320,9 +14321,9 @@ function _9() {
14320
14321
  }(Ce)), Ce.exports;
14321
14322
  }
14322
14323
  _9();
14323
- var Me = { exports: {} }, J9 = Me.exports, Ba;
14324
+ var Me = { exports: {} }, J9 = Me.exports, Ra;
14324
14325
  function Z9() {
14325
- return Ba || (Ba = 1, function(a, e) {
14326
+ return Ra || (Ra = 1, function(a, e) {
14326
14327
  (function(t, i) {
14327
14328
  a.exports = i();
14328
14329
  })(J9, function() {
@@ -14426,12 +14427,12 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14426
14427
  },
14427
14428
  emits: ["updateNavDate", "updateNavType"],
14428
14429
  setup(a, { emit: e }) {
14429
- const t = a, i = e, n = e1(t.navigationDate), l = Y(() => d1(t.navigationDate).format("MMMM")), s = Y(() => d1(t.navigationDate).format("YYYY")), r = Y(() => {
14430
+ const t = a, i = e, n = e1(t.navigationDate), l = W(() => d1(t.navigationDate).format("MMMM")), s = W(() => d1(t.navigationDate).format("YYYY")), r = W(() => {
14430
14431
  const c = Number(s.value);
14431
14432
  return `${c - 8} - ${c + 7}`;
14432
- }), o = Y(
14433
+ }), o = W(
14433
14434
  () => [E1.Day, E1.Month].includes(t.navType)
14434
- ), u = Y(() => (c) => {
14435
+ ), u = W(() => (c) => {
14435
14436
  const h = (f) => c === "left" ? -f : f;
14436
14437
  switch (t.navType) {
14437
14438
  case E1.Day:
@@ -14512,25 +14513,25 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14512
14513
  setup(a, { emit: e }) {
14513
14514
  const t = a, i = e, n = e1(t.navigationDate), l = du(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) => {
14514
14515
  n.value = p;
14515
- }, c = Y(() => {
14516
+ }, c = W(() => {
14516
14517
  const p = [];
14517
14518
  let y = parseInt(ou(t.navigationDate));
14518
14519
  y === 0 && (y = 7);
14519
14520
  const b = d1(t.navigationDate).add(-1, "month").daysInMonth();
14520
14521
  for (let z = 1; z < y; z++) {
14521
- const v = d1(t.navigationDate).add(-1, "month").date(b - z + 1), R = o(v);
14522
+ const v = d1(t.navigationDate).add(-1, "month").date(b - z + 1), B = o(v);
14522
14523
  p.push({
14523
14524
  class: {
14524
14525
  "calendar-day-cell": !0,
14525
14526
  "calendar-day-cell-invisible": !0,
14526
- "calendar-cell__disabled": !R
14527
+ "calendar-cell__disabled": !B
14527
14528
  },
14528
14529
  value: v.date(),
14529
- onClick: () => R && u(v.toDate())
14530
+ onClick: () => B && u(v.toDate())
14530
14531
  });
14531
14532
  }
14532
14533
  return p.reverse(), p;
14533
- }), h = Y(() => {
14534
+ }), h = W(() => {
14534
14535
  const p = [];
14535
14536
  for (let y = 1; y <= cu(t.navigationDate); y++) {
14536
14537
  const b = d1(t.navigationDate).date(y), z = t.selectedDate !== void 0 && uu(t.selectedDate, b.toDate()), v = o(d1(t.navigationDate).date(y));
@@ -14545,30 +14546,30 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14545
14546
  });
14546
14547
  }
14547
14548
  return p;
14548
- }), f = Y(() => [
14549
+ }), f = W(() => [
14549
14550
  ...c.value,
14550
14551
  ...h.value
14551
- ]), d = Y(() => {
14552
+ ]), d = W(() => {
14552
14553
  const p = [];
14553
14554
  let y = [];
14554
14555
  f.value.forEach((z, v) => {
14555
14556
  if (v === 0 || v % 7 !== 0)
14556
14557
  y.push(z);
14557
14558
  else {
14558
- const R = y.slice();
14559
- p.push(R), y = [], y.push(z);
14559
+ const B = y.slice();
14560
+ p.push(B), y = [], y.push(z);
14560
14561
  }
14561
14562
  if (v === f.value.length - 1) {
14562
- const R = y.slice();
14563
- p.push(R);
14563
+ const B = y.slice();
14564
+ p.push(B);
14564
14565
  }
14565
14566
  });
14566
14567
  let b = 0;
14567
14568
  for (let z = 0; z < 6; z++) {
14568
14569
  const v = p[z] ? [...p[z]] : [];
14569
14570
  if (v.length < 7)
14570
- for (let R = 0; R < 7; R++) {
14571
- if (v[R])
14571
+ for (let B = 0; B < 7; B++) {
14572
+ if (v[B])
14572
14573
  continue;
14573
14574
  b++;
14574
14575
  const O = d1(t.navigationDate).add(1, "month").date(b), H = o(O);
@@ -14585,21 +14586,21 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14585
14586
  p[z] = v;
14586
14587
  }
14587
14588
  return p;
14588
- }), m = Y(() => [...Array(4).keys()].map((b) => {
14589
+ }), m = W(() => [...Array(4).keys()].map((b) => {
14589
14590
  const z = b * 3;
14590
- return hu.slice(z, z + 3).map((R, S) => {
14591
+ return hu.slice(z, z + 3).map((B, S) => {
14591
14592
  const O = d1(t.navigationDate).month(z + S);
14592
14593
  return {
14593
- value: R,
14594
+ value: B,
14594
14595
  onClick: () => u(O.toDate())
14595
14596
  };
14596
14597
  });
14597
- })), g = Y(() => {
14598
+ })), g = W(() => {
14598
14599
  const z = Number(fu(t.navigationDate)) - 8, v = [];
14599
- for (let R = z; R < z + 16; R++)
14600
- v.push(R);
14601
- return [...Array(4).keys()].map((R) => {
14602
- const S = R * 4;
14600
+ for (let B = z; B < z + 16; B++)
14601
+ v.push(B);
14602
+ return [...Array(4).keys()].map((B) => {
14603
+ const S = B * 4;
14603
14604
  return v.slice(S, S + 4).map((H) => {
14604
14605
  const Z = d1(t.navigationDate).year(H).toDate();
14605
14606
  return {
@@ -14694,7 +14695,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14694
14695
  }), Vu = {
14695
14696
  key: 1,
14696
14697
  class: "input-require"
14697
- }, Ru = ["type", "value", "disabled", "placeholder"], Bu = ["type", "disabled", "placeholder"], Tu = {
14698
+ }, Bu = ["type", "value", "disabled", "placeholder"], Ru = ["type", "disabled", "placeholder"], Tu = {
14698
14699
  key: 2,
14699
14700
  class: "amc2-input-icons date"
14700
14701
  }, Hu = {
@@ -14729,7 +14730,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14729
14730
  date: "Date"
14730
14731
  }, l = e, s = e1(t.modelValue ?? ""), r = e1(s.value !== ""), o = e1(!1), u = e1(!1), c = e1(null), h = e1({}), f = e1([]), d = e1(!1), m = e1(null);
14731
14732
  let g = null;
14732
- const p = Y(() => t.type === "password" ? i.value ? "text" : "password" : t.type === "date" ? "text" : t.type ?? "text"), y = Y(() => i.value ? "eye-off" : "eye"), b = Y(() => t.clearable === !0 && t.modelValue !== "" && !t.disabled), z = Y(() => t.passwordControl && t.type === "password" && t.modelValue !== ""), v = Y(() => t.label && t.modelValue === "" ? "absolute" : "relative"), R = Y(() => t.label && t.modelValue === "" && t.iconName ? "left: 42px;" : ""), S = () => {
14733
+ const p = W(() => t.type === "password" ? i.value ? "text" : "password" : t.type === "date" ? "text" : t.type ?? "text"), y = W(() => i.value ? "eye-off" : "eye"), b = W(() => t.clearable === !0 && t.modelValue !== "" && !t.disabled), z = W(() => t.passwordControl && t.type === "password" && t.modelValue !== ""), v = W(() => t.label && t.modelValue === "" ? "absolute" : "relative"), B = W(() => t.label && t.modelValue === "" && t.iconName ? "left: 42px;" : ""), S = () => {
14733
14734
  if (!t.suggestions) return;
14734
14735
  const M = String(s.value).toLowerCase();
14735
14736
  f.value = t.suggestions.filter(
@@ -14761,7 +14762,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14761
14762
  }, Z = (M) => {
14762
14763
  const T = M.target;
14763
14764
  t.type === "date" && g ? (l("update:modelValue", g.value), s.value = g.value) : (l("update:modelValue", T.value), s.value = T.value), t.suggestions && (S(), d.value = !0);
14764
- }, W = (M) => {
14765
+ }, Q = (M) => {
14765
14766
  const T = M.toLocaleDateString("fr-FR", {
14766
14767
  day: "2-digit",
14767
14768
  month: "2-digit",
@@ -14784,9 +14785,9 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14784
14785
  return !isNaN(a1.getTime()) && a1.getFullYear() === $ && a1.getMonth() === F - 1 && a1.getDate() === T;
14785
14786
  }, k = () => {
14786
14787
  t.type === "date" && (o.value = !1, r.value = !1, g?.updateOptions({ lazy: !0 })), l("update:modelValue", "");
14787
- }, I = Y(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), V = () => {
14788
+ }, I = W(() => t.label !== void 0 && t.placeholder === void 0 && t.iconName === void 0 && (t.modelValue === "" || t.modelValue === void 0)), V = () => {
14788
14789
  i.value = !i.value;
14789
- }, B = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
14790
+ }, R = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
14790
14791
  return g0(() => {
14791
14792
  t.type === "date" && m.value && (g = _(m.value, {
14792
14793
  mask: "00/00/0000",
@@ -14821,7 +14822,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14821
14822
  ref_key: "dateInputWrapper",
14822
14823
  ref: c,
14823
14824
  class: J(["input-content", v.value]),
14824
- style: w1(R.value)
14825
+ style: w1(B.value)
14825
14826
  }, [
14826
14827
  M.type !== "date" ? (E(), x("input", {
14827
14828
  key: 0,
@@ -14830,23 +14831,23 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14830
14831
  type: p.value,
14831
14832
  value: s.value,
14832
14833
  disabled: M.disabled,
14833
- placeholder: B(),
14834
+ placeholder: R(),
14834
14835
  autocomplete: "off",
14835
14836
  onInput: Z,
14836
14837
  onFocus: j,
14837
14838
  onBlur: L
14838
- }, null, 40, Ru)) : (E(), x("input", {
14839
+ }, null, 40, Bu)) : (E(), x("input", {
14839
14840
  key: 1,
14840
14841
  ref_key: "inputRef",
14841
14842
  ref: m,
14842
14843
  type: p.value,
14843
14844
  disabled: M.disabled,
14844
- placeholder: B(),
14845
+ placeholder: R(),
14845
14846
  autocomplete: "off",
14846
14847
  onInput: Z,
14847
14848
  onFocus: j,
14848
14849
  onBlur: L
14849
- }, null, 40, Bu)),
14850
+ }, null, 40, Ru)),
14850
14851
  D("div", {
14851
14852
  class: J(["input-icon-container", {
14852
14853
  visible: r.value && (b.value || z.value || M.type === "date")
@@ -14882,7 +14883,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14882
14883
  key: 0,
14883
14884
  class: "datepicker-popup",
14884
14885
  style: w1(h.value),
14885
- "onUpdate:modelValue": W
14886
+ "onUpdate:modelValue": Q
14886
14887
  }, null, 8, ["style"])) : K("", !0)
14887
14888
  ]))
14888
14889
  ], 6)
@@ -14932,14 +14933,14 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14932
14933
  },
14933
14934
  emits: ["loadMore", "updateCheckItem", "updateCheckAll"],
14934
14935
  setup(a, { expose: e, emit: t }) {
14935
- 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 = Y(
14936
+ 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(
14936
14937
  () => i.headers.filter((L) => L.visibility.isShown)
14937
- ), p = Y(
14938
+ ), p = W(
14938
14939
  () => i.headers.filter((L) => {
14939
14940
  const G = xa(L.label), k = xa(c.value);
14940
14941
  return G.toLowerCase().includes(k.toLowerCase());
14941
14942
  })
14942
- ), y = Y(() => ({ gridColumn: `1 / ${g.value.length + (i.selection ? 2 : 1) + 1}` })), b = (L, G) => {
14943
+ ), y = W(() => ({ gridColumn: `1 / ${g.value.length + (i.selection ? 2 : 1) + 1}` })), b = (L, G) => {
14943
14944
  if (G === "ASC")
14944
14945
  switch (L) {
14945
14946
  case "string":
@@ -14963,7 +14964,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14963
14964
  n("updateCheckItem", L.id, L.isSelected);
14964
14965
  }, v = (L) => {
14965
14966
  n("updateCheckAll", L.target.checked);
14966
- }, R = Y(() => {
14967
+ }, B = W(() => {
14967
14968
  const L = d.value - h.value, G = L <= 0;
14968
14969
  return {
14969
14970
  isFullyVisible: G,
@@ -14986,12 +14987,12 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
14986
14987
  left: l.value.scrollWidth - l.value.clientWidth,
14987
14988
  behavior: "instant"
14988
14989
  });
14989
- }, W = () => {
14990
+ }, Q = () => {
14990
14991
  if (!s.value || !l.value) return;
14991
14992
  const L = s.value?.getBoundingClientRect(), G = l.value?.getBoundingClientRect();
14992
14993
  return L.top <= G.top + G.height + La;
14993
14994
  }, j = () => M3(() => {
14994
- W() && n("loadMore");
14995
+ Q() && n("loadMore");
14995
14996
  });
14996
14997
  return M1(() => i.hasMore, O, { flush: "post" }), M1(
14997
14998
  () => i.items,
@@ -15039,7 +15040,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15039
15040
  height: "18",
15040
15041
  width: "18"
15041
15042
  }),
15042
- k.filtered ? (E(), n1(B9, {
15043
+ k.filtered ? (E(), n1(R9, {
15043
15044
  key: 0,
15044
15045
  backgroundColor: "secondary"
15045
15046
  })) : K("", !0)
@@ -15100,7 +15101,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15100
15101
  key: k.key,
15101
15102
  class: "col-selection-option"
15102
15103
  }, [
15103
- D("div", Zu, t1(k1(R9)(k.label)), 1),
15104
+ D("div", Zu, t1(k1(B9)(k.label)), 1),
15104
15105
  c1(V9, {
15105
15106
  disabled: k.visibility?.isDisabled,
15106
15107
  modelValue: k.visibility.isShown,
@@ -15168,10 +15169,10 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15168
15169
  ]))), 256)),
15169
15170
  D("div", {
15170
15171
  class: J(["datagrid-tbody-cell datagrid-cell datagrid-cell__settings", {
15171
- "datagrid-cell__not-fully-visible": !R.value.isFullyVisible
15172
+ "datagrid-cell__not-fully-visible": !B.value.isFullyVisible
15172
15173
  }]),
15173
15174
  style: w1({
15174
- right: R.value.isFullyVisible ? 0 : `${R.value.offsetRight}px`
15175
+ right: B.value.isFullyVisible ? 0 : `${B.value.offsetRight}px`
15175
15176
  })
15176
15177
  }, [
15177
15178
  c1(ka, {
@@ -15232,15 +15233,15 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15232
15233
  },
15233
15234
  emits: ["update:modelValue"],
15234
15235
  setup(a, { emit: e }) {
15235
- const t = a, i = e, n = e1(""), l = Y({
15236
+ const t = a, i = e, n = e1(""), l = W({
15236
15237
  get: () => t.modelValue,
15237
15238
  set: (c) => i("update:modelValue", c)
15238
- }), s = (c) => l.value.some((h) => h.value === c), r = Y(() => {
15239
+ }), s = (c) => l.value.some((h) => h.value === c), r = W(() => {
15239
15240
  const c = n.value.toLowerCase();
15240
15241
  return t.options.filter(
15241
15242
  (h) => h.label.toString().toLowerCase().includes(c)
15242
15243
  );
15243
- }), o = Y({
15244
+ }), o = W({
15244
15245
  get: () => r.value.length > 0 && r.value.every(
15245
15246
  (c) => l.value.some((h) => h.value === c.value)
15246
15247
  ),
@@ -15365,7 +15366,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15365
15366
  },
15366
15367
  emits: ["update:modelValue"],
15367
15368
  setup(a, { emit: e }) {
15368
- const t = a, i = e, n = Y(() => ({
15369
+ const t = a, i = e, n = W(() => ({
15369
15370
  ...t.theme
15370
15371
  })), l = () => {
15371
15372
  t.disabled || i("update:modelValue", t.value);
@@ -15408,7 +15409,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15408
15409
  setup(a, { emit: e }) {
15409
15410
  const t = a, i = e, n = (s) => {
15410
15411
  t.disabled || i("update:modelValue", s);
15411
- }, l = Y(() => ({
15412
+ }, l = W(() => ({
15412
15413
  "--on-color": t.theme?.["amc2-segmented-button-on-color"],
15413
15414
  "--on-hover-color": t.theme?.["amc2-segmented-button-on-hover-color"],
15414
15415
  "--off-color": t.theme?.["amc2-segmented-button-off-color"],
@@ -15500,7 +15501,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15500
15501
  },
15501
15502
  emits: ["update:modelValue", "clear"],
15502
15503
  setup(a, { emit: e }) {
15503
- const t = a, i = e, n = Y(() => t.modelValue !== null);
15504
+ const t = a, i = e, n = W(() => t.modelValue !== null);
15504
15505
  function l() {
15505
15506
  i("update:modelValue", null), i("clear");
15506
15507
  }
@@ -15536,9 +15537,9 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15536
15537
  },
15537
15538
  emits: ["update:modelValue", "clearAll", "clear"],
15538
15539
  setup(a, { emit: e }) {
15539
- const t = a, i = e, n = e1(null), l = e1(null), s = e1(t.modelValue.length), r = Y(
15540
+ const t = a, i = e, n = e1(null), l = e1(null), s = e1(t.modelValue.length), r = W(
15540
15541
  () => t.modelValue.slice(0, s.value)
15541
- ), o = Y(() => t.modelValue.slice(s.value)), u = Y(() => !t.disabled && t.clearable && t.modelValue.length > 0);
15542
+ ), o = W(() => t.modelValue.slice(s.value)), u = W(() => !t.disabled && t.clearable && t.modelValue.length > 0);
15542
15543
  function c(d) {
15543
15544
  const m = [...t.modelValue], g = m[d];
15544
15545
  m.splice(d, 1), i("update:modelValue", m), i("clear", g);
@@ -15650,7 +15651,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15650
15651
  },
15651
15652
  emits: ["update:modelValue"],
15652
15653
  setup(a, { emit: e }) {
15653
- const t = a, i = e, n = e1(!1), l = Y({
15654
+ const t = a, i = e, n = e1(!1), l = W({
15654
15655
  get: () => t.modelValue,
15655
15656
  set: (d) => i("update:modelValue", d)
15656
15657
  }), s = e1(null), r = e1(null), o = e1({}), u = e1("down");
@@ -15749,7 +15750,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15749
15750
  ]))
15750
15751
  ], 2));
15751
15752
  }
15752
- }), Rd = { class: "side-menu" }, Bd = ["onClick"], Td = { class: "side-menu-item-label" }, Hd = { class: "side-menu-chevron-container" }, Ld = {
15753
+ }), Bd = { class: "side-menu" }, Rd = ["onClick"], Td = { class: "side-menu-item-label" }, Hd = { class: "side-menu-chevron-container" }, Ld = {
15753
15754
  key: 0,
15754
15755
  class: "side-menu-submenu"
15755
15756
  }, Od = ["onClick"], uh = /* @__PURE__ */ u1({
@@ -15767,7 +15768,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15767
15768
  }, l = (r) => {
15768
15769
  i.value = r.id, r.action?.();
15769
15770
  }, s = (r) => t.value.has(r.label);
15770
- return (r, o) => (E(), x("nav", Rd, [
15771
+ return (r, o) => (E(), x("nav", Bd, [
15771
15772
  (E(!0), x(y1, null, z1(e.items, (u) => (E(), x("li", {
15772
15773
  key: u.id,
15773
15774
  class: J({ "side-menu-item": !0, selected: u.id === i.value })
@@ -15793,7 +15794,7 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15793
15794
  iconName: "chevron-up"
15794
15795
  })) : K("", !0)
15795
15796
  ])
15796
- ], 8, Bd),
15797
+ ], 8, Rd),
15797
15798
  u.children && s(u) ? (E(), x("div", Ld, [
15798
15799
  (E(!0), x(y1, null, z1(u.children, (c) => (E(), x("li", {
15799
15800
  key: c.id,
@@ -15851,9 +15852,9 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15851
15852
  },
15852
15853
  emits: ["update:modelValue"],
15853
15854
  setup(a, { emit: e }) {
15854
- const t = a, i = e, n = Y(() => t.modelValue ?? !1), l = () => {
15855
+ const t = a, i = e, n = W(() => t.modelValue ?? !1), l = () => {
15855
15856
  t.disabled || i("update:modelValue", !n.value);
15856
- }, s = Y(() => ({ ...t.theme ?? {} }));
15857
+ }, s = W(() => ({ ...t.theme ?? {} }));
15857
15858
  return (r, o) => (E(), x("div", {
15858
15859
  style: w1(s.value),
15859
15860
  class: J(["amc2-advanced-toggle-container", { disabled: r.disabled }])
@@ -15962,13 +15963,13 @@ const pu = { class: "datepicker-navigation-container" }, vu = { class: "datepick
15962
15963
  isLoading: { type: Boolean }
15963
15964
  },
15964
15965
  setup(a) {
15965
- const e = Ua(), t = Y(() => {
15966
+ const e = Ua(), t = W(() => {
15966
15967
  const l = e.header?.();
15967
15968
  return !(l && l?.length > 0);
15968
- }), i = Y(() => {
15969
+ }), i = W(() => {
15969
15970
  const l = e.body?.();
15970
15971
  return !(l && l?.length > 0);
15971
- }), n = Y(() => {
15972
+ }), n = W(() => {
15972
15973
  const l = e.footer?.();
15973
15974
  return !(l && l?.length > 0);
15974
15975
  });
@@ -16578,7 +16579,7 @@ export {
16578
16579
  uh as SideMenu,
16579
16580
  s1 as SvgIcon,
16580
16581
  dh as TabBar,
16581
- B9 as TagBase,
16582
+ R9 as TagBase,
16582
16583
  fh as ToastBase,
16583
16584
  hh as ToggleAdvanced,
16584
16585
  V9 as ToggleBase,