mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ADF-4445] Add showRefreshButton to TaskFormCloud component doc (#4666)
This commit is contained in:
parent
1658eb97e3
commit
2bc2f09525
@ -3,7 +3,7 @@
|
|||||||
<div fxLayout="column" fxFill fxLayoutGap="2px">
|
<div fxLayout="column" fxFill fxLayoutGap="2px">
|
||||||
<div fxLayout="row" fxFill>
|
<div fxLayout="row" fxFill>
|
||||||
<div fxLayout="column" fxFlex="80%">
|
<div fxLayout="column" fxFlex="80%">
|
||||||
<adf-task-form-cloud
|
<adf-cloud-task-form
|
||||||
[appName]="appName"
|
[appName]="appName"
|
||||||
[taskId]="taskId"
|
[taskId]="taskId"
|
||||||
(cancelClick)="goBack()"
|
(cancelClick)="goBack()"
|
||||||
@ -11,7 +11,7 @@
|
|||||||
(taskCompleted)="onTaskCompleted()"
|
(taskCompleted)="onTaskCompleted()"
|
||||||
(taskUnclaimed)="onUnclaimTask()"
|
(taskUnclaimed)="onUnclaimTask()"
|
||||||
(formSaved)="onFormSaved()">
|
(formSaved)="onFormSaved()">
|
||||||
</adf-task-form-cloud>
|
</adf-cloud-task-form>
|
||||||
</div>
|
</div>
|
||||||
<adf-cloud-task-header fxFlex
|
<adf-cloud-task-header fxFlex
|
||||||
[appName]="appName"
|
[appName]="appName"
|
||||||
|
@ -20,13 +20,12 @@ Shows a [`form`](../../../lib/process-services-cloud/src/lib/form/models/form-cl
|
|||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<adf-task-form-cloud
|
<adf-cloud-task-form
|
||||||
[appName]="appName"
|
[appName]="appName"
|
||||||
[taskId]="taskId">
|
[taskId]="taskId">
|
||||||
</adf-task-form-cloud>
|
</adf-cloud-task-form>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Class members
|
## Class members
|
||||||
|
|
||||||
### Properties
|
### 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. |
|
| appName | `string` | | App id to fetch corresponding form and values. |
|
||||||
| taskId | `string` | | Task 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. |
|
| showValidationIcon | `boolean` | true | Toggle rendering of the `Validation` icon. |
|
||||||
| showCancelButton | `boolean` | true | Toggle rendering of the `Cancel` outcome button. |
|
| showCancelButton | `boolean` | true | Toggle rendering of the `Cancel` outcome button. |
|
||||||
| showCompleteButton | `boolean` | true | Toggle rendering of the `Complete` outcome button. |
|
| showCompleteButton | `boolean` | true | Toggle rendering of the `Complete` outcome button. |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@mixin adf-process-filters-cloud-theme($theme) {
|
@mixin adf-cloud-process-filters-theme($theme) {
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
@include adf-cloud-task-filters-theme($theme);
|
@include adf-cloud-task-filters-theme($theme);
|
||||||
@include adf-cloud-edit-task-filters-theme($theme);
|
@include adf-cloud-edit-task-filters-theme($theme);
|
||||||
@include adf-cloud-edit-process-filter-theme($theme);
|
@include adf-cloud-edit-process-filter-theme($theme);
|
||||||
@include adf-process-filters-cloud-theme($theme);
|
@include adf-cloud-process-filters-theme($theme);
|
||||||
@include adf-start-task-cloud-theme($theme);
|
@include adf-cloud-start-task-theme($theme);
|
||||||
@include adf-cloud-people-theme($theme);
|
@include adf-cloud-people-theme($theme);
|
||||||
@include adf-cloud-group-theme($theme);
|
@include adf-cloud-group-theme($theme);
|
||||||
@include adf-task-form-cloud-theme($theme);
|
@include adf-cloud-task-form-theme($theme);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@mixin adf-start-task-cloud-theme($theme) {
|
@mixin adf-cloud-start-task-theme($theme) {
|
||||||
$primary: map-get($theme, primary);
|
$primary: map-get($theme, primary);
|
||||||
$accent: map-get($theme, accent);
|
$accent: map-get($theme, accent);
|
||||||
$warn: map-get($theme, warn);
|
$warn: map-get($theme, warn);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@mixin adf-task-form-cloud-theme($theme) {
|
@mixin adf-cloud-task-form-theme($theme) {
|
||||||
|
|
||||||
$config: mat-typography-config();
|
$config: mat-typography-config();
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import { TaskCloudService } from '../../services/task-cloud.service';
|
|||||||
import { IdentityUserService, FormOutcomeModel } from '@alfresco/adf-core';
|
import { IdentityUserService, FormOutcomeModel } from '@alfresco/adf-core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-task-form-cloud',
|
selector: 'adf-cloud-task-form',
|
||||||
templateUrl: './task-form-cloud.component.html',
|
templateUrl: './task-form-cloud.component.html',
|
||||||
styleUrls: ['./task-form-cloud.component.scss']
|
styleUrls: ['./task-form-cloud.component.scss']
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user