autoql-fe-utils 1.0.115 → 1.0.116

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.
@@ -16464,7 +16464,10 @@
16464
16464
  );
16465
16465
  return false;
16466
16466
  }
16467
- if (numberIndicesArraysOverlap(columnIndexConfig)) {
16467
+ if (displayType === "scatterplot" /* SCATTERPLOT */ && columnIndexConfig.numberColumnIndex === columnIndexConfig.numberColumnIndex2) {
16468
+ console.debug("Both x and y axes reference the same number column index");
16469
+ return false;
16470
+ } else if (numberIndicesArraysOverlap(columnIndexConfig)) {
16468
16471
  console.debug("Both axes reference one or more of the same number column index");
16469
16472
  return false;
16470
16473
  }
@@ -28798,11 +28801,7 @@
28798
28801
  if (!domain || !apiKey || !token) {
28799
28802
  return Promise.reject(new Error("Unauthenticated"));
28800
28803
  }
28801
- let url2 = `${domain}/autoql/api/v1/query/vlsubjects?text=${encodeURIComponent(suggestion)}&key=${apiKey}`;
28802
- const timezone2 = getCurrentTimezone();
28803
- if (timezone2) {
28804
- url2 = `${url2}&time_zone=${timezone2}`;
28805
- }
28804
+ const url2 = `${domain}/autoql/api/v1/query/vlsubjects?text=${encodeURIComponent(suggestion)}&key=${apiKey}`;
28806
28805
  const config = {
28807
28806
  headers: {
28808
28807
  Authorization: `Bearer ${token}`
@@ -28996,7 +28995,8 @@
28996
28995
  subject,
28997
28996
  page_size: numRows,
28998
28997
  source,
28999
- date_format: "ISO8601"
28998
+ date_format: "ISO8601",
28999
+ time_zone: getCurrentTimezone()
29000
29000
  };
29001
29001
  return axios_default.post(url2, data, config).then((response) => Promise.resolve(response)).catch((error) => Promise.reject(error));
29002
29002
  };