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,282 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Optional, Self, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/dynamic-form-update.service";
|
|
4
|
-
import * as i2 from "@ngx-translate/core";
|
|
5
|
-
import * as i3 from "@angular/forms";
|
|
6
|
-
import * as i4 from "@angular/common";
|
|
7
|
-
import * as i5 from "../../../../directive/clickOutSide/click-outside.directive";
|
|
8
|
-
import * as i6 from "@angular/material/form-field";
|
|
9
|
-
/**
|
|
10
|
-
* A text field input that can be used inside reactive or template driven forms
|
|
11
|
-
* @title
|
|
12
|
-
* Text Field
|
|
13
|
-
* @example
|
|
14
|
-
* <app-dynamic-form-textitem
|
|
15
|
-
* [horizontalAlign]="false"
|
|
16
|
-
* formControlName="controlName"
|
|
17
|
-
* [placeholder]="'PATH.TO.PLACEHOLDER.STRING'"
|
|
18
|
-
* ></app-dynamic-form-textitem>
|
|
19
|
-
*/
|
|
20
|
-
export class DynamicFormTextItemComponent {
|
|
21
|
-
constructor(dynamicFormUpdateService, translate, control) {
|
|
22
|
-
this.dynamicFormUpdateService = dynamicFormUpdateService;
|
|
23
|
-
this.translate = translate;
|
|
24
|
-
this.control = control;
|
|
25
|
-
this.autoComplete = false; // to get suggestions from backend when user type some letters
|
|
26
|
-
this.nativeAutoComplete = 'off'; // to get suggestions from browser natively
|
|
27
|
-
this.autoComplete_pageProvider = '';
|
|
28
|
-
this.autoComplete_propertyName = '';
|
|
29
|
-
this.autoComplete_propertyKey = '';
|
|
30
|
-
this.autoCompleteValueKey = '';
|
|
31
|
-
this.autoCompleteType = 'percentage';
|
|
32
|
-
/** input type */
|
|
33
|
-
this.type = 'text';
|
|
34
|
-
/** is Editable */
|
|
35
|
-
this.editable = true;
|
|
36
|
-
/** Placeholder string */
|
|
37
|
-
this.placeholder = '';
|
|
38
|
-
/** is disabled */
|
|
39
|
-
this.disabled = false;
|
|
40
|
-
/** @deprecated */
|
|
41
|
-
this.displayEmpty = true;
|
|
42
|
-
/** should prevent space */
|
|
43
|
-
this.preventSpace = false;
|
|
44
|
-
this.maxCharsNum = null;
|
|
45
|
-
this.inEdit = false;
|
|
46
|
-
this.showsuggestedOptions = false;
|
|
47
|
-
this.onChange = () => { };
|
|
48
|
-
this.onTouched = () => { };
|
|
49
|
-
this.documentList = [];
|
|
50
|
-
this.control.valueAccessor = this;
|
|
51
|
-
this.valueSeparator = DynamicFormTextItemComponent.DEFAULT_SEPARATOR;
|
|
52
|
-
}
|
|
53
|
-
isRequired() {
|
|
54
|
-
if (!this.control.control.validator) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
const validator = this.control.control.validator({});
|
|
58
|
-
return validator && validator.required;
|
|
59
|
-
}
|
|
60
|
-
writeValue(obj) {
|
|
61
|
-
this.editedValue = obj;
|
|
62
|
-
//this.property.value = obj;
|
|
63
|
-
// throw new Error('Method not implemented.');
|
|
64
|
-
}
|
|
65
|
-
get invalid() {
|
|
66
|
-
return this.control ? this.control.invalid : false;
|
|
67
|
-
}
|
|
68
|
-
get showError() {
|
|
69
|
-
if (!this.control) {
|
|
70
|
-
return false;
|
|
71
|
-
}
|
|
72
|
-
const { dirty, touched } = this.control;
|
|
73
|
-
return this.invalid ? dirty || touched : false;
|
|
74
|
-
}
|
|
75
|
-
registerOnChange(fn) {
|
|
76
|
-
this.onChange = fn;
|
|
77
|
-
}
|
|
78
|
-
registerOnTouched(fn) {
|
|
79
|
-
this.onTouched = fn;
|
|
80
|
-
}
|
|
81
|
-
setDisabledState(isDisabled) {
|
|
82
|
-
this.disabled = isDisabled;
|
|
83
|
-
}
|
|
84
|
-
ngOnChanges() {
|
|
85
|
-
/*this.editedValue = this.property.multiline
|
|
86
|
-
? this.property.displayValue
|
|
87
|
-
: this.property.value;*/
|
|
88
|
-
}
|
|
89
|
-
showProperty() {
|
|
90
|
-
return this.displayEmpty || !this.property.isEmpty();
|
|
91
|
-
}
|
|
92
|
-
showClickableIcon() {
|
|
93
|
-
return this.hasIcon() && this.editable;
|
|
94
|
-
}
|
|
95
|
-
isEditable() {
|
|
96
|
-
return this.editable;
|
|
97
|
-
}
|
|
98
|
-
isDisabled() {
|
|
99
|
-
return this.disabled;
|
|
100
|
-
}
|
|
101
|
-
isClickable() {
|
|
102
|
-
return !!this.property.clickable;
|
|
103
|
-
}
|
|
104
|
-
hasIcon() {
|
|
105
|
-
return !!this.property.icon;
|
|
106
|
-
}
|
|
107
|
-
hasErrors() {
|
|
108
|
-
return this.showError;
|
|
109
|
-
}
|
|
110
|
-
allowSpace(e) {
|
|
111
|
-
if (this.preventSpace) {
|
|
112
|
-
e.preventDefault();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
setEditMode(editStatus) {
|
|
116
|
-
this.inEdit = editStatus;
|
|
117
|
-
setTimeout(() => {
|
|
118
|
-
var _a, _b;
|
|
119
|
-
if (this.editorInput) {
|
|
120
|
-
(_b = (_a = this.editorInput) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.click();
|
|
121
|
-
}
|
|
122
|
-
}, 0);
|
|
123
|
-
}
|
|
124
|
-
reset(event) {
|
|
125
|
-
// event.stopPropagation();
|
|
126
|
-
/*this.editedValue = this.property.multiline
|
|
127
|
-
? this.property.displayValue
|
|
128
|
-
: this.property.value;*/
|
|
129
|
-
this.setEditMode(false);
|
|
130
|
-
this.resetErrorMessages();
|
|
131
|
-
}
|
|
132
|
-
resetErrorMessages() {
|
|
133
|
-
this.errorMessages = [];
|
|
134
|
-
}
|
|
135
|
-
update(event) {
|
|
136
|
-
// event.stopPropagation();
|
|
137
|
-
const updatedValue = this.prepareValueForUpload(this.property, this.editedValue);
|
|
138
|
-
// this.property.value = updatedValue;
|
|
139
|
-
this.onChange(updatedValue);
|
|
140
|
-
this.onTouched();
|
|
141
|
-
// this.dynamicFormUpdateService.update(this.property, updatedValue);
|
|
142
|
-
this.setEditMode(false);
|
|
143
|
-
this.resetErrorMessages();
|
|
144
|
-
}
|
|
145
|
-
prepareValueForUpload(property, value) {
|
|
146
|
-
return value;
|
|
147
|
-
}
|
|
148
|
-
onTextAreaInputChange() {
|
|
149
|
-
this.errorMessages = this.property.getValidationErrors(this.editedValue);
|
|
150
|
-
}
|
|
151
|
-
clicked() {
|
|
152
|
-
if (typeof this.property.clickCallBack === 'function') {
|
|
153
|
-
this.property.clickCallBack();
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.dynamicFormUpdateService.clicked(this.property);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
selectItem(title) {
|
|
160
|
-
this.editedValue = title;
|
|
161
|
-
this.update(null);
|
|
162
|
-
this.showsuggestedOptions = false;
|
|
163
|
-
this.documentList = [];
|
|
164
|
-
}
|
|
165
|
-
waitUntilUserFinishTyping() {
|
|
166
|
-
if (this.delayedAction) {
|
|
167
|
-
clearTimeout(this.delayedAction);
|
|
168
|
-
this.delayedAction = setTimeout(() => {
|
|
169
|
-
this.onSearchInputChange();
|
|
170
|
-
}, 1500);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
this.delayedAction = setTimeout(() => {
|
|
174
|
-
this.onSearchInputChange();
|
|
175
|
-
}, 1500);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
onSearchInputChange() {
|
|
179
|
-
if (this.autoComplete) {
|
|
180
|
-
let val = this.editorInput.nativeElement.value;
|
|
181
|
-
let params = {
|
|
182
|
-
currentPageIndex: 0,
|
|
183
|
-
offset: 0,
|
|
184
|
-
pageSize: 40,
|
|
185
|
-
pageProvider: this.autoComplete_pageProvider,
|
|
186
|
-
};
|
|
187
|
-
// params[this.autoComplete_propertyName] = (val) ? `%${val}%` : '';
|
|
188
|
-
if (this.autoCompleteType == "caseSensitive" && val) {
|
|
189
|
-
let result = this.ToCaseInsensitive(val);
|
|
190
|
-
params[this.autoComplete_propertyName] = result;
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
if (this.autoCompleteType == "percentage" && val) {
|
|
194
|
-
params[this.autoComplete_propertyName] = '%' + val + '%';
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
params[this.autoComplete_propertyName] = '';
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
this.dynamicFormUpdateService
|
|
201
|
-
.getTextBoxSuggestionResults(this.autoComplete_pageProvider, params, this.autoComplete_propertyKey, this.autoCompleteValueKey)
|
|
202
|
-
.subscribe((data) => {
|
|
203
|
-
this.documentList = data.filter((option) => option.title.toLowerCase().includes(val.toLowerCase()));
|
|
204
|
-
this.showsuggestedOptions = true;
|
|
205
|
-
return this.documentList;
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
openOptions(value) {
|
|
210
|
-
if (this.autoComplete) {
|
|
211
|
-
this.showsuggestedOptions = value;
|
|
212
|
-
if (!this.documentList.length && value) {
|
|
213
|
-
this.onSearchInputChange();
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
ToCaseInsensitive(orginalText) {
|
|
218
|
-
let result = "";
|
|
219
|
-
let orginalTextLowerCase = orginalText.toLowerCase();
|
|
220
|
-
for (let i = 0; i < orginalTextLowerCase.length; i++) {
|
|
221
|
-
if (orginalTextLowerCase.charAt(i) >= 'a' && orginalTextLowerCase.charAt(i) <= 'z')
|
|
222
|
-
result = result + "[" + orginalTextLowerCase.charAt(i) + orginalTextLowerCase.charAt(i).toUpperCase() + "]";
|
|
223
|
-
else
|
|
224
|
-
result = result + orginalText.charAt(i);
|
|
225
|
-
}
|
|
226
|
-
return ".*" + result + ".*";
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
DynamicFormTextItemComponent.DEFAULT_SEPARATOR = ', ';
|
|
230
|
-
DynamicFormTextItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicFormTextItemComponent, deps: [{ token: i1.DynamicFormUpdateService }, { token: i2.TranslateService }, { token: i3.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
231
|
-
DynamicFormTextItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: DynamicFormTextItemComponent, selector: "app-dynamic-form-textitem", inputs: { autoComplete: "autoComplete", nativeAutoComplete: "nativeAutoComplete", autoComplete_pageProvider: "autoComplete_pageProvider", autoComplete_propertyName: "autoComplete_propertyName", autoComplete_propertyKey: "autoComplete_propertyKey", autoCompleteValueKey: "autoCompleteValueKey", autoCompleteType: "autoCompleteType", type: "type", property: "property", label: "label", editable: "editable", placeholder: "placeholder", disabled: "disabled", displayEmpty: "displayEmpty", preventSpace: "preventSpace", id: "id", maxCharsNum: "maxCharsNum" }, viewQueries: [{ propertyName: "editorInput", first: true, predicate: ["editorInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"app-property-value\">\r\n <div class=\"app-input-wrapper\">\r\n <label *ngIf=\"label\" for=\"formGroupInputSmall\"\r\n >{{ label | translate\r\n }}<span *ngIf=\"isRequired()\" class=\"text-danger m-1\">*</span></label\r\n >\r\n <div class=\"\">\r\n <ng-container *ngIf=\"isEditable(); else readOnly\">\r\n <div class=\"new-one\" (clickOutside)=\"openOptions(false)\">\r\n <input\r\n \r\n [id]=\"id\"\r\n [attr.disabled]=\"isDisabled() || null\"\r\n [type]=\"type\"\r\n class=\"form-control\"\r\n [ngClass]=\"{'input-filled' : editedValue }\"\r\n (keydown.space)=\"allowSpace($event)\"\r\n #editorInput\r\n [required]=\"isRequired()\"\r\n [(ngModel)]=\"editedValue\"\r\n [autocomplete]=\"nativeAutoComplete\"\r\n (ngModelChange)=\"update($event)\"\r\n (keyup)=\"waitUntilUserFinishTyping()\"\r\n [attr.data-automation-id]=\"'card-textitem-editinput-'\"\r\n placeholder=\"{{ placeholder | translate }}\"\r\n (focus)=\"openOptions(true)\"\r\n maxlength=\"{{maxCharsNum}}\"\r\n />\r\n <div *ngIf=\"documentList.length !== 0\" id=\"suggestedoptions\">\r\n <div\r\n class=\"suggestions-wrapper\"\r\n [ngClass]=\"{ 'd-block': showsuggestedOptions }\"\r\n >\r\n <div\r\n class=\"option\"\r\n id=\"suggestedoptions\"\r\n *ngFor=\"let option of documentList\"\r\n (click)=\"selectItem(option.title)\"\r\n >\r\n {{ option.title }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <mat-error\r\n [attr.data-automation-id]=\"'card-textitem-error-'\"\r\n class=\"app-textitem-editable-error\"\r\n *ngIf=\"hasErrors()\"\r\n >\r\n <ul>\r\n <li *ngIf=\"control.errors.required\">\r\n {{ label | translate }} {{ \"VALIDATORS.REQUIRED\" | translate }}\r\n </li>\r\n <li *ngIf=\"control.errors.pattern\">\r\n {{ \"wrong pattern\" | translate }}\r\n </li>\r\n <li *ngIf=\"control.errors.min\">\r\n {{ \"VALIDATORS.MIN\" | translate }} {{ control.errors.min.min }}\r\n </li>\r\n </ul>\r\n </mat-error>\r\n </ng-container>\r\n <ng-template #readOnly>\r\n {{ editedValue }}\r\n </ng-template>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".app-property-value .input-filled{border-color:#1a96c6!important}.app-property-value .app-input-wrapper label{color:#8f98aa;font-size:12px;margin-bottom:0}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;background-color:#8f98aa1a;border-radius:0;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .app-textitem-editable-error ul{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error ul li{margin-top:5px}.app-property-value .app-input-wrapper .new-one{position:relative}.app-property-value .app-input-wrapper .suggestions-wrapper{border-radius:3px;height:auto;max-height:240px;border:1px solid #ccc;box-shadow:2px 2px 2px #0000000f;overflow:auto;display:none;position:absolute;width:100%;background-color:#fff;z-index:99}.app-property-value .app-input-wrapper .suggestions-wrapper .option{margin-bottom:5px;padding:5px 10px;cursor:pointer}.app-property-value .app-input-wrapper .suggestions-wrapper .option:hover{background-color:#f5faff}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { type: i3.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: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i2.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicFormTextItemComponent, decorators: [{
|
|
233
|
-
type: Component,
|
|
234
|
-
args: [{
|
|
235
|
-
selector: 'app-dynamic-form-textitem',
|
|
236
|
-
templateUrl: './dynamic-form-textitem.component.html',
|
|
237
|
-
styleUrls: ['./dynamic-form-textitem.component.scss'],
|
|
238
|
-
encapsulation: ViewEncapsulation.None,
|
|
239
|
-
}]
|
|
240
|
-
}], ctorParameters: function () { return [{ type: i1.DynamicFormUpdateService }, { type: i2.TranslateService }, { type: i3.NgControl, decorators: [{
|
|
241
|
-
type: Self
|
|
242
|
-
}, {
|
|
243
|
-
type: Optional
|
|
244
|
-
}] }]; }, propDecorators: { autoComplete: [{
|
|
245
|
-
type: Input
|
|
246
|
-
}], nativeAutoComplete: [{
|
|
247
|
-
type: Input
|
|
248
|
-
}], autoComplete_pageProvider: [{
|
|
249
|
-
type: Input
|
|
250
|
-
}], autoComplete_propertyName: [{
|
|
251
|
-
type: Input
|
|
252
|
-
}], autoComplete_propertyKey: [{
|
|
253
|
-
type: Input
|
|
254
|
-
}], autoCompleteValueKey: [{
|
|
255
|
-
type: Input
|
|
256
|
-
}], autoCompleteType: [{
|
|
257
|
-
type: Input
|
|
258
|
-
}], type: [{
|
|
259
|
-
type: Input
|
|
260
|
-
}], property: [{
|
|
261
|
-
type: Input
|
|
262
|
-
}], label: [{
|
|
263
|
-
type: Input
|
|
264
|
-
}], editable: [{
|
|
265
|
-
type: Input
|
|
266
|
-
}], placeholder: [{
|
|
267
|
-
type: Input
|
|
268
|
-
}], disabled: [{
|
|
269
|
-
type: Input
|
|
270
|
-
}], displayEmpty: [{
|
|
271
|
-
type: Input
|
|
272
|
-
}], preventSpace: [{
|
|
273
|
-
type: Input
|
|
274
|
-
}], id: [{
|
|
275
|
-
type: Input
|
|
276
|
-
}], maxCharsNum: [{
|
|
277
|
-
type: Input
|
|
278
|
-
}], editorInput: [{
|
|
279
|
-
type: ViewChild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J1wiXHJcbiAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwie3sgcGxhY2Vob2xkZXIgfCB0cmFuc2xhdGUgfX1cIlxyXG4gICAgICAgICAgICAoZm9jdXMpPVwib3Blbk9wdGlvbnModHJ1ZSlcIlxyXG4gICAgICAgICAgICBtYXhsZW5ndGg9XCJ7e21heENoYXJzTnVtfX1cIlxyXG4gICAgICAgICAgLz5cclxuICAgICAgICAgIDxkaXYgKm5nSWY9XCJkb2N1bWVudExpc3QubGVuZ3RoICE9PSAwXCIgaWQ9XCJzdWdnZXN0ZWRvcHRpb25zXCI+XHJcbiAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICBjbGFzcz1cInN1Z2dlc3Rpb25zLXdyYXBwZXJcIlxyXG4gICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInsgJ2QtYmxvY2snOiBzaG93c3VnZ2VzdGVkT3B0aW9ucyB9XCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICAgIGNsYXNzPVwib3B0aW9uXCJcclxuICAgICAgICAgICAgICAgIGlkPVwic3VnZ2VzdGVkb3B0aW9uc1wiXHJcbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIGRvY3VtZW50TGlzdFwiXHJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwic2VsZWN0SXRlbShvcHRpb24udGl0bGUpXCJcclxuICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICB7eyBvcHRpb24udGl0bGUgfX1cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgPG1hdC1lcnJvclxyXG4gICAgICAgICAgW2F0dHIuZGF0YS1hdXRvbWF0aW9uLWlkXT1cIidjYXJkLXRleHRpdGVtLWVycm9yLSdcIlxyXG4gICAgICAgICAgY2xhc3M9XCJhcHAtdGV4dGl0ZW0tZWRpdGFibGUtZXJyb3JcIlxyXG4gICAgICAgICAgKm5nSWY9XCJoYXNFcnJvcnMoKVwiXHJcbiAgICAgICAgPlxyXG4gICAgICAgICAgPHVsPlxyXG4gICAgICAgICAgICA8bGkgKm5nSWY9XCJjb250cm9sLmVycm9ycy5yZXF1aXJlZFwiPlxyXG4gICAgICAgICAgICAgIHt7IGxhYmVsIHwgdHJhbnNsYXRlIH19IHt7IFwiVkFMSURBVE9SUy5SRVFVSVJFRFwiIHwgdHJhbnNsYXRlIH19XHJcbiAgICAgICAgICAgIDwvbGk+XHJcbiAgICAgICAgICAgIDxsaSAqbmdJZj1cImNvbnRyb2wuZXJyb3JzLnBhdHRlcm5cIj5cclxuICAgICAgICAgICAgICB7eyBcIndyb25nIHBhdHRlcm5cIiB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgICAgICAgICA8L2xpPlxyXG4gICAgICAgICAgICA8bGkgKm5nSWY9XCJjb250cm9sLmVycm9ycy5taW5cIj5cclxuICAgICAgICAgICAgICB7eyBcIlZBTElEQVRPUlMuTUlOXCIgfCB0cmFuc2xhdGUgfX0ge3sgY29udHJvbC5lcnJvcnMubWluLm1pbiB9fVxyXG4gICAgICAgICAgICA8L2xpPlxyXG4gICAgICAgICAgPC91bD5cclxuICAgICAgICA8L21hdC1lcnJvcj5cclxuICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgIDxuZy10ZW1wbGF0ZSAjcmVhZE9ubHk+XHJcbiAgICAgICAge3sgZWRpdGVkVmFsdWUgfX1cclxuICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { DefaultTreeviewI18n, } from 'ngx-treeview';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../../Core/services/translation/translation.service";
|
|
5
|
-
/** @ignore */
|
|
6
|
-
export class DropdownTreeviewSelectI18n extends DefaultTreeviewI18n {
|
|
7
|
-
constructor(translation) {
|
|
8
|
-
super();
|
|
9
|
-
this.translation = translation;
|
|
10
|
-
}
|
|
11
|
-
set selectedItem(value) {
|
|
12
|
-
this.internalSelectedItem = value;
|
|
13
|
-
}
|
|
14
|
-
get selectedItem() {
|
|
15
|
-
return this.internalSelectedItem;
|
|
16
|
-
}
|
|
17
|
-
// for multiple
|
|
18
|
-
set selectionLength(value) {
|
|
19
|
-
this.internalSelectionLength = value;
|
|
20
|
-
}
|
|
21
|
-
get selectionLength() {
|
|
22
|
-
return this.internalSelectionLength;
|
|
23
|
-
}
|
|
24
|
-
getFilterPlaceholder(val = null) {
|
|
25
|
-
let placeHolder;
|
|
26
|
-
if (!val) {
|
|
27
|
-
this.translation.isArabic.subscribe((arabic) => {
|
|
28
|
-
arabic
|
|
29
|
-
? (placeHolder = 'أدخل رمز القسم للتصفية')
|
|
30
|
-
: (placeHolder = 'Type Department Code To Filter ');
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
placeHolder = this.translation.instant(val);
|
|
35
|
-
}
|
|
36
|
-
return placeHolder;
|
|
37
|
-
}
|
|
38
|
-
getText(selection) {
|
|
39
|
-
let placeHolder;
|
|
40
|
-
let suffix;
|
|
41
|
-
this.translation.isArabic.subscribe((arabic) => {
|
|
42
|
-
arabic
|
|
43
|
-
? (placeHolder = 'الرجاء إختيار القسم')
|
|
44
|
-
: (placeHolder = 'Please select Department');
|
|
45
|
-
arabic ? (suffix = 'أقسام مختارة') : (suffix = 'Departments Selected');
|
|
46
|
-
});
|
|
47
|
-
return this.internalSelectedItem
|
|
48
|
-
? this.internalSelectedItem.text
|
|
49
|
-
: this.internalSelectionLength
|
|
50
|
-
? `${this.internalSelectionLength} ${suffix}`
|
|
51
|
-
: placeHolder;
|
|
52
|
-
}
|
|
53
|
-
getFilterNoItemsFoundText(val = null) {
|
|
54
|
-
let noItemText;
|
|
55
|
-
this.translation.isArabic.subscribe((arabic) => {
|
|
56
|
-
arabic
|
|
57
|
-
? (noItemText = 'لم يتم العثور على نتائج')
|
|
58
|
-
: (noItemText = 'No items were found');
|
|
59
|
-
});
|
|
60
|
-
return noItemText;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
DropdownTreeviewSelectI18n.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DropdownTreeviewSelectI18n, deps: [{ token: i1.TranslationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
64
|
-
DropdownTreeviewSelectI18n.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DropdownTreeviewSelectI18n });
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DropdownTreeviewSelectI18n, decorators: [{
|
|
66
|
-
type: Injectable
|
|
67
|
-
}], ctorParameters: function () { return [{ type: i1.TranslationService }]; } });
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tdHJlZXZpZXctc2VsZWN0LWkxOG4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2R5bmFtaWMtZm9ybS9jb21wb25lbnRzL2R5bmFtaWMtZm9ybS10cmVldmlldy1zZWxlY3QvZHJvcGRvd24tdHJlZXZpZXctc2VsZWN0LWkxOG4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQ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