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.
- package/dist/Attachments/index.js +12657 -11153
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-BglWcUGO.cjs +40 -0
- package/dist/PediatricsCalculatorTable-Dwluo5W0.js +2163 -0
- package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +1 -1
- package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +2 -12
- package/dist/useOutsideClick-COATBT9j.cjs +92 -0
- package/dist/useOutsideClick-CYAjbj1N.js +6878 -0
- package/package.json +3 -41
- package/dist/AlertPopup/index.js +0 -79
- package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
- package/dist/AllInvestigations/index.d.ts +0 -1
- package/dist/AllInvestigations/index.js +0 -4
- package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
- package/dist/AllInvestigationsTable-9CE_uDGv.cjs +0 -80
- package/dist/AllInvestigationsTable-HC9dOdiS.js +0 -16964
- package/dist/CustomDropdown/index.js +0 -256
- package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5908
- package/dist/PatientAddEdit/index.js +0 -5319
- package/dist/PediatricsCalculatorTable-CB1YOoVy.js +0 -833
- package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +0 -1
- package/dist/ReusableTable/ReusableTable.d.ts +0 -3
- package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
- package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
- package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
- package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
- package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
- package/dist/ReusableTable/components/Pagination.d.ts +0 -2
- package/dist/ReusableTable/components/TableBody.d.ts +0 -2
- package/dist/ReusableTable/components/TableCell.d.ts +0 -3
- package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
- package/dist/ReusableTable/components/TableHead.d.ts +0 -2
- package/dist/ReusableTable/components/TableMain.d.ts +0 -2
- package/dist/ReusableTable/components/TableRow.d.ts +0 -3
- package/dist/ReusableTable/context/TableContext.d.ts +0 -21
- package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
- package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
- package/dist/ToggleButtons/index.js +0 -17
- package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
- package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
- package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
- package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
- package/dist/TrendGraphs/context/index.d.ts +0 -2
- package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
- package/dist/TrendGraphs/utils/index.d.ts +0 -4
- package/dist/clsx-C11secjj.cjs +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/common/APIAction/APIAction.d.ts +0 -55
- package/dist/common/components/BorderFullWidth.d.ts +0 -2
- package/dist/common/components/table/ExistingPatients.d.ts +0 -17
- package/dist/common/editRibbon/EditRibbon.d.ts +0 -9
- package/dist/common/utils/NetworkInstance.d.ts +0 -4
- package/dist/common/utils/common-utils.d.ts +0 -38
- package/dist/components/Modal.d.ts +0 -5
- package/dist/components/PatientAddEdit.d.ts +0 -3
- package/dist/components/alertPopup/index.d.ts +0 -1
- package/dist/components/customDropdown/index.d.ts +0 -1
- package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
- package/dist/components/dateTimePicker/index.d.ts +0 -1
- package/dist/components/toggleButtons/index.d.ts +0 -1
- package/dist/constants/CommonConstant.d.ts +0 -58
- package/dist/constants/TrendGraphsConstants.d.ts +0 -2
- package/dist/dayjs.min-D8X6dnmr.cjs +0 -1
- package/dist/dayjs.min-SMxpcMQi.js +0 -284
- package/dist/index-BFfWEART.js +0 -995
- package/dist/index-BVfQUI8j.cjs +0 -98
- package/dist/index-CHAEpyb1.cjs +0 -32
- package/dist/index-CJFGOBPb.js +0 -122
- package/dist/index-Cl3h7bnz.js +0 -7118
- package/dist/index-DfcUmlge.cjs +0 -17
- package/dist/parseISO-AwyR5Nhg.cjs +0 -1
- package/dist/parseISO-Cso9HWPX.js +0 -1414
- package/dist/types/APIEndPoints.d.ts +0 -11
- package/dist/types/AllInvestigationTypes/index.js +0 -4
- package/dist/types/AllInvestigationTypes.d.ts +0 -45
- package/dist/types/ApiResponseTypes.d.ts +0 -249
- package/dist/types/CommonTypes.d.ts +0 -228
- package/dist/types/PatientAddEditTypes/index.js +0 -1
- package/dist/types/PatientAddEditTypes.d.ts +0 -13
- package/dist/types/TrendGraphTypes.d.ts +0 -19
- package/dist/useClickOutside-BjJyGTec.js +0 -14
- package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
- package/dist/useOutsideClick-C4Q0aGuf.js +0 -15
- package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
- /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
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.164",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "npm i hplx-react-elements-dev@qa && vite",
|
|
@@ -39,25 +39,6 @@
|
|
|
39
39
|
"types": "dist/index.d.ts",
|
|
40
40
|
"exports": {
|
|
41
41
|
"./style.css": "./dist/hplx-feature-library.css",
|
|
42
|
-
"./AlertPopup": {
|
|
43
|
-
"import": "./dist/components/AlertPopup.js",
|
|
44
|
-
"types": "./dist/components/AlertPopup.d.ts"
|
|
45
|
-
},
|
|
46
|
-
"./CustomDropdown": {
|
|
47
|
-
"import": "./dist/components/CustomDropdown.js",
|
|
48
|
-
"types": "./dist/components/CustomDropdown.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./ToggleButtons": {
|
|
51
|
-
"import": "./dist/components/toggleButtons/index.js",
|
|
52
|
-
"types": "./dist/components/toggleButtons/index.d.ts"
|
|
53
|
-
},
|
|
54
|
-
"./DateTimePicker/DateAndTimePicker.css": {
|
|
55
|
-
"import": "./dist/DateAndTimePicker.css"
|
|
56
|
-
},
|
|
57
|
-
"./DateTimePicker/DateAndTimePicker": {
|
|
58
|
-
"import": "./dist/DateTimePicker/DateAndTimePicker/index.js",
|
|
59
|
-
"types": "./dist/components/dateTimePicker/DateAndTimePicker.d.ts"
|
|
60
|
-
},
|
|
61
42
|
"./PediatricsCalculator": {
|
|
62
43
|
"import": "./dist/PediatricsCalculator/index.js",
|
|
63
44
|
"types": "./dist/PediatricsCalculator/index.d.ts"
|
|
@@ -81,37 +62,19 @@
|
|
|
81
62
|
"./Constants/AttachmentConstants": {
|
|
82
63
|
"import": "./dist/constants/AttachmentConstants/index.js",
|
|
83
64
|
"types": "./dist/constants/AttachmentConstants.d.ts"
|
|
84
|
-
},
|
|
85
|
-
"./AllInvestigations": {
|
|
86
|
-
"import": "./dist/AllInvestigations/index.js",
|
|
87
|
-
"types": "./dist/AllInvestigations/index.d.ts"
|
|
88
|
-
},
|
|
89
|
-
"./Types/AllInvestigationTypes": {
|
|
90
|
-
"import": "./dist/types/AllInvestigationTypes/index.js",
|
|
91
|
-
"types": "./dist/types/AllInvestigationTypes.d.ts"
|
|
92
|
-
},
|
|
93
|
-
"./PatientAddEdit": {
|
|
94
|
-
"import": "./dist/PatientAddEdit/index.js",
|
|
95
|
-
"types": "./dist/PatientAddEdit.d.ts"
|
|
96
|
-
},
|
|
97
|
-
"./Types/PatientAddEditTypes": {
|
|
98
|
-
"import": "./dist/types/PatientAddEditTypes/index.js",
|
|
99
|
-
"types": "./dist/types/PatientAddEditTypes.d.ts"
|
|
100
65
|
}
|
|
101
66
|
},
|
|
102
67
|
"dependencies": {
|
|
103
68
|
"date-fns": "^4.1.0",
|
|
104
|
-
"dayjs": "^1.11.18",
|
|
105
69
|
"hplx-font-icons": "^2.20.0",
|
|
106
70
|
"hplx-react-elements-dev": "^1.3.121",
|
|
107
71
|
"konva": "^9.3.22",
|
|
108
72
|
"lodash.debounce": "^4.0.8",
|
|
109
73
|
"nanoid": "^5.1.5",
|
|
110
|
-
"react
|
|
74
|
+
"react": "^18.3.1",
|
|
75
|
+
"react-dom": "^18.3.1",
|
|
111
76
|
"react-konva": "^18.2.12",
|
|
112
|
-
"recharts": "^3.1.2",
|
|
113
77
|
"swr": "^2.3.4",
|
|
114
|
-
"yup": "^1.7.1",
|
|
115
78
|
"zustand": "^5.0.6"
|
|
116
79
|
},
|
|
117
80
|
"peerDependencies": {
|
|
@@ -141,7 +104,6 @@
|
|
|
141
104
|
"husky": "^9.1.7",
|
|
142
105
|
"jsdom": "^26.1.0",
|
|
143
106
|
"lint-staged": "^16.1.2",
|
|
144
|
-
"node": "^24.6.0",
|
|
145
107
|
"postcss": "^8.5.6",
|
|
146
108
|
"prettier": "^3.6.2",
|
|
147
109
|
"tailwindcss": "^3.4.17",
|
package/dist/AlertPopup/index.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { j as e, b as o, K as r } from "../index-Cl3h7bnz.js";
|
|
2
|
-
import { M as p } from "../index-BFfWEART.js";
|
|
3
|
-
const y = (c) => {
|
|
4
|
-
const {
|
|
5
|
-
openState: t,
|
|
6
|
-
closePopupCallback: h,
|
|
7
|
-
headingIconFile: x,
|
|
8
|
-
headingText: d,
|
|
9
|
-
subHeadingText: a,
|
|
10
|
-
positiveButtonText: l,
|
|
11
|
-
negativeButtonText: n,
|
|
12
|
-
classNamePositiveBtn: i,
|
|
13
|
-
classNameNegativeBtn: s,
|
|
14
|
-
positiveActionCallback: f,
|
|
15
|
-
negativeActionCallback: m
|
|
16
|
-
} = c;
|
|
17
|
-
return /* @__PURE__ */ e.jsxs(
|
|
18
|
-
p,
|
|
19
|
-
{
|
|
20
|
-
isOpen: t,
|
|
21
|
-
onRequestClose: h,
|
|
22
|
-
shouldCloseOnOverlayClick: !1,
|
|
23
|
-
style: {
|
|
24
|
-
overlay: {
|
|
25
|
-
backgroundColor: "rgba(52, 64, 84, 0.5)",
|
|
26
|
-
position: "fixed",
|
|
27
|
-
alignContent: "center",
|
|
28
|
-
justifyContent: "center",
|
|
29
|
-
zIndex: 1030,
|
|
30
|
-
display: t ? "block" : "none"
|
|
31
|
-
},
|
|
32
|
-
content: {
|
|
33
|
-
zIndex: 1030,
|
|
34
|
-
padding: "24px",
|
|
35
|
-
maxWidth: "750px",
|
|
36
|
-
maxHeight: "600px",
|
|
37
|
-
width: "400px",
|
|
38
|
-
height: "fit-content",
|
|
39
|
-
margin: "auto",
|
|
40
|
-
borderRadius: "12px",
|
|
41
|
-
overflow: "unset",
|
|
42
|
-
display: t ? "block" : "none"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
children: [
|
|
46
|
-
x == "warning" && /* @__PURE__ */ e.jsx("div", { className: "hfl-hx_warning hfl-mb-4 hfl-flex hfl-h-12 hfl-w-12 hfl-items-center hfl-justify-center hfl-rounded-full hfl-border-8 hfl-border-Warning-50 hfl-bg-Warning-100 hfl-text-Warning-600", children: /* @__PURE__ */ e.jsx("i", { className: "hx_warning hfl-text-5" }) }),
|
|
47
|
-
/* @__PURE__ */ e.jsx(o, { variant: "Medium", type: "Text xl", className: "hfl-mt-5 hfl-text-Gray-900", children: d }),
|
|
48
|
-
a && /* @__PURE__ */ e.jsx(o, { variant: "Regular", type: "Text sm", className: "hfl-mt-1 hfl-text-Gray-500 ", children: a }),
|
|
49
|
-
/* @__PURE__ */ e.jsxs("div", { className: "hfl-mt-4 hfl-flex hfl-items-center hfl-justify-center hfl-gap-4", children: [
|
|
50
|
-
n && /* @__PURE__ */ e.jsx(
|
|
51
|
-
r,
|
|
52
|
-
{
|
|
53
|
-
size: "md",
|
|
54
|
-
textField: n,
|
|
55
|
-
hierarchy: "Primary",
|
|
56
|
-
className: s || "",
|
|
57
|
-
onClick: m,
|
|
58
|
-
"data-qa": "negative-action"
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
l && /* @__PURE__ */ e.jsx(
|
|
62
|
-
r,
|
|
63
|
-
{
|
|
64
|
-
size: "md",
|
|
65
|
-
textField: l,
|
|
66
|
-
hierarchy: "Secondary",
|
|
67
|
-
className: i || "",
|
|
68
|
-
onClick: f,
|
|
69
|
-
"data-qa": "positive-action"
|
|
70
|
-
}
|
|
71
|
-
)
|
|
72
|
-
] })
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
y as default
|
|
79
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { I_InvestigationTestWithPrint, I_TestRanges } from '../../types/AllInvestigationTypes';
|
|
2
|
-
interface InvestigationsTableProps {
|
|
3
|
-
patientAge: number;
|
|
4
|
-
patientGender: string;
|
|
5
|
-
data: I_InvestigationTestWithPrint[];
|
|
6
|
-
testDetails: I_TestRanges[];
|
|
7
|
-
enableCheckboxesToSelect: boolean;
|
|
8
|
-
tableHeaderRowClasses?: string;
|
|
9
|
-
investigationCheckBoxMap: Map<string, boolean>;
|
|
10
|
-
onColumnCheckboxClickHandler: (key: string, isClicked: boolean) => void;
|
|
11
|
-
onRowCheckboxClickHandler: (testId: string) => void;
|
|
12
|
-
onRefresh: () => void;
|
|
13
|
-
scrollOverflowXToEnd?: boolean;
|
|
14
|
-
displayOutOfRangeStyles: boolean;
|
|
15
|
-
enableDateColsEditing?: boolean;
|
|
16
|
-
onInvValueCellSave?: (updatedData: I_InvestigationTestWithPrint) => Promise<boolean>;
|
|
17
|
-
}
|
|
18
|
-
declare const AllInvestigationsTable: ({ patientAge, patientGender, data, testDetails, enableCheckboxesToSelect, tableHeaderRowClasses, investigationCheckBoxMap, onColumnCheckboxClickHandler, onRowCheckboxClickHandler, onRefresh, scrollOverflowXToEnd, displayOutOfRangeStyles, enableDateColsEditing, onInvValueCellSave, }: InvestigationsTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export default AllInvestigationsTable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './components/AllInvestigationsTable';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const getRangeForTest: (age: number, gender: string, test_id: string, value: string, rulesWDB?: string) => {
|
|
2
|
-
isOutOfRange: boolean;
|
|
3
|
-
rule: any;
|
|
4
|
-
};
|
|
5
|
-
export declare const CheckValidation: (rule: {
|
|
6
|
-
min: any;
|
|
7
|
-
max: any;
|
|
8
|
-
}, value: string | any[]) => boolean;
|