hplx-feature-library 1.0.160 → 1.0.162

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 (31) hide show
  1. package/dist/AlertPopup/index.js +77 -3
  2. package/dist/AllInvestigations/index.js +1 -1
  3. package/dist/AllInvestigationsTable-9CE_uDGv.cjs +80 -0
  4. package/dist/{AllInvestigationsTable-XjuW68nm.js → AllInvestigationsTable-HC9dOdiS.js} +28 -27
  5. package/dist/Attachments/index.js +1 -1
  6. package/dist/CustomDropdown/index.js +1 -1
  7. package/dist/DateTimePicker/DateAndTimePicker/index.js +17 -16
  8. package/dist/PatientAddEdit/index.js +5319 -0
  9. package/dist/PediatricsCalculator/index.js +1 -1
  10. package/dist/{PediatricsCalculatorTable-DGWlajqt.js → PediatricsCalculatorTable-CB1YOoVy.js} +26 -25
  11. package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +1 -0
  12. package/dist/ToggleButtons/index.js +1 -1
  13. package/dist/clsx-C11secjj.cjs +1 -0
  14. package/dist/clsx-OuTLNxxd.js +16 -0
  15. package/dist/dayjs.min-D8X6dnmr.cjs +1 -0
  16. package/dist/dayjs.min-SMxpcMQi.js +284 -0
  17. package/dist/hplx-feature-library.css +1 -1
  18. package/dist/{AlertPopup-CSD_rZzv.js → index-BFfWEART.js} +302 -376
  19. package/dist/index-BVfQUI8j.cjs +98 -0
  20. package/dist/index-CHAEpyb1.cjs +32 -0
  21. package/dist/index-Cl3h7bnz.js +7118 -0
  22. package/dist/index.js +4 -4
  23. package/dist/types/PatientAddEditTypes/index.js +1 -0
  24. package/package.json +2 -6
  25. package/dist/AlertPopup-DdrHGPKR.cjs +0 -32
  26. package/dist/AllInvestigationsTable-pe1ZJejz.cjs +0 -80
  27. package/dist/PediatricsCalculatorTable-DSVe0_z0.cjs +0 -1
  28. package/dist/dayjs.min-DQn5T5hy.js +0 -298
  29. package/dist/dayjs.min-DvmTfmHo.cjs +0 -1
  30. package/dist/index-4whwJbrk.js +0 -6867
  31. package/dist/index-C6KQLMQs.cjs +0 -92
@@ -1,9 +1,10 @@
1
- import { j as S, K as Gn, b as Yn, O as X1, g as qt, d as R8 } from "./index-4whwJbrk.js";
1
+ import { j as S, K as Gn, b as Yn, O as X1, g as qt, h as R8 } from "./index-Cl3h7bnz.js";
2
2
  import { E_INVESTIGATIONS_SOURCE as B8 } from "./types/AllInvestigationTypes/index.js";
3
3
  import * as w from "react";
4
4
  import M2, { createContext as ht, useContext as yr, useMemo as dn, useState as ce, useRef as ne, useEffect as oe, useCallback as X, isValidElement as wt, Children as Un, forwardRef as pt, PureComponent as ka, cloneElement as Wt, createElement as Q1, useImperativeHandle as F8, Component as T2, useLayoutEffect as J1 } from "react";
5
5
  import { createPortal as ec } from "react-dom";
6
- import { c as Q, d as Vn } from "./dayjs.min-DQn5T5hy.js";
6
+ import { d as Vn } from "./dayjs.min-SMxpcMQi.js";
7
+ import { c as Q } from "./clsx-OuTLNxxd.js";
7
8
  import { r as tc } from "./index-CJFGOBPb.js";
8
9
  import { u as z8 } from "./useClickOutside-BjJyGTec.js";
9
10
  const rc = ht(void 0), hn = () => {
@@ -5183,8 +5184,8 @@ var x7 = (e) => e.brush.height, Ee = P([Mt, Tt, mf, x7, Za, Xa, Lc, T9], (e, t,
5183
5184
  }
5184
5185
  }
5185
5186
  }), {
5186
- setLegendSize: EO,
5187
- setLegendSettings: _O,
5187
+ setLegendSize: _O,
5188
+ setLegendSettings: MO,
5188
5189
  addLegendPayload: E7,
5189
5190
  removeLegendPayload: _7
5190
5191
  } = wf.actions, M7 = wf.reducer;
