mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2394] Process List Component - Should expose the mutiSelect property (#3013)
* [ADF-2394] Exposed multiselect and selectionMode * [ADF-2394] Improved documentation
This commit is contained in:
committed by
Eugenio Romano
parent
0a748ac555
commit
caab70e021
@@ -81,22 +81,33 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
|
||||
@Input()
|
||||
name: string;
|
||||
|
||||
/** The presetColumn of the custom schema to fetch. */
|
||||
/* The page number of the processes to fetch. */
|
||||
@Input()
|
||||
page: number = 0;
|
||||
|
||||
/* The page number processes to fetch. */
|
||||
@Input()
|
||||
size: number = PaginationComponent.DEFAULT_PAGINATION.maxItems;
|
||||
|
||||
/** The presetColumn of the custom schema to fetch. */
|
||||
@Input()
|
||||
presetColumn: string;
|
||||
|
||||
requestNode: ProcessFilterParamRepresentationModel;
|
||||
|
||||
/** Data source to define the datatable. */
|
||||
@Input()
|
||||
data: DataTableAdapter;
|
||||
|
||||
/* Toggles multiple row selection, renders checkboxes at the beginning of each row */
|
||||
@Input()
|
||||
multiselect: boolean = false;
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
@Input()
|
||||
selectionMode: string = 'single'; // none|single|multiple
|
||||
|
||||
/** Emitted when a row in the process list is clicked. */
|
||||
@Output()
|
||||
rowClick: EventEmitter<string> = new EventEmitter<string>();
|
||||
@@ -109,6 +120,7 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
|
||||
@Output()
|
||||
error: EventEmitter<any> = new EventEmitter<any>();
|
||||
|
||||
requestNode: ProcessFilterParamRepresentationModel;
|
||||
currentInstanceId: string;
|
||||
isLoading: boolean = true;
|
||||
layoutPresets = {};
|
||||
|
Reference in New Issue
Block a user