@extend-ai/react-xlsx 0.13.1 → 0.13.2

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
@@ -793,7 +793,7 @@ function parseChartPointDataLabelsFromXml(labelsNode) {
793
793
  continue;
794
794
  }
795
795
  const layoutNode = getFirstLocalChild(pointLabelNode, "layout");
796
- const manualLayoutNode = getFirstLocalChild(layoutNode, "manualLayout");
796
+ const manualLayoutNode = layoutNode ? getFirstLocalChild(layoutNode, "manualLayout") : null;
797
797
  labels.push({
798
798
  deleted: readChartBooleanAttribute(pointLabelNode, "delete"),
799
799
  fontSizePt: readChartLabelFontSizePt(getFirstLocalChild(pointLabelNode, "txPr")) ?? fallbackFontSizePt,