hplx-feature-library 1.0.281 → 1.0.282

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.
@@ -121166,7 +121166,7 @@ const PrintModal = ({
121166
121166
  useEffect(() => {
121167
121167
  if (dt && Y.whichPreview === "downloadPreview") {
121168
121168
  const Dl = document.createElement("a");
121169
- Dl.href = URL.createObjectURL(dt), Dl.download = `LAB REPORT - ${O?.patientDetails?.name || ""}`, document.body.appendChild(Dl), Dl.click(), document.body.removeChild(Dl), URL.revokeObjectURL(Dl.href);
121169
+ Dl.href = URL.createObjectURL(dt), Dl.download = `LAB REPORT - ${O?.patientDetails?.name || ""}`, document.body.appendChild(Dl), Dl.click(), document.body.removeChild(Dl), URL.revokeObjectURL(Dl.href), Y?.onCloseModal?.();
121170
121170
  }
121171
121171
  }, [dt, Y.whichPreview]), useEffect(() => {
121172
121172
  Y.printType === "visit" && ze(x?.selectedLanguage ?? "");
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { P as r } from "./PediatricsCalculatorTable-awqyE356.js";
2
- import { P as e } from "./PatientPopupContainer-D6LdFjie.js";
2
+ import { P as e } from "./PatientPopupContainer-BNlUmoDV.js";
3
3
  import { A as i } from "./Attachments-DJGZozIu.js";
4
4
  import { P } from "./PatientAddEdit-COJYbMRa.js";
5
5
  import { S as m } from "./SearchPatients-BRaHYplQ.js";
6
6
  import { N as n } from "./NineDots-CDJrCwoA.js";
7
7
  import { U as d } from "./UserProfile-DwQiAi_t.js";
8
- import { P as c } from "./PrintModal-C0KzFNq4.js";
8
+ import { P as c } from "./PrintModal-B_QgYjPr.js";
9
9
  import { A as u } from "./AllInvestigationsTable-2K35PFTn.js";
10
10
  export {
11
11
  u as AllInvestigations,
@@ -1,4 +1,4 @@
1
- import { P as f } from "../PrintModal-C0KzFNq4.js";
1
+ import { P as f } from "../PrintModal-B_QgYjPr.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.281",
4
+ "version": "1.0.282",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "npm i hplx-react-elements-dev@qa && vite",