@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
package/fesm5/datorama-core.js
CHANGED
|
@@ -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.
|
|
14060
|
-
this.
|
|
14060
|
+
GridService.prototype.reloadGridActions = function () {
|
|
14061
|
+
this.reloadGridActionsSubject.next();
|
|
14061
14062
|
};
|
|
14062
|
-
GridService.prototype.
|
|
14063
|
-
return this.
|
|
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.
|
|
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.
|
|
17166
|
+
DatoGridV2ToolbarComponent.prototype.subscribeReloadGridActions = function () {
|
|
17166
17167
|
var _this = this;
|
|
17167
|
-
this.gridService.
|
|
17168
|
+
this.gridService.onReloadGridActions().subscribe(function () {
|
|
17168
17169
|
_this.initGridActions();
|
|
17169
17170
|
});
|
|
17170
17171
|
};
|