@rebilly/revel 8.6.3 → 8.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/revel.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { reactive as l2, computed as u, defineComponent as M0, ref as O0, watch as S0, onMounted as B1, onUnmounted as $b, toRefs as SM, nextTick as L1, createBlock as t0, renderSlot as j, unref as l, openBlock as d, resolveDynamicComponent as Cb, normalizeProps as j2, mergeProps as V0, inject as k0, toRef as sM, normalizeClass as I, withCtx as c0, createVNode as H, createElementVNode as w, createElementBlock as R, createCommentVNode as E, toDisplayString as F, Fragment as r0, renderList as w0, normalizeStyle as s1, withKeys as D0, withDirectives as I0, watchEffect as X3, provide as _0, guardReactiveProps as qb, createTextVNode as y0, isRef as D2, resolveComponent as C0, resolveDirective as aO, toHandlers as qM, withModifiers as B0, Transition as a2, vShow as H1, useAttrs as w3, useSlots as T3, onBeforeUnmount as $3, vModelText as nO, onBeforeMount as AO, h as rO, render as iO } from "vue";
1
+ import { reactive as l2, computed as u, defineComponent as M0, ref as O0, watch as S0, onMounted as B1, onUnmounted as $b, toRefs as SM, nextTick as L1, createBlock as c0, renderSlot as Y, unref as l, openBlock as d, resolveDynamicComponent as Cb, normalizeProps as j2, mergeProps as V0, inject as k0, toRef as sM, normalizeClass as V, withCtx as t0, createVNode as H, createElementVNode as w, createElementBlock as R, createCommentVNode as E, toDisplayString as F, Fragment as r0, renderList as w0, normalizeStyle as s1, withKeys as D0, withDirectives as I0, watchEffect as X3, provide as _0, guardReactiveProps as qb, createTextVNode as y0, isRef as D2, resolveComponent as C0, resolveDirective as aO, toHandlers as qM, withModifiers as B0, Transition as a2, vShow as H1, useAttrs as w3, useSlots as T3, onBeforeUnmount as $3, vModelText as nO, onBeforeMount as AO, h as rO, render as iO } from "vue";
2
2
  import A0 from "moment";
