@thetradeengineorg1/snova-shell-module 0.0.260 → 0.0.261

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 (290) hide show
  1. package/README.md +24 -24
  2. package/bundles/thetradeengineorg1-snova-shell-module.umd.js +18874 -18874
  3. package/bundles/thetradeengineorg1-snova-shell-module.umd.js.map +1 -1
  4. package/esm2015/lib/globaldependencies/components/avatar.component.js +33 -33
  5. package/esm2015/lib/globaldependencies/components/componentbase.js +538 -538
  6. package/esm2015/lib/globaldependencies/constants/feature-ids.js +449 -449
  7. package/esm2015/lib/globaldependencies/constants/localstorage-properties.js +38 -38
  8. package/esm2015/lib/globaldependencies/helpers/dom.helper.js +70 -70
  9. package/esm2015/lib/globaldependencies/helpers/fontawesome-icons.js +144 -144
  10. package/esm2015/lib/globaldependencies/helpers/moment-utc-date-adapter.js +37 -37
  11. package/esm2015/lib/globaldependencies/helpers/window.helper.js +32 -32
  12. package/esm2015/lib/globaldependencies/intercepter/jwt.interceptor.js +40 -40
  13. package/esm2015/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.js +36 -36
  14. package/esm2015/lib/globaldependencies/pipes/highLightText.pipe.js +24 -24
  15. package/esm2015/lib/globaldependencies/pipes/orderby-pipe.js +24 -24
  16. package/esm2015/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.js +22 -22
  17. package/esm2015/lib/globaldependencies/pipes/sanitize.pipe.js +24 -24
  18. package/esm2015/lib/globaldependencies/pipes/softlabels.pipes.js +346 -346
  19. package/esm2015/lib/globaldependencies/pipes/utctolocaltime.pipe.js +23 -23
  20. package/esm2015/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.js +25 -25
  21. package/esm2015/lib/globaldependencies/pipes/workflowstatus.pipes.js +27 -27
  22. package/esm2015/lib/shell-components/components/Payments/account.component.js +121 -121
  23. package/esm2015/lib/shell-components/components/Payments/company-information.js +558 -558
  24. package/esm2015/lib/shell-components/components/Payments/company-plans.component.js +636 -636
  25. package/esm2015/lib/shell-components/components/Payments/document.component.js +129 -129
  26. package/esm2015/lib/shell-components/components/Payments/payment-method.component.js +90 -90
  27. package/esm2015/lib/shell-components/components/Payments/product-service.component.js +438 -438
  28. package/esm2015/lib/shell-components/components/Payments/purchase-more-licenses.js +249 -249
  29. package/esm2015/lib/shell-components/components/Payments/transactions.component.js +172 -172
  30. package/esm2015/lib/shell-components/components/admin-layout/admin-layout.component.js +350 -350
  31. package/esm2015/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.js +102 -102
  32. package/esm2015/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.js +126 -126
  33. package/esm2015/lib/shell-components/components/export-import-configuration/export-configuration.component.js +502 -502
  34. package/esm2015/lib/shell-components/components/feed-time/feed-time-dialog.component.js +98 -98
  35. package/esm2015/lib/shell-components/components/feed-time/feed-time.component.js +87 -87
  36. package/esm2015/lib/shell-components/components/header-side/header-side.component.js +2342 -2342
  37. package/esm2015/lib/shell-components/components/header-top/header-top.component.js +489 -489
  38. package/esm2015/lib/shell-components/components/lives/lives-welcome-page.js +55 -55
  39. package/esm2015/lib/shell-components/components/menu/menu.component.js +3413 -3413
  40. package/esm2015/lib/shell-components/components/menu/searchTask.enum.js +10 -10
  41. package/esm2015/lib/shell-components/components/notifications/announcement-dialog.component.js +110 -110
  42. package/esm2015/lib/shell-components/components/notifications/notifications.component.js +534 -534
  43. package/esm2015/lib/shell-components/components/sidebar-top/sidebar-top.component.js +39 -39
  44. package/esm2015/lib/shell-components/components/sidenav/side-bar.component.js +148 -148
  45. package/esm2015/lib/shell-components/components/sidenav/sidenav.component.js +439 -439
  46. package/esm2015/lib/shell-components/components/submit-feedback/submit-feedback.component.js +75 -75
  47. package/esm2015/lib/shell-components/constants/api-urls.js +1052 -1052
  48. package/esm2015/lib/shell-components/constants/available-languages.js +25 -25
  49. package/esm2015/lib/shell-components/constants/channel-names.js +38 -38
  50. package/esm2015/lib/shell-components/constants/menu-categories.js +6 -6
  51. package/esm2015/lib/shell-components/constants/notification-routes.js +6 -6
  52. package/esm2015/lib/shell-components/constants/notification-type-ids.js +42 -42
  53. package/esm2015/lib/shell-components/enum/recentSearchType.enum.js +13 -13
  54. package/esm2015/lib/shell-components/models/AppMenuItemModel.js +3 -3
  55. package/esm2015/lib/shell-components/models/AppNotification.js +17 -17
  56. package/esm2015/lib/shell-components/models/AssetAssignedNotificationModel.js +12 -12
  57. package/esm2015/lib/shell-components/models/ChannelUpdateModel.js +3 -3
  58. package/esm2015/lib/shell-components/models/EmployeeStatusModel.js +3 -3
  59. package/esm2015/lib/shell-components/models/IAdjust-screen-options.js +2 -2
  60. package/esm2015/lib/shell-components/models/IBadge.js +2 -2
  61. package/esm2015/lib/shell-components/models/IChildItem.js +2 -2
  62. package/esm2015/lib/shell-components/models/ILayout-change-options.js +2 -2
  63. package/esm2015/lib/shell-components/models/IMenuItem.js +2 -2
  64. package/esm2015/lib/shell-components/models/IlayoutConf.js +2 -2
  65. package/esm2015/lib/shell-components/models/IntroModel.js +3 -3
  66. package/esm2015/lib/shell-components/models/MessageDetails.js +3 -3
  67. package/esm2015/lib/shell-components/models/MessageTypingDetails.js +3 -3
  68. package/esm2015/lib/shell-components/models/NewProjectCreatedNotificationModel.js +10 -10
  69. package/esm2015/lib/shell-components/models/NewProjectFeatureNotificationModel.js +10 -10
  70. package/esm2015/lib/shell-components/models/NotificationsOutPutModel.js +22 -22
  71. package/esm2015/lib/shell-components/models/ProjectSearchCriteriaInputModel.js +3 -3
  72. package/esm2015/lib/shell-components/models/RecentSearchModel.js +5 -5
  73. package/esm2015/lib/shell-components/models/ReportConfigAssignedNotification.js +11 -11
  74. package/esm2015/lib/shell-components/models/ReportSubmittedNotification.js +12 -12
  75. package/esm2015/lib/shell-components/models/RoleUpdatedNotification.js +9 -9
  76. package/esm2015/lib/shell-components/models/UserStoryAssignedNotification.js +13 -13
  77. package/esm2015/lib/shell-components/models/archiveUserStoryModel.js +10 -10
  78. package/esm2015/lib/shell-components/models/companieslist.model.js +3 -3
  79. package/esm2015/lib/shell-components/models/company-model.js +7 -7
  80. package/esm2015/lib/shell-components/models/company-payment-model.js +3 -3
  81. package/esm2015/lib/shell-components/models/dragedWidget.js +3 -3
  82. package/esm2015/lib/shell-components/models/employee-List.js +3 -3
  83. package/esm2015/lib/shell-components/models/employee.js +4 -4
  84. package/esm2015/lib/shell-components/models/entityRoleFeature.js +3 -3
  85. package/esm2015/lib/shell-components/models/export-configuration-model.js +3 -3
  86. package/esm2015/lib/shell-components/models/export-data.module.js +8 -8
  87. package/esm2015/lib/shell-components/models/goalApprovedNotificationModel.js +9 -9
  88. package/esm2015/lib/shell-components/models/import-configuration-model.js +3 -3
  89. package/esm2015/lib/shell-components/models/initialStatusofUsers.js +3 -3
  90. package/esm2015/lib/shell-components/models/invoiceOutput-model.js +3 -3
  91. package/esm2015/lib/shell-components/models/leaveApplicationNotifiction.js +9 -9
  92. package/esm2015/lib/shell-components/models/multiChartsScheduling.js +11 -11
  93. package/esm2015/lib/shell-components/models/parkUserStoryInputModel.js +10 -10
  94. package/esm2015/lib/shell-components/models/project.js +3 -3
  95. package/esm2015/lib/shell-components/models/recentSearchApiModel.js +3 -3
  96. package/esm2015/lib/shell-components/models/searchCriteriaInputModelBase.js +3 -3
  97. package/esm2015/lib/shell-components/models/shellModulesInfo.js +7 -7
  98. package/esm2015/lib/shell-components/models/softlabels-model.js +7 -7
  99. package/esm2015/lib/shell-components/models/sprintReplanRequestedModel.js +9 -9
  100. package/esm2015/lib/shell-components/models/sprintStartedNotificationModel.js +9 -9
  101. package/esm2015/lib/shell-components/models/store-model.js +3 -3
  102. package/esm2015/lib/shell-components/models/store-search-model.js +4 -4
  103. package/esm2015/lib/shell-components/models/themes.model.js +3 -3
  104. package/esm2015/lib/shell-components/models/timesheetenabledisable.js +4 -4
  105. package/esm2015/lib/shell-components/models/user.js +8 -8
  106. package/esm2015/lib/shell-components/models/userStory.js +3 -3
  107. package/esm2015/lib/shell-components/models/userStoryCommentNotificationModel.js +9 -9
  108. package/esm2015/lib/shell-components/models/userStoryUpdateNotificationModel.js +9 -9
  109. package/esm2015/lib/shell-components/models/userstory-custom-fields.model.js +3 -3
  110. package/esm2015/lib/shell-components/models/validation.model.js +2 -2
  111. package/esm2015/lib/shell-components/models/widgetlist.js +6 -6
  112. package/esm2015/lib/shell-components/models/workspaceList.js +3 -3
  113. package/esm2015/lib/shell-components/services/authentication.service.js +96 -96
  114. package/esm2015/lib/shell-components/services/chat.service.js +67 -67
  115. package/esm2015/lib/shell-components/services/common-used.service.js +263 -263
  116. package/esm2015/lib/shell-components/services/feature.service.js +101 -101
  117. package/esm2015/lib/shell-components/services/google-analytics.service.js +24 -24
  118. package/esm2015/lib/shell-components/services/layout.service.js +68 -68
  119. package/esm2015/lib/shell-components/services/payment.service.js +103 -103
  120. package/esm2015/lib/shell-components/services/recentSearch.service.js +90 -90
  121. package/esm2015/lib/shell-components/services/shell.modules.service.js +24 -24
  122. package/esm2015/lib/shell-components/services/signalr.service.js +113 -113
  123. package/esm2015/lib/shell-components/services/theme.service.js +161 -161
  124. package/esm2015/lib/shell-components/shell.module.js +450 -450
  125. package/esm2015/lib/shell-components/shell.routing.js +16 -16
  126. package/esm2015/lib/shell-components/store/actions/authentication.actions.js +260 -260
  127. package/esm2015/lib/shell-components/store/actions/chat.actions.js +248 -248
  128. package/esm2015/lib/shell-components/store/actions/menuitems.actions.js +39 -39
  129. package/esm2015/lib/shell-components/store/actions/notification-validator.action.js +19 -19
  130. package/esm2015/lib/shell-components/store/actions/notifications.actions.js +74 -74
  131. package/esm2015/lib/shell-components/store/effects/authentication.effects.js +503 -503
  132. package/esm2015/lib/shell-components/store/effects/chat.effects.js +139 -139
  133. package/esm2015/lib/shell-components/store/effects/index.js +13 -13
  134. package/esm2015/lib/shell-components/store/effects/menuitems.effects.js +53 -53
  135. package/esm2015/lib/shell-components/store/effects/notification-validator.effects.js +56 -56
  136. package/esm2015/lib/shell-components/store/effects/notifications.effects.js +116 -116
  137. package/esm2015/lib/shell-components/store/reducers/authentication.reducers.js +86 -86
  138. package/esm2015/lib/shell-components/store/reducers/chat.reducers.js +68 -68
  139. package/esm2015/lib/shell-components/store/reducers/index.js +80 -80
  140. package/esm2015/lib/shell-components/store/reducers/menuitems.reducers.js +56 -56
  141. package/esm2015/lib/shell-components/store/reducers/notification-validator.reducers.js +13 -13
  142. package/esm2015/lib/shell-components/store/reducers/notifications.reducers.js +38 -38
  143. package/esm2015/public-api.js +92 -92
  144. package/esm2015/store/reducers/index.js +47 -47
  145. package/esm2015/thetradeengineorg1-snova-shell-module.js +4 -4
  146. package/fesm2015/thetradeengineorg1-snova-shell-module.js +16979 -16979
  147. package/fesm2015/thetradeengineorg1-snova-shell-module.js.map +1 -1
  148. package/lib/globaldependencies/components/avatar.component.d.ts +10 -10
  149. package/lib/globaldependencies/components/componentbase.d.ts +455 -455
  150. package/lib/globaldependencies/constants/feature-ids.d.ts +448 -448
  151. package/lib/globaldependencies/constants/localstorage-properties.d.ts +37 -37
  152. package/lib/globaldependencies/helpers/dom.helper.d.ts +7 -7
  153. package/lib/globaldependencies/helpers/fontawesome-icons.d.ts +1 -1
  154. package/lib/globaldependencies/helpers/moment-utc-date-adapter.d.ts +9 -9
  155. package/lib/globaldependencies/helpers/window.helper.d.ts +12 -12
  156. package/lib/globaldependencies/intercepter/jwt.interceptor.d.ts +11 -11
  157. package/lib/globaldependencies/pipes/fetchSizedAndCachedImage.pipe.d.ts +8 -8
  158. package/lib/globaldependencies/pipes/highLightText.pipe.d.ts +8 -8
  159. package/lib/globaldependencies/pipes/orderby-pipe.d.ts +9 -9
  160. package/lib/globaldependencies/pipes/removeSpecialCharacters.pipe.d.ts +8 -8
  161. package/lib/globaldependencies/pipes/sanitize.pipe.d.ts +11 -11
  162. package/lib/globaldependencies/pipes/softlabels.pipes.d.ts +8 -8
  163. package/lib/globaldependencies/pipes/utctolocaltime.pipe.d.ts +8 -8
  164. package/lib/globaldependencies/pipes/utctolocaltimewithdate.pipe.d.ts +8 -8
  165. package/lib/globaldependencies/pipes/workflowstatus.pipes.d.ts +8 -8
  166. package/lib/shell-components/components/Payments/account.component.d.ts +14 -14
  167. package/lib/shell-components/components/Payments/company-information.d.ts +62 -62
  168. package/lib/shell-components/components/Payments/company-plans.component.d.ts +47 -47
  169. package/lib/shell-components/components/Payments/document.component.d.ts +20 -20
  170. package/lib/shell-components/components/Payments/payment-method.component.d.ts +15 -15
  171. package/lib/shell-components/components/Payments/product-service.component.d.ts +48 -48
  172. package/lib/shell-components/components/Payments/purchase-more-licenses.d.ts +37 -37
  173. package/lib/shell-components/components/Payments/transactions.component.d.ts +28 -28
  174. package/lib/shell-components/components/admin-layout/admin-layout.component.d.ts +67 -67
  175. package/lib/shell-components/components/all-work-items-dialog/all-work-items-dialog.component.d.ts +32 -32
  176. package/lib/shell-components/components/confirmation-dialog/confirmation-dialog.component.d.ts +32 -32
  177. package/lib/shell-components/components/export-import-configuration/export-configuration.component.d.ts +60 -60
  178. package/lib/shell-components/components/feed-time/feed-time-dialog.component.d.ts +33 -33
  179. package/lib/shell-components/components/feed-time/feed-time.component.d.ts +27 -27
  180. package/lib/shell-components/components/header-side/header-side.component.d.ts +220 -220
  181. package/lib/shell-components/components/header-top/header-top.component.d.ts +40 -40
  182. package/lib/shell-components/components/lives/lives-welcome-page.d.ts +14 -14
  183. package/lib/shell-components/components/menu/menu.component.d.ts +220 -220
  184. package/lib/shell-components/components/menu/searchTask.enum.d.ts +8 -8
  185. package/lib/shell-components/components/notifications/announcement-dialog.component.d.ts +27 -27
  186. package/lib/shell-components/components/notifications/notifications.component.d.ts +53 -53
  187. package/lib/shell-components/components/sidebar-top/sidebar-top.component.d.ts +10 -10
  188. package/lib/shell-components/components/sidenav/side-bar.component.d.ts +23 -23
  189. package/lib/shell-components/components/sidenav/sidenav.component.d.ts +17 -17
  190. package/lib/shell-components/components/submit-feedback/submit-feedback.component.d.ts +25 -25
  191. package/lib/shell-components/constants/api-urls.d.ts +1051 -1051
  192. package/lib/shell-components/constants/available-languages.d.ts +7 -7
  193. package/lib/shell-components/constants/channel-names.d.ts +37 -37
  194. package/lib/shell-components/constants/menu-categories.d.ts +5 -5
  195. package/lib/shell-components/constants/notification-routes.d.ts +5 -5
  196. package/lib/shell-components/constants/notification-type-ids.d.ts +41 -41
  197. package/lib/shell-components/enum/recentSearchType.enum.d.ts +11 -11
  198. package/lib/shell-components/models/AppMenuItemModel.d.ts +12 -12
  199. package/lib/shell-components/models/AppNotification.d.ts +12 -12
  200. package/lib/shell-components/models/AssetAssignedNotificationModel.d.ts +10 -10
  201. package/lib/shell-components/models/ChannelUpdateModel.d.ts +47 -47
  202. package/lib/shell-components/models/EmployeeStatusModel.d.ts +11 -11
  203. package/lib/shell-components/models/IAdjust-screen-options.d.ts +4 -4
  204. package/lib/shell-components/models/IBadge.d.ts +4 -4
  205. package/lib/shell-components/models/IChildItem.d.ts +7 -7
  206. package/lib/shell-components/models/ILayout-change-options.d.ts +4 -4
  207. package/lib/shell-components/models/IMenuItem.d.ts +14 -14
  208. package/lib/shell-components/models/IlayoutConf.d.ts +10 -10
  209. package/lib/shell-components/models/IntroModel.d.ts +3 -3
  210. package/lib/shell-components/models/MessageDetails.d.ts +55 -55
  211. package/lib/shell-components/models/MessageTypingDetails.d.ts +9 -9
  212. package/lib/shell-components/models/NewProjectCreatedNotificationModel.d.ts +8 -8
  213. package/lib/shell-components/models/NewProjectFeatureNotificationModel.d.ts +8 -8
  214. package/lib/shell-components/models/NotificationsOutPutModel.d.ts +41 -41
  215. package/lib/shell-components/models/ProjectSearchCriteriaInputModel.d.ts +10 -10
  216. package/lib/shell-components/models/RecentSearchModel.d.ts +14 -14
  217. package/lib/shell-components/models/ReportConfigAssignedNotification.d.ts +9 -9
  218. package/lib/shell-components/models/ReportSubmittedNotification.d.ts +10 -10
  219. package/lib/shell-components/models/RoleUpdatedNotification.d.ts +7 -7
  220. package/lib/shell-components/models/UserStoryAssignedNotification.d.ts +8 -8
  221. package/lib/shell-components/models/archiveUserStoryModel.d.ts +7 -7
  222. package/lib/shell-components/models/companieslist.model.d.ts +8 -8
  223. package/lib/shell-components/models/company-model.d.ts +31 -31
  224. package/lib/shell-components/models/company-payment-model.d.ts +18 -18
  225. package/lib/shell-components/models/dragedWidget.d.ts +16 -16
  226. package/lib/shell-components/models/employee-List.d.ts +8 -8
  227. package/lib/shell-components/models/employee.d.ts +60 -60
  228. package/lib/shell-components/models/entityRoleFeature.d.ts +9 -9
  229. package/lib/shell-components/models/export-configuration-model.d.ts +8 -8
  230. package/lib/shell-components/models/export-data.module.d.ts +6 -6
  231. package/lib/shell-components/models/goalApprovedNotificationModel.d.ts +8 -8
  232. package/lib/shell-components/models/import-configuration-model.d.ts +3 -3
  233. package/lib/shell-components/models/initialStatusofUsers.d.ts +5 -5
  234. package/lib/shell-components/models/invoiceOutput-model.d.ts +9 -9
  235. package/lib/shell-components/models/leaveApplicationNotifiction.d.ts +7 -7
  236. package/lib/shell-components/models/multiChartsScheduling.d.ts +9 -9
  237. package/lib/shell-components/models/parkUserStoryInputModel.d.ts +7 -7
  238. package/lib/shell-components/models/project.d.ts +28 -28
  239. package/lib/shell-components/models/recentSearchApiModel.d.ts +6 -6
  240. package/lib/shell-components/models/searchCriteriaInputModelBase.d.ts +10 -10
  241. package/lib/shell-components/models/shellModulesInfo.d.ts +16 -16
  242. package/lib/shell-components/models/softlabels-model.d.ts +66 -66
  243. package/lib/shell-components/models/sprintReplanRequestedModel.d.ts +7 -7
  244. package/lib/shell-components/models/sprintStartedNotificationModel.d.ts +7 -7
  245. package/lib/shell-components/models/store-model.d.ts +13 -13
  246. package/lib/shell-components/models/store-search-model.d.ts +7 -7
  247. package/lib/shell-components/models/themes.model.d.ts +9 -9
  248. package/lib/shell-components/models/timesheetenabledisable.d.ts +16 -16
  249. package/lib/shell-components/models/user.d.ts +40 -40
  250. package/lib/shell-components/models/userStory.d.ts +188 -188
  251. package/lib/shell-components/models/userStoryCommentNotificationModel.d.ts +6 -6
  252. package/lib/shell-components/models/userStoryUpdateNotificationModel.d.ts +6 -6
  253. package/lib/shell-components/models/userstory-custom-fields.model.d.ts +6 -6
  254. package/lib/shell-components/models/validation.model.d.ts +5 -5
  255. package/lib/shell-components/models/widgetlist.d.ts +28 -28
  256. package/lib/shell-components/models/workspaceList.d.ts +19 -19
  257. package/lib/shell-components/services/authentication.service.d.ts +18 -18
  258. package/lib/shell-components/services/chat.service.d.ts +16 -16
  259. package/lib/shell-components/services/common-used.service.d.ts +45 -45
  260. package/lib/shell-components/services/feature.service.d.ts +19 -19
  261. package/lib/shell-components/services/google-analytics.service.d.ts +9 -9
  262. package/lib/shell-components/services/layout.service.d.ts +23 -23
  263. package/lib/shell-components/services/payment.service.d.ts +19 -19
  264. package/lib/shell-components/services/recentSearch.service.d.ts +16 -16
  265. package/lib/shell-components/services/shell.modules.service.d.ts +9 -9
  266. package/lib/shell-components/services/signalr.service.d.ts +25 -25
  267. package/lib/shell-components/services/theme.service.d.ts +14 -14
  268. package/lib/shell-components/shell.module.d.ts +119 -119
  269. package/lib/shell-components/shell.routing.d.ts +2 -2
  270. package/lib/shell-components/store/actions/authentication.actions.d.ts +327 -327
  271. package/lib/shell-components/store/actions/chat.actions.d.ts +399 -399
  272. package/lib/shell-components/store/actions/menuitems.actions.d.ts +51 -51
  273. package/lib/shell-components/store/actions/notification-validator.action.d.ts +25 -25
  274. package/lib/shell-components/store/actions/notifications.actions.d.ts +116 -116
  275. package/lib/shell-components/store/effects/authentication.effects.d.ts +54 -54
  276. package/lib/shell-components/store/effects/chat.effects.d.ts +30 -30
  277. package/lib/shell-components/store/effects/index.d.ts +1 -1
  278. package/lib/shell-components/store/effects/menuitems.effects.d.ts +17 -17
  279. package/lib/shell-components/store/effects/notification-validator.effects.d.ts +21 -21
  280. package/lib/shell-components/store/effects/notifications.effects.d.ts +23 -23
  281. package/lib/shell-components/store/reducers/authentication.reducers.d.ts +30 -30
  282. package/lib/shell-components/store/reducers/chat.reducers.d.ts +17 -17
  283. package/lib/shell-components/store/reducers/index.d.ts +59 -59
  284. package/lib/shell-components/store/reducers/menuitems.reducers.d.ts +11 -11
  285. package/lib/shell-components/store/reducers/notification-validator.reducers.d.ts +5 -5
  286. package/lib/shell-components/store/reducers/notifications.reducers.d.ts +10 -10
  287. package/package.json +1 -1
  288. package/public-api.d.ts +82 -82
  289. package/store/reducers/index.d.ts +24 -24
  290. package/thetradeengineorg1-snova-shell-module.d.ts +5 -5
