hplx-feature-library 1.0.177 → 1.0.179
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-owCQeK4h.js → APIAction-CyDmLDGJ.js} +1 -1
- package/dist/{APIAction-GKwgCFa7.cjs → APIAction-CygaXp73.cjs} +1 -1
- package/dist/CommonConstant-BL0tq5l_.js +436 -0
- package/dist/CommonConstant-X6DHVEfC.cjs +1 -0
- package/dist/NineDots/index.js +1 -1
- package/dist/{NineDots-Q7DH5xQq.js → NineDots-sOxfzp6L.js} +15 -14
- package/dist/NineDots-wBuj1tLD.cjs +3 -0
- package/dist/PatientAddEdit/index.js +1 -1
- package/dist/PatientAddEdit-CATkoJRU.cjs +7 -0
- package/dist/{PatientAddEdit-MgBWiJqX.js → PatientAddEdit-Cg2AXnbZ.js} +17 -16
- package/dist/PatientPopup/index.js +1 -1
- package/dist/{PatientPopupContainer-BREW2AZX.cjs → PatientPopupContainer-BPAU-J2G.cjs} +7 -7
- package/dist/{PatientPopupContainer-CyTTjYhk.js → PatientPopupContainer-w3gWr1DY.js} +46 -45
- package/dist/{PrintModal-CaqANEG3.cjs → PrintModal-AyvmVaFS.cjs} +5 -5
- package/dist/{PrintModal-BR_tTgyn.js → PrintModal-CjHcvcfq.js} +2 -1
- package/dist/SearchPatients/index.js +1 -1
- package/dist/{SearchPatients-BEQ0kjtj.js → SearchPatients-BRtrWjT9.js} +2 -2
- package/dist/{SearchPatients-eiOJOnND.cjs → SearchPatients-GDi5ZvNl.cjs} +1 -1
- package/dist/UserProfile/index.js +1 -1
- package/dist/{UserProfile-Bs3EzSqu.js → UserProfile-C7U9iJ6G.js} +1 -1
- package/dist/{UserProfile-C4cNhkeg.cjs → UserProfile-CjBsl-R3.cjs} +1 -1
- package/dist/common-utils-Bo5b1GnC.js +1900 -0
- package/dist/common-utils-DviOTrwv.cjs +6 -0
- package/dist/constants/CommonConstant.d.ts +19 -0
- package/dist/index.js +5 -5
- package/dist/print-pdf/index.js +1 -1
- package/dist/types/NineDotsTypes.d.ts +2 -2
- package/package.json +3 -3
- package/dist/NineDots-Cy5GdMqh.cjs +0 -3
- package/dist/PatientAddEdit-D-PuyA4h.cjs +0 -7
- package/dist/common-utils-CDvwCtzy.js +0 -2328
- package/dist/common-utils-lI6oOpoS.cjs +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as p, R as i, b as d } from "./common-utils-
|
|
1
|
+
import { h as p, R as i, b as d } from "./common-utils-Bo5b1GnC.js";
|
|
2
2
|
import { d as l } from "./dayjs.min-B2cg6pUo.js";
|
|
3
3
|
const P = "/preferences/doctor", E = "/preferences/visitpad", u = "/preferences/branch", f = "patient/search", _ = "../api/modelGetAddPatientSuggestion.php", g = "appointments/get", h = "/v1/patient/add", A = "/v1/patients", w = "../api/modelSavePatientImage.php", D = "../api/modelDeletePatientImage.php", T = "/patient/detail", R = async (s = "", t = {}, e, o, r) => {
|
|
4
4
|
const { doc_rid: n = "" } = t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./common-utils-
|
|
1
|
+
"use strict";const i=require("./common-utils-DviOTrwv.cjs"),P=require("./dayjs.min-DXp74Ozx.cjs"),m="/preferences/doctor",d="/preferences/visitpad",E="/preferences/branch",u="patient/search",A="../api/modelGetAddPatientSuggestion.php",g="appointments/get",_="/v1/patient/add",h="/v1/patients",f="../api/modelSavePatientImage.php",I="../api/modelDeletePatientImage.php",l="/patient/detail",D=async(s="",t={},e,n,r)=>{const{doc_rid:o=""}=t;let a="";Array.isArray(s)?a=s.map(c=>`&fields_required=${encodeURIComponent(c)}`).join(""):s&&(a=`&fields_required=${encodeURIComponent(s)}`);try{const c=await i.hplxAPI(r?.token,r.envName).get(`${m}/${o||e}?branch_id=${n}`+a),{data:p}=c||{};return Promise.resolve(p)}catch(c){return console.error("Error fetching doctor preference:",c),Promise.reject(c)}},T=async(s="",t,e)=>{try{const n=await i.ReArchAPI(e.token,e.envName).get(`${E}/${t}?fields_required=${s}`),{data:r}=n||{};return Promise.resolve(r)}catch(n){return console.log(n),Promise.reject(n)}},w=async(s,t,e,n,r)=>{try{const o={appnt_date:s,doctor_role_id:t,doctor_id:n,org_branch_id:e},a=await i.ReArchAPI(r.token,r.envName).post(g,{...o}),{data:c}=a||{};return Promise.resolve(c)}catch(o){return o instanceof Error&&console.error("Error fetching appointments:",o.message),o?.response?.status===401&&i.handle401Status(),Promise.reject(o)}},y=async(s,t)=>{let e=[];const n=await w(P.dayjs().format("YYYY-MM-DD"),s.doctor_role_id,s.branch_id,s.doctor_id,t);n?.appointments?.length&&(e=n.appointments),window.filteredUpcomingAppts=[],e.length&&(s.term?.length?window.filteredUpcomingAppts=e.filter(r=>r.org_person_name.length&&r.org_person_name.toLowerCase().includes(s.term.toLowerCase())&&r.appnt_date>=P.dayjs(new Date).format("YYYY-MM-DD")&&(r.remote_appnt_status==="CONFIRMED"||r.appnt_status===0||r.appnt_status===3||r.appnt_status===5)):window.filteredUpcomingAppts=e.filter(r=>r.appnt_date>=P.dayjs(new Date).format("YYYY-MM-DD")&&(r.remote_appnt_status==="CONFIRMED"||r.appnt_status===0||r.appnt_status===3||r.appnt_status===5)));try{const r=await i.ReArchAPI(t.token,t.envName).post(u,s),{data:o}=r||{};return Promise.resolve(o)}catch(r){return console.log(r),null}},N=async s=>{try{const t=await i.hplxAPI(s.token,s.envName).post(A),{data:e}=t||{},{apiError:n}=e||{};if(n)throw new Error(n);return Promise.resolve(e)}catch(t){return t instanceof Error&&console.error("Error fetching referred by list:",t.message),t?.response?.status===401&&i.handle401Status(),Promise.reject(t)}},R=async(s,t)=>{try{const e=await i.ReArchAPI(t.token,t.envName).post(_,{...s,token:t.token}),{data:n}=e||{};return Promise.resolve(n)}catch(e){return Promise.reject(e)}},j=async(s,t)=>{try{const e=await i.ReArchAPI(t.token,t.envName).put(h+"/"+s?.person_role_id,{...s}),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},v=async(s,t)=>{try{const e=await i.hplxAPI(t.token,t.envName).post(f,s),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},Y=async(s,t)=>{try{const e=await i.hplxAPI(t.token,t.envName).post(I,s),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},C=async({callback:s,payload:t,token_env:e,isCallbackNeeded:n=!0})=>{try{const r=t;window?.partner_service_enabled==="1"&&(r.partner_service_enabled=!0);const o=await i.ReArchAPI(e.token,e.envName).post(l,{...r}),{data:a}=o||{},{error:c}=a||{};if(c)throw new Error(c);if(n)s(a);else return a}catch(r){console.log(r)}},G=async({doc_id:s="",doc_rid:t=""},e,n,r,o)=>{try{const a={branch_id:n,doctor_id:s||r,doctor_role_id:t||o},c=await i.hplxAPI(e.token,e.envName).post(d,a),{data:p}=c||{};return Promise.resolve(p)}catch(a){return console.error("Error fetching visitpad preference:",a),Promise.reject(a)}};exports.GET_PATIENT_DETAILS=l;exports.addPatientDetails=R;exports.addPatientImage=v;exports.deletePatientImage=Y;exports.getBranchPreferences=T;exports.getDoctorPreference=D;exports.getPatientDetails=C;exports.getPatientList=y;exports.getReferredByList=N;exports.getVisitpadPreference=G;exports.updatePatientDetails=j;
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
var e = /* @__PURE__ */ ((a) => (a.visitpad = "/md/viewPatientDashboard.php", a.consultations = "/md/viewPatientList.php", a.appointments = "/md/viewPatientAppointments.php", a.settings = "/md/viewPreferenceSettings.php", a.privateDb = "/md/viewPrivateDB.php", a.dashboardBase = "/", a.referEarn = "/md/inviteReferrals.php", a.teleConsults = "/md/viewRemoteAppointments.php", a.pricing = "/subscription/pricing", a.billSummary = "/subscription/bill-summary", a.pediatricsCalculator = "/md/viewPediatricCalculator.php", a))(e || {});
|
|
2
|
+
const r = [
|
|
3
|
+
"Salaried Professional",
|
|
4
|
+
"Doctor",
|
|
5
|
+
"Teacher",
|
|
6
|
+
"Accountant",
|
|
7
|
+
"Lawyer",
|
|
8
|
+
"Farmer",
|
|
9
|
+
"Business Owner",
|
|
10
|
+
"Freelancer",
|
|
11
|
+
"Retail Worker",
|
|
12
|
+
"Others"
|
|
13
|
+
], i = [
|
|
14
|
+
"Visakhapatnam",
|
|
15
|
+
"Vijayawada",
|
|
16
|
+
"Guntur",
|
|
17
|
+
"Nellore",
|
|
18
|
+
"Kurnool",
|
|
19
|
+
"Rajahmundry",
|
|
20
|
+
"Tirupati",
|
|
21
|
+
"Kadapa",
|
|
22
|
+
"Kakinada",
|
|
23
|
+
"Eluru",
|
|
24
|
+
"Anantapur",
|
|
25
|
+
"Vijayanagaram",
|
|
26
|
+
"Ongole",
|
|
27
|
+
"Nandyal",
|
|
28
|
+
"Chittoor",
|
|
29
|
+
"Machilipatnam",
|
|
30
|
+
"Adoni",
|
|
31
|
+
"Tenali",
|
|
32
|
+
"Proddatur",
|
|
33
|
+
"Hindupur",
|
|
34
|
+
"Bhimavaram",
|
|
35
|
+
"Madanapalle",
|
|
36
|
+
"Guntakal",
|
|
37
|
+
"Srikakulam",
|
|
38
|
+
"Dharmavaram",
|
|
39
|
+
"Gudivada",
|
|
40
|
+
"Narasaraopet",
|
|
41
|
+
"Tadipatri",
|
|
42
|
+
"Kavali",
|
|
43
|
+
"Tadepalligudem",
|
|
44
|
+
"Amaravati",
|
|
45
|
+
"Guwahati",
|
|
46
|
+
"Patna",
|
|
47
|
+
"Gaya",
|
|
48
|
+
"Bhagalpur",
|
|
49
|
+
"Muzaffarpur",
|
|
50
|
+
"Bihar Sharif",
|
|
51
|
+
"Darbhanga",
|
|
52
|
+
"Purnia",
|
|
53
|
+
"Arrah",
|
|
54
|
+
"Begusarai",
|
|
55
|
+
"Katihar",
|
|
56
|
+
"Munger",
|
|
57
|
+
"Chapra",
|
|
58
|
+
"Danapur",
|
|
59
|
+
"Saharsa",
|
|
60
|
+
"Sasaram",
|
|
61
|
+
"Hajipur",
|
|
62
|
+
"Dehri",
|
|
63
|
+
"Siwan",
|
|
64
|
+
"Bettiah",
|
|
65
|
+
"Motihari",
|
|
66
|
+
"Bagaha",
|
|
67
|
+
"Kishanganj",
|
|
68
|
+
"Jamalpur",
|
|
69
|
+
"Buxar",
|
|
70
|
+
"Jehanabad",
|
|
71
|
+
"Aurangabad",
|
|
72
|
+
"Chandigarh",
|
|
73
|
+
"Raipur",
|
|
74
|
+
"Bhilai",
|
|
75
|
+
"Korba",
|
|
76
|
+
"Bilaspur",
|
|
77
|
+
"Durg",
|
|
78
|
+
"Delhi",
|
|
79
|
+
"Kirari Suleman Nagar",
|
|
80
|
+
"New Delhi",
|
|
81
|
+
"Karawal Nagar",
|
|
82
|
+
"Nangloi Jat",
|
|
83
|
+
"Bhalswa Jahangir Pur",
|
|
84
|
+
"Sultan Pur Majra",
|
|
85
|
+
"Ahmedabad",
|
|
86
|
+
"Surat",
|
|
87
|
+
"Vadodara",
|
|
88
|
+
"Rajkot",
|
|
89
|
+
"Bhavnagar",
|
|
90
|
+
"Jamnagar",
|
|
91
|
+
"Junagadh",
|
|
92
|
+
"Gandhidham",
|
|
93
|
+
"Nadiad",
|
|
94
|
+
"Gandhinagar",
|
|
95
|
+
"Anand",
|
|
96
|
+
"Morvi",
|
|
97
|
+
"Mahesana",
|
|
98
|
+
"Surendranagar Dudhrej",
|
|
99
|
+
"Faridabad",
|
|
100
|
+
"Gurgaon",
|
|
101
|
+
"Rohtak",
|
|
102
|
+
"Panipat",
|
|
103
|
+
"Karnal",
|
|
104
|
+
"Sonipat",
|
|
105
|
+
"Yamunanagar",
|
|
106
|
+
"Panchkula",
|
|
107
|
+
"Bhiwani",
|
|
108
|
+
"Ambala",
|
|
109
|
+
"Sirsa",
|
|
110
|
+
"Shimla",
|
|
111
|
+
"Srinagar",
|
|
112
|
+
"Jammu",
|
|
113
|
+
"Dhanbad",
|
|
114
|
+
"Ranchi",
|
|
115
|
+
"Jamshedpur",
|
|
116
|
+
"Bokaro",
|
|
117
|
+
"Mango",
|
|
118
|
+
"Deoghar",
|
|
119
|
+
"Bangalore",
|
|
120
|
+
"Hubballi-Dharwad",
|
|
121
|
+
"Mysore",
|
|
122
|
+
"Gulbarga",
|
|
123
|
+
"Mangalore",
|
|
124
|
+
"Belgaum",
|
|
125
|
+
"Davanagere",
|
|
126
|
+
"Bellary",
|
|
127
|
+
"Bijapur",
|
|
128
|
+
"Shivamogga",
|
|
129
|
+
"Tumkur",
|
|
130
|
+
"Raichur",
|
|
131
|
+
"Bidar",
|
|
132
|
+
"Hospet",
|
|
133
|
+
"Thiruvananthapuram",
|
|
134
|
+
"Kochi",
|
|
135
|
+
"Kozhikode",
|
|
136
|
+
"Kollam",
|
|
137
|
+
"Thrissur",
|
|
138
|
+
"Alappuzha",
|
|
139
|
+
"Kottayam",
|
|
140
|
+
"Indore",
|
|
141
|
+
"Bhopal",
|
|
142
|
+
"Jabalpur",
|
|
143
|
+
"Gwalior",
|
|
144
|
+
"Ujjain",
|
|
145
|
+
"Dewas",
|
|
146
|
+
"Satna",
|
|
147
|
+
"Sagar",
|
|
148
|
+
"Ratlam",
|
|
149
|
+
"Rewa",
|
|
150
|
+
"Singrauli",
|
|
151
|
+
"Burhanpur",
|
|
152
|
+
"Khandwa",
|
|
153
|
+
"Morena",
|
|
154
|
+
"Bhind",
|
|
155
|
+
"Guna",
|
|
156
|
+
"Shivpuri",
|
|
157
|
+
"Mumbai",
|
|
158
|
+
"Pune",
|
|
159
|
+
"Nagpur",
|
|
160
|
+
"Thane",
|
|
161
|
+
"Pimpri-Chinchwad",
|
|
162
|
+
"Nashik",
|
|
163
|
+
"Kalyan-Dombivali",
|
|
164
|
+
"Vasai-Virar",
|
|
165
|
+
"Aurangabad",
|
|
166
|
+
"Navi Mumbai",
|
|
167
|
+
"Solapur",
|
|
168
|
+
"Mira-Bhayandar",
|
|
169
|
+
"Bhiwandi",
|
|
170
|
+
"Amravati",
|
|
171
|
+
"Nanded",
|
|
172
|
+
"Kolhapur",
|
|
173
|
+
"Akola",
|
|
174
|
+
"Ulhasnagar",
|
|
175
|
+
"Sangli-Miraj & Kupwad",
|
|
176
|
+
"Malegaon",
|
|
177
|
+
"Jalgaon",
|
|
178
|
+
"Latur",
|
|
179
|
+
"Dhule",
|
|
180
|
+
"Ahmednagar",
|
|
181
|
+
"Satara",
|
|
182
|
+
"Chandrapur",
|
|
183
|
+
"Parbhani",
|
|
184
|
+
"Ichalkaranji",
|
|
185
|
+
"Jalna",
|
|
186
|
+
"Ambernath",
|
|
187
|
+
"Navi Mumbai Panvel Raigad",
|
|
188
|
+
"Bhusawal",
|
|
189
|
+
"Panvel",
|
|
190
|
+
"Imphal",
|
|
191
|
+
"Aizawl",
|
|
192
|
+
"Bhubaneswar",
|
|
193
|
+
"Cuttack",
|
|
194
|
+
"Rourkela",
|
|
195
|
+
"Berhampur",
|
|
196
|
+
"Sambalpur",
|
|
197
|
+
"Rourkela",
|
|
198
|
+
"Raurkela Industrial Township",
|
|
199
|
+
"Sambalpur",
|
|
200
|
+
"Ozhukarai",
|
|
201
|
+
"Puducherry",
|
|
202
|
+
"Ludhiana",
|
|
203
|
+
"Amritsar",
|
|
204
|
+
"Jalandhar",
|
|
205
|
+
"Patiala",
|
|
206
|
+
"Bathinda",
|
|
207
|
+
"Jaipur",
|
|
208
|
+
"Jodhpur",
|
|
209
|
+
"Kota",
|
|
210
|
+
"Bikaner",
|
|
211
|
+
"Ajmer",
|
|
212
|
+
"Udaipur",
|
|
213
|
+
"Bhilwara",
|
|
214
|
+
"Alwar",
|
|
215
|
+
"Bharatpur",
|
|
216
|
+
"Sikar",
|
|
217
|
+
"Pali",
|
|
218
|
+
"Sri Ganganagar",
|
|
219
|
+
"Chennai",
|
|
220
|
+
"Coimbatore",
|
|
221
|
+
"Madurai",
|
|
222
|
+
"Tiruchirappalli",
|
|
223
|
+
"Tiruppur",
|
|
224
|
+
"Salem",
|
|
225
|
+
"Erode",
|
|
226
|
+
"Ambattur",
|
|
227
|
+
"Tirunelveli",
|
|
228
|
+
"Avadi",
|
|
229
|
+
"Tiruvottiyur",
|
|
230
|
+
"Thoothukudi",
|
|
231
|
+
"Nagarcoil",
|
|
232
|
+
"Thanjavur",
|
|
233
|
+
"Pallavaram",
|
|
234
|
+
"Dindigul",
|
|
235
|
+
"Vellore",
|
|
236
|
+
"Karaikudi",
|
|
237
|
+
"Hyderabad",
|
|
238
|
+
"Warangal",
|
|
239
|
+
"Nizamabad",
|
|
240
|
+
"Khammam",
|
|
241
|
+
"Karimnagar",
|
|
242
|
+
"Ramagundam",
|
|
243
|
+
"Secunderabad",
|
|
244
|
+
"Miryalaguda",
|
|
245
|
+
"Suryapet",
|
|
246
|
+
"Agartala",
|
|
247
|
+
"Lucknow",
|
|
248
|
+
"Kanpur",
|
|
249
|
+
"Ghaziabad",
|
|
250
|
+
"Agra",
|
|
251
|
+
"Meerut",
|
|
252
|
+
"Varanasi",
|
|
253
|
+
"Prayagraj",
|
|
254
|
+
"Moradabad",
|
|
255
|
+
"Bareily",
|
|
256
|
+
"Aligarh",
|
|
257
|
+
"Saharanpur",
|
|
258
|
+
"Gorakhpur",
|
|
259
|
+
"Noida",
|
|
260
|
+
"Firozabad",
|
|
261
|
+
"Loni",
|
|
262
|
+
"Jhansi",
|
|
263
|
+
"Muzaffarnagar",
|
|
264
|
+
"Mathura",
|
|
265
|
+
"Shahjahanpur",
|
|
266
|
+
"Rampur",
|
|
267
|
+
"Mau",
|
|
268
|
+
"Farrukhabad",
|
|
269
|
+
"Hapur",
|
|
270
|
+
"Etawah",
|
|
271
|
+
"Mirzapur",
|
|
272
|
+
"Bulandshahr",
|
|
273
|
+
"Murwara",
|
|
274
|
+
"Sambhal",
|
|
275
|
+
"Amroha",
|
|
276
|
+
"Fatehpur",
|
|
277
|
+
"Rae Bareli",
|
|
278
|
+
"Khora",
|
|
279
|
+
"Orai",
|
|
280
|
+
"Bahraich",
|
|
281
|
+
"Jaunpur",
|
|
282
|
+
"Unnao",
|
|
283
|
+
"Dehradun",
|
|
284
|
+
"Haridwar",
|
|
285
|
+
"Kolkata",
|
|
286
|
+
"Howrah",
|
|
287
|
+
"Durgapur",
|
|
288
|
+
"Asansol",
|
|
289
|
+
"Siliguri",
|
|
290
|
+
"Maheshtala",
|
|
291
|
+
"Rajpur Sonarpur",
|
|
292
|
+
"South Dumdum",
|
|
293
|
+
"Gopalpur",
|
|
294
|
+
"Bhatpara",
|
|
295
|
+
"Panihati",
|
|
296
|
+
"Kamarhati",
|
|
297
|
+
"Bardhaman",
|
|
298
|
+
"Kulti",
|
|
299
|
+
"Bally",
|
|
300
|
+
"Barasat",
|
|
301
|
+
"North Dumdum",
|
|
302
|
+
"Baranagar",
|
|
303
|
+
"Uluberia",
|
|
304
|
+
"Naihati",
|
|
305
|
+
"Bidhan Nagar",
|
|
306
|
+
"Kharagpur",
|
|
307
|
+
"Malda",
|
|
308
|
+
"Haldia",
|
|
309
|
+
"Madhyamgram",
|
|
310
|
+
"Baharampur",
|
|
311
|
+
"Raiganj",
|
|
312
|
+
"Serampore",
|
|
313
|
+
"Pratapgarh",
|
|
314
|
+
"Sultanpur",
|
|
315
|
+
"Amethi"
|
|
316
|
+
], u = [
|
|
317
|
+
{ label: "", value: "", gender: "" },
|
|
318
|
+
{ label: "Mr", value: "Mr", gender: "0" },
|
|
319
|
+
{ label: "Mrs", value: "Mrs", gender: "1" },
|
|
320
|
+
{ label: "Ms", value: "Ms", gender: "1" },
|
|
321
|
+
{ label: "Dr", value: "Dr", gender: "" },
|
|
322
|
+
{ label: "Md", value: "Md", gender: "0" },
|
|
323
|
+
{ label: "Smt", value: "Smt", gender: "1" },
|
|
324
|
+
{ label: "Baby", value: "Baby", gender: "1" },
|
|
325
|
+
{ label: "Master", value: "Master", gender: "0" },
|
|
326
|
+
{ label: "Sri", value: "Sri", gender: "0" },
|
|
327
|
+
{ label: "Kumari", value: "Kumari", gender: "1" }
|
|
328
|
+
], t = [
|
|
329
|
+
{ value: "", label: "Blood Group" },
|
|
330
|
+
{ value: "A+ve", label: "A +ve" },
|
|
331
|
+
{ value: "A-ve", label: "A -ve" },
|
|
332
|
+
{ value: "B+ve", label: "B +ve" },
|
|
333
|
+
{ value: "B-ve", label: "B -ve" },
|
|
334
|
+
{ value: "AB+ve", label: "AB +ve" },
|
|
335
|
+
{ value: "AB-ve", label: "AB -ve" },
|
|
336
|
+
{ value: "O+ve", label: "O +ve" },
|
|
337
|
+
{ value: "O-ve", label: "O -ve" }
|
|
338
|
+
], n = {
|
|
339
|
+
en: "English",
|
|
340
|
+
hi: "Hindi",
|
|
341
|
+
kn: "Kannada",
|
|
342
|
+
ml: "Malayalam",
|
|
343
|
+
te: "Telugu",
|
|
344
|
+
gu: "Gujarati",
|
|
345
|
+
mr: "Marathi",
|
|
346
|
+
ta: "Tamil",
|
|
347
|
+
bn: "Bengali",
|
|
348
|
+
ur: "Urdu",
|
|
349
|
+
pa: "Punjabi",
|
|
350
|
+
od: "Oriya",
|
|
351
|
+
ar: "Arabic",
|
|
352
|
+
asa: "Assamese"
|
|
353
|
+
}, o = [
|
|
354
|
+
{ label: "Cardiologist", value: "Cardiologist" },
|
|
355
|
+
{ label: "Dental", value: "Dental" },
|
|
356
|
+
{ label: "Dermatologist", value: "Dermatologist" },
|
|
357
|
+
{ label: "Dietician", value: "Dietician" },
|
|
358
|
+
{ label: "Endocrinologist", value: "Endocrinologist" },
|
|
359
|
+
{ label: "Gastroenterologist", value: "Gastroenterologist" },
|
|
360
|
+
{ label: "Gynecologist", value: "Gynecologist" },
|
|
361
|
+
{ label: "Hematologist", value: "Hematologist" },
|
|
362
|
+
{ label: "Hepatologist", value: "Hepatologist" },
|
|
363
|
+
{ label: "Immunologist", value: "Immunologist" },
|
|
364
|
+
{ label: "Nephrologist", value: "Nephrologist" },
|
|
365
|
+
{ label: "Neurologist", value: "Neurologist" },
|
|
366
|
+
{ label: "Neurosurgeon", value: "Neurosurgeon" },
|
|
367
|
+
{ label: "Ophthalmologist", value: "Ophthalmologist" },
|
|
368
|
+
{ label: "Orthopedician", value: "Orthopedician" },
|
|
369
|
+
{ label: "Pediatrician", value: "Pediatrician" },
|
|
370
|
+
{ label: "Physician", value: "Physician" },
|
|
371
|
+
{ label: "Plastic surgery", value: "Plastic surgery" },
|
|
372
|
+
{ label: "Podiatrist", value: "Podiatrist" },
|
|
373
|
+
{ label: "Pulmonologist", value: "Pulmonologist" },
|
|
374
|
+
{ label: "Surgeon", value: "Surgeon" },
|
|
375
|
+
{ label: "Urologist", value: "Urologist" },
|
|
376
|
+
{ label: "ENT", value: "ENT" },
|
|
377
|
+
{ label: "Psychiatrist", value: "Psychiatrist" },
|
|
378
|
+
{ label: "Rheumatologist", value: "Rheumatologist" },
|
|
379
|
+
{ label: "Surgical Gastrenterologist", value: "Surgical Gastrenterologist" },
|
|
380
|
+
{ label: "Oncologist", value: "Oncologist" },
|
|
381
|
+
{ label: "Diabetologist", value: "Diabetologist" },
|
|
382
|
+
{ label: "CVT surgeon", value: "CVT surgeon" },
|
|
383
|
+
{ label: "Vascular surgeon", value: "Vascular surgeon" },
|
|
384
|
+
{ label: "Dental surgeon", value: "Dental surgeon" },
|
|
385
|
+
{ label: "Physiotherapist", value: "Physiotherapist" },
|
|
386
|
+
{ label: "General Surgeon", value: "General Surgeon" },
|
|
387
|
+
{ label: "Foot Surgeon", value: "Foot Surgeon" },
|
|
388
|
+
{ label: "Psychologist", value: "Psychologist" },
|
|
389
|
+
{ label: "Counsellor", value: "Counsellor" },
|
|
390
|
+
{ label: "Nutritionist", value: "Nutritionist" },
|
|
391
|
+
{ label: "Pathologist", value: "Pathologist" },
|
|
392
|
+
{ label: "Retina Surgeon", value: "Retina Surgeon" },
|
|
393
|
+
{ label: "Nuclear Medicine", value: "Nuclear Medicine" },
|
|
394
|
+
{ label: "Neuro Physician", value: "Neuro Physician" },
|
|
395
|
+
{ label: "Ortho Surgeon", value: "Ortho Surgeon" },
|
|
396
|
+
{ label: "Radiologist", value: "Radiologist" },
|
|
397
|
+
{ label: "General Physician", value: "General Physician" },
|
|
398
|
+
{ label: "TAVI Specialist", value: "TAVI Specialist" }
|
|
399
|
+
], s = [
|
|
400
|
+
{ value: 0, text: "Male" },
|
|
401
|
+
{ value: 1, text: "Female" },
|
|
402
|
+
{ value: 2, text: "Other" }
|
|
403
|
+
], h = ["Single", "Married", "Divorcee", "Widow"], g = {
|
|
404
|
+
title: "Session Timed Out.",
|
|
405
|
+
subTitle: "Please Login again.",
|
|
406
|
+
type: "Error",
|
|
407
|
+
time: 3e4
|
|
408
|
+
}, d = {
|
|
409
|
+
STAGING: {
|
|
410
|
+
php_url: "https://consultation-edge-dev.healthplix.com/",
|
|
411
|
+
rearch_url: "https://consultation-edge-dev.healthplix.com/"
|
|
412
|
+
},
|
|
413
|
+
DEVELOPMENT: {
|
|
414
|
+
php_url: "https://consultation-edge-dev.healthplix.com/",
|
|
415
|
+
rearch_url: "https://consultation-edge-dev.healthplix.com/"
|
|
416
|
+
},
|
|
417
|
+
PRODUCTION: {
|
|
418
|
+
php_url: "https://consultation-edge-dev.healthplix.com/",
|
|
419
|
+
rearch_url: "https://consultation-edge.healthplix.com/"
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
var l = /* @__PURE__ */ ((a) => (a.Patient = "1", a.Frontdesk = "2", a.LabTech = "3", a.Nurse = "4", a.Pharmacist = "5", a.PCI = "7", a.Onco_Nurse = "8", a.staffType5 = "9", a.Consultant_Doctor = "10", a.Doctor = "11", a.Branch_admin = "12", a.Junior_Doctor = "13", a.Senior_Doctor = "14", a.Senior_Nurse = "15", a.Junior_Nurse = "16", a.Resident_Doctor = "17", a.Billing = "18", a))(l || {});
|
|
423
|
+
export {
|
|
424
|
+
d as B,
|
|
425
|
+
i as C,
|
|
426
|
+
n as D,
|
|
427
|
+
l as E,
|
|
428
|
+
u as H,
|
|
429
|
+
h as M,
|
|
430
|
+
r as O,
|
|
431
|
+
o as S,
|
|
432
|
+
g as U,
|
|
433
|
+
e as a,
|
|
434
|
+
t as b,
|
|
435
|
+
s as g
|
|
436
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=(a=>(a.visitpad="/md/viewPatientDashboard.php",a.consultations="/md/viewPatientList.php",a.appointments="/md/viewPatientAppointments.php",a.settings="/md/viewPreferenceSettings.php",a.privateDb="/md/viewPrivateDB.php",a.dashboardBase="/",a.referEarn="/md/inviteReferrals.php",a.teleConsults="/md/viewRemoteAppointments.php",a.pricing="/subscription/pricing",a.billSummary="/subscription/bill-summary",a.pediatricsCalculator="/md/viewPediatricCalculator.php",a))(e||{});const r=["Salaried Professional","Doctor","Teacher","Accountant","Lawyer","Farmer","Business Owner","Freelancer","Retail Worker","Others"],i=["Visakhapatnam","Vijayawada","Guntur","Nellore","Kurnool","Rajahmundry","Tirupati","Kadapa","Kakinada","Eluru","Anantapur","Vijayanagaram","Ongole","Nandyal","Chittoor","Machilipatnam","Adoni","Tenali","Proddatur","Hindupur","Bhimavaram","Madanapalle","Guntakal","Srikakulam","Dharmavaram","Gudivada","Narasaraopet","Tadipatri","Kavali","Tadepalligudem","Amaravati","Guwahati","Patna","Gaya","Bhagalpur","Muzaffarpur","Bihar Sharif","Darbhanga","Purnia","Arrah","Begusarai","Katihar","Munger","Chapra","Danapur","Saharsa","Sasaram","Hajipur","Dehri","Siwan","Bettiah","Motihari","Bagaha","Kishanganj","Jamalpur","Buxar","Jehanabad","Aurangabad","Chandigarh","Raipur","Bhilai","Korba","Bilaspur","Durg","Delhi","Kirari Suleman Nagar","New Delhi","Karawal Nagar","Nangloi Jat","Bhalswa Jahangir Pur","Sultan Pur Majra","Ahmedabad","Surat","Vadodara","Rajkot","Bhavnagar","Jamnagar","Junagadh","Gandhidham","Nadiad","Gandhinagar","Anand","Morvi","Mahesana","Surendranagar Dudhrej","Faridabad","Gurgaon","Rohtak","Panipat","Karnal","Sonipat","Yamunanagar","Panchkula","Bhiwani","Ambala","Sirsa","Shimla","Srinagar","Jammu","Dhanbad","Ranchi","Jamshedpur","Bokaro","Mango","Deoghar","Bangalore","Hubballi-Dharwad","Mysore","Gulbarga","Mangalore","Belgaum","Davanagere","Bellary","Bijapur","Shivamogga","Tumkur","Raichur","Bidar","Hospet","Thiruvananthapuram","Kochi","Kozhikode","Kollam","Thrissur","Alappuzha","Kottayam","Indore","Bhopal","Jabalpur","Gwalior","Ujjain","Dewas","Satna","Sagar","Ratlam","Rewa","Singrauli","Burhanpur","Khandwa","Morena","Bhind","Guna","Shivpuri","Mumbai","Pune","Nagpur","Thane","Pimpri-Chinchwad","Nashik","Kalyan-Dombivali","Vasai-Virar","Aurangabad","Navi Mumbai","Solapur","Mira-Bhayandar","Bhiwandi","Amravati","Nanded","Kolhapur","Akola","Ulhasnagar","Sangli-Miraj & Kupwad","Malegaon","Jalgaon","Latur","Dhule","Ahmednagar","Satara","Chandrapur","Parbhani","Ichalkaranji","Jalna","Ambernath","Navi Mumbai Panvel Raigad","Bhusawal","Panvel","Imphal","Aizawl","Bhubaneswar","Cuttack","Rourkela","Berhampur","Sambalpur","Rourkela","Raurkela Industrial Township","Sambalpur","Ozhukarai","Puducherry","Ludhiana","Amritsar","Jalandhar","Patiala","Bathinda","Jaipur","Jodhpur","Kota","Bikaner","Ajmer","Udaipur","Bhilwara","Alwar","Bharatpur","Sikar","Pali","Sri Ganganagar","Chennai","Coimbatore","Madurai","Tiruchirappalli","Tiruppur","Salem","Erode","Ambattur","Tirunelveli","Avadi","Tiruvottiyur","Thoothukudi","Nagarcoil","Thanjavur","Pallavaram","Dindigul","Vellore","Karaikudi","Hyderabad","Warangal","Nizamabad","Khammam","Karimnagar","Ramagundam","Secunderabad","Miryalaguda","Suryapet","Agartala","Lucknow","Kanpur","Ghaziabad","Agra","Meerut","Varanasi","Prayagraj","Moradabad","Bareily","Aligarh","Saharanpur","Gorakhpur","Noida","Firozabad","Loni","Jhansi","Muzaffarnagar","Mathura","Shahjahanpur","Rampur","Mau","Farrukhabad","Hapur","Etawah","Mirzapur","Bulandshahr","Murwara","Sambhal","Amroha","Fatehpur","Rae Bareli","Khora","Orai","Bahraich","Jaunpur","Unnao","Dehradun","Haridwar","Kolkata","Howrah","Durgapur","Asansol","Siliguri","Maheshtala","Rajpur Sonarpur","South Dumdum","Gopalpur","Bhatpara","Panihati","Kamarhati","Bardhaman","Kulti","Bally","Barasat","North Dumdum","Baranagar","Uluberia","Naihati","Bidhan Nagar","Kharagpur","Malda","Haldia","Madhyamgram","Baharampur","Raiganj","Serampore","Pratapgarh","Sultanpur","Amethi"],u=[{label:"",value:"",gender:""},{label:"Mr",value:"Mr",gender:"0"},{label:"Mrs",value:"Mrs",gender:"1"},{label:"Ms",value:"Ms",gender:"1"},{label:"Dr",value:"Dr",gender:""},{label:"Md",value:"Md",gender:"0"},{label:"Smt",value:"Smt",gender:"1"},{label:"Baby",value:"Baby",gender:"1"},{label:"Master",value:"Master",gender:"0"},{label:"Sri",value:"Sri",gender:"0"},{label:"Kumari",value:"Kumari",gender:"1"}],t=[{value:"",label:"Blood Group"},{value:"A+ve",label:"A +ve"},{value:"A-ve",label:"A -ve"},{value:"B+ve",label:"B +ve"},{value:"B-ve",label:"B -ve"},{value:"AB+ve",label:"AB +ve"},{value:"AB-ve",label:"AB -ve"},{value:"O+ve",label:"O +ve"},{value:"O-ve",label:"O -ve"}],n={en:"English",hi:"Hindi",kn:"Kannada",ml:"Malayalam",te:"Telugu",gu:"Gujarati",mr:"Marathi",ta:"Tamil",bn:"Bengali",ur:"Urdu",pa:"Punjabi",od:"Oriya",ar:"Arabic",asa:"Assamese"},o=[{label:"Cardiologist",value:"Cardiologist"},{label:"Dental",value:"Dental"},{label:"Dermatologist",value:"Dermatologist"},{label:"Dietician",value:"Dietician"},{label:"Endocrinologist",value:"Endocrinologist"},{label:"Gastroenterologist",value:"Gastroenterologist"},{label:"Gynecologist",value:"Gynecologist"},{label:"Hematologist",value:"Hematologist"},{label:"Hepatologist",value:"Hepatologist"},{label:"Immunologist",value:"Immunologist"},{label:"Nephrologist",value:"Nephrologist"},{label:"Neurologist",value:"Neurologist"},{label:"Neurosurgeon",value:"Neurosurgeon"},{label:"Ophthalmologist",value:"Ophthalmologist"},{label:"Orthopedician",value:"Orthopedician"},{label:"Pediatrician",value:"Pediatrician"},{label:"Physician",value:"Physician"},{label:"Plastic surgery",value:"Plastic surgery"},{label:"Podiatrist",value:"Podiatrist"},{label:"Pulmonologist",value:"Pulmonologist"},{label:"Surgeon",value:"Surgeon"},{label:"Urologist",value:"Urologist"},{label:"ENT",value:"ENT"},{label:"Psychiatrist",value:"Psychiatrist"},{label:"Rheumatologist",value:"Rheumatologist"},{label:"Surgical Gastrenterologist",value:"Surgical Gastrenterologist"},{label:"Oncologist",value:"Oncologist"},{label:"Diabetologist",value:"Diabetologist"},{label:"CVT surgeon",value:"CVT surgeon"},{label:"Vascular surgeon",value:"Vascular surgeon"},{label:"Dental surgeon",value:"Dental surgeon"},{label:"Physiotherapist",value:"Physiotherapist"},{label:"General Surgeon",value:"General Surgeon"},{label:"Foot Surgeon",value:"Foot Surgeon"},{label:"Psychologist",value:"Psychologist"},{label:"Counsellor",value:"Counsellor"},{label:"Nutritionist",value:"Nutritionist"},{label:"Pathologist",value:"Pathologist"},{label:"Retina Surgeon",value:"Retina Surgeon"},{label:"Nuclear Medicine",value:"Nuclear Medicine"},{label:"Neuro Physician",value:"Neuro Physician"},{label:"Ortho Surgeon",value:"Ortho Surgeon"},{label:"Radiologist",value:"Radiologist"},{label:"General Physician",value:"General Physician"},{label:"TAVI Specialist",value:"TAVI Specialist"}],s=[{value:0,text:"Male"},{value:1,text:"Female"},{value:2,text:"Other"}],h=["Single","Married","Divorcee","Widow"],g={title:"Session Timed Out.",subTitle:"Please Login again.",type:"Error",time:3e4},d={STAGING:{php_url:"https://consultation-edge-dev.healthplix.com/",rearch_url:"https://consultation-edge-dev.healthplix.com/"},DEVELOPMENT:{php_url:"https://consultation-edge-dev.healthplix.com/",rearch_url:"https://consultation-edge-dev.healthplix.com/"},PRODUCTION:{php_url:"https://consultation-edge-dev.healthplix.com/",rearch_url:"https://consultation-edge.healthplix.com/"}};var l=(a=>(a.Patient="1",a.Frontdesk="2",a.LabTech="3",a.Nurse="4",a.Pharmacist="5",a.PCI="7",a.Onco_Nurse="8",a.staffType5="9",a.Consultant_Doctor="10",a.Doctor="11",a.Branch_admin="12",a.Junior_Doctor="13",a.Senior_Doctor="14",a.Senior_Nurse="15",a.Junior_Nurse="16",a.Resident_Doctor="17",a.Billing="18",a))(l||{});exports.BASE_URLS=d;exports.CityList=i;exports.DefinedLanguages=n;exports.EAPP_ROUTES=e;exports.E_APP_ROLE_ID=l;exports.HonorificList=u;exports.MARITAL_STATUS=h;exports.OccupationList=r;exports.SpecialityList=o;exports.UnauthorizedAccessMessage=g;exports.bloodGroups=t;exports.genderList=s;
|
package/dist/NineDots/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { j as C, b as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
|
|
1
|
+
import { j as C, b as M } from "./index-BUI6-03D.js";
|
|
2
|
+
import { useMemo as x, useState as Z, useRef as j, useEffect as n } from "react";
|
|
3
|
+
import { E as f } from "./CommonConstant-BL0tq5l_.js";
|
|
4
|
+
const o = (i) => {
|
|
4
5
|
const {
|
|
5
6
|
roleId: l,
|
|
6
7
|
canDoBilling: d,
|
|
@@ -16,15 +17,15 @@ const n = (i) => {
|
|
|
16
17
|
} = i;
|
|
17
18
|
return [
|
|
18
19
|
{
|
|
19
|
-
permission: l ===
|
|
20
|
+
permission: l === f.Doctor ? "1" : "0",
|
|
20
21
|
label: "Doctor",
|
|
21
|
-
link: V
|
|
22
|
+
link: V ? "../md/viewRemoteAppointments.php" : "../md/viewPatientAppointments.php",
|
|
22
23
|
icon: "../assets/images/Doctor.svg"
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
permission: d ? "1" : "0",
|
|
26
27
|
label: "Frontdesk",
|
|
27
|
-
link: p
|
|
28
|
+
link: p ? "../frontdesk/viewFrontdeskDashboard.php" : "../frontdesk/viewAppointments.php",
|
|
28
29
|
icon: "../assets/images/Front-Desk.svg"
|
|
29
30
|
},
|
|
30
31
|
{
|
|
@@ -52,7 +53,7 @@ const n = (i) => {
|
|
|
52
53
|
icon: "../assets/images/CRM.svg"
|
|
53
54
|
},
|
|
54
55
|
{
|
|
55
|
-
permission: L || l ===
|
|
56
|
+
permission: L || l === f.Doctor || s ? "1" : "0",
|
|
56
57
|
label: "Reports",
|
|
57
58
|
link: s ? "../report/viewCDBillingReport.php?branch_selector=0" : "../report/viewFDBillingReport.php",
|
|
58
59
|
icon: "../assets/images/Reports.svg"
|
|
@@ -65,7 +66,7 @@ const n = (i) => {
|
|
|
65
66
|
},
|
|
66
67
|
{ permission: "1", label: "Robin", link: "", icon: "../assets/images/Robin.svg" }
|
|
67
68
|
];
|
|
68
|
-
},
|
|
69
|
+
}, r = (i) => {
|
|
69
70
|
let l;
|
|
70
71
|
switch (i) {
|
|
71
72
|
case "Logo-Color":
|
|
@@ -1717,13 +1718,13 @@ const n = (i) => {
|
|
|
1717
1718
|
break;
|
|
1718
1719
|
}
|
|
1719
1720
|
return l;
|
|
1720
|
-
},
|
|
1721
|
-
const h =
|
|
1721
|
+
}, w = ({ disabled: i = !1, viteCrmUrl: l, onLoginRobin: d, ...s }) => {
|
|
1722
|
+
const h = x(() => o(s), [s]), [a, t] = Z(!1), H = j(null), L = () => {
|
|
1722
1723
|
i || t((V) => !V);
|
|
1723
1724
|
}, e = (V) => {
|
|
1724
1725
|
H.current && !H.current.contains(V.target) && t(!1);
|
|
1725
1726
|
};
|
|
1726
|
-
|
|
1727
|
+
n(() => (document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e)), []);
|
|
1727
1728
|
const p = (V) => {
|
|
1728
1729
|
if (!i)
|
|
1729
1730
|
switch (V.label) {
|
|
@@ -1763,9 +1764,9 @@ const n = (i) => {
|
|
|
1763
1764
|
className: "hfl-flex hfl-w-20 hfl-cursor-pointer hfl-flex-col hfl-items-center hfl-justify-between hfl-rounded-md hfl-bg-White hfl-px-2 hfl-py-1",
|
|
1764
1765
|
onClick: () => p(V),
|
|
1765
1766
|
children: [
|
|
1766
|
-
|
|
1767
|
+
r(V.label),
|
|
1767
1768
|
/* @__PURE__ */ C.jsx(
|
|
1768
|
-
|
|
1769
|
+
M,
|
|
1769
1770
|
{
|
|
1770
1771
|
variant: "Regular",
|
|
1771
1772
|
type: "Text xs",
|
|
@@ -1783,5 +1784,5 @@ const n = (i) => {
|
|
|
1783
1784
|
] });
|
|
1784
1785
|
};
|
|
1785
1786
|
export {
|
|
1786
|
-
|
|
1787
|
+
w as N
|
|
1787
1788
|
};
|