pptxgenjs-plus 4.3.8 → 4.3.9

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.8 @ 2026-11-11T18:27:23.052Z */
1
+ /* PptxGenJS 4.3.9 @ 2026-12-01T20:34:30.120Z */
2
2
 
3
3
  "use strict";
4
4
  const __rslib_import_meta_url__ = /*#__PURE__*/ (function () {
@@ -7533,9 +7533,10 @@ function xml_object_spread_props(target, source) {
7533
7533
  if (Array.isArray(rel.opts._type)) {
7534
7534
  rel.opts._type.forEach((type)=>{
7535
7535
  var _options_secondaryValAxis;
7536
- // TODO: FIXME: theres `options` on chart rels??
7537
7536
  const options = xml_object_spread({}, rel.opts, type.options);
7538
- // let options: IChartOptsLib = { type: type.type, }
7537
+ if (options.dataLabelPosition) {
7538
+ options.dataLabelPosition = resolveDataLabelPosition(options.dataLabelPosition, type.type, options.barGrouping);
7539
+ }
7539
7540
  const valAxisId = options.secondaryValAxis ? AXIS_ID_VALUE_SECONDARY : AXIS_ID_VALUE_PRIMARY;
7540
7541
  const catAxisId = options.secondaryCatAxis ? AXIS_ID_CATEGORY_SECONDARY : AXIS_ID_CATEGORY_PRIMARY;
7541
7542
  usesSecondaryValAxis = usesSecondaryValAxis || ((_options_secondaryValAxis = options.secondaryValAxis) !== null && _options_secondaryValAxis !== void 0 ? _options_secondaryValAxis : false);
@@ -23928,7 +23929,7 @@ class PptxGenJS {
23928
23929
  */ pptxgen_define_property(this, "_layout", void 0);
23929
23930
  /**
23930
23931
  * PptxGenJS Library Version
23931
- */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.8"));
23932
+ */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.9"));
23932
23933
  /**
23933
23934
  * @type {string}
23934
23935
  */ pptxgen_define_property(this, "_author", void 0);
@@ -1,4 +1,4 @@
1
- /* PptxGenJS 4.3.8 @ 2026-11-11T18:27:23.052Z */
1
+ /* PptxGenJS 4.3.9 @ 2026-12-01T20:34:30.120Z */
2
2
 
3
3
  import { JSZip } from "@node-projects/jszip";
4
4
  import { parseXml } from "@rgrove/parse-xml";
@@ -7483,9 +7483,10 @@ function xml_object_spread_props(target, source) {
7483
7483
  if (Array.isArray(rel.opts._type)) {
7484
7484
  rel.opts._type.forEach((type)=>{
7485
7485
  var _options_secondaryValAxis;
7486
- // TODO: FIXME: theres `options` on chart rels??
7487
7486
  const options = xml_object_spread({}, rel.opts, type.options);
7488
- // let options: IChartOptsLib = { type: type.type, }
7487
+ if (options.dataLabelPosition) {
7488
+ options.dataLabelPosition = resolveDataLabelPosition(options.dataLabelPosition, type.type, options.barGrouping);
7489
+ }
7489
7490
  const valAxisId = options.secondaryValAxis ? AXIS_ID_VALUE_SECONDARY : AXIS_ID_VALUE_PRIMARY;
7490
7491
  const catAxisId = options.secondaryCatAxis ? AXIS_ID_CATEGORY_SECONDARY : AXIS_ID_CATEGORY_PRIMARY;
7491
7492
  usesSecondaryValAxis = usesSecondaryValAxis || ((_options_secondaryValAxis = options.secondaryValAxis) !== null && _options_secondaryValAxis !== void 0 ? _options_secondaryValAxis : false);
@@ -23796,7 +23797,7 @@ class PptxGenJS {
23796
23797
  */ pptxgen_define_property(this, "_layout", void 0);
23797
23798
  /**
23798
23799
  * PptxGenJS Library Version
23799
- */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.8"));
23800
+ */ pptxgen_define_property(this, "_version", (/* inlined export .VERSION */"4.3.9"));
23800
23801
  /**
23801
23802
  * @type {string}
23802
23803
  */ pptxgen_define_property(this, "_author", void 0);