nuxeo-development-framework 3.8.1 → 3.8.3

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 (311) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +32267 -31027
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +2 -2
  4. package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +2 -2
  5. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +2 -2
  6. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +2 -2
  7. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +1 -1
  8. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +2 -2
  9. package/esm2015/lib/components/comments/services/comment-api.service.js +3 -3
  10. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +3 -3
  11. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +2 -2
  12. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +2 -2
  13. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +3 -3
  14. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +3 -3
  15. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +2 -2
  16. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +2 -2
  17. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +2 -2
  18. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +6 -6
  19. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +1 -1
  20. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +23 -11
  21. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +2 -2
  22. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +2 -2
  23. package/esm2015/lib/components/documents/services/document-templates.service.js +3 -3
  24. package/esm2015/lib/components/documents/services/documents.service.js +3 -3
  25. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +2 -2
  26. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +2 -2
  27. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +2 -2
  28. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +2 -2
  29. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +3 -3
  30. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +2 -2
  31. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +2 -2
  32. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +5 -5
  33. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +3 -3
  34. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +2 -2
  35. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +2 -2
  36. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +2 -2
  37. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -4
  38. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +2 -2
  39. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +2 -2
  40. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +2 -2
  41. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +3 -3
  42. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +3 -3
  43. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +3 -3
  44. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +2 -2
  45. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +2 -2
  46. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +2 -2
  47. package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +2 -2
  48. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +4 -4
  49. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +2 -2
  50. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +4 -4
  51. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +5 -5
  52. package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +4 -4
  53. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +3 -3
  54. package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +78 -0
  55. package/esm2015/lib/components/file-manger/file-manager.abstract.js +459 -301
  56. package/esm2015/lib/components/file-manger/file-manger.module.js +10 -5
  57. package/esm2015/lib/components/file-manger/models/file-manager-config.model.js +7 -0
  58. package/esm2015/lib/components/file-manger/models/index.js +4 -0
  59. package/esm2015/lib/components/file-manger/models/pagination-payload.mode.js +2 -0
  60. package/esm2015/lib/components/file-manger/models/pagination-response.model.js +6 -0
  61. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +3 -3
  62. package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +2 -2
  63. package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +154 -0
  64. package/esm2015/lib/components/notifications/components/base-notifications.component.js +35 -0
  65. package/esm2015/lib/components/notifications/components/index.js +7 -0
  66. package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +44 -0
  67. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +41 -129
  68. package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +34 -0
  69. package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +26 -0
  70. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +75 -165
  71. package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +59 -0
  72. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +53 -175
  73. package/esm2015/lib/components/notifications/components/notifications-list/options.js +24 -0
  74. package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +43 -0
  75. package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +28 -0
  76. package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.js +30 -0
  77. package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +163 -0
  78. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +28 -0
  79. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +158 -0
  80. package/esm2015/lib/components/notifications/constants/date.js +8 -0
  81. package/esm2015/lib/components/notifications/constants/index.js +5 -0
  82. package/esm2015/lib/components/notifications/constants/pagination.js +5 -0
  83. package/esm2015/lib/components/notifications/constants/panel.js +5 -0
  84. package/esm2015/lib/components/notifications/constants/status.js +10 -0
  85. package/esm2015/lib/components/notifications/containers/index.js +3 -0
  86. package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +98 -0
  87. package/esm2015/lib/components/notifications/containers/notifications-list-container/options.js +18 -0
  88. package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +67 -0
  89. package/esm2015/lib/components/notifications/directives/button.directive.js +28 -0
  90. package/esm2015/lib/components/notifications/directives/index.js +3 -0
  91. package/esm2015/lib/components/notifications/directives/notification.directive.js +28 -0
  92. package/esm2015/lib/components/notifications/index.js +2 -0
  93. package/esm2015/lib/components/notifications/models/common.js +2 -0
  94. package/esm2015/lib/components/notifications/models/index.js +11 -0
  95. package/esm2015/lib/components/notifications/models/notification-definition.model.js +2 -0
  96. package/esm2015/lib/components/notifications/models/notification-options.js +2 -0
  97. package/esm2015/lib/components/notifications/models/notification-setting.presenter.js +2 -0
  98. package/esm2015/lib/components/notifications/models/notification-subscription.model.js +2 -0
  99. package/esm2015/lib/components/notifications/models/notification.model.js +2 -0
  100. package/esm2015/lib/components/notifications/models/notifications-list-options.js +3 -0
  101. package/esm2015/lib/components/notifications/models/paging-response.model.js +2 -0
  102. package/esm2015/lib/components/notifications/models/params.model.js +2 -0
  103. package/esm2015/lib/components/notifications/models/vocabularies.js +2 -0
  104. package/esm2015/lib/components/notifications/notifications.module.js +80 -46
  105. package/esm2015/lib/components/notifications/public-api.js +9 -0
  106. package/esm2015/lib/components/notifications/services/index.js +2 -0
  107. package/esm2015/lib/components/notifications/services/listener.service.js +19 -0
  108. package/esm2015/lib/components/notifications/services/notifications.service.js +155 -0
  109. package/esm2015/lib/components/notifications/services/params.service.js +31 -0
  110. package/esm2015/lib/components/notifications/services/response.service.js +65 -0
  111. package/esm2015/lib/components/notifications/utilities/index.js +2 -0
  112. package/esm2015/lib/components/notifications/utilities/response.adapter.js +12 -0
  113. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +3 -3
  114. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +2 -2
  115. package/esm2015/lib/components/permissions/permission.service.js +2 -2
  116. package/esm2015/lib/components/permissions/permissions/permissions.component.js +3 -3
  117. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +2 -2
  118. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +2 -2
  119. package/esm2015/lib/components/table/table/table.component.js +3 -3
  120. package/esm2015/lib/components/{notifications → toasts}/components/notification-toast/notification-toast.component.js +8 -12
  121. package/esm2015/lib/components/toasts/index.js +2 -0
  122. package/esm2015/lib/components/toasts/public-api.js +3 -0
  123. package/esm2015/lib/components/toasts/toasts.module.js +19 -0
  124. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +2 -2
  125. package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +2 -2
  126. package/esm2015/lib/core/adapters/adapter.service.js +1 -1
  127. package/esm2015/lib/core/core.module.js +1 -1
  128. package/esm2015/lib/core/env/env-manager.js +1 -1
  129. package/esm2015/lib/core/env/index.js +1 -1
  130. package/esm2015/lib/core/models/api-response.model.js +2 -0
  131. package/esm2015/lib/core/models/automation-response.model.js +2 -0
  132. package/esm2015/lib/core/models/base-response.models.js +2 -0
  133. package/esm2015/lib/core/models/index.js +5 -0
  134. package/esm2015/lib/core/services/callApi/call-api.service.js +1 -1
  135. package/esm2015/lib/core/services/extension/action.extensions.js +1 -1
  136. package/esm2015/lib/core/services/extension/component-register.service.js +1 -1
  137. package/esm2015/lib/core/services/extension/extenion-utils.js +1 -1
  138. package/esm2015/lib/core/services/extension/extension-element.js +1 -1
  139. package/esm2015/lib/core/services/extension/extension-loader.service.js +1 -1
  140. package/esm2015/lib/core/services/extension/extension.service.js +1 -1
  141. package/esm2015/lib/core/services/initialization/initialization.service.js +1 -1
  142. package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +3 -3
  143. package/esm2015/lib/core/services/translation/translation.service.js +3 -3
  144. package/esm2015/lib/core/utilities/moment-date-adapter.js +1 -1
  145. package/esm2015/lib/core/utilities/utility.service.js +1 -1
  146. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +2 -2
  147. package/esm2015/lib/directive/permissions/evaluators.service.js +2 -2
  148. package/esm2015/lib/directive/permissions/permissions.directive.js +2 -2
  149. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +2 -2
  150. package/esm2015/lib/directive/rtl/set-rtl.directive.js +2 -2
  151. package/esm2015/lib/shared-services/dynamic-form.service.js +2 -2
  152. package/esm2015/lib/shared-services/file-manager.service.js +456 -222
  153. package/esm2015/lib/shared-services/global-admin.service.js +1 -1
  154. package/esm2015/lib/shared-services/mainfolder.service.js +3 -3
  155. package/esm2015/lib/shared-services/publishing-document.service.js +3 -3
  156. package/esm2015/lib/shared-services/recently-viewed.service.js +3 -3
  157. package/esm2015/lib/shared-services/shared-docs.service.js +3 -3
  158. package/esm2015/lib/shared-services/upload-file.service.js +2 -2
  159. package/esm2015/lib/shared-services/upload-managment.service.js +2 -2
  160. package/esm2015/lib/shared-services/user.service.js +3 -3
  161. package/esm2015/public-api.js +145 -149
  162. package/fesm2015/nuxeo-development-framework.js +24280 -23143
  163. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  164. package/lib/components/activities-log/activities-log/activities-log.service.d.ts +1 -1
  165. package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +1 -1
  166. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +1 -1
  167. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +1 -1
  168. package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +1 -1
  169. package/lib/components/comments/services/comment-api.service.d.ts +2 -2
  170. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +2 -2
  171. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +1 -1
  172. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +1 -1
  173. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +2 -2
  174. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +2 -2
  175. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +1 -1
  176. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +1 -1
  177. package/lib/components/cts-tags/services/tags-api.service.d.ts +1 -1
  178. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +1 -1
  179. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -1
  180. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +8 -4
  181. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +1 -1
  182. package/lib/components/documents/components/document-list/documents-list.component.d.ts +1 -1
  183. package/lib/components/documents/services/document-templates.service.d.ts +2 -2
  184. package/lib/components/documents/services/documents.service.d.ts +2 -2
  185. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +1 -1
  186. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +1 -1
  187. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +1 -1
  188. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +1 -1
  189. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +1 -1
  190. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +1 -1
  191. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +1 -1
  192. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +4 -4
  193. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +2 -2
  194. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +1 -1
  195. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +1 -1
  196. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +1 -1
  197. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +3 -3
  198. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +1 -1
  199. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +1 -1
  200. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +1 -1
  201. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +2 -2
  202. package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +2 -2
  203. package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +2 -2
  204. package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +1 -1
  205. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +1 -1
  206. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +1 -1
  207. package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +1 -1
  208. package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +3 -3
  209. package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +1 -1
  210. package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +3 -3
  211. package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +3 -3
  212. package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +2 -2
  213. package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +2 -2
  214. package/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.d.ts +12 -0
  215. package/lib/components/file-manger/file-manager.abstract.d.ts +20 -8
  216. package/lib/components/file-manger/file-manger.module.d.ts +37 -36
  217. package/lib/components/file-manger/models/file-manager-config.model.d.ts +8 -0
  218. package/lib/components/file-manger/models/index.d.ts +3 -0
  219. package/lib/components/file-manger/models/pagination-payload.mode.d.ts +3 -0
  220. package/lib/components/file-manger/models/pagination-response.model.d.ts +30 -0
  221. package/lib/components/latest-activity/services/activity-log.service.d.ts +2 -2
  222. package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +1 -1
  223. package/lib/components/notifications/components/base-list-notfications.component.d.ts +40 -0
  224. package/lib/components/notifications/components/base-notifications.component.d.ts +20 -0
  225. package/lib/components/notifications/components/index.d.ts +6 -0
  226. package/lib/components/notifications/components/notification-item/get-icon.pipe.d.ts +8 -0
  227. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +21 -22
  228. package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +12 -0
  229. package/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.d.ts +8 -0
  230. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +29 -30
  231. package/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.d.ts +19 -0
  232. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +15 -54
  233. package/lib/components/notifications/components/notifications-list/options.d.ts +2 -0
  234. package/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.d.ts +15 -0
  235. package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts +8 -0
  236. package/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.d.ts +3 -0
  237. package/lib/components/notifications/components/notifications-settings/notifications-settings.component.d.ts +40 -0
  238. package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.d.ts +9 -0
  239. package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.d.ts +43 -0
  240. package/lib/components/notifications/constants/date.d.ts +7 -0
  241. package/lib/components/notifications/constants/index.d.ts +4 -0
  242. package/lib/components/notifications/constants/pagination.d.ts +4 -0
  243. package/lib/components/notifications/constants/panel.d.ts +4 -0
  244. package/lib/components/notifications/constants/status.d.ts +9 -0
  245. package/lib/components/notifications/containers/index.d.ts +2 -0
  246. package/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.d.ts +27 -0
  247. package/lib/components/notifications/containers/notifications-list-container/options.d.ts +2 -0
  248. package/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.d.ts +22 -0
  249. package/lib/components/notifications/directives/button.directive.d.ts +9 -0
  250. package/lib/components/notifications/directives/index.d.ts +2 -0
  251. package/lib/components/notifications/directives/notification.directive.d.ts +9 -0
  252. package/lib/components/notifications/index.d.ts +1 -0
  253. package/lib/components/notifications/models/common.d.ts +64 -0
  254. package/lib/components/notifications/models/index.d.ts +10 -0
  255. package/lib/components/notifications/models/notification-definition.model.d.ts +17 -0
  256. package/lib/components/notifications/models/notification-options.d.ts +7 -0
  257. package/lib/components/notifications/models/notification-setting.presenter.d.ts +24 -0
  258. package/lib/components/notifications/models/notification-subscription.model.d.ts +13 -0
  259. package/lib/components/notifications/models/notification.model.d.ts +16 -0
  260. package/lib/components/notifications/models/notifications-list-options.d.ts +34 -0
  261. package/lib/components/notifications/models/paging-response.model.d.ts +12 -0
  262. package/lib/components/notifications/models/params.model.d.ts +6 -0
  263. package/lib/components/notifications/models/vocabularies.d.ts +12 -0
  264. package/lib/components/notifications/notifications.module.d.ts +32 -16
  265. package/lib/components/notifications/public-api.d.ts +8 -0
  266. package/lib/components/notifications/services/index.d.ts +1 -0
  267. package/lib/components/notifications/services/listener.service.d.ts +8 -0
  268. package/lib/components/notifications/services/notifications.service.d.ts +55 -0
  269. package/lib/components/notifications/services/params.service.d.ts +19 -0
  270. package/lib/components/notifications/services/response.service.d.ts +19 -0
  271. package/lib/components/notifications/utilities/index.d.ts +1 -0
  272. package/lib/components/notifications/utilities/response.adapter.d.ts +3 -0
  273. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +2 -2
  274. package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +1 -1
  275. package/lib/components/permissions/permission.service.d.ts +1 -1
  276. package/lib/components/permissions/permissions/permissions.component.d.ts +2 -2
  277. package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +1 -1
  278. package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +1 -1
  279. package/lib/components/table/table/table.component.d.ts +2 -2
  280. package/lib/components/{notifications → toasts}/components/notification-toast/notification-toast.component.d.ts +2 -4
  281. package/lib/components/toasts/index.d.ts +1 -0
  282. package/lib/components/toasts/public-api.d.ts +2 -0
  283. package/lib/components/toasts/toasts.module.d.ts +8 -0
  284. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +1 -1
  285. package/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.d.ts +1 -1
  286. package/lib/core/models/api-response.model.d.ts +24 -0
  287. package/lib/core/models/automation-response.model.d.ts +24 -0
  288. package/lib/core/models/base-response.models.d.ts +12 -0
  289. package/lib/core/models/index.d.ts +4 -0
  290. package/lib/core/services/nuxeo/nuxeo.service.d.ts +1 -1
  291. package/lib/core/services/translation/translation.service.d.ts +3 -3
  292. package/lib/directive/app-has-role/app-has-role.directive.d.ts +1 -1
  293. package/lib/directive/permissions/evaluators.service.d.ts +1 -1
  294. package/lib/directive/permissions/permissions.directive.d.ts +1 -1
  295. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +1 -1
  296. package/lib/directive/rtl/set-rtl.directive.d.ts +1 -1
  297. package/lib/shared-services/dynamic-form.service.d.ts +1 -1
  298. package/lib/shared-services/file-manager.service.d.ts +27 -19
  299. package/lib/shared-services/mainfolder.service.d.ts +2 -2
  300. package/lib/shared-services/publishing-document.service.d.ts +2 -2
  301. package/lib/shared-services/recently-viewed.service.d.ts +2 -2
  302. package/lib/shared-services/shared-docs.service.d.ts +2 -2
  303. package/lib/shared-services/upload-file.service.d.ts +1 -1
  304. package/lib/shared-services/upload-managment.service.d.ts +1 -1
  305. package/lib/shared-services/user.service.d.ts +2 -2
  306. package/package.json +1 -1
  307. package/public-api.d.ts +139 -143
  308. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +0 -22
  309. package/esm2015/lib/components/notifications/notifications.service.js +0 -358
  310. package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +0 -10
  311. package/lib/components/notifications/notifications.service.d.ts +0 -87
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare const NOTIFICATION_SIDEBAR_CONTENT: InjectionToken<NotificationSidebarContentDirective>;
4
+ export declare class NotificationSidebarContentDirective {
5
+ template: TemplateRef<any>;
6
+ constructor(template: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationSidebarContentDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationSidebarContentDirective, "[appNotificationSidebarContent]", never, {}, {}, never>;
9
+ }
@@ -0,0 +1,43 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NotificationsSidebarComponent implements OnInit, OnDestroy {
4
+ private document;
5
+ el: ElementRef;
6
+ renderer: Renderer2;
7
+ cd: ChangeDetectorRef;
8
+ transformOptions: any;
9
+ transitionOptions: string;
10
+ private _mask;
11
+ private _container;
12
+ private _maskClickListener;
13
+ appendToBody: boolean;
14
+ clearOnCLose: boolean;
15
+ private _visible;
16
+ set visible(val: boolean);
17
+ get visible(): boolean;
18
+ private _position;
19
+ get position(): string;
20
+ set position(value: string);
21
+ visibleChange: EventEmitter<boolean>;
22
+ onShow: EventEmitter<any>;
23
+ onHide: EventEmitter<any>;
24
+ contentTemplate: TemplateRef<any> | undefined;
25
+ constructor(document: Document, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
26
+ ngOnInit(): void;
27
+ onAnimationStart({ toState, element }: {
28
+ toState: any;
29
+ element: any;
30
+ }): void;
31
+ onAnimationEnd({ toState }: {
32
+ toState: any;
33
+ }): void;
34
+ appendContainer(): void;
35
+ close(event: Event): void;
36
+ show(): void;
37
+ hide(emit?: boolean): void;
38
+ enableOverLay(): void;
39
+ disableOverlay(): void;
40
+ ngOnDestroy(): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsSidebarComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsSidebarComponent, "app-notifications-sidebar", never, { "appendToBody": "appendToBody"; "clearOnCLose": "clearOnCLose"; "visible": "visible"; "position": "position"; }, { "visibleChange": "visibleChange"; "onShow": "onShow"; "onHide": "onHide"; }, ["contentTemplate"], ["*"]>;
43
+ }
@@ -0,0 +1,7 @@
1
+ export declare const FILTER_DATES_TYPE: {
2
+ readonly lastDay: "from_now-24H_to_now";
3
+ readonly lastWeek: "from_now-7d_to_now";
4
+ readonly lastMonth: "from_now-1M_to_now";
5
+ readonly lastHalfYear: "from_now-6M_to_now";
6
+ readonly lastYear: "from_now-1y_to_now";
7
+ };
@@ -0,0 +1,4 @@
1
+ export * from './date';
2
+ export * from './pagination';
3
+ export * from './panel';
4
+ export * from './status';
@@ -0,0 +1,4 @@
1
+ export declare const PAGINATION_MODE: {
2
+ readonly scroll: "scroll";
3
+ readonly navigator: "navigator";
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const PANEL_MODE: {
2
+ readonly panel: "panel";
3
+ readonly sidebar: "sidebar";
4
+ };
@@ -0,0 +1,9 @@
1
+ export declare const NOTIFICATION_STATUS: {
2
+ readonly new: "New";
3
+ readonly read: "Read";
4
+ readonly unRead: "UnRead";
5
+ };
6
+ export declare const SUBSCRIPTION_STATE: {
7
+ readonly subscribed: "Subscribed";
8
+ readonly unsubscribed: "Unsubscribed";
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from './notifications-list-container/notifications-list-container.component';
2
+ export * from './notifications-settings-container/notifications-settings-container.component';
@@ -0,0 +1,27 @@
1
+ import { Injector, OnInit, TemplateRef } from '@angular/core';
2
+ import { BaseListNotifications } from '../../components/base-list-notfications.component';
3
+ import { NotificationsListOptions } from '../../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotificationsListContainerComponent extends BaseListNotifications implements OnInit {
6
+ protected inject: Injector;
7
+ styleClass: string;
8
+ private _showFilters;
9
+ set showFilters(value: boolean);
10
+ get showFilters(): boolean;
11
+ set criteria(query: Record<string, any>);
12
+ paginationMode: NotificationsListOptions['paginationMode'];
13
+ get selectedPage(): number;
14
+ customItemTemplate: TemplateRef<any> | undefined;
15
+ constructor(inject: Injector, _options?: NotificationsListOptions);
16
+ ngOnInit(): void;
17
+ typeChanged(event: string): void;
18
+ statusChanged({ checked }: {
19
+ checked: any;
20
+ }): void;
21
+ dateChanged(date: {
22
+ min: string;
23
+ max: string;
24
+ } | null): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsListContainerComponent, [null, { optional: true; }]>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListContainerComponent, "app-notifications-list-container", never, { "styleClass": "styleClass"; "showFilters": "showFilters"; "criteria": "criteria"; }, {}, ["customItemTemplate"], never>;
27
+ }
@@ -0,0 +1,2 @@
1
+ import { NotificationsListOptions } from '../../models';
2
+ export declare const DEFAULT_CONTAINER_OPTIONS: NotificationsListOptions;
@@ -0,0 +1,22 @@
1
+ import { EventEmitter, Injector } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { ToastrService } from 'ngx-toastr';
4
+ import { TranslationService } from '../../../../Core/services/translation/translation.service';
5
+ import { BaseNotification } from '../../components/base-notifications.component';
6
+ import { NotificationDefinitionPresenter, VocabularyType } from '../../models';
7
+ import * as i0 from "@angular/core";
8
+ export declare class NotificationsSettingsContainerComponent extends BaseNotification {
9
+ protected inject: Injector;
10
+ private _translateService;
11
+ private _toastrService;
12
+ private _matDialog;
13
+ onSubscribe: EventEmitter<NotificationDefinitionPresenter>;
14
+ onUnsubscribe: EventEmitter<Record<string, any>>;
15
+ constructor(inject: Injector, _translateService: TranslationService, _toastrService: ToastrService, _matDialog: MatDialog);
16
+ channels$: import("rxjs").Observable<VocabularyType[]>;
17
+ selectedChannel: VocabularyType | null;
18
+ selectChannel(channel: VocabularyType): void;
19
+ resetSubscriptions(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsSettingsContainerComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsSettingsContainerComponent, "app-notifications-settings-container", never, {}, { "onSubscribe": "onSubscribe"; "onUnsubscribe": "onUnsubscribe"; }, never, never>;
22
+ }
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare const NOTIFICATION_ICON: InjectionToken<NotificationIconDirective>;
4
+ export declare class NotificationIconDirective {
5
+ template: TemplateRef<any>;
6
+ constructor(template: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationIconDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationIconDirective, "[appNotificationIcon]", never, {}, {}, never>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './button.directive';
2
+ export * from './notification.directive';
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare const NOTIFICATION_ITEM: InjectionToken<NotificationItemDirective>;
4
+ export declare class NotificationItemDirective {
5
+ template: TemplateRef<any>;
6
+ constructor(template: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationItemDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NotificationItemDirective, "[appNotificationItem]", never, {}, {}, never>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,64 @@
1
+ import { SchemaModel } from '../../../Core/models';
2
+ import { FILTER_DATES_TYPE } from '../constants';
3
+ export declare type TranslatedKey = string;
4
+ export declare type FilterDateType = (typeof FILTER_DATES_TYPE)[keyof typeof FILTER_DATES_TYPE];
5
+ export interface BaseNotificationEntry {
6
+ 'entity-type': string;
7
+ repository: string;
8
+ uid: string;
9
+ path: string;
10
+ type: string;
11
+ state: string;
12
+ parentRef: string;
13
+ isCheckedOut: boolean;
14
+ isRecord: boolean;
15
+ retainUntil: any;
16
+ hasLegalHold: boolean;
17
+ isUnderRetentionOrLegalHold: boolean;
18
+ isVersion: boolean;
19
+ isProxy: boolean;
20
+ changeToken: string;
21
+ isTrashed: boolean;
22
+ title: string;
23
+ lastModified: string;
24
+ facets: any[];
25
+ schemas: SchemaModel[];
26
+ }
27
+ export interface BaseNotificationProperties {
28
+ 'notf_nt:category': string;
29
+ 'notf_nt:isClickable': boolean;
30
+ 'notf_nt:sourceTypee': string;
31
+ 'notf_nt:key': string;
32
+ 'dc:description': any;
33
+ 'dc:language': any;
34
+ 'dc:coverage': any;
35
+ 'dc:valid': any;
36
+ 'dc:creator': string;
37
+ 'dc:modified': string;
38
+ 'dc:lastContributor': string;
39
+ 'dc:rights': any;
40
+ 'dc:expired': any;
41
+ 'dc:format': any;
42
+ 'dc:created': string;
43
+ 'dc:title': string;
44
+ 'dc:issued': any;
45
+ 'dc:nature': any;
46
+ 'dc:subjects': any[];
47
+ 'dc:contributors': string[];
48
+ 'dc:source': any;
49
+ 'dc:publisher': any;
50
+ 'uid:uid': any;
51
+ 'uid:major_version': number;
52
+ 'uid:minor_version': number;
53
+ 'common:icon-expanded': any;
54
+ 'common:icon': any;
55
+ }
56
+ export interface NotificationBaseOptions {
57
+ schemas: any[];
58
+ enrichers: Record<string, any>;
59
+ fetchProperties: Record<string, any>;
60
+ translateProperties: Record<string, any>;
61
+ headers: Headers;
62
+ timeout: number;
63
+ httpTimeout: number;
64
+ }
@@ -0,0 +1,10 @@
1
+ export * from './common';
2
+ export * from './notification-definition.model';
3
+ export * from './notification-options';
4
+ export * from './notification-setting.presenter';
5
+ export * from './notification-subscription.model';
6
+ export * from './notification.model';
7
+ export * from './notifications-list-options';
8
+ export * from './paging-response.model';
9
+ export * from './params.model';
10
+ export * from './vocabularies';
@@ -0,0 +1,17 @@
1
+ import { BaseNotificationEntry, BaseNotificationProperties } from './common';
2
+ export interface NotificationDefinitionModel extends BaseNotificationEntry {
3
+ properties: DefinitionProperties;
4
+ }
5
+ export interface DefinitionProperties extends BaseNotificationProperties {
6
+ 'notif_def:arDescription': any;
7
+ 'notif_def:arTemplate': string;
8
+ 'notif_def:autoSubscription': boolean;
9
+ 'notif_def:enDescription': any;
10
+ 'notif_def:applicationKey': string;
11
+ 'notif_def:enTemplate': string;
12
+ 'notif_def:channel': string;
13
+ 'notif_def:arTitle': string;
14
+ 'notif_def:sentByDefault': boolean;
15
+ 'notif_def:enTitle': string;
16
+ 'notif_def:isActive': boolean;
17
+ }
@@ -0,0 +1,7 @@
1
+ import { MatBadgePosition, MatBadgeSize } from "@angular/material/badge";
2
+ import { ThemePalette } from "@angular/material/core";
3
+ export declare type BadgeOptions = {
4
+ size: MatBadgeSize;
5
+ color: ThemePalette;
6
+ position: MatBadgePosition;
7
+ };
@@ -0,0 +1,24 @@
1
+ import { SUBSCRIPTION_STATE } from "../constants";
2
+ export interface NotificationDefinitionPresenter {
3
+ uid: string;
4
+ sourceType: string;
5
+ autoSubscription: boolean;
6
+ isActive: boolean;
7
+ sendByDefault: boolean;
8
+ applicationKey: string;
9
+ channel: string;
10
+ title: string;
11
+ arTitle: string;
12
+ enTitle: string;
13
+ notificationKey: string;
14
+ arDescription: string;
15
+ enDescription: string;
16
+ }
17
+ export interface NotificationSubscriptionPresenter {
18
+ uid: string;
19
+ applicationKey: string;
20
+ channel: string;
21
+ title: string;
22
+ notificationKey: string;
23
+ state: (typeof SUBSCRIPTION_STATE)[keyof typeof SUBSCRIPTION_STATE];
24
+ }
@@ -0,0 +1,13 @@
1
+ import { BaseNotificationEntry, BaseNotificationProperties, NotificationBaseOptions } from './common';
2
+ export interface NotificationSubscriptionModel extends BaseNotificationEntry {
3
+ _baseOptions: NotificationBaseOptions;
4
+ _dirtyProperties: any;
5
+ properties: SubscriptionProperties;
6
+ }
7
+ export interface SubscriptionProperties extends BaseNotificationProperties {
8
+ 'notfsub:notificationKey': string;
9
+ 'notfsub:user': string;
10
+ 'notfsub:companyName': string;
11
+ 'notfsub:applicationKey': string;
12
+ 'notfsub:channel': string;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { BaseNotificationEntry, BaseNotificationProperties } from './common';
2
+ export interface NotificationModel extends BaseNotificationEntry {
3
+ _baseOptions: NotificationOptions;
4
+ properties: NotificationProperties;
5
+ _dirtyProperties: Record<string, any>;
6
+ }
7
+ export interface NotificationProperties extends BaseNotificationProperties {
8
+ 'notif_cnt:company': string;
9
+ 'notif_cnt:sourceDocument': string;
10
+ 'notif_cnt:status': string;
11
+ 'notif_cnt:user': string;
12
+ 'notif_cnt:enMessage': string;
13
+ 'notif_cnt:arMessage': string;
14
+ 'notif_cnt:data': any;
15
+ 'notif_cnt:errorMessage': any;
16
+ }
@@ -0,0 +1,34 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { PAGINATION_MODE, PANEL_MODE } from '../constants';
3
+ export declare const NOTIFICATIONS_LIST_OPTIONS: InjectionToken<NotificationsListOptions>;
4
+ export declare type NotificationPanelMode = (typeof PANEL_MODE)[keyof typeof PANEL_MODE];
5
+ export declare type NotificationPaginationMode = (typeof PAGINATION_MODE)[keyof typeof PAGINATION_MODE];
6
+ export declare type NotificationsListOptions = {
7
+ title?: string;
8
+ panelMode?: NotificationPanelMode;
9
+ filters?: {
10
+ active?: boolean;
11
+ date?: boolean;
12
+ type?: boolean;
13
+ state?: boolean;
14
+ };
15
+ actions?: {
16
+ active?: boolean;
17
+ updateState?: boolean;
18
+ openSetting?: boolean;
19
+ openNotification?: boolean;
20
+ };
21
+ icons?: {
22
+ active?: boolean;
23
+ default: string;
24
+ property: string;
25
+ types?: Record<string, string>;
26
+ };
27
+ pageSize?: number;
28
+ paginationMode?: NotificationPaginationMode;
29
+ scroll?: {
30
+ distance?: number;
31
+ throttle?: number;
32
+ scrollWindow?: boolean;
33
+ };
34
+ };
@@ -0,0 +1,12 @@
1
+ import { NotificationModel } from "./notification.model";
2
+ export interface NotificationPagingResponseModel<T = NotificationModel> {
3
+ totalItems: number;
4
+ page: number;
5
+ size: number;
6
+ data: Array<T>;
7
+ pageCount?: number;
8
+ hasPreviousPage?: boolean;
9
+ hasNextPage?: boolean;
10
+ nextPageNumber?: number;
11
+ previousPageNumber?: number;
12
+ }
@@ -0,0 +1,6 @@
1
+ export interface PaginationModel {
2
+ pageSize: number;
3
+ currentPageIndex: number;
4
+ }
5
+ export interface PayloadParamsModel extends Partial<PaginationModel>, Record<PropertyKey, any> {
6
+ }
@@ -0,0 +1,12 @@
1
+ export interface VocabularyType {
2
+ 'entity-type': string;
3
+ directoryName: string;
4
+ id: string;
5
+ properties: VocabularyProperties;
6
+ }
7
+ export interface VocabularyProperties {
8
+ ordering: number;
9
+ obsolete: number;
10
+ id: string;
11
+ label: string;
12
+ }
@@ -2,24 +2,40 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/notifications-list/notifications-list.component";
3
3
  import * as i2 from "./components/notifications-button/notifications-button.component";
4
4
  import * as i3 from "./components/notification-item/notification-item.component";
5
- import * as i4 from "./components/notification-options/notification-options.component";
6
- import * as i5 from "./components/notification-toast/notification-toast.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/router";
9
- import * as i8 from "ngx-infinite-scroll";
10
- import * as i9 from "@angular/material/list";
11
- import * as i10 from "../../pipes/pipes.module";
12
- import * as i11 from "@angular/material/menu";
13
- import * as i12 from "@angular/material/icon";
14
- import * as i13 from "@ngx-translate/core";
15
- import * as i14 from "@angular/material/progress-spinner";
16
- import * as i15 from "@angular/material/tooltip";
17
- import * as i16 from "@angular/material/badge";
18
- import * as i17 from "@angular/material/toolbar";
19
- import * as i18 from "@angular/material/slide-toggle";
5
+ import * as i4 from "./containers/notifications-settings-container/notifications-settings-container.component";
6
+ import * as i5 from "./containers/notifications-list-container/notifications-list-container.component";
7
+ import * as i6 from "./components/notification-source-select/notification-source-select.component";
8
+ import * as i7 from "./components/notification-status-toggle/notification-status-toggle.component";
9
+ import * as i8 from "./components/notifications-date-select/notifications-date-select.component";
10
+ import * as i9 from "./directives/button.directive";
11
+ import * as i10 from "./directives/notification.directive";
12
+ import * as i11 from "./components/notifications-list-actions/notifications-list-actions.component";
13
+ import * as i12 from "./components/notifications-settings/notifications-settings.component";
14
+ import * as i13 from "./components/notifications-settings/check-if-subscribed.pipe";
15
+ import * as i14 from "./components/notification-item/get-icon.pipe";
16
+ import * as i15 from "./components/notifications-sidebar/notifications-sidebar.component";
17
+ import * as i16 from "./components/notifications-sidebar/notifications-sidebar-content";
18
+ import * as i17 from "@angular/common";
19
+ import * as i18 from "@angular/router";
20
+ import * as i19 from "ngx-infinite-scroll";
21
+ import * as i20 from "@angular/material/list";
22
+ import * as i21 from "../../pipes/pipes.module";
23
+ import * as i22 from "@angular/material/menu";
24
+ import * as i23 from "@angular/material/icon";
25
+ import * as i24 from "@ngx-translate/core";
26
+ import * as i25 from "@angular/material/progress-spinner";
27
+ import * as i26 from "@angular/material/tooltip";
28
+ import * as i27 from "@angular/material/badge";
29
+ import * as i28 from "@angular/material/toolbar";
30
+ import * as i29 from "@angular/material/slide-toggle";
31
+ import * as i30 from "../pagination/pagination.module";
32
+ import * as i31 from "@angular/material/button";
33
+ import * as i32 from "@angular/material/tabs";
34
+ import * as i33 from "../confirmation-dialog/confirmation-dialog.module";
35
+ import * as i34 from "@angular/material/dialog";
20
36
  /** @ignore */
21
37
  export declare class NotificationsModule {
22
38
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, [typeof i1.NotificationsListComponent, typeof i2.NotificationsButtonComponent, typeof i3.NotificationItemComponent, typeof i4.NotificationOptionsComponent, typeof i5.NotificationToastComponent], [typeof i6.CommonModule, typeof i7.RouterModule, typeof i8.InfiniteScrollModule, typeof i9.MatListModule, typeof i10.PipesModule, typeof i11.MatMenuModule, typeof i12.MatIconModule, typeof i13.TranslateModule, typeof i14.MatProgressSpinnerModule, typeof i15.MatTooltipModule, typeof i8.InfiniteScrollModule, typeof i16.MatBadgeModule, typeof i13.TranslateModule, typeof i17.MatToolbarModule, typeof i18.MatSlideToggleModule], [typeof i1.NotificationsListComponent, typeof i2.NotificationsButtonComponent, typeof i3.NotificationItemComponent, typeof i4.NotificationOptionsComponent]>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, [typeof i1.NotificationsListComponent, typeof i2.NotificationsButtonComponent, typeof i3.NotificationItemComponent, typeof i4.NotificationsSettingsContainerComponent, typeof i5.NotificationsListContainerComponent, typeof i6.NotificationSourceSelectComponent, typeof i7.NotificationStatusToggleComponent, typeof i8.NotificationsDateSelectComponent, typeof i9.NotificationIconDirective, typeof i10.NotificationItemDirective, typeof i11.NotificationsListActionsComponent, typeof i12.NotificationsSettingsComponent, typeof i13.CheckIfSubscribedPipe, typeof i14.GetIconPipe, typeof i15.NotificationsSidebarComponent, typeof i16.NotificationSidebarContentDirective], [typeof i17.CommonModule, typeof i18.RouterModule, typeof i19.InfiniteScrollModule, typeof i20.MatListModule, typeof i21.PipesModule, typeof i22.MatMenuModule, typeof i23.MatIconModule, typeof i24.TranslateModule, typeof i25.MatProgressSpinnerModule, typeof i26.MatTooltipModule, typeof i19.InfiniteScrollModule, typeof i27.MatBadgeModule, typeof i24.TranslateModule, typeof i28.MatToolbarModule, typeof i29.MatSlideToggleModule, typeof i30.PaginationModule, typeof i31.MatButtonModule, typeof i32.MatTabsModule, typeof i33.ConfirmationDialogModule, typeof i34.MatDialogModule], [typeof i1.NotificationsListComponent, typeof i2.NotificationsButtonComponent, typeof i3.NotificationItemComponent, typeof i4.NotificationsSettingsContainerComponent, typeof i5.NotificationsListContainerComponent, typeof i6.NotificationSourceSelectComponent, typeof i7.NotificationStatusToggleComponent, typeof i8.NotificationsDateSelectComponent, typeof i9.NotificationIconDirective, typeof i10.NotificationItemDirective]>;
24
40
  static ɵinj: i0.ɵɵInjectorDeclaration<NotificationsModule>;
25
41
  }
@@ -0,0 +1,8 @@
1
+ export * from './components';
2
+ export * from './constants';
3
+ export * from './containers';
4
+ export * from './models';
5
+ export * from './notifications.module';
6
+ export * from './services';
7
+ export * from './directives/notification.directive';
8
+ export * from './directives/button.directive';
@@ -0,0 +1 @@
1
+ export * from './notifications.service';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ListenerService {
3
+ private readonly _updatesSub;
4
+ readonly onUpdate$: import("rxjs").Observable<string>;
5
+ triggerUpdate(actionName: string): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListenerService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<ListenerService>;
8
+ }
@@ -0,0 +1,55 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { AutomationResponseModel } from '../../../Core/models';
4
+ import { CallApiService } from '../../../Core/services/callApi/call-api.service';
5
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
6
+ import { NotificationDefinitionModel, NotificationModel, NotificationSubscriptionModel, PayloadParamsModel, VocabularyType } from '../models';
7
+ import * as i0 from "@angular/core";
8
+ export declare class NotificationsService {
9
+ private _callApi;
10
+ private _nuxeoService;
11
+ private _http;
12
+ private _environment;
13
+ static readonly sourceType = "/api/v1/directory/VOC_Notf_SourceTypes";
14
+ static readonly channels = "/api/v1/directory/VOC_Notf_NotificationChannels";
15
+ static readonly providers: {
16
+ notifications: string;
17
+ notificationsMango: string;
18
+ subscription: string;
19
+ definition: string;
20
+ };
21
+ static readonly operations: {
22
+ markAllAsRead: string;
23
+ markAsRead: string;
24
+ markAsUnread: string;
25
+ markAsDeleted: string;
26
+ unsubscribe: string;
27
+ subscribe: string;
28
+ reset: string;
29
+ markAllAsUnread: string;
30
+ };
31
+ private get _tenantId();
32
+ private get _appKey();
33
+ constructor(_callApi: CallApiService, _nuxeoService: NuxeoService, _http: HttpClient, _environment: Record<string, any>);
34
+ getUnReadCount(): Observable<number>;
35
+ getNotificationsMongo(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
36
+ getNotifications(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
37
+ markAllAsRead(): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
38
+ markAllNewAsUnread(): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
39
+ markAsRead(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
40
+ markAsUnread(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
41
+ markAsDeleted(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
42
+ unsubscribe(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
43
+ subscribe(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
44
+ resetSubscriptions(): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
45
+ getSourceTypes(): Observable<VocabularyType[]>;
46
+ getChannels(): Observable<VocabularyType[]>;
47
+ getDefinitions(payload?: PayloadParamsModel): Observable<NotificationDefinitionModel[]>;
48
+ getSubscriptions(payload?: PayloadParamsModel): Observable<NotificationSubscriptionModel[]>;
49
+ private _getNotifications;
50
+ private _getVocabulary;
51
+ private _operation;
52
+ private _globalOperation;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
55
+ }
@@ -0,0 +1,19 @@
1
+ import { PayloadParamsModel } from '../models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ParamsService<T = PayloadParamsModel | Record<string, any>> {
4
+ private readonly _paramsSub;
5
+ readonly params$: import("rxjs").Observable<{
6
+ override?: boolean;
7
+ params: T;
8
+ }>;
9
+ private _activatedParams;
10
+ get activatedQuery(): T;
11
+ private _defaultParams;
12
+ setDefaultParams(params: Partial<PayloadParamsModel | T>): void;
13
+ applyParams(payload?: {
14
+ override?: boolean;
15
+ params: Partial<PayloadParamsModel | T>;
16
+ }, includeDefaults?: boolean): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParamsService<any>, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ParamsService<any>>;
19
+ }
@@ -0,0 +1,19 @@
1
+ import { NotificationModel, NotificationPagingResponseModel } from '../models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ResponseService<T = NotificationModel> {
4
+ totalItems: number;
5
+ itemsLength: number;
6
+ selectedPage: number;
7
+ private readonly _responseSub;
8
+ response$: import("rxjs").Observable<NotificationPagingResponseModel<T>>;
9
+ getResponse(): NotificationPagingResponseModel<T>;
10
+ setResponse(res: NotificationPagingResponseModel<T>, isOverride?: boolean): void;
11
+ increasePage(size?: number): void;
12
+ decreasePage(size?: number): void;
13
+ setPage(size?: number): void;
14
+ removeFromResponse(uid: string): void;
15
+ patchResponse(uid: string, payload: Record<string, any>): void;
16
+ resetPagination(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResponseService<any>, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResponseService<any>>;
19
+ }
@@ -0,0 +1 @@
1
+ export * from './response.adapter';
@@ -0,0 +1,3 @@
1
+ import { ApiResponseModel } from '../../../Core/models';
2
+ import { NotificationModel, NotificationPagingResponseModel } from '../models';
3
+ export declare const mapNotificationsToPagingResponse: (response: ApiResponseModel<NotificationModel>) => NotificationPagingResponseModel<NotificationModel>;
@@ -1,8 +1,8 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
- import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
2
+ import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
3
3
  import { PdftronService } from './pdftron.service';
4
4
  import { SecurePipe } from '../../../pipes/secure.pipe';
5
- import { TranslationService } from '../../../Core/services/translation/translation.service';
5
+ import { TranslationService } from '../../../core/services/translation/translation.service';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
8
8
  import * as i0 from "@angular/core";
@@ -4,7 +4,7 @@ import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { PermissionService } from '../permission.service';
6
6
  import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
7
- import { TranslationService } from '../../../Core/services/translation/translation.service';
7
+ import { TranslationService } from '../../../core/services/translation/translation.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class AddPermissionsDialogComponent implements OnInit, OnDestroy {
10
10
  private dialogRef;