IMP-62: Fix tables (#226)

This commit is contained in:
Rinat Arsaev 2023-06-01 11:32:12 +04:00 committed by GitHub
parent 5c093ae700
commit 315489cf87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 14 deletions

14
package-lock.json generated
View File

@ -34,7 +34,7 @@
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0", "@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
"@vality/fistful-proto": "2.0.1-4ff4ea3.0", "@vality/fistful-proto": "2.0.1-4ff4ea3.0",
"@vality/magista-proto": "2.0.1-cf0eff8.0", "@vality/magista-proto": "2.0.1-cf0eff8.0",
"@vality/ng-core": "0.7.1-pr-22-ccb2ea9.0", "@vality/ng-core": "0.7.1-pr-22-21224c1.0",
"@vality/payout-manager-proto": "2.0.1-b079679.0", "@vality/payout-manager-proto": "2.0.1-b079679.0",
"@vality/repairer-proto": "2.0.1-8f7973d.0", "@vality/repairer-proto": "2.0.1-8f7973d.0",
"@vality/thrift-ts": "2.4.1-8ad5123.0", "@vality/thrift-ts": "2.4.1-8ad5123.0",
@ -5639,9 +5639,9 @@
"integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ==" "integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ=="
}, },
"node_modules/@vality/ng-core": { "node_modules/@vality/ng-core": {
"version": "0.7.1-pr-22-ccb2ea9.0", "version": "0.7.1-pr-22-21224c1.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-22-ccb2ea9.0.tgz", "resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-22-21224c1.0.tgz",
"integrity": "sha512-8qo/e0H/6JDCK9lafVNVUReKmW3danItKGumrARqAD+FbabhZh7mBFMqFKJkYGc/b0+IGf1YzX7cP8XVU9QAuw==", "integrity": "sha512-568Yw+ko12cu8RCLzcOYtuNRY0cILPBSh0bPYmHZ4PAFRqNPGCo5YIQuVwk/aKQTbuBxMxpApIgvoJpwWDJ2KQ==",
"dependencies": { "dependencies": {
"@s-libs/js-core": "^15.2.0", "@s-libs/js-core": "^15.2.0",
"@s-libs/micro-dash": "^15.2.0", "@s-libs/micro-dash": "^15.2.0",
@ -24530,9 +24530,9 @@
"integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ==" "integrity": "sha512-59ncaJpt7tXFLOq9KrDu4OgrDQr9vTQ3j30T0hjN+ZIsPBsE+lld/pGKASWLLQfwvTtvp9laAuKgQGX9GuvIiQ=="
}, },
"@vality/ng-core": { "@vality/ng-core": {
"version": "0.7.1-pr-22-ccb2ea9.0", "version": "0.7.1-pr-22-21224c1.0",
"resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-22-ccb2ea9.0.tgz", "resolved": "https://registry.npmjs.org/@vality/ng-core/-/ng-core-0.7.1-pr-22-21224c1.0.tgz",
"integrity": "sha512-8qo/e0H/6JDCK9lafVNVUReKmW3danItKGumrARqAD+FbabhZh7mBFMqFKJkYGc/b0+IGf1YzX7cP8XVU9QAuw==", "integrity": "sha512-568Yw+ko12cu8RCLzcOYtuNRY0cILPBSh0bPYmHZ4PAFRqNPGCo5YIQuVwk/aKQTbuBxMxpApIgvoJpwWDJ2KQ==",
"requires": { "requires": {
"@s-libs/js-core": "^15.2.0", "@s-libs/js-core": "^15.2.0",
"@s-libs/micro-dash": "^15.2.0", "@s-libs/micro-dash": "^15.2.0",

View File

@ -43,7 +43,7 @@
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0", "@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
"@vality/fistful-proto": "2.0.1-4ff4ea3.0", "@vality/fistful-proto": "2.0.1-4ff4ea3.0",
"@vality/magista-proto": "2.0.1-cf0eff8.0", "@vality/magista-proto": "2.0.1-cf0eff8.0",
"@vality/ng-core": "0.7.1-pr-22-ccb2ea9.0", "@vality/ng-core": "0.7.1-pr-22-21224c1.0",
"@vality/payout-manager-proto": "2.0.1-b079679.0", "@vality/payout-manager-proto": "2.0.1-b079679.0",
"@vality/repairer-proto": "2.0.1-8f7973d.0", "@vality/repairer-proto": "2.0.1-8f7973d.0",
"@vality/thrift-ts": "2.4.1-8ad5123.0", "@vality/thrift-ts": "2.4.1-8ad5123.0",

View File

@ -43,6 +43,7 @@
[rowSelected]="selected$ | async" [rowSelected]="selected$ | async"
[trackBy]="trackById" [trackBy]="trackById"
rowSelectable rowSelectable
sizes
(more)="fetchMore()" (more)="fetchMore()"
(rowSelectionChange)="selected$.next($event)" (rowSelectionChange)="selected$.next($event)"
(sizeChange)="update($event)" (sizeChange)="update($event)"

View File

@ -24,6 +24,7 @@
[data]="wallets$ | async" [data]="wallets$ | async"
[hasMore]="hasMore$ | async" [hasMore]="hasMore$ | async"
[progress]="inProgress$ | async" [progress]="inProgress$ | async"
sizes
(more)="fetchMore()" (more)="fetchMore()"
(sizeChange)="search($event)" (sizeChange)="search($event)"
(update)="search($event.size)" (update)="search($event.size)"
@ -39,12 +40,14 @@
<mat-icon>sync</mat-icon> <mat-icon>sync</mat-icon>
</button> </button>
<ng-template #balanceTpl> <ng-template #balanceTpl>
<ng-container *ngIf="getBalance(row.id) | async as account; else spinner"> <div style="white-space: nowrap">
{{ account.current | amountCurrency : account.currency.symbolic_code }} <ng-container *ngIf="getBalance(row.id) | async as account; else spinner">
</ng-container> {{ account.current | amountCurrency : account.currency.symbolic_code }}
<ng-template #spinner> </ng-container>
<button [loading]="true" class="cell-button" mat-icon-button></button> <ng-template #spinner>
</ng-template> <button [loading]="true" class="cell-button" mat-icon-button></button>
</ng-template>
</div>
</ng-template> </ng-template>
</ng-container> </ng-container>
</ng-template> </ng-template>