hplx-feature-library 1.0.226 → 1.0.228

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,4 +1,4 @@
1
- import { U as f } from "../UserProfile-D3cCwQxw.js";
1
+ import { U as f } from "../UserProfile-Pdx0yuTC.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -25,7 +25,7 @@ const XA = "../modelChangePassword.php", uA = async (A, E) => {
25
25
  const c = new FormData();
26
26
  c.append("oldPassword", x.oldPassword), c.append("pass1", x.password), c.append("pass2", x.confirmPassword), c.append("recaptcha-token", "");
27
27
  const R = await uA(c, B), { apierror: F } = R || {};
28
- F ? (g("Change Password", F, "Error", 1500), C(F)) : (g("Password Changed", "Password Changed Successfully", "Success", 1500), k(), E());
28
+ F ? (g?.("Change Password", F, "Error", 1500), C(F)) : (g?.("Password Changed", "Password Changed Successfully", "Success", 1500), k(), E());
29
29
  }, h = (c, R) => {
30
30
  const F = c.target.value.trim(), P = {
31
31
  ...x,
@@ -1596,7 +1596,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1596
1596
  "halo_refresh_token_expiry",
1597
1597
  `dosageCacheDataListDate-${Q.window_var.doctor_role_id_for_seg}`,
1598
1598
  `dosageCacheDataList-${Q.window_var.doctor_role_id_for_seg}`
1599
- ].forEach((c) => localStorage.removeItem(c)), I("../modelLogout.php");
1599
+ ].forEach((c) => localStorage.removeItem(c)), I();
1600
1600
  };
1601
1601
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1602
1602
  Y && /* @__PURE__ */ i.jsx("div", { className: "absolute top-[50%] left-[50%]", children: /* @__PURE__ */ i.jsx(
@@ -1690,7 +1690,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1690
1690
  iconFile: "hx_hard-drive",
1691
1691
  className: "hfl-my-2 hfl-w-full hfl-justify-center hfl-bg-Primary-600",
1692
1692
  onClick: () => {
1693
- g("redirect-to-db"), B();
1693
+ g?.("redirect-to-db"), B?.();
1694
1694
  },
1695
1695
  onMouseEnter: () => C?.($.privateDb)
1696
1696
  }