Migrate ngx-skeleton-loader components to self-closing tags (#2935)

This commit is contained in:
Thomas Kaul 2024-01-28 08:51:02 +01:00 committed by GitHub
parent 857708dc4d
commit 0436cc6487
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 27 additions and 27 deletions

View File

@ -296,4 +296,4 @@
height: '1.5rem', height: '1.5rem',
width: '100%' width: '100%'
}" }"
></ngx-skeleton-loader> />

View File

@ -213,7 +213,7 @@
height: '1.5rem', height: '1.5rem',
width: '100%' width: '100%'
}" }"
></ngx-skeleton-loader> />
</div> </div>
</div> </div>

View File

@ -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"

View File

@ -19,5 +19,5 @@
[theme]="{ [theme]="{
height: '100%' height: '100%'
}" }"
></ngx-skeleton-loader> />
</div> </div>

View File

@ -41,7 +41,7 @@
height: '1.5rem', height: '1.5rem',
width: '100%' width: '100%'
}" }"
></ngx-skeleton-loader> />
</div> </div>
</div> </div>
</div> </div>

View File

@ -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"

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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"

View File

@ -579,7 +579,7 @@
height: '1.5rem', height: '1.5rem',
width: '100%' width: '100%'
}" }"
></ngx-skeleton-loader> />
<div <div
*ngIf=" *ngIf="

View File

@ -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>

View File

@ -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"

View File

@ -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"

View File

@ -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' }"

View File

@ -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' }"

View File

@ -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

View File

@ -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'">