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.
- package/dist/AlertPopup/index.js +77 -3
- package/dist/AllInvestigations/index.js +1 -1
- package/dist/AllInvestigationsTable-9CE_uDGv.cjs +80 -0
- package/dist/{AllInvestigationsTable-XjuW68nm.js → AllInvestigationsTable-HC9dOdiS.js} +28 -27
- package/dist/Attachments/index.js +1 -1
- package/dist/CustomDropdown/index.js +1 -1
- package/dist/DateTimePicker/DateAndTimePicker/index.js +17 -16
- package/dist/PatientAddEdit/index.js +5319 -0
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/{PediatricsCalculatorTable-DGWlajqt.js → PediatricsCalculatorTable-CB1YOoVy.js} +26 -25
- package/dist/PediatricsCalculatorTable-CPXBdrqk.cjs +1 -0
- package/dist/ToggleButtons/index.js +1 -1
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/dayjs.min-D8X6dnmr.cjs +1 -0
- package/dist/dayjs.min-SMxpcMQi.js +284 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/{AlertPopup-CSD_rZzv.js → index-BFfWEART.js} +302 -376
- package/dist/index-BVfQUI8j.cjs +98 -0
- package/dist/index-CHAEpyb1.cjs +32 -0
- package/dist/index-Cl3h7bnz.js +7118 -0
- package/dist/index.js +4 -4
- package/dist/types/PatientAddEditTypes/index.js +1 -0
- package/package.json +2 -6
- package/dist/AlertPopup-DdrHGPKR.cjs +0 -32
- package/dist/AllInvestigationsTable-pe1ZJejz.cjs +0 -80
- package/dist/PediatricsCalculatorTable-DSVe0_z0.cjs +0 -1
- package/dist/dayjs.min-DQn5T5hy.js +0 -298
- package/dist/dayjs.min-DvmTfmHo.cjs +0 -1
- package/dist/index-4whwJbrk.js +0 -6867
- package/dist/index-C6KQLMQs.cjs +0 -92
package/dist/AlertPopup/index.js
CHANGED
|
@@ -1,5 +1,79 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { j as e, b as o, K as r } from "../index-Cl3h7bnz.js";
|
|
2
|
+
import { M as p } from "../index-BFfWEART.js";
|
|
3
|
+
const y = (c) => {
|
|
4
|
+
const {
|
|
5
|
+
openState: t,
|
|
6
|
+
closePopupCallback: h,
|
|
7
|
+
headingIconFile: x,
|
|
8
|
+
headingText: d,
|
|
9
|
+
subHeadingText: a,
|
|
10
|
+
positiveButtonText: l,
|
|
11
|
+
negativeButtonText: n,
|
|
12
|
+
classNamePositiveBtn: i,
|
|
13
|
+
classNameNegativeBtn: s,
|
|
14
|
+
positiveActionCallback: f,
|
|
15
|
+
negativeActionCallback: m
|
|
16
|
+
} = c;
|
|
17
|
+
return /* @__PURE__ */ e.jsxs(
|
|
18
|
+
p,
|
|
19
|
+
{
|
|
20
|
+
isOpen: t,
|
|
21
|
+
onRequestClose: h,
|
|
22
|
+
shouldCloseOnOverlayClick: !1,
|
|
23
|
+
style: {
|
|
24
|
+
overlay: {
|
|
25
|
+
backgroundColor: "rgba(52, 64, 84, 0.5)",
|
|
26
|
+
position: "fixed",
|
|
27
|
+
alignContent: "center",
|
|
28
|
+
justifyContent: "center",
|
|
29
|
+
zIndex: 1030,
|
|
30
|
+
display: t ? "block" : "none"
|
|
31
|
+
},
|
|
32
|
+
content: {
|
|
33
|
+
zIndex: 1030,
|
|
34
|
+
padding: "24px",
|
|
35
|
+
maxWidth: "750px",
|
|
36
|
+
maxHeight: "600px",
|
|
37
|
+
width: "400px",
|
|
38
|
+
height: "fit-content",
|
|
39
|
+
margin: "auto",
|
|
40
|
+
borderRadius: "12px",
|
|
41
|
+
overflow: "unset",
|
|
42
|
+
display: t ? "block" : "none"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
x == "warning" && /* @__PURE__ */ e.jsx("div", { className: "hfl-hx_warning hfl-mb-4 hfl-flex hfl-h-12 hfl-w-12 hfl-items-center hfl-justify-center hfl-rounded-full hfl-border-8 hfl-border-Warning-50 hfl-bg-Warning-100 hfl-text-Warning-600", children: /* @__PURE__ */ e.jsx("i", { className: "hx_warning hfl-text-5" }) }),
|
|
47
|
+
/* @__PURE__ */ e.jsx(o, { variant: "Medium", type: "Text xl", className: "hfl-mt-5 hfl-text-Gray-900", children: d }),
|
|
48
|
+
a && /* @__PURE__ */ e.jsx(o, { variant: "Regular", type: "Text sm", className: "hfl-mt-1 hfl-text-Gray-500 ", children: a }),
|
|
49
|
+
/* @__PURE__ */ e.jsxs("div", { className: "hfl-mt-4 hfl-flex hfl-items-center hfl-justify-center hfl-gap-4", children: [
|
|
50
|
+
n && /* @__PURE__ */ e.jsx(
|
|
51
|
+
r,
|
|
52
|
+
{
|
|
53
|
+
size: "md",
|
|
54
|
+
textField: n,
|
|
55
|
+
hierarchy: "Primary",
|
|
56
|
+
className: s || "",
|
|
57
|
+
onClick: m,
|
|
58
|
+
"data-qa": "negative-action"
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
l && /* @__PURE__ */ e.jsx(
|
|
62
|
+
r,
|
|
63
|
+
{
|
|
64
|
+
size: "md",
|
|
65
|
+
textField: l,
|
|
66
|
+
hierarchy: "Secondary",
|
|
67
|
+
className: i || "",
|
|
68
|
+
onClick: f,
|
|
69
|
+
"data-qa": "positive-action"
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
] })
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
};
|
|
3
77
|
export {
|
|
4
|
-
|
|
78
|
+
y as default
|
|
5
79
|
};
|