pptx-react-viewer 2.15.1 → 2.15.3

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 (99) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{AiChatPanel-YDX2WONS.mjs → AiChatPanel-OXAKUVYH.mjs} +3 -3
  3. package/dist/AiChatPanel-OXAKUVYH.mjs.br +0 -0
  4. package/dist/AiChatPanel-OXAKUVYH.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-JWCGIYBL.js → AiChatPanel-R7BYGQX5.js} +22 -22
  6. package/dist/AiChatPanel-R7BYGQX5.js.br +0 -0
  7. package/dist/AiChatPanel-R7BYGQX5.js.gz +0 -0
  8. package/dist/{Model3DScene-4FFR5CF5.js → Model3DScene-BK7RWDCU.js} +2 -2
  9. package/dist/Model3DScene-BK7RWDCU.js.br +0 -0
  10. package/dist/Model3DScene-BK7RWDCU.js.gz +0 -0
  11. package/dist/{Model3DScene-ZVWROBJT.mjs → Model3DScene-TPUVF4FY.mjs} +1 -1
  12. package/dist/Model3DScene-TPUVF4FY.mjs.br +0 -0
  13. package/dist/Model3DScene-TPUVF4FY.mjs.gz +0 -0
  14. package/dist/{SurfaceChart3DScene-PJLRTJLR.mjs → SurfaceChart3DScene-FXJ45DC5.mjs} +1 -1
  15. package/dist/{SurfaceChart3DScene-PJLRTJLR.mjs.br → SurfaceChart3DScene-FXJ45DC5.mjs.br} +0 -0
  16. package/dist/SurfaceChart3DScene-FXJ45DC5.mjs.gz +0 -0
  17. package/dist/{SurfaceChart3DScene-WEH6CLAU.js → SurfaceChart3DScene-WOLVZOW3.js} +2 -2
  18. package/dist/SurfaceChart3DScene-WOLVZOW3.js.br +0 -0
  19. package/dist/SurfaceChart3DScene-WOLVZOW3.js.gz +0 -0
  20. package/dist/{chunk-OEK3VKSO.js → chunk-3XJODTAV.js} +348 -340
  21. package/dist/chunk-3XJODTAV.js.br +0 -0
  22. package/dist/chunk-3XJODTAV.js.gz +0 -0
  23. package/dist/{chunk-7TFVXCBY.mjs → chunk-6M6WP2TK.mjs} +214 -150
  24. package/dist/chunk-6M6WP2TK.mjs.br +0 -0
  25. package/dist/chunk-6M6WP2TK.mjs.gz +0 -0
  26. package/dist/{chunk-KFGVJONB.js → chunk-FHTEL3Q6.js} +253 -249
  27. package/dist/chunk-FHTEL3Q6.js.br +0 -0
  28. package/dist/chunk-FHTEL3Q6.js.gz +0 -0
  29. package/dist/{chunk-BHDUV2LM.js → chunk-IEXZ2JSO.js} +1084 -1052
  30. package/dist/chunk-IEXZ2JSO.js.br +0 -0
  31. package/dist/chunk-IEXZ2JSO.js.gz +0 -0
  32. package/dist/{chunk-LCDAL2JQ.mjs → chunk-OPX74QGH.mjs} +16 -8
  33. package/dist/chunk-OPX74QGH.mjs.br +0 -0
  34. package/dist/chunk-OPX74QGH.mjs.gz +0 -0
  35. package/dist/{chunk-ESUQSKGF.mjs → chunk-RPGAI65Z.mjs} +41 -9
  36. package/dist/chunk-RPGAI65Z.mjs.br +0 -0
  37. package/dist/chunk-RPGAI65Z.mjs.gz +0 -0
  38. package/dist/{chunk-LZDGIEN3.js → chunk-T5IS3MGN.js} +3 -3
  39. package/dist/chunk-T5IS3MGN.js.br +0 -0
  40. package/dist/chunk-T5IS3MGN.js.gz +0 -0
  41. package/dist/{chunk-YAWRDLCV.mjs → chunk-U2UPBBJV.mjs} +1 -1
  42. package/dist/chunk-U2UPBBJV.mjs.br +0 -0
  43. package/dist/chunk-U2UPBBJV.mjs.gz +0 -0
  44. package/dist/{chunk-YUPKCGB5.mjs → chunk-WJNWCKS7.mjs} +12 -8
  45. package/dist/chunk-WJNWCKS7.mjs.br +0 -0
  46. package/dist/chunk-WJNWCKS7.mjs.gz +0 -0
  47. package/dist/{chunk-Z3FYYUGI.js → chunk-YBTRSG74.js} +217 -150
  48. package/dist/chunk-YBTRSG74.js.br +0 -0
  49. package/dist/chunk-YBTRSG74.js.gz +0 -0
  50. package/dist/index.js +39 -39
  51. package/dist/index.js.br +0 -0
  52. package/dist/index.js.gz +0 -0
  53. package/dist/index.mjs +5 -5
  54. package/dist/index.mjs.br +0 -0
  55. package/dist/index.mjs.gz +0 -0
  56. package/dist/internals.js +78 -78
  57. package/dist/internals.js.br +0 -0
  58. package/dist/internals.js.gz +0 -0
  59. package/dist/internals.mjs +3 -3
  60. package/dist/internals.mjs.br +0 -0
  61. package/dist/internals.mjs.gz +0 -0
  62. package/dist/viewer/index.js +26 -26
  63. package/dist/viewer/index.js.br +0 -0
  64. package/dist/viewer/index.js.gz +0 -0
  65. package/dist/viewer/index.mjs +5 -5
  66. package/dist/viewer/index.mjs.br +0 -0
  67. package/dist/viewer/index.mjs.gz +0 -0
  68. package/package.json +1 -1
  69. package/dist/AiChatPanel-JWCGIYBL.js.br +0 -0
  70. package/dist/AiChatPanel-JWCGIYBL.js.gz +0 -0
  71. package/dist/AiChatPanel-YDX2WONS.mjs.br +0 -0
  72. package/dist/AiChatPanel-YDX2WONS.mjs.gz +0 -0
  73. package/dist/Model3DScene-4FFR5CF5.js.br +0 -0
  74. package/dist/Model3DScene-4FFR5CF5.js.gz +0 -0
  75. package/dist/Model3DScene-ZVWROBJT.mjs.br +0 -0
  76. package/dist/Model3DScene-ZVWROBJT.mjs.gz +0 -0
  77. package/dist/SurfaceChart3DScene-PJLRTJLR.mjs.gz +0 -0
  78. package/dist/SurfaceChart3DScene-WEH6CLAU.js.br +0 -0
  79. package/dist/SurfaceChart3DScene-WEH6CLAU.js.gz +0 -0
  80. package/dist/chunk-7TFVXCBY.mjs.br +0 -0
  81. package/dist/chunk-7TFVXCBY.mjs.gz +0 -0
  82. package/dist/chunk-BHDUV2LM.js.br +0 -0
  83. package/dist/chunk-BHDUV2LM.js.gz +0 -0
  84. package/dist/chunk-ESUQSKGF.mjs.br +0 -0
  85. package/dist/chunk-ESUQSKGF.mjs.gz +0 -0
  86. package/dist/chunk-KFGVJONB.js.br +0 -0
  87. package/dist/chunk-KFGVJONB.js.gz +0 -0
  88. package/dist/chunk-LCDAL2JQ.mjs.br +0 -0
  89. package/dist/chunk-LCDAL2JQ.mjs.gz +0 -0
  90. package/dist/chunk-LZDGIEN3.js.br +0 -0
  91. package/dist/chunk-LZDGIEN3.js.gz +0 -0
  92. package/dist/chunk-OEK3VKSO.js.br +0 -0
  93. package/dist/chunk-OEK3VKSO.js.gz +0 -0
  94. package/dist/chunk-YAWRDLCV.mjs.br +0 -0
  95. package/dist/chunk-YAWRDLCV.mjs.gz +0 -0
  96. package/dist/chunk-YUPKCGB5.mjs.br +0 -0
  97. package/dist/chunk-YUPKCGB5.mjs.gz +0 -0
  98. package/dist/chunk-Z3FYYUGI.js.br +0 -0
  99. package/dist/chunk-Z3FYYUGI.js.gz +0 -0
