hplx-feature-library 1.0.166 → 1.0.168

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 (160) hide show
  1. package/dist/APIAction--DyoXs57.js +3752 -0
  2. package/dist/APIAction-B5XQnkiF.cjs +9 -0
  3. package/dist/AlertPopup/index.js +77 -3
  4. package/dist/AllInvestigations/index.js +1 -1
  5. package/dist/AllInvestigationsTable-BDLPOHjr.cjs +79 -0
  6. package/dist/{AllInvestigationsTable-D2-HK9-M.js → AllInvestigationsTable-Cmxnw8_3.js} +29 -28
  7. package/dist/Attachments/components/document-canvas/document-pen-tool.d.ts +1 -1
  8. package/dist/Attachments/components/drag-drop-overlay.d.ts +1 -1
  9. package/dist/Attachments/components/edit-document-modal.d.ts +1 -1
  10. package/dist/Attachments/components/uploading-toast.d.ts +1 -1
  11. package/dist/Attachments/context/index.d.ts +2 -2
  12. package/dist/Attachments/hooks/useDropdownPosition.d.ts +1 -1
  13. package/dist/Attachments/index.js +1562 -1584
  14. package/dist/CameraCapture/index.d.ts +1 -1
  15. package/dist/CustomDropdown/index.js +1 -1
  16. package/dist/DateTimePicker/DateAndTimePicker/index.js +17 -16
  17. package/dist/PatientAddEdit/index.js +1662 -0
  18. package/dist/PatientPopup/action/APIAction.d.ts +65 -0
  19. package/dist/PatientPopup/app/PatientPopupContainer.d.ts +6 -0
  20. package/dist/PatientPopup/app/PatientPopupContext.d.ts +30 -0
  21. package/dist/PatientPopup/common/common.d.ts +14 -0
  22. package/dist/PatientPopup/components/Lab/HPLXLab.d.ts +8 -0
  23. package/dist/PatientPopup/components/Lab/LISLab.d.ts +8 -0
  24. package/dist/PatientPopup/components/Lab/LabTable.d.ts +5 -0
  25. package/dist/PatientPopup/components/Lab/index.d.ts +5 -0
  26. package/dist/PatientPopup/components/Loader/Loader.d.ts +2 -0
  27. package/dist/PatientPopup/components/Pagination.d.ts +9 -0
  28. package/dist/PatientPopup/components/Profile/Abha.d.ts +11 -0
  29. package/dist/PatientPopup/components/Profile/PatientDetailsModal.d.ts +1 -0
  30. package/dist/PatientPopup/components/Profile/Profile.d.ts +11 -0
  31. package/dist/PatientPopup/components/Profile/Sms.d.ts +2 -0
  32. package/dist/PatientPopup/components/Visits/Table.d.ts +11 -0
  33. package/dist/PatientPopup/components/Visits/index.d.ts +15 -0
  34. package/dist/PatientPopup/components/addBills/AddBillFooter.d.ts +2 -0
  35. package/dist/PatientPopup/components/addBills/AddBills.d.ts +5 -0
  36. package/dist/PatientPopup/components/addBills/AddBillsTable.d.ts +17 -0
  37. package/dist/PatientPopup/components/addBills/DropDown.d.ts +15 -0
  38. package/dist/PatientPopup/components/appointment/AllAppts.d.ts +8 -0
  39. package/dist/PatientPopup/components/appointment/Appointment.d.ts +2 -0
  40. package/dist/PatientPopup/components/appointment/AppointmentsTable.d.ts +10 -0
  41. package/dist/PatientPopup/components/bills/Bills.d.ts +6 -0
  42. package/dist/PatientPopup/components/bills/BillsTable.d.ts +11 -0
  43. package/dist/PatientPopup/components/deposit/DepositSection.d.ts +9 -0
  44. package/dist/PatientPopup/components/mainNavItem/MainNavItem.d.ts +13 -0
  45. package/dist/PatientPopup/components/patientPopupBody/PatientPopupBody.d.ts +8 -0
  46. package/dist/PatientPopup/components/patientPopupHeader/PatientPopupHeader.d.ts +10 -0
  47. package/dist/PatientPopup/components/patientPopupSummary/BillSummary.d.ts +19 -0
  48. package/dist/PatientPopup/components/patientPopupSummary/ConsultationDetails.d.ts +14 -0
  49. package/dist/PatientPopup/components/patientPopupSummary/DeleteItem.d.ts +11 -0
  50. package/dist/PatientPopup/components/patientPopupSummary/DepositRefundSummary.d.ts +8 -0
  51. package/dist/PatientPopup/components/patientPopupSummary/LabServiceDetails.d.ts +13 -0
  52. package/dist/PatientPopup/components/patientPopupSummary/OtherServiceDetails.d.ts +13 -0
  53. package/dist/PatientPopup/components/patientPopupSummary/PatientPopupSummary.d.ts +8 -0
  54. package/dist/PatientPopup/components/patientPopupSummary/PaymentCard.d.ts +25 -0
  55. package/dist/PatientPopup/components/patientPopupSummary/ServiceLevelBillSummary.d.ts +18 -0
  56. package/dist/PatientPopup/components/payments/DepositRefundTable.d.ts +14 -0
  57. package/dist/PatientPopup/components/payments/OtherServicesTable.d.ts +16 -0
  58. package/dist/PatientPopup/components/payments/PaymentEditModal.d.ts +15 -0
  59. package/dist/PatientPopup/components/payments/PaymentHeader.d.ts +7 -0
  60. package/dist/PatientPopup/components/payments/Payments.d.ts +5 -0
  61. package/dist/PatientPopup/components/payments/PaymentsTable.d.ts +14 -0
  62. package/dist/PatientPopup/constants/AppConstants.d.ts +123 -0
  63. package/dist/PatientPopup/index.d.ts +1 -0
  64. package/dist/PatientPopup/index.js +135376 -0
  65. package/dist/PatientPopup/types/hplxAPITypes.d.ts +37 -0
  66. package/dist/PatientPopup/utils/PrintFontLoader.d.ts +4 -0
  67. package/dist/PatientPopup/utils/helperFunctions.d.ts +3 -0
  68. package/dist/PediatricsCalculator/components/PediatricsCalculatorTableContext.d.ts +1 -1
  69. package/dist/PediatricsCalculator/index.js +1 -1
  70. package/dist/PediatricsCalculatorTable-CTA61g3h.cjs +1 -0
  71. package/dist/{PediatricsCalculatorTable-DGWlajqt.js → PediatricsCalculatorTable-QgonqxbR.js} +26 -25
  72. package/dist/ReusableModal-CIgDYOWZ.cjs +1 -0
  73. package/dist/ReusableModal-pSi21hnc.js +29 -0
  74. package/dist/ReusableTable/context/TableContextBase.d.ts +1 -1
  75. package/dist/Subscription/components/SubscriptionBadge.d.ts +2 -0
  76. package/dist/ToggleButtons/index.js +1 -1
  77. package/dist/TrendGraphs/context/index.d.ts +1 -1
  78. package/dist/changePasswordModal/APIAction/APIActions.d.ts +8 -0
  79. package/dist/changePasswordModal/component/ChangePasswordModal.d.ts +14 -0
  80. package/dist/clsx-C11secjj.cjs +1 -0
  81. package/dist/clsx-OuTLNxxd.js +16 -0
  82. package/dist/common/APIAction/APIAction.d.ts +28 -0
  83. package/dist/common/components/BorderFullWidth.d.ts +2 -0
  84. package/dist/common/components/table/ExistingPatients.d.ts +17 -0
  85. package/dist/common/editRibbon/EditRibbon.d.ts +9 -0
  86. package/dist/common/utils/NetworkInstance.d.ts +4 -0
  87. package/dist/common/utils/common-utils.d.ts +36 -0
  88. package/dist/components/PatientAddEdit.d.ts +3 -0
  89. package/dist/components/customDropdown/CustomDropdown.d.ts +1 -1
  90. package/dist/constants/CommonConstant.d.ts +70 -0
  91. package/dist/dayjs.min-BbV4duaj.js +284 -0
  92. package/dist/dayjs.min-DXp74Ozx.cjs +1 -0
  93. package/dist/fonts/AnekMalayalam-Bold.ttf +0 -0
  94. package/dist/fonts/AnekMalayalam-Regular.ttf +0 -0
  95. package/dist/fonts/Arial-Bold-Italic.ttf +0 -0
  96. package/dist/fonts/Arial-Bold.ttf +0 -0
  97. package/dist/fonts/Arial-Italic.ttf +0 -0
  98. package/dist/fonts/Arial.ttf +0 -0
  99. package/dist/fonts/IndianRupee.ttf +0 -0
  100. package/dist/fonts/MuktaMaheePunjabi-Bold.ttf +0 -0
  101. package/dist/fonts/MuktaMaheePunjabi-Regular.ttf +0 -0
  102. package/dist/fonts/Noto-Sans-Telugu-Bold.ttf +0 -0
  103. package/dist/fonts/Noto-Sans-Telugu-Regular.ttf +0 -0
  104. package/dist/fonts/NotoNastaliqUrdu-Bold.ttf +0 -0
  105. package/dist/fonts/NotoNastaliqUrdu-Regular.ttf +0 -0
  106. package/dist/fonts/NotoSansArabic-Bold.ttf +0 -0
  107. package/dist/fonts/NotoSansArabic.ttf +0 -0
  108. package/dist/fonts/NotoSansHindi-Bold.ttf +0 -0
  109. package/dist/fonts/NotoSansHindi.ttf +0 -0
  110. package/dist/fonts/NotoSansKannada-Bold.ttf +0 -0
  111. package/dist/fonts/NotoSansKannada.ttf +0 -0
  112. package/dist/fonts/NotoSansOriya-Bold.ttf +0 -0
  113. package/dist/fonts/NotoSansOriya.ttf +0 -0
  114. package/dist/fonts/NotoSansTamil-Bold.ttf +0 -0
  115. package/dist/fonts/NotoSansTamil.ttf +0 -0
  116. package/dist/fonts/NotoSerifGujarati-Bold.ttf +0 -0
  117. package/dist/fonts/NotoSerifGujarati-Regular.ttf +0 -0
  118. package/dist/fonts/Roboto-Regular.ttf +0 -0
  119. package/dist/fonts/Times-Bold-Italic.ttf +0 -0
  120. package/dist/fonts/Times-Bold.ttf +0 -0
  121. package/dist/fonts/Times-Italic.ttf +0 -0
  122. package/dist/fonts/Times.ttf +0 -0
  123. package/dist/fonts/TiroBangla-Bold.ttf +0 -0
  124. package/dist/fonts/TiroBangla-Regular.ttf +0 -0
  125. package/dist/fonts/Verdana-Bold-Italic.ttf +0 -0
  126. package/dist/fonts/Verdana-Bold.ttf +0 -0
  127. package/dist/fonts/Verdana-Italic.ttf +0 -0
  128. package/dist/fonts/Verdana.ttf +0 -0
  129. package/dist/hooks/useMediaQuery.d.ts +1 -0
  130. package/dist/hplx-feature-library.css +1 -1
  131. package/dist/index-DQlbIHh3.cjs +102 -0
  132. package/dist/index-DkA8S5IK.cjs +32 -0
  133. package/dist/index-sG1tIMJ6.js +7242 -0
  134. package/dist/index-vVtPa2-N.js +961 -0
  135. package/dist/index.js +4 -4
  136. package/dist/nineDots/NineDotsTypes.d.ts +22 -0
  137. package/dist/nineDots/NineDotsUtils.d.ts +3 -0
  138. package/dist/nineDots/nineDots.d.ts +3 -0
  139. package/dist/searchPatients/SearchPatients.d.ts +11 -0
  140. package/dist/types/APIEndPoints.d.ts +11 -0
  141. package/dist/types/ApiResponseTypes.d.ts +290 -0
  142. package/dist/types/CommonTypes.d.ts +255 -0
  143. package/dist/types/PatientAddEditTypes/index.js +1 -0
  144. package/dist/types/PatientAddEditTypes.d.ts +7 -0
  145. package/dist/types/PatientPopupTypes/index.js +1 -0
  146. package/dist/types/PatientPopupTypes.d.ts +836 -0
  147. package/dist/userProfile/APIAction/APIActions.d.ts +18 -0
  148. package/dist/userProfile/UserProfile.d.ts +18 -0
  149. package/dist/userProfile/UserProfileItem.d.ts +7 -0
  150. package/dist/warning-BozzKWdr.js +38 -0
  151. package/dist/warning-W0tkkrLJ.cjs +1 -0
  152. package/package.json +30 -3
  153. package/dist/AlertPopup-CSD_rZzv.js +0 -1069
  154. package/dist/AlertPopup-DdrHGPKR.cjs +0 -32
  155. package/dist/AllInvestigationsTable-DoqX89NX.cjs +0 -79
  156. package/dist/PediatricsCalculatorTable-DSVe0_z0.cjs +0 -1
  157. package/dist/dayjs.min-DQn5T5hy.js +0 -298
  158. package/dist/dayjs.min-DvmTfmHo.cjs +0 -1
  159. package/dist/index-4whwJbrk.js +0 -6867
  160. package/dist/index-C6KQLMQs.cjs +0 -92
