pptx-react-viewer 3.4.1 → 3.5.1

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 (158) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{AiChatPanel-AIM55U76.mjs → AiChatPanel-6RN4FZ5Y.mjs} +4 -4
  3. package/dist/AiChatPanel-6RN4FZ5Y.mjs.br +0 -0
  4. package/dist/AiChatPanel-6RN4FZ5Y.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-Q2ZVO4RR.js → AiChatPanel-D5DDUEIW.js} +25 -25
  6. package/dist/AiChatPanel-D5DDUEIW.js.br +0 -0
  7. package/dist/AiChatPanel-D5DDUEIW.js.gz +0 -0
  8. package/dist/{Area3DChartScene-DNLGOR5F.mjs → Area3DChartScene-PWBCCYGS.mjs} +1 -1
  9. package/dist/Area3DChartScene-PWBCCYGS.mjs.br +1 -0
  10. package/dist/Area3DChartScene-PWBCCYGS.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-W5HVINQ6.js → Area3DChartScene-UH6DXEDV.js} +2 -2
  12. package/dist/Area3DChartScene-UH6DXEDV.js.br +0 -0
  13. package/dist/Area3DChartScene-UH6DXEDV.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-VYKQAY6X.mjs → Bar3DChartScene-6GDMTIFI.mjs} +1 -1
  15. package/dist/Bar3DChartScene-6GDMTIFI.mjs.br +0 -0
  16. package/dist/Bar3DChartScene-6GDMTIFI.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-SOO62TCP.js → Bar3DChartScene-HN54LAH5.js} +2 -2
  18. package/dist/Bar3DChartScene-HN54LAH5.js.br +0 -0
  19. package/dist/Bar3DChartScene-HN54LAH5.js.gz +0 -0
  20. package/dist/{Line3DChartScene-ZVELPNOD.mjs → Line3DChartScene-5WIHGKH4.mjs} +1 -1
  21. package/dist/Line3DChartScene-5WIHGKH4.mjs.br +1 -0
  22. package/dist/Line3DChartScene-5WIHGKH4.mjs.gz +0 -0
  23. package/dist/{Line3DChartScene-BAP3YA3R.js → Line3DChartScene-WSDPBF5W.js} +2 -2
  24. package/dist/Line3DChartScene-WSDPBF5W.js.br +0 -0
  25. package/dist/Line3DChartScene-WSDPBF5W.js.gz +0 -0
  26. package/dist/{Model3DScene-ZJWU5IUY.mjs → Model3DScene-7ZUKNMXA.mjs} +1 -1
  27. package/dist/Model3DScene-7ZUKNMXA.mjs.br +0 -0
  28. package/dist/Model3DScene-7ZUKNMXA.mjs.gz +0 -0
  29. package/dist/{Model3DScene-BWNVCCAZ.js → Model3DScene-GUYP4VJP.js} +2 -2
  30. package/dist/Model3DScene-GUYP4VJP.js.br +0 -0
  31. package/dist/Model3DScene-GUYP4VJP.js.gz +0 -0
  32. package/dist/{PieChart3DScene-NNLKJ6LN.mjs → PieChart3DScene-FBYOJF2T.mjs} +1 -1
  33. package/dist/PieChart3DScene-FBYOJF2T.mjs.br +0 -0
  34. package/dist/PieChart3DScene-FBYOJF2T.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-2DJE4BM3.js → PieChart3DScene-W7QK76IY.js} +2 -2
  36. package/dist/PieChart3DScene-W7QK76IY.js.br +0 -0
  37. package/dist/PieChart3DScene-W7QK76IY.js.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-WRSCQKJV.js → SurfaceChart3DScene-6SRHNAYR.js} +2 -2
  39. package/dist/SurfaceChart3DScene-6SRHNAYR.js.br +0 -0
  40. package/dist/SurfaceChart3DScene-6SRHNAYR.js.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-NWB4QAOI.mjs → SurfaceChart3DScene-QIXANTOO.mjs} +1 -1
  42. package/dist/SurfaceChart3DScene-QIXANTOO.mjs.br +0 -0
  43. package/dist/SurfaceChart3DScene-QIXANTOO.mjs.gz +0 -0
  44. package/dist/{chunk-EM3D67TB.mjs → chunk-2TKEP3LD.mjs} +43 -20
  45. package/dist/chunk-2TKEP3LD.mjs.br +0 -0
  46. package/dist/chunk-2TKEP3LD.mjs.gz +0 -0
  47. package/dist/{chunk-QEAU2XTI.mjs → chunk-3MJLEKOD.mjs} +81 -26
  48. package/dist/chunk-3MJLEKOD.mjs.br +0 -0
  49. package/dist/chunk-3MJLEKOD.mjs.gz +0 -0
  50. package/dist/{chunk-GKRE7272.js → chunk-BRUBTLWG.js} +173 -169
  51. package/dist/chunk-BRUBTLWG.js.br +0 -0
  52. package/dist/chunk-BRUBTLWG.js.gz +0 -0
  53. package/dist/{chunk-4YGGPPJZ.mjs → chunk-DGFYYQAK.mjs} +6 -2
  54. package/dist/chunk-DGFYYQAK.mjs.br +0 -0
  55. package/dist/chunk-DGFYYQAK.mjs.gz +0 -0
  56. package/dist/{chunk-XWUMM2TX.mjs → chunk-JCJ3EPG6.mjs} +1 -0
  57. package/dist/chunk-JCJ3EPG6.mjs.br +0 -0
  58. package/dist/chunk-JCJ3EPG6.mjs.gz +0 -0
  59. package/dist/{chunk-SEJEVNXW.js → chunk-MLDG7WX6.js} +250 -91
  60. package/dist/chunk-MLDG7WX6.js.br +0 -0
  61. package/dist/chunk-MLDG7WX6.js.gz +0 -0
  62. package/dist/{chunk-Y2B5EZEV.js → chunk-NZY4GXCF.js} +506 -451
  63. package/dist/chunk-NZY4GXCF.js.br +0 -0
  64. package/dist/chunk-NZY4GXCF.js.gz +0 -0
  65. package/dist/{chunk-PADP3NUM.mjs → chunk-P7SNHVMV.mjs} +247 -92
  66. package/dist/chunk-P7SNHVMV.mjs.br +0 -0
  67. package/dist/chunk-P7SNHVMV.mjs.gz +0 -0
  68. package/dist/{chunk-IJLTDBXT.mjs → chunk-QCFRIC6B.mjs} +1 -1
  69. package/dist/chunk-QCFRIC6B.mjs.br +0 -0
  70. package/dist/chunk-QCFRIC6B.mjs.gz +0 -0
  71. package/dist/{chunk-UNIJUD5C.js → chunk-UTIMT5CZ.js} +1 -0
  72. package/dist/chunk-UTIMT5CZ.js.br +0 -0
  73. package/dist/chunk-UTIMT5CZ.js.gz +0 -0
  74. package/dist/{chunk-WXQQ43IA.js → chunk-WPOZ2SAD.js} +1201 -1178
  75. package/dist/chunk-WPOZ2SAD.js.br +0 -0
  76. package/dist/chunk-WPOZ2SAD.js.gz +0 -0
  77. package/dist/{chunk-PDVJNNWP.js → chunk-ZGSPOPVM.js} +5 -5
  78. package/dist/chunk-ZGSPOPVM.js.br +0 -0
  79. package/dist/chunk-ZGSPOPVM.js.gz +0 -0
  80. package/dist/i18n.js +4 -4
  81. package/dist/i18n.js.br +0 -0
  82. package/dist/i18n.js.gz +0 -0
  83. package/dist/i18n.mjs +1 -1
  84. package/dist/i18n.mjs.br +0 -0
  85. package/dist/i18n.mjs.gz +0 -0
  86. package/dist/index.js +47 -47
  87. package/dist/index.js.br +0 -0
  88. package/dist/index.js.gz +0 -0
  89. package/dist/index.mjs +6 -6
  90. package/dist/index.mjs.br +0 -0
  91. package/dist/index.mjs.gz +0 -0
  92. package/dist/internals.d.ts +22 -0
  93. package/dist/internals.d.ts.map +1 -1
  94. package/dist/internals.js +79 -79
  95. package/dist/internals.js.br +0 -0
  96. package/dist/internals.js.gz +0 -0
  97. package/dist/internals.mjs +4 -4
  98. package/dist/internals.mjs.br +0 -0
  99. package/dist/internals.mjs.gz +0 -0
  100. package/dist/viewer/index.js +27 -27
  101. package/dist/viewer/index.js.br +0 -0
  102. package/dist/viewer/index.js.gz +0 -0
  103. package/dist/viewer/index.mjs +6 -6
  104. package/dist/viewer/index.mjs.br +0 -0
  105. package/dist/viewer/index.mjs.gz +0 -0
  106. package/package.json +1 -1
  107. package/dist/AiChatPanel-AIM55U76.mjs.br +0 -0
  108. package/dist/AiChatPanel-AIM55U76.mjs.gz +0 -0
  109. package/dist/AiChatPanel-Q2ZVO4RR.js.br +0 -0
  110. package/dist/AiChatPanel-Q2ZVO4RR.js.gz +0 -0
  111. package/dist/Area3DChartScene-DNLGOR5F.mjs.br +0 -0
  112. package/dist/Area3DChartScene-DNLGOR5F.mjs.gz +0 -0
  113. package/dist/Area3DChartScene-W5HVINQ6.js.br +0 -0
  114. package/dist/Area3DChartScene-W5HVINQ6.js.gz +0 -0
  115. package/dist/Bar3DChartScene-SOO62TCP.js.br +0 -0
  116. package/dist/Bar3DChartScene-SOO62TCP.js.gz +0 -0
  117. package/dist/Bar3DChartScene-VYKQAY6X.mjs.br +0 -0
  118. package/dist/Bar3DChartScene-VYKQAY6X.mjs.gz +0 -0
  119. package/dist/Line3DChartScene-BAP3YA3R.js.br +0 -0
  120. package/dist/Line3DChartScene-BAP3YA3R.js.gz +0 -0
  121. package/dist/Line3DChartScene-ZVELPNOD.mjs.br +0 -0
  122. package/dist/Line3DChartScene-ZVELPNOD.mjs.gz +0 -0
  123. package/dist/Model3DScene-BWNVCCAZ.js.br +0 -0
  124. package/dist/Model3DScene-BWNVCCAZ.js.gz +0 -0
  125. package/dist/Model3DScene-ZJWU5IUY.mjs.br +0 -0
  126. package/dist/Model3DScene-ZJWU5IUY.mjs.gz +0 -0
  127. package/dist/PieChart3DScene-2DJE4BM3.js.br +0 -0
  128. package/dist/PieChart3DScene-2DJE4BM3.js.gz +0 -0
  129. package/dist/PieChart3DScene-NNLKJ6LN.mjs.br +0 -0
  130. package/dist/PieChart3DScene-NNLKJ6LN.mjs.gz +0 -0
  131. package/dist/SurfaceChart3DScene-NWB4QAOI.mjs.br +0 -0
  132. package/dist/SurfaceChart3DScene-NWB4QAOI.mjs.gz +0 -0
  133. package/dist/SurfaceChart3DScene-WRSCQKJV.js.br +0 -0
  134. package/dist/SurfaceChart3DScene-WRSCQKJV.js.gz +0 -0
  135. package/dist/chunk-4YGGPPJZ.mjs.br +0 -0
  136. package/dist/chunk-4YGGPPJZ.mjs.gz +0 -0
  137. package/dist/chunk-EM3D67TB.mjs.br +0 -0
  138. package/dist/chunk-EM3D67TB.mjs.gz +0 -0
  139. package/dist/chunk-GKRE7272.js.br +0 -0
  140. package/dist/chunk-GKRE7272.js.gz +0 -0
  141. package/dist/chunk-IJLTDBXT.mjs.br +0 -0
  142. package/dist/chunk-IJLTDBXT.mjs.gz +0 -0
  143. package/dist/chunk-PADP3NUM.mjs.br +0 -0
  144. package/dist/chunk-PADP3NUM.mjs.gz +0 -0
  145. package/dist/chunk-PDVJNNWP.js.br +0 -0
  146. package/dist/chunk-PDVJNNWP.js.gz +0 -0
  147. package/dist/chunk-QEAU2XTI.mjs.br +0 -0
  148. package/dist/chunk-QEAU2XTI.mjs.gz +0 -0
  149. package/dist/chunk-SEJEVNXW.js.br +0 -0
  150. package/dist/chunk-SEJEVNXW.js.gz +0 -0
  151. package/dist/chunk-UNIJUD5C.js.br +0 -0
  152. package/dist/chunk-UNIJUD5C.js.gz +0 -0
  153. package/dist/chunk-WXQQ43IA.js.br +0 -0
  154. package/dist/chunk-WXQQ43IA.js.gz +0 -0
  155. package/dist/chunk-XWUMM2TX.mjs.br +0 -0
  156. package/dist/chunk-XWUMM2TX.mjs.gz +0 -0
  157. package/dist/chunk-Y2B5EZEV.js.br +0 -0
  158. package/dist/chunk-Y2B5EZEV.js.gz +0 -0
