@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.
- package/bundles/datorama-core.umd.js +8 -7
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +2 -2
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +7 -6
- package/esm2015/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +4 -4
- package/esm5/lib/grid-v2/grid-store/grid.service.js +7 -6
- package/esm5/lib/grid-v2/grid-toolbar/grid-toolbar.component.js +4 -4
- package/fesm2015/datorama-core.js +8 -7
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +8 -7
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid-store/grid.service.d.ts +3 -3
- package/lib/grid-v2/grid-toolbar/grid-toolbar.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
14259
|
-
this.
|
|
14259
|
+
GridService.prototype.reloadGridActions = function () {
|
|
14260
|
+
this.reloadGridActionsSubject.next();
|
|
14260
14261
|
};
|
|
14261
|
-
GridService.prototype.
|
|
14262
|
-
return this.
|
|
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.
|
|
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.
|
|
17365
|
+
DatoGridV2ToolbarComponent.prototype.subscribeReloadGridActions = function () {
|
|
17365
17366
|
var _this = this;
|
|
17366
|
-
this.gridService.
|
|
17367
|
+
this.gridService.onReloadGridActions().subscribe(function () {
|
|
17367
17368
|
_this.initGridActions();
|
|
17368
17369
|
});
|
|
17369
17370
|
};
|