@argusoft/medplat-core 1.0.31 → 1.0.33
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/AccessRights-BC43Jhml.js +1093 -0
- package/dist/AccessRights-BC43Jhml.js.map +1 -0
- package/dist/{AddFeatures-D1sU8RjY.js → AddFeatures-COj4ZTIM.js} +2 -2
- package/dist/{AddFeatures-D1sU8RjY.js.map → AddFeatures-COj4ZTIM.js.map} +1 -1
- package/dist/AddMenuConfiguration-Creeib5X.js +11223 -0
- package/dist/AddMenuConfiguration-Creeib5X.js.map +1 -0
- package/dist/AddMenuConfiguration.css +1 -1
- package/dist/{BrandsPage-DMw2vT0u-BVhvhc6J.js → BrandsPage-CdcAvaml-CYT80CMH.js} +45 -45
- package/dist/{BrandsPage-DMw2vT0u-BVhvhc6J.js.map → BrandsPage-CdcAvaml-CYT80CMH.js.map} +1 -1
- package/dist/{CategoriesPage-D3ihx9Gi-CT58g0ry.js → CategoriesPage-BprQEYJw-BRAukJB1.js} +43 -43
- package/dist/{CategoriesPage-D3ihx9Gi-CT58g0ry.js.map → CategoriesPage-BprQEYJw-BRAukJB1.js.map} +1 -1
- package/dist/ChangePasswordModalCore-rypTxA2O.js +238 -0
- package/dist/ChangePasswordModalCore-rypTxA2O.js.map +1 -0
- package/dist/{ConditionConfig-BQBmBHaM.js → ConditionConfig-Bpm6OoV5.js} +3 -3
- package/dist/{ConditionConfig-BQBmBHaM.js.map → ConditionConfig-Bpm6OoV5.js.map} +1 -1
- package/dist/{DashboardPage-asr2XDRu-uOOlX9Vq.js → DashboardPage-CTiGSx71-DX-TzGOH.js} +29 -29
- package/dist/{DashboardPage-asr2XDRu-uOOlX9Vq.js.map → DashboardPage-CTiGSx71-DX-TzGOH.js.map} +1 -1
- package/dist/EntityManagement-BGwJGl9k.js +62 -0
- package/dist/EntityManagement-BGwJGl9k.js.map +1 -0
- package/dist/{EventConfigurations-CUPEN5BV.js → EventConfigurations-B-z7xHh_.js} +3 -3
- package/dist/{EventConfigurations-CUPEN5BV.js.map → EventConfigurations-B-z7xHh_.js.map} +1 -1
- package/dist/{EventsExceptionModal-BX-ArkBE.js → EventsExceptionModal-DafomIv6.js} +2 -2
- package/dist/{EventsExceptionModal-BX-ArkBE.js.map → EventsExceptionModal-DafomIv6.js.map} +1 -1
- package/dist/{EventsUi-D6O9S7BK.js → EventsUi-Dl_yckSA.js} +37 -32
- package/dist/EventsUi-Dl_yckSA.js.map +1 -0
- package/dist/FacilityPicker-BXa2VF7i-D0JUIqLv.js +112 -0
- package/dist/FacilityPicker-BXa2VF7i-D0JUIqLv.js.map +1 -0
- package/dist/FaqList-CeDEuhU_.js +237 -0
- package/dist/FaqList-CeDEuhU_.js.map +1 -0
- package/dist/FaqSkeletons-hLCEcRr-.js +19 -0
- package/dist/FaqSkeletons-hLCEcRr-.js.map +1 -0
- package/dist/FaqView-sDzBVyXV.js +617 -0
- package/dist/FaqView-sDzBVyXV.js.map +1 -0
- package/dist/{FeatureMenu-CHsBbw3W.js → FeatureMenu-CaI-ZhSZ.js} +2 -2
- package/dist/{FeatureMenu-CHsBbw3W.js.map → FeatureMenu-CaI-ZhSZ.js.map} +1 -1
- package/dist/{FhirServerList-iXBPkRVF.js → FhirServerList-CrIHMAxz.js} +19 -19
- package/dist/{FhirServerList-iXBPkRVF.js.map → FhirServerList-CrIHMAxz.js.map} +1 -1
- package/dist/{FhirServerProfile-CUOwC6Wb.js → FhirServerProfile-D3aYcpwY.js} +8 -8
- package/dist/{FhirServerProfile-CUOwC6Wb.js.map → FhirServerProfile-D3aYcpwY.js.map} +1 -1
- package/dist/{FhirServerWizard-DZI8Olku.js → FhirServerWizard-Db6Hm4bQ.js} +15 -15
- package/dist/{FhirServerWizard-DZI8Olku.js.map → FhirServerWizard-Db6Hm4bQ.js.map} +1 -1
- package/dist/{ImmunizationConfigurationBase-aUtx0JEe.js → ImmunizationConfigurationBase-Clkk0-n6.js} +2638 -2577
- package/dist/ImmunizationConfigurationBase-Clkk0-n6.js.map +1 -0
- package/dist/InventoryPage-JadYMCzU-CWcCauMI.js +1017 -0
- package/dist/InventoryPage-JadYMCzU-CWcCauMI.js.map +1 -0
- package/dist/LocationWiseExpectedTargetPage-CjKk1aTF.js +1344 -0
- package/dist/LocationWiseExpectedTargetPage-CjKk1aTF.js.map +1 -0
- package/dist/{ManageDynamicFeature-BU0I45dd.js → ManageDynamicFeature-CuyYfx_P.js} +104 -97
- package/dist/ManageDynamicFeature-CuyYfx_P.js.map +1 -0
- package/dist/{ManageEventConfiguration-DqW3krT6.js → ManageEventConfiguration-DqPbn3Oi.js} +5 -5
- package/dist/{ManageEventConfiguration-DqW3krT6.js.map → ManageEventConfiguration-DqPbn3Oi.js.map} +1 -1
- package/dist/ManageFaq-4cT6bntx.js +1583 -0
- package/dist/ManageFaq-4cT6bntx.js.map +1 -0
- package/dist/ManageFaq.css +1 -0
- package/dist/ManageRole-CyfpySt9.js +981 -0
- package/dist/ManageRole-CyfpySt9.js.map +1 -0
- package/dist/{ManageUser-DZltBina.js → ManageUser-DchUMAyC.js} +172 -172
- package/dist/{ManageUser-DZltBina.js.map → ManageUser-DchUMAyC.js.map} +1 -1
- package/dist/{MemberProfileCard-D5CgkTdJ-D2NgDJl3.js → MemberProfileCard-01d_jz3w-CQi_zu6x.js} +37 -37
- package/dist/{MemberProfileCard-D5CgkTdJ-D2NgDJl3.js.map → MemberProfileCard-01d_jz3w-CQi_zu6x.js.map} +1 -1
- package/dist/MobileAnalytics-C9oc2yAo.js +18399 -0
- package/dist/MobileAnalytics-C9oc2yAo.js.map +1 -0
- package/dist/MobileMenuManagement-BmzTPXy7.js +231 -0
- package/dist/MobileMenuManagement-BmzTPXy7.js.map +1 -0
- package/dist/{MobileTypeEventConfigModal-CMcj7Ozp.js → MobileTypeEventConfigModal-DodU3beR.js} +3 -3
- package/dist/{MobileTypeEventConfigModal-CMcj7Ozp.js.map → MobileTypeEventConfigModal-DodU3beR.js.map} +1 -1
- package/dist/{NewServerManagement-Cxe0dV0O.js → NewServerManagement-BdayO78D.js} +368 -352
- package/dist/NewServerManagement-BdayO78D.js.map +1 -0
- package/dist/OtherTypeEventConfigModal-D_9S50aI.js +1414 -0
- package/dist/OtherTypeEventConfigModal-D_9S50aI.js.map +1 -0
- package/dist/{PaymentCreatePage-DfvSZ-kB-CckogYoe.js → PaymentCreatePage-D6NZBUC3-_98S21Sa.js} +56 -56
- package/dist/{PaymentCreatePage-DfvSZ-kB-CckogYoe.js.map → PaymentCreatePage-D6NZBUC3-_98S21Sa.js.map} +1 -1
- package/dist/{PaymentsPage-DMNjYWAJ-ChO9IXmk.js → PaymentsPage-CHieGNrn-ChCXEyck.js} +38 -38
- package/dist/{PaymentsPage-DMNjYWAJ-ChO9IXmk.js.map → PaymentsPage-CHieGNrn-ChCXEyck.js.map} +1 -1
- package/dist/{PermissionsModal-CCYkcKlC.js → PermissionsModal-Dxbkkrqe.js} +18 -18
- package/dist/PermissionsModal-Dxbkkrqe.js.map +1 -0
- package/dist/{PickupBatchLinesEditor-CE2RuyJT-BPceiJr8.js → PickupBatchLinesEditor-QPaqFtUO-BEtI5mIU.js} +2 -2
- package/dist/{PickupBatchLinesEditor-CE2RuyJT-BPceiJr8.js.map → PickupBatchLinesEditor-QPaqFtUO-BEtI5mIU.js.map} +1 -1
- package/dist/PickupCreatePage-C7_67u_u-DbDIZ1WC.js +801 -0
- package/dist/PickupCreatePage-C7_67u_u-DbDIZ1WC.js.map +1 -0
- package/dist/{PickupsPage-D7zyioJB-bHKnARYw.js → PickupsPage-BWblMlic-KehDMebm.js} +122 -122
- package/dist/PickupsPage-BWblMlic-KehDMebm.js.map +1 -0
- package/dist/PmGuard-BvUUbU80-DJipZoSg.js +641 -0
- package/dist/PmGuard-BvUUbU80-DJipZoSg.js.map +1 -0
- package/dist/ProductEditPage-Dbq4vUAA-DusAdAvm.js +1523 -0
- package/dist/ProductEditPage-Dbq4vUAA-DusAdAvm.js.map +1 -0
- package/dist/{ProductsPage-DvNHIeZt-BoOOJJtk.js → ProductsPage-BI22nPb4-D3GnWz34.js} +29 -29
- package/dist/{ProductsPage-DvNHIeZt-BoOOJJtk.js.map → ProductsPage-BI22nPb4-D3GnWz34.js.map} +1 -1
- package/dist/PurchaseCreatePage-C0EK9z4w-D4PlZsOH.js +724 -0
- package/dist/PurchaseCreatePage-C0EK9z4w-D4PlZsOH.js.map +1 -0
- package/dist/{PurchaseRequestDetailPage-CA9KFOfE-CtjG4Gx6.js → PurchaseRequestDetailPage-DhBuOGHZ-CAmlL4fP.js} +446 -436
- package/dist/PurchaseRequestDetailPage-DhBuOGHZ-CAmlL4fP.js.map +1 -0
- package/dist/{PurchaseRequestsPage-DS9i4o0--TpoxA5Kd.js → PurchaseRequestsPage-Bj9HUMxb-BCAhEEkL.js} +55 -55
- package/dist/{PurchaseRequestsPage-DS9i4o0--TpoxA5Kd.js.map → PurchaseRequestsPage-Bj9HUMxb-BCAhEEkL.js.map} +1 -1
- package/dist/{PurchasesPage-DgL5T6BY-DePUuE9l.js → PurchasesPage-Djl1AqD_-DxBRFRDy.js} +61 -61
- package/dist/{PurchasesPage-DgL5T6BY-DePUuE9l.js.map → PurchasesPage-Djl1AqD_-DxBRFRDy.js.map} +1 -1
- package/dist/{RoleManagement-s8iNx2Mu.js → RoleManagement-DVYufwy-.js} +3 -3
- package/dist/{RoleManagement-s8iNx2Mu.js.map → RoleManagement-DVYufwy-.js.map} +1 -1
- package/dist/Roles-BoNGJhtR.js +19 -0
- package/dist/Roles-BoNGJhtR.js.map +1 -0
- package/dist/{SaleCreatePage-CZnIOydv-DKBw-qp7.js → SaleCreatePage-DHBLmlBr-aEGmvJQq.js} +33 -33
- package/dist/{SaleCreatePage-CZnIOydv-DKBw-qp7.js.map → SaleCreatePage-DHBLmlBr-aEGmvJQq.js.map} +1 -1
- package/dist/{SalesPage-DPIRrC_O-M8rqnK7z.js → SalesPage-eF9Yr42z-CvOr82vo.js} +34 -34
- package/dist/SalesPage-eF9Yr42z-CvOr82vo.js.map +1 -0
- package/dist/SettingsPage-Cre-UE3r-CGTVp5Zw.js +741 -0
- package/dist/SettingsPage-Cre-UE3r-CGTVp5Zw.js.map +1 -0
- package/dist/{StorageUnitsPage-BDRkdCjW-UF64rf7q.js → StorageUnitsPage-CTEVuemZ-C7zkwKMz.js} +213 -190
- package/dist/StorageUnitsPage-CTEVuemZ-C7zkwKMz.js.map +1 -0
- package/dist/{SubMenu-BdMTYtC1.js → SubMenu-DZIhur09.js} +2 -2
- package/dist/{SubMenu-BdMTYtC1.js.map → SubMenu-DZIhur09.js.map} +1 -1
- package/dist/{TableDetails-BtafRxXb.js → TableDetails-Cc40dEUs.js} +272 -267
- package/dist/TableDetails-Cc40dEUs.js.map +1 -0
- package/dist/{TableList-Dpo6dO7S.js → TableList-B5tX4wII.js} +316 -312
- package/dist/TableList-B5tX4wII.js.map +1 -0
- package/dist/{TransactionsPage-CqWTMNU8-Df6eGFDW.js → TransactionsPage-Zuu7sjID-BDmUK7s1.js} +185 -170
- package/dist/TransactionsPage-Zuu7sjID-BDmUK7s1.js.map +1 -0
- package/dist/TransferCreatePage-DlT0nCDj-evHPJc99.js +635 -0
- package/dist/TransferCreatePage-DlT0nCDj-evHPJc99.js.map +1 -0
- package/dist/TransfersPage-DqaSvHda-DAUn5SSr.js +600 -0
- package/dist/TransfersPage-DqaSvHda-DAUn5SSr.js.map +1 -0
- package/dist/{TypeConfiguration-JbRCN6GR.js → TypeConfiguration-EaFiOzRE.js} +3 -3
- package/dist/{TypeConfiguration-JbRCN6GR.js.map → TypeConfiguration-EaFiOzRE.js.map} +1 -1
- package/dist/UserList-Cf5B-o_1.js +1904 -0
- package/dist/UserList-Cf5B-o_1.js.map +1 -0
- package/dist/Users-MC7txo1V.js +43 -0
- package/dist/{Users-CsJ08Kjm.js.map → Users-MC7txo1V.js.map} +1 -1
- package/dist/VaccineEducation-DWkNNasF.js +231 -0
- package/dist/VaccineEducation-DWkNNasF.js.map +1 -0
- package/dist/VaccineEducation.css +1 -0
- package/dist/VaccineEducationConfigurator-BFCvu5Mw.js +1450 -0
- package/dist/VaccineEducationConfigurator-BFCvu5Mw.js.map +1 -0
- package/dist/VaccineEducationConfigurator.css +1 -0
- package/dist/VaccineEducationList-BxZHahCh.js +334 -0
- package/dist/VaccineEducationList-BxZHahCh.js.map +1 -0
- package/dist/VialsPage-LoDaUqVv-Dw00Zc06.js +457 -0
- package/dist/VialsPage-LoDaUqVv-Dw00Zc06.js.map +1 -0
- package/dist/ckeditor5-_x14lrzc.js +49590 -0
- package/dist/ckeditor5-_x14lrzc.js.map +1 -0
- package/dist/ckeditor5.css +4 -0
- package/dist/{constants-DpXnLsAB-D6lN5cjK.js → constants-BTpJFQe_-CYPZIqQF.js} +160 -61
- package/dist/constants-BTpJFQe_-CYPZIqQF.js.map +1 -0
- package/dist/dashboardLayoutUtils--xUnoKPa.js +615 -0
- package/dist/dashboardLayoutUtils--xUnoKPa.js.map +1 -0
- package/dist/faqMedia-FDpje7v0.js +234 -0
- package/dist/faqMedia-FDpje7v0.js.map +1 -0
- package/dist/index-mfoqII2U.js +524 -0
- package/dist/index-mfoqII2U.js.map +1 -0
- package/dist/{index-D9YNFPn9.js → index-o8Pyt1Bt.js} +445 -439
- package/dist/index-o8Pyt1Bt.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/{index.lib-ETRQOzvE.js → index.lib-QDEODnRT.js} +409 -327
- package/dist/index.lib-QDEODnRT.js.map +1 -0
- package/dist/listValueStore-5d4vNGQM-DB08drLf.js +43 -0
- package/dist/listValueStore-5d4vNGQM-DB08drLf.js.map +1 -0
- package/dist/proxy-C4gcRXzG.js +5265 -0
- package/dist/proxy-C4gcRXzG.js.map +1 -0
- package/package.json +7 -2
- package/dist/AccessRights-DUgY6ewy.js +0 -1031
- package/dist/AccessRights-DUgY6ewy.js.map +0 -1
- package/dist/AddMenuConfiguration-c6ZKiN0i.js +0 -8898
- package/dist/AddMenuConfiguration-c6ZKiN0i.js.map +0 -1
- package/dist/ChangePasswordModalCore-lQ9GamH1.js +0 -5494
- package/dist/ChangePasswordModalCore-lQ9GamH1.js.map +0 -1
- package/dist/EntityManagement-CPQL6qBj.js +0 -50
- package/dist/EntityManagement-CPQL6qBj.js.map +0 -1
- package/dist/EventsUi-D6O9S7BK.js.map +0 -1
- package/dist/FacilityPicker-DYl_PDyt-Cbwo2tAY.js +0 -79
- package/dist/FacilityPicker-DYl_PDyt-Cbwo2tAY.js.map +0 -1
- package/dist/ImmunizationConfigurationBase-aUtx0JEe.js.map +0 -1
- package/dist/InventoryPage-DOotGZrj-CoPjOJEI.js +0 -665
- package/dist/InventoryPage-DOotGZrj-CoPjOJEI.js.map +0 -1
- package/dist/ManageDynamicFeature-BU0I45dd.js.map +0 -1
- package/dist/ManageRole-CNZBRKGU.js +0 -776
- package/dist/ManageRole-CNZBRKGU.js.map +0 -1
- package/dist/MobileAnalytics-BLOionG_.js +0 -17301
- package/dist/MobileAnalytics-BLOionG_.js.map +0 -1
- package/dist/MobileMenuManagement-68Wijb0X.js +0 -220
- package/dist/MobileMenuManagement-68Wijb0X.js.map +0 -1
- package/dist/NewServerManagement-Cxe0dV0O.js.map +0 -1
- package/dist/OtherTypeEventConfigModal-stNmuSv_.js +0 -1812
- package/dist/OtherTypeEventConfigModal-stNmuSv_.js.map +0 -1
- package/dist/PermissionsModal-CCYkcKlC.js.map +0 -1
- package/dist/PickupCreatePage-B4O_-vE5-DoOo9nJO.js +0 -783
- package/dist/PickupCreatePage-B4O_-vE5-DoOo9nJO.js.map +0 -1
- package/dist/PickupsPage-D7zyioJB-bHKnARYw.js.map +0 -1
- package/dist/PmGuard-BZE-y4In-D_pUm5MP.js +0 -599
- package/dist/PmGuard-BZE-y4In-D_pUm5MP.js.map +0 -1
- package/dist/ProductEditPage-BVlVUCtD-BR-tJ5Wb.js +0 -1305
- package/dist/ProductEditPage-BVlVUCtD-BR-tJ5Wb.js.map +0 -1
- package/dist/PurchaseCreatePage-Cq_i9snz-DRtHHFWw.js +0 -675
- package/dist/PurchaseCreatePage-Cq_i9snz-DRtHHFWw.js.map +0 -1
- package/dist/PurchaseRequestDetailPage-CA9KFOfE-CtjG4Gx6.js.map +0 -1
- package/dist/Roles-BIyiic67.js +0 -14
- package/dist/Roles-BIyiic67.js.map +0 -1
- package/dist/SalesPage-DPIRrC_O-M8rqnK7z.js.map +0 -1
- package/dist/SettingsPage-BC_R6Z-Q-CKNt9zRu.js +0 -676
- package/dist/SettingsPage-BC_R6Z-Q-CKNt9zRu.js.map +0 -1
- package/dist/StorageUnitsPage-BDRkdCjW-UF64rf7q.js.map +0 -1
- package/dist/TableDetails-BtafRxXb.js.map +0 -1
- package/dist/TableList-Dpo6dO7S.js.map +0 -1
- package/dist/TransactionsPage-CqWTMNU8-Df6eGFDW.js.map +0 -1
- package/dist/TransferCreatePage-DF7FZaTJ-CL79V3aR.js +0 -315
- package/dist/TransferCreatePage-DF7FZaTJ-CL79V3aR.js.map +0 -1
- package/dist/TransfersPage-CGrRFaBF-cTwBUv0o.js +0 -476
- package/dist/TransfersPage-CGrRFaBF-cTwBUv0o.js.map +0 -1
- package/dist/UserList-L41Xw0Q6.js +0 -1129
- package/dist/UserList-L41Xw0Q6.js.map +0 -1
- package/dist/Users-CsJ08Kjm.js +0 -40
- package/dist/VialsPage-rvvXjgZG-Oqo1v6kQ.js +0 -321
- package/dist/VialsPage-rvvXjgZG-Oqo1v6kQ.js.map +0 -1
- package/dist/constants-DpXnLsAB-D6lN5cjK.js.map +0 -1
- package/dist/dashboardLayoutUtils-CJivzaU1.js +0 -408
- package/dist/dashboardLayoutUtils-CJivzaU1.js.map +0 -1
- package/dist/index-D9YNFPn9.js.map +0 -1
- package/dist/index.lib-ETRQOzvE.js.map +0 -1
- package/dist/listValueStore-BFQtDYIR-Bj0yX145.js +0 -36
- package/dist/listValueStore-BFQtDYIR-Bj0yX145.js.map +0 -1
|
@@ -1,93 +1,99 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { lazy as
|
|
3
|
-
import { createSlice as
|
|
4
|
-
import { execute as f, executeAll as
|
|
5
|
-
import { api as
|
|
6
|
-
import './index.css';const
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { lazy as c } from "react";
|
|
3
|
+
import { createSlice as Z } from "@reduxjs/toolkit";
|
|
4
|
+
import { execute as f, executeAll as J } from "@/common/services/GlobalApis";
|
|
5
|
+
import { api as U } from "@/common/interceptors/AxiosInterceptor";
|
|
6
|
+
import './index.css';const s = c(
|
|
7
7
|
() => import("@/views/feature-components/VerifyRoute.jsx")
|
|
8
|
-
),
|
|
8
|
+
), K = c(() => import("./RoleManagement-DVYufwy-.js")), Y = c(
|
|
9
9
|
() => import("./QueryBuilder-CXaBe6sr.js").then((e) => e.Q)
|
|
10
|
-
),
|
|
10
|
+
), ee = c(() => import("./UserList-Cf5B-o_1.js")), V = c(() => import("./ManageUser-DchUMAyC.js").then((e) => e.M)), te = c(
|
|
11
11
|
() => import("./QueryManagement-BIhEDKuA.js")
|
|
12
|
-
),
|
|
13
|
-
() => import("./NewServerManagement-
|
|
14
|
-
),
|
|
15
|
-
() => import("./ManageDynamicFeature-
|
|
16
|
-
),
|
|
12
|
+
), ie = c(() => import("./FeatureMenu-CaI-ZhSZ.js").then((e) => e.F)), ae = c(() => import("./index-o8Pyt1Bt.js")), ne = c(
|
|
13
|
+
() => import("./NewServerManagement-BdayO78D.js")
|
|
14
|
+
), G = c(
|
|
15
|
+
() => import("./ManageDynamicFeature-CuyYfx_P.js")
|
|
16
|
+
), re = c(
|
|
17
17
|
() => import("./SecurityAuditLogList-Dod711KT.js")
|
|
18
|
-
),
|
|
19
|
-
() => import("./EventConfigurations-
|
|
20
|
-
),
|
|
21
|
-
() => import("./ManageEventConfiguration-
|
|
22
|
-
),
|
|
23
|
-
() => import("./EntityManagement-
|
|
24
|
-
),
|
|
25
|
-
() => import("./MobileAnalytics-
|
|
26
|
-
),
|
|
27
|
-
() => import("./MobileMenuManagement-
|
|
28
|
-
),
|
|
29
|
-
() => import("./AddMenuConfiguration-
|
|
30
|
-
),
|
|
18
|
+
), le = c(
|
|
19
|
+
() => import("./EventConfigurations-B-z7xHh_.js")
|
|
20
|
+
), C = c(
|
|
21
|
+
() => import("./ManageEventConfiguration-DqPbn3Oi.js")
|
|
22
|
+
), oe = c(
|
|
23
|
+
() => import("./EntityManagement-BGwJGl9k.js")
|
|
24
|
+
), se = c(
|
|
25
|
+
() => import("./MobileAnalytics-C9oc2yAo.js")
|
|
26
|
+
), ce = c(
|
|
27
|
+
() => import("./MobileMenuManagement-BmzTPXy7.js")
|
|
28
|
+
), de = c(
|
|
29
|
+
() => import("./AddMenuConfiguration-Creeib5X.js")
|
|
30
|
+
), me = c(
|
|
31
31
|
() => import("./ManageTranslation-vRiptUAP.js").then((e) => e.j)
|
|
32
|
-
),
|
|
32
|
+
), ue = c(
|
|
33
33
|
() => import("./WidgetList-D7YuWfDD.js")
|
|
34
|
-
),
|
|
34
|
+
), pe = c(
|
|
35
35
|
() => import("./NotificationList-DEyRZEuM.js").then((e) => e.N)
|
|
36
|
-
),
|
|
36
|
+
), ge = c(
|
|
37
37
|
() => import("./ImmunizationConfigurationsList-TZcLDEci.js")
|
|
38
|
-
),
|
|
38
|
+
), O = c(
|
|
39
39
|
() => import("./manageImmunization-B4swS745.js")
|
|
40
|
-
),
|
|
41
|
-
() => import("./ImmunizationConfigurationBase-
|
|
42
|
-
),
|
|
43
|
-
() => import("./
|
|
44
|
-
),
|
|
45
|
-
() => import("./
|
|
46
|
-
),
|
|
47
|
-
() => import("./
|
|
48
|
-
),
|
|
40
|
+
), Te = c(
|
|
41
|
+
() => import("./ImmunizationConfigurationBase-Clkk0-n6.js").then((e) => e.aq)
|
|
42
|
+
), fe = c(
|
|
43
|
+
() => import("./VaccineEducationList-BxZHahCh.js")
|
|
44
|
+
), Ie = c(
|
|
45
|
+
() => import("./VaccineEducationConfigurator-BFCvu5Mw.js")
|
|
46
|
+
), be = c(
|
|
47
|
+
() => import("./FhirServerList-CrIHMAxz.js")
|
|
48
|
+
), he = c(
|
|
49
|
+
() => import("./FhirServerWizard-Db6Hm4bQ.js")
|
|
50
|
+
), ye = c(
|
|
51
|
+
() => import("./FhirServerProfile-D3aYcpwY.js")
|
|
52
|
+
), Ee = c(
|
|
49
53
|
() => import("./FhirRawResourceList-ZZFd7gTX.js")
|
|
50
|
-
),
|
|
54
|
+
), Me = c(
|
|
55
|
+
() => import("./LocationWiseExpectedTargetPage-CjKk1aTF.js")
|
|
56
|
+
), Ae = c(() => import("./FaqList-CeDEuhU_.js")), B = c(() => import("./ManageFaq-4cT6bntx.js")), ve = c(() => import("./FaqView-sDzBVyXV.js")), st = [
|
|
51
57
|
{
|
|
52
58
|
path: "medplat/manage/role",
|
|
53
|
-
element: /* @__PURE__ */
|
|
54
|
-
|
|
59
|
+
element: /* @__PURE__ */ o(
|
|
60
|
+
s,
|
|
55
61
|
{
|
|
56
62
|
headerTitle: "Roles",
|
|
57
63
|
pageTitle: "General",
|
|
58
64
|
url: "medplat/manage/role",
|
|
59
|
-
component:
|
|
65
|
+
component: K
|
|
60
66
|
}
|
|
61
67
|
)
|
|
62
68
|
},
|
|
63
69
|
{
|
|
64
70
|
path: "medplat/manage/query",
|
|
65
|
-
element: /* @__PURE__ */
|
|
66
|
-
|
|
71
|
+
element: /* @__PURE__ */ o(
|
|
72
|
+
s,
|
|
67
73
|
{
|
|
68
74
|
headerTitle: "Query Master",
|
|
69
75
|
pageTitle: "General",
|
|
70
76
|
url: "medplat/manage/query",
|
|
71
|
-
component:
|
|
77
|
+
component: Y
|
|
72
78
|
}
|
|
73
79
|
)
|
|
74
80
|
},
|
|
75
81
|
{
|
|
76
82
|
path: "medplat/manage/users",
|
|
77
|
-
element: /* @__PURE__ */
|
|
78
|
-
|
|
83
|
+
element: /* @__PURE__ */ o(
|
|
84
|
+
s,
|
|
79
85
|
{
|
|
80
86
|
headerTitle: "Users",
|
|
81
87
|
pageTitle: "UserList",
|
|
82
88
|
url: "medplat/manage/users",
|
|
83
|
-
component:
|
|
89
|
+
component: ee
|
|
84
90
|
}
|
|
85
91
|
)
|
|
86
92
|
},
|
|
87
93
|
{
|
|
88
94
|
path: "medplat/manage/user",
|
|
89
|
-
element: /* @__PURE__ */
|
|
90
|
-
|
|
95
|
+
element: /* @__PURE__ */ o(
|
|
96
|
+
s,
|
|
91
97
|
{
|
|
92
98
|
headerTitle: "Users",
|
|
93
99
|
pageTitle: "ManageUser",
|
|
@@ -98,8 +104,8 @@ import './index.css';const d = m(
|
|
|
98
104
|
},
|
|
99
105
|
{
|
|
100
106
|
path: "medplat/manage/user/:id",
|
|
101
|
-
element: /* @__PURE__ */
|
|
102
|
-
|
|
107
|
+
element: /* @__PURE__ */ o(
|
|
108
|
+
s,
|
|
103
109
|
{
|
|
104
110
|
headerTitle: "Users",
|
|
105
111
|
pageTitle: "General",
|
|
@@ -110,92 +116,92 @@ import './index.css';const d = m(
|
|
|
110
116
|
},
|
|
111
117
|
{
|
|
112
118
|
path: "medplat/querymanagement",
|
|
113
|
-
element: /* @__PURE__ */
|
|
114
|
-
|
|
119
|
+
element: /* @__PURE__ */ o(
|
|
120
|
+
s,
|
|
115
121
|
{
|
|
116
122
|
headerTitle: "Query Management",
|
|
117
123
|
pageTitle: "General",
|
|
118
124
|
url: "medplat/querymanagement",
|
|
119
|
-
component:
|
|
125
|
+
component: te
|
|
120
126
|
}
|
|
121
127
|
)
|
|
122
128
|
},
|
|
123
129
|
{
|
|
124
130
|
path: "medplat/manage/menu",
|
|
125
|
-
element: /* @__PURE__ */
|
|
126
|
-
|
|
131
|
+
element: /* @__PURE__ */ o(
|
|
132
|
+
s,
|
|
127
133
|
{
|
|
128
134
|
headerTitle: "Features",
|
|
129
135
|
pageTitle: "General",
|
|
130
136
|
url: "medplat/manage/menu",
|
|
131
|
-
component:
|
|
137
|
+
component: ie
|
|
132
138
|
}
|
|
133
139
|
)
|
|
134
140
|
},
|
|
135
141
|
{
|
|
136
142
|
path: "medplat/manage/menu/addfeature",
|
|
137
|
-
element: /* @__PURE__ */
|
|
138
|
-
|
|
143
|
+
element: /* @__PURE__ */ o(
|
|
144
|
+
s,
|
|
139
145
|
{
|
|
140
146
|
headerTitle: "Features",
|
|
141
147
|
pageTitle: "General",
|
|
142
148
|
url: "medplat/manage/menu",
|
|
143
|
-
component:
|
|
149
|
+
component: G
|
|
144
150
|
}
|
|
145
151
|
)
|
|
146
152
|
},
|
|
147
153
|
{
|
|
148
154
|
path: "medplat/manage/menu/addDynamicFeature",
|
|
149
|
-
element: /* @__PURE__ */
|
|
150
|
-
|
|
155
|
+
element: /* @__PURE__ */ o(
|
|
156
|
+
s,
|
|
151
157
|
{
|
|
152
158
|
headerTitle: "Features",
|
|
153
159
|
pageTitle: "General",
|
|
154
160
|
url: "medplat/manage/menu",
|
|
155
|
-
component:
|
|
161
|
+
component: G
|
|
156
162
|
}
|
|
157
163
|
)
|
|
158
164
|
},
|
|
159
165
|
{
|
|
160
166
|
path: "medplat/notification/all",
|
|
161
|
-
element: /* @__PURE__ */
|
|
162
|
-
|
|
167
|
+
element: /* @__PURE__ */ o(
|
|
168
|
+
s,
|
|
163
169
|
{
|
|
164
170
|
headerTitle: "Event Configuration",
|
|
165
171
|
pageTitle: "General",
|
|
166
172
|
url: "medplat/notification/all",
|
|
167
|
-
component:
|
|
173
|
+
component: le
|
|
168
174
|
}
|
|
169
175
|
)
|
|
170
176
|
},
|
|
171
177
|
{
|
|
172
178
|
path: "medplat/views/config",
|
|
173
|
-
element: /* @__PURE__ */
|
|
174
|
-
|
|
179
|
+
element: /* @__PURE__ */ o(
|
|
180
|
+
s,
|
|
175
181
|
{
|
|
176
182
|
headerTitle: "Event Configuration",
|
|
177
183
|
pageTitle: "General",
|
|
178
184
|
url: "medplat/notification",
|
|
179
|
-
component:
|
|
185
|
+
component: C
|
|
180
186
|
}
|
|
181
187
|
)
|
|
182
188
|
},
|
|
183
189
|
{
|
|
184
190
|
path: "medplat/views/config/:id",
|
|
185
|
-
element: /* @__PURE__ */
|
|
186
|
-
|
|
191
|
+
element: /* @__PURE__ */ o(
|
|
192
|
+
s,
|
|
187
193
|
{
|
|
188
194
|
headerTitle: "Event Configuration",
|
|
189
195
|
pageTitle: "General",
|
|
190
196
|
url: "medplat/notification",
|
|
191
|
-
component:
|
|
197
|
+
component: C
|
|
192
198
|
}
|
|
193
199
|
)
|
|
194
200
|
},
|
|
195
201
|
{
|
|
196
202
|
path: "medplat/admin/newServerManagement",
|
|
197
|
-
element: /* @__PURE__ */
|
|
198
|
-
|
|
203
|
+
element: /* @__PURE__ */ o(
|
|
204
|
+
s,
|
|
199
205
|
{
|
|
200
206
|
headerTitle: "Server Management",
|
|
201
207
|
url: "medplat/admin/newServerManagement",
|
|
@@ -205,196 +211,272 @@ import './index.css';const d = m(
|
|
|
205
211
|
},
|
|
206
212
|
{
|
|
207
213
|
path: "medplat/admin/mobileEntityManagement",
|
|
208
|
-
element: /* @__PURE__ */
|
|
209
|
-
|
|
214
|
+
element: /* @__PURE__ */ o(
|
|
215
|
+
s,
|
|
210
216
|
{
|
|
211
217
|
pageTitle: "General",
|
|
212
218
|
url: "medplat/admin/mobileEntityManagement",
|
|
213
|
-
component:
|
|
219
|
+
component: oe,
|
|
214
220
|
headerTitle: "Mobile Database Management"
|
|
215
221
|
}
|
|
216
222
|
)
|
|
217
223
|
},
|
|
218
224
|
{
|
|
219
225
|
path: "medplat/admin/mobileAnalytics",
|
|
220
|
-
element: /* @__PURE__ */
|
|
221
|
-
|
|
226
|
+
element: /* @__PURE__ */ o(
|
|
227
|
+
s,
|
|
222
228
|
{
|
|
223
229
|
url: "medplat/admin/mobileAnalytics",
|
|
224
|
-
component:
|
|
230
|
+
component: se,
|
|
225
231
|
headerTitle: "Mobile Analytics"
|
|
226
232
|
}
|
|
227
233
|
)
|
|
228
234
|
},
|
|
229
235
|
{
|
|
230
236
|
path: "medplat/admin/mobileMenuManagement",
|
|
231
|
-
element: /* @__PURE__ */
|
|
232
|
-
|
|
237
|
+
element: /* @__PURE__ */ o(
|
|
238
|
+
s,
|
|
233
239
|
{
|
|
234
240
|
url: "medplat/admin/mobileMenuManagement",
|
|
235
|
-
component: /* @__PURE__ */
|
|
241
|
+
component: /* @__PURE__ */ o(ce, {}),
|
|
236
242
|
headerTitle: "Mobile Menu Management"
|
|
237
243
|
}
|
|
238
244
|
)
|
|
239
245
|
},
|
|
240
246
|
{
|
|
241
247
|
path: "medplat/admin/mobileMenuManagement/addMenuConfiguration",
|
|
242
|
-
element: /* @__PURE__ */
|
|
248
|
+
element: /* @__PURE__ */ o(de, {})
|
|
243
249
|
},
|
|
244
250
|
{
|
|
245
251
|
path: "medplat/manage/manageTranslation",
|
|
246
|
-
element: /* @__PURE__ */
|
|
247
|
-
|
|
252
|
+
element: /* @__PURE__ */ o(
|
|
253
|
+
s,
|
|
248
254
|
{
|
|
249
255
|
headerTitle: "Manage Translation",
|
|
250
256
|
pageTitle: "General",
|
|
251
257
|
url: "medplat/manage/manageTranslation",
|
|
252
|
-
component:
|
|
258
|
+
component: me
|
|
253
259
|
}
|
|
254
260
|
)
|
|
255
261
|
},
|
|
256
262
|
{
|
|
257
263
|
path: "medplat/manage/managewidgets",
|
|
258
|
-
element: /* @__PURE__ */
|
|
259
|
-
|
|
264
|
+
element: /* @__PURE__ */ o(
|
|
265
|
+
s,
|
|
260
266
|
{
|
|
261
267
|
headerTitle: "Widgets",
|
|
262
268
|
pageTitle: "General",
|
|
263
269
|
url: "medplat/manage/manage-widgets",
|
|
264
|
-
component:
|
|
270
|
+
component: ue
|
|
265
271
|
}
|
|
266
272
|
)
|
|
267
273
|
},
|
|
268
274
|
{
|
|
269
275
|
path: "medplat/manage/notification",
|
|
270
|
-
element: /* @__PURE__ */
|
|
271
|
-
|
|
276
|
+
element: /* @__PURE__ */ o(
|
|
277
|
+
s,
|
|
272
278
|
{
|
|
273
279
|
headerTitle: "Notification Configuration",
|
|
274
280
|
pageTitle: "General",
|
|
275
281
|
url: "medplat/manage/notification",
|
|
276
|
-
component:
|
|
282
|
+
component: pe
|
|
277
283
|
}
|
|
278
284
|
)
|
|
279
285
|
},
|
|
280
286
|
{
|
|
281
287
|
path: "medplat/manage/immunizationConfiguratorList",
|
|
282
|
-
element: /* @__PURE__ */
|
|
283
|
-
|
|
288
|
+
element: /* @__PURE__ */ o(
|
|
289
|
+
s,
|
|
284
290
|
{
|
|
285
291
|
headerTitle: "Immunizations",
|
|
286
292
|
pageTitle: "General",
|
|
287
293
|
url: "medplat/manage/manageTranslation",
|
|
288
|
-
component:
|
|
294
|
+
component: ge
|
|
289
295
|
}
|
|
290
296
|
)
|
|
291
297
|
},
|
|
292
298
|
{
|
|
293
299
|
path: "medplat/manage/manageImmunization",
|
|
294
|
-
element: /* @__PURE__ */
|
|
295
|
-
|
|
300
|
+
element: /* @__PURE__ */ o(
|
|
301
|
+
s,
|
|
296
302
|
{
|
|
297
303
|
headerTitle: "Immunizations",
|
|
298
304
|
pageTitle: "General",
|
|
299
305
|
url: "medplat/training/question",
|
|
300
|
-
component:
|
|
306
|
+
component: O
|
|
301
307
|
}
|
|
302
308
|
)
|
|
303
309
|
},
|
|
304
310
|
{
|
|
305
311
|
path: "medplat/manage/manageImmunization/:id",
|
|
306
|
-
element: /* @__PURE__ */
|
|
307
|
-
|
|
312
|
+
element: /* @__PURE__ */ o(
|
|
313
|
+
s,
|
|
308
314
|
{
|
|
309
315
|
headerTitle: "Immunizations",
|
|
310
316
|
pageTitle: "General",
|
|
311
317
|
url: "medplat/training/question",
|
|
312
|
-
component:
|
|
318
|
+
component: O
|
|
313
319
|
}
|
|
314
320
|
)
|
|
315
321
|
},
|
|
316
322
|
{
|
|
317
323
|
path: "medplat/manage/immunizationConfiguration",
|
|
318
|
-
element: /* @__PURE__ */
|
|
319
|
-
|
|
324
|
+
element: /* @__PURE__ */ o(
|
|
325
|
+
s,
|
|
320
326
|
{
|
|
321
327
|
headerTitle: "Immunization Configuration",
|
|
322
328
|
pageTitle: "General",
|
|
323
329
|
url: "medplat/manage/immunizationConfiguration",
|
|
324
|
-
component:
|
|
330
|
+
component: Te
|
|
331
|
+
}
|
|
332
|
+
)
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
path: "medplat/manage/vaccineEducation",
|
|
336
|
+
element: /* @__PURE__ */ o(
|
|
337
|
+
s,
|
|
338
|
+
{
|
|
339
|
+
headerTitle: "Vaccine Education",
|
|
340
|
+
pageTitle: "General",
|
|
341
|
+
url: "medplat/manage/immunizationConfiguration",
|
|
342
|
+
component: fe
|
|
343
|
+
}
|
|
344
|
+
)
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
path: "medplat/manage/vaccineEducation/:vaccineId",
|
|
348
|
+
element: /* @__PURE__ */ o(
|
|
349
|
+
s,
|
|
350
|
+
{
|
|
351
|
+
headerTitle: "Vaccine Education",
|
|
352
|
+
pageTitle: "General",
|
|
353
|
+
url: "medplat/manage/immunizationConfiguration",
|
|
354
|
+
component: Ie
|
|
325
355
|
}
|
|
326
356
|
)
|
|
327
357
|
},
|
|
328
358
|
{
|
|
329
359
|
path: "medplat/manage/securityAuditLogs",
|
|
330
|
-
element: /* @__PURE__ */
|
|
331
|
-
|
|
360
|
+
element: /* @__PURE__ */ o(
|
|
361
|
+
s,
|
|
332
362
|
{
|
|
333
363
|
headerTitle: "Security Audit Logs",
|
|
334
364
|
pageTitle: "Security Audit Logs",
|
|
335
365
|
url: "medplat/manage/securityAuditLogs",
|
|
336
|
-
component:
|
|
366
|
+
component: re
|
|
337
367
|
}
|
|
338
368
|
)
|
|
339
369
|
},
|
|
340
370
|
{
|
|
341
371
|
path: "medplat/manage/activityAnalytics",
|
|
342
|
-
element: /* @__PURE__ */
|
|
343
|
-
|
|
372
|
+
element: /* @__PURE__ */ o(
|
|
373
|
+
s,
|
|
344
374
|
{
|
|
345
375
|
headerTitle: "Activity Analytics",
|
|
346
376
|
url: "medplat/manage/activityAnalytics",
|
|
347
|
-
component:
|
|
377
|
+
component: ae
|
|
348
378
|
}
|
|
349
379
|
)
|
|
350
380
|
},
|
|
351
381
|
{
|
|
352
382
|
path: "medplat/admin/fhirResource",
|
|
353
|
-
element: /* @__PURE__ */
|
|
354
|
-
|
|
383
|
+
element: /* @__PURE__ */ o(
|
|
384
|
+
s,
|
|
355
385
|
{
|
|
356
386
|
headerTitle: "FHIR Sync",
|
|
357
387
|
pageTitle: "General",
|
|
358
388
|
url: "medplat/admin/fhirResource",
|
|
359
|
-
component:
|
|
389
|
+
component: be
|
|
360
390
|
}
|
|
361
391
|
)
|
|
362
392
|
},
|
|
363
393
|
{
|
|
364
394
|
path: "medplat/admin/fhirResource/new",
|
|
365
|
-
element: /* @__PURE__ */
|
|
366
|
-
|
|
395
|
+
element: /* @__PURE__ */ o(
|
|
396
|
+
s,
|
|
367
397
|
{
|
|
368
398
|
headerTitle: "Connect FHIR Server",
|
|
369
399
|
pageTitle: "General",
|
|
370
400
|
url: "medplat/admin/fhirResource",
|
|
371
|
-
component:
|
|
401
|
+
component: he
|
|
372
402
|
}
|
|
373
403
|
)
|
|
374
404
|
},
|
|
375
405
|
{
|
|
376
406
|
path: "medplat/admin/fhirResource/:serverId",
|
|
377
|
-
element: /* @__PURE__ */
|
|
378
|
-
|
|
407
|
+
element: /* @__PURE__ */ o(
|
|
408
|
+
s,
|
|
379
409
|
{
|
|
380
410
|
headerTitle: "FHIR Server",
|
|
381
411
|
pageTitle: "General",
|
|
382
412
|
url: "medplat/admin/fhirResource",
|
|
383
|
-
component:
|
|
413
|
+
component: ye
|
|
384
414
|
}
|
|
385
415
|
)
|
|
386
416
|
},
|
|
387
417
|
{
|
|
388
418
|
path: "medplat/admin/fhirResource/:serverId/staging",
|
|
389
|
-
element: /* @__PURE__ */
|
|
390
|
-
|
|
419
|
+
element: /* @__PURE__ */ o(
|
|
420
|
+
s,
|
|
391
421
|
{
|
|
392
422
|
headerTitle: "FHIR Staging Inbox",
|
|
393
423
|
pageTitle: "General",
|
|
394
424
|
url: "medplat/admin/fhirResource",
|
|
395
|
-
component:
|
|
425
|
+
component: Ee
|
|
426
|
+
}
|
|
427
|
+
)
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
path: "medplat/manage/locationWiseExpectedTarget",
|
|
431
|
+
element: /* @__PURE__ */ o(
|
|
432
|
+
s,
|
|
433
|
+
{
|
|
434
|
+
headerTitle: "Location Wise Expected Target",
|
|
435
|
+
pageTitle: "General",
|
|
436
|
+
url: "medplat/manage/locationWiseExpectedTarget",
|
|
437
|
+
component: Me
|
|
438
|
+
}
|
|
439
|
+
)
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
path: "medplat/manage/faqs",
|
|
443
|
+
element: /* @__PURE__ */ o(
|
|
444
|
+
s,
|
|
445
|
+
{
|
|
446
|
+
headerTitle: "FAQs",
|
|
447
|
+
pageTitle: "General",
|
|
448
|
+
url: "medplat/manage/faqs",
|
|
449
|
+
component: Ae
|
|
396
450
|
}
|
|
397
451
|
)
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
path: "medplat/manage/faq",
|
|
455
|
+
element: /* @__PURE__ */ o(
|
|
456
|
+
s,
|
|
457
|
+
{
|
|
458
|
+
headerTitle: "Manage FAQ",
|
|
459
|
+
pageTitle: "General",
|
|
460
|
+
url: "medplat/manage/faqs",
|
|
461
|
+
component: B
|
|
462
|
+
}
|
|
463
|
+
)
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
path: "medplat/manage/faq/:id",
|
|
467
|
+
element: /* @__PURE__ */ o(
|
|
468
|
+
s,
|
|
469
|
+
{
|
|
470
|
+
headerTitle: "Manage FAQ",
|
|
471
|
+
pageTitle: "General",
|
|
472
|
+
url: "medplat/manage/faqs",
|
|
473
|
+
component: B
|
|
474
|
+
}
|
|
475
|
+
)
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
path: "medplat/manage/faqList",
|
|
479
|
+
element: /* @__PURE__ */ o(ve, {})
|
|
398
480
|
}
|
|
399
481
|
], w = () => ({
|
|
400
482
|
vaccines: [],
|
|
@@ -422,47 +504,47 @@ import './index.css';const d = m(
|
|
|
422
504
|
featureRights: {},
|
|
423
505
|
isConfigLoaded: !1,
|
|
424
506
|
validationErrors: {}
|
|
425
|
-
}),
|
|
426
|
-
const
|
|
507
|
+
}), Fe = w(), D = (e = [], t = {}) => {
|
|
508
|
+
const a = e.findIndex(
|
|
427
509
|
(i) => t.id !== void 0 && (i == null ? void 0 : i.id) === t.id || t.code && (i == null ? void 0 : i.code) === t.code
|
|
428
510
|
);
|
|
429
|
-
return
|
|
430
|
-
(i, r) => r ===
|
|
511
|
+
return a === -1 ? [...e, t] : e.map(
|
|
512
|
+
(i, r) => r === a ? {
|
|
431
513
|
...i,
|
|
432
514
|
...t
|
|
433
515
|
} : i
|
|
434
516
|
);
|
|
435
|
-
},
|
|
517
|
+
}, $ = Z({
|
|
436
518
|
name: "immunization",
|
|
437
|
-
initialState:
|
|
519
|
+
initialState: Fe,
|
|
438
520
|
reducers: {
|
|
439
521
|
toggleVaccine: (e, t) => {
|
|
440
|
-
const
|
|
522
|
+
const a = t.payload;
|
|
441
523
|
Array.isArray(e.selectedVaccineIds) || (e.selectedVaccineIds = []);
|
|
442
|
-
const i = e.selectedVaccineIds.indexOf(
|
|
443
|
-
i > -1 ? e.selectedVaccineIds.splice(i, 1) : e.selectedVaccineIds.push(
|
|
524
|
+
const i = e.selectedVaccineIds.indexOf(a);
|
|
525
|
+
i > -1 ? e.selectedVaccineIds.splice(i, 1) : e.selectedVaccineIds.push(a);
|
|
444
526
|
},
|
|
445
527
|
setVaccines: (e, t) => {
|
|
446
|
-
const
|
|
447
|
-
e.vaccines =
|
|
528
|
+
const a = Array.isArray(t.payload) ? t.payload : [];
|
|
529
|
+
e.vaccines = a, e.selectedVaccineIds.length === 0 && (e.selectedVaccineIds = a.filter((i) => i.isActive).map((i) => i.id));
|
|
448
530
|
},
|
|
449
531
|
setSelectedVaccineIds: (e, t) => {
|
|
450
532
|
e.selectedVaccineIds = t.payload;
|
|
451
533
|
},
|
|
452
534
|
addCustomVaccine: (e, t) => {
|
|
453
|
-
const
|
|
535
|
+
const a = t.payload || {}, {
|
|
454
536
|
name: i,
|
|
455
537
|
vaccine_name: r,
|
|
456
|
-
disease:
|
|
457
|
-
target_prevention:
|
|
538
|
+
disease: n,
|
|
539
|
+
target_prevention: m,
|
|
458
540
|
id: g,
|
|
459
541
|
baseDateCode: u,
|
|
460
|
-
base_date_code:
|
|
461
|
-
recipientType:
|
|
542
|
+
base_date_code: I,
|
|
543
|
+
recipientType: d,
|
|
462
544
|
recipient_type: b
|
|
463
|
-
} =
|
|
545
|
+
} = a, T = i || r || "Unnamed Vaccine", N = n || m || "General", y = (Array.isArray(e.vaccines) ? e.vaccines : []).map((h) => Number(h == null ? void 0 : h.id)).filter((h) => !Number.isNaN(h)), p = y.length > 0 ? Math.max(...y) + 1 : 1, v = {
|
|
464
546
|
id: g || p,
|
|
465
|
-
name:
|
|
547
|
+
name: T,
|
|
466
548
|
category: N,
|
|
467
549
|
doses: 0,
|
|
468
550
|
doseType: "FIXED",
|
|
@@ -470,9 +552,9 @@ import './index.css';const d = m(
|
|
|
470
552
|
doseDetails: {},
|
|
471
553
|
regions: [],
|
|
472
554
|
dependencies: [],
|
|
473
|
-
isActive:
|
|
474
|
-
baseDateCode: u ||
|
|
475
|
-
recipientType:
|
|
555
|
+
isActive: a.isActive !== void 0 ? a.isActive : !1,
|
|
556
|
+
baseDateCode: u || I || null,
|
|
557
|
+
recipientType: d || b || ""
|
|
476
558
|
};
|
|
477
559
|
Array.isArray(e.vaccines) || (e.vaccines = []), e.vaccines.push(v);
|
|
478
560
|
},
|
|
@@ -480,11 +562,11 @@ import './index.css';const d = m(
|
|
|
480
562
|
e.currentViewId = t.payload;
|
|
481
563
|
},
|
|
482
564
|
updateScheduledVaccine: (e, t) => {
|
|
483
|
-
const
|
|
565
|
+
const a = t.payload, i = e.scheduledVaccines.findIndex((r) => r.id === a.id);
|
|
484
566
|
i !== -1 ? e.scheduledVaccines[i] = {
|
|
485
567
|
...e.scheduledVaccines[i],
|
|
486
|
-
...
|
|
487
|
-
} : e.scheduledVaccines.push(
|
|
568
|
+
...a
|
|
569
|
+
} : e.scheduledVaccines.push(a);
|
|
488
570
|
},
|
|
489
571
|
setBaseDatesMaster: (e, t) => {
|
|
490
572
|
e.baseDateMaster = t.payload;
|
|
@@ -499,24 +581,24 @@ import './index.css';const d = m(
|
|
|
499
581
|
e.filtersMaster = t.payload;
|
|
500
582
|
},
|
|
501
583
|
upsertBaseDateMasterItem: (e, t) => {
|
|
502
|
-
e.baseDateMaster =
|
|
584
|
+
e.baseDateMaster = D(e.baseDateMaster, t.payload);
|
|
503
585
|
},
|
|
504
586
|
upsertRecipientMasterItem: (e, t) => {
|
|
505
|
-
e.recipientMaster =
|
|
587
|
+
e.recipientMaster = D(e.recipientMaster, t.payload);
|
|
506
588
|
},
|
|
507
589
|
updateBaseDateMasterStatus: (e, t) => {
|
|
508
|
-
const { code:
|
|
590
|
+
const { code: a, is_active: i } = t.payload;
|
|
509
591
|
e.baseDateMaster = e.baseDateMaster.map(
|
|
510
|
-
(r) => r.code ===
|
|
592
|
+
(r) => r.code === a ? { ...r, is_active: i } : r
|
|
511
593
|
);
|
|
512
594
|
},
|
|
513
595
|
upsertFilterMasterItem: (e, t) => {
|
|
514
|
-
e.filtersMaster =
|
|
596
|
+
e.filtersMaster = D(e.filtersMaster, t.payload);
|
|
515
597
|
},
|
|
516
598
|
updateFilterMasterStatus: (e, t) => {
|
|
517
|
-
const { code:
|
|
599
|
+
const { code: a, is_active: i } = t.payload;
|
|
518
600
|
e.filtersMaster = e.filtersMaster.map(
|
|
519
|
-
(r) => r.code ===
|
|
601
|
+
(r) => r.code === a ? { ...r, is_active: i } : r
|
|
520
602
|
);
|
|
521
603
|
},
|
|
522
604
|
setFeatureRights: (e, t) => {
|
|
@@ -533,119 +615,119 @@ import './index.css';const d = m(
|
|
|
533
615
|
}));
|
|
534
616
|
},
|
|
535
617
|
setVaccineStatus: (e, t) => {
|
|
536
|
-
const { vaccineId:
|
|
618
|
+
const { vaccineId: a, status: i } = t.payload, r = e.vaccines.findIndex((m) => m.id === a);
|
|
537
619
|
r !== -1 && (e.vaccines[r].isActive = i), Array.isArray(e.selectedVaccineIds) || (e.selectedVaccineIds = []);
|
|
538
|
-
const
|
|
539
|
-
i &&
|
|
620
|
+
const n = e.selectedVaccineIds.indexOf(a);
|
|
621
|
+
i && n === -1 ? e.selectedVaccineIds.push(a) : !i && n !== -1 && e.selectedVaccineIds.splice(n, 1);
|
|
540
622
|
},
|
|
541
623
|
setValidationErrors: (e, t) => {
|
|
542
|
-
const { vaccineId:
|
|
543
|
-
e.validationErrors[
|
|
624
|
+
const { vaccineId: a, errors: i } = t.payload;
|
|
625
|
+
e.validationErrors[a] = i;
|
|
544
626
|
},
|
|
545
627
|
clearValidationErrors: (e, t) => {
|
|
546
|
-
const
|
|
547
|
-
|
|
628
|
+
const a = t.payload;
|
|
629
|
+
a ? delete e.validationErrors[a] : e.validationErrors = {};
|
|
548
630
|
}
|
|
549
631
|
}
|
|
550
632
|
}), {
|
|
551
|
-
toggleVaccine:
|
|
552
|
-
setVaccines:
|
|
553
|
-
addCustomVaccine:
|
|
554
|
-
setCurrentView:
|
|
555
|
-
updateScheduledVaccine:
|
|
556
|
-
setBaseDatesMaster:
|
|
557
|
-
setRecipientMaster:
|
|
558
|
-
setDbTablesMaster:
|
|
559
|
-
setFiltersMaster:
|
|
560
|
-
upsertBaseDateMasterItem:
|
|
561
|
-
upsertRecipientMasterItem:
|
|
562
|
-
updateBaseDateMasterStatus:
|
|
563
|
-
upsertFilterMasterItem:
|
|
564
|
-
updateFilterMasterStatus:
|
|
565
|
-
setFeatureRights:
|
|
566
|
-
setImmunizationConfigLoaded:
|
|
567
|
-
resetImmunizationState:
|
|
568
|
-
activateSelectedVaccines:
|
|
569
|
-
setSelectedVaccineIds:
|
|
570
|
-
setValidationErrors:
|
|
571
|
-
clearValidationErrors:
|
|
572
|
-
setVaccineStatus:
|
|
573
|
-
} =
|
|
633
|
+
toggleVaccine: ct,
|
|
634
|
+
setVaccines: dt,
|
|
635
|
+
addCustomVaccine: mt,
|
|
636
|
+
setCurrentView: ut,
|
|
637
|
+
updateScheduledVaccine: pt,
|
|
638
|
+
setBaseDatesMaster: gt,
|
|
639
|
+
setRecipientMaster: Tt,
|
|
640
|
+
setDbTablesMaster: ft,
|
|
641
|
+
setFiltersMaster: It,
|
|
642
|
+
upsertBaseDateMasterItem: bt,
|
|
643
|
+
upsertRecipientMasterItem: ht,
|
|
644
|
+
updateBaseDateMasterStatus: yt,
|
|
645
|
+
upsertFilterMasterItem: Et,
|
|
646
|
+
updateFilterMasterStatus: Mt,
|
|
647
|
+
setFeatureRights: At,
|
|
648
|
+
setImmunizationConfigLoaded: vt,
|
|
649
|
+
resetImmunizationState: Ft,
|
|
650
|
+
activateSelectedVaccines: Nt,
|
|
651
|
+
setSelectedVaccineIds: _t,
|
|
652
|
+
setValidationErrors: St,
|
|
653
|
+
clearValidationErrors: Lt,
|
|
654
|
+
setVaccineStatus: Rt
|
|
655
|
+
} = $.actions, Dt = $.reducer, q = (e) => !e || typeof e == "string" && e.toLowerCase() === "birth" ? 0 : Number.parseInt(e) || 0, E = (e, t) => {
|
|
574
656
|
if (!e || typeof e == "string" && e.toLowerCase() === "birth") return 0;
|
|
575
|
-
const
|
|
576
|
-
return t === "weeks" ?
|
|
577
|
-
}, x = (e) => e == null || String(e).trim() === "",
|
|
578
|
-
const i = {}, r = !x(e.overdueFrom),
|
|
657
|
+
const a = Number.parseInt(e) || 0;
|
|
658
|
+
return t === "weeks" ? a * 7 : t === "months" ? a * 30 : t === "years" ? a * 365 : a;
|
|
659
|
+
}, x = (e) => e == null || String(e).trim() === "", Ut = "lifelong", R = (e) => e === null, Ne = "LIFELONG", _e = (e, t = {}, a) => {
|
|
660
|
+
const i = {}, r = !x(e.overdueFrom), n = !x(e.overdueTill);
|
|
579
661
|
if (!r)
|
|
580
|
-
return
|
|
581
|
-
const
|
|
582
|
-
return
|
|
583
|
-
},
|
|
584
|
-
if (
|
|
585
|
-
const r = [],
|
|
586
|
-
return
|
|
587
|
-
const
|
|
588
|
-
(
|
|
589
|
-
const
|
|
590
|
-
if (t === "FIXED" &&
|
|
591
|
-
const F = Number.parseInt(
|
|
592
|
-
|
|
593
|
-
!h && (
|
|
662
|
+
return n && (i.overdueTill = "Set Overdue From first"), i;
|
|
663
|
+
const m = E(e.overdueFrom, t.overdueFrom || "days"), g = E(e.overdueTill, t.overdueTill || "days");
|
|
664
|
+
return m <= 0 ? i.overdueFrom = "Must be greater than 0" : a > 0 && m >= a && (i.overdueFrom = "Must be within the eligibility window"), n ? g <= m ? i.overdueTill = "Must be greater than Overdue From" : a > 0 && g > a && (i.overdueTill = "Must be within the eligibility window") : i.overdueTill = "Overdue Till is required", i;
|
|
665
|
+
}, Se = (e, t, a, i = {}) => {
|
|
666
|
+
if (a === 0) return null;
|
|
667
|
+
const r = [], n = Array.isArray(e) ? e : [e], m = i.eligibleFrom || "days", g = i.eligibleTo || "days", u = i.interval || "days", I = n.findIndex((d) => R(d == null ? void 0 : d.eligibleTo));
|
|
668
|
+
return n.forEach((d, b) => {
|
|
669
|
+
const T = d.units || {}, N = T.eligibleFrom || m, l = T.eligibleTo || g, y = T.interval || u, p = {}, A = E(d.eligibleFrom, N), v = E(d.eligibleTo, l), h = R(d.eligibleTo);
|
|
670
|
+
(d.eligibleFrom === void 0 || d.eligibleFrom === null || d.eligibleFrom === "") && b !== 0 && (p.eligibleFrom = "Eligible From is required"), !h && (d.eligibleTo === void 0 || d.eligibleTo === "" || E(d.eligibleTo, l) === 0) && (p.eligibleTo = "Eligible To is required");
|
|
671
|
+
const j = t === "FLEXIBLE" && b === n.length - 1;
|
|
672
|
+
if (t === "FIXED" && a > 1 || !j && t === "FLEXIBLE") {
|
|
673
|
+
const F = Number.parseInt(d.interval) || 0, _ = E(d.interval, y);
|
|
674
|
+
d.interval === void 0 || d.interval === null || d.interval === "" || F === 0 || d.interval === "0 days" ? p.interval = "Interval is required" : t === "FIXED" && a > 1 && // An open-ended window always has room for every dose.
|
|
675
|
+
!h && (a - 1) * _ > v - A && (p.interval = `Number of doses not possible in the window. Total interval exceeds available window (${v - A} days).`);
|
|
594
676
|
}
|
|
595
|
-
if (!h && v <= A &&
|
|
596
|
-
const F =
|
|
597
|
-
A <
|
|
677
|
+
if (!h && v <= A && d.eligibleFrom && d.eligibleTo && (p.eligibleTo = "Must be strictly greater than ELIGIBLE FROM"), t === "FLEXIBLE" && !h && I !== -1 && b > I && (p.eligibleTo = "Doses after a lifelong dose must also be lifelong"), t === "FLEXIBLE" && Object.assign(p, _e(d, T, h ? null : v - A)), b > 0 && t === "FLEXIBLE") {
|
|
678
|
+
const F = n[b - 1], _ = F.units || {}, H = _.eligibleFrom || m, k = _.interval || u, W = E(F.eligibleFrom, H), Q = E(F.interval, k);
|
|
679
|
+
A < W + Q && (p.eligibleFrom = "Must be greater than previous ELIGIBLE FROM and INTERVAL"), F.isBooster && !d.isBooster && (p.isBooster = "A regular dose cannot follow a booster dose");
|
|
598
680
|
}
|
|
599
681
|
Object.keys(p).length > 0 && (r[b] = p);
|
|
600
682
|
}), r.length > 0 ? r : null;
|
|
601
|
-
},
|
|
602
|
-
const t = [],
|
|
683
|
+
}, Le = (e) => {
|
|
684
|
+
const t = [], a = /* @__PURE__ */ new Set();
|
|
603
685
|
return e.forEach((i, r) => {
|
|
604
|
-
const
|
|
605
|
-
i.vaccine ? (
|
|
606
|
-
const
|
|
607
|
-
i.requirement === "Should be given" || i.requirement === "Optional" ? (
|
|
686
|
+
const n = {};
|
|
687
|
+
i.vaccine ? (a.has(i.vaccine) && (n.vaccine = "This vaccine is already added as a dependency"), a.add(i.vaccine)) : n.vaccine = "Vaccine selection is required";
|
|
688
|
+
const m = i.minGap === "" || i.minGap === null || i.minGap === void 0, g = i.maxGap === "" || i.maxGap === null || i.maxGap === void 0, u = q(i.minGap), I = q(i.maxGap);
|
|
689
|
+
i.requirement === "Should be given" || i.requirement === "Optional" ? (m ? n.minGap = "Gap cannot be empty" : u <= 0 && (n.minGap = "Must be greater than 0"), !m && !g && u > 0 && I > 0 && I <= u && (n.maxGap = "Max gap must be greater than Min Gap")) : (!m && u < 0 && (n.minGap = "Gap cannot be negative"), !g && I < 0 && (n.maxGap = "Gap cannot be negative")), Object.keys(n).length > 0 && (t[r] = n);
|
|
608
690
|
}), t.some((i) => i && Object.keys(i).length > 0) ? t : null;
|
|
609
|
-
},
|
|
610
|
-
const t = [],
|
|
691
|
+
}, Re = (e) => {
|
|
692
|
+
const t = [], a = /* @__PURE__ */ new Set();
|
|
611
693
|
return (e || []).forEach((i, r) => {
|
|
612
|
-
const
|
|
613
|
-
i.type ? (
|
|
694
|
+
const n = {};
|
|
695
|
+
i.type ? (a.has(i.type) && (n.type = "This type is already added"), a.add(i.type)) : n.type = "Type is required", (!i.value || i.value.trim() === "") && (n.value = "Value is required"), Object.keys(n).length > 0 && (t[r] = n);
|
|
614
696
|
}), t.some((i) => i && Object.keys(i).length > 0) ? t : null;
|
|
615
|
-
},
|
|
697
|
+
}, z = (e) => {
|
|
616
698
|
const t = String(e ?? "").trim().split(/\s+/);
|
|
617
699
|
return E(e, t.length > 1 ? t[t.length - 1] : "days");
|
|
618
|
-
},
|
|
700
|
+
}, De = (e) => {
|
|
619
701
|
const t = e.recurringBooster;
|
|
620
702
|
if (!t || e.doseType !== "FLEXIBLE")
|
|
621
703
|
return null;
|
|
622
|
-
const
|
|
623
|
-
return i >= 0 || (
|
|
624
|
-
},
|
|
625
|
-
var
|
|
626
|
-
const
|
|
627
|
-
(!e.name || e.name.trim() === "") && (
|
|
628
|
-
const i =
|
|
629
|
-
if (i && (
|
|
630
|
-
return Object.keys(
|
|
704
|
+
const a = {}, i = Number.parseInt(t.eligibleFrom, 10), r = Number.parseInt(t.interval, 10);
|
|
705
|
+
return i >= 0 || (a.eligibleFrom = "Eligible From is required"), r > 0 || (a.interval = "Interval must be greater than 0"), R(t.eligibleTo) || (Number.parseInt(t.eligibleTo, 10) > 0 ? z(t.eligibleTo) <= z(t.eligibleFrom) && (a.eligibleTo = "Must be strictly greater than Eligible From") : a.eligibleTo = "Eligible To is required, or set it to No end"), Object.keys(a).length > 0 ? a : null;
|
|
706
|
+
}, Vt = (e, t = !0) => {
|
|
707
|
+
var I;
|
|
708
|
+
const a = {};
|
|
709
|
+
(!e.name || e.name.trim() === "") && (a.name = "Vaccine Name is required"), e.recipientType || (a.recipientType = "Recipient Type is required"), e.baseDateCode || (a.baseDateCode = "Base Date is required");
|
|
710
|
+
const i = Re(e.codeSets || []);
|
|
711
|
+
if (i && (a.codeSets = i), !t)
|
|
712
|
+
return Object.keys(a).length > 0 ? a : null;
|
|
631
713
|
const r = e.doseType === "RECURRING";
|
|
632
|
-
!r && (!e.doses || e.doses === 0) && (
|
|
633
|
-
const
|
|
714
|
+
!r && (!e.doses || e.doses === 0) && (a.doses = "At least one dose is required");
|
|
715
|
+
const n = Se(
|
|
634
716
|
e.doseDetails,
|
|
635
717
|
r ? "FIXED" : e.doseType,
|
|
636
718
|
r ? 1 : e.doses,
|
|
637
719
|
e.durationUnits
|
|
638
720
|
);
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
r && !(Number.parseInt(
|
|
642
|
-
...
|
|
643
|
-
0: { ...((
|
|
721
|
+
n && (a.doseDetails = n);
|
|
722
|
+
const m = Array.isArray(e.doseDetails) ? e.doseDetails[0] : e.doseDetails;
|
|
723
|
+
r && !(Number.parseInt(m == null ? void 0 : m.interval, 10) > 0) && (a.doseDetails = {
|
|
724
|
+
...a.doseDetails || {},
|
|
725
|
+
0: { ...((I = a.doseDetails) == null ? void 0 : I[0]) || {}, interval: "Interval must be greater than 0" }
|
|
644
726
|
});
|
|
645
|
-
const g =
|
|
646
|
-
g && (
|
|
647
|
-
const u =
|
|
648
|
-
return u && (
|
|
727
|
+
const g = De(e);
|
|
728
|
+
g && (a.recurringBooster = g);
|
|
729
|
+
const u = Le(e.dependencies || []);
|
|
730
|
+
return u && (a.dependencies = u), Object.keys(a).length > 0 ? a : null;
|
|
649
731
|
}, M = (e, t) => {
|
|
650
732
|
if (e == null)
|
|
651
733
|
return t;
|
|
@@ -656,59 +738,59 @@ import './index.css';const d = m(
|
|
|
656
738
|
} catch {
|
|
657
739
|
return t;
|
|
658
740
|
}
|
|
659
|
-
}, S = (...e) => e.filter(Boolean).join("_"),
|
|
741
|
+
}, S = (...e) => e.filter(Boolean).join("_"), L = (e) => R(e) ? Ne : e === void 0 || e === "" || e === "N.A." || e === "null days" ? "N.A." : e, P = (e, t = "FLEXIBLE", a = 1) => {
|
|
660
742
|
const i = t === "RECURRING";
|
|
661
|
-
if (
|
|
743
|
+
if (a === 0 && !i || !e)
|
|
662
744
|
return "N.A.";
|
|
663
745
|
if (t === "FIXED" || i) {
|
|
664
|
-
const
|
|
665
|
-
if (!
|
|
746
|
+
const m = Array.isArray(e) ? e[0] : e;
|
|
747
|
+
if (!m)
|
|
666
748
|
return "N.A.";
|
|
667
|
-
const g =
|
|
749
|
+
const g = L(m.eligibleFrom), u = L(m.eligibleTo);
|
|
668
750
|
return g === "N.A." && u === "N.A." ? "N.A." : `${g} to ${u}`;
|
|
669
751
|
}
|
|
670
752
|
if (!Array.isArray(e) || e.length === 0)
|
|
671
753
|
return "N.A.";
|
|
672
|
-
const r =
|
|
754
|
+
const r = L(e[0].eligibleFrom), n = L(
|
|
673
755
|
e[e.length - 1].eligibleTo
|
|
674
756
|
);
|
|
675
|
-
return r === "N.A." &&
|
|
676
|
-
},
|
|
757
|
+
return r === "N.A." && n === "N.A." ? "N.A." : `${r} to ${n}`;
|
|
758
|
+
}, X = {
|
|
677
759
|
eligibleFrom: "days",
|
|
678
760
|
eligibleTo: "days",
|
|
679
761
|
interval: "days"
|
|
680
|
-
},
|
|
762
|
+
}, Ue = () => ({
|
|
681
763
|
productId: null,
|
|
682
764
|
noOfDoses: 0,
|
|
683
765
|
doseType: "FIXED",
|
|
684
766
|
doseEligibleFrom: void 0,
|
|
685
767
|
doseEligibleTo: void 0,
|
|
686
768
|
minGap: 0,
|
|
687
|
-
durationUnits: { ...
|
|
769
|
+
durationUnits: { ...X },
|
|
688
770
|
dose: [],
|
|
689
771
|
location: [],
|
|
690
772
|
validations: []
|
|
691
|
-
}),
|
|
692
|
-
const i = String(e.doseType || "").toLowerCase(), r = i === "fixed" || i === "na" || i === "recurring" || !e.doseType,
|
|
693
|
-
...
|
|
694
|
-
}),
|
|
773
|
+
}), Ve = (e, t, a) => {
|
|
774
|
+
const i = String(e.doseType || "").toLowerCase(), r = i === "fixed" || i === "na" || i === "recurring" || !e.doseType, n = M(e.durationUnits, {
|
|
775
|
+
...X
|
|
776
|
+
}), m = `${t}s${a}`, g = r ? [
|
|
695
777
|
{
|
|
696
|
-
id: S("fixed",
|
|
697
|
-
eligibleFrom: e.doseEligibleFrom !== void 0 && e.doseEligibleFrom !== null ? `${e.doseEligibleFrom} ${
|
|
778
|
+
id: S("fixed", m),
|
|
779
|
+
eligibleFrom: e.doseEligibleFrom !== void 0 && e.doseEligibleFrom !== null ? `${e.doseEligibleFrom} ${n.eligibleFrom || "days"}` : "",
|
|
698
780
|
// NULL is the stored form of a lifelong window — see the FLEXIBLE branch below.
|
|
699
|
-
eligibleTo: e.doseEligibleTo === null ? null : e.doseEligibleTo !== void 0 ? `${e.doseEligibleTo} ${
|
|
781
|
+
eligibleTo: e.doseEligibleTo === null ? null : e.doseEligibleTo !== void 0 ? `${e.doseEligibleTo} ${n.eligibleTo || "days"}` : "",
|
|
700
782
|
interval: e.minGap || 0
|
|
701
783
|
}
|
|
702
784
|
] : M(e.dose, []).map((l, y) => {
|
|
703
785
|
const p = {
|
|
704
|
-
eligibleFrom: l.eligible_from_unit ||
|
|
705
|
-
eligibleTo: l.eligible_to_unit ||
|
|
706
|
-
interval: l.interval_unit ||
|
|
786
|
+
eligibleFrom: l.eligible_from_unit || n.eligibleFrom || "days",
|
|
787
|
+
eligibleTo: l.eligible_to_unit || n.eligibleTo || "days",
|
|
788
|
+
interval: l.interval_unit || n.interval || "days",
|
|
707
789
|
overdueFrom: l.overdue_from_unit || "days",
|
|
708
790
|
overdueTill: l.overdue_till_unit || "days"
|
|
709
791
|
};
|
|
710
792
|
return {
|
|
711
|
-
id: l.id || S("dose",
|
|
793
|
+
id: l.id || S("dose", m, y),
|
|
712
794
|
isBooster: l.isBooster === !0 || l.is_booster === !0 || typeof l.dose == "string" && l.dose.toUpperCase().startsWith("B"),
|
|
713
795
|
alias: l.alias || l.booster_alias || "",
|
|
714
796
|
eligibleFrom: l.eligible_from !== void 0 ? `${l.eligible_from} ${p.eligibleFrom}` : "",
|
|
@@ -723,42 +805,42 @@ import './index.css';const d = m(
|
|
|
723
805
|
}), u = M(e.location, []).filter((l) => l && typeof l == "object").map((l, y) => {
|
|
724
806
|
var p;
|
|
725
807
|
return {
|
|
726
|
-
id: S("region",
|
|
808
|
+
id: S("region", m, y),
|
|
727
809
|
locationId: l.locationId,
|
|
728
810
|
locationIdArr: l.locationIdArr,
|
|
729
811
|
locationList: l.locationList,
|
|
730
812
|
fullPath: (p = l.locationList) == null ? void 0 : p.replaceAll(" => ", " → ")
|
|
731
813
|
};
|
|
732
|
-
}),
|
|
814
|
+
}), I = M(e.validations, []).map(
|
|
733
815
|
(l, y) => ({
|
|
734
|
-
id: S("dep",
|
|
816
|
+
id: S("dep", m, y),
|
|
735
817
|
vaccine: l.vaccine || "",
|
|
736
818
|
requirement: l.requirement || "Should be given",
|
|
737
819
|
minGap: Number.parseInt(l.minGap, 10) || 0,
|
|
738
820
|
maxGap: Number.parseInt(l.maxGap, 10) || 0,
|
|
739
821
|
message: l.message || ""
|
|
740
822
|
})
|
|
741
|
-
),
|
|
742
|
-
eligibleFrom: `${
|
|
823
|
+
), d = e.noOfDoses || 0, b = e.doseType && e.doseType !== "NA" ? e.doseType : "FIXED", T = e.recurringBooster ? M(e.recurringBooster, null) : null, N = T && T.eligibleFrom !== void 0 && T.eligibleFrom !== null ? {
|
|
824
|
+
eligibleFrom: `${T.eligibleFrom} ${T.eligibleFromUnit || "days"}`,
|
|
743
825
|
// NULL is the stored form of a lifelong window, exactly as for a dose.
|
|
744
|
-
eligibleTo:
|
|
745
|
-
interval: `${
|
|
826
|
+
eligibleTo: T.eligibleTo === null || T.eligibleTo === void 0 ? null : `${T.eligibleTo} ${T.eligibleToUnit || "days"}`,
|
|
827
|
+
interval: `${T.interval ?? 0} ${T.intervalUnit || "days"}`
|
|
746
828
|
} : null;
|
|
747
829
|
return {
|
|
748
830
|
productId: e.productId ?? null,
|
|
749
|
-
doses:
|
|
831
|
+
doses: d,
|
|
750
832
|
doseType: b,
|
|
751
833
|
doseDetails: g,
|
|
752
|
-
durationUnits:
|
|
834
|
+
durationUnits: n,
|
|
753
835
|
recurringBooster: N,
|
|
754
836
|
regions: u,
|
|
755
|
-
dependencies:
|
|
756
|
-
eligibility:
|
|
837
|
+
dependencies: I,
|
|
838
|
+
eligibility: P(g, b, d)
|
|
757
839
|
};
|
|
758
|
-
},
|
|
759
|
-
const t = M(e.schedule, []), i = (Array.isArray(t) && t.length > 0 ? t : [
|
|
760
|
-
(
|
|
761
|
-
), r = M(e.filters, []),
|
|
840
|
+
}, Ge = (e) => {
|
|
841
|
+
const t = M(e.schedule, []), i = (Array.isArray(t) && t.length > 0 ? t : [Ue()]).map(
|
|
842
|
+
(I, d) => Ve(I || {}, e.id, d)
|
|
843
|
+
), r = M(e.filters, []), n = Array.isArray(r) ? r : (r == null ? void 0 : r.codes) || [], m = M(e.code_sets, []), g = Array.isArray(m) ? m : [], [u] = i;
|
|
762
844
|
return {
|
|
763
845
|
...e,
|
|
764
846
|
name: e.vaccine_name || e.name || "N.A.",
|
|
@@ -775,23 +857,23 @@ import './index.css';const d = m(
|
|
|
775
857
|
hasUnpublishedChanges: !!e.has_unpublished_changes,
|
|
776
858
|
regions: u.regions,
|
|
777
859
|
dependencies: u.dependencies,
|
|
778
|
-
filters:
|
|
860
|
+
filters: n,
|
|
779
861
|
codeSets: g,
|
|
780
862
|
durationUnits: u.durationUnits,
|
|
781
863
|
baseDateCode: e.base_date_code,
|
|
782
864
|
recipientType: e.recipient_type || "",
|
|
783
865
|
scheduleType: e.schedule_type === "NON_ROUTINE" ? "NON_ROUTINE" : "ROUTINE"
|
|
784
866
|
};
|
|
785
|
-
},
|
|
867
|
+
}, Ce = () => f({
|
|
786
868
|
code: "FETCH_IMMUNISATION_MASTER",
|
|
787
869
|
parameters: {}
|
|
788
|
-
}),
|
|
870
|
+
}), Oe = () => f({
|
|
789
871
|
code: "FETCH_IMMUNISATION_BASE_DATE",
|
|
790
872
|
parameters: {}
|
|
791
|
-
}),
|
|
873
|
+
}), Be = () => f({
|
|
792
874
|
code: "FETCH_IMMUNISATION_RECEPIENT_MASTER",
|
|
793
875
|
parameters: {}
|
|
794
|
-
}),
|
|
876
|
+
}), qe = () => J([
|
|
795
877
|
{
|
|
796
878
|
code: "FETCH_IMMUNISATION_BASE_DATE",
|
|
797
879
|
parameters: {},
|
|
@@ -812,83 +894,83 @@ import './index.css';const d = m(
|
|
|
812
894
|
parameters: {},
|
|
813
895
|
sequence: 4
|
|
814
896
|
}
|
|
815
|
-
]),
|
|
897
|
+
]), xe = (e) => f({
|
|
816
898
|
code: "INSERT_IMMUNIZATION_MASTER",
|
|
817
899
|
parameters: e
|
|
818
|
-
}),
|
|
900
|
+
}), ze = (e) => f({
|
|
819
901
|
code: "UPDATE_IMMUNIZATION_DOSE",
|
|
820
902
|
...e
|
|
821
|
-
}),
|
|
903
|
+
}), we = (e) => f({
|
|
822
904
|
code: "CHECK_IMMUNIZATION_CONFIGURATION_INITIATION",
|
|
823
905
|
...e
|
|
824
|
-
}),
|
|
906
|
+
}), $e = (e) => f({
|
|
825
907
|
code: "UPDATE_IMMUNIZATION_STATUS",
|
|
826
908
|
...e
|
|
827
|
-
}),
|
|
909
|
+
}), Pe = (e) => f({
|
|
828
910
|
code: "UPDATE_IMMUNIZATION_STATUS_FOR_ARRAY",
|
|
829
911
|
...e
|
|
830
|
-
}),
|
|
912
|
+
}), Xe = (e) => f({
|
|
831
913
|
code: "UPDATE_IMMUNIZATION_CONFIGURATION_INITIATION",
|
|
832
914
|
...e
|
|
833
|
-
}),
|
|
915
|
+
}), je = (e) => f({
|
|
834
916
|
code: "SAVE_IMMUNISATION_BASE_DATE",
|
|
835
917
|
parameters: e
|
|
836
|
-
}),
|
|
918
|
+
}), He = (e) => f({
|
|
837
919
|
code: "SAVE_IMMUNISATION_RECEPIENT_MASTER",
|
|
838
920
|
parameters: e
|
|
839
|
-
}),
|
|
921
|
+
}), ke = (e) => f({
|
|
840
922
|
code: "UPDATE_IMMUNISATION_RECEPIENT_MASTER",
|
|
841
923
|
parameters: e
|
|
842
|
-
}),
|
|
924
|
+
}), We = (e) => f({
|
|
843
925
|
code: "UPDATE_IMMUNISATION_BASE_DATE",
|
|
844
926
|
parameters: e
|
|
845
|
-
}),
|
|
927
|
+
}), Qe = () => f({
|
|
846
928
|
code: "retrieve_all_tables_and_columns",
|
|
847
929
|
parameters: {}
|
|
848
|
-
}),
|
|
930
|
+
}), Ze = () => f({
|
|
849
931
|
code: "GET_ALL_IMMUNISATION_FILTERS",
|
|
850
932
|
parameters: {}
|
|
851
|
-
}),
|
|
933
|
+
}), Je = (e) => f({
|
|
852
934
|
code: "ADD_IMMUNISATION_FILTER",
|
|
853
935
|
parameters: e
|
|
854
|
-
}),
|
|
936
|
+
}), Ke = (e) => f({
|
|
855
937
|
code: "UPDATE_IMMUNISATION_FILTER",
|
|
856
938
|
parameters: e
|
|
857
|
-
}),
|
|
858
|
-
calculateOverallEligibility:
|
|
859
|
-
mapImmunizationVaccineConfig:
|
|
860
|
-
getVaccines:
|
|
861
|
-
getBaseDates:
|
|
862
|
-
getRecipients:
|
|
863
|
-
getImmunizationReferenceData:
|
|
864
|
-
addImmunization:
|
|
865
|
-
updateImmunization:
|
|
866
|
-
checkImmunizationConfigurationInitiation:
|
|
867
|
-
updateVaccineStatus:
|
|
868
|
-
updateVaccineStatusFromArray:
|
|
869
|
-
updateImmunizationConfigurationInitiation:
|
|
870
|
-
saveBaseDate:
|
|
871
|
-
saveRecipient:
|
|
872
|
-
updateRecipient:
|
|
873
|
-
updateBaseDate:
|
|
874
|
-
getAllTablesAndColumns:
|
|
875
|
-
getFilters:
|
|
876
|
-
addFilter:
|
|
877
|
-
updateFilter:
|
|
878
|
-
getImmunisationV2List:
|
|
879
|
-
revalidateImmunisationV2List:
|
|
880
|
-
notifyConfigChange:
|
|
939
|
+
}), Ye = (e) => U.post("/medplatform/v2/immunisation/list", e), et = (e) => U.post("/medplatform/v2/immunisation/revalidate", e), tt = (e) => U.post("/medplatform/v2/immunisation/config-change-notification", e), Gt = {
|
|
940
|
+
calculateOverallEligibility: P,
|
|
941
|
+
mapImmunizationVaccineConfig: Ge,
|
|
942
|
+
getVaccines: Ce,
|
|
943
|
+
getBaseDates: Oe,
|
|
944
|
+
getRecipients: Be,
|
|
945
|
+
getImmunizationReferenceData: qe,
|
|
946
|
+
addImmunization: xe,
|
|
947
|
+
updateImmunization: ze,
|
|
948
|
+
checkImmunizationConfigurationInitiation: we,
|
|
949
|
+
updateVaccineStatus: $e,
|
|
950
|
+
updateVaccineStatusFromArray: Pe,
|
|
951
|
+
updateImmunizationConfigurationInitiation: Xe,
|
|
952
|
+
saveBaseDate: je,
|
|
953
|
+
saveRecipient: He,
|
|
954
|
+
updateRecipient: ke,
|
|
955
|
+
updateBaseDate: We,
|
|
956
|
+
getAllTablesAndColumns: Qe,
|
|
957
|
+
getFilters: Ze,
|
|
958
|
+
addFilter: Je,
|
|
959
|
+
updateFilter: Ke,
|
|
960
|
+
getImmunisationV2List: Ye,
|
|
961
|
+
revalidateImmunisationV2List: et,
|
|
962
|
+
notifyConfigChange: tt
|
|
881
963
|
};
|
|
882
964
|
export {
|
|
883
|
-
|
|
884
|
-
|
|
965
|
+
Gt as I,
|
|
966
|
+
Ut as L,
|
|
885
967
|
x as a,
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
968
|
+
Vt as b,
|
|
969
|
+
Ne as c,
|
|
970
|
+
Dt as d,
|
|
971
|
+
st as e,
|
|
890
972
|
E as g,
|
|
891
|
-
|
|
892
|
-
|
|
973
|
+
R as i,
|
|
974
|
+
_e as v
|
|
893
975
|
};
|
|
894
|
-
//# sourceMappingURL=index.lib-
|
|
976
|
+
//# sourceMappingURL=index.lib-QDEODnRT.js.map
|