hplx-feature-library 1.0.299 → 1.0.301

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.
Files changed (28) hide show
  1. package/dist/{APIAction-BgGlVURt.cjs → APIAction-4R25WW2g.cjs} +1 -1
  2. package/dist/{APIAction-C4GFv-ck.js → APIAction-CMfpd8Bv.js} +1 -1
  3. package/dist/CommonTypes-Bg9068wC.cjs +1 -0
  4. package/dist/CommonTypes-BzMrYraH.js +5 -0
  5. package/dist/PatientAddEdit/index.js +1 -1
  6. package/dist/{PatientAddEdit-D3R1OpAK.js → PatientAddEdit-B7fjeZlX.js} +31 -30
  7. package/dist/PatientAddEdit-WITRBHBI.cjs +7 -0
  8. package/dist/PatientPopup/index.js +1 -1
  9. package/dist/{PatientPopupContainer-CiG65wai.js → PatientPopupContainer-DuTcUe0x.js} +44 -43
  10. package/dist/{PatientPopupContainer-J3yRTsFc.cjs → PatientPopupContainer-niKHN__m.cjs} +7 -7
  11. package/dist/{PrintModal-BbP9sQ08.js → PrintModal-007mwtDw.js} +3 -3
  12. package/dist/{PrintModal-DUHc2_7D.cjs → PrintModal-DAu_emtt.cjs} +5 -5
  13. package/dist/SearchPatients/index.js +1 -1
  14. package/dist/SearchPatients-COBd6WAT.cjs +1 -0
  15. package/dist/{SearchPatients-D9McylH4.js → SearchPatients-D1PQUJ9C.js} +8 -7
  16. package/dist/UserProfile/index.js +1 -1
  17. package/dist/UserProfile-DoatDBHd.cjs +14 -0
  18. package/dist/{UserProfile-_JHPLC6G.js → UserProfile-HbBoPcvx.js} +4 -3
  19. package/dist/{common-utils-BMUxEK3j.js → common-utils-CNR4r7ZZ.js} +453 -456
  20. package/dist/common-utils-DvxWGiX-.cjs +6 -0
  21. package/dist/index.js +5 -5
  22. package/dist/print-pdf/index.js +1 -1
  23. package/dist/types/ApiResponseTypes.d.ts +0 -2
  24. package/package.json +1 -1
  25. package/dist/PatientAddEdit-CpgM_oWm.cjs +0 -7
  26. package/dist/SearchPatients-CWqWZLfl.cjs +0 -1
  27. package/dist/UserProfile-s5c0-7H7.cjs +0 -14
  28. package/dist/common-utils-yiZUv58F.cjs +0 -6
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports, K as Ku, A as Ap, P as Pi, g as getDefaultExportFromCjs$2, f as getAugmentedNamespace$2, d as commonjsGlobal$1, i as requireObjectAssign, m as PropTypes, b as bi } from "./index-CFBUzpnA.js";
2
2
  import React__default, { useState, useEffect, useRef, useCallback, Fragment, memo, createContext, useReducer, forwardRef, useImperativeHandle, useMemo, useContext, useLayoutEffect, useSyncExternalStore, isValidElement, cloneElement } from "react";
3
- import { h as hplxAPI, q as E_ENVIRONMENT, t as getDurationFormat, n as isValidDate, o as capitalizeFirstLetter, i as isJson, d as debounceFn } from "./common-utils-BMUxEK3j.js";
3
+ import { h as hplxAPI, s as getDurationFormat, n as isValidDate, o as capitalizeFirstLetter, i as isJson, d as debounceFn } from "./common-utils-CNR4r7ZZ.js";
4
4
  import { d as dayjs } from "./dayjs.min-DHTzfD6l.js";
5
5
  import { g as genderList, D as DefinedLanguages } from "./CommonConstant-BMwbE0IZ.js";
6
6
  import { c as create$6 } from "./index.esm-Bn1Rklqj.js";
@@ -107,7 +107,7 @@ const GET_SERVICE_LIST = "/v1/services", GET_DOCTORS_LIST = "/v1/doctors", GET_B
107
107
  }, uploadFile = async (Y, M, w) => {
108
108
  try {
109
109
  const x = {
110
- bucket_name: w.envName === E_ENVIRONMENT.DEVELOPMENT || w.envName === E_ENVIRONMENT.STAGING ? w.ATTACHMENT_BUCKET_DEV_NAME : w.ATTACHMENT_BUCKET_NAME,
110
+ bucket_name: w.ATTACHMENT_BUCKET_NAME,
111
111
  file_path: M,
112
112
  file_content: Y
113
113
  }, R = await hplxAPI(w.token, w.envName).post(UPLOAD_FILE, x), { data: C } = R || {};
@@ -120758,7 +120758,7 @@ const PrintModal = ({
120758
120758
  pediaVaccineProps: _,
120759
120759
  labReportPrintProps: O
120760
120760
  }) => {
120761
- const H = Y.envName.envName === E_ENVIRONMENT.DEVELOPMENT || Y.envName.envName === E_ENVIRONMENT.STAGING ? Y.envName.IMGREP_DIRECTORY_DEV : Y.envName.IMGREP_DIRECTORY, { updateVPPrefUsingDocPref: te, preferences: le } = M || C || {}, { visit_pad_json: ne, printPreferenceList: ae = {}, printDefaultPrefIndex: ce = 0 } = le || {}, de = M?.patientDetails?.patient_role_id || "", ue = M?.visitDetails?.doctor_id || "", be = M?.visitDetails?.doctor_role_id || "", Ae = (ne && JSON.parse(ne))?.send_rx || { sms: "0", wa: "1" }, {
120761
+ const H = Y.envName.MEDIA_URL, { updateVPPrefUsingDocPref: te, preferences: le } = M || C || {}, { visit_pad_json: ne, printPreferenceList: ae = {}, printDefaultPrefIndex: ce = 0 } = le || {}, de = M?.patientDetails?.patient_role_id || "", ue = M?.visitDetails?.doctor_id || "", be = M?.visitDetails?.doctor_role_id || "", Ae = (ne && JSON.parse(ne))?.send_rx || { sms: "0", wa: "1" }, {
120762
120762
  showPrintPreview: oe,
120763
120763
  enable_background_graphics: ye = {},
120764
120764
  // phPrintConfiguration,