| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -28,6 +28,7 @@ import { Subject, Subscription } from 'rxjs'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { takeUntil } from 'rxjs/operators'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { GfCreateOrUpdateActivityDialogComponent } from './create-or-update-activity-dialog/create-or-update-activity-dialog.component'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { CreateOrUpdateActivityDialogParams } from './create-or-update-activity-dialog/interfaces/interfaces'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { GfImportActivitiesDialogComponent } from './import-activities-dialog/import-activities-dialog.component'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { ImportActivitiesDialogParams } from './import-activities-dialog/interfaces/interfaces'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -245,11 +246,14 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  public onImport() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open(GfImportActivitiesDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open< | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      GfImportActivitiesDialogComponent, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ImportActivitiesDialogParams | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    >(GfImportActivitiesDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        deviceType: this.deviceType, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        user: this.user | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } as ImportActivitiesDialogParams, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      height: this.deviceType === 'mobile' ? '98vh' : undefined, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      width: this.deviceType === 'mobile' ? '100vw' : '50rem' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -268,12 +272,15 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  public onImportDividends() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open(GfImportActivitiesDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open< | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      GfImportActivitiesDialogComponent, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ImportActivitiesDialogParams | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    >(GfImportActivitiesDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        activityTypes: ['DIVIDEND'], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        deviceType: this.deviceType, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        user: this.user | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } as ImportActivitiesDialogParams, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      height: this.deviceType === 'mobile' ? '98vh' : undefined, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      width: this.deviceType === 'mobile' ? '100vw' : '50rem' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -306,9 +313,10 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  public openUpdateActivityDialog(aActivity: Activity) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const dialogRef = this.dialog.open< | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      GfCreateOrUpdateActivityDialogComponent, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      CreateOrUpdateActivityDialogParams | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    >(GfCreateOrUpdateActivityDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        activity: aActivity, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        accounts: this.user?.accounts, | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -316,8 +324,7 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      height: this.deviceType === 'mobile' ? '98vh' : '80vh', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      width: this.deviceType === 'mobile' ? '100vw' : '50rem' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    dialogRef | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .afterClosed() | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -350,9 +357,10 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .subscribe((user) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.updateUser(user); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        const dialogRef = this.dialog.open( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        const dialogRef = this.dialog.open< | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          GfCreateOrUpdateActivityDialogComponent, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          CreateOrUpdateActivityDialogParams | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        >(GfCreateOrUpdateActivityDialogComponent, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          data: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            accounts: this.user?.accounts, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            activity: { | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -368,8 +376,7 @@ export class GfActivitiesPageComponent implements OnDestroy, OnInit { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          height: this.deviceType === 'mobile' ? '98vh' : '80vh', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          width: this.deviceType === 'mobile' ? '100vw' : '50rem' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        dialogRef | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          .afterClosed() | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |