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.js CHANGED
@@ -3423,7 +3423,7 @@ var getStringColumnIndices = (columns, supportsPivot = false, includeNumerics =
3423
3423
  });
3424
3424
  } else {
3425
3425
  columns.forEach((col, index) => {
3426
- if (index !== multiSeriesIndex && col.is_visible) {
3426
+ if (index !== multiSeriesIndex && col.is_visible && (includeNumerics || !isColumnNumberType(col))) {
3427
3427
  stringColumnIndices.push(index);
3428
3428
  }
3429
3429
  });
@@ -7467,12 +7467,7 @@ var getAxis = ({
7467
7467
  return axis;
7468
7468
  };
7469
7469
  var getLabelsBBox = (axisElement) => {
7470
- let labelsBBox = {
7471
- left: null,
7472
- bottom: null,
7473
- right: null,
7474
- top: null
7475
- };
7470
+ let labelsBBox = {};
7476
7471
  if (axisElement) {
7477
7472
  const axisBBox = axisElement.getBBox ? axisElement.getBBox() : void 0;
7478
7473
  const axisBoundingRect = axisElement.getBoundingClientRect ? axisElement.getBoundingClientRect() : void 0;
@@ -7494,12 +7489,7 @@ var getLabelsBBox = (axisElement) => {
7494
7489
  });
7495
7490
  if (labelBboxes) {
7496
7491
  const allLabelsBbox = mergeBoundingClientRects(labelBboxes);
7497
- labelsBBox = {
7498
- left: allLabelsBbox.x,
7499
- top: allLabelsBbox.y,
7500
- right: allLabelsBbox.x + allLabelsBbox.width,
7501
- bottom: allLabelsBbox.y + allLabelsBbox.height
7502
- };
7492
+ labelsBBox = { ...allLabelsBbox };
7503
7493
  }
7504
7494
  }
7505
7495
  return labelsBBox;