@@ -1,9 +1,10 @@
1
- import { j as E, K as Yn, b as Zn, O as zs, g as vr, d as q8 } from "./index-4whwJbrk.js";
1
+ import { j as E, K as Yn, b as Zn, O as zs, g as vr, h as q8 } from "./index-sG1tIMJ6.js";
2
2
  import { E_INVESTIGATIONS_SOURCE as V8 } from "./types/AllInvestigationTypes/index.js";
3
3
  import * as b from "react";
4
4
  import j2, { createContext as Le, useContext as ct, useMemo as mr, useState as ae, useRef as H, useEffect as he, useCallback as K, isValidElement as vt, forwardRef as De, useImperativeHandle as Ws, PureComponent as qs, cloneElement as T2, createElement as Vs, useLayoutEffect as Ut, Component as U8 } from "react";
5
5
  import { createPortal as Us } from "react-dom";
6
- import { c as re, d as Un } from "./dayjs.min-DQn5T5hy.js";
6
+ import { d as Un } from "./dayjs.min-BbV4duaj.js";
7
+ import { c as re } from "./clsx-OuTLNxxd.js";
7
8
  import { r as Ks } from "./index-CJFGOBPb.js";
8
9
  import { u as K8 } from "./useClickOutside-BjJyGTec.js";
