[ADF-4445] Add showRefreshButton to TaskFormCloud component doc (#4666)

This commit is contained in:
davidcanonieto 2019-04-29 14:55:45 +01:00 committed by Eugenio Romano
parent 1658eb97e3
commit 2bc2f09525
7 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<div fxLayout="row" fxFill>
<div fxLayout="column" fxFlex="80%">
<adf-task-form-cloud
<adf-cloud-task-form
[appName]="appName"
[taskId]="taskId"
(cancelClick)="goBack()"
@ -11,7 +11,7 @@
(taskCompleted)="onTaskCompleted()"
(taskUnclaimed)="onUnclaimTask()"
(formSaved)="onFormSaved()">
</adf-task-form-cloud>
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
[appName]="appName"

View File

@ -20,13 +20,12 @@ Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cl
## Basic Usage
```html
<adf-task-form-cloud
<adf-cloud-task-form
[appName]="appName"
[taskId]="taskId">
</adf-task-form-cloud>
</adf-cloud-task-form>
```
## Class members
### Properties
@ -35,6 +34,7 @@ Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cl
| ---- | ---- | ------------- | ----------- |
| appName | `string` | | App id to fetch corresponding form and values. |
| taskId | `string` | | Task id to fetch corresponding form and values. |
| showRefreshButton | `boolean` | false | Toggle rendering of the `Refresh` button. |
| showValidationIcon | `boolean` | true | Toggle rendering of the `Validation` icon. |
| showCancelButton | `boolean` | true | Toggle rendering of the `Cancel` outcome button. |
| showCompleteButton | `boolean` | true | Toggle rendering of the `Complete` outcome button. |

View File

@ -1,4 +1,4 @@
@mixin adf-process-filters-cloud-theme($theme) {
@mixin adf-cloud-process-filters-theme($theme) {
.adf {

View File

@ -16,9 +16,9 @@
@include adf-cloud-task-filters-theme($theme);
@include adf-cloud-edit-task-filters-theme($theme);
@include adf-cloud-edit-process-filter-theme($theme);
@include adf-process-filters-cloud-theme($theme);
@include adf-start-task-cloud-theme($theme);
@include adf-cloud-process-filters-theme($theme);
@include adf-cloud-start-task-theme($theme);
@include adf-cloud-people-theme($theme);
@include adf-cloud-group-theme($theme);
@include adf-task-form-cloud-theme($theme);
@include adf-cloud-task-form-theme($theme);
}

View File

@ -1,4 +1,4 @@
@mixin adf-start-task-cloud-theme($theme) {
@mixin adf-cloud-start-task-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$warn: map-get($theme, warn);

View File

@ -1,4 +1,4 @@
@mixin adf-task-form-cloud-theme($theme) {
@mixin adf-cloud-task-form-theme($theme) {
$config: mat-typography-config();

View File

@ -25,7 +25,7 @@ import { TaskCloudService } from '../../services/task-cloud.service';
import { IdentityUserService, FormOutcomeModel } from '@alfresco/adf-core';
@Component({
selector: 'adf-task-form-cloud',
selector: 'adf-cloud-task-form',
templateUrl: './task-form-cloud.component.html',
styleUrls: ['./task-form-cloud.component.scss']
})