|
|
@ -100,24 +100,24 @@ import { GfValueComponent } from '../value/value.component'; |
|
|
templateUrl: './activities-table.component.html' |
|
|
templateUrl: './activities-table.component.html' |
|
|
}) |
|
|
}) |
|
|
export class GfActivitiesTableComponent implements AfterViewInit, OnInit { |
|
|
export class GfActivitiesTableComponent implements AfterViewInit, OnInit { |
|
|
@Input() baseCurrency: string; |
|
|
@Input() public baseCurrency?: string; |
|
|
@Input() deviceType: string; |
|
|
@Input() public deviceType: string; |
|
|
@Input() hasActivities: boolean; |
|
|
@Input() public hasActivities: boolean; |
|
|
@Input() hasPermissionToCreateActivity: boolean; |
|
|
@Input() public hasPermissionToCreateActivity: boolean; |
|
|
@Input() hasPermissionToDeleteActivity: boolean; |
|
|
@Input() public hasPermissionToDeleteActivity: boolean; |
|
|
@Input() hasPermissionToExportActivities: boolean; |
|
|
@Input() public hasPermissionToExportActivities: boolean; |
|
|
@Input() hasPermissionToFilterByType: boolean; |
|
|
@Input() public hasPermissionToFilterByType?: boolean = false; |
|
|
@Input() hasPermissionToImportActivities: boolean; |
|
|
@Input() public hasPermissionToImportActivities: boolean; |
|
|
@Input() hasPermissionToOpenDetails = true; |
|
|
@Input() public hasPermissionToOpenDetails = true; |
|
|
@Input() hasPermissionToUpdateActivity: boolean; |
|
|
@Input() public hasPermissionToUpdateActivity: boolean; |
|
|
@Input() locale = getLocale(); |
|
|
@Input() public locale?: string = getLocale(); |
|
|
@Input() pageIndex: number; |
|
|
@Input() public pageIndex: number; |
|
|
@Input() pageSize = DEFAULT_PAGE_SIZE; |
|
|
@Input() public pageSize = DEFAULT_PAGE_SIZE; |
|
|
@Input() showActions = true; |
|
|
@Input() public showActions = true; |
|
|
@Input() sortColumn: string; |
|
|
@Input() public sortColumn: string; |
|
|
@Input() sortDirection: SortDirection; |
|
|
@Input() public sortDirection: SortDirection; |
|
|
@Input() sortDisabled = false; |
|
|
@Input() public sortDisabled = false; |
|
|
@Input() totalItems = Number.MAX_SAFE_INTEGER; |
|
|
@Input() public totalItems?: number = Number.MAX_SAFE_INTEGER; |
|
|
|
|
|
|
|
|
@Output() activitiesDeleted = new EventEmitter<void>(); |
|
|
@Output() activitiesDeleted = new EventEmitter<void>(); |
|
|
@Output() activityClicked = new EventEmitter<AssetProfileIdentifier>(); |
|
|
@Output() activityClicked = new EventEmitter<AssetProfileIdentifier>(); |
|
|
|