Binary file
Binary file
@@ -7614,6 +7614,23 @@ function orderedPathCommandEntries(path, ensureArray18) {
7614
7614
  return index < items.length ? [[key2, items[index]]] : [];
7615
7615
  });
7616
7616
  }
7617
+ function inheritCustomGeometryCommandOrder(target, ...sources) {
7618
+ let targetSignature;
7619
+ for (const source of sources) {
7620
+ if (!source) {
7621
+ continue;
7622
+ }
7623
+ const order = commandOrder.get(source);
7624
+ if (!order) {
7625
+ continue;
7626
+ }
7627
+ targetSignature ??= pathSignature(target);
7628
+ if (orderSignature(order) === targetSignature) {
7629
+ commandOrder.set(target, [...order]);
7630
+ return;
7631
+ }
7632
+ }
7633
+ }
7617
7634
  function orderedXmlKey(baseName, order) {
7618
7635
  return `${baseName}${ORDER_SUFFIX}${order}`;
7619
7636
  }
@@ -21647,7 +21664,8 @@ var PptxSlideBackgroundBuilder = class {
21647
21664
  const existingBg = cSld["p:bg"];
21648
21665
  const existingBgPr = existingBg?.["p:bgPr"];
21649
21666
  const existingHasBlipFill = existingBgPr?.["a:blipFill"] !== void 0;
21650
- if (!hasDataUrlBackgroundImage && existingHasBlipFill) {
21667
+ const backgroundImageUnchangedFromAuthored = init.authoredBackground === void 0 || rawBackgroundImage === (init.authoredBackground.image ?? "");
21668
+ if (!hasDataUrlBackgroundImage && existingHasBlipFill && backgroundImageUnchangedFromAuthored) {
21651
21669
  this.reorderCSldBgFirst(cSld, existingBg);
21652
21670
  init.slideNode["p:cSld"] = cSld;
21653
21671
  return;
@@ -35988,6 +36006,14 @@ function reResolveSlideColors(slides, oldColorMap, newColorScheme) {
35988
36006
  }
35989
36007
  return slides.map((slide) => remapSlideColors(slide, remap));
35990
36008
  }
36009
+ function reResolveElementColors(elements2, oldColorMap, newColorScheme) {
36010
+ const newMap = buildThemeColorMap(newColorScheme);
36011
+ const remap = buildColorRemapTable(oldColorMap, newMap);
36012
+ if (remap.size === 0) {
36013
+ return elements2;
36014
+ }
36015
+ return elements2.map((el) => remapElementColors(el, remap));
36016
+ }
35991
36017
  function applyThemeToData(data, newColorScheme, newFontScheme, themeName) {
35992
36018
  const oldColorMap = data.themeColorMap ?? {};
35993
36019
  const newColorMap = buildThemeColorMap(newColorScheme);
@@ -52219,13 +52245,22 @@ function mergeXmlObjects(base, override, depth = 0) {
52219
52245
  return void 0;
52220
52246
  }
52221
52247
  if (!base) {
52222
- return override ? { ...override } : void 0;
52248
+ if (!override) {
52249
+ return void 0;
52250
+ }
52251
+ const merged2 = { ...override };
52252
+ inheritCustomGeometryCommandOrder(merged2, override);
52253
+ return merged2;
52223
52254
  }
52224
52255
  if (!override) {
52225
- return { ...base };
52256
+ const merged2 = { ...base };
52257
+ inheritCustomGeometryCommandOrder(merged2, base);
52258
+ return merged2;
52226
52259
  }
52227
52260
  if (depth > MAX_MERGE_DEPTH) {
52228
- return { ...base, ...override };
52261
+ const merged2 = { ...base, ...override };
52262
+ inheritCustomGeometryCommandOrder(merged2, override, base);
52263
+ return merged2;
52229
52264
  }
52230
52265
  const merged = { ...base };
52231
52266
  for (const [key2, value] of Object.entries(override)) {
@@ -52238,6 +52273,7 @@ function mergeXmlObjects(base, override, depth = 0) {
52238
52273
  merged[key2] = value;
52239
52274
  }
52240
52275
  }
52276
+ inheritCustomGeometryCommandOrder(merged, override, base);
52241
52277
  return merged;
52242
52278
  }
52243
52279
  var RELATIONSHIPS_NS = "http://schemas.openxmlformats.org/package/2006/relationships";
@@ -62933,8 +62969,16 @@ var PptxHandlerRuntime13 = class extends PptxHandlerRuntime12 {
62933
62969
  if (!bullet) {
62934
62970
  return false;
62935
62971
  }
62936
- const marker = bullet.char ? `${bullet.char} ` : bullet.imageRelId || bullet.imageDataUrl ? "\u{1F4CE} " : bullet.autoNumType ? void 0 : "\u2022 ";
62937
- return marker ? segment.text === marker : bullet.paragraphIndex !== void 0;
62972
+ if (bullet.autoNumType) {
62973
+ if (bullet.paragraphIndex === void 0) {
62974
+ return false;
62975
+ }
62976
+ const ordinal = Math.max(1, (bullet.autoNumStartAt ?? 1) + bullet.paragraphIndex);
62977
+ const marker2 = formatAutoNumberMarker(bullet.autoNumType, ordinal);
62978
+ return segment.text === marker2 || segment.text === `${marker2} `;
62979
+ }
62980
+ const marker = bullet.char ? `${bullet.char} ` : bullet.imageRelId || bullet.imageDataUrl ? "\u{1F4CE} " : "\u2022 ";
62981
+ return segment.text === marker;
62938
62982
  }
62939
62983
  createParagraphsFromTextContent(text22, textStyle, textSegments, resolveHyperlinkRelationshipId) {
62940
62984
  const runScopedTextStyle = toRunScopedTextStyle(textStyle);
@@ -72449,6 +72493,9 @@ var PptxHandlerRuntime40 = class _PptxHandlerRuntime17 extends PptxHandlerRuntim
72449
72493
  if (slide.showMasterPhAnim !== void 0) {
72450
72494
  slideNode["@_showMasterPhAnim"] = slide.showMasterPhAnim ? "1" : "0";
72451
72495
  }
72496
+ if (slide.showMasterShapes !== void 0) {
72497
+ slideNode["@_showMasterSp"] = slide.showMasterShapes ? "1" : "0";
72498
+ }
72452
72499
  slideNode["p:clrMapOvr"] = buildClrMapOverrideXml(slide.clrMapOverride);
72453
72500
  const spTree = this.ensureSlideTree(xmlObj);
72454
72501
  writeCommonSlideDataName(slideNode["p:cSld"], slide.name);
@@ -123197,6 +123244,9 @@ function elementLockTogglePatch(shouldLock) {
123197
123244
  function filterInteractableIds(ids, lookup, interaction) {
123198
123245
  return ids.filter((id) => canInteractWithElement(lookup(id), interaction));
123199
123246
  }
123247
+ function shouldShowElementHandles(isEditableCanvas, isSelected, selectedCount) {
123248
+ return isEditableCanvas && isSelected && selectedCount <= 1;
123249
+ }
123200
123250
  function getImageFitStyle(el) {
123201
123251
  const uncropped = {
123202
123252
  width: "100%",
@@ -123281,6 +123331,89 @@ function round2(value) {
123281
123331
  function round6(value) {
123282
123332
  return Math.round(value * 1e6) / 1e6;
123283
123333
  }
123334
+ function resolvePictureBullet(info, baseFontSize) {
123335
+ if (!info.imageDataUrl && !info.imageRelId && !info.imageBlipFillXml) {
123336
+ return void 0;
123337
+ }
123338
+ const sizePx = typeof info.sizePts === "number" ? info.sizePts : typeof info.sizePercent === "number" ? baseFontSize * (info.sizePercent / 100) : baseFontSize;
123339
+ return {
123340
+ ...info.imageDataUrl ? { src: info.imageDataUrl } : {},
123341
+ sizePx,
123342
+ fallbackMarker: "\u2022",
123343
+ accessibleLabel: "Bullet",
123344
+ ...info.imageRelId ? { imageRelId: info.imageRelId } : {}
123345
+ };
123346
+ }
123347
+ function resolveParagraphBullet(firstSegment, baseFontSize = firstSegment?.style?.fontSize ?? 16) {
123348
+ if (!firstSegment) {
123349
+ return void 0;
123350
+ }
123351
+ if (firstSegment.style?.listType === "none") {
123352
+ return void 0;
123353
+ }
123354
+ const info = firstSegment.bulletInfo;
123355
+ if (!info || info.none) {
123356
+ return void 0;
123357
+ }
123358
+ const color2 = info.color;
123359
+ const fontFamily = info.fontFamily;
123360
+ const sizePts = typeof info.sizePts === "number" ? info.sizePts : void 0;
123361
+ const sizePercent = typeof info.sizePercent === "number" ? info.sizePercent : void 0;
123362
+ const picture = resolvePictureBullet(info, baseFontSize);
123363
+ if (picture) {
123364
+ return {
123365
+ marker: picture.fallbackMarker,
123366
+ isNumbered: false,
123367
+ color: color2,
123368
+ fontFamily,
123369
+ sizePts,
123370
+ sizePercent,
123371
+ picture
123372
+ };
123373
+ }
123374
+ if (info.autoNumType) {
123375
+ const startAt = typeof info.autoNumStartAt === "number" ? info.autoNumStartAt : 1;
123376
+ const paraIdx = typeof info.paragraphIndex === "number" ? info.paragraphIndex : 0;
123377
+ const seqNum = Math.max(1, startAt + paraIdx);
123378
+ return {
123379
+ marker: formatAutoNumberMarker(info.autoNumType, seqNum),
123380
+ isNumbered: true,
123381
+ color: color2,
123382
+ fontFamily,
123383
+ sizePts,
123384
+ sizePercent
123385
+ };
123386
+ }
123387
+ if (info.char) {
123388
+ return { marker: info.char, isNumbered: false, color: color2, fontFamily, sizePts, sizePercent };
123389
+ }
123390
+ return void 0;
123391
+ }
123392
+ var INDENT_PX_PER_LEVEL = 18;
123393
+ function bulletIndentPx(level) {
123394
+ const lvl = typeof level === "number" && level > 0 ? level : 0;
123395
+ return lvl * INDENT_PX_PER_LEVEL;
123396
+ }
123397
+ function resolveParagraphIndent(paraIndent, paragraphLevel) {
123398
+ const marginLeft = typeof paraIndent?.marginLeft === "number" && paraIndent.marginLeft !== 0 ? paraIndent.marginLeft : void 0;
123399
+ const textIndent = typeof paraIndent?.indent === "number" && paraIndent.indent !== 0 ? paraIndent.indent : void 0;
123400
+ if (marginLeft === void 0 && textIndent === void 0) {
123401
+ const levelPx = bulletIndentPx(paragraphLevel);
123402
+ return levelPx > 0 ? { marginLeftPx: levelPx } : {};
123403
+ }
123404
+ return { marginLeftPx: marginLeft, textIndentPx: textIndent };
123405
+ }
123406
+ function isBulletMarkerSegment(segment) {
123407
+ const bullet = segment.bulletInfo;
123408
+ if (!bullet || bullet.none) {
123409
+ return false;
123410
+ }
123411
+ const resolved = resolveParagraphBullet(segment);
123412
+ if (!resolved) {
123413
+ return false;
123414
+ }
123415
+ return segment.text.trim() === resolved.marker.trim() && segment.text.trim().length > 0;
123416
+ }
123284
123417
  var OUTLINE_VIEW_ATTR = "data-pptx-outline-view";
123285
123418
  var OUTLINE_ROW_ATTR = "data-pptx-outline-row";
123286
123419
  var OUTLINE_SLIDE_ATTR = "data-pptx-outline-slide";
@@ -123336,10 +123469,13 @@ function isBulletMarker(segment) {
123336
123469
  if (!bullet) {
123337
123470
  return false;
123338
123471
  }
123339
- const marker = bullet.char ? `${bullet.char} ` : bullet.imageRelId || bullet.imageDataUrl ? "\u{1F4CE} " : bullet.autoNumType ? void 0 : "\u2022 ";
123340
- return marker ? segment.text === marker : bullet.paragraphIndex !== void 0;
123472
+ if (bullet.autoNumType) {
123473
+ return bullet.paragraphIndex !== void 0 && isBulletMarkerSegment(segment);
123474
+ }
123475
+ const marker = bullet.char ? `${bullet.char} ` : bullet.imageRelId || bullet.imageDataUrl ? "\u{1F4CE} " : "\u2022 ";
123476
+ return segment.text === marker;
123341
123477
  }
123342
- function isParagraphSeparator(segment) {
123478
+ function isParagraphSeparator2(segment) {
123343
123479
  return Boolean(segment.isParagraphBreak) || segment.text === "\n" && !segment.isLineBreak;
123344
123480
  }
123345
123481
  function groupElementParagraphs(element) {
@@ -123353,7 +123489,7 @@ function groupElementParagraphs(element) {
123353
123489
  }
123354
123490
  const groups = [{ content: [] }];
123355
123491
  for (const segment of segments) {
123356
- if (isParagraphSeparator(segment)) {
123492
+ if (isParagraphSeparator2(segment)) {
123357
123493
  groups.push({ content: [] });
123358
123494
  continue;
123359
123495
  }
@@ -125100,6 +125236,7 @@ var translationsEn = {
125100
125236
  "pptx.slideBackground.backgroundPreview": "Background preview",
125101
125237
  "pptx.slideBackground.removeBackgroundImage": "Remove background image",
125102
125238
  "pptx.slideBackground.clearBackground": "Clear Background",
125239
+ "pptx.slideBackground.hideBackgroundGraphics": "Hide Background Graphics",
125103
125240
  "pptx.presentationSettings.showType": "Show type",
125104
125241
  "pptx.presentationSettings.showTypePresented": "Presented",
125105
125242
  "pptx.presentationSettings.showTypeBrowsed": "Browsed",
@@ -128378,78 +128515,6 @@ function rulerDragToGuidePosition(pointerOffsetPx, scale, slideLengthPx) {
128378
128515
  }
128379
128516
  return position2;
128380
128517
  }
128381
- function resolvePictureBullet(info, baseFontSize) {
128382
- if (!info.imageDataUrl && !info.imageRelId && !info.imageBlipFillXml) {
128383
- return void 0;
128384
- }
128385
- const sizePx = typeof info.sizePts === "number" ? info.sizePts : typeof info.sizePercent === "number" ? baseFontSize * (info.sizePercent / 100) : baseFontSize;
128386
- return {
128387
- ...info.imageDataUrl ? { src: info.imageDataUrl } : {},
128388
- sizePx,
128389
- fallbackMarker: "\u2022",
128390
- accessibleLabel: "Bullet",
128391
- ...info.imageRelId ? { imageRelId: info.imageRelId } : {}
128392
- };
128393
- }
128394
- function resolveParagraphBullet(firstSegment, baseFontSize = firstSegment?.style?.fontSize ?? 16) {
128395
- if (!firstSegment) {
128396
- return void 0;
128397
- }
128398
- if (firstSegment.style?.listType === "none") {
128399
- return void 0;
128400
- }
128401
- const info = firstSegment.bulletInfo;
128402
- if (!info || info.none) {
128403
- return void 0;
128404
- }
128405
- const color2 = info.color;
128406
- const fontFamily = info.fontFamily;
128407
- const sizePts = typeof info.sizePts === "number" ? info.sizePts : void 0;
128408
- const sizePercent = typeof info.sizePercent === "number" ? info.sizePercent : void 0;
128409
- const picture = resolvePictureBullet(info, baseFontSize);
128410
- if (picture) {
128411
- return {
128412
- marker: picture.fallbackMarker,
128413
- isNumbered: false,
128414
- color: color2,
128415
- fontFamily,
128416
- sizePts,
128417
- sizePercent,
128418
- picture
128419
- };
128420
- }
128421
- if (info.autoNumType) {
128422
- const startAt = typeof info.autoNumStartAt === "number" ? info.autoNumStartAt : 1;
128423
- const paraIdx = typeof info.paragraphIndex === "number" ? info.paragraphIndex : 0;
128424
- const seqNum = Math.max(1, startAt + paraIdx);
128425
- return {
128426
- marker: formatAutoNumberMarker(info.autoNumType, seqNum),
128427
- isNumbered: true,
128428
- color: color2,
128429
- fontFamily,
128430
- sizePts,
128431
- sizePercent
128432
- };
128433
- }
128434
- if (info.char) {
128435
- return { marker: info.char, isNumbered: false, color: color2, fontFamily, sizePts, sizePercent };
128436
- }
128437
- return void 0;
128438
- }
128439
- var INDENT_PX_PER_LEVEL = 18;
128440
- function bulletIndentPx(level) {
128441
- const lvl = typeof level === "number" && level > 0 ? level : 0;
128442
- return lvl * INDENT_PX_PER_LEVEL;
128443
- }
128444
- function resolveParagraphIndent(paraIndent, paragraphLevel) {
128445
- const marginLeft = typeof paraIndent?.marginLeft === "number" && paraIndent.marginLeft !== 0 ? paraIndent.marginLeft : void 0;
128446
- const textIndent = typeof paraIndent?.indent === "number" && paraIndent.indent !== 0 ? paraIndent.indent : void 0;
128447
- if (marginLeft === void 0 && textIndent === void 0) {
128448
- const levelPx = bulletIndentPx(paragraphLevel);
128449
- return levelPx > 0 ? { marginLeftPx: levelPx } : {};
128450
- }
128451
- return { marginLeftPx: marginLeft, textIndentPx: textIndent };
128452
- }
128453
128518
  var DEBOUNCE_MS = 600;
128454
128519
  var EXPANDED_MAX_HEIGHT = 200;
128455
128520
  var PX_TO_PT = 0.75;
@@ -133813,6 +133878,26 @@ function hasCopyableFormat(element) {
133813
133878
  }
133814
133879
  return hasShapeProperties(element) || hasTextProperties(element);
133815
133880
  }
133881
+ function withoutRenderedBulletPrefix(text22, originalSegments, dedicatedMarker) {
133882
+ if (!dedicatedMarker) {
133883
+ return text22;
133884
+ }
133885
+ const resolved = resolveParagraphBullet(dedicatedMarker);
133886
+ if (!resolved || !text22.startsWith(resolved.marker)) {
133887
+ return text22;
133888
+ }
133889
+ const withoutMarker = text22.slice(resolved.marker.length);
133890
+ const originalContent = originalSegments.slice(1).map((segment) => segment.text).join("");
133891
+ if (originalContent.trim().length === 0) {
133892
+ return text22;
133893
+ }
133894
+ const originalLeadingSpaces = originalContent.length - originalContent.trimStart().length;
133895
+ const editedLeadingSpaces = withoutMarker.length - withoutMarker.trimStart().length;
133896
+ if (editedLeadingSpaces > originalLeadingSpaces) {
133897
+ return withoutMarker.slice(1);
133898
+ }
133899
+ return withoutMarker;
133900
+ }
133816
133901
  function isAtomicOriginalSegment(seg) {
133817
133902
  return seg.fieldType !== void 0 || seg.equationXml !== void 0;
133818
133903
  }
@@ -133837,26 +133922,61 @@ function copySegmentMetadata(from, to) {
133837
133922
  }
133838
133923
  return to;
133839
133924
  }
133925
+ function restoreParagraphMetadata(from, segments) {
133926
+ if (segments.length === 0) {
133927
+ return segments;
133928
+ }
133929
+ const [first, ...rest] = segments;
133930
+ const restored = { ...first };
133931
+ delete restored.paragraphLevel;
133932
+ delete restored.paragraphProperties;
133933
+ delete restored.endParaRunProperties;
133934
+ if (from?.paragraphLevel !== void 0) {
133935
+ restored.paragraphLevel = from.paragraphLevel;
133936
+ }
133937
+ if (from?.paragraphProperties !== void 0) {
133938
+ restored.paragraphProperties = from.paragraphProperties;
133939
+ }
133940
+ if (from?.endParaRunProperties !== void 0) {
133941
+ restored.endParaRunProperties = from.endParaRunProperties;
133942
+ }
133943
+ return [restored, ...rest];
133944
+ }
133840
133945
  function remapTextToSegments(newText, originalSegments, elementTextStyle) {
133841
133946
  const fallbackStyle = { ...elementTextStyle };
133842
133947
  if (!originalSegments || originalSegments.length === 0) {
133843
133948
  return [{ text: newText, style: fallbackStyle }];
133844
133949
  }
133845
- const originalParagraphs = [[]];
133950
+ const originalParagraphs = [
133951
+ { segments: [] }
133952
+ ];
133846
133953
  for (const seg of originalSegments) {
133847
133954
  if (seg.text === "\n" || seg.isParagraphBreak) {
133848
- originalParagraphs.push([]);
133955
+ originalParagraphs[originalParagraphs.length - 1].terminator = seg;
133956
+ originalParagraphs.push({ segments: [] });
133849
133957
  } else {
133850
- originalParagraphs[originalParagraphs.length - 1].push(seg);
133958
+ originalParagraphs[originalParagraphs.length - 1].segments.push(seg);
133851
133959
  }
133852
133960
  }
133853
133961
  const newParagraphTexts = newText.split("\n");
133854
- const firstContentSeg = originalParagraphs.flat().find((s) => s.text.trim().length > 0);
133962
+ const firstContentSeg = originalParagraphs.flatMap((paragraph) => paragraph.segments).find((s) => s.text.trim().length > 0);
133855
133963
  const baseFallbackStyle = firstContentSeg?.style ? { ...firstContentSeg.style } : fallbackStyle;
133856
133964
  function remapParagraph(paraNewText, paraOrigSegments) {
133857
133965
  if (paraOrigSegments.length === 0) {
133858
133966
  return paraNewText.length > 0 ? [{ text: paraNewText, style: { ...baseFallbackStyle } }] : [{ text: "", style: { ...baseFallbackStyle } }];
133859
133967
  }
133968
+ const firstSegment = paraOrigSegments[0];
133969
+ const dedicatedMarker = isBulletMarkerSegment(firstSegment) && (!firstSegment.bulletInfo?.autoNumType || firstSegment.bulletInfo.paragraphIndex !== void 0) ? firstSegment : void 0;
133970
+ if (dedicatedMarker) {
133971
+ const contentSegments = paraOrigSegments.slice(1);
133972
+ const contentText = withoutRenderedBulletPrefix(
133973
+ paraNewText,
133974
+ paraOrigSegments,
133975
+ dedicatedMarker
133976
+ );
133977
+ const content = contentSegments.length > 0 ? remapParagraph(contentText, contentSegments) : [{ text: contentText, style: { ...dedicatedMarker.style } }];
133978
+ return [dedicatedMarker, ...content];
133979
+ }
133860
133980
  const paragraphBulletInfo = paraOrigSegments[0].bulletInfo;
133861
133981
  if (paraNewText.length === 0) {
133862
133982
  const emptyStyle = { ...paraOrigSegments[0].style };
@@ -133926,15 +134046,19 @@ function remapTextToSegments(newText, originalSegments, elementTextStyle) {
133926
134046
  return remapped;
133927
134047
  }
133928
134048
  const output = [];
133929
- const lastOrigPara = originalParagraphs[originalParagraphs.length - 1];
134049
+ const lastOrigPara = originalParagraphs[originalParagraphs.length - 1]?.segments;
133930
134050
  for (let pi = 0; pi < newParagraphTexts.length; pi++) {
133931
134051
  if (pi > 0) {
133932
- const precedingOrigPara = originalParagraphs[pi - 1] ?? [];
134052
+ const precedingOrigPara = originalParagraphs[pi - 1]?.segments ?? [];
133933
134053
  const breakStyle = precedingOrigPara[0]?.style ? { ...precedingOrigPara[0].style } : { ...baseFallbackStyle };
133934
134054
  output.push({ text: "\n", style: breakStyle, isParagraphBreak: true });
133935
134055
  }
133936
- const origPara = originalParagraphs[pi] ?? lastOrigPara ?? [];
133937
- const paraSegments = remapParagraph(newParagraphTexts[pi], origPara);
134056
+ const originalParagraph = originalParagraphs[pi];
134057
+ const origPara = originalParagraph?.segments ?? lastOrigPara ?? [];
134058
+ const paraSegments = restoreParagraphMetadata(
134059
+ originalParagraph?.segments[0] ?? originalParagraph?.terminator,
134060
+ remapParagraph(newParagraphTexts[pi], origPara)
134061
+ );
133938
134062
  output.push(...paraSegments);
133939
134063
  }
133940
134064
  return output.length > 0 ? output : [{ text: "", style: { ...baseFallbackStyle } }];
@@ -149076,6 +149200,9 @@ function resolveTemplateBackgroundRows(activeSlide, slideMasters, fallbackLayout
149076
149200
  }
149077
149201
  return result;
149078
149202
  }
149203
+ function visibleTemplateElements(slide, templateElements) {
149204
+ return slide?.showMasterShapes === false ? [] : templateElements;
149205
+ }
149079
149206
  function partitionTemplateElements(slides) {
149080
149207
  const templateElementsBySlideId = {};
149081
149208
  const nextSlides = slides.map((slide) => {
@@ -149097,7 +149224,7 @@ function buildSaveSlides(slides, templateElementsBySlideId) {
149097
149224
  var DEFAULT_PREVIEW_ELEMENT_CAP = 500;
149098
149225
  function buildPreviewElements(slide, templateElements = [], options) {
149099
149226
  const cap = options?.cap ?? DEFAULT_PREVIEW_ELEMENT_CAP;
149100
- const merged = [...templateElements, ...slide.elements];
149227
+ const merged = [...visibleTemplateElements(slide, templateElements), ...slide.elements];
149101
149228
  if (cap > 0 && merged.length > cap) {
149102
149229
  return merged.slice(0, cap);
149103
149230
  }
@@ -152269,6 +152396,34 @@ function updateElement(slides, slideIndex, elementId, updates) {
152269
152396
  )
152270
152397
  );
152271
152398
  }
152399
+ function readEditableText(root) {
152400
+ let out = "";
152401
+ const walk2 = (node) => {
152402
+ for (const child27 of Array.from(node.childNodes)) {
152403
+ if (child27.nodeType === 3) {
152404
+ out += child27.nodeValue ?? "";
152405
+ continue;
152406
+ }
152407
+ if (!(child27 instanceof HTMLElement)) {
152408
+ continue;
152409
+ }
152410
+ if (child27.hasAttribute("data-pptx-bullet-marker")) {
152411
+ continue;
152412
+ }
152413
+ if (child27.tagName === "BR") {
152414
+ out += "\n";
152415
+ continue;
152416
+ }
152417
+ const isBlock = child27.tagName === "DIV" || child27.tagName === "P";
152418
+ if (isBlock && out.length > 0 && !out.endsWith("\n")) {
152419
+ out += "\n";
152420
+ }
152421
+ walk2(child27);
152422
+ }
152423
+ };
152424
+ walk2(root);
152425
+ return out;
152426
+ }
152272
152427
  var STROKE_DASH_OPTIONS = [
152273
152428
  { value: "solid", label: "Solid", i18nKey: "pptx.stroke.dashSolid" },
152274
152429
  { value: "dot", label: "Dot", i18nKey: "pptx.stroke.dashDot" },
@@ -154482,4 +154637,4 @@ function segmentFrameCount(durationMs, fps) {
154482
154637
  * `<p:extLst>` (optional)
154483
154638
  */
154484
154639
 
154485
- export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_TYPE_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, COMMON_FONT_SIZES, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_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_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, 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, EXPANDED_MAX_HEIGHT, 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, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, 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_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, 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, PATTERN_PRESET_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, 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, RADAR_STYLE_OPTIONS, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, STROKE_DASH_OPTIONS, SURFACE_WIREFRAME_OPTIONS, 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_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_OPTIONS, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTagToCollections, advanceChartValueDrag, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyAnimationTimelineOrder, applyAutoCorrect, applyCaseTransformToSegments, applyChartBuildReveal, applyChartPartHighlight, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyImagePathPatches, applyMasterViewCrudAction, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyTableStylePreset, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, bar3DShapePatch, beginChartValueDrag, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildAreaChart3DDataForElement, buildBarActions, buildBarChart3DDataForElement, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLineChart3DDataForElement, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPieChart3DDataForElement, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRectPathGradient, buildRunTabLines, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPreviewElement, buildStrokeOutline, buildStrokePathD, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSurfaceChart3DDataForElement, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canAddTopLevelNode, canCommitActionType, canGoNext, canGoPrevious, canGroupSelection, canInteractWithElement, canRemoveTopLevelNode, canSetStrokeWidth, canUngroupSelection, cancelBuildReveal, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartGridlinesPatch, chartGridlinesState, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampOptionNumber, clampPercent2, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, clearTransitionSound, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectReferencedFontFamilies, collectUsedFonts, colorWithOpacity, commentMentionQuery, commentTextSegments, comparePresentation, compatToastStackStyle, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, cursorForTool, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeFontEmbedding, describeSmartArtBounds, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, editCommentInList, elementActionToPptxAction, elementIdSelector, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterHiddenSlideIndices, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findSmartArtNodeText, finishPrintWindow, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNibMarks, generateNoteLineCount, generatePressureCircles, generateTicks, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCropShapeClipPath, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundState, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPresetShapeVectorGeometry, getPrintableArea, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbUnit, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertCommentMention, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isSeriesUsingSecondaryAxis, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, isWedgeCalloutPresetShape, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, lockResizeAspect, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideShowStartKey, mapSlideSorterKey, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewPseudoSlide, matchCommentMentionAuthors, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, modelDataToBlobUrl, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountAreaChart3D, mountBarChart3D, mountLineChart3D, mountModel3D, mountPieChart3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, mruColorsPatch, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPendingPrintWindow, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, placeholderPromptDescriptor, playFeedbackSound, playGroup, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, pushRecentColor, quickStyleSwatchCss, radarStylePatch, reResolveSlideColors, readBackstageRecentFile, readOnlyRecommendation, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCrossSlideAudio, registerCustomFont, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolve3DRenderingFlags, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDefaultPrintSettings, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveExpiredAutosaveSnapshots, resolveFontKerning, resolveGoogleWebfontHref, resolveGroupChildFill, resolveHistoryDepth, resolveImageResolutionScale, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveInlineEditAutoFitHeight, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolveOleVerbTarget, resolveOptionRootClasses, resolvePalette, resolvePresentationAction, resolveProfileInitial, resolveScreenTip, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTemplateBackgroundRows, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scaleSlidesForSizeChange, scanAvailableFontFamilies, scheduleAutoAdvanceChain, schemaLabel, scopeLayoutOptionsToSlide, seedRecentColors, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, seriesSecondaryAxisPatch, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setEffectSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunByScriptFont, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, strokeWidthOf, styleShadowFilter, substituteFieldText, surfaceWireframePatch, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateElement, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, warpPreviewPath, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
154640
+ export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, CHART_TYPE_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, COMMON_FONT_SIZES, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_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_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, 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, EXPANDED_MAX_HEIGHT, 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, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, 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_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, 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, PATTERN_PRESET_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, 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, RADAR_STYLE_OPTIONS, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, STROKE_DASH_OPTIONS, SURFACE_WIREFRAME_OPTIONS, 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_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_OPTIONS, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addCommentToList, addQuickAccessCommand, addSection, addSiblingAfter, addSmartArtNodeAsChild, addTagToCollections, advanceChartValueDrag, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyAnimationTimelineOrder, applyAutoCorrect, applyCaseTransformToSegments, applyChartBuildReveal, applyChartPartHighlight, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyImagePathPatches, applyMasterViewCrudAction, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyTableStylePreset, applyThemeOverrideToSlide, applyThemeToData, applyTransitionSoundFile, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, bar3DShapePatch, beginChartValueDrag, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildActiveSessionUsers, buildAnimationTimelineBars, buildAnimationTimelineRows, buildAreaChart3DDataForElement, buildBarActions, buildBarChart3DDataForElement, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildChromeStyle, buildCollaborationShareUrl, buildCommentMarkers, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildLineChart3DDataForElement, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildNotesPrintHtml, buildOleObjectNamePatch, buildOutline, buildOutlineHtml, buildParagraphs, buildPieChart3DDataForElement, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildRectPathGradient, buildRunTabLines, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPreviewElement, buildStrokeOutline, buildStrokePathD, buildSubpathFillOverlay, buildSubpathPaints, buildSummaryZoomView, buildSurfaceChart3DDataForElement, buildSvgGradientDef, buildTabContext, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canAddTopLevelNode, canCommitActionType, canGoNext, canGoPrevious, canGroupSelection, canInteractWithElement, canRemoveTopLevelNode, canSetStrokeWidth, canUngroupSelection, cancelBuildReveal, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartGridlinesPatch, chartGridlinesState, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampOptionNumber, clampPercent2, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, classifyExtraConnections, classifyMediaType, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, clearTransitionSound, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectReferencedFontFamilies, collectUsedFonts, colorWithOpacity, commentMentionQuery, commentTextSegments, comparePresentation, compatToastStackStyle, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeChartLegendLayout, computeColorFilter, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeGridSpacingPx, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSlideIndices, computeSmartArtElementLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, cursorForTool, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demote, deriveSlideFieldContext, deriveViewportBreakpoints, describeFontEmbedding, describeSmartArtBounds, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, editCommentInList, elementActionToPptxAction, elementIdSelector, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, evenColumnWidths, evenRowHeights, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterHiddenSlideIndices, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findEraserHitElementId, findInSlides, findSmartArtNodeText, finishPrintWindow, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNibMarks, generateNoteLineCount, generatePressureCircles, generateTicks, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCropShapeClipPath, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getEffectSoundState, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPresetShapeVectorGeometry, getPrintableArea, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbUnit, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertCommentMention, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isSeriesUsingSecondaryAxis, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, isWedgeCalloutPresetShape, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, lockResizeAspect, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideShowStartKey, mapSlideSorterKey, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewPseudoSlide, matchCommentMentionAuthors, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, modelDataToBlobUrl, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountAreaChart3D, mountBarChart3D, mountLineChart3D, mountModel3D, mountPieChart3D, mountSurfaceChart3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, mruColorsPatch, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPendingPrintWindow, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, patchChartData, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, placeholderPromptDescriptor, playFeedbackSound, playGroup, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promote, publishLiveGeometry, publishLiveInlineText, pushRecentColor, quickStyleSwatchCss, radarStylePatch, reResolveElementColors, reResolveSlideColors, readBackstageRecentFile, readEditableText, readOnlyRecommendation, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, redistributeColumnWidth, registerCollaborationTeardown, registerCrossSlideAudio, registerCustomFont, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeCommentFromList, removeEmptyNode, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorder2 as reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replyToCommentInList, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolve3DRenderingFlags, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDefaultPrintSettings, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveExpiredAutosaveSnapshots, resolveFontKerning, resolveGoogleWebfontHref, resolveGroupChildFill, resolveHistoryDepth, resolveImageResolutionScale, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveInlineEditAutoFitHeight, resolveMetricTrackingPx, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleType, resolveOleVerbTarget, resolveOptionRootClasses, resolvePalette, resolvePresentationAction, resolveProfileInitial, resolveScreenTip, resolveScriptFontSet, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveTableCellImageUrls, resolveTableStyleImageUrls, resolveTemplateBackgroundRows, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scaleSlidesForSizeChange, scanAvailableFontFamilies, scheduleAutoAdvanceChain, schemaLabel, scopeLayoutOptionsToSlide, seedRecentColors, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, seriesSecondaryAxisPatch, setAfterAnimation, setAfterAnimationColor, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setEffectSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldRoomSlidesReplaceLoad, shouldShowAutosaveRecoveryPrompt, shouldShowElementHandles, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunByScriptFont, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, strokeWidthOf, styleShadowFilter, substituteFieldText, surfaceWireframePatch, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, toggleCommentResolvedInList, togglePresenterTimer, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, transformTextCase, transitionSoundOptions, transitionSoundSelectedValue, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateElement, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, visibleTemplateElements, warpPreviewPath, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-PADP3NUM.mjs';
1
+ import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-P7SNHVMV.mjs';
2
2
  import { __export } from './chunk-XGB3TDIC.mjs';
3
3
  import * as mcp from 'pptx-viewer-mcp';
4
4
  import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
Binary file
Binary file
@@ -1217,6 +1217,7 @@ var translationsEn = {
1217
1217
  "pptx.slideBackground.backgroundPreview": "Background preview",
1218
1218
  "pptx.slideBackground.removeBackgroundImage": "Remove background image",
1219
1219
  "pptx.slideBackground.clearBackground": "Clear Background",
1220
+ "pptx.slideBackground.hideBackgroundGraphics": "Hide Background Graphics",
1220
1221
  "pptx.presentationSettings.showType": "Show type",
1221
1222
  "pptx.presentationSettings.showTypePresented": "Presented",
1222
1223
  "pptx.presentationSettings.showTypeBrowsed": "Browsed",
Binary file
Binary file