@datorama/core 22.12.8-rc → 22.12.8-rc.1

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.
@@ -14024,6 +14024,7 @@ var GridService = /** @class */ (function () {
14024
14024
  this.logger = logger;
14025
14025
  this.treeConfig = defaultGridTreeLabel;
14026
14026
  this.pageNumberToReturnAfterRefresh = -1;
14027
+ this.reloadGridActionsSubject = new Subject();
14027
14028
  this.CHECKBOX_SELECTION_COL_ID = 'grid-checkbox-selection';
14028
14029
  }
14029
14030
  Object.defineProperty(GridService.prototype, "treeData", {
@@ -14056,11 +14057,11 @@ var GridService = /** @class */ (function () {
14056
14057
  ? context
14057
14058
  : deepmerge(this.gridRef.gridOptions.context || {}, context);
14058
14059
  };
14059
- GridService.prototype.updateGridActions = function () {
14060
- this.updateGridActionsSubject.next(true);
14060
+ GridService.prototype.reloadGridActions = function () {
14061
+ this.reloadGridActionsSubject.next();
14061
14062
  };
14062
- GridService.prototype.getUpdateGridActionsStatus = function () {
14063
- return this.updateGridActionsSubject.asObservable();
14063
+ GridService.prototype.onReloadGridActions = function () {
14064
+ return this.reloadGridActionsSubject.asObservable();
14064
14065
  };
14065
14066
  /**
14066
14067
  * @deprecated use selectRows instead
@@ -16894,7 +16895,7 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
16894
16895
  });
16895
16896
  this.registerGroupListeners();
16896
16897
  this.subscribeRowsSelectionData();
16897
- this.subscribeUpdateGridActions();
16898
+ this.subscribeReloadGridActions();
16898
16899
  };
16899
16900
  DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
16900
16901
  var _this = this;
@@ -17162,9 +17163,9 @@ var DatoGridV2ToolbarComponent = /** @class */ (function () {
17162
17163
  _this.cdr.detectChanges();
17163
17164
  });
17164
17165
  };
17165
- DatoGridV2ToolbarComponent.prototype.subscribeUpdateGridActions = function () {
17166
+ DatoGridV2ToolbarComponent.prototype.subscribeReloadGridActions = function () {
17166
17167
  var _this = this;
17167
- this.gridService.getUpdateGridActionsStatus().subscribe(function () {
17168
+ this.gridService.onReloadGridActions().subscribe(function () {
17168
17169
  _this.initGridActions();
17169
17170
  });
17170
17171
  };