Setup angular compiler options (#45)
This commit is contained in:
parent
19ada83d0b
commit
ef317a86ed
@ -34,16 +34,16 @@
|
||||
<div *ngIf="showDetails" class="row">
|
||||
<div class="d-flex col justify-content-end">
|
||||
<gf-value
|
||||
colorizeSign="true"
|
||||
isCurrency="true"
|
||||
[colorizeSign]="true"
|
||||
[isCurrency]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : performance?.currentNetPerformance"
|
||||
></gf-value>
|
||||
</div>
|
||||
<div class="col">
|
||||
<gf-value
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="
|
||||
isLoading ? undefined : performance?.currentNetPerformancePercent
|
||||
|
@ -16,17 +16,17 @@
|
||||
<div class="d-flex flex-column flex-wrap justify-content-end">
|
||||
<gf-value
|
||||
class="justify-content-end mb-2"
|
||||
colorizeSign="true"
|
||||
position="end"
|
||||
[colorizeSign]="true"
|
||||
[currency]="baseCurrency"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : performance?.currentGrossPerformance"
|
||||
></gf-value>
|
||||
<gf-value
|
||||
class="justify-content-end"
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
position="end"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="
|
||||
isLoading ? undefined : performance?.currentGrossPerformancePercent
|
||||
@ -39,17 +39,17 @@
|
||||
<div class="d-flex flex-column flex-wrap justify-content-end">
|
||||
<gf-value
|
||||
class="justify-content-end mb-2"
|
||||
colorizeSign="true"
|
||||
position="end"
|
||||
[colorizeSign]="true"
|
||||
[currency]="baseCurrency"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : performance?.currentNetPerformance"
|
||||
></gf-value>
|
||||
<gf-value
|
||||
class="justify-content-end"
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
position="end"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="
|
||||
isLoading ? undefined : performance?.currentNetPerformancePercent
|
||||
|
@ -21,10 +21,10 @@
|
||||
<div class="row">
|
||||
<div class="col-6 mb-3">
|
||||
<gf-value
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
label="Performance"
|
||||
size="medium"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="data.locale"
|
||||
[value]="grossPerformancePercent"
|
||||
></gf-value>
|
||||
@ -76,9 +76,9 @@
|
||||
</div>
|
||||
<div class="col-6 mb-3">
|
||||
<gf-value
|
||||
isCurrency="true"
|
||||
label="Quantity"
|
||||
size="medium"
|
||||
[isCurrency]="true"
|
||||
[value]="quantity"
|
||||
></gf-value>
|
||||
</div>
|
||||
|
@ -42,14 +42,14 @@
|
||||
<div class="d-flex mt-1">
|
||||
<gf-value
|
||||
class="mr-3"
|
||||
colorizeSign="true"
|
||||
[colorizeSign]="true"
|
||||
[currency]="position?.currency"
|
||||
[locale]="locale"
|
||||
[value]="position?.grossPerformance"
|
||||
></gf-value>
|
||||
<gf-value
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="position?.grossPerformancePercent"
|
||||
></gf-value>
|
||||
|
@ -28,8 +28,8 @@
|
||||
<td class="d-none d-lg-table-cell" mat-cell *matCellDef="let element">
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
colorizeSign="true"
|
||||
isPercent="true"
|
||||
[colorizeSign]="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.grossPerformancePercent"
|
||||
></gf-value>
|
||||
@ -50,7 +50,7 @@
|
||||
<td mat-cell *matCellDef="let element">
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
isPercent="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.shareInvestment"
|
||||
></gf-value>
|
||||
@ -71,7 +71,7 @@
|
||||
<td mat-cell *matCellDef="let element">
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
isPercent="true"
|
||||
[isPercent]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.shareCurrent"
|
||||
></gf-value>
|
||||
|
@ -116,7 +116,7 @@
|
||||
<td *matCellDef="let element" class="d-none d-lg-table-cell" mat-cell>
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
isCurrency="true"
|
||||
[isCurrency]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.quantity"
|
||||
></gf-value>
|
||||
@ -137,7 +137,7 @@
|
||||
<td *matCellDef="let element" class="d-none d-lg-table-cell" mat-cell>
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
isCurrency="true"
|
||||
[isCurrency]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.unitPrice"
|
||||
></gf-value>
|
||||
@ -158,7 +158,7 @@
|
||||
<td class="d-none d-lg-table-cell" mat-cell *matCellDef="let element">
|
||||
<div class="d-flex justify-content-end">
|
||||
<gf-value
|
||||
isCurrency="true"
|
||||
[isCurrency]="true"
|
||||
[locale]="locale"
|
||||
[value]="isLoading ? undefined : element.fee"
|
||||
></gf-value>
|
||||
|
@ -12,5 +12,9 @@
|
||||
{
|
||||
"path": "./tsconfig.editor.json"
|
||||
}
|
||||
]
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"strictInjectionParameters": true,
|
||||
"strictTemplates": false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user