hplx-feature-library 1.0.162 → 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.
Files changed (195) hide show
  1. package/dist/APIAction-Dwk0qXbN.cjs +9 -0
  2. package/dist/APIAction-Zpy6wLQC.js +4033 -0
  3. package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
  4. package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
  5. package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
  6. package/dist/Attachments/components/uploading-toast.d.ts +1 -1
  7. package/dist/Attachments/context/index.d.ts +2 -2
  8. package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
  9. package/dist/Attachments/index.js +12640 -11157
  10. package/dist/CameraCapture/index.d.ts +1 -1
  11. package/dist/PatientAddEdit/index.js +665 -4323
  12. package/dist/PatientPopup/action/APIAction.d.ts +65 -0
  13. package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
  14. package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
  15. package/dist/PatientPopup/common/common.d.ts +14 -0
  16. package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
  17. package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
  18. package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
  19. package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
  20. package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
  21. package/dist/PatientPopup/components/Pagination.d.ts +9 -0
  22. package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
  23. package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
  24. package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
  25. package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
  26. package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
  27. package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
  28. package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
  29. package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
  30. package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
  31. package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
  32. package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
  33. package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
  34. package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
  35. package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
  36. package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
  37. package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
  38. package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
  39. package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
  40. package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
  41. package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
  42. package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
  43. package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
  44. package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
  45. package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
  46. package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
  47. package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
  48. package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
  49. package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
  50. package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
  51. package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
  52. package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
  53. package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
  54. package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
  55. package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
  56. package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
  57. package/dist/PatientPopup/index.d.ts +1 -0
  58. package/dist/PatientPopup/index.js +135387 -0
  59. package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
  60. package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
  61. package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
  62. package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
  63. package/dist/PediatricsCalculator/index.js +1 -1
  64. package/dist/PediatricsCalculatorTable-bTvt7SWQ.cjs +9 -0
  65. package/dist/PediatricsCalculatorTable-qu37FR7D.js +1175 -0
  66. package/dist/ReusableModal-2GKjVVbf.cjs +1 -0
  67. package/dist/ReusableModal-BL_DwV8I.js +29 -0
  68. package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
  69. package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
  70. package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
  71. package/dist/common/APIAction/APIAction.d.ts +17 -44
  72. package/dist/common/utils/NetworkInstance.d.ts +2 -2
  73. package/dist/common/utils/common-utils.d.ts +10 -12
  74. package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +2 -2
  75. package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
  76. package/dist/constants/CommonConstant.d.ts +13 -1
  77. package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
  78. package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
  79. package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
  80. package/dist/fonts/Arial-Bold.ttf +0 -0
  81. package/dist/fonts/Arial-Italic.ttf +0 -0
  82. package/dist/fonts/Arial.ttf +0 -0
  83. package/dist/fonts/IndianRupee.ttf +0 -0
  84. package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
  85. package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
  86. package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
  87. package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
  88. package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
  89. package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
  90. package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
  91. package/dist/fonts/NotoSansArabic.ttf +0 -0
  92. package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
  93. package/dist/fonts/NotoSansHindi.ttf +0 -0
  94. package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
  95. package/dist/fonts/NotoSansKannada.ttf +0 -0
  96. package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
  97. package/dist/fonts/NotoSansOriya.ttf +0 -0
  98. package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
  99. package/dist/fonts/NotoSansTamil.ttf +0 -0
  100. package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
  101. package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
  102. package/dist/fonts/Roboto-Regular.ttf +0 -0
  103. package/dist/fonts/Times-Bold-Italic.ttf +0 -0
  104. package/dist/fonts/Times-Bold.ttf +0 -0
  105. package/dist/fonts/Times-Italic.ttf +0 -0
  106. package/dist/fonts/Times.ttf +0 -0
  107. package/dist/fonts/TiroBangla-Bold.ttf +0 -0
  108. package/dist/fonts/TiroBangla-Regular.ttf +0 -0
  109. package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
  110. package/dist/fonts/Verdana-Bold.ttf +0 -0
  111. package/dist/fonts/Verdana-Italic.ttf +0 -0
  112. package/dist/fonts/Verdana.ttf +0 -0
  113. package/dist/hooks/useMediaQuery.d.ts +1 -0
  114. package/dist/hplx-feature-library.css +1 -1
  115. package/dist/index-BzwuwvT5.js +961 -0
  116. package/dist/index-CJ2AKRoq.cjs +102 -0
  117. package/dist/index-CRCsQdYf.cjs +32 -0
  118. package/dist/{index-Cl3h7bnz.js → index-UPYT3B9g.js} +2823 -2700
  119. package/dist/index.d.ts +0 -5
  120. package/dist/index.js +2 -12
  121. package/dist/nineDots/NineDotsTypes.d.ts +22 -0
  122. package/dist/nineDots/NineDotsUtils.d.ts +3 -0
  123. package/dist/nineDots/nineDots.d.ts +3 -0
  124. package/dist/searchPatients/SearchPatients.d.ts +11 -0
  125. package/dist/types/ApiResponseTypes.d.ts +49 -8
  126. package/dist/types/CommonTypes.d.ts +37 -10
  127. package/dist/types/PatientAddEditTypes.d.ts +2 -8
  128. package/dist/types/PatientPopupTypes/index.js +1 -0
  129. package/dist/types/PatientPopupTypes.d.ts +836 -0
  130. package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
  131. package/dist/userProfile/UserProfile.d.ts +18 -0
  132. package/dist/userProfile/UserProfileItem.d.ts +7 -0
  133. package/dist/warning-BozzKWdr.js +38 -0
  134. package/dist/warning-W0tkkrLJ.cjs +1 -0
  135. package/package.json +21 -32
  136. package/dist/AlertPopup/index.js +0 -79
  137. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
  138. package/dist/AllInvestigations/index.d.ts +0 -1
  139. package/dist/AllInvestigations/index.js +0 -4
  140. package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
  141. package/dist/AllInvestigationsTable-9CE_uDGv.cjs +0 -80
  142. package/dist/AllInvestigationsTable-HC9dOdiS.js +0 -16964
  143. package/dist/CustomDropdown/index.js +0 -256
  144. package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5908
  145. package/dist/PediatricsCalculatorTable-CB1YOoVy.js +0 -833
  146. package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +0 -1
  147. package/dist/ReusableTable/ReusableTable.d.ts +0 -3
  148. package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
  149. package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
  150. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
  151. package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
  152. package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
  153. package/dist/ReusableTable/components/Pagination.d.ts +0 -2
  154. package/dist/ReusableTable/components/TableBody.d.ts +0 -2
  155. package/dist/ReusableTable/components/TableCell.d.ts +0 -3
  156. package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
  157. package/dist/ReusableTable/components/TableHead.d.ts +0 -2
  158. package/dist/ReusableTable/components/TableMain.d.ts +0 -2
  159. package/dist/ReusableTable/components/TableRow.d.ts +0 -3
  160. package/dist/ReusableTable/context/TableContext.d.ts +0 -21
  161. package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
  162. package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
  163. package/dist/ToggleButtons/index.js +0 -17
  164. package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
  165. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
  166. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
  167. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
  168. package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
  169. package/dist/TrendGraphs/context/index.d.ts +0 -2
  170. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
  171. package/dist/TrendGraphs/utils/index.d.ts +0 -4
  172. package/dist/clsx-C11secjj.cjs +0 -1
  173. package/dist/clsx-OuTLNxxd.js +0 -16
  174. package/dist/components/Modal.d.ts +0 -5
  175. package/dist/components/alertPopup/index.d.ts +0 -1
  176. package/dist/components/customDropdown/index.d.ts +0 -1
  177. package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
  178. package/dist/components/dateTimePicker/index.d.ts +0 -1
  179. package/dist/components/toggleButtons/index.d.ts +0 -1
  180. package/dist/constants/TrendGraphsConstants.d.ts +0 -2
  181. package/dist/dayjs.min-D8X6dnmr.cjs +0 -1
  182. package/dist/dayjs.min-SMxpcMQi.js +0 -284
  183. package/dist/index-BFfWEART.js +0 -995
  184. package/dist/index-BVfQUI8j.cjs +0 -98
  185. package/dist/index-CHAEpyb1.cjs +0 -32
  186. package/dist/index-CJFGOBPb.js +0 -122
  187. package/dist/index-DfcUmlge.cjs +0 -17
  188. package/dist/parseISO-AwyR5Nhg.cjs +0 -1
  189. package/dist/parseISO-Cso9HWPX.js +0 -1414
  190. package/dist/types/AllInvestigationTypes/index.js +0 -4
  191. package/dist/types/AllInvestigationTypes.d.ts +0 -45
  192. package/dist/types/TrendGraphTypes.d.ts +0 -19
  193. package/dist/useClickOutside-BjJyGTec.js +0 -14
  194. package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
  195. /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,2 @@
