autoql-fe-utils 1.10.19 → 1.10.21
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.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.global.js +5 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1441,6 +1441,7 @@ __export(index_exports, {
|
|
|
1441
1441
|
mergeBoundingClientRects: () => mergeBoundingClientRects,
|
|
1442
1442
|
mergeSources: () => mergeSources,
|
|
1443
1443
|
nameValueObject: () => nameValueObject,
|
|
1444
|
+
normalizeColumnIdentifier: () => normalizeColumnIdentifier,
|
|
1444
1445
|
normalizeString: () => normalizeString,
|
|
1445
1446
|
numberIndicesArraysOverlap: () => numberIndicesArraysOverlap,
|
|
1446
1447
|
numberSortFn: () => numberSortFn,
|
|
@@ -1923,7 +1924,7 @@ var MONTH_NAMES = [
|
|
|
1923
1924
|
];
|
|
1924
1925
|
var DEFAULT_DATA_PAGE_SIZE = 5e4;
|
|
1925
1926
|
var MAX_DATA_PAGE_SIZE = 5e4;
|
|
1926
|
-
var MAX_CHART_ELEMENTS =
|
|
1927
|
+
var MAX_CHART_ELEMENTS = 2e3;
|
|
1927
1928
|
var WEEKDAY_NAMES_MON = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
|
|
1928
1929
|
var WEEKDAY_NAMES_SUN = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
|
|
1929
1930
|
var DOW_STYLES = ["NUM_1_MON", "NUM_1_SUN", "NUM_0_MON", "NUM_0_SUN", "ALPHA_MON", "ALPHA_SUN"];
|
|
@@ -3789,6 +3790,10 @@ var hasDateColumn = (columns) => {
|
|
|
3789
3790
|
var getVisibleColumns = (columns) => {
|
|
3790
3791
|
return columns == null ? void 0 : columns.filter((col) => col == null ? void 0 : col.is_visible);
|
|
3791
3792
|
};
|
|
3793
|
+
var normalizeColumnIdentifier = (colLike) => {
|
|
3794
|
+
const candidate = typeof colLike === "string" ? colLike : (colLike == null ? void 0 : colLike.display_name) || (colLike == null ? void 0 : colLike.name) || (colLike == null ? void 0 : colLike.table_column) || "";
|
|
3795
|
+
return String(candidate).trim().toLowerCase();
|
|
3796
|
+
};
|
|
3792
3797
|
var getHiddenColumns = (columns) => {
|
|
3793
3798
|
return columns == null ? void 0 : columns.filter((col) => !col.is_visible);
|
|
3794
3799
|
};
|
|
@@ -13294,6 +13299,7 @@ function color() {
|
|
|
13294
13299
|
mergeBoundingClientRects,
|
|
13295
13300
|
mergeSources,
|
|
13296
13301
|
nameValueObject,
|
|
13302
|
+
normalizeColumnIdentifier,
|
|
13297
13303
|
normalizeString,
|
|
13298
13304
|
numberIndicesArraysOverlap,
|
|
13299
13305
|
numberSortFn,
|