autoql-fe-utils 1.0.39 → 1.0.40

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
@@ -550,7 +550,6 @@ interface TransformedAxiosResponse {
550
550
  }
551
551
  interface TransformedQueryResponse extends QueryResponse {
552
552
  originalQueryID?: string;
553
- isDrilldown?: boolean;
554
553
  queryFn?: Function;
555
554
  }
556
555
  interface DataFormatting {
@@ -1441,12 +1440,7 @@ declare const getAxis: ({ orient, scale, innerWidth, innerHeight, maxLabelWidth,
1441
1440
  innerHeight?: number;
1442
1441
  maxLabelWidth?: number;
1443
1442
  }) => any;
1444
- declare const getLabelsBBox: (axisElement: any) => {
1445
- left: any;
1446
- bottom: any;
1447
- right: any;
1448
- top: any;
1449
- };
1443
+ declare const getLabelsBBox: (axisElement: any) => {};
1450
1444
  declare const adjustBottomTitleToFit: (titleElement: any, { labelsBBox, innerWidth, outerWidth, deltaX, chartPadding, }?: {
1451
1445
  labelsBBox?: any;
1452
1446
  innerWidth?: number;
@@ -2101,7 +2095,7 @@ declare const getQueryFn: (response: TransformedAxiosResponse | undefined) => ({
2101
2095
  formattedTableParams: any;
2102
2096
  clickedFilter: any;
2103
2097
  }) => any;
2104
- declare const transformQueryResponse: (response: AxiosResponse | undefined, originalQueryID?: string, isDrilldown?: boolean) => TransformedAxiosResponse;
2098
+ declare const transformQueryResponse: (response: AxiosResponse | undefined, originalQueryID?: string) => TransformedAxiosResponse;
2105
2099
  declare const transformQueryResponseColumns: (response: AxiosResponse) => Column[];
2106
2100
 
2107
2101
  declare enum ThemeType {
@@ -16026,7 +16026,7 @@
16026
16026
  });
16027
16027
  } else {
16028
16028
  columns.forEach((col, index) => {
16029
- if (index !== multiSeriesIndex && col.is_visible) {
16029
+ if (index !== multiSeriesIndex && col.is_visible && (includeNumerics || !isColumnNumberType(col))) {
16030
16030
  stringColumnIndices.push(index);
16031
16031
  }
16032
16032
  });
@@ -23474,12 +23474,7 @@
23474
23474
  return axis2;
23475
23475
  };
23476
23476
  var getLabelsBBox = (axisElement) => {
23477
- let labelsBBox = {
23478
- left: null,
23479
- bottom: null,
23480
- right: null,
23481
- top: null
23482
- };
23477
+ let labelsBBox = {};
23483
23478
  if (axisElement) {
23484
23479
  const axisBBox = axisElement.getBBox ? axisElement.getBBox() : void 0;
23485
23480
  const axisBoundingRect = axisElement.getBoundingClientRect ? axisElement.getBoundingClientRect() : void 0;
@@ -23501,12 +23496,7 @@
23501
23496
  });
23502
23497
  if (labelBboxes) {
23503
23498
  const allLabelsBbox = mergeBoundingClientRects(labelBboxes);
23504
- labelsBBox = {
23505
- left: allLabelsBbox.x,
23506
- top: allLabelsBbox.y,
23507
- right: allLabelsBbox.x + allLabelsBbox.width,
23508
- bottom: allLabelsBbox.y + allLabelsBbox.height
23509
- };
23499
+ labelsBBox = { ...allLabelsBbox };
23510
23500
  }
23511
23501
  }
23512
23502
  return labelsBBox;