@xola/ui-kit 2.2.5 → 2.2.6

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/build/ui-kit.mjs CHANGED
@@ -4866,7 +4866,7 @@ const N2 = L2((e, t) => e(t), 500), U1 = ({
4866
4866
  }, V = ({ inputValue: j }) => {
4867
4867
  f(j), a && N2(a, j);
4868
4868
  }, {
4869
- isOpen: G,
4869
+ isOpen: D,
4870
4870
  openMenu: R,
4871
4871
  getMenuProps: W,
4872
4872
  getInputProps: z,
@@ -4883,11 +4883,11 @@ const N2 = L2((e, t) => e(t), 500), U1 = ({
4883
4883
  onSelectedItemChange: F
4884
4884
  });
4885
4885
  Pe(() => {
4886
- G ? y(!1) : setTimeout(() => y(!0), 1);
4887
- }, [G, y]);
4886
+ D ? y(!1) : setTimeout(() => y(!0), 1);
4887
+ }, [D, y]);
4888
4888
  const K = () => {
4889
4889
  w(!1), R();
4890
- }, te = (G || !x || u) && M.length > 0 && !m, ie = te && !s && M.length <= 1 && g.length >= h;
4890
+ }, te = (D || !x || u) && M.length > 0 && !m, ie = te && !s && M.length <= 1 && g.length >= h;
4891
4891
  vr(Mt ? "cmd+k" : "ctrl+k", (j) => {
4892
4892
  j.preventDefault(), b.current.focus();
4893
4893
  }), vr("esc", () => b.current.blur(), { enableOnTags: ["INPUT"] });
@@ -6082,7 +6082,7 @@ function Ll() {
6082
6082
  }
6083
6083
  }
6084
6084
  }
6085
- var x = u, y = d, A = s, M = l, F = t, V = m, G = a, R = w, W = E, z = o, O = i, _ = r, $ = h, ee = !1;
6085
+ var x = u, y = d, A = s, M = l, F = t, V = m, D = a, R = w, W = E, z = o, O = i, _ = r, $ = h, ee = !1;
6086
6086
  function K(B) {
6087
6087
  return ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), te(B) || I(B) === u;
6088
6088
  }