9
10
  const Hs = Le(void 0), fn = () => {
@@ -5575,8 +5576,8 @@ var Ha = () => ct(pf), H6 = /* @__PURE__ */ De((e, t) => {
5575
5576
  }
5576
5577
  }
5577
5578
  }), {
5578
- setLegendSize: dP,
5579
- setLegendSettings: hP,
5579
+ setLegendSize: hP,
5580
+ setLegendSettings: pP,
5580
5581
  addLegendPayload: Z6,
5581
5582
  removeLegendPayload: X6
5582
5583
  } = Cf.actions, Q6 = Cf.reducer;
@@ -10659,9 +10660,9 @@ var p3 = (e, t) => {
10659
10660
  removeTooltipEntrySettings: dy,
10660
10661
  setTooltipSettingsState: hy,
10661
10662
  setActiveMouseOverItemIndex: py,
10662
- mouseLeaveItem: pP,
10663
+ mouseLeaveItem: vP,
10663
10664
  mouseLeaveChart: m3,
10664
- setActiveClickItemIndex: vP,
10665
+ setActiveClickItemIndex: mP,
10665
10666
  setMouseOverAxisIndex: y3,
10666
10667
  setMouseClickAxisIndex: vy,
10667
10668
  setSyncInteraction: xa,
@@ -11272,7 +11273,7 @@ var Eg = {
11272
11273
  }), {
11273
11274
  setChartData: ts,
11274
11275
  setDataStartEndIndexes: Sg,
11275
- setComputedData: mP
11276
+ setComputedData: yP
11276
11277
  } = B3.actions, _g = B3.reducer, kg = ["x", "y"];
