hplx-feature-library 1.0.161 → 1.0.163
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/APIAction-Dwk0qXbN.cjs +9 -0
- package/dist/APIAction-Zpy6wLQC.js +4033 -0
- package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
- package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
- package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
- package/dist/Attachments/components/uploading-toast.d.ts +1 -1
- package/dist/Attachments/context/index.d.ts +2 -2
- package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
- package/dist/Attachments/index.js +12640 -11157
- package/dist/CameraCapture/index.d.ts +1 -1
- package/dist/PatientAddEdit/index.js +665 -4323
- package/dist/PatientPopup/action/APIAction.d.ts +65 -0
- package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
- package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
- package/dist/PatientPopup/common/common.d.ts +14 -0
- package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
- package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
- package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
- package/dist/PatientPopup/components/Pagination.d.ts +9 -0
- package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
- package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
- package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
- package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
- package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
- package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
- package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
- package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
- package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
- package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
- package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
- package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
- package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
- package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
- package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
- package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
- package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
- package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
- package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
- package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
- package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
- package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
- package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
- package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
- package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
- package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
- package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
- package/dist/PatientPopup/index.d.ts +1 -0
- package/dist/PatientPopup/index.js +135387 -0
- package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
- package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
- package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-bTvt7SWQ.cjs +9 -0
- package/dist/PediatricsCalculatorTable-qu37FR7D.js +1175 -0
- package/dist/ReusableModal-2GKjVVbf.cjs +1 -0
- package/dist/ReusableModal-BL_DwV8I.js +29 -0
- package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
- package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
- package/dist/common/APIAction/APIAction.d.ts +17 -44
- package/dist/common/utils/NetworkInstance.d.ts +2 -2
- package/dist/common/utils/common-utils.d.ts +10 -12
- package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +2 -2
- package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
- package/dist/constants/CommonConstant.d.ts +13 -1
- package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
- package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
- package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
- package/dist/fonts/Arial-Bold.ttf +0 -0
- package/dist/fonts/Arial-Italic.ttf +0 -0
- package/dist/fonts/Arial.ttf +0 -0
- package/dist/fonts/IndianRupee.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
- package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
- package/dist/fonts/NotoSansArabic.ttf +0 -0
- package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
- package/dist/fonts/NotoSansHindi.ttf +0 -0
- package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
- package/dist/fonts/NotoSansKannada.ttf +0 -0
- package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
- package/dist/fonts/NotoSansOriya.ttf +0 -0
- package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
- package/dist/fonts/NotoSansTamil.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Times-Bold-Italic.ttf +0 -0
- package/dist/fonts/Times-Bold.ttf +0 -0
- package/dist/fonts/Times-Italic.ttf +0 -0
- package/dist/fonts/Times.ttf +0 -0
- package/dist/fonts/TiroBangla-Bold.ttf +0 -0
- package/dist/fonts/TiroBangla-Regular.ttf +0 -0
- package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
- package/dist/fonts/Verdana-Bold.ttf +0 -0
- package/dist/fonts/Verdana-Italic.ttf +0 -0
- package/dist/fonts/Verdana.ttf +0 -0
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index-BzwuwvT5.js +961 -0
- package/dist/index-CJ2AKRoq.cjs +102 -0
- package/dist/index-CRCsQdYf.cjs +32 -0
- package/dist/{index-Cl3h7bnz.js → index-UPYT3B9g.js} +2823 -2700
- package/dist/index.d.ts +0 -5
- package/dist/index.js +2 -12
- package/dist/nineDots/NineDotsTypes.d.ts +22 -0
- package/dist/nineDots/NineDotsUtils.d.ts +3 -0
- package/dist/nineDots/nineDots.d.ts +3 -0
- package/dist/searchPatients/SearchPatients.d.ts +11 -0
- package/dist/types/ApiResponseTypes.d.ts +49 -8
- package/dist/types/CommonTypes.d.ts +37 -10
- package/dist/types/PatientAddEditTypes.d.ts +2 -8
- package/dist/types/PatientPopupTypes/index.js +1 -0
- package/dist/types/PatientPopupTypes.d.ts +836 -0
- package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
- package/dist/userProfile/UserProfile.d.ts +18 -0
- package/dist/userProfile/UserProfileItem.d.ts +7 -0
- package/dist/warning-BozzKWdr.js +38 -0
- package/dist/warning-W0tkkrLJ.cjs +1 -0
- package/package.json +22 -33
- package/dist/AlertPopup/index.js +0 -79
- package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
- package/dist/AllInvestigations/index.d.ts +0 -1
- package/dist/AllInvestigations/index.js +0 -4
- package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
- package/dist/AllInvestigationsTable-9CE_uDGv.cjs +0 -80
- package/dist/AllInvestigationsTable-HC9dOdiS.js +0 -16964
- package/dist/CustomDropdown/index.js +0 -256
- package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5908
- package/dist/PediatricsCalculatorTable-CB1YOoVy.js +0 -833
- package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +0 -1
- package/dist/ReusableTable/ReusableTable.d.ts +0 -3
- package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
- package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
- package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
- package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
- package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
- package/dist/ReusableTable/components/Pagination.d.ts +0 -2
- package/dist/ReusableTable/components/TableBody.d.ts +0 -2
- package/dist/ReusableTable/components/TableCell.d.ts +0 -3
- package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
- package/dist/ReusableTable/components/TableHead.d.ts +0 -2
- package/dist/ReusableTable/components/TableMain.d.ts +0 -2
- package/dist/ReusableTable/components/TableRow.d.ts +0 -3
- package/dist/ReusableTable/context/TableContext.d.ts +0 -21
- package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
- package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
- package/dist/ToggleButtons/index.js +0 -17
- package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
- package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
- package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
- package/dist/TrendGraphs/context/index.d.ts +0 -2
- package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
- package/dist/TrendGraphs/utils/index.d.ts +0 -4
- package/dist/clsx-C11secjj.cjs +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/components/Modal.d.ts +0 -5
- package/dist/components/alertPopup/index.d.ts +0 -1
- package/dist/components/customDropdown/index.d.ts +0 -1
- package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
- package/dist/components/dateTimePicker/index.d.ts +0 -1
- package/dist/components/toggleButtons/index.d.ts +0 -1
- package/dist/constants/TrendGraphsConstants.d.ts +0 -2
- package/dist/dayjs.min-D8X6dnmr.cjs +0 -1
- package/dist/dayjs.min-SMxpcMQi.js +0 -284
- package/dist/index-BFfWEART.js +0 -995
- package/dist/index-BVfQUI8j.cjs +0 -98
- package/dist/index-CHAEpyb1.cjs +0 -32
- package/dist/index-CJFGOBPb.js +0 -122
- package/dist/index-DfcUmlge.cjs +0 -17
- package/dist/parseISO-AwyR5Nhg.cjs +0 -1
- package/dist/parseISO-Cso9HWPX.js +0 -1414
- package/dist/types/AllInvestigationTypes/index.js +0 -4
- package/dist/types/AllInvestigationTypes.d.ts +0 -45
- package/dist/types/TrendGraphTypes.d.ts +0 -19
- package/dist/useClickOutside-BjJyGTec.js +0 -14
- package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
- /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./index-CJ2AKRoq.cjs"),c=require("react"),h=({childModalRef:e,children:u,hideBackDrop:f=!1,backdropClasses:o="",modalClasses:i="",closeOnClickOutside:t,clickOutsideHandler:r,position:l="hfl-inset-0"})=>(c.useEffect(()=>{if(!t)return;const s=a=>{e.current&&!e.current.contains(a.target)&&r()};return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[r,e,t]),n.jsxRuntimeExports.jsx("div",{className:`hfl-fixed ${l} hfl-z-50 hfl-flex hfl-items-center hfl-justify-center ${o} ${f?"":"hfl-bg-Gray-750 hfl-backdrop-blur-sm"}`,children:n.jsxRuntimeExports.jsx("div",{ref:e,className:`hfl-rounded-lg hfl-shadow-md hfl-bg-White ${i??""}`,children:u})}));exports.ReusableModal=h;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { j as n } from "./index-UPYT3B9g.js";
|
|
2
|
+
import { useEffect as l } from "react";
|
|
3
|
+
const c = ({
|
|
4
|
+
childModalRef: e,
|
|
5
|
+
children: f,
|
|
6
|
+
hideBackDrop: o = !1,
|
|
7
|
+
backdropClasses: m = "",
|
|
8
|
+
modalClasses: u = "",
|
|
9
|
+
closeOnClickOutside: r,
|
|
10
|
+
clickOutsideHandler: t,
|
|
11
|
+
position: a = "hfl-inset-0"
|
|
12
|
+
}) => (l(() => {
|
|
13
|
+
if (!r) return;
|
|
14
|
+
const s = (h) => {
|
|
15
|
+
e.current && !e.current.contains(h.target) && t();
|
|
16
|
+
};
|
|
17
|
+
return document.addEventListener("mousedown", s), () => {
|
|
18
|
+
document.removeEventListener("mousedown", s);
|
|
19
|
+
};
|
|
20
|
+
}, [t, e, r]), /* @__PURE__ */ n.jsx(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: `hfl-fixed ${a} hfl-z-50 hfl-flex hfl-items-center hfl-justify-center ${m} ${o ? "" : "hfl-bg-Gray-750 hfl-backdrop-blur-sm"}`,
|
|
24
|
+
children: /* @__PURE__ */ n.jsx("div", { ref: e, className: `hfl-rounded-lg hfl-shadow-md hfl-bg-White ${u ?? ""}`, children: f })
|
|
25
|
+
}
|
|
26
|
+
));
|
|
27
|
+
export {
|
|
28
|
+
c as R
|
|
29
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GlobalWindow, E_ENVIRONMENT } from '../../types/CommonTypes';
|
|
2
|
+
export declare const ChangePasswordType = "../modelChangePassword.php";
|
|
3
|
+
export declare const confirmOldPassword: (payload: FormData, variable: {
|
|
4
|
+
env: E_ENVIRONMENT;
|
|
5
|
+
token: string;
|
|
6
|
+
enc_token?: string;
|
|
7
|
+
window_var: Partial<GlobalWindow>;
|
|
8
|
+
}) => Promise<any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GlobalWindow, E_ENVIRONMENT } from '../../types/CommonTypes';
|
|
2
|
+
interface ChangePasswordModalProps {
|
|
3
|
+
closeModel: () => void;
|
|
4
|
+
modalIsOpen: boolean;
|
|
5
|
+
showToast: (title: string, description: string, type: string, duration: number) => void;
|
|
6
|
+
variable: {
|
|
7
|
+
env: E_ENVIRONMENT;
|
|
8
|
+
token: string;
|
|
9
|
+
enc_token?: string | undefined;
|
|
10
|
+
window_var: Partial<GlobalWindow>;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const ChangePasswordModal: (props: ChangePasswordModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default ChangePasswordModal;
|
|
@@ -1,43 +1,15 @@
|
|
|
1
|
-
import { ADD_PATIENT_IMAGE_RESPONSE, ADD_PATIENT_RESPONSE, DELETE_PATIENT_IMAGE_RESPONSE, GET_APPOINTMENTS_RESPONSE, GET_BRANCH_PREFERENCE_RESPONSE, GET_PATIENT_DETAILS_RESPONSE, GET_REFERRED_BY_LISTS_RESPONSE, IAddPatientPayload, IGetPatientListPayload, IGetPatientListResponse, IUpdatePatientPayload, UPDATE_PATIENT_RESPONSE } from '../../types/ApiResponseTypes';
|
|
2
|
-
|
|
3
|
-
export declare const getDoctorPreference: (fields_required: string | string[] | undefined, data: {
|
|
1
|
+
import { ADD_PATIENT_IMAGE_RESPONSE, ADD_PATIENT_RESPONSE, DELETE_PATIENT_IMAGE_RESPONSE, ENV_PARAMS, GET_APPOINTMENTS_RESPONSE, GET_BRANCH_PREFERENCE_RESPONSE, GET_PATIENT_DETAILS_RESPONSE, GET_REFERRED_BY_LISTS_RESPONSE, GET_VISITPAD_PREFERENCES_RESPONSE, IAddPatientPayload, IGetPatientListPayload, IGetPatientListResponse, IUpdatePatientPayload, UPDATE_PATIENT_RESPONSE } from '../../types/ApiResponseTypes';
|
|
2
|
+
export declare const getDoctorPreference: (fields_required?: string | string[], data?: {
|
|
4
3
|
doc_rid?: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export declare const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
14
|
-
token: string;
|
|
15
|
-
env: E_ENVIRONMENT;
|
|
16
|
-
}) => Promise<GET_APPOINTMENTS_RESPONSE>;
|
|
17
|
-
export declare const getPatientList: (payload: IGetPatientListPayload, token_env: {
|
|
18
|
-
token: string;
|
|
19
|
-
env: E_ENVIRONMENT;
|
|
20
|
-
}) => Promise<IGetPatientListResponse | null>;
|
|
21
|
-
export declare const getReferredByList: (token_env: {
|
|
22
|
-
token: string;
|
|
23
|
-
env: E_ENVIRONMENT;
|
|
24
|
-
}) => Promise<GET_REFERRED_BY_LISTS_RESPONSE>;
|
|
25
|
-
export declare const addPatientDetails: (payload: IAddPatientPayload, token_env: {
|
|
26
|
-
token: string;
|
|
27
|
-
env: E_ENVIRONMENT;
|
|
28
|
-
}) => Promise<ADD_PATIENT_RESPONSE>;
|
|
29
|
-
export declare const updatePatientDetails: (payload: IUpdatePatientPayload, token_env: {
|
|
30
|
-
token: string;
|
|
31
|
-
env: E_ENVIRONMENT;
|
|
32
|
-
}) => Promise<UPDATE_PATIENT_RESPONSE>;
|
|
33
|
-
export declare const addPatientImage: (payload: FormData, token_env: {
|
|
34
|
-
token: string;
|
|
35
|
-
env: E_ENVIRONMENT;
|
|
36
|
-
}) => Promise<ADD_PATIENT_IMAGE_RESPONSE>;
|
|
37
|
-
export declare const deletePatientImage: (payload: FormData, token_env: {
|
|
38
|
-
token: string;
|
|
39
|
-
env: E_ENVIRONMENT;
|
|
40
|
-
}) => Promise<DELETE_PATIENT_IMAGE_RESPONSE>;
|
|
4
|
+
}, doctor_role_id?: string, org_branch_id?: string, token_env?: ENV_PARAMS) => Promise<GET_BRANCH_PREFERENCE_RESPONSE>;
|
|
5
|
+
export declare const getBranchPreferences: (fields_required: string, org_branch_id: string, token_env: ENV_PARAMS) => Promise<GET_BRANCH_PREFERENCE_RESPONSE>;
|
|
6
|
+
export declare const getAppointments: (appnt_date: string, doctor_role_id: string, org_branch_id: string, person_id: string, token_env: ENV_PARAMS) => Promise<GET_APPOINTMENTS_RESPONSE>;
|
|
7
|
+
export declare const getPatientList: (payload: IGetPatientListPayload, token_env: ENV_PARAMS) => Promise<IGetPatientListResponse>;
|
|
8
|
+
export declare const getReferredByList: (token_env: ENV_PARAMS) => Promise<GET_REFERRED_BY_LISTS_RESPONSE>;
|
|
9
|
+
export declare const addPatientDetails: (payload: IAddPatientPayload, token_env: ENV_PARAMS) => Promise<ADD_PATIENT_RESPONSE>;
|
|
10
|
+
export declare const updatePatientDetails: (payload: IUpdatePatientPayload, token_env: ENV_PARAMS) => Promise<UPDATE_PATIENT_RESPONSE>;
|
|
11
|
+
export declare const addPatientImage: (payload: FormData, token_env: ENV_PARAMS) => Promise<ADD_PATIENT_IMAGE_RESPONSE>;
|
|
12
|
+
export declare const deletePatientImage: (payload: FormData, token_env: ENV_PARAMS) => Promise<DELETE_PATIENT_IMAGE_RESPONSE>;
|
|
41
13
|
export declare const getPatientDetails: ({ callback, payload, token_env, isCallbackNeeded, }: {
|
|
42
14
|
callback: (data: GET_PATIENT_DETAILS_RESPONSE) => void;
|
|
43
15
|
payload: {
|
|
@@ -47,9 +19,10 @@ export declare const getPatientDetails: ({ callback, payload, token_env, isCallb
|
|
|
47
19
|
patient_role_id: string;
|
|
48
20
|
partner_service_enabled?: boolean;
|
|
49
21
|
};
|
|
50
|
-
token_env:
|
|
51
|
-
token: string;
|
|
52
|
-
env: E_ENVIRONMENT;
|
|
53
|
-
};
|
|
22
|
+
token_env: ENV_PARAMS;
|
|
54
23
|
isCallbackNeeded?: boolean;
|
|
55
|
-
}) => Promise<GET_PATIENT_DETAILS_RESPONSE
|
|
24
|
+
}) => Promise<GET_PATIENT_DETAILS_RESPONSE>;
|
|
25
|
+
export declare const getVisitpadPreference: ({ doc_id, doc_rid }: {
|
|
26
|
+
doc_id?: string;
|
|
27
|
+
doc_rid?: string;
|
|
28
|
+
}, token_env: ENV_PARAMS, org_branch_id_for_seg: string, person_id_for_seg: string, doctor_role_id_for_seg: string) => Promise<GET_VISITPAD_PREFERENCES_RESPONSE>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { E_ENVIRONMENT } from '../../types/CommonTypes';
|
|
2
|
-
export declare const hplxAPI: (token: string
|
|
2
|
+
export declare const hplxAPI: (token: string, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
|
|
3
3
|
export declare const externalAPI: () => import('axios').AxiosInstance;
|
|
4
|
-
export declare const ReArchAPI: (token: string
|
|
4
|
+
export declare const ReArchAPI: (token: string, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
export declare const getCookie: (cname: string) => string;
|
|
2
2
|
export declare const goToPage: (params: string) => void;
|
|
3
|
-
export declare const parseThroughChannelList: (channelList: string[]) =>
|
|
4
|
-
title: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}[];
|
|
3
|
+
export declare const parseThroughChannelList: (channelList: string[]) => any[];
|
|
7
4
|
export declare const parseReferredByDocList: (referredList: Array<{
|
|
8
5
|
doctor_id: string;
|
|
9
6
|
doctor_name: string;
|
|
10
7
|
specialist: string;
|
|
11
|
-
}>) =>
|
|
12
|
-
doctor_id: string;
|
|
13
|
-
doctor_name: string;
|
|
14
|
-
label: string;
|
|
15
|
-
specialist: string;
|
|
16
|
-
}[];
|
|
8
|
+
}>) => any[];
|
|
17
9
|
export declare const parseReferredByList: (referredList: Array<{
|
|
18
10
|
doctor_id: string;
|
|
19
11
|
doctor_name: string;
|
|
@@ -24,7 +16,7 @@ export declare const parseReferredByList: (referredList: Array<{
|
|
|
24
16
|
specialist: string;
|
|
25
17
|
}>;
|
|
26
18
|
export declare const isJson: (str: string) => boolean;
|
|
27
|
-
export declare const calculateDate: (value: string, unitVal: string) => string
|
|
19
|
+
export declare const calculateDate: (value: string, unitVal: string) => string;
|
|
28
20
|
export declare const getGenderKey: (gender: string) => "M" | "F" | "O";
|
|
29
21
|
export declare const getGender: (gender: number) => string;
|
|
30
22
|
export declare const validateMobileNo: (value: string) => {
|
|
@@ -34,5 +26,11 @@ export declare const validateMobileNo: (value: string) => {
|
|
|
34
26
|
export declare const isValidDate: (dateObject: string | Date) => boolean;
|
|
35
27
|
export declare function calculateAge(pat_dob: string): string;
|
|
36
28
|
export declare const debounceFn: <T extends (...args: unknown[]) => void>(func: T, timing?: number) => ((...args: Parameters<T>) => void);
|
|
37
|
-
export declare const calculateDOB: (value: string, unitVal: string) => string
|
|
29
|
+
export declare const calculateDOB: (value: string, unitVal: string) => string;
|
|
38
30
|
export declare const handle401Status: () => void;
|
|
31
|
+
export declare function capitalizeFirstLetter(value?: string | undefined): string;
|
|
32
|
+
export declare const redirectionToSubscription: (subs_buttonLabel?: string, source_cta?: string) => void;
|
|
33
|
+
export declare const getDurationFormat: (data: any, duration_type?: string) => {
|
|
34
|
+
duration: string;
|
|
35
|
+
durationType: string;
|
|
36
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { I_SelectOption } from '
|
|
2
|
+
import { I_SelectOption } from '../types/PediatricsCalculatorTypes';
|
|
3
3
|
interface placeholderStyle {
|
|
4
4
|
color: string;
|
|
5
5
|
fontFamily: string;
|
|
@@ -15,7 +15,7 @@ interface I_CustomDropdown<T, T2> {
|
|
|
15
15
|
isRequiredField?: boolean;
|
|
16
16
|
btnClassName?: string;
|
|
17
17
|
placeholder?: string;
|
|
18
|
-
options?:
|
|
18
|
+
options?: I_SelectOption<T>[];
|
|
19
19
|
selectedOption?: I_SelectOption<T>;
|
|
20
20
|
onChangeHandler?: (option: I_SelectOption<T>) => void;
|
|
21
21
|
inputValue?: string;
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
export declare enum EAPP_ROUTES {
|
|
2
|
+
visitpad = "/md/viewPatientDashboard.php",
|
|
3
|
+
consultations = "/md/viewPatientList.php",
|
|
4
|
+
appointments = "/md/viewPatientAppointments.php",
|
|
5
|
+
settings = "/md/viewPreferenceSettings.php",
|
|
6
|
+
privateDb = "/md/viewPrivateDB.php",
|
|
7
|
+
dashboardBase = "/",
|
|
8
|
+
referEarn = "/md/inviteReferrals.php",
|
|
9
|
+
teleConsults = "/md/viewRemoteAppointments.php",
|
|
10
|
+
pricing = "/subscription/pricing",
|
|
11
|
+
billSummary = "/subscription/bill-summary",
|
|
12
|
+
pediatricsCalculator = "/md/viewPediatricCalculator.php"
|
|
13
|
+
}
|
|
2
14
|
export declare const OccupationList: string[];
|
|
3
15
|
export declare const CityList: string[];
|
|
4
16
|
export declare const HonorificList: {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMediaQuery: (query: string) => boolean;
|