Browse Source
Migrate ngx-skeleton-loader components to self-closing tags (#2935)
pull/2933/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with
27 additions and
27 deletions
-
apps/client/src/app/components/accounts-table/accounts-table.component.html
-
apps/client/src/app/components/admin-market-data/admin-market-data.html
-
apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.html
-
apps/client/src/app/components/fear-and-greed-index/fear-and-greed-index.component.html
-
apps/client/src/app/components/home-market/home-market.html
-
apps/client/src/app/components/investment-chart/investment-chart.component.html
-
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
-
apps/client/src/app/components/position/position.component.html
-
apps/client/src/app/components/rule/rule.component.html
-
apps/client/src/app/components/world-map-chart/world-map-chart.component.html
-
apps/client/src/app/pages/portfolio/analysis/analysis-page.html
-
apps/client/src/app/pages/portfolio/fire/fire-page.html
-
libs/ui/src/lib/activities-table-lazy/activities-table-lazy.component.html
-
libs/ui/src/lib/activities-table/activities-table.component.html
-
libs/ui/src/lib/assistant/assistant.html
-
libs/ui/src/lib/fire-calculator/fire-calculator.component.html
-
libs/ui/src/lib/holdings-table/holdings-table.component.html
-
libs/ui/src/lib/line-chart/line-chart.component.html
-
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.html
-
libs/ui/src/lib/trend-indicator/trend-indicator.component.html
-
libs/ui/src/lib/value/value.component.html
|
|
@ -296,4 +296,4 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
@ -213,7 +213,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@ -50,7 +50,7 @@ |
|
|
|
height: '100%', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<canvas |
|
|
|
#chartCanvas |
|
|
|
class="h-100" |
|
|
|
|
|
@ -19,5 +19,5 @@ |
|
|
|
[theme]="{ |
|
|
|
height: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
|
|
@ -41,7 +41,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
height: '100%', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<canvas |
|
|
|
#chartCanvas |
|
|
|
class="h-100" |
|
|
|
|
|
@ -18,7 +18,7 @@ |
|
|
|
height: '4rem', |
|
|
|
width: '15rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="display-4 font-weight-bold m-0 text-center value-container" |
|
|
|
|
|
@ -28,14 +28,14 @@ |
|
|
|
height: '1.2rem', |
|
|
|
width: '12rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<ngx-skeleton-loader |
|
|
|
animation="pulse" |
|
|
|
[theme]="{ |
|
|
|
height: '1rem', |
|
|
|
width: '8rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div *ngIf="!isLoading" class="flex-grow-1 text-truncate"> |
|
|
|
<div class="h6 m-0 text-truncate">{{ position?.name }}</div> |
|
|
|
|
|
@ -8,7 +8,7 @@ |
|
|
|
height: '2rem', |
|
|
|
width: '2rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
*ngIf="!isLoading" |
|
|
@ -26,14 +26,14 @@ |
|
|
|
height: '1rem', |
|
|
|
width: '10rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<ngx-skeleton-loader |
|
|
|
animation="pulse" |
|
|
|
[theme]="{ |
|
|
|
height: '1rem', |
|
|
|
width: '15rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div *ngIf="!isLoading" class="flex-grow-1"> |
|
|
|
<div class="h6 my-1">{{ rule?.name }}</div> |
|
|
|
|
|
@ -5,6 +5,6 @@ |
|
|
|
[theme]="{ |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<div class="align-items-center d-flex h-100 w-100" id="svgMap"></div> |
|
|
|
|
|
@ -180,7 +180,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</mat-card-content> |
|
|
|
</mat-card> |
|
|
@ -228,7 +228,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</mat-card-content> |
|
|
|
</mat-card> |
|
|
|
|
|
@ -45,14 +45,14 @@ |
|
|
|
height: '1rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<ngx-skeleton-loader |
|
|
|
animation="pulse" |
|
|
|
[theme]="{ |
|
|
|
height: '1rem', |
|
|
|
width: '10rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div *ngIf="!isLoading" i18n> |
|
|
|
If you retire today, you would be able to withdraw |
|
|
|
|
|
@ -467,7 +467,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<mat-paginator |
|
|
|
[length]="totalItems" |
|
|
|
|
|
@ -579,7 +579,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<div |
|
|
|
*ngIf=" |
|
|
|
|
|
@ -59,7 +59,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div> |
|
|
|
</ng-container> |
|
|
|
</div> |
|
|
@ -80,7 +80,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div> |
|
|
|
</ng-container> |
|
|
|
</div> |
|
|
|
|
|
@ -77,7 +77,7 @@ |
|
|
|
height: '100%', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<canvas |
|
|
|
#chartCanvas |
|
|
|
class="h-100" |
|
|
|
|
|
@ -162,7 +162,7 @@ |
|
|
|
height: '1.5rem', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<div |
|
|
|
*ngIf="dataSource.data.length > pageSize && !isLoading" |
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
height: '100%', |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<canvas |
|
|
|
#chartCanvas |
|
|
|
[ngStyle]="{ display: isLoading ? 'none' : 'block' }" |
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
[theme]="{ |
|
|
|
height: '100%' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
<canvas |
|
|
|
#chartCanvas |
|
|
|
[ngStyle]="{ display: isLoading ? 'none' : 'block' }" |
|
|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
height: '1.8rem', |
|
|
|
width: '1.8rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<ng-template #other> |
|
|
|
<ion-icon |
|
|
|
|
|
@ -67,7 +67,7 @@ |
|
|
|
size === 'large' ? '2rem' : size === 'medium' ? '1.8rem' : '1.5rem', |
|
|
|
width: '5rem' |
|
|
|
}" |
|
|
|
></ngx-skeleton-loader> |
|
|
|
/> |
|
|
|
|
|
|
|
<ng-container> |
|
|
|
<div *ngIf="size === 'large'"> |
|
|
|