hplx-feature-library 1.0.172 → 1.0.173
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--DyoXs57.js +3752 -0
- package/dist/APIAction-B5XQnkiF.cjs +9 -0
- package/dist/AllInvestigations/index.js +1 -1
- package/dist/{AllInvestigationsTable-C7jrmW8z.js → AllInvestigationsTable-BxezFrCD.js} +5853 -6144
- package/dist/AllInvestigationsTable-C7uQ56B0.cjs +79 -0
- package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
- package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
- package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
- package/dist/Attachments/components/uploading-toast.d.ts +1 -1
- package/dist/Attachments/context/index.d.ts +2 -2
- package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
- package/dist/Attachments/index.js +512 -534
- package/dist/CameraCapture/index.d.ts +1 -1
- package/dist/PatientAddEdit/index.js +1662 -0
- package/dist/PatientPopup/action/APIAction.d.ts +65 -0
- package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
- package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
- package/dist/PatientPopup/common/common.d.ts +14 -0
- package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
- package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
- package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
- package/dist/PatientPopup/components/Pagination.d.ts +9 -0
- package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
- package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
- package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
- package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
- package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
- package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
- package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
- package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
- package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
- package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
- package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
- package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
- package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
- package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
- package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
- package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
- package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
- package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
- package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
- package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
- package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
- package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
- package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
- package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
- package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
- package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
- package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
- package/dist/PatientPopup/index.d.ts +1 -0
- package/dist/PatientPopup/index.js +135376 -0
- package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
- package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
- package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-B4fTy1J5.cjs +9 -0
- package/dist/PediatricsCalculatorTable-C4HGNrjE.js +1167 -0
- package/dist/ReusableModal-CIgDYOWZ.cjs +1 -0
- package/dist/ReusableModal-pSi21hnc.js +29 -0
- package/dist/ReusableTable/context/TableContextBase.d.ts +1 -1
- package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
- package/dist/TrendGraphs/context/index.d.ts +1 -1
- package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/common/APIAction/APIAction.d.ts +28 -0
- package/dist/common/components/BorderFullWidth.d.ts +2 -0
- package/dist/common/components/table/ExistingPatients.d.ts +17 -0
- package/dist/common/editRibbon/EditRibbon.d.ts +9 -0
- package/dist/common/utils/NetworkInstance.d.ts +4 -0
- package/dist/common/utils/common-utils.d.ts +36 -0
- package/dist/components/CustomDropdown.d.ts +1 -1
- package/dist/components/PatientAddEdit.d.ts +3 -0
- package/dist/constants/CommonConstant.d.ts +70 -0
- package/dist/dayjs.min-BbV4duaj.js +284 -0
- package/dist/dayjs.min-DXp74Ozx.cjs +1 -0
- package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
- package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
- package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
- package/dist/fonts/Arial-Bold.ttf +0 -0
- package/dist/fonts/Arial-Italic.ttf +0 -0
- package/dist/fonts/Arial.ttf +0 -0
- package/dist/fonts/IndianRupee.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
- package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
- package/dist/fonts/NotoSansArabic.ttf +0 -0
- package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
- package/dist/fonts/NotoSansHindi.ttf +0 -0
- package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
- package/dist/fonts/NotoSansKannada.ttf +0 -0
- package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
- package/dist/fonts/NotoSansOriya.ttf +0 -0
- package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
- package/dist/fonts/NotoSansTamil.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Times-Bold-Italic.ttf +0 -0
- package/dist/fonts/Times-Bold.ttf +0 -0
- package/dist/fonts/Times-Italic.ttf +0 -0
- package/dist/fonts/Times.ttf +0 -0
- package/dist/fonts/TiroBangla-Bold.ttf +0 -0
- package/dist/fonts/TiroBangla-Regular.ttf +0 -0
- package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
- package/dist/fonts/Verdana-Bold.ttf +0 -0
- package/dist/fonts/Verdana-Italic.ttf +0 -0
- package/dist/fonts/Verdana.ttf +0 -0
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index-DQlbIHh3.cjs +102 -0
- package/dist/index-DkA8S5IK.cjs +32 -0
- package/dist/index-sG1tIMJ6.js +7242 -0
- package/dist/index-vVtPa2-N.js +961 -0
- package/dist/index.js +2 -2
- package/dist/nineDots/NineDotsTypes.d.ts +22 -0
- package/dist/nineDots/NineDotsUtils.d.ts +3 -0
- package/dist/nineDots/nineDots.d.ts +3 -0
- package/dist/searchPatients/SearchPatients.d.ts +11 -0
- package/dist/types/APIEndPoints.d.ts +11 -0
- package/dist/types/ApiResponseTypes.d.ts +290 -0
- package/dist/types/CommonTypes.d.ts +255 -0
- package/dist/types/PatientAddEditTypes/index.js +1 -0
- package/dist/types/PatientAddEditTypes.d.ts +7 -0
- package/dist/types/PatientPopupTypes/index.js +1 -0
- package/dist/types/PatientPopupTypes.d.ts +836 -0
- package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
- package/dist/userProfile/UserProfile.d.ts +18 -0
- package/dist/userProfile/UserProfileItem.d.ts +7 -0
- package/dist/warning-BozzKWdr.js +38 -0
- package/dist/warning-W0tkkrLJ.cjs +1 -0
- package/package.json +31 -5
- package/dist/AllInvestigationsTable-C3aTtdGN.cjs +0 -79
- package/dist/PediatricsCalculatorTable-Be2H_OXh.js +0 -2156
- package/dist/PediatricsCalculatorTable-fk_QinWG.cjs +0 -40
- package/dist/index-4whwJbrk.js +0 -6867
- package/dist/index-C6KQLMQs.cjs +0 -92
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GlobalWindow, E_ENVIRONMENT } from '../../types/CommonTypes';
|
|
2
|
+
export declare const ActiveBranchsType = "user/branches";
|
|
3
|
+
export interface GET_ActiveBranches_RESPONSE {
|
|
4
|
+
switch_branches: Array<{
|
|
5
|
+
person_role_id: string;
|
|
6
|
+
org_branch_id: string;
|
|
7
|
+
role_name: string;
|
|
8
|
+
branch_name: string;
|
|
9
|
+
role_id: number;
|
|
10
|
+
}>;
|
|
11
|
+
error: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const getAllActiveDoctorBranches: (variable: {
|
|
14
|
+
env: E_ENVIRONMENT;
|
|
15
|
+
token: string;
|
|
16
|
+
enc_token?: string;
|
|
17
|
+
window_var: Partial<GlobalWindow>;
|
|
18
|
+
}) => Promise<GET_ActiveBranches_RESPONSE>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { E_ENVIRONMENT, GlobalWindow } from '../types/CommonTypes';
|
|
2
|
+
interface UserProfileProps {
|
|
3
|
+
showToast: (title: string, description: string, type: string, duration: number) => void;
|
|
4
|
+
showPrivateDbInSidebar: boolean;
|
|
5
|
+
syncAndLogOutHandler: (url: string) => void;
|
|
6
|
+
setPrivateDbModal: (str: string) => void;
|
|
7
|
+
handleSendOtp: () => void;
|
|
8
|
+
UserProfileDisabled?: boolean;
|
|
9
|
+
preloadPathModule?: (path: string) => void;
|
|
10
|
+
variable: {
|
|
11
|
+
env: E_ENVIRONMENT;
|
|
12
|
+
token: string;
|
|
13
|
+
enc_token?: string | undefined;
|
|
14
|
+
window_var: Partial<GlobalWindow>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const UserProfile: ({ showToast, showPrivateDbInSidebar, syncAndLogOutHandler, setPrivateDbModal, handleSendOtp, UserProfileDisabled, preloadPathModule, variable, }: UserProfileProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default UserProfile;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface UserProfileItemProps {
|
|
2
|
+
branch_name: string;
|
|
3
|
+
role_name: string;
|
|
4
|
+
org_branch_id: string;
|
|
5
|
+
}
|
|
6
|
+
declare const UserProfileItem: ({ branch_name, role_name, org_branch_id }: UserProfileItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default UserProfileItem;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var i, g;
|
|
2
|
+
function l() {
|
|
3
|
+
if (g) return i;
|
|
4
|
+
g = 1;
|
|
5
|
+
var c = process.env.NODE_ENV !== "production", t = function() {
|
|
6
|
+
};
|
|
7
|
+
if (c) {
|
|
8
|
+
var f = function(a, n) {
|
|
9
|
+
var e = arguments.length;
|
|
10
|
+
n = new Array(e > 1 ? e - 1 : 0);
|
|
11
|
+
for (var r = 1; r < e; r++)
|
|
12
|
+
n[r - 1] = arguments[r];
|
|
13
|
+
var s = 0, u = "Warning: " + a.replace(/%s/g, function() {
|
|
14
|
+
return n[s++];
|
|
15
|
+
});
|
|
16
|
+
typeof console < "u" && console.error(u);
|
|
17
|
+
try {
|
|
18
|
+
throw new Error(u);
|
|
19
|
+
} catch {
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
t = function(o, a, n) {
|
|
23
|
+
var e = arguments.length;
|
|
24
|
+
n = new Array(e > 2 ? e - 2 : 0);
|
|
25
|
+
for (var r = 2; r < e; r++)
|
|
26
|
+
n[r - 2] = arguments[r];
|
|
27
|
+
if (a === void 0)
|
|
28
|
+
throw new Error(
|
|
29
|
+
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
30
|
+
);
|
|
31
|
+
o || f.apply(null, [a].concat(n));
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return i = t, i;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
l as r
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var i,g;function v(){if(g)return i;g=1;var c=process.env.NODE_ENV!=="production",t=function(){};if(c){var f=function(a,n){var e=arguments.length;n=new Array(e>1?e-1:0);for(var r=1;r<e;r++)n[r-1]=arguments[r];var s=0,u="Warning: "+a.replace(/%s/g,function(){return n[s++]});typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}};t=function(o,a,n){var e=arguments.length;n=new Array(e>2?e-2:0);for(var r=2;r<e;r++)n[r-2]=arguments[r];if(a===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");o||f.apply(null,[a].concat(n))}}return i=t,i}exports.requireWarning=v;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hplx-feature-library",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.173",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "npm i hplx-react-elements-dev@qa && vite",
|
|
@@ -63,6 +63,26 @@
|
|
|
63
63
|
"import": "./dist/constants/AttachmentConstants/index.js",
|
|
64
64
|
"types": "./dist/constants/AttachmentConstants.d.ts"
|
|
65
65
|
},
|
|
66
|
+
"./PatientAddEdit": {
|
|
67
|
+
"import": "./dist/PatientAddEdit/index.js",
|
|
68
|
+
"types": "./dist/PatientAddEdit.d.ts"
|
|
69
|
+
},
|
|
70
|
+
"./Types/PatientAddEditTypes": {
|
|
71
|
+
"import": "./dist/types/PatientAddEditTypes/index.js",
|
|
72
|
+
"types": "./dist/types/PatientAddEditTypes.d.ts"
|
|
73
|
+
},
|
|
74
|
+
"./common/constants/CommonConstants": {
|
|
75
|
+
"import": "./dist/common/constants/CommonConstants/index.js",
|
|
76
|
+
"types": "./dist/common/constants/CommonConstants.d.ts"
|
|
77
|
+
},
|
|
78
|
+
"./PatientPopup": {
|
|
79
|
+
"import": "./dist/PatientPopup/index.js",
|
|
80
|
+
"types": "./dist/PatientPopup/index.d.ts"
|
|
81
|
+
},
|
|
82
|
+
"./print-pdf": {
|
|
83
|
+
"import": "./dist/print-pdf/index.js",
|
|
84
|
+
"types": "./dist/print-pdf/index.d.ts"
|
|
85
|
+
},
|
|
66
86
|
"./AllInvestigations": {
|
|
67
87
|
"import": "./dist/AllInvestigations/index.js",
|
|
68
88
|
"types": "./dist/AllInvestigations/index.d.ts"
|
|
@@ -73,22 +93,27 @@
|
|
|
73
93
|
}
|
|
74
94
|
},
|
|
75
95
|
"dependencies": {
|
|
96
|
+
"@react-pdf/renderer": "^4.3.1",
|
|
76
97
|
"date-fns": "^4.1.0",
|
|
77
|
-
"dayjs": "^1.11.
|
|
98
|
+
"dayjs": "^1.11.18",
|
|
99
|
+
"franc": "^6.2.0",
|
|
78
100
|
"hplx-font-icons": "^2.20.0",
|
|
79
101
|
"hplx-react-elements-dev": "^1.3.121",
|
|
102
|
+
"html2canvas": "^1.4.1",
|
|
80
103
|
"konva": "^9.3.22",
|
|
81
104
|
"lodash.debounce": "^4.0.8",
|
|
82
105
|
"nanoid": "^5.1.5",
|
|
83
|
-
"react": "^
|
|
84
|
-
"react-dom": "^18.3.1",
|
|
106
|
+
"react-device-detect": "^2.2.3",
|
|
85
107
|
"react-konva": "^18.2.12",
|
|
108
|
+
"react-router-dom": "^7.9.4",
|
|
109
|
+
"react-table": "^7.8.0",
|
|
86
110
|
"recharts": "^3.1.2",
|
|
87
111
|
"swr": "^2.3.4",
|
|
112
|
+
"to-words": "^4.7.0",
|
|
113
|
+
"yup": "^1.7.1",
|
|
88
114
|
"zustand": "^5.0.6"
|
|
89
115
|
},
|
|
90
116
|
"peerDependencies": {
|
|
91
|
-
"hplx-font-icons": "^2.20.0",
|
|
92
117
|
"react": "^18.3.1",
|
|
93
118
|
"react-dom": "^18.3.1",
|
|
94
119
|
"react-modal": "^3.16.3",
|
|
@@ -100,6 +125,7 @@
|
|
|
100
125
|
"@types/react": "^18.3.23",
|
|
101
126
|
"@types/react-dom": "^18.3.7",
|
|
102
127
|
"@types/react-modal": "^3.16.3",
|
|
128
|
+
"@types/react-table": "^7.7.20",
|
|
103
129
|
"@vitejs/plugin-react": "^4.5.2",
|
|
104
130
|
"autoprefixer": "^10.4.21",
|
|
105
131
|
"axios": "^1.11.0",
|