nuxeo-development-framework 3.1.2 → 3.1.4
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 +29365 -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 +115 -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 +30 -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 +1035 -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 +792 -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 +27352 -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 +23 -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 +10 -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 +93 -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 -11
- 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 -107
- 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 -18
- 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 -244
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +0 -20
- 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 -88
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +0 -7
- 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 -1347
- 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 -1073
- 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,238 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { catchError, map } from 'rxjs/operators';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../Core/adapters/adapter.service";
|
|
5
|
+
import * as i2 from "../../../Core/services/callApi/call-api.service";
|
|
6
|
+
import * as i3 from "../services/dynamic-table.service";
|
|
7
|
+
import * as i4 from "../../table/table/table.component";
|
|
8
|
+
import * as i5 from "../../../shared/components/spinner/spinner.component";
|
|
9
|
+
import * as i6 from "../../pagination/pagination/pagination.component";
|
|
10
|
+
import * as i7 from "@angular/common";
|
|
11
|
+
import * as i8 from "@ngx-translate/core";
|
|
12
|
+
/**
|
|
13
|
+
* this component is an additional layer that uses [Table Component]{@link TableComponent} internally,
|
|
14
|
+
* you can use this component to configure a page provider listing out of the box easily,
|
|
15
|
+
* and it will handle all of the basic features such as getting data from API, Listing, Pagination, sorting and filtering
|
|
16
|
+
* 
|
|
17
|
+
* @title
|
|
18
|
+
* Dynamic Table
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* <cts-dynamic-table
|
|
22
|
+
* [columns]="columns"
|
|
23
|
+
* [responsiveColumns]="responsiveColumns"
|
|
24
|
+
* [fullWidth]="fullWidth"
|
|
25
|
+
* [pageSize]="PageSize"
|
|
26
|
+
* [pageProvider]="pageProvider"
|
|
27
|
+
* [quickFilter]="filter"
|
|
28
|
+
* [sortingBy]="sortingBy"
|
|
29
|
+
* [entityType]="'all'"
|
|
30
|
+
* [fields]="fields"
|
|
31
|
+
* [prefix]="prefix"
|
|
32
|
+
* [rowCursor]="true"
|
|
33
|
+
* [queryParam]="queryParam"
|
|
34
|
+
* [headers]="headers"
|
|
35
|
+
* (onRowSelected)="openViewer($event)"
|
|
36
|
+
* (actionOnRow)="performAction($event)">
|
|
37
|
+
* </cts-dynamic-table>
|
|
38
|
+
*/
|
|
39
|
+
export class DynamicTableComponent {
|
|
40
|
+
constructor(adapter, callApi, dynamicTableService) {
|
|
41
|
+
this.adapter = adapter;
|
|
42
|
+
this.callApi = callApi;
|
|
43
|
+
this.dynamicTableService = dynamicTableService;
|
|
44
|
+
/** event to emit when selecting single row */
|
|
45
|
+
this.onRowSelected = new EventEmitter();
|
|
46
|
+
/** event to emit when selecting single row to catch index*/
|
|
47
|
+
this.onRowIndexSelected = new EventEmitter();
|
|
48
|
+
/** event to emit when perform action on row (delte, edit, ... ) */
|
|
49
|
+
this.actionOnRow = new EventEmitter();
|
|
50
|
+
/** event to emit to the higher level when getting data from api is finished */
|
|
51
|
+
this.onGettingData = new EventEmitter();
|
|
52
|
+
/** event t emit when selecting multiple row */
|
|
53
|
+
this.onMultiRowSelected = new EventEmitter();
|
|
54
|
+
/** event t emit when start getting data and when finish */
|
|
55
|
+
this.onLoading = new EventEmitter();
|
|
56
|
+
/** Translations prefix */
|
|
57
|
+
this.prefix = '';
|
|
58
|
+
/** Sorting column */
|
|
59
|
+
this.sortingBy = {};
|
|
60
|
+
this.queryParam = {};
|
|
61
|
+
this.fullWidth = 'auto';
|
|
62
|
+
/** 'list' for noraml table 'card' for cards mode like in memos */
|
|
63
|
+
this.tableMode = 'list';
|
|
64
|
+
this.defultSort = [{ prop: 'properties.createdAt', dir: 'desc' }];
|
|
65
|
+
this.isSearchPage = false;
|
|
66
|
+
/** allow multiselect rows with checkbox */
|
|
67
|
+
this.multiSelectRows = false;
|
|
68
|
+
this.highlightSelectedCard = false;
|
|
69
|
+
this.filterParams = {};
|
|
70
|
+
this.pageNum = 1;
|
|
71
|
+
this.rows = [];
|
|
72
|
+
this.totalRecords = 0;
|
|
73
|
+
this.sorting = false;
|
|
74
|
+
}
|
|
75
|
+
ngOnInit() {
|
|
76
|
+
this.myDataSubscription = this.dynamicTableService.refreshData.subscribe(filterData => {
|
|
77
|
+
if (filterData) {
|
|
78
|
+
this.filterParams = Object.assign({}, filterData);
|
|
79
|
+
// reset page number when start new filtering
|
|
80
|
+
this.pageNum = 1;
|
|
81
|
+
}
|
|
82
|
+
this.getData();
|
|
83
|
+
});
|
|
84
|
+
this.getData();
|
|
85
|
+
}
|
|
86
|
+
ngOnDestroy() {
|
|
87
|
+
this.myDataSubscription ? this.myDataSubscription.unsubscribe() : '';
|
|
88
|
+
}
|
|
89
|
+
ngOnChanges(simpleChange) {
|
|
90
|
+
const isFirstChange = Object.values(simpleChange).some((c) => c.isFirstChange());
|
|
91
|
+
if (isFirstChange) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if ((simpleChange.queryParam &&
|
|
95
|
+
simpleChange.queryParam.previousValue !==
|
|
96
|
+
simpleChange.queryParam.currentValue) ||
|
|
97
|
+
(simpleChange.quickFilter &&
|
|
98
|
+
simpleChange.quickFilter.previousValue !==
|
|
99
|
+
simpleChange.quickFilter.currentValue)) {
|
|
100
|
+
this.pageNum = 1; // reset page number befor recalling api with filters
|
|
101
|
+
this.getData();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
getData() {
|
|
105
|
+
this.loading = true; // internal loading
|
|
106
|
+
this.onLoading.emit(true); // external loading
|
|
107
|
+
let params = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ dublincore_created_agg: this.range }, this.filterParams), this.queryParam), this.sortingBy), this.quickFilter), { currentPageIndex: this.pageNum - 1, pageSize: this.pageSize, offset: 0 });
|
|
108
|
+
// don't refresh all table in case of sorting only
|
|
109
|
+
if (!this.sorting) { // used to not refreshing all table in case of sorting since table lose sorting state when refresh all table
|
|
110
|
+
this.rows = []; // used to refresh table to feel changes in actions when perform action and need to refresh actions
|
|
111
|
+
}
|
|
112
|
+
this.sorting = false; // reset sorting status to false and for next sorting func sorting set it to true again
|
|
113
|
+
this.callApi
|
|
114
|
+
.query(Object.assign({ pageProvider: this.pageProvider }, params), {
|
|
115
|
+
headers: this.headers,
|
|
116
|
+
})
|
|
117
|
+
.pipe(map((data) => {
|
|
118
|
+
data.entries.map((item) => this.adapter.adaptIn(item, this.fields));
|
|
119
|
+
return data;
|
|
120
|
+
}), catchError((err) => {
|
|
121
|
+
throw err;
|
|
122
|
+
}))
|
|
123
|
+
.subscribe((res) => {
|
|
124
|
+
this.loading = false;
|
|
125
|
+
this.onLoading.emit(false);
|
|
126
|
+
res.entries.forEach((element) => {
|
|
127
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
128
|
+
if (element.properties && ((_a = element.properties) === null || _a === void 0 ? void 0 : _a.creator) && ((_b = element.properties.creator) === null || _b === void 0 ? void 0 : _b.properties)) {
|
|
129
|
+
element.properties.creator =
|
|
130
|
+
((_d = (_c = element.properties.creator) === null || _c === void 0 ? void 0 : _c.properties) === null || _d === void 0 ? void 0 : _d.firstName) +
|
|
131
|
+
' ' +
|
|
132
|
+
((_f = (_e = element.properties.creator) === null || _e === void 0 ? void 0 : _e.properties) === null || _f === void 0 ? void 0 : _f.lastName);
|
|
133
|
+
}
|
|
134
|
+
if (element.properties && ((_g = element.properties) === null || _g === void 0 ? void 0 : _g.assignee)) {
|
|
135
|
+
element.properties.assignee = (_h = element.properties) === null || _h === void 0 ? void 0 : _h.assignee.fullName;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
this.totalRecords = res.resultsCount;
|
|
139
|
+
this.rows = res.entries;
|
|
140
|
+
// emit data to outside in case of search page for the first time only to prevent refreshing aggregation with every page change
|
|
141
|
+
// and for any other page type emit data directly in all page numbers
|
|
142
|
+
if ((this.isSearchPage && this.pageNum === 1) || !this.isSearchPage)
|
|
143
|
+
this.onGettingData.emit(res);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
// function to be executed when clicking on single row
|
|
147
|
+
rowDetails(event) {
|
|
148
|
+
this.onRowSelected.emit(event);
|
|
149
|
+
}
|
|
150
|
+
indexDetails(event) {
|
|
151
|
+
this.onRowIndexSelected.emit(event);
|
|
152
|
+
}
|
|
153
|
+
//function to handle all operations on single row (delete , edit , ...)
|
|
154
|
+
performAction(action) {
|
|
155
|
+
this.actionOnRow.emit(action);
|
|
156
|
+
}
|
|
157
|
+
// handle sorting functionality of the table
|
|
158
|
+
onSort(sortObject) {
|
|
159
|
+
this.sortingBy = sortObject;
|
|
160
|
+
this.sorting = true;
|
|
161
|
+
this.getData();
|
|
162
|
+
}
|
|
163
|
+
onMultiRowSelectValue(event) {
|
|
164
|
+
this.onMultiRowSelected.emit(event);
|
|
165
|
+
}
|
|
166
|
+
PaginationChange(event) {
|
|
167
|
+
this.pageNum = event;
|
|
168
|
+
this.getData();
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
DynamicTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableComponent, deps: [{ token: i1.AdapterService }, { token: i2.CallApiService }, { token: i3.DynamicTableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
172
|
+
DynamicTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: DynamicTableComponent, selector: "cts-dynamic-table", inputs: { columns: "columns", responsiveColumns: "responsiveColumns", entityType: "entityType", prefix: "prefix", headers: "headers", fields: "fields", pageProvider: "pageProvider", pageSize: "pageSize", sortingBy: "sortingBy", queryParam: "queryParam", quickFilter: "quickFilter", report: "report", rowCursor: "rowCursor", fullWidth: "fullWidth", tableMode: "tableMode", tableActions: "tableActions", defultSort: "defultSort", range: "range", isSearchPage: "isSearchPage", multiSelectRows: "multiSelectRows", highlightSelectedCard: "highlightSelectedCard", filterParams: "filterParams" }, outputs: { onRowSelected: "onRowSelected", onRowIndexSelected: "onRowIndexSelected", actionOnRow: "actionOnRow", onGettingData: "onGettingData", onMultiRowSelected: "onMultiRowSelected", onLoading: "onLoading" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"wrapping\">\r\n <div class=\"table-reposition\">\r\n <cts-table\r\n *ngIf=\"rows.length\"\r\n [rows]=\"rows\"\r\n [columns]=\"columns\"\r\n [responsiveColumns]=\"responsiveColumns\"\r\n [rowCursor]=\"rowCursor\"\r\n [fullWidth]=\"fullWidth\"\r\n [entityType]=\"entityType\"\r\n [prefix]=\"prefix\"\r\n [totalRecords]=\"totalRecords\"\r\n [tableMode]=\"tableMode\"\r\n [multiSelectRows]=\"multiSelectRows\"\r\n [tableActions]=\"tableActions\"\r\n [defultSort]=\"defultSort\"\r\n [highlightSelectedCard]=\"highlightSelectedCard\"\r\n (onRowSelected)=\"rowDetails($event)\"\r\n (onRowIndexSelected)=\"indexDetails($event)\"\r\n (onMultiRowSelected)=\"onMultiRowSelectValue($event)\"\r\n (actionOnRow)=\"performAction($event)\"\r\n (onSorting)=\"onSort($event)\"\r\n ></cts-table>\r\n </div>\r\n <ng-container *ngIf=\"loading\">\r\n <cts-spinner></cts-spinner>\r\n </ng-container>\r\n <div\r\n class=\"pagination-iner-wraper d-flex justify-content-center align-items-center my-3\"\r\n *ngIf=\"rows.length\"\r\n >\r\n <cts-pagination\r\n [page]=\"pageNum\"\r\n (change)=\"PaginationChange($event)\"\r\n [size]=\"pageSize\"\r\n [count]=\"totalRecords\"\r\n ></cts-pagination>\r\n </div>\r\n\r\n <div class=\"empty-state\" *ngIf=\"(!loading && rows.length === 0)\">\r\n <div class=\"text\">{{(prefix ? (prefix + 'noData') : ('noData')) | translate}}</div>\r\n </div>\r\n <div class=\"empty-state\" *ngIf=\"(loading && rows.length === 0)\">\r\n <div class=\"text\">{{(prefix ? (prefix + 'gettingData') : ('gettingData')) | translate}}</div>\r\n </div>\r\n</div>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.wrapping{position:relative}.wrapping .table-reposition{overflow-y:hidden;scrollbar-color:#b4bac6 transparent!important;scrollbar-width:thin!important;overflow-x:auto}.empty-state{padding:200px;display:flex;justify-content:center;align-items:center;font-size:20px;font-weight:bold}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#b4bac6}.dark-scroll::-webkit-scrollbar-thumb{background:#8f98aa}\n"], components: [{ type: i4.TableComponent, selector: "cts-table", inputs: ["rows", "columns", "responsiveColumns", "entityType", "prefix", "pageCount", "totalRecords", "rowCursor", "fullWidth", "vocItemTranslationPrefix", "tableMode", "tableActions", "format", "defultSort", "highlightSelectedCard", "multiSelectRows"], outputs: ["onRowSelected", "onRowIndexSelected", "onIconSelected", "actionOnRow", "onSorting", "onMultiRowSelected"] }, { type: i5.SpinnerComponent, selector: "cts-spinner" }, { type: i6.PaginationComponent, selector: "cts-pagination", inputs: ["size", "count", "page"], outputs: ["change"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i8.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableComponent, decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{
|
|
176
|
+
selector: 'cts-dynamic-table',
|
|
177
|
+
templateUrl: './dynamic-table.component.html',
|
|
178
|
+
styleUrls: ['./dynamic-table.component.scss'],
|
|
179
|
+
encapsulation: ViewEncapsulation.None
|
|
180
|
+
}]
|
|
181
|
+
}], ctorParameters: function () { return [{ type: i1.AdapterService }, { type: i2.CallApiService }, { type: i3.DynamicTableService }]; }, propDecorators: { onRowSelected: [{
|
|
182
|
+
type: Output
|
|
183
|
+
}], onRowIndexSelected: [{
|
|
184
|
+
type: Output
|
|
185
|
+
}], actionOnRow: [{
|
|
186
|
+
type: Output
|
|
187
|
+
}], onGettingData: [{
|
|
188
|
+
type: Output
|
|
189
|
+
}], onMultiRowSelected: [{
|
|
190
|
+
type: Output
|
|
191
|
+
}], onLoading: [{
|
|
192
|
+
type: Output
|
|
193
|
+
}], columns: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], responsiveColumns: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}], entityType: [{
|
|
198
|
+
type: Input
|
|
199
|
+
}], prefix: [{
|
|
200
|
+
type: Input
|
|
201
|
+
}], headers: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], fields: [{
|
|
204
|
+
type: Input
|
|
205
|
+
}], pageProvider: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}], pageSize: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}], sortingBy: [{
|
|
210
|
+
type: Input
|
|
211
|
+
}], queryParam: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], quickFilter: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}], report: [{
|
|
216
|
+
type: Input
|
|
217
|
+
}], rowCursor: [{
|
|
218
|
+
type: Input
|
|
219
|
+
}], fullWidth: [{
|
|
220
|
+
type: Input
|
|
221
|
+
}], tableMode: [{
|
|
222
|
+
type: Input
|
|
223
|
+
}], tableActions: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], defultSort: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], range: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], isSearchPage: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}], multiSelectRows: [{
|
|
232
|
+
type: Input
|
|
233
|
+
}], highlightSelectedCard: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], filterParams: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}] } });
|
|
238
|
+
//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2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { DynamicTableComponent } from './dynamic-table/dynamic-table.component';
|
|
4
|
+
import { TableModule } from '../table/table.module';
|
|
5
|
+
import { PaginationModule } from '../../components/pagination/pagination.module';
|
|
6
|
+
import { LibrarySharedModule } from '../../shared/libraryShared.module';
|
|
7
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @title
|
|
11
|
+
* Dynamic Table API
|
|
12
|
+
*/
|
|
13
|
+
export class DynamicTableModule {
|
|
14
|
+
}
|
|
15
|
+
DynamicTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
DynamicTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableModule, declarations: [DynamicTableComponent], imports: [CommonModule,
|
|
17
|
+
TableModule,
|
|
18
|
+
PaginationModule,
|
|
19
|
+
LibrarySharedModule,
|
|
20
|
+
TranslateModule], exports: [DynamicTableComponent] });
|
|
21
|
+
DynamicTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableModule, imports: [[
|
|
22
|
+
CommonModule,
|
|
23
|
+
TableModule,
|
|
24
|
+
PaginationModule,
|
|
25
|
+
LibrarySharedModule,
|
|
26
|
+
TranslateModule
|
|
27
|
+
]] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableModule, decorators: [{
|
|
29
|
+
type: NgModule,
|
|
30
|
+
args: [{
|
|
31
|
+
declarations: [DynamicTableComponent],
|
|
32
|
+
imports: [
|
|
33
|
+
CommonModule,
|
|
34
|
+
TableModule,
|
|
35
|
+
PaginationModule,
|
|
36
|
+
LibrarySharedModule,
|
|
37
|
+
TranslateModule
|
|
38
|
+
],
|
|
39
|
+
exports: [
|
|
40
|
+
DynamicTableComponent
|
|
41
|
+
]
|
|
42
|
+
}]
|
|
43
|
+
}] });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy10YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2R5bmFtaWMtdGFibGUvZHluYW1pYy10YWJsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDaEYsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3BELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7QUFHdEQ7OztHQUdHO0FBY0gsTUFBTSxPQUFPLGtCQUFrQjs7K0dBQWxCLGtCQUFrQjtnSEFBbEIsa0JBQWtCLGlCQVpkLHFCQUFxQixhQUVsQyxZQUFZO1FBQ1osV0FBVztR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G5cclxuXHJcbi8qKlxyXG4gKiBAdGl0bGVcclxuICogRHluYW1pYyBUYWJsZSBBUElcclxuICovXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbRHluYW1pY1RhYmxlQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBUYWJsZU1vZHVsZSxcclxuICAgIFBhZ2luYXRpb25Nb2R1bGUsXHJcbiAgICBMaWJyYXJ5U2hhcmVkTW9kdWxlLFxyXG4gICAgVHJhbnNsYXRlTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOltcclxuICAgIER5bmFtaWNUYWJsZUNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIER5bmFtaWNUYWJsZU1vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injectable, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DynamicTableService {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.refreshData = new EventEmitter();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
DynamicTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
+
DynamicTableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableService, providedIn: 'root' });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTableService, decorators: [{
|
|
11
|
+
type: Injectable,
|
|
12
|
+
args: [{
|
|
13
|
+
providedIn: 'root'
|
|
14
|
+
}]
|
|
15
|
+
}], ctorParameters: function () { return []; } });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy10YWJsZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9keW5hbWljLXRhYmxlL3NlcnZpY2VzL2R5bmFtaWMtdGFibGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFHLFlBQVksRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFNekQsTUFBTSxPQUFPLG1CQUFtQjtJQUU5QjtRQURBLGdCQUFXLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBQztJQUNqQixDQUFDOztnSEFGTixtQkFBbUI7b0hBQW5CLG1CQUFtQixjQUZsQixNQUFNOzJGQUVQLG1CQUFtQjtrQkFIL0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlICwgRXZlbnRFbWl0dGVyfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgU3ViamVjdCB9IGZyb20gJ3J4anMnO1xyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290J1xyXG59KVxyXG5leHBvcnQgY2xhc3MgRHluYW1pY1RhYmxlU2VydmljZSB7XHJcbiAgcmVmcmVzaERhdGEgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Component, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/tabs";
|
|
4
|
+
import * as i2 from "@angular/material/icon";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@ngx-translate/core";
|
|
7
|
+
export class DynamicTabsComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.tabs = [];
|
|
10
|
+
this.selectedIndex = 0;
|
|
11
|
+
}
|
|
12
|
+
ngOnChanges(changes) {
|
|
13
|
+
var _a;
|
|
14
|
+
if (((_a = changes.selectedIndex) === null || _a === void 0 ? void 0 : _a.currentValue) === 0) {
|
|
15
|
+
this.dynamicTabs.selectedIndex = this.selectedIndex; //for back to details tab after remove publishing tab when move from original version to one of its published version
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
ngOnInit() {
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
DynamicTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
DynamicTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: DynamicTabsComponent, selector: "app-dynamic-tabs", inputs: { tabs: "tabs", selectedIndex: "selectedIndex" }, viewQueries: [{ propertyName: "dynamicTabs", first: true, predicate: ["dynamicTabs"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-tab-group #dynamicTabs class=\"h-full\" *ngIf=\"tabs.length > 0\">\r\n <mat-tab *ngFor=\"let tab of tabs\"> \r\n <ng-template mat-tab-label class=\"flex flex-col items-center justify-center\">\r\n <mat-icon class=\"example-tab-icon\">{{tab.icon}}</mat-icon>\r\n <span>{{'tabs.' + tab.label | translate}}</span>\r\n </ng-template> \r\n <ng-template matTabContent>\r\n <ng-content *ngTemplateOutlet=\"tab.template\"></ng-content> \r\n </ng-template>\r\n </mat-tab>\r\n</mat-tab-group>", styles: [".mat-tab-group .mat-tab-header .mat-tab-header-pagination-before{display:none}.mat-tab-group .mat-tab-header .mat-tab-header-pagination-after{display:none}.mat-tab-group .mat-tab-header .mat-tab-label-container{padding:0!important;overflow-x:auto}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list{@apply min-w-100 !important;}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list .mat-tab-labels{height:50px}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list .mat-tab-labels .mat-tab-label{height:100%!important;border-bottom:1px solid lightgray;margin:0!important}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list .mat-tab-labels .mat-tab-label .mat-tab-label-content{display:flex;flex-direction:column;font-size:12px}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list .mat-tab-labels .mat-tab-label .mat-tab-label-content .mat-icon{font-size:20px;min-height:16px;min-width:16px;height:16px;width:16px}.mat-tab-group .mat-tab-header .mat-tab-label-container .mat-tab-list .mat-tab-labels .mat-tab-label-active{border-bottom:2px solid black;opacity:1}.mat-tab-group .mat-tab-body-wrapper{padding:0 10px!important;height:calc(100% - 60px)}.mat-tab-group .mat-tab-body-wrapper .mat-tab-body .mat-tab-body-content{padding:0;overflow:hidden}.theme-dgda .mat-tab-group .mat-tab-header .mat-tab-label-container{@apply bg-transparent;}\n"], components: [{ type: i1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i1.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby"], exportAs: ["matTab"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { type: i1.MatTabContent, selector: "[matTabContent]" }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "translate": i4.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'app-dynamic-tabs',
|
|
27
|
+
templateUrl: './dynamic-tabs.component.html',
|
|
28
|
+
styleUrls: ['./dynamic-tabs.component.scss'],
|
|
29
|
+
encapsulation: ViewEncapsulation.None
|
|
30
|
+
}]
|
|
31
|
+
}], ctorParameters: function () { return []; }, propDecorators: { tabs: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], selectedIndex: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], dynamicTabs: [{
|
|
36
|
+
type: ViewChild,
|
|
37
|
+
args: ['dynamicTabs']
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy10YWJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvZHluYW1pYy10YWJzL2R5bmFtaWMtdGFicy9keW5hbWljLXRhYnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9keW5hbWljLXRhYnMvZHluYW1pYy10YWJzL2R5bmFtaWMtdGFicy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdz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vdXAgI2R5bmFtaWNUYWJzIGNsYXNzPVwiaC1mdWxsXCIgKm5nSWY9XCJ0YWJzLmxlbmd0aCA+IDBcIj5cclxuICAgIDxtYXQtdGFiICpuZ0Zvcj1cImxldCB0YWIgb2YgdGFic1wiPiBcclxuICAgICAgICA8bmctdGVtcGxhdGUgbWF0LXRhYi1sYWJlbCBjbGFzcz1cImZsZXggZmxleC1jb2wgaXRlbXMtY2VudGVyIGp1c3RpZnktY2VudGVyXCI+XHJcbiAgICAgICAgICAgIDxtYXQtaWNvbiBjbGFzcz1cImV4YW1wbGUtdGFiLWljb25cIj57e3RhYi5pY29ufX08L21hdC1pY29uPlxyXG4gICAgICAgICAgICA8c3Bhbj57eyd0YWJzLicgKyB0YWIubGFiZWwgfCB0cmFuc2xhdGV9fTwvc3Bhbj5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPiBcclxuICAgICAgICA8bmctdGVtcGxhdGUgbWF0VGFiQ29udGVudD5cclxuICAgICAgICAgICAgPG5nLWNvbnRlbnQgKm5nVGVtcGxhdGVPdXRsZXQ9XCJ0YWIudGVtcGxhdGVcIj48L25nLWNvbnRlbnQ+ICAgXHJcbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvbWF0LXRhYj5cclxuPC9tYXQtdGFiLWdyb3VwPiJdfQ==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { DynamicTabsComponent } from './dynamic-tabs/dynamic-tabs.component';
|
|
4
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
5
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
6
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class DynamicTabsModule {
|
|
9
|
+
}
|
|
10
|
+
DynamicTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
DynamicTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsModule, declarations: [DynamicTabsComponent], imports: [CommonModule,
|
|
12
|
+
TranslateModule,
|
|
13
|
+
MatIconModule,
|
|
14
|
+
MatTabsModule], exports: [DynamicTabsComponent] });
|
|
15
|
+
DynamicTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsModule, imports: [[
|
|
16
|
+
CommonModule,
|
|
17
|
+
TranslateModule,
|
|
18
|
+
MatIconModule,
|
|
19
|
+
MatTabsModule
|
|
20
|
+
]] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DynamicTabsModule, decorators: [{
|
|
22
|
+
type: NgModule,
|
|
23
|
+
args: [{
|
|
24
|
+
declarations: [DynamicTabsComponent],
|
|
25
|
+
imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
TranslateModule,
|
|
28
|
+
MatIconModule,
|
|
29
|
+
MatTabsModule
|
|
30
|
+
],
|
|
31
|
+
exports: [DynamicTabsComponent]
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy10YWJzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvZHluYW1pYy10YWJzL2R5bmFtaWMtdGFicy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSx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sgVHJhbnNsYXRlTW9kdWxlIH0gZnJvbSAnQG5neC10cmFuc2xhdGUvY29yZSc7XHJcbmltcG9ydCB7IE1hdEljb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9pY29uJztcclxuaW1wb3J0IHsgTWF0VGFic01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL3RhYnMnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0R5bmFtaWNUYWJzQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBUcmFuc2xhdGVNb2R1bGUsXHJcbiAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgTWF0VGFic01vZHVsZVxyXG4gIF0sXHJcbiAgZXhwb3J0czpbRHluYW1pY1RhYnNDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBEeW5hbWljVGFic01vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@ngx-translate/core";
|
|
5
|
+
export class BooleanViewerComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.label = '';
|
|
8
|
+
this.value = false;
|
|
9
|
+
this.trueValue = 'Yes';
|
|
10
|
+
this.falseValue = 'No';
|
|
11
|
+
this.vertical = false;
|
|
12
|
+
}
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
BooleanViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: BooleanViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
BooleanViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: BooleanViewerComponent, selector: "cts-boolean-viewer", inputs: { label: "label", value: "value", trueValue: "trueValue", falseValue: "falseValue", vertical: "vertical" }, ngImport: i0, template: "<div class=\"my-dynamic-viewer\" [ngClass]=\"{'vertical' : vertical === true}\">\r\n <div class=\"my-label\">{{label | translate}}</div>\r\n <div class=\"my-value\"> {{value ? (trueValue | translate) : (falseValue | translate)}}</div>\r\n</div>", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "translate": i2.TranslatePipe } });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: BooleanViewerComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'cts-boolean-viewer',
|
|
22
|
+
templateUrl: './boolean-viewer.component.html',
|
|
23
|
+
styleUrls: ['./boolean-viewer.component.scss']
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], value: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], trueValue: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], falseValue: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], vertical: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi12aWV3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9keW5hbWljLXZpZXcvYm9vbGVhbi12aWV3ZXIvYm9vbGVhbi12aWV3ZXIuY29tcG9uZW50LnRzIiwi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ib29sZWFuLXZpZXdlcicsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2Jvb2xlYW4tdmlld2VyLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi9ib29sZWFuLXZpZXdlci5jb21wb25lbnQuc2NzcyddXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBCb29sZWFuVmlld2VyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBASW5wdXQoKSBsYWJlbCA9ICcnO1xyXG4gIEBJbnB1dCgpIHZhbHVlID0gZmFsc2U7XHJcbiAgQElucHV0KCkgdHJ1ZVZhbHVlID0gJ1llcyc7XHJcbiAgQElucHV0KCkgZmFsc2VWYWx1ZSA9ICdObyc7XHJcbiAgQElucHV0KCkgdmVydGljYWwgPSBmYWxzZTtcclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJteS1keW5hbWljLXZpZXdlclwiIFtuZ0NsYXNzXT1cInsndmVydGljYWwnIDogdmVydGljYWwgPT09IHRydWV9XCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwibXktbGFiZWxcIj57e2xhYmVsIHwgdHJhbnNsYXRlfX08L2Rpdj5cclxuICAgIDxkaXYgY2xhc3M9XCJteS12YWx1ZVwiPiB7e3ZhbHVlID8gICh0cnVlVmFsdWUgfCB0cmFuc2xhdGUpIDogKGZhbHNlVmFsdWUgfCB0cmFuc2xhdGUpfX08L2Rpdj5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../Core/services/callApi/call-api.service";
|
|
4
|
+
import * as i2 from "../dynamic-viewe.service";
|
|
5
|
+
import * as i3 from "../../../Core/services/translation/translation.service";
|
|
6
|
+
import * as i4 from "@angular/common";
|
|
7
|
+
export class CustomDocumentViewerComponent {
|
|
8
|
+
constructor(callApi, dynamicViewService, translationService) {
|
|
9
|
+
this.callApi = callApi;
|
|
10
|
+
this.dynamicViewService = dynamicViewService;
|
|
11
|
+
this.translationService = translationService;
|
|
12
|
+
}
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
console.log(this.pageProvider);
|
|
15
|
+
console.log(this.group);
|
|
16
|
+
this.getData();
|
|
17
|
+
this.langSubscription = this.translationService.isArabic.subscribe(res => {
|
|
18
|
+
this.isArabic = res;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
getData() {
|
|
22
|
+
if (this.dynamicViewService.getDataFromStoredAggregation(this.group.key)) {
|
|
23
|
+
let storedAggreg = this.dynamicViewService.getDataFromStoredAggregation(this.group.key);
|
|
24
|
+
this.data = storedAggreg ? storedAggreg['data'] : null;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
let params = {
|
|
28
|
+
documenttypee_code: this.group.key
|
|
29
|
+
};
|
|
30
|
+
this.callApi.query(Object.assign({ pageProvider: this.pageProvider }, params), {
|
|
31
|
+
headers: {
|
|
32
|
+
"properties": "*",
|
|
33
|
+
},
|
|
34
|
+
}).subscribe(res => {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
this.dynamicViewService.setDataToStorag(this.group.key, (_a = res === null || res === void 0 ? void 0 : res.entries[0]) === null || _a === void 0 ? void 0 : _a['properties']);
|
|
37
|
+
this.data = (_b = res === null || res === void 0 ? void 0 : res.entries[0]) === null || _b === void 0 ? void 0 : _b['properties'];
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
ngOnDestroy() {
|
|
42
|
+
this.langSubscription ? this.langSubscription.unsubscribe() : null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
CustomDocumentViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomDocumentViewerComponent, deps: [{ token: i1.CallApiService }, { token: i2.DynamicVieweService }, { token: i3.TranslationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
CustomDocumentViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: CustomDocumentViewerComponent, selector: "lib-custom-document-viewer", inputs: { pageProvider: "pageProvider", group: "group" }, ngImport: i0, template: "<span *ngIf=\"data\">\r\n {{isArabic ? data['documenttypee:arabicTitle'] : data['dc:title']}}\r\n</span>", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomDocumentViewerComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{
|
|
50
|
+
selector: 'lib-custom-document-viewer',
|
|
51
|
+
templateUrl: './custom-document-viewer.component.html',
|
|
52
|
+
styleUrls: ['./custom-document-viewer.component.scss']
|
|
53
|
+
}]
|
|
54
|
+
}], ctorParameters: function () { return [{ type: i1.CallApiService }, { type: i2.DynamicVieweService }, { type: i3.TranslationService }]; }, propDecorators: { pageProvider: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], group: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWRvY3VtZW50LXZpZXdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2R5bmFtaWMtdmlldy9jdXN0b20tZG9jdW1lbnQtdmlld2VyL2N1c3RvbS1kb2N1bWVudC12aWV3ZXIuY29tcG9uZW50LnRzIiw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