ooxml-ui 1.6.0 → 1.6.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.
Files changed (38) hide show
  1. package/dist/pptx/{chart-3d-view-scene-SE2Y6QRE.cjs → chart-3d-view-scene-55WDENSO.cjs} +38 -38
  2. package/dist/pptx/{chart-3d-view-scene-OYJ4CDCO.mjs → chart-3d-view-scene-ERX2GRCD.mjs} +2 -2
  3. package/dist/pptx/{chunk-CIVA3MLN.mjs → chunk-AWQRQUPL.mjs} +2 -1
  4. package/dist/pptx/{chunk-QLGH3VCC.cjs → chunk-BLAJIEXA.cjs} +152 -152
  5. package/dist/pptx/{chunk-C5MXTIGE.mjs → chunk-E55NU4BF.mjs} +3 -3
  6. package/dist/pptx/{chunk-7DMJEYQJ.cjs → chunk-G2YUKLRX.cjs} +1 -1
  7. package/dist/pptx/{chunk-IURZJAWP.cjs → chunk-LCIXR7WE.cjs} +55 -0
  8. package/dist/pptx/{chunk-WKLHJEPD.cjs → chunk-RPRC2EG5.cjs} +14 -13
  9. package/dist/pptx/{chunk-STLXPKJJ.mjs → chunk-SVN6OBG4.mjs} +55 -0
  10. package/dist/pptx/{chunk-LHNTMJSK.mjs → chunk-TKATCPOK.mjs} +1 -1
  11. package/dist/pptx/dom/index.cjs +247 -247
  12. package/dist/pptx/dom/index.mjs +6 -6
  13. package/dist/pptx/export/html2canvas-clone.cjs +2 -2
  14. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  15. package/dist/pptx/index.cjs +3023 -3023
  16. package/dist/pptx/index.mjs +4 -4
  17. package/dist/pptx/render/chart-combo-stock.cjs +3 -3
  18. package/dist/pptx/render/chart-combo-stock.mjs +1 -1
  19. package/dist/pptx/render/chart-gradient-defs.d.ts.map +1 -1
  20. package/dist/pptx/render/chart-overlays.cjs +7 -7
  21. package/dist/pptx/render/chart-overlays.mjs +1 -1
  22. package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
  23. package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
  24. package/dist/pptx/render/chart-view-model-dom-helpers.d.ts.map +1 -1
  25. package/dist/pptx/render/chart-view-model.cjs +44 -44
  26. package/dist/pptx/render/chart-view-model.mjs +1 -1
  27. package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
  28. package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
  29. package/dist/smartart/smartart.d.ts +1 -1
  30. package/dist/teams/app-rail.d.ts +1 -1
  31. package/dist/teams/avatar.d.ts +1 -1
  32. package/dist/teams/call-controls.d.ts +1 -1
  33. package/dist/teams/call-grid.d.ts +1 -1
  34. package/dist/teams/channel-list.d.ts +1 -1
  35. package/dist/teams/chat-composer.d.ts +1 -1
  36. package/dist/teams/chat-list.d.ts +1 -1
  37. package/dist/teams/prejoin.d.ts +1 -1
  38. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkWKLHJEPD_cjs = require('./chunk-WKLHJEPD.cjs');
4
- var chunkIURZJAWP_cjs = require('./chunk-IURZJAWP.cjs');
3
+ var chunkRPRC2EG5_cjs = require('./chunk-RPRC2EG5.cjs');
4
+ var chunkLCIXR7WE_cjs = require('./chunk-LCIXR7WE.cjs');
5
5
 
6
6
  // src/pptx/render/chart-3d-shading.ts
