@c10t/nice-component-library 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -470,11 +470,23 @@ class CustomDialogDataConfigModel {
470
470
  class Principal {
471
471
  username = null;
472
472
  firstName = null;
473
+ middleName = null;
473
474
  lastName = null;
475
+ fullName = null;
476
+ gender = null;
477
+ email = null;
478
+ phone = null;
479
+ voAuthentication = null;
480
+ orgId = null;
481
+ orgCode = null;
482
+ orgName = null;
483
+ orgType = null;
484
+ orgForm = null;
485
+ orgSapId = null;
486
+ orgPath = null;
487
+ orgIsApproveVo = null;
474
488
  roles = [];
475
- mustChangePassword;
476
- attemptLoginFailed = 0;
477
- enabled = true;
489
+ mustChangePassword = null;
478
490
  }
479
491
 
480
492
  class DialogImportFileConfigModel {
@@ -2463,6 +2475,7 @@ class CvaTableComponent {
2463
2475
  this.varPaging.pageSize = pageable.pageSize;
2464
2476
  this.pagingChange.emit(this.varPaging);
2465
2477
  this.toggleSelect(null, null);
2478
+ this.goToPageNumber = this.varPaging.pageNumber;
2466
2479
  }
2467
2480
  onClick(action, result) {
2468
2481
  const buttonClickEvent = new ButtonClickEvent(action, result);
@@ -2541,6 +2554,9 @@ class CvaTableComponent {
2541
2554
  this.goToPageNumber = 1;
2542
2555
  return;
2543
2556
  }
2557
+ if (this.goToPageNumber > this.getTotalPage()) {
2558
+ this.goToPageNumber = this.getTotalPage();
2559
+ }
2544
2560
  const item = window.document.querySelector('.go-to-page cva-counter-input .mat-form-field-infix input');
2545
2561
  if (item && item.closest) {
2546
2562
  const itemClosest = item.closest('.mat-form-field-infix');