@argusoft/medplat-app-shell 1.0.6 → 1.0.8

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 (264) hide show
  1. package/package.json +139 -141
  2. package/src/GlobalErrorBoundary.jsx +31 -0
  3. package/src/SilentErrorFallback.jsx +68 -0
  4. package/src/TrackingProviderWrapper.jsx +40 -0
  5. package/src/_tests_/__mocks__/MockTranslationProvider.jsx +21 -0
  6. package/src/_tests_/__mocks__/ckeditor.js +45 -0
  7. package/src/_tests_/__mocks__/fileMock.js +1 -0
  8. package/src/_tests_/__mocks__/useranalytics.js +5 -0
  9. package/src/_tests_/views/components/Dashboard/DashboardUI.test.jsx +137 -0
  10. package/src/_tests_/views/components/Dashboard/DashboardUIMock.js +877 -0
  11. package/src/_tests_/views/components/ForgotPassword/ForgotPassword.test.jsx +314 -0
  12. package/src/_tests_/views/components/LocationDirective/LocationDirective.test.jsx.disable +229 -0
  13. package/src/_tests_/views/components/LocationDirective/mockLocationDirective.js +810 -0
  14. package/src/_tests_/views/components/LocationType/MockLocationType.js +42259 -0
  15. package/src/_tests_/views/components/LocationType/addlocationtype.test.jsx.disable +276 -0
  16. package/src/_tests_/views/components/LocationType/editlocationtype.test.jsx.disable +262 -0
  17. package/src/_tests_/views/components/LocationType/locationtype.test.jsx.disable +148 -0
  18. package/src/_tests_/views/components/Profile/UpdateProfileModalData.js +4396 -0
  19. package/src/_tests_/views/components/Profile/updateprofilemodal.test.jsx +282 -0
  20. package/src/_tests_/views/components/SideBar/MockSideBar.js +1379 -0
  21. package/src/_tests_/views/components/SideBar/SideBar.test.jsx +98 -0
  22. package/src/_tests_/views/components/SystemConfig/ManageSystemConfig/AddManageSystemConfig.test.jsx.disable +164 -0
  23. package/src/_tests_/views/components/SystemConfig/ManageSystemConfig/UpdateManageSystemConfig.test.jsx.disable +157 -0
  24. package/src/_tests_/views/components/SystemConfig/MockSystemConfig.js +1280 -0
  25. package/src/_tests_/views/components/SystemConfig/SystemConfig.test.jsx.disable +165 -0
  26. package/src/_tests_/views/components/login/Login.test.jsx +276 -0
  27. package/src/_tests_/views/components/login/MockAuthorise.js +2414 -0
  28. package/src/_tests_/views/components/login/ServiceResponse.js +595 -0
  29. package/src/_tests_/views/components/user/MockManageUser.js +7965 -0
  30. package/src/_tests_/views/components/user/manageuser.test.jsx.disable +989 -0
  31. package/src/_tests_/views/components/user/mockUsersData.js +582 -0
  32. package/src/assets/img/OASISLogin.png +0 -0
  33. package/src/assets/img/bahaarNew.png +0 -0
  34. package/src/assets/img/dnhdd4K.png +0 -0
  35. package/src/assets/img/govtofup.png +0 -0
  36. package/src/assets/img/sewarural4K.png +0 -0
  37. package/src/assets/img/techo4K.png +0 -0
  38. package/src/assets/img/up4K.png +0 -0
  39. package/src/common/HolidayList.jsx +573 -0
  40. package/src/common/MalaciaousInputUtil.js +23 -0
  41. package/src/common/SafeHtml.jsx +17 -0
  42. package/src/common/VersionManager.jsx +109 -0
  43. package/src/common/constants/PerformanceDashboard.js +514 -0
  44. package/src/common/constants/app.constant.js +781 -0
  45. package/src/common/constants/cccVerificationConstants.js +18 -0
  46. package/src/common/constants/fhsrConstant.js +33 -0
  47. package/src/common/constants/gvk-verification.constant.js +76 -0
  48. package/src/common/constants/search.constant.js +23 -0
  49. package/src/common/constants/teleconsulatationConstant.jsx +1339 -0
  50. package/src/common/directives/SearchTemplate.jsx +784 -0
  51. package/src/common/directives/SearchTemplate.scss +14 -0
  52. package/src/common/dynamicView/DynamicView.jsx +353 -0
  53. package/src/common/dynamicView/InputFieldComponent.jsx +1501 -0
  54. package/src/common/dynamicView/InputViewComponent.jsx +298 -0
  55. package/src/common/dynamicView/InputViewComponent.scss +15 -0
  56. package/src/common/env.js +5 -0
  57. package/src/common/filters/locationNameFilter.js +26 -0
  58. package/src/common/fontAwesomeIcons/FontAwesomeIcons.jsx +27 -0
  59. package/src/common/fontAwesomeIcons/FontAwesomeIconsNames.js +1968 -0
  60. package/src/common/fontPreferences/fontSizeProvider.jsx +34 -0
  61. package/src/common/fontPreferences/fontSizeSelector.jsx +116 -0
  62. package/src/common/getAssignedFeature/getAssignedFeature.js +32 -0
  63. package/src/common/interceptors/AxiosInterceptor.js +216 -0
  64. package/src/common/languageTranslator/TranslationContext.js +5 -0
  65. package/src/common/languageTranslator/TranslationProvider.jsx +24 -0
  66. package/src/common/languageTranslator/i18n.js +49 -0
  67. package/src/common/services/AuthenticateService.js +116 -0
  68. package/src/common/services/DownloadFile.js +35 -0
  69. package/src/common/services/ForgotPassword.js +18 -0
  70. package/src/common/services/FormConfiguratorService.js +195 -0
  71. package/src/common/services/GlobalApis.js +84 -0
  72. package/src/common/services/InterceptorNavigationService.js +17 -0
  73. package/src/common/services/LocationService.js +65 -0
  74. package/src/common/services/LocationType.js +11 -0
  75. package/src/common/services/QueryBuilder.js +36 -0
  76. package/src/common/services/Roles.js +28 -0
  77. package/src/common/services/SyncWithServer.js +15 -0
  78. package/src/common/services/SystemConfig.js +15 -0
  79. package/src/common/services/TranslationService.js +70 -0
  80. package/src/common/services/TwoFactorService.js +7 -0
  81. package/src/common/services/Users.js +91 -0
  82. package/src/common/services/Webtasks.js +27 -0
  83. package/src/common/services/util/Convert-pad-data-to-API-format.jsx +167 -0
  84. package/src/common/services/util/Convert-to-UI-format.jsx +82 -0
  85. package/src/common/services/util/EmptyPrescriptionPadData.jsx +11 -0
  86. package/src/common/services/util/GeneralUtil.js +456 -0
  87. package/src/common/services/util/Prescription-pad-util.js +339 -0
  88. package/src/common/services/util/PrescriptionPadData.js +67 -0
  89. package/src/common/services/util/PrescriptionpadCommonUtil.js +96 -0
  90. package/src/common/services/util/ReportFieldUtil.jsx +398 -0
  91. package/src/common/services/util/WebSocketContext.jsx +261 -0
  92. package/src/common/syncWithServer/SyncWithServerDialog.jsx +170 -0
  93. package/src/common/syncWithServer/SyncWithServerDialogSkeleton.jsx +67 -0
  94. package/src/common/tests/CustomWrapper.jsx +49 -0
  95. package/src/common/tests/TranslationWrapper.jsx +38 -0
  96. package/src/common/themeProvider/ColorInputs.jsx +97 -0
  97. package/src/common/themeProvider/EditableColorInput.jsx +128 -0
  98. package/src/common/themeProvider/ThemeEditor.jsx +319 -0
  99. package/src/common/themeProvider/ThemeProvider.jsx +210 -0
  100. package/src/common/themeProvider/themeConfig.js +558 -0
  101. package/src/common/toaster/toaster.jsx +30 -0
  102. package/src/firebaseConfig.js +24 -0
  103. package/src/global.scss +221 -0
  104. package/src/hooks/.gitkeep +0 -0
  105. package/src/hooks/useAESEncryption.js +56 -0
  106. package/src/hooks/useCaching.js +43 -0
  107. package/src/hooks/useDebounce.js +34 -0
  108. package/src/hooks/useDebounceFn.js +50 -0
  109. package/src/hooks/useDownloadPdf.js +358 -0
  110. package/src/hooks/useDownloadXlsx.js +55 -0
  111. package/src/hooks/useListValueFieldValues.js +30 -0
  112. package/src/hooks/useLocationHierarchies.js +63 -0
  113. package/src/hooks/useLocationHierarchyTranslate.js +16 -0
  114. package/src/hooks/useOnline.js +27 -0
  115. package/src/hooks/usePagination.js +63 -0
  116. package/src/hooks/useRefreshToken.js +87 -0
  117. package/src/hooks/useScript.js +25 -0
  118. package/src/hooks/useStopwatch.js +75 -0
  119. package/src/hooks/useTrackEvent.js +22 -0
  120. package/src/hooks/useWebAudioRecorder.js +115 -0
  121. package/src/layout/LoaderComponet.jsx +22 -0
  122. package/src/layout/LoaderContext.jsx +29 -0
  123. package/src/layout/mainLayout/AdaptiveZoom.jsx +27 -0
  124. package/src/layout/mainLayout/Chatbot.jsx +243 -0
  125. package/src/layout/mainLayout/Layout.jsx +445 -0
  126. package/src/layout/mainLayout/Profile/UpdateProfileModal.jsx +684 -0
  127. package/src/layout/mainLayout/header/LogoutModal.jsx +131 -0
  128. package/src/layout/mainLayout/header/Navbar.jsx +1677 -0
  129. package/src/layout/mainLayout/header/Navbar.scss +4 -0
  130. package/src/layout/mainLayout/header/index.js +0 -0
  131. package/src/layout/mainLayout/sidebar/SideBar.jsx +1402 -0
  132. package/src/layout/mainLayout/sidebar/Sidebar.css +159 -0
  133. package/src/layout/mainLayout/sidebar/index.js +0 -0
  134. package/src/logo.svg +1 -0
  135. package/src/reportWebVitals.js +13 -0
  136. package/src/setupFirebaseMessaging.js +28 -0
  137. package/src/setupTests.js +8 -0
  138. package/src/store/actions/AuthenticationActions.js +0 -0
  139. package/src/store/actions/ReportsActions.js +0 -0
  140. package/src/store/actions/TranslationAction.js +0 -0
  141. package/src/store/index.js +8 -0
  142. package/src/store/reducer.js +46 -0
  143. package/src/store/reducers/AuthenticationReducer.js +50 -0
  144. package/src/store/reducers/CalendarEventReducer.js +41 -0
  145. package/src/store/reducers/ConditionClipboardReducer.js +45 -0
  146. package/src/store/reducers/FeatureReducer.js +27 -0
  147. package/src/store/reducers/FormConfiguratorReducer.js +38 -0
  148. package/src/store/reducers/LoadingReducer.js +20 -0
  149. package/src/store/reducers/MembersAuthenticationReducer.js +28 -0
  150. package/src/store/reducers/PrescriptionPadReducer.js +329 -0
  151. package/src/store/reducers/QuestionaireReducer.js +29 -0
  152. package/src/store/reducers/ReportsReducer.js +24 -0
  153. package/src/store/reducers/SkeletonReducer.js +20 -0
  154. package/src/store/reducers/ThemeReducer.js +106 -0
  155. package/src/store/reducers/TranslationReducer.js +126 -0
  156. package/src/store/reducers/dashboardEditorSlice.js +77 -0
  157. package/src/store/reducers/districtHealthDashboardSlice.js +58 -0
  158. package/src/store/reducers/immunizationSlice.js +234 -0
  159. package/src/store/slices/dashboardPagesSlice.js +51 -0
  160. package/src/store/slices/dashboardSlice.js +14 -0
  161. package/src/utils/.gitkeep +0 -0
  162. package/src/utils/FormConstants.js +2629 -0
  163. package/src/utils/GujaratTopoChart.jsx +483 -0
  164. package/src/utils/UUIDgenerator.js +8 -0
  165. package/src/utils/appointment-utils/appointment-utils.js +123 -0
  166. package/src/utils/feature.js +42 -0
  167. package/src/utils/getThemeColor.js +12 -0
  168. package/src/utils/localStorageHelper.js +11 -0
  169. package/src/utils/notifications/enable-push-notifications.js +27 -0
  170. package/src/utils/resolveAppliedStyle.js +11 -0
  171. package/src/utils/themeConfigs.js +1483 -0
  172. package/src/views/custom-components/.gitkeep +0 -0
  173. package/src/views/custom-components/AgIconButton/RIf.jsx +14 -0
  174. package/src/views/custom-components/AgIconButton/button.jsx +108 -0
  175. package/src/views/custom-components/AgIconButton/waterDrop.jsx +95 -0
  176. package/src/views/custom-components/AgIconButton/waterDrop.scss +37 -0
  177. package/src/views/custom-components/AlertPlaceholder.jsx +32 -0
  178. package/src/views/custom-components/AllFaIconsSelector.jsx +56 -0
  179. package/src/views/custom-components/CkEditor/CkEditor.js +102 -0
  180. package/src/views/custom-components/CustomAccordion.jsx +72 -0
  181. package/src/views/custom-components/CustomActionIcons.jsx +118 -0
  182. package/src/views/custom-components/CustomAutoComplete.jsx +188 -0
  183. package/src/views/custom-components/CustomCheckBox.jsx +60 -0
  184. package/src/views/custom-components/CustomConfirmationModal.jsx +118 -0
  185. package/src/views/custom-components/CustomCountrySelect.jsx +129 -0
  186. package/src/views/custom-components/CustomDatePicker.jsx +122 -0
  187. package/src/views/custom-components/CustomDropdown.jsx +191 -0
  188. package/src/views/custom-components/CustomFileUpload.jsx +387 -0
  189. package/src/views/custom-components/CustomFullCalendar.jsx +514 -0
  190. package/src/views/custom-components/CustomInfiniteScroll.jsx +126 -0
  191. package/src/views/custom-components/CustomRadioComponent.jsx +65 -0
  192. package/src/views/custom-components/CustomStatsComponent.jsx +114 -0
  193. package/src/views/custom-components/CustomSvgUpload.jsx +170 -0
  194. package/src/views/custom-components/CustomSwitch.jsx +37 -0
  195. package/src/views/custom-components/CustomTabPanel.jsx +19 -0
  196. package/src/views/custom-components/CustomTextArea.jsx +62 -0
  197. package/src/views/custom-components/CustomTextArea.scss +27 -0
  198. package/src/views/custom-components/CustomTextField.jsx +116 -0
  199. package/src/views/custom-components/CustomToggleSwitch.jsx +138 -0
  200. package/src/views/custom-components/CustomTooltip.jsx +51 -0
  201. package/src/views/custom-components/CustomZoomImage.jsx +134 -0
  202. package/src/views/custom-components/CustomizedTable/CustomizedTableV2.jsx +1407 -0
  203. package/src/views/custom-components/CustomizedTable/VirtualizeTableBody.jsx +295 -0
  204. package/src/views/custom-components/CustomizedTable/helper.jsx +159 -0
  205. package/src/views/custom-components/CustomizedTable.jsx +532 -0
  206. package/src/views/custom-components/EditInputField.jsx +174 -0
  207. package/src/views/custom-components/FieldDescription.jsx +22 -0
  208. package/src/views/custom-components/FileDisplayComponent.jsx +138 -0
  209. package/src/views/custom-components/FormItem.jsx +53 -0
  210. package/src/views/custom-components/GenericChart.jsx +80 -0
  211. package/src/views/custom-components/InfoBadge.jsx +60 -0
  212. package/src/views/custom-components/PostgresEditor.jsx +801 -0
  213. package/src/views/custom-components/ResizableEditAutocompleteField.jsx +249 -0
  214. package/src/views/custom-components/ResizableEditInputField.jsx +215 -0
  215. package/src/views/custom-components/ResizeableEditSelectField.jsx +197 -0
  216. package/src/views/custom-components/SideOverlay.jsx +113 -0
  217. package/src/views/custom-components/SideOverlay.scss +42 -0
  218. package/src/views/custom-components/calendar.scss +571 -0
  219. package/src/views/feature-components/.gitkeep +0 -0
  220. package/src/views/feature-components/Dashboard/DashboardUI.jsx +1043 -0
  221. package/src/views/feature-components/Dashboard/DhnddModal/AshaDataQualityVerificationModal.jsx +278 -0
  222. package/src/views/feature-components/Dashboard/PinFeatureModal.jsx +143 -0
  223. package/src/views/feature-components/Dashboard/QuickLinks.jsx +163 -0
  224. package/src/views/feature-components/Dashboard/Taskbar.jsx +56 -0
  225. package/src/views/feature-components/Dashboard/WebtasksFilterForm.jsx +109 -0
  226. package/src/views/feature-components/Dashboard/WidgetCard.jsx +161 -0
  227. package/src/views/feature-components/Dashboard/actionModal.jsx +263 -0
  228. package/src/views/feature-components/Dashboard/ekavachModal/HealthWorkerIncorrectDetailsModal.jsx +332 -0
  229. package/src/views/feature-components/Dashboard/ekavachModal/MoMaternalDeathVerifcationModal.jsx +275 -0
  230. package/src/views/feature-components/Dashboard/ekavachModal/MoVerficationForChildScreeningMoadal.jsx +566 -0
  231. package/src/views/feature-components/FeatureUsageAnalytics/FeatureUsageAnalytics.jsx +989 -0
  232. package/src/views/feature-components/Features/NewServerManagement.jsx +217 -0
  233. package/src/views/feature-components/Features/ServerManagement.scss +120 -0
  234. package/src/views/feature-components/ForgotPassword/ForgotPassword.jsx +226 -0
  235. package/src/views/feature-components/LocationDirective/LocationDirective.jsx +992 -0
  236. package/src/views/feature-components/LocationDirective/LocationDirectiveV2.jsx +909 -0
  237. package/src/views/feature-components/NotFound.jsx +66 -0
  238. package/src/views/feature-components/Onboarding/Onboarding.jsx +1400 -0
  239. package/src/views/feature-components/Skeletons.js +115 -0
  240. package/src/views/feature-components/Unauthorized.jsx +48 -0
  241. package/src/views/feature-components/VerifyRoute.jsx +88 -0
  242. package/src/views/feature-components/YearlyRecap/YearlyRecap.jsx +357 -0
  243. package/src/views/feature-components/YearlyRecap/components/RecapSlide.jsx +183 -0
  244. package/src/views/feature-components/YearlyRecap/languageTranslator/TranslationContext.js +5 -0
  245. package/src/views/feature-components/YearlyRecap/languageTranslator/TranslationProvider.jsx +26 -0
  246. package/src/views/feature-components/YearlyRecap/languageTranslator/i18n.js +46 -0
  247. package/src/views/feature-components/YearlyRecap/languageTranslator/translations.json +167 -0
  248. package/src/views/feature-components/YearlyRecap/slides/IntroSlide.jsx +233 -0
  249. package/src/views/feature-components/YearlyRecap/slides/MaternalHealthSlide.jsx +146 -0
  250. package/src/views/feature-components/YearlyRecap/slides/MetricSlide.jsx +227 -0
  251. package/src/views/feature-components/YearlyRecap/slides/OutroSlide.jsx +701 -0
  252. package/src/views/feature-components/YearlyRecap/slides/ReachSlide.jsx +273 -0
  253. package/src/views/feature-components/login/Login.jsx +840 -0
  254. package/src/views/feature-components/login/Login.scss +154 -0
  255. package/src/views/feature-components/login/LoginConfigurator.jsx +1149 -0
  256. package/src/views/feature-components/login/TwoFactorSetupModal.jsx +411 -0
  257. package/src/views/feature-components/login/simplifyMenu.js +45 -0
  258. package/src/views/feature-components/system-config/ManageSystemConfigs.jsx +284 -0
  259. package/src/views/feature-components/system-config/SystemConfig.jsx +299 -0
  260. package/src/views/feature-components/users/ChangePasswordModal.jsx +243 -0
  261. package/src/views/feature-components/users/PasswordField.jsx +56 -0
  262. package/dist/index.css +0 -1
  263. package/dist/index.js +0 -32001
  264. package/dist/index.js.map +0 -1
