@datorama/core 22.13.0-beta.8 → 22.13.0-beta.9

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/bundle.scss CHANGED
@@ -15219,10 +15219,6 @@ dato-input input:disabled:hover {
15219
15219
  background-color: themify(primary-100);
15220
15220
  }
15221
15221
 
15222
- .dato-grid.pivot-style .ag-cell {
15223
- color: themify(primary-500);
15224
- }
15225
-
15226
15222
  .dato-grid.pivot-style .ag-cell .ag-row-group-leaf-indent {
15227
15223
  margin: 0 !important;
15228
15224
  }
@@ -15240,10 +15236,6 @@ dato-input input:disabled:hover {
15240
15236
  height: inherit;
15241
15237
  }
15242
15238
 
15243
- .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div span {
15244
- color: themify(primary-500);
15245
- }
15246
-
15247
15239
  .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell.top-border {
15248
15240
  border-top: 1px solid themify(primary-200);
15249
15241
  }
@@ -15268,7 +15260,6 @@ dato-input input:disabled:hover {
15268
15260
 
15269
15261
  .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
15270
15262
  height: auto;
15271
- color: themify(primary-500);
15272
15263
  }
15273
15264
 
15274
15265
  .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
@@ -14212,6 +14212,7 @@
14212
14212
  this.logger = logger;
14213
14213
  this.treeConfig = defaultGridTreeLabel;
14214
14214
  this.pageNumberToReturnAfterRefresh = -1;
14215
+ this.reloadGridActionsSubject = new rxjs.Subject();
14215
14216
  this.CHECKBOX_SELECTION_COL_ID = 'grid-checkbox-selection';
14216
14217
  }
14217
14218
  Object.defineProperty(GridService.prototype, "treeData", {
@@ -14244,6 +14245,12 @@
14244
14245
  ? context
14245
14246
  : deepmerge(this.gridRef.gridOptions.context || {}, context);
14246
14247
  };
14248
+ GridService.prototype.reloadGridActions = function () {
14249
+ this.reloadGridActionsSubject.next();
14250
+ };
14251
+ GridService.prototype.onReloadGridActions = function () {
14252
+ return this.reloadGridActionsSubject.asObservable();
14253
+ };
14247
14254
  /**
14248
14255
  * @deprecated use selectRows instead
14249
14256
  * @param row
@@ -17079,6 +17086,7 @@
17079
17086
  });
17080
17087
  this.registerGroupListeners();
17081
17088
  this.subscribeRowsSelectionData();
17089
+ this.subscribeReloadGridActions();
17082
17090
  };
17083
17091
  DatoGridV2ToolbarComponent.prototype.onActionClick = function (action) {
17084
17092
  if (isFunction(action.onClick)) {
@@ -17334,6 +17342,12 @@
17334
17342
  _this.cdr.detectChanges();
17335
17343
  });
17336
17344
  };
17345
+ DatoGridV2ToolbarComponent.prototype.subscribeReloadGridActions = function () {
17346
+ var _this = this;
17347
+ this.gridService.onReloadGridActions().subscribe(function () {
17348
+ _this.initGridActions();
17349
+ });
17350
+ };
17337
17351
  DatoGridV2ToolbarComponent.prototype.selectAllPages = function () {
17338
17352
  if (this.gridQuery.isServerSide) {
17339
17353
  this.gridService.setServerSidePagination({ selectAllRowsEnabled: true, excludedFromSelectAll: [] });