nuxeo-development-framework 3.9.3 → 3.9.5

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 (280) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +1393 -1095
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +4 -4
  4. package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +4 -4
  5. package/esm2015/lib/components/activities-log/activities-log.module.js +5 -5
  6. package/esm2015/lib/components/activity/activity/activity.component.js +4 -4
  7. package/esm2015/lib/components/activity/activity.module.js +5 -5
  8. package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +4 -4
  9. package/esm2015/lib/components/attachment-item/attachment-item.module.js +5 -5
  10. package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +5 -5
  11. package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +4 -4
  12. package/esm2015/lib/components/avatar/avatar/avatar.component.js +4 -4
  13. package/esm2015/lib/components/avatar/avatar.module.js +5 -5
  14. package/esm2015/lib/components/card/card.component.js +4 -4
  15. package/esm2015/lib/components/card/card.module.js +5 -5
  16. package/esm2015/lib/components/comments/comments.module.js +5 -5
  17. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +4 -4
  18. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +4 -4
  19. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +4 -4
  20. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +4 -4
  21. package/esm2015/lib/components/comments/services/comment-api.service.js +4 -4
  22. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +4 -4
  23. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +5 -5
  24. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +4 -4
  25. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +4 -4
  26. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +5 -5
  27. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +4 -4
  28. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +4 -4
  29. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +4 -4
  30. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +4 -4
  31. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +4 -4
  32. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +5 -5
  33. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +4 -4
  34. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +4 -4
  35. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +4 -4
  36. package/esm2015/lib/components/create-entity/create-entity.module.js +5 -5
  37. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +4 -4
  38. package/esm2015/lib/components/cts-tags/cts-tags.module.js +5 -5
  39. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +4 -4
  40. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +6 -5
  41. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +5 -5
  42. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +30 -20
  43. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +4 -4
  44. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +4 -4
  45. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +5 -5
  46. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +4 -4
  47. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +4 -4
  48. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +4 -4
  49. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +4 -4
  50. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +4 -4
  51. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +4 -4
  52. package/esm2015/lib/components/documents/components/documents/documents.component.js +4 -4
  53. package/esm2015/lib/components/documents/documents.module.js +5 -5
  54. package/esm2015/lib/components/documents/services/document-templates.service.js +4 -4
  55. package/esm2015/lib/components/documents/services/documents.service.js +4 -4
  56. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +6 -4
  57. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +5 -5
  58. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +4 -4
  59. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +4 -4
  60. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +4 -4
  61. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +5 -5
  62. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +4 -4
  63. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +5 -5
  64. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +4 -4
  65. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +4 -4
  66. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +4 -4
  67. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +4 -4
  68. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +4 -4
  69. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +4 -4
  70. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +4 -4
  71. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +4 -4
  72. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +4 -4
  73. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +4 -4
  74. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +4 -4
  75. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +4 -4
  76. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +4 -4
  77. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +4 -4
  78. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +4 -4
  79. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +4 -4
  80. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +4 -4
  81. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +4 -4
  82. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +4 -4
  83. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +4 -4
  84. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +4 -4
  85. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +4 -4
  86. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +4 -4
  87. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +4 -4
  88. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +4 -4
  89. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +4 -4
  90. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -4
  91. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +4 -4
  92. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +4 -4
  93. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +4 -4
  94. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +4 -4
  95. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +4 -4
  96. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +4 -4
  97. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +4 -4
  98. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +5 -5
  99. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +4 -4
  100. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +4 -4
  101. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +4 -4
  102. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +5 -5
  103. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +4 -4
  104. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +5 -5
  105. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +4 -4
  106. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +4 -4
  107. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +5 -5
  108. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +4 -4
  109. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +4 -4
  110. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +4 -4
  111. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +4 -4
  112. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +4 -4
  113. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +4 -4
  114. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +4 -4
  115. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +4 -4
  116. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +5 -5
  117. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +4 -4
  118. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +4 -4
  119. package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +4 -4
  120. package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +4 -4
  121. package/esm2015/lib/components/file-manger/components/copy/copy.component.js +4 -4
  122. package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +4 -4
  123. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +4 -4
  124. package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +4 -4
  125. package/esm2015/lib/components/file-manger/components/delete/delete.component.js +4 -4
  126. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +4 -4
  127. package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +4 -4
  128. package/esm2015/lib/components/file-manger/components/move/move.component.js +4 -4
  129. package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +4 -4
  130. package/esm2015/lib/components/file-manger/components/rename/rename.component.js +4 -4
  131. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +4 -4
  132. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +4 -4
  133. package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +4 -4
  134. package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +4 -4
  135. package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +4 -4
  136. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +4 -4
  137. package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +4 -4
  138. package/esm2015/lib/components/file-manger/file-manager.abstract.js +4 -4
  139. package/esm2015/lib/components/file-manger/file-manger.module.js +5 -5
  140. package/esm2015/lib/components/filter/filter/filter.component.js +4 -4
  141. package/esm2015/lib/components/filter/filter.module.js +5 -5
  142. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +4 -4
  143. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +4 -4
  144. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +4 -4
  145. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +4 -4
  146. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +5 -5
  147. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +4 -4
  148. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +4 -4
  149. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +4 -4
  150. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +4 -4
  151. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +4 -4
  152. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +4 -4
  153. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +4 -4
  154. package/esm2015/lib/components/latest-activity/latest-activity.module.js +5 -5
  155. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +4 -4
  156. package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +4 -4
  157. package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +5 -5
  158. package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +4 -4
  159. package/esm2015/lib/components/notifications/components/base-notifications.component.js +7 -7
  160. package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +4 -4
  161. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +4 -4
  162. package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +4 -4
  163. package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +4 -4
  164. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +50 -17
  165. package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +4 -4
  166. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +4 -4
  167. package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +4 -4
  168. package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +4 -4
  169. package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +4 -4
  170. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +4 -4
  171. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +4 -4
  172. package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +4 -4
  173. package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +4 -4
  174. package/esm2015/lib/components/notifications/directives/button.directive.js +4 -4
  175. package/esm2015/lib/components/notifications/directives/notification.directive.js +4 -4
  176. package/esm2015/lib/components/notifications/models/index.js +2 -1
  177. package/esm2015/lib/components/notifications/models/notification-message.mode.js +2 -0
  178. package/esm2015/lib/components/notifications/notifications.module.js +5 -5
  179. package/esm2015/lib/components/notifications/services/listener.service.js +4 -4
  180. package/esm2015/lib/components/notifications/services/notifications.service.js +28 -13
  181. package/esm2015/lib/components/notifications/services/params.service.js +4 -4
  182. package/esm2015/lib/components/notifications/services/response.service.js +4 -4
  183. package/esm2015/lib/components/notifications/services/socket.service.js +71 -0
  184. package/esm2015/lib/components/pagination/pagination/pagination.component.js +4 -4
  185. package/esm2015/lib/components/pagination/pagination.module.js +5 -5
  186. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +5 -5
  187. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +4 -4
  188. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +4 -4
  189. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +4 -4
  190. package/esm2015/lib/components/permissions/permission.service.js +4 -4
  191. package/esm2015/lib/components/permissions/permissions/permissions.component.js +4 -4
  192. package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +4 -4
  193. package/esm2015/lib/components/permissions/permissions.module.js +5 -5
  194. package/esm2015/lib/components/select/select/select.component.js +4 -4
  195. package/esm2015/lib/components/select/select.module.js +5 -5
  196. package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +5 -5
  197. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +4 -4
  198. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +4 -4
  199. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +4 -4
  200. package/esm2015/lib/components/table/table/table.component.js +4 -4
  201. package/esm2015/lib/components/table/table.module.js +5 -5
  202. package/esm2015/lib/components/toasts/components/notification-toast/notification-toast.component.js +4 -4
  203. package/esm2015/lib/components/toasts/toasts.module.js +5 -5
  204. package/esm2015/lib/components/user/user/user.component.js +4 -4
  205. package/esm2015/lib/components/user/user.module.js +5 -5
  206. package/esm2015/lib/components/users-card/users-card.component.js +4 -4
  207. package/esm2015/lib/components/users-card/users-card.module.js +5 -5
  208. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +4 -4
  209. package/esm2015/lib/components/viewer-log/viewer-log.module.js +5 -5
  210. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +4 -4
  211. package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +4 -4
  212. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +4 -4
  213. package/esm2015/lib/components/vocabulary/vocabulary.module.js +5 -5
  214. package/esm2015/lib/configuration/app-config.service.js +4 -4
  215. package/esm2015/lib/core/adapters/adapter.service.js +4 -4
  216. package/esm2015/lib/core/core.module.js +5 -5
  217. package/esm2015/lib/core/services/callApi/call-api.service.js +4 -4
  218. package/esm2015/lib/core/services/extension/component-register.service.js +4 -4
  219. package/esm2015/lib/core/services/extension/extension-loader.service.js +4 -4
  220. package/esm2015/lib/core/services/extension/extension.service.js +4 -4
  221. package/esm2015/lib/core/services/initialization/initialization.service.js +4 -4
  222. package/esm2015/lib/core/services/localStorag/local-storag.service.js +4 -4
  223. package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +4 -4
  224. package/esm2015/lib/core/services/roles/roles.service.js +4 -4
  225. package/esm2015/lib/core/services/translation/translate-loader.service.js +4 -4
  226. package/esm2015/lib/core/services/translation/translation.service.js +4 -4
  227. package/esm2015/lib/core/services/user/user-preferences.service.js +4 -4
  228. package/esm2015/lib/core/utilities/moment-date-adapter.js +4 -4
  229. package/esm2015/lib/core/utilities/utility.service.js +4 -4
  230. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +4 -4
  231. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +4 -4
  232. package/esm2015/lib/directive/directive.module.js +5 -5
  233. package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +4 -4
  234. package/esm2015/lib/directive/permissions/evaluators.service.js +4 -4
  235. package/esm2015/lib/directive/permissions/permissions.directive.js +4 -4
  236. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +4 -4
  237. package/esm2015/lib/directive/rtl/set-rtl.directive.js +4 -4
  238. package/esm2015/lib/nuxeo-development-framework.component.js +4 -4
  239. package/esm2015/lib/nuxeo-development-framework.module.js +5 -5
  240. package/esm2015/lib/nuxeo-development-framework.service.js +4 -4
  241. package/esm2015/lib/pipes/file-size.pipe.js +4 -4
  242. package/esm2015/lib/pipes/hijri-date.pipe.js +4 -4
  243. package/esm2015/lib/pipes/localized-date.pipe.js +4 -4
  244. package/esm2015/lib/pipes/multi-value.pipe.js +4 -4
  245. package/esm2015/lib/pipes/pipes.module.js +5 -5
  246. package/esm2015/lib/pipes/secure-html.pipe.js +4 -4
  247. package/esm2015/lib/pipes/secure.pipe.js +4 -4
  248. package/esm2015/lib/pipes/time-ago.pipe.js +4 -4
  249. package/esm2015/lib/shared/components/button/button.component.js +4 -4
  250. package/esm2015/lib/shared/components/item-list/item-list.component.js +4 -4
  251. package/esm2015/lib/shared/components/no-data/no-data.component.js +4 -4
  252. package/esm2015/lib/shared/components/read-more/read-more.component.js +4 -4
  253. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +4 -4
  254. package/esm2015/lib/shared/components/spinner/spinner.component.js +4 -4
  255. package/esm2015/lib/shared/components/user-card/user-card.component.js +4 -4
  256. package/esm2015/lib/shared/libraryShared.module.js +5 -5
  257. package/esm2015/lib/shared-services/dialog-mangment.service.js +4 -4
  258. package/esm2015/lib/shared-services/dynamic-form.service.js +4 -4
  259. package/esm2015/lib/shared-services/file-manager.adapter.js +4 -4
  260. package/esm2015/lib/shared-services/file-manager.service.js +4 -4
  261. package/esm2015/lib/shared-services/global-admin.service.js +4 -4
  262. package/esm2015/lib/shared-services/global-pdftron.service.js +4 -4
  263. package/esm2015/lib/shared-services/mainfolder.service.js +4 -4
  264. package/esm2015/lib/shared-services/publishing-document.service.js +4 -4
  265. package/esm2015/lib/shared-services/recently-viewed.service.js +4 -4
  266. package/esm2015/lib/shared-services/shared-docs.service.js +4 -4
  267. package/esm2015/lib/shared-services/shared-services.module.js +5 -5
  268. package/esm2015/lib/shared-services/upload-file.service.js +4 -4
  269. package/esm2015/lib/shared-services/upload-managment.service.js +4 -4
  270. package/esm2015/lib/shared-services/user.service.js +4 -4
  271. package/fesm2015/nuxeo-development-framework.js +1004 -878
  272. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  273. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +2 -1
  274. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +13 -5
  275. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +11 -6
  276. package/lib/components/notifications/models/index.d.ts +1 -0
  277. package/lib/components/notifications/models/notification-message.mode.d.ts +13 -0
  278. package/lib/components/notifications/services/notifications.service.d.ts +12 -8
  279. package/lib/components/notifications/services/socket.service.d.ts +26 -0
  280. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
