@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.cjs CHANGED
@@ -843,7 +843,7 @@ function parseChartPointDataLabelsFromXml(labelsNode) {
843
843
  continue;
844
844
  }
845
845
  const layoutNode = getFirstLocalChild(pointLabelNode, "layout");
846
- const manualLayoutNode = getFirstLocalChild(layoutNode, "manualLayout");
846
+ const manualLayoutNode = layoutNode ? getFirstLocalChild(layoutNode, "manualLayout") : null;
847
847
  labels.push({
848
848
  deleted: readChartBooleanAttribute(pointLabelNode, "delete"),
849
849
  fontSizePt: readChartLabelFontSizePt(getFirstLocalChild(pointLabelNode, "txPr")) ?? fallbackFontSizePt,