hplx-feature-library 1.0.224 → 1.0.225

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 (88) hide show
  1. package/dist/{APIAction-DLCcL2Li.js → APIAction-CTNOzVOC.js} +24 -23
  2. package/dist/APIAction-DB6Ulkss.cjs +1 -0
  3. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +19 -0
  4. package/dist/AllInvestigations/index.d.ts +1 -0
  5. package/dist/AllInvestigations/index.js +4 -0
  6. package/dist/AllInvestigations/utils/test-tange-util.d.ts +8 -0
  7. package/dist/AllInvestigationsTable-BDLPOHjr.cjs +79 -0
  8. package/dist/AllInvestigationsTable-Dg-YXASz.js +17065 -0
  9. package/dist/Attachments/index.js +1 -1
  10. package/dist/{Attachments-Bf4IIvHa.js → Attachments-4FIsCWlc.js} +6179 -6296
  11. package/dist/Attachments-Dr6yedl9.cjs +186 -0
  12. package/dist/NineDots/index.js +1 -1
  13. package/dist/{NineDots-q--wtv3_.cjs → NineDots-BEzE3Pj8.cjs} +1 -1
  14. package/dist/{NineDots-gflwjmeo.js → NineDots-CCtE2t9I.js} +1 -1
  15. package/dist/PatientAddEdit/index.js +1 -1
  16. package/dist/{PatientAddEdit-DRQcxWYN.js → PatientAddEdit-9W7ONHSd.js} +7 -6
  17. package/dist/PatientAddEdit-DmpV8z5a.cjs +7 -0
  18. package/dist/PatientPopup/index.js +1 -1
  19. package/dist/PatientPopupContainer-B9Ev8xjs.cjs +36 -0
  20. package/dist/{PatientPopupContainer-B283bpwr.js → PatientPopupContainer-DpCBNO2c.js} +8 -7
  21. package/dist/PediatricsCalculator/index.js +1 -1
  22. package/dist/PediatricsCalculatorTable-B4fTy1J5.cjs +9 -0
  23. package/dist/{PediatricsCalculatorTable-qu37FR7D.js → PediatricsCalculatorTable-G0ttbDpi.js} +228 -236
  24. package/dist/{PrintModal-Bum6_fNo.js → PrintModal-BF2-PDRX.js} +9 -20
  25. package/dist/{PrintModal-tamolKuC.cjs → PrintModal-mNA_qJpW.cjs} +11 -11
  26. package/dist/{ReusableModal-2GKjVVbf.cjs → ReusableModal-CIgDYOWZ.cjs} +1 -1
  27. package/dist/{ReusableModal-BL_DwV8I.js → ReusableModal-CT4_gW1b.js} +1 -1
  28. package/dist/ReusableTable/ReusableTable.d.ts +3 -0
  29. package/dist/ReusableTable/ReusableTableConstants.d.ts +8 -0
  30. package/dist/ReusableTable/ReusableTableTypes.d.ts +96 -0
  31. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +12 -0
  32. package/dist/ReusableTable/components/FilterCheckbox.d.ts +8 -0
  33. package/dist/ReusableTable/components/FilterDropdown.d.ts +17 -0
  34. package/dist/ReusableTable/components/Pagination.d.ts +2 -0
  35. package/dist/ReusableTable/components/TableBody.d.ts +2 -0
  36. package/dist/ReusableTable/components/TableCell.d.ts +3 -0
  37. package/dist/ReusableTable/components/TableFilterSelect.d.ts +12 -0
  38. package/dist/ReusableTable/components/TableHead.d.ts +2 -0
  39. package/dist/ReusableTable/components/TableMain.d.ts +2 -0
  40. package/dist/ReusableTable/components/TableRow.d.ts +3 -0
  41. package/dist/ReusableTable/context/TableContext.d.ts +21 -0
  42. package/dist/ReusableTable/context/TableContextBase.d.ts +26 -0
  43. package/dist/ReusableTable/context/useTableContext.d.ts +2 -0
  44. package/dist/SearchPatients/index.js +1 -1
  45. package/dist/{SearchPatients-DbYAGumB.cjs → SearchPatients-6D7IL_wj.cjs} +1 -1
  46. package/dist/{SearchPatients-BbtytMYS.js → SearchPatients-D7cCFV9o.js} +3 -3
  47. package/dist/TrendGraphs/AreaChartComponent.d.ts +9 -0
  48. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +16 -0
  49. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +2 -0
  50. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +2 -0
  51. package/dist/TrendGraphs/LineChartComponent/index.d.ts +2 -0
  52. package/dist/TrendGraphs/context/index.d.ts +2 -0
  53. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +2 -0
  54. package/dist/TrendGraphs/utils/index.d.ts +4 -0
  55. package/dist/UserProfile/index.js +1 -1
  56. package/dist/{UserProfile-D3Rhhuj9.cjs → UserProfile-4L3aOHNv.cjs} +4 -4
  57. package/dist/{UserProfile-jDWt9g20.js → UserProfile-D3cCwQxw.js} +9 -8
  58. package/dist/clsx-C11secjj.cjs +1 -0
  59. package/dist/clsx-OuTLNxxd.js +16 -0
  60. package/dist/common-utils-CprPMjtz.js +1952 -0
  61. package/dist/common-utils-DrDXKNhv.cjs +6 -0
  62. package/dist/components/Modal.d.ts +5 -0
  63. package/dist/constants/TrendGraphsConstants.d.ts +2 -0
  64. package/dist/dayjs.min-D52_GdfV.js +284 -0
  65. package/dist/dayjs.min-DXp74Ozx.cjs +1 -0
  66. package/dist/hplx-feature-library.css +1 -1
  67. package/dist/{index-UPYT3B9g.js → index-Bd0CDVpH.js} +3 -2
  68. package/dist/index-CJFGOBPb.js +122 -0
  69. package/dist/{index-CJ2AKRoq.cjs → index-DQlbIHh3.cjs} +26 -26
  70. package/dist/index-DfcUmlge.cjs +17 -0
  71. package/dist/{index-CRCsQdYf.cjs → index-DkA8S5IK.cjs} +1 -1
  72. package/dist/{index-BzwuwvT5.js → index-T1lUjzhG.js} +1 -1
  73. package/dist/index.d.ts +1 -0
  74. package/dist/index.js +15 -13
  75. package/dist/print-pdf/index.js +1 -1
  76. package/dist/types/AllInvestigationTypes/index.js +4 -0
  77. package/dist/types/AllInvestigationTypes.d.ts +45 -0
  78. package/dist/types/TrendGraphTypes.d.ts +19 -0
  79. package/dist/useClickOutside-BjJyGTec.js +14 -0
  80. package/dist/useClickOutside-DsVG12Cs.cjs +1 -0
  81. package/package.json +11 -1
  82. package/dist/APIAction-Bev2spv1.cjs +0 -1
  83. package/dist/Attachments-BIIHwdo1.cjs +0 -202
  84. package/dist/PatientAddEdit-DtcwFtoA.cjs +0 -7
  85. package/dist/PatientPopupContainer-CRyDfB0s.cjs +0 -36
  86. package/dist/PediatricsCalculatorTable-bTvt7SWQ.cjs +0 -9
  87. package/dist/common-utils-BNaPcohw.cjs +0 -6
  88. package/dist/common-utils-BidUvSFN.js +0 -2233
