@rebilly/revel 13.2.1 → 13.3.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 { Fragment as e, Teleport as t, Transition as n, cloneVNode as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, h as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeMount as C, onBeforeUnmount as w, onMounted as T, onUnmounted as E, openBlock as D, provide as O, reactive as k, ref as A, render as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDirective as F, resolveDynamicComponent as ee, shallowRef as te, toDisplayString as I, toHandlers as ne, toRef as L, toRefs as R, unref as z, useAttrs as B, useModel as re, useSlots as ie, useTemplateRef as ae, vModelText as V, vShow as oe, watch as H, watchEffect as se, withCtx as U, withDirectives as W, withKeys as G, withModifiers as K } from "vue";
1
+ import { Fragment as e, Teleport as t, Transition as n, cloneVNode as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, h as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeMount as C, onBeforeUnmount as w, onMounted as T, onUnmounted as E, openBlock as D, provide as O, reactive as k, ref as A, render as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDirective as F, resolveDynamicComponent as ee, shallowRef as te, toDisplayString as I, toHandlers as ne, toRef as L, toRefs as R, unref as z, useAttrs as B, useModel as re, useSlots as ie, useTemplateRef as ae, vModelText as V, vShow as H, watch as U, watchEffect as oe, withCtx as W, withDirectives as G, withKeys as se, withModifiers as K } from "vue";
2
2
  import * as ce from "moment";
3
3
  import q from "moment";
4
4
  //#region \0rolldown/runtime.js
@@ -770,11 +770,11 @@ function tn(e) {
770
770
  var k = b === "y" ? "top" : Ce, A = b === "y" ? xe : Se, j = b === "y" ? "height" : "width", M = S[b], N = M + g[k], P = M - g[A], F = p ? -w[j] / 2 : 0, ee = v === "start" ? C[j] : w[j], te = v === "start" ? -w[j] : -C[j], I = t.elements.arrow, ne = p && I ? Ye(I) : {
771
771
  width: 0,
772
772
  height: 0
773
- }, L = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : st(), R = L[k], z = L[A], B = at(0, C[j], ne[j]), re = y ? C[j] / 2 - F - B - R - E.mainAxis : ee - B - R - E.mainAxis, ie = y ? -C[j] / 2 + F + B + z + E.mainAxis : te + B + z + E.mainAxis, ae = t.elements.arrow && rt(t.elements.arrow), V = ae ? b === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, oe = D?.[b] ?? 0, H = M + re - oe - V, se = M + ie - oe, U = at(p ? We(N, H) : N, M, p ? Ue(P, se) : P);
774
- S[b] = U, O[b] = U - M;
773
+ }, L = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : st(), R = L[k], z = L[A], B = at(0, C[j], ne[j]), re = y ? C[j] / 2 - F - B - R - E.mainAxis : ee - B - R - E.mainAxis, ie = y ? -C[j] / 2 + F + B + z + E.mainAxis : te + B + z + E.mainAxis, ae = t.elements.arrow && rt(t.elements.arrow), V = ae ? b === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, H = D?.[b] ?? 0, U = M + re - H - V, oe = M + ie - H, W = at(p ? We(N, U) : N, M, p ? Ue(P, oe) : P);
774
+ S[b] = W, O[b] = W - M;
775
775
  }
776
776
  if (s) {
777
- var W = b === "x" ? "top" : Ce, G = b === "x" ? xe : Se, K = S[x], ce = x === "y" ? "height" : "width", q = K + g[W], le = K - g[G], ue = ["top", Ce].indexOf(_) !== -1, de = D?.[x] ?? 0, fe = ue ? q : K - C[ce] - w[ce] - de + E.altAxis, pe = ue ? K + C[ce] + w[ce] - de - E.altAxis : le, me = p && ue ? ot(fe, K, pe) : at(p ? fe : q, K, p ? pe : le);
777
+ var G = b === "x" ? "top" : Ce, se = b === "x" ? xe : Se, K = S[x], ce = x === "y" ? "height" : "width", q = K + g[G], le = K - g[se], ue = ["top", Ce].indexOf(_) !== -1, de = D?.[x] ?? 0, fe = ue ? q : K - C[ce] - w[ce] - de + E.altAxis, pe = ue ? K + C[ce] + w[ce] - de - E.altAxis : le, me = p && ue ? ot(fe, K, pe) : at(p ? fe : q, K, p ? pe : le);
778
778
  S[x] = me, O[x] = me - K;
779
779
  }
780
780
  t.modifiersData[r] = O;
@@ -3820,7 +3820,7 @@ function Av(e) {
3820
3820
  let n = typeof e.value;
3821
3821
  n === "string" && e.value.toLowerCase() === "system" ? s() : n === "object" ? l(e.value) : t.value = !!e.value;
3822
3822
  }
3823
- let d = H(() => e.value, () => u(), { immediate: !0 });
3823
+ let d = U(() => e.value, () => u(), { immediate: !0 });
3824
3824
  function f() {
3825
3825
  r &&= (r.removeEventListener("change", o), void 0), a &&= (a.disconnect(), void 0);
3826
3826
  }
