hplx-feature-library 1.0.69 → 1.0.71

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/index.d.ts CHANGED
@@ -2,3 +2,5 @@ export { default as AlertPopup } from './components/AlertPopup';
2
2
  export { default as CustomDropdown } from './components/CustomDropdown';
3
3
  export { default as ToggleButtons } from './components/ToggleButtons';
4
4
  export { default as DateAndTimePicker } from './components/datepicker/DateAndTimePicker';
5
+ export { default as PediatricsCalculator } from './PediatricsCalculator';
6
+ export { default as AllInvestigations } from './AllInvestigations';
package/dist/index.js CHANGED
@@ -1,11 +1,12 @@
1
- import { u as Gn } from "./CustomDropdown-CiA1c9VP.js";
2
- import { A as Us, C as qs, T as zs } from "./CustomDropdown-CiA1c9VP.js";
3
- import { j as se, g as Xn, Y as Gt } from "./index-BCqhiZf4.js";
1
+ import { u as Gn } from "./PediatricsCalculatorTable-C3bes_CH.js";
2
+ import { A as Us, C as qs, P as zs, T as Gs } from "./PediatricsCalculatorTable-C3bes_CH.js";
3
+ import { j as se, a as Xn, Y as Gt } from "./index-BocogwgJ.js";
4
4
  import * as F from "react";
5
5
  import v, { useLayoutEffect as cn, cloneElement as un, createRef as Ie, Component as te, useRef as ct, useCallback as dn, useEffect as pn, createElement as Zn, useState as Sr, useMemo as Jn } from "react";
6
6
  import * as ea from "react-dom";
7
7
  import ta from "react-dom";
8
8
  import { t as L, c as J, m as fn, a as hn, n as Ue, d as ut, g as pr, b as ra, e as na, s as Nt, f as mn, h as aa, i as vn, j as gn, k as oa, l as Er, o as Ne, p as ia, q as or, r as fr, u as hr, v as sa, w as Pr } from "./parseISO-Cso9HWPX.js";
9
+ import { A as Zs } from "./AllInvestigationsTable-DA2nD9k6.js";
9
10
  function Dn(a) {
10
11
  var r, t, e = "";
11
12
  if (typeof a == "string" || typeof a == "number") e += a;
@@ -6159,7 +6160,9 @@ const Fs = /* @__PURE__ */ Xn(As), Vs = ({
6159
6160
  };
6160
6161
  export {
6161
6162
  Us as AlertPopup,
6163
+ Zs as AllInvestigations,
6162
6164
  qs as CustomDropdown,
6163
6165
  Vs as DateAndTimePicker,
6164
- zs as ToggleButtons
6166
+ zs as PediatricsCalculator,
6167
+ Gs as ToggleButtons
6165
6168
  };
@@ -0,0 +1,29 @@
1
+ export interface I_InvestigationsByDate {
2
+ test_date: string;
3
+ tests: Array<{
4
+ test_id: string;
5
+ test_value: string;
6
+ out_of_range: boolean;
7
+ created_on: string;
8
+ test_name: string;
9
+ test_unit: string;
10
+ isPrintable: boolean;
11
+ watermelon_id: string;
12
+ }>;
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
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.69",
4
+ "version": "1.0.71",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "npm i hplx-react-elements-dev@qa && vite",
@@ -62,6 +62,14 @@
62
62
  "./Constants/AttachmentConstants": {
63
63
  "import": "./dist/constants/AttachmentConstants/index.js",
64
64
  "types": "./dist/constants/AttachmentConstants.d.ts"
65
+ },
66
+ "./AllInvestigations": {
67
+ "import": "./dist/AllInvestigations/index.js",
68
+ "types": "./dist/AllInvestigations/index.d.ts"
69
+ },
70
+ "./Types/AllInvestigationTypes": {
71
+ "import": "./dist/types/AllInvestigationTypes/index.js",
72
+ "types": "./dist/types/AllInvestigationTypes.d.ts"
65
73
  }
66
74
  },
67
75
  "dependencies": {