[ADF-1346] Attachment list component is shown for completed tasks/processes. (#2194)

* Added ng-content to adf-empty-list compoent.
* Updated css to scss.
* Added 'CUSTOM_ELEMENTS_SCHEMA'  to allow non-angular elements.
* Updated readme.mg file
This commit is contained in:
siva kumar
2017-08-15 19:21:06 +05:30
committed by Mario Romano
parent ad75b6aa87
commit 5e17c8e103
29 changed files with 773 additions and 139 deletions

View File

@@ -300,10 +300,10 @@ Displays comments associated with a particular process instance and allows the u
This component displays attached documents on a specified process instance
```html
<process-attachment-list
<adf-process-attachment-list
[processInstanceId]="YOUR_PROCESS_INSTANCE_ID"
(attachmentClick="YOUR_ATTACHMENT_CLICK_EMITTER_HANDLER">
</process-attachment-list>
(attachmentClick)="YOUR_ATTACHMENT_CLICK_EMITTER_HANDLER">
</adf-process-attachment-list>
```
![process-attachment-list-sample](docs/assets/process-attachment-list.png)
@@ -312,6 +312,7 @@ This component displays attached documents on a specified process instance
| Name | Type | Description |
| --- | --- | -- |
| processInstanceId | string | (**required**): The ID of the process instance to display |
| disabled | boolean | false | Disable/Enable read only mode for attachement list |
### Events