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