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.
- package/bundles/nuxeo-development-framework.umd.js +32267 -31027
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +2 -2
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +2 -2
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +2 -2
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +2 -2
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +1 -1
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +2 -2
- package/esm2015/lib/components/comments/services/comment-api.service.js +3 -3
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +3 -3
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +2 -2
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +2 -2
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +3 -3
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +3 -3
- package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +2 -2
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +2 -2
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +2 -2
- package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +6 -6
- package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +1 -1
- package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +23 -11
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +2 -2
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +2 -2
- package/esm2015/lib/components/documents/services/document-templates.service.js +3 -3
- package/esm2015/lib/components/documents/services/documents.service.js +3 -3
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +2 -2
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +2 -2
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +3 -3
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +5 -5
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +3 -3
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -4
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +2 -2
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +2 -2
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +3 -3
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +3 -3
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +3 -3
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +2 -2
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +2 -2
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +2 -2
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +4 -4
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +2 -2
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +4 -4
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +5 -5
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +4 -4
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +3 -3
- package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +78 -0
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +459 -301
- package/esm2015/lib/components/file-manger/file-manger.module.js +10 -5
- package/esm2015/lib/components/file-manger/models/file-manager-config.model.js +7 -0
- package/esm2015/lib/components/file-manger/models/index.js +4 -0
- package/esm2015/lib/components/file-manger/models/pagination-payload.mode.js +2 -0
- package/esm2015/lib/components/file-manger/models/pagination-response.model.js +6 -0
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +3 -3
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +2 -2
- package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +154 -0
- package/esm2015/lib/components/notifications/components/base-notifications.component.js +35 -0
- package/esm2015/lib/components/notifications/components/index.js +7 -0
- package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +44 -0
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +41 -129
- package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +34 -0
- package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +26 -0
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +75 -165
- package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +59 -0
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +53 -175
- package/esm2015/lib/components/notifications/components/notifications-list/options.js +24 -0
- package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +43 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +28 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.js +30 -0
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +163 -0
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +28 -0
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +158 -0
- package/esm2015/lib/components/notifications/constants/date.js +8 -0
- package/esm2015/lib/components/notifications/constants/index.js +5 -0
- package/esm2015/lib/components/notifications/constants/pagination.js +5 -0
- package/esm2015/lib/components/notifications/constants/panel.js +5 -0
- package/esm2015/lib/components/notifications/constants/status.js +10 -0
- package/esm2015/lib/components/notifications/containers/index.js +3 -0
- package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +98 -0
- package/esm2015/lib/components/notifications/containers/notifications-list-container/options.js +18 -0
- package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +67 -0
- package/esm2015/lib/components/notifications/directives/button.directive.js +28 -0
- package/esm2015/lib/components/notifications/directives/index.js +3 -0
- package/esm2015/lib/components/notifications/directives/notification.directive.js +28 -0
- package/esm2015/lib/components/notifications/index.js +2 -0
- package/esm2015/lib/components/notifications/models/common.js +2 -0
- package/esm2015/lib/components/notifications/models/index.js +11 -0
- package/esm2015/lib/components/notifications/models/notification-definition.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-options.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-setting.presenter.js +2 -0
- package/esm2015/lib/components/notifications/models/notification-subscription.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notification.model.js +2 -0
- package/esm2015/lib/components/notifications/models/notifications-list-options.js +3 -0
- package/esm2015/lib/components/notifications/models/paging-response.model.js +2 -0
- package/esm2015/lib/components/notifications/models/params.model.js +2 -0
- package/esm2015/lib/components/notifications/models/vocabularies.js +2 -0
- package/esm2015/lib/components/notifications/notifications.module.js +80 -46
- package/esm2015/lib/components/notifications/public-api.js +9 -0
- package/esm2015/lib/components/notifications/services/index.js +2 -0
- package/esm2015/lib/components/notifications/services/listener.service.js +19 -0
- package/esm2015/lib/components/notifications/services/notifications.service.js +155 -0
- package/esm2015/lib/components/notifications/services/params.service.js +31 -0
- package/esm2015/lib/components/notifications/services/response.service.js +65 -0
- package/esm2015/lib/components/notifications/utilities/index.js +2 -0
- package/esm2015/lib/components/notifications/utilities/response.adapter.js +12 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +3 -3
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +2 -2
- package/esm2015/lib/components/permissions/permission.service.js +2 -2
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +3 -3
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +2 -2
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +2 -2
- package/esm2015/lib/components/table/table/table.component.js +3 -3
- package/esm2015/lib/components/{notifications → toasts}/components/notification-toast/notification-toast.component.js +8 -12
- package/esm2015/lib/components/toasts/index.js +2 -0
- package/esm2015/lib/components/toasts/public-api.js +3 -0
- package/esm2015/lib/components/toasts/toasts.module.js +19 -0
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +2 -2
- package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +2 -2
- package/esm2015/lib/core/adapters/adapter.service.js +1 -1
- package/esm2015/lib/core/core.module.js +1 -1
- package/esm2015/lib/core/env/env-manager.js +1 -1
- package/esm2015/lib/core/env/index.js +1 -1
- package/esm2015/lib/core/models/api-response.model.js +2 -0
- package/esm2015/lib/core/models/automation-response.model.js +2 -0
- package/esm2015/lib/core/models/base-response.models.js +2 -0
- package/esm2015/lib/core/models/index.js +5 -0
- package/esm2015/lib/core/services/callApi/call-api.service.js +1 -1
- package/esm2015/lib/core/services/extension/action.extensions.js +1 -1
- package/esm2015/lib/core/services/extension/component-register.service.js +1 -1
- package/esm2015/lib/core/services/extension/extenion-utils.js +1 -1
- package/esm2015/lib/core/services/extension/extension-element.js +1 -1
- package/esm2015/lib/core/services/extension/extension-loader.service.js +1 -1
- package/esm2015/lib/core/services/extension/extension.service.js +1 -1
- package/esm2015/lib/core/services/initialization/initialization.service.js +1 -1
- package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +3 -3
- package/esm2015/lib/core/services/translation/translation.service.js +3 -3
- package/esm2015/lib/core/utilities/moment-date-adapter.js +1 -1
- package/esm2015/lib/core/utilities/utility.service.js +1 -1
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +2 -2
- package/esm2015/lib/directive/permissions/evaluators.service.js +2 -2
- package/esm2015/lib/directive/permissions/permissions.directive.js +2 -2
- package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +2 -2
- package/esm2015/lib/directive/rtl/set-rtl.directive.js +2 -2
- package/esm2015/lib/shared-services/dynamic-form.service.js +2 -2
- package/esm2015/lib/shared-services/file-manager.service.js +456 -222
- package/esm2015/lib/shared-services/global-admin.service.js +1 -1
- package/esm2015/lib/shared-services/mainfolder.service.js +3 -3
- package/esm2015/lib/shared-services/publishing-document.service.js +3 -3
- package/esm2015/lib/shared-services/recently-viewed.service.js +3 -3
- package/esm2015/lib/shared-services/shared-docs.service.js +3 -3
- package/esm2015/lib/shared-services/upload-file.service.js +2 -2
- package/esm2015/lib/shared-services/upload-managment.service.js +2 -2
- package/esm2015/lib/shared-services/user.service.js +3 -3
- package/esm2015/public-api.js +145 -149
- package/fesm2015/nuxeo-development-framework.js +24280 -23143
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +1 -1
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +1 -1
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +1 -1
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +1 -1
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +1 -1
- package/lib/components/comments/services/comment-api.service.d.ts +2 -2
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +2 -2
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +1 -1
- package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +1 -1
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +2 -2
- package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +2 -2
- package/lib/components/create-entity/create-entity/create-entity.component.d.ts +1 -1
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +1 -1
- package/lib/components/cts-tags/services/tags-api.service.d.ts +1 -1
- package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +1 -1
- package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -1
- package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +8 -4
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +1 -1
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +1 -1
- package/lib/components/documents/services/document-templates.service.d.ts +2 -2
- package/lib/components/documents/services/documents.service.d.ts +2 -2
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +1 -1
- package/lib/components/dynamic-chart/services/chart-data.service.d.ts +1 -1
- package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +4 -4
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +2 -2
- package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +3 -3
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +1 -1
- package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +1 -1
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +1 -1
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +2 -2
- package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +2 -2
- package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +2 -2
- package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +1 -1
- package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +1 -1
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +1 -1
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +1 -1
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +3 -3
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +1 -1
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +3 -3
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +3 -3
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +2 -2
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +2 -2
- package/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.d.ts +12 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +20 -8
- package/lib/components/file-manger/file-manger.module.d.ts +37 -36
- package/lib/components/file-manger/models/file-manager-config.model.d.ts +8 -0
- package/lib/components/file-manger/models/index.d.ts +3 -0
- package/lib/components/file-manger/models/pagination-payload.mode.d.ts +3 -0
- package/lib/components/file-manger/models/pagination-response.model.d.ts +30 -0
- package/lib/components/latest-activity/services/activity-log.service.d.ts +2 -2
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +1 -1
- package/lib/components/notifications/components/base-list-notfications.component.d.ts +40 -0
- package/lib/components/notifications/components/base-notifications.component.d.ts +20 -0
- package/lib/components/notifications/components/index.d.ts +6 -0
- package/lib/components/notifications/components/notification-item/get-icon.pipe.d.ts +8 -0
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +21 -22
- package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +12 -0
- package/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.d.ts +8 -0
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +29 -30
- package/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.d.ts +19 -0
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +15 -54
- package/lib/components/notifications/components/notifications-list/options.d.ts +2 -0
- package/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.d.ts +15 -0
- package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts +8 -0
- package/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.d.ts +3 -0
- package/lib/components/notifications/components/notifications-settings/notifications-settings.component.d.ts +40 -0
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.d.ts +9 -0
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.d.ts +43 -0
- package/lib/components/notifications/constants/date.d.ts +7 -0
- package/lib/components/notifications/constants/index.d.ts +4 -0
- package/lib/components/notifications/constants/pagination.d.ts +4 -0
- package/lib/components/notifications/constants/panel.d.ts +4 -0
- package/lib/components/notifications/constants/status.d.ts +9 -0
- package/lib/components/notifications/containers/index.d.ts +2 -0
- package/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.d.ts +27 -0
- package/lib/components/notifications/containers/notifications-list-container/options.d.ts +2 -0
- package/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.d.ts +22 -0
- package/lib/components/notifications/directives/button.directive.d.ts +9 -0
- package/lib/components/notifications/directives/index.d.ts +2 -0
- package/lib/components/notifications/directives/notification.directive.d.ts +9 -0
- package/lib/components/notifications/index.d.ts +1 -0
- package/lib/components/notifications/models/common.d.ts +64 -0
- package/lib/components/notifications/models/index.d.ts +10 -0
- package/lib/components/notifications/models/notification-definition.model.d.ts +17 -0
- package/lib/components/notifications/models/notification-options.d.ts +7 -0
- package/lib/components/notifications/models/notification-setting.presenter.d.ts +24 -0
- package/lib/components/notifications/models/notification-subscription.model.d.ts +13 -0
- package/lib/components/notifications/models/notification.model.d.ts +16 -0
- package/lib/components/notifications/models/notifications-list-options.d.ts +34 -0
- package/lib/components/notifications/models/paging-response.model.d.ts +12 -0
- package/lib/components/notifications/models/params.model.d.ts +6 -0
- package/lib/components/notifications/models/vocabularies.d.ts +12 -0
- package/lib/components/notifications/notifications.module.d.ts +32 -16
- package/lib/components/notifications/public-api.d.ts +8 -0
- package/lib/components/notifications/services/index.d.ts +1 -0
- package/lib/components/notifications/services/listener.service.d.ts +8 -0
- package/lib/components/notifications/services/notifications.service.d.ts +55 -0
- package/lib/components/notifications/services/params.service.d.ts +19 -0
- package/lib/components/notifications/services/response.service.d.ts +19 -0
- package/lib/components/notifications/utilities/index.d.ts +1 -0
- package/lib/components/notifications/utilities/response.adapter.d.ts +3 -0
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +2 -2
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +1 -1
- package/lib/components/permissions/permission.service.d.ts +1 -1
- package/lib/components/permissions/permissions/permissions.component.d.ts +2 -2
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +1 -1
- package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +1 -1
- package/lib/components/table/table/table.component.d.ts +2 -2
- package/lib/components/{notifications → toasts}/components/notification-toast/notification-toast.component.d.ts +2 -4
- package/lib/components/toasts/index.d.ts +1 -0
- package/lib/components/toasts/public-api.d.ts +2 -0
- package/lib/components/toasts/toasts.module.d.ts +8 -0
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +1 -1
- package/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.d.ts +1 -1
- package/lib/core/models/api-response.model.d.ts +24 -0
- package/lib/core/models/automation-response.model.d.ts +24 -0
- package/lib/core/models/base-response.models.d.ts +12 -0
- package/lib/core/models/index.d.ts +4 -0
- package/lib/core/services/nuxeo/nuxeo.service.d.ts +1 -1
- package/lib/core/services/translation/translation.service.d.ts +3 -3
- package/lib/directive/app-has-role/app-has-role.directive.d.ts +1 -1
- package/lib/directive/permissions/evaluators.service.d.ts +1 -1
- package/lib/directive/permissions/permissions.directive.d.ts +1 -1
- package/lib/directive/rtl/set-dir-rtl.directive.d.ts +1 -1
- package/lib/directive/rtl/set-rtl.directive.d.ts +1 -1
- package/lib/shared-services/dynamic-form.service.d.ts +1 -1
- package/lib/shared-services/file-manager.service.d.ts +27 -19
- package/lib/shared-services/mainfolder.service.d.ts +2 -2
- package/lib/shared-services/publishing-document.service.d.ts +2 -2
- package/lib/shared-services/recently-viewed.service.d.ts +2 -2
- package/lib/shared-services/shared-docs.service.d.ts +2 -2
- package/lib/shared-services/upload-file.service.d.ts +1 -1
- package/lib/shared-services/upload-managment.service.d.ts +1 -1
- package/lib/shared-services/user.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +139 -143
- package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +0 -22
- package/esm2015/lib/components/notifications/notifications.service.js +0 -358
- package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +0 -10
- 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,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,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,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,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,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 "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "@angular/
|
|
19
|
-
import * as i18 from "@angular/
|
|
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.
|
|
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 '../../../
|
|
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 '../../../
|
|
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";
|
package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts
CHANGED
|
@@ -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 '../../../
|
|
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;
|