@@ -10527,9 +10528,9 @@ var p3 = (e, t) => {
10527
10528
  removeTooltipEntrySettings: Fm,
10528
10529
  setTooltipSettingsState: zm,
10529
10530
  setActiveMouseOverItemIndex: qm,
10530
- mouseLeaveItem: MO,
10531
+ mouseLeaveItem: TO,
10531
10532
  mouseLeaveChart: m3,
10532
- setActiveClickItemIndex: TO,
10533
+ setActiveClickItemIndex: jO,
10533
10534
  setMouseOverAxisIndex: y3,
10534
10535
  setMouseClickAxisIndex: Wm,
10535
10536
  setSyncInteraction: ba,
@@ -11128,7 +11129,7 @@ var eg = {
11128
11129
  }), {
11129
11130
  setChartData: i1,
11130
11131
  setDataStartEndIndexes: tg,
11131
- setComputedData: jO
11132
+ setComputedData: kO
11132
11133
  } = L3.actions, rg = L3.reducer, R3 = () => {
11133
11134
  };
11134
11135
  function ng() {
@@ -12611,10 +12612,10 @@ var es = (e) => {
12611
12612
  }
12612
12613
  }
12613
12614
  }), {
12614
- addRadiusAxis: kO,
12615
- removeRadiusAxis: DO,
12616
- addAngleAxis: NO,
12617
- removeAngleAxis: IO
12615
+ addRadiusAxis: DO,
12616
+ removeRadiusAxis: NO,
12617
+ addAngleAxis: IO,
12618
+ removeAngleAxis: $O
12618
12619
  } = V3.actions, Ob = V3.reducer;
12619
12620
  function H3(e) {
12620
12621
  var {
@@ -12694,8 +12695,8 @@ var _b = /* @__PURE__ */ ht(void 0), Z3 = (e) => {
12694
12695
  addCartesianGraphicalItem: Tb,
12695
12696
  replaceCartesianGraphicalItem: jb,
12696
12697
  removeCartesianGraphicalItem: kb,
12697
- addPolarGraphicalItem: $O,
12698
- removePolarGraphicalItem: LO
12698
+ addPolarGraphicalItem: LO,
12699
+ removePolarGraphicalItem: RO
12699
12700
  } = X3.actions, Db = X3.reducer;
12700
12701
  function Q3(e) {
12701
12702
  var t = De(), r = ne(null);
@@ -12868,8 +12869,8 @@ var Wb = {}, e8 = Ze({
12868
12869
  }
12869
12870
  }
12870
12871
  }), {
12871
- addErrorBar: RO,
12872
- removeErrorBar: BO
12872
+ addErrorBar: BO,
12873
+ removeErrorBar: FO
12873
12874
  } = e8.actions, Kb = e8.reducer, Ub = ["children"];
12874
12875
  function Vb(e, t) {
12875
12876
  if (e == null) return {};
@@ -12971,7 +12972,7 @@ var Xb = (e) => {
12971
12972
  }
12972
12973
  }
12973
12974
  }), {
12974
- setBrushSettings: FO
12975
+ setBrushSettings: zO
12975
12976
  } = r8.actions, Qb = r8.reducer;