@@ -1,8 +1,9 @@
1
- import { j as i, b as Z, P as _, K as l, t as TA } from "./index-UPYT3B9g.js";
1
+ import { j as i, b as Z, P as _, K as l, t as TA } from "./index-Bd0CDVpH.js";
2
2
  import * as w from "react";
3
3
  import { useState as K, useEffect as r, useMemo as xA, useRef as PA } from "react";
4
- import { M as nA } from "./index-BzwuwvT5.js";
5
- import { h as LA, n as sA, c as NA, r as SA, R as lA, E as $ } from "./common-utils-BidUvSFN.js";
4
+ import { M as nA } from "./index-T1lUjzhG.js";
5
+ import { h as LA, m as sA, r as NA, R as SA, E as $ } from "./common-utils-CprPMjtz.js";
6
+ import { d as lA } from "./dayjs.min-D52_GdfV.js";
6
7
  const XA = "../modelChangePassword.php", uA = async (A, E) => {
7
8
  try {
8
9
  return (await LA(E.token, E.env).post(XA, A))?.data;
@@ -1492,7 +1493,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1492
1493
  ] }),
1493
1494
  /* @__PURE__ */ i.jsxs("span", { className: "hfl-text-[10px]", children: [
1494
1495
  "Ends at: ",
1495
- NA(window.ehr_subs_end_date).format("DD/MM/YY")
1496
+ lA(window.ehr_subs_end_date).format("DD/MM/YY")
1496
1497
  ] })
1497
1498
  ] }),
1498
1499
  []
@@ -1531,7 +1532,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1531
1532
  hierarchy: "Secondary",
1532
1533
  size: "md",
1533
1534
  className: "hfl-bg-White hfl-text-[12px] hfl-text-Black",
1534
- onClick: () => SA(G, "user_profile"),
1535
+ onClick: () => NA(G, "user_profile"),
1535
1536
  children: G
1536
1537
  }
1537
1538
  )
@@ -1544,7 +1545,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1544
1545
  const E = {
1545
1546
  org_branch_id: A.window_var.org_branch_id_for_seg,
1546
1547
  doctor_id: A.window_var.person_id_for_seg
1547
- }, I = await lA(A.token, A.env).post(GI, {
1548
+ }, I = await SA(A.token, A.env).post(GI, {
1548
1549
  ...E
1549
1550
  }), { data: g } = I || {}, { error: B } = g || {};
1550
1551
  if (B)
@@ -1553,7 +1554,7 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1553
1554
  } catch (E) {
1554
1555
  return console.log(E), Promise.reject(E);
1555
1556
  }
1556
- }, HI = ({
1557
+ }, JI = ({
1557
1558
  showToast: A,
1558
1559
  showPrivateDbInSidebar: E,
1559
1560
  syncAndLogOutHandler: I,
@@ -1756,5 +1757,5 @@ const MI = ({ branch_name: A, role_name: E, org_branch_id: I }) => /* @__PURE__
1756
1757
  ] });
1757
1758
  };
1758
1759
  export {
1759
- HI as U
1760
+ JI as U
1760
1761
  };
@@ -0,0 +1 @@
1
+ "use strict";function i(r){var f,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var s=r.length;for(f=0;f<s;f++)r[f]&&(n=i(r[f]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function o(){for(var r,f,n=0,t="",s=arguments.length;n<s;n++)(r=arguments[n])&&(f=i(r))&&(t&&(t+=" "),t+=f);return t}exports.clsx=o;
@@ -0,0 +1,16 @@
1
+ function a(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
+ } else for (n in r) r[n] && (t && (t += " "), t += n);
8
+ return t;
9
+ }
10
+ function i() {
11
+ for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
+ return t;
13
+ }
14
+ export {
15
+ i as c
16
+ };