hplx-feature-library 1.0.249 → 1.0.251
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/PatientPopup/index.js +1 -1
- package/dist/{PatientPopupContainer-GY1cLpXZ.js → PatientPopupContainer-BRMq_V37.js} +1 -1
- package/dist/{PatientPopupContainer-DDZPhTMg.cjs → PatientPopupContainer-Zfod2Twi.cjs} +1 -1
- package/dist/{PrintModal-Cum96NIX.cjs → PrintModal-7vXz3Ydh.cjs} +4 -4
- package/dist/{PrintModal-DgfHsX9T.js → PrintModal-D5fLJZS8.js} +14 -11
- package/dist/index.js +2 -2
- package/dist/print-pdf/index.js +1 -1
- package/package.json +1 -1
|
@@ -120359,17 +120359,19 @@ const PrintPediaChartsPdf = memo(
|
|
|
120359
120359
|
setPrintPageCount: w,
|
|
120360
120360
|
printEmailClick: x
|
|
120361
120361
|
}) => {
|
|
120362
|
-
const D =
|
|
120363
|
-
|
|
120364
|
-
|
|
120365
|
-
|
|
120366
|
-
|
|
120367
|
-
|
|
120368
|
-
|
|
120369
|
-
|
|
120370
|
-
|
|
120362
|
+
const D = (C, J) => {
|
|
120363
|
+
const B = document.createElement("a");
|
|
120364
|
+
B.href = URL.createObjectURL(C), B.download = J, document.body.appendChild(B), B.click(), document.body.removeChild(B), URL.revokeObjectURL(B.href), I();
|
|
120365
|
+
}, R = (C) => {
|
|
120366
|
+
if (C)
|
|
120367
|
+
if (X())
|
|
120368
|
+
W || M(C);
|
|
120369
|
+
else {
|
|
120370
|
+
const J = N?.patientDetails?.name || "patient", B = N?.labOrderData?.lab_id || Date.now(), H = `Lab-Report-${J.replace(/\s+/g, "_")}-${B}.pdf`;
|
|
120371
|
+
D(C, H);
|
|
120371
120372
|
}
|
|
120372
|
-
}
|
|
120373
|
+
};
|
|
120374
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: N && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "hfl-h-[85vh] hfl-w-[210mm] xxs:max-md:hfl-h-[70vh] xxs:max-sm:hfl-w-[150mm] md:hfl-w-[180mm]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
120373
120375
|
PDFViewer,
|
|
120374
120376
|
{
|
|
120375
120377
|
className: "hfl-h-[85vh] hfl-w-[210mm] xxs:max-md:hfl-h-[70vh] xxs:max-sm:hfl-w-[150mm] md:hfl-w-[180mm]",
|
|
@@ -120379,9 +120381,10 @@ const PrintPediaChartsPdf = memo(
|
|
|
120379
120381
|
PrintLabReport,
|
|
120380
120382
|
{
|
|
120381
120383
|
preferences: N?.preferences,
|
|
120384
|
+
branch_preference: N?.branch_preference,
|
|
120382
120385
|
labReportData: N?.labReportData,
|
|
120383
120386
|
labOrderData: N?.labOrderData,
|
|
120384
|
-
onRenderCallback:
|
|
120387
|
+
onRenderCallback: R,
|
|
120385
120388
|
setPrintPageCount: w,
|
|
120386
120389
|
printEmailClick: x
|
|
120387
120390
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { P as r } from "./PediatricsCalculatorTable-G0ttbDpi.js";
|
|
2
|
-
import { P as e } from "./PatientPopupContainer-
|
|
2
|
+
import { P as e } from "./PatientPopupContainer-BRMq_V37.js";
|
|
3
3
|
import { A as i } from "./Attachments-CARL1R9N.js";
|
|
4
4
|
import { P } from "./PatientAddEdit-C5MnysOS.js";
|
|
5
5
|
import { S as m } from "./SearchPatients-B91CFBhq.js";
|
|
6
6
|
import { N as n } from "./NineDots-B3ZRumoi.js";
|
|
7
7
|
import { U as d } from "./UserProfile-1Pll0yKL.js";
|
|
8
|
-
import { P as c } from "./PrintModal-
|
|
8
|
+
import { P as c } from "./PrintModal-D5fLJZS8.js";
|
|
9
9
|
import { A as u } from "./AllInvestigationsTable-Dg-YXASz.js";
|
|
10
10
|
export {
|
|
11
11
|
u as AllInvestigations,
|
package/dist/print-pdf/index.js
CHANGED