nuxeo-development-framework 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/nuxeo-development-framework.umd.js +29449 -0
- package/bundles/nuxeo-development-framework.umd.js.map +1 -0
- package/esm2015/lib/Core/adapters/adapter.service.js +50 -0
- package/esm2015/lib/Core/core.module.js +107 -0
- package/esm2015/lib/Core/enums/language.enum.js +6 -0
- package/esm2015/lib/Core/models/component.model.js +8 -0
- package/esm2015/lib/Core/services/callApi/call-api.service.js +33 -0
- package/esm2015/lib/Core/services/extension/action.extensions.js +9 -0
- package/esm2015/lib/Core/services/extension/component-register.service.js +25 -0
- package/esm2015/lib/Core/services/extension/extenion-utils.js +115 -0
- package/esm2015/lib/Core/services/extension/extension-element.js +2 -0
- package/esm2015/lib/Core/services/extension/extension-loader.service.js +127 -0
- package/esm2015/lib/Core/services/extension/extension.service.js +120 -0
- package/esm2015/lib/Core/services/initialization/initialization.service.js +57 -0
- package/esm2015/lib/Core/services/localStorag/local-storag.service.js +123 -0
- package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +82 -0
- package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +120 -0
- package/esm2015/lib/Core/services/roles/roles.service.js +119 -0
- package/esm2015/lib/Core/services/translation/translate-loader.service.js +150 -0
- package/esm2015/lib/Core/services/translation/translation.service.js +174 -0
- package/esm2015/lib/Core/services/user/user-preferences.service.js +153 -0
- package/esm2015/lib/Core/utilities/moment-date-adapter.js +178 -0
- package/esm2015/lib/Core/utilities/utility.service.js +81 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +188 -0
- package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +35 -0
- package/esm2015/lib/components/activities-log/activities-log.module.js +41 -0
- package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
- package/esm2015/lib/components/activity/activity.module.js +37 -0
- package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +54 -0
- package/esm2015/lib/components/attachment-item/attachment-item.module.js +44 -0
- package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +40 -0
- package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +157 -0
- package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
- package/esm2015/lib/components/avatar/avatar.module.js +32 -0
- package/esm2015/lib/components/card/card.component.js +48 -0
- package/esm2015/lib/components/card/card.module.js +23 -0
- package/esm2015/lib/components/comments/comments.module.js +82 -0
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +86 -0
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +81 -0
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +73 -0
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +63 -0
- package/esm2015/lib/components/comments/constants/comment.js +25 -0
- package/esm2015/lib/components/comments/services/comment-api.service.js +71 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +75 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +27 -0
- package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +30 -0
- package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +30 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +137 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +133 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +110 -0
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +68 -0
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +75 -0
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +111 -0
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +153 -0
- package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +50 -0
- package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +69 -0
- package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +140 -0
- package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +90 -0
- package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +82 -0
- package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
- package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
- package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +41 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +44 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +140 -0
- package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +24 -0
- package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +156 -0
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +75 -0
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +252 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +974 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +30 -0
- package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +159 -0
- package/esm2015/lib/components/documents/components/documents/documents.component.js +63 -0
- package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
- package/esm2015/lib/components/documents/constants/documents.js +86 -0
- package/esm2015/lib/components/documents/documents.module.js +123 -0
- package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
- package/esm2015/lib/components/documents/services/documents.service.js +223 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +391 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +34 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +164 -0
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +552 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +177 -0
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +43 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +137 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +27 -0
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +130 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +105 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +107 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +202 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +204 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +203 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +95 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +139 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +93 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +311 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +44 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +191 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +81 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +279 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +68 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +314 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +47 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +178 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +74 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +32 -0
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
- package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
- package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +299 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
- package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
- package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
- package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
- package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +83 -0
- package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
- package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
- package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +323 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +61 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +238 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
- package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +39 -0
- package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +34 -0
- package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +36 -0
- package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +59 -0
- package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +68 -0
- package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +33 -0
- package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +33 -0
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +55 -0
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +89 -0
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +61 -0
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +69 -0
- package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +62 -0
- package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +132 -0
- package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +264 -0
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +121 -0
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +91 -0
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +455 -0
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +26 -0
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +74 -0
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +114 -0
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +80 -0
- package/esm2015/lib/components/file-manger/components/move/move.component.js +110 -0
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +111 -0
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +86 -0
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +314 -0
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +294 -0
- package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +257 -0
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +64 -0
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +71 -0
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +358 -0
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +1040 -0
- package/esm2015/lib/components/file-manger/file-manger.module.js +295 -0
- package/esm2015/lib/components/filter/filter/filter.component.js +94 -0
- package/esm2015/lib/components/filter/filter.module.js +45 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +123 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +126 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +58 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +30 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
- package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +75 -0
- package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +70 -0
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +27 -0
- package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
- package/esm2015/lib/components/latest-activity/latest-activity.module.js +57 -0
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +51 -0
- package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +30 -0
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +137 -0
- package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +22 -0
- package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +57 -0
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +172 -0
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +164 -0
- package/esm2015/lib/components/notifications/notifications.module.js +109 -0
- package/esm2015/lib/components/notifications/notifications.service.js +280 -0
- package/esm2015/lib/components/pagination/pagination/pagination.component.js +124 -0
- package/esm2015/lib/components/pagination/pagination.module.js +32 -0
- package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +745 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +239 -0
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +177 -0
- package/esm2015/lib/components/permissions/permission.service.js +118 -0
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +232 -0
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +117 -0
- package/esm2015/lib/components/permissions/permissions.module.js +71 -0
- package/esm2015/lib/components/select/select/select.component.js +130 -0
- package/esm2015/lib/components/select/select.module.js +37 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +47 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +27 -0
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +116 -0
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +64 -0
- package/esm2015/lib/components/table/table/table.component.js +227 -0
- package/esm2015/lib/components/table/table.module.js +61 -0
- package/esm2015/lib/components/user/user/user.component.js +31 -0
- package/esm2015/lib/components/user/user.module.js +30 -0
- package/esm2015/lib/components/users-card/users-card.component.js +43 -0
- package/esm2015/lib/components/users-card/users-card.module.js +28 -0
- package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +33 -0
- package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
- package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +49 -0
- package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
- package/esm2015/lib/components/vocabulary/vocabulary.module.js +34 -0
- package/esm2015/lib/configuration/app-config.service.js +30 -0
- package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
- package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
- package/esm2015/lib/directive/directive.module.js +52 -0
- package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +46 -0
- package/esm2015/lib/directive/permissions/evaluators.service.js +152 -0
- package/esm2015/lib/directive/permissions/permissions.directive.js +69 -0
- package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
- package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
- package/esm2015/lib/nuxeo-development-framework.component.js +26 -0
- package/esm2015/lib/nuxeo-development-framework.module.js +50 -0
- package/esm2015/lib/nuxeo-development-framework.service.js +14 -0
- package/esm2015/lib/pipes/file-size.pipe.js +57 -0
- package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
- package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
- package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
- package/esm2015/lib/pipes/pipes.module.js +29 -0
- package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
- package/esm2015/lib/pipes/secure.pipe.js +40 -0
- package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
- package/esm2015/lib/shared/components/button/button.component.js +87 -0
- package/esm2015/lib/shared/components/item-list/item-list.component.js +77 -0
- package/esm2015/lib/shared/components/no-data/no-data.component.js +37 -0
- package/esm2015/lib/shared/components/read-more/read-more.component.js +108 -0
- package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +146 -0
- package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
- package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
- package/esm2015/lib/shared/libraryShared.module.js +81 -0
- package/esm2015/lib/shared-services/dialog-mangment.service.js +61 -0
- package/esm2015/lib/shared-services/dynamic-form.service.js +241 -0
- package/esm2015/lib/shared-services/file-manager.adapter.js +74 -0
- package/esm2015/lib/shared-services/file-manager.service.js +793 -0
- package/esm2015/lib/shared-services/global-pdftron.service.js +46 -0
- package/esm2015/lib/shared-services/mainfolder.service.js +162 -0
- package/esm2015/lib/shared-services/publishing-document.service.js +202 -0
- package/esm2015/lib/shared-services/recently-viewed.service.js +57 -0
- package/esm2015/lib/shared-services/shared-docs.service.js +135 -0
- package/esm2015/lib/shared-services/shared-services.module.js +20 -0
- package/esm2015/lib/shared-services/upload-file.service.js +29 -0
- package/esm2015/lib/shared-services/upload-managment.service.js +151 -0
- package/esm2015/lib/shared-services/user.service.js +54 -0
- package/esm2015/nuxeo-development-framework.js +5 -0
- package/esm2015/public-api.js +237 -0
- package/fesm2015/nuxeo-development-framework.js +27436 -0
- package/fesm2015/nuxeo-development-framework.js.map +1 -0
- package/lib/Core/adapters/adapter.service.d.ts +11 -0
- package/lib/Core/core.module.d.ts +14 -0
- package/lib/Core/enums/language.enum.d.ts +4 -0
- package/lib/Core/models/component.model.d.ts +6 -0
- package/lib/Core/services/callApi/call-api.service.d.ts +11 -0
- package/lib/Core/services/extension/action.extensions.d.ts +31 -0
- package/lib/Core/services/extension/component-register.service.d.ts +17 -0
- package/lib/Core/services/extension/extenion-utils.d.ts +14 -0
- package/lib/Core/services/extension/extension-element.d.ts +5 -0
- package/lib/Core/services/extension/extension-loader.service.d.ts +28 -0
- package/lib/Core/services/extension/extension.service.d.ts +70 -0
- package/lib/Core/services/initialization/initialization.service.d.ts +14 -0
- package/lib/Core/services/localStorag/local-storag.service.d.ts +41 -0
- package/lib/Core/services/nuxeo/nuxeo-override.d.ts +8 -0
- package/lib/Core/services/nuxeo/nuxeo.service.d.ts +33 -0
- package/lib/Core/services/roles/roles.service.d.ts +12 -0
- package/lib/Core/services/translation/translate-loader.service.d.ts +26 -0
- package/lib/Core/services/translation/translation.service.d.ts +74 -0
- package/lib/Core/services/user/user-preferences.service.d.ts +80 -0
- package/lib/Core/utilities/moment-date-adapter.d.ts +37 -0
- package/lib/Core/utilities/utility.service.d.ts +11 -0
- package/lib/components/activities-log/activities-log/activities-log.component.d.ts +26 -0
- package/lib/components/activities-log/activities-log/activities-log.service.d.ts +9 -0
- package/lib/components/activities-log/activities-log.module.d.ts +12 -0
- package/lib/components/activity/activity/activity.component.d.ts +13 -0
- package/lib/components/activity/activity.module.d.ts +13 -0
- package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +21 -0
- package/lib/components/attachment-item/attachment-item.module.d.ts +13 -0
- package/lib/components/attachment-modal/attachment-modal.module.d.ts +12 -0
- package/lib/components/attachment-modal/attachments/attachments.component.d.ts +50 -0
- package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
- package/lib/components/avatar/avatar.module.d.ts +13 -0
- package/lib/components/card/card.component.d.ts +32 -0
- package/lib/components/card/card.module.d.ts +12 -0
- package/lib/components/comments/comments.module.d.ts +26 -0
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +24 -0
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +46 -0
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +28 -0
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +22 -0
- package/lib/components/comments/constants/comment.d.ts +25 -0
- package/lib/components/comments/services/comment-api.service.d.ts +16 -0
- package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
- package/lib/components/confirm-caller/confirm-caller.module.d.ts +16 -0
- package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +10 -0
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +42 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
- package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
- package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +38 -0
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +30 -0
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +26 -0
- package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
- package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
- package/lib/components/create-entity/create-entity.module.d.ts +11 -0
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +38 -0
- package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
- package/lib/components/cts-tags/services/tags-api.service.d.ts +17 -0
- package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +30 -0
- package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
- package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
- package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +18 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +17 -0
- package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +8 -0
- package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +8 -0
- package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +54 -0
- package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +38 -0
- package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
- package/lib/components/documents/components/document-scan/document-scan.component.d.ts +112 -0
- package/lib/components/documents/components/document-scan/document-scan.service.d.ts +14 -0
- package/lib/components/documents/components/document-upload/document-upload.component.d.ts +58 -0
- package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
- package/lib/components/documents/constants/document-templates.d.ts +33 -0
- package/lib/components/documents/constants/documents.d.ts +95 -0
- package/lib/components/documents/documents.module.d.ts +33 -0
- package/lib/components/documents/services/document-templates.service.d.ts +24 -0
- package/lib/components/documents/services/documents.service.d.ts +36 -0
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +66 -0
- package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +16 -0
- package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +33 -0
- package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +137 -0
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +12 -0
- package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +55 -0
- package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +17 -0
- package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
- package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +27 -0
- package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
- package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
- package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
- package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +70 -0
- package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +76 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +29 -0
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +21 -0
- package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
- package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +64 -0
- package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
- package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
- package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +41 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +85 -0
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +13 -0
- package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +80 -0
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +40 -0
- package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
- package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +89 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +19 -0
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +104 -0
- package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +16 -0
- package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +79 -0
- package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +16 -0
- package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +13 -0
- package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
- package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
- package/lib/components/dynamic-form/dynamic-form.module.d.ts +66 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
- package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
- package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
- package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
- package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
- package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
- package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
- package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
- package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
- package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
- package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +25 -0
- package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
- package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
- package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +98 -0
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +20 -0
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +108 -0
- package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
- package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
- package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +13 -0
- package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +11 -0
- package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
- package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +28 -0
- package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +16 -0
- package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +12 -0
- package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +22 -0
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +30 -0
- package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +37 -0
- package/lib/components/dynamic-view/dynamic-view.module.d.ts +23 -0
- package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +15 -0
- package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +31 -0
- package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +41 -0
- package/lib/components/file-manger/components/copy/copy.component.d.ts +33 -0
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +24 -0
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +108 -0
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +11 -0
- package/lib/components/file-manger/components/delete/delete.component.d.ts +24 -0
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +56 -0
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +23 -0
- package/lib/components/file-manger/components/move/move.component.d.ts +33 -0
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +32 -0
- package/lib/components/file-manger/components/rename/rename.component.d.ts +24 -0
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +95 -0
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +58 -0
- package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +62 -0
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +34 -0
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +23 -0
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +194 -0
- package/lib/components/file-manger/file-manager.abstract.d.ts +173 -0
- package/lib/components/file-manger/file-manger.module.d.ts +59 -0
- package/lib/components/filter/filter/filter.component.d.ts +31 -0
- package/lib/components/filter/filter.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +35 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
- package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +9 -0
- package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
- package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
- package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
- package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
- package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +22 -0
- package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +10 -0
- package/lib/components/latest-activity/constants/activitylog.d.ts +82 -0
- package/lib/components/latest-activity/latest-activity.module.d.ts +19 -0
- package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
- package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +17 -0
- package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +10 -0
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +25 -0
- package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +10 -0
- package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +19 -0
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +30 -0
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +51 -0
- package/lib/components/notifications/notifications.module.d.ts +24 -0
- package/lib/components/notifications/notifications.service.d.ts +64 -0
- package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
- package/lib/components/pagination/pagination.module.d.ts +13 -0
- package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
- package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +102 -0
- package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +33 -0
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +44 -0
- package/lib/components/permissions/permission.service.d.ts +21 -0
- package/lib/components/permissions/permissions/permissions.component.d.ts +48 -0
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +22 -0
- package/lib/components/permissions/permissions.module.d.ts +21 -0
- package/lib/components/select/select/select.component.d.ts +43 -0
- package/lib/components/select/select.module.d.ts +12 -0
- package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +13 -0
- package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +10 -0
- package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +33 -0
- package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +19 -0
- package/lib/components/table/table/table.component.d.ts +108 -0
- package/lib/components/table/table.module.d.ts +20 -0
- package/lib/components/user/user/user.component.d.ts +13 -0
- package/lib/components/user/user.module.d.ts +10 -0
- package/lib/components/users-card/users-card.component.d.ts +22 -0
- package/lib/components/users-card/users-card.module.d.ts +17 -0
- package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +12 -0
- package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
- package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +16 -0
- package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
- package/lib/components/vocabulary/vocabulary.module.d.ts +11 -0
- package/lib/configuration/app-config.service.d.ts +14 -0
- package/lib/configuration/helpers/app-initializer.d.ts +2 -0
- package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
- package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
- package/lib/directive/directive.module.d.ts +17 -0
- package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +11 -0
- package/lib/directive/permissions/evaluators.service.d.ts +37 -0
- package/lib/directive/permissions/permissions.directive.d.ts +42 -0
- package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
- package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
- package/lib/nuxeo-development-framework.component.d.ts +8 -0
- package/lib/nuxeo-development-framework.module.d.ts +13 -0
- package/lib/nuxeo-development-framework.service.d.ts +6 -0
- package/lib/pipes/file-size.pipe.d.ts +34 -0
- package/lib/pipes/hijri-date.pipe.d.ts +32 -0
- package/lib/pipes/localized-date.pipe.d.ts +44 -0
- package/lib/pipes/multi-value.pipe.d.ts +32 -0
- package/lib/pipes/pipes.module.d.ts +18 -0
- package/lib/pipes/secure-html.pipe.d.ts +26 -0
- package/lib/pipes/secure.pipe.d.ts +29 -0
- package/lib/pipes/time-ago.pipe.d.ts +34 -0
- package/lib/shared/components/button/button.component.d.ts +38 -0
- package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
- package/lib/shared/components/no-data/no-data.component.d.ts +21 -0
- package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
- package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +51 -0
- package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
- package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
- package/lib/shared/libraryShared.module.d.ts +26 -0
- package/lib/shared-services/dialog-mangment.service.d.ts +15 -0
- package/lib/shared-services/dynamic-form.service.d.ts +24 -0
- package/lib/shared-services/file-manager.adapter.d.ts +48 -0
- package/lib/shared-services/file-manager.service.d.ts +94 -0
- package/lib/shared-services/global-pdftron.service.d.ts +10 -0
- package/lib/shared-services/mainfolder.service.d.ts +32 -0
- package/lib/shared-services/publishing-document.service.d.ts +25 -0
- package/lib/shared-services/recently-viewed.service.d.ts +17 -0
- package/lib/shared-services/shared-docs.service.d.ts +21 -0
- package/lib/shared-services/shared-services.module.d.ts +7 -0
- package/lib/shared-services/upload-file.service.d.ts +10 -0
- package/lib/shared-services/upload-managment.service.d.ts +72 -0
- package/lib/shared-services/user.service.d.ts +12 -0
- package/nuxeo-development-framework.d.ts +5 -0
- package/package.json +70 -63
- package/public-api.d.ts +224 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/Core/adapters/adapter.service.ts +0 -46
- package/src/lib/Core/core.module.ts +0 -65
- package/src/lib/Core/enums/language.enum.ts +0 -4
- package/src/lib/Core/models/component.model.ts +0 -11
- package/src/lib/Core/services/callApi/call-api.service.ts +0 -31
- package/src/lib/Core/services/extension/action.extensions.ts +0 -35
- package/src/lib/Core/services/extension/component-register.service.ts +0 -25
- package/src/lib/Core/services/extension/extenion-utils.ts +0 -142
- package/src/lib/Core/services/extension/extension-element.ts +0 -6
- package/src/lib/Core/services/extension/extension-loader.service.ts +0 -160
- package/src/lib/Core/services/extension/extension.service.ts +0 -137
- package/src/lib/Core/services/initialization/initialization.service.ts +0 -50
- package/src/lib/Core/services/localStorag/local-storag.service.ts +0 -125
- package/src/lib/Core/services/nuxeo/nuxeo-override.ts +0 -86
- package/src/lib/Core/services/nuxeo/nuxeo.service.ts +0 -123
- package/src/lib/Core/services/roles/roles.service.spec.ts +0 -16
- package/src/lib/Core/services/roles/roles.service.ts +0 -122
- package/src/lib/Core/services/translation/translate-loader.service.ts +0 -173
- package/src/lib/Core/services/translation/translation.service.ts +0 -221
- package/src/lib/Core/services/user/user-preferences.service.ts +0 -172
- package/src/lib/Core/utilities/moment-date-adapter.ts +0 -203
- package/src/lib/Core/utilities/moment-dates-format.ts +0 -18
- package/src/lib/Core/utilities/utility.service.ts +0 -83
- package/src/lib/assets/scss/ej2/material.css +0 -1
- package/src/lib/assets/scss/mixins.scss +0 -38
- package/src/lib/assets/scss/myApp.scss +0 -487
- package/src/lib/assets/scss/variables.scss +0 -62
- package/src/lib/components/activities-log/activities-log/activities-log.component.html +0 -20
- package/src/lib/components/activities-log/activities-log/activities-log.component.scss +0 -12
- package/src/lib/components/activities-log/activities-log/activities-log.component.spec.ts +0 -25
- package/src/lib/components/activities-log/activities-log/activities-log.component.ts +0 -177
- package/src/lib/components/activities-log/activities-log/activities-log.service.ts +0 -30
- package/src/lib/components/activities-log/activities-log.module.ts +0 -23
- package/src/lib/components/activity/activity/activity.component.html +0 -28
- package/src/lib/components/activity/activity/activity.component.scss +0 -33
- package/src/lib/components/activity/activity/activity.component.spec.ts +0 -25
- package/src/lib/components/activity/activity/activity.component.ts +0 -23
- package/src/lib/components/activity/activity.module.ts +0 -24
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.html +0 -36
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.scss +0 -21
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.spec.ts +0 -25
- package/src/lib/components/attachment-item/attachment-item/attachment-item.component.ts +0 -35
- package/src/lib/components/attachment-item/attachment-item.module.ts +0 -26
- package/src/lib/components/attachment-modal/attachment-modal.module.ts +0 -24
- package/src/lib/components/attachment-modal/attachments/attachments.component.html +0 -41
- package/src/lib/components/attachment-modal/attachments/attachments.component.scss +0 -5
- package/src/lib/components/attachment-modal/attachments/attachments.component.spec.ts +0 -25
- package/src/lib/components/attachment-modal/attachments/attachments.component.ts +0 -161
- package/src/lib/components/avatar/avatar/avatar.component.html +0 -13
- package/src/lib/components/avatar/avatar/avatar.component.scss +0 -32
- package/src/lib/components/avatar/avatar/avatar.component.spec.ts +0 -25
- package/src/lib/components/avatar/avatar/avatar.component.ts +0 -50
- package/src/lib/components/avatar/avatar.module.ts +0 -21
- package/src/lib/components/card/card.component.html +0 -35
- package/src/lib/components/card/card.component.scss +0 -81
- package/src/lib/components/card/card.component.spec.ts +0 -25
- package/src/lib/components/card/card.component.ts +0 -38
- package/src/lib/components/card/card.module.ts +0 -15
- package/src/lib/components/comments/comments.module.ts +0 -48
- package/src/lib/components/comments/components/comment-item/comment-item.component.html +0 -32
- package/src/lib/components/comments/components/comment-item/comment-item.component.scss +0 -41
- package/src/lib/components/comments/components/comment-item/comment-item.component.ts +0 -70
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.html +0 -58
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.scss +0 -69
- package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.ts +0 -80
- package/src/lib/components/comments/components/comments-list/comments-list.component.html +0 -43
- package/src/lib/components/comments/components/comments-list/comments-list.component.scss +0 -103
- package/src/lib/components/comments/components/comments-list/comments-list.component.ts +0 -61
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +0 -22
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +0 -48
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +0 -25
- package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +0 -56
- package/src/lib/components/comments/constants/comment.ts +0 -25
- package/src/lib/components/comments/services/comment-api.service.ts +0 -85
- package/src/lib/components/confirm-caller/confirm-caller.dialog.html +0 -26
- package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +0 -34
- package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +0 -68
- package/src/lib/components/confirm-caller/confirm-caller.module.ts +0 -19
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.html +0 -13
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.scss +0 -0
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.spec.ts +0 -25
- package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.ts +0 -18
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.html +0 -24
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.scss +0 -0
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.spec.ts +0 -25
- package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.ts +0 -19
- package/src/lib/components/confirmation-dialog/confirmation-dialog.module.ts +0 -18
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.html +0 -27
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.scss +0 -34
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.ts +0 -149
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +0 -92
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.scss +0 -124
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.ts +0 -132
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.html +0 -33
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.scss +0 -42
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.ts +0 -111
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.html +0 -20
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.scss +0 -9
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.spec.ts +0 -25
- package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.ts +0 -64
- package/src/lib/components/correspondence-relation/components/versions/versions.component.html +0 -80
- package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +0 -0
- package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +0 -71
- package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +0 -59
- package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +0 -192
- package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +0 -51
- package/src/lib/components/create-entity/create-entity/create-entity.component.html +0 -18
- package/src/lib/components/create-entity/create-entity/create-entity.component.scss +0 -90
- package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +0 -25
- package/src/lib/components/create-entity/create-entity/create-entity.component.ts +0 -57
- package/src/lib/components/create-entity/create-entity.module.ts +0 -22
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +0 -57
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +0 -43
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +0 -25
- package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +0 -133
- package/src/lib/components/cts-tags/cts-tags.module.ts +0 -35
- package/src/lib/components/cts-tags/services/tags-api.service.ts +0 -106
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +0 -44
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +0 -91
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.spec.ts +0 -25
- package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.ts +0 -79
- package/src/lib/components/custom-toastr/custom-toastr.module.ts +0 -19
- package/src/lib/components/custom-toastr/interfaces/toast-type.interface.ts +0 -1
- package/src/lib/components/custom-toastr/services/custom-toastr.service.ts +0 -56
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.html +0 -37
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.scss +0 -73
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.spec.ts +0 -25
- package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.ts +0 -34
- package/src/lib/components/display-suitable-icon/display-suitable-icon/icon.service.ts +0 -107
- package/src/lib/components/display-suitable-icon/display-suitable-icon.module.ts +0 -16
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.html +0 -92
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.scss +0 -65
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.spec.ts +0 -25
- package/src/lib/components/documents/components/attachments-list/attachments-list.component.ts +0 -162
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.html +0 -36
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.scss +0 -44
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.spec.ts +0 -25
- package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.ts +0 -77
- package/src/lib/components/documents/components/document-list/documents-list.component.html +0 -34
- package/src/lib/components/documents/components/document-list/documents-list.component.scss +0 -41
- package/src/lib/components/documents/components/document-list/documents-list.component.ts +0 -244
- package/src/lib/components/documents/components/document-scan/document-scan.component.html +0 -176
- package/src/lib/components/documents/components/document-scan/document-scan.component.scss +0 -725
- package/src/lib/components/documents/components/document-scan/document-scan.component.ts +0 -1156
- package/src/lib/components/documents/components/document-scan/document-scan.service.ts +0 -26
- package/src/lib/components/documents/components/document-upload/document-upload.component.html +0 -19
- package/src/lib/components/documents/components/document-upload/document-upload.component.scss +0 -49
- package/src/lib/components/documents/components/document-upload/document-upload.component.ts +0 -168
- package/src/lib/components/documents/components/documents/documents.component.html +0 -16
- package/src/lib/components/documents/components/documents/documents.component.scss +0 -0
- package/src/lib/components/documents/components/documents/documents.component.ts +0 -49
- package/src/lib/components/documents/constants/document-templates.ts +0 -32
- package/src/lib/components/documents/constants/documents.ts +0 -85
- package/src/lib/components/documents/documents.module.ts +0 -69
- package/src/lib/components/documents/services/document-templates.service.ts +0 -155
- package/src/lib/components/documents/services/documents.service.ts +0 -354
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.html +0 -26
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.scss +0 -35
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.spec.ts +0 -25
- package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.ts +0 -423
- package/src/lib/components/dynamic-chart/dynamic-chart.module.ts +0 -22
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.html +0 -4
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.scss +0 -14
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.spec.ts +0 -25
- package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.ts +0 -178
- package/src/lib/components/dynamic-chart/new-chart-box.ts +0 -0
- package/src/lib/components/dynamic-chart/services/chart-data.service.ts +0 -613
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.html +0 -58
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.scss +0 -0
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +0 -162
- package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +0 -25
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.html +0 -122
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.scss +0 -103
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.spec.ts +0 -25
- package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.ts +0 -124
- package/src/lib/components/dynamic-filter/dynamic-filter.module.ts +0 -19
- package/src/lib/components/dynamic-filter/services/dynamic-filter.service.ts +0 -14
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.html +0 -100
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.scss +0 -38
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/department-form/department-form.component.ts +0 -132
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.html +0 -3
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.scss +0 -51
- package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.ts +0 -109
- package/src/lib/components/dynamic-form/components/dynamic-form/fields.adapter.ts +0 -123
- package/src/lib/components/dynamic-form/components/dynamic-form/form-builder.service.ts +0 -120
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.html +0 -14
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.scss +0 -2
- package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.ts +0 -34
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.html +0 -15
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.scss +0 -73
- package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.ts +0 -161
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.html +0 -10
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.scss +0 -13
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.ts +0 -72
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.html +0 -56
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +0 -99
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +0 -210
- package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.ts +0 -94
- package/src/lib/components/dynamic-form/components/dynamic-form-department/constants/department.ts +0 -12
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.html +0 -36
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.scss +0 -11
- package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.ts +0 -230
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +0 -251
- package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +0 -126
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.html +0 -1
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.ts +0 -92
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.html +0 -29
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.scss +0 -54
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.ts +0 -152
- package/src/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.ts +0 -105
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.html +0 -31
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.scss +0 -5
- package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.ts +0 -32
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.html +0 -56
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.scss +0 -24
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.ts +0 -110
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.html +0 -27
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.scss +0 -100
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.ts +0 -117
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.html +0 -83
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.scss +0 -136
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.ts +0 -199
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.html +0 -99
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.scss +0 -177
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.ts +0 -335
- package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +0 -50
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.html +0 -92
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.scss +0 -132
- package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.ts +0 -194
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.html +0 -13
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.scss +0 -19
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.ts +0 -85
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.html +0 -27
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.scss +0 -147
- package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.ts +0 -213
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.html +0 -68
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.scss +0 -208
- package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.ts +0 -308
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.ts +0 -73
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +0 -350
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +0 -235
- package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +0 -246
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +0 -23
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +0 -29
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.ts +0 -39
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.html +0 -35
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.spec.ts +0 -25
- package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.ts +0 -175
- package/src/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.ts +0 -780
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.html +0 -2
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.ts +0 -33
- package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.ts +0 -22
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.html +0 -1
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.ts +0 -32
- package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.ts +0 -20
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.css +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.html +0 -17
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.ts +0 -65
- package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.ts +0 -34
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.html +0 -10
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.scss +0 -0
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.ts +0 -28
- package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.ts +0 -34
- package/src/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.ts +0 -10
- package/src/lib/components/dynamic-form/dynamic-form.module.scss +0 -13
- package/src/lib/components/dynamic-form/dynamic-form.module.ts +0 -193
- package/src/lib/components/dynamic-form/interfaces/aspect-oriented-config.interface.ts +0 -3
- package/src/lib/components/dynamic-form/interfaces/content-metadata-config.interface.ts +0 -16
- package/src/lib/components/dynamic-form/interfaces/content-metadata.interfaces.ts +0 -26
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-arrayitem-properties.interface.ts +0 -5
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-group.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.ts +0 -16
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.ts +0 -4
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.ts +0 -12
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.ts +0 -11
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.ts +0 -13
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.ts +0 -6
- package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.ts +0 -9
- package/src/lib/components/dynamic-form/interfaces/indifferent-config.interface.ts +0 -1
- package/src/lib/components/dynamic-form/interfaces/layout-oriented-config.interface.ts +0 -17
- package/src/lib/components/dynamic-form/interfaces/organised-property-group.interface.ts +0 -7
- package/src/lib/components/dynamic-form/interfaces/preset-config.interface.ts +0 -8
- package/src/lib/components/dynamic-form/interfaces/property-group.interface.ts +0 -14
- package/src/lib/components/dynamic-form/interfaces/property.interface.ts +0 -12
- package/src/lib/components/dynamic-form/models/dynamic-form-arrayitem.model.ts +0 -26
- package/src/lib/components/dynamic-form/models/dynamic-form-baseitem.model.ts +0 -96
- package/src/lib/components/dynamic-form/models/dynamic-form-boolitem.model.ts +0 -27
- package/src/lib/components/dynamic-form/models/dynamic-form-dateitem.model.ts +0 -39
- package/src/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.ts +0 -18
- package/src/lib/components/dynamic-form/models/dynamic-form-keyvaluepairs.model.ts +0 -19
- package/src/lib/components/dynamic-form/models/dynamic-form-mapitem.model.ts +0 -17
- package/src/lib/components/dynamic-form/models/dynamic-form-selectitem.model.ts +0 -30
- package/src/lib/components/dynamic-form/models/dynamic-form-textitem.model.ts +0 -47
- package/src/lib/components/dynamic-form/services/card-item-types.service.ts +0 -55
- package/src/lib/components/dynamic-form/services/dynamic-component-mapper.service.ts +0 -86
- package/src/lib/components/dynamic-form/services/dynamic-form-update.service.ts +0 -105
- package/src/lib/components/dynamic-form/services/property-groups-translator.service.ts +0 -159
- package/src/lib/components/dynamic-form/services/vocabulary-api.service.ts +0 -32
- package/src/lib/components/dynamic-form/validators/date-validator.ts +0 -18
- package/src/lib/components/dynamic-form/validators/length-validator.ts +0 -18
- package/src/lib/components/dynamic-form/validators/regex-validator.ts +0 -16
- package/src/lib/components/dynamic-form/validators/required-validator.ts +0 -7
- package/src/lib/components/dynamic-form/validators/value-validator.ts +0 -18
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.html +0 -219
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.scss +0 -195
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.spec.ts +0 -25
- package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.ts +0 -316
- package/src/lib/components/dynamic-search/dynamic-search.module.ts +0 -33
- package/src/lib/components/dynamic-table/constants/documents.ts +0 -72
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.html +0 -46
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.scss +0 -33
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.spec.ts +0 -25
- package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.ts +0 -239
- package/src/lib/components/dynamic-table/dynamic-table.module.ts +0 -27
- package/src/lib/components/dynamic-table/services/dynamic-table.service.spec.ts +0 -16
- package/src/lib/components/dynamic-table/services/dynamic-table.service.ts +0 -10
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.html +0 -11
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.scss +0 -63
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.spec.ts +0 -25
- package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.ts +0 -25
- package/src/lib/components/dynamic-tabs/dynamic-tabs.module.ts +0 -20
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.html +0 -4
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.ts +0 -19
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.html +0 -3
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.ts +0 -55
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.html +0 -3
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.ts +0 -65
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.html +0 -14
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.ts +0 -28
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.html +0 -15
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.ts +0 -19
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.html +0 -5
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.ts +0 -38
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.html +0 -14
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.ts +0 -84
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.html +0 -4
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.scss +0 -0
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.ts +0 -44
- package/src/lib/components/dynamic-view/dynamic-view.module.ts +0 -44
- package/src/lib/components/dynamic-view/dynamic-viewe.service.ts +0 -58
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.html +0 -24
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.scss +0 -55
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.spec.ts +0 -25
- package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.ts +0 -27
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.html +0 -34
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.scss +0 -0
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.ts +0 -139
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.html +0 -88
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.scss +0 -17
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/clipboard/clipboard.component.ts +0 -279
- package/src/lib/components/file-manger/components/copy/copy.component.html +0 -24
- package/src/lib/components/file-manger/components/copy/copy.component.scss +0 -0
- package/src/lib/components/file-manger/components/copy/copy.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/copy/copy.component.ts +0 -129
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +0 -32
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.scss +0 -0
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/create-directory/create-directory.component.ts +0 -85
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +0 -241
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +0 -30
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/create-modal/create-modal.component.ts +0 -475
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.html +0 -39
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.scss +0 -0
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/creation-type/creation-type.component.ts +0 -19
- package/src/lib/components/file-manger/components/delete/delete.component.html +0 -25
- package/src/lib/components/file-manger/components/delete/delete.component.scss +0 -0
- package/src/lib/components/file-manger/components/delete/delete.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/delete/delete.component.ts +0 -80
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +0 -65
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +0 -17
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.ts +0 -113
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.html +0 -31
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.scss +0 -0
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/loan-request/loan-request.component.ts +0 -72
- package/src/lib/components/file-manger/components/move/move.component.html +0 -24
- package/src/lib/components/file-manger/components/move/move.component.scss +0 -0
- package/src/lib/components/file-manger/components/move/move.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/move/move.component.ts +0 -114
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.html +0 -45
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.scss +0 -0
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.ts +0 -98
- package/src/lib/components/file-manger/components/rename/rename.component.html +0 -28
- package/src/lib/components/file-manger/components/rename/rename.component.scss +0 -0
- package/src/lib/components/file-manger/components/rename/rename.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/rename/rename.component.ts +0 -82
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +0 -336
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.scss +0 -9
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.ts +0 -337
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +0 -159
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.scss +0 -38
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.ts +0 -288
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.html +0 -350
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.scss +0 -0
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.ts +0 -247
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.html +0 -213
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.scss +0 -3
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/template-modal/template-modal.component.ts +0 -55
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.html +0 -26
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.scss +0 -0
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.ts +0 -74
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.html +0 -97
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.scss +0 -7
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.spec.ts +0 -25
- package/src/lib/components/file-manger/components/update-modal/update-modal.component.ts +0 -365
- package/src/lib/components/file-manger/file-manager.abstract.ts +0 -1351
- package/src/lib/components/file-manger/file-manger.module.ts +0 -154
- package/src/lib/components/filter/filter/filter.component.html +0 -79
- package/src/lib/components/filter/filter/filter.component.md +0 -68
- package/src/lib/components/filter/filter/filter.component.scss +0 -50
- package/src/lib/components/filter/filter/filter.component.spec.ts +0 -25
- package/src/lib/components/filter/filter/filter.component.ts +0 -81
- package/src/lib/components/filter/filter.module.ts +0 -27
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-date-picker.component.scss +0 -67
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.html +0 -47
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.ts +0 -99
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-date-picker.component.scss +0 -67
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.html +0 -47
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.ts +0 -102
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.html +0 -29
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.ts +0 -152
- package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.ts +0 -23
- package/src/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.ts +0 -35
- package/src/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.ts +0 -94
- package/src/lib/components/hijri-gregorian-datepicker/services/date-helper.service.ts +0 -28
- package/src/lib/components/hijri-gregorian-datepicker/services/ngx-hijri-gregorian-datepicker.service.ts +0 -9
- package/src/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.ts +0 -35
- package/src/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.ts +0 -26
- package/src/lib/components/hijri-gregorian-datepicker/utils/consts.ts +0 -4
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.html +0 -27
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.scss +0 -13
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/activity-line/activity-line.component.ts +0 -73
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.html +0 -36
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.scss +0 -12
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.ts +0 -78
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +0 -38
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +0 -157
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.spec.ts +0 -25
- package/src/lib/components/latest-activity/components/single-activity/single-activity.component.ts +0 -19
- package/src/lib/components/latest-activity/constants/activitylog.ts +0 -80
- package/src/lib/components/latest-activity/latest-activity.module.ts +0 -33
- package/src/lib/components/latest-activity/services/activity-log.service.ts +0 -41
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.html +0 -36
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.scss +0 -32
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.spec.ts +0 -25
- package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.ts +0 -45
- package/src/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.ts +0 -18
- package/src/lib/components/notifications/components/notification-item/notification-item.component.html +0 -45
- package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +0 -60
- package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +0 -136
- package/src/lib/components/notifications/components/notification-options/notification-options.component.html +0 -7
- package/src/lib/components/notifications/components/notification-options/notification-options.component.scss +0 -7
- package/src/lib/components/notifications/components/notification-options/notification-options.component.ts +0 -16
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.html +0 -66
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.scss +0 -62
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.spec.ts +0 -25
- package/src/lib/components/notifications/components/notification-toast/notification-toast.component.ts +0 -55
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +0 -7
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +0 -90
- package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +0 -190
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +0 -55
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +0 -108
- package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +0 -161
- package/src/lib/components/notifications/interceptors/token.interceptor.ts +0 -37
- package/src/lib/components/notifications/notifications.module.ts +0 -67
- package/src/lib/components/notifications/notifications.service.ts +0 -300
- package/src/lib/components/pagination/pagination/pagination.component.html +0 -33
- package/src/lib/components/pagination/pagination/pagination.component.scss +0 -46
- package/src/lib/components/pagination/pagination/pagination.component.spec.ts +0 -25
- package/src/lib/components/pagination/pagination/pagination.component.ts +0 -132
- package/src/lib/components/pagination/pagination.module.ts +0 -21
- package/src/lib/components/pdf-tron/pdf-tron.module.ts +0 -16
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.html +0 -1
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.scss +0 -0
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.spec.ts +0 -25
- package/src/lib/components/pdf-tron/pdftron/pdftron.component.ts +0 -782
- package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +0 -236
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +0 -149
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.scss +0 -159
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.spec.ts +0 -25
- package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.ts +0 -198
- package/src/lib/components/permissions/permission.service.ts +0 -151
- package/src/lib/components/permissions/permissions/permissions.component.html +0 -129
- package/src/lib/components/permissions/permissions/permissions.component.scss +0 -0
- package/src/lib/components/permissions/permissions/permissions.component.spec.ts +0 -25
- package/src/lib/components/permissions/permissions/permissions.component.ts +0 -227
- package/src/lib/components/permissions/permissions-template/permissions-template.component.html +0 -47
- package/src/lib/components/permissions/permissions-template/permissions-template.component.scss +0 -7
- package/src/lib/components/permissions/permissions-template/permissions-template.component.spec.ts +0 -25
- package/src/lib/components/permissions/permissions-template/permissions-template.component.ts +0 -104
- package/src/lib/components/permissions/permissions.module.ts +0 -39
- package/src/lib/components/select/select/select.component.html +0 -64
- package/src/lib/components/select/select/select.component.scss +0 -144
- package/src/lib/components/select/select/select.component.spec.ts +0 -25
- package/src/lib/components/select/select/select.component.ts +0 -116
- package/src/lib/components/select/select.module.ts +0 -22
- package/src/lib/components/select-users-by-department/select-users-by-department.module.ts +0 -27
- package/src/lib/components/select-users-by-department/select-users-by-departments/department-management.service.ts +0 -27
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.html +0 -88
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.scss +0 -15
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.spec.ts +0 -25
- package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.ts +0 -105
- package/src/lib/components/table/dynamic-column/dynamic-column.component.ts +0 -79
- package/src/lib/components/table/table/table.component.html +0 -377
- package/src/lib/components/table/table/table.component.scss +0 -507
- package/src/lib/components/table/table/table.component.spec.ts +0 -25
- package/src/lib/components/table/table/table.component.ts +0 -195
- package/src/lib/components/table/table.module.ts +0 -35
- package/src/lib/components/user/user/user.component.html +0 -15
- package/src/lib/components/user/user/user.component.scss +0 -0
- package/src/lib/components/user/user/user.component.spec.ts +0 -25
- package/src/lib/components/user/user/user.component.ts +0 -19
- package/src/lib/components/user/user.module.ts +0 -18
- package/src/lib/components/users-card/users-card.component.html +0 -20
- package/src/lib/components/users-card/users-card.component.scss +0 -16
- package/src/lib/components/users-card/users-card.component.ts +0 -30
- package/src/lib/components/users-card/users-card.module.ts +0 -19
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.html +0 -9
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.scss +0 -12
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.spec.ts +0 -25
- package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.ts +0 -25
- package/src/lib/components/viewer-log/viewer-log.module.ts +0 -12
- package/src/lib/components/vocabulary/interfaces/op-type.interface.ts +0 -4
- package/src/lib/components/vocabulary/services/vocabulary-api.service.ts +0 -46
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.html +0 -12
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.scss +0 -0
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.spec.ts +0 -25
- package/src/lib/components/vocabulary/vocabulary/vocabulary.component.ts +0 -80
- package/src/lib/components/vocabulary/vocabulary.module.ts +0 -20
- package/src/lib/configuration/app-config.service.ts +0 -26
- package/src/lib/configuration/configuration.module.ts +0 -12
- package/src/lib/configuration/helpers/app-initializer.ts +0 -5
- package/src/lib/directive/app-has-role/app-has-role.directive.ts +0 -62
- package/src/lib/directive/clickOutSide/click-outside.directive.ts +0 -20
- package/src/lib/directive/directive.module.ts +0 -36
- package/src/lib/directive/drag-and-drop/drag-and-drop.directive.ts +0 -37
- package/src/lib/directive/permissions/evaluators.service.ts +0 -148
- package/src/lib/directive/permissions/permissions.directive.ts +0 -74
- package/src/lib/directive/rtl/set-dir-rtl.directive.ts +0 -25
- package/src/lib/directive/rtl/set-rtl.directive.ts +0 -26
- package/src/lib/nuxeo-development-framework.component.ts +0 -20
- package/src/lib/nuxeo-development-framework.module.ts +0 -31
- package/src/lib/nuxeo-development-framework.service.ts +0 -9
- package/src/lib/pipes/file-size.pipe.ts +0 -61
- package/src/lib/pipes/hijri-date.pipe.ts +0 -40
- package/src/lib/pipes/localized-date.pipe.ts +0 -80
- package/src/lib/pipes/multi-value.pipe.ts +0 -39
- package/src/lib/pipes/pipes.module.ts +0 -20
- package/src/lib/pipes/secure-html.pipe.ts +0 -27
- package/src/lib/pipes/secure.pipe.ts +0 -37
- package/src/lib/pipes/time-ago.pipe.ts +0 -68
- package/src/lib/shared/components/button/button.component.html +0 -13
- package/src/lib/shared/components/button/button.component.scss +0 -102
- package/src/lib/shared/components/button/button.component.spec.ts +0 -25
- package/src/lib/shared/components/button/button.component.ts +0 -87
- package/src/lib/shared/components/item-list/item-list.component.html +0 -37
- package/src/lib/shared/components/item-list/item-list.component.scss +0 -62
- package/src/lib/shared/components/item-list/item-list.component.spec.ts +0 -25
- package/src/lib/shared/components/item-list/item-list.component.ts +0 -69
- package/src/lib/shared/components/no-data/no-data.component.html +0 -3
- package/src/lib/shared/components/no-data/no-data.component.scss +0 -13
- package/src/lib/shared/components/no-data/no-data.component.spec.ts +0 -25
- package/src/lib/shared/components/no-data/no-data.component.ts +0 -26
- package/src/lib/shared/components/read-more/read-more.component.ts +0 -86
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.html +0 -24
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.scss +0 -50
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.spec.ts +0 -25
- package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.ts +0 -153
- package/src/lib/shared/components/spinner/spinner.component.html +0 -10
- package/src/lib/shared/components/spinner/spinner.component.scss +0 -11
- package/src/lib/shared/components/spinner/spinner.component.spec.ts +0 -25
- package/src/lib/shared/components/spinner/spinner.component.ts +0 -25
- package/src/lib/shared/components/user-card/user-card.component.html +0 -21
- package/src/lib/shared/components/user-card/user-card.component.scss +0 -42
- package/src/lib/shared/components/user-card/user-card.component.spec.ts +0 -25
- package/src/lib/shared/components/user-card/user-card.component.ts +0 -42
- package/src/lib/shared/libraryShared.module.ts +0 -47
- package/src/lib/shared-services/dialog-mangment.service.ts +0 -62
- package/src/lib/shared-services/dynamic-form.service.ts +0 -252
- package/src/lib/shared-services/file-manager.adapter.ts +0 -69
- package/src/lib/shared-services/file-manager.service.ts +0 -1074
- package/src/lib/shared-services/global-pdftron.service.ts +0 -50
- package/src/lib/shared-services/mainfolder.service.ts +0 -220
- package/src/lib/shared-services/publishing-document.service.ts +0 -242
- package/src/lib/shared-services/recently-viewed.service.ts +0 -55
- package/src/lib/shared-services/shared-docs.service.ts +0 -173
- package/src/lib/shared-services/shared-services.module.ts +0 -12
- package/src/lib/shared-services/upload-file.service.ts +0 -26
- package/src/lib/shared-services/upload-managment.service.ts +0 -148
- package/src/lib/shared-services/user.service.ts +0 -49
- package/src/public-api.ts +0 -274
- package/src/test.ts +0 -26
- package/tsconfig.doc.json +0 -4
- package/tsconfig.lib.json +0 -21
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
- /package/{src/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.ts → lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts} +0 -0
- /package/{src/lib/components/dynamic-form/models/dynamic-form.models.ts → lib/components/dynamic-form/models/dynamic-form.models.d.ts} +0 -0
package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { NgbDateParserFormatter, NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
6
|
+
import { CustomNgbDateParserFormatter } from './utils/CustomNgbDateParserFormatter';
|
|
7
|
+
import { DateFormatterService } from './services/date-formatter.service';
|
|
8
|
+
import { GregorianDatepickerComponent } from './hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component';
|
|
9
|
+
import { HijriDatepickerComponent } from './hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component';
|
|
10
|
+
import { HijriGregorianDatepickerComponent } from './hijri-gregorian-datepicker/hijri-gregorian-datepicker.component';
|
|
11
|
+
import { ProvideParentFormDirective } from './hijri-gregorian-datepicker/provide-parent-form.directive';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/** @ignore */
|
|
14
|
+
export class NgxHijriGregorianDatepickerModule {
|
|
15
|
+
}
|
|
16
|
+
NgxHijriGregorianDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgxHijriGregorianDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17
|
+
NgxHijriGregorianDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgxHijriGregorianDatepickerModule, declarations: [HijriGregorianDatepickerComponent,
|
|
18
|
+
HijriDatepickerComponent,
|
|
19
|
+
GregorianDatepickerComponent,
|
|
20
|
+
ProvideParentFormDirective], imports: [CommonModule,
|
|
21
|
+
ReactiveFormsModule,
|
|
22
|
+
TranslateModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
NgbModule], exports: [HijriGregorianDatepickerComponent] });
|
|
25
|
+
NgxHijriGregorianDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgxHijriGregorianDatepickerModule, providers: [
|
|
26
|
+
{ provide: NgbDateParserFormatter, useClass: CustomNgbDateParserFormatter },
|
|
27
|
+
DateFormatterService
|
|
28
|
+
], imports: [[
|
|
29
|
+
CommonModule,
|
|
30
|
+
ReactiveFormsModule,
|
|
31
|
+
TranslateModule,
|
|
32
|
+
FormsModule,
|
|
33
|
+
NgbModule
|
|
34
|
+
]] });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgxHijriGregorianDatepickerModule, decorators: [{
|
|
36
|
+
type: NgModule,
|
|
37
|
+
args: [{
|
|
38
|
+
declarations: [
|
|
39
|
+
HijriGregorianDatepickerComponent,
|
|
40
|
+
HijriDatepickerComponent,
|
|
41
|
+
GregorianDatepickerComponent,
|
|
42
|
+
ProvideParentFormDirective
|
|
43
|
+
],
|
|
44
|
+
imports: [
|
|
45
|
+
CommonModule,
|
|
46
|
+
ReactiveFormsModule,
|
|
47
|
+
TranslateModule,
|
|
48
|
+
FormsModule,
|
|
49
|
+
NgbModule
|
|
50
|
+
],
|
|
51
|
+
providers: [
|
|
52
|
+
{ provide: NgbDateParserFormatter, useClass: CustomNgbDateParserFormatter },
|
|
53
|
+
DateFormatterService
|
|
54
|
+
],
|
|
55
|
+
exports: [HijriGregorianDat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EZvcm1EaXJlY3RpdmUgfSBmcm9tICcuL2hpanJpLWdyZWdvcmlhbi1kYXRlcGlja2VyL3Byb3ZpZGUtcGFyZW50LWZvcm0uZGlyZWN0aXZlJztcclxuXHJcblxyXG4vKiogQGlnbm9yZSAqL1xyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgSGlqcmlHcmVnb3JpYW5EYXRlcGlja2VyQ29tcG9uZW50LFxyXG4gICAgSGlqcmlEYXRlcGlja2VyQ29tcG9uZW50LFxyXG4gICAgR3JlZ29yaWFuRGF0ZXBpY2tlckNvbXBvbmVudCxcclxuICAgIFByb3ZpZGVQYXJlbnRGb3JtRGlyZWN0aXZlXHJcbiAgXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUgLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcclxuICAgIFRyYW5zbGF0ZU1vZHVsZSxcclxuICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgTmdiTW9kdWxlXHJcbiAgXSxcclxuICBwcm92aWRlcnM6IFtcclxuICAgIHtwcm92aWRlOiBOZ2JEYXRlUGFyc2VyRm9ybWF0dGVyLCB1c2VDbGFzczogQ3VzdG9tTmdiRGF0ZVBhcnNlckZvcm1hdHRlcn0sXHJcbiAgICBEYXRlRm9ybWF0dGVyU2VydmljZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogWyBIaWpyaUdyZWdvcmlhbkRhdGVwaWNrZXJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBOZ3hIaWpyaUdyZWdvcmlhbkRhdGVwaWNrZXJNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as momentjs from 'moment';
|
|
4
|
+
import * as moment_ from 'moment-hijri';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@ng-bootstrap/ng-bootstrap";
|
|
7
|
+
const moment = momentjs;
|
|
8
|
+
const momentHijri = moment_;
|
|
9
|
+
export class DateFormatterService {
|
|
10
|
+
constructor(parserFormatter) {
|
|
11
|
+
this.parserFormatter = parserFormatter;
|
|
12
|
+
}
|
|
13
|
+
ToString(date) {
|
|
14
|
+
const dateStr = this.parserFormatter.format(date);
|
|
15
|
+
return dateStr;
|
|
16
|
+
}
|
|
17
|
+
ToHijriDateStruct(hijriDate, format) {
|
|
18
|
+
const hijriMomentDate = momentHijri(hijriDate, format); // Parse a Hijri date based on format.
|
|
19
|
+
const day = hijriMomentDate.iDate();
|
|
20
|
+
const month = +hijriMomentDate.iMonth() + 1;
|
|
21
|
+
const year = hijriMomentDate.iYear();
|
|
22
|
+
const ngDate = new NgbDate(+year, month, +day);
|
|
23
|
+
return ngDate;
|
|
24
|
+
}
|
|
25
|
+
ToGregorianDateStruct(gregorianDate, format) {
|
|
26
|
+
const momentDate = moment(gregorianDate, format); // Parse a Gregorian date based on format.
|
|
27
|
+
const day = momentDate.date();
|
|
28
|
+
const month = +momentDate.month() + 1;
|
|
29
|
+
const year = momentDate.year();
|
|
30
|
+
const ngDate = new NgbDate(+year, +month, +day);
|
|
31
|
+
return ngDate;
|
|
32
|
+
}
|
|
33
|
+
ToHijri(date) {
|
|
34
|
+
if (!date) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
const dateStr = this.ToString(date);
|
|
38
|
+
const momentDate = momentHijri(dateStr, 'D/M/YYYY');
|
|
39
|
+
const day = momentDate.iDate();
|
|
40
|
+
const month = +momentDate.iMonth() + 1;
|
|
41
|
+
const year = momentDate.iYear();
|
|
42
|
+
const ngDate = new NgbDate(+year, month, +day);
|
|
43
|
+
return ngDate;
|
|
44
|
+
}
|
|
45
|
+
ToGregorian(date) {
|
|
46
|
+
if (!date) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
const dateStr = this.ToString(date);
|
|
50
|
+
const momentDate = momentHijri(dateStr, 'iD/iM/iYYYY');
|
|
51
|
+
const day = momentDate.locale('en').format('D');
|
|
52
|
+
const month = momentDate.locale('en').format('M');
|
|
53
|
+
const year = momentDate.locale('en').format('Y');
|
|
54
|
+
const ngDate = new NgbDate(+year, +month, +day);
|
|
55
|
+
return ngDate;
|
|
56
|
+
}
|
|
57
|
+
GetTodayHijri() {
|
|
58
|
+
const todayHijri = momentHijri().locale('en').format('iYYYY/iM/iD');
|
|
59
|
+
return this.ToHijriDateStruct(todayHijri, 'iYYYY/iM/iD');
|
|
60
|
+
}
|
|
61
|
+
GetTodayGregorian() {
|
|
62
|
+
const todayGregorian = moment().locale('en').format('YYYY/M/D');
|
|
63
|
+
return this.ToGregorianDateStruct(todayGregorian, 'YYYY/M/D');
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
DateFormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateFormatterService, deps: [{ token: i1.NgbDateParserFormatter }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
DateFormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateFormatterService });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateFormatterService, decorators: [{
|
|
69
|
+
type: Injectable
|
|
70
|
+
}], ctorParameters: function () { return [{ type: i1.NgbDateParserFormatter }]; } });
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1mb3JtYXR0ZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvb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tcclxuXHJcbiAgICAgICAgY29uc3QgZGF5ID0gbW9tZW50RGF0ZS5sb2NhbGUoJ2VuJykuZm9ybWF0KCdEJyk7XHJcbiAgICAgICAgY29uc3QgbW9udGggPSBtb21lbnREYXRlLmxvY2FsZSgnZW4nKS5mb3JtYXQoJ00nKSA7XHJcbiAgICAgICAgY29uc3QgeWVhciA9IG1vbWVudERhdGUubG9jYWxlKCdlbicpLmZvcm1hdCgnWScpO1xyXG5cclxuICAgICAgICBjb25zdCBuZ0RhdGUgPSAgbmV3IE5nYkRhdGUoK3llYXIsICttb250aCwgK2RheSk7XHJcbiAgICAgICAgcmV0dXJuIG5nRGF0ZTtcclxuICAgIH1cclxuXHJcbiAgICBHZXRUb2RheUhpanJpKCk6IE5nYkRhdGVTdHJ1Y3Qge1xyXG5cclxuICAgICAgY29uc3QgdG9kYXlIaWpyaSA9IG1vbWVudEhpanJpKCkubG9jYWxlKCdlbicpLmZvcm1hdCgnaVlZWVkvaU0vaUQnKTtcclxuXHJcbiAgICAgIHJldHVybiB0aGlzLlRvSGlqcmlEYXRlU3RydWN0KHRvZGF5SGlqcmksICdpWVlZWS9pTS9pRCcpIDtcclxuXHJcbiAgICB9XHJcblxyXG4gICAgR2V0VG9kYXlHcmVnb3JpYW4oKTogTmdiRGF0ZVN0cnVjdCB7XHJcblxyXG4gICAgICBjb25zdCB0b2RheUdyZWdvcmlhbiA9IG1vbWVudCgpLmxvY2FsZSgnZW4nKS5mb3JtYXQoJ1lZWVkvTS9EJyk7XHJcblxyXG4gICAgICByZXR1cm4gdGhpcy5Ub0dyZWdvcmlhbkRhdGVTdHJ1Y3QodG9kYXlHcmVnb3JpYW4sICdZWVlZL00vRCcpIDtcclxuICAgIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as momentjs from 'moment';
|
|
3
|
+
import * as moment_ from 'moment-hijri';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const moment = momentjs;
|
|
6
|
+
const momentHijri = moment_;
|
|
7
|
+
export class DateHelperService {
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
gregorianToHijri(dateString, format = 'iYYYY-iMM-iDD') {
|
|
11
|
+
return momentHijri(dateString, '').locale('en').format(format);
|
|
12
|
+
}
|
|
13
|
+
hijriToGregorian(dateString, format = 'YYYY-MM-DDThh:mm:ss.000Z') {
|
|
14
|
+
return momentHijri(dateString, 'iYYYY-iM-iDThh:mm:ss.000Z').locale('en').format(format);
|
|
15
|
+
}
|
|
16
|
+
// our pickeer generate date with gmt and this makes issues when saving to server and using hours to using this function to avoid this
|
|
17
|
+
convertDateToIso(date) {
|
|
18
|
+
let tod = new Date();
|
|
19
|
+
return date.split('T')[0] + 'T00:00:00Z';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
DateHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
+
DateHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateHelperService, providedIn: 'root' });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: DateHelperService, decorators: [{
|
|
25
|
+
type: Injectable,
|
|
26
|
+
args: [{
|
|
27
|
+
providedIn: 'root'
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return []; } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1oZWxwZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL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hlbiBzYXZpbmcgdG8gc2VydmVyIGFuZCB1c2luZyBob3VycyB0byB1c2luZyB0aGlzIGZ1bmN0aW9uIHRvIGF2b2lkIHRoaXNcclxuICBjb252ZXJ0RGF0ZVRvSXNvKGRhdGUpe1xyXG4gICAgbGV0IHRvZCA9IG5ldyBEYXRlKCk7XHJcbiAgICByZXR1cm4gZGF0ZS5zcGxpdCgnVCcpWzBdICsgJ1QwMDowMDowMFonO1xyXG4gIH1cclxufVxyXG4iXX0=
|
package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import { DatePipe } from '@angular/common';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CustomNgbDateParserFormatter extends NgbDateParserFormatter {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.datePipe = new DatePipe('en-US');
|
|
9
|
+
}
|
|
10
|
+
format(date) {
|
|
11
|
+
if (date === null) {
|
|
12
|
+
return '';
|
|
13
|
+
}
|
|
14
|
+
try {
|
|
15
|
+
return this.datePipe.transform(new Date(date.year, date.month - 1, date.day), 'd/M/yyyy');
|
|
16
|
+
}
|
|
17
|
+
catch (e) {
|
|
18
|
+
return '';
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
parse(value) {
|
|
22
|
+
let returnVal;
|
|
23
|
+
if (!value) {
|
|
24
|
+
returnVal = null;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
try {
|
|
28
|
+
let dateParts = this.datePipe.transform(value, 'M-d-y').split('-');
|
|
29
|
+
returnVal = { year: parseInt(dateParts[2]), month: parseInt(dateParts[0]), day: parseInt(dateParts[1]) };
|
|
30
|
+
}
|
|
31
|
+
catch (e) {
|
|
32
|
+
returnVal = null;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return returnVal;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
CustomNgbDateParserFormatter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomNgbDateParserFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
CustomNgbDateParserFormatter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomNgbDateParserFormatter });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomNgbDateParserFormatter, decorators: [{
|
|
41
|
+
type: Injectable
|
|
42
|
+
}], ctorParameters: function () { return []; } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VzdG9tTmdiRGF0ZVBhcnNlckZvcm1hdHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvaGlqcmktZ3JlZ29yaWFuLWRhdGVwaWNrZXIvdXRpbHMvQ3VzdG9tTmdiRGF0ZVBhcnNlckZvcm1hdHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQWlCLE1BQU0sNEJBQTRCLENBQUM7QUFDbkYsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRzNDLE1BQU0sT0FBTyw0QkFBNkIsU0FBUSxzQkFBc0I7SUFFdEU7UUFDRSxLQUFLLEVBQUUsQ0FBQztRQUZWLGFBQVEsR0FBR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VyblZhbDogTmdiRGF0ZVN0cnVjdDtcclxuICAgIGlmICghdmFsdWUpIHtcclxuICAgICAgcmV0dXJuVmFsID0gbnVsbDtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHRyeSB7XHJcbiAgICAgICAgbGV0IGRhdGVQYXJ0cyA9IHRoaXMuZGF0ZVBpcGUudHJhbnNmb3JtKHZhbHVlLCAnTS1kLXknKS5zcGxpdCgnLScpO1xyXG4gICAgICAgIHJldHVyblZhbCA9IHsgeWVhcjogcGFyc2VJbnQoZGF0ZVBhcnRzWzJdKSwgbW9udGg6IHBhcnNlSW50KGRhdGVQYXJ0c1swXSksIGRheTogcGFyc2VJbnQoZGF0ZVBhcnRzWzFdKSB9O1xyXG4gICAgICB9IGNhdGNoIChlKSB7XHJcbiAgICAgICAgcmV0dXJuVmFsID0gbnVsbDtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICAgcmV0dXJuIHJldHVyblZhbDtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { NgbDatepickerI18n } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const WEEKDAYS = ['إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت', 'أحد'];
|
|
5
|
+
const MONTHS = ['محرم', 'صفر', 'ربيع الأول', 'ربيع الآخر', 'جمادى الأولى', 'جمادى الآخرة', 'رجب', 'شعبان', 'رمضان', 'شوال',
|
|
6
|
+
'ذو القعدة', 'ذو الحجة'];
|
|
7
|
+
export class IslamicI18n extends NgbDatepickerI18n {
|
|
8
|
+
getWeekdayShortName(weekday) {
|
|
9
|
+
return WEEKDAYS[weekday - 1];
|
|
10
|
+
}
|
|
11
|
+
getMonthShortName(month) {
|
|
12
|
+
return MONTHS[month - 1];
|
|
13
|
+
}
|
|
14
|
+
getMonthFullName(month) {
|
|
15
|
+
return MONTHS[month - 1];
|
|
16
|
+
}
|
|
17
|
+
getDayAriaLabel(date) {
|
|
18
|
+
return `${date.day}-${date.month}-${date.year}`;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
IslamicI18n.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: IslamicI18n, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
+
IslamicI18n.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: IslamicI18n });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: IslamicI18n, decorators: [{
|
|
24
|
+
type: Injectable
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNsYW1pY0kxOG4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2hpanJpLWdyZWdvcmlhbi1kYXRlcGlja2VyL3V0aWxzL0lzbGFtaWNJMThuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGlCQUFpQixFQUFpQixNQUFNLDRCQUE0QixDQUFDOztBQUU5RSxNQUFNLFFBQVEsR0FBRyxDQUFDLE9BQU8sRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLEtBQUssQ0FBQyxDQUFDO0FBQzdFLE1BQU0sTUFBTSxHQUFHLENBQUMsTUFBTSxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUU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VEhTID0gWyfZhdit2LHZhScsICfYtdmB2LEnLCAn2LHYqNmK2Lkg2KfZhNij2YjZhCcsICfYsdio2YrYuSDYp9mE2KLYrtixJywgJ9is2YXYp9iv2Ykg2KfZhNij2YjZhNmJJywgJ9is2YXYp9iv2Ykg2KfZhNii2K7YsdipJywgJ9ix2KzYqCcsICfYtNi52KjYp9mGJywgJ9ix2YXYttin2YYnLCAn2LTZiNin2YQnLFxyXG4gICfYsNmIINin2YTZgti52K/YqScsICfYsNmIINin2YTYrdis2KknXTtcclxuXHJcbkBJbmplY3RhYmxlKClcclxuZXhwb3J0IGNsYXNzIElzbGFtaWNJMThuIGV4dGVuZHMgTmdiRGF0ZXBpY2tlckkxOG4ge1xyXG5cclxuICBnZXRXZWVrZGF5U2hvcnROYW1lKHdlZWtkYXk6IG51bWJlcikge1xyXG4gICAgcmV0dXJuIFdFRUtEQVlTW3dlZWtkYXkgLSAxXTtcclxuICB9XHJcblxyXG4gIGdldE1vbnRoU2hvcnROYW1lKG1vbnRoOiBudW1iZXIpIHtcclxuICAgIHJldHVybiBNT05USFNbbW9udGggLSAxXTtcclxuICB9XHJcblxyXG4gIGdldE1vbnRoRnVsbE5hbWUobW9udGg6IG51bWJlcikge1xyXG4gICAgcmV0dXJuIE1PTlRIU1ttb250aCAtIDFdO1xyXG4gIH1cclxuXHJcbiAgZ2V0RGF5QXJpYUxhYmVsKGRhdGU6IE5nYkRhdGVTdHJ1Y3QpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIGAke2RhdGUuZGF5fS0ke2RhdGUubW9udGh9LSR7ZGF0ZS55ZWFyfWA7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export class DateType {
|
|
2
|
+
}
|
|
3
|
+
DateType.Hijri = 1;
|
|
4
|
+
DateType.Gregorian = 2;
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9oaWpyaS1ncmVnb3JpYW4tZGF0ZXBpY2tlci91dGlscy9jb25zdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLFFBQVE7O0FBQ0wsY0FBSyxHQUFHLENBQUMsQ0FBQztBQUNWLGtCQUFTLEdBQUksQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIERhdGVUeXBlIHtcclxuICBwdWJsaWMgc3RhdGljIEhpanJpID0gMTtcclxuICBwdWJsaWMgc3RhdGljIEdyZWdvcmlhbiAgPSAyO1xyXG59XHJcbiJdfQ==
|
package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Component, Input, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@ngx-translate/core";
|
|
4
|
+
import * as i2 from "@angular/router";
|
|
5
|
+
export class ActivityLineComponent {
|
|
6
|
+
constructor(element, translate, router, renderer) {
|
|
7
|
+
this.element = element;
|
|
8
|
+
this.translate = translate;
|
|
9
|
+
this.router = router;
|
|
10
|
+
this.renderer = renderer;
|
|
11
|
+
}
|
|
12
|
+
ngAfterViewInit() {
|
|
13
|
+
setTimeout(() => {
|
|
14
|
+
// this.translate.get('ACTIVITY_LOG.' + this.item.eventName).subscribe((translateText: string) => {
|
|
15
|
+
// console.log(translateText)
|
|
16
|
+
// this.element.nativeElement.innerHTML = translateText;
|
|
17
|
+
// // this.cdRef.detectChanges();
|
|
18
|
+
const navigationElements = Array.prototype.slice.call(this.myParent.nativeElement.getElementsByClassName('myLink'));
|
|
19
|
+
navigationElements.forEach((elem) => {
|
|
20
|
+
this.renderer.listen(elem, 'click', (event) => {
|
|
21
|
+
event.preventDefault();
|
|
22
|
+
let myClasses = event.target.className;
|
|
23
|
+
if (this.item.eventName === 'meeting_published') {
|
|
24
|
+
if (myClasses.includes('publishMeetingParent')) {
|
|
25
|
+
console.log('publish Meeting parent div clicked');
|
|
26
|
+
}
|
|
27
|
+
else if (myClasses.includes('publishMeetingchild')) {
|
|
28
|
+
console.log('publish Meeting child div clicked');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else if (this.item.eventName === 'meeting_created') {
|
|
32
|
+
if (myClasses.includes('creatMeetingParent')) {
|
|
33
|
+
console.log('creat Meeting parent div clicked');
|
|
34
|
+
}
|
|
35
|
+
else if (myClasses.includes('creatMeetingChild')) {
|
|
36
|
+
console.log('creat Meeting child div clicked');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
else if (this.item.eventName === 'meeting_resolutionAdded') {
|
|
40
|
+
if (myClasses.includes('resolutionParent')) {
|
|
41
|
+
console.log('Resolution parent div clicked');
|
|
42
|
+
}
|
|
43
|
+
else if (myClasses.includes('resolutionChild')) {
|
|
44
|
+
console.log('Resolution child div clicked');
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
// });
|
|
50
|
+
}, 2000);
|
|
51
|
+
}
|
|
52
|
+
ngOnInit() { }
|
|
53
|
+
navigateto(link) {
|
|
54
|
+
console.log(link);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
ActivityLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ActivityLineComponent, deps: [{ token: i0.ElementRef }, { token: i1.TranslateService }, { token: i2.Router }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
ActivityLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: ActivityLineComponent, selector: "cts-activity-line", inputs: { item: "item", documentTitle: "documentTitle" }, viewQueries: [{ propertyName: "myParent", first: true, predicate: ["myParentWrapper"], descendants: true }], ngImport: i0, template: "<div class=\"activity-line-wrapper\" #myParentWrapper>\r\n <h3 [innerHTML]=\" item.extendedInfo?.isDelegated ? ('ACTIVITY_LOG_DELEGATED.' + item.eventName\r\n | translate\r\n : {\r\n delegatedUser: item.extendedInfo.primaryUser,\r\n creator:\r\n item.creator.properties?.firstName +\r\n ' ' +\r\n item.creator.properties?.lastName,\r\n param2: item\r\n }): ('ACTIVITY_LOG.' + item.eventName\r\n | translate\r\n : {\r\n creator:\r\n item.creator.properties?.firstName +\r\n ' ' +\r\n item.creator.properties?.lastName,\r\n param2: item\r\n })\r\n \"></h3>\r\n</div>\r\n\r\n<!-- <div class=\"d-flex\">\r\n <div class=\"myLink link publishMeetingParent\">{{ creator }}</div>\r\n <div class=\"mx-1\">published the meeting</div>\r\n <div class=\"myLink link publishMeetingchild\" id=\"child1\">{{ param2 }}</div>\r\n</div> -->\r\n", styles: [".activity-line-wrapper h3{font-size:12px}.activity-line-wrapper .var-container{grid-row-gap:8px;row-gap:8px;font-size:13px;margin:0}.activity-line-wrapper .myLink{color:#00f}\n"], pipes: { "translate": i1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ActivityLineComponent, decorators: [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{
|
|
62
|
+
selector: 'cts-activity-line',
|
|
63
|
+
templateUrl: './activity-line.component.html',
|
|
64
|
+
styleUrls: ['./activity-line.component.scss'],
|
|
65
|
+
encapsulation: ViewEncapsulation.None,
|
|
66
|
+
}]
|
|
67
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.TranslateService }, { type: i2.Router }, { type: i0.Renderer2 }]; }, propDecorators: { item: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], documentTitle: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], myParent: [{
|
|
72
|
+
type: ViewChild,
|
|
73
|
+
args: ['myParentWrapper']
|
|
74
|
+
}] } });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZpdHktbGluZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2xhdGVzdC1hY3Rpdml0eS9jb21wb25lbnRzL2FjdGl2aXR5LWxpbmUvYWN0aXZpdHktbGluZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2xhdGVzdC1hY3Rpdml0eS9jb21wb25lbnRzL2FjdGl2aXR5LWxpbmUvYWN0aXZpdHktbGluZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULEtBQUssRUFHTCxTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDOzs7O0FBU3ZCLE1BQU0sT0FBTyxxQkFBcUI7SUFJaEMsWUFDVSxPQUFtQixFQUNuQixTQUEyQixFQUMzQixNQUFjLEVBQ2QsUUFBbUI7UUFIbkIsWUFBTyxHQUFQLE9BQU8sQ0FBWTtRQUNuQixjQUFTLEdBQVQsU0FBUyxDQUFrQjtRQUMzQixXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQ2QsYUFBUSxHQUFSLFFBQVEsQ0FBVztJQUMxQixDQUFDO0lBRUosZUFBZTtRQUNiLFV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ICAgICAgIGl0ZW0uY3JlYXRvci5wcm9wZXJ0aWVzPy5maXJzdE5hbWUgK1xyXG4gICAgICAgICAgICAgICcgJyArXHJcbiAgICAgICAgICAgICAgaXRlbS5jcmVhdG9yLnByb3BlcnRpZXM/Lmxhc3ROYW1lLFxyXG4gICAgICAgICAgICBwYXJhbTI6IGl0ZW1cclxuICAgICAgICAgIH0pXHJcbiAgXCI+PC9oMz5cclxuPC9kaXY+XHJcblxyXG48IS0tIDxkaXYgY2xhc3M9XCJkLWZsZXhcIj5cclxuICA8ZGl2IGNsYXNzPVwibXlMaW5rIGxpbmsgcHVibGlzaE1lZXRpbmdQYXJlbnRcIj57eyBjcmVhdG9yIH19PC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cIm14LTFcIj5wdWJsaXNoZWQgdGhlIG1lZXRpbmc8L2Rpdj5cclxuICA8ZGl2IGNsYXNzPVwibXlMaW5rIGxpbmsgcHVibGlzaE1lZXRpbmdjaGlsZFwiIGlkPVwiY2hpbGQxXCI+e3sgcGFyYW0yIH19PC9kaXY+XHJcbjwvZGl2PiAtLT5cclxuIl19
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/activity-log.service";
|
|
4
|
+
import * as i2 from "../single-activity/single-activity.component";
|
|
5
|
+
import * as i3 from "ngx-infinite-scroll";
|
|
6
|
+
import * as i4 from "@angular/common";
|
|
7
|
+
export class LatestActivityComponent {
|
|
8
|
+
constructor(activityLogSer) {
|
|
9
|
+
this.activityLogSer = activityLogSer;
|
|
10
|
+
this.success = new EventEmitter();
|
|
11
|
+
this.p = 1;
|
|
12
|
+
this.count = 5;
|
|
13
|
+
this.totalRecords = 0;
|
|
14
|
+
this.isFetching = false;
|
|
15
|
+
this.activitylog = [];
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
// this.getActivities();
|
|
19
|
+
}
|
|
20
|
+
ngOnChanges(changes) {
|
|
21
|
+
this.getActivities();
|
|
22
|
+
}
|
|
23
|
+
getActivities() {
|
|
24
|
+
this.isFetching = true;
|
|
25
|
+
this.activityLogSer
|
|
26
|
+
.getActivityLog(this.documentId.uid, {
|
|
27
|
+
currentPageIndex: this.p - 1,
|
|
28
|
+
// pageSize: this.count,
|
|
29
|
+
})
|
|
30
|
+
.subscribe((data) => {
|
|
31
|
+
// this.activitylog = [];
|
|
32
|
+
let i = 1;
|
|
33
|
+
data.entries.map((item) => {
|
|
34
|
+
i++;
|
|
35
|
+
item.properties.extendedInfo = item.properties.extendedInfo.reduce((obj, item) => ((obj[item.key] = item.value), obj), {});
|
|
36
|
+
this.activitylog.push(Object.assign({}, item.properties));
|
|
37
|
+
});
|
|
38
|
+
this.totalRecords = data.totalSize;
|
|
39
|
+
this.isFetching = false;
|
|
40
|
+
this.success.emit(true);
|
|
41
|
+
}, (err) => {
|
|
42
|
+
// this.success.emit(false);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
onChangePagination(e) {
|
|
46
|
+
this.p = e;
|
|
47
|
+
this.getActivities();
|
|
48
|
+
}
|
|
49
|
+
onScroll() {
|
|
50
|
+
this.p++;
|
|
51
|
+
this.getActivities();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
LatestActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: LatestActivityComponent, deps: [{ token: i1.ActivityLogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
LatestActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: LatestActivityComponent, selector: "cts-latest-activity", inputs: { documentId: "documentId", documentTitle: "documentTitle" }, outputs: { success: "success" }, usesOnChanges: true, ngImport: i0, template: "<div\r\n [scrollWindow]=\"false\"\r\n infiniteScroll\r\n [infiniteScrollDistance]=\"2\"\r\n [infiniteScrollThrottle]=\"50\"\r\n (scrolled)=\"onScroll()\"\r\n class=\"activity-body\"\r\n>\r\n <div class=\"activity-area\">\r\n <div *ngFor=\"let item of activitylog; let i = index\">\r\n <cts-single-activity [item]=\"item\" [documentTitle]=\"documentTitle\">\r\n </cts-single-activity>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<!-- <cts-single-activity [user]=\"item.creator\">\r\n <div class=\"lineOne\">\r\n <span class=\"\">\r\n {{ item.creator.properties?.firstName }}\r\n {{ item.creator.properties?.lastName }} // commented\r\n </span>\r\n <cts-activity-line [item]=\"item\" [documentTitle]=\"documentTitle\">\r\n </cts-activity-line>\r\n </div>\r\n <div class=\"lineOnePart2\">\r\n <span class=\"mx-2\">\r\n {{item.eventName}} commented \r\n </span>\r\n </div>\r\n <div class=\"lineTwo\">\r\n <span class=\"\" style=\"width: fit-content\">\r\n {{ item.eventDate | localizedDate: \"EEEE, MMMM d, y\" }}\r\n </span>\r\n </div>\r\n </cts-single-activity> -->\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}.activity-body{padding:14px 10px;overflow:auto;height:100%}.activity-body .activity-area{padding-inline-start:20px;padding-inline-end:12px;border-inline-start:2px solid #d9dce2}\n"], components: [{ type: i2.SingleActivityComponent, selector: "cts-single-activity", inputs: ["item", "documentTitle"] }], directives: [{ type: i3.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: LatestActivityComponent, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: 'cts-latest-activity',
|
|
60
|
+
templateUrl: './latest-activity.component.html',
|
|
61
|
+
styleUrls: ['./latest-activity.component.scss'],
|
|
62
|
+
}]
|
|
63
|
+
}], ctorParameters: function () { return [{ type: i1.ActivityLogService }]; }, propDecorators: { documentId: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], documentTitle: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], success: [{
|
|
68
|
+
type: Output
|
|
69
|
+
}] } });
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF0ZXN0LWFjdGl2aXR5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbGF0ZXN0LWFjdGl2aXR5L2NvbXBvbmVudHMvbGF0ZXN0LWFjdGl2aXR5L2xhdGVzdC1hY3Rpdml0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2xhdGVzdC1hY3Rpdml0eS9jb21wb25lbnRzL2xhdGVzdC1hY3Rpdml0eS9sYXRlc3QtYWN0aXZpdHkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxF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09uSW5pdCgpOiB2b2lkIHtcclxuICAgIC8vIHRoaXMuZ2V0QWN0aXZpdGllcygpO1xyXG4gIH1cclxuICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKTogdm9pZCB7XHJcbiAgICB0aGlzLmdldEFjdGl2aXRpZXMoKTtcclxuICB9XHJcbiAgZ2V0QWN0aXZpdGllcygpIHtcclxuICAgIHRoaXMuaXNGZXRjaGluZyA9IHRydWU7XHJcbiAgICB0aGlzLmFjdGl2aXR5TG9nU2VyXHJcbiAgICAgIC5nZXRBY3Rpdml0eUxvZyh0aGlzLmRvY3VtZW50SWQudWlkLCB7XHJcbiAgICAgICAgY3VycmVudFBhZ2VJbmRleDogdGhpcy5wIC0gMSxcclxuICAgICAgICAvLyBwYWdlU2l6ZTogdGhpcy5jb3VudCxcclxuICAgICAgfSlcclxuICAgICAgLnN1YnNjcmliZShcclxuICAgICAgICAoZGF0YSkgPT4ge1xyXG4gICAgICAgICAgLy8gdGhpcy5hY3Rpdml0eWxvZyA9IFtdO1xyXG4gICAgICAgICAgbGV0IGkgPSAxO1xyXG4gICAgICAgICAgZGF0YS5lbnRyaWVzLm1hcCgoaXRlbSkgPT4ge1xyXG4gICAgICAgICAgICBpKys7XHJcbiAgICAgICAgICAgIGl0ZW0ucHJvcGVydGllcy5leHRlbmRlZEluZm8gPSBpdGVtLnByb3BlcnRpZXMuZXh0ZW5kZWRJbmZvLnJlZHVjZShcclxuICAgICAgICAgICAgICAob2JqLCBpdGVtKSA9PiAoKG9ialtpdGVtLmtleV0gPSBpdGVtLnZhbHVlKSwgb2JqKSxcclxuICAgICAgICAgICAgICB7fVxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgICAgICB0aGlzLmFjdGl2aXR5bG9nLnB1c2goe1xyXG4gICAgICAgICAgICAgIC4uLml0ZW0ucHJvcGVydGllcyxcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICAgIHRo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,0 +1,27 @@
|
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../activity-line/activity-line.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@ngx-translate/core";
|
|
6
|
+
import * as i4 from "../../../../pipes/localized-date.pipe";
|
|
7
|
+
export class SingleActivityComponent {
|
|
8
|
+
constructor() { }
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
SingleActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: SingleActivityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
SingleActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: SingleActivityComponent, selector: "cts-single-activity", inputs: { item: "item", documentTitle: "documentTitle" }, ngImport: i0, template: "<ng-container *ngIf=\"item\">\r\n <div class=\"avtivity-wrapper\">\r\n <div class=\"avtivity-point border-primary {{ item.documentLifecycle }}\"></div>\r\n <div class=\"avtivity-panal border-primary {{ item.documentLifecycle }}\">\r\n <div class=\"avtivity-corr-status border-primary {{ item.documentLifecycle }}\">\r\n {{ \"STATS.\" + item.documentLifecycle | translate }}\r\n </div>\r\n <div class=\"avtivity-heading\">\r\n <div class=\"avtivity-title\">\r\n <div class=\"status\">{{ \"ACTIVITY_LOG.status.\" + item.eventName | translate }}</div>\r\n <div class=\"\">\r\n {{ item.creator.id === 'system' ? ('SYSTEM_ADMIN' | translate) : item.creator.properties.firstName + \" \" +item.creator.properties.lastName }}\r\n </div>\r\n </div>\r\n <div class=\"avtivity-date\">\r\n <div>{{ item.eventDate | localizedDate: \"M/d/y\" }}</div>\r\n <div>{{ item.eventDate | localizedDate: \"h:mm a\" }}</div>\r\n </div>\r\n </div>\r\n <div class=\"avtivity-body\">\r\n <cts-activity-line\r\n [item]=\"item\"\r\n [documentTitle]=\"item.documentName\"\r\n ></cts-activity-line>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<!-- <div class=\"d-flex\">\r\n <div class=\"myLink link creator\" id=\"parent3\">{{ creator }}</div>\r\n <div class=\"mx-1\">send the correspondence</div>\r\n <div class=\"myLink link\" id=\"child3\">{{ param2 }}</div>\r\n <div class=\"myLink to\" id=\"child3\">to</div>\r\n <div class=\"myLink link\" id=\"child3\">{{corr:to}}</div>\r\n <div class=\"myLink link\" id=\"child3\">and assigned it to</div>\r\n <div class=\"myLink link\" id=\"child3\">{{corr:owner}}</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}.avtivity-wrapper{margin-bottom:36px;background:#fff;display:flex;position:relative}.avtivity-wrapper .avtivity-point{display:block;width:14px;height:14px;border-radius:50%;border:4px solid #0dbab5;background-color:#fff;position:absolute;top:0px;left:-28px}.avtivity-wrapper .avtivity-point.draft{border-color:#596973!important}.avtivity-wrapper .avtivity-point.registered{border-color:#5a1496!important}.avtivity-wrapper .avtivity-point.closed{border-color:#00dca5!important}.avtivity-wrapper .avtivity-point.inProgress{border-color:#3c3cf0!important}.avtivity-wrapper .avtivity-point.archived{border-color:#fbb62c!important}.avtivity-wrapper .avtivity-panal{width:100%;border-radius:8px;border-inline-start:8px solid #0dbab5;padding:20px;position:relative;box-shadow:0 0 25px #0000001a}.avtivity-wrapper .avtivity-panal.draft{border-color:#596973!important}.avtivity-wrapper .avtivity-panal.registered{border-color:#5a1496!important}.avtivity-wrapper .avtivity-panal.inProgress{border-color:#3c3cf0!important}.avtivity-wrapper .avtivity-panal.closed{border-color:#00dca5!important}.avtivity-wrapper .avtivity-panal.archived{border-color:#fbb62c!important}.avtivity-wrapper .avtivity-panal.meeting_created{border-color:#3c3cf0!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status{position:absolute;background:#ffffff;font-size:11px;width:100px;height:24px;border:1px solid #0dbab5;border-radius:5px;left:11px;top:-13px;text-align:center;display:flex;align-items:center;justify-content:center}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.draft{border-color:#596973!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.registered{border-color:#5a1496!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.inProgress{border-color:#3c3cf0!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.closed{border-color:#00dca5!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.archived{border-color:#fbb62c!important}.avtivity-wrapper .avtivity-panal .avtivity-corr-status.meeting_created{border-color:#3c3cf0!important}.avtivity-wrapper .avtivity-panal .avtivity-heading{display:flex;justify-content:space-between;margin-bottom:10px;border-bottom:2px solid #f5f6f8}.avtivity-wrapper .avtivity-panal .avtivity-heading .avtivity-date{font-size:12px;color:#6a768e}.avtivity-wrapper .avtivity-panal .avtivity-heading .avtivity-title{margin-bottom:8px;font-size:14px;color:#6a768e}.avtivity-wrapper .avtivity-panal .avtivity-heading .avtivity-title .status{font-weight:400;font-size:16px;color:#465573!important}.rtl .avtivity-corr-status{left:unset;right:11px}.rtl .avtivity-point{left:unset;right:-28px}\n"], components: [{ type: i1.ActivityLineComponent, selector: "cts-activity-line", inputs: ["item", "documentTitle"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i3.TranslatePipe, "localizedDate": i4.LocalizedDatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: SingleActivityComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: 'cts-single-activity',
|
|
18
|
+
templateUrl: './single-activity.component.html',
|
|
19
|
+
styleUrls: ['./single-activity.component.scss'],
|
|
20
|
+
encapsulation: ViewEncapsulation.None,
|
|
21
|
+
}]
|
|
22
|
+
}], ctorParameters: function () { return []; }, propDecorators: { item: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], documentTitle: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}] } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2luZ2xlLWFjdGl2aXR5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbGF0ZXN0LWFjdGl2aXR5L2NvbXBvbmVudHMvc2luZ2xlLWFjdGl2aXR5L3NpbmdsZS1hY3Rpdml0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2xhdGVzdC1hY3Rpdml0eS9jb21wb25lbnRzL3NpbmdsZS1hY3Rpdml0eS9zaW5nbGUtYWN0aXZpdHkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7OztBQVE1RSxNQUFNLE9BQU8sdUJBQXVCO0lBTWxDLGdCQUFlLENBQUM7SUFFaEIsUUFBUTtJQUNSLENBQUM7O29IQVRVLHVCQUF1Qjt3R0FBdkIsdUJBQXVCLHFIQ1JwQyw0dkRBc0NBOzJGRDlCYSx1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