hplx-feature-library 1.0.162 → 1.0.164

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 (89) hide show
  1. package/dist/Attachments/index.js +12657 -11153
  2. package/dist/PediatricsCalculator/index.js +1 -1
  3. package/dist/PediatricsCalculatorTable-BglWcUGO.cjs +40 -0
  4. package/dist/PediatricsCalculatorTable-Dwluo5W0.js +2163 -0
  5. package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +1 -1
  6. package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
  7. package/dist/hplx-feature-library.css +1 -1
  8. package/dist/index.d.ts +0 -5
  9. package/dist/index.js +2 -12
  10. package/dist/useOutsideClick-COATBT9j.cjs +92 -0
  11. package/dist/useOutsideClick-CYAjbj1N.js +6878 -0
  12. package/package.json +3 -41
  13. package/dist/AlertPopup/index.js +0 -79
  14. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
  15. package/dist/AllInvestigations/index.d.ts +0 -1
  16. package/dist/AllInvestigations/index.js +0 -4
  17. package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
  18. package/dist/AllInvestigationsTable-9CE_uDGv.cjs +0 -80
  19. package/dist/AllInvestigationsTable-HC9dOdiS.js +0 -16964
  20. package/dist/CustomDropdown/index.js +0 -256
  21. package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5908
  22. package/dist/PatientAddEdit/index.js +0 -5319
  23. package/dist/PediatricsCalculatorTable-CB1YOoVy.js +0 -833
  24. package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +0 -1
  25. package/dist/ReusableTable/ReusableTable.d.ts +0 -3
  26. package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
  27. package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
  28. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
  29. package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
  30. package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
  31. package/dist/ReusableTable/components/Pagination.d.ts +0 -2
  32. package/dist/ReusableTable/components/TableBody.d.ts +0 -2
  33. package/dist/ReusableTable/components/TableCell.d.ts +0 -3
  34. package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
  35. package/dist/ReusableTable/components/TableHead.d.ts +0 -2
  36. package/dist/ReusableTable/components/TableMain.d.ts +0 -2
  37. package/dist/ReusableTable/components/TableRow.d.ts +0 -3
  38. package/dist/ReusableTable/context/TableContext.d.ts +0 -21
  39. package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
  40. package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
  41. package/dist/ToggleButtons/index.js +0 -17
  42. package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
  43. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
  44. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
  45. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
  46. package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
  47. package/dist/TrendGraphs/context/index.d.ts +0 -2
  48. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
  49. package/dist/TrendGraphs/utils/index.d.ts +0 -4
  50. package/dist/clsx-C11secjj.cjs +0 -1
  51. package/dist/clsx-OuTLNxxd.js +0 -16
  52. package/dist/common/APIAction/APIAction.d.ts +0 -55
  53. package/dist/common/components/BorderFullWidth.d.ts +0 -2
  54. package/dist/common/components/table/ExistingPatients.d.ts +0 -17
  55. package/dist/common/editRibbon/EditRibbon.d.ts +0 -9
  56. package/dist/common/utils/NetworkInstance.d.ts +0 -4
  57. package/dist/common/utils/common-utils.d.ts +0 -38
  58. package/dist/components/Modal.d.ts +0 -5
  59. package/dist/components/PatientAddEdit.d.ts +0 -3
  60. package/dist/components/alertPopup/index.d.ts +0 -1
  61. package/dist/components/customDropdown/index.d.ts +0 -1
  62. package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
  63. package/dist/components/dateTimePicker/index.d.ts +0 -1
  64. package/dist/components/toggleButtons/index.d.ts +0 -1
  65. package/dist/constants/CommonConstant.d.ts +0 -58
  66. package/dist/constants/TrendGraphsConstants.d.ts +0 -2
  67. package/dist/dayjs.min-D8X6dnmr.cjs +0 -1
  68. package/dist/dayjs.min-SMxpcMQi.js +0 -284
  69. package/dist/index-BFfWEART.js +0 -995
  70. package/dist/index-BVfQUI8j.cjs +0 -98
  71. package/dist/index-CHAEpyb1.cjs +0 -32
  72. package/dist/index-CJFGOBPb.js +0 -122
  73. package/dist/index-Cl3h7bnz.js +0 -7118
  74. package/dist/index-DfcUmlge.cjs +0 -17
  75. package/dist/parseISO-AwyR5Nhg.cjs +0 -1
  76. package/dist/parseISO-Cso9HWPX.js +0 -1414
  77. package/dist/types/APIEndPoints.d.ts +0 -11
  78. package/dist/types/AllInvestigationTypes/index.js +0 -4
  79. package/dist/types/AllInvestigationTypes.d.ts +0 -45
  80. package/dist/types/ApiResponseTypes.d.ts +0 -249
  81. package/dist/types/CommonTypes.d.ts +0 -228
  82. package/dist/types/PatientAddEditTypes/index.js +0 -1
  83. package/dist/types/PatientAddEditTypes.d.ts +0 -13
  84. package/dist/types/TrendGraphTypes.d.ts +0 -19
  85. package/dist/useClickOutside-BjJyGTec.js +0 -14
  86. package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
  87. package/dist/useOutsideClick-C4Q0aGuf.js +0 -15
  88. package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
  89. /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
