|
@ -7,14 +7,14 @@ |
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
[options]="dateRangeOptions" |
|
|
[options]="dateRangeOptions" |
|
|
(change)="onChangeDateRange($event.value)" |
|
|
(change)="onChangeDateRange($event.value)" |
|
|
></gf-toggle> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<gf-activities-filter |
|
|
<gf-activities-filter |
|
|
[allFilters]="allFilters" |
|
|
[allFilters]="allFilters" |
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
[isLoading]="isLoadingBenchmarkComparator || isLoadingInvestmentChart" |
|
|
[placeholder]="placeholder" |
|
|
[placeholder]="placeholder" |
|
|
(valueChanged)="filters$.next($event)" |
|
|
(valueChanged)="filters$.next($event)" |
|
|
></gf-activities-filter> |
|
|
/> |
|
|
} |
|
|
} |
|
|
<div class="mb-5 row"> |
|
|
<div class="mb-5 row"> |
|
|
<div class="col-lg"> |
|
|
<div class="col-lg"> |
|
@ -30,7 +30,7 @@ |
|
|
[performanceDataItems]="performanceDataItemsInPercentage" |
|
|
[performanceDataItems]="performanceDataItemsInPercentage" |
|
|
[user]="user" |
|
|
[user]="user" |
|
|
(benchmarkChanged)="onChangeBenchmark($event)" |
|
|
(benchmarkChanged)="onChangeBenchmark($event)" |
|
|
></gf-benchmark-comparator> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@ -51,7 +51,7 @@ |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformance" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformance" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="d-flex mb-3 ml-3 py-1"> |
|
|
<div class="d-flex mb-3 ml-3 py-1"> |
|
@ -66,7 +66,7 @@ |
|
|
[isPercent]="true" |
|
|
[isPercent]="true" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercent" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercent" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="d-flex py-1"> |
|
|
<div class="d-flex py-1"> |
|
@ -81,7 +81,7 @@ |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[value]="isLoadingInvestmentChart ? undefined : (performance?.currentNetPerformanceWithCurrencyEffect === null ? null : performance?.currentNetPerformanceWithCurrencyEffect - performance?.currentNetPerformance)" |
|
|
[value]="isLoadingInvestmentChart ? undefined : (performance?.currentNetPerformanceWithCurrencyEffect === null ? null : performance?.currentNetPerformanceWithCurrencyEffect - performance?.currentNetPerformance)" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="d-flex ml-3 py-1"> |
|
|
<div class="d-flex ml-3 py-1"> |
|
@ -96,7 +96,7 @@ |
|
|
[isPercent]="true" |
|
|
[isPercent]="true" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercentWithCurrencyEffect - performance?.currentNetPerformancePercent" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercentWithCurrencyEffect - performance?.currentNetPerformancePercent" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div><hr /></div> |
|
|
<div><hr /></div> |
|
@ -112,7 +112,7 @@ |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[unit]="user?.settings?.baseCurrency" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformanceWithCurrencyEffect" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformanceWithCurrencyEffect" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="d-flex ml-3 py-1"> |
|
|
<div class="d-flex ml-3 py-1"> |
|
@ -127,7 +127,7 @@ |
|
|
[isPercent]="true" |
|
|
[isPercent]="true" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercentWithCurrencyEffect" |
|
|
[value]="isLoadingInvestmentChart ? undefined : performance?.currentNetPerformancePercentWithCurrencyEffect" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</mat-card-content> |
|
|
</mat-card-content> |
|
@ -167,7 +167,7 @@ |
|
|
[isPercent]="true" |
|
|
[isPercent]="true" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[value]="position.netPerformancePercentage" |
|
|
[value]="position.netPerformancePercentage" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</a> |
|
|
</a> |
|
|
</li> |
|
|
</li> |
|
@ -215,7 +215,7 @@ |
|
|
[isPercent]="true" |
|
|
[isPercent]="true" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[value]="position.netPerformancePercentage" |
|
|
[value]="position.netPerformancePercentage" |
|
|
></gf-value> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</a> |
|
|
</a> |
|
|
</li> |
|
|
</li> |
|
@ -245,7 +245,7 @@ |
|
|
<gf-premium-indicator |
|
|
<gf-premium-indicator |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
class="ml-1" |
|
|
class="ml-1" |
|
|
></gf-premium-indicator> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="chart-container"> |
|
|
<div class="chart-container"> |
|
@ -260,7 +260,7 @@ |
|
|
[isLoading]="isLoadingInvestmentChart" |
|
|
[isLoading]="isLoadingInvestmentChart" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[range]="user?.settings?.dateRange" |
|
|
[range]="user?.settings?.dateRange" |
|
|
></gf-investment-chart> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -275,7 +275,7 @@ |
|
|
<gf-premium-indicator |
|
|
<gf-premium-indicator |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
class="ml-1" |
|
|
class="ml-1" |
|
|
></gf-premium-indicator> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<gf-toggle |
|
|
<gf-toggle |
|
|
class="d-none d-lg-block" |
|
|
class="d-none d-lg-block" |
|
@ -283,7 +283,7 @@ |
|
|
[isLoading]="false" |
|
|
[isLoading]="false" |
|
|
[options]="modeOptions" |
|
|
[options]="modeOptions" |
|
|
(change)="onChangeGroupBy($event.value)" |
|
|
(change)="onChangeGroupBy($event.value)" |
|
|
></gf-toggle> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<div *ngIf="streaks" class="row"> |
|
|
<div *ngIf="streaks" class="row"> |
|
|
<div class="col-md-6 col-xs-12 my-2"> |
|
|
<div class="col-md-6 col-xs-12 my-2"> |
|
@ -317,7 +317,7 @@ |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[range]="user?.settings?.dateRange" |
|
|
[range]="user?.settings?.dateRange" |
|
|
[savingsRate]="savingsRate" |
|
|
[savingsRate]="savingsRate" |
|
|
></gf-investment-chart> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -332,7 +332,7 @@ |
|
|
<gf-premium-indicator |
|
|
<gf-premium-indicator |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
*ngIf="user?.subscription?.type === 'Basic'" |
|
|
class="ml-1" |
|
|
class="ml-1" |
|
|
></gf-premium-indicator> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<gf-toggle |
|
|
<gf-toggle |
|
|
class="d-none d-lg-block" |
|
|
class="d-none d-lg-block" |
|
@ -340,7 +340,7 @@ |
|
|
[isLoading]="false" |
|
|
[isLoading]="false" |
|
|
[options]="modeOptions" |
|
|
[options]="modeOptions" |
|
|
(change)="onChangeGroupBy($event.value)" |
|
|
(change)="onChangeGroupBy($event.value)" |
|
|
></gf-toggle> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<div class="chart-container"> |
|
|
<div class="chart-container"> |
|
|
<gf-investment-chart |
|
|
<gf-investment-chart |
|
@ -353,7 +353,7 @@ |
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView" |
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[range]="user?.settings?.dateRange" |
|
|
[range]="user?.settings?.dateRange" |
|
|
></gf-investment-chart> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|