11277
11278
  function rs(e, t) {
11278
11279
  var r = Object.keys(e);
@@ -12537,10 +12538,10 @@ var Xo = (e) => {
12537
12538
  }
12538
12539
  }
12539
12540
  }), {
12540
- addRadiusAxis: yP,
12541
- removeRadiusAxis: gP,
12542
- addAngleAxis: bP,
12543
- removeAngleAxis: CP
12541
+ addRadiusAxis: gP,
12542
+ removeRadiusAxis: bP,
12543
+ addAngleAxis: CP,
12544
+ removeAngleAxis: xP
12544
12545
  } = J3.actions, Ub = J3.reducer;
12545
12546
  q8();
12546
12547
  var bi = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
@@ -12633,8 +12634,8 @@ var Zb = /* @__PURE__ */ Le(void 0), r8 = (e) => {
12633
12634
  addCartesianGraphicalItem: Qb,
12634
12635
  replaceCartesianGraphicalItem: Jb,
12635
12636
  removeCartesianGraphicalItem: eC,
12636
- addPolarGraphicalItem: xP,
12637
- removePolarGraphicalItem: wP
12637
+ addPolarGraphicalItem: wP,
12638
+ removePolarGraphicalItem: OP
12638
12639
  } = n8.actions, tC = n8.reducer;
