diff --git a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html index af880724ff..2beb162991 100644 --- a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html +++ b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.html @@ -5,7 +5,7 @@ App Id {{ 'TASK_LIST_DEMO.ERROR_MESSAGE.APP_ID_REQUIRED_ERROR' | translate }} @@ -18,8 +18,8 @@ Task Name @@ -27,7 +27,7 @@ Task Id @@ -35,7 +35,7 @@ Start @@ -46,8 +46,8 @@ ProcessDefinitionId E.g. SimpleProcess:1:2 @@ -64,7 +64,7 @@ Process Instance {{ includeProcessInstanceOption.title }} @@ -73,7 +73,7 @@ Assignment {{ assignmentOption.title }} @@ -82,7 +82,7 @@ State {{ stateOption.title }} @@ -91,7 +91,7 @@ Sort {{ sortOption.title }} @@ -104,13 +104,13 @@
-
diff --git a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.ts b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.ts index 1784b04870..1d319c7ca0 100644 --- a/demo-shell/src/app/components/task-list-demo/task-list-demo.component.ts +++ b/demo-shell/src/app/components/task-list-demo/task-list-demo.component.ts @@ -15,23 +15,6 @@ * limitations under the License. */ -/*! - * @license - * Copyright 2016 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * distributed under the License is distributed on an "AS IS" BASIS, - * limitations under the License. - */ - import { Component, OnInit } from '@angular/core'; import { FormGroup, FormBuilder, Validators, FormControl, AbstractControl } from '@angular/forms'; import { ActivatedRoute, Params } from '@angular/router'; diff --git a/docs/process-services/task-list.component.md b/docs/process-services/task-list.component.md index 4840f276df..2f6d9d5844 100644 --- a/docs/process-services/task-list.component.md +++ b/docs/process-services/task-list.component.md @@ -47,10 +47,13 @@ Renders a list containing all the tasks matched by the parameters specified. | multiselect | `boolean` | false | Toggles multiple row selection, renders checkboxes at the beginning of each row | | name | `string` | | Name of the tasklist. | | page | `number` | 0 | The page number of the tasks to fetch. | +| start | `number` | 0 | Another approach to specify which page you want load. | | processDefinitionId | `string` | | The Definition Id of the process. | | processDefinitionKey | `string` | | (**Deprecated:** 2.4.0) The Definition Key of the process. | | processInstanceId | `string` | | The Instance Id of the process. | +| taskId | `string` | | The taskId you want to be fetched. | | selectFirstRow | `boolean` | true | Toggles default selection of the first row | +| includeProcessInstance | `boolean` | false | Include the process instance info | | selectionMode | `string` | "single" | Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode, you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for multiple rows. | | size | `number` | | The number of tasks to fetch. Default value: 25. | | sort | `string` | | Define the sort order of the tasks. Possible values are : `created-desc`, `created-asc`, `due-desc`, `due-asc` |