autoql-fe-utils 1.11.0 → 1.11.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/dist/index.global.js +10 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -17301,6 +17301,16 @@
|
|
|
17301
17301
|
columnIndexConfig.numberColumnIndices2 = numberColumnIndices2;
|
|
17302
17302
|
columnIndexConfig.numberColumnIndex2 = numberColumnIndex2;
|
|
17303
17303
|
}
|
|
17304
|
+
if (usePivotData && isNumber(columnIndexConfig.legendColumnIndex) && isNumber(columnIndexConfig.numberColumnIndex) && columnIndexConfig.legendColumnIndex === columnIndexConfig.numberColumnIndex) {
|
|
17305
|
+
console.debug(
|
|
17306
|
+
"Table config invalid: legendColumnIndex and numberColumnIndex are the same.",
|
|
17307
|
+
{
|
|
17308
|
+
legendColumnIndex: columnIndexConfig.legendColumnIndex,
|
|
17309
|
+
numberColumnIndex: columnIndexConfig.numberColumnIndex
|
|
17310
|
+
}
|
|
17311
|
+
);
|
|
17312
|
+
return false;
|
|
17313
|
+
}
|
|
17304
17314
|
return true;
|
|
17305
17315
|
} catch (error) {
|
|
17306
17316
|
console.debug("Saved table config was not valid for response:", error == null ? void 0 : error.message);
|
|
@@ -20481,8 +20491,6 @@
|
|
|
20481
20491
|
if (maxElements && aggregatedData.length > maxElements) {
|
|
20482
20492
|
aggregatedData = aggregateOtherCategory(aggregatedData, columnIndexConfig, maxElements);
|
|
20483
20493
|
}
|
|
20484
|
-
if (useBuckets) {
|
|
20485
|
-
}
|
|
20486
20494
|
aggregatedData = sortDataByColumn(aggregatedData, columns, aggColumn, "asc");
|
|
20487
20495
|
return aggregatedData;
|
|
20488
20496
|
};
|