@mesalvo/react-ui 0.0.38731 → 0.0.38827

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
- import { gF as i, gC as g, f_ as p, cQ as h, I as u, dd as f, cA as x, dI as m, ac as y } from "./index-B8kEMseY.js";
2
+ import { gF as i, gC as g, f_ as p, cQ as h, I as u, dd as f, cA as x, dI as m, ac as y } from "./index-a1tACKHw.js";
3
3
  const T = {
4
4
  BUMP: "bump",
5
5
  CHORE: "chore",
@@ -15,7 +15,7 @@ var bg = (e, t, n, r) => ({
15
15
  });
16
16
  import iSe, { jsxs as R, jsx as m, Fragment as cn } from "react/jsx-runtime";
17
17
  import * as P from "react";
18
- import K, { useState as ye, useRef as Ye, useEffect as je, useLayoutEffect as El, useContext as yn, createContext as so, useCallback as ke, useMemo as mt, useReducer as aSe, useDebugValue as V5, useId as pi, useInsertionEffect as tq, Children as nq, isValidElement as Bp, createElement as ls, Fragment as rq, forwardRef as Vr, Component as sSe, cloneElement as fv, useImperativeHandle as oq, Suspense as lSe, lazy as cSe } from "react";
18
+ import K, { useState as ve, useRef as Ye, useEffect as je, useLayoutEffect as El, useContext as yn, createContext as so, useCallback as ke, useMemo as mt, useReducer as aSe, useDebugValue as V5, useId as pi, useInsertionEffect as tq, Children as nq, isValidElement as Bp, createElement as ls, Fragment as rq, forwardRef as Vr, Component as sSe, cloneElement as fv, useImperativeHandle as oq, Suspense as lSe, lazy as cSe } from "react";
19
19
  import * as fm from "react-dom";
20
20
  import vc from "react-dom";
21
21
  function tDt(e) {
@@ -4298,7 +4298,7 @@ const MEe = (e, t) => {
4298
4298
  contentClassName: i,
4299
4299
  ...a
4300
4300
  }) => {
4301
- const [s, l] = ye(null), c = (u) => {
4301
+ const [s, l] = ve(null), c = (u) => {
4302
4302
  const f = s !== u;
4303
4303
  l((p) => p === u ? null : u), f && t[u]?.onExpand && setTimeout(() => {
4304
4304
  t[u].onExpand?.();
@@ -4984,7 +4984,7 @@ function $C(e, t) {
4984
4984
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
4985
4985
  }
4986
4986
  function y3e(e, t) {
4987
- var n = ye(function() {
4987
+ var n = ve(function() {
4988
4988
  return {
4989
4989
  // value
4990
4990
  value: e,
@@ -21801,19 +21801,19 @@ function o$e(e) {
21801
21801
  }
21802
21802
  const i$e = (e) => {
21803
21803
  var t, n, r, o, i, a, s, l, c;
21804
- const { invert: d, toast: u, unstyled: f, interacting: p, setHeights: h, visibleToasts: v, heights: y, index: b, toasts: S, expanded: C, removeToast: x, defaultRichColors: _, closeButton: T, style: O, cancelButtonStyle: E, actionButtonStyle: I, className: M = "", descriptionClassName: A = "", duration: D, position: j, gap: U, expandByDefault: $, classNames: z, icons: G, closeButtonAriaLabel: Y = "Close toast" } = e, [q, L] = K.useState(null), [X, B] = K.useState(null), [N, V] = K.useState(!1), [F, H] = K.useState(!1), [W, J] = K.useState(!1), [Z, Q] = K.useState(!1), [ie, ne] = K.useState(!1), [se, ae] = K.useState(0), [Me, be] = K.useState(0), Pe = K.useRef(u.duration || D || N7), ue = K.useRef(null), Ie = K.useRef(null), Ee = b === 0, He = b + 1 <= v, he = u.type, Ze = u.dismissible !== !1, Xe = u.className || "", St = u.descriptionClassName || "", oe = K.useMemo(() => y.findIndex((ve) => ve.toastId === u.id) || 0, [
21804
+ const { invert: d, toast: u, unstyled: f, interacting: p, setHeights: h, visibleToasts: v, heights: y, index: b, toasts: S, expanded: C, removeToast: x, defaultRichColors: _, closeButton: T, style: O, cancelButtonStyle: E, actionButtonStyle: I, className: M = "", descriptionClassName: A = "", duration: D, position: j, gap: U, expandByDefault: $, classNames: z, icons: G, closeButtonAriaLabel: Y = "Close toast" } = e, [q, L] = K.useState(null), [X, B] = K.useState(null), [N, V] = K.useState(!1), [F, H] = K.useState(!1), [W, J] = K.useState(!1), [Z, Q] = K.useState(!1), [ie, ne] = K.useState(!1), [se, ae] = K.useState(0), [Me, be] = K.useState(0), Pe = K.useRef(u.duration || D || N7), ue = K.useRef(null), Ie = K.useRef(null), Ee = b === 0, He = b + 1 <= v, he = u.type, Ze = u.dismissible !== !1, Xe = u.className || "", St = u.descriptionClassName || "", oe = K.useMemo(() => y.findIndex((ye) => ye.toastId === u.id) || 0, [
21805
21805
  y,
21806
21806
  u.id
21807
21807
  ]), de = K.useMemo(() => {
21808
- var ve;
21809
- return (ve = u.closeButton) != null ? ve : T;
21808
+ var ye;
21809
+ return (ye = u.closeButton) != null ? ye : T;
21810
21810
  }, [
21811
21811
  u.closeButton,
21812
21812
  T
21813
21813
  ]), we = K.useMemo(() => u.duration || D || N7, [
21814
21814
  u.duration,
21815
21815
  D
21816
- ]), Ne = K.useRef(0), ze = K.useRef(0), Re = K.useRef(0), ct = K.useRef(null), [jt, Gt] = j.split("-"), Rn = K.useMemo(() => y.reduce((ve, st, Ct) => Ct >= oe ? ve : ve + st.height, 0), [
21816
+ ]), Ne = K.useRef(0), ze = K.useRef(0), Re = K.useRef(0), ct = K.useRef(null), [jt, Gt] = j.split("-"), Rn = K.useMemo(() => y.reduce((ye, st, Ct) => Ct >= oe ? ye : ye + st.height, 0), [
21817
21817
  y,
21818
21818
  oe
21819
21819
  ]), Ut = V7e(), Yt = u.invert || d, Ae = he === "loading";
@@ -21827,9 +21827,9 @@ const i$e = (e) => {
21827
21827
  ]), K.useEffect(() => {
21828
21828
  V(!0);
21829
21829
  }, []), K.useEffect(() => {
21830
- const ve = Ie.current;
21831
- if (ve) {
21832
- const st = ve.getBoundingClientRect().height;
21830
+ const ye = Ie.current;
21831
+ if (ye) {
21832
+ const st = ye.getBoundingClientRect().height;
21833
21833
  return be(st), h((Ct) => [
21834
21834
  {
21835
21835
  toastId: u.id,
@@ -21844,10 +21844,10 @@ const i$e = (e) => {
21844
21844
  u.id
21845
21845
  ]), K.useLayoutEffect(() => {
21846
21846
  if (!N) return;
21847
- const ve = Ie.current, st = ve.style.height;
21848
- ve.style.height = "auto";
21849
- const Ct = ve.getBoundingClientRect().height;
21850
- ve.style.height = st, be(Ct), h((Ft) => Ft.find((Pt) => Pt.toastId === u.id) ? Ft.map((Pt) => Pt.toastId === u.id ? {
21847
+ const ye = Ie.current, st = ye.style.height;
21848
+ ye.style.height = "auto";
21849
+ const Ct = ye.getBoundingClientRect().height;
21850
+ ye.style.height = st, be(Ct), h((Ft) => Ft.find((Pt) => Pt.toastId === u.id) ? Ft.map((Pt) => Pt.toastId === u.id ? {
21851
21851
  ...Pt,
21852
21852
  height: Ct
21853
21853
  } : Pt) : [
@@ -21869,7 +21869,7 @@ const i$e = (e) => {
21869
21869
  u.cancel
21870
21870
  ]);
21871
21871
  const le = K.useCallback(() => {
21872
- H(!0), ae(ze.current), h((ve) => ve.filter((st) => st.toastId !== u.id)), setTimeout(() => {
21872
+ H(!0), ae(ze.current), h((ye) => ye.filter((st) => st.toastId !== u.id)), setTimeout(() => {
21873
21873
  x(u);
21874
21874
  }, r$e);
21875
21875
  }, [
@@ -21880,7 +21880,7 @@ const i$e = (e) => {
21880
21880
  ]);
21881
21881
  K.useEffect(() => {
21882
21882
  if (u.promise && he === "loading" || u.duration === 1 / 0 || u.type === "loading") return;
21883
- let ve;
21883
+ let ye;
21884
21884
  return C || p || Ut ? (() => {
21885
21885
  if (Re.current < Ne.current) {
21886
21886
  const Ft = (/* @__PURE__ */ new Date()).getTime() - Ne.current;
@@ -21888,10 +21888,10 @@ const i$e = (e) => {
21888
21888
  }
21889
21889
  Re.current = (/* @__PURE__ */ new Date()).getTime();
21890
21890
  })() : (() => {
21891
- Pe.current !== 1 / 0 && (Ne.current = (/* @__PURE__ */ new Date()).getTime(), ve = setTimeout(() => {
21891
+ Pe.current !== 1 / 0 && (Ne.current = (/* @__PURE__ */ new Date()).getTime(), ye = setTimeout(() => {
21892
21892
  u.onAutoClose == null || u.onAutoClose.call(u, u), le();
21893
21893
  }, Pe.current));
21894
- })(), () => clearTimeout(ve);
21894
+ })(), () => clearTimeout(ye);
21895
21895
  }, [
21896
21896
  C,
21897
21897
  p,
@@ -21906,7 +21906,7 @@ const i$e = (e) => {
21906
21906
  u.delete
21907
21907
  ]);
21908
21908
  function Te() {
21909
- var ve;
21909
+ var ye;
21910
21910
  if (G?.loading) {
21911
21911
  var st;
21912
21912
  return /* @__PURE__ */ K.createElement("div", {
@@ -21915,7 +21915,7 @@ const i$e = (e) => {
21915
21915
  }, G.loading);
21916
21916
  }
21917
21917
  return /* @__PURE__ */ K.createElement(U7e, {
21918
- className: Ki(z?.loader, u == null || (ve = u.classNames) == null ? void 0 : ve.loader),
21918
+ className: Ki(z?.loader, u == null || (ye = u.classNames) == null ? void 0 : ye.loader),
21919
21919
  visible: he === "loading"
21920
21920
  });
21921
21921
  }
@@ -21957,17 +21957,17 @@ const i$e = (e) => {
21957
21957
  onDragEnd: () => {
21958
21958
  J(!1), L(null), ct.current = null;
21959
21959
  },
21960
- onPointerDown: (ve) => {
21961
- ve.button !== 2 && (Ae || !Ze || (ue.current = /* @__PURE__ */ new Date(), ae(ze.current), ve.target.setPointerCapture(ve.pointerId), ve.target.tagName !== "BUTTON" && (J(!0), ct.current = {
21962
- x: ve.clientX,
21963
- y: ve.clientY
21960
+ onPointerDown: (ye) => {
21961
+ ye.button !== 2 && (Ae || !Ze || (ue.current = /* @__PURE__ */ new Date(), ae(ze.current), ye.target.setPointerCapture(ye.pointerId), ye.target.tagName !== "BUTTON" && (J(!0), ct.current = {
21962
+ x: ye.clientX,
21963
+ y: ye.clientY
21964
21964
  })));
21965
21965
  },
21966
21966
  onPointerUp: () => {
21967
- var ve, st, Ct;
21967
+ var ye, st, Ct;
21968
21968
  if (Z || !Ze) return;
21969
21969
  ct.current = null;
21970
- const Ft = Number(((ve = Ie.current) == null ? void 0 : ve.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), hn = Number(((st = Ie.current) == null ? void 0 : st.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Pt = (/* @__PURE__ */ new Date()).getTime() - ((Ct = ue.current) == null ? void 0 : Ct.getTime()), Jt = q === "x" ? Ft : hn, or = Math.abs(Jt) / Pt;
21970
+ const Ft = Number(((ye = Ie.current) == null ? void 0 : ye.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), hn = Number(((st = Ie.current) == null ? void 0 : st.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Pt = (/* @__PURE__ */ new Date()).getTime() - ((Ct = ue.current) == null ? void 0 : Ct.getTime()), Jt = q === "x" ? Ft : hn, or = Math.abs(Jt) / Pt;
21971
21971
  if (Math.abs(Jt) >= n$e || or > 0.11) {
21972
21972
  ae(ze.current), u.onDismiss == null || u.onDismiss.call(u, u), B(q === "x" ? Ft > 0 ? "right" : "left" : hn > 0 ? "down" : "up"), le(), Q(!0);
21973
21973
  return;
@@ -21977,10 +21977,10 @@ const i$e = (e) => {
21977
21977
  }
21978
21978
  ne(!1), J(!1), L(null);
21979
21979
  },
21980
- onPointerMove: (ve) => {
21980
+ onPointerMove: (ye) => {
21981
21981
  var st, Ct, Ft;
21982
21982
  if (!ct.current || !Ze || ((st = window.getSelection()) == null ? void 0 : st.toString().length) > 0) return;
21983
- const Pt = ve.clientY - ct.current.y, Jt = ve.clientX - ct.current.x;
21983
+ const Pt = ye.clientY - ct.current.y, Jt = ye.clientX - ct.current.x;
21984
21984
  var or;
21985
21985
  const Pn = (or = e.swipeDirections) != null ? or : o$e(j);
21986
21986
  !q && (Math.abs(Jt) > 1 || Math.abs(Pt) > 1) && L(Math.abs(Jt) > Math.abs(Pt) ? "x" : "y");
@@ -22031,16 +22031,16 @@ const i$e = (e) => {
22031
22031
  "data-button": !0,
22032
22032
  "data-cancel": !0,
22033
22033
  style: u.cancelButtonStyle || E,
22034
- onClick: (ve) => {
22035
- Rg(u.cancel) && Ze && (u.cancel.onClick == null || u.cancel.onClick.call(u.cancel, ve), le());
22034
+ onClick: (ye) => {
22035
+ Rg(u.cancel) && Ze && (u.cancel.onClick == null || u.cancel.onClick.call(u.cancel, ye), le());
22036
22036
  },
22037
22037
  className: Ki(z?.cancelButton, u == null || (l = u.classNames) == null ? void 0 : l.cancelButton)
22038
22038
  }, u.cancel.label) : null, /* @__PURE__ */ K.isValidElement(u.action) ? u.action : u.action && Rg(u.action) ? /* @__PURE__ */ K.createElement("button", {
22039
22039
  "data-button": !0,
22040
22040
  "data-action": !0,
22041
22041
  style: u.actionButtonStyle || I,
22042
- onClick: (ve) => {
22043
- Rg(u.action) && (u.action.onClick == null || u.action.onClick.call(u.action, ve), !ve.defaultPrevented && le());
22042
+ onClick: (ye) => {
22043
+ Rg(u.action) && (u.action.onClick == null || u.action.onClick.call(u.action, ye), !ye.defaultPrevented && le());
22044
22044
  },
22045
22045
  className: Ki(z?.actionButton, u == null || (c = u.classNames) == null ? void 0 : c.actionButton)
22046
22046
  }, u.action.label) : null);
@@ -22280,7 +22280,7 @@ Current value: "${t || "empty"}"
22280
22280
  Generate a professional, accurate suggestion based on the user's prompt.
22281
22281
  Return ONLY the suggested text, no explanations, markdown, or formatting.
22282
22282
  `, u$e = (e) => {
22283
- const [t, n] = ye(!1), [r, o] = ye(null);
22283
+ const [t, n] = ve(!1), [r, o] = ve(null);
22284
22284
  return {
22285
22285
  error: r,
22286
22286
  generateSuggestion: async ({
@@ -22776,7 +22776,7 @@ Return ONLY the suggested text, no explanations, markdown, or formatting.
22776
22776
  patientId: `${n}-patientId`,
22777
22777
  patientInfo: `${n}-patientInfo`,
22778
22778
  profileId: `${n}-profileId`
22779
- }, [o, i] = ye(() => GC(r.profileId)), [a, s] = ye(() => GC(r.locationId)), [l, c] = ye(() => GC(r.patientId)), [d, u] = ye(() => g$e(r.patientInfo)), y = {
22779
+ }, [o, i] = ve(() => GC(r.profileId)), [a, s] = ve(() => GC(r.locationId)), [l, c] = ve(() => GC(r.patientId)), [d, u] = ve(() => g$e(r.patientInfo)), y = {
22780
22780
  locationId: a,
22781
22781
  patientId: l,
22782
22782
  patientInfo: d,
@@ -22813,7 +22813,7 @@ Return ONLY the suggested text, no explanations, markdown, or formatting.
22813
22813
  dark: "dark",
22814
22814
  light: "light"
22815
22815
  }, Mb = () => {
22816
- const [e, t] = ye(w$e(xA()));
22816
+ const [e, t] = ve(w$e(xA()));
22817
22817
  je(() => {
22818
22818
  A7(e), $7(e);
22819
22819
  }, [e]), y$e({
@@ -23356,7 +23356,7 @@ function A$e(e, t) {
23356
23356
  } catch {
23357
23357
  return t;
23358
23358
  }
23359
- }, [t, e]), [r, o] = ye(n), i = R$e((s) => {
23359
+ }, [t, e]), [r, o] = ve(n), i = R$e((s) => {
23360
23360
  try {
23361
23361
  const l = s instanceof Function ? s(r) : s;
23362
23362
  window.localStorage.setItem(e, JSON.stringify(l)), o(l), window.dispatchEvent(new Event("local-storage"));
@@ -23483,7 +23483,7 @@ ${JSON.stringify(e, null, 2)}
23483
23483
  config: r,
23484
23484
  onChunk: o
23485
23485
  }) => {
23486
- const [i, a] = ye(!1), [s, l] = ye(null), { lang: c } = In();
23486
+ const [i, a] = ve(!1), [s, l] = ve(null), { lang: c } = In();
23487
23487
  return {
23488
23488
  error: s,
23489
23489
  generateSuggestions: async (u) => {
@@ -23602,7 +23602,7 @@ ${x.map((T, O) => `${O + 1}. ${T}: "${y[T]}"`).join(`
23602
23602
  isLoading: i
23603
23603
  };
23604
23604
  }, $g = jd.instance(), U$e = "mesalvo.userContext", z$e = (e) => {
23605
- const t = e?.key ?? U$e, [n, r] = ye(() => $g.getState());
23605
+ const t = e?.key ?? U$e, [n, r] = ve(() => $g.getState());
23606
23606
  return je(() => {
23607
23607
  r($g.getState());
23608
23608
  const o = () => {
@@ -23625,9 +23625,9 @@ function j$e({
23625
23625
  onSave: n,
23626
23626
  dataId: r
23627
23627
  }) {
23628
- const [o, i] = ye(!1), [a, s] = ye(null), [l, c] = ye(null), d = Ye(!0), u = Ye(null), f = Ye(r), p = Ye(null), h = Ye(JSON.stringify(e));
23628
+ const [o, i] = ve(!1), [a, s] = ve(null), [l, c] = ve(null), d = Ye(!0), u = Ye(null), f = Ye(r), p = Ye(null), h = Ye(JSON.stringify(e));
23629
23629
  r !== void 0 && r !== f.current && (s(null), c(null), i(!1), f.current = r, u.current = null, p.current = JSON.stringify(e));
23630
- const v = typeof t == "boolean" ? t : t?.enabled ?? !1, y = typeof t == "object" ? t : { enabled: !0 }, b = y.debounceMs ?? 2e3, [S, C] = ye(null);
23630
+ const v = typeof t == "boolean" ? t : t?.enabled ?? !1, y = typeof t == "object" ? t : { enabled: !0 }, b = y.debounceMs ?? 2e3, [S, C] = ve(null);
23631
23631
  return je(() => {
23632
23632
  const x = setTimeout(() => {
23633
23633
  const _ = JSON.stringify(e);
@@ -23672,7 +23672,7 @@ function j$e({
23672
23672
  };
23673
23673
  }
23674
23674
  function jm(e) {
23675
- const [t, n] = ye(!!e), r = ke(() => n(!0), []), o = ke(() => n(!1), []), i = ke(() => n((a) => !a), []);
23675
+ const [t, n] = ve(!!e), r = ke(() => n(!0), []), o = ke(() => n(!1), []), i = ke(() => n((a) => !a), []);
23676
23676
  return { setFalse: o, setTrue: r, setValue: n, toggle: i, value: t };
23677
23677
  }
23678
23678
  const F$e = {
@@ -23685,7 +23685,7 @@ const F$e = {
23685
23685
  Object.entries(F$e).sort(([, e], [, t]) => e - t)
23686
23686
  );
23687
23687
  function W$e() {
23688
- const [e, t] = ye(
23688
+ const [e, t] = ve(
23689
23689
  () => typeof window > "u" ? 0 : window.innerWidth
23690
23690
  );
23691
23691
  je(() => {
@@ -23765,7 +23765,7 @@ const e6t = (e) => {
23765
23765
  }, [a, i]);
23766
23766
  return { activeRule: a, permissions: s };
23767
23767
  }, t6t = (e, t = 5e3) => {
23768
- const [n, r] = ye(!1), o = Ye(void 0), i = ke(() => {
23768
+ const [n, r] = ve(!1), o = Ye(void 0), i = ke(() => {
23769
23769
  n ? (e(), r(!1), o.current && clearTimeout(o.current)) : (r(!0), o.current = setTimeout(() => {
23770
23770
  r(!1);
23771
23771
  }, t));
@@ -23775,7 +23775,7 @@ const e6t = (e) => {
23775
23775
  }, []), { isUnlocked: n, triggerSafeClick: i };
23776
23776
  };
23777
23777
  function Ib() {
23778
- const [e, t] = ye(null);
23778
+ const [e, t] = ve(null);
23779
23779
  return { copiedText: e, copy: (r) => {
23780
23780
  try {
23781
23781
  return xq(r), t(r), !0;
@@ -23785,7 +23785,7 @@ function Ib() {
23785
23785
  } };
23786
23786
  }
23787
23787
  function n6t(e) {
23788
- const [t, n] = ye(e ?? 0), r = ke(() => {
23788
+ const [t, n] = ve(e ?? 0), r = ke(() => {
23789
23789
  n((a) => a + 1);
23790
23790
  }, []), o = ke(() => {
23791
23791
  n((a) => a - 1);
@@ -23801,7 +23801,7 @@ function n6t(e) {
23801
23801
  };
23802
23802
  }
23803
23803
  function V$e(e, t) {
23804
- const [n, r] = ye(e);
23804
+ const [n, r] = ve(e);
23805
23805
  return je(() => {
23806
23806
  const o = setTimeout(() => r(e), t ?? 500);
23807
23807
  return () => {
@@ -24397,7 +24397,7 @@ function i6t(e) {
24397
24397
  return t.current === void 0 && (t.current = e()), t;
24398
24398
  }
24399
24399
  function Jee(e, { defaultValue: t = !1, initializeWithValue: n = !0 } = {}) {
24400
- const r = (s) => window.matchMedia(s).matches, [o, i] = ye(() => n ? r(e) : t);
24400
+ const r = (s) => window.matchMedia(s).matches, [o, i] = ve(() => n ? r(e) : t);
24401
24401
  function a() {
24402
24402
  i(r(e));
24403
24403
  }
@@ -24409,67 +24409,72 @@ function Jee(e, { defaultValue: t = !1, initializeWithValue: n = !0 } = {}) {
24409
24409
  }, [e]), o;
24410
24410
  }
24411
24411
  const a6t = (e) => {
24412
- const { shortcut: t, apiEndpoint: n, appName: r, debug: o = !1 } = e, i = `${r}:parameters`, [a, s] = ye(null), [l, c] = ye(!1), [d, u] = ye(null), [f, p] = ye(!1), h = ke(
24413
- (y, ...b) => {
24412
+ const { shortcut: t, apiEndpoint: n, appName: r, paramKey: o = "config", debug: i = !1 } = e, a = `${r}:parameters`, [s, l] = ve(void 0), [c, d] = ve(null), [u, f] = ve(!1), [p, h] = ve(null), [v, y] = ve(!1), b = ke(
24413
+ (C, ...x) => {
24414
24414
  },
24415
- [o]
24415
+ [i]
24416
24416
  );
24417
24417
  je(() => {
24418
- if (sessionStorage.getItem(i)) {
24419
- h("✅ Session storage already populated"), p(!0);
24418
+ if (sessionStorage.getItem(a)) {
24419
+ b("✅ Session storage already populated"), y(!0);
24420
24420
  return;
24421
24421
  }
24422
- h("⏳ Waiting for mesalvo:parametersReady event...");
24423
- const y = (b) => {
24424
- const C = b.detail?.appNames ?? [], x = i.replace(":parameters", "");
24425
- C.includes(x) && sessionStorage.getItem(i) && (h("✅ Session storage ready (via mesalvo:parametersReady event)"), p(!0));
24422
+ b("⏳ Waiting for mesalvo:parametersReady event...");
24423
+ const C = (x) => {
24424
+ const T = x.detail?.appNames ?? [], O = a.replace(":parameters", "");
24425
+ T.includes(O) && sessionStorage.getItem(a) && (b("✅ Session storage ready (via mesalvo:parametersReady event)"), y(!0));
24426
24426
  };
24427
- return window.addEventListener("mesalvo:parametersReady", y), () => {
24428
- window.removeEventListener("mesalvo:parametersReady", y);
24427
+ return window.addEventListener("mesalvo:parametersReady", C), () => {
24428
+ window.removeEventListener("mesalvo:parametersReady", C);
24429
24429
  };
24430
- }, [i, h]);
24431
- const v = ke(async () => {
24430
+ }, [a, b]);
24431
+ const S = ke(async () => {
24432
24432
  if (!t) {
24433
- s(null);
24433
+ d(null);
24434
24434
  return;
24435
24435
  }
24436
24436
  try {
24437
- c(!0), u(null);
24438
- const y = sessionStorage.getItem(i);
24439
- if (!y) {
24440
- h("⚠️ No parameters in session storage yet"), c(!1);
24437
+ f(!0), h(null);
24438
+ const C = sessionStorage.getItem(a);
24439
+ if (!C) {
24440
+ b("⚠️ No parameters in session storage yet"), f(!1);
24441
24441
  return;
24442
24442
  }
24443
- const S = JSON.parse(y)[t];
24444
- if (!S) {
24445
- h(`⚠️ No parameters found for shortcut: ${t}`), c(!1);
24443
+ const _ = JSON.parse(C)[t];
24444
+ if (!_) {
24445
+ b(`⚠️ No parameters found for shortcut: ${t}`), f(!1);
24446
24446
  return;
24447
24447
  }
24448
- const C = S.config;
24449
- if (!C) {
24450
- h(`⚠️ No config ID found in parameters for shortcut: ${t}`), c(!1);
24448
+ const T = _[o];
24449
+ if (!T) {
24450
+ b(`⚠️ No "${o}" found in parameters for shortcut: ${t}`), f(!1);
24451
24451
  return;
24452
24452
  }
24453
- const x = n.replace("{id}", C);
24454
- h(`📡 Fetching config data for shortcut "${t}" (ID: ${C})`), h("📋 All parameters for shortcut:", S);
24455
- const _ = await G5.withAuth(x);
24456
- h("✅ Config data loaded:", _.data), s(_.data), c(!1);
24457
- } catch (y) {
24458
- const b = y instanceof Error ? y : new Error(String(y));
24459
- h("❌ Failed to fetch config:", b), u(b), c(!1);
24453
+ if (l(T), !n) {
24454
+ f(!1);
24455
+ return;
24456
+ }
24457
+ const O = n.replace("{id}", T);
24458
+ b(`📡 Fetching config data for shortcut "${t}" (ID: ${T})`), b("📋 All parameters for shortcut:", _);
24459
+ const E = await G5.withAuth(O);
24460
+ b("✅ Config data loaded:", E.data), d(E.data), f(!1);
24461
+ } catch (C) {
24462
+ const x = C instanceof Error ? C : new Error(String(C));
24463
+ b("❌ Failed to fetch config:", x), h(x), f(!1);
24460
24464
  }
24461
- }, [t, n, i, h]);
24465
+ }, [t, n, a, b]);
24462
24466
  return je(() => {
24463
- f && v();
24464
- }, [f, v]), {
24465
- config: a,
24466
- error: d,
24467
- loading: l,
24468
- refetch: v
24467
+ v && S();
24468
+ }, [v, S]), {
24469
+ config: c,
24470
+ configId: s,
24471
+ error: p,
24472
+ loading: u,
24473
+ refetch: S
24469
24474
  };
24470
24475
  };
24471
24476
  function Mh(e, t = {}) {
24472
- const { value: n, onChange: r } = t, o = n !== void 0, [i, a] = ye(e), s = o ? n : i, l = ke(
24477
+ const { value: n, onChange: r } = t, o = n !== void 0, [i, a] = ve(e), s = o ? n : i, l = ke(
24473
24478
  (c) => {
24474
24479
  r?.(c), o || a(c);
24475
24480
  },
@@ -24478,7 +24483,7 @@ function Mh(e, t = {}) {
24478
24483
  return [s, l];
24479
24484
  }
24480
24485
  const s6t = ({ navigate: e }) => {
24481
- const [t, n] = ye(window.location.pathname);
24486
+ const [t, n] = ve(window.location.pathname);
24482
24487
  return je(() => {
24483
24488
  const s = () => {
24484
24489
  n(window.location.pathname);
@@ -24653,7 +24658,7 @@ const E8e = async (e) => {
24653
24658
  }
24654
24659
  return null;
24655
24660
  }, Nb = () => {
24656
- const [e, t] = ye(null), [n, r] = ye(!1), { lang: o } = In(), i = o.locale, a = mt(() => new jv(), []);
24661
+ const [e, t] = ve(null), [n, r] = ve(!1), { lang: o } = In(), i = o.locale, a = mt(() => new jv(), []);
24657
24662
  je(() => {
24658
24663
  r(!0), (async () => {
24659
24664
  try {
@@ -24693,7 +24698,7 @@ const E8e = async (e) => {
24693
24698
  };
24694
24699
  };
24695
24700
  function c6t(e, t = 0, n = 1) {
24696
- const [r, o] = ye(t), i = r + n + 1 <= e, a = r - n >= t, s = ke(
24701
+ const [r, o] = ve(t), i = r + n + 1 <= e, a = r - n >= t, s = ke(
24697
24702
  (u) => {
24698
24703
  const f = u instanceof Function ? u(r) : u;
24699
24704
  if (f >= t && f <= e) {
@@ -24746,7 +24751,7 @@ const G7 = (e) => {
24746
24751
  return;
24747
24752
  }
24748
24753
  }, d6t = (e, t) => {
24749
- const { t: n } = In(), [r, o] = ye([]), [i, a] = ye({}), s = Ye(t);
24754
+ const { t: n } = In(), [r, o] = ve([]), [i, a] = ve({}), s = Ye(t);
24750
24755
  s.current = t;
24751
24756
  const l = mt(() => ({ ...r.reduce(
24752
24757
  (h, v) => {
@@ -24791,7 +24796,7 @@ const G7 = (e) => {
24791
24796
  }
24792
24797
  } };
24793
24798
  }, M8e = (e, t = () => null) => {
24794
- const [n, r] = ye(e), o = ke(
24799
+ const [n, r] = ve(e), o = ke(
24795
24800
  (u) => {
24796
24801
  r(u), t(u);
24797
24802
  },
@@ -24822,7 +24827,7 @@ const G7 = (e) => {
24822
24827
  } };
24823
24828
  };
24824
24829
  function D8e(e, t, n, r, o) {
24825
- const [i, a] = ye(o());
24830
+ const [i, a] = ve(o());
24826
24831
  return je(() => {
24827
24832
  if (!t)
24828
24833
  return;
@@ -24977,7 +24982,7 @@ const $8e = (e) => {
24977
24982
  } catch {
24978
24983
  }
24979
24984
  }, U8e = ({ model: e, context: t, toolContainers: n, prevMessages: r, sessionKey: o }) => {
24980
- const { lang: i } = In(), a = Intl.DateTimeFormat().resolvedOptions().timeZone, [s, l] = ye(() => o ? $8e(o) : r ?? []), [c, d] = ye(!1), u = Ye(null), f = Ye(null), p = Ye("");
24985
+ const { lang: i } = In(), a = Intl.DateTimeFormat().resolvedOptions().timeZone, [s, l] = ve(() => o ? $8e(o) : r ?? []), [c, d] = ve(!1), u = Ye(null), f = Ye(null), p = Ye("");
24981
24986
  je(() => {
24982
24987
  o && L8e(o, s);
24983
24988
  }, [s, o]);
@@ -33857,6 +33862,7 @@ var Dfe = (e) => `/api/sapcommunication/sapConnectionParameters/${e}`, OKe = asy
33857
33862
  ), NKe = {};
33858
33863
  fn(NKe, {
33859
33864
  applyPresets: () => XKe,
33865
+ create: () => aJe,
33860
33866
  createGlobalWizardFlow: () => cJe,
33861
33867
  createTenantCreateEncounterConfig: () => fJe,
33862
33868
  createTenantWizardFlow: () => rJe,
@@ -33873,6 +33879,7 @@ fn(NKe, {
33873
33879
  getCreateTenantCreateEncounterConfigUrl: () => gpe,
33874
33880
  getCreateTenantWizardFlowUrl: () => spe,
33875
33881
  getCreateTerminalUrl: () => ipe,
33882
+ getCreateUrl: () => upe,
33876
33883
  getCreateWizardStepTypeUrl: () => tpe,
33877
33884
  getDeleteCreateEncounterConfigUrl: () => Qfe,
33878
33885
  getDeleteTerminalUrl: () => Wfe,
@@ -33894,8 +33901,7 @@ fn(NKe, {
33894
33901
  getLoadWizardFlowsUrl: () => ape,
33895
33902
  getLoadWizardStepTypeByIdUrl: () => Ufe,
33896
33903
  getLoadWizardStepTypesUrl: () => epe,
33897
- getPostAddressUrl: () => upe,
33898
- getPutAddressUrl: () => Gfe,
33904
+ getPutUrl: () => Gfe,
33899
33905
  getReadInsuranceCardAndIdentifyPatientUrl: () => lpe,
33900
33906
  getUpdateCreateEncounterConfigUrl: () => Xfe,
33901
33907
  getUpdateTerminalUrl: () => Bfe,
@@ -33918,8 +33924,7 @@ fn(NKe, {
33918
33924
  loadWizardFlows1: () => lJe,
33919
33925
  loadWizardStepTypeById: () => RKe,
33920
33926
  loadWizardStepTypes: () => JKe,
33921
- postAddress: () => aJe,
33922
- putAddress: () => WKe,
33927
+ put: () => WKe,
33923
33928
  readInsuranceCardAndIdentifyPatient: () => oJe,
33924
33929
  updateCreateEncounterConfig: () => YKe,
33925
33930
  updateTerminal: () => UKe,
@@ -35172,7 +35177,7 @@ const AZe = (e) => e?.map((t) => ({
35172
35177
  refetchOnWindowFocus: !1,
35173
35178
  staleTime: 1e3 * 60 * 5
35174
35179
  // 5 minutes
35175
- }), [o, i] = ye(null);
35180
+ }), [o, i] = ve(null);
35176
35181
  je(() => {
35177
35182
  if (r && r.length > 0 && !o && t) {
35178
35183
  const s = r.find((l) => l.preferred === !0) ?? r[0];
@@ -41950,7 +41955,7 @@ const M$ = ({ copied: e, iconSize: t }) => e ? /* @__PURE__ */ m(Pl, { "data-tes
41950
41955
  },
41951
41956
  ...a
41952
41957
  }) => {
41953
- const { t: s } = In(), { copy: l } = Ib(), [c, d] = ye(!1), u = () => {
41958
+ const { t: s } = In(), { copy: l } = Ib(), [c, d] = ve(!1), u = () => {
41954
41959
  d(!0);
41955
41960
  };
41956
41961
  je(() => {
@@ -42317,7 +42322,7 @@ function mnt() {
42317
42322
  "speechSynthesis" in window && window.speechSynthesis.cancel();
42318
42323
  }
42319
42324
  const gnt = (e) => {
42320
- const { messages: t, listRef: n, actions: r, onRetryError: o } = e, i = Ye(!0), [a, s] = ye(!1);
42325
+ const { messages: t, listRef: n, actions: r, onRetryError: o } = e, i = Ye(!0), [a, s] = ve(!1);
42321
42326
  je(() => {
42322
42327
  const _ = n.current;
42323
42328
  if (!_) return;
@@ -42632,7 +42637,7 @@ const Tnt = ({
42632
42637
  isLoadingModels: l,
42633
42638
  customOptions: c
42634
42639
  }) => {
42635
- const { t: d } = qt(), u = pi(), f = Ye(null), p = !!a, [h, v] = ye("");
42640
+ const { t: d } = qt(), u = pi(), f = Ye(null), p = !!a, [h, v] = ve("");
42636
42641
  je(() => {
42637
42642
  const C = f.current;
42638
42643
  C && (C.style.height = "auto", C.style.height = `${C.scrollHeight}px`);
@@ -45064,7 +45069,7 @@ function e8(e) {
45064
45069
  }), t;
45065
45070
  }
45066
45071
  const Vb = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: o = !0, mode: i = "sync", propagate: a = !1, anchorX: s = "left", root: l }) => {
45067
- const [c, d] = Zme(a), u = mt(() => e8(e), [e]), f = a && !c ? [] : u.map(Vg), p = Ye(!0), h = Ye(u), v = Ll(() => /* @__PURE__ */ new Map()), [y, b] = ye(u), [S, C] = ye(u);
45072
+ const [c, d] = Zme(a), u = mt(() => e8(e), [e]), f = a && !c ? [] : u.map(Vg), p = Ye(!0), h = Ye(u), v = Ll(() => /* @__PURE__ */ new Map()), [y, b] = ve(u), [S, C] = ve(u);
45068
45073
  CI(() => {
45069
45074
  p.current = !1, h.current = u;
45070
45075
  for (let T = 0; T < S.length; T++) {
@@ -47887,7 +47892,7 @@ const pst = {
47887
47892
  function Uge(e) {
47888
47893
  const t = Ll(() => lu(e)), { isStatic: n } = yn(Wb);
47889
47894
  if (n) {
47890
- const [, r] = ye(e);
47895
+ const [, r] = ve(e);
47891
47896
  je(() => t.on("change", r), []);
47892
47897
  }
47893
47898
  return t;
@@ -48061,7 +48066,7 @@ const Est = /* @__PURE__ */ Vr(Ost), Pst = {
48061
48066
  keys: u = Pst,
48062
48067
  ...f
48063
48068
  }) => {
48064
- const p = pi(), h = Ht(Kt().switch, d), [v, y] = ye(e);
48069
+ const p = pi(), h = Ht(Kt().switch, d), [v, y] = ve(e);
48065
48070
  je(() => {
48066
48071
  y(e);
48067
48072
  }, [e]);
@@ -48168,7 +48173,7 @@ const Est = /* @__PURE__ */ Vr(Ost), Pst = {
48168
48173
  checked: r = !1,
48169
48174
  ...o
48170
48175
  }) => {
48171
- const [i, a] = ye(r);
48176
+ const [i, a] = ve(r);
48172
48177
  je(() => {
48173
48178
  a(r);
48174
48179
  }, [r]);
@@ -48342,7 +48347,7 @@ const kst = ({
48342
48347
  type: e.get("type") || null
48343
48348
  };
48344
48349
  }, Ist = () => {
48345
- const [e, t] = ye(() => Dst());
48350
+ const [e, t] = ve(() => Dst());
48346
48351
  je(() => {
48347
48352
  Mst(e);
48348
48353
  }, [e]);
@@ -48571,7 +48576,7 @@ const kst = ({
48571
48576
  delay: n = 500,
48572
48577
  ...r
48573
48578
  }) => {
48574
- const [o, i] = ye(e), a = V$e(o, n);
48579
+ const [o, i] = ve(e), a = V$e(o, n);
48575
48580
  return je(() => {
48576
48581
  t(a);
48577
48582
  }, [a]), je(() => {
@@ -49609,7 +49614,7 @@ function Kst(e) {
49609
49614
  St || (oe(!0), we(!0), G && G(pe));
49610
49615
  }, ft = (pe, ce) => {
49611
49616
  St && (oe(!1), U && U(pe, ce));
49612
- }, ve = (pe, ce, $e, nt) => {
49617
+ }, ye = (pe, ce, $e, nt) => {
49613
49618
  if (D) {
49614
49619
  if (ue.length === ce.length && ue.every((at, mn) => at === ce[mn]))
49615
49620
  return;
@@ -49623,7 +49628,7 @@ function Kst(e) {
49623
49628
  const kn = mn.findIndex(($r) => A(ce, $r));
49624
49629
  kn === -1 ? mn.push(ce) : nt !== "freeSolo" && (mn.splice(kn, 1), at = "removeOption");
49625
49630
  }
49626
- Xe(pe, mn, at), ve(pe, mn, at, {
49631
+ Xe(pe, mn, at), ye(pe, mn, at, {
49627
49632
  option: ce
49628
49633
  }), !f && (!pe || !pe.ctrlKey && !pe.metaKey) && ft(pe, at), (a === !0 || a === "touch" && st.current || a === "mouse" && !st.current) && Z.current.blur();
49629
49634
  };
@@ -49648,7 +49653,7 @@ function Kst(e) {
49648
49653
  let $e = se;
49649
49654
  se === -1 ? Ee === "" && ce === "previous" && ($e = ue.length - 1) : ($e += ce === "next" ? 1 : -1, $e < 0 && ($e = 0), $e === ue.length && ($e = -1)), $e = Ft($e, ce), ae($e), Gt($e);
49650
49655
  }, Pt = (pe) => {
49651
- W.current = !0, He(""), z && z(pe, "", "clear"), ve(pe, D ? [] : null, "clear");
49656
+ W.current = !0, He(""), z && z(pe, "", "clear"), ye(pe, D ? [] : null, "clear");
49652
49657
  }, Jt = (pe) => (ce) => {
49653
49658
  if (pe.onKeyDown && pe.onKeyDown(ce), !ce.defaultMuiPrevented && (se !== -1 && !["ArrowLeft", "ArrowRight"].includes(ce.key) && (ae(-1), Gt(-1)), ce.which !== 229))
49654
49659
  switch (ce.key) {
@@ -49720,7 +49725,7 @@ function Kst(e) {
49720
49725
  case "Backspace":
49721
49726
  if (D && !X && Ee === "" && ue.length > 0) {
49722
49727
  const $e = se === -1 ? ue.length - 1 : se, nt = ue.slice();
49723
- nt.splice($e, 1), ve(ce, nt, "removeOption", {
49728
+ nt.splice($e, 1), ye(ce, nt, "removeOption", {
49724
49729
  option: ue[$e]
49725
49730
  });
49726
49731
  }
@@ -49729,7 +49734,7 @@ function Kst(e) {
49729
49734
  case "Delete":
49730
49735
  if (D && !X && Ee === "" && ue.length > 0 && se !== -1) {
49731
49736
  const $e = se, nt = ue.slice();
49732
- nt.splice($e, 1), ve(ce, nt, "removeOption", {
49737
+ nt.splice($e, 1), ye(ce, nt, "removeOption", {
49733
49738
  option: ue[$e]
49734
49739
  });
49735
49740
  }
@@ -49746,7 +49751,7 @@ function Kst(e) {
49746
49751
  Ze(!1), J.current = !0, W.current = !1, i && be.current !== -1 && ze ? Ct(pe, Re[be.current], "blur") : i && S && Ee !== "" ? Ct(pe, Ee, "blur", "freeSolo") : s && Xe(pe, ue, "blur"), ft(pe, "blur");
49747
49752
  }, er = (pe) => {
49748
49753
  const ce = pe.target.value;
49749
- Ee !== ce && (He(ce), we(!1), z && z(pe, ce, "input")), ce === "" ? !u && !D && ve(pe, null, "clear") : De(pe);
49754
+ Ee !== ce && (He(ce), we(!1), z && z(pe, ce, "input")), ce === "" ? !u && !D && ye(pe, null, "clear") : De(pe);
49750
49755
  }, Gi = (pe) => {
49751
49756
  const ce = Number(pe.currentTarget.getAttribute("data-option-index"));
49752
49757
  be.current !== ce && Ut({
@@ -49765,11 +49770,11 @@ function Kst(e) {
49765
49770
  Ct(pe, Re[ce], "selectOption"), st.current = !1;
49766
49771
  }, Zl = (pe) => (ce) => {
49767
49772
  const $e = ue.slice();
49768
- $e.splice(pe, 1), ve(ce, $e, "removeOption", {
49773
+ $e.splice(pe, 1), ye(ce, $e, "removeOption", {
49769
49774
  option: ue[pe]
49770
49775
  });
49771
49776
  }, Ma = (pe) => {
49772
- ve(pe, null, "removeOption", {
49777
+ ye(pe, null, "removeOption", {
49773
49778
  option: ue
49774
49779
  });
49775
49780
  }, zn = (pe) => {
@@ -60253,7 +60258,7 @@ const Apt = (e) => {
60253
60258
  value: xe,
60254
60259
  dirty: De,
60255
60260
  expanded: ft,
60256
- id: ve,
60261
+ id: ye,
60257
60262
  popupOpen: st,
60258
60263
  focused: Ct,
60259
60264
  focusedItem: Ft,
@@ -60387,7 +60392,7 @@ const Apt = (e) => {
60387
60392
  ownerState: zn,
60388
60393
  ...jt(ct),
60389
60394
  children: Ze({
60390
- id: ve,
60395
+ id: ye,
60391
60396
  disabled: C,
60392
60397
  fullWidth: !0,
60393
60398
  size: we === "small" ? "small" : void 0,
@@ -66876,7 +66881,7 @@ const Tmt = /* @__PURE__ */ ym(_mt), Omt = ({
66876
66881
  onChange: a,
66877
66882
  ...s
66878
66883
  }) => {
66879
- const l = Ht(Kt().checkbox, i), [c, d] = ye(e), u = (p) => {
66884
+ const l = Ht(Kt().checkbox, i), [c, d] = ve(e), u = (p) => {
66880
66885
  d(p.target.checked), a?.(p);
66881
66886
  };
66882
66887
  je(() => {
@@ -67566,18 +67571,18 @@ function Mve({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
67566
67571
  function ze(le, Te) {
67567
67572
  var xe;
67568
67573
  let De = le;
67569
- const ft = (xe = window.getSelection()) == null ? void 0 : xe.toString(), ve = ae.current ? t0(ae.current, x) : null, st = /* @__PURE__ */ new Date();
67574
+ const ft = (xe = window.getSelection()) == null ? void 0 : xe.toString(), ye = ae.current ? t0(ae.current, x) : null, st = /* @__PURE__ */ new Date();
67570
67575
  if (De.tagName === "SELECT" || De.hasAttribute("data-vaul-no-drag") || De.closest("[data-vaul-no-drag]"))
67571
67576
  return !1;
67572
67577
  if (x === "right" || x === "left")
67573
67578
  return !0;
67574
67579
  if (V.current && st.getTime() - V.current.getTime() < 500)
67575
67580
  return !1;
67576
- if (ve !== null && (x === "bottom" ? ve > 0 : ve < 0))
67581
+ if (ye !== null && (x === "bottom" ? ye > 0 : ye < 0))
67577
67582
  return !0;
67578
67583
  if (ft && ft.length > 0)
67579
67584
  return !1;
67580
- if (W.current && st.getTime() - W.current.getTime() < c && ve === 0 || Te)
67585
+ if (W.current && st.getTime() - W.current.getTime() < c && ye === 0 || Te)
67581
67586
  return W.current = st, !1;
67582
67587
  for (; De; ) {
67583
67588
  if (De.scrollHeight > De.clientHeight) {
@@ -67594,9 +67599,9 @@ function Mve({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
67594
67599
  if (ae.current && q) {
67595
67600
  const Te = x === "bottom" || x === "right" ? 1 : -1, xe = (Q.current - (sr(x) ? le.pageY : le.pageX)) * Te, De = xe > 0, ft = i && !d && !De;
67596
67601
  if (ft && Ee === 0) return;
67597
- const ve = Math.abs(xe), st = document.querySelector("[data-vaul-drawer-wrapper]"), Ct = x === "bottom" || x === "top" ? Me.current : be.current;
67598
- let Ft = ve / Ct;
67599
- const hn = oe(ve, De);
67602
+ const ye = Math.abs(xe), st = document.querySelector("[data-vaul-drawer-wrapper]"), Ct = x === "bottom" || x === "top" ? Me.current : be.current;
67603
+ let Ft = ye / Ct;
67604
+ const hn = oe(ye, De);
67600
67605
  if (hn !== null && (Ft = hn), ft && Ft >= 1 || !J.current && !ze(le.target, De)) return;
67601
67606
  if (ae.current.classList.add(Xx), J.current = !0, vr(ae.current, {
67602
67607
  transition: "none"
@@ -67624,7 +67629,7 @@ function Mve({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
67624
67629
  }, !0);
67625
67630
  }
67626
67631
  if (!i) {
67627
- const Jt = ve * Te;
67632
+ const Jt = ye * Te;
67628
67633
  vr(ae.current, {
67629
67634
  transform: sr(x) ? `translate3d(0, ${Jt}px, 0)` : `translate3d(${Jt}px, 0, 0)`
67630
67635
  });
@@ -67642,9 +67647,9 @@ function Mve({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
67642
67647
  const xe = document.activeElement;
67643
67648
  if (n5(xe) || ie.current) {
67644
67649
  var De;
67645
- const ft = ((De = window.visualViewport) == null ? void 0 : De.height) || 0, ve = window.innerHeight;
67646
- let st = ve - ft;
67647
- const Ct = ae.current.getBoundingClientRect().height || 0, Ft = Ct > ve * 0.8;
67650
+ const ft = ((De = window.visualViewport) == null ? void 0 : De.height) || 0, ye = window.innerHeight;
67651
+ let st = ye - ft;
67652
+ const Ct = ae.current.getBoundingClientRect().height || 0, Ft = Ct > ye * 0.8;
67648
67653
  Pe.current || (Pe.current = Ct);
67649
67654
  const hn = ae.current.getBoundingClientRect().top;
67650
67655
  if (Math.abs(se.current - st) > 60 && (ie.current = !ie.current), i && i.length > 0 && Ze && Ee) {
@@ -67725,8 +67730,8 @@ function Mve({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
67725
67730
  ct(), o?.(le, !1);
67726
67731
  return;
67727
67732
  }
67728
- var ve;
67729
- const st = Math.min((ve = ae.current.getBoundingClientRect().height) != null ? ve : 0, window.innerHeight);
67733
+ var ye;
67734
+ const st = Math.min((ye = ae.current.getBoundingClientRect().height) != null ? ye : 0, window.innerHeight);
67730
67735
  var Ct;
67731
67736
  const Ft = Math.min((Ct = ae.current.getBoundingClientRect().width) != null ? Ct : 0, window.innerWidth), hn = x === "left" || x === "right";
67732
67737
  if (Math.abs(Te) >= (hn ? Ft : st) * l) {
@@ -68263,7 +68268,7 @@ const Po = {
68263
68268
  },
68264
68269
  [y.defaultValue, y.value, f]
68265
68270
  // Use only necessary dependencies
68266
- ), _ = mt(() => f.length > 0 ? x(y?.value) : "", [f]), [T, O] = ye(_);
68271
+ ), _ = mt(() => f.length > 0 ? x(y?.value) : "", [f]), [T, O] = ve(_);
68267
68272
  je(() => {
68268
68273
  !y.multiple && u !== "query" && O(_);
68269
68274
  }, [_, y.multiple, u]), je(() => {
@@ -70732,7 +70737,7 @@ function Wvt(e) {
70732
70737
  return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
70733
70738
  }
70734
70739
  function _w(e, t) {
70735
- const [n, r] = ye(e);
70740
+ const [n, r] = ve(e);
70736
70741
  return [t === void 0 ? n : t, r];
70737
70742
  }
70738
70743
  function Vvt(e, t) {
@@ -70830,7 +70835,7 @@ function dye(e, t, n, r, o, i, a, s = 0) {
70830
70835
  return !c && !d ? f : dye(e, t, f, r, o, i, a, s + 1);
70831
70836
  }
70832
70837
  function Gvt(e, t, n, r, o) {
70833
- const { autoFocus: i } = e, [a, s] = ye(), l = Hvt(t.days, n, r || (() => !1), a), [c, d] = ye(i ? l : void 0);
70838
+ const { autoFocus: i } = e, [a, s] = ve(), l = Hvt(t.days, n, r || (() => !1), a), [c, d] = ve(i ? l : void 0);
70834
70839
  return {
70835
70840
  isFocusTarget: (v) => !!l?.isEqualTo(v),
70836
70841
  setFocused: d,
@@ -71057,8 +71062,8 @@ function tyt(e) {
71057
71062
  };
71058
71063
  if (De[xe.key]) {
71059
71064
  xe.preventDefault(), xe.stopPropagation();
71060
- const [ft, ve] = De[xe.key];
71061
- Z(ft, ve);
71065
+ const [ft, ye] = De[xe.key];
71066
+ Z(ft, ye);
71062
71067
  }
71063
71068
  y?.(le.date, Te, xe);
71064
71069
  }, [Z, y, t.dir]), ze = ke((le, Te) => (xe) => {
@@ -71165,13 +71170,13 @@ function tyt(e) {
71165
71170
  locale: s
71166
71171
  }), className: l[tt.WeekNumber], scope: "row", role: "rowheader" }, M(xe.weekNumber, a)),
71167
71172
  xe.days.map((De) => {
71168
- const { date: ft } = De, ve = B(De);
71169
- if (ve[Wn.focused] = !ve.hidden && !!W?.isEqualTo(De), ve[Di.selected] = N?.(ft) || ve.selected, xw(F)) {
71173
+ const { date: ft } = De, ye = B(De);
71174
+ if (ye[Wn.focused] = !ye.hidden && !!W?.isEqualTo(De), ye[Di.selected] = N?.(ft) || ye.selected, xw(F)) {
71170
71175
  const { from: hn, to: Pt } = F;
71171
- ve[Di.range_start] = !!(hn && Pt && a.isSameDay(ft, hn)), ve[Di.range_end] = !!(hn && Pt && a.isSameDay(ft, Pt)), ve[Di.range_middle] = es(F, ft, !0, a);
71176
+ ye[Di.range_start] = !!(hn && Pt && a.isSameDay(ft, hn)), ye[Di.range_end] = !!(hn && Pt && a.isSameDay(ft, Pt)), ye[Di.range_middle] = es(F, ft, !0, a);
71172
71177
  }
71173
- const st = kvt(ve, T, t.modifiersStyles), Ct = uvt(ve, l, t.modifiersClassNames), Ft = !Ze && !ve.hidden ? ne(ft, ve, a.options, a) : void 0;
71174
- return K.createElement(r.Day, { key: `${De.isoDate}_${De.displayMonthId}`, day: De, modifiers: ve, className: Ct.join(" "), style: st, role: "gridcell", "aria-selected": ve.selected || void 0, "aria-label": Ft, "data-day": De.isoDate, "data-month": De.outside ? De.dateMonthId : void 0, "data-selected": ve.selected || void 0, "data-disabled": ve.disabled || void 0, "data-hidden": ve.hidden || void 0, "data-outside": De.outside || void 0, "data-focused": ve.focused || void 0, "data-today": ve.today || void 0 }, !ve.hidden && Ze ? K.createElement(r.DayButton, { className: l[tt.DayButton], style: T?.[tt.DayButton], type: "button", day: De, modifiers: ve, disabled: !ve.focused && ve.disabled || void 0, "aria-disabled": ve.focused && ve.disabled || void 0, tabIndex: J(De) ? 0 : -1, "aria-label": ie(ft, ve, a.options, a), onClick: oe(De, ve), onBlur: we(De, ve), onFocus: de(De, ve), onKeyDown: Ne(De, ve), onMouseEnter: ze(De, ve), onMouseLeave: Re(De, ve) }, E(ft, a.options, a)) : !ve.hidden && E(De.date, a.options, a));
71178
+ const st = kvt(ye, T, t.modifiersStyles), Ct = uvt(ye, l, t.modifiersClassNames), Ft = !Ze && !ye.hidden ? ne(ft, ye, a.options, a) : void 0;
71179
+ return K.createElement(r.Day, { key: `${De.isoDate}_${De.displayMonthId}`, day: De, modifiers: ye, className: Ct.join(" "), style: st, role: "gridcell", "aria-selected": ye.selected || void 0, "aria-label": Ft, "data-day": De.isoDate, "data-month": De.outside ? De.dateMonthId : void 0, "data-selected": ye.selected || void 0, "data-disabled": ye.disabled || void 0, "data-hidden": ye.hidden || void 0, "data-outside": De.outside || void 0, "data-focused": ye.focused || void 0, "data-today": ye.today || void 0 }, !ye.hidden && Ze ? K.createElement(r.DayButton, { className: l[tt.DayButton], style: T?.[tt.DayButton], type: "button", day: De, modifiers: ye, disabled: !ye.focused && ye.disabled || void 0, "aria-disabled": ye.focused && ye.disabled || void 0, tabIndex: J(De) ? 0 : -1, "aria-label": ie(ft, ye, a.options, a), onClick: oe(De, ye), onBlur: we(De, ye), onFocus: de(De, ye), onKeyDown: Ne(De, ye), onMouseEnter: ze(De, ye), onMouseLeave: Re(De, ye) }, E(ft, a.options, a)) : !ye.hidden && E(De.date, a.options, a));
71175
71180
  })
71176
71181
  )))
71177
71182
  )
@@ -72239,7 +72244,7 @@ const H6t = (e) => {
72239
72244
  hideFooter: o = !1,
72240
72245
  onClose: i
72241
72246
  }) => {
72242
- const { t: a } = qt(), [s, l] = ye(t);
72247
+ const { t: a } = qt(), [s, l] = ve(t);
72243
72248
  return /* @__PURE__ */ R(
72244
72249
  "form",
72245
72250
  {
@@ -72284,7 +72289,7 @@ const H6t = (e) => {
72284
72289
  },
72285
72290
  iconSize: a
72286
72291
  }) => {
72287
- const { t: s } = qt(), [l, c] = ye(!1);
72292
+ const { t: s } = qt(), [l, c] = ve(!1);
72288
72293
  return /* @__PURE__ */ m("div", { className: "flex gap-2 items-center", children: /* @__PURE__ */ m(
72289
72294
  xu,
72290
72295
  {
@@ -72365,7 +72370,7 @@ const H6t = (e) => {
72365
72370
  view: i,
72366
72371
  hideFooter: a = !1
72367
72372
  }) => {
72368
- const s = wst(), l = Est, [c, d] = ye(!1);
72373
+ const s = wst(), l = Est, [c, d] = ve(!1);
72369
72374
  return /* @__PURE__ */ m(
72370
72375
  l,
72371
72376
  {
@@ -72444,7 +72449,7 @@ const H6t = (e) => {
72444
72449
  validateNewItem: s,
72445
72450
  hideFooter: l = !1
72446
72451
  }) => {
72447
- const { array: c, push: d, update: u, remove: f, set: p } = M8e(e, t), { value: h, setTrue: v, setFalse: y } = jm(!1), [b, S] = ye(n), { t: C } = qt(), x = (_) => {
72452
+ const { array: c, push: d, update: u, remove: f, set: p } = M8e(e, t), { value: h, setTrue: v, setFalse: y } = jm(!1), [b, S] = ve(n), { t: C } = qt(), x = (_) => {
72448
72453
  _.preventDefault(), d(b), S(n), y();
72449
72454
  };
72450
72455
  return /* @__PURE__ */ R("section", { className: "flex flex-col gap-2 overflow-hidden", children: [
@@ -80740,12 +80745,12 @@ function Eu() {
80740
80745
  }
80741
80746
  });
80742
80747
  });
80743
- var ve = /* @__PURE__ */ o1e();
80744
- Object.keys(ve).forEach(function(g) {
80745
- g === "default" || g === "__esModule" || g in e && e[g] === ve[g] || Object.defineProperty(e, g, {
80748
+ var ye = /* @__PURE__ */ o1e();
80749
+ Object.keys(ye).forEach(function(g) {
80750
+ g === "default" || g === "__esModule" || g in e && e[g] === ye[g] || Object.defineProperty(e, g, {
80746
80751
  enumerable: !0,
80747
80752
  get: function() {
80748
- return ve[g];
80753
+ return ye[g];
80749
80754
  }
80750
80755
  });
80751
80756
  });
@@ -84817,7 +84822,7 @@ const sSt = ({
84817
84822
  initialViewMode: n = "time-ago"
84818
84823
  /* TimeAgo */
84819
84824
  }) => {
84820
- const { lang: r } = In(), [o, i] = ye(n), a = () => {
84825
+ const { lang: r } = In(), [o, i] = ve(n), a = () => {
84821
84826
  i(
84822
84827
  o === "time-ago" ? "date" : "time-ago"
84823
84828
  /* TimeAgo */
@@ -85876,7 +85881,7 @@ const sSt = ({
85876
85881
  trigger: o,
85877
85882
  onOpenChange: i
85878
85883
  }) => {
85879
- const [a, s] = ye(!1), [l, c] = ye(""), [d, u] = ye(""), { generateSuggestion: f, isLoading: p } = u$e(r), { t: h } = qt(), v = (C) => {
85884
+ const [a, s] = ve(!1), [l, c] = ve(""), [d, u] = ve(""), { generateSuggestion: f, isLoading: p } = u$e(r), { t: h } = qt(), v = (C) => {
85880
85885
  s(C), i?.(C);
85881
85886
  }, y = async () => {
85882
85887
  l.trim() && (u(""), await f({
@@ -85995,7 +86000,7 @@ const sSt = ({
85995
86000
  trigger: i,
85996
86001
  onOpenChange: a
85997
86002
  }) => {
85998
- const [s, l] = ye(!1), [c, d] = ye(""), [u, f] = ye([]), [p, h] = ye(/* @__PURE__ */ new Set()), [v, y] = ye(!1), { getCurrentLabel: b } = In(), { t: S } = qt(), { generateSuggestions: C, isLoading: x, error: _ } = L$e({
86003
+ const [s, l] = ve(!1), [c, d] = ve(""), [u, f] = ve([]), [p, h] = ve(/* @__PURE__ */ new Set()), [v, y] = ve(!1), { getCurrentLabel: b } = In(), { t: S } = qt(), { generateSuggestions: C, isLoading: x, error: _ } = L$e({
85999
86004
  config: o,
86000
86005
  formData: e,
86001
86006
  metaData: t,
@@ -86392,9 +86397,9 @@ const ESt = ({ actions: e }) => {
86392
86397
  open: a,
86393
86398
  side: s = "left"
86394
86399
  }) => {
86395
- const { t: l } = In(), c = s === "left", d = c ? Z3 : X3, u = c ? X3 : Z3, [f, p] = ye(i), h = n.split("/")[1] ?? !1, v = n.split("/")[2] ?? n.split("/")[1] ?? !1, y = () => {
86400
+ const { t: l } = In(), c = s === "left", d = c ? Z3 : X3, u = c ? X3 : Z3, [f, p] = ve(i), h = n.split("/")[1] ?? !1, v = n.split("/")[2] ?? n.split("/")[1] ?? !1, y = () => {
86396
86401
  f && S(!1), p(!f), r?.(!f);
86397
- }, [b, S] = ye(h), C = (O) => b === O, x = (O) => n.includes(O), _ = (O = "") => {
86402
+ }, [b, S] = ve(h), C = (O) => b === O, x = (O) => n.includes(O), _ = (O = "") => {
86398
86403
  const E = O?.split("/") ?? [], I = E.length ?? 0, M = E[I - 1];
86399
86404
  return v === M;
86400
86405
  };
@@ -89054,7 +89059,7 @@ const ZIt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ m("div", {
89054
89059
  showSecurity: r = !0,
89055
89060
  ...o
89056
89061
  }) => {
89057
- const { onChange: i, value: a, defaultValue: s, autoComplete: l, ...c } = o, [d, u] = ye(n), [f, p] = Mh(s?.toString() ?? "", {
89062
+ const { onChange: i, value: a, defaultValue: s, autoComplete: l, ...c } = o, [d, u] = ve(n), [f, p] = Mh(s?.toString() ?? "", {
89058
89063
  onChange: (h) => {
89059
89064
  i?.(h);
89060
89065
  },
@@ -89089,7 +89094,7 @@ const ZIt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ m("div", {
89089
89094
  onChange: n,
89090
89095
  label: r
89091
89096
  }) => {
89092
- const [o, i] = ye(!1), a = mt(() => ECe(e.length), [e.length]);
89097
+ const [o, i] = ve(!1), a = mt(() => ECe(e.length), [e.length]);
89093
89098
  return /* @__PURE__ */ R("div", { className: "flex gap-2 items-center", children: [
89094
89099
  /* @__PURE__ */ m(ut, { onClick: (c) => {
89095
89100
  c.preventDefault(), c.stopPropagation(), i(!o);
@@ -89501,7 +89506,7 @@ const ZIt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ m("div", {
89501
89506
  onToggleFloating: n,
89502
89507
  endpoints: r
89503
89508
  }) => {
89504
- const { profileId: o, locationId: i, patientId: a, setProfileId: s, setLocationId: l, setPatientId: c } = v$e(), d = Gxt(r), [u, f] = ye("profile"), [p, h] = ye(!1), [v, y] = ye(!0), b = Ye(!1), S = Ye(!1), { profilesData: C, locationsData: x, patientsData: _, patientsRaw: T } = n_t({
89509
+ const { profileId: o, locationId: i, patientId: a, setProfileId: s, setLocationId: l, setPatientId: c } = v$e(), d = Gxt(r), [u, f] = ve("profile"), [p, h] = ve(!1), [v, y] = ve(!0), b = Ye(!1), S = Ye(!1), { profilesData: C, locationsData: x, patientsData: _, patientsRaw: T } = n_t({
89505
89510
  config: d,
89506
89511
  locationId: i,
89507
89512
  profileId: o
@@ -89599,7 +89604,7 @@ const ZIt = ({ children: e, className: t, ...n }) => /* @__PURE__ */ m("div", {
89599
89604
  }
89600
89605
  );
89601
89606
  }, o_t = (e) => {
89602
- const { url: t, pathToData: n = (f) => f } = e, { value: r, setTrue: o, setFalse: i } = jm(!1), [a, s] = ye([]), [l, c] = ye(null), [d, u] = ye(e.mode !== "query");
89607
+ const { url: t, pathToData: n = (f) => f } = e, { value: r, setTrue: o, setFalse: i } = jm(!1), [a, s] = ve([]), [l, c] = ve(null), [d, u] = ve(e.mode !== "query");
89603
89608
  return je(() => {
89604
89609
  let f = !0;
89605
89610
  return t ? ((async () => {
@@ -89704,7 +89709,7 @@ function s_t({
89704
89709
  inputFocus: l,
89705
89710
  filterOptions: c
89706
89711
  }) {
89707
- const [d, u] = ye(i ?? a ?? null), f = Ye(null);
89712
+ const [d, u] = ve(i ?? a ?? null), f = Ye(null);
89708
89713
  je(() => {
89709
89714
  if (f.current === "selectOption" || f.current === "clear") {
89710
89715
  f.current = null;
@@ -90275,7 +90280,7 @@ function qy(e, t) {
90275
90280
  });
90276
90281
  }
90277
90282
  function C_t() {
90278
- const [e, t] = ye(0);
90283
+ const [e, t] = ve(0);
90279
90284
  return ke(() => t((n) => n + 1), []);
90280
90285
  }
90281
90286
  function Tt(e, t) {
@@ -90835,7 +90840,7 @@ function wbe({
90835
90840
  tagName: d = "div",
90836
90841
  ...u
90837
90842
  }) {
90838
- const f = bR(i), p = Ye(null), [h, v] = ye(null), [y, b] = ye([]), S = C_t(), C = Ye({}), x = Ye(/* @__PURE__ */ new Map()), _ = Ye(0), T = Ye({
90843
+ const f = bR(i), p = Ye(null), [h, v] = ve(null), [y, b] = ve([]), S = C_t(), C = Ye({}), x = Ye(/* @__PURE__ */ new Map()), _ = Ye(0), T = Ye({
90839
90844
  autoSaveId: e,
90840
90845
  direction: r,
90841
90846
  dragState: h,
@@ -91258,7 +91263,7 @@ function Cbe({
91258
91263
  startDragging: O,
91259
91264
  stopDragging: E,
91260
91265
  panelGroupElement: I
91261
- } = C, M = bR(o), [A, D] = ye("inactive"), [j, U] = ye(!1), [$, z] = ye(null), G = Ye({
91266
+ } = C, M = bR(o), [A, D] = ve("inactive"), [j, U] = ve(!1), [$, z] = ve(null), G = Ye({
91262
91267
  state: A
91263
91268
  });
91264
91269
  Wc(() => {
@@ -105082,7 +105087,7 @@ var BPt = class extends K.Component {
105082
105087
  };
105083
105088
  function qPt(e) {
105084
105089
  var t;
105085
- const [n] = ye(() => new HPt(e.editor)), r = UPt.useSyncExternalStoreWithSelector(
105090
+ const [n] = ve(() => new HPt(e.editor)), r = UPt.useSyncExternalStoreWithSelector(
105086
105091
  n.subscribe,
105087
105092
  n.getSnapshot,
105088
105093
  n.getServerSnapshot,
@@ -105245,7 +105250,7 @@ var GPt = process.env.NODE_ENV !== "production", O2e = typeof window > "u", YPt
105245
105250
  function JPt(e = {}, t = []) {
105246
105251
  const n = Ye(e);
105247
105252
  n.current = e;
105248
- const [r] = ye(() => new KPt(n)), o = Wv.useSyncExternalStore(
105253
+ const [r] = ve(() => new KPt(n)), o = Wv.useSyncExternalStore(
105249
105254
  r.subscribe,
105250
105255
  r.getEditor,
105251
105256
  r.getServerSnapshot
@@ -109019,7 +109024,7 @@ const W5t = (e) => e?.url ? `${e.name} (${e.url})` : e?.name ?? "", iNt = ({
109019
109024
  }
109020
109025
  );
109021
109026
  }, aNt = (e) => {
109022
- const { value: t, onChange: n, ...r } = e, { t: o } = qt(), [i, a] = ye(t ?? null), s = ke(
109027
+ const { value: t, onChange: n, ...r } = e, { t: o } = qt(), [i, a] = ve(t ?? null), s = ke(
109023
109028
  (l, c, d) => {
109024
109029
  a(l), n?.(l, c, d);
109025
109030
  },
@@ -109105,7 +109110,7 @@ const H5t = /^\?/, sNt = (e) => {
109105
109110
  initialQuery: i = "",
109106
109111
  fetchInitialValue: a = !0,
109107
109112
  ...s
109108
- } = e, l = n.includes("?") ? o ? `&${o.replace(H5t, "")}` : "&query=" : o || "?query=", [c, d] = ye(i), [u, f] = ye(!1), [p, h] = ye(!1), [v, y] = ye(!1), [b, S] = ye(null), C = mt(() => c.length >= t, [c, t]), x = ke((E) => {
109113
+ } = e, l = n.includes("?") ? o ? `&${o.replace(H5t, "")}` : "&query=" : o || "?query=", [c, d] = ve(i), [u, f] = ve(!1), [p, h] = ve(!1), [v, y] = ve(!1), [b, S] = ve(null), C = mt(() => c.length >= t, [c, t]), x = ke((E) => {
109109
109114
  const [I] = E.split("?");
109110
109115
  return I;
109111
109116
  }, []);
@@ -109166,7 +109171,7 @@ const H5t = /^\?/, sNt = (e) => {
109166
109171
  ) })
109167
109172
  ] });
109168
109173
  }, lNt = (e) => {
109169
- const { minLen: t = 1, baseUrl: n, suffix: r = "", prefix: o = "?query=" } = e, [i, a] = ye(""), s = i.length >= t, l = `${n}${o}${i}${r}`;
109174
+ const { minLen: t = 1, baseUrl: n, suffix: r = "", prefix: o = "?query=" } = e, [i, a] = ve(""), s = i.length >= t, l = `${n}${o}${i}${r}`;
109170
109175
  return { enought: s, handleSetQuery: (d, u) => {
109171
109176
  a(u);
109172
109177
  }, query: i, url: l };
@@ -109210,7 +109215,7 @@ const H5t = /^\?/, sNt = (e) => {
109210
109215
  )
109211
109216
  ] }) });
109212
109217
  function cNt({ options: e }) {
109213
- const [t, n] = ye(!1), r = Ye(null), [o, i] = ye(1), a = (l, c) => {
109218
+ const [t, n] = ve(!1), r = Ye(null), [o, i] = ve(1), a = (l, c) => {
109214
109219
  i(c), n(!1), l.onClick();
109215
109220
  }, s = () => {
109216
109221
  n((l) => !l);
@@ -109939,7 +109944,7 @@ const nMt = ({
109939
109944
  };
109940
109945
  });
109941
109946
  }, dMt = (e) => {
109942
- const [t, n] = ye([]), r = () => {
109947
+ const [t, n] = ve([]), r = () => {
109943
109948
  n(e?.map((h, v) => v));
109944
109949
  }, o = t?.length === e?.length, i = () => {
109945
109950
  n([]);
@@ -109967,7 +109972,7 @@ const nMt = ({
109967
109972
  unselectAllRows: i
109968
109973
  };
109969
109974
  }, fMt = (e, t) => ({ columns: mt(() => uMt(e, t), [e, t]) }), pMt = (e, t) => {
109970
- const [n, r] = ye(e), o = (l) => n.includes(l), i = (l) => {
109975
+ const [n, r] = ve(e), o = (l) => n.includes(l), i = (l) => {
109971
109976
  o(l) ? r(n.filter((c) => c !== l)) : r([...n, l]);
109972
109977
  }, a = t.filter((l) => !o(l.name));
109973
109978
  return {
@@ -110222,7 +110227,7 @@ const uv = (e) => ({
110222
110227
  onChange: r,
110223
110228
  theme: o = {}
110224
110229
  }) => {
110225
- const i = Ye(null), a = Ye(null), [s, l] = ye(0), [c, d] = ye(0), u = Ht(Kt().tabs, o);
110230
+ const i = Ye(null), a = Ye(null), [s, l] = ve(0), [c, d] = ve(0), u = Ht(Kt().tabs, o);
110226
110231
  je(() => {
110227
110232
  const h = i.current;
110228
110233
  h && (l(h.offsetLeft), d(h.clientWidth));
@@ -110482,7 +110487,7 @@ const hNt = ({
110482
110487
  xr.error("Error translating, try again");
110483
110488
  }
110484
110489
  }, OMt = (e) => {
110485
- const { array: t, onChange: n, mainValue: r } = e, [o, i] = ye(!1), { allLanguages: a } = In(), s = t?.find(
110490
+ const { array: t, onChange: n, mainValue: r } = e, [o, i] = ve(!1), { allLanguages: a } = In(), s = t?.find(
110486
110491
  (d) => d.text && d.language
110487
110492
  ), l = async () => {
110488
110493
  r && (i(!0), await TMt(
@@ -110737,7 +110742,7 @@ const vNt = ({
110737
110742
  },
110738
110743
  ...r
110739
110744
  }) => {
110740
- const { computedMode: o, setMode: i } = Mb(), { startTransition: a } = PMt(), [s, l] = ye(!1);
110745
+ const { computedMode: o, setMode: i } = Mb(), { startTransition: a } = PMt(), [s, l] = ve(!1);
110741
110746
  je(() => {
110742
110747
  l(!0);
110743
110748
  }, []);
@@ -110981,7 +110986,7 @@ const vNt = ({
110981
110986
  const { privileges: t, loading: n } = Nb(), { t: r } = qt(), o = mt(
110982
110987
  () => Array.from(zMt(t).entries()),
110983
110988
  [t]
110984
- ), [i, a] = ye(o), [s, l] = ye("");
110989
+ ), [i, a] = ve(o), [s, l] = ve("");
110985
110990
  je(() => {
110986
110991
  a(o);
110987
110992
  }, [o]);
@@ -111031,7 +111036,7 @@ const vNt = ({
111031
111036
  ] }),
111032
111037
  e
111033
111038
  ] });
111034
- }, BMt = cSe(() => import("./changelog-viewer-Cwmu3qiy.js")), WMt = (e, t) => [
111039
+ }, BMt = cSe(() => import("./changelog-viewer-CxtnjSzQ.js")), WMt = (e, t) => [
111035
111040
  {
111036
111041
  content: /* @__PURE__ */ m(NMt, { customItems: e?.general }),
111037
111042
  icon: "user",
@@ -111074,7 +111079,7 @@ const vNt = ({
111074
111079
  customItems: e = {},
111075
111080
  customPanels: t = []
111076
111081
  }) => {
111077
- const n = WMt(e, t), [r, o] = ye(0), i = (s) => {
111082
+ const n = WMt(e, t), [r, o] = ve(0), i = (s) => {
111078
111083
  o(s);
111079
111084
  }, a = n[r] ?? n[0];
111080
111085
  return /* @__PURE__ */ R(cn, { children: [
package/dist/react-ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, b as t, c as r, d as n, e as i, f as l, g as u, h as d, i as g, j as c, k as m, l as p, m as b, n as T, o as f, p as S, q as h, r as C, B as D, s as R, t as A, u as E, v as I, w, x as v, y, z as P, C as L, D as x, E as F, F as M, G as B, H as G, J as k, K as O, L as H, M as U, N, O as V, P as z, Q as K, R as _, S as W, T as j, U as Q, V as Y, W as q, X as J, Y as X, Z, _ as $, $ as aa, a0 as ea, a1 as sa, a2 as oa, a3 as ta, a4 as ra, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as da, aa as ga, ab as ca, ac as ma, ad as pa, ae as ba, af as Ta, ag as fa, ah as Sa, ai as ha, aj as Ca, ak as Da, al as Ra, am as Aa, an as Ea, ao as Ia, ap as wa, aq as va, ar as ya, as as Pa, at as La, au as xa, av as Fa, aw as Ma, ax as Ba, ay as Ga, az as ka, aA as Oa, aB as Ha, aC as Ua, aD as Na, aE as Va, aF as za, aG as Ka, aH as _a, aI as Wa, aJ as ja, aK as Qa, aL as Ya, aM as qa, aN as Ja, aO as Xa, aP as Za, aQ as $a, aR as ae, aS as ee, aT as se, aU as oe, aV as te, aW as re, aX as ne, aY as ie, aZ as le, bM as ue, a_ as de, a$ as ge, b0 as ce, b1 as me, b2 as pe, b3 as be, b4 as Te, b5 as fe, b6 as Se, b7 as he, b8 as Ce, b9 as De, ba as Re, bb as Ae, bc as Ee, bd as Ie, be as we, bf as ve, bg as ye, bh as Pe, bi as Le, bj as xe, bk as Fe, bl as Me, bm as Be, bn as Ge, bo as ke, bp as Oe, bq as He, br as Ue, bs as Ne, bt as Ve, bu as ze, bv as Ke, bw as _e, bx as We, by as je, bz as Qe, bA as Ye, bB as qe, bC as Je, bD as Xe, bE as Ze, bF as $e, bG as as, bH as es, bI as ss, bJ as os, bK as ts, bL as rs, bN as ns, bO as is, bP as ls, bQ as us, bR as ds, bS as gs, bT as cs, bU as ms, bV as ps, bW as bs, bX as Ts, bY as fs, bZ as Ss, b_ as hs, b$ as Cs, c0 as Ds, c1 as Rs, c2 as As, c3 as Es, c4 as Is, c5 as ws, c6 as vs, c7 as ys, c8 as Ps, c9 as Ls, ca as xs, cb as Fs, cc as Ms, cd as Bs, ce as Gs, cf as ks, cg as Os, ch as Hs, ci as Us, cj as Ns, ck as Vs, cl as zs, cm as Ks, cn as _s, co as Ws, cp as js, cq as Qs, cr as Ys, cs as qs, ct as Js, cu as Xs, cv as Zs, cw as $s, cx as ao, cy as eo, cz as so, cA as oo, cB as to, cC as ro, cD as no, cE as io, cF as lo, cG as uo, cH as go, cI as co, cJ as mo, cK as po, cL as bo, cM as To, cN as fo, cO as So, cP as ho, cQ as Co, cR as Do, cS as Ro, cT as Ao, cU as Eo, cV as Io, cW as wo, cX as vo, cY as yo, cZ as Po, c_ as Lo, c$ as xo, d0 as Fo, d1 as Mo, d2 as Bo, d3 as Go, d4 as ko, d5 as Oo, d6 as Ho, d7 as Uo, d8 as No, d9 as Vo, da as zo, db as Ko, dc as _o, dd as Wo, de as jo, df as Qo, dg as Yo, dh as qo, di as Jo, dj as Xo, dk as Zo, dl as $o, dm as at, dn as et, dp as st, dq as ot, dr as tt, ds as rt, dt as nt, du as it, dv as lt, dw as ut, dx as dt, dy as gt, dz as ct, dA as mt, dB as pt, dC as bt, dD as Tt, dE as ft, dF as St, dG as ht, dH as Ct, dI as Dt, dJ as Rt, dK as At, dL as Et, dM as It, dN as wt, dO as vt, dP as yt, dQ as Pt, dR as Lt, dS as xt, dT as Ft, dU as Mt, dV as Bt, dW as Gt, dX as kt, dY as Ot, dZ as Ht, d_ as Ut, e0 as Nt, e1 as Vt, e2 as zt, e3 as Kt, e4 as _t, e5 as Wt, e6 as jt, e7 as Qt, e8 as Yt, e9 as qt, ea as Jt, eb as Xt, ec as Zt, ed as $t, ee as ar, ef as er, eg as sr, eh as or, ei as tr, ej as rr, ek as nr, el as ir, d$ as lr, em as ur, en as dr, eo as gr, ep as cr, eq as mr, er as pr, es as br, et as Tr, eu as fr, ev as Sr, ew as hr, ex as Cr, ey as Dr, ez as Rr, eA as Ar, eB as Er, eC as Ir, eD as wr, eE as vr, eF as yr, eG as Pr, eH as Lr, eI as xr, eJ as Fr, eK as Mr, eL as Br, eM as Gr, eN as kr, eO as Or, eP as Hr, eQ as Ur, eR as Nr, eS as Vr, eT as zr, eU as Kr, eV as _r, eW as Wr, eX as jr, eY as Qr, eZ as Yr, e_ as qr, e$ as Jr, f0 as Xr, f1 as Zr, f2 as $r, f3 as an, f4 as en, f5 as sn, f6 as on, f7 as tn, f8 as rn, f9 as nn, fa as ln, fb as un, fc as dn, fd as gn, fe as cn, ff as mn, fg as pn, fh as bn, fi as Tn, fj as fn, fk as Sn, fl as hn, fm as Cn, fn as Dn, fo as Rn, fp as An, fq as En, fr as In, fs as wn, ft as vn, fu as yn, fv as Pn, fw as Ln, fx as xn, fy as Fn, fz as Mn, fA as Bn, fB as Gn, fC as kn, fD as On, fE as Hn, fF as Un, fG as Nn, fH as Vn, fI as zn, fJ as Kn, fK as _n, fL as Wn, fM as jn, fN as Qn, fO as Yn, fP as qn, fQ as Jn, fR as Xn, fS as Zn, fT as $n, fU as ai, fV as ei, fW as si, fX as oi, fY as ti, fZ as ri, f_ as ni, f$ as ii, g0 as li, g1 as ui, g2 as di, g3 as gi, g4 as ci, g5 as mi, g6 as pi, g7 as bi, g8 as Ti, g9 as fi, ga as Si, gb as hi, gc as Ci, gd as Di, ge as Ri, gf as Ai, gg as Ei, gh as Ii, gi as wi, gj as vi, gk as yi, gl as Pi, gm as Li, gn as xi, go as Fi, gp as Mi, gq as Bi, gr as Gi, gs as ki, gt as Oi, gu as Hi, gv as Ui, gw as Ni, gx as Vi, gy as zi, gz as Ki, gA as _i, gB as Wi, gC as ji, gD as Qi, gE as Yi, gG as qi, gH as Ji, gI as Xi } from "./index-B8kEMseY.js";
1
+ import { A as s, a as o, b as t, c as r, d as n, e as i, f as l, g as u, h as d, i as g, j as c, k as m, l as p, m as b, n as T, o as f, p as S, q as h, r as C, B as D, s as R, t as A, u as E, v as I, w, x as v, y, z as P, C as L, D as x, E as F, F as M, G as B, H as G, J as k, K as O, L as H, M as U, N, O as V, P as z, Q as K, R as _, S as W, T as j, U as Q, V as Y, W as q, X as J, Y as X, Z, _ as $, $ as aa, a0 as ea, a1 as sa, a2 as oa, a3 as ta, a4 as ra, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as da, aa as ga, ab as ca, ac as ma, ad as pa, ae as ba, af as Ta, ag as fa, ah as Sa, ai as ha, aj as Ca, ak as Da, al as Ra, am as Aa, an as Ea, ao as Ia, ap as wa, aq as va, ar as ya, as as Pa, at as La, au as xa, av as Fa, aw as Ma, ax as Ba, ay as Ga, az as ka, aA as Oa, aB as Ha, aC as Ua, aD as Na, aE as Va, aF as za, aG as Ka, aH as _a, aI as Wa, aJ as ja, aK as Qa, aL as Ya, aM as qa, aN as Ja, aO as Xa, aP as Za, aQ as $a, aR as ae, aS as ee, aT as se, aU as oe, aV as te, aW as re, aX as ne, aY as ie, aZ as le, bM as ue, a_ as de, a$ as ge, b0 as ce, b1 as me, b2 as pe, b3 as be, b4 as Te, b5 as fe, b6 as Se, b7 as he, b8 as Ce, b9 as De, ba as Re, bb as Ae, bc as Ee, bd as Ie, be as we, bf as ve, bg as ye, bh as Pe, bi as Le, bj as xe, bk as Fe, bl as Me, bm as Be, bn as Ge, bo as ke, bp as Oe, bq as He, br as Ue, bs as Ne, bt as Ve, bu as ze, bv as Ke, bw as _e, bx as We, by as je, bz as Qe, bA as Ye, bB as qe, bC as Je, bD as Xe, bE as Ze, bF as $e, bG as as, bH as es, bI as ss, bJ as os, bK as ts, bL as rs, bN as ns, bO as is, bP as ls, bQ as us, bR as ds, bS as gs, bT as cs, bU as ms, bV as ps, bW as bs, bX as Ts, bY as fs, bZ as Ss, b_ as hs, b$ as Cs, c0 as Ds, c1 as Rs, c2 as As, c3 as Es, c4 as Is, c5 as ws, c6 as vs, c7 as ys, c8 as Ps, c9 as Ls, ca as xs, cb as Fs, cc as Ms, cd as Bs, ce as Gs, cf as ks, cg as Os, ch as Hs, ci as Us, cj as Ns, ck as Vs, cl as zs, cm as Ks, cn as _s, co as Ws, cp as js, cq as Qs, cr as Ys, cs as qs, ct as Js, cu as Xs, cv as Zs, cw as $s, cx as ao, cy as eo, cz as so, cA as oo, cB as to, cC as ro, cD as no, cE as io, cF as lo, cG as uo, cH as go, cI as co, cJ as mo, cK as po, cL as bo, cM as To, cN as fo, cO as So, cP as ho, cQ as Co, cR as Do, cS as Ro, cT as Ao, cU as Eo, cV as Io, cW as wo, cX as vo, cY as yo, cZ as Po, c_ as Lo, c$ as xo, d0 as Fo, d1 as Mo, d2 as Bo, d3 as Go, d4 as ko, d5 as Oo, d6 as Ho, d7 as Uo, d8 as No, d9 as Vo, da as zo, db as Ko, dc as _o, dd as Wo, de as jo, df as Qo, dg as Yo, dh as qo, di as Jo, dj as Xo, dk as Zo, dl as $o, dm as at, dn as et, dp as st, dq as ot, dr as tt, ds as rt, dt as nt, du as it, dv as lt, dw as ut, dx as dt, dy as gt, dz as ct, dA as mt, dB as pt, dC as bt, dD as Tt, dE as ft, dF as St, dG as ht, dH as Ct, dI as Dt, dJ as Rt, dK as At, dL as Et, dM as It, dN as wt, dO as vt, dP as yt, dQ as Pt, dR as Lt, dS as xt, dT as Ft, dU as Mt, dV as Bt, dW as Gt, dX as kt, dY as Ot, dZ as Ht, d_ as Ut, e0 as Nt, e1 as Vt, e2 as zt, e3 as Kt, e4 as _t, e5 as Wt, e6 as jt, e7 as Qt, e8 as Yt, e9 as qt, ea as Jt, eb as Xt, ec as Zt, ed as $t, ee as ar, ef as er, eg as sr, eh as or, ei as tr, ej as rr, ek as nr, el as ir, d$ as lr, em as ur, en as dr, eo as gr, ep as cr, eq as mr, er as pr, es as br, et as Tr, eu as fr, ev as Sr, ew as hr, ex as Cr, ey as Dr, ez as Rr, eA as Ar, eB as Er, eC as Ir, eD as wr, eE as vr, eF as yr, eG as Pr, eH as Lr, eI as xr, eJ as Fr, eK as Mr, eL as Br, eM as Gr, eN as kr, eO as Or, eP as Hr, eQ as Ur, eR as Nr, eS as Vr, eT as zr, eU as Kr, eV as _r, eW as Wr, eX as jr, eY as Qr, eZ as Yr, e_ as qr, e$ as Jr, f0 as Xr, f1 as Zr, f2 as $r, f3 as an, f4 as en, f5 as sn, f6 as on, f7 as tn, f8 as rn, f9 as nn, fa as ln, fb as un, fc as dn, fd as gn, fe as cn, ff as mn, fg as pn, fh as bn, fi as Tn, fj as fn, fk as Sn, fl as hn, fm as Cn, fn as Dn, fo as Rn, fp as An, fq as En, fr as In, fs as wn, ft as vn, fu as yn, fv as Pn, fw as Ln, fx as xn, fy as Fn, fz as Mn, fA as Bn, fB as Gn, fC as kn, fD as On, fE as Hn, fF as Un, fG as Nn, fH as Vn, fI as zn, fJ as Kn, fK as _n, fL as Wn, fM as jn, fN as Qn, fO as Yn, fP as qn, fQ as Jn, fR as Xn, fS as Zn, fT as $n, fU as ai, fV as ei, fW as si, fX as oi, fY as ti, fZ as ri, f_ as ni, f$ as ii, g0 as li, g1 as ui, g2 as di, g3 as gi, g4 as ci, g5 as mi, g6 as pi, g7 as bi, g8 as Ti, g9 as fi, ga as Si, gb as hi, gc as Ci, gd as Di, ge as Ri, gf as Ai, gg as Ei, gh as Ii, gi as wi, gj as vi, gk as yi, gl as Pi, gm as Li, gn as xi, go as Fi, gp as Mi, gq as Bi, gr as Gi, gs as ki, gt as Oi, gu as Hi, gv as Ui, gw as Ni, gx as Vi, gy as zi, gz as Ki, gA as _i, gB as Wi, gC as ji, gD as Qi, gE as Yi, gG as qi, gH as Ji, gI as Xi } from "./index-a1tACKHw.js";
2
2
  export {
3
3
  s as AUTH_CHECK,
4
4
  o as AUTH_ERROR,
@@ -36,18 +36,24 @@ export interface UseMenuConfigOptions {
36
36
  */
37
37
  shortcut?: string;
38
38
  /**
39
- * API endpoint template to fetch configuration data
40
- * Use {id} as placeholder for config ID
39
+ * API endpoint template to fetch configuration data.
40
+ * Use {id} as placeholder for config ID.
41
+ * If omitted the hook only resolves the parameter value and skips the API fetch.
41
42
  * @example "/api/diagnostics/diagnosticReportConfigurations/{id}"
42
43
  */
43
- apiEndpoint: string;
44
+ apiEndpoint?: string;
44
45
  /**
45
46
  * App name - used to derive session storage key
46
- * Session storage key will be: `${appName}:configIds`
47
- * @example "diagnosticreport" → "diagnosticreport:configIds"
48
- * @example "observations" → "observations:configIds"
47
+ * Session storage key will be: `${appName}:parameters`
48
+ * @example "diagnosticreport" → "diagnosticreport:parameters"
49
49
  */
50
50
  appName: string;
51
+ /**
52
+ * The key to read from the shortcut's parameter object in session storage.
53
+ * @default "config"
54
+ * @example "hubConfig" → reads shortcutParams.hubConfig instead of shortcutParams.config
55
+ */
56
+ paramKey?: string;
51
57
  /**
52
58
  * Whether to enable debug logging
53
59
  * @default false
@@ -59,7 +65,12 @@ export interface UseMenuConfigOptions {
59
65
  */
60
66
  export interface UseMenuConfigResult<TConfig = any> {
61
67
  /**
62
- * Configuration data fetched from API
68
+ * The raw parameter value resolved from session storage (e.g. a UUID string).
69
+ * Available even when apiEndpoint is omitted.
70
+ */
71
+ configId: string | undefined;
72
+ /**
73
+ * Configuration data fetched from API (only populated when apiEndpoint is provided)
63
74
  */
64
75
  config: TConfig | null;
65
76
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-menu-config/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC;QACjB,aAAa,CAAC,EAAE,KAAK,CAAC;YACpB,KAAK,CAAC,EAAE,KAAK,CAAC;gBACZ,GAAG,CAAC,EAAE;oBAAE,EAAE,EAAE,MAAM,CAAC;oBAAC,IAAI,CAAC,EAAE,MAAM,CAAA;iBAAE,CAAC;gBACpC,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,UAAU,CAAC,EAAE;oBACX,SAAS,CAAC,EAAE,MAAM,CAAC;oBACnB,UAAU,CAAC,EAAE;wBACX,EAAE,EAAE,MAAM,CAAC;wBACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;qBACpB,CAAC;iBACH,CAAC;gBACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;aACpB,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,OAAO,GAAG,GAAG;IAChD;;OAEG;IACH,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-menu-config/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC;QACjB,aAAa,CAAC,EAAE,KAAK,CAAC;YACpB,KAAK,CAAC,EAAE,KAAK,CAAC;gBACZ,GAAG,CAAC,EAAE;oBAAE,EAAE,EAAE,MAAM,CAAC;oBAAC,IAAI,CAAC,EAAE,MAAM,CAAA;iBAAE,CAAC;gBACpC,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAClB,UAAU,CAAC,EAAE;oBACX,SAAS,CAAC,EAAE,MAAM,CAAC;oBACnB,UAAU,CAAC,EAAE;wBACX,EAAE,EAAE,MAAM,CAAC;wBACX,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;qBACpB,CAAC;iBACH,CAAC;gBACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;aACpB,CAAC,CAAC;SACJ,CAAC,CAAC;KACJ,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,OAAO,GAAG,GAAG;IAChD;;;OAGG;IACH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-menu-config.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-menu-config/use-menu-config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGzE,YAAY,EAAE,QAAQ,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,GAAG,EACzC,SAAS,oBAAoB,KAC5B,mBAAmB,CAAC,OAAO,CAgI7B,CAAC"}
1
+ {"version":3,"file":"use-menu-config.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-menu-config/use-menu-config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGzE,YAAY,EAAE,QAAQ,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,GAAG,EACzC,SAAS,oBAAoB,KAC5B,mBAAmB,CAAC,OAAO,CA0I7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mesalvo/react-ui",
3
- "version": "0.0.38731",
3
+ "version": "0.0.38827",
4
4
  "displayName": "React UI",
5
5
  "description": "The official React components built for Mesalvo' apps",
6
6
  "keywords": [
@@ -123,10 +123,10 @@
123
123
  "vitest": "4.0.15",
124
124
  "@mesalvo/api-client": "0.0.1",
125
125
  "@mesalvo/biome-config": "0.0.2",
126
- "@mesalvo/icons": "0.0.1",
127
- "@mesalvo/ts-auth": "2.0.0",
128
126
  "@mesalvo/ts-definitions": "0.0.2",
129
- "@mesalvo/ts-logic": "0.0.1"
127
+ "@mesalvo/ts-logic": "0.0.1",
128
+ "@mesalvo/icons": "0.0.1",
129
+ "@mesalvo/ts-auth": "2.0.0"
130
130
  },
131
131
  "peerDependencies": {
132
132
  "react": "^19.0.0",