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.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.global.js +4 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3285,6 +3285,10 @@ var hasDateColumn = (columns) => {
|
|
|
3285
3285
|
var getVisibleColumns = (columns) => {
|
|
3286
3286
|
return columns == null ? void 0 : columns.filter((col) => col == null ? void 0 : col.is_visible);
|
|
3287
3287
|
};
|
|
3288
|
+
var normalizeColumnIdentifier = (colLike) => {
|
|
3289
|
+
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) || "";
|
|
3290
|
+
return String(candidate).trim().toLowerCase();
|
|
3291
|
+
};
|
|
3288
3292
|
var getHiddenColumns = (columns) => {
|
|
3289
3293
|
return columns == null ? void 0 : columns.filter((col) => !col.is_visible);
|
|
3290
3294
|
};
|
|
@@ -12789,6 +12793,7 @@ export {
|
|
|
12789
12793
|
mergeBoundingClientRects,
|
|
12790
12794
|
mergeSources,
|
|
12791
12795
|
nameValueObject,
|
|
12796
|
+
normalizeColumnIdentifier,
|
|
12792
12797
|
normalizeString,
|
|
12793
12798
|
numberIndicesArraysOverlap,
|
|
12794
12799
|
numberSortFn,
|