@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.
- package/esm2020/lib/table-data-source.directive.mjs +3 -1
- package/esm2020/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +10 -1
- package/fesm2015/rxap-material-table-system.mjs +11 -0
- package/fesm2015/rxap-material-table-system.mjs.map +1 -1
- package/fesm2020/rxap-material-table-system.mjs +11 -0
- package/fesm2020/rxap-material-table-system.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -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) {
|