-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [ACA-3255] FE - Claim a task * * Added unit tests * * Added unit tests * Changed cloud directive names * * Added/Updated documents * * Added showReleaseClaim button flag * Add unit test too * * Used claim/release directive in task-header component. * * Fixed unit test * * Fixed one comment * * After rebase * * Fixed comments
- Loading branch information
1 parent
77bbece
commit ea62b1e
Showing
32 changed files
with
946 additions
and
104 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
docs/process-services-cloud/directives/unclaim-task-cloud.directive.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
Title: Unclaim Task Cloud Directive | ||
Added: v3.9.0 | ||
Status: Experimental | ||
Last reviewed: 2020-06-09 | ||
--- | ||
|
||
# [Unclaim Task Cloud directive](../../../lib/process-services-cloud/src/lib/task/directives/unclaim-task-cloud.directive.ts "Defined in unclaim-task-cloud.directive.ts") | ||
|
||
Unclaims a task | ||
|
||
## Basic Usage | ||
|
||
```html | ||
<button adf-cloud-unclaim-task [appName]="appName" [taskId]="taskId" (success)="onTaskUnclaimed()">Unclaim</button> | ||
``` | ||
|
||
## Class members | ||
|
||
### Properties | ||
|
||
| Name | Type | Default value | Description | | ||
| ---- | ---- | ------------- | ----------- | | ||
| appName | `string` | "" | (Required) The name of the application. | | ||
| taskId | `string` | "" | (Required) The id of the task. | | ||
|
||
### Events | ||
|
||
| Name | Type | Description | | ||
| ---- | ---- | ----------- | | ||
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task cannot be completed. | | ||
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task is completed. | |
34 changes: 34 additions & 0 deletions
34
docs/process-services/components/form-custom-outcome.component.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
Title: Form custom outcomes component | ||
Added: v3.9.0 | ||
Status: Active | ||
Last reviewed: 2020-06-09 | ||
--- | ||
|
||
# [Form custom outcomes component](../../../lib/process-services/src/lib/form/form-custom-outcomes.component.ts "Defined in form-custom-outcomes.component.ts") | ||
|
||
Supplies custom outcome buttons to be included in [Form component](form.component.md). | ||
|
||
![](../../docassets/images/form-custom-outcomes.component.png) | ||
|
||
## Basic Usage | ||
|
||
```html | ||
<adf-form> | ||
<adf-form-custom-outcomes> | ||
<button mat-button (click)="onCustomOutcome1()"> | ||
Custom-outcome-1 | ||
</button> | ||
<button mat-button (click)="onCustomOutcome2()"> | ||
Custom-outcome-2 | ||
</button> | ||
<button mat-button (click)="onCustomOutcome3()"> | ||
Custom-outcome-3 | ||
</button> | ||
</adf-form-custom-outcomes> | ||
</adf-form> | ||
``` | ||
|
||
## See Also | ||
|
||
- [Form component](form.component.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
Title: Claim Task Directive | ||
Added: v3.9.0 | ||
Status: Experimental | ||
Last reviewed: 2020-06-09 | ||
--- | ||
|
||
# [Claim task directive](../../../lib/process-services/src/lib/task-list/components/task-form/claim-task.directive.ts "Defined in claim-task.directive.ts") | ||
|
||
Claims a task | ||
|
||
## Basic Usage | ||
|
||
```html | ||
<button adf-claim-task [taskId]="taskId" (success)="onTaskClaimed()">Claim</button> | ||
``` | ||
|
||
## Class members | ||
|
||
### Properties | ||
|
||
| Name | Type | Default value | Description | | ||
| ---- | ---- | ------------- | ----------- | | ||
| taskId | `string` | "" | (Required) The id of the task. | | ||
|
||
### Events | ||
|
||
| Name | Type | Description | | ||
| ---- | ---- | ----------- | | ||
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task cannot be completed. | | ||
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task is completed. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.