ngx-pk-ui 1.0.4 → 1.1.0

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.
@@ -669,12 +669,7 @@ class PkDgRowsDirective {
669
669
  this.datagrid.pagination.updatePagination();
670
670
  }
671
671
  this.datagrid.updateDisplayedItems();
672
- this._lastVersion = this.datagrid.displayedItemsVersion;
673
- // Render immediately on first bind; do not wait for a user event.
674
- this.renderItems();
675
- return;
676
672
  }
677
- this.renderItems();
678
673
  }
679
674
  renderItems() {
680
675
  this.viewContainer.clear();
@@ -874,9 +869,6 @@ class PkDatagridComponent {
874
869
  }
875
870
  this._initColumnWidths();
876
871
  this.updateDisplayedItems();
877
- // In zoneless mode, async callbacks do not automatically trigger a render pass.
878
- // Run one explicit change detection so initial pagination is reflected immediately.
879
- this.cdr.detectChanges();
880
872
  }, 0);
881
873
  }
882
874
  updateDisplayedItems() {
@@ -1046,7 +1038,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
1046
1038
  args: [PkDgHeaderComponent]
1047
1039
  }], pagination: [{
1048
1040
  type: ContentChild,
1049
- args: [PkDgPaginationComponent, { descendants: true }]
1041
+ args: [PkDgPaginationComponent]
1050
1042
  }], rowDetails: [{
1051
1043
  type: ContentChildren,
1052
1044
  args: [PkDgRowExpandComponent, { descendants: true }]
@@ -1127,8 +1119,7 @@ class PkDatagridModule {
1127
1119
  PkDgActionComponent,
1128
1120
  PkDgRowsDirective,
1129
1121
  PkDgRowIsExpandDirective,
1130
- NowrapDirective,
1131
- PkIcon] });
1122
+ NowrapDirective] });
1132
1123
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: PkDatagridModule, imports: [CommonModule,
1133
1124
  FormsModule] });
1134
1125
  }
@@ -1166,8 +1157,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
1166
1157
  PkDgActionComponent,
1167
1158
  PkDgRowsDirective,
1168
1159
  PkDgRowIsExpandDirective,
1169
- NowrapDirective,
1170
- PkIcon
1160
+ NowrapDirective
1171
1161
  ]
1172
1162
  }]
1173
1163
  }] });