@@ -4124,12 +4124,12 @@ function Zv(e, { slots: t, emit: n }) {
4124
4124
  }, R = () => {
4125
4125
  s.value = !1, n("transition-end"), p &&= (p.resolve(!0), null);
4126
4126
  }, z = (e, t, n = u.value) => Lg(e, t, n, v.value), B = (e) => Ig(e, u.value, v.value), re = (e) => {
4127
- S.value && W.value && (e.isDisabled = W.value.cellExists(S.value.key, e.dayIndex));
4127
+ S.value && G.value && (e.isDisabled = G.value.cellExists(S.value.key, e.dayIndex));
4128
4128
  }, ie = (e) => {
4129
4129
  e.isFocusable = e.inMonth && e.day === o.value;
4130
4130
  }, ae = (e, t) => {
4131
4131
  for (let n of e) for (let e of n.days) if (t(e) === !1) return;
4132
- }, V = i(() => d.value.reduce((e, t) => (e.push(...t.viewDays), e), [])), oe = i(() => {
4132
+ }, V = i(() => d.value.reduce((e, t) => (e.push(...t.viewDays), e), [])), H = i(() => {
4133
4133
  let t = [];
4134
4134
  return (e.attributes || []).forEach((e, n) => {
4135
4135
  e && e.dates && t.push(new gv({
@@ -4137,22 +4137,22 @@ function Zv(e, { slots: t, emit: n }) {
4137
4137
  order: e.order || 0
4138
4138
  }, h.value, v.value));
4139
4139
  }), S.value && t.push(S.value), t;
4140
- }), U = i(() => fh(oe.value)), W = i(() => {
4140
+ }), W = i(() => fh(H.value)), G = i(() => {
4141
4141
  let e = new Yg();
4142
- return oe.value.forEach((t) => {
4142
+ return H.value.forEach((t) => {
4143
4143
  t.ranges.forEach((n) => {
4144
4144
  e.render(t, n, V.value);
4145
4145
  });
4146
4146
  }), e;
4147
- }), G = i(() => V.value.reduce((e, t) => (e[t.dayIndex] = {
4147
+ }), se = i(() => V.value.reduce((e, t) => (e[t.dayIndex] = {
4148
4148
  day: t,
4149
4149
  cells: []
4150
- }, e[t.dayIndex].cells.push(...W.value.getCells(t)), e), {})), K = (t, n) => {
4150
+ }, e[t.dayIndex].cells.push(...G.value.getCells(t)), e), {})), K = (t, n) => {
4151
4151
  let r = e.showWeeknumbers || e.showIsoWeeknumbers;
4152
4152
  return r == null ? "" : _f(r) ? r ? "left" : "" : r.startsWith("right") ? n > 1 ? "right" : r : t > 1 ? "left" : r;
4153
4153
  }, ce = () => {
4154
- if (!U.value) return null;
4155
- let e = oe.value.find((e) => e.pinPage) || oe.value[0];
4154
+ if (!W.value) return null;
4155
+ let e = H.value.find((e) => e.pinPage) || H.value[0];
4156
4156
  if (!e || !e.hasRanges) return null;
4157
4157
  let [t] = e.ranges, n = t.start?.date || t.end?.date;
4158
4158
  return n ? B(n) : null;
@@ -4274,15 +4274,15 @@ function Zv(e, { slots: t, emit: n }) {
4274
4274
  }, e_("touch")));
4275
4275
  }), E(() => {
4276
4276
  d.value = [], m && m();
4277
- }), H(() => v.value, () => {
4277
+ }), U(() => v.value, () => {
4278
4278
  de();
4279
- }), H(() => w.value, () => de()), H(() => e.view, () => u.value = e.view), H(() => u.value, () => {
4279
+ }), U(() => w.value, () => de()), U(() => e.view, () => u.value = e.view), U(() => u.value, () => {
4280
4280
  Dv("view", () => {
4281
4281
  de();
4282
4282
  }), n("update:view", u.value);
4283
- }), H(() => o.value, () => {
4283
+ }), U(() => o.value, () => {
4284
4284
  ae(d.value, (e) => ie(e));
4285
- }), se(() => {
4285
+ }), oe(() => {
4286
4286
  n("update:pages", d.value), ae(d.value, (e) => {
4287
4287
  re(e), ie(e);
4288
4288
  });
@@ -4302,12 +4302,12 @@ function Zv(e, { slots: t, emit: n }) {
4302
4302
  displayMode: _,
4303
4303
  locale: v,
4304
4304
  masks: y,
4305
- attributes: oe,
4305
+ attributes: H,
4306
4306
  disabledAttribute: S,
4307
4307
  disabledDates: C,
4308
- attributeContext: W,
4308
+ attributeContext: G,
4309
4309
  days: V,
4310
- dayCells: G,
4310
+ dayCells: se,
4311
4311
  count: w,
4312
4312
  step: D,
4313
4313
  firstPage: k,
@@ -4517,11 +4517,11 @@ var $v = f({
4517
4517
  function z() {
4518
4518
  a != null && (a.disconnect(), a = null);
4519
4519
  }
4520
- return H(() => r.value, (e) => {
4520
+ return U(() => r.value, (e) => {
4521
4521
  z(), e && (a = new ResizeObserver(() => {
4522
4522
  o && o.update();
4523
4523
  }), a.observe(e));
4524
- }), H(() => s.placement, c, { immediate: !0 }), T(() => {
4524
+ }), U(() => s.placement, c, { immediate: !0 }), T(() => {
4525
4525
  O();
4526
4526
  }), E(() => {
4527
4527
  f(), z(), j();
@@ -4564,7 +4564,7 @@ function ty(e, t, r, i, a, l) {
4564
4564
  onBeforeLeave: e.beforeLeave,
4565
4565
  onAfterLeave: e.afterLeave
4566
4566
  }, {
4567
- default: U(() => [e.isVisible ? (D(), s("div", v({
4567
+ default: W(() => [e.isVisible ? (D(), s("div", v({
4568
4568
  key: 0,
4569
4569
  tabindex: "-1",
4570
4570
  class: `vc-popover-content direction-${e.direction}`
@@ -4625,7 +4625,7 @@ var ny = /* @__PURE__ */ ey($v, [["render", ty]]), ry = { class: "vc-day-popover
4625
4625
  id: z(n),
4626
4626
  class: b([`vc-${z(i)}`, `vc-${z(r)}`])
4627
4627
  }, {
4628
- default: U(({ data: { day: t, attributes: n }, hide: r }) => [d(sy, {
4628
+ default: W(({ data: { day: t, attributes: n }, hide: r }) => [d(sy, {
4629
4629
  name: "day-popover",
4630
4630
  day: t,
4631
4631
  "day-title": p(t),
@@ -4634,7 +4634,7 @@ var ny = /* @__PURE__ */ ey($v, [["render", ty]]), ry = { class: "vc-day-popover
4634
4634
  masks: z(l),
4635
4635
  hide: r
4636
4636
  }, {
4637
- default: U(() => [c("div", cy, [z(l).dayPopover ? (D(), s("div", ly, I(p(t)), 1)) : o("", !0), (D(!0), s(e, null, M(n, (e) => (D(), a(oy, {
4637
+ default: W(() => [c("div", cy, [z(l).dayPopover ? (D(), s("div", ly, I(p(t)), 1)) : o("", !0), (D(!0), s(e, null, M(n, (e) => (D(), a(oy, {
4638
4638
  key: e.key,
4639
4639
  attribute: e
4640
4640
  }, null, 8, ["attribute"]))), 128))])]),
@@ -4776,23 +4776,23 @@ var Ay = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4776
4776
  class: "vc-arrow vc-prev vc-focus",
4777
4777
  disabled: !z(a),
4778
4778
  onClick: n[0] ||= (...e) => z(l) && z(l)(...e),
4779
- onKeydown: n[1] ||= G((...e) => z(l) && z(l)(...e), ["space", "enter"])
4779
+ onKeydown: n[1] ||= se((...e) => z(l) && z(l)(...e), ["space", "enter"])
4780
4780
  }, [d(sy, {
4781
4781
  name: "header-prev-button",
4782
4782
  disabled: !z(a)
4783
4783
  }, {
4784
- default: U(() => [d(jy, {
4784
+ default: W(() => [d(jy, {
4785
4785
  name: "ChevronLeft",
4786
4786
  size: "24"
4787
4787
  })]),
4788
4788
  _: 1
4789
4789
  }, 8, ["disabled"])], 40, My)) : o("", !0),
4790
4790
  z(v).title ? (D(), s("div", Ny, [d(sy, { name: "header-title-wrapper" }, {
4791
- default: U(() => [W((D(), s("button", Py, [d(sy, {
4791
+ default: W(() => [G((D(), s("button", Py, [d(sy, {
4792
4792
  name: "header-title",
4793
4793
  title: e.page.title
4794
4794
  }, {
4795
- default: U(() => [c("span", null, I(e.page.title), 1)]),
4795
+ default: W(() => [c("span", null, I(e.page.title), 1)]),
4796
4796
  _: 1
4797
4797
  }, 8, ["title"])])), [[z(Cv), z(m)]])]),
4798
4798
  _: 1
@@ -4803,12 +4803,12 @@ var Ay = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4803
4803
  class: "vc-arrow vc-next vc-focus",
4804
4804
  disabled: !z(u),
4805
4805
  onClick: n[2] ||= (...e) => z(f) && z(f)(...e),
4806
- onKeydown: n[3] ||= G((...e) => z(f) && z(f)(...e), ["space", "enter"])
4806
+ onKeydown: n[3] ||= se((...e) => z(f) && z(f)(...e), ["space", "enter"])
4807
4807
  }, [d(sy, {
4808
4808
  name: "header-next-button",
4809
4809
  disabled: !z(u)
4810
4810
  }, {
4811
- default: U(() => [d(jy, {
4811
+ default: W(() => [d(jy, {
4812
4812
  name: "ChevronRight",
4813
4813
  size: "24"
4814
4814
  })]),
@@ -4927,10 +4927,10 @@ var By = { class: "vc-nav-header" }, Vy = ["disabled"], Hy = ["disabled"], Uy =
4927
4927
  click: () => {
4928
4928
  f.value = e.year, u.value = !0, h();
4929
4929
  }
4930
- }))), te = i(() => l(v(p.value - 1), y(p.value - 1))), ne = i(() => te.value.some((e) => !e.isDisabled)), L = i(() => l(v(p.value + 1), y(p.value + 1))), R = i(() => L.value.some((e) => !e.isDisabled)), B = i(() => u.value ? k.value : ee.value), re = i(() => u.value ? N.value : ne.value), ie = i(() => u.value ? F.value : R.value), ae = i(() => rh(ee.value.map((e) => e.year))), V = i(() => ah(ee.value.map((e) => e.year))), oe = i(() => u.value ? f.value : `${ae.value} - ${V.value}`);
4931
- return se(() => {
4930
+ }))), te = i(() => l(v(p.value - 1), y(p.value - 1))), ne = i(() => te.value.some((e) => !e.isDisabled)), L = i(() => l(v(p.value + 1), y(p.value + 1))), R = i(() => L.value.some((e) => !e.isDisabled)), B = i(() => u.value ? k.value : ee.value), re = i(() => u.value ? N.value : ne.value), ie = i(() => u.value ? F.value : R.value), ae = i(() => rh(ee.value.map((e) => e.year))), V = i(() => ah(ee.value.map((e) => e.year))), H = i(() => u.value ? f.value : `${ae.value} - ${V.value}`);
4931
+ return oe(() => {
4932
4932
  f.value = a.value.year, h();
4933
- }), H(() => f.value, (e) => p.value = g(e)), T(() => h()), (t, n) => (D(), s("div", {
4933
+ }), U(() => f.value, (e) => p.value = g(e)), T(() => h()), (t, n) => (D(), s("div", {
4934
4934
  class: "vc-nav-container",
4935
4935
  ref_key: "navContainer",
4936
4936
  ref: m
@@ -4946,7 +4946,7 @@ var By = { class: "vc-nav-header" }, Vy = ["disabled"], Hy = ["disabled"], Uy =
4946
4946
  move: x,
4947
4947
  disabled: !z(re)
4948
4948
  }, {
4949
- default: U(() => [d(jy, {
4949
+ default: W(() => [d(jy, {
4950
4950
  name: "ChevronLeft",
4951
4951
  width: "22px",
4952
4952
  height: "24px"
@@ -4958,7 +4958,7 @@ var By = { class: "vc-nav-header" }, Vy = ["disabled"], Hy = ["disabled"], Uy =
4958
4958
  class: "vc-nav-title vc-focus",
4959
4959
  onClick: _,
4960
4960
  onKeydown: n[1] ||= (e) => z(_h)(e, _)
4961
- }, I(z(oe)), 33),
4961
+ }, I(z(H)), 33),
4962
4962
  c("button", {
4963
4963
  type: "button",
4964
4964
  class: "vc-nav-arrow is-right vc-focus",
@@ -4970,7 +4970,7 @@ var By = { class: "vc-nav-header" }, Vy = ["disabled"], Hy = ["disabled"], Uy =
4970
4970
  move: S,
4971
4971
  disabled: !z(ie)
4972
4972
  }, {
4973
- default: U(() => [d(jy, {
4973
+ default: W(() => [d(jy, {
4974
4974
  name: "ChevronRight",
4975
4975
  width: "22px",
4976
4976
  height: "24px"
@@ -5006,9 +5006,9 @@ var By = { class: "vc-nav-header" }, Vy = ["disabled"], Hy = ["disabled"], Uy =
5006
5006
  `vc-${z(r)}`
5007
5007
  ])
5008
5008
  }, {
5009
- default: U(({ data: e }) => [d(Ky, { page: e.page }, {
5010
- default: U(() => [d(sy, { name: "nav" }, {
5011
- default: U(() => [d(Gy)]),
5009
+ default: W(({ data: e }) => [d(Ky, { page: e.page }, {
5010
+ default: W(() => [d(sy, { name: "nav" }, {
5011
+ default: W(() => [d(Gy)]),
5012
5012
  _: 1
5013
5013
  })]),
5014
5014
  _: 2
@@ -5147,7 +5147,7 @@ function eb(t, n, r, i, a, l) {
5147
5147
  dayEvents: t.dayContentEvents,
5148
5148
  locale: t.locale
5149
5149
  }, {
5150
- default: U(() => [W((D(), s("div", v(t.dayContentProps, ne(t.dayContentEvents, !0)), [u(I(t.day.label), 1)], 16)), [[p, t.dayPopover]])]),
5150
+ default: W(() => [G((D(), s("div", v(t.dayContentProps, ne(t.dayContentEvents, !0)), [u(I(t.day.label), 1)], 16)), [[p, t.dayPopover]])]),
5151
5151
  _: 1
5152
5152
  }, 8, [
5153
5153
  "day",
@@ -5251,7 +5251,7 @@ function ob(t, r, i, l, u, f) {
5251
5251
  onBeforeEnter: t.onTransitionBeforeEnter,
5252
5252
  onAfterEnter: t.onTransitionAfterEnter
5253
5253
  }, {
5254
- default: U(() => [(D(), s("div", {
5254
+ default: W(() => [(D(), s("div", {
5255
5255
  key: t.pages[0].id,
5256
5256
  class: "vc-pane-layout",
5257
5257
  style: S({ gridTemplateColumns: `repeat(${t.columns}, 1fr)` })
@@ -5259,11 +5259,11 @@ function ob(t, r, i, l, u, f) {
5259
5259
  key: e.id,
5260
5260
  page: e
5261
5261
  }, {
5262
- default: U(() => [d(h, {
5262
+ default: W(() => [d(h, {
5263
5263
  name: "page",
5264
5264
  page: e
5265
5265
  }, {
5266
- default: U(() => [d(m)]),
5266
+ default: W(() => [d(m)]),
5267
5267
  _: 2
5268
5268
  }, 1032, ["page"])]),
5269
5269
  _: 2
@@ -5365,7 +5365,7 @@ function db(e, { emit: t, slots: n }) {
5365
5365
  end: t[1]
5366
5366
  } : t[0];
5367
5367
  }), ne = i(() => {
5368
- if (!se(u.value)) return null;
5368
+ if (!oe(u.value)) return null;
5369
5369
  let t = {
5370
5370
  key: "select-drag",
5371
5371
  ...e.selectAttribute,
@@ -5374,7 +5374,7 @@ function db(e, { emit: t, slots: n }) {
5374
5374
  }, { dot: n, bar: r, highlight: i, content: a } = t;
5375
5375
  return !n && !r && !i && !a && (t.highlight = !0), t;
5376
5376
  }), R = i(() => {
5377
- if (!v.value || !se(d.value)) return null;
5377
+ if (!v.value || !oe(d.value)) return null;
5378
5378
  let t = {
5379
5379
  key: "select-drag",
5380
5380
  ...e.dragAttribute,
@@ -5426,23 +5426,23 @@ function db(e, { emit: t, slots: n }) {
5426
5426
  function V(e) {
5427
5427
  return e == null ? !1 : Sf(e) ? !isNaN(e) : sh(e) ? !isNaN(e.getTime()) : Uo(e) ? e !== "" : G_(e);
5428
5428
  }
5429
- function oe(e) {
5429
+ function H(e) {
5430
5430
  return ch(e) && "start" in e && "end" in e && V(e.start ?? null) && V(e.end ?? null);
5431
5431
  }
5432
- function se(e) {
5433
- return oe(e) || V(e);
5432
+ function oe(e) {
5433
+ return H(e) || V(e);
5434
5434
  }
5435
- function U(e, t) {
5435
+ function W(e, t) {
5436
5436
  if (e == null && t == null) return !0;
5437
5437
  if (e == null || t == null) return !1;
5438
5438
  let n = sh(e), r = sh(t);
5439
- return n && r ? e.getTime() === t.getTime() : n || r ? !1 : U(e.start, t.start) && U(e.end, t.end);
5439
+ return n && r ? e.getTime() === t.getTime() : n || r ? !1 : W(e.start, t.start) && W(e.end, t.end);
5440
5440
  }
5441
- function W(e) {
5442
- return !se(e) || !s.value ? !1 : s.value.intersectsRange(a.value.range(e));
5441
+ function G(e) {
5442
+ return !oe(e) || !s.value ? !1 : s.value.intersectsRange(a.value.range(e));
5443
5443
  }
5444
- function G(e, t, n, r) {
5445
- return se(e) ? oe(e) ? De({
5444
+ function se(e, t, n, r) {
5445
+ return oe(e) ? H(e) ? De({
5446
5446
  start: a.value.toDate(e.start, {
5447
5447
  ...t[0],
5448
5448
  fillDate: b.value ?? void 0,
@@ -5460,7 +5460,7 @@ function db(e, { emit: t, slots: n }) {
5460
5460
  }) : null;
5461
5461
  }
5462
5462
  function K(e, t) {
5463
- return oe(e) ? {
5463
+ return H(e) ? {
5464
5464
  start: a.value.fromDate(e.start, t[0]),
5465
5465
  end: a.value.fromDate(e.end, t[1])
5466
5466
  } : v.value ? null : a.value.fromDate(e, t[0]);
@@ -5474,12 +5474,12 @@ function db(e, { emit: t, slots: n }) {
5474
5474
  });
5475
5475
  }
5476
5476
  function q(n, { config: r = D.value, patch: i = "dateTime", clearIfEqual: a = !1, formatInput: o = !0, hidePopover: s = !1, dragging: c = E.value, targetPriority: l, moveToValue: f = !1 } = {}) {
5477
- let p = G(n, ae(r), i, l);
5478
- if (W(p)) {
5477
+ let p = se(n, ae(r), i, l);
5478
+ if (G(p)) {
5479
5479
  if (c) return null;
5480
5480
  p = u.value, s = !1;
5481
- } else p == null && e.isRequired ? p = u.value : p != null && U(u.value, p) && a && (p = null);
5482
- let m = c ? d : u, h = !U(m.value, p);
5481
+ } else p == null && e.isRequired ? p = u.value : p != null && W(u.value, p) && a && (p = null);
5482
+ let m = c ? d : u, h = !W(m.value, p);
5483
5483
  m.value = p, c || (d.value = null);
5484
5484
  let g = K(p, D.value);
5485
5485
  return h && (_ = !1, t(c ? "drag" : "update:modelValue", g), y(() => _ = !0)), s && !c && Te(), o && le(), f && y(() => Ae(l ?? "start")), g;
@@ -5644,32 +5644,32 @@ function db(e, { emit: t, slots: n }) {
5644
5644
  }
5645
5645
  async function Ae(e, t = {}) {
5646
5646
  let n = u.value;
5647
- if (m.value == null || !se(n)) return !1;
5648
- let r = e !== "end", i = r ? 1 : -1, o = Ig(oe(n) ? r ? n.start : n.end : n, "monthly", a.value);
5647
+ if (m.value == null || !oe(n)) return !1;
5648
+ let r = e !== "end", i = r ? 1 : -1, o = Ig(H(n) ? r ? n.start : n.end : n, "monthly", a.value);
5649
5649
  return m.value.move(o, {
5650
5650
  position: i,
5651
5651
  ...t
5652
5652
  });
5653
5653
  }
5654
- H(() => e.isRange, (e) => {
5654
+ U(() => e.isRange, (e) => {
5655
5655
  e && console.warn("The `is-range` prop will be deprecated in future releases. Please use the `range` modifier.");
5656
- }, { immediate: !0 }), H(() => v.value, () => {
5656
+ }, { immediate: !0 }), U(() => v.value, () => {
5657
5657
  q(null, { formatInput: !0 });
5658
- }), H(() => j.value, () => le()), H(() => e.modelValue, (e) => {
5658
+ }), U(() => j.value, () => le()), U(() => e.modelValue, (e) => {
5659
5659
  _ && q(e, {
5660
5660
  formatInput: !0,
5661
5661
  hidePopover: !1
5662
5662
  });
5663
- }), H(() => B.value, () => {
5663
+ }), U(() => B.value, () => {
5664
5664
  ch(e.rules) && q(e.modelValue, {
5665
5665
  formatInput: !0,
5666
5666
  hidePopover: !1
5667
5667
  });
5668
- }), H(() => e.timezone, () => {
5668
+ }), U(() => e.timezone, () => {
5669
5669
  q(u.value, { formatInput: !0 });
5670
5670
  });
5671
5671
  let je = ie(D.value);
5672
- u.value = G(e.modelValue ?? null, je, "dateTime"), T(() => {
5672
+ u.value = se(e.modelValue ?? null, je, "dateTime"), T(() => {
5673
5673
  q(e.modelValue, {
5674
5674
  formatInput: !0,
5675
5675
  hidePopover: !1
@@ -5954,7 +5954,7 @@ var gb = ["value"], _b = ["value", "disabled"], vb = {
5954
5954
  "vc-invalid": !z(l),
5955
5955
  "vc-attached": !z(y)
5956
5956
  }]]) }, [d(sy, { name: "time-header" }, {
5957
- default: U(() => [z(w) && z(u) ? (D(), s("div", bb, [
5957
+ default: W(() => [z(w) && z(u) ? (D(), s("div", bb, [
5958
5958
  c("span", xb, I(z(i).formatDate(z(u), "WWW")), 1),
5959
5959
  c("span", Sb, I(z(i).formatDate(z(u), "MMM")), 1),
5960
5960
  c("span", Cb, I(z(i).formatDate(z(u), "D")), 1),
@@ -6033,7 +6033,7 @@ var gb = ["value"], _b = ["value", "disabled"], vb = {
6033
6033
  onDaymouseenter: z(m),
6034
6034
  onDaykeydown: z(h)
6035
6035
  }, {
6036
- footer: U(() => [z(l) ? (D(!0), s(e, { key: 0 }, M(z(g), (e) => (D(), a(kb, {
6036
+ footer: W(() => [z(l) ? (D(!0), s(e, { key: 0 }, M(z(g), (e) => (D(), a(kb, {
6037
6037
  key: e,
6038
6038
  position: e
6039
6039
  }, null, 8, ["position"]))), 128)) : o("", !0), d(sy, { name: "dp-footer" })]),
@@ -6067,7 +6067,7 @@ var gb = ["value"], _b = ["value", "disabled"], vb = {
6067
6067
  onBeforeHide: z(c),
6068
6068
  onAfterHide: z(l)
6069
6069
  }, {
6070
- default: U(() => [d(Ab, x(p(e.$attrs)), null, 16)]),
6070
+ default: W(() => [d(Ab, x(p(e.$attrs)), null, 16)]),
6071
6071
  _: 1
6072
6072
  }, 8, [
6073
6073
  "id",
@@ -6974,10 +6974,10 @@ var $x = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", eS
6974
6974
  function d() {
6975
6975
  l.value = !1, n("onerror");
6976
6976
  }
6977
- return (t, n) => (D(), s("figure", v({ class: "r-component r-img" }, a.value, { role: "img" }), [W(c("img", v({ class: "r-img-image" }, o.value, {
6977
+ return (t, n) => (D(), s("figure", v({ class: "r-component r-img" }, a.value, { role: "img" }), [G(c("img", v({ class: "r-img-image" }, o.value, {
6978
6978
  onLoad: u,
6979
6979
  onError: d
6980
- }), null, 16), [[z(iS), e.lazy]]), N(t.$slots, "loading", {}, () => [W(c("div", oS, null, 512), [[oe, l.value]])])], 16));
6980
+ }), null, 16), [[z(iS), e.lazy]]), N(t.$slots, "loading", {}, () => [G(c("div", oS, null, 512), [[H, l.value]])])], 16));
6981
6981
  }
6982
6982
  }), cS = { class: "r-avatar-main" }, lS = { class: "r-avatar-initials-value" }, uS = {
6983
6983
  key: 1,
@@ -7052,7 +7052,7 @@ var $x = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", eS
7052
7052
  "aria-hidden": "true",
7053
7053
  class: "r-icon-gray r-badge-icon r-cursor-pointer",
7054
7054
  icon: "close-s",
7055
- onKeypress: n[0] ||= G(K((e) => r("close"), ["prevent"]), ["enter"]),
7055
+ onKeypress: n[0] ||= se(K((e) => r("close"), ["prevent"]), ["enter"]),
7056
7056
  onClickCapture: n[1] ||= K((e) => r("close"), ["stop"])
7057
7057
  })) : o("", !0)], 2));
7058
7058
  }
@@ -7252,7 +7252,8 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7252
7252
  masks: e.masks,
7253
7253
  "onUpdate:modelValue": h
7254
7254
  }), l({
7255
- default: U(({ inputValue: s, inputEvents: c }) => [d(i, {
7255
+ default: W(({ inputValue: s, inputEvents: c }) => [d(i, {
7256
+ name: t.$attrs.name,
7256
7257
  value: s,
7257
7258
  "input-events": c,
7258
7259
  disabled: e.disabled,
@@ -7261,7 +7262,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7261
7262
  onFocus: _,
7262
7263
  onRightIconClick: c.click
7263
7264
  }, {
7264
- "right-button": U(() => [e.modelValue && e.allowEmpty ? (D(), a(r, {
7265
+ "right-button": W(() => [e.modelValue && e.allowEmpty ? (D(), a(r, {
7265
7266
  key: 0,
7266
7267
  icon: "trash",
7267
7268
  class: "r-flex-none",
@@ -7269,6 +7270,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7269
7270
  })) : o("", !0)]),
7270
7271
  _: 1
7271
7272
  }, 8, [
7273
+ "name",
7272
7274
  "value",
7273
7275
  "input-events",
7274
7276
  "disabled",
@@ -7279,11 +7281,11 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7279
7281
  _: 2
7280
7282
  }, [e.hideSelectToday ? void 0 : {
7281
7283
  name: "footer",
7282
- fn: U(() => [c("div", DS, [d(r, {
7284
+ fn: W(() => [c("div", DS, [d(r, {
7283
7285
  fluid: "",
7284
7286
  onClick: b
7285
7287
  }, {
7286
- default: U(() => [...n[1] ||= [u("Today", -1)]]),
7288
+ default: W(() => [...n[1] ||= [u("Today", -1)]]),
7287
7289
  _: 1
7288
7290
  })])]),
7289
7291
  key: "0"
@@ -7493,14 +7495,14 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7493
7495
  return (n, r) => {
7494
7496
  let i = P("r-button"), l = P("r-popper"), u = P("r-button-group");
7495
7497
  return D(), a(u, { class: b({ "r-button-group-single": !t.showPresets }) }, {
7496
- default: U(() => [d(i, {
7498
+ default: W(() => [d(i, {
7497
7499
  "icon-left": "calendar",
7498
7500
  "capitalize-first-letter": !1,
7499
7501
  disabled: t.disabled,
7500
7502
  class: b({ "r-date-range-button": t.showPresets }),
7501
7503
  onClick: r[0] ||= (e) => t.calendarToggle()
7502
7504
  }, {
7503
- default: U(() => [C.value ? (D(), s("span", MS, I(C.value), 1)) : (D(), s("span", NS, I(t.placeholder), 1))]),
7505
+ default: W(() => [C.value ? (D(), s("span", MS, I(C.value), 1)) : (D(), s("span", NS, I(t.placeholder), 1))]),
7504
7506
  _: 1
7505
7507
  }, 8, ["disabled", "class"]), t.showPresets ? (D(), a(l, {
7506
7508
  key: 0,
@@ -7511,12 +7513,12 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7511
7513
  offset: 6,
7512
7514
  disabled: t.disabled
7513
7515
  }, {
7514
- trigger: U(() => [d(i, {
7516
+ trigger: W(() => [d(i, {
7515
7517
  disabled: t.disabled,
7516
7518
  icon: "actions",
7517
7519
  onClick: O
7518
7520
  }, null, 8, ["disabled"])]),
7519
- content: U(() => [c("div", PS, [c("div", FS, [c("div", IS, [(D(!0), s(e, null, M(p.value, (e) => (D(), s("a", {
7521
+ content: W(() => [c("div", PS, [c("div", FS, [c("div", IS, [(D(!0), s(e, null, M(p.value, (e) => (D(), s("a", {
7520
7522
  key: e,
7521
7523
  class: "r-popover-menu-item r-range-picker-item",
7522
7524
  onClick: (t) => j(e)
@@ -7588,10 +7590,10 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7588
7590
  };
7589
7591
  return (t, n) => {
7590
7592
  let r = P("r-input");
7591
- return D(), s("div", BS, [W(d(r, {
7593
+ return D(), s("div", BS, [G(d(r, {
7592
7594
  disabled: e.disabled,
7593
7595
  "right-icon": "calendar"
7594
- }, null, 8, ["disabled"]), [[oe, e.disabled]]), d(z(Nb), v({
7596
+ }, null, 8, ["disabled"]), [[H, e.disabled]]), d(z(Nb), v({
7595
7597
  "is-range": "",
7596
7598
  "model-value": p.value
7597
7599
  }, t.$attrs, {
@@ -7605,7 +7607,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7605
7607
  mode: m.value,
7606
7608
  "onUpdate:modelValue": h
7607
7609
  }), {
7608
- default: U(({ togglePopover: t }) => [d(zS, {
7610
+ default: W(({ togglePopover: t }) => [d(zS, {
7609
7611
  "model-value": f.value,
7610
7612
  "calendar-toggle": t,
7611
7613
  disabled: e.disabled,
@@ -7649,16 +7651,49 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7649
7651
  class: "r-field-caption-error"
7650
7652
  }, I(e), 1))), 128)) : o("", !0);
7651
7653
  }
7652
- }), US = {
7654
+ }), US = ["for"], WS = {
7653
7655
  key: 0,
7654
- class: "r-field-label"
7655
- }, WS = {
7656
+ class: "r-field-label-required"
7657
+ }, GS = {
7658
+ key: 1,
7659
+ class: "r-field-label-optional"
7660
+ }, KS = /* @__PURE__ */ f({
7661
+ __name: "r-field-label",
7662
+ props: {
7663
+ for: { default: void 0 },
7664
+ required: {
7665
+ type: Boolean,
7666
+ default: !1
7667
+ },
7668
+ optional: {
7669
+ type: Boolean,
7670
+ default: !1
7671
+ }
7672
+ },
7673
+ setup(t) {
7674
+ let n = t;
7675
+ return oe(() => {
7676
+ n.required && n.optional && console.warn("'required' and 'optional' are exclusive; neither marker is shown");
7677
+ }), (t, r) => (D(), s("label", {
7678
+ class: "r-field-label",
7679
+ for: n.for
7680
+ }, [N(t.$slots, "default"), n.required === n.optional ? o("", !0) : (D(), s(e, { key: 0 }, [n.required ? (D(), s("span", WS, [...r[0] ||= [c("span", { "aria-hidden": "true" }, "*", -1), c("span", { class: "r-sr-only" }, "required", -1)]])) : (D(), s("span", GS, "(optional)"))], 64))], 8, US));
7681
+ }
7682
+ }), qS = {
7656
7683
  key: 3,
7657
7684
  class: "r-field-caption"
7658
- }, GS = /* @__PURE__ */ f({
7685
+ }, JS = /* @__PURE__ */ f({
7659
7686
  __name: "r-date-input",
7660
7687
  props: {
7661
7688
  label: { default: "" },
7689
+ required: {
7690
+ type: Boolean,
7691
+ default: !1
7692
+ },
7693
+ optional: {
7694
+ type: Boolean,
7695
+ default: !1
7696
+ },
7662
7697
  id: { default: () => eS() },
7663
7698
  caption: { default: void 0 },
7664
7699
  modelValue: { default: () => /* @__PURE__ */ new Date() },
@@ -7703,9 +7738,8 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7703
7738
  },
7704
7739
  emits: ["update:modelValue"],
7705
7740
  setup(e, { emit: t }) {
7706
- let n = e, r = t, { isInvalid: c } = _S(() => n.validate), l = i(() => n.type === "range"), u = i(() => {
7741
+ let n = e, r = t, { isInvalid: c } = _S(() => n.validate), l = i(() => n.type === "range"), f = i(() => {
7707
7742
  let e = {
7708
- id: n.id,
7709
7743
  name: n.id,
7710
7744
  minDate: n.minDate,
7711
7745
  maxDate: n.maxDate,
@@ -7722,24 +7756,36 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7722
7756
  locale: void 0
7723
7757
  };
7724
7758
  return n.locale && (e.locale = n.locale), e;
7725
- }), f = i(() => n.type === "datetime" && !n.modelValue ? { timeAdjust: "00:00:00" } : {}), p = (e) => {
7759
+ }), p = i(() => n.type === "datetime" && !n.modelValue ? { timeAdjust: "00:00:00" } : {}), m = (e) => {
7726
7760
  r("update:modelValue", e);
7727
7761
  };
7728
7762
  return q.isMoment(n.modelValue) && (console.log(`You are passing a moment instance (${n.modelValue.toISOString()}) to r-date-input. It is recommended to pass a native Date instance instead (and using timezone property for dealing with timezones)`), r("update:modelValue", n.modelValue.toDate())), (t, n) => (D(), s("div", { class: b(["r-field", { "r-is-error": z(c) }]) }, [
7729
- e.label ? (D(), s("label", US, I(e.label), 1)) : o("", !0),
7763
+ e.label ? (D(), a(KS, {
7764
+ key: 0,
7765
+ for: e.id,
7766
+ required: e.required,
7767
+ optional: e.optional
7768
+ }, {
7769
+ default: W(() => [u(I(e.label), 1)]),
7770
+ _: 1
7771
+ }, 8, [
7772
+ "for",
7773
+ "required",
7774
+ "optional"
7775
+ ])) : o("", !0),
7730
7776
  l.value ? (D(), a(VS, v({
7731
7777
  key: 1,
7732
7778
  "model-value": e.modelValue
7733
- }, u.value, { "onUpdate:modelValue": p }), null, 16, ["model-value"])) : (D(), a(OS, v({ key: 2 }, u.value, {
7779
+ }, f.value, { "onUpdate:modelValue": m }), null, 16, ["model-value"])) : (D(), a(OS, v({ key: 2 }, f.value, {
7734
7780
  "model-value": e.modelValue,
7735
- "model-config": f.value,
7781
+ "model-config": p.value,
7736
7782
  type: e.type,
7737
7783
  masks: e.masks,
7738
7784
  "allow-empty": e.allowEmpty,
7739
7785
  "hide-select-today": e.hideSelectToday,
7740
7786
  rules: e.rules,
7741
7787
  "time-accuracy": e.timeAccuracy,
7742
- "onUpdate:modelValue": p
7788
+ "onUpdate:modelValue": m
7743
7789
  }), null, 16, [
7744
7790
  "model-value",
7745
7791
  "model-config",
@@ -7750,17 +7796,17 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7750
7796
  "rules",
7751
7797
  "time-accuracy"
7752
7798
  ])),
7753
- e.caption ? (D(), s("span", WS, I(e.caption), 1)) : o("", !0),
7799
+ e.caption ? (D(), s("span", qS, I(e.caption), 1)) : o("", !0),
7754
7800
  d(HS, {
7755
7801
  validate: e.validate,
7756
7802
  "show-validate-messages": e.showValidateMessages
7757
7803
  }, null, 8, ["validate", "show-validate-messages"])
7758
7804
  ], 2));
7759
7805
  }
7760
- }), KS = {
7806
+ }), YS = {
7761
7807
  key: 0,
7762
7808
  class: "r-popper-transition-content"
7763
- }, qS = /* @__PURE__ */ f({
7809
+ }, XS = /* @__PURE__ */ f({
7764
7810
  __name: "r-popper",
7765
7811
  props: {
7766
7812
  state: { default: null },
@@ -7974,11 +8020,11 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7974
8020
  }
7975
8021
  return T(ie), w(() => {
7976
8022
  l.hideTimer && clearInterval(l.hideTimer), l.activePopper === l.id && C(null), re();
7977
- }), H(() => a.state, (e) => {
8023
+ }), U(() => a.state, (e) => {
7978
8024
  e !== null && E(e);
7979
- }, { immediate: !0 }), H(() => l.activePopper, (e) => {
8025
+ }, { immediate: !0 }), U(() => l.activePopper, (e) => {
7980
8026
  e !== null && e !== l.id && a.globalAutoHide && te();
7981
- }, { immediate: !0 }), (t, r) => W((D(), s("div", {
8027
+ }, { immediate: !0 }), (t, r) => G((D(), s("div", {
7982
8028
  ref_key: "popperElement",
7983
8029
  ref: u,
7984
8030
  class: b(["r-popper", {
@@ -7986,7 +8032,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7986
8032
  "r-popover-fixed": e.strategy === "fixed",
7987
8033
  "r-popover-absolute": e.strategy === "absolute"
7988
8034
  }]),
7989
- onKeydown: G(I, ["esc"])
8035
+ onKeydown: se(I, ["esc"])
7990
8036
  }, [N(t.$slots, "trigger", { popper: S.value }), c("div", {
7991
8037
  ref_key: "popperContentElement",
7992
8038
  ref: f,
@@ -7996,20 +8042,20 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
7996
8042
  name: e.slideFrom,
7997
8043
  duration: _.value
7998
8044
  }, {
7999
- default: U(() => [l.isPopperVisible ? (D(), s("div", KS, [N(t.$slots, "content", { popper: S.value })])) : o("", !0)]),
8045
+ default: W(() => [l.isPopperVisible ? (D(), s("div", YS, [N(t.$slots, "content", { popper: S.value })])) : o("", !0)]),
8000
8046
  _: 3
8001
8047
  }, 8, ["name", "duration"])], 512)], 34)), [[z(Gb), ee]]);
8002
8048
  }
8003
- }), JS = ["disabled"], YS = {
8049
+ }), ZS = ["disabled"], QS = {
8004
8050
  key: 0,
8005
8051
  class: "r-date-range-trigger-badge"
8006
- }, XS = {
8052
+ }, $S = {
8007
8053
  key: 1,
8008
8054
  class: "r-date-range-trigger-label"
8009
- }, ZS = {
8055
+ }, eC = {
8010
8056
  key: 2,
8011
8057
  class: "r-date-range-trigger-placeholder"
8012
- }, QS = /* @__PURE__ */ f({
8058
+ }, tC = /* @__PURE__ */ f({
8013
8059
  __name: "trigger",
8014
8060
  props: {
8015
8061
  dateRange: { default: null },
@@ -8068,11 +8114,11 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8068
8114
  icon: "calendar",
8069
8115
  class: "r-date-range-trigger-icon"
8070
8116
  }),
8071
- u.value ? (D(), s("span", YS, I(u.value), 1)) : o("", !0),
8072
- l.value ? (D(), s("span", XS, I(l.value), 1)) : (D(), s("span", ZS, I(n.placeholder), 1))
8073
- ], 10, JS));
8117
+ u.value ? (D(), s("span", QS, I(u.value), 1)) : o("", !0),
8118
+ l.value ? (D(), s("span", $S, I(l.value), 1)) : (D(), s("span", eC, I(n.placeholder), 1))
8119
+ ], 10, ZS));
8074
8120
  }
8075
- }), $S = ["onClick"], eC = { class: "r-date-range-preset-label" }, tC = /* @__PURE__ */ f({
8121
+ }), nC = ["onClick"], rC = { class: "r-date-range-preset-label" }, iC = /* @__PURE__ */ f({
8076
8122
  __name: "presets",
8077
8123
  props: {
8078
8124
  selectedPreset: { default: null },
@@ -8099,22 +8145,22 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8099
8145
  type: "button",
8100
8146
  class: b(["r-date-range-preset-item", { "r-is-selected": f(e) }]),
8101
8147
  onClick: (t) => p(e)
8102
- }, [c("span", eC, I(d(e)), 1), f(e) ? (D(), a(Q, {
8148
+ }, [c("span", rC, I(d(e)), 1), f(e) ? (D(), a(Q, {
8103
8149
  key: 0,
8104
8150
  icon: "check-s",
8105
8151
  class: "r-date-range-preset-check"
8106
- })) : o("", !0)], 10, $S))), 128))], 2));
8152
+ })) : o("", !0)], 10, nC))), 128))], 2));
8107
8153
  }
8108
- }), nC = { class: "r-date-range-inputs" }, rC = { class: "r-date-range-input-group" }, iC = { class: "r-date-range-input-row" }, aC = { class: "r-date-range-input-field" }, oC = { class: "r-date-range-input-field r-date-range-time-field" }, sC = ["placeholder"], cC = {
8154
+ }), aC = { class: "r-date-range-inputs" }, oC = { class: "r-date-range-input-group" }, sC = { class: "r-date-range-input-row" }, cC = { class: "r-date-range-input-field" }, lC = { class: "r-date-range-input-field r-date-range-time-field" }, uC = ["placeholder"], dC = {
8109
8155
  key: 0,
8110
8156
  class: "r-date-range-time-dropdown-list"
8111
- }, lC = ["onMousedown"], uC = {
8157
+ }, fC = ["onMousedown"], pC = {
8112
8158
  key: 0,
8113
8159
  class: "r-date-range-input-separator"
8114
- }, dC = { class: "r-date-range-input-group" }, fC = { class: "r-date-range-input-row" }, pC = { class: "r-date-range-input-field" }, mC = { class: "r-date-range-input-field r-date-range-time-field" }, hC = ["placeholder"], gC = {
8160
+ }, mC = { class: "r-date-range-input-group" }, hC = { class: "r-date-range-input-row" }, gC = { class: "r-date-range-input-field" }, _C = { class: "r-date-range-input-field r-date-range-time-field" }, vC = ["placeholder"], yC = {
8115
8161
  key: 0,
8116
8162
  class: "r-date-range-time-dropdown-list"
8117
- }, _C = ["onMousedown"], vC = /* @__PURE__ */ f({
8163
+ }, bC = ["onMousedown"], xC = /* @__PURE__ */ f({
8118
8164
  __name: "inputs",
8119
8165
  props: {
8120
8166
  startDate: {},
@@ -8161,11 +8207,11 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8161
8207
  let n = e >= 12 ? "PM" : "AM";
8162
8208
  return `${l(e % 12 || 12)} : ${l(t)} ${n}`;
8163
8209
  }
8164
- H(() => r.startDate, (e) => {
8210
+ U(() => r.startDate, (e) => {
8165
8211
  e ? (f.value = l(e.getMonth() + 1), p.value = l(e.getDate()), m.value = e.getFullYear().toString()) : (f.value = "", p.value = "", m.value = "");
8166
- }, { immediate: !0 }), H(() => r.endDate, (e) => {
8212
+ }, { immediate: !0 }), U(() => r.endDate, (e) => {
8167
8213
  e ? (h.value = l(e.getMonth() + 1), g.value = l(e.getDate()), _.value = e.getFullYear().toString()) : (h.value = "", g.value = "", _.value = "");
8168
- }, { immediate: !0 }), H(() => r.startTime, (e) => {
8214
+ }, { immediate: !0 }), U(() => r.startTime, (e) => {
8169
8215
  if (r.is24hr) v.value = l(e.hours);
8170
8216
  else {
8171
8217
  let t = e.hours % 12 || 12;
@@ -8175,7 +8221,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8175
8221
  }, {
8176
8222
  immediate: !0,
8177
8223
  deep: !0
8178
- }), H(() => r.endTime, (e) => {
8224
+ }), U(() => r.endTime, (e) => {
8179
8225
  if (r.is24hr) C.value = l(e.hours);
8180
8226
  else {
8181
8227
  let t = e.hours % 12 || 12;
@@ -8237,16 +8283,16 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8237
8283
  function ae() {
8238
8284
  h.value.length >= 2 && y(() => N.value?.focus());
8239
8285
  }
8240
- function oe() {
8286
+ function H() {
8241
8287
  g.value.length >= 2 && y(() => P.value?.focus());
8242
8288
  }
8243
- function se() {
8289
+ function oe() {
8244
8290
  v.value.length >= 2 && y(() => F.value?.focus());
8245
8291
  }
8246
- function U() {
8292
+ function W() {
8247
8293
  C.value.length >= 2 && y(() => ee.value?.focus());
8248
8294
  }
8249
- function G() {
8295
+ function se() {
8250
8296
  S.value = S.value === "AM" ? "PM" : "AM", z();
8251
8297
  }
8252
8298
  function ce() {
@@ -8300,9 +8346,9 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8300
8346
  document.addEventListener("click", be);
8301
8347
  }), E(() => {
8302
8348
  document.removeEventListener("click", be);
8303
- }), (t, n) => (D(), s("div", nC, [
8304
- c("div", rC, [n[18] ||= c("label", { class: "r-date-range-input-label" }, "Start date", -1), c("div", iC, [c("div", aC, [
8305
- W(c("input", {
8349
+ }), (t, n) => (D(), s("div", aC, [
8350
+ c("div", oC, [n[18] ||= c("label", { class: "r-date-range-input-label" }, "Start date", -1), c("div", sC, [c("div", cC, [
8351
+ G(c("input", {
8306
8352
  "onUpdate:modelValue": n[0] ||= (e) => f.value = e,
8307
8353
  type: "text",
8308
8354
  class: "r-date-range-segment r-date-range-segment-month",
@@ -8313,7 +8359,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8313
8359
  onKeydown: xe
8314
8360
  }, null, 544), [[V, f.value]]),
8315
8361
  n[14] ||= c("span", { class: "r-date-range-segment-separator" }, "/", -1),
8316
- W(c("input", {
8362
+ G(c("input", {
8317
8363
  ref_key: "startDayRef",
8318
8364
  ref: k,
8319
8365
  "onUpdate:modelValue": n[1] ||= (e) => p.value = e,
@@ -8326,7 +8372,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8326
8372
  onKeydown: xe
8327
8373
  }, null, 544), [[V, p.value]]),
8328
8374
  n[15] ||= c("span", { class: "r-date-range-segment-separator" }, "/", -1),
8329
- W(c("input", {
8375
+ G(c("input", {
8330
8376
  ref_key: "startYearRef",
8331
8377
  ref: j,
8332
8378
  "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
@@ -8346,22 +8392,22 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8346
8392
  ref_key: "startDropdownRef",
8347
8393
  ref: ue,
8348
8394
  class: "r-date-range-time-dropdown"
8349
- }, [c("div", oC, [
8350
- W(c("input", {
8395
+ }, [c("div", lC, [
8396
+ G(c("input", {
8351
8397
  "onUpdate:modelValue": n[3] ||= (e) => v.value = e,
8352
8398
  type: "text",
8353
8399
  class: "r-date-range-segment r-date-range-segment-hour",
8354
8400
  placeholder: r.is24hr ? "HH" : "hh",
8355
8401
  maxlength: "2",
8356
- onInput: se,
8402
+ onInput: oe,
8357
8403
  onFocus: fe,
8358
8404
  onBlur: n[4] ||= (e) => {
8359
8405
  z(), me();
8360
8406
  },
8361
8407
  onKeydown: xe
8362
- }, null, 40, sC), [[V, v.value]]),
8408
+ }, null, 40, uC), [[V, v.value]]),
8363
8409
  n[16] ||= c("span", { class: "r-date-range-segment-separator" }, ":", -1),
8364
- W(c("input", {
8410
+ G(c("input", {
8365
8411
  ref_key: "startMinuteRef",
8366
8412
  ref: F,
8367
8413
  "onUpdate:modelValue": n[5] ||= (e) => x.value = e,
@@ -8379,7 +8425,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8379
8425
  key: 0,
8380
8426
  type: "button",
8381
8427
  class: "r-date-range-period-toggle",
8382
- onClick: G
8428
+ onClick: se
8383
8429
  }, I(S.value), 1)),
8384
8430
  n[17] ||= c("svg", {
8385
8431
  class: "r-date-range-time-clock-icon r-icon-20",
@@ -8399,15 +8445,15 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8399
8445
  "stroke-width": "1.5",
8400
8446
  "stroke-linecap": "round"
8401
8447
  })], -1)
8402
- ]), q.value ? (D(), s("div", cC, [(D(!0), s(e, null, M(te.value, (e) => (D(), s("button", {
8448
+ ]), q.value ? (D(), s("div", dC, [(D(!0), s(e, null, M(te.value, (e) => (D(), s("button", {
8403
8449
  key: `start-${e.hours}-${e.minutes}`,
8404
8450
  type: "button",
8405
8451
  class: b(["r-date-range-time-dropdown-item", { "r-is-selected": ve(e) }]),
8406
8452
  onMousedown: K((t) => ge(e), ["prevent"])
8407
- }, I(e.label), 43, lC))), 128))])) : o("", !0)], 512)) : o("", !0)])]),
8408
- r.showTimePicker ? (D(), s("span", uC, "-")) : o("", !0),
8409
- c("div", dC, [n[23] ||= c("label", { class: "r-date-range-input-label" }, "End date", -1), c("div", fC, [c("div", pC, [
8410
- W(c("input", {
8453
+ }, I(e.label), 43, fC))), 128))])) : o("", !0)], 512)) : o("", !0)])]),
8454
+ r.showTimePicker ? (D(), s("span", pC, "-")) : o("", !0),
8455
+ c("div", mC, [n[23] ||= c("label", { class: "r-date-range-input-label" }, "End date", -1), c("div", hC, [c("div", gC, [
8456
+ G(c("input", {
8411
8457
  "onUpdate:modelValue": n[7] ||= (e) => h.value = e,
8412
8458
  type: "text",
8413
8459
  class: "r-date-range-segment r-date-range-segment-month",
@@ -8418,7 +8464,7 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8418
8464
  onKeydown: xe
8419
8465
  }, null, 544), [[V, h.value]]),
8420
8466
  n[19] ||= c("span", { class: "r-date-range-segment-separator" }, "/", -1),
8421
- W(c("input", {
8467
+ G(c("input", {
8422
8468
  ref_key: "endDayRef",
8423
8469
  ref: N,
8424
8470
  "onUpdate:modelValue": n[8] ||= (e) => g.value = e,
@@ -8426,12 +8472,12 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8426
8472
  class: "r-date-range-segment r-date-range-segment-day",
8427
8473
  placeholder: "DD",
8428
8474
  maxlength: "2",
8429
- onInput: oe,
8475
+ onInput: H,
8430
8476
  onBlur: R,
8431
8477
  onKeydown: xe
8432
8478
  }, null, 544), [[V, g.value]]),
8433
8479
  n[20] ||= c("span", { class: "r-date-range-segment-separator" }, "/", -1),
8434
- W(c("input", {
8480
+ G(c("input", {
8435
8481
  ref_key: "endYearRef",
8436
8482
  ref: P,
8437
8483
  "onUpdate:modelValue": n[9] ||= (e) => _.value = e,
@@ -8451,22 +8497,22 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8451
8497
  ref_key: "endDropdownRef",
8452
8498
  ref: de,
8453
8499
  class: "r-date-range-time-dropdown"
8454
- }, [c("div", mC, [
8455
- W(c("input", {
8500
+ }, [c("div", _C, [
8501
+ G(c("input", {
8456
8502
  "onUpdate:modelValue": n[10] ||= (e) => C.value = e,
8457
8503
  type: "text",
8458
8504
  class: "r-date-range-segment r-date-range-segment-hour",
8459
8505
  placeholder: r.is24hr ? "HH" : "hh",
8460
8506
  maxlength: "2",
8461
- onInput: U,
8507
+ onInput: W,
8462
8508
  onFocus: pe,
8463
8509
  onBlur: n[11] ||= (e) => {
8464
8510
  B(), he();
8465
8511
  },
8466
8512
  onKeydown: xe
8467
- }, null, 40, hC), [[V, C.value]]),
8513
+ }, null, 40, vC), [[V, C.value]]),
8468
8514
  n[21] ||= c("span", { class: "r-date-range-segment-separator" }, ":", -1),
8469
- W(c("input", {
8515
+ G(c("input", {
8470
8516
  ref_key: "endMinuteRef",
8471
8517
  ref: ee,
8472
8518
  "onUpdate:modelValue": n[12] ||= (e) => w.value = e,
@@ -8504,18 +8550,18 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8504
8550
  "stroke-width": "1.5",
8505
8551
  "stroke-linecap": "round"
8506
8552
  })], -1)
8507
- ]), le.value ? (D(), s("div", gC, [(D(!0), s(e, null, M(te.value, (e) => (D(), s("button", {
8553
+ ]), le.value ? (D(), s("div", yC, [(D(!0), s(e, null, M(te.value, (e) => (D(), s("button", {
8508
8554
  key: `end-${e.hours}-${e.minutes}`,
8509
8555
  type: "button",
8510
8556
  class: b(["r-date-range-time-dropdown-item", { "r-is-selected": ye(e) }]),
8511
8557
  onMousedown: K((t) => _e(e), ["prevent"])
8512
- }, I(e.label), 43, _C))), 128))])) : o("", !0)], 512)) : o("", !0)])])
8558
+ }, I(e.label), 43, bC))), 128))])) : o("", !0)], 512)) : o("", !0)])])
8513
8559
  ]));
8514
8560
  }
8515
- }), yC = { class: "r-date-range-month" }, bC = {
8561
+ }), SC = { class: "r-date-range-month" }, CC = {
8516
8562
  key: 0,
8517
8563
  class: "r-date-range-month-header"
8518
- }, xC = { class: "r-date-range-month-weekdays" }, SC = ["onClick", "onMouseenter"], CC = { class: "r-date-range-day-number" }, wC = /* @__PURE__ */ f({
8564
+ }, wC = { class: "r-date-range-month-weekdays" }, TC = ["onClick", "onMouseenter"], EC = { class: "r-date-range-day-number" }, DC = /* @__PURE__ */ f({
8519
8565
  __name: "month",
8520
8566
  props: {
8521
8567
  month: {},
@@ -8553,9 +8599,9 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8553
8599
  function m() {
8554
8600
  a("date-hover", null);
8555
8601
  }
8556
- return (t, n) => (D(), s("div", yC, [
8557
- r.showHeader ? (D(), s("div", bC, I(u.value), 1)) : o("", !0),
8558
- c("div", xC, [(D(!0), s(e, null, M(z(l), (e) => (D(), s("div", {
8602
+ return (t, n) => (D(), s("div", SC, [
8603
+ r.showHeader ? (D(), s("div", CC, I(u.value), 1)) : o("", !0),
8604
+ c("div", wC, [(D(!0), s(e, null, M(z(l), (e) => (D(), s("div", {
8559
8605
  key: e,
8560
8606
  class: "r-date-range-weekday"
8561
8607
  }, I(e), 1))), 128))]),
@@ -8567,13 +8613,13 @@ var vS = ["aria-checked"], yS = ["for"], bS = [
8567
8613
  class: b(d(e)),
8568
8614
  onClick: (t) => f(e),
8569
8615
  onMouseenter: (t) => p(e)
8570
- }, [c("span", CC, I(e.day), 1)], 42, SC))), 128))], 64))), 128))], 32)
8616
+ }, [c("span", EC, I(e.day), 1)], 42, TC))), 128))], 64))), 128))], 32)
8571
8617
  ]));
8572
8618
  }
8573
8619
  });
8574
8620
  //#endregion
8575
8621
  //#region src/components/r-date-range/use-calendar.ts
8576
- function TC(e = {}) {
8622
+ function OC(e = {}) {
8577
8623
  let { timezone: t = "UTC", minDate: n, maxDate: r, columns: a } = e, o = (0, Rx.default)().tz(t), s = A(o.year()), c = A(o.month());
8578
8624
  function l(e, t, n, r) {
8579
8625
  let i = new Date(e, t, n);
@@ -8655,7 +8701,7 @@ function TC(e = {}) {
8655
8701
  }
8656
8702
  //#endregion
8657
8703
  //#region src/components/r-date-range/components/calendar.vue?vue&type=script&setup=true&lang.ts
8658
- var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-calendar-nav" }, OC = { class: "r-date-range-calendar-titles" }, kC = { class: "r-date-range-calendar-nav" }, AC = { class: "r-date-range-calendar-months" }, jC = /* @__PURE__ */ f({
8704
+ var kC = { class: "r-date-range-calendar-header" }, AC = { class: "r-date-range-calendar-nav" }, jC = { class: "r-date-range-calendar-titles" }, MC = { class: "r-date-range-calendar-nav" }, NC = { class: "r-date-range-calendar-months" }, PC = /* @__PURE__ */ f({
8659
8705
  __name: "calendar",
8660
8706
  props: {
8661
8707
  columns: { default: 2 },
@@ -8669,13 +8715,13 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8669
8715
  },
8670
8716
  emits: ["date-click", "date-hover"],
8671
8717
  setup(t, { emit: n }) {
8672
- let r = t, i = n, { displayedMonths: o, nextMonth: l, prevMonth: u, nextYear: f, prevYear: p, goToDate: m } = TC({
8718
+ let r = t, i = n, { displayedMonths: o, nextMonth: l, prevMonth: u, nextYear: f, prevYear: p, goToDate: m } = OC({
8673
8719
  timezone: r.timezone,
8674
8720
  minDate: L(r, "minDate"),
8675
8721
  maxDate: L(r, "maxDate"),
8676
8722
  columns: L(r, "columns")
8677
8723
  });
8678
- H(() => r.navigateToDate, (e) => {
8724
+ U(() => r.navigateToDate, (e) => {
8679
8725
  e && m(e);
8680
8726
  });
8681
8727
  function h(e) {
@@ -8684,8 +8730,8 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8684
8730
  function g(e) {
8685
8731
  i("date-hover", e);
8686
8732
  }
8687
- return (t, n) => (D(), s("div", { class: b(["r-date-range-calendar", `r-date-range-calendar-cols-${r.columns}`]) }, [c("div", EC, [
8688
- c("div", DC, [c("button", {
8733
+ return (t, n) => (D(), s("div", { class: b(["r-date-range-calendar", `r-date-range-calendar-cols-${r.columns}`]) }, [c("div", kC, [
8734
+ c("div", AC, [c("button", {
8689
8735
  type: "button",
8690
8736
  class: "r-date-range-calendar-nav-btn",
8691
8737
  "aria-label": "Previous year",
@@ -8696,11 +8742,11 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8696
8742
  "aria-label": "Previous month",
8697
8743
  onClick: n[1] ||= (...e) => z(u) && z(u)(...e)
8698
8744
  }, [d(Q, { icon: "caret-left" })])]),
8699
- c("div", OC, [(D(!0), s(e, null, M(z(o), (e) => (D(), s("span", {
8745
+ c("div", jC, [(D(!0), s(e, null, M(z(o), (e) => (D(), s("span", {
8700
8746
  key: `title-${e.year}-${e.month}`,
8701
8747
  class: "r-date-range-calendar-title"
8702
8748
  }, I(e.name) + " " + I(e.year), 1))), 128))]),
8703
- c("div", kC, [c("button", {
8749
+ c("div", MC, [c("button", {
8704
8750
  type: "button",
8705
8751
  class: "r-date-range-calendar-nav-btn",
8706
8752
  "aria-label": "Next month",
@@ -8711,7 +8757,7 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8711
8757
  "aria-label": "Next year",
8712
8758
  onClick: n[3] ||= (...e) => z(f) && z(f)(...e)
8713
8759
  }, [d(Q, { icon: "caret-double-right" })])])
8714
- ]), c("div", AC, [(D(!0), s(e, null, M(z(o), (e) => (D(), a(wC, {
8760
+ ]), c("div", NC, [(D(!0), s(e, null, M(z(o), (e) => (D(), a(DC, {
8715
8761
  key: `${e.year}-${e.month}`,
8716
8762
  month: e,
8717
8763
  "show-header": !1,
@@ -8727,7 +8773,7 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8727
8773
  "is-range-end"
8728
8774
  ]))), 128))])], 2));
8729
8775
  }
8730
- }), MC = { class: "r-date-range-popup-main" }, NC = { class: "r-date-range-presets-wrapper" }, PC = { class: "r-date-range-popup-footer" }, FC = { class: "r-date-range-popup-footer-actions" }, IC = /* @__PURE__ */ f({
8776
+ }), FC = { class: "r-date-range-popup-main" }, IC = { class: "r-date-range-presets-wrapper" }, LC = { class: "r-date-range-popup-footer" }, RC = { class: "r-date-range-popup-footer-actions" }, zC = /* @__PURE__ */ f({
8731
8777
  __name: "popup",
8732
8778
  props: {
8733
8779
  startDate: {},
@@ -8808,21 +8854,21 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8808
8854
  return (e, t) => (D(), s("div", { class: b(["r-date-range-popup", {
8809
8855
  "r-date-range-popup-mobile": n.isMobile,
8810
8856
  "r-date-range-popup-with-time": n.showTimePicker
8811
- }]) }, [n.showPresets && !n.isMobile ? (D(), a(tC, {
8857
+ }]) }, [n.showPresets && !n.isMobile ? (D(), a(iC, {
8812
8858
  key: 0,
8813
8859
  "selected-preset": n.selectedPreset,
8814
8860
  "available-presets": n.availablePresets,
8815
8861
  "is-mobile": !1,
8816
8862
  onSelect: l
8817
- }, null, 8, ["selected-preset", "available-presets"])) : o("", !0), c("div", MC, [
8818
- c("div", NC, [n.showPresets && n.isMobile ? (D(), a(tC, {
8863
+ }, null, 8, ["selected-preset", "available-presets"])) : o("", !0), c("div", FC, [
8864
+ c("div", IC, [n.showPresets && n.isMobile ? (D(), a(iC, {
8819
8865
  key: 0,
8820
8866
  "selected-preset": n.selectedPreset,
8821
8867
  "available-presets": n.availablePresets,
8822
8868
  "is-mobile": !0,
8823
8869
  onSelect: l
8824
8870
  }, null, 8, ["selected-preset", "available-presets"])) : o("", !0)]),
8825
- d(vC, {
8871
+ d(xC, {
8826
8872
  "start-date": n.startDate,
8827
8873
  "end-date": n.endDate,
8828
8874
  "start-time": n.startTime,
@@ -8841,7 +8887,7 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8841
8887
  "show-time-picker",
8842
8888
  "is24hr"
8843
8889
  ]),
8844
- d(jC, {
8890
+ d(PC, {
8845
8891
  columns: n.columns,
8846
8892
  "min-date": n.minDate,
8847
8893
  "max-date": n.maxDate,
@@ -8862,21 +8908,21 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8862
8908
  "is-range-start",
8863
8909
  "is-range-end"
8864
8910
  ]),
8865
- c("div", PC, [d(Bb, {
8911
+ c("div", LC, [d(Bb, {
8866
8912
  type: "plain",
8867
8913
  onClick: x
8868
8914
  }, {
8869
- default: U(() => [...t[0] ||= [u("Clear", -1)]]),
8915
+ default: W(() => [...t[0] ||= [u("Clear", -1)]]),
8870
8916
  _: 1
8871
- }), c("div", FC, [d(Bb, { onClick: y }, {
8872
- default: U(() => [...t[1] ||= [u("Cancel", -1)]]),
8917
+ }), c("div", RC, [d(Bb, { onClick: y }, {
8918
+ default: W(() => [...t[1] ||= [u("Cancel", -1)]]),
8873
8919
  _: 1
8874
8920
  }), d(Bb, {
8875
8921
  type: "primary",
8876
8922
  disabled: S.value,
8877
8923
  onClick: v
8878
8924
  }, {
8879
- default: U(() => [...t[2] ||= [u("Apply", -1)]]),
8925
+ default: W(() => [...t[2] ||= [u("Apply", -1)]]),
8880
8926
  _: 1
8881
8927
  }, 8, ["disabled"])])])
8882
8928
  ])], 2));
@@ -8884,10 +8930,10 @@ var EC = { class: "r-date-range-calendar-header" }, DC = { class: "r-date-range-
8884
8930
  });
8885
8931
  //#endregion
8886
8932
  //#region src/components/r-date-range/use-date-range-state.ts
8887
- function LC(e, t) {
8933
+ function BC(e, t) {
8888
8934
  return e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear();
8889
8935
  }
8890
- function RC(e = {}) {
8936
+ function VC(e = {}) {
8891
8937
  let { timezone: t = "UTC", showTimePicker: n = !0 } = e, r = A(null), a = A(null), o = A({
8892
8938
  hours: 0,
8893
8939
  minutes: 0
@@ -8911,11 +8957,11 @@ function RC(e = {}) {
8911
8957
  function g(e) {
8912
8958
  if (!r.value) return !1;
8913
8959
  let t = a.value || c.value;
8914
- return t && t < r.value ? LC(e, t) : LC(e, r.value);
8960
+ return t && t < r.value ? BC(e, t) : BC(e, r.value);
8915
8961
  }
8916
8962
  function _(e) {
8917
8963
  let t = a.value || c.value;
8918
- return t ? r.value && t < r.value ? LC(e, r.value) : LC(e, t) : !1;
8964
+ return t ? r.value && t < r.value ? BC(e, r.value) : BC(e, t) : !1;
8919
8965
  }
8920
8966
  function v(e) {
8921
8967
  r.value = new Date(e.start.year(), e.start.month(), e.start.date()), a.value = new Date(e.end.year(), e.end.month(), e.end.date()), o.value = {
@@ -9008,14 +9054,14 @@ function RC(e = {}) {
9008
9054
  }
9009
9055
  //#endregion
9010
9056
  //#region src/components/r-date-range/resolve-effective-date-boundary.ts
9011
- function zC(e, t, n, r) {
9057
+ function HC(e, t, n, r) {
9012
9058
  if (e !== void 0 && t !== null && n) {
9013
9059
  let n = new Date(t);
9014
9060
  return n.setDate(n.getDate() + e - 1), r ? n <= new Date(r) ? n : r : n;
9015
9061
  }
9016
9062
  return r;
9017
9063
  }
9018
- function BC(e, t, n, r) {
9064
+ function UC(e, t, n, r) {
9019
9065
  if (e !== void 0 && t !== null && n) {
9020
9066
  let n = new Date(t);
9021
9067
  return n.setDate(n.getDate() - e + 1), r ? n >= new Date(r) ? n : r : n;
@@ -9024,13 +9070,19 @@ function BC(e, t, n, r) {
9024
9070
  }
9025
9071
  //#endregion
9026
9072
  //#region src/components/r-date-range/r-date-range.vue?vue&type=script&setup=true&lang.ts
9027
- var VC = {
9028
- key: 0,
9029
- class: "r-field-label"
9030
- }, HC = 900, UC = /* @__PURE__ */ f({
9073
+ var WC = 900, GC = /* @__PURE__ */ f({
9031
9074
  __name: "r-date-range",
9032
9075
  props: /*@__PURE__*/ _({
9076
+ id: { default: () => eS() },
9033
9077
  label: { default: "" },
9078
+ required: {
9079
+ type: Boolean,
9080
+ default: !1
9081
+ },
9082
+ optional: {
9083
+ type: Boolean,
9084
+ default: !1
9085
+ },
9034
9086
  placeholder: { default: "Select date range" },
9035
9087
  disabled: {
9036
9088
  type: Boolean,
@@ -9068,163 +9120,173 @@ var VC = {
9068
9120
  "clear"
9069
9121
  ], ["update:modelValue"]),
9070
9122
  setup(e, { emit: t }) {
9071
- let n = re(e, "modelValue"), r = e, a = t, c = A(null), l = A(null), u = A(!1), f = A("bottomStart"), p = A(window.innerWidth), m = i(() => p.value < HC || document.documentElement.clientWidth < HC || document.body.clientWidth < HC);
9072
- function h() {
9073
- let e = l.value?.$el;
9123
+ let n = re(e, "modelValue"), r = e, c = t, l = A(null), f = A(null), p = A(!1), m = A("bottomStart"), h = A(window.innerWidth), g = i(() => h.value < WC || document.documentElement.clientWidth < WC || document.body.clientWidth < WC);
9124
+ function _() {
9125
+ let e = f.value?.$el;
9074
9126
  if (!e) return;
9075
9127
  let t = e.getBoundingClientRect(), n = window.innerWidth - t.left;
9076
- f.value = n < HC ? "bottomEnd" : "bottomStart";
9128
+ m.value = n < WC ? "bottomEnd" : "bottomStart";
9077
9129
  }
9078
- function g() {
9079
- p.value = window.innerWidth, h();
9130
+ function v() {
9131
+ h.value = window.innerWidth, _();
9080
9132
  }
9081
9133
  T(() => {
9082
- window.addEventListener("resize", g);
9134
+ window.addEventListener("resize", v);
9083
9135
  }), E(() => {
9084
- window.removeEventListener("resize", g);
9136
+ window.removeEventListener("resize", v);
9085
9137
  });
9086
- let { isInvalid: _ } = _S(() => r.validate), v = RC({
9138
+ let { isInvalid: y } = _S(() => r.validate), x = VC({
9087
9139
  timezone: r.timezone,
9088
9140
  showTimePicker: r.showTimePicker
9089
- }), y = i(() => r.columns === void 0 ? m.value ? 1 : 2 : r.columns), x = i(() => {
9141
+ }), S = i(() => r.columns === void 0 ? g.value ? 1 : 2 : r.columns), C = i(() => {
9090
9142
  let e = r.maxDateRangeDays;
9091
9143
  if (!(e === void 0 || e <= 0 || !Number.isFinite(e))) return Math.floor(e);
9092
- }), S = i(() => {
9093
- let e = Object.keys($), t = x.value;
9144
+ }), w = i(() => {
9145
+ let e = Object.keys($), t = C.value;
9094
9146
  if (t === void 0) return e;
9095
9147
  let n = jS(r.timezone);
9096
9148
  return e.filter((e) => n[e].end.diff(n[e].start, "days") < t);
9097
- }), C = i(() => zC(x.value, v.startDate.value, v.selectionMode.value === "end", r.maxDate)), w = i(() => BC(x.value, v.startDate.value, v.selectionMode.value === "end", r.minDate));
9098
- H(n, (e) => {
9099
- u.value || v.setFromDateRange(e);
9149
+ }), O = i(() => HC(C.value, x.startDate.value, x.selectionMode.value === "end", r.maxDate)), k = i(() => UC(C.value, x.startDate.value, x.selectionMode.value === "end", r.minDate));
9150
+ U(n, (e) => {
9151
+ p.value || x.setFromDateRange(e);
9100
9152
  }, { immediate: !0 });
9101
- function O() {
9102
- r.disabled || (h(), v.setFromDateRange(n.value), c.value?.popper?.open(), u.value = !0);
9103
- }
9104
- function k() {
9105
- c.value?.popper?.close(), u.value = !1;
9106
- }
9107
9153
  function j() {
9108
- u.value ? k() : O();
9154
+ r.disabled || (_(), x.setFromDateRange(n.value), l.value?.popper?.open(), p.value = !0);
9109
9155
  }
9110
9156
  function M() {
9111
- let e = v.buildDateRange();
9112
- n.value = e, a("apply", e), k();
9157
+ l.value?.popper?.close(), p.value = !1;
9113
9158
  }
9114
9159
  function N() {
9115
- v.setFromDateRange(n.value), a("cancel"), k();
9160
+ p.value ? M() : j();
9116
9161
  }
9117
9162
  function P() {
9118
- v.clear(), a("clear");
9163
+ let e = x.buildDateRange();
9164
+ n.value = e, c("apply", e), M();
9119
9165
  }
9120
- function F(e) {
9121
- v.applyPreset(e);
9166
+ function F() {
9167
+ x.setFromDateRange(n.value), c("cancel"), M();
9122
9168
  }
9123
- function ee(e) {
9124
- v.onDateClick(e);
9169
+ function ee() {
9170
+ x.clear(), c("clear");
9125
9171
  }
9126
9172
  function te(e) {
9127
- v.onDateHover(e);
9173
+ x.applyPreset(e);
9128
9174
  }
9129
9175
  function ne(e) {
9130
- v.startDate.value = e, v.selectedPreset.value = null;
9176
+ x.onDateClick(e);
9131
9177
  }
9132
9178
  function L(e) {
9133
- v.endDate.value = e, v.selectedPreset.value = null;
9179
+ x.onDateHover(e);
9134
9180
  }
9135
9181
  function R(e) {
9136
- v.startTime.value = e, v.selectedPreset.value = null;
9182
+ x.startDate.value = e, x.selectedPreset.value = null;
9137
9183
  }
9138
9184
  function B(e) {
9139
- v.endTime.value = e, v.selectedPreset.value = null;
9185
+ x.endDate.value = e, x.selectedPreset.value = null;
9140
9186
  }
9141
- return (e, t) => (D(), s("div", { class: b(["r-date-range-picker r-field", { "r-is-error": z(_) }]) }, [
9142
- r.label ? (D(), s("label", VC, I(r.label), 1)) : o("", !0),
9143
- d(qS, {
9144
- ref_key: "popperRef",
9145
- ref: c,
9146
- disabled: r.disabled,
9147
- position: f.value,
9148
- "auto-hide": !0,
9149
- onToggleOn: t[0] ||= (e) => u.value = !0,
9150
- onToggleOff: t[1] ||= (e) => u.value = !1
9187
+ function ie(e) {
9188
+ x.startTime.value = e, x.selectedPreset.value = null;
9189
+ }
9190
+ function ae(e) {
9191
+ x.endTime.value = e, x.selectedPreset.value = null;
9192
+ }
9193
+ return (e, t) => (D(), s("div", { class: b(["r-date-range-picker r-field", { "r-is-error": z(y) }]) }, [d(XS, {
9194
+ ref_key: "popperRef",
9195
+ ref: l,
9196
+ disabled: r.disabled,
9197
+ position: m.value,
9198
+ "auto-hide": !0,
9199
+ onToggleOn: t[0] ||= (e) => p.value = !0,
9200
+ onToggleOff: t[1] ||= (e) => p.value = !1
9201
+ }, {
9202
+ trigger: W(() => [r.label ? (D(), a(KS, {
9203
+ key: 0,
9204
+ for: r.id,
9205
+ required: r.required,
9206
+ optional: r.optional
9151
9207
  }, {
9152
- trigger: U(() => [d(QS, {
9153
- ref_key: "triggerRef",
9154
- ref: l,
9155
- "date-range": n.value,
9156
- placeholder: r.placeholder,
9157
- disabled: r.disabled,
9158
- "show-time-picker": r.showTimePicker,
9159
- is24hr: r.is24hr,
9160
- timezone: r.timezone,
9161
- "is-invalid": z(_),
9162
- onClick: j
9163
- }, null, 8, [
9164
- "date-range",
9165
- "placeholder",
9166
- "disabled",
9167
- "show-time-picker",
9168
- "is24hr",
9169
- "timezone",
9170
- "is-invalid"
9171
- ])]),
9172
- content: U(() => [d(IC, {
9173
- "start-date": z(v).startDate.value,
9174
- "end-date": z(v).endDate.value,
9175
- "start-time": z(v).startTime.value,
9176
- "end-time": z(v).endTime.value,
9177
- "selected-preset": z(v).selectedPreset.value,
9178
- "show-presets": r.showPresets,
9179
- "show-time-picker": r.showTimePicker,
9180
- is24hr: r.is24hr,
9181
- columns: y.value,
9182
- "min-date": w.value,
9183
- "max-date": C.value,
9184
- timezone: r.timezone,
9185
- "is-mobile": m.value,
9186
- "is-in-range": z(v).isInRange,
9187
- "is-range-start": z(v).isRangeStart,
9188
- "is-range-end": z(v).isRangeEnd,
9189
- "available-presets": S.value,
9190
- onDateClick: ee,
9191
- onDateHover: te,
9192
- onPresetSelect: F,
9193
- "onUpdate:startDate": ne,
9194
- "onUpdate:endDate": L,
9195
- "onUpdate:startTime": R,
9196
- "onUpdate:endTime": B,
9197
- onApply: M,
9198
- onCancel: N,
9199
- onClear: P
9200
- }, null, 8, [
9201
- "start-date",
9202
- "end-date",
9203
- "start-time",
9204
- "end-time",
9205
- "selected-preset",
9206
- "show-presets",
9207
- "show-time-picker",
9208
- "is24hr",
9209
- "columns",
9210
- "min-date",
9211
- "max-date",
9212
- "timezone",
9213
- "is-mobile",
9214
- "is-in-range",
9215
- "is-range-start",
9216
- "is-range-end",
9217
- "available-presets"
9218
- ])]),
9208
+ default: W(() => [u(I(r.label), 1)]),
9219
9209
  _: 1
9220
- }, 8, ["disabled", "position"]),
9221
- d(HS, {
9222
- validate: r.validate,
9223
- "show-validate-messages": r.showValidateMessages
9224
- }, null, 8, ["validate", "show-validate-messages"])
9225
- ], 2));
9210
+ }, 8, [
9211
+ "for",
9212
+ "required",
9213
+ "optional"
9214
+ ])) : o("", !0), d(tC, {
9215
+ id: r.id,
9216
+ ref_key: "triggerRef",
9217
+ ref: f,
9218
+ "date-range": n.value,
9219
+ placeholder: r.placeholder,
9220
+ disabled: r.disabled,
9221
+ "show-time-picker": r.showTimePicker,
9222
+ is24hr: r.is24hr,
9223
+ timezone: r.timezone,
9224
+ "is-invalid": z(y),
9225
+ onClick: N
9226
+ }, null, 8, [
9227
+ "id",
9228
+ "date-range",
9229
+ "placeholder",
9230
+ "disabled",
9231
+ "show-time-picker",
9232
+ "is24hr",
9233
+ "timezone",
9234
+ "is-invalid"
9235
+ ])]),
9236
+ content: W(() => [d(zC, {
9237
+ "start-date": z(x).startDate.value,
9238
+ "end-date": z(x).endDate.value,
9239
+ "start-time": z(x).startTime.value,
9240
+ "end-time": z(x).endTime.value,
9241
+ "selected-preset": z(x).selectedPreset.value,
9242
+ "show-presets": r.showPresets,
9243
+ "show-time-picker": r.showTimePicker,
9244
+ is24hr: r.is24hr,
9245
+ columns: S.value,
9246
+ "min-date": k.value,
9247
+ "max-date": O.value,
9248
+ timezone: r.timezone,
9249
+ "is-mobile": g.value,
9250
+ "is-in-range": z(x).isInRange,
9251
+ "is-range-start": z(x).isRangeStart,
9252
+ "is-range-end": z(x).isRangeEnd,
9253
+ "available-presets": w.value,
9254
+ onDateClick: ne,
9255
+ onDateHover: L,
9256
+ onPresetSelect: te,
9257
+ "onUpdate:startDate": R,
9258
+ "onUpdate:endDate": B,
9259
+ "onUpdate:startTime": ie,
9260
+ "onUpdate:endTime": ae,
9261
+ onApply: P,
9262
+ onCancel: F,
9263
+ onClear: ee
9264
+ }, null, 8, [
9265
+ "start-date",
9266
+ "end-date",
9267
+ "start-time",
9268
+ "end-time",
9269
+ "selected-preset",
9270
+ "show-presets",
9271
+ "show-time-picker",
9272
+ "is24hr",
9273
+ "columns",
9274
+ "min-date",
9275
+ "max-date",
9276
+ "timezone",
9277
+ "is-mobile",
9278
+ "is-in-range",
9279
+ "is-range-start",
9280
+ "is-range-end",
9281
+ "available-presets"
9282
+ ])]),
9283
+ _: 1
9284
+ }, 8, ["disabled", "position"]), d(HS, {
9285
+ validate: r.validate,
9286
+ "show-validate-messages": r.showValidateMessages
9287
+ }, null, 8, ["validate", "show-validate-messages"])], 2));
9226
9288
  }
9227
- }), WC = { class: "r-file-dropzone-list" }, GC = { class: "r-file-dropzone-list-item-name" }, KC = { class: "r-file-dropzone-list-item-size r-text-muted" }, qC = { class: "r-file-dropzone-list-item-delete" }, JC = /* @__PURE__ */ f({
9289
+ }), KC = { class: "r-file-dropzone-list" }, qC = { class: "r-file-dropzone-list-item-name" }, JC = { class: "r-file-dropzone-list-item-size r-text-muted" }, YC = { class: "r-file-dropzone-list-item-delete" }, XC = /* @__PURE__ */ f({
9228
9290
  __name: "r-file-dropzone-list",
9229
9291
  props: { files: {} },
9230
9292
  emits: ["remove"],
@@ -9232,13 +9294,13 @@ var VC = {
9232
9294
  let r = t, i = n;
9233
9295
  return (t, n) => {
9234
9296
  let a = P("r-button");
9235
- return D(), s("div", WC, [(D(!0), s(e, null, M(r.files, (e, t) => (D(), s("div", {
9297
+ return D(), s("div", KC, [(D(!0), s(e, null, M(r.files, (e, t) => (D(), s("div", {
9236
9298
  key: e.name + t,
9237
9299
  class: "r-file-dropzone-list-item"
9238
9300
  }, [
9239
- c("div", GC, I(e.name), 1),
9240
- c("div", KC, I(e.size), 1),
9241
- c("div", qC, [d(a, {
9301
+ c("div", qC, I(e.name), 1),
9302
+ c("div", JC, I(e.size), 1),
9303
+ c("div", YC, [d(a, {
9242
9304
  type: "danger",
9243
9305
  size: "small",
9244
9306
  icon: "trash",
@@ -9250,18 +9312,18 @@ var VC = {
9250
9312
  });
9251
9313
  //#endregion
9252
9314
  //#region src/components/r-file-dropzone/types.ts
9253
- function YC(e) {
9315
+ function ZC(e) {
9254
9316
  return "url" in e && typeof e.url == "string";
9255
9317
  }
9256
9318
  //#endregion
9257
9319
  //#region src/components/r-file-dropzone/r-file-dropzone-gallery-item.vue?vue&type=script&setup=true&lang.ts
9258
- var XC = { class: "r-file-dropzone-gallery-item" }, ZC = {
9320
+ var QC = { class: "r-file-dropzone-gallery-item" }, $C = {
9259
9321
  key: 0,
9260
9322
  class: "r-file-dropzone-gallery-item-image"
9261
- }, QC = ["src"], $C = {
9323
+ }, ew = ["src"], tw = {
9262
9324
  key: 1,
9263
9325
  class: "r-file-dropzone-gallery-item-icon"
9264
- }, ew = { class: "r-file-dropzone-gallery-item-overlay" }, tw = { class: "r-file-dropzone-gallery-item-name" }, nw = { class: "r-file-dropzone-gallery-item-action" }, rw = /* @__PURE__ */ f({
9326
+ }, nw = { class: "r-file-dropzone-gallery-item-overlay" }, rw = { class: "r-file-dropzone-gallery-item-name" }, iw = { class: "r-file-dropzone-gallery-item-action" }, aw = /* @__PURE__ */ f({
9265
9327
  __name: "r-file-dropzone-gallery-item",
9266
9328
  props: { file: {} },
9267
9329
  emits: ["remove"],
@@ -9269,7 +9331,7 @@ var XC = { class: "r-file-dropzone-gallery-item" }, ZC = {
9269
9331
  let n = e, r = t, a = A(""), o = i(() => !a.value);
9270
9332
  function l() {
9271
9333
  if (a.value &&= "", n.file.name) {
9272
- if (YC(n.file)) {
9334
+ if (ZC(n.file)) {
9273
9335
  a.value = n.file.url;
9274
9336
  return;
9275
9337
  }
@@ -9281,15 +9343,15 @@ var XC = { class: "r-file-dropzone-gallery-item" }, ZC = {
9281
9343
  }
9282
9344
  }
9283
9345
  }
9284
- return T(l), H(() => n.file, l), (t, n) => {
9346
+ return T(l), U(() => n.file, l), (t, n) => {
9285
9347
  let i = P("r-icon"), l = P("r-button");
9286
- return D(), s("div", XC, [o.value ? (D(), s("div", $C, [c("span", null, [d(i, {
9348
+ return D(), s("div", QC, [o.value ? (D(), s("div", tw, [c("span", null, [d(i, {
9287
9349
  icon: "file",
9288
9350
  size: "32"
9289
- })])])) : (D(), s("div", ZC, [c("img", { src: a.value }, null, 8, QC)])), c("div", ew, [
9351
+ })])])) : (D(), s("div", $C, [c("img", { src: a.value }, null, 8, ew)])), c("div", nw, [
9290
9352
  n[1] ||= c("div", { class: "r-file-dropzone-gallery-item-overlay-bg" }, null, -1),
9291
- c("div", tw, [c("small", null, I(e.file.name), 1)]),
9292
- c("div", nw, [d(l, {
9353
+ c("div", rw, [c("small", null, I(e.file.name), 1)]),
9354
+ c("div", iw, [d(l, {
9293
9355
  size: "small",
9294
9356
  type: "danger",
9295
9357
  icon: "trash",
@@ -9299,13 +9361,13 @@ var XC = { class: "r-file-dropzone-gallery-item" }, ZC = {
9299
9361
  ])]);
9300
9362
  };
9301
9363
  }
9302
- }), iw = { class: "r-file-dropzone-gallery" }, aw = /* @__PURE__ */ f({
9364
+ }), ow = { class: "r-file-dropzone-gallery" }, sw = /* @__PURE__ */ f({
9303
9365
  __name: "r-file-dropzone-gallery",
9304
9366
  props: { files: {} },
9305
9367
  emits: ["remove"],
9306
9368
  setup(t, { emit: n }) {
9307
9369
  let r = t, i = n;
9308
- return (t, n) => (D(), s("div", iw, [(D(!0), s(e, null, M(r.files, (e, t) => (D(), a(rw, {
9370
+ return (t, n) => (D(), s("div", ow, [(D(!0), s(e, null, M(r.files, (e, t) => (D(), a(aw, {
9309
9371
  key: e.name + t,
9310
9372
  file: e,
9311
9373
  onRemove: (e) => i("remove", t)
@@ -9314,7 +9376,7 @@ var XC = { class: "r-file-dropzone-gallery-item" }, ZC = {
9314
9376
  });
9315
9377
  //#endregion
9316
9378
  //#region src/components/r-file-dropzone/pretty-file-name-format.ts
9317
- function ow(e) {
9379
+ function cw(e) {
9318
9380
  if (!e) return null;
9319
9381
  let t = {
9320
9382
  "image/*": "All image types",
@@ -9341,7 +9403,7 @@ function ow(e) {
9341
9403
  }
9342
9404
  //#endregion
9343
9405
  //#region src/components/r-file-dropzone/pretty-file-size-format.ts
9344
- function sw(e) {
9406
+ function lw(e) {
9345
9407
  if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "0 B";
9346
9408
  let t = [
9347
9409
  "B",
@@ -9355,20 +9417,20 @@ function sw(e) {
9355
9417
  }
9356
9418
  //#endregion
9357
9419
  //#region src/components/r-file-dropzone/r-file-dropzone.vue?vue&type=script&setup=true&lang.ts
9358
- var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-heading" }, uw = {
9420
+ var uw = { class: "r-file-dropzone-fields" }, dw = { class: "r-file-dropzone-heading" }, fw = {
9359
9421
  key: 0,
9360
9422
  class: "r-mb-6 r-text-muted"
9361
- }, dw = { class: "r-d-block" }, fw = {
9423
+ }, pw = { class: "r-d-block" }, mw = {
9362
9424
  key: 0,
9363
9425
  class: "r-file-dropzone-error-list"
9364
- }, pw = { key: 0 }, mw = { key: 1 }, hw = [
9426
+ }, hw = { key: 0 }, gw = { key: 1 }, _w = [
9365
9427
  "accept",
9366
9428
  "multiple",
9367
9429
  "disabled"
9368
- ], gw = {
9430
+ ], vw = {
9369
9431
  key: 1,
9370
9432
  class: "r-mt-7"
9371
- }, _w = /* @__PURE__ */ f({
9433
+ }, yw = /* @__PURE__ */ f({
9372
9434
  __name: "r-file-dropzone",
9373
9435
  props: {
9374
9436
  modelValue: {},
@@ -9411,8 +9473,8 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9411
9473
  "r-is-error": m.value
9412
9474
  })), x = i(() => !!r.maxFileSize || !!r.accept), S = i(() => !!h.invalidFiles.length || m.value && r.showValidateMessages);
9413
9475
  function C(e) {
9414
- let t = sw(e.size);
9415
- return YC(e) ? {
9476
+ let t = lw(e.size);
9477
+ return ZC(e) ? {
9416
9478
  ...e,
9417
9479
  size: t
9418
9480
  } : {
@@ -9422,13 +9484,13 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9422
9484
  };
9423
9485
  }
9424
9486
  function w(e, t) {
9425
- return YC(e) ? !0 : t.split(",").some((t) => {
9487
+ return ZC(e) ? !0 : t.split(",").some((t) => {
9426
9488
  let n = t.trim();
9427
9489
  return n.startsWith(".") ? e.name.toLowerCase().endsWith(n.toLowerCase()) : n.endsWith("/*") ? e.type.startsWith(n.slice(0, -1)) : e.type === n;
9428
9490
  });
9429
9491
  }
9430
9492
  function T(e) {
9431
- return YC(e) ? !0 : e.size <= r.maxFileSize * 1024 * 1024;
9493
+ return ZC(e) ? !0 : e.size <= r.maxFileSize * 1024 * 1024;
9432
9494
  }
9433
9495
  function E(e) {
9434
9496
  if (h.invalidFiles = [], !e || !e.length) return;
@@ -9468,15 +9530,15 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9468
9530
  onDragleave: j,
9469
9531
  onDrop: K(P, ["prevent"])
9470
9532
  }, [
9471
- N(t.$slots, "default", {}, () => [c("div", cw, [
9533
+ N(t.$slots, "default", {}, () => [c("div", uw, [
9472
9534
  d(Q, {
9473
9535
  icon: "upload",
9474
9536
  size: "32",
9475
9537
  class: "r-mb-6"
9476
9538
  }),
9477
- c("div", lw, " Drag and drop " + I(r.multiple ? "files" : "file") + " here ", 1),
9478
- x.value ? (D(), s("div", uw, [c("small", dw, [
9479
- r.accept ? (D(), s(e, { key: 0 }, [u(" Accepted file formats: " + I(z(ow)(r.accept)), 1)], 64)) : o("", !0),
9539
+ c("div", dw, " Drag and drop " + I(r.multiple ? "files" : "file") + " here ", 1),
9540
+ x.value ? (D(), s("div", fw, [c("small", pw, [
9541
+ r.accept ? (D(), s(e, { key: 0 }, [u(" Accepted file formats: " + I(z(cw)(r.accept)), 1)], 64)) : o("", !0),
9480
9542
  r.accept && r.maxFileSize ? (D(), s(e, { key: 1 }, [u(" \xA0.\xA0 ")], 64)) : o("", !0),
9481
9543
  r.maxFileSize ? (D(), s(e, { key: 2 }, [u(" Max file size: " + I(r.maxFileSize) + " MB ", 1)], 64)) : o("", !0)
9482
9544
  ])])) : o("", !0),
@@ -9486,17 +9548,17 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9486
9548
  c("hr")
9487
9549
  ], -1),
9488
9550
  d(Bb, null, {
9489
- default: U(() => [...n[0] ||= [u("Browse files", -1)]]),
9551
+ default: W(() => [...n[0] ||= [u("Browse files", -1)]]),
9490
9552
  _: 1
9491
9553
  })
9492
9554
  ])]),
9493
- S.value ? (D(), s("div", fw, [(D(!0), s(e, null, M(z(p), (e, t) => (D(), s("div", {
9555
+ S.value ? (D(), s("div", mw, [(D(!0), s(e, null, M(z(p), (e, t) => (D(), s("div", {
9494
9556
  key: t,
9495
9557
  class: "r-file-dropzone-error-item"
9496
9558
  }, I(e), 1))), 128)), (D(!0), s(e, null, M(h.invalidFiles, (e, t) => (D(), s("div", {
9497
9559
  key: e.name + t,
9498
9560
  class: "r-file-dropzone-error-item"
9499
- }, [e.type === "format" ? (D(), s("span", pw, I(e.name) + ": Invalid file type, allowed file types: " + I(z(ow)(r.accept)), 1)) : e.type === "size" ? (D(), s("span", mw, I(e.name) + ": Invalid file size, file size should be smaller than " + I(r.maxFileSize) + " MB. ", 1)) : o("", !0)]))), 128))])) : o("", !0),
9561
+ }, [e.type === "format" ? (D(), s("span", hw, I(e.name) + ": Invalid file type, allowed file types: " + I(z(cw)(r.accept)), 1)) : e.type === "size" ? (D(), s("span", gw, I(e.name) + ": Invalid file size, file size should be smaller than " + I(r.maxFileSize) + " MB. ", 1)) : o("", !0)]))), 128))])) : o("", !0),
9500
9562
  c("input", {
9501
9563
  ref: "file-input",
9502
9564
  type: "file",
@@ -9504,23 +9566,23 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9504
9566
  multiple: r.multiple,
9505
9567
  disabled: r.disabled,
9506
9568
  onChange: O
9507
- }, null, 40, hw),
9508
- v.value ? (D(), s("div", gw, [r.previewType === "list" ? (D(), a(JC, {
9569
+ }, null, 40, _w),
9570
+ v.value ? (D(), s("div", vw, [r.previewType === "list" ? (D(), a(XC, {
9509
9571
  key: 0,
9510
9572
  files: _.value,
9511
9573
  onRemove: F
9512
- }, null, 8, ["files"])) : (D(), a(aw, {
9574
+ }, null, 8, ["files"])) : (D(), a(sw, {
9513
9575
  key: 1,
9514
9576
  files: _.value,
9515
9577
  onRemove: F
9516
9578
  }, null, 8, ["files"]))])) : o("", !0)
9517
9579
  ], 34));
9518
9580
  }
9519
- }), vw = [
9581
+ }), bw = [
9520
9582
  "multiple",
9521
9583
  "accept",
9522
9584
  "disabled"
9523
- ], yw = /* @__PURE__ */ f({
9585
+ ], xw = /* @__PURE__ */ f({
9524
9586
  __name: "r-file-upload",
9525
9587
  props: {
9526
9588
  multiple: {
@@ -9563,12 +9625,12 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9563
9625
  accept: e.accept,
9564
9626
  disabled: e.disabled,
9565
9627
  onChange: K(l, ["stop"])
9566
- }, null, 40, vw), N(t.$slots, "default", {
9628
+ }, null, 40, bw), N(t.$slots, "default", {
9567
9629
  openFileBrowser: a,
9568
9630
  setFocus: o
9569
9631
  })], 32));
9570
9632
  }
9571
- }), bw = /* @__PURE__ */ f({
9633
+ }), Sw = /* @__PURE__ */ f({
9572
9634
  __name: "r-flex",
9573
9635
  props: {
9574
9636
  columns: { default: "12" },
@@ -9608,7 +9670,7 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9608
9670
  "data-testid": "r-flex-layout"
9609
9671
  }, [N(e.$slots, "default")], 2));
9610
9672
  }
9611
- }), xw = /* @__PURE__ */ f({
9673
+ }), Cw = /* @__PURE__ */ f({
9612
9674
  __name: "r-flex-item",
9613
9675
  props: {
9614
9676
  span: { default: "auto" },
@@ -9631,7 +9693,7 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9631
9693
  });
9632
9694
  return Number(n.span) > 12 && console.warn(`Revel[RFlexItem]: 'span' prop only covers 12 columns. Received: ${n.span}`), (e, t) => (D(), s("div", { class: b(["r-flex-layout-item", r.value]) }, [N(e.$slots, "default")], 2));
9633
9695
  }
9634
- }), Sw = /* @__PURE__ */ f({
9696
+ }), ww = /* @__PURE__ */ f({
9635
9697
  __name: "r-grid",
9636
9698
  props: {
9637
9699
  columns: { default: "12" },
@@ -9660,7 +9722,7 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9660
9722
  "data-testid": "r-grid-layout"
9661
9723
  }, [N(e.$slots, "default")], 2));
9662
9724
  }
9663
- }), Cw = /* @__PURE__ */ f({
9725
+ }), Tw = /* @__PURE__ */ f({
9664
9726
  __name: "r-grid-cell",
9665
9727
  props: {
9666
9728
  span: { default: null },
@@ -9701,55 +9763,63 @@ var cw = { class: "r-file-dropzone-fields" }, lw = { class: "r-file-dropzone-hea
9701
9763
  }, null, 2)) : o("", !0)
9702
9764
  ], 64));
9703
9765
  }
9704
- }), ww = (e, t) => {
9766
+ }), Ew = (e, t) => {
9705
9767
  let n = e.__vccOpts || e;
9706
9768
  for (let [e, r] of t) n[e] = r;
9707
9769
  return n;
9708
- }, Tw = {}, Ew = { class: "r-field-group" };
9709
- function Dw(e, t) {
9710
- return D(), s("div", Ew, [N(e.$slots, "default")]);
9770
+ }, Dw = {}, Ow = { class: "r-field-group" };
9771
+ function kw(e, t) {
9772
+ return D(), s("div", Ow, [N(e.$slots, "default")]);
9711
9773
  }
9712
- var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9774
+ var Aw = /*#__PURE__*/ Ew(Dw, [["render", kw]]), jw = [
9713
9775
  "id",
9714
9776
  "value",
9715
9777
  "type",
9716
9778
  "name",
9717
9779
  "maxlength",
9718
9780
  "autocomplete"
9719
- ], jw = [
9781
+ ], Mw = [
9720
9782
  "id",
9721
9783
  "value",
9722
9784
  "maxlength",
9723
9785
  "rows",
9724
9786
  "name",
9725
9787
  "onKeydown"
9726
- ], Mw = [
9788
+ ], Nw = [
9727
9789
  "id",
9728
9790
  "value",
9729
9791
  "maxlength",
9730
9792
  "rows",
9731
9793
  "name"
9732
- ], Nw = {
9794
+ ], Pw = {
9733
9795
  key: 0,
9734
9796
  class: "r-field-addon r-flex-none r-text-muted"
9735
- }, Pw = [
9797
+ }, Fw = [
9736
9798
  "id",
9737
9799
  "value",
9738
9800
  "type",
9739
9801
  "name",
9740
9802
  "maxlength",
9741
9803
  "autocomplete"
9742
- ], Fw = {
9804
+ ], Iw = {
9743
9805
  key: 1,
9744
9806
  class: "r-field-addon r-flex-none r-text-muted"
9745
- }, Iw = {
9807
+ }, Lw = {
9746
9808
  key: 3,
9747
9809
  class: "r-field-caption"
9748
- }, Lw = ["innerHTML"], Rw = { key: 1 }, zw = /* @__PURE__ */ f({
9810
+ }, Rw = ["innerHTML"], zw = { key: 1 }, Bw = /* @__PURE__ */ f({
9749
9811
  inheritAttrs: !1,
9750
9812
  __name: "r-input",
9751
9813
  props: {
9752
9814
  label: { default: null },
9815
+ required: {
9816
+ type: Boolean,
9817
+ default: !1
9818
+ },
9819
+ optional: {
9820
+ type: Boolean,
9821
+ default: !1
9822
+ },
9753
9823
  modelValue: { default: null },
9754
9824
  validate: { default: null },
9755
9825
  showValidateMessages: {
@@ -9896,13 +9966,13 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9896
9966
  }
9897
9967
  }
9898
9968
  }
9899
- function oe(e) {
9969
+ function H(e) {
9900
9970
  if (!l.integer) return;
9901
9971
  let t = e.clipboardData?.getData("text") ?? "";
9902
9972
  /^-?\d+$/.test(t) || e.preventDefault();
9903
9973
  }
9904
- function H(e) {
9905
- oe(e), l.onPaste?.(e);
9974
+ function U(e) {
9975
+ H(e), l.onPaste?.(e);
9906
9976
  }
9907
9977
  return n({
9908
9978
  focus: te,
@@ -9912,11 +9982,19 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9912
9982
  }), T(() => {
9913
9983
  l.autoFocus && F(), l.autoHighlight && ae(), l.autoResize && m.value && B(m.value);
9914
9984
  }), (n, r) => (D(), s("div", { class: b(["r-field", { "r-is-error": z(g) }]) }, [
9915
- t.label ? (D(), s("label", {
9985
+ t.label ? (D(), a(KS, {
9916
9986
  key: 0,
9917
9987
  for: t.name,
9918
- class: "r-field-label"
9919
- }, I(t.label), 9, kw)) : o("", !0),
9988
+ required: t.required,
9989
+ optional: t.optional
9990
+ }, {
9991
+ default: W(() => [u(I(t.label), 1)]),
9992
+ _: 1
9993
+ }, 8, [
9994
+ "for",
9995
+ "required",
9996
+ "optional"
9997
+ ])) : o("", !0),
9920
9998
  x.value ? o("", !0) : (D(), s(e, { key: 1 }, [t.multiline ? t.multiline && t.submitOnEnter ? (D(), s("textarea", v({
9921
9999
  key: 1,
9922
10000
  id: t.name,
@@ -9929,10 +10007,10 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9929
10007
  name: t.name
9930
10008
  }, n.$attrs, {
9931
10009
  onInput: O,
9932
- onKeydown: [G(K(j, ["exact", "prevent"]), ["enter"]), P],
10010
+ onKeydown: [se(K(j, ["exact", "prevent"]), ["enter"]), P],
9933
10011
  onKeyup: M,
9934
- onPaste: H
9935
- }, ne(t.inputEvents, !0)), " ", 16, jw)) : t.multiline && !t.submitOnEnter ? (D(), s("textarea", v({
10012
+ onPaste: U
10013
+ }, ne(t.inputEvents, !0)), " ", 16, Mw)) : t.multiline && !t.submitOnEnter ? (D(), s("textarea", v({
9936
10014
  key: 2,
9937
10015
  id: t.name,
9938
10016
  ref_key: "textAreaElement",
@@ -9944,10 +10022,10 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9944
10022
  name: t.name
9945
10023
  }, n.$attrs, {
9946
10024
  onInput: O,
9947
- onKeydown: [G(j, ["enter"]), P],
10025
+ onKeydown: [se(j, ["enter"]), P],
9948
10026
  onKeyup: M,
9949
- onPaste: H
9950
- }), null, 16, Mw)) : o("", !0) : (D(), s("input", v({
10027
+ onPaste: U
10028
+ }), null, 16, Nw)) : o("", !0) : (D(), s("input", v({
9951
10029
  key: 0,
9952
10030
  id: t.name,
9953
10031
  ref_key: "inputElement",
@@ -9960,17 +10038,17 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9960
10038
  autocomplete: w.value
9961
10039
  }, n.$attrs, {
9962
10040
  onInput: O,
9963
- onKeyup: [G(j, ["enter"]), M],
10041
+ onKeyup: [se(j, ["enter"]), M],
9964
10042
  onKeydown: P,
9965
10043
  onFocus: te,
9966
10044
  onBlur: r[0] ||= (e) => f("blur"),
9967
10045
  onClick: L,
9968
- onPaste: H,
10046
+ onPaste: U,
9969
10047
  onWheelPassive: R
9970
- }, ne(t.inputEvents, !0)), null, 16, Aw))], 64)),
9971
- x.value ? (D(), a(Ow, { key: 2 }, {
9972
- default: U(() => [
9973
- t.leftLabel ? (D(), s("div", Nw, I(t.leftLabel), 1)) : o("", !0),
10048
+ }, ne(t.inputEvents, !0)), null, 16, jw))], 64)),
10049
+ x.value ? (D(), a(Aw, { key: 2 }, {
10050
+ default: W(() => [
10051
+ t.leftLabel ? (D(), s("div", Pw, I(t.leftLabel), 1)) : o("", !0),
9974
10052
  c("div", { class: b(["r-field-control", S.value]) }, [
9975
10053
  t.leftIcon ? (D(), a(Q, {
9976
10054
  key: 0,
@@ -9993,14 +10071,14 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
9993
10071
  autocomplete: w.value
9994
10072
  }, n.$attrs, {
9995
10073
  onInput: k,
9996
- onKeyup: [G(j, ["enter"]), M],
10074
+ onKeyup: [se(j, ["enter"]), M],
9997
10075
  onKeydown: P,
9998
10076
  onFocus: te,
9999
10077
  onBlur: r[2] ||= (e) => f("blur"),
10000
10078
  onClick: L,
10001
- onPaste: H,
10079
+ onPaste: U,
10002
10080
  onWheelPassive: R
10003
- }, ne(t.inputEvents, !0)), null, 16, Pw),
10081
+ }, ne(t.inputEvents, !0)), null, 16, Fw),
10004
10082
  t.password ? (D(), a(Q, {
10005
10083
  key: 1,
10006
10084
  icon: _.value ? "eye-closed" : "eye",
@@ -10017,17 +10095,17 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10017
10095
  }, null, 8, ["icon", "class"])) : o("", !0)
10018
10096
  ], 2),
10019
10097
  N(n.$slots, "right-button"),
10020
- t.rightLabel ? (D(), s("div", Fw, I(t.rightLabel), 1)) : o("", !0)
10098
+ t.rightLabel ? (D(), s("div", Iw, I(t.rightLabel), 1)) : o("", !0)
10021
10099
  ]),
10022
10100
  _: 3
10023
10101
  })) : o("", !0),
10024
- t.helpText || t.maxLength ? (D(), s("p", Iw, [
10102
+ t.helpText || t.maxLength ? (D(), s("p", Lw, [
10025
10103
  t.helpText ? (D(), s("span", {
10026
10104
  key: 0,
10027
10105
  innerHTML: t.helpText
10028
- }, null, 8, Lw)) : o("", !0),
10106
+ }, null, 8, Rw)) : o("", !0),
10029
10107
  r[4] ||= u(" " + I(" ") + " ", -1),
10030
- t.maxLength ? (D(), s("span", Rw, I(E.value), 1)) : o("", !0)
10108
+ t.maxLength ? (D(), s("span", zw, I(E.value), 1)) : o("", !0)
10031
10109
  ])) : o("", !0),
10032
10110
  d(HS, {
10033
10111
  validate: t.validate,
@@ -10035,12 +10113,12 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10035
10113
  }, null, 8, ["validate", "show-validate-messages"])
10036
10114
  ], 2));
10037
10115
  }
10038
- }), Bw = {
10116
+ }), Vw = {
10039
10117
  key: 0,
10040
10118
  class: "r-loader-spinner",
10041
10119
  viewBox: "0 0 24 24",
10042
10120
  "aria-hidden": "true"
10043
- }, Vw = /* @__PURE__ */ f({
10121
+ }, Hw = /* @__PURE__ */ f({
10044
10122
  __name: "r-loader",
10045
10123
  props: {
10046
10124
  show: {
@@ -10067,7 +10145,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10067
10145
  class: b(["r-component r-loader", a.value]),
10068
10146
  role: "alert",
10069
10147
  "aria-busy": "true"
10070
- }, [c("div", { class: b(["r-loader-icon-wrapper", { "r-is-spinner": r.value }]) }, [r.value ? (D(), s("svg", Bw, [...i[0] ||= [c("circle", {
10148
+ }, [c("div", { class: b(["r-loader-icon-wrapper", { "r-is-spinner": r.value }]) }, [r.value ? (D(), s("svg", Vw, [...i[0] ||= [c("circle", {
10071
10149
  class: "r-loader-spinner-arc",
10072
10150
  cx: "12",
10073
10151
  cy: "12",
@@ -10084,16 +10162,16 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10084
10162
  class: "r-loader-bar"
10085
10163
  })), 64))], 2)), 64))], 2)], 2)) : o("", !0);
10086
10164
  }
10087
- }), Hw = ["aria-label"], Uw = {
10165
+ }), Uw = ["aria-label"], Ww = {
10088
10166
  key: 0,
10089
10167
  class: "r-modal-header"
10090
- }, Ww = { class: "r-inline-3" }, Gw = {
10168
+ }, Gw = { class: "r-inline-3" }, Kw = {
10091
10169
  key: 0,
10092
10170
  class: "r-mis-auto r-inline-3"
10093
- }, Kw = { class: "r-modal-actions" }, qw = { key: 0 }, Jw = { class: "r-modal-actions-right r-equal-widths-container-on-s" }, Yw = {
10171
+ }, qw = { class: "r-modal-actions" }, Jw = { key: 0 }, Yw = { class: "r-modal-actions-right r-equal-widths-container-on-s" }, Xw = {
10094
10172
  key: 1,
10095
10173
  class: "r-modal-overlay"
10096
- }, Xw = /* @__PURE__ */ f({
10174
+ }, Zw = /* @__PURE__ */ f({
10097
10175
  __name: "r-modal",
10098
10176
  props: {
10099
10177
  show: {
@@ -10150,7 +10228,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10150
10228
  onEnter: _,
10151
10229
  onLeave: v
10152
10230
  }, {
10153
- default: U(() => [e.show ? (D(), s("div", {
10231
+ default: W(() => [e.show ? (D(), s("div", {
10154
10232
  key: 0,
10155
10233
  ref_key: "containerElement",
10156
10234
  ref: f,
@@ -10159,7 +10237,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10159
10237
  style: S(p.value),
10160
10238
  "aria-label": e.title ? e.title : "Modal",
10161
10239
  onMousedown: g,
10162
- onKeyup: [G(g, ["esc"]), G(h, ["enter"])]
10240
+ onKeyup: [se(g, ["esc"]), se(h, ["enter"])]
10163
10241
  }, [t.$slots.content || t.$slots.contents ? (D(), s("div", {
10164
10242
  key: 0,
10165
10243
  class: b(["r-modal-overlay", { "r-is-scrollable": e.scroll }])
@@ -10168,9 +10246,9 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10168
10246
  style: S(p.value),
10169
10247
  onMousedown: r[1] ||= (e) => e.stopPropagation()
10170
10248
  }, [
10171
- e.title ? (D(), s("div", Uw, [
10172
- c("h2", Ww, I(e.title), 1),
10173
- t.$slots["header-actions"] ? (D(), s("div", Gw, [N(t.$slots, "header-actions")])) : o("", !0),
10249
+ e.title ? (D(), s("div", Ww, [
10250
+ c("h2", Gw, I(e.title), 1),
10251
+ t.$slots["header-actions"] ? (D(), s("div", Kw, [N(t.$slots, "header-actions")])) : o("", !0),
10174
10252
  d(Bb, {
10175
10253
  type: "plain",
10176
10254
  size: "small",
@@ -10181,31 +10259,31 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10181
10259
  })
10182
10260
  ])) : o("", !0),
10183
10261
  N(t.$slots, "contents", {}, () => [c("div", { class: b(["r-modal-content", { "r-is-scrollable": e.scrollContent }]) }, [N(t.$slots, "content")], 2)]),
10184
- c("div", Kw, [t.$slots["left-actions"] ? (D(), s("div", qw, [N(t.$slots, "left-actions", {
10262
+ c("div", qw, [t.$slots["left-actions"] ? (D(), s("div", Jw, [N(t.$slots, "left-actions", {
10185
10263
  submit: h,
10186
10264
  close: g
10187
- })])) : o("", !0), c("div", Jw, [N(t.$slots, "right-actions", {
10265
+ })])) : o("", !0), c("div", Yw, [N(t.$slots, "right-actions", {
10188
10266
  submit: h,
10189
10267
  close: g
10190
10268
  }, () => [d(Bb, {
10191
10269
  class: b({ "r-inline-3": t.$slots.actions }),
10192
10270
  onClick: g
10193
10271
  }, {
10194
- default: U(() => [u(I(e.cancelLabel), 1)]),
10272
+ default: W(() => [u(I(e.cancelLabel), 1)]),
10195
10273
  _: 1
10196
10274
  }, 8, ["class"]), N(t.$slots, "actions", {
10197
10275
  submit: h,
10198
10276
  close: g
10199
10277
  })])])])
10200
- ], 38)], 2)) : (D(), s("div", Yw, [d(Vw, {
10278
+ ], 38)], 2)) : (D(), s("div", Xw, [d(Hw, {
10201
10279
  class: "r-modal-loader r-is-loading",
10202
10280
  show: !0,
10203
10281
  loading: !0
10204
- })]))], 44, Hw)) : o("", !0)]),
10282
+ })]))], 44, Uw)) : o("", !0)]),
10205
10283
  _: 3
10206
10284
  }));
10207
10285
  }
10208
- }), Zw = [
10286
+ }), Qw = [
10209
10287
  "January",
10210
10288
  "February",
10211
10289
  "March",
@@ -10218,10 +10296,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10218
10296
  "October",
10219
10297
  "November",
10220
10298
  "December"
10221
- ], Qw = {
10222
- key: 0,
10223
- class: "r-field-label"
10224
- }, $w = { class: "r-month-picker-input-value" }, eT = { key: 0 }, tT = {
10299
+ ], $w = { class: "r-month-picker-input-value" }, eT = { key: 0 }, tT = {
10225
10300
  key: 1,
10226
10301
  class: "r-text-muted"
10227
10302
  }, nT = {
@@ -10233,7 +10308,16 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10233
10308
  }, oT = { class: "r-month-picker-container" }, sT = { class: "r-month-picker-year" }, cT = { class: "r-month-picker" }, lT = ["aria-label", "onClick"], uT = /* @__PURE__ */ f({
10234
10309
  __name: "r-month-picker",
10235
10310
  props: {
10311
+ id: { default: () => eS() },
10236
10312
  label: { default: "" },
10313
+ required: {
10314
+ type: Boolean,
10315
+ default: !1
10316
+ },
10317
+ optional: {
10318
+ type: Boolean,
10319
+ default: !1
10320
+ },
10237
10321
  caption: { default: "" },
10238
10322
  modelValue: {},
10239
10323
  clearable: {
@@ -10252,13 +10336,13 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10252
10336
  "year-change"
10253
10337
  ],
10254
10338
  setup(t, { emit: n }) {
10255
- let r = t, a = n, l = A(null), u = i(() => r.modelValue?.monthIndex === null ? r.placeholder : `${Zw[r.modelValue.monthIndex]}, ${r.modelValue.year}`), f = i(() => r.minValue?.year && r.modelValue?.year && r.modelValue.year <= r.minValue.year), p = i(() => r.maxValue?.year && r.modelValue?.year && r.modelValue.year >= r.maxValue.year), m = () => {
10256
- l.value?.popper.toggle();
10257
- }, h = (e) => {
10258
- if (v(e)) return;
10339
+ let r = t, l = n, f = A(null), p = i(() => r.modelValue?.monthIndex === null ? r.placeholder : `${Qw[r.modelValue.monthIndex]}, ${r.modelValue.year}`), m = i(() => r.minValue?.year && r.modelValue?.year && r.modelValue.year <= r.minValue.year), h = i(() => r.maxValue?.year && r.modelValue?.year && r.modelValue.year >= r.maxValue.year), g = () => {
10340
+ f.value?.popper.toggle();
10341
+ }, _ = (e) => {
10342
+ if (x(e)) return;
10259
10343
  let t = r.modelValue?.monthIndex === e;
10260
10344
  if (r.clearable && t) {
10261
- a("clear");
10345
+ l("clear");
10262
10346
  return;
10263
10347
  }
10264
10348
  if (t) return;
@@ -10266,8 +10350,8 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10266
10350
  ...r.modelValue,
10267
10351
  monthIndex: e
10268
10352
  };
10269
- a("update:modelValue", n), a("month-change", e), m();
10270
- }, g = (e) => {
10353
+ l("update:modelValue", n), l("month-change", e), g();
10354
+ }, v = (e) => {
10271
10355
  if (!r.modelValue) return;
10272
10356
  let t = r.modelValue.year + e;
10273
10357
  if (r.minValue && t < r.minValue.year || r.maxValue && t > r.maxValue.year) return;
@@ -10275,40 +10359,53 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10275
10359
  ...r.modelValue,
10276
10360
  year: t
10277
10361
  };
10278
- a("update:modelValue", n), a("year-change", t);
10279
- }, _ = (e) => r.modelValue && r.modelValue.monthIndex === e, v = (e) => !!(r.minValue && r.modelValue && (r.modelValue.year < r.minValue.year || r.minValue.monthIndex && r.modelValue.year === r.minValue.year && e < r.minValue.monthIndex) || r.maxValue && r.modelValue && (r.modelValue.year > r.maxValue.year || r.maxValue.monthIndex && r.modelValue.year === r.maxValue.year && e > r.maxValue.monthIndex));
10280
- return (!r.modelValue.year || !Number.isInteger(r.modelValue.year)) && a("update:modelValue", {
10362
+ l("update:modelValue", n), l("year-change", t);
10363
+ }, y = (e) => r.modelValue && r.modelValue.monthIndex === e, x = (e) => !!(r.minValue && r.modelValue && (r.modelValue.year < r.minValue.year || r.minValue.monthIndex && r.modelValue.year === r.minValue.year && e < r.minValue.monthIndex) || r.maxValue && r.modelValue && (r.modelValue.year > r.maxValue.year || r.maxValue.monthIndex && r.modelValue.year === r.maxValue.year && e > r.maxValue.monthIndex));
10364
+ return (!r.modelValue.year || !Number.isInteger(r.modelValue.year)) && l("update:modelValue", {
10281
10365
  ...r.modelValue,
10282
10366
  year: (/* @__PURE__ */ new Date()).getFullYear()
10283
10367
  }), (n, r) => {
10284
- let i = P("r-button"), a = P("r-popper");
10285
- return D(), s("div", null, [d(a, {
10368
+ let i = P("r-button"), l = P("r-popper");
10369
+ return D(), s("div", null, [d(l, {
10286
10370
  ref_key: "monthPickerElement",
10287
- ref: l,
10371
+ ref: f,
10288
10372
  position: t.position
10289
10373
  }, {
10290
- trigger: U(() => [
10291
- t.label ? (D(), s("label", Qw, I(t.label), 1)) : o("", !0),
10374
+ trigger: W(() => [
10375
+ t.label ? (D(), a(KS, {
10376
+ key: 0,
10377
+ for: t.id,
10378
+ required: t.required,
10379
+ optional: t.optional
10380
+ }, {
10381
+ default: W(() => [u(I(t.label), 1)]),
10382
+ _: 1
10383
+ }, 8, [
10384
+ "for",
10385
+ "required",
10386
+ "optional"
10387
+ ])) : o("", !0),
10292
10388
  d(i, {
10389
+ id: t.id,
10293
10390
  class: "r-month-picker-input",
10294
10391
  "icon-left": "calendar",
10295
10392
  "capitalize-first-letter": !1,
10296
- onClick: m
10393
+ onClick: g
10297
10394
  }, {
10298
- default: U(() => [c("span", $w, [t.modelValue ? (D(), s("span", eT, I(u.value), 1)) : (D(), s("span", tT, I(t.placeholder), 1))])]),
10395
+ default: W(() => [c("span", $w, [t.modelValue ? (D(), s("span", eT, I(p.value), 1)) : (D(), s("span", tT, I(t.placeholder), 1))])]),
10299
10396
  _: 1
10300
- }),
10397
+ }, 8, ["id"]),
10301
10398
  t.caption ? (D(), s("span", nT, I(t.caption), 1)) : o("", !0)
10302
10399
  ]),
10303
- content: U(() => [c("div", rT, [c("div", iT, [c("div", aT, [c("div", oT, [c("div", sT, [
10400
+ content: W(() => [c("div", rT, [c("div", iT, [c("div", aT, [c("div", oT, [c("div", sT, [
10304
10401
  d(i, {
10305
10402
  "aria-label": "decrement button",
10306
10403
  class: "r-month-picker-year-left",
10307
10404
  type: "plain",
10308
10405
  size: "small",
10309
10406
  icon: "caret-left",
10310
- disabled: f.value,
10311
- onClick: r[0] ||= (e) => g(-1)
10407
+ disabled: m.value,
10408
+ onClick: r[0] ||= (e) => v(-1)
10312
10409
  }, null, 8, ["disabled"]),
10313
10410
  c("div", null, I(t.modelValue && t.modelValue.year), 1),
10314
10411
  d(i, {
@@ -10317,18 +10414,18 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10317
10414
  type: "plain",
10318
10415
  size: "small",
10319
10416
  icon: "caret-right",
10320
- disabled: p.value,
10321
- onClick: r[1] ||= (e) => g(1)
10417
+ disabled: h.value,
10418
+ onClick: r[1] ||= (e) => v(1)
10322
10419
  }, null, 8, ["disabled"])
10323
- ]), c("div", cT, [(D(!0), s(e, null, M(z(Zw), (e, t) => (D(), s("div", {
10420
+ ]), c("div", cT, [(D(!0), s(e, null, M(z(Qw), (e, t) => (D(), s("div", {
10324
10421
  key: e,
10325
10422
  role: "button",
10326
10423
  "aria-label": `${e}-month-button`,
10327
10424
  class: b([{
10328
- "r-month-picker-month-disabled": v(t),
10329
- "r-month-picker-month-selected": _(t)
10425
+ "r-month-picker-month-disabled": x(t),
10426
+ "r-month-picker-month-selected": y(t)
10330
10427
  }, "r-month-picker-month"]),
10331
- onClick: (e) => h(t)
10428
+ onClick: (e) => _(t)
10332
10429
  }, I(e), 11, lT))), 128))])])])])])]),
10333
10430
  _: 1
10334
10431
  }, 8, ["position"])]);
@@ -10376,7 +10473,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10376
10473
  disabled: !T.value.hasPrevious,
10377
10474
  onClick: T.value.previous
10378
10475
  }, {
10379
- default: U(() => [d(Q, { icon: "arrow-left" }), n[0] ||= u(" Prev ", -1)]),
10476
+ default: W(() => [d(Q, { icon: "arrow-left" }), n[0] ||= u(" Prev ", -1)]),
10380
10477
  _: 1
10381
10478
  }, 8, ["disabled", "onClick"]),
10382
10479
  (D(!0), s(e, null, M(T.value.items, (t, n) => (D(), s(e, null, [t.breakView ? (D(), s("span", {
@@ -10387,7 +10484,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10387
10484
  class: b(["r-pagination-control-button", { "r-button-type-primary": t.selected }]),
10388
10485
  onClick: (e) => E(t)
10389
10486
  }, {
10390
- default: U(() => [u(I(t.content), 1)]),
10487
+ default: W(() => [u(I(t.content), 1)]),
10391
10488
  _: 2
10392
10489
  }, 1032, ["class", "onClick"]))], 64))), 256)),
10393
10490
  d(Bb, {
@@ -10395,7 +10492,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10395
10492
  disabled: !T.value.hasNext,
10396
10493
  onClick: T.value.next
10397
10494
  }, {
10398
- default: U(() => [n[1] ||= u(" Next ", -1), d(Q, { icon: "arrow-right" })]),
10495
+ default: W(() => [n[1] ||= u(" Next ", -1), d(Q, { icon: "arrow-right" })]),
10399
10496
  _: 1
10400
10497
  }, 8, ["disabled", "onClick"])
10401
10498
  ])])])]));
@@ -10544,7 +10641,7 @@ var Ow = /*#__PURE__*/ ww(Tw, [["render", Dw]]), kw = ["for"], Aw = [
10544
10641
  }
10545
10642
  return T(() => {
10546
10643
  l();
10547
- }), H(() => n.watcher, l, { deep: !0 }), (n, i) => (D(), s("div", xT, [r.isLoading ? (D(), a(Vw, {
10644
+ }), U(() => n.watcher, l, { deep: !0 }), (n, i) => (D(), s("div", xT, [r.isLoading ? (D(), a(Hw, {
10548
10645
  key: 0,
10549
10646
  fullscreen: t.isLoaderFullscreen,
10550
10647
  type: t.loaderType
@@ -10743,7 +10840,8 @@ var kT = (e) => e.reduce((e, t) => [...e, ...t.options || []], []), AT = (e) =>
10743
10840
  RInputErrors: HS,
10744
10841
  RIcon: Q,
10745
10842
  RButton: Bb,
10746
- RBadge: hS
10843
+ RBadge: hS,
10844
+ RFieldLabel: KS
10747
10845
  },
10748
10846
  props: {
10749
10847
  allowEmpty: {
@@ -10806,6 +10904,14 @@ var kT = (e) => e.reduce((e, t) => [...e, ...t.options || []], []), AT = (e) =>
10806
10904
  type: String,
10807
10905
  default: ""
10808
10906
  },
10907
+ required: {
10908
+ type: Boolean,
10909
+ default: !1
10910
+ },
10911
+ optional: {
10912
+ type: Boolean,
10913
+ default: !1
10914
+ },
10809
10915
  limit: {
10810
10916
  type: Number,
10811
10917
  default: 99999
@@ -11300,12 +11406,12 @@ var kT = (e) => e.reduce((e, t) => [...e, ...t.options || []], []), AT = (e) =>
11300
11406
  });
11301
11407
  }
11302
11408
  }
11303
- }), MT = ["id", "for"], NT = [
11409
+ }), MT = [
11304
11410
  "tabindex",
11305
11411
  "aria-labelledby",
11306
11412
  "aria-owns",
11307
11413
  "aria-expanded"
11308
- ], PT = ["textContent"], FT = { class: "r-select-loading-spinner" }, IT = [
11414
+ ], NT = ["textContent"], PT = { class: "r-select-loading-spinner" }, FT = [
11309
11415
  "id",
11310
11416
  "name",
11311
11417
  "autocomplete",
@@ -11313,32 +11419,44 @@ var kT = (e) => e.reduce((e, t) => [...e, ...t.options || []], []), AT = (e) =>
11313
11419
  "disabled",
11314
11420
  "tabindex",
11315
11421
  "aria-controls"
11316
- ], LT = ["id"], RT = {
11422
+ ], IT = ["id"], LT = {
11317
11423
  key: 0,
11318
11424
  class: "r-select-content-element-option"
11319
- }, zT = {
11425
+ }, RT = {
11320
11426
  key: 1,
11321
11427
  class: "r-select-content-element-option r-align-center r-select-content-element-option-load r-select-content-element-option-load-prev"
11322
- }, BT = { key: 0 }, VT = { class: "r-select-content-element-option" }, HT = ["id", "aria-selected"], UT = ["onClick", "onMouseenter"], WT = {
11428
+ }, zT = { key: 0 }, BT = { class: "r-select-content-element-option" }, VT = ["id", "aria-selected"], HT = ["onClick", "onMouseenter"], UT = {
11323
11429
  key: 0,
11324
11430
  class: "r-select-content-element-option-text r-select-create-tag"
11325
- }, GT = {
11431
+ }, WT = {
11326
11432
  key: 1,
11327
11433
  class: "r-select-content-element-option-text"
11328
- }, KT = { class: "r-select-content-element" }, qT = { class: "r-select-content-element-option" }, JT = { class: "r-select-content-element" }, YT = { class: "r-select-content-element-option" }, XT = {
11434
+ }, GT = { class: "r-select-content-element" }, KT = { class: "r-select-content-element-option" }, qT = { class: "r-select-content-element" }, JT = { class: "r-select-content-element-option" }, YT = {
11329
11435
  key: 0,
11330
11436
  class: "r-select-content-element-option r-align-center r-select-content-element-option-load r-select-content-element-option-load-next"
11331
- }, ZT = ["innerHTML"];
11332
- function QT(t, r, i, l, f, p) {
11333
- let m = P("r-icon"), h = P("r-badge"), g = P("r-button"), _ = P("r-input-errors");
11437
+ }, XT = ["innerHTML"];
11438
+ function ZT(t, r, i, l, f, p) {
11439
+ let m = P("r-field-label"), h = P("r-icon"), g = P("r-badge"), _ = P("r-button"), v = P("r-input-errors");
11334
11440
  return D(), s("div", { class: b(t.classes) }, [
11335
- t.hasLabel ? (D(), s("label", {
11441
+ t.hasLabel ? (D(), a(m, {
11336
11442
  key: 0,
11337
11443
  id: "label-" + t.id,
11338
11444
  for: t.id,
11339
- class: b(["r-field-label", t.labelClasses]),
11340
- onClick: r[0] ||= (...e) => t.activate && t.activate(...e)
11341
- }, I(t.label), 11, MT)) : o("", !0),
11445
+ class: b(t.labelClasses),
11446
+ required: t.required,
11447
+ optional: t.optional,
11448
+ onClick: t.activate
11449
+ }, {
11450
+ default: W(() => [u(I(t.label), 1)]),
11451
+ _: 1
11452
+ }, 8, [
11453
+ "id",
11454
+ "for",
11455
+ "class",
11456
+ "required",
11457
+ "optional",
11458
+ "onClick"
11459
+ ])) : o("", !0),
11342
11460
  c("div", {
11343
11461
  tabindex: t.searchable ? -1 : t.tabindex,
11344
11462
  class: b([{
@@ -11354,69 +11472,69 @@ function QT(t, r, i, l, f, p) {
11354
11472
  "aria-owns": "listbox-" + t.id,
11355
11473
  "aria-haspopup": "listbox",
11356
11474
  "aria-expanded": t.isOpen,
11357
- onFocus: r[23] ||= (e) => t.activate(),
11358
- onBlur: r[24] ||= (e) => !t.searchable && t.deactivate(),
11359
- onKeydown: [r[25] ||= G(K((e) => t.pointerForward(), ["self", "prevent"]), ["down"]), r[26] ||= G(K((e) => t.pointerBackward(), ["self", "prevent"]), ["up"])],
11360
- onKeypress: r[27] ||= G(K((e) => t.addPointerElement(e), ["stop", "self"]), ["enter", "tab"]),
11361
- onKeyup: r[28] ||= G((e) => t.deactivate(), ["esc"])
11475
+ onFocus: r[22] ||= (e) => t.activate(),
11476
+ onBlur: r[23] ||= (e) => !t.searchable && t.deactivate(),
11477
+ onKeydown: [r[24] ||= se(K((e) => t.pointerForward(), ["self", "prevent"]), ["down"]), r[25] ||= se(K((e) => t.pointerBackward(), ["self", "prevent"]), ["up"])],
11478
+ onKeypress: r[26] ||= se(K((e) => t.addPointerElement(e), ["stop", "self"]), ["enter", "tab"]),
11479
+ onKeyup: r[27] ||= se((e) => t.deactivate(), ["esc"])
11362
11480
  }, [
11363
- t.showRemoveIcon ? N(t.$slots, "remove", { remove: t.removeLastElement }, () => [d(m, {
11481
+ t.showRemoveIcon ? N(t.$slots, "remove", { remove: t.removeLastElement }, () => [d(h, {
11364
11482
  icon: "close-s",
11365
11483
  class: "r-select-close",
11366
- onMouseenter: r[1] ||= (e) => t.isHovered = !0,
11367
- onMouseleave: r[2] ||= (e) => t.isHovered = !1,
11484
+ onMouseenter: r[0] ||= (e) => t.isHovered = !0,
11485
+ onMouseleave: r[1] ||= (e) => t.isHovered = !1,
11368
11486
  onMousedown: K(t.removeLastElement, ["prevent", "stop"])
11369
- }, null, 8, ["onMousedown"])], void 0, 0) : N(t.$slots, "caret", { toggle: t.toggle }, () => [d(m, {
11487
+ }, null, 8, ["onMousedown"])], void 0, 0) : N(t.$slots, "caret", { toggle: t.toggle }, () => [d(h, {
11370
11488
  icon: "caret-down",
11371
11489
  class: "r-select-caret",
11372
- onMouseenter: r[3] ||= (e) => t.isHovered = !0,
11373
- onMouseleave: r[4] ||= (e) => t.isHovered = !1,
11374
- onMousedown: r[5] ||= K((e) => t.toggle(), ["prevent", "stop"])
11490
+ onMouseenter: r[2] ||= (e) => t.isHovered = !0,
11491
+ onMouseleave: r[3] ||= (e) => t.isHovered = !1,
11492
+ onMousedown: r[4] ||= K((e) => t.toggle(), ["prevent", "stop"])
11375
11493
  })], void 0, 1),
11376
11494
  N(t.$slots, "clear", { search: t.search }),
11377
11495
  c("div", {
11378
11496
  ref: "tagsElement",
11379
11497
  class: "r-select-tags",
11380
- onMouseenter: r[19] ||= (e) => t.isHovered = !0,
11381
- onMouseleave: r[20] ||= (e) => t.isHovered = !1
11498
+ onMouseenter: r[18] ||= (e) => t.isHovered = !0,
11499
+ onMouseleave: r[19] ||= (e) => t.isHovered = !1
11382
11500
  }, [
11383
11501
  !t.loading || t.visibleValues.length > 0 ? N(t.$slots, "selection", {
11384
11502
  search: t.search,
11385
11503
  remove: t.removeElement,
11386
11504
  values: t.computedValue,
11387
11505
  isOpen: t.isOpen
11388
- }, () => [t.multiple ? W((D(), s("div", {
11506
+ }, () => [t.multiple ? G((D(), s("div", {
11389
11507
  key: 0,
11390
11508
  class: "r-select-tags-wrap",
11391
- onMousedown: r[7] ||= K(() => {}, ["prevent"])
11509
+ onMousedown: r[6] ||= K(() => {}, ["prevent"])
11392
11510
  }, [(D(!0), s(e, null, M(t.computedValue, (e) => N(t.$slots, "tag", {
11393
11511
  option: e,
11394
11512
  search: t.search,
11395
11513
  remove: t.removeElement
11396
- }, () => [d(h, {
11514
+ }, () => [d(g, {
11397
11515
  class: "r-select-tag",
11398
11516
  type: "tag",
11399
11517
  close: !0,
11400
11518
  onClose: (n) => t.removeElement(e)
11401
11519
  }, {
11402
- default: U(() => [c("span", {
11520
+ default: W(() => [c("span", {
11403
11521
  class: "r-select-tag-text",
11404
- onMousedown: r[6] ||= K((e) => t.toggle(), ["prevent"])
11522
+ onMousedown: r[5] ||= K((e) => t.toggle(), ["prevent"])
11405
11523
  }, I(t.getOptionLabel(e)), 33)]),
11406
11524
  _: 2
11407
- }, 1032, ["onClose"])])), 256))], 544)), [[oe, t.visibleValues.length > 0]]) : o("", !0), t.internalValue && t.internalValue.length > t.limit ? N(t.$slots, "limit", {}, () => [c("strong", {
11525
+ }, 1032, ["onClose"])])), 256))], 544)), [[H, t.visibleValues.length > 0]]) : o("", !0), t.internalValue && t.internalValue.length > t.limit ? N(t.$slots, "limit", {}, () => [c("strong", {
11408
11526
  class: "r-select-limit",
11409
11527
  textContent: I(t.limitText(t.internalValue.length - t.limit))
11410
- }, null, 8, PT)], void 0, 1) : o("", !0)], void 0, 0) : o("", !0),
11528
+ }, null, 8, NT)], void 0, 1) : o("", !0)], void 0, 0) : o("", !0),
11411
11529
  d(n, { name: "r-select-loading" }, {
11412
- default: U(() => [N(t.$slots, "loading", {}, () => [W(c("div", FT, null, 512), [[oe, t.loading]])])]),
11530
+ default: W(() => [N(t.$slots, "loading", {}, () => [G(c("div", PT, null, 512), [[H, t.loading]])])]),
11413
11531
  _: 3
11414
11532
  }),
11415
- t.searchable ? W((D(), s("input", {
11533
+ t.searchable ? G((D(), s("input", {
11416
11534
  key: 1,
11417
11535
  id: t.id,
11418
11536
  ref: "searchElement",
11419
- "onUpdate:modelValue": r[8] ||= (e) => t.search = e,
11537
+ "onUpdate:modelValue": r[7] ||= (e) => t.search = e,
11420
11538
  name: t.name,
11421
11539
  type: "text",
11422
11540
  autocomplete: t.autocomplete,
@@ -11428,47 +11546,47 @@ function QT(t, r, i, l, f, p) {
11428
11546
  class: "r-select-input",
11429
11547
  "aria-autocomplete": "list",
11430
11548
  "aria-controls": "listbox-" + t.id,
11431
- "on:update:modelValue": r[9] ||= (...e) => t.updateSearch && t.updateSearch(...e),
11432
- onFocus: r[10] ||= K((e) => t.activate(), ["prevent"]),
11433
- onBlur: r[11] ||= K((e) => t.deactivate(), ["prevent"]),
11434
- onKeyup: r[12] ||= G((e) => t.deactivate(), ["esc"]),
11549
+ "on:update:modelValue": r[8] ||= (...e) => t.updateSearch && t.updateSearch(...e),
11550
+ onFocus: r[9] ||= K((e) => t.activate(), ["prevent"]),
11551
+ onBlur: r[10] ||= K((e) => t.deactivate(), ["prevent"]),
11552
+ onKeyup: r[11] ||= se((e) => t.deactivate(), ["esc"]),
11435
11553
  onKeydown: [
11436
- r[13] ||= G(K((e) => t.pointerForward(), ["prevent"]), ["down"]),
11437
- r[14] ||= G(K((e) => t.pointerBackward(), ["prevent"]), ["up"]),
11438
- r[16] ||= G(K((e) => t.removeLastElement(), ["stop"]), ["delete"])
11554
+ r[12] ||= se(K((e) => t.pointerForward(), ["prevent"]), ["down"]),
11555
+ r[13] ||= se(K((e) => t.pointerBackward(), ["prevent"]), ["up"]),
11556
+ r[15] ||= se(K((e) => t.removeLastElement(), ["stop"]), ["delete"])
11439
11557
  ],
11440
- onKeypress: r[15] ||= G(K((e) => t.addPointerElement(e), [
11558
+ onKeypress: r[14] ||= se(K((e) => t.addPointerElement(e), [
11441
11559
  "prevent",
11442
11560
  "stop",
11443
11561
  "self"
11444
11562
  ]), ["enter"])
11445
- }, null, 44, IT)), [[V, t.search]]) : o("", !0),
11563
+ }, null, 44, FT)), [[V, t.search]]) : o("", !0),
11446
11564
  t.isSingleLabelVisible && !t.loading ? (D(), s("span", {
11447
11565
  key: 2,
11448
11566
  class: "r-select-single",
11449
- onMousedown: r[17] ||= K((...e) => t.toggle && t.toggle(...e), ["prevent"])
11567
+ onMousedown: r[16] ||= K((...e) => t.toggle && t.toggle(...e), ["prevent"])
11450
11568
  }, [N(t.$slots, "singleLabel", { option: t.singleValue }, () => [t.displayAsyncLoadingForPreselectedValue ? (D(), s(e, { key: 0 }, [u(I(t.messages.loading), 1)], 64)) : (D(), s(e, { key: 1 }, [u(I(t.currentOptionLabel), 1)], 64))])], 32)) : o("", !0),
11451
11569
  t.shouldShowPlaceholder ? (D(), s("span", {
11452
11570
  key: 3,
11453
11571
  class: "r-select-placeholder",
11454
- onMousedown: r[18] ||= K((...e) => t.toggle && t.toggle(...e), ["prevent"])
11572
+ onMousedown: r[17] ||= K((...e) => t.toggle && t.toggle(...e), ["prevent"])
11455
11573
  }, [N(t.$slots, "placeholder", {}, () => [u(I(t.computedPlaceholder), 1)])], 32)) : o("", !0)
11456
11574
  ], 544),
11457
11575
  d(n, { name: "r-select" }, {
11458
- default: U(() => [W(c("div", {
11576
+ default: W(() => [G(c("div", {
11459
11577
  ref: "listElement",
11460
11578
  class: "r-select-content-wrapper",
11461
11579
  tabindex: "-1",
11462
11580
  style: S({ maxHeight: t.optimizedHeight + "px" }),
11463
- onFocus: r[21] ||= (...e) => t.activate && t.activate(...e),
11464
- onMousedown: r[22] ||= K(() => {}, ["prevent"])
11581
+ onFocus: r[20] ||= (...e) => t.activate && t.activate(...e),
11582
+ onMousedown: r[21] ||= K(() => {}, ["prevent"])
11465
11583
  }, [c("ul", {
11466
11584
  id: "listbox-" + t.id,
11467
11585
  class: "r-select-content",
11468
11586
  style: S(t.contentStyle),
11469
11587
  role: "listbox"
11470
11588
  }, [
11471
- N(t.$slots, "beforeList", {}, () => [t.computedIsLoading ? (D(), s("span", RT, I(t.messages.loading), 1)) : o("", !0), t.computedAsyncHasPrevOptions ? (D(), s("li", zT, [d(g, {
11589
+ N(t.$slots, "beforeList", {}, () => [t.computedIsLoading ? (D(), s("span", LT, I(t.messages.loading), 1)) : o("", !0), t.computedAsyncHasPrevOptions ? (D(), s("li", RT, [d(_, {
11472
11590
  type: "default",
11473
11591
  size: "small",
11474
11592
  disabled: t.computedIsLoading,
@@ -11476,10 +11594,10 @@ function QT(t, r, i, l, f, p) {
11476
11594
  "icon-right": "caret-up",
11477
11595
  onClick: t.handleAsyncLoadPrev
11478
11596
  }, {
11479
- default: U(() => [...r[29] ||= [u(" Get prev ", -1)]]),
11597
+ default: W(() => [...r[28] ||= [u(" Get prev ", -1)]]),
11480
11598
  _: 1
11481
11599
  }, 8, ["disabled", "onClick"])])) : o("", !0)]),
11482
- t.multiple && t.max === t.internalValue.length ? (D(), s("li", BT, [c("span", VT, [N(t.$slots, "maxElements", {}, () => [u(I(t.messages.max(t.max)), 1)])])])) : o("", !0),
11600
+ t.multiple && t.max === t.internalValue.length ? (D(), s("li", zT, [c("span", BT, [N(t.$slots, "maxElements", {}, () => [u(I(t.messages.max(t.max)), 1)])])])) : o("", !0),
11483
11601
  (D(!0), s(e, null, M(t.filteredOptions, (e, n) => (D(), s("li", {
11484
11602
  id: t.id + "-" + n,
11485
11603
  key: n,
@@ -11493,13 +11611,13 @@ function QT(t, r, i, l, f, p) {
11493
11611
  }, [N(t.$slots, "option", {
11494
11612
  option: e,
11495
11613
  search: t.search
11496
- }, () => [t.taggable && typeof e == "object" && e.isTag ? (D(), s("span", WT, [d(m, { icon: "plus" }), u(" Create tag \"" + I(e.label) + "\" ", 1)])) : (D(), s("span", GT, [u(I(t.getOptionLabel(e)) + " ", 1), t.isSelected(e) ? (D(), a(m, {
11614
+ }, () => [t.taggable && typeof e == "object" && e.isTag ? (D(), s("span", UT, [d(h, { icon: "plus" }), u(" Create tag \"" + I(e.label) + "\" ", 1)])) : (D(), s("span", WT, [u(I(t.getOptionLabel(e)) + " ", 1), t.isSelected(e) ? (D(), a(h, {
11497
11615
  key: 0,
11498
11616
  icon: "check-s"
11499
- })) : o("", !0)]))])], 42, UT)], 8, HT))), 128)),
11500
- W(c("li", KT, [c("span", qT, [N(t.$slots, "noResult", { search: t.search }, () => [u(I(t.messages.noResult), 1)])])], 512), [[oe, t.displayNoResultsMessage]]),
11501
- W(c("li", JT, [c("span", YT, [N(t.$slots, "noOptions", {}, () => [u(I(t.computedNoOptionsMessage), 1)])])], 512), [[oe, t.showNoOptions && t.computedOptions.length === 0 && !t.search && !t.loading && !t.computedIsLoading]]),
11502
- N(t.$slots, "afterList", {}, () => [t.computedAsyncHasNextOptions ? (D(), s("li", XT, [d(g, {
11617
+ })) : o("", !0)]))])], 42, HT)], 8, VT))), 128)),
11618
+ G(c("li", GT, [c("span", KT, [N(t.$slots, "noResult", { search: t.search }, () => [u(I(t.messages.noResult), 1)])])], 512), [[H, t.displayNoResultsMessage]]),
11619
+ G(c("li", qT, [c("span", JT, [N(t.$slots, "noOptions", {}, () => [u(I(t.computedNoOptionsMessage), 1)])])], 512), [[H, t.showNoOptions && t.computedOptions.length === 0 && !t.search && !t.loading && !t.computedIsLoading]]),
11620
+ N(t.$slots, "afterList", {}, () => [t.computedAsyncHasNextOptions ? (D(), s("li", YT, [d(_, {
11503
11621
  type: "default",
11504
11622
  size: "small",
11505
11623
  disabled: t.computedIsLoading,
@@ -11507,25 +11625,25 @@ function QT(t, r, i, l, f, p) {
11507
11625
  "icon-right": "caret-down",
11508
11626
  onClick: t.handleAsyncLoadNext
11509
11627
  }, {
11510
- default: U(() => [...r[30] ||= [u(" Load more... ", -1)]]),
11628
+ default: W(() => [...r[29] ||= [u(" Load more... ", -1)]]),
11511
11629
  _: 1
11512
11630
  }, 8, ["disabled", "onClick"])])) : o("", !0)])
11513
- ], 12, LT)], 36), [[oe, t.isOpen && t.hasContent]])]),
11631
+ ], 12, IT)], 36), [[H, t.isOpen && t.hasContent]])]),
11514
11632
  _: 3
11515
11633
  })
11516
- ], 42, NT),
11634
+ ], 42, MT),
11517
11635
  t.helpText ? (D(), s("span", {
11518
11636
  key: 1,
11519
11637
  class: "r-field-caption",
11520
11638
  innerHTML: t.helpText
11521
- }, null, 8, ZT)) : o("", !0),
11522
- d(_, {
11639
+ }, null, 8, XT)) : o("", !0),
11640
+ d(v, {
11523
11641
  validate: t.validate,
11524
11642
  "show-validate-messages": t.showValidateMessages
11525
11643
  }, null, 8, ["validate", "show-validate-messages"])
11526
11644
  ], 2);
11527
11645
  }
11528
- var $T = /*#__PURE__*/ ww(jT, [["render", QT]]), eE = f({
11646
+ var QT = /*#__PURE__*/ Ew(jT, [["render", ZT]]), $T = f({
11529
11647
  name: "RTab",
11530
11648
  props: {
11531
11649
  name: {
@@ -11564,13 +11682,13 @@ var $T = /*#__PURE__*/ ww(jT, [["render", QT]]), eE = f({
11564
11682
  },
11565
11683
  setup(e) {
11566
11684
  let t = h("addItemToTabsList"), n = h("removeItemFromTabsList"), r = h("visibleTabs"), a = h("tabsLazy"), { name: o, panelId: s, hidden: c, active: l, value: u } = R(e), d = te(e.to);
11567
- H(() => JSON.stringify(e.to), () => {
11685
+ U(() => JSON.stringify(e.to), () => {
11568
11686
  d.value = e.to;
11569
11687
  });
11570
11688
  let f = e.validate.map((e) => _S(() => e)), p = i(() => f.map((e) => e.validateErrorMessages.value).reduce((e, t) => e.concat(t), [])), m = i(() => f.some((e) => e.isInvalid.value)), g = i(() => s.value || eS()), _ = i(() => `tab-${g.value}`), v = i(() => {
11571
11689
  if (r) return r.value.find(({ tabId: e }) => e === _.value)?.isActive;
11572
11690
  }), y = i(() => `tabpanel-${g.value}`), b = i(() => e.lazy ?? a?.value ?? !0), x = A(e.active);
11573
- H(v, (e) => {
11691
+ U(v, (e) => {
11574
11692
  e && (x.value = !0);
11575
11693
  });
11576
11694
  let S = A(l.value);
@@ -11602,21 +11720,21 @@ var $T = /*#__PURE__*/ ww(jT, [["render", QT]]), eE = f({
11602
11720
  created() {
11603
11721
  this.addItemToTabsList();
11604
11722
  }
11605
- }), tE = ["id", "aria-labelledby"], nE = ["id", "aria-labelledby"];
11606
- function rE(t, n, r, i, a, c) {
11607
- return t.resolvedLazy ? (D(), s(e, { key: 0 }, [t.$slots.default && t.hasBeenVisited ? W((D(), s("div", {
11723
+ }), eE = ["id", "aria-labelledby"], tE = ["id", "aria-labelledby"];
11724
+ function nE(t, n, r, i, a, c) {
11725
+ return t.resolvedLazy ? (D(), s(e, { key: 0 }, [t.$slots.default && t.hasBeenVisited ? G((D(), s("div", {
11608
11726
  key: 0,
11609
11727
  id: t.tabPanelId,
11610
11728
  role: "tabpanel",
11611
11729
  "aria-labelledby": t.tabId
11612
- }, [N(t.$slots, "default", {}, () => [n[0] ||= u("Default tab content", -1)])], 8, tE)), [[oe, t.shouldShowThisTab]]) : o("", !0)], 64)) : W((D(), s("div", {
11730
+ }, [N(t.$slots, "default", {}, () => [n[0] ||= u("Default tab content", -1)])], 8, eE)), [[H, t.shouldShowThisTab]]) : o("", !0)], 64)) : G((D(), s("div", {
11613
11731
  key: 1,
11614
11732
  id: t.tabPanelId,
11615
11733
  role: "tabpanel",
11616
11734
  "aria-labelledby": t.tabId
11617
- }, [N(t.$slots, "default", {}, () => [n[1] ||= u("Default tab content", -1)])], 8, nE)), [[oe, t.$slots.default && t.shouldShowThisTab]]);
11735
+ }, [N(t.$slots, "default", {}, () => [n[1] ||= u("Default tab content", -1)])], 8, tE)), [[H, t.$slots.default && t.shouldShowThisTab]]);
11618
11736
  }
11619
- var iE = /*#__PURE__*/ ww(eE, [["render", rE]]), aE = f({
11737
+ var rE = /*#__PURE__*/ Ew($T, [["render", nE]]), iE = f({
11620
11738
  name: "RTabs",
11621
11739
  components: {},
11622
11740
  directives: { tooltip: nS },
@@ -11755,25 +11873,25 @@ var iE = /*#__PURE__*/ ww(eE, [["render", rE]]), aE = f({
11755
11873
  this.selectTab(this.visibleTabs[this.preselectedTab]);
11756
11874
  }
11757
11875
  }
11758
- }), oE = [
11876
+ }), aE = [
11759
11877
  "id",
11760
11878
  "to",
11761
11879
  "aria-selected",
11762
11880
  "aria-controls",
11763
11881
  "onClick"
11764
- ], sE = [
11882
+ ], oE = [
11765
11883
  "id",
11766
11884
  "aria-selected",
11767
11885
  "aria-controls",
11768
11886
  "onClick"
11769
11887
  ];
11770
- function cE(t, n, r, i, a, o) {
11888
+ function sE(t, n, r, i, a, o) {
11771
11889
  let l = F("tooltip");
11772
11890
  return D(), s("div", null, [c("div", {
11773
11891
  ref: "tablistRef",
11774
11892
  class: b(["r-tab", [{ "r-tab-divided": t.divided }, t.menuClass]]),
11775
11893
  role: "tablist"
11776
- }, [(D(!0), s(e, null, M(t.visibleTabs, (e, n) => W((D(), s("div", {
11894
+ }, [(D(!0), s(e, null, M(t.visibleTabs, (e, n) => G((D(), s("div", {
11777
11895
  key: e.tabId,
11778
11896
  class: "r-tab-item"
11779
11897
  }, [e.to ? (D(), s("button", {
@@ -11794,7 +11912,7 @@ function cE(t, n, r, i, a, o) {
11794
11912
  }, [N(t.$slots, "label", {
11795
11913
  tab: e,
11796
11914
  index: n
11797
- }, () => [u(I(t.getTabName(e, n)), 1)])], 10, oE)) : (D(), s("button", {
11915
+ }, () => [u(I(t.getTabName(e, n)), 1)])], 10, aE)) : (D(), s("button", {
11798
11916
  key: 1,
11799
11917
  id: e.tabId,
11800
11918
  ref_for: !0,
@@ -11811,21 +11929,21 @@ function cE(t, n, r, i, a, o) {
11811
11929
  }, [N(t.$slots, "label", {
11812
11930
  tab: e,
11813
11931
  index: n
11814
- }, () => [u(I(t.getTabName(e, n)), 1)])], 10, sE))])), [[l, { text: e.isInvalid && t.showValidateMessages ? e.validateErrorMessages.join("\n") : null }]])), 128)), W(c("div", {
11932
+ }, () => [u(I(t.getTabName(e, n)), 1)])], 10, oE))])), [[l, { text: e.isInvalid && t.showValidateMessages ? e.validateErrorMessages.join("\n") : null }]])), 128)), G(c("div", {
11815
11933
  class: b(["r-tab-item-indicator", { "r-is-error": t.isInvalidTab }]),
11816
11934
  style: S({
11817
11935
  width: t.visibleTabIndicatorWidth + "px",
11818
11936
  left: t.visibleTabIndicatorPosition + "px"
11819
11937
  })
11820
- }, null, 6), [[oe, t.isIndicatorReady]])], 2), c("div", { class: b(["r-tab-content", t.contentClass]) }, [N(t.$slots, "default")], 2)]);
11938
+ }, null, 6), [[H, t.isIndicatorReady]])], 2), c("div", { class: b(["r-tab-content", t.contentClass]) }, [N(t.$slots, "default")], 2)]);
11821
11939
  }
11822
- var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11940
+ var cE = /*#__PURE__*/ Ew(iE, [["render", sE]]), lE = {
11823
11941
  key: 0,
11824
11942
  class: "r-tile-title"
11825
- }, dE = { key: 0 }, fE = {
11943
+ }, uE = { key: 0 }, dE = {
11826
11944
  key: 1,
11827
11945
  class: "r-tile-title-actions r-flex-none"
11828
- }, pE = /* @__PURE__ */ f({
11946
+ }, fE = /* @__PURE__ */ f({
11829
11947
  __name: "r-tile",
11830
11948
  props: {
11831
11949
  type: { default: "default" },
@@ -11838,15 +11956,15 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11838
11956
  [`is-inset-${t.inset}`]: !0,
11839
11957
  "is-header-only": !(!t.title && !n.actions || n.default)
11840
11958
  }));
11841
- return (t, i) => (D(), s("div", { class: b(["r-tile", r.value]) }, [e.title || z(n).actions ? (D(), s("div", uE, [e.title ? (D(), s("h2", dE, I(e.title), 1)) : o("", !0), z(n).actions ? (D(), s("div", fE, [N(t.$slots, "actions")])) : o("", !0)])) : o("", !0), N(t.$slots, "default")], 2));
11959
+ return (t, i) => (D(), s("div", { class: b(["r-tile", r.value]) }, [e.title || z(n).actions ? (D(), s("div", lE, [e.title ? (D(), s("h2", uE, I(e.title), 1)) : o("", !0), z(n).actions ? (D(), s("div", dE, [N(t.$slots, "actions")])) : o("", !0)])) : o("", !0), N(t.$slots, "default")], 2));
11842
11960
  }
11843
- }), mE = {
11961
+ }), pE = {
11844
11962
  key: 0,
11845
11963
  class: "r-tile-content-title"
11846
- }, hE = { key: 0 }, gE = {
11964
+ }, mE = { key: 0 }, hE = {
11847
11965
  key: 1,
11848
11966
  class: "r-tile-content-title-actions r-flex-none"
11849
- }, _E = /* @__PURE__ */ f({
11967
+ }, gE = /* @__PURE__ */ f({
11850
11968
  __name: "r-tile-content",
11851
11969
  props: {
11852
11970
  type: { default: "primary" },
@@ -11857,19 +11975,19 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11857
11975
  [`is-${t.type}`]: !0,
11858
11976
  "is-header-only": !(!t.title && !n.actions || n.default)
11859
11977
  }));
11860
- return (t, i) => (D(), s("div", { class: b(["r-tile-content", r.value]) }, [e.title || z(n).actions ? (D(), s("div", mE, [e.title ? (D(), s("h3", hE, I(e.title), 1)) : o("", !0), z(n).actions ? (D(), s("div", gE, [N(t.$slots, "actions")])) : o("", !0)])) : o("", !0), N(t.$slots, "default")], 2));
11978
+ return (t, i) => (D(), s("div", { class: b(["r-tile-content", r.value]) }, [e.title || z(n).actions ? (D(), s("div", pE, [e.title ? (D(), s("h3", mE, I(e.title), 1)) : o("", !0), z(n).actions ? (D(), s("div", hE, [N(t.$slots, "actions")])) : o("", !0)])) : o("", !0), N(t.$slots, "default")], 2));
11861
11979
  }
11862
- }), vE = {
11980
+ }), _E = {
11863
11981
  key: 0,
11864
11982
  class: "r-toast-title"
11865
- }, yE = { class: "r-toast-close" }, bE = {
11983
+ }, vE = { class: "r-toast-close" }, yE = {
11866
11984
  class: "r-toast-message",
11867
11985
  "data-cy": "Toast Message"
11868
- }, xE = {
11986
+ }, bE = {
11869
11987
  key: 1,
11870
11988
  class: "r-toast-message",
11871
11989
  "data-cy": "Toast Message"
11872
- }, SE = /* @__PURE__ */ f({
11990
+ }, xE = /* @__PURE__ */ f({
11873
11991
  __name: "r-toast",
11874
11992
  props: {
11875
11993
  type: { default: "positive" },
@@ -11922,7 +12040,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11922
12040
  function _() {
11923
12041
  h(), r.isVisible = !1, u("hide");
11924
12042
  }
11925
- return H(() => n.visible, (e) => {
12043
+ return U(() => n.visible, (e) => {
11926
12044
  r.isVisible = e;
11927
12045
  }), C(() => {
11928
12046
  p();
@@ -11938,24 +12056,24 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11938
12056
  onMouseenter: h,
11939
12057
  onMouseleave: m
11940
12058
  }, [
11941
- e.title ? (D(), s("div", vE, [c("span", null, I(e.title), 1)])) : o("", !0),
11942
- c("div", yE, [e.allowClose ? (D(), a(i, {
12059
+ e.title ? (D(), s("div", _E, [c("span", null, I(e.title), 1)])) : o("", !0),
12060
+ c("div", vE, [e.allowClose ? (D(), a(i, {
11943
12061
  key: 0,
11944
12062
  "aria-hidden": "true",
11945
12063
  color: "text",
11946
12064
  icon: "close-s",
11947
12065
  onClick: _
11948
12066
  })) : o("", !0)]),
11949
- c("div", bE, [f.value ? (D(), a(ee(f.value), { key: 0 })) : e.message ? (D(), s("span", xE, I(e.message), 1)) : o("", !0)])
12067
+ c("div", yE, [f.value ? (D(), a(ee(f.value), { key: 0 })) : e.message ? (D(), s("span", bE, I(e.message), 1)) : o("", !0)])
11950
12068
  ], 34)) : o("", !0);
11951
12069
  };
11952
12070
  }
11953
- }), CE = ["aria-checked"], wE = ["for"], TE = [
12071
+ }), SE = ["aria-checked"], CE = ["for"], wE = [
11954
12072
  "id",
11955
12073
  "disabled",
11956
12074
  "value",
11957
12075
  "checked"
11958
- ], EE = ["for"], DE = /* @__PURE__ */ f({
12076
+ ], TE = ["for"], EE = /* @__PURE__ */ f({
11959
12077
  __name: "r-toggle",
11960
12078
  props: {
11961
12079
  label: { default: null },
@@ -11990,13 +12108,13 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
11990
12108
  value: e.modelValue,
11991
12109
  checked: e.modelValue,
11992
12110
  onChange: r
11993
- }, null, 40, TE), n[0] ||= c("span", { class: "r-toggle-switch-handle" }, null, -1)], 8, wE), e.label ? (D(), s("label", {
12111
+ }, null, 40, wE), n[0] ||= c("span", { class: "r-toggle-switch-handle" }, null, -1)], 8, CE), e.label ? (D(), s("label", {
11994
12112
  key: 0,
11995
12113
  class: "r-toggle-label",
11996
12114
  for: e.name
11997
- }, I(e.label), 9, EE)) : o("", !0)], 8, CE));
12115
+ }, I(e.label), 9, TE)) : o("", !0)], 8, SE));
11998
12116
  }
11999
- }), OE = { class: "r-step-title" }, kE = { class: "r-step-title-text" }, AE = { class: "r-step-icon" }, jE = /* @__PURE__ */ f({
12117
+ }), DE = { class: "r-step-title" }, OE = { class: "r-step-title-text" }, kE = { class: "r-step-icon" }, AE = /* @__PURE__ */ f({
12000
12118
  __name: "r-step",
12001
12119
  props: {
12002
12120
  index: {},
@@ -12014,12 +12132,12 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12014
12132
  return (n, r) => (D(), s("div", { class: b(["r-step", {
12015
12133
  "is-active": e.active,
12016
12134
  "is-completed": e.completed
12017
- }]) }, [c("div", OE, [c("span", kE, [c("span", AE, [d(Q, { icon: "check-s" })]), N(n.$slots, "title", {}, () => [u(I(z(Qx)(e.index)), 1)])]), r[0] ||= c("div", { class: "r-step-indicator" }, null, -1)]), e.active && e.teleport ? (D(), a(t, {
12135
+ }]) }, [c("div", DE, [c("span", OE, [c("span", kE, [d(Q, { icon: "check-s" })]), N(n.$slots, "title", {}, () => [u(I(z(Qx)(e.index)), 1)])]), r[0] ||= c("div", { class: "r-step-indicator" }, null, -1)]), e.active && e.teleport ? (D(), a(t, {
12018
12136
  key: 0,
12019
12137
  to: e.teleport
12020
12138
  }, [N(n.$slots, "content")], 8, ["to"])) : o("", !0)], 2));
12021
12139
  }
12022
- }), ME = { class: "r-multistep" }, NE = { class: "r-multistep-tabs" }, PE = /* @__PURE__ */ f({
12140
+ }), jE = { class: "r-multistep" }, ME = { class: "r-multistep-tabs" }, NE = /* @__PURE__ */ f({
12023
12141
  __name: "r-multistep",
12024
12142
  props: {
12025
12143
  current: { default: void 0 },
@@ -12039,7 +12157,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12039
12157
  }
12040
12158
  }), g = ie(), _ = () => {
12041
12159
  let e = g.default ? g.default() : [];
12042
- e = e.filter((e) => e.type === jE);
12160
+ e = e.filter((e) => e.type === AE);
12043
12161
  let t = [], n = e.map((e) => {
12044
12162
  let n = e.props?.index;
12045
12163
  if (t.includes(n)) throw Error(`Duplicate step index found: "${n}". Step indexes must be unique.`);
@@ -12073,52 +12191,53 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12073
12191
  hasPrevStep: y,
12074
12192
  nextStep: b,
12075
12193
  prevStep: x
12076
- }), (e, t) => (D(), s("div", ME, [c("div", NE, [(D(), a(ee(_)))]), c("div", {
12194
+ }), (e, t) => (D(), s("div", jE, [c("div", ME, [(D(), a(ee(_)))]), c("div", {
12077
12195
  ref_key: "content",
12078
12196
  ref: u,
12079
12197
  class: "r-multistep-content"
12080
12198
  }, null, 512)]));
12081
12199
  }
12082
- }), FE = /* @__PURE__ */ _e({
12200
+ }), PE = /* @__PURE__ */ _e({
12083
12201
  RAlert: () => Wb,
12084
12202
  RAvatar: () => pS,
12085
12203
  RBadge: () => hS,
12086
12204
  RButton: () => Bb,
12087
12205
  RButtonGroup: () => gS,
12088
12206
  RCheckbox: () => CS,
12089
- RDateInput: () => GS,
12090
- RDateRange: () => UC,
12091
- RFieldGroup: () => Ow,
12092
- RFileDropzone: () => _w,
12093
- RFileUpload: () => yw,
12094
- RFlex: () => bw,
12095
- RFlexItem: () => xw,
12096
- RGrid: () => Sw,
12097
- RGridCell: () => Cw,
12207
+ RDateInput: () => JS,
12208
+ RDateRange: () => GC,
12209
+ RFieldGroup: () => Aw,
12210
+ RFieldLabel: () => KS,
12211
+ RFileDropzone: () => yw,
12212
+ RFileUpload: () => xw,
12213
+ RFlex: () => Sw,
12214
+ RFlexItem: () => Cw,
12215
+ RGrid: () => ww,
12216
+ RGridCell: () => Tw,
12098
12217
  RIcon: () => Q,
12099
12218
  RImg: () => sS,
12100
- RInput: () => zw,
12219
+ RInput: () => Bw,
12101
12220
  RInputErrors: () => HS,
12102
- RLoader: () => Vw,
12103
- RModal: () => Xw,
12221
+ RLoader: () => Hw,
12222
+ RModal: () => Zw,
12104
12223
  RMonthPicker: () => uT,
12105
- RMultistep: () => PE,
12224
+ RMultistep: () => NE,
12106
12225
  RPagination: () => mT,
12107
12226
  RPaginationControl: () => pT,
12108
- RPopper: () => qS,
12227
+ RPopper: () => XS,
12109
12228
  RRadio: () => bT,
12110
12229
  RRepeater: () => CT,
12111
- RSelect: () => $T,
12112
- RStep: () => jE,
12113
- RTab: () => iE,
12114
- RTabs: () => lE,
12115
- RTile: () => pE,
12116
- RTileContent: () => _E,
12117
- RToast: () => SE,
12118
- RToggle: () => DE
12119
- }), IE = /* @__PURE__ */ function(e) {
12230
+ RSelect: () => QT,
12231
+ RStep: () => AE,
12232
+ RTab: () => rE,
12233
+ RTabs: () => cE,
12234
+ RTile: () => fE,
12235
+ RTileContent: () => gE,
12236
+ RToast: () => xE,
12237
+ RToggle: () => EE
12238
+ }), FE = /* @__PURE__ */ function(e) {
12120
12239
  return e.Positive = "positive", e.Negative = "negative", e.Warning = "warning", e.Info = "info", e;
12121
- }({}), LE = class {
12240
+ }({}), IE = class {
12122
12241
  static parseError(e, t = "Something went wrong, please try again or contact support") {
12123
12242
  let n = [];
12124
12243
  if (e && e.name === "RebillyMfaRequiredError") return n;
@@ -12148,7 +12267,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12148
12267
  else e && e.name === "RebillyAppError" && e.message && n.push(e.message);
12149
12268
  return n.length ? n : [t];
12150
12269
  }
12151
- }, RE = (e, t) => ({
12270
+ }, LE = (e, t) => ({
12152
12271
  show(n) {
12153
12272
  let r;
12154
12273
  typeof n == "string" && (r = n);
@@ -12156,244 +12275,244 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12156
12275
  message: r,
12157
12276
  ...t,
12158
12277
  ...typeof n == "object" && n
12159
- }, a = m(SE, i);
12278
+ }, a = m(xE, i);
12160
12279
  return e && e._context && (a.appContext = e._context), j(a, document.createElement("div"));
12161
12280
  },
12162
12281
  positive(e, t = {}) {
12163
12282
  return this.show({
12164
12283
  message: e,
12165
- type: IE.Positive,
12284
+ type: FE.Positive,
12166
12285
  ...t
12167
12286
  });
12168
12287
  },
12169
12288
  negative(e, t = {}) {
12170
12289
  return this.show({
12171
12290
  message: e,
12172
- type: IE.Negative,
12291
+ type: FE.Negative,
12173
12292
  ...t
12174
12293
  });
12175
12294
  },
12176
12295
  info(e, t = {}) {
12177
12296
  return this.show({
12178
12297
  message: e,
12179
- type: IE.Info,
12298
+ type: FE.Info,
12180
12299
  ...t
12181
12300
  });
12182
12301
  },
12183
12302
  warning(e, t = {}) {
12184
12303
  return this.show({
12185
12304
  message: e,
12186
- type: IE.Warning,
12305
+ type: FE.Warning,
12187
12306
  ...t
12188
12307
  });
12189
12308
  },
12190
12309
  fromError(e, n, r = {}) {
12191
- let i = t?.ErrorHandler ? t.ErrorHandler : LE;
12310
+ let i = t?.ErrorHandler ? t.ErrorHandler : IE;
12192
12311
  if (!i.parseError || typeof i.parseError != "function") throw Error("No 'parseError' method is found in the error handler object");
12193
12312
  i.parseError(e, n).forEach((e) => this.negative(e, r));
12194
12313
  }
12195
- }), zE = /* @__PURE__ */ _e({
12196
- RBackground: () => fO,
12197
- RBackgroundHover: () => pO,
12198
- RBorder: () => ek,
12199
- RBorderDanger: () => lk,
12200
- RBorderDisabled: () => ik,
12201
- RBorderInfo: () => uk,
12202
- RBorderInverse: () => ak,
12203
- RBorderMuted: () => tk,
12204
- RBorderPrimary: () => ok,
12205
- RBorderRadius1: () => BE,
12206
- RBorderRadius2: () => VE,
12207
- RBorderRadius3: () => HE,
12208
- RBorderRadius4: () => UE,
12314
+ }), RE = /* @__PURE__ */ _e({
12315
+ RBackground: () => dO,
12316
+ RBackgroundHover: () => fO,
12317
+ RBorder: () => $O,
12318
+ RBorderDanger: () => ck,
12319
+ RBorderDisabled: () => rk,
12320
+ RBorderInfo: () => lk,
12321
+ RBorderInverse: () => ik,
12322
+ RBorderMuted: () => ek,
12323
+ RBorderPrimary: () => ak,
12324
+ RBorderRadius1: () => zE,
12325
+ RBorderRadius2: () => BE,
12326
+ RBorderRadius3: () => VE,
12327
+ RBorderRadius4: () => HE,
12209
12328
  RBorderRadiusCircle: () => "50%",
12210
- RBorderRadiusPill: () => WE,
12211
- RBorderStrong: () => nk,
12212
- RBorderStronger: () => rk,
12213
- RBorderSuccess: () => sk,
12214
- RBorderWarning: () => ck,
12215
- RBreakpointsL: () => JE,
12216
- RBreakpointsM: () => qE,
12217
- RBreakpointsS: () => KE,
12218
- RBreakpointsXl: () => YE,
12219
- RBreakpointsXs: () => GE,
12220
- RColorDanger100: () => WD,
12221
- RColorDanger200: () => GD,
12222
- RColorDanger300: () => KD,
12223
- RColorDanger400: () => qD,
12224
- RColorDanger50: () => UD,
12225
- RColorDanger500: () => JD,
12226
- RColorDanger600: () => YD,
12227
- RColorDanger700: () => XD,
12228
- RColorDanger800: () => ZD,
12229
- RColorDanger900: () => QD,
12230
- RColorInfo100: () => eO,
12231
- RColorInfo200: () => tO,
12232
- RColorInfo300: () => nO,
12233
- RColorInfo400: () => rO,
12234
- RColorInfo50: () => $D,
12235
- RColorInfo500: () => iO,
12236
- RColorInfo600: () => aO,
12237
- RColorInfo700: () => oO,
12238
- RColorInfo800: () => sO,
12239
- RColorInfo900: () => cO,
12240
- RColorNeutral0: () => XE,
12241
- RColorNeutral100: () => QE,
12242
- RColorNeutral150: () => $E,
12243
- RColorNeutral200: () => eD,
12244
- RColorNeutral250: () => tD,
12245
- RColorNeutral300: () => nD,
12246
- RColorNeutral350: () => rD,
12247
- RColorNeutral400: () => iD,
12248
- RColorNeutral50: () => ZE,
12249
- RColorNeutral500: () => aD,
12250
- RColorNeutral600: () => oD,
12251
- RColorNeutral650: () => sD,
12252
- RColorNeutral700: () => cD,
12253
- RColorNeutral750: () => lD,
12254
- RColorNeutral800: () => uD,
12255
- RColorNeutral850: () => dD,
12256
- RColorNeutral900: () => fD,
12257
- RColorPrimary100: () => mD,
12258
- RColorPrimary200: () => hD,
12259
- RColorPrimary300: () => gD,
12260
- RColorPrimary400: () => _D,
12261
- RColorPrimary50: () => pD,
12262
- RColorPrimary500: () => vD,
12263
- RColorPrimary600: () => yD,
12264
- RColorPrimary700: () => bD,
12265
- RColorPrimary800: () => xD,
12266
- RColorPrimary900: () => SD,
12267
- RColorSuccess100: () => wD,
12268
- RColorSuccess200: () => TD,
12269
- RColorSuccess300: () => ED,
12270
- RColorSuccess400: () => DD,
12271
- RColorSuccess50: () => CD,
12272
- RColorSuccess500: () => OD,
12273
- RColorSuccess600: () => kD,
12274
- RColorSuccess700: () => AD,
12275
- RColorSuccess800: () => jD,
12276
- RColorSuccess900: () => MD,
12277
- RColorWarning100: () => PD,
12278
- RColorWarning200: () => FD,
12279
- RColorWarning300: () => ID,
12280
- RColorWarning400: () => LD,
12281
- RColorWarning50: () => ND,
12282
- RColorWarning500: () => RD,
12283
- RColorWarning600: () => zD,
12284
- RColorWarning700: () => BD,
12285
- RColorWarning800: () => VD,
12286
- RColorWarning900: () => HD,
12287
- RFocus: () => dk,
12288
- RFontFamily: () => pk,
12289
- RFontFamilyMono: () => mk,
12290
- RFontLineHeight2xl: () => Ak,
12291
- RFontLineHeight3xl: () => kk,
12292
- RFontLineHeight4xl: () => Ok,
12293
- RFontLineHeight5xl: () => Dk,
12294
- RFontLineHeight6xl: () => Ek,
12295
- RFontLineHeight7xl: () => Tk,
12296
- RFontLineHeightL: () => Mk,
12297
- RFontLineHeightM: () => Nk,
12298
- RFontLineHeightS: () => Pk,
12299
- RFontLineHeightXl: () => jk,
12300
- RFontSize2xl: () => bk,
12301
- RFontSize3xl: () => yk,
12302
- RFontSize4xl: () => vk,
12303
- RFontSize5xl: () => _k,
12304
- RFontSize6xl: () => gk,
12305
- RFontSize7xl: () => hk,
12306
- RFontSizeL: () => Sk,
12307
- RFontSizeM: () => Ck,
12308
- RFontSizeS: () => wk,
12309
- RFontSizeXl: () => xk,
12329
+ RBorderRadiusPill: () => UE,
12330
+ RBorderStrong: () => tk,
12331
+ RBorderStronger: () => nk,
12332
+ RBorderSuccess: () => ok,
12333
+ RBorderWarning: () => sk,
12334
+ RBreakpointsL: () => qE,
12335
+ RBreakpointsM: () => KE,
12336
+ RBreakpointsS: () => GE,
12337
+ RBreakpointsXl: () => JE,
12338
+ RBreakpointsXs: () => WE,
12339
+ RColorDanger100: () => UD,
12340
+ RColorDanger200: () => WD,
12341
+ RColorDanger300: () => GD,
12342
+ RColorDanger400: () => KD,
12343
+ RColorDanger50: () => HD,
12344
+ RColorDanger500: () => qD,
12345
+ RColorDanger600: () => JD,
12346
+ RColorDanger700: () => YD,
12347
+ RColorDanger800: () => XD,
12348
+ RColorDanger900: () => ZD,
12349
+ RColorInfo100: () => $D,
12350
+ RColorInfo200: () => eO,
12351
+ RColorInfo300: () => tO,
12352
+ RColorInfo400: () => nO,
12353
+ RColorInfo50: () => QD,
12354
+ RColorInfo500: () => rO,
12355
+ RColorInfo600: () => iO,
12356
+ RColorInfo700: () => aO,
12357
+ RColorInfo800: () => oO,
12358
+ RColorInfo900: () => sO,
12359
+ RColorNeutral0: () => YE,
12360
+ RColorNeutral100: () => ZE,
12361
+ RColorNeutral150: () => QE,
12362
+ RColorNeutral200: () => $E,
12363
+ RColorNeutral250: () => eD,
12364
+ RColorNeutral300: () => tD,
12365
+ RColorNeutral350: () => nD,
12366
+ RColorNeutral400: () => rD,
12367
+ RColorNeutral50: () => XE,
12368
+ RColorNeutral500: () => iD,
12369
+ RColorNeutral600: () => aD,
12370
+ RColorNeutral650: () => oD,
12371
+ RColorNeutral700: () => sD,
12372
+ RColorNeutral750: () => cD,
12373
+ RColorNeutral800: () => lD,
12374
+ RColorNeutral850: () => uD,
12375
+ RColorNeutral900: () => dD,
12376
+ RColorPrimary100: () => pD,
12377
+ RColorPrimary200: () => mD,
12378
+ RColorPrimary300: () => hD,
12379
+ RColorPrimary400: () => gD,
12380
+ RColorPrimary50: () => fD,
12381
+ RColorPrimary500: () => _D,
12382
+ RColorPrimary600: () => vD,
12383
+ RColorPrimary700: () => yD,
12384
+ RColorPrimary800: () => bD,
12385
+ RColorPrimary900: () => xD,
12386
+ RColorSuccess100: () => CD,
12387
+ RColorSuccess200: () => wD,
12388
+ RColorSuccess300: () => TD,
12389
+ RColorSuccess400: () => ED,
12390
+ RColorSuccess50: () => SD,
12391
+ RColorSuccess500: () => DD,
12392
+ RColorSuccess600: () => OD,
12393
+ RColorSuccess700: () => kD,
12394
+ RColorSuccess800: () => AD,
12395
+ RColorSuccess900: () => jD,
12396
+ RColorWarning100: () => ND,
12397
+ RColorWarning200: () => PD,
12398
+ RColorWarning300: () => FD,
12399
+ RColorWarning400: () => ID,
12400
+ RColorWarning50: () => MD,
12401
+ RColorWarning500: () => LD,
12402
+ RColorWarning600: () => RD,
12403
+ RColorWarning700: () => zD,
12404
+ RColorWarning800: () => BD,
12405
+ RColorWarning900: () => VD,
12406
+ RFocus: () => uk,
12407
+ RFontFamily: () => fk,
12408
+ RFontFamilyMono: () => pk,
12409
+ RFontLineHeight2xl: () => kk,
12410
+ RFontLineHeight3xl: () => Ok,
12411
+ RFontLineHeight4xl: () => Dk,
12412
+ RFontLineHeight5xl: () => Ek,
12413
+ RFontLineHeight6xl: () => Tk,
12414
+ RFontLineHeight7xl: () => wk,
12415
+ RFontLineHeightL: () => jk,
12416
+ RFontLineHeightM: () => Mk,
12417
+ RFontLineHeightS: () => Nk,
12418
+ RFontLineHeightXl: () => Ak,
12419
+ RFontSize2xl: () => yk,
12420
+ RFontSize3xl: () => vk,
12421
+ RFontSize4xl: () => _k,
12422
+ RFontSize5xl: () => gk,
12423
+ RFontSize6xl: () => hk,
12424
+ RFontSize7xl: () => mk,
12425
+ RFontSizeL: () => xk,
12426
+ RFontSizeM: () => Sk,
12427
+ RFontSizeS: () => Ck,
12428
+ RFontSizeXl: () => bk,
12310
12429
  RFontWeightBold: () => "700",
12311
12430
  RFontWeightExtraBold: () => "800",
12312
12431
  RFontWeightMedium: () => "500",
12313
12432
  RFontWeightRegular: () => "400",
12314
12433
  RFontWeightSemiBold: () => "600",
12315
- RIcon: () => KO,
12316
- RIconDanger: () => QO,
12317
- RIconInfo: () => $O,
12318
- RIconMuted: () => qO,
12319
- RIconOnColor: () => JO,
12320
- RIconPrimary: () => YO,
12321
- RIconSuccess: () => XO,
12322
- RIconWarning: () => ZO,
12434
+ RIcon: () => GO,
12435
+ RIconDanger: () => ZO,
12436
+ RIconInfo: () => QO,
12437
+ RIconMuted: () => KO,
12438
+ RIconOnColor: () => qO,
12439
+ RIconPrimary: () => JO,
12440
+ RIconSuccess: () => YO,
12441
+ RIconWarning: () => XO,
12323
12442
  RMotionDuration0: () => "0",
12324
- RMotionDuration100: () => Vk,
12325
- RMotionDuration150: () => Hk,
12326
- RMotionDuration200: () => Uk,
12327
- RMotionDuration300: () => Wk,
12328
- RMotionDuration400: () => Gk,
12329
- RMotionDuration50: () => Bk,
12330
- RMotionDuration500: () => Kk,
12331
- RMotionEase: () => Ik,
12332
- RMotionEaseIn: () => Lk,
12333
- RMotionEaseInOut: () => zk,
12334
- RMotionEaseOut: () => Rk,
12335
- RMotionLinear: () => Fk,
12336
- ROverlay: () => fk,
12337
- RPrimary: () => lO,
12338
- RPrimaryHover: () => uO,
12339
- RPrimaryMuted: () => dO,
12340
- RShadow0: () => qk,
12341
- RShadow10: () => Jk,
12342
- RShadow20: () => Yk,
12343
- RShadow30: () => Xk,
12344
- RShadow40: () => Zk,
12345
- RShadowInset10: () => Qk,
12346
- RShadowInset20: () => $k,
12443
+ RMotionDuration100: () => Bk,
12444
+ RMotionDuration150: () => Vk,
12445
+ RMotionDuration200: () => Hk,
12446
+ RMotionDuration300: () => Uk,
12447
+ RMotionDuration400: () => Wk,
12448
+ RMotionDuration50: () => zk,
12449
+ RMotionDuration500: () => Gk,
12450
+ RMotionEase: () => Fk,
12451
+ RMotionEaseIn: () => Ik,
12452
+ RMotionEaseInOut: () => Rk,
12453
+ RMotionEaseOut: () => Lk,
12454
+ RMotionLinear: () => Pk,
12455
+ ROverlay: () => dk,
12456
+ RPrimary: () => cO,
12457
+ RPrimaryHover: () => lO,
12458
+ RPrimaryMuted: () => uO,
12459
+ RShadow0: () => Kk,
12460
+ RShadow10: () => qk,
12461
+ RShadow20: () => Jk,
12462
+ RShadow30: () => Yk,
12463
+ RShadow40: () => Xk,
12464
+ RShadowInset10: () => Zk,
12465
+ RShadowInset20: () => Qk,
12347
12466
  RSpace0: () => "0",
12348
- RSpace1: () => eA,
12349
- RSpace10: () => lA,
12350
- RSpace11: () => uA,
12351
- RSpace12: () => dA,
12352
- RSpace13: () => fA,
12353
- RSpace14: () => pA,
12354
- RSpace15: () => mA,
12355
- RSpace2: () => tA,
12356
- RSpace3: () => nA,
12357
- RSpace4: () => rA,
12358
- RSpace5: () => iA,
12359
- RSpace6: () => aA,
12360
- RSpace7: () => oA,
12361
- RSpace8: () => sA,
12362
- RSpace9: () => cA,
12363
- RSurface: () => mO,
12364
- RSurfaceDanger: () => OO,
12365
- RSurfaceDangerHover: () => kO,
12366
- RSurfaceDangerMuted: () => AO,
12367
- RSurfaceDisabled: () => bO,
12368
- RSurfaceHover: () => hO,
12369
- RSurfaceInfo: () => jO,
12370
- RSurfaceInfoHover: () => MO,
12371
- RSurfaceInfoMuted: () => NO,
12372
- RSurfaceInverse: () => xO,
12373
- RSurfaceSelected: () => gO,
12374
- RSurfaceSuccess: () => SO,
12375
- RSurfaceSuccessHover: () => CO,
12376
- RSurfaceSuccessMuted: () => wO,
12377
- RSurfaceSunken: () => _O,
12378
- RSurfaceSunkenHover: () => vO,
12379
- RSurfaceSunkenSelected: () => yO,
12380
- RSurfaceWarning: () => TO,
12381
- RSurfaceWarningHover: () => EO,
12382
- RSurfaceWarningMuted: () => DO,
12383
- RText: () => PO,
12384
- RTextDanger: () => WO,
12385
- RTextDisabled: () => IO,
12386
- RTextInfo: () => GO,
12387
- RTextLink: () => RO,
12388
- RTextLinkHover: () => zO,
12389
- RTextMuted: () => FO,
12390
- RTextOnColor: () => BO,
12391
- RTextPlaceholder: () => LO,
12392
- RTextPrimary: () => VO,
12393
- RTextSuccess: () => HO,
12394
- RTextWarning: () => UO,
12467
+ RSpace1: () => $k,
12468
+ RSpace10: () => cA,
12469
+ RSpace11: () => lA,
12470
+ RSpace12: () => uA,
12471
+ RSpace13: () => dA,
12472
+ RSpace14: () => fA,
12473
+ RSpace15: () => pA,
12474
+ RSpace2: () => eA,
12475
+ RSpace3: () => tA,
12476
+ RSpace4: () => nA,
12477
+ RSpace5: () => rA,
12478
+ RSpace6: () => iA,
12479
+ RSpace7: () => aA,
12480
+ RSpace8: () => oA,
12481
+ RSpace9: () => sA,
12482
+ RSurface: () => pO,
12483
+ RSurfaceDanger: () => DO,
12484
+ RSurfaceDangerHover: () => OO,
12485
+ RSurfaceDangerMuted: () => kO,
12486
+ RSurfaceDisabled: () => yO,
12487
+ RSurfaceHover: () => mO,
12488
+ RSurfaceInfo: () => AO,
12489
+ RSurfaceInfoHover: () => jO,
12490
+ RSurfaceInfoMuted: () => MO,
12491
+ RSurfaceInverse: () => bO,
12492
+ RSurfaceSelected: () => hO,
12493
+ RSurfaceSuccess: () => xO,
12494
+ RSurfaceSuccessHover: () => SO,
12495
+ RSurfaceSuccessMuted: () => CO,
12496
+ RSurfaceSunken: () => gO,
12497
+ RSurfaceSunkenHover: () => _O,
12498
+ RSurfaceSunkenSelected: () => vO,
12499
+ RSurfaceWarning: () => wO,
12500
+ RSurfaceWarningHover: () => TO,
12501
+ RSurfaceWarningMuted: () => EO,
12502
+ RText: () => NO,
12503
+ RTextDanger: () => UO,
12504
+ RTextDisabled: () => FO,
12505
+ RTextInfo: () => WO,
12506
+ RTextLink: () => LO,
12507
+ RTextLinkHover: () => RO,
12508
+ RTextMuted: () => PO,
12509
+ RTextOnColor: () => zO,
12510
+ RTextPlaceholder: () => IO,
12511
+ RTextPrimary: () => BO,
12512
+ RTextSuccess: () => VO,
12513
+ RTextWarning: () => HO,
12395
12514
  RZIndex10: () => "100",
12396
- RZIndex100: () => hA,
12515
+ RZIndex100: () => mA,
12397
12516
  RZIndex15: () => "150",
12398
12517
  RZIndex20: () => "200",
12399
12518
  RZIndex25: () => "250",
@@ -12407,7 +12526,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
12407
12526
  RZIndex60: () => "600",
12408
12527
  RZIndex65: () => "650",
12409
12528
  RZIndex70: () => "700"
12410
- }), BE = "0.125rem", VE = "0.25rem", HE = "0.375rem", UE = "0.5rem", WE = "624.9375rem", GE = "576px", KE = "768px", qE = "1040px", JE = "1200px", YE = "1400px", XE = "#FFFFFF", ZE = "#F8FAFC", QE = "#F1F5F9", $E = "#E8EDF4", eD = "#E0E6EF", tD = "#D7DEE8", nD = "#CBD5E1", rD = "#AFBCCC", iD = "#94A3B8", aD = "#64748B", oD = "#475569", sD = "#3D4A5F", cD = "#334155", lD = "#28344A", uD = "#182137", dD = "#0C1424", fD = "#020617", pD = "#E1EBFF", mD = "#A5C6FF", hD = "#76A0FF", gD = "#4878EE", _D = "#2A55E4", vD = "#0044D4", yD = "#0036AA", bD = "#00297F", xD = "#001B55", SD = "#000D2A", CD = "#F0FDF4", wD = "#DCFCE7", TD = "#BBF7D0", ED = "#86EFAC", DD = "#4ADE80", OD = "#22C55E", kD = "#16A34A", AD = "#15803D", jD = "#166534", MD = "#052E16", ND = "#FFFBEB", PD = "#FEF3C7", FD = "#FDE68A", ID = "#FCD34D", LD = "#FBBF24", RD = "#F59E0B", zD = "#D97706", BD = "#B45309", VD = "#92400E", HD = "#451A03", UD = "#FEF2F2", WD = "#FEE2E2", GD = "#FECACA", KD = "#FCA5A5", qD = "#F87171", JD = "#EF4444", YD = "#DC2626", XD = "#B91C1C", ZD = "#991B1B", QD = "#450A0A", $D = "#F0F9FF", eO = "#E0F2FE", tO = "#BAE6FD", nO = "#7DD3FC", rO = "#38BDF8", iO = "#0EA5E9", aO = "#0284C7", oO = "#0369A1", sO = "#075985", cO = "#082F49", lO = "#0044D4", uO = "#0036AA", dO = "#E1EBFF", fO = "#F1F5F9", pO = "#E0E6EF", mO = "#FFFFFF", hO = "#F1F5F9", gO = "#E8EDF4", _O = "#F8FAFC", vO = "#E8EDF4", yO = "#E0E6EF", bO = "#F1F5F9", xO = "#182137", SO = "#15803D", CO = "#166534", wO = "#DCFCE7", TO = "#B45309", EO = "#92400E", DO = "#FEF3C7", OO = "#DC2626", kO = "#B91C1C", AO = "#FEE2E2", jO = "#0369A1", MO = "#075985", NO = "#E0F2FE", PO = "#182137", FO = "#475569", IO = "#64748B", LO = "#64748B", RO = "#0044D4", zO = "#00297F", BO = "#FFFFFF", VO = "#0044D4", HO = "#166534", UO = "#B45309", WO = "#B91C1C", GO = "#075985", KO = "#334155", qO = "#64748B", JO = "#FFFFFF", YO = "#0044D4", XO = "#166534", ZO = "#B45309", QO = "#B91C1C", $O = "#075985", ek = "#D7DEE8", tk = "#E8EDF4", nk = "#AFBCCC", rk = "#94A3B8", ik = "#D7DEE8", ak = "#020617", ok = "#0044D4", sk = "#15803D", ck = "#B45309", lk = "#B91C1C", uk = "#0369A1", dk = "#2A55E4", fk = "#02061780", pk = "-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial sans-serif", mk = "'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono', Menlo, Consolas, Courier, monospace", hk = "4.875rem", gk = "3.25rem", _k = "2.5rem", vk = "2.125rem", yk = "1.75rem", bk = "1.5rem", xk = "1.25rem", Sk = "1rem", Ck = "0.875rem", wk = "0.75rem", Tk = "6rem", Ek = "3.875rem", Dk = "3.125rem", Ok = "2.875rem", kk = "2.25rem", Ak = "2rem", jk = "1.75rem", Mk = "1.5rem", Nk = "1.25rem", Pk = "1rem", Fk = "cubic-bezier(0, 0, 1, 1)", Ik = "cubic-bezier(0.25, 0.1, 0.25, 1)", Lk = "cubic-bezier(0.42, 0, 1, 1)", Rk = "cubic-bezier(0, 0, 0.58, 1)", zk = "cubic-bezier(0.42, 0, 0.58, 1)", Bk = "50ms", Vk = "100ms", Hk = "150ms", Uk = "200ms", Wk = "300ms", Gk = "400ms", Kk = "500ms", qk = "none", Jk = "0 1px 2px 0 rgba(2, 6, 23, 0.18), 0 4px 4px 0 rgba(2, 6, 23, 0.04)", Yk = "0 7px 14px 0 rgba(2, 6, 23, 0.11), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", Xk = "0 3px 6px 0 rgba(2, 6, 23, 0.15), 0 7px 14px 0 rgba(2, 6, 23, 0.26)", Zk = "0 20px 40px -8px rgba(2, 6, 23, 0.13), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", Qk = "0 0 0 1px rgba(2, 6, 23, 0.02), 0 1px 2px 0 rgba(2, 6, 23, 0.18), 0 4px 4px 0 rgba(2, 6, 23, 0.04)", $k = "0 0 0 1px rgba(2, 6, 23, 0.07), 0 7px 14px 0 rgba(2, 6, 23, 0.11), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", eA = "0.125rem", tA = "0.25rem", nA = "0.5rem", rA = "0.75rem", iA = "1rem", aA = "1.25rem", oA = "1.5rem", sA = "1.75rem", cA = "2rem", lA = "2.5rem", uA = "3rem", dA = "4rem", fA = "5rem", pA = "7.5rem", mA = "10rem", hA = "1000", gA = (e) => `
12529
+ }), zE = "0.125rem", BE = "0.25rem", VE = "0.375rem", HE = "0.5rem", UE = "624.9375rem", WE = "576px", GE = "768px", KE = "1040px", qE = "1200px", JE = "1400px", YE = "#FFFFFF", XE = "#F8FAFC", ZE = "#F1F5F9", QE = "#E8EDF4", $E = "#E0E6EF", eD = "#D7DEE8", tD = "#CBD5E1", nD = "#AFBCCC", rD = "#94A3B8", iD = "#64748B", aD = "#475569", oD = "#3D4A5F", sD = "#334155", cD = "#28344A", lD = "#182137", uD = "#0C1424", dD = "#020617", fD = "#E1EBFF", pD = "#A5C6FF", mD = "#76A0FF", hD = "#4878EE", gD = "#2A55E4", _D = "#0044D4", vD = "#0036AA", yD = "#00297F", bD = "#001B55", xD = "#000D2A", SD = "#F0FDF4", CD = "#DCFCE7", wD = "#BBF7D0", TD = "#86EFAC", ED = "#4ADE80", DD = "#22C55E", OD = "#16A34A", kD = "#15803D", AD = "#166534", jD = "#052E16", MD = "#FFFBEB", ND = "#FEF3C7", PD = "#FDE68A", FD = "#FCD34D", ID = "#FBBF24", LD = "#F59E0B", RD = "#D97706", zD = "#B45309", BD = "#92400E", VD = "#451A03", HD = "#FEF2F2", UD = "#FEE2E2", WD = "#FECACA", GD = "#FCA5A5", KD = "#F87171", qD = "#EF4444", JD = "#DC2626", YD = "#B91C1C", XD = "#991B1B", ZD = "#450A0A", QD = "#F0F9FF", $D = "#E0F2FE", eO = "#BAE6FD", tO = "#7DD3FC", nO = "#38BDF8", rO = "#0EA5E9", iO = "#0284C7", aO = "#0369A1", oO = "#075985", sO = "#082F49", cO = "#0044D4", lO = "#0036AA", uO = "#E1EBFF", dO = "#F1F5F9", fO = "#E0E6EF", pO = "#FFFFFF", mO = "#F1F5F9", hO = "#E8EDF4", gO = "#F8FAFC", _O = "#E8EDF4", vO = "#E0E6EF", yO = "#F1F5F9", bO = "#182137", xO = "#15803D", SO = "#166534", CO = "#DCFCE7", wO = "#B45309", TO = "#92400E", EO = "#FEF3C7", DO = "#DC2626", OO = "#B91C1C", kO = "#FEE2E2", AO = "#0369A1", jO = "#075985", MO = "#E0F2FE", NO = "#182137", PO = "#475569", FO = "#64748B", IO = "#64748B", LO = "#0044D4", RO = "#00297F", zO = "#FFFFFF", BO = "#0044D4", VO = "#166534", HO = "#B45309", UO = "#B91C1C", WO = "#075985", GO = "#334155", KO = "#64748B", qO = "#FFFFFF", JO = "#0044D4", YO = "#166534", XO = "#B45309", ZO = "#B91C1C", QO = "#075985", $O = "#D7DEE8", ek = "#E8EDF4", tk = "#AFBCCC", nk = "#94A3B8", rk = "#D7DEE8", ik = "#020617", ak = "#0044D4", ok = "#15803D", sk = "#B45309", ck = "#B91C1C", lk = "#0369A1", uk = "#2A55E4", dk = "#02061780", fk = "-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial sans-serif", pk = "'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono', Menlo, Consolas, Courier, monospace", mk = "4.875rem", hk = "3.25rem", gk = "2.5rem", _k = "2.125rem", vk = "1.75rem", yk = "1.5rem", bk = "1.25rem", xk = "1rem", Sk = "0.875rem", Ck = "0.75rem", wk = "6rem", Tk = "3.875rem", Ek = "3.125rem", Dk = "2.875rem", Ok = "2.25rem", kk = "2rem", Ak = "1.75rem", jk = "1.5rem", Mk = "1.25rem", Nk = "1rem", Pk = "cubic-bezier(0, 0, 1, 1)", Fk = "cubic-bezier(0.25, 0.1, 0.25, 1)", Ik = "cubic-bezier(0.42, 0, 1, 1)", Lk = "cubic-bezier(0, 0, 0.58, 1)", Rk = "cubic-bezier(0.42, 0, 0.58, 1)", zk = "50ms", Bk = "100ms", Vk = "150ms", Hk = "200ms", Uk = "300ms", Wk = "400ms", Gk = "500ms", Kk = "none", qk = "0 1px 2px 0 rgba(2, 6, 23, 0.18), 0 4px 4px 0 rgba(2, 6, 23, 0.04)", Jk = "0 7px 14px 0 rgba(2, 6, 23, 0.11), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", Yk = "0 3px 6px 0 rgba(2, 6, 23, 0.15), 0 7px 14px 0 rgba(2, 6, 23, 0.26)", Xk = "0 20px 40px -8px rgba(2, 6, 23, 0.13), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", Zk = "0 0 0 1px rgba(2, 6, 23, 0.02), 0 1px 2px 0 rgba(2, 6, 23, 0.18), 0 4px 4px 0 rgba(2, 6, 23, 0.04)", Qk = "0 0 0 1px rgba(2, 6, 23, 0.07), 0 7px 14px 0 rgba(2, 6, 23, 0.11), 0 3px 6px 0 rgba(2, 6, 23, 0.05)", $k = "0.125rem", eA = "0.25rem", tA = "0.5rem", nA = "0.75rem", rA = "1rem", iA = "1.25rem", aA = "1.5rem", oA = "1.75rem", sA = "2rem", cA = "2.5rem", lA = "3rem", uA = "4rem", dA = "5rem", fA = "7.5rem", pA = "10rem", mA = "1000", hA = (e) => `
12411
12530
  <!-- 20px icons -->
12412
12531
 
12413
12532
  <!-- Fingerprint -->
@@ -13202,7 +13321,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
13202
13321
  <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M3.783 16.217a4.38 4.38 0 0 1 0-6.196l1.778-1.778a.626.626 0 0 1 .885.885l-1.778 1.778a3.13 3.13 0 1 0 4.426 4.426l1.778-1.778a.626.626 0 0 1 .885.885L9.98 16.217a4.38 4.38 0 0 1-6.196 0M16.217 3.783a4.38 4.38 0 0 1 0 6.196l-1.805 1.805a.626.626 0 1 1-.885-.886l1.805-1.804a3.13 3.13 0 0 0-4.426-4.426L9.102 6.473a.626.626 0 1 1-.885-.885l1.804-1.805a4.38 4.38 0 0 1 6.196 0"/><path d="M12.674 6.441a.626.626 0 0 1 .885.885l-6.26 6.26a.626.626 0 0 1-.884-.886z"/></svg>
13203
13322
  </symbol>
13204
13323
  </svg>
13205
- `, _A = (e) => `
13324
+ `, gA = (e) => `
13206
13325
  <!-- 16px icons -->
13207
13326
 
13208
13327
  <!-- Fingerprint -->
@@ -13997,7 +14116,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
13997
14116
  <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M3.027 12.973a3.505 3.505 0 0 1 0-4.956l1.422-1.423a.5.5 0 0 1 .708.708L3.735 8.725a2.503 2.503 0 1 0 3.54 3.54l1.423-1.422a.5.5 0 0 1 .708.708l-1.423 1.422a3.505 3.505 0 0 1-4.956 0m9.946-9.946a3.505 3.505 0 0 1 0 4.956L11.53 9.427a.5.5 0 1 1-.708-.708l1.443-1.444a2.503 2.503 0 1 0-3.54-3.54L7.28 5.178a.5.5 0 0 1-.708-.708l1.444-1.443a3.505 3.505 0 0 1 4.956 0"/><path d="M10.139 5.153a.5.5 0 0 1 .708.708L5.84 10.868a.5.5 0 1 1-.708-.708z"/></svg>
13998
14117
  </symbol>
13999
14118
  </svg>
14000
- `, vA = (e) => `
14119
+ `, _A = (e) => `
14001
14120
  <!-- 24px icons -->
14002
14121
 
14003
14122
  <!-- Fingerprint -->
@@ -14792,7 +14911,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
14792
14911
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M4.54 19.46a5.257 5.257 0 0 1 0-7.435l2.133-2.134a.751.751 0 0 1 1.063 1.063l-2.134 2.133a3.755 3.755 0 1 0 5.31 5.311l2.134-2.134a.751.751 0 0 1 1.063 1.063l-2.134 2.133a5.257 5.257 0 0 1-7.435 0M19.46 4.54a5.257 5.257 0 0 1 0 7.435l-2.165 2.165a.751.751 0 0 1-1.062-1.062l2.165-2.165a3.755 3.755 0 0 0-5.31-5.311l-2.166 2.165A.751.751 0 1 1 9.86 6.705l2.165-2.165a5.257 5.257 0 0 1 7.435 0"/><path d="M15.208 7.73a.751.751 0 0 1 1.062 1.062l-7.51 7.51a.751.751 0 1 1-1.062-1.062z"/></svg>
14793
14912
  </symbol>
14794
14913
  </svg>
14795
- `, yA = (e) => `
14914
+ `, vA = (e) => `
14796
14915
  <!-- 32px icons -->
14797
14916
 
14798
14917
  <!-- Fingerprint -->
@@ -15587,12 +15706,12 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
15587
15706
  <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M6.053 25.947a7.01 7.01 0 0 1 0-9.913l2.845-2.845a1.002 1.002 0 0 1 1.416 1.416L7.47 17.45a5.007 5.007 0 0 0 7.081 7.08l2.845-2.844a1.002 1.002 0 0 1 1.416 1.416l-2.844 2.845a7.01 7.01 0 0 1-9.914 0M25.947 6.053a7.01 7.01 0 0 1 0 9.914l-2.887 2.887a1.001 1.001 0 1 1-1.416-1.417l2.887-2.887a5.007 5.007 0 0 0-7.081-7.08l-2.887 2.886a1.002 1.002 0 0 1-1.417-1.416l2.887-2.887a7.01 7.01 0 0 1 9.914 0"/><path d="M20.278 10.306a1.002 1.002 0 0 1 1.416 1.416L11.68 21.737a1.001 1.001 0 1 1-1.416-1.417z"/></svg>
15588
15707
  </symbol>
15589
15708
  </svg>
15590
- `, bA = /* @__PURE__ */ _e({
15591
- RIconColors: () => SA,
15592
- RIconNames: () => xA,
15593
- RIconSprites: () => CA,
15594
- RIconSpritesAppend: () => wA
15595
- }), xA = {
15709
+ `, yA = /* @__PURE__ */ _e({
15710
+ RIconColors: () => xA,
15711
+ RIconNames: () => bA,
15712
+ RIconSprites: () => SA,
15713
+ RIconSpritesAppend: () => CA
15714
+ }), bA = {
15596
15715
  fingerprint: "fingerprint",
15597
15716
  dashboard: "dashboard",
15598
15717
  automations: "automations",
@@ -15725,7 +15844,7 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
15725
15844
  expand: "expand",
15726
15845
  reduce: "reduce",
15727
15846
  link: "link"
15728
- }, SA = {
15847
+ }, xA = {
15729
15848
  default: "default",
15730
15849
  "on-surface": "on-surface",
15731
15850
  "on-color": "on-color",
@@ -15734,27 +15853,27 @@ var lE = /*#__PURE__*/ ww(aE, [["render", cE]]), uE = {
15734
15853
  warning: "warning",
15735
15854
  danger: "danger",
15736
15855
  info: "info"
15737
- }, CA = `
15856
+ }, SA = `
15738
15857
  <!-- SVG Sprite -->
15739
- ${gA(xA)}
15740
- ${_A(xA)}
15741
- ${vA(xA)}
15742
- ${yA(xA)}
15858
+ ${hA(bA)}
15859
+ ${gA(bA)}
15860
+ ${_A(bA)}
15861
+ ${vA(bA)}
15743
15862
  `;
15744
- function wA(e = document.body) {
15863
+ function CA(e = document.body) {
15745
15864
  let t = e ?? document.body;
15746
15865
  t.querySelector("[data-revel=\"icon-sprite-sheet\"]")?.remove();
15747
15866
  let n = document.createElement("div");
15748
- n.setAttribute("data-revel", "icon-sprite-sheet"), n.style.display = "none", n.innerHTML = CA, t.appendChild(n);
15867
+ n.setAttribute("data-revel", "icon-sprite-sheet"), n.style.display = "none", n.innerHTML = SA, t.appendChild(n);
15749
15868
  }
15750
15869
  //#endregion
15751
15870
  //#region src/index.ts
15752
- var TA = (e, { registerDirectives: t = !0, appendIconSheet: n = !0 } = {}) => {
15871
+ var wA = (e, { registerDirectives: t = !0, appendIconSheet: n = !0 } = {}) => {
15753
15872
  t && Object.keys(aS).forEach((t) => {
15754
15873
  e.directive(t, aS[t]);
15755
- }), Object.keys(FE).forEach((t) => {
15756
- e.component(t, FE[t]);
15757
- }), e.config.globalProperties.$toast = RE(e), n && wA(null), e.use(t_, {});
15758
- }, EA = { install: TA };
15874
+ }), Object.keys(PE).forEach((t) => {
15875
+ e.component(t, PE[t]);
15876
+ }), e.config.globalProperties.$toast = LE(e), n && CA(null), e.use(t_, {});
15877
+ }, TA = { install: wA };
15759
15878
  //#endregion
15760
- export { Wb as RAlert, pS as RAvatar, hS as RBadge, Bb as RButton, gS as RButtonGroup, CS as RCheckbox, GS as RDateInput, UC as RDateRange, Ow as RFieldGroup, _w as RFileDropzone, yw as RFileUpload, bw as RFlex, xw as RFlexItem, Sw as RGrid, Cw as RGridCell, Q as RIcon, sS as RImg, zw as RInput, HS as RInputErrors, Vw as RLoader, Xw as RModal, uT as RMonthPicker, PE as RMultistep, mT as RPagination, pT as RPaginationControl, qS as RPopper, bT as RRadio, CT as RRepeater, $T as RSelect, jE as RStep, iE as RTab, lE as RTabs, pE as RTile, _E as RTileContent, SE as RToast, DE as RToggle, Gb as clickOutside, rS as content, RE as createRToastManager, EA as default, jS as getCalendarPresetPeriods, bA as icons, TA as install, iS as lazy, zE as tokens, nS as tooltip };
15879
+ export { Wb as RAlert, pS as RAvatar, hS as RBadge, Bb as RButton, gS as RButtonGroup, CS as RCheckbox, JS as RDateInput, GC as RDateRange, Aw as RFieldGroup, KS as RFieldLabel, yw as RFileDropzone, xw as RFileUpload, Sw as RFlex, Cw as RFlexItem, ww as RGrid, Tw as RGridCell, Q as RIcon, sS as RImg, Bw as RInput, HS as RInputErrors, Hw as RLoader, Zw as RModal, uT as RMonthPicker, NE as RMultistep, mT as RPagination, pT as RPaginationControl, XS as RPopper, bT as RRadio, CT as RRepeater, QT as RSelect, AE as RStep, rE as RTab, cE as RTabs, fE as RTile, gE as RTileContent, xE as RToast, EE as RToggle, Gb as clickOutside, rS as content, LE as createRToastManager, TA as default, jS as getCalendarPresetPeriods, yA as icons, wA as install, iS as lazy, RE as tokens, nS as tooltip };