3
3
  var K0 = "top", o1 = "bottom", e1 = "right", G0 = "left", Db = "auto", J2 = [K0, o1, e1, G0], n2 = "start", K2 = "end", sO = "clippingParents", C3 = "viewport", S2 = "popper", qO = "reference", Lz = /* @__PURE__ */ J2.reduce(function(M, b) {
4
4
  return M.concat([b + "-" + n2, b + "-" + K2]);
@@ -208,8 +208,8 @@ var TO = function(b, z) {
208
208
  function $O(M) {
209
209
  var b, z = M.state, p = M.name, o = M.options, e = z.elements.arrow, O = z.modifiersData.popperOffsets, c = q1(z.placement), a = kb(c), t = [G0, e1].indexOf(c) >= 0, n = t ? "height" : "width";
210
210
  if (!(!e || !O)) {
211
- var A = TO(o.padding, z), r = Eb(e), i = a === "y" ? K0 : G0, W = a === "y" ? o1 : e1, m = z.rects.reference[n] + z.rects.reference[a] - O[a] - z.rects.popper[n], f = O[a] - z.rects.reference[a], L = MM(e), T = L ? a === "y" ? L.clientHeight || 0 : L.clientWidth || 0 : 0, V = m / 2 - f / 2, v = A[i], h = T - r[n] - A[W], $ = T / 2 - r[n] / 2 + V, k = Y2(v, $, h), X = a;
212
- z.modifiersData[p] = (b = {}, b[X] = k, b.centerOffset = k - $, b);
211
+ var A = TO(o.padding, z), r = Eb(e), i = a === "y" ? K0 : G0, W = a === "y" ? o1 : e1, m = z.rects.reference[n] + z.rects.reference[a] - O[a] - z.rects.popper[n], f = O[a] - z.rects.reference[a], L = MM(e), $ = L ? a === "y" ? L.clientHeight || 0 : L.clientWidth || 0 : 0, I = m / 2 - f / 2, v = A[i], h = $ - r[n] - A[W], T = $ / 2 - r[n] / 2 + I, k = Y2(v, T, h), X = a;
212
+ z.modifiersData[p] = (b = {}, b[X] = k, b.centerOffset = k - T, b);
213
213
  }
214
214
  }
215
215
  function CO(M) {
@@ -250,40 +250,40 @@ function hz(M) {
250
250
  y: m
251
251
  };
252
252
  i = f.x, m = f.y;
253
- var L = O.hasOwnProperty("x"), T = O.hasOwnProperty("y"), V = G0, v = K0, h = window;
253
+ var L = O.hasOwnProperty("x"), $ = O.hasOwnProperty("y"), I = G0, v = K0, h = window;
254
254
  if (t) {
255
- var $ = MM(z), k = "clientHeight", X = "clientWidth";
256
- if ($ === J0(z) && ($ = x1(z), h1($).position !== "static" && c === "absolute" && (k = "scrollHeight", X = "scrollWidth")), $ = $, o === K0 || (o === G0 || o === e1) && e === K2) {
255
+ var T = MM(z), k = "clientHeight", X = "clientWidth";
256
+ if (T === J0(z) && (T = x1(z), h1(T).position !== "static" && c === "absolute" && (k = "scrollHeight", X = "scrollWidth")), T = T, o === K0 || (o === G0 || o === e1) && e === K2) {
257
257
  v = o1;
258
- var x = A && $ === h && h.visualViewport ? h.visualViewport.height : (
258
+ var U = A && T === h && h.visualViewport ? h.visualViewport.height : (
259
259
  // $FlowFixMe[prop-missing]
260
- $[k]
260
+ T[k]
261
261
  );
262
- m -= x - p.height, m *= a ? 1 : -1;
262
+ m -= U - p.height, m *= a ? 1 : -1;
263
263
  }
264
264
  if (o === G0 || (o === K0 || o === o1) && e === K2) {
265
- V = e1;
266
- var Y = A && $ === h && h.visualViewport ? h.visualViewport.width : (
265
+ I = e1;
266
+ var Q = A && T === h && h.visualViewport ? h.visualViewport.width : (
267
267
  // $FlowFixMe[prop-missing]
268
- $[X]
268
+ T[X]
269
269
  );
270
- i -= Y - p.width, i *= a ? 1 : -1;
270
+ i -= Q - p.width, i *= a ? 1 : -1;
271
271
  }
272
272
  }
273
- var Q = Object.assign({
273
+ var P = Object.assign({
274
274
  position: c
275
- }, t && SO), _ = n === !0 ? EO({
275
+ }, t && SO), x = n === !0 ? EO({
276
276
  x: i,
277
277
  y: m
278
278
  }, J0(z)) : {
279
279
  x: i,
280
280
  y: m
281
281
  };
282
- if (i = _.x, m = _.y, a) {
283
- var Z;
284
- return Object.assign({}, Q, (Z = {}, Z[v] = T ? "0" : "", Z[V] = L ? "0" : "", Z.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + i + "px, " + m + "px)" : "translate3d(" + i + "px, " + m + "px, 0)", Z));
282
+ if (i = x.x, m = x.y, a) {
283
+ var j;
284
+ return Object.assign({}, P, (j = {}, j[v] = $ ? "0" : "", j[I] = L ? "0" : "", j.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + i + "px, " + m + "px)" : "translate3d(" + i + "px, " + m + "px, 0)", j));
285
285
  }
286
- return Object.assign({}, Q, (b = {}, b[v] = T ? m + "px" : "", b[V] = L ? i + "px" : "", b.transform = "", b));
286
+ return Object.assign({}, P, (b = {}, b[v] = $ ? m + "px" : "", b[I] = L ? i + "px" : "", b.transform = "", b));
287
287
  }
288
288
  function kO(M) {
289
289
  var b = M.state, z = M.options, p = z.gpuAcceleration, o = p === void 0 ? !0 : p, e = z.adaptive, O = e === void 0 ? !0 : e, c = z.roundOffsets, a = c === void 0 ? !0 : c, t = {
@@ -483,24 +483,24 @@ function I3(M) {
483
483
  }
484
484
  function G2(M, b) {
485
485
  b === void 0 && (b = {});
486
- var z = b, p = z.placement, o = p === void 0 ? M.placement : p, e = z.strategy, O = e === void 0 ? M.strategy : e, c = z.boundary, a = c === void 0 ? sO : c, t = z.rootBoundary, n = t === void 0 ? C3 : t, A = z.elementContext, r = A === void 0 ? S2 : A, i = z.altBoundary, W = i === void 0 ? !1 : i, m = z.padding, f = m === void 0 ? 0 : m, L = x3(typeof f != "number" ? f : P3(f, J2)), T = r === S2 ? qO : S2, V = M.rects.popper, v = M.elements[W ? T : r], h = UO(Y1(v) ? v : v.contextElement || x1(M.elements.popper), a, n, O), $ = r2(M.elements.reference), k = I3({
487
- reference: $,
488
- element: V,
486
+ var z = b, p = z.placement, o = p === void 0 ? M.placement : p, e = z.strategy, O = e === void 0 ? M.strategy : e, c = z.boundary, a = c === void 0 ? sO : c, t = z.rootBoundary, n = t === void 0 ? C3 : t, A = z.elementContext, r = A === void 0 ? S2 : A, i = z.altBoundary, W = i === void 0 ? !1 : i, m = z.padding, f = m === void 0 ? 0 : m, L = x3(typeof f != "number" ? f : P3(f, J2)), $ = r === S2 ? qO : S2, I = M.rects.popper, v = M.elements[W ? $ : r], h = UO(Y1(v) ? v : v.contextElement || x1(M.elements.popper), a, n, O), T = r2(M.elements.reference), k = I3({
487
+ reference: T,
488
+ element: I,
489
489
  placement: o
490
- }), X = lb(Object.assign({}, V, k)), x = r === S2 ? X : $, Y = {
491
- top: h.top - x.top + L.top,
492
- bottom: x.bottom - h.bottom + L.bottom,
493
- left: h.left - x.left + L.left,
494
- right: x.right - h.right + L.right
495
- }, Q = M.modifiersData.offset;
496
- if (r === S2 && Q) {
497
- var _ = Q[o];
498
- Object.keys(Y).forEach(function(Z) {
499
- var a0 = [e1, o1].indexOf(Z) >= 0 ? 1 : -1, G = [K0, o1].indexOf(Z) >= 0 ? "y" : "x";
500
- Y[Z] += _[G] * a0;
490
+ }), X = lb(Object.assign({}, I, k)), U = r === S2 ? X : T, Q = {
491
+ top: h.top - U.top + L.top,
492
+ bottom: U.bottom - h.bottom + L.bottom,
493
+ left: h.left - U.left + L.left,
494
+ right: U.right - h.right + L.right
495
+ }, P = M.modifiersData.offset;
496
+ if (r === S2 && P) {
497
+ var x = P[o];
498
+ Object.keys(Q).forEach(function(j) {
499
+ var a0 = [e1, o1].indexOf(j) >= 0 ? 1 : -1, Z = [K0, o1].indexOf(j) >= 0 ? "y" : "x";
500
+ Q[j] += x[Z] * a0;
501
501
  });
502
502
  }
503
- return Y;
503
+ return Q;
504
504
  }
505
505
  function KO(M, b) {
506
506
  b === void 0 && (b = {});
@@ -531,7 +531,7 @@ function GO(M) {
531
531
  function ZO(M) {
532
532
  var b = M.state, z = M.options, p = M.name;
533
533
  if (!b.modifiersData[p]._skip) {
534
- for (var o = z.mainAxis, e = o === void 0 ? !0 : o, O = z.altAxis, c = O === void 0 ? !0 : O, a = z.fallbackPlacements, t = z.padding, n = z.boundary, A = z.rootBoundary, r = z.altBoundary, i = z.flipVariations, W = i === void 0 ? !0 : i, m = z.allowedAutoPlacements, f = b.options.placement, L = q1(f), T = L === f, V = a || (T || !W ? [dM(f)] : GO(f)), v = [f].concat(V).reduce(function(i0, g0) {
534
+ for (var o = z.mainAxis, e = o === void 0 ? !0 : o, O = z.altAxis, c = O === void 0 ? !0 : O, a = z.fallbackPlacements, t = z.padding, n = z.boundary, A = z.rootBoundary, r = z.altBoundary, i = z.flipVariations, W = i === void 0 ? !0 : i, m = z.allowedAutoPlacements, f = b.options.placement, L = q1(f), $ = L === f, I = a || ($ || !W ? [dM(f)] : GO(f)), v = [f].concat(I).reduce(function(i0, g0) {
535
535
  return i0.concat(q1(g0) === Db ? KO(b, {
536
536
  placement: g0,
537
537
  boundary: n,
@@ -540,23 +540,23 @@ function ZO(M) {
540
540
  flipVariations: W,
541
541
  allowedAutoPlacements: m
542
542
  }) : g0);
543
- }, []), h = b.rects.reference, $ = b.rects.popper, k = /* @__PURE__ */ new Map(), X = !0, x = v[0], Y = 0; Y < v.length; Y++) {
544
- var Q = v[Y], _ = q1(Q), Z = i2(Q) === n2, a0 = [K0, o1].indexOf(_) >= 0, G = a0 ? "width" : "height", z0 = G2(b, {
545
- placement: Q,
543
+ }, []), h = b.rects.reference, T = b.rects.popper, k = /* @__PURE__ */ new Map(), X = !0, U = v[0], Q = 0; Q < v.length; Q++) {
544
+ var P = v[Q], x = q1(P), j = i2(P) === n2, a0 = [K0, o1].indexOf(x) >= 0, Z = a0 ? "width" : "height", z0 = G2(b, {
545
+ placement: P,
546
546
  boundary: n,
547
547
  rootBoundary: A,
548
548
  altBoundary: r,
549
549
  padding: t
550
- }), q0 = a0 ? Z ? e1 : G0 : Z ? o1 : K0;
551
- h[G] > $[G] && (q0 = dM(q0));
550
+ }), q0 = a0 ? j ? e1 : G0 : j ? o1 : K0;
551
+ h[Z] > T[Z] && (q0 = dM(q0));
552
552
  var T0 = dM(q0), W0 = [];
553
- if (e && W0.push(z0[_] <= 0), c && W0.push(z0[q0] <= 0, z0[T0] <= 0), W0.every(function(i0) {
553
+ if (e && W0.push(z0[x] <= 0), c && W0.push(z0[q0] <= 0, z0[T0] <= 0), W0.every(function(i0) {
554
554
  return i0;
555
555
  })) {
556
- x = Q, X = !1;
556
+ U = P, X = !1;
557
557
  break;
558
558
  }
559
- k.set(Q, W0);
559
+ k.set(P, W0);
560
560
  }
561
561
  if (X)
562
562
  for (var D = W ? 3 : 1, n0 = function(g0) {
@@ -568,12 +568,12 @@ function ZO(M) {
568
568
  });
569
569
  });
570
570
  if (L0)
571
- return x = L0, "break";
572
- }, U = D; U > 0; U--) {
573
- var X0 = n0(U);
571
+ return U = L0, "break";
572
+ }, K = D; K > 0; K--) {
573
+ var X0 = n0(K);
574
574
  if (X0 === "break") break;
575
575
  }
576
- b.placement !== x && (b.modifiersData[p]._skip = !0, b.placement = x, b.reset = !0);
576
+ b.placement !== U && (b.modifiersData[p]._skip = !0, b.placement = U, b.reset = !0);
577
577
  }
578
578
  }
579
579
  const QO = {
@@ -674,31 +674,31 @@ function cc(M) {
674
674
  rootBoundary: t,
675
675
  padding: A,
676
676
  altBoundary: n
677
- }), L = q1(b.placement), T = i2(b.placement), V = !T, v = kb(L), h = Oc(v), $ = b.modifiersData.popperOffsets, k = b.rects.reference, X = b.rects.popper, x = typeof m == "function" ? m(Object.assign({}, b.rects, {
677
+ }), L = q1(b.placement), $ = i2(b.placement), I = !$, v = kb(L), h = Oc(v), T = b.modifiersData.popperOffsets, k = b.rects.reference, X = b.rects.popper, U = typeof m == "function" ? m(Object.assign({}, b.rects, {
678
678
  placement: b.placement
679
- })) : m, Y = typeof x == "number" ? {
680
- mainAxis: x,
681
- altAxis: x
679
+ })) : m, Q = typeof U == "number" ? {
680
+ mainAxis: U,
681
+ altAxis: U
682
682
  } : Object.assign({
683
683
  mainAxis: 0,
684
684
  altAxis: 0
685
- }, x), Q = b.modifiersData.offset ? b.modifiersData.offset[b.placement] : null, _ = {
685
+ }, U), P = b.modifiersData.offset ? b.modifiersData.offset[b.placement] : null, x = {
686
686
  x: 0,
687
687
  y: 0
688
688
  };
689
- if ($) {
689
+ if (T) {
690
690
  if (e) {
691
- var Z, a0 = v === "y" ? K0 : G0, G = v === "y" ? o1 : e1, z0 = v === "y" ? "height" : "width", q0 = $[v], T0 = q0 + f[a0], W0 = q0 - f[G], D = i ? -X[z0] / 2 : 0, n0 = T === n2 ? k[z0] : X[z0], U = T === n2 ? -X[z0] : -k[z0], X0 = b.elements.arrow, i0 = i && X0 ? Eb(X0) : {
691
+ var j, a0 = v === "y" ? K0 : G0, Z = v === "y" ? o1 : e1, z0 = v === "y" ? "height" : "width", q0 = T[v], T0 = q0 + f[a0], W0 = q0 - f[Z], D = i ? -X[z0] / 2 : 0, n0 = $ === n2 ? k[z0] : X[z0], K = $ === n2 ? -X[z0] : -k[z0], X0 = b.elements.arrow, i0 = i && X0 ? Eb(X0) : {
692
692
  width: 0,
693
693
  height: 0
694
- }, g0 = b.modifiersData["arrow#persistent"] ? b.modifiersData["arrow#persistent"].padding : k3(), L0 = g0[a0], b0 = g0[G], d0 = Y2(0, k[z0], i0[z0]), x0 = V ? k[z0] / 2 - D - d0 - L0 - Y.mainAxis : n0 - d0 - L0 - Y.mainAxis, M1 = V ? -k[z0] / 2 + D + d0 + b0 + Y.mainAxis : U + d0 + b0 + Y.mainAxis, Z0 = b.elements.arrow && MM(b.elements.arrow), E0 = Z0 ? v === "y" ? Z0.clientTop || 0 : Z0.clientLeft || 0 : 0, q = (Z = Q?.[v]) != null ? Z : 0, B = q0 + x0 - q - E0, N = q0 + M1 - q, S = Y2(i ? LM(T0, B) : T0, q0, i ? j1(W0, N) : W0);
695
- $[v] = S, _[v] = S - q0;
694
+ }, g0 = b.modifiersData["arrow#persistent"] ? b.modifiersData["arrow#persistent"].padding : k3(), L0 = g0[a0], b0 = g0[Z], d0 = Y2(0, k[z0], i0[z0]), x0 = I ? k[z0] / 2 - D - d0 - L0 - Q.mainAxis : n0 - d0 - L0 - Q.mainAxis, M1 = I ? -k[z0] / 2 + D + d0 + b0 + Q.mainAxis : K + d0 + b0 + Q.mainAxis, Z0 = b.elements.arrow && MM(b.elements.arrow), E0 = Z0 ? v === "y" ? Z0.clientTop || 0 : Z0.clientLeft || 0 : 0, q = (j = P?.[v]) != null ? j : 0, B = q0 + x0 - q - E0, N = q0 + M1 - q, S = Y2(i ? LM(T0, B) : T0, q0, i ? j1(W0, N) : W0);
695
+ T[v] = S, x[v] = S - q0;
696
696
  }
697
697
  if (c) {
698
- var J, e0 = v === "x" ? K0 : G0, l0 = v === "x" ? o1 : e1, o0 = $[h], s0 = h === "y" ? "height" : "width", f1 = o0 + f[e0], X1 = o0 - f[l0], w1 = [K0, G0].indexOf(L) !== -1, T1 = (J = Q?.[h]) != null ? J : 0, $1 = w1 ? f1 : o0 - k[s0] - X[s0] - T1 + Y.altAxis, _1 = w1 ? o0 + k[s0] + X[s0] - T1 - Y.altAxis : X1, M2 = i && w1 ? wO($1, o0, _1) : Y2(i ? $1 : f1, o0, i ? _1 : X1);
699
- $[h] = M2, _[h] = M2 - o0;
698
+ var J, e0 = v === "x" ? K0 : G0, l0 = v === "x" ? o1 : e1, o0 = T[h], s0 = h === "y" ? "height" : "width", f1 = o0 + f[e0], X1 = o0 - f[l0], w1 = [K0, G0].indexOf(L) !== -1, T1 = (J = P?.[h]) != null ? J : 0, $1 = w1 ? f1 : o0 - k[s0] - X[s0] - T1 + Q.altAxis, _1 = w1 ? o0 + k[s0] + X[s0] - T1 - Q.altAxis : X1, M2 = i && w1 ? wO($1, o0, _1) : Y2(i ? $1 : f1, o0, i ? _1 : X1);
699
+ T[h] = M2, x[h] = M2 - o0;
700
700
  }
701
- b.modifiersData[p] = _;
701
+ b.modifiersData[p] = x;
702
702
  }
703
703
  }
704
704
  const tc = {
@@ -818,13 +818,13 @@ function lc(M) {
818
818
  }, A = [], r = !1, i = {
819
819
  state: n,
820
820
  setOptions: function(L) {
821
- var T = typeof L == "function" ? L(n.options) : L;
822
- m(), n.options = Object.assign({}, e, n.options, T), n.scrollParents = {
821
+ var $ = typeof L == "function" ? L(n.options) : L;
822
+ m(), n.options = Object.assign({}, e, n.options, $), n.scrollParents = {
823
823
  reference: Y1(c) ? U2(c) : c.contextElement ? U2(c.contextElement) : [],
824
824
  popper: U2(a)
825
825
  };
826
- var V = sc(dc([].concat(p, n.options.modifiers)));
827
- return n.orderedModifiers = V.filter(function(v) {
826
+ var I = sc(dc([].concat(p, n.options.modifiers)));
827
+ return n.orderedModifiers = I.filter(function(v) {
828
828
  return v.enabled;
829
829
  }), W(), i.update();
830
830
  },
@@ -835,24 +835,24 @@ function lc(M) {
835
835
  // prefer the async Popper#update method
836
836
  forceUpdate: function() {
837
837
  if (!r) {
838
- var L = n.elements, T = L.reference, V = L.popper;
839
- if (Xz(T, V)) {
838
+ var L = n.elements, $ = L.reference, I = L.popper;
839
+ if (Xz($, I)) {
840
840
  n.rects = {
841
- reference: rc(T, MM(V), n.options.strategy === "fixed"),
842
- popper: Eb(V)
843
- }, n.reset = !1, n.placement = n.options.placement, n.orderedModifiers.forEach(function(Y) {
844
- return n.modifiersData[Y.name] = Object.assign({}, Y.data);
841
+ reference: rc($, MM(I), n.options.strategy === "fixed"),
842
+ popper: Eb(I)
843
+ }, n.reset = !1, n.placement = n.options.placement, n.orderedModifiers.forEach(function(Q) {
844
+ return n.modifiersData[Q.name] = Object.assign({}, Q.data);
845
845
  });
846
846
  for (var v = 0; v < n.orderedModifiers.length; v++) {
847
847
  if (n.reset === !0) {
848
848
  n.reset = !1, v = -1;
849
849
  continue;
850
850
  }
851
- var h = n.orderedModifiers[v], $ = h.fn, k = h.options, X = k === void 0 ? {} : k, x = h.name;
852
- typeof $ == "function" && (n = $({
851
+ var h = n.orderedModifiers[v], T = h.fn, k = h.options, X = k === void 0 ? {} : k, U = h.name;
852
+ typeof T == "function" && (n = T({
853
853
  state: n,
854
854
  options: X,
855
- name: x,
855
+ name: U,
856
856
  instance: i
857
857
  }) || n);
858
858
  }
@@ -877,16 +877,16 @@ function lc(M) {
877
877
  });
878
878
  function W() {
879
879
  n.orderedModifiers.forEach(function(f) {
880
- var L = f.name, T = f.options, V = T === void 0 ? {} : T, v = f.effect;
880
+ var L = f.name, $ = f.options, I = $ === void 0 ? {} : $, v = f.effect;
881
881
  if (typeof v == "function") {
882
882
  var h = v({
883
883
  state: n,
884
884
  name: L,
885
885
  instance: i,
886
- options: V
887
- }), $ = function() {
886
+ options: I
887
+ }), T = function() {
888
888
  };
889
- A.push(h || $);
889
+ A.push(h || T);
890
890
  }
891
891
  });
892
892
  }
@@ -900,7 +900,7 @@ function lc(M) {
900
900
  }
901
901
  var uc = [_O, ec, xO, NO, pc, QO, tc, DO, Mc], Wc = /* @__PURE__ */ lc({
902
902
  defaultModifiers: uc
903
- }), fc = Object.defineProperty, Rc = (M, b, z) => b in M ? fc(M, b, { enumerable: !0, configurable: !0, writable: !0, value: z }) : M[b] = z, K = (M, b, z) => (Rc(M, typeof b != "symbol" ? b + "" : b, z), z), nM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
903
+ }), fc = Object.defineProperty, Rc = (M, b, z) => b in M ? fc(M, b, { enumerable: !0, configurable: !0, writable: !0, value: z }) : M[b] = z, G = (M, b, z) => (Rc(M, typeof b != "symbol" ? b + "" : b, z), z), nM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
904
904
  function V3(M) {
905
905
  return M && M.__esModule && Object.prototype.hasOwnProperty.call(M, "default") ? M.default : M;
906
906
  }
@@ -1340,9 +1340,9 @@ function e4(M, b, z, p, o, e) {
1340
1340
  break;
1341
1341
  }
1342
1342
  if (i) {
1343
- if (!b4(b, function(L, T) {
1344
- if (!z4(i, T) && (W === L || o(W, L, z, p, e)))
1345
- return i.push(T);
1343
+ if (!b4(b, function(L, $) {
1344
+ if (!z4(i, $) && (W === L || o(W, L, z, p, e)))
1345
+ return i.push($);
1346
1346
  })) {
1347
1347
  r = !1;
1348
1348
  break;
@@ -1519,10 +1519,10 @@ function ri(M, b, z, p, o, e) {
1519
1519
  e.set(M, b), e.set(b, M);
1520
1520
  for (var f = O; ++A < a; ) {
1521
1521
  r = c[A];
1522
- var L = M[r], T = b[r];
1522
+ var L = M[r], $ = b[r];
1523
1523
  if (p)
1524
- var V = O ? p(T, L, r, b, M, e) : p(L, T, r, M, b, e);
1525
- if (!(V === void 0 ? L === T || o(L, T, z, p, e) : V)) {
1524
+ var I = O ? p($, L, r, b, M, e) : p(L, $, r, M, b, e);
1525
+ if (!(I === void 0 ? L === $ || o(L, $, z, p, e) : I)) {
1526
1526
  m = !1;
1527
1527
  break;
1528
1528
  }
@@ -2515,11 +2515,11 @@ function Gl({
2515
2515
  month: "short",
2516
2516
  day: "numeric"
2517
2517
  });
2518
- let L = b.numDays - A + 1, T = b.numDays - L + 1, V = Math.floor((L - 1) / P0 + 1), v = 1, h = b.numWeeks, $ = 1, k = b.month, X = b.year;
2519
- const x = /* @__PURE__ */ new Date(), Y = x.getDate(), Q = x.getMonth() + 1, _ = x.getFullYear();
2520
- for (let Z = 1; Z <= V6; Z++) {
2521
- for (let a0 = 1, G = e; a0 <= P0; a0++, G += G === P0 ? 1 - P0 : 1) {
2522
- r && G === O && (L = 1, T = M.numDays, V = Math.floor((L - 1) / P0 + 1), v = Math.floor((t - L) / P0 + 1), h = 1, $ = n, k = M.month, X = M.year, r = !1, i = !0);
2518
+ let L = b.numDays - A + 1, $ = b.numDays - L + 1, I = Math.floor((L - 1) / P0 + 1), v = 1, h = b.numWeeks, T = 1, k = b.month, X = b.year;
2519
+ const U = /* @__PURE__ */ new Date(), Q = U.getDate(), P = U.getMonth() + 1, x = U.getFullYear();
2520
+ for (let j = 1; j <= V6; j++) {
2521
+ for (let a0 = 1, Z = e; a0 <= P0; a0++, Z += Z === P0 ? 1 - P0 : 1) {
2522
+ r && Z === O && (L = 1, $ = M.numDays, I = Math.floor((L - 1) / P0 + 1), v = Math.floor((t - L) / P0 + 1), h = 1, T = n, k = M.month, X = M.year, r = !1, i = !0);
2523
2523
  const z0 = p.getDateFromParams(X, k, L, 0, 0, 0, 0), q0 = p.getDateFromParams(X, k, L, 12, 0, 0, 0), T0 = p.getDateFromParams(
2524
2524
  X,
2525
2525
  k,
@@ -2528,7 +2528,7 @@ function Gl({
2528
2528
  59,
2529
2529
  59,
2530
2530
  999
2531
- ), W0 = z0, D = `${u0(X, 4)}-${u0(k, 2)}-${u0(L, 2)}`, n0 = a0, U = P0 - a0, X0 = a[Z - 1], i0 = c[Z - 1], g0 = L === Y && k === Q && X === _, L0 = i && L === 1, b0 = i && L === t, d0 = Z === 1, x0 = Z === n, M1 = a0 === 1, Z0 = a0 === P0, E0 = Io(X, k, L);
2531
+ ), W0 = z0, D = `${u0(X, 4)}-${u0(k, 2)}-${u0(L, 2)}`, n0 = a0, K = P0 - a0, X0 = a[j - 1], i0 = c[j - 1], g0 = L === Q && k === P && X === x, L0 = i && L === 1, b0 = i && L === t, d0 = j === 1, x0 = j === n, M1 = a0 === 1, Z0 = a0 === P0, E0 = Io(X, k, L);
2532
2532
  o.push({
2533
2533
  locale: p,
2534
2534
  id: D,
@@ -2536,15 +2536,15 @@ function Gl({
2536
2536
  label: L.toString(),
2537
2537
  ariaLabel: f.format(new Date(X, k - 1, L)),
2538
2538
  day: L,
2539
- dayFromEnd: T,
2540
- weekday: G,
2539
+ dayFromEnd: $,
2540
+ weekday: Z,
2541
2541
  weekdayPosition: n0,
2542
- weekdayPositionFromEnd: U,
2543
- weekdayOrdinal: V,
2542
+ weekdayPositionFromEnd: K,
2543
+ weekdayOrdinal: I,
2544
2544
  weekdayOrdinalFromEnd: v,
2545
2545
  week: h,
2546
- weekFromEnd: $,
2547
- weekPosition: Z,
2546
+ weekFromEnd: T,
2547
+ weekPosition: j,
2548
2548
  weeknumber: X0,
2549
2549
  isoWeeknumber: i0,
2550
2550
  month: k,
@@ -2570,13 +2570,13 @@ function Gl({
2570
2570
  classes: [
2571
2571
  `id-${D}`,
2572
2572
  `day-${L}`,
2573
- `day-from-end-${T}`,
2574
- `weekday-${G}`,
2573
+ `day-from-end-${$}`,
2574
+ `weekday-${Z}`,
2575
2575
  `weekday-position-${n0}`,
2576
- `weekday-ordinal-${V}`,
2576
+ `weekday-ordinal-${I}`,
2577
2577
  `weekday-ordinal-from-end-${v}`,
2578
2578
  `week-${h}`,
2579
- `week-from-end-${$}`,
2579
+ `week-from-end-${T}`,
2580
2580
  {
2581
2581
  "is-today": g0,
2582
2582
  "is-first-day": L0,
@@ -2590,9 +2590,9 @@ function Gl({
2590
2590
  "on-right": Z0
2591
2591
  }
2592
2592
  ]
2593
- }), i && b0 ? (i = !1, W = !0, L = 1, T = t, V = 1, v = Math.floor((t - L) / P0 + 1), h = 1, $ = z.numWeeks, k = z.month, X = z.year) : (L++, T--, V = Math.floor((L - 1) / P0 + 1), v = Math.floor((t - L) / P0 + 1));
2593
+ }), i && b0 ? (i = !1, W = !0, L = 1, $ = t, I = 1, v = Math.floor((t - L) / P0 + 1), h = 1, T = z.numWeeks, k = z.month, X = z.year) : (L++, $--, I = Math.floor((L - 1) / P0 + 1), v = Math.floor((t - L) / P0 + 1));
2594
2594
  }
2595
- h++, $--;
2595
+ h++, T--;
2596
2596
  }
2597
2597
  return o;
2598
2598
  }
@@ -2741,7 +2741,7 @@ function o6(M, b) {
2741
2741
  }
2742
2742
  class Xp {
2743
2743
  constructor(b, z, p) {
2744
- K(this, "keys", []), K(this, "store", {}), this.size = b, this.createKey = z, this.createItem = p;
2744
+ G(this, "keys", []), G(this, "store", {}), this.size = b, this.createKey = z, this.createItem = p;
2745
2745
  }
2746
2746
  get(...b) {
2747
2747
  const z = this.createKey(...b);
@@ -2761,7 +2761,7 @@ class Xp {
2761
2761
  }
2762
2762
  class c2 {
2763
2763
  constructor(b, z = new wM()) {
2764
- K(this, "order"), K(this, "locale"), K(this, "start", null), K(this, "end", null), K(this, "repeat", null);
2764
+ G(this, "order"), G(this, "locale"), G(this, "start", null), G(this, "end", null), G(this, "repeat", null);
2765
2765
  var p;
2766
2766
  this.locale = z;
2767
2767
  const { start: o, end: e, span: O, order: c, repeat: a } = b;
@@ -2824,7 +2824,7 @@ class c2 {
2824
2824
  }
2825
2825
  class e6 {
2826
2826
  constructor() {
2827
- K(this, "records", {});
2827
+ G(this, "records", {});
2828
2828
  }
2829
2829
  render(b, z, p) {
2830
2830
  var o, e, O, c;
@@ -3062,7 +3062,7 @@ function X6(M, b) {
3062
3062
  }
3063
3063
  class wM {
3064
3064
  constructor(b = void 0, z) {
3065
- K(this, "id"), K(this, "daysInWeek"), K(this, "firstDayOfWeek"), K(this, "masks"), K(this, "timezone"), K(this, "hourLabels"), K(this, "dayNames"), K(this, "dayNamesShort"), K(this, "dayNamesShorter"), K(this, "dayNamesNarrow"), K(this, "monthNames"), K(this, "monthNamesShort"), K(this, "relativeTimeNames"), K(this, "amPm", ["am", "pm"]), K(this, "monthCache"), K(this, "pageCache");
3065
+ G(this, "id"), G(this, "daysInWeek"), G(this, "firstDayOfWeek"), G(this, "masks"), G(this, "timezone"), G(this, "hourLabels"), G(this, "dayNames"), G(this, "dayNamesShort"), G(this, "dayNamesShorter"), G(this, "dayNamesNarrow"), G(this, "monthNames"), G(this, "monthNamesShort"), G(this, "relativeTimeNames"), G(this, "amPm", ["am", "pm"]), G(this, "monthCache"), G(this, "pageCache");
3066
3066
  const { id: p, firstDayOfWeek: o, masks: e, monthCacheSize: O, pageCacheSize: c } = X6(b, g6.value);
3067
3067
  this.monthCache = new Xp(
3068
3068
  O,
@@ -3162,7 +3162,7 @@ class wM {
3162
3162
  var p2 = /* @__PURE__ */ ((M) => (M.Any = "any", M.All = "all", M))(p2 || {}), Co = /* @__PURE__ */ ((M) => (M.Days = "days", M.Weeks = "weeks", M.Months = "months", M.Years = "years", M))(Co || {}), Do = /* @__PURE__ */ ((M) => (M.Days = "days", M.Weekdays = "weekdays", M.Weeks = "weeks", M.Months = "months", M.Years = "years", M))(Do || {}), So = /* @__PURE__ */ ((M) => (M.OrdinalWeekdays = "ordinalWeekdays", M))(So || {});
3163
3163
  class w6 {
3164
3164
  constructor(b, z, p) {
3165
- K(this, "validated", !0), this.type = b, this.interval = z, this.from = p, this.from || (console.error(
3165
+ G(this, "validated", !0), this.type = b, this.interval = z, this.from = p, this.from || (console.error(
3166
3166
  'A valid "from" date is required for date interval rule. This rule will be skipped.'
3167
3167
  ), this.validated = !1);
3168
3168
  }
@@ -3186,7 +3186,7 @@ class w6 {
3186
3186
  }
3187
3187
  class m2 {
3188
3188
  constructor(b, z, p, o) {
3189
- K(this, "components", []), this.type = b, this.validator = p, this.getter = o, this.components = this.normalizeComponents(z);
3189
+ G(this, "components", []), this.type = b, this.validator = p, this.getter = o, this.components = this.normalizeComponents(z);
3190
3190
  }
3191
3191
  static create(b, z) {
3192
3192
  switch (b) {
@@ -3266,7 +3266,7 @@ class S6 extends m2 {
3266
3266
  }
3267
3267
  class E6 {
3268
3268
  constructor(b, z) {
3269
- K(this, "components"), this.type = b, this.components = this.normalizeComponents(z);
3269
+ G(this, "components"), this.type = b, this.components = this.normalizeComponents(z);
3270
3270
  }
3271
3271
  normalizeArrayConfig(b) {
3272
3272
  const z = [];
@@ -3321,7 +3321,7 @@ class E6 {
3321
3321
  }
3322
3322
  class k6 {
3323
3323
  constructor(b) {
3324
- K(this, "type", "function"), K(this, "validated", !0), this.fn = b, K1(b) || (console.error(
3324
+ G(this, "type", "function"), G(this, "validated", !0), this.fn = b, K1(b) || (console.error(
3325
3325
  "The function rule requires a valid function. This rule will be skipped."
3326
3326
  ), this.validated = !1);
3327
3327
  }
@@ -3331,7 +3331,7 @@ class k6 {
3331
3331
  }
3332
3332
  class TM {
3333
3333
  constructor(b, z = {}, p) {
3334
- K(this, "validated", !0), K(this, "config"), K(this, "type", p2.Any), K(this, "from"), K(this, "until"), K(this, "rules", []), K(this, "locale", new wM()), this.parent = p, z.locale && (this.locale = z.locale), this.config = b, K1(b) ? (this.type = p2.All, this.rules = [new k6(b)]) : p1(b) ? (this.type = p2.Any, this.rules = b.map((o) => new TM(o, z, this))) : m1(b) ? (this.type = p2.All, this.from = b.from ? this.locale.getDateParts(b.from) : p?.from, this.until = b.until ? this.locale.getDateParts(b.until) : p?.until, this.rules = this.getObjectRules(b)) : (console.error("Rule group configuration must be an object or an array."), this.validated = !1);
3334
+ G(this, "validated", !0), G(this, "config"), G(this, "type", p2.Any), G(this, "from"), G(this, "until"), G(this, "rules", []), G(this, "locale", new wM()), this.parent = p, z.locale && (this.locale = z.locale), this.config = b, K1(b) ? (this.type = p2.All, this.rules = [new k6(b)]) : p1(b) ? (this.type = p2.Any, this.rules = b.map((o) => new TM(o, z, this))) : m1(b) ? (this.type = p2.All, this.from = b.from ? this.locale.getDateParts(b.from) : p?.from, this.until = b.until ? this.locale.getDateParts(b.until) : p?.until, this.rules = this.getObjectRules(b)) : (console.error("Rule group configuration must be an object or an array."), this.validated = !1);
3335
3335
  }
3336
3336
  getObjectRules(b) {
3337
3337
  const z = [];
@@ -3654,7 +3654,7 @@ function Z6(M, b) {
3654
3654
  ), z.setMilliseconds(M.getMilliseconds()));
3655
3655
  const p = z.getMilliseconds(), o = z.getSeconds(), e = z.getMinutes(), O = z.getHours(), c = p + o * Eo + e * ko + O * xo, a = z.getMonth() + 1, t = z.getFullYear(), n = b.getMonthParts(a, t), A = z.getDate(), r = n.numDays - A + 1, i = z.getDay() + 1, W = Math.floor((A - 1) / 7 + 1), m = Math.floor((n.numDays - A) / 7 + 1), f = Math.ceil(
3656
3656
  (A + Math.abs(n.firstWeekday - n.firstDayOfWeek)) / 7
3657
- ), L = n.numWeeks - f + 1, T = n.weeknumbers[f], V = Io(t, a, A);
3657
+ ), L = n.numWeeks - f + 1, $ = n.weeknumbers[f], I = Io(t, a, A);
3658
3658
  return {
3659
3659
  milliseconds: p,
3660
3660
  seconds: o,
@@ -3668,12 +3668,12 @@ function Z6(M, b) {
3668
3668
  weekdayOrdinalFromEnd: m,
3669
3669
  week: f,
3670
3670
  weekFromEnd: L,
3671
- weeknumber: T,
3671
+ weeknumber: $,
3672
3672
  month: a,
3673
3673
  year: t,
3674
3674
  date: z,
3675
3675
  dateTime: z.getTime(),
3676
- dayIndex: V,
3676
+ dayIndex: I,
3677
3677
  timezoneOffset: 0,
3678
3678
  isValid: !0
3679
3679
  };
@@ -3860,7 +3860,7 @@ function cu(M, b, z) {
3860
3860
  let tu = 0;
3861
3861
  class jo {
3862
3862
  constructor(b, z, p) {
3863
- K(this, "key", ""), K(this, "hashcode", ""), K(this, "highlight", null), K(this, "content", null), K(this, "dot", null), K(this, "bar", null), K(this, "event", null), K(this, "popover", null), K(this, "customData", null), K(this, "ranges"), K(this, "hasRanges", !1), K(this, "order", 0), K(this, "pinPage", !1), K(this, "maxRepeatSpan", 0), K(this, "locale");
3863
+ G(this, "key", ""), G(this, "hashcode", ""), G(this, "highlight", null), G(this, "content", null), G(this, "dot", null), G(this, "bar", null), G(this, "event", null), G(this, "popover", null), G(this, "customData", null), G(this, "ranges"), G(this, "hasRanges", !1), G(this, "order", 0), G(this, "pinPage", !1), G(this, "maxRepeatSpan", 0), G(this, "locale");
3864
3864
  const { dates: o } = Object.assign(
3865
3865
  this,
3866
3866
  { hashcode: "", order: 0, pinPage: !1 },
@@ -4088,7 +4088,7 @@ function cz(M, b, z = du) {
4088
4088
  }
4089
4089
  class lu {
4090
4090
  constructor() {
4091
- K(this, "type", "highlight");
4091
+ G(this, "type", "highlight");
4092
4092
  }
4093
4093
  normalizeConfig(b, z) {
4094
4094
  return cz(b, z, {
@@ -4165,7 +4165,7 @@ class lu {
4165
4165
  }
4166
4166
  class tz {
4167
4167
  constructor(b, z) {
4168
- K(this, "type", ""), K(this, "collectionType", ""), this.type = b, this.collectionType = z;
4168
+ G(this, "type", ""), G(this, "collectionType", ""), this.type = b, this.collectionType = z;
4169
4169
  }
4170
4170
  normalizeConfig(b, z) {
4171
4171
  return cz(b, z);
@@ -4222,7 +4222,7 @@ class fu extends tz {
4222
4222
  }
4223
4223
  class Ru {
4224
4224
  constructor(b) {
4225
- K(this, "color"), K(this, "renderers", [
4225
+ G(this, "color"), G(this, "renderers", [
4226
4226
  new uu(),
4227
4227
  new lu(),
4228
4228
  new Wu(),
@@ -4380,20 +4380,20 @@ function mu(M, { slots: b, emit: z }) {
4380
4380
  color: m,
4381
4381
  displayMode: f,
4382
4382
  locale: L,
4383
- masks: T,
4384
- minDate: V,
4383
+ masks: $,
4384
+ minDate: I,
4385
4385
  maxDate: v,
4386
4386
  disabledAttribute: h,
4387
- disabledDates: $
4388
- } = Lu(M), k = u(() => M.rows * M.columns), X = u(() => M.step || k.value), x = u(() => mo(n.value) ?? null), Y = u(() => e2(n.value) ?? null), Q = u(
4389
- () => M.minPage || (V.value ? U(V.value) : null)
4390
- ), _ = u(
4391
- () => M.maxPage || (v.value ? U(v.value) : null)
4392
- ), Z = u(() => M.navVisibility), a0 = u(() => !!M.showWeeknumbers), G = u(() => !!M.showIsoWeeknumbers), z0 = u(() => t.value === "monthly"), q0 = u(() => t.value === "weekly"), T0 = u(() => t.value === "daily"), W0 = () => {
4387
+ disabledDates: T
4388
+ } = Lu(M), k = u(() => M.rows * M.columns), X = u(() => M.step || k.value), U = u(() => mo(n.value) ?? null), Q = u(() => e2(n.value) ?? null), P = u(
4389
+ () => M.minPage || (I.value ? K(I.value) : null)
4390
+ ), x = u(
4391
+ () => M.maxPage || (v.value ? K(v.value) : null)
4392
+ ), j = u(() => M.navVisibility), a0 = u(() => !!M.showWeeknumbers), Z = u(() => !!M.showIsoWeeknumbers), z0 = u(() => t.value === "monthly"), q0 = u(() => t.value === "weekly"), T0 = u(() => t.value === "daily"), W0 = () => {
4393
4393
  O.value = !0, z("transition-start");
4394
4394
  }, D = () => {
4395
4395
  O.value = !1, z("transition-end"), r && (r.resolve(!0), r = null);
4396
- }, n0 = (C, s, y = t.value) => To(C, s, y, L.value), U = (C) => wo(C, t.value, L.value), X0 = (C) => {
4396
+ }, n0 = (C, s, y = t.value) => To(C, s, y, L.value), K = (C) => wo(C, t.value, L.value), X0 = (C) => {
4397
4397
  !h.value || !x0.value || (C.isDisabled = x0.value.cellExists(
4398
4398
  h.value.key,
4399
4399
  C.dayIndex
@@ -4402,8 +4402,8 @@ function mu(M, { slots: b, emit: z }) {
4402
4402
  C.isFocusable = C.inMonth && C.day === e.value;
4403
4403
  }, g0 = (C, s) => {
4404
4404
  for (const y of C)
4405
- for (const P of y.days)
4406
- if (s(P) === !1)
4405
+ for (const _ of y.days)
4406
+ if (s(_) === !1)
4407
4407
  return;
4408
4408
  }, L0 = u(
4409
4409
  () => n.value.reduce((C, s) => (C.push(...s.viewDays), C), [])
@@ -4438,27 +4438,27 @@ function mu(M, { slots: b, emit: z }) {
4438
4438
  const y = b0.value.find((N0) => N0.pinPage) || b0.value[0];
4439
4439
  if (!y || !y.hasRanges)
4440
4440
  return null;
4441
- const [P] = y.ranges, p0 = ((C = P.start) == null ? void 0 : C.date) || ((s = P.end) == null ? void 0 : s.date);
4442
- return p0 ? U(p0) : null;
4441
+ const [_] = y.ranges, p0 = ((C = _.start) == null ? void 0 : C.date) || ((s = _.end) == null ? void 0 : s.date);
4442
+ return p0 ? K(p0) : null;
4443
4443
  }, q = () => {
4444
- if (i1(x.value))
4445
- return x.value;
4444
+ if (i1(U.value))
4445
+ return U.value;
4446
4446
  const C = E0();
4447
- return i1(C) ? C : U(/* @__PURE__ */ new Date());
4447
+ return i1(C) ? C : K(/* @__PURE__ */ new Date());
4448
4448
  }, B = (C, s = {}) => {
4449
- const { view: y = t.value, position: P = 1, force: p0 } = s, N0 = P > 0 ? 1 - P : -(k.value + P);
4449
+ const { view: y = t.value, position: _ = 1, force: p0 } = s, N0 = _ > 0 ? 1 - _ : -(k.value + _);
4450
4450
  let F0 = n0(C, N0, y), Q0 = n0(F0, k.value - 1, y);
4451
- return p0 || (hb(F0, Q.value) ? F0 = Q.value : XM(Q0, _.value) && (F0 = n0(_.value, 1 - k.value)), Q0 = n0(F0, k.value - 1)), { fromPage: F0, toPage: Q0 };
4451
+ return p0 || (hb(F0, P.value) ? F0 = P.value : XM(Q0, x.value) && (F0 = n0(x.value, 1 - k.value)), Q0 = n0(F0, k.value - 1)), { fromPage: F0, toPage: Q0 };
4452
4452
  }, N = (C, s, y = "") => {
4453
4453
  if (y === "none" || y === "fade")
4454
4454
  return y;
4455
4455
  if (C?.view !== s?.view)
4456
4456
  return "fade";
4457
- const P = XM(s, C), p0 = hb(s, C);
4458
- return !P && !p0 ? "fade" : y === "slide-v" ? p0 ? "slide-down" : "slide-up" : p0 ? "slide-right" : "slide-left";
4457
+ const _ = XM(s, C), p0 = hb(s, C);
4458
+ return !_ && !p0 ? "fade" : y === "slide-v" ? p0 ? "slide-down" : "slide-up" : p0 ? "slide-right" : "slide-left";
4459
4459
  }, S = (C = {}) => new Promise((s, y) => {
4460
- const { position: P = 1, force: p0 = !1, transition: N0 } = C, F0 = i1(C.page) ? C.page : q(), { fromPage: Q0 } = B(F0, {
4461
- position: P,
4460
+ const { position: _ = 1, force: p0 = !1, transition: N0 } = C, F0 = i1(C.page) ? C.page : q(), { fromPage: Q0 } = B(F0, {
4461
+ position: _,
4462
4462
  force: p0
4463
4463
  }), b2 = [];
4464
4464
  for (let z2 = 0; z2 < k.value; z2++) {
@@ -4475,7 +4475,7 @@ function mu(M, { slots: b, emit: z }) {
4475
4475
  column: $2,
4476
4476
  columnFromEnd: C2,
4477
4477
  showWeeknumbers: a0.value,
4478
- showIsoWeeknumbers: G.value,
4478
+ showIsoWeeknumbers: Z.value,
4479
4479
  weeknumberPosition: tO
4480
4480
  })
4481
4481
  );
@@ -4489,10 +4489,10 @@ function mu(M, { slots: b, emit: z }) {
4489
4489
  reject: y
4490
4490
  } : s(!0);
4491
4491
  }), J = (C) => {
4492
- const s = x.value ?? U(/* @__PURE__ */ new Date());
4492
+ const s = U.value ?? K(/* @__PURE__ */ new Date());
4493
4493
  return n0(s, C);
4494
4494
  }, e0 = (C, s = {}) => {
4495
- const y = i1(C) ? C : U(C);
4495
+ const y = i1(C) ? C : K(C);
4496
4496
  return Object.assign(
4497
4497
  s,
4498
4498
  B(y, {
@@ -4504,16 +4504,16 @@ function mu(M, { slots: b, emit: z }) {
4504
4504
  s.toPage,
4505
4505
  t.value,
4506
4506
  L.value
4507
- ).map((p0) => M6(p0, Q.value, _.value)).some((p0) => p0);
4508
- }, l0 = (C, s = {}) => e0(J(C), s), o0 = u(() => l0(-X.value)), s0 = u(() => l0(X.value)), f1 = async (C, s = {}) => !s.force && !e0(C, s) ? !1 : (s.fromPage && !b6(s.fromPage, x.value) && (Q2({ id: c.value, hideDelay: 0 }), s.view && (nu("view", 10), t.value = s.view), await S({
4507
+ ).map((p0) => M6(p0, P.value, x.value)).some((p0) => p0);
4508
+ }, l0 = (C, s = {}) => e0(J(C), s), o0 = u(() => l0(-X.value)), s0 = u(() => l0(X.value)), f1 = async (C, s = {}) => !s.force && !e0(C, s) ? !1 : (s.fromPage && !b6(s.fromPage, U.value) && (Q2({ id: c.value, hideDelay: 0 }), s.view && (nu("view", 10), t.value = s.view), await S({
4509
4509
  ...s,
4510
4510
  page: s.fromPage,
4511
4511
  position: 1,
4512
4512
  force: !0
4513
4513
  }), z("did-move", n.value)), !0), X1 = (C, s = {}) => f1(J(C), s), w1 = () => X1(-X.value), T1 = () => X1(X.value), $1 = (C) => {
4514
- const s = z0.value ? ".in-month" : "", y = `.id-${L.value.getDayId(C)}${s}`, P = `${y}.vc-focusable, ${y} .vc-focusable`, p0 = p.value;
4514
+ const s = z0.value ? ".in-month" : "", y = `.id-${L.value.getDayId(C)}${s}`, _ = `${y}.vc-focusable, ${y} .vc-focusable`, p0 = p.value;
4515
4515
  if (p0) {
4516
- const N0 = p0.querySelector(P);
4516
+ const N0 = p0.querySelector(_);
4517
4517
  if (N0)
4518
4518
  return N0.focus(), !0;
4519
4519
  }
@@ -4531,42 +4531,42 @@ function mu(M, { slots: b, emit: z }) {
4531
4531
  }, eM = (C, s) => {
4532
4532
  z("daykeydown", C, s);
4533
4533
  const y = C.noonDate;
4534
- let P = null;
4534
+ let _ = null;
4535
4535
  switch (s.key) {
4536
4536
  case "ArrowLeft": {
4537
- P = j0(y, -1);
4537
+ _ = j0(y, -1);
4538
4538
  break;
4539
4539
  }
4540
4540
  case "ArrowRight": {
4541
- P = j0(y, 1);
4541
+ _ = j0(y, 1);
4542
4542
  break;
4543
4543
  }
4544
4544
  case "ArrowUp": {
4545
- P = j0(y, -7);
4545
+ _ = j0(y, -7);
4546
4546
  break;
4547
4547
  }
4548
4548
  case "ArrowDown": {
4549
- P = j0(y, 7);
4549
+ _ = j0(y, 7);
4550
4550
  break;
4551
4551
  }
4552
4552
  case "Home": {
4553
- P = j0(y, -C.weekdayPosition + 1);
4553
+ _ = j0(y, -C.weekdayPosition + 1);
4554
4554
  break;
4555
4555
  }
4556
4556
  case "End": {
4557
- P = j0(y, C.weekdayPositionFromEnd);
4557
+ _ = j0(y, C.weekdayPositionFromEnd);
4558
4558
  break;
4559
4559
  }
4560
4560
  case "PageUp": {
4561
- s.altKey ? P = yp(y, -1) : P = yM(y, -1);
4561
+ s.altKey ? _ = yp(y, -1) : _ = yM(y, -1);
4562
4562
  break;
4563
4563
  }
4564
4564
  case "PageDown": {
4565
- s.altKey ? P = yp(y, 1) : P = yM(y, 1);
4565
+ s.altKey ? _ = yp(y, 1) : _ = yM(y, 1);
4566
4566
  break;
4567
4567
  }
4568
4568
  }
4569
- P && (s.preventDefault(), _1(P).catch());
4569
+ _ && (s.preventDefault(), _1(_).catch());
4570
4570
  }, bb = (C) => {
4571
4571
  const s = o.value;
4572
4572
  s != null && eM(s, C);
@@ -4628,28 +4628,28 @@ function mu(M, { slots: b, emit: z }) {
4628
4628
  color: m,
4629
4629
  displayMode: f,
4630
4630
  locale: L,
4631
- masks: T,
4631
+ masks: $,
4632
4632
  attributes: b0,
4633
4633
  disabledAttribute: h,
4634
- disabledDates: $,
4634
+ disabledDates: T,
4635
4635
  attributeContext: x0,
4636
4636
  days: L0,
4637
4637
  dayCells: M1,
4638
4638
  count: k,
4639
4639
  step: X,
4640
- firstPage: x,
4641
- lastPage: Y,
4640
+ firstPage: U,
4641
+ lastPage: Q,
4642
4642
  canMovePrev: o0,
4643
4643
  canMoveNext: s0,
4644
- minPage: Q,
4645
- maxPage: _,
4644
+ minPage: P,
4645
+ maxPage: x,
4646
4646
  isMonthly: z0,
4647
4647
  isWeekly: q0,
4648
4648
  isDaily: T0,
4649
- navVisibility: Z,
4649
+ navVisibility: j,
4650
4650
  showWeeknumbers: a0,
4651
- showIsoWeeknumbers: G,
4652
- getDateAddress: U,
4651
+ showIsoWeeknumbers: Z,
4652
+ getDateAddress: K,
4653
4653
  canMove: e0,
4654
4654
  canMoveBy: l0,
4655
4655
  move: f1,
@@ -4732,8 +4732,8 @@ const gu = M0({
4732
4732
  const D = O.direction === "left" || O.direction === "right";
4733
4733
  let n0 = "";
4734
4734
  if (O.placement) {
4735
- const U = O.placement.split("-");
4736
- U.length > 1 && (n0 = U[1]);
4735
+ const K = O.placement.split("-");
4736
+ K.length > 1 && (n0 = K[1]);
4737
4737
  }
4738
4738
  return ["start", "top", "left"].includes(n0) ? D ? "top" : "left" : ["end", "bottom", "right"].includes(n0) ? D ? "bottom" : "right" : D ? "middle" : "center";
4739
4739
  });
@@ -4772,17 +4772,17 @@ const gu = M0({
4772
4772
  O.isVisible || (O.force = !1), O.isVisible = !1;
4773
4773
  })));
4774
4774
  }
4775
- function T(D = {}) {
4775
+ function $(D = {}) {
4776
4776
  D.target != null && (O.isVisible && m(D.target) ? L(D) : f(D));
4777
4777
  }
4778
- function V(D) {
4778
+ function I(D) {
4779
4779
  if (!e)
4780
4780
  return;
4781
4781
  const n0 = e.state.elements.reference;
4782
4782
  if (!p.value || !n0)
4783
4783
  return;
4784
- const U = D.target;
4785
- lM(p.value, U) || lM(n0, U) || L({ force: !0 });
4784
+ const K = D.target;
4785
+ lM(p.value, K) || lM(n0, K) || L({ force: !0 });
4786
4786
  }
4787
4787
  function v(D) {
4788
4788
  (D.key === "Esc" || D.key === "Escape") && L();
@@ -4790,34 +4790,34 @@ const gu = M0({
4790
4790
  function h({ detail: D }) {
4791
4791
  !D.id || D.id !== M.id || f(D);
4792
4792
  }
4793
- function $({ detail: D }) {
4793
+ function T({ detail: D }) {
4794
4794
  !D.id || D.id !== M.id || L(D);
4795
4795
  }
4796
4796
  function k({ detail: D }) {
4797
- !D.id || D.id !== M.id || T(D);
4797
+ !D.id || D.id !== M.id || $(D);
4798
4798
  }
4799
4799
  function X() {
4800
- S1(document, "keydown", v), S1(document, "click", V), S1(document, "show-popover", h), S1(document, "hide-popover", $), S1(document, "toggle-popover", k);
4800
+ S1(document, "keydown", v), S1(document, "click", I), S1(document, "show-popover", h), S1(document, "hide-popover", T), S1(document, "toggle-popover", k);
4801
4801
  }
4802
- function x() {
4803
- D1(document, "keydown", v), D1(document, "click", V), D1(document, "show-popover", h), D1(document, "hide-popover", $), D1(document, "toggle-popover", k);
4802
+ function U() {
4803
+ D1(document, "keydown", v), D1(document, "click", I), D1(document, "show-popover", h), D1(document, "hide-popover", T), D1(document, "toggle-popover", k);
4804
4804
  }
4805
- function Y(D) {
4805
+ function Q(D) {
4806
4806
  b("before-show", D);
4807
4807
  }
4808
- function Q(D) {
4808
+ function P(D) {
4809
4809
  O.force = !1, b("after-show", D);
4810
4810
  }
4811
- function _(D) {
4811
+ function x(D) {
4812
4812
  b("before-hide", D);
4813
4813
  }
4814
- function Z(D) {
4814
+ function j(D) {
4815
4815
  O.force = !1, A(), b("after-hide", D);
4816
4816
  }
4817
4817
  function a0(D) {
4818
4818
  D.stopPropagation();
4819
4819
  }
4820
- function G() {
4820
+ function Z() {
4821
4821
  O.isHovered = !0, O.isInteractive && ["hover", "hover-focus"].includes(O.visibility) && f();
4822
4822
  }
4823
4823
  function z0() {
@@ -4847,19 +4847,19 @@ const gu = M0({
4847
4847
  }), B1(() => {
4848
4848
  X();
4849
4849
  }), $b(() => {
4850
- A(), W0(), x();
4850
+ A(), W0(), U();
4851
4851
  }), {
4852
4852
  ...SM(O),
4853
4853
  popoverRef: p,
4854
4854
  alignment: n,
4855
4855
  hide: L,
4856
4856
  setupPopper: r,
4857
- beforeEnter: Y,
4858
- afterEnter: Q,
4859
- beforeLeave: _,
4860
- afterLeave: Z,
4857
+ beforeEnter: Q,
4858
+ afterEnter: P,
4859
+ beforeLeave: x,
4860
+ afterLeave: j,
4861
4861
  onClick: a0,
4862
- onMouseOver: G,
4862
+ onMouseOver: Z,
4863
4863
  onMouseLeave: z0,
4864
4864
  onFocusIn: q0,
4865
4865
  onFocusOut: T0
@@ -4873,7 +4873,7 @@ const gu = M0({
4873
4873
  };
4874
4874
  function Bu(M, b, z, p, o, e) {
4875
4875
  return d(), R("div", {
4876
- class: I(["vc-popover-content-wrapper", { "is-interactive": M.isInteractive }]),
4876
+ class: V(["vc-popover-content-wrapper", { "is-interactive": M.isInteractive }]),
4877
4877
  ref: "popoverRef",
4878
4878
  onClick: b[0] || (b[0] = (...O) => M.onClick && M.onClick(...O)),
4879
4879
  onMouseover: b[1] || (b[1] = (...O) => M.onMouseOver && M.onMouseOver(...O)),
@@ -4889,13 +4889,13 @@ function Bu(M, b, z, p, o, e) {
4889
4889
  onBeforeLeave: M.beforeLeave,
4890
4890
  onAfterLeave: M.afterLeave
4891
4891
  }, {
4892
- default: c0(() => [
4892
+ default: t0(() => [
4893
4893
  M.isVisible ? (d(), R("div", V0({
4894
4894
  key: 0,
4895
4895
  tabindex: "-1",
4896
4896
  class: `vc-popover-content direction-${M.direction}`
4897
4897
  }, M.$attrs), [
4898
- j(M.$slots, "default", {
4898
+ Y(M.$slots, "default", {
4899
4899
  direction: M.direction,
4900
4900
  alignment: M.alignment,
4901
4901
  data: M.data,
@@ -4904,7 +4904,7 @@ function Bu(M, b, z, p, o, e) {
4904
4904
  y0(F(M.data), 1)
4905
4905
  ]),
4906
4906
  w("span", {
4907
- class: I([
4907
+ class: V([
4908
4908
  "vc-popover-caret",
4909
4909
  `direction-${M.direction}`,
4910
4910
  `align-${M.alignment}`
@@ -4940,11 +4940,11 @@ const az = /* @__PURE__ */ P1(gu, [["render", Bu]]), Nu = { class: "vc-day-popov
4940
4940
  return (p, o) => (d(), R("div", Nu, [
4941
4941
  l(z) ? (d(), R("div", yu, [
4942
4942
  w("span", {
4943
- class: I(l(z).class)
4943
+ class: V(l(z).class)
4944
4944
  }, null, 2)
4945
4945
  ])) : E("", !0),
4946
4946
  w("div", Xu, [
4947
- j(p.$slots, "default", {}, () => [
4947
+ Y(p.$slots, "default", {}, () => [
4948
4948
  y0(F(M.attribute.popover ? M.attribute.popover.label : "No content provided"), 1)
4949
4949
  ])
4950
4950
  ])
@@ -4960,7 +4960,7 @@ const az = /* @__PURE__ */ P1(gu, [["render", Bu]]), Nu = { class: "vc-day-popov
4960
4960
  },
4961
4961
  setup(M) {
4962
4962
  const z = ze(M.name);
4963
- return (p, o) => l(z) ? (d(), t0(Cb(l(z)), j2(V0({ key: 0 }, p.$attrs)), null, 16)) : j(p.$slots, "default", { key: 1 });
4963
+ return (p, o) => l(z) ? (d(), c0(Cb(l(z)), j2(V0({ key: 0 }, p.$attrs)), null, 16)) : Y(p.$slots, "default", { key: 1 });
4964
4964
  }
4965
4965
  }), $u = { class: "vc-day-popover-container" }, Cu = {
4966
4966
  key: 0,
@@ -4975,11 +4975,11 @@ const az = /* @__PURE__ */ P1(gu, [["render", Bu]]), Nu = { class: "vc-day-popov
4975
4975
  function c(a) {
4976
4976
  return e.value.formatDate(a.date, o.value.dayPopover);
4977
4977
  }
4978
- return (a, t) => (d(), t0(az, {
4978
+ return (a, t) => (d(), c0(az, {
4979
4979
  id: l(b),
4980
- class: I([`vc-${l(p)}`, `vc-${l(z)}`])
4980
+ class: V([`vc-${l(p)}`, `vc-${l(z)}`])
4981
4981
  }, {
4982
- default: c0(({ data: { day: n, attributes: A }, hide: r }) => [
4982
+ default: t0(({ data: { day: n, attributes: A }, hide: r }) => [
4983
4983
  H(b1, {
4984
4984
  name: "day-popover",
4985
4985
  day: n,
@@ -4989,10 +4989,10 @@ const az = /* @__PURE__ */ P1(gu, [["render", Bu]]), Nu = { class: "vc-day-popov
4989
4989
  masks: l(o),
4990
4990
  hide: r
4991
4991
  }, {
4992
- default: c0(() => [
4992
+ default: t0(() => [
4993
4993
  w("div", $u, [
4994
4994
  l(o).dayPopover ? (d(), R("div", Cu, F(c(n)), 1)) : E("", !0),
4995
- (d(!0), R(r0, null, w0(A, (i) => (d(), t0(wu, {
4995
+ (d(!0), R(r0, null, w0(A, (i) => (d(), c0(wu, {
4996
4996
  key: i.key,
4997
4997
  attribute: i
4998
4998
  }, null, 8, ["attribute"]))), 128))
@@ -5063,7 +5063,7 @@ const eW = /* @__PURE__ */ P1(MW, [["render", oW]]), OW = /* @__PURE__ */ Object
5063
5063
  },
5064
5064
  setup(M) {
5065
5065
  const b = M, z = u(() => b.width || b.size), p = u(() => b.height || b.size), o = u(() => OW[`Icon${b.name}`]);
5066
- return (e, O) => (d(), t0(Cb(l(o)), {
5066
+ return (e, O) => (d(), c0(Cb(l(o)), {
5067
5067
  width: l(z),
5068
5068
  height: l(p),
5069
5069
  class: "vc-base-icon"
@@ -5132,7 +5132,7 @@ const eW = /* @__PURE__ */ P1(MW, [["render", oW]]), OW = /* @__PURE__ */ Object
5132
5132
  }
5133
5133
  }).join(" ") }));
5134
5134
  return (m, f) => (d(), R("div", {
5135
- class: I(["vc-header", { "is-lg": M.isLg, "is-xl": M.isXl, "is-2xl": M.is2xl }]),
5135
+ class: V(["vc-header", { "is-lg": M.isLg, "is-xl": M.isXl, "is-2xl": M.is2xl }]),
5136
5136
  style: s1(l(W))
5137
5137
  }, [
5138
5138
  l(i).prev ? (d(), R("button", {
@@ -5152,7 +5152,7 @@ const eW = /* @__PURE__ */ P1(MW, [["render", oW]]), OW = /* @__PURE__ */ Object
5152
5152
  name: "header-prev-button",
5153
5153
  disabled: !l(o)
5154
5154
  }, {
5155
- default: c0(() => [
5155
+ default: t0(() => [
5156
5156
  H(d2, {
5157
5157
  name: "ChevronLeft",
5158
5158
  size: "24"
@@ -5163,13 +5163,13 @@ const eW = /* @__PURE__ */ P1(MW, [["render", oW]]), OW = /* @__PURE__ */ Object
5163
5163
  ], 40, cW)) : E("", !0),
5164
5164
  l(i).title ? (d(), R("div", tW, [
5165
5165
  H(b1, { name: "header-title-wrapper" }, {
5166
- default: c0(() => [
5166
+ default: t0(() => [
5167
5167
  I0((d(), R("button", aW, [
5168
5168
  H(b1, {
5169
5169
  name: "header-title",
5170
5170
  title: M.page.title
5171
5171
  }, {
5172
- default: c0(() => [
5172
+ default: t0(() => [
5173
5173
  w("span", null, F(M.page.title), 1)
5174
5174
  ]),
5175
5175
  _: 1
@@ -5198,7 +5198,7 @@ const eW = /* @__PURE__ */ P1(MW, [["render", oW]]), OW = /* @__PURE__ */ Object
5198
5198
  name: "header-next-button",
5199
5199
  disabled: !l(O)
5200
5200
  }, {
5201
- default: c0(() => [
5201
+ default: t0(() => [
5202
5202
  H(d2, {
5203
5203
  name: "ChevronRight",
5204
5204
  size: "24"
@@ -5268,34 +5268,34 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5268
5268
  setTimeout(() => {
5269
5269
  if (n.value == null)
5270
5270
  return;
5271
- const U = n.value.querySelector(
5271
+ const K = n.value.querySelector(
5272
5272
  ".vc-nav-item:not(:disabled)"
5273
5273
  );
5274
- U && U.focus();
5274
+ K && K.focus();
5275
5275
  }, 10);
5276
5276
  }
5277
- function r(U) {
5278
- return Math.floor(U / c);
5277
+ function r(K) {
5278
+ return Math.floor(K / c);
5279
5279
  }
5280
5280
  function i() {
5281
5281
  O.value = !O.value;
5282
5282
  }
5283
- function W(U) {
5284
- return U * c;
5283
+ function W(K) {
5284
+ return K * c;
5285
5285
  }
5286
- function m(U) {
5287
- return c * (U + 1) - 1;
5286
+ function m(K) {
5287
+ return c * (K + 1) - 1;
5288
5288
  }
5289
5289
  function f() {
5290
- q0.value && (O.value && T(), v());
5290
+ q0.value && (O.value && $(), v());
5291
5291
  }
5292
5292
  function L() {
5293
- T0.value && (O.value && V(), h());
5293
+ T0.value && (O.value && I(), h());
5294
5294
  }
5295
- function T() {
5295
+ function $() {
5296
5296
  a.value--;
5297
5297
  }
5298
- function V() {
5298
+ function I() {
5299
5299
  a.value++;
5300
5300
  }
5301
5301
  function v() {
@@ -5304,59 +5304,59 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5304
5304
  function h() {
5305
5305
  t.value++;
5306
5306
  }
5307
- const $ = u(
5308
- () => o(a.value, b.value.navMonths).map((U) => ({
5309
- ...U,
5307
+ const T = u(
5308
+ () => o(a.value, b.value.navMonths).map((K) => ({
5309
+ ...K,
5310
5310
  click: () => z(
5311
- { month: U.month, year: U.year },
5311
+ { month: K.month, year: K.year },
5312
5312
  { position: p.value.position }
5313
5313
  )
5314
5314
  }))
5315
5315
  ), k = u(
5316
5316
  () => o(a.value - 1, b.value.navMonths)
5317
5317
  ), X = u(
5318
- () => k.value.some((U) => !U.isDisabled)
5319
- ), x = u(
5318
+ () => k.value.some((K) => !K.isDisabled)
5319
+ ), U = u(
5320
5320
  () => o(a.value + 1, b.value.navMonths)
5321
- ), Y = u(
5322
- () => x.value.some((U) => !U.isDisabled)
5323
5321
  ), Q = u(
5322
+ () => U.value.some((K) => !K.isDisabled)
5323
+ ), P = u(
5324
5324
  () => e(
5325
5325
  W(t.value),
5326
5326
  m(t.value)
5327
- ).map((U) => ({
5328
- ...U,
5327
+ ).map((K) => ({
5328
+ ...K,
5329
5329
  click: () => {
5330
- a.value = U.year, O.value = !0, A();
5330
+ a.value = K.year, O.value = !0, A();
5331
5331
  }
5332
5332
  }))
5333
- ), _ = u(
5333
+ ), x = u(
5334
5334
  () => e(
5335
5335
  W(t.value - 1),
5336
5336
  m(t.value - 1)
5337
5337
  )
5338
- ), Z = u(
5339
- () => _.value.some((U) => !U.isDisabled)
5338
+ ), j = u(
5339
+ () => x.value.some((K) => !K.isDisabled)
5340
5340
  ), a0 = u(
5341
5341
  () => e(
5342
5342
  W(t.value + 1),
5343
5343
  m(t.value + 1)
5344
5344
  )
5345
- ), G = u(
5346
- () => a0.value.some((U) => !U.isDisabled)
5345
+ ), Z = u(
5346
+ () => a0.value.some((K) => !K.isDisabled)
5347
5347
  ), z0 = u(
5348
- () => O.value ? $.value : Q.value
5348
+ () => O.value ? T.value : P.value
5349
5349
  ), q0 = u(
5350
- () => O.value ? X.value : Z.value
5350
+ () => O.value ? X.value : j.value
5351
5351
  ), T0 = u(
5352
- () => O.value ? Y.value : G.value
5353
- ), W0 = u(() => mo(Q.value.map((U) => U.year))), D = u(() => e2(Q.value.map((U) => U.year))), n0 = u(() => O.value ? a.value : `${W0.value} - ${D.value}`);
5352
+ () => O.value ? Q.value : Z.value
5353
+ ), W0 = u(() => mo(P.value.map((K) => K.year))), D = u(() => e2(P.value.map((K) => K.year))), n0 = u(() => O.value ? a.value : `${W0.value} - ${D.value}`);
5354
5354
  return X3(() => {
5355
5355
  a.value = p.value.year, A();
5356
5356
  }), S0(
5357
5357
  () => a.value,
5358
- (U) => t.value = r(U)
5359
- ), B1(() => A()), (U, X0) => (d(), R("div", {
5358
+ (K) => t.value = r(K)
5359
+ ), B1(() => A()), (K, X0) => (d(), R("div", {
5360
5360
  class: "vc-nav-container",
5361
5361
  ref_key: "navContainer",
5362
5362
  ref: n
@@ -5374,7 +5374,7 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5374
5374
  move: f,
5375
5375
  disabled: !l(q0)
5376
5376
  }, {
5377
- default: c0(() => [
5377
+ default: t0(() => [
5378
5378
  H(d2, {
5379
5379
  name: "ChevronLeft",
5380
5380
  width: "22px",
@@ -5402,7 +5402,7 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5402
5402
  move: L,
5403
5403
  disabled: !l(T0)
5404
5404
  }, {
5405
- default: c0(() => [
5405
+ default: t0(() => [
5406
5406
  H(d2, {
5407
5407
  name: "ChevronRight",
5408
5408
  width: "22px",
@@ -5419,7 +5419,7 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5419
5419
  type: "button",
5420
5420
  "data-id": i0.id,
5421
5421
  "aria-label": i0.ariaLabel,
5422
- class: I(["vc-nav-item vc-focus", [
5422
+ class: V(["vc-nav-item vc-focus", [
5423
5423
  i0.isActive ? "is-active" : i0.isCurrent ? "is-current" : ""
5424
5424
  ]]),
5425
5425
  disabled: i0.isDisabled,
@@ -5435,23 +5435,23 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5435
5435
  page: null
5436
5436
  },
5437
5437
  setup(M) {
5438
- return AW(sM(M, "page")), (z, p) => j(z.$slots, "default");
5438
+ return AW(sM(M, "page")), (z, p) => Y(z.$slots, "default");
5439
5439
  }
5440
5440
  }), uW = /* @__PURE__ */ M0({
5441
5441
  __name: "CalendarNavPopover",
5442
5442
  setup(M) {
5443
5443
  const { navPopoverId: b, color: z, displayMode: p } = Z1();
5444
- return (o, e) => (d(), t0(az, {
5444
+ return (o, e) => (d(), c0(az, {
5445
5445
  id: l(b),
5446
- class: I(["vc-nav-popover-container", `vc-${l(z)}`, `vc-${l(p)}`])
5446
+ class: V(["vc-nav-popover-container", `vc-${l(z)}`, `vc-${l(p)}`])
5447
5447
  }, {
5448
- default: c0(({ data: O }) => [
5448
+ default: t0(({ data: O }) => [
5449
5449
  H(ce, {
5450
5450
  page: O.page
5451
5451
  }, {
5452
- default: c0(() => [
5452
+ default: t0(() => [
5453
5453
  H(b1, { name: "nav" }, {
5454
- default: c0(() => [
5454
+ default: t0(() => [
5455
5455
  H(lW)
5456
5456
  ]),
5457
5457
  _: 1
@@ -5482,21 +5482,21 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5482
5482
  onDayFocusout: t,
5483
5483
  onDayKeydown: n
5484
5484
  } = Z1(), A = u(() => M.day), r = u(() => p.value.getCells(A.value)), i = u(
5485
- () => r.value.map((G) => G.data)
5485
+ () => r.value.map((Z) => Z.data)
5486
5486
  ), W = u(() => ({
5487
5487
  ...A.value,
5488
5488
  attributes: i.value,
5489
5489
  attributeCells: r.value
5490
5490
  }));
5491
- function m({ data: G }, { popovers: z0 }) {
5492
- const { key: q0, customData: T0, popover: W0 } = G;
5491
+ function m({ data: Z }, { popovers: z0 }) {
5492
+ const { key: q0, customData: T0, popover: W0 } = Z;
5493
5493
  if (!W0)
5494
5494
  return;
5495
5495
  const D = Ap(
5496
5496
  {
5497
5497
  key: q0,
5498
5498
  customData: T0,
5499
- attribute: G
5499
+ attribute: Z
5500
5500
  },
5501
5501
  { ...W0 },
5502
5502
  {
@@ -5508,80 +5508,80 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5508
5508
  z0.splice(0, 0, D);
5509
5509
  }
5510
5510
  const f = u(() => {
5511
- const G = {
5511
+ const Z = {
5512
5512
  ...z.value.prepareRender({}),
5513
5513
  popovers: []
5514
5514
  };
5515
5515
  return r.value.forEach((z0) => {
5516
- z.value.render(z0, G), m(z0, G);
5517
- }), G;
5518
- }), L = u(() => f.value.highlights), T = u(() => !!v1(L.value)), V = u(() => f.value.content), v = u(() => f.value.dots), h = u(() => !!v1(v.value)), $ = u(() => f.value.bars), k = u(() => !!v1($.value)), X = u(() => f.value.popovers), x = u(
5519
- () => X.value.map((G) => G.attribute)
5520
- ), Y = ze("day-content"), Q = u(() => [
5516
+ z.value.render(z0, Z), m(z0, Z);
5517
+ }), Z;
5518
+ }), L = u(() => f.value.highlights), $ = u(() => !!v1(L.value)), I = u(() => f.value.content), v = u(() => f.value.dots), h = u(() => !!v1(v.value)), T = u(() => f.value.bars), k = u(() => !!v1(T.value)), X = u(() => f.value.popovers), U = u(
5519
+ () => X.value.map((Z) => Z.attribute)
5520
+ ), Q = ze("day-content"), P = u(() => [
5521
5521
  "vc-day",
5522
5522
  ...A.value.classes,
5523
- { "vc-day-box-center-center": !Y },
5523
+ { "vc-day-box-center-center": !Q },
5524
5524
  { "is-not-in-month": !M.day.inMonth }
5525
- ]), _ = u(() => {
5526
- let G;
5527
- A.value.isFocusable ? G = "0" : G = "-1";
5525
+ ]), x = u(() => {
5526
+ let Z;
5527
+ A.value.isFocusable ? Z = "0" : Z = "-1";
5528
5528
  const z0 = [
5529
5529
  "vc-day-content vc-focusable vc-focus vc-attr",
5530
5530
  { "vc-disabled": A.value.isDisabled },
5531
5531
  F1(e2(L.value), "contentClass"),
5532
- F1(e2(V.value), "class") || ""
5532
+ F1(e2(I.value), "class") || ""
5533
5533
  ], q0 = {
5534
5534
  ...F1(e2(L.value), "contentStyle"),
5535
- ...F1(e2(V.value), "style")
5535
+ ...F1(e2(I.value), "style")
5536
5536
  };
5537
5537
  return {
5538
5538
  class: z0,
5539
5539
  style: q0,
5540
- tabindex: G,
5540
+ tabindex: Z,
5541
5541
  "aria-label": A.value.ariaLabel,
5542
5542
  "aria-disabled": !!A.value.isDisabled,
5543
5543
  role: "button"
5544
5544
  };
5545
- }), Z = u(() => ({
5546
- click(G) {
5547
- e(W.value, G);
5545
+ }), j = u(() => ({
5546
+ click(Z) {
5547
+ e(W.value, Z);
5548
5548
  },
5549
- mouseenter(G) {
5550
- O(W.value, G);
5549
+ mouseenter(Z) {
5550
+ O(W.value, Z);
5551
5551
  },
5552
- mouseleave(G) {
5553
- c(W.value, G);
5552
+ mouseleave(Z) {
5553
+ c(W.value, Z);
5554
5554
  },
5555
- focusin(G) {
5556
- a(W.value, G);
5555
+ focusin(Z) {
5556
+ a(W.value, Z);
5557
5557
  },
5558
- focusout(G) {
5559
- t(W.value, G);
5558
+ focusout(Z) {
5559
+ t(W.value, Z);
5560
5560
  },
5561
- keydown(G) {
5562
- n(W.value, G);
5561
+ keydown(Z) {
5562
+ n(W.value, Z);
5563
5563
  }
5564
5564
  })), a0 = u(() => v1(X.value) ? Ap(
5565
5565
  {
5566
5566
  id: o.value,
5567
- data: { day: A, attributes: x.value }
5567
+ data: { day: A, attributes: U.value }
5568
5568
  },
5569
5569
  ...X.value
5570
5570
  ) : null);
5571
5571
  return {
5572
5572
  attributes: i,
5573
5573
  attributeCells: r,
5574
- bars: $,
5575
- dayClasses: Q,
5576
- dayContentProps: _,
5577
- dayContentEvents: Z,
5574
+ bars: T,
5575
+ dayClasses: P,
5576
+ dayContentProps: x,
5577
+ dayContentEvents: j,
5578
5578
  dayPopover: a0,
5579
5579
  glyphs: f,
5580
5580
  dots: v,
5581
5581
  hasDots: h,
5582
5582
  hasBars: k,
5583
5583
  highlights: L,
5584
- hasHighlights: T,
5584
+ hasHighlights: $,
5585
5585
  locale: b,
5586
5586
  popovers: X
5587
5587
  };
@@ -5599,15 +5599,15 @@ const rW = { class: "vc-nav-header" }, iW = ["disabled"], sW = ["disabled"], qW
5599
5599
  function mW(M, b, z, p, o, e) {
5600
5600
  const O = C0("CalendarSlot"), c = aO("popover");
5601
5601
  return d(), R("div", {
5602
- class: I(M.dayClasses)
5602
+ class: V(M.dayClasses)
5603
5603
  }, [
5604
5604
  M.hasHighlights ? (d(), R("div", fW, [
5605
5605
  (d(!0), R(r0, null, w0(M.highlights, ({ key: a, wrapperClass: t, class: n, style: A }) => (d(), R("div", {
5606
5606
  key: a,
5607
- class: I(t)
5607
+ class: V(t)
5608
5608
  }, [
5609
5609
  w("div", {
5610
- class: I(n),
5610
+ class: V(n),
5611
5611
  style: s1(A)
5612
5612
  }, null, 6)
5613
5613
  ], 2))), 128))
@@ -5621,7 +5621,7 @@ function mW(M, b, z, p, o, e) {
5621
5621
  dayEvents: M.dayContentEvents,
5622
5622
  locale: M.locale
5623
5623
  }, {
5624
- default: c0(() => [
5624
+ default: t0(() => [
5625
5625
  I0((d(), R("div", V0(M.dayContentProps, qM(M.dayContentEvents, !0)), [
5626
5626
  y0(F(M.day.label), 1)
5627
5627
  ], 16)), [
@@ -5634,7 +5634,7 @@ function mW(M, b, z, p, o, e) {
5634
5634
  w("div", LW, [
5635
5635
  (d(!0), R(r0, null, w0(M.dots, ({ key: a, class: t, style: n }) => (d(), R("span", {
5636
5636
  key: a,
5637
- class: I(t),
5637
+ class: V(t),
5638
5638
  style: s1(n)
5639
5639
  }, null, 6))), 128))
5640
5640
  ])
@@ -5643,7 +5643,7 @@ function mW(M, b, z, p, o, e) {
5643
5643
  w("div", hW, [
5644
5644
  (d(!0), R(r0, null, w0(M.bars, ({ key: a, class: t, style: n }) => (d(), R("span", {
5645
5645
  key: a,
5646
- class: I(t),
5646
+ class: V(t),
5647
5647
  style: s1(n)
5648
5648
  }, null, 6))), 128))
5649
5649
  ])
@@ -5658,7 +5658,7 @@ const gW = /* @__PURE__ */ P1(WW, [["render", mW]]), BW = { class: "vc-weekdays"
5658
5658
  setup(M) {
5659
5659
  const { page: b } = Oe(), { onWeeknumberClick: z } = Z1();
5660
5660
  return (p, o) => (d(), R("div", {
5661
- class: I([
5661
+ class: V([
5662
5662
  "vc-pane",
5663
5663
  `row-${l(b).row}`,
5664
5664
  `row-from-end-${l(b).rowFromEnd}`,
@@ -5673,14 +5673,14 @@ const gW = /* @__PURE__ */ P1(WW, [["render", mW]]), BW = { class: "vc-weekdays"
5673
5673
  "hide-arrows": ""
5674
5674
  }, null, 8, ["page"]),
5675
5675
  w("div", {
5676
- class: I(["vc-weeks", {
5676
+ class: V(["vc-weeks", {
5677
5677
  [`vc-show-weeknumbers-${l(b).weeknumberPosition}`]: l(b).weeknumberPosition
5678
5678
  }])
5679
5679
  }, [
5680
5680
  w("div", BW, [
5681
5681
  (d(!0), R(r0, null, w0(l(b).weekdays, ({ weekday: e, label: O }, c) => (d(), R("div", {
5682
5682
  key: c,
5683
- class: I(`vc-weekday vc-weekday-${e}`)
5683
+ class: V(`vc-weekday vc-weekday-${e}`)
5684
5684
  }, F(O), 3))), 128))
5685
5685
  ]),
5686
5686
  (d(!0), R(r0, null, w0(l(b).viewWeeks, (e) => (d(), R("div", {
@@ -5689,14 +5689,14 @@ const gW = /* @__PURE__ */ P1(WW, [["render", mW]]), BW = { class: "vc-weekdays"
5689
5689
  }, [
5690
5690
  l(b).weeknumberPosition ? (d(), R("div", {
5691
5691
  key: 0,
5692
- class: I(["vc-weeknumber", `is-${l(b).weeknumberPosition}`])
5692
+ class: V(["vc-weeknumber", `is-${l(b).weeknumberPosition}`])
5693
5693
  }, [
5694
5694
  w("span", {
5695
- class: I(["vc-weeknumber-content"]),
5695
+ class: V(["vc-weeknumber-content"]),
5696
5696
  onClick: (O) => l(z)(e, O)
5697
5697
  }, F(e.weeknumberDisplay), 9, NW)
5698
5698
  ], 2)) : E("", !0),
5699
- (d(!0), R(r0, null, w0(e.days, (O) => (d(), t0(gW, {
5699
+ (d(!0), R(r0, null, w0(e.days, (O) => (d(), c0(gW, {
5700
5700
  key: O.id,
5701
5701
  day: O
5702
5702
  }, null, 8, ["day"]))), 128))
@@ -5739,10 +5739,10 @@ function $W(M, b, z, p, o, e) {
5739
5739
  ref: "containerRef"
5740
5740
  }), [
5741
5741
  w("div", {
5742
- class: I(["vc-pane-container", { "in-transition": M.inTransition }])
5742
+ class: V(["vc-pane-container", { "in-transition": M.inTransition }])
5743
5743
  }, [
5744
5744
  w("div", TW, [
5745
- M.firstPage ? (d(), t0(O, {
5745
+ M.firstPage ? (d(), c0(O, {
5746
5746
  key: 0,
5747
5747
  page: M.firstPage,
5748
5748
  "is-lg": "",
@@ -5754,7 +5754,7 @@ function $W(M, b, z, p, o, e) {
5754
5754
  onBeforeEnter: M.onTransitionBeforeEnter,
5755
5755
  onAfterEnter: M.onTransitionAfterEnter
5756
5756
  }, {
5757
- default: c0(() => [
5757
+ default: t0(() => [
5758
5758
  (d(), R("div", {
5759
5759
  key: M.pages[0].id,
5760
5760
  class: "vc-pane-layout",
@@ -5762,16 +5762,16 @@ function $W(M, b, z, p, o, e) {
5762
5762
  gridTemplateColumns: `repeat(${M.columns}, 1fr)`
5763
5763
  })
5764
5764
  }, [
5765
- (d(!0), R(r0, null, w0(M.pages, (r) => (d(), t0(t, {
5765
+ (d(!0), R(r0, null, w0(M.pages, (r) => (d(), c0(t, {
5766
5766
  key: r.id,
5767
5767
  page: r
5768
5768
  }, {
5769
- default: c0(() => [
5769
+ default: t0(() => [
5770
5770
  H(a, {
5771
5771
  name: "page",
5772
5772
  page: r
5773
5773
  }, {
5774
- default: c0(() => [
5774
+ default: t0(() => [
5775
5775
  H(c)
5776
5776
  ]),
5777
5777
  _: 2
@@ -5835,27 +5835,27 @@ function EW(M, { emit: b, slots: z }) {
5835
5835
  be(z, { footer: "dp-footer" });
5836
5836
  const p = Jo(M), { locale: o, masks: e, disabledAttribute: O } = p, c = O0(!1), a = O0(Symbol()), t = O0(null), n = O0(null), A = O0(["", ""]), r = O0(null), i = O0(null);
5837
5837
  let W, m, f = !0;
5838
- const L = u(() => M.isRange || M.modelModifiers.range === !0), T = u(
5838
+ const L = u(() => M.isRange || M.modelModifiers.range === !0), $ = u(
5839
5839
  () => L.value && t.value != null ? t.value.start : null
5840
- ), V = u(
5840
+ ), I = u(
5841
5841
  () => L.value && t.value != null ? t.value.end : null
5842
5842
  ), v = u(() => M.mode.toLowerCase() === "date"), h = u(
5843
5843
  () => M.mode.toLowerCase() === "datetime"
5844
- ), $ = u(() => M.mode.toLowerCase() === "time"), k = u(() => !!n.value), X = u(() => {
5844
+ ), T = u(() => M.mode.toLowerCase() === "time"), k = u(() => !!n.value), X = u(() => {
5845
5845
  let s = "date";
5846
5846
  M.modelModifiers.number && (s = "number"), M.modelModifiers.string && (s = "string");
5847
5847
  const y = e.value.modelValue || "iso";
5848
5848
  return X0({ type: s, mask: y });
5849
- }), x = u(
5849
+ }), U = u(
5850
5850
  () => l0(n.value ?? t.value)
5851
- ), Y = u(() => $.value ? M.is24hr ? e.value.inputTime24hr : e.value.inputTime : h.value ? M.is24hr ? e.value.inputDateTime24hr : e.value.inputDateTime : e.value.input), Q = u(() => /[Hh]/g.test(Y.value)), _ = u(
5852
- () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(Y.value)
5853
- ), Z = u(() => {
5854
- if (Q.value && _.value)
5851
+ ), Q = u(() => T.value ? M.is24hr ? e.value.inputTime24hr : e.value.inputTime : h.value ? M.is24hr ? e.value.inputDateTime24hr : e.value.inputDateTime : e.value.input), P = u(() => /[Hh]/g.test(Q.value)), x = u(
5852
+ () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(Q.value)
5853
+ ), j = u(() => {
5854
+ if (P.value && x.value)
5855
5855
  return "dateTime";
5856
- if (_.value)
5856
+ if (x.value)
5857
5857
  return "date";
5858
- if (Q.value)
5858
+ if (P.value)
5859
5859
  return "time";
5860
5860
  }), a0 = u(() => {
5861
5861
  var s;
@@ -5863,7 +5863,7 @@ function EW(M, { emit: b, slots: z }) {
5863
5863
  return q2({}, M.popover, k1("datePicker.popover"), {
5864
5864
  target: y
5865
5865
  });
5866
- }), G = u(
5866
+ }), Z = u(
5867
5867
  () => Uo({
5868
5868
  ...a0.value,
5869
5869
  id: a.value
@@ -5876,7 +5876,7 @@ function EW(M, { emit: b, slots: z }) {
5876
5876
  input: S(y),
5877
5877
  change: J(y),
5878
5878
  keyup: e0,
5879
- ...M.popover && G.value
5879
+ ...M.popover && Z.value
5880
5880
  }));
5881
5881
  return L.value ? {
5882
5882
  start: s[0],
@@ -5890,8 +5890,8 @@ function EW(M, { emit: b, slots: z }) {
5890
5890
  ...M.selectAttribute,
5891
5891
  dates: t.value,
5892
5892
  pinPage: !0
5893
- }, { dot: y, bar: P, highlight: p0, content: N0 } = s;
5894
- return !y && !P && !p0 && !N0 && (s.highlight = !0), s;
5893
+ }, { dot: y, bar: _, highlight: p0, content: N0 } = s;
5894
+ return !y && !_ && !p0 && !N0 && (s.highlight = !0), s;
5895
5895
  }), W0 = u(() => {
5896
5896
  if (!L.value || !b0(n.value))
5897
5897
  return null;
@@ -5899,8 +5899,8 @@ function EW(M, { emit: b, slots: z }) {
5899
5899
  key: "select-drag",
5900
5900
  ...M.dragAttribute,
5901
5901
  dates: n.value
5902
- }, { dot: y, bar: P, highlight: p0, content: N0 } = s;
5903
- return !y && !P && !p0 && !N0 && (s.highlight = {
5902
+ }, { dot: y, bar: _, highlight: p0, content: N0 } = s;
5903
+ return !y && !_ && !p0 && !N0 && (s.highlight = {
5904
5904
  startEnd: {
5905
5905
  fillMode: "outline"
5906
5906
  }
@@ -5909,36 +5909,36 @@ function EW(M, { emit: b, slots: z }) {
5909
5909
  const s = p1(M.attributes) ? [...M.attributes] : [];
5910
5910
  return W0.value ? s.unshift(W0.value) : T0.value && s.unshift(T0.value), s;
5911
5911
  }), n0 = u(() => X0(
5912
- M.rules === "auto" ? U() : M.rules ?? {}
5912
+ M.rules === "auto" ? K() : M.rules ?? {}
5913
5913
  ));
5914
- function U() {
5914
+ function K() {
5915
5915
  const s = {
5916
5916
  ms: [0, 999],
5917
5917
  sec: [0, 59],
5918
5918
  min: [0, 59],
5919
5919
  hr: [0, 23]
5920
5920
  }, y = v.value ? 0 : M.timeAccuracy;
5921
- return [0, 1].map((P) => {
5921
+ return [0, 1].map((_) => {
5922
5922
  switch (y) {
5923
5923
  case 0:
5924
5924
  return {
5925
- hours: s.hr[P],
5926
- minutes: s.min[P],
5927
- seconds: s.sec[P],
5928
- milliseconds: s.ms[P]
5925
+ hours: s.hr[_],
5926
+ minutes: s.min[_],
5927
+ seconds: s.sec[_],
5928
+ milliseconds: s.ms[_]
5929
5929
  };
5930
5930
  case 1:
5931
5931
  return {
5932
- minutes: s.min[P],
5933
- seconds: s.sec[P],
5934
- milliseconds: s.ms[P]
5932
+ minutes: s.min[_],
5933
+ seconds: s.sec[_],
5934
+ milliseconds: s.ms[_]
5935
5935
  };
5936
5936
  case 3:
5937
- return { milliseconds: s.ms[P] };
5937
+ return { milliseconds: s.ms[_] };
5938
5938
  case 4:
5939
5939
  return {};
5940
5940
  default:
5941
- return { seconds: s.sec[P], milliseconds: s.ms[P] };
5941
+ return { seconds: s.sec[_], milliseconds: s.ms[_] };
5942
5942
  }
5943
5943
  });
5944
5944
  }
@@ -5947,9 +5947,9 @@ function EW(M, { emit: b, slots: z }) {
5947
5947
  }
5948
5948
  function i0(s) {
5949
5949
  return X0(s).map(
5950
- (y, P) => ({
5950
+ (y, _) => ({
5951
5951
  ...y,
5952
- rules: n0.value[P]
5952
+ rules: n0.value[_]
5953
5953
  })
5954
5954
  );
5955
5955
  }
@@ -5967,31 +5967,31 @@ function EW(M, { emit: b, slots: z }) {
5967
5967
  return !0;
5968
5968
  if (s == null || y == null)
5969
5969
  return !1;
5970
- const P = O2(s), p0 = O2(y);
5971
- return P && p0 ? s.getTime() === y.getTime() : P || p0 ? !1 : d0(s.start, y.start) && d0(s.end, y.end);
5970
+ const _ = O2(s), p0 = O2(y);
5971
+ return _ && p0 ? s.getTime() === y.getTime() : _ || p0 ? !1 : d0(s.start, y.start) && d0(s.end, y.end);
5972
5972
  }
5973
5973
  function x0(s) {
5974
5974
  return !b0(s) || !O.value ? !1 : O.value.intersectsRange(o.value.range(s));
5975
5975
  }
5976
- function M1(s, y, P, p0) {
5976
+ function M1(s, y, _, p0) {
5977
5977
  if (!b0(s))
5978
5978
  return null;
5979
5979
  if (L0(s)) {
5980
5980
  const N0 = o.value.toDate(s.start, {
5981
5981
  ...y[0],
5982
- fillDate: T.value ?? void 0,
5983
- patch: P
5982
+ fillDate: $.value ?? void 0,
5983
+ patch: _
5984
5984
  }), F0 = o.value.toDate(s.end, {
5985
5985
  ...y[1],
5986
- fillDate: V.value ?? void 0,
5987
- patch: P
5986
+ fillDate: I.value ?? void 0,
5987
+ patch: _
5988
5988
  });
5989
5989
  return oM({ start: N0, end: F0 }, p0);
5990
5990
  }
5991
5991
  return o.value.toDateOrNull(s, {
5992
5992
  ...y[0],
5993
5993
  fillDate: t.value,
5994
- patch: P
5994
+ patch: _
5995
5995
  });
5996
5996
  }
5997
5997
  function Z0(s, y) {
@@ -6001,16 +6001,16 @@ function EW(M, { emit: b, slots: z }) {
6001
6001
  } : L.value ? null : o.value.fromDate(s, y[0]);
6002
6002
  }
6003
6003
  function E0(s, y = {}) {
6004
- return clearTimeout(W), new Promise((P) => {
6004
+ return clearTimeout(W), new Promise((_) => {
6005
6005
  const { debounce: p0 = 0, ...N0 } = y;
6006
6006
  p0 > 0 ? W = window.setTimeout(() => {
6007
- P(q(s, N0));
6008
- }, p0) : P(q(s, N0));
6007
+ _(q(s, N0));
6008
+ }, p0) : _(q(s, N0));
6009
6009
  });
6010
6010
  }
6011
6011
  function q(s, {
6012
6012
  config: y = X.value,
6013
- patch: P = "dateTime",
6013
+ patch: _ = "dateTime",
6014
6014
  clearIfEqual: p0 = !1,
6015
6015
  formatInput: N0 = !0,
6016
6016
  hidePopover: F0 = !1,
@@ -6022,7 +6022,7 @@ function EW(M, { emit: b, slots: z }) {
6022
6022
  let U0 = M1(
6023
6023
  s,
6024
6024
  zb,
6025
- P,
6025
+ _,
6026
6026
  b2
6027
6027
  );
6028
6028
  if (x0(U0)) {
@@ -6045,7 +6045,7 @@ function EW(M, { emit: b, slots: z }) {
6045
6045
  L1(() => {
6046
6046
  const s = i0({
6047
6047
  type: "string",
6048
- mask: Y.value
6048
+ mask: Q.value
6049
6049
  }), y = Z0(
6050
6050
  n.value ?? t.value,
6051
6051
  s
@@ -6053,19 +6053,19 @@ function EW(M, { emit: b, slots: z }) {
6053
6053
  L.value ? A.value = [y && y.start, y && y.end] : A.value = [y, ""];
6054
6054
  });
6055
6055
  }
6056
- function N(s, y, P) {
6056
+ function N(s, y, _) {
6057
6057
  A.value.splice(y === "start" ? 0 : 1, 1, s);
6058
6058
  const p0 = L.value ? {
6059
6059
  start: A.value[0],
6060
6060
  end: A.value[1] || A.value[0]
6061
6061
  } : s, N0 = {
6062
6062
  type: "string",
6063
- mask: Y.value
6063
+ mask: Q.value
6064
6064
  };
6065
6065
  E0(p0, {
6066
- ...P,
6066
+ ..._,
6067
6067
  config: N0,
6068
- patch: Z.value,
6068
+ patch: j.value,
6069
6069
  targetPriority: y,
6070
6070
  moveToValue: !0
6071
6071
  });
@@ -6121,10 +6121,10 @@ function EW(M, { emit: b, slots: z }) {
6121
6121
  hidePopover: !0
6122
6122
  };
6123
6123
  if (L.value) {
6124
- const P = !k.value;
6125
- P ? m = { start: s.startDate, end: s.endDate } : m != null && (m.end = s.date), E0(m, {
6124
+ const _ = !k.value;
6125
+ _ ? m = { start: s.startDate, end: s.endDate } : m != null && (m.end = s.date), E0(m, {
6126
6126
  ...y,
6127
- dragging: P
6127
+ dragging: _
6128
6128
  });
6129
6129
  } else
6130
6130
  E0(s.date, {
@@ -6179,17 +6179,17 @@ function EW(M, { emit: b, slots: z }) {
6179
6179
  });
6180
6180
  }
6181
6181
  function oM(s, y) {
6182
- const { start: P, end: p0 } = s;
6183
- if (P > p0)
6182
+ const { start: _, end: p0 } = s;
6183
+ if (_ > p0)
6184
6184
  switch (y) {
6185
6185
  case "start":
6186
- return { start: P, end: P };
6186
+ return { start: _, end: _ };
6187
6187
  case "end":
6188
6188
  return { start: p0, end: p0 };
6189
6189
  default:
6190
- return { start: p0, end: P };
6190
+ return { start: p0, end: _ };
6191
6191
  }
6192
- return { start: P, end: p0 };
6192
+ return { start: _, end: p0 };
6193
6193
  }
6194
6194
  async function eM(s, y = {}) {
6195
6195
  return i.value == null ? !1 : i.value.move(s, y);
@@ -6198,10 +6198,10 @@ function EW(M, { emit: b, slots: z }) {
6198
6198
  return i.value == null ? !1 : i.value.moveBy(s, y);
6199
6199
  }
6200
6200
  async function OM(s, y = {}) {
6201
- const P = t.value;
6202
- if (i.value == null || !b0(P))
6201
+ const _ = t.value;
6202
+ if (i.value == null || !b0(_))
6203
6203
  return !1;
6204
- const p0 = s !== "end", N0 = p0 ? 1 : -1, F0 = L0(P) ? p0 ? P.start : P.end : P, Q0 = wo(F0, "monthly", o.value);
6204
+ const p0 = s !== "end", N0 = p0 ? 1 : -1, F0 = L0(_) ? p0 ? _.start : _.end : _, Q0 = wo(F0, "monthly", o.value);
6205
6205
  return i.value.move(Q0, { position: N0, ...y });
6206
6206
  }
6207
6207
  S0(
@@ -6218,7 +6218,7 @@ function EW(M, { emit: b, slots: z }) {
6218
6218
  q(null, { formatInput: !0 });
6219
6219
  }
6220
6220
  ), S0(
6221
- () => Y.value,
6221
+ () => Q.value,
6222
6222
  () => B()
6223
6223
  ), S0(
6224
6224
  () => M.modelValue,
@@ -6258,10 +6258,10 @@ function EW(M, { emit: b, slots: z }) {
6258
6258
  showCalendar: c,
6259
6259
  datePickerPopoverId: a,
6260
6260
  popoverRef: r,
6261
- popoverEvents: G,
6261
+ popoverEvents: Z,
6262
6262
  calendarRef: i,
6263
6263
  isRange: L,
6264
- isTimeMode: $,
6264
+ isTimeMode: T,
6265
6265
  isDateTimeMode: h,
6266
6266
  is24hr: sM(M, "is24hr"),
6267
6267
  hideTimeHeader: sM(M, "hideTimeHeader"),
@@ -6269,7 +6269,7 @@ function EW(M, { emit: b, slots: z }) {
6269
6269
  isDragging: k,
6270
6270
  inputValue: z0,
6271
6271
  inputEvents: q0,
6272
- dateParts: x,
6272
+ dateParts: U,
6273
6273
  attributes: D,
6274
6274
  rules: n0,
6275
6275
  move: eM,
@@ -6336,15 +6336,15 @@ function PW(M) {
6336
6336
  timeAccuracy: t,
6337
6337
  updateValue: n
6338
6338
  } = b;
6339
- function A(_) {
6340
- _ = Object.assign(i.value, _);
6341
- let Z = null;
6339
+ function A(x) {
6340
+ x = Object.assign(i.value, x);
6341
+ let j = null;
6342
6342
  if (p.value) {
6343
- const a0 = r.value ? _ : e.value[0], G = r.value ? e.value[1] : _;
6344
- Z = { start: a0, end: G };
6343
+ const a0 = r.value ? x : e.value[0], Z = r.value ? e.value[1] : x;
6344
+ j = { start: a0, end: Z };
6345
6345
  } else
6346
- Z = _;
6347
- n(Z, {
6346
+ j = x;
6347
+ n(j, {
6348
6348
  patch: "time",
6349
6349
  targetPriority: r.value ? "start" : "end",
6350
6350
  moveToValue: !0
@@ -6355,54 +6355,54 @@ function PW(M) {
6355
6355
  ), W = u(() => ez(i.value)), m = u(() => !!i.value.isValid), f = u(() => !a.value && m.value), L = u(() => {
6356
6356
  if (!W.value)
6357
6357
  return null;
6358
- let _ = z.value.toDate(i.value);
6359
- return i.value.hours === 24 && (_ = new Date(_.getTime() - 1)), _;
6360
- }), T = u({
6358
+ let x = z.value.toDate(i.value);
6359
+ return i.value.hours === 24 && (x = new Date(x.getTime() - 1)), x;
6360
+ }), $ = u({
6361
6361
  get() {
6362
6362
  return i.value.hours;
6363
6363
  },
6364
- set(_) {
6365
- A({ hours: _ });
6364
+ set(x) {
6365
+ A({ hours: x });
6366
6366
  }
6367
- }), V = u({
6367
+ }), I = u({
6368
6368
  get() {
6369
6369
  return i.value.minutes;
6370
6370
  },
6371
- set(_) {
6372
- A({ minutes: _ });
6371
+ set(x) {
6372
+ A({ minutes: x });
6373
6373
  }
6374
6374
  }), v = u({
6375
6375
  get() {
6376
6376
  return i.value.seconds;
6377
6377
  },
6378
- set(_) {
6379
- A({ seconds: _ });
6378
+ set(x) {
6379
+ A({ seconds: x });
6380
6380
  }
6381
6381
  }), h = u({
6382
6382
  get() {
6383
6383
  return i.value.milliseconds;
6384
6384
  },
6385
- set(_) {
6386
- A({ milliseconds: _ });
6385
+ set(x) {
6386
+ A({ milliseconds: x });
6387
6387
  }
6388
- }), $ = u({
6388
+ }), T = u({
6389
6389
  get() {
6390
6390
  return i.value.hours < 12;
6391
6391
  },
6392
- set(_) {
6393
- _ = String(_).toLowerCase() == "true";
6394
- let Z = T.value;
6395
- _ && Z >= 12 ? Z -= 12 : !_ && Z < 12 && (Z += 12), A({ hours: Z });
6392
+ set(x) {
6393
+ x = String(x).toLowerCase() == "true";
6394
+ let j = $.value;
6395
+ x && j >= 12 ? j -= 12 : !x && j < 12 && (j += 12), A({ hours: j });
6396
6396
  }
6397
6397
  }), k = u(
6398
6398
  () => ou(i.value, O.value[M.position])
6399
6399
  ), X = u(() => kW.filter(
6400
- (_) => k.value.hours.some((Z) => Z.value === _.value)
6401
- )), x = u(() => xW.filter(
6402
- (_) => k.value.hours.some((Z) => Z.value === _.value)
6403
- )), Y = u(() => c.value ? k.value.hours : $.value ? X.value : x.value), Q = u(() => {
6404
- const _ = [];
6405
- return v1(X.value) && _.push({ value: !0, label: "AM" }), v1(x.value) && _.push({ value: !1, label: "PM" }), _;
6400
+ (x) => k.value.hours.some((j) => j.value === x.value)
6401
+ )), U = u(() => xW.filter(
6402
+ (x) => k.value.hours.some((j) => j.value === x.value)
6403
+ )), Q = u(() => c.value ? k.value.hours : T.value ? X.value : U.value), P = u(() => {
6404
+ const x = [];
6405
+ return v1(X.value) && x.push({ value: !0, label: "AM" }), v1(U.value) && x.push({ value: !1, label: "PM" }), x;
6406
6406
  });
6407
6407
  return {
6408
6408
  ...b,
@@ -6411,14 +6411,14 @@ function PW(M) {
6411
6411
  parts: i,
6412
6412
  isValid: m,
6413
6413
  date: L,
6414
- hours: T,
6415
- minutes: V,
6414
+ hours: $,
6415
+ minutes: I,
6416
6416
  seconds: v,
6417
6417
  milliseconds: h,
6418
6418
  options: k,
6419
- hourOptions: Y,
6420
- isAM: $,
6421
- isAMOptions: Q,
6419
+ hourOptions: Q,
6420
+ isAM: T,
6421
+ isAMOptions: P,
6422
6422
  is24hr: c
6423
6423
  };
6424
6424
  }
@@ -6446,7 +6446,7 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6446
6446
  return p?.label;
6447
6447
  });
6448
6448
  return (p, o) => (d(), R("div", {
6449
- class: I(["vc-base-select", {
6449
+ class: V(["vc-base-select", {
6450
6450
  "vc-fit-content": M.fitContent,
6451
6451
  "vc-has-icon": M.showIcon
6452
6452
  }])
@@ -6465,7 +6465,7 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6465
6465
  disabled: e.disabled
6466
6466
  }, F(e.label), 9, IW))), 128))
6467
6467
  ], 16, _W),
6468
- M.showIcon ? (d(), t0(d2, {
6468
+ M.showIcon ? (d(), c0(d2, {
6469
6469
  key: 0,
6470
6470
  name: "ChevronDown",
6471
6471
  size: "18"
@@ -6499,13 +6499,13 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6499
6499
  isAMOptions: m,
6500
6500
  is24hr: f,
6501
6501
  showHeader: L,
6502
- timeAccuracy: T
6502
+ timeAccuracy: $
6503
6503
  } = p;
6504
- return (V, v) => (d(), R("div", {
6505
- class: I(["vc-time-picker", [{ "vc-invalid": !l(e), "vc-attached": !l(i) }]])
6504
+ return (I, v) => (d(), R("div", {
6505
+ class: V(["vc-time-picker", [{ "vc-invalid": !l(e), "vc-attached": !l(i) }]])
6506
6506
  }, [
6507
6507
  H(b1, { name: "time-header" }, {
6508
- default: c0(() => [
6508
+ default: t0(() => [
6509
6509
  l(L) && l(O) ? (d(), R("div", FW, [
6510
6510
  w("span", jW, F(l(o).formatDate(l(O), "WWW")), 1),
6511
6511
  w("span", YW, F(l(o).formatDate(l(O), "MMM")), 1),
@@ -6528,7 +6528,7 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6528
6528
  class: "vc-time-select-hours",
6529
6529
  "align-right": ""
6530
6530
  }, null, 8, ["modelValue", "options"]),
6531
- l(T) > 1 ? (d(), R(r0, { key: 0 }, [
6531
+ l($) > 1 ? (d(), R(r0, { key: 0 }, [
6532
6532
  ZW,
6533
6533
  H(x2, {
6534
6534
  modelValue: l(a),
@@ -6536,10 +6536,10 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6536
6536
  modelModifiers: { number: !0 },
6537
6537
  options: l(A).minutes,
6538
6538
  class: "vc-time-select-minutes",
6539
- "align-left": l(T) === 2
6539
+ "align-left": l($) === 2
6540
6540
  }, null, 8, ["modelValue", "options", "align-left"])
6541
6541
  ], 64)) : E("", !0),
6542
- l(T) > 2 ? (d(), R(r0, { key: 1 }, [
6542
+ l($) > 2 ? (d(), R(r0, { key: 1 }, [
6543
6543
  QW,
6544
6544
  H(x2, {
6545
6545
  modelValue: l(t),
@@ -6547,10 +6547,10 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6547
6547
  modelModifiers: { number: !0 },
6548
6548
  options: l(A).seconds,
6549
6549
  class: "vc-time-select-seconds",
6550
- "align-left": l(T) === 3
6550
+ "align-left": l($) === 3
6551
6551
  }, null, 8, ["modelValue", "options", "align-left"])
6552
6552
  ], 64)) : E("", !0),
6553
- l(T) > 3 ? (d(), R(r0, { key: 2 }, [
6553
+ l($) > 3 ? (d(), R(r0, { key: 2 }, [
6554
6554
  JW,
6555
6555
  H(x2, {
6556
6556
  modelValue: l(n),
@@ -6561,7 +6561,7 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6561
6561
  "align-left": ""
6562
6562
  }, null, 8, ["modelValue", "options"])
6563
6563
  ], 64)) : E("", !0),
6564
- l(f) ? E("", !0) : (d(), t0(x2, {
6564
+ l(f) ? E("", !0) : (d(), c0(x2, {
6565
6565
  key: 3,
6566
6566
  modelValue: l(W),
6567
6567
  "onUpdate:modelValue": v[4] || (v[4] = (h) => D2(W) ? W.value = h : null),
@@ -6587,13 +6587,13 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6587
6587
  } = nz(), A = c.value ? [0, 1] : [0];
6588
6588
  return (r, i) => l(O) ? (d(), R("div", {
6589
6589
  key: 0,
6590
- class: I(`vc-container vc-bordered vc-${l(p)} vc-${l(o)}`)
6590
+ class: V(`vc-container vc-bordered vc-${l(p)} vc-${l(o)}`)
6591
6591
  }, [
6592
- (d(!0), R(r0, null, w0(l(A), (W) => (d(), t0(Pp, {
6592
+ (d(!0), R(r0, null, w0(l(A), (W) => (d(), c0(Pp, {
6593
6593
  key: W,
6594
6594
  position: W
6595
6595
  }, null, 8, ["position"]))), 128))
6596
- ], 2)) : (d(), t0(CW, {
6596
+ ], 2)) : (d(), c0(CW, {
6597
6597
  key: 1,
6598
6598
  attributes: l(b),
6599
6599
  ref_key: "calendarRef",
@@ -6602,8 +6602,8 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6602
6602
  onDaymouseenter: l(t),
6603
6603
  onDaykeydown: l(n)
6604
6604
  }, {
6605
- footer: c0(() => [
6606
- l(e) ? (d(!0), R(r0, { key: 0 }, w0(l(A), (W) => (d(), t0(Pp, {
6605
+ footer: t0(() => [
6606
+ l(e) ? (d(!0), R(r0, { key: 0 }, w0(l(A), (W) => (d(), c0(Pp, {
6607
6607
  key: W,
6608
6608
  position: W
6609
6609
  }, null, 8, ["position"]))), 128)) : E("", !0),
@@ -6628,10 +6628,10 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6628
6628
  onPopoverBeforeHide: c,
6629
6629
  onPopoverAfterHide: a
6630
6630
  } = nz();
6631
- return (t, n) => (d(), t0(az, {
6631
+ return (t, n) => (d(), c0(az, {
6632
6632
  id: l(b),
6633
6633
  placement: "bottom-start",
6634
- class: I(`vc-date-picker-content vc-${l(z)} vc-${l(p)}`),
6634
+ class: V(`vc-date-picker-content vc-${l(z)} vc-${l(p)}`),
6635
6635
  ref_key: "popoverRef",
6636
6636
  ref: o,
6637
6637
  onBeforeShow: l(e),
@@ -6639,7 +6639,7 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6639
6639
  onBeforeHide: l(c),
6640
6640
  onAfterHide: l(a)
6641
6641
  }, {
6642
- default: c0(() => [
6642
+ default: t0(() => [
6643
6643
  H(ae, j2(qb(t.$attrs)), null, 16)
6644
6644
  ]),
6645
6645
  _: 1
@@ -6658,9 +6658,9 @@ const _W = ["value"], IW = ["value", "disabled"], VW = {
6658
6658
  function pf(M, b, z, p, o, e) {
6659
6659
  const O = C0("DatePickerPopover"), c = C0("DatePickerBase");
6660
6660
  return M.$slots.default ? (d(), R(r0, { key: 0 }, [
6661
- j(M.$slots, "default", j2(qb(M.slotCtx))),
6661
+ Y(M.$slots, "default", j2(qb(M.slotCtx))),
6662
6662
  H(O, j2(qb(M.$attrs)), null, 16)
6663
- ], 64)) : (d(), t0(c, j2(V0({ key: 1 }, M.$attrs)), null, 16));
6663
+ ], 64)) : (d(), c0(c, j2(V0({ key: 1 }, M.$attrs)), null, 16));
6664
6664
  }
6665
6665
  const ne = /* @__PURE__ */ P1(zf, [["render", pf]]), of = ["data-testid"], ef = ["xlink:href"], $0 = /* @__PURE__ */ M0({
6666
6666
  __name: "r-icon",
@@ -6678,7 +6678,7 @@ const ne = /* @__PURE__ */ P1(zf, [["render", pf]]), of = ["data-testid"], ef =
6678
6678
  z.stopPropagation && O.stopPropagation(), b("click");
6679
6679
  }
6680
6680
  return (O, c) => (d(), R("svg", {
6681
- class: I(["r-icon r-icon-20", l(o)]),
6681
+ class: V(["r-icon r-icon-20", l(o)]),
6682
6682
  "data-testid": `icon-${M.icon}`,
6683
6683
  onClick: e
6684
6684
  }, [
@@ -6734,58 +6734,58 @@ const ne = /* @__PURE__ */ P1(zf, [["render", pf]]), of = ["data-testid"], ef =
6734
6734
  }), o = u(() => b.disabled ? z.value.disabled : b.loading ? z.value.loading : ""), e = u(() => b.disabled || b.loading);
6735
6735
  return (O, c) => M.link ? (d(), R("a", {
6736
6736
  key: 0,
6737
- class: I(["r-button", l(p)]),
6737
+ class: V(["r-button", l(p)]),
6738
6738
  href: M.href,
6739
6739
  role: "link"
6740
6740
  }, [
6741
- M.iconLeft ? (d(), t0($0, {
6741
+ M.iconLeft ? (d(), c0($0, {
6742
6742
  key: 0,
6743
6743
  icon: M.iconLeft
6744
6744
  }, null, 8, ["icon"])) : E("", !0),
6745
- M.icon ? (d(), t0($0, {
6745
+ M.icon ? (d(), c0($0, {
6746
6746
  key: 1,
6747
6747
  icon: M.icon
6748
6748
  }, null, 8, ["icon"])) : (d(), R(r0, { key: 2 }, [
6749
6749
  M.capitalizeFirstLetter ? (d(), R("div", cf, [
6750
- j(O.$slots, "default", {}, () => [
6750
+ Y(O.$slots, "default", {}, () => [
6751
6751
  y0("Link")
6752
6752
  ])
6753
- ])) : j(O.$slots, "default", { key: 1 }, () => [
6753
+ ])) : Y(O.$slots, "default", { key: 1 }, () => [
6754
6754
  y0("Apply")
6755
6755
  ])
6756
6756
  ], 64)),
6757
- M.iconRight ? (d(), t0($0, {
6757
+ M.iconRight ? (d(), c0($0, {
6758
6758
  key: 3,
6759
6759
  icon: M.iconRight
6760
6760
  }, null, 8, ["icon"])) : E("", !0)
6761
6761
  ], 10, Of)) : (d(), R("button", {
6762
6762
  key: 1,
6763
- class: I(["r-button", l(p)]),
6763
+ class: V(["r-button", l(p)]),
6764
6764
  disabled: l(e),
6765
6765
  title: l(o)
6766
6766
  }, [
6767
- M.loading ? (d(), t0($0, {
6767
+ M.loading ? (d(), c0($0, {
6768
6768
  key: 0,
6769
6769
  icon: "loading",
6770
- class: I(["r-is-spinning r-icon-light-gray", { "r-inline-3": !M.icon }])
6770
+ class: V(["r-is-spinning r-icon-light-gray", { "r-inline-3": !M.icon }])
6771
6771
  }, null, 8, ["class"])) : E("", !0),
6772
- M.iconLeft && !M.loading ? (d(), t0($0, {
6772
+ M.iconLeft && !M.loading ? (d(), c0($0, {
6773
6773
  key: 1,
6774
6774
  icon: M.iconLeft
6775
6775
  }, null, 8, ["icon"])) : E("", !0),
6776
- M.icon && !M.loading ? (d(), t0($0, {
6776
+ M.icon && !M.loading ? (d(), c0($0, {
6777
6777
  key: 2,
6778
6778
  icon: M.icon
6779
6779
  }, null, 8, ["icon"])) : M.icon ? E("", !0) : (d(), R(r0, { key: 3 }, [
6780
6780
  M.capitalizeFirstLetter ? (d(), R("div", af, [
6781
- j(O.$slots, "default", {}, () => [
6781
+ Y(O.$slots, "default", {}, () => [
6782
6782
  y0("Apply")
6783
6783
  ])
6784
- ])) : j(O.$slots, "default", { key: 1 }, () => [
6784
+ ])) : Y(O.$slots, "default", { key: 1 }, () => [
6785
6785
  y0("Apply")
6786
6786
  ])
6787
6787
  ], 64)),
6788
- M.iconRight && !M.loading ? (d(), t0($0, {
6788
+ M.iconRight && !M.loading ? (d(), c0($0, {
6789
6789
  key: 4,
6790
6790
  icon: M.iconRight
6791
6791
  }, null, 8, ["icon"])) : E("", !0)
@@ -6814,11 +6814,11 @@ const ne = /* @__PURE__ */ P1(zf, [["render", pf]]), of = ["data-testid"], ef =
6814
6814
  }
6815
6815
  return (e, O) => z.value ? (d(), R("div", {
6816
6816
  key: 0,
6817
- class: I(["r-alert", l(p)]),
6817
+ class: V(["r-alert", l(p)]),
6818
6818
  role: "alert"
6819
6819
  }, [
6820
6820
  M.title ? (d(), R("div", nf, [
6821
- M.icon ? (d(), t0($0, {
6821
+ M.icon ? (d(), c0($0, {
6822
6822
  key: 0,
6823
6823
  "data-testid": "alert-icon-title",
6824
6824
  icon: M.icon,
@@ -6827,17 +6827,17 @@ const ne = /* @__PURE__ */ P1(zf, [["render", pf]]), of = ["data-testid"], ef =
6827
6827
  w("h2", null, F(M.title), 1)
6828
6828
  ])) : E("", !0),
6829
6829
  w("div", Af, [
6830
- M.icon && !M.title ? (d(), t0($0, {
6830
+ M.icon && !M.title ? (d(), c0($0, {
6831
6831
  key: 0,
6832
6832
  "data-testid": "alert-icon-content",
6833
6833
  icon: M.icon,
6834
6834
  class: "r-flex-none r-ml-6 r-mr-3"
6835
6835
  }, null, 8, ["icon"])) : E("", !0),
6836
6836
  w("div", rf, [
6837
- j(e.$slots, "content")
6837
+ Y(e.$slots, "content")
6838
6838
  ])
6839
6839
  ]),
6840
- M.permanent ? E("", !0) : (d(), t0(E1, {
6840
+ M.permanent ? E("", !0) : (d(), c0(E1, {
6841
6841
  key: 1,
6842
6842
  "data-testid": "alert-close",
6843
6843
  type: "unstyled",
@@ -6933,39 +6933,39 @@ function t8(M, b, z) {
6933
6933
  if (typeof M != "function")
6934
6934
  throw new TypeError(e8);
6935
6935
  b = Yp(b) || 0, o8(z) && (n = !!z.leading, A = "maxWait" in z, e = A ? O8(Yp(z.maxWait) || 0, b) : e, r = "trailing" in z ? !!z.trailing : r);
6936
- function i($) {
6936
+ function i(T) {
6937
6937
  var k = p, X = o;
6938
- return p = o = void 0, t = $, O = M.apply(X, k), O;
6938
+ return p = o = void 0, t = T, O = M.apply(X, k), O;
6939
6939
  }
6940
- function W($) {
6941
- return t = $, c = setTimeout(L, b), n ? i($) : O;
6940
+ function W(T) {
6941
+ return t = T, c = setTimeout(L, b), n ? i(T) : O;
6942
6942
  }
6943
- function m($) {
6944
- var k = $ - a, X = $ - t, x = b - k;
6945
- return A ? c8(x, e - X) : x;
6943
+ function m(T) {
6944
+ var k = T - a, X = T - t, U = b - k;
6945
+ return A ? c8(U, e - X) : U;
6946
6946
  }
6947
- function f($) {
6948
- var k = $ - a, X = $ - t;
6947
+ function f(T) {
6948
+ var k = T - a, X = T - t;
6949
6949
  return a === void 0 || k >= b || k < 0 || A && X >= e;
6950
6950
  }
6951
6951
  function L() {
6952
- var $ = rb();
6953
- if (f($))
6954
- return T($);
6955
- c = setTimeout(L, m($));
6952
+ var T = rb();
6953
+ if (f(T))
6954
+ return $(T);
6955
+ c = setTimeout(L, m(T));
6956
6956
  }
6957
- function T($) {
6958
- return c = void 0, r && p ? i($) : (p = o = void 0, O);
6957
+ function $(T) {
6958
+ return c = void 0, r && p ? i(T) : (p = o = void 0, O);
6959
6959
  }
6960
- function V() {
6960
+ function I() {
6961
6961
  c !== void 0 && clearTimeout(c), t = 0, p = a = o = c = void 0;
6962
6962
  }
6963
6963
  function v() {
6964
- return c === void 0 ? O : T(rb());
6964
+ return c === void 0 ? O : $(rb());
6965
6965
  }
6966
6966
  function h() {
6967
- var $ = rb(), k = f($);
6968
- if (p = arguments, o = this, a = $, k) {
6967
+ var T = rb(), k = f(T);
6968
+ if (p = arguments, o = this, a = T, k) {
6969
6969
  if (c === void 0)
6970
6970
  return W(a);
6971
6971
  if (A)
@@ -6973,7 +6973,7 @@ function t8(M, b, z) {
6973
6973
  }
6974
6974
  return c === void 0 && (c = setTimeout(L, b)), O;
6975
6975
  }
6976
- return h.cancel = V, h.flush = v, h;
6976
+ return h.cancel = I, h.flush = v, h;
6977
6977
  }
6978
6978
  var a8 = t8;
6979
6979
  const n8 = /* @__PURE__ */ FM(a8);
@@ -7629,10 +7629,10 @@ var De = { exports: {} }, Se = { exports: {} };
7629
7629
  population: B[5] | 0
7630
7630
  };
7631
7631
  }
7632
- function T(q) {
7632
+ function $(q) {
7633
7633
  q && this._set(L(q));
7634
7634
  }
7635
- function V(q, B) {
7635
+ function I(q, B) {
7636
7636
  var N = B.length;
7637
7637
  if (q < B[0])
7638
7638
  return 0;
@@ -7644,13 +7644,13 @@ var De = { exports: {} }, Se = { exports: {} };
7644
7644
  S = Math.floor((J + e0) / 2), B[S] <= q ? J = S : e0 = S;
7645
7645
  return e0;
7646
7646
  }
7647
- T.prototype = {
7647
+ $.prototype = {
7648
7648
  _set: function(q) {
7649
7649
  this.name = q.name, this.abbrs = q.abbrs, this.untils = q.untils, this.offsets = q.offsets, this.population = q.population;
7650
7650
  },
7651
7651
  _index: function(q) {
7652
7652
  var B = +q, N = this.untils, S;
7653
- if (S = V(B, N), S >= 0)
7653
+ if (S = I(B, N), S >= 0)
7654
7654
  return S;
7655
7655
  },
7656
7656
  countries: function() {
@@ -7683,10 +7683,10 @@ var De = { exports: {} }, Se = { exports: {} };
7683
7683
  var B = q.toTimeString(), N = B.match(/\([a-z ]+\)/i);
7684
7684
  N && N[0] ? (N = N[0].match(/[A-Z]/g), N = N ? N.join("") : void 0) : (N = B.match(/[A-Z]{3,5}/g), N = N ? N[0] : void 0), N === "GMT" && (N = void 0), this.at = +q, this.abbr = N, this.offset = q.getTimezoneOffset();
7685
7685
  }
7686
- function $(q) {
7686
+ function T(q) {
7687
7687
  this.zone = q, this.offsetScore = 0, this.abbrScore = 0;
7688
7688
  }
7689
- $.prototype.scoreOffsetAt = function(q) {
7689
+ T.prototype.scoreOffsetAt = function(q) {
7690
7690
  this.offsetScore += Math.abs(this.zone.utcOffset(q.at) - q.offset), this.zone.abbr(q.at).replace(/[^A-Z]/g, "") !== q.abbr && this.abbrScore++;
7691
7691
  };
7692
7692
  function k(q, B) {
@@ -7702,15 +7702,15 @@ var De = { exports: {} }, Se = { exports: {} };
7702
7702
  S.push(new h(new Date(q + o0, 0, 1))), S.push(new h(new Date(q + o0, 6, 1)));
7703
7703
  return S;
7704
7704
  }
7705
- function x(q, B) {
7705
+ function U(q, B) {
7706
7706
  return q.offsetScore !== B.offsetScore ? q.offsetScore - B.offsetScore : q.abbrScore !== B.abbrScore ? q.abbrScore - B.abbrScore : q.zone.population !== B.zone.population ? B.zone.population - q.zone.population : B.zone.name.localeCompare(q.zone.name);
7707
7707
  }
7708
- function Y(q, B) {
7708
+ function Q(q, B) {
7709
7709
  var N, S;
7710
7710
  for (W(B), N = 0; N < B.length; N++)
7711
7711
  S = B[N], c[S] = c[S] || {}, c[S][q] = !0;
7712
7712
  }
7713
- function Q(q) {
7713
+ function P(q) {
7714
7714
  var B = q.length, N = {}, S = [], J = {}, e0, l0, o0, s0;
7715
7715
  for (e0 = 0; e0 < B; e0++)
7716
7716
  if (o0 = q[e0].offset, !J.hasOwnProperty(o0)) {
@@ -7723,7 +7723,7 @@ var De = { exports: {} }, Se = { exports: {} };
7723
7723
  N.hasOwnProperty(e0) && S.push(O[e0]);
7724
7724
  return S;
7725
7725
  }
7726
- function _() {
7726
+ function x() {
7727
7727
  try {
7728
7728
  var q = Intl.DateTimeFormat().resolvedOptions().timeZone;
7729
7729
  if (q && q.length > 3) {
@@ -7734,29 +7734,29 @@ var De = { exports: {} }, Se = { exports: {} };
7734
7734
  }
7735
7735
  } catch {
7736
7736
  }
7737
- var N = X(), S = N.length, J = Q(N), e0 = [], l0, o0, s0;
7737
+ var N = X(), S = N.length, J = P(N), e0 = [], l0, o0, s0;
7738
7738
  for (o0 = 0; o0 < J.length; o0++) {
7739
- for (l0 = new $(z0(J[o0])), s0 = 0; s0 < S; s0++)
7739
+ for (l0 = new T(z0(J[o0])), s0 = 0; s0 < S; s0++)
7740
7740
  l0.scoreOffsetAt(N[s0]);
7741
7741
  e0.push(l0);
7742
7742
  }
7743
- return e0.sort(x), e0.length > 0 ? e0[0].zone.name : void 0;
7743
+ return e0.sort(U), e0.length > 0 ? e0[0].zone.name : void 0;
7744
7744
  }
7745
- function Z(q) {
7746
- return (!a || q) && (a = _()), a;
7745
+ function j(q) {
7746
+ return (!a || q) && (a = x()), a;
7747
7747
  }
7748
7748
  function a0(q) {
7749
7749
  return (q || "").toLowerCase().replace(/\//g, "_");
7750
7750
  }
7751
- function G(q) {
7751
+ function Z(q) {
7752
7752
  var B, N, S, J;
7753
7753
  for (typeof q == "string" && (q = [q]), B = 0; B < q.length; B++)
7754
- S = q[B].split("|"), N = S[0], J = a0(N), p[J] = q[B], O[J] = N, Y(J, S[2].split(" "));
7754
+ S = q[B].split("|"), N = S[0], J = a0(N), p[J] = q[B], O[J] = N, Q(J, S[2].split(" "));
7755
7755
  }
7756
7756
  function z0(q, B) {
7757
7757
  q = a0(q);
7758
7758
  var N = p[q], S;
7759
- return N instanceof T ? N : typeof N == "string" ? (N = new T(N), p[q] = N, N) : o[q] && B !== z0 && (S = z0(o[q], z0)) ? (N = p[q] = new T(), N._set(S), N.name = O[q], N) : null;
7759
+ return N instanceof $ ? N : typeof N == "string" ? (N = new $(N), p[q] = N, N) : o[q] && B !== z0 && (S = z0(o[q], z0)) ? (N = p[q] = new $(), N._set(S), N.name = O[q], N) : null;
7760
7760
  }
7761
7761
  function q0() {
7762
7762
  var q, B = [];
@@ -7784,7 +7784,7 @@ var De = { exports: {} }, Se = { exports: {} };
7784
7784
  function n0(q) {
7785
7785
  return q = q.toUpperCase(), e[q] || null;
7786
7786
  }
7787
- function U(q, B) {
7787
+ function K(q, B) {
7788
7788
  if (q = n0(q), !q) return null;
7789
7789
  var N = q.zones.sort();
7790
7790
  return B ? N.map(function(S) {
@@ -7796,7 +7796,7 @@ var De = { exports: {} }, Se = { exports: {} };
7796
7796
  }) : N;
7797
7797
  }
7798
7798
  function X0(q) {
7799
- G(q.zones), W0(q.links), D(q.countries), b0.dataVersion = q.version;
7799
+ Z(q.zones), W0(q.links), D(q.countries), b0.dataVersion = q.version;
7800
7800
  }
7801
7801
  function i0(q) {
7802
7802
  return i0.didShowError || (i0.didShowError = !0, L0("moment.tz.zoneExists('" + q + "') has been deprecated in favor of !moment.tz.zone('" + q + "')")), !!z0(q);
@@ -7812,7 +7812,7 @@ var De = { exports: {} }, Se = { exports: {} };
7812
7812
  var B = Array.prototype.slice.call(arguments, 0, -1), N = arguments[arguments.length - 1], S = b.utc.apply(null, B), J;
7813
7813
  return !b.isMoment(q) && g0(S) && (J = z0(N)) && S.add(J.parse(S), "minutes"), S.tz(N), S;
7814
7814
  }
7815
- b0.version = z, b0.dataVersion = "", b0._zones = p, b0._links = o, b0._names = O, b0._countries = e, b0.add = G, b0.link = W0, b0.load = X0, b0.zone = z0, b0.zoneExists = i0, b0.guess = Z, b0.names = q0, b0.Zone = T, b0.unpack = L, b0.unpackBase60 = i, b0.needsOffset = g0, b0.moveInvalidForward = !0, b0.moveAmbiguousForward = !1, b0.countries = T0, b0.zonesForCountry = U;
7815
+ b0.version = z, b0.dataVersion = "", b0._zones = p, b0._links = o, b0._names = O, b0._countries = e, b0.add = Z, b0.link = W0, b0.load = X0, b0.zone = z0, b0.zoneExists = i0, b0.guess = j, b0.names = q0, b0.Zone = $, b0.unpack = L, b0.unpackBase60 = i, b0.needsOffset = g0, b0.moveInvalidForward = !0, b0.moveAmbiguousForward = !1, b0.countries = T0, b0.zonesForCountry = K;
7816
7816
  var d0 = b.fn;
7817
7817
  b.tz = b0, b.defaultZone = null, b.updateOffset = function(q, B) {
7818
7818
  var N = b.defaultZone, S;
@@ -9132,7 +9132,7 @@ const iM = {}, JB = {
9132
9132
  }), null, 16), [
9133
9133
  [l(Je), M.lazy]
9134
9134
  ]),
9135
- j(a.$slots, "loading", {}, () => [
9135
+ Y(a.$slots, "loading", {}, () => [
9136
9136
  I0(w("div", bN, null, 512), [
9137
9137
  [H1, e.value]
9138
9138
  ])
@@ -9173,12 +9173,12 @@ const iM = {}, JB = {
9173
9173
  return z[o % z.length];
9174
9174
  });
9175
9175
  return (o, e) => (d(), R("div", {
9176
- class: I(["r-avatar", { "r-avatar-description": M.description }])
9176
+ class: V(["r-avatar", { "r-avatar-description": M.description }])
9177
9177
  }, [
9178
9178
  w("div", zN, [
9179
9179
  M.initials ? (d(), R("div", {
9180
9180
  key: 0,
9181
- class: I(["r-avatar-initials", ["r-avatar-initials-" + l(p)]])
9181
+ class: V(["r-avatar-initials", ["r-avatar-initials-" + l(p)]])
9182
9182
  }, [
9183
9183
  w("span", pN, F(M.initials), 1)
9184
9184
  ], 2)) : E("", !0),
@@ -9199,7 +9199,7 @@ const iM = {}, JB = {
9199
9199
  ]),
9200
9200
  M.description ? (d(), R("div", ON, [
9201
9201
  w("p", null, F(M.description), 1),
9202
- j(o.$slots, "default")
9202
+ Y(o.$slots, "default")
9203
9203
  ])) : E("", !0)
9204
9204
  ], 2));
9205
9205
  }
@@ -9216,11 +9216,11 @@ const iM = {}, JB = {
9216
9216
  [`r-badge-${z.type}`]: !0
9217
9217
  }));
9218
9218
  return (o, e) => (d(), R("span", {
9219
- class: I(["r-component r-badge", l(p)]),
9219
+ class: V(["r-component r-badge", l(p)]),
9220
9220
  onClick: e[2] || (e[2] = (O) => b("click"))
9221
9221
  }, [
9222
- j(o.$slots, "default"),
9223
- M.close ? (d(), t0($0, {
9222
+ Y(o.$slots, "default"),
9223
+ M.close ? (d(), c0($0, {
9224
9224
  key: 0,
9225
9225
  "data-testid": "close-icon",
9226
9226
  "aria-hidden": "true",
@@ -9241,10 +9241,10 @@ const iM = {}, JB = {
9241
9241
  "r-button-group-fluid": b.fluid
9242
9242
  }));
9243
9243
  return (p, o) => (d(), R("div", {
9244
- class: I(["r-button-group", l(z)]),
9244
+ class: V(["r-button-group", l(z)]),
9245
9245
  role: "group"
9246
9246
  }, [
9247
- j(p.$slots, "default")
9247
+ Y(p.$slots, "default")
9248
9248
  ], 2));
9249
9249
  }
9250
9250
  });
@@ -9289,15 +9289,15 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9289
9289
  b("update:modelValue", O());
9290
9290
  };
9291
9291
  return (a, t) => (d(), R("div", {
9292
- class: I(["r-checkbox", { "r-is-error": l(p) }]),
9292
+ class: V(["r-checkbox", { "r-is-error": l(p) }]),
9293
9293
  role: "checkbox",
9294
9294
  "aria-checked": l(o)
9295
9295
  }, [
9296
9296
  w("label", {
9297
- class: I(["r-field-label r-field-label-toggle", { "r-is-disabled": M.disabled }]),
9297
+ class: V(["r-field-label r-field-label-toggle", { "r-is-disabled": M.disabled }]),
9298
9298
  for: M.id
9299
9299
  }, [
9300
- j(a.$slots, "label", {}, () => [
9300
+ Y(a.$slots, "label", {}, () => [
9301
9301
  y0(F(M.label), 1)
9302
9302
  ])
9303
9303
  ], 10, nN),
@@ -9404,7 +9404,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9404
9404
  masks: M.masks,
9405
9405
  "onUpdate:modelValue": e
9406
9406
  }), {
9407
- default: c0(({ inputValue: r, inputEvents: i }) => [
9407
+ default: t0(({ inputValue: r, inputEvents: i }) => [
9408
9408
  H(A, {
9409
9409
  value: r,
9410
9410
  "input-events": i,
@@ -9546,27 +9546,27 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9546
9546
  ([, { relativeFilterValue: h }]) => z.modelValue !== void 0 && p(z.modelValue) && h === z.modelValue.relativeFilterValue
9547
9547
  );
9548
9548
  if (v) {
9549
- const [h, $] = v;
9549
+ const [h, T] = v;
9550
9550
  return {
9551
9551
  presetName: h,
9552
9552
  presetLabel: g3[h],
9553
- ...$
9553
+ ...T
9554
9554
  };
9555
9555
  }
9556
9556
  if (z.modelValue)
9557
- return T(z.modelValue);
9557
+ return $(z.modelValue);
9558
9558
  }), A = u(() => n.value && "presetName" in n.value && !!n.value.presetName), r = u(() => {
9559
9559
  if (!z.modelValue)
9560
9560
  return null;
9561
9561
  if (t.value && A.value) {
9562
- const $ = n.value;
9562
+ const T = n.value;
9563
9563
  return {
9564
- ...$,
9565
- start: $.start,
9566
- end: $.end
9564
+ ...T,
9565
+ start: T.start,
9566
+ end: T.end
9567
9567
  };
9568
9568
  }
9569
- const { start: v, end: h } = T(z.modelValue);
9569
+ const { start: v, end: h } = $(z.modelValue);
9570
9570
  return {
9571
9571
  // the start and end some non-default relative value
9572
9572
  // we can't to parse custom relative values
@@ -9602,8 +9602,8 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9602
9602
  const h = O.value[v];
9603
9603
  if (m3.includes(v))
9604
9604
  return n1(h.start, R1.orderDate, z.timezone);
9605
- const $ = (k) => n1(k, R1.shortDate, z.timezone);
9606
- return `${$(h.start)} — ${$(h.end)}`;
9605
+ const T = (k) => n1(k, R1.shortDate, z.timezone);
9606
+ return `${T(h.start)} — ${T(h.end)}`;
9607
9607
  }, f = (v) => {
9608
9608
  const h = n1(
9609
9609
  v,
@@ -9613,7 +9613,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9613
9613
  return !!(h && /[0-9]{4}-[0-9]{2}-[0-9]{2}/.test(h));
9614
9614
  }, L = () => {
9615
9615
  o.value?.popper && o.value.popper.toggle();
9616
- }, T = (v) => {
9616
+ }, $ = (v) => {
9617
9617
  if (!v)
9618
9618
  return null;
9619
9619
  if (typeof v == "string") {
@@ -9622,11 +9622,11 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9622
9622
  );
9623
9623
  if (h)
9624
9624
  return h;
9625
- const [$, k] = v.split("..");
9626
- return { start: $, end: k };
9625
+ const [T, k] = v.split("..");
9626
+ return { start: T, end: k };
9627
9627
  }
9628
9628
  return v;
9629
- }, V = (v) => {
9629
+ }, I = (v) => {
9630
9630
  const h = O.value[v];
9631
9631
  b("preset-select", {
9632
9632
  isRelative: !0,
@@ -9638,24 +9638,24 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9638
9638
  });
9639
9639
  };
9640
9640
  return (v, h) => {
9641
- const $ = C0("r-button"), k = C0("r-popper"), X = C0("r-button-group");
9642
- return d(), t0(X, {
9643
- class: I({ "r-button-group-single": !M.showPresets })
9641
+ const T = C0("r-button"), k = C0("r-popper"), X = C0("r-button-group");
9642
+ return d(), c0(X, {
9643
+ class: V({ "r-button-group-single": !M.showPresets })
9644
9644
  }, {
9645
- default: c0(() => [
9646
- H($, {
9645
+ default: t0(() => [
9646
+ H(T, {
9647
9647
  "icon-left": "calendar",
9648
9648
  "capitalize-first-letter": !1,
9649
9649
  disabled: M.disabled,
9650
- class: I({ "r-date-range-button": M.showPresets }),
9651
- onClick: h[0] || (h[0] = (x) => M.calendarToggle())
9650
+ class: V({ "r-date-range-button": M.showPresets }),
9651
+ onClick: h[0] || (h[0] = (U) => M.calendarToggle())
9652
9652
  }, {
9653
- default: c0(() => [
9653
+ default: t0(() => [
9654
9654
  l(i) ? (d(), R("span", uN, F(l(i)), 1)) : (d(), R("span", WN, F(M.placeholder), 1))
9655
9655
  ]),
9656
9656
  _: 1
9657
9657
  }, 8, ["disabled", "class"]),
9658
- M.showPresets ? (d(), t0(k, {
9658
+ M.showPresets ? (d(), c0(k, {
9659
9659
  key: 0,
9660
9660
  ref_key: "presets",
9661
9661
  ref: o,
@@ -9664,24 +9664,24 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9664
9664
  offset: 6,
9665
9665
  disabled: M.disabled
9666
9666
  }, {
9667
- trigger: c0(() => [
9668
- H($, {
9667
+ trigger: t0(() => [
9668
+ H(T, {
9669
9669
  disabled: M.disabled,
9670
9670
  icon: "actions",
9671
9671
  onClick: L
9672
9672
  }, null, 8, ["disabled"])
9673
9673
  ]),
9674
- content: c0(() => [
9674
+ content: t0(() => [
9675
9675
  w("div", fN, [
9676
9676
  w("div", RN, [
9677
9677
  w("div", LN, [
9678
- (d(!0), R(r0, null, w0(l(e), (x) => (d(), R("a", {
9679
- key: x,
9678
+ (d(!0), R(r0, null, w0(l(e), (U) => (d(), R("a", {
9679
+ key: U,
9680
9680
  class: "r-popover-menu-item r-range-picker-item",
9681
- onClick: (Y) => V(x)
9681
+ onClick: (Q) => I(U)
9682
9682
  }, [
9683
- w("strong", null, F(W(x)) + " ", 1),
9684
- w("span", hN, F(m(x)), 1)
9683
+ w("strong", null, F(W(U)) + " ", 1),
9684
+ w("span", hN, F(m(U)), 1)
9685
9685
  ], 8, vN))), 128))
9686
9686
  ])
9687
9687
  ])
@@ -9738,19 +9738,19 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9738
9738
  };
9739
9739
  }), A = u(() => z.timePicker ? "dateTime" : "date"), r = (i) => {
9740
9740
  let W = !0;
9741
- const m = i.isRelative ?? !1, f = i.relativeFilterValue ?? null, L = A0.isMoment(i.start) ? i.start : A0(i.start).tz(z.timezone), T = A0.isMoment(i.end) ? i.end : A0(i.end).tz(z.timezone);
9741
+ const m = i.isRelative ?? !1, f = i.relativeFilterValue ?? null, L = A0.isMoment(i.start) ? i.start : A0(i.start).tz(z.timezone), $ = A0.isMoment(i.end) ? i.end : A0(i.end).tz(z.timezone);
9742
9742
  if (t.value) {
9743
- const { start: V, end: v } = t.value, h = A0(V).tz(z.timezone), $ = A0(v).tz(z.timezone), k = z.timePicker ? null : "day";
9744
- W = !L.isSame(h, k) || !T.isSame($, k);
9743
+ const { start: I, end: v } = t.value, h = A0(I).tz(z.timezone), T = A0(v).tz(z.timezone), k = z.timePicker ? null : "day";
9744
+ W = !L.isSame(h, k) || !$.isSame(T, k);
9745
9745
  }
9746
9746
  if (W) {
9747
- const V = {
9747
+ const I = {
9748
9748
  isRelative: m,
9749
9749
  relativeFilterValue: f,
9750
9750
  start: L.toDate(),
9751
- end: T.toDate()
9751
+ end: $.toDate()
9752
9752
  };
9753
- b("update:modelValue", V);
9753
+ b("update:modelValue", I);
9754
9754
  }
9755
9755
  };
9756
9756
  return (i, W) => {
@@ -9776,7 +9776,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9776
9776
  mode: l(A),
9777
9777
  "onUpdate:modelValue": r
9778
9778
  }), {
9779
- default: c0(({ togglePopover: f }) => [
9779
+ default: t0(({ togglePopover: f }) => [
9780
9780
  H(mN, {
9781
9781
  "model-value": l(t),
9782
9782
  "calendar-toggle": f,
@@ -9852,13 +9852,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9852
9852
  return A0.isMoment(z.modelValue) && (console.log(
9853
9853
  `You are passing a moment instance (${z.modelValue.toISOString()}) to r-date-input. It is recommended to pass a native Date instance instead (and using timezone property for dealing with timezones)`
9854
9854
  ), b("update:modelValue", z.modelValue.toDate())), (t, n) => (d(), R("div", {
9855
- class: I(["r-field", { "r-is-error": l(o) }])
9855
+ class: V(["r-field", { "r-is-error": l(o) }])
9856
9856
  }, [
9857
9857
  M.label ? (d(), R("label", NN, F(M.label), 1)) : E("", !0),
9858
- l(e) ? (d(), t0(BN, V0({
9858
+ l(e) ? (d(), c0(BN, V0({
9859
9859
  key: 1,
9860
9860
  "model-value": M.modelValue
9861
- }, l(O), { "onUpdate:modelValue": a }), null, 16, ["model-value"])) : (d(), t0(dN, V0({ key: 2 }, l(O), {
9861
+ }, l(O), { "onUpdate:modelValue": a }), null, 16, ["model-value"])) : (d(), c0(dN, V0({ key: 2 }, l(O), {
9862
9862
  "model-value": M.modelValue,
9863
9863
  "model-config": l(c),
9864
9864
  type: M.type,
@@ -9908,7 +9908,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9908
9908
  disabled: M.disabled,
9909
9909
  onChange: B0(O, ["stop"])
9910
9910
  }, null, 40, wN),
9911
- j(c.$slots, "default", {
9911
+ Y(c.$slots, "default", {
9912
9912
  openFileBrowser: o,
9913
9913
  setFocus: e
9914
9914
  })
@@ -9949,10 +9949,10 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9949
9949
  ), (Number(b.gap) > 12 || Array.isArray(b.gap.split(",")) && b.gap.split(",").some((p) => Number(p) > 12)) && console.warn(
9950
9950
  `Revel[RFlex]: 'gap' prop only covers 12 sizes. Received: ${b.gap}`
9951
9951
  ), (p, o) => (d(), R("div", {
9952
- class: I(["r-flex-layout", l(z)]),
9952
+ class: V(["r-flex-layout", l(z)]),
9953
9953
  "data-testid": "r-flex-layout"
9954
9954
  }, [
9955
- j(p.$slots, "default")
9955
+ Y(p.$slots, "default")
9956
9956
  ], 2));
9957
9957
  }
9958
9958
  }), CN = /* @__PURE__ */ M0({
@@ -9976,9 +9976,9 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9976
9976
  return Number(b.span) > 12 && console.warn(
9977
9977
  `Revel[RFlexItem]: 'span' prop only covers 12 columns. Received: ${b.span}`
9978
9978
  ), (o, e) => (d(), R("div", {
9979
- class: I(["r-flex-layout-item", l(p)])
9979
+ class: V(["r-flex-layout-item", l(p)])
9980
9980
  }, [
9981
- j(o.$slots, "default")
9981
+ Y(o.$slots, "default")
9982
9982
  ], 2));
9983
9983
  }
9984
9984
  }), DN = /* @__PURE__ */ M0({
@@ -10007,10 +10007,10 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10007
10007
  ), Number(b.gap) > 12 && console.warn(
10008
10008
  `Revel[RGrid]: 'gap' prop only covers 12 sizes. Received: ${b.gap}`
10009
10009
  ), (p, o) => (d(), R("div", {
10010
- class: I(["r-grid-layout", l(z)]),
10010
+ class: V(["r-grid-layout", l(z)]),
10011
10011
  "data-testid": "r-grid-layout"
10012
10012
  }, [
10013
- j(p.$slots, "default")
10013
+ Y(p.$slots, "default")
10014
10014
  ], 2));
10015
10015
  }
10016
10016
  }), SN = /* @__PURE__ */ M0({
@@ -10046,16 +10046,16 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10046
10046
  ), (O, c) => (d(), R(r0, null, [
10047
10047
  l(o) ? (d(), R("div", {
10048
10048
  key: 0,
10049
- class: I(["r-grid-layout-cell is-offset", l(o)])
10049
+ class: V(["r-grid-layout-cell is-offset", l(o)])
10050
10050
  }, null, 2)) : E("", !0),
10051
10051
  w("div", {
10052
- class: I(["r-grid-layout-cell", l(p)])
10052
+ class: V(["r-grid-layout-cell", l(p)])
10053
10053
  }, [
10054
- j(O.$slots, "default")
10054
+ Y(O.$slots, "default")
10055
10055
  ], 2),
10056
10056
  l(e) ? (d(), R("div", {
10057
10057
  key: 1,
10058
- class: I(["r-grid-layout-cell is-wrap", l(e)])
10058
+ class: V(["r-grid-layout-cell is-wrap", l(e)])
10059
10059
  }, null, 2)) : E("", !0)
10060
10060
  ], 64));
10061
10061
  }
@@ -10117,65 +10117,68 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10117
10117
  "right-icon-click"
10118
10118
  ],
10119
10119
  setup(M, { expose: b, emit: z }) {
10120
- const p = M, o = T3(), e = O0(null), O = O0(null), { validateErrorMessages: c, isInvalid: a } = pM(p.validate), t = u(() => !p.multiline && (p.leftIcon || p.rightIcon || p.leftLabel || p.rightLabel || o["right-button"])), n = u(() => {
10121
- const x = {};
10122
- return p.leftIcon && (x["r-has-icon-left"] = !0), p.rightIcon && (x["r-has-icon-right"] = !0), x;
10123
- }), A = u(() => p.password ? "password" : p.numeric ? "number" : "text"), r = u(() => p.autoComplete || `new-${p.name}`), i = u(() => `(${p.modelValue ? Number(p.maxLength) - String(p.modelValue).length : p.maxLength} characters left.)`);
10124
- function W(x) {
10125
- p.autoResize && e.value && k(e.value);
10126
- const Y = x.target.value;
10127
- z("update:modelValue", Y);
10128
- }
10129
- function m(x) {
10130
- z("update:modelValue", x.target.value);
10120
+ const p = M, o = T3(), e = O0(null), O = O0(null), { validateErrorMessages: c, isInvalid: a } = pM(p.validate), t = O0(!1), n = u(() => !p.multiline && (p.leftIcon || p.rightIcon || p.leftLabel || p.rightLabel || p.password || o["right-button"])), A = u(() => {
10121
+ const P = {};
10122
+ return p.leftIcon && (P["r-has-icon-left"] = !0), (p.rightIcon || p.password) && (P["r-has-icon-right"] = !0), P;
10123
+ }), r = u(() => p.password ? "password" : p.numeric ? "number" : "text"), i = u(() => p.autoComplete || `new-${p.name}`), W = u(() => `(${p.modelValue ? Number(p.maxLength) - String(p.modelValue).length : p.maxLength} characters left.)`);
10124
+ function m(P) {
10125
+ p.autoResize && e.value && X(e.value);
10126
+ const x = P.target.value;
10127
+ z("update:modelValue", x);
10128
+ }
10129
+ function f(P) {
10130
+ z("update:modelValue", P.target.value);
10131
10131
  }
10132
- function f() {
10132
+ function L() {
10133
10133
  z("key-submit");
10134
10134
  }
10135
- function L(x) {
10136
- z("key-press", x);
10137
- }
10138
- function T(x) {
10139
- z("key-down", x);
10135
+ function $(P) {
10136
+ z("key-press", P);
10140
10137
  }
10141
- function V() {
10142
- const x = O.value || e.value;
10143
- x && x.focus();
10138
+ function I(P) {
10139
+ z("key-down", P);
10144
10140
  }
10145
10141
  function v() {
10146
- const x = O.value || e.value;
10147
- x && x.blur(), z("blur");
10142
+ const P = O.value || e.value;
10143
+ P && P.focus();
10148
10144
  }
10149
10145
  function h() {
10150
- p.autoHighlightOnFocus && X(), z("focus");
10146
+ const P = O.value || e.value;
10147
+ P && P.blur(), z("blur");
10151
10148
  }
10152
- function $() {
10149
+ function T() {
10150
+ p.autoHighlightOnFocus && Q(), z("focus");
10151
+ }
10152
+ function k() {
10153
10153
  z("click");
10154
10154
  }
10155
- function k(x) {
10156
- x.style.height = "auto", x.style.height = `${x.scrollHeight}px`;
10155
+ function X(P) {
10156
+ P.style.height = "auto", P.style.height = `${P.scrollHeight}px`;
10157
10157
  }
10158
- function X() {
10158
+ function U() {
10159
+ O.value && (O.value.type = O.value.type === "password" ? "text" : "password", t.value = !t.value);
10160
+ }
10161
+ function Q() {
10159
10162
  L1(() => {
10160
10163
  O.value?.select();
10161
10164
  });
10162
10165
  }
10163
10166
  return b({
10164
- focus: h,
10165
- blur: v,
10166
- highlight: X,
10167
- getFocus: V
10167
+ focus: T,
10168
+ blur: h,
10169
+ highlight: Q,
10170
+ getFocus: v
10168
10171
  }), B1(() => {
10169
- p.autoFocus && V(), p.autoHighlight && X(), p.autoResize && e.value && k(e.value);
10170
- }), (x, Y) => (d(), R("div", {
10171
- class: I(["r-field", { "r-is-error": l(a) }])
10172
+ p.autoFocus && v(), p.autoHighlight && Q(), p.autoResize && e.value && X(e.value);
10173
+ }), (P, x) => (d(), R("div", {
10174
+ class: V(["r-field", { "r-is-error": l(a) }])
10172
10175
  }, [
10173
10176
  M.label ? (d(), R("label", {
10174
10177
  key: 0,
10175
10178
  for: M.name,
10176
10179
  class: "r-field-label"
10177
10180
  }, F(M.label), 9, EN)) : E("", !0),
10178
- l(t) ? E("", !0) : (d(), R(r0, { key: 1 }, [
10181
+ l(n) ? E("", !0) : (d(), R(r0, { key: 1 }, [
10179
10182
  M.multiline ? M.multiline && M.submitOnEnter ? I0((d(), R("textarea", V0({
10180
10183
  key: 1,
10181
10184
  id: M.name,
@@ -10186,13 +10189,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10186
10189
  maxlength: M.maxLength,
10187
10190
  rows: M.rows,
10188
10191
  name: M.name
10189
- }, x.$attrs, {
10190
- onInput: W,
10192
+ }, P.$attrs, {
10193
+ onInput: m,
10191
10194
  onKeydown: [
10192
- D0(B0(f, ["exact", "prevent"]), ["enter"]),
10193
- T
10195
+ D0(B0(L, ["exact", "prevent"]), ["enter"]),
10196
+ I
10194
10197
  ],
10195
- onKeyup: L
10198
+ onKeyup: $
10196
10199
  }, qM(M.inputEvents, !0)), [
10197
10200
  y0(`
10198
10201
  `)
@@ -10208,13 +10211,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10208
10211
  maxlength: M.maxLength,
10209
10212
  rows: M.rows,
10210
10213
  name: M.name
10211
- }, x.$attrs, {
10212
- onInput: W,
10214
+ }, P.$attrs, {
10215
+ onInput: m,
10213
10216
  onKeydown: [
10214
- D0(f, ["enter"]),
10215
- T
10217
+ D0(L, ["enter"]),
10218
+ I
10216
10219
  ],
10217
- onKeyup: L
10220
+ onKeyup: $
10218
10221
  }), null, 16, PN)), [
10219
10222
  [l(V2)]
10220
10223
  ]) : E("", !0) : I0((d(), R("input", V0({
@@ -10224,37 +10227,37 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10224
10227
  ref: O,
10225
10228
  value: M.modelValue,
10226
10229
  class: "r-field-input",
10227
- type: l(A),
10230
+ type: l(r),
10228
10231
  name: M.name,
10229
10232
  maxlength: M.maxLength,
10230
- autocomplete: l(r)
10231
- }, x.$attrs, {
10232
- onInput: W,
10233
+ autocomplete: l(i)
10234
+ }, P.$attrs, {
10235
+ onInput: m,
10233
10236
  onKeyup: [
10234
- D0(f, ["enter"]),
10235
- L
10237
+ D0(L, ["enter"]),
10238
+ $
10236
10239
  ],
10237
- onKeydown: T,
10238
- onFocus: h,
10239
- onBlur: Y[0] || (Y[0] = (Q) => z("blur")),
10240
- onClick: $
10240
+ onKeydown: I,
10241
+ onFocus: T,
10242
+ onBlur: x[0] || (x[0] = (j) => z("blur")),
10243
+ onClick: k
10241
10244
  }, qM(M.inputEvents, !0)), null, 16, kN)), [
10242
10245
  [l(V2)]
10243
10246
  ])
10244
10247
  ], 64)),
10245
- l(t) ? (d(), R("div", _N, [
10248
+ l(n) ? (d(), R("div", _N, [
10246
10249
  M.leftLabel ? (d(), R("div", IN, F(M.leftLabel), 1)) : E("", !0),
10247
10250
  w("div", {
10248
- class: I(["r-field-control", l(n)])
10251
+ class: V(["r-field-control", l(A)])
10249
10252
  }, [
10250
- M.leftIcon ? (d(), t0($0, {
10253
+ M.leftIcon ? (d(), c0($0, {
10251
10254
  key: 0,
10252
10255
  icon: M.leftIcon,
10253
- class: I({
10256
+ class: V({
10254
10257
  "r-cursor-pointer": M.leftIconClickPointer,
10255
10258
  "r-is-spinning": M.leftIconSpinning
10256
10259
  }),
10257
- onClick: Y[1] || (Y[1] = (Q) => z("left-icon-click"))
10260
+ onClick: x[1] || (x[1] = (j) => z("left-icon-click"))
10258
10261
  }, null, 8, ["icon", "class"])) : E("", !0),
10259
10262
  I0(w("input", V0({
10260
10263
  id: M.name,
@@ -10262,44 +10265,49 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10262
10265
  ref: O,
10263
10266
  class: "r-field-input",
10264
10267
  value: M.modelValue,
10265
- type: l(A),
10268
+ type: l(r),
10266
10269
  name: M.name,
10267
10270
  maxlength: M.maxLength,
10268
- autocomplete: l(r)
10269
- }, x.$attrs, {
10270
- onInput: m,
10271
+ autocomplete: l(i)
10272
+ }, P.$attrs, {
10273
+ onInput: f,
10271
10274
  onKeyup: [
10272
- D0(f, ["enter"]),
10273
- L
10275
+ D0(L, ["enter"]),
10276
+ $
10274
10277
  ],
10275
- onKeydown: T,
10276
- onFocus: h,
10277
- onBlur: Y[2] || (Y[2] = (Q) => z("blur")),
10278
- onClick: $
10278
+ onKeydown: I,
10279
+ onFocus: T,
10280
+ onBlur: x[2] || (x[2] = (j) => z("blur")),
10281
+ onClick: k
10279
10282
  }, qM(M.inputEvents, !0)), null, 16, VN), [
10280
10283
  [l(V2)]
10281
10284
  ]),
10282
- M.rightIcon ? (d(), t0($0, {
10285
+ M.password ? (d(), c0($0, {
10283
10286
  key: 1,
10287
+ icon: t.value ? "eye-closed" : "eye",
10288
+ class: "r-cursor-pointer",
10289
+ onClick: U
10290
+ }, null, 8, ["icon"])) : M.rightIcon ? (d(), c0($0, {
10291
+ key: 2,
10284
10292
  icon: M.rightIcon,
10285
- class: I({
10293
+ class: V({
10286
10294
  "r-cursor-pointer": M.rightIconClickPointer,
10287
10295
  "r-is-spinning": M.rightIconSpinning
10288
10296
  }),
10289
- onClick: Y[3] || (Y[3] = (Q) => z("right-icon-click"))
10297
+ onClick: x[3] || (x[3] = (j) => z("right-icon-click"))
10290
10298
  }, null, 8, ["icon", "class"])) : E("", !0)
10291
10299
  ], 2),
10292
- j(x.$slots, "right-button"),
10300
+ Y(P.$slots, "right-button"),
10293
10301
  M.rightLabel ? (d(), R("div", HN, F(M.rightLabel), 1)) : E("", !0)
10294
10302
  ])) : E("", !0),
10295
10303
  M.helpText || M.maxLength ? (d(), R("span", FN, [
10296
10304
  y0(F(M.helpText) + " ", 1),
10297
- M.maxLength ? (d(), R("span", jN, F(l(i)), 1)) : E("", !0)
10305
+ M.maxLength ? (d(), R("span", jN, F(l(W)), 1)) : E("", !0)
10298
10306
  ])) : E("", !0),
10299
- l(a) && M.showValidateMessages ? (d(!0), R(r0, { key: 4 }, w0(l(c), (Q, _) => (d(), R("span", {
10300
- key: _,
10307
+ l(a) && M.showValidateMessages ? (d(!0), R(r0, { key: 4 }, w0(l(c), (j, a0) => (d(), R("span", {
10308
+ key: a0,
10301
10309
  class: "r-field-caption-error"
10302
- }, F(Q), 1))), 128)) : E("", !0)
10310
+ }, F(j), 1))), 128)) : E("", !0)
10303
10311
  ], 2));
10304
10312
  }
10305
10313
  }), KN = /* @__PURE__ */ w("div", { class: "r-mr-re" }, null, -1), GN = /* @__PURE__ */ w("div", { class: "r-mr-bil" }, null, -1), ZN = /* @__PURE__ */ w("div", { class: "r-mr-ly" }, null, -1), fz = /* @__PURE__ */ M0({
@@ -10317,14 +10325,14 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10317
10325
  }));
10318
10326
  return (p, o) => M.show ? (d(), R("div", {
10319
10327
  key: 0,
10320
- class: I(["r-component r-loader", l(z)]),
10328
+ class: V(["r-component r-loader", l(z)]),
10321
10329
  role: "alert",
10322
10330
  "aria-busy": "true"
10323
10331
  }, [
10324
10332
  w("div", {
10325
- class: I(["r-loader-icon-wrapper", { "r-is-spinner": M.spinner }])
10333
+ class: V(["r-loader-icon-wrapper", { "r-is-spinner": M.spinner }])
10326
10334
  }, [
10327
- M.spinner ? (d(), t0($0, {
10335
+ M.spinner ? (d(), c0($0, {
10328
10336
  key: 0,
10329
10337
  icon: "loading",
10330
10338
  class: "r-is-spinning"
@@ -10389,13 +10397,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10389
10397
  }
10390
10398
  return $3(() => {
10391
10399
  z.show && t();
10392
- }), (A, r) => (d(), t0(a2, {
10400
+ }), (A, r) => (d(), c0(a2, {
10393
10401
  name: "r-modal",
10394
10402
  appear: "",
10395
10403
  onEnter: a,
10396
10404
  onLeave: t
10397
10405
  }, {
10398
- default: c0(() => [
10406
+ default: t0(() => [
10399
10407
  M.show ? (d(), R("div", {
10400
10408
  key: 0,
10401
10409
  ref_key: "containerElement",
@@ -10412,17 +10420,17 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10412
10420
  }, [
10413
10421
  A.$slots.content || A.$slots.contents ? (d(), R("div", {
10414
10422
  key: 0,
10415
- class: I(["r-modal-overlay", { "r-is-scrollable": M.scroll }])
10423
+ class: V(["r-modal-overlay", { "r-is-scrollable": M.scroll }])
10416
10424
  }, [
10417
10425
  w("div", {
10418
- class: I(["r-modal-control", l(e)]),
10426
+ class: V(["r-modal-control", l(e)]),
10419
10427
  style: s1(l(o)),
10420
10428
  onMousedown: r[1] || (r[1] = (i) => i.stopPropagation())
10421
10429
  }, [
10422
10430
  M.title ? (d(), R("div", JN, [
10423
10431
  w("h2", My, F(M.title), 1),
10424
10432
  A.$slots["header-actions"] ? (d(), R("div", by, [
10425
- j(A.$slots, "header-actions")
10433
+ Y(A.$slots, "header-actions")
10426
10434
  ])) : E("", !0),
10427
10435
  H(E1, {
10428
10436
  type: "plain",
@@ -10433,35 +10441,35 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10433
10441
  onClick: r[0] || (r[0] = (i) => A.$emit("close"))
10434
10442
  })
10435
10443
  ])) : E("", !0),
10436
- j(A.$slots, "contents", {}, () => [
10444
+ Y(A.$slots, "contents", {}, () => [
10437
10445
  w("div", {
10438
- class: I(["r-modal-content", { "r-is-scrollable": M.scrollContent }])
10446
+ class: V(["r-modal-content", { "r-is-scrollable": M.scrollContent }])
10439
10447
  }, [
10440
- j(A.$slots, "content")
10448
+ Y(A.$slots, "content")
10441
10449
  ], 2)
10442
10450
  ]),
10443
10451
  w("div", zy, [
10444
10452
  A.$slots["left-actions"] ? (d(), R("div", py, [
10445
- j(A.$slots, "left-actions", {
10453
+ Y(A.$slots, "left-actions", {
10446
10454
  submit: O,
10447
10455
  close: c
10448
10456
  })
10449
10457
  ])) : E("", !0),
10450
10458
  w("div", oy, [
10451
- j(A.$slots, "right-actions", {
10459
+ Y(A.$slots, "right-actions", {
10452
10460
  submit: O,
10453
10461
  close: c
10454
10462
  }, () => [
10455
10463
  H(E1, {
10456
- class: I({ "r-inline-3": A.$slots.actions }),
10464
+ class: V({ "r-inline-3": A.$slots.actions }),
10457
10465
  onClick: c
10458
10466
  }, {
10459
- default: c0(() => [
10467
+ default: t0(() => [
10460
10468
  y0(F(M.cancelLabel), 1)
10461
10469
  ]),
10462
10470
  _: 1
10463
10471
  }, 8, ["class"]),
10464
- j(A.$slots, "actions", {
10472
+ Y(A.$slots, "actions", {
10465
10473
  submit: O,
10466
10474
  close: c
10467
10475
  })
@@ -10560,14 +10568,14 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10560
10568
  ref: p,
10561
10569
  position: M.position
10562
10570
  }, {
10563
- trigger: c0(() => [
10571
+ trigger: t0(() => [
10564
10572
  M.label ? (d(), R("label", cy, F(M.label), 1)) : E("", !0),
10565
10573
  H(W, {
10566
10574
  class: "r-month-picker-input",
10567
10575
  "icon-left": "calendar",
10568
10576
  onClick: c
10569
10577
  }, {
10570
- default: c0(() => [
10578
+ default: t0(() => [
10571
10579
  w("div", ty, [
10572
10580
  M.modelValue ? (d(), R("span", ay, F(l(o)), 1)) : (d(), R("span", ny, F(M.placeholder), 1))
10573
10581
  ])
@@ -10576,7 +10584,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10576
10584
  }),
10577
10585
  M.caption ? (d(), R("span", Ay, F(M.caption), 1)) : E("", !0)
10578
10586
  ]),
10579
- content: c0(() => [
10587
+ content: t0(() => [
10580
10588
  w("div", ry, [
10581
10589
  w("div", iy, [
10582
10590
  w("div", sy, [
@@ -10607,11 +10615,11 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10607
10615
  key: f,
10608
10616
  role: "button",
10609
10617
  "aria-label": `${f}-month-button`,
10610
- class: I([{
10618
+ class: V([{
10611
10619
  "r-month-picker-month-disabled": A(L),
10612
10620
  "r-month-picker-month-selected": n(L)
10613
10621
  }, "r-month-picker-month"]),
10614
- onClick: (T) => a(L)
10622
+ onClick: ($) => a(L)
10615
10623
  }, F(f), 11, uy))), 128))
10616
10624
  ])
10617
10625
  ])
@@ -10658,15 +10666,15 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10658
10666
  hasNext: i.value,
10659
10667
  hasPrevious: W.value
10660
10668
  }));
10661
- function L(T) {
10669
+ function L($) {
10662
10670
  if (!f.value.modelValue) {
10663
10671
  console.warn("'paginationNavigate' has not been provided");
10664
10672
  return;
10665
10673
  }
10666
- T.content && f.value.modelValue(T.content);
10674
+ $.content && f.value.modelValue($.content);
10667
10675
  }
10668
- return (T, V) => (d(), R("div", null, [
10669
- j(T.$slots, "override", { override: l(f) }, () => [
10676
+ return ($, I) => (d(), R("div", null, [
10677
+ Y($.$slots, "override", { override: l(f) }, () => [
10670
10678
  w("div", fy, [
10671
10679
  w("div", Ry, [
10672
10680
  H(E1, {
@@ -10674,7 +10682,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10674
10682
  disabled: !l(f).hasPrevious,
10675
10683
  onClick: l(f).previous
10676
10684
  }, {
10677
- default: c0(() => [
10685
+ default: t0(() => [
10678
10686
  H($0, { icon: "arrow-left" }),
10679
10687
  y0(" Prev ")
10680
10688
  ]),
@@ -10684,12 +10692,12 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10684
10692
  v.breakView ? (d(), R("span", {
10685
10693
  key: `r-pagination-control-button-break-view-${h}`,
10686
10694
  class: "r-pagination-control-button"
10687
- }, " ... ")) : (d(), t0(E1, {
10695
+ }, " ... ")) : (d(), c0(E1, {
10688
10696
  key: `r-pagination-control-button-${h}`,
10689
- class: I(["r-pagination-control-button", { "r-button-type-primary": v.selected }]),
10690
- onClick: ($) => L(v)
10697
+ class: V(["r-pagination-control-button", { "r-button-type-primary": v.selected }]),
10698
+ onClick: (T) => L(v)
10691
10699
  }, {
10692
- default: c0(() => [
10700
+ default: t0(() => [
10693
10701
  y0(F(v.content), 1)
10694
10702
  ]),
10695
10703
  _: 2
@@ -10700,7 +10708,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10700
10708
  disabled: !l(f).hasNext,
10701
10709
  onClick: l(f).next
10702
10710
  }, {
10703
- default: c0(() => [
10711
+ default: t0(() => [
10704
10712
  y0(" Next "),
10705
10713
  H($0, { icon: "arrow-right" })
10706
10714
  ]),
@@ -10736,18 +10744,18 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10736
10744
  for (let W = 0; W < p.value; W += 1)
10737
10745
  i(W);
10738
10746
  else {
10739
- const W = Math.floor(z.totalVisible / 2), m = (T) => {
10740
- r[T] = { breakView: !0 };
10747
+ const W = Math.floor(z.totalVisible / 2), m = ($) => {
10748
+ r[$] = { breakView: !0 };
10741
10749
  };
10742
10750
  let f = 0;
10743
10751
  z.modelValue - W > 0 && (f = z.modelValue - 1 - W);
10744
10752
  let L = f + z.totalVisible - 1;
10745
10753
  L >= p.value && (L = p.value - 1, f = L - z.totalVisible + 1);
10746
- for (let T = f; T <= L && T <= p.value - 1; T += 1)
10747
- i(T);
10754
+ for (let $ = f; $ <= L && $ <= p.value - 1; $ += 1)
10755
+ i($);
10748
10756
  z.totalVisible > 0 && (f > 0 && m(f - 1), L + 1 < p.value && m(L + 1));
10749
- for (let T = p.value - 1; T >= p.value; T -= 1)
10750
- i(T);
10757
+ for (let $ = p.value - 1; $ >= p.value; $ -= 1)
10758
+ i($);
10751
10759
  }
10752
10760
  return r;
10753
10761
  }), e = u(() => z.limit < z.total), O = u(() => z.modelValue + 1 <= p.value), c = u(() => z.modelValue - 1 >= 1), a = u(() => ({
@@ -10770,7 +10778,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10770
10778
  return B1(() => {
10771
10779
  z.provider(z.modelValue);
10772
10780
  }), _0("paginationNavigate", A), _0("paginationNext", t), _0("paginationPrevious", n), _0("paginationOffset", () => z.modelValue), _0("paginationTotal", () => z.total), _0("paginationLimit", () => z.limit), _0("paginationItems", () => o.value), _0("paginationHasNext", () => O.value), _0("paginationHasPrevious", () => c.value), (r, i) => (d(), R("div", null, [
10773
- j(r.$slots, "pagination", { pagination: l(a) }, () => [
10781
+ Y(r.$slots, "pagination", { pagination: l(a) }, () => [
10774
10782
  H(oO, { pagination: l(a) }, null, 8, ["pagination"])
10775
10783
  ])
10776
10784
  ]));
@@ -10821,13 +10829,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10821
10829
  }
10822
10830
  }, a = u(() => e.value), t = u(() => O.value), n = u(() => ({
10823
10831
  isVisible: o.isPopperVisible,
10824
- open: $,
10832
+ open: T,
10825
10833
  close: h,
10826
10834
  toggle: v
10827
10835
  }));
10828
10836
  b({
10829
10837
  popper: n,
10830
- openPopper: $
10838
+ openPopper: T
10831
10839
  });
10832
10840
  function A(X) {
10833
10841
  o.activePopper = X, z("setActivePopper", X);
@@ -10838,9 +10846,9 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10838
10846
  function i() {
10839
10847
  if (a.value == null || t.value == null)
10840
10848
  return;
10841
- const X = a.value.getBoundingClientRect(), x = t.value.childNodes[0].getBoundingClientRect(), Y = m(), Q = c[p.direction][p.position];
10842
- let _ = x.height * Q[1] + X.height * Q[0], Z = x.width * Q[3] + X.width * Q[2];
10843
- return Y && (_ -= Y.bottom * Q[0], _ -= Y.top * Q[1], Z += Y.left, ["bottomEnd", "topEnd"].includes(p.position) && (Z -= Y.right * 2)), p.direction === "horizontal" ? _ += p.offset : Z += p.offset, { top: _, left: Qe.value ? 0 : Z };
10849
+ const X = a.value.getBoundingClientRect(), U = t.value.childNodes[0].getBoundingClientRect(), Q = m(), P = c[p.direction][p.position];
10850
+ let x = U.height * P[1] + X.height * P[0], j = U.width * P[3] + X.width * P[2];
10851
+ return Q && (x -= Q.bottom * P[0], x -= Q.top * P[1], j += Q.left, ["bottomEnd", "topEnd"].includes(p.position) && (j -= Q.right * 2)), p.direction === "horizontal" ? x += p.offset : j += p.offset, { top: x, left: Qe.value ? 0 : j };
10844
10852
  }
10845
10853
  function W() {
10846
10854
  const X = i();
@@ -10850,12 +10858,12 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10850
10858
  const X = a.value?.firstElementChild;
10851
10859
  if (!X)
10852
10860
  return null;
10853
- const { marginTop: x, marginRight: Y, marginBottom: Q, marginLeft: _ } = window.getComputedStyle(X);
10861
+ const { marginTop: U, marginRight: Q, marginBottom: P, marginLeft: x } = window.getComputedStyle(X);
10854
10862
  return {
10855
- top: f(x) + p.margin[0],
10856
- right: f(Y) + p.margin[1],
10857
- bottom: f(Q) + p.margin[2],
10858
- left: f(_) + p.margin[3]
10863
+ top: f(U) + p.margin[0],
10864
+ right: f(Q) + p.margin[1],
10865
+ bottom: f(P) + p.margin[2],
10866
+ left: f(x) + p.margin[3]
10859
10867
  };
10860
10868
  }
10861
10869
  function f(X) {
@@ -10864,10 +10872,10 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10864
10872
  function L() {
10865
10873
  p.autoHide && o.isPopperVisible && h();
10866
10874
  }
10867
- function T() {
10875
+ function $() {
10868
10876
  p.globalAutoHide && o.isPopperVisible && h();
10869
10877
  }
10870
- function V() {
10878
+ function I() {
10871
10879
  p.escToHide && h();
10872
10880
  }
10873
10881
  function v(X) {
@@ -10880,13 +10888,13 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10880
10888
  r(!1);
10881
10889
  }, X.delay) : r(!1);
10882
10890
  }
10883
- function $(X) {
10891
+ function T(X) {
10884
10892
  typeof X?.delay == "number" ? setTimeout(() => {
10885
10893
  r(!0), A(o.id);
10886
10894
  }, X.delay) : (r(!0), A(o.id));
10887
10895
  }
10888
10896
  function k() {
10889
- p.openOnMount && $();
10897
+ p.openOnMount && T();
10890
10898
  }
10891
10899
  return B1(k), $3(() => {
10892
10900
  o.hideTimer && clearInterval(o.hideTimer), o.activePopper === o.id && A(null);
@@ -10901,18 +10909,18 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10901
10909
  ), S0(
10902
10910
  () => o.activePopper,
10903
10911
  (X) => {
10904
- X !== null && X !== o.id && p.globalAutoHide && T();
10912
+ X !== null && X !== o.id && p.globalAutoHide && $();
10905
10913
  },
10906
10914
  {
10907
10915
  immediate: !0
10908
10916
  }
10909
- ), (X, x) => I0((d(), R("div", {
10917
+ ), (X, U) => I0((d(), R("div", {
10910
10918
  ref_key: "popperElement",
10911
10919
  ref: e,
10912
- class: I(["r-popper", { "r-popper-fluid": M.fluid }]),
10913
- onKeydown: D0(V, ["esc"])
10920
+ class: V(["r-popper", { "r-popper-fluid": M.fluid }]),
10921
+ onKeydown: D0(I, ["esc"])
10914
10922
  }, [
10915
- j(X.$slots, "trigger", { popper: l(n) }),
10923
+ Y(X.$slots, "trigger", { popper: l(n) }),
10916
10924
  w("div", {
10917
10925
  ref_key: "popperContentElement",
10918
10926
  ref: O,
@@ -10920,8 +10928,8 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10920
10928
  "data-testid": "popper-content"
10921
10929
  }, [
10922
10930
  H(a2, { name: M.slideFrom }, {
10923
- default: c0(() => [
10924
- o.isPopperVisible ? j(X.$slots, "content", {
10931
+ default: t0(() => [
10932
+ o.isPopperVisible ? Y(X.$slots, "content", {
10925
10933
  key: 0,
10926
10934
  popper: l(n)
10927
10935
  }) : E("", !0)
@@ -10958,16 +10966,16 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10958
10966
  "r-is-checked": O.value
10959
10967
  })), O = u(() => z.value === null ? !1 : z.modelValue === z.value);
10960
10968
  return (c, a) => (d(), R("div", {
10961
- class: I(["r-field", l(o)]),
10969
+ class: V(["r-field", l(o)]),
10962
10970
  "aria-checked": l(O)
10963
10971
  }, [
10964
10972
  w("label", {
10965
- class: I(["r-field-label r-field-label-toggle", l(e)]),
10973
+ class: V(["r-field-label r-field-label-toggle", l(e)]),
10966
10974
  for: M.id
10967
10975
  }, [
10968
10976
  M.label ? (d(), R(r0, { key: 0 }, [
10969
10977
  y0(F(M.label), 1)
10970
- ], 64)) : j(c.$slots, "label", { key: 1 })
10978
+ ], 64)) : Y(c.$slots, "label", { key: 1 })
10971
10979
  ], 10, gy),
10972
10980
  w("input", {
10973
10981
  id: M.id,
@@ -11014,27 +11022,27 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
11014
11022
  return B1(() => {
11015
11023
  o();
11016
11024
  }), S0(() => b.watcher, o, { deep: !0 }), (e, O) => (d(), R("div", wy, [
11017
- z.isLoading ? (d(), t0(fz, {
11025
+ z.isLoading ? (d(), c0(fz, {
11018
11026
  key: 0,
11019
11027
  fullscreen: M.isLoaderFullscreen,
11020
11028
  spinner: M.isLoaderSpinner
11021
11029
  }, null, 8, ["fullscreen", "spinner"])) : (d(), R(r0, { key: 1 }, [
11022
11030
  l(p) ? (d(), R("table", Ty, [
11023
- j(e.$slots, "colgroup"),
11024
- j(e.$slots, "thead", {}, () => [
11031
+ Y(e.$slots, "colgroup"),
11032
+ Y(e.$slots, "thead", {}, () => [
11025
11033
  w("thead", null, [
11026
11034
  w("tr", null, [
11027
- j(e.$slots, "headers")
11035
+ Y(e.$slots, "headers")
11028
11036
  ])
11029
11037
  ])
11030
11038
  ]),
11031
11039
  w("tbody", null, [
11032
- (d(!0), R(r0, null, w0(z.rows, (c, a) => j(e.$slots, "default", {
11040
+ (d(!0), R(r0, null, w0(z.rows, (c, a) => Y(e.$slots, "default", {
11033
11041
  item: c,
11034
11042
  index: a
11035
11043
  })), 256))
11036
11044
  ])
11037
- ])) : j(e.$slots, "empty", { key: 1 })
11045
+ ])) : Y(e.$slots, "empty", { key: 1 })
11038
11046
  ], 64))
11039
11047
  ]));
11040
11048
  }
@@ -11195,11 +11203,11 @@ class A1 {
11195
11203
  m(), this.handleLoaded();
11196
11204
  return;
11197
11205
  }
11198
- const T = await o(z, i);
11206
+ const $ = await o(z, i);
11199
11207
  delete this.component.async.cache.itemsByKey[W], m(), this.saveToCache({
11200
11208
  key: W,
11201
11209
  type: b,
11202
- options: T,
11210
+ options: $,
11203
11211
  value: z,
11204
11212
  query: d3(i)
11205
11213
  }), this.handleLoaded();
@@ -12011,17 +12019,17 @@ const Ey = (M) => M.reduce(
12011
12019
  function pX(M, b, z, p, o, e) {
12012
12020
  const O = C0("r-icon"), c = C0("r-badge"), a = C0("r-button");
12013
12021
  return d(), R("div", {
12014
- class: I(M.classes)
12022
+ class: V(M.classes)
12015
12023
  }, [
12016
12024
  M.hasLabel ? (d(), R("label", {
12017
12025
  key: 0,
12018
12026
  for: M.id,
12019
- class: I(["r-field-label", M.labelClasses]),
12027
+ class: V(["r-field-label", M.labelClasses]),
12020
12028
  onClick: b[0] || (b[0] = (...t) => M.activate && M.activate(...t))
12021
12029
  }, F(M.label), 11, xy)) : E("", !0),
12022
12030
  w("div", {
12023
12031
  tabindex: M.searchable ? -1 : M.tabindex,
12024
- class: I([{
12032
+ class: V([{
12025
12033
  "r-select-is-active": M.isOpen,
12026
12034
  "r-select-is-disabled": M.disabled,
12027
12035
  "r-select-is-above": M.isAbove,
@@ -12040,7 +12048,7 @@ function pX(M, b, z, p, o, e) {
12040
12048
  onKeypress: b[27] || (b[27] = D0(B0((t) => M.addPointerElement(t), ["stop", "self"]), ["enter", "tab"])),
12041
12049
  onKeyup: b[28] || (b[28] = D0((t) => M.deactivate(), ["esc"]))
12042
12050
  }, [
12043
- M.showRemoveIcon ? j(M.$slots, "remove", {
12051
+ M.showRemoveIcon ? Y(M.$slots, "remove", {
12044
12052
  key: 0,
12045
12053
  remove: M.removeLastElement
12046
12054
  }, () => [
@@ -12051,7 +12059,7 @@ function pX(M, b, z, p, o, e) {
12051
12059
  onMouseleave: b[2] || (b[2] = (t) => M.isHovered = !1),
12052
12060
  onMousedown: B0(M.removeLastElement, ["prevent", "stop"])
12053
12061
  }, null, 8, ["onMousedown"])
12054
- ]) : j(M.$slots, "caret", {
12062
+ ]) : Y(M.$slots, "caret", {
12055
12063
  key: 1,
12056
12064
  toggle: M.toggle
12057
12065
  }, () => [
@@ -12063,14 +12071,14 @@ function pX(M, b, z, p, o, e) {
12063
12071
  onMousedown: b[5] || (b[5] = B0((t) => M.toggle(), ["prevent", "stop"]))
12064
12072
  })
12065
12073
  ]),
12066
- j(M.$slots, "clear", { search: M.search }),
12074
+ Y(M.$slots, "clear", { search: M.search }),
12067
12075
  w("div", {
12068
12076
  ref: "tagsElement",
12069
12077
  class: "r-select-tags",
12070
12078
  onMouseenter: b[19] || (b[19] = (t) => M.isHovered = !0),
12071
12079
  onMouseleave: b[20] || (b[20] = (t) => M.isHovered = !1)
12072
12080
  }, [
12073
- M.loading ? E("", !0) : j(M.$slots, "selection", {
12081
+ M.loading ? E("", !0) : Y(M.$slots, "selection", {
12074
12082
  key: 0,
12075
12083
  search: M.search,
12076
12084
  remove: M.removeElement,
@@ -12082,7 +12090,7 @@ function pX(M, b, z, p, o, e) {
12082
12090
  onMousedown: b[7] || (b[7] = B0(() => {
12083
12091
  }, ["prevent"]))
12084
12092
  }, [
12085
- (d(!0), R(r0, null, w0(M.computedValue, (t) => j(M.$slots, "tag", {
12093
+ (d(!0), R(r0, null, w0(M.computedValue, (t) => Y(M.$slots, "tag", {
12086
12094
  option: t,
12087
12095
  search: M.search,
12088
12096
  remove: M.removeElement
@@ -12093,7 +12101,7 @@ function pX(M, b, z, p, o, e) {
12093
12101
  close: !0,
12094
12102
  onClose: (n) => M.removeElement(t)
12095
12103
  }, {
12096
- default: c0(() => [
12104
+ default: t0(() => [
12097
12105
  w("span", {
12098
12106
  class: "r-select-tag-text",
12099
12107
  onMousedown: b[6] || (b[6] = B0((n) => M.toggle(), ["prevent"]))
@@ -12105,7 +12113,7 @@ function pX(M, b, z, p, o, e) {
12105
12113
  ], 544), [
12106
12114
  [H1, M.visibleValues.length > 0]
12107
12115
  ]),
12108
- M.internalValue && M.internalValue.length > M.limit ? j(M.$slots, "limit", { key: 0 }, () => [
12116
+ M.internalValue && M.internalValue.length > M.limit ? Y(M.$slots, "limit", { key: 0 }, () => [
12109
12117
  w("strong", {
12110
12118
  class: "r-select-limit",
12111
12119
  textContent: F(M.limitText(M.internalValue.length - M.limit))
@@ -12113,8 +12121,8 @@ function pX(M, b, z, p, o, e) {
12113
12121
  ]) : E("", !0)
12114
12122
  ]),
12115
12123
  H(a2, { name: "r-select-loading" }, {
12116
- default: c0(() => [
12117
- j(M.$slots, "loading", {}, () => [
12124
+ default: t0(() => [
12125
+ Y(M.$slots, "loading", {}, () => [
12118
12126
  I0(w("div", Iy, null, 512), [
12119
12127
  [H1, M.loading]
12120
12128
  ])
@@ -12155,7 +12163,7 @@ function pX(M, b, z, p, o, e) {
12155
12163
  class: "r-select-single",
12156
12164
  onMousedown: b[17] || (b[17] = B0((...t) => M.toggle && M.toggle(...t), ["prevent"]))
12157
12165
  }, [
12158
- j(M.$slots, "singleLabel", { option: M.singleValue }, () => [
12166
+ Y(M.$slots, "singleLabel", { option: M.singleValue }, () => [
12159
12167
  y0(F(M.currentOptionLabel), 1)
12160
12168
  ])
12161
12169
  ], 32)) : E("", !0),
@@ -12164,13 +12172,13 @@ function pX(M, b, z, p, o, e) {
12164
12172
  class: "r-select-placeholder",
12165
12173
  onMousedown: b[18] || (b[18] = B0((...t) => M.toggle && M.toggle(...t), ["prevent"]))
12166
12174
  }, [
12167
- j(M.$slots, "placeholder", {}, () => [
12175
+ Y(M.$slots, "placeholder", {}, () => [
12168
12176
  y0(F(M.placeholder), 1)
12169
12177
  ])
12170
12178
  ], 32)) : E("", !0)
12171
12179
  ], 544),
12172
12180
  H(a2, { name: "r-select" }, {
12173
- default: c0(() => [
12181
+ default: t0(() => [
12174
12182
  I0(w("div", {
12175
12183
  ref: "listElement",
12176
12184
  class: "r-select-content-wrapper",
@@ -12186,7 +12194,7 @@ function pX(M, b, z, p, o, e) {
12186
12194
  style: s1(M.contentStyle),
12187
12195
  role: "listbox"
12188
12196
  }, [
12189
- j(M.$slots, "beforeList", {}, () => [
12197
+ Y(M.$slots, "beforeList", {}, () => [
12190
12198
  M.computedIsLoading ? (d(), R("span", Fy, F(M.messages.loading), 1)) : E("", !0),
12191
12199
  M.computedAsyncHasPrevOptions ? (d(), R("li", jy, [
12192
12200
  H(a, {
@@ -12197,7 +12205,7 @@ function pX(M, b, z, p, o, e) {
12197
12205
  "icon-right": "caret-up",
12198
12206
  onClick: M.handleAsyncLoadPrev
12199
12207
  }, {
12200
- default: c0(() => [
12208
+ default: t0(() => [
12201
12209
  y0(" Get prev ")
12202
12210
  ]),
12203
12211
  _: 1
@@ -12206,7 +12214,7 @@ function pX(M, b, z, p, o, e) {
12206
12214
  ]),
12207
12215
  M.multiple && M.max === M.internalValue.length ? (d(), R("li", Yy, [
12208
12216
  w("span", Uy, [
12209
- j(M.$slots, "maxElements", {}, () => [
12217
+ Y(M.$slots, "maxElements", {}, () => [
12210
12218
  y0(F(M.messages.max(M.max)), 1)
12211
12219
  ])
12212
12220
  ])
@@ -12217,11 +12225,11 @@ function pX(M, b, z, p, o, e) {
12217
12225
  class: "r-select-content-element"
12218
12226
  }, [
12219
12227
  w("span", {
12220
- class: I([M.optionHighlight(n, t), "r-select-content-element-option"]),
12228
+ class: V([M.optionHighlight(n, t), "r-select-content-element-option"]),
12221
12229
  onClick: B0((A) => M.select(t), ["stop"]),
12222
12230
  onMouseenter: B0((A) => M.pointerSet(n), ["self"])
12223
12231
  }, [
12224
- j(M.$slots, "option", {
12232
+ Y(M.$slots, "option", {
12225
12233
  option: t,
12226
12234
  search: M.search
12227
12235
  }, () => [
@@ -12231,7 +12239,7 @@ function pX(M, b, z, p, o, e) {
12231
12239
  ], 8, Ky))), 128)),
12232
12240
  I0(w("li", Zy, [
12233
12241
  w("span", Qy, [
12234
- j(M.$slots, "noResult", { search: M.search }, () => [
12242
+ Y(M.$slots, "noResult", { search: M.search }, () => [
12235
12243
  y0(F(M.messages.noResult), 1)
12236
12244
  ])
12237
12245
  ])
@@ -12240,7 +12248,7 @@ function pX(M, b, z, p, o, e) {
12240
12248
  ]),
12241
12249
  I0(w("li", Jy, [
12242
12250
  w("span", MX, [
12243
- j(M.$slots, "noOptions", {}, () => [
12251
+ Y(M.$slots, "noOptions", {}, () => [
12244
12252
  y0(F(M.messages.noOptions), 1)
12245
12253
  ])
12246
12254
  ])
@@ -12250,7 +12258,7 @@ function pX(M, b, z, p, o, e) {
12250
12258
  M.showNoOptions && M.computedOptions.length === 0 && !M.search && !M.loading && !M.computedIsLoading
12251
12259
  ]
12252
12260
  ]),
12253
- j(M.$slots, "afterList", {}, () => [
12261
+ Y(M.$slots, "afterList", {}, () => [
12254
12262
  M.computedAsyncHasNextOptions ? (d(), R("li", bX, [
12255
12263
  H(a, {
12256
12264
  type: "default",
@@ -12260,7 +12268,7 @@ function pX(M, b, z, p, o, e) {
12260
12268
  "icon-right": "caret-down",
12261
12269
  onClick: M.handleAsyncLoadNext
12262
12270
  }, {
12263
- default: c0(() => [
12271
+ default: t0(() => [
12264
12272
  y0(" Load more... ")
12265
12273
  ]),
12266
12274
  _: 1
@@ -12345,7 +12353,7 @@ function cX(M, b, z, p, o, e) {
12345
12353
  role: "tabpanel",
12346
12354
  "aria-labelledby": M.tabId
12347
12355
  }, [
12348
- j(M.$slots, "default", {}, () => [
12356
+ Y(M.$slots, "default", {}, () => [
12349
12357
  y0("Default tab content")
12350
12358
  ])
12351
12359
  ], 8, OX)) : E("", !0);
@@ -12453,7 +12461,7 @@ const tX = /* @__PURE__ */ Rz(eX, [["render", cX]]), aX = M0({
12453
12461
  function rX(M, b, z, p, o, e) {
12454
12462
  return d(), R("div", null, [
12455
12463
  w("div", {
12456
- class: I(["r-tab", [{ "r-tab-divided": M.divided }, M.menuClass]]),
12464
+ class: V(["r-tab", [{ "r-tab-divided": M.divided }, M.menuClass]]),
12457
12465
  role: "tablist"
12458
12466
  }, [
12459
12467
  (d(!0), R(r0, null, w0(M.visibleTabs, (O, c) => (d(), R("div", {
@@ -12466,22 +12474,22 @@ function rX(M, b, z, p, o, e) {
12466
12474
  to: O.to,
12467
12475
  role: "tab",
12468
12476
  "aria-controls": O.tabPanelId,
12469
- class: I(["r-tab-item-link", { "r-is-active": O.isActive }]),
12477
+ class: V(["r-tab-item-link", { "r-is-active": O.isActive }]),
12470
12478
  onClick: (a) => M.selectTab(O, c)
12471
12479
  }, F(M.getTabName(O, c)), 11, nX)) : (d(), R("button", {
12472
12480
  key: 1,
12473
12481
  id: O.tabId,
12474
12482
  role: "tab",
12475
12483
  "aria-controls": O.tabPanelId,
12476
- class: I(["r-tab-item-link", { "r-is-active": O.isActive }]),
12484
+ class: V(["r-tab-item-link", { "r-is-active": O.isActive }]),
12477
12485
  onClick: (a) => M.selectTab(O, c)
12478
12486
  }, F(M.getTabName(O, c)), 11, AX))
12479
12487
  ]))), 128))
12480
12488
  ], 2),
12481
12489
  w("div", {
12482
- class: I(["r-tab-content", M.contentClass])
12490
+ class: V(["r-tab-content", M.contentClass])
12483
12491
  }, [
12484
- j(M.$slots, "default")
12492
+ Y(M.$slots, "default")
12485
12493
  ], 2)
12486
12494
  ]);
12487
12495
  }
@@ -12509,22 +12517,22 @@ const iX = /* @__PURE__ */ Rz(aX, [["render", rX]]), sX = { class: "r-component
12509
12517
  const b = T3();
12510
12518
  return (z, p) => (d(), R("div", sX, [
12511
12519
  l(b).title ? (d(), R("div", qX, [
12512
- j(z.$slots, "title"),
12520
+ Y(z.$slots, "title"),
12513
12521
  z.$slots.titleActions ? (d(), R("div", dX, [
12514
- j(z.$slots, "titleActions")
12522
+ Y(z.$slots, "titleActions")
12515
12523
  ])) : E("", !0)
12516
12524
  ])) : E("", !0),
12517
12525
  l(b).contents ? (d(), R("div", lX, [
12518
- j(z.$slots, "contents")
12526
+ Y(z.$slots, "contents")
12519
12527
  ])) : E("", !0),
12520
12528
  l(b).primary ? (d(), R("div", uX, [
12521
- j(z.$slots, "primary")
12529
+ Y(z.$slots, "primary")
12522
12530
  ])) : E("", !0),
12523
12531
  l(b).secondary ? (d(), R("div", WX, [
12524
- j(z.$slots, "secondary")
12532
+ Y(z.$slots, "secondary")
12525
12533
  ])) : E("", !0),
12526
12534
  l(b).actions ? (d(), R("div", fX, [
12527
- j(z.$slots, "actions")
12535
+ Y(z.$slots, "actions")
12528
12536
  ])) : E("", !0)
12529
12537
  ]));
12530
12538
  }
@@ -12596,7 +12604,7 @@ const iX = /* @__PURE__ */ Rz(aX, [["render", rX]]), sX = { class: "r-component
12596
12604
  key: 0,
12597
12605
  ref_key: "toastEl",
12598
12606
  ref: o,
12599
- class: I(["r-component r-toast", l(e)]),
12607
+ class: V(["r-component r-toast", l(e)]),
12600
12608
  onMouseenter: t,
12601
12609
  onMouseleave: a
12602
12610
  }, [
@@ -12604,7 +12612,7 @@ const iX = /* @__PURE__ */ Rz(aX, [["render", rX]]), sX = { class: "r-component
12604
12612
  w("span", null, F(M.title), 1)
12605
12613
  ])) : E("", !0),
12606
12614
  w("div", vX, [
12607
- M.allowClose ? (d(), t0(W, {
12615
+ M.allowClose ? (d(), c0(W, {
12608
12616
  key: 0,
12609
12617
  "aria-hidden": "true",
12610
12618
  color: "text",
@@ -12613,7 +12621,7 @@ const iX = /* @__PURE__ */ Rz(aX, [["render", rX]]), sX = { class: "r-component
12613
12621
  })) : E("", !0)
12614
12622
  ]),
12615
12623
  w("div", hX, [
12616
- l(O) ? (d(), t0(Cb(l(O)), { key: 0 })) : M.message ? (d(), R("span", mX, F(M.message), 1)) : E("", !0)
12624
+ l(O) ? (d(), c0(Cb(l(O)), { key: 0 })) : M.message ? (d(), R("span", mX, F(M.message), 1)) : E("", !0)
12617
12625
  ])
12618
12626
  ], 34)) : E("", !0);
12619
12627
  };