|
220 | 220 | ></app-transaction-spending-limit-access-group-member> |
221 | 221 | </div> |
222 | 222 | </ng-container> |
| 223 | + <ng-container |
| 224 | + *ngIf="sectionTitle === TransactionSpendingLimitComponent.StakeSection" |
| 225 | + > |
| 226 | + <div class="display--flex justify--between items--center"> |
| 227 | + <div class="text--text-lightest">Validator</div> |
| 228 | + <div class="text--text-lightest">Amount</div> |
| 229 | + </div> |
| 230 | + <div |
| 231 | + *ngIf="anyValidatorItem" |
| 232 | + class="display--flex flex--column padding-top--small justify--between" |
| 233 | + > |
| 234 | + <app-transaction-spending-limit-stake |
| 235 | + [stakeLimitMapItem]="anyValidatorItem" |
| 236 | + [operationName]="'Stake'" |
| 237 | + ></app-transaction-spending-limit-stake> |
| 238 | + </div> |
| 239 | + <div |
| 240 | + *ngFor=" |
| 241 | + let stakeLimitMapItem of stakeLimitMap |
| 242 | + | slice : 0 : (showAll ? stakeLimitMap.length : defaultNumShown) |
| 243 | + " |
| 244 | + class="display--flex flex--column padding-top--small justify--between" |
| 245 | + > |
| 246 | + <app-transaction-spending-limit-stake |
| 247 | + [stakeLimitMapItem]="stakeLimitMapItem" |
| 248 | + [appUser]="userMap[stakeLimitMapItem.ValidatorPublicKeyBase58Check]" |
| 249 | + [operationName]="'Stake'" |
| 250 | + ></app-transaction-spending-limit-stake> |
| 251 | + </div> |
| 252 | + </ng-container> |
| 253 | + <ng-container |
| 254 | + *ngIf=" |
| 255 | + sectionTitle === TransactionSpendingLimitComponent.UnstakeSection |
| 256 | + " |
| 257 | + > |
| 258 | + <div class="display--flex justify--between items--center"> |
| 259 | + <div class="text--text-lightest">Validator</div> |
| 260 | + <div class="text--text-lightest">Amount</div> |
| 261 | + </div> |
| 262 | + <div |
| 263 | + *ngIf="anyValidatorItem" |
| 264 | + class="display--flex flex--column padding-top--small justify--between" |
| 265 | + > |
| 266 | + <app-transaction-spending-limit-stake |
| 267 | + [stakeLimitMapItem]="anyValidatorItem" |
| 268 | + [operationName]="'Unstake'" |
| 269 | + ></app-transaction-spending-limit-stake> |
| 270 | + </div> |
| 271 | + <div |
| 272 | + *ngFor=" |
| 273 | + let unstakeLimitMapItem of unstakeLimitMap |
| 274 | + | slice : 0 : (showAll ? unstakeLimitMap.length : defaultNumShown) |
| 275 | + " |
| 276 | + class="display--flex flex--column padding-top--small justify--between" |
| 277 | + > |
| 278 | + <app-transaction-spending-limit-stake |
| 279 | + [stakeLimitMapItem]="unstakeLimitMapItem" |
| 280 | + [appUser]=" |
| 281 | + userMap[unstakeLimitMapItem.ValidatorPublicKeyBase58Check] |
| 282 | + " |
| 283 | + [operationName]="'Unstake'" |
| 284 | + ></app-transaction-spending-limit-stake> |
| 285 | + </div> |
| 286 | + </ng-container> |
| 287 | + <ng-container |
| 288 | + *ngIf=" |
| 289 | + sectionTitle === TransactionSpendingLimitComponent.UnlockStakeSection |
| 290 | + " |
| 291 | + > |
| 292 | + <div class="display--flex justify--between items--center"> |
| 293 | + <div class="text--text-lightest">Validator</div> |
| 294 | + <div class="text--text-lightest">Txn Limit</div> |
| 295 | + </div> |
| 296 | + <div |
| 297 | + *ngIf="anyValidatorItem" |
| 298 | + class="display--flex flex--column padding-top--small justify--between" |
| 299 | + > |
| 300 | + <app-transaction-spending-limit-stake |
| 301 | + [stakeLimitMapItem]="anyValidatorItem" |
| 302 | + [operationName]="'Unlock Stake'" |
| 303 | + ></app-transaction-spending-limit-stake> |
| 304 | + </div> |
| 305 | + <div |
| 306 | + *ngFor=" |
| 307 | + let unlockStakeLimitMapItem of unlockStakeLimitMap |
| 308 | + | slice |
| 309 | + : 0 |
| 310 | + : (showAll ? unlockStakeLimitMap.length : defaultNumShown) |
| 311 | + " |
| 312 | + class="display--flex flex--column padding-top--small justify--between" |
| 313 | + > |
| 314 | + <app-transaction-spending-limit-stake |
| 315 | + [stakeLimitMapItem]="unlockStakeLimitMapItem" |
| 316 | + [appUser]=" |
| 317 | + userMap[unlockStakeLimitMapItem.ValidatorPublicKeyBase58Check] |
| 318 | + " |
| 319 | + [operationName]="'Unlock Stake'" |
| 320 | + ></app-transaction-spending-limit-stake> |
| 321 | + </div> |
| 322 | + </ng-container> |
| 323 | + <ng-container |
| 324 | + *ngIf="sectionTitle === TransactionSpendingLimitComponent.LockupSection" |
| 325 | + > |
| 326 | + <div class="display--flex justify--between items--center"> |
| 327 | + <div class="text--text-lightest">Profile</div> |
| 328 | + <div class="text--text-lightest">Operation</div> |
| 329 | + <div class="text--text-lightest">Txn Limit</div> |
| 330 | + </div> |
| 331 | + <div |
| 332 | + *ngFor="let lockupLimitItem of anyLockupLimitItems" |
| 333 | + class="display--flex flex--column padding-top--small justify--between" |
| 334 | + > |
| 335 | + <app-transaction-spending-limit-lockup |
| 336 | + [lockupLimitMapItem]="lockupLimitItem" |
| 337 | + ></app-transaction-spending-limit-lockup> |
| 338 | + </div> |
| 339 | + <div |
| 340 | + *ngFor=" |
| 341 | + let lockupLimitMapItem of lockupLimitMap |
| 342 | + | slice : 0 : (showAll ? lockupLimitMap.length : defaultNumShown) |
| 343 | + " |
| 344 | + class="display--flex flex--column padding-top--small justify--between" |
| 345 | + > |
| 346 | + <app-transaction-spending-limit-lockup |
| 347 | + [lockupLimitMapItem]="lockupLimitMapItem" |
| 348 | + [appUser]="userMap[lockupLimitMapItem.ProfilePublicKeyBase58Check]" |
| 349 | + ></app-transaction-spending-limit-lockup> |
| 350 | + </div> |
| 351 | + </ng-container> |
223 | 352 | </div> |
224 | 353 | </div> |
225 | 354 |
|
|
0 commit comments