nuxeo-development-framework 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/nuxeo-development-framework.umd.js +29449 -0
- package/bundles/nuxeo-development-framework.umd.js.map +1 -0
- package/esm2015/lib/Core/adapters/adapter.service.js +50 -0
- package/esm2015/lib/Core/core.module.js +107 -0
- package/esm2015/lib/Core/enums/language.enum.js +6 -0
- package/esm2015/lib/Core/models/component.model.js +8 -0
- package/esm2015/lib/Core/services/callApi/call-api.service.js +33 -0
- package/esm2015/lib/Core/services/extension/action.extensions.js +9 -0
- package/esm2015/lib/Core/services/extension/component-register.service.js +25 -0
- package/esm2015/lib/Core/services/extension/extenion-utils.js +115 -0
- package/esm2015/lib/Core/services/extension/extension-element.js +2 -0
- package/esm2015/lib/Core/services/extension/extension-loader.service.js +127 -0
- package/esm2015/lib/Core/services/extension/extension.service.js +120 -0
- package/esm2015/lib/Core/services/initialization/initialization.service.js +57 -0
- package/esm2015/lib/Core/services/localStorag/local-storag.service.js +123 -0
- package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +82 -0
- package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +120 -0
- package/esm2015/lib/Core/services/roles/roles.service.js +119 -0
- package/esm2015/lib/Core/services/translation/translate-loader.service.js +150 -0
- package/esm2015/lib/Core/services/translation/translation.service.js +174 -0
- package/esm2015/lib/Core/services/user/user-preferences.service.js +153 -0
- package/esm2015/lib/Core/utilities/moment-date-adapter.js +178 -0
- package/esm2015/lib/Core/utilities/utility.service.js +81 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +188 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +35 -0
- package/esm2015/lib/components/activities-log/activities-log.module.js +41 -0
- package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
- package/esm2015/lib/components/activity/activity.module.js +37 -0
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +54 -0
- package/esm2015/lib/components/attachment-item/attachment-item.module.js +44 -0
- package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +40 -0
- package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +157 -0
- package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
- package/esm2015/lib/components/avatar/avatar.module.js +32 -0
- package/esm2015/lib/components/card/card.component.js +48 -0
- package/esm2015/lib/components/card/card.module.js +23 -0
- package/esm2015/lib/components/comments/comments.module.js +82 -0
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +86 -0
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +81 -0
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +73 -0
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +63 -0
- package/esm2015/lib/components/comments/constants/comment.js +25 -0
- package/esm2015/lib/components/comments/services/comment-api.service.js +71 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +75 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +27 -0
- package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +30 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +30 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +137 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +133 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +110 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +68 -0
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +75 -0
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +111 -0
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +153 -0
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +50 -0
- package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +69 -0
- package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +140 -0
- package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +90 -0
- package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +82 -0
- package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
- package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
- package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +41 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +44 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +140 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +24 -0
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +156 -0
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +75 -0
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +252 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +974 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +30 -0
- package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +159 -0
- package/esm2015/lib/components/documents/components/documents/documents.component.js +63 -0
- package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
- package/esm2015/lib/components/documents/constants/documents.js +86 -0
- package/esm2015/lib/components/documents/documents.module.js +123 -0
- package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
- package/esm2015/lib/components/documents/services/documents.service.js +223 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +391 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +34 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +164 -0
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +552 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +177 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +43 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +137 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +27 -0
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +130 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +105 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +107 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +202 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +204 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +203 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +95 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +139 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +93 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +311 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +44 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +191 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +279 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +68 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +314 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +47 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +178 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +74 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +32 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
- package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +299 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
- package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +83 -0
- package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
- package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +323 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +61 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +238 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
- package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +39 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +34 -0
- package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +36 -0
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +59 -0
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +68 -0
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +33 -0
- package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +33 -0
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +55 -0
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +89 -0
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +61 -0
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +69 -0
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +62 -0
- package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +132 -0
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +264 -0
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +121 -0
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +91 -0
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +455 -0
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +26 -0
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +74 -0
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +114 -0
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +80 -0
- package/esm2015/lib/components/file-manger/components/move/move.component.js +110 -0
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +111 -0
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +86 -0
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +314 -0
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +294 -0
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +257 -0
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +64 -0
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +71 -0
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +358 -0
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +1040 -0
- package/esm2015/lib/components/file-manger/file-manger.module.js +295 -0
- package/esm2015/lib/components/filter/filter/filter.component.js +94 -0
- package/esm2015/lib/components/filter/filter.module.js +45 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +123 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +126 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +58 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +30 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
- package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +75 -0
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +70 -0
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +27 -0
- package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
- package/esm2015/lib/components/latest-activity/latest-activity.module.js +57 -0
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +51 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +30 -0
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +137 -0
- package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +22 -0
- package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +57 -0
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +172 -0
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +164 -0
- package/esm2015/lib/components/notifications/notifications.module.js +109 -0
- package/esm2015/lib/components/notifications/notifications.service.js +280 -0
- package/esm2015/lib/components/pagination/pagination/pagination.component.js +124 -0
- package/esm2015/lib/components/pagination/pagination.module.js +32 -0
- package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +745 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +239 -0
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +177 -0
- package/esm2015/lib/components/permissions/permission.service.js +118 -0
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +232 -0
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +117 -0
- package/esm2015/lib/components/permissions/permissions.module.js +71 -0
- package/esm2015/lib/components/select/select/select.component.js +130 -0
- package/esm2015/lib/components/select/select.module.js +37 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +47 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +27 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +116 -0
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +64 -0
- package/esm2015/lib/components/table/table/table.component.js +227 -0
- package/esm2015/lib/components/table/table.module.js +61 -0
- package/esm2015/lib/components/user/user/user.component.js +31 -0
- package/esm2015/lib/components/user/user.module.js +30 -0
- package/esm2015/lib/components/users-card/users-card.component.js +43 -0
- package/esm2015/lib/components/users-card/users-card.module.js +28 -0
- package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +33 -0
- package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
- package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +49 -0
- package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
- package/esm2015/lib/components/vocabulary/vocabulary.module.js +34 -0
- package/esm2015/lib/configuration/app-config.service.js +30 -0
- package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
- package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
- package/esm2015/lib/directive/directive.module.js +52 -0
- package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +46 -0
- package/esm2015/lib/directive/permissions/evaluators.service.js +152 -0
- package/esm2015/lib/directive/permissions/permissions.directive.js +69 -0
- package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
- package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
- package/esm2015/lib/nuxeo-development-framework.component.js +26 -0
- package/esm2015/lib/nuxeo-development-framework.module.js +50 -0
- package/esm2015/lib/nuxeo-development-framework.service.js +14 -0
- package/esm2015/lib/pipes/file-size.pipe.js +57 -0
- package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
- package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
- package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
- package/esm2015/lib/pipes/pipes.module.js +29 -0
- package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
- package/esm2015/lib/pipes/secure.pipe.js +40 -0
- package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
- package/esm2015/lib/shared/components/button/button.component.js +87 -0
- package/esm2015/lib/shared/components/item-list/item-list.component.js +77 -0
- package/esm2015/lib/shared/components/no-data/no-data.component.js +37 -0
- package/esm2015/lib/shared/components/read-more/read-more.component.js +108 -0
- package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +146 -0
- package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
- package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
- package/esm2015/lib/shared/libraryShared.module.js +81 -0
- package/esm2015/lib/shared-services/dialog-mangment.service.js +61 -0
- package/esm2015/lib/shared-services/dynamic-form.service.js +241 -0
- package/esm2015/lib/shared-services/file-manager.adapter.js +74 -0
- package/esm2015/lib/shared-services/file-manager.service.js +793 -0
- package/esm2015/lib/shared-services/global-pdftron.service.js +46 -0
- package/esm2015/lib/shared-services/mainfolder.service.js +162 -0
- package/esm2015/lib/shared-services/publishing-document.service.js +202 -0
- package/esm2015/lib/shared-services/recently-viewed.service.js +57 -0
- package/esm2015/lib/shared-services/shared-docs.service.js +135 -0
- package/esm2015/lib/shared-services/shared-services.module.js +20 -0
- package/esm2015/lib/shared-services/upload-file.service.js +29 -0
- package/esm2015/lib/shared-services/upload-managment.service.js +151 -0
- package/esm2015/lib/shared-services/user.service.js +54 -0
- package/esm2015/nuxeo-development-framework.js +5 -0
- package/esm2015/public-api.js +237 -0
- package/fesm2015/nuxeo-development-framework.js +27436 -0
- package/fesm2015/nuxeo-development-framework.js.map +1 -0
- package/lib/Core/adapters/adapter.service.d.ts +11 -0
- package/lib/Core/core.module.d.ts +14 -0
- package/lib/Core/enums/language.enum.d.ts +4 -0
- package/lib/Core/models/component.model.d.ts +6 -0
- package/lib/Core/services/callApi/call-api.service.d.ts +11 -0
- package/lib/Core/services/extension/action.extensions.d.ts +31 -0
- package/lib/Core/services/extension/component-register.service.d.ts +17 -0
- package/lib/Core/services/extension/extenion-utils.d.ts +14 -0
- package/lib/Core/services/extension/extension-element.d.ts +5 -0
- package/lib/Core/services/extension/extension-loader.service.d.ts +28 -0
- package/lib/Core/services/extension/extension.service.d.ts +70 -0
- package/lib/Core/services/initialization/initialization.service.d.ts +14 -0
- package/lib/Core/services/localStorag/local-storag.service.d.ts +41 -0
- package/lib/Core/services/nuxeo/nuxeo-override.d.ts +8 -0
- package/lib/Core/services/nuxeo/nuxeo.service.d.ts +33 -0
- package/lib/Core/services/roles/roles.service.d.ts +12 -0
- package/lib/Core/services/translation/translate-loader.service.d.ts +26 -0
- package/lib/Core/services/translation/translation.service.d.ts +74 -0
- package/lib/Core/services/user/user-preferences.service.d.ts +80 -0
- package/lib/Core/utilities/moment-date-adapter.d.ts +37 -0
- package/lib/Core/utilities/utility.service.d.ts +11 -0
- package/lib/components/activities-log/activities-log/activities-log.component.d.ts +26 -0
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +9 -0
- package/lib/components/activities-log/activities-log.module.d.ts +12 -0
- package/lib/components/activity/activity/activity.component.d.ts +13 -0
- package/lib/components/activity/activity.module.d.ts +13 -0
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +21 -0
- package/lib/components/attachment-item/attachment-item.module.d.ts +13 -0
- package/lib/components/attachment-modal/attachment-modal.module.d.ts +12 -0
- package/lib/components/attachment-modal/attachments/attachments.component.d.ts +50 -0
- package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
- package/lib/components/avatar/avatar.module.d.ts +13 -0
- package/lib/components/card/card.component.d.ts +32 -0
- package/lib/components/card/card.module.d.ts +12 -0
- package/lib/components/comments/comments.module.d.ts +26 -0
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +24 -0
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +46 -0
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +28 -0
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +22 -0
- package/lib/components/comments/constants/comment.d.ts +25 -0
- package/lib/components/comments/services/comment-api.service.d.ts +16 -0
- package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
- package/lib/components/confirm-caller/confirm-caller.module.d.ts +16 -0
- package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +10 -0
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +42 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
- package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +38 -0
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +30 -0
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +26 -0
- package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
- package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
- package/lib/components/create-entity/create-entity.module.d.ts +11 -0
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +38 -0
- package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
- package/lib/components/cts-tags/services/tags-api.service.d.ts +17 -0
- package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +30 -0
- package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
- package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
- package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +18 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +17 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +8 -0
- package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +8 -0
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +54 -0
- package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +38 -0
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
- package/lib/components/documents/components/document-scan/document-scan.component.d.ts +112 -0
- package/lib/components/documents/components/document-scan/document-scan.service.d.ts +14 -0
- package/lib/components/documents/components/document-upload/document-upload.component.d.ts +58 -0
- package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
- package/lib/components/documents/constants/document-templates.d.ts +33 -0
- package/lib/components/documents/constants/documents.d.ts +95 -0
- package/lib/components/documents/documents.module.d.ts +33 -0
- package/lib/components/documents/services/document-templates.service.d.ts +24 -0
- package/lib/components/documents/services/documents.service.d.ts +36 -0
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +66 -0
- package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +16 -0
- package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +33 -0
- package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +137 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +12 -0
- package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +55 -0
- package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +17 -0
- package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
- package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +27 -0
- package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
- package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
- package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
- package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +70 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +76 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +29 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
- package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +64 -0
- package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
- package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
- package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +41 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +85 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +13 -0
- package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +80 -0
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +40 -0
- package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
- package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +89 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +19 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +104 -0
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +16 -0
- package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +79 -0
- package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +16 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
- package/lib/components/dynamic-form/dynamic-form.module.d.ts +66 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
- package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
- package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
- package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
- package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
- package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
- package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
- package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +25 -0
- package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
- package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +98 -0
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +20 -0
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +108 -0
- package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
- package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
- package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +13 -0
- package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +11 -0
- package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
- package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +28 -0
- package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +16 -0
- package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +12 -0
- package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +30 -0
- package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +37 -0
- package/lib/components/dynamic-view/dynamic-view.module.d.ts +23 -0
- package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +15 -0
- package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +31 -0
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +41 -0
- package/lib/components/file-manger/components/copy/copy.component.d.ts +33 -0
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +24 -0
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +108 -0
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +11 -0
- package/lib/components/file-manger/components/delete/delete.component.d.ts +24 -0
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +56 -0
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +23 -0
- package/lib/components/file-manger/components/move/move.component.d.ts +33 -0
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +32 -0
- package/lib/components/file-manger/components/rename/rename.component.d.ts +24 -0
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +95 -0
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +58 -0
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +62 -0
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +34 -0
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +23 -0
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +194 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +173 -0
- package/lib/components/file-manger/file-manger.module.d.ts +59 -0
- package/lib/components/filter/filter/filter.component.d.ts +31 -0
- package/lib/components/filter/filter.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
- package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
- package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
- package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
- package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +22 -0
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +10 -0
- package/lib/components/latest-activity/constants/activitylog.d.ts +82 -0
- package/lib/components/latest-activity/latest-activity.module.d.ts +19 -0
- package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +17 -0
- package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +10 -0
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +25 -0
- package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +10 -0
- package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +19 -0
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +30 -0
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +51 -0
- package/lib/components/notifications/notifications.module.d.ts +24 -0
- package/lib/components/notifications/notifications.service.d.ts +64 -0
- package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
- package/lib/components/pagination/pagination.module.d.ts +13 -0
- package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +102 -0
- package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +33 -0
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +44 -0
- package/lib/components/permissions/permission.service.d.ts +21 -0
- package/lib/components/permissions/permissions/permissions.component.d.ts +48 -0
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +22 -0
- package/lib/components/permissions/permissions.module.d.ts +21 -0
- package/lib/components/select/select/select.component.d.ts +43 -0
- package/lib/components/select/select.module.d.ts +12 -0
- package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +13 -0
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +10 -0
- package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +33 -0
- package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +19 -0
- package/lib/components/table/table/table.component.d.ts +108 -0
- package/lib/components/table/table.module.d.ts +20 -0
- package/lib/components/user/user/user.component.d.ts +13 -0
- package/lib/components/user/user.module.d.ts +10 -0
- package/lib/components/users-card/users-card.component.d.ts +22 -0
- package/lib/components/users-card/users-card.module.d.ts +17 -0
- package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +12 -0
- package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
- package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +16 -0
- package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
- package/lib/components/vocabulary/vocabulary.module.d.ts +11 -0
- package/lib/configuration/app-config.service.d.ts +14 -0
- package/lib/configuration/helpers/app-initializer.d.ts +2 -0
- package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
- package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
- package/lib/directive/directive.module.d.ts +17 -0
- package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +11 -0
- package/lib/directive/permissions/evaluators.service.d.ts +37 -0
- package/lib/directive/permissions/permissions.directive.d.ts +42 -0
- package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
- package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
- package/lib/nuxeo-development-framework.component.d.ts +8 -0
- package/lib/nuxeo-development-framework.module.d.ts +13 -0
- package/lib/nuxeo-development-framework.service.d.ts +6 -0
- package/lib/pipes/file-size.pipe.d.ts +34 -0
- package/lib/pipes/hijri-date.pipe.d.ts +32 -0
- package/lib/pipes/localized-date.pipe.d.ts +44 -0
- package/lib/pipes/multi-value.pipe.d.ts +32 -0
- package/lib/pipes/pipes.module.d.ts +18 -0
- package/lib/pipes/secure-html.pipe.d.ts +26 -0
- package/lib/pipes/secure.pipe.d.ts +29 -0
- package/lib/pipes/time-ago.pipe.d.ts +34 -0
- package/lib/shared/components/button/button.component.d.ts +38 -0
- package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
- package/lib/shared/components/no-data/no-data.component.d.ts +21 -0
- package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
- package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +51 -0
- package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
- package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
- package/lib/shared/libraryShared.module.d.ts +26 -0
- package/lib/shared-services/dialog-mangment.service.d.ts +15 -0
- package/lib/shared-services/dynamic-form.service.d.ts +24 -0
- package/lib/shared-services/file-manager.adapter.d.ts +48 -0
- package/lib/shared-services/file-manager.service.d.ts +94 -0
- package/lib/shared-services/global-pdftron.service.d.ts +10 -0
- package/lib/shared-services/mainfolder.service.d.ts +32 -0
- package/lib/shared-services/publishing-document.service.d.ts +25 -0
- package/lib/shared-services/recently-viewed.service.d.ts +17 -0
- package/lib/shared-services/shared-docs.service.d.ts +21 -0
- package/lib/shared-services/shared-services.module.d.ts +7 -0
- package/lib/shared-services/upload-file.service.d.ts +10 -0
- package/lib/shared-services/upload-managment.service.d.ts +72 -0
- package/lib/shared-services/user.service.d.ts +12 -0
- package/nuxeo-development-framework.d.ts +5 -0
- package/package.json +70 -63
- package/public-api.d.ts +224 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/Core/adapters/adapter.service.ts +0 -46
- package/src/lib/Core/core.module.ts +0 -65
- package/src/lib/Core/enums/language.enum.ts +0 -4
- package/src/lib/Core/models/component.model.ts +0 -11
- package/src/lib/Core/services/callApi/call-api.service.ts +0 -31
- package/src/lib/Core/services/extension/action.extensions.ts +0 -35
- package/src/lib/Core/services/extension/component-register.service.ts +0 -25
- package/src/lib/Core/services/extension/extenion-utils.ts +0 -142
- package/src/lib/Core/services/extension/extension-element.ts +0 -6
- package/src/lib/Core/services/extension/extension-loader.service.ts +0 -160
- package/src/lib/Core/services/extension/extension.service.ts +0 -137
- package/src/lib/Core/services/initialization/initialization.service.ts +0 -50
- package/src/lib/Core/services/localStorag/local-storag.service.ts +0 -125
- package/src/lib/Core/services/nuxeo/nuxeo-override.ts +0 -86
- package/src/lib/Core/services/nuxeo/nuxeo.service.ts +0 -123
- package/src/lib/Core/services/roles/roles.service.spec.ts +0 -16
- package/src/lib/Core/services/roles/roles.service.ts +0 -122
- package/src/lib/Core/services/translation/translate-loader.service.ts +0 -173
- package/src/lib/Core/services/translation/translation.service.ts +0 -221
- package/src/lib/Core/services/user/user-preferences.service.ts +0 -172
- package/src/lib/Core/utilities/moment-date-adapter.ts +0 -203
- package/src/lib/Core/utilities/moment-dates-format.ts +0 -18
- package/src/lib/Core/utilities/utility.service.ts +0 -83
- package/src/lib/assets/scss/ej2/material.css +0 -1
- package/src/lib/assets/scss/mixins.scss +0 -38
- package/src/lib/assets/scss/myApp.scss +0 -487
- package/src/lib/assets/scss/variables.scss +0 -62
- package/src/lib/components/activities-log/activities-log/activities-log.component.html +0 -20
- package/src/lib/components/activities-log/activities-log/activities-log.component.scss +0 -12
- package/src/lib/components/activities-log/activities-log/activities-log.component.spec.ts +0 -25
- package/src/lib/components/activities-log/activities-log/activities-log.component.ts +0 -177
- package/src/lib/components/activities-log/activities-log/activities-log.service.ts +0 -30
- package/src/lib/components/activities-log/activities-log.module.ts +0 -23
- package/src/lib/components/activity/activity/activity.component.html +0 -28
- package/src/lib/components/activity/activity/activity.component.scss +0 -33
- package/src/lib/components/activity/activity/activity.component.spec.ts +0 -25
- package/src/lib/components/activity/activity/activity.component.ts +0 -23
- package/src/lib/components/activity/activity.module.ts +0 -24
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.html +0 -36
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.scss +0 -21
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.spec.ts +0 -25
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.ts +0 -35
- package/src/lib/components/attachment-item/attachment-item.module.ts +0 -26
- package/src/lib/components/attachment-modal/attachment-modal.module.ts +0 -24
- package/src/lib/components/attachment-modal/attachments/attachments.component.html +0 -41
- package/src/lib/components/attachment-modal/attachments/attachments.component.scss +0 -5
- package/src/lib/components/attachment-modal/attachments/attachments.component.spec.ts +0 -25
- package/src/lib/components/attachment-modal/attachments/attachments.component.ts +0 -161
- package/src/lib/components/avatar/avatar/avatar.component.html +0 -13
- package/src/lib/components/avatar/avatar/avatar.component.scss +0 -32
- package/src/lib/components/avatar/avatar/avatar.component.spec.ts +0 -25
- package/src/lib/components/avatar/avatar/avatar.component.ts +0 -50
- package/src/lib/components/avatar/avatar.module.ts +0 -21
- package/src/lib/components/card/card.component.html +0 -35
- package/src/lib/components/card/card.component.scss +0 -81
- package/src/lib/components/card/card.component.spec.ts +0 -25
- package/src/lib/components/card/card.component.ts +0 -38
- package/src/lib/components/card/card.module.ts +0 -15
- package/src/lib/components/comments/comments.module.ts +0 -48
- package/src/lib/components/comments/components/comment-item/comment-item.component.html +0 -32
- package/src/lib/components/comments/components/comment-item/comment-item.component.scss +0 -41
- package/src/lib/components/comments/components/comment-item/comment-item.component.ts +0 -70
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.html +0 -58
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.scss +0 -69
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.ts +0 -80
- package/src/lib/components/comments/components/comments-list/comments-list.component.html +0 -43
- package/src/lib/components/comments/components/comments-list/comments-list.component.scss +0 -103
- package/src/lib/components/comments/components/comments-list/comments-list.component.ts +0 -61
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +0 -22
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +0 -48
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +0 -25
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +0 -56
- package/src/lib/components/comments/constants/comment.ts +0 -25
- package/src/lib/components/comments/services/comment-api.service.ts +0 -85
- package/src/lib/components/confirm-caller/confirm-caller.dialog.html +0 -26
- package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +0 -34
- package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +0 -68
- package/src/lib/components/confirm-caller/confirm-caller.module.ts +0 -19
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.html +0 -13
- 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 +0 -25
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.ts +0 -18
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.html +0 -24
- 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 +0 -25
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.ts +0 -19
- package/src/lib/components/confirmation-dialog/confirmation-dialog.module.ts +0 -18
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.html +0 -27
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.scss +0 -34
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.ts +0 -149
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +0 -92
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.scss +0 -124
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.ts +0 -132
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.html +0 -33
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.scss +0 -42
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.ts +0 -111
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.html +0 -20
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.scss +0 -9
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.ts +0 -64
- package/src/lib/components/correspondence-relation/components/versions/versions.component.html +0 -80
- package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +0 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +0 -71
- package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +0 -59
- package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +0 -192
- package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +0 -51
- package/src/lib/components/create-entity/create-entity/create-entity.component.html +0 -18
- package/src/lib/components/create-entity/create-entity/create-entity.component.scss +0 -90
- package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +0 -25
- package/src/lib/components/create-entity/create-entity/create-entity.component.ts +0 -57
- package/src/lib/components/create-entity/create-entity.module.ts +0 -22
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +0 -57
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +0 -43
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +0 -25
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +0 -133
- package/src/lib/components/cts-tags/cts-tags.module.ts +0 -35
- package/src/lib/components/cts-tags/services/tags-api.service.ts +0 -106
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +0 -44
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +0 -91
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.spec.ts +0 -25
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.ts +0 -79
- package/src/lib/components/custom-toastr/custom-toastr.module.ts +0 -19
- package/src/lib/components/custom-toastr/interfaces/toast-type.interface.ts +0 -1
- package/src/lib/components/custom-toastr/services/custom-toastr.service.ts +0 -56
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.html +0 -37
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.scss +0 -73
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.spec.ts +0 -25
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.ts +0 -34
- package/src/lib/components/display-suitable-icon/display-suitable-icon/icon.service.ts +0 -107
- package/src/lib/components/display-suitable-icon/display-suitable-icon.module.ts +0 -16
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.html +0 -92
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.scss +0 -65
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.spec.ts +0 -25
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.ts +0 -162
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.html +0 -36
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.scss +0 -44
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.spec.ts +0 -25
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.ts +0 -77
- package/src/lib/components/documents/components/document-list/documents-list.component.html +0 -34
- package/src/lib/components/documents/components/document-list/documents-list.component.scss +0 -41
- package/src/lib/components/documents/components/document-list/documents-list.component.ts +0 -244
- package/src/lib/components/documents/components/document-scan/document-scan.component.html +0 -176
- package/src/lib/components/documents/components/document-scan/document-scan.component.scss +0 -725
- package/src/lib/components/documents/components/document-scan/document-scan.component.ts +0 -1156
- package/src/lib/components/documents/components/document-scan/document-scan.service.ts +0 -26
- package/src/lib/components/documents/components/document-upload/document-upload.component.html +0 -19
- package/src/lib/components/documents/components/document-upload/document-upload.component.scss +0 -49
- package/src/lib/components/documents/components/document-upload/document-upload.component.ts +0 -168
- package/src/lib/components/documents/components/documents/documents.component.html +0 -16
- package/src/lib/components/documents/components/documents/documents.component.scss +0 -0
- package/src/lib/components/documents/components/documents/documents.component.ts +0 -49
- package/src/lib/components/documents/constants/document-templates.ts +0 -32
- package/src/lib/components/documents/constants/documents.ts +0 -85
- package/src/lib/components/documents/documents.module.ts +0 -69
- package/src/lib/components/documents/services/document-templates.service.ts +0 -155
- package/src/lib/components/documents/services/documents.service.ts +0 -354
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.html +0 -26
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.scss +0 -35
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.spec.ts +0 -25
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.ts +0 -423
- package/src/lib/components/dynamic-chart/dynamic-chart.module.ts +0 -22
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.html +0 -4
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.scss +0 -14
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.spec.ts +0 -25
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.ts +0 -178
- package/src/lib/components/dynamic-chart/new-chart-box.ts +0 -0
- package/src/lib/components/dynamic-chart/services/chart-data.service.ts +0 -613
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.html +0 -58
- 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 +0 -25
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +0 -162
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +0 -25
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.html +0 -122
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.scss +0 -103
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.spec.ts +0 -25
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.ts +0 -124
- package/src/lib/components/dynamic-filter/dynamic-filter.module.ts +0 -19
- package/src/lib/components/dynamic-filter/services/dynamic-filter.service.ts +0 -14
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.html +0 -100
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.scss +0 -38
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.ts +0 -132
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.html +0 -3
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.scss +0 -51
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.ts +0 -109
- package/src/lib/components/dynamic-form/components/dynamic-form/fields.adapter.ts +0 -123
- package/src/lib/components/dynamic-form/components/dynamic-form/form-builder.service.ts +0 -120
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.html +0 -14
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.scss +0 -2
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.ts +0 -34
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.html +0 -15
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.scss +0 -73
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.ts +0 -161
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.html +0 -10
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.scss +0 -13
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.ts +0 -72
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.html +0 -56
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +0 -99
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +0 -210
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.ts +0 -94
- package/src/lib/components/dynamic-form/components/dynamic-form-department/constants/department.ts +0 -12
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.html +0 -36
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.scss +0 -11
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.ts +0 -230
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +0 -251
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +0 -126
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.html +0 -1
- 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 +0 -92
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.html +0 -29
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.scss +0 -54
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.ts +0 -152
- package/src/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.ts +0 -105
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.html +0 -31
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.scss +0 -5
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.ts +0 -32
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.html +0 -56
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.scss +0 -24
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.ts +0 -110
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.html +0 -27
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.scss +0 -100
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.ts +0 -117
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.html +0 -83
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.scss +0 -136
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.ts +0 -199
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.html +0 -99
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.scss +0 -177
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.ts +0 -335
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +0 -50
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.html +0 -92
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.scss +0 -132
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.ts +0 -194
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.html +0 -13
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.scss +0 -19
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.ts +0 -85
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.html +0 -27
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.scss +0 -147
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.ts +0 -213
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.html +0 -68
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.scss +0 -208
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.ts +0 -308
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.ts +0 -73
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +0 -350
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +0 -235
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +0 -246
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +0 -23
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +0 -29
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.ts +0 -39
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.html +0 -35
- 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 +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.ts +0 -175
- package/src/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.ts +0 -780
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.html +0 -2
- 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 +0 -33
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.ts +0 -22
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.html +0 -1
- 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 +0 -32
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.ts +0 -20
- 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 +0 -17
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.ts +0 -65
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.ts +0 -34
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.html +0 -10
- 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 +0 -28
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.ts +0 -34
- package/src/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.ts +0 -10
- package/src/lib/components/dynamic-form/dynamic-form.module.scss +0 -13
- package/src/lib/components/dynamic-form/dynamic-form.module.ts +0 -193
- package/src/lib/components/dynamic-form/interfaces/aspect-oriented-config.interface.ts +0 -3
- package/src/lib/components/dynamic-form/interfaces/content-metadata-config.interface.ts +0 -16
- package/src/lib/components/dynamic-form/interfaces/content-metadata.interfaces.ts +0 -26
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-arrayitem-properties.interface.ts +0 -5
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-group.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.ts +0 -16
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.ts +0 -4
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.ts +0 -12
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.ts +0 -11
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.ts +0 -13
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.ts +0 -9
- package/src/lib/components/dynamic-form/interfaces/indifferent-config.interface.ts +0 -1
- package/src/lib/components/dynamic-form/interfaces/layout-oriented-config.interface.ts +0 -17
- package/src/lib/components/dynamic-form/interfaces/organised-property-group.interface.ts +0 -7
- package/src/lib/components/dynamic-form/interfaces/preset-config.interface.ts +0 -8
- package/src/lib/components/dynamic-form/interfaces/property-group.interface.ts +0 -14
- package/src/lib/components/dynamic-form/interfaces/property.interface.ts +0 -12
- package/src/lib/components/dynamic-form/models/dynamic-form-arrayitem.model.ts +0 -26
- package/src/lib/components/dynamic-form/models/dynamic-form-baseitem.model.ts +0 -96
- package/src/lib/components/dynamic-form/models/dynamic-form-boolitem.model.ts +0 -27
- package/src/lib/components/dynamic-form/models/dynamic-form-dateitem.model.ts +0 -39
- package/src/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.ts +0 -18
- package/src/lib/components/dynamic-form/models/dynamic-form-keyvaluepairs.model.ts +0 -19
- package/src/lib/components/dynamic-form/models/dynamic-form-mapitem.model.ts +0 -17
- package/src/lib/components/dynamic-form/models/dynamic-form-selectitem.model.ts +0 -30
- package/src/lib/components/dynamic-form/models/dynamic-form-textitem.model.ts +0 -47
- package/src/lib/components/dynamic-form/services/card-item-types.service.ts +0 -55
- package/src/lib/components/dynamic-form/services/dynamic-component-mapper.service.ts +0 -86
- package/src/lib/components/dynamic-form/services/dynamic-form-update.service.ts +0 -105
- package/src/lib/components/dynamic-form/services/property-groups-translator.service.ts +0 -159
- package/src/lib/components/dynamic-form/services/vocabulary-api.service.ts +0 -32
- package/src/lib/components/dynamic-form/validators/date-validator.ts +0 -18
- package/src/lib/components/dynamic-form/validators/length-validator.ts +0 -18
- package/src/lib/components/dynamic-form/validators/regex-validator.ts +0 -16
- package/src/lib/components/dynamic-form/validators/required-validator.ts +0 -7
- package/src/lib/components/dynamic-form/validators/value-validator.ts +0 -18
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.html +0 -219
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.scss +0 -195
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.spec.ts +0 -25
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.ts +0 -316
- package/src/lib/components/dynamic-search/dynamic-search.module.ts +0 -33
- package/src/lib/components/dynamic-table/constants/documents.ts +0 -72
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.html +0 -46
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.scss +0 -33
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.spec.ts +0 -25
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.ts +0 -239
- package/src/lib/components/dynamic-table/dynamic-table.module.ts +0 -27
- package/src/lib/components/dynamic-table/services/dynamic-table.service.spec.ts +0 -16
- package/src/lib/components/dynamic-table/services/dynamic-table.service.ts +0 -10
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.html +0 -11
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.scss +0 -63
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.spec.ts +0 -25
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.ts +0 -25
- package/src/lib/components/dynamic-tabs/dynamic-tabs.module.ts +0 -20
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.html +0 -4
- 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 +0 -25
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.ts +0 -19
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.html +0 -3
- 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 +0 -25
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.ts +0 -55
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.html +0 -3
- 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 +0 -25
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.ts +0 -65
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.html +0 -14
- 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 +0 -25
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.ts +0 -28
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.html +0 -15
- 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 +0 -25
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.ts +0 -19
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.html +0 -5
- 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 +0 -25
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.ts +0 -38
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.html +0 -14
- 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 +0 -25
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.ts +0 -84
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.html +0 -4
- 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 +0 -25
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.ts +0 -44
- package/src/lib/components/dynamic-view/dynamic-view.module.ts +0 -44
- package/src/lib/components/dynamic-view/dynamic-viewe.service.ts +0 -58
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.html +0 -24
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.scss +0 -55
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.ts +0 -27
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.html +0 -34
- 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 +0 -25
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.ts +0 -139
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.html +0 -88
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.scss +0 -17
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.ts +0 -279
- package/src/lib/components/file-manger/components/copy/copy.component.html +0 -24
- 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 +0 -25
- package/src/lib/components/file-manger/components/copy/copy.component.ts +0 -129
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +0 -32
- 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 +0 -25
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.ts +0 -85
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +0 -241
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +0 -30
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.ts +0 -475
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.html +0 -39
- 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 +0 -25
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.ts +0 -19
- package/src/lib/components/file-manger/components/delete/delete.component.html +0 -25
- 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 +0 -25
- package/src/lib/components/file-manger/components/delete/delete.component.ts +0 -80
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +0 -65
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +0 -17
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.ts +0 -113
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.html +0 -31
- 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 +0 -25
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.ts +0 -72
- package/src/lib/components/file-manger/components/move/move.component.html +0 -24
- 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 +0 -25
- package/src/lib/components/file-manger/components/move/move.component.ts +0 -114
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.html +0 -45
- 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 +0 -25
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.ts +0 -98
- package/src/lib/components/file-manger/components/rename/rename.component.html +0 -28
- 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 +0 -25
- package/src/lib/components/file-manger/components/rename/rename.component.ts +0 -82
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +0 -336
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.scss +0 -9
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.ts +0 -337
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +0 -159
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.scss +0 -38
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.ts +0 -288
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.html +0 -350
- 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 +0 -25
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.ts +0 -247
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.html +0 -213
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.scss +0 -3
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.ts +0 -55
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.html +0 -26
- 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 +0 -25
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.ts +0 -74
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.html +0 -97
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.scss +0 -7
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.ts +0 -365
- package/src/lib/components/file-manger/file-manager.abstract.ts +0 -1351
- package/src/lib/components/file-manger/file-manger.module.ts +0 -154
- package/src/lib/components/filter/filter/filter.component.html +0 -79
- package/src/lib/components/filter/filter/filter.component.md +0 -68
- package/src/lib/components/filter/filter/filter.component.scss +0 -50
- package/src/lib/components/filter/filter/filter.component.spec.ts +0 -25
- package/src/lib/components/filter/filter/filter.component.ts +0 -81
- package/src/lib/components/filter/filter.module.ts +0 -27
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-date-picker.component.scss +0 -67
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.html +0 -47
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.ts +0 -99
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-date-picker.component.scss +0 -67
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.html +0 -47
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.ts +0 -102
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.html +0 -29
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.ts +0 -152
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.ts +0 -23
- package/src/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.ts +0 -35
- package/src/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.ts +0 -94
- package/src/lib/components/hijri-gregorian-datepicker/services/date-helper.service.ts +0 -28
- package/src/lib/components/hijri-gregorian-datepicker/services/ngx-hijri-gregorian-datepicker.service.ts +0 -9
- package/src/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.ts +0 -35
- package/src/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.ts +0 -26
- package/src/lib/components/hijri-gregorian-datepicker/utils/consts.ts +0 -4
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.html +0 -27
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.scss +0 -13
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.ts +0 -73
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.html +0 -36
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.scss +0 -12
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.ts +0 -78
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +0 -38
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +0 -157
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.ts +0 -19
- package/src/lib/components/latest-activity/constants/activitylog.ts +0 -80
- package/src/lib/components/latest-activity/latest-activity.module.ts +0 -33
- package/src/lib/components/latest-activity/services/activity-log.service.ts +0 -41
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.html +0 -36
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.scss +0 -32
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.spec.ts +0 -25
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.ts +0 -45
- package/src/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.ts +0 -18
- package/src/lib/components/notifications/components/notification-item/notification-item.component.html +0 -45
- package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +0 -60
- package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +0 -136
- package/src/lib/components/notifications/components/notification-options/notification-options.component.html +0 -7
- package/src/lib/components/notifications/components/notification-options/notification-options.component.scss +0 -7
- package/src/lib/components/notifications/components/notification-options/notification-options.component.ts +0 -16
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.html +0 -66
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.scss +0 -62
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.spec.ts +0 -25
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.ts +0 -55
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +0 -7
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +0 -90
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +0 -190
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +0 -55
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +0 -108
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +0 -161
- package/src/lib/components/notifications/interceptors/token.interceptor.ts +0 -37
- package/src/lib/components/notifications/notifications.module.ts +0 -67
- package/src/lib/components/notifications/notifications.service.ts +0 -300
- package/src/lib/components/pagination/pagination/pagination.component.html +0 -33
- package/src/lib/components/pagination/pagination/pagination.component.scss +0 -46
- package/src/lib/components/pagination/pagination/pagination.component.spec.ts +0 -25
- package/src/lib/components/pagination/pagination/pagination.component.ts +0 -132
- package/src/lib/components/pagination/pagination.module.ts +0 -21
- package/src/lib/components/pdf-tron/pdf-tron.module.ts +0 -16
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.html +0 -1
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.scss +0 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.spec.ts +0 -25
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.ts +0 -782
- package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +0 -236
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +0 -149
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.scss +0 -159
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.spec.ts +0 -25
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.ts +0 -198
- package/src/lib/components/permissions/permission.service.ts +0 -151
- package/src/lib/components/permissions/permissions/permissions.component.html +0 -129
- package/src/lib/components/permissions/permissions/permissions.component.scss +0 -0
- package/src/lib/components/permissions/permissions/permissions.component.spec.ts +0 -25
- package/src/lib/components/permissions/permissions/permissions.component.ts +0 -227
- package/src/lib/components/permissions/permissions-template/permissions-template.component.html +0 -47
- package/src/lib/components/permissions/permissions-template/permissions-template.component.scss +0 -7
- package/src/lib/components/permissions/permissions-template/permissions-template.component.spec.ts +0 -25
- package/src/lib/components/permissions/permissions-template/permissions-template.component.ts +0 -104
- package/src/lib/components/permissions/permissions.module.ts +0 -39
- package/src/lib/components/select/select/select.component.html +0 -64
- package/src/lib/components/select/select/select.component.scss +0 -144
- package/src/lib/components/select/select/select.component.spec.ts +0 -25
- package/src/lib/components/select/select/select.component.ts +0 -116
- package/src/lib/components/select/select.module.ts +0 -22
- package/src/lib/components/select-users-by-department/select-users-by-department.module.ts +0 -27
- package/src/lib/components/select-users-by-department/select-users-by-departments/department-management.service.ts +0 -27
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.html +0 -88
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.scss +0 -15
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.spec.ts +0 -25
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.ts +0 -105
- package/src/lib/components/table/dynamic-column/dynamic-column.component.ts +0 -79
- package/src/lib/components/table/table/table.component.html +0 -377
- package/src/lib/components/table/table/table.component.scss +0 -507
- package/src/lib/components/table/table/table.component.spec.ts +0 -25
- package/src/lib/components/table/table/table.component.ts +0 -195
- package/src/lib/components/table/table.module.ts +0 -35
- package/src/lib/components/user/user/user.component.html +0 -15
- package/src/lib/components/user/user/user.component.scss +0 -0
- package/src/lib/components/user/user/user.component.spec.ts +0 -25
- package/src/lib/components/user/user/user.component.ts +0 -19
- package/src/lib/components/user/user.module.ts +0 -18
- package/src/lib/components/users-card/users-card.component.html +0 -20
- package/src/lib/components/users-card/users-card.component.scss +0 -16
- package/src/lib/components/users-card/users-card.component.ts +0 -30
- package/src/lib/components/users-card/users-card.module.ts +0 -19
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.html +0 -9
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.scss +0 -12
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.spec.ts +0 -25
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.ts +0 -25
- package/src/lib/components/viewer-log/viewer-log.module.ts +0 -12
- package/src/lib/components/vocabulary/interfaces/op-type.interface.ts +0 -4
- package/src/lib/components/vocabulary/services/vocabulary-api.service.ts +0 -46
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.html +0 -12
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.scss +0 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.spec.ts +0 -25
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.ts +0 -80
- package/src/lib/components/vocabulary/vocabulary.module.ts +0 -20
- package/src/lib/configuration/app-config.service.ts +0 -26
- package/src/lib/configuration/configuration.module.ts +0 -12
- package/src/lib/configuration/helpers/app-initializer.ts +0 -5
- package/src/lib/directive/app-has-role/app-has-role.directive.ts +0 -62
- package/src/lib/directive/clickOutSide/click-outside.directive.ts +0 -20
- package/src/lib/directive/directive.module.ts +0 -36
- package/src/lib/directive/drag-and-drop/drag-and-drop.directive.ts +0 -37
- package/src/lib/directive/permissions/evaluators.service.ts +0 -148
- package/src/lib/directive/permissions/permissions.directive.ts +0 -74
- package/src/lib/directive/rtl/set-dir-rtl.directive.ts +0 -25
- package/src/lib/directive/rtl/set-rtl.directive.ts +0 -26
- package/src/lib/nuxeo-development-framework.component.ts +0 -20
- package/src/lib/nuxeo-development-framework.module.ts +0 -31
- package/src/lib/nuxeo-development-framework.service.ts +0 -9
- package/src/lib/pipes/file-size.pipe.ts +0 -61
- package/src/lib/pipes/hijri-date.pipe.ts +0 -40
- package/src/lib/pipes/localized-date.pipe.ts +0 -80
- package/src/lib/pipes/multi-value.pipe.ts +0 -39
- package/src/lib/pipes/pipes.module.ts +0 -20
- package/src/lib/pipes/secure-html.pipe.ts +0 -27
- package/src/lib/pipes/secure.pipe.ts +0 -37
- package/src/lib/pipes/time-ago.pipe.ts +0 -68
- package/src/lib/shared/components/button/button.component.html +0 -13
- package/src/lib/shared/components/button/button.component.scss +0 -102
- package/src/lib/shared/components/button/button.component.spec.ts +0 -25
- package/src/lib/shared/components/button/button.component.ts +0 -87
- package/src/lib/shared/components/item-list/item-list.component.html +0 -37
- package/src/lib/shared/components/item-list/item-list.component.scss +0 -62
- package/src/lib/shared/components/item-list/item-list.component.spec.ts +0 -25
- package/src/lib/shared/components/item-list/item-list.component.ts +0 -69
- package/src/lib/shared/components/no-data/no-data.component.html +0 -3
- package/src/lib/shared/components/no-data/no-data.component.scss +0 -13
- package/src/lib/shared/components/no-data/no-data.component.spec.ts +0 -25
- package/src/lib/shared/components/no-data/no-data.component.ts +0 -26
- package/src/lib/shared/components/read-more/read-more.component.ts +0 -86
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.html +0 -24
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.scss +0 -50
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.spec.ts +0 -25
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.ts +0 -153
- package/src/lib/shared/components/spinner/spinner.component.html +0 -10
- package/src/lib/shared/components/spinner/spinner.component.scss +0 -11
- package/src/lib/shared/components/spinner/spinner.component.spec.ts +0 -25
- package/src/lib/shared/components/spinner/spinner.component.ts +0 -25
- package/src/lib/shared/components/user-card/user-card.component.html +0 -21
- package/src/lib/shared/components/user-card/user-card.component.scss +0 -42
- package/src/lib/shared/components/user-card/user-card.component.spec.ts +0 -25
- package/src/lib/shared/components/user-card/user-card.component.ts +0 -42
- package/src/lib/shared/libraryShared.module.ts +0 -47
- package/src/lib/shared-services/dialog-mangment.service.ts +0 -62
- package/src/lib/shared-services/dynamic-form.service.ts +0 -252
- package/src/lib/shared-services/file-manager.adapter.ts +0 -69
- package/src/lib/shared-services/file-manager.service.ts +0 -1074
- package/src/lib/shared-services/global-pdftron.service.ts +0 -50
- package/src/lib/shared-services/mainfolder.service.ts +0 -220
- package/src/lib/shared-services/publishing-document.service.ts +0 -242
- package/src/lib/shared-services/recently-viewed.service.ts +0 -55
- package/src/lib/shared-services/shared-docs.service.ts +0 -173
- package/src/lib/shared-services/shared-services.module.ts +0 -12
- package/src/lib/shared-services/upload-file.service.ts +0 -26
- package/src/lib/shared-services/upload-managment.service.ts +0 -148
- package/src/lib/shared-services/user.service.ts +0 -49
- package/src/public-api.ts +0 -274
- package/src/test.ts +0 -26
- package/tsconfig.doc.json +0 -4
- package/tsconfig.lib.json +0 -21
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
- /package/{src/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.ts → lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts} +0 -0
- /package/{src/lib/components/dynamic-form/models/dynamic-form.models.ts → lib/components/dynamic-form/models/dynamic-form.models.d.ts} +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Injectable, EventEmitter, Inject } from '@angular/core';
|
|
2
|
+
import { from } from 'rxjs';
|
|
3
|
+
import { catchError } from 'rxjs/operators';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../Core/services/nuxeo/nuxeo.service";
|
|
6
|
+
export class PermissionService {
|
|
7
|
+
constructor(nuxeoService, environment) {
|
|
8
|
+
this.nuxeoService = nuxeoService;
|
|
9
|
+
this.environment = environment;
|
|
10
|
+
this.disableClickOutSide = false;
|
|
11
|
+
this.departmentUsers = [];
|
|
12
|
+
this.createAndAddAnother = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
getPermissionsForDocument(uid) {
|
|
15
|
+
return from(this.nuxeoService.nuxeoClient
|
|
16
|
+
.request(`/id/${uid}`)
|
|
17
|
+
.queryParams({
|
|
18
|
+
"fetch-acls": 'username,creator,extended',
|
|
19
|
+
"depth": 'children',
|
|
20
|
+
"time": '1635249129268'
|
|
21
|
+
})
|
|
22
|
+
.get({
|
|
23
|
+
headers: {
|
|
24
|
+
'enrichers-document': "acls, permissions, userVisiblePermissions",
|
|
25
|
+
'Content-Type': "application/json",
|
|
26
|
+
"accept": "text/plain,application/json, application/json",
|
|
27
|
+
},
|
|
28
|
+
})).pipe(catchError((err) => {
|
|
29
|
+
throw err;
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
blockPermissionInheritance(uid) {
|
|
33
|
+
return from(this.nuxeoService.nuxeoClient
|
|
34
|
+
.operation('Document.BlockPermissionInheritance', {
|
|
35
|
+
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
36
|
+
})
|
|
37
|
+
.input(uid)
|
|
38
|
+
.params({
|
|
39
|
+
acl: "local",
|
|
40
|
+
})
|
|
41
|
+
.context({})
|
|
42
|
+
.execute()).pipe(catchError((err) => {
|
|
43
|
+
throw err;
|
|
44
|
+
}));
|
|
45
|
+
}
|
|
46
|
+
unblockPermissionInheritance(uid) {
|
|
47
|
+
return from(this.nuxeoService.nuxeoClient
|
|
48
|
+
.operation('Document.UnblockPermissionInheritance', {
|
|
49
|
+
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
50
|
+
})
|
|
51
|
+
.input(uid)
|
|
52
|
+
.params({
|
|
53
|
+
acl: "local",
|
|
54
|
+
})
|
|
55
|
+
.context({})
|
|
56
|
+
.execute()).pipe(catchError((err) => {
|
|
57
|
+
throw err;
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
addNewLocalPermissions(uid, formData) {
|
|
61
|
+
return from(this.nuxeoService.nuxeoClient
|
|
62
|
+
.operation('Document.AddPermission', {
|
|
63
|
+
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
64
|
+
})
|
|
65
|
+
.input(uid)
|
|
66
|
+
.params(Object.assign({}, formData))
|
|
67
|
+
.context({})
|
|
68
|
+
.execute()).pipe(catchError((err) => {
|
|
69
|
+
throw err;
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
editLocalPermissions(uid, formData) {
|
|
73
|
+
return from(this.nuxeoService.nuxeoClient
|
|
74
|
+
.operation('Document.ReplacePermission', {
|
|
75
|
+
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
76
|
+
})
|
|
77
|
+
.input(uid)
|
|
78
|
+
.params(Object.assign({}, formData))
|
|
79
|
+
.context({})
|
|
80
|
+
.execute()).pipe(catchError((err) => {
|
|
81
|
+
throw err;
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
deleteLocalPermissions(uid, param) {
|
|
85
|
+
return from(this.nuxeoService.nuxeoClient
|
|
86
|
+
.operation('Document.RemovePermission', {
|
|
87
|
+
url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
|
|
88
|
+
})
|
|
89
|
+
.input(uid)
|
|
90
|
+
.params({
|
|
91
|
+
id: param
|
|
92
|
+
})
|
|
93
|
+
.context({})
|
|
94
|
+
.execute()).pipe(catchError((err) => {
|
|
95
|
+
throw err;
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
getDepMembers(deptTitle, params = {}) {
|
|
99
|
+
return from(this.nuxeoService.nuxeoClient
|
|
100
|
+
.request(`group-members/all-members/dms_user_${deptTitle}`)
|
|
101
|
+
.queryParams(Object.assign({ q: '*' }, params))
|
|
102
|
+
.get()).pipe(catchError((err) => {
|
|
103
|
+
throw err;
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionService, deps: [{ token: i1.NuxeoService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
108
|
+
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionService, providedIn: 'root' });
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionService, decorators: [{
|
|
110
|
+
type: Injectable,
|
|
111
|
+
args: [{
|
|
112
|
+
providedIn: 'root'
|
|
113
|
+
}]
|
|
114
|
+
}], ctorParameters: function () { return [{ type: i1.NuxeoService }, { type: undefined, decorators: [{
|
|
115
|
+
type: Inject,
|
|
116
|
+
args: ['environment']
|
|
117
|
+
}] }]; } });
|
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvd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1Blcm1pc3Npb25Jbmhlcml0YW5jZScsIHtcclxuICAgICAgICAgIHVybDogYCR7dGhpcy5lbnZpcm9ubWVudC5udXhlb30ke3RoaXMuZW52aXJvbm1lbnQuY3VzdG9tQXV0b21hdGlvbn1gLFxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmlucHV0KHVpZClcclxuICAgICAgICAucGFyYW1zKHtcclxuICAgICAgICAgIGFjbDogXCJsb2NhbFwiLFxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNvbnRleHQoe30pXHJcbiAgICAgICAgLmV4ZWN1dGUoKVxyXG5cclxuICAgICkucGlwZShcclxuICAgICAgY2F0Y2hFcnJvcigoZXJyKSA9PiB7XHJcbiAgICAgICAgdGhyb3cgZXJyO1xyXG4gICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcblxyXG4gIHVuYmxvY2tQZXJtaXNzaW9uSW5oZXJpdGFuY2UodWlkOiBhbnkpIHtcclxuICAgIHJldHVybiBmcm9tKFxyXG4gICAgICB0aGlzLm51eGVvU2VydmljZS5udXhlb0NsaWVudFxyXG4gICAgICAgIC5vcGVyYXRpb24oJ0RvY3VtZW50LlVuYmxvY2tQZXJtaXNzaW9uSW5oZXJpdGFuY2UnLCB7XHJcbiAgICAgICAgICB1cmw6IGAke3RoaXMuZW52aXJvbm1lbnQubnV4ZW99JHt0aGlzLmVudmlyb25tZW50LmN1c3RvbUF1dG9tYXRpb259YCxcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5pbnB1dCh1aWQpXHJcbiAgICAgICAgLnBhcmFtcyh7XHJcbiAgICAgICAgICBhY2w6IFwibG9jYWxcIixcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jb250ZXh0KHt9KVxyXG4gICAgICAgIC5leGVjdXRlKClcclxuXHJcbiAgICApLnBpcGUoXHJcbiAgICAgIGNhdGNoRXJyb3IoKGVycikgPT4ge1xyXG4gICAgICAgIHRocm93IGVycjtcclxuICAgICAgfSlcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBhZGROZXdMb2NhbFBlcm1pc3Npb25zKHVpZCxmb3JtRGF0YTogYW55KSB7XHJcbiAgICByZXR1cm4gZnJvbShcclxuICAgICAgdGhpcy5udXhlb1NlcnZpY2UubnV4ZW9DbGllbnRcclxuICAgICAgICAub3BlcmF0aW9uKCdEb2N1bWVudC5BZGRQZXJtaXNzaW9uJywge1xyXG4gICAgICAgICAgdXJsOiBgJHt0aGlzLmVudmlyb25tZW50Lm51eGVvfSR7dGhpcy5lbnZpcm9ubWVudC5jdXN0b21BdXRvbWF0aW9ufWAsXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuaW5wdXQodWlkKVxyXG4gICAgICAgIC5wYXJhbXMoe1xyXG4gICAgICAgICAgLi4uZm9ybURhdGFcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jb250ZXh0KHt9KVxyXG4gICAgICAgIC5leGVjdXRlKClcclxuXHJcbiAgICApLnBpcGUoXHJcbiAgICAgIGNhdGNoRXJyb3IoKGVycikgPT4ge1xyXG4gICAgICAgIHRocm93IGVycjtcclxuICAgICAgfSlcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBlZGl0TG9jYWxQZXJtaXNzaW9ucyh1aWQsZm9ybURhdGE6IGFueSkge1xyXG4gICAgcmV0dXJuIGZyb20oXHJcbiAgICAgIHRoaXMubnV4ZW9TZXJ2aWNlLm51eGVvQ2xpZW50XHJcbiAgICAgICAgLm9wZXJhdGlvbignRG9jdW1lbnQuUmVwbGFjZVBlcm1pc3Npb24nLCB7XHJcbiAgICAgICAgICB1cmw6IGAke3RoaXMuZW52aXJvbm1lbnQubnV4ZW99JHt0aGlzLmVudmlyb25tZW50LmN1c3RvbUF1dG9tYXRpb259YCxcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5pbnB1dCh1aWQpXHJcbiAgICAgICAgLnBhcmFtcyh7XHJcbiAgICAgICAgICAuLi5mb3JtRGF0YVxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLm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IC4uLnBhcmFtcyB9KVxyXG4gICAgICAgIC5nZXQoKVxyXG4gICAgKS5waXBlKFxyXG4gICAgICBjYXRjaEVycm9yKChlcnIpID0+IHtcclxuICAgICAgICB0aHJvdyBlcnI7XHJcbiAgICAgIH0pXHJcbiAgICApO1xyXG4gIH1cclxufVxyXG5cclxuIl19
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { MatDialogConfig } from '@angular/material/dialog';
|
|
3
|
+
import { AddPermissionsDialogComponent } from '../add-permissions-dialog/add-permissions-dialog.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../permission.service";
|
|
6
|
+
import * as i2 from "@angular/material/dialog";
|
|
7
|
+
import * as i3 from "../../custom-toastr/services/custom-toastr.service";
|
|
8
|
+
import * as i4 from "../../../Core/services/translation/translation.service";
|
|
9
|
+
import * as i5 from "../../../Core/services/nuxeo/nuxeo.service";
|
|
10
|
+
import * as i6 from "../../../shared-services/user.service";
|
|
11
|
+
import * as i7 from "../../../directive/permissions/evaluators.service";
|
|
12
|
+
import * as i8 from "@angular/material/divider";
|
|
13
|
+
import * as i9 from "../permissions-template/permissions-template.component";
|
|
14
|
+
import * as i10 from "@angular/material/progress-bar";
|
|
15
|
+
import * as i11 from "@angular/material/progress-spinner";
|
|
16
|
+
import * as i12 from "@angular/common";
|
|
17
|
+
import * as i13 from "@ngx-translate/core";
|
|
18
|
+
export class PermissionsComponent {
|
|
19
|
+
constructor(permissionService, addPermissionsDialog, tosterService, translateService, nuxeoService, userServ, evaluatorService) {
|
|
20
|
+
this.permissionService = permissionService;
|
|
21
|
+
this.addPermissionsDialog = addPermissionsDialog;
|
|
22
|
+
this.tosterService = tosterService;
|
|
23
|
+
this.translateService = translateService;
|
|
24
|
+
this.nuxeoService = nuxeoService;
|
|
25
|
+
this.userServ = userServ;
|
|
26
|
+
this.evaluatorService = evaluatorService;
|
|
27
|
+
this.sourcePage = '';
|
|
28
|
+
this.subscriptions$ = [];
|
|
29
|
+
this.localPermissions = [];
|
|
30
|
+
this.inheritedPermissions = [];
|
|
31
|
+
this.departmentPermissions = [];
|
|
32
|
+
this.sharePermissions = [];
|
|
33
|
+
this.workflowPermissions = [];
|
|
34
|
+
this.status = null; //to know inherited Permissions if block or not
|
|
35
|
+
this.allowAdd_Block_DeletePermission = false;
|
|
36
|
+
this.blockOrUnblock = false;
|
|
37
|
+
this.loading = false;
|
|
38
|
+
this.allDepartmentUsers = [];
|
|
39
|
+
}
|
|
40
|
+
ngOnInit() {
|
|
41
|
+
this.subscriptions$.concat([
|
|
42
|
+
this.permissionService.createAndAddAnother.subscribe(res => {
|
|
43
|
+
this.getPermissions();
|
|
44
|
+
})
|
|
45
|
+
]);
|
|
46
|
+
this.loading = true;
|
|
47
|
+
this.checkIfUserCanDoActionsOnPermissions();
|
|
48
|
+
this.getPermissions();
|
|
49
|
+
(this.inheritedPermissions.length > 0) ? this.status = 'unblock' : this.status = 'block';
|
|
50
|
+
}
|
|
51
|
+
addPermissionLabel(arr, permissionArr) {
|
|
52
|
+
arr.forEach(element => {
|
|
53
|
+
if (!this.isItemContainAdministratorGroup(element)) {
|
|
54
|
+
element.permissionLabel = this.translateService.instant(`rights.${element.permission}`);
|
|
55
|
+
permissionArr.push(element);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
isItemContainAdministratorGroup(element) {
|
|
60
|
+
let isAdministrator = false;
|
|
61
|
+
if (element.granted === false) {
|
|
62
|
+
isAdministrator = true;
|
|
63
|
+
}
|
|
64
|
+
else if (element.username && element.username['entity-type'] === 'group' && element.username.groupname === 'administrators') {
|
|
65
|
+
isAdministrator = true;
|
|
66
|
+
}
|
|
67
|
+
else if (element.username.userGroups) {
|
|
68
|
+
element.username.userGroups.map(group => {
|
|
69
|
+
if (group.name === 'administrators') {
|
|
70
|
+
isAdministrator = true;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return isAdministrator;
|
|
75
|
+
}
|
|
76
|
+
getPermissions() {
|
|
77
|
+
this.subscriptions$.concat([this.permissionService.getPermissionsForDocument(this.documentId).subscribe(res => {
|
|
78
|
+
this.permissionsType = res.contextParameters.acls;
|
|
79
|
+
this.userVisiblePermissions = res.contextParameters.userVisiblePermissions;
|
|
80
|
+
for (let p of this.permissionsType) {
|
|
81
|
+
if (p.name == 'local') {
|
|
82
|
+
this.localPermissions = [];
|
|
83
|
+
this.addPermissionLabel(p.aces, this.localPermissions);
|
|
84
|
+
this.localPermissions = this.localPermissions.map(element => {
|
|
85
|
+
if (element.creator.properties.username != this.nuxeoService.nuxeoClient.user.properties.username) {
|
|
86
|
+
element['currentUserIsPermissionOwner'] = false;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
element['currentUserIsPermissionOwner'] = true;
|
|
90
|
+
}
|
|
91
|
+
return element;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
else if (p.name == 'inherited') {
|
|
95
|
+
this.inheritedPermissions = [];
|
|
96
|
+
this.addPermissionLabel(p.aces, this.inheritedPermissions);
|
|
97
|
+
}
|
|
98
|
+
else if (p.name.includes('deptSpace')) {
|
|
99
|
+
this.departmentPermissions = [];
|
|
100
|
+
this.addPermissionLabel(p.aces, this.departmentPermissions);
|
|
101
|
+
}
|
|
102
|
+
else if (p.name.includes('share')) {
|
|
103
|
+
this.sharePermissions = [];
|
|
104
|
+
this.addPermissionLabel(p.aces, this.sharePermissions);
|
|
105
|
+
}
|
|
106
|
+
else if (p.name.includes('routing')) {
|
|
107
|
+
this.workflowPermissions = [];
|
|
108
|
+
this.addPermissionLabel(p.aces, this.workflowPermissions);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
(this.inheritedPermissions.length == 0) ? this.status = 'block' : this.status = 'unblock';
|
|
112
|
+
this.loading = false;
|
|
113
|
+
}, err => this.loading = false)]);
|
|
114
|
+
}
|
|
115
|
+
blockPermissionInheritance() {
|
|
116
|
+
this.blockOrUnblock = true;
|
|
117
|
+
this.subscriptions$.concat([this.permissionService.blockPermissionInheritance(this.documentId).subscribe(res => {
|
|
118
|
+
if (res) {
|
|
119
|
+
this.getPermissions();
|
|
120
|
+
this.tosterService.show('success', 'TOASTER.SUCCESS', "TOASTER.PERMISSION_BLOCK_SUCCESS");
|
|
121
|
+
this.blockOrUnblock = false;
|
|
122
|
+
this.status = "unblock";
|
|
123
|
+
this.inheritedPermissions = [];
|
|
124
|
+
}
|
|
125
|
+
}, err => {
|
|
126
|
+
this.blockOrUnblock = false;
|
|
127
|
+
this.tosterService.show('error', 'TOASTER.ERROR', 'TOASTER.PERMISSION_BLOCK_FAIL');
|
|
128
|
+
})]);
|
|
129
|
+
}
|
|
130
|
+
unblockPermissionInheritance() {
|
|
131
|
+
this.blockOrUnblock = true;
|
|
132
|
+
this.subscriptions$.concat([this.permissionService.unblockPermissionInheritance(this.documentId).subscribe(res => {
|
|
133
|
+
if (res) {
|
|
134
|
+
this.getPermissions();
|
|
135
|
+
this.tosterService.show('success', 'TOASTER.SUCCESS', "TOASTER.PERMISSION_UNBLOCK_SUCCESS");
|
|
136
|
+
this.status = "block";
|
|
137
|
+
this.blockOrUnblock = false;
|
|
138
|
+
}
|
|
139
|
+
}, err => {
|
|
140
|
+
this.blockOrUnblock = false;
|
|
141
|
+
this.tosterService.show('error', 'TOASTER.ERROR', 'TOASTER.PERMISSION_UNBLOCK_FAIL');
|
|
142
|
+
})]);
|
|
143
|
+
}
|
|
144
|
+
addNewLocalPermissions() {
|
|
145
|
+
this.permissionService.departmentUsers = [...this.allDepartmentUsers];
|
|
146
|
+
this.localPermissions.forEach(perm => {
|
|
147
|
+
this.permissionService.departmentUsers.forEach((user, index) => {
|
|
148
|
+
if (perm.username.properties.username === user.properties.username
|
|
149
|
+
&& perm.creator.properties.username === this.nuxeoService.nuxeoClient.user.properties.username) {
|
|
150
|
+
this.permissionService.departmentUsers.splice(index, 1);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
const dialogConfig = new MatDialogConfig();
|
|
155
|
+
dialogConfig.disableClose = false;
|
|
156
|
+
dialogConfig.autoFocus = true;
|
|
157
|
+
dialogConfig.data = {
|
|
158
|
+
id: this.documentId,
|
|
159
|
+
rights: this.userVisiblePermissions
|
|
160
|
+
};
|
|
161
|
+
dialogConfig.width = '35%';
|
|
162
|
+
dialogConfig.height = '70%';
|
|
163
|
+
// befor opening modal we diable clickout side effect to prevent details side menu from closing when clicking in the modal
|
|
164
|
+
this.permissionService.disableClickOutSide = true;
|
|
165
|
+
let dialofRef = this.addPermissionsDialog.open(AddPermissionsDialogComponent, dialogConfig);
|
|
166
|
+
dialofRef.afterClosed().subscribe(res => {
|
|
167
|
+
// return click outside effect to work to close side menu when clicking out side it
|
|
168
|
+
this.permissionService.disableClickOutSide = false;
|
|
169
|
+
if (res) {
|
|
170
|
+
this.getPermissions();
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
checkIfUserCanDoActionsOnPermissions() {
|
|
175
|
+
this.evaluatorService.evaluateRule('isManagePermissionEnabled').then(isEnabled => {
|
|
176
|
+
if (isEnabled) {
|
|
177
|
+
let userInControllerGroup = false;
|
|
178
|
+
this.nuxeoService.nuxeoClient.user.userGroups.forEach(group => {
|
|
179
|
+
if (group.name === 'dms_document_controller') {
|
|
180
|
+
userInControllerGroup = true;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
if (userInControllerGroup) {
|
|
184
|
+
let depCode = this.userServ.getUserDepartmentFromPath(this.document.path);
|
|
185
|
+
this.permissionService.getDepMembers(depCode).subscribe(res => {
|
|
186
|
+
this.permissionService.departmentUsers = res.users.map(e => {
|
|
187
|
+
e['displayLabel'] = e.properties.firstName + ' ' + e.properties.lastName;
|
|
188
|
+
return e;
|
|
189
|
+
});
|
|
190
|
+
this.allDepartmentUsers = [...this.permissionService.departmentUsers];
|
|
191
|
+
res.users.forEach(user => {
|
|
192
|
+
if (user.properties.username === this.nuxeoService.nuxeoClient.user.properties.username
|
|
193
|
+
&& this.document.type === 'DmsFolder') {
|
|
194
|
+
this.allowAdd_Block_DeletePermission = true;
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
this.allowAdd_Block_DeletePermission = false;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
this.allowAdd_Block_DeletePermission = false;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
ngOnDestroy() {
|
|
209
|
+
// return click outside effect to work to close side menu when clicking out side it
|
|
210
|
+
this.permissionService.disableClickOutSide = false;
|
|
211
|
+
this.subscriptions$.forEach(e => e.unsubscribe());
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
PermissionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionsComponent, deps: [{ token: i1.PermissionService }, { token: i2.MatDialog }, { token: i3.CustomToastrService }, { token: i4.TranslationService }, { token: i5.NuxeoService }, { token: i6.UserService }, { token: i7.EvaluatorsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
215
|
+
PermissionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: PermissionsComponent, selector: "app-permissions", inputs: { documentId: "documentId", document: "document", allowAddAndBlock: "allowAddAndBlock", sourcePage: "sourcePage" }, ngImport: i0, template: "<div class=\"h-auto mt-3 px-0 pb-4\" *ngIf=\"!loading; else loader\">\r\n <!--LocalPermission List Items-->\r\n <div *ngIf=\"sourcePage != 'myFiles'\">\r\n <div class=\"flex flex-row justify-between\">\r\n <span class=\"font-bold text-gray-500 text-base\">{{\r\n \"permission.local\" | translate\r\n }}</span>\r\n <span *ngIf=\"allowAdd_Block_DeletePermission && !inheritedPermissions.length\">\r\n <button\r\n *ngIf=\"allowAddAndBlock\"\r\n class=\"hover:text-blue-700 text-blue-500 mb-1 text-base\"\r\n (click)=\"addNewLocalPermissions()\"\r\n [disabled]=\"!permissionsType\"\r\n >\r\n {{ \"permission.new\" | translate }}\r\n </button>\r\n </span>\r\n </div>\r\n <mat-divider class=\"mat-divider\"></mat-divider>\r\n <app-permissions-template\r\n [documentId]=\"documentId\"\r\n [userVisiblePermissions]=\"userVisiblePermissions\"\r\n (getPermissions)=\"getPermissions()\"\r\n [allowDeleteAndEdit]=\"allowAdd_Block_DeletePermission\"\r\n [permissionsArray]=\"localPermissions\"\r\n *ngIf=\"localPermissions.length > 0; else nolocalPermissions\"\r\n >\r\n </app-permissions-template>\r\n </div>\r\n <ng-template #nolocalPermissions>\r\n <div class=\"single-permssion p-3 text-center\">\r\n {{ \"permission.noLocal\" | translate }}\r\n </div>\r\n </ng-template>\r\n <!--InheritedPermission List Items-->\r\n <div>\r\n <div class=\"flex flex-row justify-between mt-3\">\r\n <span class=\"font-bold text-gray-500 text-base\">{{\r\n \"permission.inherited\" | translate\r\n }}</span>\r\n <span *ngIf=\"allowAdd_Block_DeletePermission\">\r\n <button\r\n class=\"hover:text-blue-700 text-blue-500 mb-1 text-base\"\r\n *ngIf=\"status != null && allowAddAndBlock\"\r\n >\r\n <span\r\n *ngIf=\"status == 'block'; else unblock\"\r\n (click)=\"unblockPermissionInheritance()\"\r\n >\r\n {{ \"permission.unblock\" | translate }}\r\n </span>\r\n <ng-template #unblock>\r\n <span (click)=\"blockPermissionInheritance()\">\r\n {{ \"permission.block\" | translate }}\r\n </span>\r\n </ng-template>\r\n </button>\r\n </span>\r\n </div>\r\n <mat-divider class=\"mat-divider\" *ngIf=\"!blockOrUnblock\"></mat-divider>\r\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"blockOrUnblock\"></mat-progress-bar>\r\n <app-permissions-template\r\n *ngIf=\"inheritedPermissions.length > 0; else noinheritedPermissions\"\r\n [documentId]=\"documentId\"\r\n [userVisiblePermissions]=\"userVisiblePermissions\"\r\n [permissionsArray]=\"inheritedPermissions\"\r\n (getPermissions)=\"getPermissions()\"\r\n >\r\n </app-permissions-template>\r\n </div>\r\n <ng-template #noinheritedPermissions>\r\n <div class=\"single-permssion p-3 text-center\">\r\n {{\"permission.noInherited\" | translate }}</div>\r\n </ng-template>\r\n <!--departmentPermissions List Items-->\r\n <div *ngIf=\"departmentPermissions.length > 0\">\r\n <div class=\"flex flex-row justify-between\">\r\n <span class=\"font-bold text-gray-500 text-base\">{{\r\n \"permission.departmentPermissions\" | translate\r\n }}</span>\r\n </div>\r\n <mat-divider class=\"mat-divider\"></mat-divider>\r\n <app-permissions-template\r\n [documentId]=\"documentId\"\r\n [userVisiblePermissions]=\"userVisiblePermissions\"\r\n (getPermissions)=\"getPermissions()\"\r\n [permissionsArray]=\"departmentPermissions\"\r\n >\r\n </app-permissions-template>\r\n </div>\r\n <!--sharePermissions List Items-->\r\n <div *ngIf=\"sharePermissions.length > 0\">\r\n <div class=\"flex flex-row justify-between\">\r\n <span class=\"font-bold text-gray-500 text-base\">{{\r\n \"permission.sharePermissions\" | translate\r\n }}</span>\r\n </div>\r\n <mat-divider class=\"mat-divider\"></mat-divider>\r\n <app-permissions-template\r\n [documentId]=\"documentId\"\r\n [userVisiblePermissions]=\"userVisiblePermissions\"\r\n (getPermissions)=\"getPermissions()\"\r\n [permissionsArray]=\"sharePermissions\"\r\n >\r\n </app-permissions-template>\r\n </div>\r\n <!--workflowPermissions List Items-->\r\n <div *ngIf=\"workflowPermissions.length > 0\">\r\n <div class=\"flex flex-row justify-between\">\r\n <span class=\"font-bold text-gray-500 text-base\">{{\r\n \"permission.workflowPermissions\" | translate\r\n }}</span>\r\n </div>\r\n <mat-divider class=\"mat-divider\"></mat-divider>\r\n <app-permissions-template\r\n [documentId]=\"documentId\"\r\n [userVisiblePermissions]=\"userVisiblePermissions\"\r\n (getPermissions)=\"getPermissions()\"\r\n [permissionsArray]=\"workflowPermissions\"\r\n >\r\n </app-permissions-template>\r\n </div>\r\n</div>\r\n\r\n<ng-template #loader>\r\n <div class=\"flex items-center justify-center w-full h-full\">\r\n <mat-spinner [value]=\"90\" [strokeWidth]=\"6\" overlay=\"true\" [diameter]=\"75\"></mat-spinner>\r\n </div>\r\n</ng-template>\r\n", styles: [""], components: [{ type: i8.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i9.PermissionsTemplateComponent, selector: "app-permissions-template", inputs: ["allowDeleteAndEdit", "documentId", "userVisiblePermissions", "permissionsArray"], outputs: ["getPermissions"] }, { type: i10.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: i11.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i13.TranslatePipe } });
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionsComponent, decorators: [{
|
|
217
|
+
type: Component,
|
|
218
|
+
args: [{
|
|
219
|
+
selector: 'app-permissions',
|
|
220
|
+
templateUrl: './permissions.component.html',
|
|
221
|
+
styleUrls: ['./permissions.component.scss']
|
|
222
|
+
}]
|
|
223
|
+
}], ctorParameters: function () { return [{ type: i1.PermissionService }, { type: i2.MatDialog }, { type: i3.CustomToastrService }, { type: i4.TranslationService }, { type: i5.NuxeoService }, { type: i6.UserService }, { type: i7.EvaluatorsService }]; }, propDecorators: { documentId: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], document: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], allowAddAndBlock: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], sourcePage: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}] } });
|
|
232
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbnMuY29tcG9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zsgZWxzZSBsb2FkZXJcIj5cclxuICAgIDwhLS1Mb2NhbFBlcm1pc3Npb24gTGlzdCBJdGVtcy0tPlxyXG4gICAgPGRpdiAqbmdJZj1cInNvdXJjZVBhZ2UgIT0gJ215RmlsZXMnXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggZmxleC1yb3cganVzdGlmeS1iZXR3ZWVuXCI+XHJcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZm9udC1ib2xkIHRleHQtZ3JheS01MDAgdGV4dC1iYXNlXCI+e3tcclxuICAgICAgICAgICAgICAgIFwicGVybWlzc2lvbi5sb2NhbFwiIHwgdHJhbnNsYXRlXHJcbiAgICAgICAgICAgIH19PC9zcGFuPlxyXG4gICAgICAgICAgICA8c3BhbiAqbmdJZj1cImFsbG93QWRkX0Jsb2NrX0RlbGV0ZVBlcm1pc3Npb24gJiYgIWluaGVyaXRlZFBlcm1pc3Npb25zLmxlbmd0aFwiPlxyXG4gICAgICAgICAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiYWxsb3dBZGRBbmRCbG9ja1wiXHJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJob3Zlcjp0ZXh0LWJsdWUtNzAwIHRleHQtYmx1ZS01MDAgbWItMSB0ZXh0LWJhc2VcIlxyXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJhZGROZXdMb2NhbFBlcm1pc3Npb25zKClcIlxyXG4gICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCIhcGVybWlzc2lvbnNUeXBlXCJcclxuICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICB7eyBcInBlcm1pc3Npb24ubmV3XCIgfCB0cmFuc2xhdGUgfX1cclxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPG1hdC1k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dC0zXCI+XHJcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZm9udC1ib2xkIHRleHQtZ3JheS01MDAgdGV4dC1iYXNlXCI+e3tcclxuICAgICAgICAgICAgICAgIFwicGVybWlzc2lvbi5pbmhlcml0ZWRcIiB8IHRyYW5zbGF0ZVxyXG4gICAgICAgICAgICB9fTwvc3Bhbj5cclxuICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJhbGxvd0FkZF9CbG9ja19EZWxldGVQZXJtaXNzaW9uXCI+XHJcbiAgICAgICAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJob3Zlcjp0ZXh0LWJsdWUtNzAwIHRleHQtYmx1ZS01MDAgbWItMSB0ZXh0LWJhc2VcIlxyXG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwic3RhdHVzICE9IG51bGwgJiYgYWxsb3dBZGRBbmRCbG9ja1wiXHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW5cclxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJzdGF0dXMgPT0gJ2Jsb2NrJzsgZWxzZSB1bmJsb2NrXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInVuYmxvY2tQZXJtaXNzaW9uSW5oZXJpdGFuY2UoKVwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBcInBlcm1pc3Npb24udW5ibG9ja1wiIHwgdHJhbnNsYXRlIH19XHJcbiAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjdW5ibG9jaz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gKGNsaWNrKT1cImJsb2NrUGVybWlzc2lvbkluaGVyaXRhbmNlKClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA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VcIj48L21hdC1zcGlubmVyPlxyXG4gICAgPC9kaXY+XHJcbjwvbmctdGVtcGxhdGU+XHJcbiJdfQ==
|
package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Component, Input, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import { MatDialogConfig } from '@angular/material/dialog';
|
|
3
|
+
import { AddPermissionsDialogComponent } from '../add-permissions-dialog/add-permissions-dialog.component';
|
|
4
|
+
import { ConfirmationDialogComponent } from '../../confirmation-dialog/confirmation-dialog/confirmation-dialog.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../permission.service";
|
|
7
|
+
import * as i2 from "../../custom-toastr/services/custom-toastr.service";
|
|
8
|
+
import * as i3 from "@angular/material/dialog";
|
|
9
|
+
import * as i4 from "@angular/material/icon";
|
|
10
|
+
import * as i5 from "@angular/common";
|
|
11
|
+
import * as i6 from "@ngx-translate/core";
|
|
12
|
+
export class PermissionsTemplateComponent {
|
|
13
|
+
constructor(permissionService, tosterService, dialog) {
|
|
14
|
+
this.permissionService = permissionService;
|
|
15
|
+
this.tosterService = tosterService;
|
|
16
|
+
this.dialog = dialog;
|
|
17
|
+
this.allowDeleteAndEdit = false;
|
|
18
|
+
this.permissionsArray = [];
|
|
19
|
+
this.getPermissions = new EventEmitter();
|
|
20
|
+
}
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
}
|
|
23
|
+
deletePermission(permission) {
|
|
24
|
+
this.permissionService.deleteLocalPermissions(this.documentId, permission).subscribe(res => {
|
|
25
|
+
this.getPermissions.emit();
|
|
26
|
+
this.tosterService.show('success', 'TOASTER.SUCCESS', "TOASTER.PERMISSION_REMOVE_SUCCESS");
|
|
27
|
+
}, err => {
|
|
28
|
+
this.tosterService.show('error', 'TOASTER.ERROR', 'TOASTER.PERMISSION_REMOVE_FAIL');
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
editPermission(permission, username, userVisiblePermissions, begin, end) {
|
|
32
|
+
const dialogConfig = new MatDialogConfig();
|
|
33
|
+
dialogConfig.disableClose = false;
|
|
34
|
+
dialogConfig.autoFocus = true;
|
|
35
|
+
dialogConfig.data = {
|
|
36
|
+
id: this.documentId,
|
|
37
|
+
rights: this.userVisiblePermissions,
|
|
38
|
+
state: "update",
|
|
39
|
+
aclId: permission,
|
|
40
|
+
username: username,
|
|
41
|
+
editableRight: userVisiblePermissions,
|
|
42
|
+
editableBegin: begin,
|
|
43
|
+
editableEnd: end,
|
|
44
|
+
};
|
|
45
|
+
dialogConfig.width = '35%';
|
|
46
|
+
dialogConfig.height = '70%';
|
|
47
|
+
// befor opening modal we diable clickout side effect to prevent details side menu from closing when clicking in the modal
|
|
48
|
+
this.permissionService.disableClickOutSide = true;
|
|
49
|
+
let addDialogRef = this.dialog.open(AddPermissionsDialogComponent, dialogConfig);
|
|
50
|
+
addDialogRef.afterClosed().subscribe(res => {
|
|
51
|
+
// return click outside effect to work to close side menu when clicking out side it
|
|
52
|
+
this.permissionService.disableClickOutSide = false;
|
|
53
|
+
this.getPermissions.emit();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
openDialog(permission) {
|
|
57
|
+
// befor opening modal we diable clickout side effect to prevent details side menu from closing when clicking in the modal
|
|
58
|
+
this.permissionService.disableClickOutSide = true;
|
|
59
|
+
let dialogRef = this.dialog.open(ConfirmationDialogComponent, {
|
|
60
|
+
width: '510px',
|
|
61
|
+
data: {
|
|
62
|
+
title: 'confirmDialog.confirm',
|
|
63
|
+
message: 'confirmDialog.Rem_Per',
|
|
64
|
+
confirmButton: `BUTTONS.Remove`,
|
|
65
|
+
cancelButton: "BUTTONS.Cancel"
|
|
66
|
+
},
|
|
67
|
+
disableClose: true,
|
|
68
|
+
});
|
|
69
|
+
dialogRef.afterClosed().subscribe((result) => {
|
|
70
|
+
// return click outside effect to work to close side menu when clicking out side it
|
|
71
|
+
this.permissionService.disableClickOutSide = false;
|
|
72
|
+
if (result) {
|
|
73
|
+
this.deletePermission(permission);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
// const dialogRef = this.fuseConfirmationService.open(
|
|
77
|
+
// {
|
|
78
|
+
// dismissible: true,
|
|
79
|
+
// title: this.translateService.instant("confirmDialog.confirm"),
|
|
80
|
+
// message: this.translateService.instant("confirmDialog.Rem_Per"),
|
|
81
|
+
// actions: {
|
|
82
|
+
// confirm: {
|
|
83
|
+
// show: true,
|
|
84
|
+
// label: this.translateService.instant("BUTTONS.Remove"),
|
|
85
|
+
// color: "warn"
|
|
86
|
+
// },
|
|
87
|
+
// cancel: {
|
|
88
|
+
// show: true,
|
|
89
|
+
// label: this.translateService.instant("BUTTONS.Cancel"),
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
// );
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
PermissionsTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionsTemplateComponent, deps: [{ token: i1.PermissionService }, { token: i2.CustomToastrService }, { token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
PermissionsTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: PermissionsTemplateComponent, selector: "app-permissions-template", inputs: { allowDeleteAndEdit: "allowDeleteAndEdit", documentId: "documentId", userVisiblePermissions: "userVisiblePermissions", permissionsArray: "permissionsArray" }, outputs: { getPermissions: "getPermissions" }, ngImport: i0, template: "<div class=\"flex flex-col\">\r\n <div *ngFor=\"let p of permissionsArray\">\r\n <!-- Info -->\r\n <div class=\"flex single-permssion\" *ngIf=\"(p.granted && p.username['entity-type']== 'user') || (p.granted && (p.username['entity-type']== 'group' && (p.username.id != 'administrators' && p.username.id != 'members')))\">\r\n <mat-icon>lock</mat-icon>\r\n <div class=\"flex flex-auto justify-between ml-3\">\r\n <!-- Info -->\r\n <div>\r\n <div class=\"font-bold text-base text-gray-900 w-64\">\r\n <span *ngIf=\"p.username['entity-type'] == 'user'; else group\">\r\n {{p.username.fullName}}\r\n </span>\r\n <ng-template #group>\r\n {{p.username.grouplabel}}\r\n </ng-template>\r\n - {{p.permissionLabel}}</div>\r\n <div class=\"mt-0.5 text-secondary\">\r\n <div class=\"flex flex-row gap-x-14\">\r\n <div class=\"flex flex-col\">\r\n <div *ngIf=\"p.begin != null;else permanent\">\r\n {{p.begin | date:'dd/MM/yyyy'}}\r\n <span *ngIf=\"p.end != null\">- {{ p.end | date:'dd/MM/yyyy' }}</span>\r\n </div>\r\n <ng-template #permanent>\r\n <h1>{{\"permission.permanent\" | translate }}</h1>\r\n </ng-template>\r\n <div class=\"text-secondary\" *ngIf=\"p.creator != null\">{{\"permission.granted\" | translate }} {{p.creator['fullName']}}</div>\r\n </div>\r\n <!-- Actions -->\r\n <div class=\"flex\" *ngIf=\"allowDeleteAndEdit && p.currentUserIsPermissionOwner \r\n && p.permission != 'Everything'\">\r\n <button mat-icon-button\r\n (click)=\"editPermission(p.id,p.username,p.permission,p.begin,p.end)\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:pencil-alt'\"></mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button (click)=\"openDialog(p.id)\">\r\n <mat-icon [svgIcon]=\"'heroicons_outline:trash'\"></mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [".single-permssion{box-shadow:0 0 12.5px #0000001a;border-radius:8px;padding:15px;margin:10px;font-size:12px}\n"], components: [{ type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "date": i5.DatePipe, "translate": i6.TranslatePipe } });
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PermissionsTemplateComponent, decorators: [{
|
|
99
|
+
type: Component,
|
|
100
|
+
args: [{
|
|
101
|
+
selector: 'app-permissions-template',
|
|
102
|
+
templateUrl: './permissions-template.component.html',
|
|
103
|
+
styleUrls: ['./permissions-template.component.scss']
|
|
104
|
+
}]
|
|
105
|
+
}], ctorParameters: function () { return [{ type: i1.PermissionService }, { type: i2.CustomToastrService }, { type: i3.MatDialog }]; }, propDecorators: { allowDeleteAndEdit: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], documentId: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], userVisiblePermissions: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], permissionsArray: [{
|
|
112
|
+
type: Input,
|
|
113
|
+
args: ['permissionsArray']
|
|
114
|
+
}], getPermissions: [{
|
|
115
|
+
type: Output
|
|
116
|
+
}] } });
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbnMtdGVtcGxhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9wZXJtaXNzaW9ucy9wZXJtaXNzaW9ucy10ZW1wbGF0ZS9wZXJtaXNzaW9ucy10ZW1wbGF0ZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL3Blcm1pc3Npb25zL3Blcm1pc3Npb25zLXRlbXBsYXRlL3Blcm1pc3Npb25z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xyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IHNpbmdsZS1wZXJtc3Npb25cIiAqbmdJZj1cIihwLmdyYW50ZWQgJiYgcC51c2VybmFtZVsnZW50aXR5LXR5cGUnXT09ICd1c2VyJykgfHwgKHAuZ3JhbnRlZCAmJiAocC51c2VybmFtZVsnZW50aXR5LXR5cGUnXT09ICdncm91cCcgJiYgKHAudXNlcm5hbWUuaWQgIT0gJ2FkbWluaXN0cmF0b3JzJyAmJiBwLnVzZXJuYW1lLmlkICE9ICdtZW1iZXJzJykpKVwiPlxyXG4gICAgICAgICAgICA8bWF0LWljb24+bG9jazwvbWF0LWljb24+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IGZsZXgtYXV0byBqdXN0aWZ5LWJldHdlZW4gbWwtM1wiPlxyXG4gICAgICAgICAgICAgICAgPCEtLSBJbmZvIC0tPlxyXG4gICAgICAgICAgICAgICAgPGRpdj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZm9udC1ib2xkIHRleHQtYmFzZSB0ZXh0LWdyYXktOTAwIHctNjRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJwLnVzZXJuYW1lWydlbnRpdHktdHlwZSddID09ICd1c2VyJzsgZWxzZSBncm91cFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3twLnVzZXJuYW1lLmZ1bGxOYW1lfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2dyb3VwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3twLnVzZXJuYW1lLmdyb3VwbGFiZWx9fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAtIHt7cC5wZXJtaXNzaW9uTGFiZWx9fTwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtdC0wLjUgdGV4dC1zZWNvbmRhcnlcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggZmxleC1yb3cgZ2FwLXgtMTRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IGZsZXgtY29sXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cInAuYmVnaW4gIT0gbnVsbDtlbHNlIHBlcm1hbmVudFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7e3AuYmVnaW4gfCBkYXRlOidkZC9NTS95eXl5J319XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuICpuZ0lmPVwicC5lbmQgIT0gbnVsbFwiPi0ge3sgcC5lbmQgfCBkYXRlOidkZC9NTS95eXl5JyB9fTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI3Blcm1hbmVudD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGgxPnt7XCJwZXJtaXNzaW9uLnBlcm1hbmVudFwiIHwgdHJhbnNsYXRlIH19PC9oMT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0ZXh0LXNlY29uZGFyeVwiICpuZ0lmPVwicC5jcmVhdG9yICE9IG51bGxcIj57e1wicGVybWlzc2lvbi5ncmFudGVkXCIgfCB0cmFuc2xhdGUgfX0ge3twLmNyZWF0b3JbJ2Z1bGxOYW1lJ119fTwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tIEFjdGlvbnMgLS0+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZmxleFwiICpuZ0lmPVwiYWxsb3dEZWxldGVBbmRFZGl0ICYmIHAuY3VycmVudFVzZXJJc1Blcm1pc3Npb25Pd25lciBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICYmIHAucGVybWlzc2lvbiAhPSAnRXZlcnl0aGluZydcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZWRpdFBlcm1pc3Npb24ocC5pZCxwLnVzZXJuYW1lLHAucGVybWlzc2lvbixwLmJlZ2luLHAuZW5kKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gW3N2Z0ljb25dPVwiJ2hlcm9pY29uc19vdXRsaW5lOnBlbmNpbC1hbHQnXCI+PC9tYXQtaWNvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvbiAoY2xpY2spPVwib3BlbkRpYWxvZyhwLmlkKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gW3N2Z0ljb25dPVwiJ2hlcm9pY29uc19vdXRsaW5lOnRyYXNoJ1wiPjwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|