autoql-fe-utils 1.10.20 → 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.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,
@@ -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,