@@ -1,75 +1,75 @@
1
- import { Component, ViewEncapsulation, Output, EventEmitter } from '@angular/core';
2
- import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
3
- import '../../../globaldependencies/helpers/fontawesome-icons';
4
- import { NgModuleFactory } from '@angular/core';
5
- import * as _ from "underscore";
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../services/shell.modules.service";
8
- import * as i2 from "@thetradeengineorg1/snova-ndc-dynamic";
9
- export class FeedBackSubmissionComponent extends CustomAppBaseComponent {
10
- constructor(shellModulesService, vcr, projectModulesService, compiler) {
11
- super();
12
- this.shellModulesService = shellModulesService;
13
- this.vcr = vcr;
14
- this.projectModulesService = projectModulesService;
15
- this.compiler = compiler;
16
- this.outputs = {
17
- closeDialog: type => this.closeDialogRef(type)
18
- };
19
- this.closeDialog = new EventEmitter();
20
- }
21
- ngOnInit() {
22
- this.injector = this.vcr.injector;
23
- super.ngOnInit();
24
- this.loadComponent();
25
- }
26
- closeDialogRef(data) {
27
- this.closeDialog.emit(data);
28
- }
29
- loadComponent() {
30
- // var modules = this.shellModulesService["modules"];
31
- var loader = this.projectModulesService["modules"];
32
- var modules = JSON.parse(localStorage.getItem("Modules"));
33
- var module = _.find(modules, function (module) { return module.modulePackageName == 'FeedbackPackageModule'; });
34
- var path = loader[module.modulePackageName];
35
- path()
36
- .then(elementModuleOrFactory => {
37
- if (elementModuleOrFactory instanceof NgModuleFactory) {
38
- // if ViewEngine
39
- return elementModuleOrFactory;
40
- }
41
- else {
42
- try {
43
- // if Ivy
44
- return this.compiler.compileModuleAsync(elementModuleOrFactory);
45
- }
46
- catch (err) {
47
- throw err;
48
- }
49
- }
50
- }).then((moduleFactory) => {
51
- const componentService = moduleFactory.moduleType.componentService;
52
- var allComponentsInModule = componentService.components;
53
- this.ngModuleRef = moduleFactory.create(this.injector);
54
- var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Feedback comp");
55
- this.shellFeedbackComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
56
- });
57
- }
58
- }
59
- FeedBackSubmissionComponent.ɵfac = function FeedBackSubmissionComponent_Factory(t) { return new (t || FeedBackSubmissionComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler)); };
60
- FeedBackSubmissionComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedBackSubmissionComponent, selectors: [["app-submit-feedback"]], outputs: { closeDialog: "closeDialog" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedBackSubmissionComponent_Template(rf, ctx) { if (rf & 1) {
61
- i0.ɵɵelement(0, "ndc-dynamic", 0);
62
- } if (rf & 2) {
63
- i0.ɵɵproperty("ndcDynamicFactory", ctx.shellFeedbackComponent)("ndcDynamicComponent", ctx.shellFeedbackComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
64
- } }, directives: [i2.DynamicComponent, i2.DynamicDirective], encapsulation: 2 });
65
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedBackSubmissionComponent, [{
66
- type: Component,
67
- args: [{
68
- selector: 'app-submit-feedback',
69
- templateUrl: 'submit-feedback.component.html',
70
- encapsulation: ViewEncapsulation.None,
71
- }]
72
- }], function () { return [{ type: i1.ShellModulesService }, { type: i0.ViewContainerRef }, { type: i1.ShellModulesService }, { type: i0.Compiler }]; }, { closeDialog: [{
73
- type: Output
74
- }] }); })();
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VibWl0LWZlZWRiYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NoZWxsLW1vZHVsZS1jb21wb25lbnRzL3NoZWxsLWNvbXBvbmVudHMvc3JjL2xpYi9zaGVsbC1jb21wb25lbnRzL2NvbXBvbmVudHMvc3VibWl0LWZlZWRiYWNrL3N1Ym1pdC1mZWVkYmFjay5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaGVsbC1tb2R1bGUtY29tcG9uZW50cy9zaGVsbC1jb21wb25lbnRzL3NyYy9saWIvc2hlbGwtY29tcG9uZW50cy9jb21wb25lbnRzL3N1Ym1pdC1mZWVkYmFjay9zdWJtaXQtZmVlZGJhY2suY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxpQkFBaUIsRUFBdUUsTUFBTSxFQUFFLFlBQVksRUFBc0MsTUFBTSxlQUFlLENBQUM7QUFDcE0sT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sc0RBQXNELENBQUM7QUFDOUYsT0FBTyx1REFBdUQsQ0FBQztBQUMvRCxPQUFPLEVBQUUsZUFBZSxFQUFRLE1BQU0sZUFBZSxDQUFDO0FBRXRELE9BQU8sS0FBSyxDQUFDLE1BQU0sWUFBWSxDQUFDOzs7O0FBU2hDLE1BQU0sT0FBTywyQkFBNEIsU0FBUSxzQkFBc0I7SUFZbkUsWUFDWSxtQkFBd0MsR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AgICAgICAgICAgICAgIGlmIChlbGVtZW50TW9kdWxlT3JGYWN0b3J5IGluc3RhbmNlb2YgTmdNb2R1bGVGYWN0b3J5KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgLy8gaWYgVmlld0VuZ2luZVxyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBlbGVtZW50TW9kdWxlT3JGYWN0b3J5O1xyXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICB0cnkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBpZiBJdnlcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuY29tcGlsZXIuY29tcGlsZU1vZHVsZUFzeW5jKGVsZW1lbnRNb2R1bGVPckZhY3RvcnkpO1xyXG4gICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycikge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvdyBlcnI7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9KS50aGVuKChtb2R1bGVGYWN0b3J5OiBOZ01vZHVsZUZhY3Rvcnk8YW55PikgPT4ge1xyXG5cclxuICAgICAgICAgICAgICAgIGNvbnN0IGNvbXBvbmVudFNlcnZpY2UgPSAobW9kdWxlRmFjdG9yeS5tb2R1bGVUeXBlIGFzIE1vZHVsZVdpdGhDb21wb25lbnRTZXJ2aWNlKS5jb21wb25lbnRTZXJ2aWNlO1xyXG5cclxuICAgICAgICAgICAgICAgIHZhciBhbGxDb21wb25lbnRzSW5Nb2R1bGUgPSAoPGFueT5jb21wb25lbnRTZXJ2aWNlKS5jb21wb25lbnRzO1xyXG5cclxuICAgICAgICAgICAgICAgIHRoaXMubmdNb2R1bGVSZWYgPSBtb2R1bGVGYWN0b3J5LmNyZWF0ZSh0aGlzLmluamVjdG9yKTtcclxuXHJcbiAgICAgICAgICAgICAgICB2YXIgY29tcG9uZW50RGV0YWlscyA9IGFsbENvbXBvbmVudHNJbk1vZHVsZS5maW5kKGVsZW1lbnRJbkFycmF5ID0+XHJcbiAgICAgICAgICAgICAgICAgICAgZWxlbWVudEluQXJyYXkubmFtZSA9PT0gXCJGZWVkYmFjayBjb21wXCJcclxuICAgICAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICAgICAgdGhpcy5zaGVsbEZlZWRiYWNrQ29tcG9uZW50ID0gdGhpcy5uZ01vZHVsZVJlZi5jb21wb25lbnRGYWN0b3J5UmVzb2x2ZXIucmVzb2x2ZUNvbXBvbmVudEZhY3RvcnkoY29tcG9uZW50RGV0YWlscy5jb21wb25lbnRUeXBlT2JqZWN0KTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG59XHJcbiIsIjxuZGMtZHluYW1pYyBbbmRjRHluYW1pY0ZhY3RvcnldPVwic2hlbGxGZWVkYmFja0NvbXBvbmVudFwiXHJcbiAgICBbbmRjRHluYW1pY0NvbXBvbmVudF09XCJzaGVsbEZlZWRiYWNrQ29tcG9uZW50XCIgW25kY0R5bmFtaWNJbmplY3Rvcl09XCJpbmplY3RvclwiXHJcbiAgICBbbmRjRHluYW1pY0lucHV0c109XCJjb21wb25lbnRJbnB1dHNcIiBbbmRjRHluYW1pY091dHB1dHNdPVwib3V0cHV0c1wiPlxyXG48L25kYy1keW5hbWljPiJdfQ==
1
+ import { Component, ViewEncapsulation, Output, EventEmitter } from '@angular/core';
2
+ import { CustomAppBaseComponent } from '../../../globaldependencies/components/componentbase';
3
+ import '../../../globaldependencies/helpers/fontawesome-icons';
4
+ import { NgModuleFactory } from '@angular/core';
5
+ import * as _ from "underscore";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../services/shell.modules.service";
8
+ import * as i2 from "@thetradeengineorg1/snova-ndc-dynamic";
9
+ export class FeedBackSubmissionComponent extends CustomAppBaseComponent {
10
+ constructor(shellModulesService, vcr, projectModulesService, compiler) {
11
+ super();
12
+ this.shellModulesService = shellModulesService;
13
+ this.vcr = vcr;
14
+ this.projectModulesService = projectModulesService;
15
+ this.compiler = compiler;
16
+ this.outputs = {
17
+ closeDialog: type => this.closeDialogRef(type)
18
+ };
19
+ this.closeDialog = new EventEmitter();
20
+ }
21
+ ngOnInit() {
22
+ this.injector = this.vcr.injector;
23
+ super.ngOnInit();
24
+ this.loadComponent();
25
+ }
26
+ closeDialogRef(data) {
27
+ this.closeDialog.emit(data);
28
+ }
29
+ loadComponent() {
30
+ // var modules = this.shellModulesService["modules"];
31
+ var loader = this.projectModulesService["modules"];
32
+ var modules = JSON.parse(localStorage.getItem("Modules"));
33
+ var module = _.find(modules, function (module) { return module.modulePackageName == 'FeedbackPackageModule'; });
34
+ var path = loader[module.modulePackageName];
35
+ path()
36
+ .then(elementModuleOrFactory => {
37
+ if (elementModuleOrFactory instanceof NgModuleFactory) {
38
+ // if ViewEngine
39
+ return elementModuleOrFactory;
40
+ }
41
+ else {
42
+ try {
43
+ // if Ivy
44
+ return this.compiler.compileModuleAsync(elementModuleOrFactory);
45
+ }
46
+ catch (err) {
47
+ throw err;
48
+ }
49
+ }
50
+ }).then((moduleFactory) => {
51
+ const componentService = moduleFactory.moduleType.componentService;
52
+ var allComponentsInModule = componentService.components;
53
+ this.ngModuleRef = moduleFactory.create(this.injector);
54
+ var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Feedback comp");
55
+ this.shellFeedbackComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
56
+ });
57
+ }
58
+ }
59
+ FeedBackSubmissionComponent.ɵfac = function FeedBackSubmissionComponent_Factory(t) { return new (t || FeedBackSubmissionComponent)(i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i1.ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler)); };
60
+ FeedBackSubmissionComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedBackSubmissionComponent, selectors: [["app-submit-feedback"]], outputs: { closeDialog: "closeDialog" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedBackSubmissionComponent_Template(rf, ctx) { if (rf & 1) {
61
+ i0.ɵɵelement(0, "ndc-dynamic", 0);
62
+ } if (rf & 2) {
63
+ i0.ɵɵproperty("ndcDynamicFactory", ctx.shellFeedbackComponent)("ndcDynamicComponent", ctx.shellFeedbackComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
64
+ } }, directives: [i2.DynamicComponent, i2.DynamicDirective], encapsulation: 2 });
65
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedBackSubmissionComponent, [{
66
+ type: Component,
67
+ args: [{
68
+ selector: 'app-submit-feedback',
69
+ templateUrl: 'submit-feedback.component.html',
70
+ encapsulation: ViewEncapsulation.None,
71
+ }]
72
+ }], function () { return [{ type: i1.ShellModulesService }, { type: i0.ViewContainerRef }, { type: i1.ShellModulesService }, { type: i0.Compiler }]; }, { closeDialog: [{
73
+ type: Output
74
+ }] }); })();
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VibWl0LWZlZWRiYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NoZWxsLW1vZHVsZS1jb21wb25lbnRzL3NoZWxsLWNvbXBvbmVudHMvc3JjL2xpYi9zaGVsbC1jb21wb25lbnRzL2NvbXBvbmVudHMvc3VibWl0LWZlZWRiYWNrL3N1Ym1pdC1mZWVkYmFjay5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zaG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b2NhbFN0b3JhZ2UuZ2V0SXRlbShcIk1vZHVsZXNcIikpO1xuICAgICAgICB2YXIgbW9kdWxlID0gXy5maW5kKG1vZHVsZXMsIGZ1bmN0aW9uIChtb2R1bGU6IGFueSl7IHJldHVybiBtb2R1bGUubW9kdWxlUGFja2FnZU5hbWUgPT0gJ0ZlZWRiYWNrUGFja2FnZU1vZHVsZScgfSk7XG4gICAgICAgIHZhciBwYXRoID0gbG9hZGVyW21vZHVsZS5tb2R1bGVQYWNrYWdlTmFtZV07XG5cbiAgICAgICAgKHBhdGgoKSBhcyBQcm9taXNlPE5nTW9kdWxlRmFjdG9yeTxhbnk+IHwgVHlwZTxhbnk+PilcbiAgICAgICAgICAgIC50aGVuKGVsZW1lbnRNb2R1bGVPckZhY3RvcnkgPT4ge1xuICAgICAgICAgICAgICAgIGlmIChlbGVtZW50TW9kdWxlT3JGYWN0b3J5IGluc3RhbmNlb2YgTmdNb2R1bGVGYWN0b3J5KSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGlmIFZpZXdFbmdpbmVcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGVsZW1lbnRNb2R1bGVPckZhY3Rvcnk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIEl2eVxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuY29tcGlsZXIuY29tcGlsZU1vZHVsZUFzeW5jKGVsZW1lbnRNb2R1bGVPckZhY3RvcnkpO1xuICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93IGVycjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pLnRoZW4oKG1vZHVsZUZhY3Rvcnk6IE5nTW9kdWxlRmFjdG9yeTxhbnk+KSA9PiB7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBjb21wb25lbnRTZXJ2aWNlID0gKG1vZHVsZUZhY3RvcnkubW9kdWxlVHlwZSBhcyBNb2R1bGVXaXRoQ29tcG9uZW50U2VydmljZSkuY29tcG9uZW50U2VydmljZTtcblxuICAgICAgICAgICAgICAgIHZhciBhbGxDb21wb25lbnRzSW5Nb2R1bGUgPSAoPGFueT5jb21wb25lbnRTZXJ2aWNlKS5jb21wb25lbnRzO1xuXG4gICAgICAgICAgICAgICAgdGhpcy5uZ01vZHVsZVJlZiA9IG1vZHVsZUZhY3RvcnkuY3JlYXRlKHRoaXMuaW5qZWN0b3IpO1xuXG4gICAgICAgICAgICAgICAgdmFyIGNvbXBvbmVudERldGFpbHMgPSBhbGxDb21wb25lbnRzSW5Nb2R1bGUuZmluZChlbGVtZW50SW5BcnJheSA9PlxuICAgICAgICAgICAgICAgICAgICBlbGVtZW50SW5BcnJheS5uYW1lID09PSBcIkZlZWRiYWNrIGNvbXBcIlxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLnNoZWxsRmVlZGJhY2tDb21wb25lbnQgPSB0aGlzLm5nTW9kdWxlUmVmLmNvbXBvbmVudEZhY3RvcnlSZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeShjb21wb25lbnREZXRhaWxzLmNvbXBvbmVudFR5cGVPYmplY3QpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG59XG4iLCI8bmRjLWR5bmFtaWMgW25kY0R5bmFtaWNGYWN0b3J5XT1cInNoZWxsRmVlZGJhY2tDb21wb25lbnRcIlxuICAgIFtuZGNEeW5hbWljQ29tcG9uZW50XT1cInNoZWxsRmVlZGJhY2tDb21wb25lbnRcIiBbbmRjRHluYW1pY0luamVjdG9yXT1cImluamVjdG9yXCJcbiAgICBbbmRjRHluYW1pY0lucHV0c109XCJjb21wb25lbnRJbnB1dHNcIiBbbmRjRHluYW1pY091dHB1dHNdPVwib3V0cHV0c1wiPlxuPC9uZGMtZHluYW1pYz4iXX0=