hplx-feature-library 1.0.77 → 1.0.78
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/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-BdKWLu4T.js +11456 -0
- package/dist/PediatricsCalculatorTable-DjyuRV6p.cjs +124 -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/package.json +6 -59
- package/dist/AlertPopup/index.js +0 -5
- package/dist/AlertPopup-D5OvNU2M.cjs +0 -32
- package/dist/AlertPopup-tF3Y6sIE.js +0 -1069
- package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -7
- package/dist/AllInvestigations/index.d.ts +0 -1
- package/dist/AllInvestigations/index.js +0 -4
- package/dist/AllInvestigationsTable-CsDFyLz2.js +0 -76
- package/dist/AllInvestigationsTable-eBDW6Goo.cjs +0 -1
- package/dist/Attachments/Attachments.d.ts +0 -25
- package/dist/Attachments/components/AttachmentPreviewPopup.d.ts +0 -2
- package/dist/Attachments/components/ImagePreview.d.ts +0 -4
- package/dist/Attachments/components/VideoPreview.d.ts +0 -4
- package/dist/Attachments/components/attachments-header.d.ts +0 -11
- package/dist/Attachments/components/compare-mode-bar.d.ts +0 -3
- package/dist/Attachments/components/document-canvas/KonvaDrawingCanvas.d.ts +0 -7
- package/dist/Attachments/components/document-canvas/document-color-options.d.ts +0 -2
- package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +0 -2
- package/dist/Attachments/components/document-canvas/document-tool-shape.d.ts +0 -2
- package/dist/Attachments/components/document-canvas/index.d.ts +0 -7
- package/dist/Attachments/components/document-compare/document-compare-header.d.ts +0 -7
- package/dist/Attachments/components/document-compare/document-compare-images.d.ts +0 -5
- package/dist/Attachments/components/document-compare/index.d.ts +0 -2
- package/dist/Attachments/components/document-container.d.ts +0 -10
- package/dist/Attachments/components/document-image-view.d.ts +0 -7
- package/dist/Attachments/components/document-preview/document-image-pane.d.ts +0 -8
- package/dist/Attachments/components/document-preview/index.d.ts +0 -2
- package/dist/Attachments/components/document-preview/preview-side-pane.d.ts +0 -10
- package/dist/Attachments/components/document-view/document-view-grid.d.ts +0 -10
- package/dist/Attachments/components/document-view/documet-view-date.d.ts +0 -10
- package/dist/Attachments/components/drag-drop-container.d.ts +0 -9
- package/dist/Attachments/components/drag-drop-overlay.d.ts +0 -6
- package/dist/Attachments/components/edit-document-modal.d.ts +0 -9
- package/dist/Attachments/components/more-dropdown.d.ts +0 -10
- package/dist/Attachments/constants/index.d.ts +0 -15
- package/dist/Attachments/context/index.d.ts +0 -3
- package/dist/Attachments/hooks/useAttachmentContext.d.ts +0 -2
- package/dist/Attachments/hooks/useCompareContext.d.ts +0 -2
- package/dist/Attachments/hooks/useDragAndDrop.d.ts +0 -16
- package/dist/Attachments/hooks/useDropdownPosition.d.ts +0 -15
- package/dist/Attachments/index.d.ts +0 -1
- package/dist/Attachments/index.js +0 -23572
- package/dist/Attachments/store/document-store.d.ts +0 -19
- package/dist/Attachments/store/pen-tools.store.d.ts +0 -14
- package/dist/Attachments/utils/fileValidation.d.ts +0 -15
- package/dist/Attachments/utils/index.d.ts +0 -4
- package/dist/CameraCapture/index.d.ts +0 -7
- package/dist/CameraCapture/utils/index.d.ts +0 -2
- package/dist/CustomDropdown/index.js +0 -265
- package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -6167
- package/dist/PediatricsCalculatorTable-B6OkRbld.js +0 -832
- package/dist/PediatricsCalculatorTable-DoXAWcvL.cjs +0 -1
- package/dist/ToggleButtons/index.js +0 -17
- package/dist/common/components/CustomLoader/index.d.ts +0 -2
- package/dist/common/components/HxSvgIcons/index.d.ts +0 -9
- package/dist/common/components/ReusableModal/ReusableModal.d.ts +0 -13
- package/dist/common/hooks/useInfiniteScroll.d.ts +0 -7
- 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/AttachmentConstants/index.js +0 -35
- package/dist/index-6-2iV0ns.js +0 -6768
- package/dist/index-BojgO48C.cjs +0 -84
- package/dist/parseISO-AwyR5Nhg.cjs +0 -1
- package/dist/parseISO-Cso9HWPX.js +0 -1414
- package/dist/types/AllInvestigationTypes/index.js +0 -1
- package/dist/types/AllInvestigationTypes.d.ts +0 -29
- package/dist/types/AttachmentTypes/index.js +0 -9
- package/dist/types/AttachmentsTypes.d.ts +0 -119
- package/dist/useClickOutside-BjJyGTec.js +0 -14
- package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
- /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface I_InvestigationTest {
|
|
2
|
-
test_id: string;
|
|
3
|
-
test_value: string;
|
|
4
|
-
out_of_range: boolean;
|
|
5
|
-
watermelon_id: string;
|
|
6
|
-
created_on: string;
|
|
7
|
-
test_name: string;
|
|
8
|
-
test_unit: string;
|
|
9
|
-
}
|
|
10
|
-
export interface I_InvestigationTestWithPrint extends I_InvestigationTest {
|
|
11
|
-
isPrintable: boolean;
|
|
12
|
-
test_date: string;
|
|
13
|
-
}
|
|
14
|
-
export interface I_AllInvestigations {
|
|
15
|
-
created_on: string;
|
|
16
|
-
out_of_range: boolean;
|
|
17
|
-
test_date: string;
|
|
18
|
-
test_id: string;
|
|
19
|
-
test_value: string;
|
|
20
|
-
test_unit: string;
|
|
21
|
-
[key: string]: string | boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface I_TestRanges {
|
|
24
|
-
test_id: string;
|
|
25
|
-
test_names: string;
|
|
26
|
-
test_units: string;
|
|
27
|
-
test_range_text: string;
|
|
28
|
-
test_range_rule: string;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var I = /* @__PURE__ */ ((r) => (r.GRID_VIEW = "VIEW_BY_GRID", r.DATE_VIEW = "VIEW_BY_DATE", r))(I || {}), R = /* @__PURE__ */ ((r) => (r.LAB_TESTS = "LAB_TESTS", r.ECG = "ECG", r.MRI = "MRI", r.XRAY = "XRAY", r.ABHA = "ABHA", r.OTHERS = "OTHER_REPORTS", r.REPORT_TYPE_UNSPECIFIED = "REPORT_TYPE_UNSPECIFIED", r))(R || {}), e = /* @__PURE__ */ ((r) => (r.PDF = "pdf", r.JPEG = "jpeg", r.PNG = "image/png", r.MP4 = "mp4", r))(e || {}), n = /* @__PURE__ */ ((r) => (r.IPD = "IPD", r.OPD = "OPD", r))(n || {}), t = /* @__PURE__ */ ((r) => (r.VIEW_DATE = "VIEW_BY_DATE", r.VIEW_GRID = "VIEW_BY_GRID", r))(t || {}), B = /* @__PURE__ */ ((r) => (r.PEN = "pen", r.RECT = "rect", r.CIRCLE = "circle", r))(B || {});
|
|
2
|
-
export {
|
|
3
|
-
n as E_ATTACHMENTS_SOURCE,
|
|
4
|
-
t as E_ATTACHMENT_QUERY_TYPE,
|
|
5
|
-
B as E_CANVAS_TOOLS,
|
|
6
|
-
e as E_DOCUMENT_FORMAT,
|
|
7
|
-
R as E_DOCUMENT_TYPE,
|
|
8
|
-
I as E_DOCUMENT_VIEW_TYPE
|
|
9
|
-
};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { TDateState } from '../Attachments/Attachments';
|
|
2
|
-
export declare enum E_DOCUMENT_VIEW_TYPE {
|
|
3
|
-
GRID_VIEW = "VIEW_BY_GRID",
|
|
4
|
-
DATE_VIEW = "VIEW_BY_DATE"
|
|
5
|
-
}
|
|
6
|
-
export declare enum E_DOCUMENT_TYPE {
|
|
7
|
-
LAB_TESTS = "LAB_TESTS",
|
|
8
|
-
ECG = "ECG",
|
|
9
|
-
MRI = "MRI",
|
|
10
|
-
XRAY = "XRAY",
|
|
11
|
-
ABHA = "ABHA",
|
|
12
|
-
OTHERS = "OTHER_REPORTS",
|
|
13
|
-
REPORT_TYPE_UNSPECIFIED = "REPORT_TYPE_UNSPECIFIED"
|
|
14
|
-
}
|
|
15
|
-
export declare enum E_DOCUMENT_FORMAT {
|
|
16
|
-
PDF = "pdf",
|
|
17
|
-
JPEG = "jpeg",
|
|
18
|
-
PNG = "image/png",
|
|
19
|
-
MP4 = "mp4"
|
|
20
|
-
}
|
|
21
|
-
export declare enum E_ATTACHMENTS_SOURCE {
|
|
22
|
-
IPD = "IPD",
|
|
23
|
-
OPD = "OPD"
|
|
24
|
-
}
|
|
25
|
-
export interface I_DOCUMENT {
|
|
26
|
-
filePath: string;
|
|
27
|
-
label: string;
|
|
28
|
-
createdAt: string;
|
|
29
|
-
reportType: E_DOCUMENT_TYPE;
|
|
30
|
-
id: string;
|
|
31
|
-
mimeType: E_DOCUMENT_FORMAT;
|
|
32
|
-
thumbnail?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface I_DOCUMENT_GROUP {
|
|
35
|
-
id: string;
|
|
36
|
-
createdAt: string;
|
|
37
|
-
label: string;
|
|
38
|
-
documents: I_DOCUMENT[];
|
|
39
|
-
}
|
|
40
|
-
export type IDOCUMENT_DataItem = I_DOCUMENT_GROUP | I_DOCUMENT;
|
|
41
|
-
export interface I_DOCUMENTS_BASE_RESPONSE<T> {
|
|
42
|
-
data: T;
|
|
43
|
-
status: boolean;
|
|
44
|
-
message: string;
|
|
45
|
-
}
|
|
46
|
-
export interface I_DOCUMENTS_DELETE_RESPONSE {
|
|
47
|
-
status: boolean;
|
|
48
|
-
message: string;
|
|
49
|
-
}
|
|
50
|
-
export interface I_FETCH_DOCUMENTS_RESPONSE extends I_DOCUMENTS_BASE_RESPONSE<IDOCUMENT_DataItem[]> {
|
|
51
|
-
next_date?: string;
|
|
52
|
-
}
|
|
53
|
-
export interface I_ATTACHMENTS_CONTEXT {
|
|
54
|
-
search: string;
|
|
55
|
-
setSearch: React.Dispatch<React.SetStateAction<string>>;
|
|
56
|
-
types: E_DOCUMENT_TYPE[];
|
|
57
|
-
setTypes: React.Dispatch<React.SetStateAction<E_DOCUMENT_TYPE[]>>;
|
|
58
|
-
dates: TDateState;
|
|
59
|
-
setDates: React.Dispatch<React.SetStateAction<TDateState>>;
|
|
60
|
-
page: number;
|
|
61
|
-
setPage: React.Dispatch<React.SetStateAction<number>>;
|
|
62
|
-
hasData: boolean;
|
|
63
|
-
queryType: E_ATTACHMENT_QUERY_TYPE;
|
|
64
|
-
setQueryType: React.Dispatch<React.SetStateAction<E_ATTACHMENT_QUERY_TYPE>>;
|
|
65
|
-
showPreview: boolean;
|
|
66
|
-
setShowPreview: React.Dispatch<React.SetStateAction<boolean>>;
|
|
67
|
-
compareMode: boolean;
|
|
68
|
-
setCompareMode: React.Dispatch<React.SetStateAction<boolean>>;
|
|
69
|
-
parentRef: React.RefObject<HTMLDivElement>;
|
|
70
|
-
setHasData: React.Dispatch<React.SetStateAction<boolean>>;
|
|
71
|
-
onDeleteAttachments: (id: string, isGroup: boolean) => Promise<I_DOCUMENTS_DELETE_RESPONSE>;
|
|
72
|
-
onSaveComparision: (id: string, label: string, documents: string[]) => Promise<I_DOCUMENTS_BASE_RESPONSE<I_DOCUMENT_GROUP>>;
|
|
73
|
-
}
|
|
74
|
-
export interface IGroupedDocuments {
|
|
75
|
-
dateLabel: string;
|
|
76
|
-
documents: IDOCUMENT_DataItem[];
|
|
77
|
-
}
|
|
78
|
-
export declare enum E_ATTACHMENT_QUERY_TYPE {
|
|
79
|
-
VIEW_DATE = "VIEW_BY_DATE",
|
|
80
|
-
VIEW_GRID = "VIEW_BY_GRID"
|
|
81
|
-
}
|
|
82
|
-
export interface I_UPLOAD_FILES_RESPONSE {
|
|
83
|
-
data?: I_DOCUMENT;
|
|
84
|
-
success: boolean;
|
|
85
|
-
message: string;
|
|
86
|
-
}
|
|
87
|
-
export interface I_UPLOAD_FILES_REQUEST {
|
|
88
|
-
files: File[];
|
|
89
|
-
documentType?: E_DOCUMENT_TYPE;
|
|
90
|
-
}
|
|
91
|
-
export interface I_DOCUMENT_COMPARE_CONTEXT {
|
|
92
|
-
groupDocuments: I_DOCUMENT[];
|
|
93
|
-
setGroupDocuments: React.Dispatch<React.SetStateAction<I_DOCUMENT[]>>;
|
|
94
|
-
groupId?: string;
|
|
95
|
-
setGroupId: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
96
|
-
}
|
|
97
|
-
export declare enum E_CANVAS_TOOLS {
|
|
98
|
-
PEN = "pen",
|
|
99
|
-
RECT = "rect",
|
|
100
|
-
CIRCLE = "circle"
|
|
101
|
-
}
|
|
102
|
-
export interface I_UPDATE_DOCUMENT_REQUEST {
|
|
103
|
-
id: string;
|
|
104
|
-
label?: string;
|
|
105
|
-
type?: E_DOCUMENT_TYPE;
|
|
106
|
-
created_at?: string;
|
|
107
|
-
}
|
|
108
|
-
export interface I_UPDATE_DOCUMENT_RESPONSE {
|
|
109
|
-
data?: I_DOCUMENT;
|
|
110
|
-
success: boolean;
|
|
111
|
-
message: string;
|
|
112
|
-
}
|
|
113
|
-
export interface I_DELETE_FILE_RESPONSE {
|
|
114
|
-
success: boolean;
|
|
115
|
-
message: string;
|
|
116
|
-
}
|
|
117
|
-
export interface I_DELETE_FILE_REQUEST {
|
|
118
|
-
id: string;
|
|
119
|
-
}
|
|
@@ -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;
|
|
File without changes
|