12639
12640
  function i8(e) {
12640
12641
  var t = Ne(), r = H(null);
@@ -12751,8 +12752,8 @@ var aC = {
12751
12752
  removeXAxis: lC,
12752
12753
  addYAxis: uC,
12753
12754
  removeYAxis: sC,
12754
- addZAxis: OP,
12755
- removeZAxis: PP,
12755
+ addZAxis: PP,
12756
+ removeZAxis: AP,
12756
12757
  updateYAxisWidth: cC
12757
12758
  } = a8.actions, fC = a8.reducer, dC = A([_e], (e) => {
12758
12759
  if (e)
@@ -12887,9 +12888,9 @@ var bC = {}, o8 = et({
12887
12888
  }
12888
12889
  }
12889
12890
  }), {
12890
- addErrorBar: AP,
12891
- replaceErrorBar: EP,
12892
- removeErrorBar: SP
12891
+ addErrorBar: EP,
12892
+ replaceErrorBar: SP,
12893
+ removeErrorBar: _P
12893
12894
  } = o8.actions, CC = o8.reducer, xC = ["children"];
12894
12895
  function wC(e, t) {
12895
12896
  if (e == null) return {};
@@ -12991,7 +12992,7 @@ var SC = (e) => {
12991
12992
  }
12992
12993
  }
12993
12994
  }), {
12994
- setBrushSettings: _P
12995
+ setBrushSettings: kP
12995
12996
  } = u8.actions, _C = u8.reducer;
12996
12997
  function kC(e, t, r) {
12997
12998
  return (t = MC(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
@@ -13106,12 +13107,12 @@ var jC = function(t) {
13106
13107
  }
13107
13108
  }
13108
13109
  }), {
13109
- addDot: kP,
13110
- removeDot: MP,
13111
- addArea: DP,
13112
- removeArea: NP,
13113
- addLine: jP,
13114
- removeLine: TP
13110
+ addDot: MP,
13111
+ removeDot: DP,
13112
+ addArea: NP,
13113
+ removeArea: jP,
13114
+ addLine: TP,
13115
+ removeLine: IP
13115
13116
  } = s8.actions, IC = s8.reducer, $C = /* @__PURE__ */ Le(void 0), LC = (e) => {
13116
13117
  var {
13117
13118
  children: t
@@ -15896,7 +15897,7 @@ var Rs = {
15896
15897
  updatePolarOptions: (e, t) => t.payload
15897
15898
  }
15898
15899
  }), {
15899
- updatePolarOptions: IP
15900
+ updatePolarOptions: $P
15900
15901
  } = I8.actions, dO = I8.reducer, $8 = ut("keyDown"), L8 = ut("focus"), ol = pn();
