hplx-feature-library 1.0.170 → 1.0.171

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 (202) hide show
  1. package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
  2. package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
  3. package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
  4. package/dist/Attachments/components/uploading-toast.d.ts +1 -1
  5. package/dist/Attachments/context/index.d.ts +2 -2
  6. package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
  7. package/dist/Attachments/index.js +12670 -11144
  8. package/dist/CameraCapture/index.d.ts +1 -1
  9. package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
  10. package/dist/PediatricsCalculator/index.js +1 -1
  11. package/dist/PediatricsCalculatorTable-BglWcUGO.cjs +40 -0
  12. package/dist/PediatricsCalculatorTable-Dwluo5W0.js +2163 -0
  13. package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +2 -2
  14. package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
  15. package/dist/hplx-feature-library.css +1 -1
  16. package/dist/index.d.ts +0 -5
  17. package/dist/index.js +2 -12
  18. package/dist/useOutsideClick-COATBT9j.cjs +92 -0
  19. package/dist/useOutsideClick-CYAjbj1N.js +6878 -0
  20. package/package.json +4 -60
  21. package/dist/APIAction--DyoXs57.js +0 -3752
  22. package/dist/APIAction-B5XQnkiF.cjs +0 -9
  23. package/dist/AlertPopup/index.js +0 -79
  24. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
  25. package/dist/AllInvestigations/index.d.ts +0 -1
  26. package/dist/AllInvestigations/index.js +0 -4
  27. package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
  28. package/dist/AllInvestigationsTable-Dj3AKVVv.js +0 -17066
  29. package/dist/AllInvestigationsTable-aw_zEJj_.cjs +0 -79
  30. package/dist/CustomDropdown/index.js +0 -256
  31. package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5930
  32. package/dist/PatientAddEdit/index.js +0 -1662
  33. package/dist/PatientPopup/action/APIAction.d.ts +0 -65
  34. package/dist/PatientPopup/app/PatientPopupContainer.d.ts +0 -6
  35. package/dist/PatientPopup/app/PatientPopupContext.d.ts +0 -30
  36. package/dist/PatientPopup/common/common.d.ts +0 -14
  37. package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +0 -8
  38. package/dist/PatientPopup/components/Lab/LISLab.d.ts +0 -8
  39. package/dist/PatientPopup/components/Lab/LabTable.d.ts +0 -5
  40. package/dist/PatientPopup/components/Lab/index.d.ts +0 -5
  41. package/dist/PatientPopup/components/Loader/Loader.d.ts +0 -2
  42. package/dist/PatientPopup/components/Pagination.d.ts +0 -9
  43. package/dist/PatientPopup/components/Profile/Abha.d.ts +0 -11
  44. package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +0 -1
  45. package/dist/PatientPopup/components/Profile/Profile.d.ts +0 -11
  46. package/dist/PatientPopup/components/Profile/Sms.d.ts +0 -2
  47. package/dist/PatientPopup/components/Visits/Table.d.ts +0 -11
  48. package/dist/PatientPopup/components/Visits/index.d.ts +0 -15
  49. package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +0 -2
  50. package/dist/PatientPopup/components/addBills/AddBills.d.ts +0 -5
  51. package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +0 -17
  52. package/dist/PatientPopup/components/addBills/DropDown.d.ts +0 -15
  53. package/dist/PatientPopup/components/appointment/AllAppts.d.ts +0 -8
  54. package/dist/PatientPopup/components/appointment/Appointment.d.ts +0 -2
  55. package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +0 -10
  56. package/dist/PatientPopup/components/bills/Bills.d.ts +0 -6
  57. package/dist/PatientPopup/components/bills/BillsTable.d.ts +0 -11
  58. package/dist/PatientPopup/components/deposit/DepositSection.d.ts +0 -9
  59. package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +0 -13
  60. package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +0 -8
  61. package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +0 -10
  62. package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +0 -19
  63. package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +0 -14
  64. package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +0 -11
  65. package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +0 -8
  66. package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +0 -13
  67. package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +0 -13
  68. package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +0 -8
  69. package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +0 -25
  70. package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +0 -18
  71. package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +0 -14
  72. package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +0 -16
  73. package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +0 -15
  74. package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +0 -7
  75. package/dist/PatientPopup/components/payments/Payments.d.ts +0 -5
  76. package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +0 -14
  77. package/dist/PatientPopup/constants/AppConstants.d.ts +0 -123
  78. package/dist/PatientPopup/index.d.ts +0 -1
  79. package/dist/PatientPopup/index.js +0 -135376
  80. package/dist/PatientPopup/types/hplxAPITypes.d.ts +0 -37
  81. package/dist/PatientPopup/utils/PrintFontLoader.d.ts +0 -4
  82. package/dist/PatientPopup/utils/helperFunctions.d.ts +0 -3
  83. package/dist/PediatricsCalculatorTable-CTA61g3h.cjs +0 -1
  84. package/dist/PediatricsCalculatorTable-QgonqxbR.js +0 -833
  85. package/dist/ReusableModal-CIgDYOWZ.cjs +0 -1
  86. package/dist/ReusableModal-pSi21hnc.js +0 -29
  87. package/dist/ReusableTable/ReusableTable.d.ts +0 -3
  88. package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
  89. package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
  90. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
  91. package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
  92. package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
  93. package/dist/ReusableTable/components/Pagination.d.ts +0 -2
  94. package/dist/ReusableTable/components/TableBody.d.ts +0 -2
  95. package/dist/ReusableTable/components/TableCell.d.ts +0 -3
  96. package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
  97. package/dist/ReusableTable/components/TableHead.d.ts +0 -2
  98. package/dist/ReusableTable/components/TableMain.d.ts +0 -2
  99. package/dist/ReusableTable/components/TableRow.d.ts +0 -3
  100. package/dist/ReusableTable/context/TableContext.d.ts +0 -21
  101. package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
  102. package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
  103. package/dist/Subscription/components/SubscriptionBadge.d.ts +0 -2
  104. package/dist/ToggleButtons/index.js +0 -17
  105. package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
  106. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
  107. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
  108. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
  109. package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
  110. package/dist/TrendGraphs/context/index.d.ts +0 -2
  111. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
  112. package/dist/TrendGraphs/utils/index.d.ts +0 -4
  113. package/dist/changePasswordModal/APIAction/APIActions.d.ts +0 -8
  114. package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +0 -14
  115. package/dist/clsx-C11secjj.cjs +0 -1
  116. package/dist/clsx-OuTLNxxd.js +0 -16
  117. package/dist/common/APIAction/APIAction.d.ts +0 -28
  118. package/dist/common/components/BorderFullWidth.d.ts +0 -2
  119. package/dist/common/components/table/ExistingPatients.d.ts +0 -17
  120. package/dist/common/editRibbon/EditRibbon.d.ts +0 -9
  121. package/dist/common/utils/NetworkInstance.d.ts +0 -4
  122. package/dist/common/utils/common-utils.d.ts +0 -36
  123. package/dist/components/Modal.d.ts +0 -5
  124. package/dist/components/PatientAddEdit.d.ts +0 -3
  125. package/dist/components/alertPopup/index.d.ts +0 -1
  126. package/dist/components/customDropdown/index.d.ts +0 -1
  127. package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
  128. package/dist/components/dateTimePicker/index.d.ts +0 -1
  129. package/dist/components/toggleButtons/index.d.ts +0 -1
  130. package/dist/constants/CommonConstant.d.ts +0 -70
  131. package/dist/constants/TrendGraphsConstants.d.ts +0 -2
  132. package/dist/dayjs.min-BbV4duaj.js +0 -284
  133. package/dist/dayjs.min-DXp74Ozx.cjs +0 -1
  134. package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
  135. package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
  136. package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
  137. package/dist/fonts/Arial-Bold.ttf +0 -0
  138. package/dist/fonts/Arial-Italic.ttf +0 -0
  139. package/dist/fonts/Arial.ttf +0 -0
  140. package/dist/fonts/IndianRupee.ttf +0 -0
  141. package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
  142. package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
  143. package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
  144. package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
  145. package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
  146. package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
  147. package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
  148. package/dist/fonts/NotoSansArabic.ttf +0 -0
  149. package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
  150. package/dist/fonts/NotoSansHindi.ttf +0 -0
  151. package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
  152. package/dist/fonts/NotoSansKannada.ttf +0 -0
  153. package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
  154. package/dist/fonts/NotoSansOriya.ttf +0 -0
  155. package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
  156. package/dist/fonts/NotoSansTamil.ttf +0 -0
  157. package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
  158. package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
  159. package/dist/fonts/Roboto-Regular.ttf +0 -0
  160. package/dist/fonts/Times-Bold-Italic.ttf +0 -0
  161. package/dist/fonts/Times-Bold.ttf +0 -0
  162. package/dist/fonts/Times-Italic.ttf +0 -0
  163. package/dist/fonts/Times.ttf +0 -0
  164. package/dist/fonts/TiroBangla-Bold.ttf +0 -0
  165. package/dist/fonts/TiroBangla-Regular.ttf +0 -0
  166. package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
  167. package/dist/fonts/Verdana-Bold.ttf +0 -0
  168. package/dist/fonts/Verdana-Italic.ttf +0 -0
  169. package/dist/fonts/Verdana.ttf +0 -0
  170. package/dist/hooks/useMediaQuery.d.ts +0 -1
  171. package/dist/index-CJFGOBPb.js +0 -122
  172. package/dist/index-DQlbIHh3.cjs +0 -102
  173. package/dist/index-DfcUmlge.cjs +0 -17
  174. package/dist/index-DkA8S5IK.cjs +0 -32
  175. package/dist/index-sG1tIMJ6.js +0 -7242
  176. package/dist/index-vVtPa2-N.js +0 -961
  177. package/dist/nineDots/NineDotsTypes.d.ts +0 -22
  178. package/dist/nineDots/NineDotsUtils.d.ts +0 -3
  179. package/dist/nineDots/nineDots.d.ts +0 -3
  180. package/dist/parseISO-AwyR5Nhg.cjs +0 -1
  181. package/dist/parseISO-Cso9HWPX.js +0 -1414
  182. package/dist/searchPatients/SearchPatients.d.ts +0 -11
  183. package/dist/types/APIEndPoints.d.ts +0 -11
  184. package/dist/types/AllInvestigationTypes/index.js +0 -4
  185. package/dist/types/AllInvestigationTypes.d.ts +0 -45
  186. package/dist/types/ApiResponseTypes.d.ts +0 -290
  187. package/dist/types/CommonTypes.d.ts +0 -255
  188. package/dist/types/PatientAddEditTypes/index.js +0 -1
  189. package/dist/types/PatientAddEditTypes.d.ts +0 -7
  190. package/dist/types/PatientPopupTypes/index.js +0 -1
  191. package/dist/types/PatientPopupTypes.d.ts +0 -836
  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/useOutsideClick-C4Q0aGuf.js +0 -15
  196. package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
  197. package/dist/userProfile/APIAction/APIActions.d.ts +0 -18
  198. package/dist/userProfile/UserProfile.d.ts +0 -18
  199. package/dist/userProfile/UserProfileItem.d.ts +0 -7
  200. package/dist/warning-BozzKWdr.js +0 -38
  201. package/dist/warning-W0tkkrLJ.cjs +0 -1
  202. /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