- import { ToastrService, ToastPackage, Toast } from 'ngx-toastr';
3
+ import { Toast, ToastPackage, ToastrService } from 'ngx-toastr';
4
4
  import { UserPreferencesService } from '../../../../core/services/user/user-preferences.service';
5
5
  import { ToastType } from '../../interfaces/toast-type.interface';
6
6
  import * as i0 from "@angular/core";
@@ -12,6 +12,7 @@ export declare class CustomToastrComponent extends Toast implements OnInit {
12
12
  lang: any;
13
13
  type: ToastType;
14
14
  value: any;
15
+ customContent: string;
15
16
  private onDestroy$;
16
17
  constructor(toastrService: ToastrService, toastPackage: ToastPackage, translate: TranslateService, userPreferenceService?: UserPreferencesService);
17
18
  ngOnInit(): void;
@@ -1,7 +1,7 @@
1
- import { ActiveToast, IndividualConfig, ToastrService } from "ngx-toastr";
2
- import { UserPreferencesService } from "../../../core/services/user/user-preferences.service";
3
- import { ToastType } from "../interfaces/toast-type.interface";
4
- import { TranslationService } from "../../../core/services/translation/translation.service";
1
+ import { ActiveToast, IndividualConfig, ToastrService } from 'ngx-toastr';
2
+ import { TranslationService } from '../../../core/services/translation/translation.service';
3
+ import { UserPreferencesService } from '../../../core/services/user/user-preferences.service';
4
+ import { ToastType } from '../interfaces/toast-type.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CustomToastrService {
7
7
  private translation;
@@ -11,7 +11,15 @@ export declare class CustomToastrService {
11
11
  isArabic: boolean;
12
12
  constructor(translation: TranslationService, toastr: ToastrService, userPreferenceService?: UserPreferencesService);
13
13
  setDirection(): void;
14
- show(type: ToastType, title: any, message: any, customOptions?: Partial<IndividualConfig>, customMsg?: any): ActiveToast<any>;
14
+ show(type: ToastType, title: any, message: any, customOptions?: Partial<IndividualConfig>, customMsg?: any, customContent?: any): ActiveToast<any>;
15
+ showToast(options: {
16
+ type: ToastType;
17
+ title?: string;
18
+ message?: string;
19
+ customMsg?: any;
20
+ customContent?: string;
21
+ customOptions?: Partial<IndividualConfig>;
22
+ }): ActiveToast<any>;
15
23
  ngOnDestroy(): void;
16
24
  success(message: string, title?: string, customOptions?: Partial<IndividualConfig>, customMsg?: string): void;
17
25
  error(message: string, title?: string, customOptions?: Partial<IndividualConfig>, customMsg?: string): void;
@@ -1,11 +1,14 @@
1
- import { EventEmitter, Injector, TemplateRef } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, Injector, TemplateRef } from '@angular/core';
2
2
  import { TranslationService } from '../../../../core/services/translation/translation.service';
3
- import { BadgeOptions, NotificationModel, NotificationPanelMode, NotificationsListOptions } from '../../models';
3
+ import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
4
+ import { BadgeOptions, NotificationMessageModel, NotificationModel, NotificationPanelMode, NotificationsListOptions } from '../../models';
4
5
  import { BaseNotification } from '../base-notifications.component';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class NotificationsButtonComponent extends BaseNotification {
7
8
  protected inject: Injector;
8
9
  private _translationService;
10
+ private _toasterService;
11
+ private _cdr;
9
12
  private readonly _getCountSub;
10
13
  private readonly _showBadgeSub;
11
14
  readonly showBadge$: import("rxjs").Observable<boolean>;
@@ -17,17 +20,19 @@ export declare class NotificationsButtonComponent extends BaseNotification {
17
20
  listItemClick: EventEmitter<NotificationModel>;
18
21
  openSettings: EventEmitter<Event>;
19
22
  openNotifications: EventEmitter<Event>;
23
+ onNotification: EventEmitter<NotificationMessageModel>;
20
24
  customIconTemplate: TemplateRef<any> | undefined;
21
- readonly newNotificationCount$: import("rxjs").Observable<number | "99+">;
25
+ readonly newNotificationCount$: import("rxjs").Observable<any>;
22
26
  panelMode: NotificationPanelMode;
23
27
  panelModeEnum: {
24
28
  readonly panel: "panel";
25
29
  readonly sidebar: "sidebar";
26
30
  };
27
- constructor(inject: Injector, _translationService: TranslationService, _options?: NotificationsListOptions);
31
+ constructor(inject: Injector, _translationService: TranslationService, _toasterService: CustomToastrService, _cdr: ChangeDetectorRef, _options?: NotificationsListOptions);
28
32
  hideBadgeCount(): void;
29
33
  markAllAsUnread(): void;
30
34
  toggleSideBar(value?: boolean): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, [null, null, { optional: true; }]>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "styleClass": "styleClass"; "badgeOptions": "badgeOptions"; }, { "listItemClick": "listItemClick"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; }, ["customIconTemplate"], ["[notifications-footer]"]>;
35
+ refreshUnreadCount(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, [null, null, null, null, { optional: true; }]>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "styleClass": "styleClass"; "badgeOptions": "badgeOptions"; }, { "listItemClick": "listItemClick"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; "onNotification": "onNotification"; }, ["customIconTemplate"], ["[notifications-footer]"]>;
33
38
  }
@@ -1,5 +1,6 @@
1
1
  export * from './common';
2
2
  export * from './notification-definition.model';
3
+ export * from './notification-message.mode';
3
4
  export * from './notification-options';
4
5
  export * from './notification-setting.presenter';
5
6
  export * from './notification-subscription.model';
@@ -0,0 +1,13 @@
1
+ export interface NotificationMessageModel {
2
+ sourceDocumentId: string;
3
+ sourceDocumentType: string;
4
+ arabicMessage: string;
5
+ englishMessage: string;
6
+ data: string;
7
+ notificationKey: string;
8
+ status: string;
9
+ recipientUser: string;
10
+ applicationKey: string;
11
+ company: string;
12
+ clickable: boolean;
13
+ }
@@ -3,14 +3,15 @@ import { Observable, Subject } from 'rxjs';
3
3
  import { AutomationResponseModel } from '../../../core/models';
4
4
  import { CallApiService } from '../../../core/services/callApi/call-api.service';
5
5
  import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
6
- import { NotificationDefinitionModel, NotificationModel, NotificationSubscriptionModel, PayloadParamsModel, VocabularyType } from '../models';
6
+ import { NotificationDefinitionModel, NotificationMessageModel, NotificationModel, NotificationSubscriptionModel, PayloadParamsModel, VocabularyType } from '../models';
7
+ import { SocketService } from './socket.service';
7
8
  import * as i0 from "@angular/core";
8
- export declare class NotificationsService {
9
- private _callApi;
10
- private _nuxeoService;
11
- private _http;
12
- private _environment;
13
- listenerObserver: Subject<unknown>;
9
+ export declare class NotificationsService extends SocketService {
10
+ protected _environment: Record<string, any>;
11
+ protected _nuxeoService: NuxeoService;
12
+ protected _callApi: CallApiService;
13
+ protected _http: HttpClient;
14
+ listenerObserver: Subject<NotificationMessageModel>;
14
15
  static readonly sourceType = "/api/v1/directory/VOC_Notf_SourceTypes";
15
16
  static readonly channels = "/api/v1/directory/VOC_Notf_NotificationChannels";
16
17
  static readonly providers: {
@@ -31,7 +32,10 @@ export declare class NotificationsService {
31
32
  };
32
33
  private get _tenantId();
33
34
  private get _appKey();
34
- constructor(_callApi: CallApiService, _nuxeoService: NuxeoService, _http: HttpClient, _environment: Record<string, any>);
35
+ /**
36
+ *
37
+ */
38
+ constructor(_environment: Record<string, any>, _nuxeoService: NuxeoService, _callApi: CallApiService, _http: HttpClient);
35
39
  getUnReadCount(): Observable<number>;
36
40
  getNotificationsMongo(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
37
41
  getNotifications(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
@@ -0,0 +1,26 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Observable, ReplaySubject, Subject } from 'rxjs';
3
+ import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
4
+ import { NotificationMessageModel } from '../models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SocketService implements OnDestroy {
7
+ protected _environment: Record<string, any>;
8
+ protected _nuxeoService: NuxeoService;
9
+ protected _destroy$: Subject<unknown>;
10
+ protected _socket: WebSocket;
11
+ protected _messageSub: ReplaySubject<NotificationMessageModel>;
12
+ protected _connecting: boolean;
13
+ private _connectionSource;
14
+ onMessage$: Observable<NotificationMessageModel>;
15
+ constructor(_environment: Record<string, any>, _nuxeoService: NuxeoService);
16
+ protected _isConnected(): boolean;
17
+ socketConnect(): Observable<boolean>;
18
+ disconnect(): void;
19
+ private _prepareConnection;
20
+ ngOnDestroy(): void;
21
+ private _handleSocketMessage;
22
+ private _handleSocketConnection;
23
+ private _handleSocketError;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocketService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<SocketService>;
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "3.9.3",
3
+ "version": "3.9.5",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",