7
7
  var FACE_SHADE_AMOUNT = {
@@ -14,7 +14,7 @@ var FACE_SHADE_AMOUNT = {
14
14
  };
15
15
  function shadeChart3DFace(baseColor, face) {
16
16
  const amount = FACE_SHADE_AMOUNT[face];
17
- return amount === 0 ? baseColor : chunkIURZJAWP_cjs.shade(baseColor, amount);
17
+ return amount === 0 ? baseColor : chunkLCIXR7WE_cjs.shade(baseColor, amount);
18
18
  }
19
19
  function buildChart3DBoxFaceColors(baseColor) {
20
20
  return [
@@ -203,7 +203,7 @@ function buildChart3DBarMeshes(three, layout, svgWidth, svgHeight) {
203
203
  // src/pptx/render/chart-3d-chrome-overlay.ts
204
204
  function renderChart3DChromeOverlaySvg(doc, source, box) {
205
205
  const vm = box ? withBoxChromePositions(source) : source;
206
- const svg = chunkWKLHJEPD_cjs.createSvgEl(doc, "svg", {
206
+ const svg = chunkRPRC2EG5_cjs.createSvgEl(doc, "svg", {
207
207
  class: "pptxv-chart-3d-chrome",
208
208
  viewBox: `0 0 ${vm.svgWidth} ${vm.svgHeight}`,
209
209
  preserveAspectRatio: "none"
@@ -216,7 +216,7 @@ function renderChart3DChromeOverlaySvg(doc, source, box) {
216
216
  svg.style.setProperty("pointer-events", "none");
217
217
  if (vm.areaFill) {
218
218
  svg.appendChild(
219
- chunkWKLHJEPD_cjs.createSvgEl(doc, "rect", {
219
+ chunkRPRC2EG5_cjs.createSvgEl(doc, "rect", {
220
220
  x: 0,
221
221
  y: 0,
222
222
  width: vm.svgWidth,
@@ -227,7 +227,7 @@ function renderChart3DChromeOverlaySvg(doc, source, box) {
227
227
  );
228
228
  }
229
229
  if (vm.title) {
230
- const title = chunkWKLHJEPD_cjs.createSvgEl(doc, "text", {
230
+ const title = chunkRPRC2EG5_cjs.createSvgEl(doc, "text", {
231
231
  x: vm.titleX,
232
232
  y: vm.titleY,
233
233
  "text-anchor": "middle",
@@ -239,7 +239,7 @@ function renderChart3DChromeOverlaySvg(doc, source, box) {
239
239
  });
240
240
  if (vm.titleRunSpans && vm.titleRunSpans.length > 0) {
241
241
  for (const run of vm.titleRunSpans) {
242
- const tspan = chunkWKLHJEPD_cjs.createSvgEl(doc, "tspan", {
242
+ const tspan = chunkRPRC2EG5_cjs.createSvgEl(doc, "tspan", {
243
243
  "font-size": run.fontSize,
244
244
  "font-weight": run.fontWeight,
245
245
  "font-style": run.fontStyle,
@@ -258,28 +258,28 @@ function renderChart3DChromeOverlaySvg(doc, source, box) {
258
258
  appendBoxLabels(doc, svg, vm, box.labels);
259
259
  const legend = box.legend ?? vm.legend.map((item) => ({ ...item, lineSwatch: void 0 }));
260
260
  const legendVm = { ...vm, legend: box.reverseLegend ? legend.reverse() : legend };
261
- chunkWKLHJEPD_cjs.appendChartLegendSvg(doc, svg, legendVm);
261
+ chunkRPRC2EG5_cjs.appendChartLegendSvg(doc, svg, legendVm);
262
262
  return svg;
263
263
  }
264
264
  for (const gl of vm.gridlines) {
265
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartLineSvg(doc, gl));
265
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartLineSvg(doc, gl));
266
266
  }
267
267
  for (const gl of vm.secondaryGridlines ?? []) {
268
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartLineSvg(doc, gl));
268
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartLineSvg(doc, gl));
269
269
  }
270
270
  for (const lbl of vm.axisLabels) {
271
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartTextSvg(doc, lbl));
271
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartTextSvg(doc, lbl));
272
272
  }
273
273
  for (const lbl of vm.secondaryAxisLabels ?? []) {
274
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartTextSvg(doc, lbl));
274
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartTextSvg(doc, lbl));
275
275
  }
276
276
  if (vm.zeroLine) {
277
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartLineSvg(doc, vm.zeroLine));
277
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartLineSvg(doc, vm.zeroLine));
278
278
  }
279
279
  for (const lbl of vm.categoryLabels) {
280
- svg.appendChild(chunkWKLHJEPD_cjs.renderChartTextSvg(doc, lbl));
280
+ svg.appendChild(chunkRPRC2EG5_cjs.renderChartTextSvg(doc, lbl));
281
281
  }
282
- chunkWKLHJEPD_cjs.appendChartLegendSvg(doc, svg, vm);
282
+ chunkRPRC2EG5_cjs.appendChartLegendSvg(doc, svg, vm);
283
283
  return svg;
284
284
  }
285
285
  var PT = 4 / 3;
@@ -298,7 +298,7 @@ function appendBoxLabels(doc, svg, vm, labels) {
298
298
  const style = vm.axisLabels[0];
299
299
  for (const label of labels) {
300
300
  svg.appendChild(
301
- chunkWKLHJEPD_cjs.renderChartTextSvg(doc, {
301
+ chunkRPRC2EG5_cjs.renderChartTextSvg(doc, {
302
302
  kind: "text",
303
303
  x: label.x,
304
304
  y: label.y,
@@ -368,7 +368,7 @@ function attachChart3DMarkInteraction(options) {
368
368
  }
369
369
  const point = pointAt(event.clientX, event.clientY);
370
370
  const value = point ? adapter.valueOf(point) : void 0;
371
- const tooltip = point && value !== void 0 ? chunkWKLHJEPD_cjs.buildBarChart3DHoverTooltip(
371
+ const tooltip = point && value !== void 0 ? chunkRPRC2EG5_cjs.buildBarChart3DHoverTooltip(
372
372
  { seriesIndex: point.seriesIndex, categoryIndex: point.pointIndex, value },
373
373
  {
374
374
  categoryLabels: options.categoryLabels,
@@ -386,7 +386,7 @@ function attachChart3DMarkInteraction(options) {
386
386
  return;
387
387
  }
388
388
  const point = pointAt(event.clientX, event.clientY);
389
- const armed = point !== null && chunkWKLHJEPD_cjs.isChartInteractionArmed(target);
389
+ const armed = point !== null && chunkRPRC2EG5_cjs.isChartInteractionArmed(target);
390
390
  if (armed) {
391
391
  event.stopPropagation();
392
392
  }
@@ -462,7 +462,7 @@ function obliqueDragValue(layout, startValue, dx, dy) {
462
462
  const along = layout.horizontal ? dx : -dy;
463
463
  const raw = startValue + along / layout.valueScale;
464
464
  const span = layout.range.max - layout.range.min;
465
- return chunkWKLHJEPD_cjs.roundDragValue(raw, { min: layout.range.min, max: layout.range.max, span });
465
+ return chunkRPRC2EG5_cjs.roundDragValue(raw, { min: layout.range.min, max: layout.range.max, span });
466
466
  }
467
467
  function obliqueDraggedExtent(layout, value) {
468
468
  const { min, max } = layout.range;
@@ -475,7 +475,7 @@ function obliqueDraggedExtent(layout, value) {
475
475
  function obliqueBarAtValue(layout, bar, value) {
476
476
  const { from, length } = obliqueDraggedExtent(layout, value);
477
477
  const extent = (layout.range.max - layout.range.min) * layout.valueScale;
478
- const taper = chunkWKLHJEPD_cjs.obliqueBarTaper(bar.shape, from, from + length, extent, value);
478
+ const taper = chunkRPRC2EG5_cjs.obliqueBarTaper(bar.shape, from, from + length, extent, value);
479
479
  return layout.horizontal ? { ...bar, x: from, w: length, value, taper } : { ...bar, y: from, h: length, value, taper };
480
480
  }
481
481
 
@@ -567,7 +567,7 @@ function buildPerspBarPrisms(chartData, layout, override) {
567
567
  const nSer = chartData.series.length;
568
568
  const catExtent = layout.horizontal ? layout.view.box.h : layout.view.box.w;
569
569
  const slot = nCat > 0 ? catExtent / nCat : catExtent;
570
- const gapWidth = (chartData.barGapWidth ?? chunkIURZJAWP_cjs.DEFAULT_BAR_GAP_WIDTH) / 100;
570
+ const gapWidth = (chartData.barGapWidth ?? chunkLCIXR7WE_cjs.DEFAULT_BAR_GAP_WIDTH) / 100;
571
571
  const slots = layout.grouping === "clustered" ? nSer : 1;
572
572
  const barW = slot / (slots + gapWidth);
573
573
  const depth = Math.min(barW, layout.rowDepth);
@@ -620,7 +620,7 @@ function buildPerspBarPrisms(chartData, layout, override) {
620
620
  z0,
621
621
  z1: z0 + depth,
622
622
  shape,
623
- taper: chunkWKLHJEPD_cjs.obliqueBarTaper(
623
+ taper: chunkRPRC2EG5_cjs.obliqueBarTaper(
624
624
  shape,
625
625
  v0,
626
626
  v1,
@@ -815,7 +815,7 @@ function buildPerspGridlines(three, layout) {
815
815
  function buildPerspMeshes(three, layout, prisms) {
816
816
  const group = new three.Group();
817
817
  group.matrixAutoUpdate = false;
818
- group.matrix.copy(chunkWKLHJEPD_cjs.perspBoxMatrix(three, layout.view));
818
+ group.matrix.copy(chunkRPRC2EG5_cjs.perspBoxMatrix(three, layout.view));
819
819
  const gridlines = buildPerspGridlines(three, layout);
820
820
  group.add(gridlines);
821
821
  const material = new three.MeshBasicMaterial({ vertexColors: true, side: three.DoubleSide });
@@ -870,7 +870,7 @@ function surfaceBands(chartData, range, palette) {
870
870
  const fmt = chartData.bandFmts?.find((b) => b.index === i)?.spPr;
871
871
  const cycle = palette.length > 0 ? palette : ["#4472C4"];
872
872
  const base = cycle[i % cycle.length];
873
- const fallback = Math.floor(i / cycle.length) % 2 === 1 ? chunkIURZJAWP_cjs.shade(base, 0.4) : base;
873
+ const fallback = Math.floor(i / cycle.length) % 2 === 1 ? chunkLCIXR7WE_cjs.shade(base, 0.4) : base;
874
874
  return {
875
875
  label: `${formatEdge(lo)}-${formatEdge(edges[i + 1])}`,
876
876
  color: fmt?.fillColor ?? fmt?.strokeColor ?? fallback
@@ -1054,7 +1054,7 @@ function disposeObject(object) {
1054
1054
  function buildSurfaceMarks(three, chartData, layout, palette) {
1055
1055
  const group = new three.Group();
1056
1056
  group.matrixAutoUpdate = false;
1057
- group.matrix.copy(chunkWKLHJEPD_cjs.perspBoxMatrix(three, layout.view));
1057
+ group.matrix.copy(chunkRPRC2EG5_cjs.perspBoxMatrix(three, layout.view));
1058
1058
  const gridlines = buildPerspGridlines(three, layout);
1059
1059
  group.add(gridlines);
1060
1060
  let visual = buildVisual(three, chartData, layout, palette);
@@ -1194,8 +1194,8 @@ function surfaceLegend(chartData, layout, palette, background, textStyle) {
1194
1194
  function mountPerspChartView(input, ctx) {
1195
1195
  const three = ctx.three;
1196
1196
  const { vm, layout, chartData } = input;
1197
- const palette = chunkIURZJAWP_cjs.resolveChartPalette(chartData);
1198
- const camera = chunkWKLHJEPD_cjs.buildPerspCamera(three, layout.view, vm.svgWidth, vm.svgHeight);
1197
+ const palette = chunkLCIXR7WE_cjs.resolveChartPalette(chartData);
1198
+ const camera = chunkRPRC2EG5_cjs.buildPerspCamera(three, layout.view, vm.svgWidth, vm.svgHeight);
1199
1199
  const scene = new three.Scene();
1200
1200
  const marks = buildPerspMarkSet(three, chartData, layout, palette);
1201
1201
  scene.add(marks.group);
@@ -1244,15 +1244,15 @@ function mountPerspChartView(input, ctx) {
1244
1244
  const a = marks.anchor(point, start);
1245
1245
  const step = unit * layout.valueScale;
1246
1246
  const b = layout.horizontal ? [a[0] + step, a[1], a[2]] : [a[0], a[1] + step, a[2]];
1247
- const s0 = chunkWKLHJEPD_cjs.perspToScreen(layout.view, a);
1248
- const s1 = chunkWKLHJEPD_cjs.perspToScreen(layout.view, b);
1247
+ const s0 = chunkRPRC2EG5_cjs.perspToScreen(layout.view, a);
1248
+ const s1 = chunkRPRC2EG5_cjs.perspToScreen(layout.view, b);
1249
1249
  const ux = (s1.x - s0.x) / unit;
1250
1250
  const uy = (s1.y - s0.y) / unit;
1251
1251
  const len2 = ux * ux + uy * uy || 1;
1252
1252
  const span = layout.range.max - layout.range.min;
1253
1253
  return {
1254
1254
  preview(dx, dy) {
1255
- const value = chunkWKLHJEPD_cjs.roundDragValue(start + (dx * ux + dy * uy) / len2, {
1255
+ const value = chunkRPRC2EG5_cjs.roundDragValue(start + (dx * ux + dy * uy) / len2, {
1256
1256
  min: layout.range.min,
1257
1257
  max: layout.range.max,
1258
1258
  span
@@ -1340,7 +1340,7 @@ function sliceBuffers(three, layout, slice) {
1340
1340
  const steps = Math.max(2, Math.ceil(span / (Math.PI * 2) * SEGMENTS_PER_TURN));
1341
1341
  const angles = Array.from({ length: steps + 1 }, (_, i) => slice.startAngle + span * i / steps);
1342
1342
  const rim = (a, y) => {
1343
- const p = chunkWKLHJEPD_cjs.pieRimPoint(cx, cz, r, a);
1343
+ const p = chunkRPRC2EG5_cjs.pieRimPoint(cx, cz, r, a);
1344
1344
  return [p.x, y, p.z];
1345
1345
  };
1346
1346
  const radial = (a) => [Math.sin(a), 0, Math.cos(a)];
@@ -1384,7 +1384,7 @@ function sliceBuffers(three, layout, slice) {
1384
1384
  function buildPieMarks(three, layout) {
1385
1385
  const group = new three.Group();
1386
1386
  group.matrixAutoUpdate = false;
1387
- group.matrix.copy(chunkWKLHJEPD_cjs.perspBoxMatrix(three, layout.view));
1387
+ group.matrix.copy(chunkRPRC2EG5_cjs.perspBoxMatrix(three, layout.view));
1388
1388
  const material = new three.MeshBasicMaterial({
1389
1389
  vertexColors: true,
1390
1390
  side: three.DoubleSide,
@@ -1448,12 +1448,12 @@ function slicesWith(input, pointIndex, value) {
1448
1448
  ...input.element,
1449
1449
  chartData: { ...input.chartData, series }
1450
1450
  };
1451
- return chunkWKLHJEPD_cjs.computePieChartLayout(element, input.vm)?.slices ?? input.layout.slices;
1451
+ return chunkRPRC2EG5_cjs.computePieChartLayout(element, input.vm)?.slices ?? input.layout.slices;
1452
1452
  }
1453
1453
  function mountPieChartView(input, ctx) {
1454
1454
  const three = ctx.three;
1455
1455
  const { vm, layout, chartData } = input;
1456
- const camera = chunkWKLHJEPD_cjs.buildPerspCamera(three, layout.view, vm.svgWidth, vm.svgHeight);
1456
+ const camera = chunkRPRC2EG5_cjs.buildPerspCamera(three, layout.view, vm.svgWidth, vm.svgHeight);
1457
1457
  const scene = new three.Scene();
1458
1458
  const marks = buildPieMarks(three, layout);
1459
1459
  scene.add(marks.group);
@@ -1494,7 +1494,7 @@ function mountPieChartView(input, ctx) {
1494
1494
  const start = values();
1495
1495
  return {
1496
1496
  preview(_dx, _dy, at) {
1497
- const hit = chunkWKLHJEPD_cjs.perspScreenToPlaneY(layout.view, at.x, at.y, layout.center.y);
1497
+ const hit = chunkRPRC2EG5_cjs.perspScreenToPlaneY(layout.view, at.x, at.y, layout.center.y);
1498
1498
  if (!hit) {
1499
1499
  return start[point.pointIndex];
1500
1500
  }
@@ -1502,7 +1502,7 @@ function mountPieChartView(input, ctx) {
1502
1502
  hit.x - layout.center.x - slice.offset.x,
1503
1503
  hit.z - layout.center.z - slice.offset.z
1504
1504
  );
1505
- const value = chunkWKLHJEPD_cjs.resolvePieSliceShareValue(
1505
+ const value = chunkRPRC2EG5_cjs.resolvePieSliceShareValue(
1506
1506
  angle,
1507
1507
  slice.startAngle,
1508
1508
  start,
@@ -1518,7 +1518,7 @@ function mountPieChartView(input, ctx) {
1518
1518
  marker.visible = slice !== void 0;
1519
1519
  if (slice) {
1520
1520
  const mid = (slice.startAngle + slice.endAngle) / 2;
1521
- const p = chunkWKLHJEPD_cjs.pieRimPoint(
1521
+ const p = chunkRPRC2EG5_cjs.pieRimPoint(
1522
1522
  layout.center.x + slice.offset.x,
1523
1523
  layout.center.z + slice.offset.z,
1524
1524
  layout.radius * 0.6,
@@ -1583,7 +1583,7 @@ async function mountChart3DView(spec, ctx) {
1583
1583
  return mountPieChartView(
1584
1584
  {
1585
1585
  element: spec.element,
1586
- vm: chunkWKLHJEPD_cjs.widenPieViewModel(spec.vm, spec.element),
1586
+ vm: chunkRPRC2EG5_cjs.widenPieViewModel(spec.vm, spec.element),
1587
1587
  layout: spec.geometry.layout,
1588
1588
  chartData: chartData2,
1589
1589
  categoryLabels: spec.categoryLabels
@@ -1,5 +1,5 @@
1
- import { widenPieViewModel, buildPerspCamera, createSvgEl, appendChartLegendSvg, renderChartLineSvg, renderChartTextSvg, perspBoxMatrix, pieRimPoint, perspScreenToPlaneY, resolvePieSliceShareValue, perspToScreen, roundDragValue, buildBarChart3DHoverTooltip, isChartInteractionArmed, computePieChartLayout, obliqueBarTaper } from './chunk-CIVA3MLN.mjs';
2
- import { resolveChartPalette, shade, DEFAULT_BAR_GAP_WIDTH } from './chunk-STLXPKJJ.mjs';
1
+ import { widenPieViewModel, buildPerspCamera, createSvgEl, appendChartLegendSvg, renderChartLineSvg, renderChartTextSvg, perspBoxMatrix, pieRimPoint, perspScreenToPlaneY, resolvePieSliceShareValue, perspToScreen, roundDragValue, buildBarChart3DHoverTooltip, isChartInteractionArmed, computePieChartLayout, obliqueBarTaper } from './chunk-AWQRQUPL.mjs';
2
+ import { resolveChartPalette, shade, DEFAULT_BAR_GAP_WIDTH } from './chunk-SVN6OBG4.mjs';
3
3
 
4
4
  // src/pptx/render/chart-3d-shading.ts
5
5
  var FACE_SHADE_AMOUNT = {
@@ -1,4 +1,4 @@
1
- import { chartTextFontFamily, chartFontPx, computePlotLayout, radarAngle, computeStackedSeriesPlots, computeLayoutOptions, computeStackedValueRangeForAxis, primaryValueAxis, valueToY2, collapseChartTitleRunsForEdit, computePieLayout, buildMarkTooltip, formatAxisValueWithUnits, axisTickValues } from './chunk-STLXPKJJ.mjs';
1
+ import { chartTextFontFamily, chartFontPx, computePlotLayout, radarAngle, computeStackedSeriesPlots, computeLayoutOptions, computeStackedValueRangeForAxis, primaryValueAxis, valueToY2, collapseChartTitleRunsForEdit, computePieLayout, buildMarkTooltip, formatAxisValueWithUnits, axisTickValues } from './chunk-SVN6OBG4.mjs';
2
2
 
3
3
  // src/pptx/render/chart-legend-layout.ts
4
4
  var LEGEND_ITEM_WIDTH = 80;
@@ -394,6 +394,7 @@ function renderPatternDef(doc, input) {
394
394
  if (def.kind !== "pattern") {
395
395
  const gradient = def.kind === "linearGradient" ? createSvgEl(doc, "linearGradient", {
396
396
  id: def.id,
397
+ ...def.gradientUnits ? { gradientUnits: def.gradientUnits } : {},
397
398
  x1: def.x1,
398
399
  y1: def.y1,
399
400
  x2: def.x2,