Migrate ngx-skeleton-loader components to self-closing tags (#2935)
This commit is contained in:
parent
857708dc4d
commit
0436cc6487
@ -296,4 +296,4 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
@ -213,7 +213,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<canvas
|
<canvas
|
||||||
#chartCanvas
|
#chartCanvas
|
||||||
class="h-100"
|
class="h-100"
|
||||||
|
@ -19,5 +19,5 @@
|
|||||||
[theme]="{
|
[theme]="{
|
||||||
height: '100%'
|
height: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<canvas
|
<canvas
|
||||||
#chartCanvas
|
#chartCanvas
|
||||||
class="h-100"
|
class="h-100"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
height: '4rem',
|
height: '4rem',
|
||||||
width: '15rem'
|
width: '15rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="display-4 font-weight-bold m-0 text-center value-container"
|
class="display-4 font-weight-bold m-0 text-center value-container"
|
||||||
|
@ -28,14 +28,14 @@
|
|||||||
height: '1.2rem',
|
height: '1.2rem',
|
||||||
width: '12rem'
|
width: '12rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
animation="pulse"
|
animation="pulse"
|
||||||
[theme]="{
|
[theme]="{
|
||||||
height: '1rem',
|
height: '1rem',
|
||||||
width: '8rem'
|
width: '8rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!isLoading" class="flex-grow-1 text-truncate">
|
<div *ngIf="!isLoading" class="flex-grow-1 text-truncate">
|
||||||
<div class="h6 m-0 text-truncate">{{ position?.name }}</div>
|
<div class="h6 m-0 text-truncate">{{ position?.name }}</div>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
height: '2rem',
|
height: '2rem',
|
||||||
width: '2rem'
|
width: '2rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
*ngIf="!isLoading"
|
*ngIf="!isLoading"
|
||||||
@ -26,14 +26,14 @@
|
|||||||
height: '1rem',
|
height: '1rem',
|
||||||
width: '10rem'
|
width: '10rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
animation="pulse"
|
animation="pulse"
|
||||||
[theme]="{
|
[theme]="{
|
||||||
height: '1rem',
|
height: '1rem',
|
||||||
width: '15rem'
|
width: '15rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!isLoading" class="flex-grow-1">
|
<div *ngIf="!isLoading" class="flex-grow-1">
|
||||||
<div class="h6 my-1">{{ rule?.name }}</div>
|
<div class="h6 my-1">{{ rule?.name }}</div>
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
[theme]="{
|
[theme]="{
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<div class="align-items-center d-flex h-100 w-100" id="svgMap"></div>
|
<div class="align-items-center d-flex h-100 w-100" id="svgMap"></div>
|
||||||
|
@ -180,7 +180,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
@ -228,7 +228,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
@ -45,14 +45,14 @@
|
|||||||
height: '1rem',
|
height: '1rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
animation="pulse"
|
animation="pulse"
|
||||||
[theme]="{
|
[theme]="{
|
||||||
height: '1rem',
|
height: '1rem',
|
||||||
width: '10rem'
|
width: '10rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!isLoading" i18n>
|
<div *ngIf="!isLoading" i18n>
|
||||||
If you retire today, you would be able to withdraw
|
If you retire today, you would be able to withdraw
|
||||||
|
@ -467,7 +467,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<mat-paginator
|
<mat-paginator
|
||||||
[length]="totalItems"
|
[length]="totalItems"
|
||||||
|
@ -579,7 +579,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
*ngIf="
|
*ngIf="
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div>
|
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
@ -80,7 +80,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div>
|
<div *ngIf="!isLoading" class="px-2 py-1" i18n>No entries...</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<canvas
|
<canvas
|
||||||
#chartCanvas
|
#chartCanvas
|
||||||
class="h-100"
|
class="h-100"
|
||||||
|
@ -162,7 +162,7 @@
|
|||||||
height: '1.5rem',
|
height: '1.5rem',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
*ngIf="dataSource.data.length > pageSize && !isLoading"
|
*ngIf="dataSource.data.length > pageSize && !isLoading"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<canvas
|
<canvas
|
||||||
#chartCanvas
|
#chartCanvas
|
||||||
[ngStyle]="{ display: isLoading ? 'none' : 'block' }"
|
[ngStyle]="{ display: isLoading ? 'none' : 'block' }"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
[theme]="{
|
[theme]="{
|
||||||
height: '100%'
|
height: '100%'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
<canvas
|
<canvas
|
||||||
#chartCanvas
|
#chartCanvas
|
||||||
[ngStyle]="{ display: isLoading ? 'none' : 'block' }"
|
[ngStyle]="{ display: isLoading ? 'none' : 'block' }"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
height: '1.8rem',
|
height: '1.8rem',
|
||||||
width: '1.8rem'
|
width: '1.8rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<ng-template #other>
|
<ng-template #other>
|
||||||
<ion-icon
|
<ion-icon
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
size === 'large' ? '2rem' : size === 'medium' ? '1.8rem' : '1.5rem',
|
size === 'large' ? '2rem' : size === 'medium' ? '1.8rem' : '1.5rem',
|
||||||
width: '5rem'
|
width: '5rem'
|
||||||
}"
|
}"
|
||||||
></ngx-skeleton-loader>
|
/>
|
||||||
|
|
||||||
<ng-container>
|
<ng-container>
|
||||||
<div *ngIf="size === 'large'">
|
<div *ngIf="size === 'large'">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user