nuxeo-development-framework 0.0.2 → 0.0.6
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/README.md +24 -24
- package/bundles/nuxeo-development-framework.umd.js +18534 -50
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/Core/adapters/adapter.service.js +50 -0
- package/esm2015/lib/Core/core.module.js +104 -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/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 +103 -0
- package/esm2015/lib/Core/services/translation/translate-loader.service.js +150 -0
- package/esm2015/lib/Core/services/translation/translation.service.js +171 -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/activity/activity/activity.component.js +28 -0
- package/esm2015/lib/components/activity/activity.module.js +37 -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 +76 -0
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +33 -0
- package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +78 -0
- package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +68 -0
- package/esm2015/lib/components/comments/constants/comment.js +25 -0
- package/esm2015/lib/components/comments/services/comment-api.service.js +49 -0
- package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +73 -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/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +134 -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 +49 -0
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +61 -0
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +111 -0
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +115 -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 +62 -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 +73 -0
- package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
- package/esm2015/lib/components/cts-tags/services/tags-api.service.js +61 -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/documents/components/attachments-list/attachments-list.component.js +156 -0
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +72 -0
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +255 -0
- package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +929 -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 +61 -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 +217 -0
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +342 -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 +542 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +106 -0
- package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +26 -0
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +124 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +94 -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 +102 -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 +185 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +207 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +94 -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 +128 -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 +302 -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 +176 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +76 -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 +250 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +63 -0
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +269 -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 +172 -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/vocabulary-wrapper/vocabulary-wrapper.component.js +38 -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 +289 -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 +74 -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 +148 -0
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +57 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +204 -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-view/boolean-viewer/boolean-viewer.component.js +36 -0
- package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +32 -0
- package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +49 -0
- package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +71 -0
- package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +60 -0
- package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +54 -0
- package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -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 +114 -0
- package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +111 -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 +54 -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 +25 -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 +53 -0
- package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +69 -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 +129 -0
- package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +149 -0
- package/esm2015/lib/components/notifications/notifications.module.js +109 -0
- package/esm2015/lib/components/notifications/notifications.service.js +277 -0
- package/esm2015/lib/components/pagination/pagination/pagination.component.js +123 -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 +228 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +181 -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/table/table/table.component.js +174 -0
- package/esm2015/lib/components/table/table.module.js +57 -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 +26 -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 +48 -0
- package/esm2015/lib/directive/permissions/evaluators.service.js +118 -0
- package/esm2015/lib/directive/permissions/permissions.directive.js +106 -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 -18
- package/esm2015/lib/nuxeo-development-framework.module.js +45 -16
- package/esm2015/lib/nuxeo-development-framework.service.js +14 -13
- 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 +76 -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 +107 -0
- package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +144 -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 +80 -0
- package/esm2015/nuxeo-development-framework.js +4 -4
- package/esm2015/public-api.js +156 -7
- package/fesm2015/nuxeo-development-framework.js +17027 -49
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- 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/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 +11 -0
- package/lib/Core/services/translation/translate-loader.service.d.ts +26 -0
- package/lib/Core/services/translation/translation.service.d.ts +71 -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/activity/activity/activity.component.d.ts +13 -0
- package/lib/components/activity/activity.module.d.ts +13 -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 +25 -0
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +13 -0
- package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +45 -0
- package/lib/components/comments/components/comments-list/comments-list.component.d.ts +26 -0
- package/lib/components/comments/constants/comment.d.ts +25 -0
- package/lib/components/comments/services/comment-api.service.d.ts +14 -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/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 +31 -0
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +30 -0
- package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +24 -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 +28 -0
- package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
- package/lib/components/cts-tags/services/tags-api.service.d.ts +15 -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/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 +37 -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 +103 -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 +63 -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-filter/dynamic-filter/dynamic-filter.component.d.ts +45 -0
- package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +16 -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 +26 -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 +65 -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 +61 -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 +83 -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 +79 -0
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +37 -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 +86 -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 +88 -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 +76 -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/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +16 -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 +64 -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/interfaces/dynamic-form.interfaces.d.ts +9 -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/models/dynamic-form.models.d.ts +7 -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 +30 -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 +71 -0
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +19 -0
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +96 -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-view/boolean-viewer/boolean-viewer.component.d.ts +13 -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 +17 -0
- package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +29 -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 +20 -0
- package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -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 +34 -0
- package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +32 -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 +14 -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 +8 -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/notifications/components/notification-item/notification-item.component.d.ts +15 -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 +25 -0
- package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +45 -0
- package/lib/components/notifications/notifications.module.d.ts +24 -0
- package/lib/components/notifications/notifications.service.d.ts +61 -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 +54 -0
- package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +30 -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/table/table/table.component.d.ts +89 -0
- package/lib/components/table/table.module.d.ts +18 -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 +11 -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 +16 -0
- package/lib/directive/permissions/evaluators.service.d.ts +26 -0
- package/lib/directive/permissions/permissions.directive.d.ts +46 -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 -5
- package/lib/nuxeo-development-framework.module.d.ts +12 -2
- package/lib/nuxeo-development-framework.service.d.ts +6 -3
- 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 +49 -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 +25 -0
- package/nuxeo-development-framework.d.ts +5 -4
- package/package.json +57 -16
- package/public-api.d.ts +145 -3
- package/bundles/nuxeo-development-framework.umd.min.js +0 -2
- package/bundles/nuxeo-development-framework.umd.min.js.map +0 -1
- package/nuxeo-development-framework.metadata.json +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AdapterService } from '../../../Core/adapters/adapter.service';
|
|
3
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CommentApiService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private commentAdapter;
|
|
8
|
+
private environment;
|
|
9
|
+
constructor(nuxeoService: NuxeoService, commentAdapter: AdapterService, environment: any);
|
|
10
|
+
getComments(parentId: any, params?: {}): Observable<any>;
|
|
11
|
+
createComment(comment: any, id: any): Observable<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentApiService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommentApiService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { CustomToastrService } from '../custom-toastr/services/custom-toastr.service';
|
|
3
|
+
import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A material dialog confirm component that will ask the user for confirmation,
|
|
7
|
+
* then shows a loader and execute a function and only close the dialog after the action is complete
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* 
|
|
11
|
+
*
|
|
12
|
+
* ### Usage Example
|
|
13
|
+
* ~~~ts
|
|
14
|
+
* let actionFunction = () => {
|
|
15
|
+
* return this.someService.observableFunction();
|
|
16
|
+
* };
|
|
17
|
+
* return this.dialog
|
|
18
|
+
* .open(ConfirmCallerDialogComponent, {
|
|
19
|
+
* data: {
|
|
20
|
+
* call: actionFunction,
|
|
21
|
+
* title: 'path.to.title.translation',
|
|
22
|
+
* toastrTitle: 'path.to.success.title',
|
|
23
|
+
* toastrMsg: 'path.to.success.message',
|
|
24
|
+
* },
|
|
25
|
+
* })
|
|
26
|
+
* .afterClosed()
|
|
27
|
+
* .pipe(take(1))
|
|
28
|
+
* .subscribe((data) => {
|
|
29
|
+
* if (data) {
|
|
30
|
+
* // do something on success
|
|
31
|
+
* }
|
|
32
|
+
* });
|
|
33
|
+
* ~~~
|
|
34
|
+
* @title
|
|
35
|
+
* Confirm dialog
|
|
36
|
+
*/
|
|
37
|
+
export declare class ConfirmCallerDialogComponent {
|
|
38
|
+
data: any;
|
|
39
|
+
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
40
|
+
private toastr;
|
|
41
|
+
calling: boolean;
|
|
42
|
+
constructor(data: any, dialogRef: MatDialogRef<ConfirmDialogComponent>, toastr: CustomToastrService);
|
|
43
|
+
makeCall(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmCallerDialogComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmCallerDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./confirm-caller.dialog";
|
|
3
|
+
import * as i2 from "./confirm-dialog/confirm-dialog.component";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../../shared/libraryShared.module";
|
|
7
|
+
import * as i6 from "@ngx-translate/core";
|
|
8
|
+
/**
|
|
9
|
+
* @title
|
|
10
|
+
* Confirm Dialog Module
|
|
11
|
+
*/
|
|
12
|
+
export declare class ConfirmCallerModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmCallerModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmCallerModule, [typeof i1.ConfirmCallerDialogComponent, typeof i2.ConfirmDialogComponent], [typeof i3.MatDialogModule, typeof i4.CommonModule, typeof i5.LibrarySharedModule, typeof i6.TranslateModule], [typeof i6.TranslateModule, typeof i1.ConfirmCallerDialogComponent, typeof i2.ConfirmDialogComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmCallerModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** @ignore */
|
|
5
|
+
export declare class ConfirmDialogComponent implements OnInit {
|
|
6
|
+
data: any;
|
|
7
|
+
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
8
|
+
constructor(data: any, dialogRef: MatDialogRef<ConfirmDialogComponent>);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "app-confirm-dialog", never, {}, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
4
|
+
import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
|
|
5
|
+
import { DocumentsService } from '../../../documents/services/documents.service';
|
|
6
|
+
import { ViewerFilesService } from '../../services/viewer-files.service';
|
|
7
|
+
import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
|
|
8
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CorrespondenceRelationComponent implements OnInit {
|
|
11
|
+
dialog: MatDialog;
|
|
12
|
+
private corrrelationsvc;
|
|
13
|
+
private toastr;
|
|
14
|
+
private viewerFilesService;
|
|
15
|
+
private documentsApi;
|
|
16
|
+
private userPreference;
|
|
17
|
+
nuxeoService: NuxeoService;
|
|
18
|
+
corr_id: any;
|
|
19
|
+
/** Correspondance */
|
|
20
|
+
correspondance: any;
|
|
21
|
+
relations_list: any;
|
|
22
|
+
reload: boolean;
|
|
23
|
+
constructor(dialog: MatDialog, corrrelationsvc: CorrespondenceRelationService, toastr: CustomToastrService, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, userPreference: UserPreferencesService, nuxeoService: NuxeoService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
openDialog(): void;
|
|
26
|
+
getallrelated(): void;
|
|
27
|
+
handleActions(event: any): void;
|
|
28
|
+
view_Corres(relation: any): void;
|
|
29
|
+
showCorrespondenceInViewer(corres_id: any): void;
|
|
30
|
+
openConfirmDialog(functionToPerform: any, title: any, msg: any): import("rxjs").Observable<any>;
|
|
31
|
+
deleteRelation(relateddoc: any): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationComponent, "cts-correspondence-relation", never, { "corr_id": "corr_id"; "correspondance": "correspondance"; }, {}, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CorrespondenceRelationCreateFormComponent implements OnInit {
|
|
7
|
+
private _formBuilder;
|
|
8
|
+
private corressvc;
|
|
9
|
+
dialogRef: MatDialogRef<CorrespondenceRelationCreateFormComponent>;
|
|
10
|
+
data: any;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
selectable: boolean;
|
|
13
|
+
removable: boolean;
|
|
14
|
+
createform: FormGroup;
|
|
15
|
+
related_corr: any[];
|
|
16
|
+
exist: boolean;
|
|
17
|
+
isLoading: boolean;
|
|
18
|
+
documentList: any[];
|
|
19
|
+
exist_relations_list: any[];
|
|
20
|
+
correspondanceId: any;
|
|
21
|
+
constructor(_formBuilder: FormBuilder, corressvc: CorrespondenceRelationService, dialogRef: MatDialogRef<CorrespondenceRelationCreateFormComponent>, data: any);
|
|
22
|
+
/**dialog actions */
|
|
23
|
+
onSaveClick(): void;
|
|
24
|
+
onCloseoClick(): void;
|
|
25
|
+
/*************************************************** */
|
|
26
|
+
auto: any;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
on_remove_relation_Chip(relation: any): void;
|
|
29
|
+
/**ng-Autocomplete related functions */
|
|
30
|
+
alwaysopened: boolean;
|
|
31
|
+
clearSerachInput(): void;
|
|
32
|
+
is_relation_exist(relation: any): boolean;
|
|
33
|
+
is_corresp_added(corresp: any): boolean;
|
|
34
|
+
selectItem(item: any): void;
|
|
35
|
+
keep_Autocomplete_Results_Open(): void;
|
|
36
|
+
onSearchInputChange(val: string): void;
|
|
37
|
+
disableFilter: (items: any[]) => any[];
|
|
38
|
+
inputCleared(): void;
|
|
39
|
+
reset(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationCreateFormComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationCreateFormComponent, "cts-correspondence-relation-create-form", never, {}, {}, never, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { AdapterService } from '../../../../Core/adapters/adapter.service';
|
|
4
|
+
import { DocumentsService } from '../../../documents/services/documents.service';
|
|
5
|
+
import { ViewerFilesService } from '../../services/viewer-files.service';
|
|
6
|
+
import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CorrespondenceRelationListComponent implements OnInit {
|
|
9
|
+
private relationsvc;
|
|
10
|
+
private dialog;
|
|
11
|
+
private viewerFilesService;
|
|
12
|
+
private documentsApi;
|
|
13
|
+
private adapter;
|
|
14
|
+
correspondence_id: any;
|
|
15
|
+
reload: boolean;
|
|
16
|
+
relateddoc: any[];
|
|
17
|
+
menu_actions: {
|
|
18
|
+
title: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}[];
|
|
21
|
+
constructor(relationsvc: CorrespondenceRelationService, dialog: MatDialog, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, adapter: AdapterService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
loadData(): void;
|
|
24
|
+
onDeleteClick(relateddoc: any): void;
|
|
25
|
+
openDialog(functionToPerform: any, title: any, msg: any): import("rxjs").Observable<any>;
|
|
26
|
+
view_Corres(relation: any): void;
|
|
27
|
+
showCorrespondenceInViewer(relation: any): void;
|
|
28
|
+
handleMenuItemClicked(event: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationListComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationListComponent, "cts-correspondence-relation-list", never, { "correspondence_id": "correspondence_id"; "reload": "reload"; }, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CorrespondenceRelationReplyComponent implements OnInit {
|
|
5
|
+
private corres_relationsvc;
|
|
6
|
+
replyrelation: any[];
|
|
7
|
+
correspondence_id: string;
|
|
8
|
+
actionclicked: EventEmitter<any>;
|
|
9
|
+
fireAction(item: any, action?: string): void;
|
|
10
|
+
menu_actions: {
|
|
11
|
+
title: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
constructor(corres_relationsvc: CorrespondenceRelationService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationReplyComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationReplyComponent, "cts-correspondence-relation-reply", never, { "correspondence_id": "correspondence_id"; }, { "actionclicked": "actionclicked"; }, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { DocumentsService } from '../../../documents/services/documents.service';
|
|
3
|
+
import { ViewerFilesService } from '../../services/viewer-files.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A component that views document versions
|
|
7
|
+
* @title
|
|
8
|
+
* Viewer Versions
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
*
|
|
12
|
+
* <cts-versions
|
|
13
|
+
* [file]="file"
|
|
14
|
+
* ></cts-versions>
|
|
15
|
+
*/
|
|
16
|
+
export declare class VersionsComponent implements OnInit, OnChanges {
|
|
17
|
+
private viewerFilesService;
|
|
18
|
+
private documentsApi;
|
|
19
|
+
/** Current selected version (in viewer) */
|
|
20
|
+
selectedVersion: any;
|
|
21
|
+
/** Document object */
|
|
22
|
+
file: any;
|
|
23
|
+
versions: any[];
|
|
24
|
+
constructor(viewerFilesService: ViewerFilesService, documentsApi: DocumentsService);
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
getVersions(): void;
|
|
28
|
+
showVersion(version: any): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VersionsComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionsComponent, "cts-versions", never, { "selectedVersion": "selectedVersion"; "file": "file"; }, {}, never, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/correspondence-relation-list/correspondence-relation-list.component";
|
|
3
|
+
import * as i2 from "./components/correspondence-relation/correspondence-relation.component";
|
|
4
|
+
import * as i3 from "./components/correspondence-relation-create-form/correspondence-relation-create-form.component";
|
|
5
|
+
import * as i4 from "./components/correspondence-relation-reply/correspondence-relation-reply.component";
|
|
6
|
+
import * as i5 from "./components/versions/versions.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "../dynamic-form/dynamic-form.module";
|
|
9
|
+
import * as i8 from "@ngx-translate/core";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "@angular/material/dialog";
|
|
12
|
+
import * as i11 from "../dynamic-search/dynamic-search.module";
|
|
13
|
+
import * as i12 from "@angular/material/icon";
|
|
14
|
+
import * as i13 from "@ng-select/ng-select";
|
|
15
|
+
import * as i14 from "../select/select.module";
|
|
16
|
+
import * as i15 from "angular-ng-autocomplete";
|
|
17
|
+
import * as i16 from "@angular/cdk/layout";
|
|
18
|
+
import * as i17 from "@angular/material/chips";
|
|
19
|
+
import * as i18 from "@angular/material/menu";
|
|
20
|
+
import * as i19 from "@angular/material/list";
|
|
21
|
+
import * as i20 from "@angular/material/expansion";
|
|
22
|
+
import * as i21 from "../../shared/libraryShared.module";
|
|
23
|
+
import * as i22 from "../../directive/directive.module";
|
|
24
|
+
import * as i23 from "../../pipes/pipes.module";
|
|
25
|
+
/** @ignore */
|
|
26
|
+
export declare class CorrespondenceRelationModule {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationModule, never>;
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CorrespondenceRelationModule, [typeof i1.CorrespondenceRelationListComponent, typeof i2.CorrespondenceRelationComponent, typeof i3.CorrespondenceRelationCreateFormComponent, typeof i4.CorrespondenceRelationReplyComponent, typeof i5.VersionsComponent], [typeof i6.CommonModule, typeof i7.DynamicFormModule, typeof i8.TranslateModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatDialogModule, typeof i11.DynamicSearchModule, typeof i12.MatIconModule, typeof i13.NgSelectModule, typeof i14.SelectModule, typeof i15.AutocompleteLibModule, typeof i16.LayoutModule, typeof i17.MatChipsModule, typeof i18.MatMenuModule, typeof i19.MatListModule, typeof i12.MatIconModule, typeof i20.MatExpansionModule, typeof i21.LibrarySharedModule, typeof i22.DirectiveModule, typeof i23.PipesModule], [typeof i2.CorrespondenceRelationComponent, typeof i5.VersionsComponent]>;
|
|
29
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CorrespondenceRelationModule>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
2
|
+
import { AppConfigService } from '../../../configuration/app-config.service';
|
|
3
|
+
import { CallApiService } from '../../../Core/services/callApi/call-api.service';
|
|
4
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CorrespondenceRelationService {
|
|
7
|
+
private nuxeoService;
|
|
8
|
+
private configService;
|
|
9
|
+
private callApi;
|
|
10
|
+
private environment;
|
|
11
|
+
relationConstants: any;
|
|
12
|
+
getUpdatedRelation: ReplaySubject<unknown>;
|
|
13
|
+
incomingConstant: any;
|
|
14
|
+
constructor(nuxeoService: NuxeoService, configService: AppConfigService, callApi: CallApiService, environment: any);
|
|
15
|
+
get_Correspondence_Relation(corr_id: any, pageprovider: any, context?: {}): Observable<unknown>;
|
|
16
|
+
get_Correspondence_Reply_Relation(corr_id: any): Observable<any>;
|
|
17
|
+
get_Correspondence_Reply_Relation_Reverse(corr_id: any): Observable<any>;
|
|
18
|
+
get_Correspondence_Relation_WithoutReply(corr_id: any): Observable<any>;
|
|
19
|
+
create_Named_Relation(corr_id: string, relationname: string, targets: []): Observable<any>;
|
|
20
|
+
Delete_Named_Relation(corr_id: string, relationname: string, target: string): Observable<any>;
|
|
21
|
+
search(val: string, query?: any): Observable<any>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CorrespondenceRelationService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AppConfigService } from '../../../configuration/app-config.service';
|
|
3
|
+
import { AdapterService } from '../../../Core/adapters/adapter.service';
|
|
4
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ViewerFilesService {
|
|
7
|
+
private configService;
|
|
8
|
+
private adapter;
|
|
9
|
+
private nuxeoService;
|
|
10
|
+
private environment;
|
|
11
|
+
selectedFileId: EventEmitter<any>;
|
|
12
|
+
updateViewer: EventEmitter<any>;
|
|
13
|
+
incomingConstant: any;
|
|
14
|
+
constructor(configService: AppConfigService, adapter: AdapterService, nuxeoService: NuxeoService, environment: any);
|
|
15
|
+
createAttach(attachment: any, correspondenceId: any): import("rxjs").Observable<unknown>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerFilesService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewerFilesService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CreateEntityComponent implements OnInit {
|
|
6
|
+
private router;
|
|
7
|
+
nuxeoService: NuxeoService;
|
|
8
|
+
createActions: Array<any>;
|
|
9
|
+
openMenu: boolean;
|
|
10
|
+
constructor(router: Router, nuxeoService: NuxeoService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ToggleMenu(): void;
|
|
13
|
+
actionCleciked(action: any): void;
|
|
14
|
+
closeSideMenu(event: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateEntityComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateEntityComponent, "cts-create-entity", never, { "createActions": "createActions"; }, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./create-entity/create-entity.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../directive/directive.module";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
/** @ignore */
|
|
7
|
+
export declare class CreateEntityModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateEntityModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CreateEntityModule, [typeof i1.CreateEntityComponent], [typeof i2.CommonModule, typeof i3.DirectiveModule, typeof i4.TranslateModule, typeof i3.DirectiveModule], [typeof i1.CreateEntityComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CreateEntityModule>;
|
|
11
|
+
}
|
package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import { TagsApiService } from '../../services/tags-api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* a reusable component that allows to add or delete tags to a nuxeo document
|
|
8
|
+
* 
|
|
9
|
+
* @title
|
|
10
|
+
* Tags
|
|
11
|
+
*/
|
|
12
|
+
export declare class CorrespondenceTagsComponent implements OnInit, OnChanges {
|
|
13
|
+
private tagsApiService;
|
|
14
|
+
nuxeoService: NuxeoService;
|
|
15
|
+
removable: boolean;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
correspondence: any;
|
|
18
|
+
correspondenceId: any;
|
|
19
|
+
tagsList: any[];
|
|
20
|
+
tagsFrom: FormGroup;
|
|
21
|
+
constructor(tagsApiService: TagsApiService, nuxeoService: NuxeoService);
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
addTag(): void;
|
|
25
|
+
deleteTag(tagId: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceTagsComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceTagsComponent, "cts-correspondence-tags", never, { "correspondence": "correspondence"; }, {}, never, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/correspondence-tags/correspondence-tags.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "@angular/material/chips";
|
|
6
|
+
import * as i5 from "@ng-select/ng-select";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../../shared/libraryShared.module";
|
|
9
|
+
import * as i8 from "@angular/material/icon";
|
|
10
|
+
import * as i9 from "../dynamic-form/dynamic-form.module";
|
|
11
|
+
import * as i10 from "@angular/material/tooltip";
|
|
12
|
+
import * as i11 from "../../directive/directive.module";
|
|
13
|
+
/**
|
|
14
|
+
* @title
|
|
15
|
+
* Tags Module
|
|
16
|
+
*/
|
|
17
|
+
export declare class CtsTagsModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CtsTagsModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CtsTagsModule, [typeof i1.CorrespondenceTagsComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.MatChipsModule, typeof i5.NgSelectModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.LibrarySharedModule, typeof i8.MatIconModule, typeof i9.DynamicFormModule, typeof i10.MatTooltipModule, typeof i11.DirectiveModule], [typeof i1.CorrespondenceTagsComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CtsTagsModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TagsApiService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private environment;
|
|
8
|
+
getUpdatedFile: EventEmitter<any>;
|
|
9
|
+
constructor(nuxeoService: NuxeoService, environment: any);
|
|
10
|
+
addTagsToCorrespondence(correspondenceId: any, tags: string[]): Observable<unknown>;
|
|
11
|
+
deleteTagsToCorrespondence(correspondenceId: any, tag: any): Observable<unknown>;
|
|
12
|
+
tagsSuggestion(term: string): Observable<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagsApiService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TagsApiService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ToastrService, ToastPackage, Toast } from 'ngx-toastr';
|
|
4
|
+
import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
|
|
5
|
+
import { ToastType } from '../../interfaces/toast-type.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CustomToastrComponent extends Toast implements OnInit {
|
|
8
|
+
protected toastrService: ToastrService;
|
|
9
|
+
toastPackage: ToastPackage;
|
|
10
|
+
private translate;
|
|
11
|
+
userPreferenceService?: UserPreferencesService;
|
|
12
|
+
lang: any;
|
|
13
|
+
type: ToastType;
|
|
14
|
+
value: any;
|
|
15
|
+
private onDestroy$;
|
|
16
|
+
constructor(toastrService: ToastrService, toastPackage: ToastPackage, translate: TranslateService, userPreferenceService?: UserPreferencesService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
setbBackgroundColor(): {
|
|
19
|
+
success: boolean;
|
|
20
|
+
error: boolean;
|
|
21
|
+
notification: boolean;
|
|
22
|
+
};
|
|
23
|
+
setTextColor(): {
|
|
24
|
+
'msg-success': boolean;
|
|
25
|
+
'msg-error': boolean;
|
|
26
|
+
'msg-notification': boolean;
|
|
27
|
+
};
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomToastrComponent, "cts-custom-toastr", never, {}, {}, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/custom-toastr/custom-toastr.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "ngx-toastr";
|
|
7
|
+
/** @ignore */
|
|
8
|
+
export declare class CustomToastrModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomToastrModule, [typeof i1.CustomToastrComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule, typeof i5.ToastrModule], [typeof i4.TranslateModule, typeof i5.ToastrModule]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomToastrModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ToastType = 'success' | 'error' | 'notification';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActiveToast, IndividualConfig, ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { UserPreferencesService } from '../../../Core/services/user/user-preferences.service';
|
|
3
|
+
import { ToastType } from '../interfaces/toast-type.interface';
|
|
4
|
+
import { TranslationService } from '../../../Core/services/translation/translation.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CustomToastrService {
|
|
7
|
+
private translation;
|
|
8
|
+
private toastr;
|
|
9
|
+
userPreferenceService?: UserPreferencesService;
|
|
10
|
+
private onDestroy$;
|
|
11
|
+
isArabic: boolean;
|
|
12
|
+
constructor(translation: TranslationService, toastr: ToastrService, userPreferenceService?: UserPreferencesService);
|
|
13
|
+
setDirection(): void;
|
|
14
|
+
show(type: ToastType, title: any, message: any, customOptions?: Partial<IndividualConfig>, customMsg?: any): ActiveToast<any>;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomToastrService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* A component that will list attachments batch with edit form for each item
|
|
8
|
+
* @title
|
|
9
|
+
* Batch attachments List
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
*
|
|
13
|
+
* <cts-attachments-list
|
|
14
|
+
* [items]="files"
|
|
15
|
+
* [disablePagination]="true"
|
|
16
|
+
* [batchList]="true"
|
|
17
|
+
* [canPreview]="false"
|
|
18
|
+
* [item]="file"
|
|
19
|
+
* (documentsCount)="getAttachmentsCount($event)"
|
|
20
|
+
* (deleteSuccess)="onDeleteNewAttachment($event)"
|
|
21
|
+
* >
|
|
22
|
+
* </cts-attachments-list>
|
|
23
|
+
*/
|
|
24
|
+
export declare class AttachmentsListComponent implements OnInit, OnChanges, OnDestroy {
|
|
25
|
+
private nuxeoApi;
|
|
26
|
+
/** @deprecated */
|
|
27
|
+
ancestorId: any;
|
|
28
|
+
/** @deprecated */
|
|
29
|
+
provider: any;
|
|
30
|
+
/** Batch list */
|
|
31
|
+
items: any[];
|
|
32
|
+
batchList: boolean;
|
|
33
|
+
dontDelete: boolean;
|
|
34
|
+
canDelete: boolean;
|
|
35
|
+
item: any;
|
|
36
|
+
deleteSuccess: EventEmitter<any>;
|
|
37
|
+
documentsCount: EventEmitter<number>;
|
|
38
|
+
onDestroy$: Subject<boolean>;
|
|
39
|
+
documentSelect: EventEmitter<any>;
|
|
40
|
+
attachmentForm: FormGroup;
|
|
41
|
+
constructor(nuxeoApi: NuxeoService);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnChanges(): void;
|
|
44
|
+
isCreator(item: any): boolean;
|
|
45
|
+
deleteDocument(event: any, item: any): void;
|
|
46
|
+
fillForm(items: any[]): void;
|
|
47
|
+
transformItem(item: any): void;
|
|
48
|
+
addAttachmentCard(formGroup: FormGroup): void;
|
|
49
|
+
delInput(index: number): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
getControls(): import("@angular/forms").AbstractControl[];
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentsListComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsListComponent, "cts-attachments-list", never, { "ancestorId": "ancestorId"; "provider": "provider"; "items": "items"; "batchList": "batchList"; "dontDelete": "dontDelete"; "canDelete": "canDelete"; "item": "item"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; "documentSelect": "documentSelect"; }, never, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { DocumentsService } from '../../services/documents.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A component that will list specific correspondence attachments with edit form for each item
|
|
6
|
+
* @title
|
|
7
|
+
* Attachments List
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* <cts-attachments-page-provider
|
|
12
|
+
* [provider]="'providerName'"
|
|
13
|
+
* [ancestorId]="ancestorId"
|
|
14
|
+
* (deleteSuccess)="onDeleteAttachment($event)"
|
|
15
|
+
* >
|
|
16
|
+
* </cts-attachments-page-provider>
|
|
17
|
+
*/
|
|
18
|
+
export declare class AttachmentsPageProviderComponent implements OnInit {
|
|
19
|
+
private documentsApi;
|
|
20
|
+
/** Provider name */
|
|
21
|
+
provider: any;
|
|
22
|
+
/** Ancestor ID */
|
|
23
|
+
ancestorId: any;
|
|
24
|
+
/** Emitted on attachment delete */
|
|
25
|
+
deleteSuccess: EventEmitter<any>;
|
|
26
|
+
/** Emits total documents count when they're loaded */
|
|
27
|
+
documentsCount: EventEmitter<number>;
|
|
28
|
+
isFetching: boolean;
|
|
29
|
+
attachments: any[];
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
constructor(documentsApi: DocumentsService);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
getAttachments(): void;
|
|
34
|
+
deleteDocument(event: any, attachment: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentsPageProviderComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsPageProviderComponent, "cts-attachments-page-provider", never, { "provider": "provider"; "ancestorId": "ancestorId"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; }, never, never>;
|
|
37
|
+
}
|