autoql-fe-utils 1.0.80 → 1.0.82

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.ts CHANGED
@@ -1219,7 +1219,7 @@ declare const runQueryValidation: ({ text, domain, apiKey, token, cancelToken, }
1219
1219
  token?: string;
1220
1220
  cancelToken?: any;
1221
1221
  }) => Promise<axios.AxiosResponse<any, any>>;
1222
- declare const runQuery: ({ query, userSelection, userSelectionFinal, debug, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, enableQueryValidation, skipQueryValidation, scope, }?: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any>>;
1222
+ declare const runQuery: ({ query, userSelection, userSelectionFinal, debug, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, enableQueryValidation, skipQueryValidation, scope, newColumns, }?: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any>>;
1223
1223
  declare const exportCSV: ({ queryId, domain, apiKey, token, csvProgressCallback, }?: {
1224
1224
  queryId?: string;
1225
1225
  domain?: string;
@@ -14836,7 +14836,7 @@
14836
14836
  if (amountOfStringColumns >= 1 || allowNumericStringColumns && amountOfNumberColumns >= 2) {
14837
14837
  supportedDisplayTypes.push("column");
14838
14838
  supportedDisplayTypes.push("bar");
14839
- if (hasDateColumn(visibleColumns)) {
14839
+ if (hasDateColumn(visibleColumns) || amountOfNumberColumns > 1) {
14840
14840
  supportedDisplayTypes.push("line");
14841
14841
  }
14842
14842
  if (numRows > 1) {
@@ -18925,7 +18925,7 @@
18925
18925
  const column = columns[index];
18926
18926
  if (column.visible || column.is_visible) {
18927
18927
  const rawValue = row[index];
18928
- if (rawValue == void 0 || rawValue == null || rawValue == "") {
18928
+ if (rawValue === void 0 || rawValue === null || rawValue === "") {
18929
18929
  return;
18930
18930
  }
18931
18931
  let value = rawValue;
@@ -27899,7 +27899,8 @@
27899
27899
  cancelToken,
27900
27900
  enableQueryValidation,
27901
27901
  skipQueryValidation,
27902
- scope = "null"
27902
+ scope = "null",
27903
+ newColumns
27903
27904
  } = {}) => {
27904
27905
  if (enableQueryValidation && !(userSelection == null ? void 0 : userSelection.length) && !skipQueryValidation) {
27905
27906
  try {
@@ -27939,7 +27940,8 @@
27939
27940
  pageSize,
27940
27941
  allowSuggestions,
27941
27942
  cancelToken,
27942
- scope
27943
+ scope,
27944
+ newColumns
27943
27945
  });
27944
27946
  };
27945
27947
  var exportCSV = ({