hplx-feature-library 1.0.225 → 1.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NineDots/index.js +1 -1
- package/dist/{NineDots-CCtE2t9I.js → NineDots-B3ZRumoi.js} +1 -1
- package/dist/{NineDots-BEzE3Pj8.cjs → NineDots-CUXiXRmO.cjs} +2 -2
- package/dist/UserProfile/index.js +1 -1
- package/dist/{UserProfile-4L3aOHNv.cjs → UserProfile-CUmKG8tk.cjs} +2 -2
- package/dist/{UserProfile-D3cCwQxw.js → UserProfile-DlAHamot.js} +2 -2
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/userProfile/UserProfile.d.ts +3 -3
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -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
|
}
|
|
@@ -2,7 +2,7 @@ import { GlobalWindow, E_ENVIRONMENT } from '../../types/CommonTypes';
|
|
|
2
2
|
interface ChangePasswordModalProps {
|
|
3
3
|
closeModel: () => void;
|
|
4
4
|
modalIsOpen: boolean;
|
|
5
|
-
showToast
|
|
5
|
+
showToast?: (title: string, description: string, type: string, duration: number) => void;
|
|
6
6
|
variable: {
|
|
7
7
|
env: E_ENVIRONMENT;
|
|
8
8
|
token: string;
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { P as e } from "./PatientPopupContainer-DpCBNO2c.js";
|
|
|
3
3
|
import { A as i } from "./Attachments-4FIsCWlc.js";
|
|
4
4
|
import { P } from "./PatientAddEdit-9W7ONHSd.js";
|
|
5
5
|
import { S as m } from "./SearchPatients-D7cCFV9o.js";
|
|
6
|
-
import { N as n } from "./NineDots-
|
|
7
|
-
import { U as d } from "./UserProfile-
|
|
6
|
+
import { N as n } from "./NineDots-B3ZRumoi.js";
|
|
7
|
+
import { U as d } from "./UserProfile-DlAHamot.js";
|
|
8
8
|
import { P as c } from "./PrintModal-BF2-PDRX.js";
|
|
9
9
|
import { A as u } from "./AllInvestigationsTable-Dg-YXASz.js";
|
|
10
10
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { E_ENVIRONMENT, GlobalWindow } from '../types/CommonTypes';
|
|
2
2
|
interface UserProfileProps {
|
|
3
|
-
showToast
|
|
3
|
+
showToast?: (title: string, description: string, type: string, duration: number) => void;
|
|
4
4
|
showPrivateDbInSidebar: boolean;
|
|
5
5
|
syncAndLogOutHandler: (url: string) => void;
|
|
6
|
-
setPrivateDbModal
|
|
7
|
-
handleSendOtp
|
|
6
|
+
setPrivateDbModal?: (str: string) => void;
|
|
7
|
+
handleSendOtp?: () => void;
|
|
8
8
|
UserProfileDisabled?: boolean;
|
|
9
9
|
preloadPathModule?: (path: string) => void;
|
|
10
10
|
variable: {
|