|
|
@ -96,10 +96,10 @@ export class GfImportActivitiesDialogComponent { |
|
|
protected isLoading = false; |
|
|
protected isLoading = false; |
|
|
protected mode: 'DIVIDEND'; |
|
|
protected mode: 'DIVIDEND'; |
|
|
protected pageIndex = 0; |
|
|
protected pageIndex = 0; |
|
|
protected pageSize = 8; |
|
|
protected readonly pageSize = 8; |
|
|
protected selectedActivities: Activity[] = []; |
|
|
protected selectedActivities: Activity[] = []; |
|
|
protected sortColumn = 'date'; |
|
|
protected readonly sortColumn = 'date'; |
|
|
protected sortDirection: SortDirection = 'desc'; |
|
|
protected readonly sortDirection: SortDirection = 'desc'; |
|
|
protected stepperOrientation: StepperOrientation; |
|
|
protected stepperOrientation: StepperOrientation; |
|
|
protected totalItems: number; |
|
|
protected totalItems: number; |
|
|
|
|
|
|
|
|
@ -110,14 +110,15 @@ export class GfImportActivitiesDialogComponent { |
|
|
private tags: CreateTagDto[] = []; |
|
|
private tags: CreateTagDto[] = []; |
|
|
|
|
|
|
|
|
public constructor( |
|
|
public constructor( |
|
|
private changeDetectorRef: ChangeDetectorRef, |
|
|
private readonly changeDetectorRef: ChangeDetectorRef, |
|
|
@Inject(MAT_DIALOG_DATA) protected data: ImportActivitiesDialogParams, |
|
|
@Inject(MAT_DIALOG_DATA) |
|
|
private dataService: DataService, |
|
|
protected readonly data: ImportActivitiesDialogParams, |
|
|
private destroyRef: DestroyRef, |
|
|
private readonly dataService: DataService, |
|
|
private deviceDetectorService: DeviceDetectorService, |
|
|
private readonly destroyRef: DestroyRef, |
|
|
private dialogRef: MatDialogRef<GfImportActivitiesDialogComponent>, |
|
|
private readonly deviceDetectorService: DeviceDetectorService, |
|
|
private importActivitiesService: ImportActivitiesService, |
|
|
private readonly dialogRef: MatDialogRef<GfImportActivitiesDialogComponent>, |
|
|
private snackBar: MatSnackBar |
|
|
private readonly importActivitiesService: ImportActivitiesService, |
|
|
|
|
|
private readonly snackBar: MatSnackBar |
|
|
) { |
|
|
) { |
|
|
addIcons({ cloudUploadOutline, warningOutline }); |
|
|
addIcons({ cloudUploadOutline, warningOutline }); |
|
|
} |
|
|
} |
|
|
|