nuxeo-development-framework 3.3.3 → 3.3.4-snapshot
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 +63 -70
- 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 +50 -0
- package/src/lib/Core/services/localStorag/local-storag.service.ts +125 -0
- package/src/lib/Core/services/nuxeo/nuxeo-override.ts +86 -0
- package/src/lib/Core/services/nuxeo/nuxeo.service.ts +123 -0
- package/src/lib/Core/services/roles/roles.service.spec.ts +16 -0
- package/src/lib/Core/services/roles/roles.service.ts +122 -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 +61 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +22 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +48 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +25 -0
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +56 -0
- package/src/lib/components/comments/constants/comment.ts +25 -0
- package/src/lib/components/comments/services/comment-api.service.ts +85 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.html +26 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +34 -0
- package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +68 -0
- package/src/lib/components/confirm-caller/confirm-caller.module.ts +19 -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 +149 -0
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +92 -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 +132 -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 +64 -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 +71 -0
- package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +59 -0
- package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +192 -0
- package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +51 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.html +18 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.scss +90 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +25 -0
- package/src/lib/components/create-entity/create-entity/create-entity.component.ts +57 -0
- package/src/lib/components/create-entity/create-entity.module.ts +22 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +60 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +43 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +25 -0
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +166 -0
- package/src/lib/components/cts-tags/cts-tags.module.ts +35 -0
- package/src/lib/components/cts-tags/services/tags-api.service.ts +106 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +45 -0
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +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 +93 -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 +168 -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 +423 -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 +58 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.scss +0 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.spec.ts +25 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +168 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +25 -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 +56 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +99 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +210 -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 +36 -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 +241 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +253 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +126 -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 +335 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +50 -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 +309 -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 +350 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +241 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +246 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +23 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +29 -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 +39 -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 +193 -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 +321 -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 +47 -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 +241 -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 +44 -0
- package/src/lib/components/dynamic-view/dynamic-view.module.ts +44 -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 +241 -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 +504 -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 +78 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +38 -0
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +157 -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 +19 -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 +45 -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 +136 -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 +7 -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 +190 -0
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +55 -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 +300 -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 +782 -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 +198 -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 +22 -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 +385 -0
- package/src/lib/components/table/table/table.component.scss +522 -0
- package/src/lib/components/table/table/table.component.spec.ts +25 -0
- package/src/lib/components/table/table/table.component.ts +197 -0
- package/src/lib/components/table/table.module.ts +35 -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 +46 -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 +20 -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 +87 -0
- package/src/lib/shared/components/item-list/item-list.component.html +37 -0
- package/src/lib/shared/components/item-list/item-list.component.scss +62 -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 +3 -0
- package/src/lib/shared/components/no-data/no-data.component.scss +13 -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 +26 -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 +1075 -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 +274 -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 -29708
- 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 -57
- package/esm2015/lib/Core/services/localStorag/local-storag.service.js +0 -123
- package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +0 -82
- package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +0 -120
- package/esm2015/lib/Core/services/roles/roles.service.js +0 -134
- 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 -73
- 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 -75
- package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +0 -27
- 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 -137
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +0 -133
- 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 -68
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +0 -75
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +0 -111
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +0 -153
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +0 -50
- 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 -75
- 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 -159
- 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 -391
- 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 -202
- 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 -204
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +0 -235
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +0 -95
- 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 -101
- 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 -311
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +0 -56
- 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 -282
- 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 -314
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +0 -47
- 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 -299
- 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 -323
- 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 -242
- 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 -36
- 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 -33
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +0 -55
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +0 -89
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +0 -61
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +0 -69
- 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 -94
- 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 -70
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +0 -27
- 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 -137
- 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 -172
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +0 -164
- package/esm2015/lib/components/notifications/notifications.module.js +0 -109
- package/esm2015/lib/components/notifications/notifications.service.js +0 -280
- 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 -745
- 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 -177
- 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 -231
- package/esm2015/lib/components/table/table.module.js +0 -61
- 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 -49
- 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 -87
- 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 -37
- 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 -24
- 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 -238
- package/fesm2015/nuxeo-development-framework.js +0 -27688
- 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 -14
- package/lib/Core/services/localStorag/local-storag.service.d.ts +0 -41
- package/lib/Core/services/nuxeo/nuxeo-override.d.ts +0 -8
- package/lib/Core/services/nuxeo/nuxeo.service.d.ts +0 -33
- package/lib/Core/services/roles/roles.service.d.ts +0 -18
- 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 -16
- 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 -42
- 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 -38
- 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 -58
- 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 -66
- 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 -70
- 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 -76
- 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 -42
- 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 -85
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +0 -15
- 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 -90
- 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 -104
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +0 -16
- 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 -66
- 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 -98
- 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 -110
- 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 -37
- package/lib/components/dynamic-view/dynamic-view.module.d.ts +0 -23
- 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 -22
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +0 -10
- 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 -30
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +0 -51
- package/lib/components/notifications/notifications.module.d.ts +0 -24
- package/lib/components/notifications/notifications.service.d.ts +0 -64
- 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 -102
- 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 -110
- package/lib/components/table/table.module.d.ts +0 -20
- 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 -38
- 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 -21
- 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 -13
- 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 -225
- /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,314 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter, ViewChild, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import { isNil } from "lodash";
|
|
3
|
-
import { TreeviewI18n, TreeviewConfig, DropdownTreeviewComponent, TreeviewHelper, } from "ngx-treeview";
|
|
4
|
-
import { Subject } from "rxjs";
|
|
5
|
-
import { takeUntil } from "rxjs/operators";
|
|
6
|
-
import { DropdownTreeviewSelectI18n } from "./dropdown-treeview-select-i18n";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "ngx-treeview";
|
|
9
|
-
import * as i2 from "../../../../Core/services/translation/translation.service";
|
|
10
|
-
import * as i3 from "../dynamic-form-department/services/department-api.service";
|
|
11
|
-
import * as i4 from "../dynamic-form-department/services/department-management.service";
|
|
12
|
-
import * as i5 from "../../../../Core/services/roles/roles.service";
|
|
13
|
-
import * as i6 from "../../../../Core/services/nuxeo/nuxeo.service";
|
|
14
|
-
import * as i7 from "@angular/material/checkbox";
|
|
15
|
-
import * as i8 from "@angular/common";
|
|
16
|
-
import * as i9 from "@angular/material/tooltip";
|
|
17
|
-
import * as i10 from "@angular/forms";
|
|
18
|
-
import * as i11 from "@ngx-translate/core";
|
|
19
|
-
/**
|
|
20
|
-
* A tree view selector component that can be used in reactive and template driven forms,
|
|
21
|
-
* it can be a flat tree or a dropdown
|
|
22
|
-
* @title
|
|
23
|
-
* Tree view selector
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* <app-dynamic-form-treeview-select
|
|
27
|
-
* [treeview]="false"
|
|
28
|
-
* [multiple]="false"
|
|
29
|
-
* [items]="itemsTree"
|
|
30
|
-
* (valueChange)="onValueChange($event)"
|
|
31
|
-
* [(value)]="selectedValue"
|
|
32
|
-
* >
|
|
33
|
-
* </app-dynamic-form-treeview-select>
|
|
34
|
-
*/
|
|
35
|
-
export class TreeviewSelectComponent {
|
|
36
|
-
// this component is used in two places the flag is this.treeview
|
|
37
|
-
constructor(i18n, translation, departmentApiService, departmentManagment, rolesService, nuxeoService) {
|
|
38
|
-
this.i18n = i18n;
|
|
39
|
-
this.translation = translation;
|
|
40
|
-
this.departmentApiService = departmentApiService;
|
|
41
|
-
this.departmentManagment = departmentManagment;
|
|
42
|
-
this.rolesService = rolesService;
|
|
43
|
-
this.nuxeoService = nuxeoService;
|
|
44
|
-
this.multipleSelection = [];
|
|
45
|
-
this.selectedParentWithChild = [];
|
|
46
|
-
this.showPlus = false;
|
|
47
|
-
this.preSelected = [];
|
|
48
|
-
/** is tree View or dropdown view */
|
|
49
|
-
this.treeview = false;
|
|
50
|
-
/** use tree view inside form */
|
|
51
|
-
this.treeViewAsFormControl = false;
|
|
52
|
-
/** can select multiple */
|
|
53
|
-
this.multiple = false;
|
|
54
|
-
/** event emitted on value change */
|
|
55
|
-
this.valueChange = new EventEmitter();
|
|
56
|
-
/** event emitted on plus button clicked (for department management) */
|
|
57
|
-
this.plusClicked = new EventEmitter();
|
|
58
|
-
/** event emitted on plus button clicked (for department management) */
|
|
59
|
-
this.defaultSelect = false;
|
|
60
|
-
/** use outside custom function instead of the iner function */
|
|
61
|
-
this.useCustomAddEditAction = false;
|
|
62
|
-
this.actionClicked = new EventEmitter();
|
|
63
|
-
this.arabic = false;
|
|
64
|
-
this.onDestroy$ = new Subject();
|
|
65
|
-
this.config = TreeviewConfig.create({
|
|
66
|
-
hasAllCheckBox: false,
|
|
67
|
-
hasCollapseExpand: false,
|
|
68
|
-
hasFilter: true,
|
|
69
|
-
maxHeight: 200,
|
|
70
|
-
decoupleChildFromParent: true,
|
|
71
|
-
});
|
|
72
|
-
this.dropdownTreeviewSelectI18n = i18n;
|
|
73
|
-
}
|
|
74
|
-
ngOnInit() {
|
|
75
|
-
this.translation.isArabic
|
|
76
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
77
|
-
.subscribe((res) => {
|
|
78
|
-
this.arabic = res;
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
ngOnDestroy() {
|
|
82
|
-
this.onDestroy$.complete();
|
|
83
|
-
}
|
|
84
|
-
ngOnChanges() {
|
|
85
|
-
if (this.items && this.treeview) {
|
|
86
|
-
this.updateSelectedItem();
|
|
87
|
-
}
|
|
88
|
-
if (!this.treeview && !this.multiple) {
|
|
89
|
-
// this. function is to set ui with pre selected value
|
|
90
|
-
// delay to make sure that page get the value and send it to here
|
|
91
|
-
// we use the value sent to here and search for its item on our items and set it as the selected item
|
|
92
|
-
this.items.map((item) => {
|
|
93
|
-
this.setPreSeletedItem(item, this.value);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
if (!this.treeview &&
|
|
97
|
-
this.multiple &&
|
|
98
|
-
this.value &&
|
|
99
|
-
this.value.length > 0) {
|
|
100
|
-
// this.preSelected = this.value;
|
|
101
|
-
this.multipleSelection = this.value;
|
|
102
|
-
this.dropdownTreeviewSelectI18n.selectionLength =
|
|
103
|
-
this.multipleSelection.length;
|
|
104
|
-
this.dropdownTreeviewComponent.onSelectedChange([
|
|
105
|
-
this.multipleSelection.length,
|
|
106
|
-
]);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
setPreSeletedItem(item, compareWithValue) {
|
|
110
|
-
if ((item.value === compareWithValue) || (item.value.title === compareWithValue)) {
|
|
111
|
-
this.select(item);
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
if (item.internalChildren) {
|
|
116
|
-
item.internalChildren.map((child) => {
|
|
117
|
-
this.setPreSeletedItem(child, compareWithValue);
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
selectDefault() {
|
|
126
|
-
this.myDepartment = this.rolesService.getUserDepartment(this.nuxeoService.nuxeoClient.user);
|
|
127
|
-
this.items.map((item) => {
|
|
128
|
-
this.setPreSeletedItem(item, this.myDepartment);
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
select(item) {
|
|
132
|
-
// if (!item.children) {
|
|
133
|
-
this.selectItem(item);
|
|
134
|
-
// }
|
|
135
|
-
}
|
|
136
|
-
updateSelectedItem() {
|
|
137
|
-
if (!isNil(this.items)) {
|
|
138
|
-
const selectedItem = TreeviewHelper.findItemInList(this.items, this.value);
|
|
139
|
-
this.selectItem(selectedItem);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
selectItem(item) {
|
|
143
|
-
document.body.click();
|
|
144
|
-
if (this.dropdownTreeviewSelectI18n.selectedItem !== item) {
|
|
145
|
-
this.dropdownTreeviewSelectI18n.selectedItem = item;
|
|
146
|
-
if (this.dropdownTreeviewComponent) {
|
|
147
|
-
this.dropdownTreeviewComponent.onSelectedChange([item]);
|
|
148
|
-
}
|
|
149
|
-
if (item) {
|
|
150
|
-
if (this.treeview) {
|
|
151
|
-
this.selectedItem = item.value;
|
|
152
|
-
// this.valueChange.emit(item.value.title);
|
|
153
|
-
this.valueChange.emit(item);
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.valueChange.emit(item.value);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
selectMultiple(e, item) {
|
|
162
|
-
this.selectedParentWithChild = [];
|
|
163
|
-
this.getChildernValues(item);
|
|
164
|
-
if (e) {
|
|
165
|
-
this.multipleSelection = this.multipleSelection.concat(this.selectedParentWithChild);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
this.multipleSelection = this.multipleSelection.filter((e) => {
|
|
169
|
-
return this.selectedParentWithChild.indexOf(e) < 0;
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
this.dropdownTreeviewSelectI18n.selectionLength =
|
|
173
|
-
this.multipleSelection.length;
|
|
174
|
-
this.dropdownTreeviewComponent.onSelectedChange([
|
|
175
|
-
this.multipleSelection.length,
|
|
176
|
-
]);
|
|
177
|
-
this.valueChange.emit(this.multipleSelection);
|
|
178
|
-
}
|
|
179
|
-
getChildernValues(item) {
|
|
180
|
-
this.selectedParentWithChild.push(item.value);
|
|
181
|
-
if (item.children) {
|
|
182
|
-
item.children.forEach((item) => {
|
|
183
|
-
this.getChildernValues(item);
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
else
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
onPlusClicked(e, item) {
|
|
190
|
-
e.stopPropagation();
|
|
191
|
-
if (item) {
|
|
192
|
-
this.plusClicked.emit(item.value.uid);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
*
|
|
197
|
-
* @param e click event
|
|
198
|
-
* @param action name of action (add , update)
|
|
199
|
-
* @param item TreeviewItem
|
|
200
|
-
*/
|
|
201
|
-
onAction(e, action, item) {
|
|
202
|
-
e.stopPropagation();
|
|
203
|
-
if (item) {
|
|
204
|
-
if (action === "add") {
|
|
205
|
-
// emit action to outside to execute function from outside the component
|
|
206
|
-
if (this.useCustomAddEditAction) {
|
|
207
|
-
this.actionClicked.emit({
|
|
208
|
-
action: action,
|
|
209
|
-
item: item
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
this.departmentManagment
|
|
214
|
-
.openFormDialog(item.value.uid, false, item.value.title, item)
|
|
215
|
-
.subscribe((res) => {
|
|
216
|
-
if (res) {
|
|
217
|
-
this.update(item);
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
if (action === "update") {
|
|
223
|
-
if (this.useCustomAddEditAction) {
|
|
224
|
-
// emit action to outside to execute function from outside the component
|
|
225
|
-
this.actionClicked.emit({
|
|
226
|
-
action: action,
|
|
227
|
-
item: item
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
this.departmentManagment
|
|
232
|
-
.openFormDialog(item.value.uid, true)
|
|
233
|
-
.subscribe((res) => {
|
|
234
|
-
// this.update(item);
|
|
235
|
-
this.departmentApiService.getDepartmentTree().subscribe((res) => {
|
|
236
|
-
this.items = this.departmentApiService.recursiveFill(res.entries, undefined, undefined, undefined, this.customPrefix);
|
|
237
|
-
});
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
*due to the business requirements which stated that more than 3 levels will existed the current api support only 3 levels so *we have to inject 3 new levels on each tree end
|
|
245
|
-
* @param item TreeviewItem
|
|
246
|
-
*/
|
|
247
|
-
onCollapsed(item) {
|
|
248
|
-
item.collapsed = !item.collapsed;
|
|
249
|
-
if (item.value.level === 2) {
|
|
250
|
-
this.departmentApiService
|
|
251
|
-
.getDepartmentNestedTree(item.value.title, this.pp_departmentNestedTree ? this.pp_departmentNestedTree : 'PP_Department', this.customParentProperty)
|
|
252
|
-
.subscribe((res) => {
|
|
253
|
-
item.children = this.departmentApiService.recursiveFill(res.entries, undefined, undefined, undefined, this.customPrefix);
|
|
254
|
-
}, (err) => { });
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
/**
|
|
258
|
-
*due to the business requirements which stated that more than 3 levels will existed the current api support only 3 levels so *we have to inject 3 new levels on each tree end
|
|
259
|
-
* @param item TreeviewItem
|
|
260
|
-
*/
|
|
261
|
-
update(item) {
|
|
262
|
-
this.departmentApiService
|
|
263
|
-
.getDepartmentNestedTree(item.value.title, this.pp_departmentNestedTree ? this.pp_departmentNestedTree : 'PP_Department', this.customParentProperty)
|
|
264
|
-
.subscribe((data) => {
|
|
265
|
-
item.children = this.departmentApiService.recursiveFill(data.entries, 0, true, true, this.customPrefix);
|
|
266
|
-
}, (err) => { });
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
TreeviewSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: TreeviewSelectComponent, deps: [{ token: i1.TreeviewI18n }, { token: i2.TranslationService }, { token: i3.DepartmentApiService }, { token: i4.DepartmentManagementService }, { token: i5.RolesService }, { token: i6.NuxeoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
270
|
-
TreeviewSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: TreeviewSelectComponent, selector: "app-dynamic-form-treeview-select", inputs: { treeview: "treeview", treeViewAsFormControl: "treeViewAsFormControl", config: "config", items: "items", value: "value", multiple: "multiple", defaultSelect: "defaultSelect", pp_departmentNestedTree: "pp_departmentNestedTree", useCustomAddEditAction: "useCustomAddEditAction", customPrefix: "customPrefix", customParentProperty: "customParentProperty", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", plusClicked: "plusClicked", actionClicked: "actionClicked" }, providers: [{ provide: TreeviewI18n, useClass: DropdownTreeviewSelectI18n }], viewQueries: [{ propertyName: "dropdownTreeviewComponent", first: true, predicate: DropdownTreeviewComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-template\r\n #itemTemplate\r\n let-item=\"item\"\r\n let-onCollapseExpand=\"onCollapseExpand\"\r\n let-onCheckedChange=\"onCheckedChange\"\r\n>\r\n <!-- single -->\r\n <div *ngIf=\"!treeview && !multiple\">\r\n <div\r\n class=\"text-nowrap row-item\"\r\n [ngClass]=\"{ active: item.value === this.value }\"\r\n >\r\n <i\r\n *ngIf=\"item.children\"\r\n (click)=\"onCollapseExpand()\"\r\n aria-hidden=\"true\"\r\n [ngSwitch]=\"item.collapsed\"\r\n >\r\n <span\r\n *ngSwitchCase=\"true\"\r\n class=\"bi bi-caret-{{ arabic ? 'left' : 'right' }}-fill caret-icon\"\r\n ></span>\r\n <span\r\n *ngSwitchCase=\"false\"\r\n class=\"bi bi-caret-down-fill caret-icon\"\r\n ></span>\r\n </i>\r\n <!-- <label class=\"form-check-label\" (click)=\"select(item)\">{{\r\n item.text\r\n }}</label> -->\r\n <label *ngIf=\"item.disabled\" class=\"form-check-label\">{{\r\n item.text\r\n }}</label>\r\n <label *ngIf=\"!item.disabled\" class=\"form-check-label\" (click)=\"select(item)\">{{\r\n item.text\r\n }}</label>\r\n </div>\r\n </div>\r\n <!-- Multiple -->\r\n <div *ngIf=\"!treeview && multiple\">\r\n <div\r\n class=\"text-nowrap row-item\"\r\n [ngClass]=\"{ active: item.value === this.value }\"\r\n >\r\n <i\r\n *ngIf=\"item.children\"\r\n (click)=\"onCollapseExpand()\"\r\n aria-hidden=\"true\"\r\n [ngSwitch]=\"item.collapsed\"\r\n >\r\n <span\r\n *ngSwitchCase=\"true\"\r\n class=\"bi bi-caret-{{ arabic ? 'left' : 'right' }}-fill caret-icon\"\r\n ></span>\r\n <span\r\n *ngSwitchCase=\"false\"\r\n class=\"bi bi-caret-down-fill caret-icon\"\r\n ></span>\r\n </i>\r\n <!-- <input\r\n class=\"multiple-checkBox\"\r\n type=\"checkbox\"\r\n [checked]=\"multipleSelection.includes(item.value)\"\r\n (change)=\"selectMultiple($event.target.checked, item)\"\r\n />\r\n\r\n <label class=\"form-check-label\">{{ item.text }}</label> -->\r\n <div class=\"multiple-treeview\">\r\n <mat-checkbox\r\n [checked]=\"multipleSelection.includes(item.value)\"\r\n (change)=\"selectMultiple($event.checked, item)\"\r\n >\r\n <span> {{ item.text }} </span>\r\n </mat-checkbox>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- treeView -->\r\n <div *ngIf=\"treeview && !treeViewAsFormControl\" class=\"tree-view-container\">\r\n <div\r\n (mouseenter)=\"hoverField.style.display = 'flex'\"\r\n (mouseleave)=\"hoverField.style.display = 'none'\"\r\n class=\"text-nowrap row-item treeview-row\"\r\n [ngClass]=\"{ selected: item.value == selectedItem }\"\r\n >\r\n <i\r\n *ngIf=\"item.children\"\r\n (click)=\"onCollapsed(item)\"\r\n aria-hidden=\"true\"\r\n [ngSwitch]=\"item.collapsed\"\r\n >\r\n <span\r\n *ngSwitchCase=\"true\"\r\n class=\"bi bi-caret-{{ arabic ? 'left' : 'right' }}-fill caret-icon\"\r\n ></span>\r\n\r\n <span\r\n *ngSwitchCase=\"false\"\r\n class=\"bi bi-caret-down-fill caret-icon\"\r\n ></span>\r\n </i>\r\n <label class=\"form-check-label-treeview\" (click)=\"select(item)\"\r\n >{{ item.text }}\r\n <span #hoverField class=\"hoverField\">\r\n <span\r\n type=\"button\"\r\n matTooltip=\"{{ 'department_management.form.edit' | translate }}\"\r\n (click)=\"onAction($event, 'update', item)\"\r\n >\r\n <li class=\"bi bi-pencil\"></li>\r\n </span>\r\n\r\n <span\r\n type=\"button\"\r\n matTooltip=\"{{\r\n 'department_management.form.toolTip_message' | translate\r\n }}\"\r\n (click)=\"onAction($event, 'add', item)\"\r\n >\r\n <li class=\"bi bi-plus\"></li>\r\n </span>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n <!-- treeView as form control -->\r\n <div *ngIf=\"treeview && treeViewAsFormControl\" class=\"tree-view-container\">\r\n <div\r\n class=\"text-nowrap row-item treeview-row-form-control\"\r\n [ngClass]=\"{ 'selected-form-control': item.value == selectedItem }\"\r\n >\r\n <i\r\n *ngIf=\"item.children\"\r\n (click)=\"onCollapsed(item)\"\r\n aria-hidden=\"true\"\r\n [ngSwitch]=\"item.collapsed\"\r\n >\r\n <span\r\n *ngSwitchCase=\"true\"\r\n class=\"bi bi-caret-{{ arabic ? 'left' : 'right' }}-fill caret-icon\"\r\n ></span>\r\n \r\n <span\r\n *ngSwitchCase=\"false\"\r\n class=\"bi bi-caret-down-fill caret-icon\"\r\n ></span>\r\n </i>\r\n <label class=\"form-check-label-treeview\" (click)=\"select(item)\"\r\n >{{ item.text }}\r\n </label>\r\n </div>\r\n </div>\r\n</ng-template>\r\n<ng-template\r\n #headerTemplate\r\n let-config=\"config\"\r\n let-item=\"item\"\r\n let-onCollapseExpand=\"onCollapseExpand\"\r\n let-onCheckedChange=\"onCheckedChange\"\r\n let-onFilterTextChange=\"onFilterTextChange\"\r\n>\r\n <div *ngIf=\"config.hasFilter\" class=\"row row-filter\">\r\n <div class=\"col-12\">\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n [placeholder]=\"i18n.getFilterPlaceholder(placeholder)\"\r\n [(ngModel)]=\"filterText\"\r\n (ngModelChange)=\"onFilterTextChange($event)\"\r\n />\r\n </div>\r\n </div>\r\n <div *ngIf=\"config.hasAllCheckBox || config.hasCollapseExpand\" class=\"row\">\r\n <div class=\"col-12\">\r\n <label *ngIf=\"config.hasAllCheckBox\" (click)=\"select(item)\">\r\n <strong>{{ i18n.getAllCheckboxText() }}</strong>\r\n </label>\r\n <label\r\n *ngIf=\"config.hasCollapseExpand\"\r\n class=\"float-right\"\r\n (click)=\"onCollapseExpand()\"\r\n >\r\n <i\r\n [title]=\"i18n.getTooltipCollapseExpandText(item.collapsed)\"\r\n aria-hidden=\"true\"\r\n [ngSwitch]=\"item.collapsed\"\r\n >\r\n <span *ngSwitchCase=\"true\" class=\"bi bi-arrows-angle-expand\"></span>\r\n <span\r\n *ngSwitchCase=\"false\"\r\n class=\"bi bi-arrows-angle-contract\"\r\n ></span>\r\n </i>\r\n </label>\r\n </div>\r\n </div>\r\n <a *ngIf=\"defaultSelect\" class=\"select-default\" (click)=\"selectDefault()\">{{'department_management.selectDefault'| translate}}</a>\r\n <div *ngIf=\"config.hasDivider\" class=\"dropdown-divider\" [ngClass]=\"{'dropdown-divider-noMargin': defaultSelect}\"></div>\r\n</ng-template>\r\n\r\n<ng-container *ngIf=\"!treeview && !multiple\">\r\n <ngx-dropdown-treeview\r\n [config]=\"config\"\r\n [headerTemplate]=\"headerTemplate\"\r\n [items]=\"items\"\r\n [itemTemplate]=\"itemTemplate\"\r\n >\r\n </ngx-dropdown-treeview\r\n></ng-container>\r\n<ng-container *ngIf=\"!treeview && multiple\">\r\n <div class=\"multiple-tree-view\">\r\n <ngx-dropdown-treeview\r\n [config]=\"config\"\r\n [items]=\"items\"\r\n [itemTemplate]=\"itemTemplate\"\r\n >\r\n </ngx-dropdown-treeview>\r\n </div>\r\n</ng-container>\r\n<ng-container *ngIf=\"treeview && !treeViewAsFormControl\">\r\n <div class=\"tree-view\">\r\n <ngx-treeview\r\n [config]=\"config\"\r\n [headerTemplate]=\"headerTemplate\"\r\n [items]=\"items\"\r\n [itemTemplate]=\"itemTemplate\"\r\n >\r\n </ngx-treeview>\r\n </div>\r\n</ng-container>\r\n<ng-container *ngIf=\"treeview && treeViewAsFormControl\">\r\n <div class=\"tree-view-form-control\">\r\n <ngx-treeview\r\n [config]=\"config\"\r\n [headerTemplate]=\"headerTemplate\"\r\n [items]=\"items\"\r\n [itemTemplate]=\"itemTemplate\"\r\n >\r\n </ngx-treeview>\r\n </div>\r\n</ng-container>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.caret-icon{color:#6c757d;font-size:14px}.multiple-treeview .mat-checkbox-ripple .mat-ripple-element,.multiple-treeview .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#33e3b7!important}.multiple-treeview .mat-checkbox-ripple .mat-ripple-element{position:fixed;left:inherit;top:inherit;transform:translate(-3px,-3px)!important}.multiple-treeview mat-checkbox .mat-checkbox-background{background-color:#d9dce2!important}.form-check-label-treeview{display:flex;align-items:center;justify-content:space-between;width:100%}.form-check-label-treeview .hoverField{display:none;align-items:center;text-align:center}.form-check-label-treeview .hoverField span{display:flex;align-items:center;justify-content:center;margin:0 3px;border:none;background-color:snow;background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:30px;width:30px;color:#fff;border-radius:5px;list-style:none;margin-inline-end:4px}.form-check-label-treeview .hoverField span .bi-plus{font-size:28px;display:flex;justify-content:center}.form-check-label-treeview .hoverField .add-btn{width:164px;padding:1px;display:flex;justify-content:center;align-items:center;font-size:13px;background-color:#0dbab5;border-radius:5px;border:0;color:#fff;--tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.form-check-label-treeview .hoverField .plus-btn{display:flex;font-size:28px;align-items:center}.selected{background-color:#f5f6f8}.selected .hoverField{display:flex!important}.selected-form-control{background-color:#d9dce2}.selected-form-control .hoverField{display:flex!important}.treeview-item .row-item{display:flex;align-items:center;padding:5px 10px}.treeview-item .row-item .multiple-checkBox{margin-inline-start:4px;margin-inline-end:4px}.treeview-item .active{background-color:#f5f6f8}.treeview-row{display:flex;align-items:center}.treeview-row:hover{background-color:#f5f6f8}.treeview-row-form-control{display:flex;align-items:center}.treeview-row-form-control:hover{background-color:#d9dce2}label{margin-bottom:0;cursor:pointer}.bi{cursor:pointer;margin-right:.3rem}ngx-treeview .treeview-container{max-height:200px!important;overflow-x:hidden;scrollbar-color:#b4bac6 transparent!important;scrollbar-width:thin!important;overflow-y:auto}ngx-treeview .select-default{display:flex;justify-content:start;font-size:13px;cursor:pointer;margin-bottom:3px;margin-top:4px}ngx-treeview .dropdown-divider-noMargin{margin-top:0!important}.tree-view ngx-treeview .treeview-container{max-height:500px!important;overflow-x:hidden}.tree-view-form-control ngx-treeview .treeview-container{max-height:300px!important;overflow-x:hidden}ngx-dropdown-treeview .dropdown .dropdown-menu{margin-top:0!important;width:100%}ngx-dropdown-treeview .dropdown .btn-outline-secondary{background-color:#8f98aa1a;border:none!important}ngx-dropdown-treeview .dropdown .btn-outline-secondary:hover{color:#6c757d!important}ngx-dropdown-treeview .dropdown .btn-outline-secondary:focus{box-shadow:none!important}ngx-dropdown-treeview .dropdown .btn-outline-secondary:active{background-color:#8f98aa1a!important;border:none!important;color:#6c757d!important}ngx-dropdown-treeview .dropdown:after{position:static!important}ngx-dropdown-treeview .show .dropdown-toggle{background-color:#8f98aa1a!important;border:none!important;color:#6c757d!important}.rtl .treeview-item .treeview-item{margin-right:2rem!important;margin-left:0!important}.rtl .row-all .col-12{text-align:right}.rtl .row-all .col-12 .pull-right{float:left!important}.rtl .form-check.form-check-inline{margin-right:0!important}.rtl .btn.dropdown-toggle{margin-right:0!important}.rtl .dropdown-menu:not(ngb-datepicker){right:0px;left:unset}.rtl .dropdown :after{margin-top:.6rem;left:.6rem;right:unset!important}.rtl ngx-treeview-item{text-align:right;direction:rtl}@media (min-width: 576px){.rtl .form-inline .form-check-input{margin:3px}}.rtl .form-inline .form-check-input{margin:3px;position:inherit}.rtl .dropdown button{text-align:right!important;direction:rtl}.rtl .fa.fa-caret-right{transform:rotate(180deg)}\n"], components: [{ type: i7.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i1.DropdownTreeviewComponent, selector: "ngx-dropdown-treeview", inputs: ["buttonClass", "config", "headerTemplate", "itemTemplate", "items"], outputs: ["selectedChange", "filterChange"] }, { type: i1.TreeviewComponent, selector: "ngx-treeview", inputs: ["config", "headerTemplate", "itemTemplate", "items"], outputs: ["selectedChange", "filterChange"] }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i8.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i9.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltipPosition", "matTooltipDisabled", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "translate": i11.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: TreeviewSelectComponent, decorators: [{
|
|
272
|
-
type: Component,
|
|
273
|
-
args: [{
|
|
274
|
-
selector: "app-dynamic-form-treeview-select",
|
|
275
|
-
templateUrl: "./dynamic-form-treeview-select.component.html",
|
|
276
|
-
styleUrls: ["./dynamic-form-treeview-select.component.scss"],
|
|
277
|
-
encapsulation: ViewEncapsulation.None,
|
|
278
|
-
providers: [{ provide: TreeviewI18n, useClass: DropdownTreeviewSelectI18n }],
|
|
279
|
-
}]
|
|
280
|
-
}], ctorParameters: function () { return [{ type: i1.TreeviewI18n }, { type: i2.TranslationService }, { type: i3.DepartmentApiService }, { type: i4.DepartmentManagementService }, { type: i5.RolesService }, { type: i6.NuxeoService }]; }, propDecorators: { treeview: [{
|
|
281
|
-
type: Input
|
|
282
|
-
}], treeViewAsFormControl: [{
|
|
283
|
-
type: Input
|
|
284
|
-
}], config: [{
|
|
285
|
-
type: Input
|
|
286
|
-
}], items: [{
|
|
287
|
-
type: Input
|
|
288
|
-
}], value: [{
|
|
289
|
-
type: Input
|
|
290
|
-
}], multiple: [{
|
|
291
|
-
type: Input
|
|
292
|
-
}], valueChange: [{
|
|
293
|
-
type: Output
|
|
294
|
-
}], plusClicked: [{
|
|
295
|
-
type: Output
|
|
296
|
-
}], defaultSelect: [{
|
|
297
|
-
type: Input
|
|
298
|
-
}], pp_departmentNestedTree: [{
|
|
299
|
-
type: Input
|
|
300
|
-
}], useCustomAddEditAction: [{
|
|
301
|
-
type: Input
|
|
302
|
-
}], customPrefix: [{
|
|
303
|
-
type: Input
|
|
304
|
-
}], customParentProperty: [{
|
|
305
|
-
type: Input
|
|
306
|
-
}], placeholder: [{
|
|
307
|
-
type: Input
|
|
308
|
-
}], actionClicked: [{
|
|
309
|
-
type: Output
|
|
310
|
-
}], dropdownTreeviewComponent: [{
|
|
311
|
-
type: ViewChild,
|
|
312
|
-
args: [DropdownTreeviewComponent, { static: false }]
|
|
313
|
-
}] } });
|
|
314
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tdHJlZXZpZXctc2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvZHluYW1pYy1mb3JtL2NvbXBvbmVudHMvZHluYW1pYy1mb3JtLXRyZWV2aWV3LXNlbGVjdC9kcm9wZG93bi10cmVldmlldy1zZWxlY3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9keW5hbWljLWZvcm0vY29tcG9uZW50cy9keW5hbWljLWZvcm0tdHJlZXZ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cclxuICAgICAgW2l0ZW1UZW1wbGF0ZV09XCJpdGVtVGVtcGxhdGVcIlxyXG4gICAgPlxyXG4gICAgPC9uZ3gtdHJlZXZpZXc+XHJcbiAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG48bmctY29udGFpbmVyICpuZ0lmPVwidHJlZXZpZXcgJiYgdHJlZVZpZXdBc0Zvcm1Db250cm9sXCI+XHJcbiAgPGRpdiBjbGFzcz1cInRyZWUtdmlldy1mb3JtLWNvbnRyb2xcIj5cclxuICAgIDxuZ3gtdHJlZXZpZXdcclxuICAgICAgW2NvbmZpZ109XCJjb25maWdcIlxyXG4gICAgICBbaGVhZGVyVGVtcGxhdGVdPVwiaGVhZGVyVGVtcGxhdGVcIlxyXG4gICAgICBbaXRlbXNdPVwiaXRlbXNcIlxyXG4gICAgICBbaXRlbVRlbXBsYXRlXT1cIml0ZW1UZW1wbGF0ZVwiXHJcbiAgICA+XHJcbiAgICA8L25neC10cmVldmlldz5cclxuICA8L2Rpdj5cclxuPC9uZy1jb250YWluZXI+XHJcbiJdfQ==
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { Utils } from 'formiojs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@ngx-translate/core";
|
|
5
|
-
import * as i2 from "../../../../Core/services/translation/translation.service";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
export class DynamicFormViewerComponent {
|
|
8
|
-
constructor(translate, translation) {
|
|
9
|
-
this.translate = translate;
|
|
10
|
-
this.translation = translation;
|
|
11
|
-
this.form = {};
|
|
12
|
-
this.data = null;
|
|
13
|
-
this.list = [];
|
|
14
|
-
this.isArabic = false;
|
|
15
|
-
}
|
|
16
|
-
ngOnInit() {
|
|
17
|
-
this.translation.isArabic.subscribe(res => {
|
|
18
|
-
this.isArabic = res;
|
|
19
|
-
const translations = {};
|
|
20
|
-
const translationsAr = {};
|
|
21
|
-
Utils.eachComponent(this.form.components, (comp) => {
|
|
22
|
-
this.list.push({
|
|
23
|
-
labelAr: comp.labelAr,
|
|
24
|
-
labelEn: comp.label,
|
|
25
|
-
customOptions: comp.customOptions,
|
|
26
|
-
value: this.data[this.form.prefix + ':' + comp.key],
|
|
27
|
-
type: comp.type
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
DynamicFormViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicFormViewerComponent, deps: [{ token: i1.TranslateService }, { token: i2.TranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
DynamicFormViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: DynamicFormViewerComponent, selector: "cts-dynamic-form-viewer", inputs: { form: "form", data: "data" }, ngImport: i0, template: "<div class=\"dynamic-fields-values\">\r\n <div class=\"fields-title\">\r\n {{ \"CREATE.CORRESP_FORM_VIEWER\" | translate }}\r\n </div>\r\n <div class=\"values-wrapper\">\r\n <div class=\"single-field-value\" *ngFor=\"let item of list\">\r\n <div class=\"title\" *ngIf=\"!isArabic\">{{ item.labelEn }}</div>\r\n <div class=\"title\" *ngIf=\"isArabic\">{{ item.labelAr }}</div>\r\n <ng-container [ngSwitch]=\"item?.type\">\r\n <ng-container *ngSwitchCase=\"'vocabulary'\">\r\n <div class=\"value\">{{ 'vocabulary.' + item.customOptions.vocId + '.' + item.value | translate}}</div> \r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'toggle'\">\r\n <div class=\"value\">{{ '' + item.value | translate}}</div> \r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"value\">{{ item.value}}</div> \r\n </ng-container>\r\n </ng-container>\r\n \r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".dynamic-fields-values .fields-title{font-size:14px;font-weight:bold}.dynamic-fields-values .values-wrapper{border:1px solid #d9dce2;padding:5px 10px}.dynamic-fields-values .values-wrapper .single-field-value{padding:10px 0;display:flex;border-bottom:1px solid #e2e6ec}.dynamic-fields-values .values-wrapper .single-field-value .title{font-size:12px;font-weight:500;width:140px;word-break:break-word}.dynamic-fields-values .values-wrapper .single-field-value .value{font-size:12px;width:calc(100% - 140px);word-break:break-word}.dynamic-fields-values .values-wrapper .single-field-value:last-child{border-bottom:none}\n"], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "translate": i1.TranslatePipe } });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicFormViewerComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: 'cts-dynamic-form-viewer',
|
|
39
|
-
templateUrl: './dynamic-form-viewer.component.html',
|
|
40
|
-
styleUrls: ['./dynamic-form-viewer.component.scss']
|
|
41
|
-
}]
|
|
42
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.TranslationService }]; }, propDecorators: { form: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], data: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1mb3JtLXZpZXdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wc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