@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.
@@ -14223,6 +14223,7 @@
14223
14223
  this.logger = logger;
14224
14224
  this.treeConfig = defaultGridTreeLabel;
14225
14225
  this.pageNumberToReturnAfterRefresh = -1;
14226
+ this.reloadGridActionsSubject = new rxjs.Subject();
14226
14227
  this.CHECKBOX_SELECTION_COL_ID = 'grid-checkbox-selection';
14227
14228
  }
14228
14229
  Object.defineProperty(GridService.prototype, "treeData", {
@@ -14255,11 +14256,11 @@
14255
14256
  ? context
14256
14257
  : deepmerge(this.gridRef.gridOptions.context || {}, context);
14257
14258
  };
14258
- GridService.prototype.updateGridActions = function () {
14259
- this.updateGridActionsSubject.next(true);
14259
+ GridService.prototype.reloadGridActions = function () {
14260
+ this.reloadGridActionsSubject.next();
14260
14261
  };
14261
- GridService.prototype.getUpdateGridActionsStatus = function () {
14262
- return this.updateGridActionsSubject.asObservable();
14262
+ GridService.prototype.onReloadGridActions = function () {
14263
+ return this.reloadGridActionsSubject.asObservable();
14263
14264
  };
14264
14265
  /**
14265
14266
  * @deprecated use selectRows instead
@@ -17093,7 +17094,7 @@
17093
17094
  });
17094
17095
  this.registerGroupListeners();
17095
17096
  this.subscribeRowsSelectionData();
17096
- this.subscribeUpdateGridActions();
17097
+ this.subscribeReloadGridActions();
17097
17098
  };
17098
17099
  DatoGridV2ToolbarComponent.prototype.getCellValueChangeEvent = function () {
17099
17100
  var _this = this;
@@ -17361,9 +17362,9 @@
17361
17362
  _this.cdr.detectChanges();
17362
17363
  });
17363
17364
  };
17364
- DatoGridV2ToolbarComponent.prototype.subscribeUpdateGridActions = function () {
17365
+ DatoGridV2ToolbarComponent.prototype.subscribeReloadGridActions = function () {
17365
17366
  var _this = this;
17366
- this.gridService.getUpdateGridActionsStatus().subscribe(function () {
17367
+ this.gridService.onReloadGridActions().subscribe(function () {
17367
17368
  _this.initGridActions();
17368
17369
  });
17369
17370
  };