hplx-feature-library 1.0.301 → 1.0.303
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/PatientPopup/types/hplxAPITypes.d.ts +2 -2
- package/dist/{PatientPopupContainer-DuTcUe0x.js → PatientPopupContainer-BzmIAEur.js} +1 -1
- package/dist/{PatientPopupContainer-niKHN__m.cjs → PatientPopupContainer-DEv0xPri.cjs} +1 -1
- package/dist/{PrintModal-DAu_emtt.cjs → PrintModal-BhblR8_n.cjs} +5 -5
- package/dist/{PrintModal-007mwtDw.js → PrintModal-C3uCMEzw.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/print-pdf/index.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ function _mergeNamespaces(Y, M) {
|
|
|
22
22
|
}
|
|
23
23
|
return Object.freeze(Object.defineProperty(Y, Symbol.toStringTag, { value: "Module" }));
|
|
24
24
|
}
|
|
25
|
-
const GET_SERVICE_LIST = "/v1/services", GET_DOCTORS_LIST = "/v1/doctors", GET_BILLS = "/v1/bill", PUT_BILLS = "/v2/bill", GET_PAST_DUE = "v1/bills/pastAmount", GET_BILL_ITEM = "/v1/bills/item", DELETE_BILL_ITEM = "/v2/bills/item", PUT_BILL_ITEM = "v1/bills/items", GET_APPOINTMENTS = "/v1/appointments", GET_BILL_SUMMARY = "v1/bill-summary", GET_VISIT_ALL = "/v2/visit/all", GET_PATIENT_POPUP_VISIT = "/v1/visits", GET_BRANCH_PREFERENCE = "/preferences/branch", PUT_APPOINTMENTS = "/v1/appointment", GET_REFERREDBY_DOCTOR = "../api/modelGetAddPatientSuggestion.php", POST_PAYMENT = "/v2/payments", GET_PAYMENT = "/v1/payments", GET_REFERRAL = "v1/referral", DELETE_TRANSACTION = "/v1/transaction", GET_BILLS_PAYMENTS_BILL_ID = "/v1/bills", GET_ABHA_INFO = "/abha/v1/fetch", GENERATE_OTP_BY_ABHA_ADDRESS = "/abha/
|
|
25
|
+
const GET_SERVICE_LIST = "/v1/services", GET_DOCTORS_LIST = "/v1/doctors", GET_BILLS = "/v1/bill", PUT_BILLS = "/v2/bill", GET_PAST_DUE = "v1/bills/pastAmount", GET_BILL_ITEM = "/v1/bills/item", DELETE_BILL_ITEM = "/v2/bills/item", PUT_BILL_ITEM = "v1/bills/items", GET_APPOINTMENTS = "/v1/appointments", GET_BILL_SUMMARY = "v1/bill-summary", GET_VISIT_ALL = "/v2/visit/all", GET_PATIENT_POPUP_VISIT = "/v1/visits", GET_BRANCH_PREFERENCE = "/preferences/branch", PUT_APPOINTMENTS = "/v1/appointment", GET_REFERREDBY_DOCTOR = "../api/modelGetAddPatientSuggestion.php", POST_PAYMENT = "/v2/payments", GET_PAYMENT = "/v1/payments", GET_REFERRAL = "v1/referral", DELETE_TRANSACTION = "/v1/transaction", GET_BILLS_PAYMENTS_BILL_ID = "/v1/bills", GET_ABHA_INFO = "/abha/v1/fetch", GENERATE_OTP_BY_ABHA_ADDRESS = "/abha/v1/otp/generate", VERIFY_ABHA_OTP = "/abha/v1/otp/verify", GET_ABHA_CONSENT = "/v1/consent/request", GET_INSURANCE_LIST = "v1/partner/insurance-companies", VERIFY_INSURANCE = "v1/insurance/verify", GET_CUSTOM_TRANSLATIONS = "/customTranslations", GET_ONLINE_TEST_RANGES = "/tests/ranges", UPDATE_WALLET = "v1/wallet", GET_IPD_CASE = "../ipd/api/modelCheckIpdCase.php", GET_LIS_BY_ORGBIDSTR = "/v2/lis-reports", SEND_ATTACH_LIS = "v1/partner/lis-reports/share", GET_LAB_ORDER_DETAILS = "v1/lab/order/test_templates", LAB_ORDERS = "v1/lab/orders", SEND_EMAIL_SMS = "visit/send/rx", SEND_GOOGLE_REVIEW = "/send/review/google", PATCH_VISIT_PDF_DETAILS = "v1/visits", UPLOAD_FILE = "s3/upload", TAT_LOG = "v1/tat/log", SEND_V2_SMS_EMAIL = "v2/campaign/trigger", UPDATE_LAB_REPORT = "v1/lab/test_reports", getCookie = (Y) => {
|
|
26
26
|
const M = Y + "=", w = document.cookie.split(";");
|
|
27
27
|
for (let x = 0; x < w.length; x++) {
|
|
28
28
|
let R = w[x];
|
|
@@ -120767,7 +120767,7 @@ const PrintModal = ({
|
|
|
120767
120767
|
} = typeof ne == "string" && ne && JSON.parse(ne) || {}, Ge = useRef(null), [Ye, Te] = useState(!1), [Se, Me] = useState(null), { chartIds: xe = [], chartKey: Be = "" } = D || {}, [ut, je] = useState(1), [fe, ge] = useState(ce), [Le, we] = useState(
|
|
120768
120768
|
Y.printType === "bill" || Y.printType === "bill_deposit_refund" ? w?.billPatientDetails?.email : Y?.printType === "visit" || Y?.printType === "pedia_charts" || Y?.printType === "pedia_vaccine" ? M?.patientDetails?.email : Y.printType === "lab_report" ? O?.patientDetails?.email : Y?.printType === "casesheet" ? C?.patientDetails?.email : ""
|
|
120769
120769
|
), [Ce, ve] = useState(
|
|
120770
|
-
Y.printType === "bill" || Y.printType === "bill_deposit_refund" ? w?.billPatientDetails?.mobileNumber : Y?.printType === "visit" || Y?.printType === "pedia_charts" || Y?.printType === "pedia_vaccine" ? M?.patientDetails?.phone : Y.printType === "lab_report" ? O?.patientDetails?.phone : Y?.printType === "casesheet" ? C?.patientDetails?.phone_number : ""
|
|
120770
|
+
Y.printType === "bill" || Y.printType === "bill_deposit_refund" ? w?.billPatientDetails?.mobileNumber : Y?.printType === "visit" || Y?.printType === "pedia_charts" || Y?.printType === "pedia_vaccine" ? M?.patientDetails?.phone_number || M?.patientDetails?.phone : Y.printType === "lab_report" ? O?.patientDetails?.phone : Y?.printType === "casesheet" ? C?.patientDetails?.phone_number : ""
|
|
120771
120771
|
), [Qe, Pe] = useState(!1), [$e, Ve] = useState(!1), [Ue, ke] = useState(), He = ye?.print == 1, [Fe, Oe] = useState(!0), [dt, kt] = useState(null), [Bt, St] = useState(null), [Ft, zt] = useState([]), [_e, Dt] = useState(!(xe.length > 0)), tl = window?.partner_config ? JSON.parse(window?.partner_config) : {}, jt = tl && Object.values(tl).some((Dl) => Dl?.sync_visit?.enable), nl = async () => {
|
|
120772
120772
|
try {
|
|
120773
120773
|
await hl();
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { P as r } from "./PediatricsCalculatorTable-CXALqwAy.js";
|
|
2
|
-
import { P as e } from "./PatientPopupContainer-
|
|
2
|
+
import { P as e } from "./PatientPopupContainer-BzmIAEur.js";
|
|
3
3
|
import { A as i } from "./Attachments-KDvUuiBM.js";
|
|
4
4
|
import { P } from "./PatientAddEdit-B7fjeZlX.js";
|
|
5
5
|
import { S as m } from "./SearchPatients-D1PQUJ9C.js";
|
|
6
6
|
import { N as n } from "./NineDots-BvxC-xGI.js";
|
|
7
7
|
import { U as d } from "./UserProfile-HbBoPcvx.js";
|
|
8
|
-
import { P as c } from "./PrintModal-
|
|
8
|
+
import { P as c } from "./PrintModal-C3uCMEzw.js";
|
|
9
9
|
import { A as u } from "./AllInvestigationsTable-Dl5e6_Wk.js";
|
|
10
10
|
export {
|
|
11
11
|
u as AllInvestigations,
|
package/dist/print-pdf/index.js
CHANGED