nuxeo-development-framework 3.7.8 → 3.7.9-dms-mep
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 +64 -71
- package/src/lib/Core/adapters/adapter.service.ts +46 -0
- package/src/lib/Core/core.module.ts +65 -0
- package/src/lib/Core/enums/language.enum.ts +4 -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 +172 -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/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 +32 -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 +70 -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 +80 -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 +62 -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 +151 -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 +111 -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 +80 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +0 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +91 -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 +43 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +91 -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 +86 -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 +56 -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 +162 -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 +244 -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 +509 -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 +66 -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 +194 -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 +100 -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 +132 -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 +293 -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 +99 -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 +353 -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 +73 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +364 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +246 -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 +195 -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 +11 -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 +19 -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 +34 -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 +139 -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 +24 -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 +129 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +32 -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 +85 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +139 -0
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +30 -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 +589 -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 +80 -0
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +87 -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 +124 -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 +24 -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 +114 -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 +28 -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 +82 -0
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +336 -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 +337 -0
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +159 -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 +288 -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/file-manager.abstract.ts +1351 -0
- package/src/lib/components/file-manger/file-manger.module.ts +154 -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 +81 -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 +27 -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 +73 -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 +82 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +40 -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 +24 -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/notification-item/notification-item.component.html +46 -0
- package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +60 -0
- package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +146 -0
- package/src/lib/components/notifications/components/notification-options/notification-options.component.html +7 -0
- package/src/lib/components/notifications/components/notification-options/notification-options.component.scss +7 -0
- package/src/lib/components/notifications/components/notification-options/notification-options.component.ts +16 -0
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.html +66 -0
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.scss +62 -0
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.spec.ts +25 -0
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.ts +55 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +11 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +90 -0
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +192 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +58 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +108 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +161 -0
- package/src/lib/components/notifications/interceptors/token.interceptor.ts +37 -0
- package/src/lib/components/notifications/notifications.module.ts +67 -0
- package/src/lib/components/notifications/notifications.service.ts +316 -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 +797 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +236 -0
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +139 -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 +199 -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 +39 -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/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 +9 -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 +25 -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 +55 -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 +213 -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/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 +31 -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/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/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-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 +1078 -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 +50 -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 +278 -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 -30640
- package/bundles/nuxeo-development-framework.umd.js.map +0 -1
- package/esm2015/lib/Core/adapters/adapter.service.js +0 -50
- package/esm2015/lib/Core/core.module.js +0 -107
- package/esm2015/lib/Core/enums/language.enum.js +0 -6
- package/esm2015/lib/Core/models/component.model.js +0 -8
- 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 -153
- package/esm2015/lib/Core/utilities/moment-date-adapter.js +0 -178
- package/esm2015/lib/Core/utilities/utility.service.js +0 -81
- 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 -86
- 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 -147
- 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 -110
- 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 -95
- 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 -66
- 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 -41
- 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 -156
- 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 -252
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +0 -974
- 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 -477
- 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 -188
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +0 -43
- 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 -130
- 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 -230
- 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 -326
- 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 -68
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +0 -328
- 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 -303
- 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 -339
- 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 -34
- 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 -132
- 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 -121
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +0 -91
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +0 -488
- 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 -129
- 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 -110
- 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 -314
- 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/file-manager.abstract.js +0 -1040
- package/esm2015/lib/components/file-manger/file-manger.module.js +0 -295
- 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 -75
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +0 -73
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +0 -34
- 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/notification-item/notification-item.component.js +0 -143
- package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +0 -22
- package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +0 -57
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +0 -181
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +0 -191
- package/esm2015/lib/components/notifications/notifications.module.js +0 -113
- package/esm2015/lib/components/notifications/notifications.service.js +0 -358
- 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 -239
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +0 -178
- 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 -71
- package/esm2015/lib/components/select/select/select.component.js +0 -130
- package/esm2015/lib/components/select/select.module.js +0 -37
- 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/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 -33
- 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/vocabulary/vocabulary.component.js +0 -106
- package/esm2015/lib/components/vocabulary/vocabulary.module.js +0 -34
- package/esm2015/lib/configuration/app-config.service.js +0 -30
- package/esm2015/lib/configuration/helpers/app-initializer.js +0 -4
- 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 -50
- 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/button/button.component.js +0 -90
- 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/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-services/dialog-mangment.service.js +0 -61
- 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 -794
- package/esm2015/lib/shared-services/global-admin.service.js +0 -22
- package/esm2015/lib/shared-services/global-pdftron.service.js +0 -46
- 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 -239
- package/fesm2015/nuxeo-development-framework.js +0 -28579
- package/fesm2015/nuxeo-development-framework.js.map +0 -1
- package/lib/Core/adapters/adapter.service.d.ts +0 -11
- package/lib/Core/core.module.d.ts +0 -14
- package/lib/Core/enums/language.enum.d.ts +0 -4
- 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 -80
- package/lib/Core/utilities/moment-date-adapter.d.ts +0 -37
- package/lib/Core/utilities/utility.service.d.ts +0 -11
- 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 -47
- 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 -20
- 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 -18
- 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 -54
- 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 -69
- 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 -12
- 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 -31
- 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 -88
- 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 -19
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +0 -110
- 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 -67
- 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 -101
- 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 -12
- 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 -31
- 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 -33
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +0 -24
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +0 -110
- 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 -59
- 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 -33
- 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 -95
- 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/file-manager.abstract.d.ts +0 -173
- package/lib/components/file-manger/file-manger.module.d.ts +0 -59
- 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 -21
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +0 -13
- package/lib/components/latest-activity/constants/activitylog.d.ts +0 -82
- 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/notification-item/notification-item.component.d.ts +0 -25
- package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +0 -10
- package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +0 -19
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +0 -32
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +0 -57
- package/lib/components/notifications/notifications.module.d.ts +0 -25
- package/lib/components/notifications/notifications.service.d.ts +0 -87
- 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 -44
- 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 -21
- 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/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 -12
- 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 -16
- package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +0 -37
- package/lib/components/vocabulary/vocabulary.module.d.ts +0 -11
- package/lib/configuration/app-config.service.d.ts +0 -14
- package/lib/configuration/helpers/app-initializer.d.ts +0 -2
- 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 -13
- 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/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/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-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 -94
- package/lib/shared-services/global-admin.service.d.ts +0 -11
- package/lib/shared-services/global-pdftron.service.d.ts +0 -10
- 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 -226
- /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
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { CommonModule, DatePipe } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
5
|
-
import { NotificationItemComponent } from './components/notification-item/notification-item.component';
|
|
6
|
-
import { NotificationOptionsComponent } from './components/notification-options/notification-options.component';
|
|
7
|
-
import { NotificationsButtonComponent } from './components/notifications-button/notifications-button.component';
|
|
8
|
-
import { NotificationsListComponent } from './components/notifications-list/notifications-list.component';
|
|
9
|
-
import { NotificationsService } from './notifications.service';
|
|
10
|
-
import { MatListModule } from '@angular/material/list';
|
|
11
|
-
import { MatMenuModule } from '@angular/material/menu';
|
|
12
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
14
|
-
import { MatProgressSpinnerModule, } from '@angular/material/progress-spinner';
|
|
15
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { MatBadgeModule } from '@angular/material/badge';
|
|
17
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
18
|
-
import { NotificationToastComponent } from './components/notification-toast/notification-toast.component';
|
|
19
|
-
import { PipesModule } from '../../pipes/pipes.module';
|
|
20
|
-
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
/** @ignore */
|
|
23
|
-
export class NotificationsModule {
|
|
24
|
-
}
|
|
25
|
-
NotificationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
-
NotificationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, declarations: [NotificationsListComponent,
|
|
27
|
-
NotificationsButtonComponent,
|
|
28
|
-
NotificationItemComponent,
|
|
29
|
-
NotificationOptionsComponent,
|
|
30
|
-
NotificationToastComponent], imports: [CommonModule,
|
|
31
|
-
RouterModule,
|
|
32
|
-
InfiniteScrollModule,
|
|
33
|
-
MatListModule,
|
|
34
|
-
PipesModule,
|
|
35
|
-
MatMenuModule,
|
|
36
|
-
MatIconModule,
|
|
37
|
-
TranslateModule,
|
|
38
|
-
MatProgressSpinnerModule,
|
|
39
|
-
MatTooltipModule,
|
|
40
|
-
InfiniteScrollModule,
|
|
41
|
-
MatBadgeModule,
|
|
42
|
-
TranslateModule,
|
|
43
|
-
MatToolbarModule,
|
|
44
|
-
MatSlideToggleModule], exports: [NotificationsListComponent,
|
|
45
|
-
NotificationsButtonComponent,
|
|
46
|
-
NotificationItemComponent,
|
|
47
|
-
NotificationOptionsComponent] });
|
|
48
|
-
NotificationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, providers: [
|
|
49
|
-
DatePipe,
|
|
50
|
-
NotificationsService,
|
|
51
|
-
], imports: [[
|
|
52
|
-
CommonModule,
|
|
53
|
-
RouterModule,
|
|
54
|
-
InfiniteScrollModule,
|
|
55
|
-
MatListModule,
|
|
56
|
-
PipesModule,
|
|
57
|
-
MatMenuModule,
|
|
58
|
-
MatIconModule,
|
|
59
|
-
TranslateModule,
|
|
60
|
-
MatProgressSpinnerModule,
|
|
61
|
-
MatTooltipModule,
|
|
62
|
-
InfiniteScrollModule,
|
|
63
|
-
MatBadgeModule,
|
|
64
|
-
TranslateModule,
|
|
65
|
-
MatToolbarModule,
|
|
66
|
-
MatSlideToggleModule
|
|
67
|
-
]] });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, decorators: [{
|
|
69
|
-
type: NgModule,
|
|
70
|
-
args: [{
|
|
71
|
-
imports: [
|
|
72
|
-
CommonModule,
|
|
73
|
-
RouterModule,
|
|
74
|
-
InfiniteScrollModule,
|
|
75
|
-
MatListModule,
|
|
76
|
-
PipesModule,
|
|
77
|
-
MatMenuModule,
|
|
78
|
-
MatIconModule,
|
|
79
|
-
TranslateModule,
|
|
80
|
-
MatProgressSpinnerModule,
|
|
81
|
-
MatTooltipModule,
|
|
82
|
-
InfiniteScrollModule,
|
|
83
|
-
MatBadgeModule,
|
|
84
|
-
TranslateModule,
|
|
85
|
-
MatToolbarModule,
|
|
86
|
-
MatSlideToggleModule
|
|
87
|
-
],
|
|
88
|
-
declarations: [
|
|
89
|
-
NotificationsListComponent,
|
|
90
|
-
NotificationsButtonComponent,
|
|
91
|
-
NotificationItemComponent,
|
|
92
|
-
NotificationOptionsComponent,
|
|
93
|
-
NotificationToastComponent,
|
|
94
|
-
],
|
|
95
|
-
exports: [
|
|
96
|
-
NotificationsListComponent,
|
|
97
|
-
NotificationsButtonComponent,
|
|
98
|
-
NotificationItemComponent,
|
|
99
|
-
NotificationOptionsComponent,
|
|
100
|
-
],
|
|
101
|
-
providers: [
|
|
102
|
-
DatePipe,
|
|
103
|
-
NotificationsService,
|
|
104
|
-
],
|
|
105
|
-
entryComponents: [
|
|
106
|
-
NotificationsListComponent,
|
|
107
|
-
NotificationsButtonComponent,
|
|
108
|
-
NotificationItemComponent,
|
|
109
|
-
NotificationOptionsComponent,
|
|
110
|
-
],
|
|
111
|
-
}]
|
|
112
|
-
}] });
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvbm90aWZpY2F0aW9ucy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0REFBNEQsQ0FBQztBQUN2RyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQztBQUNoSCxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQztBQUNoSCxPQUFPLEVBQ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AgTm90aWZpY2F0aW9uc0J1dHRvbkNvbXBvbmVudCxcclxuICAgIE5vdGlmaWNhdGlvbkl0ZW1Db21wb25lbnQsXHJcbiAgICBOb3RpZmljYXRpb25PcHRpb25zQ29tcG9uZW50LFxyXG4gIF0sXHJcbiAgcHJvdmlkZXJzOiBbXHJcbiAgICBEYXRlUGlwZSxcclxuICAgIE5vdGlmaWNhdGlvbnNTZXJ2aWNlLFxyXG4gIF0sXHJcbiAgZW50cnlDb21wb25lbnRzOiBbXHJcbiAgICBOb3RpZmljYXRpb25zTGlzdENvbXBvbmVudCxcclxuICAgIE5vdGlmaWNhdGlvbnNCdXR0b25Db21wb25lbnQsXHJcbiAgICBOb3RpZmljYXRpb25JdGVtQ29tcG9uZW50LFxyXG4gICAgTm90aWZpY2F0aW9uT3B0aW9uc0NvbXBvbmVudCxcclxuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTm90aWZpY2F0aW9uc01vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { EventEmitter, Inject, Injectable } from "@angular/core";
|
|
3
|
-
import { from, of, ReplaySubject } from "rxjs";
|
|
4
|
-
import { catchError, map, publishReplay, refCount } from "rxjs/operators";
|
|
5
|
-
import * as SockJS from "sockjs-client";
|
|
6
|
-
import * as Stomp from "webstomp-client";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common/http";
|
|
9
|
-
import * as i2 from "@angular/router";
|
|
10
|
-
import * as i3 from "../../Core/services/nuxeo/nuxeo.service";
|
|
11
|
-
import * as i4 from "keycloak-angular";
|
|
12
|
-
import * as i5 from "ngx-cookie-service";
|
|
13
|
-
import * as i6 from "../../Core/services/localStorag/local-storag.service";
|
|
14
|
-
import * as i7 from "../../Core/services/initialization/initialization.service";
|
|
15
|
-
import * as i8 from "../../Core/services/translation/translation.service";
|
|
16
|
-
export class NotificationsService {
|
|
17
|
-
constructor(http, router, nuxeoService, keycloak, cookieService, localStorag, intializationService, translationService, environment) {
|
|
18
|
-
this.http = http;
|
|
19
|
-
this.router = router;
|
|
20
|
-
this.nuxeoService = nuxeoService;
|
|
21
|
-
this.keycloak = keycloak;
|
|
22
|
-
this.cookieService = cookieService;
|
|
23
|
-
this.localStorag = localStorag;
|
|
24
|
-
this.intializationService = intializationService;
|
|
25
|
-
this.translationService = translationService;
|
|
26
|
-
this.environment = environment;
|
|
27
|
-
this.stompClient = null;
|
|
28
|
-
this.subscriber = null;
|
|
29
|
-
this.connectedPromise = null;
|
|
30
|
-
this.listenerObserver = new EventEmitter();
|
|
31
|
-
this.update = new ReplaySubject(1);
|
|
32
|
-
this.alreadyConnectedOnce = false;
|
|
33
|
-
this.pageSize = 15;
|
|
34
|
-
this._notifications = [];
|
|
35
|
-
this._notificationsCount = 0;
|
|
36
|
-
this.base = "";
|
|
37
|
-
this.profile = { id: this.nuxeoService.nuxeoClient.user.id };
|
|
38
|
-
this.systemLang = "";
|
|
39
|
-
this.loading = false;
|
|
40
|
-
this.selectedFilterType = {
|
|
41
|
-
name: 'all',
|
|
42
|
-
id: 'all'
|
|
43
|
-
};
|
|
44
|
-
this.isReaded = false;
|
|
45
|
-
this.showFilters = false;
|
|
46
|
-
this.types = [
|
|
47
|
-
{ name: 'all', id: 'all' },
|
|
48
|
-
{ name: 'correspondence', id: 'correspondence' },
|
|
49
|
-
{ name: 'assignment', id: 'assignment' },
|
|
50
|
-
{ name: 'workspace', id: 'corrWorkspace' },
|
|
51
|
-
{ name: 'approvals', id: 'approval' }
|
|
52
|
-
];
|
|
53
|
-
this.storedNotifications = []; // to store all notification in it so when filtering not losing all data
|
|
54
|
-
if (this.profile.id) {
|
|
55
|
-
this.getCount().subscribe(() => {
|
|
56
|
-
this.connect();
|
|
57
|
-
this.subscribe();
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
this.translationService.isArabic.subscribe((res) => {
|
|
61
|
-
this.resetNotifications();
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
get notifications() {
|
|
65
|
-
return this._notifications;
|
|
66
|
-
}
|
|
67
|
-
get notificationsCount() {
|
|
68
|
-
return this._notificationsCount;
|
|
69
|
-
}
|
|
70
|
-
getCount() {
|
|
71
|
-
return this.doCountNew(this.profile.id).pipe(map((data) => {
|
|
72
|
-
this._notificationsCount = data;
|
|
73
|
-
this.update.next();
|
|
74
|
-
return data;
|
|
75
|
-
}));
|
|
76
|
-
}
|
|
77
|
-
reset() {
|
|
78
|
-
this._notifications = [];
|
|
79
|
-
this.storedNotifications = [];
|
|
80
|
-
this._notificationsCount = 0;
|
|
81
|
-
}
|
|
82
|
-
resetNotifications() {
|
|
83
|
-
this._notifications = [];
|
|
84
|
-
this.storedNotifications = [];
|
|
85
|
-
}
|
|
86
|
-
resetFilterParams() {
|
|
87
|
-
this.selectedFilterType = { name: 'all', id: 'all' };
|
|
88
|
-
this.isReaded = false;
|
|
89
|
-
}
|
|
90
|
-
fetchNotifications() {
|
|
91
|
-
this.loading = true;
|
|
92
|
-
return this.getNotifications(this.profile.id, {
|
|
93
|
-
page: this._notifications.length > 0
|
|
94
|
-
? Math.ceil(this._notifications.length / this.pageSize)
|
|
95
|
-
: 0,
|
|
96
|
-
size: this.pageSize,
|
|
97
|
-
paged: true,
|
|
98
|
-
sort: "sendDate,desc",
|
|
99
|
-
sorted: true,
|
|
100
|
-
lang: this.translationService.userLang.toUpperCase(),
|
|
101
|
-
}).pipe(map((notifications) => {
|
|
102
|
-
this.loading = false;
|
|
103
|
-
if (notifications.items) {
|
|
104
|
-
if (this.showFilters) {
|
|
105
|
-
this.storedNotifications = this.storedNotifications.concat(notifications.items);
|
|
106
|
-
this._notifications = this._notifications.concat(this.filterNotifications(notifications.items));
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
this._notifications = this._notifications.concat(notifications.items);
|
|
110
|
-
}
|
|
111
|
-
return notifications;
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
this._notifications = [];
|
|
115
|
-
return [];
|
|
116
|
-
}
|
|
117
|
-
}), catchError(() => {
|
|
118
|
-
this._notifications = [];
|
|
119
|
-
this.storedNotifications = [];
|
|
120
|
-
this.loading = false;
|
|
121
|
-
return [];
|
|
122
|
-
}));
|
|
123
|
-
}
|
|
124
|
-
// filter notifcations in front end according to the selected filters
|
|
125
|
-
filterNotifications(notifications) {
|
|
126
|
-
let filteredNotifications = [];
|
|
127
|
-
if (this.selectedFilterType.name === 'all') {
|
|
128
|
-
if (this.isReaded) {
|
|
129
|
-
// find readed notifications on all types of notifications
|
|
130
|
-
return this.findReadOrUnReadedNotification('READ', notifications);
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
// find un readed notifications on all types of notifications
|
|
134
|
-
return this.findReadOrUnReadedNotification('UN_READ', notifications);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
let requiredState = this.isReaded ? 'READ' : 'UN_READ';
|
|
139
|
-
notifications.map(notification => {
|
|
140
|
-
if (notification.sourceType === this.selectedFilterType.id && notification.status === requiredState) {
|
|
141
|
-
filteredNotifications.push(notification);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
return filteredNotifications;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
// find a notification according to its state READ or UN_READ
|
|
148
|
-
findReadOrUnReadedNotification(state, notifications) {
|
|
149
|
-
let statedNotifications = [];
|
|
150
|
-
notifications.map(notification => {
|
|
151
|
-
if (notification.status === state) {
|
|
152
|
-
statedNotifications.push(notification);
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
return statedNotifications;
|
|
156
|
-
}
|
|
157
|
-
resetCount() {
|
|
158
|
-
this._notificationsCount = 0;
|
|
159
|
-
}
|
|
160
|
-
markAllAsRead() {
|
|
161
|
-
this.doMarkAllAsRead(this.profile.id).subscribe(() => {
|
|
162
|
-
this._notifications.forEach((item) => (item.status = "READ"));
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
updateStatus(notification, onOpen = false) {
|
|
166
|
-
const bool = notification.status === "UN_READ" ||
|
|
167
|
-
notification.status === "NEW" ||
|
|
168
|
-
onOpen;
|
|
169
|
-
if (bool) {
|
|
170
|
-
this.doMarkAsRead(notification.id).subscribe(() => {
|
|
171
|
-
notification.status = "READ";
|
|
172
|
-
this.getCount().subscribe(() => { });
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
this.doMarkAsUnread(notification.id).subscribe(() => {
|
|
177
|
-
notification.status = "UN_READ";
|
|
178
|
-
this.getCount().subscribe(() => { });
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
deleteNotification(notification) {
|
|
183
|
-
this.doDeleteNotification(notification.id).subscribe(() => {
|
|
184
|
-
this._notifications.filter((item, index) => {
|
|
185
|
-
if (item.id === notification.id) {
|
|
186
|
-
this._notifications.splice(index, 1);
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
this.update.next();
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
getNotifications(userId, queryParams = {}) {
|
|
194
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/all/${userId}`;
|
|
195
|
-
return this.http
|
|
196
|
-
.get(endpoint, { observe: "response", params: queryParams })
|
|
197
|
-
.pipe(map((resp) => ({
|
|
198
|
-
totalCount: resp.headers.get("x-total-count"),
|
|
199
|
-
items: resp.body.map((item) => item),
|
|
200
|
-
})), catchError(this.handleError("getNotifications", [])), publishReplay(1), refCount());
|
|
201
|
-
}
|
|
202
|
-
doCountNew(userId, queryParams = {}) {
|
|
203
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/countNew/${userId}`;
|
|
204
|
-
return this.http
|
|
205
|
-
.get(endpoint, { params: queryParams })
|
|
206
|
-
.pipe(catchError(this.handleError("countNew", [])));
|
|
207
|
-
}
|
|
208
|
-
doResetCountNew(userId, queryParams = {}) {
|
|
209
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/resetCount/${userId}`;
|
|
210
|
-
return this.http
|
|
211
|
-
.put(endpoint, { params: queryParams })
|
|
212
|
-
.pipe(catchError(this.handleError("resetCountNew", [])));
|
|
213
|
-
}
|
|
214
|
-
doCountUnread(userId, queryParams = {}) {
|
|
215
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/countUnRead/${userId}`;
|
|
216
|
-
return this.http
|
|
217
|
-
.get(endpoint, { params: queryParams })
|
|
218
|
-
.pipe(catchError(this.handleError("countUnread", [])));
|
|
219
|
-
}
|
|
220
|
-
doMarkAllAsRead(userId, queryParams = {}) {
|
|
221
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/markAllAsRead/${userId}`;
|
|
222
|
-
return this.http
|
|
223
|
-
.put(endpoint, { params: queryParams })
|
|
224
|
-
.pipe(catchError(this.handleError("markAllAsRead", [])));
|
|
225
|
-
}
|
|
226
|
-
doMarkAsRead(notificationId, queryParams = {}) {
|
|
227
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/markAsRead/${notificationId}`;
|
|
228
|
-
return this.http
|
|
229
|
-
.put(endpoint, { params: queryParams })
|
|
230
|
-
.pipe(catchError(this.handleError("markAsRead", [])));
|
|
231
|
-
}
|
|
232
|
-
doMarkAsUnread(notificationId, queryParams = {}) {
|
|
233
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/markAsUnRead/${notificationId}`;
|
|
234
|
-
return this.http
|
|
235
|
-
.put(endpoint, { params: queryParams })
|
|
236
|
-
.pipe(catchError(this.handleError("markAsUnread", [])));
|
|
237
|
-
}
|
|
238
|
-
doDeleteNotification(notificationId, queryParams = {}) {
|
|
239
|
-
const endpoint = `${this.environment.notifications}/api/system-notifications/${notificationId}`;
|
|
240
|
-
return this.http
|
|
241
|
-
.delete(endpoint, { params: queryParams })
|
|
242
|
-
.pipe(catchError(this.handleError("deleteNotification", [])));
|
|
243
|
-
}
|
|
244
|
-
handleError(operation = "operation", result) {
|
|
245
|
-
return (error) => {
|
|
246
|
-
// TODO: send the error to remote logging infrastructure
|
|
247
|
-
console.error(error); // log to console instead
|
|
248
|
-
// TODO: better job of transforming error for user consumption
|
|
249
|
-
console.log(`${operation} failed: ${error.message}`);
|
|
250
|
-
// Let the app keep running by returning an empty result.
|
|
251
|
-
result["status"] = error.status;
|
|
252
|
-
if (error.error.hasOwnProperty("message")) {
|
|
253
|
-
result["message"] = error.error.message;
|
|
254
|
-
result["type"] = error.error.type;
|
|
255
|
-
}
|
|
256
|
-
return of(result);
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
connect() {
|
|
260
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
-
if (this.connectedPromise === null) {
|
|
262
|
-
this.connection = this.createConnection();
|
|
263
|
-
}
|
|
264
|
-
// building absolute path so that websocket doesn't fail when deploying with a context path
|
|
265
|
-
let url;
|
|
266
|
-
url = `${this.environment.notifications}/websocket/ekhaa`; //url
|
|
267
|
-
const socket = new SockJS(url);
|
|
268
|
-
this.stompClient = Stomp.over(socket);
|
|
269
|
-
const headers = {
|
|
270
|
-
// Upgrade: 'websocket',
|
|
271
|
-
// Connection: 'Upgrade',
|
|
272
|
-
token: this.environment.loginMethod === 'nuxeo' ? this.getCachable() : `${yield this.keycloak.getToken()}`,
|
|
273
|
-
};
|
|
274
|
-
if (!this.alreadyConnectedOnce) {
|
|
275
|
-
this.stompClient.connect(headers, () => {
|
|
276
|
-
this.alreadyConnectedOnce = true;
|
|
277
|
-
this.connectedPromise("success");
|
|
278
|
-
this.connectedPromise = null;
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
}
|
|
283
|
-
disconnect() {
|
|
284
|
-
if (this.stompClient !== null && this.alreadyConnectedOnce) {
|
|
285
|
-
this.stompClient.disconnect();
|
|
286
|
-
this.stompClient = null;
|
|
287
|
-
if (this.subscription) {
|
|
288
|
-
this.subscription.unsubscribe();
|
|
289
|
-
this.subscription = null;
|
|
290
|
-
}
|
|
291
|
-
this.alreadyConnectedOnce = false;
|
|
292
|
-
}
|
|
293
|
-
else if (this.connectedPromise) {
|
|
294
|
-
this.connection.then(() => {
|
|
295
|
-
this.disconnect();
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
subscribe() {
|
|
300
|
-
if (this.connection) {
|
|
301
|
-
this.connection.then(() => {
|
|
302
|
-
if (this.stompClient) {
|
|
303
|
-
this.subscriber = this.stompClient.subscribe("/user/topic/notification", (data) => {
|
|
304
|
-
const notification = JSON.parse(data.body);
|
|
305
|
-
this._notifications.unshift(notification);
|
|
306
|
-
this.getCount().subscribe(() => { });
|
|
307
|
-
this.listenerObserver.emit(notification);
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
unsubscribe() {
|
|
314
|
-
if (this.subscriber !== null) {
|
|
315
|
-
this.subscriber.unsubscribe();
|
|
316
|
-
}
|
|
317
|
-
this.disconnect();
|
|
318
|
-
}
|
|
319
|
-
createConnection() {
|
|
320
|
-
return new Promise((resolve, reject) => (this.connectedPromise = resolve));
|
|
321
|
-
}
|
|
322
|
-
testNotification() {
|
|
323
|
-
return from(this.nuxeoService.nuxeoClient
|
|
324
|
-
.operation("System.Notification", {
|
|
325
|
-
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
326
|
-
})
|
|
327
|
-
.params({
|
|
328
|
-
applicationKey: "ctsn",
|
|
329
|
-
notificationKey: "NotificationWhenOutgoingCorrespondneceApprove",
|
|
330
|
-
apiData: '{"id": "a7ed629e-c8ea-4e84-8b83-329009515878","schema": "Correspondence"}',
|
|
331
|
-
data: "{}",
|
|
332
|
-
groupsId: [],
|
|
333
|
-
usersId: ["cts_sec"],
|
|
334
|
-
})
|
|
335
|
-
.input("a7ed629e-c8ea-4e84-8b83-329009515878")
|
|
336
|
-
.execute()).pipe(catchError((err) => {
|
|
337
|
-
console.log(err);
|
|
338
|
-
throw err;
|
|
339
|
-
}));
|
|
340
|
-
}
|
|
341
|
-
getCachable() {
|
|
342
|
-
let myCachable = this.cookieService.get('CMS_CACHABLE');
|
|
343
|
-
myCachable = this.intializationService.decriptFormating(myCachable);
|
|
344
|
-
return myCachable['access_token'];
|
|
345
|
-
}
|
|
346
|
-
setNotifications(notifications) {
|
|
347
|
-
this._notifications = notifications;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
NotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService, deps: [{ token: i1.HttpClient }, { token: i2.Router }, { token: i3.NuxeoService }, { token: i4.KeycloakService }, { token: i5.CookieService }, { token: i6.LocalStoragService }, { token: i7.InitializationService }, { token: i8.TranslationService }, { token: "environment" }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
351
|
-
NotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService });
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService, decorators: [{
|
|
353
|
-
type: Injectable
|
|
354
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.Router }, { type: i3.NuxeoService }, { type: i4.KeycloakService }, { type: i5.CookieService }, { type: i6.LocalStoragService }, { type: i7.InitializationService }, { type: i8.TranslationService }, { type: undefined, decorators: [{
|
|
355
|
-
type: Inject,
|
|
356
|
-
args: ["environment"]
|
|
357
|
-
}] }]; } });
|
|
358
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3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IHNvcnQ6IFwic2VuZERhdGUsZGVzY1wiLFxyXG4gICAgICBzb3J0ZWQ6IHRydWUsXHJcbiAgICAgIGxhbmc6IHRoaXMudHJhbnNsYXRpb25TZXJ2aWNlLnVzZXJMYW5nLnRvVXBwZXJDYXNlKCksXHJcbiAgICB9KS5waXBlKFxyXG4gICAgICBtYXAoKG5vdGlmaWNhdGlvbnM6IGFueSkgPT4ge1xyXG4gICAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xyXG4gICAgICAgIGlmIChub3RpZmljYXRpb25zLml0ZW1zKSB7XHJcbiAgICAgICAgICBpZih0aGlzLnNob3dGaWx0ZXJzKXtcclxuICAgICAgICAgICAgdGhpcy5zdG9yZWROb3RpZmljYXRpb25zID0gdGhpcy5zdG9yZWROb3RpZmljYXRpb25zLmNvbmNhdChub3RpZmljYXRpb25zLml0ZW1zKTtcclxuICAgICAgICAgICAgdGhpcy5fbm90aWZpY2F0aW9ucyA9IHRoaXMuX25vdGlmaWNhdGlvbnMuY29uY2F0KHRoaXMuZmlsdGVyTm90aWZpY2F0aW9ucyhub3RpZmljYXRpb25zLml0ZW1zKSk7XHJcbiAgICAgICAgICB9ZWxzZXtcclxuICAgICAgICAgICAgdGhpcy5fbm90aWZpY2F0aW9ucyA9IHRoaXMuX25vdGlmaWNhdGlvbnMuY29uY2F0KG5vdGlmaWNhdGlvbnMuaXRlbXMpO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgICAgcmV0dXJuIG5vdGlmaWNhdGlvbnM7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIHRoaXMuX25vdGlmaWNhdGlvbnMgPSBbXTtcclxuICAgICAgICAgIHJldHVybiBbXTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pLFxyXG4gICAgICBjYXRjaEVycm9yKCgpID0+IHtcclxuICAgICAgICB0aGlzLl9ub3RpZmljYXRpb25zID0gW107XHJcbiAgICAgICAgdGhpcy5zdG9yZWROb3RpZmljYXRpb25z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5lY3Rpb24udGhlbigoKSA9PiB7XHJcbiAgICAgICAgaWYgKHRoaXMuc3RvbXBDbGllbnQpIHtcclxuICAgICAgICAgIHRoaXMuc3Vic2NyaWJlciA9IHRoaXMuc3RvbXBDbGllbnQuc3Vic2NyaWJlKFxyXG4gICAgICAgICAgICBcIi91c2VyL3RvcGljL25vdGlmaWNhdGlvblwiLFxyXG4gICAgICAgICAgICAoZGF0YSkgPT4ge1xyXG4gICAgICAgICAgICAgIGNvbnN0IG5vdGlmaWNhdGlvbiA9IEpTT04ucGFyc2UoZGF0YS5ib2R5KTtcclxuICAgICAgICAgICAgICB0aGlzLl9ub3RpZmljYXRpb25zLnVuc2hpZnQobm90aWZpY2F0aW9uKTtcclxuICAgICAgICAgICAgICB0aGlzLmdldENvdW50KCkuc3Vic2NyaWJlKCgpID0+IHt9KTtcclxuICAgICAgICAgICAgICB0aGlzLmxpc3RlbmVyT2JzZXJ2ZXIuZW1pdChub3RpZmljYXRpb24pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICB1bnN1YnNjcmliZSgpIHtcclxuICAgIGlmICh0aGlzLnN1YnNjcmliZXIgIT09IG51bGwpIHtcclxuICAgICAgdGhpcy5zdWJzY3JpYmVyLnVuc3Vic2NyaWJlKCk7XHJcbiAgICB9XHJcbiAgICB0aGlzLmRpc2Nvbm5lY3QoKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgY3JlYXRlQ29ubmVjdGlvbigpOiBQcm9taXNlPGFueT4ge1xyXG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+ICh0aGlzLmNvbm5lY3RlZFByb21pc2UgPSByZXNvbHZlKSk7XHJcbiAgfVxyXG5cclxuICB0ZXN0Tm90aWZpY2F0aW9uKCk6IE9ic2VydmFibGU8YW55PiB7XHJcbiAgICByZXR1cm4gZnJ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