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
|
@@ -11,16 +11,18 @@ import { UploadManagmentService } from "../../shared-services/upload-managment.s
|
|
|
11
11
|
import { SharedDocsService } from "../../shared-services/shared-docs.service";
|
|
12
12
|
import { DynamicFormService } from "../../shared-services/dynamic-form.service";
|
|
13
13
|
import { EvaluatorsService } from "../../directive/permissions/evaluators.service";
|
|
14
|
-
import { CallApiService } from "../../
|
|
15
|
-
import { AdapterService } from "../../
|
|
16
|
-
import { TranslationService } from "../../
|
|
14
|
+
import { CallApiService } from "../../core/services/callApi/call-api.service";
|
|
15
|
+
import { AdapterService } from "../../core/adapters/adapter.service";
|
|
16
|
+
import { TranslationService } from "../../core/services/translation/translation.service";
|
|
17
17
|
import { AppConfigService } from "../../configuration/app-config.service";
|
|
18
18
|
import { CustomToastrService } from "../custom-toastr/services/custom-toastr.service";
|
|
19
|
-
import { UserPreferencesService } from "../../
|
|
19
|
+
import { UserPreferencesService } from "../../core/services/user/user-preferences.service";
|
|
20
20
|
import { DocumentScanService } from "../documents/components/document-scan/document-scan.service";
|
|
21
|
-
import { NuxeoService } from "../../
|
|
21
|
+
import { NuxeoService } from "../../core/services/nuxeo/nuxeo.service";
|
|
22
|
+
import { PaginationPayload } from "./models";
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
25
|
+
#private;
|
|
24
26
|
private injectorObj;
|
|
25
27
|
subscriptions: Subscription[];
|
|
26
28
|
contextMenuActions: any[];
|
|
@@ -28,6 +30,13 @@ export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
|
28
30
|
form: DxFormComponent;
|
|
29
31
|
treeView: DxTreeViewComponent;
|
|
30
32
|
clickout(event: any): void;
|
|
33
|
+
nodesPagination: {
|
|
34
|
+
string?: {
|
|
35
|
+
isNextPageAvailable: number;
|
|
36
|
+
currentPageIndex: number;
|
|
37
|
+
foldersCount: number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
31
40
|
isItemSelected: boolean;
|
|
32
41
|
itemListView: any;
|
|
33
42
|
clicked: boolean;
|
|
@@ -134,9 +143,9 @@ export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
|
134
143
|
constructor(injectorObj: Injector, myPageConfigurationName: String, environment: Object);
|
|
135
144
|
ngOnInit(): void;
|
|
136
145
|
ngAfterViewChecked(): void;
|
|
137
|
-
init(id: any, breadcrumbs?: any): void;
|
|
138
|
-
getFolderChildren(id: any): Observable<any>;
|
|
139
|
-
expandComp(entries: Observable<any>, breadcrumbs: any): any;
|
|
146
|
+
init(id: any, breadcrumbs?: any, currentFolder?: any): void;
|
|
147
|
+
getFolderChildren(id: any, payload?: PaginationPayload, showLoading?: boolean, loadFolders?: boolean): Observable<any>;
|
|
148
|
+
expandComp(entries: Observable<any>, breadcrumbs: any, indexNextNode?: number): any;
|
|
140
149
|
getCurrentDirectory(): any;
|
|
141
150
|
reinitializeFolderTree(id: any, directory: any, node?: any): Promise<void>;
|
|
142
151
|
showNoDataImage(data: any): void;
|
|
@@ -169,6 +178,9 @@ export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
|
|
|
169
178
|
openSideMenuDetails(): void;
|
|
170
179
|
closeSideMenu(): void;
|
|
171
180
|
destroyClass(): void;
|
|
181
|
+
loadPage(): void;
|
|
182
|
+
startLoading(event: any): void;
|
|
183
|
+
resetFoldersSubscription(): void;
|
|
172
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagerAbstract, never>;
|
|
173
185
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileManagerAbstract, "ng-component", never, {}, {}, never, never>;
|
|
174
186
|
}
|
|
@@ -17,43 +17,44 @@ import * as i15 from "./components/share-dialog/share-dialog.component";
|
|
|
17
17
|
import * as i16 from "./components/template-modal/template-modal.component";
|
|
18
18
|
import * as i17 from "./components/update-modal/update-modal.component";
|
|
19
19
|
import * as i18 from "./components/clipboard/clipboard.component";
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "@angular/
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "devextreme-angular
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "../
|
|
33
|
-
import * as i32 from "../
|
|
34
|
-
import * as i33 from "../
|
|
35
|
-
import * as i34 from "
|
|
36
|
-
import * as i35 from "@angular/material/
|
|
37
|
-
import * as i36 from "
|
|
38
|
-
import * as i37 from "../
|
|
39
|
-
import * as i38 from "../
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "
|
|
44
|
-
import * as i43 from "../
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "../
|
|
48
|
-
import * as i47 from "../
|
|
49
|
-
import * as i48 from "../
|
|
50
|
-
import * as i49 from "
|
|
51
|
-
import * as i50 from "
|
|
52
|
-
import * as i51 from "../
|
|
53
|
-
import * as i52 from "
|
|
54
|
-
import * as i53 from "@angular/material/
|
|
20
|
+
import * as i19 from "./directives/file-grid-infinite-scroll.directive";
|
|
21
|
+
import * as i20 from "@angular/common";
|
|
22
|
+
import * as i21 from "@angular/material/icon";
|
|
23
|
+
import * as i22 from "../dynamic-form/dynamic-form.module";
|
|
24
|
+
import * as i23 from "@angular/forms";
|
|
25
|
+
import * as i24 from "../../shared/libraryShared.module";
|
|
26
|
+
import * as i25 from "@ngx-translate/core";
|
|
27
|
+
import * as i26 from "../documents/documents.module";
|
|
28
|
+
import * as i27 from "../../directive/directive.module";
|
|
29
|
+
import * as i28 from "devextreme-angular";
|
|
30
|
+
import * as i29 from "devextreme-angular/ui/nested";
|
|
31
|
+
import * as i30 from "@ng-select/ng-select";
|
|
32
|
+
import * as i31 from "../comments/comments.module";
|
|
33
|
+
import * as i32 from "../card/card.module";
|
|
34
|
+
import * as i33 from "../viewer-log/viewer-log.module";
|
|
35
|
+
import * as i34 from "../cts-tags/cts-tags.module";
|
|
36
|
+
import * as i35 from "@angular/material/dialog";
|
|
37
|
+
import * as i36 from "@angular/material/tooltip";
|
|
38
|
+
import * as i37 from "../correspondence-relation/correspondence-relation.module";
|
|
39
|
+
import * as i38 from "../avatar/avatar.module";
|
|
40
|
+
import * as i39 from "../dynamic-fields-renderer/dynamic-fields-renderer.module";
|
|
41
|
+
import * as i40 from "@angular/material/progress-spinner";
|
|
42
|
+
import * as i41 from "../select-users-by-department/select-users-by-department.module";
|
|
43
|
+
import * as i42 from "../../pipes/pipes.module";
|
|
44
|
+
import * as i43 from "../dynamic-tabs/dynamic-tabs.module";
|
|
45
|
+
import * as i44 from "../activities-log/activities-log.module";
|
|
46
|
+
import * as i45 from "../../shared-services/shared-services.module";
|
|
47
|
+
import * as i46 from "../confirmation-dialog/confirmation-dialog.module";
|
|
48
|
+
import * as i47 from "../permissions/permissions.module";
|
|
49
|
+
import * as i48 from "../user/user.module";
|
|
50
|
+
import * as i49 from "../mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module";
|
|
51
|
+
import * as i50 from "@angular/platform-browser";
|
|
52
|
+
import * as i51 from "../attachment-modal/attachment-modal.module";
|
|
53
|
+
import * as i52 from "../display-suitable-icon/display-suitable-icon.module";
|
|
54
|
+
import * as i53 from "@angular/material/progress-bar";
|
|
55
|
+
import * as i54 from "@angular/material/checkbox";
|
|
55
56
|
export declare class FileMangerModule {
|
|
56
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileMangerModule, never>;
|
|
57
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FileMangerModule, [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i18.ClipboardComponent], [typeof
|
|
58
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileMangerModule, [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.DynamicFormModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.LibrarySharedModule, typeof i25.TranslateModule, typeof i26.DocumentsModule, typeof i27.DirectiveModule, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i30.NgSelectModule, typeof i31.CommentsModule, typeof i32.CardModule, typeof i28.DxTreeViewModule, typeof i33.ViewerLogModule, typeof i34.CtsTagsModule, typeof i35.MatDialogModule, typeof i36.MatTooltipModule, typeof i37.CorrespondenceRelationModule, typeof i38.AvatarModule, typeof i39.DynamicFieldsRendererModule, typeof i40.MatProgressSpinnerModule, typeof i41.SelectUsersByDepartmentModule, typeof i42.PipesModule, typeof i43.DynamicTabsModule, typeof i44.ActivitiesLogModule, typeof i45.SharedServicesModule, typeof i46.ConfirmationDialogModule, typeof i47.PermissionsModule, typeof i48.UserModule, typeof i49.MutipleDynamicFormViewerModule, typeof i50.BrowserTransferStateModule, typeof i51.AttachmentModalModule, typeof i23.FormsModule, typeof i52.DisplaySuitableIconModule, typeof i53.MatProgressBarModule, typeof i54.MatCheckboxModule], [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i28.DxTreeViewModule, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective]>;
|
|
58
59
|
static ɵinj: i0.ɵɵInjectorDeclaration<FileMangerModule>;
|
|
59
60
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface PaginationData<T> {
|
|
2
|
+
isPaginable: boolean;
|
|
3
|
+
resultsCount: number;
|
|
4
|
+
pageSize: number;
|
|
5
|
+
maxPageSize: number;
|
|
6
|
+
resultsCountLimit: number;
|
|
7
|
+
currentPageSize: number;
|
|
8
|
+
currentPageIndex: number;
|
|
9
|
+
currentPageOffset: number;
|
|
10
|
+
numberOfPages: number;
|
|
11
|
+
isPreviousPageAvailable: boolean;
|
|
12
|
+
isNextPageAvailable: boolean;
|
|
13
|
+
isLastPageAvailable: boolean;
|
|
14
|
+
isSortable: boolean;
|
|
15
|
+
hasError: boolean;
|
|
16
|
+
errorMessage: any;
|
|
17
|
+
totalSize: number;
|
|
18
|
+
pageIndex: number;
|
|
19
|
+
pageCount: number;
|
|
20
|
+
data: T[];
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
}
|
|
23
|
+
export interface FileManagerPaginationData<T> extends PaginationData<T> {
|
|
24
|
+
filesCount?: number;
|
|
25
|
+
foldersCount?: number;
|
|
26
|
+
}
|
|
27
|
+
export declare enum FolderishType {
|
|
28
|
+
Folder = 0,
|
|
29
|
+
File = 1
|
|
30
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { CallApiService } from '../../../
|
|
3
|
-
import { AdapterService } from '../../../
|
|
2
|
+
import { CallApiService } from '../../../core/services/callApi/call-api.service';
|
|
3
|
+
import { AdapterService } from '../../../core/adapters/adapter.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ActivityLogService {
|
|
6
6
|
private adapter;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import { TranslationService } from '../../../
|
|
3
|
+
import { TranslationService } from '../../../core/services/translation/translation.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MultipleDynamicFormViewerComponent implements OnInit, OnDestroy {
|
|
6
6
|
private translation;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { NotificationModel, NotificationsListOptions } from '../models';
|
|
3
|
+
import { ListenerService } from '../services/listener.service';
|
|
4
|
+
import { ParamsService } from '../services/params.service';
|
|
5
|
+
import { ResponseService } from '../services/response.service';
|
|
6
|
+
import { BaseNotification } from './base-notifications.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class BaseListNotifications extends BaseNotification {
|
|
9
|
+
protected inject: Injector;
|
|
10
|
+
markAllRead: EventEmitter<Event>;
|
|
11
|
+
itemClicked: EventEmitter<NotificationModel>;
|
|
12
|
+
protected _paramsService: ParamsService<any>;
|
|
13
|
+
protected _responseService: ResponseService<any>;
|
|
14
|
+
protected _listenerService: ListenerService;
|
|
15
|
+
protected _cdr: ChangeDetectorRef;
|
|
16
|
+
readonly response$: import("rxjs").Observable<import("../models").NotificationPagingResponseModel<any>>;
|
|
17
|
+
trackByFn: (_: number, item: NotificationModel) => string;
|
|
18
|
+
isLoadingResult: boolean;
|
|
19
|
+
currentLang: string;
|
|
20
|
+
direction$: import("rxjs").Observable<"ltr" | "rtl">;
|
|
21
|
+
options: NotificationsListOptions;
|
|
22
|
+
paginationModeEnum: {
|
|
23
|
+
readonly scroll: "scroll";
|
|
24
|
+
readonly navigator: "navigator";
|
|
25
|
+
};
|
|
26
|
+
constructor(inject: Injector);
|
|
27
|
+
markAllAsRead(event: any): void;
|
|
28
|
+
onScrollDown(): void;
|
|
29
|
+
changePage(page: number): void;
|
|
30
|
+
onItemClick(notification: NotificationModel): void;
|
|
31
|
+
markAsRead(notification: NotificationModel): void;
|
|
32
|
+
markAsUnread(notification: NotificationModel): void;
|
|
33
|
+
markAsDeleted(notification: NotificationModel): void;
|
|
34
|
+
protected _applyFilter(params: Record<string, any>): void;
|
|
35
|
+
protected _prepareData(): void;
|
|
36
|
+
protected _prepareLanguage(): void;
|
|
37
|
+
protected _updateList(): import("rxjs").Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListNotifications, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseListNotifications, never, never, {}, { "markAllRead": "markAllRead"; "itemClicked": "itemClicked"; }, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { TranslationService } from '../../../Core/services/translation/translation.service';
|
|
4
|
+
import { NotificationsService } from '../services/notifications.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class DestroySubject implements OnDestroy {
|
|
7
|
+
destroy$: Subject<void>;
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DestroySubject, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DestroySubject, never, never, {}, {}, never>;
|
|
11
|
+
}
|
|
12
|
+
export declare abstract class BaseNotification extends DestroySubject {
|
|
13
|
+
protected inject: Injector;
|
|
14
|
+
readonly notificationsService: NotificationsService;
|
|
15
|
+
protected readonly _translationService: TranslationService;
|
|
16
|
+
readonly direction$: import("rxjs").Observable<"ltr" | "rtl">;
|
|
17
|
+
constructor(inject: Injector);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseNotification, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseNotification, never, never, {}, {}, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './notification-item/notification-item.component';
|
|
2
|
+
export * from './notification-source-select/notification-source-select.component';
|
|
3
|
+
export * from './notification-status-toggle/notification-status-toggle.component';
|
|
4
|
+
export * from './notifications-button/notifications-button.component';
|
|
5
|
+
export * from './notifications-date-select/notifications-date-select.component';
|
|
6
|
+
export * from './notifications-list/notifications-list.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { NotificationModel, NotificationsListOptions } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetIconPipe implements PipeTransform {
|
|
5
|
+
transform(data: NotificationModel, options: NotificationsListOptions['icons']): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetIconPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetIconPipe, "getIcon">;
|
|
8
|
+
}
|
package/lib/components/notifications/components/notification-item/notification-item.component.d.ts
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatMenu } from '@angular/material/menu';
|
|
3
|
+
import { NotificationModel, NotificationsListOptions } from '../../models';
|
|
4
|
+
import { DestroySubject } from '../base-notifications.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NotificationItemComponent {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
navigateToDetais(corrId: any): void;
|
|
6
|
+
export declare class NotificationItemComponent extends DestroySubject {
|
|
7
|
+
iconOptions: NotificationsListOptions['icons'];
|
|
8
|
+
currentLang: string;
|
|
9
|
+
private _notification;
|
|
10
|
+
set notification(value: NotificationModel);
|
|
11
|
+
get notification(): NotificationModel;
|
|
12
|
+
markAsUnread: EventEmitter<NotificationModel>;
|
|
13
|
+
markAsRead: EventEmitter<NotificationModel>;
|
|
14
|
+
markAsDeleted: EventEmitter<NotificationModel>;
|
|
15
|
+
readonly status: {
|
|
16
|
+
readonly new: "New";
|
|
17
|
+
readonly read: "Read";
|
|
18
|
+
readonly unRead: "UnRead";
|
|
19
|
+
};
|
|
20
|
+
constructor();
|
|
21
|
+
closeMenu(event: Event, menu: MatMenu): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationItemComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationItemComponent, "app-notification-item", never, { "
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationItemComponent, "app-notification-item", never, { "iconOptions": "iconOptions"; "currentLang": "currentLang"; "notification": "notification"; }, { "markAsUnread": "markAsUnread"; "markAsRead": "markAsRead"; "markAsDeleted": "markAsDeleted"; }, never, never>;
|
|
25
24
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { VocabularyType } from '../../models';
|
|
3
|
+
import { BaseNotification } from '../base-notifications.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationSourceSelectComponent extends BaseNotification {
|
|
6
|
+
sourceTypes$: import("rxjs").Observable<VocabularyType[]>;
|
|
7
|
+
typeChanged: EventEmitter<string>;
|
|
8
|
+
selectedFilterType: VocabularyType | null;
|
|
9
|
+
selectFilterType(type: VocabularyType): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationSourceSelectComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationSourceSelectComponent, "app-notification-source-select", never, {}, { "typeChanged": "typeChanged"; }, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotificationStatusToggleComponent {
|
|
4
|
+
status: boolean;
|
|
5
|
+
statusChanged: EventEmitter<boolean>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationStatusToggleComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationStatusToggleComponent, "app-notification-status-toggle", never, { "status": "status"; }, { "statusChanged": "statusChanged"; }, never, never>;
|
|
8
|
+
}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ActiveToast, ToastrService } from "ngx-toastr";
|
|
5
|
-
import { TimeAgoPipe } from "../../../../pipes/time-ago.pipe";
|
|
6
|
-
import { NotificationsService } from "../../notifications.service";
|
|
7
|
-
import { TranslationService } from "../../../../Core/services/translation/translation.service";
|
|
1
|
+
import { EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import { BadgeOptions, NotificationModel, NotificationPanelMode, NotificationsListOptions } from '../../models';
|
|
3
|
+
import { BaseNotification } from '../base-notifications.component';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class NotificationsButtonComponent
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
5
|
+
export declare class NotificationsButtonComponent extends BaseNotification {
|
|
6
|
+
protected inject: Injector;
|
|
7
|
+
private readonly _getCountSub;
|
|
8
|
+
private readonly _showBadgeSub;
|
|
9
|
+
readonly showBadge$: import("rxjs").Observable<boolean>;
|
|
10
|
+
isSidebarOpened: boolean;
|
|
11
|
+
styleClass: string;
|
|
12
|
+
badgeOptions: BadgeOptions;
|
|
13
|
+
direction$: import("rxjs").Observable<"ltr" | "rtl">;
|
|
14
|
+
sidebarPosition$: import("rxjs").Observable<"left" | "right">;
|
|
15
|
+
listItemClick: EventEmitter<NotificationModel>;
|
|
16
|
+
openSettings: EventEmitter<Event>;
|
|
17
|
+
openNotifications: EventEmitter<Event>;
|
|
18
|
+
customIconTemplate: TemplateRef<any> | undefined;
|
|
19
|
+
readonly newNotificationCount$: import("rxjs").Observable<number | "99+">;
|
|
20
|
+
panelMode: NotificationPanelMode;
|
|
21
|
+
panelModeEnum: {
|
|
22
|
+
readonly panel: "panel";
|
|
23
|
+
readonly sidebar: "sidebar";
|
|
24
|
+
};
|
|
25
|
+
constructor(inject: Injector, _options?: NotificationsListOptions);
|
|
26
|
+
hideBadgeCount(): void;
|
|
27
|
+
markAllAsUnread(): void;
|
|
28
|
+
toggleSideBar(value?: boolean): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, [null, { optional: true; }]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "styleClass": "styleClass"; "badgeOptions": "badgeOptions"; }, { "listItemClick": "listItemClick"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; }, ["customIconTemplate"], ["[notifications-footer]"]>;
|
|
32
31
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KeyValue } from '@angular/common';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { FILTER_DATES_TYPE } from '../../constants';
|
|
4
|
+
import { FilterDateType } from '../../models';
|
|
5
|
+
import { BaseNotification } from '../base-notifications.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class NotificationsDateSelectComponent extends BaseNotification {
|
|
8
|
+
dateChanged: EventEmitter<{
|
|
9
|
+
min: string;
|
|
10
|
+
max: string;
|
|
11
|
+
}>;
|
|
12
|
+
dates: KeyValue<string, FilterDateType>[];
|
|
13
|
+
selectedDate: KeyValue<string, FilterDateType>;
|
|
14
|
+
private _prepareDateList;
|
|
15
|
+
selectDate(date: KeyValue<keyof typeof FILTER_DATES_TYPE, FilterDateType>): void;
|
|
16
|
+
private _getMinDate;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsDateSelectComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsDateSelectComponent, "app-notifications-date-select", never, {}, { "dateChanged": "dateChanged"; }, never, never>;
|
|
19
|
+
}
|
package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts
CHANGED
|
@@ -1,57 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TranslationService } from "../../../../Core/services/translation/translation.service";
|
|
5
|
-
import { MatMenuTrigger } from "@angular/material/menu";
|
|
1
|
+
import { EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { FilterDateType, NotificationsListOptions } from '../../models';
|
|
3
|
+
import { BaseListNotifications } from '../base-list-notfications.component';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
private ref;
|
|
13
|
-
datePipe: DatePipe;
|
|
14
|
-
private translationService;
|
|
15
|
-
showFilters: boolean;
|
|
16
|
-
trigger: MatMenuTrigger;
|
|
17
|
-
listItemClick: EventEmitter<any>;
|
|
18
|
-
get notifications(): any;
|
|
19
|
-
_itemHeight: number;
|
|
20
|
-
get itemHeight(): number;
|
|
21
|
-
set itemHeight(value: number);
|
|
22
|
-
_divider: boolean;
|
|
23
|
-
get divider(): boolean;
|
|
24
|
-
set divider(value: boolean);
|
|
25
|
-
_all: boolean;
|
|
26
|
-
get all(): boolean;
|
|
27
|
-
set all(value: boolean);
|
|
28
|
-
_title: string;
|
|
29
|
-
get title(): string;
|
|
30
|
-
set title(value: string);
|
|
31
|
-
isArabic: any;
|
|
32
|
-
throttle: number;
|
|
33
|
-
scrollDistance: number;
|
|
34
|
-
scrollUpDistance: number;
|
|
35
|
-
loading: boolean;
|
|
36
|
-
hasMore: boolean;
|
|
37
|
-
constructor(notificationsService: NotificationsService, ref: ChangeDetectorRef, datePipe: DatePipe, translationService: TranslationService);
|
|
5
|
+
export declare class NotificationsListComponent extends BaseListNotifications implements OnInit {
|
|
6
|
+
protected inject: Injector;
|
|
7
|
+
openSettings: EventEmitter<Event>;
|
|
8
|
+
openNotifications: EventEmitter<Event>;
|
|
9
|
+
constructor(inject: Injector, _options?: NotificationsListOptions);
|
|
38
10
|
ngOnInit(): void;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
goToDetails(notification: any): void;
|
|
47
|
-
onScrollDown(): void;
|
|
48
|
-
fetchMore(): void;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
close(): void;
|
|
51
|
-
changeContentBasedOnUserLang(): void;
|
|
52
|
-
stop(event: any): void;
|
|
53
|
-
selectFilterType(event: any, type: any): void;
|
|
54
|
-
changeReadFilter(event: any): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsListComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListComponent, "app-notifications-list", never, { "showFilters": "showFilters"; }, { "listItemClick": "listItemClick"; }, never, never>;
|
|
11
|
+
typeChanged(event: string): void;
|
|
12
|
+
statusChanged({ checked }: {
|
|
13
|
+
checked: any;
|
|
14
|
+
}): void;
|
|
15
|
+
dateChanged(date: FilterDateType | null): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsListComponent, [null, { optional: true; }]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListComponent, "app-notifications-list", never, {}, { "openSettings": "openSettings"; "openNotifications": "openNotifications"; }, never, never>;
|
|
57
18
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { MatMenu } from '@angular/material/menu';
|
|
4
|
+
import { NotificationsListOptions } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NotificationsListActionsComponent {
|
|
7
|
+
options: NotificationsListOptions['actions'];
|
|
8
|
+
direction: Direction;
|
|
9
|
+
markAllAsRead: EventEmitter<Event>;
|
|
10
|
+
openSettings: EventEmitter<Event>;
|
|
11
|
+
openNotifications: EventEmitter<Event>;
|
|
12
|
+
closeMenu(event: Event, menu: MatMenu): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsListActionsComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsListActionsComponent, "app-notifications-list-actions", never, { "options": "options"; "direction": "direction"; }, { "markAllAsRead": "markAllAsRead"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; }, never, never>;
|
|
15
|
+
}
|
package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { NotificationDefinitionPresenter, NotificationSubscriptionPresenter } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckIfSubscribedPipe implements PipeTransform {
|
|
5
|
+
transform(definition: NotificationDefinitionPresenter, subscriptions: NotificationSubscriptionPresenter[]): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckIfSubscribedPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CheckIfSubscribedPipe, "checkIfSubscribed">;
|
|
8
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { NotificationDefinitionModel, NotificationDefinitionPresenter, NotificationSubscriptionModel, NotificationSubscriptionPresenter } from '../../models';
|
|
2
|
+
export declare const mapDefinitionToPresenter: (definition: NotificationDefinitionModel) => NotificationDefinitionPresenter;
|
|
3
|
+
export declare const mapSubscriptionToPresenter: (subscription: NotificationSubscriptionModel) => NotificationSubscriptionPresenter;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector } from '@angular/core';
|
|
2
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
3
|
+
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
4
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import { NotificationDefinitionPresenter, NotificationSubscriptionPresenter, VocabularyType } from '../../models';
|
|
6
|
+
import { BaseNotification } from '../base-notifications.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NotificationsSettingsComponent extends BaseNotification {
|
|
9
|
+
protected inject: Injector;
|
|
10
|
+
private _translateService;
|
|
11
|
+
private _cdr;
|
|
12
|
+
private _toastrService;
|
|
13
|
+
private _environment;
|
|
14
|
+
onSubscribe: EventEmitter<NotificationDefinitionPresenter>;
|
|
15
|
+
onUnsubscribe: EventEmitter<Record<string, any>>;
|
|
16
|
+
private readonly _channelSub;
|
|
17
|
+
changingItemId: string;
|
|
18
|
+
isLoadingResult: boolean;
|
|
19
|
+
private _channel;
|
|
20
|
+
set channel(value: VocabularyType);
|
|
21
|
+
get currentLang(): string;
|
|
22
|
+
private get _appKey();
|
|
23
|
+
private readonly _subscriptionsSub;
|
|
24
|
+
readonly settings$: import("rxjs").Observable<{
|
|
25
|
+
definitions: Record<string, any>;
|
|
26
|
+
subscriptions: NotificationSubscriptionPresenter[];
|
|
27
|
+
}>;
|
|
28
|
+
constructor(inject: Injector, _translateService: TranslationService, _cdr: ChangeDetectorRef, _toastrService: CustomToastrService, _environment: Record<string, any>);
|
|
29
|
+
getSubscriptionsByChannel(channel: string): import("rxjs").Observable<NotificationSubscriptionPresenter[]>;
|
|
30
|
+
getDefinitionsByChannel(channel: string): import("rxjs").Observable<Record<string, any>>;
|
|
31
|
+
settingChanged(definition: NotificationDefinitionPresenter, state: MatSlideToggleChange): void;
|
|
32
|
+
private _prepareSettings;
|
|
33
|
+
private _handleSubscribe;
|
|
34
|
+
private _handleUnsubscribe;
|
|
35
|
+
private _findSubscription;
|
|
36
|
+
private _matchItem;
|
|
37
|
+
private _groupBy;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsSettingsComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsSettingsComponent, "app-notifications-settings", never, { "channel": "channel"; }, { "onSubscribe": "onSubscribe"; "onUnsubscribe": "onUnsubscribe"; }, never, never>;
|
|
40
|
+
}
|