@@ -1 +0,0 @@
1
- "use strict";const n=require("./index-DQlbIHh3.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;
@@ -1,29 +0,0 @@
1
- import { j as n } from "./index-sG1tIMJ6.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
- };
@@ -1,3 +0,0 @@
1
- import { ReusableTableProps } from './ReusableTableTypes';
2
- declare const ReusableTable: <T>(props: ReusableTableProps<T>) => import("react/jsx-runtime").JSX.Element;
3
- export default ReusableTable;
@@ -1,8 +0,0 @@
1
- export declare const PaginationClickTypes: {
2
- NEXT_PAGE: string;
3
- PREV_PAGE: string;
4
- };
5
- export declare const PinnableValues: {
6
- Left: string;
7
- Right: string;
8
- };
@@ -1,96 +0,0 @@
1
- import { I_TableFilterProps } from './components/TableFilterSelect';
2
- import { PinnableValues } from './ReusableTableConstants';
3
- export interface IPaginationProps {
4
- activePage: number;
5
- pageSize: number;
6
- currentPageRowCount: number;
7
- totalRecords: number;
8
- }
9
- export interface ResuableTableNoDataProps {
10
- title: string;
11
- description: string;
12
- onPageReload: () => void;
13
- titleClassName?: string;
14
- descriptionClassName?: string;
15
- containerClassName?: string;
16
- buttonClassName?: string;
17
- imageClassName?: string;
18
- }
19
- export interface ReusableTableProps<T> {
20
- tableRef: React.RefObject<HTMLDivElement>;
21
- tableMainParentDivRef?: React.RefObject<HTMLDivElement>;
22
- tableBodyParentDivRef?: React.RefObject<HTMLDivElement>;
23
- columns: ITableColDef<T>[];
24
- tableName: string;
25
- rows: Array<T>;
26
- paginationProps?: IPaginationProps;
27
- showPagination?: boolean;
28
- onPaginationClick?: ((activePage: number) => void) | undefined;
29
- displayHeaderName?: string;
30
- tableClassesToOverride?: string;
31
- headerRowClasses?: string;
32
- rowClassesForSpecificIndex?: {
33
- index: number;
34
- rowClasses: string;
35
- };
36
- tableBodyClassesToOverride?: string;
37
- hideHeader?: boolean;
38
- displayHeaderClassesToOverride?: string;
39
- displayPaginationClassesToOverride?: string;
40
- displayNoDataFoundProps?: ResuableTableNoDataProps;
41
- enableTableFilter?: boolean;
42
- tableFilterProps?: I_TableFilterProps;
43
- headerAndPaginationDivClasses?: string;
44
- tableMainParentDivClasses?: string;
45
- tableMainDivClasses?: string;
46
- }
47
- export interface ITableColDef<T> {
48
- field: string;
49
- headerCellClasses?: string;
50
- cellClasses?: string;
51
- description?: string;
52
- fieldHeaderName: string;
53
- width?: string;
54
- maxWidth?: string;
55
- minWidth?: string;
56
- pinned?: (typeof PinnableValues)[keyof typeof PinnableValues];
57
- renderHeaderCell?: (column: ITableColDef<T>) => React.ReactNode;
58
- renderCell?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
59
- valueFormatter?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
60
- enableFilter?: boolean;
61
- enableColumnCheckbox?: boolean;
62
- isCheckBoxMarked?: boolean;
63
- onColumnCheckboxClick?: (isMarked: boolean) => void;
64
- filterValues?: ITableDropdown[];
65
- onFilterCheck?: (value: string) => void;
66
- filterClassName?: string;
67
- filterButtonClassName?: string;
68
- showApplyFilter?: boolean;
69
- onApplyFilter?: (field: string) => void;
70
- resetFilterData?: (field: string) => void;
71
- showSearch?: boolean;
72
- searchQuery?: string;
73
- setSearchQuery?: (value: string) => void;
74
- dropdownCloseEventOnClickOutside?: () => void;
75
- }
76
- export interface ITableCellProps<T> {
77
- children: React.ReactNode;
78
- isHeaderCell?: boolean;
79
- column: ITableColDef<T>;
80
- colIndex: number;
81
- rowIndex?: number;
82
- }
83
- export interface ITableRowProps {
84
- children: React.ReactNode;
85
- isHeaderRow: boolean;
86
- classes?: string;
87
- }
88
- export interface ITableHeadProps<T> {
89
- columns: ITableColDef<T>[];
90
- }
91
- export interface ITableDropdown {
92
- key?: string;
93
- name: string;
94
- isSelected: boolean;
95
- isDisabled?: boolean;
96
- }
@@ -1,12 +0,0 @@
1
- interface EmptyTableProps {
2
- title: string;
3
- description: string;
4
- onPageRefresh: () => void;
5
- buttonClassName: string;
6
- titleClassName: string;
7
- descriptionClassName: string;
8
- containerClassName: string;
9
- imageClassName: string;
10
- }
11
- declare function EmptyTableContainer(props: EmptyTableProps): import("react/jsx-runtime").JSX.Element;
12
- export default EmptyTableContainer;
@@ -1,8 +0,0 @@
1
- interface FilterCheckboxProps {
2
- label: string;
3
- onCheck: (value: string) => void;
4
- isSelected: boolean;
5
- isDisabled: boolean;
6
- }
7
- declare function FilterCheckbox(props: FilterCheckboxProps): import("react/jsx-runtime").JSX.Element;
8
- export default FilterCheckbox;
@@ -1,17 +0,0 @@
1
- import { ITableDropdown } from '../ReusableTableTypes';
2
- interface FilterDropdownProps {
3
- options: ITableDropdown[];
4
- onCheck: (name: string) => void;
5
- showSearch: boolean;
6
- searchQuery?: string;
7
- setSearchQuery?: (query: string) => void;
8
- filterclassname: string;
9
- filterButtonStyles?: string;
10
- showApplyFilter: boolean;
11
- onApplyFilter?: (field: string) => void;
12
- field: string;
13
- resetDropDownData?: (field: string) => void;
14
- dropdownCloseEventOnClickOutside?: () => void;
15
- }
16
- declare const FilterDropdown: <T>(props: FilterDropdownProps) => import("react/jsx-runtime").JSX.Element;
17
- export default FilterDropdown;
@@ -1,2 +0,0 @@
1
- declare const Pagination: () => import("react/jsx-runtime").JSX.Element;
2
- export default Pagination;
@@ -1,2 +0,0 @@
1
- declare const TableBody: <T>() => import("react/jsx-runtime").JSX.Element;
2
- export default TableBody;
@@ -1,3 +0,0 @@
1
- import { ITableCellProps } from '../ReusableTableTypes';
2
- declare const TableCell: <T>({ children, column, isHeaderCell }: ITableCellProps<T>) => import("react/jsx-runtime").JSX.Element;
3
- export default TableCell;
@@ -1,12 +0,0 @@
1
- import { ITableDropdown } from '../ReusableTableTypes';
2
- export interface I_TableFilterProps {
3
- options: ITableDropdown[];
4
- filterclassname: string;
5
- filterButtonStyles: string;
6
- clearFilterButtonStyles: string;
7
- showApplyFilter: boolean;
8
- onApplyFilter: (filterOptions: ITableDropdown[]) => void;
9
- onClearFilter: () => void;
10
- }
11
- declare const TableFilterSelect: (props: I_TableFilterProps) => import("react/jsx-runtime").JSX.Element;
12
- export default TableFilterSelect;
@@ -1,2 +0,0 @@
1
- declare const TableHead: <T>() => import("react/jsx-runtime").JSX.Element;
2
- export default TableHead;
@@ -1,2 +0,0 @@
1
- declare const TableMain: <T>() => import("react/jsx-runtime").JSX.Element;
2
- export default TableMain;
@@ -1,3 +0,0 @@
1
- import { ITableRowProps } from '../ReusableTableTypes';
2
- declare const TableRow: ({ children, isHeaderRow, classes }: ITableRowProps) => import("react/jsx-runtime").JSX.Element;
3
- export default TableRow;
@@ -1,21 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ITableColDef, ResuableTableNoDataProps, IPaginationProps } from '../ReusableTableTypes';
3
- export declare const TableProvider: <T>({ children, initialColumns, rowData, headerRowClasses, rowClassesForSpecificIndex, tableBodyClassesToOverride, hideHeader, paginationProps, onPaginationClick, displayPaginationClassesToOverride, displayNoDataFoundProps, enableTableFilter, tableBodyParentDivRef, tableMainDivClasses, }: {
4
- children: React.ReactNode;
5
- initialColumns: Array<ITableColDef<T>>;
6
- rowData: Array<T>;
7
- headerRowClasses: string;
8
- rowClassesForSpecificIndex: {
9
- index: number;
10
- rowClasses: string;
11
- };
12
- tableBodyClassesToOverride: string;
13
- hideHeader: boolean;
14
- paginationProps: IPaginationProps;
15
- onPaginationClick: ((activePage: number) => void) | undefined;
16
- displayPaginationClassesToOverride: string;
17
- displayNoDataFoundProps: ResuableTableNoDataProps | undefined;
18
- enableTableFilter: boolean;
19
- tableBodyParentDivRef?: React.RefObject<HTMLDivElement>;
20
- tableMainDivClasses?: string;
21
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,26 +0,0 @@
1
- import { default as React, SetStateAction } from 'react';
2
- import { IPaginationProps, ITableColDef, ResuableTableNoDataProps } from '../ReusableTableTypes';
3
- export interface TableContextProps<T> {
4
- rowsData: Array<T>;
5
- allColumns: ITableColDef<T>[];
6
- headerRowClasses: string;
7
- rowClassesForSpecificIndex: {
8
- index: number;
9
- rowClasses: string;
10
- };
11
- tableBodyClassesToOverride: string;
12
- hideHeader: boolean;
13
- leftPinnedColumns: ITableColDef<T>[];
14
- rightPinnedColumns: ITableColDef<T>[];
15
- nonPinnedColumns: ITableColDef<T>[];
16
- paginationProps: IPaginationProps;
17
- onPaginationClick: ((activePage: number) => void) | undefined;
18
- showDropdown: string | null;
19
- setShowDropdown: React.Dispatch<SetStateAction<string | null>>;
20
- displayPaginationClassesToOverride: string;
21
- displayNoDataFoundProps: ResuableTableNoDataProps | undefined;
22
- enableTableFilter: boolean;
23
- tableBodyParentDivRef?: React.RefObject<HTMLDivElement>;
24
- tableMainDivClasses?: string;
25
- }
26
- export declare const TableContext: React.Context<TableContextProps<any>>;
@@ -1,2 +0,0 @@
1
- import { TableContextProps } from './TableContextBase';
2
- export declare const useTableContext: <T>() => TableContextProps<T>;
@@ -1,2 +0,0 @@
1
- declare const SubscriptionBadge: () => import("react/jsx-runtime").JSX.Element;
2
- export default SubscriptionBadge;
@@ -1,17 +0,0 @@
1
- import { j as e, K as f } from "../index-sG1tIMJ6.js";
2
- function n(r) {
3
- const { options: h, selectedOption: a, onChangeHandler: s } = r;
4
- return /* @__PURE__ */ e.jsx("div", { className: "hfl-flex hfl-gap-2 hfl-h-full hfl-items-center hfl-px-4 hfl-justify-center hfl-py-1", children: h?.map((l) => /* @__PURE__ */ e.jsx("div", { className: "hfl-bg-White hfl-rounded-lg", children: /* @__PURE__ */ e.jsx(
5
- f,
6
- {
7
- onClick: () => s && s(l),
8
- hierarchy: a?.label === l.label ? "Primary" : "Secondary-Grey",
9
- size: "sm",
10
- textField: l.label,
11
- className: a?.label === l.label ? "hfl-bg-Blue-600" : ""
12
- }
13
- ) }, l.label)) });
14
- }
15
- export {
16
- n as default
17
- };
@@ -1,9 +0,0 @@
1
- import { TrendGraphData } from '../types/TrendGraphTypes';
2
- interface AreaChartProps {
3
- trendData: TrendGraphData;
4
- containerWidth: number;
5
- containerHeight: number;
6
- showError?: (message: string) => void;
7
- }
8
- declare function AreaChartComponent(props: AreaChartProps): import("react/jsx-runtime").JSX.Element;
9
- export default AreaChartComponent;
@@ -1,16 +0,0 @@
1
- interface PayloadItem {
2
- value: number;
3
- payload: {
4
- date: string;
5
- value: number;
6
- };
7
- dataKey: string;
8
- name: string;
9
- }
10
- interface DataPointTooltipProps {
11
- active?: boolean;
12
- payload?: PayloadItem[];
13
- label?: string | number;
14
- }
15
- declare const DataPointTooltip: React.FC<DataPointTooltipProps>;
16
- export default DataPointTooltip;
@@ -1,2 +0,0 @@
1
- declare function LineChartBody(): import("react/jsx-runtime").JSX.Element;
2
- export default LineChartBody;
@@ -1,2 +0,0 @@
1
- declare function LineChartHeader(): import("react/jsx-runtime").JSX.Element;
2
- export default LineChartHeader;
@@ -1,2 +0,0 @@
1
- declare function LineChartComponent(): import("react/jsx-runtime").JSX.Element;
2
- export default LineChartComponent;
@@ -1,2 +0,0 @@
1
- import { TrendGraphContextType } from '../../types/TrendGraphTypes';
2
- export declare const TrendGraphContext: import('react').Context<TrendGraphContextType>;
@@ -1,2 +0,0 @@
1
- declare function useTrendGraphContext(): import('../../types/TrendGraphTypes').TrendGraphContextType;
2
- export default useTrendGraphContext;
@@ -1,4 +0,0 @@
1
- import { I_AllInvestigations } from '../../types/AllInvestigationTypes';
2
- import { TrendGraphData, TrendGraphDataPoint } from '../../types/TrendGraphTypes';
3
- export declare function isValidTrendGraphData(data: TrendGraphData): boolean;
4
- export declare const convertRowToTrendGraphData: (row: I_AllInvestigations) => TrendGraphDataPoint[];
@@ -1,8 +0,0 @@
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>;
@@ -1,14 +0,0 @@
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 +0,0 @@
1
- "use strict";function i(r){var f,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var s=r.length;for(f=0;f<s;f++)r[f]&&(n=i(r[f]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function o(){for(var r,f,n=0,t="",s=arguments.length;n<s;n++)(r=arguments[n])&&(f=i(r))&&(t&&(t+=" "),t+=f);return t}exports.clsx=o;
@@ -1,16 +0,0 @@
1
- function a(r) {
2
- var f, n, t = "";
3
- if (typeof r == "string" || typeof r == "number") t += r;
4
- else if (typeof r == "object") if (Array.isArray(r)) {
5
- var o = r.length;
6
- for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
- } else for (n in r) r[n] && (t && (t += " "), t += n);
8
- return t;
9
- }
10
- function i() {
11
- for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
- return t;
13
- }
14
- export {
15
- i as c
16
- };
@@ -1,28 +0,0 @@
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?: {
3
- doc_rid?: string;
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>;
13
- export declare const getPatientDetails: ({ callback, payload, token_env, isCallbackNeeded, }: {
14
- callback: (data: GET_PATIENT_DETAILS_RESPONSE) => void;
15
- payload: {
16
- branch_id: string;
17
- person_id: string;
18
- person_role_id: string;
19
- patient_role_id: string;
20
- partner_service_enabled?: boolean;
21
- };
22
- token_env: ENV_PARAMS;
23
- isCallbackNeeded?: boolean;
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,2 +0,0 @@
1
- declare const BorderFullWidth: () => import("react/jsx-runtime").JSX.Element;
2
- export default BorderFullWidth;
@@ -1,17 +0,0 @@
1
- interface Patient {
2
- org_person_name?: string;
3
- name?: string;
4
- org_person_phone?: string;
5
- phone?: string;
6
- org_person_email?: string;
7
- email?: string;
8
- person_role_id?: string | number;
9
- }
10
- interface ExistingPatientsProps {
11
- conflicts: Patient[];
12
- handleAddPatient: (isNew: boolean, redirectAction: string) => void;
13
- redirectAction: string;
14
- manipulateExistingDOM?: () => void;
15
- }
16
- declare const ExistingPatients: ({ conflicts, handleAddPatient, redirectAction }: ExistingPatientsProps) => import("react/jsx-runtime").JSX.Element;
17
- export default ExistingPatients;
@@ -1,9 +0,0 @@
1
- interface Props {
2
- editPatient: boolean;
3
- setEditPatient: (value: boolean) => void;
4
- createAsNew: boolean;
5
- setCreateAsNew: (value: boolean) => void;
6
- showEditPrompt?: boolean;
7
- }
8
- declare function EditRibbon(props: Props): import("react/jsx-runtime").JSX.Element;
9
- export default EditRibbon;
@@ -1,4 +0,0 @@
1
- import { E_ENVIRONMENT } from '../../types/CommonTypes';
2
- export declare const hplxAPI: (token: string, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
3
- export declare const externalAPI: () => import('axios').AxiosInstance;
4
- export declare const ReArchAPI: (token: string, env: E_ENVIRONMENT) => import('axios').AxiosInstance;
@@ -1,36 +0,0 @@
1
- export declare const getCookie: (cname: string) => string;
2
- export declare const goToPage: (params: string) => void;
3
- export declare const parseThroughChannelList: (channelList: string[]) => any[];
4
- export declare const parseReferredByDocList: (referredList: Array<{
5
- doctor_id: string;
6
- doctor_name: string;
7
- specialist: string;
8
- }>) => any[];
9
- export declare const parseReferredByList: (referredList: Array<{
10
- doctor_id: string;
11
- doctor_name: string;
12
- specialist: string;
13
- }>) => Record<string, {
14
- doctor_id: string;
15
- doctor_name: string;
16
- specialist: string;
17
- }>;
18
- export declare const isJson: (str: string) => boolean;
19
- export declare const calculateDate: (value: string, unitVal: string) => string;
20
- export declare const getGenderKey: (gender: string) => "M" | "F" | "O";
21
- export declare const getGender: (gender: number) => string;
22
- export declare const validateMobileNo: (value: string) => {
23
- isError: boolean;
24
- msg: string;
25
- };
26
- export declare const isValidDate: (dateObject: string | Date) => boolean;
27
- export declare function calculateAge(pat_dob: string): string;
28
- export declare const debounceFn: <T extends (...args: unknown[]) => void>(func: T, timing?: number) => ((...args: Parameters<T>) => void);
29
- export declare const calculateDOB: (value: string, unitVal: string) => string;
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 +0,0 @@
1
- interface ModalProps {
2
- children: React.ReactNode;
3
- }
4
- declare function Modal({ children }: ModalProps): import('react').ReactPortal;
5
- export default Modal;
@@ -1,3 +0,0 @@
1
- import { PatientAddEditProps } from '../types/PatientAddEditTypes';
2
- declare const PatientAddEdit: (props: PatientAddEditProps) => import("react/jsx-runtime").JSX.Element;
3
- export default PatientAddEdit;
@@ -1 +0,0 @@
1
- export { default as AlertPopup } from './AlertPopup';
@@ -1 +0,0 @@
1
- export { default as CustomDropdown } from './CustomDropdown';
@@ -1,21 +0,0 @@
1
- import { RefObject } from 'react';
2
- interface DateAndTimePickerProps {
3
- inputDate: Date;
4
- triggerType?: 'button' | 'input';
5
- placeholderCTA?: string;
6
- placeholderCTAStyles?: string;
7
- inputPlaceholder?: string;
8
- inputFieldClassName?: string;
9
- displayDateFormat?: string;
10
- minDate?: Date | null;
11
- maxDate?: Date | null;
12
- applyChanges: (selectedDate: Date) => void;
13
- datePickerAbsoluteClasses: string;
14
- highlightClickedCell?: boolean;
15
- sectionRef?: RefObject<HTMLDivElement>;
16
- inputIcon?: string;
17
- inputIconClasses?: string;
18
- datePickerMainDivClasses?: string;
19
- }
20
- declare const DateAndTimePicker: ({ inputDate, placeholderCTA, placeholderCTAStyles, minDate, maxDate, applyChanges, datePickerAbsoluteClasses, triggerType, inputPlaceholder, inputFieldClassName, displayDateFormat, sectionRef, highlightClickedCell, inputIcon, inputIconClasses, datePickerMainDivClasses, }: DateAndTimePickerProps) => import("react/jsx-runtime").JSX.Element;
21
- export default DateAndTimePicker;
@@ -1 +0,0 @@
1
- export { default as DateAndTimePicker } from './DateAndTimePicker';
@@ -1 +0,0 @@
1
- export { default } from './ToggleButtons';
@@ -1,70 +0,0 @@
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
- }
14
- export declare const OccupationList: string[];
15
- export declare const CityList: string[];
16
- export declare const HonorificList: {
17
- label: string;
18
- value: string;
19
- gender: string;
20
- }[];
21
- export declare const bloodGroups: {
22
- value: string;
23
- label: string;
24
- }[];
25
- export declare const DefinedLanguages: {
26
- en: string;
27
- hi: string;
28
- kn: string;
29
- ml: string;
30
- te: string;
31
- gu: string;
32
- mr: string;
33
- ta: string;
34
- bn: string;
35
- ur: string;
36
- pa: string;
37
- od: string;
38
- ar: string;
39
- asa: string;
40
- };
41
- export declare const SpecialityList: {
42
- label: string;
43
- value: string;
44
- }[];
45
- export declare const genderList: {
46
- value: number;
47
- text: string;
48
- }[];
49
- export declare const MARITAL_STATUS: string[];
50
- export declare const C_ALL_APP_ROUTES: EAPP_ROUTES[];
51
- export declare const UnauthorizedAccessMessage: {
52
- title: string;
53
- subTitle: string;
54
- type: string;
55
- time: number;
56
- };
57
- export declare const BASE_URLS: {
58
- STAGING: {
59
- php_url: string;
60
- rearch_url: string;
61
- };
62
- DEVELOPMENT: {
63
- php_url: string;
64
- rearch_url: string;
65
- };
66
- PRODUCTION: {
67
- php_url: string;
68
- rearch_url: string;
69
- };
70
- };
@@ -1,2 +0,0 @@
1
- import { AreaGraphColor } from '../types/TrendGraphTypes';
2
- export declare const AREA_GRAPH_COLORS: AreaGraphColor[];