hplx-feature-library 1.0.99 → 1.0.101
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 +12192 -10805
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-BSfspmzA.cjs +40 -0
- package/dist/PediatricsCalculatorTable-CEIcs8fu.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-DDF4hEI5.js +6684 -0
- package/dist/useOutsideClick-t7zJNned.cjs +84 -0
- package/package.json +2 -31
- package/dist/AlertPopup/index.js +0 -5
- package/dist/AlertPopup-BNDuLUqA.js +0 -1069
- package/dist/AlertPopup-CyDKrt43.cjs +0 -32
- package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -11
- package/dist/AllInvestigations/index.d.ts +0 -1
- package/dist/AllInvestigations/index.js +0 -4
- package/dist/AllInvestigationsTable-C-tfS-lo.js +0 -91
- package/dist/AllInvestigationsTable-CpD4wv_W.cjs +0 -1
- package/dist/CustomDropdown/index.js +0 -256
- package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -6167
- package/dist/PediatricsCalculatorTable-CGrZz303.cjs +0 -1
- package/dist/PediatricsCalculatorTable-DelYgJEq.js +0 -832
- package/dist/ToggleButtons/index.js +0 -17
- 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/index-D-wXK-PO.cjs +0 -84
- package/dist/index-D6vi5Sgs.js +0 -6768
- 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 -30
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,30 +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_name: string;
|
|
21
|
-
test_unit: string;
|
|
22
|
-
[key: string]: string | boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface I_TestRanges {
|
|
25
|
-
test_id: string;
|
|
26
|
-
test_names: string;
|
|
27
|
-
test_units: string;
|
|
28
|
-
test_range_text: string;
|
|
29
|
-
test_range_rule: string;
|
|
30
|
-
}
|
|
@@ -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;
|
|
File without changes
|