hplx-feature-library 1.0.255 → 1.0.256
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/Attachments/components/NonImageDocumentRenderer.d.ts +6 -0
- package/dist/Attachments/components/document-preview/preview-side-pane.d.ts +1 -1
- package/dist/Attachments/index.js +1 -1
- package/dist/Attachments/utils/index.d.ts +1 -0
- package/dist/Attachments-BwdW3Ovy.cjs +186 -0
- package/dist/Attachments-C9oYXmHZ.js +25245 -0
- package/dist/PatientPopup/index.js +1 -1
- package/dist/{PatientPopupContainer-Zfod2Twi.cjs → PatientPopupContainer-CKnwC0q8.cjs} +7 -7
- package/dist/{PatientPopupContainer-BRMq_V37.js → PatientPopupContainer-CYR3CP_O.js} +937 -915
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/Attachments/components/AttachmentPreviewPopup.d.ts +0 -2
- package/dist/Attachments-C1CUHFeh.js +0 -25225
- package/dist/Attachments-CsKJRPmo.cjs +0 -186
- package/dist/ReusableModal-CIgDYOWZ.cjs +0 -1
- package/dist/ReusableModal-CT4_gW1b.js +0 -29
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./index-DQlbIHh3.cjs"),c=require("react"),h=({childModalRef:e,children:u,hideBackDrop:f=!1,backdropClasses:o="",modalClasses:i="",closeOnClickOutside:t,clickOutsideHandler:r,position:l="hfl-inset-0"})=>(c.useEffect(()=>{if(!t)return;const s=a=>{e.current&&!e.current.contains(a.target)&&r()};return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[r,e,t]),n.jsxRuntimeExports.jsx("div",{className:`hfl-fixed ${l} hfl-z-50 hfl-flex hfl-items-center hfl-justify-center ${o} ${f?"":"hfl-bg-Gray-750 hfl-backdrop-blur-sm"}`,children:n.jsxRuntimeExports.jsx("div",{ref:e,className:`hfl-rounded-lg hfl-shadow-md hfl-bg-White ${i??""}`,children:u})}));exports.ReusableModal=h;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { j as n } from "./index-Bd0CDVpH.js";
|
|
2
|
-
import { useEffect as l } from "react";
|
|
3
|
-
const c = ({
|
|
4
|
-
childModalRef: e,
|
|
5
|
-
children: f,
|
|
6
|
-
hideBackDrop: o = !1,
|
|
7
|
-
backdropClasses: m = "",
|
|
8
|
-
modalClasses: u = "",
|
|
9
|
-
closeOnClickOutside: r,
|
|
10
|
-
clickOutsideHandler: t,
|
|
11
|
-
position: a = "hfl-inset-0"
|
|
12
|
-
}) => (l(() => {
|
|
13
|
-
if (!r) return;
|
|
14
|
-
const s = (h) => {
|
|
15
|
-
e.current && !e.current.contains(h.target) && t();
|
|
16
|
-
};
|
|
17
|
-
return document.addEventListener("mousedown", s), () => {
|
|
18
|
-
document.removeEventListener("mousedown", s);
|
|
19
|
-
};
|
|
20
|
-
}, [t, e, r]), /* @__PURE__ */ n.jsx(
|
|
21
|
-
"div",
|
|
22
|
-
{
|
|
23
|
-
className: `hfl-fixed ${a} hfl-z-50 hfl-flex hfl-items-center hfl-justify-center ${m} ${o ? "" : "hfl-bg-Gray-750 hfl-backdrop-blur-sm"}`,
|
|
24
|
-
children: /* @__PURE__ */ n.jsx("div", { ref: e, className: `hfl-rounded-lg hfl-shadow-md hfl-bg-White ${u ?? ""}`, children: f })
|
|
25
|
-
}
|
|
26
|
-
));
|
|
27
|
-
export {
|
|
28
|
-
c as R
|
|
29
|
-
};
|