pptxgenjs-plus 4.3.4 → 4.3.5

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.
@@ -1,4 +1,4 @@
1
- /* PptxGenJS 4.3.4 @ 2026-09-24T17:18:00.535Z */
1
+ /* PptxGenJS 4.3.5 @ 2026-10-31T02:02:20.255Z */
2
2
 
3
3
  "use strict";
4
4
  const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
@@ -8500,7 +8500,7 @@ function makeChartType(chartType, data, opts, valAxisId, catAxisId, _isMultiType
8500
8500
  strXml += ' <a:p>';
8501
8501
  strXml += ' <a:pPr>';
8502
8502
  strXml += ` <a:defRPr sz="${Math.round((opts.dataLabelFontSize || (/* inlined export .DEF_FONT_SIZE */12)) * 100)}" b="${opts.dataLabelFontBold ? '1' : '0'}" i="${opts.dataLabelFontItalic ? '1' : '0'}" u="none" strike="noStrike">`;
8503
- strXml += ` <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="${encodeXmlEntities(opts.dataLabelFontFace) || 'Arial'}"/>`;
8503
+ strXml += ` <a:solidFill>${createColorElement(opts.dataLabelColor || (/* inlined export .DEF_FONT_COLOR */"000000"))}</a:solidFill><a:latin typeface="${encodeXmlEntities(opts.dataLabelFontFace) || 'Arial'}"/>`;
8504
8504
  strXml += ' </a:defRPr>';
8505
8505
  strXml += ' </a:pPr>';
8506
8506
  strXml += ' </a:p>';
@@ -8715,7 +8715,7 @@ function makeNumberStyles(formats) {
8715
8715
  {
8716
8716
  let strTableXml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
8717
8717
  if (chartObject.opts._type === core_enums_CHART_TYPE.BUBBLE || chartObject.opts._type === core_enums_CHART_TYPE.BUBBLE3D) {
8718
- strTableXml += `<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:${getExcelColName(intBubbleCols)}${intBubbleCols}" totalsRowShown="0">`;
8718
+ strTableXml += `<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:${getExcelColName(intBubbleCols)}${firstDataValues.length + 1}" totalsRowShown="0">`;
8719
8719
  strTableXml += `<tableColumns count="${intBubbleCols}">`;
8720
8720
  let idxColLtr = 1;
8721
8721
  data.forEach((obj, idx)=>{
@@ -23920,7 +23920,7 @@ class PptxGenJS {
23920
23920
  */ pptxgen_define_property(this, "_layout", void 0);
23921
23921
  /**
23922
23922
  * PptxGenJS Library Version
23923
- */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.4"));
23923
+ */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.5"));
23924
23924
  /**
23925
23925
  * @type {string}
23926
23926
  */ pptxgen_define_property(this, "_author", void 0);
@@ -1,4 +1,4 @@
1
- /* PptxGenJS 4.3.4 @ 2026-09-24T17:18:00.535Z */
1
+ /* PptxGenJS 4.3.5 @ 2026-10-31T02:02:20.255Z */
2
2
 
3
3
  import { JSZip } from "@node-projects/jszip";
4
4
  import { parseXml } from "@rgrove/parse-xml";
@@ -8450,7 +8450,7 @@ function makeChartType(chartType, data, opts, valAxisId, catAxisId, _isMultiType
8450
8450
  strXml += ' <a:p>';
8451
8451
  strXml += ' <a:pPr>';
8452
8452
  strXml += ` <a:defRPr sz="${Math.round((opts.dataLabelFontSize || (/* inlined export .DEF_FONT_SIZE */12)) * 100)}" b="${opts.dataLabelFontBold ? '1' : '0'}" i="${opts.dataLabelFontItalic ? '1' : '0'}" u="none" strike="noStrike">`;
8453
- strXml += ` <a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:latin typeface="${encodeXmlEntities(opts.dataLabelFontFace) || 'Arial'}"/>`;
8453
+ strXml += ` <a:solidFill>${createColorElement(opts.dataLabelColor || (/* inlined export .DEF_FONT_COLOR */"000000"))}</a:solidFill><a:latin typeface="${encodeXmlEntities(opts.dataLabelFontFace) || 'Arial'}"/>`;
8454
8454
  strXml += ' </a:defRPr>';
8455
8455
  strXml += ' </a:pPr>';
8456
8456
  strXml += ' </a:p>';
@@ -8664,7 +8664,7 @@ function makeNumberStyles(formats) {
8664
8664
  {
8665
8665
  let strTableXml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
8666
8666
  if (chartObject.opts._type === core_enums_CHART_TYPE.BUBBLE || chartObject.opts._type === core_enums_CHART_TYPE.BUBBLE3D) {
8667
- strTableXml += `<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:${getExcelColName(intBubbleCols)}${intBubbleCols}" totalsRowShown="0">`;
8667
+ strTableXml += `<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="Table1" displayName="Table1" ref="A1:${getExcelColName(intBubbleCols)}${firstDataValues.length + 1}" totalsRowShown="0">`;
8668
8668
  strTableXml += `<tableColumns count="${intBubbleCols}">`;
8669
8669
  let idxColLtr = 1;
8670
8670
  data.forEach((obj, idx)=>{
@@ -23788,7 +23788,7 @@ class PptxGenJS {
23788
23788
  */ pptxgen_define_property(this, "_layout", void 0);
23789
23789
  /**
23790
23790
  * PptxGenJS Library Version
23791
- */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.4"));
23791
+ */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.5"));
23792
23792
  /**
23793
23793
  * @type {string}
23794
23794
  */ pptxgen_define_property(this, "_author", void 0);