nuxeo-development-framework 4.1.4 → 4.1.6
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +78 -82
- package/src/lib/assets/scss/ej2/material.css +1 -0
- package/src/lib/assets/scss/mixins.scss +38 -0
- package/src/lib/assets/scss/myApp.scss +487 -0
- package/src/lib/assets/scss/variables.scss +62 -0
- package/src/lib/components/activities-log/activities-log/activities-log.component.html +20 -0
- package/src/lib/components/activities-log/activities-log/activities-log.component.scss +15 -0
- package/src/lib/components/activities-log/activities-log/activities-log.component.spec.ts +25 -0
- package/src/lib/components/activities-log/activities-log/activities-log.component.ts +177 -0
- package/src/lib/components/activities-log/activities-log/activities-log.service.ts +30 -0
- package/src/lib/components/activities-log/activities-log.module.ts +23 -0
- package/src/lib/components/activity/activity/activity.component.html +28 -0
- package/src/lib/components/activity/activity/activity.component.scss +33 -0
- package/src/lib/components/activity/activity/activity.component.spec.ts +25 -0
- package/src/lib/components/activity/activity/activity.component.ts +23 -0
- package/src/lib/components/activity/activity.module.ts +24 -0
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.html +36 -0
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.scss +21 -0
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.spec.ts +25 -0
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.ts +35 -0
- package/src/lib/components/attachment-item/attachment-item.module.ts +26 -0
- package/src/lib/components/attachment-modal/attachment-modal.module.ts +24 -0
- package/src/lib/components/attachment-modal/attachments/attachments.component.html +41 -0
- package/src/lib/components/attachment-modal/attachments/attachments.component.scss +5 -0
- package/src/lib/components/attachment-modal/attachments/attachments.component.spec.ts +25 -0
- package/src/lib/components/attachment-modal/attachments/attachments.component.ts +161 -0
- package/src/lib/components/avatar/avatar/avatar.component.html +13 -0
- package/src/lib/components/avatar/avatar/avatar.component.scss +32 -0
- package/src/lib/components/avatar/avatar/avatar.component.spec.ts +25 -0
- package/src/lib/components/avatar/avatar/avatar.component.ts +50 -0
- package/src/lib/components/avatar/avatar.module.ts +21 -0
- package/src/lib/components/card/card.component.html +35 -0
- package/src/lib/components/card/card.component.scss +81 -0
- package/src/lib/components/card/card.component.spec.ts +25 -0
- package/src/lib/components/card/card.component.ts +38 -0
- package/src/lib/components/card/card.module.ts +15 -0
- package/src/lib/components/comments/comments.module.ts +48 -0
- package/src/lib/components/comments/components/comment-item/comment-item.component.html +31 -0
- package/src/lib/components/comments/components/comment-item/comment-item.component.scss +41 -0
- package/src/lib/components/comments/components/comment-item/comment-item.component.ts +71 -0
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.html +58 -0
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.scss +69 -0
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.ts +79 -0
- package/src/lib/components/comments/components/comments-list/comments-list.component.html +43 -0
- package/src/lib/components/comments/components/comments-list/comments-list.component.scss +103 -0
- package/src/lib/components/comments/components/comments-list/comments-list.component.ts +61 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +22 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +48 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +25 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +56 -0
- package/src/lib/components/comments/constants/comment.ts +25 -0
- package/src/lib/components/comments/services/comment-api.service.ts +85 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.html +29 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +38 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +68 -0
- package/src/lib/components/confirm-caller/confirm-caller.module.ts +20 -0
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.html +13 -0
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.scss +0 -0
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.spec.ts +25 -0
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.ts +18 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.html +24 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.scss +0 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.spec.ts +25 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.ts +19 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog.module.ts +18 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.html +27 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.scss +34 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.spec.ts +25 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.ts +152 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +93 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.scss +124 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.spec.ts +25 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.ts +159 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.html +33 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.scss +42 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.spec.ts +25 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.ts +112 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.html +20 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.scss +9 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.spec.ts +25 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.ts +65 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.html +89 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +49 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +92 -0
- package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +59 -0
- package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +196 -0
- package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +54 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.html +18 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.scss +90 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +25 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.ts +57 -0
- package/src/lib/components/create-entity/create-entity.module.ts +22 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +60 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +43 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +25 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +166 -0
- package/src/lib/components/cts-tags/cts-tags.module.ts +35 -0
- package/src/lib/components/cts-tags/services/tags-api.service.ts +106 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +45 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +103 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.spec.ts +25 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.ts +88 -0
- package/src/lib/components/custom-toastr/custom-toastr.module.ts +19 -0
- package/src/lib/components/custom-toastr/interfaces/toast-type.interface.ts +1 -0
- package/src/lib/components/custom-toastr/services/custom-toastr.service.ts +118 -0
- package/src/lib/components/diagrams/components/base-node.component.ts +41 -0
- package/src/lib/components/diagrams/components/circle-node/circle-node.component.html +31 -0
- package/src/lib/components/diagrams/components/circle-node/circle-node.component.scss +31 -0
- package/src/lib/components/diagrams/components/circle-node/circle-node.component.ts +9 -0
- package/src/lib/components/diagrams/components/connection-label.component.ts +87 -0
- package/src/lib/components/diagrams/components/content-node/content-node.component.html +32 -0
- package/src/lib/components/diagrams/components/content-node/content-node.component.ts +11 -0
- package/src/lib/components/diagrams/components/custom-connection.component.ts +61 -0
- package/src/lib/components/diagrams/components/custom-socket.component.ts +30 -0
- package/src/lib/components/diagrams/components/gateway-node/gateway-node.component.html +31 -0
- package/src/lib/components/diagrams/components/gateway-node/gateway-node.component.scss +26 -0
- package/src/lib/components/diagrams/components/gateway-node/gateway-node.component.ts +8 -0
- package/src/lib/components/diagrams/components/gateway-ports.component.ts +77 -0
- package/src/lib/components/diagrams/components/node-icon.component.ts +21 -0
- package/src/lib/components/diagrams/components/node-inputs.component.ts +35 -0
- package/src/lib/components/diagrams/components/node-outputs.component.ts +33 -0
- package/src/lib/components/diagrams/components/node-ports.component.ts +54 -0
- package/src/lib/components/diagrams/components/remove-button.component.ts +46 -0
- package/src/lib/components/diagrams/components/status-icon.component.ts +29 -0
- package/src/lib/components/diagrams/components/template-node/template-node.component.html +35 -0
- package/src/lib/components/diagrams/components/template-node/template-node.component.ts +33 -0
- package/src/lib/components/diagrams/components/zoom-control.component.ts +46 -0
- package/src/lib/components/diagrams/constants/defaults.ts +20 -0
- package/src/lib/components/diagrams/constants/direction.ts +6 -0
- package/src/lib/components/diagrams/constants/message-type.ts +4 -0
- package/src/lib/components/diagrams/constants/node-type.ts +7 -0
- package/src/lib/components/diagrams/constants/notify-events.ts +3 -0
- package/src/lib/components/diagrams/constants/sizes.ts +7 -0
- package/src/lib/components/diagrams/constants/status.ts +11 -0
- package/src/lib/components/diagrams/diagrams.module.ts +69 -0
- package/src/lib/components/diagrams/directive/diagram.directive.ts +96 -0
- package/src/lib/components/diagrams/editor/customize.ts +106 -0
- package/src/lib/components/diagrams/editor/editor.ts +152 -0
- package/src/lib/components/diagrams/editor/index.ts +5 -0
- package/src/lib/components/diagrams/editor/overrides/connection-path.transformers.ts +63 -0
- package/src/lib/components/diagrams/editor/path-plugin.ts +29 -0
- package/src/lib/components/diagrams/editor/socket-position-watcher.ts +14 -0
- package/src/lib/components/diagrams/models/base-node.model.ts +59 -0
- package/src/lib/components/diagrams/models/circle-node.model.ts +12 -0
- package/src/lib/components/diagrams/models/connection.model.ts +43 -0
- package/src/lib/components/diagrams/models/content-node.model.ts +12 -0
- package/src/lib/components/diagrams/models/gate-way.model.ts +13 -0
- package/src/lib/components/diagrams/models/ports.model.ts +19 -0
- package/src/lib/components/diagrams/models/socket.model.ts +12 -0
- package/src/lib/components/diagrams/models/template-node.model.ts +16 -0
- package/src/lib/components/diagrams/services/diagram-plugins.service.ts +29 -0
- package/src/lib/components/diagrams/services/diagram.service.ts +327 -0
- package/src/lib/components/diagrams/services/message.service.ts +22 -0
- package/src/lib/components/diagrams/services/workflow.service.ts +322 -0
- package/src/lib/components/diagrams/styles/node.scss +89 -0
- package/src/lib/components/diagrams/styles/ports.scss +169 -0
- package/src/lib/components/diagrams/styles/variables.scss +75 -0
- package/src/lib/components/diagrams/types/common.type.ts +19 -0
- package/src/lib/components/diagrams/types/connection-config.type.ts +13 -0
- package/src/lib/components/diagrams/types/connection-label.type.ts +4 -0
- package/src/lib/components/diagrams/types/customization.type.ts +20 -0
- package/src/lib/components/diagrams/types/diagram-config.type.ts +42 -0
- package/src/lib/components/diagrams/types/diagram-editor.type.ts +28 -0
- package/src/lib/components/diagrams/types/emitter-type.ts +5 -0
- package/src/lib/components/diagrams/types/layout.type.ts +16 -0
- package/src/lib/components/diagrams/types/node-content.ts +9 -0
- package/src/lib/components/diagrams/types/node-definition.ts +21 -0
- package/src/lib/components/diagrams/types/node-status.type.ts +3 -0
- package/src/lib/components/diagrams/types/node.type.ts +3 -0
- package/src/lib/components/diagrams/types/notify-event.type.ts +3 -0
- package/src/lib/components/diagrams/types/path.type.ts +18 -0
- package/src/lib/components/diagrams/types/ports-config.type.ts +12 -0
- package/src/lib/components/diagrams/types/schemes.type.ts +8 -0
- package/src/lib/components/diagrams/types/socket.type.ts +5 -0
- package/src/lib/components/diagrams/utilities/common.ts +42 -0
- package/src/lib/components/diagrams/utilities/random.ts +19 -0
- package/src/lib/components/diagrams/utilities/remove.util.ts +140 -0
- package/src/lib/components/diagrams/utilities/serialize.ts +28 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.html +37 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.scss +73 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.spec.ts +25 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.ts +34 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon/icon.service.ts +107 -0
- package/src/lib/components/display-suitable-icon/display-suitable-icon.module.ts +16 -0
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.html +92 -0
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.scss +65 -0
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.spec.ts +25 -0
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.ts +164 -0
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.html +36 -0
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.scss +44 -0
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.spec.ts +25 -0
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.ts +77 -0
- package/src/lib/components/documents/components/document-list/documents-list.component.html +34 -0
- package/src/lib/components/documents/components/document-list/documents-list.component.scss +41 -0
- package/src/lib/components/documents/components/document-list/documents-list.component.ts +245 -0
- package/src/lib/components/documents/components/document-scan/document-scan.component.html +176 -0
- package/src/lib/components/documents/components/document-scan/document-scan.component.scss +725 -0
- package/src/lib/components/documents/components/document-scan/document-scan.component.ts +1156 -0
- package/src/lib/components/documents/components/document-scan/document-scan.service.ts +26 -0
- package/src/lib/components/documents/components/document-upload/document-upload.component.html +19 -0
- package/src/lib/components/documents/components/document-upload/document-upload.component.scss +49 -0
- package/src/lib/components/documents/components/document-upload/document-upload.component.ts +184 -0
- package/src/lib/components/documents/components/documents/documents.component.html +16 -0
- package/src/lib/components/documents/components/documents/documents.component.scss +0 -0
- package/src/lib/components/documents/components/documents/documents.component.ts +49 -0
- package/src/lib/components/documents/constants/document-templates.ts +32 -0
- package/src/lib/components/documents/constants/documents.ts +85 -0
- package/src/lib/components/documents/documents.module.ts +69 -0
- package/src/lib/components/documents/services/document-templates.service.ts +155 -0
- package/src/lib/components/documents/services/documents.service.ts +354 -0
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.html +26 -0
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.scss +35 -0
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.spec.ts +25 -0
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.ts +571 -0
- package/src/lib/components/dynamic-chart/dynamic-chart.module.ts +22 -0
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.html +4 -0
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.scss +14 -0
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.spec.ts +25 -0
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.ts +178 -0
- package/src/lib/components/dynamic-chart/new-chart-box.ts +0 -0
- package/src/lib/components/dynamic-chart/services/chart-data.service.ts +613 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.html +108 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.scss +0 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +168 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +27 -0
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.html +122 -0
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.scss +103 -0
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.spec.ts +25 -0
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.ts +124 -0
- package/src/lib/components/dynamic-filter/dynamic-filter.module.ts +19 -0
- package/src/lib/components/dynamic-filter/services/dynamic-filter.service.ts +14 -0
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.html +103 -0
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.scss +38 -0
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.ts +147 -0
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.html +3 -0
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.scss +51 -0
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.ts +109 -0
- package/src/lib/components/dynamic-form/components/dynamic-form/fields.adapter.ts +123 -0
- package/src/lib/components/dynamic-form/components/dynamic-form/form-builder.service.ts +120 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.html +14 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.scss +2 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.ts +34 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.html +15 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.scss +73 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.ts +161 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.html +10 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.scss +13 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.ts +72 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.html +67 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +105 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +221 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.ts +94 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/constants/department.ts +12 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.html +40 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.scss +11 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.ts +236 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +327 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +129 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.html +1 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.ts +92 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.html +29 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.scss +54 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.ts +152 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.ts +105 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.html +31 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.scss +5 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.ts +32 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.html +56 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.scss +24 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.ts +110 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.html +36 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.scss +100 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.ts +125 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.html +83 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.scss +136 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.ts +199 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.html +103 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.scss +177 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.ts +362 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +75 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.html +92 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.scss +132 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.ts +194 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.html +13 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.scss +19 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.ts +85 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.html +27 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.scss +147 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.ts +213 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.html +69 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.scss +208 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.ts +343 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.ts +84 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +372 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +136 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +257 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +28 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +32 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.ts +45 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.html +35 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.spec.ts +25 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.ts +175 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.ts +780 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.html +2 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.ts +33 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.ts +22 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.html +1 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.ts +32 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.ts +20 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.css +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.html +17 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.ts +65 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.ts +34 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.html +10 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.ts +28 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.ts +34 -0
- package/src/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.ts +10 -0
- package/src/lib/components/dynamic-form/dynamic-form.module.scss +13 -0
- package/src/lib/components/dynamic-form/dynamic-form.module.ts +197 -0
- package/src/lib/components/dynamic-form/interfaces/aspect-oriented-config.interface.ts +3 -0
- package/src/lib/components/dynamic-form/interfaces/content-metadata-config.interface.ts +16 -0
- package/src/lib/components/dynamic-form/interfaces/content-metadata.interfaces.ts +26 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-arrayitem-properties.interface.ts +5 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.ts +6 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.ts +6 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-group.interface.ts +6 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.ts +16 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.ts +4 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.ts +12 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.ts +11 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.ts +13 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.ts +6 -0
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.ts +9 -0
- package/src/lib/components/dynamic-form/interfaces/indifferent-config.interface.ts +1 -0
- package/src/lib/components/dynamic-form/interfaces/layout-oriented-config.interface.ts +17 -0
- package/src/lib/components/dynamic-form/interfaces/organised-property-group.interface.ts +7 -0
- package/src/lib/components/dynamic-form/interfaces/preset-config.interface.ts +8 -0
- package/src/lib/components/dynamic-form/interfaces/property-group.interface.ts +14 -0
- package/src/lib/components/dynamic-form/interfaces/property.interface.ts +12 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-arrayitem.model.ts +26 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-baseitem.model.ts +96 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-boolitem.model.ts +27 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-dateitem.model.ts +39 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.ts +18 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-keyvaluepairs.model.ts +19 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-mapitem.model.ts +17 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-selectitem.model.ts +30 -0
- package/src/lib/components/dynamic-form/models/dynamic-form-textitem.model.ts +47 -0
- package/src/lib/components/dynamic-form/services/card-item-types.service.ts +55 -0
- package/src/lib/components/dynamic-form/services/dynamic-component-mapper.service.ts +86 -0
- package/src/lib/components/dynamic-form/services/dynamic-form-update.service.ts +105 -0
- package/src/lib/components/dynamic-form/services/property-groups-translator.service.ts +159 -0
- package/src/lib/components/dynamic-form/services/vocabulary-api.service.ts +32 -0
- package/src/lib/components/dynamic-form/validators/date-validator.ts +18 -0
- package/src/lib/components/dynamic-form/validators/length-validator.ts +18 -0
- package/src/lib/components/dynamic-form/validators/regex-validator.ts +16 -0
- package/src/lib/components/dynamic-form/validators/required-validator.ts +7 -0
- package/src/lib/components/dynamic-form/validators/value-validator.ts +18 -0
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.html +219 -0
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.scss +195 -0
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.spec.ts +25 -0
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.ts +331 -0
- package/src/lib/components/dynamic-search/dynamic-search.module.ts +33 -0
- package/src/lib/components/dynamic-table/constants/documents.ts +72 -0
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.html +49 -0
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.scss +33 -0
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.spec.ts +25 -0
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.ts +244 -0
- package/src/lib/components/dynamic-table/dynamic-table.module.ts +27 -0
- package/src/lib/components/dynamic-table/services/dynamic-table.service.spec.ts +16 -0
- package/src/lib/components/dynamic-table/services/dynamic-table.service.ts +10 -0
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.html +15 -0
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.scss +63 -0
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.spec.ts +25 -0
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.ts +25 -0
- package/src/lib/components/dynamic-tabs/dynamic-tabs.module.ts +20 -0
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.html +4 -0
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.ts +19 -0
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.html +3 -0
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.ts +55 -0
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.html +3 -0
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.ts +65 -0
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.html +14 -0
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.ts +28 -0
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.html +15 -0
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.ts +20 -0
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.html +5 -0
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.ts +38 -0
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.html +14 -0
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.ts +84 -0
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.html +4 -0
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.ts +54 -0
- package/src/lib/components/dynamic-view/dynamic-view.module.ts +45 -0
- package/src/lib/components/dynamic-view/dynamic-viewe.service.ts +58 -0
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.html +24 -0
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.scss +55 -0
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.ts +27 -0
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.html +48 -0
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.scss +0 -0
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.ts +181 -0
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.html +88 -0
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.scss +17 -0
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.ts +279 -0
- package/src/lib/components/file-manger/components/copy/copy.component.html +31 -0
- package/src/lib/components/file-manger/components/copy/copy.component.scss +0 -0
- package/src/lib/components/file-manger/components/copy/copy.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/copy/copy.component.ts +172 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +65 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.scss +0 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.ts +124 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +197 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +34 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.ts +629 -0
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.html +39 -0
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.scss +0 -0
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.ts +19 -0
- package/src/lib/components/file-manger/components/delete/delete.component.html +25 -0
- package/src/lib/components/file-manger/components/delete/delete.component.scss +0 -0
- package/src/lib/components/file-manger/components/delete/delete.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/delete/delete.component.ts +118 -0
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +70 -0
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +17 -0
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.ts +158 -0
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.html +31 -0
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.scss +0 -0
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.ts +72 -0
- package/src/lib/components/file-manger/components/move/move.component.html +56 -0
- package/src/lib/components/file-manger/components/move/move.component.scss +0 -0
- package/src/lib/components/file-manger/components/move/move.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/move/move.component.ts +159 -0
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.html +85 -0
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.scss +0 -0
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.ts +164 -0
- package/src/lib/components/file-manger/components/rename/rename.component.html +33 -0
- package/src/lib/components/file-manger/components/rename/rename.component.scss +0 -0
- package/src/lib/components/file-manger/components/rename/rename.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/rename/rename.component.ts +127 -0
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +130 -0
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.scss +9 -0
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.ts +401 -0
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +209 -0
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.scss +38 -0
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.ts +371 -0
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.html +350 -0
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.scss +0 -0
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.ts +247 -0
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.html +213 -0
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.scss +3 -0
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.ts +55 -0
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.html +26 -0
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.scss +0 -0
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.ts +74 -0
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.html +103 -0
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.scss +7 -0
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.spec.ts +25 -0
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.ts +371 -0
- package/src/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.ts +72 -0
- package/src/lib/components/file-manger/file-manager.abstract.ts +1625 -0
- package/src/lib/components/file-manger/file-manger.module.ts +166 -0
- package/src/lib/components/file-manger/helpers/btn-loader.helper.ts +40 -0
- package/src/lib/components/file-manger/helpers/index.ts +1 -0
- package/src/lib/components/file-manger/models/file-manager-config.model.ts +16 -0
- package/src/lib/components/file-manger/models/index.ts +3 -0
- package/src/lib/components/file-manger/models/pagination-payload.mode.ts +4 -0
- package/src/lib/components/file-manger/models/pagination-response.model.ts +30 -0
- package/src/lib/components/filter/filter/filter.component.html +79 -0
- package/src/lib/components/filter/filter/filter.component.md +68 -0
- package/src/lib/components/filter/filter/filter.component.scss +50 -0
- package/src/lib/components/filter/filter/filter.component.spec.ts +25 -0
- package/src/lib/components/filter/filter/filter.component.ts +89 -0
- package/src/lib/components/filter/filter.module.ts +27 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-date-picker.component.scss +67 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.html +47 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.ts +99 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-date-picker.component.scss +67 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.html +47 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.ts +102 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.html +29 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.ts +152 -0
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.ts +23 -0
- package/src/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.ts +35 -0
- package/src/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.ts +94 -0
- package/src/lib/components/hijri-gregorian-datepicker/services/date-helper.service.ts +28 -0
- package/src/lib/components/hijri-gregorian-datepicker/services/ngx-hijri-gregorian-datepicker.service.ts +9 -0
- package/src/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.ts +35 -0
- package/src/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.ts +26 -0
- package/src/lib/components/hijri-gregorian-datepicker/utils/consts.ts +4 -0
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.html +34 -0
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.scss +13 -0
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.spec.ts +25 -0
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.ts +79 -0
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.html +36 -0
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.scss +12 -0
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.spec.ts +25 -0
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.ts +84 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +42 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +160 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.spec.ts +25 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.ts +27 -0
- package/src/lib/components/latest-activity/constants/activitylog.ts +80 -0
- package/src/lib/components/latest-activity/latest-activity.module.ts +33 -0
- package/src/lib/components/latest-activity/services/activity-log.service.ts +41 -0
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.html +36 -0
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.scss +32 -0
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.spec.ts +25 -0
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.ts +45 -0
- package/src/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.ts +18 -0
- package/src/lib/components/notifications/components/base-list-notfications.component.ts +204 -0
- package/src/lib/components/notifications/components/base-notifications.component.ts +21 -0
- package/src/lib/components/notifications/components/notification-item/get-icon.pipe.ts +40 -0
- package/src/lib/components/notifications/components/notification-item/notification-item.component.html +65 -0
- package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +87 -0
- package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +49 -0
- package/src/lib/components/notifications/components/notification-source-select/notification-source-select.component.html +38 -0
- package/src/lib/components/notifications/components/notification-source-select/notification-source-select.component.scss +24 -0
- package/src/lib/components/notifications/components/notification-source-select/notification-source-select.component.ts +35 -0
- package/src/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.html +5 -0
- package/src/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.scss +10 -0
- package/src/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.ts +12 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +64 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +41 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +143 -0
- package/src/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.html +38 -0
- package/src/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.scss +24 -0
- package/src/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.ts +69 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +94 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +38 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +76 -0
- package/src/lib/components/notifications/components/notifications-list/options.ts +25 -0
- package/src/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.html +40 -0
- package/src/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.scss +24 -0
- package/src/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.ts +31 -0
- package/src/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.ts +39 -0
- package/src/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.ts +41 -0
- package/src/lib/components/notifications/components/notifications-settings/notifications-settings.component.html +42 -0
- package/src/lib/components/notifications/components/notifications-settings/notifications-settings.component.scss +75 -0
- package/src/lib/components/notifications/components/notifications-settings/notifications-settings.component.ts +222 -0
- package/src/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.ts +17 -0
- package/src/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.html +21 -0
- package/src/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.scss +40 -0
- package/src/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.ts +179 -0
- package/src/lib/components/notifications/constants/date.ts +7 -0
- package/src/lib/components/notifications/constants/pagination.ts +4 -0
- package/src/lib/components/notifications/constants/panel.ts +4 -0
- package/src/lib/components/notifications/constants/status.ts +10 -0
- package/src/lib/components/notifications/containers/index.ts +2 -0
- package/src/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.html +133 -0
- package/src/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.scss +56 -0
- package/src/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.ts +116 -0
- package/src/lib/components/notifications/containers/notifications-list-container/options.ts +19 -0
- package/src/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.html +45 -0
- package/src/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.scss +56 -0
- package/src/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.ts +74 -0
- package/src/lib/components/notifications/directives/button.directive.ts +19 -0
- package/src/lib/components/notifications/directives/notification.directive.ts +18 -0
- package/src/lib/components/notifications/models/common.ts +69 -0
- package/src/lib/components/notifications/models/notification-definition.model.ts +19 -0
- package/src/lib/components/notifications/models/notification-message.mode.ts +13 -0
- package/src/lib/components/notifications/models/notification-options.ts +8 -0
- package/src/lib/components/notifications/models/notification-setting.presenter.ts +26 -0
- package/src/lib/components/notifications/models/notification-subscription.model.ts +15 -0
- package/src/lib/components/notifications/models/notification.model.ts +18 -0
- package/src/lib/components/notifications/models/notifications-list-options.ts +40 -0
- package/src/lib/components/notifications/models/paging-response.model.ts +13 -0
- package/src/lib/components/notifications/models/params.model.ts +6 -0
- package/src/lib/components/notifications/models/vocabularies.ts +13 -0
- package/src/lib/components/notifications/notifications.module.ts +98 -0
- package/src/lib/components/notifications/services/listener.service.ts +13 -0
- package/src/lib/components/notifications/services/notifications.service.ts +267 -0
- package/src/lib/components/notifications/services/params.service.ts +44 -0
- package/src/lib/components/notifications/services/response.service.ts +69 -0
- package/src/lib/components/notifications/services/socket.service.ts +77 -0
- package/src/lib/components/notifications/utilities/index.ts +2 -0
- package/src/lib/components/notifications/utilities/response.adapter.ts +16 -0
- package/src/lib/components/pagination/pagination/pagination.component.html +33 -0
- package/src/lib/components/pagination/pagination/pagination.component.scss +46 -0
- package/src/lib/components/pagination/pagination/pagination.component.spec.ts +25 -0
- package/src/lib/components/pagination/pagination/pagination.component.ts +132 -0
- package/src/lib/components/pagination/pagination.module.ts +21 -0
- package/src/lib/components/pdf-tron/pdf-tron.module.ts +16 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.html +1 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.scss +0 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.spec.ts +25 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.ts +801 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +239 -0
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +114 -0
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.scss +159 -0
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.spec.ts +25 -0
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.ts +273 -0
- package/src/lib/components/permissions/permission.service.ts +151 -0
- package/src/lib/components/permissions/permissions/permissions.component.html +129 -0
- package/src/lib/components/permissions/permissions/permissions.component.scss +0 -0
- package/src/lib/components/permissions/permissions/permissions.component.spec.ts +25 -0
- package/src/lib/components/permissions/permissions/permissions.component.ts +230 -0
- package/src/lib/components/permissions/permissions-template/permissions-template.component.html +54 -0
- package/src/lib/components/permissions/permissions-template/permissions-template.component.scss +7 -0
- package/src/lib/components/permissions/permissions-template/permissions-template.component.spec.ts +25 -0
- package/src/lib/components/permissions/permissions-template/permissions-template.component.ts +104 -0
- package/src/lib/components/permissions/permissions.module.ts +47 -0
- package/src/lib/components/select/select/select.component.html +64 -0
- package/src/lib/components/select/select/select.component.scss +144 -0
- package/src/lib/components/select/select/select.component.spec.ts +25 -0
- package/src/lib/components/select/select/select.component.ts +116 -0
- package/src/lib/components/select/select.module.ts +23 -0
- package/src/lib/components/select-users-by-department/select-users-by-department.module.ts +27 -0
- package/src/lib/components/select-users-by-department/select-users-by-departments/department-management.service.ts +27 -0
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.html +88 -0
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.scss +15 -0
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.spec.ts +25 -0
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.ts +105 -0
- package/src/lib/components/table/dynamic-column/dynamic-column.component.ts +79 -0
- package/src/lib/components/table/table/table.component.html +414 -0
- package/src/lib/components/table/table/table.component.scss +648 -0
- package/src/lib/components/table/table/table.component.spec.ts +25 -0
- package/src/lib/components/table/table/table.component.ts +204 -0
- package/src/lib/components/table/table.module.ts +37 -0
- package/src/lib/components/toasts/components/notification-toast/notification-toast.component.html +66 -0
- package/src/lib/components/toasts/components/notification-toast/notification-toast.component.scss +62 -0
- package/src/lib/components/toasts/components/notification-toast/notification-toast.component.ts +50 -0
- package/src/lib/components/toasts/toasts.module.ts +15 -0
- package/src/lib/components/user/user/user.component.html +15 -0
- package/src/lib/components/user/user/user.component.scss +0 -0
- package/src/lib/components/user/user/user.component.spec.ts +25 -0
- package/src/lib/components/user/user/user.component.ts +19 -0
- package/src/lib/components/user/user.module.ts +18 -0
- package/src/lib/components/users-card/users-card.component.html +20 -0
- package/src/lib/components/users-card/users-card.component.scss +16 -0
- package/src/lib/components/users-card/users-card.component.ts +30 -0
- package/src/lib/components/users-card/users-card.module.ts +19 -0
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.html +11 -0
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.scss +12 -0
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.spec.ts +25 -0
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.ts +28 -0
- package/src/lib/components/viewer-log/viewer-log.module.ts +12 -0
- package/src/lib/components/vocabulary/interfaces/op-type.interface.ts +4 -0
- package/src/lib/components/vocabulary/services/vocabulary-api.service.ts +66 -0
- package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.html +23 -0
- package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.scss +10 -0
- package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.ts +220 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.html +12 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.scss +0 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.spec.ts +25 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.ts +80 -0
- package/src/lib/components/vocabulary/vocabulary.module.ts +25 -0
- package/src/lib/configuration/app-config.service.ts +26 -0
- package/src/lib/configuration/configuration.module.ts +12 -0
- package/src/lib/configuration/helpers/app-initializer.ts +5 -0
- package/src/lib/core/adapters/adapter.service.ts +46 -0
- package/src/lib/core/core.module.ts +76 -0
- package/src/lib/core/enums/language.enum.ts +4 -0
- package/src/lib/core/env/env-manager.ts +55 -0
- package/src/lib/core/env/index.ts +1 -0
- package/src/lib/core/models/api-response.model.ts +25 -0
- package/src/lib/core/models/automation-response.model.ts +27 -0
- package/src/lib/core/models/base-response.models.ts +14 -0
- package/src/lib/core/models/component.model.ts +11 -0
- package/src/lib/core/services/callApi/call-api.service.ts +31 -0
- package/src/lib/core/services/extension/action.extensions.ts +35 -0
- package/src/lib/core/services/extension/component-register.service.ts +25 -0
- package/src/lib/core/services/extension/extenion-utils.ts +142 -0
- package/src/lib/core/services/extension/extension-element.ts +6 -0
- package/src/lib/core/services/extension/extension-loader.service.ts +160 -0
- package/src/lib/core/services/extension/extension.service.ts +137 -0
- package/src/lib/core/services/initialization/initialization.service.ts +137 -0
- package/src/lib/core/services/localStorag/local-storag.service.ts +125 -0
- package/src/lib/core/services/nuxeo/new-nuxeo-overide.ts +157 -0
- package/src/lib/core/services/nuxeo/nuxeo-override.ts +86 -0
- package/src/lib/core/services/nuxeo/nuxeo.service.ts +160 -0
- package/src/lib/core/services/roles/roles.service.spec.ts +16 -0
- package/src/lib/core/services/roles/roles.service.ts +135 -0
- package/src/lib/core/services/translation/translate-loader.service.ts +173 -0
- package/src/lib/core/services/translation/translation.service.ts +221 -0
- package/src/lib/core/services/user/user-preferences.service.ts +192 -0
- package/src/lib/core/utilities/moment-date-adapter.ts +203 -0
- package/src/lib/core/utilities/moment-dates-format.ts +18 -0
- package/src/lib/core/utilities/utility.service.ts +83 -0
- package/src/lib/directive/app-has-role/app-has-role.directive.ts +62 -0
- package/src/lib/directive/clickOutSide/click-outside.directive.ts +20 -0
- package/src/lib/directive/directive.module.ts +36 -0
- package/src/lib/directive/drag-and-drop/drag-and-drop.directive.ts +37 -0
- package/src/lib/directive/permissions/evaluators.service.ts +148 -0
- package/src/lib/directive/permissions/permissions.directive.ts +74 -0
- package/src/lib/directive/rtl/set-dir-rtl.directive.ts +25 -0
- package/src/lib/directive/rtl/set-rtl.directive.ts +26 -0
- package/src/lib/nuxeo-development-framework.component.ts +20 -0
- package/src/lib/nuxeo-development-framework.module.ts +18 -0
- package/src/lib/nuxeo-development-framework.service.ts +9 -0
- package/src/lib/pipes/file-size.pipe.ts +61 -0
- package/src/lib/pipes/hijri-date.pipe.ts +40 -0
- package/src/lib/pipes/localized-date.pipe.ts +80 -0
- package/src/lib/pipes/multi-value.pipe.ts +39 -0
- package/src/lib/pipes/pipes.module.ts +20 -0
- package/src/lib/pipes/secure-html.pipe.ts +27 -0
- package/src/lib/pipes/secure.pipe.ts +37 -0
- package/src/lib/pipes/time-ago.pipe.ts +68 -0
- package/src/lib/shared/components/base/base-column.component.ts +12 -0
- package/src/lib/shared/components/base/base-dialog.component.ts +24 -0
- package/src/lib/shared/components/base/base-selector.component.ts +116 -0
- package/src/lib/shared/components/base/base.component.ts +69 -0
- package/src/lib/shared/components/base/destroy.subject.ts +11 -0
- package/src/lib/shared/components/button/button.component.html +13 -0
- package/src/lib/shared/components/button/button.component.scss +102 -0
- package/src/lib/shared/components/button/button.component.spec.ts +25 -0
- package/src/lib/shared/components/button/button.component.ts +89 -0
- package/src/lib/shared/components/item-list/item-list.component.html +38 -0
- package/src/lib/shared/components/item-list/item-list.component.scss +65 -0
- package/src/lib/shared/components/item-list/item-list.component.spec.ts +25 -0
- package/src/lib/shared/components/item-list/item-list.component.ts +69 -0
- package/src/lib/shared/components/no-data/no-data.component.html +6 -0
- package/src/lib/shared/components/no-data/no-data.component.scss +16 -0
- package/src/lib/shared/components/no-data/no-data.component.spec.ts +25 -0
- package/src/lib/shared/components/no-data/no-data.component.ts +28 -0
- package/src/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.html +65 -0
- package/src/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.scss +3 -0
- package/src/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.ts +18 -0
- package/src/lib/shared/components/nuxeo-dialog/models/confirm-options.model.ts +51 -0
- package/src/lib/shared/components/nuxeo-dialog/models/dialog-option.model.ts +16 -0
- package/src/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.ts +23 -0
- package/src/lib/shared/components/nuxeo-dialog/nuxeo.dialog.html +63 -0
- package/src/lib/shared/components/nuxeo-dialog/nuxeo.dialog.scss +17 -0
- package/src/lib/shared/components/nuxeo-dialog/nuxeo.dialog.ts +75 -0
- package/src/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.ts +55 -0
- package/src/lib/shared/components/read-more/read-more.component.ts +86 -0
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.html +24 -0
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.scss +50 -0
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.spec.ts +25 -0
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.ts +153 -0
- package/src/lib/shared/components/spinner/spinner.component.html +10 -0
- package/src/lib/shared/components/spinner/spinner.component.scss +11 -0
- package/src/lib/shared/components/spinner/spinner.component.spec.ts +25 -0
- package/src/lib/shared/components/spinner/spinner.component.ts +25 -0
- package/src/lib/shared/components/user-card/user-card.component.html +21 -0
- package/src/lib/shared/components/user-card/user-card.component.scss +42 -0
- package/src/lib/shared/components/user-card/user-card.component.spec.ts +25 -0
- package/src/lib/shared/components/user-card/user-card.component.ts +42 -0
- package/src/lib/shared/libraryShared.module.ts +47 -0
- package/src/lib/shared/models/mapper/nuxeo-mapper.ts +40 -0
- package/src/lib/shared/models/nuxeo-response.model.ts +61 -0
- package/src/lib/shared/models/task.model.ts +76 -0
- package/src/lib/shared/services/base/base.service.ts +248 -0
- package/src/lib/shared/services/base/cache-base.service.ts +384 -0
- package/src/lib/shared/services/base/config/default-ttl-config.ts +9 -0
- package/src/lib/shared/services/base/constants/default-cache-options.ts +30 -0
- package/src/lib/shared/services/base/http-base.service.ts +171 -0
- package/src/lib/shared/services/base/models/cache-info-model.ts +62 -0
- package/src/lib/shared/services/base/models/http-options.model.ts +7 -0
- package/src/lib/shared/services/base/models/operation-options.model.ts +8 -0
- package/src/lib/shared/services/base/models/query-options.model.ts +5 -0
- package/src/lib/shared/services/base/models/request-options.model.ts +7 -0
- package/src/lib/shared-services/dialog-mangment.service.ts +62 -0
- package/src/lib/shared-services/dynamic-form.service.ts +252 -0
- package/src/lib/shared-services/file-manager.adapter.ts +69 -0
- package/src/lib/shared-services/file-manager.service.ts +1529 -0
- package/src/lib/shared-services/global-admin.service.spec.ts +16 -0
- package/src/lib/shared-services/global-admin.service.ts +16 -0
- package/src/lib/shared-services/global-pdftron.service.ts +51 -0
- package/src/lib/shared-services/mainfolder.service.ts +227 -0
- package/src/lib/shared-services/publishing-document.service.ts +242 -0
- package/src/lib/shared-services/recently-viewed.service.ts +55 -0
- package/src/lib/shared-services/shared-docs.service.ts +173 -0
- package/src/lib/shared-services/shared-services.module.ts +12 -0
- package/src/lib/shared-services/upload-file.service.ts +26 -0
- package/src/lib/shared-services/upload-managment.service.ts +148 -0
- package/src/lib/shared-services/user.service.ts +59 -0
- package/src/public-api.ts +261 -0
- package/src/test.ts +26 -0
- package/tsconfig.doc.json +4 -0
- package/tsconfig.lib.json +21 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/nuxeo-development-framework.umd.js +0 -34844
- package/bundles/nuxeo-development-framework.umd.js.map +0 -1
- package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +0 -188
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +0 -35
- package/esm2015/lib/components/activities-log/activities-log.module.js +0 -41
- package/esm2015/lib/components/activity/activity/activity.component.js +0 -28
- package/esm2015/lib/components/activity/activity.module.js +0 -37
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +0 -54
- package/esm2015/lib/components/attachment-item/attachment-item.module.js +0 -44
- package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +0 -40
- package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +0 -157
- package/esm2015/lib/components/avatar/avatar/avatar.component.js +0 -55
- package/esm2015/lib/components/avatar/avatar.module.js +0 -32
- package/esm2015/lib/components/card/card.component.js +0 -48
- package/esm2015/lib/components/card/card.module.js +0 -23
- package/esm2015/lib/components/comments/comments.module.js +0 -82
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +0 -87
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +0 -81
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +0 -74
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +0 -63
- package/esm2015/lib/components/comments/constants/comment.js +0 -25
- package/esm2015/lib/components/comments/services/comment-api.service.js +0 -71
- package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +0 -77
- package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +0 -28
- package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +0 -29
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -30
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +0 -30
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +0 -148
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +0 -152
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +0 -111
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +0 -69
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +0 -98
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +0 -111
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +0 -157
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +0 -54
- package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +0 -69
- package/esm2015/lib/components/create-entity/create-entity.module.js +0 -36
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +0 -180
- package/esm2015/lib/components/cts-tags/cts-tags.module.js +0 -65
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +0 -86
- package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +0 -67
- package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +0 -36
- package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +0 -2
- package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +0 -63
- package/esm2015/lib/components/diagrams/components/base-node.component.js +0 -41
- package/esm2015/lib/components/diagrams/components/circle-node/circle-node.component.js +0 -19
- package/esm2015/lib/components/diagrams/components/connection-label.component.js +0 -92
- package/esm2015/lib/components/diagrams/components/content-node/content-node.component.js +0 -20
- package/esm2015/lib/components/diagrams/components/custom-connection.component.js +0 -84
- package/esm2015/lib/components/diagrams/components/custom-socket.component.js +0 -37
- package/esm2015/lib/components/diagrams/components/gateway-node/gateway-node.component.js +0 -18
- package/esm2015/lib/components/diagrams/components/gateway-ports.component.js +0 -118
- package/esm2015/lib/components/diagrams/components/index.js +0 -16
- package/esm2015/lib/components/diagrams/components/node-icon.component.js +0 -35
- package/esm2015/lib/components/diagrams/components/node-inputs.component.js +0 -61
- package/esm2015/lib/components/diagrams/components/node-outputs.component.js +0 -57
- package/esm2015/lib/components/diagrams/components/node-ports.component.js +0 -98
- package/esm2015/lib/components/diagrams/components/remove-button.component.js +0 -68
- package/esm2015/lib/components/diagrams/components/status-icon.component.js +0 -37
- package/esm2015/lib/components/diagrams/components/template-node/template-node.component.js +0 -40
- package/esm2015/lib/components/diagrams/components/zoom-control.component.js +0 -62
- package/esm2015/lib/components/diagrams/constants/defaults.js +0 -19
- package/esm2015/lib/components/diagrams/constants/direction.js +0 -7
- package/esm2015/lib/components/diagrams/constants/index.js +0 -8
- package/esm2015/lib/components/diagrams/constants/message-type.js +0 -5
- package/esm2015/lib/components/diagrams/constants/node-type.js +0 -8
- package/esm2015/lib/components/diagrams/constants/notify-events.js +0 -4
- package/esm2015/lib/components/diagrams/constants/sizes.js +0 -8
- package/esm2015/lib/components/diagrams/constants/status.js +0 -12
- package/esm2015/lib/components/diagrams/diagrams.module.js +0 -81
- package/esm2015/lib/components/diagrams/directive/diagram.directive.js +0 -86
- package/esm2015/lib/components/diagrams/directive/index.js +0 -2
- package/esm2015/lib/components/diagrams/editor/customize.js +0 -62
- package/esm2015/lib/components/diagrams/editor/editor.js +0 -97
- package/esm2015/lib/components/diagrams/editor/index.js +0 -5
- package/esm2015/lib/components/diagrams/editor/overrides/connection-path.transformers.js +0 -50
- package/esm2015/lib/components/diagrams/editor/overrides/index.js +0 -2
- package/esm2015/lib/components/diagrams/editor/path-plugin.js +0 -18
- package/esm2015/lib/components/diagrams/editor/socket-position-watcher.js +0 -7
- package/esm2015/lib/components/diagrams/index.js +0 -2
- package/esm2015/lib/components/diagrams/models/base-node.model.js +0 -26
- package/esm2015/lib/components/diagrams/models/circle-node.model.js +0 -10
- package/esm2015/lib/components/diagrams/models/connection.model.js +0 -15
- package/esm2015/lib/components/diagrams/models/content-node.model.js +0 -7
- package/esm2015/lib/components/diagrams/models/gate-way.model.js +0 -11
- package/esm2015/lib/components/diagrams/models/index.js +0 -8
- package/esm2015/lib/components/diagrams/models/ports.model.js +0 -14
- package/esm2015/lib/components/diagrams/models/socket.model.js +0 -9
- package/esm2015/lib/components/diagrams/models/template-node.model.js +0 -12
- package/esm2015/lib/components/diagrams/public-api.js +0 -9
- package/esm2015/lib/components/diagrams/services/diagram-plugins.service.js +0 -19
- package/esm2015/lib/components/diagrams/services/diagram.service.js +0 -222
- package/esm2015/lib/components/diagrams/services/index.js +0 -5
- package/esm2015/lib/components/diagrams/services/message.service.js +0 -24
- package/esm2015/lib/components/diagrams/services/workflow.service.js +0 -239
- package/esm2015/lib/components/diagrams/types/common.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/connection-config.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/connection-label.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/customization.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/diagram-config.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/diagram-editor.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/emitter-type.js +0 -2
- package/esm2015/lib/components/diagrams/types/index.js +0 -18
- package/esm2015/lib/components/diagrams/types/layout.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/node-content.js +0 -2
- package/esm2015/lib/components/diagrams/types/node-definition.js +0 -2
- package/esm2015/lib/components/diagrams/types/node-status.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/node.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/notify-event.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/path.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/ports-config.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/schemes.type.js +0 -2
- package/esm2015/lib/components/diagrams/types/socket.type.js +0 -2
- package/esm2015/lib/components/diagrams/utilities/common.js +0 -35
- package/esm2015/lib/components/diagrams/utilities/index.js +0 -5
- package/esm2015/lib/components/diagrams/utilities/random.js +0 -11
- package/esm2015/lib/components/diagrams/utilities/remove.util.js +0 -95
- package/esm2015/lib/components/diagrams/utilities/serialize.js +0 -23
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +0 -44
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +0 -140
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +0 -24
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +0 -159
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +0 -76
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +0 -253
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +0 -975
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +0 -30
- package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +0 -175
- package/esm2015/lib/components/documents/components/documents/documents.component.js +0 -63
- package/esm2015/lib/components/documents/constants/document-templates.js +0 -32
- package/esm2015/lib/components/documents/constants/documents.js +0 -86
- package/esm2015/lib/components/documents/documents.module.js +0 -123
- package/esm2015/lib/components/documents/services/document-templates.service.js +0 -115
- package/esm2015/lib/components/documents/services/documents.service.js +0 -223
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +0 -540
- package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +0 -34
- package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +0 -164
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +0 -552
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +0 -189
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +0 -47
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +0 -137
- package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +0 -27
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +0 -129
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +0 -105
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +0 -127
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +0 -107
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +0 -35
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +0 -165
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +0 -71
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +0 -213
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +0 -78
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +0 -13
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +0 -217
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +0 -253
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +0 -96
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +0 -85
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +0 -139
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +0 -81
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +0 -36
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +0 -106
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +0 -104
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +0 -207
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +0 -337
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +0 -64
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +0 -191
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +0 -81
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +0 -180
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +0 -316
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +0 -79
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +0 -336
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +0 -54
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +0 -178
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +0 -768
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +0 -35
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +0 -17
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +0 -34
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +0 -17
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +0 -74
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +0 -30
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +0 -32
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +0 -30
- package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +0 -17
- package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +0 -306
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +0 -2
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +0 -10
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +0 -63
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +0 -20
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +0 -24
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +0 -12
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +0 -16
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +0 -17
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +0 -32
- package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +0 -8
- package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +0 -46
- package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +0 -60
- package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +0 -83
- package/esm2015/lib/components/dynamic-form/validators/length-validator.js +0 -15
- package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +0 -15
- package/esm2015/lib/components/dynamic-form/validators/required-validator.js +0 -9
- package/esm2015/lib/components/dynamic-form/validators/value-validator.js +0 -15
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +0 -342
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +0 -61
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +0 -249
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +0 -44
- package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +0 -16
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +0 -39
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +0 -34
- package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +0 -37
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +0 -59
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +0 -68
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +0 -33
- package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +0 -36
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +0 -56
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +0 -90
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +0 -72
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +0 -70
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +0 -62
- package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +0 -40
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +0 -148
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +0 -264
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +0 -150
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +0 -117
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +0 -526
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +0 -26
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +0 -74
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +0 -131
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +0 -80
- package/esm2015/lib/components/file-manger/components/move/move.component.js +0 -139
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +0 -152
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +0 -86
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +0 -347
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +0 -294
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +0 -257
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +0 -64
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +0 -71
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +0 -366
- package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +0 -78
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +0 -1200
- package/esm2015/lib/components/file-manger/file-manger.module.js +0 -304
- package/esm2015/lib/components/file-manger/models/file-manager-config.model.js +0 -7
- package/esm2015/lib/components/file-manger/models/index.js +0 -4
- package/esm2015/lib/components/file-manger/models/pagination-payload.mode.js +0 -2
- package/esm2015/lib/components/file-manger/models/pagination-response.model.js +0 -6
- package/esm2015/lib/components/filter/filter/filter.component.js +0 -102
- package/esm2015/lib/components/filter/filter.module.js +0 -45
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +0 -123
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +0 -126
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +0 -165
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +0 -32
- package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +0 -58
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +0 -71
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +0 -30
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +0 -43
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +0 -26
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +0 -5
- package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +0 -80
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +0 -77
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +0 -38
- package/esm2015/lib/components/latest-activity/constants/activitylog.js +0 -80
- package/esm2015/lib/components/latest-activity/latest-activity.module.js +0 -57
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +0 -33
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +0 -51
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +0 -30
- package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +0 -156
- package/esm2015/lib/components/notifications/components/base-notifications.component.js +0 -31
- package/esm2015/lib/components/notifications/components/index.js +0 -7
- package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +0 -44
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +0 -55
- package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +0 -38
- package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +0 -26
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +0 -128
- package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +0 -63
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +0 -69
- package/esm2015/lib/components/notifications/components/notifications-list/options.js +0 -24
- package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +0 -43
- package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +0 -29
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.js +0 -30
- package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +0 -163
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +0 -28
- package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +0 -158
- package/esm2015/lib/components/notifications/constants/date.js +0 -8
- package/esm2015/lib/components/notifications/constants/index.js +0 -5
- package/esm2015/lib/components/notifications/constants/pagination.js +0 -5
- package/esm2015/lib/components/notifications/constants/panel.js +0 -5
- package/esm2015/lib/components/notifications/constants/status.js +0 -10
- package/esm2015/lib/components/notifications/containers/index.js +0 -3
- package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +0 -98
- package/esm2015/lib/components/notifications/containers/notifications-list-container/options.js +0 -18
- package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +0 -67
- package/esm2015/lib/components/notifications/directives/button.directive.js +0 -28
- package/esm2015/lib/components/notifications/directives/index.js +0 -3
- package/esm2015/lib/components/notifications/directives/notification.directive.js +0 -28
- package/esm2015/lib/components/notifications/index.js +0 -2
- package/esm2015/lib/components/notifications/models/common.js +0 -2
- package/esm2015/lib/components/notifications/models/index.js +0 -12
- package/esm2015/lib/components/notifications/models/notification-definition.model.js +0 -2
- package/esm2015/lib/components/notifications/models/notification-message.mode.js +0 -2
- package/esm2015/lib/components/notifications/models/notification-options.js +0 -2
- package/esm2015/lib/components/notifications/models/notification-setting.presenter.js +0 -2
- package/esm2015/lib/components/notifications/models/notification-subscription.model.js +0 -2
- package/esm2015/lib/components/notifications/models/notification.model.js +0 -2
- package/esm2015/lib/components/notifications/models/notifications-list-options.js +0 -3
- package/esm2015/lib/components/notifications/models/paging-response.model.js +0 -2
- package/esm2015/lib/components/notifications/models/params.model.js +0 -2
- package/esm2015/lib/components/notifications/models/vocabularies.js +0 -2
- package/esm2015/lib/components/notifications/notifications.module.js +0 -147
- package/esm2015/lib/components/notifications/public-api.js +0 -12
- package/esm2015/lib/components/notifications/services/index.js +0 -2
- package/esm2015/lib/components/notifications/services/listener.service.js +0 -19
- package/esm2015/lib/components/notifications/services/notifications.service.js +0 -172
- package/esm2015/lib/components/notifications/services/params.service.js +0 -31
- package/esm2015/lib/components/notifications/services/response.service.js +0 -65
- package/esm2015/lib/components/notifications/services/socket.service.js +0 -76
- package/esm2015/lib/components/notifications/utilities/index.js +0 -2
- package/esm2015/lib/components/notifications/utilities/response.adapter.js +0 -12
- package/esm2015/lib/components/pagination/pagination/pagination.component.js +0 -124
- package/esm2015/lib/components/pagination/pagination.module.js +0 -32
- package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +0 -24
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +0 -768
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +0 -241
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +0 -195
- package/esm2015/lib/components/permissions/permission.service.js +0 -118
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +0 -235
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +0 -117
- package/esm2015/lib/components/permissions/permissions.module.js +0 -87
- package/esm2015/lib/components/select/select/select.component.js +0 -130
- package/esm2015/lib/components/select/select.module.js +0 -39
- package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +0 -47
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +0 -27
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +0 -116
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +0 -64
- package/esm2015/lib/components/table/table/table.component.js +0 -239
- package/esm2015/lib/components/table/table.module.js +0 -65
- package/esm2015/lib/components/toasts/components/notification-toast/notification-toast.component.js +0 -53
- package/esm2015/lib/components/toasts/index.js +0 -2
- package/esm2015/lib/components/toasts/public-api.js +0 -3
- package/esm2015/lib/components/toasts/toasts.module.js +0 -19
- package/esm2015/lib/components/user/user/user.component.js +0 -31
- package/esm2015/lib/components/user/user.module.js +0 -30
- package/esm2015/lib/components/users-card/users-card.component.js +0 -43
- package/esm2015/lib/components/users-card/users-card.module.js +0 -28
- package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +0 -38
- package/esm2015/lib/components/viewer-log/viewer-log.module.js +0 -20
- package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +0 -2
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +0 -50
- package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +0 -217
- package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +0 -106
- package/esm2015/lib/components/vocabulary/vocabulary.module.js +0 -41
- package/esm2015/lib/configuration/app-config.service.js +0 -30
- package/esm2015/lib/configuration/helpers/app-initializer.js +0 -4
- package/esm2015/lib/core/adapters/adapter.service.js +0 -50
- package/esm2015/lib/core/core.module.js +0 -115
- package/esm2015/lib/core/enums/language.enum.js +0 -6
- package/esm2015/lib/core/env/env-manager.js +0 -7
- package/esm2015/lib/core/env/index.js +0 -2
- package/esm2015/lib/core/models/api-response.model.js +0 -2
- package/esm2015/lib/core/models/automation-response.model.js +0 -2
- package/esm2015/lib/core/models/base-response.models.js +0 -2
- package/esm2015/lib/core/models/component.model.js +0 -8
- package/esm2015/lib/core/models/index.js +0 -5
- package/esm2015/lib/core/services/callApi/call-api.service.js +0 -33
- package/esm2015/lib/core/services/extension/action.extensions.js +0 -9
- package/esm2015/lib/core/services/extension/component-register.service.js +0 -25
- package/esm2015/lib/core/services/extension/extenion-utils.js +0 -115
- package/esm2015/lib/core/services/extension/extension-element.js +0 -2
- package/esm2015/lib/core/services/extension/extension-loader.service.js +0 -127
- package/esm2015/lib/core/services/extension/extension.service.js +0 -120
- package/esm2015/lib/core/services/initialization/initialization.service.js +0 -138
- package/esm2015/lib/core/services/localStorag/local-storag.service.js +0 -123
- package/esm2015/lib/core/services/nuxeo/new-nuxeo-overide.js +0 -146
- package/esm2015/lib/core/services/nuxeo/nuxeo-override.js +0 -82
- package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +0 -155
- package/esm2015/lib/core/services/roles/roles.service.js +0 -130
- package/esm2015/lib/core/services/translation/translate-loader.service.js +0 -150
- package/esm2015/lib/core/services/translation/translation.service.js +0 -174
- package/esm2015/lib/core/services/user/user-preferences.service.js +0 -171
- package/esm2015/lib/core/utilities/moment-date-adapter.js +0 -178
- package/esm2015/lib/core/utilities/utility.service.js +0 -81
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +0 -61
- package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +0 -29
- package/esm2015/lib/directive/directive.module.js +0 -52
- package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +0 -46
- package/esm2015/lib/directive/permissions/evaluators.service.js +0 -152
- package/esm2015/lib/directive/permissions/permissions.directive.js +0 -69
- package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +0 -28
- package/esm2015/lib/directive/rtl/set-rtl.directive.js +0 -29
- package/esm2015/lib/nuxeo-development-framework.component.js +0 -26
- package/esm2015/lib/nuxeo-development-framework.module.js +0 -20
- package/esm2015/lib/nuxeo-development-framework.service.js +0 -14
- package/esm2015/lib/pipes/file-size.pipe.js +0 -57
- package/esm2015/lib/pipes/hijri-date.pipe.js +0 -46
- package/esm2015/lib/pipes/localized-date.pipe.js +0 -81
- package/esm2015/lib/pipes/multi-value.pipe.js +0 -42
- package/esm2015/lib/pipes/pipes.module.js +0 -29
- package/esm2015/lib/pipes/secure-html.pipe.js +0 -34
- package/esm2015/lib/pipes/secure.pipe.js +0 -40
- package/esm2015/lib/pipes/time-ago.pipe.js +0 -68
- package/esm2015/lib/shared/components/base/base-column.component.js +0 -18
- package/esm2015/lib/shared/components/base/base-dialog.component.js +0 -25
- package/esm2015/lib/shared/components/base/base-selector.component.js +0 -96
- package/esm2015/lib/shared/components/base/base.component.js +0 -57
- package/esm2015/lib/shared/components/base/destroy.subject.js +0 -19
- package/esm2015/lib/shared/components/base/index.js +0 -6
- package/esm2015/lib/shared/components/button/button.component.js +0 -90
- package/esm2015/lib/shared/components/index.js +0 -3
- package/esm2015/lib/shared/components/item-list/item-list.component.js +0 -77
- package/esm2015/lib/shared/components/no-data/no-data.component.js +0 -41
- package/esm2015/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.js +0 -23
- package/esm2015/lib/shared/components/nuxeo-dialog/index.js +0 -6
- package/esm2015/lib/shared/components/nuxeo-dialog/models/confirm-options.model.js +0 -22
- package/esm2015/lib/shared/components/nuxeo-dialog/models/dialog-option.model.js +0 -2
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.js +0 -43
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +0 -82
- package/esm2015/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.js +0 -56
- package/esm2015/lib/shared/components/read-more/read-more.component.js +0 -108
- package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +0 -146
- package/esm2015/lib/shared/components/spinner/spinner.component.js +0 -29
- package/esm2015/lib/shared/components/user-card/user-card.component.js +0 -49
- package/esm2015/lib/shared/libraryShared.module.js +0 -81
- package/esm2015/lib/shared/models/index.js +0 -4
- package/esm2015/lib/shared/models/mapper/index.js +0 -2
- package/esm2015/lib/shared/models/mapper/nuxeo-mapper.js +0 -32
- package/esm2015/lib/shared/models/nuxeo-response.model.js +0 -2
- package/esm2015/lib/shared/models/task.model.js +0 -2
- package/esm2015/lib/shared/services/base/base.service.js +0 -157
- package/esm2015/lib/shared/services/base/cache-base.service.js +0 -295
- package/esm2015/lib/shared/services/base/config/default-ttl-config.js +0 -9
- package/esm2015/lib/shared/services/base/config/index.js +0 -2
- package/esm2015/lib/shared/services/base/constants/default-cache-options.js +0 -28
- package/esm2015/lib/shared/services/base/constants/index.js +0 -2
- package/esm2015/lib/shared/services/base/http-base.service.js +0 -115
- package/esm2015/lib/shared/services/base/index.js +0 -3
- package/esm2015/lib/shared/services/base/models/cache-info-model.js +0 -12
- package/esm2015/lib/shared/services/base/models/http-options.model.js +0 -2
- package/esm2015/lib/shared/services/base/models/index.js +0 -6
- package/esm2015/lib/shared/services/base/models/operation-options.model.js +0 -2
- package/esm2015/lib/shared/services/base/models/query-options.model.js +0 -2
- package/esm2015/lib/shared/services/base/models/request-options.model.js +0 -2
- package/esm2015/lib/shared/services/index.js +0 -2
- package/esm2015/lib/shared-services/dialog-mangment.service.js +0 -57
- package/esm2015/lib/shared-services/dynamic-form.service.js +0 -241
- package/esm2015/lib/shared-services/file-manager.adapter.js +0 -74
- package/esm2015/lib/shared-services/file-manager.service.js +0 -1028
- package/esm2015/lib/shared-services/global-admin.service.js +0 -22
- package/esm2015/lib/shared-services/global-pdftron.service.js +0 -51
- package/esm2015/lib/shared-services/mainfolder.service.js +0 -170
- package/esm2015/lib/shared-services/publishing-document.service.js +0 -202
- package/esm2015/lib/shared-services/recently-viewed.service.js +0 -57
- package/esm2015/lib/shared-services/shared-docs.service.js +0 -135
- package/esm2015/lib/shared-services/shared-services.module.js +0 -20
- package/esm2015/lib/shared-services/upload-file.service.js +0 -29
- package/esm2015/lib/shared-services/upload-managment.service.js +0 -151
- package/esm2015/lib/shared-services/user.service.js +0 -64
- package/esm2015/nuxeo-development-framework.js +0 -5
- package/esm2015/public-api.js +0 -243
- package/fesm2015/nuxeo-development-framework.js +0 -32435
- package/fesm2015/nuxeo-development-framework.js.map +0 -1
- package/lib/components/activities-log/activities-log/activities-log.component.d.ts +0 -26
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +0 -9
- package/lib/components/activities-log/activities-log.module.d.ts +0 -12
- package/lib/components/activity/activity/activity.component.d.ts +0 -13
- package/lib/components/activity/activity.module.d.ts +0 -13
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +0 -21
- package/lib/components/attachment-item/attachment-item.module.d.ts +0 -13
- package/lib/components/attachment-modal/attachment-modal.module.d.ts +0 -12
- package/lib/components/attachment-modal/attachments/attachments.component.d.ts +0 -50
- package/lib/components/avatar/avatar/avatar.component.d.ts +0 -23
- package/lib/components/avatar/avatar.module.d.ts +0 -13
- package/lib/components/card/card.component.d.ts +0 -32
- package/lib/components/card/card.module.d.ts +0 -12
- package/lib/components/comments/comments.module.d.ts +0 -26
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +0 -24
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +0 -46
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +0 -28
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +0 -22
- package/lib/components/comments/constants/comment.d.ts +0 -25
- package/lib/components/comments/services/comment-api.service.d.ts +0 -16
- package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +0 -46
- package/lib/components/confirm-caller/confirm-caller.module.d.ts +0 -17
- package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +0 -12
- package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
- package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +0 -10
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +0 -34
- package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +0 -45
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +0 -31
- package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +0 -18
- package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +0 -48
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +0 -30
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +0 -26
- package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +0 -18
- package/lib/components/create-entity/create-entity/create-entity.component.d.ts +0 -17
- package/lib/components/create-entity/create-entity.module.d.ts +0 -11
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +0 -43
- package/lib/components/cts-tags/cts-tags.module.d.ts +0 -21
- package/lib/components/cts-tags/services/tags-api.service.d.ts +0 -17
- package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +0 -21
- package/lib/components/custom-toastr/custom-toastr.module.d.ts +0 -12
- package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +0 -1
- package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +0 -30
- package/lib/components/diagrams/components/base-node.component.d.ts +0 -30
- package/lib/components/diagrams/components/circle-node/circle-node.component.d.ts +0 -7
- package/lib/components/diagrams/components/connection-label.component.d.ts +0 -19
- package/lib/components/diagrams/components/content-node/content-node.component.d.ts +0 -8
- package/lib/components/diagrams/components/custom-connection.component.d.ts +0 -13
- package/lib/components/diagrams/components/custom-socket.component.d.ts +0 -6
- package/lib/components/diagrams/components/gateway-node/gateway-node.component.d.ts +0 -6
- package/lib/components/diagrams/components/gateway-ports.component.d.ts +0 -12
- package/lib/components/diagrams/components/node-icon.component.d.ts +0 -8
- package/lib/components/diagrams/components/node-inputs.component.d.ts +0 -12
- package/lib/components/diagrams/components/node-outputs.component.d.ts +0 -12
- package/lib/components/diagrams/components/node-ports.component.d.ts +0 -13
- package/lib/components/diagrams/components/remove-button.component.d.ts +0 -7
- package/lib/components/diagrams/components/status-icon.component.d.ts +0 -8
- package/lib/components/diagrams/components/template-node/template-node.component.d.ts +0 -17
- package/lib/components/diagrams/components/zoom-control.component.d.ts +0 -11
- package/lib/components/diagrams/constants/defaults.d.ts +0 -2
- package/lib/components/diagrams/constants/direction.d.ts +0 -6
- package/lib/components/diagrams/constants/message-type.d.ts +0 -4
- package/lib/components/diagrams/constants/node-type.d.ts +0 -7
- package/lib/components/diagrams/constants/notify-events.d.ts +0 -3
- package/lib/components/diagrams/constants/sizes.d.ts +0 -7
- package/lib/components/diagrams/constants/status.d.ts +0 -11
- package/lib/components/diagrams/diagrams.module.d.ts +0 -29
- package/lib/components/diagrams/directive/diagram.directive.d.ts +0 -27
- package/lib/components/diagrams/editor/customize.d.ts +0 -25
- package/lib/components/diagrams/editor/editor.d.ts +0 -3
- package/lib/components/diagrams/editor/index.d.ts +0 -4
- package/lib/components/diagrams/editor/overrides/connection-path.transformers.d.ts +0 -2
- package/lib/components/diagrams/editor/path-plugin.d.ts +0 -4
- package/lib/components/diagrams/editor/socket-position-watcher.d.ts +0 -3
- package/lib/components/diagrams/models/base-node.model.d.ts +0 -22
- package/lib/components/diagrams/models/circle-node.model.d.ts +0 -7
- package/lib/components/diagrams/models/connection.model.d.ts +0 -16
- package/lib/components/diagrams/models/content-node.model.d.ts +0 -5
- package/lib/components/diagrams/models/gate-way.model.d.ts +0 -8
- package/lib/components/diagrams/models/ports.model.d.ts +0 -11
- package/lib/components/diagrams/models/socket.model.d.ts +0 -7
- package/lib/components/diagrams/models/template-node.model.d.ts +0 -8
- package/lib/components/diagrams/services/diagram-plugins.service.d.ts +0 -16
- package/lib/components/diagrams/services/diagram.service.d.ts +0 -53
- package/lib/components/diagrams/services/message.service.d.ts +0 -10
- package/lib/components/diagrams/services/workflow.service.d.ts +0 -80
- package/lib/components/diagrams/types/common.type.d.ts +0 -9
- package/lib/components/diagrams/types/connection-config.type.d.ts +0 -11
- package/lib/components/diagrams/types/connection-label.type.d.ts +0 -4
- package/lib/components/diagrams/types/customization.type.d.ts +0 -10
- package/lib/components/diagrams/types/diagram-config.type.d.ts +0 -42
- package/lib/components/diagrams/types/diagram-editor.type.d.ts +0 -26
- package/lib/components/diagrams/types/emitter-type.d.ts +0 -5
- package/lib/components/diagrams/types/layout.type.d.ts +0 -13
- package/lib/components/diagrams/types/node-content.d.ts +0 -9
- package/lib/components/diagrams/types/node-definition.d.ts +0 -20
- package/lib/components/diagrams/types/node-status.type.d.ts +0 -2
- package/lib/components/diagrams/types/node.type.d.ts +0 -2
- package/lib/components/diagrams/types/notify-event.type.d.ts +0 -2
- package/lib/components/diagrams/types/path.type.d.ts +0 -18
- package/lib/components/diagrams/types/ports-config.type.d.ts +0 -11
- package/lib/components/diagrams/types/schemes.type.d.ts +0 -3
- package/lib/components/diagrams/types/socket.type.d.ts +0 -5
- package/lib/components/diagrams/utilities/common.d.ts +0 -19
- package/lib/components/diagrams/utilities/random.d.ts +0 -1
- package/lib/components/diagrams/utilities/remove.util.d.ts +0 -30
- package/lib/components/diagrams/utilities/serialize.d.ts +0 -15
- package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +0 -17
- package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +0 -8
- package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +0 -8
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +0 -55
- package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +0 -38
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +0 -81
- package/lib/components/documents/components/document-scan/document-scan.component.d.ts +0 -112
- package/lib/components/documents/components/document-scan/document-scan.service.d.ts +0 -14
- package/lib/components/documents/components/document-upload/document-upload.component.d.ts +0 -60
- package/lib/components/documents/components/documents/documents.component.d.ts +0 -27
- package/lib/components/documents/constants/document-templates.d.ts +0 -33
- package/lib/components/documents/constants/documents.d.ts +0 -95
- package/lib/components/documents/documents.module.d.ts +0 -33
- package/lib/components/documents/services/document-templates.service.d.ts +0 -24
- package/lib/components/documents/services/documents.service.d.ts +0 -36
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +0 -77
- package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +0 -16
- package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +0 -33
- package/lib/components/dynamic-chart/services/chart-data.service.d.ts +0 -37
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +0 -138
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +0 -13
- package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +0 -55
- package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +0 -17
- package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +0 -28
- package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +0 -27
- package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +0 -6
- package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +0 -21
- package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +0 -17
- package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +0 -57
- package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +0 -35
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +0 -71
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +0 -52
- package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +0 -12
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +0 -81
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +0 -32
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +0 -21
- package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +0 -30
- package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +0 -64
- package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +0 -25
- package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +0 -15
- package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +0 -45
- package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +0 -43
- package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +0 -65
- package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +0 -92
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +0 -16
- package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +0 -80
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +0 -40
- package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +0 -71
- package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +0 -94
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +0 -21
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +0 -112
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +0 -20
- package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +0 -79
- package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +0 -599
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +0 -13
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +0 -2
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +0 -13
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +0 -2
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +0 -16
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +0 -2
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +0 -13
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +0 -2
- package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +0 -9
- package/lib/components/dynamic-form/dynamic-form.module.d.ts +0 -68
- package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +0 -5
- package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +0 -5
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +0 -15
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +0 -4
- package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +0 -12
- package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +0 -8
- package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +0 -10
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +0 -5
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +0 -8
- package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +0 -21
- package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +0 -11
- package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +0 -13
- package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +0 -9
- package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +0 -8
- package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +0 -11
- package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +0 -15
- package/lib/components/dynamic-form/services/card-item-types.service.d.ts +0 -13
- package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +0 -36
- package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +0 -25
- package/lib/components/dynamic-form/validators/length-validator.d.ts +0 -7
- package/lib/components/dynamic-form/validators/regex-validator.d.ts +0 -7
- package/lib/components/dynamic-form/validators/required-validator.d.ts +0 -5
- package/lib/components/dynamic-form/validators/value-validator.d.ts +0 -7
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +0 -103
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +0 -20
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +0 -112
- package/lib/components/dynamic-table/dynamic-table.module.d.ts +0 -16
- package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +0 -8
- package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +0 -13
- package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +0 -11
- package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +0 -13
- package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +0 -22
- package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +0 -28
- package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +0 -16
- package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +0 -13
- package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +0 -22
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +0 -30
- package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +0 -39
- package/lib/components/dynamic-view/dynamic-view.module.d.ts +0 -24
- package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +0 -15
- package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +0 -20
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +0 -37
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +0 -41
- package/lib/components/file-manger/components/copy/copy.component.d.ts +0 -40
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +0 -29
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +0 -104
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +0 -11
- package/lib/components/file-manger/components/delete/delete.component.d.ts +0 -24
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +0 -57
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +0 -23
- package/lib/components/file-manger/components/move/move.component.d.ts +0 -40
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +0 -37
- package/lib/components/file-manger/components/rename/rename.component.d.ts +0 -24
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +0 -96
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +0 -58
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +0 -62
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +0 -34
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +0 -23
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +0 -195
- package/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.d.ts +0 -12
- package/lib/components/file-manger/file-manager.abstract.d.ts +0 -186
- package/lib/components/file-manger/file-manger.module.d.ts +0 -61
- package/lib/components/file-manger/models/file-manager-config.model.d.ts +0 -8
- package/lib/components/file-manger/models/index.d.ts +0 -3
- package/lib/components/file-manger/models/pagination-payload.mode.d.ts +0 -3
- package/lib/components/file-manger/models/pagination-response.model.d.ts +0 -30
- package/lib/components/filter/filter/filter.component.d.ts +0 -31
- package/lib/components/filter/filter.module.d.ts +0 -15
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +0 -35
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -35
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +0 -39
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +0 -9
- package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +0 -15
- package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +0 -15
- package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +0 -9
- package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +0 -11
- package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +0 -10
- package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +0 -4
- package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +0 -19
- package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +0 -23
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +0 -15
- package/lib/components/latest-activity/constants/activitylog.d.ts +0 -83
- package/lib/components/latest-activity/latest-activity.module.d.ts +0 -19
- package/lib/components/latest-activity/services/activity-log.service.d.ts +0 -12
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +0 -17
- package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +0 -10
- package/lib/components/notifications/components/base-list-notfications.component.d.ts +0 -42
- package/lib/components/notifications/components/base-notifications.component.d.ts +0 -17
- package/lib/components/notifications/components/notification-item/get-icon.pipe.d.ts +0 -8
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +0 -24
- package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +0 -15
- package/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.d.ts +0 -8
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +0 -39
- package/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.d.ts +0 -22
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +0 -18
- package/lib/components/notifications/components/notifications-list/options.d.ts +0 -2
- package/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.d.ts +0 -15
- package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts +0 -8
- package/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.d.ts +0 -3
- package/lib/components/notifications/components/notifications-settings/notifications-settings.component.d.ts +0 -40
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.d.ts +0 -9
- package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.d.ts +0 -43
- package/lib/components/notifications/constants/date.d.ts +0 -7
- package/lib/components/notifications/constants/pagination.d.ts +0 -4
- package/lib/components/notifications/constants/panel.d.ts +0 -4
- package/lib/components/notifications/constants/status.d.ts +0 -9
- package/lib/components/notifications/containers/index.d.ts +0 -2
- package/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.d.ts +0 -27
- package/lib/components/notifications/containers/notifications-list-container/options.d.ts +0 -2
- package/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.d.ts +0 -22
- package/lib/components/notifications/directives/button.directive.d.ts +0 -9
- package/lib/components/notifications/directives/notification.directive.d.ts +0 -9
- package/lib/components/notifications/models/common.d.ts +0 -64
- package/lib/components/notifications/models/notification-definition.model.d.ts +0 -17
- package/lib/components/notifications/models/notification-message.mode.d.ts +0 -13
- package/lib/components/notifications/models/notification-options.d.ts +0 -7
- package/lib/components/notifications/models/notification-setting.presenter.d.ts +0 -24
- package/lib/components/notifications/models/notification-subscription.model.d.ts +0 -13
- package/lib/components/notifications/models/notification.model.d.ts +0 -16
- package/lib/components/notifications/models/notifications-list-options.d.ts +0 -34
- package/lib/components/notifications/models/paging-response.model.d.ts +0 -12
- package/lib/components/notifications/models/params.model.d.ts +0 -6
- package/lib/components/notifications/models/vocabularies.d.ts +0 -12
- package/lib/components/notifications/notifications.module.d.ts +0 -41
- package/lib/components/notifications/services/listener.service.d.ts +0 -8
- package/lib/components/notifications/services/notifications.service.d.ts +0 -60
- package/lib/components/notifications/services/params.service.d.ts +0 -19
- package/lib/components/notifications/services/response.service.d.ts +0 -19
- package/lib/components/notifications/services/socket.service.d.ts +0 -26
- package/lib/components/notifications/utilities/index.d.ts +0 -1
- package/lib/components/notifications/utilities/response.adapter.d.ts +0 -3
- package/lib/components/pagination/pagination/pagination.component.d.ts +0 -46
- package/lib/components/pagination/pagination.module.d.ts +0 -13
- package/lib/components/pdf-tron/pdf-tron.module.d.ts +0 -8
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +0 -107
- package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +0 -33
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +0 -46
- package/lib/components/permissions/permission.service.d.ts +0 -21
- package/lib/components/permissions/permissions/permissions.component.d.ts +0 -48
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +0 -22
- package/lib/components/permissions/permissions.module.d.ts +0 -22
- package/lib/components/select/select/select.component.d.ts +0 -43
- package/lib/components/select/select.module.d.ts +0 -12
- package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +0 -13
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +0 -10
- package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +0 -33
- package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +0 -19
- package/lib/components/table/table/table.component.d.ts +0 -113
- package/lib/components/table/table.module.d.ts +0 -21
- package/lib/components/toasts/components/notification-toast/notification-toast.component.d.ts +0 -17
- package/lib/components/toasts/toasts.module.d.ts +0 -8
- package/lib/components/user/user/user.component.d.ts +0 -13
- package/lib/components/user/user.module.d.ts +0 -10
- package/lib/components/users-card/users-card.component.d.ts +0 -22
- package/lib/components/users-card/users-card.module.d.ts +0 -17
- package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +0 -14
- package/lib/components/viewer-log/viewer-log.module.d.ts +0 -10
- package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +0 -1
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +0 -19
- package/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.d.ts +0 -81
- package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +0 -37
- package/lib/components/vocabulary/vocabulary.module.d.ts +0 -13
- package/lib/configuration/app-config.service.d.ts +0 -14
- package/lib/configuration/helpers/app-initializer.d.ts +0 -2
- package/lib/core/adapters/adapter.service.d.ts +0 -11
- package/lib/core/core.module.d.ts +0 -17
- package/lib/core/enums/language.enum.d.ts +0 -4
- package/lib/core/env/env-manager.d.ts +0 -51
- package/lib/core/env/index.d.ts +0 -1
- package/lib/core/models/api-response.model.d.ts +0 -24
- package/lib/core/models/automation-response.model.d.ts +0 -24
- package/lib/core/models/base-response.models.d.ts +0 -12
- package/lib/core/models/component.model.d.ts +0 -6
- package/lib/core/services/callApi/call-api.service.d.ts +0 -11
- package/lib/core/services/extension/action.extensions.d.ts +0 -31
- package/lib/core/services/extension/component-register.service.d.ts +0 -17
- package/lib/core/services/extension/extenion-utils.d.ts +0 -14
- package/lib/core/services/extension/extension-element.d.ts +0 -5
- package/lib/core/services/extension/extension-loader.service.d.ts +0 -28
- package/lib/core/services/extension/extension.service.d.ts +0 -70
- package/lib/core/services/initialization/initialization.service.d.ts +0 -31
- package/lib/core/services/localStorag/local-storag.service.d.ts +0 -41
- package/lib/core/services/nuxeo/new-nuxeo-overide.d.ts +0 -14
- package/lib/core/services/nuxeo/nuxeo-override.d.ts +0 -8
- package/lib/core/services/nuxeo/nuxeo.service.d.ts +0 -37
- package/lib/core/services/roles/roles.service.d.ts +0 -12
- package/lib/core/services/translation/translate-loader.service.d.ts +0 -26
- package/lib/core/services/translation/translation.service.d.ts +0 -74
- package/lib/core/services/user/user-preferences.service.d.ts +0 -81
- package/lib/core/utilities/moment-date-adapter.d.ts +0 -37
- package/lib/core/utilities/utility.service.d.ts +0 -11
- package/lib/directive/app-has-role/app-has-role.directive.d.ts +0 -18
- package/lib/directive/clickOutSide/click-outside.directive.d.ts +0 -11
- package/lib/directive/directive.module.d.ts +0 -17
- package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +0 -11
- package/lib/directive/permissions/evaluators.service.d.ts +0 -37
- package/lib/directive/permissions/permissions.directive.d.ts +0 -42
- package/lib/directive/rtl/set-dir-rtl.directive.d.ts +0 -13
- package/lib/directive/rtl/set-rtl.directive.d.ts +0 -13
- package/lib/nuxeo-development-framework.component.d.ts +0 -8
- package/lib/nuxeo-development-framework.module.d.ts +0 -10
- package/lib/nuxeo-development-framework.service.d.ts +0 -6
- package/lib/pipes/file-size.pipe.d.ts +0 -34
- package/lib/pipes/hijri-date.pipe.d.ts +0 -32
- package/lib/pipes/localized-date.pipe.d.ts +0 -44
- package/lib/pipes/multi-value.pipe.d.ts +0 -32
- package/lib/pipes/pipes.module.d.ts +0 -18
- package/lib/pipes/secure-html.pipe.d.ts +0 -26
- package/lib/pipes/secure.pipe.d.ts +0 -29
- package/lib/pipes/time-ago.pipe.d.ts +0 -34
- package/lib/shared/components/base/base-column.component.d.ts +0 -10
- package/lib/shared/components/base/base-dialog.component.d.ts +0 -12
- package/lib/shared/components/base/base-selector.component.d.ts +0 -43
- package/lib/shared/components/base/base.component.d.ts +0 -34
- package/lib/shared/components/base/destroy.subject.d.ts +0 -9
- package/lib/shared/components/button/button.component.d.ts +0 -39
- package/lib/shared/components/item-list/item-list.component.d.ts +0 -45
- package/lib/shared/components/no-data/no-data.component.d.ts +0 -22
- package/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.d.ts +0 -9
- package/lib/shared/components/nuxeo-dialog/models/confirm-options.model.d.ts +0 -22
- package/lib/shared/components/nuxeo-dialog/models/dialog-option.model.d.ts +0 -16
- package/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.d.ts +0 -14
- package/lib/shared/components/nuxeo-dialog/nuxeo.dialog.d.ts +0 -22
- package/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.d.ts +0 -13
- package/lib/shared/components/read-more/read-more.component.d.ts +0 -37
- package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +0 -51
- package/lib/shared/components/spinner/spinner.component.d.ts +0 -18
- package/lib/shared/components/user-card/user-card.component.d.ts +0 -30
- package/lib/shared/libraryShared.module.d.ts +0 -26
- package/lib/shared/models/mapper/nuxeo-mapper.d.ts +0 -8
- package/lib/shared/models/nuxeo-response.model.d.ts +0 -61
- package/lib/shared/models/task.model.d.ts +0 -71
- package/lib/shared/services/base/base.service.d.ts +0 -29
- package/lib/shared/services/base/cache-base.service.d.ts +0 -17
- package/lib/shared/services/base/config/default-ttl-config.d.ts +0 -7
- package/lib/shared/services/base/constants/default-cache-options.d.ts +0 -16
- package/lib/shared/services/base/http-base.service.d.ts +0 -15
- package/lib/shared/services/base/models/cache-info-model.d.ts +0 -49
- package/lib/shared/services/base/models/http-options.model.d.ts +0 -7
- package/lib/shared/services/base/models/operation-options.model.d.ts +0 -8
- package/lib/shared/services/base/models/query-options.model.d.ts +0 -5
- package/lib/shared/services/base/models/request-options.model.d.ts +0 -7
- package/lib/shared-services/dialog-mangment.service.d.ts +0 -15
- package/lib/shared-services/dynamic-form.service.d.ts +0 -24
- package/lib/shared-services/file-manager.adapter.d.ts +0 -48
- package/lib/shared-services/file-manager.service.d.ts +0 -102
- package/lib/shared-services/global-admin.service.d.ts +0 -11
- package/lib/shared-services/global-pdftron.service.d.ts +0 -11
- package/lib/shared-services/mainfolder.service.d.ts +0 -32
- package/lib/shared-services/publishing-document.service.d.ts +0 -25
- package/lib/shared-services/recently-viewed.service.d.ts +0 -17
- package/lib/shared-services/shared-docs.service.d.ts +0 -21
- package/lib/shared-services/shared-services.module.d.ts +0 -7
- package/lib/shared-services/upload-file.service.d.ts +0 -10
- package/lib/shared-services/upload-managment.service.d.ts +0 -72
- package/lib/shared-services/user.service.d.ts +0 -12
- package/nuxeo-development-framework.d.ts +0 -5
- package/public-api.d.ts +0 -230
- /package/{lib/components/diagrams/components/index.d.ts → src/lib/components/diagrams/components/index.ts} +0 -0
- /package/{lib/components/diagrams/constants/index.d.ts → src/lib/components/diagrams/constants/index.ts} +0 -0
- /package/{lib/components/diagrams/directive/index.d.ts → src/lib/components/diagrams/directive/index.ts} +0 -0
- /package/{lib/components/diagrams/editor/overrides/index.d.ts → src/lib/components/diagrams/editor/overrides/index.ts} +0 -0
- /package/{lib/components/diagrams/index.d.ts → src/lib/components/diagrams/index.ts} +0 -0
- /package/{lib/components/diagrams/models/index.d.ts → src/lib/components/diagrams/models/index.ts} +0 -0
- /package/{lib/components/diagrams/public-api.d.ts → src/lib/components/diagrams/public-api.ts} +0 -0
- /package/{lib/components/diagrams/services/index.d.ts → src/lib/components/diagrams/services/index.ts} +0 -0
- /package/{lib/components/diagrams/types/index.d.ts → src/lib/components/diagrams/types/index.ts} +0 -0
- /package/{lib/components/diagrams/utilities/index.d.ts → src/lib/components/diagrams/utilities/index.ts} +0 -0
- /package/{lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts → src/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.ts} +0 -0
- /package/{lib/components/dynamic-form/models/dynamic-form.models.d.ts → src/lib/components/dynamic-form/models/dynamic-form.models.ts} +0 -0
- /package/{lib/components/notifications/components/index.d.ts → src/lib/components/notifications/components/index.ts} +0 -0
- /package/{lib/components/notifications/constants/index.d.ts → src/lib/components/notifications/constants/index.ts} +0 -0
- /package/{lib/components/notifications/directives/index.d.ts → src/lib/components/notifications/directives/index.ts} +0 -0
- /package/{lib/components/notifications/index.d.ts → src/lib/components/notifications/index.ts} +0 -0
- /package/{lib/components/notifications/models/index.d.ts → src/lib/components/notifications/models/index.ts} +0 -0
- /package/{lib/components/notifications/public-api.d.ts → src/lib/components/notifications/public-api.ts} +0 -0
- /package/{lib/components/notifications/services/index.d.ts → src/lib/components/notifications/services/index.ts} +0 -0
- /package/{lib/components/toasts/index.d.ts → src/lib/components/toasts/index.ts} +0 -0
- /package/{lib/components/toasts/public-api.d.ts → src/lib/components/toasts/public-api.ts} +0 -0
- /package/{lib/core/models/index.d.ts → src/lib/core/models/index.ts} +0 -0
- /package/{lib/shared/components/base/index.d.ts → src/lib/shared/components/base/index.ts} +0 -0
- /package/{lib/shared/components/index.d.ts → src/lib/shared/components/index.ts} +0 -0
- /package/{lib/shared/components/nuxeo-dialog/index.d.ts → src/lib/shared/components/nuxeo-dialog/index.ts} +0 -0
- /package/{lib/shared/models/index.d.ts → src/lib/shared/models/index.ts} +0 -0
- /package/{lib/shared/models/mapper/index.d.ts → src/lib/shared/models/mapper/index.ts} +0 -0
- /package/{lib/shared/services/base/config/index.d.ts → src/lib/shared/services/base/config/index.ts} +0 -0
- /package/{lib/shared/services/base/constants/index.d.ts → src/lib/shared/services/base/constants/index.ts} +0 -0
- /package/{lib/shared/services/base/index.d.ts → src/lib/shared/services/base/index.ts} +0 -0
- /package/{lib/shared/services/base/models/index.d.ts → src/lib/shared/services/base/models/index.ts} +0 -0
- /package/{lib/shared/services/index.d.ts → src/lib/shared/services/index.ts} +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { NOTIFICATION_STATUS } from '../../constants';
|
|
3
|
-
import { DestroySubject } from '../base-notifications.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/button";
|
|
6
|
-
import * as i2 from "@angular/material/icon";
|
|
7
|
-
import * as i3 from "@angular/material/menu";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
import * as i5 from "./get-icon.pipe";
|
|
10
|
-
import * as i6 from "../../../../pipes/time-ago.pipe";
|
|
11
|
-
import * as i7 from "@ngx-translate/core";
|
|
12
|
-
export class NotificationItemComponent extends DestroySubject {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.markAsUnread = new EventEmitter();
|
|
16
|
-
this.markAsRead = new EventEmitter();
|
|
17
|
-
this.markAsDeleted = new EventEmitter();
|
|
18
|
-
this.status = NOTIFICATION_STATUS;
|
|
19
|
-
}
|
|
20
|
-
set notification(value) {
|
|
21
|
-
this._notification = value;
|
|
22
|
-
}
|
|
23
|
-
get notification() {
|
|
24
|
-
return this._notification;
|
|
25
|
-
}
|
|
26
|
-
closeMenu(event, menu) {
|
|
27
|
-
event.stopPropagation();
|
|
28
|
-
menu.closed.emit();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
NotificationItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
NotificationItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationItemComponent, selector: "app-notification-item", inputs: { iconOptions: "iconOptions", currentLang: "currentLang", notification: "notification" }, outputs: { markAsUnread: "markAsUnread", markAsRead: "markAsRead", markAsDeleted: "markAsDeleted" }, usesInheritance: true, ngImport: i0, template: "<div\r\n *ngIf=\"notification?.properties as properties\"\r\n class=\"notification-item\"\r\n [class.new-item]=\"properties['notif_cnt:status'] == status.new\"\r\n [class.unread-item]=\"properties['notif_cnt:status'] == status.unRead\"\r\n>\r\n <div class=\"notification-item__icon\">\r\n <div class=\"notification-item__icon__wrapper\" *ngIf=\"iconOptions?.active\">\r\n <i [class]=\"notification | getIcon : iconOptions\"></i>\r\n </div>\r\n </div>\r\n <div class=\"notification-item__content\">\r\n <p class=\"notification-item__message line-clamp-2\">\r\n {{\r\n currentLang === 'ar-AR'\r\n ? properties['notif_cnt:arMessage']\r\n : properties['notif_cnt:enMessage']\r\n }}\r\n </p>\r\n <button\r\n class=\"mat-icon-button\"\r\n [matMenuTriggerFor]=\"appMenu\"\r\n mat-icon-button\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n <mat-icon class=\"mat-24\">more_horiz</mat-icon>\r\n </button>\r\n <span class=\"notification-item__date\">{{\r\n properties['dc:created'] | timeAgo : currentLang\r\n }}</span>\r\n </div>\r\n\r\n <mat-menu class=\"notification-item__actions\" #appMenu=\"matMenu\">\r\n <span (click)=\"closeMenu($event, appMenu)\">\r\n <button\r\n *ngIf=\"properties['notif_cnt:status'] == status.read\"\r\n mat-menu-item\r\n class=\"notification-item__actions__item\"\r\n (click)=\"markAsUnread.emit(notification)\"\r\n >\r\n <span class=\"mx-1\">{{ 'notifications.markAsUnread' | translate }}</span>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n properties['notif_cnt:status'] == status.new ||\r\n properties['notif_cnt:status'] == status.unRead\r\n \"\r\n mat-menu-item\r\n class=\"notification-item__actions__item\"\r\n (click)=\"markAsRead.emit(notification)\"\r\n >\r\n <span class=\"mx-1\">{{ 'notifications.markAsRead' | translate }}</span>\r\n </button>\r\n\r\n <button\r\n mat-menu-item\r\n (click)=\"markAsDeleted.emit(notification)\"\r\n class=\"notification-item__actions__item\"\r\n >\r\n <span>{{ 'notifications.delete' | translate }}</span>\r\n </button>\r\n </span>\r\n </mat-menu>\r\n</div>\r\n", styles: [".notification-item{display:var(--n-item-display, grid);grid-template-columns:var(--n-item-columns, auto 1fr);grid-gap:var(--n-item-gap, .5rem);gap:var(--n-item-gap, .5rem);padding:var(--n-items-padding, .5rem 1rem);border:var(--n-item-border, solid #eee);border-width:var(--n-item-border-width, 0 0 1px 0);background:var(--n-item-background, transparent);min-height:var(--n-item-height, 85px);position:relative}.notification-item.new-item{--n-item-background: var(--n-status-new-color, #ecf8fe)}.notification-item.unread-item{--n-item-background: var(--n-status-unread-color, #ecf8fe)}.notification-item.unread-item:before{content:\"\";position:absolute;inset-inline-start:var(--n-item-unread-inline, 6px);inset-block-start:var(--n-item-unread-block, 6px);width:var(--n-item-unread-width, 8px);height:var(--n-item-unread-height, 8px);background:var(--n-item-unread-background, #39559d);border-radius:50%}.notification-item__icon{display:var(--n-item-icon-display, flex);align-items:var(--n-item-icon-align-items, center)}.notification-item__icon__wrapper{width:var(--n-item-icon-width, 56px);height:var(--n-item-icon-height, 56px);background:var(--n-item-icon-background, rgba(0, 0, 0, .025));color:var(--n-item-icon-color, #636363);font-size:var(--n-item-icon-size, 1.5rem);border-radius:var(--n-item-icon-radius, 50%);display:grid;place-items:center}.notification-item__content{display:var(--n-item-content-display, grid);grid-template-columns:var(--n-item-content-columns, 1fr auto);grid-gap:var(--n-item-gap, .2rem);gap:var(--n-item-gap, .2rem)}.notification-item__message{margin-bottom:0;font-size:var(--n-item-font-size, .9rem);color:var(--n-item-message-color)}.notification-item__date{font-size:var(--n-item-date-size, .8rem);text-align:var(--n-item-date-align, end);grid-column:var(--n-item-date-column, span 2);padding:var(--n-item-date-padding, 0 11px);color:var(--n-item-date-color)}.notification-item__actions{border-radius:var(--n-actions-radius, 4px);background:var(--n-actions-background, #fff);box-shadow:var(--n-actions-shadow, 0px 1px 4px -1px rgba(28, 52, 84, .26))}.notification-item__actions .mat-menu-content:not(:empty){padding:var(--n-actions--menu-padding, .5rem)}.notification-item__actions__item{text-align:var(--action-item-align, start)!important;background:var(--action-item-background, transparent)!important;color:var(--action-item-color, #28282d);padding:var(--action-item-padding, .4rem);height:var(--action-item-height, 38px);line-height:var(--action-item-line, 38px);border-radius:var(--action-item-radius, 4px);font-size:var(--action-item-size, 14px)}.notification-item__actions__item:hover{--action-item-background: var(--action-hover-background, #e6f7ff);--action-item-color: var(--action-hover-color, #005fdb)}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], pipes: { "getIcon": i5.GetIconPipe, "timeAgo": i6.TimeAgoPipe, "translate": i7.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationItemComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'app-notification-item',
|
|
37
|
-
styleUrls: ['./notification-item.component.scss'],
|
|
38
|
-
templateUrl: './notification-item.component.html',
|
|
39
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
-
encapsulation: ViewEncapsulation.None,
|
|
41
|
-
}]
|
|
42
|
-
}], ctorParameters: function () { return []; }, propDecorators: { iconOptions: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], currentLang: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], notification: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], markAsUnread: [{
|
|
49
|
-
type: Output
|
|
50
|
-
}], markAsRead: [{
|
|
51
|
-
type: Output
|
|
52
|
-
}], markAsDeleted: [{
|
|
53
|
-
type: Output
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9uLWl0ZW0vbm90aWZpY2F0aW9uLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9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tX19hY3Rpb25zX19pdGVtXCJcclxuICAgICAgICAoY2xpY2spPVwibWFya0FzVW5yZWFkLmVtaXQobm90aWZpY2F0aW9uKVwiXHJcbiAgICAgID5cclxuICAgICAgICA8c3BhbiBjbGFzcz1cIm14LTFcIj57eyAnbm90aWZpY2F0aW9ucy5tYXJrQXNVbnJlYWQnIHwgdHJhbnNsYXRlIH19PC9zcGFuPlxyXG4gICAgICA8L2J1dHRvbj5cclxuXHJcbiAgICAgIDxidXR0b25cclxuICAgICAgICAqbmdJZj1cIlxyXG4gICAgICAgICAgcHJvcGVydGllc1snbm90aWZfY250OnN0YXR1cyddID09IHN0YXR1cy5uZXcgfHxcclxuICAgICAgICAgIHByb3BlcnRpZXNbJ25vdGlmX2NudDpzdGF0dXMnXSA9PSBzdGF0dXMudW5SZWFkXHJcbiAgICAgICAgXCJcclxuICAgICAgICBtYXQtbWVudS1pdGVtXHJcbiAgICAgICAgY2xhc3M9XCJub3RpZmljYXRpb24taXRlbV9fYWN0aW9uc19faXRlbVwiXHJcbiAgICAgICAgKGNsaWNrKT1cIm1hcmtBc1JlYWQuZW1pdChub3RpZmljYXRpb24pXCJcclxuICAgICAgPlxyXG4gICAgICAgIDxzcGFuIGNsYXNzPVwibXgtMVwiPnt7ICdub3RpZmljYXRpb25zLm1hcmtBc1JlYWQnIHwgdHJhbnNsYXRlIH19PC9zcGFuPlxyXG4gICAgICA8L2J1dHRvbj5cclxuXHJcbiAgICAgIDxidXR0b25cclxuICAgICAgICBtYXQtbWVudS1pdGVtXHJcbiAgICAgICAgKGNsaWNrKT1cIm1hcmtBc0RlbGV0ZWQuZW1pdChub3RpZmljYXRpb24pXCJcclxuICAgICAgICBjbGFzcz1cIm5vdGlmaWNhdGlvbi1pdGVtX19hY3Rpb25zX19pdGVtXCJcclxuICAgICAgPlxyXG4gICAgICAgIDxzcGFuPnt7ICdub3RpZmljYXRpb25zLmRlbGV0ZScgfCB0cmFuc2xhdGUgfX08L3NwYW4+XHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9zcGFuPlxyXG4gIDwvbWF0LW1lbnU+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { map } from 'rxjs/operators';
|
|
3
|
-
import { TranslationService } from '../../../../core/services/translation/translation.service';
|
|
4
|
-
import { BaseNotification } from '../base-notifications.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/material/button";
|
|
7
|
-
import * as i2 from "@angular/material/menu";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "@angular/cdk/bidi";
|
|
10
|
-
import * as i5 from "@ngx-translate/core";
|
|
11
|
-
export class NotificationSourceSelectComponent extends BaseNotification {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this._translationService = this.inject.get(TranslationService);
|
|
15
|
-
this.sourceTypes$ = this.notificationsService.getSourceTypes();
|
|
16
|
-
this.typeChanged = new EventEmitter();
|
|
17
|
-
this.direction$ = this._translationService.isArabic$.pipe(map((isArabic) => (isArabic ? 'rtl' : 'ltr')));
|
|
18
|
-
}
|
|
19
|
-
selectFilterType(type) {
|
|
20
|
-
this.selectedFilterType = type;
|
|
21
|
-
this.typeChanged.emit(type === null || type === void 0 ? void 0 : type.id);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
NotificationSourceSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationSourceSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
NotificationSourceSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationSourceSelectComponent, selector: "app-notification-source-select", outputs: { typeChanged: "typeChanged" }, usesInheritance: true, ngImport: i0, template: "<span [dir]=\"direction$ | async\" *ngIf=\"sourceTypes$ | async as sourceTypes\">\r\n <button\r\n (click)=\"$event.stopPropagation()\"\r\n class=\"type-filter-trigger px-2\"\r\n [matMenuTriggerFor]=\"filterTypeMenu\"\r\n #filterTypeMenuTrigger=\"matMenuTrigger\"\r\n mat-stroked-button\r\n >\r\n <span>{{\r\n (selectedFilterType\r\n ? 'vocabulary.VOC_Notf_SourceTypes.' + selectedFilterType.properties.id\r\n : 'notifications.allTypes'\r\n ) | translate\r\n }}</span>\r\n <span class=\"icon icon-chevron-down\"></span>\r\n </button>\r\n <mat-menu class=\"source-type-select-menu\" #filterTypeMenu=\"matMenu\">\r\n <span (click)=\"$event.stopPropagation()\">\r\n <button\r\n mat-menu-item\r\n class=\"source-type-select-menu__option\"\r\n (click)=\"selectFilterType(null); filterTypeMenuTrigger.closed.emit()\"\r\n >\r\n <span>{{ 'notifications.all' | translate }}</span>\r\n </button>\r\n <button\r\n mat-menu-item\r\n class=\"source-type-select-menu__option\"\r\n *ngFor=\"let type of sourceTypes\"\r\n (click)=\"selectFilterType(type); filterTypeMenuTrigger.closed.emit()\"\r\n >\r\n <span>{{\r\n 'vocabulary.VOC_Notf_SourceTypes.' + type?.properties.id | translate\r\n }}</span>\r\n </button>\r\n </span>\r\n </mat-menu>\r\n</span>\r\n", styles: [".source-type-select-menu{box-shadow:var(--source-type-menu-shadow, 0px 1px 4px -1px rgba(28, 52, 84, .26))}.source-type-select-menu .mat-menu-content:not(:empty){padding:var(--source-type-menu-padding, .5rem)}.source-type-select-menu__option{background:var(--source-type-option-background, transparent)!important;border-radius:var(--source-type-option-radius, 4px);font-size:var(--source-type-option-size, 14px);color:var(--source-type-option-color, #28282d);height:var(--source-type-option-height, 38px);line-height:var(--source-type-option-line-height, 38px)}.source-type-select-menu__option:hover{--source-type-option-background: var(--source-type-option-hover-background, #e6f7ff);--source-type-option-color: var(--source-type-option-hover-color, #005fdb)}.source-type-select-menu__option .mat-icon{color:currentColor}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i3.AsyncPipe, "translate": i5.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationSourceSelectComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: 'app-notification-source-select',
|
|
30
|
-
templateUrl: './notification-source-select.component.html',
|
|
31
|
-
styleUrls: ['./notification-source-select.component.scss'],
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
encapsulation: ViewEncapsulation.None,
|
|
34
|
-
}]
|
|
35
|
-
}], propDecorators: { typeChanged: [{
|
|
36
|
-
type: Output
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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NwYW4+e3tcclxuICAgICAgICAgICd2b2NhYnVsYXJ5LlZPQ19Ob3RmX1NvdXJjZVR5cGVzLicgKyB0eXBlPy5wcm9wZXJ0aWVzLmlkIHwgdHJhbnNsYXRlXHJcbiAgICAgICAgfX08L3NwYW4+XHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9zcGFuPlxyXG4gIDwvbWF0LW1lbnU+XHJcbjwvc3Bhbj5cclxuIl19
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/material/slide-toggle";
|
|
4
|
-
import * as i2 from "@ngx-translate/core";
|
|
5
|
-
export class NotificationStatusToggleComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.status = false;
|
|
8
|
-
this.statusChanged = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
NotificationStatusToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationStatusToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
NotificationStatusToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationStatusToggleComponent, selector: "app-notification-status-toggle", inputs: { status: "status" }, outputs: { statusChanged: "statusChanged" }, ngImport: i0, template: "<div class=\"notification-toggle\" (click)=\"$event.stopPropagation()\">\r\n <mat-slide-toggle [checked]=\"status\" (change)=\"statusChanged.emit($event)\">\r\n <small class=\"px-2\">{{ 'notifications.read' | translate }}</small>\r\n </mat-slide-toggle>\r\n</div>\r\n", styles: [":host{display:var(--n-status-toggle-display, flex);flex-direction:var(--n-status-toggle-direction, column);justify-content:var(--n-status-toggle-content, center)}:host ::ng-deep .mat-slide-toggle-label{margin-bottom:0}\n"], components: [{ type: i1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], pipes: { "translate": i2.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationStatusToggleComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: 'app-notification-status-toggle',
|
|
17
|
-
templateUrl: './notification-status-toggle.component.html',
|
|
18
|
-
styleUrls: ['./notification-status-toggle.component.scss'],
|
|
19
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
-
}]
|
|
21
|
-
}], propDecorators: { status: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], statusChanged: [{
|
|
24
|
-
type: Output
|
|
25
|
-
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLXN0YXR1cy10b2dnbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9uLXN0YXR1cy10b2dnbGUvbm90aWZpY2F0aW9uLXN0YXR1cy10b2dnbGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9uLXN0YXR1c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5jb21wb25lbnQuc2NzcyddLFxyXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTm90aWZpY2F0aW9uU3RhdHVzVG9nZ2xlQ29tcG9uZW50IHtcclxuICBASW5wdXQoKSBzdGF0dXMgPSBmYWxzZTtcclxuICBAT3V0cHV0KCkgc3RhdHVzQ2hhbmdlZCA9IG5ldyBFdmVudEVtaXR0ZXI8Ym9vbGVhbj4oKTtcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwibm90aWZpY2F0aW9uLXRvZ2dsZVwiIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIj5cclxuICA8bWF0LXNsaWRlLXRvZ2dsZSBbY2hlY2tlZF09XCJzdGF0dXNcIiAoY2hhbmdlKT1cInN0YXR1c0NoYW5nZWQuZW1pdCgkZXZlbnQpXCI+XHJcbiAgICA8c21hbGwgY2xhc3M9XCJweC0yXCI+e3sgJ25vdGlmaWNhdGlvbnMucmVhZCcgfCB0cmFuc2xhdGUgfX08L3NtYWxsPlxyXG4gIDwvbWF0LXNsaWRlLXRvZ2dsZT5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Inject, Input, Optional, Output, TemplateRef, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { map, switchMap, takeUntil } from 'rxjs/operators';
|
|
4
|
-
import { PANEL_MODE } from '../../constants';
|
|
5
|
-
import { NOTIFICATION_ICON } from '../../directives';
|
|
6
|
-
import { NOTIFICATIONS_LIST_OPTIONS, } from '../../models';
|
|
7
|
-
import { BaseNotification } from '../base-notifications.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../../../../core/services/translation/translation.service";
|
|
10
|
-
import * as i2 from "../../../custom-toastr/services/custom-toastr.service";
|
|
11
|
-
import * as i3 from "@angular/material/menu";
|
|
12
|
-
import * as i4 from "../notifications-list/notifications-list.component";
|
|
13
|
-
import * as i5 from "../notifications-sidebar/notifications-sidebar.component";
|
|
14
|
-
import * as i6 from "@angular/common";
|
|
15
|
-
import * as i7 from "@angular/material/badge";
|
|
16
|
-
import * as i8 from "../notifications-sidebar/notifications-sidebar-content";
|
|
17
|
-
export class NotificationsButtonComponent extends BaseNotification {
|
|
18
|
-
constructor(inject, _translationService, _toasterService, _cdr, _options) {
|
|
19
|
-
super(inject);
|
|
20
|
-
this.inject = inject;
|
|
21
|
-
this._translationService = _translationService;
|
|
22
|
-
this._toasterService = _toasterService;
|
|
23
|
-
this._cdr = _cdr;
|
|
24
|
-
this._getCountSub = new BehaviorSubject(null);
|
|
25
|
-
this._showBadgeSub = new BehaviorSubject(false);
|
|
26
|
-
this.showBadge$ = this._showBadgeSub.asObservable();
|
|
27
|
-
this.isSidebarOpened = false;
|
|
28
|
-
this.styleClass = '';
|
|
29
|
-
this.badgeOptions = {
|
|
30
|
-
size: 'small',
|
|
31
|
-
color: 'warn',
|
|
32
|
-
position: 'before',
|
|
33
|
-
};
|
|
34
|
-
this.direction$ = this._translationService.isArabic$.pipe(map((isArabic) => (isArabic ? 'rtl' : 'ltr')));
|
|
35
|
-
this.sidebarPosition$ = this._translationService.isArabic$.pipe(map((isArabic) => (isArabic ? 'left' : 'right')));
|
|
36
|
-
this.listItemClick = new EventEmitter();
|
|
37
|
-
this.openSettings = new EventEmitter();
|
|
38
|
-
this.openNotifications = new EventEmitter();
|
|
39
|
-
this.onNotification = new EventEmitter();
|
|
40
|
-
this.newNotificationCount$ = this._getCountSub.asObservable();
|
|
41
|
-
this.panelMode = PANEL_MODE.sidebar;
|
|
42
|
-
this.panelModeEnum = PANEL_MODE;
|
|
43
|
-
if (_options === null || _options === void 0 ? void 0 : _options.panelMode) {
|
|
44
|
-
this.panelMode = _options.panelMode;
|
|
45
|
-
}
|
|
46
|
-
this._socketListener();
|
|
47
|
-
this.refreshUnreadCount();
|
|
48
|
-
}
|
|
49
|
-
hideBadgeCount() {
|
|
50
|
-
this._showBadgeSub.next(false);
|
|
51
|
-
}
|
|
52
|
-
markAllAsUnread() {
|
|
53
|
-
this.notificationsService
|
|
54
|
-
.markAllNewAsUnread()
|
|
55
|
-
.pipe(takeUntil(this.destroy$))
|
|
56
|
-
.subscribe((res) => {
|
|
57
|
-
this.refreshUnreadCount();
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
toggleSideBar(value = !this.isSidebarOpened) {
|
|
61
|
-
this.isSidebarOpened = value;
|
|
62
|
-
}
|
|
63
|
-
refreshUnreadCount() {
|
|
64
|
-
this.notificationsService
|
|
65
|
-
.getUnReadCount()
|
|
66
|
-
.pipe(takeUntil(this.destroy$))
|
|
67
|
-
.subscribe((count) => {
|
|
68
|
-
this._showBadgeSub.next(count > 0);
|
|
69
|
-
this._getCountSub.next(count >= 100 ? '99+' : count);
|
|
70
|
-
this._cdr.detectChanges();
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
_socketListener() {
|
|
74
|
-
this.notificationsService.listenerObserver
|
|
75
|
-
.pipe(switchMap((res) => {
|
|
76
|
-
const isAr = this._translationService.isArabic.getValue();
|
|
77
|
-
return this._toasterService
|
|
78
|
-
.showToast({
|
|
79
|
-
type: 'info',
|
|
80
|
-
title: 'notifications.newNotification',
|
|
81
|
-
customContent: isAr ? res.arabicMessage : res.englishMessage,
|
|
82
|
-
})
|
|
83
|
-
.onTap.pipe(map(() => res));
|
|
84
|
-
}), takeUntil(this.destroy$))
|
|
85
|
-
.subscribe((res) => {
|
|
86
|
-
this.refreshUnreadCount();
|
|
87
|
-
if (res === null || res === void 0 ? void 0 : res.clickable) {
|
|
88
|
-
this.onNotification.emit(res);
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
NotificationsButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsButtonComponent, deps: [{ token: i0.Injector }, { token: i1.TranslationService }, { token: i2.CustomToastrService }, { token: i0.ChangeDetectorRef }, { token: NOTIFICATIONS_LIST_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
-
NotificationsButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsButtonComponent, selector: "app-notifications-button", inputs: { styleClass: "styleClass", badgeOptions: "badgeOptions" }, outputs: { listItemClick: "listItemClick", openSettings: "openSettings", openNotifications: "openNotifications", onNotification: "onNotification" }, host: { classAttribute: "inline-flex justify-center items-center notification-button" }, queries: [{ propertyName: "customIconTemplate", first: true, predicate: NOTIFICATION_ICON, descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button\r\n *ngIf=\"panelMode === panelModeEnum.panel\"\r\n [matMenuTriggerFor]=\"notifications\"\r\n [matBadge]=\"newNotificationCount$ | async\"\r\n [matBadgeHidden]=\"!(showBadge$ | async)\"\r\n [matBadgeSize]=\"badgeOptions.size\"\r\n [matBadgeColor]=\"badgeOptions.color\"\r\n [matBadgePosition]=\"badgeOptions.position\"\r\n [class]=\"styleClass\"\r\n (menuOpened)=\"markAllAsUnread()\"\r\n>\r\n <ng-container [ngTemplateOutlet]=\"customIconTemplate || defaultIconTemplate\">\r\n </ng-container>\r\n</button>\r\n\r\n<mat-menu #notifications=\"matMenu\" class=\"notification-list-panel\">\r\n <ng-template matMenuContent>\r\n <app-notifications-list\r\n (itemClicked)=\"listItemClick.emit($event); notifications.closed.emit()\"\r\n (openSettings)=\"openSettings.emit($event); notifications.closed.emit()\"\r\n (openNotifications)=\"openNotifications.emit($event); notifications.closed.emit()\"\r\n (markAllRead)=\"refreshUnreadCount()\"\r\n ></app-notifications-list>\r\n </ng-template>\r\n <div class=\"notification-list-panel__footer flex justify-center\">\r\n <ng-content select=\"[notifications-footer]\"></ng-content>\r\n </div>\r\n</mat-menu>\r\n\r\n<ng-container *ngIf=\"panelMode === panelModeEnum.sidebar\">\r\n <button\r\n [matBadge]=\"newNotificationCount$ | async\"\r\n [matBadgeHidden]=\"!(showBadge$ | async)\"\r\n [matBadgeSize]=\"badgeOptions.size\"\r\n [matBadgeColor]=\"badgeOptions.color\"\r\n [matBadgePosition]=\"badgeOptions.position\"\r\n [class]=\"styleClass\"\r\n (click)=\"toggleSideBar(); markAllAsUnread()\"\r\n >\r\n <ng-container [ngTemplateOutlet]=\"customIconTemplate || defaultIconTemplate\">\r\n </ng-container>\r\n </button>\r\n <app-notifications-sidebar\r\n [(visible)]=\"isSidebarOpened\"\r\n (visibleChange)=\"refreshUnreadCount()\"\r\n [position]=\"sidebarPosition$ | async\"\r\n >\r\n <ng-template appNotificationSidebarContent>\r\n <app-notifications-list\r\n class=\"notifications-sidebar\"\r\n (itemClicked)=\"\r\n listItemClick.emit($event); toggleSideBar(false); refreshUnreadCount()\r\n \"\r\n (openSettings)=\"openSettings.emit($event); toggleSideBar(false)\"\r\n (openNotifications)=\"openNotifications.emit($event); toggleSideBar(false)\"\r\n (markAllRead)=\"refreshUnreadCount()\"\r\n ></app-notifications-list>\r\n </ng-template>\r\n </app-notifications-sidebar>\r\n</ng-container>\r\n\r\n<ng-template #defaultIconTemplate>\r\n <i class=\"bi bi-bell bell\"></i>\r\n</ng-template>\r\n", styles: [".notification-button{font-size:var(--not-btn-font-size, 1.5rem);width:var(--not-btn-width, 40px)}.notification-list-panel{--width: var(--nos-panel-width, min(80vw, 450px));width:var(--width);border-radius:var(--nos-panel-radius, 5px);overflow:hidden;-webkit-overflow-scrolling:touch;outline:0;background:var(--nos-panel-background, #fff)}.notification-list-panel.mat-menu-panel{max-width:var(--width);max-height:var(--nos-panel-max-height, var(--height))}.notification-list-panel__navigate-btn{background:var(--not-btn-background, transparent);border-radius:var(--not-btn-radius, 5px);padding:var(--not-btn-padding, .5rem 1rem);margin:var(--not-btn-margin, .5rem 0);color:var(--not-btn-color, currentColor);width:var(--not-btn-width, 90%)}.notification-list-panel__navigate-btn:hover{--not-btn-background: var(--not-btn-hover-background, #f0f0f0);--not-btn-color: var(--not-btn-hover-color);-webkit-text-decoration:var(--not-btn-decoration, none);text-decoration:var(--not-btn-decoration, none)}.notification-list-panel__navigate-btn:active{--not-btn-background: var(--not-btn-active-background, #e2e2e2);--not-btn-color: var(--not-btn-active-color)}.notifications-sidebar{--nto-list-header-padding: var(--sidebar-list-header-padding , 1rem);--nto-list-height: var(--sidebar-list-height , calc(100vh - 100px))}\n"], components: [{ type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i4.NotificationsListComponent, selector: "app-notifications-list", outputs: ["openSettings", "openNotifications"] }, { type: i5.NotificationsSidebarComponent, selector: "app-notifications-sidebar", inputs: ["appendToBody", "clearOnCLose", "visible", "position"], outputs: ["visibleChange", "onShow", "onHide"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i7.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgePosition", "matBadgeSize", "matBadgeColor", "matBadgeOverlap", "matBadgeDescription", "matBadgeHidden", "matBadge"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.MatMenuContent, selector: "ng-template[matMenuContent]" }, { type: i8.NotificationSidebarContentDirective, selector: "[appNotificationSidebarContent]" }], pipes: { "async": i6.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsButtonComponent, decorators: [{
|
|
96
|
-
type: Component,
|
|
97
|
-
args: [{
|
|
98
|
-
selector: 'app-notifications-button',
|
|
99
|
-
templateUrl: './notifications-button.component.html',
|
|
100
|
-
styleUrls: ['./notifications-button.component.scss'],
|
|
101
|
-
encapsulation: ViewEncapsulation.None,
|
|
102
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
103
|
-
host: {
|
|
104
|
-
class: 'inline-flex justify-center items-center notification-button',
|
|
105
|
-
},
|
|
106
|
-
}]
|
|
107
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.TranslationService }, { type: i2.CustomToastrService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
108
|
-
type: Optional
|
|
109
|
-
}, {
|
|
110
|
-
type: Inject,
|
|
111
|
-
args: [NOTIFICATIONS_LIST_OPTIONS]
|
|
112
|
-
}] }]; }, propDecorators: { styleClass: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], badgeOptions: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], listItemClick: [{
|
|
117
|
-
type: Output
|
|
118
|
-
}], openSettings: [{
|
|
119
|
-
type: Output
|
|
120
|
-
}], openNotifications: [{
|
|
121
|
-
type: Output
|
|
122
|
-
}], onNotification: [{
|
|
123
|
-
type: Output
|
|
124
|
-
}], customIconTemplate: [{
|
|
125
|
-
type: ContentChild,
|
|
126
|
-
args: [NOTIFICATION_ICON, { read: TemplateRef, static: true }]
|
|
127
|
-
}] } });
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHM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
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import * as moment from 'moment';
|
|
3
|
-
import { map } from 'rxjs/operators';
|
|
4
|
-
import { TranslationService } from '../../../../core/services/translation/translation.service';
|
|
5
|
-
import { FILTER_DATES_TYPE } from '../../constants';
|
|
6
|
-
import { BaseNotification } from '../base-notifications.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/material/button";
|
|
9
|
-
import * as i2 from "@angular/material/menu";
|
|
10
|
-
import * as i3 from "@angular/cdk/bidi";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "@ngx-translate/core";
|
|
13
|
-
export class NotificationsDateSelectComponent extends BaseNotification {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this._translationService = this.inject.get(TranslationService);
|
|
17
|
-
this.direction$ = this._translationService.isArabic$.pipe(map((isArabic) => (isArabic ? 'rtl' : 'ltr')));
|
|
18
|
-
this.dateChanged = new EventEmitter();
|
|
19
|
-
this.dates = this._prepareDateList();
|
|
20
|
-
}
|
|
21
|
-
_prepareDateList() {
|
|
22
|
-
return Object.entries(FILTER_DATES_TYPE).map(([key, value]) => ({ key, value }));
|
|
23
|
-
}
|
|
24
|
-
selectDate(date) {
|
|
25
|
-
this.selectedDate = date;
|
|
26
|
-
moment.locale('en');
|
|
27
|
-
this.dateChanged.emit(date
|
|
28
|
-
? {
|
|
29
|
-
min: this._getMinDate(date.key),
|
|
30
|
-
max: moment().format(),
|
|
31
|
-
}
|
|
32
|
-
: null);
|
|
33
|
-
}
|
|
34
|
-
_getMinDate(date) {
|
|
35
|
-
if (!date) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const dates = {
|
|
39
|
-
lastDay: [1, 'days'],
|
|
40
|
-
lastWeek: [1, 'weeks'],
|
|
41
|
-
lastMonth: [1, 'months'],
|
|
42
|
-
lastHalfYear: [6, 'months'],
|
|
43
|
-
lastYear: [1, 'years'],
|
|
44
|
-
};
|
|
45
|
-
const [amount, unit] = dates[date];
|
|
46
|
-
return moment().subtract(amount, unit).startOf('day').format();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
NotificationsDateSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsDateSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
NotificationsDateSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsDateSelectComponent, selector: "app-notifications-date-select", outputs: { dateChanged: "dateChanged" }, usesInheritance: true, ngImport: i0, template: "<span [dir]=\"direction$ | async\">\r\n <button\r\n (click)=\"$event.stopPropagation()\"\r\n class=\"date-select-button\"\r\n mat-stroked-button\r\n [matMenuTriggerFor]=\"datesMenu\"\r\n #filterTypeMenuTrigger=\"matMenuTrigger\"\r\n >\r\n <span>\r\n {{\r\n (selectedDate\r\n ? 'notifications.dates.' + selectedDate.key\r\n : 'notifications.dates.all'\r\n ) | translate\r\n }}\r\n </span>\r\n <span class=\"icon icon-chevron-down\"></span>\r\n </button>\r\n <mat-menu class=\"dates-select-menu\" #datesMenu=\"matMenu\">\r\n <span (click)=\"$event.stopPropagation()\">\r\n <button\r\n mat-menu-item\r\n class=\"dates-select-menu__option\"\r\n (click)=\"selectDate(null); datesMenu.closed.emit()\"\r\n >\r\n <span>{{ 'notifications.dates.all' | translate }}</span>\r\n </button>\r\n <button\r\n mat-menu-item\r\n *ngFor=\"let date of dates\"\r\n class=\"dates-select-menu__option\"\r\n (click)=\"selectDate(date); datesMenu.closed.emit()\"\r\n >\r\n <span>{{ 'notifications.dates.' + date.key | translate }}</span>\r\n </button>\r\n </span>\r\n </mat-menu>\r\n</span>\r\n", styles: [".dates-select-menu{box-shadow:var(--dates-select-menu-shadow, 0px 1px 4px -1px rgba(28, 52, 84, .26))}.dates-select-menu .mat-menu-content:not(:empty){padding:var(--dates-select-menu-padding, .5rem)}.dates-select-menu__option{background:var(--dates-select-option-background, transparent)!important;border-radius:var(--dates-select-option-radius, 4px);font-size:var(--dates-select-option-size, 14px);color:var(--dates-select-option-color, #28282d);height:var(--dates-select-option-height, 38px);line-height:var(--dates-select-option-line-height, 38px)}.dates-select-menu__option:hover{--dates-select-option-background: var(--dates-select-option-hover-background, #e6f7ff);--dates-select-option-color: var(--dates-select-option-hover-color, #005fdb)}.dates-select-menu__option .mat-icon{color:currentColor}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i3.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "translate": i5.TranslatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsDateSelectComponent, decorators: [{
|
|
52
|
-
type: Component,
|
|
53
|
-
args: [{
|
|
54
|
-
selector: 'app-notifications-date-select',
|
|
55
|
-
templateUrl: './notifications-date-select.component.html',
|
|
56
|
-
styleUrls: ['./notifications-date-select.component.scss'],
|
|
57
|
-
encapsulation: ViewEncapsulation.None,
|
|
58
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
-
}]
|
|
60
|
-
}], propDecorators: { dateChanged: [{
|
|
61
|
-
type: Output
|
|
62
|
-
}] } });
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1kYXRlLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvY29tcG9uZW50cy9ub3RpZmljYXRpb25zLWRhdGUtc2VsZWN0L25vdGlmaWNhdGlvbnMtZGF0ZS1zZWxlY3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy1kYXRlLXNlbGVjdC9ub3RpZmljYXRpb25zLWRhdGUtc2VsZWN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sS0FBSyxNQUFNLE1BQU0sUUFBUSxDQUFDO0FBQ2pDLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ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ICAgICAgICAoY2xpY2spPVwic2VsZWN0RGF0ZShudWxsKTsgZGF0ZXNNZW51LmNsb3NlZC5lbWl0KClcIlxyXG4gICAgICA+XHJcbiAgICAgICAgPHNwYW4+e3sgJ25vdGlmaWNhdGlvbnMuZGF0ZXMuYWxsJyB8IHRyYW5zbGF0ZSB9fTwvc3Bhbj5cclxuICAgICAgPC9idXR0b24+XHJcbiAgICAgIDxidXR0b25cclxuICAgICAgICBtYXQtbWVudS1pdGVtXHJcbiAgICAgICAgKm5nRm9yPVwibGV0IGRhdGUgb2YgZGF0ZXNcIlxyXG4gICAgICAgIGNsYXNzPVwiZGF0ZXMtc2VsZWN0LW1lbnVfX29wdGlvblwiXHJcbiAgICAgICAgKGNsaWNrKT1cInNlbGVjdERhdGUoZGF0ZSk7IGRhdGVzTWVudS5jbG9zZWQuZW1pdCgpXCJcclxuICAgICAgPlxyXG4gICAgICAgIDxzcGFuPnt7ICdub3RpZmljYXRpb25zLmRhdGVzLicgKyBkYXRlLmtleSB8IHRyYW5zbGF0ZSB9fTwvc3Bhbj5cclxuICAgICAgPC9idXR0b24+XHJcbiAgICA8L3NwYW4+XHJcbiAgPC9tYXQtbWVudT5cclxuPC9zcGFuPlxyXG4iXX0=
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Optional, Output, } from '@angular/core';
|
|
2
|
-
import _ from 'lodash';
|
|
3
|
-
import { NOTIFICATION_STATUS } from '../../constants';
|
|
4
|
-
import { NOTIFICATIONS_LIST_OPTIONS, } from '../../models';
|
|
5
|
-
import { ParamsService } from '../../services/params.service';
|
|
6
|
-
import { ResponseService } from '../../services/response.service';
|
|
7
|
-
import { BaseListNotifications } from '../base-list-notfications.component';
|
|
8
|
-
import { DEFAULT_LIST_OPTIONS } from './options';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../notification-source-select/notification-source-select.component";
|
|
11
|
-
import * as i2 from "../notifications-date-select/notifications-date-select.component";
|
|
12
|
-
import * as i3 from "../notification-status-toggle/notification-status-toggle.component";
|
|
13
|
-
import * as i4 from "../notifications-list-actions/notifications-list-actions.component";
|
|
14
|
-
import * as i5 from "../notification-item/notification-item.component";
|
|
15
|
-
import * as i6 from "@angular/material/progress-spinner";
|
|
16
|
-
import * as i7 from "@angular/material/menu";
|
|
17
|
-
import * as i8 from "@angular/common";
|
|
18
|
-
import * as i9 from "ngx-infinite-scroll";
|
|
19
|
-
import * as i10 from "@ngx-translate/core";
|
|
20
|
-
export class NotificationsListComponent extends BaseListNotifications {
|
|
21
|
-
constructor(inject, _options) {
|
|
22
|
-
super(inject);
|
|
23
|
-
this.inject = inject;
|
|
24
|
-
this.openSettings = new EventEmitter();
|
|
25
|
-
this.openNotifications = new EventEmitter();
|
|
26
|
-
this.options = _.merge(DEFAULT_LIST_OPTIONS, _options ? _options : {});
|
|
27
|
-
this._paramsService.setDefaultParams({
|
|
28
|
-
pageSize: this.options.pageSize || 20,
|
|
29
|
-
sortBy: 'dc:created',
|
|
30
|
-
sortOrder: 'desc',
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
ngOnInit() {
|
|
34
|
-
this._prepareLanguage();
|
|
35
|
-
this._prepareData();
|
|
36
|
-
this._paramsService.applyParams();
|
|
37
|
-
}
|
|
38
|
-
typeChanged(event) {
|
|
39
|
-
this._applyFilter(Object.assign({ currentPageIndex: 0 }, (event ? { notf_notification_sourceTypee: event } : {})));
|
|
40
|
-
}
|
|
41
|
-
statusChanged({ checked }) {
|
|
42
|
-
this._applyFilter(Object.assign({ currentPageIndex: 0 }, (checked ? { notfnotificationcontent_status: NOTIFICATION_STATUS.read } : {})));
|
|
43
|
-
}
|
|
44
|
-
dateChanged(date) {
|
|
45
|
-
this._applyFilter(Object.assign({ currentPageIndex: 0 }, (date ? { dublincore_created_agg: [date] } : {})));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
NotificationsListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsListComponent, deps: [{ token: i0.Injector }, { token: NOTIFICATIONS_LIST_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
-
NotificationsListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NotificationsListComponent, selector: "app-notifications-list", outputs: { openSettings: "openSettings", openNotifications: "openNotifications" }, providers: [ParamsService, ResponseService], usesInheritance: true, ngImport: i0, template: "<div class=\"notifications-list\">\r\n <div class=\"notifications-list__header\">\r\n <span *ngIf=\"options.title\">\r\n <strong class=\"notifications-list__title\">{{ options.title | translate }}</strong>\r\n </span>\r\n <div class=\"notifications-list__actions\">\r\n <ng-container *ngIf=\"options?.filters?.active\">\r\n <app-notification-source-select\r\n *ngIf=\"options?.filters?.type\"\r\n\r\n (typeChanged)=\"typeChanged($event)\"\r\n ></app-notification-source-select>\r\n <app-notifications-date-select\r\n *ngIf=\"options?.filters?.date\"\r\n\r\n (dateChanged)=\"dateChanged($event)\"\r\n ></app-notifications-date-select>\r\n <app-notification-status-toggle\r\n *ngIf=\"options?.filters?.state\"\r\n (statusChanged)=\"statusChanged($event)\"\r\n ></app-notification-status-toggle>\r\n </ng-container>\r\n\r\n <app-notifications-list-actions\r\n [options]=\"options.actions\"\r\n [direction]=\"direction$ | async\"\r\n (markAllAsRead)=\"markAllAsRead($event)\"\r\n (openNotifications)=\"openNotifications.emit($event)\"\r\n (openSettings)=\"openSettings.emit($event)\"\r\n ></app-notifications-list-actions>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"response$ | async as response; else loading\"\r\n class=\"notifications-list__body\"\r\n infiniteScroll\r\n [scrollWindow]=\"false\"\r\n [infiniteScrollDistance]=\"options.scroll?.distance || 2\"\r\n [infiniteScrollThrottle]=\"options.scroll?.throttle || 300\"\r\n (scrolled)=\"onScrollDown()\"\r\n >\r\n <ng-container *ngIf=\"response.data?.length; else noData\">\r\n <app-notification-item\r\n *ngFor=\"let item of response.data; trackBy: trackByFn\"\r\n [iconOptions]=\"options?.icons\"\r\n [notification]=\"item\"\r\n [currentLang]=\"currentLang\"\r\n [class.cursor-pointer]=\"item.properties?.['notf_nt:isClickable']\"\r\n (click)=\"onItemClick(item)\"\r\n (markAsUnread)=\"markAsUnread(item)\"\r\n (markAsRead)=\"markAsRead(item)\"\r\n (markAsDeleted)=\"markAsDeleted(item)\"\r\n ></app-notification-item>\r\n </ng-container>\r\n <mat-spinner\r\n *ngIf=\"isLoadingResult\"\r\n class=\"notifications-list__loader mt-2 mx-auto\"\r\n [diameter]=\"48\"\r\n ></mat-spinner>\r\n </div>\r\n</div>\r\n\r\n<ng-template #filters>\r\n <button\r\n (click)=\"$event.stopPropagation()\"\r\n class=\"type-filter-trigger\"\r\n [matMenuTriggerFor]=\"filterTypeMenu\"\r\n #filterTypeMenuTrigger=\"matMenuTrigger\"\r\n >\r\n {{ 'notifications.all' | translate }}\r\n <span class=\"icon icon-chevron-down\"></span>\r\n </button>\r\n <mat-menu class=\"new-menu-design\" #filterTypeMenu=\"matMenu\">\r\n <div (click)=\"$event.stopPropagation()\">\r\n <div class=\"single-menu-action notification-filter-menu-item\">\r\n {{ 'notifications.' + type.name | translate }}\r\n </div>\r\n </div>\r\n </mat-menu>\r\n</ng-template>\r\n\r\n<ng-template #noData>\r\n <div class=\"no-notifications text-center p-3\">\r\n <p>\r\n {{ 'notifications.noNotifications' | translate }}\r\n </p>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #loading>\r\n <div class=\"no-notifications text-center p-3\">\r\n <p>{{ 'notifications.loading_notification' | translate }}</p>\r\n </div>\r\n</ng-template>\r\n", styles: [".notifications-list{padding:var(--nto-list-padding, 0)}.notifications-list__header{padding:var(--nto-list-header-padding, .5rem);display:var(--nto-list-header-display, flex);justify-content:var(--nto-list-header-justify, space-between);align-items:var(--nto-list-header-align-items, center);box-sizing:border-box;background:var(--nto-list-header-background, transparent);color:var(--nto-list-header-color, currentColor)}.notifications-list__title{color:var(--nto-list-title-color, #234990);font-size:var(--nto-list-title-size, 1rem);font-weight:var(--nto-list-title-weight, 600)}.notifications-list__actions{display:var(--nto-container-filters-display, flex);grid-gap:var(--nto-container-filters-gap, .5rem);gap:var(--nto-container-filters-gap, .5rem)}.notifications-list__loader{display:grid;place-items:center}.notifications-list__body{height:var(--nto-list-height, 60vh);overflow-y:auto}.no-notifications{color:var(--no-notifications-color, #b4bac6);font-size:var(--no-notifications-size, 1rem)}\n"], components: [{ type: i1.NotificationSourceSelectComponent, selector: "app-notification-source-select", outputs: ["typeChanged"] }, { type: i2.NotificationsDateSelectComponent, selector: "app-notifications-date-select", outputs: ["dateChanged"] }, { type: i3.NotificationStatusToggleComponent, selector: "app-notification-status-toggle", inputs: ["status"], outputs: ["statusChanged"] }, { type: i4.NotificationsListActionsComponent, selector: "app-notifications-list-actions", inputs: ["options", "direction"], outputs: ["markAllAsRead", "openSettings", "openNotifications"] }, { type: i5.NotificationItemComponent, selector: "app-notification-item", inputs: ["iconOptions", "currentLang", "notification"], outputs: ["markAsUnread", "markAsRead", "markAsDeleted"] }, { type: i6.MatSpinner, selector: "mat-spinner", inputs: ["color"] }, { type: i7.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], pipes: { "translate": i10.TranslatePipe, "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NotificationsListComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{
|
|
53
|
-
selector: 'app-notifications-list',
|
|
54
|
-
templateUrl: './notifications-list.component.html',
|
|
55
|
-
styleUrls: ['./notifications-list.component.scss'],
|
|
56
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
57
|
-
providers: [ParamsService, ResponseService],
|
|
58
|
-
}]
|
|
59
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
60
|
-
type: Optional
|
|
61
|
-
}, {
|
|
62
|
-
type: Inject,
|
|
63
|
-
args: [NOTIFICATIONS_LIST_OPTIONS]
|
|
64
|
-
}] }]; }, propDecorators: { openSettings: [{
|
|
65
|
-
type: Output
|
|
66
|
-
}], openNotifications: [{
|
|
67
|
-
type: Output
|
|
68
|
-
}] } });
|
|
69
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMtbGlzdC9ub3RpZmljYXRpb25zLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vL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R5cGVNZW51PVwibWF0TWVudVwiPlxyXG4gICAgPGRpdiAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCI+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJzaW5nbGUtbWVudS1hY3Rpb24gbm90aWZpY2F0aW9uLWZpbHRlci1tZW51LWl0ZW1cIj5cclxuICAgICAgICB7eyAnbm90aWZpY2F0aW9ucy4nICsgdHlwZS5uYW1lIHwgdHJhbnNsYXRlIH19XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgPC9tYXQtbWVudT5cclxuPC9uZy10ZW1wbGF0ZT5cclxuXHJcbjxuZy10ZW1wbGF0ZSAjbm9EYXRhPlxyXG4gIDxkaXYgY2xhc3M9XCJuby1ub3RpZmljYXRpb25zIHRleHQtY2VudGVyIHAtM1wiPlxyXG4gICAgPHA+XHJcbiAgICAgIHt7ICdub3RpZmljYXRpb25zLm5vTm90aWZpY2F0aW9ucycgfCB0cmFuc2xhdGUgfX1cclxuICAgIDwvcD5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuXHJcbjxuZy10ZW1wbGF0ZSAjbG9hZGluZz5cclxuICA8ZGl2IGNsYXNzPVwibm8tbm90aWZpY2F0aW9ucyB0ZXh0LWNlbnRlciBwLTNcIj5cclxuICAgIDxwPnt7ICdub3RpZmljYXRpb25zLmxvYWRpbmdfbm90aWZpY2F0aW9uJyB8IHRyYW5zbGF0ZSB9fTwvcD5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PAGINATION_MODE, PANEL_MODE } from '../../constants';
|
|
2
|
-
export const DEFAULT_LIST_OPTIONS = {
|
|
3
|
-
title: 'notifications.notifications',
|
|
4
|
-
pageSize: 20,
|
|
5
|
-
panelMode: PANEL_MODE.sidebar,
|
|
6
|
-
paginationMode: PAGINATION_MODE.scroll,
|
|
7
|
-
filters: {
|
|
8
|
-
active: true,
|
|
9
|
-
state: false,
|
|
10
|
-
date: false,
|
|
11
|
-
type: true,
|
|
12
|
-
},
|
|
13
|
-
actions: {
|
|
14
|
-
active: true,
|
|
15
|
-
openNotification: true,
|
|
16
|
-
openSetting: true,
|
|
17
|
-
updateState: true,
|
|
18
|
-
},
|
|
19
|
-
scroll: {
|
|
20
|
-
distance: 2,
|
|
21
|
-
throttle: 300,
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMtbGlzdC9vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsVUFBVSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFHOUQsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQTZCO0lBQzVELEtBQUssRUFBRSw2QkFBNkI7SUFDcEMsUUFBUSxFQUFFLEVBQUU7SUFDWixTQUFTLEVBQUUsVUFBVSxDQUFDLE9BQU87SUFDN0IsY0FBYyxFQUFHLGVBQWUsQ0FBQyxNQUFNO0lBQ3ZDLE9BQU8sRUFBRTtRQUNQLE1BQU0sRUFBRSxJQUFJO1FBQ1osS0FBSyxFQUFFLEtBQUs7UUFDWixJQUFJLEVBQUUsS0FBSztRQUNYLElBQUksRUFBRSxJQUFJO0tBQ1g7SUFDRCxPQUFPLEVBQUU7UUFDUCxNQUFNLEVBQUUsSUFBSTtRQUNaLGdCQUFnQixFQUFFLElBQUk7UUF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