@datorama/core 22.13.0-beta.10 → 22.13.0-beta.11
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 +55 -13
- package/bundles/datorama-core.umd.js +31 -2
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +1 -1
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid/grid/grid.component.js +33 -3
- package/esm5/lib/grid/grid/grid.component.js +33 -3
- package/fesm2015/datorama-core.js +31 -2
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +31 -2
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -5708,7 +5708,35 @@ var DatoGridComponent = /** @class */ (function (_super) {
|
|
|
5708
5708
|
rowDeselection: true,
|
|
5709
5709
|
unSortIcon: true,
|
|
5710
5710
|
animateRows: true,
|
|
5711
|
-
rememberGroupStateWhenNewData: true
|
|
5711
|
+
rememberGroupStateWhenNewData: true,
|
|
5712
|
+
getContextMenuItems: function (params) {
|
|
5713
|
+
return [
|
|
5714
|
+
{
|
|
5715
|
+
name: 'Copy',
|
|
5716
|
+
action: function () {
|
|
5717
|
+
var value = params.value;
|
|
5718
|
+
copyToClipboard(value);
|
|
5719
|
+
}
|
|
5720
|
+
},
|
|
5721
|
+
{
|
|
5722
|
+
name: 'Copy with Headers',
|
|
5723
|
+
action: function () {
|
|
5724
|
+
var value = params.value;
|
|
5725
|
+
var headerName = params.column.getColDef().headerName;
|
|
5726
|
+
copyToClipboard(headerName + "\n" + value);
|
|
5727
|
+
}
|
|
5728
|
+
},
|
|
5729
|
+
{
|
|
5730
|
+
name: 'Paste',
|
|
5731
|
+
action: function () {
|
|
5732
|
+
//
|
|
5733
|
+
},
|
|
5734
|
+
disabled: true
|
|
5735
|
+
},
|
|
5736
|
+
'separator',
|
|
5737
|
+
'export'
|
|
5738
|
+
];
|
|
5739
|
+
}
|
|
5712
5740
|
};
|
|
5713
5741
|
_this.infinitePagination = false;
|
|
5714
5742
|
_this.isRowsCollapsed = true;
|
|
@@ -5756,7 +5784,8 @@ var DatoGridComponent = /** @class */ (function (_super) {
|
|
|
5756
5784
|
this.gridColumnApi = event.columnApi;
|
|
5757
5785
|
if (this.gridColumnApi.getRowGroupColumns().length >= 1) {
|
|
5758
5786
|
this.gridComponent.rowGroupOpened.pipe(untilDestroyed(this)).subscribe(function (event) { return _this.rowGroupStateChange(event); });
|
|
5759
|
-
this.paginationComponent
|
|
5787
|
+
this.paginationComponent &&
|
|
5788
|
+
this.paginationComponent.toggleRowGroup.pipe(untilDestroyed(this)).subscribe(function () { return _this.toggleCollapseState(); });
|
|
5760
5789
|
}
|
|
5761
5790
|
this.cdr.detectChanges();
|
|
5762
5791
|
this.gridReady.emit(event);
|