15901
15902
  ol.startListening({
15902
15903
  actionCreator: $8,
@@ -16762,7 +16763,7 @@ const rP = [
16762
16763
  return Number(e.min) > Number(e.max) && (e.max = 1 / 0), Number(e.min) === 0 && Number(e.max) === 0 ? !1 : (Number(t) >= Number(e.min) && Number(t) <= Number(e.max) || (r = !0), r);
16763
16764
  }
16764
16765
  return !1;
16765
- }, $P = ({
16766
+ }, LP = ({
16766
16767
  patientAge: e,
16767
16768
  patientGender: t,
16768
16769
  data: r = [],
@@ -17060,5 +17061,5 @@ const rP = [
17060
17061
  );
17061
17062
  };
17062
17063
  export {
17063
- $P as A
17064
+ LP as A
17064
17065
  };
@@ -1,2 +1,2 @@
1
- declare function DocumentPenTool(): import("react/jsx-runtime").JSX.Element | null;
1
+ declare function DocumentPenTool(): import("react/jsx-runtime").JSX.Element;
2
2
  export default DocumentPenTool;
@@ -2,5 +2,5 @@ interface DragDropOverlayProps {
2
2
  isDragOver: boolean;
3
3
  isUploading: boolean;
4
4
  }
5
- declare function DragDropOverlay({ isDragOver, isUploading }: DragDropOverlayProps): import("react/jsx-runtime").JSX.Element | null;
5
+ declare function DragDropOverlay({ isDragOver, isUploading }: DragDropOverlayProps): import("react/jsx-runtime").JSX.Element;
6
6
  export default DragDropOverlay;
@@ -5,5 +5,5 @@ interface EditDocumentModalProps {
5
5
  onClose: () => void;
6
6
  onSave: (payload: I_DOCUMENT) => Promise<void>;
7
7
  }
8
- declare function EditDocumentModal({ isOpen, document, onClose, onSave }: EditDocumentModalProps): import("react/jsx-runtime").JSX.Element | null;
8
+ declare function EditDocumentModal({ isOpen, document, onClose, onSave }: EditDocumentModalProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default EditDocumentModal;
@@ -1,6 +1,6 @@
1
1
  interface UploadingToastProps {
2
2
  isUploading: boolean;
3
3
  }
4
- declare function UploadingToast(props: UploadingToastProps): import("react/jsx-runtime").JSX.Element | null;
4
+ declare function UploadingToast(props: UploadingToastProps): import("react/jsx-runtime").JSX.Element;
5
5
  declare const _default: import('react').MemoExoticComponent<typeof UploadingToast>;
6
6
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { I_ATTACHMENTS_CONTEXT, I_DOCUMENT_COMPARE_CONTEXT } from '../../types/AttachmentsTypes';
2
- export declare const AttachmentsContext: import('react').Context<I_ATTACHMENTS_CONTEXT | undefined>;
3
- export declare const CompareContext: import('react').Context<I_DOCUMENT_COMPARE_CONTEXT | undefined>;
2
+ export declare const AttachmentsContext: import('react').Context<I_ATTACHMENTS_CONTEXT>;
3
+ export declare const CompareContext: import('react').Context<I_DOCUMENT_COMPARE_CONTEXT>;
@@ -10,6 +10,6 @@ import { RefObject } from 'react';
10
10
  export declare const useDropdownPosition: (triggerRef: RefObject<HTMLElement>) => {
11
11
  isOpen: boolean;
12
12
  position: "bottom" | "top";
13
- dropdownRef: RefObject<HTMLDivElement>;
13
+ dropdownRef: import('react').MutableRefObject<HTMLDivElement>;
14
14
  toggleDropdown: () => void;
15
15
  };