Binary file
Binary file
@@ -28206,7 +28206,9 @@ var teardrop = {
28206
28206
  gd10("dx1", "*/ wd2 a 100000"),
28207
28207
  gd10("dy1", "*/ hd2 a 100000"),
28208
28208
  gd10("x1", "+- hc dx1 0"),
28209
- gd10("y1", "+- vc 0 dy1")
28209
+ gd10("y1", "+- vc 0 dy1"),
28210
+ gd10("x2", "+/ hc x1 2"),
28211
+ gd10("y2", "+/ vc y1 2")
28210
28212
  ],
28211
28213
  rect: FULL_RECT8,
28212
28214
  pathLst: [
@@ -28214,8 +28216,10 @@ var teardrop = {
28214
28216
  commands: [
28215
28217
  { kind: "moveTo", x: "l", y: "vc" },
28216
28218
  { kind: "arcTo", wR: "wd2", hR: "hd2", stAng: "cd2", swAng: "cd4" },
28217
- { kind: "quadBezTo", x1: "hc", y1: "y1", x2: "x1", y2: "y1" },
28218
- { kind: "quadBezTo", x1: "x1", y1: "vc", x2: "r", y2: "vc" },
28219
+ // `x1`/`y1` here are the CONTROL point, `x2`/`y2` the endpoint; the
28220
+ // guides keep the spec's own names, hence `x1: 'x2'`.
28221
+ { kind: "quadBezTo", x1: "x2", y1: "t", x2: "x1", y2: "y1" },
28222
+ { kind: "quadBezTo", x1: "r", y1: "y2", x2: "r", y2: "vc" },
28219
28223
  { kind: "arcTo", wR: "wd2", hR: "hd2", stAng: "0", swAng: "cd4" },
28220
28224
  { kind: "arcTo", wR: "wd2", hR: "hd2", stAng: "cd4", swAng: "cd4" },
28221
28225
  { kind: "close" }
@@ -29222,10 +29226,17 @@ var parallelogram = {
29222
29226
  name: "parallelogram",
29223
29227
  avLst: { adj: 25e3 },
29224
29228
  gdLst: [
29225
- gd13("a", "pin 0 adj 100000"),
29226
- gd13("x1", "*/ w a 200000"),
29229
+ // The skew is measured against `ss` (the SHORT side), not `w`, and `adj`
29230
+ // pins against `maxAdj` rather than a flat 100000 (ECMA-376 20.1.9.venus).
29231
+ // Scaling off `w` only agrees with PowerPoint while w <= h; for a wide,
29232
+ // short parallelogram it overstates the skew, so a band authored to butt
29233
+ // against a neighbouring shape fell short of it and left a wedge of slide
29234
+ // background showing through the seam.
29235
+ gd13("maxAdj", "*/ 100000 w ss"),
29236
+ gd13("a", "pin 0 adj maxAdj"),
29237
+ gd13("x1", "*/ ss a 200000"),
29227
29238
  gd13("x2", "+- w 0 x1"),
29228
- gd13("x3", "*/ w a 100000"),
29239
+ gd13("x3", "*/ ss a 100000"),
29229
29240
  gd13("x4", "+- r 0 x3"),
29230
29241
  gd13("x5", "*/ x3 1 2"),
29231
29242
  gd13("x6", "+- r 0 x5")
@@ -36232,6 +36243,18 @@ function applyChartPivotSource(chartSpace, value, localName22) {
36232
36243
  chartSpace[`${prefix}:pivotSource`] = node;
36233
36244
  }
36234
36245
  }
36246
+ function getElementTextContent(element) {
36247
+ if (!hasTextProperties(element)) {
36248
+ return "";
36249
+ }
36250
+ if (typeof element.text === "string") {
36251
+ return element.text;
36252
+ }
36253
+ if (!element.textSegments || element.textSegments.length === 0) {
36254
+ return "";
36255
+ }
36256
+ return element.textSegments.map((segment) => String(segment.text || "")).join("");
36257
+ }
36235
36258
  var JUMP_VERB_MAP = {
36236
36259
  nextslide: "nextSlide",
36237
36260
  previousslide: "prevSlide",
@@ -85899,6 +85922,63 @@ function getResolvedShapeClipPath(element, width, height) {
85899
85922
  const adjustments = element.shapeAdjustments;
85900
85923
  return getResolvedShapeClipPathFor(shapeType, w, h, adjustments);
85901
85924
  }
85925
+ var IDENTITY_RECT_PRESETS = /* @__PURE__ */ new Set(["rect", "flowchartprocess"]);
85926
+ function isIdentityRectClip(element) {
85927
+ const custom = element;
85928
+ if (custom.pathData && custom.pathWidth && custom.pathHeight) {
85929
+ return false;
85930
+ }
85931
+ const shapeType = element.shapeType;
85932
+ return shapeType !== void 0 && IDENTITY_RECT_PRESETS.has(shapeType.toLowerCase());
85933
+ }
85934
+ function getCompoundLineOffsets(compoundLine, strokeWidth) {
85935
+ if (!compoundLine || compoundLine === "sng") {
85936
+ return [0];
85937
+ }
85938
+ const gap = Math.max(strokeWidth * 0.6, 1.5);
85939
+ if (compoundLine === "dbl") {
85940
+ return [-gap, gap];
85941
+ }
85942
+ if (compoundLine === "thickThin") {
85943
+ return [-gap * 0.6, gap];
85944
+ }
85945
+ if (compoundLine === "thinThick") {
85946
+ return [-gap, gap * 0.6];
85947
+ }
85948
+ if (compoundLine === "tri") {
85949
+ return [-gap, 0, gap];
85950
+ }
85951
+ return [0];
85952
+ }
85953
+ function getCompoundLineWidths(compoundLine, strokeWidth) {
85954
+ const base = Math.max(strokeWidth, 1);
85955
+ if (!compoundLine || compoundLine === "sng") {
85956
+ return [base];
85957
+ }
85958
+ if (compoundLine === "dbl") {
85959
+ return [base * 0.5, base * 0.5];
85960
+ }
85961
+ if (compoundLine === "thickThin") {
85962
+ return [base * 0.7, base * 0.3];
85963
+ }
85964
+ if (compoundLine === "thinThick") {
85965
+ return [base * 0.3, base * 0.7];
85966
+ }
85967
+ if (compoundLine === "tri") {
85968
+ return [base * 0.3, base * 0.4, base * 0.3];
85969
+ }
85970
+ return [base];
85971
+ }
85972
+ function svgLineCap(lineCap) {
85973
+ switch (lineCap) {
85974
+ case "flat":
85975
+ return "butt";
85976
+ case "sq":
85977
+ return "square";
85978
+ default:
85979
+ return "round";
85980
+ }
85981
+ }
85902
85982
  function normalizeHexColor(value, fallback = DEFAULT_TEXT_COLOR) {
85903
85983
  if (!value || value === "transparent") {
85904
85984
  return fallback;
@@ -86556,145 +86636,6 @@ function resolveComputedFill(ss, element) {
86556
86636
  }
86557
86637
  return {};
86558
86638
  }
86559
- function round4(value) {
86560
- return Math.round(value * 1e4) / 1e4;
86561
- }
86562
- function svgGradientId(elementId, suffix = "grad") {
86563
- const seed = String(elementId).replace(/[^a-zA-Z0-9_-]/gu, "_");
86564
- return `pptx-${suffix}-${seed}`;
86565
- }
86566
- function toSvgStops(stops) {
86567
- return sanitizeGradientStops(stops).map((stop) => ({
86568
- offset: round4(stop.position / 100),
86569
- color: stop.color,
86570
- ...typeof stop.opacity === "number" ? { opacity: round4(stop.opacity) } : {}
86571
- }));
86572
- }
86573
- function linearEndpoints(angleDegrees) {
86574
- const radians = angleDegrees * Math.PI / 180;
86575
- const dx = Math.cos(radians);
86576
- const dy = Math.sin(radians);
86577
- const span = (Math.abs(dx) + Math.abs(dy)) / 2;
86578
- return {
86579
- x1: round4(0.5 - dx * span),
86580
- y1: round4(0.5 - dy * span),
86581
- x2: round4(0.5 + dx * span),
86582
- y2: round4(0.5 + dy * span)
86583
- };
86584
- }
86585
- function buildFromSource(source, id) {
86586
- const { stops } = source;
86587
- if (stops.length === 0) {
86588
- return void 0;
86589
- }
86590
- if ((source.type || "linear") === "radial") {
86591
- const { cx, cy } = computeGradientCenter(source.fillToRect, source.focalPoint);
86592
- const fx = cx / 100;
86593
- const fy = cy / 100;
86594
- const r = Math.hypot(Math.max(fx, 1 - fx), Math.max(fy, 1 - fy));
86595
- return { kind: "radial", id, cx: round4(fx), cy: round4(fy), r: round4(r), stops };
86596
- }
86597
- const angle = typeof source.angle === "number" && Number.isFinite(source.angle) ? source.angle : 90;
86598
- return { kind: "linear", id, ...linearEndpoints(angle), stops };
86599
- }
86600
- function buildSvgGradientDef(style, elementId) {
86601
- if (!style || style.fillMode !== "gradient") {
86602
- return void 0;
86603
- }
86604
- return buildFromSource(
86605
- {
86606
- stops: toSvgStops(style.fillGradientStops),
86607
- type: style.fillGradientType,
86608
- angle: style.fillGradientAngle,
86609
- fillToRect: style.fillGradientFillToRect,
86610
- focalPoint: style.fillGradientFocalPoint
86611
- },
86612
- svgGradientId(elementId)
86613
- );
86614
- }
86615
- function buildSvgStrokeGradientDef(style, elementId) {
86616
- if (!style || style.strokeFillMode !== "gradient") {
86617
- return void 0;
86618
- }
86619
- return buildFromSource(
86620
- {
86621
- stops: toSvgStops(style.strokeGradientStops),
86622
- type: style.strokeGradientType,
86623
- angle: style.strokeGradientAngle
86624
- },
86625
- svgGradientId(elementId, "stroke")
86626
- );
86627
- }
86628
- function buildSvgStrokePatternDef(style, elementId) {
86629
- if (!style || style.strokeFillMode !== "pattern" || !style.strokePatternPreset) {
86630
- return void 0;
86631
- }
86632
- const fg = normalizeHexColor(style.strokeColor, "#000000");
86633
- const bg = normalizeHexColor(style.strokePatternBackgroundColor, "#ffffff");
86634
- const tile = getPatternTile(style.strokePatternPreset, fg, bg);
86635
- if (!tile) {
86636
- return void 0;
86637
- }
86638
- const markup = `<svg xmlns="http://www.w3.org/2000/svg" width="${tile.w}" height="${tile.h}">${tile.inner}</svg>`;
86639
- return {
86640
- kind: "pattern",
86641
- id: svgGradientId(elementId, "strokepat"),
86642
- width: tile.w,
86643
- height: tile.h,
86644
- href: `data:image/svg+xml,${encodeURIComponent(markup)}`
86645
- };
86646
- }
86647
- function svgGradientFillRef(def) {
86648
- return `url(#${def.id})`;
86649
- }
86650
- function getCompoundLineOffsets(compoundLine, strokeWidth) {
86651
- if (!compoundLine || compoundLine === "sng") {
86652
- return [0];
86653
- }
86654
- const gap = Math.max(strokeWidth * 0.6, 1.5);
86655
- if (compoundLine === "dbl") {
86656
- return [-gap, gap];
86657
- }
86658
- if (compoundLine === "thickThin") {
86659
- return [-gap * 0.6, gap];
86660
- }
86661
- if (compoundLine === "thinThick") {
86662
- return [-gap, gap * 0.6];
86663
- }
86664
- if (compoundLine === "tri") {
86665
- return [-gap, 0, gap];
86666
- }
86667
- return [0];
86668
- }
86669
- function getCompoundLineWidths(compoundLine, strokeWidth) {
86670
- const base = Math.max(strokeWidth, 1);
86671
- if (!compoundLine || compoundLine === "sng") {
86672
- return [base];
86673
- }
86674
- if (compoundLine === "dbl") {
86675
- return [base * 0.5, base * 0.5];
86676
- }
86677
- if (compoundLine === "thickThin") {
86678
- return [base * 0.7, base * 0.3];
86679
- }
86680
- if (compoundLine === "thinThick") {
86681
- return [base * 0.3, base * 0.7];
86682
- }
86683
- if (compoundLine === "tri") {
86684
- return [base * 0.3, base * 0.4, base * 0.3];
86685
- }
86686
- return [base];
86687
- }
86688
- function svgLineCap(lineCap) {
86689
- switch (lineCap) {
86690
- case "flat":
86691
- return "butt";
86692
- case "sq":
86693
- return "square";
86694
- default:
86695
- return "round";
86696
- }
86697
- }
86698
86639
  function normalizeStrokeDashType(value) {
86699
86640
  const normalized = String(value || "").trim().toLowerCase();
86700
86641
  if (!normalized) {
@@ -86907,6 +86848,97 @@ function strokeOnlyPresetPathData(element) {
86907
86848
  const stroked = paths.filter((path) => path.stroke !== false).map((path) => path.d);
86908
86849
  return stroked.length > 0 ? stroked.join(" ") : void 0;
86909
86850
  }
86851
+ function round4(value) {
86852
+ return Math.round(value * 1e4) / 1e4;
86853
+ }
86854
+ function svgGradientId(elementId, suffix = "grad") {
86855
+ const seed = String(elementId).replace(/[^a-zA-Z0-9_-]/gu, "_");
86856
+ return `pptx-${suffix}-${seed}`;
86857
+ }
86858
+ function toSvgStops(stops) {
86859
+ return sanitizeGradientStops(stops).map((stop) => ({
86860
+ offset: round4(stop.position / 100),
86861
+ color: stop.color,
86862
+ ...typeof stop.opacity === "number" ? { opacity: round4(stop.opacity) } : {}
86863
+ }));
86864
+ }
86865
+ function linearEndpoints(angleDegrees) {
86866
+ const radians = angleDegrees * Math.PI / 180;
86867
+ const dx = Math.cos(radians);
86868
+ const dy = Math.sin(radians);
86869
+ const span = (Math.abs(dx) + Math.abs(dy)) / 2;
86870
+ return {
86871
+ x1: round4(0.5 - dx * span),
86872
+ y1: round4(0.5 - dy * span),
86873
+ x2: round4(0.5 + dx * span),
86874
+ y2: round4(0.5 + dy * span)
86875
+ };
86876
+ }
86877
+ function buildFromSource(source, id) {
86878
+ const { stops } = source;
86879
+ if (stops.length === 0) {
86880
+ return void 0;
86881
+ }
86882
+ if ((source.type || "linear") === "radial") {
86883
+ const { cx, cy } = computeGradientCenter(source.fillToRect, source.focalPoint);
86884
+ const fx = cx / 100;
86885
+ const fy = cy / 100;
86886
+ const r = Math.hypot(Math.max(fx, 1 - fx), Math.max(fy, 1 - fy));
86887
+ return { kind: "radial", id, cx: round4(fx), cy: round4(fy), r: round4(r), stops };
86888
+ }
86889
+ const angle = typeof source.angle === "number" && Number.isFinite(source.angle) ? source.angle : 90;
86890
+ return { kind: "linear", id, ...linearEndpoints(angle), stops };
86891
+ }
86892
+ function buildSvgGradientDef(style, elementId) {
86893
+ if (!style || style.fillMode !== "gradient") {
86894
+ return void 0;
86895
+ }
86896
+ return buildFromSource(
86897
+ {
86898
+ stops: toSvgStops(style.fillGradientStops),
86899
+ type: style.fillGradientType,
86900
+ angle: style.fillGradientAngle,
86901
+ fillToRect: style.fillGradientFillToRect,
86902
+ focalPoint: style.fillGradientFocalPoint
86903
+ },
86904
+ svgGradientId(elementId)
86905
+ );
86906
+ }
86907
+ function buildSvgStrokeGradientDef(style, elementId) {
86908
+ if (!style || style.strokeFillMode !== "gradient") {
86909
+ return void 0;
86910
+ }
86911
+ return buildFromSource(
86912
+ {
86913
+ stops: toSvgStops(style.strokeGradientStops),
86914
+ type: style.strokeGradientType,
86915
+ angle: style.strokeGradientAngle
86916
+ },
86917
+ svgGradientId(elementId, "stroke")
86918
+ );
86919
+ }
86920
+ function buildSvgStrokePatternDef(style, elementId) {
86921
+ if (!style || style.strokeFillMode !== "pattern" || !style.strokePatternPreset) {
86922
+ return void 0;
86923
+ }
86924
+ const fg = normalizeHexColor(style.strokeColor, "#000000");
86925
+ const bg = normalizeHexColor(style.strokePatternBackgroundColor, "#ffffff");
86926
+ const tile = getPatternTile(style.strokePatternPreset, fg, bg);
86927
+ if (!tile) {
86928
+ return void 0;
86929
+ }
86930
+ const markup = `<svg xmlns="http://www.w3.org/2000/svg" width="${tile.w}" height="${tile.h}">${tile.inner}</svg>`;
86931
+ return {
86932
+ kind: "pattern",
86933
+ id: svgGradientId(elementId, "strokepat"),
86934
+ width: tile.w,
86935
+ height: tile.h,
86936
+ href: `data:image/svg+xml,${encodeURIComponent(markup)}`
86937
+ };
86938
+ }
86939
+ function svgGradientFillRef(def) {
86940
+ return `url(#${def.id})`;
86941
+ }
86910
86942
  var DEFAULT_OPEN_PRESET_STROKE_WIDTH = 2;
86911
86943
  function outlinePathData(clipPath, width, height) {
86912
86944
  if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0) {
@@ -86984,6 +87016,29 @@ function strokeOutlineViewBox(element) {
86984
87016
  function suppressesCssBorder(element) {
86985
87017
  return buildStrokeOutline(element) !== void 0;
86986
87018
  }
87019
+ var HOLLOW_HIT_MIN_WIDTH = 10;
87020
+ function isHollowShapeElement(element) {
87021
+ if (element.type !== "shape" || !hasShapeProperties(element)) {
87022
+ return false;
87023
+ }
87024
+ const style = element.shapeStyle;
87025
+ const filled = style?.fillColor !== void 0 && style.fillColor !== "transparent" || style?.fillMode === "gradient" || style?.fillMode === "pattern" || style?.fillMode === "image" || style?.fillMode === "group" || Boolean(style?.fillGradient);
87026
+ if (filled) {
87027
+ return false;
87028
+ }
87029
+ return getElementTextContent(element).trim() === "";
87030
+ }
87031
+ function buildHollowHitOutline(element) {
87032
+ if (!isHollowShapeElement(element)) {
87033
+ return void 0;
87034
+ }
87035
+ const d = outlinePathData(getResolvedShapeClipPath(element), element.width, element.height);
87036
+ if (!d) {
87037
+ return void 0;
87038
+ }
87039
+ const strokeWidth = hasShapeProperties(element) ? element.shapeStyle?.strokeWidth ?? 0 : 0;
87040
+ return { d, strokeWidth: Math.max(strokeWidth * 3, HOLLOW_HIT_MIN_WIDTH) };
87041
+ }
86987
87042
  function hasStrokePaint(style) {
86988
87043
  if (!style || Math.max(0, style.strokeWidth ?? 0) <= 0) {
86989
87044
  return false;
@@ -92043,6 +92098,7 @@ function buildMultiLevelCategoryLabels(categoryLabels, categoryLevels, sourceInd
92043
92098
  const direction = labelsAbove ? -1 : 1;
92044
92099
  const fontPx = axis?.fontSize !== void 0 ? chartFontPx(axis.fontSize) : DEFAULT_CHART_TEXT_PX;
92045
92100
  const bandHeight = Math.max(fontPx, 8) + 4;
92101
+ const baselineShift = labelsAbove ? -0.2 * fontPx : 0.8 * fontPx;
92046
92102
  return levels.flatMap((level, levelIndex) => {
92047
92103
  const values = sourceIndices2.map((sourceIndex) => level[sourceIndex] ?? "");
92048
92104
  return groupedLabels(values).flatMap((group2) => {
@@ -92055,7 +92111,7 @@ function buildMultiLevelCategoryLabels(categoryLabels, categoryLevels, sourceInd
92055
92111
  {
92056
92112
  kind: "text",
92057
92113
  x: (startX + endX) / 2,
92058
- y: labelY + direction * (offset + levelIndex * bandHeight),
92114
+ y: labelY + direction * (offset + levelIndex * bandHeight) + baselineShift,
92059
92115
  text: group2.text,
92060
92116
  textAnchor,
92061
92117
  ...chartAxisTextStyle(axis)
@@ -95959,13 +96015,21 @@ function formatAxisValue2(val2, formatCode) {
95959
96015
  }
95960
96016
  return val2.toFixed(1);
95961
96017
  }
96018
+ function categoryAxisBand(chartData) {
96019
+ const axis = chartData.axes?.find(
96020
+ (candidate) => candidate.axisType === "catAx" || candidate.axisType === "dateAx"
96021
+ );
96022
+ const fontPx = axis?.fontSize !== void 0 ? chartFontPx(axis.fontSize) : DEFAULT_CHART_TEXT_PX;
96023
+ const offset = 4 + 8 * ((axis?.labelOffset ?? 100) / 100);
96024
+ return Math.max(24, offset + fontPx * 1.2);
96025
+ }
95962
96026
  function computePlotLayout(elementWidth, elementHeight, chartData, hasAxes, options) {
95963
96027
  const svgWidth = Math.max(1, elementWidth);
95964
96028
  const svgHeight = Math.max(1, elementHeight);
95965
96029
  let plotLeft = hasAxes ? 48 : 8;
95966
96030
  let plotTop = 8;
95967
96031
  let plotRight = svgWidth - 8;
95968
- let plotBottom = svgHeight - (hasAxes ? 24 : 8);
96032
+ let plotBottom = svgHeight - (hasAxes ? categoryAxisBand(chartData) : 8);
95969
96033
  const style = chartData.style;
95970
96034
  const legendPos = style?.legendPosition ?? "b";
95971
96035
  if (style?.hasTitle) {
@@ -109551,7 +109615,7 @@ function getRoundRectAdjustmentValue(element) {
109551
109615
  }
109552
109616
  return DEFAULT_ROUND_RECT_ADJUSTMENT;
109553
109617
  }
109554
- function getRoundRectRadiusPx(element) {
109618
+ function getRoundRectRadiusPx2(element) {
109555
109619
  const normalizedAdjustment = getRoundRectAdjustmentValue(element) / SHAPE_ADJUSTMENT_MAX;
109556
109620
  return Math.min(Math.max(element.width, 1), Math.max(element.height, 1)) * 0.5 * normalizedAdjustment;
109557
109621
  }
@@ -109564,7 +109628,7 @@ function getShapeAdjustmentHandleDescriptor(element) {
109564
109628
  return null;
109565
109629
  }
109566
109630
  const adjustmentValue = getRoundRectAdjustmentValue(element);
109567
- const radiusPx = getRoundRectRadiusPx(element);
109631
+ const radiusPx = getRoundRectRadiusPx2(element);
109568
109632
  const maxWidth = Math.max(element.width, MIN_ELEMENT_SIZE5);
109569
109633
  const handleInset = 5;
109570
109634
  const left = Math.max(handleInset, Math.min(maxWidth - handleInset, Math.round(radiusPx)));
@@ -123183,4 +123247,4 @@ function segmentFrameCount(durationMs, fps) {
123183
123247
  * `<p:extLst>` (optional)
123184
123248
  */
123185
123249
 
123186
- export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, POWERPOINT_METRIC_TRACKING, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartAreaFill, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, erasePresentationInkAt, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx, getSecondaryValueAxis, getSessionTabId, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isImageLikeElement, isInkElement, isKeyboardOpen, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, placeCaretAtEnd, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, proportionalLineHeight, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, schemaLabel, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs };
123250
+ export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, POWERPOINT_METRIC_TRACKING, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, availableQuickAccessCommands, backstageCardsFor, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildGlowBoxShadow, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildInnerShadowCssFromShapeStyle, buildJoinCollaborationConfig, buildMorphTransitionPlan, buildMotionPathPreview, buildMultiLayerShadowCss, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildPatternFillCss, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildReflectionCss, buildShadowCssFromShapeStyle, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBuildSpec, buildTextFillCss, buildTextReflectionCss, buildTextRunFilterChain, buildTextShadowCss, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canvasToJpegData, cell3DBevelCss, chartAreaFill, chartDataChangeType, chartPartToAttrs, clampCropValue, clampNotesFontSize, clampPercent, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeLayout, computeLayoutOptions, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeValueRange, computeValueRangeForChart, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, detectOrientation, detectTouchDevice, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, erasePresentationInkAt, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterRenderedElements, findChartPartTarget, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatAxisValueWithUnits, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateLogTicks, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineBorderWidth, getCompoundLineBoxShadow, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getConnectionSites, getContentPartReplayStyles, getCssBorderDashStyle, getDisplayUnitLabel, getDuotoneCachedResult, getEffectDagFilter, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGradientTileFlipCss, getGradientTileRectCss, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getInkReplayStyles, getInlineEditorSelection, getKinsokuLineBreakStyles, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSecondaryValueAxis, getSessionTabId, getShapeAdjustmentHandleDescriptor, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeFilterId, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTextAlphaOpacity, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementRendered, isExportAbortError, isHollowShapeElement, isIdentityRectClip, isImageLikeElement, isInkElement, isKeyboardOpen, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isTemplateElement, isTemplateElementId2 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditorKey, mapOutlineKey, mapPresentationKey, mayLeaveSlideShow, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, normalizeValue, notesSegmentsToSpans, observeYDocSlides, ooxmlDashToCssBorderStyle, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paletteColor, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, pickSupportedMimeType, placeAudienceWindow, placeCaretAtEnd, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, promoteSmartArtNode, proportionalLineHeight, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, rerouteConnectorsForMovedElements, resetPresenterTimer, resolveActionType, resolveAudienceScreenPlacement, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveCssTextAlign, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveFontForScript, resolveFontRefIdx, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveOleType, resolveParagraphAlign, resolveParagraphRtl, resolveParagraphStrutFontSize, resolvePictureBullet, resolveProfileInitial, resolveRegionCode, resolveShowSlideIndexes, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveViewerProfile, scanAvailableFontFamilies, schemaLabel, segmentByScript, segmentFrameCount, sendBackward, sendToBack, sequentialColorScale, seriesColor2 as seriesColor, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shadeColor2, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldUseSvgWarp, slideProgressPercent, slideStatusLabel, snapBoxToGrid, splitCell, splitSeriesByAxis, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, substituteFieldText, suppressesCssBorder, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, tintColor2, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withFrameSlides, withSlidesPerPage, writeStoredViewerPrefs };
Binary file
Binary file