@datorama/core 22.12.1-beta.4 → 22.12.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/bundle.scss +0 -4
- 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/esm2015/lib/grid-v2/grid/grid-v2.component.js +2 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.config.js +2 -2
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +6 -5
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid/grid-v2.component.js +2 -2
- package/esm5/lib/grid-v2/grid/grid-v2.config.js +2 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-store/grid.service.js +6 -5
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/version.js +2 -2
- 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/grid-v2.types.d.ts +1 -1
- package/package.json +1 -1
package/bundle.scss
CHANGED
|
@@ -14320,10 +14320,6 @@ dato-input input:disabled:hover {
|
|
|
14320
14320
|
*/
|
|
14321
14321
|
}
|
|
14322
14322
|
|
|
14323
|
-
.dato-grid.pivot-style .ag-row.ag-row-group .bottom-border {
|
|
14324
|
-
border-bottom: 1px solid themify(primary-200);
|
|
14325
|
-
}
|
|
14326
|
-
|
|
14327
14323
|
.dato-grid.pivot-style .ag-row.ag-row-group:not(.ag-row-hover) {
|
|
14328
14324
|
background-color: themify(primary-50);
|
|
14329
14325
|
}
|
|
@@ -13736,7 +13736,7 @@
|
|
|
13736
13736
|
type: exports.DatoGridColumnTypes.String,
|
|
13737
13737
|
menuTabs: ['filterMenuTab'],
|
|
13738
13738
|
headerComponentFramework: DatoGridColumnHeaderComponent
|
|
13739
|
-
}, suppressCellSelection: true, suppressPropertyNamesCheck: true, rowHeight: 35, headerHeight: 30, rowSelection: exports.GridRowSelectionType.MULTIPLE, rowDeselection: true, unSortIcon: true, animateRows: true, rememberGroupStateWhenNewData: true, groupMultiAutoColumn: true, groupDefaultExpanded: -1,
|
|
13739
|
+
}, suppressCellSelection: true, suppressPropertyNamesCheck: true, rowHeight: 35, headerHeight: 30, rowSelection: exports.GridRowSelectionType.MULTIPLE, rowDeselection: true, unSortIcon: true, animateRows: true, rememberGroupStateWhenNewData: true, groupMultiAutoColumn: true, groupDefaultExpanded: -1, usePivotGridStyle: false }, (isTestEnv() ? { suppressColumnVirtualisation: true, rowBuffer: 99999 } : {}));
|
|
13740
13740
|
var DEFAULT_GRID_SEARCH_DEBOUNCE_TIME = {
|
|
13741
13741
|
CLIENT: 200,
|
|
13742
13742
|
SERVER: 250
|
|
@@ -14355,10 +14355,11 @@
|
|
|
14355
14355
|
this.initPivotSecondaryColsProcess(params);
|
|
14356
14356
|
params.gridOptions.saveSettings = false;
|
|
14357
14357
|
}
|
|
14358
|
-
if (params.gridOptions.
|
|
14359
|
-
|
|
14358
|
+
if (params.gridOptions.usePivotGridStyle) {
|
|
14359
|
+
var rowHeight_1 = 30;
|
|
14360
|
+
params.gridOptions.rowHeight = rowHeight_1;
|
|
14360
14361
|
params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this), cellStyle: function (params) {
|
|
14361
|
-
var style = { lineHeight:
|
|
14362
|
+
var style = { lineHeight: rowHeight_1 + "px" };
|
|
14362
14363
|
if (params.colDef.type === exports.DatoGridColumnTypes.Number) {
|
|
14363
14364
|
style.textAlign = 'end';
|
|
14364
14365
|
}
|
|
@@ -14651,7 +14652,7 @@
|
|
|
14651
14652
|
}
|
|
14652
14653
|
this.updateSettings({ sort: sortToApply });
|
|
14653
14654
|
this.api.grid.setSortModel([sortToApply]);
|
|
14654
|
-
if (this.gridRef.gridOptions.
|
|
14655
|
+
if (this.gridRef.gridOptions.usePivotGridStyle) {
|
|
14655
14656
|
this.api.grid.redrawRows();
|
|
14656
14657
|
}
|
|
14657
14658
|
}
|
|
@@ -16201,7 +16202,7 @@
|
|
|
16201
16202
|
});
|
|
16202
16203
|
Object.defineProperty(DatoGridV2Component.prototype, "isPivotStyle", {
|
|
16203
16204
|
get: function () {
|
|
16204
|
-
return this.gridOptions
|
|
16205
|
+
return this.gridOptions && this.gridOptions.usePivotGridStyle;
|
|
16205
16206
|
},
|
|
16206
16207
|
enumerable: true,
|
|
16207
16208
|
configurable: true
|
|
@@ -25627,7 +25628,7 @@
|
|
|
25627
25628
|
};
|
|
25628
25629
|
}
|
|
25629
25630
|
|
|
25630
|
-
window.coreVersion = '22.12.
|
|
25631
|
+
window.coreVersion = '22.12.1';
|
|
25631
25632
|
|
|
25632
25633
|
exports.APP_TRANSLATE = APP_TRANSLATE;
|
|
25633
25634
|
exports.AceService = AceService;
|