1
+ declare const SubscriptionBadge: () => import("react/jsx-runtime").JSX.Element;
2
+ export default SubscriptionBadge;
@@ -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
- import { E_ENVIRONMENT } from '../../types/CommonTypes';
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
- } | undefined, doctor_role_id: string, org_branch_id: string, token_env: {
6
- token: string;
7
- env: E_ENVIRONMENT;
8
- }) => Promise<GET_BRANCH_PREFERENCE_RESPONSE>;
9
- export declare const getBranchPreferences: (fields_required: string | undefined, org_branch_id: string, token_env: {
10
- token: string;
11
- env: E_ENVIRONMENT;
12
- }) => Promise<GET_BRANCH_PREFERENCE_RESPONSE>;
13
- export declare const getAppointments: (appnt_date: string, doctor_role_id: string, org_branch_id: string, person_id: string, token_env: {
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 | undefined>;
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 | undefined, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
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 | undefined, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
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 | null;
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 | null;
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 '../../types/PediatricsCalculatorTypes';
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?: (I_SelectOption<T> | undefined)[];
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,4 @@
1
- import { I_SelectOption } from '../../types/PediatricsCalculatorTypes';
1
+ import { I_SelectOption } from '../types/PediatricsCalculatorTypes';
2
2
  interface IToggleButtons<T> {
3
3
  options?: I_SelectOption<T>[];
4
4
  selectedOption?: I_SelectOption<T>;
@@ -1,4 +1,16 @@
1
- import { EAPP_ROUTES } from '../types/CommonTypes';
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
@@ -0,0 +1 @@
1
+ export declare const useMediaQuery: (query: string) => boolean;