[ADF-1769] Added prop tables and fixed script (#2896)

* [ADF-1769] Added prop tables and fixed script

* [ADF-1769] Corrected JSDoc formatting errors

* [ADF-1769] Restored default column to prop tables
This commit is contained in:
Andy Stark
2018-01-31 09:22:05 +00:00
committed by Eugenio Romano
parent 8a4959d172
commit 900fd70d63
56 changed files with 601 additions and 519 deletions

View File

@@ -33,15 +33,19 @@ export class PeopleListComponent implements AfterViewInit, AfterContentInit {
@ViewChild(DataTableComponent)
peopleDataTable: DataTableComponent;
/** The array of user data used to populate the people list. */
@Input()
users: UserProcessModel[];
/** Toggles whether or not actions should be visible, i.e. the 'Three-Dots' menu. */
@Input()
actions: boolean = false;
/** Emitted when the user clicks a row in the people list. */
@Output()
clickRow: EventEmitter<UserProcessModel> = new EventEmitter<UserProcessModel>();
/** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */
@Output()
clickAction: EventEmitter<UserEventModel> = new EventEmitter<UserEventModel>();

View File

@@ -30,12 +30,15 @@ import { PeopleSearchComponent } from '../people-search/people-search.component'
})
export class PeopleComponent implements OnInit, AfterViewInit {
/** The array of User objects to display. */
@Input()
people: UserProcessModel[] = [];
/** The numeric ID of the task. */
@Input()
taskId: string = '';
/** Should the data be read-only? */
@Input()
readOnly: boolean = false;