@rebilly/revel 8.2.0 → 8.2.1

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 l, defineComponent as J, ref as e0, watch as D0, onMounted as B1, onUnmounted as wb, toRefs as CM, inject as k0, watchEffect as N3, provide as _0, nextTick as R1, unref as u, openBlock as d, createBlock as t0, resolveDynamicComponent as Tb, normalizeProps as j2, mergeProps as V0, renderSlot as F, normalizeClass as I, withCtx as c0, createVNode as H, createElementVNode as w, createElementBlock as v, toDisplayString as j, createCommentVNode as k, Fragment as i0, renderList as S0, normalizeStyle as s1, withKeys as C0, withDirectives as I0, toRef as rM, guardReactiveProps as ib, createTextVNode as y0, isRef as D2, Transition as a2, resolveComponent as $0, resolveDirective as ee, toHandlers as iM, withModifiers as N0, vShow as H1, useAttrs as y3, useSlots as X3, onBeforeUnmount as w3, vModelText as ce, onBeforeMount as te, h as ae, render as ne } from "vue";
1
+ import { reactive as l2, computed as l, defineComponent as J, ref as e0, watch as D0, onMounted as B1, onUnmounted as wb, toRefs as CM, inject as k0, watchEffect as N3, provide as _0, nextTick as R1, unref as u, openBlock as d, createBlock as t0, resolveDynamicComponent as Tb, normalizeProps as j2, mergeProps as V0, renderSlot as F, normalizeClass as _, withCtx as c0, createVNode as H, createElementVNode as w, createElementBlock as v, toDisplayString as j, createCommentVNode as k, Fragment as i0, renderList as S0, normalizeStyle as s1, withKeys as C0, withDirectives as I0, toRef as rM, guardReactiveProps as ib, createTextVNode as y0, isRef as D2, Transition as a2, resolveComponent as $0, resolveDirective as ee, toHandlers as iM, withModifiers as N0, vShow as H1, useAttrs as y3, useSlots as X3, onBeforeUnmount as w3, vModelText as ce, onBeforeMount as te, h as ae, render as ne } from "vue";
2
2
  import A0 from "moment";
3
3
  var K0 = "top", o1 = "bottom", O1 = "right", G0 = "left", $b = "auto", J2 = [K0, o1, O1, G0], n2 = "start", K2 = "end", Ae = "clippingParents", T3 = "viewport", S2 = "popper", re = "reference", fz = /* @__PURE__ */ J2.reduce(function(M, b) {
4
4
  return M.concat([b + "-" + n2, b + "-" + K2]);
@@ -255,11 +255,11 @@ function vz(M) {
255
255
  var B = MM(z), D = "clientHeight", L = "clientWidth";
256
256
  if (B === J0(z) && (B = x1(z), L1(B).position !== "static" && c === "absolute" && (D = "scrollHeight", L = "scrollWidth")), B = B, o === K0 || (o === G0 || o === O1) && O === K2) {
257
257
  C = o1;
258
- var _ = A && B === h && h.visualViewport ? h.visualViewport.height : (
258
+ var I = A && B === h && h.visualViewport ? h.visualViewport.height : (
259
259
  // $FlowFixMe[prop-missing]
260
260
  B[D]
261
261
  );
262
- m -= _ - p.height, m *= a ? 1 : -1;
262
+ m -= I - p.height, m *= a ? 1 : -1;
263
263
  }
264
264
  if (o === G0 || (o === K0 || o === o1) && O === K2) {
265
265
  V = O1;
@@ -488,11 +488,11 @@ function G2(M, b) {
488
488
  element: V,
489
489
  strategy: "absolute",
490
490
  placement: o
491
- }), L = qb(Object.assign({}, V, D)), _ = r === S2 ? L : B, Y = {
492
- top: h.top - _.top + R.top,
493
- bottom: _.bottom - h.bottom + R.bottom,
494
- left: h.left - _.left + R.left,
495
- right: _.right - h.right + R.right
491
+ }), L = qb(Object.assign({}, V, D)), I = r === S2 ? L : B, Y = {
492
+ top: h.top - I.top + R.top,
493
+ bottom: I.bottom - h.bottom + R.bottom,
494
+ left: h.left - I.left + R.left,
495
+ right: I.right - h.right + R.right
496
496
  }, M0 = M.modifiersData.offset;
497
497
  if (r === S2 && M0) {
498
498
  var P = M0[o];
@@ -541,7 +541,7 @@ function Ue(M) {
541
541
  flipVariations: W,
542
542
  allowedAutoPlacements: m
543
543
  }) : g0);
544
- }, []), h = b.rects.reference, B = b.rects.popper, D = /* @__PURE__ */ new Map(), L = !0, _ = C[0], Y = 0; Y < C.length; Y++) {
544
+ }, []), h = b.rects.reference, B = b.rects.popper, D = /* @__PURE__ */ new Map(), L = !0, I = C[0], Y = 0; Y < C.length; Y++) {
545
545
  var M0 = C[Y], P = q1(M0), Z = i2(M0) === n2, a0 = [K0, o1].indexOf(P) >= 0, G = a0 ? "width" : "height", z0 = G2(b, {
546
546
  placement: M0,
547
547
  boundary: n,
@@ -554,7 +554,7 @@ function Ue(M) {
554
554
  if (O && W0.push(z0[P] <= 0), c && W0.push(z0[q0] <= 0, z0[w0] <= 0), W0.every(function(r0) {
555
555
  return r0;
556
556
  })) {
557
- _ = M0, L = !1;
557
+ I = M0, L = !1;
558
558
  break;
559
559
  }
560
560
  D.set(M0, W0);
@@ -569,12 +569,12 @@ function Ue(M) {
569
569
  });
570
570
  });
571
571
  if (v0)
572
- return _ = v0, "break";
572
+ return I = v0, "break";
573
573
  }, U = S; U > 0; U--) {
574
574
  var X0 = n0(U);
575
575
  if (X0 === "break") break;
576
576
  }
577
- b.placement !== _ && (b.modifiersData[p]._skip = !0, b.placement = _, b.reset = !0);
577
+ b.placement !== I && (b.modifiersData[p]._skip = !0, b.placement = I, b.reset = !0);
578
578
  }
579
579
  }
580
580
  const Ke = {
@@ -676,15 +676,15 @@ function oc(M) {
676
676
  rootBoundary: t,
677
677
  padding: A,
678
678
  altBoundary: n
679
- }), R = q1(b.placement), $ = i2(b.placement), V = !$, C = Sb(R), h = pc(C), B = b.modifiersData.popperOffsets, D = b.rects.reference, L = b.rects.popper, _ = typeof m == "function" ? m(Object.assign({}, b.rects, {
679
+ }), R = q1(b.placement), $ = i2(b.placement), V = !$, C = Sb(R), h = pc(C), B = b.modifiersData.popperOffsets, D = b.rects.reference, L = b.rects.popper, I = typeof m == "function" ? m(Object.assign({}, b.rects, {
680
680
  placement: b.placement
681
- })) : m, Y = typeof _ == "number" ? {
682
- mainAxis: _,
683
- altAxis: _
681
+ })) : m, Y = typeof I == "number" ? {
682
+ mainAxis: I,
683
+ altAxis: I
684
684
  } : Object.assign({
685
685
  mainAxis: 0,
686
686
  altAxis: 0
687
- }, _), M0 = b.modifiersData.offset ? b.modifiersData.offset[b.placement] : null, P = {
687
+ }, I), M0 = b.modifiersData.offset ? b.modifiersData.offset[b.placement] : null, P = {
688
688
  x: 0,
689
689
  y: 0
690
690
  };
