@rxap/material-table-system 13.5.1 → 13.5.3

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.
@@ -773,6 +773,8 @@ class TableDataSourceDirective {
773
773
  this.adapterFactory = null;
774
774
  this.matTable.trackBy = this.trackBy;
775
775
  this.adapterFactory = adapterFactory;
776
+ this.retry = this.retry.bind(this);
777
+ this.refresh = this.refresh.bind(this);
776
778
  }
777
779
  /**
778
780
  * @deprecated use dataSource instead
@@ -1495,6 +1497,15 @@ class RowControlsHeaderCellComponent {
1495
1497
  this.tableFilter?.change.pipe(map((filter) => !filter ||
1496
1498
  !filter.hasOwnProperty('__archived') ||
1497
1499
  filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
1500
+ if (!this.archiveRemoteMethod) {
1501
+ this.showArchive$ = of(false);
1502
+ }
1503
+ if (!this.unarchiveRemoteMethod) {
1504
+ this.showUnarchive$ = of(false);
1505
+ }
1506
+ if (!this.deleteRemoteMethod) {
1507
+ this.showDelete$ = of(false);
1508
+ }
1498
1509
  }
1499
1510
  async archiveSelected(selectedRows) {
1500
1511
  if (this.archiveRemoteMethod && selectedRows) {