@rxap/material-table-system 13.5.0 → 13.5.2

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
@@ -1983,7 +1985,9 @@ function TableActionMethod(typeOrOptions, checkFunction) {
1983
1985
  }
1984
1986
  return function (target) {
1985
1987
  setMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, options, target);
1986
- setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
1988
+ if (type) {
1989
+ setMetadata(RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, type, target);
1990
+ }
1987
1991
  if (checkFunction) {
1988
1992
  setMetadata(RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, checkFunction, target);
1989
1993
  }
@@ -2020,7 +2024,7 @@ var TableRowActionStatus;
2020
2024
  })(TableRowActionStatus || (TableRowActionStatus = {}));
2021
2025
 
2022
2026
  function IsTableRowActionTypeSwitchMethod(method) {
2023
- return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type !== undefined;
2027
+ return getMetadata(RXAP_TABLE_ACTION_METHOD_METADATA, method.constructor)?.type === undefined;
2024
2028
  }
2025
2029
  function IsTableRowActionTypeMethod(type) {
2026
2030
  return (method) => {