hplx-feature-library 1.0.142 → 1.0.144

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.
Files changed (71) hide show
  1. package/dist/Attachments/index.js +12657 -11153
  2. package/dist/PediatricsCalculator/index.js +1 -1
  3. package/dist/PediatricsCalculatorTable-69FLIWBN.js +2163 -0
  4. package/dist/PediatricsCalculatorTable-tPFxz3NE.cjs +40 -0
  5. package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +1 -1
  6. package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
  7. package/dist/hplx-feature-library.css +1 -1
  8. package/dist/index.d.ts +0 -5
  9. package/dist/index.js +2 -12
  10. package/dist/{index-C5JVupKG.js → useOutsideClick-CaFo7m8E.js} +766 -755
  11. package/dist/{index-C3v1d6Xc.cjs → useOutsideClick-DZMg69d8.cjs} +23 -23
  12. package/package.json +1 -33
  13. package/dist/AlertPopup/index.js +0 -5
  14. package/dist/AlertPopup-CPKIp-41.cjs +0 -32
  15. package/dist/AlertPopup-CrMI2BnN.js +0 -1069
  16. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
  17. package/dist/AllInvestigations/index.d.ts +0 -1
  18. package/dist/AllInvestigations/index.js +0 -4
  19. package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
  20. package/dist/AllInvestigationsTable-7v_TPWGY.cjs +0 -80
  21. package/dist/AllInvestigationsTable-Czmj0INe.js +0 -16957
  22. package/dist/CustomDropdown/index.js +0 -256
  23. package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5907
  24. package/dist/PediatricsCalculatorTable-CnrU0s8_.cjs +0 -1
  25. package/dist/PediatricsCalculatorTable-DEwcZURh.js +0 -832
  26. package/dist/ReusableTable/ReusableTable.d.ts +0 -3
  27. package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
  28. package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -95
  29. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
  30. package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
  31. package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
  32. package/dist/ReusableTable/components/Pagination.d.ts +0 -2
  33. package/dist/ReusableTable/components/TableBody.d.ts +0 -2
  34. package/dist/ReusableTable/components/TableCell.d.ts +0 -3
  35. package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
  36. package/dist/ReusableTable/components/TableHead.d.ts +0 -2
  37. package/dist/ReusableTable/components/TableMain.d.ts +0 -2
  38. package/dist/ReusableTable/components/TableRow.d.ts +0 -3
  39. package/dist/ReusableTable/context/TableContext.d.ts +0 -21
  40. package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
  41. package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
  42. package/dist/ToggleButtons/index.js +0 -17
  43. package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
  44. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
  45. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
  46. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
  47. package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
  48. package/dist/TrendGraphs/context/index.d.ts +0 -2
  49. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
  50. package/dist/TrendGraphs/utils/index.d.ts +0 -4
  51. package/dist/components/Modal.d.ts +0 -5
  52. package/dist/components/alertPopup/index.d.ts +0 -1
  53. package/dist/components/customDropdown/index.d.ts +0 -1
  54. package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
  55. package/dist/components/dateTimePicker/index.d.ts +0 -1
  56. package/dist/components/toggleButtons/index.d.ts +0 -1
  57. package/dist/constants/TrendGraphsConstants.d.ts +0 -2
  58. package/dist/dayjs.min-BZVOTRKJ.cjs +0 -1
  59. package/dist/dayjs.min-qi3CdtFF.js +0 -298
  60. package/dist/index-CJFGOBPb.js +0 -122
  61. package/dist/index-DfcUmlge.cjs +0 -17
  62. package/dist/parseISO-AwyR5Nhg.cjs +0 -1
  63. package/dist/parseISO-Cso9HWPX.js +0 -1414
  64. package/dist/types/AllInvestigationTypes/index.js +0 -4
  65. package/dist/types/AllInvestigationTypes.d.ts +0 -41
  66. package/dist/types/TrendGraphTypes.d.ts +0 -19
  67. package/dist/useClickOutside-BjJyGTec.js +0 -14
  68. package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
  69. package/dist/useOutsideClick-C4Q0aGuf.js +0 -15
  70. package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
  71. /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
@@ -1,4 +0,0 @@
1
- var I = /* @__PURE__ */ ((A) => (A.CLINICAL_NOTES = "CLINICAL_NOTES", A.DISCHARGE_SUMMARY = "DISCHARGE_SUMMARY", A.INVESTIGATIONS = "INVESTIGATIONS", A))(I || {});
2
- export {
3
- I as E_INVESTIGATIONS_SOURCE
4
- };
@@ -1,41 +0,0 @@
1
- export declare enum E_INVESTIGATIONS_SOURCE {
2
- CLINICAL_NOTES = "CLINICAL_NOTES",
3
- DISCHARGE_SUMMARY = "DISCHARGE_SUMMARY",
4
- INVESTIGATIONS = "INVESTIGATIONS"
5
- }
6
- export interface I_InvestigationTest {
7
- test_id: string;
8
- test_value: string;
9
- out_of_range: boolean;
10
- watermelon_id?: string;
11
- created_on: string;
12
- test_name?: string;
13
- test_unit?: string;
14
- source_id: number;
15
- source_type: E_INVESTIGATIONS_SOURCE;
16
- }
17
- export interface I_InvestigationTestWithPrint extends I_InvestigationTest {
18
- isPrintable?: boolean;
19
- test_date: string;
20
- }
21
- export interface I_AllInvestigations {
22
- isPrintable: boolean;
23
- test_id: string;
24
- test_name: string;
25
- test_unit: string;
26
- [key: string]: string | boolean | I_AllInvestigationsDateDetail;
27
- }
28
- export interface I_AllInvestigationsDateDetail {
29
- test_value: string;
30
- out_of_range: boolean;
31
- created_on: string;
32
- source_id: number;
33
- source_type: E_INVESTIGATIONS_SOURCE;
34
- }
35
- export interface I_TestRanges {
36
- test_id: string;
37
- test_names: string;
38
- test_units: string;
39
- test_range_text: string;
40
- test_range_rule: string;
41
- }
@@ -1,19 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- export interface TrendGraphDataPoint {
3
- date: string;
4
- value: number;
5
- }
6
- export interface TrendGraphData {
7
- unit: string;
8
- data: TrendGraphDataPoint[];
9
- testName: string;
10
- color: AreaGraphColor;
11
- }
12
- export interface AreaGraphColor {
13
- lineColor: string;
14
- areaColor: string;
15
- }
16
- export interface TrendGraphContextType {
17
- data: TrendGraphData;
18
- setShowLineChart: Dispatch<SetStateAction<boolean>>;
19
- }
@@ -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;