@@ -6101,7 +6101,7 @@ function Ll() {
6101
6101
  function re(B) {
6102
6102
  return I(B) === m;
6103
6103
  }
6104
- function D(B) {
6104
+ function G(B) {
6105
6105
  return I(B) === a;
6106
6106
  }
6107
6107
  function P(B) {
@@ -6122,7 +6122,7 @@ function Ll() {
6122
6122
  function Ae(B) {
6123
6123
  return I(B) === h;
6124
6124
  }
6125
- J.AsyncMode = x, J.ConcurrentMode = y, J.ContextConsumer = A, J.ContextProvider = M, J.Element = F, J.ForwardRef = V, J.Fragment = G, J.Lazy = R, J.Memo = W, J.Portal = z, J.Profiler = O, J.StrictMode = _, J.Suspense = $, J.isAsyncMode = K, J.isConcurrentMode = te, J.isContextConsumer = ie, J.isContextProvider = q, J.isElement = j, J.isForwardRef = re, J.isFragment = D, J.isLazy = P, J.isMemo = ne, J.isPortal = le, J.isProfiler = ve, J.isStrictMode = Re, J.isSuspense = Ae, J.isValidElementType = L, J.typeOf = I;
6125
+ J.AsyncMode = x, J.ConcurrentMode = y, J.ContextConsumer = A, J.ContextProvider = M, J.Element = F, J.ForwardRef = V, J.Fragment = D, J.Lazy = R, J.Memo = W, J.Portal = z, J.Profiler = O, J.StrictMode = _, J.Suspense = $, J.isAsyncMode = K, J.isConcurrentMode = te, J.isContextConsumer = ie, J.isContextProvider = q, J.isElement = j, J.isForwardRef = re, J.isFragment = G, J.isLazy = P, J.isMemo = ne, J.isPortal = le, J.isProfiler = ve, J.isStrictMode = Re, J.isSuspense = Ae, J.isValidElementType = L, J.typeOf = I;
6126
6126
  }()), J;
6127
6127
  }
6128
6128
  (function(e) {
@@ -7028,7 +7028,7 @@ function kc(e) {
7028
7028
  };
7029
7029
  if (!o || !o.offsetParent)
7030
7030
  return d;
7031
- var m = u.getBoundingClientRect(), h = m.height, v = o.getBoundingClientRect(), E = v.bottom, w = v.height, g = v.top, f = o.offsetParent.getBoundingClientRect(), b = f.top, k = l ? window.innerHeight : gc(u), L = Fo(u), I = parseInt(getComputedStyle(o).marginBottom, 10), x = parseInt(getComputedStyle(o).marginTop, 10), y = b - x, A = k - g, M = y + L, F = h - L - g, V = E - k + L + I, G = L + g - x, R = 160;
7031
+ var m = u.getBoundingClientRect(), h = m.height, v = o.getBoundingClientRect(), E = v.bottom, w = v.height, g = v.top, f = o.offsetParent.getBoundingClientRect(), b = f.top, k = l ? window.innerHeight : gc(u), L = Fo(u), I = parseInt(getComputedStyle(o).marginBottom, 10), x = parseInt(getComputedStyle(o).marginTop, 10), y = b - x, A = k - g, M = y + L, F = h - L - g, V = E - k + L + I, D = L + g - x, R = 160;
7032
7032
  switch (r) {
7033
7033
  case "auto":
7034
7034
  case "bottom":
@@ -7070,13 +7070,13 @@ function kc(e) {
7070
7070
  maxHeight: t
7071
7071
  };
7072
7072
  if (M >= w && !l)
7073
- return i && Lt(u, G, R), {
7073
+ return i && Lt(u, D, R), {
7074
7074
  placement: "top",
7075
7075
  maxHeight: t
7076
7076
  };
7077
7077
  if (!l && M >= a || l && y >= a) {
7078
7078
  var _ = t;
7079
- return (!l && M >= a || l && y >= a) && (_ = l ? y - x : M - x), i && Lt(u, G, R), {
7079
+ return (!l && M >= a || l && y >= a) && (_ = l ? y - x : M - x), i && Lt(u, D, R), {
7080
7080
  placement: "top",
7081
7081
  maxHeight: _
7082
7082
  };
@@ -7805,12 +7805,12 @@ var N3 = process.env.NODE_ENV === "production" ? {
7805
7805
  if (o && y.onChange) {
7806
7806
  var O = o.option, _ = o.options, $ = o.removedValue, ee = o.removedValues, K = o.value, te = function(ne) {
7807
7807
  return Array.isArray(ne) ? null : ne;
7808
- }, ie = $ || O || te(K), q = ie ? h(ie) : "", j = _ || ee || void 0, re = j ? j.map(h) : [], D = T({
7808
+ }, ie = $ || O || te(K), q = ie ? h(ie) : "", j = _ || ee || void 0, re = j ? j.map(h) : [], G = T({
7809
7809
  isDisabled: ie && w(ie, s),
7810
7810
  label: q,
7811
7811
  labels: re
7812
7812
  }, o);
7813
- z = y.onChange(D);
7813
+ z = y.onChange(G);
7814
7814
  }
7815
7815
  return z;
7816
7816
  }, [o, y, w, s, h]), M = xe(function() {
@@ -7854,11 +7854,11 @@ var N3 = process.env.NODE_ENV === "production" ? {
7854
7854
  });
7855
7855
  }
7856
7856
  return z;
7857
- }, [I, a, r, E, w, g, f, y, s, L]), G = "".concat(M, " ").concat(F, " ").concat(V), R = S(be, null, S("span", {
7857
+ }, [I, a, r, E, w, g, f, y, s, L]), D = "".concat(M, " ").concat(F, " ").concat(V), R = S(be, null, S("span", {
7858
7858
  id: "aria-selection"
7859
7859
  }, A), S("span", {
7860
7860
  id: "aria-context"
7861
- }, G)), W = (o == null ? void 0 : o.action) === "initial-input-focus";
7861
+ }, D)), W = (o == null ? void 0 : o.action) === "initial-input-focus";
7862
7862
  return S(be, null, S($r, {
7863
7863
  id: d
7864
7864
  }, W && R), S($r, {
@@ -9065,7 +9065,7 @@ var na = function(t) {
9065
9065
  }), k);
9066
9066
  if (f)
9067
9067
  return I.map(function(M, F) {
9068
- var V = M === x, G = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
9068
+ var V = M === x, D = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
9069
9069
  return /* @__PURE__ */ Z.createElement(l, H({}, v, {
9070
9070
  components: {
9071
9071
  Container: s,
@@ -9074,7 +9074,7 @@ var na = function(t) {
9074
9074
  },
9075
9075
  isFocused: V,
9076
9076
  isDisabled: g,
9077
- key: G,
9077
+ key: D,
9078
9078
  index: F,
9079
9079
  removeProps: {
9080
9080
  onClick: function() {
@@ -9161,11 +9161,11 @@ var na = function(t) {
9161
9161
  }, {
9162
9162
  key: "renderMenu",
9163
9163
  value: function() {
9164
- var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, h = i.LoadingMessage, v = i.NoOptionsMessage, E = i.Option, w = this.commonProps, g = this.state.focusedOption, f = this.props, b = f.captureMenuScroll, k = f.inputValue, L = f.isLoading, I = f.loadingMessage, x = f.minMenuHeight, y = f.maxMenuHeight, A = f.menuIsOpen, M = f.menuPlacement, F = f.menuPosition, V = f.menuPortalTarget, G = f.menuShouldBlockScroll, R = f.menuShouldScrollIntoView, W = f.noOptionsMessage, z = f.onMenuScrollToTop, O = f.onMenuScrollToBottom;
9164
+ var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, h = i.LoadingMessage, v = i.NoOptionsMessage, E = i.Option, w = this.commonProps, g = this.state.focusedOption, f = this.props, b = f.captureMenuScroll, k = f.inputValue, L = f.isLoading, I = f.loadingMessage, x = f.minMenuHeight, y = f.maxMenuHeight, A = f.menuIsOpen, M = f.menuPlacement, F = f.menuPosition, V = f.menuPortalTarget, D = f.menuShouldBlockScroll, R = f.menuShouldScrollIntoView, W = f.noOptionsMessage, z = f.onMenuScrollToTop, O = f.onMenuScrollToBottom;
9165
9165
  if (!A)
9166
9166
  return null;
9167
9167
  var _ = function(j, re) {
9168
- var D = j.type, P = j.data, ne = j.isDisabled, le = j.isSelected, ve = j.label, Re = j.value, Ae = g === P, B = ne ? void 0 : function() {
9168
+ var G = j.type, P = j.data, ne = j.isDisabled, le = j.isSelected, ve = j.label, Re = j.value, Ae = g === P, B = ne ? void 0 : function() {
9169
9169
  return r.onOptionHover(P);
9170
9170
  }, Me = ne ? void 0 : function() {
9171
9171
  return r.selectOption(P);
@@ -9183,7 +9183,7 @@ var na = function(t) {
9183
9183
  isSelected: le,
9184
9184
  key: we,
9185
9185
  label: ve,
9186
- type: D,
9186
+ type: G,
9187
9187
  value: Re,
9188
9188
  isFocused: Ae,
9189
9189
  innerRef: Ae ? r.getFocusedOptionRef : void 0
@@ -9192,7 +9192,7 @@ var na = function(t) {
9192
9192
  if (this.hasOptions())
9193
9193
  $ = this.getCategorizedOptions().map(function(q) {
9194
9194
  if (q.type === "group") {
9195
- var j = q.data, re = q.options, D = q.index, P = "".concat(r.getElementId("group"), "-").concat(D), ne = "".concat(P, "-heading");
9195
+ var j = q.data, re = q.options, G = q.index, P = "".concat(r.getElementId("group"), "-").concat(G), ne = "".concat(P, "-heading");
9196
9196
  return /* @__PURE__ */ Z.createElement(l, H({}, w, {
9197
9197
  key: P,
9198
9198
  data: j,
@@ -9204,7 +9204,7 @@ var na = function(t) {
9204
9204
  },
9205
9205
  label: r.formatGroupLabel(q.data)
9206
9206
  }), q.options.map(function(le) {
9207
- return _(le, "".concat(D, "-").concat(le.index));
9207
+ return _(le, "".concat(G, "-").concat(le.index));
9208
9208
  }));
9209
9209
  } else if (q.type === "option")
9210
9210
  return _(q, "".concat(q.index));
@@ -9231,7 +9231,7 @@ var na = function(t) {
9231
9231
  menuPosition: F,
9232
9232
  menuShouldScrollIntoView: R
9233
9233
  }, ie = /* @__PURE__ */ Z.createElement(Mc, H({}, w, te), function(q) {
9234
- var j = q.ref, re = q.placerProps, D = re.placement, P = re.maxHeight;
9234
+ var j = q.ref, re = q.placerProps, G = re.placement, P = re.maxHeight;
9235
9235
  return /* @__PURE__ */ Z.createElement(u, H({}, w, te, {
9236
9236
  innerRef: j,
9237
9237
  innerProps: {
@@ -9240,12 +9240,12 @@ var na = function(t) {
9240
9240
  id: r.getElementId("listbox")
9241
9241
  },
9242
9242
  isLoading: L,
9243
- placement: D
9243
+ placement: G
9244
9244
  }), /* @__PURE__ */ Z.createElement(X3, {
9245
9245
  captureEnabled: b,
9246
9246
  onTopArrive: z,
9247
9247
  onBottomArrive: O,
9248
- lockEnabled: G
9248
+ lockEnabled: D
9249
9249
  }, function(ne) {
9250
9250
  return /* @__PURE__ */ Z.createElement(d, H({}, w, {
9251
9251
  innerRef: function(ve) {
@@ -9382,7 +9382,7 @@ var na = function(t) {
9382
9382
  ra.defaultProps = r4;
9383
9383
  var l4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
9384
9384
  function c4(e) {
9385
- var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, h = e.onMenuClose, v = e.onMenuOpen, E = e.value, w = Ye(e, l4), g = oe(s !== void 0 ? s : o), f = Be(g, 2), b = f[0], k = f[1], L = oe(u !== void 0 ? u : r), I = Be(L, 2), x = I[0], y = I[1], A = oe(E !== void 0 ? E : l), M = Be(A, 2), F = M[0], V = M[1], G = ue(function(ee, K) {
9385
+ var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, h = e.onMenuClose, v = e.onMenuOpen, E = e.value, w = Ye(e, l4), g = oe(s !== void 0 ? s : o), f = Be(g, 2), b = f[0], k = f[1], L = oe(u !== void 0 ? u : r), I = Be(L, 2), x = I[0], y = I[1], A = oe(E !== void 0 ? E : l), M = Be(A, 2), F = M[0], V = M[1], D = ue(function(ee, K) {
9386
9386
  typeof d == "function" && d(ee, K), V(ee);
9387
9387
  }, [d]), R = ue(function(ee, K) {
9388
9388
  var te;
@@ -9395,7 +9395,7 @@ function c4(e) {
9395
9395
  return T(T({}, w), {}, {
9396
9396
  inputValue: O,
9397
9397
  menuIsOpen: _,
9398
- onChange: G,
9398
+ onChange: D,
9399
9399
  onInputChange: R,
9400
9400
  onMenuClose: z,
9401
9401
  onMenuOpen: W,
@@ -9432,7 +9432,7 @@ function d4(e) {
9432
9432
  }) ? m(I, l(I)) : void 0;
9433
9433
  }, [l, m, L, b, I, u, E, A]), V = xe(function() {
9434
9434
  return (o || !x) && F ? r === "first" ? [F].concat(dt(E)) : [].concat(dt(E), [F]) : E;
9435
- }, [o, r, x, F, E]), G = ue(function(R, W) {
9435
+ }, [o, r, x, F, E]), D = ue(function(R, W) {
9436
9436
  if (W.action !== "select-option")
9437
9437
  return w(R, W);
9438
9438
  var z = Array.isArray(R) ? R : [R];
@@ -9453,7 +9453,7 @@ function d4(e) {
9453
9453
  }, [m, I, y, M, F, h, w, A]);
9454
9454
  return T(T({}, g), {}, {
9455
9455
  options: V,
9456
- onChange: G
9456
+ onChange: D
9457
9457
  });
9458
9458
  }
9459
9459
  var m4 = /* @__PURE__ */ tt(function(e, t) {
@@ -10142,11 +10142,11 @@ const ca = ({
10142
10142
  handleTodayClick: E,
10143
10143
  ...w
10144
10144
  }) => {
10145
- const g = N(t == null ? void 0 : t.from).isSame(N(t == null ? void 0 : t.to), "month"), f = N(t == null ? void 0 : t.from).isSame(N(t.to), "day"), b = (V, G) => r && V ? ({ date: R }) => /* @__PURE__ */ n.createElement(pr, { date: R, currentMonth: V, onChange: G }) : void 0, k = b(i, h), L = b(s, v), I = (V) => g1(l) ? l(V) : f1(l) ? l.some((G) => N(G).isSame(V, "day")) : !1, x = (V) => I(V), y = (V) => {
10146
- const G = N(V).isBefore(t == null ? void 0 : t.from, "day");
10147
- return I(V) || G && !f;
10148
- }, A = (V, G, R) => {
10149
- const W = e == null ? void 0 : e(V), z = G(V), O = W ? _t : n.Fragment, _ = W ? { placement: "top", content: W } : {};
10145
+ const g = N(t == null ? void 0 : t.from).isSame(N(t == null ? void 0 : t.to), "month"), f = N(t == null ? void 0 : t.from).isSame(N(t.to), "day"), b = (V, D) => r && V ? ({ date: R }) => /* @__PURE__ */ n.createElement(pr, { date: R, currentMonth: V, onChange: D }) : void 0, k = b(i, h), L = b(s, v), I = (V) => g1(l) ? l(V) : f1(l) ? l.some((D) => N(D).isSame(V, "day")) : !1, x = (V) => I(V), y = (V) => {
10146
+ const D = N(V).isBefore(t == null ? void 0 : t.from, "day");
10147
+ return I(V) || D && !f;
10148
+ }, A = (V, D, R) => {
10149
+ const W = e == null ? void 0 : e(V), z = D(V), O = W ? _t : n.Fragment, _ = W ? { placement: "top", content: W } : {};
10150
10150
  return /* @__PURE__ */ n.createElement(O, { ..._ }, /* @__PURE__ */ n.createElement(
10151
10151
  Zt,
10152
10152
  {
@@ -10175,7 +10175,7 @@ const ca = ({
10175
10175
  selectedDays: [d == null ? void 0 : d.from, d],
10176
10176
  renderDay: M,
10177
10177
  getTooltip: e,
10178
- onDayClick: (V, G, R) => m(V, G, R, !0),
10178
+ onDayClick: (V, D, R) => m(V, D, R, !0),
10179
10179
  onMonthChange: h,
10180
10180
  onTodayButtonClick: E,
10181
10181
  ...w
@@ -10197,7 +10197,7 @@ const ca = ({
10197
10197
  selectedDays: g ? [] : d,
10198
10198
  renderDay: F,
10199
10199
  getTooltip: e,
10200
- onDayClick: (V, G, R) => m(V, G, R, !1),
10200
+ onDayClick: (V, D, R) => m(V, D, R, !1),
10201
10201
  onMonthChange: v,
10202
10202
  onTodayButtonClick: E,
10203
10203
  ...w
@@ -10270,39 +10270,39 @@ const St = {
10270
10270
  Pe(() => {
10271
10271
  l == null || l(b);
10272
10272
  }, [b, l]);
10273
- const G = (D, P, ne) => {
10273
+ const D = (G, P, ne) => {
10274
10274
  if (F)
10275
10275
  return;
10276
10276
  const le = w ? N().tz(w).toDate() : new Date();
10277
- P.disabled || R(le) ? (k(le), l == null || l(le)) : i(D, P, ne);
10278
- }, R = (D) => f1(a) ? a.some((P) => N(P).isSame(D, "day")) : (g1(a), a(D)), W = (D, P) => {
10279
- k(P.from), I(P.from), i(P, u, null);
10280
- }, z = (D) => {
10281
- k(D), l == null || l(D);
10282
- }, O = (D) => {
10283
- I(D), l == null || l(D);
10284
- }, _ = (D) => {
10285
- y(D), l == null || l(D);
10286
- }, $ = (D, P, ne) => {
10277
+ P.disabled || R(le) ? (k(le), l == null || l(le)) : i(G, P, ne);
10278
+ }, R = (G) => f1(a) ? a.some((P) => N(P).isSame(G, "day")) : (g1(a), a(G)), W = (G, P) => {
10279
+ k(P.from), I(P.from), i({ ...P, rangeName: G }, u, null);
10280
+ }, z = (G) => {
10281
+ k(G), l == null || l(G);
10282
+ }, O = (G) => {
10283
+ I(G), l == null || l(G);
10284
+ }, _ = (G) => {
10285
+ y(G), l == null || l(G);
10286
+ }, $ = (G, P, ne) => {
10287
10287
  if (!P.disabled)
10288
- if (N(t == null ? void 0 : t.from).isSame(D, "month") && O(D), M(""), F)
10288
+ if (N(t == null ? void 0 : t.from).isSame(G, "month") && O(G), M(""), F)
10289
10289
  if (V)
10290
- i({ from: D, to: null }, P, ne);
10291
- else if (t && (t.from || t.to) && (t.from || t.to).getTime() === D.getTime()) {
10292
- const le = N(D).startOf("day").toDate(), ve = N(D).endOf("day").toDate();
10290
+ i({ from: G, to: null }, P, ne);
10291
+ else if (t && (t.from || t.to) && (t.from || t.to).getTime() === G.getTime()) {
10292
+ const le = N(G).startOf("day").toDate(), ve = N(G).endOf("day").toDate();
10293
10293
  i({ from: le, to: ve }, P, ne);
10294
10294
  } else
10295
- i(xa.addDayToRange(D, t), P, ne);
10295
+ i(xa.addDayToRange(G, t), P, ne);
10296
10296
  else
10297
- i(D, P, ne);
10298
- }, ee = r && b ? ({ date: D }) => /* @__PURE__ */ n.createElement(pr, { date: D, currentMonth: b, onChange: z }) : void 0, K = (D) => {
10299
- const P = v == null ? void 0 : v(D), ne = R(D);
10297
+ i(G, P, ne);
10298
+ }, ee = r && b ? ({ date: G }) => /* @__PURE__ */ n.createElement(pr, { date: G, currentMonth: b, onChange: z }) : void 0, K = (G) => {
10299
+ const P = v == null ? void 0 : v(G), ne = R(G);
10300
10300
  return P ? /* @__PURE__ */ n.createElement(_t, { placement: "top", content: P }, /* @__PURE__ */ n.createElement(
10301
10301
  Zt,
10302
10302
  {
10303
10303
  disabled: ne,
10304
10304
  selectedDate: t,
10305
- date: D,
10305
+ date: G,
10306
10306
  getContent: o,
10307
10307
  currentMonth: b
10308
10308
  }
@@ -10311,7 +10311,7 @@ const St = {
10311
10311
  {
10312
10312
  disabled: ne,
10313
10313
  selectedDate: t,
10314
- date: D,
10314
+ date: G,
10315
10315
  getContent: o,
10316
10316
  currentMonth: b
10317
10317
  }
@@ -10340,7 +10340,7 @@ const St = {
10340
10340
  handleDayClick: $,
10341
10341
  handleStartMonthChange: O,
10342
10342
  handleEndMonthChange: _,
10343
- handleTodayClick: G,
10343
+ handleTodayClick: D,
10344
10344
  selectedDays: q,
10345
10345
  ...g
10346
10346
  }
@@ -10363,10 +10363,10 @@ const St = {
10363
10363
  navbarElement: Xt,
10364
10364
  onDayClick: $,
10365
10365
  onMonthChange: z,
10366
- onTodayButtonClick: G,
10366
+ onTodayButtonClick: D,
10367
10367
  ...g
10368
10368
  }
10369
- )), h.Footer ? /* @__PURE__ */ n.createElement(h.Footer, null) : null, ie && m && /* @__PURE__ */ n.createElement("div", { className: "ml-auto w-6/12 pl-5 pr-10 pb-5" }, /* @__PURE__ */ n.createElement(
10369
+ )), h.Footer ? /* @__PURE__ */ n.createElement(h.Footer, null) : null, ie && m && /* @__PURE__ */ n.createElement("div", { className: "ml-auto w-6/12 pb-5 pl-5 pr-10" }, /* @__PURE__ */ n.createElement(
10370
10370
  la,
10371
10371
  {
10372
10372
  value: A,
@@ -10483,9 +10483,9 @@ var ma = { exports: {} };
10483
10483
  function w(g) {
10484
10484
  var f, b;
10485
10485
  f = g, b = s && s.formats;
10486
- for (var k = (g = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(F, V, G) {
10487
- var R = G && G.toUpperCase();
10488
- return V || b[G] || o[G] || b[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(W, z, O) {
10486
+ for (var k = (g = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(F, V, D) {
10487
+ var R = D && D.toUpperCase();
10488
+ return V || b[D] || o[D] || b[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(W, z, O) {
10489
10489
  return z || O.slice(1);
10490
10490
  });
10491
10491
  })).match(a), L = k.length, I = 0; I < L; I += 1) {
@@ -10493,8 +10493,8 @@ var ma = { exports: {} };
10493
10493
  k[I] = M ? { regex: A, parser: M } : x.replace(/^\[|\]$/g, "");
10494
10494
  }
10495
10495
  return function(F) {
10496
- for (var V = {}, G = 0, R = 0; G < L; G += 1) {
10497
- var W = k[G];
10496
+ for (var V = {}, D = 0, R = 0; D < L; D += 1) {
10497
+ var W = k[D];
10498
10498
  if (typeof W == "string")
10499
10499
  R += W.length;
10500
10500
  else {
@@ -10519,19 +10519,19 @@ var ma = { exports: {} };
10519
10519
  this.$u = y;
10520
10520
  var M = A[1];
10521
10521
  if (typeof M == "string") {
10522
- var F = A[2] === !0, V = A[3] === !0, G = F || V, R = A[2];
10522
+ var F = A[2] === !0, V = A[3] === !0, D = F || V, R = A[2];
10523
10523
  V && (R = A[2]), s = this.$locale(), !F && R && (s = b.Ls[R]), this.$d = function(_, $, ee) {
10524
10524
  try {
10525
10525
  if (["x", "X"].indexOf($) > -1)
10526
10526
  return new Date(($ === "X" ? 1e3 : 1) * _);
10527
- var K = w($)(_), te = K.year, ie = K.month, q = K.day, j = K.hours, re = K.minutes, D = K.seconds, P = K.milliseconds, ne = K.zone, le = new Date(), ve = q || (te || ie ? 1 : le.getDate()), Re = te || le.getFullYear(), Ae = 0;
10527
+ var K = w($)(_), te = K.year, ie = K.month, q = K.day, j = K.hours, re = K.minutes, G = K.seconds, P = K.milliseconds, ne = K.zone, le = new Date(), ve = q || (te || ie ? 1 : le.getDate()), Re = te || le.getFullYear(), Ae = 0;
10528
10528
  te && !ie || (Ae = ie > 0 ? ie - 1 : le.getMonth());
10529
- var B = j || 0, Me = re || 0, we = D || 0, Fe = P || 0;
10529
+ var B = j || 0, Me = re || 0, we = G || 0, Fe = P || 0;
10530
10530
  return ne ? new Date(Date.UTC(Re, Ae, ve, B, Me, we, Fe + 60 * ne.offset * 1e3)) : ee ? new Date(Date.UTC(Re, Ae, ve, B, Me, we, Fe)) : new Date(Re, Ae, ve, B, Me, we, Fe);
10531
10531
  } catch {
10532
10532
  return new Date("");
10533
10533
  }
10534
- }(x, M, y), this.init(), R && R !== !0 && (this.$L = this.locale(R).$L), G && x != this.format(M) && (this.$d = new Date("")), s = {};
10534
+ }(x, M, y), this.init(), R && R !== !0 && (this.$L = this.locale(R).$L), D && x != this.format(M) && (this.$d = new Date("")), s = {};
10535
10535
  } else if (M instanceof Array)
10536
10536
  for (var W = M.length, z = 1; z <= W; z += 1) {
10537
10537
  A[1] = M[z - 1];