@@ -850,11 +850,11 @@ function sc(M) {
850
850
  n.reset = !1, C = -1;
851
851
  continue;
852
852
  }
853
- var h = n.orderedModifiers[C], B = h.fn, D = h.options, L = D === void 0 ? {} : D, _ = h.name;
853
+ var h = n.orderedModifiers[C], B = h.fn, D = h.options, L = D === void 0 ? {} : D, I = h.name;
854
854
  typeof B == "function" && (n = B({
855
855
  state: n,
856
856
  options: L,
857
- name: _,
857
+ name: I,
858
858
  instance: i
859
859
  }) || n);
860
860
  }
@@ -2520,7 +2520,7 @@ function Kl({
2520
2520
  day: "numeric"
2521
2521
  });
2522
2522
  let R = b.numDays - A + 1, $ = b.numDays - R + 1, V = Math.floor((R - 1) / P0 + 1), C = 1, h = b.numWeeks, B = 1, D = b.month, L = b.year;
2523
- const _ = /* @__PURE__ */ new Date(), Y = _.getDate(), M0 = _.getMonth() + 1, P = _.getFullYear();
2523
+ const I = /* @__PURE__ */ new Date(), Y = I.getDate(), M0 = I.getMonth() + 1, P = I.getFullYear();
2524
2524
  for (let Z = 1; Z <= I6; Z++) {
2525
2525
  for (let a0 = 1, G = O; a0 <= P0; a0++, G += G === P0 ? 1 - P0 : 1) {
2526
2526
  r && G === e && (R = 1, $ = M.numDays, V = Math.floor((R - 1) / P0 + 1), C = Math.floor((t - R) / P0 + 1), h = 1, B = n, D = M.month, L = M.year, r = !1, i = !0);
@@ -4389,7 +4389,7 @@ function hu(M, { slots: b, emit: z }) {
4389
4389
  maxDate: C,
4390
4390
  disabledAttribute: h,
4391
4391
  disabledDates: B
4392
- } = Ru(M), D = l(() => M.rows * M.columns), L = l(() => M.step || D.value), _ = l(() => Lo(n.value) ?? null), Y = l(() => O2(n.value) ?? null), M0 = l(
4392
+ } = Ru(M), D = l(() => M.rows * M.columns), L = l(() => M.step || D.value), I = l(() => Lo(n.value) ?? null), Y = l(() => O2(n.value) ?? null), M0 = l(
4393
4393
  () => M.minPage || (V.value ? U(V.value) : null)
4394
4394
  ), P = l(
4395
4395
  () => M.maxPage || (C.value ? U(C.value) : null)
@@ -4445,8 +4445,8 @@ function hu(M, { slots: b, emit: z }) {
4445
4445
  const [x] = X.ranges, p0 = ((T = x.start) == null ? void 0 : T.date) || ((s = x.end) == null ? void 0 : s.date);
4446
4446
  return p0 ? U(p0) : null;
4447
4447
  }, q = () => {
4448
- if (i1(_.value))
4449
- return _.value;
4448
+ if (i1(I.value))
4449
+ return I.value;
4450
4450
  const T = E0();
4451
4451
  return i1(T) ? T : U(/* @__PURE__ */ new Date());
4452
4452
  }, N = (T, s = {}) => {
@@ -4493,7 +4493,7 @@ function hu(M, { slots: b, emit: z }) {
4493
4493
  reject: X
4494
4494
  } : s(!0);
4495
4495
  }), Q = (T) => {
4496
- const s = _.value ?? U(/* @__PURE__ */ new Date());
4496
+ const s = I.value ?? U(/* @__PURE__ */ new Date());
4497
4497
  return n0(s, T);
4498
4498
  }, O0 = (T, s = {}) => {
4499
4499
  const X = i1(T) ? T : U(T);
@@ -4509,7 +4509,7 @@ function hu(M, { slots: b, emit: z }) {
4509
4509
  t.value,
4510
4510
  R.value
4511
4511
  ).map((p0) => Jl(p0, M0.value, P.value)).some((p0) => p0);
4512
- }, l0 = (T, s = {}) => O0(Q(T), s), o0 = l(() => l0(-L.value)), s0 = l(() => l0(L.value)), W1 = async (T, s = {}) => !s.force && !O0(T, s) ? !1 : (s.fromPage && !M6(s.fromPage, _.value) && (Q2({ id: c.value, hideDelay: 0 }), s.view && (au("view", 10), t.value = s.view), await E({
4512
+ }, l0 = (T, s = {}) => O0(Q(T), s), o0 = l(() => l0(-L.value)), s0 = l(() => l0(L.value)), W1 = async (T, s = {}) => !s.force && !O0(T, s) ? !1 : (s.fromPage && !M6(s.fromPage, I.value) && (Q2({ id: c.value, hideDelay: 0 }), s.view && (au("view", 10), t.value = s.view), await E({
4513
4513
  ...s,
4514
4514
  page: s.fromPage,
4515
4515
  position: 1,
@@ -4641,7 +4641,7 @@ function hu(M, { slots: b, emit: z }) {
4641
4641
  dayCells: M1,
4642
4642
  count: D,
4643
4643
  step: L,
4644
- firstPage: _,
4644
+ firstPage: I,
4645
4645
  lastPage: Y,
4646
4646
  canMovePrev: o0,
4647
4647
  canMoveNext: s0,
@@ -4803,7 +4803,7 @@ const mu = J({
4803
4803
  function L() {
4804
4804
  S1(document, "keydown", C), S1(document, "click", V), S1(document, "show-popover", h), S1(document, "hide-popover", B), S1(document, "toggle-popover", D);
4805
4805
  }
4806
- function _() {
4806
+ function I() {
4807
4807
  D1(document, "keydown", C), D1(document, "click", V), D1(document, "show-popover", h), D1(document, "hide-popover", B), D1(document, "toggle-popover", D);
4808
4808
  }
4809
4809
  function Y(S) {
@@ -4851,7 +4851,7 @@ const mu = J({
4851
4851
  }), B1(() => {
4852
4852
  L();
4853
4853
  }), wb(() => {
4854
- A(), W0(), _();
4854
+ A(), W0(), I();
4855
4855
  }), {
4856
4856
  ...CM(e),
4857
4857
  popoverRef: p,
@@ -4877,7 +4877,7 @@ const mu = J({
4877
4877
  };
4878
4878
  function gu(M, b, z, p, o, O) {
4879
4879
  return d(), v("div", {
4880
- class: I(["vc-popover-content-wrapper", { "is-interactive": M.isInteractive }]),
4880
+ class: _(["vc-popover-content-wrapper", { "is-interactive": M.isInteractive }]),
4881
4881
  ref: "popoverRef",
4882
4882
  onClick: b[0] || (b[0] = (...e) => M.onClick && M.onClick(...e)),
4883
4883
  onMouseover: b[1] || (b[1] = (...e) => M.onMouseOver && M.onMouseOver(...e)),
@@ -4908,7 +4908,7 @@ function gu(M, b, z, p, o, O) {
4908
4908
  y0(j(M.data), 1)
4909
4909
  ]),
4910
4910
  w("span", {
4911
- class: I([
4911
+ class: _([
4912
4912
  "vc-popover-caret",
4913
4913
  `direction-${M.direction}`,
4914
4914
  `align-${M.alignment}`
@@ -4944,7 +4944,7 @@ const cz = /* @__PURE__ */ P1(mu, [["render", gu]]), Bu = { class: "vc-day-popov
4944
4944
  return (p, o) => (d(), v("div", Bu, [
4945
4945
  u(z) ? (d(), v("div", Nu, [
4946
4946
  w("span", {
4947
- class: I(u(z).class)
4947
+ class: _(u(z).class)
4948
4948
  }, null, 2)
4949
4949
  ])) : k("", !0),
4950
4950
  w("div", yu, [
@@ -4981,7 +4981,7 @@ const cz = /* @__PURE__ */ P1(mu, [["render", gu]]), Bu = { class: "vc-day-popov
4981
4981
  }
4982
4982
  return (a, t) => (d(), t0(cz, {
4983
4983
  id: u(b),
4984
- class: I([`vc-${u(p)}`, `vc-${u(z)}`])
4984
+ class: _([`vc-${u(p)}`, `vc-${u(z)}`])
4985
4985
  }, {
4986
4986
  default: c0(({ data: { day: n, attributes: A }, hide: r }) => [
4987
4987
  H(b1, {
@@ -5136,7 +5136,7 @@ const oW = /* @__PURE__ */ P1(Ju, [["render", pW]]), OW = /* @__PURE__ */ Object
5136
5136
  }
5137
5137
  }).join(" ") }));
5138
5138
  return (m, f) => (d(), v("div", {
5139
- class: I(["vc-header", { "is-lg": M.isLg, "is-xl": M.isXl, "is-2xl": M.is2xl }]),
5139
+ class: _(["vc-header", { "is-lg": M.isLg, "is-xl": M.isXl, "is-2xl": M.is2xl }]),
5140
5140
  style: s1(u(W))
5141
5141
  }, [
5142
5142
  u(i).prev ? (d(), v("button", {
@@ -5320,10 +5320,10 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5320
5320
  () => o(a.value - 1, b.value.navMonths)
5321
5321
  ), L = l(
5322
5322
  () => D.value.some((U) => !U.isDisabled)
5323
- ), _ = l(
5323
+ ), I = l(
5324
5324
  () => o(a.value + 1, b.value.navMonths)
5325
5325
  ), Y = l(
5326
- () => _.value.some((U) => !U.isDisabled)
5326
+ () => I.value.some((U) => !U.isDisabled)
5327
5327
  ), M0 = l(
5328
5328
  () => O(
5329
5329
  W(t.value),
@@ -5423,7 +5423,7 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5423
5423
  type: "button",
5424
5424
  "data-id": r0.id,
5425
5425
  "aria-label": r0.ariaLabel,
5426
- class: I(["vc-nav-item vc-focus", [
5426
+ class: _(["vc-nav-item vc-focus", [
5427
5427
  r0.isActive ? "is-active" : r0.isCurrent ? "is-current" : ""
5428
5428
  ]]),
5429
5429
  disabled: r0.isDisabled,
@@ -5447,7 +5447,7 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5447
5447
  const { navPopoverId: b, color: z, displayMode: p } = Z1();
5448
5448
  return (o, O) => (d(), t0(cz, {
5449
5449
  id: u(b),
5450
- class: I(["vc-nav-popover-container", `vc-${u(z)}`, `vc-${u(p)}`])
5450
+ class: _(["vc-nav-popover-container", `vc-${u(z)}`, `vc-${u(p)}`])
5451
5451
  }, {
5452
5452
  default: c0(({ data: e }) => [
5453
5453
  H(OO, {
@@ -5519,7 +5519,7 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5519
5519
  return r.value.forEach((z0) => {
5520
5520
  z.value.render(z0, G), m(z0, G);
5521
5521
  }), G;
5522
- }), R = l(() => f.value.highlights), $ = l(() => !!v1(R.value)), V = l(() => f.value.content), C = l(() => f.value.dots), h = l(() => !!v1(C.value)), B = l(() => f.value.bars), D = l(() => !!v1(B.value)), L = l(() => f.value.popovers), _ = l(
5522
+ }), R = l(() => f.value.highlights), $ = l(() => !!v1(R.value)), V = l(() => f.value.content), C = l(() => f.value.dots), h = l(() => !!v1(C.value)), B = l(() => f.value.bars), D = l(() => !!v1(B.value)), L = l(() => f.value.popovers), I = l(
5523
5523
  () => L.value.map((G) => G.attribute)
5524
5524
  ), Y = MO("day-content"), M0 = l(() => [
5525
5525
  "vc-day",
@@ -5568,7 +5568,7 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5568
5568
  })), a0 = l(() => v1(L.value) ? ap(
5569
5569
  {
5570
5570
  id: o.value,
5571
- data: { day: A, attributes: _.value }
5571
+ data: { day: A, attributes: I.value }
5572
5572
  },
5573
5573
  ...L.value
5574
5574
  ) : null);
@@ -5603,15 +5603,15 @@ const AW = { class: "vc-nav-header" }, rW = ["disabled"], iW = ["disabled"], sW
5603
5603
  function hW(M, b, z, p, o, O) {
5604
5604
  const e = $0("CalendarSlot"), c = ee("popover");
5605
5605
  return d(), v("div", {
5606
- class: I(M.dayClasses)
5606
+ class: _(M.dayClasses)
5607
5607
  }, [
5608
5608
  M.hasHighlights ? (d(), v("div", WW, [
5609
5609
  (d(!0), v(i0, null, S0(M.highlights, ({ key: a, wrapperClass: t, class: n, style: A }) => (d(), v("div", {
5610
5610
  key: a,
5611
- class: I(t)
5611
+ class: _(t)
5612
5612
  }, [
5613
5613
  w("div", {
5614
- class: I(n),
5614
+ class: _(n),
5615
5615
  style: s1(A)
5616
5616
  }, null, 6)
5617
5617
  ], 2))), 128))
@@ -5638,7 +5638,7 @@ function hW(M, b, z, p, o, O) {
5638
5638
  w("div", RW, [
5639
5639
  (d(!0), v(i0, null, S0(M.dots, ({ key: a, class: t, style: n }) => (d(), v("span", {
5640
5640
  key: a,
5641
- class: I(t),
5641
+ class: _(t),
5642
5642
  style: s1(n)
5643
5643
  }, null, 6))), 128))
5644
5644
  ])
@@ -5647,7 +5647,7 @@ function hW(M, b, z, p, o, O) {
5647
5647
  w("div", LW, [
5648
5648
  (d(!0), v(i0, null, S0(M.bars, ({ key: a, class: t, style: n }) => (d(), v("span", {
5649
5649
  key: a,
5650
- class: I(t),
5650
+ class: _(t),
5651
5651
  style: s1(n)
5652
5652
  }, null, 6))), 128))
5653
5653
  ])
@@ -5662,7 +5662,7 @@ const mW = /* @__PURE__ */ P1(uW, [["render", hW]]), gW = { class: "vc-weekdays"
5662
5662
  setup(M) {
5663
5663
  const { page: b } = oO(), { onWeeknumberClick: z } = Z1();
5664
5664
  return (p, o) => (d(), v("div", {
5665
- class: I([
5665
+ class: _([
5666
5666
  "vc-pane",
5667
5667
  `row-${u(b).row}`,
5668
5668
  `row-from-end-${u(b).rowFromEnd}`,
@@ -5677,14 +5677,14 @@ const mW = /* @__PURE__ */ P1(uW, [["render", hW]]), gW = { class: "vc-weekdays"
5677
5677
  "hide-arrows": ""
5678
5678
  }, null, 8, ["page"]),
5679
5679
  w("div", {
5680
- class: I(["vc-weeks", {
5680
+ class: _(["vc-weeks", {
5681
5681
  [`vc-show-weeknumbers-${u(b).weeknumberPosition}`]: u(b).weeknumberPosition
5682
5682
  }])
5683
5683
  }, [
5684
5684
  w("div", gW, [
5685
5685
  (d(!0), v(i0, null, S0(u(b).weekdays, ({ weekday: O, label: e }, c) => (d(), v("div", {
5686
5686
  key: c,
5687
- class: I(`vc-weekday vc-weekday-${O}`)
5687
+ class: _(`vc-weekday vc-weekday-${O}`)
5688
5688
  }, j(e), 3))), 128))
5689
5689
  ]),
5690
5690
  (d(!0), v(i0, null, S0(u(b).viewWeeks, (O) => (d(), v("div", {
@@ -5693,10 +5693,10 @@ const mW = /* @__PURE__ */ P1(uW, [["render", hW]]), gW = { class: "vc-weekdays"
5693
5693
  }, [
5694
5694
  u(b).weeknumberPosition ? (d(), v("div", {
5695
5695
  key: 0,
5696
- class: I(["vc-weeknumber", `is-${u(b).weeknumberPosition}`])
5696
+ class: _(["vc-weeknumber", `is-${u(b).weeknumberPosition}`])
5697
5697
  }, [
5698
5698
  w("span", {
5699
- class: I(["vc-weeknumber-content"]),
5699
+ class: _(["vc-weeknumber-content"]),
5700
5700
  onClick: (e) => u(z)(O, e)
5701
5701
  }, j(O.weeknumberDisplay), 9, BW)
5702
5702
  ], 2)) : k("", !0),
@@ -5743,7 +5743,7 @@ function TW(M, b, z, p, o, O) {
5743
5743
  ref: "containerRef"
5744
5744
  }), [
5745
5745
  w("div", {
5746
- class: I(["vc-pane-container", { "in-transition": M.inTransition }])
5746
+ class: _(["vc-pane-container", { "in-transition": M.inTransition }])
5747
5747
  }, [
5748
5748
  w("div", wW, [
5749
5749
  M.firstPage ? (d(), t0(e, {
@@ -5850,7 +5850,7 @@ function SW(M, { emit: b, slots: z }) {
5850
5850
  M.modelModifiers.number && (s = "number"), M.modelModifiers.string && (s = "string");
5851
5851
  const X = O.value.modelValue || "iso";
5852
5852
  return X0({ type: s, mask: X });
5853
- }), _ = l(
5853
+ }), I = l(
5854
5854
  () => l0(n.value ?? t.value)
5855
5855
  ), Y = l(() => B.value ? M.is24hr ? O.value.inputTime24hr : O.value.inputTime : h.value ? M.is24hr ? O.value.inputDateTime24hr : O.value.inputDateTime : O.value.input), M0 = l(() => /[Hh]/g.test(Y.value)), P = l(
5856
5856
  () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(Y.value)
@@ -6273,7 +6273,7 @@ function SW(M, { emit: b, slots: z }) {
6273
6273
  isDragging: D,
6274
6274
  inputValue: z0,
6275
6275
  inputEvents: q0,
6276
- dateParts: _,
6276
+ dateParts: I,
6277
6277
  attributes: S,
6278
6278
  rules: n0,
6279
6279
  move: oM,
@@ -6402,11 +6402,11 @@ function xW(M) {
6402
6402
  () => pu(i.value, e.value[M.position])
6403
6403
  ), L = l(() => EW.filter(
6404
6404
  (P) => D.value.hours.some((Z) => Z.value === P.value)
6405
- )), _ = l(() => kW.filter(
6405
+ )), I = l(() => kW.filter(
6406
6406
  (P) => D.value.hours.some((Z) => Z.value === P.value)
6407
- )), Y = l(() => c.value ? D.value.hours : B.value ? L.value : _.value), M0 = l(() => {
6407
+ )), Y = l(() => c.value ? D.value.hours : B.value ? L.value : I.value), M0 = l(() => {
6408
6408
  const P = [];
6409
- return v1(L.value) && P.push({ value: !0, label: "AM" }), v1(_.value) && P.push({ value: !1, label: "PM" }), P;
6409
+ return v1(L.value) && P.push({ value: !0, label: "AM" }), v1(I.value) && P.push({ value: !1, label: "PM" }), P;
6410
6410
  });
6411
6411
  return {
6412
6412
  ...b,
@@ -6450,7 +6450,7 @@ const PW = ["value"], _W = ["value", "disabled"], IW = {
6450
6450
  return p?.label;
6451
6451
  });
6452
6452
  return (p, o) => (d(), v("div", {
6453
- class: I(["vc-base-select", {
6453
+ class: _(["vc-base-select", {
6454
6454
  "vc-fit-content": M.fitContent,
6455
6455
  "vc-has-icon": M.showIcon
6456
6456
  }])
@@ -6506,7 +6506,7 @@ const PW = ["value"], _W = ["value", "disabled"], IW = {
6506
6506
  timeAccuracy: $
6507
6507
  } = p;
6508
6508
  return (V, C) => (d(), v("div", {
6509
- class: I(["vc-time-picker", [{ "vc-invalid": !u(O), "vc-attached": !u(i) }]])
6509
+ class: _(["vc-time-picker", [{ "vc-invalid": !u(O), "vc-attached": !u(i) }]])
6510
6510
  }, [
6511
6511
  H(b1, { name: "time-header" }, {
6512
6512
  default: c0(() => [
@@ -6591,7 +6591,7 @@ const PW = ["value"], _W = ["value", "disabled"], IW = {
6591
6591
  } = tz(), A = c.value ? [0, 1] : [0];
6592
6592
  return (r, i) => u(e) ? (d(), v("div", {
6593
6593
  key: 0,
6594
- class: I(`vc-container vc-bordered vc-${u(p)} vc-${u(o)}`)
6594
+ class: _(`vc-container vc-bordered vc-${u(p)} vc-${u(o)}`)
6595
6595
  }, [
6596
6596
  (d(!0), v(i0, null, S0(u(A), (W) => (d(), t0(kp, {
6597
6597
  key: W,
@@ -6635,7 +6635,7 @@ const PW = ["value"], _W = ["value", "disabled"], IW = {
6635
6635
  return (t, n) => (d(), t0(cz, {
6636
6636
  id: u(b),
6637
6637
  placement: "bottom-start",
6638
- class: I(`vc-date-picker-content vc-${u(z)} vc-${u(p)}`),
6638
+ class: _(`vc-date-picker-content vc-${u(z)} vc-${u(p)}`),
6639
6639
  ref_key: "popoverRef",
6640
6640
  ref: o,
6641
6641
  onBeforeShow: u(O),
@@ -6682,7 +6682,7 @@ const tO = /* @__PURE__ */ P1(bf, [["render", zf]]), pf = ["data-testid"], of =
6682
6682
  z.stopPropagation && e.stopPropagation(), b("click");
6683
6683
  }
6684
6684
  return (e, c) => (d(), v("svg", {
6685
- class: I(["r-icon r-icon-20", u(o)]),
6685
+ class: _(["r-icon r-icon-20", u(o)]),
6686
6686
  "data-testid": `icon-${M.icon}`,
6687
6687
  onClick: O
6688
6688
  }, [
@@ -6738,7 +6738,7 @@ const tO = /* @__PURE__ */ P1(bf, [["render", zf]]), pf = ["data-testid"], of =
6738
6738
  }), o = l(() => b.disabled ? z.value.disabled : b.loading ? z.value.loading : ""), O = l(() => b.disabled || b.loading);
6739
6739
  return (e, c) => M.link ? (d(), v("a", {
6740
6740
  key: 0,
6741
- class: I(["r-button", u(p)]),
6741
+ class: _(["r-button", u(p)]),
6742
6742
  href: M.href,
6743
6743
  role: "link"
6744
6744
  }, [
@@ -6764,14 +6764,14 @@ const tO = /* @__PURE__ */ P1(bf, [["render", zf]]), pf = ["data-testid"], of =
6764
6764
  }, null, 8, ["icon"])) : k("", !0)
6765
6765
  ], 10, Of)) : (d(), v("button", {
6766
6766
  key: 1,
6767
- class: I(["r-button", u(p)]),
6767
+ class: _(["r-button", u(p)]),
6768
6768
  disabled: u(O),
6769
6769
  title: u(o)
6770
6770
  }, [
6771
6771
  M.loading ? (d(), t0(T0, {
6772
6772
  key: 0,
6773
6773
  icon: "loading",
6774
- class: I(["r-is-spinning r-icon-light-gray", { "r-inline-3": !M.icon }])
6774
+ class: _(["r-is-spinning r-icon-light-gray", { "r-inline-3": !M.icon }])
6775
6775
  }, null, 8, ["class"])) : k("", !0),
6776
6776
  M.iconLeft && !M.loading ? (d(), t0(T0, {
6777
6777
  key: 1,
@@ -6818,7 +6818,7 @@ const tO = /* @__PURE__ */ P1(bf, [["render", zf]]), pf = ["data-testid"], of =
6818
6818
  }
6819
6819
  return (O, e) => z.value ? (d(), v("div", {
6820
6820
  key: 0,
6821
- class: I(["r-alert", u(p)]),
6821
+ class: _(["r-alert", u(p)]),
6822
6822
  role: "alert"
6823
6823
  }, [
6824
6824
  M.title ? (d(), v("div", af, [
@@ -6945,8 +6945,8 @@ function c8(M, b, z) {
6945
6945
  return t = B, c = setTimeout(R, b), n ? i(B) : e;
6946
6946
  }
6947
6947
  function m(B) {
6948
- var D = B - a, L = B - t, _ = b - D;
6949
- return A ? e8(_, O - L) : _;
6948
+ var D = B - a, L = B - t, I = b - D;
6949
+ return A ? e8(I, O - L) : I;
6950
6950
  }
6951
6951
  function f(B) {
6952
6952
  var D = B - a, L = B - t;
@@ -7706,7 +7706,7 @@ var $O = { exports: {} }, CO = { exports: {} };
7706
7706
  E.push(new h(new Date(q + o0, 0, 1))), E.push(new h(new Date(q + o0, 6, 1)));
7707
7707
  return E;
7708
7708
  }
7709
- function _(q, N) {
7709
+ function I(q, N) {
7710
7710
  return q.offsetScore !== N.offsetScore ? q.offsetScore - N.offsetScore : q.abbrScore !== N.abbrScore ? q.abbrScore - N.abbrScore : q.zone.population !== N.zone.population ? N.zone.population - q.zone.population : N.zone.name.localeCompare(q.zone.name);
7711
7711
  }
7712
7712
  function Y(q, N) {
@@ -7744,7 +7744,7 @@ var $O = { exports: {} }, CO = { exports: {} };
7744
7744
  l0.scoreOffsetAt(y[s0]);
7745
7745
  O0.push(l0);
7746
7746
  }
7747
- return O0.sort(_), O0.length > 0 ? O0[0].zone.name : void 0;
7747
+ return O0.sort(I), O0.length > 0 ? O0[0].zone.name : void 0;
7748
7748
  }
7749
7749
  function Z(q) {
7750
7750
  return (!a || q) && (a = P()), a;
@@ -9162,12 +9162,12 @@ const QB = {
9162
9162
  return z[o % z.length];
9163
9163
  });
9164
9164
  return (o, O) => (d(), v("div", {
9165
- class: I(["r-avatar", { "r-avatar-description": M.description }])
9165
+ class: _(["r-avatar", { "r-avatar-description": M.description }])
9166
9166
  }, [
9167
9167
  w("div", bN, [
9168
9168
  M.initials ? (d(), v("div", {
9169
9169
  key: 0,
9170
- class: I(["r-avatar-initials", ["r-avatar-initials-" + u(p)]])
9170
+ class: _(["r-avatar-initials", ["r-avatar-initials-" + u(p)]])
9171
9171
  }, [
9172
9172
  w("span", zN, j(M.initials), 1)
9173
9173
  ], 2)) : k("", !0),
@@ -9205,7 +9205,7 @@ const QB = {
9205
9205
  [`r-badge-${z.type}`]: !0
9206
9206
  }));
9207
9207
  return (o, O) => (d(), v("span", {
9208
- class: I(["r-component r-badge", u(p)]),
9208
+ class: _(["r-component r-badge", u(p)]),
9209
9209
  onClick: O[2] || (O[2] = (e) => b("click"))
9210
9210
  }, [
9211
9211
  F(o.$slots, "default"),
@@ -9230,7 +9230,7 @@ const QB = {
9230
9230
  "r-button-group-fluid": b.fluid
9231
9231
  }));
9232
9232
  return (p, o) => (d(), v("div", {
9233
- class: I(["r-button-group", u(z)]),
9233
+ class: _(["r-button-group", u(z)]),
9234
9234
  role: "group"
9235
9235
  }, [
9236
9236
  F(p.$slots, "default")
@@ -9269,12 +9269,12 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9269
9269
  b("update:modelValue", e());
9270
9270
  };
9271
9271
  return (a, t) => (d(), v("div", {
9272
- class: I(["r-checkbox", { "r-is-error": u(p) }]),
9272
+ class: _(["r-checkbox", { "r-is-error": u(p) }]),
9273
9273
  role: "checkbox",
9274
9274
  "aria-checked": u(o)
9275
9275
  }, [
9276
9276
  w("label", {
9277
- class: I(["r-field-label r-field-label-toggle", { "r-is-disabled": M.disabled }]),
9277
+ class: _(["r-field-label r-field-label-toggle", { "r-is-disabled": M.disabled }]),
9278
9278
  for: M.id
9279
9279
  }, [
9280
9280
  F(a.$slots, "label", {}, () => [
@@ -9598,7 +9598,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9598
9598
  return null;
9599
9599
  if (typeof h == "string") {
9600
9600
  const B = Object.values(c.value).find(
9601
- (_) => _.relativeFilterValue === h
9601
+ (I) => I.relativeFilterValue === h
9602
9602
  );
9603
9603
  if (B)
9604
9604
  return B;
@@ -9618,16 +9618,16 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9618
9618
  });
9619
9619
  };
9620
9620
  return (h, B) => {
9621
- const D = $0("r-button"), L = $0("r-popper"), _ = $0("r-button-group");
9622
- return d(), t0(_, {
9623
- class: I({ "r-button-group-single": !M.showPresets })
9621
+ const D = $0("r-button"), L = $0("r-popper"), I = $0("r-button-group");
9622
+ return d(), t0(I, {
9623
+ class: _({ "r-button-group-single": !M.showPresets })
9624
9624
  }, {
9625
9625
  default: c0(() => [
9626
9626
  H(D, {
9627
9627
  "icon-left": "calendar",
9628
9628
  "capitalize-first-letter": !1,
9629
9629
  disabled: M.disabled,
9630
- class: I({ "r-date-range-button": M.showPresets }),
9630
+ class: _({ "r-date-range-button": M.showPresets }),
9631
9631
  onClick: B[0] || (B[0] = (Y) => M.calendarToggle())
9632
9632
  }, {
9633
9633
  default: c0(() => [
@@ -9829,7 +9829,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9829
9829
  return A0.isMoment(z.modelValue) && (console.log(
9830
9830
  `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)`
9831
9831
  ), b("update:modelValue", z.modelValue.toDate())), (a, t) => (d(), v("div", {
9832
- class: I(["r-field", { "r-is-error": u(p) }])
9832
+ class: _(["r-field", { "r-is-error": u(p) }])
9833
9833
  }, [
9834
9834
  M.label ? (d(), v("label", NN, j(M.label), 1)) : k("", !0),
9835
9835
  u(o) ? (d(), t0(BN, V0({
@@ -9922,7 +9922,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9922
9922
  ), (Number(b.gap) > 12 || Array.isArray(b.gap.split(",")) && b.gap.split(",").some((p) => Number(p) > 12)) && console.warn(
9923
9923
  `Revel[RFlex]: 'gap' prop only covers 12 sizes. Received: ${b.gap}`
9924
9924
  ), (p, o) => (d(), v("div", {
9925
- class: I(["r-flex-layout", u(z)]),
9925
+ class: _(["r-flex-layout", u(z)]),
9926
9926
  "data-testid": "r-flex-layout"
9927
9927
  }, [
9928
9928
  F(p.$slots, "default")
@@ -9949,7 +9949,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9949
9949
  return Number(b.span) > 12 && console.warn(
9950
9950
  `Revel[RFlexItem]: 'span' prop only covers 12 columns. Received: ${b.span}`
9951
9951
  ), (o, O) => (d(), v("div", {
9952
- class: I(["r-flex-layout-item", u(p)])
9952
+ class: _(["r-flex-layout-item", u(p)])
9953
9953
  }, [
9954
9954
  F(o.$slots, "default")
9955
9955
  ], 2));
@@ -9980,7 +9980,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
9980
9980
  ), Number(b.gap) > 12 && console.warn(
9981
9981
  `Revel[RGrid]: 'gap' prop only covers 12 sizes. Received: ${b.gap}`
9982
9982
  ), (p, o) => (d(), v("div", {
9983
- class: I(["r-grid-layout", u(z)]),
9983
+ class: _(["r-grid-layout", u(z)]),
9984
9984
  "data-testid": "r-grid-layout"
9985
9985
  }, [
9986
9986
  F(p.$slots, "default")
@@ -10019,16 +10019,16 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10019
10019
  ), (e, c) => (d(), v(i0, null, [
10020
10020
  u(o) ? (d(), v("div", {
10021
10021
  key: 0,
10022
- class: I(["r-grid-layout-cell is-offset", u(o)])
10022
+ class: _(["r-grid-layout-cell is-offset", u(o)])
10023
10023
  }, null, 2)) : k("", !0),
10024
10024
  w("div", {
10025
- class: I(["r-grid-layout-cell", u(p)])
10025
+ class: _(["r-grid-layout-cell", u(p)])
10026
10026
  }, [
10027
10027
  F(e.$slots, "default")
10028
10028
  ], 2),
10029
10029
  u(O) ? (d(), v("div", {
10030
10030
  key: 1,
10031
- class: I(["r-grid-layout-cell is-wrap", u(O)])
10031
+ class: _(["r-grid-layout-cell is-wrap", u(O)])
10032
10032
  }, null, 2)) : k("", !0)
10033
10033
  ], 64));
10034
10034
  }
@@ -10095,8 +10095,8 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10095
10095
  }), n = l(() => p.password ? "password" : p.numeric ? "number" : "text"), A = l(() => p.autoComplete || `new-${p.name}`), r = l(() => `(${p.modelValue ? Number(p.maxLength) - String(p.modelValue).length : p.maxLength} characters left.)`);
10096
10096
  function i(L) {
10097
10097
  p.autoResize && O.value && B(O.value);
10098
- const _ = L.target.value;
10099
- z("update:modelValue", _);
10098
+ const I = L.target.value;
10099
+ z("update:modelValue", I);
10100
10100
  }
10101
10101
  function W(L) {
10102
10102
  z("update:modelValue", L.target.value);
@@ -10139,8 +10139,8 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10139
10139
  getFocus: $
10140
10140
  }), B1(() => {
10141
10141
  p.autoFocus && $(), p.autoHighlight && D(), p.autoResize && O.value && B(O.value);
10142
- }), (L, _) => (d(), v("div", {
10143
- class: I(["r-field", { "r-is-error": u(c) }])
10142
+ }), (L, I) => (d(), v("div", {
10143
+ class: _(["r-field", { "r-is-error": u(c) }])
10144
10144
  }, [
10145
10145
  M.label ? (d(), v("label", {
10146
10146
  key: 0,
@@ -10208,7 +10208,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10208
10208
  ],
10209
10209
  onKeydown: R,
10210
10210
  onFocus: C,
10211
- onBlur: _[0] || (_[0] = (Y) => z("blur")),
10211
+ onBlur: I[0] || (I[0] = (Y) => z("blur")),
10212
10212
  onClick: h
10213
10213
  }, iM(M.inputEvents, !0)), null, 16, kN)), [
10214
10214
  [u(V2)]
@@ -10217,16 +10217,16 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10217
10217
  u(a) ? (d(), v("div", _N, [
10218
10218
  M.leftLabel ? (d(), v("div", IN, j(M.leftLabel), 1)) : k("", !0),
10219
10219
  w("div", {
10220
- class: I(["r-field-control", u(t)])
10220
+ class: _(["r-field-control", u(t)])
10221
10221
  }, [
10222
10222
  M.leftIcon ? (d(), t0(T0, {
10223
10223
  key: 0,
10224
10224
  icon: M.leftIcon,
10225
- class: I({
10225
+ class: _({
10226
10226
  "r-cursor-pointer": M.leftIconClickPointer,
10227
10227
  "r-is-spinning": M.leftIconSpinning
10228
10228
  }),
10229
- onClick: _[1] || (_[1] = (Y) => z("left-icon-click"))
10229
+ onClick: I[1] || (I[1] = (Y) => z("left-icon-click"))
10230
10230
  }, null, 8, ["icon", "class"])) : k("", !0),
10231
10231
  I0(w("input", V0({
10232
10232
  id: M.name,
@@ -10246,7 +10246,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10246
10246
  ],
10247
10247
  onKeydown: R,
10248
10248
  onFocus: C,
10249
- onBlur: _[2] || (_[2] = (Y) => z("blur")),
10249
+ onBlur: I[2] || (I[2] = (Y) => z("blur")),
10250
10250
  onClick: h
10251
10251
  }, iM(M.inputEvents, !0)), null, 16, VN), [
10252
10252
  [u(V2)]
@@ -10254,11 +10254,11 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10254
10254
  M.rightIcon ? (d(), t0(T0, {
10255
10255
  key: 1,
10256
10256
  icon: M.rightIcon,
10257
- class: I({
10257
+ class: _({
10258
10258
  "r-cursor-pointer": M.rightIconClickPointer,
10259
10259
  "r-is-spinning": M.rightIconSpinning
10260
10260
  }),
10261
- onClick: _[3] || (_[3] = (Y) => z("right-icon-click"))
10261
+ onClick: I[3] || (I[3] = (Y) => z("right-icon-click"))
10262
10262
  }, null, 8, ["icon", "class"])) : k("", !0)
10263
10263
  ], 2),
10264
10264
  F(L.$slots, "right-button"),
@@ -10285,12 +10285,12 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10285
10285
  }));
10286
10286
  return (p, o) => M.show ? (d(), v("div", {
10287
10287
  key: 0,
10288
- class: I(["r-component r-loader", u(z)]),
10288
+ class: _(["r-component r-loader", u(z)]),
10289
10289
  role: "alert",
10290
10290
  "aria-busy": "true"
10291
10291
  }, [
10292
10292
  w("div", {
10293
- class: I(["r-loader-icon-wrapper", { "r-is-spinner": M.spinner }])
10293
+ class: _(["r-loader-icon-wrapper", { "r-is-spinner": M.spinner }])
10294
10294
  }, [
10295
10295
  M.spinner ? (d(), t0(T0, {
10296
10296
  key: 0,
@@ -10380,10 +10380,10 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10380
10380
  }, [
10381
10381
  A.$slots.content || A.$slots.contents ? (d(), v("div", {
10382
10382
  key: 0,
10383
- class: I(["r-modal-overlay", { "r-is-scrollable": M.scroll }])
10383
+ class: _(["r-modal-overlay", { "r-is-scrollable": M.scroll }])
10384
10384
  }, [
10385
10385
  w("div", {
10386
- class: I(["r-modal-control", u(O)]),
10386
+ class: _(["r-modal-control", u(O)]),
10387
10387
  style: s1(u(o)),
10388
10388
  onMousedown: r[1] || (r[1] = (i) => i.stopPropagation())
10389
10389
  }, [
@@ -10403,7 +10403,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10403
10403
  ])) : k("", !0),
10404
10404
  F(A.$slots, "contents", {}, () => [
10405
10405
  w("div", {
10406
- class: I(["r-modal-content", { "r-is-scrollable": M.scrollContent }])
10406
+ class: _(["r-modal-content", { "r-is-scrollable": M.scrollContent }])
10407
10407
  }, [
10408
10408
  F(A.$slots, "content")
10409
10409
  ], 2)
@@ -10421,7 +10421,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10421
10421
  close: c
10422
10422
  }, () => [
10423
10423
  H(E1, {
10424
- class: I({ "r-inline-3": A.$slots.actions }),
10424
+ class: _({ "r-inline-3": A.$slots.actions }),
10425
10425
  onClick: c
10426
10426
  }, {
10427
10427
  default: c0(() => [
@@ -10575,7 +10575,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10575
10575
  key: f,
10576
10576
  role: "button",
10577
10577
  "aria-label": `${f}-month-button`,
10578
- class: I([{
10578
+ class: _([{
10579
10579
  "r-month-picker-month-disabled": A(R),
10580
10580
  "r-month-picker-month-selected": n(R)
10581
10581
  }, "r-month-picker-month"]),
@@ -10654,7 +10654,7 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10654
10654
  class: "r-pagination-control-button"
10655
10655
  }, " ... ")) : (d(), t0(E1, {
10656
10656
  key: `r-pagination-control-button-${h}`,
10657
- class: I(["r-pagination-control-button", { "r-button-type-primary": C.selected }]),
10657
+ class: _(["r-pagination-control-button", { "r-button-type-primary": C.selected }]),
10658
10658
  onClick: (B) => R(C)
10659
10659
  }, {
10660
10660
  default: c0(() => [
@@ -10805,8 +10805,8 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10805
10805
  function i() {
10806
10806
  if (a.value == null || t.value == null)
10807
10807
  return;
10808
- const L = a.value.getBoundingClientRect(), _ = t.value.childNodes[0].getBoundingClientRect(), Y = m(), M0 = c[p.direction][p.position];
10809
- let P = _.height * M0[1] + L.height * M0[0], Z = _.width * M0[3] + L.width * M0[2];
10808
+ const L = a.value.getBoundingClientRect(), I = t.value.childNodes[0].getBoundingClientRect(), Y = m(), M0 = c[p.direction][p.position];
10809
+ let P = I.height * M0[1] + L.height * M0[0], Z = I.width * M0[3] + L.width * M0[2];
10810
10810
  return Y && (P -= Y.bottom * M0[0], P -= Y.top * M0[1], Z += Y.left, ["bottomEnd", "topEnd"].includes(p.position) && (Z -= Y.right * 2)), p.direction === "horizontal" ? P += p.offset : Z += p.offset, { top: P, left: Z };
10811
10811
  }
10812
10812
  function W() {
@@ -10817,9 +10817,9 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10817
10817
  const L = a.value?.firstElementChild;
10818
10818
  if (!L)
10819
10819
  return null;
10820
- const { marginTop: _, marginRight: Y, marginBottom: M0, marginLeft: P } = window.getComputedStyle(L);
10820
+ const { marginTop: I, marginRight: Y, marginBottom: M0, marginLeft: P } = window.getComputedStyle(L);
10821
10821
  return {
10822
- top: f(_) + p.margin[0],
10822
+ top: f(I) + p.margin[0],
10823
10823
  right: f(Y) + p.margin[1],
10824
10824
  bottom: f(M0) + p.margin[2],
10825
10825
  left: f(P) + p.margin[3]
@@ -10873,10 +10873,10 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10873
10873
  {
10874
10874
  immediate: !0
10875
10875
  }
10876
- ), (L, _) => I0((d(), v("div", {
10876
+ ), (L, I) => I0((d(), v("div", {
10877
10877
  ref_key: "popperElement",
10878
10878
  ref: O,
10879
- class: I(["r-popper", { "r-popper-fluid": M.fluid }]),
10879
+ class: _(["r-popper", { "r-popper-fluid": M.fluid }]),
10880
10880
  onKeydown: C0(V, ["esc"])
10881
10881
  }, [
10882
10882
  F(L.$slots, "trigger", { popper: u(n) }),
@@ -10925,11 +10925,11 @@ const aN = ["aria-checked"], nN = ["for"], AN = ["id", "disabled", "value", "che
10925
10925
  "r-is-checked": e.value
10926
10926
  })), O = l(() => z.validate ? z.validate.$invalid && z.validate.$dirty : !1), e = l(() => z.value === null ? !1 : z.modelValue === z.value);
10927
10927
  return (c, a) => (d(), v("div", {
10928
- class: I(["r-field", u(p)]),
10928
+ class: _(["r-field", u(p)]),
10929
10929
  "aria-checked": u(e)
10930
10930
  }, [
10931
10931
  w("label", {
10932
- class: I(["r-field-label r-field-label-toggle", u(o)]),
10932
+ class: _(["r-field-label r-field-label-toggle", u(o)]),
10933
10933
  for: M.id
10934
10934
  }, [
10935
10935
  M.label ? (d(), v(i0, { key: 0 }, [
@@ -11666,6 +11666,11 @@ const Ey = (M) => M.reduce(
11666
11666
  "r-is-error": this.isInvalid
11667
11667
  };
11668
11668
  },
11669
+ labelClasses() {
11670
+ return {
11671
+ "r-select-block-pointer-events": this.isOpen
11672
+ };
11673
+ },
11669
11674
  isInvalid() {
11670
11675
  return this.validate ? this.validate.$error : !1;
11671
11676
  },
@@ -11965,17 +11970,17 @@ const Ey = (M) => M.reduce(
11965
11970
  function oX(M, b, z, p, o, O) {
11966
11971
  const e = $0("r-icon"), c = $0("r-badge"), a = $0("r-button");
11967
11972
  return d(), v("div", {
11968
- class: I(M.classes)
11973
+ class: _(M.classes)
11969
11974
  }, [
11970
11975
  M.hasLabel ? (d(), v("label", {
11971
11976
  key: 0,
11972
11977
  for: M.id,
11973
- class: "r-field-label",
11978
+ class: _(["r-field-label", M.labelClasses]),
11974
11979
  onClick: b[0] || (b[0] = (...t) => M.activate && M.activate(...t))
11975
- }, j(M.label), 9, xy)) : k("", !0),
11980
+ }, j(M.label), 11, xy)) : k("", !0),
11976
11981
  w("div", {
11977
11982
  tabindex: M.searchable ? -1 : M.tabindex,
11978
- class: I([{
11983
+ class: _([{
11979
11984
  "r-select-is-active": M.isOpen,
11980
11985
  "r-select-is-disabled": M.disabled,
11981
11986
  "r-select-is-above": M.isAbove,
@@ -12149,7 +12154,7 @@ function oX(M, b, z, p, o, O) {
12149
12154
  class: "r-select-content-element"
12150
12155
  }, [
12151
12156
  w("span", {
12152
- class: I([M.optionHighlight(n, t), "r-select-content-element-option"]),
12157
+ class: _([M.optionHighlight(n, t), "r-select-content-element-option"]),
12153
12158
  onClick: N0((A) => M.select(t), ["stop"]),
12154
12159
  onMouseenter: N0((A) => M.pointerSet(n), ["self"])
12155
12160
  }, [
@@ -12381,7 +12386,7 @@ const aX = /* @__PURE__ */ Wz(eX, [["render", tX]]), nX = J({
12381
12386
  function iX(M, b, z, p, o, O) {
12382
12387
  return d(), v("div", null, [
12383
12388
  w("div", {
12384
- class: I(["r-tab", [{ "r-tab-divided": M.divided }, M.menuClass]]),
12389
+ class: _(["r-tab", [{ "r-tab-divided": M.divided }, M.menuClass]]),
12385
12390
  role: "tablist"
12386
12391
  }, [
12387
12392
  (d(!0), v(i0, null, S0(M.visibleTabs, (e, c) => (d(), v("div", {
@@ -12394,20 +12399,20 @@ function iX(M, b, z, p, o, O) {
12394
12399
  to: e.to,
12395
12400
  role: "tab",
12396
12401
  "aria-controls": e.tabPanelId,
12397
- class: I(["r-tab-item-link", { "r-is-active": e.isActive }]),
12402
+ class: _(["r-tab-item-link", { "r-is-active": e.isActive }]),
12398
12403
  onClick: (a) => M.selectTab(e, c)
12399
12404
  }, j(M.getTabName(e, c)), 11, AX)) : (d(), v("button", {
12400
12405
  key: 1,
12401
12406
  id: e.tabId,
12402
12407
  role: "tab",
12403
12408
  "aria-controls": e.tabPanelId,
12404
- class: I(["r-tab-item-link", { "r-is-active": e.isActive }]),
12409
+ class: _(["r-tab-item-link", { "r-is-active": e.isActive }]),
12405
12410
  onClick: (a) => M.selectTab(e, c)
12406
12411
  }, j(M.getTabName(e, c)), 11, rX))
12407
12412
  ]))), 128))
12408
12413
  ], 2),
12409
12414
  w("div", {
12410
- class: I(["r-tab-content", M.contentClass])
12415
+ class: _(["r-tab-content", M.contentClass])
12411
12416
  }, [
12412
12417
  F(M.$slots, "default")
12413
12418
  ], 2)
@@ -12524,7 +12529,7 @@ const sX = /* @__PURE__ */ Wz(nX, [["render", iX]]), qX = { class: "r-component
12524
12529
  key: 0,
12525
12530
  ref_key: "toastEl",
12526
12531
  ref: o,
12527
- class: I(["r-component r-toast", u(O)]),
12532
+ class: _(["r-component r-toast", u(O)]),
12528
12533
  onMouseenter: t,
12529
12534
  onMouseleave: a
12530
12535
  }, [