hplx-feature-library 1.0.167 → 1.0.169
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/APIAction--DyoXs57.js +3752 -0
- package/dist/APIAction-B5XQnkiF.cjs +9 -0
- package/dist/AlertPopup/index.js +77 -3
- package/dist/AllInvestigations/index.js +1 -1
- package/dist/{AllInvestigationsTable-D2-HK9-M.js → AllInvestigationsTable-Dj3AKVVv.js} +31 -29
- package/dist/AllInvestigationsTable-aw_zEJj_.cjs +79 -0
- package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
- package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
- package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
- package/dist/Attachments/components/uploading-toast.d.ts +1 -1
- package/dist/Attachments/context/index.d.ts +2 -2
- package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
- package/dist/Attachments/index.js +1562 -1584
- package/dist/CameraCapture/index.d.ts +1 -1
- package/dist/CustomDropdown/index.js +1 -1
- package/dist/DateTimePicker/DateAndTimePicker/index.js +17 -16
- package/dist/PatientAddEdit/index.js +1662 -0
- package/dist/PatientPopup/action/APIAction.d.ts +65 -0
- package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
- package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
- package/dist/PatientPopup/common/common.d.ts +14 -0
- package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
- package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
- package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
- package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
- package/dist/PatientPopup/components/Pagination.d.ts +9 -0
- package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
- package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
- package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
- package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
- package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
- package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
- package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
- package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
- package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
- package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
- package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
- package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
- package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
- package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
- package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
- package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
- package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
- package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
- package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
- package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
- package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
- package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
- package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
- package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
- package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
- package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
- package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
- package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
- package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
- package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
- package/dist/PatientPopup/index.d.ts +1 -0
- package/dist/PatientPopup/index.js +135376 -0
- package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
- package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
- package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
- package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
- package/dist/PediatricsCalculator/index.js +1 -1
- package/dist/PediatricsCalculatorTable-CTA61g3h.cjs +1 -0
- package/dist/{PediatricsCalculatorTable-DGWlajqt.js → PediatricsCalculatorTable-QgonqxbR.js} +26 -25
- package/dist/ReusableModal-CIgDYOWZ.cjs +1 -0
- package/dist/ReusableModal-pSi21hnc.js +29 -0
- package/dist/ReusableTable/context/TableContextBase.d.ts +1 -1
- package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
- package/dist/ToggleButtons/index.js +1 -1
- package/dist/TrendGraphs/context/index.d.ts +1 -1
- package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
- package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/common/APIAction/APIAction.d.ts +28 -0
- package/dist/common/components/BorderFullWidth.d.ts +2 -0
- package/dist/common/components/table/ExistingPatients.d.ts +17 -0
- package/dist/common/editRibbon/EditRibbon.d.ts +9 -0
- package/dist/common/utils/NetworkInstance.d.ts +4 -0
- package/dist/common/utils/common-utils.d.ts +36 -0
- package/dist/components/PatientAddEdit.d.ts +3 -0
- package/dist/components/customDropdown/CustomDropdown.d.ts +1 -1
- package/dist/constants/CommonConstant.d.ts +70 -0
- package/dist/dayjs.min-BbV4duaj.js +284 -0
- package/dist/dayjs.min-DXp74Ozx.cjs +1 -0
- package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
- package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
- package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
- package/dist/fonts/Arial-Bold.ttf +0 -0
- package/dist/fonts/Arial-Italic.ttf +0 -0
- package/dist/fonts/Arial.ttf +0 -0
- package/dist/fonts/IndianRupee.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
- package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
- package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
- package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
- package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
- package/dist/fonts/NotoSansArabic.ttf +0 -0
- package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
- package/dist/fonts/NotoSansHindi.ttf +0 -0
- package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
- package/dist/fonts/NotoSansKannada.ttf +0 -0
- package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
- package/dist/fonts/NotoSansOriya.ttf +0 -0
- package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
- package/dist/fonts/NotoSansTamil.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
- package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Times-Bold-Italic.ttf +0 -0
- package/dist/fonts/Times-Bold.ttf +0 -0
- package/dist/fonts/Times-Italic.ttf +0 -0
- package/dist/fonts/Times.ttf +0 -0
- package/dist/fonts/TiroBangla-Bold.ttf +0 -0
- package/dist/fonts/TiroBangla-Regular.ttf +0 -0
- package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
- package/dist/fonts/Verdana-Bold.ttf +0 -0
- package/dist/fonts/Verdana-Italic.ttf +0 -0
- package/dist/fonts/Verdana.ttf +0 -0
- package/dist/hooks/useMediaQuery.d.ts +1 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index-DQlbIHh3.cjs +102 -0
- package/dist/index-DkA8S5IK.cjs +32 -0
- package/dist/index-sG1tIMJ6.js +7242 -0
- package/dist/index-vVtPa2-N.js +961 -0
- package/dist/index.js +4 -4
- package/dist/nineDots/NineDotsTypes.d.ts +22 -0
- package/dist/nineDots/NineDotsUtils.d.ts +3 -0
- package/dist/nineDots/nineDots.d.ts +3 -0
- package/dist/searchPatients/SearchPatients.d.ts +11 -0
- package/dist/types/APIEndPoints.d.ts +11 -0
- package/dist/types/ApiResponseTypes.d.ts +290 -0
- package/dist/types/CommonTypes.d.ts +255 -0
- package/dist/types/PatientAddEditTypes/index.js +1 -0
- package/dist/types/PatientAddEditTypes.d.ts +7 -0
- package/dist/types/PatientPopupTypes/index.js +1 -0
- package/dist/types/PatientPopupTypes.d.ts +836 -0
- package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
- package/dist/userProfile/UserProfile.d.ts +18 -0
- package/dist/userProfile/UserProfileItem.d.ts +7 -0
- package/dist/warning-BozzKWdr.js +38 -0
- package/dist/warning-W0tkkrLJ.cjs +1 -0
- package/package.json +30 -2
- package/dist/AlertPopup-CSD_rZzv.js +0 -1069
- package/dist/AlertPopup-DdrHGPKR.cjs +0 -32
- package/dist/AllInvestigationsTable-DoqX89NX.cjs +0 -79
- 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
|
@@ -3,5 +3,5 @@ interface CameraCaptureProps {
|
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
onCapture: (file: File) => Promise<void>;
|
|
5
5
|
}
|
|
6
|
-
declare function CameraCapture({ isOpen, onClose, onCapture }: CameraCaptureProps): import("react/jsx-runtime").JSX.Element
|
|
6
|
+
declare function CameraCapture({ isOpen, onClose, onCapture }: CameraCaptureProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default CameraCapture;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l, b as ye, N as Ce, O as $e } from "../index-
|
|
1
|
+
import { j as l, b as ye, N as Ce, O as $e } from "../index-sG1tIMJ6.js";
|
|
2
2
|
import { useState as S, useRef as v, useMemo as je, useCallback as I, useEffect as J } from "react";
|
|
3
3
|
import { u as Ne } from "../useClickOutside-BjJyGTec.js";
|
|
4
4
|
import { u as ke } from "../useOutsideClick-C4Q0aGuf.js";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { j as ee, K as At } from "../../index-
|
|
1
|
+
import { j as ee, K as At } from "../../index-sG1tIMJ6.js";
|
|
2
2
|
import * as O from "react";
|
|
3
3
|
import v, { useLayoutEffect as zr, cloneElement as Gr, createRef as Oe, Component as Z, useRef as Ze, useCallback as Xr, useEffect as Zr, createElement as Ln, useState as hr, useMemo as Fn } from "react";
|
|
4
|
-
import { c as X
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
7
|
-
import { t as S, c as z, m as Jr, a as en, n as We, d as Je, g as er, b as
|
|
4
|
+
import { c as X } from "../../clsx-OuTLNxxd.js";
|
|
5
|
+
import * as An from "react-dom";
|
|
6
|
+
import Hn from "react-dom";
|
|
7
|
+
import { t as S, c as z, m as Jr, a as en, n as We, d as Je, g as er, b as Wn, e as Bn, s as wt, f as tn, h as Qn, i as rn, j as nn, k as Kn, l as mr, o as Se, p as Vn, q as qt, r as tr, u as rr, v as jn, w as vr } from "../../parseISO-Cso9HWPX.js";
|
|
8
|
+
import { d as Un } from "../../dayjs.min-BbV4duaj.js";
|
|
8
9
|
import { u as qn } from "../../useClickOutside-BjJyGTec.js";
|
|
9
10
|
function de(a, r, t) {
|
|
10
11
|
const e = S(a, t?.in);
|
|
@@ -324,7 +325,7 @@ function ve(a, r) {
|
|
|
324
325
|
};
|
|
325
326
|
const e = t[1] === "+" ? 1 : -1, n = t[2] ? parseInt(t[2], 10) : 0, o = t[3] ? parseInt(t[3], 10) : 0, s = t[5] ? parseInt(t[5], 10) : 0;
|
|
326
327
|
return {
|
|
327
|
-
value: e * (n * Jr + o * en + s *
|
|
328
|
+
value: e * (n * Jr + o * en + s * Wn),
|
|
328
329
|
rest: r.slice(t[0].length)
|
|
329
330
|
};
|
|
330
331
|
}
|
|
@@ -453,7 +454,7 @@ class ua extends A {
|
|
|
453
454
|
return t.isTwoDigitYear || t.year > 0;
|
|
454
455
|
}
|
|
455
456
|
set(r, t, e, n) {
|
|
456
|
-
const o =
|
|
457
|
+
const o = Bn(r, n);
|
|
457
458
|
if (e.isTwoDigitYear) {
|
|
458
459
|
const i = pn(
|
|
459
460
|
e.year,
|
|
@@ -780,7 +781,7 @@ class va extends A {
|
|
|
780
781
|
];
|
|
781
782
|
}
|
|
782
783
|
function ga(a, r, t) {
|
|
783
|
-
const e = S(a, t?.in), n =
|
|
784
|
+
const e = S(a, t?.in), n = Qn(e, t) - r;
|
|
784
785
|
return e.setDate(e.getDate() - n * 7), S(e, t?.in);
|
|
785
786
|
}
|
|
786
787
|
class Da extends A {
|
|
@@ -1588,7 +1589,7 @@ const Va = {
|
|
|
1588
1589
|
T: new Ka()
|
|
1589
1590
|
}, ja = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ua = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, qa = /^'([^]*?)'?$/, $a = /''/g, za = /\S/, Ga = /[a-zA-Z]/;
|
|
1590
1591
|
function Xa(a, r, t, e) {
|
|
1591
|
-
const n = () => z(e?.in || t, NaN), o = ea(), s = e?.locale ?? o.locale ??
|
|
1592
|
+
const n = () => z(e?.in || t, NaN), o = ea(), s = e?.locale ?? o.locale ?? Kn, i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, l = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0;
|
|
1592
1593
|
if (!r)
|
|
1593
1594
|
return a ? n() : S(t, e?.in);
|
|
1594
1595
|
const c = {
|
|
@@ -2767,7 +2768,7 @@ function ss(a) {
|
|
|
2767
2768
|
// setting it to `true` when `open === false` (must be specified).
|
|
2768
2769
|
isPositioned: F.current !== !1
|
|
2769
2770
|
};
|
|
2770
|
-
Q.current && !Pt(C.current, ce) && (C.current = ce,
|
|
2771
|
+
Q.current && !Pt(C.current, ce) && (C.current = ce, An.flushSync(() => {
|
|
2771
2772
|
d(ce);
|
|
2772
2773
|
}));
|
|
2773
2774
|
});
|
|
@@ -3158,7 +3159,7 @@ var ot = 12;
|
|
|
3158
3159
|
function H(a) {
|
|
3159
3160
|
if (a == null)
|
|
3160
3161
|
return /* @__PURE__ */ new Date();
|
|
3161
|
-
var r = typeof a == "string" ?
|
|
3162
|
+
var r = typeof a == "string" ? Vn(a) : S(a);
|
|
3162
3163
|
return Ft(r) ? r : /* @__PURE__ */ new Date();
|
|
3163
3164
|
}
|
|
3164
3165
|
function Bt(a, r, t, e, n) {
|
|
@@ -3263,7 +3264,7 @@ function Ot(a, r) {
|
|
|
3263
3264
|
return a && r ? eo(a, r) : !a && !r;
|
|
3264
3265
|
}
|
|
3265
3266
|
function Y(a, r) {
|
|
3266
|
-
return a && r ?
|
|
3267
|
+
return a && r ? jn(a, r) : !a && !r;
|
|
3267
3268
|
}
|
|
3268
3269
|
function Ye(a, r) {
|
|
3269
3270
|
return a && r ? ra(a, r) : !a && !r;
|
|
@@ -5275,7 +5276,7 @@ var ii = (
|
|
|
5275
5276
|
}, r.prototype.componentWillUnmount = function() {
|
|
5276
5277
|
this.portalRoot && this.portalRoot.removeChild(this.el);
|
|
5277
5278
|
}, r.prototype.render = function() {
|
|
5278
|
-
return
|
|
5279
|
+
return Hn.createPortal(this.props.children, this.el);
|
|
5279
5280
|
}, r;
|
|
5280
5281
|
}(Z)
|
|
5281
5282
|
), fi = "[tabindex], a, button, input, select, textarea", hi = function(a) {
|
|
@@ -5802,7 +5803,7 @@ var jt = "Date input not valid.", wi = (
|
|
|
5802
5803
|
}, r;
|
|
5803
5804
|
}(Z)
|
|
5804
5805
|
), yi = "input", Ut = "navigate";
|
|
5805
|
-
const
|
|
5806
|
+
const Ei = ({
|
|
5806
5807
|
inputDate: a,
|
|
5807
5808
|
placeholderCTA: r = "",
|
|
5808
5809
|
placeholderCTAStyles: t = "",
|
|
@@ -5841,7 +5842,7 @@ const Si = ({
|
|
|
5841
5842
|
}, [w, d, P]);
|
|
5842
5843
|
const M = () => {
|
|
5843
5844
|
w || D(a), b((x) => !x);
|
|
5844
|
-
}, C = Fn(() => a ?
|
|
5845
|
+
}, C = Fn(() => a ? Un(a).format(u) : "", [a, u]);
|
|
5845
5846
|
return qn(_, () => {
|
|
5846
5847
|
w && b(!1);
|
|
5847
5848
|
}), /* @__PURE__ */ ee.jsxs(
|
|
@@ -5925,5 +5926,5 @@ const Si = ({
|
|
|
5925
5926
|
);
|
|
5926
5927
|
};
|
|
5927
5928
|
export {
|
|
5928
|
-
|
|
5929
|
+
Ei as default
|
|
5929
5930
|
};
|