12976
12977
  function Jb(e, t, r) {
12977
12978
  return (t = eC(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
@@ -13086,12 +13087,12 @@ var nC = function(t) {
13086
13087
  }
13087
13088
  }
13088
13089
  }), {
13089
- addDot: zO,
13090
- removeDot: qO,
13091
- addArea: WO,
13092
- removeArea: KO,
13093
- addLine: UO,
13094
- removeLine: VO
13090
+ addDot: qO,
13091
+ removeDot: WO,
13092
+ addArea: KO,
13093
+ removeArea: UO,
13094
+ addLine: VO,
13095
+ removeLine: HO
13095
13096
  } = n8.actions, aC = n8.reducer, oC = /* @__PURE__ */ ht(void 0), sC = (e) => {
13096
13097
  var {
13097
13098
  children: t
@@ -15276,8 +15277,8 @@ var Lw = {
15276
15277
  removeXAxis: Bw,
15277
15278
  addYAxis: Fw,
15278
15279
  removeYAxis: zw,
15279
- addZAxis: HO,
15280
- removeZAxis: GO,
15280
+ addZAxis: GO,
15281
+ removeZAxis: YO,
15281
15282
  updateYAxisWidth: qw
15282
15283
  } = x8.actions, Ww = x8.reducer, Kw = ["children"], Uw = ["dangerouslySetInnerHTML", "ticks"];
15283
15284
  function O8(e, t, r) {
@@ -15900,7 +15901,7 @@ var G1 = {
15900
15901
  updatePolarOptions: (e, t) => t.payload
15901
15902
  }
15902
15903
  }), {
15903
- updatePolarOptions: YO
15904
+ updatePolarOptions: ZO
15904
15905
  } = T8.actions, Tx = T8.reducer, j8 = rt("keyDown"), k8 = rt("focus"), cs = mn();
15905
15906
  cs.startListening({
15906
15907
  actionCreator: j8,
@@ -16661,7 +16662,7 @@ const yO = [
16661
16662
  return Number(e.min) > Number(e.max) && (e.max = 1 / 0), Number(e.min) === 0 && Number(e.max) === 0 ? !1 : (Number(t) >= Number(e.min) && Number(t) <= Number(e.max) || (r = !0), r);
16662
16663
  }
16663
16664
  return !1;
16664
- }, ZO = ({
16665
+ }, XO = ({
16665
16666
  patientAge: e,
16666
16667
  patientGender: t,
16667
16668
  data: r = [],
@@ -16959,5 +16960,5 @@ const yO = [
16959
16960
  );
16960
16961
  };
16961
16962
  export {
16962
- ZO as A
16963
+ XO as A
16963
16964
  };
@@ -1,4 +1,4 @@
1
- import { j as Q, b as Bt, K as Tl, O as s2, c as o2, g as Yy, P as r6, E as a6 } from "../index-4whwJbrk.js";
1
+ import { j as Q, b as Bt, K as Tl, O as s2, c as o2, g as Yy, P as r6, E as a6 } from "../index-Cl3h7bnz.js";
2
2
  import * as ca from "react";
3
3
  import dn, { createContext as d1, useContext as h1, memo as Zs, useMemo as fa, useCallback as Jt, useState as at, useRef as Gt, useEffect as rn, useLayoutEffect as i6, useDebugValue as l6 } from "react";
4
4
  import { E_DOCUMENT_VIEW_TYPE as Qs, E_DOCUMENT_FORMAT as yr, E_ATTACHMENT_QUERY_TYPE as Js, E_CANVAS_TOOLS as gr, E_DOCUMENT_TYPE as If } from "../types/AttachmentTypes/index.js";
@@ -1,4 +1,4 @@
1
- import { j as l, b as ye, N as Ce, O as $e } from "../index-4whwJbrk.js";
1
+ import { j as l, b as ye, N as Ce, O as $e } from "../index-Cl3h7bnz.js";
2
2
  import { useState as S, useRef as v, useMemo as je, useCallback as I, useEffect as J } from "react";
3
3
  import { u as Ne } from "../useClickOutside-BjJyGTec.js";
4
4
  import { u as ke } from "../useOutsideClick-C4Q0aGuf.js";
@@ -1,10 +1,11 @@
1
- import { j as ee, K as Ft } from "../../index-4whwJbrk.js";
1
+ import { j as ee, K as Ft } from "../../index-Cl3h7bnz.js";
2
2
  import * as O from "react";
3
3
  import v, { useLayoutEffect as zr, cloneElement as Gr, createRef as Oe, Component as Z, useRef as Ze, useCallback as Xr, useEffect as Zr, createElement as Ln, useState as hr, useMemo as An } from "react";
4
- import { c as X, d as Fn } from "../../dayjs.min-DQn5T5hy.js";
5
- import * as Hn from "react-dom";
6
- import Wn from "react-dom";
7
- import { t as S, c as z, m as Jr, a as en, n as We, d as Je, g as er, b as Bn, e as Qn, s as wt, f as tn, h as Kn, i as rn, j as nn, k as Vn, l as mr, o as Se, p as jn, q as qt, r as tr, u as rr, v as Un, w as vr } from "../../parseISO-Cso9HWPX.js";
4
+ import { c as X } from "../../clsx-OuTLNxxd.js";
5
+ import * as Fn from "react-dom";
6
+ import Hn from "react-dom";
7
+ import { t as S, c as z, m as Jr, a as en, n as We, d as Je, g as er, b as Wn, e as Bn, s as wt, f as tn, h as Qn, i as rn, j as nn, k as Kn, l as mr, o as Se, p as Vn, q as qt, r as tr, u as rr, v as jn, w as vr } from "../../parseISO-Cso9HWPX.js";
8
+ import { d as Un } from "../../dayjs.min-SMxpcMQi.js";
8
9
  import { u as qn } from "../../useClickOutside-BjJyGTec.js";
9
10
  function de(a, r, t) {
10
11
  const e = S(a, t?.in);
@@ -324,7 +325,7 @@ function ve(a, r) {
324
325
  };
325
326
  const e = t[1] === "+" ? 1 : -1, n = t[2] ? parseInt(t[2], 10) : 0, o = t[3] ? parseInt(t[3], 10) : 0, s = t[5] ? parseInt(t[5], 10) : 0;
326
327
  return {
327
- value: e * (n * Jr + o * en + s * Bn),
328
+ value: e * (n * Jr + o * en + s * Wn),
328
329
  rest: r.slice(t[0].length)
329
330
  };
330
331
  }
@@ -453,7 +454,7 @@ class ua extends F {
453
454
  return t.isTwoDigitYear || t.year > 0;
454
455
  }
455
456
  set(r, t, e, n) {
456
- const o = Qn(r, n);
457
+ const o = Bn(r, n);
457
458
  if (e.isTwoDigitYear) {
458
459
  const i = pn(
459
460
  e.year,
@@ -780,7 +781,7 @@ class va extends F {
780
781
  ];
781
782
  }
782
783
  function ga(a, r, t) {
783
- const e = S(a, t?.in), n = Kn(e, t) - r;
784
+ const e = S(a, t?.in), n = Qn(e, t) - r;
784
785
  return e.setDate(e.getDate() - n * 7), S(e, t?.in);
785
786
  }
786
787
  class Da extends F {
@@ -1588,7 +1589,7 @@ const Va = {
1588
1589
  T: new Ka()
1589
1590
  }, ja = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ua = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, qa = /^'([^]*?)'?$/, $a = /''/g, za = /\S/, Ga = /[a-zA-Z]/;
1590
1591
  function Xa(a, r, t, e) {
1591
- const n = () => z(e?.in || t, NaN), o = ea(), s = e?.locale ?? o.locale ?? Vn, i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, l = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0;
1592
+ const n = () => z(e?.in || t, NaN), o = ea(), s = e?.locale ?? o.locale ?? Kn, i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, l = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0;
1592
1593
  if (!r)
1593
1594
  return a ? n() : S(t, e?.in);
1594
1595
  const u = {
@@ -2767,7 +2768,7 @@ function ss(a) {
2767
2768
  // setting it to `true` when `open === false` (must be specified).
2768
2769
  isPositioned: A.current !== !1
2769
2770
  };
2770
- Q.current && !Pt(C.current, ce) && (C.current = ce, Hn.flushSync(() => {
2771
+ Q.current && !Pt(C.current, ce) && (C.current = ce, Fn.flushSync(() => {
2771
2772
  d(ce);
2772
2773
  }));
2773
2774
  });
@@ -3158,7 +3159,7 @@ var ot = 12;
3158
3159
  function H(a) {
3159
3160
  if (a == null)
3160
3161
  return /* @__PURE__ */ new Date();
3161
- var r = typeof a == "string" ? jn(a) : S(a);
3162
+ var r = typeof a == "string" ? Vn(a) : S(a);
3162
3163
  return At(r) ? r : /* @__PURE__ */ new Date();
3163
3164
  }
3164
3165
  function Bt(a, r, t, e, n) {
@@ -3263,7 +3264,7 @@ function Ot(a, r) {
3263
3264
  return a && r ? eo(a, r) : !a && !r;
3264
3265
  }
3265
3266
  function Y(a, r) {
3266
- return a && r ? Un(a, r) : !a && !r;
3267
+ return a && r ? jn(a, r) : !a && !r;
3267
3268
  }
3268
3269
  function Ye(a, r) {
3269
3270
  return a && r ? ra(a, r) : !a && !r;
@@ -5261,7 +5262,7 @@ var ii = (
5261
5262
  }, r.prototype.componentWillUnmount = function() {
5262
5263
  this.portalRoot && this.portalRoot.removeChild(this.el);
5263
5264
  }, r.prototype.render = function() {
5264
- return Wn.createPortal(this.props.children, this.el);
5265
+ return Hn.createPortal(this.props.children, this.el);
5265
5266
  }, r;
5266
5267
  }(Z)
5267
5268
  ), fi = "[tabindex], a, button, input, select, textarea", hi = function(a) {
@@ -5780,7 +5781,7 @@ var jt = "Date input not valid.", wi = (
5780
5781
  }, r;
5781
5782
  }(Z)
5782
5783
  ), yi = "input", Ut = "navigate";
5783
- const Si = ({
5784
+ const Ei = ({
5784
5785
  inputDate: a,
5785
5786
  placeholderCTA: r = "",
5786
5787
  placeholderCTAStyles: t = "",
@@ -5819,7 +5820,7 @@ const Si = ({
5819
5820
  }, [w, d, P]);
5820
5821
  const M = () => {
5821
5822
  w || D(a), b((x) => !x);
5822
- }, C = An(() => a ? Fn(a).format(c) : "", [a, c]);
5823
+ }, C = An(() => a ? Un(a).format(c) : "", [a, c]);
5823
5824
  return qn(_, () => {
5824
5825
  w && b(!1);
5825
5826
  }), /* @__PURE__ */ ee.jsxs(
@@ -5903,5 +5904,5 @@ const Si = ({
5903
5904
  );
5904
5905
  };
5905
5906
  export {
5906
- Si as default
5907
+ Ei as default
5907
5908
  };