@xola/ui-kit 2.1.8 → 2.1.10

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
@@ -1,7 +1,7 @@
1
1
  import { Transition as Ce, Dialog as qe, Switch as kn } from "@headlessui/react";
2
2
  import c from "prop-types";
3
3
  import * as j from "react";
4
- import n, { useState as te, useEffect as We, cloneElement as ht, Fragment as fe, Children as Se, createContext as ft, useRef as de, useCallback as ae, useMemo as Ne, useContext as Te, useLayoutEffect as co, forwardRef as An, createElement as Oe, Component as o1 } from "react";
4
+ import n, { useState as te, useEffect as Te, cloneElement as ht, Fragment as fe, Children as Se, createContext as ft, useRef as de, useCallback as ae, useMemo as Ne, useContext as Ve, useLayoutEffect as co, forwardRef as An, createElement as He, Component as o1 } from "react";
5
5
  import I from "clsx";
6
6
  import Ln from "@tippyjs/react";
7
7
  import { followCursor as uo } from "tippy.js";
@@ -215,7 +215,7 @@ const v1 = {
215
215
  ...s
216
216
  }) => {
217
217
  const [u, d] = te(!1);
218
- We(() => {
218
+ Te(() => {
219
219
  if (o && !t) {
220
220
  d(!0);
221
221
  const g = setTimeout(() => d(!1), 3e3);
@@ -516,7 +516,7 @@ const un = ({ isOpen: e = !1, title: t, content: o, onClose: a, classNames: r =
516
516
  leaveFrom: "translate-x-0",
517
517
  leaveTo: i === "right" ? "translate-x-full" : "-translate-x-full"
518
518
  }, /* @__PURE__ */ n.createElement("div", {
519
- className: "flex w-screen max-w-xl md:max-w-screen-md"
519
+ className: "flex w-screen md:max-w-screen-md 2xl:max-w-screen-lg"
520
520
  }, i === "right" ? /* @__PURE__ */ n.createElement(hr, {
521
521
  onClose: a
522
522
  }) : null, /* @__PURE__ */ n.createElement("div", {
@@ -733,9 +733,9 @@ Rn.propTypes = {
733
733
  };
734
734
  const N1 = {
735
735
  background: "linear-gradient(138.65deg, #583DFF 19.59%, #F849C7 62.96%, #FFC03D 97.07%)"
736
- }, Ve = ({ logo: e, children: t, className: o, footer: a, notifications: r, isFixed: i = !0, onLogoClick: l }) => {
736
+ }, Re = ({ logo: e, children: t, className: o, footer: a, notifications: r, isFixed: i = !0, onLogoClick: l }) => {
737
737
  const [s, u] = te(!1), [d, m] = te(!1);
738
- We(() => {
738
+ Te(() => {
739
739
  u(!1), m(!1);
740
740
  }, [r]);
741
741
  const g = () => {
@@ -795,7 +795,7 @@ const N1 = {
795
795
  className: "flex-grow space-y-2"
796
796
  }, t), a);
797
797
  };
798
- Ve.propTypes = {
798
+ Re.propTypes = {
799
799
  logo: c.node,
800
800
  children: c.node.isRequired,
801
801
  className: c.string,
@@ -818,13 +818,13 @@ Ve.propTypes = {
818
818
  })
819
819
  })
820
820
  };
821
- Ve.Account = Nn;
822
- Ve.Button = Bn;
823
- Ve.Footer = Fn;
824
- Ve.Link = Tn;
825
- Ve.Separator = Vn;
826
- Ve.Menu = Rn;
827
- Ve.Heading = Sn;
821
+ Re.Account = Nn;
822
+ Re.Button = Bn;
823
+ Re.Footer = Fn;
824
+ Re.Link = Tn;
825
+ Re.Separator = Vn;
826
+ Re.Menu = Rn;
827
+ Re.Heading = Sn;
828
828
  const Gn = ({ children: e, className: t, content: o, ...a }) => /* @__PURE__ */ n.createElement(Ln, {
829
829
  content: o,
830
830
  ...a,
@@ -1141,12 +1141,12 @@ St.propTypes = {
1141
1141
  src: c.string.isRequired,
1142
1142
  size: c.string
1143
1143
  };
1144
- var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1144
+ var Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1145
1145
  function V1(e) {
1146
1146
  var t = typeof e;
1147
1147
  return e != null && (t == "object" || t == "function");
1148
1148
  }
1149
- var No = V1, R1 = typeof ze == "object" && ze && ze.Object === Object && ze, G1 = R1, D1 = G1, z1 = typeof self == "object" && self && self.Object === Object && self, O1 = D1 || z1 || Function("return this")(), Bo = O1, H1 = Bo, W1 = function() {
1149
+ var No = V1, R1 = typeof Oe == "object" && Oe && Oe.Object === Object && Oe, G1 = R1, D1 = G1, z1 = typeof self == "object" && self && self.Object === Object && self, O1 = D1 || z1 || Function("return this")(), Bo = O1, H1 = Bo, W1 = function() {
1150
1150
  return H1.Date.now();
1151
1151
  }, j1 = W1, P1 = /\s/;
1152
1152
  function Z1(e) {
@@ -1262,11 +1262,11 @@ const To = ft({
1262
1262
  value: a
1263
1263
  }, e);
1264
1264
  }, dn = (e) => {
1265
- const { generateId: t } = Te(To), [o] = te(() => `${e}-${t()}`);
1265
+ const { generateId: t } = Ve(To), [o] = te(() => `${e}-${t()}`);
1266
1266
  return o;
1267
1267
  }, Ri = () => {
1268
1268
  const [e, t] = te(!1);
1269
- return We(() => {
1269
+ return Te(() => {
1270
1270
  t(!0);
1271
1271
  }, []), e;
1272
1272
  }, Vo = p((e) => /* @__PURE__ */ n.createElement("svg", {
@@ -1283,7 +1283,7 @@ const To = ft({
1283
1283
  strokeLinejoin: "round"
1284
1284
  })));
1285
1285
  Vo.tags = ["magnifying glass"];
1286
- const De = ({ char: e, className: t, ...o }) => {
1286
+ const ze = ({ char: e, className: t, ...o }) => {
1287
1287
  var r;
1288
1288
  const a = (r = Gi[e]) != null ? r : e;
1289
1289
  return /* @__PURE__ */ n.createElement("div", {
@@ -1302,7 +1302,7 @@ const De = ({ char: e, className: t, ...o }) => {
1302
1302
  up: "\u2191",
1303
1303
  down: "\u2193"
1304
1304
  };
1305
- De.propTypes = {
1305
+ ze.propTypes = {
1306
1306
  char: c.string.isRequired,
1307
1307
  className: c.string
1308
1308
  };
@@ -1341,7 +1341,7 @@ const Di = Ti((e, t) => e(t), 500), Ro = ({
1341
1341
  defaultHighlightedIndex: 0,
1342
1342
  onSelectedItemChange: N
1343
1343
  });
1344
- We(() => {
1344
+ Te(() => {
1345
1345
  P ? E(!1) : setTimeout(() => E(!0), 1);
1346
1346
  }, [P, E]);
1347
1347
  const R = () => {
@@ -1376,9 +1376,9 @@ const Di = Ti((e, t) => e(t), 500), Ro = ({
1376
1376
  })
1377
1377
  }), /* @__PURE__ */ n.createElement("div", {
1378
1378
  className: "pointer-events-none absolute inset-y-0 right-0 hidden items-center space-x-1 pr-3 lg:flex"
1379
- }, C && w ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(De, {
1379
+ }, C && w ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(ze, {
1380
1380
  char: "cmd"
1381
- }), " ", /* @__PURE__ */ n.createElement(De, {
1381
+ }), " ", /* @__PURE__ */ n.createElement(ze, {
1382
1382
  char: "K"
1383
1383
  })) : null)), /* @__PURE__ */ n.createElement("ul", {
1384
1384
  ...D({
@@ -1407,20 +1407,20 @@ const Di = Ti((e, t) => e(t), 500), Ro = ({
1407
1407
  className: "search-footer pointer-events sticky bottom-0 flex space-x-5 p-2 text-sm text-gray-dark"
1408
1408
  }, /* @__PURE__ */ n.createElement("span", {
1409
1409
  className: "flex items-center"
1410
- }, /* @__PURE__ */ n.createElement(De, {
1410
+ }, /* @__PURE__ */ n.createElement(ze, {
1411
1411
  char: "up",
1412
1412
  className: "mr-0.5"
1413
- }), /* @__PURE__ */ n.createElement(De, {
1413
+ }), /* @__PURE__ */ n.createElement(ze, {
1414
1414
  char: "down",
1415
1415
  className: "mr-2"
1416
1416
  }), " to navigate"), /* @__PURE__ */ n.createElement("span", {
1417
1417
  className: "flex items-center"
1418
- }, /* @__PURE__ */ n.createElement(De, {
1418
+ }, /* @__PURE__ */ n.createElement(ze, {
1419
1419
  char: "enter",
1420
1420
  className: "mr-2"
1421
1421
  }), " to submit"), /* @__PURE__ */ n.createElement("span", {
1422
1422
  className: "flex items-center"
1423
- }, /* @__PURE__ */ n.createElement(De, {
1423
+ }, /* @__PURE__ */ n.createElement(ze, {
1424
1424
  char: "esc",
1425
1425
  className: "mr-2"
1426
1426
  }), " to close")) : null));
@@ -1561,7 +1561,7 @@ Pe.propTypes = {
1561
1561
  currency: c.string.isRequired
1562
1562
  };
1563
1563
  const Ho = ({ children: e, info: t, methodIcon: o, secondary: a, value: r, className: i, color: l = "default", ...s }) => {
1564
- const u = Te(Jn);
1564
+ const u = Ve(Jn);
1565
1565
  return /* @__PURE__ */ n.createElement("tr", {
1566
1566
  className: I("ui-breakdown-item", Xt[l], i),
1567
1567
  ...s
@@ -1595,7 +1595,7 @@ Ho.propTypes = {
1595
1595
  Pe.Item = Ho;
1596
1596
  Pe.Item.displayName = "Breakdown.Item";
1597
1597
  const Wo = ({ children: e, info: t, value: o, className: a, color: r = "black", ...i }) => {
1598
- const l = Te(Jn);
1598
+ const l = Ve(Jn);
1599
1599
  return /* @__PURE__ */ n.createElement("tr", {
1600
1600
  className: I("ui-breakdown-subtotal-item", "font-bold", Xt[r], a),
1601
1601
  ...i
@@ -2615,13 +2615,13 @@ function Vs() {
2615
2615
  function Ee(M) {
2616
2616
  return A(M) === i;
2617
2617
  }
2618
- function Re(M) {
2618
+ function Ge(M) {
2619
2619
  return A(M) === r;
2620
2620
  }
2621
2621
  function Le(M) {
2622
2622
  return A(M) === g;
2623
2623
  }
2624
- J.AsyncMode = E, J.ConcurrentMode = k, J.ContextConsumer = L, J.ContextProvider = N, J.Element = V, J.ForwardRef = P, J.Fragment = X, J.Lazy = D, J.Memo = Q, J.Portal = H, J.Profiler = z, J.StrictMode = $, J.Suspense = B, J.isAsyncMode = O, J.isConcurrentMode = q, J.isContextConsumer = ne, J.isContextProvider = W, J.isElement = _, J.isForwardRef = ge, J.isFragment = he, J.isLazy = ue, J.isMemo = ce, J.isPortal = ve, J.isProfiler = Ee, J.isStrictMode = Re, J.isSuspense = Le, J.isValidElementType = C, J.typeOf = A;
2624
+ J.AsyncMode = E, J.ConcurrentMode = k, J.ContextConsumer = L, J.ContextProvider = N, J.Element = V, J.ForwardRef = P, J.Fragment = X, J.Lazy = D, J.Memo = Q, J.Portal = H, J.Profiler = z, J.StrictMode = $, J.Suspense = B, J.isAsyncMode = O, J.isConcurrentMode = q, J.isContextConsumer = ne, J.isContextProvider = W, J.isElement = _, J.isForwardRef = ge, J.isFragment = he, J.isLazy = ue, J.isMemo = ce, J.isPortal = ve, J.isProfiler = Ee, J.isStrictMode = Ge, J.isSuspense = Le, J.isValidElementType = C, J.typeOf = A;
2625
2625
  }()), J;
2626
2626
  }
2627
2627
  (function(e) {
@@ -2892,7 +2892,7 @@ process.env.NODE_ENV !== "production" && (nr.displayName = "EmotionCacheContext"
2892
2892
  nr.Provider;
2893
2893
  var rr = function(t) {
2894
2894
  return /* @__PURE__ */ An(function(o, a) {
2895
- var r = Te(nr);
2895
+ var r = Ve(nr);
2896
2896
  return t(o, r, a);
2897
2897
  });
2898
2898
  }, Qt = /* @__PURE__ */ ft({});
@@ -2939,7 +2939,7 @@ var Rr = function(t) {
2939
2939
  typeof a == "string" && t.registered[a] !== void 0 && (a = t.registered[a]);
2940
2940
  var r = e[vn], i = [a], l = "";
2941
2941
  typeof e.className == "string" ? l = ta(t.registered, i, e.className) : e.className != null && (l = e.className + " ");
2942
- var s = pt(i, void 0, Te(Qt));
2942
+ var s = pt(i, void 0, Ve(Qt));
2943
2943
  if (process.env.NODE_ENV !== "production" && s.name.indexOf("-") === -1) {
2944
2944
  var u = e[bn];
2945
2945
  u && (s = pt([s, "label:" + u + ";"]));
@@ -2948,11 +2948,11 @@ var Rr = function(t) {
2948
2948
  var d = {};
2949
2949
  for (var m in e)
2950
2950
  tr.call(e, m) && m !== "css" && m !== vn && (process.env.NODE_ENV === "production" || m !== bn) && (d[m] = e[m]);
2951
- return d.ref = o, d.className = l, /* @__PURE__ */ Oe(fe, null, /* @__PURE__ */ Oe(e0, {
2951
+ return d.ref = o, d.className = l, /* @__PURE__ */ He(fe, null, /* @__PURE__ */ He(e0, {
2952
2952
  cache: t,
2953
2953
  serialized: s,
2954
2954
  isStringTag: typeof r == "string"
2955
- }), /* @__PURE__ */ Oe(r, d));
2955
+ }), /* @__PURE__ */ He(r, d));
2956
2956
  });
2957
2957
  process.env.NODE_ENV !== "production" && (sa.displayName = "EmotionCssPropInternal");
2958
2958
  var t0 = {
@@ -3079,15 +3079,15 @@ var t0 = {
3079
3079
  }, F = function(t, o) {
3080
3080
  var a = arguments;
3081
3081
  if (o == null || !tr.call(o, "css"))
3082
- return Oe.apply(void 0, a);
3082
+ return He.apply(void 0, a);
3083
3083
  var r = a.length, i = new Array(r);
3084
3084
  i[0] = sa, i[1] = $s(t, o);
3085
3085
  for (var l = 2; l < r; l++)
3086
3086
  i[l] = a[l];
3087
- return Oe.apply(null, i);
3087
+ return He.apply(null, i);
3088
3088
  }, Gr = !1, n0 = /* @__PURE__ */ rr(function(e, t) {
3089
3089
  process.env.NODE_ENV !== "production" && !Gr && (e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), Gr = !0);
3090
- var o = e.styles, a = pt([o], void 0, Te(Qt)), r = de();
3090
+ var o = e.styles, a = pt([o], void 0, Ve(Qt)), r = de();
3091
3091
  return Vr(function() {
3092
3092
  var i = t.key + "-global", l = new t.sheet.constructor({
3093
3093
  key: i,
@@ -3180,9 +3180,9 @@ var i0 = function(t) {
3180
3180
  }, l = {
3181
3181
  css: r,
3182
3182
  cx: i,
3183
- theme: Te(Qt)
3183
+ theme: Ve(Qt)
3184
3184
  }, s = e.children(l);
3185
- return o = !0, /* @__PURE__ */ Oe(fe, null, /* @__PURE__ */ Oe(i0, {
3185
+ return o = !0, /* @__PURE__ */ He(fe, null, /* @__PURE__ */ He(i0, {
3186
3186
  cache: t,
3187
3187
  serializedArr: a
3188
3188
  }), s);
@@ -3272,7 +3272,7 @@ function g0() {
3272
3272
  function ua(e) {
3273
3273
  return e instanceof Ye(e).HTMLElement;
3274
3274
  }
3275
- function He(e) {
3275
+ function We(e) {
3276
3276
  return e instanceof Ye(e).Element;
3277
3277
  }
3278
3278
  function da(e) {
@@ -3304,7 +3304,7 @@ const Wr = Math.round, wn = {
3304
3304
  y: 1
3305
3305
  };
3306
3306
  function jr(e) {
3307
- const t = !He(e) && e.contextElement ? e.contextElement : He(e) ? e : null;
3307
+ const t = !We(e) && e.contextElement ? e.contextElement : We(e) ? e : null;
3308
3308
  if (!t)
3309
3309
  return wn;
3310
3310
  const o = t.getBoundingClientRect(), a = la(t);
@@ -3324,8 +3324,8 @@ function Pr(e, t, o, a) {
3324
3324
  t === void 0 && (t = !1), o === void 0 && (o = !1);
3325
3325
  const u = e.getBoundingClientRect();
3326
3326
  let d = wn;
3327
- t && (a ? He(a) && (d = jr(a)) : d = jr(e));
3328
- const m = He(e) ? Ye(e) : window, g = !h0() && o, w = (u.left + (g && (r = (i = m.visualViewport) == null ? void 0 : i.offsetLeft) != null ? r : 0)) / d.x, x = (u.top + (g && (l = (s = m.visualViewport) == null ? void 0 : s.offsetTop) != null ? l : 0)) / d.y, v = u.width / d.x, h = u.height / d.y;
3327
+ t && (a ? We(a) && (d = jr(a)) : d = jr(e));
3328
+ const m = We(e) ? Ye(e) : window, g = !h0() && o, w = (u.left + (g && (r = (i = m.visualViewport) == null ? void 0 : i.offsetLeft) != null ? r : 0)) / d.x, x = (u.top + (g && (l = (s = m.visualViewport) == null ? void 0 : s.offsetTop) != null ? l : 0)) / d.y, v = u.width / d.x, h = u.height / d.y;
3329
3329
  return {
3330
3330
  width: v,
3331
3331
  height: h,
@@ -3363,7 +3363,7 @@ function w0(e, t, o, a) {
3363
3363
  ancestorResize: i = !0,
3364
3364
  elementResize: l = !0,
3365
3365
  animationFrame: s = !1
3366
- } = a, u = r && !s, d = u || i ? [...He(e) ? Nt(e) : e.contextElement ? Nt(e.contextElement) : [], ...Nt(t)] : [];
3366
+ } = a, u = r && !s, d = u || i ? [...We(e) ? Nt(e) : e.contextElement ? Nt(e.contextElement) : [], ...Nt(t)] : [];
3367
3367
  d.forEach((v) => {
3368
3368
  u && v.addEventListener("scroll", o, {
3369
3369
  passive: !0
@@ -3374,7 +3374,7 @@ function w0(e, t, o, a) {
3374
3374
  let v = !0;
3375
3375
  m = new ResizeObserver(() => {
3376
3376
  v || o(), v = !1;
3377
- }), He(e) && !s && m.observe(e), !He(e) && e.contextElement && !s && m.observe(e.contextElement), m.observe(t);
3377
+ }), We(e) && !s && m.observe(e), !We(e) && e.contextElement && !s && m.observe(e.contextElement), m.observe(t);
3378
3378
  }
3379
3379
  let g, w = s ? Pr(e) : null;
3380
3380
  s && x();
@@ -3604,7 +3604,7 @@ var va = function(t) {
3604
3604
  marginTop: s.menuGutter
3605
3605
  });
3606
3606
  }, ba = /* @__PURE__ */ ft(null), G0 = function(t) {
3607
- var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = Te(ba) || {}, m = d.setPortalPlacement, g = de(null), w = te(r), x = Be(w, 2), v = x[0], h = x[1], f = te(null), b = Be(f, 2), y = b[0], C = b[1], A = u.spacing.controlHeight;
3607
+ var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = Ve(ba) || {}, m = d.setPortalPlacement, g = de(null), w = te(r), x = Be(w, 2), v = x[0], h = x[1], f = te(null), b = Be(f, 2), y = b[0], C = b[1], A = u.spacing.controlHeight;
3608
3608
  return xn(function() {
3609
3609
  var E = g.current;
3610
3610
  if (!!E) {
@@ -4688,7 +4688,7 @@ function Ul(e) {
4688
4688
  }, [x, w, g]), h = ae(function(f) {
4689
4689
  !f || (f.removeEventListener("wheel", g, !1), f.removeEventListener("touchstart", w, !1), f.removeEventListener("touchmove", x, !1));
4690
4690
  }, [x, w, g]);
4691
- return We(function() {
4691
+ return Te(function() {
4692
4692
  if (!!t) {
4693
4693
  var f = d.current;
4694
4694
  return v(f), function() {
@@ -4747,7 +4747,7 @@ function Ql(e) {
4747
4747
  }), d && to() && (d.removeEventListener("touchmove", _r, Ue), u && (u.removeEventListener("touchstart", eo, Ue), u.removeEventListener("touchmove", $r, Ue)));
4748
4748
  }
4749
4749
  }, [a]);
4750
- return We(function() {
4750
+ return Te(function() {
4751
4751
  if (!!t) {
4752
4752
  var u = i.current;
4753
4753
  return l(u), function() {
@@ -5658,7 +5658,7 @@ var Oa = function(t) {
5658
5658
  if (!L)
5659
5659
  return null;
5660
5660
  var $ = function(_, ge) {
5661
- var he = _.type, ue = _.data, ce = _.isDisabled, ve = _.isSelected, Ee = _.label, Re = _.value, Le = h === ue, M = ce ? void 0 : function() {
5661
+ var he = _.type, ue = _.data, ce = _.isDisabled, ve = _.isSelected, Ee = _.label, Ge = _.value, Le = h === ue, M = ce ? void 0 : function() {
5662
5662
  return r.onOptionHover(ue);
5663
5663
  }, Me = ce ? void 0 : function() {
5664
5664
  return r.selectOption(ue);
@@ -5677,7 +5677,7 @@ var Oa = function(t) {
5677
5677
  key: be,
5678
5678
  label: Ee,
5679
5679
  type: he,
5680
- value: Re,
5680
+ value: Ge,
5681
5681
  isFocused: Le,
5682
5682
  innerRef: Le ? r.getFocusedOptionRef : void 0
5683
5683
  }), r.formatOptionLabel(_.data, "menu"));
@@ -6695,7 +6695,7 @@ const Bt = {
6695
6695
  }) => {
6696
6696
  var z, $;
6697
6697
  const f = e === Bt.single ? t : t.from, [b, y] = te(f), [C, A] = te(""), E = e === Bt.range;
6698
- We(() => {
6698
+ Te(() => {
6699
6699
  l == null || l(b);
6700
6700
  }, [b, l]);
6701
6701
  const k = (B, R, O) => {
@@ -6816,7 +6816,7 @@ var Qa = { exports: {} };
6816
6816
  (function(e, t) {
6817
6817
  (function(o, a) {
6818
6818
  e.exports = a();
6819
- })(ze, function() {
6819
+ })(Oe, function() {
6820
6820
  var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
6821
6821
  return function(a, r, i) {
6822
6822
  var l = r.prototype, s = l.format;
@@ -6840,7 +6840,7 @@ var qa = { exports: {} };
6840
6840
  (function(e, t) {
6841
6841
  (function(o, a) {
6842
6842
  e.exports = a();
6843
- })(ze, function() {
6843
+ })(Oe, function() {
6844
6844
  var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, i = /\d\d?/, l = /\d*[^\s\d-_:/()]+/, s = {}, u = function(h) {
6845
6845
  return (h = +h) + (h > 68 ? 1900 : 2e3);
6846
6846
  }, d = function(h) {
@@ -6942,10 +6942,10 @@ var qa = { exports: {} };
6942
6942
  try {
6943
6943
  if (["x", "X"].indexOf(B) > -1)
6944
6944
  return new Date((B === "X" ? 1e3 : 1) * $);
6945
- var O = v(B)($), q = O.year, ne = O.month, W = O.day, _ = O.hours, ge = O.minutes, he = O.seconds, ue = O.milliseconds, ce = O.zone, ve = new Date(), Ee = W || (q || ne ? 1 : ve.getDate()), Re = q || ve.getFullYear(), Le = 0;
6945
+ var O = v(B)($), q = O.year, ne = O.month, W = O.day, _ = O.hours, ge = O.minutes, he = O.seconds, ue = O.milliseconds, ce = O.zone, ve = new Date(), Ee = W || (q || ne ? 1 : ve.getDate()), Ge = q || ve.getFullYear(), Le = 0;
6946
6946
  q && !ne || (Le = ne > 0 ? ne - 1 : ve.getMonth());
6947
6947
  var M = _ || 0, Me = ge || 0, be = he || 0, Fe = ue || 0;
6948
- return ce ? new Date(Date.UTC(Re, Le, Ee, M, Me, be, Fe + 60 * ce.offset * 1e3)) : R ? new Date(Date.UTC(Re, Le, Ee, M, Me, be, Fe)) : new Date(Re, Le, Ee, M, Me, be, Fe);
6948
+ return ce ? new Date(Date.UTC(Ge, Le, Ee, M, Me, be, Fe + 60 * ce.offset * 1e3)) : R ? new Date(Date.UTC(Ge, Le, Ee, M, Me, be, Fe)) : new Date(Ge, Le, Ee, M, Me, be, Fe);
6949
6949
  } catch {
6950
6950
  return new Date("");
6951
6951
  }
@@ -6971,7 +6971,7 @@ var Ka = { exports: {} };
6971
6971
  (function(e, t) {
6972
6972
  (function(o, a) {
6973
6973
  e.exports = a();
6974
- })(ze, function() {
6974
+ })(Oe, function() {
6975
6975
  var o = "month", a = "quarter";
6976
6976
  return function(r, i) {
6977
6977
  var l = i.prototype;
@@ -7022,7 +7022,9 @@ const Vc = (e, t = "YYYY-MM-DD") => G(e).format(t), B4 = (e, t = "h:mm a") => {
7022
7022
  }, b = () => {
7023
7023
  a(m), v();
7024
7024
  };
7025
- return /* @__PURE__ */ n.createElement(Ae, {
7025
+ return Te(() => {
7026
+ g(e);
7027
+ }, [e]), /* @__PURE__ */ n.createElement(Ae, {
7026
7028
  visible: w,
7027
7029
  maxWidth: 900,
7028
7030
  distance: 18,
@@ -7816,7 +7818,7 @@ const T4 = (e) => /* @__PURE__ */ n.createElement("svg", {
7816
7818
  "7.5": "30px"
7817
7819
  }
7818
7820
  }
7819
- }, { colors: se } = ye, Ge = {
7821
+ }, { colors: se } = ye, De = {
7820
7822
  color: se.gray.darker,
7821
7823
  fontSize: ye.fontSize.sm,
7822
7824
  fontWeight: 400,
@@ -7843,12 +7845,12 @@ const T4 = (e) => /* @__PURE__ */ n.createElement("svg", {
7843
7845
  se.orange.darker
7844
7846
  ],
7845
7847
  xAxis: {
7846
- title: { style: Qe({}, Ge, { color: se.black }) },
7847
- labels: { style: Ge }
7848
+ title: { style: Qe({}, De, { color: se.black }) },
7849
+ labels: { style: De }
7848
7850
  },
7849
7851
  yAxis: {
7850
- title: { style: Qe({}, Ge, { color: se.black }) },
7851
- labels: { style: Ge }
7852
+ title: { style: Qe({}, De, { color: se.black }) },
7853
+ labels: { style: De }
7852
7854
  },
7853
7855
  tooltip: {
7854
7856
  enabled: !0,
@@ -7860,14 +7862,14 @@ const T4 = (e) => /* @__PURE__ */ n.createElement("svg", {
7860
7862
  crosshairs: [!0, !0],
7861
7863
  shadow: !1,
7862
7864
  useHTML: !0,
7863
- style: Qe({}, Ge, {
7865
+ style: Qe({}, De, {
7864
7866
  opacity: 0.9,
7865
7867
  color: "#cccccc"
7866
7868
  })
7867
7869
  },
7868
7870
  title: {
7869
7871
  text: "",
7870
- style: Qe({}, Ge, { color: se.black, fontSize: "18px", fontWeight: 600 })
7872
+ style: Qe({}, De, { color: se.black, fontSize: "18px", fontWeight: 600 })
7871
7873
  },
7872
7874
  plotOptions: {
7873
7875
  series: {
@@ -7885,7 +7887,7 @@ const T4 = (e) => /* @__PURE__ */ n.createElement("svg", {
7885
7887
  },
7886
7888
  legend: {
7887
7889
  enabled: !1,
7888
- itemStyle: Ge,
7890
+ itemStyle: De,
7889
7891
  itemMarginBottom: 5,
7890
7892
  align: "center",
7891
7893
  layout: "vertical",
@@ -11594,7 +11596,7 @@ export {
11594
11596
  Tt as Input,
11595
11597
  e2 as InstagramIcon,
11596
11598
  t2 as InvoiceIcon,
11597
- De as Key,
11599
+ ze as Key,
11598
11600
  w3 as KeyIcon,
11599
11601
  x3 as KioskIcon,
11600
11602
  In as Label,
@@ -11660,7 +11662,7 @@ export {
11660
11662
  S3 as ShareIcon,
11661
11663
  T3 as ShirtIcon,
11662
11664
  V2 as ShoppingBagIcon,
11663
- Ve as Sidebar,
11665
+ Re as Sidebar,
11664
11666
  Lc as Skeleton,
11665
11667
  p1 as SlideDown,
11666
11668
  R2 as SnapchatIcon,