@@ -0,0 +1,595 @@
1
+ export const loginServiceResponse = {
2
+ data: {
3
+ access_token: '8b0609b2-2f27-4ae5-8647-4c941a2572df',
4
+ token_type: 'bearer',
5
+ refresh_token: '7ff4b3a2-497b-4007-b8d4-6259f6e7264b',
6
+ expires_in: 1799,
7
+ scope: 'write',
8
+ },
9
+ };
10
+
11
+ export const mockLoggedInUserResponse = {
12
+ data: {
13
+ id: 97084,
14
+ name: 'Pratham Prajapati',
15
+ userName: 'ppratham',
16
+ roleId: 96,
17
+ roleName: 'Argus Admin',
18
+ minLocationId: 550513,
19
+ minLocationName: 'ગાંધીનગર ઝોન',
20
+ minLocationLevel: 2,
21
+ rchInstitutionId: null,
22
+ languagePreference: 'en',
23
+ mobileNumber: null,
24
+ gender: 'M',
25
+ address: null,
26
+ dob: null,
27
+ userLastLogin: 1725363916886,
28
+ roleCode: 'argusadmin',
29
+ },
30
+ };
31
+
32
+ export const mockGetFeatureResponse = {
33
+ data: {
34
+ fhs: [
35
+ {
36
+ id: 199,
37
+ name: 'Command and Control Center',
38
+ navigationState: 'techo.dashboard.cccverification',
39
+ featureJson: '{"canFollowUpOverdueServices":true}',
40
+ },
41
+ ],
42
+ mch: [
43
+ {
44
+ id: 152,
45
+ name: 'ANC Service Visit',
46
+ navigationState: 'techo.manage.ancSearch',
47
+ featureJson: '{"isShowHIPModal":true,"isShowConsentList":true,"isShowHealthIdModal":true}',
48
+ },
49
+ ],
50
+ },
51
+ };
52
+
53
+ export const mockLoggeinUser = {
54
+ id: 97084,
55
+ name: 'Kaushik Reddy',
56
+ userName: 'kreddy',
57
+ roleId: 96,
58
+ roleName: 'Argus Admin',
59
+ minLocationId: 2,
60
+ minLocationName: 'Gujarat',
61
+ minLocationLevel: 1,
62
+ rchInstitutionId: null,
63
+ languagePreference: 'en',
64
+ mobileNumber: null,
65
+ gender: 'M',
66
+ address: null,
67
+ dob: null,
68
+ userLastLogin: 1738137621141,
69
+ roleCode: 'argusadmin',
70
+ features: {
71
+ fhs: [
72
+ {
73
+ id: 199,
74
+ name: 'Command and Control Center',
75
+ navigationState: 'techo.dashboard.cccverification',
76
+ featureJson: '{"canFollowUpOverdueServices":true}',
77
+ },
78
+ {
79
+ id: 10,
80
+ name: 'MO Re-Verification - Level 2',
81
+ navigationState: 'techo.manage.moverification',
82
+ featureJson: '{}',
83
+ },
84
+ {
85
+ id: 263,
86
+ name: 'CFHC Report',
87
+ navigationState: "techo.report.view({id:'8b437996-4334-473f-923e-47b43efe56ee'})",
88
+ featureJson: '{"canDrillDown":true}',
89
+ isDynamicReport: true,
90
+ },
91
+ {
92
+ id: 9,
93
+ name: 'MO CHFC Re-Verification',
94
+ navigationState: 'techo.manage.fhsrverification',
95
+ featureJson: '{}',
96
+ },
97
+ {
98
+ id: 5,
99
+ name: 'FHS Dashboard',
100
+ navigationState: 'techo.dashboard.fhs',
101
+ featureJson: '{}',
102
+ },
103
+ {
104
+ id: 12,
105
+ name: 'Call Center Verification',
106
+ navigationState: 'techo.dashboard.gvkverification',
107
+ featureJson:
108
+ '{"canAbsentVerification":false,"canFamilyVerification":false,"canGvkImmunisationVerification":false,"canHighriskFollowupVerification":false,"canPregnancyRegistrationsVerification":false,"canHighriskFollowupVerificationFowFhw":false,"canPregnancyRegistrationsPhoneNumberVerification":false,"canMemberMigrationOutVerification":false,"canMemberMigrationInVerification":false,"canDuplicateMemberVerification":true,"canPerformEligibleCoupleCounselling":false,"canBeneficiaryServiceVerification":false,"canAnc4Schedule":false,"canFamilyMigrationOutVerification":false}',
109
+ },
110
+ ],
111
+
112
+ admin: [
113
+ {
114
+ id: 24,
115
+ name: 'Application Management',
116
+ navigationState: 'techo.manage.query',
117
+ isGroup: true,
118
+ subGroups: [
119
+ {
120
+ id: 19,
121
+ name: 'Query Builder',
122
+ navigationState: 'techo.manage.query',
123
+ featureJson: '{}',
124
+ },
125
+ {
126
+ id: 18,
127
+ name: 'Events Configured',
128
+ navigationState: 'techo.notification.all',
129
+ featureJson: '{}',
130
+ },
131
+ {
132
+ id: 150,
133
+ name: 'Server Management',
134
+ navigationState: 'techo.manage.servermanage',
135
+ },
136
+ {
137
+ id: 313,
138
+ name: 'Manage System Configurations',
139
+ navigationState: 'techo.manage.systemconfigs',
140
+ featureJson: '{"canAdd":false}',
141
+ },
142
+ {
143
+ id: 325,
144
+ name: 'Sync Server Management',
145
+ navigationState: 'techo.manage.syncServerManage',
146
+ featureJson: '{}',
147
+ },
148
+ {
149
+ id: 166,
150
+ name: 'Widgets management',
151
+ navigationState: 'techo.manage.manage-widgets',
152
+ featureJson: '{}',
153
+ },
154
+ {
155
+ id: 228,
156
+ name: 'Query Excel Sheet Generator',
157
+ navigationState: 'techo.manage.queryexcelsheetgenerator',
158
+ },
159
+ {
160
+ id: 285,
161
+ name: 'Query Management Tool',
162
+ navigationState: 'techo.querymanagement',
163
+ featureJson: '{}',
164
+ },
165
+ {
166
+ id: 347,
167
+ name: 'Form Configurator',
168
+ navigationState: 'techo.admin.systemConstraints',
169
+ featureJson: '{}',
170
+ },
171
+ {
172
+ id: 324,
173
+ name: 'Manage Feature Syncing',
174
+ navigationState: 'techo.manage.featureSync',
175
+ featureJson: '{}',
176
+ },
177
+ {
178
+ id: 25,
179
+ name: 'Manage Notification',
180
+ navigationState: 'techo.manage.notification',
181
+ featureJson: '{}',
182
+ },
183
+ ],
184
+ featureJson: '{}',
185
+ },
186
+ {
187
+ id: 16,
188
+ name: 'My Techo',
189
+ navigationState: 'techo.manage.tipsoftheday',
190
+ isGroup: true,
191
+ subGroups: [
192
+ {
193
+ id: 231,
194
+ name: 'Tip Of The Day',
195
+ navigationState: 'techo.manage.tipsoftheday',
196
+ featureJson:
197
+ '{"canAddNewTipOfTheDay":true,"canManageEnglishTipOfTheDay":true,"canManageHindiTipOfTheDay":true,"canManageGujaratiTipOfTheDay":true}',
198
+ },
199
+ {
200
+ id: 236,
201
+ name: 'Content Preview Config',
202
+ navigationState: 'techo.manage.contentPreviewConfig',
203
+ },
204
+ {
205
+ id: 226,
206
+ name: 'Manage FAQ',
207
+ navigationState: 'techo.manage.faqs',
208
+ featureJson:
209
+ '{"canAddMasterQuestion":true, "canManageEnglishQuestion":true, "canManageHindiQuestion":true,\r\n "canManageGujaratiQuestion":true}',
210
+ },
211
+ {
212
+ id: 242,
213
+ name: 'Timeline Configuration',
214
+ navigationState: 'techo.manage.timelineconfigs',
215
+ featureJson:
216
+ '{"canAddNewTimeline":true,"canManageEnglishTimeline":true,"canManageHindiTimeline":true,"canManageGujaratiTimeline":true}',
217
+ },
218
+ {
219
+ id: 225,
220
+ name: 'Card Configuration',
221
+ navigationState: 'techo.manage.cardconfigs',
222
+ featureJson:
223
+ '{"canAddMasterCard":true,"canModifyEnglishCard":true,"canModifyHindiCard":true,"canModifyGujaratiCard":true}',
224
+ },
225
+ ],
226
+ featureJson:
227
+ '{"canAddNewTipOfTheDay":true,"canManageEnglishTipOfTheDay":true,"canManageHindiTipOfTheDay":true,"canManageGujaratiTipOfTheDay":true}',
228
+ },
229
+ {
230
+ id: 68,
231
+ name: 'Manage Values And Multimedia',
232
+ navigationState: 'techo.manage.valuesnmultimedia',
233
+ featureJson: '{}',
234
+ },
235
+ {
236
+ id: 21,
237
+ name: 'Manage OPD',
238
+ navigationState: 'techo.manage.manageOpdLabTest',
239
+ isGroup: true,
240
+ subGroups: [
241
+ {
242
+ id: 272,
243
+ name: 'Manage OPD Lab Test',
244
+ navigationState: 'techo.manage.manageOpdLabTest',
245
+ featureJson: '{}',
246
+ },
247
+ ],
248
+ featureJson: '{}',
249
+ },
250
+ {
251
+ id: 4,
252
+ name: 'Features',
253
+ navigationState: 'techo.manage.menu',
254
+ featureJson: '{}',
255
+ },
256
+ {
257
+ id: 18,
258
+ name: 'GVK Call Center',
259
+ navigationState: 'techo.dashboard.callcenter',
260
+ isGroup: true,
261
+ subGroups: [
262
+ {
263
+ id: 232,
264
+ name: 'Call Center Dashboard',
265
+ navigationState: 'techo.dashboard.callcenter',
266
+ },
267
+ ],
268
+ },
269
+ {
270
+ id: 67,
271
+ name: 'Manage Translations',
272
+ navigationState: 'techo.manage.translator-label',
273
+ featureJson: '{}',
274
+ },
275
+ {
276
+ id: 359,
277
+ name: 'Mobile Menu Management',
278
+ navigationState: 'techo.manage.mobileMenuManagement',
279
+ featureJson: '{"canDrillDown":true}',
280
+ isDynamicReport: true,
281
+ },
282
+ {
283
+ id: 15,
284
+ name: 'Dr. Techo',
285
+ navigationState: 'techo.manage.drtechoUserApproval',
286
+ isGroup: true,
287
+ subGroups: [
288
+ {
289
+ id: 222,
290
+ name: 'Dr. Techo User Approval',
291
+ navigationState: 'techo.manage.drtechoUserApproval',
292
+ },
293
+ {
294
+ id: 221,
295
+ name: 'Health Infrastructure Approval',
296
+ navigationState: 'techo.manage.healthInfrastructureApproval',
297
+ },
298
+ ],
299
+ },
300
+ {
301
+ id: 274,
302
+ name: 'Dynamic Form Builder',
303
+ navigationState: 'techo.manage.dynamicform',
304
+ featureJson: '{}',
305
+ },
306
+ {
307
+ id: 312,
308
+ name: 'Feature Usage Analytics',
309
+ navigationState: 'techo.manage.featureUsage',
310
+ featureJson: '{}',
311
+ },
312
+ {
313
+ id: 20,
314
+ name: 'State of Health',
315
+ navigationState: 'techo.manage.sohElementConfiguration',
316
+ isGroup: true,
317
+ subGroups: [
318
+ {
319
+ id: 260,
320
+ name: 'Element Configuration',
321
+ navigationState: 'techo.manage.sohElementConfiguration',
322
+ featureJson: '{"normal":true,"advanced":true}',
323
+ },
324
+ {
325
+ id: 309,
326
+ name: 'SoH Application',
327
+ navigationState: 'techo.manage.sohApp',
328
+ featureJson: '{}',
329
+ },
330
+ {
331
+ id: 233,
332
+ name: 'State Of Health - Elements',
333
+ navigationState: "techo.report.view({id:'f4530015-fd6d-45bf-9b50-c2fb1f3c2976'})",
334
+ featureJson: '{"canDrillDown":true}',
335
+ isDynamicReport: true,
336
+ },
337
+ ],
338
+ featureJson: '{"normal":true,"advanced":true}',
339
+ },
340
+ {
341
+ id: 383,
342
+ name: 'Manage Translation',
343
+ navigationState: 'techo.manage.manageTranslation',
344
+ featureJson: '{"canManage":true,"canViewKey":true}',
345
+ },
346
+ {
347
+ id: 351,
348
+ name: 'Mobile Feature Management',
349
+ navigationState: 'techo.manage.mobileFeatureManagement',
350
+ featureJson: '{"canDrillDown":true}',
351
+ isDynamicReport: true,
352
+ },
353
+ {
354
+ id: 6,
355
+ name: 'Role',
356
+ navigationState: 'techo.manage.role',
357
+ featureJson: '{}',
358
+ },
359
+ {
360
+ id: 368,
361
+ name: 'Push Notification Type',
362
+ navigationState: 'techo.manage.pushnotificationtype',
363
+ },
364
+ {
365
+ id: 19,
366
+ name: 'RBSK',
367
+ navigationState: 'techo.manage.configureRbskDefects',
368
+ isGroup: true,
369
+ subGroups: [
370
+ {
371
+ id: 256,
372
+ name: 'Configure RBSK defects',
373
+ navigationState: 'techo.manage.configureRbskDefects',
374
+ featureJson: '{}',
375
+ },
376
+ ],
377
+ featureJson: '{}',
378
+ },
379
+ {
380
+ id: 316,
381
+ name: 'Team Type Config',
382
+ navigationState: 'techo.manage.teamtypes',
383
+ featureJson: '{}',
384
+ },
385
+ {
386
+ id: 14,
387
+ name: 'Reports',
388
+ navigationState: 'techo.report.all',
389
+ featureJson: '{"basic":true,"advanced":true}',
390
+ },
391
+ ],
392
+ manage: [
393
+ [
394
+ {
395
+ id: 3,
396
+ name: 'Reports',
397
+ navigationState: 'techo.manage.districtperformancedashboard',
398
+ isGroup: true,
399
+ subGroups: [
400
+ {
401
+ id: 332,
402
+ name: 'District Factsheet',
403
+ navigationState: 'techo.manage.districtperformancedashboard',
404
+ },
405
+ {
406
+ id: 61,
407
+ name: '0-5 Years Child Survey Screened by ANM',
408
+ navigationState: "techo.report.view({id:'30361882-8b62-43d1-ac89-3465a522d258'})",
409
+ featureJson: '{"canDrillDown":true}',
410
+ isDynamicReport: true,
411
+ },
412
+ {
413
+ id: 56,
414
+ name: 'Location Detail Report',
415
+ navigationState: "techo.report.view({id:'070f118c-2d09-4a4f-9430-2cb5f1290997'})",
416
+ featureJson: '{"canDrillDown":true}',
417
+ isDynamicReport: true,
418
+ },
419
+ {
420
+ id: 198,
421
+ name: 'Login Rate(Location-wise)',
422
+ navigationState: "techo.report.view({id:'5e97d86e-23cd-4e22-8c64-351fcfc85b85'})",
423
+ featureJson: '{"canDrillDown":true}',
424
+ isDynamicReport: true,
425
+ },
426
+ {
427
+ id: 317,
428
+ name: 'Age-Wise Detail Report',
429
+ navigationState: "techo.report.view({id:'cbfd33e2-b399-45e8-b974-12edacb16e81'})",
430
+ featureJson: '{"canDrillDown":true}',
431
+ isDynamicReport: true,
432
+ },
433
+ {
434
+ id: 333,
435
+ name: 'HMIS Report',
436
+ navigationState: "techo.report.view({id:'74481c42-5a91-4ba0-990a-e77e3326a0a9'})",
437
+ featureJson: '{"canDrillDown":true}',
438
+ isDynamicReport: true,
439
+ },
440
+ {
441
+ id: 337,
442
+ name: 'Age-Wise Detail Report - V2',
443
+ navigationState: "techo.report.view({id:'e6a2a260-d703-4e9a-8433-303bbfeffe96'})",
444
+ featureJson: '{"canDrillDown":true}',
445
+ isDynamicReport: true,
446
+ },
447
+ {
448
+ id: 329,
449
+ name: 'CMTC/NRC Facility Monitoring - V3',
450
+ navigationState: "techo.report.view({id:'35fd1c4f-8f60-4f06-a59a-5207bcaff76a'})",
451
+ featureJson: '{"canDrillDown":true}',
452
+ isDynamicReport: true,
453
+ },
454
+ {
455
+ id: 91,
456
+ name: 'MO Performance Report',
457
+ navigationState: "techo.report.view({id:'0b023663-e4e3-4687-b310-7a1316f40db9'})",
458
+ featureJson: '{"canDrillDown":true}',
459
+ isDynamicReport: true,
460
+ },
461
+ {
462
+ id: 328,
463
+ name: 'Nutrition Screening Center wise Report - V2',
464
+ navigationState: "techo.report.view({id:'075efd07-0e27-4b3e-8a41-384906b39b5f'})",
465
+ featureJson: '{"canDrillDown":true}',
466
+ isDynamicReport: true,
467
+ },
468
+ {
469
+ id: 330,
470
+ name: 'CMTC/NRC Follow-up Visit - V3',
471
+ navigationState: "techo.report.view({id:'125d2193-e798-4baa-b074-de305e1e1854'})",
472
+ featureJson: '{"canDrillDown":true}',
473
+ isDynamicReport: true,
474
+ },
475
+ ],
476
+ },
477
+ {
478
+ id: 258,
479
+ name: 'Staff Sms Configuration',
480
+ navigationState: 'techo.manage.staffsmsconfigs',
481
+ featureJson: '{"canManageAllSms":true}',
482
+ },
483
+ {
484
+ id: 9,
485
+ name: 'Child Report 2',
486
+ navigationState: "techo.report.view({id:'97cf4b39-d28b-4043-a113-f63ecc854c8c'})",
487
+ isGroup: true,
488
+ subGroups: [
489
+ {
490
+ id: 115,
491
+ name: 'LBW Child Registered',
492
+ navigationState: "techo.report.view({id:'97cf4b39-d28b-4043-a113-f63ecc854c8c'})",
493
+ featureJson: '{"canDrillDown":true}',
494
+ isDynamicReport: true,
495
+ },
496
+ {
497
+ id: 138,
498
+ name: 'State Level Monthly Compilation Sheet for Screening of Birth Defects',
499
+ navigationState: "techo.report.view({id:'bb544914-fe96-411d-8094-cf344da5506f'})",
500
+ featureJson: '{"canDrillDown":true}',
501
+ isDynamicReport: true,
502
+ },
503
+ {
504
+ id: 139,
505
+ name: 'Child Health Services Provided during the year (Monthly)',
506
+ navigationState: "techo.report.view({id:'830503de-d1b5-431d-bf04-670d90ab621f'})",
507
+ featureJson: '{"canDrillDown":true}',
508
+ isDynamicReport: true,
509
+ },
510
+ {
511
+ id: 146,
512
+ name: 'Child Health Services Provided during the year (Yearly)',
513
+ navigationState: "techo.report.view({id:'c62ab8b4-25bd-4325-87e5-73d8be8d0536'})",
514
+ featureJson: '{"canDrillDown":true}',
515
+ isDynamicReport: true,
516
+ },
517
+ {
518
+ id: 116,
519
+ name: 'Infant and Neonatal Deaths Report',
520
+ navigationState: "techo.report.view({id:'3b51ed26-a317-4344-8eb3-e14a462bfd5f'})",
521
+ featureJson: '{"canDrillDown":true}',
522
+ isDynamicReport: true,
523
+ },
524
+ ],
525
+ featureJson: '{"canDrillDown":true}',
526
+ isDynamicReport: true,
527
+ },
528
+ {
529
+ id: 26,
530
+ name: 'COVID-19 Report',
531
+ navigationState: "techo.report.view({id:'d8deb91d-cac2-41a6-9eb2-ea6a86b04156'})",
532
+ isGroup: true,
533
+ subGroups: [
534
+ {
535
+ id: 297,
536
+ name: 'Positive Case Detail',
537
+ navigationState: "techo.report.view({id:'d8deb91d-cac2-41a6-9eb2-ea6a86b04156'})",
538
+ featureJson: '{"canDrillDown":true}',
539
+ isDynamicReport: true,
540
+ },
541
+ {
542
+ id: 306,
543
+ name: 'Facility Status Report',
544
+ navigationState: "techo.report.view({id:'a048689a-407a-4efc-b396-dc7319694465'})",
545
+ featureJson: '{"canDrillDown":true}',
546
+ isDynamicReport: true,
547
+ },
548
+ {
549
+ id: 299,
550
+ name: 'IDSP2 Cluster Survey Detail',
551
+ navigationState: "techo.report.view({id:'10cd7d75-3875-4ffa-abc3-286ef330f2a2'})",
552
+ featureJson: '{"canDrillDown":true}',
553
+ isDynamicReport: true,
554
+ },
555
+ {
556
+ id: 304,
557
+ name: 'Lab wise Sample Status',
558
+ navigationState: "techo.report.view({id:'dddd3017-40db-4142-8c39-fe15ff3149a5'})",
559
+ featureJson: '{"canDrillDown":true}',
560
+ isDynamicReport: true,
561
+ },
562
+ {
563
+ id: 302,
564
+ name: 'Infrastructure Wise Component Availability',
565
+ navigationState: "techo.report.view({id:'a85ade02-d6db-4d19-89fb-77907a582e25'})",
566
+ featureJson: '{"canDrillDown":true}',
567
+ isDynamicReport: true,
568
+ },
569
+ {
570
+ id: 298,
571
+ name: 'Covid2019 Hospitalwise detail',
572
+ navigationState: "techo.report.view({id:'047b61cf-cc04-4931-b0f8-24cb9d2ab46d'})",
573
+ featureJson: '{"canDrillDown":true}',
574
+ isDynamicReport: true,
575
+ },
576
+ ],
577
+ featureJson: '{"canDrillDown":true}',
578
+ isDynamicReport: true,
579
+ },
580
+ {
581
+ id: 15,
582
+ name: 'Manage Anganwadis',
583
+ navigationState: 'techo.manage.anganwadi',
584
+ featureJson: '{"canEdit":true}',
585
+ },
586
+ {
587
+ id: 323,
588
+ name: 'System Code Management Tool',
589
+ navigationState: 'techo.manage.systemcode',
590
+ featureJson: '{}',
591
+ },
592
+ ],
593
+ ],
594
+ },
595
+ };