@datorama/core 22.7.0 → 22.7.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 +5 -4
- 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-store/grid.service.js +5 -4
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +5 -4
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +5 -4
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +5 -4
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -14272,9 +14272,10 @@ var GridService = /** @class */ (function () {
|
|
|
14272
14272
|
if (!isNil(sortIndex)) {
|
|
14273
14273
|
var gridColumns = this.api.columns.getAllGridColumns();
|
|
14274
14274
|
if (gridColumns) {
|
|
14275
|
-
var
|
|
14276
|
-
var
|
|
14277
|
-
|
|
14275
|
+
var valueColumns = this.api.columns.getValueColumns();
|
|
14276
|
+
var valueColumn = valueColumns.find(function (col) { return col.getColId() === colId_1; });
|
|
14277
|
+
var isPivotColId = colId_1.startsWith('pivot');
|
|
14278
|
+
if (isPivotColId || valueColumn) {
|
|
14278
14279
|
/** Column is pivot value column, sort by index */
|
|
14279
14280
|
var columnByIndex = gridColumns[sortIndex];
|
|
14280
14281
|
if (columnByIndex) {
|
|
@@ -25236,7 +25237,7 @@ function fixNgLeaks() {
|
|
|
25236
25237
|
};
|
|
25237
25238
|
}
|
|
25238
25239
|
|
|
25239
|
-
window.coreVersion = '22.7.
|
|
25240
|
+
window.coreVersion = '22.7.1';
|
|
25240
25241
|
|
|
25241
25242
|
/**
|
|
25242
25243
|
* @license
|