@@ -1,11 +0,0 @@
1
- export declare const GET_DOC_PREFERENCE = "/preferences/doctor";
2
- export declare const GET_VISITPAD_PREFERENCES = "/preferences/visitpad";
3
- export declare const GET_BRANCH_PREFERENCE = "/preferences/branch";
4
- export declare const Get_PATIENT_SEARCH_TYPE = "patient/search";
5
- export declare const GetReferredByobj = "../api/modelGetAddPatientSuggestion.php";
6
- export declare const GET_APPOINTMENTS = "appointments/get";
7
- export declare const ADD_PATIENT_DETAIL = "/v1/patient/add";
8
- export declare const UPDATE_PATIENT_DETAIL = "/v1/patients";
9
- export declare const ADD_PATIENT_IMAGE = "../api/modelSavePatientImage.php";
10
- export declare const DELETE_PATIENT_IMAGE = "../api/modelDeletePatientImage.php";
11
- export declare const GET_PATIENT_DETAILS = "/patient/detail";
@@ -1,4 +0,0 @@
1
- var I = /* @__PURE__ */ ((A) => (A.CLINICAL_NOTES = "CLINICAL_NOTES", A.DISCHARGE_SUMMARY = "DISCHARGE_SUMMARY", A.INVESTIGATIONS = "INVESTIGATIONS", A))(I || {});
2
- export {
3
- I as E_INVESTIGATIONS_SOURCE
4
- };
@@ -1,45 +0,0 @@
1
- export declare enum E_INVESTIGATIONS_SOURCE {
2
- CLINICAL_NOTES = "CLINICAL_NOTES",
3
- DISCHARGE_SUMMARY = "DISCHARGE_SUMMARY",
4
- INVESTIGATIONS = "INVESTIGATIONS"
5
- }
6
- export interface I_InvestigationTest {
7
- test_id: string;
8
- test_value: string;
9
- out_of_range: boolean;
10
- watermelon_id?: string;
11
- created_on: string;
12
- test_name?: string;
13
- test_unit?: string;
14
- source_id: number;
15
- source_type: E_INVESTIGATIONS_SOURCE;
16
- isEditPermitted?: boolean;
17
- id: string;
18
- }
19
- export interface I_InvestigationTestWithPrint extends I_InvestigationTest {
20
- isPrintable?: boolean;
21
- test_date: string;
22
- }
23
- export interface I_AllInvestigations {
24
- isPrintable: boolean;
25
- test_id: string;
26
- test_name: string;
27
- test_unit: string;
28
- [key: string]: string | boolean | I_AllInvestigationsDateDetail;
29
- }
30
- export interface I_AllInvestigationsDateDetail {
31
- test_value: string;
32
- out_of_range: boolean;
33
- created_on: string;
34
- source_id: number;
35
- source_type: E_INVESTIGATIONS_SOURCE;
36
- isEditPermitted: boolean;
37
- id: string;
38
- }
39
- export interface I_TestRanges {
40
- test_id: string;
41
- test_names: string;
42
- test_units: string;
43
- test_range_text: string;
44
- test_range_rule: string;
45
- }
@@ -1,249 +0,0 @@
1
- import { I_GROWTH_CHART_PRINT_PREF, I_PATIENT_APPOINTMENT, I_PatientData, I_PERSONS_CONFLICT, I_PREF_FEATURES, I_PRINT_TEMPLATE, IPerson } from './CommonTypes';
2
- export interface GET_BRANCH_PREFERENCE_RESPONSE {
3
- features?: I_PREF_FEATURES;
4
- billing: {
5
- enable_add_service_owner: number;
6
- enable_order_discount: number;
7
- default_payment_mode: number;
8
- order_id_deptwise: number;
9
- prepaid_consultation: string;
10
- };
11
- branch_details: {
12
- branch_name: string;
13
- branch_address: string;
14
- };
15
- notification_preferences: {
16
- appointment: {
17
- enable_ocr: number;
18
- send_appt_sms: number;
19
- send_appt_sms_same_day: number;
20
- sms_text: string;
21
- };
22
- assessment: string;
23
- continuous_monitoring: string;
24
- document_reminder: string;
25
- patient_registration: string;
26
- appointment_future_day: string;
27
- google_review: string;
28
- medicine_reminder: string;
29
- next_visit: string;
30
- prescription: string;
31
- };
32
- org_details: {
33
- org_head_address: string;
34
- org_head_city: string;
35
- org_head_place: string;
36
- org_image: string;
37
- org_name: string;
38
- phone1: string;
39
- phone2: string;
40
- };
41
- print: {
42
- bill: {
43
- appnt_minute_slab: string;
44
- bill_font_size: string;
45
- bill_header_height: string;
46
- bill_header_img: string;
47
- bill_pdf_header_height: string;
48
- default_payment_mode: string;
49
- branch_address: string;
50
- branch_name: string;
51
- diet_print_type: string;
52
- enable_add_service_owner: string;
53
- enable_order_discount: string;
54
- gst_in_bill: string;
55
- order_id_deptwise: string;
56
- prepaid_consultation: string;
57
- gst_split_in_bill: string;
58
- print_bill_type: string;
59
- referred_by_print: string;
60
- sign_text_bill: string;
61
- skip_print_preview: string;
62
- print_bill_footer_type: string;
63
- bill_footer_img: string;
64
- bill_footer_height: string;
65
- bill_pdf_footer_height: string;
66
- };
67
- ipd: {
68
- ipd_ds_pdf_footer_height: string;
69
- ipd_ds_pdf_header_height: string;
70
- };
71
- branch: {
72
- branch_logo_footer: string;
73
- branch_logo_header: string;
74
- footer_height: string;
75
- header_height: string;
76
- };
77
- growth_chart?: I_GROWTH_CHART_PRINT_PREF;
78
- };
79
- reviews: {
80
- gr: {
81
- doctor_map: {
82
- [doc_role_id: string]: {
83
- doctor_name: string;
84
- enabled: boolean;
85
- };
86
- };
87
- enabled: boolean;
88
- og_link: string;
89
- };
90
- };
91
- permissions: {
92
- edit_patient_name: boolean;
93
- bill_delete: boolean;
94
- can_edit_preference: boolean;
95
- edit_service_unit_price: boolean;
96
- };
97
- patient_config?: {
98
- custom_fields: {
99
- id: string;
100
- title: string;
101
- type: string;
102
- required: boolean;
103
- sort: number;
104
- }[];
105
- };
106
- print_templates?: I_PRINT_TEMPLATE[];
107
- status: boolean;
108
- message: string;
109
- abha?: {
110
- link_patient_rx: boolean;
111
- };
112
- dictation?: {
113
- pref_enabled: boolean;
114
- };
115
- notification_preferences_json?: object;
116
- }
117
- export interface GET_REFERRED_BY_LISTS_RESPONSE {
118
- apiError: string;
119
- ref_doc_id: Array<string>;
120
- ref_doc_list: Array<string>;
121
- through_channel: Array<string>;
122
- total_ref_doc_details: Array<{
123
- doctor_id: string;
124
- doctor_name: string;
125
- specialist: string;
126
- }>;
127
- }
128
- export interface GET_APPOINTMENTS_RESPONSE {
129
- appointments: Array<I_PATIENT_APPOINTMENT>;
130
- appnt_purpose_count_map?: Array<{
131
- appnt_purpose_str: string;
132
- count: number;
133
- }>;
134
- show_survey: boolean;
135
- limit_crossed: boolean;
136
- }
137
- export interface ADD_PATIENT_RESPONSE {
138
- apiError: string;
139
- person_id: number;
140
- conflicts: I_PERSONS_CONFLICT[];
141
- person_role_id: number;
142
- person_name: string;
143
- org_person_bid_str: number;
144
- org_branch_id: number;
145
- person: null;
146
- }
147
- export interface UPDATE_PATIENT_RESPONSE {
148
- code: number;
149
- message: string;
150
- details: Array<[]>;
151
- status: boolean;
152
- }
153
- export interface ADD_PATIENT_IMAGE_RESPONSE {
154
- apiError: string;
155
- data: string;
156
- }
157
- export interface DELETE_PATIENT_IMAGE_RESPONSE {
158
- apiError: string;
159
- }
160
- export interface GET_VISITPAD_PREFERENCES_RESPONSE {
161
- can_add_patient: boolean;
162
- custom_forms: string;
163
- enable_mfe_visitpad_chips: number;
164
- enable_online_consultations: boolean;
165
- is_b2b_branch: number;
166
- org_person_logo_footer_url: string;
167
- org_person_logo_header_url: string;
168
- org_person_seal_url: string;
169
- org_person_sign_text: string;
170
- org_person_signature_url: string;
171
- phone_number_length: number;
172
- presc_print_order: string;
173
- printDefaultPrefIndex: number;
174
- printPrefMasterArr: I_PRINT_TEMPLATE[];
175
- printPreferenceList: {
176
- [key: string]: string;
177
- };
178
- unmodifiedVisitPadJson: string;
179
- visit_pad_json: string;
180
- visitpad_order: string;
181
- vitals_order: string;
182
- use_appnt_token: number;
183
- }
184
- export interface IAddPatientPayload extends I_PatientData {
185
- reg_as_new?: string;
186
- doctor_role_id: string;
187
- doctor_id: string;
188
- org_branch_id: string;
189
- source: string;
190
- ip: string;
191
- }
192
- export interface IUpdatePatientPayload extends Partial<I_PatientData> {
193
- person_id: string;
194
- branch_id: string;
195
- person_role_id: string;
196
- }
197
- export interface IGetPatientListPayload {
198
- branch_id: string;
199
- doctor_id: string;
200
- doctor_role_id: string;
201
- term: string;
202
- limit: number;
203
- }
204
- export interface IGetPatientListResponse {
205
- apiError: string;
206
- persons: IPerson[];
207
- status: boolean;
208
- total_persons: string;
209
- }
210
- export interface GET_PATIENT_DETAILS_RESPONSE {
211
- name: string;
212
- phone_number: string;
213
- gender: string;
214
- honorific: string;
215
- age: number;
216
- patient_preferred_language: string;
217
- org_person_dob: string;
218
- blood_group: string;
219
- email: string;
220
- address: string;
221
- city: string;
222
- org_person_bid_str: string;
223
- pincode: string;
224
- ref_doc_id: string;
225
- ref_doc_name: string;
226
- ref_doc_spec: string;
227
- through_channel: string;
228
- care_of: string;
229
- phone_secondary: string;
230
- occupation: string;
231
- tag: string;
232
- image_link: string;
233
- remote_consultation_id: string;
234
- oc_status: boolean;
235
- created_on: string;
236
- modified_on: string;
237
- patient_id: string;
238
- spouse_name: string;
239
- marital_status: string;
240
- married_since: string;
241
- spouse_blood_group: string;
242
- error: string;
243
- aadhar_number: string;
244
- custom_fields?: {
245
- id: string;
246
- title: string;
247
- value: string;
248
- }[];
249
- }
@@ -1,228 +0,0 @@
1
- import { GET_VISITPAD_PREFERENCES_RESPONSE } from './ApiResponseTypes';
2
- export interface I_PREF_FEATURES {
3
- enable_lis_v1: boolean;
4
- enable_credit_system_v1: boolean;
5
- enable_growth_chart_v1: boolean;
6
- enable_ml_cds: boolean;
7
- enable_pt_engmnt_v1: boolean;
8
- enable_vaccine_chart_v1: boolean;
9
- }
10
- export interface DoctorChatPreferences {
11
- chat_enabled: boolean;
12
- num_messages_per_sub?: string;
13
- subscription_days?: string;
14
- charges: {
15
- app_store_charge?: string;
16
- doctor_fee?: string;
17
- healthplix_charge?: string;
18
- total?: string;
19
- };
20
- }
21
- export interface I_PRINT_TEMPLATE {
22
- config: I_PRINT_TEMPLATE_CONFIG;
23
- is_default: boolean;
24
- name: string;
25
- }
26
- export interface I_ConfigField {
27
- include: string;
28
- print: string;
29
- rows?: string;
30
- }
31
- export interface I_PRINT_TEMPLATE_CONFIG {
32
- add_lang_change: I_ConfigField;
33
- add_qr_code: I_ConfigField;
34
- default_language: I_ConfigField;
35
- enable_background_graphics: I_ConfigField;
36
- enable_medicine_details: I_ConfigField;
37
- field_address: I_ConfigField;
38
- field_channel_through: I_ConfigField;
39
- field_department_name: I_ConfigField;
40
- field_doctor_name: I_ConfigField;
41
- field_phone_number: I_ConfigField;
42
- field_refer_by: I_ConfigField;
43
- field_visit_number: I_ConfigField;
44
- font_family: I_ConfigField;
45
- font_size: I_ConfigField;
46
- font_size_compensation: I_ConfigField;
47
- footer_height: I_ConfigField;
48
- footer_img_url: string;
49
- generic_name: I_ConfigField;
50
- header_height: I_ConfigField;
51
- header_img_url: string;
52
- margin_left: I_ConfigField;
53
- margin_right: I_ConfigField;
54
- not_include_sub_header: I_ConfigField;
55
- page_height: I_ConfigField;
56
- patient_img_height: I_ConfigField;
57
- patient_img_width: I_ConfigField;
58
- pdf_footer_height: I_ConfigField;
59
- pdf_footer_height_V2: I_ConfigField;
60
- pdf_header_height: I_ConfigField;
61
- pdf_header_height_V2: I_ConfigField;
62
- pdf_margin_left: I_ConfigField;
63
- pdf_margin_left_V2: I_ConfigField;
64
- pdf_margin_right: I_ConfigField;
65
- pdf_margin_right_V2: I_ConfigField;
66
- pdf_print_header_first: I_ConfigField;
67
- pdf_print_margin: I_ConfigField;
68
- pname_caps: I_ConfigField;
69
- print_on_letter: I_ConfigField;
70
- print_sign_img: I_ConfigField;
71
- seal_img_url: string;
72
- show_print_preview: I_ConfigField;
73
- show_print_time: I_ConfigField;
74
- sign_in_pres: I_ConfigField;
75
- signature: string;
76
- signature_alone_next_page: I_ConfigField;
77
- signature_img_url: string;
78
- tabular_rx: I_ConfigField;
79
- [key: string]: string | I_ConfigField;
80
- }
81
- export type I_GROWTH_CHART_PRINT_PREF = {
82
- [key: string]: {
83
- print: boolean;
84
- };
85
- };
86
- export interface GlobalWindow {
87
- current_branch_name: string;
88
- getUpdatedPatientDetails: () => void;
89
- patient_person_id: string;
90
- person_id_for_seg: string;
91
- org_branch_id_for_seg: string;
92
- ipd_module: string;
93
- open(url: string, arg1: string): unknown;
94
- enable_ipd_v2: string;
95
- origin: string;
96
- redirectVPFromConsult: undefined;
97
- redirectVPFromAppnt: () => void;
98
- patientPopupClosehandler: () => void;
99
- patientPopupHandler: (pagename: string, pr_id: string, pid: string, preference: GET_VISITPAD_PREFERENCES_RESPONSE, visitPadJSON: I_PRINT_TEMPLATE_CONFIG, previewTab: string) => Promise<void>;
100
- partner_config: string;
101
- permit_lab_tech: string;
102
- doctor_role_id_for_seg: string;
103
- doc_name_for_seg: string;
104
- role_id: string;
105
- partner_service_enabled: string;
106
- key: string;
107
- location: {
108
- href: string;
109
- pathname: string;
110
- origin: string;
111
- };
112
- showToast?: (title: string, subTitle: string, type: string, time: number) => void;
113
- alert(message?: string): void;
114
- filteredUpcomingAppts: I_PATIENT_APPOINTMENT[];
115
- doctor_speciality: string;
116
- }
117
- export interface I_PatientData {
118
- name: string;
119
- phone: string;
120
- gender: string;
121
- honorific: string;
122
- patient_preferred_language: string;
123
- ref_doc_spec: string;
124
- age: string;
125
- age_selector: string;
126
- blood_group: string;
127
- email: string;
128
- address: string;
129
- city: string;
130
- existingBidStr: string;
131
- pincode: string;
132
- ref_doc_name: string;
133
- temp_appnt_id: string;
134
- throughChannel: string;
135
- refDocId: string;
136
- careOf: string;
137
- phoneSecondary: string;
138
- occupation: string;
139
- tag: string;
140
- phone_otp: string;
141
- regAsNew: string;
142
- dob?: string;
143
- image_link: string;
144
- marital_status: string;
145
- spouse_blood_group: string;
146
- married_since: string;
147
- spouse_name: string;
148
- org_person_dob: string;
149
- aadhar_number: string;
150
- custom_fields?: {
151
- id: string;
152
- title: string;
153
- value: string;
154
- }[];
155
- }
156
- export declare enum EAPP_ROUTES {
157
- visitpad = "/md/viewPatientDashboard.php",
158
- consultations = "/md/viewPatientList.php",
159
- appointments = "/md/viewPatientAppointments.php",
160
- settings = "/md/viewPreferenceSettings.php",
161
- privateDb = "/md/viewPrivateDB.php",
162
- dashboardBase = "/",
163
- referEarn = "/md/inviteReferrals.php",
164
- teleConsults = "/md/viewRemoteAppointments.php",
165
- pricing = "/subscription/pricing",
166
- billSummary = "/subscription/bill-summary",
167
- pediatricsCalculator = "/md/viewPediatricCalculator.php"
168
- }
169
- export interface I_PATIENT_APPOINTMENT {
170
- patient_role_id: string;
171
- patient_person_id: string;
172
- appnt_id: string;
173
- org_branch_id: number;
174
- appnt_time: string;
175
- appnt_date: string;
176
- appnt_status: number;
177
- appnt_purpose_str: string;
178
- doctor_role_id: string;
179
- appnt_token_num: number;
180
- created_on: string;
181
- appnt_mod_time: string;
182
- appnt_status_updated_on: string;
183
- org_person_bid_str: string;
184
- org_person_gender: number;
185
- org_person_dob: string;
186
- org_person_name: string;
187
- org_person_phone: string;
188
- org_person_email: string;
189
- visit_created_on: string;
190
- visits_count: number;
191
- last_visit_date: string;
192
- print_count: number;
193
- patient_consent: number;
194
- table_type?: string;
195
- remote_appnt_status?: string;
196
- }
197
- export interface IPerson {
198
- person_id: string;
199
- org_branch_id: string;
200
- person_role_id: string;
201
- org_person_bid_str: string;
202
- created_on: string;
203
- last_modified_date: string;
204
- org_person_name: string;
205
- age: string;
206
- ageStr: string;
207
- org_person_phone: string;
208
- org_person_email: string;
209
- org_person_gender: number;
210
- honorific: string;
211
- }
212
- export interface I_PERSONS_CONFLICT {
213
- org_person_bid_str: string;
214
- org_branch_id: string;
215
- person_id: string;
216
- org_person_oid_str: string;
217
- org_person_name: string;
218
- org_person_gender: string;
219
- org_person_email: string;
220
- org_person_phone: string;
221
- person_role_id: string;
222
- age: string;
223
- }
224
- export declare enum E_ENVIRONMENT {
225
- PRODUCTION = "PRODUCTION",
226
- STAGING = "STAGING",
227
- DEVELOPMENT = "DEVELOPMENT"
228
- }
@@ -1,13 +0,0 @@
1
- import { GET_VISITPAD_PREFERENCES_RESPONSE } from './ApiResponseTypes';
2
- import { E_ENVIRONMENT, GlobalWindow } from './CommonTypes';
3
- export interface PatientAddEditProps {
4
- pref: GET_VISITPAD_PREFERENCES_RESPONSE;
5
- modalIsOpen: boolean;
6
- closeModal: () => void;
7
- variable: {
8
- env: E_ENVIRONMENT;
9
- token: string;
10
- enc_token?: string;
11
- window_var: Partial<GlobalWindow>;
12
- };
13
- }
@@ -1,19 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- export interface TrendGraphDataPoint {
3
- date: string;
4
- value: number;
5
- }
6
- export interface TrendGraphData {
7
- unit: string;
8
- data: TrendGraphDataPoint[];
9
- testName: string;
10
- color: AreaGraphColor;
11
- }
12
- export interface AreaGraphColor {
13
- lineColor: string;
14
- areaColor: string;
15
- }
16
- export interface TrendGraphContextType {
17
- data: TrendGraphData;
18
- setShowLineChart: Dispatch<SetStateAction<boolean>>;
19
- }
@@ -1,14 +0,0 @@
1
- import { useEffect as s } from "react";
2
- const r = (e, t) => {
3
- s(() => {
4
- const n = (o) => {
5
- e.current && !e.current.contains(o.target) && t();
6
- };
7
- return document.addEventListener("mousedown", n), () => {
8
- document.removeEventListener("mousedown", n);
9
- };
10
- }, [e, t]);
11
- };
12
- export {
13
- r as u
14
- };
@@ -1 +0,0 @@
1
- "use strict";const u=require("react"),c=(e,t)=>{u.useEffect(()=>{const n=s=>{e.current&&!e.current.contains(s.target)&&t()};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])};exports.useClickOutside=c;
@@ -1,15 +0,0 @@
1
- import { useCallback as s, useEffect as o } from "react";
2
- const c = (e, u) => {
3
- const t = s(
4
- (n) => {
5
- e.current && !e.current.contains(n.target) && u();
6
- },
7
- [e, u]
8
- );
9
- o(() => (document.addEventListener("mouseup", t), () => {
10
- document.removeEventListener("mouseup", t);
11
- }), [t]);
12
- };
13
- export {
14
- c as u
15
- };
@@ -1 +0,0 @@
1
- "use strict";const s=require("react"),c=(e,u)=>{const t=s.useCallback(n=>{e.current&&!e.current.contains(n.target)&&u()},[e,u]);s.useEffect(()=>(document.addEventListener("mouseup",t),()=>{document.removeEventListener("mouseup",t)}),[t])};exports.useOutsideClick=c;